function _superPropGet(e,t,n,r){var i=_get(_getPrototypeOf(1&r?e.prototype:e),t,n);return 2&r?function(e){return i.apply(n,e)}:i}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=_superPropBase(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},_get.apply(null,arguments)}function _superPropBase(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,e)},_wrapNativeSuper(e)}function _construct(e,t,n){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&_setPrototypeOf(i,n.prototype),i}function _isNativeFunction(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}function _callSuper(e,t,n){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(e).constructor):t.apply(e,n))}function _possibleConstructorReturn(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _getPrototypeOf(e){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_getPrototypeOf(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}function _toPrimitive(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}
/*!
FullCalendar Standard Bundle v6.1.15
Docs & License: https://fullcalendar.io/docs/initialize-globals
(c) 2024 Adam Shaw
*/var FullCalendar=function(e){"use strict";var t,n,r,i,a,o,s,l,c,u={},d=[],f=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function p(e,n,r){var i,a,o,s={};for(o in n)"key"==o?i=n[o]:"ref"==o?a=n[o]:s[o]=n[o];if(arguments.length>2&&(s.children=arguments.length>3?t.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return g(e,s,i,a,null)}function g(e,t,i,a,o){var s={type:e,props:t,key:i,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++r:o};return null==o&&null!=n.vnode&&n.vnode(s),s}function m(){return{current:null}}function y(e){return e.children}function b(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||f.test(t)?n:n+"px"}function _(e,t,n,r,i){var a;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||b(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||b(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])a=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r||e.addEventListener(t,a?E:C,a):e.removeEventListener(t,a?E:C,a);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function C(e){a=!0;try{return this.l[e.type+!1](n.event?n.event(e):e)}finally{a=!1}}function E(e){a=!0;try{return this.l[e.type+!0](n.event?n.event(e):e)}finally{a=!1}}function k(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?S(e):null}function A(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return A(e)}}function D(e){a?setTimeout(e):l(e)}function w(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!R.__r++||s!==n.debounceRendering)&&((s=n.debounceRendering)||D)(R)}function R(){var e,t,n,r,i,a,s,l;for(o.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=o.shift();)e.__d&&(t=o.length,r=void 0,i=void 0,s=(a=(n=e).__v).__e,(l=n.__P)&&(r=[],(i=h({},a)).__v=a.__v+1,N(l,a,i,n.__n,void 0!==l.ownerSVGElement,null!=a.__h?[s]:null,r,null==s?S(a):s,a.__h),H(r,a),a.__e!=s&&A(a)),o.length>t&&o.sort((function(e,t){return e.__v.__b-t.__v.__b})));R.__r=0}function T(e,t,n,r,i,a,o,s,l,c){var f,h,v,p,m,b,_,C=r&&r.__k||d,E=C.length;for(n.__k=[],f=0;f<t.length;f++)if(null!=(p=n.__k[f]=null==(p=t[f])||"boolean"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?g(null,p,null,null,p):Array.isArray(p)?g(y,{children:p},null,null,null):p.__b>0?g(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)){if(p.__=n,p.__b=n.__b+1,null===(v=C[f])||v&&p.key==v.key&&p.type===v.type)C[f]=void 0;else for(h=0;h<E;h++){if((v=C[h])&&p.key==v.key&&p.type===v.type){C[h]=void 0;break}v=null}N(e,p,v=v||u,i,a,o,s,l,c),m=p.__e,(h=p.ref)&&v.ref!=h&&(_||(_=[]),v.ref&&_.push(v.ref,null,p),_.push(h,p.__c||m,p)),null!=m?(null==b&&(b=m),"function"==typeof p.type&&p.__k===v.__k?p.__d=l=x(p,l,e):l=I(e,p,v,C,m,l),"function"==typeof n.type&&(n.__d=l)):l&&v.__e==l&&l.parentNode!=e&&(l=S(v))}for(n.__e=b,f=E;f--;)null!=C[f]&&("function"==typeof n.type&&null!=C[f].__e&&C[f].__e==n.__d&&(n.__d=O(r).nextSibling),B(C[f],C[f]));if(_)for(f=0;f<_.length;f++)j(_[f],_[++f],_[++f])}function x(e,t,n){for(var r,i=e.__k,a=0;i&&a<i.length;a++)(r=i[a])&&(r.__=e,t="function"==typeof r.type?x(r,t,n):I(n,r,r,i,r.__e,t));return t}function M(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){M(e,t)})):t.push(e)),t}function I(e,t,n,r,i,a){var o,s,l;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(null==n||i!=a||null==i.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(i),o=null;else{for(s=a,l=0;(s=s.nextSibling)&&l<r.length;l+=1)if(s==i)break e;e.insertBefore(i,a),o=a}return void 0!==o?o:i.nextSibling}function O(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=O(n)))return r;return null}function N(e,t,r,i,a,o,s,l,c){var u,d,f,v,p,g,m,b,_,C,E,S,A,D,w,R=t.type;if(void 0!==t.constructor)return null;null!=r.__h&&(c=r.__h,l=t.__e=r.__e,t.__h=null,o=[l]),(u=n.__b)&&u(t);try{e:if("function"==typeof R){if(b=t.props,_=(u=R.contextType)&&i[u.__c],C=u?_?_.props.value:u.__:i,r.__c?m=(d=t.__c=r.__c).__=d.__E:("prototype"in R&&R.prototype.render?t.__c=d=new R(b,C):(t.__c=d=new k(b,C),d.constructor=R,d.render=F),_&&_.sub(d),d.props=b,d.state||(d.state={}),d.context=C,d.__n=i,f=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=R.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=h({},d.__s)),h(d.__s,R.getDerivedStateFromProps(b,d.__s))),v=d.props,p=d.state,d.__v=t,f)null==R.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==R.getDerivedStateFromProps&&b!==v&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(b,C),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(b,d.__s,C)||t.__v===r.__v){for(t.__v!==r.__v&&(d.props=b,d.state=d.__s,d.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<d._sb.length;E++)d.__h.push(d._sb[E]);d._sb=[],d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(b,d.__s,C),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(v,p,g)}))}if(d.context=C,d.props=b,d.__P=e,S=n.__r,A=0,"prototype"in R&&R.prototype.render){for(d.state=d.__s,d.__d=!1,S&&S(t),u=d.render(d.props,d.state,d.context),D=0;D<d._sb.length;D++)d.__h.push(d._sb[D]);d._sb=[]}else do{d.__d=!1,S&&S(t),u=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++A<25);d.state=d.__s,null!=d.getChildContext&&(i=h(h({},i),d.getChildContext())),f||null==d.getSnapshotBeforeUpdate||(g=d.getSnapshotBeforeUpdate(v,p)),w=null!=u&&u.type===y&&null==u.key?u.props.children:u,T(e,Array.isArray(w)?w:[w],t,r,i,a,o,s,l,c),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),m&&(d.__E=d.__=null),d.__e=!1}else null==o&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=P(r.__e,t,r,i,a,o,s,c);(u=n.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=o)&&(t.__e=l,t.__h=!!c,o[o.indexOf(l)]=null),n.__e(e,t,r)}}function H(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){n.__e(e,t.__v)}}))}function P(e,n,r,i,a,o,s,l){var c,d,f,h=r.props,p=n.props,g=n.type,m=0;if("svg"===g&&(a=!0),null!=o)for(;m<o.length;m++)if((c=o[m])&&"setAttribute"in c==!!g&&(g?c.localName===g:3===c.nodeType)){e=c,o[m]=null;break}if(null==e){if(null===g)return document.createTextNode(p);e=a?document.createElementNS("http://www.w3.org/2000/svg",g):document.createElement(g,p.is&&p),o=null,l=!1}if(null===g)h===p||l&&e.data===p||(e.data=p);else{if(o=o&&t.call(e.childNodes),d=(h=r.props||u).dangerouslySetInnerHTML,f=p.dangerouslySetInnerHTML,!l){if(null!=o)for(h={},m=0;m<e.attributes.length;m++)h[e.attributes[m].name]=e.attributes[m].value;(f||d)&&(f&&(d&&f.__html==d.__html||f.__html===e.innerHTML)||(e.innerHTML=f&&f.__html||""))}if(function(e,t,n,r,i){var a;for(a in n)"children"===a||"key"===a||a in t||_(e,a,null,n[a],r);for(a in t)i&&"function"!=typeof t[a]||"children"===a||"key"===a||"value"===a||"checked"===a||n[a]===t[a]||_(e,a,t[a],n[a],r)}(e,p,h,a,l),f)n.__k=[];else if(m=n.props.children,T(e,Array.isArray(m)?m:[m],n,r,i,a&&"foreignObject"!==g,o,s,o?o[0]:r.__k&&S(r,0),l),null!=o)for(m=o.length;m--;)null!=o[m]&&v(o[m]);l||("value"in p&&void 0!==(m=p.value)&&(m!==e.value||"progress"===g&&!m||"option"===g&&m!==h.value)&&_(e,"value",m,h.value,!1),"checked"in p&&void 0!==(m=p.checked)&&m!==e.checked&&_(e,"checked",m,h.checked,!1))}return e}function j(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){n.__e(e,r)}}function B(e,t,r){var i,a;if(n.unmount&&n.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||j(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){n.__e(e,t)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&B(i[a],t,r||"function"!=typeof e.type);r||null==e.__e||v(e.__e),e.__=e.__e=e.__d=void 0}function F(e,t,n){return this.constructor(e,n)}function z(e,r,i){var a,o,s;n.__&&n.__(e,r),o=(a="function"==typeof i)?null:i&&i.__k||r.__k,s=[],N(r,e=(!a&&i||r).__k=p(y,null,[e]),o||u,u,void 0!==r.ownerSVGElement,!a&&i?[i]:o?null:r.firstChild?t.call(r.childNodes):null,s,!a&&i?i:o?o.__e:r.firstChild,a),H(s,e)}t=d.slice,n={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&null!=a.getDerivedStateFromError&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(t){e=t}throw e}},r=0,i=function(e){return null!=e&&void 0===e.constructor},a=!1,k.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof e&&(e=e(h({},n),this.props)),e&&h(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),w(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},k.prototype.render=y,o=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,R.__r=0,c=0;var U,W,L,V=[],G=[],Q=n.__b,q=n.__r,Y=n.diffed,Z=n.__c,X=n.unmount;function J(){for(var e;e=V.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ee),e.__H.__h.forEach(te),e.__H.__h=[]}catch(t){e.__H.__h=[],n.__e(t,e.__v)}}n.__b=function(e){U=null,Q&&Q(e)},n.__r=function(e){q&&q(e);var t=(U=e.__c).__H;t&&(W===U?(t.__h=[],U.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=G,e.__N=e.i=void 0}))):(t.__h.forEach(ee),t.__h.forEach(te),t.__h=[])),W=U},n.diffed=function(e){Y&&Y(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==V.push(t)&&L===n.requestAnimationFrame||((L=n.requestAnimationFrame)||$)(J)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==G&&(e.__=e.__V),e.i=void 0,e.__V=G}))),W=U=null},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ee),e.__h=e.__h.filter((function(e){return!e.__||te(e)}))}catch(r){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(r,e.__v)}})),Z&&Z(e,t)},n.unmount=function(e){X&&X(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{ee(e)}catch(e){t=e}})),r.__H=void 0,t&&n.__e(t,r.__v))};var K="function"==typeof requestAnimationFrame;function $(e){var t,n=function(){clearTimeout(r),K&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);K&&(t=requestAnimationFrame(n))}function ee(e){var t=U,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),U=t}function te(e){var t=U;e.__c=e.__(),U=t}function ne(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function re(e){this.props=e}(re.prototype=new k).isPureReactComponent=!0,re.prototype.shouldComponentUpdate=function(e,t){return ne(this.props,e)||ne(this.state,t)};var ie=n.__b;n.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ie&&ie(e)};var ae=n.__e;n.__e=function(e,t,n,r){if(e.then)for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);ae(e,t,n,r)};var oe=n.unmount;function se(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return se(e,t,n)}))),e}function le(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return le(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function ce(){this.__u=0,this.t=null,this.__b=null}function ue(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function de(){this.u=null,this.o=null}n.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),oe&&oe(e)},(ce.prototype=new k).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=ue(r.__v),a=!1,o=function(){a||(a=!0,n.__R=null,i?i(s):s())};n.__R=o;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=le(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},ce.prototype.componentWillUnmount=function(){this.t=[]},ce.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=se(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&p(y,null,e.fallback);return i&&(i.__h=null),[p(y,null,t.__a?null:e.children),i]};var fe=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function he(e){return this.getChildContext=function(){return e.context},e.children}function ve(e){var t=this,n=e.i;t.componentWillUnmount=function(){z(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),z(p(he,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function pe(e,t){var n=p(ve,{__v:e,i:t});return n.containerInfo=t,n}(de.prototype=new k).__a=function(e){var t=this,n=ue(t.__v),r=t.o.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),fe(t,e,r)):i()};n?n(a):a()}},de.prototype.render=function(e){this.u=null,this.o=new Map;var t=M(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},de.prototype.componentDidUpdate=de.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){fe(e,n,t)}))};var ge="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,me=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ye="undefined"!=typeof document,be=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(k.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var _e=n.event;function Ce(){}function Ee(){return this.cancelBubble}function ke(){return this.defaultPrevented}n.event=function(e){return _e&&(e=_e(e)),e.persist=Ce,e.isPropagationStopped=Ee,e.isDefaultPrevented=ke,e.nativeEvent=e};var Se={configurable:!0,get:function(){return this.class}},Ae=n.vnode;n.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var a in r={},n){var o=n[a];ye&&"children"===a&&"noscript"===t||"value"===a&&"defaultValue"in n&&null==o||("defaultValue"===a&&"value"in n&&null==n.value?a="value":"download"===a&&!0===o?o="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+t)&&!be(n.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():i&&me.test(a)?a=a.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===o&&(o=void 0),/^oninput$/i.test(a)&&(a=a.toLowerCase(),r[a]&&(a="oninputCapture")),r[a]=o)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=M(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=M(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Se.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Se))}e.$$typeof=ge,Ae&&Ae(e)};var De=n.__r;n.__r=function(e){De&&De(e),e.__c};var we,Re=[],Te=new Map;function xe(e){Re.push(e),Te.forEach((function(t){Ie(t,e)}))}function Me(e){var t=Te.get(e);if(!t||!t.isConnected){if(!(t=e.querySelector("style[data-fullcalendar]"))){(t=document.createElement("style")).setAttribute("data-fullcalendar","");var n=function(){void 0===we&&(we=function(){var e=document.querySelector('meta[name="csp-nonce"]');if(e&&e.hasAttribute("content"))return e.getAttribute("content");var t=document.querySelector("script[nonce]");if(t)return t.nonce||"";return""}());return we}();n&&(t.nonce=n);var r=e===document?document.head:e,i=e===document?r.querySelector("script,link[rel=stylesheet],link[as=style],style"):r.firstChild;r.insertBefore(t,i)}Te.set(e,t),function(e){var t,n=_createForOfIteratorHelper(Re);try{for(n.s();!(t=n.n()).done;){Ie(e,t.value)}}catch(e){n.e(e)}finally{n.f()}}(t)}}function Ie(e,t){var n=e.sheet,r=n.cssRules.length;t.split("}").forEach((function(e,t){(e=e.trim())&&n.insertRule(e+"}",r+t)}))}"undefined"!=typeof document&&Me(document);xe(':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}');var Oe=function(){return _createClass((function e(t){_classCallCheck(this,e),this.drainedOption=t,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}),[{key:"request",value:function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}},{key:"pause",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()}},{key:"resume",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=this.pauseDepths;if(e in n){if(t)delete n[e];else n[e]-=1,n[e]<=0&&delete n[e];this.tryDrain()}}},{key:"isPaused",value:function(){return Object.keys(this.pauseDepths).length}},{key:"tryDrain",value:function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}},{key:"clear",value:function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}},{key:"clearTimeout",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}))},{key:"drained",value:function(){this.drainedOption&&this.drainedOption()}}])}();function Ne(e){e.parentNode&&e.parentNode.removeChild(e)}function He(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(Pe(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function Pe(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function je(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],i=0;i<n.length;i+=1)for(var a=n[i].querySelectorAll(t),o=0;o<a.length;o+=1)r.push(a[o]);return r}var Be=/(top|left|right|bottom|width|height)$/i;function Fe(e,t){for(var n in t)ze(e,n,t[n])}function ze(e,t,n){null==n?e.style[t]="":"number"==typeof n&&Be.test(t)?e.style[t]="".concat(n,"px"):e.style[t]=n}function Ue(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}var We=0;function Le(){return"fc-dom-"+(We+=1)}function Ve(e){e.preventDefault()}function Ge(e,t,n,r){var i=function(e,t){return function(n){var r=He(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,i),function(){e.removeEventListener(t,i)}}var Qe=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function qe(e,t){var n=function(r){t(r),Qe.forEach((function(t){e.removeEventListener(t,n)}))};Qe.forEach((function(t){e.addEventListener(t,n)}))}function Ye(e){return Object.assign({onClick:e},Ze(e))}function Ze(e){return{tabIndex:0,onKeyDown(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var Xe=0;function Je(){return String(Xe+=1)}function Ke(){document.body.classList.add("fc-not-allowed")}function $e(){document.body.classList.remove("fc-not-allowed")}function et(e){e.style.userSelect="none",e.style.webkitUserSelect="none",e.addEventListener("selectstart",Ve)}function tt(e){e.style.userSelect="",e.style.webkitUserSelect="",e.removeEventListener("selectstart",Ve)}function nt(e){e.addEventListener("contextmenu",Ve)}function rt(e){e.removeEventListener("contextmenu",Ve)}function it(e){var t,n,r=[],i=[];for("string"==typeof e?i=e.split(/\s*,\s*/):"function"==typeof e?i=[e]:Array.isArray(e)&&(i=e),t=0;t<i.length;t+=1)"string"==typeof(n=i[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r}function at(e,t,n){var r,i;for(r=0;r<n.length;r+=1)if(i=ot(e,t,n[r]))return i;return 0}function ot(e,t,n){return n.func?n.func(e,t):st(e[n.field],t[n.field])*(n.order||1)}function st(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}function lt(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function ct(e,t,n){return"function"==typeof e?e.apply(void 0,_toConsumableArray(t)):"string"==typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function ut(e,t){return e-t}function dt(e){return e%1==0}function ft(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var ht=["years","months","days","milliseconds"],vt=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function pt(e,t){return"string"==typeof e?function(e){var t=vt.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?gt(e):"number"==typeof e?gt({[t||"milliseconds"]:e}):null}function gt(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function mt(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function yt(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function bt(e){return _t(e)/864e5}function _t(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function Ct(e,t){for(var n=null,r=0;r<ht.length;r+=1){var i=ht[r];if(t[i]){var a=e[i]/t[i];if(!dt(a)||null!==n&&n!==a)return null;n=a}else if(e[i])return null}return n}function Et(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function kt(e,t,n){if(e===t)return!0;var r,i=e.length;if(i!==t.length)return!1;for(r=0;r<i;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}var St=["sun","mon","tue","wed","thu","fri","sat"];function At(e,t){var n=Bt(e);return n[2]+=7*t,Ft(n)}function Dt(e,t){var n=Bt(e);return n[2]+=t,Ft(n)}function wt(e,t){var n=Bt(e);return n[6]+=t,Ft(n)}function Rt(e,t){return Tt(e,t)/7}function Tt(e,t){return(t.valueOf()-e.valueOf())/864e5}function xt(e,t){var n=Ot(e),r=Ot(t);return{years:0,months:0,days:Math.round(Tt(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}function Mt(e,t){var n=It(e,t);return null!==n&&n%7==0?n/7:null}function It(e,t){return Ut(e)===Ut(t)?Math.round(Tt(e,t)):null}function Ot(e){return Ft([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function Nt(e,t,n,r){var i=Ft([t,0,1+Ht(t,n,r)]),a=Ot(e),o=Math.round(Tt(i,a));return Math.floor(o/7)+1}function Ht(e,t,n){var r=7+t-n;return-((7+Ft([e,0,r]).getUTCDay()-t)%7)+r-1}function Pt(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function jt(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function Bt(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function Ft(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,_toConsumableArray(e)))}function zt(e){return!isNaN(e.valueOf())}function Ut(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function Wt(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",Qt(t,!0)))),r}function Lt(e){return e.toISOString().replace(/T.*$/,"")}function Vt(e){return e.toISOString().match(/^\d{4}-\d{2}/)[0]}function Gt(e){return lt(e.getUTCHours(),2)+":"+lt(e.getUTCMinutes(),2)+":"+lt(e.getUTCSeconds(),2)}function Qt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e<0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),a=Math.round(r%60);return t?"".concat(n+lt(i,2),":").concat(lt(a,2)):"GMT".concat(n).concat(i).concat(a?":".concat(lt(a,2)):"")}function qt(e,t,n){var r,i;return function(){for(var a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];if(r){if(!kt(r,o)){n&&n(i);var l=e.apply(this,o);t&&t(l,i)||(i=l)}}else i=e.apply(this,o);return r=o,i}}function Yt(e,t,n){var r,i,a=this;return function(o){if(r){if(!wn(r,o)){n&&n(i);var s=e.call(a,o);t&&t(s,i)||(i=s)}}else i=e.call(a,o);return r=o,i}}var Zt={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Xt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Jt=/\s*([ap])\.?m\.?/i,Kt=/,/g,$t=/\s+/g,en=/\u200e/g,tn=/UTC|GMT/,nn=function(){return _createClass((function e(t){_classCallCheck(this,e);var n={},r={},i=0;for(var a in t)a in Zt?(r[a]=t[a],i=Math.max(Zt[a],i)):(n[a]=t[a],a in Xt&&(i=Math.max(Xt[a],i)));this.standardDateProps=n,this.extendedSettings=r,this.severity=i,this.buildFormattingFunc=qt(rn)}),[{key:"format",value:function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}},{key:"formatRange",value:function(e,t,n,r){var i=this.standardDateProps,a=this.extendedSettings,o=function(e,t,n){if(n.getMarkerYear(e)!==n.getMarkerYear(t))return 5;if(n.getMarkerMonth(e)!==n.getMarkerMonth(t))return 4;if(n.getMarkerDay(e)!==n.getMarkerDay(t))return 2;if(Ut(e)!==Ut(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!o)return this.format(e,n);var s=o;!(s>1)||"numeric"!==i.year&&"2-digit"!==i.year||"numeric"!==i.month&&"2-digit"!==i.month||"numeric"!==i.day&&"2-digit"!==i.day||(s=1);var l=this.format(e,n),c=this.format(t,n);if(l===c)return l;var u=rn(function(e,t){var n={};for(var r in e)(!(r in Xt)||Xt[r]<=t)&&(n[r]=e[r]);return n}(i,s),a,n),d=u(e),f=u(t),h=function(e,t,n,r){var i=0;for(;i<e.length;){var a=e.indexOf(t,i);if(-1===a)break;var o=e.substr(0,a);i=a+t.length;for(var s=e.substr(i),l=0;l<n.length;){var c=n.indexOf(r,l);if(-1===c)break;var u=n.substr(0,c);l=c+r.length;var d=n.substr(l);if(o===u&&s===d)return{before:o,after:s}}}return null}(l,d,c,f),v=a.separator||r||n.defaultSeparator||"";return h?h.before+d+v+f+h.after:l+v+c}},{key:"getLargestUnit",value:function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}])}();function rn(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return Qt(e.timeZoneOffset)}:0===r&&t.week?function(e){return function(e,t,n,r,i){var a=[];"long"===i?a.push(n):"short"!==i&&"narrow"!==i||a.push(t);"long"!==i&&"short"!==i||a.push(" ");a.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&a.reverse();return a.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:function(e,t,n){e=Object.assign({},e),t=Object.assign({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit"));"long"===e.timeZoneName&&(e.timeZoneName="short");t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";var r,i=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var a=Object.assign({},e);delete a.minute,r=new Intl.DateTimeFormat(n.locale.codes,a)}return function(a){var o=a.marker;return function(e,t,n,r,i){e=e.replace(en,""),"short"===n.timeZoneName&&(e=function(e,t){var n=!1;e=e.replace(tn,(function(){return n=!0,t})),n||(e+=" ".concat(t));return e}(e,"UTC"===i.timeZone||null==t.timeZoneOffset?"UTC":Qt(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(Kt,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));!1===r.meridiem?e=e.replace(Jt,"").trim():"narrow"===r.meridiem?e=e.replace(Jt,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(Jt,(function(e,t){return"".concat(t.toLocaleLowerCase(),"m")})):"lowercase"===r.meridiem&&(e=e.replace(Jt,(function(e){return e.toLocaleLowerCase()})));return e=e.replace($t," "),e=e.trim(),e}((r&&!o.getUTCMinutes()?r:i).format(o),a,e,t,n)}}(e,t,n)}function an(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function on(e,t,n,r){var i=an(e,n.calendarSystem);return{date:i,start:i,end:t?an(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var sn=function(){return _createClass((function e(t){_classCallCheck(this,e),this.cmdStr=t}),[{key:"format",value:function(e,t,n){return t.cmdFormatter(this.cmdStr,on(e,null,t,n))}},{key:"formatRange",value:function(e,t,n,r){return n.cmdFormatter(this.cmdStr,on(e,t,n,r))}}])}(),ln=function(){return _createClass((function e(t){_classCallCheck(this,e),this.func=t}),[{key:"format",value:function(e,t,n){return this.func(on(e,null,t,n))}},{key:"formatRange",value:function(e,t,n,r){return this.func(on(e,t,n,r))}}])}();function cn(e){return"object"==typeof e&&e?new nn(e):"string"==typeof e?new sn(e):"function"==typeof e?new ln(e):null}var un={navLinkDayClick:_n,navLinkWeekClick:_n,duration:pt,bootstrapFontAwesome:_n,buttonIcons:_n,customButtons:_n,defaultAllDayEventDuration:pt,defaultTimedEventDuration:pt,nextDayThreshold:pt,scrollTime:pt,scrollTimeReset:Boolean,slotMinTime:pt,slotMaxTime:pt,dayPopoverFormat:cn,slotDuration:pt,snapDuration:pt,headerToolbar:_n,footerToolbar:_n,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:cn,dayHeaderClassNames:_n,dayHeaderContent:_n,dayHeaderDidMount:_n,dayHeaderWillUnmount:_n,dayCellClassNames:_n,dayCellContent:_n,dayCellDidMount:_n,dayCellWillUnmount:_n,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:_n,weekNumbers:Boolean,weekNumberClassNames:_n,weekNumberContent:_n,weekNumberDidMount:_n,weekNumberWillUnmount:_n,editable:Boolean,viewClassNames:_n,viewDidMount:_n,viewWillUnmount:_n,nowIndicator:Boolean,nowIndicatorClassNames:_n,nowIndicatorContent:_n,nowIndicatorDidMount:_n,nowIndicatorWillUnmount:_n,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:_n,locale:_n,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:_n,eventOrder:it,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:_n,contentHeight:_n,direction:String,weekNumberFormat:cn,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:_n,initialDate:_n,now:_n,eventDataTransform:_n,stickyHeaderDates:_n,stickyFooterScrollbar:_n,viewHeight:_n,defaultAllDay:Boolean,eventSourceFailure:_n,eventSourceSuccess:_n,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:_n,eventConstraint:_n,eventAllow:_n,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:_n,eventContent:_n,eventDidMount:_n,eventWillUnmount:_n,selectConstraint:_n,selectOverlap:_n,selectAllow:_n,droppable:Boolean,unselectCancel:String,slotLabelFormat:_n,slotLaneClassNames:_n,slotLaneContent:_n,slotLaneDidMount:_n,slotLaneWillUnmount:_n,slotLabelClassNames:_n,slotLabelContent:_n,slotLabelDidMount:_n,slotLabelWillUnmount:_n,dayMaxEvents:_n,dayMaxEventRows:_n,dayMinWidth:Number,slotLabelInterval:pt,allDayText:String,allDayClassNames:_n,allDayContent:_n,allDayDidMount:_n,allDayWillUnmount:_n,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:cn,rerenderDelay:Number,moreLinkText:_n,moreLinkHint:_n,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:_n,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:pt,hiddenDays:_n,fixedWeekCount:Boolean,validRange:_n,visibleRange:_n,titleFormat:_n,eventInteractive:Boolean,noEventsText:String,viewHint:_n,navLinkHint:_n,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:_n,moreLinkClassNames:_n,moreLinkContent:_n,moreLinkDidMount:_n,moreLinkWillUnmount:_n,monthStartFormat:cn,handleCustomRendering:_n,customRenderingMetaMap:_n,customRenderingReplaces:Boolean},dn={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"}},fn={datesSet:_n,eventsSet:_n,eventAdd:_n,eventChange:_n,eventRemove:_n,windowResize:_n,eventClick:_n,eventMouseEnter:_n,eventMouseLeave:_n,select:_n,unselect:_n,loading:_n,_unmount:_n,_beforeprint:_n,_afterprint:_n,_noEventDrop:_n,_noEventResize:_n,_resize:_n,_scrollRequest:_n},hn={buttonText:_n,buttonHints:_n,views:_n,plugins:_n,initialEvents:_n,events:_n,eventSources:_n},vn={headerToolbar:pn,footerToolbar:pn,buttonText:pn,buttonHints:pn,buttonIcons:pn,dateIncrement:pn,plugins:gn,events:gn,eventSources:gn,resources:gn};function pn(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?wn(e,t):e===t}function gn(e,t){return Array.isArray(e)&&Array.isArray(t)?kt(e,t):e===t}var mn={type:String,component:_n,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:_n,usesMinMaxTime:Boolean,classNames:_n,content:_n,didMount:_n,willUnmount:_n};function yn(e){return En(e,vn)}function bn(e,t){var n={},r={};for(var i in t)i in e&&(n[i]=t[i](e[i]));for(var a in e)a in t||(r[a]=e[a]);return{refined:n,extra:r}}function _n(e){return e}var Cn=Object.prototype.hasOwnProperty;function En(e,t){var n={};if(t)for(var r in t)if(t[r]===pn){for(var i=[],a=e.length-1;a>=0;a-=1){var o=e[a][r];if("object"==typeof o&&o)i.unshift(o);else if(void 0!==o){n[r]=o;break}}i.length&&(n[r]=En(i))}for(var s=e.length-1;s>=0;s-=1){var l=e[s];for(var c in l)c in n||(n[c]=l[c])}return n}function kn(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function Sn(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function An(e){var t,n={},r=_createForOfIteratorHelper(e);try{for(r.s();!(t=r.n()).done;){n[t.value]=!0}}catch(e){r.e(e)}finally{r.f()}return n}function Dn(e){var t=[];for(var n in e)t.push(e[n]);return t}function wn(e,t){if(e===t)return!0;for(var n in e)if(Cn.call(e,n)&&!(n in t))return!1;for(var r in t)if(Cn.call(t,r)&&e[r]!==t[r])return!1;return!0}var Rn=/^on[A-Z]/;function Tn(e,t){var n=[];for(var r in e)Cn.call(e,r)&&(r in t||n.push(r));for(var i in t)Cn.call(t,i)&&e[i]!==t[i]&&n.push(i);return n}function xn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===t)return!0;for(var r in t)if(!(r in e)||!Mn(e[r],t[r],n[r]))return!1;for(var i in e)if(!(i in t))return!1;return!0}function Mn(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function In(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=[];null==n&&(n=Object.keys(e).length);for(var a=t;a<n;a+=r){var o=e[a];void 0!==o&&i.push(o)}return i}var On={};var Nn,Hn=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"getMarkerYear",value:function(e){return e.getUTCFullYear()}},{key:"getMarkerMonth",value:function(e){return e.getUTCMonth()}},{key:"getMarkerDay",value:function(e){return e.getUTCDate()}},{key:"arrayToMarker",value:function(e){return Ft(e)}},{key:"markerToArray",value:function(e){return Bt(e)}}])}();Nn=Hn,On["gregory"]=Nn;var Pn=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function jn(e){var t=Pn.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0.".concat(t[12])):0));if(zt(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}var Bn=function(){return _createClass((function e(t){_classCallCheck(this,e);var n=this.timeZone=t.timeZone,r="local"!==n&&"UTC"!==n;t.namedTimeZoneImpl&&r&&(this.namedTimeZoneImpl=new t.namedTimeZoneImpl(n)),this.canComputeOffset=Boolean(!r||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new On[e]}(t.calendarSystem),this.locale=t.locale,this.weekDow=t.locale.week.dow,this.weekDoy=t.locale.week.doy,"ISO"===t.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof t.firstDay&&(this.weekDow=t.firstDay),"function"==typeof t.weekNumberCalculation&&(this.weekNumberFunc=t.weekNumberCalculation),this.weekText=null!=t.weekText?t.weekText:t.locale.options.weekText,this.weekTextLong=(null!=t.weekTextLong?t.weekTextLong:t.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=t.cmdFormatter,this.defaultSeparator=t.defaultSeparator}),[{key:"createMarker",value:function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker}},{key:"createNowMarker",value:function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):Ft(Pt(new Date))}},{key:"createMarkerMeta",value:function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=Ft(e)),null!==t&&zt(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null}},{key:"parse",value:function(e){var t=jn(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}}},{key:"getYear",value:function(e){return this.calendarSystem.getMarkerYear(e)}},{key:"getMonth",value:function(e){return this.calendarSystem.getMarkerMonth(e)}},{key:"getDay",value:function(e){return this.calendarSystem.getMarkerDay(e)}},{key:"add",value:function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)}},{key:"subtract",value:function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)}},{key:"addYears",value:function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)}},{key:"addMonths",value:function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)}},{key:"diffWholeYears",value:function(e,t){var n=this.calendarSystem;return Ut(e)===Ut(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null}},{key:"diffWholeMonths",value:function(e,t){var n=this.calendarSystem;return Ut(e)===Ut(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null}},{key:"greatestWholeUnit",value:function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:null!==(n=Mt(e,t))?{unit:"week",value:n}:null!==(n=It(e,t))?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),dt(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),dt(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),dt(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()})))}},{key:"countDurationsBetween",value:function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(bt(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/function(e){return bt(e)/30}(n):n.days&&null!==(r=It(e,t))?r/bt(n):(t.valueOf()-e.valueOf())/_t(n)}},{key:"startOf",value:function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?Ot(e):"hour"===t?function(e){return Ft([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return Ft([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return Ft([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null}},{key:"startOfYear",value:function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}},{key:"startOfMonth",value:function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}},{key:"startOfWeek",value:function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}},{key:"computeWeekNumber",value:function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){var r=e.getUTCFullYear(),i=Nt(e,r,t,n);if(i<1)return Nt(e,r-1,t,n);var a=Nt(e,r+1,t,n);return a>=1?Math.min(i,a):i}(e,this.weekDow,this.weekDoy)}},{key:"format",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)}},{key:"formatRange",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return r.isEndExclusive&&(t=wt(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)}},{key:"formatIso",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),Wt(e,n,t.omitTime)}},{key:"timestampToMarker",value:function(e){return"local"===this.timeZone?Ft(Pt(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?Ft(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)}},{key:"offsetForMarker",value:function(e){return"local"===this.timeZone?-jt(Bt(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Bt(e)):null}},{key:"toDate",value:function(e,t){return"local"===this.timeZone?jt(Bt(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(Bt(e))*60):new Date(e.valueOf()-(t||0))}}])}(),Fn=function(){return _createClass((function e(t){_classCallCheck(this,e),this.iconOverrideOption&&this.setIconOverride(t[this.iconOverrideOption])}),[{key:"setIconOverride",value:function(e){var t,n;if("object"==typeof e&&e){for(n in t=Object.assign({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})}},{key:"applyIconOverridePrefix",value:function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e}},{key:"getClass",value:function(e){return this.classes[e]||""}},{key:"getIconClass",value:function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?"".concat(this.baseIconClass," ").concat(n):""}},{key:"getCustomButtonIconClass",value:function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?"".concat(this.baseIconClass," ").concat(this.applyIconOverridePrefix(t)):""}}])}();function zn(e){e();var t=n.debounceRendering,r=[];for(n.debounceRendering=function(e){r.push(e)},z(p(Un,{}),document.createElement("div"));r.length;)r.shift()();n.debounceRendering=t}Fn.prototype.classes={},Fn.prototype.iconClasses={},Fn.prototype.baseIconClass="",Fn.prototype.iconOverridePrefix="";var Un=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){return p("div",{})}},{key:"componentDidMount",value:function(){this.setState({})}}])}(k);function Wn(e){var t=function(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,w(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}(e),n=t.Provider;return t.Provider=function(){var e=this,t=!this.getChildContext,r=n.apply(this,arguments);if(t){var i=[];this.shouldComponentUpdate=function(t){e.props.value!==t.value&&i.forEach((function(e){e.context=t.value,e.forceUpdate()}))},this.sub=function(e){i.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){i.splice(i.indexOf(e),1),t&&t.call(e)}}}return r},t}var Ln=function(){return _createClass((function e(t,n,r,i){var a=this;_classCallCheck(this,e),this.execFunc=t,this.emitter=n,this.scrollTime=r,this.scrollTimeReset=i,this.handleScrollRequest=function(e){a.queuedRequest=Object.assign({},a.queuedRequest||{},e),a.drain()},n.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}),[{key:"detach",value:function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}},{key:"update",value:function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}},{key:"fireInitialScroll",value:function(){this.handleScrollRequest({time:this.scrollTime})}},{key:"drain",value:function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}])}(),Vn=Wn({});function Gn(e,t,n,r,i,a,o,s,l,c,u,d,f){return{dateEnv:i,options:n,pluginHooks:o,emitter:c,dispatch:s,getCurrentData:l,calendarApi:u,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:a,isRtl:"rtl"===n.direction,addResizeHandler(e){c.on("_resize",e)},removeResizeHandler(e){c.off("_resize",e)},createScrollResponder:e=>new Ln(e,c,pt(n.scrollTime),n.scrollTimeReset),registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var Qn=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"shouldComponentUpdate",value:function(e,t){return this.debug&&console.log(Tn(e,this.props),Tn(t,this.state)),!xn(this.props,e,this.propEquality)||!xn(this.state,t,this.stateEquality)}},{key:"safeSetState",value:function(e){xn(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}])}(k);Qn.addPropsEquality=function(e){var t=Object.create(this.prototype.propEquality);Object.assign(t,e),this.prototype.propEquality=t},Qn.addStateEquality=function(e){var t=Object.create(this.prototype.stateEquality);Object.assign(t,e),this.prototype.stateEquality=t},Qn.contextType=Vn,Qn.prototype.propEquality={},Qn.prototype.stateEquality={};var qn=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(Qn);function Yn(e,t){"function"==typeof e?e(t):e&&(e.current=t)}qn.contextType=Vn;var Zn=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).id=Je(),e.queuedDomNodes=[],e.currentDomNodes=[],e.handleEl=function(t){var n=e.context.options,r=e.props.generatorName;n.customRenderingReplaces&&Xn(r,n)||e.updateElRef(t)},e.updateElRef=function(t){e.props.elRef&&Yn(e.props.elRef,t)},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e,t,n=this.props,r=this.context.options,a=n.customGenerator,o=n.defaultGenerator,s=n.renderProps,l=Jn(n,[],this.handleEl),c=!1,u=[];if(null!=a){var d="function"==typeof a?a(s,p):a;if(!0===d)c=!0;else{var f=d&&"object"==typeof d;f&&"html"in d?l.dangerouslySetInnerHTML={__html:d.html}:f&&"domNodes"in d?u=Array.prototype.slice.call(d.domNodes):(f?i(d):"function"!=typeof d)?e=d:t=d}}else c=!Xn(n.generatorName,r);return c&&o&&(e=o(s)),this.queuedDomNodes=u,this.currentGeneratorMeta=t,p(n.elTag,l,e)}},{key:"componentDidMount",value:function(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}},{key:"componentDidUpdate",value:function(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}},{key:"componentWillUnmount",value:function(){this.triggerCustomRendering(!1)}},{key:"triggerCustomRendering",value:function(e){var t,n=this.props,r=this.context.options,i=r.handleCustomRendering,a=r.customRenderingMetaMap;if(i){var o=null!==(t=this.currentGeneratorMeta)&&void 0!==t?t:null==a?void 0:a[n.generatorName];o&&i(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:o},n),{elClasses:(n.elClasses||[]).filter(Kn)}))}}},{key:"applyQueueudDomNodes",value:function(){var e=this.queuedDomNodes,t=this.currentDomNodes,n=this.base;if(!kt(e,t)){t.forEach(Ne);var r,i=_createForOfIteratorHelper(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;n.appendChild(a)}}catch(e){i.e(e)}finally{i.f()}this.currentDomNodes=e}}}])}(qn);function Xn(e,t){var n;return Boolean(t.handleCustomRendering&&e&&(null===(n=t.customRenderingMetaMap)||void 0===n?void 0:n[e]))}function Jn(e,t,n){var r=Object.assign(Object.assign({},e.elAttrs),{ref:n});return(e.elClasses||t)&&(r.className=(e.elClasses||[]).concat(t||[]).concat(r.className||[]).filter(Boolean).join(" ")),e.elStyle&&(r.style=e.elStyle),r}function Kn(e){return Boolean(e)}Zn.addPropsEquality({elClasses:kt,elStyle:wn,elAttrs:function(e,t){var n,r=_createForOfIteratorHelper(Tn(e,t));try{for(r.s();!(n=r.n()).done;){var i=n.value;if(!Rn.test(i))return!1}}catch(e){r.e(e)}finally{r.f()}return!0},renderProps:wn});var $n=Wn(0),er=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).InnerContent=tr.bind(void 0,e),e.handleEl=function(t){e.el=t,e.props.elRef&&(Yn(e.props.elRef,t),t&&e.didMountMisfire&&e.componentDidMount())},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e,t,n,r=this.props,i=(e=r.classNameGenerator,t=r.renderProps,"string"==typeof(n="function"==typeof e?e(t):e||[])?[n]:n);if(r.children){var a=Jn(r,i,this.handleEl),o=r.children(this.InnerContent,r.renderProps,a);return r.elTag?p(r.elTag,a,o):o}return p(Zn,Object.assign(Object.assign({},r),{elRef:this.handleEl,elTag:r.elTag||"div",elClasses:(r.elClasses||[]).concat(i),renderId:this.context}))}},{key:"componentDidMount",value:function(){var e,t;this.el?null===(t=(e=this.props).didMount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}},{key:"componentWillUnmount",value:function(){var e,t;null===(t=(e=this.props).willUnmount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}])}(k);function tr(e,t){var n=e.props;return p(Zn,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:e.context},t))}er.contextType=$n;var nr=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi};return p(er,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[].concat(_toConsumableArray(rr(e.viewSpec)),_toConsumableArray(e.elClasses||[])),renderProps:r,classNameGenerator:n.viewClassNames,generatorName:void 0,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount}),(function(){return e.children}))}}])}(qn);function rr(e){return["fc-".concat(e.type,"-view"),"fc-view"]}function ir(e,t){var n,r,i=[],a=t.start;for(e.sort(ar),n=0;n<e.length;n+=1)(r=e[n]).start>a&&i.push({start:a,end:r.start}),r.end>a&&(a=r.end);return a<t.end&&i.push({start:a,end:t.end}),i}function ar(e,t){return e.start.valueOf()-t.start.valueOf()}function or(e,t){var n=e.start,r=e.end,i=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(i={start:n,end:r}),i}function sr(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function lr(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function cr(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function ur(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function dr(e){var t=Math.floor(Tt(e.start,e.end))||1,n=Ot(e.start);return{start:n,end:Dt(n,t)}}function fr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pt(0),n=null,r=null;if(e.end){r=Ot(e.end);var i=e.end.valueOf()-r.valueOf();i&&i>=_t(t)&&(r=Dt(r,1))}return e.start&&(n=Ot(e.start),r&&r<=n&&(r=Dt(n,1))),{start:n,end:r}}function hr(e){var t=fr(e);return Tt(t.start,t.end)>1}function vr(e,t,n,r){return"year"===r?pt(n.diffWholeYears(e,t),"year"):"month"===r?pt(n.diffWholeMonths(e,t),"month"):xt(e,t)}function pr(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var gr=function(){return _createClass((function e(t){_classCallCheck(this,e),this.props=t,this.nowDate=pr(t.nowInput,t.dateEnv),this.initHiddenDays()}),[{key:"buildPrev",value:function(e,t,n){var r=this.props.dateEnv,i=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,-1,n)}},{key:"buildNext",value:function(e,t,n){var r=this.props.dateEnv,i=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,1,n)}},{key:"build",value:function(e,t){var n,r,i,a,o,s,l,c,u=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],d=this.props;return n=this.buildValidRange(),n=this.trimHiddenDays(n),u&&(l=e,e=null!=(c=n).start&&l<c.start?c.start:null!=c.end&&l>=c.end?new Date(c.end.valueOf()-1):l),r=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(r.unit),a=this.buildRenderRange(this.trimHiddenDays(r.range),r.unit,i),o=a=this.trimHiddenDays(a),d.showNonCurrentDates||(o=or(o,r.range)),o=or(o=this.adjustActiveRange(o),n),s=lr(r.range,n),ur(a,e)||(e=a.start),{currentDate:e,validRange:n,currentRange:r.range,currentRangeUnit:r.unit,isRangeAllDay:i,activeRange:o,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:s,dateIncrement:this.buildDateIncrement(r.duration)}}},{key:"buildValidRange",value:function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}}},{key:"buildCurrentRangeInfo",value:function(e,t){var n,r=this.props,i=null,a=null,o=null;return r.duration?(i=r.duration,a=r.durationUnit,o=this.buildRangeFromDuration(e,t,i,a)):(n=this.props.dayCount)?(a="day",o=this.buildRangeFromDayCount(e,t,n)):(o=this.buildCustomVisibleRange(e))?a=r.dateEnv.greatestWholeUnit(o.start,o.end).unit:(a=Et(i=this.getFallbackDuration()).unit,o=this.buildRangeFromDuration(e,t,i,a)),{duration:i,unit:a,range:o}}},{key:"getFallbackDuration",value:function(){return pt({day:1})}},{key:"adjustActiveRange",value:function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,i=t.slotMinTime,a=t.slotMaxTime,o=e.start,s=e.end;return r&&(bt(i)<0&&(o=Ot(o),o=n.add(o,i)),bt(a)>1&&(s=Dt(s=Ot(s),-1),s=n.add(s,a))),{start:o,end:s}}},{key:"buildRangeFromDuration",value:function(e,t,n,r){var i,a,o,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&_t(u)<_t(n)?Et(u).unit:r}function d(){i=l.startOf(e,c),a=l.add(i,n),o={start:i,end:a}}return bt(n)<=1&&this.isHiddenDay(i)&&(i=Ot(i=this.skipHiddenDays(i,t))),d(),this.trimHiddenDays(o)||(e=this.skipHiddenDays(e,t),d()),o}},{key:"buildRangeFromDayCount",value:function(e,t,n){var r,i=this.props,a=i.dateEnv,o=i.dateAlignment,s=0,l=e;o&&(l=a.startOf(l,o)),l=Ot(l),r=l=this.skipHiddenDays(l,t);do{r=Dt(r,1),this.isHiddenDay(r)||(s+=1)}while(s<n);return{start:l,end:r}}},{key:"buildCustomVisibleRange",value:function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,i=this.refineRange(r);return!i||null!=i.start&&null!=i.end?i:null}},{key:"buildRenderRange",value:function(e,t,n){return e}},{key:"buildDateIncrement",value:function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?pt(1,t):e||pt({days:1}))}},{key:"refineRange",value:function(e){if(e){var t=(n=e,r=this.props.dateEnv,i=null,a=null,n.start&&(i=r.createMarker(n.start)),n.end&&(a=r.createMarker(n.end)),i||a?i&&a&&a<i?null:{start:i,end:a}:null);return t&&(t=fr(t)),t}var n,r,i,a;return null}},{key:"initHiddenDays",value:function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n}},{key:"trimHiddenDays",value:function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null}},{key:"isHiddenDay",value:function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}},{key:"skipHiddenDays",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=Dt(e,t);return e}}])}();function mr(e,t,n,r){return{instanceId:Je(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}function yr(e,t,n){var r=n.dateEnv,i=n.pluginHooks,a=n.options,o=e.defs,s=e.instances;for(var l in s=kn(s,(function(e){return!o[e.defId].recurringDef})),o){var c=o[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?a.defaultAllDayEventDuration:a.defaultTimedEventDuration);var d,f=_createForOfIteratorHelper(br(c,u,t,r,i.recurringTypes));try{for(f.s();!(d=f.n()).done;){var h=d.value,v=mr(l,{start:h,end:r.add(h,u)});s[v.instanceId]=v}}catch(e){f.e(e)}finally{f.f()}}}return{defs:o,instances:s}}function br(e,t,n,r,i){var a=i[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(a=a.map(Ot)),a}var _r={id:String,groupId:String,title:String,url:String,interactive:Boolean},Cr={start:_n,end:_n,date:_n,allDay:Boolean},Er=Object.assign(Object.assign(Object.assign({},_r),Cr),{extendedProps:_n});function kr(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Ar(n),a=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,s=Sr(e,n,i),l=s.refined,c=s.extra,u=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),d=function(e,t,n,r){for(var i=0;i<r.length;i+=1){var a=r[i].parse(e,n);if(a){var o=e.allDay;return null==o&&null==(o=t)&&null==(o=a.allDayGuess)&&(o=!1),{allDay:o,duration:a.duration,typeData:a.typeData,typeId:i}}}return null}(l,u,n.dateEnv,n.pluginHooks.recurringTypes);if(d){var f=Dr(l,c,t?t.sourceId:"",d.allDay,Boolean(d.duration),n,a);return f.recurringDef={typeId:d.typeId,typeData:d.typeData,duration:d.duration},{def:f,instance:null}}var h=function(e,t,n,r){var i,a,o=e.allDay,s=null,l=!1,c=null,u=null!=e.start?e.start:e.date;if(i=n.dateEnv.createMarkerMeta(u),i)s=i.marker;else if(!r)return null;null!=e.end&&(a=n.dateEnv.createMarkerMeta(e.end));null==o&&(o=null!=t?t:(!i||i.isTimeUnspecified)&&(!a||a.isTimeUnspecified));o&&s&&(s=Ot(s));a&&(c=a.marker,o&&(c=Ot(c)),s&&c<=s&&(c=null));c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,o?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:o,hasEnd:l,range:{start:s,end:c},forcedStartTzo:i?i.forcedTzo:null,forcedEndTzo:a?a.forcedTzo:null}}(l,u,n,r);if(h){var v=Dr(l,c,t?t.sourceId:"",h.allDay,h.hasEnd,n,a),p=mr(v.defId,h.range,h.forcedStartTzo,h.forcedEndTzo);return o&&v.publicId&&o[v.publicId]&&(p.instanceId=o[v.publicId]),{def:v,instance:p}}return null}function Sr(e,t){return bn(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ar(t))}function Ar(e){return Object.assign(Object.assign(Object.assign({},Nr),Er),e.pluginHooks.eventRefiners)}function Dr(e,t,n,r,i,a,o){var s,l={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:(o&&e.id?o[e.id]:"")||Je(),sourceId:n,allDay:r,hasEnd:i,interactive:e.interactive,ui:Pr(e,a),extendedProps:Object.assign(Object.assign({},e.extendedProps||{}),t)},c=_createForOfIteratorHelper(a.pluginHooks.eventDefMemberAdders);try{for(c.s();!(s=c.n()).done;){var u=s.value;Object.assign(l,u(e))}}catch(e){c.e(e)}finally{c.f()}return Object.freeze(l.ui.classNames),Object.freeze(l.extendedProps),l}function wr(e,t,n,r,i,a){var o,s={defs:{},instances:{}},l=Ar(n),c=_createForOfIteratorHelper(e);try{for(c.s();!(o=c.n()).done;){var u=kr(o.value,t,n,r,l,i,a);u&&Rr(u,s)}}catch(e){c.e(e)}finally{c.f()}return s}function Rr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{defs:{},instances:{}};return t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function Tr(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],i=Ir(e,(function(e){return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId);var t,n}));return i.defs[r.defId]=r,i.instances[n.instanceId]=n,i}return{defs:{},instances:{}}}function xr(){return{defs:{},instances:{}}}function Mr(e,t){return{defs:Object.assign(Object.assign({},e.defs),t.defs),instances:Object.assign(Object.assign({},e.instances),t.instances)}}function Ir(e,t){var n=kn(e.defs,t),r=kn(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function Or(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var Nr={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:_n,overlap:_n,allow:_n,className:Or,classNames:Or,color:String,backgroundColor:String,borderColor:String,textColor:String},Hr={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Pr(e,t){var n=function(e,t){return Array.isArray(e)?wr(e,null,t,!0):"object"==typeof e&&e?wr([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function jr(e){return e.reduce(Br,Hr)}function Br(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var Fr={id:String,defaultAllDay:Boolean,url:String,format:String,events:_n,eventDataTransform:_n,success:_n,failure:_n};function zr(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ur(t);if("string"==typeof e?n={url:e}:"function"==typeof e||Array.isArray(e)?n={events:e}:"object"==typeof e&&e&&(n=e),n){var i=bn(n,r),a=i.refined,o=i.extra,s=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var i=n[r].parseMeta(e);if(i)return{sourceDefId:r,meta:i}}return null}(a,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:a.defaultAllDay,eventDataTransform:a.eventDataTransform,success:a.success,failure:a.failure,publicId:a.id||"",sourceId:Je(),sourceDefId:s.sourceDefId,meta:s.meta,ui:Pr(a,t),extendedProps:o}}return null}function Ur(e){return Object.assign(Object.assign(Object.assign({},Nr),Fr),e.pluginHooks.eventSourceRefiners)}function Wr(e,t,n,r,i){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,i,a){if(t&&n===t.latestFetchId){var o=wr(Lr(i,t,a),t,a);return r&&(o=yr(o,r,a)),Mr(Qr(e,t.sourceId),o)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,i);case"RESET_RAW_EVENTS":return function(e,t,n,r,i){var a=function(e){var t=e.defs,n=e.instances,r={},i={};for(var a in t){var o=t[a].publicId;o&&(r[o]=a)}for(var s in n){var l=t[n[s].defId].publicId;l&&(i[l]=s)}return{defIdMap:r,instanceIdMap:i}}(e),o=a.defIdMap,s=a.instanceIdMap,l=wr(Lr(n,t,i),t,i,!1,o,s);return yr(l,r,i)}(e,n[t.sourceId],t.rawEvents,r.activeRange,i);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=yr(t,n,r));return Mr(e,t)}(e,t.eventStore,r?r.activeRange:null,i);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return Mr(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?yr(e,r.activeRange,i):e;case"REMOVE_EVENTS":return function(e,t){var n=e.defs,r=e.instances,i={},a={};for(var o in n)t.defs[o]||(i[o]=n[o]);for(var s in r)!t.instances[s]&&i[r[s].defId]&&(a[s]=r[s]);return{defs:i,instances:a}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return Qr(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Ir(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function Lr(e,t,n){var r=n.options.eventDataTransform,i=t?t.eventDataTransform:null;return i&&(e=Vr(e,i)),r&&(e=Vr(e,r)),e}function Vr(e,t){var n;if(t){n=[];var r,i=_createForOfIteratorHelper(e);try{for(i.s();!(r=i.n()).done;){var a=r.value,o=t(a);o?n.push(o):null==o&&n.push(a)}}catch(e){i.e(e)}finally{i.f()}}else n=e;return n}function Gr(e,t,n){var r=e.defs,i=Sn(e.instances,(function(e){return r[e.defId].allDay?e:Object.assign(Object.assign({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})}));return{defs:r,instances:i}}function Qr(e,t){return Ir(e,(function(e){return e.sourceId!==t}))}var qr=function(){return _createClass((function e(){_classCallCheck(this,e),this.handlers={},this.thisContext=null}),[{key:"setThisContext",value:function(e){this.thisContext=e}},{key:"setOptions",value:function(e){this.options=e}},{key:"on",value:function(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)}},{key:"off",value:function(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(this.handlers,e,t)}},{key:"trigger",value:function(e){for(var t=this.handlers[e]||[],n=this.options&&this.options[e],r=[].concat(n||[],t),i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];var s,l=_createForOfIteratorHelper(r);try{for(l.s();!(s=l.n()).done;){s.value.apply(this.thisContext,a)}}catch(e){l.e(e)}finally{l.f()}}},{key:"hasHandlers",value:function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}])}();var Yr={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Zr(e,t){return wr(function(e){var t;t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[];return t=t.map((function(e){return Object.assign(Object.assign({},Yr),e)}))}(e),null,t)}function Xr(e,t,n){n.emitter.trigger("select",Object.assign(Object.assign({},Jr(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function Jr(e,t){var n,r,i,a={},o=_createForOfIteratorHelper(t.pluginHooks.dateSpanTransforms);try{for(o.s();!(n=o.n()).done;){var s=n.value;Object.assign(a,s(e,t))}}catch(e){o.e(e)}finally{o.f()}return Object.assign(a,(r=e,i=t.dateEnv,Object.assign(Object.assign({},Di(r.range,i,r.allDay)),{allDay:r.allDay}))),a}function Kr(e,t,n){var r=n.dateEnv,i=n.options,a=t;return e?(a=Ot(a),a=r.add(a,i.defaultAllDayEventDuration)):a=r.add(a,i.defaultTimedEventDuration),a}function $r(e,t,n,r){var i=ui(e.defs,t),a={defs:{},instances:{}};for(var o in e.defs){var s=e.defs[o];a.defs[o]=ei(s,i[o],n,r)}for(var l in e.instances){var c=e.instances[l],u=a.defs[c.defId];a.instances[l]=ti(c,u,i[c.defId],n,r)}return a}function ei(e,t,n,r){var i=n.standardProps||{};null==i.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(i.hasEnd=!0);var a=Object.assign(Object.assign(Object.assign({},e),i),{ui:Object.assign(Object.assign({},e.ui),i.ui)});n.extendedProps&&(a.extendedProps=Object.assign(Object.assign({},a.extendedProps),n.extendedProps));var o,s=_createForOfIteratorHelper(r.pluginHooks.eventDefMutationAppliers);try{for(s.s();!(o=s.n()).done;){(0,o.value)(a,n,r)}}catch(e){s.e(e)}finally{s.f()}return!a.hasEnd&&r.options.forceEventDuration&&(a.hasEnd=!0),a}function ti(e,t,n,r,i){var a=i.dateEnv,o=r.standardProps&&!0===r.standardProps.allDay,s=r.standardProps&&!1===r.standardProps.hasEnd,l=Object.assign({},e);return o&&(l.range=dr(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:a.add(l.range.start,r.datesDelta),end:a.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:a.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:a.add(l.range.end,r.endDelta)}),s&&(l.range={start:l.range.start,end:Kr(t.allDay,l.range.start,i)}),t.allDay&&(l.range={start:Ot(l.range.start),end:Ot(l.range.end)}),l.range.end<l.range.start&&(l.range.end=Kr(t.allDay,l.range.start,i)),l}var ni=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.context=t,this.internalEventSource=n}),[{key:"remove",value:function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}},{key:"refetch",value:function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}},{key:"id",get:function(){return this.internalEventSource.publicId}},{key:"url",get:function(){return this.internalEventSource.meta.url}},{key:"format",get:function(){return this.internalEventSource.meta.format}}])}(),ri=function(){function e(t,n,r){_classCallCheck(this,e),this._context=t,this._def=n,this._instance=r||null}return _createClass(e,[{key:"setProp",value:function(e,t){if(e in Cr);else if("id"===e)t=_r[e](t),this.mutate({standardProps:{publicId:t}});else if(e in _r)t=_r[e](t),this.mutate({standardProps:{[e]:t}});else if(e in Nr){var n=Nr[e](t);n="color"===e?{backgroundColor:t,borderColor:t}:"editable"===e?{startEditable:t,durationEditable:t}:{[e]:t},this.mutate({standardProps:{ui:n}})}else"Could not set prop '".concat(e,"'. Use setExtendedProp instead.")}},{key:"setExtendedProp",value:function(e,t){this.mutate({extendedProps:{[e]:t}})}},{key:"setStart",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var i=vr(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:i}):this.mutate({startDelta:i})}}},{key:"setEnd",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this._context.dateEnv;if((null==e||(t=r.createMarker(e)))&&this._instance)if(t){var i=vr(this._instance.range.end,t,r,n.granularity);this.mutate({endDelta:i})}else this.mutate({standardProps:{hasEnd:!1}})}},{key:"setDates",value:function(e,t){var n,r,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this._context.dateEnv,s={allDay:a.allDay},l=o.createMarker(e);if(l&&((null==t||(n=o.createMarker(t)))&&this._instance)){var c=this._instance.range;!0===a.allDay&&(c=dr(c));var u=vr(c.start,l,o,a.granularity);if(n){var d=vr(c.end,n,o,a.granularity);i=d,(r=u).years===i.years&&r.months===i.months&&r.days===i.days&&r.milliseconds===i.milliseconds?this.mutate({datesDelta:u,standardProps:s}):this.mutate({startDelta:u,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:u,standardProps:s})}}},{key:"moveStart",value:function(e){var t=pt(e);t&&this.mutate({startDelta:t})}},{key:"moveEnd",value:function(e){var t=pt(e);t&&this.mutate({endDelta:t})}},{key:"moveDates",value:function(e){var t=pt(e);t&&this.mutate({datesDelta:t})}},{key:"setAllDay",value:function(e){var t={allDay:e},n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).maintainDuration;null==n&&(n=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(t.hasEnd=n),this.mutate({standardProps:t})}},{key:"formatRange",value:function(e){var t=this._context.dateEnv,n=this._instance,r=cn(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})}},{key:"mutate",value:function(t){var n=this._instance;if(n){var r=this._def,i=this._context,a=i.getCurrentData().eventStore,o=Tr(a,n.instanceId);o=$r(o,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,i);var s=new e(i,r,n);this._def=o.defs[r.defId],this._instance=o.instances[n.instanceId],i.dispatch({type:"MERGE_EVENTS",eventStore:o}),i.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:ai(o,i,n),revert(){i.dispatch({type:"RESET_EVENTS",eventStore:a})}})}}},{key:"remove",value:function(){var e=this._context,t=ii(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}},{key:"source",get:function(){var e=this._def.sourceId;return e?new ni(this._context,this._context.getCurrentData().eventSources[e]):null}},{key:"start",get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}},{key:"end",get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}},{key:"startStr",get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}},{key:"endStr",get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""}},{key:"id",get:function(){return this._def.publicId}},{key:"groupId",get:function(){return this._def.groupId}},{key:"allDay",get:function(){return this._def.allDay}},{key:"title",get:function(){return this._def.title}},{key:"url",get:function(){return this._def.url}},{key:"display",get:function(){return this._def.ui.display||"auto"}},{key:"startEditable",get:function(){return this._def.ui.startEditable}},{key:"durationEditable",get:function(){return this._def.ui.durationEditable}},{key:"constraint",get:function(){return this._def.ui.constraints[0]||null}},{key:"overlap",get:function(){return this._def.ui.overlap}},{key:"allow",get:function(){return this._def.ui.allows[0]||null}},{key:"backgroundColor",get:function(){return this._def.ui.backgroundColor}},{key:"borderColor",get:function(){return this._def.ui.borderColor}},{key:"textColor",get:function(){return this._def.ui.textColor}},{key:"classNames",get:function(){return this._def.ui.classNames}},{key:"extendedProps",get:function(){return this._def.extendedProps}},{key:"toPlainObject",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._def,n=t.ui,r=this.startStr,i=this.endStr,a={allDay:t.allDay};return t.title&&(a.title=t.title),r&&(a.start=r),i&&(a.end=i),t.publicId&&(a.id=t.publicId),t.groupId&&(a.groupId=t.groupId),t.url&&(a.url=t.url),n.display&&"auto"!==n.display&&(a.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?a.color=n.backgroundColor:(n.backgroundColor&&(a.backgroundColor=n.backgroundColor),n.borderColor&&(a.borderColor=n.borderColor)),n.textColor&&(a.textColor=n.textColor),n.classNames.length&&(a.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?Object.assign(a,t.extendedProps):a.extendedProps=t.extendedProps),a}},{key:"toJSON",value:function(){return this.toPlainObject()}}])}();function ii(e){var t=e._def,n=e._instance;return{defs:{[t.defId]:t},instances:n?{[n.instanceId]:n}:{}}}function ai(e,t,n){var r=e.defs,i=e.instances,a=[],o=n?n.instanceId:"";for(var s in i){var l=i[s],c=r[l.defId];l.instanceId!==o&&a.push(new ri(t,c,l))}return a}function oi(e,t,n,r){var i={},a={},o={},s=[],l=[],c=ui(e.defs,t);for(var u in e.defs){var d=e.defs[u];"inverse-background"===c[d.defId].display&&(d.groupId?(i[d.groupId]=[],o[d.groupId]||(o[d.groupId]=d)):a[u]=[])}for(var f in e.instances){var h=e.instances[f],v=e.defs[h.defId],p=c[v.defId],g=h.range,m=!v.allDay&&r?fr(g,r):g,y=or(m,n);y&&("inverse-background"===p.display?v.groupId?i[v.groupId].push(y):a[h.defId].push(y):"none"!==p.display&&("background"===p.display?s:l).push({def:v,ui:p,instance:h,range:y,isStart:m.start&&m.start.valueOf()===y.start.valueOf(),isEnd:m.end&&m.end.valueOf()===y.end.valueOf()}))}for(var b in i){var _,C=_createForOfIteratorHelper(ir(i[b],n));try{for(C.s();!(_=C.n()).done;){var E=_.value,k=o[b],S=c[k.defId];s.push({def:k,ui:S,instance:null,range:E,isStart:!1,isEnd:!1})}}catch(e){C.e(e)}finally{C.f()}}for(var A in a){var D,w=_createForOfIteratorHelper(ir(a[A],n));try{for(w.s();!(D=w.n()).done;){var R=D.value;s.push({def:e.defs[A],ui:c[A],instance:null,range:R,isStart:!1,isEnd:!1})}}catch(e){w.e(e)}finally{w.f()}}return{bg:s,fg:l}}function si(e){return"background"===e.ui.display||"inverse-background"===e.ui.display}function li(e,t){e.fcSeg=t}function ci(e){return e.fcSeg||e.parentNode.fcSeg||null}function ui(e,t){return Sn(e,(function(e){return di(e,t)}))}function di(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),jr(n)}function fi(e,t){var n=e.map(hi);return n.sort((function(e,n){return at(e,n,t)})),n.map((function(e){return e._seg}))}function hi(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,i=r.start?r.start.valueOf():0,a=r.end?r.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:i,end:a,duration:a-i,allDay:Number(n.allDay),_seg:e})}function vi(e,t){var n,r=t.pluginHooks.isDraggableTransformers,i=e.eventRange,a=i.def,o=i.ui,s=o.startEditable,l=_createForOfIteratorHelper(r);try{for(l.s();!(n=l.n()).done;){s=(0,n.value)(s,a,o,t)}}catch(e){l.e(e)}finally{l.f()}return s}function pi(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function gi(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function mi(e,t,n,r,i,a,o){var s=n.dateEnv,l=n.options,c=l.displayEventTime,u=l.displayEventEnd,d=e.eventRange.def,f=e.eventRange.instance;null==c&&(c=!1!==r),null==u&&(u=!1!==i);var h=f.range.start,v=f.range.end,p=a||e.start||e.eventRange.range.start,g=o||e.end||e.eventRange.range.end,m=Ot(h).valueOf()===Ot(p).valueOf(),y=Ot(wt(v,-1)).valueOf()===Ot(wt(g,-1)).valueOf();return c&&!d.allDay&&(m||y)?(p=m?h:p,g=y?v:g,u&&d.hasEnd?s.formatRange(p,g,t,{forcedStartTzo:a?null:f.forcedStartTzo,forcedEndTzo:o?null:f.forcedEndTzo}):s.format(p,t,{forcedTzo:a?null:f.forcedStartTzo})):""}function yi(e,t,n){var r=e.eventRange.range;return{isPast:r.end<=(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&ur(t,r.start)}}function bi(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function _i(e){return e.instance?e.instance.instanceId:"".concat(e.def.defId,":").concat(e.range.start.toISOString())}function Ci(e,t){var n=e.eventRange,r=n.def,i=n.instance,a=r.url;if(a)return{href:a};var o=t.emitter,s=t.options.eventInteractive;return null==s&&null==(s=r.interactive)&&(s=Boolean(o.hasHandlers("eventClick"))),s?Ze((function(e){o.trigger("eventClick",{el:e.target,event:new ri(t,r,i),jsEvent:e,view:t.viewApi})})):{}}var Ei={start:_n,end:_n,allDay:Boolean};function ki(e,t,n){var r=function(e,t){var n=bn(e,Ei),r=n.refined,i=n.extra,a=r.start?t.createMarkerMeta(r.start):null,o=r.end?t.createMarkerMeta(r.end):null,s=r.allDay;null==s&&(s=a&&a.isTimeUnspecified&&(!o||o.isTimeUnspecified));return Object.assign({range:{start:a?a.marker:null,end:o?o.marker:null},allDay:s},i)}(e,t),i=r.range;if(!i.start)return null;if(!i.end){if(null==n)return null;i.end=t.add(i.start,n)}return r}function Si(e,t){return sr(e.range,t.range)&&e.allDay===t.allDay&&function(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var r in e)if(!(r in t))return!1;return!0}(e,t)}function Ai(e,t,n){return Object.assign(Object.assign({},Di(e,t,n)),{timeZone:t.timeZone})}function Di(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function wi(e,t,n){var r=!1,i=function(e){r||(r=!0,t(e))},a=function(e){r||(r=!0,n(e))},o=e(i,a);o&&"function"==typeof o.then&&o.then(i,a)}var Ri,Ti=function(){function e(t,n){var r;return _classCallCheck(this,e),(r=_callSuper(this,e,[t])).response=n,r}return _inherits(e,_wrapNativeSuper(Error)),_createClass(e)}();function xi(e,t,n){var r={method:e=e.toUpperCase()};return"GET"===e?t+=(-1===t.indexOf("?")?"?":"&")+new URLSearchParams(n):(r.body=new URLSearchParams(n),r.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(t,r).then((function(e){if(e.ok)return e.json().then((function(t){return[t,e]}),(function(){throw new Ti("Failure parsing JSON",e)}));throw new Ti("Request failed",e)}))}function Mi(){return null==Ri&&(Ri=function(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),Ri}var Ii=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).state={forPrint:!1},e.handleBeforePrint=function(){zn((function(){e.setState({forPrint:!0})}))},e.handleAfterPrint=function(){zn((function(){e.setState({forPrint:!1})}))},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,i=r||null==t.height?"":t.height,a=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-".concat(t.direction),e.theme.getClass("root")];return Mi()||a.push("fc-liquid-hack"),e.children(a,i,r,n)}},{key:"componentDidMount",value:function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}},{key:"componentWillUnmount",value:function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}])}(qn),Oi=function(){return _createClass((function e(t){_classCallCheck(this,e),this.component=t.component,this.isHitComboAllowed=t.isHitComboAllowed||null}),[{key:"destroy",value:function(){}}])}();function Ni(e){return{[e.component.uid]:e}}var Hi={},Pi=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"getCurrentData",value:function(){return this.currentDataManager.getCurrentData()}},{key:"dispatch",value:function(e){this.currentDataManager.dispatch(e)}},{key:"view",get:function(){return this.getCurrentData().viewApi}},{key:"batchRendering",value:function(e){e()}},{key:"updateSize",value:function(){this.trigger("_resize",!0)}},{key:"setOption",value:function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}},{key:"getOption",value:function(e){return this.currentDataManager.currentCalendarOptionsInput[e]}},{key:"getAvailableLocaleCodes",value:function(){return Object.keys(this.getCurrentData().availableRawLocales)}},{key:"on",value:function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):"Unknown listener name '".concat(e,"'")}},{key:"off",value:function(e,t){this.currentDataManager.emitter.off(e,t)}},{key:"trigger",value:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(t=this.currentDataManager.emitter).trigger.apply(t,[e].concat(r))}},{key:"changeView",value:function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))}},{key:"zoomTo",value:function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}},{key:"getUnitViewSpec",value:function(e){var t,n,r=this.getCurrentData(),i=r.viewSpecs,a=r.toolbarConfig,o=[].concat(a.header?a.header.viewsWithButtons:[],a.footer?a.footer.viewsWithButtons:[]);for(var s in i)o.push(s);for(t=0;t<o.length;t+=1)if((n=i[o[t]])&&n.singleUnit===e)return n;return null}},{key:"prev",value:function(){this.unselect(),this.dispatch({type:"PREV"})}},{key:"next",value:function(){this.unselect(),this.dispatch({type:"NEXT"})}},{key:"prevYear",value:function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}},{key:"nextYear",value:function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}},{key:"today",value:function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:pr(e.calendarOptions.now,e.dateEnv)})}},{key:"gotoDate",value:function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})}},{key:"incrementDate",value:function(e){var t=this.getCurrentData(),n=pt(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))}},{key:"getDate",value:function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}},{key:"formatDate",value:function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),cn(t))}},{key:"formatRange",value:function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),cn(n),n)}},{key:"formatIso",value:function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})}},{key:"select",value:function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),i=ki(n,r.dateEnv,pt({days:1}));i&&(this.dispatch({type:"SELECT_DATES",selection:i}),Xr(i,null,r))}},{key:"unselect",value:function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))}},{key:"addEvent",value:function(e,t){if(e instanceof ri){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Rr({def:n,instance:r})}),this.triggerEventAdd(e)),e}var i,a=this.getCurrentData();if(t instanceof ni)i=t.internalEventSource;else if("boolean"==typeof t){if(t)i=_slicedToArray(Dn(a.eventSources),1)[0]}else if(null!=t){var o=this.getEventSourceById(t);if(!o)return'Could not find an event source with ID "'.concat(t,'"'),null;i=o.internalEventSource}var s=kr(e,i,a,!1);if(s){var l=new ri(a,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Rr(s)}),this.triggerEventAdd(l),l}return null}},{key:"triggerEventAdd",value:function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:ii(e)})}})}},{key:"getEventById",value:function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,i=n.instances;for(var a in e=String(e),r){var o=r[a];if(o.publicId===e){if(o.recurringDef)return new ri(t,o,null);for(var s in i){var l=i[s];if(l.defId===o.defId)return new ri(t,o,l)}}}return null}},{key:"getEvents",value:function(){var e=this.getCurrentData();return ai(e.eventStore,e)}},{key:"removeAllEvents",value:function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}},{key:"getEventSources",value:function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new ni(e,t[r]));return n}},{key:"getEventSourceById",value:function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new ni(t,n[r]);return null}},{key:"addEventSource",value:function(e){var t=this.getCurrentData();if(e instanceof ni)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=zr(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new ni(t,n)):null}},{key:"removeAllEventSources",value:function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}},{key:"refetchEvents",value:function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}},{key:"scrollToTime",value:function(e){var t=pt(e);t&&this.trigger("_scrollRequest",{time:t})}}])}();function ji(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function Bi(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function Fi(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function zi(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function Ui(e,t){return{left:e.left-t.left,top:e.top-t.top}}var Wi={defs:{},instances:{}},Li=function(){return _createClass((function e(){_classCallCheck(this,e),this.getKeysForEventDefs=qt(this._getKeysForEventDefs),this.splitDateSelection=qt(this._splitDateSpan),this.splitEventStore=qt(this._splitEventStore),this.splitIndividualUi=qt(this._splitIndividualUi),this.splitEventDrag=qt(this._splitInteraction),this.splitEventResize=qt(this._splitInteraction),this.eventUiBuilders={}}),[{key:"splitProps",value:function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),i=this.splitDateSelection(e.dateSelection),a=this.splitIndividualUi(e.eventUiBases,r),o=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),c={};for(var u in this.eventUiBuilders=Sn(n,(function(e,n){return t.eventUiBuilders[n]||qt(Vi)})),n){var d=n[u],f=o[u]||Wi,h=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||e.businessHours,dateSelection:i[u]||null,eventStore:f,eventUiBases:h(e.eventUiBases[""],d.ui,a[u]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c}},{key:"_splitDateSpan",value:function(e){var t={};if(e){var n,r=_createForOfIteratorHelper(this.getKeysForDateSpan(e));try{for(r.s();!(n=r.n()).done;){t[n.value]=e}}catch(e){r.e(e)}finally{r.f()}}return t}},{key:"_getKeysForEventDefs",value:function(e){var t=this;return Sn(e.defs,(function(e){return t.getKeysForEventDef(e)}))}},{key:"_splitEventStore",value:function(e,t){var n=e.defs,r=e.instances,i={};for(var a in n){var o,s=_createForOfIteratorHelper(t[a]);try{for(s.s();!(o=s.n()).done;){var l=o.value;i[l]||(i[l]={defs:{},instances:{}}),i[l].defs[a]=n[a]}}catch(e){s.e(e)}finally{s.f()}}for(var c in r){var u,d=r[c],f=_createForOfIteratorHelper(t[d.defId]);try{for(f.s();!(u=f.n()).done;){var h=u.value;i[h]&&(i[h].instances[c]=d)}}catch(e){f.e(e)}finally{f.f()}}return i}},{key:"_splitIndividualUi",value:function(e,t){var n={};for(var r in e)if(r){var i,a=_createForOfIteratorHelper(t[r]);try{for(a.s();!(i=a.n()).done;){var o=i.value;n[o]||(n[o]={}),n[o][r]=e[r]}}catch(e){a.e(e)}finally{a.f()}}return n}},{key:"_splitInteraction",value:function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),i=this._splitEventStore(e.mutatedEvents,r),a=function(r){t[r]||(t[r]={affectedEvents:n[r]||Wi,mutatedEvents:i[r]||Wi,isEvent:e.isEvent})};for(var o in n)a(o);for(var s in i)a(s)}return t}}])}();function Vi(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var i={"":jr(r)};return n&&Object.assign(i,n),i}function Gi(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!ur(r.activeRange,e)),isOther:Boolean(r&&!ur(r.currentRange,e)),isToday:Boolean(t&&ur(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function Qi(e,t){var n=["fc-day","fc-day-".concat(St[e.dow])];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var qi=cn({year:"numeric",month:"long",day:"numeric"}),Yi=cn({week:"long"});function Zi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=e.dateEnv,a=e.options,o=e.calendarApi,s=i.format(t,"week"===n?Yi:qi);if(a.navLinks){var l=i.toDate(t),c=function(e){var r="day"===n?a.navLinkDayClick:"week"===n?a.navLinkWeekClick:null;"function"==typeof r?r.call(o,i.toDate(t),e):("string"==typeof r&&(n=r),o.zoomTo(t,n))};return Object.assign({title:ct(a.navLinkHint,[s,l],s),"data-navlink":""},r?Ye(c):{onClick:c})}return{"aria-label":s}}var Xi,Ji=null;function Ki(){return null===Ji&&(Ji=function(){var e=document.createElement("div");Fe(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return Ne(e),t}()),Ji}function $i(){return Xi||(Xi=function(){var e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);var t=ea(e);return document.body.removeChild(e),t}()),Xi}function ea(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function ta(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,i=parseInt(n.borderRightWidth,10)||0,a=parseInt(n.borderTopWidth,10)||0,o=parseInt(n.borderBottomWidth,10)||0,s=ea(e),l=s.y-r-i,c={borderLeft:r,borderRight:i,borderTop:a,borderBottom:o,scrollbarBottom:s.x-a-o,scrollbarLeft:0,scrollbarRight:0};return Ki()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,t&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}function na(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(arguments.length>2?arguments[2]:void 0)?e.getBoundingClientRect():ra(e),r=ta(e,t),i={left:n.left+r.borderLeft+r.scrollbarLeft,right:n.right-r.borderRight-r.scrollbarRight,top:n.top+r.borderTop,bottom:n.bottom-r.borderBottom-r.scrollbarBottom};return t&&(i.left+=r.paddingLeft,i.right-=r.paddingRight,i.top+=r.paddingTop,i.bottom-=r.paddingBottom),i}function ra(e){var t=e.getBoundingClientRect();return{left:t.left+window.scrollX,top:t.top+window.scrollY,right:t.right+window.scrollX,bottom:t.bottom+window.scrollY}}function ia(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}var aa=function(){return _createClass((function e(t,n,r,i){_classCallCheck(this,e),this.els=n;var a=this.originClientRect=t.getBoundingClientRect();r&&this.buildElHorizontals(a.left),i&&this.buildElVerticals(a.top)}),[{key:"buildElHorizontals",value:function(e){var t,n=[],r=[],i=_createForOfIteratorHelper(this.els);try{for(i.s();!(t=i.n()).done;){var a=t.value.getBoundingClientRect();n.push(a.left-e),r.push(a.right-e)}}catch(e){i.e(e)}finally{i.f()}this.lefts=n,this.rights=r}},{key:"buildElVerticals",value:function(e){var t,n=[],r=[],i=_createForOfIteratorHelper(this.els);try{for(i.s();!(t=i.n()).done;){var a=t.value.getBoundingClientRect();n.push(a.top-e),r.push(a.bottom-e)}}catch(e){i.e(e)}finally{i.f()}this.tops=n,this.bottoms=r}},{key:"leftToIndex",value:function(e){var t,n=this.lefts,r=this.rights,i=n.length;for(t=0;t<i;t+=1)if(e>=n[t]&&e<r[t])return t}},{key:"topToIndex",value:function(e){var t,n=this.tops,r=this.bottoms,i=n.length;for(t=0;t<i;t+=1)if(e>=n[t]&&e<r[t])return t}},{key:"getWidth",value:function(e){return this.rights[e]-this.lefts[e]}},{key:"getHeight",value:function(e){return this.bottoms[e]-this.tops[e]}},{key:"similarTo",value:function(e){return oa(this.tops||[],e.tops||[])&&oa(this.bottoms||[],e.bottoms||[])&&oa(this.lefts||[],e.lefts||[])&&oa(this.rights||[],e.rights||[])}}])}();function oa(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(Math.round(e[r])!==Math.round(t[r]))return!1;return!0}var sa=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"getMaxScrollTop",value:function(){return this.getScrollHeight()-this.getClientHeight()}},{key:"getMaxScrollLeft",value:function(){return this.getScrollWidth()-this.getClientWidth()}},{key:"canScrollVertically",value:function(){return this.getMaxScrollTop()>0}},{key:"canScrollHorizontally",value:function(){return this.getMaxScrollLeft()>0}},{key:"canScrollUp",value:function(){return this.getScrollTop()>0}},{key:"canScrollDown",value:function(){return this.getScrollTop()<this.getMaxScrollTop()}},{key:"canScrollLeft",value:function(){return this.getScrollLeft()>0}},{key:"canScrollRight",value:function(){return this.getScrollLeft()<this.getMaxScrollLeft()}}])}(),la=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t)).el=e,n}return _inherits(t,e),_createClass(t,[{key:"getScrollTop",value:function(){return this.el.scrollTop}},{key:"getScrollLeft",value:function(){return this.el.scrollLeft}},{key:"setScrollTop",value:function(e){this.el.scrollTop=e}},{key:"setScrollLeft",value:function(e){this.el.scrollLeft=e}},{key:"getScrollWidth",value:function(){return this.el.scrollWidth}},{key:"getScrollHeight",value:function(){return this.el.scrollHeight}},{key:"getClientHeight",value:function(){return this.el.clientHeight}},{key:"getClientWidth",value:function(){return this.el.clientWidth}}])}(sa),ca=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"getScrollTop",value:function(){return window.scrollY}},{key:"getScrollLeft",value:function(){return window.scrollX}},{key:"setScrollTop",value:function(e){window.scroll(window.scrollX,e)}},{key:"setScrollLeft",value:function(e){window.scroll(e,window.scrollY)}},{key:"getScrollWidth",value:function(){return document.documentElement.scrollWidth}},{key:"getScrollHeight",value:function(){return document.documentElement.scrollHeight}},{key:"getClientHeight",value:function(){return document.documentElement.clientHeight}},{key:"getClientWidth",value:function(){return document.documentElement.clientWidth}}])}(sa),ua=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).uid=Je(),e}return _inherits(t,e),_createClass(t,[{key:"prepareHits",value:function(){}},{key:"queryHit",value:function(e,t,n,r){return null}},{key:"isValidSegDownEl",value:function(e){return!this.props.eventDrag&&!this.props.eventResize&&!He(e,".fc-event-mirror")}},{key:"isValidDateDownEl",value:function(e){return!(He(e,".fc-event:not(.fc-bg-event)")||He(e,".fc-more-link")||He(e,"a[data-navlink]")||He(e,".fc-popover"))}}])}(qn),da=_createClass((function e(t){_classCallCheck(this,e),this.timeZoneName=t})),fa=function(){return _createClass((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e.thickness||1};_classCallCheck(this,e),this.getEntryThickness=t,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}),[{key:"addSegs",value:function(e){var t,n=[],r=_createForOfIteratorHelper(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;this.insertEntry(i,n)}}catch(e){r.e(e)}finally{r.f()}return n}},{key:"insertEntry",value:function(e,t){var n=this.findInsertion(e);this.isInsertionValid(n,e)?this.insertEntryAt(e,n):this.handleInvalidInsertion(n,e,t)}},{key:"isInsertionValid",value:function(e,t){return(-1===this.maxCoord||e.levelCoord+this.getEntryThickness(t)<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)}},{key:"handleInvalidInsertion",value:function(e,t,n){if(this.allowReslicing&&e.touchingEntry){var r=Object.assign(Object.assign({},t),{span:ga(t.span,e.touchingEntry.span)});n.push(r),this.splitEntry(t,e.touchingEntry,n)}else n.push(t)}},{key:"splitEntry",value:function(e,t,n){var r=e.span,i=t.span;r.start<i.start&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:r.start,end:i.start}},n),r.end>i.end&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.end,end:r.end}},n)}},{key:"insertEntryAt",value:function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(ma(r,t.level,t.levelCoord),ma(n,t.level,[e])):ma(n[t.level],t.lateral,e),this.stackCnts[va(e)]=t.stackCnt}},{key:"findInsertion",value:function(e){for(var t=this.levelCoords,n=this.entriesByLevel,r=this.strictOrder,i=this.stackCnts,a=t.length,o=0,s=-1,l=-1,c=null,u=0,d=0;d<a;d+=1){var f=t[d];if(!r&&f>=o+this.getEntryThickness(e))break;for(var h=n[d],v=void 0,p=ya(h,e.span.start,ha),g=p[0]+p[1];(v=h[g])&&v.span.start<e.span.end;){var m=f+this.getEntryThickness(v);m>o&&(o=m,c=v,s=d,l=g),m===o&&(u=Math.max(u,i[va(v)]+1)),g+=1}}var y=0;if(c)for(y=s+1;y<a&&t[y]<o;)y+=1;var b=-1;return y<a&&t[y]===o&&(b=ya(n[y],e.span.end,ha)[0]),{touchingLevel:s,touchingLateral:l,touchingEntry:c,stackCnt:u,levelCoord:o,level:y,lateral:b}}},{key:"toRects",value:function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],i=0;i<n;i+=1){var a,o=e[i],s=t[i],l=_createForOfIteratorHelper(o);try{for(l.s();!(a=l.n()).done;){var c=a.value;r.push(Object.assign(Object.assign({},c),{thickness:this.getEntryThickness(c),levelCoord:s}))}}catch(e){l.e(e)}finally{l.f()}}return r}}])}();function ha(e){return e.span.end}function va(e){return e.index+":"+e.span.start}function pa(e){var t,n,r,i=[],a=_createForOfIteratorHelper(e);try{for(a.s();!(t=a.n()).done;){var o,s=t.value,l=[],c={span:s.span,entries:[s]},u=_createForOfIteratorHelper(i);try{for(u.s();!(o=u.n()).done;){var d=o.value;ga(d.span,c.span)?c={entries:d.entries.concat(c.entries),span:(n=d.span,r=c.span,{start:Math.min(n.start,r.start),end:Math.max(n.end,r.end)})}:l.push(d)}}catch(e){u.e(e)}finally{u.f()}l.push(c),i=l}}catch(e){a.e(e)}finally{a.f()}return i}function ga(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function ma(e,t,n){e.splice(t,0,n)}function ya(e,t,n){var r=0,i=e.length;if(!i||t<n(e[r]))return[0,0];if(t>n(e[i-1]))return[i,0];for(;r<i;){var a=Math.floor(r+(i-r)/2),o=n(e[a]);if(t<o)i=a;else{if(!(t>o))return[a,1];r=a+1}}return[r,0]}var ba=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.emitter=new qr}),[{key:"destroy",value:function(){}},{key:"setMirrorIsVisible",value:function(e){}},{key:"setMirrorNeedsRevert",value:function(e){}},{key:"setAutoScrollEnabled",value:function(e){}}])}(),_a={},Ca={startTime:pt,duration:pt,create:Boolean,sourceId:String};function Ea(e){var t=bn(e,Ca),n=t.refined,r=t.extra;return{startTime:n.startTime||null,duration:n.duration||null,create:null==n.create||n.create,sourceId:n.sourceId,leftoverProps:r}}function ka(e,t){return cn(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var Sa="fc-col-header-cell";function Aa(e){return e.text}var Da=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,i=e.viewApi,a=this.props,o=a.date,s=a.dateProfile,l=Gi(o,a.todayRange,null,s),c=[Sa].concat(Qi(l,r)),u=t.format(o,a.dayHeaderFormat),d=!l.isDisabled&&a.colCnt>1?Zi(this.context,o):{},f=Object.assign(Object.assign(Object.assign({date:t.toDate(o),view:i},a.extraRenderProps),{text:u}),l);return p(er,{elTag:"th",elClasses:c,elAttrs:Object.assign({role:"columnheader",colSpan:a.colSpan,"data-date":l.isDisabled?void 0:Lt(o)},a.extraDataAttrs),renderProps:f,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:Aa,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e){return p("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&p(e,{elTag:"a",elAttrs:d,elClasses:["fc-col-header-cell-cushion",a.isSticky&&"fc-sticky"]}))}))}}])}(qn),wa=cn({weekday:"long"}),Ra=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,i=t.viewApi,a=t.options,o=Dt(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=n.format(o,e.dayHeaderFormat),c=Object.assign(Object.assign(Object.assign(Object.assign({date:o},s),{view:i}),e.extraRenderProps),{text:l});return p(er,{elTag:"th",elClasses:[Sa].concat(_toConsumableArray(Qi(s,r)),_toConsumableArray(e.extraClassNames||[])),elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:c,generatorName:"dayHeaderContent",customGenerator:a.dayHeaderContent,defaultGenerator:Aa,classNameGenerator:a.dayHeaderClassNames,didMount:a.dayHeaderDidMount,willUnmount:a.dayHeaderWillUnmount},(function(t){return p("div",{className:"fc-scrollgrid-sync-inner"},p(t,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":n.format(o,wa)}}))}))}}])}(qn),Ta=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e,n])).initialNowDate=pr(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)}},{key:"componentDidMount",value:function(){this.setTimeout()}},{key:"componentDidUpdate",value:function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}},{key:"componentWillUnmount",value:function(){this.clearTimeout()}},{key:"computeTiming",value:function(){var e=this.props,t=this.context,n=wt(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),i=t.dateEnv.add(r,pt(1,e.unit)),a=i.valueOf()-n.valueOf();return a=Math.min(864e5,a),{currentState:{nowDate:r,todayRange:xa(r)},nextState:{nowDate:i,todayRange:xa(i)},waitMs:a}}},{key:"setTimeout",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)}))},{key:"clearTimeout",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){this.timeoutId&&clearTimeout(this.timeoutId)}))}])}(k);function xa(e){var t=Ot(e);return{start:t,end:Dt(t,1)}}Ta.contextType=Vn;var Ma=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).createDayHeaderFormatter=qt(Ia),e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,i=t.datesRepDistinctDays,a=t.renderIntro,o=this.createDayHeaderFormatter(e.options.dayHeaderFormat,i,n.length);return p(Ta,{unit:"day"},(function(e,t){return p("tr",{role:"row"},a&&a("day"),n.map((function(e){return i?p(Da,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:o}):p(Ra,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:o})})))}))}}])}(qn);function Ia(e,t,n){return e||ka(t,n)}var Oa=function(){return _createClass((function e(t,n){_classCallCheck(this,e);for(var r=t.start,i=t.end,a=[],o=[],s=-1;r<i;)n.isHiddenDay(r)?a.push(s+.5):(s+=1,a.push(s),o.push(r)),r=Dt(r,1);this.dates=o,this.indices=a,this.cnt=o.length}),[{key:"sliceRange",value:function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(Dt(e.end,-1)),r=Math.max(0,t),i=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(i=Math.floor(i))?{firstIndex:r,lastIndex:i,isStart:t===r,isEnd:n===i}:null}},{key:"getDateDayIndex",value:function(e){var t=this.indices,n=Math.floor(Tt(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]}}])}(),Na=function(){return _createClass((function e(t,n){_classCallCheck(this,e);var r,i,a,o=t.dates;if(n){for(i=o[0].getUTCDay(),r=1;r<o.length&&o[r].getUTCDay()!==i;r+=1);a=Math.ceil(o.length/r)}else a=1,r=o.length;this.rowCnt=a,this.colCnt=r,this.daySeries=t,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}),[{key:"buildCells",value:function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e}},{key:"buildCell",value:function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}}},{key:"buildHeaderDates",value:function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e}},{key:"sliceRange",value:function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var i=n.firstIndex,a=n.lastIndex,o=i;o<=a;){var s=Math.floor(o/t),l=Math.min((s+1)*t,a+1);r.push({row:s,firstCol:o%t,lastCol:(l-1)%t,isStart:n.isStart&&o===i,isEnd:n.isEnd&&l-1===a}),o=l}return r}}])}(),Ha=function(){return _createClass((function e(){_classCallCheck(this,e),this.sliceBusinessHours=qt(this._sliceBusinessHours),this.sliceDateSelection=qt(this._sliceDateSpan),this.sliceEventStore=qt(this._sliceEventStore),this.sliceEventDrag=qt(this._sliceInteraction),this.sliceEventResize=qt(this._sliceInteraction),this.forceDayIfListItem=!1}),[{key:"sliceProps",value:function(e,t,n,r){for(var i=e.eventUiBases,a=arguments.length,o=new Array(a>4?a-4:0),s=4;s<a;s++)o[s-4]=arguments[s];var l=this.sliceEventStore.apply(this,[e.eventStore,i,t,n].concat(o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,[e.dateSelection,t,n,i,r].concat(o)),businessHourSegs:this.sliceBusinessHours.apply(this,[e.businessHours,t,n,r].concat(o)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,[e.eventDrag,i,t,n].concat(o)),eventResize:this.sliceEventResize.apply(this,[e.eventResize,i,t,n].concat(o)),eventSelection:e.eventSelection}}},{key:"sliceNowDate",value:function(e,t,n,r){for(var i=arguments.length,a=new Array(i>4?i-4:0),o=4;o<i;o++)a[o-4]=arguments[o];return this._sliceDateSpan.apply(this,[{range:{start:e,end:wt(e,1)},allDay:!1},t,n,{},r].concat(a))}},{key:"_sliceBusinessHours",value:function(e,t,n,r){if(!e)return[];for(var i=arguments.length,a=new Array(i>4?i-4:0),o=4;o<i;o++)a[o-4]=arguments[o];return this._sliceEventStore.apply(this,[yr(e,Pa(t,Boolean(n)),r),{},t,n].concat(a)).bg}},{key:"_sliceEventStore",value:function(e,t,n,r){if(e){for(var i=oi(e,t,Pa(n,Boolean(r)),r),a=arguments.length,o=new Array(a>4?a-4:0),s=4;s<a;s++)o[s-4]=arguments[s];return{bg:this.sliceEventRanges(i.bg,o),fg:this.sliceEventRanges(i.fg,o)}}return{bg:[],fg:[]}}},{key:"_sliceInteraction",value:function(e,t,n,r){if(!e)return null;for(var i=oi(e.mutatedEvents,t,Pa(n,Boolean(r)),r),a=arguments.length,o=new Array(a>4?a-4:0),s=4;s<a;s++)o[s-4]=arguments[s];return{segs:this.sliceEventRanges(i.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}},{key:"_sliceDateSpan",value:function(e,t,n,r,i){if(!e)return[];var a=Pa(t,Boolean(n)),o=or(e.range,a);if(o){for(var s=function(e,t,n){var r=Sr({editable:!1},n),i=Dr(r.refined,r.extra,"",e.allDay,!0,n);return{def:i,ui:di(i,t),instance:mr(i.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}(e=Object.assign(Object.assign({},e),{range:o}),r,i),l=arguments.length,c=new Array(l>5?l-5:0),u=5;u<l;u++)c[u-5]=arguments[u];var d,f=this.sliceRange.apply(this,[e.range].concat(c)),h=_createForOfIteratorHelper(f);try{for(h.s();!(d=h.n()).done;){d.value.eventRange=s}}catch(e){h.e(e)}finally{h.f()}return f}return[]}},{key:"sliceEventRanges",value:function(e,t){var n,r=[],i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;r.push.apply(r,_toConsumableArray(this.sliceEventRange(a,t)))}}catch(e){i.e(e)}finally{i.f()}return r}},{key:"sliceEventRange",value:function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:Dt(n.start,1)});var r,i=this.sliceRange.apply(this,[n].concat(_toConsumableArray(t))),a=_createForOfIteratorHelper(i);try{for(a.s();!(r=a.n()).done;){var o=r.value;o.eventRange=e,o.isStart=e.isStart&&o.isStart,o.isEnd=e.isEnd&&o.isEnd}}catch(e){a.e(e)}finally{a.f()}return i}}])}();function Pa(e,t){var n=e.activeRange;return t?n:{start:wt(n.start,e.slotMinTime.milliseconds),end:wt(n.end,e.slotMaxTime.milliseconds-864e5)}}function ja(e,t,n){var r=e.mutatedEvents.instances;for(var i in r)if(!cr(t.validRange,r[i].range))return!1;return Fa({eventDrag:e},n)}function Ba(e,t,n){return!!cr(t.validRange,e.range)&&Fa({dateSelection:e},n)}function Fa(e,t){var n=t.getCurrentData(),r=Object.assign({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||za)(r,t)}function za(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return!(e.eventDrag&&!function(e,t,n,r){var i=t.getCurrentData(),a=e.eventDrag,o=a.mutatedEvents,s=o.defs,l=o.instances,c=ui(s,a.isEvent?e.eventUiBases:{"":i.selectionConfig});r&&(c=Sn(c,r));var u=(v=e.eventStore,p=a.affectedEvents.instances,{defs:v.defs,instances:kn(v.instances,(function(e){return!p[e.instanceId]}))}),d=u.defs,f=u.instances,h=ui(d,e.eventUiBases);var v,p;for(var g in l){var m=l[g],y=m.range,b=c[m.defId],_=s[m.defId];if(!Ua(b.constraints,y,u,e.businessHours,t))return!1;var C=t.options.eventOverlap,E="function"==typeof C?C:null;for(var k in f){var S=f[k];if(lr(y,S.range)){if(!1===h[S.defId].overlap&&a.isEvent)return!1;if(!1===b.overlap)return!1;if(E&&!E(new ri(t,d[S.defId],S),new ri(t,_,m)))return!1}}var A,D=i.eventStore,w=_createForOfIteratorHelper(b.allows);try{for(w.s();!(A=w.n()).done;){var R=A.value,T=Object.assign(Object.assign({},n),{range:m.range,allDay:_.allDay}),x=D.defs[_.defId],M=D.instances[g],I=void 0;if(I=x?new ri(t,x,M):new ri(t,_),!R(Jr(T,t),I))return!1}}catch(e){w.e(e)}finally{w.f()}}return!0}(e,t,n,r))&&!(e.dateSelection&&!function(e,t,n,r){var i=e.eventStore,a=i.defs,o=i.instances,s=e.dateSelection,l=s.range,c=t.getCurrentData(),u=c.selectionConfig;r&&(u=r(u));if(!Ua(u.constraints,l,i,e.businessHours,t))return!1;var d=t.options.selectOverlap,f="function"==typeof d?d:null;for(var h in o){var v=o[h];if(lr(l,v.range)){if(!1===u.overlap)return!1;if(f&&!f(new ri(t,a[v.defId],v),null))return!1}}var p,g=_createForOfIteratorHelper(u.allows);try{for(g.s();!(p=g.n()).done;){if(!(0,p.value)(Jr(Object.assign(Object.assign({},n),s),t),null))return!1}}catch(e){g.e(e)}finally{g.f()}return!0}(e,t,n,r))}function Ua(e,t,n,r,i){var a,o=_createForOfIteratorHelper(e);try{for(o.s();!(a=o.n()).done;){if(!Va(Wa(a.value,t,n,r,i),t))return!1}}catch(e){o.e(e)}finally{o.f()}return!0}function Wa(e,t,n,r,i){return"businessHours"===e?La(yr(r,t,i)):"string"==typeof e?La(Ir(n,(function(t){return t.groupId===e}))):"object"==typeof e&&e?La(yr(e,t,i)):[]}function La(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function Va(e,t){var n,r=_createForOfIteratorHelper(e);try{for(r.s();!(n=r.n()).done;){if(cr(n.value,t))return!0}}catch(e){r.e(e)}finally{r.f()}return!1}var Ga=/^(visible|hidden)$/,Qa=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).handleEl=function(t){e.el=t,Yn(e.props.elRef,t)},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,i=["fc-scroller"];return t&&(n?i.push("fc-scroller-liquid-absolute"):i.push("fc-scroller-liquid")),p("div",{ref:this.handleEl,className:i.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}},{key:"needsXScrolling",value:function(){if(Ga.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>t)return!0}return!1}},{key:"needsYScrolling",value:function(){if(Ga.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>t)return!0}return!1}},{key:"getXScrollbarWidth",value:function(){return Ga.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}},{key:"getYScrollbarWidth",value:function(){return Ga.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}])}(qn),qa=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this.masterCallback=t,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,t){var r=n.depths,i=n.currentMap,a=!1,o=!1;null!==e?(a=t in i,i[t]=e,r[t]=(r[t]||0)+1,o=!0):(r[t]-=1,r[t]||(delete i[t],delete n.callbackMap[t],a=!0)),n.masterCallback&&(a&&n.masterCallback(null,String(t)),o&&n.masterCallback(e,String(t)))}}),[{key:"createRef",value:function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n}},{key:"collect",value:function(e,t,n){return In(this.currentMap,e,t,n)}},{key:"getAll",value:function(){return Dn(this.currentMap)}}])}();function Ya(e){var t,n=0,r=_createForOfIteratorHelper(je(e,".fc-scrollgrid-shrink"));try{for(r.s();!(t=r.n()).done;){var i=t.value;n=Math.max(n,ft(i))}}catch(e){r.e(e)}finally{r.f()}return Math.ceil(n)}function Za(e,t){return e.liquid&&t.liquid}function Xa(e,t){return null!=t.maxHeight||Za(e,t)}function Ja(e,t,n,r){var i=n.expandRows;return"function"==typeof t.content?t.content(n):p("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:i?n.clientHeight:""}},n.tableColGroupNode,p(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function Ka(e,t){return kt(e,t,wn)}function $a(e,t){var n,r=[],i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;)for(var a=n.value,o=a.span||1,s=0;s<o;s+=1)r.push(p("col",{style:{width:"shrink"===a.width?eo(t):a.width||"",minWidth:a.minWidth||""}}))}catch(e){i.e(e)}finally{i.f()}return p.apply(void 0,["colgroup",{}].concat(r))}function eo(e){return null==e?4:e}function to(e){var t,n=_createForOfIteratorHelper(e);try{for(n.s();!(t=n.n()).done;){if("shrink"===t.value.width)return!0}}catch(e){n.e(e)}finally{n.f()}return!1}function no(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function ro(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-".concat(e.type),e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function io(e){return p("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function ao(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function oo(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}var so=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).processCols=qt((function(e){return e}),Ka),e.renderMicroColGroup=qt($a),e.scrollerRefs=new qa,e.scrollerElRefs=new qa(e._handleScrollerEl.bind(e)),e.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},e.handleSizing=function(){e.safeSetState(Object.assign({shrinkWidth:e.computeShrinkWidth()},e.computeScrollerDims()))},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.state,n=this.context,r=e.sections||[],i=this.processCols(e.cols),a=this.renderMicroColGroup(i,t.shrinkWidth),o=no(e.liquid,n);e.collapsibleWidth&&o.push("fc-scrollgrid-collapsible");for(var s,l=r.length,c=0,u=[],d=[],f=[];c<l&&"header"===(s=r[c]).type;)u.push(this.renderSection(s,a,!0)),c+=1;for(;c<l&&"body"===(s=r[c]).type;)d.push(this.renderSection(s,a,!1)),c+=1;for(;c<l&&"footer"===(s=r[c]).type;)f.push(this.renderSection(s,a,!0)),c+=1;var h=!Mi(),v={role:"rowgroup"};return p("table",{role:"grid",className:o.join(" "),style:{height:e.height}},Boolean(!h&&u.length)&&p.apply(void 0,["thead",v].concat(u)),Boolean(!h&&d.length)&&p.apply(void 0,["tbody",v].concat(d)),Boolean(!h&&f.length)&&p.apply(void 0,["tfoot",v].concat(f)),h&&p.apply(void 0,["tbody",v].concat(u,d,f)))}},{key:"renderSection",value:function(e,t,n){return"outerContent"in e?p(y,{key:e.key},e.outerContent):p("tr",{key:e.key,role:"presentation",className:ro(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))}},{key:"renderChunkTd",value:function(e,t,n,r){if("outerContent"in n)return n.outerContent;var i=this.props,a=this.state,o=a.forceYScrollbars,s=a.scrollerClientWidths,l=a.scrollerClientHeights,c=Xa(i,e),u=Za(i,e),d=i.liquid?o?"scroll":c?"auto":"hidden":"visible",f=e.key,h=Ja(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:i.collapsibleWidth||void 0===s[f]?null:s[f],clientHeight:void 0!==l[f]?l[f]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return p(r?"th":"td",{ref:n.elRef,role:"presentation"},p("div",{className:"fc-scroller-harness".concat(u?" fc-scroller-harness-liquid":"")},p(Qa,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:d,overflowX:i.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:u,liquidIsAbsolute:!0},h)))}},{key:"_handleScrollerEl",value:function(e,t){var n=function(e,t){var n,r=_createForOfIteratorHelper(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.key===t)return i}}catch(e){r.e(e)}finally{r.f()}return null}(this.props.sections,t);n&&Yn(n.chunk.scrollerElRef,e)}},{key:"componentDidMount",value:function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}},{key:"componentDidUpdate",value:function(){this.handleSizing()}},{key:"componentWillUnmount",value:function(){this.context.removeResizeHandler(this.handleSizing)}},{key:"computeShrinkWidth",value:function(){return to(this.props.cols)?Ya(this.scrollerElRefs.getAll()):0}},{key:"computeScrollerDims",value:function(){var e=$i(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,i={},a={};for(var o in t.currentMap){var s=t.currentMap[o];if(s&&s.needsYScrolling()){r=!0;break}}var l,c=_createForOfIteratorHelper(this.props.sections);try{for(c.s();!(l=c.n()).done;){var u=l.value.key,d=n.currentMap[u];if(d){var f=d.parentNode;i[u]=Math.floor(f.getBoundingClientRect().width-(r?e.y:0)),a[u]=Math.floor(f.getBoundingClientRect().height)}}}catch(e){c.e(e)}finally{c.f()}return{forceYScrollbars:r,scrollerClientWidths:i,scrollerClientHeights:a}}}])}(qn);so.addStateEquality({scrollerClientWidths:wn,scrollerClientHeights:wn});var lo=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).handleEl=function(t){e.el=t,t&&li(t,e.props.seg)},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context,n=t.options,r=e.seg,i=r.eventRange,a=i.ui,o={event:new ri(t,i.def,i.instance),view:t.viewApi,timeText:e.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!e.disableDragging&&vi(r,t),isStartResizable:!e.disableResizing&&pi(r,t),isEndResizable:!e.disableResizing&&gi(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)};return p(er,Object.assign({},e,{elRef:this.handleEl,elClasses:[].concat(_toConsumableArray(bi(o)),_toConsumableArray(r.eventRange.ui.classNames),_toConsumableArray(e.elClasses||[])),renderProps:o,generatorName:"eventContent",customGenerator:n.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:n.eventClassNames,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount}))}},{key:"componentDidUpdate",value:function(e){this.el&&this.props.seg!==e.seg&&li(this.el,this.props.seg)}}])}(qn),co=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context,n=t.options,r=e.seg,i=r.eventRange.ui,a=mi(r,n.eventTimeFormat||e.defaultTimeFormat,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return p(lo,Object.assign({},e,{elTag:"a",elStyle:{borderColor:i.borderColor,backgroundColor:i.backgroundColor},elAttrs:Ci(r,t),defaultGenerator:uo,timeText:a}),(function(e,t){return p(y,null,p(e,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:t.textColor}}),Boolean(t.isStartResizable)&&p("div",{className:"fc-event-resizer fc-event-resizer-start"}),Boolean(t.isEndResizable)&&p("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))}}])}(qn);function uo(e){return p("div",{className:"fc-event-main-frame"},e.timeText&&p("div",{className:"fc-event-time"},e.timeText),p("div",{className:"fc-event-title-container"},p("div",{className:"fc-event-title fc-sticky"},e.event.title||p(y,null," "))))}var fo=function(e){return p(Vn.Consumer,null,(function(t){var n=t.options,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return p(er,Object.assign({},e,{elTag:e.elTag||"div",renderProps:r,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount}))}))},ho=cn({day:"numeric"}),vo=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).refineRenderProps=Yt(go),e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context,n=t.options,r=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:n.monthStartFormat});return p(er,Object.assign({},e,{elClasses:[].concat(_toConsumableArray(Qi(r,t.theme)),_toConsumableArray(e.elClasses||[])),elAttrs:Object.assign(Object.assign({},e.elAttrs),r.isDisabled?{}:{"data-date":Lt(e.date)}),renderProps:r,generatorName:"dayCellContent",customGenerator:n.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.isDisabled?void 0:n.dayCellClassNames,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount}))}}])}(qn);function po(e){return Boolean(e.dayCellContent||Xn("dayCellContent",e))}function go(e){var t=e.date,n=e.dateEnv,r=e.dateProfile,i=e.isMonthStart,a=Gi(t,e.todayRange,null,r),o=e.showDayNumber?n.format(t,i?e.monthStartFormat:ho):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(t),view:e.viewApi},a),{isMonthStart:i,dayNumberText:o}),e.extraRenderProps)}var mo=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=e.seg;return p(lo,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:yo,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}])}(qn);function yo(e){return e.event.title&&p("div",{className:"fc-event-title"},e.event.title)}function bo(e){return p("div",{className:"fc-".concat(e)})}var _o=function(e){return p(Vn.Consumer,null,(function(t){var n=t.dateEnv,r=t.options,i=e.date,a=r.weekNumberFormat||e.defaultFormat,o={num:n.computeWeekNumber(i),text:n.format(i,a),date:i};return p(er,Object.assign({},e,{renderProps:o,generatorName:"weekNumberContent",customGenerator:r.weekNumberContent,defaultGenerator:Co,classNameGenerator:r.weekNumberClassNames,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount}))}))};function Co(e){return e.text}var Eo=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).state={titleId:Le()},e.handleRootEl=function(t){e.rootEl=t,e.props.elRef&&Yn(e.props.elRef,t)},e.handleDocumentMouseDown=function(t){var n=Ue(t);e.rootEl.contains(n)||e.handleCloseClick()},e.handleDocumentKeyDown=function(t){"Escape"===t.key&&e.handleCloseClick()},e.handleCloseClick=function(){var t=e.props.onClose;t&&t()},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.context,t=e.theme,n=e.options,r=this.props,i=this.state,a=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return pe(p("div",Object.assign({},r.extraAttrs,{id:r.id,className:a.join(" "),"aria-labelledby":i.titleId,ref:this.handleRootEl}),p("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},p("span",{className:"fc-popover-title",id:i.titleId},r.title),p("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),p("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)}},{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}},{key:"updateSize",value:function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,i=this.rootEl,a=function(e){var t,n=ia(e),r=e.getBoundingClientRect(),i=_createForOfIteratorHelper(n);try{for(i.s();!(t=i.n()).done;){var a=Bi(r,t.value.getBoundingClientRect());if(!a)return null;r=a}}catch(e){i.e(e)}finally{i.f()}return r}(n);if(a){var o=i.getBoundingClientRect(),s=r?He(n,".fc-scrollgrid").getBoundingClientRect().top:a.top,l=e?a.right-o.width:a.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-o.width),l=Math.max(l,10);var c=i.offsetParent.getBoundingClientRect();Fe(i,{top:s-c.top,left:l-c.left})}}}])}(qn),ko=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).handleRootEl=function(t){e.rootEl=t,t?e.context.registerInteractiveComponent(e,{el:t,useEventCenter:!1}):e.context.unregisterInteractiveComponent(e)},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,i=r.startDate,a=r.todayRange,o=r.dateProfile,s=n.format(i,t.dayPopoverFormat);return p(vo,{elRef:this.handleRootEl,date:i,dateProfile:o,todayRange:a},(function(e,n,i){return p(Eo,{elRef:i.ref,id:r.id,title:s,extraClassNames:["fc-more-popover"].concat(i.className||[]),extraAttrs:i,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},po(t)&&p(e,{elTag:"div",elClasses:["fc-more-popover-misc"]}),r.children)}))}},{key:"queryHit",value:function(e,t,n,r){var i=this.rootEl,a=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:a.dateProfile,dateSpan:Object.assign({allDay:!a.forceTimed,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:i,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null}}])}(ua),So=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).state={isPopoverOpen:!1,popoverId:Le()},e.handleLinkEl=function(t){e.linkEl=t,e.props.elRef&&Yn(e.props.elRef,t)},e.handleClick=function(t){var n=e,r=n.props,i=n.context,a=i.options.moreLinkClick,o=Do(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,a=t.range;return{event:new ri(i,n,r),start:i.dateEnv.toDate(a.start),end:i.dateEnv.toDate(a.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof a&&(a=a({date:o,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:t,view:i.viewApi})),a&&"popover"!==a?"string"==typeof a&&i.calendarApi.zoomTo(o,a):e.setState({isPopoverOpen:!0})},e.handlePopoverClose=function(){e.setState({isPopoverOpen:!1})},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.props,n=this.state;return p(Vn.Consumer,null,(function(r){var i=r.viewApi,a=r.options,o=r.calendarApi,s=a.moreLinkText,l=t.moreCnt,c=Do(t),u="function"==typeof s?s.call(o,l):"+".concat(l," ").concat(s),d=ct(a.moreLinkHint,[l],u),f={num:l,shortText:"+".concat(l),text:u,view:i};return p(y,null,Boolean(t.moreCnt)&&p(er,{elTag:t.elTag||"a",elRef:e.handleLinkEl,elClasses:[].concat(_toConsumableArray(t.elClasses||[]),["fc-more-link"]),elStyle:t.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},t.elAttrs),Ye(e.handleClick)),{title:d,"aria-expanded":n.isPopoverOpen,"aria-controls":n.isPopoverOpen?n.popoverId:""}),renderProps:f,generatorName:"moreLinkContent",customGenerator:a.moreLinkContent,defaultGenerator:t.defaultGenerator||Ao,classNameGenerator:a.moreLinkClassNames,didMount:a.moreLinkDidMount,willUnmount:a.moreLinkWillUnmount},t.children),n.isPopoverOpen&&p(ko,{id:n.popoverId,startDate:c.start,endDate:c.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef?t.alignmentElRef.current:e.linkEl,alignGridTop:t.alignGridTop,forceTimed:t.forceTimed,onClose:e.handlePopoverClose},t.popoverContent()))}))}},{key:"componentDidMount",value:function(){this.updateParentEl()}},{key:"componentDidUpdate",value:function(){this.updateParentEl()}},{key:"updateParentEl",value:function(){this.linkEl&&(this.parentEl=He(this.linkEl,".fc-view-harness"))}}])}(qn);function Ao(e){return e.text}function Do(e){if(e.allDayDate)return{start:e.allDayDate,end:Dt(e.allDayDate,1)};var t,n=e.hiddenSegs;return{start:wo(n),end:(t=n,t.reduce(To).eventRange.range.end)}}function wo(e){return e.reduce(Ro).eventRange.range.start}function Ro(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function To(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}var xo=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).map=new Map,e}return _inherits(t,e),_createClass(t,[{key:"handle",value:function(e){var t=this.map,n=!1;e.isActive?(t.set(e.id,e),n=!0):t.has(e.id)&&(t.delete(e.id),n=!0),n&&this.set(t)}}])}(function(){return _createClass((function e(){_classCallCheck(this,e),this.handlers=[]}),[{key:"set",value:function(e){this.currentValue=e;var t,n=_createForOfIteratorHelper(this.handlers);try{for(n.s();!(t=n.n()).done;){(0,t.value)(e)}}catch(e){n.e(e)}finally{n.f()}}},{key:"subscribe",value:function(e){this.handlers.push(e),void 0!==this.currentValue&&e(this.currentValue)}}])}()),Mo={__proto__:null,BASE_OPTION_DEFAULTS:dn,BaseComponent:qn,BgEvent:mo,CalendarImpl:Pi,CalendarRoot:Ii,ContentContainer:er,CustomRenderingStore:xo,DateComponent:ua,DateEnv:Bn,DateProfileGenerator:gr,DayCellContainer:vo,DayHeader:Ma,DaySeriesModel:Oa,DayTableModel:Na,DelayedRunner:Oe,ElementDragging:ba,ElementScrollController:la,Emitter:qr,EventContainer:lo,EventImpl:ri,Interaction:Oi,MoreLinkContainer:So,NamedTimeZoneImpl:da,NowIndicatorContainer:fo,NowTimer:Ta,PositionCache:aa,RefMap:qa,ScrollController:sa,ScrollResponder:Ln,Scroller:Qa,SegHierarchy:fa,SimpleScrollGrid:so,Slicer:Ha,Splitter:Li,StandardEvent:co,TableDateCell:Da,TableDowCell:Ra,Theme:Fn,ViewContainer:nr,ViewContextType:Vn,WeekNumberContainer:_o,WindowScrollController:ca,addDays:Dt,addDurations:mt,addMs:wt,addWeeks:At,allowContextMenu:rt,allowSelection:tt,applyMutationToEventStore:$r,applyStyle:Fe,asCleanDays:function(e){return e.years||e.months||e.milliseconds?0:e.days},asRoughMinutes:function(e){return _t(e)/6e4},asRoughMs:_t,asRoughSeconds:function(e){return _t(e)/1e3},binarySearch:ya,buildElAttrs:Jn,buildEntryKey:va,buildEventApis:ai,buildEventRangeKey:_i,buildIsoString:Wt,buildNavLinkAttrs:Zi,buildSegTimeText:mi,collectFromHash:In,combineEventUis:jr,compareByFieldSpecs:at,compareNumbers:ut,compareObjs:xn,computeEarliestSegStart:wo,computeEdges:ta,computeFallbackHeaderFormat:ka,computeInnerRect:na,computeRect:ra,computeShrinkWidth:Ya,computeVisibleDayRange:fr,config:_a,constrainPoint:Fi,createDuration:pt,createEmptyEventStore:xr,createEventInstance:mr,createEventUi:Pr,createFormatter:cn,diffDates:vr,diffDayAndTime:xt,diffDays:Tt,diffPoints:Ui,diffWeeks:Rt,diffWholeDays:It,diffWholeWeeks:Mt,disableCursor:Ke,elementClosest:He,elementMatches:Pe,enableCursor:$e,eventTupleToStore:Rr,filterHash:kn,findDirectChildren:function(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],i=0;i<n.length;i+=1)for(var a=n[i].children,o=0;o<a.length;o+=1){var s=a[o];t&&!Pe(s,t)||r.push(s)}return r},findElements:je,flexibleCompare:st,formatDayString:Lt,formatIsoMonthStr:Vt,formatIsoTimeString:Gt,getAllowYScrolling:Xa,getCanVGrowWithinCell:Mi,getClippingParents:ia,getDateMeta:Gi,getDayClassNames:Qi,getDefaultEventEnd:Kr,getElSeg:ci,getEntrySpanEnd:ha,getEventTargetViaRoot:Ue,getIsRtlScrollbarOnLeft:Ki,getRectCenter:zi,getRelevantEvents:Tr,getScrollGridClassNames:no,getScrollbarWidths:$i,getSectionClassNames:ro,getSectionHasLiquidHeight:Za,getSegAnchorAttrs:Ci,getSegMeta:yi,getSlotClassNames:function(e,t){var n=["fc-slot","fc-slot-".concat(St[e.dow])];return e.isDisabled?n.push("fc-slot-disabled"):(e.isToday&&(n.push("fc-slot-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-slot-past"),e.isFuture&&n.push("fc-slot-future")),n},getStickyFooterScrollbar:oo,getStickyHeaderDates:ao,getUniqueDomId:Le,greatestDurationDenominator:Et,groupIntersectingEntries:pa,guid:Je,hasBgRendering:si,hasCustomDayCellContent:po,hasShrinkWidth:to,identity:_n,injectStyles:xe,interactionSettingsStore:Hi,interactionSettingsToStore:Ni,intersectRanges:or,intersectRects:Bi,intersectSpans:ga,isArraysEqual:kt,isColPropsEqual:Ka,isDateSelectionValid:Ba,isDateSpansEqual:Si,isInt:dt,isInteractionValid:ja,isMultiDayRange:hr,isPropsEqual:wn,isPropsValid:za,isValidDate:zt,mapHash:Sn,memoize:qt,memoizeArraylike:function(e,t,n){var r=this,i=[],a=[];return function(o){for(var s=i.length,l=o.length,c=0;c<s;c+=1)if(o[c]){if(!kt(i[c],o[c])){n&&n(a[c]);var u=e.apply(r,o[c]);t&&t(u,a[c])||(a[c]=u)}}else n&&n(a[c]);for(;c<l;c+=1)a[c]=e.apply(r,o[c]);return i=o,a.splice(l),a}},memoizeHashlike:function(e,t,n){var r=this,i={},a={};return function(o){var s={};for(var l in o)if(a[l])if(kt(i[l],o[l]))s[l]=a[l];else{n&&n(a[l]);var c=e.apply(r,o[l]);s[l]=t&&t(c,a[l])?a[l]:c}else s[l]=e.apply(r,o[l]);return i=o,a=s,s}},memoizeObjArg:Yt,mergeEventStores:Mr,multiplyDuration:yt,padStart:lt,parseBusinessHours:Zr,parseClassNames:Or,parseDragMeta:Ea,parseEventDef:Dr,parseFieldSpecs:it,parseMarker:jn,pointInsideRect:ji,preventContextMenu:nt,preventDefault:Ve,preventSelection:et,rangeContainsMarker:ur,rangeContainsRange:cr,rangesEqual:sr,rangesIntersect:lr,refineEventDef:Sr,refineProps:bn,removeElement:Ne,removeExact:function(e,t){for(var n=0,r=0;r<e.length;)e[r]===t?(e.splice(r,1),n+=1):r+=1;return n},renderChunkContent:Ja,renderFill:bo,renderMicroColGroup:$a,renderScrollShim:io,requestJson:xi,sanitizeShrinkWidth:eo,setRef:Yn,sliceEventStore:oi,sortEventSegs:fi,startOfDay:Ot,translateRect:function(e,t,n){return{left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}},triggerDateSelect:Xr,unpromisify:wi,whenTransitionDone:qe,wholeDivideDurations:Ct},Io={__proto__:null,createPortal:pe,createContext:Wn,flushSync:zn,Component:k,Fragment:y,cloneElement:function(e,n,r){var i,a,o,s=h({},e.props);for(o in n)"key"==o?i=n[o]:"ref"==o?a=n[o]:s[o]=n[o];return arguments.length>2&&(s.children=arguments.length>3?t.call(arguments,2):r),g(e.type,s,i||e.key,a||e.ref,null)},createElement:p,createRef:m,h:p,hydrate:function e(t,n){z(t,n,e)},get isValidElement(){return i},get options(){return n},render:z,toChildArray:M},Oo=[],No={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},Ho=Object.assign(Object.assign({},No),{buttonHints:{prev:"Previous $0",next:"Next $0",today:(e,t)=>"day"===t?"Today":"This ".concat(e)},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>"Show ".concat(e," more event").concat(1===e?"":"s")});function Po(e){var t,n=e.length>0?e[0].code:"en",r=Oo.concat(e),i={en:Ho},a=_createForOfIteratorHelper(r);try{for(a.s();!(t=a.n()).done;){var o=t.value;i[o.code]=o}}catch(e){a.e(e)}finally{a.f()}return{map:i,defaultCode:n}}function jo(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){var n=[].concat(e||[]),r=function(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),i=r.length;i>0;i-=1){var a=r.slice(0,i).join("-");if(t[a])return t[a]}return null}(n,t)||Ho;return Bo(e,n,r)}(e,t):Bo(e.code,[e.code],e)}function Bo(e,t,n){var r=En([No,n],["buttonText"]);delete r.code;var i=r.week;return delete r.week,{codeArg:e,codes:t,week:i,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}function Fo(e){return{id:Je(),name:e.name,premiumReleaseDate:e.premiumReleaseDate?new Date(e.premiumReleaseDate):void 0,deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function zo(){var e,t=[],n=[];return function(r,i){return e&&kt(r,t)&&kt(i,n)||(e=function(e,t){var n={},r={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function i(e){var t,a,o,s=_createForOfIteratorHelper(e);try{for(s.s();!(t=s.n()).done;){var l=t.value,c=l.name,u=n[c];void 0===u?(n[c]=l.id,i(l.deps),o=l,r={premiumReleaseDate:Uo((a=r).premiumReleaseDate,o.premiumReleaseDate),reducers:a.reducers.concat(o.reducers),isLoadingFuncs:a.isLoadingFuncs.concat(o.isLoadingFuncs),contextInit:a.contextInit.concat(o.contextInit),eventRefiners:Object.assign(Object.assign({},a.eventRefiners),o.eventRefiners),eventDefMemberAdders:a.eventDefMemberAdders.concat(o.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},a.eventSourceRefiners),o.eventSourceRefiners),isDraggableTransformers:a.isDraggableTransformers.concat(o.isDraggableTransformers),eventDragMutationMassagers:a.eventDragMutationMassagers.concat(o.eventDragMutationMassagers),eventDefMutationAppliers:a.eventDefMutationAppliers.concat(o.eventDefMutationAppliers),dateSelectionTransformers:a.dateSelectionTransformers.concat(o.dateSelectionTransformers),datePointTransforms:a.datePointTransforms.concat(o.datePointTransforms),dateSpanTransforms:a.dateSpanTransforms.concat(o.dateSpanTransforms),views:Object.assign(Object.assign({},a.views),o.views),viewPropsTransformers:a.viewPropsTransformers.concat(o.viewPropsTransformers),isPropsValid:o.isPropsValid||a.isPropsValid,externalDefTransforms:a.externalDefTransforms.concat(o.externalDefTransforms),viewContainerAppends:a.viewContainerAppends.concat(o.viewContainerAppends),eventDropTransformers:a.eventDropTransformers.concat(o.eventDropTransformers),calendarInteractions:a.calendarInteractions.concat(o.calendarInteractions),componentInteractions:a.componentInteractions.concat(o.componentInteractions),themeClasses:Object.assign(Object.assign({},a.themeClasses),o.themeClasses),eventSourceDefs:a.eventSourceDefs.concat(o.eventSourceDefs),cmdFormatter:o.cmdFormatter||a.cmdFormatter,recurringTypes:a.recurringTypes.concat(o.recurringTypes),namedTimeZonedImpl:o.namedTimeZonedImpl||a.namedTimeZonedImpl,initialView:a.initialView||o.initialView,elementDraggingImpl:a.elementDraggingImpl||o.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},a.optionChangeHandlers),o.optionChangeHandlers),scrollGridImpl:o.scrollGridImpl||a.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},a.listenerRefiners),o.listenerRefiners),optionRefiners:Object.assign(Object.assign({},a.optionRefiners),o.optionRefiners),propSetHandlers:Object.assign(Object.assign({},a.propSetHandlers),o.propSetHandlers)}):u!==l.id&&"Duplicate plugin '".concat(c,"'")}}catch(e){s.e(e)}finally{s.f()}}return e&&i(e),i(t),r}(r,i)),t=r,n=i,e}}function Uo(e,t){return void 0===e?t:void 0===t?e:new Date(Math.max(e.valueOf(),t.valueOf()))}var Wo=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(Fn);function Lo(e,t,n,r){if(t[e])return t[e];var i=function(e,t,n,r){var i=n[e],a=r[e],o=function(e){return i&&null!==i[e]?i[e]:a&&null!==a[e]?a[e]:null},s=o("component"),l=o("superType"),c=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");c=Lo(l,t,n,r)}!s&&c&&(s=c.component);if(!s)return null;return{type:e,component:s,defaults:Object.assign(Object.assign({},c?c.defaults:{}),i?i.rawOptions:{}),overrides:Object.assign(Object.assign({},c?c.overrides:{}),a?a.rawOptions:{})}}(e,t,n,r);return i&&(t[e]=i),i}function Vo(e){return Sn(e,Go)}function Go(e){var t="function"==typeof e?{component:e}:e,n=t.component;return t.content?n=Qo(t):!n||n.prototype instanceof qn||(n=Qo(Object.assign(Object.assign({},t),{content:n}))),{superType:t.type,component:n,rawOptions:t}}function Qo(e){return function(t){return p(Vn.Consumer,null,(function(n){return p(er,{elTag:"div",elClasses:rr(n.viewSpec),renderProps:Object.assign(Object.assign({},t),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:e.content,classNameGenerator:e.classNames,didMount:e.didMount,willUnmount:e.willUnmount})}))}}function qo(e,t,n,r){var i=Vo(e),a=Vo(t.views),o=function(e,t){var n,r={};for(n in e)Lo(n,r,e,t);for(n in t)Lo(n,r,e,t);return r}(i,a);return Sn(o,(function(e){return function(e,t,n,r,i){var a=e.overrides.duration||e.defaults.duration||r.duration||n.duration,o=null,s="",l="",c={};if(a&&(o=function(e){var t=JSON.stringify(e),n=Yo[t];void 0===n&&(n=pt(e),Yo[t]=n);return n}(a),o)){var u=Et(o);s=u.unit,1===u.value&&(l=s,c=t[s]?t[s].rawOptions:{})}var d=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null},f=function(t){var n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null};return{type:e.type,component:e.component,duration:o,durationUnit:s,singleUnit:l,optionDefaults:e.defaults,optionOverrides:Object.assign(Object.assign({},c),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(i)||e.defaults.buttonText||d(dn)||e.type,buttonTitleOverride:f(r)||f(n)||e.overrides.buttonHint,buttonTitleDefault:f(i)||e.defaults.buttonHint||f(dn)}}(e,a,t,n,r)}))}Wo.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},Wo.prototype.baseIconClass="fc-icon",Wo.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},Wo.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},Wo.prototype.iconOverrideOption="buttonIcons",Wo.prototype.iconOverrideCustomButtonOption="icon",Wo.prototype.iconOverridePrefix="fc-icon-";var Yo={};function Zo(e,t,n){var r=t?t.activeRange:null;return Ko({},function(e,t){var n=Ur(t),r=[].concat(e.eventSources||[]),i=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);var a,o=_createForOfIteratorHelper(r);try{for(o.s();!(a=o.n()).done;){var s=zr(a.value,t,n);s&&i.push(s)}}catch(e){o.e(e)}finally{o.f()}return i}(e,n),r,n)}function Xo(e,t,n,r){var i,a,o=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Ko(e,t.sources,o,r);case"REMOVE_EVENT_SOURCE":return i=e,a=t.sourceId,kn(i,(function(e){return e.sourceId!==a}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?$o(e,o,r):e;case"FETCH_EVENT_SOURCES":return es(e,t.sourceIds?An(t.sourceIds):ns(e,r),o,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,r){var i=e[t];if(i&&n===i.latestFetchId)return Object.assign(Object.assign({},e),{[t]:Object.assign(Object.assign({},i),{isFetching:!1,fetchRange:r})});return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function Jo(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function Ko(e,t,n,r){var i,a={},o=_createForOfIteratorHelper(t);try{for(o.s();!(i=o.n()).done;){var s=i.value;a[s.sourceId]=s}}catch(e){o.e(e)}finally{o.f()}return n&&(a=$o(a,n,r)),Object.assign(Object.assign({},e),a)}function $o(e,t,n){return es(e,kn(e,(function(e){return function(e,t,n){if(!rs(e,n))return!e.latestFetchId;return!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end}(e,t,n)})),t,!1,n)}function es(e,t,n,r,i){var a={};for(var o in e){var s=e[o];t[o]?a[o]=ts(s,n,r,i):a[o]=s}return a}function ts(e,t,n,r){var i=r.options,a=r.calendarApi,o=r.pluginHooks.eventSourceDefs[e.sourceDefId],s=Je();return o.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var o=n.rawEvents;i.eventSourceSuccess&&(o=i.eventSourceSuccess.call(a,o,n.response)||o),e.success&&(o=e.success.call(a,o,n.response)||o),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:s,fetchRange:t,rawEvents:o})}),(function(n){var o=!1;i.eventSourceFailure&&(i.eventSourceFailure.call(a,n),o=!0),e.failure&&(e.failure(n),o=!0),o||n.message,r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:s,fetchRange:t,error:n})})),Object.assign(Object.assign({},e),{isFetching:!0,latestFetchId:s})}function ns(e,t){return kn(e,(function(e){return rs(e,t)}))}function rs(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function is(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function as(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function os(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function ss(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function ls(e,t,n,r,i){return{header:e.headerToolbar?cs(e.headerToolbar,e,t,n,r,i):null,footer:e.footerToolbar?cs(e.footerToolbar,e,t,n,r,i):null}}function cs(e,t,n,r,i,a){var o={},s=[],l=!1;for(var c in e){var u=us(e[c],t,n,r,i,a);o[c]=u.widgets,s.push.apply(s,_toConsumableArray(u.viewsWithButtons)),l=l||u.hasTitle}return{sectionWidgets:o,viewsWithButtons:s,hasTitle:l}}function us(e,t,n,r,i,a){var o="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},u=n.buttonHints||{},d=t.buttonHints||{},f=e?e.split(" "):[],h=[],v=!1;return{widgets:f.map((function(e){return e.split(",").map((function(e){if("title"===e)return v=!0,{buttonName:e};var n,f,p,g,m,y;if(n=s[e])p=function(e){n.click&&n.click.call(e.target,e,e.target)},(g=r.getCustomButtonIconClass(n))||(g=r.getIconClass(e,o))||(m=n.text),y=n.hint||n.text;else if(f=i[e]){h.push(e),p=function(){a.changeView(e)},(m=f.buttonTextOverride)||(g=r.getIconClass(e,o))||(m=f.buttonTextDefault);var b=f.buttonTextOverride||f.buttonTextDefault;y=ct(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[b,e],b)}else if(a[e])if(p=function(){a[e]()},(m=l[e])||(g=r.getIconClass(e,o))||(m=c[e]),"prevYear"===e||"nextYear"===e){var _="prevYear"===e?"prev":"next";y=ct(u[_]||d[_],[c.year||"year","year"],c[e])}else y=function(t){return ct(u[e]||d[e],[c[t]||t,t],c[e])};return{buttonName:e,buttonClick:p,buttonIcon:g,buttonText:m,buttonHint:y}}))})),viewsWithButtons:h,hasTitle:v}}var ds=function(){return _createClass((function e(t,n,r){_classCallCheck(this,e),this.type=t,this.getCurrentData=n,this.dateEnv=r}),[{key:"calendar",get:function(){return this.getCurrentData().calendarApi}},{key:"title",get:function(){return this.getCurrentData().viewTitle}},{key:"activeStart",get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}},{key:"activeEnd",get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}},{key:"currentStart",get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}},{key:"currentEnd",get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}},{key:"getOption",value:function(e){return this.getCurrentData().options[e]}}])}();var fs={daysOfWeek:_n,startTime:pt,endTime:pt,duration:pt,startRecur:_n,endRecur:_n};function hs(e,t){var n=Dn(t.getCurrentData().eventSources);if(1===n.length&&1===e.length&&Array.isArray(n[0]._raw)&&Array.isArray(e[0]))t.dispatch({type:"RESET_RAW_EVENTS",sourceId:n[0].sourceId,rawEvents:e[0]});else{var r,i=[],a=_createForOfIteratorHelper(e);try{for(a.s();!(r=a.n()).done;){for(var o=r.value,s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===o){n.splice(l,1),s=!0;break}s||i.push(o)}}catch(e){a.e(e)}finally{a.f()}var c,u=_createForOfIteratorHelper(n);try{for(u.s();!(c=u.n()).done;){var d=c.value;t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}}catch(e){u.e(e)}finally{u.f()}for(var f=0,h=i;f<h.length;f++){var v=h[f];t.calendarApi.addEventSource(v)}}}var vs=[Fo({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta:e=>Array.isArray(e.events)?e.events:null,fetch(e,t){t({rawEvents:e.eventSource.meta})}}]}),Fo({name:"func-event-source",eventSourceDefs:[{parseMeta:e=>"function"==typeof e.events?e.events:null,fetch(e,t,n){var r=e.context.dateEnv;wi(e.eventSource.meta.bind(null,Ai(e.range,r)),(function(e){return t({rawEvents:e})}),n)}}]}),Fo({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:_n,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:e=>!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam},fetch(e,t,n){var r=e.eventSource.meta,i=function(e,t,n){var r,i,a,o,s=n.dateEnv,l=n.options,c={};r=e.startParam,null==r&&(r=l.startParam);i=e.endParam,null==i&&(i=l.endParam);a=e.timeZoneParam,null==a&&(a=l.timeZoneParam);o="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};Object.assign(c,o),c[r]=s.formatIso(t.start),c[i]=s.formatIso(t.end),"local"!==s.timeZone&&(c[a]=s.timeZone);return c}(r,e.range,e.context);xi(r.method,r.url,i).then((function(e){var n=_slicedToArray(e,2),r=n[0],i=n[1];t({rawEvents:r,response:i})}),n)}}]}),Fo({name:"simple-recurring-event",recurringTypes:[{parse(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n,r={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null};return e.duration&&(n=e.duration),!n&&e.startTime&&e.endTime&&(i=e.endTime,a=e.startTime,n={years:i.years-a.years,months:i.months-a.months,days:i.days-a.days,milliseconds:i.milliseconds-a.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:n,typeData:r}}var i,a;return null},expand(e,t,n){var r=or(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){var i=e?An(e):null,a=Ot(n.start),o=n.end,s=[];for(;a<o;){var l=void 0;i&&!i[a.getUTCDay()]||(l=t?r.add(a,t):a,s.push(l)),a=Dt(a,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:fs}),Fo({name:"change-handler",optionChangeHandlers:{events(e,t){hs([e],t)},eventSources:hs}}),Fo({name:"misc",isLoadingFuncs:[function(e){return Jo(e.eventSources)}],propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",Object.assign(Object.assign({},Ai(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",ai(e,t))}}})],ps=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.runTaskOption=t,this.drainedOption=n,this.queue=[],this.delayedRunner=new Oe(this.drain.bind(this))}),[{key:"request",value:function(e,t){this.queue.push(e),this.delayedRunner.request(t)}},{key:"pause",value:function(e){this.delayedRunner.pause(e)}},{key:"resume",value:function(e,t){this.delayedRunner.resume(e,t)}},{key:"drain",value:function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}}},{key:"runTask",value:function(e){this.runTaskOption&&this.runTaskOption(e)}},{key:"drained",value:function(e){this.drainedOption&&this.drainedOption(e)}}])}();function gs(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,cn(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=It(e.currentRange.start,e.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var ms=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this.computeCurrentViewData=qt(this._computeCurrentViewData),this.organizeRawLocales=qt(Po),this.buildLocale=qt(jo),this.buildPluginHooks=zo(),this.buildDateEnv=qt(ys),this.buildTheme=qt(bs),this.parseToolbars=qt(ls),this.buildViewSpecs=qt(qo),this.buildDateProfileGenerator=Yt(_s),this.buildViewApi=qt(Cs),this.buildViewUiProps=Yt(Ss),this.buildEventUiBySource=qt(Es,wn),this.buildEventUiBases=qt(ks),this.parseContextBusinessHours=Yt(Ds),this.buildTitle=qt(gs),this.emitter=new qr,this.actionRunner=new ps(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=function(){return n.data},this.dispatch=function(e){n.actionRunner.request(e)},this.props=t,this.actionRunner.pause();var r={},i=this.computeOptionsData(t.optionOverrides,r,t.calendarApi),a=i.calendarOptions.initialView||i.pluginHooks.initialView,o=this.computeCurrentViewData(a,i,t.optionOverrides,r);t.calendarApi.currentDataManager=this,this.emitter.setThisContext(t.calendarApi),this.emitter.setOptions(o.options);var s,l,c,u=(s=i.calendarOptions,l=i.dateEnv,null!=(c=s.initialDate)?l.createMarker(c):pr(s.now,l)),d=o.dateProfileGenerator.build(u);ur(d.activeRange,u)||(u=d.currentRange.start);var f,h={dateEnv:i.dateEnv,options:i.calendarOptions,pluginHooks:i.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},v=_createForOfIteratorHelper(i.pluginHooks.contextInit);try{for(v.s();!(f=v.n()).done;){(0,f.value)(h)}}catch(e){v.e(e)}finally{v.f()}var p,g=Zo(i.calendarOptions,d,h),m={dynamicOptionOverrides:r,currentViewType:a,currentDate:u,dateProfile:d,businessHours:this.parseContextBusinessHours(h),eventSources:g,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(h).selectionConfig},y=Object.assign(Object.assign({},h),m),b=_createForOfIteratorHelper(i.pluginHooks.reducers);try{for(b.s();!(p=b.n()).done;){var _=p.value;Object.assign(m,_(null,null,y))}}catch(e){b.e(e)}finally{b.f()}As(m,h)&&this.emitter.trigger("loading",!0),this.state=m,this.updateData(),this.actionRunner.resume()}),[{key:"resetOptions",value:function(e,t){var n,r=this.props;void 0===t?r.optionOverrides=e:(r.optionOverrides=Object.assign(Object.assign({},r.optionOverrides||{}),e),(n=this.optionsForRefining).push.apply(n,_toConsumableArray(t)));(void 0===t||t.length)&&this.actionRunner.request({type:"NOTHING"})}},{key:"_handleAction",value:function(e){var t=this.props,n=this.state,r=this.emitter,i=function(e,t){return"SET_OPTION"===t.type?Object.assign(Object.assign({},e),{[t.optionName]:t.rawOptionValue}):e}(n.dynamicOptionOverrides,e),a=this.computeOptionsData(t.optionOverrides,i,t.calendarApi),o=function(e,t){"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType);return e}(n.currentViewType,e),s=this.computeCurrentViewData(o,a,t.optionOverrides,i);t.calendarApi.currentDataManager=this,r.setThisContext(t.calendarApi),r.setOptions(s.options);var l={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:r,getCurrentData:this.getCurrentData},c=n.currentDate,u=n.dateProfile;this.data&&this.data.dateProfileGenerator!==s.dateProfileGenerator&&(u=s.dateProfileGenerator.build(c)),c=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(c,e),u=function(e,t,n,r){var i;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((i=r.buildPrev(e,n)).isValid)return i;break;case"NEXT":if((i=r.buildNext(e,n)).isValid)return i}return e}(u,e,c,s.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&ur(u.currentRange,c)||(c=u.currentRange.start);var d,f=Xo(n.eventSources,e,u,l),h=Wr(n.eventStore,e,f,u,l),v=Jo(f)&&!s.options.progressiveEventRendering&&n.renderableEventStore||h,p=this.buildViewUiProps(l),g=p.eventUiSingleBase,m=p.selectionConfig,y=this.buildEventUiBySource(f),b={dynamicOptionOverrides:i,currentViewType:o,currentDate:c,dateProfile:u,eventSources:f,eventStore:h,renderableEventStore:v,selectionConfig:m,eventUiBases:this.buildEventUiBases(v.defs,g,y),businessHours:this.parseContextBusinessHours(l),dateSelection:is(n.dateSelection,e),eventSelection:as(n.eventSelection,e),eventDrag:os(n.eventDrag,e),eventResize:ss(n.eventResize,e)},_=Object.assign(Object.assign({},l),b),C=_createForOfIteratorHelper(a.pluginHooks.reducers);try{for(C.s();!(d=C.n()).done;){var E=d.value;Object.assign(b,E(n,e,_))}}catch(e){C.e(e)}finally{C.f()}var k=As(n,l),S=As(b,l);!k&&S?r.trigger("loading",!0):k&&!S&&r.trigger("loading",!1),this.state=b,t.onAction&&t.onAction(e)}},{key:"updateData",value:function(){var e,t,n,r,i=this.props,a=this.state,o=this.data,s=this.computeOptionsData(i.optionOverrides,a.dynamicOptionOverrides,i.calendarApi),l=this.computeCurrentViewData(a.currentViewType,s,i.optionOverrides,a.dynamicOptionOverrides),c=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(a.dateProfile,l.options,s.dateEnv),calendarApi:i.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},s),l),a),u=s.pluginHooks.optionChangeHandlers,d=o&&o.calendarOptions,f=s.calendarOptions;if(d&&d!==f)for(var h in d.timeZone!==f.timeZone&&(a.eventSources=c.eventSources=(e=c.eventSources,t=a.dateProfile,n=c,r=t?t.activeRange:null,es(e,ns(e,n),r,!0,n)),a.eventStore=c.eventStore=Gr(c.eventStore,o.dateEnv,c.dateEnv),a.renderableEventStore=c.renderableEventStore=Gr(c.renderableEventStore,o.dateEnv,c.dateEnv)),u)-1===this.optionsForHandling.indexOf(h)&&d[h]===f[h]||u[h](f[h],c);this.optionsForHandling=[],i.onData&&i.onData(c)}},{key:"computeOptionsData",value:function(e,t,n){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;var r=this.processRawCalendarOptions(e,t),i=r.refinedOptions,a=r.pluginHooks,o=r.localeDefaults,s=r.availableLocaleData;ws(r.extra);var l=this.buildDateEnv(i.timeZone,i.locale,i.weekNumberCalculation,i.firstDay,i.weekText,a,s,i.defaultRangeSeparator),c=this.buildViewSpecs(a.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,o),u=this.buildTheme(i,a),d=this.parseToolbars(i,this.stableOptionOverrides,u,c,n);return this.stableCalendarOptionsData={calendarOptions:i,pluginHooks:a,dateEnv:l,viewSpecs:c,theme:u,toolbarConfig:d,localeDefaults:o,availableRawLocales:s.map}}},{key:"processRawCalendarOptions",value:function(e,t){var n,r=yn([dn,e,t]),i=r.locales,a=r.locale,o=this.organizeRawLocales(i),s=o.map,l=this.buildLocale(a||o.defaultCode,s).options,c=this.buildPluginHooks(e.plugins||[],vs),u=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},un),fn),hn),c.listenerRefiners),c.optionRefiners),d={},f=yn([dn,l,e,t]),h={},v=this.currentCalendarOptionsInput,p=this.currentCalendarOptionsRefined,g=!1;for(var m in f)-1===this.optionsForRefining.indexOf(m)&&(f[m]===v[m]||vn[m]&&m in v&&vn[m](v[m],f[m]))?h[m]=p[m]:u[m]?(h[m]=u[m](f[m]),g=!0):d[m]=v[m];return g&&(this.currentCalendarOptionsInput=f,this.currentCalendarOptionsRefined=h,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),(n=this.optionsForHandling).push.apply(n,_toConsumableArray(this.optionsForRefining)),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:c,availableLocaleData:o,localeDefaults:l,extra:d}}},{key:"_computeCurrentViewData",value:function(e,t,n,r){var i=t.viewSpecs[e];if(!i)throw new Error('viewType "'.concat(e,"\" is not available. Please make sure you've loaded all neccessary plugins"));var a=this.processRawViewOptions(i,t.pluginHooks,t.localeDefaults,n,r),o=a.refinedOptions;return ws(a.extra),{viewSpec:i,options:o,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:i.optionDefaults.dateProfileGeneratorClass,duration:i.duration,durationUnit:i.durationUnit,usesMinMaxTime:i.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:o.slotMinTime,slotMaxTime:o.slotMaxTime,showNonCurrentDates:o.showNonCurrentDates,dayCount:o.dayCount,dateAlignment:o.dateAlignment,dateIncrement:o.dateIncrement,hiddenDays:o.hiddenDays,weekends:o.weekends,nowInput:o.now,validRangeInput:o.validRange,visibleRangeInput:o.visibleRange,fixedWeekCount:o.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}}},{key:"processRawViewOptions",value:function(e,t,n,r,i){var a=yn([dn,e.optionDefaults,n,r,e.optionOverrides,i]),o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},un),fn),hn),mn),t.listenerRefiners),t.optionRefiners),s={},l=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,u=!1,d={};for(var f in a)a[f]===l[f]||vn[f]&&vn[f](a[f],l[f])?s[f]=c[f]:(a[f]===this.currentCalendarOptionsInput[f]||vn[f]&&vn[f](a[f],this.currentCalendarOptionsInput[f])?f in this.currentCalendarOptionsRefined&&(s[f]=this.currentCalendarOptionsRefined[f]):o[f]?s[f]=o[f](a[f]):d[f]=a[f],u=!0);return u&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}}}])}();function ys(e,t,n,r,i,a,o,s){var l=jo(t||o.defaultCode,o.map);return new Bn({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:a.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:i,cmdFormatter:a.cmdFormatter,defaultSeparator:s})}function bs(e,t){return new(t.themeClasses[e.themeSystem]||Wo)(e)}function _s(e){return new(e.dateProfileGeneratorClass||gr)(e)}function Cs(e,t,n){return new ds(e,t,n)}function Es(e){return Sn(e,(function(e){return e.ui}))}function ks(e,t,n){var r={"":t};for(var i in e){var a=e[i];a.sourceId&&n[a.sourceId]&&(r[i]=n[a.sourceId])}return r}function Ss(e){var t=e.options;return{eventUiSingleBase:Pr({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:Pr({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function As(e,t){var n,r=_createForOfIteratorHelper(t.pluginHooks.isLoadingFuncs);try{for(r.s();!(n=r.n()).done;){if((0,n.value)(e))return!0}}catch(e){r.e(e)}finally{r.f()}return!1}function Ds(e){return Zr(e.options.businessHours,e)}function ws(e,t){for(var n in e)"Unknown option '".concat(n,"'"),t&&" for view '".concat(t,"'")}var Rs=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return p.apply(void 0,["div",{className:"fc-toolbar-chunk"}].concat(_toConsumableArray(t)))}},{key:"renderWidgetGroup",value:function(e){var t,n=this.props,r=this.context.theme,i=[],a=!0,o=_createForOfIteratorHelper(e);try{for(o.s();!(t=o.n()).done;){var s=t.value,l=s.buttonName,c=s.buttonClick,u=s.buttonText,d=s.buttonIcon,f=s.buttonHint;if("title"===l)a=!1,i.push(p("h2",{className:"fc-toolbar-title",id:n.titleId},n.title));else{var h=l===n.activeButton,v=!n.isTodayEnabled&&"today"===l||!n.isPrevEnabled&&"prev"===l||!n.isNextEnabled&&"next"===l,g=["fc-".concat(l,"-button"),r.getClass("button")];h&&g.push(r.getClass("buttonActive")),i.push(p("button",{type:"button",title:"function"==typeof f?f(n.navUnit):f,disabled:v,"aria-pressed":h,className:g.join(" "),onClick:c},u||(d?p("span",{className:d,role:"img"}):"")))}}}catch(e){o.e(e)}finally{o.f()}if(i.length>1){var m=a&&r.getClass("buttonGroup")||"";return p.apply(void 0,["div",{className:m}].concat(i))}return i[0]}}])}(qn),Ts=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.model,i=n.extraClassName,a=!1,o=r.sectionWidgets,s=o.center;return o.left?(a=!0,e=o.left):e=o.start,o.right?(a=!0,t=o.right):t=o.end,p("div",{className:[i||"","fc-toolbar",a?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))}},{key:"renderSection",value:function(e,t){var n=this.props;return p(Rs,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})}}])}(qn),xs=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).state={availableWidth:null},e.handleEl=function(t){e.el=t,Yn(e.props.elRef,t),e.updateAvailableWidth()},e.handleResize=function(){e.updateAvailableWidth()},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],i="",a="";return n?null!==t.availableWidth?i=t.availableWidth/n:a="".concat(1/n*100,"%"):i=e.height||"",p("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:i,paddingBottom:a}},e.children)}},{key:"componentDidMount",value:function(){this.context.addResizeHandler(this.handleResize)}},{key:"componentWillUnmount",value:function(){this.context.removeResizeHandler(this.handleResize)}},{key:"updateAvailableWidth",value:function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}])}(qn),Ms=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t,[e])).handleSegClick=function(e,t){var r=n.component,i=r.context,a=ci(t);if(a&&r.isValidSegDownEl(e.target)){var o=He(e.target,".fc-event-forced-url"),s=o?o.querySelector("a[href]").href:"";i.emitter.trigger("eventClick",{el:t,event:new ri(r.context,a.eventRange.def,a.eventRange.instance),jsEvent:e,view:i.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=Ge(e.el,"click",".fc-event",n.handleSegClick),n}return _inherits(t,e),_createClass(t)}(Oi),Is=function(e){function t(e){var n,r,i,a,o,s;return _classCallCheck(this,t),(n=_callSuper(this,t,[e])).handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){ci(t)&&(n.currentSegEl=t,n.triggerEvent("eventMouseEnter",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",e,t))},n.removeHoverListeners=(r=e.el,i=".fc-event",a=n.handleSegEnter,o=n.handleSegLeave,Ge(r,"mouseover",i,(function(e,t){if(t!==s){s=t,a(e,t);var n=function(e){s=null,o(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}))),n}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.removeHoverListeners()}},{key:"triggerEvent",value:function(e,t,n){var r=this.component,i=r.context,a=ci(n);t&&!r.isValidSegDownEl(t.target)||i.emitter.trigger(e,{el:n,event:new ri(i,a.eventRange.def,a.eventRange.instance),jsEvent:t,view:i.viewApi})}}])}(Oi),Os=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).buildViewContext=qt(Gn),e.buildViewPropTransformers=qt(Hs),e.buildToolbarProps=qt(Ns),e.headerRef={current:null},e.footerRef={current:null},e.interactionsStore={},e.state={viewLabelId:Le()},e.registerInteractiveComponent=function(t,n){var r=function(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}(t,n),i=[Ms,Is].concat(e.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));e.interactionsStore[t.uid]=i,Hi[t.uid]=r},e.unregisterInteractiveComponent=function(t){var n=e.interactionsStore[t.uid];if(n){var r,i=_createForOfIteratorHelper(n);try{for(i.s();!(r=i.n()).done;){r.value.destroy()}}catch(e){i.e(e)}finally{i.f()}delete e.interactionsStore[t.uid]}delete Hi[t.uid]},e.resizeRunner=new Oe((function(){e.props.emitter.trigger("_resize",!0),e.props.emitter.trigger("windowResize",{view:e.props.viewApi})})),e.handleWindowResize=function(t){var n=e.props.options;n.handleWindowResize&&t.target===window&&e.resizeRunner.request(n.windowResizeDelay)},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,i=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,pr(t.options.now,t.dateEnv),t.viewTitle),a=!1,o="";t.isHeightAuto||t.forPrint?o="":null!=r.height?a=!0:null!=r.contentHeight?o=r.contentHeight:e=Math.max(r.aspectRatio,.5);var s=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=n.header&&n.header.hasTitle?this.state.viewLabelId:void 0;return p(Vn.Provider,{value:s},n.header&&p(Ts,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},i)),p(xs,{liquid:a,height:o,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&p(Ts,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},i)))}},{key:"componentDidMount",value:function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();var e,t=_createForOfIteratorHelper(this.calendarInteractions);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(e){t.e(e)}finally{t.f()}this.props.emitter.trigger("_unmount")}},{key:"buildAppendContent",value:function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return p.apply(void 0,[y,{}].concat(_toConsumableArray(t)))}},{key:"renderView",value:function(e){var t,n=e.pluginHooks,r=e.viewSpec,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},a=_createForOfIteratorHelper(this.buildViewPropTransformers(n.viewPropsTransformers));try{for(a.s();!(t=a.n()).done;){var o=t.value;Object.assign(i,o.transform(i,e))}}catch(e){a.e(e)}finally{a.f()}return p(r.component,Object.assign({},i))}}])}(Qn);function Ns(e,t,n,r,i,a){var o=n.build(i,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:a,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:o.isValid&&!ur(t.currentRange,i),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function Hs(e){return e.map((function(e){return new e}))}var Ps=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _classCallCheck(this,t),(n=_callSuper(this,t)).isRendering=!1,n.isRendered=!1,n.currentClassNames=[],n.customContentRenderId=0,n.handleAction=function(e){switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":n.renderRunner.tryDrain()}},n.handleData=function(e){n.currentData=e,n.renderRunner.request(e.calendarOptions.rerenderDelay)},n.handleRenderRequest=function(){if(n.isRendering){n.isRendered=!0;var e=n.currentData;zn((function(){z(p(Ii,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,r,i,a){return n.setClassNames(t),n.setHeight(r),p($n.Provider,{value:n.customContentRenderId},p(Os,Object.assign({isHeightAuto:i,forPrint:a},e)))})),n.el)}))}else n.isRendered&&(n.isRendered=!1,z(null,n.el),n.setClassNames([]),n.setHeight(""))},function(e){e.isConnected&&e.getRootNode&&Me(e.getRootNode())}(e),n.el=e,n.renderRunner=new Oe(n.handleRenderRequest),new ms({optionOverrides:r,calendarApi:n,onAction:n.handleAction,onData:n.handleData}),n}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}},{key:"destroy",value:function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}},{key:"updateSize",value:function(){var e=this;zn((function(){_superPropGet(t,"updateSize",e,3)([])}))}},{key:"batchRendering",value:function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}},{key:"pauseRendering",value:function(){this.renderRunner.pause("pauseRendering")}},{key:"resumeRendering",value:function(){this.renderRunner.resume("pauseRendering",!0)}},{key:"resetOptions",value:function(e,t){this.currentDataManager.resetOptions(e,t)}},{key:"setClassNames",value:function(e){if(!kt(e,this.currentClassNames)){var t,n=this.el.classList,r=_createForOfIteratorHelper(this.currentClassNames);try{for(r.s();!(t=r.n()).done;){var i=t.value;n.remove(i)}}catch(e){r.e(e)}finally{r.f()}var a,o=_createForOfIteratorHelper(e);try{for(o.s();!(a=o.n()).done;){var s=a.value;n.add(s)}}catch(e){o.e(e)}finally{o.f()}this.currentClassNames=e}}},{key:"setHeight",value:function(e){ze(this.el,"height",e)}}])}(Pi);function js(e){var t=jo(e.locale||"en",Po([]).map);return new Bn(Object.assign(Object.assign({timeZone:dn.timeZone,calendarSystem:"gregory"},e),{locale:t}))}_a.touchMouseIgnoreWait=500;var Bs=0,Fs=0,zs=!1,Us=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){if(!n.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&n.tryStart(e)){var t=n.createEventFromMouse(e,!0);n.emitter.trigger("pointerdown",t),n.initScrollWatch(t),n.shouldIgnoreMove||document.addEventListener("mousemove",n.handleMouseMove),document.addEventListener("mouseup",n.handleMouseUp)}},this.handleMouseMove=function(e){var t=n.createEventFromMouse(e);n.recordCoords(t),n.emitter.trigger("pointermove",t)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",n.handleMouseMove),document.removeEventListener("mouseup",n.handleMouseUp),n.emitter.trigger("pointerup",n.createEventFromMouse(e)),n.cleanup()},this.handleTouchStart=function(e){if(n.tryStart(e)){n.isTouchDragging=!0;var t=n.createEventFromTouch(e,!0);n.emitter.trigger("pointerdown",t),n.initScrollWatch(t);var r=e.target;n.shouldIgnoreMove||r.addEventListener("touchmove",n.handleTouchMove),r.addEventListener("touchend",n.handleTouchEnd),r.addEventListener("touchcancel",n.handleTouchEnd),window.addEventListener("scroll",n.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var t=n.createEventFromTouch(e);n.recordCoords(t),n.emitter.trigger("pointermove",t)},this.handleTouchEnd=function(e){if(n.isDragging){var t=e.target;t.removeEventListener("touchmove",n.handleTouchMove),t.removeEventListener("touchend",n.handleTouchEnd),t.removeEventListener("touchcancel",n.handleTouchEnd),window.removeEventListener("scroll",n.handleTouchScroll,!0),n.emitter.trigger("pointerup",n.createEventFromTouch(e)),n.cleanup(),n.isTouchDragging=!1,Bs+=1,setTimeout((function(){Bs-=1}),_a.touchMouseIgnoreWait)}},this.handleTouchScroll=function(){n.wasTouchScroll=!0},this.handleScroll=function(e){if(!n.shouldIgnoreMove){var t=window.scrollX-n.prevScrollX+n.prevPageX,r=window.scrollY-n.prevScrollY+n.prevPageY;n.emitter.trigger("pointermove",{origEvent:e,isTouch:n.isTouchDragging,subjectEl:n.subjectEl,pageX:t,pageY:r,deltaX:t-n.origPageX,deltaY:r-n.origPageY})}},this.containerEl=t,this.emitter=new qr,t.addEventListener("mousedown",this.handleMouseDown),t.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(Fs+=1)&&window.addEventListener("touchmove",Ws,{passive:!1})}),[{key:"destroy",value:function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(Fs-=1)||window.removeEventListener("touchmove",Ws,{passive:!1})}},{key:"tryStart",value:function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!He(n,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)}},{key:"cleanup",value:function(){zs=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}},{key:"querySubjectEl",value:function(e){return this.selector?He(e.target,this.selector):this.containerEl}},{key:"shouldIgnoreMouse",value:function(){return Bs||this.isTouchDragging}},{key:"cancelTouchScroll",value:function(){this.isDragging&&(zs=!0)}},{key:"initScrollWatch",value:function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}},{key:"recordCoords",value:function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.scrollX,this.prevScrollY=window.scrollY)}},{key:"destroyScrollWatch",value:function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}},{key:"createEventFromMouse",value:function(e,t){var n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}}},{key:"createEventFromTouch",value:function(e,t){var n,r,i=e.touches,a=0,o=0;return i&&i.length?(n=i[0].pageX,r=i[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(a=n-this.origPageX,o=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:a,deltaY:o}}}])}();function Ws(e){zs&&e.preventDefault()}var Ls=function(){return _createClass((function e(){_classCallCheck(this,e),this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}),[{key:"start",value:function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.scrollX,this.origScreenY=n-window.scrollY,this.deltaX=0,this.deltaY=0,this.updateElPosition()}},{key:"handleMove",value:function(e,t){this.deltaX=e-window.scrollX-this.origScreenX,this.deltaY=t-window.scrollY-this.origScreenY,this.updateElPosition()}},{key:"setIsVisible",value:function(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}},{key:"stop",value:function(e,t){var n=this,r=function(){n.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)}},{key:"doRevertAnimation",value:function(e,t){var n=this.mirrorEl,r=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",Fe(n,{left:r.left,top:r.top}),qe(n,(function(){n.style.transition="",e()}))}},{key:"cleanup",value:function(){this.mirrorEl&&(Ne(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}},{key:"updateElPosition",value:function(){this.sourceEl&&this.isVisible&&Fe(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}},{key:"getMirrorEl",value:function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).style.userSelect="none",t.style.webkitUserSelect="none",t.style.pointerEvents="none",t.classList.add("fc-event-dragging"),Fe(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t}}])}(),Vs=function(e){function t(e,n){var r;return _classCallCheck(this,t),(r=_callSuper(this,t)).handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=e,r.doesListening=n,r.scrollTop=r.origScrollTop=e.getScrollTop(),r.scrollLeft=r.origScrollLeft=e.getScrollLeft(),r.scrollWidth=e.getScrollWidth(),r.scrollHeight=e.getScrollHeight(),r.clientWidth=e.getClientWidth(),r.clientHeight=e.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}},{key:"getScrollTop",value:function(){return this.scrollTop}},{key:"getScrollLeft",value:function(){return this.scrollLeft}},{key:"setScrollTop",value:function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}},{key:"setScrollLeft",value:function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}},{key:"getClientWidth",value:function(){return this.clientWidth}},{key:"getClientHeight",value:function(){return this.clientHeight}},{key:"getScrollWidth",value:function(){return this.scrollWidth}},{key:"getScrollHeight",value:function(){return this.scrollHeight}},{key:"handleScrollChange",value:function(){}}])}(sa),Gs=function(e){function t(e,n){return _classCallCheck(this,t),_callSuper(this,t,[new la(e),n])}return _inherits(t,e),_createClass(t,[{key:"getEventTarget",value:function(){return this.scrollController.el}},{key:"computeClientRect",value:function(){return na(this.scrollController.el)}}])}(Vs),Qs=function(e){function t(e){return _classCallCheck(this,t),_callSuper(this,t,[new ca,e])}return _inherits(t,e),_createClass(t,[{key:"getEventTarget",value:function(){return window}},{key:"computeClientRect",value:function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}},{key:"handleScrollChange",value:function(){this.clientRect=this.computeClientRect()}}])}(Vs),qs="function"==typeof performance?performance.now:Date.now,Ys=function(){return _createClass((function e(){var t=this;_classCallCheck(this,e),this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){if(t.isAnimating){var e=t.computeBestEdge(t.pointerScreenX+window.scrollX,t.pointerScreenY+window.scrollY);if(e){var n=qs();t.handleSide(e,(n-t.msSinceRequest)/1e3),t.requestAnimation(n)}else t.isAnimating=!1}}}),[{key:"start",value:function(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))}},{key:"handleMove",value:function(e,t){if(this.isEnabled){var n=e-window.scrollX,r=t-window.scrollY,i=null===this.pointerScreenY?0:r-this.pointerScreenY,a=null===this.pointerScreenX?0:n-this.pointerScreenX;i<0?this.everMovedUp=!0:i>0&&(this.everMovedDown=!0),a<0?this.everMovedLeft=!0:a>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(qs()))}}},{key:"stop",value:function(){if(this.isEnabled){this.isAnimating=!1;var e,t=_createForOfIteratorHelper(this.scrollCaches);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(e){t.e(e)}finally{t.f()}this.scrollCaches=null}}},{key:"requestAnimation",value:function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}},{key:"handleSide",value:function(e,t){var n=e.scrollCache,r=this.edgeThreshold,i=r-e.distance,a=i*i/(r*r)*this.maxVelocity*t,o=1;switch(e.name){case"left":o=-1;case"right":n.setScrollLeft(n.getScrollLeft()+a*o);break;case"top":o=-1;case"bottom":n.setScrollTop(n.getScrollTop()+a*o)}}},{key:"computeBestEdge",value:function(e,t){var n,r=this.edgeThreshold,i=null,a=_createForOfIteratorHelper(this.scrollCaches||[]);try{for(a.s();!(n=a.n()).done;){var o=n.value,s=o.clientRect,l=e-s.left,c=s.right-e,u=t-s.top,d=s.bottom-t;l>=0&&c>=0&&u>=0&&d>=0&&(u<=r&&this.everMovedUp&&o.canScrollUp()&&(!i||i.distance>u)&&(i={scrollCache:o,name:"top",distance:u}),d<=r&&this.everMovedDown&&o.canScrollDown()&&(!i||i.distance>d)&&(i={scrollCache:o,name:"bottom",distance:d}),l<=r&&this.everMovedLeft&&o.canScrollLeft()&&(!i||i.distance>l)&&(i={scrollCache:o,name:"left",distance:l}),c<=r&&this.everMovedRight&&o.canScrollRight()&&(!i||i.distance>c)&&(i={scrollCache:o,name:"right",distance:c}))}}catch(e){a.e(e)}finally{a.f()}return i}},{key:"buildCaches",value:function(e){return this.queryScrollEls(e).map((function(e){return e===window?new Qs(!1):new Gs(e,!1)}))}},{key:"queryScrollEls",value:function(e){var t,n=[],r=_createForOfIteratorHelper(this.scrollQuery);try{for(r.s();!(t=r.n()).done;){var i=t.value;"object"==typeof i?n.push(i):n.push.apply(n,_toConsumableArray(Array.prototype.slice.call(e.getRootNode().querySelectorAll(i))))}}catch(e){r.e(e)}finally{r.f()}return n}}])}(),Zs=function(e){function t(e,n){var r;_classCallCheck(this,t),(r=_callSuper(this,t,[e])).containerEl=e,r.delay=null,r.minDistance=0,r.touchScrollAllowed=!0,r.mirrorNeedsRevert=!1,r.isInteracting=!1,r.isDragging=!1,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,r.delayTimeoutId=null,r.onPointerDown=function(e){r.isDragging||(r.isInteracting=!0,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,et(document.body),nt(document.body),e.isTouch||e.origEvent.preventDefault(),r.emitter.trigger("pointerdown",e),r.isInteracting&&!r.pointer.shouldIgnoreMove&&(r.mirror.setIsVisible(!1),r.mirror.start(e.subjectEl,e.pageX,e.pageY),r.startDelay(e),r.minDistance||r.handleDistanceSurpassed(e)))},r.onPointerMove=function(e){if(r.isInteracting){if(r.emitter.trigger("pointermove",e),!r.isDistanceSurpassed){var t=r.minDistance,n=e.deltaX,i=e.deltaY;n*n+i*i>=t*t&&r.handleDistanceSurpassed(e)}r.isDragging&&("scroll"!==e.origEvent.type&&(r.mirror.handleMove(e.pageX,e.pageY),r.autoScroller.handleMove(e.pageX,e.pageY)),r.emitter.trigger("dragmove",e))}},r.onPointerUp=function(e){r.isInteracting&&(r.isInteracting=!1,tt(document.body),rt(document.body),r.emitter.trigger("pointerup",e),r.isDragging&&(r.autoScroller.stop(),r.tryStopDrag(e)),r.delayTimeoutId&&(clearTimeout(r.delayTimeoutId),r.delayTimeoutId=null))};var i=r.pointer=new Us(e);return i.emitter.on("pointerdown",r.onPointerDown),i.emitter.on("pointermove",r.onPointerMove),i.emitter.on("pointerup",r.onPointerUp),n&&(i.selector=n),r.mirror=new Ls,r.autoScroller=new Ys,r}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.pointer.destroy(),this.onPointerUp({})}},{key:"startDelay",value:function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)}},{key:"handleDelayEnd",value:function(e){this.isDelayEnded=!0,this.tryStartDrag(e)}},{key:"handleDistanceSurpassed",value:function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}},{key:"tryStartDrag",value:function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))}},{key:"tryStopDrag",value:function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}},{key:"stopDrag",value:function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}},{key:"setIgnoreMove",value:function(e){this.pointer.shouldIgnoreMove=e}},{key:"setMirrorIsVisible",value:function(e){this.mirror.setIsVisible(e)}},{key:"setMirrorNeedsRevert",value:function(e){this.mirrorNeedsRevert=e}},{key:"setAutoScrollEnabled",value:function(e){this.autoScroller.isEnabled=e}}])}(ba),Xs=function(){return _createClass((function e(t){_classCallCheck(this,e),this.el=t,this.origRect=ra(t),this.scrollCaches=ia(t).map((function(e){return new Gs(e,!0)}))}),[{key:"destroy",value:function(){var e,t=_createForOfIteratorHelper(this.scrollCaches);try{for(t.s();!(e=t.n()).done;){e.value.destroy()}}catch(e){t.e(e)}finally{t.f()}}},{key:"computeLeft",value:function(){var e,t=this.origRect.left,n=_createForOfIteratorHelper(this.scrollCaches);try{for(n.s();!(e=n.n()).done;){var r=e.value;t+=r.origScrollLeft-r.getScrollLeft()}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"computeTop",value:function(){var e,t=this.origRect.top,n=_createForOfIteratorHelper(this.scrollCaches);try{for(n.s();!(e=n.n()).done;){var r=e.value;t+=r.origScrollTop-r.getScrollTop()}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"isWithinClipping",value:function(e,t){var n,r,i,a={left:e,top:t},o=_createForOfIteratorHelper(this.scrollCaches);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(r=s.getEventTarget(),i=void 0,"HTML"!==(i=r.tagName)&&"BODY"!==i&&!ji(a,s.clientRect))return!1}}catch(e){o.e(e)}finally{o.f()}return!0}}])}();var Js=function(){return _createClass((function e(t,n){var r=this;_classCallCheck(this,e),this.useSubjectCenter=!1,this.requireInitial=!0,this.disablePointCheck=!1,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=r.dragging;r.initialHit=null,r.movingHit=null,r.finalHit=null,r.prepareHits(),r.processFirstCoord(e),r.initialHit||!r.requireInitial?(t.setIgnoreMove(!1),r.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){r.emitter.trigger("dragstart",e),r.handleMove(e,!0)},this.handleDragMove=function(e){r.emitter.trigger("dragmove",e),r.handleMove(e)},this.handlePointerUp=function(e){r.releaseHits(),r.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){r.movingHit&&r.emitter.trigger("hitupdate",null,!0,e),r.finalHit=r.movingHit,r.movingHit=null,r.emitter.trigger("dragend",e)},this.droppableStore=n,t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragstart",this.handleDragStart),t.emitter.on("dragmove",this.handleDragMove),t.emitter.on("pointerup",this.handlePointerUp),t.emitter.on("dragend",this.handleDragEnd),this.dragging=t,this.emitter=new qr}),[{key:"processFirstCoord",value:function(e){var t,n={left:e.pageX,top:e.pageY},r=n,i=e.subjectEl;i instanceof HTMLElement&&(r=Fi(r,t=ra(i)));var a=this.initialHit=this.queryHitForOffset(r.left,r.top);if(a){if(this.useSubjectCenter&&t){var o=Bi(t,a.rect);o&&(r=zi(o))}this.coordAdjust=Ui(r,n)}else this.coordAdjust={left:0,top:0}}},{key:"handleMove",value:function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&Ks(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))}},{key:"prepareHits",value:function(){this.offsetTrackers=Sn(this.droppableStore,(function(e){return e.component.prepareHits(),new Xs(e.el)}))}},{key:"releaseHits",value:function(){var e=this.offsetTrackers;for(var t in e)e[t].destroy();this.offsetTrackers={}}},{key:"queryHitForOffset",value:function(e,t){var n=this.droppableStore,r=this.offsetTrackers,i=null;for(var a in n){var o=n[a].component,s=r[a];if(s&&s.isWithinClipping(e,t)){var l=s.computeLeft(),c=s.computeTop(),u=e-l,d=t-c,f=s.origRect,h=f.right-f.left,v=f.bottom-f.top;if(u>=0&&u<h&&d>=0&&d<v){var p=o.queryHit(u,d,h,v);p&&cr(p.dateProfile.activeRange,p.dateSpan.range)&&(this.disablePointCheck||s.el.contains(s.el.getRootNode().elementFromPoint(u+l-window.scrollX,d+c-window.scrollY)))&&(!i||p.layer>i.layer)&&(p.componentId=a,p.context=o.context,p.rect.left+=l,p.rect.right+=l,p.rect.top+=c,p.rect.bottom+=c,i=p)}}}return i}}])}();function Ks(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&Si(e.dateSpan,t.dateSpan)}function $s(e,t){var n,r,i,a={},o=_createForOfIteratorHelper(t.pluginHooks.datePointTransforms);try{for(o.s();!(n=o.n()).done;){var s=n.value;Object.assign(a,s(e,t))}}catch(e){o.e(e)}finally{o.f()}return Object.assign(a,(r=e,{date:(i=t.dateEnv).toDate(r.range.start),dateStr:i.formatIso(r.range.start,{omitTime:r.allDay}),allDay:r.allDay})),a}var el=function(e){function t(e){var n;_classCallCheck(this,t),(n=_callSuper(this,t,[e])).handlePointerDown=function(e){var t=n.dragging,r=e.origEvent.target;t.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,i=r.initialHit,a=r.finalHit;if(i&&a&&Ks(i,a)){var o=t.context,s=Object.assign(Object.assign({},$s(i.dateSpan,o)),{dayEl:i.dayEl,jsEvent:e.origEvent,view:o.viewApi||o.calendarApi.view});o.emitter.trigger("dateClick",s)}}},n.dragging=new Zs(e.el),n.dragging.autoScroller.isEnabled=!1;var r=n.hitDragging=new Js(n.dragging,Ni(e));return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("dragend",n.handleDragEnd),n}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.dragging.destroy()}}])}(Oi),tl=function(e){function t(e){var n;_classCallCheck(this,t),(n=_callSuper(this,t,[e])).dragSelection=null,n.handlePointerDown=function(e){var t=n,r=t.component,i=t.dragging,a=r.context.options.selectable&&r.isValidDateDownEl(e.origEvent.target);i.setIgnoreMove(!a),i.delay=e.isTouch?function(e){var t=e.context.options,n=t.selectLongPressDelay;null==n&&(n=t.longPressDelay);return n}(r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var r=n.component.context,i=null,a=!1;if(e){var o=n.hitDragging.initialHit;e.componentId===o.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(o,e)||(i=function(e,t,n){var r=e.dateSpan,i=t.dateSpan,a=[r.range.start,r.range.end,i.range.start,i.range.end];a.sort(ut);var o,s={},l=_createForOfIteratorHelper(n);try{for(l.s();!(o=l.n()).done;){var c=(0,o.value)(e,t);if(!1===c)return null;c&&Object.assign(s,c)}}catch(e){l.e(e)}finally{l.f()}return s.range={start:a[0],end:a[3]},s.allDay=r.allDay,s}(o,e,r.pluginHooks.dateSelectionTransformers)),i&&Ba(i,e.dateProfile,r)||(a=!0,i=null)}i?r.dispatch({type:"SELECT_DATES",selection:i}):t||r.dispatch({type:"UNSELECT_DATES"}),a?Ke():$e(),t||(n.dragSelection=i)},n.handlePointerUp=function(e){n.dragSelection&&(Xr(n.dragSelection,e,n.component.context),n.dragSelection=null)};var r=e.component.context.options,i=n.dragging=new Zs(e.el);i.touchScrollAllowed=!1,i.minDistance=r.selectMinDistance||0,i.autoScroller.isEnabled=r.dragScroll;var a=n.hitDragging=new Js(n.dragging,Ni(e));return a.emitter.on("pointerdown",n.handlePointerDown),a.emitter.on("dragstart",n.handleDragStart),a.emitter.on("hitupdate",n.handleHitUpdate),a.emitter.on("pointerup",n.handlePointerUp),n}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.dragging.destroy()}}])}(Oi);var nl=function(e){function t(e){var n;_classCallCheck(this,t),(n=_callSuper(this,t,[e])).subjectEl=null,n.subjectSeg=null,n.isDragging=!1,n.eventRange=null,n.relevantEvents=null,n.receivingContext=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=e.origEvent.target,r=n,i=r.component,a=r.dragging,o=a.mirror,s=i.context.options,l=i.context;n.subjectEl=e.subjectEl;var c=n.subjectSeg=ci(e.subjectEl),u=(n.eventRange=c.eventRange).instance.instanceId;n.relevantEvents=Tr(l.getCurrentData().eventStore,u),a.minDistance=e.isTouch?0:s.eventDragMinDistance,a.delay=e.isTouch&&u!==i.props.eventSelection?function(e){var t=e.context.options,n=t.eventLongPressDelay;null==n&&(n=t.longPressDelay);return n}(i):null,s.fixedMirrorParent?o.parentNode=s.fixedMirrorParent:o.parentNode=He(t,".fc"),o.revertDuration=s.dragRevertDuration;var d=i.isValidSegDownEl(t)&&!He(t,".fc-event-resizer");a.setIgnoreMove(!d),n.isDragging=d&&e.subjectEl.classList.contains("fc-event-draggable")},n.handleDragStart=function(e){var t=n.component.context,r=n.eventRange,i=r.instance.instanceId;e.isTouch?i!==n.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:i}):t.dispatch({type:"UNSELECT_EVENT"}),n.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:n.subjectEl,event:new ri(t,r.def,r.instance),jsEvent:e.origEvent,view:t.viewApi}))},n.handleHitUpdate=function(e,t){if(n.isDragging){var r=n.relevantEvents,i=n.hitDragging.initialHit,a=n.component.context,o=null,s=null,l=null,c=!1,u={affectedEvents:r,mutatedEvents:{defs:{},instances:{}},isEvent:!0};if(e){var d=(o=e.context).options;a===o||d.editable&&d.droppable?(s=function(e,t,n,r){var i=e.dateSpan,a=t.dateSpan,o=i.range.start,s=a.range.start,l={};i.allDay!==a.allDay&&(l.allDay=a.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,o=a.allDay?Ot(n):n);var c=vr(o,s,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);c.milliseconds&&(l.allDay=!1);var u,d={datesDelta:c,standardProps:l},f=_createForOfIteratorHelper(r);try{for(f.s();!(u=f.n()).done;){(0,u.value)(d,e,t)}}catch(e){f.e(e)}finally{f.f()}return d}(i,e,n.eventRange.instance.range.start,o.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(l=$r(r,o.getCurrentData().eventUiBases,s,o),u.mutatedEvents=l,ja(u,e.dateProfile,o)||(c=!0,s=null,l=null,u.mutatedEvents={defs:{},instances:{}})):o=null}n.displayDrag(o,u),c?Ke():$e(),t||(a===o&&Ks(i,e)&&(s=null),n.dragging.setMirrorNeedsRevert(!s),n.dragging.setMirrorIsVisible(!e||!n.subjectEl.getRootNode().querySelector(".fc-event-mirror")),n.receivingContext=o,n.validMutation=s,n.mutatedRelevantEvents=l)}},n.handlePointerUp=function(){n.isDragging||n.cleanup()},n.handleDragEnd=function(e){if(n.isDragging){var t=n.component.context,r=t.viewApi,i=n,a=i.receivingContext,o=i.validMutation,s=n.eventRange.def,l=n.eventRange.instance,c=new ri(t,s,l),u=n.relevantEvents,d=n.mutatedRelevantEvents,f=n.hitDragging.finalHit;if(n.clearDrag(),t.emitter.trigger("eventDragStop",{el:n.subjectEl,event:c,jsEvent:e.origEvent,view:r}),o){if(a===t){var h=new ri(t,d.defs[s.defId],l?d.instances[l.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:d});var v,p={oldEvent:c,event:h,relatedEvents:ai(d,t,l),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:u})}},g={},m=_createForOfIteratorHelper(t.getCurrentData().pluginHooks.eventDropTransformers);try{for(m.s();!(v=m.n()).done;){var y=v.value;Object.assign(g,y(o,t))}}catch(e){m.e(e)}finally{m.f()}t.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},p),g),{el:e.subjectEl,delta:o.datesDelta,jsEvent:e.origEvent,view:r})),t.emitter.trigger("eventChange",p)}else if(a){var b={event:c,relatedEvents:ai(u,t,l),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:u})}};t.emitter.trigger("eventLeave",Object.assign(Object.assign({},b),{draggedEl:e.subjectEl,view:r})),t.dispatch({type:"REMOVE_EVENTS",eventStore:u}),t.emitter.trigger("eventRemove",b);var _=d.defs[s.defId],C=d.instances[l.instanceId],E=new ri(a,_,C);a.dispatch({type:"MERGE_EVENTS",eventStore:d});var k={event:E,relatedEvents:ai(d,a,C),revert(){a.dispatch({type:"REMOVE_EVENTS",eventStore:d})}};a.emitter.trigger("eventAdd",k),e.isTouch&&a.dispatch({type:"SELECT_EVENT",eventInstanceId:l.instanceId}),a.emitter.trigger("drop",Object.assign(Object.assign({},$s(f.dateSpan,a)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:f.context.viewApi})),a.emitter.trigger("eventReceive",Object.assign(Object.assign({},k),{draggedEl:e.subjectEl,view:f.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}n.cleanup()};var r=n.component.context.options,i=n.dragging=new Zs(e.el);i.pointer.selector=t.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=r.dragScroll;var a=n.hitDragging=new Js(n.dragging,Hi);return a.useSubjectCenter=e.useEventCenter,a.emitter.on("pointerdown",n.handlePointerDown),a.emitter.on("dragstart",n.handleDragStart),a.emitter.on("hitupdate",n.handleHitUpdate),a.emitter.on("pointerup",n.handlePointerUp),a.emitter.on("dragend",n.handleDragEnd),n}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.dragging.destroy()}},{key:"displayDrag",value:function(e,t){var n=this.component.context,r=this.receivingContext;r&&r!==e&&(r===n?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:{defs:{},instances:{}},isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}},{key:"clearDrag",value:function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})}},{key:"cleanup",value:function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}])}(Oi);nl.SELECTOR=".fc-event-draggable, .fc-event-resizable";var rl=function(e){function t(e){var n;_classCallCheck(this,t),(n=_callSuper(this,t,[e])).draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=n.component,r=ci(n.querySegEl(e)),i=n.eventRange=r.eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==i.instance.instanceId)},n.handleDragStart=function(e){var t=n.component.context,r=n.eventRange;n.relevantEvents=Tr(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var i=n.querySegEl(e);n.draggingSegEl=i,n.draggingSeg=ci(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new ri(t,r.def,r.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,r){var i=n.component.context,a=n.relevantEvents,o=n.hitDragging.initialHit,s=n.eventRange.instance,l=null,c=null,u=!1,d={affectedEvents:a,mutatedEvents:{defs:{},instances:{}},isEvent:!0};e&&(e.componentId===o.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(o,e)||(l=function(e,t,n,r){var i=e.context.dateEnv,a=e.dateSpan.range.start,o=t.dateSpan.range.start,s=vr(a,o,i,e.largeUnit);if(n){if(i.add(r.start,s)<r.end)return{startDelta:s}}else if(i.add(r.end,s)>r.start)return{endDelta:s};return null}(o,e,r.subjectEl.classList.contains("fc-event-resizer-start"),s.range)));l&&(c=$r(a,i.getCurrentData().eventUiBases,l,i),d.mutatedEvents=c,ja(d,e.dateProfile,i)||(u=!0,l=null,c=null,d.mutatedEvents=null)),c?i.dispatch({type:"SET_EVENT_RESIZE",state:d}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),u?Ke():$e(),t||(l&&Ks(o,e)&&(l=null),n.validMutation=l,n.mutatedRelevantEvents=c)},n.handleDragEnd=function(e){var t=n.component.context,r=n.eventRange.def,i=n.eventRange.instance,a=new ri(t,r,i),o=n.relevantEvents,s=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:a,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var l=new ri(t,s.defs[r.defId],i?s.instances[i.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:s});var c={oldEvent:a,event:l,relatedEvents:ai(s,t,i),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:o})}};t.emitter.trigger("eventResize",Object.assign(Object.assign({},c),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||pt(0),endDelta:n.validMutation.endDelta||pt(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",c)}else t.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var r=e.component,i=n.dragging=new Zs(e.el);i.pointer.selector=".fc-event-resizer",i.touchScrollAllowed=!1,i.autoScroller.isEnabled=r.context.options.dragScroll;var a=n.hitDragging=new Js(n.dragging,Ni(e));return a.emitter.on("pointerdown",n.handlePointerDown),a.emitter.on("dragstart",n.handleDragStart),a.emitter.on("hitupdate",n.handleHitUpdate),a.emitter.on("dragend",n.handleDragEnd),n}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.dragging.destroy()}},{key:"querySegEl",value:function(e){return He(e.subjectEl,".fc-event")}}])}(Oi);var il=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this.context=t,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(n.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var t=n.context.options.unselectCancel,r=Ue(e.origEvent);n.matchesCancel=!!He(r,t),n.matchesEvent=!!He(r,nl.SELECTOR)},this.onDocumentPointerUp=function(e){var t=n.context,r=n.documentPointer,i=t.getCurrentData();if(!r.wasTouchScroll){if(i.dateSelection&&!n.isRecentPointerDateSelect){var a=t.options.unselectAuto;!a||a&&n.matchesCancel||t.calendarApi.unselect(e)}i.eventSelection&&!n.matchesEvent&&t.dispatch({type:"UNSELECT_EVENT"})}n.isRecentPointerDateSelect=!1};var r=this.documentPointer=new Us(document);r.shouldIgnoreMove=!0,r.shouldWatchScroll=!1,r.emitter.on("pointerdown",this.onDocumentPointerDown),r.emitter.on("pointerup",this.onDocumentPointerUp),t.emitter.on("select",this.onSelect)}),[{key:"destroy",value:function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}])}(),al={fixedMirrorParent:_n},ol={dateClick:_n,eventDragStart:_n,eventDragStop:_n,eventDrop:_n,eventResizeStart:_n,eventResizeStop:_n,eventResize:_n,drop:_n,eventReceive:_n,eventLeave:_n},sl=function(){return _createClass((function e(t,n){var r=this;_classCallCheck(this,e),this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){r.dragMeta=r.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,n){var i=r.hitDragging.dragging,a=null,o=null,s=!1,l={affectedEvents:{defs:{},instances:{}},mutatedEvents:{defs:{},instances:{}},isEvent:r.dragMeta.create};e&&(a=e.context,r.canDropElOnCalendar(n.subjectEl,a)&&(o=function(e,t,n){var r,i=Object.assign({},t.leftoverProps),a=_createForOfIteratorHelper(n.pluginHooks.externalDefTransforms);try{for(a.s();!(r=a.n()).done;){var o=r.value;Object.assign(i,o(e,t))}}catch(e){a.e(e)}finally{a.f()}var s=Sr(i,n),l=s.refined,c=s.extra,u=Dr(l,c,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),d=e.range.start;e.allDay&&t.startTime&&(d=n.dateEnv.add(d,t.startTime));var f=t.duration?n.dateEnv.add(d,t.duration):Kr(e.allDay,d,n),h=mr(u.defId,{start:d,end:f});return{def:u,instance:h}}(e.dateSpan,r.dragMeta,a),l.mutatedEvents=Rr(o),(s=!ja(l,e.dateProfile,a))&&(l.mutatedEvents={defs:{},instances:{}},o=null))),r.displayDrag(a,l),i.setMirrorIsVisible(t||!o||!document.querySelector(".fc-event-mirror")),s?Ke():$e(),t||(i.setMirrorNeedsRevert(!o),r.receivingContext=a,r.droppableEvent=o)},this.handleDragEnd=function(e){var t=r.receivingContext,n=r.droppableEvent;if(r.clearDrag(),t&&n){var i=r.hitDragging.finalHit,a=i.context.viewApi,o=r.dragMeta;if(t.emitter.trigger("drop",Object.assign(Object.assign({},$s(i.dateSpan,t)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:a})),o.create){var s=Rr(n);t.dispatch({type:"MERGE_EVENTS",eventStore:s}),e.isTouch&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:n.instance.instanceId}),t.emitter.trigger("eventReceive",{event:new ri(t,n.def,n.instance),relatedEvents:[],revert(){t.dispatch({type:"REMOVE_EVENTS",eventStore:s})},draggedEl:e.subjectEl,view:a})}}r.receivingContext=null,r.droppableEvent=null};var i=this.hitDragging=new Js(t,Hi);i.requireInitial=!1,i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=n}),[{key:"buildDragMeta",value:function(e){return"object"==typeof this.suppliedDragMeta?Ea(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?Ea(this.suppliedDragMeta(e)):(t=function(e,t){var n=_a.dataAttrPrefix,r=(n?n+"-":"")+t;return e.getAttribute("data-"+r)||""}(e,"event"),Ea(t?JSON.parse(t):{create:!1}));var t}},{key:"displayDrag",value:function(e,t){var n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}},{key:"clearDrag",value:function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})}},{key:"canDropElOnCalendar",value:function(e,t){var n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean(Pe(e,n))}}])}();_a.dataAttrPrefix="";var ll=function(){return _createClass((function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,e),this.handlePointerDown=function(e){var t=n.dragging,r=n.settings,i=r.minDistance,a=r.longPressDelay;t.minDistance=null!=i?i:e.isTouch?0:dn.eventDragMinDistance,t.delay=e.isTouch?null!=a?a:dn.longPressDelay:0},this.handleDragStart=function(e){e.isTouch&&n.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&n.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=r;var i=this.dragging=new Zs(t);i.touchScrollAllowed=!1,null!=r.itemSelector&&(i.pointer.selector=r.itemSelector),null!=r.appendTo&&(i.mirror.parentNode=r.appendTo),i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),new sl(i,r.eventData)}),[{key:"destroy",value:function(){this.dragging.destroy()}}])}(),cl=function(e){function t(e){var n;_classCallCheck(this,t),(n=_callSuper(this,t,[e])).shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(e){n.emitter.trigger("pointerdown",e),n.shouldIgnoreMove||n.emitter.trigger("dragstart",e)},n.handlePointerMove=function(e){n.shouldIgnoreMove||n.emitter.trigger("dragmove",e)},n.handlePointerUp=function(e){n.emitter.trigger("pointerup",e),n.shouldIgnoreMove||n.emitter.trigger("dragend",e)};var r=n.pointer=new Us(e);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return _inherits(t,e),_createClass(t,[{key:"destroy",value:function(){this.pointer.destroy()}},{key:"setIgnoreMove",value:function(e){this.shouldIgnoreMove=e}},{key:"setMirrorIsVisible",value:function(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}}}])}(ba),ul=function(){return _createClass((function e(t,n){_classCallCheck(this,e);var r=document;t===document||t instanceof Element?(r=t,n=n||{}):n=t||{};var i=this.dragging=new cl(r);"string"==typeof n.itemSelector?i.pointer.selector=n.itemSelector:r===document&&(i.pointer.selector="[data-event]"),"string"==typeof n.mirrorSelector&&(i.mirrorSelector=n.mirrorSelector),new sl(i,n.eventData).hitDragging.disablePointCheck=!0}),[{key:"destroy",value:function(){this.dragging.destroy()}}])}(),dl=Fo({name:"@fullcalendar/interaction",componentInteractions:[el,tl,nl,rl],calendarInteractions:[il],elementDraggingImpl:Zs,optionRefiners:al,listenerRefiners:ol}),fl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).headerElRef={current:null},e}return _inherits(t,e),_createClass(t,[{key:"renderSimpleLayout",value:function(e,t){var n=this.props,r=this.context,i=[],a=ao(r.options);return e&&i.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),i.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),p(nr,{elClasses:["fc-daygrid"],viewSpec:r.viewSpec},p(so,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:i}))}},{key:"renderHScrollLayout",value:function(e,t,n,r){var i=this.context.pluginHooks.scrollGridImpl;if(!i)throw new Error("No ScrollGrid implementation");var a=this.props,o=this.context,s=!a.forPrint&&ao(o.options),l=!a.forPrint&&oo(o.options),c=[];return e&&c.push({type:"header",key:"header",isSticky:s,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),c.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&c.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:io}]}),p(nr,{elClasses:["fc-daygrid"],viewSpec:o.viewSpec},p(i,{liquid:!a.isHeightAuto&&!a.forPrint,forPrint:a.forPrint,collapsibleWidth:a.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:c}))}}])}(ua);function hl(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];var i,a=_createForOfIteratorHelper(e);try{for(a.s();!(i=a.n()).done;){var o=i.value;n[o.row].push(o)}}catch(e){a.e(e)}finally{a.f()}return n}function vl(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];var i,a=_createForOfIteratorHelper(e);try{for(a.s();!(i=a.n()).done;){var o=i.value;n[o.firstCol].push(o)}}catch(e){a.e(e)}finally{a.f()}return n}function pl(e,t){var n=[];if(e){for(var r=0;r<t;r+=1)n[r]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};var i,a=_createForOfIteratorHelper(e.segs);try{for(a.s();!(i=a.n()).done;){var o=i.value;n[o.row].segs.push(o)}}catch(e){a.e(e)}finally{a.f()}}else for(var s=0;s<t;s+=1)n[s]=null;return n}var gl=cn({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function ml(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var yl=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props;return p(co,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:gl,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}])}(qn),bl=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context,n=t.options,r=mi(e.seg,n.eventTimeFormat||gl,t,!0,e.defaultDisplayEventEnd);return p(lo,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:Ci(e.seg,t),defaultGenerator:_l,timeText:r,isResizing:!1,isDateSelecting:!1}))}}])}(qn);function _l(e){return p(y,null,p("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&p("div",{className:"fc-event-time"},e.timeText),p("div",{className:"fc-event-title"},e.event.title||p(y,null," ")))}var Cl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).compileSegs=qt(El),e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,r=t.invisibleSegs;return p(So,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:r,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:function(){var t=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return p(y,null,n.map((function(n){var r=n.eventRange.instance.instanceId;return p("div",{className:"fc-daygrid-event-harness",key:r,style:{visibility:t[r]?"hidden":""}},ml(n)?p(bl,Object.assign({seg:n,isDragging:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},yi(n,e.todayRange))):p(yl,Object.assign({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},yi(n,e.todayRange))))})))}})}}])}(qn);function El(e){var t,n=[],r=[],i=_createForOfIteratorHelper(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;n.push(a.seg),a.isVisible||r.push(a.seg)}}catch(e){i.e(e)}finally{i.f()}return{allSegs:n,invisibleSegs:r}}var kl=cn({week:"narrow"}),Sl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).rootElRef={current:null},e.state={dayNumberId:Le()},e.handleRootEl=function(t){Yn(e.rootElRef,t),Yn(e.props.elRef,t)},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.context,t=this.props,n=this.state,r=this.rootElRef,i=e.options,a=e.dateEnv,o=t.date,s=t.dateProfile,l=t.showDayNumber&&function(e,t,n){var r=t.start,i=t.end,a=wt(i,-1),o=n.getYear(r),s=n.getMonth(r),l=n.getYear(a),c=n.getMonth(a);return!(o===l&&s===c)&&Boolean(e.valueOf()===r.valueOf()||1===n.getDay(e)&&e.valueOf()<i.valueOf())}(o,s.currentRange,a);return p(vo,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day"].concat(_toConsumableArray(t.extraClassNames||[])),elAttrs:Object.assign(Object.assign(Object.assign({},t.extraDataAttrs),t.showDayNumber?{"aria-labelledby":n.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:Al,date:o,dateProfile:s,todayRange:t.todayRange,showDayNumber:t.showDayNumber,isMonthStart:l,extraRenderProps:t.extraRenderProps},(function(a,s){return p("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&p(_o,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:Zi(e,o,"week"),date:o,defaultFormat:kl}),!s.isDisabled&&(t.showDayNumber||po(i)||t.forceDayTop)?p("div",{className:"fc-daygrid-day-top"},p(a,{elTag:"a",elClasses:["fc-daygrid-day-number",l&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},Zi(e,o)),{id:n.dayNumberId})})):t.showDayNumber?p("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},p("a",{className:"fc-daygrid-day-number"}," ")):void 0,p("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,p("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},p(Cl,{allDayDate:o,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:r,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),p("div",{className:"fc-daygrid-day-bg"},t.bgContent))}))}}])}(ua);function Al(e){return e.dayNumberText||p(y,null," ")}function Dl(e){return e.eventRange.instance.instanceId+":"+e.firstCol}function wl(e){return Dl(e)+":"+e.lastCol}function Rl(e,t,n,r,i,a,o){var s=new xl((function(t){var n=e[t.index].eventRange.instance.instanceId+":"+t.span.start+":"+(t.span.end-1);return i[n]||1}));s.allowReslicing=!0,s.strictOrder=r,!0===t||!0===n?(s.maxCoord=a,s.hiddenConsumes=!0):"number"==typeof t?s.maxStackCnt=t:"number"==typeof n&&(s.maxStackCnt=n,s.hiddenConsumes=!0);for(var l=[],c=[],u=0;u<e.length;u+=1){var d=e[u],f=wl(d);null!=i[f]?l.push({index:u,span:{start:d.firstCol,end:d.lastCol+1}}):c.push(d)}for(var h=s.addSegs(l),v=function(e,t,n){for(var r=function(e,t){for(var n=[],r=0;r<t;r+=1)n.push([]);var i,a=_createForOfIteratorHelper(e);try{for(a.s();!(i=a.n()).done;)for(var o=i.value,s=o.span.start;s<o.span.end;s+=1)n[s].push(o)}catch(e){a.e(e)}finally{a.f()}return n}(e,n.length),i=[],a=[],o=[],s=0;s<n.length;s+=1){var l,c=r[s],u=[],d=0,f=0,h=_createForOfIteratorHelper(c);try{for(h.s();!(l=h.n()).done;){var v=l.value,p=t[v.index];u.push({seg:Tl(p,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:v.levelCoord,marginTop:v.levelCoord-d}),d=v.levelCoord+v.thickness}}catch(e){h.e(e)}finally{h.f()}var g=[];d=0,f=0;var m,y=_createForOfIteratorHelper(c);try{for(y.s();!(m=y.n()).done;){var b=m.value,_=t[b.index],C=b.span.end-b.span.start>1,E=b.span.start===s;f+=b.levelCoord-d,d=b.levelCoord+b.thickness,C?(f+=b.thickness,E&&g.push({seg:Tl(_,b.span.start,b.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:b.levelCoord,marginTop:0})):E&&(g.push({seg:Tl(_,b.span.start,b.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:b.levelCoord,marginTop:f}),f=0)}}catch(e){y.e(e)}finally{y.f()}i.push(u),a.push(g),o.push(f)}return{singleColPlacements:i,multiColPlacements:a,leftoverMargins:o}}(s.toRects(),e,o),p=v.singleColPlacements,g=v.multiColPlacements,m=v.leftoverMargins,y=[],b=[],_=0,C=c;_<C.length;_++){var E=C[_];g[E.firstCol].push({seg:E,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var k=E.firstCol;k<=E.lastCol;k+=1)p[k].push({seg:Tl(E,k,k+1,o),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(var S=0;S<o.length;S+=1)y.push(0);var A,D=_createForOfIteratorHelper(h);try{for(D.s();!(A=D.n()).done;){var w=A.value,R=e[w.index],T=w.span;g[T.start].push({seg:Tl(R,T.start,T.end,o),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var x=T.start;x<T.end;x+=1)y[x]+=1,p[x].push({seg:Tl(R,x,x+1,o),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}}catch(e){D.e(e)}finally{D.f()}for(var M=0;M<o.length;M+=1)b.push(m[M]);return{singleColPlacements:p,multiColPlacements:g,moreCnts:y,moreMarginTops:b}}function Tl(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;var i=e.eventRange,a=i.range,o=or(a,{start:r[t].date,end:Dt(r[n-1].date,1)});return Object.assign(Object.assign({},e),{firstCol:t,lastCol:n-1,eventRange:{def:i.def,ui:Object.assign(Object.assign({},i.ui),{durationEditable:!1}),instance:i.instance,range:o},isStart:e.isStart&&o.start.valueOf()===a.start.valueOf(),isEnd:e.isEnd&&o.end.valueOf()===a.end.valueOf()})}var xl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).hiddenConsumes=!1,e.forceHidden={},e}return _inherits(t,e),_createClass(t,[{key:"addSegs",value:function(e){for(var n=this,r=_superPropGet(t,"addSegs",this,3)([e]),i=this.entriesByLevel,a=function(e){return!n.forceHidden[va(e)]},o=0;o<i.length;o+=1)i[o]=i[o].filter(a);return r}},{key:"handleInvalidInsertion",value:function(e,n,r){var i=this.entriesByLevel,a=this.forceHidden,o=e.touchingEntry,s=e.touchingLevel,l=e.touchingLateral;if(this.hiddenConsumes&&o){var c=va(o);if(!a[c])if(this.allowReslicing){var u=Object.assign(Object.assign({},o),{span:ga(o.span,n.span)});a[va(u)]=!0,i[s][l]=u,r.push(u),this.splitEntry(o,n,r)}else a[c]=!0,r.push(o)}_superPropGet(t,"handleInvalidInsertion",this,3)([e,n,r])}}])}(fa),Ml=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).cellElRefs=new qa,e.frameElRefs=new qa,e.fgElRefs=new qa,e.segHarnessRefs=new qa,e.rootElRef={current:null},e.state={framePositions:null,maxContentHeight:null,segHeights:{}},e.handleResize=function(t){t&&e.updateSizing(!0)},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.props,n=this.state,r=this.context.options,i=t.cells.length,a=vl(t.businessHourSegs,i),o=vl(t.bgEventSegs,i),s=vl(this.getHighlightSegs(),i),l=vl(this.getMirrorSegs(),i),c=Rl(fi(t.fgEventSegs,r.eventOrder),t.dayMaxEvents,t.dayMaxEventRows,r.eventOrderStrict,n.segHeights,n.maxContentHeight,t.cells),u=c.singleColPlacements,d=c.multiColPlacements,f=c.moreCnts,h=c.moreMarginTops,v=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{};return p("tr",{ref:this.rootElRef,role:"row"},t.renderIntro&&t.renderIntro(),t.cells.map((function(n,r){var i=e.renderFgSegs(r,t.forPrint?u[r]:d[r],t.todayRange,v),c=e.renderFgSegs(r,function(e,t){if(!e.length)return[];var n=function(e){var t,n={},r=_createForOfIteratorHelper(e);try{for(r.s();!(t=r.n()).done;){var i,a=_createForOfIteratorHelper(t.value);try{for(a.s();!(i=a.n()).done;){var o=i.value;n[o.seg.eventRange.instance.instanceId]=o.absoluteTop}}catch(e){a.e(e)}finally{a.f()}}}catch(e){r.e(e)}finally{r.f()}return n}(t);return e.map((function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}}))}(l[r],d),t.todayRange,{},Boolean(t.eventDrag),Boolean(t.eventResize),!1);return p(Sl,{key:n.key,elRef:e.cellElRefs.createRef(n.key),innerElRef:e.frameElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,showDayNumber:t.showDayNumbers,showWeekNumber:t.showWeekNumbers&&0===r,forceDayTop:t.showWeekNumbers,todayRange:t.todayRange,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,extraRenderProps:n.extraRenderProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,moreCnt:f[r],moreMarginTop:h[r],singlePlacements:u[r],fgContentElRef:e.fgElRefs.createRef(n.key),fgContent:p(y,null,p(y,null,i),p(y,null,c)),bgContent:p(y,null,e.renderFillSegs(s[r],"highlight"),e.renderFillSegs(a[r],"non-business"),e.renderFillSegs(o[r],"bg-event")),minHeight:t.cellMinHeight})})))}},{key:"componentDidMount",value:function(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}},{key:"componentDidUpdate",value:function(e,t){var n=this.props;this.updateSizing(!wn(e,n))}},{key:"componentWillUnmount",value:function(){this.context.removeResizeHandler(this.handleResize)}},{key:"getHighlightSegs",value:function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}},{key:"getMirrorSegs",value:function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}},{key:"renderFgSegs",value:function(e,t,n,r,i,a,o){var s=this.context,l=this.props.eventSelection,c=this.state.framePositions,u=1===this.props.cells.length,d=i||a||o,f=[];if(c){var h,v=_createForOfIteratorHelper(t);try{for(v.s();!(h=v.n()).done;){var g=h.value,m=g.seg,y=m.eventRange.instance.instanceId,b=g.isVisible&&!r[y],_=g.isAbsolute,C="",E="";_&&(s.isRtl?(E=0,C=c.lefts[m.lastCol]-c.lefts[m.firstCol]):(C=0,E=c.rights[m.firstCol]-c.rights[m.lastCol])),f.push(p("div",{className:"fc-daygrid-event-harness"+(_?" fc-daygrid-event-harness-abs":""),key:Dl(m),ref:d?null:this.segHarnessRefs.createRef(wl(m)),style:{visibility:b?"":"hidden",marginTop:_?"":g.marginTop,top:_?g.absoluteTop:"",left:C,right:E}},ml(m)?p(bl,Object.assign({seg:m,isDragging:i,isSelected:y===l,defaultDisplayEventEnd:u},yi(m,n))):p(yl,Object.assign({seg:m,isDragging:i,isResizing:a,isDateSelecting:o,isSelected:y===l,defaultDisplayEventEnd:u},yi(m,n)))))}}catch(e){v.e(e)}finally{v.f()}}return f}},{key:"renderFillSegs",value:function(e,t){var n=this.context.isRtl,r=this.props.todayRange,i=this.state.framePositions,a=[];if(i){var o,s=_createForOfIteratorHelper(e);try{for(s.s();!(o=s.n()).done;){var l=o.value,c=n?{right:0,left:i.lefts[l.lastCol]-i.lefts[l.firstCol]}:{left:0,right:i.rights[l.firstCol]-i.rights[l.lastCol]};a.push(p("div",{key:_i(l.eventRange),className:"fc-daygrid-bg-harness",style:c},"bg-event"===t?p(mo,Object.assign({seg:l},yi(l,r))):bo(t)))}}catch(e){s.e(e)}finally{s.f()}}return p.apply(void 0,[y,{}].concat(a))}},{key:"updateSizing",value:function(e){var t=this.props,n=this.state,r=this.frameElRefs;if(!t.forPrint&&null!==t.clientWidth){if(e){var i=t.cells.map((function(e){return r.currentMap[e.key]}));if(i.length){var a=this.rootElRef.current,o=new aa(a,i,!0,!1);n.framePositions&&n.framePositions.similarTo(o)||this.setState({framePositions:new aa(a,i,!0,!1)})}}var s=this.state.segHeights,l=this.querySegHeights(),c=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({segHeights:Object.assign(Object.assign({},s),l),maxContentHeight:c?this.computeMaxContentHeight():null})}}},{key:"querySegHeights",value:function(){var e=this.segHarnessRefs.currentMap,t={};for(var n in e){var r=Math.round(e[n].getBoundingClientRect().height);t[n]=Math.max(t[n]||0,r)}return t}},{key:"computeMaxContentHeight",value:function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top}},{key:"getCellEls",value:function(){var e=this.cellElRefs.currentMap;return this.props.cells.map((function(t){return e[t.key]}))}}])}(ua);Ml.addStateEquality({segHeights:wn});var Il=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).splitBusinessHourSegs=qt(hl),e.splitBgEventSegs=qt(hl),e.splitFgEventSegs=qt(hl),e.splitDateSelectionSegs=qt(hl),e.splitEventDrag=qt(pl),e.splitEventResize=qt(pl),e.rowRefs=new qa,e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.props,n=this.context,r=t.cells.length,i=this.splitBusinessHourSegs(t.businessHourSegs,r),a=this.splitBgEventSegs(t.bgEventSegs,r),o=this.splitFgEventSegs(t.fgEventSegs,r),s=this.splitDateSelectionSegs(t.dateSelectionSegs,r),l=this.splitEventDrag(t.eventDrag,r),c=this.splitEventResize(t.eventResize,r),u=r>=7&&t.clientWidth?t.clientWidth/n.options.aspectRatio/6:null;return p(Ta,{unit:"day"},(function(n,d){return p(y,null,t.cells.map((function(n,f){return p(Ml,{ref:e.rowRefs.createRef(f),key:n.length?n[0].date.toISOString():f,showDayNumbers:r>1,showWeekNumbers:t.showWeekNumbers,todayRange:d,dateProfile:t.dateProfile,cells:n,renderIntro:t.renderRowIntro,businessHourSegs:i[f],eventSelection:t.eventSelection,bgEventSegs:a[f].filter(Ol),fgEventSegs:o[f],dateSelectionSegs:s[f],eventDrag:l[f],eventResize:c[f],dayMaxEvents:t.dayMaxEvents,dayMaxEventRows:t.dayMaxEventRows,clientWidth:t.clientWidth,clientHeight:t.clientHeight,cellMinHeight:u,forPrint:t.forPrint})})))}))}},{key:"componentDidMount",value:function(){this.registerInteractiveComponent()}},{key:"componentDidUpdate",value:function(){this.registerInteractiveComponent()}},{key:"registerInteractiveComponent",value:function(){if(!this.rootEl){var e=this.rowRefs.currentMap[0].getCellEls()[0],t=e?e.closest(".fc-daygrid-body"):null;t&&(this.rootEl=t,this.context.registerInteractiveComponent(this,{el:t,isHitComboAllowed:this.props.isHitComboAllowed}))}}},{key:"componentWillUnmount",value:function(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}},{key:"prepareHits",value:function(){this.rowPositions=new aa(this.rootEl,this.rowRefs.collect().map((function(e){return e.getCellEls()[0]})),!1,!0),this.colPositions=new aa(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}},{key:"queryHit",value:function(e,t){var n=this.colPositions,r=this.rowPositions,i=n.leftToIndex(e),a=r.topToIndex(t);if(null!=a&&null!=i){var o=this.props.cells[a][i];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(a,i),allDay:!0},o.extraDateSpan),dayEl:this.getCellEl(a,i),rect:{left:n.lefts[i],right:n.rights[i],top:r.tops[a],bottom:r.bottoms[a]},layer:0}}return null}},{key:"getCellEl",value:function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}},{key:"getCellRange",value:function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:Dt(n,1)}}}])}(ua);function Ol(e){return e.eventRange.def.allDay}var Nl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).elRef={current:null},e.needsScrollReset=!1,e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=e.dayMaxEventRows,n=e.dayMaxEvents,r=e.expandRows,i=!0===n||!0===t;i&&!r&&(i=!1,t=null,n=null);var a=["fc-daygrid-body",i?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",r?"":"fc-daygrid-body-natural"];return p("div",{ref:this.elRef,className:a.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},p("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:r?e.clientHeight:""}},e.colGroupNode,p("tbody",{role:"presentation"},p(Il,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:n,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}},{key:"componentDidMount",value:function(){this.requestScrollReset()}},{key:"componentDidUpdate",value:function(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}},{key:"requestScrollReset",value:function(){this.needsScrollReset=!0,this.flushScrollReset()}},{key:"flushScrollReset",value:function(){if(this.needsScrollReset&&this.props.clientWidth){var e=function(e,t){var n;t.currentRangeUnit.match(/year|month/)&&(n=e.querySelector('[data-date="'.concat(Vt(t.currentDate),'-01"]')));n||(n=e.querySelector('[data-date="'.concat(Lt(t.currentDate),'"]')));return n}(this.elRef.current,this.props.dateProfile);if(e){var t=e.closest(".fc-daygrid-body"),n=t.closest(".fc-scroller"),r=e.getBoundingClientRect().top-t.getBoundingClientRect().top;n.scrollTop=r?r+1:0}this.needsScrollReset=!1}}}])}(ua);var Hl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).forceDayIfListItem=!0,e}return _inherits(t,e),_createClass(t,[{key:"sliceRange",value:function(e,t){return t.sliceRange(e)}}])}(Ha),Pl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).slicer=new Hl,e.tableRef={current:null},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context;return p(Nl,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}])}(ua),jl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).buildDayTableModel=qt(Bl),e.headerRef={current:null},e.tableRef={current:null},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.context,n=t.options,r=t.dateProfileGenerator,i=this.props,a=this.buildDayTableModel(i.dateProfile,r),o=n.dayHeaders&&p(Ma,{ref:this.headerRef,dateProfile:i.dateProfile,dates:a.headerDates,datesRepDistinctDays:1===a.rowCnt}),s=function(t){return p(Pl,{ref:e.tableRef,dateProfile:i.dateProfile,dayTableModel:a,businessHours:i.businessHours,dateSelection:i.dateSelection,eventStore:i.eventStore,eventUiBases:i.eventUiBases,eventSelection:i.eventSelection,eventDrag:i.eventDrag,eventResize:i.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!i.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:i.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(o,s,a.colCnt,n.dayMinWidth):this.renderSimpleLayout(o,s)}}])}(fl);function Bl(e,t){var n=new Oa(e.renderRange,t);return new Na(n,/year|month|week/.test(e.currentRangeUnit))}var Fl=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"buildRenderRange",value:function(e,n,r){var i=_superPropGet(t,"buildRenderRange",this,3)([e,n,r]),a=this.props;return zl({currentRange:i,snapToWeek:/^(year|month)$/.test(n),fixedWeekCount:a.fixedWeekCount,dateEnv:a.dateEnv})}}])}(gr);function zl(e){var t,n=e.dateEnv,r=e.currentRange,i=r.start,a=r.end;if(e.snapToWeek&&(i=n.startOfWeek(i),(t=n.startOfWeek(a)).valueOf()!==a.valueOf()&&(a=At(t,1))),e.fixedWeekCount){var o=n.startOfWeek(n.startOfMonth(Dt(r.end,-1)));a=At(a,6-Math.ceil(Rt(o,a)))}return{start:i,end:a}}xe(':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}');var Ul=Fo({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:jl,dateProfileGeneratorClass:Fl},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}}),Wl=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"getKeyInfo",value:function(){return{allDay:{},timed:{}}}},{key:"getKeysForDateSpan",value:function(e){return e.allDay?["allDay"]:["timed"]}},{key:"getKeysForEventDef",value:function(e){return e.allDay?si(e)?["timed","allDay"]:["allDay"]:["timed"]}}])}(Li),Ll=cn({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function Vl(e){var t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return p(Vn.Consumer,null,(function(n){if(!e.isLabeled)return p("td",{className:t.join(" "),"data-time":e.isoTimeStr});var r=n.dateEnv,i=n.options,a=n.viewApi,o=null==i.slotLabelFormat?Ll:Array.isArray(i.slotLabelFormat)?cn(i.slotLabelFormat[0]):cn(i.slotLabelFormat),s={level:0,time:e.time,date:r.toDate(e.date),view:a,text:r.format(e.date,o)};return p(er,{elTag:"td",elClasses:t,elAttrs:{"data-time":e.isoTimeStr},renderProps:s,generatorName:"slotLabelContent",customGenerator:i.slotLabelContent,defaultGenerator:Gl,classNameGenerator:i.slotLabelClassNames,didMount:i.slotLabelDidMount,willUnmount:i.slotLabelWillUnmount},(function(e){return p("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},p(e,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]}))}))}))}function Gl(e){return e.text}var Ql=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){return this.props.slatMetas.map((function(e){return p("tr",{key:e.key},p(Vl,Object.assign({},e)))}))}}])}(qn),ql=cn({week:"short"}),Yl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).allDaySplitter=new Wl,e.headerElRef={current:null},e.rootElRef={current:null},e.scrollerElRef={current:null},e.state={slatCoords:null},e.handleScrollTopRequest=function(t){var n=e.scrollerElRef.current;n&&(n.scrollTop=t)},e.renderHeadAxis=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.context.options,i=e.props.dateProfile.renderRange,a=1===Tt(i.start,i.end)?Zi(e.context,i.start,"week"):{};return r.weekNumbers&&"day"===t?p(_o,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:i.start,defaultFormat:ql},(function(e){return p("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:n}},p(e,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:a}))})):p("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},p("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},e.renderTableRowAxis=function(t){var n=e.context,r=n.options,i=n.viewApi,a={text:r.allDayText,view:i};return p(er,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:a,generatorName:"allDayContent",customGenerator:r.allDayContent,defaultGenerator:Zl,classNameGenerator:r.allDayClassNames,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount},(function(e){return p("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",null==t?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:t}},p(e,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]}))}))},e.handleSlatCoords=function(t){e.setState({slatCoords:t})},e}return _inherits(t,e),_createClass(t,[{key:"renderSimpleLayout",value:function(e,t,n){var r=this.context,i=this.props,a=[],o=ao(r.options);return e&&a.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(a.push({type:"body",key:"all-day",chunk:{content:t}}),a.push({type:"body",key:"all-day-divider",outerContent:p("tr",{role:"presentation",className:"fc-scrollgrid-section"},p("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),a.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(r.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),p(nr,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:r.viewSpec},p(so,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[{width:"shrink"}],sections:a}))}},{key:"renderHScrollLayout",value:function(e,t,n,r,i,a,o){var s=this,l=this.context.pluginHooks.scrollGridImpl;if(!l)throw new Error("No ScrollGrid implementation");var c=this.context,u=this.props,d=!u.forPrint&&ao(c.options),f=!u.forPrint&&oo(c.options),h=[];e&&h.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return p("tr",{role:"presentation"},s.renderHeadAxis("day",e.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(h.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return p("tr",{role:"presentation"},s.renderTableRowAxis(e.rowSyncHeights[0]))}},{key:"cols",content:t}]}),h.push({key:"all-day-divider",type:"body",outerContent:p("tr",{role:"presentation",className:"fc-scrollgrid-section"},p("td",{colSpan:2,className:"fc-timegrid-divider "+c.theme.getClass("tableCellShaded")}))}));var v=c.options.nowIndicator;return h.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(c.options.expandRows),chunks:[{key:"axis",content:function(e){return p("div",{className:"fc-timegrid-axis-chunk"},p("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,p("tbody",null,p(Ql,{slatMetas:a}))),p("div",{className:"fc-timegrid-now-indicator-container"},p(Ta,{unit:v?"minute":"day"},(function(e){var t=v&&o&&o.safeComputeTop(e);return"number"==typeof t?p(fo,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:t},isAxis:!0,date:e}):null}))))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),f&&h.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:io},{key:"cols",content:io}]}),p(nr,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:c.viewSpec},p(l,{liquid:!u.isHeightAuto&&!u.forPrint,forPrint:u.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:i}]}],sections:h}))}},{key:"getAllDayMaxEventProps",value:function(){var e=this.context.options,t=e.dayMaxEvents,n=e.dayMaxEventRows;return!0!==t&&!0!==n||(t=void 0,n=5),{dayMaxEvents:t,dayMaxEventRows:n}}}])}(ua);function Zl(e){return e.text}var Xl=function(){return _createClass((function e(t,n,r){_classCallCheck(this,e),this.positions=t,this.dateProfile=n,this.slotDuration=r}),[{key:"safeComputeTop",value:function(e){var t=this.dateProfile;if(ur(t.currentRange,e)){var n=Ot(e),r=e.valueOf()-n.valueOf();if(r>=_t(t.slotMinTime)&&r<_t(t.slotMaxTime))return this.computeTimeTop(pt(r))}return null}},{key:"computeDateTop",value:function(e,t){return t||(t=Ot(e)),this.computeTimeTop(pt(e.valueOf()-t.valueOf()))}},{key:"computeTimeTop",value:function(e){var t,n,r=this.positions,i=this.dateProfile,a=r.els.length,o=(e.milliseconds-_t(i.slotMinTime))/_t(this.slotDuration);return o=Math.max(0,o),o=Math.min(a,o),t=Math.floor(o),n=o-(t=Math.min(t,a-1)),r.tops[t]+r.getHeight(t)*n}}])}(),Jl=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context,n=t.options,r=e.slatElRefs;return p("tbody",null,e.slatMetas.map((function(i,a){var o={time:i.time,date:t.dateEnv.toDate(i.date),view:t.viewApi};return p("tr",{key:i.key,ref:r.createRef(i.key)},e.axis&&p(Vl,Object.assign({},i)),p(er,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!i.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":i.isoTimeStr},renderProps:o,generatorName:"slotLaneContent",customGenerator:n.slotLaneContent,classNameGenerator:n.slotLaneClassNames,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount}))})))}}])}(qn),Kl=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).rootElRef={current:null},e.slatElRefs=new qa,e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context;return p("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},p("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,p(Jl,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}},{key:"componentDidMount",value:function(){this.updateSizing()}},{key:"componentDidUpdate",value:function(){this.updateSizing()}},{key:"componentWillUnmount",value:function(){this.props.onCoords&&this.props.onCoords(null)}},{key:"updateSizing",value:function(){var e,t=this.context,n=this.props;n.onCoords&&null!==n.clientWidth&&(this.rootElRef.current.offsetHeight&&n.onCoords(new Xl(new aa(this.rootElRef.current,(e=this.slatElRefs.currentMap,n.slatMetas.map((function(t){return e[t.key]}))),!1,!0),this.props.dateProfile,t.options.slotDuration)))}}])}(qn);function $l(e,t){var n,r=[];for(n=0;n<t;n+=1)r.push([]);if(e)for(n=0;n<e.length;n+=1)r[e[n].col].push(e[n]);return r}function ec(e,t){var n=[];if(e){for(var r=0;r<t;r+=1)n[r]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};var i,a=_createForOfIteratorHelper(e.segs);try{for(a.s();!(i=a.n()).done;){var o=i.value;n[o.col].segs.push(o)}}catch(e){a.e(e)}finally{a.f()}}else for(var s=0;s<t;s+=1)n[s]=null;return n}var tc=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props;return p(So,{elClasses:["fc-timegrid-more-link"],elStyle:{top:e.top,bottom:e.bottom},allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:function(){return fc(e.hiddenSegs,e)},defaultGenerator:nc,forceTimed:!0},(function(e){return p(e,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]})}))}}])}(qn);function nc(e){return e.shortText}function rc(e,t,n){var r=new fa;null!=t&&(r.strictOrder=t),null!=n&&(r.maxStackCnt=n);var i,a,o,s=pa(r.addSegs(e)),l=function(e){var t=e.entriesByLevel,n=sc((function(e,t){return e+":"+t}),(function(r,i){var a=function(e,t,n){for(var r=e.levelCoords,i=e.entriesByLevel,a=i[t][n],o=r[t]+a.thickness,s=r.length,l=t;l<s&&r[l]<o;l+=1);for(;l<s;l+=1){for(var c=i[l],u=void 0,d=ya(c,a.span.start,ha),f=d[0]+d[1],h=f;(u=c[h])&&u.span.start<a.span.end;)h+=1;if(f<h)return{level:l,lateralStart:f,lateralEnd:h}}return null}(e,r,i),o=ic(a,n),s=t[r][i];return[Object.assign(Object.assign({},s),{nextLevelNodes:o[0]}),s.thickness+o[1]]}));return ic(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}(r);return i=l,a=1,o=sc((function(e,t,n){return va(e)}),(function(e,t,n){var r,i=e.nextLevelNodes,s=e.thickness,l=s+n,c=s/l,u=[];if(i.length){var d,f=_createForOfIteratorHelper(i);try{for(f.s();!(d=f.n()).done;){var h=d.value;if(void 0===r){var v=o(h,t,l);r=v[0],u.push(v[1])}else{var p=o(h,r,0);u.push(p[1])}}}catch(e){f.e(e)}finally{f.f()}}else r=a;var g=(r-t)*c;return[r-g,Object.assign(Object.assign({},e),{thickness:g,nextLevelNodes:u})]})),{segRects:function(e){var t=[],n=sc((function(e,t,n){return va(e)}),(function(e,n,i){var a=Object.assign(Object.assign({},e),{levelCoord:n,stackDepth:i,stackForward:0});return t.push(a),a.stackForward=r(e.nextLevelNodes,n+e.thickness,i+1)+1}));function r(e,t,r){var i,a=0,o=_createForOfIteratorHelper(e);try{for(o.s();!(i=o.n()).done;){var s=i.value;a=Math.max(n(s,t,r),a)}}catch(e){o.e(e)}finally{o.f()}return a}return r(e,0,0),t}(l=i.map((function(e){return o(e,0,0)[1]}))),hiddenGroups:s}}function ic(e,t){if(!e)return[[],0];for(var n=e.level,r=e.lateralStart,i=e.lateralEnd,a=r,o=[];a<i;)o.push(t(n,a)),a+=1;return o.sort(ac),[o.map(oc),o[0][1]]}function ac(e,t){return t[1]-e[1]}function oc(e){return e[0]}function sc(e,t){var n={};return function(){var r=e.apply(void 0,arguments);return r in n?n[r]:n[r]=t.apply(void 0,arguments)}}function lc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=[];if(n)for(var a=0;a<e.length;a+=1){var o=e[a],s=n.computeDateTop(o.start,t),l=Math.max(s+(r||0),n.computeDateTop(o.end,t));i.push({start:Math.round(s),end:Math.round(l)})}return i}var cc=cn({hour:"numeric",minute:"2-digit",meridiem:!1}),uc=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){return p(co,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:cc}))}}])}(qn),dc=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).sortEventSegs=qt(fi),e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.props,n=this.context.options,r=n.selectMirror,i=t.eventDrag&&t.eventDrag.segs||t.eventResize&&t.eventResize.segs||r&&t.dateSelectionSegs||[],a=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{},o=this.sortEventSegs(t.fgEventSegs,n.eventOrder);return p(vo,{elTag:"td",elRef:t.elRef,elClasses:["fc-timegrid-col"].concat(_toConsumableArray(t.extraClassNames||[])),elAttrs:Object.assign({role:"gridcell"},t.extraDataAttrs),date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraRenderProps:t.extraRenderProps},(function(s){return p("div",{className:"fc-timegrid-col-frame"},p("div",{className:"fc-timegrid-col-bg"},e.renderFillSegs(t.businessHourSegs,"non-business"),e.renderFillSegs(t.bgEventSegs,"bg-event"),e.renderFillSegs(t.dateSelectionSegs,"highlight")),p("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(o,a,!1,!1,!1)),p("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(i,{},Boolean(t.eventDrag),Boolean(t.eventResize),Boolean(r),"mirror")),p("div",{className:"fc-timegrid-now-indicator-container"},e.renderNowIndicator(t.nowIndicatorSegs)),po(n)&&p(s,{elTag:"div",elClasses:["fc-timegrid-col-misc"]}))}))}},{key:"renderFgSegs",value:function(e,t,n,r,i,a){var o=this.props;return o.forPrint?fc(e,o):this.renderPositionedFgSegs(e,t,n,r,i,a)}},{key:"renderPositionedFgSegs",value:function(e,t,n,r,i,a){var o=this,s=this.context.options,l=s.eventMaxStack,c=s.eventShortHeight,u=s.eventOrderStrict,d=s.eventMinHeight,f=this.props,h=f.date,v=f.slatCoords,g=f.eventSelection,m=f.todayRange,b=f.nowDate,_=n||r||i,C=function(e,t,n,r){for(var i=[],a=[],o=0;o<e.length;o+=1){var s=t[o];s?i.push({index:o,thickness:1,span:s}):a.push(e[o])}var l,c=rc(i,n,r),u=c.segRects,d=c.hiddenGroups,f=[],h=_createForOfIteratorHelper(u);try{for(h.s();!(l=h.n()).done;){var v=l.value;f.push({seg:e[v.index],rect:v})}}catch(e){h.e(e)}finally{h.f()}for(var p=0,g=a;p<g.length;p++){var m=g[p];f.push({seg:m,rect:null})}return{segPlacements:f,hiddenGroups:d}}(e,lc(e,h,v,d),u,l),E=C.segPlacements,k=C.hiddenGroups;return p(y,null,this.renderHiddenGroups(k,e),E.map((function(e){var s=e.seg,l=e.rect,u=s.eventRange.instance.instanceId,d=_||Boolean(!t[u]&&l),f=hc(l&&l.span),h=!_&&l?o.computeSegHStyle(l):{left:0,right:0},v=Boolean(l)&&l.stackForward>0,y=Boolean(l)&&l.span.end-l.span.start<c;return p("div",{className:"fc-timegrid-event-harness"+(v?" fc-timegrid-event-harness-inset":""),key:a||u,style:Object.assign(Object.assign({visibility:d?"":"hidden"},f),h)},p(uc,Object.assign({seg:s,isDragging:n,isResizing:r,isDateSelecting:i,isSelected:u===g,isShort:y},yi(s,m,b))))})))}},{key:"renderHiddenGroups",value:function(e,t){var n=this.props,r=n.extraDateSpan,i=n.dateProfile,a=n.todayRange,o=n.nowDate,s=n.eventSelection,l=n.eventDrag,c=n.eventResize;return p(y,null,e.map((function(e){var n,u,d=hc(e.span),f=(n=e.entries,u=t,n.map((function(e){return u[e.index]})));return p(tc,{key:Wt(wo(f)),hiddenSegs:f,top:d.top,bottom:d.bottom,extraDateSpan:r,dateProfile:i,todayRange:a,nowDate:o,eventSelection:s,eventDrag:l,eventResize:c})})))}},{key:"renderFillSegs",value:function(e,t){var n=this.props,r=this.context,i=lc(e,n.date,n.slatCoords,r.options.eventMinHeight).map((function(r,i){var a=e[i];return p("div",{key:_i(a.eventRange),className:"fc-timegrid-bg-harness",style:hc(r)},"bg-event"===t?p(mo,Object.assign({seg:a},yi(a,n.todayRange,n.nowDate))):bo(t))}));return p(y,null,i)}},{key:"renderNowIndicator",value:function(e){var t=this.props,n=t.slatCoords,r=t.date;return n?e.map((function(e,t){return p(fo,{key:t,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:n.computeDateTop(e.start,r)},isAxis:!1,date:r})})):null}},{key:"computeSegHStyle",value:function(e){var t,n,r=this.context,i=r.isRtl,a=r.options.slotEventOverlap,o=e.levelCoord,s=e.levelCoord+e.thickness;a&&(s=Math.min(1,o+2*(s-o))),i?(t=1-s,n=o):(t=o,n=1-s);var l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return a&&!e.stackForward&&(l[i?"marginLeft":"marginRight"]=20),l}}])}(qn);function fc(e,t){var n=t.todayRange,r=t.nowDate,i=t.eventSelection,a=t.eventDrag,o=t.eventResize,s=(a?a.affectedInstances:null)||(o?o.affectedInstances:null)||{};return p(y,null,e.map((function(e){var t=e.eventRange.instance.instanceId;return p("div",{key:t,style:{visibility:s[t]?"hidden":""}},p(uc,Object.assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===i,isShort:!1},yi(e,n,r))))})))}function hc(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}var vc=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).splitFgEventSegs=qt($l),e.splitBgEventSegs=qt($l),e.splitBusinessHourSegs=qt($l),e.splitNowIndicatorSegs=qt($l),e.splitDateSelectionSegs=qt($l),e.splitEventDrag=qt(ec),e.splitEventResize=qt(ec),e.rootElRef={current:null},e.cellElRefs=new qa,e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.props,n=this.context.options.nowIndicator&&t.slatCoords&&t.slatCoords.safeComputeTop(t.nowDate),r=t.cells.length,i=this.splitFgEventSegs(t.fgEventSegs,r),a=this.splitBgEventSegs(t.bgEventSegs,r),o=this.splitBusinessHourSegs(t.businessHourSegs,r),s=this.splitNowIndicatorSegs(t.nowIndicatorSegs,r),l=this.splitDateSelectionSegs(t.dateSelectionSegs,r),c=this.splitEventDrag(t.eventDrag,r),u=this.splitEventResize(t.eventResize,r);return p("div",{className:"fc-timegrid-cols",ref:this.rootElRef},p("table",{role:"presentation",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,p("tbody",{role:"presentation"},p("tr",{role:"row"},t.axis&&p("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},p("div",{className:"fc-timegrid-col-frame"},p("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&p(fo,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:n},isAxis:!0,date:t.nowDate})))),t.cells.map((function(n,r){return p(dc,{key:n.key,elRef:e.cellElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,nowDate:t.nowDate,todayRange:t.todayRange,extraRenderProps:n.extraRenderProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,fgEventSegs:i[r],bgEventSegs:a[r],businessHourSegs:o[r],nowIndicatorSegs:s[r],dateSelectionSegs:l[r],eventDrag:c[r],eventResize:u[r],slatCoords:t.slatCoords,eventSelection:t.eventSelection,forPrint:t.forPrint})}))))))}},{key:"componentDidMount",value:function(){this.updateCoords()}},{key:"componentDidUpdate",value:function(){this.updateCoords()}},{key:"updateCoords",value:function(){var e,t=this.props;t.onColCoords&&null!==t.clientWidth&&t.onColCoords(new aa(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.cells.map((function(t){return e[t.key]}))),!0,!1))}}])}(qn);var pc=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).processSlotOptions=qt(gc),e.state={slatCoords:null},e.handleRootEl=function(t){t?e.context.registerInteractiveComponent(e,{el:t,isHitComboAllowed:e.props.isHitComboAllowed}):e.context.unregisterInteractiveComponent(e)},e.handleScrollRequest=function(t){var n=e.props.onScrollTopRequest,r=e.state.slatCoords;if(n&&r){if(t.time){var i=r.computeTimeTop(t.time);(i=Math.ceil(i))&&(i+=1),n(i)}return!0}return!1},e.handleColCoords=function(t){e.colCoords=t},e.handleSlatCoords=function(t){e.setState({slatCoords:t}),e.props.onSlatCoords&&e.props.onSlatCoords(t)},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.state;return p("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},p(Kl,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),p(vc,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}},{key:"componentDidMount",value:function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}},{key:"componentDidUpdate",value:function(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}},{key:"componentWillUnmount",value:function(){this.scrollResponder.detach()}},{key:"queryHit",value:function(e,t){var n=this.context,r=n.dateEnv,i=n.options,a=this.colCoords,o=this.props.dateProfile,s=this.state.slatCoords,l=this.processSlotOptions(this.props.slotDuration,i.snapDuration),c=l.snapDuration,u=l.snapsPerSlot,d=a.leftToIndex(e),f=s.positions.topToIndex(t);if(null!=d&&null!=f){var h=this.props.cells[d],v=s.positions.tops[f],p=s.positions.getHeight(f),g=(t-v)/p,m=f*u+Math.floor(g*u),y=this.props.cells[d].date,b=mt(o.slotMinTime,yt(c,m)),_=r.add(y,b),C=r.add(_,c);return{dateProfile:o,dateSpan:Object.assign({range:{start:_,end:C},allDay:!1},h.extraDateSpan),dayEl:a.els[d],rect:{left:a.lefts[d],right:a.rights[d],top:v,bottom:v+p},layer:0}}return null}}])}(ua);function gc(e,t){var n=t||e,r=Ct(e,n);return null===r&&(n=e,r=1),{snapDuration:n,snapsPerSlot:r}}var mc=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"sliceRange",value:function(e,t){for(var n=[],r=0;r<t.length;r+=1){var i=or(e,t[r]);i&&n.push({start:i.start,end:i.end,isStart:i.start.valueOf()===e.start.valueOf(),isEnd:i.end.valueOf()===e.end.valueOf(),col:r})}return n}}])}(Ha),yc=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).buildDayRanges=qt(bc),e.slicer=new mc,e.timeColsRef={current:null},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.props,n=this.context,r=t.dateProfile,i=t.dayTableModel,a=n.options,o=a.nowIndicator,s=a.nextDayThreshold,l=this.buildDayRanges(i,r,n.dateEnv);return p(Ta,{unit:o?"minute":"day"},(function(a,c){return p(pc,Object.assign({ref:e.timeColsRef},e.slicer.sliceProps(t,r,null,n,l),{forPrint:t.forPrint,axis:t.axis,dateProfile:r,slatMetas:t.slatMetas,slotDuration:t.slotDuration,cells:i.cells[0],tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,expandRows:t.expandRows,nowDate:a,nowIndicatorSegs:o&&e.slicer.sliceNowDate(a,r,s,n,l),todayRange:c,onScrollTopRequest:t.onScrollTopRequest,onSlatCoords:t.onSlatCoords}))}))}}])}(ua);function bc(e,t,n){var r,i=[],a=_createForOfIteratorHelper(e.headerDates);try{for(a.s();!(r=a.n()).done;){var o=r.value;i.push({start:n.add(o,t.slotMinTime),end:n.add(o,t.slotMaxTime)})}}catch(e){a.e(e)}finally{a.f()}return i}var _c=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function Cc(e,t,n,r,i){for(var a=new Date(0),o=e,s=pt(0),l=n||function(e){var t,n,r;for(t=_c.length-1;t>=0;t-=1)if(null!==(r=Ct(n=pt(_c[t]),e))&&r>1)return n;return e}(r),c=[];_t(o)<_t(t);){var u=i.add(a,o),d=null!==Ct(s,l);c.push({date:u,time:o,key:u.toISOString(),isoTimeStr:Gt(u),isLabeled:d}),o=mt(o,r),s=mt(s,r)}return c}var Ec=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).buildTimeColsModel=qt(kc),e.buildSlatMetas=qt(Cc),e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.context,n=t.options,r=t.dateEnv,i=t.dateProfileGenerator,a=this.props,o=a.dateProfile,s=this.buildTimeColsModel(o,i),l=this.allDaySplitter.splitProps(a),c=this.buildSlatMetas(o.slotMinTime,o.slotMaxTime,n.slotLabelInterval,n.slotDuration,r),u=n.dayMinWidth,d=!u,f=u,h=n.dayHeaders&&p(Ma,{dates:s.headerDates,dateProfile:o,datesRepDistinctDays:!0,renderIntro:d?this.renderHeadAxis:null}),v=!1!==n.allDaySlot&&function(t){return p(Pl,Object.assign({},l.allDay,{dateProfile:o,dayTableModel:s,nextDayThreshold:n.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:d?e.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:a.forPrint},e.getAllDayMaxEventProps()))},g=function(t){return p(yc,Object.assign({},l.timed,{dayTableModel:s,dateProfile:o,axis:d,slotDuration:n.slotDuration,slatMetas:c,forPrint:a.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:e.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:e.handleScrollTopRequest}))};return f?this.renderHScrollLayout(h,v,g,s.colCnt,u,c,this.state.slatCoords):this.renderSimpleLayout(h,v,g)}}])}(Yl);function kc(e,t){var n=new Oa(e.renderRange,t);return new Na(n,!1)}xe('.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-arrow,.fc .fc-timegrid-now-indicator-line{pointer-events:none}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}');var Sc=Fo({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:Ec,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}}),Ac=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).state={textId:Le()},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.context,t=e.theme,n=e.dateEnv,r=e.options,i=e.viewApi,a=this.props,o=a.cellId,s=a.dayDate,l=a.todayRange,c=this.state.textId,u=Gi(s,l),d=r.listDayFormat?n.format(s,r.listDayFormat):"",f=r.listDaySideFormat?n.format(s,r.listDaySideFormat):"",h=Object.assign({date:n.toDate(s),view:i,textId:c,text:d,sideText:f,navLinkAttrs:Zi(this.context,s),sideNavLinkAttrs:Zi(this.context,s,"day",!1)},u);return p(er,{elTag:"tr",elClasses:["fc-list-day"].concat(_toConsumableArray(Qi(u,t))),elAttrs:{"data-date":Lt(s)},renderProps:h,generatorName:"dayHeaderContent",customGenerator:r.dayHeaderContent,defaultGenerator:Dc,classNameGenerator:r.dayHeaderClassNames,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},(function(e){return p("th",{scope:"colgroup",colSpan:3,id:o,"aria-labelledby":c},p(e,{elTag:"div",elClasses:["fc-list-day-cushion",t.getClass("tableCellShaded")]}))}))}}])}(qn);function Dc(e){return p(y,null,e.text&&p("a",Object.assign({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&p("a",Object.assign({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}var wc=cn({hour:"numeric",minute:"2-digit",meridiem:"short"}),Rc=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context,n=t.options,r=e.seg,i=e.timeHeaderId,a=e.eventHeaderId,o=e.dateHeaderId,s=n.eventTimeFormat||wc;return p(lo,Object.assign({},e,{elTag:"tr",elClasses:["fc-list-event",r.eventRange.def.url&&"fc-event-forced-url"],defaultGenerator:function(){return function(e,t){var n=Ci(e,t);return p("a",Object.assign({},n),e.eventRange.def.title)}(r,t)},seg:r,timeText:"",disableDragging:!0,disableResizing:!0}),(function(e,n){return p(y,null,function(e,t,n,r,i){var a=n.options;if(!1!==a.displayEventTime){var o,s=e.eventRange.def,l=e.eventRange.instance,c=!1;if(s.allDay?c=!0:hr(e.eventRange.range)?e.isStart?o=mi(e,t,n,null,null,l.range.start,e.end):e.isEnd?o=mi(e,t,n,null,null,e.start,l.range.end):c=!0:o=mi(e,t,n),c){var u={text:n.options.allDayText,view:n.viewApi};return p(er,{elTag:"td",elClasses:["fc-list-event-time"],elAttrs:{headers:"".concat(r," ").concat(i)},renderProps:u,generatorName:"allDayContent",customGenerator:a.allDayContent,defaultGenerator:Tc,classNameGenerator:a.allDayClassNames,didMount:a.allDayDidMount,willUnmount:a.allDayWillUnmount})}return p("td",{className:"fc-list-event-time"},o)}return null}(r,s,t,i,o),p("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},p("span",{className:"fc-list-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}})),p(e,{elTag:"td",elClasses:["fc-list-event-title"],elAttrs:{headers:"".concat(a," ").concat(o)}}))}))}}])}(qn);function Tc(e){return e.text}var xc=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).computeDateVars=qt(Ic),e.eventStoreToSegs=qt(e._eventStoreToSegs),e.state={timeHeaderId:Le(),eventHeaderId:Le(),dateHeaderIdRoot:Le()},e.setRootEl=function(t){t?e.context.registerInteractiveComponent(e,{el:t}):e.context.unregisterInteractiveComponent(e)},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.context,n=this.computeDateVars(e.dateProfile),r=n.dayDates,i=n.dayRanges,a=this.eventStoreToSegs(e.eventStore,e.eventUiBases,i);return p(nr,{elRef:this.setRootEl,elClasses:["fc-list",t.theme.getClass("table"),!1!==t.options.stickyHeaderDates?"fc-list-sticky":""],viewSpec:t.viewSpec},p(Qa,{liquid:!e.isHeightAuto,overflowX:e.isHeightAuto?"visible":"hidden",overflowY:e.isHeightAuto?"visible":"auto"},a.length>0?this.renderSegList(a,r):this.renderEmptyMessage()))}},{key:"renderEmptyMessage",value:function(){var e=this.context,t=e.options,n=e.viewApi,r={text:t.noEventsText,view:n};return p(er,{elTag:"div",elClasses:["fc-list-empty"],renderProps:r,generatorName:"noEventsContent",customGenerator:t.noEventsContent,defaultGenerator:Mc,classNameGenerator:t.noEventsClassNames,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},(function(e){return p(e,{elTag:"div",elClasses:["fc-list-empty-cushion"]})}))}},{key:"renderSegList",value:function(e,t){var n=this.context,r=n.theme,i=n.options,a=this.state,o=a.timeHeaderId,s=a.eventHeaderId,l=a.dateHeaderIdRoot,c=function(e){var t,n,r=[];for(t=0;t<e.length;t+=1)(r[(n=e[t]).dayIndex]||(r[n.dayIndex]=[])).push(n);return r}(e);return p(Ta,{unit:"day"},(function(e,n){for(var a=[],u=0;u<c.length;u+=1){var d=c[u];if(d){var f=Lt(t[u]),h=l+"-"+f;a.push(p(Ac,{key:f,cellId:h,dayDate:t[u],todayRange:n}));var v,g=_createForOfIteratorHelper(d=fi(d,i.eventOrder));try{for(g.s();!(v=g.n()).done;){var m=v.value;a.push(p(Rc,Object.assign({key:f+":"+m.eventRange.instance.instanceId,seg:m,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:o,eventHeaderId:s,dateHeaderId:h},yi(m,n,e))))}}catch(e){g.e(e)}finally{g.f()}}}return p("table",{className:"fc-list-table "+r.getClass("table")},p("thead",null,p("tr",null,p("th",{scope:"col",id:o},i.timeHint),p("th",{scope:"col","aria-hidden":!0}),p("th",{scope:"col",id:s},i.eventHint))),p("tbody",null,a))}))}},{key:"_eventStoreToSegs",value:function(e,t,n){return this.eventRangesToSegs(oi(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)}},{key:"eventRangesToSegs",value:function(e,t){var n,r=[],i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;r.push.apply(r,_toConsumableArray(this.eventRangeToSegs(a,t)))}}catch(e){i.e(e)}finally{i.f()}return r}},{key:"eventRangeToSegs",value:function(e,t){var n,r,i,a=this.context.dateEnv,o=this.context.options.nextDayThreshold,s=e.range,l=e.def.allDay,c=[];for(n=0;n<t.length;n+=1)if((r=or(s,t[n]))&&(i={component:this,eventRange:e,start:r.start,end:r.end,isStart:e.isStart&&r.start.valueOf()===s.start.valueOf(),isEnd:e.isEnd&&r.end.valueOf()===s.end.valueOf(),dayIndex:n},c.push(i),!i.isEnd&&!l&&n+1<t.length&&s.end<a.add(t[n+1].start,o))){i.end=s.end,i.isEnd=!0;break}return c}}])}(ua);function Mc(e){return e.text}function Ic(e){for(var t=Ot(e.renderRange.start),n=e.renderRange.end,r=[],i=[];t<n;)r.push(t),i.push({start:t,end:Dt(t,1)}),t=Dt(t,1);return{dayDates:r,dayRanges:i}}function Oc(e){return!1===e?null:cn(e)}xe(':root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:"";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}');var Nc=Fo({name:"@fullcalendar/list",optionRefiners:{listDayFormat:Oc,listDaySideFormat:Oc,noEventsClassNames:_n,noEventsContent:_n,noEventsDidMount:_n,noEventsWillUnmount:_n},views:{list:{component:xc,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}}),Hc=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).buildDayTableModel=qt(Bl),e.slicer=new Hl,e.state={labelId:Le()},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this.props,t=this.state,n=this.context,r=e.dateProfile,i=e.forPrint,a=n.options,o=this.buildDayTableModel(r,n.dateProfileGenerator),s=this.slicer.sliceProps(e,r,a.nextDayThreshold,n,o),l=null!=e.tableWidth?e.tableWidth/a.aspectRatio:null,c=o.cells.length,u=null!=l?l/c:null;return p("div",{ref:e.elRef,"data-date":e.isoDateStr,className:"fc-multimonth-month",style:{width:e.width},role:"grid","aria-labelledby":t.labelId},p("div",{className:"fc-multimonth-header",style:{marginBottom:u},role:"presentation"},p("div",{className:"fc-multimonth-title",id:t.labelId},n.dateEnv.format(e.dateProfile.currentRange.start,e.titleFormat)),p("table",{className:["fc-multimonth-header-table",n.theme.getClass("table")].join(" "),role:"presentation"},p("thead",{role:"rowgroup"},p(Ma,{dateProfile:e.dateProfile,dates:o.headerDates,datesRepDistinctDays:!1})))),p("div",{className:["fc-multimonth-daygrid","fc-daygrid","fc-daygrid-body",!i&&"fc-daygrid-body-balanced",i&&"fc-daygrid-body-unbalanced",i&&"fc-daygrid-body-natural"].join(" "),style:{marginTop:-u}},p("table",{className:["fc-multimonth-daygrid-table",n.theme.getClass("table")].join(" "),style:{height:i?"":l},role:"presentation"},p("tbody",{role:"rowgroup"},p(Il,Object.assign({},s,{dateProfile:r,cells:o.cells,eventSelection:e.eventSelection,dayMaxEvents:!i,dayMaxEventRows:!i,showWeekNumbers:a.weekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:i}))))))}}])}(ua),Pc=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).splitDateProfileByMonth=qt(Bc),e.buildMonthFormat=qt(Uc),e.scrollElRef={current:null},e.firstMonthElRef={current:null},e.needsScrollReset=!1,e.handleSizing=function(t){t&&e.updateSize()},e}return _inherits(t,e),_createClass(t,[{key:"render",value:function(){var e=this,t=this.context,n=this.props,r=this.state,i=t.options,a=r.clientWidth,o=r.clientHeight,s=r.monthHPadding||0,l=Math.min(null!=a?Math.floor(a/(i.multiMonthMinWidth+s)):1,i.multiMonthMaxColumns)||1,c=100/l+"%",u=null==a?null:a/l-s,d=null!=a&&1===l,f=this.splitDateProfileByMonth(t.dateProfileGenerator,n.dateProfile,t.dateEnv,!d&&i.fixedWeekCount,i.showNonCurrentDates),h=this.buildMonthFormat(i.multiMonthTitleFormat,f),v=["fc-multimonth",d?"fc-multimonth-singlecol":"fc-multimonth-multicol",null!=u&&u<400?"fc-multimonth-compact":"",n.isHeightAuto?"":"fc-scroller"];return p(nr,{elRef:this.scrollElRef,elClasses:v,viewSpec:t.viewSpec},f.map((function(t,r){var i=Vt(t.currentRange.start);return p(Hc,Object.assign({},n,{key:i,isoDateStr:i,elRef:0===r?e.firstMonthElRef:void 0,titleFormat:h,dateProfile:t,width:c,tableWidth:u,clientWidth:a,clientHeight:o}))})))}},{key:"componentDidMount",value:function(){this.updateSize(),this.context.addResizeHandler(this.handleSizing),this.requestScrollReset()}},{key:"componentDidUpdate",value:function(e){wn(e,this.props)||this.handleSizing(!1),e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}},{key:"componentWillUnmount",value:function(){this.context.removeResizeHandler(this.handleSizing)}},{key:"updateSize",value:function(){var e=this.scrollElRef.current,t=this.firstMonthElRef.current;e&&this.setState({clientWidth:e.clientWidth,clientHeight:e.clientHeight}),t&&e&&null==this.state.monthHPadding&&this.setState({monthHPadding:e.clientWidth-t.firstChild.offsetWidth})}},{key:"requestScrollReset",value:function(){this.needsScrollReset=!0,this.flushScrollReset()}},{key:"flushScrollReset",value:function(){if(this.needsScrollReset&&null!=this.state.monthHPadding){var e=this.props.dateProfile.currentDate,t=this.scrollElRef.current,n=t.querySelector('[data-date="'.concat(Vt(e),'"]'));t.scrollTop=n.getBoundingClientRect().top-this.firstMonthElRef.current.getBoundingClientRect().top,this.needsScrollReset=!1}}},{key:"shouldComponentUpdate",value:function(){return!0}}])}(ua),jc=pt(1,"month");function Bc(e,t,n,r,i){for(var a=t.currentRange,o=a.start,s=a.end,l=o,c=[];l.valueOf()<s.valueOf();){var u=n.add(l,jc),d={start:e.skipHiddenDays(l),end:e.skipHiddenDays(u,-1,!0)},f=zl({currentRange:d,snapToWeek:!0,fixedWeekCount:r,dateEnv:n});f={start:e.skipHiddenDays(f.start),end:e.skipHiddenDays(f.end,-1,!0)};var h=t.activeRange?or(t.activeRange,i?f:d):null;c.push({currentDate:t.currentDate,isValid:t.isValid,validRange:t.validRange,renderRange:f,activeRange:h,currentRange:d,currentRangeUnit:"month",isRangeAllDay:!0,dateIncrement:t.dateIncrement,slotMinTime:t.slotMaxTime,slotMaxTime:t.slotMinTime}),l=u}return c}var Fc=cn({year:"numeric",month:"long"}),zc=cn({month:"long"});function Uc(e,t){return e||(t[0].currentRange.start.getUTCFullYear()!==t[t.length-1].currentRange.start.getUTCFullYear()?Fc:zc)}var Wc={multiMonthTitleFormat:cn,multiMonthMaxColumns:Number,multiMonthMinWidth:Number};xe(".fc .fc-multimonth{border:1px solid var(--fc-border-color);display:flex;flex-wrap:wrap;overflow-x:hidden;overflow-y:auto}.fc .fc-multimonth-title{font-size:1.2em;font-weight:700;padding:1em 0;text-align:center}.fc .fc-multimonth-daygrid{background:var(--fc-page-bg-color)}.fc .fc-multimonth-daygrid-table,.fc .fc-multimonth-header-table{table-layout:fixed;width:100%}.fc .fc-multimonth-daygrid-table{border-top-style:hidden!important}.fc .fc-multimonth-singlecol .fc-multimonth{position:relative}.fc .fc-multimonth-singlecol .fc-multimonth-header{background:var(--fc-page-bg-color);position:relative;top:0;z-index:2}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid{position:relative;z-index:1}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid-table,.fc .fc-multimonth-singlecol .fc-multimonth-header-table{border-left-style:hidden;border-right-style:hidden}.fc .fc-multimonth-singlecol .fc-multimonth-month:last-child .fc-multimonth-daygrid-table{border-bottom-style:hidden}.fc .fc-multimonth-multicol{line-height:1}.fc .fc-multimonth-multicol .fc-multimonth-month{padding:0 1.2em 1.2em}.fc .fc-multimonth-multicol .fc-daygrid-more-link{border:1px solid var(--fc-event-border-color);display:block;float:none;padding:1px}.fc .fc-multimonth-compact{line-height:1}.fc .fc-multimonth-compact .fc-multimonth-daygrid-table,.fc .fc-multimonth-compact .fc-multimonth-header-table{font-size:.9em}.fc-media-screen .fc-multimonth-singlecol .fc-multimonth-header{position:sticky}.fc-media-print .fc-multimonth{overflow:visible}");var Lc=Fo({name:"@fullcalendar/multimonth",initialView:"multiMonthYear",optionRefiners:Wc,views:{multiMonth:{component:Pc,dateProfileGeneratorClass:Fl,multiMonthMinWidth:350,multiMonthMaxColumns:3},multiMonthYear:{type:"multiMonth",duration:{years:1},fixedWeekCount:!0,showNonCurrentDates:!1}}});return vs.push(dl,Ul,Sc,Nc,Lc),e.Calendar=Ps,e.Draggable=ll,e.Internal=Mo,e.JsonRequestError=Ti,e.Preact=Io,e.ThirdPartyDraggable=ul,e.createPlugin=Fo,e.formatDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=js(t),r=cn(t),i=n.createMarkerMeta(e);return i?n.format(i.marker,r,{forcedTzo:i.forcedTzo}):""},e.formatRange=function(e,t,n){var r=js("object"==typeof n&&n?n:{}),i=cn(n),a=r.createMarkerMeta(e),o=r.createMarkerMeta(t);return a&&o?r.formatRange(a.marker,o.marker,i,{forcedStartTzo:a.forcedTzo,forcedEndTzo:o.forcedTzo,isEndExclusive:n.isEndExclusive,defaultSeparator:dn.defaultRangeSeparator}):""},e.globalLocales=Oo,e.globalPlugins=vs,e.sliceEvents=function(e,t){return oi(e.eventStore,e.eventUiBases,e.dateProfile.activeRange,t?e.nextDayThreshold:null).fg},e.version="6.1.15",Object.defineProperty(e,"__esModule",{value:!0}),e}({});
/*!
FullCalendar Dayjs Plugin v6.1.15
Docs & License: https://fullcalendar.io/docs/dayjs-plugin
(c) 2024 Adam Shaw
*/FullCalendar.Dayjs=function(e,t,n,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var a=i(n);function o(e,t,n,r){var i;return"local"===t?i=a.default(e):"UTC"===t?i=a.default.utc(e):a.default.tz?i=a.default.tz(e,t):(i=a.default.utc(e),null!=n&&i.utcOffset(n)),i.locale(r),i}function s(e){return function(t){return t?e.format(t):""}}function l(e){var t=e.match(/^(.*?)\{(.*)\}(.*)$/);if(t){var n=l(t[2]);return{head:t[1],middle:n,tail:t[3],whole:t[1]+n.whole+t[3]}}return{head:null,middle:null,tail:null,whole:e}}function c(e,t,n,r){if(e.middle){var i=t(e.head),a=c(e.middle,t,n,r),o=t(e.tail),s=n(e.head),l=c(e.middle,t,n,r),u=n(e.tail);if(i===s&&o===u)return i+(a===l?a:a+r+l)+o}var d=t(e.whole),f=n(e.whole);return d===f?d:d+r+f}var u=t.createPlugin({name:"@fullcalendar/dayjs",cmdFormatter:function(e,t){var n=l(e);if(t.end){var r=o(t.start.array,t.timeZone,t.start.timeZoneOffset,t.localeCodes[0]),i=o(t.end.array,t.timeZone,t.end.timeZoneOffset,t.localeCodes[0]);return c(n,s(r),s(i),t.defaultSeparator)}return o(t.date.array,t.timeZone,t.date.timeZoneOffset,t.localeCodes[0]).format(n.whole)}});return t.globalPlugins.push(u),e.default=u,e.toDayjs=function(e,t){if(!(t instanceof r.CalendarImpl))throw new Error("must supply a CalendarApi instance");var n=t.getCurrentData().dateEnv;return o(e,n.timeZone,null,n.locale.codes[0])},e.toDayjsDuration=function(e){return a.default.duration(e)},Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,dayjs,FullCalendar.Internal);