@progress/kendo-vue-scheduler 3.0.9-dev.202203011321 → 3.1.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.
- package/dist/cdn/js/kendo-vue-scheduler.js +2 -2
- package/dist/es/Scheduler.js +29 -1
- package/dist/es/components/header/view-selector/ViewSelectorList.js +9 -2
- package/dist/es/context/SchedulerResourceIteratorContext.d.ts +1 -0
- package/dist/es/context/SchedulerResourceIteratorContext.js +2 -1
- package/dist/es/items/SchedulerEditItem.js +7 -8
- package/dist/es/items/SchedulerItem.js +100 -27
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/slots/SchedulerSlot.js +77 -18
- package/dist/es/tasks/SchedulerTask.js +54 -3
- package/dist/es/views/common/VerticalResourceIterator.js +22 -13
- package/dist/npm/Scheduler.js +29 -1
- package/dist/npm/components/header/view-selector/ViewSelectorList.js +9 -2
- package/dist/npm/context/SchedulerResourceIteratorContext.d.ts +1 -0
- package/dist/npm/context/SchedulerResourceIteratorContext.js +2 -1
- package/dist/npm/items/SchedulerEditItem.js +7 -8
- package/dist/npm/items/SchedulerItem.js +100 -27
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/slots/SchedulerSlot.js +76 -17
- package/dist/npm/tasks/SchedulerTask.js +53 -2
- package/dist/npm/views/common/VerticalResourceIterator.js +22 -13
- package/package.json +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-vue-intl"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-vue-intl","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoVueScheduler=t(require("vue"),require("@progress/kendo-vue-intl"),require("@progress/kendo-licensing")):e.KendoVueScheduler=t(e.Vue,e.KendoVueIntl,e.KendoLicensing)}(window,(function(e,t,i){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=67)}([function(e,t,i){"use strict";i.r(t),i.d(t,"classNames",(function(){return n})),i.d(t,"guid",(function(){return r})),i.d(t,"Keys",(function(){return o})),i.d(t,"noop",(function(){return E})),i.d(t,"getListeners",(function(){return A})),i.d(t,"hasListener",(function(){return F})),i.d(t,"canUseDOM",(function(){return s})),i.d(t,"focusFirstFocusableChild",(function(){return a})),i.d(t,"clone",(function(){return I})),i.d(t,"Draggable",(function(){return w})),i.d(t,"cloneArray",(function(){return O})),i.d(t,"cloneValue",(function(){return T})),i.d(t,"cloneObject",(function(){return C})),i.d(t,"cloneDate",(function(){return D})),i.d(t,"getTemplate",(function(){return N})),i.d(t,"templateRendering",(function(){return j})),i.d(t,"getTabIndex",(function(){return B})),i.d(t,"getDefaultSlots",(function(){return b})),i.d(t,"isRtl",(function(){return L})),i.d(t,"getDir",(function(){return H})),i.d(t,"getter",(function(){return M})),i.d(t,"setter",(function(){return _})),i.d(t,"validatePackage",(function(){return W})),i.d(t,"kendoThemeMaps",(function(){return K}));var n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?n.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,i){return e[i]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},r=function(){var e,t,i="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(i+="-"),i+=(12===e?4:16===e?3&t|8:t).toString(16);return i},o={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},s=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),a=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},l=i(1),u=function(e,t){return function(i){return t(e(i))}},d=function(e,t,i){return e.addEventListener&&e.addEventListener(t,i)},c=function(e,t,i){return e&&e.removeEventListener&&e.removeEventListener(t,i)},h=function(){},p=function(e){return e.preventDefault()},f=/touch/;function m(e){return e.type.match(f)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var v=function(e){var t=this,i=e.press;void 0===i&&(i=h);var n=e.drag;void 0===n&&(n=h);var r=e.release;void 0===r&&(r=h);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=u(m,i),this._dragHandler=u(m,n),this._releaseHandler=u(m,r),this._ignoreMouse=!1,this._mouseOnly=o,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var i=e.which;i&&i>1||t._ignoreMouse||(d(document,"mousemove",t._mousemove),d(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){c(document,"mousemove",t._mousemove),c(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(d(document,"pointermove",t._pointermove),d(document,"pointerup",t._pointerup),d(document,"pointercancel",t._pointerup),d(document,"contextmenu",p),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(c(document,"pointermove",t._pointermove),c(document,"pointerup",t._pointerup),c(document,"pointercancel",t._pointerup),c(document,"contextmenu",p),t._releaseHandler(e))}};v.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},v.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},v.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?d(e,"pointerdown",this._pointerdown):(d(e,"mousedown",this._mousedown),this._mouseOnly||(d(e,"touchstart",this._touchstart),d(e,"touchmove",this._touchmove),d(e,"touchend",this._touchend)))},v.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return c(e,"pointerdown",this._pointerdown),c(document,"pointermove",this._pointermove),c(document,"pointerup",this._pointerup),c(document,"contextmenu",p),void c(document,"pointercancel",this._pointerup);c(e,"mousedown",this._mousedown),this._mouseOnly||(c(e,"touchstart",this._touchstart),c(e,"touchmove",this._touchmove),c(e,"touchend",this._touchend))},v.prototype._usePointers=function(){return!this._mouseOnly&&v.supportPointerEvent()},v.prototype.update=function(e){var t=e.press;void 0===t&&(t=h);var i=e.drag;void 0===i&&(i=h);var n=e.release;void 0===n&&(n=h);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=u(m,t),this._dragHandler=u(m,i),this._releaseHandler=u(m,n),this._mouseOnly=r},v.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},v.default=v;var g,y=v;function b(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}function k(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var S=l.h,w=(k(g={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new y({press:this.press,drag:this.drag,release:this.release})},setup:S?function(){return{v3:!!S}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:S?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(e){this.element&&this.$emit("press",e,this.element)},drag:function(e){this.element&&this.$emit("drag",e,this.element)},release:function(e){this.element&&this.$emit("release",e,this.element)}}},"setup",S?function(){return{v3:!!S}}:void 0),k(g,"render",(function(e){return b(this)})),g),D=function(e){return e?new Date(e.getTime()):null};function I(e){var t={};return C(e,t),t}function C(e,t){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];t[i]=T(n,t[i])}}function T(e,t){if(Array.isArray(e))return O(e);if(e instanceof Date)return D(e);if(e&&"object"==typeof e){var i=t||{};return C(e,i),i}return e}function O(e){return e.map((function(e){return T(e,void 0)}))}var E=function(){},$=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,x={};function M(e){if(x[e])return x[e];var t=[];return e.replace($,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),x[e]=function(e){for(var i=e,n=0;n<t.length&&i;n++)i=i[t[n]];return i},x[e]}x.undefined=function(){};var R={};function _(e){if(R[e])return R[e];var t=[];return e.replace($,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),R[e]=function(e,i){for(var n=e,r=t.length-1,o=0;o<r&&n;o++)n=n[t[o]]=n[t[o]]||{};n[t[r]]=i},R[e]}function F(e){return this.v3?Object.keys(this.$attrs).map((function(e){return e.toLowerCase()})).some((function(t){return t.endsWith(e.toLowerCase())})):this.$listeners[e]}function A(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}R.undefined=function(e){return e};var z=function(){return(z=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},V=l.h;function j(e,t){if(e){var i=V?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&i?{type:"slot",render:i,listeners:t}:"string"==typeof e||"object"==typeof e||"function"==typeof e&&e.component?{type:"component",render:e,listeners:t}:{type:"renderFunction",render:e,listeners:t}}}function N(e){var t,i,n,r=e.h,o=e.template,s=e.defaultRendering,a=e.defaultSlots,l=e.additionalProps,u=e.additionalListeners,d=e.swapDefaultSlots;if(!o)return s;if(V){var c=s?s.props:{};t=z(z({},P(u)),o.listeners),i=z(z(z({},c),l),t),n=z(z({},i),t)}else{var h=s&&s.componentOptions,p=h?s.componentOptions.listeners:{},f=h?s.componentOptions.propsData:{};t=z(z(z(z({},p),u),P(u)),o.listeners),n={props:i=z(z(z({},f),l),t),on:t}}if("slot"===o.type){var m=o.render({props:i,listeners:t,methods:t,defaultSlots:a});return m?m[0]:void 0}return"renderFunction"===o.type?d?o.render(r,s,a,i,t):o.render(r,s,i,t,a):r(o.render,n,V?function(){return[a]}:[a])}function P(e){if(!e)return e;for(var t={},i=Object.keys(e),n=0;n<i.length;n++){var r=i[n];t["on"+r.charAt(0).toUpperCase()+r.slice(1)]=e[r]}return t}var B=function(e,t,i){var n="string"==typeof e?parseInt(e,void 0):e;if(NaN!==n)return void 0!==n?n:t?i?void 0:-1:0};function L(e){return Boolean(s&&e&&"rtl"===getComputedStyle(e).direction)}function H(e,t){if(!t&&s&&e){var i=window.getComputedStyle(e).direction;if(i)return i}return t}var U=i(66);function W(e){if(void 0!==U)U.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var K={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(t,i){t.exports=e},function(e,i){e.exports=t},function(e,t,i){"use strict";i.r(t);var n=i(23);i.d(t,"Button",(function(){return n.a})),i.d(t,"ButtonVue2",(function(){return n.b}));var r=i(64);i.d(t,"ButtonGroup",(function(){return r.a})),i.d(t,"ButtonGroupVue2",(function(){return r.b}));var o=i(29);i.d(t,"Chip",(function(){return o.a})),i.d(t,"ChipVue2",(function(){return o.b}));var s=i(50);i.d(t,"ChipList",(function(){return s.a})),i.d(t,"ChipListVue2",(function(){return s.b}));var a=i(65);i.d(t,"FloatingActionButton",(function(){return a.a})),i.d(t,"FloatingActionButtonVue2",(function(){return a.b}));var l=i(30);i.d(t,"FloatingActionButtonItem",(function(){return l.a})),i.d(t,"FloatingActionButtonItemVue2",(function(){return l.b}));var u=i(71);for(var d in u)["default","Toolbar","ToolbarVue2","ToolbarItem","ToolbarItemVue2","ToolbarSeparator","ToolbarSeparatorVue2","ToolbarSpacer","ToolbarSpacerVue2","Button","ButtonVue2","ButtonGroup","ButtonGroupVue2","SplitButton","SplitButtonVue2","DropDownButton","DropDownButtonVue2","Chip","ChipVue2","ChipList","ChipListVue2","FloatingActionButton","FloatingActionButtonVue2","FloatingActionButtonItem","FloatingActionButtonItemVue2"].indexOf(d)<0&&function(e){i.d(t,e,(function(){return u[e]}))}(d);var c=i(51);i.d(t,"SplitButton",(function(){return c.a})),i.d(t,"SplitButtonVue2",(function(){return c.b}));var h=i(52);i.d(t,"DropDownButton",(function(){return h.a})),i.d(t,"DropDownButtonVue2",(function(){return h.b}));var p=i(53);i.d(t,"Toolbar",(function(){return p.a})),i.d(t,"ToolbarVue2",(function(){return p.b}));var f=i(31);i.d(t,"ToolbarItem",(function(){return f.a})),i.d(t,"ToolbarItemVue2",(function(){return f.b}));var m=i(54);i.d(t,"ToolbarSeparator",(function(){return m.a})),i.d(t,"ToolbarSeparatorVue2",(function(){return m.b}));var v=i(55);i.d(t,"ToolbarSpacer",(function(){return v.a})),i.d(t,"ToolbarSpacerVue2",(function(){return v.b}))},,function(e,t,i){"use strict";i.r(t),i.d(t,"addCenturies",(function(){return h})),i.d(t,"addDays",(function(){return s})),i.d(t,"addDecades",(function(){return p})),i.d(t,"addMonths",(function(){return u})),i.d(t,"addWeeks",(function(){return f})),i.d(t,"addYears",(function(){return c})),i.d(t,"adjustDST",(function(){return r.a})),i.d(t,"cloneDate",(function(){return o.a})),i.d(t,"MS_PER_MINUTE",(function(){return m.c})),i.d(t,"MS_PER_HOUR",(function(){return m.b})),i.d(t,"MS_PER_DAY",(function(){return m.a})),i.d(t,"createDate",(function(){return a.a})),i.d(t,"dayOfWeek",(function(){return v})),i.d(t,"Day",(function(){return g.a})),i.d(t,"Direction",(function(){return n})),i.d(t,"durationInCenturies",(function(){return k})),i.d(t,"durationInDecades",(function(){return w})),i.d(t,"durationInMonths",(function(){return D})),i.d(t,"durationInYears",(function(){return I})),i.d(t,"firstDayInWeek",(function(){return C})),i.d(t,"firstDayOfMonth",(function(){return T.a})),i.d(t,"firstDecadeOfCentury",(function(){return b})),i.d(t,"firstMonthOfYear",(function(){return E})),i.d(t,"firstYearOfDecade",(function(){return S})),i.d(t,"getDate",(function(){return $})),i.d(t,"isEqual",(function(){return x})),i.d(t,"isEqualDate",(function(){return M})),i.d(t,"lastDayOfMonth",(function(){return l})),i.d(t,"lastDecadeOfCentury",(function(){return R})),i.d(t,"lastMonthOfYear",(function(){return _})),i.d(t,"lastYearOfDecade",(function(){return F})),i.d(t,"nextDayOfWeek",(function(){return A})),i.d(t,"prevDayOfWeek",(function(){return z})),i.d(t,"abbrTimezone",(function(){return V.a})),i.d(t,"loadTimezone",(function(){return P})),i.d(t,"offset",(function(){return B.a})),i.d(t,"timezoneGroupNames",(function(){return L})),i.d(t,"timezoneNames",(function(){return H})),i.d(t,"timezoneTitle",(function(){return U})),i.d(t,"toLocalDate",(function(){return W.a})),i.d(t,"ZonedDate",(function(){return K.a})),i.d(t,"zonesPerGroup",(function(){return Y})),i.d(t,"weekInYear",(function(){return q}));var n,r=i(15),o=i(9),s=function(e,t){var i=Object(o.a)(e);return i.setDate(i.getDate()+t),Object(r.a)(i,e.getHours())},a=i(12),l=function(e){var t=Object(a.a)(e.getFullYear(),e.getMonth()+1,1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return s(t,-1)},u=function(e,t){var i=Object(o.a)(e),n=(12+(i.getMonth()+t)%12)%12;return i.setMonth(i.getMonth()+t),function(e,t){return e.getMonth()!==t?l(u(e,-1)):e}(Object(r.a)(i,e.getHours()),n)},d=function(e,t){var i=e.getMonth(),n=Object(a.a)(t,i,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return n.getMonth()===i?n:l(u(n,-1))},c=function(e,t){return Object(r.a)(d(e,e.getFullYear()+t),e.getHours())},h=function(e,t){return c(e,100*t)},p=function(e,t){return c(e,10*t)},f=function(e,t){return s(e,7*t)},m=i(24);!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(n||(n={}));var v=function(e,t,i){void 0===i&&(i=n.Forward);var s=Object(o.a)(e),a=(t-s.getDay()+7*i)%7;return s.setDate(s.getDate()+a),Object(r.a)(s,e.getHours())},g=i(25),y=function(e,t){return d(e,t(e.getFullYear()))},b=function(e){return y(e,(function(e){return e-e%100}))},k=function(e,t){return(b(t).getFullYear()-b(e).getFullYear())/100},S=function(e){return y(e,(function(e){return e-e%10}))},w=function(e,t){return(S(t).getFullYear()-S(e).getFullYear())/10},D=function(e,t){return 12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth())},I=function(e,t){return t.getFullYear()-e.getFullYear()},C=function(e,t){void 0===t&&(t=g.a.Sunday);for(var i=Object(o.a)(e);i.getDay()!==t;)i.setDate(i.getDate()-1);return i},T=i(68),O=function(e,t){var i=e.getDate(),n=Object(a.a)(e.getFullYear(),t,i,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return n.getDate()===i?n:l(u(n,-1))},E=function(e){return O(e,0)},$=function(e){return Object(a.a)(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0)},x=function(e,t){return!e&&!t||e&&t&&e.getTime()===t.getTime()},M=function(e,t){return!e&&!t||e&&t&&x($(e),$(t))},R=function(e){return y(e,(function(e){return e-e%100+90}))},_=function(e){return O(e,11)},F=function(e){return y(e,(function(e){return e-e%10+9}))},A=function(e,t){return v(e,t,n.Forward)},z=function(e,t){return v(e,t,n.Backward)},V=i(43),j=i(8),N=i(16),P=function(e){if(!e)throw new Error(Object(N.c)(N.b,""));var t=e.rules,i=e.titles,n=e.zones;if(void 0===t||void 0===n)throw new Error(N.a);Object.assign(j.a.rules,t),Object.assign(j.a.titles,i||{}),Object.assign(j.a.zones,n)},B=i(17),L=function(){var e=Object.keys(j.a.titles).reduce((function(e,t){var i=j.a.titles[t].group;return e[i]=i,e}),{});return Object.keys(e)},H=function(){return Object.keys(j.a.zones)},U=function(e){return(j.a.titles[e]||{}).long||e},W=i(44),K=i(69),Y=function(e){var t=j.a.titles;return Object.keys(t).reduce((function(i,n){return(t[n]||{}).group===e?i.concat(n.split(" ")):i}),[])},G=function(e,t){var i=Object(a.a)(e.getFullYear(),0,1,-6),n=function(e,t){return t!==g.a.Monday?s(z(e,t),4):s(e,4-(e.getDay()||7))}(e,t).getTime()-i.getTime(),r=Math.floor(n/m.a);return 1+Math.floor(r/7)},q=function(e,t){void 0===t&&(t=g.a.Monday),e=$(e);var i=s(e,-7),n=s(e,7),r=G(e,t);return 0===r?G(i,t)+1:53===r&&G(n,t)>1?1:r}},function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"a",(function(){return o})),i.d(t,"c",(function(){return s}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue"),require("@progress/kendo-vue-intl"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["vue","@progress/kendo-vue-intl","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoVueScheduler=t(require("vue"),require("@progress/kendo-vue-intl"),require("@progress/kendo-licensing")):e.KendoVueScheduler=t(e.Vue,e.KendoVueIntl,e.KendoLicensing)}(window,(function(e,t,i){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=67)}([function(e,t,i){"use strict";i.r(t),i.d(t,"classNames",(function(){return n})),i.d(t,"guid",(function(){return r})),i.d(t,"Keys",(function(){return o})),i.d(t,"noop",(function(){return O})),i.d(t,"getListeners",(function(){return A})),i.d(t,"hasListener",(function(){return F})),i.d(t,"canUseDOM",(function(){return s})),i.d(t,"focusFirstFocusableChild",(function(){return a})),i.d(t,"clone",(function(){return I})),i.d(t,"Draggable",(function(){return w})),i.d(t,"cloneArray",(function(){return T})),i.d(t,"cloneValue",(function(){return $})),i.d(t,"cloneObject",(function(){return C})),i.d(t,"cloneDate",(function(){return D})),i.d(t,"getTemplate",(function(){return N})),i.d(t,"templateRendering",(function(){return j})),i.d(t,"getTabIndex",(function(){return B})),i.d(t,"getDefaultSlots",(function(){return b})),i.d(t,"isRtl",(function(){return L})),i.d(t,"getDir",(function(){return H})),i.d(t,"getter",(function(){return M})),i.d(t,"setter",(function(){return _})),i.d(t,"validatePackage",(function(){return W})),i.d(t,"kendoThemeMaps",(function(){return K}));var n=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?n.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,i){return e[i]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},r=function(){var e,t,i="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(i+="-"),i+=(12===e?4:16===e?3&t|8:t).toString(16);return i},o={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},s=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),a=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},l=i(1),u=function(e,t){return function(i){return t(e(i))}},d=function(e,t,i){return e.addEventListener&&e.addEventListener(t,i)},c=function(e,t,i){return e&&e.removeEventListener&&e.removeEventListener(t,i)},h=function(){},p=function(e){return e.preventDefault()},f=/touch/;function m(e){return e.type.match(f)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var v=function(e){var t=this,i=e.press;void 0===i&&(i=h);var n=e.drag;void 0===n&&(n=h);var r=e.release;void 0===r&&(r=h);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=u(m,i),this._dragHandler=u(m,n),this._releaseHandler=u(m,r),this._ignoreMouse=!1,this._mouseOnly=o,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var i=e.which;i&&i>1||t._ignoreMouse||(d(document,"mousemove",t._mousemove),d(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){c(document,"mousemove",t._mousemove),c(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(d(document,"pointermove",t._pointermove),d(document,"pointerup",t._pointerup),d(document,"pointercancel",t._pointerup),d(document,"contextmenu",p),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(c(document,"pointermove",t._pointermove),c(document,"pointerup",t._pointerup),c(document,"pointercancel",t._pointerup),c(document,"contextmenu",p),t._releaseHandler(e))}};v.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},v.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},v.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?d(e,"pointerdown",this._pointerdown):(d(e,"mousedown",this._mousedown),this._mouseOnly||(d(e,"touchstart",this._touchstart),d(e,"touchmove",this._touchmove),d(e,"touchend",this._touchend)))},v.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return c(e,"pointerdown",this._pointerdown),c(document,"pointermove",this._pointermove),c(document,"pointerup",this._pointerup),c(document,"contextmenu",p),void c(document,"pointercancel",this._pointerup);c(e,"mousedown",this._mousedown),this._mouseOnly||(c(e,"touchstart",this._touchstart),c(e,"touchmove",this._touchmove),c(e,"touchend",this._touchend))},v.prototype._usePointers=function(){return!this._mouseOnly&&v.supportPointerEvent()},v.prototype.update=function(e){var t=e.press;void 0===t&&(t=h);var i=e.drag;void 0===i&&(i=h);var n=e.release;void 0===n&&(n=h);var r=e.mouseOnly;void 0===r&&(r=!1),this._pressHandler=u(m,t),this._dragHandler=u(m,i),this._releaseHandler=u(m,n),this._mouseOnly=r},v.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},v.default=v;var g,y=v;function b(e){var t=e.$slots.default;return e.v3&&t&&"function"==typeof t?t():t}function k(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var S=l.h,w=(k(g={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new y({press:this.press,drag:this.drag,release:this.release})},setup:S?function(){return{v3:!!S}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:S?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(e){this.element&&this.$emit("press",e,this.element)},drag:function(e){this.element&&this.$emit("drag",e,this.element)},release:function(e){this.element&&this.$emit("release",e,this.element)}}},"setup",S?function(){return{v3:!!S}}:void 0),k(g,"render",(function(e){return b(this)})),g),D=function(e){return e?new Date(e.getTime()):null};function I(e){var t={};return C(e,t),t}function C(e,t){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];t[i]=$(n,t[i])}}function $(e,t){if(Array.isArray(e))return T(e);if(e instanceof Date)return D(e);if(e&&"object"==typeof e){var i=t||{};return C(e,i),i}return e}function T(e){return e.map((function(e){return $(e,void 0)}))}var O=function(){},E=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,x={};function M(e){if(x[e])return x[e];var t=[];return e.replace(E,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),x[e]=function(e){for(var i=e,n=0;n<t.length&&i;n++)i=i[t[n]];return i},x[e]}x.undefined=function(){};var R={};function _(e){if(R[e])return R[e];var t=[];return e.replace(E,(function(e,i,n,r){t.push(void 0!==i?i:n||r)})),R[e]=function(e,i){for(var n=e,r=t.length-1,o=0;o<r&&n;o++)n=n[t[o]]=n[t[o]]||{};n[t[r]]=i},R[e]}function F(e){return this.v3?Object.keys(this.$attrs).map((function(e){return e.toLowerCase()})).some((function(t){return t.endsWith(e.toLowerCase())})):this.$listeners[e]}function A(){if(this.v3){var e={};for(var t in this.$attrs)t.startsWith("on")&&(e[t]=this.$attrs[t]);return e}return this.$listeners}R.undefined=function(e){return e};var z=function(){return(z=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},V=l.h;function j(e,t){if(e){var i=V?this.$slots[e]||(e.toLowerCase?this.$slots[e.toLowerCase()]:null):this.$scopedSlots[e]||(e.toLowerCase?this.$scopedSlots[e.toLowerCase()]:null);return"string"==typeof e&&i?{type:"slot",render:i,listeners:t}:"string"==typeof e||"object"==typeof e||"function"==typeof e&&e.component?{type:"component",render:e,listeners:t}:{type:"renderFunction",render:e,listeners:t}}}function N(e){var t,i,n,r=e.h,o=e.template,s=e.defaultRendering,a=e.defaultSlots,l=e.additionalProps,u=e.additionalListeners,d=e.swapDefaultSlots;if(!o)return s;if(V){var c=s?s.props:{};t=z(z({},P(u)),o.listeners),i=z(z(z({},c),l),t),n=z(z({},i),t)}else{var h=s&&s.componentOptions,p=h?s.componentOptions.listeners:{},f=h?s.componentOptions.propsData:{};t=z(z(z(z({},p),u),P(u)),o.listeners),n={props:i=z(z(z({},f),l),t),on:t}}if("slot"===o.type){var m=o.render({props:i,listeners:t,methods:t,defaultSlots:a});return m?m[0]:void 0}return"renderFunction"===o.type?d?o.render(r,s,a,i,t):o.render(r,s,i,t,a):r(o.render,n,V?function(){return[a]}:[a])}function P(e){if(!e)return e;for(var t={},i=Object.keys(e),n=0;n<i.length;n++){var r=i[n];t["on"+r.charAt(0).toUpperCase()+r.slice(1)]=e[r]}return t}var B=function(e,t,i){var n="string"==typeof e?parseInt(e,void 0):e;if(NaN!==n)return void 0!==n?n:t?i?void 0:-1:0};function L(e){return Boolean(s&&e&&"rtl"===getComputedStyle(e).direction)}function H(e,t){if(!t&&s&&e){var i=window.getComputedStyle(e).direction;if(i)return i}return t}var U=i(66);function W(e){if(void 0!==U)U.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var K={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(t,i){t.exports=e},function(e,i){e.exports=t},function(e,t,i){"use strict";i.r(t);var n=i(23);i.d(t,"Button",(function(){return n.a})),i.d(t,"ButtonVue2",(function(){return n.b}));var r=i(64);i.d(t,"ButtonGroup",(function(){return r.a})),i.d(t,"ButtonGroupVue2",(function(){return r.b}));var o=i(29);i.d(t,"Chip",(function(){return o.a})),i.d(t,"ChipVue2",(function(){return o.b}));var s=i(50);i.d(t,"ChipList",(function(){return s.a})),i.d(t,"ChipListVue2",(function(){return s.b}));var a=i(65);i.d(t,"FloatingActionButton",(function(){return a.a})),i.d(t,"FloatingActionButtonVue2",(function(){return a.b}));var l=i(30);i.d(t,"FloatingActionButtonItem",(function(){return l.a})),i.d(t,"FloatingActionButtonItemVue2",(function(){return l.b}));var u=i(71);for(var d in u)["default","Toolbar","ToolbarVue2","ToolbarItem","ToolbarItemVue2","ToolbarSeparator","ToolbarSeparatorVue2","ToolbarSpacer","ToolbarSpacerVue2","Button","ButtonVue2","ButtonGroup","ButtonGroupVue2","SplitButton","SplitButtonVue2","DropDownButton","DropDownButtonVue2","Chip","ChipVue2","ChipList","ChipListVue2","FloatingActionButton","FloatingActionButtonVue2","FloatingActionButtonItem","FloatingActionButtonItemVue2"].indexOf(d)<0&&function(e){i.d(t,e,(function(){return u[e]}))}(d);var c=i(51);i.d(t,"SplitButton",(function(){return c.a})),i.d(t,"SplitButtonVue2",(function(){return c.b}));var h=i(52);i.d(t,"DropDownButton",(function(){return h.a})),i.d(t,"DropDownButtonVue2",(function(){return h.b}));var p=i(53);i.d(t,"Toolbar",(function(){return p.a})),i.d(t,"ToolbarVue2",(function(){return p.b}));var f=i(31);i.d(t,"ToolbarItem",(function(){return f.a})),i.d(t,"ToolbarItemVue2",(function(){return f.b}));var m=i(54);i.d(t,"ToolbarSeparator",(function(){return m.a})),i.d(t,"ToolbarSeparatorVue2",(function(){return m.b}));var v=i(55);i.d(t,"ToolbarSpacer",(function(){return v.a})),i.d(t,"ToolbarSpacerVue2",(function(){return v.b}))},,function(e,t,i){"use strict";i.r(t),i.d(t,"addCenturies",(function(){return h})),i.d(t,"addDays",(function(){return s})),i.d(t,"addDecades",(function(){return p})),i.d(t,"addMonths",(function(){return u})),i.d(t,"addWeeks",(function(){return f})),i.d(t,"addYears",(function(){return c})),i.d(t,"adjustDST",(function(){return r.a})),i.d(t,"cloneDate",(function(){return o.a})),i.d(t,"MS_PER_MINUTE",(function(){return m.c})),i.d(t,"MS_PER_HOUR",(function(){return m.b})),i.d(t,"MS_PER_DAY",(function(){return m.a})),i.d(t,"createDate",(function(){return a.a})),i.d(t,"dayOfWeek",(function(){return v})),i.d(t,"Day",(function(){return g.a})),i.d(t,"Direction",(function(){return n})),i.d(t,"durationInCenturies",(function(){return k})),i.d(t,"durationInDecades",(function(){return w})),i.d(t,"durationInMonths",(function(){return D})),i.d(t,"durationInYears",(function(){return I})),i.d(t,"firstDayInWeek",(function(){return C})),i.d(t,"firstDayOfMonth",(function(){return $.a})),i.d(t,"firstDecadeOfCentury",(function(){return b})),i.d(t,"firstMonthOfYear",(function(){return O})),i.d(t,"firstYearOfDecade",(function(){return S})),i.d(t,"getDate",(function(){return E})),i.d(t,"isEqual",(function(){return x})),i.d(t,"isEqualDate",(function(){return M})),i.d(t,"lastDayOfMonth",(function(){return l})),i.d(t,"lastDecadeOfCentury",(function(){return R})),i.d(t,"lastMonthOfYear",(function(){return _})),i.d(t,"lastYearOfDecade",(function(){return F})),i.d(t,"nextDayOfWeek",(function(){return A})),i.d(t,"prevDayOfWeek",(function(){return z})),i.d(t,"abbrTimezone",(function(){return V.a})),i.d(t,"loadTimezone",(function(){return P})),i.d(t,"offset",(function(){return B.a})),i.d(t,"timezoneGroupNames",(function(){return L})),i.d(t,"timezoneNames",(function(){return H})),i.d(t,"timezoneTitle",(function(){return U})),i.d(t,"toLocalDate",(function(){return W.a})),i.d(t,"ZonedDate",(function(){return K.a})),i.d(t,"zonesPerGroup",(function(){return Y})),i.d(t,"weekInYear",(function(){return q}));var n,r=i(15),o=i(9),s=function(e,t){var i=Object(o.a)(e);return i.setDate(i.getDate()+t),Object(r.a)(i,e.getHours())},a=i(12),l=function(e){var t=Object(a.a)(e.getFullYear(),e.getMonth()+1,1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return s(t,-1)},u=function(e,t){var i=Object(o.a)(e),n=(12+(i.getMonth()+t)%12)%12;return i.setMonth(i.getMonth()+t),function(e,t){return e.getMonth()!==t?l(u(e,-1)):e}(Object(r.a)(i,e.getHours()),n)},d=function(e,t){var i=e.getMonth(),n=Object(a.a)(t,i,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return n.getMonth()===i?n:l(u(n,-1))},c=function(e,t){return Object(r.a)(d(e,e.getFullYear()+t),e.getHours())},h=function(e,t){return c(e,100*t)},p=function(e,t){return c(e,10*t)},f=function(e,t){return s(e,7*t)},m=i(24);!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(n||(n={}));var v=function(e,t,i){void 0===i&&(i=n.Forward);var s=Object(o.a)(e),a=(t-s.getDay()+7*i)%7;return s.setDate(s.getDate()+a),Object(r.a)(s,e.getHours())},g=i(25),y=function(e,t){return d(e,t(e.getFullYear()))},b=function(e){return y(e,(function(e){return e-e%100}))},k=function(e,t){return(b(t).getFullYear()-b(e).getFullYear())/100},S=function(e){return y(e,(function(e){return e-e%10}))},w=function(e,t){return(S(t).getFullYear()-S(e).getFullYear())/10},D=function(e,t){return 12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth())},I=function(e,t){return t.getFullYear()-e.getFullYear()},C=function(e,t){void 0===t&&(t=g.a.Sunday);for(var i=Object(o.a)(e);i.getDay()!==t;)i.setDate(i.getDate()-1);return i},$=i(68),T=function(e,t){var i=e.getDate(),n=Object(a.a)(e.getFullYear(),t,i,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return n.getDate()===i?n:l(u(n,-1))},O=function(e){return T(e,0)},E=function(e){return Object(a.a)(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0)},x=function(e,t){return!e&&!t||e&&t&&e.getTime()===t.getTime()},M=function(e,t){return!e&&!t||e&&t&&x(E(e),E(t))},R=function(e){return y(e,(function(e){return e-e%100+90}))},_=function(e){return T(e,11)},F=function(e){return y(e,(function(e){return e-e%10+9}))},A=function(e,t){return v(e,t,n.Forward)},z=function(e,t){return v(e,t,n.Backward)},V=i(43),j=i(8),N=i(16),P=function(e){if(!e)throw new Error(Object(N.c)(N.b,""));var t=e.rules,i=e.titles,n=e.zones;if(void 0===t||void 0===n)throw new Error(N.a);Object.assign(j.a.rules,t),Object.assign(j.a.titles,i||{}),Object.assign(j.a.zones,n)},B=i(17),L=function(){var e=Object.keys(j.a.titles).reduce((function(e,t){var i=j.a.titles[t].group;return e[i]=i,e}),{});return Object.keys(e)},H=function(){return Object.keys(j.a.zones)},U=function(e){return(j.a.titles[e]||{}).long||e},W=i(44),K=i(69),Y=function(e){var t=j.a.titles;return Object.keys(t).reduce((function(i,n){return(t[n]||{}).group===e?i.concat(n.split(" ")):i}),[])},G=function(e,t){var i=Object(a.a)(e.getFullYear(),0,1,-6),n=function(e,t){return t!==g.a.Monday?s(z(e,t),4):s(e,4-(e.getDay()||7))}(e,t).getTime()-i.getTime(),r=Math.floor(n/m.a);return 1+Math.floor(r/7)},q=function(e,t){void 0===t&&(t=g.a.Monday),e=E(e);var i=s(e,-7),n=s(e,7),r=G(e,t);return 0===r?G(i,t)+1:53===r&&G(n,t)>1?1:r}},function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"a",(function(){return o})),i.d(t,"c",(function(){return s}));
|
|
2
2
|
/*! *****************************************************************************
|
|
3
3
|
Copyright (c) Microsoft Corporation.
|
|
4
4
|
|
|
@@ -13,4 +13,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
13
13
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
14
|
PERFORMANCE OF THIS SOFTWARE.
|
|
15
15
|
***************************************************************************** */
|
|
16
|
-
var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function r(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var o=function(){return(o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function s(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.orderSort=t.findNextItem=t.findFirstItem=t.noop=t.mapItemsToSlots=t.mapSlotsToItems=t.calculateOrder=t.findMissing=t.shallowCompare=t.extractResources=t.extractResourceFields=t.extractGroups=t.setTime=t.isNullOrEmptyString=t.isBlank=t.generateResourceFields=t.toSchedulerResources=t.toSchedulerGroups=t.isInTimeRange=t.getModelFields=t.defaultModelFields=t.roundAllDayEnd=t.intersects=t.isException=t.buildException=t.isMaster=t.findMaster=t.groupResources=t.isRecurring=t.isRecurringException=t.toInvariantTime=t.toUTCDateTime=t.getUTCDate=t.toUTCDate=t.isRecurringMaster=t.isPresent=t.assignFields=t.assignField=t.setField=t.getField=t.slotDive=t.getToday=t.dateWithTime=t.addUTCDays=t.formatEventTime=t.isGroupped=t.isMultiDay=t.last=t.first=t.COLLECTION_ACTION=void 0;var o=i(5),s=i(20),a=i(0),l=i(14),u=i(88);function d(e,i,n){t.setField(e,n,t.getField(i,n))}!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(t.COLLECTION_ACTION||(t.COLLECTION_ACTION={})),t.first=function(e){return e[0]},t.last=function(e){return e[e.length-1]},t.isMultiDay=function(e){return e.end.getTime()-e.start.getTime()>new Date(0).setHours(24)},t.isGroupped=function(e){var t=new Set;return e.forEach((function(e){t.add(e.field)})),t.size===e.length},t.formatEventTime=function(e,t,i,n){return n?""+e.formatDate(t,{skeleton:"yMMMMEEEEd"}):e.formatDate(t,{skeleton:"yMMMMEEEEdhm"})+"–"+e.formatDate(i,"t")},t.addUTCDays=function(e,t){var i=new Date(e.getTime());return i.setUTCDate(i.getUTCDate()+t),i},t.dateWithTime=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes())},t.getToday=function(){return o.getDate(new Date)},t.slotDive=function(e,i,n,r){if(void 0===r&&(r=0),r===n)return null;var o=null,s=document.elementFromPoint(e,i);if(!s)return o;if("true"===s.getAttribute("data-slot"))return s;var a=s.style.pointerEvents;return s.style.pointerEvents="none",o=t.slotDive(e,i,n,r+1),s.style.pointerEvents=a,o},t.getField=function(e,t){return a.getter(t)(e)},t.setField=function(e,t,i){if(t)return a.setter(t)(e,i)},t.assignField=d,t.assignFields=function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];for(var r=0;r<i.length;r++)d(e,t,i[r])},t.isPresent=function(e){return null!=e},t.isRecurringMaster=function(e){return e.recurrenceRule&&!t.isPresent(e.recurrenceId)},t.toUTCDate=function(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))},t.getUTCDate=function(e){return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()))},t.toUTCDateTime=function(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))},t.toInvariantTime=function(e){var t=new Date(1980,1,1,0,0,0);return e&&t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t},t.isRecurringException=function(e){return e&&t.isPresent(e.recurrenceId)&&!e.recurrenceRule},t.isRecurring=function(e,t){var i=a.getter(t.recurrenceId||"recurrenceId")(e);return!(!a.getter(t.recurrenceRule||"recurrenceRule")(e)&&!i)},t.groupResources=function(e,t){var i=[];if(e&&e.resources&&e.resources.length)for(var n=e.resources,r=function(e){var r=t.find((function(t){return t.name===n[e]}));i.push(r)},o=0;o<n.length;o++)r(o);return i},t.findMaster=function(e,i,n){var r=t.isMaster(e,i)?t.getField(e,i.id):t.getField(e,i.recurrenceId);return n.find((function(e){return t.getField(e,i.id)===r}))},t.isMaster=function(e,i){var n=t.getField(e,i.id),r=t.getField(e,i.recurrenceId),o=t.getField(e,i.recurrenceRule);return!(!n||!o||null!=r)},t.buildException=function(e,i,n){var r=t.findMaster(e,i,n),o=a.clone(e);return d(o,r,i.id),void 0!==i.id&&t.setField(o,i.id,l.DEFAULT_ID),void 0!==i.recurrenceRule&&t.setField(o,i.recurrenceRule,void 0),void 0!==i.recurrenceId&&t.setField(o,i.recurrenceId,t.getField(r,i.id)),o},t.isException=function(e,i){return t.isPresent(t.getField(e,i.recurrenceId))&&!t.getField(e,i.recurrenceRule)};var c=function(e,t){return Math.max(e.getTime(),t.getTime())},h=function(e,t){return Math.min(e.getTime(),t.getTime())};function p(e,i){for(var n=i.data,r=0;r<n.length;r++)if(t.getField(n[r],i.valueField)===e)return r;return 0}t.intersects=function(e,t,i,n,r){return void 0===r&&(r=!1),r?c(t,n)-h(e,i)<=t.getTime()-e.getTime()+(n.getTime()-i.getTime()):c(t,n)-h(e,i)<t.getTime()-e.getTime()+(n.getTime()-i.getTime())},t.roundAllDayEnd=function(e){var t=e.start,i=e.end,n=t.stripTime(),r=i.stripTime();return r.getTime()!==i.getTime()||n.getTime()===r.getTime()?r.addDays(1):r},t.defaultModelFields={id:"id",start:"start",startTimezone:"startTimezone",originalStart:"originalStart",end:"end",endTimezone:"endTimezone",isAllDay:"isAllDay",title:"title",description:"description",recurrenceRule:"recurrenceRule",recurrenceId:"recurrenceId",recurrenceExceptions:"recurrenceExceptions"},t.getModelFields=function(e){return{fields:n(n({},t.defaultModelFields),e)}},t.isInTimeRange=function(e,t,i){return(t.getHours()<e.getHours()||t.getHours()===e.getHours()&&t.getMinutes()<=e.getMinutes())&&(e.getHours()<i.getHours()||i.getHours()===e.getHours()&&e.getMinutes()<i.getMinutes())},t.toSchedulerGroups=function(e,t){var i=s.toGroupResources(e,t),o=s.toFlatGroupResources(i);return 1===o.length?[{index:0,resources:(t||[]).reduce((function(e,t){return r(e,t.data.map((function(e){return n(n({},e),{field:t.field,valueField:t.valueField,colorField:t.colorField,multiple:t.multiple})})))}),[])}]:o.map((function(e,t){return{index:t,resources:e}}))},t.toSchedulerResources=function(e){return(e||[]).reduce((function(e,t){return r(e,t.data.map((function(e){return n(n({},e),{field:t.field,valueField:t.valueField,colorField:t.colorField,multiple:t.multiple})})))}),[])},t.generateResourceFields=function(e,t){if(!e||!e.length)return t;var i={};return e.forEach((function(e){e.resources.forEach((function(e){void 0===i[e.field]&&(i[e.field]=e[e.valueField])}))})),i},t.isBlank=function(e){return null==e},t.isNullOrEmptyString=function(e){return t.isBlank(e)||e.trim&&0===e.trim().length},t.setTime=function(e,t){var i=a.cloneDate(e);return i&&i.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),i},t.extractGroups=function(e,t,i,n){var o=s.toGroupResources(i,n);return s.toFlatGroupResources(o).reduce((function(i,n,o){var s=!0;return n.forEach((function(i){var n=i[i.valueField],r=e[t[i.field]||i.field];s=Array.isArray(r)?s&&r.indexOf(n)>=0:s&&r===n})),s?r(i,[{index:o,resources:n}]):i}),[])};t.extractResourceFields=function(e,t,i){var n={};return i&&i.length?(i.forEach((function(i){var r=i.data.find((function(n){return n.value===e[t[i.field]||i.field]}));r&&(n[i.field]=r.value)})),n):n},t.extractResources=function(e,i,r){void 0===r&&(r=[]);for(var o=0,s=[],a=0;a<r.length;a++){var l=r[a],u=t.getField(e,i[l.field]||l.field);Array.isArray(u)||(u=[u]);for(var d=0;d<u.length;d++){if(void 0!==u[d]){var c=p(u[d],l),h=l.data[c],f={text:t.getField(h,l.textField),color:t.getField(h,l.colorField),value:t.getField(h,l.valueField)};s.push(n(n({},f),{index:o}))}o++}}return s},t.shallowCompare=function(e,t){return JSON.stringify(e)===JSON.stringify(t)},t.findMissing=function(e){var t=0,i=e.slice();return i.sort((function(e,t){return e-t})).forEach((function(e,n){i[n]===n&&(t=n+1)})),t},t.calculateOrder=function(e,i,n,r){var o;return void 0===r&&(r=!1),n.forEach((function(n){var s=[];i.sort((function(e,t){return e.$props.start.getTime()-t.$props.start.getTime()})).forEach((function(i){if((r||i.$props.isAllDay===n.$props.isAllDay)&&i.$props.range.index===n.$props.range.index&&i.$props.group.index===n.$props.group.index&&t.intersects(i.$props.start,i.$props.end,n.$props.start,n.$props.end)){var a=t.findMissing(s);i===e&&void 0===o&&(o=a),s.splice(a,0,a)}}))})),o},t.mapSlotsToItems=function(e,i,n){void 0===n&&(n=!1),i.forEach((function(e){return e.items.splice(0,e.items.length)})),i.forEach((function(i){var r=[];e.forEach((function(e){if((n||e.isAllDay===i.isAllDay)&&e.range.index===i.range.index&&e.group.index===i.group.index&&t.intersects(e.start,e.end,i.start,i.end)){var o=t.findMissing(r);(null===e.order||void 0===e.order||e.order<o)&&(e.order=o),r.splice(e.order,0,e.order),i.items.push(e)}}))}))},t.mapItemsToSlots=function(e,i,n){void 0===n&&(n=!1),e.forEach((function(e){return e.slots.splice(0,e.slots.length)})),e.forEach((function(e){i.forEach((function(i){(n||e.isAllDay===i.isAllDay)&&e.range.index===i.range.index&&e.group.index===i.group.index&&t.intersects(e.start,e.end,i.start,i.end)&&e.slots.push(i)}))}))},t.noop=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.findFirstItem=function(e){var t=e.$props.items.find((function(e){return 0===e.order}))||e.$props.items[0];return t&&t.refTo.current},t.findNextItem=function(e,t,i,n){void 0===i&&(i=!1),void 0===n&&(n=!1);var r=e.current;if(!r||!t)return null;var o=t.filter((function(e){return null!==e.current&&null!==e.current.element})),s=u.orderBy(o,[{field:"current.props.group.index",dir:"asc"},{field:"current.props.range.index",dir:"asc"},i?{field:""}:{field:"current.props.isAllDay",dir:"desc"},{field:"current.props.start",dir:"asc"}]),a=s.findIndex((function(e){return null!==e.current&&Boolean(e.current.props.uid===r.props.uid&&(void 0===e.current.props.occurrenceId||e.current.props.occurrenceId===r.props.occurrenceId)&&e.current.props.group.index===r.props.group.index&&e.current.props.range.index===r.props.range.index&&(i||e.current.props.isAllDay===r.props.isAllDay))}));return s[a+(n?-1:1)]},t.orderSort=function(e,t){return(e.order||0)-(t.order||0)}},function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n={rules:{},titles:{},zones:{}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n=function(e){return e?new Date(e.getTime()):null}},function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n={name:"@progress/kendo-vue-buttons",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646140270,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.messages=t.noEvents=t.editorValidationEnd=t.editorValidationStart=t.editorValidationRequired=t.eventTitle=t.timeTitle=t.dateTitle=t.deleteRecurringDialogTitle=t.deleteDialogTitle=t.deleteSeries=t.deleteOccurrence=t.deleteRecurringConfirmation=t.deleteConfirmation=t.editorDelete=t.recurrenceEditorEndOn=t.recurrenceEditorEndNever=t.recurrenceEditorEndLabel=t.recurrenceEditorEndOccurrence=t.recurrenceEditorEndAfter=t.recurrenceEditorWeekdaysWeekendday=t.recurrenceEditorWeekdaysWeekday=t.recurrenceEditorWeekdaysDay=t.recurrenceEditorOffsetPositionsLast=t.recurrenceEditorOffsetPositionsFourth=t.recurrenceEditorOffsetPositionsThird=t.recurrenceEditorOffsetPositionsSecond=t.recurrenceEditorOffsetPositionsFirst=t.recurrenceEditorFrequenciesYearly=t.recurrenceEditorFrequenciesWeekly=t.recurrenceEditorFrequenciesNever=t.recurrenceEditorFrequenciesMonthly=t.recurrenceEditorFrequenciesDaily=t.recurrenceEditorYearlyInterval=t.recurrenceEditorYearlyRepeatOn=t.recurrenceEditorYearlyRepeatEvery=t.recurrenceEditorYearlyOf=t.recurrenceEditorMonthlyRepeatOn=t.recurrenceEditorMonthlyRepeatEvery=t.recurrenceEditorMonthlyInterval=t.recurrenceEditorMonthlyDay=t.recurrenceEditorWeeklyRepeatOn=t.recurrenceEditorWeeklyRepeatEvery=t.recurrenceEditorWeeklyInterval=t.recurrenceEditorDailyRepeatEvery=t.recurrenceEditorDailyInterval=t.recurrenceEditorRepeat=t.editorEventTimeZone=t.editorEventSeparateTimeZones=t.editorEventDescription=t.editorEventAllDay=t.editorEventEndTimeZone=t.editorEventEnd=t.editorEventStartTimeZone=t.editorEventStart=t.editorEventTitle=t.editorTitle=t.editorCancel=t.editorSave=t.editorRecurringDialogTitle=t.editorRecurringConfirmation=t.editorSeries=t.editorOccurrence=t.showWorkDay=t.showFullDay=t.nextTitle=t.previousTitle=t.deleteTitle=t.monthViewTitle=t.dayViewTitle=t.agendaViewTitle=t.workWeekViewTitle=t.weekViewTitle=t.timelineViewTitle=t.today=t.allDay=t.allEvents=void 0,t.allEvents="scheduler.allEvents",t.allDay="scheduler.allDay",t.today="scheduler.today",t.timelineViewTitle="scheduler.timelineViewTitle",t.weekViewTitle="scheduler.weekViewTitle",t.workWeekViewTitle="scheduler.workWeekViewTitle",t.agendaViewTitle="scheduler.agendaViewTitle",t.dayViewTitle="scheduler.dayViewTitle",t.monthViewTitle="scheduler.monthViewTitle",t.deleteTitle="scheduler.deleteTitle",t.previousTitle="scheduler.previousTitle",t.nextTitle="scheduler.nextTitle",t.showFullDay="scheduler.showFullDay",t.showWorkDay="scheduler.showWorkDay",t.editorOccurrence="scheduler.editOccurrence",t.editorSeries="scheduler.editSeries",t.editorRecurringConfirmation="scheduler.editRecurringConfirmation",t.editorRecurringDialogTitle="scheduler.editRecurringDialogTitle",t.editorSave="scheduler.editSave",t.editorCancel="scheduler.editCancel",t.editorTitle="scheduler.editorTitle",t.editorEventTitle="scheduler.editorEventTitle",t.editorEventStart="scheduler.editorEventStart",t.editorEventStartTimeZone="scheduler.editorEventStartTimeZone",t.editorEventEnd="scheduler.editorEventEnd",t.editorEventEndTimeZone="scheduler.editorEventEndTimeZone",t.editorEventAllDay="scheduler.editorEventAllDay",t.editorEventDescription="scheduler.editorEventDescription",t.editorEventSeparateTimeZones="scheduler.editorEventSeparateTimeZones",t.editorEventTimeZone="scheduler.editorEventTimeZone",t.recurrenceEditorRepeat="scheduler.recurrenceEditorRepeat",t.recurrenceEditorDailyInterval="scheduler.recurrenceEditorDailyInterval",t.recurrenceEditorDailyRepeatEvery="scheduler.recurrenceEditorDailyRepeatEvery",t.recurrenceEditorWeeklyInterval="scheduler.recurrenceEditorWeeklyInterval",t.recurrenceEditorWeeklyRepeatEvery="scheduler.recurrenceEditorWeeklyRepeatEvery",t.recurrenceEditorWeeklyRepeatOn="scheduler.recurrenceEditorWeeklyRepeatOn",t.recurrenceEditorMonthlyDay="scheduler.recurrenceEditorMonthlyDay",t.recurrenceEditorMonthlyInterval="scheduler.recurrenceEditorMonthlyInterval",t.recurrenceEditorMonthlyRepeatEvery="scheduler.recurrenceEditorMonthlyRepeatEvery",t.recurrenceEditorMonthlyRepeatOn="scheduler.recurrenceEditorMonthlyRepeatOn",t.recurrenceEditorYearlyOf="scheduler.recurrenceEditorYearlyOf",t.recurrenceEditorYearlyRepeatEvery="scheduler.recurrenceEditorYearlyRepeatEvery",t.recurrenceEditorYearlyRepeatOn="scheduler.recurrenceEditorYearlyRepeatOn",t.recurrenceEditorYearlyInterval="scheduler.recurrenceEditorYearlyInterval",t.recurrenceEditorFrequenciesDaily="scheduler.recurrenceEditorFrequenciesDaily",t.recurrenceEditorFrequenciesMonthly="scheduler.recurrenceEditorFrequenciesMonthly",t.recurrenceEditorFrequenciesNever="scheduler.recurrenceEditorFrequenciesNever",t.recurrenceEditorFrequenciesWeekly="scheduler.recurrenceEditorFrequenciesWeekly",t.recurrenceEditorFrequenciesYearly="scheduler.recurrenceEditorFrequenciesYearly",t.recurrenceEditorOffsetPositionsFirst="scheduler.recurrenceEditorOffsetPositionsFirst",t.recurrenceEditorOffsetPositionsSecond="scheduler.recurrenceEditorOffsetPositionsSecond",t.recurrenceEditorOffsetPositionsThird="scheduler.recurrenceEditorOffsetPositionsThird",t.recurrenceEditorOffsetPositionsFourth="scheduler.recurrenceEditorOffsetPositionsFourth",t.recurrenceEditorOffsetPositionsLast="scheduler.recurrenceEditorOffsetPositionsLast",t.recurrenceEditorWeekdaysDay="scheduler.recurrenceEditorWeekdaysDay",t.recurrenceEditorWeekdaysWeekday="scheduler.recurrenceEditorWeekdaysWeekday",t.recurrenceEditorWeekdaysWeekendday="scheduler.recurrenceEditorWeekdaysWeekendday",t.recurrenceEditorEndAfter="scheduler.recurrenceEditorEndAfter",t.recurrenceEditorEndOccurrence="scheduler.recurrenceEditorEndOccurrence",t.recurrenceEditorEndLabel="scheduler.recurrenceEditorEndLabel",t.recurrenceEditorEndNever="scheduler.recurrenceEditorEndNever",t.recurrenceEditorEndOn="scheduler.recurrenceEditorEndOn",t.editorDelete="scheduler.editorDelete",t.deleteConfirmation="scheduler.deleteConfirmation",t.deleteRecurringConfirmation="scheduler.deleteRecurringConfirmation",t.deleteOccurrence="scheduler.deleteOccurrence",t.deleteSeries="scheduler.deleteSeries",t.deleteDialogTitle="scheduler.deleteDialogTitle",t.deleteRecurringDialogTitle="scheduler.deleteRecurringDialogTitle",t.dateTitle="scheduler.dateTitle",t.timeTitle="scheduler.timeTitle",t.eventTitle="scheduler.eventTitle",t.editorValidationRequired="scheduler.editorValidationRequired",t.editorValidationStart="scheduler.editorValidationStart",t.editorValidationEnd="scheduler.editorValidationEnd",t.noEvents="scheduler.noEvents",t.messages=((n={})[t.editorValidationRequired]="Field is required.",n[t.editorValidationStart]="Start time must be be before End time.",n[t.editorValidationEnd]="End time must be after Start time.",n[t.allEvents]="All events",n[t.allDay]="all day",n[t.today]="Today",n[t.dayViewTitle]="Day",n[t.monthViewTitle]="Month",n[t.weekViewTitle]="Week",n[t.workWeekViewTitle]="Work Week",n[t.timelineViewTitle]="Timeline",n[t.agendaViewTitle]="Agenda",n[t.deleteTitle]="Delete",n[t.previousTitle]="Previous",n[t.nextTitle]="Next",n[t.showFullDay]="Show full day",n[t.showWorkDay]="Show business hours",n[t.editorOccurrence]="Edit current occurrence",n[t.editorSeries]="Edit the series",n[t.editorRecurringConfirmation]="Do you want to edit only this event occurrence or the whole series?",n[t.editorRecurringDialogTitle]="Edit Recurring Item",n[t.editorSave]="Save",n[t.editorCancel]="Cancel",n[t.editorDelete]="Delete",n[t.editorTitle]="Event",n[t.editorEventTitle]="Title",n[t.editorEventStart]="Start",n[t.editorEventStartTimeZone]="Start Time Zone",n[t.editorEventEnd]="End",n[t.editorEventEndTimeZone]="End Time Zone",n[t.editorEventAllDay]="All Day Event",n[t.editorEventDescription]="Description",n[t.editorEventSeparateTimeZones]="End in different Time Zone",n[t.editorEventTimeZone]="Specify Time Zone",n[t.recurrenceEditorRepeat]="Repeat",n[t.recurrenceEditorDailyInterval]="day(s)",n[t.recurrenceEditorDailyRepeatEvery]="Repeat every",n[t.recurrenceEditorWeeklyInterval]="week(s)",n[t.recurrenceEditorWeeklyRepeatEvery]="Repeat every",n[t.recurrenceEditorWeeklyRepeatOn]="Repeat on",n[t.recurrenceEditorMonthlyDay]="Day",n[t.recurrenceEditorMonthlyInterval]="month(s)",n[t.recurrenceEditorMonthlyRepeatEvery]="Repeat every",n[t.recurrenceEditorMonthlyRepeatOn]="Repeat on",n[t.recurrenceEditorYearlyOf]="of",n[t.recurrenceEditorYearlyRepeatEvery]="Repeat every",n[t.recurrenceEditorYearlyRepeatOn]="Repeat on",n[t.recurrenceEditorYearlyInterval]="year(s)",n[t.recurrenceEditorFrequenciesDaily]="Daily",n[t.recurrenceEditorFrequenciesMonthly]="Monthly",n[t.recurrenceEditorFrequenciesNever]="Never",n[t.recurrenceEditorFrequenciesWeekly]="Weekly",n[t.recurrenceEditorFrequenciesYearly]="Yearly",n[t.recurrenceEditorOffsetPositionsFirst]="First",n[t.recurrenceEditorOffsetPositionsSecond]="Second",n[t.recurrenceEditorOffsetPositionsThird]="Third",n[t.recurrenceEditorOffsetPositionsFourth]="Fourth",n[t.recurrenceEditorOffsetPositionsLast]="Last",n[t.recurrenceEditorWeekdaysDay]="Day",n[t.recurrenceEditorWeekdaysWeekday]="Weekday",n[t.recurrenceEditorWeekdaysWeekendday]="Weekend Day",n[t.recurrenceEditorEndAfter]="After",n[t.recurrenceEditorEndOccurrence]="occurrence(s)",n[t.recurrenceEditorEndLabel]="End",n[t.recurrenceEditorEndNever]="Never",n[t.recurrenceEditorEndOn]="On",n[t.deleteConfirmation]="Are you sure you want to delete this event?",n[t.deleteRecurringConfirmation]="Do you want to delete only this event occurrence or the whole series?",n[t.deleteOccurrence]="Delete current occurrence",n[t.deleteSeries]="Delete the series",n[t.deleteDialogTitle]="Delete Event",n[t.deleteRecurringDialogTitle]="Delete Recurring Item",n[t.dateTitle]="Date",n[t.timeTitle]="Time",n[t.eventTitle]="Event",n[t.noEvents]="no events",n)},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(15),r=function(e,t,i,r,o,s,a){void 0===r&&(r=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0);var l=new Date(e,t,i,r,o,s,a);return e>-1&&e<100&&l.setFullYear(l.getFullYear()-1900),Object(n.a)(l,r)}},function(e,t,i){"use strict";i.d(t,"a",(function(){return _e}));var n=i(1),r=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop),n=parseFloat(t.marginBottom);return e.offsetHeight+i+n},o=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginLeft),n=parseFloat(t.marginRight);return e.offsetWidth+i+n},s={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"},a=i(0),l=function(){return(l=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},u=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},d=n,c=d.h,h=d.ref,p=d.Transition,f=s,m={props:{in:Boolean,transitionName:{type:String,required:!0},transitionStyle:Object,componentChildClassName:[Array],className:String,appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:Number,transitionExitDuration:Number,mountOnEnter:Boolean,unmountOnExit:Boolean,animationEnteringStyle:Object,animationEnteredStyle:Object,animationExitingStyle:Object,animationExitedStyle:Object},created:function(){this.animationStep=""},setup:c?function(){return{v3:!!c,elementRef:h(null)}}:void 0,mounted:function(){this._element=this.v3?this.elementRef||null:this.$refs.element||null},computed:{element:{get:function(){return this._element}}},methods:{onBeforeEnter:function(e){this.$emit("beforeenter",{animatedElement:e,target:this})},onEnter:function(e){this.animationStep="entering",this.$emit("entering",{animatedElement:e,target:this})},onAfterEnter:function(e){this.animationStep="entered",this.$emit("entered",{animatedElement:e,target:this})},onBeforeLeave:function(e){this.$emit("exit",{animatedElement:e,target:this})},onLeave:function(e){this.animationStep="exiting",this.$emit("exiting",{animatedElement:e,target:this})},onAfterLeave:function(e){this.animationStep="exited",this.$emit("exited",{animatedElement:e,target:this})}},render:function(e){var t=this,i=c||e,n=this.$props,r=n.appear,o=n.enter,s=n.exit,d=n.transitionName,h=n.transitionEnterDuration,m=n.transitionExitDuration,v=(n.className,n.componentChildClassName),g=(n.mountOnEnter,n.unmountOnExit,n.animationEnteringStyle),y=n.animationEnteredStyle,b=n.animationExitingStyle,k=n.animationExitedStyle,S=(u(n,["appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","componentChildClassName","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),Object(a.getDefaultSlots)(this)),w=this.v3?r:!!S,D=this.v3?p:"transition",I=[v,f["child-animation-container"]],C=o?h:0,T=s?m:0,O=[l({transitionDelay:"0ms",transitionDuration:w?C+"ms":T+"ms"},this.$props.transitionStyle),{entering:l({transitionDuration:C+"ms"},g),entered:l({},y),exiting:l({transitionDuration:T+"ms"},b),exited:l({},k)}[this.animationStep]],E={enter:C,leave:T},$=[w?i("div",{style:O,class:I,ref:this.v3?function(e){t.elementRef=e}:"element"},[S]):null];return i(D,{duration:E,attrs:this.v3?null:{duration:E,name:d,appear:r,appearClass:f[d+"-appear"]||d+"-appear",appearToClass:f[d+"-appear-active"]||d+"-appear-active",enterClass:f[d+"-enter"]||d+"-enter",enterToClass:f[d+"-enter-active"]||d+"-enter-active",leaveClass:f[d+"-exit"]||d+"-exit",leaveToClass:f[d+"-exit-active"]||d+"-exit-active"},name:d,appear:r,appearFromClass:f[d+"-appear"]||d+"-appear",enterFromClass:f[d+"-enter"]||d+"-enter",leaveFromClass:f[d+"-exit"]||d+"-exit",appearToClass:f[d+"-appear-active"]||d+"-appear-active",enterToClass:f[d+"-enter-active"]||d+"-enter-active",leaveToClass:f[d+"-exit-active"]||d+"-exit-active",onBeforeEnter:this.onBeforeEnter,on:this.v3?null:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave},onEnter:this.onEnter,onAfterEnter:this.onAfterEnter,onBeforeLeave:this.onBeforeLeave,onLeave:this.onLeave,onAfterLeave:this.onAfterLeave},this.v3?function(){return $}:$)}},v={name:"@progress/kendo-vue-animation",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646140178,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},g=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},y=n.h,b=s,k={props:{childFactory:Object,className:String,tag:String,id:String,animationEnteringStyle:Object,animationExitingStyle:Object,componentChildClassName:[Array],transitionName:{type:String,required:!0},appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number},transitionExitDuration:{type:Number}},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:y?function(){return{v3:!!y}}:void 0,created:function(){Object(a.validatePackage)(v)},render:function(e){var t=y||e,i=Object(a.getDefaultSlots)(this),n=this.$props,r=(n.id,n.tag,n.className),o=(n.childFactory,n.stackChildren,n.componentChildStyle,n.componentChildClassName,g(n,["id","tag","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),[b["animation-container"],b["animation-container-relative"],r]);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id},class:o},[t(m,{key:"some",appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,onBeforeenter:this.onEnter,on:this.v3?void 0:{beforeenter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])])}},S=n.h,w=(Boolean,Boolean,Boolean,function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}),D=n.h,I=(Boolean,Boolean,Boolean,n.h),C={position:"absolute",top:"0",left:"0"},T=(Boolean,Boolean,Boolean,function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}),O=n.h,E={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},componentChildClassName:[Array],childFactory:Object,className:String,direction:{type:String,default:"down"},tag:String,id:String},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:O?function(){return{v3:!!O}}:void 0,render:function(e){var t=O||e,i=Object(a.getDefaultSlots)(this),n=this.$props,r=(n.direction,n.id),o=(T(n,["direction","id"]),"slide-"+this.$props.direction);return t(k,{id:r,attrs:this.v3?void 0:{id:r,transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,onEnter:this.onEnter,on:this.v3?void 0:{enter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},$=n.h,x={position:"absolute",top:"0",left:"0"},M=(Boolean,Boolean,Boolean,Boolean,function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}),R=n.h,_=function(){},F=(Boolean,Boolean,Boolean,"bottom"),A="center",z="middle",V="left",j="right",N="top",P=function(e){var t=e.anchorRect,i=e.anchorAlign,n=e.elementRect,r=e.elementAlign,o=e.margin;void 0===o&&(o={});var s=i.horizontal,a=i.vertical,l=r.horizontal,u=r.vertical,d=o.horizontal||0,c=o.vertical||0,h=t.top,p=t.left;return a===F&&(h+=t.height),a!==A&&a!==z||(h+=Math.round(t.height/2)),u===F&&(h-=n.height,c*=-1),u!==A&&u!==z||(h-=Math.round(n.height/2),c*=-1),s===j&&(p+=t.width),s!==A&&s!==z||(p+=Math.round(t.width/2)),l===j&&(p-=n.width,d*=-1),l!==A&&l!==z||(p-=Math.round(n.width/2),d*=-1),{top:h+c,left:p+d}};function B(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}}function L(e){return e.ownerDocument||e.document||e}var H=function(e){return L(e).defaultView},U=function(e){return L(e).documentElement},W=0;function K(){if(!W&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),W=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return W}function Y(e){var t=H(e),i=U(e),n={height:t.innerHeight,width:t.innerWidth};return i.scrollHeight-i.clientHeight>0&&(n.width-=K()),n}var G=function(e){if(!e.getBoundingClientRect){var t=Y(e);return{bottom:t.height,left:0,right:t.width,top:0}}var i=e.getBoundingClientRect();return{bottom:i.bottom,left:i.left,right:i.right,top:i.top}},q=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||U(e)},Z=function(e){return q(e)===e.ownerDocument.body},X=function(e){var t=e.getBoundingClientRect(),i=t.left,n=t.top;return t.height||t.width||(t=function(e){var t=e.style,i=t.display,n=t.left,r=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var o=e.getBoundingClientRect();return e.style.display=i,e.style.left=n,e.style.position=r,o}(e)),{top:n,left:i,height:t.height,width:t.width}},J=function(e,t){for(var i=[],n=e.parentNode;n&&(i.push(n),n!==t);)n=n.parentNode;return i};function Q(e){var t=U(e),i=H(e);return{x:i.pageXOffset||t.scrollLeft||0,y:i.pageYOffset||t.scrollTop||0}}var ee=function(e){return e===(e.ownerDocument||{}).body?Q(e):{x:e.scrollLeft,y:e.scrollTop}};var te=function(e,t){var i=H(e),n=i.getComputedStyle(e),r=X(e),o=t||q(e),s=e.ownerDocument,a=o!==s.body&&o!==s.documentElement,l={top:0,left:0};if("fixed"!==n.position&&a){var u=i.getComputedStyle(o);(l=X(o)).top+=parseInt(u.borderTopWidth,10),l.left+=parseInt(u.borderLeftWidth,10)}return{top:r.top-l.top,left:r.left-l.left,height:r.height,width:r.width}},ie=function(e,t){return e?ee(e):function(e){var t=q(e);return t?ee(t):{x:0,y:0}}(t)},ne=function(e,t,i){void 0===i&&(i=1);var n=t?q(t):null,r=te(e,n),o=r.top,s=r.left,a=r.height,l=r.width,u=ie(n,e),d=u.x,c=u.y,h=e.ownerDocument,p=n===h.body||n===h.documentElement?1:i;return{top:o+c*p,left:s+d*p,height:a,width:l}};function re(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}}var oe="fit",se="flip",ae=function(e,t,i){var n=0;return e+t>i&&(n=i-(e+t)),e<0&&(n=-e),n},le=function(e){var t=e.offset,i=e.size,n=e.anchorSize,r=e.viewPortSize,o=e.anchorAlignPoint,s=e.elementAlignPoint,a=0,l=2*e.margin;if(s!==o&&!(s===A||s===z)&&!(o===A||o===z)){var u=o===N||o===V;t<0&&u?t+(a=i+n+l)+i>r&&(a=0):t>=0&&!u&&(t+i>r&&(a+=-(n+i+l)),t+a<0&&(a=0))}return a},ue=function(e){var t=e.anchorRect,i=e.anchorAlign,n=e.elementRect,r=e.elementAlign,o=e.collisions,s=e.viewPort,a=e.margin;void 0===a&&(a={});var l=n.top,u=n.left,d=n.height,c=n.width,h=s.height,p=s.width,f=a.horizontal||0,m=a.vertical||0,v=0,g=0,y=o.vertical===oe,b=o.horizontal===oe,k=o.vertical===se,S=o.horizontal===se;y&&(g+=ae(l,d,h)),b&&(v+=ae(u,c,p)),k&&(g+=le({margin:m,offset:l,size:d,anchorSize:t.height,viewPortSize:h,anchorAlignPoint:i.vertical,elementAlignPoint:r.vertical})),S&&(v+=le({margin:f,offset:u,size:c,anchorSize:t.width,viewPortSize:p,anchorAlignPoint:i.horizontal,elementAlignPoint:r.horizontal}));var w=k&&0!==g,D=S&&0!==v,I=y&&0!==g,C=b&&0!==v;return{flipped:D||w,fitted:I||C,flip:{horizontal:D,vertical:w},fit:{horizontal:C,vertical:I},offset:{left:v,top:g}}},de=function(e){for(var t=[],i=e.parentNode.firstElementChild;i;)i!==e&&t.push(i),i=i.nextElementSibling;return t},ce=function(e,t){for(var i,n,r=J(e),o=t;o&&(i=de(o),!(n=r.reduce((function(e,t){return e.concat(i.filter((function(e){return e===t})))}),[])[0]));)o=o.parentElement;return n};he=function(e){if(!me())return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var i=t.createElement("div");i.style.transform="matrix(10, 0, 0, 10, 0, 0)",i.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(i);var n=10!==i.children[0].getBoundingClientRect().top;return t.body.removeChild(i),n},fe=!1;var he,pe,fe,me=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},ve=function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},ge=function(){return"undefined"!=typeof document&&!!document.body},ye=function(){return"undefined"!=typeof window},be=/auto|scroll/,ke=function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY},Se=function(){if(!ge())return!1;var e=document.createElement("div");if(e.style.transform="matrix(10, 0, 0, 10, 0, 0)",e.innerHTML="<div>child</div>",document.body.appendChild(e),e&&e.firstChild){var t=e.firstChild;t.style.position="fixed",t.style.top="10px"}var i=10!==e.children[0].getBoundingClientRect().top;return document.body.removeChild(e),i}(),we="fit",De="flip",Ie="left",Ce="bottom",Te="top",Oe=function(){function e(e){this._dom=e}return e.prototype.alignElement=function(e){var t=e.anchor,i=e.element,n=e.anchorAlign,r=e.elementAlign,o=e.offset,s=!this._dom.hasOffsetParent(i)?this.absoluteRect(t,i,o):this.relativeRect(t,i,o);return this._dom.align({anchorAlign:n,anchorRect:s,elementAlign:r,elementRect:this._dom.offset(i)})},e.prototype.absoluteRect=function(e,t,i){var n=this._dom,r=function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e}(ve(n.offset(e),i),n.stackingElementOffset(t)),o=n.stackingElementScroll(t),s=n.addScroll(r,o),a=this.elementScrollPosition(e,t),l=n.removeScroll(s,a);return l.left+=window.scrollX||window.pageXOffset,l.top+=window.scrollY||window.pageYOffset,l},e.prototype.elementScrollPosition=function(e,t){return e?{x:0,y:0}:this._dom.scrollPosition(t)},e.prototype.relativeRect=function(e,t,i){return ve(this._dom.position(e,t),i)},e}(),Ee=function(){function e(){}return e.prototype.addOffset=function(e,t){return{left:e.left+t.left,top:e.top+t.top}},e.prototype.align=function(e){return P(e)},e.prototype.boundingOffset=function(e){return G(e)},e.prototype.getWindow=function(){return ye()?window:null},e.prototype.isBodyOffset=function(e){return Z(e)},e.prototype.hasOffsetParent=function(e){if(!e)return!1;var t=e.offsetParent;return t&&!("BODY"===t.nodeName&&"static"===window.getComputedStyle(t).position)},e.prototype.offset=function(e){return e?X(e):null},e.prototype.staticOffset=function(e){if(!e)return null;var t=e.style,i=t.left,n=t.top;e.style.left="0px",e.style.top="0px";var r=X(e);return e.style.left=i,e.style.top=n,r},e.prototype.position=function(e,t){if(!e||!t)return null;var i=ce(e,t);return ne(e,i)},e.prototype.relativeOffset=function(e,t){return i=this.offset(e),n=t,r=this.isBodyOffset(e),o=i.top,s=i.left,r&&(s=0,o=0),{top:o+n.top,left:s+n.left,height:i.height,width:i.width};var i,n,r,o,s},e.prototype.addScroll=function(e,t){return B(e,t)},e.prototype.removeScroll=function(e,t){return re(e,t)},e.prototype.restrictToView=function(e){return ue(e)},e.prototype.scrollPosition=function(e){return Q(e)},e.prototype.scrollableParents=function(e){return function(e){var t=[];if(!ge()||!ye())return t;for(var i=e.parentElement;i;)be.test(ke(i))&&t.push(i),i=i.parentElement;return t.push(window),t}(e)},e.prototype.stackingElementOffset=function(e){var t=this.getRelativeContextElement(e);return t?X(t):null},e.prototype.stackingElementScroll=function(e){var t=this.getRelativeContextElement(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},e.prototype.stackingElementViewPort=function(e){var t=this.getRelativeContextElement(e);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},e.prototype.getRelativeContextElement=function(e){if(!e||!Se)return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},e.prototype.useRelativePosition=function(e){return!!this.getRelativeContextElement(e)},e.prototype.windowViewPort=function(e){return Y(e)},e.prototype.zIndex=function(e,t){return function(e,t){if(!e||!ge()||!ye())return null;var i=ce(e,t);if(!i)return null;var n=[e].concat(J(e,i)).reduce((function(e,t){var i=t.style.zIndex||window.getComputedStyle(t).zIndex,n=parseInt(i,10);return n>e?n:e}),0);return n?n+1:null}(e,t)},e.prototype.zoomLevel=function(){return ge()&&ye()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},e.prototype.isZoomed=function(){return this.zoomLevel()>1},e}(),$e=function(){function e(e){this._dom=e}return e.prototype.positionElement=function(e){var t,i,n=e.anchor,r=e.currentLocation,o=e.element,s=e.anchorAlign,a=e.elementAlign,l=e.collisions,u=this._dom,d=e.viewPort||u.stackingElementViewPort(o)||u.windowViewPort(o),c=ve(u.offset(n),r),h=(t=u.staticOffset(o),(i=r)?{height:t.height,left:i.left,top:i.top,width:t.width}:t),p=this.elementRect(o,h),f=u.restrictToView({anchorAlign:s,anchorRect:c,collisions:l,elementAlign:a,elementRect:p,viewPort:d});return{flipped:f.flipped,offset:u.addOffset(h,f.offset)}},e.prototype.elementRect=function(e,t){return this._dom.removeScroll(t,this._dom.scrollPosition(e))},e}(),xe={name:"@progress/kendo-vue-popup",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646140199,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},Me=n.h,Re={left:-1e3,top:0},_e={name:"Popup",props:{appendTo:{type:String,default:""},anchor:{type:String,default:""},className:String,id:String,popupClass:String,collision:{type:Object,default:function(){return{horizontal:we,vertical:De}}},anchorAlign:{type:Object,default:function(){return{horizontal:Ie,vertical:Ce}}},popupAlign:{type:Object,default:function(){return{horizontal:Ie,vertical:Te}}},offset:{type:Object,default:function(){return Re}},show:{type:Boolean,default:!1},animate:{type:[Boolean,Object],default:function(){return!0}},direction:{type:String,default:"down"},transition:{type:String,default:"expand"}},data:function(){return{hasMounted:!1}},created:function(){Object(a.validatePackage)(xe),this.mountedAppendTo=void 0,this.mountedAnchor=void 0,this._initiallyMountedContent=void 0,this._flipped=!1,this._offsetTop=0,this._offsetLeft=-1e3,this._exitingAnimation=!1,this._prevShow=!1,this._prevShow=this.$props.show,this._domService=new Ee,this._alignService=new Oe(this._domService),this._positionService=new $e(this._domService),this.reposition=function(e,t,i){var n,r,o,s;void 0===i&&(i={});var a=0;i=i||{};var l=function(){a=!1===i.leading?0:(new Date).getTime(),n=null,s=e.apply(r,o),n||(r=o=null)};return function(){var u=(new Date).getTime();a||!1!==i.leading||(a=u);var d=t-(u-a);return r=this,o=arguments,d<=0||d>t?(n&&(clearTimeout(n),n=null),a=u,s=e.apply(r,o),n||(r=o=null)):n||!1===i.trailing||(n=setTimeout(l,d)),s}}(this.reposition.bind(this),1e3/60)},setup:Me?function(){return{v3:!!Me}}:void 0,mounted:function(){a.canUseDOM&&(this.mountedAppendTo=this.$props.appendTo?this.getParentRef(this.$props.appendTo):document.body,this.mountedAnchor=this.$props.anchor?this.getParentRef(this.$props.anchor):document.body),this._parentElement=this.$el.parentElement,this._initiallyMountedContent=this.$el.cloneNode(!0),this.hasMounted=!0,this.mountedAppendTo.appendChild(this.$el)},updated:function(){this._prevShow=this.$props.show},destroyed:Me?void 0:function(){this.detachRepositionHandlers()},beforeDestroy:Me?void 0:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},unmounted:function(){this.detachRepositionHandlers()},beforeUnmount:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},methods:{onOpened:function(){var e=this.$el;this.$props.show&&e.classList.add("k-animation-container-shown"),this.attachRepositionHandlers(e),this.$emit("open",{target:this})},onClosing:function(){this.$props.show||this.$el.classList.remove("k-animation-container-shown");this.detachRepositionHandlers()},onClosed:function(){this._exitingAnimation&&(this._exitingAnimation=!1,this.$forceUpdate()),this.$emit("close",{target:this})},transitionDuration:function(){var e=this.$props.animate,t=0,i=0;return e&&(!0===e?t=i=void 0:(t=e.openDuration,i=e.closeDuration)),{transitionEnterDuration:t,transitionExitDuration:i}},getParentRef:function(e){for(var t=this.$parent;!t.$refs[e];){if(t&&t.kendoAnchorRef)return t.kendoAnchorRef;if(!(t=t.$parent)&&a.canUseDOM)return document.body}return t.$refs[e].$el||t.$refs[e]},position:function(e,t,i){var n=e.anchorAlign,r=e.popupAlign,o=e.collision,s=e.offset,a=i?this.v3?this.mountedAnchor:this.getParentRef(i):document.body,l=this._alignService.alignElement({anchor:i?a:void 0,element:t,elementAlign:r,anchorAlign:n,offset:s});return this._positionService.positionElement({anchor:a,anchorAlign:n,collisions:o,element:t,currentLocation:l,elementAlign:r})},calculatePosition:function(e,t){if(!t||!ye()||!a.canUseDOM)return{flipped:!1,offset:e.offset};var i=Object(a.getDefaultSlots)(this),n=document.createElement("div"),r=this.$el&&this.$el.firstChild&&this.$el.firstChild.firstChild?this.$el.firstChild.firstChild.cloneNode(!0):null,o=r&&r.getBoundingClientRect?r:this._initiallyMountedContent;if(o)n.appendChild(o);else{var s=this.v3?i&&i[0].props?i[0].props.class:"":i&&i[0].data?i[0].data.staticClass:"",l=this.v3?this.$props.popupClass?this.$props.popupClass:"":i&&i[0].data?i[0].data.class:"";n.innerHTML='<div class="k-animation-container k-animation-container-relative">\t\n <div class="k-popup k-animation-container k-animation-container-relative">\n <div class="'+s+" "+l+'" >\n </div>\t\n </div>\t\n </div>'}if(t.appendChild(n),n&&n.firstChild){var u=n.firstChild;u.style.position="absolute",u.style.visibility="hidden",u.style.display="block",u.style.left="-1000",u.style.top="0";var d=this.v3?i&&i[0].props?i[0].props.style:{}:i[0].data?i[0].data.style:{};if(d)for(var c=0,h=Object.entries(d);c<h.length;c++){var p=h[c],f=p[0],m=p[1];u.style[f]=m}}var v=this.position(e,n.firstChild,this.$props.anchor);return n.parentNode.removeChild(n),v},attachRepositionHandlers:function(e){var t=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.$props.anchor?this.mountedAnchor:e),this._scrollableParents.map((function(e){return e.addEventListener("scroll",t.reposition)})),window.addEventListener("resize",this.reposition)},detachRepositionHandlers:function(){var e=this;this._scrollableParents&&(this._scrollableParents.map((function(t){return t.removeEventListener("scroll",e.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},reposition:function(){this.$forceUpdate()}},render:function(e){var t=Me||e,i=this.$props,n=i.className,r=i.popupClass,o=i.show,s=i.id,l=Object(a.getDefaultSlots)(this),u=this.v3||o?l:null,d=ye()?this.$props.appendTo?this.mountedAppendTo||this.getParentRef(this.$props.appendTo):document.body:void 0;if(this.$props.show){var c=this.calculatePosition(this.$props,d);this._offsetLeft=c.offset.left,this._offsetTop=c.offset.top,this._flipped=!!c.flipped}var h=this._flipped?"up":"down",p=this.transitionDuration(),f=p.transitionEnterDuration,m=p.transitionExitDuration;return this._exitingAnimation=this._exitingAnimation||this._prevShow&&!o,this.hasMounted?o||this._exitingAnimation&&d?t(E,{id:s,attrs:this.v3?void 0:{id:s,componentChildClassName:[r,"k-popup"],className:n,direction:h,transitionEnterDuration:f,transitionExitDuration:m,appear:o},componentChildClassName:[r,"k-popup"],className:n,onEntered:this.onOpened,on:this.v3?void 0:{entered:this.onOpened,exiting:this.onClosing,exited:this.onClosed},onExiting:this.onClosing,onExited:this.onClosed,direction:h,style:{position:"absolute",top:this._offsetTop+"px",left:this._offsetLeft+"px"},transitionEnterDuration:f,transitionExitDuration:m,appear:o},this.v3?function(){return[u]}:[u]):null:t("div",{style:{display:"none"},class:n},[t("div",{class:[r,"k-popup"]},[l])])}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_RANGE=t.MAX_DATE=t.MIN_DATE=t.DEFAULT_GROUP=t.VISIBILITY_HIDDEN_STYLES=t.DISPLAY_NONE_STYLES=t.DEFAULT_ID=t.OCCURRENCE_ID=t.EMPTY_RESOURCE=t.HOURS_IN_DAY_COUNT=t.WEEKS_COUNT=t.DAYS_IN_WEEK_COUNT=t.DEFAULT_EVENT_HEIGHT=t.BORDER_WIDTH=t.TIME_FORMAT=t.MS_PER_HOUR=t.MS_PER_MINUTE=t.MS_PER_SECOND=t.MIDNIGHT_INVARIANT=void 0;var n=i(5),r=i(5);Object.defineProperty(t,"MS_PER_DAY",{enumerable:!0,get:function(){return r.MS_PER_DAY}}),t.MIDNIGHT_INVARIANT=new Date(1980,0,1),t.MS_PER_SECOND=1e3,t.MS_PER_MINUTE=60*t.MS_PER_SECOND,t.MS_PER_HOUR=60*t.MS_PER_MINUTE,t.TIME_FORMAT="t",t.BORDER_WIDTH=1,t.DEFAULT_EVENT_HEIGHT=25,t.DAYS_IN_WEEK_COUNT=7,t.WEEKS_COUNT=6,t.HOURS_IN_DAY_COUNT=24,t.EMPTY_RESOURCE=[{}],t.OCCURRENCE_ID=0,t.DEFAULT_ID=void 0,t.DISPLAY_NONE_STYLES={display:"none"},t.VISIBILITY_HIDDEN_STYLES={visibility:"hidden"},t.DEFAULT_GROUP={index:0,resources:[]},t.MIN_DATE=new Date(1900,0,1),t.MAX_DATE=new Date(2099,11,31),t.DEFAULT_RANGE={index:0,start:t.MIN_DATE,end:t.MAX_DATE,zonedStart:n.ZonedDate.fromLocalDate(t.MIN_DATE),zonedEnd:n.ZonedDate.fromLocalDate(t.MAX_DATE)}},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(9),r=function(e,t){var i=Object(n.a)(e);return 0===t&&23===i.getHours()&&i.setHours(i.getHours()+2),i}},function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return r})),i.d(t,"c",(function(){return a}));var n="The required {0} timezone information is not provided!",r="The provided timezone information has invalid stucture!",o=/\{(\d+)}?\}/g,s=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},a=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var n=s(t);return e.replace(o,(function(e,t){return n[parseInt(t,10)]}))}},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(48),r=function(e,t){if(void 0===t&&(t=new Date),"Etc/UTC"===e||"Etc/GMT"===e)return 0;if(""===e)return t.getTimezoneOffset();var i=Object(n.a)(e,t),r=i.rule,o=i.zone;return parseFloat(r?o[0]-r[6]:o[0])}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=function(e,t){for(var i in e)"default"===i||t.hasOwnProperty(i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(97),t),r(i(98),t),r(i(99),t),r(i(100),t),r(i(101),t),r(i(102),t),r(i(103),t),r(i(104),t),r(i(105),t),r(i(106),t)},function(e,t,i){"use strict";function n(e){var t={horizontal:"left",vertical:"bottom"};return e&&(t.horizontal="right"),t}function r(e){var t={horizontal:"left",vertical:"top"};return e&&(t.horizontal="right"),t}i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return r}))},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.setRect=t.getBorders=t.getPadding=t.getRect=t.resourcesByIndex=t.expandResources=t.addUTCDays=t.toGroupResources=t.calculateEventRect=t.toFlatGroupResources=t.last=void 0,t.last=function(e){return e[e.length-1]},t.toFlatGroupResources=function(e,i,o,s){if(void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=[]),e.length<=i)return[s];var a=[];return e[i].data.map((function(l){a.push.apply(a,t.toFlatGroupResources(e,i+1,o+1,r(s,[n(n({},l),{field:e[i].field,valueField:e[i].valueField,colorField:e[i].colorField,multiple:e[i].multiple})])))})),a},t.calculateEventRect=function(e,i){if(e.length<1||!e[0].refTo||!e[0].refTo.current)return null;var n=t.getRect(e[0].refTo.current.element),r={top:n.top,left:n.left,right:n.right,width:n.width,height:0};return e.forEach((function(e){if(e.refTo.current){var n=t.getRect(e.refTo.current.element).height;void 0!==n&&(!i&&n>=r.height?r.height=n:r.height+=n)}})),r},t.toGroupResources=function(e,t){var i=[];if(!t||!t.length)return i;if(e&&e.resources&&e.resources.length)for(var n=e.resources,r=function(e){var r=t.find((function(t){return t.name===n[e]}));i.push(r)},o=0;o<n.length;o++)r(o);return i},t.addUTCDays=function(e,t){var i=new Date(e.getTime());return i.setUTCDate(i.getUTCDate()+t),i},t.expandResources=function(e,t){void 0===t&&(t=e.length-1);var i=Math.max(0,t),r=[];e&&e.length||(e=[{}]);for(var o=(e[i].data||[]).map((function(t){return n(n({},t),{text:t[e[i].textField]})}))||[],s=o.length,a=1,l=0;l<=i;l++)a*=(e[l].data||[]).length||1;for(l=0;l<a;l++)o[l%s]&&r.push(o[l%s]);return r},t.resourcesByIndex=function(e,t,i){for(var n=t,r=[],o=e,s=0;s<n.length;s++){var a=n[s].data||[],l=Math.floor(o/i[s]);r.push(a[l]),o-=l*i[s]}return r},t.getRect=function(e){return e?{top:e.offsetTop,left:e.offsetLeft,right:e.offsetParent?e.offsetParent.offsetWidth-(e.offsetLeft+e.offsetWidth):0,width:e.offsetWidth,height:e.offsetHeight}:{top:0,left:0,width:0,height:0,right:0}},t.getPadding=function(e,t){return void 0===t&&(t=!1),parseFloat(window.getComputedStyle(e)[t?"paddingLeft":"paddingTop"]||"0")+parseFloat(window.getComputedStyle(e)[t?"paddingRight":"paddingBottom"]||"0")},t.getBorders=function(e,t){return void 0===t&&(t=!1),parseFloat(window.getComputedStyle(e)[t?"borderLeftWidth":"borderTopWidth"]||"0")+parseFloat(window.getComputedStyle(e)[t?"borderRightWidth":"borderBottomWidth"]||"0")},t.setRect=function(e,t,i){void 0===i&&(i=!1),e&&(void 0!==t.top&&(e.style.top=t.top+"px"),void 0!==t.left&&(e.style.left=t.left+"px"),void 0!==t.width&&(e.style.width=t.width+"px"),void 0===t.height||i||(e.style.height="number"==typeof t.height?t.height+"px":t.height),i&&(e.style.minHeight=void 0!==t.height&&t.height>0?t.height+"px":""))}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerEditSlotVue2=t.SchedulerEditSlot=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(0)),u=i(49),d=i(7),c=i(74),h=i(18),p=i(57),f={name:"KendoSchedulerEditSlot",props:{viewSlot:Object,renderSlot:Object,form:Object,formItem:Object,refTo:[Function,Object],items:Array,row:Number,group:Object,range:Object,isWorkDay:{type:Boolean,default:!0},isWorkHour:{type:Boolean,default:!0},selected:Boolean,col:Number,index:Number,start:Date,end:Date,zonedStart:Object,zonedEnd:Object,isAllDay:Boolean,expandable:[Boolean,Object]},created:function(){this.slot=null,this.editableSlot=null},inject:{bv:{default:null},ks:{default:null}},data:function(){return{currentFormItem:null}},computed:{currentTabIndex:function(){var e=this.bv.slots.length&&this.bv.slots[0].current===this.slot;return void 0!==this.$props.tabIndex?null===this.$props.tabIndex?void 0:this.$props.tabIndex:0===this.bv.selectedSlots.length&&e&&0===this.items.length?0:void 0},computedEditable:function(){return h.useEditable(this.$props.editable)}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e,n=l.getDefaultSlots(this),r=this.$props,o=(r.refTo,r.viewSlot,r.form,r.formItem,r.onFormItemChange,r.items),s=r.row,u=r.group,d=r.range,h=r.isWorkDay,p=r.isWorkHour,f=r.col,m=r.index,v=r.start,g=r.end,y=r.zonedStart,b=r.zonedEnd,k=this.bv.selectedSlots.some((function(e){return Boolean(e.current&&e.current.props.start.getTime()===t.$props.start.getTime()&&e.current.props.end.getTime()===t.$props.end.getTime()&&e.current.props.index===t.$props.index&&e.current.props.group.index===t.$props.group.index&&e.current.props.range.index===t.$props.range.index&&e.current.props.isAllDay===t.$props.isAllDay)}));return i(c.SchedulerViewSlot,{isAllDay:this.isAllDay,attrs:this.v3?void 0:{isAllDay:this.isAllDay,expandable:this.expandable,items:o,row:s,group:u,range:d,isWorkDay:h,isWorkHour:p,col:f,index:m,start:v,end:g,zonedStart:y,zonedEnd:b,selected:k,tabIndex:this.currentTabIndex},expandable:this.expandable,items:o,row:s,group:u,range:d,isWorkDay:h,isWorkHour:p,col:f,index:m,start:v,end:g,zonedStart:y,zonedEnd:b,selected:k,tabIndex:this.currentTabIndex,onFocus:this.handleFocus,on:this.v3?void 0:{focus:this.handleFocus,doubleclick:this.handleDoubleClick,keydown:this.handleKeyDown},onDoubleclick:this.handleDoubleClick,onKeydown:this.handleKeyDown},this.v3?function(){return[n]}:[n])},methods:{createDataItemFromSlot:function(){var e={};if(d.setField(e,this.fields.start,new Date(this.$props.start.getTime())),d.setField(e,this.fields.end,new Date(this.$props.end.getTime())),d.setField(e,this.fields.isAllDay,this.$props.isAllDay),this.$props.group.resources.length)for(var t=0;t<this.$props.group.resources.length;t++){var i=this.$props.group.resources[t];if(d.isGroupped(this.$props.group.resources)){var n=d.getField(this.$props.group.resources[t],i.valueField);d.setField(e,i.field,i.multiple?[n]:n)}else d.setField(e,i.field,i.multiple?[]:void 0)}return e},handleFocus:function(e){this.computedEditable.select&&this.dispatchSlotsSelection({type:p.SLOTS_SELECT_ACTION.select,slot:this.renderSlot},e.event),this.$emit("focus",e)},handleDoubleClick:function(e){if(this.computedEditable.add){var t=this.createDataItemFromSlot();this.setFormItem(t,e)}this.$emit("doubleclick",e)},handleKeyDown:function(e){var t;switch(e.event.keyCode){case l.Keys.left:if(!this.bv.slots)return;e.event.preventDefault(),this.dispatchFocusedSlots({type:h.SLOTS_FOCUS_ACTION.left,slot:this.slot},e.event);break;case l.Keys.right:if(!this.bv.slots)return;e.event.preventDefault(),this.dispatchFocusedSlots({type:h.SLOTS_FOCUS_ACTION.right,slot:this.slot},e.event);break;case l.Keys.up:if(!this.bv.slots)return;e.event.preventDefault(),this.dispatchFocusedSlots({type:h.SLOTS_FOCUS_ACTION.up,slot:this.slot},e.event);break;case l.Keys.down:if(!this.bv.slots)return;e.event.preventDefault(),this.dispatchFocusedSlots({type:h.SLOTS_FOCUS_ACTION.down,slot:this.slot},e.event);break;case l.Keys.enter:if(!this.bv.slots||!this.computedEditable.add)return;var i=this.createDataItemFromSlot();this.setFormItem(i);break;case l.Keys.tab:t=d.findFirstItem(e.target)}t&&(e.event.preventDefault(),t.element&&t.element.focus())},handleEditFormSubmit:function(e){this.$emit("dataaction",{type:u.DATA_ACTION.create,series:!1,dataItem:e.value},e),this.setFormItem(null,e.event)},handleEditFormCancel:function(e){this.setFormItem(null,e.event)},handleEditFormClose:function(e){this.setFormItem(null,e)},handleFormItemChange:function(e,t){this.setFormItem&&this.setFormItem(e,t)}}};t.SchedulerEditSlotVue2=f;var m=f;t.SchedulerEditSlot=m},function(e,t,i){"use strict";i.r(t),i.d(t,"FloatingLabel",(function(){return I})),i.d(t,"FloatingLabelVue2",(function(){return D})),i.d(t,"Label",(function(){return p})),i.d(t,"LabelVue2",(function(){return h})),i.d(t,"Error",(function(){return v})),i.d(t,"ErrorVue2",(function(){return m})),i.d(t,"Hint",(function(){return b})),i.d(t,"HintVue2",(function(){return y}));var n,r=i(1),o=i(0),s=((n={})["labels.optional"]="(Optional)",n),a=i(2),l={name:"@progress/kendo-vue-labels",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646140333,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},u=r,d=u.h,c=u.inject,h={name:"KendoLabel",props:{id:String,editorId:String,editorRef:String,editorValid:{type:Boolean,default:void 0},editorDisabled:Boolean,optional:Boolean},inject:{kendoLocalizationService:{default:null}},created:function(){Object(o.validatePackage)(l)},computed:{labelClassName:function(){return{"k-label":!0,"k-label-empty":!this.defaultSlots,"k-text-error":!1===this.$props.editorValid,"k-text-disabled":!0===this.$props.editorDisabled}}},methods:{onLabelClick:function(e){if(this.$props.editorRef&&this.$props.editorRef.current&&!this.$props.editorDisabled){this.$props.editorRef.current.focus&&(e.preventDefault(),this.$props.editorRef.current.focus());var t=this.$props.editorRef.current.actionElement;t&&(e.preventDefault(),t.click())}}},setup:d?function(){return{v3:!!d,kendoLocalizationService:c("kendoLocalizationService",{})}}:void 0,render:function(e){var t=d||e;this.defaultSlots=Object(o.getDefaultSlots)(this);var i=Object(a.provideLocalizationService)(this),n=this.$props,r=n.id,l=n.editorId,u=n.optional?i.toLanguageString("labels.optional",s["labels.optional"]):"",c=u&&t("span",{class:"k-label-optional"},[u]);return t("label",{id:r,attrs:this.v3?void 0:{id:r,for:l},for:l,onClick:this.onLabelClick,on:this.v3?void 0:{click:this.onLabelClick},class:this.labelClassName},[this.defaultSlots,c])}},p=h,f=r.h,m={name:"KendoError",props:{id:String,direction:{type:String,default:"start",validator:function(e){return["start","end"].includes(e)}}},created:function(){Object(o.validatePackage)(l)},computed:{errorClassName:function(){return{"k-form-error":!0,"k-text-start":"start"===this.$props.direction,"k-text-end":"end"===this.$props.direction}}},setup:f?function(){return{v3:!!f}}:void 0,render:function(e){var t=f||e,i=Object(o.getDefaultSlots)(this);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,role:"alert"},role:"alert",class:this.errorClassName},[i])}},v=m,g=r.h,y={name:"KendoHint",props:{id:String,direction:{type:String,default:"start",validator:function(e){return["start","end"].includes(e)}}},created:function(){Object(o.validatePackage)(l)},computed:{hintClassName:function(){return{"k-form-hint":!0,"k-text-start":"start"===this.$props.direction,"k-text-end":"end"===this.$props.direction}}},setup:g?function(){return{v3:!!g}}:void 0,render:function(e){var t=g||e,i=Object(o.getDefaultSlots)(this);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id},class:this.hintClassName},[i])}},b=y,k=r,S=k.h,w=k.inject,D={name:"KendoFloatingLabel",props:{label:String,editorId:String,editorValue:[String,Boolean,Number],editorPlaceholder:String,editorValid:{type:Boolean,default:void 0},editorDisabled:Boolean,id:String,optional:Boolean},data:function(){return{focused:!1}},inject:{kendoLocalizationService:{default:null}},created:function(){Object(o.validatePackage)(l)},computed:{spanClassNames:function(){return{"k-floating-label-container":!0,"k-focus":this.focused,"k-state-empty":!this.$props.editorPlaceholder&&!this.$props.editorValue&&0!==this.$props.editorValue,"k-text-disabled":this.$props.editorDisabled,"k-rtl":"rtl"===this.$props.dir}},labelClassNames:function(){return{"k-label":!0,"k-text-error":!1===this.$props.editorValid,"k-text-disabled":this.$props.editorDisabled}}},methods:{handleFocus:function(){this.focused=!0},handleBlur:function(){this.focused=!1}},setup:S?function(){return{v3:!!S,kendoLocalizationService:w("kendoLocalizationService",{})}}:void 0,render:function(e){var t=S||e,i=Object(o.getDefaultSlots)(this),n=this.$props,r=n.label,l=n.editorId,u=n.id,d=n.optional,c=Object(a.provideLocalizationService)(this),h=d?c.toLanguageString("labels.optional",s["labels.optional"]):"",p=h&&t("span",{class:"k-label-optional"},[h]);return t("span",{class:this.spanClassNames,onFocusin:this.handleFocus,on:this.v3?void 0:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur,dir:this.$props.dir,attrs:this.v3?void 0:{dir:this.$props.dir}},[i,r?l?t("label",{id:u,attrs:this.v3?void 0:{id:u,for:l},for:l,class:this.labelClassNames},[r,p]):t("span",{id:u,attrs:this.v3?void 0:{id:u},class:this.labelClassNames},[r,p]):null])}},I=D},function(e,t,i){"use strict";i.d(t,"a",(function(){return d})),i.d(t,"b",(function(){return u}));var n=i(1),r=i(0),o=i(10),s=i(26),a=n.h,l=s.a.styles,u={name:"KendoButton",emits:{click:null,mousedown:null,mouseup:null,pointerdown:null,pointerup:null,focus:null,blur:null,keypress:null},props:{dir:String,selected:{type:Boolean,default:void 0},togglable:{type:Boolean,default:!1},icon:{type:String,default:function(){}},iconClass:{type:String,default:function(){}},imageUrl:{type:String,default:function(){}},imageAlt:String,disabled:{type:Boolean,default:void 0},size:{type:String,default:"medium"},shape:{type:String,default:"rectangle",validator:function(e){return[null,"rectangle","square"].includes(e)}},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid"},themeColor:{type:String,default:"base"}},created:function(){Object(r.validatePackage)(o.a),this.currentActive=!0===this.$props.togglable&&!0===this.$props.selected,this._activeTemp=void 0},data:function(){return{currentActive:null}},computed:{computedSelected:function(){return void 0!==this._activeTemp?this._activeTemp:void 0!==this.$props.selected?this.$props.selected:this.currentActive},buttonClasses:function(){var e,t=this.$props,i=t.disabled,n=t.icon,o=t.iconClass,s=t.imageUrl,a=t.dir,u=t.size,d=t.shape,c=t.rounded,h=t.fillMode,p=t.themeColor,f=void 0!==n||void 0!==o||void 0!==s,m=Object(r.getDefaultSlots)(this);return(e={})[l.button]=!0,e["k-button-"+(r.kendoThemeMaps.sizeMap[u]||u)]=u,e["k-button-"+d]=d&&"rectangle"!==d,e["k-rounded-"+(r.kendoThemeMaps.roundedMap[c]||c)]=c,e["k-icon-button"]=!m&&f,e["k-disabled"]=i,e["k-selected"]=this.computedSelected,e["k-rtl"]="rtl"===a,e["k-button-"+h]=h,e["k-button-"+h+"-"+p]=h&&p,e}},updated:function(){this.$props.togglable&&void 0!==this.$props.selected&&this.$props.selected!==this.currentActive&&(this.currentActive=this.$props.selected)},methods:{focus:function(e){this.$el.focus(e)},toggleIfApplicable:function(){if(!this.disabled&&this.$props.togglable&&void 0===this.$props.selected){var e=!this.currentActive;this._activeTemp=e,this.currentActive=e,this._activeTemp=void 0}},handleClick:function(e){this.toggleIfApplicable(),this.disabled||this.$emit("click",e)},handleMouseDown:function(e){this.disabled||this.$emit("mousedown",e)},handlePointerDown:function(e){this.disabled||this.$emit("pointerdown",e)},handleMouseUp:function(e){this.disabled||this.$emit("mouseup",e)},handlePointerUp:function(e){this.disabled||this.$emit("pointerup",e)},handleFocus:function(e){this.disabled||this.$emit("focus",e)},handleBlur:function(e){this.disabled||this.$emit("blur",e)},handleKeypress:function(e){this.disabled||this.$emit("keypress",e)}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props,n=i.togglable,o=i.icon,s=i.iconClass,l=i.imageUrl,u=i.imageAlt,d=Object(r.getDefaultSlots)(this);return t("button",{class:this.buttonClasses,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.handleMouseDown,mouseup:this.handleMouseUp,pointerdown:this.handlePointerDown,pointerup:this.handlePointerUp,focus:this.handleFocus,blur:this.handleBlur,keypress:this.handleKeypress},onMousedown:this.handleMouseDown,onMouseup:this.handleMouseUp,onPointerdown:this.handlePointerDown,onPointerup:this.handlePointerUp,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeypress:this.handleKeypress,role:n?"checkbox":void 0,attrs:this.v3?void 0:{role:n?"checkbox":void 0,"aria-disabled":this.$props.disabled||void 0,"aria-checked":n?this.currentActive:void 0},"aria-disabled":this.$props.disabled||void 0,"aria-checked":n?this.currentActive:void 0},[function(){if(l)return t("img",{role:"presentation",attrs:this.v3?void 0:{role:"presentation",alt:u,src:l},class:"k-image",alt:u,src:l});if(o){var e=Object(r.classNames)("k-icon","k-button-icon","k-i-"+o);return t("span",{role:"presentation",attrs:this.v3?void 0:{role:"presentation"},class:e})}return s?t("span",{role:"presentation",attrs:this.v3?void 0:{role:"presentation"},class:s}):null}.call(this),d])}},d=u},function(e,t,i){"use strict";i.d(t,"c",(function(){return n})),i.d(t,"b",(function(){return r})),i.d(t,"a",(function(){return o}));var n=6e4,r=36e5,o=864e5},function(e,t,i){"use strict";var n;i.d(t,"a",(function(){return n})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(n||(n={}))},function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r}));var n=".k-dropdownlist > .k-button,.k-colorpicker > .k-button",r=["button:not(.k-dropdownlist > .k-button):not(.k-colorpicker > .k-button)",".k-button-group > button",".k-dropdownlist",".k-colorpicker"];t.a={styles:{button:"k-button",flat:"k-flat",outline:"k-outline",clear:"k-button-clear",primary:"k-primary","state-selected":"k-selected","button-icon":"k-button-icon","button-icontext":"k-button-icontext","state-disabled":"k-disabled","group-start":"k-group-start","group-end":"k-group-end","button-group":"k-button-group","button-group-stretched":"k-button-group-stretched",ltr:"k-ltr",rtl:"k-rtl"}}},function(e,t,i){"use strict";var n;i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return r})),function(e){e.next="next",e.prev="prev",e.current="current",e.reset="reset"}(n||(n={}));var r=function(e,t){var i=t.items.findIndex((function(t){return t===e}));switch(t.type){case n.next:return i===t.items.length-1?e:t.items[i+1];case n.prev:return 0===i?e:t.items[i-1];case n.current:return t.payload;case n.reset:return null;default:return e}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var n,r,o=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};!function(e){e.single="single",e.multiple="multiple",e.none="none"}(n||(n={})),function(e){e.toggle="toggle",e.remove="remove"}(r||(r={}));var s=function(e,t){switch(t.selection){case n.single:switch(t.type){case r.toggle:if(!Array.isArray(e)||null===e)return t.payload===e?null:t.payload;throw new Error("State cannot be an array in single selection");case r.remove:return t.payload===e?null:e;default:return e}case n.multiple:switch(t.type){case r.toggle:if(Array.isArray(e))return e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):o(e,[t.payload]);if(null===e)return[t.payload];throw new Error("State cannot be non-array in multiple selection");case r.remove:return Array.isArray(e)?e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):o(e,[t.payload]):e;default:return e}case n.none:return null;default:return e}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return p})),i.d(t,"b",(function(){return h}));var n=i(1),r=i(0),o=i(27),s=i(45),a=i(28),l=i(10),u=n,d=u.h,c=u.ref,h={name:"KendoVueChip",props:{id:String,text:String,value:[String,Object],type:String,dir:{type:String,default:function(){return"ltr"}},removable:{type:Boolean,default:!1},removeIcon:{type:String,default:function(){return"k-i-close-circle"}},disabled:{type:Boolean,default:!1},icon:String,selectedIcon:{type:String,default:function(){return"k-i-check"}},look:{type:String,default:function(){return"solid"}},size:{type:String,default:"medium"},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","outline","solid"].includes(e)}},themeColor:{type:String,default:"base",validator:function(e){return[null,"base","error","info","success","warning"].includes(e)}},dataItem:Object,selected:Boolean,ariaDescribedBy:String},emits:{click:null,keydown:null,blur:null,focus:null,remove:null},inject:{kendoSelection:{default:{value:null}},kendoFocused:{default:{value:null}},kendoDataItems:{default:null},handleDispatchDataItems:{default:r.noop},handleDispatchSelection:{default:r.noop},handleDispatchFocus:{default:r.noop}},created:function(){this.currentDir=void 0,Object(r.validatePackage)(l.a)},mounted:function(){this.chip=this.v3?this.chipRef:this.$refs.chip,this.currentDir=void 0!==this.$props.dir?"rtl"===this.$props.dir:this.$el&&"rtl"===getComputedStyle(this.$el).direction||!1},updated:function(){this.kendoFocused.value===this.$props.value&&this.$el&&this.$el.focus()},computed:{currentSelected:function(){var e=this;return this.$props.selected||(Array.isArray(this.kendoSelection.value)?this.kendoSelection.value.some((function(t){return t===e.$props.value})):this.kendoSelection.value===this.$props.value)}},methods:{computedFocused:function(){return this.kendoFocused.value===this.$props.value},handleClick:function(e){this.handleDispatchSelection&&this.handleDispatchSelection({type:a.a.toggle,payload:this.$props.value,event:e}),this.$emit("click",{target:this.target,event:e})},handleRemove:function(e){e.stopPropagation(),this.$props.removable&&(this.handleDispatchFocus&&(this.handleDispatchDataItems({type:s.a.remove,payload:this.$props.value,event:e}),this.handleDispatchFocus({type:o.a.reset,payload:this.$props.value,event:e}),this.handleDispatchSelection({type:a.a.remove,payload:this.$props.value,event:e})),this.$emit("remove",{target:this.target,event:e}))},handleKeyDown:function(e){switch(e.keyCode){case r.Keys.left:this.handleDispatchFocus&&this.handleDispatchFocus({type:o.a.prev,payload:this.$props.value,event:e});break;case r.Keys.right:this.handleDispatchFocus&&this.handleDispatchFocus({type:o.a.next,payload:this.$props.value,event:e});break;case r.Keys.enter:this.handleDispatchFocus&&this.handleDispatchSelection({type:a.a.toggle,payload:this.$props.value,event:e});break;case r.Keys.delete:this.handleRemove(e)}this.$emit("keydown",{target:this.target,event:e})},handleFocus:function(e){this.handleDispatchFocus&&this.handleDispatchFocus({payload:this.$props.value,type:o.a.current,event:e}),this.$emit("focus",{target:this.target,event:e})},handleBlur:function(e){this.$emit("blur",{target:this.target,event:e})}},setup:d?function(){return{v3:!!d,chipRef:c(null)}}:void 0,render:function(e){var t,i=this,n=d||e,o=this.$props,s=o.size,a=o.rounded,l=o.themeColor,u=o.fillMode,c=o.look,h=o.type;return n("div",{role:this.$props.role,attrs:this.v3?void 0:{role:this.$props.role,id:this.$props.value,dir:this.currentDir,tabIndex:Object(r.getTabIndex)(this.$props.tabIndex,this.$props.disabled,void 0),"aria-checked":this.currentSelected,"aria-disabled":this.$props.disabled,"aria-describedby":this.$props.ariaDescribedBy},id:this.$props.value,ref:this.v3?function(e){i.chipRef=e}:"chip",dir:this.currentDir,tabIndex:Object(r.getTabIndex)(this.$props.tabIndex,this.$props.disabled,void 0),class:Object(r.classNames)("k-chip",(t={"k-rtl":"rtl"===this.currentDir,"k-disabled":this.$props.disabled,"k-selected":this.currentSelected,"k-focus":this.computedFocused()},t["k-chip-"+(r.kendoThemeMaps.sizeMap[s]||s)]=s,t["k-rounded-"+(r.kendoThemeMaps.roundedMap[a]||a)]=a,t["k-chip-"+u]=u,t["k-chip-"+u+"-"+l]=Boolean(u&&l),t["k-chip-success"]="success"===h,t["k-chip-warning"]="warning"===h,t["k-chip-error"]="error"===h,t["k-chip-info"]="info"===h,t["k-chip-outline"]="outline"===c||"outlined"===c,t["k-chip-solid"]="solid"===c||"filled"===c,t)),"aria-checked":this.currentSelected,"aria-disabled":this.$props.disabled,"aria-describedby":this.$props.ariaDescribedBy,onFocus:this.handleFocus,on:this.v3?void 0:{focus:this.handleFocus,blur:this.handleBlur,click:this.handleClick,keydown:this.handleKeyDown},onBlur:this.handleBlur,onClick:this.handleClick,onKeydown:this.handleKeyDown},[this.currentSelected&&this.$props.selectedIcon&&n("span",{class:Object(r.classNames)("k-chip-icon","k-icon",this.$props.selectedIcon)}),this.$props.icon&&n("span",{class:Object(r.classNames)("k-chip-icon","k-icon",this.$props.icon)}),n("span",{class:"k-chip-content"},[this.$props.text&&n("span",{"aria-label":this.$props.text,attrs:this.v3?void 0:{"aria-label":this.$props.text},class:"k-chip-label"},[this.$props.text])]),this.$props.removable&&n("span",{class:Object(r.classNames)("k-chip-icon","k-icon",this.$props.removeIcon),onClick:this.handleRemove,on:this.v3?void 0:{click:this.handleRemove}})])}},p=h},function(e,t,i){"use strict";i.d(t,"a",(function(){return u})),i.d(t,"b",(function(){return l}));var n=i(1),r=i(0),o=n,s=o.h,a=o.ref,l={name:"KendoVueFloatingActionButtonItem",props:{disabled:Boolean,focused:Boolean,index:Number,icon:String,item:[String,Function,Object],dataItem:Object,text:String,tabIndex:Number,customProp:[String,Function,Object]},emits:{click:null,down:null},mounted:function(){this.element=this.v3?this.elementRef:this.$refs.element},computed:{itemClassNames:function(){return Object(r.classNames)("k-fab-item",{"k-state-focus":this.focused,"k-state-disabled":this.disabled})}},methods:{handleClick:function(e){void 0===this.$props.index||this.$props.disabled||this.$emit("click",e,this.$props.index)},focusElement:function(){this.$el&&this.$el.focus()},onDown:function(e){this.$emit("down",e)}},setup:s?function(){return{v3:!!s,elementRef:a(null)}}:void 0,render:function(e){var t=this,i=s||e,n=this.$props,o=n.disabled,a=n.id,l=n.tabIndex,u=n.dataItem,d=n.customProp,c=u.text,h=u.icon,p=i("li",{ref:this.v3?function(e){t.elementRef=e}:"element",id:a,attrs:this.v3?void 0:{id:a,role:"menuitem",tabIndex:Object(r.getTabIndex)(l,o),"aria-disabled":o,"aria-label":(c||"")+" floatingactionbutton item",customProp:d},class:this.itemClassNames,role:"menuitem",tabIndex:Object(r.getTabIndex)(l,o),"aria-disabled":o,"aria-label":(c||"")+" floatingactionbutton item",onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.onDown,pointerdown:this.onDown},onMousedown:this.onDown,onPointerdown:this.onDown,customProp:d},[c&&i("span",{class:"k-fab-item-text"},[c]),h&&i("span",{class:Object(r.classNames)("k-fab-item-icon k-icon k-i-"+h)})]);return r.getTemplate.call(this,{h:i,template:this.$props.item,defaultRendering:p,additionalProps:this.$props,additionalListeners:{click:this.handleClick}})}},u=l},function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return s}));var n=i(1),r=i(0),o=n.h,s={name:"KendoToolbarItem",methods:{element:function(){return this.$el}},setup:o?function(){return{v3:!!o}}:void 0,render:function(e){return(o||e)("span",[Object(r.getDefaultSlots)(this)])}},a=s},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t},a=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.multiDayViewDateRange=t.MultiDayViewVue2=t.MultiDayView=t.GRID_OFFSET=void 0;var l=s(i(1)),u=l.h,d=(l.inject,i(5)),c=i(33),h=i(58),p=i(107),f=i(34),m=i(108),v=i(109),g=i(110),y=i(111),b=i(112),k=i(7),S=i(2),w=i(14),D=i(36),I=i(21),C=i(40),T=i(59),O=i(114);t.GRID_OFFSET=1;var E={name:"KendoMultiDayView",props:{name:{type:String,default:"multi-day"},title:{type:String,default:"Multi Day"},currentTimeMarker:{type:Boolean,default:!0},dateRange:{type:[Function,Object],default:function(){return $}},numberOfDays:{type:Number,default:1},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"23:59"},workDayStart:{type:String,default:"08:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:d.Day.Monday},workWeekEnd:{type:Number,default:d.Day.Friday},step:{type:Number,default:1},slotDivisions:{type:Number,default:2},slotDuration:{type:Number,default:60},showWorkHours:{type:Boolean,default:!0},selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},defaultShowWorkHours:{type:Boolean,default:!0},timeHeaderCell:String},inject:{kendoIntlService:{default:null},ks:{default:null}},computed:{viewStart:function(){this.intl=S.provideIntlService(this);var e=this.intl.parseDate(this.$props.workDayStart),t=this.intl.parseDate(this.$props.startTime);return(void 0!==this.ks.showWorkHours?this.ks.showWorkHours:this.showWorkHours)?e:t},viewEnd:function(){this.intl=S.provideIntlService(this);var e=this.intl.parseDate(this.$props.workDayEnd),t=this.intl.parseDate(this.$props.endTime);return(void 0!==this.ks.showWorkHours?this.ks.showWorkHours:this.showWorkHours)?e:t},dayRanges:function(){return D.toRanges(this.ks.dateRange,{step:d.MS_PER_DAY*this.numberOfDays,timezone:this.ks.timezone}).map((function(e){return n(n({},e),{isAllDay:!0})}))},timeRanges:function(){return D.toRanges(this.ks.dateRange,{step:d.MS_PER_DAY,timezone:this.ks.timezone}).map((function(e){return n(n({},e),{isAllDay:!1})}))},daySlots:function(){return D.toSlots(this.ks.dateRange,{step:d.MS_PER_DAY},{groups:this.ks.groups,ranges:this.dayRanges})},timeSlots:function(){var e=this;return D.toSlots(this.ks.dateRange,{step:this.slotDuration*w.MS_PER_MINUTE/this.slotDivisions},{groups:this.ks.groups,ranges:this.timeRanges}).filter((function(t){return e.viewEnd.getTime()===e.viewStart.getTime()||k.isInTimeRange(t.zonedStart,e.viewStart,e.viewEnd)}))},occurrences:function(){return D.toOccurrences(this.ks.dataItems,{dateRange:this.ks.dateRange,fields:this.ks.fields,timezone:this.ks.timezone})},dayOccurrences:function(){return this.occurrences.filter((function(e){return e.isAllDay}))},timeOccurrences:function(){return this.occurrences.filter((function(e){return!e.isAllDay}))},dayItems:function(){var e=D.toItems(this.dayOccurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.dayRanges});return k.mapItemsToSlots(e,this.daySlots,!1),k.mapSlotsToItems(e,this.daySlots,!1),e},timeItems:function(){var e=this,t=D.toItems(this.timeOccurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.timeRanges}).filter((function(t){return e.viewStart.getTime()===e.viewEnd.getTime()||k.isInTimeRange(t.zonedStart,e.viewStart,e.viewEnd)||k.isInTimeRange(t.zonedEnd,e.viewStart,e.viewEnd)||k.isInTimeRange(new Date(t.zonedEnd.getTime()-(t.zonedEnd.getTime()-t.zonedStart.getTime())/2),e.viewStart,e.viewEnd)}));return k.mapItemsToSlots(t,this.timeSlots,!1),k.mapSlotsToItems(t,this.timeSlots,!1),t}},created:function(){this.intl=S.provideIntlService(this)},beforeUpdate:function(){this.intl=S.provideIntlService(this)},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var i=this,n=this,r=u||e;this.intl=S.provideIntlService(this);var o=this.$props.editItem||C.SchedulerEditItem,s=this.$props.editSlot||I.SchedulerEditSlot,l=(this.$props.showWorkHours,this.$props.numberOfDays),d=this.$props.slotDivisions,w=(this.$props.slotDuration,this.$props.workWeekStart),D=this.$props.workWeekEnd,E=this.intl.parseDate(this.$props.workDayStart),$=this.intl.parseDate(this.$props.workDayEnd),x=this.dayItems,M=this.timeItems,R=this.daySlots,_=this.timeSlots;return r(c.BaseView,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,props:this.$props,ranges:a(this.dayRanges,this.timeRanges),baseSlots:a(R,_)},props:this.$props,class:"k-scheduler-day-view",ranges:a(this.dayRanges,this.timeRanges),baseSlots:a(R,_)},this.v3?function(){return[r("div",{class:"k-scheduler-head"},["horizontal"===i.ks.orientation?[r(h.HorizontalResourceIterator,{nested:!0,attrs:i.v3?void 0:{nested:!0,group:i.ks.props.group,resources:i.ks.props.resources,rowContent:p.DayViewGroupRowContent,childRowContent:p.DayViewGroupRowContent},group:i.ks.props.group,resources:i.ks.props.resources,rowContent:p.DayViewGroupRowContent,childRowContent:p.DayViewGroupRowContent},i.v3?function(){return[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})]}:[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})]),r(h.HorizontalResourceIterator,{group:i.ks.props.group,attrs:i.v3?void 0:{group:i.ks.props.group,resources:i.ks.props.resources,rowContent:m.DayViewAllDayRowContent,childRowContent:m.DayViewAllDayRowContent},resources:i.ks.props.resources,rowContent:m.DayViewAllDayRowContent,childRowContent:m.DayViewAllDayRowContent},i.v3?function(){return[r(b.DayViewAllDaySlots,{dayRanges:i.dayRanges,attrs:i.v3?void 0:{dayRanges:i.dayRanges,daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D},daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]}:[r(b.DayViewAllDaySlots,{dayRanges:i.dayRanges,attrs:i.v3?void 0:{dayRanges:i.dayRanges,daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D},daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]),x.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,form:this.$props.form,item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,vertical:!1})}),i)]:r(f.VerticalResourceIterator,{group:i.ks.props.group,attrs:i.v3?void 0:{group:i.ks.props.group,resources:i.ks.props.resources,emptyCell:!0},resources:i.ks.props.resources,emptyCell:!0},[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})])]),r("div",{class:"k-scheduler-body"},["horizontal"===i.ks.orientation?[_.filter((function(e){return 0===e.group.index&&0===e.range.index})).map((function(e,t){var i=this;return r(h.HorizontalResourceIterator,{key:e.index,nested:!1,attrs:this.v3?void 0:{nested:!1,group:this.ks.props.group,resources:this.ks.props.resources,rowContent:v.DayViewRowContent,rowContentProps:{timeHeaderCell:this.$props.timeHeaderCell,isMaster:t%d==0,isLast:(t+1)%d==0,contentSlot:e}},group:this.ks.props.group,resources:this.ks.props.resources,rowContent:v.DayViewRowContent,rowContentProps:{timeHeaderCell:this.$props.timeHeaderCell,isMaster:t%d==0,isLast:(t+1)%d==0,contentSlot:e}},this.v3?function(){return[r(g.DayViewMiddleRow,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:E,workDayEnd:$,workWeekStart:w,workWeekEnd:D},timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:E,workDayEnd:$,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]}:[r(g.DayViewMiddleRow,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:E,workDayEnd:$,workWeekStart:w,workWeekEnd:D},timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:E,workDayEnd:$,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})])}),i),i.$props.currentTimeMarker&&k.intersects(k.first(i.timeRanges).start,k.last(i.timeRanges).end,new Date,new Date,!0)&&r(O.CurrentTimeMarker)]:[r(f.VerticalResourceIterator,{nested:!0,attrs:i.v3?void 0:{nested:!0,group:i.ks.props.group,resources:i.ks.props.resources},group:i.ks.props.group,resources:i.ks.props.resources},[r(T.SchedulerResourceIteratorContext.Consumer,[function(e){var i=e.groupIndex;return[r("div",{class:"k-scheduler-row"},[r(m.DayViewAllDayRowContent,{groupIndex:i,attrs:this.v3?void 0:{groupIndex:i}}),n.dayRanges.map((function(e,n){var o=_.filter((function(e){return e.group.index===i&&0===e.range.index})).length;return R.filter((function(e){return e.group.index===i&&e.range.index===n})).map((function(e,n){return r(s,{renderSlot:this.$props.slot,attrs:this.v3?void 0:{renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,row:o*(i||0)+(i||0)*t.GRID_OFFSET,col:n,expandable:!0},viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},key:e.start.getTime()+":"+e.group.index,class:"k-scheduler-alldays-slot",row:o*(i||0)+(i||0)*t.GRID_OFFSET,col:n,expandable:!0})}),this)}),n)]),_.filter((function(e){return e.group.index===i&&0===e.range.index})).map((function(e,n,o){return r("div",{class:"k-scheduler-row",key:e.index},[r(v.DayViewRowContent,{contentSlot:e,attrs:this.v3?void 0:{contentSlot:e,isMaster:n%d==0,isLast:(n+1)%d==0,timeHeaderCell:this.$props.timeHeaderCell},isMaster:n%d==0,isLast:(n+1)%d==0,timeHeaderCell:this.$props.timeHeaderCell}),this.timeRanges.map((function(a,u){return _.filter((function(t){return t.index===e.index&&t.group.index===i&&t.range.index===u})).map((function(e){return r(s,{renderSlot:this.$props.slot,attrs:this.v3?void 0:{renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,row:o.length*(i||0)+n+(i||0)*t.GRID_OFFSET+t.GRID_OFFSET,col:u,editable:this.$props.editable,isWorkHour:k.isInTimeRange(e.zonedStart,E,$),isWorkDay:0<=e.zonedStart.getDay()+(l-w)&&(e.zonedStart.getDay()+(l-w))%l<=D+(l-w)},viewSlot:this.$props.viewSlot,form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,key:e.start.getTime()+":"+e.group.index,row:o.length*(i||0)+n+(i||0)*t.GRID_OFFSET+t.GRID_OFFSET,col:u,editable:this.$props.editable,isWorkHour:k.isInTimeRange(e.zonedStart,E,$),isWorkDay:0<=e.zonedStart.getDay()+(l-w)&&(e.zonedStart.getDay()+(l-w))%l<=D+(l-w)})}),!0)}),this)])}),n),n.$props.currentTimeMarker&&k.intersects(k.first(n.timeRanges).start,k.last(n.timeRanges).end,new Date,new Date,!0)&&r(O.CurrentTimeMarker,{groupIndex:i,attrs:this.v3?void 0:{groupIndex:i}})]}])]),x.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+" : "+e.range.index+" : "+e.originalStart:e.uid+":"+e.group.index+" : "+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!1})}),i)],M.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!0},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!0})}),i)])]}:[r("div",{class:"k-scheduler-head"},["horizontal"===i.ks.orientation?[r(h.HorizontalResourceIterator,{nested:!0,attrs:i.v3?void 0:{nested:!0,group:i.ks.props.group,resources:i.ks.props.resources,rowContent:p.DayViewGroupRowContent,childRowContent:p.DayViewGroupRowContent},group:i.ks.props.group,resources:i.ks.props.resources,rowContent:p.DayViewGroupRowContent,childRowContent:p.DayViewGroupRowContent},i.v3?function(){return[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})]}:[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})]),r(h.HorizontalResourceIterator,{group:i.ks.props.group,attrs:i.v3?void 0:{group:i.ks.props.group,resources:i.ks.props.resources,rowContent:m.DayViewAllDayRowContent,childRowContent:m.DayViewAllDayRowContent},resources:i.ks.props.resources,rowContent:m.DayViewAllDayRowContent,childRowContent:m.DayViewAllDayRowContent},i.v3?function(){return[r(b.DayViewAllDaySlots,{dayRanges:i.dayRanges,attrs:i.v3?void 0:{dayRanges:i.dayRanges,daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D},daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]}:[r(b.DayViewAllDaySlots,{dayRanges:i.dayRanges,attrs:i.v3?void 0:{dayRanges:i.dayRanges,daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D},daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]),x.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,form:this.$props.form,item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,vertical:!1})}),i)]:r(f.VerticalResourceIterator,{group:i.ks.props.group,attrs:i.v3?void 0:{group:i.ks.props.group,resources:i.ks.props.resources,emptyCell:!0},resources:i.ks.props.resources,emptyCell:!0},[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})])]),r("div",{class:"k-scheduler-body"},["horizontal"===i.ks.orientation?[_.filter((function(e){return 0===e.group.index&&0===e.range.index})).map((function(e,t){var i=this;return r(h.HorizontalResourceIterator,{key:e.index,nested:!1,attrs:this.v3?void 0:{nested:!1,group:this.ks.props.group,resources:this.ks.props.resources,rowContent:v.DayViewRowContent,rowContentProps:{timeHeaderCell:this.$props.timeHeaderCell,isMaster:t%d==0,isLast:(t+1)%d==0,contentSlot:e}},group:this.ks.props.group,resources:this.ks.props.resources,rowContent:v.DayViewRowContent,rowContentProps:{timeHeaderCell:this.$props.timeHeaderCell,isMaster:t%d==0,isLast:(t+1)%d==0,contentSlot:e}},this.v3?function(){return[r(g.DayViewMiddleRow,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:E,workDayEnd:$,workWeekStart:w,workWeekEnd:D},timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:E,workDayEnd:$,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]}:[r(g.DayViewMiddleRow,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:E,workDayEnd:$,workWeekStart:w,workWeekEnd:D},timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:E,workDayEnd:$,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})])}),i),i.$props.currentTimeMarker&&k.intersects(k.first(i.timeRanges).start,k.last(i.timeRanges).end,new Date,new Date,!0)&&r(O.CurrentTimeMarker)]:[r(f.VerticalResourceIterator,{nested:!0,attrs:i.v3?void 0:{nested:!0,group:i.ks.props.group,resources:i.ks.props.resources},group:i.ks.props.group,resources:i.ks.props.resources},[r(T.SchedulerResourceIteratorContext.Consumer,[function(e){var i=e.groupIndex;return[r("div",{class:"k-scheduler-row"},[r(m.DayViewAllDayRowContent,{groupIndex:i,attrs:this.v3?void 0:{groupIndex:i}}),n.dayRanges.map((function(e,n){var o=_.filter((function(e){return e.group.index===i&&0===e.range.index})).length;return R.filter((function(e){return e.group.index===i&&e.range.index===n})).map((function(e,n){return r(s,{renderSlot:this.$props.slot,attrs:this.v3?void 0:{renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,row:o*(i||0)+(i||0)*t.GRID_OFFSET,col:n,expandable:!0},viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},key:e.start.getTime()+":"+e.group.index,class:"k-scheduler-alldays-slot",row:o*(i||0)+(i||0)*t.GRID_OFFSET,col:n,expandable:!0})}),this)}),n)]),_.filter((function(e){return e.group.index===i&&0===e.range.index})).map((function(e,n,o){return r("div",{class:"k-scheduler-row",key:e.index},[r(v.DayViewRowContent,{contentSlot:e,attrs:this.v3?void 0:{contentSlot:e,isMaster:n%d==0,isLast:(n+1)%d==0,timeHeaderCell:this.$props.timeHeaderCell},isMaster:n%d==0,isLast:(n+1)%d==0,timeHeaderCell:this.$props.timeHeaderCell}),this.timeRanges.map((function(a,u){return _.filter((function(t){return t.index===e.index&&t.group.index===i&&t.range.index===u})).map((function(e){return r(s,{renderSlot:this.$props.slot,attrs:this.v3?void 0:{renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,row:o.length*(i||0)+n+(i||0)*t.GRID_OFFSET+t.GRID_OFFSET,col:u,editable:this.$props.editable,isWorkHour:k.isInTimeRange(e.zonedStart,E,$),isWorkDay:0<=e.zonedStart.getDay()+(l-w)&&(e.zonedStart.getDay()+(l-w))%l<=D+(l-w)},viewSlot:this.$props.viewSlot,form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,key:e.start.getTime()+":"+e.group.index,row:o.length*(i||0)+n+(i||0)*t.GRID_OFFSET+t.GRID_OFFSET,col:u,editable:this.$props.editable,isWorkHour:k.isInTimeRange(e.zonedStart,E,$),isWorkDay:0<=e.zonedStart.getDay()+(l-w)&&(e.zonedStart.getDay()+(l-w))%l<=D+(l-w)})}),!0)}),this)])}),n),n.$props.currentTimeMarker&&k.intersects(k.first(n.timeRanges).start,k.last(n.timeRanges).end,new Date,new Date,!0)&&r(O.CurrentTimeMarker,{groupIndex:i,attrs:this.v3?void 0:{groupIndex:i}})]}])]),x.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+" : "+e.range.index+" : "+e.originalStart:e.uid+":"+e.group.index+" : "+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!1})}),i)],M.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!0},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!0})}),i)])])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.MultiDayViewVue2=E;var $=function(e){var t=e.date,i=e.numberOfDays,n=void 0===i?1:i,r=e.timezone,o=d.ZonedDate.fromLocalDate(t,r),s=d.getDate(o),a=d.addDays(s,n),l=d.ZonedDate.fromUTCDate(k.toUTCDateTime(s),r),u=d.ZonedDate.fromUTCDate(k.toUTCDateTime(a),r);return{start:new Date(l.getTime()),end:new Date(u.getTime()),zonedStart:l,zonedEnd:u}};t.multiDayViewDateRange=$;var x=E;t.MultiDayView=x},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseViewVue2=t.BaseView=void 0;var s=o(i(1)).h,a=i(18),l=i(56),u=i(57),d=i(0),c=i(7),h={name:"KendoBaseView",setup:s?function(){return{v3:!!s}}:void 0,props:{props:Object,baseSlots:Array,ranges:Array,id:String},provide:function(){return{bv:this.bv,setItems:this.dispatchItems,setSlots:this.dispatchSlots,setSelectedSlots:u.dispatchSelectedSlots,setSelectedItems:l.dispatchSelectedItems,setFocusedItems:a.dispatchFocusedItems,setFocusedSlots:a.dispatchFocusedSlots}},data:function(){return{bv:{props:this.props,ranges:this.ranges,items:[],slots:[],focusedItems:[],focusedSlots:[],selectedItems:[],selectedSlots:[]}}},mounted:function(){this.syncCells()},updated:function(){this.syncCells()},render:function(e){var t=s||e,i=d.getDefaultSlots(this);return t("div",{class:"k-scheduler-layout k-scheduler-layout-flex",role:"presentation",attrs:this.v3?void 0:{role:"presentation"}},[i])},methods:{syncCells:function(){a.useCellSync({element:this.$el,selector:".k-group-cell",attribute:"data-depth-index",explicitDepth:!0}),a.useCellSync({element:this.$el,selector:".k-side-cell",attribute:"data-depth-index",explicitDepth:!1})},handleSchedulerItemsSelectAction:function(e,t){this.dispatchSelectedSlots({type:u.SLOTS_SELECT_ACTION.reset}),this.dispatchSelectedItems(e,t)},handleSchedulerSlotsSelectAction:function(e,t){this.dispatchSelectedItems({type:l.ITEMS_SELECT_ACTION.reset},t),this.dispatchSelectedSlots(e)},dispatchSelectedSlots:u.dispatchSelectedSlots,dispatchSelectedItems:l.dispatchSelectedItems,dispatchFocusedItems:a.dispatchFocusedItems,dispatchFocusedSlots:a.dispatchFocusedSlots,dispatchItems:function(e){switch(e.type){case c.COLLECTION_ACTION.add:this.bv.items.push(e.item);break;case c.COLLECTION_ACTION.remove:var t=this.bv.items.indexOf(e.item);this.bv.items.splice(t,1)}},dispatchSlots:function(e){switch(e.type){case c.COLLECTION_ACTION.add:this.bv.slots.push(e.item);break;case c.COLLECTION_ACTION.remove:var t=this.bv.slots.indexOf(e.item);this.bv.slots.splice(t,1)}}}};t.BaseViewVue2=h;var p=h;t.BaseView=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.VerticalResourceIteratorVue2=t.VerticalResourceIterator=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(20)),u=i(59),d=i(0),c={name:"KendoVerticalResourceIterator",props:{group:Object,resources:Array,nested:Boolean,wrapGroup:Boolean,cellContent:Object,emptyCell:Boolean},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=d.getDefaultSlots(this),n=this.$props,r=n.nested,o=n.wrapGroup,s=this.$props.cellContent||h,c=l.toGroupResources(this.$props.group,this.$props.resources),p=function e(i,n){void 0===n&&(n=!0);var r=i.children,o=i.resources.length>0;if(i.depth===i.resources.length||!o)return t(u.SchedulerResourceIteratorContext,{resource:i.resources[i.depth],attrs:this.v3?void 0:{resource:i.resources[i.depth],groupIndex:o?i.groupIndex:0},groupIndex:o?i.groupIndex:0},this.v3?function(){return[r]}:[r]);var s=i.resources[i.depth].data.length;return i.resources[i.depth].data.map((function(o,a){return t("div",{key:a,class:"k-scheduler-row"},[n&&t("div",{class:"k-scheduler-cell k-group-cell k-heading-cell","data-depth-index":i.depth,attrs:this.v3?void 0:{"data-depth-index":i.depth}},[o.text]),t("div",{class:"k-scheduler-cell k-group-content k-resource-row","data-depth-index":i.depth,attrs:this.v3?void 0:{"data-depth-index":i.depth,"data-resource-index":s*i.groupIndex+a},"data-resource-index":s*i.groupIndex+a},[e.call(this,{resources:i.resources,children:r,cellContent:i.cellContent,groupIndex:s*i.groupIndex+a,depth:i.depth+1},n)])])}),this)},f=function(e,i,n){var r=i.length>0;return t("div",{class:"k-scheduler-cell k-group-content"},[t(u.SchedulerResourceIteratorContext,{resource:i[n],attrs:this.v3?void 0:{resource:i[n],groupIndex:r?n:void 0},groupIndex:r?n:void 0},this.v3?function(){return[e]}:[e])])},m=function(e){return e.map((function(e,i){return t("div",{key:i,class:"k-scheduler-cell k-group-cell k-heading-cell","data-depth-index":i,attrs:this.v3?void 0:{"data-depth-index":i}})}),this)};return t("div",{class:"k-scheduler-group"},[r?o?t("div",{class:"k-scheduler-row"},[t("div",{class:"k-sticky-cell"},[function e(i){var n=this,r=i.children,o=i.resources.length?i.resources[i.depth].data.length:0;return i.resources[i.depth]?i.resources[i.depth].data.map((function(s,a){return t("div",{key:a,class:"k-scheduler-row"},[t("div",{class:"k-scheduler-cell k-resource-cell k-resource-row k-heading-cell","data-depth-index":i.depth,attrs:this.v3?void 0:{"data-depth-index":i.depth,"data-resource-index":o*i.groupIndex+a},"data-resource-index":o*i.groupIndex+a},[s.text]),i.depth+1!==c.length&&t("div",{class:"k-scheduler-cell k-resource-content"},[e.call(n,{resources:c,children:r,cellContent:i.cellContent,groupIndex:o*i.groupIndex+a,depth:i.depth+1})])])})):null}.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0})]),t("div",{class:"k-scheduler-cell k-group-content"},[p.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0},!1)])]):p.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0},!0):o?t("div",{class:"k-scheduler-row"},[t("div",{class:"k-sticky-cell"},[function(e){return t("div",{class:"k-scheduler-row"},[t("div",{class:"k-scheduler-row"},[e.resources.map((function(e,i){return t("div",{key:i,class:"k-scheduler-cell k-resource-cell k-heading-cell","data-depth-index":i,attrs:this.v3?void 0:{"data-depth-index":i}})}),this)])])}.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0})]),t("div",{class:"k-scheduler-cell k-group-content"},[i])]):function(e){var i=e.children;return t("div",{class:"k-scheduler-row"},[m.call(this,e.resources),this.emptyCell&&t("div",{class:"k-scheduler-cell k-side-cell"}),f.call(this,i,e.resources,e.groupIndex)])}.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0})])}};t.VerticalResourceIteratorVue2=c;var h=null,p=c;t.VerticalResourceIterator=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DateHeaderCellVue2=t.DateHeaderCell=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(2),d={name:"KendoDateHeaderCell",props:{as:[String,Function,Object],format:{type:[String,Object],default:"d"},date:[Date,Object],start:Date,end:Date},inject:{kendoIntlService:{default:null}},setup:a?function(){return{v3:!!a,kendoIntlService:l("kendoIntlService",{})}}:void 0,render:function(e){var t=a||e;return t("div",{class:"k-scheduler-cell k-heading-cell"},[t("span",{class:"k-link k-nav-day"},[u.provideIntlService(this).formatDate(this.$props.date,this.$props.format)])])}};t.DateHeaderCellVue2=d;var c=d;t.DateHeaderCell=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=function(e,t){for(var i in e)"default"===i||t.hasOwnProperty(i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(37),t),r(i(61),t),r(i(38),t),r(i(39),t)},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.inRange=t.inSlot=t.inGroup=t.toItems=void 0;var r=i(7),o=i(88),s=i(5);t.toItems=function(e,i,r){var l=i.timezone,u=r.groups,d=r.ranges,c=[];return o.orderBy(e,[{field:"start",dir:"asc"},{field:"end",dir:"desc"},{field:"isAllDay",dir:"desc"}]).forEach((function(e){u.forEach((function(i){var r=1===u.length?a(e,i):i;t.inGroup(e,r)&&d.forEach((function(i){if(t.inRange(e,i)){var o=i.end<e.end,a=e.start<i.start,u=s.ZonedDate.fromLocalDate(e.start,l),d=s.ZonedDate.fromLocalDate(e.end,l),h=n(n({},e),{refTo:{},itemRef:{},head:o,tail:a,order:null,zonedStart:u,zonedEnd:d,group:r,range:i,slots:[],isRecurring:Boolean(e.recurrenceRule),isException:Boolean(!e.recurrenceRule&&null!==e.recurrenceId&&void 0!==e.recurrenceId),isAllDay:Boolean(e.isAllDay)});c.push(h)}}))}))})),c};var a=function(e,t){return{index:0,resources:t.resources.filter((function(t){return l(e,t)}))}},l=function(e,t){return t.multiple?(e.dataItem[t.field]||[]).some((function(e){return t[t.valueField]===e})):e.dataItem[t.field]===t[t.valueField]};t.inGroup=function(e,t){return!t.resources.some((function(t){return t.multiple?!e.dataItem[t.field].some((function(e){return t[t.valueField]===e})):e.dataItem[t.field]!==t[t.valueField]}))},t.inSlot=function(e,t){return r.intersects(t.start,t.end,e.start,e.end)},t.inRange=function(e,t){return r.intersects(t.start,t.end,e.start,e.end)&&(void 0===t.isAllDay||void 0===e.isAllDay||e.isAllDay===t.isAllDay)}},function(e,t,i){"use strict";var n=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.toOccurrences=void 0;var r=i(0),o=i(134),s=i(5),a=i(7);t.toOccurrences=function(e,t){var i=t.dateRange,n=t.fields,r=t.timezone;return e.map(l(n)).reduce(u(i,r,n),[]).filter((function(e){return!a.isMaster(e.dataItem,n)}))};var l=function(e){return function(t){return{uid:r.getter(e.id||"id")(t),start:r.getter(e.start||"start")(t),startTimezone:r.getter(e.startTimezone||"startTimezone")(t),originalStart:r.getter(e.originalStart||"originalStart")(t),end:r.getter(e.end||"end")(t),endTimezone:r.getter(e.endTimezone||"endTimezone")(t),isAllDay:r.getter(e.isAllDay||"isAllDay")(t),title:r.getter(e.title||"title")(t),description:r.getter(e.description||"description")(t),occurrenceId:r.getter("occurrenceId")(t),recurrenceRule:r.getter(e.recurrenceRule||"recurrenceRule")(t),recurrenceExceptions:r.getter(e.recurrenceExceptions||"recurrenceExceptions")(t),recurrenceId:r.getter(e.recurrenceId||"recurrenceId")(t),dataItem:r.clone(t)}}},u=function(e,t,i){return function(r,o){return n(r,Boolean(o.recurrenceRule)&&Boolean(null===o.recurrenceId||void 0===o.recurrenceId)&&a.isMaster(o.dataItem,i)?n(d(o,{dateRange:e,timezone:t,fields:i})):[o])}},d=function(e,t){var i=t.dateRange,n=t.timezone,l=t.fields,u=e.recurrenceRule,d=o.parseRule({recurrenceRule:u});d.start||(d.start=s.ZonedDate.fromLocalDate(e.start,n)),d.end||(d.end=s.ZonedDate.fromLocalDate(e.end,n));var c=e.recurrenceExceptions;c&&(d.exceptionDates=c.map((function(e){return s.ZonedDate.fromLocalDate(e,n)})));var h=i.zonedStart,p=i.zonedEnd,f=o.expand(d,{rangeStart:s.ZonedDate.fromUTCDate(h,n),rangeEnd:s.ZonedDate.fromUTCDate(p,n)});return f.events.length?f.events.map((function(t,i){var n=r.clone(e),o=r.clone(e.dataItem);return n.recurrenceId=n.uid,a.setField(o,l.recurrenceId,e.uid),n.originalStart=t.start.toLocalDate(),a.setField(o,l.originalStart,t.start.toLocalDate()),n.start=t.start.toLocalDate(),a.setField(o,l.start,t.start.toLocalDate()),n.end=t.end.toLocalDate(),a.setField(o,l.end,t.end.toLocalDate()),n.occurrenceId=String(i),a.setField(o,"occurrenceId",String(i)),n.dataItem=o,n})):[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toRanges=void 0;var n=i(5);t.toRanges=function(e,t){for(var i=t.step,r=t.timezone,o=[],s=n.ZonedDate.fromLocalDate(e.start,r),a=n.ZonedDate.fromLocalDate(e.end,r),l=s.clone(),u=0;l.getTime()<a.getTime();u++,l=l.addTime(i)){var d=l.clone(),c=d.clone().addTime(i),h=new Date(d.getTime()),p={index:u,end:new Date(c.getTime()),start:h,zonedStart:d,zonedEnd:c};o.push(p)}return o}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerEditItemVue2=t.SchedulerEditItem=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(0)),u=i(41),d=i(18),c=i(113),h=i(77),p=i(78),f=i(79),m=i(80),v=i(81),g=i(82),y=i(56),b={name:"KendoSchedulerEditItem",props:{tabIndex:Number,viewItem:[String,Function,Object],drag:[String,Function,Object],resize:[String,Function,Object],form:[String,Function,Object],removeDialog:[String,Function,Object],occurrenceDialog:[String,Function,Object],formItem:Object,dragItem:Object,resizeItem:Object,removeItem:Object,showOccurrenceDialog:Boolean,showRemoveDialog:Boolean,series:Boolean,uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,isAllDay:Boolean,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,id:String,className:String,itemStyle:Object,editable:[Object,Boolean],selected:Boolean,vertical:Boolean,dragHint:Boolean,resizeHint:Boolean,format:String,ignoreIsAllDay:Boolean},inject:{bv:{default:null}},provide:function(){return{ei:this.ei}},data:function(){return{ei:{props:this.$props,form:this.$props.formItem,drag:this.drag,resize:this.resize,remove:this.remove,showRemoveDialog:this.showRemoveDialog,showOccurrenceDialog:this.showOccurrenceDialog},currentTabIndex:this.$props.tabIndex,item:null}},computed:{currentState:function(){return{selected:this.selected,series:this.series,formItem:this.formItem,dragItem:this.dragItem,resizeItem:this.resizeItem,removeItem:this.removeItem,showRemoveDialog:this.showRemoveDialog,showOccurrenceDialog:this.showOccurrenceDialog}},actionsReducerMap:function(){var e;return(e={})[g.SERIES_ACTION.set]=this.dispatchSeries,e[g.SERIES_ACTION.toggle]=this.dispatchSeries,e[g.SERIES_ACTION.reset]=this.dispatchSeries,e[y.ITEMS_SELECT_ACTION.select]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.add]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.remove]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.reset]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.selectNext]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.selectPrev]=this.dispatchItemSelection,e[c.FORM_ITEM_ACTION.set]=this.dispatchFormItem,e[c.FORM_ITEM_ACTION.setMaster]=this.dispatchFormItem,e[c.FORM_ITEM_ACTION.reset]=this.dispatchFormItem,e[c.FORM_ITEM_ACTION.complete]=this.dispatchFormItem,e[p.REMOVE_ITEM_ACTION.set]=this.dispatchRemoveItem,e[p.REMOVE_ITEM_ACTION.reset]=this.dispatchRemoveItem,e[p.REMOVE_ITEM_ACTION.complete]=this.dispatchRemoveItem,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.close]=this.dispatchShowOccurrenceDialog,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.open]=this.dispatchShowOccurrenceDialog,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.set]=this.dispatchShowOccurrenceDialog,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.toggle]=this.dispatchShowOccurrenceDialog,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.reset]=this.dispatchShowOccurrenceDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.close]=this.dispatchShowRemoveDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.open]=this.dispatchShowRemoveDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.set]=this.dispatchShowRemoveDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.toggle]=this.dispatchShowRemoveDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.reset]=this.dispatchShowRemoveDialog,e[m.DRAG_ITEM_ACTION.start]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.drag]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.complete]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.completeOccurrence]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.completeSeries]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.set]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.reset]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.dragSelected]=this.dispatchDragItem,e[v.RESIZE_ITEM_ACTION.start]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.startDrag]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.startDragSelected]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.endDrag]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.endDragSelected]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.complete]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.completeOccurrence]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.completeSeries]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.set]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.reset]=this.dispatchResizeItem,e[d.ITEMS_FOCUS_ACTION.next]=this.dispatchViewItemsFocus,e[d.ITEMS_FOCUS_ACTION.prev]=this.dispatchViewItemsFocus,e[d.SLOTS_FOCUS_ACTION.left]=this.dispatchViewSlotsFocus,e[d.SLOTS_FOCUS_ACTION.right]=this.dispatchViewSlotsFocus,e[d.SLOTS_FOCUS_ACTION.up]=this.dispatchViewSlotsFocus,e[d.SLOTS_FOCUS_ACTION.down]=this.dispatchViewSlotsFocus,e.null=function(){},e}},updated:function(){var e=this.bv.items.length&&this.bv.items[0]===this.item;this.currentTabindex=void 0!==this.$props.tabIndex?null===this.$props.tabIndex?void 0:this.$props.tabIndex:0===this.bv.selectedItems.length&&e?0:void 0},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e,n=this.$props,r=n.onDataaction,o=(n.ignoreIsAllDay,n.viewItem,n.series),s=n.onSeriesChange,l=(n.form,n.formItem),y=n.onFormItemChange,b=(n.drag,n.dragItem),k=n.onDragItemChange,S=(n.resize,n.resizeItem),w=n.onResizeItemChange,D=(n.removeDialog,n.removeItem),I=n.onRemoveItemChange,C=(n.occurrenceDialog,n.showOccurrenceDialog),T=n.onShowOccurrenceDialogChange,O=n.showRemoveDialog,E=n.onShowRemoveDialogChange,$=(d.useEditable(this.$props.editable),g.useSeries(null,o,s)),x=$[0],M=($[1],c.useFormItem({series:x,onDataaction:r},[null,l,y])),R=(M[0],M[1],M[2],m.useDragItem({dataItem:this.$props.dataItem,ignoreIsAllDay:this.$props.ignoreIsAllDay,isAllDay:this.$props.isAllDay,onDataaction:r},[null,b,k])),_=(R[0],R[1],R[2],v.useResizeItem({dataItem:this.$props.dataItem,onDataaction:r},[null,S,w])),F=(_[0],_[1],_[2],p.useRemoveItem({series:x,onDataaction:r},[null,D,I])),A=(F[0],F[1],F[2],f.useShowRemoveDialog(!1,O,E)),z=(A[0],A[1],A[2],h.useShowOccurrenceDialog(!1,C,T)),V=(z[0],z[1],z[2],this.bv.items,Boolean(this.bv.selectedItems&&this.bv.selectedItems.some((function(e){return e===t.item}))));return i(u.SchedulerViewItem,{ignoreIsAllDay:this.ignoreIsAllDay,attrs:this.v3?void 0:{ignoreIsAllDay:this.ignoreIsAllDay,item:this.item,uid:this.uid,start:this.start,end:this.end,originalStart:this.originalStart,startTimezone:this.startTimezone,endTimezone:this.endTimezone,isAllDay:this.isAllDay,title:this.title,description:this.description,occurrenceId:this.occurrenceId,recurrenceExceptions:this.recurrenceExceptions,recurrenceRule:this.recurrenceRule,recurrenceId:this.recurrenceId,dataItem:this.dataItem,head:this.head,tail:this.tail,order:this.order,zonedStart:this.zonedStart,zonedEnd:this.zonedEnd,slots:this.slots,group:this.group,range:this.range,isException:this.isException,isRecurring:this.isRecurring,id:this.id,className:this.className,itemStyle:this.itemStyle,editable:this.editable,vertical:this.vertical,dragHint:this.dragHint,resizeHint:this.resizeHint,format:this.format,itemRef:this.item,selected:V,tabIndex:this.tabIndex},item:this.item,uid:this.uid,start:this.start,end:this.end,originalStart:this.originalStart,startTimezone:this.startTimezone,endTimezone:this.endTimezone,isAllDay:this.isAllDay,title:this.title,description:this.description,occurrenceId:this.occurrenceId,recurrenceExceptions:this.recurrenceExceptions,recurrenceRule:this.recurrenceRule,recurrenceId:this.recurrenceId,dataItem:this.dataItem,head:this.head,tail:this.tail,order:this.order,zonedStart:this.zonedStart,zonedEnd:this.zonedEnd,slots:this.slots,group:this.group,range:this.range,isException:this.isException,isRecurring:this.isRecurring,id:this.id,className:this.className,itemStyle:this.itemStyle,editable:this.editable,vertical:this.vertical,dragHint:this.dragHint,resizeHint:this.resizeHint,format:this.format,itemRef:this.item,selected:V,tabIndex:this.tabIndex,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,keyup:this.handleKeyUp,focus:this.handleFocus,mouseup:this.handleMouseUp,mousedown:this.handleMouseDown,click:this.handleClick,doubleclick:this.handleDoubleClick,removeclick:this.handleRemoveClick,press:this.handlePress,drag:this.handleDrag,release:this.handleRelease,resizepress:this.handleResizePress,resizeenddrag:this.handleResizeEndDrag,resizestartdrag:this.handleResizeStartDrag,resizeselease:this.handleResizeRelease},onKeyup:this.handleKeyUp,onFocus:this.handleFocus,onMouseup:this.handleMouseUp,onMousedown:this.handleMouseDown,onClick:this.handleClick,onDoubleclick:this.handleDoubleClick,onRemoveclick:this.handleRemoveClick,onPress:this.handlePress,onDrag:this.handleDrag,onRelease:this.handleRelease,onResizepress:this.handleResizePress,onResizeenddrag:this.handleResizeEndDrag,onResizestartdrag:this.handleResizeStartDrag,onResizeselease:this.handleResizeRelease})},methods:{handleFocus:function(e){if(this.onFocusAction)this.onFocusAction(e,this.$props,this.currentState);this.$emit("focus",e)},handleMouseDown:function(e){if(this.onMouseDownAction)this.onMouseDownAction(e,this.$props,this.currentState);this.$emit("mousedown",e)},handleMouseUp:function(e){if(this.onMouseUpAction)this.onMouseUpAction(e,this.$props,this.currentState);this.$emit("mouseup",e)},handleClick:function(e){if(this.onClickAction)this.onClickAction(e,this.props,this.currentState);this.$emit("click",e)},handleDoubleClick:function(e){if(this.onDoubleClickAction)this.onDoubleClickAction(e,this.props,this.currentState);this.$emit("doubleclick",e)},handleRemoveClick:function(e){if(this.onRemoveClickAction)this.onRemoveClickAction(e,this.props,this.currentState);this.$emit("removeclick",e)},handlePress:function(e){if(this.onPressAction)this.onPressAction(e,this.props,this.currentState);this.$emit("press",e)},handleDrag:function(e){if(this.onDragAction)this.onDragAction(e,this.props,this.currentState);this.$emit("drag",e)},handleRelease:function(e){if(this.onReleaseAction)this.onReleaseAction(e,this.$props,this.currentState);this.$emit("release",e)},handleResizePress:function(e){if(this.onResizePressAction)this.onResizePressAction(e,this.$props,this.currentState);this.$emit("resizepress",e)},handleResizeStartDrag:function(e){if(this.onResizeStartDragAction)this.onResizeStartDragAction(e,this.$props,this.currentState);this.$emit("resizestartdrag",e)},handleResizeEndDrag:function(e){if(this.onResizeEndDragAction)this.onResizeEndDragAction(e,this.$props,this.currentState);this.$emit("resizeenddrag",e)},handleResizeRelease:function(e){if(this.onResizeReleaseAction)this.onResizeReleaseAction(e,this.$props,this.currentState);this.$emit("resizerelease",e)},handleFormSubmit:function(e){if(this.onFormSubmitAction)this.onFormSubmitAction(e,this.$props,this.currentState);this.$emit("formsubmit",e)},handleCancel:function(e){if(this.onCancelAction)this.onCancelAction(e,this.$props,this.currentState);this.$emit("cancel",e)},handleOccurrenceClick:function(e){if(this.onOccurrenceClickAction)this.onOccurrenceClickAction(e,this.$props,this.currentState);this.$emit("occurrenceclick",e)},handleSeriesClick:function(e){if(this.onSeriesClickAction)this.onSeriesClickAction(e,this.$props,this.currentState);this.$emit("seriesclick",e)},handleKeyDown:function(e){if(this.onKeyDownAction)this.onKeyDownAction(e,this.$props,this.currentState);this.$emit("keydown",e)},handleKeyUp:function(e){if(this.onKeyUpAction)this.onKeyUpAction(e,this.$props,this.currentState);this.$emit("keyup",e)},handleRemoveConfirm:function(e){if(this.onRemoveConfirmAction)this.onRemoveConfirmAction(e,this.$props,this.currentState);this.$emit("removeconfirm",e)},onClickAction:function(e,t,i){return[{type:e.event.metaKey||e.event.ctrlKey?!i.selected||i.dragItem||i.resizeItem?y.ITEMS_SELECT_ACTION.add:y.ITEMS_SELECT_ACTION.remove:y.ITEMS_SELECT_ACTION.select}]},onDoubleClickAction:function(e,t){return t.editable?[{type:c.FORM_ITEM_ACTION.set,payload:t.dataItem},t.isRecurring&&{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}].filter(Boolean):[]},onRemoveClickAction:function(e,t){return t.editable?[{type:p.REMOVE_ITEM_ACTION.set,payload:t.dataItem},t.isRecurring?{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}:{type:f.SHOW_REMOVE_DIALOG_ACTION.open}]:[]},onPressAction:function(e,t){return t.editable?{type:m.DRAG_ITEM_ACTION.start,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onDragAction:function(e,t){return t.editable?{type:e.dragEvent.originalEvent.metaKey||e.dragEvent.originalEvent.ctrlKey?m.DRAG_ITEM_ACTION.dragSelected:m.DRAG_ITEM_ACTION.drag,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onReleaseAction:function(e,t,i){return t.editable&&i.dragItem?t.isRecurring&&!t.isException&&null===i.series?{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}:{type:t.isRecurring?i.series?m.DRAG_ITEM_ACTION.completeSeries:m.DRAG_ITEM_ACTION.completeOccurrence:m.DRAG_ITEM_ACTION.complete,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onResizePressAction:function(e,t){return t.editable?{type:v.RESIZE_ITEM_ACTION.start,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onResizeStartDragAction:function(e,t){return t.editable?{type:e.dragEvent.originalEvent.metaKey||e.dragEvent.originalEvent.ctrlKey?v.RESIZE_ITEM_ACTION.startDragSelected:v.RESIZE_ITEM_ACTION.startDrag,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onResizeEndDragAction:function(e,t){return t.editable?{type:e.dragEvent.originalEvent.metaKey||e.dragEvent.originalEvent.ctrlKey?v.RESIZE_ITEM_ACTION.endDragSelected:v.RESIZE_ITEM_ACTION.endDrag,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onResizeReleaseAction:function(e,t,i){return t.editable&&i.resizeItem?t.isRecurring&&!t.isException&&null===i.series?{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}:{type:t.isRecurring?i.series?v.RESIZE_ITEM_ACTION.completeSeries:v.RESIZE_ITEM_ACTION.completeOccurrence:v.RESIZE_ITEM_ACTION.complete,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onOccurrenceClickAction:function(e,t,i){return i.dragItem?[{type:m.DRAG_ITEM_ACTION.completeOccurrence},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.resizeItem?[{type:v.RESIZE_ITEM_ACTION.completeOccurrence},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.formItem?[{type:g.SERIES_ACTION.set,payload:!1},{type:c.FORM_ITEM_ACTION.set,payload:t.dataItem},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.removeItem?[{type:g.SERIES_ACTION.set,payload:!1},{type:p.REMOVE_ITEM_ACTION.set,payload:t.dataItem},{type:f.SHOW_REMOVE_DIALOG_ACTION.open},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:void 0},onSeriesClickAction:function(e,t,i){return i.dragItem?[{type:m.DRAG_ITEM_ACTION.completeSeries},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.resizeItem?[{type:v.RESIZE_ITEM_ACTION.completeSeries},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.formItem?[{type:g.SERIES_ACTION.set,payload:!0},{type:c.FORM_ITEM_ACTION.setMaster,payload:t.dataItem},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.removeItem?[{type:g.SERIES_ACTION.set,payload:!0},{type:p.REMOVE_ITEM_ACTION.set,payload:t.dataItem},{type:f.SHOW_REMOVE_DIALOG_ACTION.open},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:void 0},onKeyDownAction:function(e,t){switch(e.event.keyCode){case l.Keys.enter:return[{type:c.FORM_ITEM_ACTION.set,payload:t.dataItem},t.isRecurring&&{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}];case l.Keys.tab:return[{type:e.event.shiftKey?d.ITEMS_FOCUS_ACTION.prev:d.ITEMS_FOCUS_ACTION.next,ignoreIsAllDay:t.ignoreIsAllDay},{type:e.event.shiftKey?y.ITEMS_SELECT_ACTION.selectPrev:y.ITEMS_SELECT_ACTION.selectNext,ignoreIsAllDay:t.ignoreIsAllDay}];case l.Keys.up:return[Boolean(t.slots.length&&t.slots[0].refTo.current)&&{type:d.SLOTS_FOCUS_ACTION.up,slot:t.slots[0].refTo}];case l.Keys.right:return[Boolean(t.slots.length&&t.slots[0].refTo.current)&&{type:d.SLOTS_FOCUS_ACTION.right,slot:t.slots[0].refTo}];case l.Keys.down:return[Boolean(t.slots.length&&t.slots[t.slots.length-1].refTo.current)&&{type:d.SLOTS_FOCUS_ACTION.down,slot:t.slots[t.slots.length-1].refTo}];case l.Keys.left:return[Boolean(t.slots.length&&t.slots[0].refTo.current)&&{type:d.SLOTS_FOCUS_ACTION.left,slot:t.slots[0].refTo}];default:return}},onFormSubmitAction:function(e){return{type:c.FORM_ITEM_ACTION.complete,payload:e.value}},onRemoveConfirmAction:function(){return[{type:p.REMOVE_ITEM_ACTION.complete},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]},onCancelAction:function(){return[{type:g.SERIES_ACTION.reset},{type:p.REMOVE_ITEM_ACTION.reset},{type:c.FORM_ITEM_ACTION.reset},{type:m.DRAG_ITEM_ACTION.reset},{type:v.RESIZE_ITEM_ACTION.reset},{type:f.SHOW_REMOVE_DIALOG_ACTION.reset},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.reset}]}}};t.SchedulerEditItemVue2=b;var k=b;t.SchedulerEditItem=k},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerViewItemVue2=t.SchedulerViewItem=void 0;var a=s(i(1)),l=a.h,u=(a.inject,i(42)),d=i(7),c=i(20),h=i(14),p=i(2),f=i(76),m={name:"KendoSchedulerViewItem",props:{ignoreIsAllDay:Boolean,item:[String,Function,Object],uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,isAllDay:Boolean,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,id:String,tabIndex:Number,className:String,itemStyle:Object,editable:[Object,Boolean],selected:Boolean,vertical:Boolean,dragHint:Boolean,resizeHint:Boolean,format:String,refTo:Function},inject:{kendoIntlService:{default:null},ks:{default:null},bv:{default:null}},computed:{itemTime:function(){return this.$props.isAllDay?this.intl.toString(this.$props.zonedStart,"t"):this.intl.format("{0:t} - {1:t}",this.$props.zonedStart,this.$props.zonedEnd)},itemTitle:function(){return"("+this.itemTime+"): "+this.$props.title}},data:function(){return{timeout:void 0,currentItem:null,viewItem:null,display:!0,visible:!1,maxSiblingsPerSlot:0}},mounted:function(){this.align(),this.position(),this.ks.scheduler&&(this.observer=new window.ResizeObserver(this.handleResize),this.observer.observe(this.ks.scheduler))},updated:function(){this.align(),this.position(),this.ks.scheduler&&!this.observer&&(this.observer=new window.ResizeObserver(this.handleResize),this.observer.observe(this.ks.scheduler))},destroyed:l?void 0:function(){this.observer&&this.observer.disconnect()},unmounted:function(){this.observer&&this.observer.disconnect()},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=this,i=l||e,r=this.$props;r.item,r.refTo,r.itemRef;return this.intl=p.provideIntlService(this),i(u.SchedulerItem,{ignoreIsAllDay:this.ignoreIsAllDay,attrs:this.v3?void 0:{ignoreIsAllDay:this.ignoreIsAllDay,item:this.item,uid:this.uid,start:this.start,end:this.end,originalStart:this.originalStart,startTimezone:this.startTimezone,endTimezone:this.endTimezone,isAllDay:this.isAllDay,title:this.title,description:this.description,occurrenceId:this.occurrenceId,recurrenceExceptions:this.recurrenceExceptions,recurrenceRule:this.recurrenceRule,recurrenceId:this.recurrenceId,dataItem:this.dataItem,head:this.head,tail:this.tail,order:this.order,zonedStart:this.zonedStart,zonedEnd:this.zonedEnd,slots:this.slots,group:this.group,range:this.range,isException:this.isException,isRecurring:this.isRecurring,id:this.id,tabIndex:this.tabIndex,className:this.className,itemStyle:this.itemStyle,editable:this.editable,selected:this.selected,vertical:this.vertical,dragHint:this.dragHint,resizeHint:this.resizeHint,format:this.format,maxSiblingsPerSlot:this.maxSiblingsPerSlot},item:this.item,uid:this.uid,start:this.start,end:this.end,originalStart:this.originalStart,startTimezone:this.startTimezone,endTimezone:this.endTimezone,isAllDay:this.isAllDay,title:this.title,description:this.description,occurrenceId:this.occurrenceId,recurrenceExceptions:this.recurrenceExceptions,recurrenceRule:this.recurrenceRule,recurrenceId:this.recurrenceId,dataItem:this.dataItem,head:this.head,tail:this.tail,order:this.order,zonedStart:this.zonedStart,zonedEnd:this.zonedEnd,slots:this.slots,group:this.group,range:this.range,isException:this.isException,isRecurring:this.isRecurring,id:this.id,tabIndex:this.tabIndex,className:this.className,itemStyle:this.itemStyle,editable:this.editable,selected:this.selected,vertical:this.vertical,dragHint:this.dragHint,resizeHint:this.resizeHint,format:this.format,maxSiblingsPerSlot:this.maxSiblingsPerSlot,style:n({visibility:this.visible?void 0:"hidden",display:this.display?void 0:"none"},this.$props.style)},this.v3?function(){return[!t.$props.resizeHint&&i("span",{class:"k-event-actions"},[t.$props.tail&&i("span",{class:"k-icon k-i-arrow-60-left"}),t.$props.isRecurring&&!t.$props.isException&&i("span",{class:"k-icon k-i-reload"}),!t.$props.isRecurring&&t.$props.isException&&i("span",{class:"k-icon k-i-non-recurrence"})]),!t.$props.resizeHint&&i("div",{title:t.itemTitle,attrs:t.v3?void 0:{title:t.itemTitle}},[!t.$props.isAllDay&&i(f.SchedulerItemContent,{class:"k-event-template k-event-time "},t.v3?function(){return[t.itemTitle]}:[t.itemTitle]),i(f.SchedulerItemContent,{class:"k-event-template"},t.v3?function(){return[t.$props.title]}:[t.$props.title])])]}:[!t.$props.resizeHint&&i("span",{class:"k-event-actions"},[t.$props.tail&&i("span",{class:"k-icon k-i-arrow-60-left"}),t.$props.isRecurring&&!t.$props.isException&&i("span",{class:"k-icon k-i-reload"}),!t.$props.isRecurring&&t.$props.isException&&i("span",{class:"k-icon k-i-non-recurrence"})]),!t.$props.resizeHint&&i("div",{title:t.itemTitle,attrs:t.v3?void 0:{title:t.itemTitle}},[!t.$props.isAllDay&&i(f.SchedulerItemContent,{class:"k-event-template k-event-time "},t.v3?function(){return[t.itemTitle]}:[t.itemTitle]),i(f.SchedulerItemContent,{class:"k-event-template"},t.v3?function(){return[t.$props.title]}:[t.$props.title])])])},methods:{calculateMostSiblings:function(e,t){var i=this,n=1;return e.forEach((function(e){var r=t.filter((function(t){return i.inSlot(e.$props,t.$props)}));r.length>n&&(n=r.length)})),n},getSiblingsInAllSlots:function(e,t){var i=this;return e.map((function(e){return t.filter((function(t){return i.inSlot(e.$props,t.$props)}))}))},inSlot:function(e,t){return d.intersects(e.start,e.end,t.start,t.end)&&e.group.index===t.group.index&&e.range.index===t.range.index&&(this.$props.ignoreIsAllDay||e.isAllDay===t.isAllDay)},align:function(){var e=this,t=(this.bv.slots||[]).filter((function(t){return t&&e.inSlot(t.$props,e.$props)}));if(0!==t.length){var i=d.first(t.sort((function(e,t){return!e.$props.start||!t.$props.start||e.$props.start.getTime()-t.$props.start.getTime()})));if(i){var n=c.getRect(i.$el);c.setRect(this.$el,n)}}else this.display=!1},position:function(){var e=this,t=this.$el;if(t){var i=(this.bv.slots||[]).filter((function(t){return t&&e.inSlot(t.$props,e.$props)})),n=[],r=[],o=[];(this.bv.items||[]).forEach((function(e){e&&(e.$props.dragHint?r.push(e):e.$props.resizeHint?o.push(e):n.push(e))}));var s=this.$props.dragHint||this.$props.resizeHint?d.calculateOrder(this,this.$props.dragHint?r:o,i,this.$props.ignoreIsAllDay):this.$props.order||0,a=this.$props.dragHint||this.$props.resizeHint?this.calculateMostSiblings(i,this.$props.dragHint?r:o):this.calculateMostSiblings(i,n),l=this.getSiblingsInAllSlots(i,n),u=0,p=c.getRect(t);if(l.forEach((function(i){var n=0;i.sort((function(e,t){return e.$props.order-t.$props.order})).forEach((function(i){d.intersects(i.$props.start,i.$props.end,e.$props.start,e.$props.end)&&!e.$props.dragHint&&!e.$props.resizeHint&&i.$props.maxSiblingsPerSlot&&i.$props.maxSiblingsPerSlot>a&&i.$el!==t&&(a=i.$props.maxSiblingsPerSlot);var r=c.getRect(i.$el);null!==i.$props.order&&i.$props.order<s&&(n=(r.top||p.top)+r.height-p.top-h.BORDER_WIDTH*s+1)})),n>u&&(u=n)})),0!==i.length){p.width=this.$props.vertical?p.width/a-h.BORDER_WIDTH-20/a:p.width*i.length-h.BORDER_WIDTH-20,p.height=this.$props.vertical?p.height*i.length-h.BORDER_WIDTH:(this.$props.resizeHint||this.$props.dragHint)&&a<=1?p.height:this.$props.itemStyle&&this.$props.itemStyle.height?this.$props.itemStyle.height:25,p.left=this.$props.vertical?p.left+s*p.width+h.BORDER_WIDTH*s:p.left,p.top=this.$props.vertical?p.top:p.top+u+h.BORDER_WIDTH*s,this.maxSiblingsPerSlot=a,c.setRect(t,p),this.visible=!0,this.display=!0}else this.display=!1}},handleResize:function(){var e=this;void 0!==this.timeout&&window.cancelAnimationFrame(this.timeout),this.timeout=window.requestAnimationFrame((function(){e.align(),e.position()}))}}};t.SchedulerViewItemVue2=m;var v=m;t.SchedulerViewItem=v},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerItemVue2=t.SchedulerItem=void 0;var a=s(i(1)),l=a.h,u=(a.inject,i(7)),d=i(0),c=i(2),h=i(11),p=i(18),f=i(7),m={name:"KendoSchedulerItem",emits:{focus:null,blur:null,mousedown:null,mouseup:null,mouseover:null,mouseout:null,mouseenter:null,mouseleave:null,click:null,doubleclick:null,removeclick:null,keydown:null,keypress:null,keyup:null,press:null,drag:null,release:null,resizepress:null,resizestartdrag:null,resizeenddrag:null,resizeenrelease:null},props:{uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,isAllDay:Boolean,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,id:String,tabIndex:Number,className:String,itemStyle:Object,editable:[Object,Boolean],selected:Boolean,vertical:Boolean,dragHint:Boolean,resizeHint:Boolean,format:String,maxSiblingsPerSlot:Number},data:function(){return{resizeEast:null,resizeWest:null,resizeNorth:null,resizeSouth:null}},inject:{kendoLocalizationService:{default:null},kendoIntlService:{default:null},setItems:{default:null}},computed:{resource:function(){return this.$props.group.resources.find((function(e){return Boolean(e.colorField&&""!==e[e.colorField]&&void 0!==e[e.colorField])}))},color:function(){return this.resource&&this.resource.colorField&&this.resource[this.resource.colorField]},currentTabIndex:function(){return void 0!==this.$props.tabIndex?null===this.$props.tabIndex?void 0:this.$props.tabIndex:this.$props.selected?0:-1},itemClassName:function(){var e;return(e={"k-event":!this.$props.resizeHint,"k-state-selected":this.$props.selected&&this.editable.select,"k-event-drag-hint":this.$props.dragHint,"k-scheduler-marquee":this.$props.resizeHint,"k-marquee":this.$props.resizeHint,"k-first":this.$props.resizeHint&&!this.$props.tail,"k-last":this.$props.resizeHint&&!this.$props.head})[this.$props.className]=this.$props.className,e},eventLabel:function(){return f.formatEventTime(this.intl,this.$props.zonedStart,this.$props.zonedEnd,this.$props.isAllDay)+", "+this.$props.title},computedStyle:function(){return n({cursor:"pointer",userSelect:"none",borderColor:this.$props.resizeHint?void 0:this.color,backgroundColor:this.$props.resizeHint?void 0:this.color,touchAction:"none"},this.$props.itemStyle)}},created:function(){this.setItems({type:u.COLLECTION_ACTION.add,item:this})},destroyed:l?void 0:function(){this.setItems({type:u.COLLECTION_ACTION.remove,item:this})},unmounted:function(){this.setItems({type:u.COLLECTION_ACTION.remove,item:this})},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=d.getDefaultSlots(this),n=p.useEditable(this.$props.editable);this.intl=c.provideIntlService(this);var r=c.provideLocalizationService(this).toLanguageString(h.deleteTitle,h.messages[h.deleteTitle]);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.currentTabIndex,"aria-label":this.eventLabel,"aria-selected":this.$props.selected,"data-group-index":this.$props.group.index,"data-range-index":this.$props.range.index},style:this.computedStyle,tabIndex:this.currentTabIndex,class:this.itemClassName,"aria-label":this.eventLabel,"aria-selected":this.$props.selected,onFocus:this.handleFocus,on:this.v3?void 0:{focus:this.handleFocus,blur:this.handleBlur,mouseup:this.handleMouseUp,mousedown:this.handleMouseDown,click:this.handleClick,mouseover:this.handleMouseOver,mouseout:this.handleMouseOut,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave,doubleclick:this.handleDoubleClick,keydown:this.handleKeyDown,keypress:this.handleKeyPress,keyup:this.handleKeyUp},onBlur:this.handleBlur,onMouseup:this.handleMouseUp,onMousedown:this.handleMouseDown,onClick:this.handleClick,onMouseover:this.handleMouseOver,onMouseout:this.handleMouseOut,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onDoubleclick:this.handleDoubleClick,onKeydown:this.handleKeyDown,onKeypress:this.handleKeyPress,onKeyup:this.handleKeyUp,"data-group-index":this.$props.group.index,"data-range-index":this.$props.range.index},[i,!this.$props.resizeHint&&t("span",{class:"k-event-actions"},[n.remove&&t("a",{tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1,"aria-hidden":"true",title:r,"aria-label":r},"aria-hidden":"true",class:"k-link k-event-delete",title:r,"aria-label":r,onClick:this.handleRemoveClick,on:this.v3?void 0:{click:this.handleRemoveClick}},[t("span",{class:"k-icon k-i-close"})]),this.$props.head&&t("span",{class:"k-icon k-i-arrow-60-right"})]),n.resize&&this.$props.vertical&&[t("span",{class:"k-resize-handle k-resize-n",ref:this.resizeNorth}),t("span",{class:"k-resize-handle k-resize-s",ref:this.resizeSouth})],n.resize&&!this.$props.vertical&&[t("span",{class:"k-resize-handle k-resize-w",ref:this.resizeWest}),t("span",{class:"k-resize-handle k-resize-e",ref:this.resizeEast})],this.$props.resizeHint&&[t("div",{class:"k-marquee-color",style:{borderColor:this.color,backgroundColor:this.color}}),t("div",{class:"k-marquee-text"},[!this.$props.tail&&t("div",{class:"k-label-top"},[this.intl.formatDate(this.$props.zonedStart,this.$props.format)]),!this.$props.head&&t("div",{class:"k-label-bottom"},[this.intl.formatDate(this.$props.zonedEnd,this.$props.format)])])]])},methods:{handleFocus:function(e){this.$emit("focus",{event:e,target:this.item})},handleBlur:function(e){this.$emit("blur",{event:e,target:this.item})},handleMouseDown:function(e){this.$emit("mousedown",{event:e,target:this.item})},handleClick:function(e){this.$emit("click",{event:e,target:this.item})},handleMouseUp:function(e){this.$emit("mouseup",{event:e,target:this.item})},handleMouseOver:function(e){this.$emit("mouseover",{event:e,target:this.item})},handleMouseOut:function(e){this.$emit("mouseout",{event:e,target:this.item})},handleMouseEnter:function(e){this.$emit("mouseenter",{event:e,target:this.item})},handleMouseLeave:function(e){this.$emit("mouseleave",{event:e,target:this.item})},handleDoubleClick:function(e){this.$emit("doubleclick",{event:e,target:this.item})},handleRemoveClick:function(e){this.$emit("removeclick",{event:e,target:this.item})},handleKeyDown:function(e){this.$emit("keydown",{event:e,target:this.item})},handleKeyPress:function(e){this.$emit("keypress",{event:e,target:this.item})},handleKeyUp:function(e){this.$emit("keyup",{event:e,target:this.item})},handlePress:function(e){this.$emit("press",{dragEvent:e,target:this.item})},handleDrag:function(e){this.$emit("drag",{dragEvent:e,target:this.item})},handleRelease:function(e){this.$emit("release",{dragEvent:e,target:this.item})},handleResizePress:function(e){this.$emit("resizepress",{dragEvent:e,target:this.item})},handleResizeStartDrag:function(e){this.$emit("resizestartdrag",{dragEvent:e,target:this.item})},handleResizeEndDrag:function(e){this.$emit("resizeenddrag",{dragEvent:e,target:this.item})},handleResizeRelease:function(e){this.$emit("resizerelease",{dragEvent:e,target:this.item})}}};t.SchedulerItemVue2=m;var v=m;t.SchedulerItem=v},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(48),r=function(e,t){if(void 0===t&&(t=new Date),"Etc/UTC"===e)return"UTC";if("Etc/GMT"===e)return"GMT";if(""===e)return"";var i=Object(n.a)(e,t),r=i.zone,o=i.rule,s=r[2];return s.indexOf("/")>=0?s.split("/")[o&&+o[6]?1:0]:s.indexOf("%s")>=0?s.replace("%s",o&&"-"!==o[7]?o[7]:""):s}},function(e,t,i){"use strict";function n(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}i.d(t,"a",(function(){return n}))},function(e,t,i){"use strict";var n;i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return r})),function(e){e.remove="remove",e.add="add",e.reorder="reorder"}(n||(n={}));var r=function(e,t){switch(t.type){case n.add:break;case n.remove:return e.filter((function(e){return e[t.valueField]!==t.payload}));case n.reorder:break;default:return e}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i(1),r=i(0),o=n.h,s={name:"KendoButtonItem",emits:{click:null,down:null},props:{focused:Boolean,index:Number,item:Object,render:[String,Object,Function],dataItem:[String,Object],id:String,textField:String},computed:{wrapperClass:function(){return{"k-item":!0}},innerClass:function(){var e=this.$props,t=e.dataItem;return{"k-link k-menu-link":!0,"k-focus":e.focused,"k-selected":t.selected,"k-disabled":t.disabled}}},methods:{onClick:function(e){this.$emit("click",e,this.$props.index)},onDown:function(e){this.$emit("down",e,this.$props.index)}},setup:o?function(){return{v3:!!o}}:void 0,render:function(e){var t=o||e,i=this.$props,n=i.dataItem,s=i.id,a=i.render;return t("li",{id:s,attrs:this.v3?void 0:{id:s,role:"menuitem","aria-disabled":n.disabled||void 0},class:this.wrapperClass,onClick:this.onClick,on:this.v3?void 0:{click:this.onClick,mousedown:this.onDown,pointerdown:this.onDown},onMousedown:this.onDown,onPointerdown:this.onDown,role:"menuitem","aria-disabled":n.disabled||void 0},[function(){var e=this.$props,i=e.textField,o=e.index,s=void 0!==n.text?n.text:i?n[i]:n,l=n.icon?"k-icon k-i-"+n.icon:n.iconClass,u=t("span",{tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1},class:this.innerClass,key:"icon"},[l&&t("span",{class:l,role:"presentation",attrs:this.v3?void 0:{role:"presentation"}}),n.imageUrl&&t("img",{class:"k-icon",alt:"",attrs:this.v3?void 0:{alt:"",src:n.imageUrl,role:"presentation"},src:n.imageUrl,role:"presentation",key:"image"}),s&&t("span",{class:"k-menu-link-text"},[s])]);return r.getTemplate.call(this,{h:t,template:this.$props.dataItem.render||a,defaultRendering:u,additionalProps:{item:n,itemIndex:o,innerClass:this.innerClass,focused:this.focused}})}.call(this)])}}},function(e,t,i){"use strict";var n=i(0);t.a=function(e,t,i,r){if(i)return e;switch(t){case n.Keys.enter:case n.Keys.space:case n.Keys.esc:return-1;case n.Keys.up:case n.Keys.left:return Math.max(0,e-1);case n.Keys.down:case n.Keys.right:return Math.min(r-1,e+1);default:return e}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return c}));var n=i(8),r={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},o={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6},s=function(e,t,i){var n,s=t[3],a=t[4],l=t[5],u="u"===l[3]?6e4*-i:0;if(isNaN(a)){if(0===a.indexOf("last")){n=new Date(Date.UTC(e,r[s]+1,1,l[0]-24,l[1],l[2])+u);var d=o[a.substr(4,3)],c=n.getUTCDay();n.setUTCDate(n.getUTCDate()+d-c-(d>c?7:0))}else if(a.indexOf(">=")>=0){n=new Date(Date.UTC(e,r[s],a.substr(5),l[0],l[1],l[2],0)+u);d=o[a.substr(0,3)],c=n.getUTCDay();n.setUTCDate(n.getUTCDate()+d-c+(d<c?7:0))}}else n=new Date(Date.UTC(e,r[s],a,l[0],l[1],l[2])+u);return n},a=(new Date).getTime(),l=function(e,t,i){void 0===t&&(t=a),void 0===i&&(i=0);var r=n.a.rules[e];if(!r){var o=e.split(":"),l=0;return o.length>1&&(l=60*o[0]+Number(o[1])),[-1e6,"max","-","Jan",1,[0,0,0],l,"-"]}var u=new Date(t).getUTCFullYear();(r=r.filter((function(e){var t=e[0],i=e[1];return t<=u&&(i>=u||t===u&&"only"===i||"max"===i)}))).push(t),r.sort((function(e,t){return"number"!=typeof e&&(e=Number(s(u,e,i))),"number"!=typeof t&&(t=Number(s(u,t,i))),e-t}));var d=r[r.indexOf(t)-1]||r[r.length-1];return isNaN(d)?d:null},u=i(16),d=function(e,t){if(void 0===t&&(t=(new Date).getTime()),"Etc/UTC"===e||"Etc/GMT"===e)return[0,"-","UTC",null];for(var i=function(e){var t=n.a.zones;if(!t)throw new Error(Object(u.c)(u.b,e));var i=t[e],r="string"==typeof i?t[i]:i;if(!r)throw new Error(Object(u.c)(u.b,e));return r}(e),r=i.length-1;r>=0;r--){var o=i[r][3];if(o&&t>o)break}var s=i[r+1];if(!s)throw new Error(Object(u.c)(u.b,e));return s},c=function(e,t){var i=t.getTime(),n=d(e,i);return{rule:l(n[1],i,n[0]),zone:n}}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t},a=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerVue2=t.Scheduler=t.DATA_ACTION=void 0;var l,u=s(i(1)).h,d=i(7),c=i(0),p=i(2),f=i(70),m=i(90),v=i(91),g=i(5),y=i(72),b=i(3),k=i(11),S=i(92),w=i(94),D=i(96),I=i(73),C=i(0),T=i(115),O=i(67),E=i(83);!function(e){e[e.create=0]="create",e[e.update=1]="update",e[e.remove=2]="remove"}(l=t.DATA_ACTION||(t.DATA_ACTION={}));var $={name:"KendoScheduler",props:{dataItems:{type:Array,default:function(){return[]}},views:{type:Array,default:function(){return[]}},view:String,defaultView:String,date:Date,rtl:Boolean,height:{type:[Number,String],default:600},timezone:String,group:Object,resources:[Object,Array],modelFields:Object,tabIndex:{type:Number,default:-1},editable:{type:[Boolean,Object],default:!1},defaultDate:{type:Date,default:new Date},header:[String,Function,Object],footer:[String,Function,Object]},computed:{wrapperClassName:function(){return{"k-rtl":void 0!==this.$props.rtl?this.$props.rtl:"rtl"===this.dir,"k-widget":!0,"k-scheduler":!0,"k-scheduler-flex":!0,"k-floatwrap":!0}},fields:function(){return d.getModelFields(this.$props.modelFields).fields}},provide:function(){return{ks:this.ks,setActiveViewName:this.handleActiveViewNameChange,setActiveDate:this.handleDateChange}},data:function(){this.intl=p.provideIntlService(this),this.localization=p.provideLocalizationService(this);var e=this.$props.date||this.$props.defaultDate,t=this.$props.view||this.$props.defaultView||this.views[0]&&this.views[0].name||"day",i=this.views.find((function(e){return e.name===t}))||this.views[0]||h(I.DayView),n=this.getViewPropValue(i,"selectedDateFormat",t)||"{0:D}",r=this.getViewPropValue(i,"selectedShortDateFormat",t)||"{0:d}",o=this.getViewComponentByName(t).props.dateRange.default()({intl:this.intl,date:e,timezone:this.$props.timezone,numberOfDays:this.getViewPropValue(i,"numberOfDays",t),workWeekStart:i.workWeekStart||this.intl.firstDay(),workWeekEnd:i.workWeekEnd||(this.intl.firstDay()+this.getViewPropValue(i,"numberOfDays",t))%6});return{ks:{activeViewName:t,currentDate:e,showWorkHours:void 0===i.showWorkHours||i.showWorkHours,timezone:this.$props.timezone,props:this.$props,views:this.views,view:i,fields:d.getModelFields(this.$props.modelFields).fields,groups:d.toSchedulerGroups(this.$props.group,this.$props.resources),dateRange:o,orientation:this.$props.group&&this.$props.group.orientation?this.$props.group.orientation:"horizontal",dateFormat:n,shortDateFormat:r,scheduler:null,dataItems:this.dataItems}}},mounted:function(){this.ks.scheduler=this.$el},watch:{view:function(e){this.updatePassedState(e)}},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t=this,i=this,r=u||e;C.validatePackage(T.packageMetadata);this.$props.timezone;var o=this.views.find((function(e){return e.name===i.ks.activeViewName}))||this.views[0]||r(I.DayView),s=this.getViewPropValue(this.ks.view,"slotDuration",this.ks.activeViewName),a=this.localization.toLanguageString(k.today,k.messages[k.today]),l=this.localization.toLanguageString(k.previousTitle,k.messages[k.previousTitle]),d=this.localization.toLanguageString(k.nextTitle,k.messages[k.nextTitle]),h=(c.templateRendering.call(this,o.header||this.$props.header,c.getListeners.call(this)),c.templateRendering.call(this,o.footer||this.$props.footer,c.getListeners.call(this)),v.SchedulerViewSelector),p=this.getViewComponentByName(this.ks.activeViewName||o.name),g=n(n(n({},this.$props),this.ks.view),{showWorkHours:this.ks.showWorkHours,dataItems:void 0,views:void 0,defaultDate:void 0,dateRange:this.ks.dateRange});return r("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.$props.tabIndex,role:this.$props.role,"aria-label":this.$props.ariaLabel,"aria-labelledby":this.$props.ariaLabelledby},style:{height:this.$props.height+"px"},class:this.wrapperClassName,tabIndex:this.$props.tabIndex,role:this.$props.role,"aria-label":this.$props.ariaLabel,"aria-labelledby":this.$props.ariaLabelledby,onFocusin:this.handleFocus,on:this.v3?void 0:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur},[r(f.SchedulerHeader,this.v3?function(){return[r(m.SchedulerNavigation,t.v3?function(){return[r(b.ButtonGroup,{class:"k-scheduler-navigation"},t.v3?function(){return[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])]}:[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])])]}:[r(b.ButtonGroup,{class:"k-scheduler-navigation"},t.v3?function(){return[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])]}:[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])])]),r(S.NavigationDatePicker,{value:t.ks.currentDate,attrs:t.v3?void 0:{value:t.ks.currentDate},onChange:t.handleDatePickerChange,on:t.v3?void 0:{change:t.handleDatePickerChange}}),r(b.ToolbarSpacer),r(h,t.v3?function(){return[r(w.ViewSelectorList)]}:[r(w.ViewSelectorList)])]}:[r(m.SchedulerNavigation,t.v3?function(){return[r(b.ButtonGroup,{class:"k-scheduler-navigation"},t.v3?function(){return[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])]}:[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])])]}:[r(b.ButtonGroup,{class:"k-scheduler-navigation"},t.v3?function(){return[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])]}:[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])])]),r(S.NavigationDatePicker,{value:t.ks.currentDate,attrs:t.v3?void 0:{value:t.ks.currentDate},onChange:t.handleDatePickerChange,on:t.v3?void 0:{change:t.handleDatePickerChange}}),r(b.ToolbarSpacer),r(h,t.v3?function(){return[r(w.ViewSelectorList)]}:[r(w.ViewSelectorList)])]),o&&r(p,n({key:this.ks.view.name,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},props:this.v3?void 0:g},g)),r(y.SchedulerFooter,this.v3?function(){return[s&&s<1440&&r(D.BusinessHours,t.v3?function(){return[r(b.Button,{tabIndex:-1,attrs:t.v3?void 0:{tabIndex:-1},onClick:t.handleShowWorkHoursClick,on:t.v3?void 0:{click:t.handleShowWorkHoursClick}},t.v3?function(){return[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])]}:[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])])]}:[r(b.Button,{tabIndex:-1,attrs:t.v3?void 0:{tabIndex:-1},onClick:t.handleShowWorkHoursClick,on:t.v3?void 0:{click:t.handleShowWorkHoursClick}},t.v3?function(){return[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])]}:[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])])])]}:[s&&s<1440&&r(D.BusinessHours,t.v3?function(){return[r(b.Button,{tabIndex:-1,attrs:t.v3?void 0:{tabIndex:-1},onClick:t.handleShowWorkHoursClick,on:t.v3?void 0:{click:t.handleShowWorkHoursClick}},t.v3?function(){return[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])]}:[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])])]}:[r(b.Button,{tabIndex:-1,attrs:t.v3?void 0:{tabIndex:-1},onClick:t.handleShowWorkHoursClick,on:t.v3?void 0:{click:t.handleShowWorkHoursClick}},t.v3?function(){return[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])]}:[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])])])])])},methods:{getViewComponentByName:function(e){switch(e.toLowerCase()){case"week":return O.WeekView;case"workweek":return O.WorkWeekView;case"agenda":return O.AgendaView;case"timeline":return E.TimelineView;case"month":return O.MonthView;default:return I.DayView}},getViewPropValue:function(e,t,i){var n=this.getViewComponentByName(i).props[t];return e[t]||(n?n.default:void 0)},handleDataChange:function(e){var t=e.created,i=void 0===t?[]:t,n=e.updated,r=void 0===n?[]:n,o=e.deleted,s={created:i,updated:r,deleted:void 0===o?[]:o};this.$emit("datachange",s)},handleCreate:function(e){var t=[e.dataItem];this.handleDataChange({created:t})},handleUpdate:function(e){var t=this,i=[],n=[];if(e.series)if(Array.isArray(e.dataItem))e.dataItem.map((function(i){var r=c.clone(d.findMaster(e.dataItem,t.fields,t.dataItems)),o=c.clone(i);d.setField(o,t.fields.originalStart,d.getField(r,t.fields.originalStart)),d.setField(o,t.fields.recurrenceId,d.getField(r,t.fields.recurrenceId)),d.setField(o,t.fields.recurrenceExceptions,d.getField(r,t.fields.recurrenceExceptions)),n.push(o)}));else{var r=c.clone(d.findMaster(e.dataItem,this.fields,this.dataItems)),o=c.clone(e.dataItem);d.setField(o,this.fields.originalStart,d.getField(r,this.fields.originalStart)),d.setField(o,this.fields.recurrenceId,d.getField(r,this.fields.recurrenceId)),d.setField(o,this.fields.recurrenceExceptions,d.getField(r,this.fields.recurrenceExceptions)),n.push(o)}else if(Array.isArray(e.dataItem))e.dataItem.map((function(e){var r=null!==d.getField(e,t.fields.recurrenceRule)&&void 0!==d.getField(e,t.fields.recurrenceRule);if(null!==d.getField(e,t.fields.recurrenceId)&&void 0!==d.getField(e,t.fields.recurrenceId)&&r){var o=c.clone(d.findMaster(e,t.fields,t.dataItems)),s=d.getField(e,t.fields.originalStart),l=d.getField(o,t.fields.recurrenceExceptions)||[];d.setField(o,t.fields.recurrenceExceptions,a(l,[s])),d.setField(e,t.fields.recurrenceRule,null),n.push(o),i.push(e)}else n.push(e)}));else{var s=null!==d.getField(e.dataItem,this.fields.recurrenceRule)&&void 0!==d.getField(e.dataItem,this.fields.recurrenceRule);if(null!==d.getField(e.dataItem,this.fields.recurrenceId)&&void 0!==d.getField(e.dataItem,this.fields.recurrenceId)&&s){r=c.clone(d.findMaster(e.dataItem,this.fields,this.dataItems));var l=d.getField(e.dataItem,this.fields.originalStart),u=d.getField(r,this.fields.recurrenceExceptions)||[];d.setField(r,this.fields.recurrenceExceptions,a(u,[l])),d.setField(e.dataItem,this.fields.recurrenceRule,null),n.push(r),i.push(e.dataItem)}else n.push(e.dataItem)}this.handleDataChange({updated:n,created:i})},handleRemove:function(e){var t=[],i=[];if(e.series){var n=c.clone(d.findMaster(e.dataItem,this.fields,this.dataItems)),r=c.clone(e.dataItem);d.setField(r,this.fields.originalStart,d.getField(n,this.fields.originalStart)),d.setField(r,this.fields.recurrenceId,d.getField(n,this.fields.recurrenceId)),d.setField(r,this.fields.recurrenceRule,d.getField(n,this.fields.recurrenceRule)),d.setField(r,this.fields.recurrenceExceptions,d.getField(n,this.fields.recurrenceExceptions)),i.push(r)}else{if(null!==d.getField(e.dataItem,this.fields.recurrenceRule)&&void 0!==d.getField(e.dataItem,this.fields.recurrenceRule)){n=c.clone(d.findMaster(e.dataItem,this.fields,this.dataItems));var o=d.getField(e.dataItem,this.fields.originalStart),s=d.getField(n,this.fields.recurrenceExceptions)||[];d.setField(n,this.fields.recurrenceExceptions,a(s,[o])),d.setField(e.dataItem,this.fields.recurrenceRule,null),t.push(n)}else i.push(e.dataItem)}this.handleDataChange({updated:t,deleted:i})},handleDataAction:function(e){switch(e.type){case l.create:this.handleCreate(e);break;case l.update:this.handleUpdate(e);break;case l.remove:this.handleRemove(e)}},handleActiveViewNameChange:function(e,t){this.updatePassedState(e),this.$emit("viewchange",n(n({viewName:e},t),{target:this.ks.scheduler}))},handleDateChange:function(e,t){this.setDate(e,n(n({},t),{target:this.ks.scheduler}))},handleDatePickerChange:function(e){e.value&&this.setDate(e.value,n(n({},e),{target:this.ks.scheduler,nativeEvent:e.event}))},handleNextClick:function(e){e.preventDefault();var t=this.getViewPropValue(this.ks.view,"step",this.ks.activeViewName)||this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName)||1,i=t>27?g.addMonths(this.ks.currentDate,Math.round(t/27)):g.addDays(this.ks.currentDate,t);this.setDate(i,e)},handlePrevClick:function(e){e.preventDefault();var t=this.getViewPropValue(this.ks.view,"step",this.ks.activeViewName)||this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName)||1,i=t>27?g.addMonths(this.ks.currentDate,-Math.round(t/27)):g.addDays(this.ks.currentDate,-t);this.setDate(i,e)},handleTodayClick:function(e){e.preventDefault();var t=d.getToday();this.setDate(t,e)},handleShowWorkHoursClick:function(){this.ks.showWorkHours=!this.ks.showWorkHours},handleFocus:function(){this.$el&&(this.$el.style.boxShadow="0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12)")},handleBlur:function(){this.$el&&(this.$el.style.boxShadow="")},setDate:function(e,t){this.ks.currentDate=e,this.updatePassedState(),this.$emit("datechange",{date:e,event:t})},updatePassedState:function(e){var t=e||this.ks.activeViewName;this.ks.activeViewName=t,this.ks.view=this.views.find((function(e){return e.name===t}))||this.views[0]||h(I.DayView),this.ks.dateFormat=this.getViewPropValue(this.ks.view,"selectedDateFormat",t)||"{0:D}",this.ks.shortDateFormat=this.getViewPropValue(this.ks.view,"selectedShortDateFormat",t)||"{0:d}",this.ks.dateRange=this.getViewComponentByName(t).props.dateRange.default()({intl:this.intl,date:this.ks.currentDate,timezone:this.$props.timezone,numberOfDays:this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName),workWeekStart:this.getViewPropValue(this.ks.view,"workWeekStart",this.ks.activeViewName)||this.intl.firstDay(),workWeekEnd:this.getViewPropValue(this.ks.view,"workWeekEnd",this.ks.activeViewName)||(this.intl.firstDay()+this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName))%6})}}};t.SchedulerVue2=$;var x=$;t.Scheduler=x},function(e,t,i){"use strict";i.d(t,"a",(function(){return m})),i.d(t,"b",(function(){return f}));var n=i(1),r=i(0),o=i(28),s=i(27),a=i(45),l=i(29),u=i(10),d=function(){return(d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},c=n,h=c.h,p=c.ref,f={name:"KendoVueChipList",props:{id:String,tabIndex:Number,dataItems:Array,defaultDataItems:{type:Array,default:function(){return[]}},value:[Object,Array,String,Number],defaultValue:{type:[Object,Array,String,Number],default:function(){return null}},size:{type:String,default:"medium"},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","outline","solid"].includes(e)}},selection:{type:String,default:function(){return"none"}},textField:{type:String,default:function(){return"text"}},valueField:{type:String,default:function(){return"value"}},disabled:{type:Boolean,default:!1},dir:{type:String,default:function(){return"ltr"}},chip:[String,Function,Object],ariaLabelledBy:String,ariaDescribedBy:String},provide:function(){return{kendoSelection:this.currentValue,kendoFocused:this.currentFocused,kendoDataItems:this.computedDataItems,handleDispatchDataItems:this.handleDispatchDataItems,handleDispatchSelection:this.handleDispatchSelection,handleDispatchFocus:this.handleDispatchFocus}},created:function(){Object(r.validatePackage)(u.a),this.currentDataItems=this.$props.dataItems||this.$props.defaultDataItems,this.currentValue.value=this.$props.value||this.$props.defaultValue},data:function(){return{currentDataItems:[],currentDir:"ltr",isRtl:!1,currentFocused:{value:!1},currentValue:{value:null}}},mounted:function(){this.chipList=this.v3?this.chipListRef:this.$refs.chipList,this.currentDir=void 0!==this.$props.dir?this.$props.dir:this.$el&&"rtl"===getComputedStyle(this.$el).direction||!1,this.isRtl="rtl"===this.currentDir},computed:{computedDataItems:function(){return this.$props.dataItems||this.currentDataItems},computedValue:function(){return this.$props.value||this.currentValue.value},items:function(){return this.computedDataItems.reduce(this.itemsReducer,[])}},methods:{handleDispatchSelection:function(e){var t=Object(o.b)(this.computedValue,d(d({},e),{selection:this.$props.selection,state:this.computedValue}));this.handleChange(t,e.event),this.currentValue.value=t},handleDispatchFocus:function(e){var t=Object(s.b)(e.payload,d(d({},e),{items:this.items}));this.currentFocused.value=t},handleDispatchDataItems:function(e){var t=Object(a.b)(this.computedDataItems,d(d({},e),{state:this.computedDataItems,valueField:this.$props.valueField}));this.handleDataChange(t,e.event),this.currentDataItems=t},handleChange:function(e,t){this.$el&&this.$emit("change",{value:e,target:this.$el,event:t})},handleDataChange:function(e,t){this.$el&&this.$emit("datachange",{value:e,target:this.$el,event:t})},itemsReducer:function(e,t){return e.push(t[this.$props.valueField||this.$props.valueField]),e}},setup:h?function(){return{v3:!!h,chipListRef:p(null)}}:void 0,render:function(e){var t,i=this,n=h||e,o=this.$props.size;return n("div",{ref:this.v3?function(e){i.chipListRef=e}:"chipList",role:"listbox",attrs:this.v3?void 0:{role:"listbox",id:this.$props.id,dir:this.currentDir,tabIndex:Object(r.getTabIndex)(this.$props.tabIndex,this.$props.disabled,void 0),"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy},id:this.$props.id,dir:this.currentDir,style:this.$props.style,tabIndex:Object(r.getTabIndex)(this.$props.tabIndex,this.$props.disabled,void 0),class:Object(r.classNames)("k-chip-list",(t={},t["k-chip-list-"+(r.kendoThemeMaps.sizeMap[o]||o)]=o,t["k-rtl"]="rtl"===this.currentDir,t["k-selection-single"]="single"===this.$props.selection,t["k-selection-multiple"]="multiple"===this.$props.selection,t["k-disabled"]=this.$props.disabled,t)),"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy},[this.computedDataItems.map((function(e){var t=r.templateRendering.call(this,this.$props.chip,r.getListeners.call(this)),i=n(l.a,{role:"option",attrs:this.v3?void 0:{role:"option",dataItem:e,text:e[this.$props.textField],value:e[this.$props.valueField],size:this.$props.size,rounded:this.$props.rounded,fillMode:this.$props.fillMode},dataItem:e,key:e[this.$props.valueField],text:e[this.$props.textField],value:e[this.$props.valueField],size:this.$props.size,rounded:this.$props.rounded,fillMode:this.$props.fillMode});return r.getTemplate.call(this,{h:n,template:t,defaultRendering:i,additionalProps:{dataItem:e,key:e[this.$props.valueField],text:e[this.$props.textField],value:e[this.$props.valueField],size:this.$props.size}})}),this)])}},m=f},function(e,t,i){"use strict";i.d(t,"a",(function(){return v})),i.d(t,"b",(function(){return m}));var n=i(1),r=i(23),o=i(0),s=i(46),a=i(47),l=i(13),u=i(19),d=i(10),c=function(){return(c=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},h=n,p=h.h,f=h.ref,m={name:"KendoSplitButton",emits:{focus:null,blur:null,buttonclick:null,itemclick:null,open:null,close:null},props:{accessKey:String,text:String,items:{type:Array,default:function(){return[]}},textField:String,tabIndex:Number,disabled:Boolean,icon:String,size:{type:String,default:"medium"},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","link","outline","solid"].includes(e)}},themeColor:{type:String,default:"base",validator:function(e){return[null,"base","dark","error","info","inverse","inverse","light","primary","secondary","success","tertiary","warning"].includes(e)}},opened:{type:Boolean,default:void 0},iconClass:String,imageUrl:String,popupSettings:Object,itemRender:[String,Function,Object],item:[String,Function,Object],look:String,className:String,buttonClass:String,dir:String},data:function(){return{focused:!1,focusedIndex:-1,currentOpened:!1}},created:function(){this._blurTimeout=null,this._anchor=Object(o.guid)(),this.mainButton=null,this.guid=Object(o.guid)(),this.buttonsData=[],Object(o.validatePackage)(d.a)},mounted:function(){this.mainButton=this.$refs[this._anchor],(void 0===this.$props.dir&&this.isRtl()||this.computedOpened)&&this.$forceUpdate()},updated:function(){this.focused&&this.element()&&(this.mainButton=this.$refs[this._anchor],this.mainButton.focus())},computed:{computedOpened:function(){return void 0===this.$props.opened?this.currentOpened:this.$props.opened},wrapperClass:function(){return{"k-split-button":!0,"k-button-group":!0,"k-focus":this.focused}}},setup:p?function(){return{v3:!!p,kendoAnchorRef:f(null)}}:void 0,render:function(e){var t=this,i=this,n=p||e;this.buttonsData=this.$props.items;var a=this.isRtl(),d=a?"rtl":void 0,h=this.$props,f=h.tabIndex,m=h.disabled,v=function(){var e=this.$props,t=e.item,i=e.itemRender,r=e.textField;return this.buttonsData.length>0?this.buttonsData.map((function(e,a){var l="string"!=typeof e?c(c({},e),{render:o.templateRendering.call(this,e.render,o.getListeners.call(this))}):e;return n(s.a,{class:"k-menu-item",dataItem:l,attrs:this.v3?void 0:{dataItem:l,textField:r,focused:this.focusedIndex===a,render:o.templateRendering.call(this,i,o.getListeners.call(this)),item:t,index:a,id:this.guid+"-"+a},textField:r,focused:this.focusedIndex===a,onClick:this.onItemClick,on:this.v3?void 0:{click:this.onItemClick,down:this.onItemDown},onDown:this.onItemDown,render:o.templateRendering.call(this,i,o.getListeners.call(this)),item:t,key:a,index:a,id:this.guid+"-"+a})}),this):null};return n("div",{class:this.wrapperClass,onKeydown:this.onKeyDown,on:this.v3?void 0:{keydown:this.onKeyDown,focusin:this.onFocus,focusout:this.onBlur},onFocusin:this.onFocus,onFocusout:this.onBlur,dir:d,attrs:this.v3?void 0:{dir:d}},[n(r.a,{size:this.$props.size,attrs:this.v3?void 0:{size:this.$props.size,rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,disabled:m||void 0,tabIndex:f,accessKey:this.$props.accessKey,icon:this.$props.icon,iconClass:this.$props.iconClass,imageUrl:this.$props.imageUrl,look:this.$props.look,dir:d,type:"button","aria-disabled":m,"aria-haspopup":!0,"aria-expanded":this.computedOpened,"aria-label":this.$props.text+" splitbutton","aria-owns":this.guid,"aria-activedescendant":void 0!==this.focusedIndex&&this.focusedIndex>=0?this.guid+"-"+this.focusedIndex:void 0},rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,onClick:function(e){return i.onItemClick(e,-1)},on:this.v3?void 0:{click:function(e){return i.onItemClick(e,-1)}},disabled:m||void 0,tabIndex:f,accessKey:this.$props.accessKey,class:this.$props.buttonClass,icon:this.$props.icon,iconClass:this.$props.iconClass,imageUrl:this.$props.imageUrl,look:this.$props.look,dir:d,ref:this._anchor,type:"button","aria-disabled":m,"aria-haspopup":!0,"aria-expanded":this.computedOpened,"aria-label":this.$props.text+" splitbutton","aria-owns":this.guid,"aria-activedescendant":void 0!==this.focusedIndex&&this.focusedIndex>=0?this.guid+"-"+this.focusedIndex:void 0},this.v3?function(){return[t.$props.text]}:[t.$props.text]),n(r.a,{size:this.$props.size,attrs:this.v3?void 0:{size:this.$props.size,rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,icon:"arrow-s",disabled:m||void 0,tabIndex:-1,look:this.$props.look,dir:d,"aria-label":"menu toggling button"},rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,icon:"arrow-s",disabled:m||void 0,tabIndex:-1,look:this.$props.look,onClick:this.onSplitPartClick,on:this.v3?void 0:{click:this.onSplitPartClick,mousedown:this.onDownSplitPart,pointerdown:this.onDownSplitPart},onMousedown:this.onDownSplitPart,onPointerdown:this.onDownSplitPart,dir:d,"aria-label":"menu toggling button"}),function(){var e=this,t=this.$props,i=t.popupSettings,r=void 0===i?{}:i,s=t.size;return n(l.a,{anchor:this._anchor,attrs:this.v3?void 0:{anchor:this._anchor,show:this.computedOpened,animate:r.animate,popupClass:Object(o.classNames)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||Object(u.a)(a),popupAlign:r.popupAlign||Object(u.b)(a)},show:this.computedOpened,animate:r.animate,popupClass:Object(o.classNames)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||Object(u.a)(a),popupAlign:r.popupAlign||Object(u.b)(a),style:a?{direction:"rtl"}:void 0},this.v3?function(){return[n("ul",{class:"k-group k-menu-group k-reset k-menu-group-"+(o.kendoThemeMaps.sizeMap[s]||s),role:"menu",attrs:e.v3?void 0:{role:"menu",id:e.guid},id:e.guid},[v.call(e)])]}:[n("ul",{class:"k-group k-menu-group k-reset k-menu-group-"+(o.kendoThemeMaps.sizeMap[s]||s),role:"menu",attrs:e.v3?void 0:{role:"menu",id:e.guid},id:e.guid},[v.call(e)])])}.call(this)])},methods:{element:function(){return this.mainButton},onKeyDown:function(e){if(e.altKey)this.computedOpened||e.keyCode!==o.Keys.down?this.computedOpened&&e.keyCode===o.Keys.up&&(this.dispatchPopupEvent(e,!1),this.focusedIndex=-1,this.currentOpened=!1):(this.dispatchPopupEvent(e,!0),this.focusedIndex=0,this.currentOpened=!0);else{var t=void 0;if(e.keyCode===o.Keys.enter||e.keyCode===o.Keys.space?(e.preventDefault(),this.dispatchClickEvent(e,this.focusedIndex),void 0!==this.focusedIndex&&this.focusedIndex>=0&&(t={focusedIndex:this.computedOpened?-1:0,currentOpened:!this.computedOpened},this.dispatchPopupEvent(e,t.currentOpened))):this.computedOpened&&e.keyCode===o.Keys.esc&&(t={focusedIndex:-1,currentOpened:!1},this.dispatchPopupEvent(e,t.currentOpened)),this.computedOpened){var i=Object(a.a)(this.focusedIndex,e.keyCode,e.altKey,this.buttonsData.length);i!==this.focusedIndex&&((t=t||{}).focusedIndex=i);var n=e.keyCode===o.Keys.up||e.keyCode===o.Keys.down||e.keyCode===o.Keys.left||e.keyCode===o.Keys.right;!e.altKey&&n&&e.preventDefault()}t&&(this.focusedIndex=t.focusedIndex,this.focused=t.focused,void 0!==t.currentOpened&&(this.currentOpened=t.currentOpened))}},onFocus:function(e){this.focused||(this.$emit("focus",e,this,void 0),this.focused=!0),this.focusedIndex=-1,clearTimeout(this._blurTimeout)},onItemClick:function(e,t){var i=this.computedOpened;i&&(this.focusedIndex=0,this.currentOpened=!1),this.dispatchClickEvent(e,t),i&&this.dispatchPopupEvent(e,!1)},onBlur:function(e){clearTimeout(this._blurTimeout),this.createBlurTimeout(e)},createBlurTimeout:function(e){var t=this,i=this;this._blurTimeout=setTimeout((function(){o.canUseDOM&&document.activeElement!==i.mainButton&&(i.focused=!1,i.focusedIndex=-1,i.$emit("blur",e,t,void 0),i.computedOpened&&(i.currentOpened=!1,i.dispatchPopupEvent(e,!1)))}),200)},dispatchClickEvent:function(e,t){this.isItemDisabled(t)||(-1===t?this.$emit("buttonclick",e,this,void 0):this.$emit("itemclick",{event:e,component:this,item:this.buttonsData[t],itemIndex:t}))},onSplitPartClick:function(e){if(this.buttonsData.length){var t=!this.computedOpened;this.dispatchPopupEvent(e,t),this.focusedIndex=t?0:-1,this.currentOpened=t,this.focused=!0}},onDownSplitPart:function(e){e.preventDefault(),this.element()&&document.activeElement!==this.element()&&this.element().focus()},onItemDown:function(e){document.activeElement===this.element()&&e.preventDefault()},dispatchPopupEvent:function(e,t){this.$emit(t?"open":"close",e,this,void 0)},isItemDisabled:function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.$props.disabled},isRtl:function(){return void 0!==this.$props.dir?"rtl"===this.$props.dir:!!this.$el&&"rtl"===getComputedStyle(this.$el).direction}}},v=m},function(e,t,i){"use strict";i.d(t,"a",(function(){return v})),i.d(t,"b",(function(){return m}));var n=i(1),r=i(23),o=i(0),s=i(47),a=i(46),l=i(13),u=i(19),d=i(10),c=function(){return(c=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},h=n,p=h.h,f=h.ref,m={name:"KendoDropDownButton",emits:{focus:null,blur:null,itemclick:null,open:null,close:null},props:{accessKey:String,primary:Boolean,items:{type:Array,default:function(){return[]}},text:String,textField:String,tabIndex:Number,disabled:Boolean,icon:String,iconClass:String,imageUrl:String,popupSettings:Object,itemRender:[String,Object,Function],item:Function,size:{type:String,default:"medium"},shape:{type:String,default:"rectangle",validator:function(e){return[null,"rectangle","square"].includes(e)}},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","link","outline","solid"].includes(e)}},themeColor:{type:String,default:"base",validator:function(e){return[null,"base","dark","error","info","inverse","inverse","light","primary","secondary","success","tertiary","warning"].includes(e)}},opened:{type:Boolean,default:void 0},look:{type:String,validator:function(e){return["default","flat","outline"].includes(e)}},buttonClass:String,dir:String},created:function(){this._blurTimeout=null,this._anchor=Object(o.guid)(),this.wrapper=null,this.mainButton=null,this.guid=Object(o.guid)(),this.buttonsData=[],Object(o.validatePackage)(d.a)},mounted:function(){this.mainButton=this.$refs[this._anchor],(void 0===this.$props.dir&&this.isRtl()||this.computedOpened)&&this.$forceUpdate()},updated:function(){this.focused&&this.element()&&(this.mainButton=this.$refs[this._anchor],this.mainButton.focus())},data:function(){return{currentOpened:!1,focused:!1,focusedIndex:-1}},computed:{computedOpened:function(){return void 0===this.$props.opened?this.currentOpened:this.$props.opened},wrapperClass:function(){return{"k-dropdown-button":!0,"k-focus":this.focused}}},setup:p?function(){return{v3:!!p,kendoAnchorRef:f(null)}}:void 0,render:function(e){var t=this,i=p||e,n=this.isRtl(),s=n?"rtl":void 0,d=this.$props,h=d.tabIndex,f=d.disabled;this.buttonsData=this.$props.items;var m=function(){var e=this.$props,t=e.item,n=e.itemRender,r=e.textField;return this.buttonsData.length>0?this.buttonsData.map((function(e,s){var l="string"!=typeof e?c(c({},e),{render:o.templateRendering.call(this,e.render,o.getListeners.call(this))}):e;return i(a.a,{class:"k-menu-item",dataItem:l,attrs:this.v3?void 0:{dataItem:l,textField:r,focused:this.focusedIndex===s,render:o.templateRendering.call(this,n,o.getListeners.call(this)),item:t,index:s,id:this.guid+"-"+s},textField:r,focused:this.focusedIndex===s,onClick:this.onItemClick,on:this.v3?void 0:{click:this.onItemClick,down:this.onItemDown},onDown:this.onItemDown,render:o.templateRendering.call(this,n,o.getListeners.call(this)),item:t,index:s,key:s,id:this.guid+"-"+s})}),this):null};return i("div",{class:this.wrapperClass,onKeydown:this.onKeyDown,on:this.v3?void 0:{keydown:this.onKeyDown,focusin:this.onFocus,focusout:this.onBlur},onFocusin:this.onFocus,onFocusout:this.onBlur,dir:s,attrs:this.v3?void 0:{dir:s}},[i(r.a,{size:this.$props.size,attrs:this.v3?void 0:{size:this.$props.size,shape:this.$props.shape,rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,disabled:f||void 0,tabIndex:h,accessKey:this.$props.accessKey,icon:this.$props.icon,iconClass:this.$props.iconClass,imageUrl:this.$props.imageUrl,look:this.$props.look,primary:this.$props.primary,dir:s,type:"button","aria-disabled":f,"aria-haspopup":!0,"aria-expanded":this.computedOpened,"aria-label":this.$props.text+" dropdownbutton","aria-owns":this.guid,"aria-activedescendant":void 0!==this.focusedIndex&&this.focusedIndex>=0?this.guid+"-"+this.focusedIndex:void 0},shape:this.$props.shape,rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,onClick:this.onClickMainButton,on:this.v3?void 0:{click:this.onClickMainButton,mousedown:this.mouseDown},onMousedown:this.mouseDown,disabled:f||void 0,tabIndex:h,accessKey:this.$props.accessKey,icon:this.$props.icon,iconClass:this.$props.iconClass,class:this.$props.buttonClass,imageUrl:this.$props.imageUrl,look:this.$props.look,primary:this.$props.primary,dir:s,ref:this._anchor,type:"button","aria-disabled":f,"aria-haspopup":!0,"aria-expanded":this.computedOpened,"aria-label":this.$props.text+" dropdownbutton","aria-owns":this.guid,"aria-activedescendant":void 0!==this.focusedIndex&&this.focusedIndex>=0?this.guid+"-"+this.focusedIndex:void 0},this.v3?function(){return[t.$props.text]}:[t.$props.text]),function(){var e=this,t=this.$props,r=t.popupSettings,s=void 0===r?{}:r,a=t.size;return i(l.a,{anchor:this._anchor,attrs:this.v3?void 0:{anchor:this._anchor,show:this.computedOpened,animate:s.animate,popupClass:Object(o.classNames)("k-menu-popup",s.popupClass),anchorAlign:s.anchorAlign||Object(u.a)(n),popupAlign:s.popupAlign||Object(u.b)(n)},show:this.computedOpened,animate:s.animate,popupClass:Object(o.classNames)("k-menu-popup",s.popupClass),anchorAlign:s.anchorAlign||Object(u.a)(n),popupAlign:s.popupAlign||Object(u.b)(n),style:n?{direction:"rtl"}:void 0},this.v3?function(){return[i("ul",{class:"k-group k-menu-group k-reset k-menu-group-"+(o.kendoThemeMaps.sizeMap[a]||a),role:"menu",attrs:e.v3?void 0:{role:"menu",id:e.guid},id:e.guid},[m.call(e)])]}:[i("ul",{class:"k-group k-menu-group k-reset k-menu-group-"+(o.kendoThemeMaps.sizeMap[a]||a),role:"menu",attrs:e.v3?void 0:{role:"menu",id:e.guid},id:e.guid},[m.call(e)])])}.call(this)])},methods:{element:function(){return this.mainButton},onKeyDown:function(e){if(e.altKey)this.computedOpened||e.keyCode!==o.Keys.down?this.computedOpened&&e.keyCode===o.Keys.up&&(this.dispatchPopupEvent(e,!1),this.focusedIndex=-1,this.currentOpened=!1):(this.dispatchPopupEvent(e,!0),this.focusedIndex=0,this.currentOpened=!0);else if(e.keyCode===o.Keys.enter||e.keyCode===o.Keys.space?(void 0!==this.focusedIndex&&this.focusedIndex>=0&&this.dispatchClickEvent(e,this.focusedIndex),e.preventDefault(),this.focusedIndex=this.computedOpened?-1:0,this.currentOpened=!this.computedOpened,this.dispatchPopupEvent(e,this.currentOpened)):this.computedOpened&&e.keyCode===o.Keys.esc&&(this.focusedIndex=-1,this.currentOpened=!1,this.dispatchPopupEvent(e,this.currentOpened)),this.computedOpened){var t=Object(s.a)(this.focusedIndex,e.keyCode,e.altKey,this.buttonsData.length);this.focusedIndex=t;var i=e.keyCode===o.Keys.up||e.keyCode===o.Keys.down||e.keyCode===o.Keys.left||e.keyCode===o.Keys.right;!e.altKey&&i&&e.preventDefault()}},onFocus:function(e){this.focused||(this.focused=!0,this.$emit("focus",e,this,void 0)),this.focusedIndex=this.computedOpened?0:-1,clearTimeout(this._blurTimeout)},onBlur:function(e){clearTimeout(this._blurTimeout),this.createBlurTimeout(e)},createBlurTimeout:function(e){var t=this;this._blurTimeout=setTimeout((function(){o.canUseDOM&&document.activeElement!==t.$el&&(t.focused=!1,t.focusedIndex=-1,t.$emit("blur",e,t,void 0),t.computedOpened&&(t.currentOpened=!1,t.dispatchPopupEvent(e,!1)))}),200)},onItemClick:function(e,t){this.focusedIndex=-1,this.currentOpened=!1,this.dispatchClickEvent(e,t),this.dispatchPopupEvent(e,!1)},onItemDown:function(e){document.activeElement===this.element()&&e.preventDefault()},mouseDown:function(e){e.preventDefault()},dispatchClickEvent:function(e,t){this.isItemDisabled(t)||this.$emit("itemclick",{event:e,item:this.buttonsData[t],itemIndex:t})},onClickMainButton:function(e){if(this.buttonsData.length){var t=!this.computedOpened;this.currentOpened=t,this.focused=!0,this.focusedIndex=t?0:-1,this.dispatchPopupEvent(e,t)}},dispatchPopupEvent:function(e,t){this.$emit(t?"open":"close",e,this,void 0)},isItemDisabled:function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.$props.disabled},isRtl:function(){return void 0!==this.$props.dir?"rtl"===this.$props.dir:!!this.$el&&"rtl"===getComputedStyle(this.$el).direction}}},v=m},function(e,t,i){"use strict";i.d(t,"a",(function(){return d})),i.d(t,"b",(function(){return u}));var n=i(1),r=i(0),o=i(26),s=i(10),a=function(){return(a=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},l=n.h,u={name:"KendoToolbar",props:{tabIndex:{type:Number,default:0},dir:String,keyboardNavigation:{type:Boolean,default:!0},buttons:{type:Array,default:function(){}}},created:function(){this.offsetHeight=0,this.offsetWidth=0,this.currentButtons=[],this.focusedSelector=this.selectors.map((function(e){return e+":focus"})).join(","),Object(r.validatePackage)(s.a)},computed:{selectors:function(){return this.$props.buttons||o.c}},mounted:function(){window.addEventListener("resize",this.onWindowResize);var e=this.$el;e&&(this.offsetWidth=e.offsetWidth,this.offsetHeight=e.offsetHeight,!1!==this.$props.keyboardNavigation&&(this.currentButtons=this.getCurrentButtons(),this.setTabIndex(0)))},updated:function(){this.$el&&!1!==this.$props.keyboardNavigation&&(this.currentButtons=this.getCurrentButtons(),this.setTabIndex(this.focusedIndex()))},destroyed:l?void 0:function(){window.removeEventListener("resize",this.onWindowResize),this.currentButtons.length=0},unmounted:function(){window.removeEventListener("resize",this.onWindowResize),this.currentButtons.length=0},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=Object(r.getDefaultSlots)(this);return t("div",{class:"k-widget k-toolbar",role:"toolbar",attrs:this.v3?void 0:{role:"toolbar",dir:this.$props.dir},dir:this.$props.dir,onKeydown:this.onKeyDown,on:this.v3?void 0:{keydown:this.onKeyDown}},[i])},methods:{getCurrentButtons:function(){return this.$el?Array.from(this.$el.querySelectorAll(this.selectors.join(","))):[]},getInternalButtons:function(){return this.$el?Array.from(this.$el.querySelectorAll(o.b)):[]},focusedIndex:function(){var e=this.$el&&this.$el.querySelector(this.focusedSelector);return Math.max(0,this.currentButtons.findIndex((function(t){return t===e})))},setTabIndex:function(e){var t=this.$props.tabIndex;this.currentButtons.forEach((function(i,n){i.tabIndex=n===e?t:-1})),this.getInternalButtons().forEach((function(e){e.tabIndex=-1}))},onKeyDown:function(e){if(!1!==this.$props.keyboardNavigation){var t=e.target;if((e.keyCode===r.Keys.left||e.keyCode===r.Keys.right)&&!e.defaultPrevented&&-1!==this.currentButtons.findIndex((function(e){return e===t}))){var i=this.focusedIndex();e.keyCode===r.Keys.left?this.focusButton(i,i-1):this.focusButton(i,i+1)}}},focusButton:function(e,t){var i=this.$props.tabIndex,n=this.currentButtons[t];if(n){n.tabIndex=i,n.focus();var r=this.currentButtons[e];r&&(r.tabIndex=-1)}},onWindowResize:function(e){var t=this.$el;if(t){var i=t.offsetWidth,n=t.offsetHeight;if(this.offsetWidth!==i||this.offsetHeight!==n){this.offsetWidth=i,this.offsetHeight=n;var r={offsetWidth:this.offsetWidth,offsetHeight:this.offsetHeight};this.$emit("resize",a(a({target:this},r),{nativeEvent:e}))}}}}},d=u},function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return s}));var n=i(1),r=i(31),o=n.h,s={name:"KendoToolbarItem",setup:o?function(){return{v3:!!o}}:void 0,render:function(e){return(o||e)(r.a,{class:"k-separator"})}},a=s},function(e,t,i){"use strict";i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return o}));var n=i(1),r=n.h,o={name:"KendoToolbarItem",setup:r?function(){return{v3:!!r}}:void 0,render:function(e){return(r||e)("span",{class:"k-spacer"})}},s=o},function(e,t,i){"use strict";var n=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchSelectedItems=t.ITEMS_SELECT_ACTION=void 0;var r,o=i(7);!function(e){e.select="ITEMS_SELECT_SELECT",e.selectNext="ITEMS_SELECT_SELECT_NEXT",e.selectPrev="ITEMS_SELECT_SELECT_PREV",e.reset="ITEMS_SELECT_RESET",e.add="ITEMS_SELECT_ADD",e.remove="ITEMS_SELECT_REMOVE"}(r=t.ITEMS_SELECT_ACTION||(t.ITEMS_SELECT_ACTION={})),t.dispatchSelectedItems=function(e,t){switch(e.type){case r.select:if(!e.item)return;this.selectedItems=[e.item];break;case r.selectNext:if(!e.item||!e.item.current||!this.items)return;(i=o.findNextItem(e.item,this.items,e.ignoreIsAllDay,!1))&&(t.preventDefault(),this.selectedItems=[i]);break;case r.selectPrev:if(!e.item||!e.item.current||!this.items)return;var i;(i=o.findNextItem(e.item,this.items,e.ignoreIsAllDay,!0))&&(t.preventDefault(),this.selectedItems=[i]);break;case r.reset:this.selectedItems=[];break;case r.add:if(!e.item)return;this.selectedItems.some((function(t){return t===e.item}))||(this.selectedItems=n(this.selectedItems,[e.item]));break;case r.remove:if(!e.item)return;this.selectedItems=n(this.selectedItems.filter((function(t){return t!==e.item})))}}},function(e,t,i){"use strict";var n,r=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchSelectedSlots=t.SLOTS_SELECT_ACTION=void 0,function(e){e.select="SLOTS_SELECT_SELECT",e.reset="SLOTS_SELECT_RESET",e.add="SLOTS_SELECT_ADD"}(n=t.SLOTS_SELECT_ACTION||(t.SLOTS_SELECT_ACTION={})),t.dispatchSelectedSlots=function(e){switch(e.type){case n.select:if(!e.slot)return;this.selectedSlots([e.slot]);break;case n.reset:this.selectedSlots([]);break;case n.add:if(!e.slot)return;this.selectedSlots.some((function(t){return t===e.slot}))||this.selectedSlots(r(this.selectedSlots,[e.slot]))}}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.HorizontalResourceIteratorVue2=t.HorizontalResourceIterator=t.DefaultRowContent=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(20)),u=i(14),d=i(59),c=i(0),h={name:"KendoHorizontalResourceIterator",props:{group:Object,resources:Array,nested:Boolean,rowContent:[String,Function,Object],childRowContent:[String,Function,Object],rowContentProps:{type:Object,default:function(){return{}}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var i=a||e,n=this.$props,r=n.nested,o=n.rowContentProps,s=this.$props.rowContent||t.DefaultRowContent,h=this.$props.childRowContent||s,p=l.toGroupResources(this.$props.group,this.$props.resources),f=c.getDefaultSlots(this),m=function(e){e.children;var t=l.expandResources(e.resources,e.resources.length-1),n=e.childRowContent,r=e.resources.length>0;return i("div",{class:"k-scheduler-row"},[i(n,{timeHeaderCell:e.rowContentProps.timeHeaderCell,attrs:this.v3?void 0:{timeHeaderCell:e.rowContentProps.timeHeaderCell,isMaster:e.rowContentProps.isMaster,isLast:e.rowContentProps.isLast,contentSlot:e.rowContentProps.contentSlot,resources:e.resources},isMaster:e.rowContentProps.isMaster,isLast:e.rowContentProps.isLast,contentSlot:e.rowContentProps.contentSlot,resources:e.resources}),(t.length?t:u.EMPTY_RESOURCE).map((function(e,t){return i(d.SchedulerResourceIteratorContext,{key:t,resource:e,attrs:this.v3?void 0:{resource:e,groupIndex:r?t:0},groupIndex:r?t:0},this.v3?function(){return[f]}:[f])}),this)])};return i("div",{class:"k-scheduler-group k-group-horizontal"},[r?function e(t){var n=t.children;if(t.groupIndex===t.resources.length)return m.call(this,{resources:t.resources,rowContent:t.rowContent,children:n,nested:t.nested,groupIndex:t.groupIndex,rowContentProps:t.rowContentProps,childRowContent:t.childRowContent});var o=l.expandResources(t.resources,t.groupIndex),a=t.rowContent;return[t.nested?i("div",{class:"k-scheduler-row"},[i(a,{resources:t.resources,attrs:this.v3?void 0:{resources:t.resources,groupIndex:t.groupIndex,timeHeaderCell:t.rowContentProps.timeHeaderCell,isMaster:t.rowContentProps.isMaster,isLast:t.rowContentProps.isLast,contentSlot:t.rowContentProps.contentSlot},groupIndex:t.groupIndex,timeHeaderCell:t.rowContentProps.timeHeaderCell,isMaster:t.rowContentProps.isMaster,isLast:t.rowContentProps.isLast,contentSlot:t.rowContentProps.contentSlot}),o.map((function(e,t){return i("div",{key:t,class:"k-scheduler-cell k-heading-cell"},[e.text])}))]):i(a,{resources:t.resources,attrs:this.v3?void 0:{resources:t.resources,groupIndex:t.groupIndex,timeHeaderCell:t.rowContentProps.timeHeaderCell,isMaster:t.rowContentProps.isMaster,isLast:t.rowContentProps.isLast,contentSlot:t.rowContentProps.contentSlot},groupIndex:t.groupIndex,timeHeaderCell:t.rowContentProps.timeHeaderCell,isMaster:t.rowContentProps.isMaster,isLast:t.rowContentProps.isLast,contentSlot:t.rowContentProps.contentSlot})(o.map((function(e,t){return i("div",{key:t,class:"k-scheduler-cell k-heading-cell"},[e.text])}),this)),e.call(this,{resources:p,children:f,nested:r,rowContent:s,rowContentProps:t.rowContentProps,childRowContent:h,groupIndex:t.groupIndex+1})]}.call(this,{resources:p,children:f,nested:r,groupIndex:0,rowContent:s,rowContentProps:o,childRowContent:h}):m.call(this,{resources:p,children:f,rowContent:s,nested:!!r,groupIndex:0,rowContentProps:o,childRowContent:h})])}};t.HorizontalResourceIteratorVue2=h,t.DefaultRowContent=function(e){return e.children};var p=h;t.HorizontalResourceIterator=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerResourceIteratorContextVue2=t.SchedulerResourceIteratorContext=void 0;var s=o(i(1)).h,a=i(0),l={name:"KendoSchedulerResourceIteratorContext",inheritAttrs:!1,props:{resource:{type:Object,default:function(){return{}}},groupIndex:{type:Number,default:0}},data:function(){return{ri:{resource:this.resource,groupIndex:this.groupIndex}}},provide:function(){return{ri:this.ri}},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){return(s||e)("div",{class:"k-scheduler-cell k-group-cell"},[a.getDefaultSlots(this)])}};t.SchedulerResourceIteratorContextVue2=l;var u=l;t.SchedulerResourceIteratorContext=u},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimeHeaderCellVue2=t.TimeHeaderCell=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(2),d={name:"KendoTimeHeaderCell",props:{as:[String,Function,Object],format:{type:[String,Object],default:"t"},date:[Date,Object],start:[Date,Object],end:[Date,Object]},inject:{kendoIntlService:{default:null}},setup:a?function(){return{v3:!!a,kendoIntlService:l("kendoIntlService",{})}}:void 0,render:function(e){return(a||e)("div",{class:"k-scheduler-cell k-heading-cell"},[u.provideIntlService(this).formatDate(this.$props.date,this.$props.format)])}};t.TimeHeaderCellVue2=d;var c=d;t.TimeHeaderCell=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toSlots=void 0;var n=i(5),r=i(14);t.toSlots=function(e,t,i){var o=t.step,s=i.groups,a=i.ranges,l=[];return s.forEach((function(e){a.forEach((function(t){for(var i=t.zonedStart,s=t.zonedEnd,a=s.timezoneOffset-i.timezoneOffset,u=i.clone(),d=0,c=a<0?a*r.MS_PER_MINUTE*-1:0;u.getTime()<s.getTime();d++,u=u.addTime(o)){var h=u.clone(),p=u.addTime(o),f=(p.timezoneOffset-h.timezoneOffset)*r.MS_PER_MINUTE,m=o<Math.abs(f);c&&m&&(c-=o,u=u.addTime(-o));var v=new Date(h.getTime()),g={refTo:{},index:d,end:new Date(p.getTime()),start:v,zonedStart:h,zonedEnd:p,range:t,group:e,items:[],isAllDay:n.MS_PER_DAY<=o};l.push(g)}}))})),l}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerEditTaskVue2=t.SchedulerEditTask=void 0;var a=o(i(1)),l=a.h,u=(a.inject,i(84)),d=i(18),c=i(7),h=i(49),p={name:"KendoSchedulerEditTask",props:{viewTask:[String,Function,Object],removeDialog:[String,Function,Object],showRemoveDialog:Boolean,removeItem:[String,Function,Object],occurrenceDialog:[String,Function,Object],task:[String,Function,Object],showOccurrenceDialog:Boolean,refTo:[Function,Object],id:String,tabIndex:Number,className:String,editable:[Object,Boolean],head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,isAllDay:Boolean,uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object},created:function(){},provide:function(){return{et:this.et,removeTask:this.handleRemoveItemChange,removeDialog:this.handleRemoveDialogChange,OccurrenceDialog:this.handleOccurrenceDialogChange}},data:function(){return{et:{removeItem:null,showRemoveDialog:!1,showOccurrenceDialog:!1},currentEditable:!1,series:null,currentData:null}},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=this.$props;i.refTo,i.viewTask,i.removeDialog,i.removeItem,i.onRemoveItemChange,i.occurrenceDialog,i.showOccurrenceDialog,i.onShowOccurrenceDialogChange,i.showRemoveDialog,i.onShowRemoveDialogChange,s(i,["refTo","viewTask","removeDialog","removeItem","onRemoveItemChange","occurrenceDialog","showOccurrenceDialog","onShowOccurrenceDialogChange","showRemoveDialog","onShowRemoveDialogChange"]);return this.currentEditable=d.useEditable(this.$props.editable),t(u.SchedulerViewTask,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.$props.tabIndex,head:this.$props.head,tail:this.$props.tail,order:this.$props.order,zonedStart:this.$props.zonedStart,zonedEnd:this.$props.zonedEnd,slots:this.$props.slots,group:this.$props.group,range:this.$props.range,isException:this.$props.isException,isRecurring:this.$props.isRecurring,isAllDay:this.$props.isAllDay,uid:this.$props.uid,start:this.$props.start,end:this.$props.end,originalStart:this.$props.originalStart,startTimezone:this.$props.startTimezone,endTimezone:this.$props.endTimezone,title:this.$props.title,description:this.$props.description,occurrenceId:this.$props.occurrenceId,recurrenceExceptions:this.$props.recurrenceExceptions,recurrenceRule:this.$props.recurrenceRule,recurrenceId:this.$props.recurrenceId,dataItem:this.$props.dataItem},tabIndex:this.$props.tabIndex,head:this.$props.head,tail:this.$props.tail,order:this.$props.order,zonedStart:this.$props.zonedStart,zonedEnd:this.$props.zonedEnd,slots:this.$props.slots,group:this.$props.group,range:this.$props.range,isException:this.$props.isException,isRecurring:this.$props.isRecurring,isAllDay:this.$props.isAllDay,uid:this.$props.uid,start:this.$props.start,end:this.$props.end,originalStart:this.$props.originalStart,startTimezone:this.$props.startTimezone,endTimezone:this.$props.endTimezone,title:this.$props.title,description:this.$props.description,occurrenceId:this.$props.occurrenceId,recurrenceExceptions:this.$props.recurrenceExceptions,recurrenceRule:this.$props.recurrenceRule,recurrenceId:this.$props.recurrenceId,dataItem:this.$props.dataItem,onRemoveClick:this.handleRemoveClick,on:this.v3?void 0:{removeClick:this.handleRemoveClick}})},methods:{setRemoveItem:function(e,t){this.removeItem=e,this.$emit("removeitemchange",{item:e,event:t})},setShowRemoveDialog:function(e,t){this.showREmoveDialog=e,this.$emit("showremovedialogchange",{show:e,event:t})},setShowOccurrenceDialog:function(e,t){this.showOccurrenceDialog=e,this.$emit("showoccurrencedialogchange",{show:e,event:t})},handleRemoveClick:function(e){this.currentEditable.remove&&(this.setRemoveItem(this.$props.dataItem,e),this.$props.isRecurring?this.setShowOccurrenceDialog(!0,e):this.setShowRemoveDialog(!0,e))},handleCancel:function(e){this.series=null,this.setRemoveItem(null,e),this.setShowRemoveDialog(!1,e),this.setShowOccurrenceDialog(!1,e)},handleRemoveConfirm:function(e){this.removeItem&&this.$emit("dataaction",{type:h.DATA_ACTION.remove,series:this.series,dataItem:this.removeItem}),this.setRemoveItem(null,e),this.setShowRemoveDialog(!1,e)},handleRemoveItemChange:function(e,t){this.setRemoveItem&&this.setRemoveItem(e,t)},handleRemoveDialogChange:function(e,t){this.setShowRemoveDialog&&this.setShowRemoveDialog(e,t)},handleOccurrenceDialogChange:function(e,t){this.setShowOccurrenceDialog&&this.setShowOccurrenceDialog(e,t)},handleOccurrenceClick:function(e){this.removeItem&&(this.series=!1,this.setRemoveItem(this.$props.dataItem,e),this.setShowRemoveDialog(!0,e)),this.setShowOccurrenceDialog(!1,e)},handleSeriesClick:function(e){if(this.removeItem){this.series=!0;var t=c.findMaster(this.removeItem,this.fields,this.currentData);this.setRemoveItem(t,e),this.setShowRemoveDialog(!0,e)}this.setShowOccurrenceDialog(!1,e)}}};t.SchedulerEditTaskVue2=p;var f=p;t.SchedulerEditTask=f},function(e,t,i){"use strict";i.r(t),i.d(t,"Dialog",(function(){return h})),i.d(t,"DialogVue2",(function(){return c})),i.d(t,"DialogActionsBar",(function(){return m})),i.d(t,"DialogActionsBarVue2",(function(){return f})),i.d(t,"Window",(function(){return I})),i.d(t,"WindowVue2",(function(){return D}));var n,r=i(1),o=i(0),s=i(3),a=r.h,l={props:{id:String,closeIcon:{type:Boolean,default:!0},title:String,titleRender:[String,Function,Object]},setup:a?function(){return{v3:!!a}}:void 0,methods:{onCloseButtonClick:function(e){this.$emit("closebuttonclick",e)}},render:function(e){var t,i=a||e,n=this.$props,r=n.id,l=n.closeIcon,u=n.titleRender,d=n.title;return t=o.getTemplate.call(this,{h:i,template:u,defaultRendering:d}),i("div",{class:"k-window-titlebar k-dialog-titlebar k-header",id:r,attrs:this.v3?void 0:{id:r}},[i("div",{class:"k-window-title k-dialog-title"},[t]),i("div",{class:"k-window-actions k-dialog-actions"},[l&&i(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",fillMode:"flat","aria-label":"Close",icon:"x"},fillMode:"flat","aria-label":"Close",icon:"x",onClick:this.onCloseButtonClick,on:this.v3?void 0:{click:this.onCloseButtonClick}})])])}},u={name:"@progress/kendo-vue-dialogs",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646140290,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},d=r.h,c={name:"KendoDialog",props:{title:String,titleRender:[String,Function,Object],id:String,dir:String,closeIcon:{type:Boolean,default:!0},width:[String,Number],height:[String,Number],minWidth:[String,Number]},created:function(){Object(o.validatePackage)(u),this.titleId=this.generateTitleId()},setup:d?function(){return{v3:!!d}}:void 0,methods:{handleCloseDialog:function(e){e.preventDefault(),this.$emit("close",{event:e,target:this})},handleKeyDown:function(e){e.keyCode===o.Keys.esc&&o.hasListener.call(this,"close")&&(e.preventDefault(),this.handleCloseDialog(e))},transformDimesion:function(e){return"string"==typeof e&&e.endsWith("px")?e:e+"px"},getActionBarIndex:function(e){return e.findIndex((function(e){return e&&e.tag&&-1!==e.tag.toLowerCase().indexOf("dialogactionsbar")||e.componentOptions&&e.componentOptions.tag&&-1!==e.componentOptions.tag.toLowerCase().indexOf("actions-bar")||e.type&&e.type.name&&-1!==e.type.name.toLowerCase().indexOf("dialogactionsbar")}))},generateTitleId:function(){return"dialog-title"+Object(o.guid)()}},render:function(e){var t=d||e,i=void 0!==this.$props.id?this.$props.id:this.titleId,n=this.$props,r=n.title,s=n.width,a=n.height,u=n.minWidth,c=n.dir,h=n.contentStyle,p=this.$props.titleRender?o.templateRendering.call(this,this.$props.titleRender,o.getListeners.call(this)):null,f=Object(o.getDefaultSlots)(this)||[];s=this.transformDimesion(s),a=this.transformDimesion(a),u=this.transformDimesion(u);var m,v=this.getActionBarIndex(f);-1!==v&&(m=f[v],f.splice(v,1));var g=void 0===this.$props.closeIcon||this.$props.closeIcon;return t("div",{class:"k-dialog-wrapper",onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown},tabIndex:0,attrs:this.v3?void 0:{tabIndex:0,dir:c},dir:c},[t("div",{class:"k-overlay"}),t("div",{"aria-labelledby":r||p?i:void 0,attrs:this.v3?void 0:{"aria-labelledby":r||p?i:void 0,role:"dialog"},class:"k-widget k-window k-dialog",role:"dialog",style:{width:s,height:a,minWidth:u}},[(r||p)&&t(l,{closeIcon:g,attrs:this.v3?void 0:{closeIcon:g,id:i,title:r,titleRender:p},onClosebuttonclick:this.handleCloseDialog,on:this.v3?void 0:{closebuttonclick:this.handleCloseDialog},id:i,title:r,titleRender:p}),t("div",{class:"k-content k-window-content k-dialog-content",style:h},[f]),m])])}},h=c,p=r.h,f={name:"DialogActionsBar",props:{layout:{type:String,default:"stretched"}},setup:p?function(){return{v3:!!p}}:void 0,computed:{wrapperClasses:function(){var e=this.$props.layout;return{"k-dialog-buttongroup":!0,"k-actions":!0,"k-hstack":!0,"k-justify-content-start":"start"===e,"k-justify-content-center":"center"===e,"k-justify-content-end":"end"===e,"k-justify-content-stretch":"stretched"===e}}},render:function(e){var t=p||e,i=Object(o.getDefaultSlots)(this);return t("div",{class:this.wrapperClasses},[i])}},m=f;!function(e){e.DEFAULT="DEFAULT",e.FULLSCREEN="FULLSCREEN",e.MINIMIZED="MINIMIZED"}(n||(n={}));var v=r.h,g={props:{id:String,stage:String,closeButton:[String,Function,Object],minimizeButton:[String,Function,Object],maximizeButton:[String,Function,Object],restoreButton:[String,Function,Object],title:String,titleRender:[String,Function,Object]},setup:v?function(){return{v3:!!v}}:void 0,methods:{onDoubleClick:function(e){this.$emit("doubleclick",e)},onMinimizeClick:function(e){this.$emit("minimizeclick",e)},onFullScreenClick:function(e){this.$emit("fullscreenclick",e)},onRestoreClick:function(e){this.$emit("restoreclick",e)},onCloseClick:function(e){this.$emit("closeclick",e)}},render:function(e){var t=v||e,i=this.$props,r=i.stage,a=i.title,l=i.titleRender,u=i.minimizeButton,d=i.maximizeButton,c=i.restoreButton,h=i.closeButton,p=o.getTemplate.call(this,{h:t,template:l,defaultRendering:a}),f=t(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"window-minimize",fillMode:"flat"},icon:"window-minimize",fillMode:"flat",onClick:this.onMinimizeClick,on:this.v3?void 0:{click:this.onMinimizeClick}}),m=o.getTemplate.call(this,{h:t,template:u,defaultRendering:f}),g=t(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"window-maximize",fillMode:"flat"},icon:"window-maximize",fillMode:"flat",onClick:this.onFullScreenClick,on:this.v3?void 0:{click:this.onFullScreenClick}}),y=o.getTemplate.call(this,{h:t,template:d,defaultRendering:g}),b=t(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"window-restore",fillMode:"flat"},icon:"window-restore",fillMode:"flat",onClick:this.onRestoreClick,on:this.v3?void 0:{click:this.onRestoreClick}}),k=o.getTemplate.call(this,{h:t,template:c,defaultRendering:b}),S=t(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"x",fillMode:"flat"},icon:"x",fillMode:"flat",onClick:this.onCloseClick,on:this.v3?void 0:{click:this.onCloseClick}}),w=o.getTemplate.call(this,{h:t,template:h,defaultRendering:S});return t("div",{class:"k-window-titlebar k-dialog-titlebar",style:{touchAction:"none"},onDblclick:this.onDoubleClick,on:this.v3?void 0:{dblclick:this.onDoubleClick}},[t("div",{class:"k-window-title"},[p]),t("div",{class:"k-window-actions"},[r===n.DEFAULT&&m,r===n.DEFAULT&&y,r!==n.DEFAULT&&k]),w])}},y=r.h,b=["n","e","s","w","se","sw","ne","nw"],k={name:"ResizeHandlers",emits:{resize:null},setup:y?function(){return{v3:!!y}}:void 0,methods:{onDrag:function(e,t){e.originalEvent.preventDefault(),this.$emit("resize",e,{end:!1,direction:t})},onRelease:function(e,t){e.originalEvent.preventDefault(),this.$emit("resize",e,{end:!0,direction:t})}},render:function(e){var t=y||e;return t("div",[b.map((function(e,i){var n=this;return t(o.Draggable,{key:i,onDrag:function(t){return n.onDrag(t,e)},on:this.v3?void 0:{drag:function(t){return n.onDrag(t,e)},release:function(t){return n.onRelease(t,e)}},onRelease:function(t){return n.onRelease(t,e)}},this.v3?function(){return[t("div",{class:"k-resize-handle k-resize-"+e,style:{display:"block",touchAction:"none"}})]}:[t("div",{class:"k-resize-handle k-resize-"+e,style:{display:"block",touchAction:"none"}})])}),this)])}},S=function(){return(S=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},w=r.h,D={name:"KendoWindow",emits:{resize:null,move:null,close:null,stagechange:null},props:{id:String,width:{type:[Number],default:void 0},height:{type:[Number],default:void 0},left:{type:[Number],default:void 0},windowStyle:Object,windowClass:String,top:{type:[Number],default:void 0},initialWidth:[Number],initialHeight:[Number],initialLeft:[Number],initialTop:[Number],minWidth:{type:[Number],default:120},minHeight:{type:[Number],default:100},resizable:{type:Boolean,default:!0},draggable:{type:Boolean,default:!0},modal:{type:Boolean,default:!1},doubleClickStageChange:{type:Boolean,default:!0},title:String,titleRender:[String,Function,Object],closeButton:[String,Function,Object],minimizeButton:[String,Function,Object],maximizeButton:[String,Function,Object],restoreButton:[String,Function,Object],shouldUpdateOnDrag:Boolean,stage:{type:String,validator:function(e){return-1!==["DEFAULT","MINIMIZED","FULLSCREEN"].indexOf(e)}}},setup:w?function(){return{v3:!!w}}:void 0,created:function(){Object(o.validatePackage)(u),this.windowCoordinatesState={leftBeforeAction:this.getInitialLeft(),topBeforeAction:this.getInitialTop(),widthBeforeAction:this.getInitialWidth(),heightBeforeAction:this.getInitialHeight()}},data:function(){return{currentStage:this.$props.stage||n.DEFAULT,isDragging:!1,currentTop:this.getInitialTop(),currentLeft:this.getInitialLeft(),currentWidth:this.getInitialWidth(),currentHeight:this.getInitialHeight()}},mounted:function(){window&&window.addEventListener("resize",this.handleBrowserWindowResize),this.$el&&(this.windowElement=this.$refs.windowElement)},destroyed:w?void 0:function(){window&&window.removeEventListener("resize",this.handleBrowserWindowResize)},unmounted:function(){window&&window.removeEventListener("resize",this.handleBrowserWindowResize)},computed:{computedTop:function(){return this.windowStage!==n.FULLSCREEN?Math.max(this.$props.top||this.currentTop,0):0},computedLeft:function(){return this.windowStage!==n.FULLSCREEN?Math.max(this.$props.left||this.currentLeft,0):0},computedWidth:function(){var e=this.$props.width||this.currentWidth;return this.windowStage===n.FULLSCREEN&&(e=window.innerWidth),e},computedHeight:function(){var e=this.$props.height||this.currentHeight;return this.windowStage===n.FULLSCREEN?e=window.innerHeight:this.windowStage===n.MINIMIZED&&(e=0),e},windowStage:function(){return this.$props.stage||this.currentStage}},methods:{onPress:function(e){var t=e;this.windowCoordinatesState.differenceLeft=t.pageX-this.computedLeft,this.windowCoordinatesState.differenceTop=t.pageY-this.computedTop},onDrag:function(e){var t=e;t.originalEvent.preventDefault(),this.windowStage!==n.FULLSCREEN&&this.$props.draggable&&(this.currentTop=Math.max(t.pageY-this.windowCoordinatesState.differenceTop,0),this.currentLeft=t.pageX-this.windowCoordinatesState.differenceLeft,this.isDragging=!0,this.dispatchMoveEvent("move",t,!0,!1))},onRelease:function(e){var t=e;this.windowStage!==n.FULLSCREEN&&this.$props.draggable&&this.dispatchMoveEvent("move",t,!0,!0),this.isDragging=!1},handleKeyDown:function(e){if(e.target===e.currentTarget){var t=this.$props.minWidth||120,i=this.$props.minHeight||100;if(e.ctrlKey&&this.$props.resizable){switch(e.keyCode){case o.Keys.up:e.preventDefault(),i<=this.computedHeight-5&&(this.currentHeight=this.currentHeight-5);break;case o.Keys.down:e.preventDefault(),this.currentHeight=this.currentHeight+5;break;case o.Keys.left:t<=this.computedWidth-5&&(this.currentWidth=this.currentWidth-5);break;case o.Keys.right:this.currentWidth=this.currentWidth+5;break;default:return}this.dispatchMoveEvent("resize",e,!1,void 0)}else if(e.altKey)switch(e.keyCode){case o.Keys.up:this.windowStage===n.MINIMIZED?(this.handleRestore(e),this.$emit("stagechange",e,this,{state:n.DEFAULT})):this.windowStage===n.DEFAULT&&(this.handleFullscreen(e),this.$emit("stagechange",e,this,{state:n.FULLSCREEN}));break;case o.Keys.down:this.windowStage===n.FULLSCREEN?(this.handleRestore(e),this.$emit("stagechange",e,this,{state:n.DEFAULT})):this.windowStage===n.DEFAULT&&(this.handleMinimize(e),this.$emit("stagechange",e,this,{state:n.MINIMIZED}))}else{if(!e.ctrlKey)switch(e.keyCode){case o.Keys.esc:return void this.handleCloseWindow(e);case o.Keys.up:e.preventDefault(),this.currentTop=this.currentTop-5;break;case o.Keys.down:e.preventDefault(),this.currentTop=this.currentTop+5;break;case o.Keys.left:e.preventDefault(),this.currentLeft=this.currentLeft-5;break;case o.Keys.right:e.preventDefault(),this.currentLeft=this.currentLeft+5;break;default:return}this.dispatchMoveEvent("move",e,!1,void 0)}}},getInitialTop:function(){if(void 0!==this.$props.top)return this.$props.top;if(void 0!==this.$props.initialTop)return this.$props.initialTop;var e=300;return void 0!==this.$props.height?e=this.$props.height:void 0!==this.$props.initialHeight&&(e=this.$props.initialHeight),window.innerHeight/2-e/2},getInitialLeft:function(){if(void 0!==this.$props.left)return this.$props.left;if(void 0!==this.$props.initialLeft)return this.$props.initialLeft;var e=300;return void 0!==this.$props.width?e=this.$props.width:void 0!==this.$props.initialWidth&&(e=this.$props.initialWidth),window.innerWidth/2-e/2},getInitialWidth:function(){var e=300;return void 0!==this.$props.width?e=this.$props.width:void 0!==this.$props.initialWidth&&(e=this.$props.initialWidth),e},getInitialHeight:function(){var e=300;return void 0!==this.$props.height?e=this.$props.height:void 0!==this.$props.initialHeight&&(e=this.$props.initialHeight),e},handleMinimize:function(e){e.preventDefault(),this.windowCoordinatesState.leftBeforeAction=this.computedLeft,this.windowCoordinatesState.topBeforeAction=this.computedTop,this.windowCoordinatesState.widthBeforeAction=this.computedWidth,this.windowCoordinatesState.heightBeforeAction=this.computedHeight,this.currentStage=n.MINIMIZED,this.currentHeight=0,this.$emit("stagechange",e,this,{state:n.MINIMIZED})},handleFullscreen:function(e){e.preventDefault(),this.windowCoordinatesState.leftBeforeAction=this.computedLeft,this.windowCoordinatesState.topBeforeAction=this.computedTop,this.windowCoordinatesState.widthBeforeAction=this.computedWidth,this.windowCoordinatesState.heightBeforeAction=this.computedHeight,this.currentLeft=0,this.currentTop=0,this.currentWidth=window.innerWidth,this.currentHeight=window.innerHeight,this.currentStage=n.FULLSCREEN,this.$emit("stagechange",e,this,{state:n.FULLSCREEN})},handleRestore:function(e){e.preventDefault(),this.windowStage===n.FULLSCREEN?(this.currentStage=n.DEFAULT,this.currentLeft=this.windowCoordinatesState.leftBeforeAction,this.currentTop=this.windowCoordinatesState.topBeforeAction,this.currentWidth=this.windowCoordinatesState.widthBeforeAction,this.currentHeight=this.windowCoordinatesState.heightBeforeAction):this.windowStage===n.MINIMIZED&&(this.currentStage=n.DEFAULT,this.currentHeight=this.windowCoordinatesState.heightBeforeAction),this.$emit("stagechange",e,this,{state:n.DEFAULT})},handleCloseWindow:function(e){e.preventDefault(),this.$emit("close",e,this,{state:void 0})},handleDoubleClick:function(e){this.$props.doubleClickStageChange&&(this.windowStage===n.FULLSCREEN||this.windowStage===n.MINIMIZED?this.handleRestore(e):this.handleFullscreen(e))},handleResize:function(e,t){var i=this.computedWidth,n=this.computedHeight,r=this.$props.minWidth||120,o=this.$props.minHeight||100,s=this.computedTop-e.pageY,a=this.computedLeft-e.pageX,l=e.pageX-this.computedLeft,u=e.pageY-this.computedTop;this.isDragging=!t.end,t.direction.indexOf("n")>=0&&o-(n+s)<0&&(this.currentTop=e.pageY,this.currentHeight=n+s),t.direction.indexOf("s")>=0&&o-u<0&&(this.currentHeight=u),t.direction.indexOf("w")>=0&&r-(i+a)<0&&(this.currentLeft=e.pageX,this.currentWidth=i+a),t.direction.indexOf("e")>=0&&r-l<0&&(this.currentWidth=l),this.dispatchMoveEvent("resize",e,!0,t.end)},dispatchMoveEvent:function(e,t,i,n){this.$emit(e,{event:t.event,drag:i,end:n,target:this,left:this.currentLeft,top:this.currentTop,width:this.currentWidth,height:this.currentHeight})},handleBrowserWindowResize:function(){this.windowStage===n.FULLSCREEN&&(this.currentWidth=window.innerWidth,this.currentHeight=window.innerHeight)}},render:function(e){var t=this,i=w||e,r=Object(o.classNames)("k-widget","k-window",this.$props.windowClass,{"k-window-minimized":"MINIMIZED"===this.currentStage}),s=this.$props.titleRender?o.templateRendering.call(this,this.$props.titleRender,o.getListeners.call(this)):null,a=this.$props.closeButton?o.templateRendering.call(this,this.$props.closeButton,o.getListeners.call(this)):null,l=this.$props.minimizeButton?o.templateRendering.call(this,this.$props.minimizeButton,o.getListeners.call(this)):null,u=this.$props.maximizeButton?o.templateRendering.call(this,this.$props.maximizeButton,o.getListeners.call(this)):null,d=this.$props.restoreButton?o.templateRendering.call(this,this.$props.restoreButton,o.getListeners.call(this)):null,c=Object(o.getDefaultSlots)(this);return i("div",[this.$props.modal&&i("div",{class:"k-overlay"}),i("div",{tabIndex:0,attrs:this.v3?void 0:{tabIndex:0},onFocus:function(e){return e.target.classList.add("k-state-focused")},on:this.v3?void 0:{focus:function(e){return e.target.classList.add("k-state-focused")},blur:function(e){return e.target.classList.remove("k-state-focused")},keydown:this.handleKeyDown},onBlur:function(e){return e.target.classList.remove("k-state-focused")},onKeydown:this.handleKeyDown,ref:"windowElement",class:r,style:S({top:this.computedTop+"px",left:this.computedLeft+"px",width:this.computedWidth+"px",height:this.computedHeight+"px"||!1},this.$props.windowStyle)},[i(o.Draggable,{onPress:this.onPress,on:this.v3?void 0:{press:this.onPress,drag:this.onDrag,release:this.onRelease},onDrag:this.onDrag,onRelease:this.onRelease,ref:"draggable"},this.v3?function(){return[i(g,{stage:t.windowStage,attrs:t.v3?void 0:{stage:t.windowStage,title:t.$props.title,titleRender:s,closeButton:a,minimizeButton:l,maximizeButton:u,restoreButton:d},title:t.$props.title,titleRender:s,onDoubleclick:t.handleDoubleClick,on:t.v3?void 0:{doubleclick:t.handleDoubleClick,minimizeclick:t.handleMinimize,fullscreenclick:t.handleFullscreen,restoreclick:t.handleRestore,closeclick:t.handleCloseWindow},onMinimizeclick:t.handleMinimize,onFullscreenclick:t.handleFullscreen,onRestoreclick:t.handleRestore,onCloseclick:t.handleCloseWindow,closeButton:a,minimizeButton:l,maximizeButton:u,restoreButton:d})]}:[i(g,{stage:t.windowStage,attrs:t.v3?void 0:{stage:t.windowStage,title:t.$props.title,titleRender:s,closeButton:a,minimizeButton:l,maximizeButton:u,restoreButton:d},title:t.$props.title,titleRender:s,onDoubleclick:t.handleDoubleClick,on:t.v3?void 0:{doubleclick:t.handleDoubleClick,minimizeclick:t.handleMinimize,fullscreenclick:t.handleFullscreen,restoreclick:t.handleRestore,closeclick:t.handleCloseWindow},onMinimizeclick:t.handleMinimize,onFullscreenclick:t.handleFullscreen,onRestoreclick:t.handleRestore,onCloseclick:t.handleCloseWindow,closeButton:a,minimizeButton:l,maximizeButton:u,restoreButton:d})]),this.windowStage!==n.MINIMIZED?i("div",{class:"k-content k-window-content"},[c]):null,this.windowStage===n.DEFAULT&&this.$props.resizable?i(k,{onResize:this.handleResize,on:this.v3?void 0:{resize:this.handleResize}}):null])])}},I=D},function(e,t,i){"use strict";i.d(t,"a",(function(){return h})),i.d(t,"b",(function(){return c}));var n=i(1),r=i(0),o=n.h,s={name:"KendoButtonWrap",props:{},setup:o?function(){return{v3:!!o}}:void 0,render:function(e){return Object(r.getDefaultSlots)(this)[0]}},a=i(10),l=i(26),u=n.h,d=l.a.styles,c={name:"KendoButtonGroup",props:{disabled:{type:Boolean,default:void 0},width:String,dir:{type:String,default:function(){}}},created:function(){Object(r.validatePackage)(a.a)},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t,i=u||e,n=Object(r.getDefaultSlots)(this),o=function(e,t,n,o){var a,l=Object(r.classNames)(((a={})[d["state-disabled"]]=this.$props.disabled,a[d["group-start"]]=o?n:0===t,a[d["group-end"]]=o?0===t:n,a));return i(s,{class:l,attrs:this.v3?void 0:{"aria-disabled":this.$props.disabled},"aria-disabled":this.$props.disabled},this.v3?function(){return[e]}:[e])},a=Object(r.classNames)([d["button-group"]],((t={})["k-disabled"]=this.$props.disabled,t[d["button-group-stretched"]]=!!this.$props.width,t));return i("div",{style:{width:this.width},width:this.$props.width,attrs:this.v3?void 0:{width:this.$props.width,dir:this.$props.dir,role:"group","aria-disabled":this.$props.disabled,"aria-multiselectable":!0},dir:this.$props.dir,role:"group","aria-disabled":this.$props.disabled,"aria-multiselectable":!0,class:a},[function(e){var t=this,i=e.length,n=void 0!==this.$props.dir?"rtl"===this.$props.dir:this.$el&&"rtl"===getComputedStyle(this.$el).direction||!1;return e.map((function(e,r){return t.isValidButton(e)?o.call(t,e,r,r===i-1,n):e}))}.call(this,n)])},methods:{isValidButton:function(e){return e&&e.tag&&-1!==e.tag.toLowerCase().indexOf("button")||e.componentOptions&&e.componentOptions.tag&&-1!==e.componentOptions.tag.toLowerCase().indexOf("button")||e.type&&e.type.name&&-1!==e.type.name.toLowerCase().indexOf("kendobutton")}}},h=c},function(e,t,i){"use strict";i.d(t,"a",(function(){return y})),i.d(t,"b",(function(){return g}));var n=i(1),r=i(0),o=i(30),s=i(10),a=function(e){return"number"==typeof e?e+"px":e},l=function(e,t){var i={horizontal:t?"right":"left",vertical:"bottom"};return"end"===e.horizontal&&(i.horizontal=t?"left":"right"),i},u=function(e,t){var i={horizontal:t?"right":"left",vertical:"top"};return"end"===e.horizontal&&(i.horizontal=t?"left":"right"),i},d=function(e,t,i,n){var r=t.horizontal,o=t.vertical;if(e){var s=i&&void 0!==i.x?a(i.x):"16px",l=i&&void 0!==i.x?"calc(50% + "+a(i.x)+")":"50%",u=i&&void 0!==i.y?a(i.y):"16px",d=i&&void 0!==i.y?"calc(50% + "+a(i.y)+")":"50%";e.style.setProperty(c(t,n),"center"===r?l:s),e.style.setProperty(h(t),"middle"===o?d:u),n&&("top"!==o&&"bottom"!==o||"start"!==r||e.style.setProperty("left","unset"),"middle"===o&&"end"===r&&e.style.setProperty("right","unset"),"middle"===o&&"start"===r&&e.style.setProperty("left","unset"))}},c=function(e,t){return{end:t?"left":"right",center:"left",start:t?"right":"left"}[e.horizontal||"end"]},h=function(e){return{top:"top",middle:"top",bottom:"bottom"}[e.vertical||"bottom"]},p=i(13),f=n,m=f.h,v=f.ref,g={name:"KendoVueFloatingActionButton",props:{id:String,dir:String,tabIndex:Number,accessKey:String,disabled:Boolean,icon:String,iconClass:String,items:[Object,Array],item:[String,Function,Object],text:String,alignOffset:Object,opened:{type:Boolean,default:void 0},align:{type:Object,default:function(){return{vertical:"bottom",horizontal:"end"}}},positionMode:{type:String,default:function(){return"fixed"}},popupSettings:{type:Object,default:function(){return{}}},shape:{type:String,default:function(){return"rectangle"}},rounded:{type:String,default:"full"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","link","outline","solid"].includes(e)}},size:{type:String,default:function(){return"medium"}},themeColor:{type:String,default:function(){return"primary"}}},emits:{click:null,mousedown:null,mouseup:null,open:null,close:null,itemclick:null,focus:null,blur:null,keydown:null},data:function(){return{currentOpened:!1,currentFocused:!1,focusedIndex:-1,currentDir:"ltr",isRtl:!1}},created:function(){Object(r.validatePackage)(s.a),this.element=void 0,this._anchor=Object(r.guid)(),this.listId=Object(r.guid)(),this.buttonId=Object(r.guid)()},mounted:function(){this.element=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],this.list=this.v3?this.listRef:this.$refs.list,this.popup=this.v3?this.popupRef:this.$refs.popup,this.currentDir=void 0!==this.$props.dir?this.$props.dir:this.$el&&"rtl"===getComputedStyle(this.$el).direction||!1,this.isRtl="rtl"===this.currentDir,void 0!==this.opened&&d(this.$el,this.$props.align,this.$props.alignOffset,this.isRtl)},updated:function(){d(this.$el,this.$props.align,this.$props.alignOffset,this.isRtl),this.currentFocused&&this.element&&this.element.focus()},computed:{buttonClassNames:function(){var e,t=this.$props,i=t.size,n=(t.icon,t.shape),o=t.themeColor,s=t.fillMode,a=t.rounded;return(e={"k-fab":!0})["k-fab-"+(n||"rectangle")]=null!==n,e["k-fab-"+(r.kendoThemeMaps.sizeMap[i]||i)]=i,e["k-rounded-"+(r.kendoThemeMaps.roundedMap[a]||a)]=a,e["k-fab-"+s]=s,e["k-fab-"+s+"-"+o]=s&&o,e["k-disabled"]=this.$props.disabled,e["k-focus"]=this.currentFocused,e["k-"+this.$props.align.vertical+"-"+this.$props.align.horizontal]=!0,e},computedOpened:function(){return void 0===this.$props.opened?this.currentOpened:this.$props.opened},rootClassNames:function(){return Object(r.classNames)({"k-pos-absolute":"absolute"===this.$props.positionMode,"k-pos-fixed":"fixed"===this.$props.positionMode})}},methods:{dispatchPopupEvent:function(e,t){this.$props.items&&this.$emit(t?"open":"close",{event:e,isOpened:!t})},handleClick:function(e){if(e.target&&!this.$props.disabled)if(this.$props.items){var t=!this.computedOpened;this.currentOpened=t,this.currentFocused=!0,this.focusedIndex=t?0:-1,this.dispatchPopupEvent(e,!this.computedOpened)}else this.$emit("click",e,void 0)},handleFocus:function(e){this.currentFocused=!0,this.focusedIndex=this.computedOpened?0:-1,this.$emit("focus",e,void 0)},handleBlur:function(e){this.currentFocused=!1,this.currentOpened=!1,this.focusedIndex=-1,this.$emit("blur",e,void 0),this.computedOpened&&this.dispatchPopupEvent(e,!1)},handleMouseDown:function(e){e.preventDefault(),this.$emit("mousedown",e)},handleMouseUp:function(e){this.$emit("mouseup",e)},dispatchItemClickEvent:function(e,t){this.$props.items&&(this.$props.items[t].disabled||this.$emit("itemclick",e,{itemProps:this.$props.items[t],itemIndex:t}))},handleItemClick:function(e,t){e.target&&this.$props.items&&(this.focusedIndex=t,this.currentOpened=!1,this.dispatchItemClickEvent(e,t),this.dispatchPopupEvent(e,!1))},handleItemDown:function(e){r.canUseDOM&&document.activeElement===this.element&&e.preventDefault()},handleKeyDown:function(e){var t=this.focusedIndex,i=this.$props.items?this.$props.items.length-1:-1,n="bottom"===this.$props.align.vertical;switch(e.keyCode){case r.Keys.enter:case r.Keys.space:t>=0&&this.dispatchItemClickEvent(e,t),e.preventDefault(),this.currentOpened=!this.currentOpened,this.focusedIndex=this.currentOpened?-1:0;break;case r.Keys.esc:e.preventDefault(),this.currentOpened=!1,this.focusedIndex=-1;break;case r.Keys.home:e.preventDefault(),this.focusedIndex=0;break;case r.Keys.end:e.preventDefault(),this.focusedIndex=i;break;case r.Keys.down:case r.Keys.right:e.preventDefault(),t<i&&!n&&(this.focusedIndex=t+1),t>0&&n&&(this.focusedIndex=t-1);break;case r.Keys.up:case r.Keys.left:e.preventDefault(),t>0&&!n&&(this.focusedIndex=t-1),t<i&&n&&(this.focusedIndex=t+1)}this.$emit("keydown",e,void 0)}},setup:m?function(){return{v3:!!m,chipRef:v(null),kendoAnchorRef:v(null)}}:void 0,render:function(e){var t=this,i=this,n=m||e,s=this.$props,a=s.align,d=s.disabled,c=s.icon,h=s.iconClass,f=s.id,v=s.items,g=s.text,y=s.tabIndex,b=s.accessKey,k=s.popupSettings,S=r.templateRendering.call(this,this.$props.item,r.getListeners.call(this)),w=function(){return v&&v.map((function(e,t){return n(o.a,{key:t,index:t,attrs:this.v3?void 0:{index:t,id:this.listId+"-"+t,disabled:d||e.disabled,focused:this.focusedIndex===t,dataItem:e,item:S},id:this.listId+"-"+t,disabled:d||e.disabled,focused:this.focusedIndex===t,dataItem:e,item:S,class:Object(r.classNames)(e.className,(i=this.currentDir||"ltr",s=a.horizontal,{rtl:{end:"k-text-left",start:"k-text-right"},ltr:{start:"k-text-left",end:"k-text-right"}}[i]["end"===s?"end":"start"])),onClick:this.handleItemClick,on:this.v3?void 0:{click:this.handleItemClick,down:this.handleItemDown},onDown:this.handleItemDown});var i,s}),this)},D=c&&!g,I=(this.element?this.element.offsetWidth:0)/2-16;return n("div",{class:this.rootClassNames},[n("button",{ref:this.v3?function(e){i.kendoAnchorRef=e}:this._anchor,id:f||this.buttonId,attrs:this.v3?void 0:{id:f||this.buttonId,role:v?"menubutton":"button",type:"button","aria-disabled":d,"aria-expanded":v?this.computedOpened:void 0,"aria-haspopup":!!v,"aria-label":(g||"")+" floatingactionbutton","aria-owns":v?this.listId:void 0,"aria-activedescendant":this.focusedIndex>=0&&v?this.listId+"-"+this.focusedIndex:void 0,tabIndex:Object(r.getTabIndex)(y,d),accessKey:b,dir:this.currentDir,disabled:d},role:v?"menubutton":"button",type:"button","aria-disabled":d,"aria-expanded":v?this.computedOpened:void 0,"aria-haspopup":!!v,"aria-label":(g||"")+" floatingactionbutton","aria-owns":v?this.listId:void 0,"aria-activedescendant":this.focusedIndex>=0&&v?this.listId+"-"+this.focusedIndex:void 0,tabIndex:Object(r.getTabIndex)(y,d),accessKey:b,dir:this.currentDir,disabled:d,class:this.buttonClassNames,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.handleMouseDown,mouseup:this.handleMouseUp,focusin:this.handleFocus,blur:this.handleBlur,keydown:this.handleKeyDown},onMousedown:this.handleMouseDown,onMouseup:this.handleMouseUp,onFocusin:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown},[c?n("span",{role:"presentation",attrs:this.v3?void 0:{role:"presentation"},class:Object(r.classNames)("k-fab-icon k-icon k-i-"+c)}):h?n("span",{role:"presentation",attrs:this.v3?void 0:{role:"presentation"},class:h}):null,g&&n("span",{class:"k-fab-text"},[g])]),n(p.a,{ref:this.v3?function(e){i.popupRef=e}:"popup",show:this.computedOpened,attrs:this.v3?void 0:{show:this.computedOpened,anchor:this._anchor,animate:k.animate,popupClass:Object(r.classNames)("k-popup-transparent k-fab-popup",k.popupClass),anchorAlign:k.anchorAlign||l(a,this.isRtl),popupAlign:k.popupAlign||u(a,this.isRtl)},anchor:this._anchor,animate:k.animate,popupClass:Object(r.classNames)("k-popup-transparent k-fab-popup",k.popupClass),anchorAlign:k.anchorAlign||l(a,this.isRtl),popupAlign:k.popupAlign||u(a,this.isRtl),style:{boxShadow:"none"}},this.v3?function(){return[n("ul",{ref:t.v3?function(e){i.listRef=e}:"list",role:"menu",attrs:t.v3?void 0:{role:"menu","aria-labelledby":f,id:t.listId},"aria-labelledby":f,id:t.listId,class:Object(r.classNames)("k-fab-items",{"k-fab-items-bottom":"bottom"!==a.vertical,"k-fab-items-top":"bottom"===a.vertical}),style:{paddingLeft:D?I+"px":void 0,paddingRight:D?I+"px":void 0}},[w.call(t)])]}:[n("ul",{ref:t.v3?function(e){i.listRef=e}:"list",role:"menu",attrs:t.v3?void 0:{role:"menu","aria-labelledby":f,id:t.listId},"aria-labelledby":f,id:t.listId,class:Object(r.classNames)("k-fab-items",{"k-fab-items-bottom":"bottom"!==a.vertical,"k-fab-items-top":"bottom"===a.vertical}),style:{paddingLeft:D?I+"px":void 0,paddingRight:D?I+"px":void 0}},[w.call(t)])])])}},y=g},function(e,t){e.exports=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SLOTS_SELECT_ACTION=t.SLOTS_FOCUS_ACTION=t.SHOW_REMOVE_DIALOG_ACTION=t.SHOW_OCCURRENCE_DIALOG_ACTION=t.SERIES_ACTION=t.RESIZE_ITEM_ACTION=t.REMOVE_ITEM_ACTION=t.ITEMS_SELECT_ACTION=t.ITEMS_FOCUS_ACTION=t.DRAG_ITEM_ACTION=t.TimeHeaderCell=t.DateHeaderCell=t.SchedulerFooter=t.SchedulerHeader=t.SchedulerRemoveDialog=t.SchedulerOccurrenceDialog=t.SchedulerFormEditor=t.SchedulerForm=t.SchedulerResize=t.SchedulerDrag=t.SchedulerEditTask=t.SchedulerViewTask=t.SchedulerTask=t.SchedulerEditSlot=t.SchedulerViewSlot=t.SchedulerSlot=t.SchedulerEditItem=t.SchedulerViewItem=t.SchedulerItemContent=t.SchedulerItem=t.DATA_ACTION=t.MonthView=t.WorkWeekView=t.WeekView=t.DayView=t.TimelineView=t.AgendaView=t.Scheduler=void 0;var n=i(49);Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return n.Scheduler}}),Object.defineProperty(t,"DATA_ACTION",{enumerable:!0,get:function(){return n.DATA_ACTION}});var r=i(120);Object.defineProperty(t,"AgendaView",{enumerable:!0,get:function(){return r.AgendaView}});var o=i(83);Object.defineProperty(t,"TimelineView",{enumerable:!0,get:function(){return o.TimelineView}});var s=i(73);Object.defineProperty(t,"DayView",{enumerable:!0,get:function(){return s.DayView}});var a=i(123);Object.defineProperty(t,"WeekView",{enumerable:!0,get:function(){return a.WeekView}});var l=i(124);Object.defineProperty(t,"WorkWeekView",{enumerable:!0,get:function(){return l.WorkWeekView}});var u=i(125);Object.defineProperty(t,"MonthView",{enumerable:!0,get:function(){return u.MonthView}});var d=i(42);Object.defineProperty(t,"SchedulerItem",{enumerable:!0,get:function(){return d.SchedulerItem}});var c=i(76);Object.defineProperty(t,"SchedulerItemContent",{enumerable:!0,get:function(){return c.SchedulerItemContent}});var h=i(41);Object.defineProperty(t,"SchedulerViewItem",{enumerable:!0,get:function(){return h.SchedulerViewItem}});var p=i(40);Object.defineProperty(t,"SchedulerEditItem",{enumerable:!0,get:function(){return p.SchedulerEditItem}});var f=i(75);Object.defineProperty(t,"SchedulerSlot",{enumerable:!0,get:function(){return f.SchedulerSlot}});var m=i(74);Object.defineProperty(t,"SchedulerViewSlot",{enumerable:!0,get:function(){return m.SchedulerViewSlot}});var v=i(21);Object.defineProperty(t,"SchedulerEditSlot",{enumerable:!0,get:function(){return v.SchedulerEditSlot}});var g=i(85);Object.defineProperty(t,"SchedulerTask",{enumerable:!0,get:function(){return g.SchedulerTask}});var y=i(84);Object.defineProperty(t,"SchedulerViewTask",{enumerable:!0,get:function(){return y.SchedulerViewTask}});var b=i(62);Object.defineProperty(t,"SchedulerEditTask",{enumerable:!0,get:function(){return b.SchedulerEditTask}});var k=i(129);Object.defineProperty(t,"SchedulerDrag",{enumerable:!0,get:function(){return k.SchedulerDrag}});var S=i(130);Object.defineProperty(t,"SchedulerResize",{enumerable:!0,get:function(){return S.SchedulerResize}});var w=i(131);Object.defineProperty(t,"SchedulerForm",{enumerable:!0,get:function(){return w.SchedulerForm}});var D=i(86);Object.defineProperty(t,"SchedulerFormEditor",{enumerable:!0,get:function(){return D.SchedulerFormEditor}});var I=i(132);Object.defineProperty(t,"SchedulerOccurrenceDialog",{enumerable:!0,get:function(){return I.SchedulerOccurrenceDialog}});var C=i(133);Object.defineProperty(t,"SchedulerRemoveDialog",{enumerable:!0,get:function(){return C.SchedulerRemoveDialog}});var T=i(70);Object.defineProperty(t,"SchedulerHeader",{enumerable:!0,get:function(){return T.SchedulerHeader}});var O=i(35);Object.defineProperty(t,"DateHeaderCell",{enumerable:!0,get:function(){return O.DateHeaderCell}});var E=i(60);Object.defineProperty(t,"TimeHeaderCell",{enumerable:!0,get:function(){return E.TimeHeaderCell}});var $=i(72);Object.defineProperty(t,"SchedulerFooter",{enumerable:!0,get:function(){return $.SchedulerFooter}});var x=i(80);Object.defineProperty(t,"DRAG_ITEM_ACTION",{enumerable:!0,get:function(){return x.DRAG_ITEM_ACTION}});var M=i(18);Object.defineProperty(t,"ITEMS_FOCUS_ACTION",{enumerable:!0,get:function(){return M.ITEMS_FOCUS_ACTION}}),Object.defineProperty(t,"SLOTS_FOCUS_ACTION",{enumerable:!0,get:function(){return M.SLOTS_FOCUS_ACTION}});var R=i(56);Object.defineProperty(t,"ITEMS_SELECT_ACTION",{enumerable:!0,get:function(){return R.ITEMS_SELECT_ACTION}});var _=i(78);Object.defineProperty(t,"REMOVE_ITEM_ACTION",{enumerable:!0,get:function(){return _.REMOVE_ITEM_ACTION}});var F=i(81);Object.defineProperty(t,"RESIZE_ITEM_ACTION",{enumerable:!0,get:function(){return F.RESIZE_ITEM_ACTION}});var A=i(82);Object.defineProperty(t,"SERIES_ACTION",{enumerable:!0,get:function(){return A.SERIES_ACTION}});var z=i(77);Object.defineProperty(t,"SHOW_OCCURRENCE_DIALOG_ACTION",{enumerable:!0,get:function(){return z.SHOW_OCCURRENCE_DIALOG_ACTION}});var V=i(79);Object.defineProperty(t,"SHOW_REMOVE_DIALOG_ACTION",{enumerable:!0,get:function(){return V.SHOW_REMOVE_DIALOG_ACTION}});var j=i(57);Object.defineProperty(t,"SLOTS_SELECT_ACTION",{enumerable:!0,get:function(){return j.SLOTS_SELECT_ACTION}})},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(12),r=function(e){return Object(n.a)(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}},function(e,t,i){"use strict";i.d(t,"a",(function(){return v}));var n=i(24),r=i(9),o=i(43),s=i(17),a=i(44),l=function(e,t){return new Date(e.getTime()+t*n.c)},u=function(e,t){return new Date(e.getTime()+t*n.b)},d=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],c=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dev"],h=function(e,t){return void 0===t&&(t=2),(e<0?"-":"")+new Array(t).concat([Math.abs(e)]).join("0").slice(-t)};function p(e,t){var i=Object(s.a)(t,e),n=u(e,-1);return i<Object(s.a)(t,n)}function f(e,t){var i=p(e,t)?1:0;return u(e,i)}function m(e,t,i){if(t===i)return e;var n=Object(s.a)(t,e),r=Object(s.a)(i,e),o=n-r,a=l(e,o),u=Object(s.a)(i,a);return l(e,o+(r-u))}var v=function(){function e(e,t){this._utcDate=Object(r.a)(e),this.timezone=t;var i=Object(s.a)(t,e);this.timezoneOffset=i;var n=f(e,t);this._localDate=m(n,t,"Etc/UTC")}return Object.defineProperty(e.prototype,"cachedLocalDate",{get:function(){return this._localDate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cachedUTCDate",{get:function(){return this._utcDate},enumerable:!0,configurable:!0}),e.fromLocalDate=function(t,i){void 0===i&&(i="");var n=m(t,"Etc/UTC",i),r=p(n,i),o=Object(s.a)(i,n),a=0;r&&(a=o>0?-1:1);var l=u(n,a);return e.fromUTCDate(l,i)},e.fromUTCDate=function(t,i){return void 0===i&&(i=""),new e(t,i)},e.prototype.toLocalDate=function(){return Object(r.a)(this._localDate)},e.prototype.toUTCDate=function(){return Object(r.a)(this._utcDate)},e.prototype.toTimezone=function(t){if(this.timezone===t)return this.clone();var i=Object(s.a)(this.timezone,this._utcDate),n=l(this._utcDate,i);return e.fromLocalDate(n,t)},e.prototype.clone=function(){return e.fromUTCDate(this._utcDate,this.timezone)},e.prototype.addDays=function(t){var i=new Date(this._utcDate.getTime());return i.setUTCDate(i.getUTCDate()+t),e.fromUTCDate(i,this.timezone)},e.prototype.addTime=function(t){var i=f(new Date(this._utcDate.getTime()),this.timezone);i.setTime(i.getTime()+t);var n=f(i,this.timezone);return e.fromUTCDate(n,this.timezone)},e.prototype.stripTime=function(){var t=this._utcDate,i=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),0,0,0);return e.fromUTCDate(new Date(i),this.timezone)},e.prototype.getTime=function(){return this._localDate.getTime()},e.prototype.getTimezoneOffset=function(){return this.timezoneOffset},e.prototype.getFullYear=function(){return this._utcDate.getUTCFullYear()},e.prototype.getMonth=function(){return this._utcDate.getUTCMonth()},e.prototype.getDate=function(){return this._utcDate.getUTCDate()},e.prototype.getDay=function(){return this._utcDate.getUTCDay()},e.prototype.getHours=function(){return this._utcDate.getUTCHours()},e.prototype.getMinutes=function(){return this._utcDate.getUTCMinutes()},e.prototype.getSeconds=function(){return this._utcDate.getUTCSeconds()},e.prototype.getMilliseconds=function(){return this._utcDate.getUTCMilliseconds()},e.prototype.getUTCDate=function(){return this._localDate.getUTCDate()},e.prototype.getUTCDay=function(){return this._localDate.getUTCDay()},e.prototype.getUTCFullYear=function(){return this._localDate.getUTCFullYear()},e.prototype.getUTCHours=function(){return this._localDate.getUTCHours()},e.prototype.getUTCMilliseconds=function(){return this._localDate.getUTCMilliseconds()},e.prototype.getUTCMinutes=function(){return this._localDate.getUTCMinutes()},e.prototype.getUTCMonth=function(){return this._localDate.getUTCMonth()},e.prototype.getUTCSeconds=function(){return this._localDate.getUTCSeconds()},e.prototype.setTime=function(e){throw new Error("Method not implemented.")},e.prototype.setMilliseconds=function(e){throw new Error("Method not implemented.")},e.prototype.setUTCMilliseconds=function(e){throw new Error("Method not implemented.")},e.prototype.setSeconds=function(e,t){throw new Error("Method not implemented.")},e.prototype.setUTCSeconds=function(e,t){throw new Error("Method not implemented.")},e.prototype.setMinutes=function(e,t,i){throw new Error("Method not implemented.")},e.prototype.setUTCMinutes=function(e,t,i){throw new Error("Method not implemented.")},e.prototype.setHours=function(e,t,i,n){throw new Error("Method not implemented.")},e.prototype.setUTCHours=function(e,t,i,n){throw new Error("Method not implemented.")},e.prototype.setDate=function(e){throw new Error("Method not implemented.")},e.prototype.setUTCDate=function(e){throw new Error("Method not implemented.")},e.prototype.setMonth=function(e,t){throw new Error("Method not implemented.")},e.prototype.setUTCMonth=function(e,t){throw new Error("Method not implemented.")},e.prototype.setFullYear=function(e,t,i){throw new Error("Method not implemented.")},e.prototype.setUTCFullYear=function(e,t,i){throw new Error("Method not implemented.")},e.prototype.toISOString=function(){return this._localDate.toISOString()},e.prototype.toJSON=function(){return this._localDate.toJSON()},e.prototype.toString=function(){var e,t=(e=this._utcDate,d[e.getUTCDay()]+" "+c[e.getUTCMonth()]),i=this.toTimeString();return t+" "+this.getDate()+" "+this.getFullYear()+" "+i},e.prototype.toDateString=function(){return Object(a.a)(this._utcDate).toDateString()},e.prototype.toTimeString=function(){var e=h(this.getHours())+":"+h(this.getMinutes())+":"+h(this.getSeconds()),t=function(e){var t=e<=0?"+":"-",i=Math.abs(e);return"GMT"+t+h(Math.floor(i/60))+h(i%60)}(this.timezoneOffset),i=Object(o.a)(this.timezone,this._utcDate);return i&&(i=" ("+i+")"),e+" "+t+i},e.prototype.toLocaleString=function(e,t){return this._localDate.toLocaleString(e,t)},e.prototype.toLocaleDateString=function(e,t){return this._localDate.toLocaleDateString(e,t)},e.prototype.toLocaleTimeString=function(e,t){return this._localDate.toLocaleTimeString(e,t)},e.prototype.toUTCString=function(){return this.toTimezone("Etc/UTC").toString()},e.prototype[Symbol.toPrimitive]=function(e){return"string"===e||"default"===e?this.toString():this._localDate.getTime()},e.prototype.valueOf=function(){return this.getTime()},e.prototype.getVarDate=function(){throw new Error("Not implemented.")},e.prototype.format=function(e){throw new Error("Not implemented.")},e.prototype.formatUTC=function(e){throw new Error("Not implemented.")},e}()},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerHeaderVue2=t.SchedulerHeader=void 0;var s=o(i(1)).h,a=i(0),l=i(3),u={name:"KendoSchedulerHeader",setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=a.getDefaultSlots(this);return t(l.Toolbar,{class:"k-scheduler-toolbar"},this.v3?function(){return[i]}:[i])}};t.SchedulerHeaderVue2=u;var d=u;t.SchedulerHeader=d},function(e,t){},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerFooterVue2=t.SchedulerFooter=void 0;var s=o(i(1)).h,a=i(0),l=i(3),u={name:"KendoSchedulerFooter",setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=a.getDefaultSlots(this);return t(l.Toolbar,{class:"k-scheduler-footer",style:{boxShadow:"none"}},this.v3?function(){return[i]}:[i])}};t.SchedulerFooterVue2=u;var d=u;t.SchedulerFooter=d},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewVue2=t.DayView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(32)),u=i(11),d=i(2),c=i(5),h={name:"KendoDayView",props:{name:{type:String,default:"day"},title:String,dateRange:{type:[Function,Object],default:function(){return l.MultiDayView.props.dateRange.default()}},showWorkHours:{type:Boolean,default:!0},step:{type:Number,default:1},numberOfDays:{type:Number,default:1},slotDuration:{type:Number,default:60},slotDivisions:{type:Number,default:2},selectedDateFormat:{type:String,default:"{0:D}"},selectedShortDateFormat:{type:String,default:"{0:d}"},currentTimeMarker:{type:Boolean,default:!0},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"23:59"},workDayStart:{type:String,default:"08:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:c.Day.Monday},workWeekEnd:{type:Number,default:c.Day.Friday},defaultShowWorkHours:{type:Boolean,default:!0},timeHeaderCell:String},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e;d.provideLocalizationService(this).toLanguageString(u.dayViewTitle,u.messages[u.dayViewTitle]);return t(l.MultiDayView,{name:this.$props.name,attrs:this.v3?void 0:{name:this.$props.name,dateRange:this.$props.dateRange,step:this.$props.step,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:this.$props.title,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd,defaultShowWorkHours:this.$props.defaultShowWorkHours,timeHeaderCell:this.$props.timeHeaderCell},dateRange:this.$props.dateRange,step:this.$props.step,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:this.$props.title,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd,defaultShowWorkHours:this.$props.defaultShowWorkHours,timeHeaderCell:this.$props.timeHeaderCell})}};t.DayViewVue2=h;var p=h;t.DayView=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerViewSlotVue2=t.SchedulerViewSlot=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(75)),u=i(18),d=i(0),c={name:"KendoSchedulerViewSlot",props:{refTo:[Function,Object],items:Array,row:Number,group:Object,range:Object,isWorkDay:{type:Boolean,default:!0},isWorkHour:{type:Boolean,default:!0},selected:Boolean,col:Number,index:Number,start:Date,end:Date,zonedStart:Object,zonedEnd:Object,renderSlot:[String,Function,Object],expandable:[Boolean,Object],isAllDay:Boolean},created:function(){this.viewSlot=null,this.slot=null},inject:{ks:{default:null},bv:{default:null}},updated:function(){u.useSlotExpand(this,this.ks.scheduler,this.$props.expandable)},mounted:function(){u.useSlotExpand(this,this.ks.scheduler,this.$props.expandable)},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=d.getDefaultSlots(this),n=this.$props,r=n.renderSlot,o=(n.refTo,n.items),s=n.row,u=n.group,c=n.range,h=n.isWorkDay,p=n.isWorkHour,f=n.col,m=n.index,v=n.start,g=n.end,y=n.zonedStart,b=n.zonedEnd;return t(l.SchedulerSlot,{renderSlot:r,attrs:this.v3?void 0:{renderSlot:r,isAllDay:this.isAllDay,items:o,row:s,group:u,range:c,isWorkDay:h,isWorkHour:p,col:f,index:m,start:v,end:g,zonedStart:y,zonedEnd:b},isAllDay:this.isAllDay,items:o,row:s,group:u,range:c,isWorkDay:h,isWorkHour:p,col:f,index:m,start:v,end:g,zonedStart:y,zonedEnd:b},this.v3?function(){return[i]}:[i])}};t.SchedulerViewSlotVue2=c;var h=c;t.SchedulerViewSlot=h},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerSlotVue2=t.SchedulerSlot=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(0)),u=i(7),d=i(2),c={name:"KendoSchedulerSlot",props:{refTo:[Function,Object],items:Array,row:Number,group:Object,range:Object,isWorkDay:{type:Boolean,default:!0},isWorkHour:{type:Boolean,default:!0},selected:Boolean,col:Number,index:Number,start:Date,end:Date,zonedStart:Object,zonedEnd:Object,isAllDay:Boolean},computed:{currentTabIndex:function(){return void 0!==this.$props.tabIndex?null===this.$props.tabIndex?void 0:this.$props.tabIndex:this.$props.selected?0:-1},slotClass:function(){return{"k-scheduler-cell k-slot-cell":!0,"k-nonwork-hour":!this.$props.isWorkHour||!this.$props.isWorkDay,"k-state-selected":this.$props.selected}},slotLabel:function(){return""+u.formatEventTime(this.intl,this.$props.zonedStart,this.$props.zonedEnd,this.$props.isAllDay||!1)}},inject:{kendoIntlService:{default:null},setSlots:{default:null}},created:function(){this.setSlots({type:u.COLLECTION_ACTION.add,item:this})},destroyed:a?void 0:function(){this.setSlots({type:u.COLLECTION_ACTION.remove,item:this})},unmounted:function(){this.setSlots({type:u.COLLECTION_ACTION.remove,item:this})},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e;this.intl=d.provideIntlService(this);var i=l.getDefaultSlots(this);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.currentTabIndex,"aria-label":this.slotLabel,"aria-selected":this.$props.selected,"data-slot":!0,"data-slot-allday":this.$props.isAllDay,"data-slot-start":this.$props.start.getTime(),"data-slot-end":this.$props.end.getTime(),"data-slot-group":this.$props.group.index,"data-slot-range":this.$props.range.index,"data-slot-index":this.$props.index},style:{userSelect:"none"},class:this.slotClass,tabIndex:this.currentTabIndex,"aria-label":this.slotLabel,"aria-selected":this.$props.selected,onFocus:this.handleFocus,on:this.v3?void 0:{focus:this.handleFocus,blur:this.handleBlur,click:this.handleClick,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave,mouseover:this.handleMouseOver,mouseout:this.handleMouseOut,doubleclick:this.handleDoubleClick,keydown:this.handleKeyDown,keypress:this.handleKeyPress,keyup:this.handleKeyUp},onBlur:this.handleBlur,onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onMouseover:this.handleMouseOver,onMouseout:this.handleMouseOut,onDoubleclick:this.handleDoubleClick,onKeydown:this.handleKeyDown,onKeypress:this.handleKeyPress,onKeyup:this.handleKeyUp,"data-slot":!0,"data-slot-allday":this.$props.isAllDay,"data-slot-start":this.$props.start.getTime(),"data-slot-end":this.$props.end.getTime(),"data-slot-group":this.$props.group.index,"data-slot-range":this.$props.range.index,"data-slot-index":this.$props.index},[i])},methods:{handleFocus:function(e){this.$emit("focus",{event:e,target:this.slot})},handleBlur:function(e){this.$emit("blur",{event:e,target:this.slot})},handleClick:function(e){this.$emit("click",{event:e,target:this.slot})},handleMouseOver:function(e){this.$emit("mouseover",{event:e,target:this.slot})},handleMouseOut:function(e){this.$emit("mouseout",{event:e,target:this.slot})},handleMouseEnter:function(e){this.$emit("mouseenter",{event:e,target:this.slot})},handleMouseLeave:function(e){this.$emit("mouseleave",{event:e,target:this.slot})},handleDoubleClick:function(e){this.$emit("doubleclick",{event:e,target:this.slot})},handleKeyDown:function(e){this.$emit("keydown",{event:e,target:this.slot})},handleKeyPress:function(e){this.$emit("keydown",{event:e,target:this.slot})},handleKeyUp:function(e){this.$emit("keyup",{event:e,target:this.slot})}}};t.SchedulerSlotVue2=c;var h=c;t.SchedulerSlot=h},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerItemContentVue2=t.SchedulerItemContent=void 0;var s=i(0),a=o(i(1)).h,l={name:"KendoSchedulerItemContent",props:{},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){return(a||e)("div",{class:"k-event-template"},[s.getDefaultSlots(this)])}};t.SchedulerItemContentVue2=l;var u=l;t.SchedulerItemContent=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useShowOccurrenceDialog=t.SHOW_OCCURRENCE_DIALOG_ACTION=void 0,function(e){e.set="SHOW_OCCURRENCE_DIALOG_SET",e.open="SHOW_OCCURRENCE_DIALOG_OPEN",e.close="SHOW_OCCURRENCE_DIALOG_CLOSE",e.reset="SHOW_OCCURRENCE_DIALOG_RESET",e.toggle="SHOW_OCCURRENCE_DIALOG_TOGGLE"}(t.SHOW_OCCURRENCE_DIALOG_ACTION||(t.SHOW_OCCURRENCE_DIALOG_ACTION={}));t.useShowOccurrenceDialog=function(e,t,i){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRemoveItem=t.REMOVE_ITEM_ACTION=void 0,function(e){e.set="REMOVE_ITEM_SET",e.reset="REMOVE_ITEM_RESET",e.complete="REMOVE_ITEM_COMPLETE"}(t.REMOVE_ITEM_ACTION||(t.REMOVE_ITEM_ACTION={})),t.useRemoveItem=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useShowRemoveDialog=t.SHOW_REMOVE_DIALOG_ACTION=void 0,function(e){e.set="SHOW_REMOVE_DIALOG_SET",e.open="SHOW_REMOVE_DIALOG_OPEN",e.close="SHOW_REMOVE_DIALOG_CLOSE",e.reset="SHOW_REMOVE_DIALOG_RESET",e.toggle="SHOW_REMOVE_DIALOG_TOGGLE"}(t.SHOW_REMOVE_DIALOG_ACTION||(t.SHOW_REMOVE_DIALOG_ACTION={}));t.useShowRemoveDialog=function(e,t,i){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragItem=t.DRAG_ITEM_ACTION=void 0,function(e){e.set="DRAG_ITEM_SET",e.start="DRAG_ITEM_START",e.drag="DRAG_ITEM_DRAG",e.complete="DRAG_ITEM_COMPLETE",e.completeOccurrence="DRAG_ITEM_COMPLETE_OCCURRENCE",e.completeSeries="DRAG_ITEM_COMPLETE_SERIES",e.reset="DRAG_ITEM_RESET",e.dragSelected="DRAG_ITEM_DRAG_SELECTED"}(t.DRAG_ITEM_ACTION||(t.DRAG_ITEM_ACTION={})),t.useDragItem=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useResizeItem=t.RESIZE_ITEM_ACTION=void 0,function(e){e.set="RESIZE_ITEM_SET",e.start="RESIZE_ITEM_START",e.startDrag="RESIZE_ITEM_START_DRAG",e.startDragSelected="RESIZE_ITEM_START_DRAG_SELECTED",e.endDrag="RESIZE_ITEM_END_DRAG",e.endDragSelected="RESIZE_ITEM_END_DRAG_SELECTED",e.complete="RESIZE_ITEM_COMPLETE",e.completeOccurrence="RESIZE_ITEM_COMPLETE_OCCURRENCE",e.completeSeries="RESIZE_ITEM_COMPLETE_SERIES",e.reset="RESIZE_ITEM_RESET"}(t.RESIZE_ITEM_ACTION||(t.RESIZE_ITEM_ACTION={})),t.useResizeItem=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSeries=t.SERIES_ACTION=void 0,function(e){e.reset="SERIES_RESET",e.set="SERIES_SET",e.toggle="SERIES_TOGGLE"}(t.SERIES_ACTION||(t.SERIES_ACTION={}));t.useSeries=function(e,t,i){return[]}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimelineViewVue2=t.TimelineView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(116)),u=i(5),d={name:"KendoTimelineView",props:{name:{type:String,default:"timeline"},title:{type:String,default:"Multi Day Timeline"},currentTimeMarker:{type:Boolean,default:!0},dateRange:{type:[Function,Object],default:function(){return l.MultiDayTimelineView.props.dateRange.default()}},showWorkHours:{type:Boolean,default:!0},selectedDateFormat:{type:String,default:"{0:D}"},selectedShortDateFormat:{type:String,default:"{0:d}"},step:{type:Number,default:1},numberOfDays:{type:Number,default:1},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"00:00"},workDayStart:{type:String,default:"8:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:u.Day.Monday},workWeekEnd:{type:Number,default:u.Day.Friday},slotDivisions:{type:Number,default:2},slotDuration:{type:Number,default:60},defaultShowWorkHours:{type:Boolean,default:!0},columnWidth:{type:Number,default:100}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){return(a||e)(l.MultiDayTimelineView,{name:this.$props.name,attrs:this.v3?void 0:{name:this.$props.name,dateRange:this.$props.dateRange,step:this.$props.step,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,columnWidth:this.$props.columnWidth,title:this.$props.title,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd},dateRange:this.$props.dateRange,step:this.$props.step,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,columnWidth:this.$props.columnWidth,title:this.$props.title,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd})}};t.TimelineViewVue2=d;var c=d;t.TimelineView=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerViewTaskVue2=t.SchedulerViewTask=void 0;var a=o(i(1)),l=a.h,u=(a.inject,i(85)),d={name:"KendoSchedulerViewTask",props:{refTo:[Function,Object],id:String,tabIndex:Number,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,isAllDay:Boolean,uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=this.$props;i.task,i.refTo,s(i,["task","refTo"]);return t(u.SchedulerTask,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.$props.tabIndex,head:this.$props.head,tail:this.$props.tail,order:this.$props.order,zonedStart:this.$props.zonedStart,zonedEnd:this.$props.zonedEnd,slots:this.$props.slots,group:this.$props.group,range:this.$props.range,isException:this.$props.isException,isRecurring:this.$props.isRecurring,isAllDay:this.$props.isAllDay,uid:this.$props.uid,start:this.$props.start,end:this.$props.end,originalStart:this.$props.originalStart,startTimezone:this.$props.startTimezone,endTimezone:this.$props.endTimezone,title:this.$props.title,description:this.$props.description,occurrenceId:this.$props.occurrenceId,recurrenceExceptions:this.$props.recurrenceExceptions,recurrenceRule:this.$props.recurrenceRule,recurrenceId:this.$props.recurrenceId,dataItem:this.$props.dataItem},tabIndex:this.$props.tabIndex,head:this.$props.head,tail:this.$props.tail,order:this.$props.order,zonedStart:this.$props.zonedStart,zonedEnd:this.$props.zonedEnd,slots:this.$props.slots,group:this.$props.group,range:this.$props.range,isException:this.$props.isException,isRecurring:this.$props.isRecurring,isAllDay:this.$props.isAllDay,uid:this.$props.uid,start:this.$props.start,end:this.$props.end,originalStart:this.$props.originalStart,startTimezone:this.$props.startTimezone,endTimezone:this.$props.endTimezone,title:this.$props.title,description:this.$props.description,occurrenceId:this.$props.occurrenceId,recurrenceExceptions:this.$props.recurrenceExceptions,recurrenceRule:this.$props.recurrenceRule,recurrenceId:this.$props.recurrenceId,dataItem:this.$props.dataItem})}};t.SchedulerViewTaskVue2=d;var c=d;t.SchedulerViewTask=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerTaskVue2=t.SchedulerTask=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(2)),u=i(11),d=i(18),c={name:"KendoSchedulerTask",props:{refTo:[Function,Object],id:String,tabIndex:Number,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,isAllDay:Boolean,uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object},inject:{kendoLocalizationService:{default:null}},created:function(){this.task=null},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=d.useEditable(this.$props.editable),n=l.provideLocalizationService(this).toLanguageString(u.deleteTitle,u.messages[u.deleteTitle]),r=this.$props.group.resources.find((function(e){return Boolean(e.colorField&&void 0!==e[e.colorField])})),o=r&&r.colorField&&r[r.colorField];return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.$props.tabIndex||void 0},class:"k-task",tabIndex:this.$props.tabIndex||void 0},[o&&t("span",{class:"k-scheduler-mark",style:{color:o,backgroundColor:o}}),this.$props.isRecurring&&t("span",{class:"k-icon k-i-reload"}),this.$props.isException&&t("span",{class:"k-icon k-i-non-recurrence"}),this.$props.title,i.remove&&t("a",{class:"k-link k-event-delete",title:n,attrs:this.v3?void 0:{title:n,"aria-label":n},"aria-label":n,onClick:this.handleRemoveClick,on:this.v3?void 0:{click:this.handleRemoveClick}},[t("span",{class:"k-icon k-i-close"})])])},methods:{handleRemoveClick:function(e){this.$emits("removeclick",{event:e,target:this.task})}}};t.SchedulerTaskVue2=c;var h=c;t.SchedulerTask=h},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerFormEditorVue2=t.SchedulerFormEditor=void 0;var a=o(i(1)),l=a.h,u=(a.inject,i(5)),d=i(22),c=i(89),h=i(87),p=i(11),f={name:"KendoSchedulerFormEditor",props:{as:[String,Function,Object],id:String,tabIndex:Number,titleLabel:[String,Function,Object],titleError:[String,Function,Object],titleEditor:[String,Function,Object],startLabel:[String,Function,Object],startError:[String,Function,Object],startEditor:[String,Function,Object],startTimezoneLabel:[String,Function,Object],startTimezoneError:[String,Function,Object],startTimezoneEditor:[String,Function,Object],startTimezoneCheckedLabel:[String,Function,Object],startTimezoneCheckedEditor:[String,Function,Object],endLabel:[String,Function,Object],endError:[String,Function,Object],endEditor:[String,Function,Object],endTimezoneLabel:[String,Function,Object],endTimezoneError:[String,Function,Object],endTimezoneEditor:[String,Function,Object],endTimezoneCheckedLabel:[String,Function,Object],endTimezoneCheckedEditor:[String,Function,Object],allDayLabel:[String,Function,Object],allDayEditor:[String,Function,Object],recurrenceEditor:[String,Function,Object],descriptionLabel:[String,Function,Object],descriptionError:[String,Function,Object],descriptionEditor:[String,Function,Object],resourceLabel:[String,Function,Object],resourcesError:[String,Function,Object],resourceEditor:[String,Function,Object],errors:Object,valid:Boolean,touched:Boolean,visited:Boolean,modified:Boolean,submitted:Boolean,allowSubmit:Boolean,valueGetter:Function},created:function(){this.requiredValidationMessage=void 0},inject:{ks:{default:null},kendoLocalizationService:{default:null}},data:function(){return{startZoneChecked:Boolean(this.$props.valueGetter(this.fields.startTimezone)),endZoneChecked:Boolean(this.$props.valueGetter(this.fields.endTimezone))}},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=u.timezoneNames(),n=this.provideLocalizationService(this),r=this.$props,o=(r.as,s(r,["as"]),this.$props),a=o.titleLabel,f=o.titleError,m=o.titleEditor,v=o.startLabel,g=o.startError,y=o.startEditor,b=o.startTimezoneLabel,k=o.startTimezoneError,S=o.startTimezoneEditor,w=o.startTimezoneCheckedLabel,D=o.startTimezoneCheckedEditor,I=o.endLabel,C=o.endError,T=o.endEditor,O=o.endTimezoneLabel,E=o.endTimezoneError,$=o.endTimezoneEditor,x=o.endTimezoneCheckedLabel,M=o.endTimezoneCheckedEditor,R=o.allDayLabel,_=o.allDayEditor,F=o.recurrenceEditor,A=o.descriptionLabel,z=o.descriptionEditor,V=o.descriptionError,j=o.resourceLabel,N=o.resourceEditor,P=this.$props.valueGetter(this.fields.start)||new Date,B=this.$props.valueGetter(this.fields.startTimezone)||this.ks.timezone||"",L=this.$props.valueGetter(this.fields.endTimezone)||this.ks.timezone||"";return this.requiredValidationMessage=n.toLanguageString(p.editorValidationRequired,p.messages[p.editorValidationRequired]),t("div",{class:"k-scheduler-edit-form"},[t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.title,attrs:this.v3?void 0:{name:this.fields.title,component:a,editorId:"k-scheduler-editor-title"},component:a,editorId:"k-scheduler-editor-title"},[n.toLanguageString(p.editorEventTitle,p.messages[p.editorEventTitle])]),t("div",{class:"k-form-field-wrap"},[t(c.Field,{id:"k-scheduler-editor-title",attrs:this.v3?void 0:{id:"k-scheduler-editor-title",name:this.fields.title,field:this.fields.title,component:m},name:this.fields.title,field:this.fields.title,component:m}),this.$props.errors[this.fields.title]&&t(c.Field,{name:this.fields.title,attrs:this.v3?void 0:{name:this.fields.title,component:f},component:f},[this.$props.errors[this.fields.title]])])]),t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.start,attrs:this.v3?void 0:{name:this.fields.start,component:v,editorId:"k-scheduler-editor-start"},component:v,editorId:"k-scheduler-editor-start"},[n.toLanguageString(p.editorEventStart,p.messages[p.editorEventStart])]),t("div",{class:"k-form-field-wrap",style:{display:"flex"}},[t("div",[t(c.Field,{id:"k-scheduler-editor-start",attrs:this.v3?void 0:{id:"k-scheduler-editor-start",name:this.fields.start,width:"auto",component:y,as:this.$props.valueGetter(this.fields.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:this.ks.timezone},name:this.fields.start,width:"auto",component:y,as:this.$props.valueGetter(this.fields.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:this.ks.timezone}),this.$props.errors[this.fields.start]&&t(c.Field,{name:this.fields.start,attrs:this.v3?void 0:{name:this.fields.start,component:g},component:g},[this.$props.errors[this.fields.start]])])," ",t("div",[t(D,{id:"k-scheduler-editor-set-start-timezone",attrs:this.v3?void 0:{id:"k-scheduler-editor-set-start-timezone",value:this.startZoneChecked},onChange:this.handleStartZoneCheckboxChange,on:this.v3?void 0:{change:this.handleStartZoneCheckboxChange},value:this.startZoneChecked})," ",t(w,{class:"k-checkbox-label",editorId:"k-scheduler-editor-set-start-timezone",attrs:this.v3?void 0:{editorId:"k-scheduler-editor-set-start-timezone"},style:{display:"inline-flex"}},[n.toLanguageString(p.editorEventTimeZone,p.messages[p.editorEventTimeZone])])])])]),this.startZoneChecked&&t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.start,attrs:this.v3?void 0:{name:this.fields.start,component:b},component:b},[n.toLanguageString(p.editorEventStartTimeZone,p.messages[p.editorEventStartTimeZone])]),t("div",{class:"k-form-field-wrap"},[t(c.Field,{component:S,attrs:this.v3?void 0:{component:S,value:B,validator:this.startTimezoneValidator,data:i,name:this.fields.startTimezone},value:B,validator:this.startTimezoneValidator,data:i,name:this.fields.startTimezone}),this.$props.errors[this.fields.startTimezone]&&t(c.Field,{name:this.fields.startTimezone,attrs:this.v3?void 0:{name:this.fields.startTimezone,component:k},component:k},[this.$props.errors[this.fields.startTimezone]])])]),t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.end,attrs:this.v3?void 0:{name:this.fields.end,component:I,editorId:"k-scheduler-editor-end"},component:I,editorId:"k-scheduler-editor-end"},[n.toLanguageString(p.editorEventEnd,p.messages[p.editorEventEnd])]),t("div",{class:"k-form-field-wrap",style:{display:"flex"}},[t("div",[t(c.Field,{id:"k-scheduler-editor-end",attrs:this.v3?void 0:{id:"k-scheduler-editor-end",name:this.fields.end,width:"auto",component:T,as:this.$props.valueGetter(this.fields.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:this.ks.timezone},name:this.fields.end,width:"auto",component:T,as:this.$props.valueGetter(this.fields.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:this.ks.timezone}),this.$props.errors[this.fields.end]&&t(c.Field,{name:this.fields.end,attrs:this.v3?void 0:{name:this.fields.end,component:C},component:C},[this.$props.errors[this.fields.end]])])," ",t("div",[this.startZoneChecked&&[t(M,{id:"k-scheduler-editor-set-end-timezone",attrs:this.v3?void 0:{id:"k-scheduler-editor-set-end-timezone",value:this.endZoneChecked},onChange:this.handleEndZoneCheckboxChange,on:this.v3?void 0:{change:this.handleEndZoneCheckboxChange},value:this.endZoneChecked}),t(x,{class:"k-checkbox-label",editorId:"k-scheduler-editor-set-end-timezone",attrs:this.v3?void 0:{editorId:"k-scheduler-editor-set-end-timezone"},style:{display:"inline-flex"}},[n.toLanguageString(p.editorEventSeparateTimeZones,p.messages[p.editorEventSeparateTimeZones])])]])])]),this.endZoneChecked&&t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.endTimezone,attrs:this.v3?void 0:{name:this.fields.endTimezone,component:O},component:O},[n.toLanguageString(p.editorEventEndTimeZone,p.messages[p.editorEventEndTimeZone])]),t("div",{class:"k-form-field-wrap"},[t(c.Field,{value:L,attrs:this.v3?void 0:{value:L,data:i,validator:this.endTimezoneValidator,component:$,name:this.fields.endTimezone},data:i,validator:this.endTimezoneValidator,component:$,name:this.fields.endTimezone}),this.$props.errors[this.fields.endTimezone]&&t(c.Field,{name:this.fields.endTimezone,attrs:this.v3?void 0:{name:this.fields.endTimezone,component:E},component:E},[this.$props.errors[this.fields.endTimezone]])])]),t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.isAllDay,attrs:this.v3?void 0:{name:this.fields.isAllDay,component:d.Label},component:d.Label}),t("div",{class:"k-form-field-wrap"},[t(c.Field,{id:"k-is-allday-checkbox",attrs:this.v3?void 0:{id:"k-is-allday-checkbox",name:this.fields.isAllDay,component:_},name:this.fields.isAllDay,component:_})," ",t(c.Field,{name:this.fields.isAllDay,attrs:this.v3?void 0:{name:this.fields.isAllDay,field:this.fields.isAllDay,editorId:"k-is-allday-checkbox",component:R},field:this.fields.isAllDay,editorId:"k-is-allday-checkbox",class:"k-checkbox-label",component:R},[n.toLanguageString(p.editorEventAllDay,p.messages[p.editorEventAllDay])])])]),t(c.Field,{component:F,attrs:this.v3?void 0:{component:F,field:this.fields.recurrenceRule,name:this.fields.recurrenceRule,start:P},field:this.fields.recurrenceRule,name:this.fields.recurrenceRule,start:P}),t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.description,attrs:this.v3?void 0:{name:this.fields.description,component:A},component:A},[n.toLanguageString(p.editorEventDescription,p.messages[p.editorEventDescription])]),t("div",{class:"k-form-field-wrap"},[t(c.Field,{component:z,attrs:this.v3?void 0:{component:z,name:this.fields.description,rows:1,id:"k-event-description"},name:this.fields.description,rows:1,id:"k-event-description",style:{width:"100%"}}),this.$props.errors[this.fields.description]&&t(c.Field,{name:this.fields.description,attrs:this.v3?void 0:{name:this.fields.description,component:V},component:V},[this.$props.errors[this.fields.description]])])]),(this.resources||[]).map((function(e){return t("div",{key:e.field},[t("div",{class:"k-form-field"},[t(c.Field,{name:e.field,attrs:this.v3?void 0:{name:e.field,component:j},component:j}),t(d.Label,[e.name]),t(c.Field,{name:e.field,attrs:this.v3?void 0:{name:e.field,component:N,resource:e,multiple:e.multiple,data:e.data,textField:e.textField,valueField:e.valueField,colorField:e.colorField},component:N,resource:e,multiple:e.multiple,data:e.data,textField:e.textField,valueField:e.valueField,colorField:e.colorField})])])}))])},methods:{handleStartZoneCheckboxChange:function(e){e.value||(this.$emit("change",this.fields.startTimezone,{value:null}),this.$emit("change",this.fields.endTimezone,{value:null}),this.endZoneChecked=e.value),this.startZoneChecked=e.value},handleEndZoneCheckboxChange:function(e){e.value||this.$emit("change",this.fields.endTimezone,{value:null}),this.endZoneChecked=e.value},requiredValidator:function(e){return e?void 0:this.requiredValidationMessage},startTimezoneValidator:function(e,t){return this.startZoneChecked?this.requiredValidator(t(this.fields.startTimezone)):void 0},endTimezoneValidator:function(e,t){return this.startZoneChecked&&this.endZoneChecked?this.requiredValidator(t(this.fields.endTimezone))||this.requiredValidator(t(this.fields.startTimezone)):void 0}}};t.SchedulerFormEditorVue2=f;var m=f;t.SchedulerFormEditor=m},function(e,t,i){"use strict";i.r(t),i.d(t,"PickerWrap",(function(){return Fn})),i.d(t,"PickerWrapVue3",(function(){return An})),i.d(t,"ToggleButton",(function(){return Qt})),i.d(t,"ToggleButtonVue3",(function(){return ei})),i.d(t,"Calendar",(function(){return wt})),i.d(t,"CalendarVue3",(function(){return Dt})),i.d(t,"CalendarViewEnum",(function(){return g})),i.d(t,"CalendarCell",(function(){return w})),i.d(t,"CalendarCellVue3",(function(){return D})),i.d(t,"CalendarWeekCell",(function(){return C})),i.d(t,"CalendarWeekCellVue3",(function(){return T})),i.d(t,"CalendarHeaderTitle",(function(){return Je})),i.d(t,"CalendarHeaderTitleVue3",(function(){return Qe})),i.d(t,"DateInput",(function(){return Zt})),i.d(t,"DateInputVue3",(function(){return Xt})),i.d(t,"DatePicker",(function(){return oi})),i.d(t,"DatePickerVue3",(function(){return si})),i.d(t,"TimePicker",(function(){return fn})),i.d(t,"TimePickerVue3",(function(){return mn})),i.d(t,"DateRangePicker",(function(){return Sn})),i.d(t,"DateTimePicker",(function(){return Mn})),i.d(t,"DateTimePickerVue3",(function(){return Rn}));var n,r=i(1),o=i(0),s=function(e){return e?new Date(e.getTime()):null},a=function(e,t){var i=s(e);return 0===t&&23===i.getHours()&&i.setHours(i.getHours()+2),i},l=function(e,t,i,n,r,o,s){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=0),void 0===s&&(s=0);var l=new Date(e,t,i,n,r,o,s);return e>-1&&e<100&&l.setFullYear(l.getFullYear()-1900),a(l,n)},u=function(e){return l(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0)},d=function(e,t){return!e&&!t||e&&t&&e.getTime()===t.getTime()},c=function(e,t){return!e&&!t||e&&t&&d(u(e),u(t))},h=i(2),p={name:"@progress/kendo-vue-dateinputs",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646140503,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(n||(n={}));var f,m=function(e,t){var i=s(e);return i.setDate(i.getDate()+t),a(i,e.getHours())};!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(f||(f={}));var v,g,y=function(e,t,i){void 0===i&&(i=f.Forward);var n=s(e),r=(t-n.getDay()+7*i)%7;return n.setDate(n.getDate()+r),a(n,e.getHours())},b=function(e,t){return t!==n.Monday?m(function(e,t){return y(e,t,f.Backward)}(e,t),4):m(e,4-(e.getDay()||7))},k=function(e,t){var i=l(e.getFullYear(),0,1,-6),n=b(e,t).getTime()-i.getTime(),r=Math.floor(n/864e5);return 1+Math.floor(r/7)},S=r.h,w={name:"KendoCalendarCell",emits:{click:null,mousedown:null,mouseenter:null,mouseleave:null},props:{isDisabled:Boolean,view:Number,formattedValue:String,id:String,isWeekend:Boolean,isFocused:Boolean,isSelected:Boolean,isInRange:Boolean,isRangeStart:Boolean,isRangeEnd:Boolean,isRangeMid:Boolean,isRangeSplitEnd:Boolean,isRangeSplitStart:Boolean,isToday:Boolean,title:String,value:Date},updated:function(){},setup:S?function(){return{v3:!!S}}:void 0,render:function(e){var t=S||e,i=Object(o.getDefaultSlots)(this),n=this.$props,r=(n.formattedValue,n.isWeekend),s=n.isFocused,a=(n.isInRange,n.isSelected),l=n.isRangeStart,u=n.isRangeMid,d=n.isRangeEnd,c=n.isRangeSplitStart,h=n.isRangeSplitEnd,p=n.isToday,f=n.isDisabled,m=(n.view,n.value,"end"===this.$props.activeRangeEnd&&d),v="start"===this.$props.activeRangeEnd&&l;return t("td",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,title:this.$props.title},title:this.$props.title,class:{"k-calendar-td":!0,"k-range-end":d,"k-range-mid":u,"k-range-split-end":h,"k-range-split-start":c,"k-range-start":l,"k-state-active":v||m,"k-state-focused":s,"k-state-selected":a||l||d,"k-today":p,"k-weekend":r,"k-state-disabled":f},onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.handleMouseDown,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave},onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave},[t("span",{class:"k-link"},[i])])},methods:{handleClick:function(e){var t=this.$props.value;this.$emit("click",t,e)},handleMouseDown:function(e){var t=this.$props.value;this.$emit("mousedown",t,e)},handleMouseEnter:function(){var e=this.$props.value;this.$emit("mouseenter",e)},handleMouseLeave:function(){var e=this.$props.value;this.$emit("mouseleave",e)}}},D=w,I=r.h,C={props:{id:String,value:Number},emits:{click:null},setup:I?function(){return{v3:!!I}}:void 0,render:function(e){var t=I||e,i=Object(o.getDefaultSlots)(this);return t("td",{onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick},value:this.$props.value,attrs:this.v3?void 0:{value:this.$props.value,id:this.$props.id},id:this.$props.id},[i])},methods:{handleClick:function(e){var t=this.$props.value;this.$emit("click",t,e)}}},T=C;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.Up=2]="Up",e[e.Down=3]="Down",e[e.PrevView=4]="PrevView",e[e.NextView=5]="NextView",e[e.FirstInView=6]="FirstInView",e[e.LastInView=7]="LastInView",e[e.LowerView=8]="LowerView",e[e.UpperView=9]="UpperView"}(v||(v={})),function(e){e[e.month=0]="month",e[e.year=1]="year",e[e.decade=2]="decade",e[e.century=3]="century"}(g||(g={}));var O,E,$,x,M,R,_,F,A,z,V={start:null,end:null},j=function(e,t,i){return void 0===t||void 0===i||t<=e&&e<=i?e:e<t?t:i},N=new Date(1980,0,1),P=new Date(1900,0,1),B=new Date(2099,11,31),L=new Date(1980,0,1),H=new Date(1980,0,1,23,59,59),U=function(e,t){var i=s(e);return i.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),i},W=function(){return u(new Date)},K=function(e,t,i){return!e||!(t&&t>e||i&&i<e)},Y=function(e,t,i){return null===e||!(t&&u(t)>u(e)||i&&u(i)<u(e))},G=function(e,t){var i=t||V,n=i.start,r=i.end;return!(!n||!r)&&(n<e&&e<r)},q=function(e,t,i){void 0===i&&(i=1);for(var n=[],r=e;r<t;r+=i)n.push(r);return n},Z=function(e,t){return e.slice(t).concat(e.slice(0,t))},X=function(e,t,i){return e?t&&e<t?s(t):i&&e>i?s(i):e:e},J=function(e){return function(t,i,n){void 0===i&&(i=""),void 0===n&&(n={});var r=document.createElement(e);return r.className=i,Object.keys(n).map((function(e){return r.style[e]=n[e]})),"string"==typeof t?r.innerHTML=t||"":(t||[]).forEach((function(e){return e&&r.appendChild(e)})),r}},Q=function(e){var t=l(e.getFullYear(),e.getMonth()+1,1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return m(t,-1)},ee=function(e,t){var i=s(e),n=(12+(i.getMonth()+t)%12)%12;return i.setMonth(i.getMonth()+t),function(e,t){return e.getMonth()!==t?Q(ee(e,-1)):e}(a(i,e.getHours()),n)},te=function(e,t){var i=e.getMonth(),n=l(t,i,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return n.getMonth()===i?n:Q(ee(n,-1))},ie=function(e,t){return a(te(e,e.getFullYear()+t),e.getHours())},ne=function(e,t){return ie(e,10*t)},re=function(e,t){return ie(e,100*t)},oe=function(e,t){return te(e,t(e.getFullYear()))},se=function(e){return oe(e,(function(e){return e-e%100}))},ae=function(e){return oe(e,(function(e){return e-e%100+90}))},le=function(e){return oe(e,(function(e){return e-e%10}))},ue=function(e,t){return(se(t).getFullYear()-se(e).getFullYear())/100},de=[[]],ce=((O={})[v.Left]=function(e){return ne(e,-1)},O[v.Up]=function(e){return ne(e,-4)},O[v.Right]=function(e){return ne(e,1)},O[v.Down]=function(e){return ne(e,4)},O[v.PrevView]=function(e){return re(e,-1)},O[v.NextView]=function(e){return re(e,1)},O[v.FirstInView]=function(e){return se(e)},O[v.LastInView]=function(e){return ae(e)},O),he=function(){function e(){}return e.prototype.addToDate=function(e,t){return re(e,t)},e.prototype.datesList=function(e,t){return q(0,t).map((function(t){return re(e,t)}))},e.prototype.data=function(e){var t=this,i=e.cellUID,n=e.focusedDate,r=e.isActiveView,o=e.max,s=e.min,a=e.selectedDate,l=e.selectionRange,u=void 0===l?V:l,d=e.viewDate;if(!d)return de;var c=q(0,4),h=se(d),p=ae(d),f=W();return q(0,3).map((function(e){var l=ne(h,4*e);return c.map((function(e){var d=t.normalize(ne(l,e),s,o);if(!t.isInSameView(d,p))return null;var c=t.isEqual(d,u.start),m=t.isEqual(d,u.end),v=!c&&!m&&G(d,u),g=r&&(Array.isArray(a)?t.isSelectedFromArray(d,a,s,o):K(a,s,o)&&t.isEqual(d,a));return{formattedValue:t.value(d),id:""+i+d.getTime(),isFocused:t.isEqual(d,n),isSelected:g,isWeekend:!1,isInRange:K(d,s,o),isRangeStart:c,isRangeMid:v,isRangeEnd:m,isRangeSplitEnd:v&&t.isEqual(d,p),isRangeSplitStart:v&&t.isEqual(d,h),isToday:t.isEqual(d,f),title:t.cellTitle(d),value:d}}))}))},e.prototype.isSelectedFromArray=function(e,t,i,n){var r=this,o=!1;return t.forEach((function(t){K(e,i,n)&&r.isEqual(e,t)&&(o=!0)})),o},e.prototype.isEqual=function(e,t){return!(!e||!t)&&le(e).getFullYear()===le(t).getFullYear()},e.prototype.isInArray=function(e,t){if(!t.length)return!1;var i=e.getFullYear();return t[0].getFullYear()<=i&&i<=t[t.length-1].getFullYear()+99},e.prototype.isInRange=function(e,t,i){var n=le(e).getFullYear(),r=!t||le(t).getFullYear()<=n,o=!i||n<=le(i).getFullYear();return r&&o},e.prototype.isInSameView=function(e,t){return 0===ue(e,t)},e.prototype.isRangeStart=function(e){return e.getFullYear()%1e3==0},e.prototype.move=function(e,t){var i=ce[t];return i?i(e):e},e.prototype.cellTitle=function(e){return le(e).getFullYear().toString()},e.prototype.navigationTitle=function(e){return e?se(e).getFullYear().toString():""},e.prototype.title=function(e){return e?se(e).getFullYear()+" - "+ae(e).getFullYear():""},e.prototype.rowLength=function(e){return 4},e.prototype.skip=function(e,t){return ue(t,e)},e.prototype.total=function(e,t){return ue(e,t)+1},e.prototype.value=function(e){return e?le(e).getFullYear().toString():""},e.prototype.viewDate=function(e,t,i){return void 0===i&&(i=1),ue(e,t)<i?re(e,-1):e},e.prototype.normalize=function(e,t,i){return e<t&&this.isEqual(e,t)?s(t):e>i&&this.isEqual(e,i)?s(i):e},e}(),pe=function(e){return oe(e,(function(e){return e-e%10+9}))},fe=function(e,t){return(le(t).getFullYear()-le(e).getFullYear())/10},me=[[]],ve=((E={})[v.Left]=function(e){return ie(e,-1)},E[v.Up]=function(e){return ie(e,-4)},E[v.Right]=function(e){return ie(e,1)},E[v.Down]=function(e){return ie(e,4)},E[v.PrevView]=function(e){return ne(e,-1)},E[v.NextView]=function(e){return ne(e,1)},E[v.FirstInView]=function(e){return le(e)},E[v.LastInView]=function(e){return pe(e)},E),ge=function(){function e(){}return e.prototype.addToDate=function(e,t){return ne(e,t)},e.prototype.datesList=function(e,t){return q(0,t).map((function(t){return ne(le(e),t)}))},e.prototype.data=function(e){var t=this,i=e.cellUID,n=e.focusedDate,r=e.isActiveView,o=e.max,s=e.min,a=e.selectedDate,l=e.selectionRange,u=void 0===l?V:l,d=e.viewDate;if(!d)return me;var c=q(0,4),h=le(d),p=pe(d),f=W();return q(0,3).map((function(e){var l=ie(h,4*e);return c.map((function(e){var d=t.normalize(ie(l,e),s,o);if(!t.isInSameView(d,p))return null;var c=t.isEqual(d,u.start),m=t.isEqual(d,u.end),v=!c&&!m&&G(d,u),g=r&&(Array.isArray(a)?t.isSelectedFromArray(d,a,s,o):K(a,s,o)&&t.isEqual(d,a));return{formattedValue:t.value(d),id:""+i+d.getTime(),isFocused:t.isEqual(d,n),isSelected:g,isWeekend:!1,isInRange:K(d,s,o),isRangeStart:c,isRangeMid:v,isRangeEnd:m,isRangeSplitEnd:v&&t.isEqual(d,p),isRangeSplitStart:v&&t.isEqual(d,h),isToday:t.isEqual(d,f),title:t.cellTitle(d),value:d}}))}))},e.prototype.isSelectedFromArray=function(e,t,i,n){var r=this,o=!1;return t.forEach((function(t){K(e,i,n)&&r.isEqual(e,t)&&(o=!0)})),o},e.prototype.isEqual=function(e,t){return!(!e||!t)&&e.getFullYear()===t.getFullYear()},e.prototype.isInArray=function(e,t){if(!t.length)return!1;var i=e.getFullYear();return t[0].getFullYear()<=i&&i<=t[t.length-1].getFullYear()+9},e.prototype.isInRange=function(e,t,i){var n=e.getFullYear(),r=!t||t.getFullYear()<=n,o=!i||n<=i.getFullYear();return r&&o},e.prototype.isRangeStart=function(e){return e.getFullYear()%100==0},e.prototype.isInSameView=function(e,t){return 0===fe(e,t)},e.prototype.move=function(e,t){var i=ve[t];return i?i(e):e},e.prototype.cellTitle=function(e){return e.getFullYear().toString()},e.prototype.navigationTitle=function(e){return e?le(e).getFullYear().toString():""},e.prototype.title=function(e){return e?le(e).getFullYear()+" - "+pe(e).getFullYear():""},e.prototype.rowLength=function(e){return 4},e.prototype.skip=function(e,t){return fe(t,e)},e.prototype.total=function(e,t){return fe(e,t)+1},e.prototype.value=function(e){return e?e.getFullYear().toString():""},e.prototype.viewDate=function(e,t,i){return void 0===i&&(i=1),fe(e,t)<i?ne(e,-1):e},e.prototype.normalize=function(e,t,i){return e<t&&this.isEqual(e,t)?s(t):e>i&&this.isEqual(e,i)?s(i):e},e}(),ye=function(e,t){return m(e,7*t)},be=function(e){return l(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())},ke=function(e,t){return 12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth())},Se=[[]],we=(($={})[v.Left]=function(e){return m(e,-1)},$[v.Up]=function(e){return ye(e,-1)},$[v.Right]=function(e){return m(e,1)},$[v.Down]=function(e){return ye(e,1)},$[v.PrevView]=function(e){return ee(e,-1)},$[v.NextView]=function(e){return ee(e,1)},$[v.FirstInView]=function(e){return be(e)},$[v.LastInView]=function(e){return Q(e)},$),De=function(){function e(e){this.intl=e}return e.prototype.addToDate=function(e,t){return ee(e,t)},e.prototype.datesList=function(e,t){return q(0,t).map((function(t){return ee(e,t)}))},e.prototype.data=function(e){var t=this,i=e.cellUID,n=e.focusedDate,r=e.isActiveView,o=e.max,s=e.min,a=e.selectedDate,l=e.selectionRange,u=void 0===l?V:l,d=e.viewDate;if(!d)return Se;var c=be(d),h=Q(d),p=y(c,this.intl.firstDay(),-1),f=q(0,7),v=W();return q(0,6).map((function(e){var l=m(p,7*e);return f.map((function(e){var d=t.normalize(m(l,e),s,o);if(d<c||d>h)return null;var p=t.isEqual(d,u.start),f=t.isEqual(d,u.end),g=!p&&!f&&G(d,u),y=r&&(Array.isArray(a)?t.isSelectedFromArray(d,a,s,o):K(a,s,o)&&t.isEqual(d,a));return{formattedValue:t.value(d),id:""+i+d.getTime(),isFocused:t.isEqual(d,n),isSelected:y,isInRange:K(d,s,o),isWeekend:t.isWeekend(d),isRangeStart:p,isRangeMid:g,isRangeEnd:f,isRangeSplitStart:g&&t.isEqual(d,c),isRangeSplitEnd:g&&t.isEqual(d,h),isToday:t.isEqual(d,v),title:t.cellTitle(d),value:d}}))}))},e.prototype.isEqual=function(e,t){return!(!e||!t)&&u(e).getTime()===u(t).getTime()},e.prototype.isSelectedFromArray=function(e,t,i,n){var r=this,o=!1;return t.forEach((function(t){K(e,i,n)&&r.isEqual(e,t)&&(o=!0)})),o},e.prototype.isInArray=function(e,t){return!!t.length&&be(t[0])<=e&&e<=Q(t[t.length-1])},e.prototype.isInRange=function(e,t,i){var n=u(e),r=!t||u(t)<=n,o=!i||n<=u(i);return r&&o},e.prototype.isInSameView=function(e,t){return 0===ke(e,t)},e.prototype.isRangeStart=function(e){return!e.getMonth()},e.prototype.move=function(e,t){var i=we[t];return i?i(e):e},e.prototype.cellTitle=function(e){return this.intl.formatDate(e,"D")},e.prototype.navigationTitle=function(e){return e?this.isRangeStart(e)?e.getFullYear().toString():this.abbrMonthNames()[e.getMonth()]:""},e.prototype.title=function(e){return this.wideMonthNames()[e.getMonth()]+" "+e.getFullYear()},e.prototype.rowLength=function(e){return 7+(e?1:0)},e.prototype.skip=function(e,t){return ke(t,e)},e.prototype.total=function(e,t){return ke(e,t)+1},e.prototype.value=function(e){return e?e.getDate().toString():""},e.prototype.viewDate=function(e,t,i){return void 0===i&&(i=1),ke(e,t)<i?ee(e,-1):e},e.prototype.isWeekend=function(e){var t=e.getDay();return 6===t||0===t},e.prototype.abbrMonthNames=function(){return this.intl.dateFormatNames({nameType:"abbreviated",type:"months"})},e.prototype.normalize=function(e,t,i){return e<t&&this.isEqual(e,t)?u(t):e>i&&this.isEqual(e,i)?u(i):e},e.prototype.wideMonthNames=function(){return this.intl.dateFormatNames({nameType:"wide",type:"months"})},e}(),Ie=function(e,t){var i=e.getDate(),n=l(e.getFullYear(),t,i,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return n.getDate()===i?n:Q(ee(n,-1))},Ce=function(e){return Ie(e,0)},Te=function(e){return Ie(e,11)},Oe=function(e,t){return t.getFullYear()-e.getFullYear()},Ee=[[]],$e=((x={})[v.Left]=function(e){return ee(e,-1)},x[v.Up]=function(e){return ee(e,-4)},x[v.Right]=function(e){return ee(e,1)},x[v.Down]=function(e){return ee(e,4)},x[v.PrevView]=function(e){return ie(e,-1)},x[v.NextView]=function(e){return ie(e,1)},x[v.FirstInView]=function(e){return Ce(e)},x[v.LastInView]=function(e){return Te(e)},x),xe=function(){function e(e){this._intl=e}return e.prototype.addToDate=function(e,t){return ie(e,t)},e.prototype.datesList=function(e,t){return q(0,t).map((function(t){return ie(e,t)}))},e.prototype.data=function(e){var t=this,i=e.cellUID,n=e.focusedDate,r=e.isActiveView,o=e.max,s=e.min,a=e.selectedDate,l=e.selectionRange,u=void 0===l?V:l,d=e.viewDate;if(!d)return Ee;var c=this.abbrMonthNames(),h=Ce(d),p=Te(d),f=h.getFullYear(),m=q(0,4),v=W();return q(0,3).map((function(e){var l=ee(h,4*e);return m.map((function(e){var d=t.normalize(ee(l,e),s,o);if(!d)return null;if(f<d.getFullYear())return null;var m=t.isEqual(d,u.start),g=t.isEqual(d,u.end),y=!m&&!g&&G(d,u),b=r&&(Array.isArray(a)?t.isSelectedFromArray(d,a,s,o):K(a,s,o)&&t.isEqual(d,a));return{formattedValue:c[d.getMonth()],id:""+i+d.getTime(),isFocused:t.isEqual(d,n),isSelected:b,isInRange:K(d,s,o),isWeekend:!1,isRangeStart:m,isRangeMid:y,isRangeEnd:g,isRangeSplitEnd:y&&t.isEqual(d,p),isRangeSplitStart:y&&t.isEqual(d,h),isToday:t.isEqual(d,v),title:t.cellTitle(d),value:d}}))}))},e.prototype.isSelectedFromArray=function(e,t,i,n){var r=this,o=!1;return t.forEach((function(t){K(e,i,n)&&r.isEqual(e,t)&&(o=!0)})),o},e.prototype.isEqual=function(e,t){return!(!e||!t)&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth())},e.prototype.isInArray=function(e,t){if(!t.length)return!1;var i=e.getFullYear();return t[0].getFullYear()<=i&&i<=t[t.length-1].getFullYear()},e.prototype.isInRange=function(e,t,i){var n=l(e.getFullYear(),e.getMonth(),1),r=!t||l(t.getFullYear(),t.getMonth(),1)<=n,o=!i||n<=l(i.getFullYear(),i.getMonth(),1);return r&&o},e.prototype.isInSameView=function(e,t){return 0===Oe(e,t)},e.prototype.isRangeStart=function(e){return e.getFullYear()%10==0},e.prototype.move=function(e,t){var i=$e[t];return i?i(e):e},e.prototype.cellTitle=function(e){return e.getFullYear()+" "+this.value(e)},e.prototype.navigationTitle=function(e){return this.title(e)},e.prototype.title=function(e){return e?e.getFullYear().toString():""},e.prototype.rowLength=function(e){return 4},e.prototype.skip=function(e,t){return Oe(t,e)},e.prototype.total=function(e,t){return Oe(e,t)+1},e.prototype.value=function(e){return e?this.abbrMonthNames()[e.getMonth()]:""},e.prototype.viewDate=function(e,t,i){return void 0===i&&(i=1),Oe(e,t)<i?ie(e,-1):e},e.prototype.abbrMonthNames=function(){return this._intl.dateFormatNames({nameType:"abbreviated",type:"months"})},e.prototype.normalize=function(e,t,i){return e<t&&this.isEqual(e,t)?Object(o.cloneDate)(t):e>i&&this.isEqual(e,i)?Object(o.cloneDate)(i):e},e}(),Me=((M={})[g.month]=De,M[g.year]=xe,M[g.decade]=ge,M[g.century]=he,M),Re=function(){function e(e){this.bottom=g.month,this.top=g.century,this.onViewChanged=e}return e.prototype.configure=function(e,t){this.bottom=e,this.top=t},e.prototype.service=function(e,t){return new Me[""+e](t)},e.prototype.moveDown=function(e,t){this.move(e,-1,t)},e.prototype.moveUp=function(e,t){this.move(e,1,t)},e.prototype.moveToBottom=function(e){e!==this.bottom&&this.onViewChanged({view:this.bottom})},e.prototype.canMoveDown=function(e){return this.bottom<e},e.prototype.canMoveUp=function(e){return e<this.top},e.prototype.clamp=function(e){return e<this.bottom?this.bottom:e>this.top?this.top:e},e.prototype.move=function(e,t,i){var n=this.clamp(function(e,t){var i=g[g[e+t]];return void 0!==i?i:e}(e,t));n!==e&&this.onViewChanged({view:n},i)},e}(),_e=function(){function e(){this.didCalculate=!1}return e.prototype.ensureHeights=function(){void 0===this.calendarHeight&&this.calculateHeights()},e.prototype.calculateHeights=function(e){var t=this;if(o.canUseDOM){var i,n=J("div"),r=J("ul"),s=J("li"),a=J("td"),l=J("th"),u=J("tr"),d=J("tbody"),c=J("thead"),h=J("table"),p=function(){return n('\n <span class="k-calendar-title">March 2017</span>\n <span class="k-calendar-today">TODAY</span>\n ',"k-calendar-header")},f=function(e,t){return new Array(e).fill("1").map(t)},m=function(e){return n(e,"k-content k-scrollable")},v=function(){return o.canUseDOM?(i||(i=n([m([r([s("<span>FEB</span>")])])],"k-calendar-navigation",{left:"0px",position:"absolute"})),i):null},g=function(e,t,i){var r,s=e.cells,v=e.rows;return function(){return o.canUseDOM?(r||(r=function(e,t,i){return n(i?[p(),h([c([u([l("MO")])])],"k-calendar-weekdays"),m([e,e])]:[p(),m([e,e])],t,{left:"-10000px",position:"absolute"})}(function(e,t){return void 0===t&&(t=1),h([d([u([l("1")])].concat(f(e,(function(){return u(f(t,(function(e){return a('<span class="k-link">'+e+"</span>")})))}))))])}(v,s),t,i)),r):null}},y=function(e){return e.querySelector(".k-scrollable")},b=function(e){var t=y(e);return t.className=t.className+" k-scrollable-horizontal",e},k=g({cells:7,rows:6},"k-calendar-view k-calendar-monthview",!0),S=g({cells:5,rows:3},"k-calendar-view k-calendar-yearview",!1),w=g({cells:5,rows:2},"k-calendar-view k-calendar-decadeview",!1),D=function(e){return parseFloat(window.getComputedStyle(e).height)||e.offsetHeight},I=function(e){var t=window.getComputedStyle(e);return parseFloat(t.width)+parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)||e.offsetWidth},C=function(e){return e.querySelector("tbody")};this.didCalculate=!0,e&&(this.hostContainer=e),this.batch(k(),(function(e){var i=C(e);t.calendarHeight=D(e),t.monthViewHeight=D(i),t.headerHeight=D(i.children[0]),t.scrollableContentHeight=D(y(e))})),this.batch(b(k()),(function(e){var i=C(e);t.calendarWidth=I(e),t.monthViewWidth=I(i),t.scrollableContentWidth=I(y(e))})),this.batch(S(),(function(e){t.yearViewHeight=D(C(e)),t.scrollableYearContentHeight=D(y(e))})),this.batch(b(S()),(function(e){t.yearViewWidth=I(C(e))})),this.batch(w(),(function(e){t.decadeViewHeight=D(C(e)),t.centuryViewHeight=t.decadeViewHeight})),this.batch(b(w()),(function(e){t.decadeViewWidth=I(C(e)),t.centuryViewWidth=t.decadeViewWidth})),this.batch(v(),(function(e){t.navigationItemHeight=D(e.querySelector("li"))}))}},e.prototype.viewHeight=function(e){return this.viewDimension(e,"height")},e.prototype.viewWidth=function(e){return this.viewDimension(e,"width")},e.prototype.viewDimension=function(e,t){var i="height"===t?"ViewHeight":"ViewWidth";switch(e){case g.month:return this["month"+i];case g.year:return this["year"+i];case g.decade:return this["decade"+i];case g.century:return this["century"+i];default:return 1}},e.prototype.batch=function(e,t){var i=this.hostContainer||document.body,n=i.appendChild(e);t(n),i.removeChild(n)},e}(),Fe={33:v.PrevView,34:v.NextView,35:v.LastInView,36:v.FirstInView,37:v.Left,38:v.Up,39:v.Right,40:v.Down,"meta+38":v.UpperView,"meta+40":v.LowerView,"meta+37":v.PrevView,"meta+39":v.NextView},Ae=function(){function e(e){this.bus=e}return e.prototype.action=function(e){var t=(e.ctrlKey||e.metaKey?"meta+":"")+e.keyCode;return Fe[t]},e.prototype.move=function(e,t,i,n,r){return n?t===v.UpperView&&this.bus.canMoveUp(i)?(this.bus.moveUp(i,r),e):t===v.LowerView&&this.bus.canMoveDown(i)?(this.bus.moveDown(i,r),e):n.move(e,t):e},e}(),ze=function(){function e(e){this.intl=e}return e.prototype.getWeekNames=function(e){void 0===e&&(e=!1);var t=Z(this.intl.dateFormatNames({nameType:"short",type:"days"}),this.intl.firstDay());return e?[""].concat(t):t},e}(),Ve=r,je=Ve.h,Ne=Ve.inject,Pe={name:"KendoView",inject:{kendoIntlService:{default:null}},props:{activeRangeEnd:{type:String},activeView:{type:Number,required:!0},cell:[String,Function,Object],cellUID:{type:String,required:!0},direction:{type:String,default:"vertical"},isActive:{type:Boolean,default:void 0},focusedDate:{type:Date,required:!0},max:{type:Date,required:!0},min:{type:Date,required:!0},selectedDate:{type:[Date,Array,Object],default:function(){return W()}},selectionRange:Object,showWeekNumbers:{type:Boolean,default:!1},viewDate:{type:Date,required:!0},weekCell:[String,Function,Object],bus:Object,service:Object},computed:{isHorizontal:{get:function(){return"horizontal"===this.$props.direction}},isMonthView:{get:function(){return this.$props.activeView===g.month}},weekNumber:{get:function(){return Boolean(this.$props.showWeekNumbers&&this.$props.activeView===g.month)}}},methods:{getWeekNumber:function(e){return this.weekNumber?function(e,t){void 0===t&&(t=n.Monday);var i=m(e,-7),r=m(e,7),o=k(e,t);return 0===o?k(i,t)+1:53===o&&k(r,t)>1?1:o}(e,this._intl.firstDay()):null},firstDate:function(e){var t=this.firstWeekDateContext(e);return t?t.value:null},firstWeekDateContext:function(e){if(!this.weekNumber)return null;for(var t=0,i=e[t];!i&&t<e.length;)i=e[++t];return i},handleClick:function(e,t){var i={value:s(e),target:this,event:t};this.$emit("change",i)},handleWeekCellClick:function(e,t){var i={value:e,event:t};this.$emit("weekcellclick",i)},handleMouseDown:function(e,t){var i={value:s(e),target:this,event:t};this.$emit("viewmousedown",i)},handleMouseEnter:function(e){this.$emit("cellenter",s(e))},handleMouseLeave:function(e){this.$emit("cellleave",s(e))}},setup:je?function(){return{v3:!!je,kendoIntlService:Ne("kendoIntlService",{})}}:void 0,render:function(e){var t=je||e;this._intl=Object(h.provideIntlService)(this),this._weekService=new ze(this._intl);var i=function(e){return t("td",{key:e},[" "])},n=W(),r=this.$props.isActive?this.$props.focusedDate:null,s=U(this.$props.viewDate,n),a=this.$props.service.data({cellUID:this.$props.cellUID,min:this.$props.min,max:this.$props.max,focusedDate:r,isActiveView:!this.$props.bus.canMoveDown(this.$props.activeView),selectedDate:this.$props.selectedDate,selectionRange:this.$props.selectionRange,viewDate:s}),l=function(e,n){if(!this.firstDate(e))return i("week-cell-"+n);var r=this.getWeekNumber(this.firstDate(e)),s="kendo-vue-calendar-week-cell-"+r,a=t(C,{class:"k-calendar-td k-alt",value:r,attrs:this.v3?void 0:{value:r},onClick:this.handleWeekCellClick,on:this.v3?void 0:{click:this.handleWeekCellClick},key:s},this.v3?function(){return[r]}:[r]);return o.getTemplate.call(this,{h:t,template:this.$props.weekCell,defaultRendering:a,defaultSlots:r,additionalListeners:{click:this.handleWeekCellClick},additionalProps:{value:r,key:s}})},u=function(e){return e.map((function(e,n){if(!e)return i(n);var r="kendo-vue-calendar-cell-"+e.value.getTime(),s=t(w,{"aria-selected":e.isSelected,attrs:this.v3?void 0:{"aria-selected":e.isSelected,formattedValue:e.formattedValue,id:e.id,isFocused:e.isFocused,isSelected:e.isSelected,isInRange:e.isInRange,isWeekend:e.isWeekend,isRangeStart:e.isRangeStart,isRangeMid:e.isRangeMid,isRangeEnd:e.isRangeEnd,isRangeSplitStart:e.isRangeSplitStart,isRangeSplitEnd:e.isRangeSplitEnd,isToday:e.isToday,title:e.title,value:e.value,isDisabled:!e.isInRange,view:this.$props.activeView},formattedValue:e.formattedValue,id:e.id,isFocused:e.isFocused,isSelected:e.isSelected,isInRange:e.isInRange,isWeekend:e.isWeekend,isRangeStart:e.isRangeStart,isRangeMid:e.isRangeMid,isRangeEnd:e.isRangeEnd,isRangeSplitStart:e.isRangeSplitStart,isRangeSplitEnd:e.isRangeSplitEnd,isToday:e.isToday,title:e.title,value:e.value,isDisabled:!e.isInRange,view:this.$props.activeView,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.handleMouseDown,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave},onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,key:r},this.v3?function(){return[e.formattedValue]}:[e.formattedValue]);return o.getTemplate.call(this,{h:t,template:this.$props.cell,defaultRendering:s,defaultSlots:e.formattedValue,additionalListeners:{click:this.handleClick,mousedown:this.handleMouseDown,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave},additionalProps:{formattedValue:e.formattedValue,id:e.id,isFocused:e.isFocused,isSelected:e.isSelected,isInRange:e.isInRange,isWeekend:e.isWeekend,isRangeStart:e.isRangeStart,isRangeMid:e.isRangeMid,isRangeEnd:e.isRangeEnd,isRangeSplitStart:e.isRangeSplitStart,isRangeSplitEnd:e.isRangeSplitEnd,isToday:e.isToday,title:e.title,value:e.value,isDisabled:!e.isInRange,view:this.$props.activeView,key:r}})}),this)};return t("tbody",{class:"k-calendar-tbody",role:"rowgroup",attrs:this.v3?void 0:{role:"rowgroup"}},[a.map((function(e,i){return t("tr",{class:"k-calendar-tr",role:"row",attrs:this.v3?void 0:{role:"row"},key:i},[this.weekNumber&&l.call(this,e,i),u.call(this,e)])}),this)])}},Be=r,Le=Be.h,He=Be.inject,Ue={name:"KendoViewList",inheritAttrs:!1,inject:{kendoIntlService:{default:null}},props:{allowReverse:Boolean,hasFocusedDate:Boolean,activeView:{type:Number,required:!0},bottomOffset:{type:Number},cell:[String,Function,Object],cellUID:{type:String,required:!0},dates:Array,focusedDate:{type:Date,required:!0},isActive:{type:Boolean,default:void 0},max:{type:Date,required:!0},min:{type:Date,required:!0},selectionRange:Object,showWeekNumbers:{type:Boolean,default:!1},smoothScroll:{type:Boolean,default:!0},take:{type:Number,default:5},value:{type:[Date,Array,Object]},views:{type:Number,default:1},viewHeight:Number,viewOffset:Number,bus:Object,dom:Object,weekCell:[String,Function,Object],service:Object},data:function(){return{lastViewsCount:0,valueHasUpdated:!1}},computed:{weekNames:{get:function(){this._intl=Object(h.provideIntlService)(this);var e=Z(this._intl.dateFormatNames({nameType:"short",type:"days"}),this._intl.firstDay());return this.weekNumber?[""].concat(e):e}},weekNumber:{get:function(){return Boolean(this.$props.showWeekNumbers&&this.$props.activeView===g.month)}},animate:{get:function(){return Boolean(this.$props.smoothScroll&&this.animateToIndex)}}},created:function(){this.lastView=this.$props.activeView,this.lastFocus=this.$props.focusedDate,this.animateToIndex=!0,this.shouldScroll=!1},updated:function(){this.shouldScroll=!1,this.lastView=this.$props.activeView,this.$data.lastViewsCount=this.$props.views,this.indexToScroll=void 0},methods:{handleFocus:function(e){this.$emit("listfocus",e)},handleBlur:function(e){this.$emit("listblur",e)},handleKeyDown:function(e){this.$emit("listkeydown",e)},handleVirtualizationMount:function(e){},calculateHeights:function(){if(this.$props.dom){var e=this.$props.activeView===g.month?this.$props.dom.scrollableContentHeight:this.$props.dom.scrollableYearContentHeight;this._bottomOffset=e-this.$props.dom.viewHeight(this.$props.activeView),this._viewOffset=-1*this.$props.dom.headerHeight,this._viewHeight=this.$props.dom.viewHeight(this.$props.activeView)||1}},getTake:function(e,t){return Math.min(t-e,this.$props.take)},handleScrollAction:function(){},handleTodayClick:function(e){this.shouldScroll=!0,this.handleDateChange(e,!0)},handleMouseDown:function(e){var t={event:e.event,value:s(e.value),target:this};this.$emit("listmousedown",t)},handleDateChange:function(e,t){void 0===t&&(t=!1);var i={event:e.event,value:s(e.value),target:this,isTodayClick:t};this.$emit("change",i)},handleWeekCellClick:function(e){this.$emit("weekcellclick",e)},handleWeekNameClick:function(e,t){var i={value:t,event:e};this.$emit("weeknameclick",i)},handleCellEnter:function(e){this.$emit("cellenter",e)},rotateSelectionRange:function(e){if(null===e.start||null===e.end)return e;var t=e.end<e.start;return{start:t?e.end:e.start,end:t?e.start:e.end}}},setup:Le?function(){return{v3:!!Le,kendoIntlService:He("kendoIntlService",{})}}:void 0,mounted:function(){this._calendarView=this.$refs.calendarView},render:function(e){var t=Le||e,i=this.$props.allowReverse?this.rotateSelectionRange(this.$props.selectionRange):this.$props.selectionRange,n=Object(o.classNames)("k-calendar-view","k-hstack k-align-items-start k-justify-content-center",{"k-calendar-monthview":this.$props.activeView===g.month,"k-calendar-yearview":this.$props.activeView===g.year,"k-calendar-decadeview":this.$props.activeView===g.decade,"k-calendar-centuryview":this.$props.activeView===g.century}),r=Object(o.classNames)("k-calendar-table","k-content","k-calendar-content",{"k-month":this.$props.activeView===g.month,"k-year":this.$props.activeView===g.year,"k-decade":this.$props.activeView===g.decade,"k-century":this.$props.activeView===g.century}),s=function(e){var i=this;return t("thead",{class:"k-calendar-thead"},[t("tr",{class:"k-calendar-tr k-calendar-weekdays"},[e.map((function(e,n){return t("th",{class:"k-calendar-th",key:n,onClick:function(t){return i.handleWeekNameClick(t,e)},on:this.v3?void 0:{click:function(t){return i.handleWeekNameClick(t,e)}}},[e])}),this)])])};return t("div",{class:n,onFocusin:this.handleFocus,on:this.v3?void 0:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur},[function(){var e=this.$props.cellUID;return this.$props.dates.map((function(n){return t("table",{role:"grid",attrs:this.v3?void 0:{role:"grid","aria-label":this.$props.service.title(this.$props.focusedDate),"aria-live":"polite","aria-activedescendant":e+this.$props.focusedDate.getTime(),tabIndex:this.$attrs.tabIndex},"aria-label":this.$props.service.title(this.$props.focusedDate),"aria-live":"polite","aria-activedescendant":e+this.$props.focusedDate.getTime(),tabIndex:this.$attrs.tabIndex,class:r,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown}},[this.$props.activeView===g.month&&s.call(this,this.weekNames),t(Pe,{key:n.getTime(),activeView:this.$props.activeView,attrs:this.v3?void 0:{activeView:this.$props.activeView,viewDate:n,min:this.$props.min,max:this.$props.max,cellUID:e,isActive:this.$props.isActive,focusedDate:this.$props.focusedDate,cell:this.$props.cell,selectionRange:i,selectedDate:this.$props.value,showWeekNumbers:this.weekNumber,bus:this.$props.bus,service:this.$props.service,weekCell:this.$props.weekCell},viewDate:n,min:this.$props.min,max:this.$props.max,cellUID:e,isActive:this.$props.isActive,focusedDate:this.$props.focusedDate,cell:this.$props.cell,selectionRange:i,selectedDate:this.$props.value,showWeekNumbers:this.weekNumber,onChange:this.handleDateChange,on:this.v3?void 0:{change:this.handleDateChange,weekcellclick:this.handleWeekCellClick,cellenter:this.handleCellEnter,viewmousedown:this.handleMouseDown},onWeekcellclick:this.handleWeekCellClick,onCellenter:this.handleCellEnter,onViewmousedown:this.handleMouseDown,bus:this.$props.bus,service:this.$props.service,weekCell:this.$props.weekCell})])}),this)}.call(this)])}},We=new Date(1980,0,1),Ke=new Date(1900,0,1),Ye=new Date(2099,11,31),Ge=new Date(1980,0,1),qe=new Date(1980,0,1,23,59,59),Ze=i(3),Xe=r.h,Je={name:"KendoHeaderTitle",emits:{click:null},props:{id:String,value:String,view:Number},methods:{handleClick:function(e){this.$emit("click",e)}},setup:Xe?function(){return{v3:!!Xe}}:void 0,render:function(e){var t=Xe||e,i=Object(o.getDefaultSlots)(this);return t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",value:this.$props.value,id:this.$props.id,fillMode:"flat",tabIndex:0},value:this.$props.value,id:this.$props.id,fillMode:"flat",onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick},tabIndex:0},this.v3?function(){return[i]}:[i])}},Qe=Je,et="calendar.prevView",tt="calendar.nextView",it="dateinput.increment",nt="dateinput.decrement",rt="datepicker.toggleCalendar",ot="daterangepicker.swapStartEnd",st="daterangepicker.separator",at="datetimepicker.toggleDateTimeSelector",lt="timepicker.selectNow",ut="timepicker.toggleClock",dt=((R={})["calendar.today"]="Today",R["timepicker.now"]="NOW",R["timepicker.set"]="Set",R["timepicker.cancel"]="Cancel",R["datetimepicker.date"]="Date",R["datetimepicker.time"]="Time",R["datetimepicker.cancel"]="Cancel",R["datetimepicker.set"]="Set",R["daterangepicker.start"]="Start",R["daterangepicker.end"]="End",R[st]=" ",R[lt]="Select Now",R["timepicker.toggleTimeSelector"]="Toggle TimeSelector",R[ut]="Toggle Clock",R[it]="Increase value",R[nt]="Decrease value",R[rt]="Toggle calendar",R[et]="Navigate to previous view",R[tt]="Navigate to next view",R[ot]="Swap start and end values",R[at]="Toggle date-time selector",R),ct=r,ht=ct.h,pt=ct.inject,ft={name:"KendoHeader",inheritAttrs:!1,inject:{kendoLocalizationService:{default:null}},props:{activeView:{type:Number,required:!0},currentDate:{type:Date,required:!0},focusedDate:{type:Date,required:!0},headerTitle:{type:[String,Object,Function],default:function(){}},max:{type:Date,default:function(){return B}},min:{type:Date,default:function(){return Ke}},bus:Object,service:Object,rangeLength:{type:Number,default:1},tabIndex:{type:Number,default:0}},computed:{navigate:{get:function(){return this.$props.bus.canMoveUp(this.$props.activeView)}},todayIsInRange:{get:function(){return K(W(),u(this.$props.min),u(this.$props.max))}}},methods:{getTitle:function(){if(!this.$props.currentDate)return"";var e=this.$props.rangeLength-1,t=this.$props.service.title(this.$props.currentDate),i=this.$props.service.addToDate(this.$props.currentDate,e);return e<1||!this.$props.service.isInRange(i,this.$props.min,this.$props.max)?t:t+" - "+this.$props.service.title(i)},handleTitleClick:function(e){this.navigate&&(this.$props.bus.moveUp(this.$props.activeView,e),this.$emit("titleclick",e))},canNavigate:function(e){if(!this.$props.service)return!1;var t=this.$props.service.move(this.$props.focusedDate,e);return this.$props.min<=t&&t<=this.$props.max||this.$props.service.isInSameView(t,this.$props.min)||this.$props.service.isInSameView(t,this.$props.max)},move:function(e){return this.clampDate(this.$props.service.move(this.$props.focusedDate,e))},clampDate:function(e){return X(e,this.$props.min,this.$props.max)},handleNextClick:function(e){var t={event:e,value:this.move(v.NextView),target:this};this.$emit("nextclick",t)},handlePrevClick:function(e){var t={event:e,value:this.move(v.PrevView),target:this};this.$emit("prevclick",t)},handleTodayClick:function(e){if(this.todayIsInRange){this.$props.bus.moveToBottom(this.$props.activeView);var t={event:e,value:X(W(),this.$props.min,this.$props.max),target:this};this.$emit("todayclick",t)}},todayKeyDown:function(e){e.keyCode===o.Keys.enter&&this.handleTodayClick(e)}},setup:ht?function(){return{v3:!!ht,kendoLocalizationService:pt("kendoLocalizationService",{})}}:void 0,render:function(e){var t=ht||e;this._localization=Object(h.provideLocalizationService)(this);var i=this._localization.toLanguageString("calendar.today",dt["calendar.today"]),n=this.getTitle(),r=this._localization.toLanguageString(et,dt[et]),s=this._localization.toLanguageString(tt,dt[tt]),a=!this.canNavigate(v.PrevView),l=!this.canNavigate(v.NextView),u=Object(o.classNames)("k-calendar-title","k-title",{"k-disabled":!this.navigate}),d=Object(o.classNames)("k-nav-today",{"k-disabled":!this.todayIsInRange}),c=t(Je,{value:n,attrs:this.v3?void 0:{value:n,view:this.$props.activeView},view:this.$props.activeView,class:u,onClick:this.handleTitleClick,on:this.v3?void 0:{click:this.handleTitleClick}},this.v3?function(){return[n]}:[n]);return t("div",{class:"k-calendar-header k-hstack"},[o.getTemplate.call(this,{h:t,template:this.$props.headerTitle,defaultRendering:c}),t("span",{class:"k-spacer"}),t("span",{class:"k-calendar-nav k-hstack"},[t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"arrow-60-left",size:this.$props.size,fillMode:"flat",desabled:a,"aria-label":r,title:r},icon:"arrow-60-left",size:this.$props.size,fillMode:"flat",class:"k-prev-view",desabled:a,"aria-label":r,title:r,onClick:this.handlePrevClick,on:this.v3?void 0:{click:this.handlePrevClick}}),t("span",{class:d,tabIndex:this.$props.tabIndex,attrs:this.v3?void 0:{tabIndex:this.$props.tabIndex},onKeydown:this.todayKeyDown,on:this.v3?void 0:{keydown:this.todayKeyDown,click:this.handleTodayClick},onClick:this.handleTodayClick},[i]),t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"arrow-60-right",size:this.$props.size,fillMode:"flat",desabled:l,"aria-label":s,title:s},icon:"arrow-60-right",size:this.$props.size,fillMode:"flat",class:"k-next-view",desabled:l,"aria-label":s,title:s,onClick:this.handleNextClick,on:this.v3?void 0:{click:this.handleNextClick}})])])}},mt=function(e,t,i){return i instanceof Date&&!Array.isArray(i)&&K(u(i),e,t)?u(i):null},vt=function(e,t,i){return Array.isArray(i)?i.filter((function(i){return K(i,e,t)})).map((function(e){return u(e)})):null},gt=function(e){return"object"!=typeof e||e instanceof Date||null===e||Array.isArray(e)?V:e},yt=function(e,t,i){return e||t&&t[0]||i&&i.start},bt=r,kt=bt.h,St=bt.inject,wt={name:"KendoCalendar",inject:{kendoIntlService:{default:null}},model:{event:"changemodel"},props:{activeRangeEnd:{type:String,default:void 0},allowReverse:{type:Boolean,default:!1},cell:[String,Function,Object],className:String,defaultActiveView:{type:String,default:"month"},modelValue:{type:[Date,Array,Object],default:void 0},defaultValue:{type:[Date,Array,Object],default:null},disabled:{type:Boolean,default:!1},focusedDate:Date,id:{type:String,default:function(){return Object(o.guid)()}},headerTitle:[String,Function,Object],max:{type:Date,default:function(){return Ye}},min:{type:Date,default:function(){return Ke}},mode:String,navigation:{type:Boolean,default:!0},smoothScroll:{type:Boolean,default:!0},tabIndex:Number,value:[Date,Array,Object],views:{type:Number,default:1},weekNumber:Boolean,weekCell:[String,Function,Object],topView:{type:String,default:"century"},bottomView:{type:String,default:"month"}},data:function(){return{valueDuringOnChange:void 0,currentFocusedDate:null,currentActiveView:null,currentValue:null,cellUID:Object(o.guid)(),isActive:!1,oldValue:null,didNavigationChange:!1,currentActiveRangeEnd:void 0}},created:function(){Object(o.validatePackage)(p);var e,t,i,n,r=(e=this.currentMin,t=this.currentMax,i=this.$props.defaultValue,void 0!==(n=this.$props.value||this.$props.modelValue)?null!==n&&K(n,e,t)?n:null:null!==i&&K(i,e,t)?i:null),s=mt(this.currentMin,this.currentMax,r),a=vt(this.currentMin,this.currentMax,r),l=gt(r),u=yt(s,a,l);this._hasMounted=!1,this.$data.currentFocusedDate=X(this.$props.focusedDate||u||W(),this.currentMin,this.currentMax),this.$data.currentValue=r,this.$data.currentActiveView=j(g[this.$props.defaultActiveView],g[this.$props.bottomView],g[this.$props.topView]),this.$data.currentActiveRangeEnd=function(e,t){return null===e.start&&null===t?"start":null===e.end?"end":"start"}(l,s),this._dates=[],this._calculateFocusFromValue=!1,this._lastView=this.$props.activeView||this.$data.currentActiveView,this._lastViewsCount=this.$props.views,this._dom=new _e,this._bus=new Re(this.handleViewChange),this._navigation=new Ae(this._bus),this._oldValue=r},watch:{value:function(e,t){this.$data.currentFocusedDate=e},focusedDate:function(e,t){this.$data.currentFocusedDate=e}},setup:kt?function(){return{v3:!!kt,kendoIntlService:St("kendoIntlService",{})}}:void 0,mounted:function(){this.calendarViewList=this.v3?this.calendarViewListRef:this.$refs.calendarViewList,this._calculateFocusFromValue=!0},updated:function(){var e=mt(this.currentMin,this.currentMax,this.computedValue());this._calculateFocusFromValue=Boolean(this._selectedDate&&e&&this._selectedDate.getTime()&&e.getTime()),this._lastView=this.$props.activeView||this.$data.currentActiveView,this._lastViewsCount=this.$props.views,this._oldValue=this.computedValue(),this.calendarViewList||(this.calendarViewList=this.v3?this.calendarViewListRef:this.$refs.calendarViewList)},computed:{activeRange:{get:function(){return void 0!==this.$props.activeRangeEnd?this.$props.activeRangeEnd:this.$data.currentActiveRangeEnd}},currentMin:function(){return u(this.$props.min)},currentMax:function(){return u(this.$props.max)}},methods:{element:function(){return this.$el},computedValue:function(){return void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue},focus:function(e){this.calendarViewList&&this.calendarViewList.$el.firstElementChild.focus(e)},handleBlur:function(){this.$data.isActive=!1},handleFocus:function(){this.$data.isActive=!0},emitBlur:function(e){this.$emit("blur",e)},emitFocus:function(e){this.$emit("focus",e)},handleTodayClick:function(e){if(!this.$props.disabled){this.$data.didNavigationChange=!0;var t=s(e.value);this.$data.currentFocusedDate=t,this.$data.currentValue=t,this.triggerChange(t,e)}},handleViewChange:function(e){var t=e.view;this.$data.currentActiveView=t},handlePrevClick:function(e){var t=s(e.value);this.focus(),this.$props.disabled||(this.$data.currentFocusedDate=t)},handleTitleClick:function(){this.focus()},handleNextClick:function(e){var t=s(e.value);this.focus(),this.$props.disabled||(this.$data.currentFocusedDate=t)},handleCellEnter:function(e){"range"===this.$props.mode&&(this.$data.currentFocusedDate=e)},generateRange:function(e,t){var i=t.end,n=t.start,r=null!==t.start&&e.getTime()<=t.start.getTime();return!this.$props.allowReverse&&r?{start:e,end:this._selectedRange.start}:"end"!==this.activeRange?{start:e,end:i}:{start:n||this._selectedDate,end:e}},clampRange:function(e){return{start:e,end:null}},handleWeekCellClick:function(e){this.$emit("weekcellclick",e)},handleWeekNameClick:function(e){this.$emit("weeknameclick",e)},handleDateChange:function(e){var t=s(e.value),i=this._bus.canMoveDown(this.$data.currentActiveView);if(!this.$props.disabled){if(i){if(!e.isTodayClick)return this._bus.moveDown(this.$data.currentActiveView,e.event),void(this.$data.currentFocusedDate=t);this._bus.moveToBottom(this.$data.currentActiveView)}var n;switch(this.$props.mode){case"single":n=s(e.value);break;case"multiple":if(Array.isArray(this._selectedMultiple)){var r=this._selectedMultiple.slice(),o=-1;r.forEach((function(t,i){c(t,e.value)&&(o=i)})),-1!==o?r.splice(o,1):r.push(s(e.value)),n=r.slice()}else n=this._selectedDate?[s(this._selectedDate),s(e.value)]:[s(e.value)];break;case"range":n=null!==this._selectedRange.start&&null!==this._selectedRange.end&&"start"===this.activeRange?this.clampRange(e.value):this.generateRange(e.value,this._selectedRange),this.$data.currentActiveRangeEnd="end"!==this.activeRange?"end":"start";break;default:n=s(e.value)}this.$data.currentValue=n,this.triggerChange(n,e)}},triggerChange:function(e,t){this.$data.valueDuringOnChange=e;var i={event:t.event,value:e,component:this,target:{name:this.$props.name,value:e,valueAsDate:e}};this.$emit("changemodel",e),this.$emit("update:modelValue",e),this.$emit("change",i),this.$data.valueDuringOnChange=void 0},handleMouseDown:function(e){var t=s(e.value);this.$props.disabled||0!==this.$data.currentActiveView||(this.$data.currentFocusedDate=t)},tableKeyDown:function(e){var t=e.keyCode;if(this.$emit("keydown",e),t===o.Keys.enter){var i={event:e,value:this._focusedDate,component:this,target:{name:this.$props.name,value:this._focusedDate,valueAsDate:this._focusedDate}};this.handleDateChange(i)}else{var n=X(this._navigation.move(this._focusedDate,this._navigation.action(e),this.$data.currentActiveView,this._service,e),this.currentMin,this.currentMax);if(c(this._focusedDate,n))return;this._calculateFocusFromValue=!1,this.$data.currentFocusedDate=n}e.preventDefault()},isValueEqual:function(e,t){return e instanceof Date&&t instanceof Date?c(e,t):e instanceof Object&&t instanceof Object?!!(e&&t&&c(e.start,t.start)&&c(e.end,t.end)):e instanceof Array&&t instanceof Array&&!(!e||!t||e.length!==t.length)},rangeWithFocused:function(e,t){return{start:e.start,end:null===e.end&&null!==e.start&&this.$data.isActive?t.end:e.end}}},render:function(e){var t=this,i=kt||e,n=this.$props.views,r=this.computedValue(),a=this.$data.currentFocusedDate,l=null!==r&&null!==this._oldValue?!this.isValueEqual(r,this._oldValue):r!==this._oldValue;this._selectedDate=mt(this.currentMin,this.currentMax,r),this._selectedMultiple=vt(this.currentMin,this.currentMax,r);var d=o.templateRendering.call(this,this.$props.cell,o.getListeners.call(this)),c=o.templateRendering.call(this,this.$props.weekCell,o.getListeners.call(this)),p=o.templateRendering.call(this,this.$props.headerTitle,o.getListeners.call(this)),f=j(this.$data.currentActiveView,g[this.$props.bottomView],g[this.$props.topView]);this._selectedDate=mt(this.currentMin,this.currentMax,r),this._selectedMultiple=vt(this.currentMin,this.currentMax,r),this._selectedRange=gt(r);var m=yt(this._selectedDate,this._selectedMultiple,this._selectedRange),v=X(l&&null!==m?m:a,this.currentMin,this.currentMax);v instanceof Date?this._focusedDate=u(v):m&&(this._focusedDate=m);var y=this.rangeWithFocused(this._selectedRange,a);this._intl=Object(h.provideIntlService)(this),this._bus.configure(g[this.$props.bottomView],g[this.$props.topView]),this._service=this._bus.service(f,this._intl);var b=Object(o.classNames)("k-widget k-calendar","k-calendar-range",{"k-state-disabled":this.$props.disabled,"k-week-number":this.$props.weekNumber},this.$props.className),k=this._lastView!==this.$data.currentActiveView,S=this._dates&&this._service.isInArray(this._focusedDate,this._dates),w=this._lastViewsCount!==this.$props.views;(!S||k||w)&&(this._dates=this._service.datesList(this._focusedDate,n));var D=s(this._dates&&this._dates[0]?this._dates[0]:void 0),I=[this.$props.navigation&&i(ft,{tabIndex:this.$props.disabled?void 0:this.$props.tabIndex||0,attrs:this.v3?void 0:{tabIndex:this.$props.disabled?void 0:this.$props.tabIndex||0,activeView:this.$data.currentActiveView,currentDate:D,focusedDate:this._focusedDate,min:this.currentMin,max:this.currentMax,rangeLength:this.$props.views,bus:this._bus,service:this._service,headerTitle:p},activeView:this.$data.currentActiveView,currentDate:D,focusedDate:this._focusedDate,min:this.currentMin,max:this.currentMax,rangeLength:this.$props.views,onTodayclick:this.handleTodayClick,on:this.v3?void 0:{todayclick:this.handleTodayClick,nextclick:this.handleNextClick,prevclick:this.handlePrevClick,titleclick:this.handleTitleClick},onNextclick:this.handleNextClick,onPrevclick:this.handlePrevClick,onTitleclick:this.handleTitleClick,bus:this._bus,service:this._service,headerTitle:p}),i(Ue,{allowReverse:this.$props.allowReverse,attrs:this.v3?void 0:{allowReverse:this.$props.allowReverse,isActive:this.$data.isActive,tabIndex:this.$props.disabled?void 0:this.$props.tabIndex||0,activeView:this.$data.currentActiveView,focusedDate:this._focusedDate,min:this.currentMin,max:this.currentMax,bus:this._bus,dates:this._dates,shouldScroll:this.$data.didNavigationChange,service:this._service,cell:d,weekCell:c,dom:this._dom,views:this.$props.views,selectionRange:y,smoothScroll:this.$props.smoothScroll,showWeekNumbers:this.$props.weekNumber,value:this._selectedMultiple||this._selectedDate,cellUID:this.$data.cellUID},isActive:this.$data.isActive,tabIndex:this.$props.disabled?void 0:this.$props.tabIndex||0,ref:this.v3?function(e){t.calendarViewListRef=e}:"calendarViewList",activeView:this.$data.currentActiveView,focusedDate:this._focusedDate,min:this.currentMin,max:this.currentMax,bus:this._bus,dates:this._dates,shouldScroll:this.$data.didNavigationChange,service:this._service,cell:d,weekCell:c,dom:this._dom,views:this.$props.views,selectionRange:y,smoothScroll:this.$props.smoothScroll,showWeekNumbers:this.$props.weekNumber,onChange:this.handleDateChange,on:this.v3?void 0:{change:this.handleDateChange,weekcellclick:this.handleWeekCellClick,weeknameclick:this.handleWeekNameClick,listmousedown:this.handleMouseDown,cellenter:this.handleCellEnter,listkeydown:this.tableKeyDown,listfocus:this.handleFocus,listblur:this.handleBlur},onWeekcellclick:this.handleWeekCellClick,onWeeknameclick:this.handleWeekNameClick,onListmousedown:this.handleMouseDown,onCellenter:this.handleCellEnter,onListkeydown:this.tableKeyDown,onListfocus:this.handleFocus,onListblur:this.handleBlur,value:this._selectedMultiple||this._selectedDate,cellUID:this.$data.cellUID})];return i("div",{"aria-disabled":this.$props.disabled,attrs:this.v3?void 0:{"aria-disabled":this.$props.disabled,id:this.$props.id},class:b,id:this.$props.id,onFocusout:this.emitBlur,on:this.v3?void 0:{focusout:this.emitBlur,focusin:this.emitFocus},onFocusin:this.emitFocus},[I])}},Dt=wt,It=function(){this.symbols=""},Ct=function(e,t){return e[t.pattern[0]]=t.type,e},Tt=function(){function e(e,t,i){this.year=!0,this.month=!0,this.date=!0,this.hours=!0,this.minutes=!0,this.seconds=!0,this.milliseconds=!0,this.leadingZero=null,this.typedMonthPart="",this.knownParts="adHhmMsEy",this.symbols={E:"E",H:"H",M:"M",a:"a",d:"d",h:"h",m:"m",s:"s",y:"y"},this._value=u(new Date),this.intlProvider=e,this.formatPlaceholder=t,this.format=i,this.monthNames=this.allFormatedMonths()}return Object.defineProperty(e.prototype,"intl",{get:function(){return this.intlProvider()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),e.prototype.setValue=function(e){e?d(e,this._value)||(this._value=s(e),this.modifyExisting(!0)):(this._value=u(new Date),this.modifyExisting(!1))},e.prototype.hasValue=function(){var e=this;return this.intl.splitDateFormat(this.format).reduce((function(t,i){return t||"literal"!==i.type&&"dayperiod"!==i.type&&e.getExisting(i.pattern[0])}),!1)},e.prototype.getDateObject=function(){for(var e=0;e<this.knownParts.length;e++)if(!this.getExisting(this.knownParts[e]))return null;return s(this.value)},e.prototype.getTextAndFormat=function(){return this.merge(this.intl.formatDate(this.value,this.format),this.dateFormatString(this.value,this.format))},e.prototype.modifyExisting=function(e){for(var t=this.dateFormatString(this.value,this.format).symbols,i=0;i<t.length;i++)this.setExisting(t[i],e)},e.prototype.getExisting=function(e){switch(e){case"y":return this.year;case"M":case"L":return this.month;case"d":return this.date;case"E":return this.date&&this.month&&this.year;case"h":case"H":return this.hours;case"m":return this.minutes;case"s":return this.seconds;default:return!0}},e.prototype.setExisting=function(e,t){switch(e){case"y":this.year=t,!1===t&&this._value.setFullYear(2e3);break;case"M":this.month=t,!1===t&&this._value.setMonth(0);break;case"d":this.date=t;break;case"h":case"H":this.hours=t;break;case"m":this.minutes=t;break;case"s":this.seconds=t;break;default:return}},e.prototype.modifyPart=function(e,t){var i=s(this.value);switch(e){case"y":i.setFullYear(i.getFullYear()+t);break;case"M":i=ee(this.value,t);break;case"d":case"E":i.setDate(i.getDate()+t);break;case"h":case"H":i.setHours(i.getHours()+t);break;case"m":i.setMinutes(i.getMinutes()+t);break;case"s":i.setSeconds(i.getSeconds()+t);break;case"a":i.setHours(i.getHours()+12*t)}this.setExisting(e,!0),this._value=i},e.prototype.parsePart=function(e,t){var i;if(this.resetLeadingZero(),!t)return this.setExisting(e,!1),{value:null};for(var n=this.intl.formatDate(this.value,this.format),r=this.dateFormatString(this.value,this.format),o=r.symbols,a=!1,u="",d="",c="",h=0;h<n.length;h++)o[h]===e?(d+=this.getExisting(e)?n[h]:"0",a=!0):a?c+=n[h]:u+=n[h];for(var p=null,f=this.matchMonth(t);d.length>0&&"0"===d.charAt(0);)d=d.slice(1);d.length>=4&&(d="");for(h=0;h<2;h++){var m=d+t,v=parseInt(m,10);if(!(p=this.intl.parseDate(u+m+c,this.format))&&!isNaN(v)&&!isNaN(parseInt(t,10))){if("M"===e&&!f){var g=v-1;g>-1&&g<12&&((p=s(this.value)).setMonth(g),p.getMonth()!==g&&(p=Q(ee(p,-1))))}"y"===e&&(p=l(parseInt(m,10),this.month?this.value.getMonth():0,this.date?this.value.getDate():1,this.hours?this.value.getHours():0,this.minutes?this.value.getMinutes():0,this.seconds?this.value.getSeconds():0,this.milliseconds?this.value.getMilliseconds():0),this.date&&p.getDate()!==this.value.getDate()&&(p=Q(ee(p,-1))))}if(p)return this._value=p,this.setExisting(e,!0),{value:this.value};d=""}return f&&(p=this.intl.parseDate(u+f+c,this.format))?(this._value=p,this.setExisting(e,!0),{value:this.value}):("0"===t&&(this.leadingZero=this.isAbbrMonth(r.partMap,e)?null:((i={})[e]=!0,i),this.setExisting(e,!1)),{value:null})},e.prototype.symbolMap=function(e){return this.intl.splitDateFormat(this.format).reduce(Ct,{})[e]},e.prototype.resetLeadingZero=function(){var e=null!==this.leadingZero;return this.leadingZero=null,e},e.prototype.isAbbrMonth=function(e,t){var i=this.partPattern(e,t);return"month"===i.type&&i.names},e.prototype.partPattern=function(e,t){return e.filter((function(e){return-1!==e.pattern.indexOf(t)}))[0]},e.prototype.matchMonth=function(e){if(this.typedMonthPart+=e.toLowerCase(),0===this.monthNames.length)return"";for(;this.typedMonthPart.length>0;){for(var t=0;t<this.monthNames.length;t++)if(0===this.monthNames[t].toLowerCase().indexOf(this.typedMonthPart))return this.monthNames[t];var i=parseInt(this.typedMonthPart,10);if(i>=1&&i<=12&&i.toString()===this.typedMonthPart)return this.monthNames[i-1];this.typedMonthPart=this.typedMonthPart.substring(1,this.typedMonthPart.length)}return""},e.prototype.allFormatedMonths=function(){for(var e=this.intl.splitDateFormat(this.format),t=0;t<e.length;t++)if("month"===e[t].type&&e[t].names)return this.intl.dateFormatNames(e[t].names);return[]},e.prototype.dateFormatString=function(e,t){for(var i=this.intl.splitDateFormat(t),n=[],r=[],o=0;o<i.length;o++)for(var s=this.intl.formatDate(e,{pattern:i[o].pattern}).length;s>0;)n.push(this.symbols[i[o].pattern[0]]||"_"),r.push(i[o]),s--;var a=new It;return a.symbols=n.join(""),a.partMap=r,a},e.prototype.merge=function(e,t){for(var i="",n="",r=t.symbols,o=r.length-1;o>=0;o--)if(-1===this.knownParts.indexOf(r[o])||this.getExisting(r[o]))i=e[o]+i,n=r[o]+n;else{for(var s=r[o];o>=0&&s===r[o];)o--;for(o++,i=this.leadingZero&&this.leadingZero[s]?"0"+i:this.dateFieldName(t.partMap[o])+i;n.length<i.length;)n=r[o]+n}return{text:i,format:n}},e.prototype.dateFieldName=function(e){var t=this.formatPlaceholder||"wide";return t[e.type]?t[e.type]:"formatPattern"===t?e.pattern:this.intl.dateFieldName(Object.assign(e,{nameType:t}))},e}(),Ot="dayperiod",Et="hour",$t="minute",xt="second",Mt=function(e){return function(t,i){var n=s(t);return n[e](i),n}},Rt=[{type:Et,getter:function(e){return e.getHours()}},{type:$t,getter:function(e){return e.getMinutes()}},{type:xt,getter:function(e){return e.getSeconds()}},{type:"millisecond",getter:function(e){return e.getMilliseconds()}}],_t=function(e){return function(t){return e.map(function(e){return function(t){return e[t.type]?(i=t.getter,function(e,t){return i(t)}):function(e){return function(t,i){return e(t)}}(t.getter);var i}}(function(e){return e.reduce((function(e,t){return e[t.type]=t.type,e}),{})}(t)))}}(Rt),Ft=function(e){return function(t,i){return e.map((function(e){var n=Math.floor(t[e.type]);return n?function(e,t,i,n){return function(r){var o=e(r),s=e(i);return"hour"===n?o-(o-s)%t:r.getTime()<=i.getTime()&&0!==o&&o<=s?Math.ceil(o/t)*t:o-o%t}}(e.getter,n,i,e.type):e.getter}))}}(Rt),At=function(e){return function(t){var i=s(t);return i.setHours.apply(i,e.map((function(e){return e(i)}))),i}},zt=Mt("setHours"),Vt=Mt("setMinutes"),jt=Mt("setSeconds"),Nt=function(){return new Date},Pt=function(e,t,i){void 0===i&&(i=1);for(var n=[],r=e;r<t;r+=i)n.push(r);return n},Bt=function(e,t,i){return{candidateValue:U(N,e),maxValue:m(U(N,i),t.getHours()<i.getHours()?0:1),minValue:U(N,t)}},Lt=function(e,t,i){if(!e||!t||!i)return!0;var n=Bt(e,t,i),r=n.candidateValue,o=n.minValue,s=n.maxValue;return o<=r&&r<=s},Ht=function(e,t){if(null===e||null===t)return!1;var i=U(N,e),n=U(N,t);return i.getTime()<n.getHours()},Ut=function(e,t){if(null===e||null===t)return!1;var i=U(N,e);return U(N,t).getTime()<i.getHours()},Wt=i(22),Kt=r,Yt=Kt.h,Gt=Kt.ref,qt=Kt.inject,Zt={name:"DateInput",model:{event:"changemodel"},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},emits:{change:null,changemodel:null,"update:modelValue":null,focus:null,blur:null},props:{modelValue:Date,value:Date,defaultValue:Date,format:{type:[String,Object],default:function(){return"d"}},formatPlaceholder:{type:[String,Object],default:function(){return"wide"}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},tabIndex:Number,title:String,steps:Object,placeholder:String,max:{type:Date,default:function(){return s(B)}},min:{type:Date,default:function(){return s(P)}},maxTime:{type:Date,default:function(){return s(qe)}},minTime:{type:Date,default:function(){return s(Ge)}},disabled:{type:Boolean,default:!1},spinners:{type:Boolean,default:!1},name:String,dir:String,label:String,id:String,validationMessage:{type:String,default:"Please enter a valid value!"},required:{type:Boolean,default:!1},validityStyles:{type:Boolean,default:!0},validate:Boolean,valid:{type:Boolean,default:void 0}},data:function(){return{kendoDate:null,currentFormat:void 0,valueDuringOnChange:void 0,hasMounted:!1,isEmpty:void 0,lastSelectedSymbol:void 0,isFocused:!1}},created:function(){Object(o.validatePackage)(p);var e=this.$props,t=e.formatPlaceholder,i=e.format,n=e.value,r=e.defaultValue;this.kendoDate=new Tt(this.intl,t,i),this.kendoDate.setValue(null),this._emptyText=this.kendoDate.getTextAndFormat().text,this.kendoDate.setValue(n||r||null),this._element=null,this._inputId=Object(o.guid)()},computed:{computedValue:{get:function(){return void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:this.kendoDate&&this.kendoDate.getDateObject()}},wrapperClassNames:{get:function(){var e,t=!this.$data.hasMounted||!this.$props.validityStyles||this.validity().valid,i=this.$props.disabled,n=this.$props,r=n.size,s=n.fillMode,a=n.rounded;return(e={"k-dateinput":!0,"k-input":!0})["k-input-"+(o.kendoThemeMaps.sizeMap[r]||r)]=r,e["k-input-"+s]=s,e["k-rounded-"+(o.kendoThemeMaps.roundedMap[a]||a)]=a,e["k-disabled"]=i,e["k-invalid"]=!t&&void 0!==t,e["k-focus"]=this.isFocused,e["k-rtl"]="rtl"===this.$props.dir,e}}},methods:{selection:function(){var e={start:0,end:0},t=this.element();return null!==t&&void 0!==t.selectionStart&&(e={start:t.selectionStart,end:t.selectionEnd}),e},element:function(){return this._element},focus:function(e){this._element&&this._element.focus(e)},handleFocus:function(e){this.$data.isFocused=!0,this.$emit("focus",e)},handleBlur:function(e){this.$data.isFocused=!1,this.$emit("blur",e)},intl:function(){return Object(h.provideIntlService)(this)},setValidity:function(){var e=this.element();e&&e.setCustomValidity&&e.setCustomValidity(this.validity().valid?"":this.$props.validationMessage)},spinnersMouseDown:function(e){var t=this.element();e.preventDefault(),t&&o.canUseDOM&&document.activeElement!==t&&t.focus({preventScroll:!0})},elementChange:function(e){var t=this.element();if(t&&this.kendoDate){var i=this.kendoDate.getTextAndFormat(),n=i.text,r=i.format;this.$data.currentFormat=r;var o=this.computedValue,s=function(e,t,i,n){var r=e[n+e.length-i.length],o=e.substring(0,n+e.length-i.length),s=i.substring(0,n),a=[];if(o===s&&n>0)return a.push([t[n-1],s[n-1]]),a;if(0===o.indexOf(s)&&(0===s.length||t[s.length-1]!==t[s.length])){var l="";1===s.length&&a.push([t[0],s[0]]);for(var u=s.length;u<o.length;u++)t[u]!==l&&"_"!==t[u]&&(l=t[u],a.push([l,""]));return a}if(0===s.indexOf(o)||"_"===t[n-1]){var d=t[0];for(u=Math.max(0,o.length-1);u<t.length;u++)if("_"!==t[u]){d=t[u];break}return[[d,s[n-1]]]}return" "===s[s.length-1]||s[s.length-1]===r?[[t[n-1],"_"]]:[[t[n-1],s[n-1]]]}(n,this.$data.currentFormat,t.value,this.selection().start),a=1===s.length&&"_"===s[0][1];if(!a)for(var l=0;l<s.length;l++)this.kendoDate.parsePart(s[l][0],s[l][1]);s.length&&"_"!==s[0][0]&&this.setSelection(this.selectionBySymbol(s[0][0])),a&&this.switchDateSegment(1),this.triggerChange(e,o)}},elementClick:function(e){this.setSelection(this.selectionByIndex(this.selection().start))},wheel:function(e){var t=this.element();o.canUseDOM&&document.activeElement!==t||(e.deltaY<0&&(e.preventDefault(),this.increasePart(e)),e.deltaY>0&&(e.preventDefault(),this.decreasePart(e)))},increasePart:function(e){e.preventDefault(),this.modifyDateSegmentValue(1,e)},decreasePart:function(e){e.preventDefault(),this.modifyDateSegmentValue(-1,e)},elementKeyDown:function(e){if(!e.altKey){switch(e.keyCode){case 37:this.switchDateSegment(-1);break;case 38:this.modifyDateSegmentValue(1,e);break;case 39:this.switchDateSegment(1);break;case 40:this.modifyDateSegmentValue(-1,e);break;default:return}e.preventDefault()}},setSelection:function(e){var t=this.element();this.$data.lastSelectedSymbol=this.$data.currentFormat[e.start],window.requestAnimationFrame((function(){t&&o.canUseDOM&&document.activeElement===t&&t.setSelectionRange(e.start,e.end)}))},triggerChange:function(e,t){this.$data.valueDuringOnChange=this.computedValue,d(t,this.computedValue)||(this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:e,value:this.computedValue,component:this,target:{name:this.$props.name,value:this.$data.valueDuringOnChange,valueAsDate:this.$data.valueDuringOnChange},validity:this.validity()})),this.$data.valueDuringOnChange=void 0},selectionBySymbol:function(e){for(var t=-1,i=0,n=0;n<this.$data.currentFormat.length;n++)this.$data.currentFormat[n]===e&&(i=n+1,-1===t&&(t=n));return t<0&&(t=0),{start:t,end:i}},selectionByIndex:function(e){for(var t={start:e,end:e},i=e,n=e-1;i<this.$data.currentFormat.length||n>=0;i++,n--){if(i<this.$data.currentFormat.length&&"_"!==this.$data.currentFormat[i]){t=this.selectionBySymbol(this.$data.currentFormat[i]);break}if(n>=0&&"_"!==this.$data.currentFormat[n]){t=this.selectionBySymbol(this.$data.currentFormat[n]);break}}return t},switchDateSegment:function(e){var t=this.selection(),i=t.start,n=t.end;if(i<n&&this.$data.currentFormat[i]!==this.$data.currentFormat[n-1])this.setSelection(this.selectionByIndex(e>0?i:n-1));else{for(var r=this.$data.currentFormat[i],o=i+e;o>0&&o<this.$data.currentFormat.length&&(this.$data.currentFormat[o]===r||"_"===this.$data.currentFormat[o]);)o+=e;if("_"!==this.$data.currentFormat[o]){for(var s=o;s>=0&&s<this.$data.currentFormat.length&&this.$data.currentFormat[s]===this.$data.currentFormat[o];)s+=e;o>s&&(s+1!==i||o+1!==n)?this.setSelection({start:s+1,end:o+1}):o<s&&(o!==i||s!==n)&&this.setSelection({start:o,end:s})}}},modifyDateSegmentValue:function(e,t){if(this.kendoDate){var i=this.computedValue,n=this.$data.currentFormat[this.selection().start],r=this.kendoDate.symbolMap(n),o=((this.$props.steps||{})[r]||1)*e;this.kendoDate.modifyPart(n,o),this.setSelection(this.selectionBySymbol(n)),this.triggerChange(t,i)}},validity:function(){var e,t,i,n=(e=this.computedValue,t=this.$props.min,i=this.$props.max,(null===e||!(t&&t>e||i&&i<e))&&Lt(this.computedValue,this.$props.minTime,this.$props.maxTime)),r=void 0!==this.$props.validationMessage,o=(!this.$props.required||null!==this.computedValue)&&n,s=void 0!==this.$props.valid?this.$props.valid:o;return{customError:r,rangeOverflow:this.computedValue&&this.$props.max.getTime()<this.computedValue.getTime()||!1,rangeUnderflow:this.computedValue&&this.computedValue.getTime()<this.$props.min.getTime()||!1,valid:s,valueMissing:null===this.computedValue}}},mounted:function(){this._element=this.v3?this.inputRef:this.$refs.input,this.setValidity(),this.$data.hasMounted=!0},updated:function(){this.$data.lastSelectedSymbol&&this.setSelection(this.selectionBySymbol(this.$data.lastSelectedSymbol)),this.setValidity()},setup:Yt?function(){return{v3:!!Yt,inputRef:Gt(null),kendoIntlService:qt("kendoIntlService",{}),kendoLocalizationService:qt("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=Yt||e,n=Object(o.getDefaultSlots)(this),r=Object(h.provideLocalizationService)(this),s=this.$props,a=s.formatPlaceholder,l=s.format,u=s.value,d=s.modelValue,c=s.min,p=s.max,f=s.name,m=s.label,v=s.id;s.defaultValue;this.kendoDate.format=l,this.kendoDate.formatPlaceholder=a;var g=void 0!==u?u:d;void 0!==g&&this.computedValue!==g&&this.kendoDate.setValue(g);var y=this.kendoDate.getTextAndFormat(),b=y.text,k=y.format;this.$data.currentFormat=k,this.$data.isEmpty=b===this._emptyText;var S=void 0!==this.$props.placeholder&&this.$data.isEmpty&&!this.$data.isFocused?null:b,w=v||this._inputId,D=!this.$props.validityStyles||this.validity().valid,I=i("span",{class:this.wrapperClassNames,dir:this.$props.dir,attrs:this.v3?void 0:{dir:this.$props.dir}},[i("input",{role:"spinbutton",attrs:this.v3?void 0:{role:"spinbutton",tabIndex:this.$props.tabIndex,disabled:this.$props.disabled,title:void 0!==this.$props.title?this.$props.title:b,type:"text",spellcheck:!1,autoComplete:"off",autoCorrect:"off",id:w,placeholder:this.$props.placeholder,name:f,"aria-valuenow":null!==this.computedValue?this.computedValue.getTime():void 0,"aria-valuemin":null===c?void 0:c.getTime(),"aria-valuemax":null===p?void 0:p.getTime(),"aria-valuetext":b},tabIndex:this.$props.tabIndex,disabled:this.$props.disabled,title:void 0!==this.$props.title?this.$props.title:b,type:"text",spellcheck:!1,autoComplete:"off",autoCorrect:"off",class:"k-input-inner",id:w,placeholder:this.$props.placeholder,onWheel:this.wheel,on:this.v3?void 0:{wheel:this.wheel,click:this.elementClick,input:this.elementChange,keydown:this.elementKeyDown,change:o.noop,focusin:this.handleFocus,focusout:this.handleBlur},onClick:this.elementClick,onInput:this.elementChange,onKeydown:this.elementKeyDown,onChange:o.noop,onFocusin:this.handleFocus,onFocusout:this.handleBlur,value:this.v3?S:null,domProps:this.v3?void 0:{value:S},name:f,"aria-valuenow":null!==this.computedValue?this.computedValue.getTime():void 0,"aria-valuemin":null===c?void 0:c.getTime(),"aria-valuemax":null===p?void 0:p.getTime(),"aria-valuetext":b,ref:this.v3?function(e){t.inputRef=e}:"input"}),n,this.$props.spinners&&i("span",{class:"k-input-spinner k-spin-button",onMousedown:this.spinnersMouseDown,on:this.v3?void 0:{mousedown:this.spinnersMouseDown}},[i(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",tabIndex:-1,icon:"arrow-n",size:this.$props.size,fillMode:this.$props.fillMode,"aria-label":r.toLanguageString(it,dt[it]),title:r.toLanguageString(it,dt[it])},tabIndex:-1,icon:"arrow-n",size:this.$props.size,fillMode:this.$props.fillMode,class:"k-spinner-increase","aria-label":r.toLanguageString(it,dt[it]),title:r.toLanguageString(it,dt[it]),onClick:this.increasePart,on:this.v3?void 0:{click:this.increasePart}}),i(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",tabIndex:-1,icon:"arrow-s",size:this.$props.size,fillMode:this.$props.fillMode,"aria-label":r.toLanguageString(nt,dt[nt]),title:r.toLanguageString(nt,dt[nt])},tabIndex:-1,class:"k-spinner-decrease",icon:"arrow-s",size:this.$props.size,fillMode:this.$props.fillMode,"aria-label":r.toLanguageString(nt,dt[nt]),title:r.toLanguageString(nt,dt[nt]),onClick:this.decreasePart,on:this.v3?void 0:{click:this.decreasePart}})])]);return m?i(Wt.FloatingLabel,{label:m,attrs:this.v3?void 0:{label:m,editorId:w,editorValue:S,editorPlaceholder:this.$props.placeholder,editorValid:D,editorDisabled:this.$props.disabled},editorId:w,editorValue:S,editorPlaceholder:this.$props.placeholder,editorValid:D,editorDisabled:this.$props.disabled},this.v3?function(){return[I]}:[I]):I}},Xt=Zt,Jt=i(13),Qt=Ze.Button,ei=Qt,ti=r,ii=ti.h,ni=ti.ref,ri=ti.inject,oi={name:"DatePicker",inject:{kendoLocalizationService:{default:null}},model:{event:"changemodel"},emits:{change:null,changemodel:null,"update:modelValue":null,iconclick:null,focus:null,blur:null,keydown:null},props:{defaultShow:{type:Boolean,default:!1},modelValue:{type:Date,default:void 0},defaultValue:{type:Date,default:void 0},disabled:{type:Boolean,default:!1},dateInput:{type:[String,Object,Function],default:function(){}},calendar:{type:[String,Object,Function],default:function(){}},toggleButton:{type:[String,Object,Function],default:function(){}},label:String,placeholder:String,popup:{type:[String,Object,Function],default:function(){}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},focusedDate:Date,format:{type:[Object,String],default:function(){return"d"}},formatPlaceholder:[Object,String],id:String,max:{type:Date,default:function(){return s(B)}},min:{type:Date,default:function(){return s(P)}},name:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},title:{type:String,default:function(){return""}},value:Date,weekNumber:Boolean,width:[Number,String],validityStyles:{type:Boolean,default:!0},validationMessage:String,required:Boolean,validate:Boolean,valid:{type:Boolean,default:void 0}},data:function(){return{isFocused:!1,currentValue:void 0,currentShow:void 0,valueDuringOnChange:void 0,showDuringOnChange:void 0,shouldFocusDateInput:!1}},created:function(){Object(o.validatePackage)(p),this._popupId=Object(o.guid)(),this._anchor=Object(o.guid)(),this._dateInput=null,this._calendar=null,this.$data.currentValue=this.$props.defaultValue,this.$data.currentShow=this.$props.defaultShow},mounted:function(){this._dateInput=this.v3?this.dateInputRef:this.$refs.dateInput,(this.$refs.calendar||this.calendarRef)&&(this._calendar=this.v3?this.calendarRef:this.$refs.calendar),this.computedShow&&this.$forceUpdate(),this._dateInput&&this._dateInput.$el&&this._dateInput.$el.setAttribute("aria-haspopup","true"),this.$el&&this.$el.setAttribute("aria-expanded",""+this.computedShow)},updated:function(){this.$el&&this.$el.setAttribute("aria-expanded",""+this.computedShow),(this.$refs.calendar||this.calendarRef)&&(this._calendar=this.v3?this.calendarRef:this.$refs.calendar),this.computedShow?this._calendar&&this._calendar.$el&&!this._oldShow&&this._calendar.focus({preventScroll:!0}):this._dateInput&&this._dateInput.$el&&this.$data.shouldFocusDateInput&&this._dateInput.focus({preventScroll:!0}),this.$data.shouldFocusDateInput=!1},watch:{show:function(e,t){this._oldShow=t},currentShow:function(e,t){this._oldShow=t}},computed:{computedValue:{get:function(){var e=void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue;return null!==e?s(e):null}},computedShow:{get:function(){return void 0!==this.$data.showDuringOnChange?this.$data.showDuringOnChange:void 0!==this.$props.show?this.$props.show:this.$data.currentShow}}},methods:{focus:function(){this._dateInput&&this._dateInput.focus()},handleFocus:function(e){this._oldShow=this.computedShow,this.$data.isFocused=!0,this.$emit("focus",e)},handleBlur:function(e){this.$data.isFocused=!1,this.createBlurTimeout(),this.$emit("blur",e)},calendarBlur:function(){this.$emit("blur",event),clearTimeout(this._blurTimeout),this.createBlurTimeout()},calendarFocus:function(){this.$emit("focus",event),clearTimeout(this._blurTimeout)},createBlurTimeout:function(){var e=this;this._blurTimeout=setTimeout((function(){e._dateInput&&o.canUseDOM&&document.activeElement!==e._dateInput._element&&e.setShow(!1)}),200)},validity:function(){var e=this.computedValue,t=Y(e,this.$props.min,this.$props.max),i=void 0!==this.$props.validationMessage,n=(!this.$props.required||null!==e)&&t,r=void 0!==this.$props.valid?this.$props.valid:n;return{customError:i,rangeOverflow:e&&this.$props.max.getTime()<e.getTime()||!1,rangeUnderflow:e&&e.getTime()<this.$props.min.getTime()||!1,valid:r,valueMissing:null===e}},nextValue:function(e,t){return void 0!==e.value?e.value:t.value},nextShow:function(e,t){return void 0!==e.show?e.show:t.show},setShow:function(e){this.computedShow!==e&&(this.$data.currentShow=e)},mergeTime:function(e){return this.computedValue&&e?U(e,this.computedValue):e},handleInputValueChange:function(e){this.handleValueChange(e.value,e)},handleCalendarValueChange:function(e){var t=this.mergeTime(e.value);this.handleValueChange(t,e)},getDateInputText:function(){return!!this.computedValue||(this._dateInput?this._dateInput._element.value:"")},handleValueChange:function(e,t){this.$data.currentValue=s(e||void 0),this.$data.currentShow=!1,this.$data.valueDuringOnChange=e,this.$data.showDuringOnChange=!1,this.$data.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:t.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue},validity:this.validity()}),this.$data.valueDuringOnChange=void 0,this.$data.showDuringOnChange=void 0},handleIconClick:function(e){e.stopPropagation(),e.preventDefault(),this.$props.disabled||(this.$data.shouldFocusDateInput=!0,this.setShow(!this.computedShow),this.$emit("iconclick",e))},handleIconMouseDown:function(e){e.stopPropagation(),e.preventDefault()},handleKeyDown:function(e){var t=e.altKey,i=e.keyCode;return i===o.Keys.tab&&this._dateInput&&e.target!==this._dateInput._element?(e.preventDefault(),this.$data.shouldFocusDateInput=!0,void this.setShow(!1)):i===o.Keys.esc?(this.$data.shouldFocusDateInput=!0,void this.setShow(!1)):(!t||i!==o.Keys.up&&i!==o.Keys.down||(e.preventDefault(),e.stopPropagation(),this.$data.shouldFocusDateInput=i===o.Keys.up,this.setShow(i===o.Keys.down)),void this.$emit("keydown",e))}},setup:ii?function(){return{v3:!!ii,listRef:ni(null),kendoAnchorRef:ni(null),kendoLocalizationService:ri("kendoLocalizationService",{})}}:void 0,render:function(e){var t,i=this,n=ii||e,r=(Object(o.getDefaultSlots)(this),this.$props),s=r.disabled,a=r.tabIndex,l=r.title,d=r.id,c=r.format,p=r.formatPlaceholder,f=r.min,m=r.max,v=r.weekNumber,g=r.focusedDate,y=r.width,b=r.name,k=r.validationMessage,S=r.required,w=r.validityStyles,D=r.size,I=r.fillMode,C=r.rounded,T=this.$props.popupSettings,O=T.popupClass,E=T.animate,$=T.appendTo,x=this.computedShow,M=this.computedValue,R=M&&u(M),_=!this.$props.validityStyles||this.validity().valid,F=Object(o.classNames)("k-calendar-container k-group k-reset",O),A=this.$props.toggleButton?o.templateRendering.call(this,this.$props.toggleButton,o.getListeners.call(this)):void 0,z=n(Qt,{tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1,icon:"calendar",title:Object(h.provideLocalizationService)(this).toLanguageString(rt,dt[rt]),"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(rt,dt[rt])},icon:"calendar",onMousedown:this.handleIconMouseDown,on:this.v3?void 0:{mousedown:this.handleIconMouseDown,click:this.handleIconClick},onClick:this.handleIconClick,title:Object(h.provideLocalizationService)(this).toLanguageString(rt,dt[rt]),"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(rt,dt[rt]),class:"k-input-button"}),V=o.getTemplate.call(this,{h:n,template:A,defaultRendering:z,defaultSlots:n("span",{class:"k-icon k-i-calendar"}),additionalListeners:{click:this.handleIconClick}}),j=this.$props.dateInput?o.templateRendering.call(this,this.$props.dateInput,o.getListeners.call(this)):void 0,N=n(Zt,{ref:this.v3?function(e){i.dateInputRef=e}:"dateInput",placeholder:this.$props.placeholder,attrs:this.v3?void 0:{placeholder:this.$props.placeholder,disabled:s,format:c,formatPlaceholder:p,id:d,max:m,min:f,name:b,size:null,rounded:null,fillMode:null,required:S,tabIndex:x?-1:a,title:l,valid:this.validity().valid,validationMessage:k,validityStyles:w,value:M},disabled:s,format:c,formatPlaceholder:p,id:d,max:m,min:f,name:b,size:null,rounded:null,fillMode:null,onChange:this.handleInputValueChange,on:this.v3?void 0:{change:this.handleInputValueChange},required:S,tabIndex:x?-1:a,title:l,valid:this.validity().valid,validationMessage:k,validityStyles:w,value:M}),P=o.getTemplate.call(this,{h:n,template:j,defaultRendering:N}),B=this.$props.calendar?o.templateRendering.call(this,this.$props.calendar,o.getListeners.call(this)):void 0,L=n(wt,{ref:this.v3?function(e){i.calendarRef=e}:"calendar",onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focus:this.calendarFocus,blur:this.calendarBlur,change:this.handleCalendarValueChange},onFocus:this.calendarFocus,onBlur:this.calendarBlur,disabled:s,attrs:this.v3?void 0:{disabled:s,value:R,min:f,max:m,weekNumber:v,focusedDate:g},value:R,min:f,max:m,weekNumber:v,focusedDate:g,onChange:this.handleCalendarValueChange}),H=o.getTemplate.call(this,{h:n,template:B,defaultRendering:L}),U=this.$props.popup?o.templateRendering.call(this,this.$props.popup,o.getListeners.call(this)):void 0,W=n(Jt.a,{show:x,attrs:this.v3?void 0:{show:x,anchor:this._anchor,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},animate:E,appendTo:$},anchor:this._anchor,class:F,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},animate:E,appendTo:$},this.v3?function(){return[H]}:[H]),K=o.getTemplate.call(this,{h:n,template:U,defaultRendering:W,defaultSlots:H}),Y=n("span",{ref:this.v3?function(e){i.kendoAnchorRef=e}:this._anchor,role:"group",attrs:this.v3?void 0:{role:"group","aria-expanded":this.computedShow},"aria-expanded":this.computedShow,class:Object(o.classNames)("k-input","k-datepicker",(t={},t["k-input-"+(o.kendoThemeMaps.sizeMap[D]||D)]=D,t["k-input-"+I]=I,t["k-rounded-"+(o.kendoThemeMaps.roundedMap[C]||C)]=C,t["k-valid"]=_,t["k-invalid"]=!_,t["k-required"]=this.required,t["k-disabled"]=this.$props.disabled,t["k-focus"]=this.$data.isFocused,t)),onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focusin:this.handleFocus,focusout:this.handleBlur},onFocusin:this.handleFocus,onFocusout:this.handleBlur},[P,V,K]);return this.$props.label?n(Wt.FloatingLabel,{label:this.$props.label,attrs:this.v3?void 0:{label:this.$props.label,editorId:d,editorValid:_,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled},editorId:d,editorValid:_,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:y}},this.v3?function(){return[Y]}:[Y]):Y}},si=oi,ai=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n},li=function(){function e(e,t,i){void 0===e&&(e=0),this.total=e,this.rowHeight=t,this.detailRowHeight=i,this.offsets=[],this.heights=[];for(var n=0,r=0;r<e;r++)this.offsets.push(n),n+=t,this.heights.push(t)}return e.prototype.height=function(e){return this.heights[e]},e.prototype.expandDetail=function(e){this.height(e)===this.rowHeight&&this.updateRowHeight(e,this.detailRowHeight)},e.prototype.collapseDetail=function(e){this.height(e)>this.rowHeight&&this.updateRowHeight(e,-1*this.detailRowHeight)},e.prototype.index=function(e){for(var t=0;t<this.offsets.length;t++){if(e===this.offsets[t])return t;if(e<this.offsets[t])return t-1}return this.total-1},e.prototype.offset=function(e){return this.offsets[e]},e.prototype.totalHeight=function(){return this.heights.reduce((function(e,t){return e+t}),0)},e.prototype.updateRowHeight=function(e,t){this.heights[e]+=t,this.offsets=function(e,t,i){return ai(e.slice(0,t+1),e.slice(t+1).map((function(e){return e+i})))}(this.offsets,e,t)},e}(),ui=function(e){return Math.max(e,0)},di=function(e){this.offset=e},ci=function(e){this.skip=e},hi=function(){function e(e,t){this.onScrollAction=e,this.onPageAction=t,this.firstLoaded=0,this.bottomOffset=0,this.topOffset=0}return e.prototype.create=function(e,t,i,n,r,o,s){void 0===r&&(r=0),void 0===o&&(o=0),void 0===s&&(s="vertical"),this.rowHeightService=e,this.firstLoaded=t,this.lastLoaded=t+i,this.take=i,this.total=n,this.lastScrollTop=0,this.topOffset=r,this.bottomOffset=o,this.direction=s;var a=this.rowsForHeight(r),l=ui(t-a);this.onScrollAction(new di(this.rowOffset(l))),this.onPageAction(new ci(l))},e.prototype.onScroll=function(e){var t=e.scrollLeft,i=e.scrollTop,n=e.offsetHeight,r=e.offsetWidth,o="vertical"===this.direction?i:t,s="vertical"===this.direction?n:r;if(this.lastScrollTop!==o){var a=this.lastScrollTop>=o;this.lastScrollTop=o;var l=this.rowHeightService.index(ui(o-this.topOffset)),u=this.rowHeightService.index(ui(o+s-this.bottomOffset));if(!a&&u>=this.lastLoaded&&this.lastLoaded<this.total&&(this.firstLoaded=l,this.onScrollAction(new di(this.rowOffset(l))),this.lastLoaded=Math.min(this.firstLoaded+this.take,this.total),this.onPageAction(new ci(this.firstLoaded))),a&&l<=this.firstLoaded){var d=Math.floor(.3*this.take);this.firstLoaded=ui(l-d),this.onScrollAction(new di(this.rowOffset(this.firstLoaded))),this.lastLoaded=Math.min(this.firstLoaded+this.take,this.total),this.onPageAction(new ci(this.firstLoaded))}}},e.prototype.rowOffset=function(e){return this.rowHeightService.offset(e)+this.topOffset},e.prototype.rowsForHeight=function(e){return Math.ceil(e/this.rowHeightService.height(0))},e}(),pi=r.h;!function(e){e[e.Backward=0]="Backward",e[e.Forward=1]="Forward"}(z||(z={}));var fi,mi,vi,gi,yi=((_={})[z.Forward]=function(e){return function(t){return t+e}},_[z.Backward]=function(e){return function(t){return t-e}},_),bi=((F={})[z.Forward]=function(e){return function(t){return Math.min(t,e)}},F[z.Backward]=function(e){return function(t){return Math.max(t,e)}},F),ki=((A={})[z.Forward]=function(e){return function(t){return t<e}},A[z.Backward]=function(e){return function(t){return t>e}},A),Si={name:"Virtualization",emits:{scroll:null,scrollaction:null},props:{bottomOffset:{type:Number,required:!0},direction:{type:String,default:function(){return"vertical"}},forceScroll:{type:Boolean,default:!1},itemHeight:Number,itemWidth:Number,maxScrollDifference:{type:Number,default:100},scrollDuration:{type:Number,default:100},scrollOffsetSize:{type:Number,default:0},skip:{type:Number,required:!0},tabIndex:Number,take:{type:Number,required:!0},topOffset:{type:Number,required:!0},total:{type:Number,required:!0},role:String},created:function(){this.animationInProgress=!1,this.lastTotal=void 0,this.scrollerService=new hi(this.handleScrollAction,this.handlePageAction)},mounted:function(){this.scrollContainer=this.$refs.scrollContainer},computed:{element:function(){return this.scrollContainer}},methods:{containerOffsetSize:function(){return this.getContainerProperty("vertical"===this.$props.direction?"offsetHeight":"offsetWidth")},containerScrollSize:function(){return this.getContainerProperty("vertical"===this.$props.direction?"scrollHeight":"scrollWidth")},containerScrollPosition:function(){return this.getContainerProperty("vertical"===this.$props.direction?"scrollTop":"scrollLeft")},activeIndex:function(){return this.itemIndex(Math.ceil(this.containerScrollPosition()))},itemIndex:function(e){return this.rowHeightService?this.rowHeightService.index(e):0},itemOffset:function(e){return this.rowHeightService?this.rowHeightService.offset(e):0},isIndexVisible:function(e){if(!this.rowHeightService)return!1;var t=this.containerScrollPosition(),i=t+this.containerOffsetSize(),n=this.rowHeightService.offset(e),r=n+this.rowHeightService.height(e);return n>=t&&r<=i},isListScrolled:function(e){return!!this.rowHeightService&&this.containerScrollPosition()!==this.rowHeightService.offset(e)},scrollTo:function(e){var t="vertical"===this.$props.direction?"scrollTop":"scrollLeft";this.scrollContainer&&(this.scrollContainer[t]=e)},scrollToIndex:function(e){this.rowHeightService&&(this.animationInProgress=!1,this.scrollTo(this.rowHeightService.offset(e)))},animateToIndex:function(e){var t=this;if(this.rowHeightService&&window){window.cancelAnimationFrame(this.cancelAnimation);var i=this.rowHeightService.offset(e),n=this.getContainerScrollDirection(i),r=this.scrollRange(i,n),o=r.start,s=r.end;if(o!==s){var a=this.scrollStep(o,s),l=yi[n](a),u=bi[n](s),d=ki[n](l(s));this.cancelAnimation=window.requestAnimationFrame((function(){!function e(i){t.animationInProgress=!0;var n=l(i);t.scrollTo(u(n)),d(n)?t.cancelAnimation=window.requestAnimationFrame((function(){e(n)})):t.animationInProgress=!1}(o)}))}}},scrollToBottom:function(){this.rowHeightService&&this.scrollTo(this.rowHeightService.totalHeight()+this.$props.bottomOffset)},scrollStep:function(e,t){var i=this.$props.scrollDuration;return Math.abs(t-e)/(i/17)},scrollRange:function(e,t){var i=this.containerScrollPosition();if(parseInt(""+e,10)===parseInt(""+i,10))return{start:e,end:e};var n,r,o,s=this.containerMaxScroll(),a=t===z.Backward?1:-1,l=(n=i,r=e,o=this.$props.maxScrollDifference,Math.min(Math.abs(r-n),o)),u=Math.min(e,s);return{start:Math.min(Math.max(u+a*l,0),s),end:u}},containerMaxScroll:function(){return this.containerScrollSize()-this.containerOffsetSize()},getContainerScrollDirection:function(e){return e<this.containerScrollPosition()?z.Backward:z.Forward},initServices:function(e){var t=e||this.$props,i="vertical"===t.direction?t.itemHeight:t.itemWidth;void 0!==i&&(this.rowHeightService=new li(t.total,i,0),this.scrollerService.create(this.rowHeightService,t.skip,t.take,t.total,t.topOffset,this.$props.scrollOffsetSize,this.$props.direction))},getContainerProperty:function(e){return this.scrollContainer?this.scrollContainer[e]:0},handleScroll:function(e){if(this.scrollContainer&&this.rowHeightService){var t=e.target;this.scrollerService.onScroll({scrollLeft:t.scrollLeft,scrollTop:t.scrollTop,offsetHeight:t.offsetHeight,offsetWidth:t.offsetWidth});var i={index:this.rowHeightService.index(this.containerScrollPosition()-this.$props.topOffset),target:t,scrollAction:this.scrollAction,pageAction:this.pageAction,animationInProgress:this.animationInProgress};this.$emit("scrollaction",i),this.scrollAction=void 0,this.pageAction=void 0}},handleScrollAction:function(e){this.scrollAction=e},handlePageAction:function(e){this.pageAction=e}},setup:pi?function(){return{v3:!!pi}}:void 0,render:function(e){var t=pi||e,i=Object(o.getDefaultSlots)(this);this.lastTotal===this.$props.total&&this.lastDirection===this.$props.direction&&this.lastTake===this.$props.take||(this.initServices(),this.lastTotal=this.$props.total,this.lastDirection=this.$props.direction,this.lastTake=this.$props.take);var n=""+((this.rowHeightService?this.rowHeightService.totalHeight():0)+this.$props.bottomOffset),r="vertical"===this.$props.direction?{height:n+"px"}:{width:n+"px"},s=Object(o.classNames)("k-content k-scrollable",{"k-scrollable-horizontal":"horizontal"===this.$props.direction}),a=Object(o.classNames)("k-scrollable-placeholder",{"k-scrollable-horizontal-placeholder":"horizontal"===this.$props.direction});return t("div",{ref:"scrollContainer",onScroll:this.handleScroll,on:this.v3?void 0:{scroll:this.handleScroll},class:s,tabIndex:this.$props.tabIndex,attrs:this.v3?void 0:{tabIndex:this.$props.tabIndex,role:this.$props.role},role:this.$props.role},[i,t("div",{style:r,class:a})])}},wi=function(e,t){var i=s(e);return i.setHours(t),i},Di=function(e){return null!==e&&e<12},Ii=function(e,t,i){return!t&&!i||e>=t&&e<=i},Ci=function(e,t,i){return!t&&!i||e>=t||e<=i},Ti=function(){function e(e){this.intl=e}return e.prototype.apply=function(e,t){var i=e.getHours(),n=Di(i),r=Di(t.getHours());if(n&&r||!n&&!r)return e;var o=this.normalizedRange(),s=o[0],a=o[1],l=void 0===a?24:a,u=i+(r?-12:12);return wi(e,Math.min(Math.max(s,u),l||24))},e.prototype.configure=function(e){var t=e.min,i=void 0===t?this.min:t,n=e.max,r=void 0===n?this.max:n,o=e.part,s=void 0===o?this.part:o;this.min=i,this.max=r,this.part=s},e.prototype.data=function(e){var t=this.part.names;if(!t)return[];var i,n=[],r=this.normalizedRange(),o=r[0],s=r[1],a=this.intl.dateFormatNames(t);return Di(o)&&n.push({text:a.am,value:wi(this.min,o)}),null!==(i=s)&&(!i||i>11)&&n.push({text:a.pm,value:wi(this.min,Math.max(12,s))}),this.min.getHours()!==o?n.reverse():n},e.prototype.isRangeChanged=function(e,t){return!1},e.prototype.limitRange=function(e,t,i){return[e,t]},e.prototype.total=function(){var e=this.normalizedRange(),t=e[0],i=e[1];return(t||i)&&(t>11||i<12)?1:2},e.prototype.selectedIndex=function(e){if(!this.valueInList(e))return-1;var t=Math.floor(e.getHours()/12);return this.min.getHours()===this.normalizedRange()[0]?t:0===t?1:0},e.prototype.valueInList=function(e){return(this.min.getHours()!==this.normalizedRange()[0]?Ci:Ii)(e.getHours(),this.min.getHours(),this.max.getHours())},e.prototype.normalizedRange=function(){var e=this.min.getHours(),t=this.max.getHours();return[Math.min(e,t),Math.max(e,t)]},e}(),Oi=function(){function e(){this.didCalculate=!1}return e.prototype.ensureHeights=function(){void 0===this.timeListHeight&&this.calculateHeights()},e.prototype.calculateHeights=function(e){if(o.canUseDOM){var t=J("div"),i=J("ul"),n=J("li"),r=t([t([t([i([n("<span>02</span>","k-item")],"k-reset")],"k-time-container k-content k-scrollable")],"k-time-list")],"k-time-list-wrapper",{left:"-10000px",position:"absolute"}),s=e&&e.querySelector(".k-time-container"),a=s||document.body,l=a.appendChild(r);this.timeListHeight=s.offsetHeight,this.itemHeight=l.querySelector("li").offsetHeight,a.removeChild(l),this.didCalculate=!0}},e}(),Ei=(fi=24,function(e){return e%fi}),$i=function(e,t){return Ei(24+e-t)},xi=function(e){return function(t,i){return!i||u(t).getTime()===u(i).getTime()?t:zt(t,e)}},Mi=xi(0),Ri=xi(23),_i=function(){function e(e){this.intl=e,this.boundRange=!1,this.insertUndividedMax=!1}return e.prototype.apply=function(e,t){return zt(e,t.getHours())},e.prototype.configure=function(e){var t=this,i=e.boundRange,n=void 0===i?this.boundRange:i,r=e.insertUndividedMax,o=void 0===r?this.insertUndividedMax:r,s=e.min,a=void 0===s?this.min:s,l=e.max,u=void 0===l?this.max:l,d=e.part,c=e.step,h=void 0===c?this.step:c;this.boundRange=n,this.insertUndividedMax=o,this.toListItem=function(e){var i=zt(N,e);return{text:t.intl.formatDate(i,d.pattern),value:i}},this.min=a,this.max=u,this.step=h},e.prototype.data=function(e){var t,i,n=this,r=this.range(e)[0],o=(t=r,i=this.step,function(e){return Ei(t+e*i)}),s=Pt(0,this.countFromMin(e)).map((function(e){return n.toListItem(o(e))}));return this.addLast(s),e&&this.addMissing(s,e),s},e.prototype.isRangeChanged=function(e,t){return!d(this.min,e)||!d(this.max,t)},e.prototype.limitRange=function(e,t,i){return this.boundRange?[Mi(e,i),Ri(t,i)]:[e,t]},e.prototype.total=function(e){var t=this.insertUndividedMax&&this.isLastMissing(e)?1:0,i=this.isMissing(e)?1:0;return this.countFromMin(e)+i+t},e.prototype.selectedIndex=function(e){return Math.ceil(this.divideByStep(e))},e.prototype.valueInList=function(e){return!e||(this.insertUndividedMax&&this.lastHour(e)===e.getHours()||!this.isMissing(e))},e.prototype.addLast=function(e,t){return this.insertUndividedMax&&this.isLastMissing(t)&&e.push(this.toListItem(this.lastHour(t))),e},e.prototype.addMissing=function(e,t){if(this.valueInList(t))return e;var i=this.toListItem(t.getHours());return e.splice(this.selectedIndex(t),0,i),e},e.prototype.countFromMin=function(e){var t=this.range(e),i=t[0],n=t[1];return Math.floor($i(n,i)/this.step)+1},e.prototype.isMissing=function(e){return!!e&&this.selectedIndex(e)!==this.divideByStep(e)},e.prototype.isLastMissing=function(e){return this.isMissing(zt(this.max,this.lastHour(e)))},e.prototype.divideByStep=function(e){return $i(e.getHours(),this.min.getHours())/this.step},e.prototype.lastHour=function(e){return this.range(e)[1]},e.prototype.range=function(e){var t=this.limitRange(this.min,this.max,e),i=t[0],n=t[1];return[i.getHours(),n.getHours()]},e}(),Fi=function(e){return function(t){return t%e}}(60),Ai=function(e,t){return Fi(60+e-t)},zi=function(e){return function(t,i){return!i||t.getHours()===i.getHours()?t:Vt(t,e)}},Vi=zi(0),ji=zi(59),Ni=function(){function e(e){this.intl=e,this.insertUndividedMax=!1}return e.prototype.apply=function(e,t){return Vt(e,t.getMinutes())},e.prototype.configure=function(e){var t=this,i=e.insertUndividedMax,n=void 0===i?this.insertUndividedMax:i,r=e.min,o=void 0===r?this.min:r,s=e.max,a=void 0===s?this.max:s,l=e.part,u=e.step,d=void 0===u?this.step:u;this.insertUndividedMax=n,this.toListItem=function(e){var i=Vt(N,e);return{text:t.intl.formatDate(i,l.pattern),value:i}},this.min=o,this.max=a,this.step=d},e.prototype.data=function(e){var t,i,n=this,r=this.range(e)[0],o=(t=r,i=this.step,function(e){return Fi(t+e*i)}),s=Pt(0,this.countFromMin(e)).map((function(e){return n.toListItem(o(e))}));return this.addLast(s),e&&this.addMissing(s,e),s},e.prototype.isRangeChanged=function(e,t){return!d(this.min,e)||!d(this.max,t)},e.prototype.limitRange=function(e,t,i){return[Vi(e,i),ji(t,i)]},e.prototype.total=function(e){var t=this.insertUndividedMax&&this.isLastMissing(e)?1:0,i=this.isMissing(e)?1:0;return this.countFromMin(e)+i+t},e.prototype.selectedIndex=function(e){return Math.ceil(this.divideByStep(e))},e.prototype.valueInList=function(e){return!e||(this.insertUndividedMax&&this.lastMinute(e)===e.getMinutes()||!this.isMissing(e))},e.prototype.addLast=function(e,t){return this.insertUndividedMax&&this.isLastMissing(t)&&e.push(this.toListItem(this.lastMinute(t))),e},e.prototype.addMissing=function(e,t){if(this.valueInList(t))return e;var i=this.toListItem(t.getMinutes());return e.splice(this.selectedIndex(t),0,i),e},e.prototype.countFromMin=function(e){var t=this.range(e),i=t[0],n=t[1];return Math.floor(Ai(n,i)/this.step)+1},e.prototype.isMissing=function(e){return!!e&&this.selectedIndex(e)!==this.divideByStep(e)},e.prototype.isLastMissing=function(e){return this.isMissing(Vt(this.max,this.lastMinute(e)))},e.prototype.divideByStep=function(e){return Ai(e.getMinutes(),this.min.getMinutes())/this.step},e.prototype.lastMinute=function(e){return this.range(e)[1]},e.prototype.range=function(e){var t=this.limitRange(this.min,this.max,e),i=t[0],n=t[1];return[i.getMinutes(),n.getMinutes()]},e}(),Pi=function(e){return function(t){return t%e}}(60),Bi=function(e,t){return Pi(60+e-t)},Li=function(e){return function(t,i){return!i||t.getMinutes()===i.getMinutes()&&t.getHours()===i.getHours()?t:jt(t,e)}},Hi=Li(0),Ui=Li(59),Wi=function(){function e(e){this.intl=e,this.insertUndividedMax=!1}return e.prototype.apply=function(e,t){return jt(e,t.getSeconds())},e.prototype.configure=function(e){var t=this,i=e.insertUndividedMax,n=void 0===i?this.insertUndividedMax:i,r=e.min,o=void 0===r?this.min:r,s=e.max,a=void 0===s?this.max:s,l=e.part,u=e.step,d=void 0===u?this.step:u;this.insertUndividedMax=n,this.toListItem=function(e){var i=jt(N,e);return{text:t.intl.formatDate(i,l.pattern),value:i}},this.min=o,this.max=a,this.step=d},e.prototype.data=function(e){var t,i,n=this,r=this.range(e)[0],o=(t=r,i=this.step,function(e){return Pi(t+e*i)}),s=Pt(0,this.countFromMin(e)).map((function(e){return n.toListItem(o(e))}));return this.addLast(s),e&&this.addMissing(s,e),s},e.prototype.isRangeChanged=function(e,t){return!d(this.min,e)||!d(this.max,t)},e.prototype.limitRange=function(e,t,i){return[Hi(e,i),Ui(t,i)]},e.prototype.total=function(e){var t=this.insertUndividedMax&&this.isLastMissing(e)?1:0,i=this.isMissing(e)?1:0;return this.countFromMin(e)+i+t},e.prototype.selectedIndex=function(e){return Math.ceil(this.divideByStep(e))},e.prototype.valueInList=function(e){return!e||(this.insertUndividedMax&&this.lastSecond(e)===e.getSeconds()||!this.isMissing(e))},e.prototype.divideByStep=function(e){return Bi(e.getSeconds(),this.min.getSeconds())/this.step},e.prototype.addLast=function(e,t){return this.insertUndividedMax&&this.isLastMissing(t)&&e.push(this.toListItem(this.lastSecond(t))),e},e.prototype.addMissing=function(e,t){if(this.valueInList(t))return e;var i=this.toListItem(t.getSeconds());return e.splice(this.selectedIndex(t),0,i),e},e.prototype.countFromMin=function(e){var t=this.range(e),i=t[0],n=t[1];return Math.floor(Bi(n,i)/this.step)+1},e.prototype.isMissing=function(e){return!!e&&this.selectedIndex(e)!==this.divideByStep(e)},e.prototype.isLastMissing=function(e){return this.isMissing(jt(this.max,this.lastSecond(e)))},e.prototype.lastSecond=function(e){return this.range(e)[1]},e.prototype.range=function(e){var t=this.limitRange(this.min,this.max,e),i=t[0],n=t[1];return[i.getSeconds(),n.getSeconds()]},e}(),Ki=r,Yi=Ki.h,Gi=Ki.inject,qi=((mi={})[o.Keys.end]=function(e,t){return e[e.length-1]},mi[o.Keys.home]=function(e,t){return e[0]},mi[o.Keys.up]=function(e,t){return e[t-1]},mi[o.Keys.down]=function(e,t){return e[t+1]},mi),Zi=((vi={})[Ot]=Ti,vi[Et]=_i,vi[$t]=Ni,vi[xt]=Wi,vi),Xi={name:"KendoTimeList",emits:{change:null,focus:null,blur:null},props:{id:Number,boundRange:{type:Boolean,default:!1},max:{type:Date,default:function(){return H}},min:{type:Date,default:function(){return N}},part:Object,step:{type:Number,default:1},value:Date,smoothScroll:{type:Boolean,default:!0}},inject:{kendoIntlService:{default:null}},data:function(){return{animateToIndex:!1}},created:function(){this.topOffset=void 0,this.dom=new Oi},computed:{animate:function(){return Boolean(this.$props.smoothScroll&&this.animateToIndex)}},mounted:function(){var e=this;this.virtualization=this.$refs.virtualization,Promise.resolve().then((function(){e.$el&&(e.dom.calculateHeights(e.$el),e.$forceUpdate())}))},updated:function(){if(this.$refs.virtualization){this.virtualization=this.$refs.virtualization;var e=this.service.selectedIndex(this.$props.value);this.virtualization[this.animate?"animateToIndex":"scrollToIndex"](e),this.animateToIndex=!0}},setup:Yi?function(){return{v3:!!Yi,kendoIntlService:Gi("kendoIntlService",{})}}:void 0,render:function(e){var t=this,i=Yi||e;if(this.$props.part.type&&Zi[this.$props.part.type]){this.calculateHeights(),this.intl=Object(h.provideIntlService)(this),this.service=new Zi[this.$props.part.type](this.intl),this.configureServices();var n=this.service.data(this.$props.value),r="translateY("+this.topOffset+"px)",o=this.service.total(this.$props.value),s=function(){return i("ul",{style:{transform:r,msTransform:r},class:"k-reset"},[n.map((function(e,t){var n=this;return i("li",{key:t,class:"k-item",onClick:function(){n.handleChange(e)},on:this.v3?void 0:{click:function(){n.handleChange(e)}}},[i("span",[e.text])])}),this)])};return i("div",{class:"k-time-list",id:String(this.$props.id||""),attrs:this.v3?void 0:{id:String(this.$props.id||""),tabIndex:this.$props.disabled?-1:0},tabIndex:this.$props.disabled?-1:0,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focusin:this.handleFocus,focusout:this.handleBlur,mouseover:this.handleMouseOver},onFocusin:this.handleFocus,onFocusout:this.handleBlur,onMouseover:this.handleMouseOver},[this.dom.didCalculate?i(Si,{bottomOffset:this.bottomOffset,attrs:this.v3?void 0:{bottomOffset:this.bottomOffset,itemHeight:this.itemHeight,maxScrollDifference:this.listHeight,role:"presentation",skip:0,tabIndex:-1,take:o,topOffset:this.topOffset,total:o},class:"k-time-container",itemHeight:this.itemHeight,maxScrollDifference:this.listHeight,onScrollaction:this.handleScrollAction,on:this.v3?void 0:{scrollaction:this.handleScrollAction},ref:"virtualization",role:"presentation",skip:0,tabIndex:-1,take:o,topOffset:this.topOffset,total:o},this.v3?function(){return[s.call(t)]}:[s.call(t)]):i("div",{class:"k-time-container"},[s.call(this)])])}},methods:{focus:function(e){var t=this;Promise.resolve().then((function(){t.$el&&t.$el.focus(e)}))},itemOffset:function(e){if(!this.virtualization)return-1;var t=this.service.selectedIndex(this.$props.value),i=this.virtualization.activeIndex(),n=this.virtualization.itemOffset(i),r=Math.abs(Math.ceil(e)-n);if(t===i&&r<2)return n;var o=t>i;return o&&r>=this.bottomThreshold||!o&&r>this.topThreshold?this.virtualization.itemOffset(i+1):n},calculateHeights:function(){this.dom.didCalculate&&(this.itemHeight=this.dom.itemHeight,this.listHeight=this.dom.timeListHeight,this.topOffset=(this.listHeight-this.itemHeight)/2,this.bottomOffset=this.listHeight-this.itemHeight,this.topThreshold=.05*this.itemHeight,this.bottomThreshold=.95*this.itemHeight)},configureServices:function(e){var t=e||this.$props,i=t.min,n=t.max,r=t.value,o=this.service.limitRange(i||this.$props.min,n||this.$props.max,r||this.$props.value),s=o[0],a=o[1];this.service.configure(this.serviceSettings({min:s,max:a}))},serviceSettings:function(e){var t={boundRange:this.$props.boundRange,insertUndividedMax:!1,min:s(this.$props.min),max:s(this.$props.max),part:this.$props.part,step:this.$props.step},i=Object.assign({},t,e);return i.boundRange="hour"!==i.part.type||this.$props.boundRange,i},handleScrollAction:function(e){var t=e.target,i=e.animationInProgress;if(this.virtualization&&t&&!i){this.animateToIndex=!1;var n=this.virtualization.itemIndex(this.itemOffset(t.scrollTop)),r=this.service.data(this.$props.value)[n];this.handleChange(r)}},handleFocus:function(e){this.$emit("focus",e)},handleBlur:function(e){this.$emit("blur",e)},handleMouseOver:function(){this.$el&&o.canUseDOM&&document.activeElement!==this.$el&&this.$el.focus({preventScroll:!0})},handleKeyDown:function(e){var t=e.keyCode;t!==o.Keys.down&&t!==o.Keys.up&&t!==o.Keys.end&&t!==o.Keys.home||e.preventDefault();var i=(qi[e.keyCode]||o.noop)(this.service.data(this.$props.value),this.service.selectedIndex(this.$props.value));i&&this.handleChange(i)},handleChange:function(e){var t=this.service.apply(this.$props.value,e.value);this.$props.value.getTime()!==t.getTime()&&(this.currentValue=t,this.$emit("change",t))}}},Ji=r,Qi=Ji.h,en=Ji.inject,tn=new RegExp(Et+"|"+$t+"|"+xt+"|"+Ot+"|literal");!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(gi||(gi={}));var nn,rn={name:"KendoTimePart",props:{cancelButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},format:{type:String,default:function(){return"hh:mm a"}},max:{type:Date,default:function(){return H}},min:{type:Date,default:function(){return L}},nowButton:{type:Boolean,default:!0},steps:{type:Object,default:function(){return{}}},smoothScroll:{type:Boolean,default:!0},tabIndex:Number,value:{type:Date,default:function(){return null}}},emits:{change:null,focus:null,blur:null,nowclick:null},created:function(){this.timeLists=[],this.snapTime=At(Ft(this.$props.steps,this.$props.min)),this.activeListIndex=-1,this.hasActiveButton=this.hasActiveButton.bind(this)},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},data:function(){return{activeListIndex:null}},computed:{element:function(){return this._element},computedValue:function(){return function(e,t,i){if(!e||!t||!i)return e;var n=Bt(e,t,i),r=n.candidateValue,o=n.minValue,s=n.maxValue;return r<o?U(e,t):r>s?U(e,i):e}(this.snapTime(s(this.$props.value||N)),this.computedMin,this.computedMax)},intl:function(){return Object(h.provideIntlService)(this)},computedMin:function(){return this.snapTime(this.$props.min)},computedMax:function(){return this.snapTime(this.$props.max)}},mounted:function(){var e=this;this._nowButton=this.$refs.nowButton,this.dateFormatParts.forEach((function(t,i){"literal"!==t.type&&e.timeLists.push(e.$refs["timeList"+i])}))},setup:Qi?function(){return{v3:!!Qi,kendoIntlService:en("kendoIntlService",{}),kendoLocalizationService:en("kendoLocalizationService",{})}}:void 0,render:function(e){var t=Qi||e,i=this.$props,n=i.format,r=i.smoothScroll,s=i.disabled;this.snapTime=At(Ft(this.$props.steps,this.computedMin)),this.dateFormatParts=this.intl.splitDateFormat(n).filter(this.timeFormatFilter);var a=Object(o.classNames)({"k-state-disabled":s},"k-time-part"),l=Object(h.provideLocalizationService)(this),u=l.toLanguageString(lt,dt[lt]);return t("div",{class:a},[t("div",{class:"k-time-header"},[t("span",{class:"k-title"},[this.intl.formatDate(this.computedValue,this.dateFormatParts.reduce(this.timeFormatReducer,""))]),this.showNowButton()&&t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",fillMode:"flat",title:u,"aria-label":u,tabIndex:s?-1:0},ref:"nowButton",fillMode:"flat",class:"k-time-now",title:u,"aria-label":u,onClick:this.onNowClick,on:this.v3?void 0:{click:this.onNowClick},tabIndex:s?-1:0},this.v3?function(){return[l.toLanguageString("timepicker.now",dt["timepicker.now"])]}:[l.toLanguageString("timepicker.now",dt["timepicker.now"])])]),t("div",{class:"k-time-list-container",onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown}},[t("span",{class:"k-time-highlight"}),this.dateFormatParts.map((function(e,i){var n=this;return"literal"!==e.type?t("div",{key:i,class:Object(o.classNames)("k-time-list-wrapper",{"k-state-focused":i===this.activeListIndex}),role:"presentation",attrs:this.v3?void 0:{role:"presentation",tabIndex:-1},tabIndex:-1},[t("span",{class:"k-title",onMousedown:function(e){e.preventDefault()},on:this.v3?void 0:{mousedown:function(e){e.preventDefault()}}},[this.intl.dateFieldName(e)]),t(Xi,{min:this.computedMin,attrs:this.v3?void 0:{min:this.computedMin,max:this.computedMax,boundRange:this.$props.boundRange,part:e,step:e.type?this.$props.steps[e.type]:1,smoothScroll:r,id:i,value:this.computedValue,disabled:s},max:this.computedMax,boundRange:this.$props.boundRange,part:e,step:e.type?this.$props.steps[e.type]:1,smoothScroll:r,ref:"timeList"+i,id:i,onFocus:function(e){n.handleListFocus(e,i)},on:this.v3?void 0:{focus:function(e){n.handleListFocus(e,i)},blur:this.handleListBlur,change:this.handleChange},onBlur:this.handleListBlur,onChange:this.handleChange,value:this.computedValue,disabled:s})]):t("div",{key:i,class:"k-time-separator"},[e.pattern])}),this)])])},methods:{onNowClick:function(e){this.$emit("nowclick",e)},focus:function(e){var t=this;this.$nextTick((function(){var i=t.timeLists[0];!t.hasActiveButton()&&i&&i.$el&&i.focus(e)}))},timeFormatReducer:function(e,t){return e+t.pattern},timeFormatFilter:function(e,t,i){var n=t>=1&&i[t-1];return n&&n&&"literal"===e.type?tn.test(n.type||""):tn.test(e.type||"")},hasActiveButton:function(){return o.canUseDOM&&document.activeElement===this._nowButton.$el},focusList:function(e){this.timeLists.length&&this.timeLists.reduce(this.listReducer,[]).map((function(t){return e===gi.Right?t.next:t.prev})).map((function(e){return e&&e.$el&&e.$el.focus({preventScroll:!0})}))},listReducer:function(e,t,i,n){return e.length||t.$props.id!==this.activeListIndex?e:[{next:n[i+1]||t,prev:n[i-1]||t}]},showNowButton:function(){return!this.hasSteps()&&this.$props.nowButton&&Lt(Nt(),this.computedMin,this.computedMax)},hasSteps:function(){var e=this,t=Object.keys(this.$props.steps);return t.length!==t.reduce((function(t,i){return t+e.$props.steps[i]}),0)},handleKeyDown:function(e){switch(e.keyCode){case o.Keys.left:return e.preventDefault(),void this.focusList(gi.Left);case o.Keys.right:return e.preventDefault(),void this.focusList(gi.Right);default:return}},handleListBlur:function(e){this.$emit("blur",e)},handleListFocus:function(e,t){this.$emit("focus",e),this.activeListIndex=t},handleChange:function(e){this.$emit("change",e)}}},on=r,sn=on.h,an=on.inject;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(nn||(nn={}));var ln={name:"KendoTimeSelector",emits:{change:null,focus:null,blur:null},props:{cancelButton:{type:Boolean,default:!0},boundRange:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},format:{type:String,default:function(){return"t"}},max:{type:Date,default:function(){return H}},min:{type:Date,default:function(){return L}},nowButton:Boolean,steps:{type:Object,default:function(){return{}}},smoothScroll:{type:Boolean,default:!0},tabIndex:Number,value:{type:Date,default:function(){return null}}},created:function(){this.dateFormatParts=this.intl.splitDateFormat(this.$props.format),this.mergeValue=function(e){return function(t,i){return t.setHours.apply(t,e.map((function(e){return e(t,i)}))),t}}(_t(this.dateFormatParts)),this.hasActiveButton=this.hasActiveButton.bind(this),this.currentState=this.$props.value||N,this.currentValue=this.$props.value},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},data:function(){return{currentState:null,currentValue:null,valueDuringOnChange:void 0}},computed:{computedValue:function(){var e=void 0!==this.valueDuringOnChange?this.valueDuringOnChange:null!==this.$props.value?this.$props.value:this.currentValue;return null!==e?s(e):null},intl:function(){return Object(h.provideIntlService)(this)},current:function(){return null!==this.currentState?s(this.currentState):null}},mounted:function(){this.timePart=this.$refs.timePart,this._acceptButton=this.$refs.acceptButton,this._cancelButton=this.$refs.cancelButton},setup:sn?function(){return{v3:!!sn,kendoIntlService:an("kendoIntlService",{}),kendoLocalizationService:an("kendoLocalizationService",{})}}:void 0,render:function(e){var t=sn||e,i=this.$props,n=i.format,r=i.cancelButton,s=i.disabled,a=i.tabIndex,l=i.smoothScroll,u=i.min,d=i.max,c=i.boundRange,p=i.nowButton,f=i.steps,m=Object(h.provideLocalizationService)(this),v=m.toLanguageString("timepicker.cancel",dt["timepicker.cancel"]),g=m.toLanguageString("timepicker.set",dt["timepicker.set"]);return t("div",{tabIndex:s?void 0:a||0,attrs:this.v3?void 0:{tabIndex:s?void 0:a||0},class:Object(o.classNames)("k-timeselector k-reset",{"k-state-disabled":s}),onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown}},[t(rn,{ref:"timePart",value:this.current,attrs:this.v3?void 0:{value:this.current,format:n,smoothScroll:l,min:u,max:d,boundRange:c,disabled:s,nowButton:p,steps:f},onChange:this.handleChange,on:this.v3?void 0:{change:this.handleChange,nowclick:this.handleNowClick,focus:this.handleFocus,blur:this.handleBlur},onNowclick:this.handleNowClick,format:n,smoothScroll:l,min:u,max:d,onFocus:this.handleFocus,onBlur:this.handleBlur,boundRange:c,disabled:s,nowButton:p,steps:f}),t("div",{class:"k-time-footer k-actions k-actions-stretched"},[r&&t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",title:v,"aria-label":v},ref:"cancelButton",class:"k-time-cancel",onClick:this.handleReject,on:this.v3?void 0:{click:this.handleReject},title:v,"aria-label":v},this.v3?function(){return[v]}:[v]),t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",themeColor:"primary",title:g,"aria-label":g},ref:"acceptButton",themeColor:"primary",class:"k-time-accept",onClick:this.handleAccept,on:this.v3?void 0:{click:this.handleAccept},title:g,"aria-label":g},this.v3?function(){return[g]}:[g])])])},methods:{handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},focusActiveList:function(){this.timePart&&this.timePart.focus({preventScroll:!0})},hasActiveButton:function(){return!!this._acceptButton&&(o.canUseDOM&&(document.activeElement===this._acceptButton.$el||document.activeElement===this._cancelButton.$el))},handleKeyDown:function(e){var t=e.keyCode;switch(this.$emit("keydown",e),t){case o.Keys.enter:return void(this.hasActiveButton()||this.handleAccept(e));default:return}},handleAccept:function(e){var t=this.mergeValue(s(this.computedValue||Nt()),this.timePart?this.timePart.value:this.current);this.currentValue=t,this.valueDuringOnChange=t,this.$emit("change",{event:e,value:this.computedValue,target:this}),this.valueDuringOnChange=void 0},handleReject:function(e){this.currentState=this.computedValue,this.$emit("reject",e)},handleNowClick:function(e){var t=this.mergeValue(s(this.computedValue||Nt()),Nt());this.currentState=t,this.currentValue=t,this.valueDuringOnChange=t,this.$emit("change",{event:e,value:this.computedValue,target:this}),this.valueDuringOnChange=void 0},handleChange:function(e){this.currentState=e}}},un=function(){return(un=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},dn=r,cn=dn.h,hn=dn.ref,pn=dn.inject,fn={name:"KendoTimePicker",emits:{changemodel:null,"update:modelValue":null,iconclick:null,change:null,focus:null,blur:null,keydown:null},model:{event:"changemodel"},props:{cancelButton:{type:Boolean,default:!0},nowButton:{type:Boolean,default:void 0},defaultShow:{type:Boolean,default:!1},modelValue:{type:Date,default:void 0},defaultValue:{type:Date,default:function(){return null}},dateInput:{type:[String,Object,Function],default:function(){}},popup:{type:[String,Object,Function],default:function(){}},disabled:{type:Boolean,default:!1},format:{type:[String,Object],default:function(){return"t"}},formatPlaceholder:{type:[String,Object],default:function(){return"wide"}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},id:String,ariaLabelledBy:String,ariaDescribedBy:String,min:{type:Date,default:function(){return L}},max:{type:Date,default:function(){return H}},name:String,label:String,placeholder:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},steps:{type:Object,default:function(){return{}}},smoothScroll:{type:Boolean,default:!0},title:{type:String,default:function(){return""}},value:{type:Date,default:function(){}},width:[Number,String],validationMessage:String,required:{type:Boolean,default:!1},validityStyles:{type:Boolean,default:!0},validate:Boolean,valid:{type:Boolean,default:void 0}},created:function(){this._anchor=Object(o.guid)(),this._popupId=Object(o.guid)(),this._element=null,this._wrapper=null,this._dateInput=null,this._timeSelector=null,this.shouldFocusDateInput=!1,this.currentValue=this.$props.defaultValue,this.currentShow=this.$props.defaultShow},inject:{kendoLocalizationService:{default:null}},data:function(){return{currentValue:null,currentShow:!1,valueDuringOnChange:void 0,showDuringOnChange:void 0,isFocused:!1}},computed:{timeSelector:function(){return this._timeSelector},computedValue:function(){var e=void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue;return null!==e?s(e):null},computedShow:function(){return void 0!==this.showDuringOnChange?this.showDuringOnChange:void 0!==this.$props.show?this.$props.show:this.currentShow}},watch:{show:function(e,t){this._oldShow=t},currentShow:function(e,t){this._oldShow=t}},mounted:function(){this.computedShow&&this.$forceUpdate(),this._dateInput=this.v3?this.dateInputRef:this.$refs.dateInput,this._timeSelector=this.$refs.timeSelector,this._wrapper=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],this._dateInput&&this._dateInput.element()&&(this._dateInput.element().setAttribute("aria-haspopup","true"),this._dateInput.element().setAttribute("aria-expanded",""+this.computedShow))},updated:function(){this._dateInput=this.v3?this.dateInputRef:this.$refs.dateInput,this._timeSelector=this.$refs.timeSelector,this._wrapper=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],this._dateInput&&this._dateInput.element()&&this._dateInput.element().setAttribute("aria-expanded",""+this.computedShow),this._timeSelector&&this.computedShow&&!this._oldShow?this._timeSelector.focusActiveList():this._dateInput&&this._dateInput.element()&&!this.computedShow&&this.shouldFocusDateInput&&this._dateInput.element().focus({preventScroll:!0}),this.shouldFocusDateInput=!1},setup:cn?function(){return{v3:!!cn,kendoAnchorRef:hn(null),kendoLocalizationService:pn("kendoLocalizationService",{})}}:void 0,render:function(e){var t,i=this,n=cn||e,r=Object(o.getDefaultSlots)(this),s=this.$props,a=s.disabled,l=s.tabIndex,u=s.title,d=s.id,c=s.placeholder,p=s.format,f=s.formatPlaceholder,m=s.smoothScroll,v=s.width,g=s.name,y=s.steps,b=s.cancelButton,k=s.nowButton,S=s.validationMessage,w=s.required,D=s.validityStyles,I=s.ariaLabelledBy,C=s.ariaDescribedBy,T=s.size,O=s.rounded,E=s.fillMode,$=this.$props.popupSettings,x=$.popupClass,M=$.appendTo,R=$.animate,_=!this.$props.validityStyles||this.validity().valid,F=(Object(o.classNames)("k-picker-wrap",{"k-invalid":!_,"k-disabled":a,"k-focus":this.isFocused}),Object(o.classNames)("k-group k-reset",x)),A=Object(h.provideLocalizationService)(this),z=A.toLanguageString(ut,dt[ut]),V=A.toLanguageString("timepicker.toggleTimeSelector",dt["timepicker.toggleTimeSelector"]),j=this.$props.dateInput?o.templateRendering.call(this,this.$props.dateInput,o.getListeners.call(this)):void 0,N=n(Zt,{ref:this.v3?function(e){i.dateInputRef=e}:"dateInput",placeholder:c,attrs:this.v3?void 0:{placeholder:c,disabled:a,format:p,formatPlaceholder:f,id:d,size:null,rounded:null,fillMode:null,ariaLabelledBy:I,ariaDescribedBy:C,max:this.normalizeTime(this.$props.max),min:this.normalizeTime(this.$props.min),name:g,required:w,steps:y,tabIndex:this.computedShow?-1:l,title:u,valid:this.validity().valid,validationMessage:S,validityStyles:D,value:this.computedValue&&this.normalizeTime(this.computedValue)},disabled:a,format:p,formatPlaceholder:f,id:d,size:null,rounded:null,fillMode:null,ariaLabelledBy:I,ariaDescribedBy:C,max:this.normalizeTime(this.$props.max),min:this.normalizeTime(this.$props.min),name:g,onChange:this.handleInputValueChange,on:this.v3?void 0:{change:this.handleInputValueChange},required:w,steps:y,tabIndex:this.computedShow?-1:l,title:u,valid:this.validity().valid,validationMessage:S,validityStyles:D,value:this.computedValue&&this.normalizeTime(this.computedValue)},this.v3?function(){return[r]}:[r]),P=n(ln,{ref:"timeSelector",cancelButton:b,attrs:this.v3?void 0:{cancelButton:b,disabled:a,nowButton:k,format:p,min:this.$props.min,max:this.$props.max,steps:y,smoothScroll:m,value:this.computedValue},disabled:a,nowButton:k,format:p,min:this.$props.min,max:this.$props.max,steps:y,smoothScroll:m,value:this.computedValue,onChange:this.handleValueChange,on:this.v3?void 0:{change:this.handleValueChange,reject:this.handleValueReject,focus:this.timeFocus,blur:this.timeBlur,keydown:this.handleKeyDown},onReject:this.handleValueReject,onFocus:this.timeFocus,onBlur:this.timeBlur,onKeydown:this.handleKeyDown}),B=o.getTemplate.call(this,{h:n,template:j,defaultRendering:N}),L=this.$props.popup?o.templateRendering.call(this,this.$props.popup,o.getListeners.call(this)):void 0,H=n(Jt.a,{show:this.computedShow,attrs:this.v3?void 0:{show:this.computedShow,anchor:this._anchor,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:M,animate:R},anchor:this._anchor,class:F,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:M,animate:R},this.v3?function(){return[P]}:[P]),U=o.getTemplate.call(this,{h:n,template:L,defaultRendering:H,defaultSlots:P}),W=n("div",{class:Object(o.classNames)("k-input","k-timepicker",(t={},t["k-input-"+(o.kendoThemeMaps.sizeMap[T]||T)]=T,t["k-input-"+E]=E,t["k-rounded-"+(o.kendoThemeMaps.roundedMap[O]||O)]=O,t["k-valid"]=_,t["k-invalid"]=!_,t["k-required"]=this.required,t["k-disabled"]=this.$props.disabled,t["k-focus"]=this.isFocused,t)),onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focusin:this.handleFocus,focusout:this.handleBlur},style:{width:v},onFocusin:this.handleFocus,onFocusout:this.handleBlur,ref:this.v3?function(e){i.kendoAnchorRef=e}:this._anchor},[B,n(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",tabIndex:-1,icon:"clock",title:V,"aria-controls":this._popupId,"aria-label":z},tabIndex:-1,icon:"clock",onMousedown:this.handleIconMouseDown,on:this.v3?void 0:{mousedown:this.handleIconMouseDown,click:this.handleIconClick},onClick:this.handleIconClick,title:V,class:"k-input-button","aria-controls":this._popupId,"aria-label":z}),U]);return this.$props.label?n(Wt.FloatingLabel,{label:this.$props.label,attrs:this.v3?void 0:{label:this.$props.label,editorId:d,editorValid:_,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled},editorId:d,editorValid:_,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:v}},this.v3?function(){return[W]}:[W]):W},methods:{validity:function(){var e=this.computedValue&&this.normalizeTime(this.computedValue),t=this.normalizeTime(this.$props.min),i=this.normalizeTime(this.$props.max),n=function(e,t,i){if(null===e)return!0;var n=Bt(e,t,i),r=n.candidateValue,o=n.minValue,s=n.maxValue;return o<=r&&r<=s}(e,t,i),r=void 0!==this.$props.validationMessage,o=(!this.$props.required||null!==this.computedValue)&&n,s=void 0!==this.$props.valid?this.$props.valid:o;return{customError:r,rangeOverflow:Ut(e,i),rangeUnderflow:Ht(e,t),valid:s,valueMissing:null===this.computedValue}},getDateInputText:function(){return!!this.computedValue||(this._dateInput?this._dateInput._element.value:"")},focus:function(){this._dateInput&&this._dateInput.focus()},normalizeTime:function(e){return U(N,e)},setShow:function(e){this.computedShow!==e&&(this.currentShow=e)},mergeTime:function(e){return this.computedValue&&e?U(this.computedValue,e):e},handleInputValueChange:function(e){var t=this.mergeTime(e.value);this.handleValueChange(un(un({},e),{value:t}))},handleValueChange:function(e){this.currentValue=s(e.value),this.currentShow=!1,this.valueDuringOnChange=e.value,this.showDuringOnChange=!1,this.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:e.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue}}),this.valueDuringOnChange=void 0,this.showDuringOnChange=void 0},handleFocus:function(e){this._oldShow=this.computedShow,this.isFocused=!0,this.$emit("focus",e)},handleBlur:function(e){this.createBlurTimeout(),this.$emit("blur",e)},timeBlur:function(e){this.$emit("blur",e),clearTimeout(this._blurTimeout),this.createBlurTimeout()},timeFocus:function(){clearTimeout(this._blurTimeout)},createBlurTimeout:function(){var e=this;this._blurTimeout=setTimeout((function(){e.isFocused=!1,e._dateInput&&o.canUseDOM&&document.activeElement!==e._dateInput.element()&&document.activeElement&&-1===document.activeElement.className.indexOf("k-time-list")&&e.setShow(!1)}),200)},handleValueReject:function(e){this.setShow(!1)},handleIconClick:function(e){this.$props.disabled||(this.shouldFocusDateInput=!0,this.setShow(!this.computedShow),this.$emit("iconclick",e))},handleIconMouseDown:function(e){e.preventDefault()},handleKeyDown:function(e){var t=e.altKey,i=e.keyCode;return i===o.Keys.tab&&e.target!==this._dateInput._element?(e.preventDefault(),this.shouldFocusDateInput=!0,void this.setShow(!1)):i===o.Keys.esc?(this.shouldFocusDateInput=!0,void this.setShow(!1)):(!t||i!==o.Keys.up&&i!==o.Keys.down||(e.preventDefault(),e.stopPropagation(),this.shouldFocusDateInput=i===o.Keys.up,this.setShow(i===o.Keys.down)),void this.$emit("keydown",e))}}},mn=fn,vn=function(){return(vn=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},gn=r,yn=gn.h,bn=gn.ref,kn=gn.inject,Sn={name:"KendoDateRangePicker",emits:{blur:null,change:null,changemodel:null,"update:modelValue":null,focus:null,keydown:null},model:{event:"changemodel"},props:{allowReverse:{type:Boolean,default:!1},calendarSettings:Object,defaultShow:{type:Boolean,default:!1},defaultValue:{type:Object,default:function(){return V}},modelValue:{type:Object,default:void 0},disabled:{type:Boolean,default:!1},popup:[String,Object,Function],calendar:[String,Object,Function],startDateInput:[String,Object,Function],endDateInput:[String,Object,Function],endDateInputSettings:Object,focusedDate:Date,format:{type:[String,Object],default:function(){return"d"}},id:String,ariaLabelledBy:String,ariaDescribedBy:String,max:{type:Date,default:function(){return Ye}},min:{type:Date,default:function(){return Ke}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},startDateInputSettings:Object,swapButton:{type:Boolean,default:!1},tabIndex:Number,value:{type:Object,default:function(){}}},created:function(){this._element=null,this._wrapper=null,this._calendar=null,this._startDateInput=null,this._endDateInput=null,this._popupId=Object(o.guid)(),this._anchor=Object(o.guid)(),this._startInputId=Object(o.guid)(),this._endInputId=Object(o.guid)(),this._calendarId=Object(o.guid)(),Object(o.validatePackage)(p),this.currentShow=this.$props.show||this.$props.defaultShow,this.currentValue=this.$props.value||this.$props.defaultValue,this.initialAnimation=this.currentShow},mounted:function(){this._calendar=this.v3?this.calendarRef:this.$refs.calendar,this._startDateInput=this.v3?this.startDateInputRef:this.$refs.startDateInput,this._endDateInput=this.v3?this.endDateInputRef:this.$refs.endDateInput,this.computedShow&&(this.$forceUpdate(),this.$nextTick((function(){this.initialAnimation=!1})))},updated:function(){this._calendar=this.v3?this.calendarRef:this.$refs.calendar,this._startDateInput=this.v3?this.startDateInputRef:this.$refs.startDateInput,this._endDateInput=this.v3?this.endDateInputRef:this.$refs.endDateInput,this.shouldFocusCalendar&&this.focusCalendarElement(),this.shouldFocusDateInput&&this.focusDateInputElement(),this.shouldFocusCalendar=!1,this.shouldFocusDateInput=!1},data:function(){return{currentShow:!1,currentValue:null,valueDuringOnChange:void 0,shouldFocusDateInput:!1,shouldFocusCalendar:!1}},computed:{rootClassName:function(){var e;return(e={"k-daterangepicker":!0})["k-disabled"]=this.$props.disabled,e},computedValue:function(){return(void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.currentValue)||V},computedShow:function(){return void 0!==this.$props.show?this.$props.show:this.currentShow}},setup:yn?function(){return{v3:!!yn,kendoAnchorRef:bn(null),kendoLocalizationService:kn("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=yn||e,n=this.computedValue||V,r=this.$props,s=r.size,a=r.fillMode,l=r.rounded,u=(this.$props.startDateInputSettings||{}).id||this._startInputId,d=(this.$props.endDateInputSettings||{}).id||this._endInputId,c=Object(h.provideLocalizationService)(this),p=c.toLanguageString("daterangepicker.start",dt["daterangepicker.start"]),f=c.toLanguageString("daterangepicker.end",dt["daterangepicker.end"]),m=c.toLanguageString(st,dt[st]),v=this.$props.startDateInput?o.templateRendering.call(this,this.$props.startDateInput,o.getListeners.call(this)):void 0,g=vn({label:p,format:this.$props.format,min:this.min,max:this.max,id:this._startInputId,disabled:this.$props.disabled,valid:this.$props.valid,size:s,fillMode:a,rounded:l,ariaHasPopup:!0,ariaExpanded:this.computedShow,value:n.start},this.$props.startDateInputSettings),y=i(Zt,vn(vn({ref:this.v3?function(e){t.startDateInputRef=e}:"startDateInput",attrs:this.v3?void 0:g},g),{onChange:this.handleEndChange,on:this.v3?void 0:{change:this.handleEndChange}})),b=o.getTemplate.call(this,{h:i,template:v,defaultRendering:y,additionalListeners:{change:this.handleStartChange}}),k=this.$props.endDateInput?o.templateRendering.call(this,this.$props.endDateInput,o.getListeners.call(this)):void 0,S=vn({label:f,format:this.$props.format,min:this.min,max:this.max,id:this._endInputId,size:s,fillMode:a,rounded:l,disabled:this.$props.disabled,valid:this.$props.valid,ariaHasPopup:!0,ariaExpanded:this.computedShow,value:n.end},this.$props.endDateInputSettings),w=i(Zt,vn(vn({ref:this.v3?function(e){t.endDateInputRef=e}:"endDateInput",attrs:this.v3?void 0:S},S),{onChange:this.handleEndChange,on:this.v3?void 0:{change:this.handleEndChange}})),D=o.getTemplate.call(this,{h:i,template:k,defaultRendering:w,additionalListeners:{change:this.handleEndChange}}),I=this.$props.calendar?o.templateRendering.call(this,this.$props.calendar,o.getListeners.call(this)):void 0,C=vn({id:this._calendarId,min:this.min,max:this.max,views:2,allowReverse:this.$props.allowReverse,mode:"range",focusedDate:this.$props.focusedDate,disabled:this.$props.disabled,value:n},this.$props.calendarSettings),T=i(wt,vn({ref:this.v3?function(e){t.calendarRef=e}:"calendar",attrs:this.v3?void 0:C,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focus:this.calendarFocus,blur:this.calendarBlur,change:this.handleCalendarChange},onFocus:this.calendarFocus,onBlur:this.calendarBlur,onChange:this.handleCalendarChange},C)),O=o.getTemplate.call(this,{h:i,template:I,defaultRendering:T,additionalListeners:{change:this.handleCalendarChange,keydown:this.handleKeyDown,focus:this.calendarFocus,blur:this.calendarBlur}}),E=this.$props.popupSettings,$=E.popupClass,x=E.animate,M=this.$props.popup?o.templateRendering.call(this,this.$props.popup,o.getListeners.call(this)):void 0,R=vn({show:this.computedShow,anchor:this._anchor,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},animate:!this.initialAnimation&&x},this.$props.popupSettings),_=i(Jt.a,vn({attrs:this.v3?void 0:R,class:$},R),this.v3?function(){return[O]}:[O]),F=o.getTemplate.call(this,{h:i,template:M,defaultRendering:_,defaultSlots:O}),A=i("span",{role:"button",attrs:this.v3?void 0:{role:"button",title:Object(h.provideLocalizationService)(this).toLanguageString(ot,dt[ot]),"aria-controls":u+" "+d,"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(ot,dt[ot])},class:"k-button k-button-md k-button-flat k-icon-button",title:Object(h.provideLocalizationService)(this).toLanguageString(ot,dt[ot]),onMousedown:this.handleReverseMouseDown,on:this.v3?void 0:{mousedown:this.handleReverseMouseDown,click:this.handleReverseClick},onClick:this.handleReverseClick,"aria-controls":u+" "+d,"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(ot,dt[ot])},[i("span",{style:{transform:"rotate(90deg)"},class:"k-icon k-button-icon k-i-arrows-swap"})]);return i("span",{class:this.rootClassName,style:this.$attrs.style,id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy,tabIndex:this.$props.tabIndex},"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy,tabIndex:this.$props.tabIndex,onFocusin:this.handleFocus,on:this.v3?void 0:{focusin:this.handleFocus,focusout:this.handleBlur,keydown:this.handleKeyDown},onFocusout:this.handleBlur,onKeydown:this.handleKeyDown,ref:this.v3?function(e){t.kendoAnchorRef=e}:this._anchor},[b,(this.$props.allowReverse||this.$props.calendarSettings&&this.$props.calendarSettings.allowReverse)&&this.$props.swapButton?A:m,D,F])},methods:{focus:function(){var e=this.getStartInput();e&&e.focus()},focusCalendarElement:function(){var e=this.getCalendar();e&&e.focus({preventScroll:!0})},focusDateInputElement:function(){var e=this.getStartInput(),t=this.getEndInput();document&&e&&t&&(null!==this.computedValue.start&&null===this.computedValue.end||document.activeElement===t?document.activeElement!==e&&t.focus({preventScroll:!0}):e.focus({preventScroll:!0}))},calculateValue:function(e,t){return(void 0!==e.value?e.value:t.currentValue)||V},calculateShow:function(e,t){return void 0!==e.show?e.show:t.currentShow},setShow:function(e){this.currentShow!==e&&(this.currentShow=e)},handleReverseClick:function(e){var t={start:this.computedValue.end,end:this.computedValue.start},i={event:e.event};this.handleChange(t,i)},handleReverseMouseDown:function(e){e.preventDefault()},handleFocus:function(e){var t=this.getStartInput(),i=this.getEndInput();this.shouldFocusDateInput||this.setShow(!0),t&&t.classList.add("k-focus"),i&&i.classList.add("k-focus"),this.$emit("focus",e)},calendarBlur:function(){clearTimeout(this._blurTimeout),this.createBlurTimeout()},calendarFocus:function(){clearTimeout(this._blurTimeout)},createBlurTimeout:function(){var e=this;this._blurTimeout=setTimeout((function(){var t=e.getStartInput(),i=e.getEndInput();t&&t.classList.remove("k-focus"),i&&i.classList.remove("k-focus"),t&&i&&o.canUseDOM&&t&&document.activeElement!==i&&e.setShow(!1)}),200)},getStartInput:function(){return this._startDateInput&&this._startDateInput.element?this._startDateInput.element():document.getElementById(this._startInputId)},getEndInput:function(){return this._endDateInput&&this._endDateInput.element?this._endDateInput.element():document.getElementById(this._endInputId)},getCalendar:function(){return this._calendar&&this._calendar.element?this._calendar:document.getElementById(this._calendarId)},handleBlur:function(e){this.createBlurTimeout(),this.$emit("blur",e)},handleEndChange:function(e){var t={start:this.computedValue.start,end:s(e.value||void 0)};this.handleChange(t,e)},handleStartChange:function(e){var t={start:s(e.value||void 0),end:this.computedValue.end};this.handleChange(t,e)},extractRangeFromValue:function(e){if(!(Array.isArray(e.value)||e.value instanceof Date))return e.value||V;var t=Array.isArray(e.value)?e.value[0]:e.value;return{start:null!==this.computedValue.end?t:this.computedValue.start,end:null!==this.computedValue.start?t:this.computedValue.end}},handleCalendarChange:function(e){var t=this.extractRangeFromValue(e);this.handleChange(t,e)},handleKeyDown:function(e){var t=e.keyCode,i=e.altKey,n=this.getEndInput(),r=this.getCalendar();t===o.Keys.esc?(e.preventDefault(),this.shouldFocusDateInput=!0,this.setShow(!1)):i&&t===o.Keys.down?(e.preventDefault(),this.shouldFocusCalendar=!0,this.setShow(!0)):t===o.Keys.tab&&this.computedShow&&r&&n&&document&&document.activeElement===n&&(e.preventDefault(),this.focusCalendarElement()),this.$emit("keydown",e)},handleChange:function(e,t){this.currentValue=e,this.valueDuringOnChange=e;var i={event:t.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,show:this.computedShow}};this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",i),this.valueDuringOnChange=void 0}}},wn=r,Dn=wn.h,In=wn.ref,Cn=wn.inject,Tn={name:"KendoDateTimeSelector",props:{value:Date,disabled:{type:Boolean,default:!1},cancelButton:{type:Boolean,default:!0},min:{type:Date,default:P},max:{type:Date,default:B},maxTime:{type:Date,default:function(){return Object(o.cloneDate)(H)}},minTime:{type:Date,default:function(){return Object(o.cloneDate)(L)}},weekNumber:{type:Boolean,default:!1},steps:{type:Object,default:function(){return{}}},focusedDate:Date,format:String,calendar:Object},created:function(){this._calendarWrap=null,this.currentTab="date",this.dateValue=this.$props.value,this.timeValue=this.$props.value||We},inject:{kendoLocalizationService:{default:null}},data:function(){return{currentTab:null,dateValue:null,timeValue:Date}},computed:{hasDateValue:function(){return null!==this.dateValue},computedMinTime:function(){return void 0!==this.$props.minTime?this.$props.minTime:this.normalizeRange(this.$props.min,this.dateValue)},computedMaxTime:function(){return void 0!==this.$props.maxTime?this.$props.maxTime:this.normalizeRange(this.$props.max,this.dateValue)}},mounted:function(){this._acceptButton=this.$refs.acceptButton,this._calendar=this.$refs.calendar,this._calendarWrap=this.$refs.calendarWrap,this._cancelButton=this.$refs.cancelButton,this._timePart=this.$refs.timePart,this.focus({preventScroll:!0})},updated:function(){this.shouldFocusPart&&this.focus({preventScroll:!0}),this.shouldFocusPart=!1},setup:Dn?function(){return{v3:!!Dn,kendoAnchorRef:In(null),kendoLocalizationService:Cn("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=Dn||e,n=this.$props,r=n.disabled,s=n.cancelButton,a=n.min,l=n.max,u=n.weekNumber,d=n.focusedDate,c=n.format,p=n.steps,f=Object(o.classNames)({"k-date-tab":"date"===this.currentTab,"k-time-tab":"time"===this.currentTab,"k-state-disabled":r},"k-datetime-wrap"),m=Object(h.provideLocalizationService)(this),v=m.toLanguageString("datetimepicker.date",dt["datetimepicker.date"]),g=m.toLanguageString("datetimepicker.time",dt["datetimepicker.time"]),y=m.toLanguageString("datetimepicker.cancel",dt["datetimepicker.cancel"]),b=m.toLanguageString("datetimepicker.set",dt["datetimepicker.set"]),k=i(wt,{ref:"calendar",min:a,attrs:this.v3?void 0:{min:a,max:l,weekNumber:u,focusedDate:d,disabled:r||"date"!==this.currentTab,value:this.dateValue},max:l,weekNumber:u,focusedDate:d,disabled:r||"date"!==this.currentTab,value:this.dateValue,onChange:this.handleCalendarValueChange,on:this.v3?void 0:{change:this.handleCalendarValueChange,focus:this.handleFocus,blur:this.handleBlur},onFocus:this.handleFocus,onBlur:this.handleBlur}),S=o.getTemplate.call(this,{h:i,template:this.$props.calendar,defaultRendering:k});return i("div",{onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown},class:f,tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1}},[i("div",{class:"k-datetime-buttongroup"},[i(Ze.ButtonGroup,{width:"100%",attrs:this.v3?void 0:{width:"100%"}},this.v3?function(){return[i(Ze.Button,{type:"button",attrs:t.v3?void 0:{type:"button",selected:"date"===t.currentTab,togglable:!0},selected:"date"===t.currentTab,togglable:!0,onClick:t.handleDateClick,on:t.v3?void 0:{click:t.handleDateClick}},t.v3?function(){return[v]}:[v]),i(Ze.Button,{type:"button",attrs:t.v3?void 0:{type:"button",selected:"time"===t.currentTab,togglable:!0},selected:"time"===t.currentTab,togglable:!0,onClick:t.handleTimeClick,on:t.v3?void 0:{click:t.handleTimeClick}},t.v3?function(){return[g]}:[g])]}:[i(Ze.Button,{type:"button",attrs:t.v3?void 0:{type:"button",selected:"date"===t.currentTab,togglable:!0},selected:"date"===t.currentTab,togglable:!0,onClick:t.handleDateClick,on:t.v3?void 0:{click:t.handleDateClick}},t.v3?function(){return[v]}:[v]),i(Ze.Button,{type:"button",attrs:t.v3?void 0:{type:"button",selected:"time"===t.currentTab,togglable:!0},selected:"time"===t.currentTab,togglable:!0,onClick:t.handleTimeClick,on:t.v3?void 0:{click:t.handleTimeClick}},t.v3?function(){return[g]}:[g])])]),i("div",{class:"k-datetime-selector"},[i("div",{class:"k-datetime-calendar-wrap",ref:"calendarWrap"},[S]),i("div",{class:"k-datetime-time-wrap"},[i(rn,{key:1,onNowclick:this.handleNowClick,on:this.v3?void 0:{nowclick:this.handleNowClick,change:this.handleTimeListContainerChange,mount:this.handleTimePartMount,focus:this.handleFocus,blur:this.handleBlur},disabled:r||"time"!==this.currentTab,attrs:this.v3?void 0:{disabled:r||"time"!==this.currentTab,min:this.computedMinTime||L,max:this.computedMaxTime||H,value:this.timeValue,format:c,steps:p},ref:"timePart",min:this.computedMinTime||L,max:this.computedMaxTime||H,value:this.timeValue,format:c,steps:p,onChange:this.handleTimeListContainerChange,onMount:this.handleTimePartMount,onFocus:this.handleFocus,onBlur:this.handleBlur})])]),i("div",{class:"k-datetime-footer k-actions k-actions-stretched"},[s&&i(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",title:y,"aria-label":y},ref:"cancelButton",class:"k-time-cancel",onClick:this.handleReject,on:this.v3?void 0:{click:this.handleReject},title:y,"aria-label":y},this.v3?function(){return[y]}:[y]),i(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",disabled:!this.hasDateValue,themeColor:"primary",title:b,"aria-label":b},ref:"acceptButton",disabled:!this.hasDateValue,themeColor:"primary",class:"k-time-accept",onClick:this.handleAccept,on:this.v3?void 0:{click:this.handleAccept},title:b,"aria-label":b},this.v3?function(){return[b]}:[b])])])},methods:{handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},focus:function(e){var t=this;this.$nextTick((function(){"time"===t.currentTab&&t._timePart&&t._timePart.focus(e);var i=t.calendarElement();"date"===t.currentTab&&i&&i.focus(e)}))},calendarElement:function(){return this._calendar&&this._calendar.$el?this._calendar:null},normalizeRange:function(e,t){return c(e,t||W())?e:null},hasActiveButton:function(){return!!this._acceptButton&&(o.canUseDOM&&(document.activeElement===this._acceptButton.$el||document.activeElement===this._cancelButton.$el))},mergeTime:function(e,t){return e&&t?U(t,e):t},mergeDate:function(e,t){return e?U(e||W(),t):t},move:function(e){if(!("right"===e&&"time"===this.currentTab||"left"===e&&"date"===this.currentTab)){var t="left"===e?"date":"time";this.shouldFocusPart=!0,this.currentTab=t}},handleReject:function(e){this.dateValue=this.$props.value,this.timeValue=this.$props.value||We;var t={event:e,target:this,value:this.mergeDate(this.$props.value,this.$props.value||We)};this.$emit("reject",t)},handleAccept:function(e,t){if(this.dateValue&&this.timeValue&&this.hasDateValue){var i=this.mergeDate(this.dateValue,t||this.timeValue);this.$emit("change",{event:e,value:i,target:this})}},handleNowClick:function(e){this.timeValue=Nt(),this.handleAccept(e,Nt())},handleCalendarValueChange:function(e){e.event.stopPropagation(),this.dateValue=e.value,this.currentTab="time",this.shouldFocusPart=!0},handleTimeListContainerChange:function(e){this.timeValue=e},handleDateClick:function(e){e.stopPropagation(),this.move("left")},handleTimeClick:function(e){e.stopPropagation(),this.move("right")},handleKeyDown:function(e){var t=e.keyCode,i=e.altKey;switch(this.$emit("keydown",e),t){case o.Keys.enter:return void(!this.hasActiveButton()&&this.hasDateValue&&this.handleAccept(e));case o.Keys.left:if(!i)return;return void this.move("left");case o.Keys.right:if(!i)return;return void this.move("right");default:return}},handleTimePartMount:function(e){this.timeValue=e}}},On=r,En=On.h,$n=On.ref,xn=On.inject,Mn={name:"KendoDateTimePicker",emits:{changemodel:null,"update:modelValue":null,iconclick:null,change:null,focus:null,blur:null,keydown:null},props:{modelValue:{type:Date,default:void 0},defaultShow:{type:Boolean,default:!1},defaultValue:{type:Date,default:null},disabled:{type:Boolean,default:!1},dateInput:{type:[String,Object,Function],default:function(){}},popup:{type:[String,Object,Function],default:function(){}},calendar:{type:[String,Object,Function],default:function(){}},focusedDate:Date,format:{type:[String,Object],default:function(){return"g"}},formatPlaceholder:{type:[String,Object],default:function(){return"wide"}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},id:String,ariaLabelledBy:String,ariaDescribedBy:String,min:{type:Date,default:function(){return P}},max:{type:Date,default:function(){return B}},maxTime:{type:Date,default:function(){return s(H)}},minTime:{type:Date,default:function(){return s(Ge)}},name:String,label:String,placeholder:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},title:{type:String,default:function(){return""}},steps:{type:Object,default:function(){return{}}},value:Date,weekNumber:{type:Boolean,default:!1},width:String,validationMessage:String,required:{type:Boolean,default:!1},validityStyles:{type:Boolean,default:!0},validate:Boolean,valid:{type:Boolean,default:void 0},cancelButton:{type:Boolean,default:!0}},model:{event:"changemodel"},created:function(){this._anchor=Object(o.guid)(),this._popupId=Object(o.guid)(),this._wrapper=null,this._dateInput=null,this._dateTimeSelector=null,Object(o.validatePackage)(p),this.currentValue=this.$props.defaultValue,this.currentShow=this.$props.defaultShow},inject:{kendoLocalizationService:{default:null}},data:function(){return{currentValue:null,currentShow:!1,valueDuringOnChange:void 0,showDuringOnChange:void 0,shouldFocusDateInput:!1,isFocused:!1}},computed:{computedValue:function(){var e=void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue;return null!==e?s(e):null},computedShow:function(){return void 0!==this.showDuringOnChange?this.showDuringOnChange:void 0!==this.$props.show?this.$props.show:this.currentShow}},watch:{show:function(e,t){this._oldShow=t},currentShow:function(e,t){this._oldShow=t}},mounted:function(){this.computedShow&&this.$forceUpdate();var e=this.dateInputElement();this._dateTimeSelector=this.$refs.dateTimeSelector,this._wrapper=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],this._dateInput=this.v3?this.dateInputRef:this.$refs.dateInput,e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",""+this.computedShow))},updated:function(){var e=this.dateInputElement();this._dateTimeSelector=this.$refs.dateTimeSelector,this._wrapper=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],e&&e.setAttribute("aria-expanded",""+this.computedShow),this._dateTimeSelector&&this.computedShow&&!this._oldShow&&this._dateTimeSelector.focus({preventScroll:!0}),e&&!this.computedShow&&this.shouldFocusDateInput&&this._dateInput.focus({preventScroll:!0}),this.shouldFocusDateInput=!1},setup:En?function(){return{v3:!!En,kendoAnchorRef:$n(null),kendoLocalizationService:xn("kendoLocalizationService",{})}}:void 0,render:function(e){var t,i=this,n=En||e,r=Object(o.getDefaultSlots)(this),s=this.$props,a=s.disabled,l=s.tabIndex,u=s.title,d=s.id,c=s.format,p=s.formatPlaceholder,f=s.min,m=s.max,v=s.weekNumber,g=s.focusedDate,y=s.width,b=s.name,k=s.steps,S=s.placeholder,w=s.validationMessage,D=s.required,I=s.validityStyles,C=s.cancelButton,T=s.minTime,O=s.maxTime,E=s.ariaLabelledBy,$=s.ariaDescribedBy,x=s.size,M=s.fillMode,R=s.rounded,_=this.$props.popupSettings,F=_.popupClass,A=_.appendTo,z=_.animate,V=!this.$props.validityStyles||this.validity().valid,j=this.$props.dateInput?o.templateRendering.call(this,this.$props.dateInput,o.getListeners.call(this)):void 0,N=n(Zt,{ref:this.v3?function(e){i.dateInputRef=e}:"dateInput",placeholder:S,attrs:this.v3?void 0:{placeholder:S,disabled:a,format:c,formatPlaceholder:p,id:d,ariaLabelledBy:E,ariaDescribedBy:$,max:m,min:f,minTime:T,maxTime:O,name:b,size:null,rounded:null,fillMode:null,required:D,steps:k,tabIndex:this.computedShow?-1:l,title:u,valid:this.validity().valid,validationMessage:w,validityStyles:I,value:this.computedValue},disabled:a,format:c,formatPlaceholder:p,id:d,ariaLabelledBy:E,ariaDescribedBy:$,max:m,min:f,minTime:T,maxTime:O,name:b,size:null,rounded:null,fillMode:null,onChange:this.handleValueChange,on:this.v3?void 0:{change:this.handleValueChange},required:D,steps:k,tabIndex:this.computedShow?-1:l,title:u,valid:this.validity().valid,validationMessage:w,validityStyles:I,value:this.computedValue},this.v3?function(){return[r]}:[r]),P=o.getTemplate.call(this,{h:n,template:j,defaultRendering:N}),B=this.$props.calendar?o.templateRendering.call(this,this.$props.calendar,o.getListeners.call(this)):void 0,L=n(Tn,{ref:"dateTimeSelector",cancelButton:C,attrs:this.v3?void 0:{cancelButton:C,value:this.computedValue,disabled:a,weekNumber:v,min:this.$props.min,max:this.$props.max,minTime:T,maxTime:O,focusedDate:g,format:c,calendar:B,steps:k},value:this.computedValue,onChange:this.handleValueChange,on:this.v3?void 0:{change:this.handleValueChange,reject:this.handleReject,focus:this.timeSelectorFocus,blur:this.timeSelectorBlur,keydown:this.handleKeyDown},onReject:this.handleReject,disabled:a,weekNumber:v,min:this.$props.min,max:this.$props.max,minTime:T,maxTime:O,focusedDate:g,format:c,calendar:B,steps:k,onFocus:this.timeSelectorFocus,onBlur:this.timeSelectorBlur,onKeydown:this.handleKeyDown}),H=Object(o.classNames)("k-datetime-container k-group k-reset",F),U=this.$props.popup?o.templateRendering.call(this,this.$props.popup,o.getListeners.call(this)):void 0,W=n(Jt.a,{show:this.computedShow,attrs:this.v3?void 0:{show:this.computedShow,anchor:this._anchor,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:A,animate:z},anchor:this._anchor,class:H,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:A,animate:z},this.v3?function(){return[L]}:[L]),K=o.getTemplate.call(this,{h:n,template:U,defaultRendering:W,defaultSlots:L}),Y=n("div",{class:Object(o.classNames)("k-input","k-datetimepicker",(t={},t["k-input-"+(o.kendoThemeMaps.sizeMap[x]||x)]=x,t["k-input-"+M]=M,t["k-rounded-"+(o.kendoThemeMaps.roundedMap[R]||R)]=R,t["k-valid"]=V,t["k-invalid"]=!V,t["k-required"]=this.required,t["k-disabled"]=this.$props.disabled,t["k-focus"]=this.isFocused,t)),ref:this.v3?function(e){i.kendoAnchorRef=e}:this._anchor,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focusin:this.handleFocus,focusout:this.handleBlur},style:{width:y},onFocusin:this.handleFocus,onFocusout:this.handleBlur},[P,n(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",tabIndex:-1,icon:"calendar",title:Object(h.provideLocalizationService)(this).toLanguageString(at,dt[at]),"aria-controls":this._popupId,"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(at,dt[at])},tabIndex:-1,icon:"calendar",onMousedown:this.handleIconMouseDown,on:this.v3?void 0:{mousedown:this.handleIconMouseDown,click:this.handleDateIconClick},onClick:this.handleDateIconClick,title:Object(h.provideLocalizationService)(this).toLanguageString(at,dt[at]),class:"k-input-button","aria-controls":this._popupId,"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(at,dt[at])}),K]);return this.$props.label?n(Wt.FloatingLabel,{label:this.$props.label,attrs:this.v3?void 0:{label:this.$props.label,editorId:d,editorValid:V,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled},editorId:d,editorValid:V,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:y}},this.v3?function(){return[Y]}:[Y]):Y},methods:{validity:function(){var e=Y(this.computedValue,this.$props.min,this.$props.max)&&Lt(this.computedValue,this.$props.minTime||Ge,this.$props.maxTime||H),t=void 0!==this.$props.validationMessage,i=(!this.$props.required||null!==this.computedValue)&&e,n=void 0!==this.$props.valid?this.$props.valid:i;return{customError:t,rangeOverflow:this.computedValue&&this.$props.max.getTime()<this.computedValue.getTime()||!1,rangeUnderflow:this.computedValue&&this.computedValue.getTime()<this.$props.min.getTime()||!1,valid:n,valueMissing:null===this.computedValue}},getDateInputText:function(){return!!this.computedValue||(this._dateInput?this._dateInput._element.value:"")},focus:function(){var e=this.dateInputElement();e&&e.focus()},setShow:function(e){this.computedShow!==e&&(this.currentShow=e)},handleReject:function(){this.setShow(!1)},handleValueChange:function(e){this.currentValue=s(e.value||void 0),this.currentShow=!1,this.valueDuringOnChange=e.value,this.showDuringOnChange=!1,this.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:e.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue}}),this.valueDuringOnChange=void 0,this.showDuringOnChange=void 0},handleFocus:function(e){this.isFocused=!0,this.$emit("focus",e)},handleBlur:function(e){this.createBlurTimeout(),this.$emit("blur",e)},timeSelectorBlur:function(e){this.$emit("blur",e),clearTimeout(this._blurTimeout),this.createBlurTimeout()},timeSelectorFocus:function(){clearTimeout(this._blurTimeout)},createBlurTimeout:function(){var e=this;this._blurTimeout=setTimeout((function(){e.isFocused=!1,e._dateInput&&o.canUseDOM&&document.activeElement!==e._dateInput.element()&&document.activeElement&&-1===document.activeElement.className.indexOf("k-time-list")&&e.setShow(!1)}),200)},handleDateIconClick:function(e){this.$props.disabled||(this.shouldFocusDateInput=!0,this.setShow(!this.computedShow),this.$emit("iconclick",e))},handleIconMouseDown:function(e){e.preventDefault()},handleKeyDown:function(e){var t=e.altKey,i=e.keyCode;return i===o.Keys.tab&&this._dateInput&&e.target!==this._dateInput._element?(e.preventDefault(),this.$data.shouldFocusDateInput=!0,void this.setShow(!1)):i===o.Keys.esc?(this.shouldFocusDateInput=!0,void this.setShow(!1)):(!t||i!==o.Keys.up&&i!==o.Keys.down||(e.preventDefault(),e.stopPropagation(),this.shouldFocusDateInput=i===o.Keys.up,this.setShow(i===o.Keys.down)),void this.$emit("keydown",e))},dateInputElement:function(){return this._dateInput&&this._dateInput.$el||this._wrapper&&this._wrapper.querySelector(".k-dateinput-wrap > input.k-input")}}},Rn=Mn,_n=r.h,Fn={props:{id:String},setup:_n?function(){return{v3:!!_n}}:void 0,render:function(e){var t=_n||e,i=Object(o.getDefaultSlots)(this);return t("span",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id},class:"k-picker-wrap"},[i])}},An=Fn},function(e,t,i){"use strict";i.r(t),i.d(t,"isCompositeFilterDescriptor",(function(){return v})),i.d(t,"toODataString",(function(){return K})),i.d(t,"toDataSourceRequestString",(function(){return Re})),i.d(t,"toDataSourceRequest",(function(){return _e})),i.d(t,"translateDataSourceResultGroups",(function(){return Ue})),i.d(t,"translateAggregateResults",(function(){return We})),i.d(t,"orderBy",(function(){return yt})),i.d(t,"process",(function(){return St})),i.d(t,"distinct",(function(){return kt})),i.d(t,"getter",(function(){return Z})),i.d(t,"filterBy",(function(){return pt})),i.d(t,"compileFilter",(function(){return ht})),i.d(t,"groupBy",(function(){return vt})),i.d(t,"composeSortDescriptors",(function(){return Ze})),i.d(t,"normalizeFilters",(function(){return M})),i.d(t,"normalizeGroups",(function(){return ft})),i.d(t,"aggregateBy",(function(){return st}));var n,r,o,s,a,l=function(e){return null!=e},u=function(e){return null==e},d=function(e){return Array.isArray(e)},c=function(e){return"function"==typeof e},h=function(e){return"string"==typeof e},p=function(e){return!function(e){return u(e)||0===e.trim().length}(e)},f=function(e){return!isNaN(e-parseFloat(e))},m=function(e){return e&&e.getTime},v=function(e){return l(e.filters)},g=i(6),y=function(e,t,i){return function(n){return e(n)?t(n):i(n)}},b=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.reduceRight((function(e,t){return t(e)}),t)}},k=function(e){return e},S=function(e){return function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return e()?""+t[0]+i[0]+t[1]:i[0]}},w=function(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))},D=function(e){var t=e.field,i=e.value,n=e.ignoreCase,r=e.operator;return{value:"'"+i.replace(/'/g,"''")+"'",field:t,ignoreCase:n,operator:r}},I=function(e){var t=e.field,i=e.value,n=e.ignoreCase,r=e.operator;return{value:""+encodeURIComponent(i),field:t,ignoreCase:n,operator:r}},C=function(e){var t=e.field,i=e.value,r=e.ignoreCase,o=e.operator;return{field:S((function(){return r}))(n||(n=g.c(["tolower(",")"],["tolower(",")"])),t),value:i,ignoreCase:r,operator:o}},T=function(e){var t=e.field,i=e.value,n=e.ignoreCase,r=e.operator;return{value:i,field:t.replace(/\./g,"/"),ignoreCase:n,operator:r}},O=function(e){return h(e.value)},E=function(e){return m(e.value)},$=function(e,t){return function(i){return S((function(){return i.filters.length>1}))(r||(r=g.c(["(",")"],["(",")"])),i.filters.map(e).join(t(i)))}},x=function(e){e.filters&&(e.filters=e.filters.map((function(e){var t,i=Object.assign({},e);return!v(e)&&h(e.operator)&&(i.operator={"!=":"neq","<":"lt","<=":"lte","==":"eq",">":"gt",">=":"gte",equal:"eq",equals:"eq",equalto:"eq",ge:"gte",greater:"gt",greaterthan:"gt",greaterthanequal:"gte",isempty:"isempty",isequalto:"eq",isgreaterthan:"gt",isgreaterthanorequalto:"gte",islessthan:"lt",islessthanorequalto:"lte",isnotempty:"isnotempty",isnotequalto:"neq",isnull:"isnull",le:"lte",less:"lt",lessthan:"lt",lessthanequal:"lte",ne:"neq",notequal:"neq",notequals:"neq",notequalto:"neq",notsubstringof:"doesnotcontain"}[(t=e.operator).toLowerCase()]||t),v(e)&&x(i),i})))},M=function(e){return l(e)&&(e=function(e){return v(e)?Object.assign({},e):{filters:d(e)?e:[e],logic:"and"}}(e),x(e)),e},R=function(e){var t=e.operator;return function(e){var i=e.field,n=e.value;return i+" "+t+" "+n}},_=function(e){return b(e,I,D,C,T)},F=function(e){return _((t=e.operator,function(e){var i=e.field,n=e.value;return t+"("+i+","+n+")"}));var t},A=function(e){return b(R(e),T,(t=e.utcDates,function(e){var i=e.field,n=e.value,r=e.ignoreCase,o=e.operator;return{value:JSON.stringify(t?n:w(n)).replace(/"/g,""),field:i,ignoreCase:r,operator:o}}));var t},z=function(e){return y(E,A(e),function(e){return b(R(e),T)}(e))},V=function(e){return y(O,function(e){return _(R(e))}(e),z(e))},j=function(e){return e+" eq -1"},N=function(e){return b(e,T)},P=function(e){return" "+e.logic+" "},B=function(e){return function(t){return function(e,t){return{contains:F(g.a({},t,{operator:"contains"})),doesnotcontain:b(j,F(g.a({},t,{operator:"indexof"}))),endswith:F(g.a({},t,{operator:"endswith"})),eq:V(g.a({},t,{operator:"eq"})),gt:V(g.a({},t,{operator:"gt"})),gte:V(g.a({},t,{operator:"ge"})),isempty:N((function(e){return e.field+" eq ''"})),isnotempty:N((function(e){return e.field+" ne ''"})),isnotnull:N((function(e){return e.field+" ne null"})),isnull:N((function(e){return e.field+" eq null"})),lt:V(g.a({},t,{operator:"lt"})),lte:V(g.a({},t,{operator:"le"})),neq:V(g.a({},t,{operator:"ne"})),startswith:F(g.a({},t,{operator:"startswith"}))}[e]}(t.operator,e)(t)}},L=function(e){return $((function(t){return y(v,L(e),B(e))(t)}),P)},H=function(e,t){return void 0===t&&(t={}),e.filters&&e.filters.length?"$filter="+L(t)(M(e)):""},U=(o="",function(){return o}),W=function(e,t){return y(l,(i=e[0],function(e){return i+e}),U)(t);var i},K=function(e,t){return void 0===t&&(t={}),Object.keys(e).map(function(e,t){return function(i){return{filter:H(t.filter||{},e),skip:W(s||(s=g.c(["$skip=",""],["$skip=",""])),t.skip),sort:(n=t.sort||[],r=n.filter((function(e){return l(e.dir)})).map((function(e){var t=e.field.replace(/\./g,"/");return"desc"===e.dir?t+" desc":t})).join(","),r?"$orderby="+r:r),take:W(a||(a=g.c(["$top=",""],["$top=",""])),t.take)}[i];var n,r}}(t,e)).filter(p).join("&")},Y={},G=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;Y[void 0]=function(e){return e};var q,Z=function(e,t){var i=e+t;if(Y[i])return Y[i];var n=[];return e.replace(G,(function(e,t,i,r){n.push(l(t)?t:i||r)})),Y[i]=function(e){for(var i=e,r=0;r<n.length;r++)if(i=i[n[r]],!l(i)&&t)return i;return i},Y[i]},X=function(e){return function(t){return[e,t]}},J=function(){return null},Q=function(e){return function(t){return l(e(t))}},ee=function(e){return function(t){return function(e){return l(e)&&d(e)&&e.length>0}(e(t))}},te=function(e,t){return y(e,t,J)},ie=function(e,t){return function(i){return e(i).map(t).join("~")}},ne=b.apply(void 0,[['"',""],[":","-"]].map((function(e){var t=e[0],i=e[1];return function(e){return e.replace(new RegExp(t,"g"),i)}}))),re=(q=".",function(e){return e.slice(0,e.indexOf(q))}),oe=function(e){var t=e.field,i=e.dir;return t+"-"+(void 0===i?"asc":i)},se=Z("take"),ae=Z("aggregates"),le=Z("skip"),ue=Z("group"),de=Z("sort",!0),ce=ie(de,oe),he=ie(ue,oe),pe=ie(ae,(function(e){return e.field+"-"+e.aggregate})),fe=b((function(e){return"datetime'"+e+"'"}),re,ne,JSON.stringify,w),me=b(X("page"),(function(e){var t=e.skip,i=e.take;return Math.floor((t||0)/i)+1})),ve=b(X("pageSize"),se),ge=b(X("group"),he),ye=b(X("sort"),ce),be=b(X("aggregate"),pe),ke=te(Q(le),me),Se=te(Q(se),ve),we=te(ee(ue),ge),De=te(Q(ae),be),Ie=b(te(ee(de),ye),(function(e){return Object.assign({},e,{sort:(de(e)||[]).filter((function(e){var t=e.dir;return p(t)}))})})),Ce=function(e){var t=e.field;return p(t)},Te=function(e){return e.field+"~"+e.operator+"~"+e.value},Oe=y(E,b(Te,(function(e){var t=e.field,i=e.value,n=e.ignoreCase,r=e.operator;return{value:fe(i),field:t,ignoreCase:n,operator:r}})),Te),Ee=function(e){return"~"+e.logic+"~"},$e=function(e){return $((function(t){return y(v,$e(e),function(e){return te(Ce,y(O,b(Te,D,e?I:k),Oe))}(e))(t)}),Ee)},xe=function(e,t){var i=e.filter;if(i&&i.filters){var n=$e(t)(i);if(n.length)return["filter",n]}return null},Me=function(e,t){return void 0===t&&(t=!0),function(i){return{aggregates:De(e),filter:xe(e,t),group:we(e),skip:ke(e),sort:Ie(e),take:Se(e)}[i]}},Re=function(e){return(t=Object.keys(e).map(Me(e)).filter(l),t.reduce((function(e,t){var i=t[0],n=t[1];return e.concat([i+"="+n])}),[])).join("&");var t},_e=function(e){return Object.keys(e).map(Me(e,!1)).filter(l).reduce((function(e,t){var i,n=t[0],r=t[1];return g.a({},e,((i={})[n]=r,i))}),{})},Fe=function(e,t,i){return t[e]=i,t},Ae=function(e){return function(t){var i,n=t[e];return l(n)?n:t[(i=e,i.replace(/(^[A-Z])/g,(function(e,t){return t.toLowerCase()})))]}},ze=Ae("Member"),Ve=Ae("AggregateMethodName"),je=Ae("Value"),Ne=function(e){return function(t){return Object.keys(t).reduce(e.bind(null,t),{})}},Pe=Ne((function(e,t,i){return Fe(i.toLowerCase(),t,e[i])})),Be=Ne((function(e,t,i){return Fe(i,t,Pe(e[i]))})),Le=function(e,t){return l(e)?e:t},He=b((function(e){var t=e.field,i=e.hasSubgroups,n=e.value,r=e.aggregates,o=e.items;return{aggregates:Be(r),field:t,items:i?o.map(He):o,value:n}}),(function(e){return{aggregates:e.Aggregates||e.aggregates,field:e.Member||e.member||e.field,hasSubgroups:e.HasSubgroups||e.hasSubgroups||!1,items:e.Items||e.items,value:Le(e.Key,Le(e.key,e.value))}})),Ue=function(e){return e.map(He)},We=function(e){return(e||[]).reduce((function(e,t){return Fe(ze(t),e,Fe(Ve(t).toLowerCase(),e[ze(t)]||{},je(t)))}),{})},Ke=function(e,t){return u(e)?e===t?0:-1:u(t)?1:e.localeCompare?e.localeCompare(t):e>t?1:e<t?-1:0},Ye=function(e,t){return Ke(t,e)},Ge=function(e){var t=Z(e.field,!0);return function(i,n){return("asc"===e.dir?Ke:Ye)(t(i),t(n))}},qe=function(e,t){return 0},Ze=function(e){return e.filter((function(e){return l(e.dir)})).map((function(e){return Ge(e)})).reduce((function(e,t){return function(i,n){return e(i,n)||t(i,n)}}),qe)},Xe=function(e){var t=Z(e,!0),i=0;return function(n,r){n[e]=n[e]||{};var o=t(r),s=function(e){return(e=l(e)&&e.getTime?e.getTime():e)+""}(o),a=n[e][s]||{__position:i++,aggregates:{},items:[],value:o};return a.items.push(r),n[e][s]=a,n}},Je=function(e){var t=e.map((function(e){var t=Z(e.field,!0),i=(e.aggregate||"").toLowerCase(),n=Z(i,!0);return function(r,o){var s=r[e.field]||{},a=n(s)||{average:function(){var e=0,t=0;return{calc:function(i){f(i)?(e+=i,t++):e=i},result:function(){return f(e)?e/t:e}}},count:function(){var e=0;return{calc:function(){return e++},result:function(){return e}}},max:function(){var e=Number.NEGATIVE_INFINITY;return{calc:function(t){(e=f(e)||m(e)?e:t)<t&&(f(t)||m(t))&&(e=t)},result:function(){return e}}},min:function(){var e=Number.POSITIVE_INFINITY;return{calc:function(t){(e=f(e)||m(e)?e:t)>t&&(f(t)||m(t))&&(e=t)},result:function(){return e}}},sum:function(){var e=0;return{calc:function(t){t=l(t)?t:0,e+=t},result:function(){return e}}}}[i]();return a.calc(t(o)),s[e.aggregate]=a,r[e.field]=s,r}}));return function(e,i){return t.reduce((function(e,t){return t(e,i)}),e)}},Qe=function(e,t){return e.push(t),e},et=function(e){return function(t){return function(i,n,r){return t(i,e(n,r))}}},tt=function(e){return function(t){return function(i,n){return e(n)?t(i,n):i}}},it=function(e){return l(e.__value)},nt=function(e){return it(e)?e:{__value:e,reduced:!0}},rt=function(e,t,i){for(var n=t,r=0,o=i.length;r<o;r++)if(n=e(n,i[r],r),it(n)){n=n.__value;break}return n},ot=et((function(e){return e})),st=function(e,t,i){void 0===t&&(t=[]),void 0===i&&(i=ot);var n={};return t.length?function(e){return void 0===e&&(e={}),Object.keys(e).forEach((function(t){var i=e[t];Object.keys(i).forEach((function(e){i[e]=i[e].result()}))})),e}(rt(i(Je(t)),n,e)):n},at={or:{concat:function(e,t){return function(i){return e(i)||t(i)}},identity:function(){return!1}},and:{concat:function(e,t){return function(i){return e(i)&&t(i)}},identity:function(){return!0}}},lt={contains:function(e,t){return(e||"").indexOf(t)>=0},doesnotcontain:function(e,t){return-1===(e||"").indexOf(t)},doesnotendwith:function(e,t){return(e||"").indexOf(t,(e||"").length-(t||"").length)<0},doesnotstartwith:function(e,t){return-1===(e||"").lastIndexOf(t,0)},endswith:function(e,t){return(e||"").indexOf(t,(e||"").length-(t||"").length)>=0},eq:function(e,t){return e===t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},isempty:function(e){return""===e},isnotempty:function(e){return""!==e},isnotnull:function(e){return l(e)},isnull:function(e){return u(e)},lt:function(e,t){return e<t},lte:function(e,t){return e<=t},neq:function(e,t){return e!=t},startswith:function(e,t){return 0===(e||"").lastIndexOf(t,0)}},ut=/^\/Date\((.*?)\)\/$/,dt=function(e){var t=e.field,i=e.ignoreCase,n=e.value,r=e.operator;t=l(t)?t:function(e){return e},i=!l(i)||i;var o=function(e,t,i){if(!l(t))return e;var n=e;if(h(t)){var r=ut.exec(t);r?t=new Date(+r[1]):n=function(t){var n=e(t);return"string"==typeof n&&i?n.toLowerCase():f(n)?n+"":n}}return m(t)?function(e){var t=n(e);return m(t)?t.getTime():t}:n}(c(t)?t:Z(t,!0),n,i);n=function(e,t){if(null!=e&&h(e)){var i=ut.exec(e);if(i)return new Date(+i[1]).getTime();if(t)return e.toLowerCase()}else if(null!=e&&m(e))return e.getTime();return e}(n,i);var s=c(r)?r:lt[r];return function(e){return s(o(e),n,i)}},ct=function(e){var t=at[e.logic];return e.filters.filter(l).map((function(e){return v(e)?ct(e):dt(e)})).reduce(t.concat,t.identity)},ht=function(e){return e&&0!==e.filters.length?ct(e):function(){return!0}},pt=function(e,t){return!l(t)||v(t)&&0===t.filters.length?e:e.filter(ht(M(t)))},ft=function(e){return(e=d(e)?e:[e]).map((function(e){return Object.assign({dir:"asc"},e)}))},mt=et((function(e){return e})),vt=function(e,t,i,n){if(void 0===t&&(t=[]),void 0===i&&(i=mt),void 0===n&&(n=e),!(t=ft(t)).length)return e;var r=t[0],o=rt(i(Xe(r.field)),{},e),s=[];return Object.keys(o).forEach((function(e){Object.keys(o[e]).forEach((function(i){var a=o[e][i],u={},d=n;l(r.aggregates)&&(d=pt(n,{field:r.field,ignoreCase:!1,operator:"eq",value:a.value}),u=st(d,r.aggregates)),s[a.__position]={aggregates:u,field:e,items:t.length>1?vt(a.items,t.slice(1),mt,d):a.items,value:a.value}}))})),s},gt=function(e,t,i,n){if(!(i-t<2)){var r=t+i>>>1;gt(e,t,r,n),gt(e,r,i,n),function(e,t,i,n,r){for(var o=i-t,s=n-i,a=[],l=0;l<o;l++)a.push(e[t+l]);var u=0,d=i,c=t;do{r(e[d],a[u])<0?(e[c++]=e[d++],s--):(e[c++]=a[u++],o--)}while(s>0&&o>0);for(;o;)e[c++]=a[u++],o--;for(;s;)e[c++]=e[d++],s--}(e,t,r,i,n)}},yt=function(e,t){if(t.some((function(e){return l(e.dir)}))){e=e.slice(0);var i=Ze(t);gt(e,0,e.length,i)}return e},bt=function(e,t){return e===t},kt=function(e,t){return void 0===t&&(t=bt),function(e,t){return e.filter((function(e,i,n){return n.findIndex(t.bind(null,e))===i}))}(e,function(e){if(h(e)){var t=Z(e);e=function(e,i){return t(e)===t(i)}}return e}(t))},St=function(e,t){var i=t.skip,n=t.take,r=t.filter,o=t.sort,s=t.group,a=ft(s||[]).concat(o||[]);a.length&&(e=yt(e,a));var u,d=l(r)&&tt.length,c=l(s)&&s.length;if(!d&&!c)return{data:n?e.slice(i,i+n):e,total:e.length};var h,p,f=[];if(d?(u=function(e,t){for(var i=0,n=0,r=e.length;n<r;n++)t(e[n])&&i++;return i}(e,h=ht(M(r))),f.push(tt(h))):u=e.length,l(i)&&l(n)&&(f.push((p=i,function(e){return function(t,i){return p--<=0?e(t,i):t}})),f.push(function(e){return function(t){return function(i,n){return e-- >0?t(i,n):nt(i)}}}(n))),f.length){var m=b.apply(void 0,f);return{data:c?vt(e,s,m,function(e,t){return t?e.filter(t):e}(e,h)):rt(m(Qe),[],e),total:u}}return{data:c?vt(e,s):e,total:u}}},function(e,t,i){"use strict";i.r(t),i.d(t,"FieldArray",(function(){return b})),i.d(t,"FieldArrayVue2",(function(){return y})),i.d(t,"Field",(function(){return u})),i.d(t,"FieldVue2",(function(){return l})),i.d(t,"Form",(function(){return m})),i.d(t,"FormVue2",(function(){return f})),i.d(t,"FieldWrapper",(function(){return w})),i.d(t,"FieldWrapperVue2",(function(){return S})),i.d(t,"FormElement",(function(){return C})),i.d(t,"FormElementVue2",(function(){return I}));var n=i(1),r=i(0),o=function(){return(o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},a=n.h,l={name:"KendoField",props:{component:[String,Number,Boolean,Object],validator:[Function,Array],name:String},created:function(){if(this.kendoForm)return this.kendoForm.registerField(this.$props.name,this.$props.validator)},inject:{kendoForm:{default:null}},methods:{handleOnChange:function(e){var t=e?void 0!==e.value?e.value:e.target?e.target.value:e.target:e;this.kendoForm.onChange(this.$props.name,{value:t}),this.$emit("change",e)},onNativeComponentChange:function(e){this.kendoForm.onChange(this.$props.name,{value:e.target.value})},handleOnBlur:function(){this.kendoForm.onBlur(this.$props.name)},handleOnFocus:function(){this.kendoForm.onFocus(this.$props.name)}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props,n=i.name,l=i.component,u=(i.validator,i.id);s(i,["name","component","validator","id"]);if(!this.kendoForm)return null;var d=this.kendoForm.values[n];if("string"==typeof l&&"input"===l)return t(l,o(o({attrs:this.$attrs},this.$attrs),{onChange:this.onNativeComponentChange,onBlur:this.handleOnBlur,onFocus:this.handleOnFocus,on:this.v3?void 0:{change:this.handleOnChange,blur:this.handleOnBlur,focus:this.handleOnFocus},domProps:this.v3?void 0:{value:d||""},value:d||""}));if(l){var c=l?r.templateRendering.call(this,l,r.getListeners.call(this)):null;return r.getTemplate.call(this,{h:t,template:c,additionalProps:o({value:d,validationMessage:this.kendoForm.errors[n],touched:this.kendoForm.touchedByField[n],modified:this.kendoForm.modifiedByField[n],visited:this.kendoForm.visitedByField[n],valid:!(Boolean(this.kendoForm.errors[n])&&this.kendoForm.touchedByField[n]),name:n,id:u},this.$attrs),additionalListeners:{change:this.handleOnChange,blur:this.handleOnBlur,focus:this.handleOnFocus}})}}},u=l,d={name:"@progress/kendo-vue-form",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646140628,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},c=function(){return(c=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},h=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n},p=n.h,f={name:"KendoForm",props:{renderForm:[Object,Function],initialValues:Object,validator:Function,ignoreModified:Boolean},created:function(){this._accumulatorTimeout=void 0,Object(r.validatePackage)(d),this.form.values=Object(r.clone)(this.$props.initialValues)},mounted:function(){this.form.errors=this.getErrors(),this.form.allowSubmit=this.allowSubmit(),this.form.valid=this.isValid()},destroyed:p?void 0:function(){this.onDestroy()},unmounted:function(){this.onDestroy()},data:function(){return{validatorsByField:{},fields:[],unmounted:!1,form:{id:this.id,errors:{},values:{},modifiedByField:{},touchedByField:{},visitedByField:{},valid:!1,modified:!1,touched:!1,visited:!1,submitted:!1,valueGetter:this.valueGetter,allowSubmit:!1,onChange:this.onChange,onSubmit:this.onSubmit,onFormReset:this.resetForm,registerField:this.onFieldRegister,onFocus:this.onFocus,onBlur:this.onBlur,onUnshift:this.onUnshift,onPush:this.onPush,onInsert:this.onInsert,onPop:this.onPop,onRemove:this.onRemove,onReplace:this.onReplace,onMove:this.onMove}}},provide:function(){return{kendoForm:this.$data.form}},watch:{"form.values":function(){this.form.errors=this.getErrors(),this.form.allowSubmit=this.allowSubmit(),this.form.valid=this.isValid()},"form.touchedByField":function(e){this.form.touched=this.isFormTouched(e,this.fields),this.form.allowSubmit=this.allowSubmit()},"form.modifiedByField":function(e){this.form.modified=this.isFormModified(e,this.fields),this.form.allowSubmit=this.allowSubmit()},"form.visitedByField":function(e){this.form.visited=this.isFormVisited(e,this.fields)}},methods:{isValid:function(){return this.isFormValid(this.form.errors)},formErrors:function(){if(this.$props.validator)return this.$props.validator(this.form.values,this.valueGetter)},getErrors:function(){var e=this,t={},i=this.validatorsByField;return Object.keys(this.fields).forEach((function(n){if(t[n]="",i[n]){var r=[];i[n].forEach((function(e){Array.isArray(e)?r.push.apply(r,e):r.push(e)})),r.find((function(i){if(i){var r=i(e.valueGetter(n),e.valueGetter,{name:n});if(r)return t[n]=r,!0}return!1}))}})),this.formErrors()&&Object(r.cloneObject)(this.formErrors(),t),t},accumulatedForceUpdate:function(){var e=this;this._accumulatorTimeout&&clearTimeout(this._accumulatorTimeout),this._accumulatorTimeout=window.setTimeout((function(){e._accumulatorTimeout=void 0}),0)},resetForm:function(){this.form.values=Object(r.clone)(this.$props.initialValues),this.id=Object(r.guid)(),this.form.touchedByField={},this.form.visitedByField={},this.form.modifiedByField={},this.form.submitted=!1},onReset:function(){this.resetForm()},addField:function(e){this.fields[e]=!0},onSubmit:function(e){var t={},i=this.fields;e&&("function"==typeof e.preventDefault&&e.preventDefault(),"function"==typeof e.stopPropagation&&e.stopPropagation()),Object.keys(i).forEach((function(e){t[e]=!0})),this.form.visitedByField=c({},t),this.form.touchedByField=c({},t);var n=this.form.values,r=this.isValid(),o=this.isFormModified(this.form.modifiedByField,i);this.$emit("submitclick",{values:n,isValid:r,isModified:o,event:e}),r&&(this.$props.ignoreModified||o)&&(this.form.submitted=!0,this.$emit("submit",n,e))},onChange:function(e,t){var i,n=t.value;this.addField(e),this.form.modifiedByField[e]||(this.form.modifiedByField=c(c({},this.form.modifiedByField),((i={})[e]=!0,i))),this.valueSetter(e,n)},onFocus:function(e){var t;this.form.visitedByField[e]||(this.form.visitedByField=c(c({},this.form.visitedByField),((t={})[e]=!0,t)))},onBlur:function(e){var t;this.form.touchedByField[e]||(this.onFocus(e),this.form.touchedByField=c(c({},this.form.touchedByField),((t={})[e]=!0,t)))},onFieldRegister:function(e,t){var i,n=this;this.addField(e);var r=this.validatorsByField[e]||[],o=r.length;return this.validatorsByField=c(c({},this.validatorsByField),((i={})[e]=h(r,[t]),i)),this.accumulatedForceUpdate(),function(){var t;if(!n._unmounted){var i=h(n.validatorsByField[e]||[]),r=Boolean(i[o]);i[o]=void 0,n.validatorsByField=c(c({},n.validatorsByField),((t={})[e]=i,t)),r&&n.accumulatedForceUpdate()}}},isFormValid:function(e){return!Object.keys(e).some((function(t){return Boolean(e[t])}))},isFormModified:function(e,t){return Object.keys(t).some((function(t){return e[t]}))},isFormHasNotTouched:function(e,t){return Object.keys(t).some((function(t){return!e[t]}))},isFormTouched:function(e,t){return Object.keys(t).some((function(t){return e[t]}))},isFormVisited:function(e,t){return Object.keys(t).some((function(t){return e[t]}))},formHasNotTouched:function(){return this.isFormHasNotTouched(this.form.touchedByField,this.fields)},allowSubmit:function(){return this.formHasNotTouched()&&!this.isValid()||this.isValid()&&(this.$props.ignoreModified||this.isFormModified(this.form.modifiedByField,this.fields))},valueGetter:function(e){return this.form.values[e]},valueSetter:function(e,t){var i;this.form.values=c(c({},this.form.values),((i={})[e]=t,i))},onArrayAction:function(e){var t;this.addField(e),this.form.modifiedByField[e]||(this.form.modifiedByField=c(c({},this.form.modifiedByField),((t={})[e]=!0,t))),this.onBlur(e,!0)},onInsert:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[]);i.splice(t.index,0,t.value),this.valueSetter(e,i)},onUnshift:function(e,t){this.onInsert(e,{value:t.value,index:0})},onPush:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[],[t.value]);this.valueSetter(e,i)},onPop:function(e){this.onArrayAction(e);var t=h(this.valueGetter(e)||[]),i=t.pop();return this.valueSetter(e,t),i},onRemove:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[]),n=i.splice(t.index,1);return this.valueSetter(e,i),n},onReplace:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[]);i.splice(t.index,1,t.value),this.valueSetter(e,i)},onMove:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[]),n=i[t.prevIndex];i.splice(t.prevIndex,1),i.splice(t.nextIndex,0,n),this.valueSetter(e,i)},onDestroy:function(){this.unmounted=!0,this._accumulatorTimeout&&clearTimeout(this._accumulatorTimeout)}},setup:p?function(){return{v3:!!p}}:void 0,render:function(e){return(p||e)("div",[Object(r.getDefaultSlots)(this)])}},m=f,v=function(){return(v=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},g=n.h,y={name:"KendoFieldArray",props:{value:[String,Number,Boolean,Object,Array],component:[String,Number,Boolean,Object],validationMessage:String,touched:Boolean,modified:Boolean,validator:[Function,Array],visited:Boolean,valid:Boolean,name:String,id:String},created:function(){if(this.kendoForm)return this.kendoForm.registerField(this.$props.name,this.$props.validator)},methods:{onUnshift:function(e){this.kendoForm.onUnshift(this.$props.name,e)},onPush:function(e){this.kendoForm.onPush(this.$props.name,e)},onInsert:function(e){this.kendoForm.onInsert(this.$props.name,e)},onPop:function(){this.kendoForm.onPop(this.$props.name)},onRemove:function(e){this.kendoForm.onRemove(this.$props.name,e)},onReplace:function(e){this.kendoForm.onReplace(this.$props.name,e)},onMove:function(e){this.kendoForm.onMove(this.$props.name,e)}},setup:g?function(){return{v3:!!g}}:void 0,inject:{kendoForm:{default:null}},render:function(e){var t=g||e,i=this.$props,n=i.name,o=i.component,s=i.id;if(!this.kendoForm)return null;var a=this.kendoForm.values[n];if(o){var l=o?r.templateRendering.call(this,o,r.getListeners.call(this)):null;return r.getTemplate.call(this,{h:t,template:l,additionalProps:v({value:a,validationMessage:this.kendoForm.errors[n],touched:this.kendoForm.touchedByField[n],modified:this.kendoForm.modifiedByField[n],visited:this.kendoForm.visitedByField[n],valid:!(Boolean(this.kendoForm.errors[n])&&this.kendoForm.touchedByField[n]),name:n,id:s},this.$attrs),additionalListeners:{unshift:this.onUnshift,push:this.onPush,insert:this.onInsert,pop:this.onPop,remove:this.onRemove,replace:this.onReplace,move:this.onMove}})}}},b=y,k=n.h,S={name:"KendoFieldWrapper",props:{dir:String},created:function(){Object(r.validatePackage)(d)},computed:{fieldClassName:function(){return{"k-form-field":!0,"k-rtl":"rtl"===this.$props.dir}}},setup:k?function(){return{v3:!!k}}:void 0,render:function(e){var t=k||e,i=Object(r.getDefaultSlots)(this);return t("div",{class:this.fieldClassName},[i])}},w=S,D=n.h,I={name:"KendoFormElement",props:{horizontal:Boolean},created:function(){Object(r.validatePackage)(d)},inject:{kendoForm:{default:null}},computed:{formElementClassName:function(){return{"k-form":!0,"k-form-horizontal":!0===this.$props.horizontal}}},methods:{handleSubmit:function(e){this.kendoForm&&this.kendoForm.onSubmit(e)}},setup:D?function(){return{v3:!!D}}:void 0,render:function(e){var t=D||e,i=Object(r.getDefaultSlots)(this);return t("form",{class:this.formElementClassName,onSubmit:this.handleSubmit,on:this.v3?void 0:{submit:this.handleSubmit}},[i])}},C=I},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerNavigationVue2=t.SchedulerNavigation=void 0;var s=o(i(1)).h,a=i(3),l=i(0),u={name:"KendoSchedulerNavigation",props:{},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=l.getDefaultSlots(this);return t(a.ToolbarItem,this.v3?function(){return[i]}:[i])}};t.SchedulerNavigationVue2=u;var d=u;t.SchedulerNavigation=d},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerViewSelectorVue2=t.SchedulerViewSelector=void 0;var s=o(i(1)).h,a=i(3),l=i(0),u={name:"KendoSchedulerViewSelector",props:{},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=l.getDefaultSlots(this);return t(a.ToolbarItem,{class:"k-scheduler-views"},this.v3?function(){return[i]}:[i])}};t.SchedulerViewSelectorVue2=u;var d=u;t.SchedulerViewSelector=d},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationDatePickerVue2=t.NavigationDatePicker=void 0;var a=s(i(1)).h,l=i(87),u=i(93),d=i(5),c=i(7),h=function(){return null},p={name:"KendoNavigationDatePicker",props:n(n({},l.DatePicker.props),{value:[Date,Object]}),inject:{ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=d.ZonedDate.fromLocalDate(this.$props.value,this.ks.timezone),n=d.getDate(i);return t(l.DatePicker,{style:{width:"auto"},dateInput:h,attrs:this.v3?void 0:{dateInput:h,toggleButton:u.DatePickerToggleButton,value:n},toggleButton:u.DatePickerToggleButton,value:n,onChange:this.handleChange,on:this.v3?void 0:{change:this.handleChange}})},methods:{handleChange:function(e){var t=d.ZonedDate.fromUTCDate(c.toUTCDateTime(e.value),this.ks.timezone);this.$emit("change",n(n({},e),{value:t}))}}};t.NavigationDatePickerVue2=p;var f=p;t.NavigationDatePicker=f},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DatePickerToggleButtonVue2=t.DatePickerToggleButton=void 0;var a=s(i(1)).h,l=i(2),u=i(14),d=i(3),c={name:"KendoDatePickerToggleButton",props:n({},d.Button.props),inheritAttrs:!1,inject:{kendoIntlService:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=l.provideIntlService(this),n=this.ks.dateRange.end.getTime()-this.ks.dateRange.start.getTime()>27*u.MS_PER_DAY,r=i.format(this.ks.dateFormat,n?this.ks.currentDate:this.ks.dateRange.zonedStart,n?this.ks.currentDate:this.ks.dateRange.zonedEnd.addDays(-1)),o=i.format(this.ks.shortDateFormat,n?this.ks.currentDate:this.ks.dateRange.zonedStart,n?this.ks.currentDate:this.ks.dateRange.zonedEnd.addDays(-1));return t(d.Button,{onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick},icon:"calendar",attrs:this.v3?void 0:{icon:"calendar",tabIndex:-1,fillMode:"flat"},class:"k-nav-current",tabIndex:-1,fillMode:"flat"},this.v3?function(){return[t("span",{class:"k-button-text"},[t("span",{class:"k-sm-date-format"},[o]),t("span",{class:"k-lg-date-format"},[r])])]}:[t("span",{class:"k-button-text"},[t("span",{class:"k-sm-date-format"},[o]),t("span",{class:"k-lg-date-format"},[r])])])},methods:{handleClick:function(e){this.$emit("click",e)}}};t.DatePickerToggleButtonVue2=c;var h=c;t.DatePickerToggleButton=h},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ViewSelectorListVue2=t.ViewSelectorList=void 0;var a=s(i(1)).h,l=i(3),u=i(95),d={name:"KendoViewSelectorList",inject:{ks:{default:null},setActiveViewName:{default:null}},mounted:function(){this.calculateMedia(),this.observer=new window.ResizeObserver(this.calculateMedia),this.observer.observe(this.$el)},destroyed:a?void 0:function(){this.observer&&this.observer.disconnect()},unmounted:function(){this.observer&&this.observer.disconnect()},data:function(){return{media:"desktop"}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=this,r=a||e,o=this.ks.views,s=o.find((function(e){return e.name===i.ks.activeViewName}));return r("div",{class:"k-scheduler-views-wrapper"},[s&&"mobile"===this.media&&r(l.DropDownButton,{class:"k-views-dropdown",onItemclick:this.handleItemClick,on:this.v3?void 0:{itemclick:this.handleItemClick},popupSettings:{popupClass:"k-scheduler-toolbar"},attrs:this.v3?void 0:{popupSettings:{popupClass:"k-scheduler-toolbar"},textField:"title",items:o.map((function(e){return n(n({},e.props),{selected:e.name===this.ks.activeViewName,name:e.name,title:e.title||e.name})}),this),text:s.title||s.name},textField:"title",items:o.map((function(e){return n(n({},e.props),{selected:e.name===this.ks.activeViewName,name:e.name,title:e.title||e.name})}),this),text:s.title||s.name}),"desktop"===this.media&&r(l.ButtonGroup,{class:"k-scheduler-views"},this.v3?function(){return[o.map((function(e){return r(u.ViewSelectorItem,{key:e.name,view:e,attrs:this.v3?void 0:{view:e}})}),t)]}:[o.map((function(e){return r(u.ViewSelectorItem,{key:e.name,view:e,attrs:this.v3?void 0:{view:e}})}),t)])])},methods:{handleItemClick:function(e){e.event.preventDefault(),(e.item.name||e.item.title)&&this.setActiveViewName(e.item.name||e.item.title)},calculateMedia:function(){this.media=window.matchMedia("(min-width: 1024px)").matches?"desktop":"mobile"}}};t.ViewSelectorListVue2=d;var c=d;t.ViewSelectorList=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ViewSelectorItemVue2=t.ViewSelectorItem=void 0;var s=o(i(1)).h,a=i(3),l=i(2),u={name:"KendoViewSelectorItem",props:{view:Object},inject:{kendoLocalizationService:{default:null},setActiveViewName:{default:null},ks:{default:null}},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=(l.provideLocalizationService(this),this.$props.view.title||this.$props.view.name);return t(a.Button,{role:"button",attrs:this.v3?void 0:{role:"button",type:"button",tabIndex:-1,togglable:!0,selected:this.$props.view.name===this.ks.activeViewName},type:"button",tabIndex:-1,togglable:!0,selected:this.$props.view.name===this.ks.activeViewName,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}},this.v3?function(){return[i]}:[i])},methods:{handleClick:function(){this.$props.view.name&&this.setActiveViewName(this.$props.view.name)}}};t.ViewSelectorItemVue2=u;var d=u;t.ViewSelectorItem=d},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.BusinessHoursVue2=t.BusinessHours=void 0;var s=o(i(1)).h,a=i(3),l=i(0),u={name:"KendoBusinessHours",props:{},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=l.getDefaultSlots(this);return t(a.ToolbarItem,{class:"k-scheduler-navigation"},this.v3?function(){return[i]}:[i])}};t.BusinessHoursVue2=u;var d=u;t.BusinessHours=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePropOrState=void 0;var n=i(0);t.usePropOrState=function(e,t){var i=t[0],r=t[1];return void 0!==e?[e,n.noop]:[i,r]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCellSync=void 0;var n=i(20),r=i(20);t.useCellSync=function(e){var t=e.element;!function(){if(t){var i=[],o=[],s=[],a=t.querySelectorAll(e.selector);a.forEach((function(t){var a=t.getBoundingClientRect().width,l=e.explicitDepth&&void 0!==e.attribute?t.getAttribute(e.attribute):0,u=n.getPadding(t,!0),d=r.getBorders(t,!0);null!==l&&((!s[l]||d>s[l])&&(s[l]=d),(!o[l]||u>o[l])&&(o[l]=u),(!i[l]||a>i[l])&&(i[l]=a))})),a.forEach((function(t){var n=e.explicitDepth?t.getAttribute(e.attribute):0;null!==n&&(t.style.minWidth=i[n]-o[n]-s[n]+"px")}))}}()}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRowSync=void 0;i(20),i(14);t.useRowSync=function(e,t){e.element}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAsyncMouseEnterLeave=void 0,t.useAsyncMouseEnterLeave=function(e){var t=e.handleMouseEnter,i=e.handleMouseLeave,n={}.current;return{onMouseEnter:function(e){clearTimeout(n),t(e)},onMouseLeave:function(e){var t;t=function(){return i(e)},clearTimeout(n),n=window.setTimeout((function(){return t()}))}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useEditable=void 0,t.useEditable=function(e){var t=void 0!==e?e:{}.editable||!1,i=!0===t||void 0!==t&&!1!==t&&!0===t.edit,n=!0===t||void 0!==t&&!1!==t&&!0===t.resize,r=!0===t||void 0!==t&&!1!==t&&!0===t.remove,o=!0===t||void 0!==t&&!1!==t&&!0===t.drag;return{add:!0===t||void 0!==t&&!1!==t&&!0===t.add,edit:i,drag:o,remove:r,resize:n,select:!0===t||void 0!==t&&!1!==t&&!0===t.select}}},function(e,t,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.useSlotExpand=void 0;var r=i(20),o=i(14);t.useSlotExpand=function(e,t,i){var s=0;!function(){if(e){var t=e.$el;t&&(s=t.clientHeight)}}(),function(){if(i&&e){var t=e.$el,a=e.$props;if(t&&e.bv.items.length){var l=r.getPadding(t),u=0,d=a.items.filter((function(e){return e.refTo}));d.forEach((function(t){var i=e.bv.items.find((function(e){return e.uid===t.uid}));if(i){var n=r.getRect(i.$el).height;u+=n}}));var c=d.length*o.BORDER_WIDTH*2+u-(l||0)+("object"===(void 0===i?"undefined":n(i))&&i.offsetTop?i.offsetTop:0)+("object"===(void 0===i?"undefined":n(i))&&i.offsetBottom?i.offsetBottom:0);d.length?c>s-l&&r.setRect(t,{height:c},!0):t&&(t.style.minHeight=null)}}}()}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useWorkHours=void 0,t.useWorkHours=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSchedulerItem=void 0,t.useSchedulerItem=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchFocusedItems=t.ITEMS_FOCUS_ACTION=void 0;var n,r=i(7);!function(e){e.next="ITEMS_FOCUS_NEXT",e.prev="ITEMS_FOCUS_PREV"}(n=t.ITEMS_FOCUS_ACTION||(t.ITEMS_FOCUS_ACTION={})),t.dispatchFocusedItems=function(e,t){switch(e.type){case n.next:if(!e.item||!e.item.current||!this.items)return;(i=r.findNextItem(e.item,this.items,e.ignoreIsAllDay,!1))&&i.current&&i.current.element&&(t.preventDefault(),i.current.element.focus());break;case n.prev:if(!e.item||!e.item.current||!this.items)return;var i;(i=r.findNextItem(e.item,this.items,e.ignoreIsAllDay,!0))&&i.current&&i.current.element&&(t.preventDefault(),i.current.element.focus())}}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.findDownSlot=t.findRightSlot=t.findLeftSlot=t.findUpSlot=t.dispatchFocusedSlots=t.SLOTS_FOCUS_ACTION=void 0,function(e){e.up="SLOT_FOCUS_UP",e.down="SLOT_FOCUS_DOWN",e.left="SLOT_FOCUS_LEFT",e.right="SLOT_FOCUS_RIGHT"}(n=t.SLOTS_FOCUS_ACTION||(t.SLOTS_FOCUS_ACTION={})),t.dispatchFocusedSlots=function(e,i){switch(e.type){case n.up:if(!e.slot.current||!this.slots)return;(r=t.findUpSlot(e.slot,this.slots))&&r.current&&r.current.element&&(i.preventDefault(),r.current.element.focus());break;case n.down:if(!e.slot||!this.slots)return;(r=t.findDownSlot(e.slot,this.slots))&&r.current&&r.current.element&&(i.preventDefault(),r.current.element.focus());break;case n.left:if(!e.slot||!this.slots)return;(r=t.findLeftSlot(e.slot,this.slots))&&r.current&&r.current.element&&(i.preventDefault(),r.current.element.focus());break;case n.right:if(!e.slot||!this.slots)return;var r;(r=t.findRightSlot(e.slot,this.slots))&&r.current&&r.current.element&&(i.preventDefault(),r.current.element.focus())}},t.findUpSlot=function(e,t){return t.find((function(t){return null!==t.current&&null!==e.current&&t.current.props.row===e.current.props.row-1&&t.current.props.col===e.current.props.col}))},t.findLeftSlot=function(e,t){return t.find((function(t){return null!==t.current&&null!==e.current&&t.current.props.row===e.current.props.row&&t.current.props.col===e.current.props.col-1}))},t.findRightSlot=function(e,t){return t.find((function(t){return null!==t.current&&null!==e.current&&t.current.props.row===e.current.props.row&&t.current.props.col===e.current.props.col+1}))},t.findDownSlot=function(e,t){return t.find((function(t){return null!==t.current&&null!==e.current&&t.current.props.row===e.current.props.row+1&&t.current.props.col===e.current.props.col}))}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewGroupRowContentVue2=t.DayViewGroupRowContent=void 0;var s=o(i(1)).h,a={name:"KendoDayViewGroupRowContent",props:{rangeIndex:Number},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){return(s||e)("div",{class:"k-scheduler-cell k-side-cell","data-range-index":this.$props.rangeIndex,attrs:this.v3?void 0:{"data-range-index":this.$props.rangeIndex}})}};t.DayViewGroupRowContentVue2=a;var l=a;t.DayViewGroupRowContent=l},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewAllDayRowContentVue2=t.DayViewAllDayRowContent=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(2)),u=i(11),d={name:"KendoDayViewAllDayRowContent",props:{groupIndex:Number},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){return(a||e)("div",{class:"k-scheduler-cell k-heading-cell k-side-cell k-scheduler-times-all-day"},[l.provideLocalizationService(this).toLanguageString(u.allDay,u.messages[u.allDay])])}};t.DayViewAllDayRowContentVue2=d;var c=d;t.DayViewAllDayRowContent=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewRowContentVue2=t.DayViewRowContent=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(0)),u=i(60),d={name:"KendoDayViewRowContent",props:{contentSlot:Object,isMaster:Boolean,isLast:Boolean,timeHeaderCell:[String,Function,Object]},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props.contentSlot;return this.$props.isMaster?t(u.TimeHeaderCell,{as:this.$props.timeHeaderCell,attrs:this.v3?void 0:{as:this.$props.timeHeaderCell,date:i.zonedStart,start:i.zonedStart,end:i.zonedEnd},date:i.zonedStart,start:i.zonedStart,end:i.zonedEnd,class:l.classNames("k-side-cell",{"k-major-cell":!this.$props.isLast})}):t("div",{class:"k-scheduler-cell k-heading-cell k-side-cell"})}};t.DayViewRowContentVue2=d;var c=d;t.DayViewRowContent=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewMiddleRowVue2=t.DayViewMiddleRow=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(0)),u=i(32),d=i(21),c=i(7),h={name:"KendoDayViewMiddleRow",props:{timeRanges:Array,timeSlots:Array,slotDivisions:{type:Number,default:2},rootIndex:{type:Number},root:Object,numberOfDays:Number,workDayStart:Date,workDayEnd:Date,workWeekStart:Number,workWeekEnd:Number},inject:{ri:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props.editSlot||d.SchedulerEditSlot;return t("div",{class:l.classNames("k-scheduler-row",{"k-middle-row":!((this.rootIndex+1)%this.slotDivisions==0)})},[this.timeRanges.map((function(e,n){var r=this;return this.timeSlots.filter((function(e){return e.index===r.root.index&&e.range.index===n&&e.group.index===r.ri.groupIndex})).map((function(e){return t(i,{key:e.start.getTime()+":"+e.group.index,index:e.index,attrs:this.v3?void 0:{index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,row:this.rootIndex+u.GRID_OFFSET,col:this.timeRanges.length*(this.ri.groupIndex||0)+n,isWorkHour:c.isInTimeRange(e.zonedStart,this.workDayStart,this.workDayEnd),isWorkDay:0<=e.zonedStart.getDay()+(this.numberOfDays-this.workWeekStart)&&(e.zonedStart.getDay()+(this.numberOfDays-this.workWeekStart))%this.numberOfDays<=this.workWeekEnd+(this.numberOfDays-this.workWeekStart),editable:this.$props.editable},start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,row:this.rootIndex+u.GRID_OFFSET,col:this.timeRanges.length*(this.ri.groupIndex||0)+n,isWorkHour:c.isInTimeRange(e.zonedStart,this.workDayStart,this.workDayEnd),isWorkDay:0<=e.zonedStart.getDay()+(this.numberOfDays-this.workWeekStart)&&(e.zonedStart.getDay()+(this.numberOfDays-this.workWeekStart))%this.numberOfDays<=this.workWeekEnd+(this.numberOfDays-this.workWeekStart),editable:this.$props.editable})}),this)}),this)])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.DayViewMiddleRowVue2=h;var p=h;t.DayViewMiddleRow=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewHeadVue2=t.DayViewHead=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(35)),u=i(5),d={name:"KendoDayViewHead",props:{timeRanges:Array,dateHeaderCell:[String,Function,Object]},inject:{ri:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e;return t("div",{class:"k-scheduler-row",key:this.ri.groupIndex},[this.timeRanges.map((function(e,i){return t(l.DateHeaderCell,{as:this.$props.dateHeaderCell,attrs:this.v3?void 0:{as:this.$props.dateHeaderCell,date:u.ZonedDate.fromLocalDate(new Date(e.zonedEnd.getTime()-(e.zonedEnd.getTime()-e.zonedStart.getTime())/2),this.ks.timezone),start:e.start,end:e.end,format:{skeleton:"MEd"}},key:i,date:u.ZonedDate.fromLocalDate(new Date(e.zonedEnd.getTime()-(e.zonedEnd.getTime()-e.zonedStart.getTime())/2),this.ks.timezone),start:e.start,end:e.end,format:{skeleton:"MEd"}})}),this)])}};t.DayViewHeadVue2=d;var c=d;t.DayViewHead=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewAllDaySlotsVue2=t.DayViewAllDaySlots=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(21)),u={name:"KendoDayViewAllDaySlots",props:{dayRanges:Array,daySlots:Array,numberOfDays:Number,workWeekStart:Number,workWeekEnd:Number},inject:{ri:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props,n=i.numberOfDays,r=i.workWeekStart,o=i.workWeekEnd;return t("div",{key:this.ri.groupIndex,class:"k-scheduler-row"},[this.dayRanges.map((function(e,i){var s=this;return this.daySlots.filter((function(e){return e.group.index===s.ri.groupIndex&&e.range.index===i})).map((function(e,i,s){return t(l.SchedulerEditSlot,{index:e.index,attrs:this.v3?void 0:{index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,form:this.$props.form,renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,row:0,col:"horizontal"===this.ks.orientation?s.length*(this.ri.groupIndex||0)+i:i,isWorkDay:0<=e.zonedStart.getDay()+(n-r)&&(e.zonedStart.getDay()+(n-r))%n<=o+(n-r),expandable:!0},start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},form:this.$props.form,renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,key:e.start.getTime()+":"+e.group.index,row:0,col:"horizontal"===this.ks.orientation?s.length*(this.ri.groupIndex||0)+i:i,isWorkDay:0<=e.zonedStart.getDay()+(n-r)&&(e.zonedStart.getDay()+(n-r))%n<=o+(n-r),expandable:!0})}),this)}),this)])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.DayViewAllDaySlotsVue2=u;var d=u;t.DayViewAllDaySlots=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFormItem=t.FORM_ITEM_ACTION=void 0,function(e){e.set="FORM_ITEM_SET",e.setMaster="FORM_ITEM_SET_MASTER",e.reset="FORM_ITEM_RESET",e.complete="FORM_ITEM_COMPLETE"}(t.FORM_ITEM_ACTION||(t.FORM_ITEM_ACTION={})),t.useFormItem=function(e,t){return[]}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CurrentTimeMarkerVue2=t.CurrentTimeMarker=void 0;var s=o(i(1)).h,a=i(5),l=i(0),u=i(7),d=i(20),c={name:"KendoCurrentTimeMarker",props:{updateInterval:{type:Number,default:6e4},groupIndex:Number,vertical:Boolean,attachArrow:Object},inject:{ks:{default:null}},created:function(){this.interval=void 0,this.arrowRef=null,this.line=null},data:function(){return{show:!1}},mounted:function(){this.line=this.$el,this.position()},updated:function(){var e=this;if(this.ks.scheduler&&window){clearInterval(this.interval),this.interval=window.setInterval(this.refresh,this.updateInterval);var t=new window.ResizeObserver(this.refresh);return t.observe(this.ks.scheduler),function(){clearInterval(e.interval),t.disconnect()}}},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t,i=s||e;l.getDefaultSlots(this),this.ks.scheduler,this.schedulerProps;return i("div",{class:"k-current-time",style:(t={transform:this.$props.vertical?"translateX(-50%)":"translateY(-50%)"},t[this.$props.vertical?"width":"height"]="1px",t.visibility=this.show?void 0:"hidden",t)})},methods:{position:function(){var e=this;if(this.slots){var t,i,n,r,o=this.slots.filter((function(t){return t.current&&(void 0===e.$props.groupIndex||null===e.$props.groupIndex||t.current.props.group.index===e.$props.groupIndex)&&(e.$props.vertical?u.intersects(new Date,new Date,t.current.props.start,t.current.props.end,!0):u.isInTimeRange(new Date,t.current.props.start,t.current.props.end))&&!t.current.props.isAllDay}));if(o&&o.length&&this.arrowRef&&this.line){var s=u.first(o);if(!s)return;var l=this.$props.vertical?(r=0,o.forEach((function(e){if(e.current){var t=d.getRect(e.current.element);r+=t.height}})),r):function(e){var t=0;return e.forEach((function(e){if(e.current){var i=d.getRect(e.current.element);t+=i.width}})),t}(o),c=d.getRect(s.element),h=d.getRect(this.arrowRef),p=(this.$props.vertical?c.width:c.height)/(s.props.end.getTime()-s.props.start.getTime()),f=(Date.now()-(t=new Date,i=s.props.start,n=a.cloneDate(t),n.setHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),n).getTime())*p,m="rtl"===this.$props.dir,v=this.$props.vertical?c.top:c.top+f-h.height/2,g=m?"right":"left",y=this.$props.vertical?c[g]+f-h.width/2:c[g];this.$props.vertical?this.arrowRef.style[g]=y+"px":this.arrowRef.style.top=v+"px",this.line.style[g]=y+"px",this.line.style.top=v+"px",this.line.style[this.$props.vertical?"height":"width"]=l-1+"px",this.show=!0}else this.show=!1}}}};t.CurrentTimeMarkerVue2=c;var h=c;t.CurrentTimeMarker=h},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-vue-scheduler",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646140644,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MultiDayTimelineViewVue2=t.MultiDayTimelineView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(33)),u=i(18),d=i(5),c=i(58),h=i(117),p=i(118),f=i(34),m=i(7),v=i(39),g=i(61),y=i(38),b=i(37),k=i(119),S=i(14),w=i(2),D=i(40),I=i(35),C=i(60),T={name:"KendoMultiDayTimelineView",props:{name:{type:String,default:"multi-day-timeline"},title:{type:String,default:"Multi Day Timeline"},currentTimeMarker:{type:Boolean,default:!0},showWorkHours:{type:Boolean,default:!0},dateRange:{type:[Function,Object],default:function(){return O}},selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},step:{type:Number,default:1},numberOfDays:{type:Number,default:1},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"00:00"},workDayStart:{type:String,default:"8:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:d.Day.Monday},workWeekEnd:{type:Number,default:d.Day.Friday},slotDivisions:{type:Number,default:2},slotDuration:{type:Number,default:60},defaultShowWorkHours:{type:Boolean,default:!0},columnWidth:{type:Number,default:100}},inject:{ks:{default:null},kendoIntlService:{default:null}},computed:{viewStart:function(){this.intl=w.provideIntlService(this);var e=this.intl.parseDate(this.$props.workDayStart),t=this.intl.parseDate(this.$props.startTime);return this.showWorkHours?e:t},viewEnd:function(){this.intl=w.provideIntlService(this);var e=this.intl.parseDate(this.$props.workDayEnd),t=this.intl.parseDate(this.$props.endTime);return this.showWorkHours?e:t},ranges:function(){return v.toRanges(this.ks.dateRange,{step:d.MS_PER_DAY,timezone:this.ks.timezone})},timelineSlots:function(){var e=this,t=g.toSlots(this.ks.dateRange,{step:this.slotDuration/this.slotDivisions*d.MS_PER_MINUTE},{groups:this.ks.groups,ranges:this.ranges}).filter((function(t){return m.isInTimeRange(t.zonedStart,e.viewStart,e.viewEnd)||e.viewStart.getTime()===e.viewEnd.getTime()}));return t},occurrences:function(){return y.toOccurrences(this.ks.dataItems,{dateRange:this.ks.dateRange,fields:this.ks.fields,timezone:this.ks.timezone})},items:function(){var e=this,t=b.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.ranges}).filter((function(t){return e.viewStart.getTime()===e.viewEnd.getTime()||m.isInTimeRange(t.zonedStart,e.viewStart,e.viewEnd)||m.isInTimeRange(t.zonedEnd,e.viewStart,e.viewEnd)||m.isInTimeRange(new Date(t.zonedEnd.getTime()-(t.zonedEnd.getTime()-t.zonedStart.getTime())/2),e.viewStart,e.viewEnd)}));return t}},mounted:function(){this.timeRef=null,this.bodyRef=null,u.useCellSync({element:this.$el,selector:".k-resource-cell",attribute:"data-depth-index",explicitDepth:!0}),u.useRowSync({element:this.$el,selector:".k-resource-row",horizontalAttribute:"data-depth-index",verticalAttribute:"data-resource-index",applyTo:".k-resource-cell"})},updated:function(){u.useCellSync({element:this.$el,selector:".k-resource-cell",attribute:"data-depth-index",explicitDepth:!0}),u.useRowSync({element:this.$el,selector:".k-resource-row",horizontalAttribute:"data-depth-index",verticalAttribute:"data-resource-index",applyTo:".k-resource-cell"})},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e,n=w.provideIntlService(this),r=(this.$props.showWorkHours,this.$props.slotDivisions,this.$props.slotDuration),o=n.parseDate(this.$props.workDayStart),s=n.parseDate(this.$props.workDayEnd),u=this.items,d=this.timelineSlots;m.mapItemsToSlots(u,d,!0),m.mapSlotsToItems(u,d,!0);var v=("horizontal"===this.ks.orientation?d.length:d.length/this.ks.groups.length)*(this.$props.columnWidth+S.BORDER_WIDTH),g=[i("div",{class:"k-scheduler-row"},[this.ranges.map((function(e,t){return i(I.DateHeaderCell,{as:this.$props.dateHeaderCell,attrs:this.v3?void 0:{as:this.$props.dateHeaderCell,date:e.zonedStart,start:e.start,end:e.end,format:"m"},key:t,date:e.zonedStart,start:e.start,end:e.end,format:"m"})}),this)]),i("div",{class:"k-scheduler-row",ref:"timeRef"},[this.ranges.map((function(e,t){return d.filter((function(e){return 0===e.group.index&&e.range.index===t})).map((function(e){return e.zonedStart.getMinutes()%r==0?i(C.TimeHeaderCell,{key:e.index,format:"t",attrs:this.v3?void 0:{format:"t",date:e.zonedStart,start:e.zonedStart,end:e.zonedEnd},date:e.zonedStart,start:e.zonedStart,end:e.zonedEnd}):null}),this)}),this)])];return i(l.BaseView,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,props:this.$props,baseSlots:d,ranges:this.ranges},class:"k-scheduler-timeline-view",props:this.$props,baseSlots:d,ranges:this.ranges},this.v3?function(){return[i("div",{class:"k-scheduler-head",style:{width:v+"px"}},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,group:t.ks.props.group,resources:t.ks.props.resources,rowContent:h.TimelineViewRowContent},group:t.ks.props.group,resources:t.ks.props.resources,rowContent:h.TimelineViewRowContent},t.v3?function(){return[g]}:[g]):i(f.VerticalResourceIterator,{wrapGroup:!0,attrs:t.v3?void 0:{wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},group:t.ks.props.group,resources:t.ks.props.resources},t.v3?function(){return[g]}:[g])]),i("div",{class:"k-scheduler-body",style:{width:v+"px"},ref:"bodyRef"},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{group:t.ks.props.group,attrs:t.v3?void 0:{group:t.ks.props.group,resources:t.ks.props.resources,rowContent:p.TimelineViewAllEventsRowContent},resources:t.ks.props.resources,rowContent:p.TimelineViewAllEventsRowContent},t.v3?function(){return[i(k.TimelineViewBody,{ranges:t.ranges,attrs:t.v3?void 0:{ranges:t.ranges,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]}:[i(k.TimelineViewBody,{ranges:t.ranges,attrs:t.v3?void 0:{ranges:t.ranges,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]):i(f.VerticalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},[i(k.TimelineViewBody,{range:t.range,attrs:t.v3?void 0:{range:t.range,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]),u.sort(m.orderSort).map((function(e){return i(D.SchedulerEditItem,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",form:this.$props.form,item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,ignoreIsAllDay:!0,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,ignoreIsAllDay:!0,vertical:!1})}),t)])]}:[i("div",{class:"k-scheduler-head",style:{width:v+"px"}},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,group:t.ks.props.group,resources:t.ks.props.resources,rowContent:h.TimelineViewRowContent},group:t.ks.props.group,resources:t.ks.props.resources,rowContent:h.TimelineViewRowContent},t.v3?function(){return[g]}:[g]):i(f.VerticalResourceIterator,{wrapGroup:!0,attrs:t.v3?void 0:{wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},group:t.ks.props.group,resources:t.ks.props.resources},t.v3?function(){return[g]}:[g])]),i("div",{class:"k-scheduler-body",style:{width:v+"px"},ref:"bodyRef"},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{group:t.ks.props.group,attrs:t.v3?void 0:{group:t.ks.props.group,resources:t.ks.props.resources,rowContent:p.TimelineViewAllEventsRowContent},resources:t.ks.props.resources,rowContent:p.TimelineViewAllEventsRowContent},t.v3?function(){return[i(k.TimelineViewBody,{ranges:t.ranges,attrs:t.v3?void 0:{ranges:t.ranges,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]}:[i(k.TimelineViewBody,{ranges:t.ranges,attrs:t.v3?void 0:{ranges:t.ranges,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]):i(f.VerticalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},[i(k.TimelineViewBody,{range:t.range,attrs:t.v3?void 0:{range:t.range,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]),u.sort(m.orderSort).map((function(e){return i(D.SchedulerEditItem,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",form:this.$props.form,item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,ignoreIsAllDay:!0,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,ignoreIsAllDay:!0,vertical:!1})}),t)])])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.MultiDayTimelineViewVue2=T;var O=function(e){var t=e.date,i=e.numberOfDays,n=void 0===i?1:i,r=e.timezone,o=d.ZonedDate.fromLocalDate(t,r),s=d.getDate(o),a=d.addDays(s,n),l=d.ZonedDate.fromUTCDate(m.toUTCDateTime(s),r),u=d.ZonedDate.fromUTCDate(m.toUTCDateTime(a),r);return{start:new Date(l.getTime()),end:new Date(u.getTime()),zonedStart:l,zonedEnd:u}},E=T;t.MultiDayTimelineView=E},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimelineViewRowContentVue2=t.TimelineViewRowContent=void 0;var s=o(i(1)).h,a=i(0),l={name:"KendoTimelineViewRowContent",props:{},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e;a.getDefaultSlots(this);return t("div",{class:"k-sticky-cell"},[t("div",{class:"k-scheduler-cell k-side-cell"})])}};t.TimelineViewRowContentVue2=l;var u=l;t.TimelineViewRowContent=u},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimelineViewAllEventsRowContentVue2=t.TimelineViewAllEventsRowContent=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(11)),u=i(2),d={name:"KendoTimelineViewAllEventsRowContent",props:{},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=u.provideLocalizationService(this);return t("div",{class:"k-sticky-cell"},[t("div",{class:"k-scheduler-cell k-heading-cell k-side-cell k-scheduler-times-all-day","data-range-index":0,attrs:this.v3?void 0:{"data-range-index":0}},[i.toLanguageString(l.allEvents,l.messages[l.allEvents])])])}};t.TimelineViewAllEventsRowContentVue2=d;var c=d;t.TimelineViewAllEventsRowContent=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimelineViewBodyVue2=t.TimelineViewBody=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(21)),u=i(7),d={name:"KendoTimelineViewBody",props:{timelineSlots:Array,ranges:Array,workDayStart:Date,workDayEnd:Date},inject:{ri:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this,n=this.ks.orientation,r=this.ranges,o=this.ri.groupIndex,s=this.$props.editable;return t("div",{class:"k-scheduler-row"},[this.ranges.map((function(e,a){return this.timelineSlots.filter((function(e){return e.group.index===o&&e.range.index===a})).map((function(e,d,c){return t(l.SchedulerEditSlot,{key:e.start.getTime()+":"+e.group.index,slot:i.$props.slot,viewSlot:i.$props.viewSlot,attrs:this.v3?void 0:{viewSlot:i.$props.viewSlot,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,form:i.$props.form,isWorkHour:u.isInTimeRange(e.zonedStart,i.workDayStart,i.workDayEnd),col:"horizontal"===n?a*c.length+d+c.length*r.length*(o||0):a*c.length+d,row:"horizontal"===n?0:o||0,expandable:!0,editable:s},index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,form:i.$props.form,onDataaction:i.handleDataAction,on:this.v3?void 0:{dataaction:i.handleDataAction},isWorkHour:u.isInTimeRange(e.zonedStart,i.workDayStart,i.workDayEnd),col:"horizontal"===n?a*c.length+d+c.length*r.length*(o||0):a*c.length+d,row:"horizontal"===n?0:o||0,expandable:!0,editable:s})}),!0)}),this)])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.TimelineViewBodyVue2=d;var c=d;t.TimelineViewBody=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.AgendaViewVue2=t.AgendaView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(33)),u=i(34),d=i(18),c=i(14),h=i(5),p=i(2),f=i(39),m=i(38),v=i(37),g=i(7),y=i(36),b=i(121),k=i(122),S=i(62),w=i(21),D={name:"KendoAgendaView",props:{name:{type:String,default:"agenda"},dateRange:{type:[Function,Object],default:function(){return C}},selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},slotDuration:{type:Number,default:1440},slotDivisions:{type:Number,default:1},step:{type:Number,default:c.DAYS_IN_WEEK_COUNT},numberOfDays:{type:Number,default:c.DAYS_IN_WEEK_COUNT}},inject:{ks:{default:null},kendoLocalizationService:{default:null},kendoIntlService:{default:null}},created:function(){this.intl=p.provideIntlService(this)},mounted:function(){d.useCellSync({element:this.$el,selector:".k-scheduler-datecolumn",explicitDepth:!1}),d.useCellSync({element:this.$el,selector:".k-scheduler-timecolumn",explicitDepth:!1})},updated:function(){d.useCellSync({element:this.$el,selector:".k-scheduler-datecolumn",explicitDepth:!1}),d.useCellSync({element:this.$el,selector:".k-scheduler-timecolumn",explicitDepth:!1})},computed:{ranges:function(){return f.toRanges(this.ks.dateRange,{step:h.MS_PER_DAY,timezone:this.ks.timezone})},agendaSlots:function(){return y.toSlots(this.ks.dateRange,{step:h.MS_PER_DAY},{groups:this.ks.groups,ranges:this.ranges})},occurrences:function(){return m.toOccurrences(this.ks.dataItems,{dateRange:this.ks.dateRange,fields:this.ks.fields,timezone:this.ks.timezone})},items:function(){var e=v.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.ranges});return g.mapItemsToSlots(e,this.agendaSlots,!0),g.mapSlotsToItems(e,this.agendaSlots,!0),e}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;this.$props.editTask||S.SchedulerEditTask,this.$props.editSlot||w.SchedulerEditSlot,p.provideIntlService(this),p.provideLocalizationService(this);return i(l.BaseView,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,props:this.$props,baseSlots:this.items,ranges:this.ranges},class:"k-scheduler-agendaview",props:this.$props,baseSlots:this.items,ranges:this.ranges},this.v3?function(){return[i("div",{class:"k-scheduler-head"},[i(u.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group},group:t.ks.props.group},t.v3?function(){return[i(b.AgendaViewHead)]}:[i(b.AgendaViewHead)])]),i(u.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group,nested:!0},group:t.ks.props.group,nested:!0},t.v3?function(){return[i(k.AgendaViewBody,{agendaSlots:t.agendaSlots,attrs:t.v3?void 0:{agendaSlots:t.agendaSlots}})]}:[i(k.AgendaViewBody,{agendaSlots:t.agendaSlots,attrs:t.v3?void 0:{agendaSlots:t.agendaSlots}})])]}:[i("div",{class:"k-scheduler-head"},[i(u.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group},group:t.ks.props.group},t.v3?function(){return[i(b.AgendaViewHead)]}:[i(b.AgendaViewHead)])]),i(u.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group,nested:!0},group:t.ks.props.group,nested:!0},t.v3?function(){return[i(k.AgendaViewBody,{agendaSlots:t.agendaSlots,attrs:t.v3?void 0:{agendaSlots:t.agendaSlots}})]}:[i(k.AgendaViewBody,{agendaSlots:t.agendaSlots,attrs:t.v3?void 0:{agendaSlots:t.agendaSlots}})])])}};t.AgendaViewVue2=D;var I=function(e){return h.getDate(e)},C=function(e){var t=e.intl,i=e.date,n=e.numberOfDays,r=void 0===n?1:n,o=e.timezone,s=h.ZonedDate.fromLocalDate(i,o),a=r===c.DAYS_IN_WEEK_COUNT?I(h.firstDayInWeek(s,t.firstDay())):I(s),l=function(e,t){return h.getDate(h.addDays(e,t||1))}(a,r),u=h.ZonedDate.fromUTCDate(g.toUTCDateTime(a),o),d=h.ZonedDate.fromUTCDate(g.toUTCDateTime(l),o);return{start:new Date(u.getTime()),end:new Date(d.getTime()),zonedStart:u,zonedEnd:d}},T=D;t.AgendaView=T},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.AgendaViewHeadVue2=t.AgendaViewHead=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(2)),u=i(11),d={name:"KendoAgendaViewHead",props:{monthSlots:Array,dateHeaderCell:[String,Function,Object]},inject:{ri:{default:null},kendoLocalizationService:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=l.provideLocalizationService(this);return t("div",{class:"k-scheduler-row",key:this.ri.groupIndex},[t("div",{class:"k-scheduler-cell k-heading-cell k-group-cell k-scheduler-datecolumn"},[i.toLanguageString(u.dateTitle,u.messages[u.dateTitle])]),t("div",{class:"k-scheduler-cell k-heading-cell k-group-cell k-scheduler-timecolumn"},[i.toLanguageString(u.timeTitle,u.messages[u.timeTitle])]),t("div",{class:"k-scheduler-cell k-heading-cell k-scheduler-eventcolumn"},[i.toLanguageString(u.eventTitle,u.messages[u.eventTitle])])])}};t.AgendaViewHeadVue2=d;var c=d;t.AgendaViewHead=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.AgendaViewBodyVue2=t.AgendaViewBody=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(21)),u=i(2),d=i(62),c=i(11),h={name:"KendoAgendaViewBody",props:{rangeIndex:Number,itemsPerSlot:Number,agendaSlots:Array},inject:{ri:{default:null},ks:{default:null},kendoIntlService:{default:null},kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;this.intl=u.provideIntlService(this);var n=this.$props.editSlot||l.SchedulerEditSlot,r=this.$props.editTask||d.SchedulerEditTask,o=u.provideLocalizationService(this);return i("div",{class:"k-scheduler-body"},[this.agendaSlots.filter((function(e){return e.group.index===(t.ri.groupIndex||0)})).map((function(e,t,s){var a=this;return i("div",{class:"k-scheduler-row k-scheduler-content",key:this.ri.groupIndex+":"+t},[i(n,{index:e.index,attrs:this.v3?void 0:{index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,editable:this.$props.editable,row:s.length*(this.ri.groupIndex||0)+t,col:0,viewSlot:this.$props.viewSlot},start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,editable:this.$props.editable,row:s.length*(this.ri.groupIndex||0)+t,col:0,slot:this.$props.slot,viewSlot:this.$props.viewSlot,class:"k-scheduler-datecolumn k-group-cell"},this.v3?function(){return[i("div",[i("strong",{class:"k-scheduler-agendaday"},[a.intl.formatDate(e.zonedStart,"dd")]),i("em",{class:"k-scheduler-agendaweek"},[a.intl.formatDate(e.zonedStart,"EEEE")]),i("span",{class:"k-scheduler-agendadate"},[a.intl.formatDate(e.zonedStart,"y")])])]}:[i("div",[i("strong",{class:"k-scheduler-agendaday"},[a.intl.formatDate(e.zonedStart,"dd")]),i("em",{class:"k-scheduler-agendaweek"},[a.intl.formatDate(e.zonedStart,"EEEE")]),i("span",{class:"k-scheduler-agendadate"},[a.intl.formatDate(e.zonedStart,"y")])])]),i("div",{class:"k-scheduler-cell k-group-content"},[e.items.length?e.items.map((function(e,n){return i("div",{class:"k-scheduler-row",key:n},[i("div",{class:"k-scheduler-cell k-scheduler-timecolumn"},[i("div",[e.tail&&i("span",{class:"k-icon k-i-arrow-60-left"}),e.isAllDay?o.toLanguageString(c.allDay,c.messages[c.allDay]):p(this.intl,e),e.head&&i("span",{class:"k-icon k-i-arrow-60-right"})])]),i("div",{class:"k-scheduler-cell"},[i(r,{key:t+":"+n,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,task:this.$props.task,viewTask:this.$props.viewTask,editable:this.$props.editable},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},task:this.$props.task,viewTask:this.$props.viewTask,editable:this.$props.editable})])])}),this):i("div",{class:"k-scheduler-cell k-heading-cell k-group-cell"},[o.toLanguageString(c.noEvents,c.messages[c.noEvents])])])])}),this)])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.AgendaViewBodyVue2=h;var p=function(e,t){var i="{0:t}-{1:t}";return t.head?i="{0:t}":t.tail&&(i="{1:t}"),e.format(i,t.zonedStart,t.zonedEnd)},f=h;t.AgendaViewBody=f},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.WeekViewVue2=t.WeekView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(32)),u=i(14),d=i(5),c=i(11),h=i(7),p=i(2),f={name:"KendoWeekView",props:{name:{type:String,default:"week"},slotDuration:{type:Number,default:60},slotDivisions:{type:Number,default:2},numberOfDays:{type:Number,default:u.DAYS_IN_WEEK_COUNT},dateRange:{type:[Function,Object],default:function(){return m}},title:String,selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},showWorkHours:{type:Boolean,default:!0},currentTimeMarker:{type:Boolean,default:!0},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"23:59"},workDayStart:{type:String,default:"08:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:d.Day.Monday},workWeekEnd:{type:Number,default:d.Day.Friday},defaultShowWorkHours:{type:Boolean,default:!0},timeHeaderCell:String},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=p.provideLocalizationService(this).toLanguageString(c.weekViewTitle,c.messages[c.weekViewTitle]);return t(l.MultiDayView,{name:this.$props.name,attrs:this.v3?void 0:{name:this.$props.name,dateRange:this.$props.dateRange,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:i,step:u.DAYS_IN_WEEK_COUNT,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd,defaultShowWorkHours:this.$props.defaultShowWorkHours,timeHeaderCell:this.$props.timeHeaderCell},dateRange:this.$props.dateRange,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:i,step:u.DAYS_IN_WEEK_COUNT,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd,defaultShowWorkHours:this.$props.defaultShowWorkHours,timeHeaderCell:this.$props.timeHeaderCell})}};t.WeekViewVue2=f;var m=function(e){var t=e.intl,i=e.date,n=e.timezone,r=d.ZonedDate.fromLocalDate(i,n),o=function(e){return d.getDate(e)}(d.firstDayInWeek(r,t.firstDay())),s=function(e,t){return d.getDate(d.addDays(e,t||1))}(o,u.DAYS_IN_WEEK_COUNT),a=d.ZonedDate.fromUTCDate(h.toUTCDateTime(o),n),l=d.ZonedDate.fromUTCDate(h.toUTCDateTime(s),n);return{start:new Date(a.getTime()),end:new Date(l.getTime()),zonedStart:a,zonedEnd:l}},v=f;t.WeekView=v},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.WorkWeekViewVue2=t.WorkWeekView=void 0;var a=o(i(1)),l=a.h,u=(a.inject,i(5)),d=i(14),c=i(32),h=i(11),p=i(7),f=i(2),m={name:"KendoWorkWeekView",props:{name:{type:String,default:"work-week"},slotDuration:{type:Number,default:60},slotDivisions:{type:Number,default:2},numberOfDays:{type:Number,default:7},dateRange:{type:[Function,Object],default:function(){return v}},title:String,workWeekStart:{type:Number,default:u.Day.Monday},workWeekEnd:{type:Number,default:u.Day.Friday},selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},showWorkHours:{type:Boolean,default:!0}},inject:{kendoLocalizationService:{default:null},ks:{default:null}},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=f.provideLocalizationService(this).toLanguageString(h.workWeekViewTitle,h.messages[h.workWeekViewTitle]),n=this.dateRange,r=Math.round((n.end.getTime()-n.start.getTime())/u.MS_PER_DAY);return t(c.MultiDayView,{name:this.$props.name,attrs:this.v3?void 0:{name:this.$props.name,dateRange:this.$props.dateRange,numberOfDays:r,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:i,step:d.DAYS_IN_WEEK_COUNT},dateRange:this.$props.dateRange,numberOfDays:r,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:i,step:d.DAYS_IN_WEEK_COUNT})}};t.WorkWeekViewVue2=m;var v=function(e){e.intl;var t=e.date,i=e.timezone,n=s(e,["intl","date","timezone"]),r=u.ZonedDate.fromLocalDate(t,i),o=void 0!==n.workWeekStart?n.workWeekStart:u.Day.Monday,a=void 0!==n.workWeekEnd?n.workWeekEnd:u.Day.Friday,l=a<o?d.DAYS_IN_WEEK_COUNT+a-o+1:a-o+1,c=u.getDate(function(e,t){void 0===t&&(t=u.Day.Sunday);for(var i=e.clone();i.getDay()!==t;)i=i.addDays(-1);return i}(r,o)),h=u.addDays(c,l),f=u.ZonedDate.fromUTCDate(p.toUTCDateTime(c),i),m=u.ZonedDate.fromUTCDate(p.toUTCDateTime(h),i);return{start:new Date(f.getTime()),end:new Date(m.getTime()),zonedStart:f,zonedEnd:m}},g=m;t.WorkWeekView=g},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MonthViewVue2=t.MonthView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(33)),u=i(5),d=i(34),c=i(58),h=i(7),p=i(11),f=i(21),m=i(2),v=i(14),g=i(39),y=i(61),b=i(38),k=i(37),S=i(126),w=i(127),D=i(40),I={name:"KendoMonthView",props:{itemsPerSlot:{type:Number,default:2},name:{type:String,default:"month"},dateRange:{type:[Function,Object],default:function(){return C}},slotDuration:{type:Number,default:1440},slotDivisions:{type:Number,default:1},numberOfDays:{type:Number,default:31},title:String,selectedDateFormat:{type:String,default:"{0:Y}"},selectedShortDateFormat:{type:String,default:"{0:Y}"}},inject:{ks:{default:null},kendoLocalizationService:{default:null},kendoIntlService:{default:null}},created:function(){this.intl=m.provideIntlService(this)},computed:{ranges:function(){return g.toRanges(this.ks.dateRange,{step:u.MS_PER_DAY*v.DAYS_IN_WEEK_COUNT,timezone:this.ks.timezone})},monthSlots:function(){return y.toSlots(this.ks.dateRange,{step:u.MS_PER_DAY},{groups:this.ks.groups,ranges:this.ranges})},occurrences:function(){return b.toOccurrences(this.ks.dataItems,{dateRange:this.ks.dateRange,fields:this.ks.fields,timezone:this.ks.timezone})},items:function(){var e=k.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.ranges});return h.mapItemsToSlots(e,this.monthSlots,!1),h.mapSlotsToItems(e,this.monthSlots,!1),e}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;this.localization=m.provideLocalizationService(this);this.localization.toLanguageString(p.monthViewTitle,p.messages[p.monthViewTitle]);var n=this.$props.editItem||D.SchedulerEditItem,r=(this.$props.editSlot||f.SchedulerEditSlot,this.items),o=this.monthSlots;this.intl=m.provideIntlService(this);var s=this.$props.itemsPerSlot,u=this.ranges.map((function(e,t){var n=this;return"horizontal"===this.ks.orientation?i(c.HorizontalResourceIterator,{resources:this.ks.props.resources,attrs:this.v3?void 0:{resources:this.ks.props.resources,group:this.ks.props.group},group:this.ks.props.group},this.v3?function(){return[i(w.MonthViewBody,{monthSlots:o,attrs:n.v3?void 0:{monthSlots:o,rangeIndex:t,itemsPerSlot:s},rangeIndex:t,itemsPerSlot:s,onDataaction:n.handleDataAction,on:n.v3?void 0:{dataaction:n.handleDataAction}})]}:[i(w.MonthViewBody,{monthSlots:o,attrs:n.v3?void 0:{monthSlots:o,rangeIndex:t,itemsPerSlot:s},rangeIndex:t,itemsPerSlot:s,onDataaction:n.handleDataAction,on:n.v3?void 0:{dataaction:n.handleDataAction}})]):i(d.VerticalResourceIterator,{nested:!0,attrs:this.v3?void 0:{nested:!0,resources:this.ks.props.resources,group:this.ks.props.group},resources:this.ks.props.resources,group:this.ks.props.group},this.v3?function(){return[i(w.MonthViewBody,{monthSlots:o,attrs:n.v3?void 0:{monthSlots:o,ranges:n.ranges,rangeIndex:t,itemsPerSlot:s},ranges:n.ranges,rangeIndex:t,itemsPerSlot:s,onDataaction:n.handleDataAction,on:n.v3?void 0:{dataaction:n.handleDataAction}})]}:[i(w.MonthViewBody,{monthSlots:o,attrs:n.v3?void 0:{monthSlots:o,ranges:n.ranges,rangeIndex:t,itemsPerSlot:s},ranges:n.ranges,rangeIndex:t,itemsPerSlot:s,onDataaction:n.handleDataAction,on:n.v3?void 0:{dataaction:n.handleDataAction}})])}),this);return i(l.BaseView,{props:this.$props,attrs:this.v3?void 0:{props:this.$props,baseSlots:o,ranges:this.ranges},baseSlots:o,ranges:this.ranges,class:"k-scheduler-monthview"},this.v3?function(){return[i("div",{class:"k-scheduler-head"},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,resources:t.ks.props.resources,group:t.ks.props.group},resources:t.ks.props.resources,group:t.ks.props.group},t.v3?function(){return[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]}:[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]):i(d.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group},group:t.ks.props.group},t.v3?function(){return[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]}:[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})])]),i("div",{class:"k-scheduler-body"},[u,r.filter((function(e){return null===e.order||e.order<s})).sort(h.orderSort).map((function(e){return i(n,{item:this.$props.item,attrs:this.v3?void 0:{item:this.$props.item,viewItem:this.$props.viewItem,form:this.$props.form,uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,vertical:!1,editable:this.$props.editable,ignoreIsAllDay:!0},viewItem:this.$props.viewItem,form:this.$props.form,key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},style:{transform:"translateY(30px)"},vertical:!1,editable:this.$props.editable,ignoreIsAllDay:!0})}),t)])]}:[i("div",{class:"k-scheduler-head"},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,resources:t.ks.props.resources,group:t.ks.props.group},resources:t.ks.props.resources,group:t.ks.props.group},t.v3?function(){return[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]}:[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]):i(d.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group},group:t.ks.props.group},t.v3?function(){return[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]}:[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})])]),i("div",{class:"k-scheduler-body"},[u,r.filter((function(e){return null===e.order||e.order<s})).sort(h.orderSort).map((function(e){return i(n,{item:this.$props.item,attrs:this.v3?void 0:{item:this.$props.item,viewItem:this.$props.viewItem,form:this.$props.form,uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,vertical:!1,editable:this.$props.editable,ignoreIsAllDay:!0},viewItem:this.$props.viewItem,form:this.$props.form,key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},style:{transform:"translateY(30px)"},vertical:!1,editable:this.$props.editable,ignoreIsAllDay:!0})}),t)])])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.MonthViewVue2=I;var C=function(e){var t=e.intl,i=e.date,n=e.timezone,r=u.firstDayInWeek(u.firstDayOfMonth(u.getDate(i)),t.firstDay()),o=u.addDays(u.firstDayInWeek(u.lastDayOfMonth(u.getDate(i)),t.firstDay()),v.DAYS_IN_WEEK_COUNT),s=u.ZonedDate.fromUTCDate(h.toUTCDateTime(r),n),a=u.ZonedDate.fromUTCDate(h.toUTCDateTime(o),n);return{start:new Date(s.getTime()),end:new Date(a.getTime()),zonedStart:s,zonedEnd:a}},T=I;t.MonthView=T},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MonthViewHeadVue2=t.MonthViewHead=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(35)),u=i(5),d={name:"KendoMonthViewHead",props:{monthSlots:Array,dateHeaderCell:[String,Function,Object]},inject:{ri:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;return i("div",{class:"k-scheduler-row",key:this.ri.groupIndex},[this.monthSlots.filter((function(e){return e.group.index===t.ri.groupIndex&&0===e.range.index})).map((function(e,t){return i(l.DateHeaderCell,{as:this.$props.dateHeaderCell,attrs:this.v3?void 0:{as:this.$props.dateHeaderCell,"data-dayslot-index":t,date:u.ZonedDate.fromLocalDate(new Date(e.zonedEnd.getTime()-(e.zonedEnd.getTime()-e.zonedStart.getTime())/2),this.ks.timezone),start:e.start,end:e.end,format:{skeleton:"EEEE"}},key:t,"data-dayslot-index":t,date:u.ZonedDate.fromLocalDate(new Date(e.zonedEnd.getTime()-(e.zonedEnd.getTime()-e.zonedStart.getTime())/2),this.ks.timezone),start:e.start,end:e.end,format:{skeleton:"EEEE"}})}),this)])}};t.MonthViewHeadVue2=d;var c=d;t.MonthViewHead=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MonthViewBodyVue2=t.MonthViewBody=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(21)),u=i(128),d=i(2),c={skeleton:"dd"},h={name:"KendoMonthViewBody",props:{rangeIndex:Number,itemsPerSlot:Number,monthSlots:Array,ranges:Array},inject:{ri:{default:null},ks:{default:null},setActiveDate:{default:null},setActiveViewName:{default:null},kendoIntlService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;this.intl=d.provideIntlService(this);var n=this.$props.editSlot||l.SchedulerEditSlot;return i("div",{class:"k-scheduler-row",key:this.rangeIndex},[this.monthSlots.filter((function(e){return e.group.index===t.ri.groupIndex&&e.range.index===t.rangeIndex})).map((function(e,t,r){var o=this;return i(n,{viewSlot:this.$props.viewSlot,attrs:this.v3?void 0:{viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,expandable:{offsetTop:30,offsetBottom:this.itemsPerSlot<e.items.length?15:0},col:"horizontal"===this.ks.orientation?r.length*(this.ri.groupIndex||0)+t:t,row:"horizontal"===this.ks.orientation?this.rangeIndex:this.ranges.length*(this.ri.groupIndex||0)+this.rangeIndex,editable:this.$props.editable},key:t,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,expandable:{offsetTop:30,offsetBottom:this.itemsPerSlot<e.items.length?15:0},onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},col:"horizontal"===this.ks.orientation?r.length*(this.ri.groupIndex||0)+t:t,row:"horizontal"===this.ks.orientation?this.rangeIndex:this.ranges.length*(this.ri.groupIndex||0)+this.rangeIndex,editable:this.$props.editable},this.v3?function(){return[i("div",[i("span",{class:"k-link k-nav-day"},[o.intl.formatDate(new Date(e.end.getTime()-(e.end.getTime()-e.start.getTime())/2),c)]),o.itemsPerSlot<e.items.length&&i(u.ShowMoreItemsButton,{currentSlot:e,attrs:o.v3?void 0:{currentSlot:e},onClick:o.handleShowMoreItemsClick,on:o.v3?void 0:{click:o.handleShowMoreItemsClick}})])]}:[i("div",[i("span",{class:"k-link k-nav-day"},[o.intl.formatDate(new Date(e.end.getTime()-(e.end.getTime()-e.start.getTime())/2),c)]),o.itemsPerSlot<e.items.length&&i(u.ShowMoreItemsButton,{currentSlot:e,attrs:o.v3?void 0:{currentSlot:e},onClick:o.handleShowMoreItemsClick,on:o.v3?void 0:{click:o.handleShowMoreItemsClick}})])])}),this)])},methods:{handleShowMoreItemsClick:function(e){var t=this.ks.views.find((function(e){return"day"===e.name}));this.setActiveViewName&&t&&t.name&&e.target.slot&&(this.setActiveViewName(t.name,e),this.setActiveDate(e.target.slot.start,e))},handleDataAction:function(e){this.$emit("dataaction",e)}}};t.MonthViewBodyVue2=h;var p=h;t.MonthViewBody=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ShowMoreItemsButtonVue2=t.ShowMoreItemsButton=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(3),d={name:"KendoShowMoreItemsButton",props:{currentSlot:Object},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a,kendoLocalizationService:l("kendoLocalizationService",{})}}:void 0,render:function(e){var t=a||e;return t(u.Button,{tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1},class:"k-more-events",onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}},this.v3?function(){return[t("span",{class:"k-icon k-i-more-horizontal"})]}:[t("span",{class:"k-icon k-i-more-horizontal"})])},methods:{handleClick:function(e){this.$emit("click",{target:{slot:this.currentSlot},event:e})}}};t.ShowMoreItemsButtonVue2=d;var c=d;t.ShowMoreItemsButton=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerDragVue2=t.SchedulerDrag=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(36)),u=i(42),d=i(41),c=i(7),h={name:"KendoSchedulerDrag",props:{ignoreIsAllDay:Boolean,dataItem:Object,vertical:Boolean,viewItem:[String,Function,Object],item:{type:Object,default:function(){return u.SchedulerItem}}},inject:{ks:{default:null}},computed:{occurrences:function(){return l.toOccurrences([this.$props.dataItem],{dateRange:this.dateRange,fields:this.fields,timezone:this.ks.timezone})},items:function(){return l.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.groups,ranges:this.ranges})}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=(this.viewSlots||[]).map((function(e){return e.current.props}));return c.mapItemsToSlots(this.items,i),t("div",[this.items.map((function(e,i){return t(d.SchedulerViewItem,{key:i,item:this.$props.item,attrs:this.v3?void 0:{item:this.$props.item,dragHint:!0,vertical:this.$props.vertical,ignoreIsAllDay:this.$props.ignoreIsAllDay},dragHint:!0,vertical:this.$props.vertical,ignoreIsAllDay:this.$props.ignoreIsAllDay})}),this)])}};t.SchedulerDragVue2=h;var p=h;t.SchedulerDrag=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerResizeVue2=t.SchedulerResize=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(36)),u=i(42),d=i(41),c=i(7),h={name:"KendoSchedulerResize",props:{ignoreIsAllDay:Boolean,dataItem:Object,vertical:Boolean,viewItem:[String,Function,Object],item:{type:Object,default:function(){return u.SchedulerItem}}},inject:{ks:{default:null}},computed:{occurrences:function(){return l.toOccurrences([this.$props.dataItem],{dateRange:this.dateRange,fields:this.fields,timezone:this.ks.timezone})},items:function(){return l.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.groups,ranges:this.ranges})}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=(this.viewSlots||[]).map((function(e){return e.current.props}));return c.mapItemsToSlots(this.items,i),t("div",[this.items.map((function(e,i){return t(d.SchedulerViewItem,{key:i,format:this.$props.format,attrs:this.v3?void 0:{format:this.$props.format,item:this.$props.item,resizeHint:!0,vertical:this.$props.vertical,ignoreIsAllDay:this.$props.ignoreIsAllDay},item:this.$props.item,resizeHint:!0,vertical:this.$props.vertical,ignoreIsAllDay:this.$props.ignoreIsAllDay})}),this)])}};t.SchedulerResizeVue2=h;var p=h;t.SchedulerResize=p},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerFormVue2=t.SchedulerForm=void 0;var a=s(i(1)),l=a.h,u=a.inject,d=i(3),c=i(89),h=i(63),p=i(2),f=i(86),m=i(11),v={name:"KendoSchedulerForm",props:{dataItem:Object,renderForm:Object,editor:[String,Function,Object],dialog:[String,Function,Object]},inject:{kendoLocalizationService:{default:null}},setup:l?function(){return{v3:!!l,kendoLocalizationService:u("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=l||e,n=this.$props,r=n.editor,o=(n.dialog,n.validator,p.provideLocalizationService(this));this.requiredValidationMessage=o.toLanguageString(m.editorValidationRequired,m.messages[m.editorValidationRequired]),this.endValidationMessage=o.toLanguageString(m.editorValidationEnd,m.messages[m.editorValidationEnd]);var s=o.toLanguageString(m.editorSave,m.messages[m.editorSave]),a=o.toLanguageString(m.editorCancel,m.messages[m.editorCancel]),u=o.toLanguageString(m.editorTitle,m.messages[m.editorTitle]);return this.startValidationMessage=o.toLanguageString(m.editorValidationStart,m.messages[m.editorValidationStart]),i(h.Dialog,{title:u,attrs:this.v3?void 0:{title:u,minWidth:600},minWidth:600,onClose:this.handleClose,on:this.v3?void 0:{close:this.handleClose},class:"k-scheduler-edit-dialog"},this.v3?function(){return[i(c.Form,{initialValues:t.$props.dataItem,attrs:t.v3?void 0:{initialValues:t.$props.dataItem,validator:t.formValidator},onSubmit:t.handleSubmit,on:t.v3?void 0:{submit:t.handleSubmit},validator:t.formValidator},t.v3?function(){return[i(f.SchedulerFormEditor,{as:r,attrs:t.v3?void 0:{as:r}})]}:[i(f.SchedulerFormEditor,{as:r,attrs:t.v3?void 0:{as:r}})]),i(h.DialogActionsBar,t.v3?function(){return[i(d.Button,{disabled:!t.renderProps.allowSubmit,attrs:t.v3?void 0:{disabled:!t.renderProps.allowSubmit},onClick:t.renderProps.onSubmit,on:t.v3?void 0:{click:t.renderProps.onSubmit}},t.v3?function(){return[s]}:[s]),i(d.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},t.v3?function(){return[a]}:[a])]}:[i(d.Button,{disabled:!t.renderProps.allowSubmit,attrs:t.v3?void 0:{disabled:!t.renderProps.allowSubmit},onClick:t.renderProps.onSubmit,on:t.v3?void 0:{click:t.renderProps.onSubmit}},t.v3?function(){return[s]}:[s]),i(d.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},t.v3?function(){return[a]}:[a])])]}:[i(c.Form,{initialValues:t.$props.dataItem,attrs:t.v3?void 0:{initialValues:t.$props.dataItem,validator:t.formValidator},onSubmit:t.handleSubmit,on:t.v3?void 0:{submit:t.handleSubmit},validator:t.formValidator},t.v3?function(){return[i(f.SchedulerFormEditor,{as:r,attrs:t.v3?void 0:{as:r}})]}:[i(f.SchedulerFormEditor,{as:r,attrs:t.v3?void 0:{as:r}})]),i(h.DialogActionsBar,t.v3?function(){return[i(d.Button,{disabled:!t.renderProps.allowSubmit,attrs:t.v3?void 0:{disabled:!t.renderProps.allowSubmit},onClick:t.renderProps.onSubmit,on:t.v3?void 0:{click:t.renderProps.onSubmit}},t.v3?function(){return[s]}:[s]),i(d.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},t.v3?function(){return[a]}:[a])]}:[i(d.Button,{disabled:!t.renderProps.allowSubmit,attrs:t.v3?void 0:{disabled:!t.renderProps.allowSubmit},onClick:t.renderProps.onSubmit,on:t.v3?void 0:{click:t.renderProps.onSubmit}},t.v3?function(){return[s]}:[s]),i(d.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},t.v3?function(){return[a]}:[a])])])},methods:{handleCancel:function(e){this.$emit("cancel",{value:null,event:e,target:this.form})},handleClose:function(e){var t=e.event;this.$emit("close",{value:null,event:t,target:this.form})},handleSubmit:function(e,t){this.$emit("submit",{value:e,event:t,target:this.form})},startAfterEndValidator:function(e,t){return Boolean(e&&t(this.fields.end)&&e.getTime()>t(this.fields.end).getTime())?this.startValidationMessage:void 0},endAfterStartValidator:function(e,t){return Boolean(e&&t(this.fields.start)&&e.getTime()<t(this.fields.start).getTime())?this.endValidationMessage:void 0},requiredValidator:function(e){return e?void 0:this.requiredValidationMessage},formValidator:function(e,t){var i={};i[this.fields.start]=[this.requiredValidator(t(this.fields.start)),this.startAfterEndValidator(t(this.fields.start),t)].filter(Boolean).reduce((function(e,t){return e||t}),""),i[this.fields.end]=[this.requiredValidator(t(this.fields.start)),this.endAfterStartValidator(t(this.fields.start),t)].filter(Boolean).reduce((function(e,t){return e||t}),"");var r=this.$props.validator(e,t);return n(n({},i),r)}}};t.SchedulerFormVue2=v;var g=v;t.SchedulerForm=g},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerOccurrenceDialogVue2=t.SchedulerOccurrenceDialog=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(63),d=i(2),c=i(11),h=i(3),p={name:"KendoSchedulerOccurrenceDialog",props:{dataItem:Object,isRemove:Boolean},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a,kendoLocalizationService:l("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=a||e,n=this.$props.isRemove,r=d.provideLocalizationService(this),o=function(e){return r.toLanguageString(e,c.messages[e])},s=o(c.editorOccurrence),l=o(c.editorSeries),p=o(c.editorRecurringConfirmation),f=o(c.editorRecurringDialogTitle),m=o(c.deleteOccurrence),v=o(c.deleteSeries),g=o(c.deleteRecurringDialogTitle),y=o(c.deleteRecurringConfirmation),b=n?g:f,k=n?y:p,S=n?m:s,w=n?v:l;return i(u.Dialog,{title:b,attrs:this.v3?void 0:{title:b},onClose:this.handleClose,on:this.v3?void 0:{close:this.handleClose}},this.v3?function(){return[k,i(u.DialogActionsBar,[i(h.Button,{onClick:t.handleOccurrenceClick,on:t.v3?void 0:{click:t.handleOccurrenceClick}},[S]),i(h.Button,{onClick:t.handleSeriesClick,on:t.v3?void 0:{click:t.handleSeriesClick}},[w])])]}:[k,i(u.DialogActionsBar,[i(h.Button,{onClick:t.handleOccurrenceClick,on:t.v3?void 0:{click:t.handleOccurrenceClick}},[S]),i(h.Button,{onClick:t.handleSeriesClick,on:t.v3?void 0:{click:t.handleSeriesClick}},[w])])])},methods:{handleClose:function(e){var t=e.event;this.$emit("close",{event:t,value:null})},handleSeriesClick:function(e){this.$emit("seriesclose",{event:e,value:null})},handleOccurrenceClick:function(e){this.$emit("occurrenceclose",{event:e,value:null})}}};t.SchedulerOccurrenceDialogVue2=p;var f=p;t.SchedulerOccurrenceDialog=f},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerRemoveDialogVue2=t.SchedulerRemoveDialog=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(63),d=i(2),c=i(11),h=i(3),p={name:"KendoSchedulerRemoveDialog",props:{dataItem:Object},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a,kendoLocalizationService:l("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=a||e,n=d.provideLocalizationService(this),r=n.toLanguageString(c.editorCancel,c.messages[c.editorCancel]),o=n.toLanguageString(c.editorDelete,c.messages[c.editorDelete]),s=n.toLanguageString(c.deleteConfirmation,c.messages[c.deleteConfirmation]),l=n.toLanguageString(c.deleteDialogTitle,c.messages[c.deleteDialogTitle]);return i(u.Dialog,{title:l,attrs:this.v3?void 0:{title:l},onClose:this.handleClose,on:this.v3?void 0:{close:this.handleClose}},this.v3?function(){return[s,i(u.DialogActionsBar,[i(h.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},[r]),i(h.Button,{onClick:t.handleConfirm,on:t.v3?void 0:{click:t.handleConfirm}},[o])])]}:[s,i(u.DialogActionsBar,[i(h.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},[r]),i(h.Button,{onClick:t.handleConfirm,on:t.v3?void 0:{click:t.handleConfirm}},[o])])])},methods:{handleClose:function(e){var t=e.event;this.$emit("close",{event:t})},handleCancel:function(e){this.$emit("cancel",{event:e,value:null})},handleConfirm:function(e){this.$emit("confirm",{event:e,value:null})}}};t.SchedulerRemoveDialogVue2=p;var f=p;t.SchedulerRemoveDialog=f},function(e,t,i){"use strict";i.r(t),i.d(t,"expand",(function(){return Jt})),i.d(t,"parseRule",(function(){return ti})),i.d(t,"serializeRule",(function(){return ni}));var n={};i.r(n),i.d(n,"byMonth",(function(){return Et})),i.d(n,"byMonthDay",(function(){return $t})),i.d(n,"byYearDay",(function(){return xt})),i.d(n,"byWeekNumber",(function(){return Mt})),i.d(n,"byWeekDay",(function(){return Rt})),i.d(n,"byHour",(function(){return _t})),i.d(n,"byMinute",(function(){return Ft})),i.d(n,"bySecond",(function(){return At}));var r=i(69),o=i(24),s=i(6),a=i(68),l=i(25),u=i(9),d=function(e){return e instanceof Array&&e.length>0},c=function(e){return d(e.bySecond)||d(e.byMinute)||d(e.byHour)||d(e.byYearDay)||d(e.byMonthDay)||d(e.byWeekDay)||d(e.byMonth)||d(e.byWeekNumber)},h=function(e){for(var t=e.split(";"),i=[],n=null,r=0;r<t.length;r++){var o=t[r].split(":"),s=o[0],a=o[1],l=void 0===a?"":a,u=s.indexOf("TZID");-1!==u&&(n=s.substring(u).split("=")[1]),i=l.split(",").map((function(e){return ut(e,n)}))}return i.length&&null!==i[0]?i:null},p=function(e){var t=h(e);return null===t?null:t[0]},f={en:{name:"en",identity:{version:{_number:"$Revision: 12418 $",_cldrVersion:"29"},language:"en"},territory:"US",numbers:{symbols:{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},decimal:{patterns:["n"],groupSize:[3]},scientific:{patterns:["nEn"],groupSize:[]},percent:{patterns:["n%"],groupSize:[3]},currency:{patterns:["$n"],groupSize:[3],"unitPattern-count-one":"n $","unitPattern-count-other":"n $"},currencies:{BGN:{displayName:"Bulgarian Lev","displayName-count-one":"Bulgarian lev","displayName-count-other":"Bulgarian leva",symbol:"BGN"},EUR:{displayName:"Euro","displayName-count-one":"euro","displayName-count-other":"euros",symbol:"€","symbol-alt-narrow":"€"},USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}},localeCurrency:"USD",accounting:{patterns:["$n","($n)"],groupSize:[3]}},calendar:{gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",patterns:{d:"M/d/y",D:"EEEE, MMMM d, y",m:"MMM d",M:"MMMM d",y:"MMM y",Y:"MMMM y",F:"EEEE, MMMM d, y h:mm:ss a",g:"M/d/y h:mm a",G:"M/d/y h:mm:ss a",t:"h:mm a",T:"h:mm:ss a",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d","MMMMW-count-one":"'week' W 'of' MMMM","MMMMW-count-other":"'week' W 'of' MMMM",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y","yw-count-one":"'week' w 'of' Y","yw-count-other":"'week' w 'of' Y"}},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},days:{format:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},months:{format:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},quarters:{format:{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{format:{wide:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},abbreviated:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},narrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}}},dateFields:{era:{wide:"era"},year:{wide:"year",short:"yr.",narrow:"yr."},quarter:{wide:"quarter",short:"qtr.",narrow:"qtr."},month:{wide:"month",short:"mo.",narrow:"mo."},week:{wide:"week",short:"wk.",narrow:"wk."},day:{wide:"day",short:"day",narrow:"day"},weekday:{wide:"day of the week"},dayperiod:{wide:"AM/PM"},hour:{wide:"hour",short:"hr.",narrow:"hr."},minute:{wide:"minute",short:"min.",narrow:"min."},second:{wide:"second",short:"sec.",narrow:"sec."},millisecond:{wide:"millisecond",short:"ms",narrow:"ms"},zone:{wide:"time zone"}}}},supplemental:{likelySubtags:{en:"en-Latn-US"},currencyData:{region:{US:[{USD:{_from:"1792-01-01"}}]}},weekData:{firstDay:{US:"sun"},weekendStart:{"001":"sat"},weekendEnd:{"001":"sun"}}}};function m(e){return"string"==typeof e}var v=/\{(\d+)}?\}/g,g=function(e){var t=e.name,i=e.message;if(!t||!i)throw new Error("{ name: string, message: string } object is required!");this.name=t,this.message=i};g.prototype.formatMessage=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i=y(e),n=this.message.replace(v,(function(e,t){return i[parseInt(t,10)]}));return this.name+": "+n},g.prototype.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new Error(this.formatMessage(e))};var y=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},b=function(e){return Object.keys(e).reduce((function(t,i){return t[i]=new g({name:i,message:e[i]}),t}),{})}({NoLocale:"Missing locale info for '{0}'",NoCurrency:"Cannot determine currency information. Please load the locale currencies data.",NoSupplementalCurrency:"Cannot determine currency. Please load the supplemental currencyData.",NoCurrencyRegion:"No currency data for region '{0}'",NoCurrencyDisplay:"Cannot determine currency display information. Please load the locale currencies data. The default culture does not include the all currencies data.",NoGMTInfo:"Cannot determine locale GMT format. Please load the locale timeZoneNames data.",NoWeekData:"Cannot determine locale first day of week. Please load the supplemental weekData.",NoFirstDay:"Cannot determine locale first day of week. Please load the supplemental weekData. The default culture includes only the 'en-US' first day info.",NoValidCurrency:"Cannot determine a default currency for the {0} locale. Please specify explicitly the currency with the format options.",NoDateFieldNames:"Cannot determine the locale date field names. Please load the locale dateFields data."});var k=f;function S(e){return m(e)?w(e):e}function w(e){if(k[e])return k[e];if(k.supplemental.likelySubtags){var t=e.split("-"),i=t[0],n=t.slice(1),r=function(e,t){for(var i=k.supplemental.likelySubtags,n=0;n<t.length;n++){var r=i[e+"-"+t[n]];if(r)return r}if(i[e])return i[e]}(i,n),o=r?function(e,t){var i=e.split("-"),n=i[0],r=i[1],o=i[2];return k[e]||-1!==t.indexOf(o)&&k[n+"-"+o]||-1!==t.indexOf(r)&&k[n+"-"+r]||k[n]}(r,n):null;if(o)return o}throw b.NoLocale.error(e)}function D(e){if(e.territory)return e.territory;var t,i=e.name,n=e.identity;return t=n&&n.territory?n.territory:function(e,t){var i=k.supplemental.likelySubtags,n=e.split("-");if(i){var r=i[e]||i[n[0]];r&&(n=r.split("-"))}if(t)for(var o=n.length-1;o>=1;o--){var s=n[o];s!==t.variant&&s!==t.script||n.splice(o,1)}var a=n.length;if(a>1)return n[a-1].toUpperCase()}(i,n),e.territory=t,t}function I(e,t){var i,n=t.type,r=t.nameType,o=t.standAlone,s=t.lower,a=o?"stand-alone":"format",l=(s?"lower-":"")+r,u=S(e).calendar[n][a],d=u[l];return!d&&s&&(d=u[l]=(i=u[r],Array.isArray(i)?function(e){for(var t=[],i=0;i<e.length;i++)t.push(e[i].toLowerCase());return t}(i):function(e){var t={};for(var i in e)t[i]=e[i].toLowerCase();return t}(i))),d}function C(e){var t=e.split("-"),i=parseInt(t[0],10),n=parseInt(t[1],10)-1,r=parseInt(t[2],10);return new Date(i,n,r)}var T=b.NoCurrency,O=b.NoCurrencyDisplay,E=b.NoSupplementalCurrency,$=b.NoCurrencyRegion,x=b.NoValidCurrency,M={"001":"USD",150:"EUR"};function R(e,t,i){var n=S(e).numbers.currencies;if(n){var r=n[t];if(r)return r;if(i)throw O.error()}else if(i)throw T.error()}function _(e,t){if(void 0===t&&(t=!0),M[e])return M[e];var i=k.supplemental.currencyData;if(i){var n=i.region[e];if(n)return function(e){for(var t,i,n,r,o=0;o<e.length;o++){var s=e[o],a=Object.keys(s)[0],l=s[a];if("XXX"!==a&&"false"!==l._tender&&l._from)if(l._to){if(!n){var u=C(l._from),d=C(l._to);(!i||i.to<d||i.from<u)&&(t=a,i={from:u,to:d})}}else{var c=C(l._from);(!r||r<c)&&(n=a,r=c)}}return n||t}(n);if(t)throw $.error(e)}else if(t)throw E.error()}function F(e,t){var i=S(e),n=i.numbers;if(!n.localeCurrency){var r=_(D(i),t);if(!r&&t)throw x.error(i.name);n.localeCurrency=r}return n.localeCurrency}var A=["sun","mon","tue","wed","thu","fri","sat"],z=b.NoWeekData,V=b.NoFirstDay;b.NoWeekData;function j(e){return 1/e==-1/0}function N(e,t){return void 0===t&&(t={}),t.currency||(t.currency=F(e,!0)),function(e,t){var i=t.value,n=t.currency,r=t.currencyDisplay;if(void 0===r&&(r="symbol"),"code"===r)return n;var o=R(e,n,!0);return"symbol"===r?o["symbol-alt-narrow"]||o.symbol:void 0===typeof i||1!==i?o["displayName-count-other"]:o["displayName-count-one"]}(e,t)}function P(e,t,i,n,r){var o=r.numbers.symbols,s=e.indexOf(o.decimal),a=n.groupSize.slice(),l=a.shift(),u=-1!==s?s:i+1,d=e.substring(t,u),c=e,h=d.length;if(h>=l){for(var p=h,f=[];p>-1;){var m=d.substring(p-l,p);m&&f.push(m),p-=l;var v=a.shift();if(0===(l=void 0!==v?v:l)){(m=d.substring(0,p))&&f.push(m);break}}d=f.reverse().join(o.group),c=e.substring(0,t)+d+e.substring(u)}return c}function B(e){return"currency"===e||"accounting"===e}function L(e,t,i){void 0===t&&(t=2),void 0===i&&(i=!1);var n=t-String(e).length,r=e;if(n>0){var o=new Array(n+1).join("0");r=i?e+o:o+e}return r}function H(e,t){var i=e,n=t||0;return i=i.toString().split("e"),i=(i=Math.round(Number(i[0]+"e"+(i[1]?Number(i[1])+n:n)))).toString().split("e"),(i=Number(i[0]+"e"+(i[1]?Number(i[1])-n:-n))).toFixed(Math.min(n,20))}var U=/0+$/;function W(e){var t,i=e.minimumFractionDigits,n=e.maximumFractionDigits,r=e.style,o=B(r);return o&&(t=function(e){var t=2,i=2,n=((k.supplemental.currencyData||{}).fractions||{})[e];return n&&n._digits&&(i=t=parseInt(n._digits,10)),{minimumFractionDigits:t,maximumFractionDigits:i}}(e.currency)),void 0===i&&(i=o?t.minimumFractionDigits:0),void 0===n&&(n="percent"===r?Math.max(i,0):o?Math.max(i,t.maximumFractionDigits):Math.max(i,3)),{minimumFractionDigits:i,maximumFractionDigits:n}}var K=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g;function Y(e,t){var i=e.format;-1!==i.indexOf("%")&&(e.style="percent",e.symbol=t.numbers.symbols.percentSign,e.number*=100),-1!==i.indexOf("$")&&(e.style="currency",e.symbol=N(t))}function G(e){var t=e.format;if(t.indexOf("'")>-1||t.indexOf('"')>-1||t.indexOf("\\")>-1){var i=e.literals=[];e.format=t.replace(K,(function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return i.push(n),"__??__"}))}}var q=/(\.(?:[0-9]*[1-9])?)0+$/g,Z=/\.$/,X=/\,/g;function J(e){var t,i,n,r=e.number,o=e.format,s=o.indexOf(".");if(-1!==s){var a=o.lastIndexOf("0")-s,l=o.lastIndexOf("#")-s,u=a>-1,d=l>-1,c=r.toString().split("e"),h=(c=(c=c[1]?H(r,Math.abs(c[1])):c[0]).split(".")[1]||"").length,p=-1;u||d?u&&a>l?h=a:l>a&&(d&&h>l?h=l:u&&h<a&&(h=a),p=u?a:0):(e.format=o.substring(0,s)+o.substring(s+1),s=-1,h=0),h>-1&&(r=H(r,h),p>-1&&(t=r,n=0===(i=p)?q:new RegExp("(\\.[0-9]{"+i+"}[1-9]*)0+$","g"),r=t.replace(n,"$1").replace(Z,"")))}else r=H(r);e.negative&&-1*r>=0&&!e.negativeZero&&(e.negative=!1),e.number=r,e.decimalIndex=s}function Q(e,t,i){return-1===e&&-1!==t?t:-1!==e&&-1===t?e:i?Math.min(e,t):Math.max(e,t)}function ee(e,t){var i=e.number;return-1!==e.start&&(i=function(e,t){var i=e;if(t)for(var n=t.length,r=0;r<n;r++)i=i.replace("__??__",t[r]);return i}(i=function(e,t,i){var n=e;if("currency"===t||"percent"===t){n="";for(var r=0,o=e.length;r<o;r++){var s=e.charAt(r);n+="$"===s||"%"===s?i:s}}return n}(i=function(e,t){var i=e.start,n=e.end,r=e.negative,o=e.negativeZero,s=e.format,a=e.decimalIndex,l=e.lastZeroIndex,u=e.hasNegativeFormat,d=e.hasGroup,c=e.number,h=c.toString().split("."),p=s.length,f=h[0],m=h[1]||"",v=f.length,g="";c=s.substring(0,i),!r&&!o||u||(c+="-");for(var y=i;y<p;y++){var b=s.charAt(y);if(-1===a){if(n-y<v){c+=f;break}}else if(-1!==l&&l<y&&(g=""),a-y<=v&&a-y>-1&&(c+=f,y=a),a===y){c+=(m?t.numbers.symbols.decimal:"")+m,y+=n-a+1;continue}"0"===b?(c+=b,g=b):"#"===b&&(c+=g)}return d&&(c=P(c,i+(r&&!u?1:0),Math.max(n,v+i),t.numbers.decimal,t)),n>=i&&(c+=s.substring(n+1)),c}(e,t),e.style,e.symbol),e.literals)),i}function te(e,t,i){var n={negative:e<0,number:Math.abs(e),negativeZero:j(e),format:t};return function(e){var t=e.number,i=e.format;if(i=i.split(";"),(e.negative||e.negativeZero)&&i[1])i=i[1],e.hasNegativeFormat=!0;else if(0===t){var n=i[2];i=n||i[0],n&&function(e){return-1===e.indexOf("#")&&-1===e.indexOf("0")}(n)&&(e.constant=n)}else i=i[0];e.format=i}(n),n.constant?n.constant:(G(n),Y(n,i),function(e){e.hasGroup=e.format.indexOf(",")>-1,e.hasGroup&&(e.format=e.format.replace(X,""))}(n),J(n),function(e){var t=e.format,i=t.indexOf("#"),n=t.indexOf("0"),r=Q(i,n,!0),o=Q(i=t.lastIndexOf("#"),n=t.lastIndexOf("0"));r===t.length&&(o=r),e.start=r,e.end=o,e.lastZeroIndex=n}(n),ee(n,i))}var ie=/^(n|c|p|e|a)(\d*)$/i;function ne(e){return m(e)?function(e){var t=ie.exec(e);if(t){var i={style:"decimal"},n=t[1].toLowerCase();return"c"===n?i.style="currency":"a"===n?i.style="accounting":"p"===n?i.style="percent":"e"===n&&(i.style="scientific"),t[2]&&(i.minimumFractionDigits=i.maximumFractionDigits=parseInt(t[2],10)),i}}(e):e}function re(e,t,i){if(void 0===t&&(t="n"),void 0===i&&(i="en"),null==e)return"";if(!isFinite(e))return String(e);var n,r=w(i),o=ne(t);if(o){var s=o.style||"decimal";n=function(e,t,i){var n=i.numbers.symbols,r=t.style,o=B(r);if("scientific"===r)return(void 0!==t.minimumFractionDigits?e.toExponential(t.minimumFractionDigits):e.toExponential()).replace(".",n.decimal);var s,a=e;o&&(t.value=a,s=N(i,t)),"percent"===r&&(a*=100,s=n.percentSign);var l=W(t),u=l.minimumFractionDigits,d=(a=H(a,l.maximumFractionDigits))<0,c=j(e),h=a.split("."),p=h[0],f=L(h[1]?h[1].replace(U,""):"",u,!0);d&&(p=p.substring(1)),t.minimumIntegerDigits&&(p=L(p,t.minimumIntegerDigits));var m,v=!1!==t.useGrouping?P(p,0,p.length,t,i):p;if(f&&(v+=n.decimal+f),o&&"name"===t.currencyDisplay)m=function(e,t){var i=e.numbers.currency,n=1!==t?i["unitPattern-count-other"]:i["unitPattern-count-one"];return t<0&&(n=n.replace("n","-n")),n}(i,e);else{var g=t.patterns;m=d||c?g[1]||"-"+g[0]:g[0]}return"n"!==m||d?function(e,t,i){for(var n="",r=0,o=t.length;r<o;r++){var s=t.charAt(r);n+="n"===s?e:"$"===s||"%"===s?i:s}return n}(v,m,s):v}(e,Object.assign({},r.numbers[s],o),r)}else n=te(e,t,r);return n}function oe(e){return"number"==typeof e}var se=/\{(\d+)}/g;function ae(e){var t=arguments;return e.replace(se,(function(e,i){return t[parseInt(i,10)+1]}))}var le=[2,1,5,3,4],ue={};ue[(-2).toString()]=8,ue[(-1).toString()]=6,ue[2..toString()]=6,ue[1..toString()]=3;var de={numeric:1,"2-digit":2,short:3,long:4,narrow:5},ce=/[hHmsSzZoOvVxX]/;var he=[{key:"era",specifier:"G"},{key:"year",specifier:"y"},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:function(e){return e.hour12?"h":"H"}},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],pe={e:"c",E:"c",M:"L",Q:"q"},fe={},me={};function ve(e){return fe[e]||(fe[e]=new RegExp(e+"+")),fe[e]}function ge(e){for(var t=[],i=e.charAt(0),n=i,r=1;r<e.length;r++){var o=e.charAt(r);o===n?i+=o:(t.push(i),i=n=o)}return t.push(i),t}function ye(e,t){var i,n,r=e.length,o=-Number.MAX_VALUE;for(var s in t){for(var a=[],l=s.replace("v","z"),u=0,d=0;d<r;d++){var c=e[d],h=(ve(c[0]).exec(l)||[])[0];if(h){if(l=l.replace(h,""),h.length!==c.length){var p=Math.max(Math.min(le[h.length]-le[c.length],2),-2);u-=ue[p]}}else u-=120;if(a.push(h),u<o)break}l.length&&(u-=20*ge(l).length),u>o&&(o=u,i=a,n=t[s])}n=n.replace("v","z");for(var f=0;f<r;f++){var m=i[f];if(m&&m!==e[f]){var v=i[f][0];n=n.replace(ve(v),e[f]),pe[v]&&(n=n.replace(ve(pe[v]),e[f]))}}return n}function be(e,t){var i=t.calendar.dateTimeFormats.availableFormats;if(i[e])return i[e];if(me[t.name]&&me[t.name][e])return me[t.name][e];var n,r=e.search(ce);if(r>0){var o=e.substr(0,r),s=e.substr(r);n=ae(t.calendar.dateTimeFormats.short,i[s]||ye(ge(s),i),i[o]||ye(ge(o),i))}else n=ye(ge(e),i);return function(e,t,i){me[i]||(me[i]={}),me[i][e]=t}(e,n,t.name),n}function ke(e,t){var i,n=t.calendar;if(m(e))i=n.patterns[e]?n.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var r=e.skeleton;r||(e.datetime?i=ae(n.dateTimeFormats[e.datetime],n.timeFormats[e.datetime],n.dateFormats[e.datetime]):e.date?i=n.dateFormats[e.date]:e.time?i=n.timeFormats[e.time]:r=function(e){for(var t=[],i=0;i<he.length;i++){var n=he[i],r=e[n.key];if(r){var o=n.specifier||n.getSpecifier(e);t.push(o.repeat(de[r]))}}return t.join("")}(e)),r&&(i=be(r,t))}return i||(i=n.patterns.d),i}function Se(e){var t;return e<=3?t="abbreviated":4===e?t="wide":5===e?t="narrow":6===e&&(t="short"),t}function we(e,t,i,n,r){return I(e,{type:t,nameType:Se(i),standAlone:n,lower:r})}function De(e){return"function"==typeof e}function Ie(e){return Boolean(e)&&De(e.getTime)&&De(e.getMonth)}var Ce=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g;function Te(e,t,i){var n=function(e){var t=S(e);if(!isNaN(t.firstDay))return t.firstDay;var i=k.supplemental.weekData;if(!i)throw z.error();var n=i.firstDay[D(t)]||i.firstDay["001"];if(!n)throw V.error();return t.firstDay=A.indexOf(n),t.firstDay}(i);return(e<n?7-n+e:e-n)+1}function Oe(e,t,i,n){return t<=2?L(e+1,t):we(i,"months",t,n)[e]}function Ee(e,t,i,n){var r=Math.floor(e.getMonth()/3);return t<3?r+1:we(i,"quarters",t,n)[r]}function $e(e,t,i){var n=i.shortHours,r=i.optionalMinutes,o=i.separator,s=i.localizedName,a=i.zZeroOffset,l=e.getTimezoneOffset()/60;if(0===l&&a)return"Z";var u=l<=0?"+":"-",d=Math.abs(l).toString().split("."),c=d[1]||0,h=u+(n?d[0]:L(d[0],2));(!c&&r||(h+=(o?":":"")+L(c,2)),s)&&(h=ae(0===l?t.calendar.gmtZeroFormat:t.calendar.gmtFormat,h));return h}function xe(e,t,i,n){return t<3?Te(e.getDay(),0,i):we(i,"days",t,n)[e.getDay()]}var Me={};function Re(e,t,i){if(void 0===i&&(i="en"),!Ie(e))return null==e?"":e;var n=w(i);return ke(t,n).replace(Ce,(function(t){var i=t.length;return t.includes("'")||t.includes('"')?t.slice(1,i-1):Me[t[0]](e,i,n)}))}function _e(e,t,i){var n=e.getTimezoneOffset(),r=new Date(e.getTime()+6e4*(t-i)),o=r.getTimezoneOffset();return new Date(r.getTime()+6e4*(o-n))}Me.d=function(e,t){return L(e.getDate(),t)},Me.E=function(e,t,i){return we(i,"days",t)[e.getDay()]},Me.M=function(e,t,i){return Oe(e.getMonth(),t,i,!1)},Me.L=function(e,t,i){return Oe(e.getMonth(),t,i,!0)},Me.y=function(e,t){var i=e.getFullYear();return 2===t&&(i%=100),L(i,t)},Me.h=function(e,t){return L(e.getHours()%12||12,t)},Me.H=function(e,t){return L(e.getHours(),t)},Me.k=function(e,t){return L(e.getHours()||24,t)},Me.K=function(e,t){return L(e.getHours()%12,t)},Me.m=function(e,t){return L(e.getMinutes(),t)},Me.s=function(e,t){return L(e.getSeconds(),t)},Me.S=function(e,t){var i=e.getMilliseconds();return 0!==i?L(String(i/1e3).split(".")[1].substr(0,t),t,!0):L("",t)},Me.a=function(e,t,i){return we(i,"dayPeriods",t)[e.getHours()<12?"am":"pm"]},Me.z=function(e,t,i){return $e(e,i,{shortHours:t<4,optionalMinutes:t<4,separator:!0,localizedName:!0})},Me.Z=function(e,t,i){return $e(e,i,{separator:t>3,localizedName:4===t,zZeroOffset:5===t})},Me.x=function(e,t,i){return $e(e,i,{optionalMinutes:1===t,separator:3===t||5===t})},Me.X=function(e,t,i){return $e(e,i,{optionalMinutes:1===t,separator:3===t||5===t,zZeroOffset:!0})},Me.G=function(e,t,i){var n=e.getFullYear()>=0?1:0;return we(i,"eras",t)[n]},Me.e=xe,Me.c=function(e,t,i){return xe(e,t,i,!0)},Me.q=function(e,t,i){return Ee(e,t,i,!0)},Me.Q=Ee;var Fe=/([+|\-]\d{1,2})(:?)(\d{2})?/,Ae=/^\/Date\((.*?)\)\/$/,ze=/[+-]\d*/,Ve={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},je=/\d+/,Ne=/^ */,Pe=/ *$/,Be=["yyyy/MM/dd HH:mm:ss","yyyy/MM/dd HH:mm","yyyy/MM/dd","E MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:ss.SSSSSSSXXX","yyyy-MM-ddTHH:mm:ss.SSSXXX","yyyy-MM-ddTHH:mm:ss.SSXXX","yyyy-MM-ddTHH:mm:ssXXX","yyyy-MM-ddTHH:mm:ss.SSSSSSS","yyyy-MM-ddTHH:mm:ss.SSS","yyyy-MM-ddTHH:mmXXX","yyyy-MM-ddTHH:mmX","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","yyyy-MM-dd","HH:mm:ss","HH:mm"],Le=["G","g","F","Y","y","M","m","D","d","y","T","t"];function He(e,t,i){return!(e>=t&&e<=i)}function Ue(e,t){for(var i=t.format,n=t.idx,r=0;i[n]===e;)r++,n++;return r>0&&(n-=1),t.idx=n,r}function We(e,t){var i=e?Ve[e]||new RegExp("^\\d{1,"+e+"}"):je,n=t.value.substr(t.valueIdx,e).match(i);return n?(n=n[0],t.valueIdx+=n.length,parseInt(n,10)):null}function Ke(e,t,i){for(var n,r,o,s=0,a=e.length,l=0,u=0;s<a;s++)r=(n=e[s]).length,o=t.value.substr(t.valueIdx,r),i&&(o=o.toLowerCase()),o===n&&r>l&&(l=r,u=s);return l?(t.valueIdx+=l,u+1):null}function Ye(e){var t=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,t=!0),t}function Ge(e,t,i){var n=i.shortHours,r=i.noSeparator,o=i.optionalMinutes,s=i.localizedName,a=i.zLiteral;if(e.UTC=!0,a&&"Z"===e.value.charAt(e.valueIdx))return e.valueIdx++,!1;if(s&&!Ke(function(e){var t=e.gmtFormat,i=e.gmtZeroFormat;if(!t)throw b.NoGMTInfo.error();return[t.replace("{0}","").toLowerCase(),i.replace("{0}","").toLowerCase()]}(t.calendar),e,!0))return!0;var l=Fe.exec(e.value.substr(e.valueIdx,6));if(!l)return!s;var u=l[1],d=l[3],c=parseInt(u,10),h=l[2],p=parseInt(d,10);return!!(isNaN(c)||!n&&3!==u.length||!o&&isNaN(p)||r&&h)||(isNaN(p)&&(p=null),!!(He(c,-12,13)||p&&He(p,0,59))||(e.valueIdx+=l[0].length,e.hoursOffset=c,void(e.minutesOffset=p)))}function qe(e,t,i){var n=Ue(e,t),r=we(i,"months",n,"L"===e,!0),o=n<3?We(2,t):Ke(r,t,!0);if(null===o||He(o,1,12))return!0;t.month=o-1}function Ze(e,t,i){var n=Ue(e,t),r=we(i,"days",n,"c"===e,!0),o=n<3?We(1,t):Ke(r,t,!0);if(!o&&0!==o||He(o,1,7))return!0}var Xe={};function Je(e,t){return""+Ne.exec(t)[0]+e+Pe.exec(t)[0]}function Qe(e,t,i){for(var n=ke(t,i).split(""),r={format:n,idx:0,value:Je(e,t),valueIdx:0,year:null,month:null,day:null,hours:null,minutes:null,seconds:null,milliseconds:null},o=n.length,s=!1;r.idx<o;r.idx++){var a=n[r.idx];if(s)"'"===a&&(s=!1),Ye(r);else if(Xe[a]){if(Xe[a](r,i))return null}else if("'"===a)s=!0,Ye(r);else if(!Ye(r))return null}return r.valueIdx<e.length?null:function(e){var t,i=e.year,n=e.month,r=e.day,o=e.hours,s=e.minutes,a=e.seconds,l=e.milliseconds,u=e.pmHour,d=e.UTC,c=e.hoursOffset,h=e.minutesOffset,p=null!==o||null!==s||a||null,f=new Date;return null===i&&null===n&&null===r&&p?(i=f.getFullYear(),n=f.getMonth(),r=f.getDate()):(null===i&&(i=f.getFullYear()),null===r&&(r=1)),u&&o<12&&(o+=12),d?(c&&(o+=-c),h&&(s+=-h*(c<0?-1:1)),t=new Date(Date.UTC(i,n,r,o,s,a,l))):function(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}(t=new Date(i,n,r,o,s,a,l),o),i<100&&t.setFullYear(i),t.getDate()!==r&&void 0===d?null:t}(r)||null}function et(e){if(e&&0===e.indexOf("/D")){var t=Ae.exec(e);if(t){t=t[1];var i=ze.exec(t.substring(1));return t=new Date(parseInt(t,10)),i&&(n=i[0],r="-"===n.substr(0,1)?-1:1,o=n.substring(1),i=r*(o=60*parseInt(o.substr(0,2),10)+parseInt(o.substring(2),10)),t=_e(t,t.getTimezoneOffset(),0),t=_e(t,0,-1*i)),t}}var n,r,o}function tt(e,t,i){if(void 0===i&&(i="en"),!e)return null;if(Ie(e))return e;var n=String(e).trim(),r=et(n);if(r)return r;for(var o=w(i),s=t||function(e){for(var t=[],i=e.patterns,n=Le.length,r=0;r<n;r++)t.push(i[Le[r]]);return t.concat(Be)}(o.calendar),a=(s=Array.isArray(s)?s:[s]).length,l=0;l<a;l++)if(r=Qe(n,s[l],o))return r;return r}Xe.d=function(e){Ue("d",e);var t=We(2,e);if(null===t||He(t,1,31))return!0;null===e.day&&(e.day=t)},Xe.E=function(e,t){if(null===Ke(we(t,"days",Ue("E",e),!1,!0),e,!0))return!0},Xe.M=function(e,t){return qe("M",e,t)},Xe.L=function(e,t){return qe("L",e,t)},Xe.y=function(e){var t=Ue("y",e),i=We(1===t?void 0:t,e);if(null===i)return!0;if(2===t){var n=(new Date).getFullYear();(i=n-n%100+i)>2029&&(i-=100)}e.year=i},Xe.h=function(e){Ue("h",e);var t=We(2,e);if(12===t&&(t=0),null===t||He(t,0,11))return!0;e.hours=t},Xe.K=function(e){Ue("K",e);var t=We(2,e);if(null===t||He(t,0,11))return!0;e.hours=t},Xe.a=function(e,t){var i=we(t,"dayPeriods",Ue("a",e),!1,!0),n=Ke([i.pm],e,!0);if(!n&&!Ke([i.am],e,!0))return!0;e.pmHour=n},Xe.H=function(e){Ue("H",e);var t=We(2,e);if(null===t||He(t,0,23))return!0;e.hours=t},Xe.k=function(e){Ue("k",e);var t=We(2,e);if(null===t||He(t,1,24))return!0;e.hours=24===t?0:t},Xe.m=function(e){Ue("m",e);var t=We(2,e);if(null===t||He(t,0,59))return!0;e.minutes=t},Xe.s=function(e){Ue("s",e);var t=We(2,e);if(null===t||He(t,0,59))return!0;e.seconds=t},Xe.S=function(e){var t=Ue("S",e),i=e.value.substr(e.valueIdx,t),n=null;if(isNaN(parseInt(i,10))||(n=H(n=parseFloat("0."+i,10),3),n*=1e3,e.valueIdx+=t),null===n||He(n,0,999))return!0;e.milliseconds=n},Xe.z=function(e,t){var i=Ue("z",e)<4,n=Ge(e,t,{shortHours:i,optionalMinutes:i,localizedName:!0});if(n)return n},Xe.Z=function(e,t){var i=Ue("Z",e),n=Ge(e,t,{noSeparator:i<4,zLiteral:5===i,localizedName:4===i});if(n)return n},Xe.x=function(e,t){var i=Ue("x",e),n=Ge(e,t,{noSeparator:3!==i&&5!==i,optionalMinutes:1===i});if(n)return n},Xe.X=function(e,t){var i=Ue("X",e),n=Ge(e,t,{noSeparator:3!==i&&5!==i,optionalMinutes:1===i,zLiteral:!0});if(n)return n},Xe.G=function(e,t){var i=we(t,"eras",Ue("G",e),!1,!0);if(null===Ke([i[0],i[1]],e,!0))return!0},Xe.e=function(e,t){return Ze("e",e,t)},Xe.c=function(e,t){return Ze("c",e,t)};function it(e,t,i){if(t){if(Ie(e))return Re(e,t,i);if(oe(e))return re(e,t,i)}return null!=e?e:""}var nt=function(e){if(!e||0===e.length)return"";var t=e[0].timezone,i="Etc/UTC"===t,n=i?"Z":"";return(t&&!i?";TZID="+t:"")+":"+e.map((function(e){return Re(e,"yyyyMMddTHHmmss")+n})).join(",")+" "},rt=function(e,t){if(!t)return!1;var i=t.start,n=t.end;return e<i||e>n||0===e&&i<0},ot=function(e,t){return e-t},st=function(e,t){for(var i=[],n=0;n<e.length;n++){var r=parseInt(e[n],10);if(isNaN(r)||rt(r,t))return[];i.push(r)}return i.sort(ot)},at=["yyyyMMddTHHmmssSSSXXX","yyyyMMddTHHmmssXXX","yyyyMMddTHHmmss","yyyyMMddTHHmm","yyyyMMddTHH","yyyyMMdd"];function lt(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}var ut=function(e,t){var i=tt(e)||tt(e,at);if(!i)return null;var n=t?lt(i):i;return r.a.fromUTCDate(n,t||"Etc/UTC")},dt={SU:l.a.Sunday,MO:l.a.Monday,TU:l.a.Tuesday,WE:l.a.Wednesday,TH:l.a.Thursday,FR:l.a.Friday,SA:l.a.Saturday},ct=function(e){return dt[e]},ht=function(e){for(var t=[],i=0;i<e.length;i++){var n=e[i],r=ct(n.substring(n.length-2).toUpperCase());if(void 0===r)return[];t.push({offset:parseInt(n.substring(0,n.length-2),10)||0,day:r})}return t},pt=function(e,t,i){void 0===i&&(i=1),t=(t-e.getUTCDay()+7*i)%7,e.setUTCDate(e.getUTCDate()+t)},ft=function(e,t){return e+(e<t?7:0)},mt=function(e,t){return e-t},vt=function(e,t){var i=7-(lt(Object(a.a)(e)).getUTCDay()+7-(t||7))||7;return i<0&&(i+=7),Math.ceil((e.getUTCDate()-i)/7)+1},gt=function(e,t){var i=(e=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()))).getUTCFullYear();void 0!==t?(pt(e,t,-1),e.setUTCDate(e.getUTCDate()+4)):e.setUTCDate(e.getUTCDate()+(4-(e.getUTCDay()||7)));var n=Math.floor((e.getTime()-Date.UTC(i,0,1,-6))/864e5);return 1+Math.floor(n/7)},yt=function(e,t,i){var n=t.offset;if(!n)return vt(e,i);var r=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+1,0)),o=vt(r,i),s=ft(t.day,i),a=s<ft(new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)).getUTCDay(),i),l=s>ft(r.getUTCDay(),i);return n<0?n=o+(n+1-(l?1:0)):a&&(n+=1),o-=l?1:0,n<(a?1:0)||n>o?null:n},bt=function(e,t,i){return vt(e,i)===yt(e,t,i)},kt=function(e,t){return vt(new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+1,0)),t)},St=[0,31,60,91,121,152,182,213,244,274,305,335,366],wt=[0,31,59,90,120,151,181,212,243,273,304,334,365],Dt=function(e){return(e=e.getUTCFullYear())%4==0&&e%100!=0||e%400==0},It=function(e){var t=e.getUTCMonth();return(Dt(e)?St[t]:wt[t])+e.getUTCDate()},Ct=[31,28,31,30,31,30,31,31,30,31,30,31],Tt=function(e){var t=e.getUTCMonth();return 1===t?1===new Date(Date.UTC(e.getUTCFullYear(),1,29)).getUTCMonth()?29:28:Ct[t]},Ot=function(e,t,i){for(var n=e.length,r=[],o=0;o<n;o++){var s=e[o];if(i&&(s=i(s)),t===s)return null;t<s&&r.push(s)}return r},Et=function(e,t,i){var n=i.byMonth,r=Ot(n,e.getUTCMonth()+1),o=!1;return null!==r&&(r.length?e.setUTCMonth(r[0]-1,1):e.setUTCFullYear(e.getUTCFullYear()+1,n[0]-1,1),o=!0),o},$t=function(e,t,i){var n,r=!1;function o(e){return e<0&&(e=n+e+1),e}for(;e<=t;){var s=e.getUTCMonth();n=Tt(e);var a=Ot(i.byMonthDay,e.getUTCDate(),o);if(null===a)return r;if(r=!0,a.length){if(e.setUTCMonth(s,a.sort(mt)[0]),s===e.getUTCMonth())break}else e.setUTCMonth(s+1,1)}return r},xt=function(e,t,i){var n,r=!1;function o(e){return e<0&&(e=n+e),e}for(;e<t;){n=Dt(e)?366:365;var s=Ot(i.byYearDay,It(e),o);if(null===s)return r;if(r=!0,n=e.getUTCFullYear(),s.length){e.setUTCFullYear(n,0,s.sort(mt)[0]);break}e.setUTCFullYear(n+1,0,1)}return r},Mt=function(e,t,i){var n=i.weekStart||l.a.Monday,r=!1;function o(e){return e<0&&(e=53+e),e}for(;e<t;){var s=Ot(i.byWeekNumber,gt(e,n),o);if(null===s)return r;r=!0;var a=e.getUTCFullYear();if(s.length){var u=7*s.sort(mt)[0]-1;e.setUTCFullYear(a,0,u),pt(e,n,-1);break}e.setUTCFullYear(a+1,0,1)}return r},Rt=function(e,t,i){var n=i.byWeekDay,r=i.weekStart||l.a.Monday,o=function(e,t,i){for(var n,r,o,s,a=ft(t.getUTCDay(),i),l=e.length,u=[],d=0;d<l;d++)if(r=e[d],s=vt(t,i),null!==(n=yt(t,r,i)))if(s<n)u.push(r);else if(s===n)if(a<(o=ft(r.day,i)))u.push(r);else if(a===o)return null;return u}(n,e,r);if(null===o)return!1;o[0]||(o=n,pt(e,r));var s=o.map((function(i){var n=Object(u.a)(e),o=i.day;if(i.offset)for(;n<=t&&!bt(n,i,r);)vt(n,r)===kt(n,r)?n.setUTCMonth(n.getUTCMonth()+1,1):(n.setUTCDate(n.getUTCDate()+7),pt(n,r,-1));return n.getUTCDay()!==o&&pt(n,o),n})).sort((function(e,t){return e.getTime()-t.getTime()}))[0];return s&&e.setTime(s),!0},_t=function(e,t,i){var n=i.byHour,r=!1,o=i._startTime,s=o.getUTCHours(),a=Ot(n,s);return null!==a&&(r=!0,e.setUTCHours(s),a.length?(a=a[0],e.setUTCHours(a)):(a=e.getUTCHours(),e.setUTCDate(e.getUTCDate()+1),a=n[0],e.setUTCHours(a)),i.byMinute&&e.setUTCMinutes(0),o.setUTCHours(a,e.getUTCMinutes())),r},Ft=function(e,t,i){var n=i.byMinute,r=e.getUTCMinutes(),o=Ot(n,r),s=i._startTime.getUTCHours(),a=!1;return null!==o&&(a=!0,o.length?o=o[0]:(s+=1,o=n[0]),i.bySecond&&e.setUTCSeconds(0),e.setUTCHours(s,o),s%=24,i._startTime.setUTCHours(s,o,e.getUTCSeconds())),a},At=function(e,t,i){var n=i.bySecond,r=Ot(n,e.getUTCSeconds()),o=i._startTime.getUTCHours(),s=e.getUTCMinutes(),a=!1;return null!==r&&(a=!0,r.length?e.setUTCSeconds(r[0]):(s+=1,e.setUTCMinutes(s,n[0]),s>59&&(s%=60,o=(o+1)%24)),i._startTime.setUTCHours(o,s,e.getUTCSeconds())),a},zt=["byMonth","byWeekNumber","byYearDay","byMonthDay","byWeekDay","byHour","byMinute","bySecond"],Vt=zt.length,jt=function(e,t){var i;return 0!==e&&e<t?i=t-e:(i=e%t)&&(i=t-i),i},Nt=function(){function e(){}return e.prototype.next=function(e,t){var i,n,r=t._startTime;if(t.bySecond)n=e.getUTCSeconds()+1,e.setUTCSeconds(n),r.setUTCSeconds(n);else{if(!t.byMinute)return!1;i=e.getUTCMinutes()+1,e.setUTCMinutes(i),r.setUTCMinutes(i)}return!0},e.prototype.normalize=function(e){var t=e.rule;4===e.idx&&t.byHour&&(t._startTime.setUTCHours(0),this._hour(e.date,t))},e.prototype.limit=function(e,t,i){for(var r,o=i.interval||1;e<=t;){var s=void 0,a=void 0,l=e.getUTCDate();for(r=0;r<Vt;r++){var u=zt[r];if(i[u]){if(s=n[u](e,t,i),void 0!==a&&s)break;a=s}s&&this.normalize({date:e,rule:i,day:l,idx:r})}if((1===o||!this.interval(i,e))&&r===Vt)break}},e.prototype.interval=function(e,t){var i,n,r=e._startPeriod.toUTCDate(),s=t.getUTCHours(),a=e.weekStart,l=e.interval,u=e.freq,d=new Date(t),h=!1,p=0,f=0,m=1;if("hourly"===u)n=e._startTime.getUTCHours(),d=d.getTime(),s!==n&&(d+=(n-s)*o.b),d-=r.getTime(),i=Math.floor(d/o.b),0!==(p=jt(i,l))&&(this._hour(t,e,p),h=!0);else if("daily"===u)!function(e,t){e.setTime(e.getTime()+t)}(d,-r),i=Math.round(d/o.a),0!==(p=jt(i,l))&&(this._date(t,e,p),h=!0);else if("weekly"===u){p=this.getNumberOfWeeksBetweenDates(r,t),ft(t.getUTCDay(),a)<ft(r.getUTCDay(),a)&&(p+=1),0!==(p=jt(p,l))&&(pt(t,e.weekStart,-1),t.setUTCDate(t.getUTCDate()+7*p),h=!0)}else"monthly"===u?(i=t.getUTCFullYear()-r.getUTCFullYear(),i=t.getUTCMonth()-r.getUTCMonth()+12*i,0!==(p=jt(i,l))&&(m=c(e)?1:t.getDate(),t.setUTCFullYear(t.getUTCFullYear(),t.getUTCMonth()+p,m),h=!0)):"yearly"===u&&(i=t.getUTCFullYear()-r.getUTCFullYear(),p=jt(i,l),e.byMonth||(f=t.getUTCMonth()),e.byYearDay||e.byMonthDay||e.byWeekDay||(m=t.getUTCDate()),0!==p&&(t.setUTCFullYear(t.getUTCFullYear()+p,f,m),h=!0));return h},e.prototype._hour=function(e,t,i){var n=t._startTime,r=n.getUTCHours();i&&(r+=i),e.setUTCHours(r),r%=24,n.setUTCHours(r)},e.prototype._date=function(e,t,i){e.setUTCDate(e.getUTCDate()+i)},e.prototype.getNumberOfWeeksBetweenDates=function(e,t){var i=(t.getTime()-e.getTime())/6048e5,n=Math.floor(i);return i-n>.99&&(n=Math.round(i)),n},e}(),Pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.next=function(e,t){return Nt.prototype.next.call(this,e,t)||this._hour(e,t,1),!1},t.prototype.normalize=function(e){var t=e.rule;4===e.idx&&(t._startTime.setUTCHours(0),this._hour(e.date,t))},t}(Nt),Bt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.next=function(e,t){return Nt.prototype.next.call(this,e,t)||this[t.byHour?"_hour":"_date"](e,t,1),!1},t}(Nt),Lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.setup=function(e,t){e.byWeekDay||(e.byWeekDay=[{day:t.getUTCDay(),offset:0}])},t}(Bt),Ht=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.next=function(e,t){var i;if(!Nt.prototype.next.call(this,e,t))if(t.byHour)this._hour(e,t,1);else if(t.byMonthDay||t.byWeekDay||t.byYearDay||t.byWeekNumber)this._date(e,t,1);else{for(i=e.getUTCDate(),e.setUTCMonth(e.getUTCMonth()+1);e.getUTCDate()!==i;)e.setUTCDate(i);this._hour(e,t)}return!1},t.prototype.normalize=function(t){var i=t.rule,n=t.date;0!==t.idx||i.byMonthDay||i.byWeekDay?e.prototype.normalize.call(this,t):n.setUTCDate(t.day)},t.prototype.setup=function(e,t,i){e.byMonthDay||e.byWeekDay||i.setUTCDate(t.getUTCDate())},t}(Nt),Ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.next=function(e,t){var i;if(!Nt.prototype.next.call(this,e,t))if(t.byHour)this._hour(e,t,1);else if(t.byMonthDay||t.byWeekDay||t.byYearDay||t.byWeekNumber)this._date(e,t,1);else if(t.byMonth){for(i=e.getUTCDate(),e.setUTCMonth(e.getUTCMonth()+1);e.getUTCDate()!==i;)e.setUTCDate(i);this._hour(e,t)}else e.setUTCFullYear(e.getUTCFullYear()+1),this._hour(e,t);return!1},t.prototype.setup=function(){},t}(Ht),Wt={hourly:new Pt,daily:new Bt,weekly:new Lt,monthly:new Ht,yearly:new Ut},Kt=function(e){return r.a.fromLocalDate(e.toLocalDate(),e.timezone)},Yt=function(e){return e.getHours()*o.b+e.getMinutes()*o.c+1e3*e.getSeconds()+e.getMilliseconds()},Gt=function(e,t){if(!e)return!1;for(var i=t.getTime()-t.getMilliseconds(),n=e.length,r=0;r<n;r++)if(e[r].getTime()===i)return!0;return!1},qt=function(e,t){var i=e.toUTCDate();switch(t.freq){case"yearly":i.setUTCFullYear(i.getUTCFullYear(),11,31);break;case"monthly":i.setUTCFullYear(i.getUTCFullYear(),i.getUTCMonth()+1,0);break;case"weekly":pt(i,t.weekStart,-1),i.setUTCDate(i.getUTCDate()+6)}return t.byHour&&i.setUTCHours(23),t.byMinute&&i.setUTCMinutes(59),t.bySecond&&i.setUTCSeconds(59),r.a.fromUTCDate(i,e.timezone)},Zt=function(e,t,i){for(var n,r=e.length,o=[],s=0,a=i.length;s<a;s++){(n=i[s])<0?n=r+n:n-=1;var l=e[n];l&&l.start>=t&&o.push(l)}return o},Xt=function(e,t){for(var i=[],n=0;n<e.length;n++){var r=e[n];r&&!Gt(t,r.start)&&i.push(r)}return i};function Jt(e,t){var i=t.rangeStart,n=t.rangeEnd;if(!e)return{success:!0,errorMessage:"",events:[]};var o,s=e.freq,a=Wt[s],l=e.start,u=function(e,t){return t.getTime()-e.getTime()}(e.start,e.end);if(e.start.getTime()>e.end.getTime())return{success:!1,errorMessage:"Invalid recurrence rule: Start date ("+e.start+")is greater than End date "+e.start,events:[]};if(!a)return{success:!1,errorMessage:'Invalid recurrence frequency "'+s+'"',events:[]};var d=[],c=e.bySetPosition,h=c?0:1,p=e.exceptionDates,f=i.toTimezone(l.timezone),m=f,v=n.toTimezone(l.timezone),g=e.count;e.until&&e.until.getTime()<v.getTime()&&(v=e.until.clone());var y=f.getHours(),b=f.getMinutes(),k=f.getSeconds(),S="yearly"===s||"monthly"===s||"weekly"===s;if(f.getTime()<l.getTime()||g||e.interval>1||S)f=l.clone();else{e.byHour||(y=l.getHours()),e.byMinute||(b=l.getMinutes()),e.bySecond||(k=l.getSeconds());var w=f.toUTCDate();w.setUTCHours(y,b,k,l.getMilliseconds()),f=r.a.fromUTCDate(w,f.timezone)}if(e._startPeriod=f.clone(),c){if(f=function(e,t){var i=e.toUTCDate();switch(t.freq){case"yearly":i.setUTCFullYear(i.getFullYear(),0,1);break;case"monthly":i.setUTCFullYear(i.getFullYear(),i.getMonth(),1);break;case"weekly":pt(i,t.weekStart,-1)}return t.byHour&&i.setUTCHours(0),t.byMinute&&i.setUTCMinutes(0),t.bySecond&&i.setUTCSeconds(0),r.a.fromUTCDate(i,e.timezone)}(f,e),v=qt(v,e),Yt(v)-Yt(f)<0){var D=v.toUTCDate();D.setUTCHours(f.getHours(),f.getMinutes(),f.getSeconds(),f.getMilliseconds()),v=r.a.fromUTCDate(D,v.timezone)}e._startPeriod=f.clone(),o=qt(f,e)}var I=Yt(f);e._startTime=new Date(I);var C=f.toUTCDate();for(a.setup&&(a.setup(e,l,C),f=r.a.fromUTCDate(C,f.timezone)),C=f.toUTCDate(),a.limit(C,v.toUTCDate(),e),f=r.a.fromUTCDate(C,f.timezone);f<=v;){var T=f.addTime(u);if(((f>=m||T>m)&&!Gt(p,f)||c)&&(d.push({start:Kt(f),end:Kt(T)}),"hourly"!==s&&"minutely"!==s&&"secondly"!==s||(I=Yt(Kt(f)),e._startTime=new Date(I))),c){if(C=f.toUTCDate(),a.next(C,e),a.limit(C,v.toUTCDate(),e),(f=r.a.fromUTCDate(C,f.timezone))>o){var O=Zt(d.slice(h),l,c);O=Xt(O,p),d=d.slice(0,h).concat(O),o=qt(f,e),h=d.length}if(g&&g===h)break}else{if(g&&g===h)break;h+=1,C=f.toUTCDate(),a.next(C,e),a.limit(C,v.toUTCDate(),e),f=r.a.fromUTCDate(C,f.timezone)}}return{success:!0,errorMessage:"",events:d}}var Qt=function(e,t){return e+(e<t?7:0)},ei=function(e){var t=e.byWeekDay,i=e.weekStart;t&&t.sort(function(e){return function(t,i){return Qt(t.day,e)-Qt(i.day,e)}}(i))},ti=function(e){if(!e)return null;var t,i,n,r,o=e.recurrenceRule,s=e.weekStart,a=void 0===s?0:s,l={},u=0;if(!o)return null;var d=o.split("\n");for(d[1]||-1===o.indexOf("DTSTART")&&-1===o.indexOf("DTEND")&&-1===o.indexOf("EXDATE")||(d=o.split(" ")),u=0,n=d.length;u<n;u++){var f=(d[u]||"").trim();-1!==f.indexOf("DTSTART")?l.start=p(f):-1!==f.indexOf("DTEND")?l.end=p(f):-1!==f.indexOf("EXDATE")?l.exceptionDates=h(f):-1!==f.indexOf("RRULE")?r=f.substring(6):f.trim()&&(r=f)}for(u=0,n=(r=r.split(";")).length;u<n;u++)switch(i=((t=r[u].split("="))[1]||"").trim().split(","),t[0].trim().toUpperCase()){case"FREQ":l.freq=i[0].toLowerCase();break;case"UNTIL":l.until=ut(i[0]);break;case"COUNT":l.count=parseInt(i[0],10);break;case"INTERVAL":l.interval=parseInt(i[0],10);break;case"BYSECOND":l.bySecond=st(i,{start:0,end:60});break;case"BYMINUTE":l.byMinute=st(i,{start:0,end:59});break;case"BYHOUR":l.byHour=st(i,{start:0,end:23});break;case"BYMONTHDAY":l.byMonthDay=st(i,{start:-31,end:31});break;case"BYYEARDAY":l.byYearDay=st(i,{start:-366,end:366});break;case"BYMONTH":l.byMonth=st(i,{start:1,end:12});break;case"BYDAY":l.byWeekDay=ht(i);break;case"BYWEEKNO":l.byWeekNumber=st(i,{start:-53,end:53});break;case"BYSETPOS":l.bySetPosition=st(i,{start:-366,end:366});break;case"WKST":l.weekStart=ct(i[0])}return void 0===l.freq||void 0!==l.count&&l.until?null:(void 0===l.weekStart&&(l.weekStart=a),l.interval||(l.interval=1),l.bySetPosition&&!c(l)&&(l.bySetPosition=[]),ei(l),l)},ii={0:"SU",1:"MO",2:"TU",3:"WE",4:"TH",5:"FR",6:"SA"},ni=function(e,t){if(!e||!e.freq)return null;var i=e.weekStart,n="FREQ="+e.freq.toUpperCase(),r="",o="",s="",a=e.until;return e.interval>1&&(n+=";INTERVAL="+e.interval),e.count&&(n+=";COUNT="+e.count),a&&(n+=";UNTIL="+it(a.toTimezone("Etc/UTC"),"yyyyMMddTHHmmss")+"Z"),e.byMonth&&(n+=";BYMONTH="+e.byMonth),e.byWeekNumber&&(n+=";BYWEEKNO="+e.byWeekNumber),e.byYearDay&&(n+=";BYYEARDAY="+e.byYearDay),e.byMonthDay&&(n+=";BYMONTHDAY="+e.byMonthDay),e.byWeekDay&&(n+=";BYDAY="+function(e){for(var t,i=e.length,n=[],r=0;r<i;r++){var o=e[r];"string"==typeof o?t=o:(t=""+ii[o.day],o.offset&&(t=o.offset+t)),n.push(t)}return n.toString()}(e.byWeekDay)),e.byHour&&(n+=";BYHOUR="+e.byHour),e.byMinute&&(n+=";BYMINUTE="+e.byMinute),e.bySecond&&(n+=";BYSECOND="+e.bySecond),e.bySetPosition&&(n+=";BYSETPOS="+e.bySetPosition),void 0!==i&&(n+=";WKST="+ii[i]),e.start&&(o="DTSTART"+nt([e.start])),e.end&&(s="DTEND"+nt([e.end])),e.exceptionDates&&(r="EXDATE"+nt(e.exceptionDates)),(o||s||r)&&(n=o+s+r+"RRULE:"+n),n}}])}));
|
|
16
|
+
var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function r(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var o=function(){return(o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function s(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.orderSort=t.findNextItem=t.findFirstItem=t.noop=t.mapItemsToSlots=t.mapSlotsToItems=t.calculateOrder=t.findMissing=t.shallowCompare=t.extractResources=t.extractResourceFields=t.extractGroups=t.setTime=t.isNullOrEmptyString=t.isBlank=t.generateResourceFields=t.toSchedulerResources=t.toSchedulerGroups=t.isInTimeRange=t.getModelFields=t.defaultModelFields=t.roundAllDayEnd=t.intersects=t.isException=t.buildException=t.isMaster=t.findMaster=t.groupResources=t.isRecurring=t.isRecurringException=t.toInvariantTime=t.toUTCDateTime=t.getUTCDate=t.toUTCDate=t.isRecurringMaster=t.isPresent=t.assignFields=t.assignField=t.setField=t.getField=t.slotDive=t.getToday=t.dateWithTime=t.addUTCDays=t.formatEventTime=t.isGroupped=t.isMultiDay=t.last=t.first=t.COLLECTION_ACTION=void 0;var o=i(5),s=i(20),a=i(0),l=i(14),u=i(88);function d(e,i,n){t.setField(e,n,t.getField(i,n))}!function(e){e[e.add=0]="add",e[e.remove=1]="remove"}(t.COLLECTION_ACTION||(t.COLLECTION_ACTION={})),t.first=function(e){return e[0]},t.last=function(e){return e[e.length-1]},t.isMultiDay=function(e){return e.end.getTime()-e.start.getTime()>new Date(0).setHours(24)},t.isGroupped=function(e){var t=new Set;return e.forEach((function(e){t.add(e.field)})),t.size===e.length},t.formatEventTime=function(e,t,i,n){return n?""+e.formatDate(t,{skeleton:"yMMMMEEEEd"}):e.formatDate(t,{skeleton:"yMMMMEEEEdhm"})+"–"+e.formatDate(i,"t")},t.addUTCDays=function(e,t){var i=new Date(e.getTime());return i.setUTCDate(i.getUTCDate()+t),i},t.dateWithTime=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes())},t.getToday=function(){return o.getDate(new Date)},t.slotDive=function(e,i,n,r){if(void 0===r&&(r=0),r===n)return null;var o=null,s=document.elementFromPoint(e,i);if(!s)return o;if("true"===s.getAttribute("data-slot"))return s;var a=s.style.pointerEvents;return s.style.pointerEvents="none",o=t.slotDive(e,i,n,r+1),s.style.pointerEvents=a,o},t.getField=function(e,t){return a.getter(t)(e)},t.setField=function(e,t,i){if(t)return a.setter(t)(e,i)},t.assignField=d,t.assignFields=function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];for(var r=0;r<i.length;r++)d(e,t,i[r])},t.isPresent=function(e){return null!=e},t.isRecurringMaster=function(e){return e.recurrenceRule&&!t.isPresent(e.recurrenceId)},t.toUTCDate=function(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))},t.getUTCDate=function(e){return new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()))},t.toUTCDateTime=function(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))},t.toInvariantTime=function(e){var t=new Date(1980,1,1,0,0,0);return e&&t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t},t.isRecurringException=function(e){return e&&t.isPresent(e.recurrenceId)&&!e.recurrenceRule},t.isRecurring=function(e,t){var i=a.getter(t.recurrenceId||"recurrenceId")(e);return!(!a.getter(t.recurrenceRule||"recurrenceRule")(e)&&!i)},t.groupResources=function(e,t){var i=[];if(e&&e.resources&&e.resources.length)for(var n=e.resources,r=function(e){var r=t.find((function(t){return t.name===n[e]}));i.push(r)},o=0;o<n.length;o++)r(o);return i},t.findMaster=function(e,i,n){var r=t.isMaster(e,i)?t.getField(e,i.id):t.getField(e,i.recurrenceId);return n.find((function(e){return t.getField(e,i.id)===r}))},t.isMaster=function(e,i){var n=t.getField(e,i.id),r=t.getField(e,i.recurrenceId),o=t.getField(e,i.recurrenceRule);return!(!n||!o||null!=r)},t.buildException=function(e,i,n){var r=t.findMaster(e,i,n),o=a.clone(e);return d(o,r,i.id),void 0!==i.id&&t.setField(o,i.id,l.DEFAULT_ID),void 0!==i.recurrenceRule&&t.setField(o,i.recurrenceRule,void 0),void 0!==i.recurrenceId&&t.setField(o,i.recurrenceId,t.getField(r,i.id)),o},t.isException=function(e,i){return t.isPresent(t.getField(e,i.recurrenceId))&&!t.getField(e,i.recurrenceRule)};var c=function(e,t){return Math.max(e.getTime(),t.getTime())},h=function(e,t){return Math.min(e.getTime(),t.getTime())};function p(e,i){for(var n=i.data,r=0;r<n.length;r++)if(t.getField(n[r],i.valueField)===e)return r;return 0}t.intersects=function(e,t,i,n,r){return void 0===r&&(r=!1),r?c(t,n)-h(e,i)<=t.getTime()-e.getTime()+(n.getTime()-i.getTime()):c(t,n)-h(e,i)<t.getTime()-e.getTime()+(n.getTime()-i.getTime())},t.roundAllDayEnd=function(e){var t=e.start,i=e.end,n=t.stripTime(),r=i.stripTime();return r.getTime()!==i.getTime()||n.getTime()===r.getTime()?r.addDays(1):r},t.defaultModelFields={id:"id",start:"start",startTimezone:"startTimezone",originalStart:"originalStart",end:"end",endTimezone:"endTimezone",isAllDay:"isAllDay",title:"title",description:"description",recurrenceRule:"recurrenceRule",recurrenceId:"recurrenceId",recurrenceExceptions:"recurrenceExceptions"},t.getModelFields=function(e){return{fields:n(n({},t.defaultModelFields),e)}},t.isInTimeRange=function(e,t,i){return(t.getHours()<e.getHours()||t.getHours()===e.getHours()&&t.getMinutes()<=e.getMinutes())&&(e.getHours()<i.getHours()||i.getHours()===e.getHours()&&e.getMinutes()<i.getMinutes())},t.toSchedulerGroups=function(e,t){var i=s.toGroupResources(e,t),o=s.toFlatGroupResources(i);return 1===o.length?[{index:0,resources:(t||[]).reduce((function(e,t){return r(e,t.data.map((function(e){return n(n({},e),{field:t.field,valueField:t.valueField,colorField:t.colorField,multiple:t.multiple})})))}),[])}]:o.map((function(e,t){return{index:t,resources:e}}))},t.toSchedulerResources=function(e){return(e||[]).reduce((function(e,t){return r(e,t.data.map((function(e){return n(n({},e),{field:t.field,valueField:t.valueField,colorField:t.colorField,multiple:t.multiple})})))}),[])},t.generateResourceFields=function(e,t){if(!e||!e.length)return t;var i={};return e.forEach((function(e){e.resources.forEach((function(e){void 0===i[e.field]&&(i[e.field]=e[e.valueField])}))})),i},t.isBlank=function(e){return null==e},t.isNullOrEmptyString=function(e){return t.isBlank(e)||e.trim&&0===e.trim().length},t.setTime=function(e,t){var i=a.cloneDate(e);return i&&i.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),i},t.extractGroups=function(e,t,i,n){var o=s.toGroupResources(i,n);return s.toFlatGroupResources(o).reduce((function(i,n,o){var s=!0;return n.forEach((function(i){var n=i[i.valueField],r=e[t[i.field]||i.field];s=Array.isArray(r)?s&&r.indexOf(n)>=0:s&&r===n})),s?r(i,[{index:o,resources:n}]):i}),[])};t.extractResourceFields=function(e,t,i){var n={};return i&&i.length?(i.forEach((function(i){var r=i.data.find((function(n){return n.value===e[t[i.field]||i.field]}));r&&(n[i.field]=r.value)})),n):n},t.extractResources=function(e,i,r){void 0===r&&(r=[]);for(var o=0,s=[],a=0;a<r.length;a++){var l=r[a],u=t.getField(e,i[l.field]||l.field);Array.isArray(u)||(u=[u]);for(var d=0;d<u.length;d++){if(void 0!==u[d]){var c=p(u[d],l),h=l.data[c],f={text:t.getField(h,l.textField),color:t.getField(h,l.colorField),value:t.getField(h,l.valueField)};s.push(n(n({},f),{index:o}))}o++}}return s},t.shallowCompare=function(e,t){return JSON.stringify(e)===JSON.stringify(t)},t.findMissing=function(e){var t=0,i=e.slice();return i.sort((function(e,t){return e-t})).forEach((function(e,n){i[n]===n&&(t=n+1)})),t},t.calculateOrder=function(e,i,n,r){var o;return void 0===r&&(r=!1),n.forEach((function(n){var s=[];i.sort((function(e,t){return e.$props.start.getTime()-t.$props.start.getTime()})).forEach((function(i){if((r||i.$props.isAllDay===n.$props.isAllDay)&&i.$props.range.index===n.$props.range.index&&i.$props.group.index===n.$props.group.index&&t.intersects(i.$props.start,i.$props.end,n.$props.start,n.$props.end)){var a=t.findMissing(s);i===e&&void 0===o&&(o=a),s.splice(a,0,a)}}))})),o},t.mapSlotsToItems=function(e,i,n){void 0===n&&(n=!1),i.forEach((function(e){return e.items.splice(0,e.items.length)})),i.forEach((function(i){var r=[];e.forEach((function(e){if((n||e.isAllDay===i.isAllDay)&&e.range.index===i.range.index&&e.group.index===i.group.index&&t.intersects(e.start,e.end,i.start,i.end)){var o=t.findMissing(r);(null===e.order||void 0===e.order||e.order<o)&&(e.order=o),r.splice(e.order,0,e.order),i.items.push(e)}}))}))},t.mapItemsToSlots=function(e,i,n){void 0===n&&(n=!1),e.forEach((function(e){return e.slots.splice(0,e.slots.length)})),e.forEach((function(e){i.forEach((function(i){(n||e.isAllDay===i.isAllDay)&&e.range.index===i.range.index&&e.group.index===i.group.index&&t.intersects(e.start,e.end,i.start,i.end)&&e.slots.push(i)}))}))},t.noop=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.findFirstItem=function(e){var t=e.$props.items.find((function(e){return 0===e.order}))||e.$props.items[0];return t&&t.refTo.current},t.findNextItem=function(e,t,i,n){void 0===i&&(i=!1),void 0===n&&(n=!1);var r=e.current;if(!r||!t)return null;var o=t.filter((function(e){return null!==e.current&&null!==e.current.element})),s=u.orderBy(o,[{field:"current.props.group.index",dir:"asc"},{field:"current.props.range.index",dir:"asc"},i?{field:""}:{field:"current.props.isAllDay",dir:"desc"},{field:"current.props.start",dir:"asc"}]),a=s.findIndex((function(e){return null!==e.current&&Boolean(e.current.props.uid===r.props.uid&&(void 0===e.current.props.occurrenceId||e.current.props.occurrenceId===r.props.occurrenceId)&&e.current.props.group.index===r.props.group.index&&e.current.props.range.index===r.props.range.index&&(i||e.current.props.isAllDay===r.props.isAllDay))}));return s[a+(n?-1:1)]},t.orderSort=function(e,t){return(e.order||0)-(t.order||0)}},function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n={rules:{},titles:{},zones:{}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n=function(e){return e?new Date(e.getTime()):null}},function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var n={name:"@progress/kendo-vue-buttons",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646205143,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.messages=t.noEvents=t.editorValidationEnd=t.editorValidationStart=t.editorValidationRequired=t.eventTitle=t.timeTitle=t.dateTitle=t.deleteRecurringDialogTitle=t.deleteDialogTitle=t.deleteSeries=t.deleteOccurrence=t.deleteRecurringConfirmation=t.deleteConfirmation=t.editorDelete=t.recurrenceEditorEndOn=t.recurrenceEditorEndNever=t.recurrenceEditorEndLabel=t.recurrenceEditorEndOccurrence=t.recurrenceEditorEndAfter=t.recurrenceEditorWeekdaysWeekendday=t.recurrenceEditorWeekdaysWeekday=t.recurrenceEditorWeekdaysDay=t.recurrenceEditorOffsetPositionsLast=t.recurrenceEditorOffsetPositionsFourth=t.recurrenceEditorOffsetPositionsThird=t.recurrenceEditorOffsetPositionsSecond=t.recurrenceEditorOffsetPositionsFirst=t.recurrenceEditorFrequenciesYearly=t.recurrenceEditorFrequenciesWeekly=t.recurrenceEditorFrequenciesNever=t.recurrenceEditorFrequenciesMonthly=t.recurrenceEditorFrequenciesDaily=t.recurrenceEditorYearlyInterval=t.recurrenceEditorYearlyRepeatOn=t.recurrenceEditorYearlyRepeatEvery=t.recurrenceEditorYearlyOf=t.recurrenceEditorMonthlyRepeatOn=t.recurrenceEditorMonthlyRepeatEvery=t.recurrenceEditorMonthlyInterval=t.recurrenceEditorMonthlyDay=t.recurrenceEditorWeeklyRepeatOn=t.recurrenceEditorWeeklyRepeatEvery=t.recurrenceEditorWeeklyInterval=t.recurrenceEditorDailyRepeatEvery=t.recurrenceEditorDailyInterval=t.recurrenceEditorRepeat=t.editorEventTimeZone=t.editorEventSeparateTimeZones=t.editorEventDescription=t.editorEventAllDay=t.editorEventEndTimeZone=t.editorEventEnd=t.editorEventStartTimeZone=t.editorEventStart=t.editorEventTitle=t.editorTitle=t.editorCancel=t.editorSave=t.editorRecurringDialogTitle=t.editorRecurringConfirmation=t.editorSeries=t.editorOccurrence=t.showWorkDay=t.showFullDay=t.nextTitle=t.previousTitle=t.deleteTitle=t.monthViewTitle=t.dayViewTitle=t.agendaViewTitle=t.workWeekViewTitle=t.weekViewTitle=t.timelineViewTitle=t.today=t.allDay=t.allEvents=void 0,t.allEvents="scheduler.allEvents",t.allDay="scheduler.allDay",t.today="scheduler.today",t.timelineViewTitle="scheduler.timelineViewTitle",t.weekViewTitle="scheduler.weekViewTitle",t.workWeekViewTitle="scheduler.workWeekViewTitle",t.agendaViewTitle="scheduler.agendaViewTitle",t.dayViewTitle="scheduler.dayViewTitle",t.monthViewTitle="scheduler.monthViewTitle",t.deleteTitle="scheduler.deleteTitle",t.previousTitle="scheduler.previousTitle",t.nextTitle="scheduler.nextTitle",t.showFullDay="scheduler.showFullDay",t.showWorkDay="scheduler.showWorkDay",t.editorOccurrence="scheduler.editOccurrence",t.editorSeries="scheduler.editSeries",t.editorRecurringConfirmation="scheduler.editRecurringConfirmation",t.editorRecurringDialogTitle="scheduler.editRecurringDialogTitle",t.editorSave="scheduler.editSave",t.editorCancel="scheduler.editCancel",t.editorTitle="scheduler.editorTitle",t.editorEventTitle="scheduler.editorEventTitle",t.editorEventStart="scheduler.editorEventStart",t.editorEventStartTimeZone="scheduler.editorEventStartTimeZone",t.editorEventEnd="scheduler.editorEventEnd",t.editorEventEndTimeZone="scheduler.editorEventEndTimeZone",t.editorEventAllDay="scheduler.editorEventAllDay",t.editorEventDescription="scheduler.editorEventDescription",t.editorEventSeparateTimeZones="scheduler.editorEventSeparateTimeZones",t.editorEventTimeZone="scheduler.editorEventTimeZone",t.recurrenceEditorRepeat="scheduler.recurrenceEditorRepeat",t.recurrenceEditorDailyInterval="scheduler.recurrenceEditorDailyInterval",t.recurrenceEditorDailyRepeatEvery="scheduler.recurrenceEditorDailyRepeatEvery",t.recurrenceEditorWeeklyInterval="scheduler.recurrenceEditorWeeklyInterval",t.recurrenceEditorWeeklyRepeatEvery="scheduler.recurrenceEditorWeeklyRepeatEvery",t.recurrenceEditorWeeklyRepeatOn="scheduler.recurrenceEditorWeeklyRepeatOn",t.recurrenceEditorMonthlyDay="scheduler.recurrenceEditorMonthlyDay",t.recurrenceEditorMonthlyInterval="scheduler.recurrenceEditorMonthlyInterval",t.recurrenceEditorMonthlyRepeatEvery="scheduler.recurrenceEditorMonthlyRepeatEvery",t.recurrenceEditorMonthlyRepeatOn="scheduler.recurrenceEditorMonthlyRepeatOn",t.recurrenceEditorYearlyOf="scheduler.recurrenceEditorYearlyOf",t.recurrenceEditorYearlyRepeatEvery="scheduler.recurrenceEditorYearlyRepeatEvery",t.recurrenceEditorYearlyRepeatOn="scheduler.recurrenceEditorYearlyRepeatOn",t.recurrenceEditorYearlyInterval="scheduler.recurrenceEditorYearlyInterval",t.recurrenceEditorFrequenciesDaily="scheduler.recurrenceEditorFrequenciesDaily",t.recurrenceEditorFrequenciesMonthly="scheduler.recurrenceEditorFrequenciesMonthly",t.recurrenceEditorFrequenciesNever="scheduler.recurrenceEditorFrequenciesNever",t.recurrenceEditorFrequenciesWeekly="scheduler.recurrenceEditorFrequenciesWeekly",t.recurrenceEditorFrequenciesYearly="scheduler.recurrenceEditorFrequenciesYearly",t.recurrenceEditorOffsetPositionsFirst="scheduler.recurrenceEditorOffsetPositionsFirst",t.recurrenceEditorOffsetPositionsSecond="scheduler.recurrenceEditorOffsetPositionsSecond",t.recurrenceEditorOffsetPositionsThird="scheduler.recurrenceEditorOffsetPositionsThird",t.recurrenceEditorOffsetPositionsFourth="scheduler.recurrenceEditorOffsetPositionsFourth",t.recurrenceEditorOffsetPositionsLast="scheduler.recurrenceEditorOffsetPositionsLast",t.recurrenceEditorWeekdaysDay="scheduler.recurrenceEditorWeekdaysDay",t.recurrenceEditorWeekdaysWeekday="scheduler.recurrenceEditorWeekdaysWeekday",t.recurrenceEditorWeekdaysWeekendday="scheduler.recurrenceEditorWeekdaysWeekendday",t.recurrenceEditorEndAfter="scheduler.recurrenceEditorEndAfter",t.recurrenceEditorEndOccurrence="scheduler.recurrenceEditorEndOccurrence",t.recurrenceEditorEndLabel="scheduler.recurrenceEditorEndLabel",t.recurrenceEditorEndNever="scheduler.recurrenceEditorEndNever",t.recurrenceEditorEndOn="scheduler.recurrenceEditorEndOn",t.editorDelete="scheduler.editorDelete",t.deleteConfirmation="scheduler.deleteConfirmation",t.deleteRecurringConfirmation="scheduler.deleteRecurringConfirmation",t.deleteOccurrence="scheduler.deleteOccurrence",t.deleteSeries="scheduler.deleteSeries",t.deleteDialogTitle="scheduler.deleteDialogTitle",t.deleteRecurringDialogTitle="scheduler.deleteRecurringDialogTitle",t.dateTitle="scheduler.dateTitle",t.timeTitle="scheduler.timeTitle",t.eventTitle="scheduler.eventTitle",t.editorValidationRequired="scheduler.editorValidationRequired",t.editorValidationStart="scheduler.editorValidationStart",t.editorValidationEnd="scheduler.editorValidationEnd",t.noEvents="scheduler.noEvents",t.messages=((n={})[t.editorValidationRequired]="Field is required.",n[t.editorValidationStart]="Start time must be be before End time.",n[t.editorValidationEnd]="End time must be after Start time.",n[t.allEvents]="All events",n[t.allDay]="all day",n[t.today]="Today",n[t.dayViewTitle]="Day",n[t.monthViewTitle]="Month",n[t.weekViewTitle]="Week",n[t.workWeekViewTitle]="Work Week",n[t.timelineViewTitle]="Timeline",n[t.agendaViewTitle]="Agenda",n[t.deleteTitle]="Delete",n[t.previousTitle]="Previous",n[t.nextTitle]="Next",n[t.showFullDay]="Show full day",n[t.showWorkDay]="Show business hours",n[t.editorOccurrence]="Edit current occurrence",n[t.editorSeries]="Edit the series",n[t.editorRecurringConfirmation]="Do you want to edit only this event occurrence or the whole series?",n[t.editorRecurringDialogTitle]="Edit Recurring Item",n[t.editorSave]="Save",n[t.editorCancel]="Cancel",n[t.editorDelete]="Delete",n[t.editorTitle]="Event",n[t.editorEventTitle]="Title",n[t.editorEventStart]="Start",n[t.editorEventStartTimeZone]="Start Time Zone",n[t.editorEventEnd]="End",n[t.editorEventEndTimeZone]="End Time Zone",n[t.editorEventAllDay]="All Day Event",n[t.editorEventDescription]="Description",n[t.editorEventSeparateTimeZones]="End in different Time Zone",n[t.editorEventTimeZone]="Specify Time Zone",n[t.recurrenceEditorRepeat]="Repeat",n[t.recurrenceEditorDailyInterval]="day(s)",n[t.recurrenceEditorDailyRepeatEvery]="Repeat every",n[t.recurrenceEditorWeeklyInterval]="week(s)",n[t.recurrenceEditorWeeklyRepeatEvery]="Repeat every",n[t.recurrenceEditorWeeklyRepeatOn]="Repeat on",n[t.recurrenceEditorMonthlyDay]="Day",n[t.recurrenceEditorMonthlyInterval]="month(s)",n[t.recurrenceEditorMonthlyRepeatEvery]="Repeat every",n[t.recurrenceEditorMonthlyRepeatOn]="Repeat on",n[t.recurrenceEditorYearlyOf]="of",n[t.recurrenceEditorYearlyRepeatEvery]="Repeat every",n[t.recurrenceEditorYearlyRepeatOn]="Repeat on",n[t.recurrenceEditorYearlyInterval]="year(s)",n[t.recurrenceEditorFrequenciesDaily]="Daily",n[t.recurrenceEditorFrequenciesMonthly]="Monthly",n[t.recurrenceEditorFrequenciesNever]="Never",n[t.recurrenceEditorFrequenciesWeekly]="Weekly",n[t.recurrenceEditorFrequenciesYearly]="Yearly",n[t.recurrenceEditorOffsetPositionsFirst]="First",n[t.recurrenceEditorOffsetPositionsSecond]="Second",n[t.recurrenceEditorOffsetPositionsThird]="Third",n[t.recurrenceEditorOffsetPositionsFourth]="Fourth",n[t.recurrenceEditorOffsetPositionsLast]="Last",n[t.recurrenceEditorWeekdaysDay]="Day",n[t.recurrenceEditorWeekdaysWeekday]="Weekday",n[t.recurrenceEditorWeekdaysWeekendday]="Weekend Day",n[t.recurrenceEditorEndAfter]="After",n[t.recurrenceEditorEndOccurrence]="occurrence(s)",n[t.recurrenceEditorEndLabel]="End",n[t.recurrenceEditorEndNever]="Never",n[t.recurrenceEditorEndOn]="On",n[t.deleteConfirmation]="Are you sure you want to delete this event?",n[t.deleteRecurringConfirmation]="Do you want to delete only this event occurrence or the whole series?",n[t.deleteOccurrence]="Delete current occurrence",n[t.deleteSeries]="Delete the series",n[t.deleteDialogTitle]="Delete Event",n[t.deleteRecurringDialogTitle]="Delete Recurring Item",n[t.dateTitle]="Date",n[t.timeTitle]="Time",n[t.eventTitle]="Event",n[t.noEvents]="no events",n)},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(15),r=function(e,t,i,r,o,s,a){void 0===r&&(r=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0);var l=new Date(e,t,i,r,o,s,a);return e>-1&&e<100&&l.setFullYear(l.getFullYear()-1900),Object(n.a)(l,r)}},function(e,t,i){"use strict";i.d(t,"a",(function(){return _e}));var n=i(1),r=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop),n=parseFloat(t.marginBottom);return e.offsetHeight+i+n},o=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginLeft),n=parseFloat(t.marginRight);return e.offsetWidth+i+n},s={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"},a=i(0),l=function(){return(l=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},u=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},d=n,c=d.h,h=d.ref,p=d.Transition,f=s,m={props:{in:Boolean,transitionName:{type:String,required:!0},transitionStyle:Object,componentChildClassName:[Array],className:String,appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:Number,transitionExitDuration:Number,mountOnEnter:Boolean,unmountOnExit:Boolean,animationEnteringStyle:Object,animationEnteredStyle:Object,animationExitingStyle:Object,animationExitedStyle:Object},created:function(){this.animationStep=""},setup:c?function(){return{v3:!!c,elementRef:h(null)}}:void 0,mounted:function(){this._element=this.v3?this.elementRef||null:this.$refs.element||null},computed:{element:{get:function(){return this._element}}},methods:{onBeforeEnter:function(e){this.$emit("beforeenter",{animatedElement:e,target:this})},onEnter:function(e){this.animationStep="entering",this.$emit("entering",{animatedElement:e,target:this})},onAfterEnter:function(e){this.animationStep="entered",this.$emit("entered",{animatedElement:e,target:this})},onBeforeLeave:function(e){this.$emit("exit",{animatedElement:e,target:this})},onLeave:function(e){this.animationStep="exiting",this.$emit("exiting",{animatedElement:e,target:this})},onAfterLeave:function(e){this.animationStep="exited",this.$emit("exited",{animatedElement:e,target:this})}},render:function(e){var t=this,i=c||e,n=this.$props,r=n.appear,o=n.enter,s=n.exit,d=n.transitionName,h=n.transitionEnterDuration,m=n.transitionExitDuration,v=(n.className,n.componentChildClassName),g=(n.mountOnEnter,n.unmountOnExit,n.animationEnteringStyle),y=n.animationEnteredStyle,b=n.animationExitingStyle,k=n.animationExitedStyle,S=(u(n,["appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","componentChildClassName","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),Object(a.getDefaultSlots)(this)),w=this.v3?r:!!S,D=this.v3?p:"transition",I=[v,f["child-animation-container"]],C=o?h:0,$=s?m:0,T=[l({transitionDelay:"0ms",transitionDuration:w?C+"ms":$+"ms"},this.$props.transitionStyle),{entering:l({transitionDuration:C+"ms"},g),entered:l({},y),exiting:l({transitionDuration:$+"ms"},b),exited:l({},k)}[this.animationStep]],O={enter:C,leave:$},E=[w?i("div",{style:T,class:I,ref:this.v3?function(e){t.elementRef=e}:"element"},[S]):null];return i(D,{duration:O,attrs:this.v3?null:{duration:O,name:d,appear:r,appearClass:f[d+"-appear"]||d+"-appear",appearToClass:f[d+"-appear-active"]||d+"-appear-active",enterClass:f[d+"-enter"]||d+"-enter",enterToClass:f[d+"-enter-active"]||d+"-enter-active",leaveClass:f[d+"-exit"]||d+"-exit",leaveToClass:f[d+"-exit-active"]||d+"-exit-active"},name:d,appear:r,appearFromClass:f[d+"-appear"]||d+"-appear",enterFromClass:f[d+"-enter"]||d+"-enter",leaveFromClass:f[d+"-exit"]||d+"-exit",appearToClass:f[d+"-appear-active"]||d+"-appear-active",enterToClass:f[d+"-enter-active"]||d+"-enter-active",leaveToClass:f[d+"-exit-active"]||d+"-exit-active",onBeforeEnter:this.onBeforeEnter,on:this.v3?null:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave},onEnter:this.onEnter,onAfterEnter:this.onAfterEnter,onBeforeLeave:this.onBeforeLeave,onLeave:this.onLeave,onAfterLeave:this.onAfterLeave},this.v3?function(){return E}:E)}},v={name:"@progress/kendo-vue-animation",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646205046,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},g=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},y=n.h,b=s,k={props:{childFactory:Object,className:String,tag:String,id:String,animationEnteringStyle:Object,animationExitingStyle:Object,componentChildClassName:[Array],transitionName:{type:String,required:!0},appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number},transitionExitDuration:{type:Number}},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:y?function(){return{v3:!!y}}:void 0,created:function(){Object(a.validatePackage)(v)},render:function(e){var t=y||e,i=Object(a.getDefaultSlots)(this),n=this.$props,r=(n.id,n.tag,n.className),o=(n.childFactory,n.stackChildren,n.componentChildStyle,n.componentChildClassName,g(n,["id","tag","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),[b["animation-container"],b["animation-container-relative"],r]);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id},class:o},[t(m,{key:"some",appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,onBeforeenter:this.onEnter,on:this.v3?void 0:{beforeenter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])])}},S=n.h,w=(Boolean,Boolean,Boolean,function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}),D=n.h,I=(Boolean,Boolean,Boolean,n.h),C={position:"absolute",top:"0",left:"0"},$=(Boolean,Boolean,Boolean,function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}),T=n.h,O={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},componentChildClassName:[Array],childFactory:Object,className:String,direction:{type:String,default:"down"},tag:String,id:String},methods:{onEntering:function(e){this.$emit("entering",e)},onEnter:function(e){this.$emit("enter",e)},onEntered:function(e){this.$emit("entered",e)},onExit:function(e){this.$emit("exit",e)},onExiting:function(e){this.$emit("exiting",e)},onExited:function(e){this.$emit("exited",e)}},setup:T?function(){return{v3:!!T}}:void 0,render:function(e){var t=T||e,i=Object(a.getDefaultSlots)(this),n=this.$props,r=(n.direction,n.id),o=($(n,["direction","id"]),"slide-"+this.$props.direction);return t(k,{id:r,attrs:this.v3?void 0:{id:r,transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},transitionName:o,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,onEnter:this.onEnter,on:this.v3?void 0:{enter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[i]}:[i])}},E=n.h,x={position:"absolute",top:"0",left:"0"},M=(Boolean,Boolean,Boolean,Boolean,function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}),R=n.h,_=function(){},F=(Boolean,Boolean,Boolean,"bottom"),A="center",z="middle",V="left",j="right",N="top",P=function(e){var t=e.anchorRect,i=e.anchorAlign,n=e.elementRect,r=e.elementAlign,o=e.margin;void 0===o&&(o={});var s=i.horizontal,a=i.vertical,l=r.horizontal,u=r.vertical,d=o.horizontal||0,c=o.vertical||0,h=t.top,p=t.left;return a===F&&(h+=t.height),a!==A&&a!==z||(h+=Math.round(t.height/2)),u===F&&(h-=n.height,c*=-1),u!==A&&u!==z||(h-=Math.round(n.height/2),c*=-1),s===j&&(p+=t.width),s!==A&&s!==z||(p+=Math.round(t.width/2)),l===j&&(p-=n.width,d*=-1),l!==A&&l!==z||(p-=Math.round(n.width/2),d*=-1),{top:h+c,left:p+d}};function B(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}}function L(e){return e.ownerDocument||e.document||e}var H=function(e){return L(e).defaultView},U=function(e){return L(e).documentElement},W=0;function K(){if(!W&&"undefined"!=typeof document){var e=document.createElement("div");e.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML=" ",document.body.appendChild(e),W=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)}return W}function Y(e){var t=H(e),i=U(e),n={height:t.innerHeight,width:t.innerWidth};return i.scrollHeight-i.clientHeight>0&&(n.width-=K()),n}var G=function(e){if(!e.getBoundingClientRect){var t=Y(e);return{bottom:t.height,left:0,right:t.width,top:0}}var i=e.getBoundingClientRect();return{bottom:i.bottom,left:i.left,right:i.right,top:i.top}},q=function(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||U(e)},Z=function(e){return q(e)===e.ownerDocument.body},X=function(e){var t=e.getBoundingClientRect(),i=t.left,n=t.top;return t.height||t.width||(t=function(e){var t=e.style,i=t.display,n=t.left,r=t.position;e.style.display="",e.style.left="-10000px",e.style.position="absolute";var o=e.getBoundingClientRect();return e.style.display=i,e.style.left=n,e.style.position=r,o}(e)),{top:n,left:i,height:t.height,width:t.width}},J=function(e,t){for(var i=[],n=e.parentNode;n&&(i.push(n),n!==t);)n=n.parentNode;return i};function Q(e){var t=U(e),i=H(e);return{x:i.pageXOffset||t.scrollLeft||0,y:i.pageYOffset||t.scrollTop||0}}var ee=function(e){return e===(e.ownerDocument||{}).body?Q(e):{x:e.scrollLeft,y:e.scrollTop}};var te=function(e,t){var i=H(e),n=i.getComputedStyle(e),r=X(e),o=t||q(e),s=e.ownerDocument,a=o!==s.body&&o!==s.documentElement,l={top:0,left:0};if("fixed"!==n.position&&a){var u=i.getComputedStyle(o);(l=X(o)).top+=parseInt(u.borderTopWidth,10),l.left+=parseInt(u.borderLeftWidth,10)}return{top:r.top-l.top,left:r.left-l.left,height:r.height,width:r.width}},ie=function(e,t){return e?ee(e):function(e){var t=q(e);return t?ee(t):{x:0,y:0}}(t)},ne=function(e,t,i){void 0===i&&(i=1);var n=t?q(t):null,r=te(e,n),o=r.top,s=r.left,a=r.height,l=r.width,u=ie(n,e),d=u.x,c=u.y,h=e.ownerDocument,p=n===h.body||n===h.documentElement?1:i;return{top:o+c*p,left:s+d*p,height:a,width:l}};function re(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}}var oe="fit",se="flip",ae=function(e,t,i){var n=0;return e+t>i&&(n=i-(e+t)),e<0&&(n=-e),n},le=function(e){var t=e.offset,i=e.size,n=e.anchorSize,r=e.viewPortSize,o=e.anchorAlignPoint,s=e.elementAlignPoint,a=0,l=2*e.margin;if(s!==o&&!(s===A||s===z)&&!(o===A||o===z)){var u=o===N||o===V;t<0&&u?t+(a=i+n+l)+i>r&&(a=0):t>=0&&!u&&(t+i>r&&(a+=-(n+i+l)),t+a<0&&(a=0))}return a},ue=function(e){var t=e.anchorRect,i=e.anchorAlign,n=e.elementRect,r=e.elementAlign,o=e.collisions,s=e.viewPort,a=e.margin;void 0===a&&(a={});var l=n.top,u=n.left,d=n.height,c=n.width,h=s.height,p=s.width,f=a.horizontal||0,m=a.vertical||0,v=0,g=0,y=o.vertical===oe,b=o.horizontal===oe,k=o.vertical===se,S=o.horizontal===se;y&&(g+=ae(l,d,h)),b&&(v+=ae(u,c,p)),k&&(g+=le({margin:m,offset:l,size:d,anchorSize:t.height,viewPortSize:h,anchorAlignPoint:i.vertical,elementAlignPoint:r.vertical})),S&&(v+=le({margin:f,offset:u,size:c,anchorSize:t.width,viewPortSize:p,anchorAlignPoint:i.horizontal,elementAlignPoint:r.horizontal}));var w=k&&0!==g,D=S&&0!==v,I=y&&0!==g,C=b&&0!==v;return{flipped:D||w,fitted:I||C,flip:{horizontal:D,vertical:w},fit:{horizontal:C,vertical:I},offset:{left:v,top:g}}},de=function(e){for(var t=[],i=e.parentNode.firstElementChild;i;)i!==e&&t.push(i),i=i.nextElementSibling;return t},ce=function(e,t){for(var i,n,r=J(e),o=t;o&&(i=de(o),!(n=r.reduce((function(e,t){return e.concat(i.filter((function(e){return e===t})))}),[])[0]));)o=o.parentElement;return n};he=function(e){if(!me())return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var i=t.createElement("div");i.style.transform="matrix(10, 0, 0, 10, 0, 0)",i.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(i);var n=10!==i.children[0].getBoundingClientRect().top;return t.body.removeChild(i),n},fe=!1;var he,pe,fe,me=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},ve=function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},ge=function(){return"undefined"!=typeof document&&!!document.body},ye=function(){return"undefined"!=typeof window},be=/auto|scroll/,ke=function(e){var t=window.getComputedStyle(e);return""+t.overflow+t.overflowX+t.overflowY},Se=function(){if(!ge())return!1;var e=document.createElement("div");if(e.style.transform="matrix(10, 0, 0, 10, 0, 0)",e.innerHTML="<div>child</div>",document.body.appendChild(e),e&&e.firstChild){var t=e.firstChild;t.style.position="fixed",t.style.top="10px"}var i=10!==e.children[0].getBoundingClientRect().top;return document.body.removeChild(e),i}(),we="fit",De="flip",Ie="left",Ce="bottom",$e="top",Te=function(){function e(e){this._dom=e}return e.prototype.alignElement=function(e){var t=e.anchor,i=e.element,n=e.anchorAlign,r=e.elementAlign,o=e.offset,s=!this._dom.hasOffsetParent(i)?this.absoluteRect(t,i,o):this.relativeRect(t,i,o);return this._dom.align({anchorAlign:n,anchorRect:s,elementAlign:r,elementRect:this._dom.offset(i)})},e.prototype.absoluteRect=function(e,t,i){var n=this._dom,r=function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e}(ve(n.offset(e),i),n.stackingElementOffset(t)),o=n.stackingElementScroll(t),s=n.addScroll(r,o),a=this.elementScrollPosition(e,t),l=n.removeScroll(s,a);return l.left+=window.scrollX||window.pageXOffset,l.top+=window.scrollY||window.pageYOffset,l},e.prototype.elementScrollPosition=function(e,t){return e?{x:0,y:0}:this._dom.scrollPosition(t)},e.prototype.relativeRect=function(e,t,i){return ve(this._dom.position(e,t),i)},e}(),Oe=function(){function e(){}return e.prototype.addOffset=function(e,t){return{left:e.left+t.left,top:e.top+t.top}},e.prototype.align=function(e){return P(e)},e.prototype.boundingOffset=function(e){return G(e)},e.prototype.getWindow=function(){return ye()?window:null},e.prototype.isBodyOffset=function(e){return Z(e)},e.prototype.hasOffsetParent=function(e){if(!e)return!1;var t=e.offsetParent;return t&&!("BODY"===t.nodeName&&"static"===window.getComputedStyle(t).position)},e.prototype.offset=function(e){return e?X(e):null},e.prototype.staticOffset=function(e){if(!e)return null;var t=e.style,i=t.left,n=t.top;e.style.left="0px",e.style.top="0px";var r=X(e);return e.style.left=i,e.style.top=n,r},e.prototype.position=function(e,t){if(!e||!t)return null;var i=ce(e,t);return ne(e,i)},e.prototype.relativeOffset=function(e,t){return i=this.offset(e),n=t,r=this.isBodyOffset(e),o=i.top,s=i.left,r&&(s=0,o=0),{top:o+n.top,left:s+n.left,height:i.height,width:i.width};var i,n,r,o,s},e.prototype.addScroll=function(e,t){return B(e,t)},e.prototype.removeScroll=function(e,t){return re(e,t)},e.prototype.restrictToView=function(e){return ue(e)},e.prototype.scrollPosition=function(e){return Q(e)},e.prototype.scrollableParents=function(e){return function(e){var t=[];if(!ge()||!ye())return t;for(var i=e.parentElement;i;)be.test(ke(i))&&t.push(i),i=i.parentElement;return t.push(window),t}(e)},e.prototype.stackingElementOffset=function(e){var t=this.getRelativeContextElement(e);return t?X(t):null},e.prototype.stackingElementScroll=function(e){var t=this.getRelativeContextElement(e);return t?{x:t.scrollLeft,y:t.scrollTop}:{x:0,y:0}},e.prototype.stackingElementViewPort=function(e){var t=this.getRelativeContextElement(e);return t?{height:t.scrollHeight,width:t.scrollWidth}:null},e.prototype.getRelativeContextElement=function(e){if(!e||!Se)return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null},e.prototype.useRelativePosition=function(e){return!!this.getRelativeContextElement(e)},e.prototype.windowViewPort=function(e){return Y(e)},e.prototype.zIndex=function(e,t){return function(e,t){if(!e||!ge()||!ye())return null;var i=ce(e,t);if(!i)return null;var n=[e].concat(J(e,i)).reduce((function(e,t){var i=t.style.zIndex||window.getComputedStyle(t).zIndex,n=parseInt(i,10);return n>e?n:e}),0);return n?n+1:null}(e,t)},e.prototype.zoomLevel=function(){return ge()&&ye()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},e.prototype.isZoomed=function(){return this.zoomLevel()>1},e}(),Ee=function(){function e(e){this._dom=e}return e.prototype.positionElement=function(e){var t,i,n=e.anchor,r=e.currentLocation,o=e.element,s=e.anchorAlign,a=e.elementAlign,l=e.collisions,u=this._dom,d=e.viewPort||u.stackingElementViewPort(o)||u.windowViewPort(o),c=ve(u.offset(n),r),h=(t=u.staticOffset(o),(i=r)?{height:t.height,left:i.left,top:i.top,width:t.width}:t),p=this.elementRect(o,h),f=u.restrictToView({anchorAlign:s,anchorRect:c,collisions:l,elementAlign:a,elementRect:p,viewPort:d});return{flipped:f.flipped,offset:u.addOffset(h,f.offset)}},e.prototype.elementRect=function(e,t){return this._dom.removeScroll(t,this._dom.scrollPosition(e))},e}(),xe={name:"@progress/kendo-vue-popup",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646205068,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},Me=n.h,Re={left:-1e3,top:0},_e={name:"Popup",props:{appendTo:{type:String,default:""},anchor:{type:String,default:""},className:String,id:String,popupClass:String,collision:{type:Object,default:function(){return{horizontal:we,vertical:De}}},anchorAlign:{type:Object,default:function(){return{horizontal:Ie,vertical:Ce}}},popupAlign:{type:Object,default:function(){return{horizontal:Ie,vertical:$e}}},offset:{type:Object,default:function(){return Re}},show:{type:Boolean,default:!1},animate:{type:[Boolean,Object],default:function(){return!0}},direction:{type:String,default:"down"},transition:{type:String,default:"expand"}},data:function(){return{hasMounted:!1}},created:function(){Object(a.validatePackage)(xe),this.mountedAppendTo=void 0,this.mountedAnchor=void 0,this._initiallyMountedContent=void 0,this._flipped=!1,this._offsetTop=0,this._offsetLeft=-1e3,this._exitingAnimation=!1,this._prevShow=!1,this._prevShow=this.$props.show,this._domService=new Oe,this._alignService=new Te(this._domService),this._positionService=new Ee(this._domService),this.reposition=function(e,t,i){var n,r,o,s;void 0===i&&(i={});var a=0;i=i||{};var l=function(){a=!1===i.leading?0:(new Date).getTime(),n=null,s=e.apply(r,o),n||(r=o=null)};return function(){var u=(new Date).getTime();a||!1!==i.leading||(a=u);var d=t-(u-a);return r=this,o=arguments,d<=0||d>t?(n&&(clearTimeout(n),n=null),a=u,s=e.apply(r,o),n||(r=o=null)):n||!1===i.trailing||(n=setTimeout(l,d)),s}}(this.reposition.bind(this),1e3/60)},setup:Me?function(){return{v3:!!Me}}:void 0,mounted:function(){a.canUseDOM&&(this.mountedAppendTo=this.$props.appendTo?this.getParentRef(this.$props.appendTo):document.body,this.mountedAnchor=this.$props.anchor?this.getParentRef(this.$props.anchor):document.body),this._parentElement=this.$el.parentElement,this._initiallyMountedContent=this.$el.cloneNode(!0),this.hasMounted=!0,this.mountedAppendTo.appendChild(this.$el)},updated:function(){this._prevShow=this.$props.show},destroyed:Me?void 0:function(){this.detachRepositionHandlers()},beforeDestroy:Me?void 0:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},unmounted:function(){this.detachRepositionHandlers()},beforeUnmount:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},methods:{onOpened:function(){var e=this.$el;this.$props.show&&e.classList.add("k-animation-container-shown"),this.attachRepositionHandlers(e),this.$emit("open",{target:this})},onClosing:function(){this.$props.show||this.$el.classList.remove("k-animation-container-shown");this.detachRepositionHandlers()},onClosed:function(){this._exitingAnimation&&(this._exitingAnimation=!1,this.$forceUpdate()),this.$emit("close",{target:this})},transitionDuration:function(){var e=this.$props.animate,t=0,i=0;return e&&(!0===e?t=i=void 0:(t=e.openDuration,i=e.closeDuration)),{transitionEnterDuration:t,transitionExitDuration:i}},getParentRef:function(e){for(var t=this.$parent;!t.$refs[e];){if(t&&t.kendoAnchorRef)return t.kendoAnchorRef;if(!(t=t.$parent)&&a.canUseDOM)return document.body}return t.$refs[e].$el||t.$refs[e]},position:function(e,t,i){var n=e.anchorAlign,r=e.popupAlign,o=e.collision,s=e.offset,a=i?this.v3?this.mountedAnchor:this.getParentRef(i):document.body,l=this._alignService.alignElement({anchor:i?a:void 0,element:t,elementAlign:r,anchorAlign:n,offset:s});return this._positionService.positionElement({anchor:a,anchorAlign:n,collisions:o,element:t,currentLocation:l,elementAlign:r})},calculatePosition:function(e,t){if(!t||!ye()||!a.canUseDOM)return{flipped:!1,offset:e.offset};var i=Object(a.getDefaultSlots)(this),n=document.createElement("div"),r=this.$el&&this.$el.firstChild&&this.$el.firstChild.firstChild?this.$el.firstChild.firstChild.cloneNode(!0):null,o=r&&r.getBoundingClientRect?r:this._initiallyMountedContent;if(o)n.appendChild(o);else{var s=this.v3?i&&i[0].props?i[0].props.class:"":i&&i[0].data?i[0].data.staticClass:"",l=this.v3?this.$props.popupClass?this.$props.popupClass:"":i&&i[0].data?i[0].data.class:"";n.innerHTML='<div class="k-animation-container k-animation-container-relative">\t\n <div class="k-popup k-animation-container k-animation-container-relative">\n <div class="'+s+" "+l+'" >\n </div>\t\n </div>\t\n </div>'}if(t.appendChild(n),n&&n.firstChild){var u=n.firstChild;u.style.position="absolute",u.style.visibility="hidden",u.style.display="block",u.style.left="-1000",u.style.top="0";var d=this.v3?i&&i[0].props?i[0].props.style:{}:i[0].data?i[0].data.style:{};if(d)for(var c=0,h=Object.entries(d);c<h.length;c++){var p=h[c],f=p[0],m=p[1];u.style[f]=m}}var v=this.position(e,n.firstChild,this.$props.anchor);return n.parentNode.removeChild(n),v},attachRepositionHandlers:function(e){var t=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.$props.anchor?this.mountedAnchor:e),this._scrollableParents.map((function(e){return e.addEventListener("scroll",t.reposition)})),window.addEventListener("resize",this.reposition)},detachRepositionHandlers:function(){var e=this;this._scrollableParents&&(this._scrollableParents.map((function(t){return t.removeEventListener("scroll",e.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},reposition:function(){this.$forceUpdate()}},render:function(e){var t=Me||e,i=this.$props,n=i.className,r=i.popupClass,o=i.show,s=i.id,l=Object(a.getDefaultSlots)(this),u=this.v3||o?l:null,d=ye()?this.$props.appendTo?this.mountedAppendTo||this.getParentRef(this.$props.appendTo):document.body:void 0;if(this.$props.show){var c=this.calculatePosition(this.$props,d);this._offsetLeft=c.offset.left,this._offsetTop=c.offset.top,this._flipped=!!c.flipped}var h=this._flipped?"up":"down",p=this.transitionDuration(),f=p.transitionEnterDuration,m=p.transitionExitDuration;return this._exitingAnimation=this._exitingAnimation||this._prevShow&&!o,this.hasMounted?o||this._exitingAnimation&&d?t(O,{id:s,attrs:this.v3?void 0:{id:s,componentChildClassName:[r,"k-popup"],className:n,direction:h,transitionEnterDuration:f,transitionExitDuration:m,appear:o},componentChildClassName:[r,"k-popup"],className:n,onEntered:this.onOpened,on:this.v3?void 0:{entered:this.onOpened,exiting:this.onClosing,exited:this.onClosed},onExiting:this.onClosing,onExited:this.onClosed,direction:h,style:{position:"absolute",top:this._offsetTop+"px",left:this._offsetLeft+"px"},transitionEnterDuration:f,transitionExitDuration:m,appear:o},this.v3?function(){return[u]}:[u]):null:t("div",{style:{display:"none"},class:n},[t("div",{class:[r,"k-popup"]},[l])])}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_RANGE=t.MAX_DATE=t.MIN_DATE=t.DEFAULT_GROUP=t.VISIBILITY_HIDDEN_STYLES=t.DISPLAY_NONE_STYLES=t.DEFAULT_ID=t.OCCURRENCE_ID=t.EMPTY_RESOURCE=t.HOURS_IN_DAY_COUNT=t.WEEKS_COUNT=t.DAYS_IN_WEEK_COUNT=t.DEFAULT_EVENT_HEIGHT=t.BORDER_WIDTH=t.TIME_FORMAT=t.MS_PER_HOUR=t.MS_PER_MINUTE=t.MS_PER_SECOND=t.MIDNIGHT_INVARIANT=void 0;var n=i(5),r=i(5);Object.defineProperty(t,"MS_PER_DAY",{enumerable:!0,get:function(){return r.MS_PER_DAY}}),t.MIDNIGHT_INVARIANT=new Date(1980,0,1),t.MS_PER_SECOND=1e3,t.MS_PER_MINUTE=60*t.MS_PER_SECOND,t.MS_PER_HOUR=60*t.MS_PER_MINUTE,t.TIME_FORMAT="t",t.BORDER_WIDTH=1,t.DEFAULT_EVENT_HEIGHT=25,t.DAYS_IN_WEEK_COUNT=7,t.WEEKS_COUNT=6,t.HOURS_IN_DAY_COUNT=24,t.EMPTY_RESOURCE=[{}],t.OCCURRENCE_ID=0,t.DEFAULT_ID=void 0,t.DISPLAY_NONE_STYLES={display:"none"},t.VISIBILITY_HIDDEN_STYLES={visibility:"hidden"},t.DEFAULT_GROUP={index:0,resources:[]},t.MIN_DATE=new Date(1900,0,1),t.MAX_DATE=new Date(2099,11,31),t.DEFAULT_RANGE={index:0,start:t.MIN_DATE,end:t.MAX_DATE,zonedStart:n.ZonedDate.fromLocalDate(t.MIN_DATE),zonedEnd:n.ZonedDate.fromLocalDate(t.MAX_DATE)}},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(9),r=function(e,t){var i=Object(n.a)(e);return 0===t&&23===i.getHours()&&i.setHours(i.getHours()+2),i}},function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return r})),i.d(t,"c",(function(){return a}));var n="The required {0} timezone information is not provided!",r="The provided timezone information has invalid stucture!",o=/\{(\d+)}?\}/g,s=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},a=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var n=s(t);return e.replace(o,(function(e,t){return n[parseInt(t,10)]}))}},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(48),r=function(e,t){if(void 0===t&&(t=new Date),"Etc/UTC"===e||"Etc/GMT"===e)return 0;if(""===e)return t.getTimezoneOffset();var i=Object(n.a)(e,t),r=i.rule,o=i.zone;return parseFloat(r?o[0]-r[6]:o[0])}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=function(e,t){for(var i in e)"default"===i||t.hasOwnProperty(i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(97),t),r(i(98),t),r(i(99),t),r(i(100),t),r(i(101),t),r(i(102),t),r(i(103),t),r(i(104),t),r(i(105),t),r(i(106),t)},function(e,t,i){"use strict";function n(e){var t={horizontal:"left",vertical:"bottom"};return e&&(t.horizontal="right"),t}function r(e){var t={horizontal:"left",vertical:"top"};return e&&(t.horizontal="right"),t}i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return r}))},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.setRect=t.getBorders=t.getPadding=t.getRect=t.resourcesByIndex=t.expandResources=t.addUTCDays=t.toGroupResources=t.calculateEventRect=t.toFlatGroupResources=t.last=void 0,t.last=function(e){return e[e.length-1]},t.toFlatGroupResources=function(e,i,o,s){if(void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=[]),e.length<=i)return[s];var a=[];return e[i].data.map((function(l){a.push.apply(a,t.toFlatGroupResources(e,i+1,o+1,r(s,[n(n({},l),{field:e[i].field,valueField:e[i].valueField,colorField:e[i].colorField,multiple:e[i].multiple})])))})),a},t.calculateEventRect=function(e,i){if(e.length<1||!e[0].refTo||!e[0].refTo.current)return null;var n=t.getRect(e[0].refTo.current.element),r={top:n.top,left:n.left,right:n.right,width:n.width,height:0};return e.forEach((function(e){if(e.refTo.current){var n=t.getRect(e.refTo.current.element).height;void 0!==n&&(!i&&n>=r.height?r.height=n:r.height+=n)}})),r},t.toGroupResources=function(e,t){var i=[];if(!t||!t.length)return i;if(e&&e.resources&&e.resources.length)for(var n=e.resources,r=function(e){var r=t.find((function(t){return t.name===n[e]}));i.push(r)},o=0;o<n.length;o++)r(o);return i},t.addUTCDays=function(e,t){var i=new Date(e.getTime());return i.setUTCDate(i.getUTCDate()+t),i},t.expandResources=function(e,t){void 0===t&&(t=e.length-1);var i=Math.max(0,t),r=[];e&&e.length||(e=[{}]);for(var o=(e[i].data||[]).map((function(t){return n(n({},t),{text:t[e[i].textField]})}))||[],s=o.length,a=1,l=0;l<=i;l++)a*=(e[l].data||[]).length||1;for(l=0;l<a;l++)o[l%s]&&r.push(o[l%s]);return r},t.resourcesByIndex=function(e,t,i){for(var n=t,r=[],o=e,s=0;s<n.length;s++){var a=n[s].data||[],l=Math.floor(o/i[s]);r.push(a[l]),o-=l*i[s]}return r},t.getRect=function(e){return e?{top:e.offsetTop,left:e.offsetLeft,right:e.offsetParent?e.offsetParent.offsetWidth-(e.offsetLeft+e.offsetWidth):0,width:e.offsetWidth,height:e.offsetHeight}:{top:0,left:0,width:0,height:0,right:0}},t.getPadding=function(e,t){return void 0===t&&(t=!1),parseFloat(window.getComputedStyle(e)[t?"paddingLeft":"paddingTop"]||"0")+parseFloat(window.getComputedStyle(e)[t?"paddingRight":"paddingBottom"]||"0")},t.getBorders=function(e,t){return void 0===t&&(t=!1),parseFloat(window.getComputedStyle(e)[t?"borderLeftWidth":"borderTopWidth"]||"0")+parseFloat(window.getComputedStyle(e)[t?"borderRightWidth":"borderBottomWidth"]||"0")},t.setRect=function(e,t,i){void 0===i&&(i=!1),e&&(void 0!==t.top&&(e.style.top=t.top+"px"),void 0!==t.left&&(e.style.left=t.left+"px"),void 0!==t.width&&(e.style.width=t.width+"px"),void 0===t.height||i||(e.style.height="number"==typeof t.height?t.height+"px":t.height),i&&(e.style.minHeight=void 0!==t.height&&t.height>0?t.height+"px":""))}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerEditSlotVue2=t.SchedulerEditSlot=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(0)),u=i(49),d=i(7),c=i(74),h=i(18),p=i(57),f={name:"KendoSchedulerEditSlot",props:{viewSlot:Object,renderSlot:Object,form:Object,formItem:Object,refTo:[Function,Object],items:Array,row:Number,group:Object,range:Object,isWorkDay:{type:Boolean,default:!0},isWorkHour:{type:Boolean,default:!0},selected:Boolean,col:Number,index:Number,start:Date,end:Date,zonedStart:Object,zonedEnd:Object,isAllDay:Boolean,expandable:[Boolean,Object]},created:function(){this.slot=null,this.editableSlot=null},inject:{bv:{default:null},ks:{default:null}},data:function(){return{currentFormItem:null}},computed:{currentTabIndex:function(){var e=this.bv.slots.length&&this.bv.slots[0].current===this.slot;return void 0!==this.$props.tabIndex?null===this.$props.tabIndex?void 0:this.$props.tabIndex:0===this.bv.selectedSlots.length&&e&&0===this.items.length?0:void 0},computedEditable:function(){return h.useEditable(this.$props.editable)}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e,n=l.getDefaultSlots(this),r=this.$props,o=(r.refTo,r.viewSlot,r.form,r.formItem,r.onFormItemChange,r.items),s=r.row,u=r.group,d=r.range,h=r.isWorkDay,p=r.isWorkHour,f=r.col,m=r.index,v=r.start,g=r.end,y=r.zonedStart,b=r.zonedEnd,k=this.bv.selectedSlots.some((function(e){return Boolean(e.current&&e.current.props.start.getTime()===t.$props.start.getTime()&&e.current.props.end.getTime()===t.$props.end.getTime()&&e.current.props.index===t.$props.index&&e.current.props.group.index===t.$props.group.index&&e.current.props.range.index===t.$props.range.index&&e.current.props.isAllDay===t.$props.isAllDay)}));return i(c.SchedulerViewSlot,{isAllDay:this.isAllDay,attrs:this.v3?void 0:{isAllDay:this.isAllDay,expandable:this.expandable,items:o,row:s,group:u,range:d,isWorkDay:h,isWorkHour:p,col:f,index:m,start:v,end:g,zonedStart:y,zonedEnd:b,selected:k,tabIndex:this.currentTabIndex},expandable:this.expandable,items:o,row:s,group:u,range:d,isWorkDay:h,isWorkHour:p,col:f,index:m,start:v,end:g,zonedStart:y,zonedEnd:b,selected:k,tabIndex:this.currentTabIndex,onFocus:this.handleFocus,on:this.v3?void 0:{focus:this.handleFocus,doubleclick:this.handleDoubleClick,keydown:this.handleKeyDown},onDoubleclick:this.handleDoubleClick,onKeydown:this.handleKeyDown},this.v3?function(){return[n]}:[n])},methods:{createDataItemFromSlot:function(){var e={};if(d.setField(e,this.fields.start,new Date(this.$props.start.getTime())),d.setField(e,this.fields.end,new Date(this.$props.end.getTime())),d.setField(e,this.fields.isAllDay,this.$props.isAllDay),this.$props.group.resources.length)for(var t=0;t<this.$props.group.resources.length;t++){var i=this.$props.group.resources[t];if(d.isGroupped(this.$props.group.resources)){var n=d.getField(this.$props.group.resources[t],i.valueField);d.setField(e,i.field,i.multiple?[n]:n)}else d.setField(e,i.field,i.multiple?[]:void 0)}return e},handleFocus:function(e){this.computedEditable.select&&this.dispatchSlotsSelection({type:p.SLOTS_SELECT_ACTION.select,slot:this.renderSlot},e.event),this.$emit("focus",e)},handleDoubleClick:function(e){if(this.computedEditable.add){var t=this.createDataItemFromSlot();this.setFormItem(t,e)}this.$emit("doubleclick",e)},handleKeyDown:function(e){var t;switch(e.event.keyCode){case l.Keys.left:if(!this.bv.slots)return;e.event.preventDefault(),this.dispatchFocusedSlots({type:h.SLOTS_FOCUS_ACTION.left,slot:this.slot},e.event);break;case l.Keys.right:if(!this.bv.slots)return;e.event.preventDefault(),this.dispatchFocusedSlots({type:h.SLOTS_FOCUS_ACTION.right,slot:this.slot},e.event);break;case l.Keys.up:if(!this.bv.slots)return;e.event.preventDefault(),this.dispatchFocusedSlots({type:h.SLOTS_FOCUS_ACTION.up,slot:this.slot},e.event);break;case l.Keys.down:if(!this.bv.slots)return;e.event.preventDefault(),this.dispatchFocusedSlots({type:h.SLOTS_FOCUS_ACTION.down,slot:this.slot},e.event);break;case l.Keys.enter:if(!this.bv.slots||!this.computedEditable.add)return;var i=this.createDataItemFromSlot();this.setFormItem(i);break;case l.Keys.tab:t=d.findFirstItem(e.target)}t&&(e.event.preventDefault(),t.element&&t.element.focus())},handleEditFormSubmit:function(e){this.$emit("dataaction",{type:u.DATA_ACTION.create,series:!1,dataItem:e.value},e),this.setFormItem(null,e.event)},handleEditFormCancel:function(e){this.setFormItem(null,e.event)},handleEditFormClose:function(e){this.setFormItem(null,e)},handleFormItemChange:function(e,t){this.setFormItem&&this.setFormItem(e,t)}}};t.SchedulerEditSlotVue2=f;var m=f;t.SchedulerEditSlot=m},function(e,t,i){"use strict";i.r(t),i.d(t,"FloatingLabel",(function(){return I})),i.d(t,"FloatingLabelVue2",(function(){return D})),i.d(t,"Label",(function(){return p})),i.d(t,"LabelVue2",(function(){return h})),i.d(t,"Error",(function(){return v})),i.d(t,"ErrorVue2",(function(){return m})),i.d(t,"Hint",(function(){return b})),i.d(t,"HintVue2",(function(){return y}));var n,r=i(1),o=i(0),s=((n={})["labels.optional"]="(Optional)",n),a=i(2),l={name:"@progress/kendo-vue-labels",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646205211,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},u=r,d=u.h,c=u.inject,h={name:"KendoLabel",props:{id:String,editorId:String,editorRef:String,editorValid:{type:Boolean,default:void 0},editorDisabled:Boolean,optional:Boolean},inject:{kendoLocalizationService:{default:null}},created:function(){Object(o.validatePackage)(l)},computed:{labelClassName:function(){return{"k-label":!0,"k-label-empty":!this.defaultSlots,"k-text-error":!1===this.$props.editorValid,"k-text-disabled":!0===this.$props.editorDisabled}}},methods:{onLabelClick:function(e){if(this.$props.editorRef&&this.$props.editorRef.current&&!this.$props.editorDisabled){this.$props.editorRef.current.focus&&(e.preventDefault(),this.$props.editorRef.current.focus());var t=this.$props.editorRef.current.actionElement;t&&(e.preventDefault(),t.click())}}},setup:d?function(){return{v3:!!d,kendoLocalizationService:c("kendoLocalizationService",{})}}:void 0,render:function(e){var t=d||e;this.defaultSlots=Object(o.getDefaultSlots)(this);var i=Object(a.provideLocalizationService)(this),n=this.$props,r=n.id,l=n.editorId,u=n.optional?i.toLanguageString("labels.optional",s["labels.optional"]):"",c=u&&t("span",{class:"k-label-optional"},[u]);return t("label",{id:r,attrs:this.v3?void 0:{id:r,for:l},for:l,onClick:this.onLabelClick,on:this.v3?void 0:{click:this.onLabelClick},class:this.labelClassName},[this.defaultSlots,c])}},p=h,f=r.h,m={name:"KendoError",props:{id:String,direction:{type:String,default:"start",validator:function(e){return["start","end"].includes(e)}}},created:function(){Object(o.validatePackage)(l)},computed:{errorClassName:function(){return{"k-form-error":!0,"k-text-start":"start"===this.$props.direction,"k-text-end":"end"===this.$props.direction}}},setup:f?function(){return{v3:!!f}}:void 0,render:function(e){var t=f||e,i=Object(o.getDefaultSlots)(this);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,role:"alert"},role:"alert",class:this.errorClassName},[i])}},v=m,g=r.h,y={name:"KendoHint",props:{id:String,direction:{type:String,default:"start",validator:function(e){return["start","end"].includes(e)}}},created:function(){Object(o.validatePackage)(l)},computed:{hintClassName:function(){return{"k-form-hint":!0,"k-text-start":"start"===this.$props.direction,"k-text-end":"end"===this.$props.direction}}},setup:g?function(){return{v3:!!g}}:void 0,render:function(e){var t=g||e,i=Object(o.getDefaultSlots)(this);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id},class:this.hintClassName},[i])}},b=y,k=r,S=k.h,w=k.inject,D={name:"KendoFloatingLabel",props:{label:String,editorId:String,editorValue:[String,Boolean,Number],editorPlaceholder:String,editorValid:{type:Boolean,default:void 0},editorDisabled:Boolean,id:String,optional:Boolean},data:function(){return{focused:!1}},inject:{kendoLocalizationService:{default:null}},created:function(){Object(o.validatePackage)(l)},computed:{spanClassNames:function(){return{"k-floating-label-container":!0,"k-focus":this.focused,"k-state-empty":!this.$props.editorPlaceholder&&!this.$props.editorValue&&0!==this.$props.editorValue,"k-text-disabled":this.$props.editorDisabled,"k-rtl":"rtl"===this.$props.dir}},labelClassNames:function(){return{"k-label":!0,"k-text-error":!1===this.$props.editorValid,"k-text-disabled":this.$props.editorDisabled}}},methods:{handleFocus:function(){this.focused=!0},handleBlur:function(){this.focused=!1}},setup:S?function(){return{v3:!!S,kendoLocalizationService:w("kendoLocalizationService",{})}}:void 0,render:function(e){var t=S||e,i=Object(o.getDefaultSlots)(this),n=this.$props,r=n.label,l=n.editorId,u=n.id,d=n.optional,c=Object(a.provideLocalizationService)(this),h=d?c.toLanguageString("labels.optional",s["labels.optional"]):"",p=h&&t("span",{class:"k-label-optional"},[h]);return t("span",{class:this.spanClassNames,onFocusin:this.handleFocus,on:this.v3?void 0:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur,dir:this.$props.dir,attrs:this.v3?void 0:{dir:this.$props.dir}},[i,r?l?t("label",{id:u,attrs:this.v3?void 0:{id:u,for:l},for:l,class:this.labelClassNames},[r,p]):t("span",{id:u,attrs:this.v3?void 0:{id:u},class:this.labelClassNames},[r,p]):null])}},I=D},function(e,t,i){"use strict";i.d(t,"a",(function(){return d})),i.d(t,"b",(function(){return u}));var n=i(1),r=i(0),o=i(10),s=i(26),a=n.h,l=s.a.styles,u={name:"KendoButton",emits:{click:null,mousedown:null,mouseup:null,pointerdown:null,pointerup:null,focus:null,blur:null,keypress:null},props:{dir:String,selected:{type:Boolean,default:void 0},togglable:{type:Boolean,default:!1},icon:{type:String,default:function(){}},iconClass:{type:String,default:function(){}},imageUrl:{type:String,default:function(){}},imageAlt:String,disabled:{type:Boolean,default:void 0},size:{type:String,default:"medium"},shape:{type:String,default:"rectangle",validator:function(e){return[null,"rectangle","square"].includes(e)}},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid"},themeColor:{type:String,default:"base"}},created:function(){Object(r.validatePackage)(o.a),this.currentActive=!0===this.$props.togglable&&!0===this.$props.selected,this._activeTemp=void 0},data:function(){return{currentActive:null}},computed:{computedSelected:function(){return void 0!==this._activeTemp?this._activeTemp:void 0!==this.$props.selected?this.$props.selected:this.currentActive},buttonClasses:function(){var e,t=this.$props,i=t.disabled,n=t.icon,o=t.iconClass,s=t.imageUrl,a=t.dir,u=t.size,d=t.shape,c=t.rounded,h=t.fillMode,p=t.themeColor,f=void 0!==n||void 0!==o||void 0!==s,m=Object(r.getDefaultSlots)(this);return(e={})[l.button]=!0,e["k-button-"+(r.kendoThemeMaps.sizeMap[u]||u)]=u,e["k-button-"+d]=d&&"rectangle"!==d,e["k-rounded-"+(r.kendoThemeMaps.roundedMap[c]||c)]=c,e["k-icon-button"]=!m&&f,e["k-disabled"]=i,e["k-selected"]=this.computedSelected,e["k-rtl"]="rtl"===a,e["k-button-"+h]=h,e["k-button-"+h+"-"+p]=h&&p,e}},updated:function(){this.$props.togglable&&void 0!==this.$props.selected&&this.$props.selected!==this.currentActive&&(this.currentActive=this.$props.selected)},methods:{focus:function(e){this.$el.focus(e)},toggleIfApplicable:function(){if(!this.disabled&&this.$props.togglable&&void 0===this.$props.selected){var e=!this.currentActive;this._activeTemp=e,this.currentActive=e,this._activeTemp=void 0}},handleClick:function(e){this.toggleIfApplicable(),this.disabled||this.$emit("click",e)},handleMouseDown:function(e){this.disabled||this.$emit("mousedown",e)},handlePointerDown:function(e){this.disabled||this.$emit("pointerdown",e)},handleMouseUp:function(e){this.disabled||this.$emit("mouseup",e)},handlePointerUp:function(e){this.disabled||this.$emit("pointerup",e)},handleFocus:function(e){this.disabled||this.$emit("focus",e)},handleBlur:function(e){this.disabled||this.$emit("blur",e)},handleKeypress:function(e){this.disabled||this.$emit("keypress",e)}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props,n=i.togglable,o=i.icon,s=i.iconClass,l=i.imageUrl,u=i.imageAlt,d=Object(r.getDefaultSlots)(this);return t("button",{class:this.buttonClasses,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.handleMouseDown,mouseup:this.handleMouseUp,pointerdown:this.handlePointerDown,pointerup:this.handlePointerUp,focus:this.handleFocus,blur:this.handleBlur,keypress:this.handleKeypress},onMousedown:this.handleMouseDown,onMouseup:this.handleMouseUp,onPointerdown:this.handlePointerDown,onPointerup:this.handlePointerUp,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeypress:this.handleKeypress,role:n?"checkbox":void 0,attrs:this.v3?void 0:{role:n?"checkbox":void 0,"aria-disabled":this.$props.disabled||void 0,"aria-checked":n?this.currentActive:void 0},"aria-disabled":this.$props.disabled||void 0,"aria-checked":n?this.currentActive:void 0},[function(){if(l)return t("img",{role:"presentation",attrs:this.v3?void 0:{role:"presentation",alt:u,src:l},class:"k-image",alt:u,src:l});if(o){var e=Object(r.classNames)("k-icon","k-button-icon","k-i-"+o);return t("span",{role:"presentation",attrs:this.v3?void 0:{role:"presentation"},class:e})}return s?t("span",{role:"presentation",attrs:this.v3?void 0:{role:"presentation"},class:s}):null}.call(this),d])}},d=u},function(e,t,i){"use strict";i.d(t,"c",(function(){return n})),i.d(t,"b",(function(){return r})),i.d(t,"a",(function(){return o}));var n=6e4,r=36e5,o=864e5},function(e,t,i){"use strict";var n;i.d(t,"a",(function(){return n})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(n||(n={}))},function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return r}));var n=".k-dropdownlist > .k-button,.k-colorpicker > .k-button",r=["button:not(.k-dropdownlist > .k-button):not(.k-colorpicker > .k-button)",".k-button-group > button",".k-dropdownlist",".k-colorpicker"];t.a={styles:{button:"k-button",flat:"k-flat",outline:"k-outline",clear:"k-button-clear",primary:"k-primary","state-selected":"k-selected","button-icon":"k-button-icon","button-icontext":"k-button-icontext","state-disabled":"k-disabled","group-start":"k-group-start","group-end":"k-group-end","button-group":"k-button-group","button-group-stretched":"k-button-group-stretched",ltr:"k-ltr",rtl:"k-rtl"}}},function(e,t,i){"use strict";var n;i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return r})),function(e){e.next="next",e.prev="prev",e.current="current",e.reset="reset"}(n||(n={}));var r=function(e,t){var i=t.items.findIndex((function(t){return t===e}));switch(t.type){case n.next:return i===t.items.length-1?e:t.items[i+1];case n.prev:return 0===i?e:t.items[i-1];case n.current:return t.payload;case n.reset:return null;default:return e}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return s}));var n,r,o=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};!function(e){e.single="single",e.multiple="multiple",e.none="none"}(n||(n={})),function(e){e.toggle="toggle",e.remove="remove"}(r||(r={}));var s=function(e,t){switch(t.selection){case n.single:switch(t.type){case r.toggle:if(!Array.isArray(e)||null===e)return t.payload===e?null:t.payload;throw new Error("State cannot be an array in single selection");case r.remove:return t.payload===e?null:e;default:return e}case n.multiple:switch(t.type){case r.toggle:if(Array.isArray(e))return e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):o(e,[t.payload]);if(null===e)return[t.payload];throw new Error("State cannot be non-array in multiple selection");case r.remove:return Array.isArray(e)?e.some((function(e){return e===t.payload}))?e.filter((function(e){return e!==t.payload})):o(e,[t.payload]):e;default:return e}case n.none:return null;default:return e}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return p})),i.d(t,"b",(function(){return h}));var n=i(1),r=i(0),o=i(27),s=i(45),a=i(28),l=i(10),u=n,d=u.h,c=u.ref,h={name:"KendoVueChip",props:{id:String,text:String,value:[String,Object],type:String,dir:{type:String,default:function(){return"ltr"}},removable:{type:Boolean,default:!1},removeIcon:{type:String,default:function(){return"k-i-close-circle"}},disabled:{type:Boolean,default:!1},icon:String,selectedIcon:{type:String,default:function(){return"k-i-check"}},look:{type:String,default:function(){return"solid"}},size:{type:String,default:"medium"},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","outline","solid"].includes(e)}},themeColor:{type:String,default:"base",validator:function(e){return[null,"base","error","info","success","warning"].includes(e)}},dataItem:Object,selected:Boolean,ariaDescribedBy:String},emits:{click:null,keydown:null,blur:null,focus:null,remove:null},inject:{kendoSelection:{default:{value:null}},kendoFocused:{default:{value:null}},kendoDataItems:{default:null},handleDispatchDataItems:{default:r.noop},handleDispatchSelection:{default:r.noop},handleDispatchFocus:{default:r.noop}},created:function(){this.currentDir=void 0,Object(r.validatePackage)(l.a)},mounted:function(){this.chip=this.v3?this.chipRef:this.$refs.chip,this.currentDir=void 0!==this.$props.dir?"rtl"===this.$props.dir:this.$el&&"rtl"===getComputedStyle(this.$el).direction||!1},updated:function(){this.kendoFocused.value===this.$props.value&&this.$el&&this.$el.focus()},computed:{currentSelected:function(){var e=this;return this.$props.selected||(Array.isArray(this.kendoSelection.value)?this.kendoSelection.value.some((function(t){return t===e.$props.value})):this.kendoSelection.value===this.$props.value)}},methods:{computedFocused:function(){return this.kendoFocused.value===this.$props.value},handleClick:function(e){this.handleDispatchSelection&&this.handleDispatchSelection({type:a.a.toggle,payload:this.$props.value,event:e}),this.$emit("click",{target:this.target,event:e})},handleRemove:function(e){e.stopPropagation(),this.$props.removable&&(this.handleDispatchFocus&&(this.handleDispatchDataItems({type:s.a.remove,payload:this.$props.value,event:e}),this.handleDispatchFocus({type:o.a.reset,payload:this.$props.value,event:e}),this.handleDispatchSelection({type:a.a.remove,payload:this.$props.value,event:e})),this.$emit("remove",{target:this.target,event:e}))},handleKeyDown:function(e){switch(e.keyCode){case r.Keys.left:this.handleDispatchFocus&&this.handleDispatchFocus({type:o.a.prev,payload:this.$props.value,event:e});break;case r.Keys.right:this.handleDispatchFocus&&this.handleDispatchFocus({type:o.a.next,payload:this.$props.value,event:e});break;case r.Keys.enter:this.handleDispatchFocus&&this.handleDispatchSelection({type:a.a.toggle,payload:this.$props.value,event:e});break;case r.Keys.delete:this.handleRemove(e)}this.$emit("keydown",{target:this.target,event:e})},handleFocus:function(e){this.handleDispatchFocus&&this.handleDispatchFocus({payload:this.$props.value,type:o.a.current,event:e}),this.$emit("focus",{target:this.target,event:e})},handleBlur:function(e){this.$emit("blur",{target:this.target,event:e})}},setup:d?function(){return{v3:!!d,chipRef:c(null)}}:void 0,render:function(e){var t,i=this,n=d||e,o=this.$props,s=o.size,a=o.rounded,l=o.themeColor,u=o.fillMode,c=o.look,h=o.type;return n("div",{role:this.$props.role,attrs:this.v3?void 0:{role:this.$props.role,id:this.$props.value,dir:this.currentDir,tabIndex:Object(r.getTabIndex)(this.$props.tabIndex,this.$props.disabled,void 0),"aria-checked":this.currentSelected,"aria-disabled":this.$props.disabled,"aria-describedby":this.$props.ariaDescribedBy},id:this.$props.value,ref:this.v3?function(e){i.chipRef=e}:"chip",dir:this.currentDir,tabIndex:Object(r.getTabIndex)(this.$props.tabIndex,this.$props.disabled,void 0),class:Object(r.classNames)("k-chip",(t={"k-rtl":"rtl"===this.currentDir,"k-disabled":this.$props.disabled,"k-selected":this.currentSelected,"k-focus":this.computedFocused()},t["k-chip-"+(r.kendoThemeMaps.sizeMap[s]||s)]=s,t["k-rounded-"+(r.kendoThemeMaps.roundedMap[a]||a)]=a,t["k-chip-"+u]=u,t["k-chip-"+u+"-"+l]=Boolean(u&&l),t["k-chip-success"]="success"===h,t["k-chip-warning"]="warning"===h,t["k-chip-error"]="error"===h,t["k-chip-info"]="info"===h,t["k-chip-outline"]="outline"===c||"outlined"===c,t["k-chip-solid"]="solid"===c||"filled"===c,t)),"aria-checked":this.currentSelected,"aria-disabled":this.$props.disabled,"aria-describedby":this.$props.ariaDescribedBy,onFocus:this.handleFocus,on:this.v3?void 0:{focus:this.handleFocus,blur:this.handleBlur,click:this.handleClick,keydown:this.handleKeyDown},onBlur:this.handleBlur,onClick:this.handleClick,onKeydown:this.handleKeyDown},[this.currentSelected&&this.$props.selectedIcon&&n("span",{class:Object(r.classNames)("k-chip-icon","k-icon",this.$props.selectedIcon)}),this.$props.icon&&n("span",{class:Object(r.classNames)("k-chip-icon","k-icon",this.$props.icon)}),n("span",{class:"k-chip-content"},[this.$props.text&&n("span",{"aria-label":this.$props.text,attrs:this.v3?void 0:{"aria-label":this.$props.text},class:"k-chip-label"},[this.$props.text])]),this.$props.removable&&n("span",{class:Object(r.classNames)("k-chip-icon","k-icon",this.$props.removeIcon),onClick:this.handleRemove,on:this.v3?void 0:{click:this.handleRemove}})])}},p=h},function(e,t,i){"use strict";i.d(t,"a",(function(){return u})),i.d(t,"b",(function(){return l}));var n=i(1),r=i(0),o=n,s=o.h,a=o.ref,l={name:"KendoVueFloatingActionButtonItem",props:{disabled:Boolean,focused:Boolean,index:Number,icon:String,item:[String,Function,Object],dataItem:Object,text:String,tabIndex:Number,customProp:[String,Function,Object]},emits:{click:null,down:null},mounted:function(){this.element=this.v3?this.elementRef:this.$refs.element},computed:{itemClassNames:function(){return Object(r.classNames)("k-fab-item",{"k-state-focus":this.focused,"k-state-disabled":this.disabled})}},methods:{handleClick:function(e){void 0===this.$props.index||this.$props.disabled||this.$emit("click",e,this.$props.index)},focusElement:function(){this.$el&&this.$el.focus()},onDown:function(e){this.$emit("down",e)}},setup:s?function(){return{v3:!!s,elementRef:a(null)}}:void 0,render:function(e){var t=this,i=s||e,n=this.$props,o=n.disabled,a=n.id,l=n.tabIndex,u=n.dataItem,d=n.customProp,c=u.text,h=u.icon,p=i("li",{ref:this.v3?function(e){t.elementRef=e}:"element",id:a,attrs:this.v3?void 0:{id:a,role:"menuitem",tabIndex:Object(r.getTabIndex)(l,o),"aria-disabled":o,"aria-label":(c||"")+" floatingactionbutton item",customProp:d},class:this.itemClassNames,role:"menuitem",tabIndex:Object(r.getTabIndex)(l,o),"aria-disabled":o,"aria-label":(c||"")+" floatingactionbutton item",onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.onDown,pointerdown:this.onDown},onMousedown:this.onDown,onPointerdown:this.onDown,customProp:d},[c&&i("span",{class:"k-fab-item-text"},[c]),h&&i("span",{class:Object(r.classNames)("k-fab-item-icon k-icon k-i-"+h)})]);return r.getTemplate.call(this,{h:i,template:this.$props.item,defaultRendering:p,additionalProps:this.$props,additionalListeners:{click:this.handleClick}})}},u=l},function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return s}));var n=i(1),r=i(0),o=n.h,s={name:"KendoToolbarItem",methods:{element:function(){return this.$el}},setup:o?function(){return{v3:!!o}}:void 0,render:function(e){return(o||e)("span",[Object(r.getDefaultSlots)(this)])}},a=s},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t},a=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.multiDayViewDateRange=t.MultiDayViewVue2=t.MultiDayView=t.GRID_OFFSET=void 0;var l=s(i(1)),u=l.h,d=(l.inject,i(5)),c=i(33),h=i(58),p=i(107),f=i(34),m=i(108),v=i(109),g=i(110),y=i(111),b=i(112),k=i(7),S=i(2),w=i(14),D=i(36),I=i(21),C=i(40),$=i(59),T=i(114);t.GRID_OFFSET=1;var O={name:"KendoMultiDayView",props:{name:{type:String,default:"multi-day"},title:{type:String,default:"Multi Day"},currentTimeMarker:{type:Boolean,default:!0},dateRange:{type:[Function,Object],default:function(){return E}},numberOfDays:{type:Number,default:1},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"23:59"},workDayStart:{type:String,default:"08:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:d.Day.Monday},workWeekEnd:{type:Number,default:d.Day.Friday},step:{type:Number,default:1},slotDivisions:{type:Number,default:2},slotDuration:{type:Number,default:60},showWorkHours:{type:Boolean,default:!0},selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},defaultShowWorkHours:{type:Boolean,default:!0},timeHeaderCell:String},inject:{kendoIntlService:{default:null},ks:{default:null}},computed:{viewStart:function(){this.intl=S.provideIntlService(this);var e=this.intl.parseDate(this.$props.workDayStart),t=this.intl.parseDate(this.$props.startTime);return(void 0!==this.ks.showWorkHours?this.ks.showWorkHours:this.showWorkHours)?e:t},viewEnd:function(){this.intl=S.provideIntlService(this);var e=this.intl.parseDate(this.$props.workDayEnd),t=this.intl.parseDate(this.$props.endTime);return(void 0!==this.ks.showWorkHours?this.ks.showWorkHours:this.showWorkHours)?e:t},dayRanges:function(){return D.toRanges(this.ks.dateRange,{step:d.MS_PER_DAY*this.numberOfDays,timezone:this.ks.timezone}).map((function(e){return n(n({},e),{isAllDay:!0})}))},timeRanges:function(){return D.toRanges(this.ks.dateRange,{step:d.MS_PER_DAY,timezone:this.ks.timezone}).map((function(e){return n(n({},e),{isAllDay:!1})}))},daySlots:function(){return D.toSlots(this.ks.dateRange,{step:d.MS_PER_DAY},{groups:this.ks.groups,ranges:this.dayRanges})},timeSlots:function(){var e=this;return D.toSlots(this.ks.dateRange,{step:this.slotDuration*w.MS_PER_MINUTE/this.slotDivisions},{groups:this.ks.groups,ranges:this.timeRanges}).filter((function(t){return e.viewEnd.getTime()===e.viewStart.getTime()||k.isInTimeRange(t.zonedStart,e.viewStart,e.viewEnd)}))},occurrences:function(){return D.toOccurrences(this.ks.dataItems,{dateRange:this.ks.dateRange,fields:this.ks.fields,timezone:this.ks.timezone})},dayOccurrences:function(){return this.occurrences.filter((function(e){return e.isAllDay}))},timeOccurrences:function(){return this.occurrences.filter((function(e){return!e.isAllDay}))},dayItems:function(){var e=D.toItems(this.dayOccurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.dayRanges});return k.mapItemsToSlots(e,this.daySlots,!1),k.mapSlotsToItems(e,this.daySlots,!1),e},timeItems:function(){var e=this,t=D.toItems(this.timeOccurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.timeRanges}).filter((function(t){return e.viewStart.getTime()===e.viewEnd.getTime()||k.isInTimeRange(t.zonedStart,e.viewStart,e.viewEnd)||k.isInTimeRange(t.zonedEnd,e.viewStart,e.viewEnd)||k.isInTimeRange(new Date(t.zonedEnd.getTime()-(t.zonedEnd.getTime()-t.zonedStart.getTime())/2),e.viewStart,e.viewEnd)}));return k.mapItemsToSlots(t,this.timeSlots,!1),k.mapSlotsToItems(t,this.timeSlots,!1),t}},created:function(){this.intl=S.provideIntlService(this)},beforeUpdate:function(){this.intl=S.provideIntlService(this)},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var i=this,n=this,r=u||e;this.intl=S.provideIntlService(this);var o=this.$props.editItem||C.SchedulerEditItem,s=this.$props.editSlot||I.SchedulerEditSlot,l=(this.$props.showWorkHours,this.$props.numberOfDays),d=this.$props.slotDivisions,w=(this.$props.slotDuration,this.$props.workWeekStart),D=this.$props.workWeekEnd,O=this.intl.parseDate(this.$props.workDayStart),E=this.intl.parseDate(this.$props.workDayEnd),x=this.dayItems,M=this.timeItems,R=this.daySlots,_=this.timeSlots;return r(c.BaseView,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,props:this.$props,ranges:a(this.dayRanges,this.timeRanges),baseSlots:a(R,_)},props:this.$props,class:"k-scheduler-day-view",ranges:a(this.dayRanges,this.timeRanges),baseSlots:a(R,_)},this.v3?function(){return[r("div",{class:"k-scheduler-head"},["horizontal"===i.ks.orientation?[r(h.HorizontalResourceIterator,{nested:!0,attrs:i.v3?void 0:{nested:!0,group:i.ks.props.group,resources:i.ks.props.resources,rowContent:p.DayViewGroupRowContent,childRowContent:p.DayViewGroupRowContent},group:i.ks.props.group,resources:i.ks.props.resources,rowContent:p.DayViewGroupRowContent,childRowContent:p.DayViewGroupRowContent},i.v3?function(){return[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})]}:[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})]),r(h.HorizontalResourceIterator,{group:i.ks.props.group,attrs:i.v3?void 0:{group:i.ks.props.group,resources:i.ks.props.resources,rowContent:m.DayViewAllDayRowContent,childRowContent:m.DayViewAllDayRowContent},resources:i.ks.props.resources,rowContent:m.DayViewAllDayRowContent,childRowContent:m.DayViewAllDayRowContent},i.v3?function(){return[r(b.DayViewAllDaySlots,{dayRanges:i.dayRanges,attrs:i.v3?void 0:{dayRanges:i.dayRanges,daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D},daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]}:[r(b.DayViewAllDaySlots,{dayRanges:i.dayRanges,attrs:i.v3?void 0:{dayRanges:i.dayRanges,daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D},daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]),x.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,form:this.$props.form,item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,vertical:!1})}),i)]:r(f.VerticalResourceIterator,{group:i.ks.props.group,attrs:i.v3?void 0:{group:i.ks.props.group,resources:i.ks.props.resources,emptyCell:!0},resources:i.ks.props.resources,emptyCell:!0},[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})])]),r("div",{class:"k-scheduler-body"},["horizontal"===i.ks.orientation?[_.filter((function(e){return 0===e.group.index&&0===e.range.index})).map((function(e,t){var i=this;return r(h.HorizontalResourceIterator,{key:e.index,nested:!1,attrs:this.v3?void 0:{nested:!1,group:this.ks.props.group,resources:this.ks.props.resources,rowContent:v.DayViewRowContent,rowContentProps:{timeHeaderCell:this.$props.timeHeaderCell,isMaster:t%d==0,isLast:(t+1)%d==0,contentSlot:e}},group:this.ks.props.group,resources:this.ks.props.resources,rowContent:v.DayViewRowContent,rowContentProps:{timeHeaderCell:this.$props.timeHeaderCell,isMaster:t%d==0,isLast:(t+1)%d==0,contentSlot:e}},this.v3?function(){return[r(g.DayViewMiddleRow,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:O,workDayEnd:E,workWeekStart:w,workWeekEnd:D},timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:O,workDayEnd:E,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]}:[r(g.DayViewMiddleRow,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:O,workDayEnd:E,workWeekStart:w,workWeekEnd:D},timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:O,workDayEnd:E,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})])}),i),i.$props.currentTimeMarker&&k.intersects(k.first(i.timeRanges).start,k.last(i.timeRanges).end,new Date,new Date,!0)&&r(T.CurrentTimeMarker)]:[r(f.VerticalResourceIterator,{nested:!0,attrs:i.v3?void 0:{nested:!0,group:i.ks.props.group,resources:i.ks.props.resources},group:i.ks.props.group,resources:i.ks.props.resources},[r($.SchedulerResourceIteratorContext.Consumer,[function(e){var i=e.groupIndex;return[r("div",{class:"k-scheduler-row"},[r(m.DayViewAllDayRowContent,{groupIndex:i,attrs:this.v3?void 0:{groupIndex:i}}),n.dayRanges.map((function(e,n){var o=_.filter((function(e){return e.group.index===i&&0===e.range.index})).length;return R.filter((function(e){return e.group.index===i&&e.range.index===n})).map((function(e,n){return r(s,{renderSlot:this.$props.slot,attrs:this.v3?void 0:{renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,row:o*(i||0)+(i||0)*t.GRID_OFFSET,col:n,expandable:!0},viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},key:e.start.getTime()+":"+e.group.index,class:"k-scheduler-alldays-slot",row:o*(i||0)+(i||0)*t.GRID_OFFSET,col:n,expandable:!0})}),this)}),n)]),_.filter((function(e){return e.group.index===i&&0===e.range.index})).map((function(e,n,o){return r("div",{class:"k-scheduler-row",key:e.index},[r(v.DayViewRowContent,{contentSlot:e,attrs:this.v3?void 0:{contentSlot:e,isMaster:n%d==0,isLast:(n+1)%d==0,timeHeaderCell:this.$props.timeHeaderCell},isMaster:n%d==0,isLast:(n+1)%d==0,timeHeaderCell:this.$props.timeHeaderCell}),this.timeRanges.map((function(a,u){return _.filter((function(t){return t.index===e.index&&t.group.index===i&&t.range.index===u})).map((function(e){return r(s,{renderSlot:this.$props.slot,attrs:this.v3?void 0:{renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,row:o.length*(i||0)+n+(i||0)*t.GRID_OFFSET+t.GRID_OFFSET,col:u,editable:this.$props.editable,isWorkHour:k.isInTimeRange(e.zonedStart,O,E),isWorkDay:0<=e.zonedStart.getDay()+(l-w)&&(e.zonedStart.getDay()+(l-w))%l<=D+(l-w)},viewSlot:this.$props.viewSlot,form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,key:e.start.getTime()+":"+e.group.index,row:o.length*(i||0)+n+(i||0)*t.GRID_OFFSET+t.GRID_OFFSET,col:u,editable:this.$props.editable,isWorkHour:k.isInTimeRange(e.zonedStart,O,E),isWorkDay:0<=e.zonedStart.getDay()+(l-w)&&(e.zonedStart.getDay()+(l-w))%l<=D+(l-w)})}),!0)}),this)])}),n),n.$props.currentTimeMarker&&k.intersects(k.first(n.timeRanges).start,k.last(n.timeRanges).end,new Date,new Date,!0)&&r(T.CurrentTimeMarker,{groupIndex:i,attrs:this.v3?void 0:{groupIndex:i}})]}])]),x.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+" : "+e.range.index+" : "+e.originalStart:e.uid+":"+e.group.index+" : "+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!1})}),i)],M.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!0},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!0})}),i)])]}:[r("div",{class:"k-scheduler-head"},["horizontal"===i.ks.orientation?[r(h.HorizontalResourceIterator,{nested:!0,attrs:i.v3?void 0:{nested:!0,group:i.ks.props.group,resources:i.ks.props.resources,rowContent:p.DayViewGroupRowContent,childRowContent:p.DayViewGroupRowContent},group:i.ks.props.group,resources:i.ks.props.resources,rowContent:p.DayViewGroupRowContent,childRowContent:p.DayViewGroupRowContent},i.v3?function(){return[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})]}:[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})]),r(h.HorizontalResourceIterator,{group:i.ks.props.group,attrs:i.v3?void 0:{group:i.ks.props.group,resources:i.ks.props.resources,rowContent:m.DayViewAllDayRowContent,childRowContent:m.DayViewAllDayRowContent},resources:i.ks.props.resources,rowContent:m.DayViewAllDayRowContent,childRowContent:m.DayViewAllDayRowContent},i.v3?function(){return[r(b.DayViewAllDaySlots,{dayRanges:i.dayRanges,attrs:i.v3?void 0:{dayRanges:i.dayRanges,daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D},daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]}:[r(b.DayViewAllDaySlots,{dayRanges:i.dayRanges,attrs:i.v3?void 0:{dayRanges:i.dayRanges,daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D},daySlots:R,numberOfDays:l,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]),x.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,form:this.$props.form,item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,vertical:!1})}),i)]:r(f.VerticalResourceIterator,{group:i.ks.props.group,attrs:i.v3?void 0:{group:i.ks.props.group,resources:i.ks.props.resources,emptyCell:!0},resources:i.ks.props.resources,emptyCell:!0},[r(y.DayViewHead,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,dateHeaderCell:i.$props.dateHeaderCell},dateHeaderCell:i.$props.dateHeaderCell})])]),r("div",{class:"k-scheduler-body"},["horizontal"===i.ks.orientation?[_.filter((function(e){return 0===e.group.index&&0===e.range.index})).map((function(e,t){var i=this;return r(h.HorizontalResourceIterator,{key:e.index,nested:!1,attrs:this.v3?void 0:{nested:!1,group:this.ks.props.group,resources:this.ks.props.resources,rowContent:v.DayViewRowContent,rowContentProps:{timeHeaderCell:this.$props.timeHeaderCell,isMaster:t%d==0,isLast:(t+1)%d==0,contentSlot:e}},group:this.ks.props.group,resources:this.ks.props.resources,rowContent:v.DayViewRowContent,rowContentProps:{timeHeaderCell:this.$props.timeHeaderCell,isMaster:t%d==0,isLast:(t+1)%d==0,contentSlot:e}},this.v3?function(){return[r(g.DayViewMiddleRow,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:O,workDayEnd:E,workWeekStart:w,workWeekEnd:D},timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:O,workDayEnd:E,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})]}:[r(g.DayViewMiddleRow,{timeRanges:i.timeRanges,attrs:i.v3?void 0:{timeRanges:i.timeRanges,timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:O,workDayEnd:E,workWeekStart:w,workWeekEnd:D},timeSlots:_,slotDivisions:d,rootIndex:t,root:e,numberOfDays:l,workDayStart:O,workDayEnd:E,workWeekStart:w,workWeekEnd:D,onDataaction:i.handleDataAction,on:i.v3?void 0:{dataaction:i.handleDataAction}})])}),i),i.$props.currentTimeMarker&&k.intersects(k.first(i.timeRanges).start,k.last(i.timeRanges).end,new Date,new Date,!0)&&r(T.CurrentTimeMarker)]:[r(f.VerticalResourceIterator,{nested:!0,attrs:i.v3?void 0:{nested:!0,group:i.ks.props.group,resources:i.ks.props.resources},group:i.ks.props.group,resources:i.ks.props.resources},[r($.SchedulerResourceIteratorContext.Consumer,[function(e){var i=e.groupIndex;return[r("div",{class:"k-scheduler-row"},[r(m.DayViewAllDayRowContent,{groupIndex:i,attrs:this.v3?void 0:{groupIndex:i}}),n.dayRanges.map((function(e,n){var o=_.filter((function(e){return e.group.index===i&&0===e.range.index})).length;return R.filter((function(e){return e.group.index===i&&e.range.index===n})).map((function(e,n){return r(s,{renderSlot:this.$props.slot,attrs:this.v3?void 0:{renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,row:o*(i||0)+(i||0)*t.GRID_OFFSET,col:n,expandable:!0},viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},key:e.start.getTime()+":"+e.group.index,class:"k-scheduler-alldays-slot",row:o*(i||0)+(i||0)*t.GRID_OFFSET,col:n,expandable:!0})}),this)}),n)]),_.filter((function(e){return e.group.index===i&&0===e.range.index})).map((function(e,n,o){return r("div",{class:"k-scheduler-row",key:e.index},[r(v.DayViewRowContent,{contentSlot:e,attrs:this.v3?void 0:{contentSlot:e,isMaster:n%d==0,isLast:(n+1)%d==0,timeHeaderCell:this.$props.timeHeaderCell},isMaster:n%d==0,isLast:(n+1)%d==0,timeHeaderCell:this.$props.timeHeaderCell}),this.timeRanges.map((function(a,u){return _.filter((function(t){return t.index===e.index&&t.group.index===i&&t.range.index===u})).map((function(e){return r(s,{renderSlot:this.$props.slot,attrs:this.v3?void 0:{renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,row:o.length*(i||0)+n+(i||0)*t.GRID_OFFSET+t.GRID_OFFSET,col:u,editable:this.$props.editable,isWorkHour:k.isInTimeRange(e.zonedStart,O,E),isWorkDay:0<=e.zonedStart.getDay()+(l-w)&&(e.zonedStart.getDay()+(l-w))%l<=D+(l-w)},viewSlot:this.$props.viewSlot,form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,key:e.start.getTime()+":"+e.group.index,row:o.length*(i||0)+n+(i||0)*t.GRID_OFFSET+t.GRID_OFFSET,col:u,editable:this.$props.editable,isWorkHour:k.isInTimeRange(e.zonedStart,O,E),isWorkDay:0<=e.zonedStart.getDay()+(l-w)&&(e.zonedStart.getDay()+(l-w))%l<=D+(l-w)})}),!0)}),this)])}),n),n.$props.currentTimeMarker&&k.intersects(k.first(n.timeRanges).start,k.last(n.timeRanges).end,new Date,new Date,!0)&&r(T.CurrentTimeMarker,{groupIndex:i,attrs:this.v3?void 0:{groupIndex:i}})]}])]),x.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+" : "+e.range.index+" : "+e.originalStart:e.uid+":"+e.group.index+" : "+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!1})}),i)],M.map((function(e){return r(o,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!0},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},viewItem:this.$props.viewItem,item:this.$props.item,form:this.$props.form,editable:this.$props.editable,vertical:!0})}),i)])])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.MultiDayViewVue2=O;var E=function(e){var t=e.date,i=e.numberOfDays,n=void 0===i?1:i,r=e.timezone,o=d.ZonedDate.fromLocalDate(t,r),s=d.getDate(o),a=d.addDays(s,n),l=d.ZonedDate.fromUTCDate(k.toUTCDateTime(s),r),u=d.ZonedDate.fromUTCDate(k.toUTCDateTime(a),r);return{start:new Date(l.getTime()),end:new Date(u.getTime()),zonedStart:l,zonedEnd:u}};t.multiDayViewDateRange=E;var x=O;t.MultiDayView=x},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseViewVue2=t.BaseView=void 0;var s=o(i(1)).h,a=i(18),l=i(56),u=i(57),d=i(0),c=i(7),h={name:"KendoBaseView",setup:s?function(){return{v3:!!s}}:void 0,props:{props:Object,baseSlots:Array,ranges:Array,id:String},provide:function(){return{bv:this.bv,setItems:this.dispatchItems,setSlots:this.dispatchSlots,setSelectedSlots:u.dispatchSelectedSlots,setSelectedItems:l.dispatchSelectedItems,setFocusedItems:a.dispatchFocusedItems,setFocusedSlots:a.dispatchFocusedSlots}},data:function(){return{bv:{props:this.props,ranges:this.ranges,items:[],slots:[],focusedItems:[],focusedSlots:[],selectedItems:[],selectedSlots:[]}}},mounted:function(){this.syncCells()},updated:function(){this.syncCells()},render:function(e){var t=s||e,i=d.getDefaultSlots(this);return t("div",{class:"k-scheduler-layout k-scheduler-layout-flex",role:"presentation",attrs:this.v3?void 0:{role:"presentation"}},[i])},methods:{syncCells:function(){a.useCellSync({element:this.$el,selector:".k-group-cell",attribute:"data-depth-index",explicitDepth:!0}),a.useCellSync({element:this.$el,selector:".k-side-cell",attribute:"data-depth-index",explicitDepth:!1})},handleSchedulerItemsSelectAction:function(e,t){this.dispatchSelectedSlots({type:u.SLOTS_SELECT_ACTION.reset}),this.dispatchSelectedItems(e,t)},handleSchedulerSlotsSelectAction:function(e,t){this.dispatchSelectedItems({type:l.ITEMS_SELECT_ACTION.reset},t),this.dispatchSelectedSlots(e)},dispatchSelectedSlots:u.dispatchSelectedSlots,dispatchSelectedItems:l.dispatchSelectedItems,dispatchFocusedItems:a.dispatchFocusedItems,dispatchFocusedSlots:a.dispatchFocusedSlots,dispatchItems:function(e){switch(e.type){case c.COLLECTION_ACTION.add:this.bv.items.push(e.item);break;case c.COLLECTION_ACTION.remove:var t=this.bv.items.indexOf(e.item);this.bv.items.splice(t,1)}},dispatchSlots:function(e){switch(e.type){case c.COLLECTION_ACTION.add:this.bv.slots.push(e.item);break;case c.COLLECTION_ACTION.remove:var t=this.bv.slots.indexOf(e.item);this.bv.slots.splice(t,1)}}}};t.BaseViewVue2=h;var p=h;t.BaseView=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.VerticalResourceIteratorVue2=t.VerticalResourceIterator=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(20)),u=i(59),d=i(0),c={name:"KendoVerticalResourceIterator",props:{group:Object,resources:Array,nested:Boolean,wrapGroup:Boolean,cellContent:Object,emptyCell:Boolean},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=d.getDefaultSlots(this),n=this.$props,r=n.nested,o=n.wrapGroup,s=this.$props.cellContent||h,c=l.toGroupResources(this.$props.group,this.$props.resources),p=function e(i,n){void 0===n&&(n=!0);var r=i.children,o=i.resources.length>0;if(i.depth===i.resources.length||!o)return t(u.SchedulerResourceIteratorContext,{noWrap:!0,attrs:this.v3?void 0:{noWrap:!0,resource:i.resources[i.depth],groupIndex:o?i.groupIndex:0},resource:i.resources[i.depth],groupIndex:o?i.groupIndex:0},this.v3?function(){return[r]}:[r]);var s=i.resources[i.depth].data.length;return i.resources[i.depth].data.map((function(o,a){return t("div",{key:a,class:"k-scheduler-row"},[n&&t("div",{class:"k-scheduler-cell k-group-cell k-heading-cell","data-depth-index":i.depth,attrs:this.v3?void 0:{"data-depth-index":i.depth}},[o.text]),t("div",{class:"k-scheduler-cell k-group-content k-resource-row","data-depth-index":i.depth,attrs:this.v3?void 0:{"data-depth-index":i.depth,"data-resource-index":s*i.groupIndex+a},"data-resource-index":s*i.groupIndex+a},[e.call(this,{resources:i.resources,children:r,cellContent:i.cellContent,groupIndex:s*i.groupIndex+a,depth:i.depth+1},n)])])}),this)},f=function(e,i,n){var r=i.length>0;return t(u.SchedulerResourceIteratorContext,{noWrap:!0,attrs:this.v3?void 0:{noWrap:!0,resource:i[n],groupIndex:r?n:void 0},resource:i[n],groupIndex:r?n:void 0},this.v3?function(){return[t("div",{class:"k-scheduler-cell k-group-content"},[e])]}:[t("div",{class:"k-scheduler-cell k-group-content"},[e])])},m=function(e){return e.map((function(e,i){return t("div",{key:i,class:"k-scheduler-cell k-group-cell k-heading-cell","data-depth-index":i,attrs:this.v3?void 0:{"data-depth-index":i}})}),this)};return t("div",{class:"k-scheduler-group"},[r?o?t("div",{class:"k-scheduler-row"},[t("div",{class:"k-sticky-cell"},[function e(i){var n=this,r=i.children,o=i.resources.length?i.resources[i.depth].data.length:0;return i.resources[i.depth]?i.resources[i.depth].data.map((function(s,a){return t("div",{key:a,class:"k-scheduler-row"},[t("div",{class:"k-scheduler-cell k-resource-cell k-resource-row k-heading-cell","data-depth-index":i.depth,attrs:this.v3?void 0:{"data-depth-index":i.depth,"data-resource-index":o*i.groupIndex+a},"data-resource-index":o*i.groupIndex+a},[s.text]),i.depth+1!==c.length&&t("div",{class:"k-scheduler-cell k-resource-content"},[e.call(n,{resources:c,children:r,cellContent:i.cellContent,groupIndex:o*i.groupIndex+a,depth:i.depth+1})])])})):null}.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0})]),t("div",{class:"k-scheduler-cell k-group-content"},[p.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0},!1)])]):p.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0},!0):o?t("div",{class:"k-scheduler-row"},[t("div",{class:"k-sticky-cell"},[function(e){return t("div",{class:"k-scheduler-row"},[t("div",{class:"k-scheduler-row"},[e.resources.map((function(e,i){return t("div",{key:i,class:"k-scheduler-cell k-resource-cell k-heading-cell","data-depth-index":i,attrs:this.v3?void 0:{"data-depth-index":i}})}),this)])])}.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0})]),t("div",{class:"k-scheduler-cell k-group-content"},[i])]):function(e){var i=e.children;return t("div",{class:"k-scheduler-row"},[m.call(this,e.resources),this.emptyCell&&t("div",{class:"k-scheduler-cell k-side-cell"}),f.call(this,i,e.resources,e.groupIndex)])}.call(this,{resources:c,children:i,cellContent:s,depth:0,groupIndex:0})])}};t.VerticalResourceIteratorVue2=c;var h=null,p=c;t.VerticalResourceIterator=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DateHeaderCellVue2=t.DateHeaderCell=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(2),d={name:"KendoDateHeaderCell",props:{as:[String,Function,Object],format:{type:[String,Object],default:"d"},date:[Date,Object],start:Date,end:Date},inject:{kendoIntlService:{default:null}},setup:a?function(){return{v3:!!a,kendoIntlService:l("kendoIntlService",{})}}:void 0,render:function(e){var t=a||e;return t("div",{class:"k-scheduler-cell k-heading-cell"},[t("span",{class:"k-link k-nav-day"},[u.provideIntlService(this).formatDate(this.$props.date,this.$props.format)])])}};t.DateHeaderCellVue2=d;var c=d;t.DateHeaderCell=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=function(e,t){for(var i in e)"default"===i||t.hasOwnProperty(i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(37),t),r(i(61),t),r(i(38),t),r(i(39),t)},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.inRange=t.inSlot=t.inGroup=t.toItems=void 0;var r=i(7),o=i(88),s=i(5);t.toItems=function(e,i,r){var l=i.timezone,u=r.groups,d=r.ranges,c=[];return o.orderBy(e,[{field:"start",dir:"asc"},{field:"end",dir:"desc"},{field:"isAllDay",dir:"desc"}]).forEach((function(e){u.forEach((function(i){var r=1===u.length?a(e,i):i;t.inGroup(e,r)&&d.forEach((function(i){if(t.inRange(e,i)){var o=i.end<e.end,a=e.start<i.start,u=s.ZonedDate.fromLocalDate(e.start,l),d=s.ZonedDate.fromLocalDate(e.end,l),h=n(n({},e),{refTo:{},itemRef:{},head:o,tail:a,order:null,zonedStart:u,zonedEnd:d,group:r,range:i,slots:[],isRecurring:Boolean(e.recurrenceRule),isException:Boolean(!e.recurrenceRule&&null!==e.recurrenceId&&void 0!==e.recurrenceId),isAllDay:Boolean(e.isAllDay)});c.push(h)}}))}))})),c};var a=function(e,t){return{index:0,resources:t.resources.filter((function(t){return l(e,t)}))}},l=function(e,t){return t.multiple?(e.dataItem[t.field]||[]).some((function(e){return t[t.valueField]===e})):e.dataItem[t.field]===t[t.valueField]};t.inGroup=function(e,t){return!t.resources.some((function(t){return t.multiple?!e.dataItem[t.field].some((function(e){return t[t.valueField]===e})):e.dataItem[t.field]!==t[t.valueField]}))},t.inSlot=function(e,t){return r.intersects(t.start,t.end,e.start,e.end)},t.inRange=function(e,t){return r.intersects(t.start,t.end,e.start,e.end)&&(void 0===t.isAllDay||void 0===e.isAllDay||e.isAllDay===t.isAllDay)}},function(e,t,i){"use strict";var n=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.toOccurrences=void 0;var r=i(0),o=i(134),s=i(5),a=i(7);t.toOccurrences=function(e,t){var i=t.dateRange,n=t.fields,r=t.timezone;return e.map(l(n)).reduce(u(i,r,n),[]).filter((function(e){return!a.isMaster(e.dataItem,n)}))};var l=function(e){return function(t){return{uid:r.getter(e.id||"id")(t),start:r.getter(e.start||"start")(t),startTimezone:r.getter(e.startTimezone||"startTimezone")(t),originalStart:r.getter(e.originalStart||"originalStart")(t),end:r.getter(e.end||"end")(t),endTimezone:r.getter(e.endTimezone||"endTimezone")(t),isAllDay:r.getter(e.isAllDay||"isAllDay")(t),title:r.getter(e.title||"title")(t),description:r.getter(e.description||"description")(t),occurrenceId:r.getter("occurrenceId")(t),recurrenceRule:r.getter(e.recurrenceRule||"recurrenceRule")(t),recurrenceExceptions:r.getter(e.recurrenceExceptions||"recurrenceExceptions")(t),recurrenceId:r.getter(e.recurrenceId||"recurrenceId")(t),dataItem:r.clone(t)}}},u=function(e,t,i){return function(r,o){return n(r,Boolean(o.recurrenceRule)&&Boolean(null===o.recurrenceId||void 0===o.recurrenceId)&&a.isMaster(o.dataItem,i)?n(d(o,{dateRange:e,timezone:t,fields:i})):[o])}},d=function(e,t){var i=t.dateRange,n=t.timezone,l=t.fields,u=e.recurrenceRule,d=o.parseRule({recurrenceRule:u});d.start||(d.start=s.ZonedDate.fromLocalDate(e.start,n)),d.end||(d.end=s.ZonedDate.fromLocalDate(e.end,n));var c=e.recurrenceExceptions;c&&(d.exceptionDates=c.map((function(e){return s.ZonedDate.fromLocalDate(e,n)})));var h=i.zonedStart,p=i.zonedEnd,f=o.expand(d,{rangeStart:s.ZonedDate.fromUTCDate(h,n),rangeEnd:s.ZonedDate.fromUTCDate(p,n)});return f.events.length?f.events.map((function(t,i){var n=r.clone(e),o=r.clone(e.dataItem);return n.recurrenceId=n.uid,a.setField(o,l.recurrenceId,e.uid),n.originalStart=t.start.toLocalDate(),a.setField(o,l.originalStart,t.start.toLocalDate()),n.start=t.start.toLocalDate(),a.setField(o,l.start,t.start.toLocalDate()),n.end=t.end.toLocalDate(),a.setField(o,l.end,t.end.toLocalDate()),n.occurrenceId=String(i),a.setField(o,"occurrenceId",String(i)),n.dataItem=o,n})):[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toRanges=void 0;var n=i(5);t.toRanges=function(e,t){for(var i=t.step,r=t.timezone,o=[],s=n.ZonedDate.fromLocalDate(e.start,r),a=n.ZonedDate.fromLocalDate(e.end,r),l=s.clone(),u=0;l.getTime()<a.getTime();u++,l=l.addTime(i)){var d=l.clone(),c=d.clone().addTime(i),h=new Date(d.getTime()),p={index:u,end:new Date(c.getTime()),start:h,zonedStart:d,zonedEnd:c};o.push(p)}return o}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerEditItemVue2=t.SchedulerEditItem=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(0)),u=i(41),d=i(18),c=i(113),h=i(77),p=i(78),f=i(79),m=i(80),v=i(81),g=i(82),y=i(56),b={name:"KendoSchedulerEditItem",props:{tabIndex:Number,viewItem:[String,Function,Object],drag:[String,Function,Object],resize:[String,Function,Object],form:[String,Function,Object],removeDialog:[String,Function,Object],occurrenceDialog:[String,Function,Object],formItem:Object,dragItem:Object,resizeItem:Object,removeItem:Object,showOccurrenceDialog:Boolean,showRemoveDialog:Boolean,series:Boolean,uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,isAllDay:Boolean,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,id:String,className:String,itemStyle:Object,editable:[Object,Boolean],selected:Boolean,vertical:Boolean,dragHint:Boolean,resizeHint:Boolean,format:String,ignoreIsAllDay:Boolean},inject:{bv:{default:null}},provide:function(){return{ei:this.ei}},data:function(){return{ei:{props:this.$props,form:this.$props.formItem,drag:this.drag,resize:this.resize,remove:this.remove,showRemoveDialog:this.showRemoveDialog,showOccurrenceDialog:this.showOccurrenceDialog},currentTabIndex:this.$props.tabIndex,item:null}},computed:{currentState:function(){return{selected:this.selected,series:this.series,formItem:this.formItem,dragItem:this.dragItem,resizeItem:this.resizeItem,removeItem:this.removeItem,showRemoveDialog:this.showRemoveDialog,showOccurrenceDialog:this.showOccurrenceDialog}},actionsReducerMap:function(){var e;return(e={})[g.SERIES_ACTION.set]=this.dispatchSeries,e[g.SERIES_ACTION.toggle]=this.dispatchSeries,e[g.SERIES_ACTION.reset]=this.dispatchSeries,e[y.ITEMS_SELECT_ACTION.select]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.add]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.remove]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.reset]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.selectNext]=this.dispatchItemSelection,e[y.ITEMS_SELECT_ACTION.selectPrev]=this.dispatchItemSelection,e[c.FORM_ITEM_ACTION.set]=this.dispatchFormItem,e[c.FORM_ITEM_ACTION.setMaster]=this.dispatchFormItem,e[c.FORM_ITEM_ACTION.reset]=this.dispatchFormItem,e[c.FORM_ITEM_ACTION.complete]=this.dispatchFormItem,e[p.REMOVE_ITEM_ACTION.set]=this.dispatchRemoveItem,e[p.REMOVE_ITEM_ACTION.reset]=this.dispatchRemoveItem,e[p.REMOVE_ITEM_ACTION.complete]=this.dispatchRemoveItem,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.close]=this.dispatchShowOccurrenceDialog,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.open]=this.dispatchShowOccurrenceDialog,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.set]=this.dispatchShowOccurrenceDialog,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.toggle]=this.dispatchShowOccurrenceDialog,e[h.SHOW_OCCURRENCE_DIALOG_ACTION.reset]=this.dispatchShowOccurrenceDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.close]=this.dispatchShowRemoveDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.open]=this.dispatchShowRemoveDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.set]=this.dispatchShowRemoveDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.toggle]=this.dispatchShowRemoveDialog,e[f.SHOW_REMOVE_DIALOG_ACTION.reset]=this.dispatchShowRemoveDialog,e[m.DRAG_ITEM_ACTION.start]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.drag]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.complete]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.completeOccurrence]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.completeSeries]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.set]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.reset]=this.dispatchDragItem,e[m.DRAG_ITEM_ACTION.dragSelected]=this.dispatchDragItem,e[v.RESIZE_ITEM_ACTION.start]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.startDrag]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.startDragSelected]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.endDrag]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.endDragSelected]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.complete]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.completeOccurrence]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.completeSeries]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.set]=this.dispatchResizeItem,e[v.RESIZE_ITEM_ACTION.reset]=this.dispatchResizeItem,e[d.ITEMS_FOCUS_ACTION.next]=this.dispatchViewItemsFocus,e[d.ITEMS_FOCUS_ACTION.prev]=this.dispatchViewItemsFocus,e[d.SLOTS_FOCUS_ACTION.left]=this.dispatchViewSlotsFocus,e[d.SLOTS_FOCUS_ACTION.right]=this.dispatchViewSlotsFocus,e[d.SLOTS_FOCUS_ACTION.up]=this.dispatchViewSlotsFocus,e[d.SLOTS_FOCUS_ACTION.down]=this.dispatchViewSlotsFocus,e.null=function(){},e}},updated:function(){var e=this.bv.items.length&&this.bv.items[0]===this.item;this.currentTabindex=void 0!==this.$props.tabIndex?null===this.$props.tabIndex?void 0:this.$props.tabIndex:0===this.bv.selectedItems.length&&e?0:void 0},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e,n=this.$props,r=n.onDataaction,o=(n.ignoreIsAllDay,n.viewItem,n.series),s=n.onSeriesChange,l=(n.form,n.formItem),y=n.onFormItemChange,b=(n.drag,n.dragItem),k=n.onDragItemChange,S=(n.resize,n.resizeItem),w=n.onResizeItemChange,D=(n.removeDialog,n.removeItem),I=n.onRemoveItemChange,C=(n.occurrenceDialog,n.showOccurrenceDialog),$=n.onShowOccurrenceDialogChange,T=n.showRemoveDialog,O=n.onShowRemoveDialogChange,E=(d.useEditable(this.$props.editable),g.useSeries(null,o,s)),x=E[0],M=(E[1],c.useFormItem({series:x,onDataaction:r},[null,l,y])),R=(M[0],M[1],M[2],m.useDragItem({dataItem:this.$props.dataItem,ignoreIsAllDay:this.$props.ignoreIsAllDay,isAllDay:this.$props.isAllDay,onDataaction:r},[null,b,k])),_=(R[0],R[1],R[2],v.useResizeItem({dataItem:this.$props.dataItem,onDataaction:r},[null,S,w])),F=(_[0],_[1],_[2],p.useRemoveItem({series:x,onDataaction:r},[null,D,I])),A=(F[0],F[1],F[2],f.useShowRemoveDialog(!1,T,O)),z=(A[0],A[1],A[2],h.useShowOccurrenceDialog(!1,C,$)),V=(z[0],z[1],z[2],this.bv.items,Boolean(this.bv.selectedItems&&this.bv.selectedItems.some((function(e){return e===t.item}))));return i(u.SchedulerViewItem,{ignoreIsAllDay:this.ignoreIsAllDay,attrs:this.v3?void 0:{ignoreIsAllDay:this.ignoreIsAllDay,item:this.item,uid:this.uid,start:this.start,end:this.end,originalStart:this.originalStart,startTimezone:this.startTimezone,endTimezone:this.endTimezone,isAllDay:this.isAllDay,title:this.title,description:this.description,occurrenceId:this.occurrenceId,recurrenceExceptions:this.recurrenceExceptions,recurrenceRule:this.recurrenceRule,recurrenceId:this.recurrenceId,dataItem:this.dataItem,head:this.head,tail:this.tail,order:this.order,zonedStart:this.zonedStart,zonedEnd:this.zonedEnd,slots:this.slots,group:this.group,range:this.range,isException:this.isException,isRecurring:this.isRecurring,id:this.id,className:this.className,itemStyle:this.itemStyle,editable:this.editable,vertical:this.vertical,dragHint:this.dragHint,resizeHint:this.resizeHint,format:this.format,itemRef:this.item,selected:V,tabIndex:this.tabIndex},item:this.item,uid:this.uid,start:this.start,end:this.end,originalStart:this.originalStart,startTimezone:this.startTimezone,endTimezone:this.endTimezone,isAllDay:this.isAllDay,title:this.title,description:this.description,occurrenceId:this.occurrenceId,recurrenceExceptions:this.recurrenceExceptions,recurrenceRule:this.recurrenceRule,recurrenceId:this.recurrenceId,dataItem:this.dataItem,head:this.head,tail:this.tail,order:this.order,zonedStart:this.zonedStart,zonedEnd:this.zonedEnd,slots:this.slots,group:this.group,range:this.range,isException:this.isException,isRecurring:this.isRecurring,id:this.id,className:this.className,itemStyle:this.itemStyle,editable:this.editable,vertical:this.vertical,dragHint:this.dragHint,resizeHint:this.resizeHint,format:this.format,itemRef:this.item,selected:V,tabIndex:this.tabIndex,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,keyup:this.handleKeyUp,focus:this.handleFocus,mouseup:this.handleMouseUp,mousedown:this.handleMouseDown,click:this.handleClick,doubleclick:this.handleDoubleClick,removeclick:this.handleRemoveClick,press:this.handlePress,drag:this.handleDrag,release:this.handleRelease,resizepress:this.handleResizePress,resizeenddrag:this.handleResizeEndDrag,resizestartdrag:this.handleResizeStartDrag,resizeselease:this.handleResizeRelease},onKeyup:this.handleKeyUp,onFocus:this.handleFocus,onMouseup:this.handleMouseUp,onMousedown:this.handleMouseDown,onClick:this.handleClick,onDoubleclick:this.handleDoubleClick,onRemoveclick:this.handleRemoveClick,onPress:this.handlePress,onDrag:this.handleDrag,onRelease:this.handleRelease,onResizepress:this.handleResizePress,onResizeenddrag:this.handleResizeEndDrag,onResizestartdrag:this.handleResizeStartDrag,onResizeselease:this.handleResizeRelease})},methods:{handleFocus:function(e){if(this.onFocusAction)this.onFocusAction(e,this.$props,this.currentState);this.$emit("focus",e)},handleMouseDown:function(e){if(this.onMouseDownAction)this.onMouseDownAction(e,this.$props,this.currentState);this.$emit("mousedown",e)},handleMouseUp:function(e){if(this.onMouseUpAction)this.onMouseUpAction(e,this.$props,this.currentState);this.$emit("mouseup",e)},handleClick:function(e){if(this.onClickAction)this.onClickAction(e,this.props,this.currentState);this.$emit("click",e)},handleDoubleClick:function(e){this.onDoubleClickAction,this.$emit("doubleclick",e)},handleRemoveClick:function(e){if(this.onRemoveClickAction)this.onRemoveClickAction(e,this.props,this.currentState);this.$emit("removeclick",e)},handlePress:function(e){if(this.onPressAction)this.onPressAction(e,this.props,this.currentState);this.$emit("press",e)},handleDrag:function(e){if(this.onDragAction)this.onDragAction(e,this.props,this.currentState);this.$emit("drag",e)},handleRelease:function(e){if(this.onReleaseAction)this.onReleaseAction(e,this.$props,this.currentState);this.$emit("release",e)},handleResizePress:function(e){if(this.onResizePressAction)this.onResizePressAction(e,this.$props,this.currentState);this.$emit("resizepress",e)},handleResizeStartDrag:function(e){if(this.onResizeStartDragAction)this.onResizeStartDragAction(e,this.$props,this.currentState);this.$emit("resizestartdrag",e)},handleResizeEndDrag:function(e){if(this.onResizeEndDragAction)this.onResizeEndDragAction(e,this.$props,this.currentState);this.$emit("resizeenddrag",e)},handleResizeRelease:function(e){if(this.onResizeReleaseAction)this.onResizeReleaseAction(e,this.$props,this.currentState);this.$emit("resizerelease",e)},handleFormSubmit:function(e){if(this.onFormSubmitAction)this.onFormSubmitAction(e,this.$props,this.currentState);this.$emit("formsubmit",e)},handleCancel:function(e){if(this.onCancelAction)this.onCancelAction(e,this.$props,this.currentState);this.$emit("cancel",e)},handleOccurrenceClick:function(e){if(this.onOccurrenceClickAction)this.onOccurrenceClickAction(e,this.$props,this.currentState);this.$emit("occurrenceclick",e)},handleSeriesClick:function(e){if(this.onSeriesClickAction)this.onSeriesClickAction(e,this.$props,this.currentState);this.$emit("seriesclick",e)},handleKeyDown:function(e){if(this.onKeyDownAction)this.onKeyDownAction(e,this.$props,this.currentState);this.$emit("keydown",e)},handleKeyUp:function(e){if(this.onKeyUpAction)this.onKeyUpAction(e,this.$props,this.currentState);this.$emit("keyup",e)},handleRemoveConfirm:function(e){if(this.onRemoveConfirmAction)this.onRemoveConfirmAction(e,this.$props,this.currentState);this.$emit("removeconfirm",e)},onClickAction:function(e,t,i){return[{type:e.event.metaKey||e.event.ctrlKey?!i.selected||i.dragItem||i.resizeItem?y.ITEMS_SELECT_ACTION.add:y.ITEMS_SELECT_ACTION.remove:y.ITEMS_SELECT_ACTION.select}]},onDoubleClickAction:function(e,t){return t.editable?[{type:c.FORM_ITEM_ACTION.set,payload:t.dataItem},t.isRecurring&&{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}].filter(Boolean):[]},onRemoveClickAction:function(e,t){return t.editable?[{type:p.REMOVE_ITEM_ACTION.set,payload:t.dataItem},t.isRecurring?{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}:{type:f.SHOW_REMOVE_DIALOG_ACTION.open}]:[]},onPressAction:function(e,t){return t.editable?{type:m.DRAG_ITEM_ACTION.start,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onDragAction:function(e,t){return t.editable?{type:e.dragEvent.originalEvent.metaKey||e.dragEvent.originalEvent.ctrlKey?m.DRAG_ITEM_ACTION.dragSelected:m.DRAG_ITEM_ACTION.drag,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onReleaseAction:function(e,t,i){return t.editable&&i.dragItem?t.isRecurring&&!t.isException&&null===i.series?{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}:{type:t.isRecurring?i.series?m.DRAG_ITEM_ACTION.completeSeries:m.DRAG_ITEM_ACTION.completeOccurrence:m.DRAG_ITEM_ACTION.complete,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onResizePressAction:function(e,t){return t.editable?{type:v.RESIZE_ITEM_ACTION.start,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onResizeStartDragAction:function(e,t){return t.editable?{type:e.dragEvent.originalEvent.metaKey||e.dragEvent.originalEvent.ctrlKey?v.RESIZE_ITEM_ACTION.startDragSelected:v.RESIZE_ITEM_ACTION.startDrag,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onResizeEndDragAction:function(e,t){return t.editable?{type:e.dragEvent.originalEvent.metaKey||e.dragEvent.originalEvent.ctrlKey?v.RESIZE_ITEM_ACTION.endDragSelected:v.RESIZE_ITEM_ACTION.endDrag,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onResizeReleaseAction:function(e,t,i){return t.editable&&i.resizeItem?t.isRecurring&&!t.isException&&null===i.series?{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}:{type:t.isRecurring?i.series?v.RESIZE_ITEM_ACTION.completeSeries:v.RESIZE_ITEM_ACTION.completeOccurrence:v.RESIZE_ITEM_ACTION.complete,payload:{x:e.dragEvent.clientX,y:e.dragEvent.clientY}}:[]},onOccurrenceClickAction:function(e,t,i){return i.dragItem?[{type:m.DRAG_ITEM_ACTION.completeOccurrence},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.resizeItem?[{type:v.RESIZE_ITEM_ACTION.completeOccurrence},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.formItem?[{type:g.SERIES_ACTION.set,payload:!1},{type:c.FORM_ITEM_ACTION.set,payload:t.dataItem},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.removeItem?[{type:g.SERIES_ACTION.set,payload:!1},{type:p.REMOVE_ITEM_ACTION.set,payload:t.dataItem},{type:f.SHOW_REMOVE_DIALOG_ACTION.open},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:void 0},onSeriesClickAction:function(e,t,i){return i.dragItem?[{type:m.DRAG_ITEM_ACTION.completeSeries},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.resizeItem?[{type:v.RESIZE_ITEM_ACTION.completeSeries},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.formItem?[{type:g.SERIES_ACTION.set,payload:!0},{type:c.FORM_ITEM_ACTION.setMaster,payload:t.dataItem},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:i.removeItem?[{type:g.SERIES_ACTION.set,payload:!0},{type:p.REMOVE_ITEM_ACTION.set,payload:t.dataItem},{type:f.SHOW_REMOVE_DIALOG_ACTION.open},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]:void 0},onKeyDownAction:function(e,t){switch(e.event.keyCode){case l.Keys.enter:return[{type:c.FORM_ITEM_ACTION.set,payload:t.dataItem},t.isRecurring&&{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.open}];case l.Keys.tab:return[{type:e.event.shiftKey?d.ITEMS_FOCUS_ACTION.prev:d.ITEMS_FOCUS_ACTION.next,ignoreIsAllDay:t.ignoreIsAllDay},{type:e.event.shiftKey?y.ITEMS_SELECT_ACTION.selectPrev:y.ITEMS_SELECT_ACTION.selectNext,ignoreIsAllDay:t.ignoreIsAllDay}];case l.Keys.up:return[Boolean(t.slots.length&&t.slots[0].refTo.current)&&{type:d.SLOTS_FOCUS_ACTION.up,slot:t.slots[0].refTo}];case l.Keys.right:return[Boolean(t.slots.length&&t.slots[0].refTo.current)&&{type:d.SLOTS_FOCUS_ACTION.right,slot:t.slots[0].refTo}];case l.Keys.down:return[Boolean(t.slots.length&&t.slots[t.slots.length-1].refTo.current)&&{type:d.SLOTS_FOCUS_ACTION.down,slot:t.slots[t.slots.length-1].refTo}];case l.Keys.left:return[Boolean(t.slots.length&&t.slots[0].refTo.current)&&{type:d.SLOTS_FOCUS_ACTION.left,slot:t.slots[0].refTo}];default:return}},onFormSubmitAction:function(e){return{type:c.FORM_ITEM_ACTION.complete,payload:e.value}},onRemoveConfirmAction:function(){return[{type:p.REMOVE_ITEM_ACTION.complete},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.close}]},onCancelAction:function(){return[{type:g.SERIES_ACTION.reset},{type:p.REMOVE_ITEM_ACTION.reset},{type:c.FORM_ITEM_ACTION.reset},{type:m.DRAG_ITEM_ACTION.reset},{type:v.RESIZE_ITEM_ACTION.reset},{type:f.SHOW_REMOVE_DIALOG_ACTION.reset},{type:h.SHOW_OCCURRENCE_DIALOG_ACTION.reset}]}}};t.SchedulerEditItemVue2=b;var k=b;t.SchedulerEditItem=k},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerViewItemVue2=t.SchedulerViewItem=void 0;var a=s(i(1)),l=a.h,u=(a.inject,i(42)),d=i(7),c=i(20),h=i(14),p=i(2),f=i(76),m={name:"KendoSchedulerViewItem",props:{ignoreIsAllDay:Boolean,item:[String,Function,Object],uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,isAllDay:Boolean,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,id:String,tabIndex:Number,className:String,itemStyle:Object,editable:[Object,Boolean],selected:Boolean,vertical:Boolean,dragHint:Boolean,resizeHint:Boolean,format:String,refTo:Function},inject:{kendoIntlService:{default:null},ks:{default:null},bv:{default:null}},computed:{itemTime:function(){return this.$props.isAllDay?this.intl.toString(this.$props.zonedStart,"t"):this.intl.format("{0:t} - {1:t}",this.$props.zonedStart,this.$props.zonedEnd)},itemTitle:function(){return"("+this.itemTime+"): "+this.$props.title}},data:function(){return{timeout:void 0,currentItem:null,viewItem:null,display:!0,visible:!1,maxSiblingsPerSlot:0}},mounted:function(){this.align(),this.position(),this.ks.scheduler&&(this.observer=new window.ResizeObserver(this.handleResize),this.observer.observe(this.ks.scheduler))},updated:function(){this.align(),this.position(),this.ks.scheduler&&!this.observer&&(this.observer=new window.ResizeObserver(this.handleResize),this.observer.observe(this.ks.scheduler))},destroyed:l?void 0:function(){this.observer&&this.observer.disconnect()},unmounted:function(){this.observer&&this.observer.disconnect()},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=this,i=l||e,r=this.$props;r.item,r.refTo,r.itemRef;return this.intl=p.provideIntlService(this),i(u.SchedulerItem,{ignoreIsAllDay:this.ignoreIsAllDay,attrs:this.v3?void 0:{ignoreIsAllDay:this.ignoreIsAllDay,item:this.item,uid:this.uid,start:this.start,end:this.end,originalStart:this.originalStart,startTimezone:this.startTimezone,endTimezone:this.endTimezone,isAllDay:this.isAllDay,title:this.title,description:this.description,occurrenceId:this.occurrenceId,recurrenceExceptions:this.recurrenceExceptions,recurrenceRule:this.recurrenceRule,recurrenceId:this.recurrenceId,dataItem:this.dataItem,head:this.head,tail:this.tail,order:this.order,zonedStart:this.zonedStart,zonedEnd:this.zonedEnd,slots:this.slots,group:this.group,range:this.range,isException:this.isException,isRecurring:this.isRecurring,id:this.id,tabIndex:this.tabIndex,className:this.className,itemStyle:this.itemStyle,editable:this.editable,selected:this.selected,vertical:this.vertical,dragHint:this.dragHint,resizeHint:this.resizeHint,format:this.format,maxSiblingsPerSlot:this.maxSiblingsPerSlot},item:this.item,uid:this.uid,start:this.start,end:this.end,originalStart:this.originalStart,startTimezone:this.startTimezone,endTimezone:this.endTimezone,isAllDay:this.isAllDay,title:this.title,description:this.description,occurrenceId:this.occurrenceId,recurrenceExceptions:this.recurrenceExceptions,recurrenceRule:this.recurrenceRule,recurrenceId:this.recurrenceId,dataItem:this.dataItem,head:this.head,tail:this.tail,order:this.order,zonedStart:this.zonedStart,zonedEnd:this.zonedEnd,slots:this.slots,group:this.group,range:this.range,isException:this.isException,isRecurring:this.isRecurring,id:this.id,tabIndex:this.tabIndex,className:this.className,itemStyle:this.itemStyle,editable:this.editable,selected:this.selected,vertical:this.vertical,dragHint:this.dragHint,resizeHint:this.resizeHint,format:this.format,maxSiblingsPerSlot:this.maxSiblingsPerSlot,style:n({visibility:this.visible?void 0:"hidden",display:this.display?void 0:"none"},this.$props.style)},this.v3?function(){return[!t.$props.resizeHint&&i("span",{class:"k-event-actions"},[t.$props.tail&&i("span",{class:"k-icon k-i-arrow-60-left"}),t.$props.isRecurring&&!t.$props.isException&&i("span",{class:"k-icon k-i-reload"}),!t.$props.isRecurring&&t.$props.isException&&i("span",{class:"k-icon k-i-non-recurrence"})]),!t.$props.resizeHint&&i("div",{title:t.itemTitle,attrs:t.v3?void 0:{title:t.itemTitle}},[!t.$props.isAllDay&&i(f.SchedulerItemContent,{class:"k-event-template k-event-time "},t.v3?function(){return[t.itemTitle]}:[t.itemTitle]),i(f.SchedulerItemContent,{class:"k-event-template"},t.v3?function(){return[t.$props.title]}:[t.$props.title])])]}:[!t.$props.resizeHint&&i("span",{class:"k-event-actions"},[t.$props.tail&&i("span",{class:"k-icon k-i-arrow-60-left"}),t.$props.isRecurring&&!t.$props.isException&&i("span",{class:"k-icon k-i-reload"}),!t.$props.isRecurring&&t.$props.isException&&i("span",{class:"k-icon k-i-non-recurrence"})]),!t.$props.resizeHint&&i("div",{title:t.itemTitle,attrs:t.v3?void 0:{title:t.itemTitle}},[!t.$props.isAllDay&&i(f.SchedulerItemContent,{class:"k-event-template k-event-time "},t.v3?function(){return[t.itemTitle]}:[t.itemTitle]),i(f.SchedulerItemContent,{class:"k-event-template"},t.v3?function(){return[t.$props.title]}:[t.$props.title])])])},methods:{calculateMostSiblings:function(e,t){var i=this,n=1;return e.forEach((function(e){var r=t.filter((function(t){return i.inSlot(e.$props,t.$props)}));r.length>n&&(n=r.length)})),n},getSiblingsInAllSlots:function(e,t){var i=this;return e.map((function(e){return t.filter((function(t){return i.inSlot(e.$props,t.$props)}))}))},inSlot:function(e,t){return d.intersects(e.start,e.end,t.start,t.end)&&e.group.index===t.group.index&&e.range.index===t.range.index&&(this.$props.ignoreIsAllDay||e.isAllDay===t.isAllDay)},align:function(){var e=this,t=(this.bv.slots||[]).filter((function(t){return t&&e.inSlot(t.$props,e.$props)}));if(0!==t.length){var i=d.first(t.sort((function(e,t){return!e.$props.start||!t.$props.start||e.$props.start.getTime()-t.$props.start.getTime()})));if(i){var n=c.getRect(i.$el);c.setRect(this.$el,n)}}else this.display=!1},position:function(){var e=this,t=this.$el;if(t){var i=(this.bv.slots||[]).filter((function(t){return t&&e.inSlot(t.$props,e.$props)})),n=[],r=[],o=[];(this.bv.items||[]).forEach((function(e){e&&(e.$props.dragHint?r.push(e):e.$props.resizeHint?o.push(e):n.push(e))}));var s=this.$props.dragHint||this.$props.resizeHint?d.calculateOrder(this,this.$props.dragHint?r:o,i,this.$props.ignoreIsAllDay):this.$props.order||0,a=this.$props.dragHint||this.$props.resizeHint?this.calculateMostSiblings(i,this.$props.dragHint?r:o):this.calculateMostSiblings(i,n),l=this.getSiblingsInAllSlots(i,n),u=0,p=c.getRect(t);if(l.forEach((function(i){var n=0;i.sort((function(e,t){return e.$props.order-t.$props.order})).forEach((function(i){d.intersects(i.$props.start,i.$props.end,e.$props.start,e.$props.end)&&!e.$props.dragHint&&!e.$props.resizeHint&&i.$props.maxSiblingsPerSlot&&i.$props.maxSiblingsPerSlot>a&&i.$el!==t&&(a=i.$props.maxSiblingsPerSlot);var r=c.getRect(i.$el);null!==i.$props.order&&i.$props.order<s&&(n=(r.top||p.top)+r.height-p.top-h.BORDER_WIDTH*s+1)})),n>u&&(u=n)})),0!==i.length){p.width=this.$props.vertical?p.width/a-h.BORDER_WIDTH-20/a:p.width*i.length-h.BORDER_WIDTH-20,p.height=this.$props.vertical?p.height*i.length-h.BORDER_WIDTH:(this.$props.resizeHint||this.$props.dragHint)&&a<=1?p.height:this.$props.itemStyle&&this.$props.itemStyle.height?this.$props.itemStyle.height:25,p.left=this.$props.vertical?p.left+s*p.width+h.BORDER_WIDTH*s:p.left,p.top=this.$props.vertical?p.top:p.top+u+h.BORDER_WIDTH*s,this.maxSiblingsPerSlot=a,c.setRect(t,p),this.visible=!0,this.display=!0}else this.display=!1}},handleResize:function(){var e=this;void 0!==this.timeout&&window.cancelAnimationFrame(this.timeout),this.timeout=window.requestAnimationFrame((function(){e.align(),e.position()}))}}};t.SchedulerViewItemVue2=m;var v=m;t.SchedulerViewItem=v},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerItemVue2=t.SchedulerItem=void 0;var a=s(i(1)),l=a.h,u=(a.inject,i(7)),d=i(0),c=i(2),h=i(11),p=i(18),f=i(7),m={name:"KendoSchedulerItem",emits:{focus:null,blur:null,mousedown:null,mouseup:null,mouseover:null,mouseout:null,mouseenter:null,mouseleave:null,click:null,doubleclick:null,removeclick:null,keydown:null,keypress:null,keyup:null,press:null,drag:null,release:null,resizepress:null,resizestartdrag:null,resizeenddrag:null,resizeenrelease:null},props:{uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,isAllDay:Boolean,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,id:String,tabIndex:Number,className:String,itemStyle:Object,editable:[Object,Boolean],selected:Boolean,vertical:Boolean,dragHint:Boolean,resizeHint:Boolean,format:String,maxSiblingsPerSlot:Number},data:function(){return{resizeEast:null,resizeWest:null,resizeNorth:null,resizeSouth:null}},inject:{kendoLocalizationService:{default:null},kendoIntlService:{default:null},setItems:{default:null},itemClick:{default:null},itemDoubleClick:{default:null}},computed:{resource:function(){return this.$props.group.resources.find((function(e){return Boolean(e.colorField&&""!==e[e.colorField]&&void 0!==e[e.colorField])}))},color:function(){return this.resource&&this.resource.colorField&&this.resource[this.resource.colorField]},currentTabIndex:function(){return void 0!==this.$props.tabIndex?null===this.$props.tabIndex?void 0:this.$props.tabIndex:this.$props.selected?0:-1},itemClassName:function(){var e;return(e={"k-event":!this.$props.resizeHint,"k-state-selected":this.$props.selected&&this.editable.select,"k-event-drag-hint":this.$props.dragHint,"k-scheduler-marquee":this.$props.resizeHint,"k-marquee":this.$props.resizeHint,"k-first":this.$props.resizeHint&&!this.$props.tail,"k-last":this.$props.resizeHint&&!this.$props.head})[this.$props.className]=this.$props.className,e},eventLabel:function(){return f.formatEventTime(this.intl,this.$props.zonedStart,this.$props.zonedEnd,this.$props.isAllDay)+", "+this.$props.title},computedStyle:function(){return n({cursor:"pointer",userSelect:"none",borderColor:this.$props.resizeHint?void 0:this.color,backgroundColor:this.$props.resizeHint?void 0:this.color,touchAction:"none"},this.$props.itemStyle)}},created:function(){this.setItems({type:u.COLLECTION_ACTION.add,item:this})},destroyed:l?void 0:function(){this.setItems({type:u.COLLECTION_ACTION.remove,item:this})},unmounted:function(){this.setItems({type:u.COLLECTION_ACTION.remove,item:this})},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=d.getDefaultSlots(this),n=p.useEditable(this.$props.editable);this.intl=c.provideIntlService(this);var r=c.provideLocalizationService(this).toLanguageString(h.deleteTitle,h.messages[h.deleteTitle]);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.currentTabIndex,"aria-label":this.eventLabel,"aria-selected":this.$props.selected,"data-group-index":this.$props.group.index,"data-range-index":this.$props.range.index},style:this.computedStyle,tabIndex:this.currentTabIndex,class:this.itemClassName,"aria-label":this.eventLabel,"aria-selected":this.$props.selected,onFocus:this.handleFocus,on:this.v3?void 0:{focus:this.handleFocus,blur:this.handleBlur,mouseup:this.handleMouseUp,mousedown:this.handleMouseDown,click:this.handleClick,mouseover:this.handleMouseOver,mouseout:this.handleMouseOut,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave,dblclick:this.handleDoubleClick,keydown:this.handleKeyDown,keypress:this.handleKeyPress,keyup:this.handleKeyUp},onBlur:this.handleBlur,onMouseup:this.handleMouseUp,onMousedown:this.handleMouseDown,onClick:this.handleClick,onMouseover:this.handleMouseOver,onMouseout:this.handleMouseOut,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onDblclick:this.handleDoubleClick,onKeydown:this.handleKeyDown,onKeypress:this.handleKeyPress,onKeyup:this.handleKeyUp,"data-group-index":this.$props.group.index,"data-range-index":this.$props.range.index},[i,!this.$props.resizeHint&&t("span",{class:"k-event-actions"},[n.remove&&t("a",{tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1,"aria-hidden":"true",title:r,"aria-label":r},"aria-hidden":"true",class:"k-link k-event-delete",title:r,"aria-label":r,onClick:this.handleRemoveClick,on:this.v3?void 0:{click:this.handleRemoveClick}},[t("span",{class:"k-icon k-i-close"})]),this.$props.head&&t("span",{class:"k-icon k-i-arrow-60-right"})]),n.resize&&this.$props.vertical&&[t("span",{class:"k-resize-handle k-resize-n",ref:this.resizeNorth}),t("span",{class:"k-resize-handle k-resize-s",ref:this.resizeSouth})],n.resize&&!this.$props.vertical&&[t("span",{class:"k-resize-handle k-resize-w",ref:this.resizeWest}),t("span",{class:"k-resize-handle k-resize-e",ref:this.resizeEast})],this.$props.resizeHint&&[t("div",{class:"k-marquee-color",style:{borderColor:this.color,backgroundColor:this.color}}),t("div",{class:"k-marquee-text"},[!this.$props.tail&&t("div",{class:"k-label-top"},[this.intl.formatDate(this.$props.zonedStart,this.$props.format)]),!this.$props.head&&t("div",{class:"k-label-bottom"},[this.intl.formatDate(this.$props.zonedEnd,this.$props.format)])])]])},methods:{handleFocus:function(e){this.$emit("focus",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleBlur:function(e){this.$emit("blur",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleMouseDown:function(e){this.$emit("mousedown",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleClick:function(e){var t={event:e,target:{props:n({},this.$props),element:this.$el}};this.$emit("click",t),this.itemClick(t)},handleMouseUp:function(e){this.$emit("mouseup",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleMouseOver:function(e){this.$emit("mouseover",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleMouseOut:function(e){this.$emit("mouseout",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleMouseEnter:function(e){this.$emit("mouseenter",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleMouseLeave:function(e){this.$emit("mouseleave",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleDoubleClick:function(e){var t={event:e,target:{props:n({},this.$props),element:this.$el}};this.$emit("doubleclick",t),this.itemDoubleClick(t)},handleRemoveClick:function(e){this.$emit("removeclick",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleKeyDown:function(e){this.$emit("keydown",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleKeyPress:function(e){this.$emit("keypress",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleKeyUp:function(e){this.$emit("keyup",{event:e,target:{props:n({},this.$props),element:this.$el}})},handlePress:function(e){this.$emit("press",{dragEvent:e,target:{props:n({},this.$props),element:this.$el}})},handleDrag:function(e){this.$emit("drag",{dragEvent:e,target:{props:n({},this.$props),element:this.$el}})},handleRelease:function(e){this.$emit("release",{dragEvent:e,target:{props:n({},this.$props),element:this.$el}})},handleResizePress:function(e){this.$emit("resizepress",{dragEvent:e,target:{props:n({},this.$props),element:this.$el}})},handleResizeStartDrag:function(e){this.$emit("resizestartdrag",{dragEvent:e,target:{props:n({},this.$props),element:this.$e}})},handleResizeEndDrag:function(e){this.$emit("resizeenddrag",{dragEvent:e,target:{props:n({},this.$props),element:this.$el}})},handleResizeRelease:function(e){this.$emit("resizerelease",{dragEvent:e,target:{props:n({},this.$props),element:this.$e}})}}};t.SchedulerItemVue2=m;var v=m;t.SchedulerItem=v},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(48),r=function(e,t){if(void 0===t&&(t=new Date),"Etc/UTC"===e)return"UTC";if("Etc/GMT"===e)return"GMT";if(""===e)return"";var i=Object(n.a)(e,t),r=i.zone,o=i.rule,s=r[2];return s.indexOf("/")>=0?s.split("/")[o&&+o[6]?1:0]:s.indexOf("%s")>=0?s.replace("%s",o&&"-"!==o[7]?o[7]:""):s}},function(e,t,i){"use strict";function n(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}i.d(t,"a",(function(){return n}))},function(e,t,i){"use strict";var n;i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return r})),function(e){e.remove="remove",e.add="add",e.reorder="reorder"}(n||(n={}));var r=function(e,t){switch(t.type){case n.add:break;case n.remove:return e.filter((function(e){return e[t.valueField]!==t.payload}));case n.reorder:break;default:return e}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i(1),r=i(0),o=n.h,s={name:"KendoButtonItem",emits:{click:null,down:null},props:{focused:Boolean,index:Number,item:Object,render:[String,Object,Function],dataItem:[String,Object],id:String,textField:String},computed:{wrapperClass:function(){return{"k-item":!0}},innerClass:function(){var e=this.$props,t=e.dataItem;return{"k-link k-menu-link":!0,"k-focus":e.focused,"k-selected":t.selected,"k-disabled":t.disabled}}},methods:{onClick:function(e){this.$emit("click",e,this.$props.index)},onDown:function(e){this.$emit("down",e,this.$props.index)}},setup:o?function(){return{v3:!!o}}:void 0,render:function(e){var t=o||e,i=this.$props,n=i.dataItem,s=i.id,a=i.render;return t("li",{id:s,attrs:this.v3?void 0:{id:s,role:"menuitem","aria-disabled":n.disabled||void 0},class:this.wrapperClass,onClick:this.onClick,on:this.v3?void 0:{click:this.onClick,mousedown:this.onDown,pointerdown:this.onDown},onMousedown:this.onDown,onPointerdown:this.onDown,role:"menuitem","aria-disabled":n.disabled||void 0},[function(){var e=this.$props,i=e.textField,o=e.index,s=void 0!==n.text?n.text:i?n[i]:n,l=n.icon?"k-icon k-i-"+n.icon:n.iconClass,u=t("span",{tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1},class:this.innerClass,key:"icon"},[l&&t("span",{class:l,role:"presentation",attrs:this.v3?void 0:{role:"presentation"}}),n.imageUrl&&t("img",{class:"k-icon",alt:"",attrs:this.v3?void 0:{alt:"",src:n.imageUrl,role:"presentation"},src:n.imageUrl,role:"presentation",key:"image"}),s&&t("span",{class:"k-menu-link-text"},[s])]);return r.getTemplate.call(this,{h:t,template:this.$props.dataItem.render||a,defaultRendering:u,additionalProps:{item:n,itemIndex:o,innerClass:this.innerClass,focused:this.focused}})}.call(this)])}}},function(e,t,i){"use strict";var n=i(0);t.a=function(e,t,i,r){if(i)return e;switch(t){case n.Keys.enter:case n.Keys.space:case n.Keys.esc:return-1;case n.Keys.up:case n.Keys.left:return Math.max(0,e-1);case n.Keys.down:case n.Keys.right:return Math.min(r-1,e+1);default:return e}}},function(e,t,i){"use strict";i.d(t,"a",(function(){return c}));var n=i(8),r={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},o={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6},s=function(e,t,i){var n,s=t[3],a=t[4],l=t[5],u="u"===l[3]?6e4*-i:0;if(isNaN(a)){if(0===a.indexOf("last")){n=new Date(Date.UTC(e,r[s]+1,1,l[0]-24,l[1],l[2])+u);var d=o[a.substr(4,3)],c=n.getUTCDay();n.setUTCDate(n.getUTCDate()+d-c-(d>c?7:0))}else if(a.indexOf(">=")>=0){n=new Date(Date.UTC(e,r[s],a.substr(5),l[0],l[1],l[2],0)+u);d=o[a.substr(0,3)],c=n.getUTCDay();n.setUTCDate(n.getUTCDate()+d-c+(d<c?7:0))}}else n=new Date(Date.UTC(e,r[s],a,l[0],l[1],l[2])+u);return n},a=(new Date).getTime(),l=function(e,t,i){void 0===t&&(t=a),void 0===i&&(i=0);var r=n.a.rules[e];if(!r){var o=e.split(":"),l=0;return o.length>1&&(l=60*o[0]+Number(o[1])),[-1e6,"max","-","Jan",1,[0,0,0],l,"-"]}var u=new Date(t).getUTCFullYear();(r=r.filter((function(e){var t=e[0],i=e[1];return t<=u&&(i>=u||t===u&&"only"===i||"max"===i)}))).push(t),r.sort((function(e,t){return"number"!=typeof e&&(e=Number(s(u,e,i))),"number"!=typeof t&&(t=Number(s(u,t,i))),e-t}));var d=r[r.indexOf(t)-1]||r[r.length-1];return isNaN(d)?d:null},u=i(16),d=function(e,t){if(void 0===t&&(t=(new Date).getTime()),"Etc/UTC"===e||"Etc/GMT"===e)return[0,"-","UTC",null];for(var i=function(e){var t=n.a.zones;if(!t)throw new Error(Object(u.c)(u.b,e));var i=t[e],r="string"==typeof i?t[i]:i;if(!r)throw new Error(Object(u.c)(u.b,e));return r}(e),r=i.length-1;r>=0;r--){var o=i[r][3];if(o&&t>o)break}var s=i[r+1];if(!s)throw new Error(Object(u.c)(u.b,e));return s},c=function(e,t){var i=t.getTime(),n=d(e,i);return{rule:l(n[1],i,n[0]),zone:n}}},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t},a=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerVue2=t.Scheduler=t.DATA_ACTION=void 0;var l,u=s(i(1)).h,d=i(7),c=i(0),p=i(2),f=i(70),m=i(90),v=i(91),g=i(5),y=i(72),b=i(3),k=i(11),S=i(92),w=i(94),D=i(96),I=i(73),C=i(0),$=i(115),T=i(67),O=i(83);!function(e){e[e.create=0]="create",e[e.update=1]="update",e[e.remove=2]="remove"}(l=t.DATA_ACTION||(t.DATA_ACTION={}));var E={name:"KendoScheduler",props:{dataItems:{type:Array,default:function(){return[]}},views:{type:Array,default:function(){return[]}},view:String,defaultView:String,date:Date,rtl:Boolean,height:{type:[Number,String],default:600},timezone:String,group:Object,resources:[Object,Array],modelFields:Object,tabIndex:{type:Number,default:-1},editable:{type:[Boolean,Object],default:!1},defaultDate:{type:Date,default:new Date},header:[String,Function,Object],footer:[String,Function,Object]},computed:{wrapperClassName:function(){return{"k-rtl":void 0!==this.$props.rtl?this.$props.rtl:"rtl"===this.dir,"k-widget":!0,"k-scheduler":!0,"k-scheduler-flex":!0,"k-floatwrap":!0}},fields:function(){return d.getModelFields(this.$props.modelFields).fields}},provide:function(){return{ks:this.ks,setActiveViewName:this.handleActiveViewNameChange,setActiveDate:this.handleDateChange,itemDoubleClick:this.handleItemDoubleClick,itemClick:this.handleItemClick,slotDoubleClick:this.handleSlotDoubleClick,slotClick:this.handleSlotClick,taskDoubleClick:this.handleTaskDoubleClick,taskClick:this.handleTaskClick}},data:function(){this.intl=p.provideIntlService(this),this.localization=p.provideLocalizationService(this);var e=this.$props.date||this.$props.defaultDate,t=this.$props.view||this.$props.defaultView||this.views[0]&&this.views[0].name||"day",i=this.views.find((function(e){return e.name===t}))||this.views[0]||h(I.DayView),n=this.getViewPropValue(i,"selectedDateFormat",t)||"{0:D}",r=this.getViewPropValue(i,"selectedShortDateFormat",t)||"{0:d}",o=this.getViewComponentByName(t).props.dateRange.default()({intl:this.intl,date:e,timezone:this.$props.timezone,numberOfDays:this.getViewPropValue(i,"numberOfDays",t),workWeekStart:i.workWeekStart||this.intl.firstDay(),workWeekEnd:i.workWeekEnd||(this.intl.firstDay()+this.getViewPropValue(i,"numberOfDays",t))%6});return{ks:{activeViewName:t,currentDate:e,showWorkHours:void 0===i.showWorkHours||i.showWorkHours,timezone:this.$props.timezone,props:this.$props,views:this.views,view:i,fields:d.getModelFields(this.$props.modelFields).fields,groups:d.toSchedulerGroups(this.$props.group,this.$props.resources),dateRange:o,orientation:this.$props.group&&this.$props.group.orientation?this.$props.group.orientation:"horizontal",dateFormat:n,shortDateFormat:r,scheduler:null,dataItems:this.dataItems}}},mounted:function(){this.ks.scheduler=this.$el},watch:{view:function(e){this.updatePassedState(e)},timezone:function(e){this.ks.timezone=e,this.updatePassedState()}},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t=this,i=this,r=u||e;C.validatePackage($.packageMetadata);this.$props.timezone;var o=this.views.find((function(e){return e.name===i.ks.activeViewName}))||this.views[0]||r(I.DayView),s=this.getViewPropValue(this.ks.view,"slotDuration",this.ks.activeViewName),a=this.localization.toLanguageString(k.today,k.messages[k.today]),l=this.localization.toLanguageString(k.previousTitle,k.messages[k.previousTitle]),d=this.localization.toLanguageString(k.nextTitle,k.messages[k.nextTitle]),h=(c.templateRendering.call(this,o.header||this.$props.header,c.getListeners.call(this)),c.templateRendering.call(this,o.footer||this.$props.footer,c.getListeners.call(this)),v.SchedulerViewSelector),p=this.getViewComponentByName(this.ks.activeViewName||o.name),g=n(n(n({},this.$props),this.ks.view),{showWorkHours:this.ks.showWorkHours,dataItems:void 0,views:void 0,defaultDate:void 0,dateRange:this.ks.dateRange});return r("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.$props.tabIndex,role:this.$props.role,"aria-label":this.$props.ariaLabel,"aria-labelledby":this.$props.ariaLabelledby},style:{height:this.$props.height+"px"},class:this.wrapperClassName,tabIndex:this.$props.tabIndex,role:this.$props.role,"aria-label":this.$props.ariaLabel,"aria-labelledby":this.$props.ariaLabelledby,onFocusin:this.handleFocus,on:this.v3?void 0:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur},[r(f.SchedulerHeader,this.v3?function(){return[r(m.SchedulerNavigation,t.v3?function(){return[r(b.ButtonGroup,{class:"k-scheduler-navigation"},t.v3?function(){return[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])]}:[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])])]}:[r(b.ButtonGroup,{class:"k-scheduler-navigation"},t.v3?function(){return[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])]}:[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])])]),r(S.NavigationDatePicker,{value:t.ks.currentDate,attrs:t.v3?void 0:{value:t.ks.currentDate},onChange:t.handleDatePickerChange,on:t.v3?void 0:{change:t.handleDatePickerChange}}),r(b.ToolbarSpacer),r(h,t.v3?function(){return[r(w.ViewSelectorList)]}:[r(w.ViewSelectorList)])]}:[r(m.SchedulerNavigation,t.v3?function(){return[r(b.ButtonGroup,{class:"k-scheduler-navigation"},t.v3?function(){return[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])]}:[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])])]}:[r(b.ButtonGroup,{class:"k-scheduler-navigation"},t.v3?function(){return[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])]}:[r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:a,"aria-label":a},tabIndex:-1,title:a,"aria-label":a,onClick:t.handleTodayClick,on:t.v3?void 0:{click:t.handleTodayClick}},t.v3?function(){return[a]}:[a]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:l,"aria-label":l},tabIndex:-1,class:"k-button-icon",title:l,"aria-label":l,onClick:t.handlePrevClick,on:t.v3?void 0:{click:t.handlePrevClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-left"})])]),r(b.Button,{role:"button",attrs:t.v3?void 0:{role:"button",tabIndex:-1,title:d,"aria-label":d},tabIndex:-1,class:"k-button-icon",title:d,"aria-label":d,onClick:t.handleNextClick,on:t.v3?void 0:{click:t.handleNextClick}},t.v3?function(){return[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])]}:[r("span",{class:"k-button-text"},[r("span",{class:"k-icon k-i-arrow-60-right"})])])])]),r(S.NavigationDatePicker,{value:t.ks.currentDate,attrs:t.v3?void 0:{value:t.ks.currentDate},onChange:t.handleDatePickerChange,on:t.v3?void 0:{change:t.handleDatePickerChange}}),r(b.ToolbarSpacer),r(h,t.v3?function(){return[r(w.ViewSelectorList)]}:[r(w.ViewSelectorList)])]),o&&r(p,n({key:this.ks.view.name,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},props:this.v3?void 0:g},g)),r(y.SchedulerFooter,this.v3?function(){return[s&&s<1440&&r(D.BusinessHours,t.v3?function(){return[r(b.Button,{tabIndex:-1,attrs:t.v3?void 0:{tabIndex:-1},onClick:t.handleShowWorkHoursClick,on:t.v3?void 0:{click:t.handleShowWorkHoursClick}},t.v3?function(){return[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])]}:[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])])]}:[r(b.Button,{tabIndex:-1,attrs:t.v3?void 0:{tabIndex:-1},onClick:t.handleShowWorkHoursClick,on:t.v3?void 0:{click:t.handleShowWorkHoursClick}},t.v3?function(){return[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])]}:[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])])])]}:[s&&s<1440&&r(D.BusinessHours,t.v3?function(){return[r(b.Button,{tabIndex:-1,attrs:t.v3?void 0:{tabIndex:-1},onClick:t.handleShowWorkHoursClick,on:t.v3?void 0:{click:t.handleShowWorkHoursClick}},t.v3?function(){return[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])]}:[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])])]}:[r(b.Button,{tabIndex:-1,attrs:t.v3?void 0:{tabIndex:-1},onClick:t.handleShowWorkHoursClick,on:t.v3?void 0:{click:t.handleShowWorkHoursClick}},t.v3?function(){return[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])]}:[r("span",{class:"k-icon k-i-clock"})," ",t.localization.toLanguageString(t.ks.showWorkHours?k.showFullDay:k.showWorkDay,k.messages[t.ks.showWorkHours?k.showFullDay:k.showWorkDay])])])])])},methods:{getViewComponentByName:function(e){switch(e.toLowerCase()){case"week":return T.WeekView;case"workweek":return T.WorkWeekView;case"agenda":return T.AgendaView;case"timeline":return O.TimelineView;case"month":return T.MonthView;default:return I.DayView}},getViewPropValue:function(e,t,i){var n=this.getViewComponentByName(i).props[t];return e[t]||(n?n.default:void 0)},handleDataChange:function(e){var t=e.created,i=void 0===t?[]:t,n=e.updated,r=void 0===n?[]:n,o=e.deleted,s={created:i,updated:r,deleted:void 0===o?[]:o};this.$emit("datachange",s)},handleCreate:function(e){var t=[e.dataItem];this.handleDataChange({created:t})},handleUpdate:function(e){var t=this,i=[],n=[];if(e.series)if(Array.isArray(e.dataItem))e.dataItem.map((function(i){var r=c.clone(d.findMaster(e.dataItem,t.fields,t.dataItems)),o=c.clone(i);d.setField(o,t.fields.originalStart,d.getField(r,t.fields.originalStart)),d.setField(o,t.fields.recurrenceId,d.getField(r,t.fields.recurrenceId)),d.setField(o,t.fields.recurrenceExceptions,d.getField(r,t.fields.recurrenceExceptions)),n.push(o)}));else{var r=c.clone(d.findMaster(e.dataItem,this.fields,this.dataItems)),o=c.clone(e.dataItem);d.setField(o,this.fields.originalStart,d.getField(r,this.fields.originalStart)),d.setField(o,this.fields.recurrenceId,d.getField(r,this.fields.recurrenceId)),d.setField(o,this.fields.recurrenceExceptions,d.getField(r,this.fields.recurrenceExceptions)),n.push(o)}else if(Array.isArray(e.dataItem))e.dataItem.map((function(e){var r=null!==d.getField(e,t.fields.recurrenceRule)&&void 0!==d.getField(e,t.fields.recurrenceRule);if(null!==d.getField(e,t.fields.recurrenceId)&&void 0!==d.getField(e,t.fields.recurrenceId)&&r){var o=c.clone(d.findMaster(e,t.fields,t.dataItems)),s=d.getField(e,t.fields.originalStart),l=d.getField(o,t.fields.recurrenceExceptions)||[];d.setField(o,t.fields.recurrenceExceptions,a(l,[s])),d.setField(e,t.fields.recurrenceRule,null),n.push(o),i.push(e)}else n.push(e)}));else{var s=null!==d.getField(e.dataItem,this.fields.recurrenceRule)&&void 0!==d.getField(e.dataItem,this.fields.recurrenceRule);if(null!==d.getField(e.dataItem,this.fields.recurrenceId)&&void 0!==d.getField(e.dataItem,this.fields.recurrenceId)&&s){r=c.clone(d.findMaster(e.dataItem,this.fields,this.dataItems));var l=d.getField(e.dataItem,this.fields.originalStart),u=d.getField(r,this.fields.recurrenceExceptions)||[];d.setField(r,this.fields.recurrenceExceptions,a(u,[l])),d.setField(e.dataItem,this.fields.recurrenceRule,null),n.push(r),i.push(e.dataItem)}else n.push(e.dataItem)}this.handleDataChange({updated:n,created:i})},handleRemove:function(e){var t=[],i=[];if(e.series){var n=c.clone(d.findMaster(e.dataItem,this.fields,this.dataItems)),r=c.clone(e.dataItem);d.setField(r,this.fields.originalStart,d.getField(n,this.fields.originalStart)),d.setField(r,this.fields.recurrenceId,d.getField(n,this.fields.recurrenceId)),d.setField(r,this.fields.recurrenceRule,d.getField(n,this.fields.recurrenceRule)),d.setField(r,this.fields.recurrenceExceptions,d.getField(n,this.fields.recurrenceExceptions)),i.push(r)}else{if(null!==d.getField(e.dataItem,this.fields.recurrenceRule)&&void 0!==d.getField(e.dataItem,this.fields.recurrenceRule)){n=c.clone(d.findMaster(e.dataItem,this.fields,this.dataItems));var o=d.getField(e.dataItem,this.fields.originalStart),s=d.getField(n,this.fields.recurrenceExceptions)||[];d.setField(n,this.fields.recurrenceExceptions,a(s,[o])),d.setField(e.dataItem,this.fields.recurrenceRule,null),t.push(n)}else i.push(e.dataItem)}this.handleDataChange({updated:t,deleted:i})},handleDataAction:function(e){switch(e.type){case l.create:this.handleCreate(e);break;case l.update:this.handleUpdate(e);break;case l.remove:this.handleRemove(e)}},handleActiveViewNameChange:function(e,t){this.updatePassedState(e),this.$emit("viewchange",n(n({viewName:e},t),{target:this.ks.scheduler}))},handleDateChange:function(e,t){this.setDate(e,n(n({},t),{target:this.ks.scheduler}))},handleDatePickerChange:function(e){e.value&&this.setDate(e.value,n(n({},e),{target:this.ks.scheduler,nativeEvent:e.event}))},handleNextClick:function(e){e.preventDefault();var t=this.getViewPropValue(this.ks.view,"step",this.ks.activeViewName)||this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName)||1,i=t>27?g.addMonths(this.ks.currentDate,Math.round(t/27)):g.addDays(this.ks.currentDate,t);this.setDate(i,e)},handlePrevClick:function(e){e.preventDefault();var t=this.getViewPropValue(this.ks.view,"step",this.ks.activeViewName)||this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName)||1,i=t>27?g.addMonths(this.ks.currentDate,-Math.round(t/27)):g.addDays(this.ks.currentDate,-t);this.setDate(i,e)},handleTodayClick:function(e){e.preventDefault();var t=d.getToday();this.setDate(t,e)},handleShowWorkHoursClick:function(){this.ks.showWorkHours=!this.ks.showWorkHours},handleFocus:function(){this.$el&&(this.$el.style.boxShadow="0 0.5px 0.5px 0.5px rgba(0, 0, 0, .12)")},handleBlur:function(){this.$el&&(this.$el.style.boxShadow="")},handleItemClick:function(e){this.$emit("itemclick",e)},handleItemDoubleClick:function(e){this.$emit("itemdoubleclick",e)},handleSlotClick:function(e){this.$emit("slotclick",e)},handleSlotDoubleClick:function(e){this.$emit("slotdoubleclick",e)},handleTaskClick:function(e){this.$emit("taskclick",e)},handleTaskDoubleClick:function(e){this.$emit("taskdoubleclick",e)},setDate:function(e,t){this.ks.currentDate=e,this.updatePassedState(),this.$emit("datechange",{date:e,event:t})},updatePassedState:function(e){var t=e||this.ks.activeViewName;this.ks.activeViewName=t,this.ks.view=this.views.find((function(e){return e.name===t}))||this.views[0]||h(I.DayView),this.ks.dateFormat=this.getViewPropValue(this.ks.view,"selectedDateFormat",t)||"{0:D}",this.ks.shortDateFormat=this.getViewPropValue(this.ks.view,"selectedShortDateFormat",t)||"{0:d}",this.ks.dateRange=this.getViewComponentByName(t).props.dateRange.default()({intl:this.intl,date:this.ks.currentDate,timezone:this.$props.timezone,numberOfDays:this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName),workWeekStart:this.getViewPropValue(this.ks.view,"workWeekStart",this.ks.activeViewName)||this.intl.firstDay(),workWeekEnd:this.getViewPropValue(this.ks.view,"workWeekEnd",this.ks.activeViewName)||(this.intl.firstDay()+this.getViewPropValue(this.ks.view,"numberOfDays",this.ks.activeViewName))%6})}}};t.SchedulerVue2=E;var x=E;t.Scheduler=x},function(e,t,i){"use strict";i.d(t,"a",(function(){return m})),i.d(t,"b",(function(){return f}));var n=i(1),r=i(0),o=i(28),s=i(27),a=i(45),l=i(29),u=i(10),d=function(){return(d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},c=n,h=c.h,p=c.ref,f={name:"KendoVueChipList",props:{id:String,tabIndex:Number,dataItems:Array,defaultDataItems:{type:Array,default:function(){return[]}},value:[Object,Array,String,Number],defaultValue:{type:[Object,Array,String,Number],default:function(){return null}},size:{type:String,default:"medium"},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","outline","solid"].includes(e)}},selection:{type:String,default:function(){return"none"}},textField:{type:String,default:function(){return"text"}},valueField:{type:String,default:function(){return"value"}},disabled:{type:Boolean,default:!1},dir:{type:String,default:function(){return"ltr"}},chip:[String,Function,Object],ariaLabelledBy:String,ariaDescribedBy:String},provide:function(){return{kendoSelection:this.currentValue,kendoFocused:this.currentFocused,kendoDataItems:this.computedDataItems,handleDispatchDataItems:this.handleDispatchDataItems,handleDispatchSelection:this.handleDispatchSelection,handleDispatchFocus:this.handleDispatchFocus}},created:function(){Object(r.validatePackage)(u.a),this.currentDataItems=this.$props.dataItems||this.$props.defaultDataItems,this.currentValue.value=this.$props.value||this.$props.defaultValue},data:function(){return{currentDataItems:[],currentDir:"ltr",isRtl:!1,currentFocused:{value:!1},currentValue:{value:null}}},mounted:function(){this.chipList=this.v3?this.chipListRef:this.$refs.chipList,this.currentDir=void 0!==this.$props.dir?this.$props.dir:this.$el&&"rtl"===getComputedStyle(this.$el).direction||!1,this.isRtl="rtl"===this.currentDir},computed:{computedDataItems:function(){return this.$props.dataItems||this.currentDataItems},computedValue:function(){return this.$props.value||this.currentValue.value},items:function(){return this.computedDataItems.reduce(this.itemsReducer,[])}},methods:{handleDispatchSelection:function(e){var t=Object(o.b)(this.computedValue,d(d({},e),{selection:this.$props.selection,state:this.computedValue}));this.handleChange(t,e.event),this.currentValue.value=t},handleDispatchFocus:function(e){var t=Object(s.b)(e.payload,d(d({},e),{items:this.items}));this.currentFocused.value=t},handleDispatchDataItems:function(e){var t=Object(a.b)(this.computedDataItems,d(d({},e),{state:this.computedDataItems,valueField:this.$props.valueField}));this.handleDataChange(t,e.event),this.currentDataItems=t},handleChange:function(e,t){this.$el&&this.$emit("change",{value:e,target:this.$el,event:t})},handleDataChange:function(e,t){this.$el&&this.$emit("datachange",{value:e,target:this.$el,event:t})},itemsReducer:function(e,t){return e.push(t[this.$props.valueField||this.$props.valueField]),e}},setup:h?function(){return{v3:!!h,chipListRef:p(null)}}:void 0,render:function(e){var t,i=this,n=h||e,o=this.$props.size;return n("div",{ref:this.v3?function(e){i.chipListRef=e}:"chipList",role:"listbox",attrs:this.v3?void 0:{role:"listbox",id:this.$props.id,dir:this.currentDir,tabIndex:Object(r.getTabIndex)(this.$props.tabIndex,this.$props.disabled,void 0),"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy},id:this.$props.id,dir:this.currentDir,style:this.$props.style,tabIndex:Object(r.getTabIndex)(this.$props.tabIndex,this.$props.disabled,void 0),class:Object(r.classNames)("k-chip-list",(t={},t["k-chip-list-"+(r.kendoThemeMaps.sizeMap[o]||o)]=o,t["k-rtl"]="rtl"===this.currentDir,t["k-selection-single"]="single"===this.$props.selection,t["k-selection-multiple"]="multiple"===this.$props.selection,t["k-disabled"]=this.$props.disabled,t)),"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy},[this.computedDataItems.map((function(e){var t=r.templateRendering.call(this,this.$props.chip,r.getListeners.call(this)),i=n(l.a,{role:"option",attrs:this.v3?void 0:{role:"option",dataItem:e,text:e[this.$props.textField],value:e[this.$props.valueField],size:this.$props.size,rounded:this.$props.rounded,fillMode:this.$props.fillMode},dataItem:e,key:e[this.$props.valueField],text:e[this.$props.textField],value:e[this.$props.valueField],size:this.$props.size,rounded:this.$props.rounded,fillMode:this.$props.fillMode});return r.getTemplate.call(this,{h:n,template:t,defaultRendering:i,additionalProps:{dataItem:e,key:e[this.$props.valueField],text:e[this.$props.textField],value:e[this.$props.valueField],size:this.$props.size}})}),this)])}},m=f},function(e,t,i){"use strict";i.d(t,"a",(function(){return v})),i.d(t,"b",(function(){return m}));var n=i(1),r=i(23),o=i(0),s=i(46),a=i(47),l=i(13),u=i(19),d=i(10),c=function(){return(c=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},h=n,p=h.h,f=h.ref,m={name:"KendoSplitButton",emits:{focus:null,blur:null,buttonclick:null,itemclick:null,open:null,close:null},props:{accessKey:String,text:String,items:{type:Array,default:function(){return[]}},textField:String,tabIndex:Number,disabled:Boolean,icon:String,size:{type:String,default:"medium"},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","link","outline","solid"].includes(e)}},themeColor:{type:String,default:"base",validator:function(e){return[null,"base","dark","error","info","inverse","inverse","light","primary","secondary","success","tertiary","warning"].includes(e)}},opened:{type:Boolean,default:void 0},iconClass:String,imageUrl:String,popupSettings:Object,itemRender:[String,Function,Object],item:[String,Function,Object],look:String,className:String,buttonClass:String,dir:String},data:function(){return{focused:!1,focusedIndex:-1,currentOpened:!1}},created:function(){this._blurTimeout=null,this._anchor=Object(o.guid)(),this.mainButton=null,this.guid=Object(o.guid)(),this.buttonsData=[],Object(o.validatePackage)(d.a)},mounted:function(){this.mainButton=this.$refs[this._anchor],(void 0===this.$props.dir&&this.isRtl()||this.computedOpened)&&this.$forceUpdate()},updated:function(){this.focused&&this.element()&&(this.mainButton=this.$refs[this._anchor],this.mainButton.focus())},computed:{computedOpened:function(){return void 0===this.$props.opened?this.currentOpened:this.$props.opened},wrapperClass:function(){return{"k-split-button":!0,"k-button-group":!0,"k-focus":this.focused}}},setup:p?function(){return{v3:!!p,kendoAnchorRef:f(null)}}:void 0,render:function(e){var t=this,i=this,n=p||e;this.buttonsData=this.$props.items;var a=this.isRtl(),d=a?"rtl":void 0,h=this.$props,f=h.tabIndex,m=h.disabled,v=Object(o.getDefaultSlots)(this),g=function(){var e=this.$props,t=e.item,i=e.itemRender,r=e.textField;return this.buttonsData.length>0?this.buttonsData.map((function(e,a){var l="string"!=typeof e?c(c({},e),{render:o.templateRendering.call(this,e.render,o.getListeners.call(this))}):e;return n(s.a,{class:"k-menu-item",dataItem:l,attrs:this.v3?void 0:{dataItem:l,textField:r,focused:this.focusedIndex===a,render:o.templateRendering.call(this,i,o.getListeners.call(this)),item:t,index:a,id:this.guid+"-"+a},textField:r,focused:this.focusedIndex===a,onClick:this.onItemClick,on:this.v3?void 0:{click:this.onItemClick,down:this.onItemDown},onDown:this.onItemDown,render:o.templateRendering.call(this,i,o.getListeners.call(this)),item:t,key:a,index:a,id:this.guid+"-"+a})}),this):null};return n("div",{class:this.wrapperClass,onKeydown:this.onKeyDown,on:this.v3?void 0:{keydown:this.onKeyDown,focusin:this.onFocus,focusout:this.onBlur},onFocusin:this.onFocus,onFocusout:this.onBlur,dir:d,attrs:this.v3?void 0:{dir:d}},[n(r.a,{size:this.$props.size,attrs:this.v3?void 0:{size:this.$props.size,rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,disabled:m||void 0,tabIndex:f,accessKey:this.$props.accessKey,icon:this.$props.icon,iconClass:this.$props.iconClass,imageUrl:this.$props.imageUrl,look:this.$props.look,dir:d,type:"button","aria-disabled":m,"aria-haspopup":!0,"aria-expanded":this.computedOpened,"aria-label":this.$props.text+" splitbutton","aria-owns":this.guid,"aria-activedescendant":void 0!==this.focusedIndex&&this.focusedIndex>=0?this.guid+"-"+this.focusedIndex:void 0},rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,onClick:function(e){return i.onItemClick(e,-1)},on:this.v3?void 0:{click:function(e){return i.onItemClick(e,-1)}},disabled:m||void 0,tabIndex:f,accessKey:this.$props.accessKey,class:this.$props.buttonClass,icon:this.$props.icon,iconClass:this.$props.iconClass,imageUrl:this.$props.imageUrl,look:this.$props.look,dir:d,ref:this._anchor,type:"button","aria-disabled":m,"aria-haspopup":!0,"aria-expanded":this.computedOpened,"aria-label":this.$props.text+" splitbutton","aria-owns":this.guid,"aria-activedescendant":void 0!==this.focusedIndex&&this.focusedIndex>=0?this.guid+"-"+this.focusedIndex:void 0},this.v3?function(){return[t.$props.text,v]}:[t.$props.text,v]),n(r.a,{size:this.$props.size,attrs:this.v3?void 0:{size:this.$props.size,rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,icon:"arrow-s",disabled:m||void 0,tabIndex:-1,look:this.$props.look,dir:d,"aria-label":"menu toggling button"},rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,icon:"arrow-s",disabled:m||void 0,tabIndex:-1,look:this.$props.look,onClick:this.onSplitPartClick,on:this.v3?void 0:{click:this.onSplitPartClick,mousedown:this.onDownSplitPart,pointerdown:this.onDownSplitPart},onMousedown:this.onDownSplitPart,onPointerdown:this.onDownSplitPart,dir:d,"aria-label":"menu toggling button"}),function(){var e=this,t=this.$props,i=t.popupSettings,r=void 0===i?{}:i,s=t.size;return n(l.a,{anchor:this._anchor,attrs:this.v3?void 0:{anchor:this._anchor,show:this.computedOpened,animate:r.animate,popupClass:Object(o.classNames)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||Object(u.a)(a),popupAlign:r.popupAlign||Object(u.b)(a)},show:this.computedOpened,animate:r.animate,popupClass:Object(o.classNames)("k-menu-popup",r.popupClass),anchorAlign:r.anchorAlign||Object(u.a)(a),popupAlign:r.popupAlign||Object(u.b)(a),style:a?{direction:"rtl"}:void 0},this.v3?function(){return[n("ul",{class:"k-group k-menu-group k-reset k-menu-group-"+(o.kendoThemeMaps.sizeMap[s]||s),role:"menu",attrs:e.v3?void 0:{role:"menu",id:e.guid},id:e.guid},[g.call(e)])]}:[n("ul",{class:"k-group k-menu-group k-reset k-menu-group-"+(o.kendoThemeMaps.sizeMap[s]||s),role:"menu",attrs:e.v3?void 0:{role:"menu",id:e.guid},id:e.guid},[g.call(e)])])}.call(this)])},methods:{element:function(){return this.mainButton},onKeyDown:function(e){if(e.altKey)this.computedOpened||e.keyCode!==o.Keys.down?this.computedOpened&&e.keyCode===o.Keys.up&&(this.dispatchPopupEvent(e,!1),this.focusedIndex=-1,this.currentOpened=!1):(this.dispatchPopupEvent(e,!0),this.focusedIndex=0,this.currentOpened=!0);else{var t=void 0;if(e.keyCode===o.Keys.enter||e.keyCode===o.Keys.space?(e.preventDefault(),this.dispatchClickEvent(e,this.focusedIndex),void 0!==this.focusedIndex&&this.focusedIndex>=0&&(t={focusedIndex:this.computedOpened?-1:0,currentOpened:!this.computedOpened},this.dispatchPopupEvent(e,t.currentOpened))):this.computedOpened&&e.keyCode===o.Keys.esc&&(t={focusedIndex:-1,currentOpened:!1},this.dispatchPopupEvent(e,t.currentOpened)),this.computedOpened){var i=Object(a.a)(this.focusedIndex,e.keyCode,e.altKey,this.buttonsData.length);i!==this.focusedIndex&&((t=t||{}).focusedIndex=i);var n=e.keyCode===o.Keys.up||e.keyCode===o.Keys.down||e.keyCode===o.Keys.left||e.keyCode===o.Keys.right;!e.altKey&&n&&e.preventDefault()}t&&(this.focusedIndex=t.focusedIndex,this.focused=t.focused,void 0!==t.currentOpened&&(this.currentOpened=t.currentOpened))}},onFocus:function(e){this.focused||(this.$emit("focus",e,this,void 0),this.focused=!0),this.focusedIndex=-1,clearTimeout(this._blurTimeout)},onItemClick:function(e,t){var i=this.computedOpened;i&&(this.focusedIndex=0,this.currentOpened=!1),this.dispatchClickEvent(e,t),i&&this.dispatchPopupEvent(e,!1)},onBlur:function(e){clearTimeout(this._blurTimeout),this.createBlurTimeout(e)},createBlurTimeout:function(e){var t=this,i=this;this._blurTimeout=setTimeout((function(){o.canUseDOM&&document.activeElement!==i.mainButton&&(i.focused=!1,i.focusedIndex=-1,i.$emit("blur",e,t,void 0),i.computedOpened&&(i.currentOpened=!1,i.dispatchPopupEvent(e,!1)))}),200)},dispatchClickEvent:function(e,t){this.isItemDisabled(t)||(-1===t?this.$emit("buttonclick",e,this,void 0):this.$emit("itemclick",{event:e,component:this,item:this.buttonsData[t],itemIndex:t}))},onSplitPartClick:function(e){if(this.buttonsData.length){var t=!this.computedOpened;this.dispatchPopupEvent(e,t),this.focusedIndex=t?0:-1,this.currentOpened=t,this.focused=!0}},onDownSplitPart:function(e){e.preventDefault(),this.element()&&document.activeElement!==this.element()&&this.element().focus()},onItemDown:function(e){document.activeElement===this.element()&&e.preventDefault()},dispatchPopupEvent:function(e,t){this.$emit(t?"open":"close",e,this,void 0)},isItemDisabled:function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.$props.disabled},isRtl:function(){return void 0!==this.$props.dir?"rtl"===this.$props.dir:!!this.$el&&"rtl"===getComputedStyle(this.$el).direction}}},v=m},function(e,t,i){"use strict";i.d(t,"a",(function(){return v})),i.d(t,"b",(function(){return m}));var n=i(1),r=i(23),o=i(0),s=i(47),a=i(46),l=i(13),u=i(19),d=i(10),c=function(){return(c=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},h=n,p=h.h,f=h.ref,m={name:"KendoDropDownButton",emits:{focus:null,blur:null,itemclick:null,open:null,close:null},props:{accessKey:String,primary:Boolean,items:{type:Array,default:function(){return[]}},text:String,textField:String,tabIndex:Number,disabled:Boolean,icon:String,iconClass:String,imageUrl:String,popupSettings:Object,itemRender:[String,Object,Function],item:Function,size:{type:String,default:"medium"},shape:{type:String,default:"rectangle",validator:function(e){return[null,"rectangle","square"].includes(e)}},rounded:{type:String,default:"medium"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","link","outline","solid"].includes(e)}},themeColor:{type:String,default:"base",validator:function(e){return[null,"base","dark","error","info","inverse","inverse","light","primary","secondary","success","tertiary","warning"].includes(e)}},opened:{type:Boolean,default:void 0},look:{type:String,validator:function(e){return["default","flat","outline"].includes(e)}},buttonClass:String,dir:String},created:function(){this._blurTimeout=null,this._anchor=Object(o.guid)(),this.wrapper=null,this.mainButton=null,this.guid=Object(o.guid)(),this.buttonsData=[],Object(o.validatePackage)(d.a)},mounted:function(){this.mainButton=this.$refs[this._anchor],(void 0===this.$props.dir&&this.isRtl()||this.computedOpened)&&this.$forceUpdate()},updated:function(){this.focused&&this.element()&&(this.mainButton=this.$refs[this._anchor],this.mainButton.focus())},data:function(){return{currentOpened:!1,focused:!1,focusedIndex:-1}},computed:{computedOpened:function(){return void 0===this.$props.opened?this.currentOpened:this.$props.opened},wrapperClass:function(){return{"k-dropdown-button":!0,"k-focus":this.focused}}},setup:p?function(){return{v3:!!p,kendoAnchorRef:f(null)}}:void 0,render:function(e){var t=this,i=p||e,n=this.isRtl(),s=n?"rtl":void 0,d=this.$props,h=d.tabIndex,f=d.disabled,m=Object(o.getDefaultSlots)(this);this.buttonsData=this.$props.items;var v=function(){var e=this.$props,t=e.item,n=e.itemRender,r=e.textField;return this.buttonsData.length>0?this.buttonsData.map((function(e,s){var l="string"!=typeof e?c(c({},e),{render:o.templateRendering.call(this,e.render,o.getListeners.call(this))}):e;return i(a.a,{class:"k-menu-item",dataItem:l,attrs:this.v3?void 0:{dataItem:l,textField:r,focused:this.focusedIndex===s,render:o.templateRendering.call(this,n,o.getListeners.call(this)),item:t,index:s,id:this.guid+"-"+s},textField:r,focused:this.focusedIndex===s,onClick:this.onItemClick,on:this.v3?void 0:{click:this.onItemClick,down:this.onItemDown},onDown:this.onItemDown,render:o.templateRendering.call(this,n,o.getListeners.call(this)),item:t,index:s,key:s,id:this.guid+"-"+s})}),this):null};return i("div",{class:this.wrapperClass,onKeydown:this.onKeyDown,on:this.v3?void 0:{keydown:this.onKeyDown,focusin:this.onFocus,focusout:this.onBlur},onFocusin:this.onFocus,onFocusout:this.onBlur,dir:s,attrs:this.v3?void 0:{dir:s}},[i(r.a,{size:this.$props.size,attrs:this.v3?void 0:{size:this.$props.size,shape:this.$props.shape,rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,disabled:f||void 0,tabIndex:h,accessKey:this.$props.accessKey,icon:this.$props.icon,iconClass:this.$props.iconClass,imageUrl:this.$props.imageUrl,look:this.$props.look,primary:this.$props.primary,dir:s,type:"button","aria-disabled":f,"aria-haspopup":!0,"aria-expanded":this.computedOpened,"aria-label":this.$props.text+" dropdownbutton","aria-owns":this.guid,"aria-activedescendant":void 0!==this.focusedIndex&&this.focusedIndex>=0?this.guid+"-"+this.focusedIndex:void 0},shape:this.$props.shape,rounded:this.$props.rounded,fillMode:this.$props.fillMode,themeColor:this.$props.themeColor,onClick:this.onClickMainButton,on:this.v3?void 0:{click:this.onClickMainButton,mousedown:this.mouseDown},onMousedown:this.mouseDown,disabled:f||void 0,tabIndex:h,accessKey:this.$props.accessKey,icon:this.$props.icon,iconClass:this.$props.iconClass,class:this.$props.buttonClass,imageUrl:this.$props.imageUrl,look:this.$props.look,primary:this.$props.primary,dir:s,ref:this._anchor,type:"button","aria-disabled":f,"aria-haspopup":!0,"aria-expanded":this.computedOpened,"aria-label":this.$props.text+" dropdownbutton","aria-owns":this.guid,"aria-activedescendant":void 0!==this.focusedIndex&&this.focusedIndex>=0?this.guid+"-"+this.focusedIndex:void 0},this.v3?function(){return[t.$props.text,m]}:[t.$props.text,m]),function(){var e=this,t=this.$props,r=t.popupSettings,s=void 0===r?{}:r,a=t.size;return i(l.a,{anchor:this._anchor,attrs:this.v3?void 0:{anchor:this._anchor,show:this.computedOpened,animate:s.animate,popupClass:Object(o.classNames)("k-menu-popup",s.popupClass),anchorAlign:s.anchorAlign||Object(u.a)(n),popupAlign:s.popupAlign||Object(u.b)(n)},show:this.computedOpened,animate:s.animate,popupClass:Object(o.classNames)("k-menu-popup",s.popupClass),anchorAlign:s.anchorAlign||Object(u.a)(n),popupAlign:s.popupAlign||Object(u.b)(n),style:n?{direction:"rtl"}:void 0},this.v3?function(){return[i("ul",{class:"k-group k-menu-group k-reset k-menu-group-"+(o.kendoThemeMaps.sizeMap[a]||a),role:"menu",attrs:e.v3?void 0:{role:"menu",id:e.guid},id:e.guid},[v.call(e)])]}:[i("ul",{class:"k-group k-menu-group k-reset k-menu-group-"+(o.kendoThemeMaps.sizeMap[a]||a),role:"menu",attrs:e.v3?void 0:{role:"menu",id:e.guid},id:e.guid},[v.call(e)])])}.call(this)])},methods:{element:function(){return this.mainButton},onKeyDown:function(e){if(e.altKey)this.computedOpened||e.keyCode!==o.Keys.down?this.computedOpened&&e.keyCode===o.Keys.up&&(this.dispatchPopupEvent(e,!1),this.focusedIndex=-1,this.currentOpened=!1):(this.dispatchPopupEvent(e,!0),this.focusedIndex=0,this.currentOpened=!0);else if(e.keyCode===o.Keys.enter||e.keyCode===o.Keys.space?(void 0!==this.focusedIndex&&this.focusedIndex>=0&&this.dispatchClickEvent(e,this.focusedIndex),e.preventDefault(),this.focusedIndex=this.computedOpened?-1:0,this.currentOpened=!this.computedOpened,this.dispatchPopupEvent(e,this.currentOpened)):this.computedOpened&&e.keyCode===o.Keys.esc&&(this.focusedIndex=-1,this.currentOpened=!1,this.dispatchPopupEvent(e,this.currentOpened)),this.computedOpened){var t=Object(s.a)(this.focusedIndex,e.keyCode,e.altKey,this.buttonsData.length);this.focusedIndex=t;var i=e.keyCode===o.Keys.up||e.keyCode===o.Keys.down||e.keyCode===o.Keys.left||e.keyCode===o.Keys.right;!e.altKey&&i&&e.preventDefault()}},onFocus:function(e){this.focused||(this.focused=!0,this.$emit("focus",e,this,void 0)),this.focusedIndex=this.computedOpened?0:-1,clearTimeout(this._blurTimeout)},onBlur:function(e){clearTimeout(this._blurTimeout),this.createBlurTimeout(e)},createBlurTimeout:function(e){var t=this;this._blurTimeout=setTimeout((function(){o.canUseDOM&&document.activeElement!==t.$el&&(t.focused=!1,t.focusedIndex=-1,t.$emit("blur",e,t,void 0),t.computedOpened&&(t.currentOpened=!1,t.dispatchPopupEvent(e,!1)))}),200)},onItemClick:function(e,t){this.focusedIndex=-1,this.currentOpened=!1,this.dispatchClickEvent(e,t),this.dispatchPopupEvent(e,!1)},onItemDown:function(e){document.activeElement===this.element()&&e.preventDefault()},mouseDown:function(e){e.preventDefault()},dispatchClickEvent:function(e,t){this.isItemDisabled(t)||this.$emit("itemclick",{event:e,item:this.buttonsData[t],itemIndex:t})},onClickMainButton:function(e){if(this.buttonsData.length){var t=!this.computedOpened;this.currentOpened=t,this.focused=!0,this.focusedIndex=t?0:-1,this.dispatchPopupEvent(e,t)}},dispatchPopupEvent:function(e,t){this.$emit(t?"open":"close",e,this,void 0)},isItemDisabled:function(e){return this.buttonsData[e]?this.buttonsData[e].disabled:this.$props.disabled},isRtl:function(){return void 0!==this.$props.dir?"rtl"===this.$props.dir:!!this.$el&&"rtl"===getComputedStyle(this.$el).direction}}},v=m},function(e,t,i){"use strict";i.d(t,"a",(function(){return d})),i.d(t,"b",(function(){return u}));var n=i(1),r=i(0),o=i(26),s=i(10),a=function(){return(a=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},l=n.h,u={name:"KendoToolbar",props:{tabIndex:{type:Number,default:0},dir:String,keyboardNavigation:{type:Boolean,default:!0},buttons:{type:Array,default:function(){}}},created:function(){this.offsetHeight=0,this.offsetWidth=0,this.currentButtons=[],this.focusedSelector=this.selectors.map((function(e){return e+":focus"})).join(","),Object(r.validatePackage)(s.a)},computed:{selectors:function(){return this.$props.buttons||o.c}},mounted:function(){window.addEventListener("resize",this.onWindowResize);var e=this.$el;e&&(this.offsetWidth=e.offsetWidth,this.offsetHeight=e.offsetHeight,!1!==this.$props.keyboardNavigation&&(this.currentButtons=this.getCurrentButtons(),this.setTabIndex(0)))},updated:function(){this.$el&&!1!==this.$props.keyboardNavigation&&(this.currentButtons=this.getCurrentButtons(),this.setTabIndex(this.focusedIndex()))},destroyed:l?void 0:function(){window.removeEventListener("resize",this.onWindowResize),this.currentButtons.length=0},unmounted:function(){window.removeEventListener("resize",this.onWindowResize),this.currentButtons.length=0},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=Object(r.getDefaultSlots)(this);return t("div",{class:"k-widget k-toolbar",role:"toolbar",attrs:this.v3?void 0:{role:"toolbar",dir:this.$props.dir},dir:this.$props.dir,onKeydown:this.onKeyDown,on:this.v3?void 0:{keydown:this.onKeyDown}},[i])},methods:{getCurrentButtons:function(){return this.$el?Array.from(this.$el.querySelectorAll(this.selectors.join(","))):[]},getInternalButtons:function(){return this.$el?Array.from(this.$el.querySelectorAll(o.b)):[]},focusedIndex:function(){var e=this.$el&&this.$el.querySelector(this.focusedSelector);return Math.max(0,this.currentButtons.findIndex((function(t){return t===e})))},setTabIndex:function(e){var t=this.$props.tabIndex;this.currentButtons.forEach((function(i,n){i.tabIndex=n===e?t:-1})),this.getInternalButtons().forEach((function(e){e.tabIndex=-1}))},onKeyDown:function(e){if(!1!==this.$props.keyboardNavigation){var t=e.target;if((e.keyCode===r.Keys.left||e.keyCode===r.Keys.right)&&!e.defaultPrevented&&-1!==this.currentButtons.findIndex((function(e){return e===t}))){var i=this.focusedIndex();e.keyCode===r.Keys.left?this.focusButton(i,i-1):this.focusButton(i,i+1)}}},focusButton:function(e,t){var i=this.$props.tabIndex,n=this.currentButtons[t];if(n){n.tabIndex=i,n.focus();var r=this.currentButtons[e];r&&(r.tabIndex=-1)}},onWindowResize:function(e){var t=this.$el;if(t){var i=t.offsetWidth,n=t.offsetHeight;if(this.offsetWidth!==i||this.offsetHeight!==n){this.offsetWidth=i,this.offsetHeight=n;var r={offsetWidth:this.offsetWidth,offsetHeight:this.offsetHeight};this.$emit("resize",a(a({target:this},r),{nativeEvent:e}))}}}}},d=u},function(e,t,i){"use strict";i.d(t,"a",(function(){return a})),i.d(t,"b",(function(){return s}));var n=i(1),r=i(31),o=n.h,s={name:"KendoToolbarItem",setup:o?function(){return{v3:!!o}}:void 0,render:function(e){return(o||e)(r.a,{class:"k-separator"})}},a=s},function(e,t,i){"use strict";i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return o}));var n=i(1),r=n.h,o={name:"KendoToolbarItem",setup:r?function(){return{v3:!!r}}:void 0,render:function(e){return(r||e)("span",{class:"k-spacer"})}},s=o},function(e,t,i){"use strict";var n=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchSelectedItems=t.ITEMS_SELECT_ACTION=void 0;var r,o=i(7);!function(e){e.select="ITEMS_SELECT_SELECT",e.selectNext="ITEMS_SELECT_SELECT_NEXT",e.selectPrev="ITEMS_SELECT_SELECT_PREV",e.reset="ITEMS_SELECT_RESET",e.add="ITEMS_SELECT_ADD",e.remove="ITEMS_SELECT_REMOVE"}(r=t.ITEMS_SELECT_ACTION||(t.ITEMS_SELECT_ACTION={})),t.dispatchSelectedItems=function(e,t){switch(e.type){case r.select:if(!e.item)return;this.selectedItems=[e.item];break;case r.selectNext:if(!e.item||!e.item.current||!this.items)return;(i=o.findNextItem(e.item,this.items,e.ignoreIsAllDay,!1))&&(t.preventDefault(),this.selectedItems=[i]);break;case r.selectPrev:if(!e.item||!e.item.current||!this.items)return;var i;(i=o.findNextItem(e.item,this.items,e.ignoreIsAllDay,!0))&&(t.preventDefault(),this.selectedItems=[i]);break;case r.reset:this.selectedItems=[];break;case r.add:if(!e.item)return;this.selectedItems.some((function(t){return t===e.item}))||(this.selectedItems=n(this.selectedItems,[e.item]));break;case r.remove:if(!e.item)return;this.selectedItems=n(this.selectedItems.filter((function(t){return t!==e.item})))}}},function(e,t,i){"use strict";var n,r=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n};Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchSelectedSlots=t.SLOTS_SELECT_ACTION=void 0,function(e){e.select="SLOTS_SELECT_SELECT",e.reset="SLOTS_SELECT_RESET",e.add="SLOTS_SELECT_ADD"}(n=t.SLOTS_SELECT_ACTION||(t.SLOTS_SELECT_ACTION={})),t.dispatchSelectedSlots=function(e){switch(e.type){case n.select:if(!e.slot)return;this.selectedSlots([e.slot]);break;case n.reset:this.selectedSlots([]);break;case n.add:if(!e.slot)return;this.selectedSlots.some((function(t){return t===e.slot}))||this.selectedSlots(r(this.selectedSlots,[e.slot]))}}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.HorizontalResourceIteratorVue2=t.HorizontalResourceIterator=t.DefaultRowContent=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(20)),u=i(14),d=i(59),c=i(0),h={name:"KendoHorizontalResourceIterator",props:{group:Object,resources:Array,nested:Boolean,rowContent:[String,Function,Object],childRowContent:[String,Function,Object],rowContentProps:{type:Object,default:function(){return{}}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var i=a||e,n=this.$props,r=n.nested,o=n.rowContentProps,s=this.$props.rowContent||t.DefaultRowContent,h=this.$props.childRowContent||s,p=l.toGroupResources(this.$props.group,this.$props.resources),f=c.getDefaultSlots(this),m=function(e){e.children;var t=l.expandResources(e.resources,e.resources.length-1),n=e.childRowContent,r=e.resources.length>0;return i("div",{class:"k-scheduler-row"},[i(n,{timeHeaderCell:e.rowContentProps.timeHeaderCell,attrs:this.v3?void 0:{timeHeaderCell:e.rowContentProps.timeHeaderCell,isMaster:e.rowContentProps.isMaster,isLast:e.rowContentProps.isLast,contentSlot:e.rowContentProps.contentSlot,resources:e.resources},isMaster:e.rowContentProps.isMaster,isLast:e.rowContentProps.isLast,contentSlot:e.rowContentProps.contentSlot,resources:e.resources}),(t.length?t:u.EMPTY_RESOURCE).map((function(e,t){return i(d.SchedulerResourceIteratorContext,{key:t,resource:e,attrs:this.v3?void 0:{resource:e,groupIndex:r?t:0},groupIndex:r?t:0},this.v3?function(){return[f]}:[f])}),this)])};return i("div",{class:"k-scheduler-group k-group-horizontal"},[r?function e(t){var n=t.children;if(t.groupIndex===t.resources.length)return m.call(this,{resources:t.resources,rowContent:t.rowContent,children:n,nested:t.nested,groupIndex:t.groupIndex,rowContentProps:t.rowContentProps,childRowContent:t.childRowContent});var o=l.expandResources(t.resources,t.groupIndex),a=t.rowContent;return[t.nested?i("div",{class:"k-scheduler-row"},[i(a,{resources:t.resources,attrs:this.v3?void 0:{resources:t.resources,groupIndex:t.groupIndex,timeHeaderCell:t.rowContentProps.timeHeaderCell,isMaster:t.rowContentProps.isMaster,isLast:t.rowContentProps.isLast,contentSlot:t.rowContentProps.contentSlot},groupIndex:t.groupIndex,timeHeaderCell:t.rowContentProps.timeHeaderCell,isMaster:t.rowContentProps.isMaster,isLast:t.rowContentProps.isLast,contentSlot:t.rowContentProps.contentSlot}),o.map((function(e,t){return i("div",{key:t,class:"k-scheduler-cell k-heading-cell"},[e.text])}))]):i(a,{resources:t.resources,attrs:this.v3?void 0:{resources:t.resources,groupIndex:t.groupIndex,timeHeaderCell:t.rowContentProps.timeHeaderCell,isMaster:t.rowContentProps.isMaster,isLast:t.rowContentProps.isLast,contentSlot:t.rowContentProps.contentSlot},groupIndex:t.groupIndex,timeHeaderCell:t.rowContentProps.timeHeaderCell,isMaster:t.rowContentProps.isMaster,isLast:t.rowContentProps.isLast,contentSlot:t.rowContentProps.contentSlot})(o.map((function(e,t){return i("div",{key:t,class:"k-scheduler-cell k-heading-cell"},[e.text])}),this)),e.call(this,{resources:p,children:f,nested:r,rowContent:s,rowContentProps:t.rowContentProps,childRowContent:h,groupIndex:t.groupIndex+1})]}.call(this,{resources:p,children:f,nested:r,groupIndex:0,rowContent:s,rowContentProps:o,childRowContent:h}):m.call(this,{resources:p,children:f,rowContent:s,nested:!!r,groupIndex:0,rowContentProps:o,childRowContent:h})])}};t.HorizontalResourceIteratorVue2=h,t.DefaultRowContent=function(e){return e.children};var p=h;t.HorizontalResourceIterator=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerResourceIteratorContextVue2=t.SchedulerResourceIteratorContext=void 0;var s=o(i(1)).h,a=i(0),l={name:"KendoSchedulerResourceIteratorContext",inheritAttrs:!1,props:{noWrap:Boolean,resource:{type:Object,default:function(){return{}}},groupIndex:{type:Number,default:0}},data:function(){return{ri:{resource:this.resource,groupIndex:this.groupIndex}}},provide:function(){return{ri:this.ri}},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=a.getDefaultSlots(this);return this.$props.noWrap?i[0]:t("div",{class:"k-scheduler-cell k-group-cell"},[i])}};t.SchedulerResourceIteratorContextVue2=l;var u=l;t.SchedulerResourceIteratorContext=u},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimeHeaderCellVue2=t.TimeHeaderCell=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(2),d={name:"KendoTimeHeaderCell",props:{as:[String,Function,Object],format:{type:[String,Object],default:"t"},date:[Date,Object],start:[Date,Object],end:[Date,Object]},inject:{kendoIntlService:{default:null}},setup:a?function(){return{v3:!!a,kendoIntlService:l("kendoIntlService",{})}}:void 0,render:function(e){return(a||e)("div",{class:"k-scheduler-cell k-heading-cell"},[u.provideIntlService(this).formatDate(this.$props.date,this.$props.format)])}};t.TimeHeaderCellVue2=d;var c=d;t.TimeHeaderCell=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toSlots=void 0;var n=i(5),r=i(14);t.toSlots=function(e,t,i){var o=t.step,s=i.groups,a=i.ranges,l=[];return s.forEach((function(e){a.forEach((function(t){for(var i=t.zonedStart,s=t.zonedEnd,a=s.timezoneOffset-i.timezoneOffset,u=i.clone(),d=0,c=a<0?a*r.MS_PER_MINUTE*-1:0;u.getTime()<s.getTime();d++,u=u.addTime(o)){var h=u.clone(),p=u.addTime(o),f=(p.timezoneOffset-h.timezoneOffset)*r.MS_PER_MINUTE,m=o<Math.abs(f);c&&m&&(c-=o,u=u.addTime(-o));var v=new Date(h.getTime()),g={refTo:{},index:d,end:new Date(p.getTime()),start:v,zonedStart:h,zonedEnd:p,range:t,group:e,items:[],isAllDay:n.MS_PER_DAY<=o};l.push(g)}}))})),l}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerEditTaskVue2=t.SchedulerEditTask=void 0;var a=o(i(1)),l=a.h,u=(a.inject,i(84)),d=i(18),c=i(7),h=i(49),p={name:"KendoSchedulerEditTask",props:{viewTask:[String,Function,Object],removeDialog:[String,Function,Object],showRemoveDialog:Boolean,removeItem:[String,Function,Object],occurrenceDialog:[String,Function,Object],task:[String,Function,Object],showOccurrenceDialog:Boolean,refTo:[Function,Object],id:String,tabIndex:Number,className:String,editable:[Object,Boolean],head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,isAllDay:Boolean,uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object},created:function(){},provide:function(){return{et:this.et,removeTask:this.handleRemoveItemChange,removeDialog:this.handleRemoveDialogChange,OccurrenceDialog:this.handleOccurrenceDialogChange}},data:function(){return{et:{removeItem:null,showRemoveDialog:!1,showOccurrenceDialog:!1},currentEditable:!1,series:null,currentData:null}},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=this.$props;i.refTo,i.viewTask,i.removeDialog,i.removeItem,i.onRemoveItemChange,i.occurrenceDialog,i.showOccurrenceDialog,i.onShowOccurrenceDialogChange,i.showRemoveDialog,i.onShowRemoveDialogChange,s(i,["refTo","viewTask","removeDialog","removeItem","onRemoveItemChange","occurrenceDialog","showOccurrenceDialog","onShowOccurrenceDialogChange","showRemoveDialog","onShowRemoveDialogChange"]);return this.currentEditable=d.useEditable(this.$props.editable),t(u.SchedulerViewTask,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.$props.tabIndex,head:this.$props.head,tail:this.$props.tail,order:this.$props.order,zonedStart:this.$props.zonedStart,zonedEnd:this.$props.zonedEnd,slots:this.$props.slots,group:this.$props.group,range:this.$props.range,isException:this.$props.isException,isRecurring:this.$props.isRecurring,isAllDay:this.$props.isAllDay,uid:this.$props.uid,start:this.$props.start,end:this.$props.end,originalStart:this.$props.originalStart,startTimezone:this.$props.startTimezone,endTimezone:this.$props.endTimezone,title:this.$props.title,description:this.$props.description,occurrenceId:this.$props.occurrenceId,recurrenceExceptions:this.$props.recurrenceExceptions,recurrenceRule:this.$props.recurrenceRule,recurrenceId:this.$props.recurrenceId,dataItem:this.$props.dataItem},tabIndex:this.$props.tabIndex,head:this.$props.head,tail:this.$props.tail,order:this.$props.order,zonedStart:this.$props.zonedStart,zonedEnd:this.$props.zonedEnd,slots:this.$props.slots,group:this.$props.group,range:this.$props.range,isException:this.$props.isException,isRecurring:this.$props.isRecurring,isAllDay:this.$props.isAllDay,uid:this.$props.uid,start:this.$props.start,end:this.$props.end,originalStart:this.$props.originalStart,startTimezone:this.$props.startTimezone,endTimezone:this.$props.endTimezone,title:this.$props.title,description:this.$props.description,occurrenceId:this.$props.occurrenceId,recurrenceExceptions:this.$props.recurrenceExceptions,recurrenceRule:this.$props.recurrenceRule,recurrenceId:this.$props.recurrenceId,dataItem:this.$props.dataItem,onRemoveClick:this.handleRemoveClick,on:this.v3?void 0:{removeClick:this.handleRemoveClick}})},methods:{setRemoveItem:function(e,t){this.removeItem=e,this.$emit("removeitemchange",{item:e,event:t})},setShowRemoveDialog:function(e,t){this.showREmoveDialog=e,this.$emit("showremovedialogchange",{show:e,event:t})},setShowOccurrenceDialog:function(e,t){this.showOccurrenceDialog=e,this.$emit("showoccurrencedialogchange",{show:e,event:t})},handleRemoveClick:function(e){this.currentEditable.remove&&(this.setRemoveItem(this.$props.dataItem,e),this.$props.isRecurring?this.setShowOccurrenceDialog(!0,e):this.setShowRemoveDialog(!0,e))},handleCancel:function(e){this.series=null,this.setRemoveItem(null,e),this.setShowRemoveDialog(!1,e),this.setShowOccurrenceDialog(!1,e)},handleRemoveConfirm:function(e){this.removeItem&&this.$emit("dataaction",{type:h.DATA_ACTION.remove,series:this.series,dataItem:this.removeItem}),this.setRemoveItem(null,e),this.setShowRemoveDialog(!1,e)},handleRemoveItemChange:function(e,t){this.setRemoveItem&&this.setRemoveItem(e,t)},handleRemoveDialogChange:function(e,t){this.setShowRemoveDialog&&this.setShowRemoveDialog(e,t)},handleOccurrenceDialogChange:function(e,t){this.setShowOccurrenceDialog&&this.setShowOccurrenceDialog(e,t)},handleOccurrenceClick:function(e){this.removeItem&&(this.series=!1,this.setRemoveItem(this.$props.dataItem,e),this.setShowRemoveDialog(!0,e)),this.setShowOccurrenceDialog(!1,e)},handleSeriesClick:function(e){if(this.removeItem){this.series=!0;var t=c.findMaster(this.removeItem,this.fields,this.currentData);this.setRemoveItem(t,e),this.setShowRemoveDialog(!0,e)}this.setShowOccurrenceDialog(!1,e)}}};t.SchedulerEditTaskVue2=p;var f=p;t.SchedulerEditTask=f},function(e,t,i){"use strict";i.r(t),i.d(t,"Dialog",(function(){return h})),i.d(t,"DialogVue2",(function(){return c})),i.d(t,"DialogActionsBar",(function(){return m})),i.d(t,"DialogActionsBarVue2",(function(){return f})),i.d(t,"Window",(function(){return I})),i.d(t,"WindowVue2",(function(){return D}));var n,r=i(1),o=i(0),s=i(3),a=r.h,l={props:{id:String,closeIcon:{type:Boolean,default:!0},title:String,titleRender:[String,Function,Object]},setup:a?function(){return{v3:!!a}}:void 0,methods:{onCloseButtonClick:function(e){this.$emit("closebuttonclick",e)}},render:function(e){var t,i=a||e,n=this.$props,r=n.id,l=n.closeIcon,u=n.titleRender,d=n.title;return t=o.getTemplate.call(this,{h:i,template:u,defaultRendering:d}),i("div",{class:"k-window-titlebar k-dialog-titlebar k-header",id:r,attrs:this.v3?void 0:{id:r}},[i("div",{class:"k-window-title k-dialog-title"},[t]),i("div",{class:"k-window-actions k-dialog-actions"},[l&&i(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",fillMode:"flat","aria-label":"Close",icon:"x"},fillMode:"flat","aria-label":"Close",icon:"x",onClick:this.onCloseButtonClick,on:this.v3?void 0:{click:this.onCloseButtonClick}})])])}},u={name:"@progress/kendo-vue-dialogs",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646205165,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},d=r.h,c={name:"KendoDialog",props:{title:String,titleRender:[String,Function,Object],id:String,dir:String,closeIcon:{type:Boolean,default:!0},width:[String,Number],height:[String,Number],minWidth:[String,Number]},created:function(){Object(o.validatePackage)(u),this.titleId=this.generateTitleId()},setup:d?function(){return{v3:!!d}}:void 0,methods:{handleCloseDialog:function(e){e.preventDefault(),this.$emit("close",{event:e,target:this})},handleKeyDown:function(e){e.keyCode===o.Keys.esc&&o.hasListener.call(this,"close")&&(e.preventDefault(),this.handleCloseDialog(e))},transformDimesion:function(e){return"string"==typeof e&&e.endsWith("px")?e:e+"px"},getActionBarIndex:function(e){return e.findIndex((function(e){return e&&e.tag&&-1!==e.tag.toLowerCase().indexOf("dialogactionsbar")||e.componentOptions&&e.componentOptions.tag&&-1!==e.componentOptions.tag.toLowerCase().indexOf("actions-bar")||e.type&&e.type.name&&-1!==e.type.name.toLowerCase().indexOf("dialogactionsbar")}))},generateTitleId:function(){return"dialog-title"+Object(o.guid)()}},render:function(e){var t=d||e,i=void 0!==this.$props.id?this.$props.id:this.titleId,n=this.$props,r=n.title,s=n.width,a=n.height,u=n.minWidth,c=n.dir,h=n.contentStyle,p=this.$props.titleRender?o.templateRendering.call(this,this.$props.titleRender,o.getListeners.call(this)):null,f=Object(o.getDefaultSlots)(this)||[];s=this.transformDimesion(s),a=this.transformDimesion(a),u=this.transformDimesion(u);var m,v=this.getActionBarIndex(f);-1!==v&&(m=f[v],f.splice(v,1));var g=void 0===this.$props.closeIcon||this.$props.closeIcon;return t("div",{class:"k-dialog-wrapper",onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown},tabIndex:0,attrs:this.v3?void 0:{tabIndex:0,dir:c},dir:c},[t("div",{class:"k-overlay"}),t("div",{"aria-labelledby":r||p?i:void 0,attrs:this.v3?void 0:{"aria-labelledby":r||p?i:void 0,role:"dialog"},class:"k-widget k-window k-dialog",role:"dialog",style:{width:s,height:a,minWidth:u}},[(r||p)&&t(l,{closeIcon:g,attrs:this.v3?void 0:{closeIcon:g,id:i,title:r,titleRender:p},onClosebuttonclick:this.handleCloseDialog,on:this.v3?void 0:{closebuttonclick:this.handleCloseDialog},id:i,title:r,titleRender:p}),t("div",{class:"k-content k-window-content k-dialog-content",style:h},[f]),m])])}},h=c,p=r.h,f={name:"DialogActionsBar",props:{layout:{type:String,default:"stretched"}},setup:p?function(){return{v3:!!p}}:void 0,computed:{wrapperClasses:function(){var e=this.$props.layout;return{"k-dialog-buttongroup":!0,"k-actions":!0,"k-hstack":!0,"k-justify-content-start":"start"===e,"k-justify-content-center":"center"===e,"k-justify-content-end":"end"===e,"k-justify-content-stretch":"stretched"===e}}},render:function(e){var t=p||e,i=Object(o.getDefaultSlots)(this);return t("div",{class:this.wrapperClasses},[i])}},m=f;!function(e){e.DEFAULT="DEFAULT",e.FULLSCREEN="FULLSCREEN",e.MINIMIZED="MINIMIZED"}(n||(n={}));var v=r.h,g={props:{id:String,stage:String,closeButton:[String,Function,Object],minimizeButton:[String,Function,Object],maximizeButton:[String,Function,Object],restoreButton:[String,Function,Object],title:String,titleRender:[String,Function,Object]},setup:v?function(){return{v3:!!v}}:void 0,methods:{onDoubleClick:function(e){this.$emit("doubleclick",e)},onMinimizeClick:function(e){this.$emit("minimizeclick",e)},onFullScreenClick:function(e){this.$emit("fullscreenclick",e)},onRestoreClick:function(e){this.$emit("restoreclick",e)},onCloseClick:function(e){this.$emit("closeclick",e)}},render:function(e){var t=v||e,i=this.$props,r=i.stage,a=i.title,l=i.titleRender,u=i.minimizeButton,d=i.maximizeButton,c=i.restoreButton,h=i.closeButton,p=o.getTemplate.call(this,{h:t,template:l,defaultRendering:a}),f=t(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"window-minimize",fillMode:"flat"},icon:"window-minimize",fillMode:"flat",onClick:this.onMinimizeClick,on:this.v3?void 0:{click:this.onMinimizeClick}}),m=o.getTemplate.call(this,{h:t,template:u,defaultRendering:f}),g=t(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"window-maximize",fillMode:"flat"},icon:"window-maximize",fillMode:"flat",onClick:this.onFullScreenClick,on:this.v3?void 0:{click:this.onFullScreenClick}}),y=o.getTemplate.call(this,{h:t,template:d,defaultRendering:g}),b=t(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"window-restore",fillMode:"flat"},icon:"window-restore",fillMode:"flat",onClick:this.onRestoreClick,on:this.v3?void 0:{click:this.onRestoreClick}}),k=o.getTemplate.call(this,{h:t,template:c,defaultRendering:b}),S=t(s.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"x",fillMode:"flat"},icon:"x",fillMode:"flat",onClick:this.onCloseClick,on:this.v3?void 0:{click:this.onCloseClick}}),w=o.getTemplate.call(this,{h:t,template:h,defaultRendering:S});return t("div",{class:"k-window-titlebar k-dialog-titlebar",style:{touchAction:"none"},onDblclick:this.onDoubleClick,on:this.v3?void 0:{dblclick:this.onDoubleClick}},[t("div",{class:"k-window-title"},[p]),t("div",{class:"k-window-actions"},[r===n.DEFAULT&&m,r===n.DEFAULT&&y,r!==n.DEFAULT&&k]),w])}},y=r.h,b=["n","e","s","w","se","sw","ne","nw"],k={name:"ResizeHandlers",emits:{resize:null},setup:y?function(){return{v3:!!y}}:void 0,methods:{onDrag:function(e,t){e.originalEvent.preventDefault(),this.$emit("resize",e,{end:!1,direction:t})},onRelease:function(e,t){e.originalEvent.preventDefault(),this.$emit("resize",e,{end:!0,direction:t})}},render:function(e){var t=y||e;return t("div",[b.map((function(e,i){var n=this;return t(o.Draggable,{key:i,onDrag:function(t){return n.onDrag(t,e)},on:this.v3?void 0:{drag:function(t){return n.onDrag(t,e)},release:function(t){return n.onRelease(t,e)}},onRelease:function(t){return n.onRelease(t,e)}},this.v3?function(){return[t("div",{class:"k-resize-handle k-resize-"+e,style:{display:"block",touchAction:"none"}})]}:[t("div",{class:"k-resize-handle k-resize-"+e,style:{display:"block",touchAction:"none"}})])}),this)])}},S=function(){return(S=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},w=r.h,D={name:"KendoWindow",emits:{resize:null,move:null,close:null,stagechange:null},props:{id:String,width:{type:[Number],default:void 0},height:{type:[Number],default:void 0},left:{type:[Number],default:void 0},windowStyle:Object,windowClass:String,top:{type:[Number],default:void 0},initialWidth:[Number],initialHeight:[Number],initialLeft:[Number],initialTop:[Number],minWidth:{type:[Number],default:120},minHeight:{type:[Number],default:100},resizable:{type:Boolean,default:!0},draggable:{type:Boolean,default:!0},modal:{type:Boolean,default:!1},doubleClickStageChange:{type:Boolean,default:!0},title:String,titleRender:[String,Function,Object],closeButton:[String,Function,Object],minimizeButton:[String,Function,Object],maximizeButton:[String,Function,Object],restoreButton:[String,Function,Object],shouldUpdateOnDrag:Boolean,stage:{type:String,validator:function(e){return-1!==["DEFAULT","MINIMIZED","FULLSCREEN"].indexOf(e)}}},setup:w?function(){return{v3:!!w}}:void 0,created:function(){Object(o.validatePackage)(u),this.windowCoordinatesState={leftBeforeAction:this.getInitialLeft(),topBeforeAction:this.getInitialTop(),widthBeforeAction:this.getInitialWidth(),heightBeforeAction:this.getInitialHeight()}},data:function(){return{currentStage:this.$props.stage||n.DEFAULT,isDragging:!1,currentTop:this.getInitialTop(),currentLeft:this.getInitialLeft(),currentWidth:this.getInitialWidth(),currentHeight:this.getInitialHeight()}},mounted:function(){window&&window.addEventListener("resize",this.handleBrowserWindowResize),this.$el&&(this.windowElement=this.$refs.windowElement)},destroyed:w?void 0:function(){window&&window.removeEventListener("resize",this.handleBrowserWindowResize)},unmounted:function(){window&&window.removeEventListener("resize",this.handleBrowserWindowResize)},computed:{computedTop:function(){return this.windowStage!==n.FULLSCREEN?Math.max(this.$props.top||this.currentTop,0):0},computedLeft:function(){return this.windowStage!==n.FULLSCREEN?Math.max(this.$props.left||this.currentLeft,0):0},computedWidth:function(){var e=this.$props.width||this.currentWidth;return this.windowStage===n.FULLSCREEN&&(e=window.innerWidth),e},computedHeight:function(){var e=this.$props.height||this.currentHeight;return this.windowStage===n.FULLSCREEN?e=window.innerHeight:this.windowStage===n.MINIMIZED&&(e=0),e},windowStage:function(){return this.$props.stage||this.currentStage}},methods:{onPress:function(e){var t=e;this.windowCoordinatesState.differenceLeft=t.pageX-this.computedLeft,this.windowCoordinatesState.differenceTop=t.pageY-this.computedTop},onDrag:function(e){var t=e;t.originalEvent.preventDefault(),this.windowStage!==n.FULLSCREEN&&this.$props.draggable&&(this.currentTop=Math.max(t.pageY-this.windowCoordinatesState.differenceTop,0),this.currentLeft=t.pageX-this.windowCoordinatesState.differenceLeft,this.isDragging=!0,this.dispatchMoveEvent("move",t,!0,!1))},onRelease:function(e){var t=e;this.windowStage!==n.FULLSCREEN&&this.$props.draggable&&this.dispatchMoveEvent("move",t,!0,!0),this.isDragging=!1},handleKeyDown:function(e){if(e.target===e.currentTarget){var t=this.$props.minWidth||120,i=this.$props.minHeight||100;if(e.ctrlKey&&this.$props.resizable){switch(e.keyCode){case o.Keys.up:e.preventDefault(),i<=this.computedHeight-5&&(this.currentHeight=this.currentHeight-5);break;case o.Keys.down:e.preventDefault(),this.currentHeight=this.currentHeight+5;break;case o.Keys.left:t<=this.computedWidth-5&&(this.currentWidth=this.currentWidth-5);break;case o.Keys.right:this.currentWidth=this.currentWidth+5;break;default:return}this.dispatchMoveEvent("resize",e,!1,void 0)}else if(e.altKey)switch(e.keyCode){case o.Keys.up:this.windowStage===n.MINIMIZED?(this.handleRestore(e),this.$emit("stagechange",e,this,{state:n.DEFAULT})):this.windowStage===n.DEFAULT&&(this.handleFullscreen(e),this.$emit("stagechange",e,this,{state:n.FULLSCREEN}));break;case o.Keys.down:this.windowStage===n.FULLSCREEN?(this.handleRestore(e),this.$emit("stagechange",e,this,{state:n.DEFAULT})):this.windowStage===n.DEFAULT&&(this.handleMinimize(e),this.$emit("stagechange",e,this,{state:n.MINIMIZED}))}else{if(!e.ctrlKey)switch(e.keyCode){case o.Keys.esc:return void this.handleCloseWindow(e);case o.Keys.up:e.preventDefault(),this.currentTop=this.currentTop-5;break;case o.Keys.down:e.preventDefault(),this.currentTop=this.currentTop+5;break;case o.Keys.left:e.preventDefault(),this.currentLeft=this.currentLeft-5;break;case o.Keys.right:e.preventDefault(),this.currentLeft=this.currentLeft+5;break;default:return}this.dispatchMoveEvent("move",e,!1,void 0)}}},getInitialTop:function(){if(void 0!==this.$props.top)return this.$props.top;if(void 0!==this.$props.initialTop)return this.$props.initialTop;var e=300;return void 0!==this.$props.height?e=this.$props.height:void 0!==this.$props.initialHeight&&(e=this.$props.initialHeight),window.innerHeight/2-e/2},getInitialLeft:function(){if(void 0!==this.$props.left)return this.$props.left;if(void 0!==this.$props.initialLeft)return this.$props.initialLeft;var e=300;return void 0!==this.$props.width?e=this.$props.width:void 0!==this.$props.initialWidth&&(e=this.$props.initialWidth),window.innerWidth/2-e/2},getInitialWidth:function(){var e=300;return void 0!==this.$props.width?e=this.$props.width:void 0!==this.$props.initialWidth&&(e=this.$props.initialWidth),e},getInitialHeight:function(){var e=300;return void 0!==this.$props.height?e=this.$props.height:void 0!==this.$props.initialHeight&&(e=this.$props.initialHeight),e},handleMinimize:function(e){e.preventDefault(),this.windowCoordinatesState.leftBeforeAction=this.computedLeft,this.windowCoordinatesState.topBeforeAction=this.computedTop,this.windowCoordinatesState.widthBeforeAction=this.computedWidth,this.windowCoordinatesState.heightBeforeAction=this.computedHeight,this.currentStage=n.MINIMIZED,this.currentHeight=0,this.$emit("stagechange",e,this,{state:n.MINIMIZED})},handleFullscreen:function(e){e.preventDefault(),this.windowCoordinatesState.leftBeforeAction=this.computedLeft,this.windowCoordinatesState.topBeforeAction=this.computedTop,this.windowCoordinatesState.widthBeforeAction=this.computedWidth,this.windowCoordinatesState.heightBeforeAction=this.computedHeight,this.currentLeft=0,this.currentTop=0,this.currentWidth=window.innerWidth,this.currentHeight=window.innerHeight,this.currentStage=n.FULLSCREEN,this.$emit("stagechange",e,this,{state:n.FULLSCREEN})},handleRestore:function(e){e.preventDefault(),this.windowStage===n.FULLSCREEN?(this.currentStage=n.DEFAULT,this.currentLeft=this.windowCoordinatesState.leftBeforeAction,this.currentTop=this.windowCoordinatesState.topBeforeAction,this.currentWidth=this.windowCoordinatesState.widthBeforeAction,this.currentHeight=this.windowCoordinatesState.heightBeforeAction):this.windowStage===n.MINIMIZED&&(this.currentStage=n.DEFAULT,this.currentHeight=this.windowCoordinatesState.heightBeforeAction),this.$emit("stagechange",e,this,{state:n.DEFAULT})},handleCloseWindow:function(e){e.preventDefault(),this.$emit("close",e,this,{state:void 0})},handleDoubleClick:function(e){this.$props.doubleClickStageChange&&(this.windowStage===n.FULLSCREEN||this.windowStage===n.MINIMIZED?this.handleRestore(e):this.handleFullscreen(e))},handleResize:function(e,t){var i=this.computedWidth,n=this.computedHeight,r=this.$props.minWidth||120,o=this.$props.minHeight||100,s=this.computedTop-e.pageY,a=this.computedLeft-e.pageX,l=e.pageX-this.computedLeft,u=e.pageY-this.computedTop;this.isDragging=!t.end,t.direction.indexOf("n")>=0&&o-(n+s)<0&&(this.currentTop=e.pageY,this.currentHeight=n+s),t.direction.indexOf("s")>=0&&o-u<0&&(this.currentHeight=u),t.direction.indexOf("w")>=0&&r-(i+a)<0&&(this.currentLeft=e.pageX,this.currentWidth=i+a),t.direction.indexOf("e")>=0&&r-l<0&&(this.currentWidth=l),this.dispatchMoveEvent("resize",e,!0,t.end)},dispatchMoveEvent:function(e,t,i,n){this.$emit(e,{event:t.event,drag:i,end:n,target:this,left:this.currentLeft,top:this.currentTop,width:this.currentWidth,height:this.currentHeight})},handleBrowserWindowResize:function(){this.windowStage===n.FULLSCREEN&&(this.currentWidth=window.innerWidth,this.currentHeight=window.innerHeight)}},render:function(e){var t=this,i=w||e,r=Object(o.classNames)("k-widget","k-window",this.$props.windowClass,{"k-window-minimized":"MINIMIZED"===this.currentStage}),s=this.$props.titleRender?o.templateRendering.call(this,this.$props.titleRender,o.getListeners.call(this)):null,a=this.$props.closeButton?o.templateRendering.call(this,this.$props.closeButton,o.getListeners.call(this)):null,l=this.$props.minimizeButton?o.templateRendering.call(this,this.$props.minimizeButton,o.getListeners.call(this)):null,u=this.$props.maximizeButton?o.templateRendering.call(this,this.$props.maximizeButton,o.getListeners.call(this)):null,d=this.$props.restoreButton?o.templateRendering.call(this,this.$props.restoreButton,o.getListeners.call(this)):null,c=Object(o.getDefaultSlots)(this);return i("div",[this.$props.modal&&i("div",{class:"k-overlay"}),i("div",{tabIndex:0,attrs:this.v3?void 0:{tabIndex:0},onFocus:function(e){return e.target.classList.add("k-state-focused")},on:this.v3?void 0:{focus:function(e){return e.target.classList.add("k-state-focused")},blur:function(e){return e.target.classList.remove("k-state-focused")},keydown:this.handleKeyDown},onBlur:function(e){return e.target.classList.remove("k-state-focused")},onKeydown:this.handleKeyDown,ref:"windowElement",class:r,style:S({top:this.computedTop+"px",left:this.computedLeft+"px",width:this.computedWidth+"px",height:this.computedHeight+"px"||!1},this.$props.windowStyle)},[i(o.Draggable,{onPress:this.onPress,on:this.v3?void 0:{press:this.onPress,drag:this.onDrag,release:this.onRelease},onDrag:this.onDrag,onRelease:this.onRelease,ref:"draggable"},this.v3?function(){return[i(g,{stage:t.windowStage,attrs:t.v3?void 0:{stage:t.windowStage,title:t.$props.title,titleRender:s,closeButton:a,minimizeButton:l,maximizeButton:u,restoreButton:d},title:t.$props.title,titleRender:s,onDoubleclick:t.handleDoubleClick,on:t.v3?void 0:{doubleclick:t.handleDoubleClick,minimizeclick:t.handleMinimize,fullscreenclick:t.handleFullscreen,restoreclick:t.handleRestore,closeclick:t.handleCloseWindow},onMinimizeclick:t.handleMinimize,onFullscreenclick:t.handleFullscreen,onRestoreclick:t.handleRestore,onCloseclick:t.handleCloseWindow,closeButton:a,minimizeButton:l,maximizeButton:u,restoreButton:d})]}:[i(g,{stage:t.windowStage,attrs:t.v3?void 0:{stage:t.windowStage,title:t.$props.title,titleRender:s,closeButton:a,minimizeButton:l,maximizeButton:u,restoreButton:d},title:t.$props.title,titleRender:s,onDoubleclick:t.handleDoubleClick,on:t.v3?void 0:{doubleclick:t.handleDoubleClick,minimizeclick:t.handleMinimize,fullscreenclick:t.handleFullscreen,restoreclick:t.handleRestore,closeclick:t.handleCloseWindow},onMinimizeclick:t.handleMinimize,onFullscreenclick:t.handleFullscreen,onRestoreclick:t.handleRestore,onCloseclick:t.handleCloseWindow,closeButton:a,minimizeButton:l,maximizeButton:u,restoreButton:d})]),this.windowStage!==n.MINIMIZED?i("div",{class:"k-content k-window-content"},[c]):null,this.windowStage===n.DEFAULT&&this.$props.resizable?i(k,{onResize:this.handleResize,on:this.v3?void 0:{resize:this.handleResize}}):null])])}},I=D},function(e,t,i){"use strict";i.d(t,"a",(function(){return h})),i.d(t,"b",(function(){return c}));var n=i(1),r=i(0),o=n.h,s={name:"KendoButtonWrap",props:{},setup:o?function(){return{v3:!!o}}:void 0,render:function(e){return Object(r.getDefaultSlots)(this)[0]}},a=i(10),l=i(26),u=n.h,d=l.a.styles,c={name:"KendoButtonGroup",props:{disabled:{type:Boolean,default:void 0},width:String,dir:{type:String,default:function(){}}},created:function(){Object(r.validatePackage)(a.a)},setup:u?function(){return{v3:!!u}}:void 0,render:function(e){var t,i=u||e,n=Object(r.getDefaultSlots)(this),o=function(e,t,n,o){var a,l=Object(r.classNames)(((a={})[d["state-disabled"]]=this.$props.disabled,a[d["group-start"]]=o?n:0===t,a[d["group-end"]]=o?0===t:n,a));return i(s,{class:l,attrs:this.v3?void 0:{"aria-disabled":this.$props.disabled},"aria-disabled":this.$props.disabled},this.v3?function(){return[e]}:[e])},a=Object(r.classNames)([d["button-group"]],((t={})["k-disabled"]=this.$props.disabled,t[d["button-group-stretched"]]=!!this.$props.width,t));return i("div",{style:{width:this.width},width:this.$props.width,attrs:this.v3?void 0:{width:this.$props.width,dir:this.$props.dir,role:"group","aria-disabled":this.$props.disabled,"aria-multiselectable":!0},dir:this.$props.dir,role:"group","aria-disabled":this.$props.disabled,"aria-multiselectable":!0,class:a},[function(e){var t=this,i=e.length,n=void 0!==this.$props.dir?"rtl"===this.$props.dir:this.$el&&"rtl"===getComputedStyle(this.$el).direction||!1;return e.map((function(e,r){return t.isValidButton(e)?o.call(t,e,r,r===i-1,n):e}))}.call(this,n)])},methods:{isValidButton:function(e){return e&&e.tag&&-1!==e.tag.toLowerCase().indexOf("button")||e.componentOptions&&e.componentOptions.tag&&-1!==e.componentOptions.tag.toLowerCase().indexOf("button")||e.type&&e.type.name&&-1!==e.type.name.toLowerCase().indexOf("kendobutton")}}},h=c},function(e,t,i){"use strict";i.d(t,"a",(function(){return y})),i.d(t,"b",(function(){return g}));var n=i(1),r=i(0),o=i(30),s=i(10),a=function(e){return"number"==typeof e?e+"px":e},l=function(e,t){var i={horizontal:t?"right":"left",vertical:"bottom"};return"end"===e.horizontal&&(i.horizontal=t?"left":"right"),i},u=function(e,t){var i={horizontal:t?"right":"left",vertical:"top"};return"end"===e.horizontal&&(i.horizontal=t?"left":"right"),i},d=function(e,t,i,n){var r=t.horizontal,o=t.vertical;if(e){var s=i&&void 0!==i.x?a(i.x):"16px",l=i&&void 0!==i.x?"calc(50% + "+a(i.x)+")":"50%",u=i&&void 0!==i.y?a(i.y):"16px",d=i&&void 0!==i.y?"calc(50% + "+a(i.y)+")":"50%";e.style.setProperty(c(t,n),"center"===r?l:s),e.style.setProperty(h(t),"middle"===o?d:u),n&&("top"!==o&&"bottom"!==o||"start"!==r||e.style.setProperty("left","unset"),"middle"===o&&"end"===r&&e.style.setProperty("right","unset"),"middle"===o&&"start"===r&&e.style.setProperty("left","unset"))}},c=function(e,t){return{end:t?"left":"right",center:"left",start:t?"right":"left"}[e.horizontal||"end"]},h=function(e){return{top:"top",middle:"top",bottom:"bottom"}[e.vertical||"bottom"]},p=i(13),f=n,m=f.h,v=f.ref,g={name:"KendoVueFloatingActionButton",props:{id:String,dir:String,tabIndex:Number,accessKey:String,disabled:Boolean,icon:String,iconClass:String,items:[Object,Array],item:[String,Function,Object],text:String,alignOffset:Object,opened:{type:Boolean,default:void 0},align:{type:Object,default:function(){return{vertical:"bottom",horizontal:"end"}}},positionMode:{type:String,default:function(){return"fixed"}},popupSettings:{type:Object,default:function(){return{}}},shape:{type:String,default:function(){return"rectangle"}},rounded:{type:String,default:"full"},fillMode:{type:String,default:"solid",validator:function(e){return[null,"flat","link","outline","solid"].includes(e)}},size:{type:String,default:function(){return"medium"}},themeColor:{type:String,default:function(){return"primary"}}},emits:{click:null,mousedown:null,mouseup:null,open:null,close:null,itemclick:null,focus:null,blur:null,keydown:null},data:function(){return{currentOpened:!1,currentFocused:!1,focusedIndex:-1,currentDir:"ltr",isRtl:!1}},created:function(){Object(r.validatePackage)(s.a),this.element=void 0,this._anchor=Object(r.guid)(),this.listId=Object(r.guid)(),this.buttonId=Object(r.guid)()},mounted:function(){this.element=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],this.list=this.v3?this.listRef:this.$refs.list,this.popup=this.v3?this.popupRef:this.$refs.popup,this.currentDir=void 0!==this.$props.dir?this.$props.dir:this.$el&&"rtl"===getComputedStyle(this.$el).direction||!1,this.isRtl="rtl"===this.currentDir,void 0!==this.opened&&d(this.$el,this.$props.align,this.$props.alignOffset,this.isRtl)},updated:function(){d(this.$el,this.$props.align,this.$props.alignOffset,this.isRtl),this.currentFocused&&this.element&&this.element.focus()},computed:{buttonClassNames:function(){var e,t=this.$props,i=t.size,n=(t.icon,t.shape),o=t.themeColor,s=t.fillMode,a=t.rounded;return(e={"k-fab":!0})["k-fab-"+(n||"rectangle")]=null!==n,e["k-fab-"+(r.kendoThemeMaps.sizeMap[i]||i)]=i,e["k-rounded-"+(r.kendoThemeMaps.roundedMap[a]||a)]=a,e["k-fab-"+s]=s,e["k-fab-"+s+"-"+o]=s&&o,e["k-disabled"]=this.$props.disabled,e["k-focus"]=this.currentFocused,e["k-"+this.$props.align.vertical+"-"+this.$props.align.horizontal]=!0,e},computedOpened:function(){return void 0===this.$props.opened?this.currentOpened:this.$props.opened},rootClassNames:function(){return Object(r.classNames)({"k-pos-absolute":"absolute"===this.$props.positionMode,"k-pos-fixed":"fixed"===this.$props.positionMode})}},methods:{dispatchPopupEvent:function(e,t){this.$props.items&&this.$emit(t?"open":"close",{event:e,isOpened:!t})},handleClick:function(e){if(e.target&&!this.$props.disabled)if(this.$props.items){var t=!this.computedOpened;this.currentOpened=t,this.currentFocused=!0,this.focusedIndex=t?0:-1,this.dispatchPopupEvent(e,!this.computedOpened)}else this.$emit("click",e,void 0)},handleFocus:function(e){this.currentFocused=!0,this.focusedIndex=this.computedOpened?0:-1,this.$emit("focus",e,void 0)},handleBlur:function(e){this.currentFocused=!1,this.currentOpened=!1,this.focusedIndex=-1,this.$emit("blur",e,void 0),this.computedOpened&&this.dispatchPopupEvent(e,!1)},handleMouseDown:function(e){e.preventDefault(),this.$emit("mousedown",e)},handleMouseUp:function(e){this.$emit("mouseup",e)},dispatchItemClickEvent:function(e,t){this.$props.items&&(this.$props.items[t].disabled||this.$emit("itemclick",e,{itemProps:this.$props.items[t],itemIndex:t}))},handleItemClick:function(e,t){e.target&&this.$props.items&&(this.focusedIndex=t,this.currentOpened=!1,this.dispatchItemClickEvent(e,t),this.dispatchPopupEvent(e,!1))},handleItemDown:function(e){r.canUseDOM&&document.activeElement===this.element&&e.preventDefault()},handleKeyDown:function(e){var t=this.focusedIndex,i=this.$props.items?this.$props.items.length-1:-1,n="bottom"===this.$props.align.vertical;switch(e.keyCode){case r.Keys.enter:case r.Keys.space:t>=0&&this.dispatchItemClickEvent(e,t),e.preventDefault(),this.currentOpened=!this.currentOpened,this.focusedIndex=this.currentOpened?-1:0;break;case r.Keys.esc:e.preventDefault(),this.currentOpened=!1,this.focusedIndex=-1;break;case r.Keys.home:e.preventDefault(),this.focusedIndex=0;break;case r.Keys.end:e.preventDefault(),this.focusedIndex=i;break;case r.Keys.down:case r.Keys.right:e.preventDefault(),t<i&&!n&&(this.focusedIndex=t+1),t>0&&n&&(this.focusedIndex=t-1);break;case r.Keys.up:case r.Keys.left:e.preventDefault(),t>0&&!n&&(this.focusedIndex=t-1),t<i&&n&&(this.focusedIndex=t+1)}this.$emit("keydown",e,void 0)}},setup:m?function(){return{v3:!!m,chipRef:v(null),kendoAnchorRef:v(null)}}:void 0,render:function(e){var t=this,i=this,n=m||e,s=this.$props,a=s.align,d=s.disabled,c=s.icon,h=s.iconClass,f=s.id,v=s.items,g=s.text,y=s.tabIndex,b=s.accessKey,k=s.popupSettings,S=r.templateRendering.call(this,this.$props.item,r.getListeners.call(this)),w=function(){return v&&v.map((function(e,t){return n(o.a,{key:t,index:t,attrs:this.v3?void 0:{index:t,id:this.listId+"-"+t,disabled:d||e.disabled,focused:this.focusedIndex===t,dataItem:e,item:S},id:this.listId+"-"+t,disabled:d||e.disabled,focused:this.focusedIndex===t,dataItem:e,item:S,class:Object(r.classNames)(e.className,(i=this.currentDir||"ltr",s=a.horizontal,{rtl:{end:"k-text-left",start:"k-text-right"},ltr:{start:"k-text-left",end:"k-text-right"}}[i]["end"===s?"end":"start"])),onClick:this.handleItemClick,on:this.v3?void 0:{click:this.handleItemClick,down:this.handleItemDown},onDown:this.handleItemDown});var i,s}),this)},D=c&&!g,I=(this.element?this.element.offsetWidth:0)/2-16;return n("div",{class:this.rootClassNames},[n("button",{ref:this.v3?function(e){i.kendoAnchorRef=e}:this._anchor,id:f||this.buttonId,attrs:this.v3?void 0:{id:f||this.buttonId,role:v?"menubutton":"button",type:"button","aria-disabled":d,"aria-expanded":v?this.computedOpened:void 0,"aria-haspopup":!!v,"aria-label":(g||"")+" floatingactionbutton","aria-owns":v?this.listId:void 0,"aria-activedescendant":this.focusedIndex>=0&&v?this.listId+"-"+this.focusedIndex:void 0,tabIndex:Object(r.getTabIndex)(y,d),accessKey:b,dir:this.currentDir,disabled:d},role:v?"menubutton":"button",type:"button","aria-disabled":d,"aria-expanded":v?this.computedOpened:void 0,"aria-haspopup":!!v,"aria-label":(g||"")+" floatingactionbutton","aria-owns":v?this.listId:void 0,"aria-activedescendant":this.focusedIndex>=0&&v?this.listId+"-"+this.focusedIndex:void 0,tabIndex:Object(r.getTabIndex)(y,d),accessKey:b,dir:this.currentDir,disabled:d,class:this.buttonClassNames,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.handleMouseDown,mouseup:this.handleMouseUp,focusin:this.handleFocus,blur:this.handleBlur,keydown:this.handleKeyDown},onMousedown:this.handleMouseDown,onMouseup:this.handleMouseUp,onFocusin:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown},[c?n("span",{role:"presentation",attrs:this.v3?void 0:{role:"presentation"},class:Object(r.classNames)("k-fab-icon k-icon k-i-"+c)}):h?n("span",{role:"presentation",attrs:this.v3?void 0:{role:"presentation"},class:h}):null,g&&n("span",{class:"k-fab-text"},[g])]),n(p.a,{ref:this.v3?function(e){i.popupRef=e}:"popup",show:this.computedOpened,attrs:this.v3?void 0:{show:this.computedOpened,anchor:this._anchor,animate:k.animate,popupClass:Object(r.classNames)("k-popup-transparent k-fab-popup",k.popupClass),anchorAlign:k.anchorAlign||l(a,this.isRtl),popupAlign:k.popupAlign||u(a,this.isRtl)},anchor:this._anchor,animate:k.animate,popupClass:Object(r.classNames)("k-popup-transparent k-fab-popup",k.popupClass),anchorAlign:k.anchorAlign||l(a,this.isRtl),popupAlign:k.popupAlign||u(a,this.isRtl),style:{boxShadow:"none"}},this.v3?function(){return[n("ul",{ref:t.v3?function(e){i.listRef=e}:"list",role:"menu",attrs:t.v3?void 0:{role:"menu","aria-labelledby":f,id:t.listId},"aria-labelledby":f,id:t.listId,class:Object(r.classNames)("k-fab-items",{"k-fab-items-bottom":"bottom"!==a.vertical,"k-fab-items-top":"bottom"===a.vertical}),style:{paddingLeft:D?I+"px":void 0,paddingRight:D?I+"px":void 0}},[w.call(t)])]}:[n("ul",{ref:t.v3?function(e){i.listRef=e}:"list",role:"menu",attrs:t.v3?void 0:{role:"menu","aria-labelledby":f,id:t.listId},"aria-labelledby":f,id:t.listId,class:Object(r.classNames)("k-fab-items",{"k-fab-items-bottom":"bottom"!==a.vertical,"k-fab-items-top":"bottom"===a.vertical}),style:{paddingLeft:D?I+"px":void 0,paddingRight:D?I+"px":void 0}},[w.call(t)])])])}},y=g},function(e,t){e.exports=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SLOTS_SELECT_ACTION=t.SLOTS_FOCUS_ACTION=t.SHOW_REMOVE_DIALOG_ACTION=t.SHOW_OCCURRENCE_DIALOG_ACTION=t.SERIES_ACTION=t.RESIZE_ITEM_ACTION=t.REMOVE_ITEM_ACTION=t.ITEMS_SELECT_ACTION=t.ITEMS_FOCUS_ACTION=t.DRAG_ITEM_ACTION=t.TimeHeaderCell=t.DateHeaderCell=t.SchedulerFooter=t.SchedulerHeader=t.SchedulerRemoveDialog=t.SchedulerOccurrenceDialog=t.SchedulerFormEditor=t.SchedulerForm=t.SchedulerResize=t.SchedulerDrag=t.SchedulerEditTask=t.SchedulerViewTask=t.SchedulerTask=t.SchedulerEditSlot=t.SchedulerViewSlot=t.SchedulerSlot=t.SchedulerEditItem=t.SchedulerViewItem=t.SchedulerItemContent=t.SchedulerItem=t.DATA_ACTION=t.MonthView=t.WorkWeekView=t.WeekView=t.DayView=t.TimelineView=t.AgendaView=t.Scheduler=void 0;var n=i(49);Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return n.Scheduler}}),Object.defineProperty(t,"DATA_ACTION",{enumerable:!0,get:function(){return n.DATA_ACTION}});var r=i(120);Object.defineProperty(t,"AgendaView",{enumerable:!0,get:function(){return r.AgendaView}});var o=i(83);Object.defineProperty(t,"TimelineView",{enumerable:!0,get:function(){return o.TimelineView}});var s=i(73);Object.defineProperty(t,"DayView",{enumerable:!0,get:function(){return s.DayView}});var a=i(123);Object.defineProperty(t,"WeekView",{enumerable:!0,get:function(){return a.WeekView}});var l=i(124);Object.defineProperty(t,"WorkWeekView",{enumerable:!0,get:function(){return l.WorkWeekView}});var u=i(125);Object.defineProperty(t,"MonthView",{enumerable:!0,get:function(){return u.MonthView}});var d=i(42);Object.defineProperty(t,"SchedulerItem",{enumerable:!0,get:function(){return d.SchedulerItem}});var c=i(76);Object.defineProperty(t,"SchedulerItemContent",{enumerable:!0,get:function(){return c.SchedulerItemContent}});var h=i(41);Object.defineProperty(t,"SchedulerViewItem",{enumerable:!0,get:function(){return h.SchedulerViewItem}});var p=i(40);Object.defineProperty(t,"SchedulerEditItem",{enumerable:!0,get:function(){return p.SchedulerEditItem}});var f=i(75);Object.defineProperty(t,"SchedulerSlot",{enumerable:!0,get:function(){return f.SchedulerSlot}});var m=i(74);Object.defineProperty(t,"SchedulerViewSlot",{enumerable:!0,get:function(){return m.SchedulerViewSlot}});var v=i(21);Object.defineProperty(t,"SchedulerEditSlot",{enumerable:!0,get:function(){return v.SchedulerEditSlot}});var g=i(85);Object.defineProperty(t,"SchedulerTask",{enumerable:!0,get:function(){return g.SchedulerTask}});var y=i(84);Object.defineProperty(t,"SchedulerViewTask",{enumerable:!0,get:function(){return y.SchedulerViewTask}});var b=i(62);Object.defineProperty(t,"SchedulerEditTask",{enumerable:!0,get:function(){return b.SchedulerEditTask}});var k=i(129);Object.defineProperty(t,"SchedulerDrag",{enumerable:!0,get:function(){return k.SchedulerDrag}});var S=i(130);Object.defineProperty(t,"SchedulerResize",{enumerable:!0,get:function(){return S.SchedulerResize}});var w=i(131);Object.defineProperty(t,"SchedulerForm",{enumerable:!0,get:function(){return w.SchedulerForm}});var D=i(86);Object.defineProperty(t,"SchedulerFormEditor",{enumerable:!0,get:function(){return D.SchedulerFormEditor}});var I=i(132);Object.defineProperty(t,"SchedulerOccurrenceDialog",{enumerable:!0,get:function(){return I.SchedulerOccurrenceDialog}});var C=i(133);Object.defineProperty(t,"SchedulerRemoveDialog",{enumerable:!0,get:function(){return C.SchedulerRemoveDialog}});var $=i(70);Object.defineProperty(t,"SchedulerHeader",{enumerable:!0,get:function(){return $.SchedulerHeader}});var T=i(35);Object.defineProperty(t,"DateHeaderCell",{enumerable:!0,get:function(){return T.DateHeaderCell}});var O=i(60);Object.defineProperty(t,"TimeHeaderCell",{enumerable:!0,get:function(){return O.TimeHeaderCell}});var E=i(72);Object.defineProperty(t,"SchedulerFooter",{enumerable:!0,get:function(){return E.SchedulerFooter}});var x=i(80);Object.defineProperty(t,"DRAG_ITEM_ACTION",{enumerable:!0,get:function(){return x.DRAG_ITEM_ACTION}});var M=i(18);Object.defineProperty(t,"ITEMS_FOCUS_ACTION",{enumerable:!0,get:function(){return M.ITEMS_FOCUS_ACTION}}),Object.defineProperty(t,"SLOTS_FOCUS_ACTION",{enumerable:!0,get:function(){return M.SLOTS_FOCUS_ACTION}});var R=i(56);Object.defineProperty(t,"ITEMS_SELECT_ACTION",{enumerable:!0,get:function(){return R.ITEMS_SELECT_ACTION}});var _=i(78);Object.defineProperty(t,"REMOVE_ITEM_ACTION",{enumerable:!0,get:function(){return _.REMOVE_ITEM_ACTION}});var F=i(81);Object.defineProperty(t,"RESIZE_ITEM_ACTION",{enumerable:!0,get:function(){return F.RESIZE_ITEM_ACTION}});var A=i(82);Object.defineProperty(t,"SERIES_ACTION",{enumerable:!0,get:function(){return A.SERIES_ACTION}});var z=i(77);Object.defineProperty(t,"SHOW_OCCURRENCE_DIALOG_ACTION",{enumerable:!0,get:function(){return z.SHOW_OCCURRENCE_DIALOG_ACTION}});var V=i(79);Object.defineProperty(t,"SHOW_REMOVE_DIALOG_ACTION",{enumerable:!0,get:function(){return V.SHOW_REMOVE_DIALOG_ACTION}});var j=i(57);Object.defineProperty(t,"SLOTS_SELECT_ACTION",{enumerable:!0,get:function(){return j.SLOTS_SELECT_ACTION}})},function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var n=i(12),r=function(e){return Object(n.a)(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}},function(e,t,i){"use strict";i.d(t,"a",(function(){return v}));var n=i(24),r=i(9),o=i(43),s=i(17),a=i(44),l=function(e,t){return new Date(e.getTime()+t*n.c)},u=function(e,t){return new Date(e.getTime()+t*n.b)},d=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],c=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dev"],h=function(e,t){return void 0===t&&(t=2),(e<0?"-":"")+new Array(t).concat([Math.abs(e)]).join("0").slice(-t)};function p(e,t){var i=Object(s.a)(t,e),n=u(e,-1);return i<Object(s.a)(t,n)}function f(e,t){var i=p(e,t)?1:0;return u(e,i)}function m(e,t,i){if(t===i)return e;var n=Object(s.a)(t,e),r=Object(s.a)(i,e),o=n-r,a=l(e,o),u=Object(s.a)(i,a);return l(e,o+(r-u))}var v=function(){function e(e,t){this._utcDate=Object(r.a)(e),this.timezone=t;var i=Object(s.a)(t,e);this.timezoneOffset=i;var n=f(e,t);this._localDate=m(n,t,"Etc/UTC")}return Object.defineProperty(e.prototype,"cachedLocalDate",{get:function(){return this._localDate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"cachedUTCDate",{get:function(){return this._utcDate},enumerable:!0,configurable:!0}),e.fromLocalDate=function(t,i){void 0===i&&(i="");var n=m(t,"Etc/UTC",i),r=p(n,i),o=Object(s.a)(i,n),a=0;r&&(a=o>0?-1:1);var l=u(n,a);return e.fromUTCDate(l,i)},e.fromUTCDate=function(t,i){return void 0===i&&(i=""),new e(t,i)},e.prototype.toLocalDate=function(){return Object(r.a)(this._localDate)},e.prototype.toUTCDate=function(){return Object(r.a)(this._utcDate)},e.prototype.toTimezone=function(t){if(this.timezone===t)return this.clone();var i=Object(s.a)(this.timezone,this._utcDate),n=l(this._utcDate,i);return e.fromLocalDate(n,t)},e.prototype.clone=function(){return e.fromUTCDate(this._utcDate,this.timezone)},e.prototype.addDays=function(t){var i=new Date(this._utcDate.getTime());return i.setUTCDate(i.getUTCDate()+t),e.fromUTCDate(i,this.timezone)},e.prototype.addTime=function(t){var i=f(new Date(this._utcDate.getTime()),this.timezone);i.setTime(i.getTime()+t);var n=f(i,this.timezone);return e.fromUTCDate(n,this.timezone)},e.prototype.stripTime=function(){var t=this._utcDate,i=Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),0,0,0);return e.fromUTCDate(new Date(i),this.timezone)},e.prototype.getTime=function(){return this._localDate.getTime()},e.prototype.getTimezoneOffset=function(){return this.timezoneOffset},e.prototype.getFullYear=function(){return this._utcDate.getUTCFullYear()},e.prototype.getMonth=function(){return this._utcDate.getUTCMonth()},e.prototype.getDate=function(){return this._utcDate.getUTCDate()},e.prototype.getDay=function(){return this._utcDate.getUTCDay()},e.prototype.getHours=function(){return this._utcDate.getUTCHours()},e.prototype.getMinutes=function(){return this._utcDate.getUTCMinutes()},e.prototype.getSeconds=function(){return this._utcDate.getUTCSeconds()},e.prototype.getMilliseconds=function(){return this._utcDate.getUTCMilliseconds()},e.prototype.getUTCDate=function(){return this._localDate.getUTCDate()},e.prototype.getUTCDay=function(){return this._localDate.getUTCDay()},e.prototype.getUTCFullYear=function(){return this._localDate.getUTCFullYear()},e.prototype.getUTCHours=function(){return this._localDate.getUTCHours()},e.prototype.getUTCMilliseconds=function(){return this._localDate.getUTCMilliseconds()},e.prototype.getUTCMinutes=function(){return this._localDate.getUTCMinutes()},e.prototype.getUTCMonth=function(){return this._localDate.getUTCMonth()},e.prototype.getUTCSeconds=function(){return this._localDate.getUTCSeconds()},e.prototype.setTime=function(e){throw new Error("Method not implemented.")},e.prototype.setMilliseconds=function(e){throw new Error("Method not implemented.")},e.prototype.setUTCMilliseconds=function(e){throw new Error("Method not implemented.")},e.prototype.setSeconds=function(e,t){throw new Error("Method not implemented.")},e.prototype.setUTCSeconds=function(e,t){throw new Error("Method not implemented.")},e.prototype.setMinutes=function(e,t,i){throw new Error("Method not implemented.")},e.prototype.setUTCMinutes=function(e,t,i){throw new Error("Method not implemented.")},e.prototype.setHours=function(e,t,i,n){throw new Error("Method not implemented.")},e.prototype.setUTCHours=function(e,t,i,n){throw new Error("Method not implemented.")},e.prototype.setDate=function(e){throw new Error("Method not implemented.")},e.prototype.setUTCDate=function(e){throw new Error("Method not implemented.")},e.prototype.setMonth=function(e,t){throw new Error("Method not implemented.")},e.prototype.setUTCMonth=function(e,t){throw new Error("Method not implemented.")},e.prototype.setFullYear=function(e,t,i){throw new Error("Method not implemented.")},e.prototype.setUTCFullYear=function(e,t,i){throw new Error("Method not implemented.")},e.prototype.toISOString=function(){return this._localDate.toISOString()},e.prototype.toJSON=function(){return this._localDate.toJSON()},e.prototype.toString=function(){var e,t=(e=this._utcDate,d[e.getUTCDay()]+" "+c[e.getUTCMonth()]),i=this.toTimeString();return t+" "+this.getDate()+" "+this.getFullYear()+" "+i},e.prototype.toDateString=function(){return Object(a.a)(this._utcDate).toDateString()},e.prototype.toTimeString=function(){var e=h(this.getHours())+":"+h(this.getMinutes())+":"+h(this.getSeconds()),t=function(e){var t=e<=0?"+":"-",i=Math.abs(e);return"GMT"+t+h(Math.floor(i/60))+h(i%60)}(this.timezoneOffset),i=Object(o.a)(this.timezone,this._utcDate);return i&&(i=" ("+i+")"),e+" "+t+i},e.prototype.toLocaleString=function(e,t){return this._localDate.toLocaleString(e,t)},e.prototype.toLocaleDateString=function(e,t){return this._localDate.toLocaleDateString(e,t)},e.prototype.toLocaleTimeString=function(e,t){return this._localDate.toLocaleTimeString(e,t)},e.prototype.toUTCString=function(){return this.toTimezone("Etc/UTC").toString()},e.prototype[Symbol.toPrimitive]=function(e){return"string"===e||"default"===e?this.toString():this._localDate.getTime()},e.prototype.valueOf=function(){return this.getTime()},e.prototype.getVarDate=function(){throw new Error("Not implemented.")},e.prototype.format=function(e){throw new Error("Not implemented.")},e.prototype.formatUTC=function(e){throw new Error("Not implemented.")},e}()},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerHeaderVue2=t.SchedulerHeader=void 0;var s=o(i(1)).h,a=i(0),l=i(3),u={name:"KendoSchedulerHeader",setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=a.getDefaultSlots(this);return t(l.Toolbar,{class:"k-scheduler-toolbar"},this.v3?function(){return[i]}:[i])}};t.SchedulerHeaderVue2=u;var d=u;t.SchedulerHeader=d},function(e,t){},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerFooterVue2=t.SchedulerFooter=void 0;var s=o(i(1)).h,a=i(0),l=i(3),u={name:"KendoSchedulerFooter",setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=a.getDefaultSlots(this);return t(l.Toolbar,{class:"k-scheduler-footer",style:{boxShadow:"none"}},this.v3?function(){return[i]}:[i])}};t.SchedulerFooterVue2=u;var d=u;t.SchedulerFooter=d},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewVue2=t.DayView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(32)),u=i(11),d=i(2),c=i(5),h={name:"KendoDayView",props:{name:{type:String,default:"day"},title:String,dateRange:{type:[Function,Object],default:function(){return l.MultiDayView.props.dateRange.default()}},showWorkHours:{type:Boolean,default:!0},step:{type:Number,default:1},numberOfDays:{type:Number,default:1},slotDuration:{type:Number,default:60},slotDivisions:{type:Number,default:2},selectedDateFormat:{type:String,default:"{0:D}"},selectedShortDateFormat:{type:String,default:"{0:d}"},currentTimeMarker:{type:Boolean,default:!0},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"23:59"},workDayStart:{type:String,default:"08:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:c.Day.Monday},workWeekEnd:{type:Number,default:c.Day.Friday},defaultShowWorkHours:{type:Boolean,default:!0},timeHeaderCell:String},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e;d.provideLocalizationService(this).toLanguageString(u.dayViewTitle,u.messages[u.dayViewTitle]);return t(l.MultiDayView,{name:this.$props.name,attrs:this.v3?void 0:{name:this.$props.name,dateRange:this.$props.dateRange,step:this.$props.step,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:this.$props.title,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd,defaultShowWorkHours:this.$props.defaultShowWorkHours,timeHeaderCell:this.$props.timeHeaderCell},dateRange:this.$props.dateRange,step:this.$props.step,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:this.$props.title,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd,defaultShowWorkHours:this.$props.defaultShowWorkHours,timeHeaderCell:this.$props.timeHeaderCell})}};t.DayViewVue2=h;var p=h;t.DayView=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerViewSlotVue2=t.SchedulerViewSlot=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(75)),u=i(18),d=i(0),c={name:"KendoSchedulerViewSlot",props:{refTo:[Function,Object],items:Array,row:Number,group:Object,range:Object,isWorkDay:{type:Boolean,default:!0},isWorkHour:{type:Boolean,default:!0},selected:Boolean,col:Number,index:Number,start:Date,end:Date,zonedStart:Object,zonedEnd:Object,renderSlot:[String,Function,Object],expandable:[Boolean,Object],isAllDay:Boolean},created:function(){this.viewSlot=null,this.slot=null},inject:{ks:{default:null},bv:{default:null}},updated:function(){u.useSlotExpand(this,this.ks.scheduler,this.$props.expandable)},mounted:function(){u.useSlotExpand(this,this.ks.scheduler,this.$props.expandable)},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=d.getDefaultSlots(this),n=this.$props,r=n.renderSlot,o=(n.refTo,n.items),s=n.row,u=n.group,c=n.range,h=n.isWorkDay,p=n.isWorkHour,f=n.col,m=n.index,v=n.start,g=n.end,y=n.zonedStart,b=n.zonedEnd;return t(l.SchedulerSlot,{renderSlot:r,attrs:this.v3?void 0:{renderSlot:r,isAllDay:this.isAllDay,items:o,row:s,group:u,range:c,isWorkDay:h,isWorkHour:p,col:f,index:m,start:v,end:g,zonedStart:y,zonedEnd:b},isAllDay:this.isAllDay,items:o,row:s,group:u,range:c,isWorkDay:h,isWorkHour:p,col:f,index:m,start:v,end:g,zonedStart:y,zonedEnd:b},this.v3?function(){return[i]}:[i])}};t.SchedulerViewSlotVue2=c;var h=c;t.SchedulerViewSlot=h},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerSlotVue2=t.SchedulerSlot=void 0;var a=s(i(1)),l=a.h,u=(a.inject,i(0)),d=i(7),c=i(2),h={name:"KendoSchedulerSlot",props:{refTo:[Function,Object],items:Array,row:Number,group:Object,range:Object,isWorkDay:{type:Boolean,default:!0},isWorkHour:{type:Boolean,default:!0},selected:Boolean,col:Number,index:Number,start:Date,end:Date,zonedStart:Object,zonedEnd:Object,isAllDay:Boolean},computed:{currentTabIndex:function(){return void 0!==this.$props.tabIndex?null===this.$props.tabIndex?void 0:this.$props.tabIndex:this.$props.selected?0:-1},slotClass:function(){return{"k-scheduler-cell k-slot-cell":!0,"k-nonwork-hour":!this.$props.isWorkHour||!this.$props.isWorkDay,"k-state-selected":this.$props.selected}},slotLabel:function(){return""+d.formatEventTime(this.intl,this.$props.zonedStart,this.$props.zonedEnd,this.$props.isAllDay||!1)}},inject:{kendoIntlService:{default:null},setSlots:{default:null},slotClick:{default:null},slotDoubleClick:{default:null}},created:function(){this.setSlots({type:d.COLLECTION_ACTION.add,item:this})},destroyed:l?void 0:function(){this.setSlots({type:d.COLLECTION_ACTION.remove,item:this})},unmounted:function(){this.setSlots({type:d.COLLECTION_ACTION.remove,item:this})},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e;this.intl=c.provideIntlService(this);var i=u.getDefaultSlots(this);return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.currentTabIndex,"aria-label":this.slotLabel,"aria-selected":this.$props.selected,"data-slot":!0,"data-slot-allday":this.$props.isAllDay,"data-slot-start":this.$props.start.getTime(),"data-slot-end":this.$props.end.getTime(),"data-slot-group":this.$props.group.index,"data-slot-range":this.$props.range.index,"data-slot-index":this.$props.index},style:{userSelect:"none"},class:this.slotClass,tabIndex:this.currentTabIndex,"aria-label":this.slotLabel,"aria-selected":this.$props.selected,onFocus:this.handleFocus,on:this.v3?void 0:{focus:this.handleFocus,blur:this.handleBlur,click:this.handleClick,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave,mouseover:this.handleMouseOver,mouseout:this.handleMouseOut,dblclick:this.handleDoubleClick,keydown:this.handleKeyDown,keypress:this.handleKeyPress,keyup:this.handleKeyUp},onBlur:this.handleBlur,onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onMouseover:this.handleMouseOver,onMouseout:this.handleMouseOut,onDblclick:this.handleDoubleClick,onKeydown:this.handleKeyDown,onKeypress:this.handleKeyPress,onKeyup:this.handleKeyUp,"data-slot":!0,"data-slot-allday":this.$props.isAllDay,"data-slot-start":this.$props.start.getTime(),"data-slot-end":this.$props.end.getTime(),"data-slot-group":this.$props.group.index,"data-slot-range":this.$props.range.index,"data-slot-index":this.$props.index},[i])},methods:{handleFocus:function(e){this.$emit("focus",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleBlur:function(e){this.$emit("blur",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleClick:function(e){var t={event:e,target:{props:n({},this.$props),element:this.$el}};this.$emit("click",t),this.slotClick(t)},handleMouseOver:function(e){this.$emit("mouseover",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleMouseOut:function(e){this.$emit("mouseout",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleMouseEnter:function(e){this.$emit("mouseenter",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleMouseLeave:function(e){this.$emit("mouseleave",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleDoubleClick:function(e){var t={event:e,target:{props:n({},this.$props),element:this.$el}};this.$emit("doubleclick",t),this.slotDoubleClick(t)},handleKeyDown:function(e){this.$emit("keydown",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleKeyPress:function(e){this.$emit("keydown",{event:e,target:{props:n({},this.$props),element:this.$el}})},handleKeyUp:function(e){this.$emit("keyup",{event:e,target:{props:n({},this.$props),element:this.$el}})}}};t.SchedulerSlotVue2=h;var p=h;t.SchedulerSlot=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerItemContentVue2=t.SchedulerItemContent=void 0;var s=i(0),a=o(i(1)).h,l={name:"KendoSchedulerItemContent",props:{},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){return(a||e)("div",{class:"k-event-template"},[s.getDefaultSlots(this)])}};t.SchedulerItemContentVue2=l;var u=l;t.SchedulerItemContent=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useShowOccurrenceDialog=t.SHOW_OCCURRENCE_DIALOG_ACTION=void 0,function(e){e.set="SHOW_OCCURRENCE_DIALOG_SET",e.open="SHOW_OCCURRENCE_DIALOG_OPEN",e.close="SHOW_OCCURRENCE_DIALOG_CLOSE",e.reset="SHOW_OCCURRENCE_DIALOG_RESET",e.toggle="SHOW_OCCURRENCE_DIALOG_TOGGLE"}(t.SHOW_OCCURRENCE_DIALOG_ACTION||(t.SHOW_OCCURRENCE_DIALOG_ACTION={}));t.useShowOccurrenceDialog=function(e,t,i){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRemoveItem=t.REMOVE_ITEM_ACTION=void 0,function(e){e.set="REMOVE_ITEM_SET",e.reset="REMOVE_ITEM_RESET",e.complete="REMOVE_ITEM_COMPLETE"}(t.REMOVE_ITEM_ACTION||(t.REMOVE_ITEM_ACTION={})),t.useRemoveItem=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useShowRemoveDialog=t.SHOW_REMOVE_DIALOG_ACTION=void 0,function(e){e.set="SHOW_REMOVE_DIALOG_SET",e.open="SHOW_REMOVE_DIALOG_OPEN",e.close="SHOW_REMOVE_DIALOG_CLOSE",e.reset="SHOW_REMOVE_DIALOG_RESET",e.toggle="SHOW_REMOVE_DIALOG_TOGGLE"}(t.SHOW_REMOVE_DIALOG_ACTION||(t.SHOW_REMOVE_DIALOG_ACTION={}));t.useShowRemoveDialog=function(e,t,i){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDragItem=t.DRAG_ITEM_ACTION=void 0,function(e){e.set="DRAG_ITEM_SET",e.start="DRAG_ITEM_START",e.drag="DRAG_ITEM_DRAG",e.complete="DRAG_ITEM_COMPLETE",e.completeOccurrence="DRAG_ITEM_COMPLETE_OCCURRENCE",e.completeSeries="DRAG_ITEM_COMPLETE_SERIES",e.reset="DRAG_ITEM_RESET",e.dragSelected="DRAG_ITEM_DRAG_SELECTED"}(t.DRAG_ITEM_ACTION||(t.DRAG_ITEM_ACTION={})),t.useDragItem=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useResizeItem=t.RESIZE_ITEM_ACTION=void 0,function(e){e.set="RESIZE_ITEM_SET",e.start="RESIZE_ITEM_START",e.startDrag="RESIZE_ITEM_START_DRAG",e.startDragSelected="RESIZE_ITEM_START_DRAG_SELECTED",e.endDrag="RESIZE_ITEM_END_DRAG",e.endDragSelected="RESIZE_ITEM_END_DRAG_SELECTED",e.complete="RESIZE_ITEM_COMPLETE",e.completeOccurrence="RESIZE_ITEM_COMPLETE_OCCURRENCE",e.completeSeries="RESIZE_ITEM_COMPLETE_SERIES",e.reset="RESIZE_ITEM_RESET"}(t.RESIZE_ITEM_ACTION||(t.RESIZE_ITEM_ACTION={})),t.useResizeItem=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSeries=t.SERIES_ACTION=void 0,function(e){e.reset="SERIES_RESET",e.set="SERIES_SET",e.toggle="SERIES_TOGGLE"}(t.SERIES_ACTION||(t.SERIES_ACTION={}));t.useSeries=function(e,t,i){return[]}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimelineViewVue2=t.TimelineView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(116)),u=i(5),d={name:"KendoTimelineView",props:{name:{type:String,default:"timeline"},title:{type:String,default:"Multi Day Timeline"},currentTimeMarker:{type:Boolean,default:!0},dateRange:{type:[Function,Object],default:function(){return l.MultiDayTimelineView.props.dateRange.default()}},showWorkHours:{type:Boolean,default:!0},selectedDateFormat:{type:String,default:"{0:D}"},selectedShortDateFormat:{type:String,default:"{0:d}"},step:{type:Number,default:1},numberOfDays:{type:Number,default:1},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"00:00"},workDayStart:{type:String,default:"8:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:u.Day.Monday},workWeekEnd:{type:Number,default:u.Day.Friday},slotDivisions:{type:Number,default:2},slotDuration:{type:Number,default:60},defaultShowWorkHours:{type:Boolean,default:!0},columnWidth:{type:Number,default:100}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){return(a||e)(l.MultiDayTimelineView,{name:this.$props.name,attrs:this.v3?void 0:{name:this.$props.name,dateRange:this.$props.dateRange,step:this.$props.step,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,columnWidth:this.$props.columnWidth,title:this.$props.title,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd},dateRange:this.$props.dateRange,step:this.$props.step,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,columnWidth:this.$props.columnWidth,title:this.$props.title,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd})}};t.TimelineViewVue2=d;var c=d;t.TimelineView=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerViewTaskVue2=t.SchedulerViewTask=void 0;var a=o(i(1)),l=a.h,u=(a.inject,i(85)),d={name:"KendoSchedulerViewTask",props:{refTo:[Function,Object],id:String,tabIndex:Number,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,isAllDay:Boolean,uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=this.$props;i.task,i.refTo,s(i,["task","refTo"]);return t(u.SchedulerTask,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.$props.tabIndex,head:this.$props.head,tail:this.$props.tail,order:this.$props.order,zonedStart:this.$props.zonedStart,zonedEnd:this.$props.zonedEnd,slots:this.$props.slots,group:this.$props.group,range:this.$props.range,isException:this.$props.isException,isRecurring:this.$props.isRecurring,isAllDay:this.$props.isAllDay,uid:this.$props.uid,start:this.$props.start,end:this.$props.end,originalStart:this.$props.originalStart,startTimezone:this.$props.startTimezone,endTimezone:this.$props.endTimezone,title:this.$props.title,description:this.$props.description,occurrenceId:this.$props.occurrenceId,recurrenceExceptions:this.$props.recurrenceExceptions,recurrenceRule:this.$props.recurrenceRule,recurrenceId:this.$props.recurrenceId,dataItem:this.$props.dataItem},tabIndex:this.$props.tabIndex,head:this.$props.head,tail:this.$props.tail,order:this.$props.order,zonedStart:this.$props.zonedStart,zonedEnd:this.$props.zonedEnd,slots:this.$props.slots,group:this.$props.group,range:this.$props.range,isException:this.$props.isException,isRecurring:this.$props.isRecurring,isAllDay:this.$props.isAllDay,uid:this.$props.uid,start:this.$props.start,end:this.$props.end,originalStart:this.$props.originalStart,startTimezone:this.$props.startTimezone,endTimezone:this.$props.endTimezone,title:this.$props.title,description:this.$props.description,occurrenceId:this.$props.occurrenceId,recurrenceExceptions:this.$props.recurrenceExceptions,recurrenceRule:this.$props.recurrenceRule,recurrenceId:this.$props.recurrenceId,dataItem:this.$props.dataItem})}};t.SchedulerViewTaskVue2=d;var c=d;t.SchedulerViewTask=c},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerTaskVue2=t.SchedulerTask=void 0;var a=s(i(1)),l=a.h,u=(a.inject,i(2)),d=i(11),c=i(18),h={name:"KendoSchedulerTask",props:{refTo:[Function,Object],id:String,tabIndex:Number,head:Boolean,tail:Boolean,order:Number,zonedStart:Object,zonedEnd:Object,slots:Array,group:Object,range:Object,isException:Boolean,isRecurring:Boolean,isAllDay:Boolean,uid:[String,Number],start:Date,end:Date,originalStart:Date,startTimezone:String,endTimezone:String,title:String,description:String,occurrenceId:String,recurrenceExceptions:Array,recurrenceRule:String,recurrenceId:[String,Number],dataItem:Object},inject:{kendoLocalizationService:{default:null},taskClick:{default:null},taskDoubleClick:{default:null}},created:function(){this.task=null},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=c.useEditable(this.$props.editable),n=u.provideLocalizationService(this).toLanguageString(d.deleteTitle,d.messages[d.deleteTitle]),r=this.$props.group.resources.find((function(e){return Boolean(e.colorField&&void 0!==e[e.colorField])})),o=r&&r.colorField&&r[r.colorField];return t("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,tabIndex:this.$props.tabIndex||void 0},class:"k-task",tabIndex:this.$props.tabIndex||void 0,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,dblclick:this.handleDoubleClick},onDblclick:this.handleDoubleClick},[o&&t("span",{class:"k-scheduler-mark",style:{color:o,backgroundColor:o}}),this.$props.isRecurring&&t("span",{class:"k-icon k-i-reload"}),this.$props.isException&&t("span",{class:"k-icon k-i-non-recurrence"}),this.$props.title,i.remove&&t("a",{class:"k-link k-event-delete",title:n,attrs:this.v3?void 0:{title:n,"aria-label":n},"aria-label":n,onClick:this.handleRemoveClick,on:this.v3?void 0:{click:this.handleRemoveClick}},[t("span",{class:"k-icon k-i-close"})])])},methods:{handleRemoveClick:function(e){this.$emits("removeclick",{event:e,target:this.task})},handleClick:function(e){var t={event:e,target:{props:n({},this.$props),element:this.$el}};this.$emit("click",t),this.taskClick(t)},handleDoubleClick:function(e){var t={event:e,target:{props:n({},this.$props),element:this.$el}};this.$emit("doubleclick",t),this.taskDoubleClick(t)}}};t.SchedulerTaskVue2=h;var p=h;t.SchedulerTask=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerFormEditorVue2=t.SchedulerFormEditor=void 0;var a=o(i(1)),l=a.h,u=(a.inject,i(5)),d=i(22),c=i(89),h=i(87),p=i(11),f={name:"KendoSchedulerFormEditor",props:{as:[String,Function,Object],id:String,tabIndex:Number,titleLabel:[String,Function,Object],titleError:[String,Function,Object],titleEditor:[String,Function,Object],startLabel:[String,Function,Object],startError:[String,Function,Object],startEditor:[String,Function,Object],startTimezoneLabel:[String,Function,Object],startTimezoneError:[String,Function,Object],startTimezoneEditor:[String,Function,Object],startTimezoneCheckedLabel:[String,Function,Object],startTimezoneCheckedEditor:[String,Function,Object],endLabel:[String,Function,Object],endError:[String,Function,Object],endEditor:[String,Function,Object],endTimezoneLabel:[String,Function,Object],endTimezoneError:[String,Function,Object],endTimezoneEditor:[String,Function,Object],endTimezoneCheckedLabel:[String,Function,Object],endTimezoneCheckedEditor:[String,Function,Object],allDayLabel:[String,Function,Object],allDayEditor:[String,Function,Object],recurrenceEditor:[String,Function,Object],descriptionLabel:[String,Function,Object],descriptionError:[String,Function,Object],descriptionEditor:[String,Function,Object],resourceLabel:[String,Function,Object],resourcesError:[String,Function,Object],resourceEditor:[String,Function,Object],errors:Object,valid:Boolean,touched:Boolean,visited:Boolean,modified:Boolean,submitted:Boolean,allowSubmit:Boolean,valueGetter:Function},created:function(){this.requiredValidationMessage=void 0},inject:{ks:{default:null},kendoLocalizationService:{default:null}},data:function(){return{startZoneChecked:Boolean(this.$props.valueGetter(this.fields.startTimezone)),endZoneChecked:Boolean(this.$props.valueGetter(this.fields.endTimezone))}},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=u.timezoneNames(),n=this.provideLocalizationService(this),r=this.$props,o=(r.as,s(r,["as"]),this.$props),a=o.titleLabel,f=o.titleError,m=o.titleEditor,v=o.startLabel,g=o.startError,y=o.startEditor,b=o.startTimezoneLabel,k=o.startTimezoneError,S=o.startTimezoneEditor,w=o.startTimezoneCheckedLabel,D=o.startTimezoneCheckedEditor,I=o.endLabel,C=o.endError,$=o.endEditor,T=o.endTimezoneLabel,O=o.endTimezoneError,E=o.endTimezoneEditor,x=o.endTimezoneCheckedLabel,M=o.endTimezoneCheckedEditor,R=o.allDayLabel,_=o.allDayEditor,F=o.recurrenceEditor,A=o.descriptionLabel,z=o.descriptionEditor,V=o.descriptionError,j=o.resourceLabel,N=o.resourceEditor,P=this.$props.valueGetter(this.fields.start)||new Date,B=this.$props.valueGetter(this.fields.startTimezone)||this.ks.timezone||"",L=this.$props.valueGetter(this.fields.endTimezone)||this.ks.timezone||"";return this.requiredValidationMessage=n.toLanguageString(p.editorValidationRequired,p.messages[p.editorValidationRequired]),t("div",{class:"k-scheduler-edit-form"},[t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.title,attrs:this.v3?void 0:{name:this.fields.title,component:a,editorId:"k-scheduler-editor-title"},component:a,editorId:"k-scheduler-editor-title"},[n.toLanguageString(p.editorEventTitle,p.messages[p.editorEventTitle])]),t("div",{class:"k-form-field-wrap"},[t(c.Field,{id:"k-scheduler-editor-title",attrs:this.v3?void 0:{id:"k-scheduler-editor-title",name:this.fields.title,field:this.fields.title,component:m},name:this.fields.title,field:this.fields.title,component:m}),this.$props.errors[this.fields.title]&&t(c.Field,{name:this.fields.title,attrs:this.v3?void 0:{name:this.fields.title,component:f},component:f},[this.$props.errors[this.fields.title]])])]),t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.start,attrs:this.v3?void 0:{name:this.fields.start,component:v,editorId:"k-scheduler-editor-start"},component:v,editorId:"k-scheduler-editor-start"},[n.toLanguageString(p.editorEventStart,p.messages[p.editorEventStart])]),t("div",{class:"k-form-field-wrap",style:{display:"flex"}},[t("div",[t(c.Field,{id:"k-scheduler-editor-start",attrs:this.v3?void 0:{id:"k-scheduler-editor-start",name:this.fields.start,width:"auto",component:y,as:this.$props.valueGetter(this.fields.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:this.ks.timezone},name:this.fields.start,width:"auto",component:y,as:this.$props.valueGetter(this.fields.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:this.ks.timezone}),this.$props.errors[this.fields.start]&&t(c.Field,{name:this.fields.start,attrs:this.v3?void 0:{name:this.fields.start,component:g},component:g},[this.$props.errors[this.fields.start]])])," ",t("div",[t(D,{id:"k-scheduler-editor-set-start-timezone",attrs:this.v3?void 0:{id:"k-scheduler-editor-set-start-timezone",value:this.startZoneChecked},onChange:this.handleStartZoneCheckboxChange,on:this.v3?void 0:{change:this.handleStartZoneCheckboxChange},value:this.startZoneChecked})," ",t(w,{class:"k-checkbox-label",editorId:"k-scheduler-editor-set-start-timezone",attrs:this.v3?void 0:{editorId:"k-scheduler-editor-set-start-timezone"},style:{display:"inline-flex"}},[n.toLanguageString(p.editorEventTimeZone,p.messages[p.editorEventTimeZone])])])])]),this.startZoneChecked&&t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.start,attrs:this.v3?void 0:{name:this.fields.start,component:b},component:b},[n.toLanguageString(p.editorEventStartTimeZone,p.messages[p.editorEventStartTimeZone])]),t("div",{class:"k-form-field-wrap"},[t(c.Field,{component:S,attrs:this.v3?void 0:{component:S,value:B,validator:this.startTimezoneValidator,data:i,name:this.fields.startTimezone},value:B,validator:this.startTimezoneValidator,data:i,name:this.fields.startTimezone}),this.$props.errors[this.fields.startTimezone]&&t(c.Field,{name:this.fields.startTimezone,attrs:this.v3?void 0:{name:this.fields.startTimezone,component:k},component:k},[this.$props.errors[this.fields.startTimezone]])])]),t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.end,attrs:this.v3?void 0:{name:this.fields.end,component:I,editorId:"k-scheduler-editor-end"},component:I,editorId:"k-scheduler-editor-end"},[n.toLanguageString(p.editorEventEnd,p.messages[p.editorEventEnd])]),t("div",{class:"k-form-field-wrap",style:{display:"flex"}},[t("div",[t(c.Field,{id:"k-scheduler-editor-end",attrs:this.v3?void 0:{id:"k-scheduler-editor-end",name:this.fields.end,width:"auto",component:$,as:this.$props.valueGetter(this.fields.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:this.ks.timezone},name:this.fields.end,width:"auto",component:$,as:this.$props.valueGetter(this.fields.isAllDay)?h.DatePicker:h.DateTimePicker,timezone:this.ks.timezone}),this.$props.errors[this.fields.end]&&t(c.Field,{name:this.fields.end,attrs:this.v3?void 0:{name:this.fields.end,component:C},component:C},[this.$props.errors[this.fields.end]])])," ",t("div",[this.startZoneChecked&&[t(M,{id:"k-scheduler-editor-set-end-timezone",attrs:this.v3?void 0:{id:"k-scheduler-editor-set-end-timezone",value:this.endZoneChecked},onChange:this.handleEndZoneCheckboxChange,on:this.v3?void 0:{change:this.handleEndZoneCheckboxChange},value:this.endZoneChecked}),t(x,{class:"k-checkbox-label",editorId:"k-scheduler-editor-set-end-timezone",attrs:this.v3?void 0:{editorId:"k-scheduler-editor-set-end-timezone"},style:{display:"inline-flex"}},[n.toLanguageString(p.editorEventSeparateTimeZones,p.messages[p.editorEventSeparateTimeZones])])]])])]),this.endZoneChecked&&t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.endTimezone,attrs:this.v3?void 0:{name:this.fields.endTimezone,component:T},component:T},[n.toLanguageString(p.editorEventEndTimeZone,p.messages[p.editorEventEndTimeZone])]),t("div",{class:"k-form-field-wrap"},[t(c.Field,{value:L,attrs:this.v3?void 0:{value:L,data:i,validator:this.endTimezoneValidator,component:E,name:this.fields.endTimezone},data:i,validator:this.endTimezoneValidator,component:E,name:this.fields.endTimezone}),this.$props.errors[this.fields.endTimezone]&&t(c.Field,{name:this.fields.endTimezone,attrs:this.v3?void 0:{name:this.fields.endTimezone,component:O},component:O},[this.$props.errors[this.fields.endTimezone]])])]),t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.isAllDay,attrs:this.v3?void 0:{name:this.fields.isAllDay,component:d.Label},component:d.Label}),t("div",{class:"k-form-field-wrap"},[t(c.Field,{id:"k-is-allday-checkbox",attrs:this.v3?void 0:{id:"k-is-allday-checkbox",name:this.fields.isAllDay,component:_},name:this.fields.isAllDay,component:_})," ",t(c.Field,{name:this.fields.isAllDay,attrs:this.v3?void 0:{name:this.fields.isAllDay,field:this.fields.isAllDay,editorId:"k-is-allday-checkbox",component:R},field:this.fields.isAllDay,editorId:"k-is-allday-checkbox",class:"k-checkbox-label",component:R},[n.toLanguageString(p.editorEventAllDay,p.messages[p.editorEventAllDay])])])]),t(c.Field,{component:F,attrs:this.v3?void 0:{component:F,field:this.fields.recurrenceRule,name:this.fields.recurrenceRule,start:P},field:this.fields.recurrenceRule,name:this.fields.recurrenceRule,start:P}),t("div",{class:"k-form-field"},[t(c.Field,{name:this.fields.description,attrs:this.v3?void 0:{name:this.fields.description,component:A},component:A},[n.toLanguageString(p.editorEventDescription,p.messages[p.editorEventDescription])]),t("div",{class:"k-form-field-wrap"},[t(c.Field,{component:z,attrs:this.v3?void 0:{component:z,name:this.fields.description,rows:1,id:"k-event-description"},name:this.fields.description,rows:1,id:"k-event-description",style:{width:"100%"}}),this.$props.errors[this.fields.description]&&t(c.Field,{name:this.fields.description,attrs:this.v3?void 0:{name:this.fields.description,component:V},component:V},[this.$props.errors[this.fields.description]])])]),(this.resources||[]).map((function(e){return t("div",{key:e.field},[t("div",{class:"k-form-field"},[t(c.Field,{name:e.field,attrs:this.v3?void 0:{name:e.field,component:j},component:j}),t(d.Label,[e.name]),t(c.Field,{name:e.field,attrs:this.v3?void 0:{name:e.field,component:N,resource:e,multiple:e.multiple,data:e.data,textField:e.textField,valueField:e.valueField,colorField:e.colorField},component:N,resource:e,multiple:e.multiple,data:e.data,textField:e.textField,valueField:e.valueField,colorField:e.colorField})])])}))])},methods:{handleStartZoneCheckboxChange:function(e){e.value||(this.$emit("change",this.fields.startTimezone,{value:null}),this.$emit("change",this.fields.endTimezone,{value:null}),this.endZoneChecked=e.value),this.startZoneChecked=e.value},handleEndZoneCheckboxChange:function(e){e.value||this.$emit("change",this.fields.endTimezone,{value:null}),this.endZoneChecked=e.value},requiredValidator:function(e){return e?void 0:this.requiredValidationMessage},startTimezoneValidator:function(e,t){return this.startZoneChecked?this.requiredValidator(t(this.fields.startTimezone)):void 0},endTimezoneValidator:function(e,t){return this.startZoneChecked&&this.endZoneChecked?this.requiredValidator(t(this.fields.endTimezone))||this.requiredValidator(t(this.fields.startTimezone)):void 0}}};t.SchedulerFormEditorVue2=f;var m=f;t.SchedulerFormEditor=m},function(e,t,i){"use strict";i.r(t),i.d(t,"PickerWrap",(function(){return Fn})),i.d(t,"PickerWrapVue3",(function(){return An})),i.d(t,"ToggleButton",(function(){return Qt})),i.d(t,"ToggleButtonVue3",(function(){return ei})),i.d(t,"Calendar",(function(){return wt})),i.d(t,"CalendarVue3",(function(){return Dt})),i.d(t,"CalendarViewEnum",(function(){return g})),i.d(t,"CalendarCell",(function(){return w})),i.d(t,"CalendarCellVue3",(function(){return D})),i.d(t,"CalendarWeekCell",(function(){return C})),i.d(t,"CalendarWeekCellVue3",(function(){return $})),i.d(t,"CalendarHeaderTitle",(function(){return Je})),i.d(t,"CalendarHeaderTitleVue3",(function(){return Qe})),i.d(t,"DateInput",(function(){return Zt})),i.d(t,"DateInputVue3",(function(){return Xt})),i.d(t,"DatePicker",(function(){return oi})),i.d(t,"DatePickerVue3",(function(){return si})),i.d(t,"TimePicker",(function(){return fn})),i.d(t,"TimePickerVue3",(function(){return mn})),i.d(t,"DateRangePicker",(function(){return Sn})),i.d(t,"DateTimePicker",(function(){return Mn})),i.d(t,"DateTimePickerVue3",(function(){return Rn}));var n,r=i(1),o=i(0),s=function(e){return e?new Date(e.getTime()):null},a=function(e,t){var i=s(e);return 0===t&&23===i.getHours()&&i.setHours(i.getHours()+2),i},l=function(e,t,i,n,r,o,s){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=0),void 0===s&&(s=0);var l=new Date(e,t,i,n,r,o,s);return e>-1&&e<100&&l.setFullYear(l.getFullYear()-1900),a(l,n)},u=function(e){return l(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0)},d=function(e,t){return!e&&!t||e&&t&&e.getTime()===t.getTime()},c=function(e,t){return!e&&!t||e&&t&&d(u(e),u(t))},h=i(2),p={name:"@progress/kendo-vue-dateinputs",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646205400,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(n||(n={}));var f,m=function(e,t){var i=s(e);return i.setDate(i.getDate()+t),a(i,e.getHours())};!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(f||(f={}));var v,g,y=function(e,t,i){void 0===i&&(i=f.Forward);var n=s(e),r=(t-n.getDay()+7*i)%7;return n.setDate(n.getDate()+r),a(n,e.getHours())},b=function(e,t){return t!==n.Monday?m(function(e,t){return y(e,t,f.Backward)}(e,t),4):m(e,4-(e.getDay()||7))},k=function(e,t){var i=l(e.getFullYear(),0,1,-6),n=b(e,t).getTime()-i.getTime(),r=Math.floor(n/864e5);return 1+Math.floor(r/7)},S=r.h,w={name:"KendoCalendarCell",emits:{click:null,mousedown:null,mouseenter:null,mouseleave:null},props:{isDisabled:Boolean,view:Number,formattedValue:String,id:String,isWeekend:Boolean,isFocused:Boolean,isSelected:Boolean,isInRange:Boolean,isRangeStart:Boolean,isRangeEnd:Boolean,isRangeMid:Boolean,isRangeSplitEnd:Boolean,isRangeSplitStart:Boolean,isToday:Boolean,title:String,value:Date},updated:function(){},setup:S?function(){return{v3:!!S}}:void 0,render:function(e){var t=S||e,i=Object(o.getDefaultSlots)(this),n=this.$props,r=(n.formattedValue,n.isWeekend),s=n.isFocused,a=(n.isInRange,n.isSelected),l=n.isRangeStart,u=n.isRangeMid,d=n.isRangeEnd,c=n.isRangeSplitStart,h=n.isRangeSplitEnd,p=n.isToday,f=n.isDisabled,m=(n.view,n.value,"end"===this.$props.activeRangeEnd&&d),v="start"===this.$props.activeRangeEnd&&l;return t("td",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,title:this.$props.title},title:this.$props.title,class:{"k-calendar-td":!0,"k-range-end":d,"k-range-mid":u,"k-range-split-end":h,"k-range-split-start":c,"k-range-start":l,"k-state-active":v||m,"k-state-focused":s,"k-state-selected":a||l||d,"k-today":p,"k-weekend":r,"k-state-disabled":f},onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.handleMouseDown,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave},onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave},[t("span",{class:"k-link"},[i])])},methods:{handleClick:function(e){var t=this.$props.value;this.$emit("click",t,e)},handleMouseDown:function(e){var t=this.$props.value;this.$emit("mousedown",t,e)},handleMouseEnter:function(){var e=this.$props.value;this.$emit("mouseenter",e)},handleMouseLeave:function(){var e=this.$props.value;this.$emit("mouseleave",e)}}},D=w,I=r.h,C={props:{id:String,value:Number},emits:{click:null},setup:I?function(){return{v3:!!I}}:void 0,render:function(e){var t=I||e,i=Object(o.getDefaultSlots)(this);return t("td",{onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick},value:this.$props.value,attrs:this.v3?void 0:{value:this.$props.value,id:this.$props.id},id:this.$props.id},[i])},methods:{handleClick:function(e){var t=this.$props.value;this.$emit("click",t,e)}}},$=C;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.Up=2]="Up",e[e.Down=3]="Down",e[e.PrevView=4]="PrevView",e[e.NextView=5]="NextView",e[e.FirstInView=6]="FirstInView",e[e.LastInView=7]="LastInView",e[e.LowerView=8]="LowerView",e[e.UpperView=9]="UpperView"}(v||(v={})),function(e){e[e.month=0]="month",e[e.year=1]="year",e[e.decade=2]="decade",e[e.century=3]="century"}(g||(g={}));var T,O,E,x,M,R,_,F,A,z,V={start:null,end:null},j=function(e,t,i){return void 0===t||void 0===i||t<=e&&e<=i?e:e<t?t:i},N=new Date(1980,0,1),P=new Date(1900,0,1),B=new Date(2099,11,31),L=new Date(1980,0,1),H=new Date(1980,0,1,23,59,59),U=function(e,t){var i=s(e);return i.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),i},W=function(){return u(new Date)},K=function(e,t,i){return!e||!(t&&t>e||i&&i<e)},Y=function(e,t,i){return null===e||!(t&&u(t)>u(e)||i&&u(i)<u(e))},G=function(e,t){var i=t||V,n=i.start,r=i.end;return!(!n||!r)&&(n<e&&e<r)},q=function(e,t,i){void 0===i&&(i=1);for(var n=[],r=e;r<t;r+=i)n.push(r);return n},Z=function(e,t){return e.slice(t).concat(e.slice(0,t))},X=function(e,t,i){return e?t&&e<t?s(t):i&&e>i?s(i):e:e},J=function(e){return function(t,i,n){void 0===i&&(i=""),void 0===n&&(n={});var r=document.createElement(e);return r.className=i,Object.keys(n).map((function(e){return r.style[e]=n[e]})),"string"==typeof t?r.innerHTML=t||"":(t||[]).forEach((function(e){return e&&r.appendChild(e)})),r}},Q=function(e){var t=l(e.getFullYear(),e.getMonth()+1,1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return m(t,-1)},ee=function(e,t){var i=s(e),n=(12+(i.getMonth()+t)%12)%12;return i.setMonth(i.getMonth()+t),function(e,t){return e.getMonth()!==t?Q(ee(e,-1)):e}(a(i,e.getHours()),n)},te=function(e,t){var i=e.getMonth(),n=l(t,i,e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return n.getMonth()===i?n:Q(ee(n,-1))},ie=function(e,t){return a(te(e,e.getFullYear()+t),e.getHours())},ne=function(e,t){return ie(e,10*t)},re=function(e,t){return ie(e,100*t)},oe=function(e,t){return te(e,t(e.getFullYear()))},se=function(e){return oe(e,(function(e){return e-e%100}))},ae=function(e){return oe(e,(function(e){return e-e%100+90}))},le=function(e){return oe(e,(function(e){return e-e%10}))},ue=function(e,t){return(se(t).getFullYear()-se(e).getFullYear())/100},de=[[]],ce=((T={})[v.Left]=function(e){return ne(e,-1)},T[v.Up]=function(e){return ne(e,-4)},T[v.Right]=function(e){return ne(e,1)},T[v.Down]=function(e){return ne(e,4)},T[v.PrevView]=function(e){return re(e,-1)},T[v.NextView]=function(e){return re(e,1)},T[v.FirstInView]=function(e){return se(e)},T[v.LastInView]=function(e){return ae(e)},T),he=function(){function e(){}return e.prototype.addToDate=function(e,t){return re(e,t)},e.prototype.datesList=function(e,t){return q(0,t).map((function(t){return re(e,t)}))},e.prototype.data=function(e){var t=this,i=e.cellUID,n=e.focusedDate,r=e.isActiveView,o=e.max,s=e.min,a=e.selectedDate,l=e.selectionRange,u=void 0===l?V:l,d=e.viewDate;if(!d)return de;var c=q(0,4),h=se(d),p=ae(d),f=W();return q(0,3).map((function(e){var l=ne(h,4*e);return c.map((function(e){var d=t.normalize(ne(l,e),s,o);if(!t.isInSameView(d,p))return null;var c=t.isEqual(d,u.start),m=t.isEqual(d,u.end),v=!c&&!m&&G(d,u),g=r&&(Array.isArray(a)?t.isSelectedFromArray(d,a,s,o):K(a,s,o)&&t.isEqual(d,a));return{formattedValue:t.value(d),id:""+i+d.getTime(),isFocused:t.isEqual(d,n),isSelected:g,isWeekend:!1,isInRange:K(d,s,o),isRangeStart:c,isRangeMid:v,isRangeEnd:m,isRangeSplitEnd:v&&t.isEqual(d,p),isRangeSplitStart:v&&t.isEqual(d,h),isToday:t.isEqual(d,f),title:t.cellTitle(d),value:d}}))}))},e.prototype.isSelectedFromArray=function(e,t,i,n){var r=this,o=!1;return t.forEach((function(t){K(e,i,n)&&r.isEqual(e,t)&&(o=!0)})),o},e.prototype.isEqual=function(e,t){return!(!e||!t)&&le(e).getFullYear()===le(t).getFullYear()},e.prototype.isInArray=function(e,t){if(!t.length)return!1;var i=e.getFullYear();return t[0].getFullYear()<=i&&i<=t[t.length-1].getFullYear()+99},e.prototype.isInRange=function(e,t,i){var n=le(e).getFullYear(),r=!t||le(t).getFullYear()<=n,o=!i||n<=le(i).getFullYear();return r&&o},e.prototype.isInSameView=function(e,t){return 0===ue(e,t)},e.prototype.isRangeStart=function(e){return e.getFullYear()%1e3==0},e.prototype.move=function(e,t){var i=ce[t];return i?i(e):e},e.prototype.cellTitle=function(e){return le(e).getFullYear().toString()},e.prototype.navigationTitle=function(e){return e?se(e).getFullYear().toString():""},e.prototype.title=function(e){return e?se(e).getFullYear()+" - "+ae(e).getFullYear():""},e.prototype.rowLength=function(e){return 4},e.prototype.skip=function(e,t){return ue(t,e)},e.prototype.total=function(e,t){return ue(e,t)+1},e.prototype.value=function(e){return e?le(e).getFullYear().toString():""},e.prototype.viewDate=function(e,t,i){return void 0===i&&(i=1),ue(e,t)<i?re(e,-1):e},e.prototype.normalize=function(e,t,i){return e<t&&this.isEqual(e,t)?s(t):e>i&&this.isEqual(e,i)?s(i):e},e}(),pe=function(e){return oe(e,(function(e){return e-e%10+9}))},fe=function(e,t){return(le(t).getFullYear()-le(e).getFullYear())/10},me=[[]],ve=((O={})[v.Left]=function(e){return ie(e,-1)},O[v.Up]=function(e){return ie(e,-4)},O[v.Right]=function(e){return ie(e,1)},O[v.Down]=function(e){return ie(e,4)},O[v.PrevView]=function(e){return ne(e,-1)},O[v.NextView]=function(e){return ne(e,1)},O[v.FirstInView]=function(e){return le(e)},O[v.LastInView]=function(e){return pe(e)},O),ge=function(){function e(){}return e.prototype.addToDate=function(e,t){return ne(e,t)},e.prototype.datesList=function(e,t){return q(0,t).map((function(t){return ne(le(e),t)}))},e.prototype.data=function(e){var t=this,i=e.cellUID,n=e.focusedDate,r=e.isActiveView,o=e.max,s=e.min,a=e.selectedDate,l=e.selectionRange,u=void 0===l?V:l,d=e.viewDate;if(!d)return me;var c=q(0,4),h=le(d),p=pe(d),f=W();return q(0,3).map((function(e){var l=ie(h,4*e);return c.map((function(e){var d=t.normalize(ie(l,e),s,o);if(!t.isInSameView(d,p))return null;var c=t.isEqual(d,u.start),m=t.isEqual(d,u.end),v=!c&&!m&&G(d,u),g=r&&(Array.isArray(a)?t.isSelectedFromArray(d,a,s,o):K(a,s,o)&&t.isEqual(d,a));return{formattedValue:t.value(d),id:""+i+d.getTime(),isFocused:t.isEqual(d,n),isSelected:g,isWeekend:!1,isInRange:K(d,s,o),isRangeStart:c,isRangeMid:v,isRangeEnd:m,isRangeSplitEnd:v&&t.isEqual(d,p),isRangeSplitStart:v&&t.isEqual(d,h),isToday:t.isEqual(d,f),title:t.cellTitle(d),value:d}}))}))},e.prototype.isSelectedFromArray=function(e,t,i,n){var r=this,o=!1;return t.forEach((function(t){K(e,i,n)&&r.isEqual(e,t)&&(o=!0)})),o},e.prototype.isEqual=function(e,t){return!(!e||!t)&&e.getFullYear()===t.getFullYear()},e.prototype.isInArray=function(e,t){if(!t.length)return!1;var i=e.getFullYear();return t[0].getFullYear()<=i&&i<=t[t.length-1].getFullYear()+9},e.prototype.isInRange=function(e,t,i){var n=e.getFullYear(),r=!t||t.getFullYear()<=n,o=!i||n<=i.getFullYear();return r&&o},e.prototype.isRangeStart=function(e){return e.getFullYear()%100==0},e.prototype.isInSameView=function(e,t){return 0===fe(e,t)},e.prototype.move=function(e,t){var i=ve[t];return i?i(e):e},e.prototype.cellTitle=function(e){return e.getFullYear().toString()},e.prototype.navigationTitle=function(e){return e?le(e).getFullYear().toString():""},e.prototype.title=function(e){return e?le(e).getFullYear()+" - "+pe(e).getFullYear():""},e.prototype.rowLength=function(e){return 4},e.prototype.skip=function(e,t){return fe(t,e)},e.prototype.total=function(e,t){return fe(e,t)+1},e.prototype.value=function(e){return e?e.getFullYear().toString():""},e.prototype.viewDate=function(e,t,i){return void 0===i&&(i=1),fe(e,t)<i?ne(e,-1):e},e.prototype.normalize=function(e,t,i){return e<t&&this.isEqual(e,t)?s(t):e>i&&this.isEqual(e,i)?s(i):e},e}(),ye=function(e,t){return m(e,7*t)},be=function(e){return l(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())},ke=function(e,t){return 12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth())},Se=[[]],we=((E={})[v.Left]=function(e){return m(e,-1)},E[v.Up]=function(e){return ye(e,-1)},E[v.Right]=function(e){return m(e,1)},E[v.Down]=function(e){return ye(e,1)},E[v.PrevView]=function(e){return ee(e,-1)},E[v.NextView]=function(e){return ee(e,1)},E[v.FirstInView]=function(e){return be(e)},E[v.LastInView]=function(e){return Q(e)},E),De=function(){function e(e){this.intl=e}return e.prototype.addToDate=function(e,t){return ee(e,t)},e.prototype.datesList=function(e,t){return q(0,t).map((function(t){return ee(e,t)}))},e.prototype.data=function(e){var t=this,i=e.cellUID,n=e.focusedDate,r=e.isActiveView,o=e.max,s=e.min,a=e.selectedDate,l=e.selectionRange,u=void 0===l?V:l,d=e.viewDate;if(!d)return Se;var c=be(d),h=Q(d),p=y(c,this.intl.firstDay(),-1),f=q(0,7),v=W();return q(0,6).map((function(e){var l=m(p,7*e);return f.map((function(e){var d=t.normalize(m(l,e),s,o);if(d<c||d>h)return null;var p=t.isEqual(d,u.start),f=t.isEqual(d,u.end),g=!p&&!f&&G(d,u),y=r&&(Array.isArray(a)?t.isSelectedFromArray(d,a,s,o):K(a,s,o)&&t.isEqual(d,a));return{formattedValue:t.value(d),id:""+i+d.getTime(),isFocused:t.isEqual(d,n),isSelected:y,isInRange:K(d,s,o),isWeekend:t.isWeekend(d),isRangeStart:p,isRangeMid:g,isRangeEnd:f,isRangeSplitStart:g&&t.isEqual(d,c),isRangeSplitEnd:g&&t.isEqual(d,h),isToday:t.isEqual(d,v),title:t.cellTitle(d),value:d}}))}))},e.prototype.isEqual=function(e,t){return!(!e||!t)&&u(e).getTime()===u(t).getTime()},e.prototype.isSelectedFromArray=function(e,t,i,n){var r=this,o=!1;return t.forEach((function(t){K(e,i,n)&&r.isEqual(e,t)&&(o=!0)})),o},e.prototype.isInArray=function(e,t){return!!t.length&&be(t[0])<=e&&e<=Q(t[t.length-1])},e.prototype.isInRange=function(e,t,i){var n=u(e),r=!t||u(t)<=n,o=!i||n<=u(i);return r&&o},e.prototype.isInSameView=function(e,t){return 0===ke(e,t)},e.prototype.isRangeStart=function(e){return!e.getMonth()},e.prototype.move=function(e,t){var i=we[t];return i?i(e):e},e.prototype.cellTitle=function(e){return this.intl.formatDate(e,"D")},e.prototype.navigationTitle=function(e){return e?this.isRangeStart(e)?e.getFullYear().toString():this.abbrMonthNames()[e.getMonth()]:""},e.prototype.title=function(e){return this.wideMonthNames()[e.getMonth()]+" "+e.getFullYear()},e.prototype.rowLength=function(e){return 7+(e?1:0)},e.prototype.skip=function(e,t){return ke(t,e)},e.prototype.total=function(e,t){return ke(e,t)+1},e.prototype.value=function(e){return e?e.getDate().toString():""},e.prototype.viewDate=function(e,t,i){return void 0===i&&(i=1),ke(e,t)<i?ee(e,-1):e},e.prototype.isWeekend=function(e){var t=e.getDay();return 6===t||0===t},e.prototype.abbrMonthNames=function(){return this.intl.dateFormatNames({nameType:"abbreviated",type:"months"})},e.prototype.normalize=function(e,t,i){return e<t&&this.isEqual(e,t)?u(t):e>i&&this.isEqual(e,i)?u(i):e},e.prototype.wideMonthNames=function(){return this.intl.dateFormatNames({nameType:"wide",type:"months"})},e}(),Ie=function(e,t){var i=e.getDate(),n=l(e.getFullYear(),t,i,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());return n.getDate()===i?n:Q(ee(n,-1))},Ce=function(e){return Ie(e,0)},$e=function(e){return Ie(e,11)},Te=function(e,t){return t.getFullYear()-e.getFullYear()},Oe=[[]],Ee=((x={})[v.Left]=function(e){return ee(e,-1)},x[v.Up]=function(e){return ee(e,-4)},x[v.Right]=function(e){return ee(e,1)},x[v.Down]=function(e){return ee(e,4)},x[v.PrevView]=function(e){return ie(e,-1)},x[v.NextView]=function(e){return ie(e,1)},x[v.FirstInView]=function(e){return Ce(e)},x[v.LastInView]=function(e){return $e(e)},x),xe=function(){function e(e){this._intl=e}return e.prototype.addToDate=function(e,t){return ie(e,t)},e.prototype.datesList=function(e,t){return q(0,t).map((function(t){return ie(e,t)}))},e.prototype.data=function(e){var t=this,i=e.cellUID,n=e.focusedDate,r=e.isActiveView,o=e.max,s=e.min,a=e.selectedDate,l=e.selectionRange,u=void 0===l?V:l,d=e.viewDate;if(!d)return Oe;var c=this.abbrMonthNames(),h=Ce(d),p=$e(d),f=h.getFullYear(),m=q(0,4),v=W();return q(0,3).map((function(e){var l=ee(h,4*e);return m.map((function(e){var d=t.normalize(ee(l,e),s,o);if(!d)return null;if(f<d.getFullYear())return null;var m=t.isEqual(d,u.start),g=t.isEqual(d,u.end),y=!m&&!g&&G(d,u),b=r&&(Array.isArray(a)?t.isSelectedFromArray(d,a,s,o):K(a,s,o)&&t.isEqual(d,a));return{formattedValue:c[d.getMonth()],id:""+i+d.getTime(),isFocused:t.isEqual(d,n),isSelected:b,isInRange:K(d,s,o),isWeekend:!1,isRangeStart:m,isRangeMid:y,isRangeEnd:g,isRangeSplitEnd:y&&t.isEqual(d,p),isRangeSplitStart:y&&t.isEqual(d,h),isToday:t.isEqual(d,v),title:t.cellTitle(d),value:d}}))}))},e.prototype.isSelectedFromArray=function(e,t,i,n){var r=this,o=!1;return t.forEach((function(t){K(e,i,n)&&r.isEqual(e,t)&&(o=!0)})),o},e.prototype.isEqual=function(e,t){return!(!e||!t)&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth())},e.prototype.isInArray=function(e,t){if(!t.length)return!1;var i=e.getFullYear();return t[0].getFullYear()<=i&&i<=t[t.length-1].getFullYear()},e.prototype.isInRange=function(e,t,i){var n=l(e.getFullYear(),e.getMonth(),1),r=!t||l(t.getFullYear(),t.getMonth(),1)<=n,o=!i||n<=l(i.getFullYear(),i.getMonth(),1);return r&&o},e.prototype.isInSameView=function(e,t){return 0===Te(e,t)},e.prototype.isRangeStart=function(e){return e.getFullYear()%10==0},e.prototype.move=function(e,t){var i=Ee[t];return i?i(e):e},e.prototype.cellTitle=function(e){return e.getFullYear()+" "+this.value(e)},e.prototype.navigationTitle=function(e){return this.title(e)},e.prototype.title=function(e){return e?e.getFullYear().toString():""},e.prototype.rowLength=function(e){return 4},e.prototype.skip=function(e,t){return Te(t,e)},e.prototype.total=function(e,t){return Te(e,t)+1},e.prototype.value=function(e){return e?this.abbrMonthNames()[e.getMonth()]:""},e.prototype.viewDate=function(e,t,i){return void 0===i&&(i=1),Te(e,t)<i?ie(e,-1):e},e.prototype.abbrMonthNames=function(){return this._intl.dateFormatNames({nameType:"abbreviated",type:"months"})},e.prototype.normalize=function(e,t,i){return e<t&&this.isEqual(e,t)?Object(o.cloneDate)(t):e>i&&this.isEqual(e,i)?Object(o.cloneDate)(i):e},e}(),Me=((M={})[g.month]=De,M[g.year]=xe,M[g.decade]=ge,M[g.century]=he,M),Re=function(){function e(e){this.bottom=g.month,this.top=g.century,this.onViewChanged=e}return e.prototype.configure=function(e,t){this.bottom=e,this.top=t},e.prototype.service=function(e,t){return new Me[""+e](t)},e.prototype.moveDown=function(e,t){this.move(e,-1,t)},e.prototype.moveUp=function(e,t){this.move(e,1,t)},e.prototype.moveToBottom=function(e){e!==this.bottom&&this.onViewChanged({view:this.bottom})},e.prototype.canMoveDown=function(e){return this.bottom<e},e.prototype.canMoveUp=function(e){return e<this.top},e.prototype.clamp=function(e){return e<this.bottom?this.bottom:e>this.top?this.top:e},e.prototype.move=function(e,t,i){var n=this.clamp(function(e,t){var i=g[g[e+t]];return void 0!==i?i:e}(e,t));n!==e&&this.onViewChanged({view:n},i)},e}(),_e=function(){function e(){this.didCalculate=!1}return e.prototype.ensureHeights=function(){void 0===this.calendarHeight&&this.calculateHeights()},e.prototype.calculateHeights=function(e){var t=this;if(o.canUseDOM){var i,n=J("div"),r=J("ul"),s=J("li"),a=J("td"),l=J("th"),u=J("tr"),d=J("tbody"),c=J("thead"),h=J("table"),p=function(){return n('\n <span class="k-calendar-title">March 2017</span>\n <span class="k-calendar-today">TODAY</span>\n ',"k-calendar-header")},f=function(e,t){return new Array(e).fill("1").map(t)},m=function(e){return n(e,"k-content k-scrollable")},v=function(){return o.canUseDOM?(i||(i=n([m([r([s("<span>FEB</span>")])])],"k-calendar-navigation",{left:"0px",position:"absolute"})),i):null},g=function(e,t,i){var r,s=e.cells,v=e.rows;return function(){return o.canUseDOM?(r||(r=function(e,t,i){return n(i?[p(),h([c([u([l("MO")])])],"k-calendar-weekdays"),m([e,e])]:[p(),m([e,e])],t,{left:"-10000px",position:"absolute"})}(function(e,t){return void 0===t&&(t=1),h([d([u([l("1")])].concat(f(e,(function(){return u(f(t,(function(e){return a('<span class="k-link">'+e+"</span>")})))}))))])}(v,s),t,i)),r):null}},y=function(e){return e.querySelector(".k-scrollable")},b=function(e){var t=y(e);return t.className=t.className+" k-scrollable-horizontal",e},k=g({cells:7,rows:6},"k-calendar-view k-calendar-monthview",!0),S=g({cells:5,rows:3},"k-calendar-view k-calendar-yearview",!1),w=g({cells:5,rows:2},"k-calendar-view k-calendar-decadeview",!1),D=function(e){return parseFloat(window.getComputedStyle(e).height)||e.offsetHeight},I=function(e){var t=window.getComputedStyle(e);return parseFloat(t.width)+parseFloat(t.paddingLeft)+parseFloat(t.paddingRight)||e.offsetWidth},C=function(e){return e.querySelector("tbody")};this.didCalculate=!0,e&&(this.hostContainer=e),this.batch(k(),(function(e){var i=C(e);t.calendarHeight=D(e),t.monthViewHeight=D(i),t.headerHeight=D(i.children[0]),t.scrollableContentHeight=D(y(e))})),this.batch(b(k()),(function(e){var i=C(e);t.calendarWidth=I(e),t.monthViewWidth=I(i),t.scrollableContentWidth=I(y(e))})),this.batch(S(),(function(e){t.yearViewHeight=D(C(e)),t.scrollableYearContentHeight=D(y(e))})),this.batch(b(S()),(function(e){t.yearViewWidth=I(C(e))})),this.batch(w(),(function(e){t.decadeViewHeight=D(C(e)),t.centuryViewHeight=t.decadeViewHeight})),this.batch(b(w()),(function(e){t.decadeViewWidth=I(C(e)),t.centuryViewWidth=t.decadeViewWidth})),this.batch(v(),(function(e){t.navigationItemHeight=D(e.querySelector("li"))}))}},e.prototype.viewHeight=function(e){return this.viewDimension(e,"height")},e.prototype.viewWidth=function(e){return this.viewDimension(e,"width")},e.prototype.viewDimension=function(e,t){var i="height"===t?"ViewHeight":"ViewWidth";switch(e){case g.month:return this["month"+i];case g.year:return this["year"+i];case g.decade:return this["decade"+i];case g.century:return this["century"+i];default:return 1}},e.prototype.batch=function(e,t){var i=this.hostContainer||document.body,n=i.appendChild(e);t(n),i.removeChild(n)},e}(),Fe={33:v.PrevView,34:v.NextView,35:v.LastInView,36:v.FirstInView,37:v.Left,38:v.Up,39:v.Right,40:v.Down,"meta+38":v.UpperView,"meta+40":v.LowerView,"meta+37":v.PrevView,"meta+39":v.NextView},Ae=function(){function e(e){this.bus=e}return e.prototype.action=function(e){var t=(e.ctrlKey||e.metaKey?"meta+":"")+e.keyCode;return Fe[t]},e.prototype.move=function(e,t,i,n,r){return n?t===v.UpperView&&this.bus.canMoveUp(i)?(this.bus.moveUp(i,r),e):t===v.LowerView&&this.bus.canMoveDown(i)?(this.bus.moveDown(i,r),e):n.move(e,t):e},e}(),ze=function(){function e(e){this.intl=e}return e.prototype.getWeekNames=function(e){void 0===e&&(e=!1);var t=Z(this.intl.dateFormatNames({nameType:"short",type:"days"}),this.intl.firstDay());return e?[""].concat(t):t},e}(),Ve=r,je=Ve.h,Ne=Ve.inject,Pe={name:"KendoView",inject:{kendoIntlService:{default:null}},props:{activeRangeEnd:{type:String},activeView:{type:Number,required:!0},cell:[String,Function,Object],cellUID:{type:String,required:!0},direction:{type:String,default:"vertical"},isActive:{type:Boolean,default:void 0},focusedDate:{type:Date,required:!0},max:{type:Date,required:!0},min:{type:Date,required:!0},selectedDate:{type:[Date,Array,Object],default:function(){return W()}},selectionRange:Object,showWeekNumbers:{type:Boolean,default:!1},viewDate:{type:Date,required:!0},weekCell:[String,Function,Object],bus:Object,service:Object},computed:{isHorizontal:{get:function(){return"horizontal"===this.$props.direction}},isMonthView:{get:function(){return this.$props.activeView===g.month}},weekNumber:{get:function(){return Boolean(this.$props.showWeekNumbers&&this.$props.activeView===g.month)}}},methods:{getWeekNumber:function(e){return this.weekNumber?function(e,t){void 0===t&&(t=n.Monday);var i=m(e,-7),r=m(e,7),o=k(e,t);return 0===o?k(i,t)+1:53===o&&k(r,t)>1?1:o}(e,this._intl.firstDay()):null},firstDate:function(e){var t=this.firstWeekDateContext(e);return t?t.value:null},firstWeekDateContext:function(e){if(!this.weekNumber)return null;for(var t=0,i=e[t];!i&&t<e.length;)i=e[++t];return i},handleClick:function(e,t){var i={value:s(e),target:this,event:t};this.$emit("change",i)},handleWeekCellClick:function(e,t){var i={value:e,event:t};this.$emit("weekcellclick",i)},handleMouseDown:function(e,t){var i={value:s(e),target:this,event:t};this.$emit("viewmousedown",i)},handleMouseEnter:function(e){this.$emit("cellenter",s(e))},handleMouseLeave:function(e){this.$emit("cellleave",s(e))}},setup:je?function(){return{v3:!!je,kendoIntlService:Ne("kendoIntlService",{})}}:void 0,render:function(e){var t=je||e;this._intl=Object(h.provideIntlService)(this),this._weekService=new ze(this._intl);var i=function(e){return t("td",{key:e},[" "])},n=W(),r=this.$props.isActive?this.$props.focusedDate:null,s=U(this.$props.viewDate,n),a=this.$props.service.data({cellUID:this.$props.cellUID,min:this.$props.min,max:this.$props.max,focusedDate:r,isActiveView:!this.$props.bus.canMoveDown(this.$props.activeView),selectedDate:this.$props.selectedDate,selectionRange:this.$props.selectionRange,viewDate:s}),l=function(e,n){if(!this.firstDate(e))return i("week-cell-"+n);var r=this.getWeekNumber(this.firstDate(e)),s="kendo-vue-calendar-week-cell-"+r,a=t(C,{class:"k-calendar-td k-alt",value:r,attrs:this.v3?void 0:{value:r},onClick:this.handleWeekCellClick,on:this.v3?void 0:{click:this.handleWeekCellClick},key:s},this.v3?function(){return[r]}:[r]);return o.getTemplate.call(this,{h:t,template:this.$props.weekCell,defaultRendering:a,defaultSlots:r,additionalListeners:{click:this.handleWeekCellClick},additionalProps:{value:r,key:s}})},u=function(e){return e.map((function(e,n){if(!e)return i(n);var r="kendo-vue-calendar-cell-"+e.value.getTime(),s=t(w,{"aria-selected":e.isSelected,attrs:this.v3?void 0:{"aria-selected":e.isSelected,formattedValue:e.formattedValue,id:e.id,isFocused:e.isFocused,isSelected:e.isSelected,isInRange:e.isInRange,isWeekend:e.isWeekend,isRangeStart:e.isRangeStart,isRangeMid:e.isRangeMid,isRangeEnd:e.isRangeEnd,isRangeSplitStart:e.isRangeSplitStart,isRangeSplitEnd:e.isRangeSplitEnd,isToday:e.isToday,title:e.title,value:e.value,isDisabled:!e.isInRange,view:this.$props.activeView},formattedValue:e.formattedValue,id:e.id,isFocused:e.isFocused,isSelected:e.isSelected,isInRange:e.isInRange,isWeekend:e.isWeekend,isRangeStart:e.isRangeStart,isRangeMid:e.isRangeMid,isRangeEnd:e.isRangeEnd,isRangeSplitStart:e.isRangeSplitStart,isRangeSplitEnd:e.isRangeSplitEnd,isToday:e.isToday,title:e.title,value:e.value,isDisabled:!e.isInRange,view:this.$props.activeView,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick,mousedown:this.handleMouseDown,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave},onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,key:r},this.v3?function(){return[e.formattedValue]}:[e.formattedValue]);return o.getTemplate.call(this,{h:t,template:this.$props.cell,defaultRendering:s,defaultSlots:e.formattedValue,additionalListeners:{click:this.handleClick,mousedown:this.handleMouseDown,mouseenter:this.handleMouseEnter,mouseleave:this.handleMouseLeave},additionalProps:{formattedValue:e.formattedValue,id:e.id,isFocused:e.isFocused,isSelected:e.isSelected,isInRange:e.isInRange,isWeekend:e.isWeekend,isRangeStart:e.isRangeStart,isRangeMid:e.isRangeMid,isRangeEnd:e.isRangeEnd,isRangeSplitStart:e.isRangeSplitStart,isRangeSplitEnd:e.isRangeSplitEnd,isToday:e.isToday,title:e.title,value:e.value,isDisabled:!e.isInRange,view:this.$props.activeView,key:r}})}),this)};return t("tbody",{class:"k-calendar-tbody",role:"rowgroup",attrs:this.v3?void 0:{role:"rowgroup"}},[a.map((function(e,i){return t("tr",{class:"k-calendar-tr",role:"row",attrs:this.v3?void 0:{role:"row"},key:i},[this.weekNumber&&l.call(this,e,i),u.call(this,e)])}),this)])}},Be=r,Le=Be.h,He=Be.inject,Ue={name:"KendoViewList",inheritAttrs:!1,inject:{kendoIntlService:{default:null}},props:{allowReverse:Boolean,hasFocusedDate:Boolean,activeView:{type:Number,required:!0},bottomOffset:{type:Number},cell:[String,Function,Object],cellUID:{type:String,required:!0},dates:Array,focusedDate:{type:Date,required:!0},isActive:{type:Boolean,default:void 0},max:{type:Date,required:!0},min:{type:Date,required:!0},selectionRange:Object,showWeekNumbers:{type:Boolean,default:!1},smoothScroll:{type:Boolean,default:!0},take:{type:Number,default:5},value:{type:[Date,Array,Object]},views:{type:Number,default:1},viewHeight:Number,viewOffset:Number,bus:Object,dom:Object,weekCell:[String,Function,Object],service:Object},data:function(){return{lastViewsCount:0,valueHasUpdated:!1}},computed:{weekNames:{get:function(){this._intl=Object(h.provideIntlService)(this);var e=Z(this._intl.dateFormatNames({nameType:"short",type:"days"}),this._intl.firstDay());return this.weekNumber?[""].concat(e):e}},weekNumber:{get:function(){return Boolean(this.$props.showWeekNumbers&&this.$props.activeView===g.month)}},animate:{get:function(){return Boolean(this.$props.smoothScroll&&this.animateToIndex)}}},created:function(){this.lastView=this.$props.activeView,this.lastFocus=this.$props.focusedDate,this.animateToIndex=!0,this.shouldScroll=!1},updated:function(){this.shouldScroll=!1,this.lastView=this.$props.activeView,this.$data.lastViewsCount=this.$props.views,this.indexToScroll=void 0},methods:{handleFocus:function(e){this.$emit("listfocus",e)},handleBlur:function(e){this.$emit("listblur",e)},handleKeyDown:function(e){this.$emit("listkeydown",e)},handleVirtualizationMount:function(e){},calculateHeights:function(){if(this.$props.dom){var e=this.$props.activeView===g.month?this.$props.dom.scrollableContentHeight:this.$props.dom.scrollableYearContentHeight;this._bottomOffset=e-this.$props.dom.viewHeight(this.$props.activeView),this._viewOffset=-1*this.$props.dom.headerHeight,this._viewHeight=this.$props.dom.viewHeight(this.$props.activeView)||1}},getTake:function(e,t){return Math.min(t-e,this.$props.take)},handleScrollAction:function(){},handleTodayClick:function(e){this.shouldScroll=!0,this.handleDateChange(e,!0)},handleMouseDown:function(e){var t={event:e.event,value:s(e.value),target:this};this.$emit("listmousedown",t)},handleDateChange:function(e,t){void 0===t&&(t=!1);var i={event:e.event,value:s(e.value),target:this,isTodayClick:t};this.$emit("change",i)},handleWeekCellClick:function(e){this.$emit("weekcellclick",e)},handleWeekNameClick:function(e,t){var i={value:t,event:e};this.$emit("weeknameclick",i)},handleCellEnter:function(e){this.$emit("cellenter",e)},rotateSelectionRange:function(e){if(null===e.start||null===e.end)return e;var t=e.end<e.start;return{start:t?e.end:e.start,end:t?e.start:e.end}}},setup:Le?function(){return{v3:!!Le,kendoIntlService:He("kendoIntlService",{})}}:void 0,mounted:function(){this._calendarView=this.$refs.calendarView},render:function(e){var t=Le||e,i=this.$props.allowReverse?this.rotateSelectionRange(this.$props.selectionRange):this.$props.selectionRange,n=Object(o.classNames)("k-calendar-view","k-hstack k-align-items-start k-justify-content-center",{"k-calendar-monthview":this.$props.activeView===g.month,"k-calendar-yearview":this.$props.activeView===g.year,"k-calendar-decadeview":this.$props.activeView===g.decade,"k-calendar-centuryview":this.$props.activeView===g.century}),r=Object(o.classNames)("k-calendar-table","k-content","k-calendar-content",{"k-month":this.$props.activeView===g.month,"k-year":this.$props.activeView===g.year,"k-decade":this.$props.activeView===g.decade,"k-century":this.$props.activeView===g.century}),s=function(e){var i=this;return t("thead",{class:"k-calendar-thead"},[t("tr",{class:"k-calendar-tr k-calendar-weekdays"},[e.map((function(e,n){return t("th",{class:"k-calendar-th",key:n,onClick:function(t){return i.handleWeekNameClick(t,e)},on:this.v3?void 0:{click:function(t){return i.handleWeekNameClick(t,e)}}},[e])}),this)])])};return t("div",{class:n,onFocusin:this.handleFocus,on:this.v3?void 0:{focusin:this.handleFocus,focusout:this.handleBlur},onFocusout:this.handleBlur},[function(){var e=this.$props.cellUID;return this.$props.dates.map((function(n){return t("table",{role:"grid",attrs:this.v3?void 0:{role:"grid","aria-label":this.$props.service.title(this.$props.focusedDate),"aria-live":"polite","aria-activedescendant":e+this.$props.focusedDate.getTime(),tabIndex:this.$attrs.tabIndex},"aria-label":this.$props.service.title(this.$props.focusedDate),"aria-live":"polite","aria-activedescendant":e+this.$props.focusedDate.getTime(),tabIndex:this.$attrs.tabIndex,class:r,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown}},[this.$props.activeView===g.month&&s.call(this,this.weekNames),t(Pe,{key:n.getTime(),activeView:this.$props.activeView,attrs:this.v3?void 0:{activeView:this.$props.activeView,viewDate:n,min:this.$props.min,max:this.$props.max,cellUID:e,isActive:this.$props.isActive,focusedDate:this.$props.focusedDate,cell:this.$props.cell,selectionRange:i,selectedDate:this.$props.value,showWeekNumbers:this.weekNumber,bus:this.$props.bus,service:this.$props.service,weekCell:this.$props.weekCell},viewDate:n,min:this.$props.min,max:this.$props.max,cellUID:e,isActive:this.$props.isActive,focusedDate:this.$props.focusedDate,cell:this.$props.cell,selectionRange:i,selectedDate:this.$props.value,showWeekNumbers:this.weekNumber,onChange:this.handleDateChange,on:this.v3?void 0:{change:this.handleDateChange,weekcellclick:this.handleWeekCellClick,cellenter:this.handleCellEnter,viewmousedown:this.handleMouseDown},onWeekcellclick:this.handleWeekCellClick,onCellenter:this.handleCellEnter,onViewmousedown:this.handleMouseDown,bus:this.$props.bus,service:this.$props.service,weekCell:this.$props.weekCell})])}),this)}.call(this)])}},We=new Date(1980,0,1),Ke=new Date(1900,0,1),Ye=new Date(2099,11,31),Ge=new Date(1980,0,1),qe=new Date(1980,0,1,23,59,59),Ze=i(3),Xe=r.h,Je={name:"KendoHeaderTitle",emits:{click:null},props:{id:String,value:String,view:Number},methods:{handleClick:function(e){this.$emit("click",e)}},setup:Xe?function(){return{v3:!!Xe}}:void 0,render:function(e){var t=Xe||e,i=Object(o.getDefaultSlots)(this);return t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",value:this.$props.value,id:this.$props.id,fillMode:"flat",tabIndex:0},value:this.$props.value,id:this.$props.id,fillMode:"flat",onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick},tabIndex:0},this.v3?function(){return[i]}:[i])}},Qe=Je,et="calendar.prevView",tt="calendar.nextView",it="dateinput.increment",nt="dateinput.decrement",rt="datepicker.toggleCalendar",ot="daterangepicker.swapStartEnd",st="daterangepicker.separator",at="datetimepicker.toggleDateTimeSelector",lt="timepicker.selectNow",ut="timepicker.toggleClock",dt=((R={})["calendar.today"]="Today",R["timepicker.now"]="NOW",R["timepicker.set"]="Set",R["timepicker.cancel"]="Cancel",R["datetimepicker.date"]="Date",R["datetimepicker.time"]="Time",R["datetimepicker.cancel"]="Cancel",R["datetimepicker.set"]="Set",R["daterangepicker.start"]="Start",R["daterangepicker.end"]="End",R[st]=" ",R[lt]="Select Now",R["timepicker.toggleTimeSelector"]="Toggle TimeSelector",R[ut]="Toggle Clock",R[it]="Increase value",R[nt]="Decrease value",R[rt]="Toggle calendar",R[et]="Navigate to previous view",R[tt]="Navigate to next view",R[ot]="Swap start and end values",R[at]="Toggle date-time selector",R),ct=r,ht=ct.h,pt=ct.inject,ft={name:"KendoHeader",inheritAttrs:!1,inject:{kendoLocalizationService:{default:null}},props:{activeView:{type:Number,required:!0},currentDate:{type:Date,required:!0},focusedDate:{type:Date,required:!0},headerTitle:{type:[String,Object,Function],default:function(){}},max:{type:Date,default:function(){return B}},min:{type:Date,default:function(){return Ke}},bus:Object,service:Object,rangeLength:{type:Number,default:1},tabIndex:{type:Number,default:0}},computed:{navigate:{get:function(){return this.$props.bus.canMoveUp(this.$props.activeView)}},todayIsInRange:{get:function(){return K(W(),u(this.$props.min),u(this.$props.max))}}},methods:{getTitle:function(){if(!this.$props.currentDate)return"";var e=this.$props.rangeLength-1,t=this.$props.service.title(this.$props.currentDate),i=this.$props.service.addToDate(this.$props.currentDate,e);return e<1||!this.$props.service.isInRange(i,this.$props.min,this.$props.max)?t:t+" - "+this.$props.service.title(i)},handleTitleClick:function(e){this.navigate&&(this.$props.bus.moveUp(this.$props.activeView,e),this.$emit("titleclick",e))},canNavigate:function(e){if(!this.$props.service)return!1;var t=this.$props.service.move(this.$props.focusedDate,e);return this.$props.min<=t&&t<=this.$props.max||this.$props.service.isInSameView(t,this.$props.min)||this.$props.service.isInSameView(t,this.$props.max)},move:function(e){return this.clampDate(this.$props.service.move(this.$props.focusedDate,e))},clampDate:function(e){return X(e,this.$props.min,this.$props.max)},handleNextClick:function(e){var t={event:e,value:this.move(v.NextView),target:this};this.$emit("nextclick",t)},handlePrevClick:function(e){var t={event:e,value:this.move(v.PrevView),target:this};this.$emit("prevclick",t)},handleTodayClick:function(e){if(this.todayIsInRange){this.$props.bus.moveToBottom(this.$props.activeView);var t={event:e,value:X(W(),this.$props.min,this.$props.max),target:this};this.$emit("todayclick",t)}},todayKeyDown:function(e){e.keyCode===o.Keys.enter&&this.handleTodayClick(e)}},setup:ht?function(){return{v3:!!ht,kendoLocalizationService:pt("kendoLocalizationService",{})}}:void 0,render:function(e){var t=ht||e;this._localization=Object(h.provideLocalizationService)(this);var i=this._localization.toLanguageString("calendar.today",dt["calendar.today"]),n=this.getTitle(),r=this._localization.toLanguageString(et,dt[et]),s=this._localization.toLanguageString(tt,dt[tt]),a=!this.canNavigate(v.PrevView),l=!this.canNavigate(v.NextView),u=Object(o.classNames)("k-calendar-title","k-title",{"k-disabled":!this.navigate}),d=Object(o.classNames)("k-nav-today",{"k-disabled":!this.todayIsInRange}),c=t(Je,{value:n,attrs:this.v3?void 0:{value:n,view:this.$props.activeView},view:this.$props.activeView,class:u,onClick:this.handleTitleClick,on:this.v3?void 0:{click:this.handleTitleClick}},this.v3?function(){return[n]}:[n]);return t("div",{class:"k-calendar-header k-hstack"},[o.getTemplate.call(this,{h:t,template:this.$props.headerTitle,defaultRendering:c}),t("span",{class:"k-spacer"}),t("span",{class:"k-calendar-nav k-hstack"},[t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"arrow-60-left",size:this.$props.size,fillMode:"flat",desabled:a,"aria-label":r,title:r},icon:"arrow-60-left",size:this.$props.size,fillMode:"flat",class:"k-prev-view",desabled:a,"aria-label":r,title:r,onClick:this.handlePrevClick,on:this.v3?void 0:{click:this.handlePrevClick}}),t("span",{class:d,tabIndex:this.$props.tabIndex,attrs:this.v3?void 0:{tabIndex:this.$props.tabIndex},onKeydown:this.todayKeyDown,on:this.v3?void 0:{keydown:this.todayKeyDown,click:this.handleTodayClick},onClick:this.handleTodayClick},[i]),t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",icon:"arrow-60-right",size:this.$props.size,fillMode:"flat",desabled:l,"aria-label":s,title:s},icon:"arrow-60-right",size:this.$props.size,fillMode:"flat",class:"k-next-view",desabled:l,"aria-label":s,title:s,onClick:this.handleNextClick,on:this.v3?void 0:{click:this.handleNextClick}})])])}},mt=function(e,t,i){return i instanceof Date&&!Array.isArray(i)&&K(u(i),e,t)?u(i):null},vt=function(e,t,i){return Array.isArray(i)?i.filter((function(i){return K(i,e,t)})).map((function(e){return u(e)})):null},gt=function(e){return"object"!=typeof e||e instanceof Date||null===e||Array.isArray(e)?V:e},yt=function(e,t,i){return e||t&&t[0]||i&&i.start},bt=r,kt=bt.h,St=bt.inject,wt={name:"KendoCalendar",inject:{kendoIntlService:{default:null}},model:{event:"changemodel"},props:{activeRangeEnd:{type:String,default:void 0},allowReverse:{type:Boolean,default:!1},cell:[String,Function,Object],className:String,defaultActiveView:{type:String,default:"month"},modelValue:{type:[Date,Array,Object],default:void 0},defaultValue:{type:[Date,Array,Object],default:null},disabled:{type:Boolean,default:!1},focusedDate:Date,id:{type:String,default:function(){return Object(o.guid)()}},headerTitle:[String,Function,Object],max:{type:Date,default:function(){return Ye}},min:{type:Date,default:function(){return Ke}},mode:String,navigation:{type:Boolean,default:!0},smoothScroll:{type:Boolean,default:!0},tabIndex:Number,value:[Date,Array,Object],views:{type:Number,default:1},weekNumber:Boolean,weekCell:[String,Function,Object],topView:{type:String,default:"century"},bottomView:{type:String,default:"month"}},data:function(){return{valueDuringOnChange:void 0,currentFocusedDate:null,currentActiveView:null,currentValue:null,cellUID:Object(o.guid)(),isActive:!1,oldValue:null,didNavigationChange:!1,currentActiveRangeEnd:void 0}},created:function(){Object(o.validatePackage)(p);var e,t,i,n,r=(e=this.currentMin,t=this.currentMax,i=this.$props.defaultValue,void 0!==(n=this.$props.value||this.$props.modelValue)?null!==n&&K(n,e,t)?n:null:null!==i&&K(i,e,t)?i:null),s=mt(this.currentMin,this.currentMax,r),a=vt(this.currentMin,this.currentMax,r),l=gt(r),u=yt(s,a,l);this._hasMounted=!1,this.$data.currentFocusedDate=X(this.$props.focusedDate||u||W(),this.currentMin,this.currentMax),this.$data.currentValue=r,this.$data.currentActiveView=j(g[this.$props.defaultActiveView],g[this.$props.bottomView],g[this.$props.topView]),this.$data.currentActiveRangeEnd=function(e,t){return null===e.start&&null===t?"start":null===e.end?"end":"start"}(l,s),this._dates=[],this._calculateFocusFromValue=!1,this._lastView=this.$props.activeView||this.$data.currentActiveView,this._lastViewsCount=this.$props.views,this._dom=new _e,this._bus=new Re(this.handleViewChange),this._navigation=new Ae(this._bus),this._oldValue=r},watch:{value:function(e,t){this.$data.currentFocusedDate=e},focusedDate:function(e,t){this.$data.currentFocusedDate=e}},setup:kt?function(){return{v3:!!kt,kendoIntlService:St("kendoIntlService",{})}}:void 0,mounted:function(){this.calendarViewList=this.v3?this.calendarViewListRef:this.$refs.calendarViewList,this._calculateFocusFromValue=!0},updated:function(){var e=mt(this.currentMin,this.currentMax,this.computedValue());this._calculateFocusFromValue=Boolean(this._selectedDate&&e&&this._selectedDate.getTime()&&e.getTime()),this._lastView=this.$props.activeView||this.$data.currentActiveView,this._lastViewsCount=this.$props.views,this._oldValue=this.computedValue(),this.calendarViewList||(this.calendarViewList=this.v3?this.calendarViewListRef:this.$refs.calendarViewList)},computed:{activeRange:{get:function(){return void 0!==this.$props.activeRangeEnd?this.$props.activeRangeEnd:this.$data.currentActiveRangeEnd}},currentMin:function(){return u(this.$props.min)},currentMax:function(){return u(this.$props.max)}},methods:{element:function(){return this.$el},computedValue:function(){return void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue},focus:function(e){this.calendarViewList&&this.calendarViewList.$el.firstElementChild.focus(e)},handleBlur:function(){this.$data.isActive=!1},handleFocus:function(){this.$data.isActive=!0},emitBlur:function(e){this.$emit("blur",e)},emitFocus:function(e){this.$emit("focus",e)},handleTodayClick:function(e){if(!this.$props.disabled){this.$data.didNavigationChange=!0;var t=s(e.value);this.$data.currentFocusedDate=t,this.$data.currentValue=t,this.triggerChange(t,e)}},handleViewChange:function(e){var t=e.view;this.$data.currentActiveView=t},handlePrevClick:function(e){var t=s(e.value);this.focus(),this.$props.disabled||(this.$data.currentFocusedDate=t)},handleTitleClick:function(){this.focus()},handleNextClick:function(e){var t=s(e.value);this.focus(),this.$props.disabled||(this.$data.currentFocusedDate=t)},handleCellEnter:function(e){"range"===this.$props.mode&&(this.$data.currentFocusedDate=e)},generateRange:function(e,t){var i=t.end,n=t.start,r=null!==t.start&&e.getTime()<=t.start.getTime();return!this.$props.allowReverse&&r?{start:e,end:this._selectedRange.start}:"end"!==this.activeRange?{start:e,end:i}:{start:n||this._selectedDate,end:e}},clampRange:function(e){return{start:e,end:null}},handleWeekCellClick:function(e){this.$emit("weekcellclick",e)},handleWeekNameClick:function(e){this.$emit("weeknameclick",e)},handleDateChange:function(e){var t=s(e.value),i=this._bus.canMoveDown(this.$data.currentActiveView);if(!this.$props.disabled){if(i){if(!e.isTodayClick)return this._bus.moveDown(this.$data.currentActiveView,e.event),void(this.$data.currentFocusedDate=t);this._bus.moveToBottom(this.$data.currentActiveView)}var n;switch(this.$props.mode){case"single":n=s(e.value);break;case"multiple":if(Array.isArray(this._selectedMultiple)){var r=this._selectedMultiple.slice(),o=-1;r.forEach((function(t,i){c(t,e.value)&&(o=i)})),-1!==o?r.splice(o,1):r.push(s(e.value)),n=r.slice()}else n=this._selectedDate?[s(this._selectedDate),s(e.value)]:[s(e.value)];break;case"range":n=null!==this._selectedRange.start&&null!==this._selectedRange.end&&"start"===this.activeRange?this.clampRange(e.value):this.generateRange(e.value,this._selectedRange),this.$data.currentActiveRangeEnd="end"!==this.activeRange?"end":"start";break;default:n=s(e.value)}this.$data.currentValue=n,this.triggerChange(n,e)}},triggerChange:function(e,t){this.$data.valueDuringOnChange=e;var i={event:t.event,value:e,component:this,target:{name:this.$props.name,value:e,valueAsDate:e}};this.$emit("changemodel",e),this.$emit("update:modelValue",e),this.$emit("change",i),this.$data.valueDuringOnChange=void 0},handleMouseDown:function(e){var t=s(e.value);this.$props.disabled||0!==this.$data.currentActiveView||(this.$data.currentFocusedDate=t)},tableKeyDown:function(e){var t=e.keyCode;if(this.$emit("keydown",e),t===o.Keys.enter){var i={event:e,value:this._focusedDate,component:this,target:{name:this.$props.name,value:this._focusedDate,valueAsDate:this._focusedDate}};this.handleDateChange(i)}else{var n=X(this._navigation.move(this._focusedDate,this._navigation.action(e),this.$data.currentActiveView,this._service,e),this.currentMin,this.currentMax);if(c(this._focusedDate,n))return;this._calculateFocusFromValue=!1,this.$data.currentFocusedDate=n}e.preventDefault()},isValueEqual:function(e,t){return e instanceof Date&&t instanceof Date?c(e,t):e instanceof Object&&t instanceof Object?!!(e&&t&&c(e.start,t.start)&&c(e.end,t.end)):e instanceof Array&&t instanceof Array&&!(!e||!t||e.length!==t.length)},rangeWithFocused:function(e,t){return{start:e.start,end:null===e.end&&null!==e.start&&this.$data.isActive?t.end:e.end}}},render:function(e){var t=this,i=kt||e,n=this.$props.views,r=this.computedValue(),a=this.$data.currentFocusedDate,l=null!==r&&null!==this._oldValue?!this.isValueEqual(r,this._oldValue):r!==this._oldValue;this._selectedDate=mt(this.currentMin,this.currentMax,r),this._selectedMultiple=vt(this.currentMin,this.currentMax,r);var d=o.templateRendering.call(this,this.$props.cell,o.getListeners.call(this)),c=o.templateRendering.call(this,this.$props.weekCell,o.getListeners.call(this)),p=o.templateRendering.call(this,this.$props.headerTitle,o.getListeners.call(this)),f=j(this.$data.currentActiveView,g[this.$props.bottomView],g[this.$props.topView]);this._selectedDate=mt(this.currentMin,this.currentMax,r),this._selectedMultiple=vt(this.currentMin,this.currentMax,r),this._selectedRange=gt(r);var m=yt(this._selectedDate,this._selectedMultiple,this._selectedRange),v=X(l&&null!==m?m:a,this.currentMin,this.currentMax);v instanceof Date?this._focusedDate=u(v):m&&(this._focusedDate=m);var y=this.rangeWithFocused(this._selectedRange,a);this._intl=Object(h.provideIntlService)(this),this._bus.configure(g[this.$props.bottomView],g[this.$props.topView]),this._service=this._bus.service(f,this._intl);var b=Object(o.classNames)("k-widget k-calendar","k-calendar-range",{"k-state-disabled":this.$props.disabled,"k-week-number":this.$props.weekNumber},this.$props.className),k=this._lastView!==this.$data.currentActiveView,S=this._dates&&this._service.isInArray(this._focusedDate,this._dates),w=this._lastViewsCount!==this.$props.views;(!S||k||w)&&(this._dates=this._service.datesList(this._focusedDate,n));var D=s(this._dates&&this._dates[0]?this._dates[0]:void 0),I=[this.$props.navigation&&i(ft,{tabIndex:this.$props.disabled?void 0:this.$props.tabIndex||0,attrs:this.v3?void 0:{tabIndex:this.$props.disabled?void 0:this.$props.tabIndex||0,activeView:this.$data.currentActiveView,currentDate:D,focusedDate:this._focusedDate,min:this.currentMin,max:this.currentMax,rangeLength:this.$props.views,bus:this._bus,service:this._service,headerTitle:p},activeView:this.$data.currentActiveView,currentDate:D,focusedDate:this._focusedDate,min:this.currentMin,max:this.currentMax,rangeLength:this.$props.views,onTodayclick:this.handleTodayClick,on:this.v3?void 0:{todayclick:this.handleTodayClick,nextclick:this.handleNextClick,prevclick:this.handlePrevClick,titleclick:this.handleTitleClick},onNextclick:this.handleNextClick,onPrevclick:this.handlePrevClick,onTitleclick:this.handleTitleClick,bus:this._bus,service:this._service,headerTitle:p}),i(Ue,{allowReverse:this.$props.allowReverse,attrs:this.v3?void 0:{allowReverse:this.$props.allowReverse,isActive:this.$data.isActive,tabIndex:this.$props.disabled?void 0:this.$props.tabIndex||0,activeView:this.$data.currentActiveView,focusedDate:this._focusedDate,min:this.currentMin,max:this.currentMax,bus:this._bus,dates:this._dates,shouldScroll:this.$data.didNavigationChange,service:this._service,cell:d,weekCell:c,dom:this._dom,views:this.$props.views,selectionRange:y,smoothScroll:this.$props.smoothScroll,showWeekNumbers:this.$props.weekNumber,value:this._selectedMultiple||this._selectedDate,cellUID:this.$data.cellUID},isActive:this.$data.isActive,tabIndex:this.$props.disabled?void 0:this.$props.tabIndex||0,ref:this.v3?function(e){t.calendarViewListRef=e}:"calendarViewList",activeView:this.$data.currentActiveView,focusedDate:this._focusedDate,min:this.currentMin,max:this.currentMax,bus:this._bus,dates:this._dates,shouldScroll:this.$data.didNavigationChange,service:this._service,cell:d,weekCell:c,dom:this._dom,views:this.$props.views,selectionRange:y,smoothScroll:this.$props.smoothScroll,showWeekNumbers:this.$props.weekNumber,onChange:this.handleDateChange,on:this.v3?void 0:{change:this.handleDateChange,weekcellclick:this.handleWeekCellClick,weeknameclick:this.handleWeekNameClick,listmousedown:this.handleMouseDown,cellenter:this.handleCellEnter,listkeydown:this.tableKeyDown,listfocus:this.handleFocus,listblur:this.handleBlur},onWeekcellclick:this.handleWeekCellClick,onWeeknameclick:this.handleWeekNameClick,onListmousedown:this.handleMouseDown,onCellenter:this.handleCellEnter,onListkeydown:this.tableKeyDown,onListfocus:this.handleFocus,onListblur:this.handleBlur,value:this._selectedMultiple||this._selectedDate,cellUID:this.$data.cellUID})];return i("div",{"aria-disabled":this.$props.disabled,attrs:this.v3?void 0:{"aria-disabled":this.$props.disabled,id:this.$props.id},class:b,id:this.$props.id,onFocusout:this.emitBlur,on:this.v3?void 0:{focusout:this.emitBlur,focusin:this.emitFocus},onFocusin:this.emitFocus},[I])}},Dt=wt,It=function(){this.symbols=""},Ct=function(e,t){return e[t.pattern[0]]=t.type,e},$t=function(){function e(e,t,i){this.year=!0,this.month=!0,this.date=!0,this.hours=!0,this.minutes=!0,this.seconds=!0,this.milliseconds=!0,this.leadingZero=null,this.typedMonthPart="",this.knownParts="adHhmMsEy",this.symbols={E:"E",H:"H",M:"M",a:"a",d:"d",h:"h",m:"m",s:"s",y:"y"},this._value=u(new Date),this.intlProvider=e,this.formatPlaceholder=t,this.format=i,this.monthNames=this.allFormatedMonths()}return Object.defineProperty(e.prototype,"intl",{get:function(){return this.intlProvider()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},enumerable:!1,configurable:!0}),e.prototype.setValue=function(e){e?d(e,this._value)||(this._value=s(e),this.modifyExisting(!0)):(this._value=u(new Date),this.modifyExisting(!1))},e.prototype.hasValue=function(){var e=this;return this.intl.splitDateFormat(this.format).reduce((function(t,i){return t||"literal"!==i.type&&"dayperiod"!==i.type&&e.getExisting(i.pattern[0])}),!1)},e.prototype.getDateObject=function(){for(var e=0;e<this.knownParts.length;e++)if(!this.getExisting(this.knownParts[e]))return null;return s(this.value)},e.prototype.getTextAndFormat=function(){return this.merge(this.intl.formatDate(this.value,this.format),this.dateFormatString(this.value,this.format))},e.prototype.modifyExisting=function(e){for(var t=this.dateFormatString(this.value,this.format).symbols,i=0;i<t.length;i++)this.setExisting(t[i],e)},e.prototype.getExisting=function(e){switch(e){case"y":return this.year;case"M":case"L":return this.month;case"d":return this.date;case"E":return this.date&&this.month&&this.year;case"h":case"H":return this.hours;case"m":return this.minutes;case"s":return this.seconds;default:return!0}},e.prototype.setExisting=function(e,t){switch(e){case"y":this.year=t,!1===t&&this._value.setFullYear(2e3);break;case"M":this.month=t,!1===t&&this._value.setMonth(0);break;case"d":this.date=t;break;case"h":case"H":this.hours=t;break;case"m":this.minutes=t;break;case"s":this.seconds=t;break;default:return}},e.prototype.modifyPart=function(e,t){var i=s(this.value);switch(e){case"y":i.setFullYear(i.getFullYear()+t);break;case"M":i=ee(this.value,t);break;case"d":case"E":i.setDate(i.getDate()+t);break;case"h":case"H":i.setHours(i.getHours()+t);break;case"m":i.setMinutes(i.getMinutes()+t);break;case"s":i.setSeconds(i.getSeconds()+t);break;case"a":i.setHours(i.getHours()+12*t)}this.setExisting(e,!0),this._value=i},e.prototype.parsePart=function(e,t){var i;if(this.resetLeadingZero(),!t)return this.setExisting(e,!1),{value:null};for(var n=this.intl.formatDate(this.value,this.format),r=this.dateFormatString(this.value,this.format),o=r.symbols,a=!1,u="",d="",c="",h=0;h<n.length;h++)o[h]===e?(d+=this.getExisting(e)?n[h]:"0",a=!0):a?c+=n[h]:u+=n[h];for(var p=null,f=this.matchMonth(t);d.length>0&&"0"===d.charAt(0);)d=d.slice(1);d.length>=4&&(d="");for(h=0;h<2;h++){var m=d+t,v=parseInt(m,10);if(!(p=this.intl.parseDate(u+m+c,this.format))&&!isNaN(v)&&!isNaN(parseInt(t,10))){if("M"===e&&!f){var g=v-1;g>-1&&g<12&&((p=s(this.value)).setMonth(g),p.getMonth()!==g&&(p=Q(ee(p,-1))))}"y"===e&&(p=l(parseInt(m,10),this.month?this.value.getMonth():0,this.date?this.value.getDate():1,this.hours?this.value.getHours():0,this.minutes?this.value.getMinutes():0,this.seconds?this.value.getSeconds():0,this.milliseconds?this.value.getMilliseconds():0),this.date&&p.getDate()!==this.value.getDate()&&(p=Q(ee(p,-1))))}if(p)return this._value=p,this.setExisting(e,!0),{value:this.value};d=""}return f&&(p=this.intl.parseDate(u+f+c,this.format))?(this._value=p,this.setExisting(e,!0),{value:this.value}):("0"===t&&(this.leadingZero=this.isAbbrMonth(r.partMap,e)?null:((i={})[e]=!0,i),this.setExisting(e,!1)),{value:null})},e.prototype.symbolMap=function(e){return this.intl.splitDateFormat(this.format).reduce(Ct,{})[e]},e.prototype.resetLeadingZero=function(){var e=null!==this.leadingZero;return this.leadingZero=null,e},e.prototype.isAbbrMonth=function(e,t){var i=this.partPattern(e,t);return"month"===i.type&&i.names},e.prototype.partPattern=function(e,t){return e.filter((function(e){return-1!==e.pattern.indexOf(t)}))[0]},e.prototype.matchMonth=function(e){if(this.typedMonthPart+=e.toLowerCase(),0===this.monthNames.length)return"";for(;this.typedMonthPart.length>0;){for(var t=0;t<this.monthNames.length;t++)if(0===this.monthNames[t].toLowerCase().indexOf(this.typedMonthPart))return this.monthNames[t];var i=parseInt(this.typedMonthPart,10);if(i>=1&&i<=12&&i.toString()===this.typedMonthPart)return this.monthNames[i-1];this.typedMonthPart=this.typedMonthPart.substring(1,this.typedMonthPart.length)}return""},e.prototype.allFormatedMonths=function(){for(var e=this.intl.splitDateFormat(this.format),t=0;t<e.length;t++)if("month"===e[t].type&&e[t].names)return this.intl.dateFormatNames(e[t].names);return[]},e.prototype.dateFormatString=function(e,t){for(var i=this.intl.splitDateFormat(t),n=[],r=[],o=0;o<i.length;o++)for(var s=this.intl.formatDate(e,{pattern:i[o].pattern}).length;s>0;)n.push(this.symbols[i[o].pattern[0]]||"_"),r.push(i[o]),s--;var a=new It;return a.symbols=n.join(""),a.partMap=r,a},e.prototype.merge=function(e,t){for(var i="",n="",r=t.symbols,o=r.length-1;o>=0;o--)if(-1===this.knownParts.indexOf(r[o])||this.getExisting(r[o]))i=e[o]+i,n=r[o]+n;else{for(var s=r[o];o>=0&&s===r[o];)o--;for(o++,i=this.leadingZero&&this.leadingZero[s]?"0"+i:this.dateFieldName(t.partMap[o])+i;n.length<i.length;)n=r[o]+n}return{text:i,format:n}},e.prototype.dateFieldName=function(e){var t=this.formatPlaceholder||"wide";return t[e.type]?t[e.type]:"formatPattern"===t?e.pattern:this.intl.dateFieldName(Object.assign(e,{nameType:t}))},e}(),Tt="dayperiod",Ot="hour",Et="minute",xt="second",Mt=function(e){return function(t,i){var n=s(t);return n[e](i),n}},Rt=[{type:Ot,getter:function(e){return e.getHours()}},{type:Et,getter:function(e){return e.getMinutes()}},{type:xt,getter:function(e){return e.getSeconds()}},{type:"millisecond",getter:function(e){return e.getMilliseconds()}}],_t=function(e){return function(t){return e.map(function(e){return function(t){return e[t.type]?(i=t.getter,function(e,t){return i(t)}):function(e){return function(t,i){return e(t)}}(t.getter);var i}}(function(e){return e.reduce((function(e,t){return e[t.type]=t.type,e}),{})}(t)))}}(Rt),Ft=function(e){return function(t,i){return e.map((function(e){var n=Math.floor(t[e.type]);return n?function(e,t,i,n){return function(r){var o=e(r),s=e(i);return"hour"===n?o-(o-s)%t:r.getTime()<=i.getTime()&&0!==o&&o<=s?Math.ceil(o/t)*t:o-o%t}}(e.getter,n,i,e.type):e.getter}))}}(Rt),At=function(e){return function(t){var i=s(t);return i.setHours.apply(i,e.map((function(e){return e(i)}))),i}},zt=Mt("setHours"),Vt=Mt("setMinutes"),jt=Mt("setSeconds"),Nt=function(){return new Date},Pt=function(e,t,i){void 0===i&&(i=1);for(var n=[],r=e;r<t;r+=i)n.push(r);return n},Bt=function(e,t,i){return{candidateValue:U(N,e),maxValue:m(U(N,i),t.getHours()<i.getHours()?0:1),minValue:U(N,t)}},Lt=function(e,t,i){if(!e||!t||!i)return!0;var n=Bt(e,t,i),r=n.candidateValue,o=n.minValue,s=n.maxValue;return o<=r&&r<=s},Ht=function(e,t){if(null===e||null===t)return!1;var i=U(N,e),n=U(N,t);return i.getTime()<n.getHours()},Ut=function(e,t){if(null===e||null===t)return!1;var i=U(N,e);return U(N,t).getTime()<i.getHours()},Wt=i(22),Kt=r,Yt=Kt.h,Gt=Kt.ref,qt=Kt.inject,Zt={name:"DateInput",model:{event:"changemodel"},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},emits:{change:null,changemodel:null,"update:modelValue":null,focus:null,blur:null},props:{modelValue:Date,value:Date,defaultValue:Date,format:{type:[String,Object],default:function(){return"d"}},formatPlaceholder:{type:[String,Object],default:function(){return"wide"}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},tabIndex:Number,title:String,steps:Object,placeholder:String,max:{type:Date,default:function(){return s(B)}},min:{type:Date,default:function(){return s(P)}},maxTime:{type:Date,default:function(){return s(qe)}},minTime:{type:Date,default:function(){return s(Ge)}},disabled:{type:Boolean,default:!1},spinners:{type:Boolean,default:!1},name:String,dir:String,label:String,id:String,validationMessage:{type:String,default:"Please enter a valid value!"},required:{type:Boolean,default:!1},validityStyles:{type:Boolean,default:!0},validate:Boolean,valid:{type:Boolean,default:void 0}},data:function(){return{kendoDate:null,currentFormat:void 0,valueDuringOnChange:void 0,hasMounted:!1,isEmpty:void 0,lastSelectedSymbol:void 0,isFocused:!1}},created:function(){Object(o.validatePackage)(p);var e=this.$props,t=e.formatPlaceholder,i=e.format,n=e.value,r=e.defaultValue;this.kendoDate=new $t(this.intl,t,i),this.kendoDate.setValue(null),this._emptyText=this.kendoDate.getTextAndFormat().text,this.kendoDate.setValue(n||r||null),this._element=null,this._inputId=Object(o.guid)()},computed:{computedValue:{get:function(){return void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:this.kendoDate&&this.kendoDate.getDateObject()}},wrapperClassNames:{get:function(){var e,t=!this.$data.hasMounted||!this.$props.validityStyles||this.validity().valid,i=this.$props.disabled,n=this.$props,r=n.size,s=n.fillMode,a=n.rounded;return(e={"k-dateinput":!0,"k-input":!0})["k-input-"+(o.kendoThemeMaps.sizeMap[r]||r)]=r,e["k-input-"+s]=s,e["k-rounded-"+(o.kendoThemeMaps.roundedMap[a]||a)]=a,e["k-disabled"]=i,e["k-invalid"]=!t&&void 0!==t,e["k-focus"]=this.isFocused,e["k-rtl"]="rtl"===this.$props.dir,e}}},methods:{selection:function(){var e={start:0,end:0},t=this.element();return null!==t&&void 0!==t.selectionStart&&(e={start:t.selectionStart,end:t.selectionEnd}),e},element:function(){return this._element},focus:function(e){this._element&&this._element.focus(e)},handleFocus:function(e){this.$data.isFocused=!0,this.$emit("focus",e)},handleBlur:function(e){this.$data.isFocused=!1,this.$emit("blur",e)},intl:function(){return Object(h.provideIntlService)(this)},setValidity:function(){var e=this.element();e&&e.setCustomValidity&&e.setCustomValidity(this.validity().valid?"":this.$props.validationMessage)},spinnersMouseDown:function(e){var t=this.element();e.preventDefault(),t&&o.canUseDOM&&document.activeElement!==t&&t.focus({preventScroll:!0})},elementChange:function(e){var t=this.element();if(t&&this.kendoDate){var i=this.kendoDate.getTextAndFormat(),n=i.text,r=i.format;this.$data.currentFormat=r;var o=this.computedValue,s=function(e,t,i,n){var r=e[n+e.length-i.length],o=e.substring(0,n+e.length-i.length),s=i.substring(0,n),a=[];if(o===s&&n>0)return a.push([t[n-1],s[n-1]]),a;if(0===o.indexOf(s)&&(0===s.length||t[s.length-1]!==t[s.length])){var l="";1===s.length&&a.push([t[0],s[0]]);for(var u=s.length;u<o.length;u++)t[u]!==l&&"_"!==t[u]&&(l=t[u],a.push([l,""]));return a}if(0===s.indexOf(o)||"_"===t[n-1]){var d=t[0];for(u=Math.max(0,o.length-1);u<t.length;u++)if("_"!==t[u]){d=t[u];break}return[[d,s[n-1]]]}return" "===s[s.length-1]||s[s.length-1]===r?[[t[n-1],"_"]]:[[t[n-1],s[n-1]]]}(n,this.$data.currentFormat,t.value,this.selection().start),a=1===s.length&&"_"===s[0][1];if(!a)for(var l=0;l<s.length;l++)this.kendoDate.parsePart(s[l][0],s[l][1]);s.length&&"_"!==s[0][0]&&this.setSelection(this.selectionBySymbol(s[0][0])),a&&this.switchDateSegment(1),this.triggerChange(e,o)}},elementClick:function(e){this.setSelection(this.selectionByIndex(this.selection().start))},wheel:function(e){var t=this.element();o.canUseDOM&&document.activeElement!==t||(e.deltaY<0&&(e.preventDefault(),this.increasePart(e)),e.deltaY>0&&(e.preventDefault(),this.decreasePart(e)))},increasePart:function(e){e.preventDefault(),this.modifyDateSegmentValue(1,e)},decreasePart:function(e){e.preventDefault(),this.modifyDateSegmentValue(-1,e)},elementKeyDown:function(e){if(!e.altKey){switch(e.keyCode){case 37:this.switchDateSegment(-1);break;case 38:this.modifyDateSegmentValue(1,e);break;case 39:this.switchDateSegment(1);break;case 40:this.modifyDateSegmentValue(-1,e);break;default:return}e.preventDefault()}},setSelection:function(e){var t=this.element();this.$data.lastSelectedSymbol=this.$data.currentFormat[e.start],window.requestAnimationFrame((function(){t&&o.canUseDOM&&document.activeElement===t&&t.setSelectionRange(e.start,e.end)}))},triggerChange:function(e,t){this.$data.valueDuringOnChange=this.computedValue,d(t,this.computedValue)||(this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:e,value:this.computedValue,component:this,target:{name:this.$props.name,value:this.$data.valueDuringOnChange,valueAsDate:this.$data.valueDuringOnChange},validity:this.validity()})),this.$data.valueDuringOnChange=void 0},selectionBySymbol:function(e){for(var t=-1,i=0,n=0;n<this.$data.currentFormat.length;n++)this.$data.currentFormat[n]===e&&(i=n+1,-1===t&&(t=n));return t<0&&(t=0),{start:t,end:i}},selectionByIndex:function(e){for(var t={start:e,end:e},i=e,n=e-1;i<this.$data.currentFormat.length||n>=0;i++,n--){if(i<this.$data.currentFormat.length&&"_"!==this.$data.currentFormat[i]){t=this.selectionBySymbol(this.$data.currentFormat[i]);break}if(n>=0&&"_"!==this.$data.currentFormat[n]){t=this.selectionBySymbol(this.$data.currentFormat[n]);break}}return t},switchDateSegment:function(e){var t=this.selection(),i=t.start,n=t.end;if(i<n&&this.$data.currentFormat[i]!==this.$data.currentFormat[n-1])this.setSelection(this.selectionByIndex(e>0?i:n-1));else{for(var r=this.$data.currentFormat[i],o=i+e;o>0&&o<this.$data.currentFormat.length&&(this.$data.currentFormat[o]===r||"_"===this.$data.currentFormat[o]);)o+=e;if("_"!==this.$data.currentFormat[o]){for(var s=o;s>=0&&s<this.$data.currentFormat.length&&this.$data.currentFormat[s]===this.$data.currentFormat[o];)s+=e;o>s&&(s+1!==i||o+1!==n)?this.setSelection({start:s+1,end:o+1}):o<s&&(o!==i||s!==n)&&this.setSelection({start:o,end:s})}}},modifyDateSegmentValue:function(e,t){if(this.kendoDate){var i=this.computedValue,n=this.$data.currentFormat[this.selection().start],r=this.kendoDate.symbolMap(n),o=((this.$props.steps||{})[r]||1)*e;this.kendoDate.modifyPart(n,o),this.setSelection(this.selectionBySymbol(n)),this.triggerChange(t,i)}},validity:function(){var e,t,i,n=(e=this.computedValue,t=this.$props.min,i=this.$props.max,(null===e||!(t&&t>e||i&&i<e))&&Lt(this.computedValue,this.$props.minTime,this.$props.maxTime)),r=void 0!==this.$props.validationMessage,o=(!this.$props.required||null!==this.computedValue)&&n,s=void 0!==this.$props.valid?this.$props.valid:o;return{customError:r,rangeOverflow:this.computedValue&&this.$props.max.getTime()<this.computedValue.getTime()||!1,rangeUnderflow:this.computedValue&&this.computedValue.getTime()<this.$props.min.getTime()||!1,valid:s,valueMissing:null===this.computedValue}}},mounted:function(){this._element=this.v3?this.inputRef:this.$refs.input,this.setValidity(),this.$data.hasMounted=!0},updated:function(){this.$data.lastSelectedSymbol&&this.setSelection(this.selectionBySymbol(this.$data.lastSelectedSymbol)),this.setValidity()},setup:Yt?function(){return{v3:!!Yt,inputRef:Gt(null),kendoIntlService:qt("kendoIntlService",{}),kendoLocalizationService:qt("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=Yt||e,n=Object(o.getDefaultSlots)(this),r=Object(h.provideLocalizationService)(this),s=this.$props,a=s.formatPlaceholder,l=s.format,u=s.value,d=s.modelValue,c=s.min,p=s.max,f=s.name,m=s.label,v=s.id;s.defaultValue;this.kendoDate.format=l,this.kendoDate.formatPlaceholder=a;var g=void 0!==u?u:d;void 0!==g&&this.computedValue!==g&&this.kendoDate.setValue(g);var y=this.kendoDate.getTextAndFormat(),b=y.text,k=y.format;this.$data.currentFormat=k,this.$data.isEmpty=b===this._emptyText;var S=void 0!==this.$props.placeholder&&this.$data.isEmpty&&!this.$data.isFocused?null:b,w=v||this._inputId,D=!this.$props.validityStyles||this.validity().valid,I=i("span",{class:this.wrapperClassNames,dir:this.$props.dir,attrs:this.v3?void 0:{dir:this.$props.dir}},[i("input",{role:"spinbutton",attrs:this.v3?void 0:{role:"spinbutton",tabIndex:this.$props.tabIndex,disabled:this.$props.disabled,title:void 0!==this.$props.title?this.$props.title:b,type:"text",spellcheck:!1,autoComplete:"off",autoCorrect:"off",id:w,placeholder:this.$props.placeholder,name:f,"aria-valuenow":null!==this.computedValue?this.computedValue.getTime():void 0,"aria-valuemin":null===c?void 0:c.getTime(),"aria-valuemax":null===p?void 0:p.getTime(),"aria-valuetext":b},tabIndex:this.$props.tabIndex,disabled:this.$props.disabled,title:void 0!==this.$props.title?this.$props.title:b,type:"text",spellcheck:!1,autoComplete:"off",autoCorrect:"off",class:"k-input-inner",id:w,placeholder:this.$props.placeholder,onWheel:this.wheel,on:this.v3?void 0:{wheel:this.wheel,click:this.elementClick,input:this.elementChange,keydown:this.elementKeyDown,change:o.noop,focusin:this.handleFocus,focusout:this.handleBlur},onClick:this.elementClick,onInput:this.elementChange,onKeydown:this.elementKeyDown,onChange:o.noop,onFocusin:this.handleFocus,onFocusout:this.handleBlur,value:this.v3?S:null,domProps:this.v3?void 0:{value:S},name:f,"aria-valuenow":null!==this.computedValue?this.computedValue.getTime():void 0,"aria-valuemin":null===c?void 0:c.getTime(),"aria-valuemax":null===p?void 0:p.getTime(),"aria-valuetext":b,ref:this.v3?function(e){t.inputRef=e}:"input"}),n,this.$props.spinners&&i("span",{class:"k-input-spinner k-spin-button",onMousedown:this.spinnersMouseDown,on:this.v3?void 0:{mousedown:this.spinnersMouseDown}},[i(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",tabIndex:-1,icon:"arrow-n",size:this.$props.size,fillMode:this.$props.fillMode,"aria-label":r.toLanguageString(it,dt[it]),title:r.toLanguageString(it,dt[it])},tabIndex:-1,icon:"arrow-n",size:this.$props.size,fillMode:this.$props.fillMode,class:"k-spinner-increase","aria-label":r.toLanguageString(it,dt[it]),title:r.toLanguageString(it,dt[it]),onClick:this.increasePart,on:this.v3?void 0:{click:this.increasePart}}),i(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",tabIndex:-1,icon:"arrow-s",size:this.$props.size,fillMode:this.$props.fillMode,"aria-label":r.toLanguageString(nt,dt[nt]),title:r.toLanguageString(nt,dt[nt])},tabIndex:-1,class:"k-spinner-decrease",icon:"arrow-s",size:this.$props.size,fillMode:this.$props.fillMode,"aria-label":r.toLanguageString(nt,dt[nt]),title:r.toLanguageString(nt,dt[nt]),onClick:this.decreasePart,on:this.v3?void 0:{click:this.decreasePart}})])]);return m?i(Wt.FloatingLabel,{label:m,attrs:this.v3?void 0:{label:m,editorId:w,editorValue:S,editorPlaceholder:this.$props.placeholder,editorValid:D,editorDisabled:this.$props.disabled},editorId:w,editorValue:S,editorPlaceholder:this.$props.placeholder,editorValid:D,editorDisabled:this.$props.disabled},this.v3?function(){return[I]}:[I]):I}},Xt=Zt,Jt=i(13),Qt=Ze.Button,ei=Qt,ti=r,ii=ti.h,ni=ti.ref,ri=ti.inject,oi={name:"DatePicker",inject:{kendoLocalizationService:{default:null}},model:{event:"changemodel"},emits:{change:null,changemodel:null,"update:modelValue":null,iconclick:null,focus:null,blur:null,keydown:null},props:{defaultShow:{type:Boolean,default:!1},modelValue:{type:Date,default:void 0},defaultValue:{type:Date,default:void 0},disabled:{type:Boolean,default:!1},dateInput:{type:[String,Object,Function],default:function(){}},calendar:{type:[String,Object,Function],default:function(){}},toggleButton:{type:[String,Object,Function],default:function(){}},label:String,placeholder:String,popup:{type:[String,Object,Function],default:function(){}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},focusedDate:Date,format:{type:[Object,String],default:function(){return"d"}},formatPlaceholder:[Object,String],id:String,max:{type:Date,default:function(){return s(B)}},min:{type:Date,default:function(){return s(P)}},name:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},title:{type:String,default:function(){return""}},value:Date,weekNumber:Boolean,width:[Number,String],validityStyles:{type:Boolean,default:!0},validationMessage:String,required:Boolean,validate:Boolean,valid:{type:Boolean,default:void 0}},data:function(){return{isFocused:!1,currentValue:void 0,currentShow:void 0,valueDuringOnChange:void 0,showDuringOnChange:void 0,shouldFocusDateInput:!1}},created:function(){Object(o.validatePackage)(p),this._popupId=Object(o.guid)(),this._anchor=Object(o.guid)(),this._dateInput=null,this._calendar=null,this.$data.currentValue=this.$props.defaultValue,this.$data.currentShow=this.$props.defaultShow},mounted:function(){this._dateInput=this.v3?this.dateInputRef:this.$refs.dateInput,(this.$refs.calendar||this.calendarRef)&&(this._calendar=this.v3?this.calendarRef:this.$refs.calendar),this.computedShow&&this.$forceUpdate(),this._dateInput&&this._dateInput.$el&&this._dateInput.$el.setAttribute("aria-haspopup","true"),this.$el&&this.$el.setAttribute("aria-expanded",""+this.computedShow)},updated:function(){this.$el&&this.$el.setAttribute("aria-expanded",""+this.computedShow),(this.$refs.calendar||this.calendarRef)&&(this._calendar=this.v3?this.calendarRef:this.$refs.calendar),this.computedShow?this._calendar&&this._calendar.$el&&!this._oldShow&&this._calendar.focus({preventScroll:!0}):this._dateInput&&this._dateInput.$el&&this.$data.shouldFocusDateInput&&this._dateInput.focus({preventScroll:!0}),this.$data.shouldFocusDateInput=!1},watch:{show:function(e,t){this._oldShow=t},currentShow:function(e,t){this._oldShow=t}},computed:{computedValue:{get:function(){var e=void 0!==this.$data.valueDuringOnChange?this.$data.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue;return null!==e?s(e):null}},computedShow:{get:function(){return void 0!==this.$data.showDuringOnChange?this.$data.showDuringOnChange:void 0!==this.$props.show?this.$props.show:this.$data.currentShow}}},methods:{focus:function(){this._dateInput&&this._dateInput.focus()},handleFocus:function(e){this._oldShow=this.computedShow,this.$data.isFocused=!0,this.$emit("focus",e)},handleBlur:function(e){this.$data.isFocused=!1,this.createBlurTimeout(),this.$emit("blur",e)},calendarBlur:function(){this.$emit("blur",event),clearTimeout(this._blurTimeout),this.createBlurTimeout()},calendarFocus:function(){this.$emit("focus",event),clearTimeout(this._blurTimeout)},createBlurTimeout:function(){var e=this;this._blurTimeout=setTimeout((function(){e._dateInput&&o.canUseDOM&&document.activeElement!==e._dateInput._element&&e.setShow(!1)}),200)},validity:function(){var e=this.computedValue,t=Y(e,this.$props.min,this.$props.max),i=void 0!==this.$props.validationMessage,n=(!this.$props.required||null!==e)&&t,r=void 0!==this.$props.valid?this.$props.valid:n;return{customError:i,rangeOverflow:e&&this.$props.max.getTime()<e.getTime()||!1,rangeUnderflow:e&&e.getTime()<this.$props.min.getTime()||!1,valid:r,valueMissing:null===e}},nextValue:function(e,t){return void 0!==e.value?e.value:t.value},nextShow:function(e,t){return void 0!==e.show?e.show:t.show},setShow:function(e){this.computedShow!==e&&(this.$data.currentShow=e)},mergeTime:function(e){return this.computedValue&&e?U(e,this.computedValue):e},handleInputValueChange:function(e){this.handleValueChange(e.value,e)},handleCalendarValueChange:function(e){var t=this.mergeTime(e.value);this.handleValueChange(t,e)},getDateInputText:function(){return!!this.computedValue||(this._dateInput?this._dateInput._element.value:"")},handleValueChange:function(e,t){this.$data.currentValue=s(e||void 0),this.$data.currentShow=!1,this.$data.valueDuringOnChange=e,this.$data.showDuringOnChange=!1,this.$data.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:t.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue},validity:this.validity()}),this.$data.valueDuringOnChange=void 0,this.$data.showDuringOnChange=void 0},handleIconClick:function(e){e.stopPropagation(),e.preventDefault(),this.$props.disabled||(this.$data.shouldFocusDateInput=!0,this.setShow(!this.computedShow),this.$emit("iconclick",e))},handleIconMouseDown:function(e){e.stopPropagation(),e.preventDefault()},handleKeyDown:function(e){var t=e.altKey,i=e.keyCode;return i===o.Keys.tab&&this._dateInput&&e.target!==this._dateInput._element?(e.preventDefault(),this.$data.shouldFocusDateInput=!0,void this.setShow(!1)):i===o.Keys.esc?(this.$data.shouldFocusDateInput=!0,void this.setShow(!1)):(!t||i!==o.Keys.up&&i!==o.Keys.down||(e.preventDefault(),e.stopPropagation(),this.$data.shouldFocusDateInput=i===o.Keys.up,this.setShow(i===o.Keys.down)),void this.$emit("keydown",e))}},setup:ii?function(){return{v3:!!ii,listRef:ni(null),kendoAnchorRef:ni(null),kendoLocalizationService:ri("kendoLocalizationService",{})}}:void 0,render:function(e){var t,i=this,n=ii||e,r=(Object(o.getDefaultSlots)(this),this.$props),s=r.disabled,a=r.tabIndex,l=r.title,d=r.id,c=r.format,p=r.formatPlaceholder,f=r.min,m=r.max,v=r.weekNumber,g=r.focusedDate,y=r.width,b=r.name,k=r.validationMessage,S=r.required,w=r.validityStyles,D=r.size,I=r.fillMode,C=r.rounded,$=this.$props.popupSettings,T=$.popupClass,O=$.animate,E=$.appendTo,x=this.computedShow,M=this.computedValue,R=M&&u(M),_=!this.$props.validityStyles||this.validity().valid,F=Object(o.classNames)("k-calendar-container k-group k-reset",T),A=this.$props.toggleButton?o.templateRendering.call(this,this.$props.toggleButton,o.getListeners.call(this)):void 0,z=n(Qt,{tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1,icon:"calendar",title:Object(h.provideLocalizationService)(this).toLanguageString(rt,dt[rt]),"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(rt,dt[rt])},icon:"calendar",onMousedown:this.handleIconMouseDown,on:this.v3?void 0:{mousedown:this.handleIconMouseDown,click:this.handleIconClick},onClick:this.handleIconClick,title:Object(h.provideLocalizationService)(this).toLanguageString(rt,dt[rt]),"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(rt,dt[rt]),class:"k-input-button"}),V=o.getTemplate.call(this,{h:n,template:A,defaultRendering:z,defaultSlots:n("span",{class:"k-icon k-i-calendar"}),additionalListeners:{click:this.handleIconClick}}),j=this.$props.dateInput?o.templateRendering.call(this,this.$props.dateInput,o.getListeners.call(this)):void 0,N=n(Zt,{ref:this.v3?function(e){i.dateInputRef=e}:"dateInput",placeholder:this.$props.placeholder,attrs:this.v3?void 0:{placeholder:this.$props.placeholder,disabled:s,format:c,formatPlaceholder:p,id:d,max:m,min:f,name:b,size:null,rounded:null,fillMode:null,required:S,tabIndex:x?-1:a,title:l,valid:this.validity().valid,validationMessage:k,validityStyles:w,value:M},disabled:s,format:c,formatPlaceholder:p,id:d,max:m,min:f,name:b,size:null,rounded:null,fillMode:null,onChange:this.handleInputValueChange,on:this.v3?void 0:{change:this.handleInputValueChange},required:S,tabIndex:x?-1:a,title:l,valid:this.validity().valid,validationMessage:k,validityStyles:w,value:M}),P=o.getTemplate.call(this,{h:n,template:j,defaultRendering:N}),B=this.$props.calendar?o.templateRendering.call(this,this.$props.calendar,o.getListeners.call(this)):void 0,L=n(wt,{ref:this.v3?function(e){i.calendarRef=e}:"calendar",onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focus:this.calendarFocus,blur:this.calendarBlur,change:this.handleCalendarValueChange},onFocus:this.calendarFocus,onBlur:this.calendarBlur,disabled:s,attrs:this.v3?void 0:{disabled:s,value:R,min:f,max:m,weekNumber:v,focusedDate:g},value:R,min:f,max:m,weekNumber:v,focusedDate:g,onChange:this.handleCalendarValueChange}),H=o.getTemplate.call(this,{h:n,template:B,defaultRendering:L}),U=this.$props.popup?o.templateRendering.call(this,this.$props.popup,o.getListeners.call(this)):void 0,W=n(Jt.a,{show:x,attrs:this.v3?void 0:{show:x,anchor:this._anchor,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},animate:O,appendTo:E},anchor:this._anchor,class:F,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},animate:O,appendTo:E},this.v3?function(){return[H]}:[H]),K=o.getTemplate.call(this,{h:n,template:U,defaultRendering:W,defaultSlots:H}),Y=n("span",{ref:this.v3?function(e){i.kendoAnchorRef=e}:this._anchor,role:"group",attrs:this.v3?void 0:{role:"group","aria-expanded":this.computedShow},"aria-expanded":this.computedShow,class:Object(o.classNames)("k-input","k-datepicker",(t={},t["k-input-"+(o.kendoThemeMaps.sizeMap[D]||D)]=D,t["k-input-"+I]=I,t["k-rounded-"+(o.kendoThemeMaps.roundedMap[C]||C)]=C,t["k-valid"]=_,t["k-invalid"]=!_,t["k-required"]=this.required,t["k-disabled"]=this.$props.disabled,t["k-focus"]=this.$data.isFocused,t)),onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focusin:this.handleFocus,focusout:this.handleBlur},onFocusin:this.handleFocus,onFocusout:this.handleBlur},[P,V,K]);return this.$props.label?n(Wt.FloatingLabel,{label:this.$props.label,attrs:this.v3?void 0:{label:this.$props.label,editorId:d,editorValid:_,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled},editorId:d,editorValid:_,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:y}},this.v3?function(){return[Y]}:[Y]):Y}},si=oi,ai=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n},li=function(){function e(e,t,i){void 0===e&&(e=0),this.total=e,this.rowHeight=t,this.detailRowHeight=i,this.offsets=[],this.heights=[];for(var n=0,r=0;r<e;r++)this.offsets.push(n),n+=t,this.heights.push(t)}return e.prototype.height=function(e){return this.heights[e]},e.prototype.expandDetail=function(e){this.height(e)===this.rowHeight&&this.updateRowHeight(e,this.detailRowHeight)},e.prototype.collapseDetail=function(e){this.height(e)>this.rowHeight&&this.updateRowHeight(e,-1*this.detailRowHeight)},e.prototype.index=function(e){for(var t=0;t<this.offsets.length;t++){if(e===this.offsets[t])return t;if(e<this.offsets[t])return t-1}return this.total-1},e.prototype.offset=function(e){return this.offsets[e]},e.prototype.totalHeight=function(){return this.heights.reduce((function(e,t){return e+t}),0)},e.prototype.updateRowHeight=function(e,t){this.heights[e]+=t,this.offsets=function(e,t,i){return ai(e.slice(0,t+1),e.slice(t+1).map((function(e){return e+i})))}(this.offsets,e,t)},e}(),ui=function(e){return Math.max(e,0)},di=function(e){this.offset=e},ci=function(e){this.skip=e},hi=function(){function e(e,t){this.onScrollAction=e,this.onPageAction=t,this.firstLoaded=0,this.bottomOffset=0,this.topOffset=0}return e.prototype.create=function(e,t,i,n,r,o,s){void 0===r&&(r=0),void 0===o&&(o=0),void 0===s&&(s="vertical"),this.rowHeightService=e,this.firstLoaded=t,this.lastLoaded=t+i,this.take=i,this.total=n,this.lastScrollTop=0,this.topOffset=r,this.bottomOffset=o,this.direction=s;var a=this.rowsForHeight(r),l=ui(t-a);this.onScrollAction(new di(this.rowOffset(l))),this.onPageAction(new ci(l))},e.prototype.onScroll=function(e){var t=e.scrollLeft,i=e.scrollTop,n=e.offsetHeight,r=e.offsetWidth,o="vertical"===this.direction?i:t,s="vertical"===this.direction?n:r;if(this.lastScrollTop!==o){var a=this.lastScrollTop>=o;this.lastScrollTop=o;var l=this.rowHeightService.index(ui(o-this.topOffset)),u=this.rowHeightService.index(ui(o+s-this.bottomOffset));if(!a&&u>=this.lastLoaded&&this.lastLoaded<this.total&&(this.firstLoaded=l,this.onScrollAction(new di(this.rowOffset(l))),this.lastLoaded=Math.min(this.firstLoaded+this.take,this.total),this.onPageAction(new ci(this.firstLoaded))),a&&l<=this.firstLoaded){var d=Math.floor(.3*this.take);this.firstLoaded=ui(l-d),this.onScrollAction(new di(this.rowOffset(this.firstLoaded))),this.lastLoaded=Math.min(this.firstLoaded+this.take,this.total),this.onPageAction(new ci(this.firstLoaded))}}},e.prototype.rowOffset=function(e){return this.rowHeightService.offset(e)+this.topOffset},e.prototype.rowsForHeight=function(e){return Math.ceil(e/this.rowHeightService.height(0))},e}(),pi=r.h;!function(e){e[e.Backward=0]="Backward",e[e.Forward=1]="Forward"}(z||(z={}));var fi,mi,vi,gi,yi=((_={})[z.Forward]=function(e){return function(t){return t+e}},_[z.Backward]=function(e){return function(t){return t-e}},_),bi=((F={})[z.Forward]=function(e){return function(t){return Math.min(t,e)}},F[z.Backward]=function(e){return function(t){return Math.max(t,e)}},F),ki=((A={})[z.Forward]=function(e){return function(t){return t<e}},A[z.Backward]=function(e){return function(t){return t>e}},A),Si={name:"Virtualization",emits:{scroll:null,scrollaction:null},props:{bottomOffset:{type:Number,required:!0},direction:{type:String,default:function(){return"vertical"}},forceScroll:{type:Boolean,default:!1},itemHeight:Number,itemWidth:Number,maxScrollDifference:{type:Number,default:100},scrollDuration:{type:Number,default:100},scrollOffsetSize:{type:Number,default:0},skip:{type:Number,required:!0},tabIndex:Number,take:{type:Number,required:!0},topOffset:{type:Number,required:!0},total:{type:Number,required:!0},role:String},created:function(){this.animationInProgress=!1,this.lastTotal=void 0,this.scrollerService=new hi(this.handleScrollAction,this.handlePageAction)},mounted:function(){this.scrollContainer=this.$refs.scrollContainer},computed:{element:function(){return this.scrollContainer}},methods:{containerOffsetSize:function(){return this.getContainerProperty("vertical"===this.$props.direction?"offsetHeight":"offsetWidth")},containerScrollSize:function(){return this.getContainerProperty("vertical"===this.$props.direction?"scrollHeight":"scrollWidth")},containerScrollPosition:function(){return this.getContainerProperty("vertical"===this.$props.direction?"scrollTop":"scrollLeft")},activeIndex:function(){return this.itemIndex(Math.ceil(this.containerScrollPosition()))},itemIndex:function(e){return this.rowHeightService?this.rowHeightService.index(e):0},itemOffset:function(e){return this.rowHeightService?this.rowHeightService.offset(e):0},isIndexVisible:function(e){if(!this.rowHeightService)return!1;var t=this.containerScrollPosition(),i=t+this.containerOffsetSize(),n=this.rowHeightService.offset(e),r=n+this.rowHeightService.height(e);return n>=t&&r<=i},isListScrolled:function(e){return!!this.rowHeightService&&this.containerScrollPosition()!==this.rowHeightService.offset(e)},scrollTo:function(e){var t="vertical"===this.$props.direction?"scrollTop":"scrollLeft";this.scrollContainer&&(this.scrollContainer[t]=e)},scrollToIndex:function(e){this.rowHeightService&&(this.animationInProgress=!1,this.scrollTo(this.rowHeightService.offset(e)))},animateToIndex:function(e){var t=this;if(this.rowHeightService&&window){window.cancelAnimationFrame(this.cancelAnimation);var i=this.rowHeightService.offset(e),n=this.getContainerScrollDirection(i),r=this.scrollRange(i,n),o=r.start,s=r.end;if(o!==s){var a=this.scrollStep(o,s),l=yi[n](a),u=bi[n](s),d=ki[n](l(s));this.cancelAnimation=window.requestAnimationFrame((function(){!function e(i){t.animationInProgress=!0;var n=l(i);t.scrollTo(u(n)),d(n)?t.cancelAnimation=window.requestAnimationFrame((function(){e(n)})):t.animationInProgress=!1}(o)}))}}},scrollToBottom:function(){this.rowHeightService&&this.scrollTo(this.rowHeightService.totalHeight()+this.$props.bottomOffset)},scrollStep:function(e,t){var i=this.$props.scrollDuration;return Math.abs(t-e)/(i/17)},scrollRange:function(e,t){var i=this.containerScrollPosition();if(parseInt(""+e,10)===parseInt(""+i,10))return{start:e,end:e};var n,r,o,s=this.containerMaxScroll(),a=t===z.Backward?1:-1,l=(n=i,r=e,o=this.$props.maxScrollDifference,Math.min(Math.abs(r-n),o)),u=Math.min(e,s);return{start:Math.min(Math.max(u+a*l,0),s),end:u}},containerMaxScroll:function(){return this.containerScrollSize()-this.containerOffsetSize()},getContainerScrollDirection:function(e){return e<this.containerScrollPosition()?z.Backward:z.Forward},initServices:function(e){var t=e||this.$props,i="vertical"===t.direction?t.itemHeight:t.itemWidth;void 0!==i&&(this.rowHeightService=new li(t.total,i,0),this.scrollerService.create(this.rowHeightService,t.skip,t.take,t.total,t.topOffset,this.$props.scrollOffsetSize,this.$props.direction))},getContainerProperty:function(e){return this.scrollContainer?this.scrollContainer[e]:0},handleScroll:function(e){if(this.scrollContainer&&this.rowHeightService){var t=e.target;this.scrollerService.onScroll({scrollLeft:t.scrollLeft,scrollTop:t.scrollTop,offsetHeight:t.offsetHeight,offsetWidth:t.offsetWidth});var i={index:this.rowHeightService.index(this.containerScrollPosition()-this.$props.topOffset),target:t,scrollAction:this.scrollAction,pageAction:this.pageAction,animationInProgress:this.animationInProgress};this.$emit("scrollaction",i),this.scrollAction=void 0,this.pageAction=void 0}},handleScrollAction:function(e){this.scrollAction=e},handlePageAction:function(e){this.pageAction=e}},setup:pi?function(){return{v3:!!pi}}:void 0,render:function(e){var t=pi||e,i=Object(o.getDefaultSlots)(this);this.lastTotal===this.$props.total&&this.lastDirection===this.$props.direction&&this.lastTake===this.$props.take||(this.initServices(),this.lastTotal=this.$props.total,this.lastDirection=this.$props.direction,this.lastTake=this.$props.take);var n=""+((this.rowHeightService?this.rowHeightService.totalHeight():0)+this.$props.bottomOffset),r="vertical"===this.$props.direction?{height:n+"px"}:{width:n+"px"},s=Object(o.classNames)("k-content k-scrollable",{"k-scrollable-horizontal":"horizontal"===this.$props.direction}),a=Object(o.classNames)("k-scrollable-placeholder",{"k-scrollable-horizontal-placeholder":"horizontal"===this.$props.direction});return t("div",{ref:"scrollContainer",onScroll:this.handleScroll,on:this.v3?void 0:{scroll:this.handleScroll},class:s,tabIndex:this.$props.tabIndex,attrs:this.v3?void 0:{tabIndex:this.$props.tabIndex,role:this.$props.role},role:this.$props.role},[i,t("div",{style:r,class:a})])}},wi=function(e,t){var i=s(e);return i.setHours(t),i},Di=function(e){return null!==e&&e<12},Ii=function(e,t,i){return!t&&!i||e>=t&&e<=i},Ci=function(e,t,i){return!t&&!i||e>=t||e<=i},$i=function(){function e(e){this.intl=e}return e.prototype.apply=function(e,t){var i=e.getHours(),n=Di(i),r=Di(t.getHours());if(n&&r||!n&&!r)return e;var o=this.normalizedRange(),s=o[0],a=o[1],l=void 0===a?24:a,u=i+(r?-12:12);return wi(e,Math.min(Math.max(s,u),l||24))},e.prototype.configure=function(e){var t=e.min,i=void 0===t?this.min:t,n=e.max,r=void 0===n?this.max:n,o=e.part,s=void 0===o?this.part:o;this.min=i,this.max=r,this.part=s},e.prototype.data=function(e){var t=this.part.names;if(!t)return[];var i,n=[],r=this.normalizedRange(),o=r[0],s=r[1],a=this.intl.dateFormatNames(t);return Di(o)&&n.push({text:a.am,value:wi(this.min,o)}),null!==(i=s)&&(!i||i>11)&&n.push({text:a.pm,value:wi(this.min,Math.max(12,s))}),this.min.getHours()!==o?n.reverse():n},e.prototype.isRangeChanged=function(e,t){return!1},e.prototype.limitRange=function(e,t,i){return[e,t]},e.prototype.total=function(){var e=this.normalizedRange(),t=e[0],i=e[1];return(t||i)&&(t>11||i<12)?1:2},e.prototype.selectedIndex=function(e){if(!this.valueInList(e))return-1;var t=Math.floor(e.getHours()/12);return this.min.getHours()===this.normalizedRange()[0]?t:0===t?1:0},e.prototype.valueInList=function(e){return(this.min.getHours()!==this.normalizedRange()[0]?Ci:Ii)(e.getHours(),this.min.getHours(),this.max.getHours())},e.prototype.normalizedRange=function(){var e=this.min.getHours(),t=this.max.getHours();return[Math.min(e,t),Math.max(e,t)]},e}(),Ti=function(){function e(){this.didCalculate=!1}return e.prototype.ensureHeights=function(){void 0===this.timeListHeight&&this.calculateHeights()},e.prototype.calculateHeights=function(e){if(o.canUseDOM){var t=J("div"),i=J("ul"),n=J("li"),r=t([t([t([i([n("<span>02</span>","k-item")],"k-reset")],"k-time-container k-content k-scrollable")],"k-time-list")],"k-time-list-wrapper",{left:"-10000px",position:"absolute"}),s=e&&e.querySelector(".k-time-container"),a=s||document.body,l=a.appendChild(r);this.timeListHeight=s.offsetHeight,this.itemHeight=l.querySelector("li").offsetHeight,a.removeChild(l),this.didCalculate=!0}},e}(),Oi=(fi=24,function(e){return e%fi}),Ei=function(e,t){return Oi(24+e-t)},xi=function(e){return function(t,i){return!i||u(t).getTime()===u(i).getTime()?t:zt(t,e)}},Mi=xi(0),Ri=xi(23),_i=function(){function e(e){this.intl=e,this.boundRange=!1,this.insertUndividedMax=!1}return e.prototype.apply=function(e,t){return zt(e,t.getHours())},e.prototype.configure=function(e){var t=this,i=e.boundRange,n=void 0===i?this.boundRange:i,r=e.insertUndividedMax,o=void 0===r?this.insertUndividedMax:r,s=e.min,a=void 0===s?this.min:s,l=e.max,u=void 0===l?this.max:l,d=e.part,c=e.step,h=void 0===c?this.step:c;this.boundRange=n,this.insertUndividedMax=o,this.toListItem=function(e){var i=zt(N,e);return{text:t.intl.formatDate(i,d.pattern),value:i}},this.min=a,this.max=u,this.step=h},e.prototype.data=function(e){var t,i,n=this,r=this.range(e)[0],o=(t=r,i=this.step,function(e){return Oi(t+e*i)}),s=Pt(0,this.countFromMin(e)).map((function(e){return n.toListItem(o(e))}));return this.addLast(s),e&&this.addMissing(s,e),s},e.prototype.isRangeChanged=function(e,t){return!d(this.min,e)||!d(this.max,t)},e.prototype.limitRange=function(e,t,i){return this.boundRange?[Mi(e,i),Ri(t,i)]:[e,t]},e.prototype.total=function(e){var t=this.insertUndividedMax&&this.isLastMissing(e)?1:0,i=this.isMissing(e)?1:0;return this.countFromMin(e)+i+t},e.prototype.selectedIndex=function(e){return Math.ceil(this.divideByStep(e))},e.prototype.valueInList=function(e){return!e||(this.insertUndividedMax&&this.lastHour(e)===e.getHours()||!this.isMissing(e))},e.prototype.addLast=function(e,t){return this.insertUndividedMax&&this.isLastMissing(t)&&e.push(this.toListItem(this.lastHour(t))),e},e.prototype.addMissing=function(e,t){if(this.valueInList(t))return e;var i=this.toListItem(t.getHours());return e.splice(this.selectedIndex(t),0,i),e},e.prototype.countFromMin=function(e){var t=this.range(e),i=t[0],n=t[1];return Math.floor(Ei(n,i)/this.step)+1},e.prototype.isMissing=function(e){return!!e&&this.selectedIndex(e)!==this.divideByStep(e)},e.prototype.isLastMissing=function(e){return this.isMissing(zt(this.max,this.lastHour(e)))},e.prototype.divideByStep=function(e){return Ei(e.getHours(),this.min.getHours())/this.step},e.prototype.lastHour=function(e){return this.range(e)[1]},e.prototype.range=function(e){var t=this.limitRange(this.min,this.max,e),i=t[0],n=t[1];return[i.getHours(),n.getHours()]},e}(),Fi=function(e){return function(t){return t%e}}(60),Ai=function(e,t){return Fi(60+e-t)},zi=function(e){return function(t,i){return!i||t.getHours()===i.getHours()?t:Vt(t,e)}},Vi=zi(0),ji=zi(59),Ni=function(){function e(e){this.intl=e,this.insertUndividedMax=!1}return e.prototype.apply=function(e,t){return Vt(e,t.getMinutes())},e.prototype.configure=function(e){var t=this,i=e.insertUndividedMax,n=void 0===i?this.insertUndividedMax:i,r=e.min,o=void 0===r?this.min:r,s=e.max,a=void 0===s?this.max:s,l=e.part,u=e.step,d=void 0===u?this.step:u;this.insertUndividedMax=n,this.toListItem=function(e){var i=Vt(N,e);return{text:t.intl.formatDate(i,l.pattern),value:i}},this.min=o,this.max=a,this.step=d},e.prototype.data=function(e){var t,i,n=this,r=this.range(e)[0],o=(t=r,i=this.step,function(e){return Fi(t+e*i)}),s=Pt(0,this.countFromMin(e)).map((function(e){return n.toListItem(o(e))}));return this.addLast(s),e&&this.addMissing(s,e),s},e.prototype.isRangeChanged=function(e,t){return!d(this.min,e)||!d(this.max,t)},e.prototype.limitRange=function(e,t,i){return[Vi(e,i),ji(t,i)]},e.prototype.total=function(e){var t=this.insertUndividedMax&&this.isLastMissing(e)?1:0,i=this.isMissing(e)?1:0;return this.countFromMin(e)+i+t},e.prototype.selectedIndex=function(e){return Math.ceil(this.divideByStep(e))},e.prototype.valueInList=function(e){return!e||(this.insertUndividedMax&&this.lastMinute(e)===e.getMinutes()||!this.isMissing(e))},e.prototype.addLast=function(e,t){return this.insertUndividedMax&&this.isLastMissing(t)&&e.push(this.toListItem(this.lastMinute(t))),e},e.prototype.addMissing=function(e,t){if(this.valueInList(t))return e;var i=this.toListItem(t.getMinutes());return e.splice(this.selectedIndex(t),0,i),e},e.prototype.countFromMin=function(e){var t=this.range(e),i=t[0],n=t[1];return Math.floor(Ai(n,i)/this.step)+1},e.prototype.isMissing=function(e){return!!e&&this.selectedIndex(e)!==this.divideByStep(e)},e.prototype.isLastMissing=function(e){return this.isMissing(Vt(this.max,this.lastMinute(e)))},e.prototype.divideByStep=function(e){return Ai(e.getMinutes(),this.min.getMinutes())/this.step},e.prototype.lastMinute=function(e){return this.range(e)[1]},e.prototype.range=function(e){var t=this.limitRange(this.min,this.max,e),i=t[0],n=t[1];return[i.getMinutes(),n.getMinutes()]},e}(),Pi=function(e){return function(t){return t%e}}(60),Bi=function(e,t){return Pi(60+e-t)},Li=function(e){return function(t,i){return!i||t.getMinutes()===i.getMinutes()&&t.getHours()===i.getHours()?t:jt(t,e)}},Hi=Li(0),Ui=Li(59),Wi=function(){function e(e){this.intl=e,this.insertUndividedMax=!1}return e.prototype.apply=function(e,t){return jt(e,t.getSeconds())},e.prototype.configure=function(e){var t=this,i=e.insertUndividedMax,n=void 0===i?this.insertUndividedMax:i,r=e.min,o=void 0===r?this.min:r,s=e.max,a=void 0===s?this.max:s,l=e.part,u=e.step,d=void 0===u?this.step:u;this.insertUndividedMax=n,this.toListItem=function(e){var i=jt(N,e);return{text:t.intl.formatDate(i,l.pattern),value:i}},this.min=o,this.max=a,this.step=d},e.prototype.data=function(e){var t,i,n=this,r=this.range(e)[0],o=(t=r,i=this.step,function(e){return Pi(t+e*i)}),s=Pt(0,this.countFromMin(e)).map((function(e){return n.toListItem(o(e))}));return this.addLast(s),e&&this.addMissing(s,e),s},e.prototype.isRangeChanged=function(e,t){return!d(this.min,e)||!d(this.max,t)},e.prototype.limitRange=function(e,t,i){return[Hi(e,i),Ui(t,i)]},e.prototype.total=function(e){var t=this.insertUndividedMax&&this.isLastMissing(e)?1:0,i=this.isMissing(e)?1:0;return this.countFromMin(e)+i+t},e.prototype.selectedIndex=function(e){return Math.ceil(this.divideByStep(e))},e.prototype.valueInList=function(e){return!e||(this.insertUndividedMax&&this.lastSecond(e)===e.getSeconds()||!this.isMissing(e))},e.prototype.divideByStep=function(e){return Bi(e.getSeconds(),this.min.getSeconds())/this.step},e.prototype.addLast=function(e,t){return this.insertUndividedMax&&this.isLastMissing(t)&&e.push(this.toListItem(this.lastSecond(t))),e},e.prototype.addMissing=function(e,t){if(this.valueInList(t))return e;var i=this.toListItem(t.getSeconds());return e.splice(this.selectedIndex(t),0,i),e},e.prototype.countFromMin=function(e){var t=this.range(e),i=t[0],n=t[1];return Math.floor(Bi(n,i)/this.step)+1},e.prototype.isMissing=function(e){return!!e&&this.selectedIndex(e)!==this.divideByStep(e)},e.prototype.isLastMissing=function(e){return this.isMissing(jt(this.max,this.lastSecond(e)))},e.prototype.lastSecond=function(e){return this.range(e)[1]},e.prototype.range=function(e){var t=this.limitRange(this.min,this.max,e),i=t[0],n=t[1];return[i.getSeconds(),n.getSeconds()]},e}(),Ki=r,Yi=Ki.h,Gi=Ki.inject,qi=((mi={})[o.Keys.end]=function(e,t){return e[e.length-1]},mi[o.Keys.home]=function(e,t){return e[0]},mi[o.Keys.up]=function(e,t){return e[t-1]},mi[o.Keys.down]=function(e,t){return e[t+1]},mi),Zi=((vi={})[Tt]=$i,vi[Ot]=_i,vi[Et]=Ni,vi[xt]=Wi,vi),Xi={name:"KendoTimeList",emits:{change:null,focus:null,blur:null},props:{id:Number,boundRange:{type:Boolean,default:!1},max:{type:Date,default:function(){return H}},min:{type:Date,default:function(){return N}},part:Object,step:{type:Number,default:1},value:Date,smoothScroll:{type:Boolean,default:!0}},inject:{kendoIntlService:{default:null}},data:function(){return{animateToIndex:!1}},created:function(){this.topOffset=void 0,this.dom=new Ti},computed:{animate:function(){return Boolean(this.$props.smoothScroll&&this.animateToIndex)}},mounted:function(){var e=this;this.virtualization=this.$refs.virtualization,Promise.resolve().then((function(){e.$el&&(e.dom.calculateHeights(e.$el),e.$forceUpdate())}))},updated:function(){if(this.$refs.virtualization){this.virtualization=this.$refs.virtualization;var e=this.service.selectedIndex(this.$props.value);this.virtualization[this.animate?"animateToIndex":"scrollToIndex"](e),this.animateToIndex=!0}},setup:Yi?function(){return{v3:!!Yi,kendoIntlService:Gi("kendoIntlService",{})}}:void 0,render:function(e){var t=this,i=Yi||e;if(this.$props.part.type&&Zi[this.$props.part.type]){this.calculateHeights(),this.intl=Object(h.provideIntlService)(this),this.service=new Zi[this.$props.part.type](this.intl),this.configureServices();var n=this.service.data(this.$props.value),r="translateY("+this.topOffset+"px)",o=this.service.total(this.$props.value),s=function(){return i("ul",{style:{transform:r,msTransform:r},class:"k-reset"},[n.map((function(e,t){var n=this;return i("li",{key:t,class:"k-item",onClick:function(){n.handleChange(e)},on:this.v3?void 0:{click:function(){n.handleChange(e)}}},[i("span",[e.text])])}),this)])};return i("div",{class:"k-time-list",id:String(this.$props.id||""),attrs:this.v3?void 0:{id:String(this.$props.id||""),tabIndex:this.$props.disabled?-1:0},tabIndex:this.$props.disabled?-1:0,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focusin:this.handleFocus,focusout:this.handleBlur,mouseover:this.handleMouseOver},onFocusin:this.handleFocus,onFocusout:this.handleBlur,onMouseover:this.handleMouseOver},[this.dom.didCalculate?i(Si,{bottomOffset:this.bottomOffset,attrs:this.v3?void 0:{bottomOffset:this.bottomOffset,itemHeight:this.itemHeight,maxScrollDifference:this.listHeight,role:"presentation",skip:0,tabIndex:-1,take:o,topOffset:this.topOffset,total:o},class:"k-time-container",itemHeight:this.itemHeight,maxScrollDifference:this.listHeight,onScrollaction:this.handleScrollAction,on:this.v3?void 0:{scrollaction:this.handleScrollAction},ref:"virtualization",role:"presentation",skip:0,tabIndex:-1,take:o,topOffset:this.topOffset,total:o},this.v3?function(){return[s.call(t)]}:[s.call(t)]):i("div",{class:"k-time-container"},[s.call(this)])])}},methods:{focus:function(e){var t=this;Promise.resolve().then((function(){t.$el&&t.$el.focus(e)}))},itemOffset:function(e){if(!this.virtualization)return-1;var t=this.service.selectedIndex(this.$props.value),i=this.virtualization.activeIndex(),n=this.virtualization.itemOffset(i),r=Math.abs(Math.ceil(e)-n);if(t===i&&r<2)return n;var o=t>i;return o&&r>=this.bottomThreshold||!o&&r>this.topThreshold?this.virtualization.itemOffset(i+1):n},calculateHeights:function(){this.dom.didCalculate&&(this.itemHeight=this.dom.itemHeight,this.listHeight=this.dom.timeListHeight,this.topOffset=(this.listHeight-this.itemHeight)/2,this.bottomOffset=this.listHeight-this.itemHeight,this.topThreshold=.05*this.itemHeight,this.bottomThreshold=.95*this.itemHeight)},configureServices:function(e){var t=e||this.$props,i=t.min,n=t.max,r=t.value,o=this.service.limitRange(i||this.$props.min,n||this.$props.max,r||this.$props.value),s=o[0],a=o[1];this.service.configure(this.serviceSettings({min:s,max:a}))},serviceSettings:function(e){var t={boundRange:this.$props.boundRange,insertUndividedMax:!1,min:s(this.$props.min),max:s(this.$props.max),part:this.$props.part,step:this.$props.step},i=Object.assign({},t,e);return i.boundRange="hour"!==i.part.type||this.$props.boundRange,i},handleScrollAction:function(e){var t=e.target,i=e.animationInProgress;if(this.virtualization&&t&&!i){this.animateToIndex=!1;var n=this.virtualization.itemIndex(this.itemOffset(t.scrollTop)),r=this.service.data(this.$props.value)[n];this.handleChange(r)}},handleFocus:function(e){this.$emit("focus",e)},handleBlur:function(e){this.$emit("blur",e)},handleMouseOver:function(){this.$el&&o.canUseDOM&&document.activeElement!==this.$el&&this.$el.focus({preventScroll:!0})},handleKeyDown:function(e){var t=e.keyCode;t!==o.Keys.down&&t!==o.Keys.up&&t!==o.Keys.end&&t!==o.Keys.home||e.preventDefault();var i=(qi[e.keyCode]||o.noop)(this.service.data(this.$props.value),this.service.selectedIndex(this.$props.value));i&&this.handleChange(i)},handleChange:function(e){var t=this.service.apply(this.$props.value,e.value);this.$props.value.getTime()!==t.getTime()&&(this.currentValue=t,this.$emit("change",t))}}},Ji=r,Qi=Ji.h,en=Ji.inject,tn=new RegExp(Ot+"|"+Et+"|"+xt+"|"+Tt+"|literal");!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(gi||(gi={}));var nn,rn={name:"KendoTimePart",props:{cancelButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},format:{type:String,default:function(){return"hh:mm a"}},max:{type:Date,default:function(){return H}},min:{type:Date,default:function(){return L}},nowButton:{type:Boolean,default:!0},steps:{type:Object,default:function(){return{}}},smoothScroll:{type:Boolean,default:!0},tabIndex:Number,value:{type:Date,default:function(){return null}}},emits:{change:null,focus:null,blur:null,nowclick:null},created:function(){this.timeLists=[],this.snapTime=At(Ft(this.$props.steps,this.$props.min)),this.activeListIndex=-1,this.hasActiveButton=this.hasActiveButton.bind(this)},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},data:function(){return{activeListIndex:null}},computed:{element:function(){return this._element},computedValue:function(){return function(e,t,i){if(!e||!t||!i)return e;var n=Bt(e,t,i),r=n.candidateValue,o=n.minValue,s=n.maxValue;return r<o?U(e,t):r>s?U(e,i):e}(this.snapTime(s(this.$props.value||N)),this.computedMin,this.computedMax)},intl:function(){return Object(h.provideIntlService)(this)},computedMin:function(){return this.snapTime(this.$props.min)},computedMax:function(){return this.snapTime(this.$props.max)}},mounted:function(){var e=this;this._nowButton=this.$refs.nowButton,this.dateFormatParts.forEach((function(t,i){"literal"!==t.type&&e.timeLists.push(e.$refs["timeList"+i])}))},setup:Qi?function(){return{v3:!!Qi,kendoIntlService:en("kendoIntlService",{}),kendoLocalizationService:en("kendoLocalizationService",{})}}:void 0,render:function(e){var t=Qi||e,i=this.$props,n=i.format,r=i.smoothScroll,s=i.disabled;this.snapTime=At(Ft(this.$props.steps,this.computedMin)),this.dateFormatParts=this.intl.splitDateFormat(n).filter(this.timeFormatFilter);var a=Object(o.classNames)({"k-state-disabled":s},"k-time-part"),l=Object(h.provideLocalizationService)(this),u=l.toLanguageString(lt,dt[lt]);return t("div",{class:a},[t("div",{class:"k-time-header"},[t("span",{class:"k-title"},[this.intl.formatDate(this.computedValue,this.dateFormatParts.reduce(this.timeFormatReducer,""))]),this.showNowButton()&&t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",fillMode:"flat",title:u,"aria-label":u,tabIndex:s?-1:0},ref:"nowButton",fillMode:"flat",class:"k-time-now",title:u,"aria-label":u,onClick:this.onNowClick,on:this.v3?void 0:{click:this.onNowClick},tabIndex:s?-1:0},this.v3?function(){return[l.toLanguageString("timepicker.now",dt["timepicker.now"])]}:[l.toLanguageString("timepicker.now",dt["timepicker.now"])])]),t("div",{class:"k-time-list-container",onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown}},[t("span",{class:"k-time-highlight"}),this.dateFormatParts.map((function(e,i){var n=this;return"literal"!==e.type?t("div",{key:i,class:Object(o.classNames)("k-time-list-wrapper",{"k-state-focused":i===this.activeListIndex}),role:"presentation",attrs:this.v3?void 0:{role:"presentation",tabIndex:-1},tabIndex:-1},[t("span",{class:"k-title",onMousedown:function(e){e.preventDefault()},on:this.v3?void 0:{mousedown:function(e){e.preventDefault()}}},[this.intl.dateFieldName(e)]),t(Xi,{min:this.computedMin,attrs:this.v3?void 0:{min:this.computedMin,max:this.computedMax,boundRange:this.$props.boundRange,part:e,step:e.type?this.$props.steps[e.type]:1,smoothScroll:r,id:i,value:this.computedValue,disabled:s},max:this.computedMax,boundRange:this.$props.boundRange,part:e,step:e.type?this.$props.steps[e.type]:1,smoothScroll:r,ref:"timeList"+i,id:i,onFocus:function(e){n.handleListFocus(e,i)},on:this.v3?void 0:{focus:function(e){n.handleListFocus(e,i)},blur:this.handleListBlur,change:this.handleChange},onBlur:this.handleListBlur,onChange:this.handleChange,value:this.computedValue,disabled:s})]):t("div",{key:i,class:"k-time-separator"},[e.pattern])}),this)])])},methods:{onNowClick:function(e){this.$emit("nowclick",e)},focus:function(e){var t=this;this.$nextTick((function(){var i=t.timeLists[0];!t.hasActiveButton()&&i&&i.$el&&i.focus(e)}))},timeFormatReducer:function(e,t){return e+t.pattern},timeFormatFilter:function(e,t,i){var n=t>=1&&i[t-1];return n&&n&&"literal"===e.type?tn.test(n.type||""):tn.test(e.type||"")},hasActiveButton:function(){return o.canUseDOM&&document.activeElement===this._nowButton.$el},focusList:function(e){this.timeLists.length&&this.timeLists.reduce(this.listReducer,[]).map((function(t){return e===gi.Right?t.next:t.prev})).map((function(e){return e&&e.$el&&e.$el.focus({preventScroll:!0})}))},listReducer:function(e,t,i,n){return e.length||t.$props.id!==this.activeListIndex?e:[{next:n[i+1]||t,prev:n[i-1]||t}]},showNowButton:function(){return!this.hasSteps()&&this.$props.nowButton&&Lt(Nt(),this.computedMin,this.computedMax)},hasSteps:function(){var e=this,t=Object.keys(this.$props.steps);return t.length!==t.reduce((function(t,i){return t+e.$props.steps[i]}),0)},handleKeyDown:function(e){switch(e.keyCode){case o.Keys.left:return e.preventDefault(),void this.focusList(gi.Left);case o.Keys.right:return e.preventDefault(),void this.focusList(gi.Right);default:return}},handleListBlur:function(e){this.$emit("blur",e)},handleListFocus:function(e,t){this.$emit("focus",e),this.activeListIndex=t},handleChange:function(e){this.$emit("change",e)}}},on=r,sn=on.h,an=on.inject;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(nn||(nn={}));var ln={name:"KendoTimeSelector",emits:{change:null,focus:null,blur:null},props:{cancelButton:{type:Boolean,default:!0},boundRange:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},format:{type:String,default:function(){return"t"}},max:{type:Date,default:function(){return H}},min:{type:Date,default:function(){return L}},nowButton:Boolean,steps:{type:Object,default:function(){return{}}},smoothScroll:{type:Boolean,default:!0},tabIndex:Number,value:{type:Date,default:function(){return null}}},created:function(){this.dateFormatParts=this.intl.splitDateFormat(this.$props.format),this.mergeValue=function(e){return function(t,i){return t.setHours.apply(t,e.map((function(e){return e(t,i)}))),t}}(_t(this.dateFormatParts)),this.hasActiveButton=this.hasActiveButton.bind(this),this.currentState=this.$props.value||N,this.currentValue=this.$props.value},inject:{kendoIntlService:{default:null},kendoLocalizationService:{default:null}},data:function(){return{currentState:null,currentValue:null,valueDuringOnChange:void 0}},computed:{computedValue:function(){var e=void 0!==this.valueDuringOnChange?this.valueDuringOnChange:null!==this.$props.value?this.$props.value:this.currentValue;return null!==e?s(e):null},intl:function(){return Object(h.provideIntlService)(this)},current:function(){return null!==this.currentState?s(this.currentState):null}},mounted:function(){this.timePart=this.$refs.timePart,this._acceptButton=this.$refs.acceptButton,this._cancelButton=this.$refs.cancelButton},setup:sn?function(){return{v3:!!sn,kendoIntlService:an("kendoIntlService",{}),kendoLocalizationService:an("kendoLocalizationService",{})}}:void 0,render:function(e){var t=sn||e,i=this.$props,n=i.format,r=i.cancelButton,s=i.disabled,a=i.tabIndex,l=i.smoothScroll,u=i.min,d=i.max,c=i.boundRange,p=i.nowButton,f=i.steps,m=Object(h.provideLocalizationService)(this),v=m.toLanguageString("timepicker.cancel",dt["timepicker.cancel"]),g=m.toLanguageString("timepicker.set",dt["timepicker.set"]);return t("div",{tabIndex:s?void 0:a||0,attrs:this.v3?void 0:{tabIndex:s?void 0:a||0},class:Object(o.classNames)("k-timeselector k-reset",{"k-state-disabled":s}),onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown}},[t(rn,{ref:"timePart",value:this.current,attrs:this.v3?void 0:{value:this.current,format:n,smoothScroll:l,min:u,max:d,boundRange:c,disabled:s,nowButton:p,steps:f},onChange:this.handleChange,on:this.v3?void 0:{change:this.handleChange,nowclick:this.handleNowClick,focus:this.handleFocus,blur:this.handleBlur},onNowclick:this.handleNowClick,format:n,smoothScroll:l,min:u,max:d,onFocus:this.handleFocus,onBlur:this.handleBlur,boundRange:c,disabled:s,nowButton:p,steps:f}),t("div",{class:"k-time-footer k-actions k-actions-stretched"},[r&&t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",title:v,"aria-label":v},ref:"cancelButton",class:"k-time-cancel",onClick:this.handleReject,on:this.v3?void 0:{click:this.handleReject},title:v,"aria-label":v},this.v3?function(){return[v]}:[v]),t(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",themeColor:"primary",title:g,"aria-label":g},ref:"acceptButton",themeColor:"primary",class:"k-time-accept",onClick:this.handleAccept,on:this.v3?void 0:{click:this.handleAccept},title:g,"aria-label":g},this.v3?function(){return[g]}:[g])])])},methods:{handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},focusActiveList:function(){this.timePart&&this.timePart.focus({preventScroll:!0})},hasActiveButton:function(){return!!this._acceptButton&&(o.canUseDOM&&(document.activeElement===this._acceptButton.$el||document.activeElement===this._cancelButton.$el))},handleKeyDown:function(e){var t=e.keyCode;switch(this.$emit("keydown",e),t){case o.Keys.enter:return void(this.hasActiveButton()||this.handleAccept(e));default:return}},handleAccept:function(e){var t=this.mergeValue(s(this.computedValue||Nt()),this.timePart?this.timePart.value:this.current);this.currentValue=t,this.valueDuringOnChange=t,this.$emit("change",{event:e,value:this.computedValue,target:this}),this.valueDuringOnChange=void 0},handleReject:function(e){this.currentState=this.computedValue,this.$emit("reject",e)},handleNowClick:function(e){var t=this.mergeValue(s(this.computedValue||Nt()),Nt());this.currentState=t,this.currentValue=t,this.valueDuringOnChange=t,this.$emit("change",{event:e,value:this.computedValue,target:this}),this.valueDuringOnChange=void 0},handleChange:function(e){this.currentState=e}}},un=function(){return(un=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},dn=r,cn=dn.h,hn=dn.ref,pn=dn.inject,fn={name:"KendoTimePicker",emits:{changemodel:null,"update:modelValue":null,iconclick:null,change:null,focus:null,blur:null,keydown:null},model:{event:"changemodel"},props:{cancelButton:{type:Boolean,default:!0},nowButton:{type:Boolean,default:void 0},defaultShow:{type:Boolean,default:!1},modelValue:{type:Date,default:void 0},defaultValue:{type:Date,default:function(){return null}},dateInput:{type:[String,Object,Function],default:function(){}},popup:{type:[String,Object,Function],default:function(){}},disabled:{type:Boolean,default:!1},format:{type:[String,Object],default:function(){return"t"}},formatPlaceholder:{type:[String,Object],default:function(){return"wide"}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},id:String,ariaLabelledBy:String,ariaDescribedBy:String,min:{type:Date,default:function(){return L}},max:{type:Date,default:function(){return H}},name:String,label:String,placeholder:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},steps:{type:Object,default:function(){return{}}},smoothScroll:{type:Boolean,default:!0},title:{type:String,default:function(){return""}},value:{type:Date,default:function(){}},width:[Number,String],validationMessage:String,required:{type:Boolean,default:!1},validityStyles:{type:Boolean,default:!0},validate:Boolean,valid:{type:Boolean,default:void 0}},created:function(){this._anchor=Object(o.guid)(),this._popupId=Object(o.guid)(),this._element=null,this._wrapper=null,this._dateInput=null,this._timeSelector=null,this.shouldFocusDateInput=!1,this.currentValue=this.$props.defaultValue,this.currentShow=this.$props.defaultShow},inject:{kendoLocalizationService:{default:null}},data:function(){return{currentValue:null,currentShow:!1,valueDuringOnChange:void 0,showDuringOnChange:void 0,isFocused:!1}},computed:{timeSelector:function(){return this._timeSelector},computedValue:function(){var e=void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue;return null!==e?s(e):null},computedShow:function(){return void 0!==this.showDuringOnChange?this.showDuringOnChange:void 0!==this.$props.show?this.$props.show:this.currentShow}},watch:{show:function(e,t){this._oldShow=t},currentShow:function(e,t){this._oldShow=t}},mounted:function(){this.computedShow&&this.$forceUpdate(),this._dateInput=this.v3?this.dateInputRef:this.$refs.dateInput,this._timeSelector=this.$refs.timeSelector,this._wrapper=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],this._dateInput&&this._dateInput.element()&&(this._dateInput.element().setAttribute("aria-haspopup","true"),this._dateInput.element().setAttribute("aria-expanded",""+this.computedShow))},updated:function(){this._dateInput=this.v3?this.dateInputRef:this.$refs.dateInput,this._timeSelector=this.$refs.timeSelector,this._wrapper=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],this._dateInput&&this._dateInput.element()&&this._dateInput.element().setAttribute("aria-expanded",""+this.computedShow),this._timeSelector&&this.computedShow&&!this._oldShow?this._timeSelector.focusActiveList():this._dateInput&&this._dateInput.element()&&!this.computedShow&&this.shouldFocusDateInput&&this._dateInput.element().focus({preventScroll:!0}),this.shouldFocusDateInput=!1},setup:cn?function(){return{v3:!!cn,kendoAnchorRef:hn(null),kendoLocalizationService:pn("kendoLocalizationService",{})}}:void 0,render:function(e){var t,i=this,n=cn||e,r=Object(o.getDefaultSlots)(this),s=this.$props,a=s.disabled,l=s.tabIndex,u=s.title,d=s.id,c=s.placeholder,p=s.format,f=s.formatPlaceholder,m=s.smoothScroll,v=s.width,g=s.name,y=s.steps,b=s.cancelButton,k=s.nowButton,S=s.validationMessage,w=s.required,D=s.validityStyles,I=s.ariaLabelledBy,C=s.ariaDescribedBy,$=s.size,T=s.rounded,O=s.fillMode,E=this.$props.popupSettings,x=E.popupClass,M=E.appendTo,R=E.animate,_=!this.$props.validityStyles||this.validity().valid,F=(Object(o.classNames)("k-picker-wrap",{"k-invalid":!_,"k-disabled":a,"k-focus":this.isFocused}),Object(o.classNames)("k-group k-reset",x)),A=Object(h.provideLocalizationService)(this),z=A.toLanguageString(ut,dt[ut]),V=A.toLanguageString("timepicker.toggleTimeSelector",dt["timepicker.toggleTimeSelector"]),j=this.$props.dateInput?o.templateRendering.call(this,this.$props.dateInput,o.getListeners.call(this)):void 0,N=n(Zt,{ref:this.v3?function(e){i.dateInputRef=e}:"dateInput",placeholder:c,attrs:this.v3?void 0:{placeholder:c,disabled:a,format:p,formatPlaceholder:f,id:d,size:null,rounded:null,fillMode:null,ariaLabelledBy:I,ariaDescribedBy:C,max:this.normalizeTime(this.$props.max),min:this.normalizeTime(this.$props.min),name:g,required:w,steps:y,tabIndex:this.computedShow?-1:l,title:u,valid:this.validity().valid,validationMessage:S,validityStyles:D,value:this.computedValue&&this.normalizeTime(this.computedValue)},disabled:a,format:p,formatPlaceholder:f,id:d,size:null,rounded:null,fillMode:null,ariaLabelledBy:I,ariaDescribedBy:C,max:this.normalizeTime(this.$props.max),min:this.normalizeTime(this.$props.min),name:g,onChange:this.handleInputValueChange,on:this.v3?void 0:{change:this.handleInputValueChange},required:w,steps:y,tabIndex:this.computedShow?-1:l,title:u,valid:this.validity().valid,validationMessage:S,validityStyles:D,value:this.computedValue&&this.normalizeTime(this.computedValue)},this.v3?function(){return[r]}:[r]),P=n(ln,{ref:"timeSelector",cancelButton:b,attrs:this.v3?void 0:{cancelButton:b,disabled:a,nowButton:k,format:p,min:this.$props.min,max:this.$props.max,steps:y,smoothScroll:m,value:this.computedValue},disabled:a,nowButton:k,format:p,min:this.$props.min,max:this.$props.max,steps:y,smoothScroll:m,value:this.computedValue,onChange:this.handleValueChange,on:this.v3?void 0:{change:this.handleValueChange,reject:this.handleValueReject,focus:this.timeFocus,blur:this.timeBlur,keydown:this.handleKeyDown},onReject:this.handleValueReject,onFocus:this.timeFocus,onBlur:this.timeBlur,onKeydown:this.handleKeyDown}),B=o.getTemplate.call(this,{h:n,template:j,defaultRendering:N}),L=this.$props.popup?o.templateRendering.call(this,this.$props.popup,o.getListeners.call(this)):void 0,H=n(Jt.a,{show:this.computedShow,attrs:this.v3?void 0:{show:this.computedShow,anchor:this._anchor,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:M,animate:R},anchor:this._anchor,class:F,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:M,animate:R},this.v3?function(){return[P]}:[P]),U=o.getTemplate.call(this,{h:n,template:L,defaultRendering:H,defaultSlots:P}),W=n("div",{class:Object(o.classNames)("k-input","k-timepicker",(t={},t["k-input-"+(o.kendoThemeMaps.sizeMap[$]||$)]=$,t["k-input-"+O]=O,t["k-rounded-"+(o.kendoThemeMaps.roundedMap[T]||T)]=T,t["k-valid"]=_,t["k-invalid"]=!_,t["k-required"]=this.required,t["k-disabled"]=this.$props.disabled,t["k-focus"]=this.isFocused,t)),onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focusin:this.handleFocus,focusout:this.handleBlur},style:{width:v},onFocusin:this.handleFocus,onFocusout:this.handleBlur,ref:this.v3?function(e){i.kendoAnchorRef=e}:this._anchor},[B,n(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",tabIndex:-1,icon:"clock",title:V,"aria-controls":this._popupId,"aria-label":z},tabIndex:-1,icon:"clock",onMousedown:this.handleIconMouseDown,on:this.v3?void 0:{mousedown:this.handleIconMouseDown,click:this.handleIconClick},onClick:this.handleIconClick,title:V,class:"k-input-button","aria-controls":this._popupId,"aria-label":z}),U]);return this.$props.label?n(Wt.FloatingLabel,{label:this.$props.label,attrs:this.v3?void 0:{label:this.$props.label,editorId:d,editorValid:_,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled},editorId:d,editorValid:_,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:v}},this.v3?function(){return[W]}:[W]):W},methods:{validity:function(){var e=this.computedValue&&this.normalizeTime(this.computedValue),t=this.normalizeTime(this.$props.min),i=this.normalizeTime(this.$props.max),n=function(e,t,i){if(null===e)return!0;var n=Bt(e,t,i),r=n.candidateValue,o=n.minValue,s=n.maxValue;return o<=r&&r<=s}(e,t,i),r=void 0!==this.$props.validationMessage,o=(!this.$props.required||null!==this.computedValue)&&n,s=void 0!==this.$props.valid?this.$props.valid:o;return{customError:r,rangeOverflow:Ut(e,i),rangeUnderflow:Ht(e,t),valid:s,valueMissing:null===this.computedValue}},getDateInputText:function(){return!!this.computedValue||(this._dateInput?this._dateInput._element.value:"")},focus:function(){this._dateInput&&this._dateInput.focus()},normalizeTime:function(e){return U(N,e)},setShow:function(e){this.computedShow!==e&&(this.currentShow=e)},mergeTime:function(e){return this.computedValue&&e?U(this.computedValue,e):e},handleInputValueChange:function(e){var t=this.mergeTime(e.value);this.handleValueChange(un(un({},e),{value:t}))},handleValueChange:function(e){this.currentValue=s(e.value),this.currentShow=!1,this.valueDuringOnChange=e.value,this.showDuringOnChange=!1,this.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:e.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue}}),this.valueDuringOnChange=void 0,this.showDuringOnChange=void 0},handleFocus:function(e){this._oldShow=this.computedShow,this.isFocused=!0,this.$emit("focus",e)},handleBlur:function(e){this.createBlurTimeout(),this.$emit("blur",e)},timeBlur:function(e){this.$emit("blur",e),clearTimeout(this._blurTimeout),this.createBlurTimeout()},timeFocus:function(){clearTimeout(this._blurTimeout)},createBlurTimeout:function(){var e=this;this._blurTimeout=setTimeout((function(){e.isFocused=!1,e._dateInput&&o.canUseDOM&&document.activeElement!==e._dateInput.element()&&document.activeElement&&-1===document.activeElement.className.indexOf("k-time-list")&&e.setShow(!1)}),200)},handleValueReject:function(e){this.setShow(!1)},handleIconClick:function(e){this.$props.disabled||(this.shouldFocusDateInput=!0,this.setShow(!this.computedShow),this.$emit("iconclick",e))},handleIconMouseDown:function(e){e.preventDefault()},handleKeyDown:function(e){var t=e.altKey,i=e.keyCode;return i===o.Keys.tab&&e.target!==this._dateInput._element?(e.preventDefault(),this.shouldFocusDateInput=!0,void this.setShow(!1)):i===o.Keys.esc?(this.shouldFocusDateInput=!0,void this.setShow(!1)):(!t||i!==o.Keys.up&&i!==o.Keys.down||(e.preventDefault(),e.stopPropagation(),this.shouldFocusDateInput=i===o.Keys.up,this.setShow(i===o.Keys.down)),void this.$emit("keydown",e))}}},mn=fn,vn=function(){return(vn=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},gn=r,yn=gn.h,bn=gn.ref,kn=gn.inject,Sn={name:"KendoDateRangePicker",emits:{blur:null,change:null,changemodel:null,"update:modelValue":null,focus:null,keydown:null},model:{event:"changemodel"},props:{allowReverse:{type:Boolean,default:!1},calendarSettings:Object,defaultShow:{type:Boolean,default:!1},defaultValue:{type:Object,default:function(){return V}},modelValue:{type:Object,default:void 0},disabled:{type:Boolean,default:!1},popup:[String,Object,Function],calendar:[String,Object,Function],startDateInput:[String,Object,Function],endDateInput:[String,Object,Function],endDateInputSettings:Object,focusedDate:Date,format:{type:[String,Object],default:function(){return"d"}},id:String,ariaLabelledBy:String,ariaDescribedBy:String,max:{type:Date,default:function(){return Ye}},min:{type:Date,default:function(){return Ke}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},startDateInputSettings:Object,swapButton:{type:Boolean,default:!1},tabIndex:Number,value:{type:Object,default:function(){}}},created:function(){this._element=null,this._wrapper=null,this._calendar=null,this._startDateInput=null,this._endDateInput=null,this._popupId=Object(o.guid)(),this._anchor=Object(o.guid)(),this._startInputId=Object(o.guid)(),this._endInputId=Object(o.guid)(),this._calendarId=Object(o.guid)(),Object(o.validatePackage)(p),this.currentShow=this.$props.show||this.$props.defaultShow,this.currentValue=this.$props.value||this.$props.defaultValue,this.initialAnimation=this.currentShow},mounted:function(){this._calendar=this.v3?this.calendarRef:this.$refs.calendar,this._startDateInput=this.v3?this.startDateInputRef:this.$refs.startDateInput,this._endDateInput=this.v3?this.endDateInputRef:this.$refs.endDateInput,this.computedShow&&(this.$forceUpdate(),this.$nextTick((function(){this.initialAnimation=!1})))},updated:function(){this._calendar=this.v3?this.calendarRef:this.$refs.calendar,this._startDateInput=this.v3?this.startDateInputRef:this.$refs.startDateInput,this._endDateInput=this.v3?this.endDateInputRef:this.$refs.endDateInput,this.shouldFocusCalendar&&this.focusCalendarElement(),this.shouldFocusDateInput&&this.focusDateInputElement(),this.shouldFocusCalendar=!1,this.shouldFocusDateInput=!1},data:function(){return{currentShow:!1,currentValue:null,valueDuringOnChange:void 0,shouldFocusDateInput:!1,shouldFocusCalendar:!1}},computed:{rootClassName:function(){var e;return(e={"k-daterangepicker":!0})["k-disabled"]=this.$props.disabled,e},computedValue:function(){return(void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.currentValue)||V},computedShow:function(){return void 0!==this.$props.show?this.$props.show:this.currentShow}},setup:yn?function(){return{v3:!!yn,kendoAnchorRef:bn(null),kendoLocalizationService:kn("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=yn||e,n=this.computedValue||V,r=this.$props,s=r.size,a=r.fillMode,l=r.rounded,u=(this.$props.startDateInputSettings||{}).id||this._startInputId,d=(this.$props.endDateInputSettings||{}).id||this._endInputId,c=Object(h.provideLocalizationService)(this),p=c.toLanguageString("daterangepicker.start",dt["daterangepicker.start"]),f=c.toLanguageString("daterangepicker.end",dt["daterangepicker.end"]),m=c.toLanguageString(st,dt[st]),v=this.$props.startDateInput?o.templateRendering.call(this,this.$props.startDateInput,o.getListeners.call(this)):void 0,g=vn({label:p,format:this.$props.format,min:this.min,max:this.max,id:this._startInputId,disabled:this.$props.disabled,valid:this.$props.valid,size:s,fillMode:a,rounded:l,ariaHasPopup:!0,ariaExpanded:this.computedShow,value:n.start},this.$props.startDateInputSettings),y=i(Zt,vn(vn({ref:this.v3?function(e){t.startDateInputRef=e}:"startDateInput",attrs:this.v3?void 0:g},g),{onChange:this.handleEndChange,on:this.v3?void 0:{change:this.handleEndChange}})),b=o.getTemplate.call(this,{h:i,template:v,defaultRendering:y,additionalListeners:{change:this.handleStartChange}}),k=this.$props.endDateInput?o.templateRendering.call(this,this.$props.endDateInput,o.getListeners.call(this)):void 0,S=vn({label:f,format:this.$props.format,min:this.min,max:this.max,id:this._endInputId,size:s,fillMode:a,rounded:l,disabled:this.$props.disabled,valid:this.$props.valid,ariaHasPopup:!0,ariaExpanded:this.computedShow,value:n.end},this.$props.endDateInputSettings),w=i(Zt,vn(vn({ref:this.v3?function(e){t.endDateInputRef=e}:"endDateInput",attrs:this.v3?void 0:S},S),{onChange:this.handleEndChange,on:this.v3?void 0:{change:this.handleEndChange}})),D=o.getTemplate.call(this,{h:i,template:k,defaultRendering:w,additionalListeners:{change:this.handleEndChange}}),I=this.$props.calendar?o.templateRendering.call(this,this.$props.calendar,o.getListeners.call(this)):void 0,C=vn({id:this._calendarId,min:this.min,max:this.max,views:2,allowReverse:this.$props.allowReverse,mode:"range",focusedDate:this.$props.focusedDate,disabled:this.$props.disabled,value:n},this.$props.calendarSettings),$=i(wt,vn({ref:this.v3?function(e){t.calendarRef=e}:"calendar",attrs:this.v3?void 0:C,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focus:this.calendarFocus,blur:this.calendarBlur,change:this.handleCalendarChange},onFocus:this.calendarFocus,onBlur:this.calendarBlur,onChange:this.handleCalendarChange},C)),T=o.getTemplate.call(this,{h:i,template:I,defaultRendering:$,additionalListeners:{change:this.handleCalendarChange,keydown:this.handleKeyDown,focus:this.calendarFocus,blur:this.calendarBlur}}),O=this.$props.popupSettings,E=O.popupClass,x=O.animate,M=this.$props.popup?o.templateRendering.call(this,this.$props.popup,o.getListeners.call(this)):void 0,R=vn({show:this.computedShow,anchor:this._anchor,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},animate:!this.initialAnimation&&x},this.$props.popupSettings),_=i(Jt.a,vn({attrs:this.v3?void 0:R,class:E},R),this.v3?function(){return[T]}:[T]),F=o.getTemplate.call(this,{h:i,template:M,defaultRendering:_,defaultSlots:T}),A=i("span",{role:"button",attrs:this.v3?void 0:{role:"button",title:Object(h.provideLocalizationService)(this).toLanguageString(ot,dt[ot]),"aria-controls":u+" "+d,"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(ot,dt[ot])},class:"k-button k-button-md k-button-flat k-icon-button",title:Object(h.provideLocalizationService)(this).toLanguageString(ot,dt[ot]),onMousedown:this.handleReverseMouseDown,on:this.v3?void 0:{mousedown:this.handleReverseMouseDown,click:this.handleReverseClick},onClick:this.handleReverseClick,"aria-controls":u+" "+d,"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(ot,dt[ot])},[i("span",{style:{transform:"rotate(90deg)"},class:"k-icon k-button-icon k-i-arrows-swap"})]);return i("span",{class:this.rootClassName,style:this.$attrs.style,id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy,tabIndex:this.$props.tabIndex},"aria-labelledby":this.$props.ariaLabelledBy,"aria-describedby":this.$props.ariaDescribedBy,tabIndex:this.$props.tabIndex,onFocusin:this.handleFocus,on:this.v3?void 0:{focusin:this.handleFocus,focusout:this.handleBlur,keydown:this.handleKeyDown},onFocusout:this.handleBlur,onKeydown:this.handleKeyDown,ref:this.v3?function(e){t.kendoAnchorRef=e}:this._anchor},[b,(this.$props.allowReverse||this.$props.calendarSettings&&this.$props.calendarSettings.allowReverse)&&this.$props.swapButton?A:m,D,F])},methods:{focus:function(){var e=this.getStartInput();e&&e.focus()},focusCalendarElement:function(){var e=this.getCalendar();e&&e.focus({preventScroll:!0})},focusDateInputElement:function(){var e=this.getStartInput(),t=this.getEndInput();document&&e&&t&&(null!==this.computedValue.start&&null===this.computedValue.end||document.activeElement===t?document.activeElement!==e&&t.focus({preventScroll:!0}):e.focus({preventScroll:!0}))},calculateValue:function(e,t){return(void 0!==e.value?e.value:t.currentValue)||V},calculateShow:function(e,t){return void 0!==e.show?e.show:t.currentShow},setShow:function(e){this.currentShow!==e&&(this.currentShow=e)},handleReverseClick:function(e){var t={start:this.computedValue.end,end:this.computedValue.start},i={event:e.event};this.handleChange(t,i)},handleReverseMouseDown:function(e){e.preventDefault()},handleFocus:function(e){var t=this.getStartInput(),i=this.getEndInput();this.shouldFocusDateInput||this.setShow(!0),t&&t.classList.add("k-focus"),i&&i.classList.add("k-focus"),this.$emit("focus",e)},calendarBlur:function(){clearTimeout(this._blurTimeout),this.createBlurTimeout()},calendarFocus:function(){clearTimeout(this._blurTimeout)},createBlurTimeout:function(){var e=this;this._blurTimeout=setTimeout((function(){var t=e.getStartInput(),i=e.getEndInput();t&&t.classList.remove("k-focus"),i&&i.classList.remove("k-focus"),t&&i&&o.canUseDOM&&t&&document.activeElement!==i&&e.setShow(!1)}),200)},getStartInput:function(){return this._startDateInput&&this._startDateInput.element?this._startDateInput.element():document.getElementById(this._startInputId)},getEndInput:function(){return this._endDateInput&&this._endDateInput.element?this._endDateInput.element():document.getElementById(this._endInputId)},getCalendar:function(){return this._calendar&&this._calendar.element?this._calendar:document.getElementById(this._calendarId)},handleBlur:function(e){this.createBlurTimeout(),this.$emit("blur",e)},handleEndChange:function(e){var t={start:this.computedValue.start,end:s(e.value||void 0)};this.handleChange(t,e)},handleStartChange:function(e){var t={start:s(e.value||void 0),end:this.computedValue.end};this.handleChange(t,e)},extractRangeFromValue:function(e){if(!(Array.isArray(e.value)||e.value instanceof Date))return e.value||V;var t=Array.isArray(e.value)?e.value[0]:e.value;return{start:null!==this.computedValue.end?t:this.computedValue.start,end:null!==this.computedValue.start?t:this.computedValue.end}},handleCalendarChange:function(e){var t=this.extractRangeFromValue(e);this.handleChange(t,e)},handleKeyDown:function(e){var t=e.keyCode,i=e.altKey,n=this.getEndInput(),r=this.getCalendar();t===o.Keys.esc?(e.preventDefault(),this.shouldFocusDateInput=!0,this.setShow(!1)):i&&t===o.Keys.down?(e.preventDefault(),this.shouldFocusCalendar=!0,this.setShow(!0)):t===o.Keys.tab&&this.computedShow&&r&&n&&document&&document.activeElement===n&&(e.preventDefault(),this.focusCalendarElement()),this.$emit("keydown",e)},handleChange:function(e,t){this.currentValue=e,this.valueDuringOnChange=e;var i={event:t.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,show:this.computedShow}};this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",i),this.valueDuringOnChange=void 0}}},wn=r,Dn=wn.h,In=wn.ref,Cn=wn.inject,$n={name:"KendoDateTimeSelector",props:{value:Date,disabled:{type:Boolean,default:!1},cancelButton:{type:Boolean,default:!0},min:{type:Date,default:P},max:{type:Date,default:B},maxTime:{type:Date,default:function(){return Object(o.cloneDate)(H)}},minTime:{type:Date,default:function(){return Object(o.cloneDate)(L)}},weekNumber:{type:Boolean,default:!1},steps:{type:Object,default:function(){return{}}},focusedDate:Date,format:String,calendar:Object},created:function(){this._calendarWrap=null,this.currentTab="date",this.dateValue=this.$props.value,this.timeValue=this.$props.value||We},inject:{kendoLocalizationService:{default:null}},data:function(){return{currentTab:null,dateValue:null,timeValue:Date}},computed:{hasDateValue:function(){return null!==this.dateValue},computedMinTime:function(){return void 0!==this.$props.minTime?this.$props.minTime:this.normalizeRange(this.$props.min,this.dateValue)},computedMaxTime:function(){return void 0!==this.$props.maxTime?this.$props.maxTime:this.normalizeRange(this.$props.max,this.dateValue)}},mounted:function(){this._acceptButton=this.$refs.acceptButton,this._calendar=this.$refs.calendar,this._calendarWrap=this.$refs.calendarWrap,this._cancelButton=this.$refs.cancelButton,this._timePart=this.$refs.timePart,this.focus({preventScroll:!0})},updated:function(){this.shouldFocusPart&&this.focus({preventScroll:!0}),this.shouldFocusPart=!1},setup:Dn?function(){return{v3:!!Dn,kendoAnchorRef:In(null),kendoLocalizationService:Cn("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=Dn||e,n=this.$props,r=n.disabled,s=n.cancelButton,a=n.min,l=n.max,u=n.weekNumber,d=n.focusedDate,c=n.format,p=n.steps,f=Object(o.classNames)({"k-date-tab":"date"===this.currentTab,"k-time-tab":"time"===this.currentTab,"k-state-disabled":r},"k-datetime-wrap"),m=Object(h.provideLocalizationService)(this),v=m.toLanguageString("datetimepicker.date",dt["datetimepicker.date"]),g=m.toLanguageString("datetimepicker.time",dt["datetimepicker.time"]),y=m.toLanguageString("datetimepicker.cancel",dt["datetimepicker.cancel"]),b=m.toLanguageString("datetimepicker.set",dt["datetimepicker.set"]),k=i(wt,{ref:"calendar",min:a,attrs:this.v3?void 0:{min:a,max:l,weekNumber:u,focusedDate:d,disabled:r||"date"!==this.currentTab,value:this.dateValue},max:l,weekNumber:u,focusedDate:d,disabled:r||"date"!==this.currentTab,value:this.dateValue,onChange:this.handleCalendarValueChange,on:this.v3?void 0:{change:this.handleCalendarValueChange,focus:this.handleFocus,blur:this.handleBlur},onFocus:this.handleFocus,onBlur:this.handleBlur}),S=o.getTemplate.call(this,{h:i,template:this.$props.calendar,defaultRendering:k});return i("div",{onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown},class:f,tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1}},[i("div",{class:"k-datetime-buttongroup"},[i(Ze.ButtonGroup,{width:"100%",attrs:this.v3?void 0:{width:"100%"}},this.v3?function(){return[i(Ze.Button,{type:"button",attrs:t.v3?void 0:{type:"button",selected:"date"===t.currentTab,togglable:!0},selected:"date"===t.currentTab,togglable:!0,onClick:t.handleDateClick,on:t.v3?void 0:{click:t.handleDateClick}},t.v3?function(){return[v]}:[v]),i(Ze.Button,{type:"button",attrs:t.v3?void 0:{type:"button",selected:"time"===t.currentTab,togglable:!0},selected:"time"===t.currentTab,togglable:!0,onClick:t.handleTimeClick,on:t.v3?void 0:{click:t.handleTimeClick}},t.v3?function(){return[g]}:[g])]}:[i(Ze.Button,{type:"button",attrs:t.v3?void 0:{type:"button",selected:"date"===t.currentTab,togglable:!0},selected:"date"===t.currentTab,togglable:!0,onClick:t.handleDateClick,on:t.v3?void 0:{click:t.handleDateClick}},t.v3?function(){return[v]}:[v]),i(Ze.Button,{type:"button",attrs:t.v3?void 0:{type:"button",selected:"time"===t.currentTab,togglable:!0},selected:"time"===t.currentTab,togglable:!0,onClick:t.handleTimeClick,on:t.v3?void 0:{click:t.handleTimeClick}},t.v3?function(){return[g]}:[g])])]),i("div",{class:"k-datetime-selector"},[i("div",{class:"k-datetime-calendar-wrap",ref:"calendarWrap"},[S]),i("div",{class:"k-datetime-time-wrap"},[i(rn,{key:1,onNowclick:this.handleNowClick,on:this.v3?void 0:{nowclick:this.handleNowClick,change:this.handleTimeListContainerChange,mount:this.handleTimePartMount,focus:this.handleFocus,blur:this.handleBlur},disabled:r||"time"!==this.currentTab,attrs:this.v3?void 0:{disabled:r||"time"!==this.currentTab,min:this.computedMinTime||L,max:this.computedMaxTime||H,value:this.timeValue,format:c,steps:p},ref:"timePart",min:this.computedMinTime||L,max:this.computedMaxTime||H,value:this.timeValue,format:c,steps:p,onChange:this.handleTimeListContainerChange,onMount:this.handleTimePartMount,onFocus:this.handleFocus,onBlur:this.handleBlur})])]),i("div",{class:"k-datetime-footer k-actions k-actions-stretched"},[s&&i(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",title:y,"aria-label":y},ref:"cancelButton",class:"k-time-cancel",onClick:this.handleReject,on:this.v3?void 0:{click:this.handleReject},title:y,"aria-label":y},this.v3?function(){return[y]}:[y]),i(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",disabled:!this.hasDateValue,themeColor:"primary",title:b,"aria-label":b},ref:"acceptButton",disabled:!this.hasDateValue,themeColor:"primary",class:"k-time-accept",onClick:this.handleAccept,on:this.v3?void 0:{click:this.handleAccept},title:b,"aria-label":b},this.v3?function(){return[b]}:[b])])])},methods:{handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},focus:function(e){var t=this;this.$nextTick((function(){"time"===t.currentTab&&t._timePart&&t._timePart.focus(e);var i=t.calendarElement();"date"===t.currentTab&&i&&i.focus(e)}))},calendarElement:function(){return this._calendar&&this._calendar.$el?this._calendar:null},normalizeRange:function(e,t){return c(e,t||W())?e:null},hasActiveButton:function(){return!!this._acceptButton&&(o.canUseDOM&&(document.activeElement===this._acceptButton.$el||document.activeElement===this._cancelButton.$el))},mergeTime:function(e,t){return e&&t?U(t,e):t},mergeDate:function(e,t){return e?U(e||W(),t):t},move:function(e){if(!("right"===e&&"time"===this.currentTab||"left"===e&&"date"===this.currentTab)){var t="left"===e?"date":"time";this.shouldFocusPart=!0,this.currentTab=t}},handleReject:function(e){this.dateValue=this.$props.value,this.timeValue=this.$props.value||We;var t={event:e,target:this,value:this.mergeDate(this.$props.value,this.$props.value||We)};this.$emit("reject",t)},handleAccept:function(e,t){if(this.dateValue&&this.timeValue&&this.hasDateValue){var i=this.mergeDate(this.dateValue,t||this.timeValue);this.$emit("change",{event:e,value:i,target:this})}},handleNowClick:function(e){this.timeValue=Nt(),this.handleAccept(e,Nt())},handleCalendarValueChange:function(e){e.event.stopPropagation(),this.dateValue=e.value,this.currentTab="time",this.shouldFocusPart=!0},handleTimeListContainerChange:function(e){this.timeValue=e},handleDateClick:function(e){e.stopPropagation(),this.move("left")},handleTimeClick:function(e){e.stopPropagation(),this.move("right")},handleKeyDown:function(e){var t=e.keyCode,i=e.altKey;switch(this.$emit("keydown",e),t){case o.Keys.enter:return void(!this.hasActiveButton()&&this.hasDateValue&&this.handleAccept(e));case o.Keys.left:if(!i)return;return void this.move("left");case o.Keys.right:if(!i)return;return void this.move("right");default:return}},handleTimePartMount:function(e){this.timeValue=e}}},Tn=r,On=Tn.h,En=Tn.ref,xn=Tn.inject,Mn={name:"KendoDateTimePicker",emits:{changemodel:null,"update:modelValue":null,iconclick:null,change:null,focus:null,blur:null,keydown:null},props:{modelValue:{type:Date,default:void 0},defaultShow:{type:Boolean,default:!1},defaultValue:{type:Date,default:null},disabled:{type:Boolean,default:!1},dateInput:{type:[String,Object,Function],default:function(){}},popup:{type:[String,Object,Function],default:function(){}},calendar:{type:[String,Object,Function],default:function(){}},focusedDate:Date,format:{type:[String,Object],default:function(){return"g"}},formatPlaceholder:{type:[String,Object],default:function(){return"wide"}},rounded:{type:String,default:"medium",validator:function(e){return["small","medium","large","full"].includes(e)}},fillMode:{type:String,default:"solid",validator:function(e){return["solid","flat","outline"].includes(e)}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].includes(e)}},id:String,ariaLabelledBy:String,ariaDescribedBy:String,min:{type:Date,default:function(){return P}},max:{type:Date,default:function(){return B}},maxTime:{type:Date,default:function(){return s(H)}},minTime:{type:Date,default:function(){return s(Ge)}},name:String,label:String,placeholder:String,popupSettings:{type:Object,default:function(){return{}}},show:{type:Boolean,default:void 0},tabIndex:{type:Number,default:0},title:{type:String,default:function(){return""}},steps:{type:Object,default:function(){return{}}},value:Date,weekNumber:{type:Boolean,default:!1},width:String,validationMessage:String,required:{type:Boolean,default:!1},validityStyles:{type:Boolean,default:!0},validate:Boolean,valid:{type:Boolean,default:void 0},cancelButton:{type:Boolean,default:!0}},model:{event:"changemodel"},created:function(){this._anchor=Object(o.guid)(),this._popupId=Object(o.guid)(),this._wrapper=null,this._dateInput=null,this._dateTimeSelector=null,Object(o.validatePackage)(p),this.currentValue=this.$props.defaultValue,this.currentShow=this.$props.defaultShow},inject:{kendoLocalizationService:{default:null}},data:function(){return{currentValue:null,currentShow:!1,valueDuringOnChange:void 0,showDuringOnChange:void 0,shouldFocusDateInput:!1,isFocused:!1}},computed:{computedValue:function(){var e=void 0!==this.valueDuringOnChange?this.valueDuringOnChange:void 0!==this.$props.value?this.$props.value:void 0!==this.$props.modelValue?this.$props.modelValue:this.$data.currentValue;return null!==e?s(e):null},computedShow:function(){return void 0!==this.showDuringOnChange?this.showDuringOnChange:void 0!==this.$props.show?this.$props.show:this.currentShow}},watch:{show:function(e,t){this._oldShow=t},currentShow:function(e,t){this._oldShow=t}},mounted:function(){this.computedShow&&this.$forceUpdate();var e=this.dateInputElement();this._dateTimeSelector=this.$refs.dateTimeSelector,this._wrapper=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],this._dateInput=this.v3?this.dateInputRef:this.$refs.dateInput,e&&(e.setAttribute("aria-haspopup","true"),e.setAttribute("aria-expanded",""+this.computedShow))},updated:function(){var e=this.dateInputElement();this._dateTimeSelector=this.$refs.dateTimeSelector,this._wrapper=this.v3?this.kendoAnchorRef:this.$refs[this._anchor],e&&e.setAttribute("aria-expanded",""+this.computedShow),this._dateTimeSelector&&this.computedShow&&!this._oldShow&&this._dateTimeSelector.focus({preventScroll:!0}),e&&!this.computedShow&&this.shouldFocusDateInput&&this._dateInput.focus({preventScroll:!0}),this.shouldFocusDateInput=!1},setup:On?function(){return{v3:!!On,kendoAnchorRef:En(null),kendoLocalizationService:xn("kendoLocalizationService",{})}}:void 0,render:function(e){var t,i=this,n=On||e,r=Object(o.getDefaultSlots)(this),s=this.$props,a=s.disabled,l=s.tabIndex,u=s.title,d=s.id,c=s.format,p=s.formatPlaceholder,f=s.min,m=s.max,v=s.weekNumber,g=s.focusedDate,y=s.width,b=s.name,k=s.steps,S=s.placeholder,w=s.validationMessage,D=s.required,I=s.validityStyles,C=s.cancelButton,$=s.minTime,T=s.maxTime,O=s.ariaLabelledBy,E=s.ariaDescribedBy,x=s.size,M=s.fillMode,R=s.rounded,_=this.$props.popupSettings,F=_.popupClass,A=_.appendTo,z=_.animate,V=!this.$props.validityStyles||this.validity().valid,j=this.$props.dateInput?o.templateRendering.call(this,this.$props.dateInput,o.getListeners.call(this)):void 0,N=n(Zt,{ref:this.v3?function(e){i.dateInputRef=e}:"dateInput",placeholder:S,attrs:this.v3?void 0:{placeholder:S,disabled:a,format:c,formatPlaceholder:p,id:d,ariaLabelledBy:O,ariaDescribedBy:E,max:m,min:f,minTime:$,maxTime:T,name:b,size:null,rounded:null,fillMode:null,required:D,steps:k,tabIndex:this.computedShow?-1:l,title:u,valid:this.validity().valid,validationMessage:w,validityStyles:I,value:this.computedValue},disabled:a,format:c,formatPlaceholder:p,id:d,ariaLabelledBy:O,ariaDescribedBy:E,max:m,min:f,minTime:$,maxTime:T,name:b,size:null,rounded:null,fillMode:null,onChange:this.handleValueChange,on:this.v3?void 0:{change:this.handleValueChange},required:D,steps:k,tabIndex:this.computedShow?-1:l,title:u,valid:this.validity().valid,validationMessage:w,validityStyles:I,value:this.computedValue},this.v3?function(){return[r]}:[r]),P=o.getTemplate.call(this,{h:n,template:j,defaultRendering:N}),B=this.$props.calendar?o.templateRendering.call(this,this.$props.calendar,o.getListeners.call(this)):void 0,L=n($n,{ref:"dateTimeSelector",cancelButton:C,attrs:this.v3?void 0:{cancelButton:C,value:this.computedValue,disabled:a,weekNumber:v,min:this.$props.min,max:this.$props.max,minTime:$,maxTime:T,focusedDate:g,format:c,calendar:B,steps:k},value:this.computedValue,onChange:this.handleValueChange,on:this.v3?void 0:{change:this.handleValueChange,reject:this.handleReject,focus:this.timeSelectorFocus,blur:this.timeSelectorBlur,keydown:this.handleKeyDown},onReject:this.handleReject,disabled:a,weekNumber:v,min:this.$props.min,max:this.$props.max,minTime:$,maxTime:T,focusedDate:g,format:c,calendar:B,steps:k,onFocus:this.timeSelectorFocus,onBlur:this.timeSelectorBlur,onKeydown:this.handleKeyDown}),H=Object(o.classNames)("k-datetime-container k-group k-reset",F),U=this.$props.popup?o.templateRendering.call(this,this.$props.popup,o.getListeners.call(this)):void 0,W=n(Jt.a,{show:this.computedShow,attrs:this.v3?void 0:{show:this.computedShow,anchor:this._anchor,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:A,animate:z},anchor:this._anchor,class:H,id:this._popupId,anchorAlign:{horizontal:"left",vertical:"bottom"},popupAlign:{horizontal:"left",vertical:"top"},appendTo:A,animate:z},this.v3?function(){return[L]}:[L]),K=o.getTemplate.call(this,{h:n,template:U,defaultRendering:W,defaultSlots:L}),Y=n("div",{class:Object(o.classNames)("k-input","k-datetimepicker",(t={},t["k-input-"+(o.kendoThemeMaps.sizeMap[x]||x)]=x,t["k-input-"+M]=M,t["k-rounded-"+(o.kendoThemeMaps.roundedMap[R]||R)]=R,t["k-valid"]=V,t["k-invalid"]=!V,t["k-required"]=this.required,t["k-disabled"]=this.$props.disabled,t["k-focus"]=this.isFocused,t)),ref:this.v3?function(e){i.kendoAnchorRef=e}:this._anchor,onKeydown:this.handleKeyDown,on:this.v3?void 0:{keydown:this.handleKeyDown,focusin:this.handleFocus,focusout:this.handleBlur},style:{width:y},onFocusin:this.handleFocus,onFocusout:this.handleBlur},[P,n(Ze.Button,{type:"button",attrs:this.v3?void 0:{type:"button",tabIndex:-1,icon:"calendar",title:Object(h.provideLocalizationService)(this).toLanguageString(at,dt[at]),"aria-controls":this._popupId,"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(at,dt[at])},tabIndex:-1,icon:"calendar",onMousedown:this.handleIconMouseDown,on:this.v3?void 0:{mousedown:this.handleIconMouseDown,click:this.handleDateIconClick},onClick:this.handleDateIconClick,title:Object(h.provideLocalizationService)(this).toLanguageString(at,dt[at]),class:"k-input-button","aria-controls":this._popupId,"aria-label":Object(h.provideLocalizationService)(this).toLanguageString(at,dt[at])}),K]);return this.$props.label?n(Wt.FloatingLabel,{label:this.$props.label,attrs:this.v3?void 0:{label:this.$props.label,editorId:d,editorValid:V,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled},editorId:d,editorValid:V,editorValue:this.getDateInputText(),editorPlaceholder:this.$props.placeholder,editorDisabled:this.$props.disabled,style:{width:y}},this.v3?function(){return[Y]}:[Y]):Y},methods:{validity:function(){var e=Y(this.computedValue,this.$props.min,this.$props.max)&&Lt(this.computedValue,this.$props.minTime||Ge,this.$props.maxTime||H),t=void 0!==this.$props.validationMessage,i=(!this.$props.required||null!==this.computedValue)&&e,n=void 0!==this.$props.valid?this.$props.valid:i;return{customError:t,rangeOverflow:this.computedValue&&this.$props.max.getTime()<this.computedValue.getTime()||!1,rangeUnderflow:this.computedValue&&this.computedValue.getTime()<this.$props.min.getTime()||!1,valid:n,valueMissing:null===this.computedValue}},getDateInputText:function(){return!!this.computedValue||(this._dateInput?this._dateInput._element.value:"")},focus:function(){var e=this.dateInputElement();e&&e.focus()},setShow:function(e){this.computedShow!==e&&(this.currentShow=e)},handleReject:function(){this.setShow(!1)},handleValueChange:function(e){this.currentValue=s(e.value||void 0),this.currentShow=!1,this.valueDuringOnChange=e.value,this.showDuringOnChange=!1,this.shouldFocusDateInput=!0,this.$emit("changemodel",this.computedValue),this.$emit("update:modelValue",this.computedValue),this.$emit("change",{event:e.event,value:this.computedValue,show:this.computedShow,component:this,target:{name:this.$props.name,value:this.computedValue,valueAsDate:this.computedValue}}),this.valueDuringOnChange=void 0,this.showDuringOnChange=void 0},handleFocus:function(e){this.isFocused=!0,this.$emit("focus",e)},handleBlur:function(e){this.createBlurTimeout(),this.$emit("blur",e)},timeSelectorBlur:function(e){this.$emit("blur",e),clearTimeout(this._blurTimeout),this.createBlurTimeout()},timeSelectorFocus:function(){clearTimeout(this._blurTimeout)},createBlurTimeout:function(){var e=this;this._blurTimeout=setTimeout((function(){e.isFocused=!1,e._dateInput&&o.canUseDOM&&document.activeElement!==e._dateInput.element()&&document.activeElement&&-1===document.activeElement.className.indexOf("k-time-list")&&e.setShow(!1)}),200)},handleDateIconClick:function(e){this.$props.disabled||(this.shouldFocusDateInput=!0,this.setShow(!this.computedShow),this.$emit("iconclick",e))},handleIconMouseDown:function(e){e.preventDefault()},handleKeyDown:function(e){var t=e.altKey,i=e.keyCode;return i===o.Keys.tab&&this._dateInput&&e.target!==this._dateInput._element?(e.preventDefault(),this.$data.shouldFocusDateInput=!0,void this.setShow(!1)):i===o.Keys.esc?(this.shouldFocusDateInput=!0,void this.setShow(!1)):(!t||i!==o.Keys.up&&i!==o.Keys.down||(e.preventDefault(),e.stopPropagation(),this.shouldFocusDateInput=i===o.Keys.up,this.setShow(i===o.Keys.down)),void this.$emit("keydown",e))},dateInputElement:function(){return this._dateInput&&this._dateInput.$el||this._wrapper&&this._wrapper.querySelector(".k-dateinput-wrap > input.k-input")}}},Rn=Mn,_n=r.h,Fn={props:{id:String},setup:_n?function(){return{v3:!!_n}}:void 0,render:function(e){var t=_n||e,i=Object(o.getDefaultSlots)(this);return t("span",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id},class:"k-picker-wrap"},[i])}},An=Fn},function(e,t,i){"use strict";i.r(t),i.d(t,"isCompositeFilterDescriptor",(function(){return v})),i.d(t,"toODataString",(function(){return K})),i.d(t,"toDataSourceRequestString",(function(){return Re})),i.d(t,"toDataSourceRequest",(function(){return _e})),i.d(t,"translateDataSourceResultGroups",(function(){return Ue})),i.d(t,"translateAggregateResults",(function(){return We})),i.d(t,"orderBy",(function(){return yt})),i.d(t,"process",(function(){return St})),i.d(t,"distinct",(function(){return kt})),i.d(t,"getter",(function(){return Z})),i.d(t,"filterBy",(function(){return pt})),i.d(t,"compileFilter",(function(){return ht})),i.d(t,"groupBy",(function(){return vt})),i.d(t,"composeSortDescriptors",(function(){return Ze})),i.d(t,"normalizeFilters",(function(){return M})),i.d(t,"normalizeGroups",(function(){return ft})),i.d(t,"aggregateBy",(function(){return st}));var n,r,o,s,a,l=function(e){return null!=e},u=function(e){return null==e},d=function(e){return Array.isArray(e)},c=function(e){return"function"==typeof e},h=function(e){return"string"==typeof e},p=function(e){return!function(e){return u(e)||0===e.trim().length}(e)},f=function(e){return!isNaN(e-parseFloat(e))},m=function(e){return e&&e.getTime},v=function(e){return l(e.filters)},g=i(6),y=function(e,t,i){return function(n){return e(n)?t(n):i(n)}},b=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.reduceRight((function(e,t){return t(e)}),t)}},k=function(e){return e},S=function(e){return function(t){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];return e()?""+t[0]+i[0]+t[1]:i[0]}},w=function(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))},D=function(e){var t=e.field,i=e.value,n=e.ignoreCase,r=e.operator;return{value:"'"+i.replace(/'/g,"''")+"'",field:t,ignoreCase:n,operator:r}},I=function(e){var t=e.field,i=e.value,n=e.ignoreCase,r=e.operator;return{value:""+encodeURIComponent(i),field:t,ignoreCase:n,operator:r}},C=function(e){var t=e.field,i=e.value,r=e.ignoreCase,o=e.operator;return{field:S((function(){return r}))(n||(n=g.c(["tolower(",")"],["tolower(",")"])),t),value:i,ignoreCase:r,operator:o}},$=function(e){var t=e.field,i=e.value,n=e.ignoreCase,r=e.operator;return{value:i,field:t.replace(/\./g,"/"),ignoreCase:n,operator:r}},T=function(e){return h(e.value)},O=function(e){return m(e.value)},E=function(e,t){return function(i){return S((function(){return i.filters.length>1}))(r||(r=g.c(["(",")"],["(",")"])),i.filters.map(e).join(t(i)))}},x=function(e){e.filters&&(e.filters=e.filters.map((function(e){var t,i=Object.assign({},e);return!v(e)&&h(e.operator)&&(i.operator={"!=":"neq","<":"lt","<=":"lte","==":"eq",">":"gt",">=":"gte",equal:"eq",equals:"eq",equalto:"eq",ge:"gte",greater:"gt",greaterthan:"gt",greaterthanequal:"gte",isempty:"isempty",isequalto:"eq",isgreaterthan:"gt",isgreaterthanorequalto:"gte",islessthan:"lt",islessthanorequalto:"lte",isnotempty:"isnotempty",isnotequalto:"neq",isnull:"isnull",le:"lte",less:"lt",lessthan:"lt",lessthanequal:"lte",ne:"neq",notequal:"neq",notequals:"neq",notequalto:"neq",notsubstringof:"doesnotcontain"}[(t=e.operator).toLowerCase()]||t),v(e)&&x(i),i})))},M=function(e){return l(e)&&(e=function(e){return v(e)?Object.assign({},e):{filters:d(e)?e:[e],logic:"and"}}(e),x(e)),e},R=function(e){var t=e.operator;return function(e){var i=e.field,n=e.value;return i+" "+t+" "+n}},_=function(e){return b(e,I,D,C,$)},F=function(e){return _((t=e.operator,function(e){var i=e.field,n=e.value;return t+"("+i+","+n+")"}));var t},A=function(e){return b(R(e),$,(t=e.utcDates,function(e){var i=e.field,n=e.value,r=e.ignoreCase,o=e.operator;return{value:JSON.stringify(t?n:w(n)).replace(/"/g,""),field:i,ignoreCase:r,operator:o}}));var t},z=function(e){return y(O,A(e),function(e){return b(R(e),$)}(e))},V=function(e){return y(T,function(e){return _(R(e))}(e),z(e))},j=function(e){return e+" eq -1"},N=function(e){return b(e,$)},P=function(e){return" "+e.logic+" "},B=function(e){return function(t){return function(e,t){return{contains:F(g.a({},t,{operator:"contains"})),doesnotcontain:b(j,F(g.a({},t,{operator:"indexof"}))),endswith:F(g.a({},t,{operator:"endswith"})),eq:V(g.a({},t,{operator:"eq"})),gt:V(g.a({},t,{operator:"gt"})),gte:V(g.a({},t,{operator:"ge"})),isempty:N((function(e){return e.field+" eq ''"})),isnotempty:N((function(e){return e.field+" ne ''"})),isnotnull:N((function(e){return e.field+" ne null"})),isnull:N((function(e){return e.field+" eq null"})),lt:V(g.a({},t,{operator:"lt"})),lte:V(g.a({},t,{operator:"le"})),neq:V(g.a({},t,{operator:"ne"})),startswith:F(g.a({},t,{operator:"startswith"}))}[e]}(t.operator,e)(t)}},L=function(e){return E((function(t){return y(v,L(e),B(e))(t)}),P)},H=function(e,t){return void 0===t&&(t={}),e.filters&&e.filters.length?"$filter="+L(t)(M(e)):""},U=(o="",function(){return o}),W=function(e,t){return y(l,(i=e[0],function(e){return i+e}),U)(t);var i},K=function(e,t){return void 0===t&&(t={}),Object.keys(e).map(function(e,t){return function(i){return{filter:H(t.filter||{},e),skip:W(s||(s=g.c(["$skip=",""],["$skip=",""])),t.skip),sort:(n=t.sort||[],r=n.filter((function(e){return l(e.dir)})).map((function(e){var t=e.field.replace(/\./g,"/");return"desc"===e.dir?t+" desc":t})).join(","),r?"$orderby="+r:r),take:W(a||(a=g.c(["$top=",""],["$top=",""])),t.take)}[i];var n,r}}(t,e)).filter(p).join("&")},Y={},G=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;Y[void 0]=function(e){return e};var q,Z=function(e,t){var i=e+t;if(Y[i])return Y[i];var n=[];return e.replace(G,(function(e,t,i,r){n.push(l(t)?t:i||r)})),Y[i]=function(e){for(var i=e,r=0;r<n.length;r++)if(i=i[n[r]],!l(i)&&t)return i;return i},Y[i]},X=function(e){return function(t){return[e,t]}},J=function(){return null},Q=function(e){return function(t){return l(e(t))}},ee=function(e){return function(t){return function(e){return l(e)&&d(e)&&e.length>0}(e(t))}},te=function(e,t){return y(e,t,J)},ie=function(e,t){return function(i){return e(i).map(t).join("~")}},ne=b.apply(void 0,[['"',""],[":","-"]].map((function(e){var t=e[0],i=e[1];return function(e){return e.replace(new RegExp(t,"g"),i)}}))),re=(q=".",function(e){return e.slice(0,e.indexOf(q))}),oe=function(e){var t=e.field,i=e.dir;return t+"-"+(void 0===i?"asc":i)},se=Z("take"),ae=Z("aggregates"),le=Z("skip"),ue=Z("group"),de=Z("sort",!0),ce=ie(de,oe),he=ie(ue,oe),pe=ie(ae,(function(e){return e.field+"-"+e.aggregate})),fe=b((function(e){return"datetime'"+e+"'"}),re,ne,JSON.stringify,w),me=b(X("page"),(function(e){var t=e.skip,i=e.take;return Math.floor((t||0)/i)+1})),ve=b(X("pageSize"),se),ge=b(X("group"),he),ye=b(X("sort"),ce),be=b(X("aggregate"),pe),ke=te(Q(le),me),Se=te(Q(se),ve),we=te(ee(ue),ge),De=te(Q(ae),be),Ie=b(te(ee(de),ye),(function(e){return Object.assign({},e,{sort:(de(e)||[]).filter((function(e){var t=e.dir;return p(t)}))})})),Ce=function(e){var t=e.field;return p(t)},$e=function(e){return e.field+"~"+e.operator+"~"+e.value},Te=y(O,b($e,(function(e){var t=e.field,i=e.value,n=e.ignoreCase,r=e.operator;return{value:fe(i),field:t,ignoreCase:n,operator:r}})),$e),Oe=function(e){return"~"+e.logic+"~"},Ee=function(e){return E((function(t){return y(v,Ee(e),function(e){return te(Ce,y(T,b($e,D,e?I:k),Te))}(e))(t)}),Oe)},xe=function(e,t){var i=e.filter;if(i&&i.filters){var n=Ee(t)(i);if(n.length)return["filter",n]}return null},Me=function(e,t){return void 0===t&&(t=!0),function(i){return{aggregates:De(e),filter:xe(e,t),group:we(e),skip:ke(e),sort:Ie(e),take:Se(e)}[i]}},Re=function(e){return(t=Object.keys(e).map(Me(e)).filter(l),t.reduce((function(e,t){var i=t[0],n=t[1];return e.concat([i+"="+n])}),[])).join("&");var t},_e=function(e){return Object.keys(e).map(Me(e,!1)).filter(l).reduce((function(e,t){var i,n=t[0],r=t[1];return g.a({},e,((i={})[n]=r,i))}),{})},Fe=function(e,t,i){return t[e]=i,t},Ae=function(e){return function(t){var i,n=t[e];return l(n)?n:t[(i=e,i.replace(/(^[A-Z])/g,(function(e,t){return t.toLowerCase()})))]}},ze=Ae("Member"),Ve=Ae("AggregateMethodName"),je=Ae("Value"),Ne=function(e){return function(t){return Object.keys(t).reduce(e.bind(null,t),{})}},Pe=Ne((function(e,t,i){return Fe(i.toLowerCase(),t,e[i])})),Be=Ne((function(e,t,i){return Fe(i,t,Pe(e[i]))})),Le=function(e,t){return l(e)?e:t},He=b((function(e){var t=e.field,i=e.hasSubgroups,n=e.value,r=e.aggregates,o=e.items;return{aggregates:Be(r),field:t,items:i?o.map(He):o,value:n}}),(function(e){return{aggregates:e.Aggregates||e.aggregates,field:e.Member||e.member||e.field,hasSubgroups:e.HasSubgroups||e.hasSubgroups||!1,items:e.Items||e.items,value:Le(e.Key,Le(e.key,e.value))}})),Ue=function(e){return e.map(He)},We=function(e){return(e||[]).reduce((function(e,t){return Fe(ze(t),e,Fe(Ve(t).toLowerCase(),e[ze(t)]||{},je(t)))}),{})},Ke=function(e,t){return u(e)?e===t?0:-1:u(t)?1:e.localeCompare?e.localeCompare(t):e>t?1:e<t?-1:0},Ye=function(e,t){return Ke(t,e)},Ge=function(e){var t=Z(e.field,!0);return function(i,n){return("asc"===e.dir?Ke:Ye)(t(i),t(n))}},qe=function(e,t){return 0},Ze=function(e){return e.filter((function(e){return l(e.dir)})).map((function(e){return Ge(e)})).reduce((function(e,t){return function(i,n){return e(i,n)||t(i,n)}}),qe)},Xe=function(e){var t=Z(e,!0),i=0;return function(n,r){n[e]=n[e]||{};var o=t(r),s=function(e){return(e=l(e)&&e.getTime?e.getTime():e)+""}(o),a=n[e][s]||{__position:i++,aggregates:{},items:[],value:o};return a.items.push(r),n[e][s]=a,n}},Je=function(e){var t=e.map((function(e){var t=Z(e.field,!0),i=(e.aggregate||"").toLowerCase(),n=Z(i,!0);return function(r,o){var s=r[e.field]||{},a=n(s)||{average:function(){var e=0,t=0;return{calc:function(i){f(i)?(e+=i,t++):e=i},result:function(){return f(e)?e/t:e}}},count:function(){var e=0;return{calc:function(){return e++},result:function(){return e}}},max:function(){var e=Number.NEGATIVE_INFINITY;return{calc:function(t){(e=f(e)||m(e)?e:t)<t&&(f(t)||m(t))&&(e=t)},result:function(){return e}}},min:function(){var e=Number.POSITIVE_INFINITY;return{calc:function(t){(e=f(e)||m(e)?e:t)>t&&(f(t)||m(t))&&(e=t)},result:function(){return e}}},sum:function(){var e=0;return{calc:function(t){t=l(t)?t:0,e+=t},result:function(){return e}}}}[i]();return a.calc(t(o)),s[e.aggregate]=a,r[e.field]=s,r}}));return function(e,i){return t.reduce((function(e,t){return t(e,i)}),e)}},Qe=function(e,t){return e.push(t),e},et=function(e){return function(t){return function(i,n,r){return t(i,e(n,r))}}},tt=function(e){return function(t){return function(i,n){return e(n)?t(i,n):i}}},it=function(e){return l(e.__value)},nt=function(e){return it(e)?e:{__value:e,reduced:!0}},rt=function(e,t,i){for(var n=t,r=0,o=i.length;r<o;r++)if(n=e(n,i[r],r),it(n)){n=n.__value;break}return n},ot=et((function(e){return e})),st=function(e,t,i){void 0===t&&(t=[]),void 0===i&&(i=ot);var n={};return t.length?function(e){return void 0===e&&(e={}),Object.keys(e).forEach((function(t){var i=e[t];Object.keys(i).forEach((function(e){i[e]=i[e].result()}))})),e}(rt(i(Je(t)),n,e)):n},at={or:{concat:function(e,t){return function(i){return e(i)||t(i)}},identity:function(){return!1}},and:{concat:function(e,t){return function(i){return e(i)&&t(i)}},identity:function(){return!0}}},lt={contains:function(e,t){return(e||"").indexOf(t)>=0},doesnotcontain:function(e,t){return-1===(e||"").indexOf(t)},doesnotendwith:function(e,t){return(e||"").indexOf(t,(e||"").length-(t||"").length)<0},doesnotstartwith:function(e,t){return-1===(e||"").lastIndexOf(t,0)},endswith:function(e,t){return(e||"").indexOf(t,(e||"").length-(t||"").length)>=0},eq:function(e,t){return e===t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t},isempty:function(e){return""===e},isnotempty:function(e){return""!==e},isnotnull:function(e){return l(e)},isnull:function(e){return u(e)},lt:function(e,t){return e<t},lte:function(e,t){return e<=t},neq:function(e,t){return e!=t},startswith:function(e,t){return 0===(e||"").lastIndexOf(t,0)}},ut=/^\/Date\((.*?)\)\/$/,dt=function(e){var t=e.field,i=e.ignoreCase,n=e.value,r=e.operator;t=l(t)?t:function(e){return e},i=!l(i)||i;var o=function(e,t,i){if(!l(t))return e;var n=e;if(h(t)){var r=ut.exec(t);r?t=new Date(+r[1]):n=function(t){var n=e(t);return"string"==typeof n&&i?n.toLowerCase():f(n)?n+"":n}}return m(t)?function(e){var t=n(e);return m(t)?t.getTime():t}:n}(c(t)?t:Z(t,!0),n,i);n=function(e,t){if(null!=e&&h(e)){var i=ut.exec(e);if(i)return new Date(+i[1]).getTime();if(t)return e.toLowerCase()}else if(null!=e&&m(e))return e.getTime();return e}(n,i);var s=c(r)?r:lt[r];return function(e){return s(o(e),n,i)}},ct=function(e){var t=at[e.logic];return e.filters.filter(l).map((function(e){return v(e)?ct(e):dt(e)})).reduce(t.concat,t.identity)},ht=function(e){return e&&0!==e.filters.length?ct(e):function(){return!0}},pt=function(e,t){return!l(t)||v(t)&&0===t.filters.length?e:e.filter(ht(M(t)))},ft=function(e){return(e=d(e)?e:[e]).map((function(e){return Object.assign({dir:"asc"},e)}))},mt=et((function(e){return e})),vt=function(e,t,i,n){if(void 0===t&&(t=[]),void 0===i&&(i=mt),void 0===n&&(n=e),!(t=ft(t)).length)return e;var r=t[0],o=rt(i(Xe(r.field)),{},e),s=[];return Object.keys(o).forEach((function(e){Object.keys(o[e]).forEach((function(i){var a=o[e][i],u={},d=n;l(r.aggregates)&&(d=pt(n,{field:r.field,ignoreCase:!1,operator:"eq",value:a.value}),u=st(d,r.aggregates)),s[a.__position]={aggregates:u,field:e,items:t.length>1?vt(a.items,t.slice(1),mt,d):a.items,value:a.value}}))})),s},gt=function(e,t,i,n){if(!(i-t<2)){var r=t+i>>>1;gt(e,t,r,n),gt(e,r,i,n),function(e,t,i,n,r){for(var o=i-t,s=n-i,a=[],l=0;l<o;l++)a.push(e[t+l]);var u=0,d=i,c=t;do{r(e[d],a[u])<0?(e[c++]=e[d++],s--):(e[c++]=a[u++],o--)}while(s>0&&o>0);for(;o;)e[c++]=a[u++],o--;for(;s;)e[c++]=e[d++],s--}(e,t,r,i,n)}},yt=function(e,t){if(t.some((function(e){return l(e.dir)}))){e=e.slice(0);var i=Ze(t);gt(e,0,e.length,i)}return e},bt=function(e,t){return e===t},kt=function(e,t){return void 0===t&&(t=bt),function(e,t){return e.filter((function(e,i,n){return n.findIndex(t.bind(null,e))===i}))}(e,function(e){if(h(e)){var t=Z(e);e=function(e,i){return t(e)===t(i)}}return e}(t))},St=function(e,t){var i=t.skip,n=t.take,r=t.filter,o=t.sort,s=t.group,a=ft(s||[]).concat(o||[]);a.length&&(e=yt(e,a));var u,d=l(r)&&tt.length,c=l(s)&&s.length;if(!d&&!c)return{data:n?e.slice(i,i+n):e,total:e.length};var h,p,f=[];if(d?(u=function(e,t){for(var i=0,n=0,r=e.length;n<r;n++)t(e[n])&&i++;return i}(e,h=ht(M(r))),f.push(tt(h))):u=e.length,l(i)&&l(n)&&(f.push((p=i,function(e){return function(t,i){return p--<=0?e(t,i):t}})),f.push(function(e){return function(t){return function(i,n){return e-- >0?t(i,n):nt(i)}}}(n))),f.length){var m=b.apply(void 0,f);return{data:c?vt(e,s,m,function(e,t){return t?e.filter(t):e}(e,h)):rt(m(Qe),[],e),total:u}}return{data:c?vt(e,s):e,total:u}}},function(e,t,i){"use strict";i.r(t),i.d(t,"FieldArray",(function(){return b})),i.d(t,"FieldArrayVue2",(function(){return y})),i.d(t,"Field",(function(){return u})),i.d(t,"FieldVue2",(function(){return l})),i.d(t,"Form",(function(){return m})),i.d(t,"FormVue2",(function(){return f})),i.d(t,"FieldWrapper",(function(){return w})),i.d(t,"FieldWrapperVue2",(function(){return S})),i.d(t,"FormElement",(function(){return C})),i.d(t,"FormElementVue2",(function(){return I}));var n=i(1),r=i(0),o=function(){return(o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i},a=n.h,l={name:"KendoField",props:{component:[String,Number,Boolean,Object],validator:[Function,Array],name:String},created:function(){if(this.kendoForm)return this.kendoForm.registerField(this.$props.name,this.$props.validator)},inject:{kendoForm:{default:null}},methods:{handleOnChange:function(e){var t=e?void 0!==e.value?e.value:e.target?e.target.value:e.target:e;this.kendoForm.onChange(this.$props.name,{value:t}),this.$emit("change",e)},onNativeComponentChange:function(e){this.kendoForm.onChange(this.$props.name,{value:e.target.value})},handleOnBlur:function(){this.kendoForm.onBlur(this.$props.name)},handleOnFocus:function(){this.kendoForm.onFocus(this.$props.name)}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props,n=i.name,l=i.component,u=(i.validator,i.id);s(i,["name","component","validator","id"]);if(!this.kendoForm)return null;var d=this.kendoForm.values[n];if("string"==typeof l&&"input"===l)return t(l,o(o({attrs:this.$attrs},this.$attrs),{onChange:this.onNativeComponentChange,onBlur:this.handleOnBlur,onFocus:this.handleOnFocus,on:this.v3?void 0:{change:this.handleOnChange,blur:this.handleOnBlur,focus:this.handleOnFocus},domProps:this.v3?void 0:{value:d||""},value:d||""}));if(l){var c=l?r.templateRendering.call(this,l,r.getListeners.call(this)):null;return r.getTemplate.call(this,{h:t,template:c,additionalProps:o({value:d,validationMessage:this.kendoForm.errors[n],touched:this.kendoForm.touchedByField[n],modified:this.kendoForm.modifiedByField[n],visited:this.kendoForm.visitedByField[n],valid:!(Boolean(this.kendoForm.errors[n])&&this.kendoForm.touchedByField[n]),name:n,id:u},this.$attrs),additionalListeners:{change:this.handleOnChange,blur:this.handleOnBlur,focus:this.handleOnFocus}})}}},u=l,d={name:"@progress/kendo-vue-form",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646205533,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},c=function(){return(c=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},h=function(){for(var e=0,t=0,i=arguments.length;t<i;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<i;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)n[r]=o[s];return n},p=n.h,f={name:"KendoForm",props:{renderForm:[Object,Function],initialValues:Object,validator:Function,ignoreModified:Boolean},created:function(){this._accumulatorTimeout=void 0,Object(r.validatePackage)(d),this.form.values=Object(r.clone)(this.$props.initialValues)},mounted:function(){this.form.errors=this.getErrors(),this.form.allowSubmit=this.allowSubmit(),this.form.valid=this.isValid()},destroyed:p?void 0:function(){this.onDestroy()},unmounted:function(){this.onDestroy()},data:function(){return{validatorsByField:{},fields:[],unmounted:!1,form:{id:this.id,errors:{},values:{},modifiedByField:{},touchedByField:{},visitedByField:{},valid:!1,modified:!1,touched:!1,visited:!1,submitted:!1,valueGetter:this.valueGetter,allowSubmit:!1,onChange:this.onChange,onSubmit:this.onSubmit,onFormReset:this.resetForm,registerField:this.onFieldRegister,onFocus:this.onFocus,onBlur:this.onBlur,onUnshift:this.onUnshift,onPush:this.onPush,onInsert:this.onInsert,onPop:this.onPop,onRemove:this.onRemove,onReplace:this.onReplace,onMove:this.onMove}}},provide:function(){return{kendoForm:this.$data.form}},watch:{"form.values":function(){this.form.errors=this.getErrors(),this.form.allowSubmit=this.allowSubmit(),this.form.valid=this.isValid()},"form.touchedByField":function(e){this.form.touched=this.isFormTouched(e,this.fields),this.form.allowSubmit=this.allowSubmit()},"form.modifiedByField":function(e){this.form.modified=this.isFormModified(e,this.fields),this.form.allowSubmit=this.allowSubmit()},"form.visitedByField":function(e){this.form.visited=this.isFormVisited(e,this.fields)}},methods:{isValid:function(){return this.isFormValid(this.form.errors)},formErrors:function(){if(this.$props.validator)return this.$props.validator(this.form.values,this.valueGetter)},getErrors:function(){var e=this,t={},i=this.validatorsByField;return Object.keys(this.fields).forEach((function(n){if(t[n]="",i[n]){var r=[];i[n].forEach((function(e){Array.isArray(e)?r.push.apply(r,e):r.push(e)})),r.find((function(i){if(i){var r=i(e.valueGetter(n),e.valueGetter,{name:n});if(r)return t[n]=r,!0}return!1}))}})),this.formErrors()&&Object(r.cloneObject)(this.formErrors(),t),t},accumulatedForceUpdate:function(){var e=this;this._accumulatorTimeout&&clearTimeout(this._accumulatorTimeout),this._accumulatorTimeout=window.setTimeout((function(){e._accumulatorTimeout=void 0}),0)},resetForm:function(){this.form.values=Object(r.clone)(this.$props.initialValues),this.id=Object(r.guid)(),this.form.touchedByField={},this.form.visitedByField={},this.form.modifiedByField={},this.form.submitted=!1},onReset:function(){this.resetForm()},addField:function(e){this.fields[e]=!0},onSubmit:function(e){var t={},i=this.fields;e&&("function"==typeof e.preventDefault&&e.preventDefault(),"function"==typeof e.stopPropagation&&e.stopPropagation()),Object.keys(i).forEach((function(e){t[e]=!0})),this.form.visitedByField=c({},t),this.form.touchedByField=c({},t);var n=this.form.values,r=this.isValid(),o=this.isFormModified(this.form.modifiedByField,i);this.$emit("submitclick",{values:n,isValid:r,isModified:o,event:e}),r&&(this.$props.ignoreModified||o)&&(this.form.submitted=!0,this.$emit("submit",n,e))},onChange:function(e,t){var i,n=t.value;this.addField(e),this.form.modifiedByField[e]||(this.form.modifiedByField=c(c({},this.form.modifiedByField),((i={})[e]=!0,i))),this.valueSetter(e,n)},onFocus:function(e){var t;this.form.visitedByField[e]||(this.form.visitedByField=c(c({},this.form.visitedByField),((t={})[e]=!0,t)))},onBlur:function(e){var t;this.form.touchedByField[e]||(this.onFocus(e),this.form.touchedByField=c(c({},this.form.touchedByField),((t={})[e]=!0,t)))},onFieldRegister:function(e,t){var i,n=this;this.addField(e);var r=this.validatorsByField[e]||[],o=r.length;return this.validatorsByField=c(c({},this.validatorsByField),((i={})[e]=h(r,[t]),i)),this.accumulatedForceUpdate(),function(){var t;if(!n._unmounted){var i=h(n.validatorsByField[e]||[]),r=Boolean(i[o]);i[o]=void 0,n.validatorsByField=c(c({},n.validatorsByField),((t={})[e]=i,t)),r&&n.accumulatedForceUpdate()}}},isFormValid:function(e){return!Object.keys(e).some((function(t){return Boolean(e[t])}))},isFormModified:function(e,t){return Object.keys(t).some((function(t){return e[t]}))},isFormHasNotTouched:function(e,t){return Object.keys(t).some((function(t){return!e[t]}))},isFormTouched:function(e,t){return Object.keys(t).some((function(t){return e[t]}))},isFormVisited:function(e,t){return Object.keys(t).some((function(t){return e[t]}))},formHasNotTouched:function(){return this.isFormHasNotTouched(this.form.touchedByField,this.fields)},allowSubmit:function(){return this.formHasNotTouched()&&!this.isValid()||this.isValid()&&(this.$props.ignoreModified||this.isFormModified(this.form.modifiedByField,this.fields))},valueGetter:function(e){return this.form.values[e]},valueSetter:function(e,t){var i;this.form.values=c(c({},this.form.values),((i={})[e]=t,i))},onArrayAction:function(e){var t;this.addField(e),this.form.modifiedByField[e]||(this.form.modifiedByField=c(c({},this.form.modifiedByField),((t={})[e]=!0,t))),this.onBlur(e,!0)},onInsert:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[]);i.splice(t.index,0,t.value),this.valueSetter(e,i)},onUnshift:function(e,t){this.onInsert(e,{value:t.value,index:0})},onPush:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[],[t.value]);this.valueSetter(e,i)},onPop:function(e){this.onArrayAction(e);var t=h(this.valueGetter(e)||[]),i=t.pop();return this.valueSetter(e,t),i},onRemove:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[]),n=i.splice(t.index,1);return this.valueSetter(e,i),n},onReplace:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[]);i.splice(t.index,1,t.value),this.valueSetter(e,i)},onMove:function(e,t){this.onArrayAction(e);var i=h(this.valueGetter(e)||[]),n=i[t.prevIndex];i.splice(t.prevIndex,1),i.splice(t.nextIndex,0,n),this.valueSetter(e,i)},onDestroy:function(){this.unmounted=!0,this._accumulatorTimeout&&clearTimeout(this._accumulatorTimeout)}},setup:p?function(){return{v3:!!p}}:void 0,render:function(e){return(p||e)("div",[Object(r.getDefaultSlots)(this)])}},m=f,v=function(){return(v=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},g=n.h,y={name:"KendoFieldArray",props:{value:[String,Number,Boolean,Object,Array],component:[String,Number,Boolean,Object],validationMessage:String,touched:Boolean,modified:Boolean,validator:[Function,Array],visited:Boolean,valid:Boolean,name:String,id:String},created:function(){if(this.kendoForm)return this.kendoForm.registerField(this.$props.name,this.$props.validator)},methods:{onUnshift:function(e){this.kendoForm.onUnshift(this.$props.name,e)},onPush:function(e){this.kendoForm.onPush(this.$props.name,e)},onInsert:function(e){this.kendoForm.onInsert(this.$props.name,e)},onPop:function(){this.kendoForm.onPop(this.$props.name)},onRemove:function(e){this.kendoForm.onRemove(this.$props.name,e)},onReplace:function(e){this.kendoForm.onReplace(this.$props.name,e)},onMove:function(e){this.kendoForm.onMove(this.$props.name,e)}},setup:g?function(){return{v3:!!g}}:void 0,inject:{kendoForm:{default:null}},render:function(e){var t=g||e,i=this.$props,n=i.name,o=i.component,s=i.id;if(!this.kendoForm)return null;var a=this.kendoForm.values[n];if(o){var l=o?r.templateRendering.call(this,o,r.getListeners.call(this)):null;return r.getTemplate.call(this,{h:t,template:l,additionalProps:v({value:a,validationMessage:this.kendoForm.errors[n],touched:this.kendoForm.touchedByField[n],modified:this.kendoForm.modifiedByField[n],visited:this.kendoForm.visitedByField[n],valid:!(Boolean(this.kendoForm.errors[n])&&this.kendoForm.touchedByField[n]),name:n,id:s},this.$attrs),additionalListeners:{unshift:this.onUnshift,push:this.onPush,insert:this.onInsert,pop:this.onPop,remove:this.onRemove,replace:this.onReplace,move:this.onMove}})}}},b=y,k=n.h,S={name:"KendoFieldWrapper",props:{dir:String},created:function(){Object(r.validatePackage)(d)},computed:{fieldClassName:function(){return{"k-form-field":!0,"k-rtl":"rtl"===this.$props.dir}}},setup:k?function(){return{v3:!!k}}:void 0,render:function(e){var t=k||e,i=Object(r.getDefaultSlots)(this);return t("div",{class:this.fieldClassName},[i])}},w=S,D=n.h,I={name:"KendoFormElement",props:{horizontal:Boolean},created:function(){Object(r.validatePackage)(d)},inject:{kendoForm:{default:null}},computed:{formElementClassName:function(){return{"k-form":!0,"k-form-horizontal":!0===this.$props.horizontal}}},methods:{handleSubmit:function(e){this.kendoForm&&this.kendoForm.onSubmit(e)}},setup:D?function(){return{v3:!!D}}:void 0,render:function(e){var t=D||e,i=Object(r.getDefaultSlots)(this);return t("form",{class:this.formElementClassName,onSubmit:this.handleSubmit,on:this.v3?void 0:{submit:this.handleSubmit}},[i])}},C=I},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerNavigationVue2=t.SchedulerNavigation=void 0;var s=o(i(1)).h,a=i(3),l=i(0),u={name:"KendoSchedulerNavigation",props:{},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=l.getDefaultSlots(this);return t(a.ToolbarItem,this.v3?function(){return[i]}:[i])}};t.SchedulerNavigationVue2=u;var d=u;t.SchedulerNavigation=d},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerViewSelectorVue2=t.SchedulerViewSelector=void 0;var s=o(i(1)).h,a=i(3),l=i(0),u={name:"KendoSchedulerViewSelector",props:{},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=l.getDefaultSlots(this);return t(a.ToolbarItem,{class:"k-scheduler-views"},this.v3?function(){return[i]}:[i])}};t.SchedulerViewSelectorVue2=u;var d=u;t.SchedulerViewSelector=d},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.NavigationDatePickerVue2=t.NavigationDatePicker=void 0;var a=s(i(1)).h,l=i(87),u=i(93),d=i(5),c=i(7),h=function(){return null},p={name:"KendoNavigationDatePicker",props:n(n({},l.DatePicker.props),{value:[Date,Object]}),inject:{ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=d.ZonedDate.fromLocalDate(this.$props.value,this.ks.timezone),n=d.getDate(i);return t(l.DatePicker,{style:{width:"auto"},dateInput:h,attrs:this.v3?void 0:{dateInput:h,toggleButton:u.DatePickerToggleButton,value:n},toggleButton:u.DatePickerToggleButton,value:n,onChange:this.handleChange,on:this.v3?void 0:{change:this.handleChange}})},methods:{handleChange:function(e){var t=d.ZonedDate.fromUTCDate(c.toUTCDateTime(e.value),this.ks.timezone);this.$emit("change",n(n({},e),{value:t}))}}};t.NavigationDatePickerVue2=p;var f=p;t.NavigationDatePicker=f},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DatePickerToggleButtonVue2=t.DatePickerToggleButton=void 0;var a=s(i(1)).h,l=i(2),u=i(14),d=i(3),c={name:"KendoDatePickerToggleButton",props:n({},d.Button.props),inheritAttrs:!1,inject:{kendoIntlService:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=l.provideIntlService(this),n=this.ks.dateRange.end.getTime()-this.ks.dateRange.start.getTime()>27*u.MS_PER_DAY,r=i.format(this.ks.dateFormat,n?this.ks.currentDate:this.ks.dateRange.zonedStart,n?this.ks.currentDate:this.ks.dateRange.zonedEnd.addDays(-1)),o=i.format(this.ks.shortDateFormat,n?this.ks.currentDate:this.ks.dateRange.zonedStart,n?this.ks.currentDate:this.ks.dateRange.zonedEnd.addDays(-1));return t(d.Button,{onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick},icon:"calendar",attrs:this.v3?void 0:{icon:"calendar",tabIndex:-1,fillMode:"flat"},class:"k-nav-current",tabIndex:-1,fillMode:"flat"},this.v3?function(){return[t("span",{class:"k-button-text"},[t("span",{class:"k-sm-date-format"},[o]),t("span",{class:"k-lg-date-format"},[r])])]}:[t("span",{class:"k-button-text"},[t("span",{class:"k-sm-date-format"},[o]),t("span",{class:"k-lg-date-format"},[r])])])},methods:{handleClick:function(e){this.$emit("click",e)}}};t.DatePickerToggleButtonVue2=c;var h=c;t.DatePickerToggleButton=h},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ViewSelectorListVue2=t.ViewSelectorList=void 0;var a=s(i(1)).h,l=i(3),u=i(95),d={name:"KendoViewSelectorList",inject:{ks:{default:null},setActiveViewName:{default:null}},mounted:function(){this.calculateMedia(),this.observer=new window.ResizeObserver(this.calculateMedia),this.observer.observe(this.$el)},destroyed:a?void 0:function(){this.observer&&this.observer.disconnect()},unmounted:function(){this.observer&&this.observer.disconnect()},data:function(){return{media:"desktop"}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=this,r=a||e,o=this.ks.views,s=o.find((function(e){return e.name===i.ks.activeViewName}));return r("div",{class:"k-scheduler-views-wrapper"},[s&&"mobile"===this.media&&r(l.DropDownButton,{class:"k-views-dropdown",onItemclick:this.handleItemClick,on:this.v3?void 0:{itemclick:this.handleItemClick},popupSettings:{popupClass:"k-scheduler-toolbar"},attrs:this.v3?void 0:{popupSettings:{popupClass:"k-scheduler-toolbar"},textField:"title",items:o.map((function(e){return n(n({},e.props),{selected:e.name===this.ks.activeViewName,name:e.name,title:e.title||e.name})}),this),text:s.title||s.name},textField:"title",items:o.map((function(e){return n(n({},e.props),{selected:e.name===this.ks.activeViewName,name:e.name,title:e.title||e.name})}),this),text:s.title||s.name},this.v3?function(){return[r("span",{class:"k-icon k-i-arrow-60-down"})]}:[r("span",{class:"k-icon k-i-arrow-60-down"})]),"desktop"===this.media&&r(l.ButtonGroup,{class:"k-scheduler-views"},this.v3?function(){return[o.map((function(e){return r(u.ViewSelectorItem,{key:e.name,view:e,attrs:this.v3?void 0:{view:e}})}),t)]}:[o.map((function(e){return r(u.ViewSelectorItem,{key:e.name,view:e,attrs:this.v3?void 0:{view:e}})}),t)])])},methods:{handleItemClick:function(e){e.event.preventDefault(),(e.item.name||e.item.title)&&this.setActiveViewName(e.item.name||e.item.title)},calculateMedia:function(){this.media=window.matchMedia("(min-width: 1024px)").matches?"desktop":"mobile"}}};t.ViewSelectorListVue2=d;var c=d;t.ViewSelectorList=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ViewSelectorItemVue2=t.ViewSelectorItem=void 0;var s=o(i(1)).h,a=i(3),l=i(2),u={name:"KendoViewSelectorItem",props:{view:Object},inject:{kendoLocalizationService:{default:null},setActiveViewName:{default:null},ks:{default:null}},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=(l.provideLocalizationService(this),this.$props.view.title||this.$props.view.name);return t(a.Button,{role:"button",attrs:this.v3?void 0:{role:"button",type:"button",tabIndex:-1,togglable:!0,selected:this.$props.view.name===this.ks.activeViewName},type:"button",tabIndex:-1,togglable:!0,selected:this.$props.view.name===this.ks.activeViewName,onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}},this.v3?function(){return[i]}:[i])},methods:{handleClick:function(){this.$props.view.name&&this.setActiveViewName(this.$props.view.name)}}};t.ViewSelectorItemVue2=u;var d=u;t.ViewSelectorItem=d},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.BusinessHoursVue2=t.BusinessHours=void 0;var s=o(i(1)).h,a=i(3),l=i(0),u={name:"KendoBusinessHours",props:{},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e,i=l.getDefaultSlots(this);return t(a.ToolbarItem,{class:"k-scheduler-navigation"},this.v3?function(){return[i]}:[i])}};t.BusinessHoursVue2=u;var d=u;t.BusinessHours=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePropOrState=void 0;var n=i(0);t.usePropOrState=function(e,t){var i=t[0],r=t[1];return void 0!==e?[e,n.noop]:[i,r]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useCellSync=void 0;var n=i(20),r=i(20);t.useCellSync=function(e){var t=e.element;!function(){if(t){var i=[],o=[],s=[],a=t.querySelectorAll(e.selector);a.forEach((function(t){var a=t.getBoundingClientRect().width,l=e.explicitDepth&&void 0!==e.attribute?t.getAttribute(e.attribute):0,u=n.getPadding(t,!0),d=r.getBorders(t,!0);null!==l&&((!s[l]||d>s[l])&&(s[l]=d),(!o[l]||u>o[l])&&(o[l]=u),(!i[l]||a>i[l])&&(i[l]=a))})),a.forEach((function(t){var n=e.explicitDepth?t.getAttribute(e.attribute):0;null!==n&&(t.style.minWidth=i[n]-o[n]-s[n]+"px")}))}}()}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useRowSync=void 0;i(20),i(14);t.useRowSync=function(e,t){e.element}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAsyncMouseEnterLeave=void 0,t.useAsyncMouseEnterLeave=function(e){var t=e.handleMouseEnter,i=e.handleMouseLeave,n={}.current;return{onMouseEnter:function(e){clearTimeout(n),t(e)},onMouseLeave:function(e){var t;t=function(){return i(e)},clearTimeout(n),n=window.setTimeout((function(){return t()}))}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useEditable=void 0,t.useEditable=function(e){var t=void 0!==e?e:{}.editable||!1,i=!0===t||void 0!==t&&!1!==t&&!0===t.edit,n=!0===t||void 0!==t&&!1!==t&&!0===t.resize,r=!0===t||void 0!==t&&!1!==t&&!0===t.remove,o=!0===t||void 0!==t&&!1!==t&&!0===t.drag;return{add:!0===t||void 0!==t&&!1!==t&&!0===t.add,edit:i,drag:o,remove:r,resize:n,select:!0===t||void 0!==t&&!1!==t&&!0===t.select}}},function(e,t,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.useSlotExpand=void 0;var r=i(20),o=i(14);t.useSlotExpand=function(e,t,i){var s=0;!function(){if(e){var t=e.$el;t&&(s=t.clientHeight)}}(),function(){if(i&&e){var t=e.$el,a=e.$props;if(t&&e.bv.items.length){var l=r.getPadding(t),u=0,d=a.items.filter((function(e){return e.refTo}));d.forEach((function(t){var i=e.bv.items.find((function(e){return e.uid===t.uid}));if(i){var n=r.getRect(i.$el).height;u+=n}}));var c=d.length*o.BORDER_WIDTH*2+u-(l||0)+("object"===(void 0===i?"undefined":n(i))&&i.offsetTop?i.offsetTop:0)+("object"===(void 0===i?"undefined":n(i))&&i.offsetBottom?i.offsetBottom:0);d.length?c>s-l&&r.setRect(t,{height:c},!0):t&&(t.style.minHeight=null)}}}()}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useWorkHours=void 0,t.useWorkHours=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSchedulerItem=void 0,t.useSchedulerItem=function(e,t){return[]}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchFocusedItems=t.ITEMS_FOCUS_ACTION=void 0;var n,r=i(7);!function(e){e.next="ITEMS_FOCUS_NEXT",e.prev="ITEMS_FOCUS_PREV"}(n=t.ITEMS_FOCUS_ACTION||(t.ITEMS_FOCUS_ACTION={})),t.dispatchFocusedItems=function(e,t){switch(e.type){case n.next:if(!e.item||!e.item.current||!this.items)return;(i=r.findNextItem(e.item,this.items,e.ignoreIsAllDay,!1))&&i.current&&i.current.element&&(t.preventDefault(),i.current.element.focus());break;case n.prev:if(!e.item||!e.item.current||!this.items)return;var i;(i=r.findNextItem(e.item,this.items,e.ignoreIsAllDay,!0))&&i.current&&i.current.element&&(t.preventDefault(),i.current.element.focus())}}},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.findDownSlot=t.findRightSlot=t.findLeftSlot=t.findUpSlot=t.dispatchFocusedSlots=t.SLOTS_FOCUS_ACTION=void 0,function(e){e.up="SLOT_FOCUS_UP",e.down="SLOT_FOCUS_DOWN",e.left="SLOT_FOCUS_LEFT",e.right="SLOT_FOCUS_RIGHT"}(n=t.SLOTS_FOCUS_ACTION||(t.SLOTS_FOCUS_ACTION={})),t.dispatchFocusedSlots=function(e,i){switch(e.type){case n.up:if(!e.slot.current||!this.slots)return;(r=t.findUpSlot(e.slot,this.slots))&&r.current&&r.current.element&&(i.preventDefault(),r.current.element.focus());break;case n.down:if(!e.slot||!this.slots)return;(r=t.findDownSlot(e.slot,this.slots))&&r.current&&r.current.element&&(i.preventDefault(),r.current.element.focus());break;case n.left:if(!e.slot||!this.slots)return;(r=t.findLeftSlot(e.slot,this.slots))&&r.current&&r.current.element&&(i.preventDefault(),r.current.element.focus());break;case n.right:if(!e.slot||!this.slots)return;var r;(r=t.findRightSlot(e.slot,this.slots))&&r.current&&r.current.element&&(i.preventDefault(),r.current.element.focus())}},t.findUpSlot=function(e,t){return t.find((function(t){return null!==t.current&&null!==e.current&&t.current.props.row===e.current.props.row-1&&t.current.props.col===e.current.props.col}))},t.findLeftSlot=function(e,t){return t.find((function(t){return null!==t.current&&null!==e.current&&t.current.props.row===e.current.props.row&&t.current.props.col===e.current.props.col-1}))},t.findRightSlot=function(e,t){return t.find((function(t){return null!==t.current&&null!==e.current&&t.current.props.row===e.current.props.row&&t.current.props.col===e.current.props.col+1}))},t.findDownSlot=function(e,t){return t.find((function(t){return null!==t.current&&null!==e.current&&t.current.props.row===e.current.props.row+1&&t.current.props.col===e.current.props.col}))}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewGroupRowContentVue2=t.DayViewGroupRowContent=void 0;var s=o(i(1)).h,a={name:"KendoDayViewGroupRowContent",props:{rangeIndex:Number},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){return(s||e)("div",{class:"k-scheduler-cell k-side-cell","data-range-index":this.$props.rangeIndex,attrs:this.v3?void 0:{"data-range-index":this.$props.rangeIndex}})}};t.DayViewGroupRowContentVue2=a;var l=a;t.DayViewGroupRowContent=l},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewAllDayRowContentVue2=t.DayViewAllDayRowContent=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(2)),u=i(11),d={name:"KendoDayViewAllDayRowContent",props:{groupIndex:Number},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){return(a||e)("div",{class:"k-scheduler-cell k-heading-cell k-side-cell k-scheduler-times-all-day"},[l.provideLocalizationService(this).toLanguageString(u.allDay,u.messages[u.allDay])])}};t.DayViewAllDayRowContentVue2=d;var c=d;t.DayViewAllDayRowContent=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewRowContentVue2=t.DayViewRowContent=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(0)),u=i(60),d={name:"KendoDayViewRowContent",props:{contentSlot:Object,isMaster:Boolean,isLast:Boolean,timeHeaderCell:[String,Function,Object]},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props.contentSlot;return this.$props.isMaster?t(u.TimeHeaderCell,{as:this.$props.timeHeaderCell,attrs:this.v3?void 0:{as:this.$props.timeHeaderCell,date:i.zonedStart,start:i.zonedStart,end:i.zonedEnd},date:i.zonedStart,start:i.zonedStart,end:i.zonedEnd,class:l.classNames("k-side-cell",{"k-major-cell":!this.$props.isLast})}):t("div",{class:"k-scheduler-cell k-heading-cell k-side-cell"})}};t.DayViewRowContentVue2=d;var c=d;t.DayViewRowContent=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewMiddleRowVue2=t.DayViewMiddleRow=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(0)),u=i(32),d=i(21),c=i(7),h={name:"KendoDayViewMiddleRow",props:{timeRanges:Array,timeSlots:Array,slotDivisions:{type:Number,default:2},rootIndex:{type:Number},root:Object,numberOfDays:Number,workDayStart:Date,workDayEnd:Date,workWeekStart:Number,workWeekEnd:Number},inject:{ri:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props.editSlot||d.SchedulerEditSlot;return t("div",{class:l.classNames("k-scheduler-row",{"k-middle-row":!((this.rootIndex+1)%this.slotDivisions==0)})},[this.timeRanges.map((function(e,n){var r=this;return this.timeSlots.filter((function(e){return e.index===r.root.index&&e.range.index===n&&e.group.index===r.ri.groupIndex})).map((function(e){return t(i,{key:e.start.getTime()+":"+e.group.index,index:e.index,attrs:this.v3?void 0:{index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,row:this.rootIndex+u.GRID_OFFSET,col:this.timeRanges.length*(this.ri.groupIndex||0)+n,isWorkHour:c.isInTimeRange(e.zonedStart,this.workDayStart,this.workDayEnd),isWorkDay:0<=e.zonedStart.getDay()+(this.numberOfDays-this.workWeekStart)&&(e.zonedStart.getDay()+(this.numberOfDays-this.workWeekStart))%this.numberOfDays<=this.workWeekEnd+(this.numberOfDays-this.workWeekStart),editable:this.$props.editable},start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,form:this.$props.form,row:this.rootIndex+u.GRID_OFFSET,col:this.timeRanges.length*(this.ri.groupIndex||0)+n,isWorkHour:c.isInTimeRange(e.zonedStart,this.workDayStart,this.workDayEnd),isWorkDay:0<=e.zonedStart.getDay()+(this.numberOfDays-this.workWeekStart)&&(e.zonedStart.getDay()+(this.numberOfDays-this.workWeekStart))%this.numberOfDays<=this.workWeekEnd+(this.numberOfDays-this.workWeekStart),editable:this.$props.editable})}),this)}),this)])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.DayViewMiddleRowVue2=h;var p=h;t.DayViewMiddleRow=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewHeadVue2=t.DayViewHead=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(35)),u=i(5),d={name:"KendoDayViewHead",props:{timeRanges:Array,dateHeaderCell:[String,Function,Object]},inject:{ri:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e;return t("div",{class:"k-scheduler-row",key:this.ri.groupIndex},[this.timeRanges.map((function(e,i){return t(l.DateHeaderCell,{as:this.$props.dateHeaderCell,attrs:this.v3?void 0:{as:this.$props.dateHeaderCell,date:u.ZonedDate.fromLocalDate(new Date(e.zonedEnd.getTime()-(e.zonedEnd.getTime()-e.zonedStart.getTime())/2),this.ks.timezone),start:e.start,end:e.end,format:{skeleton:"MEd"}},key:i,date:u.ZonedDate.fromLocalDate(new Date(e.zonedEnd.getTime()-(e.zonedEnd.getTime()-e.zonedStart.getTime())/2),this.ks.timezone),start:e.start,end:e.end,format:{skeleton:"MEd"}})}),this)])}};t.DayViewHeadVue2=d;var c=d;t.DayViewHead=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.DayViewAllDaySlotsVue2=t.DayViewAllDaySlots=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(21)),u={name:"KendoDayViewAllDaySlots",props:{dayRanges:Array,daySlots:Array,numberOfDays:Number,workWeekStart:Number,workWeekEnd:Number},inject:{ri:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this.$props,n=i.numberOfDays,r=i.workWeekStart,o=i.workWeekEnd;return t("div",{key:this.ri.groupIndex,class:"k-scheduler-row"},[this.dayRanges.map((function(e,i){var s=this;return this.daySlots.filter((function(e){return e.group.index===s.ri.groupIndex&&e.range.index===i})).map((function(e,i,s){return t(l.SchedulerEditSlot,{index:e.index,attrs:this.v3?void 0:{index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,form:this.$props.form,renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,row:0,col:"horizontal"===this.ks.orientation?s.length*(this.ri.groupIndex||0)+i:i,isWorkDay:0<=e.zonedStart.getDay()+(n-r)&&(e.zonedStart.getDay()+(n-r))%n<=o+(n-r),expandable:!0},start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},form:this.$props.form,renderSlot:this.$props.slot,viewSlot:this.$props.viewSlot,key:e.start.getTime()+":"+e.group.index,row:0,col:"horizontal"===this.ks.orientation?s.length*(this.ri.groupIndex||0)+i:i,isWorkDay:0<=e.zonedStart.getDay()+(n-r)&&(e.zonedStart.getDay()+(n-r))%n<=o+(n-r),expandable:!0})}),this)}),this)])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.DayViewAllDaySlotsVue2=u;var d=u;t.DayViewAllDaySlots=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useFormItem=t.FORM_ITEM_ACTION=void 0,function(e){e.set="FORM_ITEM_SET",e.setMaster="FORM_ITEM_SET_MASTER",e.reset="FORM_ITEM_RESET",e.complete="FORM_ITEM_COMPLETE"}(t.FORM_ITEM_ACTION||(t.FORM_ITEM_ACTION={})),t.useFormItem=function(e,t){return[]}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.CurrentTimeMarkerVue2=t.CurrentTimeMarker=void 0;var s=o(i(1)).h,a=i(5),l=i(0),u=i(7),d=i(20),c={name:"KendoCurrentTimeMarker",props:{updateInterval:{type:Number,default:6e4},groupIndex:Number,vertical:Boolean,attachArrow:Object},inject:{ks:{default:null}},created:function(){this.interval=void 0,this.arrowRef=null,this.line=null},data:function(){return{show:!1}},mounted:function(){this.line=this.$el,this.position()},updated:function(){var e=this;if(this.ks.scheduler&&window){clearInterval(this.interval),this.interval=window.setInterval(this.refresh,this.updateInterval);var t=new window.ResizeObserver(this.refresh);return t.observe(this.ks.scheduler),function(){clearInterval(e.interval),t.disconnect()}}},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t,i=s||e;l.getDefaultSlots(this),this.ks.scheduler,this.schedulerProps;return i("div",{class:"k-current-time",style:(t={transform:this.$props.vertical?"translateX(-50%)":"translateY(-50%)"},t[this.$props.vertical?"width":"height"]="1px",t.visibility=this.show?void 0:"hidden",t)})},methods:{position:function(){var e=this;if(this.slots){var t,i,n,r,o=this.slots.filter((function(t){return t.current&&(void 0===e.$props.groupIndex||null===e.$props.groupIndex||t.current.props.group.index===e.$props.groupIndex)&&(e.$props.vertical?u.intersects(new Date,new Date,t.current.props.start,t.current.props.end,!0):u.isInTimeRange(new Date,t.current.props.start,t.current.props.end))&&!t.current.props.isAllDay}));if(o&&o.length&&this.arrowRef&&this.line){var s=u.first(o);if(!s)return;var l=this.$props.vertical?(r=0,o.forEach((function(e){if(e.current){var t=d.getRect(e.current.element);r+=t.height}})),r):function(e){var t=0;return e.forEach((function(e){if(e.current){var i=d.getRect(e.current.element);t+=i.width}})),t}(o),c=d.getRect(s.element),h=d.getRect(this.arrowRef),p=(this.$props.vertical?c.width:c.height)/(s.props.end.getTime()-s.props.start.getTime()),f=(Date.now()-(t=new Date,i=s.props.start,n=a.cloneDate(t),n.setHours(i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()),n).getTime())*p,m="rtl"===this.$props.dir,v=this.$props.vertical?c.top:c.top+f-h.height/2,g=m?"right":"left",y=this.$props.vertical?c[g]+f-h.width/2:c[g];this.$props.vertical?this.arrowRef.style[g]=y+"px":this.arrowRef.style.top=v+"px",this.line.style[g]=y+"px",this.line.style.top=v+"px",this.line.style[this.$props.vertical?"height":"width"]=l-1+"px",this.show=!0}else this.show=!1}}}};t.CurrentTimeMarkerVue2=c;var h=c;t.CurrentTimeMarker=h},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-vue-scheduler",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1646205551,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MultiDayTimelineViewVue2=t.MultiDayTimelineView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(33)),u=i(18),d=i(5),c=i(58),h=i(117),p=i(118),f=i(34),m=i(7),v=i(39),g=i(61),y=i(38),b=i(37),k=i(119),S=i(14),w=i(2),D=i(40),I=i(35),C=i(60),$={name:"KendoMultiDayTimelineView",props:{name:{type:String,default:"multi-day-timeline"},title:{type:String,default:"Multi Day Timeline"},currentTimeMarker:{type:Boolean,default:!0},showWorkHours:{type:Boolean,default:!0},dateRange:{type:[Function,Object],default:function(){return T}},selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},step:{type:Number,default:1},numberOfDays:{type:Number,default:1},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"00:00"},workDayStart:{type:String,default:"8:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:d.Day.Monday},workWeekEnd:{type:Number,default:d.Day.Friday},slotDivisions:{type:Number,default:2},slotDuration:{type:Number,default:60},defaultShowWorkHours:{type:Boolean,default:!0},columnWidth:{type:Number,default:100}},inject:{ks:{default:null},kendoIntlService:{default:null}},computed:{viewStart:function(){this.intl=w.provideIntlService(this);var e=this.intl.parseDate(this.$props.workDayStart),t=this.intl.parseDate(this.$props.startTime);return this.showWorkHours?e:t},viewEnd:function(){this.intl=w.provideIntlService(this);var e=this.intl.parseDate(this.$props.workDayEnd),t=this.intl.parseDate(this.$props.endTime);return this.showWorkHours?e:t},ranges:function(){return v.toRanges(this.ks.dateRange,{step:d.MS_PER_DAY,timezone:this.ks.timezone})},timelineSlots:function(){var e=this,t=g.toSlots(this.ks.dateRange,{step:this.slotDuration/this.slotDivisions*d.MS_PER_MINUTE},{groups:this.ks.groups,ranges:this.ranges}).filter((function(t){return m.isInTimeRange(t.zonedStart,e.viewStart,e.viewEnd)||e.viewStart.getTime()===e.viewEnd.getTime()}));return t},occurrences:function(){return y.toOccurrences(this.ks.dataItems,{dateRange:this.ks.dateRange,fields:this.ks.fields,timezone:this.ks.timezone})},items:function(){var e=this,t=b.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.ranges}).filter((function(t){return e.viewStart.getTime()===e.viewEnd.getTime()||m.isInTimeRange(t.zonedStart,e.viewStart,e.viewEnd)||m.isInTimeRange(t.zonedEnd,e.viewStart,e.viewEnd)||m.isInTimeRange(new Date(t.zonedEnd.getTime()-(t.zonedEnd.getTime()-t.zonedStart.getTime())/2),e.viewStart,e.viewEnd)}));return t}},mounted:function(){this.timeRef=null,this.bodyRef=null,u.useCellSync({element:this.$el,selector:".k-resource-cell",attribute:"data-depth-index",explicitDepth:!0}),u.useRowSync({element:this.$el,selector:".k-resource-row",horizontalAttribute:"data-depth-index",verticalAttribute:"data-resource-index",applyTo:".k-resource-cell"})},updated:function(){u.useCellSync({element:this.$el,selector:".k-resource-cell",attribute:"data-depth-index",explicitDepth:!0}),u.useRowSync({element:this.$el,selector:".k-resource-row",horizontalAttribute:"data-depth-index",verticalAttribute:"data-resource-index",applyTo:".k-resource-cell"})},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e,n=w.provideIntlService(this),r=(this.$props.showWorkHours,this.$props.slotDivisions,this.$props.slotDuration),o=n.parseDate(this.$props.workDayStart),s=n.parseDate(this.$props.workDayEnd),u=this.items,d=this.timelineSlots;m.mapItemsToSlots(u,d,!0),m.mapSlotsToItems(u,d,!0);var v=("horizontal"===this.ks.orientation?d.length:d.length/this.ks.groups.length)*(this.$props.columnWidth+S.BORDER_WIDTH),g=[i("div",{class:"k-scheduler-row"},[this.ranges.map((function(e,t){return i(I.DateHeaderCell,{as:this.$props.dateHeaderCell,attrs:this.v3?void 0:{as:this.$props.dateHeaderCell,date:e.zonedStart,start:e.start,end:e.end,format:"m"},key:t,date:e.zonedStart,start:e.start,end:e.end,format:"m"})}),this)]),i("div",{class:"k-scheduler-row",ref:"timeRef"},[this.ranges.map((function(e,t){return d.filter((function(e){return 0===e.group.index&&e.range.index===t})).map((function(e){return e.zonedStart.getMinutes()%r==0?i(C.TimeHeaderCell,{key:e.index,format:"t",attrs:this.v3?void 0:{format:"t",date:e.zonedStart,start:e.zonedStart,end:e.zonedEnd},date:e.zonedStart,start:e.zonedStart,end:e.zonedEnd}):null}),this)}),this)])];return i(l.BaseView,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,props:this.$props,baseSlots:d,ranges:this.ranges},class:"k-scheduler-timeline-view",props:this.$props,baseSlots:d,ranges:this.ranges},this.v3?function(){return[i("div",{class:"k-scheduler-head",style:{width:v+"px"}},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,group:t.ks.props.group,resources:t.ks.props.resources,rowContent:h.TimelineViewRowContent},group:t.ks.props.group,resources:t.ks.props.resources,rowContent:h.TimelineViewRowContent},t.v3?function(){return[g]}:[g]):i(f.VerticalResourceIterator,{wrapGroup:!0,attrs:t.v3?void 0:{wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},group:t.ks.props.group,resources:t.ks.props.resources},t.v3?function(){return[g]}:[g])]),i("div",{class:"k-scheduler-body",style:{width:v+"px"},ref:"bodyRef"},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{group:t.ks.props.group,attrs:t.v3?void 0:{group:t.ks.props.group,resources:t.ks.props.resources,rowContent:p.TimelineViewAllEventsRowContent},resources:t.ks.props.resources,rowContent:p.TimelineViewAllEventsRowContent},t.v3?function(){return[i(k.TimelineViewBody,{ranges:t.ranges,attrs:t.v3?void 0:{ranges:t.ranges,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]}:[i(k.TimelineViewBody,{ranges:t.ranges,attrs:t.v3?void 0:{ranges:t.ranges,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]):i(f.VerticalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},[i(k.TimelineViewBody,{range:t.range,attrs:t.v3?void 0:{range:t.range,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]),u.sort(m.orderSort).map((function(e){return i(D.SchedulerEditItem,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",form:this.$props.form,item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,ignoreIsAllDay:!0,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,ignoreIsAllDay:!0,vertical:!1})}),t)])]}:[i("div",{class:"k-scheduler-head",style:{width:v+"px"}},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,group:t.ks.props.group,resources:t.ks.props.resources,rowContent:h.TimelineViewRowContent},group:t.ks.props.group,resources:t.ks.props.resources,rowContent:h.TimelineViewRowContent},t.v3?function(){return[g]}:[g]):i(f.VerticalResourceIterator,{wrapGroup:!0,attrs:t.v3?void 0:{wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},group:t.ks.props.group,resources:t.ks.props.resources},t.v3?function(){return[g]}:[g])]),i("div",{class:"k-scheduler-body",style:{width:v+"px"},ref:"bodyRef"},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{group:t.ks.props.group,attrs:t.v3?void 0:{group:t.ks.props.group,resources:t.ks.props.resources,rowContent:p.TimelineViewAllEventsRowContent},resources:t.ks.props.resources,rowContent:p.TimelineViewAllEventsRowContent},t.v3?function(){return[i(k.TimelineViewBody,{ranges:t.ranges,attrs:t.v3?void 0:{ranges:t.ranges,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]}:[i(k.TimelineViewBody,{ranges:t.ranges,attrs:t.v3?void 0:{ranges:t.ranges,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]):i(f.VerticalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},wrapGroup:!0,group:t.ks.props.group,resources:t.ks.props.resources},[i(k.TimelineViewBody,{range:t.range,attrs:t.v3?void 0:{range:t.range,workDayStart:o,workDayEnd:s,timelineSlots:d},workDayStart:o,workDayEnd:s,timelineSlots:d,onDataaction:t.handleDataAction,on:t.v3?void 0:{dataaction:t.handleDataAction}})]),u.sort(m.orderSort).map((function(e){return i(D.SchedulerEditItem,{key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",form:this.$props.form,item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,ignoreIsAllDay:!0,vertical:!1},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,format:"t",form:this.$props.form,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},item:this.$props.item,viewItem:this.$props.viewItem,editable:this.$props.editable,ignoreIsAllDay:!0,vertical:!1})}),t)])])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.MultiDayTimelineViewVue2=$;var T=function(e){var t=e.date,i=e.numberOfDays,n=void 0===i?1:i,r=e.timezone,o=d.ZonedDate.fromLocalDate(t,r),s=d.getDate(o),a=d.addDays(s,n),l=d.ZonedDate.fromUTCDate(m.toUTCDateTime(s),r),u=d.ZonedDate.fromUTCDate(m.toUTCDateTime(a),r);return{start:new Date(l.getTime()),end:new Date(u.getTime()),zonedStart:l,zonedEnd:u}},O=$;t.MultiDayTimelineView=O},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimelineViewRowContentVue2=t.TimelineViewRowContent=void 0;var s=o(i(1)).h,a=i(0),l={name:"KendoTimelineViewRowContent",props:{},setup:s?function(){return{v3:!!s}}:void 0,render:function(e){var t=s||e;a.getDefaultSlots(this);return t("div",{class:"k-sticky-cell"},[t("div",{class:"k-scheduler-cell k-side-cell"})])}};t.TimelineViewRowContentVue2=l;var u=l;t.TimelineViewRowContent=u},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimelineViewAllEventsRowContentVue2=t.TimelineViewAllEventsRowContent=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(11)),u=i(2),d={name:"KendoTimelineViewAllEventsRowContent",props:{},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=u.provideLocalizationService(this);return t("div",{class:"k-sticky-cell"},[t("div",{class:"k-scheduler-cell k-heading-cell k-side-cell k-scheduler-times-all-day","data-range-index":0,attrs:this.v3?void 0:{"data-range-index":0}},[i.toLanguageString(l.allEvents,l.messages[l.allEvents])])])}};t.TimelineViewAllEventsRowContentVue2=d;var c=d;t.TimelineViewAllEventsRowContent=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.TimelineViewBodyVue2=t.TimelineViewBody=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(21)),u=i(7),d={name:"KendoTimelineViewBody",props:{timelineSlots:Array,ranges:Array,workDayStart:Date,workDayEnd:Date},inject:{ri:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=this,n=this.ks.orientation,r=this.ranges,o=this.ri.groupIndex,s=this.$props.editable;return t("div",{class:"k-scheduler-row"},[this.ranges.map((function(e,a){return this.timelineSlots.filter((function(e){return e.group.index===o&&e.range.index===a})).map((function(e,d,c){return t(l.SchedulerEditSlot,{key:e.start.getTime()+":"+e.group.index,slot:i.$props.slot,viewSlot:i.$props.viewSlot,attrs:this.v3?void 0:{viewSlot:i.$props.viewSlot,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,form:i.$props.form,isWorkHour:u.isInTimeRange(e.zonedStart,i.workDayStart,i.workDayEnd),col:"horizontal"===n?a*c.length+d+c.length*r.length*(o||0):a*c.length+d,row:"horizontal"===n?0:o||0,expandable:!0,editable:s},index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,form:i.$props.form,onDataaction:i.handleDataAction,on:this.v3?void 0:{dataaction:i.handleDataAction},isWorkHour:u.isInTimeRange(e.zonedStart,i.workDayStart,i.workDayEnd),col:"horizontal"===n?a*c.length+d+c.length*r.length*(o||0):a*c.length+d,row:"horizontal"===n?0:o||0,expandable:!0,editable:s})}),!0)}),this)])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.TimelineViewBodyVue2=d;var c=d;t.TimelineViewBody=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.AgendaViewVue2=t.AgendaView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(33)),u=i(34),d=i(18),c=i(14),h=i(5),p=i(2),f=i(39),m=i(38),v=i(37),g=i(7),y=i(36),b=i(121),k=i(122),S=i(62),w=i(21),D={name:"KendoAgendaView",props:{name:{type:String,default:"agenda"},dateRange:{type:[Function,Object],default:function(){return C}},selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},slotDuration:{type:Number,default:1440},slotDivisions:{type:Number,default:1},step:{type:Number,default:c.DAYS_IN_WEEK_COUNT},numberOfDays:{type:Number,default:c.DAYS_IN_WEEK_COUNT}},inject:{ks:{default:null},kendoLocalizationService:{default:null},kendoIntlService:{default:null}},created:function(){this.intl=p.provideIntlService(this)},mounted:function(){d.useCellSync({element:this.$el,selector:".k-scheduler-datecolumn",explicitDepth:!1}),d.useCellSync({element:this.$el,selector:".k-scheduler-timecolumn",explicitDepth:!1})},updated:function(){d.useCellSync({element:this.$el,selector:".k-scheduler-datecolumn",explicitDepth:!1}),d.useCellSync({element:this.$el,selector:".k-scheduler-timecolumn",explicitDepth:!1})},computed:{ranges:function(){return f.toRanges(this.ks.dateRange,{step:h.MS_PER_DAY,timezone:this.ks.timezone})},agendaSlots:function(){return y.toSlots(this.ks.dateRange,{step:h.MS_PER_DAY},{groups:this.ks.groups,ranges:this.ranges})},occurrences:function(){return m.toOccurrences(this.ks.dataItems,{dateRange:this.ks.dateRange,fields:this.ks.fields,timezone:this.ks.timezone})},items:function(){var e=v.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.ranges});return g.mapItemsToSlots(e,this.agendaSlots,!0),g.mapSlotsToItems(e,this.agendaSlots,!0),e}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;this.$props.editTask||S.SchedulerEditTask,this.$props.editSlot||w.SchedulerEditSlot,p.provideIntlService(this),p.provideLocalizationService(this);return i(l.BaseView,{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id,props:this.$props,baseSlots:this.items,ranges:this.ranges},class:"k-scheduler-agendaview",props:this.$props,baseSlots:this.items,ranges:this.ranges},this.v3?function(){return[i("div",{class:"k-scheduler-head"},[i(u.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group},group:t.ks.props.group},t.v3?function(){return[i(b.AgendaViewHead)]}:[i(b.AgendaViewHead)])]),i(u.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group,nested:!0},group:t.ks.props.group,nested:!0},t.v3?function(){return[i(k.AgendaViewBody,{agendaSlots:t.agendaSlots,attrs:t.v3?void 0:{agendaSlots:t.agendaSlots}})]}:[i(k.AgendaViewBody,{agendaSlots:t.agendaSlots,attrs:t.v3?void 0:{agendaSlots:t.agendaSlots}})])]}:[i("div",{class:"k-scheduler-head"},[i(u.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group},group:t.ks.props.group},t.v3?function(){return[i(b.AgendaViewHead)]}:[i(b.AgendaViewHead)])]),i(u.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group,nested:!0},group:t.ks.props.group,nested:!0},t.v3?function(){return[i(k.AgendaViewBody,{agendaSlots:t.agendaSlots,attrs:t.v3?void 0:{agendaSlots:t.agendaSlots}})]}:[i(k.AgendaViewBody,{agendaSlots:t.agendaSlots,attrs:t.v3?void 0:{agendaSlots:t.agendaSlots}})])])}};t.AgendaViewVue2=D;var I=function(e){return h.getDate(e)},C=function(e){var t=e.intl,i=e.date,n=e.numberOfDays,r=void 0===n?1:n,o=e.timezone,s=h.ZonedDate.fromLocalDate(i,o),a=r===c.DAYS_IN_WEEK_COUNT?I(h.firstDayInWeek(s,t.firstDay())):I(s),l=function(e,t){return h.getDate(h.addDays(e,t||1))}(a,r),u=h.ZonedDate.fromUTCDate(g.toUTCDateTime(a),o),d=h.ZonedDate.fromUTCDate(g.toUTCDateTime(l),o);return{start:new Date(u.getTime()),end:new Date(d.getTime()),zonedStart:u,zonedEnd:d}},$=D;t.AgendaView=$},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.AgendaViewHeadVue2=t.AgendaViewHead=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(2)),u=i(11),d={name:"KendoAgendaViewHead",props:{monthSlots:Array,dateHeaderCell:[String,Function,Object]},inject:{ri:{default:null},kendoLocalizationService:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=l.provideLocalizationService(this);return t("div",{class:"k-scheduler-row",key:this.ri.groupIndex},[t("div",{class:"k-scheduler-cell k-heading-cell k-group-cell k-scheduler-datecolumn"},[i.toLanguageString(u.dateTitle,u.messages[u.dateTitle])]),t("div",{class:"k-scheduler-cell k-heading-cell k-group-cell k-scheduler-timecolumn"},[i.toLanguageString(u.timeTitle,u.messages[u.timeTitle])]),t("div",{class:"k-scheduler-cell k-heading-cell k-scheduler-eventcolumn"},[i.toLanguageString(u.eventTitle,u.messages[u.eventTitle])])])}};t.AgendaViewHeadVue2=d;var c=d;t.AgendaViewHead=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.AgendaViewBodyVue2=t.AgendaViewBody=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(21)),u=i(2),d=i(62),c=i(11),h={name:"KendoAgendaViewBody",props:{rangeIndex:Number,itemsPerSlot:Number,agendaSlots:Array},inject:{ri:{default:null},ks:{default:null},kendoIntlService:{default:null},kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;this.intl=u.provideIntlService(this);var n=this.$props.editSlot||l.SchedulerEditSlot,r=this.$props.editTask||d.SchedulerEditTask,o=u.provideLocalizationService(this);return i("div",{class:"k-scheduler-body"},[this.agendaSlots.filter((function(e){return e.group.index===(t.ri.groupIndex||0)})).map((function(e,t,s){var a=this;return i("div",{class:"k-scheduler-row k-scheduler-content",key:this.ri.groupIndex+":"+t},[i(n,{index:e.index,attrs:this.v3?void 0:{index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,editable:this.$props.editable,row:s.length*(this.ri.groupIndex||0)+t,col:0,viewSlot:this.$props.viewSlot},start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,editable:this.$props.editable,row:s.length*(this.ri.groupIndex||0)+t,col:0,slot:this.$props.slot,viewSlot:this.$props.viewSlot,class:"k-scheduler-datecolumn k-group-cell"},this.v3?function(){return[i("div",[i("strong",{class:"k-scheduler-agendaday"},[a.intl.formatDate(e.zonedStart,"dd")]),i("em",{class:"k-scheduler-agendaweek"},[a.intl.formatDate(e.zonedStart,"EEEE")]),i("span",{class:"k-scheduler-agendadate"},[a.intl.formatDate(e.zonedStart,"y")])])]}:[i("div",[i("strong",{class:"k-scheduler-agendaday"},[a.intl.formatDate(e.zonedStart,"dd")]),i("em",{class:"k-scheduler-agendaweek"},[a.intl.formatDate(e.zonedStart,"EEEE")]),i("span",{class:"k-scheduler-agendadate"},[a.intl.formatDate(e.zonedStart,"y")])])]),i("div",{class:"k-scheduler-cell k-group-content"},[e.items.length?e.items.map((function(e,n){return i("div",{class:"k-scheduler-row",key:n},[i("div",{class:"k-scheduler-cell k-scheduler-timecolumn"},[i("div",[e.tail&&i("span",{class:"k-icon k-i-arrow-60-left"}),e.isAllDay?o.toLanguageString(c.allDay,c.messages[c.allDay]):p(this.intl,e),e.head&&i("span",{class:"k-icon k-i-arrow-60-right"})])]),i("div",{class:"k-scheduler-cell"},[i(r,{key:t+":"+n,uid:e.uid,attrs:this.v3?void 0:{uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,task:this.$props.task,viewTask:this.$props.viewTask,editable:this.$props.editable},start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},task:this.$props.task,viewTask:this.$props.viewTask,editable:this.$props.editable})])])}),this):i("div",{class:"k-scheduler-cell k-heading-cell k-group-cell"},[o.toLanguageString(c.noEvents,c.messages[c.noEvents])])])])}),this)])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.AgendaViewBodyVue2=h;var p=function(e,t){var i="{0:t}-{1:t}";return t.head?i="{0:t}":t.tail&&(i="{1:t}"),e.format(i,t.zonedStart,t.zonedEnd)},f=h;t.AgendaViewBody=f},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.WeekViewVue2=t.WeekView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(32)),u=i(14),d=i(5),c=i(11),h=i(7),p=i(2),f={name:"KendoWeekView",props:{name:{type:String,default:"week"},slotDuration:{type:Number,default:60},slotDivisions:{type:Number,default:2},numberOfDays:{type:Number,default:u.DAYS_IN_WEEK_COUNT},dateRange:{type:[Function,Object],default:function(){return m}},title:String,selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},showWorkHours:{type:Boolean,default:!0},currentTimeMarker:{type:Boolean,default:!0},startTime:{type:String,default:"00:00"},endTime:{type:String,default:"23:59"},workDayStart:{type:String,default:"08:00"},workDayEnd:{type:String,default:"17:00"},workWeekStart:{type:Number,default:d.Day.Monday},workWeekEnd:{type:Number,default:d.Day.Friday},defaultShowWorkHours:{type:Boolean,default:!0},timeHeaderCell:String},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=p.provideLocalizationService(this).toLanguageString(c.weekViewTitle,c.messages[c.weekViewTitle]);return t(l.MultiDayView,{name:this.$props.name,attrs:this.v3?void 0:{name:this.$props.name,dateRange:this.$props.dateRange,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:i,step:u.DAYS_IN_WEEK_COUNT,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd,defaultShowWorkHours:this.$props.defaultShowWorkHours,timeHeaderCell:this.$props.timeHeaderCell},dateRange:this.$props.dateRange,numberOfDays:this.$props.numberOfDays,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:i,step:u.DAYS_IN_WEEK_COUNT,currentTimeMarker:this.$props.currentTimeMarker,startTime:this.$props.startTime,endTime:this.$props.endTime,workDayStart:this.$props.workDayStart,workDayEnd:this.$props.workDayEnd,workWeekStart:this.$props.workWeekStart,workWeekEnd:this.$props.workWeekEnd,defaultShowWorkHours:this.$props.defaultShowWorkHours,timeHeaderCell:this.$props.timeHeaderCell})}};t.WeekViewVue2=f;var m=function(e){var t=e.intl,i=e.date,n=e.timezone,r=d.ZonedDate.fromLocalDate(i,n),o=function(e){return d.getDate(e)}(d.firstDayInWeek(r,t.firstDay())),s=function(e,t){return d.getDate(d.addDays(e,t||1))}(o,u.DAYS_IN_WEEK_COUNT),a=d.ZonedDate.fromUTCDate(h.toUTCDateTime(o),n),l=d.ZonedDate.fromUTCDate(h.toUTCDateTime(s),n);return{start:new Date(a.getTime()),end:new Date(l.getTime()),zonedStart:a,zonedEnd:l}},v=f;t.WeekView=v},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},s=function(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i};Object.defineProperty(t,"__esModule",{value:!0}),t.WorkWeekViewVue2=t.WorkWeekView=void 0;var a=o(i(1)),l=a.h,u=(a.inject,i(5)),d=i(14),c=i(32),h=i(11),p=i(7),f=i(2),m={name:"KendoWorkWeekView",props:{name:{type:String,default:"work-week"},slotDuration:{type:Number,default:60},slotDivisions:{type:Number,default:2},numberOfDays:{type:Number,default:7},dateRange:{type:[Function,Object],default:function(){return v}},title:String,workWeekStart:{type:Number,default:u.Day.Monday},workWeekEnd:{type:Number,default:u.Day.Friday},selectedDateFormat:{type:String,default:"{0:D} - {1:D}"},selectedShortDateFormat:{type:String,default:"{0:d} - {1:d}"},showWorkHours:{type:Boolean,default:!0}},inject:{kendoLocalizationService:{default:null},ks:{default:null}},setup:l?function(){return{v3:!!l}}:void 0,render:function(e){var t=l||e,i=f.provideLocalizationService(this).toLanguageString(h.workWeekViewTitle,h.messages[h.workWeekViewTitle]),n=this.dateRange,r=Math.round((n.end.getTime()-n.start.getTime())/u.MS_PER_DAY);return t(c.MultiDayView,{name:this.$props.name,attrs:this.v3?void 0:{name:this.$props.name,dateRange:this.$props.dateRange,numberOfDays:r,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:i,step:d.DAYS_IN_WEEK_COUNT},dateRange:this.$props.dateRange,numberOfDays:r,slotDuration:this.$props.slotDuration,slotDivisions:this.$props.slotDivisions,selectedDateFormat:this.$props.selectedDateFormat,selectedShortDateFormat:this.$props.selectedShortDateFormat,showWorkHours:this.$props.showWorkHours,title:i,step:d.DAYS_IN_WEEK_COUNT})}};t.WorkWeekViewVue2=m;var v=function(e){e.intl;var t=e.date,i=e.timezone,n=s(e,["intl","date","timezone"]),r=u.ZonedDate.fromLocalDate(t,i),o=void 0!==n.workWeekStart?n.workWeekStart:u.Day.Monday,a=void 0!==n.workWeekEnd?n.workWeekEnd:u.Day.Friday,l=a<o?d.DAYS_IN_WEEK_COUNT+a-o+1:a-o+1,c=u.getDate(function(e,t){void 0===t&&(t=u.Day.Sunday);for(var i=e.clone();i.getDay()!==t;)i=i.addDays(-1);return i}(r,o)),h=u.addDays(c,l),f=u.ZonedDate.fromUTCDate(p.toUTCDateTime(c),i),m=u.ZonedDate.fromUTCDate(p.toUTCDateTime(h),i);return{start:new Date(f.getTime()),end:new Date(m.getTime()),zonedStart:f,zonedEnd:m}},g=m;t.WorkWeekView=g},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MonthViewVue2=t.MonthView=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(33)),u=i(5),d=i(34),c=i(58),h=i(7),p=i(11),f=i(21),m=i(2),v=i(14),g=i(39),y=i(61),b=i(38),k=i(37),S=i(126),w=i(127),D=i(40),I={name:"KendoMonthView",props:{itemsPerSlot:{type:Number,default:2},name:{type:String,default:"month"},dateRange:{type:[Function,Object],default:function(){return C}},slotDuration:{type:Number,default:1440},slotDivisions:{type:Number,default:1},numberOfDays:{type:Number,default:31},title:String,selectedDateFormat:{type:String,default:"{0:Y}"},selectedShortDateFormat:{type:String,default:"{0:Y}"}},inject:{ks:{default:null},kendoLocalizationService:{default:null},kendoIntlService:{default:null}},created:function(){this.intl=m.provideIntlService(this)},computed:{ranges:function(){return g.toRanges(this.ks.dateRange,{step:u.MS_PER_DAY*v.DAYS_IN_WEEK_COUNT,timezone:this.ks.timezone})},monthSlots:function(){return y.toSlots(this.ks.dateRange,{step:u.MS_PER_DAY},{groups:this.ks.groups,ranges:this.ranges})},occurrences:function(){return b.toOccurrences(this.ks.dataItems,{dateRange:this.ks.dateRange,fields:this.ks.fields,timezone:this.ks.timezone})},items:function(){var e=k.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.ks.groups,ranges:this.ranges});return h.mapItemsToSlots(e,this.monthSlots,!1),h.mapSlotsToItems(e,this.monthSlots,!1),e}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;this.localization=m.provideLocalizationService(this);this.localization.toLanguageString(p.monthViewTitle,p.messages[p.monthViewTitle]);var n=this.$props.editItem||D.SchedulerEditItem,r=(this.$props.editSlot||f.SchedulerEditSlot,this.items),o=this.monthSlots;this.intl=m.provideIntlService(this);var s=this.$props.itemsPerSlot,u=this.ranges.map((function(e,t){var n=this;return"horizontal"===this.ks.orientation?i(c.HorizontalResourceIterator,{resources:this.ks.props.resources,attrs:this.v3?void 0:{resources:this.ks.props.resources,group:this.ks.props.group},group:this.ks.props.group},this.v3?function(){return[i(w.MonthViewBody,{monthSlots:o,attrs:n.v3?void 0:{monthSlots:o,rangeIndex:t,itemsPerSlot:s},rangeIndex:t,itemsPerSlot:s,onDataaction:n.handleDataAction,on:n.v3?void 0:{dataaction:n.handleDataAction}})]}:[i(w.MonthViewBody,{monthSlots:o,attrs:n.v3?void 0:{monthSlots:o,rangeIndex:t,itemsPerSlot:s},rangeIndex:t,itemsPerSlot:s,onDataaction:n.handleDataAction,on:n.v3?void 0:{dataaction:n.handleDataAction}})]):i(d.VerticalResourceIterator,{nested:!0,attrs:this.v3?void 0:{nested:!0,resources:this.ks.props.resources,group:this.ks.props.group},resources:this.ks.props.resources,group:this.ks.props.group},this.v3?function(){return[i(w.MonthViewBody,{monthSlots:o,attrs:n.v3?void 0:{monthSlots:o,ranges:n.ranges,rangeIndex:t,itemsPerSlot:s},ranges:n.ranges,rangeIndex:t,itemsPerSlot:s,onDataaction:n.handleDataAction,on:n.v3?void 0:{dataaction:n.handleDataAction}})]}:[i(w.MonthViewBody,{monthSlots:o,attrs:n.v3?void 0:{monthSlots:o,ranges:n.ranges,rangeIndex:t,itemsPerSlot:s},ranges:n.ranges,rangeIndex:t,itemsPerSlot:s,onDataaction:n.handleDataAction,on:n.v3?void 0:{dataaction:n.handleDataAction}})])}),this);return i(l.BaseView,{props:this.$props,attrs:this.v3?void 0:{props:this.$props,baseSlots:o,ranges:this.ranges},baseSlots:o,ranges:this.ranges,class:"k-scheduler-monthview"},this.v3?function(){return[i("div",{class:"k-scheduler-head"},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,resources:t.ks.props.resources,group:t.ks.props.group},resources:t.ks.props.resources,group:t.ks.props.group},t.v3?function(){return[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]}:[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]):i(d.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group},group:t.ks.props.group},t.v3?function(){return[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]}:[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})])]),i("div",{class:"k-scheduler-body"},[u,r.filter((function(e){return null===e.order||e.order<s})).sort(h.orderSort).map((function(e){return i(n,{item:this.$props.item,attrs:this.v3?void 0:{item:this.$props.item,viewItem:this.$props.viewItem,form:this.$props.form,uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,vertical:!1,editable:this.$props.editable,ignoreIsAllDay:!0},viewItem:this.$props.viewItem,form:this.$props.form,key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},style:{transform:"translateY(30px)"},vertical:!1,editable:this.$props.editable,ignoreIsAllDay:!0})}),t)])]}:[i("div",{class:"k-scheduler-head"},["horizontal"===t.ks.orientation?i(c.HorizontalResourceIterator,{nested:!0,attrs:t.v3?void 0:{nested:!0,resources:t.ks.props.resources,group:t.ks.props.group},resources:t.ks.props.resources,group:t.ks.props.group},t.v3?function(){return[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]}:[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]):i(d.VerticalResourceIterator,{resources:t.ks.props.resources,attrs:t.v3?void 0:{resources:t.ks.props.resources,group:t.ks.props.group},group:t.ks.props.group},t.v3?function(){return[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})]}:[i(S.MonthViewHead,{monthSlots:o,attrs:t.v3?void 0:{monthSlots:o,dateHeaderCell:t.$props.dateHeaderCell},dateHeaderCell:t.$props.dateHeaderCell})])]),i("div",{class:"k-scheduler-body"},[u,r.filter((function(e){return null===e.order||e.order<s})).sort(h.orderSort).map((function(e){return i(n,{item:this.$props.item,attrs:this.v3?void 0:{item:this.$props.item,viewItem:this.$props.viewItem,form:this.$props.form,uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,vertical:!1,editable:this.$props.editable,ignoreIsAllDay:!0},viewItem:this.$props.viewItem,form:this.$props.form,key:e.isRecurring?e.uid+":"+e.group.index+":"+e.range.index+":"+e.originalStart:e.uid+":"+e.group.index+":"+e.range.index,uid:e.uid,start:e.start,end:e.end,originalStart:e.originalStart,startTimezone:e.startTimezone,endTimezone:e.endTimezone,isAllDay:e.isAllDay,title:e.title,description:e.description,occurrenceId:e.occurrenceId,recurrenceExceptions:e.recurrenceExceptions,recurrenceRule:e.recurrenceRule,recurrenceId:e.recurrenceId,dataItem:e.dataItem,itemRef:e.itemRef,head:e.head,tail:e.tail,order:e.order,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,slots:e.slots,group:e.group,range:e.range,isException:e.isException,isRecurring:e.isRecurring,onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},style:{transform:"translateY(30px)"},vertical:!1,editable:this.$props.editable,ignoreIsAllDay:!0})}),t)])])},methods:{handleDataAction:function(e){this.$emit("dataaction",e)}}};t.MonthViewVue2=I;var C=function(e){var t=e.intl,i=e.date,n=e.timezone,r=u.firstDayInWeek(u.firstDayOfMonth(u.getDate(i)),t.firstDay()),o=u.addDays(u.firstDayInWeek(u.lastDayOfMonth(u.getDate(i)),t.firstDay()),v.DAYS_IN_WEEK_COUNT),s=u.ZonedDate.fromUTCDate(h.toUTCDateTime(r),n),a=u.ZonedDate.fromUTCDate(h.toUTCDateTime(o),n);return{start:new Date(s.getTime()),end:new Date(a.getTime()),zonedStart:s,zonedEnd:a}},$=I;t.MonthView=$},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MonthViewHeadVue2=t.MonthViewHead=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(35)),u=i(5),d={name:"KendoMonthViewHead",props:{monthSlots:Array,dateHeaderCell:[String,Function,Object]},inject:{ri:{default:null},ks:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;return i("div",{class:"k-scheduler-row",key:this.ri.groupIndex},[this.monthSlots.filter((function(e){return e.group.index===t.ri.groupIndex&&0===e.range.index})).map((function(e,t){return i(l.DateHeaderCell,{as:this.$props.dateHeaderCell,attrs:this.v3?void 0:{as:this.$props.dateHeaderCell,"data-dayslot-index":t,date:u.ZonedDate.fromLocalDate(new Date(e.zonedEnd.getTime()-(e.zonedEnd.getTime()-e.zonedStart.getTime())/2),this.ks.timezone),start:e.start,end:e.end,format:{skeleton:"EEEE"}},key:t,"data-dayslot-index":t,date:u.ZonedDate.fromLocalDate(new Date(e.zonedEnd.getTime()-(e.zonedEnd.getTime()-e.zonedStart.getTime())/2),this.ks.timezone),start:e.start,end:e.end,format:{skeleton:"EEEE"}})}),this)])}};t.MonthViewHeadVue2=d;var c=d;t.MonthViewHead=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.MonthViewBodyVue2=t.MonthViewBody=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(21)),u=i(128),d=i(2),c={skeleton:"dd"},h={name:"KendoMonthViewBody",props:{rangeIndex:Number,itemsPerSlot:Number,monthSlots:Array,ranges:Array},inject:{ri:{default:null},ks:{default:null},setActiveDate:{default:null},setActiveViewName:{default:null},kendoIntlService:{default:null}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=this,i=a||e;this.intl=d.provideIntlService(this);var n=this.$props.editSlot||l.SchedulerEditSlot;return i("div",{class:"k-scheduler-row",key:this.rangeIndex},[this.monthSlots.filter((function(e){return e.group.index===t.ri.groupIndex&&e.range.index===t.rangeIndex})).map((function(e,t,r){var o=this;return i(n,{viewSlot:this.$props.viewSlot,attrs:this.v3?void 0:{viewSlot:this.$props.viewSlot,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,expandable:{offsetTop:30,offsetBottom:this.itemsPerSlot<e.items.length?15:0},col:"horizontal"===this.ks.orientation?r.length*(this.ri.groupIndex||0)+t:t,row:"horizontal"===this.ks.orientation?this.rangeIndex:this.ranges.length*(this.ri.groupIndex||0)+this.rangeIndex,editable:this.$props.editable},key:t,form:this.$props.form,index:e.index,start:e.start,end:e.end,zonedStart:e.zonedStart,zonedEnd:e.zonedEnd,items:e.items,group:e.group,range:e.range,isAllDay:e.isAllDay,expandable:{offsetTop:30,offsetBottom:this.itemsPerSlot<e.items.length?15:0},onDataaction:this.handleDataAction,on:this.v3?void 0:{dataaction:this.handleDataAction},col:"horizontal"===this.ks.orientation?r.length*(this.ri.groupIndex||0)+t:t,row:"horizontal"===this.ks.orientation?this.rangeIndex:this.ranges.length*(this.ri.groupIndex||0)+this.rangeIndex,editable:this.$props.editable},this.v3?function(){return[i("div",[i("span",{class:"k-link k-nav-day"},[o.intl.formatDate(new Date(e.end.getTime()-(e.end.getTime()-e.start.getTime())/2),c)]),o.itemsPerSlot<e.items.length&&i(u.ShowMoreItemsButton,{currentSlot:e,attrs:o.v3?void 0:{currentSlot:e},onClick:o.handleShowMoreItemsClick,on:o.v3?void 0:{click:o.handleShowMoreItemsClick}})])]}:[i("div",[i("span",{class:"k-link k-nav-day"},[o.intl.formatDate(new Date(e.end.getTime()-(e.end.getTime()-e.start.getTime())/2),c)]),o.itemsPerSlot<e.items.length&&i(u.ShowMoreItemsButton,{currentSlot:e,attrs:o.v3?void 0:{currentSlot:e},onClick:o.handleShowMoreItemsClick,on:o.v3?void 0:{click:o.handleShowMoreItemsClick}})])])}),this)])},methods:{handleShowMoreItemsClick:function(e){var t=this.ks.views.find((function(e){return"day"===e.name}));this.setActiveViewName&&t&&t.name&&e.target.slot&&(this.setActiveViewName(t.name,e),this.setActiveDate(e.target.slot.start,e))},handleDataAction:function(e){this.$emit("dataaction",e)}}};t.MonthViewBodyVue2=h;var p=h;t.MonthViewBody=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ShowMoreItemsButtonVue2=t.ShowMoreItemsButton=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(3),d={name:"KendoShowMoreItemsButton",props:{currentSlot:Object},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a,kendoLocalizationService:l("kendoLocalizationService",{})}}:void 0,render:function(e){var t=a||e;return t(u.Button,{tabIndex:-1,attrs:this.v3?void 0:{tabIndex:-1},class:"k-more-events",onClick:this.handleClick,on:this.v3?void 0:{click:this.handleClick}},this.v3?function(){return[t("span",{class:"k-icon k-i-more-horizontal"})]}:[t("span",{class:"k-icon k-i-more-horizontal"})])},methods:{handleClick:function(e){this.$emit("click",{target:{slot:this.currentSlot},event:e})}}};t.ShowMoreItemsButtonVue2=d;var c=d;t.ShowMoreItemsButton=c},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerDragVue2=t.SchedulerDrag=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(36)),u=i(42),d=i(41),c=i(7),h={name:"KendoSchedulerDrag",props:{ignoreIsAllDay:Boolean,dataItem:Object,vertical:Boolean,viewItem:[String,Function,Object],item:{type:Object,default:function(){return u.SchedulerItem}}},inject:{ks:{default:null}},computed:{occurrences:function(){return l.toOccurrences([this.$props.dataItem],{dateRange:this.dateRange,fields:this.fields,timezone:this.ks.timezone})},items:function(){return l.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.groups,ranges:this.ranges})}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=(this.viewSlots||[]).map((function(e){return e.current.props}));return c.mapItemsToSlots(this.items,i),t("div",[this.items.map((function(e,i){return t(d.SchedulerViewItem,{key:i,item:this.$props.item,attrs:this.v3?void 0:{item:this.$props.item,dragHint:!0,vertical:this.$props.vertical,ignoreIsAllDay:this.$props.ignoreIsAllDay},dragHint:!0,vertical:this.$props.vertical,ignoreIsAllDay:this.$props.ignoreIsAllDay})}),this)])}};t.SchedulerDragVue2=h;var p=h;t.SchedulerDrag=p},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerResizeVue2=t.SchedulerResize=void 0;var s=o(i(1)),a=s.h,l=(s.inject,i(36)),u=i(42),d=i(41),c=i(7),h={name:"KendoSchedulerResize",props:{ignoreIsAllDay:Boolean,dataItem:Object,vertical:Boolean,viewItem:[String,Function,Object],item:{type:Object,default:function(){return u.SchedulerItem}}},inject:{ks:{default:null}},computed:{occurrences:function(){return l.toOccurrences([this.$props.dataItem],{dateRange:this.dateRange,fields:this.fields,timezone:this.ks.timezone})},items:function(){return l.toItems(this.occurrences,{timezone:this.ks.timezone},{groups:this.groups,ranges:this.ranges})}},setup:a?function(){return{v3:!!a}}:void 0,render:function(e){var t=a||e,i=(this.viewSlots||[]).map((function(e){return e.current.props}));return c.mapItemsToSlots(this.items,i),t("div",[this.items.map((function(e,i){return t(d.SchedulerViewItem,{key:i,format:this.$props.format,attrs:this.v3?void 0:{format:this.$props.format,item:this.$props.item,resizeHint:!0,vertical:this.$props.vertical,ignoreIsAllDay:this.$props.ignoreIsAllDay},item:this.$props.item,resizeHint:!0,vertical:this.$props.vertical,ignoreIsAllDay:this.$props.ignoreIsAllDay})}),this)])}};t.SchedulerResizeVue2=h;var p=h;t.SchedulerResize=p},function(e,t,i){"use strict";var n=function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},o=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerFormVue2=t.SchedulerForm=void 0;var a=s(i(1)),l=a.h,u=a.inject,d=i(3),c=i(89),h=i(63),p=i(2),f=i(86),m=i(11),v={name:"KendoSchedulerForm",props:{dataItem:Object,renderForm:Object,editor:[String,Function,Object],dialog:[String,Function,Object]},inject:{kendoLocalizationService:{default:null}},setup:l?function(){return{v3:!!l,kendoLocalizationService:u("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=l||e,n=this.$props,r=n.editor,o=(n.dialog,n.validator,p.provideLocalizationService(this));this.requiredValidationMessage=o.toLanguageString(m.editorValidationRequired,m.messages[m.editorValidationRequired]),this.endValidationMessage=o.toLanguageString(m.editorValidationEnd,m.messages[m.editorValidationEnd]);var s=o.toLanguageString(m.editorSave,m.messages[m.editorSave]),a=o.toLanguageString(m.editorCancel,m.messages[m.editorCancel]),u=o.toLanguageString(m.editorTitle,m.messages[m.editorTitle]);return this.startValidationMessage=o.toLanguageString(m.editorValidationStart,m.messages[m.editorValidationStart]),i(h.Dialog,{title:u,attrs:this.v3?void 0:{title:u,minWidth:600},minWidth:600,onClose:this.handleClose,on:this.v3?void 0:{close:this.handleClose},class:"k-scheduler-edit-dialog"},this.v3?function(){return[i(c.Form,{initialValues:t.$props.dataItem,attrs:t.v3?void 0:{initialValues:t.$props.dataItem,validator:t.formValidator},onSubmit:t.handleSubmit,on:t.v3?void 0:{submit:t.handleSubmit},validator:t.formValidator},t.v3?function(){return[i(f.SchedulerFormEditor,{as:r,attrs:t.v3?void 0:{as:r}})]}:[i(f.SchedulerFormEditor,{as:r,attrs:t.v3?void 0:{as:r}})]),i(h.DialogActionsBar,t.v3?function(){return[i(d.Button,{disabled:!t.renderProps.allowSubmit,attrs:t.v3?void 0:{disabled:!t.renderProps.allowSubmit},onClick:t.renderProps.onSubmit,on:t.v3?void 0:{click:t.renderProps.onSubmit}},t.v3?function(){return[s]}:[s]),i(d.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},t.v3?function(){return[a]}:[a])]}:[i(d.Button,{disabled:!t.renderProps.allowSubmit,attrs:t.v3?void 0:{disabled:!t.renderProps.allowSubmit},onClick:t.renderProps.onSubmit,on:t.v3?void 0:{click:t.renderProps.onSubmit}},t.v3?function(){return[s]}:[s]),i(d.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},t.v3?function(){return[a]}:[a])])]}:[i(c.Form,{initialValues:t.$props.dataItem,attrs:t.v3?void 0:{initialValues:t.$props.dataItem,validator:t.formValidator},onSubmit:t.handleSubmit,on:t.v3?void 0:{submit:t.handleSubmit},validator:t.formValidator},t.v3?function(){return[i(f.SchedulerFormEditor,{as:r,attrs:t.v3?void 0:{as:r}})]}:[i(f.SchedulerFormEditor,{as:r,attrs:t.v3?void 0:{as:r}})]),i(h.DialogActionsBar,t.v3?function(){return[i(d.Button,{disabled:!t.renderProps.allowSubmit,attrs:t.v3?void 0:{disabled:!t.renderProps.allowSubmit},onClick:t.renderProps.onSubmit,on:t.v3?void 0:{click:t.renderProps.onSubmit}},t.v3?function(){return[s]}:[s]),i(d.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},t.v3?function(){return[a]}:[a])]}:[i(d.Button,{disabled:!t.renderProps.allowSubmit,attrs:t.v3?void 0:{disabled:!t.renderProps.allowSubmit},onClick:t.renderProps.onSubmit,on:t.v3?void 0:{click:t.renderProps.onSubmit}},t.v3?function(){return[s]}:[s]),i(d.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},t.v3?function(){return[a]}:[a])])])},methods:{handleCancel:function(e){this.$emit("cancel",{value:null,event:e,target:this.form})},handleClose:function(e){var t=e.event;this.$emit("close",{value:null,event:t,target:this.form})},handleSubmit:function(e,t){this.$emit("submit",{value:e,event:t,target:this.form})},startAfterEndValidator:function(e,t){return Boolean(e&&t(this.fields.end)&&e.getTime()>t(this.fields.end).getTime())?this.startValidationMessage:void 0},endAfterStartValidator:function(e,t){return Boolean(e&&t(this.fields.start)&&e.getTime()<t(this.fields.start).getTime())?this.endValidationMessage:void 0},requiredValidator:function(e){return e?void 0:this.requiredValidationMessage},formValidator:function(e,t){var i={};i[this.fields.start]=[this.requiredValidator(t(this.fields.start)),this.startAfterEndValidator(t(this.fields.start),t)].filter(Boolean).reduce((function(e,t){return e||t}),""),i[this.fields.end]=[this.requiredValidator(t(this.fields.start)),this.endAfterStartValidator(t(this.fields.start),t)].filter(Boolean).reduce((function(e,t){return e||t}),"");var r=this.$props.validator(e,t);return n(n({},i),r)}}};t.SchedulerFormVue2=v;var g=v;t.SchedulerForm=g},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerOccurrenceDialogVue2=t.SchedulerOccurrenceDialog=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(63),d=i(2),c=i(11),h=i(3),p={name:"KendoSchedulerOccurrenceDialog",props:{dataItem:Object,isRemove:Boolean},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a,kendoLocalizationService:l("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=a||e,n=this.$props.isRemove,r=d.provideLocalizationService(this),o=function(e){return r.toLanguageString(e,c.messages[e])},s=o(c.editorOccurrence),l=o(c.editorSeries),p=o(c.editorRecurringConfirmation),f=o(c.editorRecurringDialogTitle),m=o(c.deleteOccurrence),v=o(c.deleteSeries),g=o(c.deleteRecurringDialogTitle),y=o(c.deleteRecurringConfirmation),b=n?g:f,k=n?y:p,S=n?m:s,w=n?v:l;return i(u.Dialog,{title:b,attrs:this.v3?void 0:{title:b},onClose:this.handleClose,on:this.v3?void 0:{close:this.handleClose}},this.v3?function(){return[k,i(u.DialogActionsBar,[i(h.Button,{onClick:t.handleOccurrenceClick,on:t.v3?void 0:{click:t.handleOccurrenceClick}},[S]),i(h.Button,{onClick:t.handleSeriesClick,on:t.v3?void 0:{click:t.handleSeriesClick}},[w])])]}:[k,i(u.DialogActionsBar,[i(h.Button,{onClick:t.handleOccurrenceClick,on:t.v3?void 0:{click:t.handleOccurrenceClick}},[S]),i(h.Button,{onClick:t.handleSeriesClick,on:t.v3?void 0:{click:t.handleSeriesClick}},[w])])])},methods:{handleClose:function(e){var t=e.event;this.$emit("close",{event:t,value:null})},handleSeriesClick:function(e){this.$emit("seriesclose",{event:e,value:null})},handleOccurrenceClick:function(e){this.$emit("occurrenceclose",{event:e,value:null})}}};t.SchedulerOccurrenceDialogVue2=p;var f=p;t.SchedulerOccurrenceDialog=f},function(e,t,i){"use strict";var n=Object.create?function(e,t,i,n){void 0===n&&(n=i),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]},r=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchedulerRemoveDialogVue2=t.SchedulerRemoveDialog=void 0;var s=o(i(1)),a=s.h,l=s.inject,u=i(63),d=i(2),c=i(11),h=i(3),p={name:"KendoSchedulerRemoveDialog",props:{dataItem:Object},inject:{kendoLocalizationService:{default:null}},setup:a?function(){return{v3:!!a,kendoLocalizationService:l("kendoLocalizationService",{})}}:void 0,render:function(e){var t=this,i=a||e,n=d.provideLocalizationService(this),r=n.toLanguageString(c.editorCancel,c.messages[c.editorCancel]),o=n.toLanguageString(c.editorDelete,c.messages[c.editorDelete]),s=n.toLanguageString(c.deleteConfirmation,c.messages[c.deleteConfirmation]),l=n.toLanguageString(c.deleteDialogTitle,c.messages[c.deleteDialogTitle]);return i(u.Dialog,{title:l,attrs:this.v3?void 0:{title:l},onClose:this.handleClose,on:this.v3?void 0:{close:this.handleClose}},this.v3?function(){return[s,i(u.DialogActionsBar,[i(h.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},[r]),i(h.Button,{onClick:t.handleConfirm,on:t.v3?void 0:{click:t.handleConfirm}},[o])])]}:[s,i(u.DialogActionsBar,[i(h.Button,{onClick:t.handleCancel,on:t.v3?void 0:{click:t.handleCancel}},[r]),i(h.Button,{onClick:t.handleConfirm,on:t.v3?void 0:{click:t.handleConfirm}},[o])])])},methods:{handleClose:function(e){var t=e.event;this.$emit("close",{event:t})},handleCancel:function(e){this.$emit("cancel",{event:e,value:null})},handleConfirm:function(e){this.$emit("confirm",{event:e,value:null})}}};t.SchedulerRemoveDialogVue2=p;var f=p;t.SchedulerRemoveDialog=f},function(e,t,i){"use strict";i.r(t),i.d(t,"expand",(function(){return Jt})),i.d(t,"parseRule",(function(){return ti})),i.d(t,"serializeRule",(function(){return ni}));var n={};i.r(n),i.d(n,"byMonth",(function(){return Ot})),i.d(n,"byMonthDay",(function(){return Et})),i.d(n,"byYearDay",(function(){return xt})),i.d(n,"byWeekNumber",(function(){return Mt})),i.d(n,"byWeekDay",(function(){return Rt})),i.d(n,"byHour",(function(){return _t})),i.d(n,"byMinute",(function(){return Ft})),i.d(n,"bySecond",(function(){return At}));var r=i(69),o=i(24),s=i(6),a=i(68),l=i(25),u=i(9),d=function(e){return e instanceof Array&&e.length>0},c=function(e){return d(e.bySecond)||d(e.byMinute)||d(e.byHour)||d(e.byYearDay)||d(e.byMonthDay)||d(e.byWeekDay)||d(e.byMonth)||d(e.byWeekNumber)},h=function(e){for(var t=e.split(";"),i=[],n=null,r=0;r<t.length;r++){var o=t[r].split(":"),s=o[0],a=o[1],l=void 0===a?"":a,u=s.indexOf("TZID");-1!==u&&(n=s.substring(u).split("=")[1]),i=l.split(",").map((function(e){return ut(e,n)}))}return i.length&&null!==i[0]?i:null},p=function(e){var t=h(e);return null===t?null:t[0]},f={en:{name:"en",identity:{version:{_number:"$Revision: 12418 $",_cldrVersion:"29"},language:"en"},territory:"US",numbers:{symbols:{decimal:".",group:",",list:";",percentSign:"%",plusSign:"+",minusSign:"-",exponential:"E",superscriptingExponent:"×",perMille:"‰",infinity:"∞",nan:"NaN",timeSeparator:":"},decimal:{patterns:["n"],groupSize:[3]},scientific:{patterns:["nEn"],groupSize:[]},percent:{patterns:["n%"],groupSize:[3]},currency:{patterns:["$n"],groupSize:[3],"unitPattern-count-one":"n $","unitPattern-count-other":"n $"},currencies:{BGN:{displayName:"Bulgarian Lev","displayName-count-one":"Bulgarian lev","displayName-count-other":"Bulgarian leva",symbol:"BGN"},EUR:{displayName:"Euro","displayName-count-one":"euro","displayName-count-other":"euros",symbol:"€","symbol-alt-narrow":"€"},USD:{displayName:"US Dollar","displayName-count-one":"US dollar","displayName-count-other":"US dollars",symbol:"$","symbol-alt-narrow":"$"}},localeCurrency:"USD",accounting:{patterns:["$n","($n)"],groupSize:[3]}},calendar:{gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",patterns:{d:"M/d/y",D:"EEEE, MMMM d, y",m:"MMM d",M:"MMMM d",y:"MMM y",Y:"MMMM y",F:"EEEE, MMMM d, y h:mm:ss a",g:"M/d/y h:mm a",G:"M/d/y h:mm:ss a",t:"h:mm a",T:"h:mm:ss a",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'"},dateTimeFormats:{full:"{1} 'at' {0}",long:"{1} 'at' {0}",medium:"{1}, {0}",short:"{1}, {0}",availableFormats:{Bh:"h B",Bhm:"h:mm B",Bhms:"h:mm:ss B",d:"d",E:"ccc",EBhm:"E h:mm B",EBhms:"E h:mm:ss B",Ed:"d E",Ehm:"E h:mm a",EHm:"E HH:mm",Ehms:"E h:mm:ss a",EHms:"E HH:mm:ss",Gy:"y G",GyMMM:"MMM y G",GyMMMd:"MMM d, y G",GyMMMEd:"E, MMM d, y G",h:"h a",H:"HH",hm:"h:mm a",Hm:"HH:mm",hms:"h:mm:ss a",Hms:"HH:mm:ss",hmsv:"h:mm:ss a v",Hmsv:"HH:mm:ss v",hmv:"h:mm a v",Hmv:"HH:mm v",M:"L",Md:"M/d",MEd:"E, M/d",MMM:"LLL",MMMd:"MMM d",MMMEd:"E, MMM d",MMMMd:"MMMM d","MMMMW-count-one":"'week' W 'of' MMMM","MMMMW-count-other":"'week' W 'of' MMMM",ms:"mm:ss",y:"y",yM:"M/y",yMd:"M/d/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMd:"MMM d, y",yMMMEd:"E, MMM d, y",yMMMM:"MMMM y",yQQQ:"QQQ y",yQQQQ:"QQQQ y","yw-count-one":"'week' w 'of' Y","yw-count-other":"'week' w 'of' Y"}},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},days:{format:{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}},months:{format:{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]}},quarters:{format:{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},"stand-alone":{abbreviated:["Q1","Q2","Q3","Q4"],narrow:["1","2","3","4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]}},dayPeriods:{format:{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},narrow:{midnight:"mi",am:"a","am-alt-variant":"am",noon:"n",pm:"p","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"in the morning",afternoon1:"in the afternoon",evening1:"in the evening",night1:"at night"}},"stand-alone":{abbreviated:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},narrow:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"},wide:{midnight:"midnight",am:"AM","am-alt-variant":"am",noon:"noon",pm:"PM","pm-alt-variant":"pm",morning1:"morning",afternoon1:"afternoon",evening1:"evening",night1:"night"}}},eras:{format:{wide:{0:"Before Christ",1:"Anno Domini","0-alt-variant":"Before Common Era","1-alt-variant":"Common Era"},abbreviated:{0:"BC",1:"AD","0-alt-variant":"BCE","1-alt-variant":"CE"},narrow:{0:"B",1:"A","0-alt-variant":"BCE","1-alt-variant":"CE"}}},dateFields:{era:{wide:"era"},year:{wide:"year",short:"yr.",narrow:"yr."},quarter:{wide:"quarter",short:"qtr.",narrow:"qtr."},month:{wide:"month",short:"mo.",narrow:"mo."},week:{wide:"week",short:"wk.",narrow:"wk."},day:{wide:"day",short:"day",narrow:"day"},weekday:{wide:"day of the week"},dayperiod:{wide:"AM/PM"},hour:{wide:"hour",short:"hr.",narrow:"hr."},minute:{wide:"minute",short:"min.",narrow:"min."},second:{wide:"second",short:"sec.",narrow:"sec."},millisecond:{wide:"millisecond",short:"ms",narrow:"ms"},zone:{wide:"time zone"}}}},supplemental:{likelySubtags:{en:"en-Latn-US"},currencyData:{region:{US:[{USD:{_from:"1792-01-01"}}]}},weekData:{firstDay:{US:"sun"},weekendStart:{"001":"sat"},weekendEnd:{"001":"sun"}}}};function m(e){return"string"==typeof e}var v=/\{(\d+)}?\}/g,g=function(e){var t=e.name,i=e.message;if(!t||!i)throw new Error("{ name: string, message: string } object is required!");this.name=t,this.message=i};g.prototype.formatMessage=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i=y(e),n=this.message.replace(v,(function(e,t){return i[parseInt(t,10)]}));return this.name+": "+n},g.prototype.error=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new Error(this.formatMessage(e))};var y=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},b=function(e){return Object.keys(e).reduce((function(t,i){return t[i]=new g({name:i,message:e[i]}),t}),{})}({NoLocale:"Missing locale info for '{0}'",NoCurrency:"Cannot determine currency information. Please load the locale currencies data.",NoSupplementalCurrency:"Cannot determine currency. Please load the supplemental currencyData.",NoCurrencyRegion:"No currency data for region '{0}'",NoCurrencyDisplay:"Cannot determine currency display information. Please load the locale currencies data. The default culture does not include the all currencies data.",NoGMTInfo:"Cannot determine locale GMT format. Please load the locale timeZoneNames data.",NoWeekData:"Cannot determine locale first day of week. Please load the supplemental weekData.",NoFirstDay:"Cannot determine locale first day of week. Please load the supplemental weekData. The default culture includes only the 'en-US' first day info.",NoValidCurrency:"Cannot determine a default currency for the {0} locale. Please specify explicitly the currency with the format options.",NoDateFieldNames:"Cannot determine the locale date field names. Please load the locale dateFields data."});var k=f;function S(e){return m(e)?w(e):e}function w(e){if(k[e])return k[e];if(k.supplemental.likelySubtags){var t=e.split("-"),i=t[0],n=t.slice(1),r=function(e,t){for(var i=k.supplemental.likelySubtags,n=0;n<t.length;n++){var r=i[e+"-"+t[n]];if(r)return r}if(i[e])return i[e]}(i,n),o=r?function(e,t){var i=e.split("-"),n=i[0],r=i[1],o=i[2];return k[e]||-1!==t.indexOf(o)&&k[n+"-"+o]||-1!==t.indexOf(r)&&k[n+"-"+r]||k[n]}(r,n):null;if(o)return o}throw b.NoLocale.error(e)}function D(e){if(e.territory)return e.territory;var t,i=e.name,n=e.identity;return t=n&&n.territory?n.territory:function(e,t){var i=k.supplemental.likelySubtags,n=e.split("-");if(i){var r=i[e]||i[n[0]];r&&(n=r.split("-"))}if(t)for(var o=n.length-1;o>=1;o--){var s=n[o];s!==t.variant&&s!==t.script||n.splice(o,1)}var a=n.length;if(a>1)return n[a-1].toUpperCase()}(i,n),e.territory=t,t}function I(e,t){var i,n=t.type,r=t.nameType,o=t.standAlone,s=t.lower,a=o?"stand-alone":"format",l=(s?"lower-":"")+r,u=S(e).calendar[n][a],d=u[l];return!d&&s&&(d=u[l]=(i=u[r],Array.isArray(i)?function(e){for(var t=[],i=0;i<e.length;i++)t.push(e[i].toLowerCase());return t}(i):function(e){var t={};for(var i in e)t[i]=e[i].toLowerCase();return t}(i))),d}function C(e){var t=e.split("-"),i=parseInt(t[0],10),n=parseInt(t[1],10)-1,r=parseInt(t[2],10);return new Date(i,n,r)}var $=b.NoCurrency,T=b.NoCurrencyDisplay,O=b.NoSupplementalCurrency,E=b.NoCurrencyRegion,x=b.NoValidCurrency,M={"001":"USD",150:"EUR"};function R(e,t,i){var n=S(e).numbers.currencies;if(n){var r=n[t];if(r)return r;if(i)throw T.error()}else if(i)throw $.error()}function _(e,t){if(void 0===t&&(t=!0),M[e])return M[e];var i=k.supplemental.currencyData;if(i){var n=i.region[e];if(n)return function(e){for(var t,i,n,r,o=0;o<e.length;o++){var s=e[o],a=Object.keys(s)[0],l=s[a];if("XXX"!==a&&"false"!==l._tender&&l._from)if(l._to){if(!n){var u=C(l._from),d=C(l._to);(!i||i.to<d||i.from<u)&&(t=a,i={from:u,to:d})}}else{var c=C(l._from);(!r||r<c)&&(n=a,r=c)}}return n||t}(n);if(t)throw E.error(e)}else if(t)throw O.error()}function F(e,t){var i=S(e),n=i.numbers;if(!n.localeCurrency){var r=_(D(i),t);if(!r&&t)throw x.error(i.name);n.localeCurrency=r}return n.localeCurrency}var A=["sun","mon","tue","wed","thu","fri","sat"],z=b.NoWeekData,V=b.NoFirstDay;b.NoWeekData;function j(e){return 1/e==-1/0}function N(e,t){return void 0===t&&(t={}),t.currency||(t.currency=F(e,!0)),function(e,t){var i=t.value,n=t.currency,r=t.currencyDisplay;if(void 0===r&&(r="symbol"),"code"===r)return n;var o=R(e,n,!0);return"symbol"===r?o["symbol-alt-narrow"]||o.symbol:void 0===typeof i||1!==i?o["displayName-count-other"]:o["displayName-count-one"]}(e,t)}function P(e,t,i,n,r){var o=r.numbers.symbols,s=e.indexOf(o.decimal),a=n.groupSize.slice(),l=a.shift(),u=-1!==s?s:i+1,d=e.substring(t,u),c=e,h=d.length;if(h>=l){for(var p=h,f=[];p>-1;){var m=d.substring(p-l,p);m&&f.push(m),p-=l;var v=a.shift();if(0===(l=void 0!==v?v:l)){(m=d.substring(0,p))&&f.push(m);break}}d=f.reverse().join(o.group),c=e.substring(0,t)+d+e.substring(u)}return c}function B(e){return"currency"===e||"accounting"===e}function L(e,t,i){void 0===t&&(t=2),void 0===i&&(i=!1);var n=t-String(e).length,r=e;if(n>0){var o=new Array(n+1).join("0");r=i?e+o:o+e}return r}function H(e,t){var i=e,n=t||0;return i=i.toString().split("e"),i=(i=Math.round(Number(i[0]+"e"+(i[1]?Number(i[1])+n:n)))).toString().split("e"),(i=Number(i[0]+"e"+(i[1]?Number(i[1])-n:-n))).toFixed(Math.min(n,20))}var U=/0+$/;function W(e){var t,i=e.minimumFractionDigits,n=e.maximumFractionDigits,r=e.style,o=B(r);return o&&(t=function(e){var t=2,i=2,n=((k.supplemental.currencyData||{}).fractions||{})[e];return n&&n._digits&&(i=t=parseInt(n._digits,10)),{minimumFractionDigits:t,maximumFractionDigits:i}}(e.currency)),void 0===i&&(i=o?t.minimumFractionDigits:0),void 0===n&&(n="percent"===r?Math.max(i,0):o?Math.max(i,t.maximumFractionDigits):Math.max(i,3)),{minimumFractionDigits:i,maximumFractionDigits:n}}var K=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g;function Y(e,t){var i=e.format;-1!==i.indexOf("%")&&(e.style="percent",e.symbol=t.numbers.symbols.percentSign,e.number*=100),-1!==i.indexOf("$")&&(e.style="currency",e.symbol=N(t))}function G(e){var t=e.format;if(t.indexOf("'")>-1||t.indexOf('"')>-1||t.indexOf("\\")>-1){var i=e.literals=[];e.format=t.replace(K,(function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return i.push(n),"__??__"}))}}var q=/(\.(?:[0-9]*[1-9])?)0+$/g,Z=/\.$/,X=/\,/g;function J(e){var t,i,n,r=e.number,o=e.format,s=o.indexOf(".");if(-1!==s){var a=o.lastIndexOf("0")-s,l=o.lastIndexOf("#")-s,u=a>-1,d=l>-1,c=r.toString().split("e"),h=(c=(c=c[1]?H(r,Math.abs(c[1])):c[0]).split(".")[1]||"").length,p=-1;u||d?u&&a>l?h=a:l>a&&(d&&h>l?h=l:u&&h<a&&(h=a),p=u?a:0):(e.format=o.substring(0,s)+o.substring(s+1),s=-1,h=0),h>-1&&(r=H(r,h),p>-1&&(t=r,n=0===(i=p)?q:new RegExp("(\\.[0-9]{"+i+"}[1-9]*)0+$","g"),r=t.replace(n,"$1").replace(Z,"")))}else r=H(r);e.negative&&-1*r>=0&&!e.negativeZero&&(e.negative=!1),e.number=r,e.decimalIndex=s}function Q(e,t,i){return-1===e&&-1!==t?t:-1!==e&&-1===t?e:i?Math.min(e,t):Math.max(e,t)}function ee(e,t){var i=e.number;return-1!==e.start&&(i=function(e,t){var i=e;if(t)for(var n=t.length,r=0;r<n;r++)i=i.replace("__??__",t[r]);return i}(i=function(e,t,i){var n=e;if("currency"===t||"percent"===t){n="";for(var r=0,o=e.length;r<o;r++){var s=e.charAt(r);n+="$"===s||"%"===s?i:s}}return n}(i=function(e,t){var i=e.start,n=e.end,r=e.negative,o=e.negativeZero,s=e.format,a=e.decimalIndex,l=e.lastZeroIndex,u=e.hasNegativeFormat,d=e.hasGroup,c=e.number,h=c.toString().split("."),p=s.length,f=h[0],m=h[1]||"",v=f.length,g="";c=s.substring(0,i),!r&&!o||u||(c+="-");for(var y=i;y<p;y++){var b=s.charAt(y);if(-1===a){if(n-y<v){c+=f;break}}else if(-1!==l&&l<y&&(g=""),a-y<=v&&a-y>-1&&(c+=f,y=a),a===y){c+=(m?t.numbers.symbols.decimal:"")+m,y+=n-a+1;continue}"0"===b?(c+=b,g=b):"#"===b&&(c+=g)}return d&&(c=P(c,i+(r&&!u?1:0),Math.max(n,v+i),t.numbers.decimal,t)),n>=i&&(c+=s.substring(n+1)),c}(e,t),e.style,e.symbol),e.literals)),i}function te(e,t,i){var n={negative:e<0,number:Math.abs(e),negativeZero:j(e),format:t};return function(e){var t=e.number,i=e.format;if(i=i.split(";"),(e.negative||e.negativeZero)&&i[1])i=i[1],e.hasNegativeFormat=!0;else if(0===t){var n=i[2];i=n||i[0],n&&function(e){return-1===e.indexOf("#")&&-1===e.indexOf("0")}(n)&&(e.constant=n)}else i=i[0];e.format=i}(n),n.constant?n.constant:(G(n),Y(n,i),function(e){e.hasGroup=e.format.indexOf(",")>-1,e.hasGroup&&(e.format=e.format.replace(X,""))}(n),J(n),function(e){var t=e.format,i=t.indexOf("#"),n=t.indexOf("0"),r=Q(i,n,!0),o=Q(i=t.lastIndexOf("#"),n=t.lastIndexOf("0"));r===t.length&&(o=r),e.start=r,e.end=o,e.lastZeroIndex=n}(n),ee(n,i))}var ie=/^(n|c|p|e|a)(\d*)$/i;function ne(e){return m(e)?function(e){var t=ie.exec(e);if(t){var i={style:"decimal"},n=t[1].toLowerCase();return"c"===n?i.style="currency":"a"===n?i.style="accounting":"p"===n?i.style="percent":"e"===n&&(i.style="scientific"),t[2]&&(i.minimumFractionDigits=i.maximumFractionDigits=parseInt(t[2],10)),i}}(e):e}function re(e,t,i){if(void 0===t&&(t="n"),void 0===i&&(i="en"),null==e)return"";if(!isFinite(e))return String(e);var n,r=w(i),o=ne(t);if(o){var s=o.style||"decimal";n=function(e,t,i){var n=i.numbers.symbols,r=t.style,o=B(r);if("scientific"===r)return(void 0!==t.minimumFractionDigits?e.toExponential(t.minimumFractionDigits):e.toExponential()).replace(".",n.decimal);var s,a=e;o&&(t.value=a,s=N(i,t)),"percent"===r&&(a*=100,s=n.percentSign);var l=W(t),u=l.minimumFractionDigits,d=(a=H(a,l.maximumFractionDigits))<0,c=j(e),h=a.split("."),p=h[0],f=L(h[1]?h[1].replace(U,""):"",u,!0);d&&(p=p.substring(1)),t.minimumIntegerDigits&&(p=L(p,t.minimumIntegerDigits));var m,v=!1!==t.useGrouping?P(p,0,p.length,t,i):p;if(f&&(v+=n.decimal+f),o&&"name"===t.currencyDisplay)m=function(e,t){var i=e.numbers.currency,n=1!==t?i["unitPattern-count-other"]:i["unitPattern-count-one"];return t<0&&(n=n.replace("n","-n")),n}(i,e);else{var g=t.patterns;m=d||c?g[1]||"-"+g[0]:g[0]}return"n"!==m||d?function(e,t,i){for(var n="",r=0,o=t.length;r<o;r++){var s=t.charAt(r);n+="n"===s?e:"$"===s||"%"===s?i:s}return n}(v,m,s):v}(e,Object.assign({},r.numbers[s],o),r)}else n=te(e,t,r);return n}function oe(e){return"number"==typeof e}var se=/\{(\d+)}/g;function ae(e){var t=arguments;return e.replace(se,(function(e,i){return t[parseInt(i,10)+1]}))}var le=[2,1,5,3,4],ue={};ue[(-2).toString()]=8,ue[(-1).toString()]=6,ue[2..toString()]=6,ue[1..toString()]=3;var de={numeric:1,"2-digit":2,short:3,long:4,narrow:5},ce=/[hHmsSzZoOvVxX]/;var he=[{key:"era",specifier:"G"},{key:"year",specifier:"y"},{key:"month",specifier:"M"},{key:"day",specifier:"d"},{key:"weekday",specifier:"E"},{key:"hour",getSpecifier:function(e){return e.hour12?"h":"H"}},{key:"minute",specifier:"m"},{key:"second",specifier:"s"},{key:"timeZoneName",specifier:"z"}],pe={e:"c",E:"c",M:"L",Q:"q"},fe={},me={};function ve(e){return fe[e]||(fe[e]=new RegExp(e+"+")),fe[e]}function ge(e){for(var t=[],i=e.charAt(0),n=i,r=1;r<e.length;r++){var o=e.charAt(r);o===n?i+=o:(t.push(i),i=n=o)}return t.push(i),t}function ye(e,t){var i,n,r=e.length,o=-Number.MAX_VALUE;for(var s in t){for(var a=[],l=s.replace("v","z"),u=0,d=0;d<r;d++){var c=e[d],h=(ve(c[0]).exec(l)||[])[0];if(h){if(l=l.replace(h,""),h.length!==c.length){var p=Math.max(Math.min(le[h.length]-le[c.length],2),-2);u-=ue[p]}}else u-=120;if(a.push(h),u<o)break}l.length&&(u-=20*ge(l).length),u>o&&(o=u,i=a,n=t[s])}n=n.replace("v","z");for(var f=0;f<r;f++){var m=i[f];if(m&&m!==e[f]){var v=i[f][0];n=n.replace(ve(v),e[f]),pe[v]&&(n=n.replace(ve(pe[v]),e[f]))}}return n}function be(e,t){var i=t.calendar.dateTimeFormats.availableFormats;if(i[e])return i[e];if(me[t.name]&&me[t.name][e])return me[t.name][e];var n,r=e.search(ce);if(r>0){var o=e.substr(0,r),s=e.substr(r);n=ae(t.calendar.dateTimeFormats.short,i[s]||ye(ge(s),i),i[o]||ye(ge(o),i))}else n=ye(ge(e),i);return function(e,t,i){me[i]||(me[i]={}),me[i][e]=t}(e,n,t.name),n}function ke(e,t){var i,n=t.calendar;if(m(e))i=n.patterns[e]?n.patterns[e]:e;else if(e){if(e.pattern)return e.pattern;var r=e.skeleton;r||(e.datetime?i=ae(n.dateTimeFormats[e.datetime],n.timeFormats[e.datetime],n.dateFormats[e.datetime]):e.date?i=n.dateFormats[e.date]:e.time?i=n.timeFormats[e.time]:r=function(e){for(var t=[],i=0;i<he.length;i++){var n=he[i],r=e[n.key];if(r){var o=n.specifier||n.getSpecifier(e);t.push(o.repeat(de[r]))}}return t.join("")}(e)),r&&(i=be(r,t))}return i||(i=n.patterns.d),i}function Se(e){var t;return e<=3?t="abbreviated":4===e?t="wide":5===e?t="narrow":6===e&&(t="short"),t}function we(e,t,i,n,r){return I(e,{type:t,nameType:Se(i),standAlone:n,lower:r})}function De(e){return"function"==typeof e}function Ie(e){return Boolean(e)&&De(e.getTime)&&De(e.getMonth)}var Ce=/d{1,2}|E{1,6}|e{1,6}|c{3,6}|c{1}|M{1,5}|L{1,5}|y{1,4}|H{1,2}|h{1,2}|k{1,2}|K{1,2}|m{1,2}|a{1,5}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|x{1,5}|X{1,5}|G{1,5}|q{1,5}|Q{1,5}|"[^"]*"|'[^']*'/g;function $e(e,t,i){var n=function(e){var t=S(e);if(!isNaN(t.firstDay))return t.firstDay;var i=k.supplemental.weekData;if(!i)throw z.error();var n=i.firstDay[D(t)]||i.firstDay["001"];if(!n)throw V.error();return t.firstDay=A.indexOf(n),t.firstDay}(i);return(e<n?7-n+e:e-n)+1}function Te(e,t,i,n){return t<=2?L(e+1,t):we(i,"months",t,n)[e]}function Oe(e,t,i,n){var r=Math.floor(e.getMonth()/3);return t<3?r+1:we(i,"quarters",t,n)[r]}function Ee(e,t,i){var n=i.shortHours,r=i.optionalMinutes,o=i.separator,s=i.localizedName,a=i.zZeroOffset,l=e.getTimezoneOffset()/60;if(0===l&&a)return"Z";var u=l<=0?"+":"-",d=Math.abs(l).toString().split("."),c=d[1]||0,h=u+(n?d[0]:L(d[0],2));(!c&&r||(h+=(o?":":"")+L(c,2)),s)&&(h=ae(0===l?t.calendar.gmtZeroFormat:t.calendar.gmtFormat,h));return h}function xe(e,t,i,n){return t<3?$e(e.getDay(),0,i):we(i,"days",t,n)[e.getDay()]}var Me={};function Re(e,t,i){if(void 0===i&&(i="en"),!Ie(e))return null==e?"":e;var n=w(i);return ke(t,n).replace(Ce,(function(t){var i=t.length;return t.includes("'")||t.includes('"')?t.slice(1,i-1):Me[t[0]](e,i,n)}))}function _e(e,t,i){var n=e.getTimezoneOffset(),r=new Date(e.getTime()+6e4*(t-i)),o=r.getTimezoneOffset();return new Date(r.getTime()+6e4*(o-n))}Me.d=function(e,t){return L(e.getDate(),t)},Me.E=function(e,t,i){return we(i,"days",t)[e.getDay()]},Me.M=function(e,t,i){return Te(e.getMonth(),t,i,!1)},Me.L=function(e,t,i){return Te(e.getMonth(),t,i,!0)},Me.y=function(e,t){var i=e.getFullYear();return 2===t&&(i%=100),L(i,t)},Me.h=function(e,t){return L(e.getHours()%12||12,t)},Me.H=function(e,t){return L(e.getHours(),t)},Me.k=function(e,t){return L(e.getHours()||24,t)},Me.K=function(e,t){return L(e.getHours()%12,t)},Me.m=function(e,t){return L(e.getMinutes(),t)},Me.s=function(e,t){return L(e.getSeconds(),t)},Me.S=function(e,t){var i=e.getMilliseconds();return 0!==i?L(String(i/1e3).split(".")[1].substr(0,t),t,!0):L("",t)},Me.a=function(e,t,i){return we(i,"dayPeriods",t)[e.getHours()<12?"am":"pm"]},Me.z=function(e,t,i){return Ee(e,i,{shortHours:t<4,optionalMinutes:t<4,separator:!0,localizedName:!0})},Me.Z=function(e,t,i){return Ee(e,i,{separator:t>3,localizedName:4===t,zZeroOffset:5===t})},Me.x=function(e,t,i){return Ee(e,i,{optionalMinutes:1===t,separator:3===t||5===t})},Me.X=function(e,t,i){return Ee(e,i,{optionalMinutes:1===t,separator:3===t||5===t,zZeroOffset:!0})},Me.G=function(e,t,i){var n=e.getFullYear()>=0?1:0;return we(i,"eras",t)[n]},Me.e=xe,Me.c=function(e,t,i){return xe(e,t,i,!0)},Me.q=function(e,t,i){return Oe(e,t,i,!0)},Me.Q=Oe;var Fe=/([+|\-]\d{1,2})(:?)(\d{2})?/,Ae=/^\/Date\((.*?)\)\/$/,ze=/[+-]\d*/,Ve={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},je=/\d+/,Ne=/^ */,Pe=/ *$/,Be=["yyyy/MM/dd HH:mm:ss","yyyy/MM/dd HH:mm","yyyy/MM/dd","E MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:ss.SSSSSSSXXX","yyyy-MM-ddTHH:mm:ss.SSSXXX","yyyy-MM-ddTHH:mm:ss.SSXXX","yyyy-MM-ddTHH:mm:ssXXX","yyyy-MM-ddTHH:mm:ss.SSSSSSS","yyyy-MM-ddTHH:mm:ss.SSS","yyyy-MM-ddTHH:mmXXX","yyyy-MM-ddTHH:mmX","yyyy-MM-ddTHH:mm:ss","yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm:ss","yyyy-MM-dd HH:mm","yyyy-MM-dd","HH:mm:ss","HH:mm"],Le=["G","g","F","Y","y","M","m","D","d","y","T","t"];function He(e,t,i){return!(e>=t&&e<=i)}function Ue(e,t){for(var i=t.format,n=t.idx,r=0;i[n]===e;)r++,n++;return r>0&&(n-=1),t.idx=n,r}function We(e,t){var i=e?Ve[e]||new RegExp("^\\d{1,"+e+"}"):je,n=t.value.substr(t.valueIdx,e).match(i);return n?(n=n[0],t.valueIdx+=n.length,parseInt(n,10)):null}function Ke(e,t,i){for(var n,r,o,s=0,a=e.length,l=0,u=0;s<a;s++)r=(n=e[s]).length,o=t.value.substr(t.valueIdx,r),i&&(o=o.toLowerCase()),o===n&&r>l&&(l=r,u=s);return l?(t.valueIdx+=l,u+1):null}function Ye(e){var t=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,t=!0),t}function Ge(e,t,i){var n=i.shortHours,r=i.noSeparator,o=i.optionalMinutes,s=i.localizedName,a=i.zLiteral;if(e.UTC=!0,a&&"Z"===e.value.charAt(e.valueIdx))return e.valueIdx++,!1;if(s&&!Ke(function(e){var t=e.gmtFormat,i=e.gmtZeroFormat;if(!t)throw b.NoGMTInfo.error();return[t.replace("{0}","").toLowerCase(),i.replace("{0}","").toLowerCase()]}(t.calendar),e,!0))return!0;var l=Fe.exec(e.value.substr(e.valueIdx,6));if(!l)return!s;var u=l[1],d=l[3],c=parseInt(u,10),h=l[2],p=parseInt(d,10);return!!(isNaN(c)||!n&&3!==u.length||!o&&isNaN(p)||r&&h)||(isNaN(p)&&(p=null),!!(He(c,-12,13)||p&&He(p,0,59))||(e.valueIdx+=l[0].length,e.hoursOffset=c,void(e.minutesOffset=p)))}function qe(e,t,i){var n=Ue(e,t),r=we(i,"months",n,"L"===e,!0),o=n<3?We(2,t):Ke(r,t,!0);if(null===o||He(o,1,12))return!0;t.month=o-1}function Ze(e,t,i){var n=Ue(e,t),r=we(i,"days",n,"c"===e,!0),o=n<3?We(1,t):Ke(r,t,!0);if(!o&&0!==o||He(o,1,7))return!0}var Xe={};function Je(e,t){return""+Ne.exec(t)[0]+e+Pe.exec(t)[0]}function Qe(e,t,i){for(var n=ke(t,i).split(""),r={format:n,idx:0,value:Je(e,t),valueIdx:0,year:null,month:null,day:null,hours:null,minutes:null,seconds:null,milliseconds:null},o=n.length,s=!1;r.idx<o;r.idx++){var a=n[r.idx];if(s)"'"===a&&(s=!1),Ye(r);else if(Xe[a]){if(Xe[a](r,i))return null}else if("'"===a)s=!0,Ye(r);else if(!Ye(r))return null}return r.valueIdx<e.length?null:function(e){var t,i=e.year,n=e.month,r=e.day,o=e.hours,s=e.minutes,a=e.seconds,l=e.milliseconds,u=e.pmHour,d=e.UTC,c=e.hoursOffset,h=e.minutesOffset,p=null!==o||null!==s||a||null,f=new Date;return null===i&&null===n&&null===r&&p?(i=f.getFullYear(),n=f.getMonth(),r=f.getDate()):(null===i&&(i=f.getFullYear()),null===r&&(r=1)),u&&o<12&&(o+=12),d?(c&&(o+=-c),h&&(s+=-h*(c<0?-1:1)),t=new Date(Date.UTC(i,n,r,o,s,a,l))):function(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}(t=new Date(i,n,r,o,s,a,l),o),i<100&&t.setFullYear(i),t.getDate()!==r&&void 0===d?null:t}(r)||null}function et(e){if(e&&0===e.indexOf("/D")){var t=Ae.exec(e);if(t){t=t[1];var i=ze.exec(t.substring(1));return t=new Date(parseInt(t,10)),i&&(n=i[0],r="-"===n.substr(0,1)?-1:1,o=n.substring(1),i=r*(o=60*parseInt(o.substr(0,2),10)+parseInt(o.substring(2),10)),t=_e(t,t.getTimezoneOffset(),0),t=_e(t,0,-1*i)),t}}var n,r,o}function tt(e,t,i){if(void 0===i&&(i="en"),!e)return null;if(Ie(e))return e;var n=String(e).trim(),r=et(n);if(r)return r;for(var o=w(i),s=t||function(e){for(var t=[],i=e.patterns,n=Le.length,r=0;r<n;r++)t.push(i[Le[r]]);return t.concat(Be)}(o.calendar),a=(s=Array.isArray(s)?s:[s]).length,l=0;l<a;l++)if(r=Qe(n,s[l],o))return r;return r}Xe.d=function(e){Ue("d",e);var t=We(2,e);if(null===t||He(t,1,31))return!0;null===e.day&&(e.day=t)},Xe.E=function(e,t){if(null===Ke(we(t,"days",Ue("E",e),!1,!0),e,!0))return!0},Xe.M=function(e,t){return qe("M",e,t)},Xe.L=function(e,t){return qe("L",e,t)},Xe.y=function(e){var t=Ue("y",e),i=We(1===t?void 0:t,e);if(null===i)return!0;if(2===t){var n=(new Date).getFullYear();(i=n-n%100+i)>2029&&(i-=100)}e.year=i},Xe.h=function(e){Ue("h",e);var t=We(2,e);if(12===t&&(t=0),null===t||He(t,0,11))return!0;e.hours=t},Xe.K=function(e){Ue("K",e);var t=We(2,e);if(null===t||He(t,0,11))return!0;e.hours=t},Xe.a=function(e,t){var i=we(t,"dayPeriods",Ue("a",e),!1,!0),n=Ke([i.pm],e,!0);if(!n&&!Ke([i.am],e,!0))return!0;e.pmHour=n},Xe.H=function(e){Ue("H",e);var t=We(2,e);if(null===t||He(t,0,23))return!0;e.hours=t},Xe.k=function(e){Ue("k",e);var t=We(2,e);if(null===t||He(t,1,24))return!0;e.hours=24===t?0:t},Xe.m=function(e){Ue("m",e);var t=We(2,e);if(null===t||He(t,0,59))return!0;e.minutes=t},Xe.s=function(e){Ue("s",e);var t=We(2,e);if(null===t||He(t,0,59))return!0;e.seconds=t},Xe.S=function(e){var t=Ue("S",e),i=e.value.substr(e.valueIdx,t),n=null;if(isNaN(parseInt(i,10))||(n=H(n=parseFloat("0."+i,10),3),n*=1e3,e.valueIdx+=t),null===n||He(n,0,999))return!0;e.milliseconds=n},Xe.z=function(e,t){var i=Ue("z",e)<4,n=Ge(e,t,{shortHours:i,optionalMinutes:i,localizedName:!0});if(n)return n},Xe.Z=function(e,t){var i=Ue("Z",e),n=Ge(e,t,{noSeparator:i<4,zLiteral:5===i,localizedName:4===i});if(n)return n},Xe.x=function(e,t){var i=Ue("x",e),n=Ge(e,t,{noSeparator:3!==i&&5!==i,optionalMinutes:1===i});if(n)return n},Xe.X=function(e,t){var i=Ue("X",e),n=Ge(e,t,{noSeparator:3!==i&&5!==i,optionalMinutes:1===i,zLiteral:!0});if(n)return n},Xe.G=function(e,t){var i=we(t,"eras",Ue("G",e),!1,!0);if(null===Ke([i[0],i[1]],e,!0))return!0},Xe.e=function(e,t){return Ze("e",e,t)},Xe.c=function(e,t){return Ze("c",e,t)};function it(e,t,i){if(t){if(Ie(e))return Re(e,t,i);if(oe(e))return re(e,t,i)}return null!=e?e:""}var nt=function(e){if(!e||0===e.length)return"";var t=e[0].timezone,i="Etc/UTC"===t,n=i?"Z":"";return(t&&!i?";TZID="+t:"")+":"+e.map((function(e){return Re(e,"yyyyMMddTHHmmss")+n})).join(",")+" "},rt=function(e,t){if(!t)return!1;var i=t.start,n=t.end;return e<i||e>n||0===e&&i<0},ot=function(e,t){return e-t},st=function(e,t){for(var i=[],n=0;n<e.length;n++){var r=parseInt(e[n],10);if(isNaN(r)||rt(r,t))return[];i.push(r)}return i.sort(ot)},at=["yyyyMMddTHHmmssSSSXXX","yyyyMMddTHHmmssXXX","yyyyMMddTHHmmss","yyyyMMddTHHmm","yyyyMMddTHH","yyyyMMdd"];function lt(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}var ut=function(e,t){var i=tt(e)||tt(e,at);if(!i)return null;var n=t?lt(i):i;return r.a.fromUTCDate(n,t||"Etc/UTC")},dt={SU:l.a.Sunday,MO:l.a.Monday,TU:l.a.Tuesday,WE:l.a.Wednesday,TH:l.a.Thursday,FR:l.a.Friday,SA:l.a.Saturday},ct=function(e){return dt[e]},ht=function(e){for(var t=[],i=0;i<e.length;i++){var n=e[i],r=ct(n.substring(n.length-2).toUpperCase());if(void 0===r)return[];t.push({offset:parseInt(n.substring(0,n.length-2),10)||0,day:r})}return t},pt=function(e,t,i){void 0===i&&(i=1),t=(t-e.getUTCDay()+7*i)%7,e.setUTCDate(e.getUTCDate()+t)},ft=function(e,t){return e+(e<t?7:0)},mt=function(e,t){return e-t},vt=function(e,t){var i=7-(lt(Object(a.a)(e)).getUTCDay()+7-(t||7))||7;return i<0&&(i+=7),Math.ceil((e.getUTCDate()-i)/7)+1},gt=function(e,t){var i=(e=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()))).getUTCFullYear();void 0!==t?(pt(e,t,-1),e.setUTCDate(e.getUTCDate()+4)):e.setUTCDate(e.getUTCDate()+(4-(e.getUTCDay()||7)));var n=Math.floor((e.getTime()-Date.UTC(i,0,1,-6))/864e5);return 1+Math.floor(n/7)},yt=function(e,t,i){var n=t.offset;if(!n)return vt(e,i);var r=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+1,0)),o=vt(r,i),s=ft(t.day,i),a=s<ft(new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),1)).getUTCDay(),i),l=s>ft(r.getUTCDay(),i);return n<0?n=o+(n+1-(l?1:0)):a&&(n+=1),o-=l?1:0,n<(a?1:0)||n>o?null:n},bt=function(e,t,i){return vt(e,i)===yt(e,t,i)},kt=function(e,t){return vt(new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth()+1,0)),t)},St=[0,31,60,91,121,152,182,213,244,274,305,335,366],wt=[0,31,59,90,120,151,181,212,243,273,304,334,365],Dt=function(e){return(e=e.getUTCFullYear())%4==0&&e%100!=0||e%400==0},It=function(e){var t=e.getUTCMonth();return(Dt(e)?St[t]:wt[t])+e.getUTCDate()},Ct=[31,28,31,30,31,30,31,31,30,31,30,31],$t=function(e){var t=e.getUTCMonth();return 1===t?1===new Date(Date.UTC(e.getUTCFullYear(),1,29)).getUTCMonth()?29:28:Ct[t]},Tt=function(e,t,i){for(var n=e.length,r=[],o=0;o<n;o++){var s=e[o];if(i&&(s=i(s)),t===s)return null;t<s&&r.push(s)}return r},Ot=function(e,t,i){var n=i.byMonth,r=Tt(n,e.getUTCMonth()+1),o=!1;return null!==r&&(r.length?e.setUTCMonth(r[0]-1,1):e.setUTCFullYear(e.getUTCFullYear()+1,n[0]-1,1),o=!0),o},Et=function(e,t,i){var n,r=!1;function o(e){return e<0&&(e=n+e+1),e}for(;e<=t;){var s=e.getUTCMonth();n=$t(e);var a=Tt(i.byMonthDay,e.getUTCDate(),o);if(null===a)return r;if(r=!0,a.length){if(e.setUTCMonth(s,a.sort(mt)[0]),s===e.getUTCMonth())break}else e.setUTCMonth(s+1,1)}return r},xt=function(e,t,i){var n,r=!1;function o(e){return e<0&&(e=n+e),e}for(;e<t;){n=Dt(e)?366:365;var s=Tt(i.byYearDay,It(e),o);if(null===s)return r;if(r=!0,n=e.getUTCFullYear(),s.length){e.setUTCFullYear(n,0,s.sort(mt)[0]);break}e.setUTCFullYear(n+1,0,1)}return r},Mt=function(e,t,i){var n=i.weekStart||l.a.Monday,r=!1;function o(e){return e<0&&(e=53+e),e}for(;e<t;){var s=Tt(i.byWeekNumber,gt(e,n),o);if(null===s)return r;r=!0;var a=e.getUTCFullYear();if(s.length){var u=7*s.sort(mt)[0]-1;e.setUTCFullYear(a,0,u),pt(e,n,-1);break}e.setUTCFullYear(a+1,0,1)}return r},Rt=function(e,t,i){var n=i.byWeekDay,r=i.weekStart||l.a.Monday,o=function(e,t,i){for(var n,r,o,s,a=ft(t.getUTCDay(),i),l=e.length,u=[],d=0;d<l;d++)if(r=e[d],s=vt(t,i),null!==(n=yt(t,r,i)))if(s<n)u.push(r);else if(s===n)if(a<(o=ft(r.day,i)))u.push(r);else if(a===o)return null;return u}(n,e,r);if(null===o)return!1;o[0]||(o=n,pt(e,r));var s=o.map((function(i){var n=Object(u.a)(e),o=i.day;if(i.offset)for(;n<=t&&!bt(n,i,r);)vt(n,r)===kt(n,r)?n.setUTCMonth(n.getUTCMonth()+1,1):(n.setUTCDate(n.getUTCDate()+7),pt(n,r,-1));return n.getUTCDay()!==o&&pt(n,o),n})).sort((function(e,t){return e.getTime()-t.getTime()}))[0];return s&&e.setTime(s),!0},_t=function(e,t,i){var n=i.byHour,r=!1,o=i._startTime,s=o.getUTCHours(),a=Tt(n,s);return null!==a&&(r=!0,e.setUTCHours(s),a.length?(a=a[0],e.setUTCHours(a)):(a=e.getUTCHours(),e.setUTCDate(e.getUTCDate()+1),a=n[0],e.setUTCHours(a)),i.byMinute&&e.setUTCMinutes(0),o.setUTCHours(a,e.getUTCMinutes())),r},Ft=function(e,t,i){var n=i.byMinute,r=e.getUTCMinutes(),o=Tt(n,r),s=i._startTime.getUTCHours(),a=!1;return null!==o&&(a=!0,o.length?o=o[0]:(s+=1,o=n[0]),i.bySecond&&e.setUTCSeconds(0),e.setUTCHours(s,o),s%=24,i._startTime.setUTCHours(s,o,e.getUTCSeconds())),a},At=function(e,t,i){var n=i.bySecond,r=Tt(n,e.getUTCSeconds()),o=i._startTime.getUTCHours(),s=e.getUTCMinutes(),a=!1;return null!==r&&(a=!0,r.length?e.setUTCSeconds(r[0]):(s+=1,e.setUTCMinutes(s,n[0]),s>59&&(s%=60,o=(o+1)%24)),i._startTime.setUTCHours(o,s,e.getUTCSeconds())),a},zt=["byMonth","byWeekNumber","byYearDay","byMonthDay","byWeekDay","byHour","byMinute","bySecond"],Vt=zt.length,jt=function(e,t){var i;return 0!==e&&e<t?i=t-e:(i=e%t)&&(i=t-i),i},Nt=function(){function e(){}return e.prototype.next=function(e,t){var i,n,r=t._startTime;if(t.bySecond)n=e.getUTCSeconds()+1,e.setUTCSeconds(n),r.setUTCSeconds(n);else{if(!t.byMinute)return!1;i=e.getUTCMinutes()+1,e.setUTCMinutes(i),r.setUTCMinutes(i)}return!0},e.prototype.normalize=function(e){var t=e.rule;4===e.idx&&t.byHour&&(t._startTime.setUTCHours(0),this._hour(e.date,t))},e.prototype.limit=function(e,t,i){for(var r,o=i.interval||1;e<=t;){var s=void 0,a=void 0,l=e.getUTCDate();for(r=0;r<Vt;r++){var u=zt[r];if(i[u]){if(s=n[u](e,t,i),void 0!==a&&s)break;a=s}s&&this.normalize({date:e,rule:i,day:l,idx:r})}if((1===o||!this.interval(i,e))&&r===Vt)break}},e.prototype.interval=function(e,t){var i,n,r=e._startPeriod.toUTCDate(),s=t.getUTCHours(),a=e.weekStart,l=e.interval,u=e.freq,d=new Date(t),h=!1,p=0,f=0,m=1;if("hourly"===u)n=e._startTime.getUTCHours(),d=d.getTime(),s!==n&&(d+=(n-s)*o.b),d-=r.getTime(),i=Math.floor(d/o.b),0!==(p=jt(i,l))&&(this._hour(t,e,p),h=!0);else if("daily"===u)!function(e,t){e.setTime(e.getTime()+t)}(d,-r),i=Math.round(d/o.a),0!==(p=jt(i,l))&&(this._date(t,e,p),h=!0);else if("weekly"===u){p=this.getNumberOfWeeksBetweenDates(r,t),ft(t.getUTCDay(),a)<ft(r.getUTCDay(),a)&&(p+=1),0!==(p=jt(p,l))&&(pt(t,e.weekStart,-1),t.setUTCDate(t.getUTCDate()+7*p),h=!0)}else"monthly"===u?(i=t.getUTCFullYear()-r.getUTCFullYear(),i=t.getUTCMonth()-r.getUTCMonth()+12*i,0!==(p=jt(i,l))&&(m=c(e)?1:t.getDate(),t.setUTCFullYear(t.getUTCFullYear(),t.getUTCMonth()+p,m),h=!0)):"yearly"===u&&(i=t.getUTCFullYear()-r.getUTCFullYear(),p=jt(i,l),e.byMonth||(f=t.getUTCMonth()),e.byYearDay||e.byMonthDay||e.byWeekDay||(m=t.getUTCDate()),0!==p&&(t.setUTCFullYear(t.getUTCFullYear()+p,f,m),h=!0));return h},e.prototype._hour=function(e,t,i){var n=t._startTime,r=n.getUTCHours();i&&(r+=i),e.setUTCHours(r),r%=24,n.setUTCHours(r)},e.prototype._date=function(e,t,i){e.setUTCDate(e.getUTCDate()+i)},e.prototype.getNumberOfWeeksBetweenDates=function(e,t){var i=(t.getTime()-e.getTime())/6048e5,n=Math.floor(i);return i-n>.99&&(n=Math.round(i)),n},e}(),Pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.next=function(e,t){return Nt.prototype.next.call(this,e,t)||this._hour(e,t,1),!1},t.prototype.normalize=function(e){var t=e.rule;4===e.idx&&(t._startTime.setUTCHours(0),this._hour(e.date,t))},t}(Nt),Bt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.next=function(e,t){return Nt.prototype.next.call(this,e,t)||this[t.byHour?"_hour":"_date"](e,t,1),!1},t}(Nt),Lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.setup=function(e,t){e.byWeekDay||(e.byWeekDay=[{day:t.getUTCDay(),offset:0}])},t}(Bt),Ht=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.next=function(e,t){var i;if(!Nt.prototype.next.call(this,e,t))if(t.byHour)this._hour(e,t,1);else if(t.byMonthDay||t.byWeekDay||t.byYearDay||t.byWeekNumber)this._date(e,t,1);else{for(i=e.getUTCDate(),e.setUTCMonth(e.getUTCMonth()+1);e.getUTCDate()!==i;)e.setUTCDate(i);this._hour(e,t)}return!1},t.prototype.normalize=function(t){var i=t.rule,n=t.date;0!==t.idx||i.byMonthDay||i.byWeekDay?e.prototype.normalize.call(this,t):n.setUTCDate(t.day)},t.prototype.setup=function(e,t,i){e.byMonthDay||e.byWeekDay||i.setUTCDate(t.getUTCDate())},t}(Nt),Ut=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s.b(t,e),t.prototype.next=function(e,t){var i;if(!Nt.prototype.next.call(this,e,t))if(t.byHour)this._hour(e,t,1);else if(t.byMonthDay||t.byWeekDay||t.byYearDay||t.byWeekNumber)this._date(e,t,1);else if(t.byMonth){for(i=e.getUTCDate(),e.setUTCMonth(e.getUTCMonth()+1);e.getUTCDate()!==i;)e.setUTCDate(i);this._hour(e,t)}else e.setUTCFullYear(e.getUTCFullYear()+1),this._hour(e,t);return!1},t.prototype.setup=function(){},t}(Ht),Wt={hourly:new Pt,daily:new Bt,weekly:new Lt,monthly:new Ht,yearly:new Ut},Kt=function(e){return r.a.fromLocalDate(e.toLocalDate(),e.timezone)},Yt=function(e){return e.getHours()*o.b+e.getMinutes()*o.c+1e3*e.getSeconds()+e.getMilliseconds()},Gt=function(e,t){if(!e)return!1;for(var i=t.getTime()-t.getMilliseconds(),n=e.length,r=0;r<n;r++)if(e[r].getTime()===i)return!0;return!1},qt=function(e,t){var i=e.toUTCDate();switch(t.freq){case"yearly":i.setUTCFullYear(i.getUTCFullYear(),11,31);break;case"monthly":i.setUTCFullYear(i.getUTCFullYear(),i.getUTCMonth()+1,0);break;case"weekly":pt(i,t.weekStart,-1),i.setUTCDate(i.getUTCDate()+6)}return t.byHour&&i.setUTCHours(23),t.byMinute&&i.setUTCMinutes(59),t.bySecond&&i.setUTCSeconds(59),r.a.fromUTCDate(i,e.timezone)},Zt=function(e,t,i){for(var n,r=e.length,o=[],s=0,a=i.length;s<a;s++){(n=i[s])<0?n=r+n:n-=1;var l=e[n];l&&l.start>=t&&o.push(l)}return o},Xt=function(e,t){for(var i=[],n=0;n<e.length;n++){var r=e[n];r&&!Gt(t,r.start)&&i.push(r)}return i};function Jt(e,t){var i=t.rangeStart,n=t.rangeEnd;if(!e)return{success:!0,errorMessage:"",events:[]};var o,s=e.freq,a=Wt[s],l=e.start,u=function(e,t){return t.getTime()-e.getTime()}(e.start,e.end);if(e.start.getTime()>e.end.getTime())return{success:!1,errorMessage:"Invalid recurrence rule: Start date ("+e.start+")is greater than End date "+e.start,events:[]};if(!a)return{success:!1,errorMessage:'Invalid recurrence frequency "'+s+'"',events:[]};var d=[],c=e.bySetPosition,h=c?0:1,p=e.exceptionDates,f=i.toTimezone(l.timezone),m=f,v=n.toTimezone(l.timezone),g=e.count;e.until&&e.until.getTime()<v.getTime()&&(v=e.until.clone());var y=f.getHours(),b=f.getMinutes(),k=f.getSeconds(),S="yearly"===s||"monthly"===s||"weekly"===s;if(f.getTime()<l.getTime()||g||e.interval>1||S)f=l.clone();else{e.byHour||(y=l.getHours()),e.byMinute||(b=l.getMinutes()),e.bySecond||(k=l.getSeconds());var w=f.toUTCDate();w.setUTCHours(y,b,k,l.getMilliseconds()),f=r.a.fromUTCDate(w,f.timezone)}if(e._startPeriod=f.clone(),c){if(f=function(e,t){var i=e.toUTCDate();switch(t.freq){case"yearly":i.setUTCFullYear(i.getFullYear(),0,1);break;case"monthly":i.setUTCFullYear(i.getFullYear(),i.getMonth(),1);break;case"weekly":pt(i,t.weekStart,-1)}return t.byHour&&i.setUTCHours(0),t.byMinute&&i.setUTCMinutes(0),t.bySecond&&i.setUTCSeconds(0),r.a.fromUTCDate(i,e.timezone)}(f,e),v=qt(v,e),Yt(v)-Yt(f)<0){var D=v.toUTCDate();D.setUTCHours(f.getHours(),f.getMinutes(),f.getSeconds(),f.getMilliseconds()),v=r.a.fromUTCDate(D,v.timezone)}e._startPeriod=f.clone(),o=qt(f,e)}var I=Yt(f);e._startTime=new Date(I);var C=f.toUTCDate();for(a.setup&&(a.setup(e,l,C),f=r.a.fromUTCDate(C,f.timezone)),C=f.toUTCDate(),a.limit(C,v.toUTCDate(),e),f=r.a.fromUTCDate(C,f.timezone);f<=v;){var $=f.addTime(u);if(((f>=m||$>m)&&!Gt(p,f)||c)&&(d.push({start:Kt(f),end:Kt($)}),"hourly"!==s&&"minutely"!==s&&"secondly"!==s||(I=Yt(Kt(f)),e._startTime=new Date(I))),c){if(C=f.toUTCDate(),a.next(C,e),a.limit(C,v.toUTCDate(),e),(f=r.a.fromUTCDate(C,f.timezone))>o){var T=Zt(d.slice(h),l,c);T=Xt(T,p),d=d.slice(0,h).concat(T),o=qt(f,e),h=d.length}if(g&&g===h)break}else{if(g&&g===h)break;h+=1,C=f.toUTCDate(),a.next(C,e),a.limit(C,v.toUTCDate(),e),f=r.a.fromUTCDate(C,f.timezone)}}return{success:!0,errorMessage:"",events:d}}var Qt=function(e,t){return e+(e<t?7:0)},ei=function(e){var t=e.byWeekDay,i=e.weekStart;t&&t.sort(function(e){return function(t,i){return Qt(t.day,e)-Qt(i.day,e)}}(i))},ti=function(e){if(!e)return null;var t,i,n,r,o=e.recurrenceRule,s=e.weekStart,a=void 0===s?0:s,l={},u=0;if(!o)return null;var d=o.split("\n");for(d[1]||-1===o.indexOf("DTSTART")&&-1===o.indexOf("DTEND")&&-1===o.indexOf("EXDATE")||(d=o.split(" ")),u=0,n=d.length;u<n;u++){var f=(d[u]||"").trim();-1!==f.indexOf("DTSTART")?l.start=p(f):-1!==f.indexOf("DTEND")?l.end=p(f):-1!==f.indexOf("EXDATE")?l.exceptionDates=h(f):-1!==f.indexOf("RRULE")?r=f.substring(6):f.trim()&&(r=f)}for(u=0,n=(r=r.split(";")).length;u<n;u++)switch(i=((t=r[u].split("="))[1]||"").trim().split(","),t[0].trim().toUpperCase()){case"FREQ":l.freq=i[0].toLowerCase();break;case"UNTIL":l.until=ut(i[0]);break;case"COUNT":l.count=parseInt(i[0],10);break;case"INTERVAL":l.interval=parseInt(i[0],10);break;case"BYSECOND":l.bySecond=st(i,{start:0,end:60});break;case"BYMINUTE":l.byMinute=st(i,{start:0,end:59});break;case"BYHOUR":l.byHour=st(i,{start:0,end:23});break;case"BYMONTHDAY":l.byMonthDay=st(i,{start:-31,end:31});break;case"BYYEARDAY":l.byYearDay=st(i,{start:-366,end:366});break;case"BYMONTH":l.byMonth=st(i,{start:1,end:12});break;case"BYDAY":l.byWeekDay=ht(i);break;case"BYWEEKNO":l.byWeekNumber=st(i,{start:-53,end:53});break;case"BYSETPOS":l.bySetPosition=st(i,{start:-366,end:366});break;case"WKST":l.weekStart=ct(i[0])}return void 0===l.freq||void 0!==l.count&&l.until?null:(void 0===l.weekStart&&(l.weekStart=a),l.interval||(l.interval=1),l.bySetPosition&&!c(l)&&(l.bySetPosition=[]),ei(l),l)},ii={0:"SU",1:"MO",2:"TU",3:"WE",4:"TH",5:"FR",6:"SA"},ni=function(e,t){if(!e||!e.freq)return null;var i=e.weekStart,n="FREQ="+e.freq.toUpperCase(),r="",o="",s="",a=e.until;return e.interval>1&&(n+=";INTERVAL="+e.interval),e.count&&(n+=";COUNT="+e.count),a&&(n+=";UNTIL="+it(a.toTimezone("Etc/UTC"),"yyyyMMddTHHmmss")+"Z"),e.byMonth&&(n+=";BYMONTH="+e.byMonth),e.byWeekNumber&&(n+=";BYWEEKNO="+e.byWeekNumber),e.byYearDay&&(n+=";BYYEARDAY="+e.byYearDay),e.byMonthDay&&(n+=";BYMONTHDAY="+e.byMonthDay),e.byWeekDay&&(n+=";BYDAY="+function(e){for(var t,i=e.length,n=[],r=0;r<i;r++){var o=e[r];"string"==typeof o?t=o:(t=""+ii[o.day],o.offset&&(t=o.offset+t)),n.push(t)}return n.toString()}(e.byWeekDay)),e.byHour&&(n+=";BYHOUR="+e.byHour),e.byMinute&&(n+=";BYMINUTE="+e.byMinute),e.bySecond&&(n+=";BYSECOND="+e.bySecond),e.bySetPosition&&(n+=";BYSETPOS="+e.bySetPosition),void 0!==i&&(n+=";WKST="+ii[i]),e.start&&(o="DTSTART"+nt([e.start])),e.end&&(s="DTEND"+nt([e.end])),e.exceptionDates&&(r="EXDATE"+nt(e.exceptionDates)),(o||s||r)&&(n=o+s+r+"RRULE:"+n),n}}])}));
|