adejs/static/fullcalendar/fullcalendar.min.js

13 lines
222 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!
* FullCalendar v4.0.0-alpha.2
* Docs & License: https://fullcalendar.io/
* (c) 2018 Adam Shaw
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("superagent")):"function"==typeof define&&define.amd?define(["superagent"],t):"object"==typeof exports?exports.FullCalendar=t(require("superagent")):e.FullCalendar=t(e.superagent)}("undefined"!=typeof self?self:this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=164)}([,function(e,t){var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};t.__extends=function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}},function(e,t,n){function r(e,t){t.left&&k.applyStyle(e,{borderLeftWidth:1,marginLeft:t.left-1}),t.right&&k.applyStyle(e,{borderRightWidth:1,marginRight:t.right-1})}function i(e){k.applyStyle(e,{marginLeft:"",marginRight:"",borderLeftWidth:"",borderRightWidth:""})}function o(){document.body.classList.add("fc-not-allowed")}function a(){document.body.classList.remove("fc-not-allowed")}function s(e,t,n){var r=Math.floor(t/e.length),i=Math.floor(t-r*(e.length-1)),o=[],a=[],s=[],u=0;l(e),e.forEach(function(t,n){var l=n===e.length-1?i:r,d=x.computeHeightAndMargins(t);d<l?(o.push(t),a.push(d),s.push(t.offsetHeight)):u+=d}),n&&(t-=u,r=Math.floor(t/o.length),i=Math.floor(t-r*(o.length-1))),o.forEach(function(e,t){var n=t===o.length-1?i:r,l=a[t],u=s[t],d=n-(l-u);l<n&&(e.style.height=d+"px")})}function l(e){e.forEach(function(e){e.style.height=""})}function u(e){var t=0;return e.forEach(function(e){var n=e.firstChild;if(n instanceof HTMLElement){var r=n.offsetWidth;r>t&&(t=r)}}),t++,e.forEach(function(e){e.style.width=t+"px"}),t}function d(e,t){var n={position:"relative",left:-1};k.applyStyle(e,n),k.applyStyle(t,n);var r=e.offsetHeight-t.offsetHeight,i={position:"",left:""};return k.applyStyle(e,i),k.applyStyle(t,i),r}function c(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",N.preventDefault)}function f(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",N.preventDefault)}function p(e){e.addEventListener("contextmenu",N.preventDefault)}function h(e){e.removeEventListener("contextmenu",N.preventDefault)}function g(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++)n=i[t],"string"==typeof n?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 v(e,t,n){var r,i;for(r=0;r<n.length;r++)if(i=y(e,t,n[r]))return i;return 0}function y(e,t,n){return n.func?n.func(e,t):m(e[n.field],t[n.field])*(n.order||1)}function m(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 E(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=window.console;if(n&&n.log)return n.log.apply(n,e)}function S(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=window.console;return n&&n.warn?n.warn.apply(n,e):E.apply(null,e)}function b(e){return e.charAt(0).toUpperCase()+e.slice(1)}function D(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function w(e,t){return e-t}function T(e){return e%1==0}function C(e,t,n){if("function"==typeof e&&(e=[e]),e){var r=void 0,i=void 0;for(r=0;r<e.length;r++)i=e[r].apply(t,n)||i;return i}}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0;n<e.length;n++)if(void 0!==e[n])return e[n]}function M(e,t){var n,r,i,o,a,s=function(){var l=(new Date).valueOf()-o;l<t?n=setTimeout(s,t-l):(n=null,a=e.apply(i,r),i=r=null)};return function(){return i=this,r=arguments,o=(new Date).valueOf(),n||(n=setTimeout(s,t)),a}}function H(e,t,n,r){void 0===n&&(n={});var i={};for(var o in t){var a=t[o];void 0!==e[o]?a===Function?i[o]="function"==typeof e[o]?e[o]:null:i[o]=a?a(e[o]):e[o]:void 0!==n[o]?i[o]=n[o]:a===String?i[o]="":a&&a!==Number&&a!==Boolean&&a!==Function?i[o]=a(null):i[o]=null}if(r)for(var o in e)void 0===t[o]&&(r[o]=e[o]);return i}function I(e){var t=Math.floor(L.diffDays(e.start,e.end))||1,n=L.startOfDay(e.start);return{start:n,end:L.addDays(n,t)}}function _(e,t){var n=L.startOfDay(e.start),r=e.end,i=L.startOfDay(r),o=r.valueOf()-i.valueOf();return o&&o>=V.asRoughMs(t)&&(i=L.addDays(i,1)),i<=n&&(i=L.addDays(n,1)),{start:n,end:i}}function O(e){var t=_(e,V.createDuration(0));return L.diffDays(t.start,t.end)>1}function P(e,t,n,r){return"year"===r?V.createDuration(n.diffWholeYears(e,t),"year"):"month"===r?V.createDuration(n.diffWholeMonths(e,t),"month"):L.diffDayAndTime(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var k=n(3),x=n(13),N=n(19),L=n(6),V=n(10);t.compensateScroll=r,t.uncompensateScroll=i,t.disableCursor=o,t.enableCursor=a,t.distributeHeight=s,t.undistributeHeight=l,t.matchCellWidths=u,t.subtractInnerElHeight=d,t.preventSelection=c,t.allowSelection=f,t.preventContextMenu=p,t.allowContextMenu=h,t.parseFieldSpecs=g,t.compareByFieldSpecs=v,t.compareByFieldSpec=y,t.flexibleCompare=m,t.log=E,t.warn=S,t.capitaliseFirstLetter=b,t.padStart=D,t.compareNumbers=w,t.isInt=T,t.applyAll=C,t.firstDefined=R,t.debounce=M,t.refineProps=H,t.computeAlignedDayRange=I,t.computeVisibleDayRange=_,t.isMultiDayRange=O,t.diffDates=P},function(e,t){function n(e,t,n){var r=document.createElement(e);if(t)for(var i in t)"style"===i?y(r,t[i]):E[i]?r[i]=t[i]:r.setAttribute(i,t[i]);return"string"==typeof n?r.innerHTML=n:null!=n&&s(r,n),r}function r(e){e=e.trim();var t=document.createElement(a(e));return t.innerHTML=e,t.firstChild}function i(e){return Array.prototype.slice.call(o(e))}function o(e){e=e.trim();var t=document.createElement(a(e));return t.innerHTML=e,t.childNodes}function a(e){return S[e.substr(0,3)]||"div"}function s(e,t){for(var n=d(t),r=0;r<n.length;r++)e.appendChild(n[r])}function l(e,t){for(var n=d(t),r=e.firstChild||null,i=0;i<n.length;i++)e.insertBefore(n[i],r)}function u(e,t){for(var n=d(t),r=e.nextSibling||null,i=0;i<n.length;i++)e.parentNode.insertBefore(n[i],r)}function d(e){return"string"==typeof e?o(e):e instanceof Node?[e]:e}function c(e){e.parentNode&&e.parentNode.removeChild(e)}function f(e,t){return D.call(e,t)}function p(e,t){return b.call(e,t)}function h(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],i=0;i<n.length;i++)for(var o=n[i].querySelectorAll(t),a=0;a<o.length;a++)r.push(o[a]);return r}function g(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],i=0;i<n.length;i++)for(var o=n[i].children,a=0;a<o.length;a++){var s=o[a];t&&!p(s,t)||r.push(s)}return r}function v(e,t,n){n?e.classList.add(t):e.classList.remove(t)}function y(e,t,n){for(var r in t)m(e,r,t[r])}function m(e,t,n){null==n?e.style[t]="":"number"==typeof n&&w.test(t)?e.style[t]=n+"px":e.style[t]=n}Object.defineProperty(t,"__esModule",{value:!0});var E={className:!0,colSpan:!0,rowSpan:!0},S={"<tr":"tbody","<td":"tr"};t.createElement=n,t.htmlToElement=r,t.htmlToElements=i,t.appendToElement=s,t.prependToElement=l,t.insertAfterElement=u,t.removeElement=c;var b=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.msMatchesSelector,D=Element.prototype.closest||function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(p(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null};t.elementClosest=f,t.elementMatches=p,t.findElements=h,t.findChildren=g,t.forceClassName=v;var w=/(top|left|right|bottom|width|height)$/i;t.applyStyle=y,t.applyStyleProp=m},function(e,t){function n(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var o=t[r];if(null!=o)for(var a in o)i(o,a)&&(e[a]=o[a])}return e}function r(e,t){for(var n in e)i(e,n)&&(t[n]=e[n])}function i(e,t){return u.call(e,t)}function o(e,t){var n,r,i,a,s,l,u={};if(t)for(n=0;n<t.length;n++){for(r=t[n],i=[],a=e.length-1;a>=0;a--)if("object"==typeof(s=e[a][r])&&s)i.unshift(s);else if(void 0!==s){u[r]=s;break}i.length&&(u[r]=o(i))}for(n=e.length-1;n>=0;n--){l=e[n];for(r in l)r in u||(u[r]=l[r])}return u}function a(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function s(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function l(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}Object.defineProperty(t,"__esModule",{value:!0});var u={}.hasOwnProperty;t.assignTo=n,t.copyOwnProps=r,t.mergeProps=o,t.filterHash=a,t.mapHash=s,t.arrayToHash=l},,function(e,t){function n(e,t){var n=D(e);return n[2]+=7*t,w(n)}function r(e,t){var n=D(e);return n[2]+=t,w(n)}function i(e,t){var n=D(e);return n[6]+=t,w(n)}function o(e,t){return a(e,t)/7}function a(e,t){return(t.valueOf()-e.valueOf())/864e5}function s(e,t){return(t.valueOf()-e.valueOf())/36e5}function l(e,t){return(t.valueOf()-e.valueOf())/6e4}function u(e,t){return(t.valueOf()-e.valueOf())/1e3}function d(e,t){var n=p(e),r=p(t);return{years:0,months:0,days:Math.round(a(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}function c(e,t){var n=f(e,t);return null!==n&&n%7==0?n/7:null}function f(e,t){return T(e)===T(t)?Math.round(a(e,t)):null}function p(e){return w([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function h(e){return w([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}function g(e){return w([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}function v(e){return w([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}function y(e,t,n){var r=e.getUTCFullYear(),i=m(e,r,t,n);if(i<1)return m(e,r-1,t,n);var o=m(e,r+1,t,n);return o>=1?Math.min(i,o):i}function m(e,t,n,r){var i=w([t,0,1+E(t,n,r)]),o=p(e),s=Math.round(a(i,o));return Math.floor(s/7)+1}function E(e,t,n){var r=7+t-n;return-(7+w([e,0,r]).getUTCDay()-t)%7+r-1}function S(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function b(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 D(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function w(e){return new Date(Date.UTC.apply(Date,e))}function T(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}Object.defineProperty(t,"__esModule",{value:!0}),t.DAY_IDS=["sun","mon","tue","wed","thu","fri","sat"],t.addWeeks=n,t.addDays=r,t.addMs=i,t.diffWeeks=o,t.diffDays=a,t.diffHours=s,t.diffMinutes=l,t.diffSeconds=u,t.diffDayAndTime=d,t.diffWholeWeeks=c,t.diffWholeDays=f,t.startOfDay=p,t.startOfHour=h,t.startOfMinute=g,t.startOfSecond=v,t.weekOfYear=y,t.dateToLocalArray=S,t.arrayToLocalDate=b,t.dateToUtcArray=D,t.arrayToUtcDate=w,t.timeAsMs=T},,function(e,t,n){function r(e,t){return"object"==typeof e&&e?("string"==typeof t&&(e=p.assignTo({separator:t},e)),new d.NativeFormatter(e)):"string"==typeof e?new c.CmdFormatter(e,t):"function"==typeof e?new f.FuncFormatter(e):void 0}function i(e,t,n){void 0===n&&(n=!1);var 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",a(t,!0)))),r}function o(e){return u.padStart(e.getUTCHours(),2)+":"+u.padStart(e.getUTCMinutes(),2)+":"+u.padStart(e.getUTCSeconds(),2)}function a(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=Math.round(r%60);return t?n+u.padStart(i,2)+":"+u.padStart(o,2):"GMT"+n+i+(o?":"+u.padStart(o,2):"")}function s(e,t,n,r){var i=l(e,n.calendarSystem);return{date:i,start:i,end:t?l(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,separator:r}}function l(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]}}Object.defineProperty(t,"__esModule",{value:!0});var u=n(2),d=n(166),c=n(52),f=n(167),p=n(4);t.createFormatter=r,t.buildIsoString=i,t.formatIsoTimeString=o,t.formatTimeZoneOffset=a,t.createVerboseFormattingArg=s},function(e,t){function n(e){return(e+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function r(e){var t=[];for(var n in e){var r=e[n];null!=r&&t.push(n+":"+r)}return t.join(";")}function i(e){var t=[];for(var r in e){var i=e[r];null!=i&&t.push(r+'="'+n(i)+'"')}return t.join(" ")}function o(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}Object.defineProperty(t,"__esModule",{value:!0}),t.htmlEscape=n,t.cssToStr=r,t.attrsToStr=i,t.parseClassName=o},function(e,t,n){function r(e,t){var n;return"string"==typeof e?i(e):"object"==typeof e&&e?o(e):"number"==typeof e?o((n={},n[t||"milliseconds"]=e,n)):null}function i(e){var t=w.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}function o(e){return{years:e.years||e.year||0,months:e.months||e.month||0,days:(e.days||e.day||0)+7*a(e),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)}}function a(e){return e.weeks||e.week||0}function s(e,t){return e.years===t.years&&e.months===t.months&&e.days===t.days&&e.milliseconds===t.milliseconds}function l(e){return 0===e.years&&0===e.months&&1===e.days&&0===e.milliseconds}function u(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function d(e,t){return{years:e.years-t.years,months:e.months-t.months,days:e.days-t.days,milliseconds:e.milliseconds-t.milliseconds}}function c(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function f(e){return h(e)/365}function p(e){return h(e)/30}function h(e){return m(e)/864e5}function g(e){return m(e)/36e5}function v(e){return m(e)/6e4}function y(e){return m(e)/1e3}function m(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function E(e,t){for(var n=null,r=0;r<D.length;r++){var i=D[r];if(t[i]){var o=e[i]/t[i];if(!b.isInt(o)||null!==n&&n!==o)return null;n=o}else if(e[i])return null}return n}function S(e,t){var n=e.milliseconds;if(n){if(n%1e3!=0)return{unit:"millisecond",value:n};if(n%6e4!=0)return{unit:"second",value:n/1e3};if(n%36e5!=0)return{unit:"minute",value:n/6e4};if(n)return{unit:"hour",value:n/36e5}}return e.days?t||e.days%7!=0?{unit:"day",value:e.days}:{unit:"week",value:e.days/7}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}Object.defineProperty(t,"__esModule",{value:!0});var b=n(2),D=["years","months","days","milliseconds"],w=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;t.createDuration=r,t.getWeeksFromInput=a,t.durationsEqual=s,t.isSingleDay=l,t.addDurations=u,t.subtractDurations=d,t.multiplyDuration=c,t.asRoughYears=f,t.asRoughMonths=p,t.asRoughDays=h,t.asRoughHours=g,t.asRoughMinutes=v,t.asRoughSeconds=y,t.asRoughMs=m,t.wholeDivideDurations=E,t.greatestDurationDenominator=S},function(e,t){function n(e,t){var n=null,r=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(r=t.createMarker(e.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}function r(e,t){var n,r,o=[],a=t.start;for(e.sort(i),n=0;n<e.length;n++)r=e[n],r.start>a&&o.push({start:a,end:r.start}),r.end>a&&(a=r.end);return a<t.end&&o.push({start:a,end:t.end}),o}function i(e,t){return e.start.valueOf()-t.start.valueOf()}function o(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 a(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 s(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function l(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function u(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function d(e,t){return null!=t.start&&e<t.start?t.start:null!=t.end&&e>=t.end?new Date(t.end.valueOf()-1):e}Object.defineProperty(t,"__esModule",{value:!0}),t.parseRange=n,t.invertRanges=r,t.intersectRanges=o,t.rangesEqual=a,t.rangesIntersect=s,t.rangeContainsRange=l,t.rangeContainsMarker=u,t.constrainMarkerToRange=d},,function(e,t,n){function r(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,i=parseInt(n.borderRightWidth,10)||0,o=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=c.sanitizeScrollbarWidth(e.offsetWidth-e.clientWidth-r-i),l=c.sanitizeScrollbarWidth(e.offsetHeight-e.clientHeight-o-a),u={borderLeft:r,borderRight:i,borderTop:o,borderBottom:a,scrollbarBottom:l,scrollbarLeft:0,scrollbarRight:0};return c.getIsRtlScrollbarOnLeft()&&"rtl"===n.direction?u.scrollbarLeft=s:u.scrollbarRight=s,t&&(u.paddingLeft=parseInt(n.paddingLeft,10)||0,u.paddingRight=parseInt(n.paddingRight,10)||0,u.paddingTop=parseInt(n.paddingTop,10)||0,u.paddingBottom=parseInt(n.paddingBottom,10)||0),u}function i(e,t){void 0===t&&(t=!1);var n=o(e),i=r(e,t),a={left:n.left+i.borderLeft+i.scrollbarLeft,right:n.right-i.borderRight-i.scrollbarRight,top:n.top+i.borderTop,bottom:n.bottom-i.borderBottom-i.scrollbarBottom};return t&&(a.left+=i.paddingLeft,a.right-=i.paddingRight,a.top+=i.paddingTop,a.bottom-=i.paddingBottom),a}function o(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function a(){return{left:window.pageXOffset,right:window.pageXOffset+document.documentElement.clientWidth,top:window.pageYOffset,bottom:window.pageYOffset+document.documentElement.clientHeight}}function s(e){var t=window.getComputedStyle(e);return e.offsetHeight+parseInt(t.marginTop,10)+parseInt(t.marginBottom,10)}function l(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}function u(e){return l(e).map(function(e){return i(e)}).concat(a()).reduce(function(e,t){return d.intersectRects(e,t)||t})}Object.defineProperty(t,"__esModule",{value:!0});var d=n(26),c=n(165);t.computeEdges=r,t.computeInnerRect=i,t.computeRect=o,t.computeHeightAndMargins=s,t.getClippingParents=l,t.computeClippingRect=u},function(e,t,n){function r(e,t,n){for(var r=d(),o=0,a=e;o<a.length;o++){var s=a[o],l=h.parseEvent(s,t,n);l&&i(l,r)}return r}function i(e,t){return void 0===t&&(t=d()),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function o(e,t,n){var r=n.dateEnv,i=e.defs,o=e.instances;o=v.filterHash(o,function(e){return!i[e.defId].recurringDef});for(var a in i){var s=i[a];if(s.recurringDef){var l=g.expandRecurringRanges(s,t,n.dateEnv),u=s.recurringDef.duration;u||(u=s.allDay?n.defaultAllDayEventDuration:n.defaultTimedEventDuration);for(var d=0,c=l;d<c.length;d++){var f=c[d],p=h.createEventInstance(a,{start:f,end:r.add(f,u)});o[p.instanceId]=p}}}return{defs:i,instances:o}}function a(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],i=f(e,function(e){return s(r,e)});return i.defs[r.defId]=r,i.instances[n.instanceId]=n,i}return d()}function s(e,t){return Boolean(e.groupId&&e.groupId===t.groupId)}function l(e,t,n){var r=n.opt("eventDataTransform"),i=t?t.eventDataTransform:null;return i&&(e=u(e,i)),r&&(e=u(e,r)),e}function u(e,t){var n;if(t){n=[];for(var r=0,i=e;r<i.length;r++){var o=i[r],a=t(o);a?n.push(a):null==a&&n.push(o)}}else n=e;return n}function d(){return{defs:{},instances:{}}}function c(e,t){return{defs:v.assignTo({},e.defs,t.defs),instances:v.assignTo({},e.instances,t.instances)}}function f(e,t){var n=v.filterHash(e.defs,t),r=v.filterHash(e.instances,function(e){return n[e.defId]});return{defs:n,instances:r}}function p(e,t){var n=e.defs,r=e.instances,i=[];for(var o in r){var a=r[o];i.push(t(a,n[a.defId]))}return i}Object.defineProperty(t,"__esModule",{value:!0});var h=n(29),g=n(38),v=n(4);t.parseEvents=r,t.eventTupleToStore=i,t.expandRecurring=o,t.getRelevantEvents=a,t.isEventDefsGrouped=s,t.transformRawEvents=l,t.createEmptyEventStore=d,t.mergeEventStores=c,t.filterEventStoreDefs=f,t.mapEventInstances=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n(10),o=n(8),a=n(141),s=n(9),l=function(){function e(e,t,n){this.calendar=e,this.def=t,this.instance=n||null}return e.prototype.setProp=function(e,t){var n;if(e.match(/^(start|end|date|allDay)$/));else{var r=void 0;"editable"===e?r={startEditable:t,durationEditable:t}:"color"===e?r={backgroundColor:t,borderColor:t}:"classNames"===e?r={classNames:s.parseClassName(t)}:(n={},n[e]=t,r=n),this.mutate({standardProps:r})}},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this.calendar.dateEnv,o=n.createMarker(e);if(o&&this.instance){var a=this.instance.range,s=r.diffDates(a.start,o,n,t.granularity),l=null;if(t.maintainDuration){var u=r.diffDates(a.start,a.end,n,t.granularity),d=r.diffDates(o,a.end,n,t.granularity);l=i.subtractDurations(u,d)}this.mutate({startDelta:s,endDelta:l})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,i=this.calendar.dateEnv;if((null==e||(n=i.createMarker(e)))&&this.instance)if(n){var o=r.diffDates(this.instance.range.end,n,i,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var i,o=this.calendar.dateEnv,a={allDay:n.allDay},s=o.createMarker(e);if(s&&(null==t||(i=o.createMarker(t)))&&this.instance){var l=this.instance.range;!0===n.allDay&&(l=r.computeAlignedDayRange(l));var u=r.diffDates(l.start,s,o,n.granularity);if(i){var d=r.diffDates(l.end,i,o,n.granularity);this.mutate({startDelta:u,endDelta:d,standardProps:a})}else a.hasEnd=!1,this.mutate({startDelta:u,standardProps:a})}},e.prototype.moveStart=function(e){var t=i.createDuration(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=i.createDuration(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=i.createDuration(e);t&&this.mutate({startDelta:t,endDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this.calendar.opt("allDayMaintainDuration")),this.def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this.calendar.dateEnv,n=this.instance,r=o.createFormatter(e,this.calendar.opt("defaultRangeSeparator"));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})},e.prototype.mutate=function(e){var t=this.instance;if(t){this.calendar.dispatch({type:"MUTATE_EVENTS",instanceId:t.instanceId,mutation:e});var n=this.calendar.state.eventStore;this.def=n.defs[this.def.defId],this.instance=n.instances[this.instance.instanceId]}},e.prototype.remove=function(){this.calendar.dispatch({type:"REMOVE_EVENT_DEF",defId:this.def.defId})},Object.defineProperty(e.prototype,"source",{get:function(){return this.def.sourceId?new a.default(this.calendar,this.calendar.state.eventSources[this.def.sourceId]):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this.instance?this.calendar.dateEnv.toDate(this.instance.range.start):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this.instance&&this.def.hasEnd?this.calendar.dateEnv.toDate(this.instance.range.end):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.def.publicId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this.def.groupId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this.def.allDay},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.def.title},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.def.url},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this.def.startEditable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this.def.durationEditable},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this.def.constraint},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this.def.overlap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rendering",{get:function(){return this.def.rendering},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this.def.backgroundColor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this.def.borderColor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this.def.textColor},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this.def.classNames},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this.def.extendedProps},enumerable:!0,configurable:!0}),e}();t.default=l},,,function(e,t,n){function r(e,t){e.fcSeg=t}function i(e){return e.fcSeg||null}function o(e){var t=e.eventRange.def,n=e.eventRange.instance.range,r=n.start.valueOf(),i=n.end.valueOf();return c.assignTo({},t.extendedProps,t,{id:t.publicId,start:r,end:i,duration:i-r,allDay:Number(t.allDay),_seg:e})}Object.defineProperty(t,"__esModule",{value:!0});var a=n(8),s=n(3),l=n(2),u=n(28),d=n(15),c=n(4),f=function(){function e(e,t){this.view=e.view,this.component=e,this.fillRenderer=t}return e.prototype.opt=function(e){return this.view.opt(e)},e.prototype.rangeUpdated=function(){var e,t;this.eventTimeFormat=a.createFormatter(this.opt("eventTimeFormat")||this.computeEventTimeFormat(),this.opt("defaultRangeSeparator")),e=this.opt("displayEventTime"),null==e&&(e=this.computeDisplayEventTime()),t=this.opt("displayEventEnd"),null==t&&(t=this.computeDisplayEventEnd()),this.displayEventTime=e,this.displayEventEnd=t},e.prototype.renderSegs=function(e){for(var t=[],n=[],r=0,i=e;r<i.length;r++){var o=i[r];u.hasBgRendering(o.eventRange.ui)?t.push(o):n.push(o)}this.bgSegs=this.renderBgSegs(t),n=this.renderFgSegEls(n),!1!==this.renderFgSegs(n)&&(this.fgSegs=n),this.view.triggerRenderedSegs(this.getSegs())},e.prototype.unrender=function(){this.unrenderBgSegs(),this.bgSegs=null,this.unrenderFgSegs(this.fgSegs||[]),this.fgSegs=null},e.prototype.getSegs=function(){return(this.bgSegs||[]).concat(this.fgSegs||[])},e.prototype.renderFgSegs=function(e){return!1},e.prototype.unrenderFgSegs=function(e){},e.prototype.renderBgSegs=function(e){var t=this;return this.fillRenderer?this.fillRenderer.renderSegs("bgEvent",e,{getClasses:function(e){return e.eventRange.ui.classNames.concat(["fc-bgevent"])},getCss:function(e){return{"background-color":e.eventRange.ui.backgroundColor}},filterEl:function(e,n){return n=t.filterEventRenderEl(e,n),n&&(r(n,e),e.el=n),n}}):[]},e.prototype.unrenderBgSegs=function(){this.fillRenderer&&this.fillRenderer.unrender("bgEvent")},e.prototype.renderFgSegEls=function(e,t){var n,i=this,o=this.view.hasPublicHandlers("eventRender"),a="",l=[];if(e.length){for(n=0;n<e.length;n++)a+=this.fgSegHtml(e[n]);s.htmlToElements(a).forEach(function(n,a){var s=e[a];o&&(n=i.filterEventRenderEl(s,n,t)),n&&(r(n,s),s.el=n,l.push(s))})}return l},e.prototype.fgSegHtml=function(e){},e.prototype.getSegClasses=function(e,t,n){var r=["fc-event",e.isStart?"fc-start":"fc-not-start",e.isEnd?"fc-end":"fc-not-end"].concat(e.eventRange.ui.classNames);return t&&r.push("fc-draggable"),n&&r.push("fc-resizable"),e.eventRange.instance.instanceId===this.component.eventSelection&&r.push("fc-selected"),r},e.prototype.filterEventRenderEl=function(e,t,n){void 0===n&&(n=!1);var r=this.view.publiclyTrigger("eventRender",[{event:new d.default(this.view.calendar,e.eventRange.def,e.eventRange.instance),isMirror:n,isStart:e.isStart,isEnd:e.isEnd,el:t,view:this.view}]);return!1===r?t=null:r&&!0!==r&&(t=r),t},e.prototype.getTimeText=function(e,t,n){var r=e.def,i=e.instance;return this._getTimeText(i.range.start,r.hasEnd?i.range.end:null,r.allDay,t,n,i.forcedStartTzo,i.forcedEndTzo)},e.prototype._getTimeText=function(e,t,n,r,i,o,a){var s=this.view.calendar.dateEnv;return null==r&&(r=this.eventTimeFormat),null==i&&(i=this.displayEventEnd),this.displayEventTime&&!n?i&&t?s.formatRange(e,t,r,{forcedStartTzo:o,forcedEndTzo:a}):s.format(e,r,{forcedTzo:o}):""},e.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",omitZeroMinute:!0}},e.prototype.computeDisplayEventTime=function(){return!0},e.prototype.computeDisplayEventEnd=function(){return!0},e.prototype.getSkinCss=function(e){return{"background-color":e.backgroundColor,"border-color":e.borderColor,color:e.textColor}},e.prototype.sortEventSegs=function(e){var t=this.view.eventOrderSpecs,n=e.map(o);return n.sort(function(e,n){return l.compareByFieldSpecs(e,n,t)}),n.map(function(e){return e._seg})},e.prototype.computeFgSize=function(){},e.prototype.assignFgSize=function(){},e}();t.default=f,t.getElSeg=i,t.buildSegCompareObj=o},function(e,t,n){function r(e){e.preventDefault()}function i(e,t,n,r){function i(e){var t=s.elementClosest(e.target,n);t&&r.call(t,e,t)}return e.addEventListener(t,i),function(){e.removeEventListener(t,i)}}function o(e,t,n,r){var o;return i(e,"mouseover",t,function(e,t){if(t!==o){o=t,n(e,t);var i=function(e){o=null,r(e,t),t.removeEventListener("mouseleave",i)};t.addEventListener("mouseleave",i)}})}function a(e,t){var n=function(r){t(r),l.forEach(function(t){e.removeEventListener(t,n)})};l.forEach(function(t){e.addEventListener(t,n)})}Object.defineProperty(t,"__esModule",{value:!0});var s=n(3);t.preventDefault=r,t.listenBySelector=i,t.listenToHoverBySelector=o;var l=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];t.whenTransitionDone=a},function(e,t,n){function r(e,t,n){(e[t]||(e[t]=[])).push(n)}function i(e,t,n){n?e[t]&&(e[t]=e[t].filter(function(e){return e!==n})):delete e[t]}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(2),s=n(47),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.on=function(e,t){return r(this._handlers||(this._handlers={}),e,t),this},t.prototype.one=function(e,t){return r(this._oneHandlers||(this._oneHandlers={}),e,t),this},t.prototype.off=function(e,t){return this._handlers&&i(this._handlers,e,t),this._oneHandlers&&i(this._oneHandlers,e,t),this},t.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return this.triggerWith(e,this,t),this},
t.prototype.triggerWith=function(e,t,n){return this._handlers&&a.applyAll(this._handlers[e],t,n),this._oneHandlers&&(a.applyAll(this._oneHandlers[e],t,n),delete this._oneHandlers[e]),this},t.prototype.hasHandlers=function(e){return this._handlers&&this._handlers[e]&&this._handlers[e].length||this._oneHandlers&&this._oneHandlers[e]&&this._oneHandlers[e].length},t}(s.default);t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(9),o=n(3),a=n(140),s=n(6),l=n(10),u=n(28),d=n(14),c=n(4),f=n(53),p=n(11),h=n(15),g=n(29),v=n(20),y=n(39),m=0,E=function(e){function t(t,n){var r=e.call(this)||this;return r.isInteractable=!1,r.useEventCenter=!0,r.doesDragMirror=!1,r.doesDragHighlight=!1,r.fgSegSelector=".fc-event-container > *",r.bgSegSelector=".fc-bgevent",r.slicingType=null,r.isRtl=!1,r.emitter=new v.default,r.renderedFlags={},r.dirtySizeFlags={},r.needHitsDepth=0,r.dateProfile=null,r.businessHours=null,r.eventStore=null,r.eventUis=null,r.dateSelection=null,r.eventSelection="",r.eventDrag=null,r.eventResize=null,r.view=t||r,n&&(r.options=n),r.uid=String(m++),r.childrenByUid={},r.nextDayThreshold=l.createDuration(r.opt("nextDayThreshold")),r.isRtl="rtl"===r.opt("dir"),r.fillRendererClass&&(r.fillRenderer=new r.fillRendererClass(r)),r.eventRendererClass&&(r.eventRenderer=new r.eventRendererClass(r,r.fillRenderer)),r.mirrorRendererClass&&r.eventRenderer&&(r.mirrorRenderer=new r.mirrorRendererClass(r,r.eventRenderer)),r}return r.__extends(t,e),t.prototype.addChild=function(e){return!this.childrenByUid[e.uid]&&(this.childrenByUid[e.uid]=e,!0)},t.prototype.removeChild=function(e){return!!this.childrenByUid[e.uid]&&(delete this.childrenByUid[e.uid],!0)},t.prototype.updateSize=function(e,t,n){var r=this.dirtySizeFlags;(n||r.skeleton||r.dates||r.events)&&(this.updateBaseSize(e,t),this.buildPositionCaches()),(n||r.businessHours)&&this.computeBusinessHoursSize(),(n||r.dateSelection||r.eventDrag||r.eventResize)&&(this.computeHighlightSize(),this.computeMirrorSize()),(n||r.events)&&this.computeEventsSize(),(n||r.businessHours)&&this.assignBusinessHoursSize(),(n||r.dateSelection||r.eventDrag||r.eventResize)&&(this.assignHighlightSize(),this.assignMirrorSize()),(n||r.events)&&this.assignEventsSize(),this.dirtySizeFlags={},this.callChildren("updateSize",arguments)},t.prototype.updateBaseSize=function(e,t){},t.prototype.buildPositionCaches=function(){},t.prototype.requestPrepareHits=function(){this.needHitsDepth++||this.prepareHits()},t.prototype.requestReleaseHits=function(){--this.needHitsDepth||this.releaseHits()},t.prototype.prepareHits=function(){},t.prototype.releaseHits=function(){},t.prototype.queryHit=function(e,t){return null},t.prototype.bindGlobalHandlers=function(){this.isInteractable&&f.default.registerComponent(this)},t.prototype.unbindGlobalHandlers=function(){this.isInteractable&&f.default.unregisterComponent(this)},t.prototype.opt=function(e){return this.view.options[e]},t.prototype.publiclyTrigger=function(e,t){return this.getCalendar().publiclyTrigger(e,t)},t.prototype.publiclyTriggerAfterSizing=function(e,t){return this.getCalendar().publiclyTriggerAfterSizing(e,t)},t.prototype.hasPublicHandlers=function(e){return this.getCalendar().hasPublicHandlers(e)},t.prototype.triggerRenderedSegs=function(e,t){if(void 0===t&&(t=!1),this.hasPublicHandlers("eventPositioned"))for(var n=this.getCalendar(),r=0,i=e;r<i.length;r++){var o=i[r];this.publiclyTriggerAfterSizing("eventPositioned",[{event:new h.default(n,o.eventRange.def,o.eventRange.instance),isMirror:t,isStart:o.isStart,isEnd:o.isEnd,el:o.el,view:this}])}},t.prototype.triggerWillRemoveSegs=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.emitter.trigger("eventElRemove",r.el)}if(this.hasPublicHandlers("eventDestroy"))for(var i=this.getCalendar(),o=0,a=e;o<a.length;o++){var r=a[o];this.publiclyTrigger("eventDestroy",[{event:new h.default(i,r.eventRange.def,r.eventRange.instance),el:r.el,view:this}])}},t.prototype.render=function(e,t){var n=this.renderedFlags,r={skeleton:!1,dates:e.dateProfile!==this.dateProfile,events:e.eventStore!==this.eventStore||e.eventUis!==this.eventUis,businessHours:e.businessHours!==this.businessHours,dateSelection:e.dateSelection!==this.dateSelection,eventSelection:e.eventSelection!==this.eventSelection,eventDrag:e.eventDrag!==this.eventDrag,eventResize:e.eventResize!==this.eventResize};if(c.assignTo(r,t),!0===t)for(var i in r)r[i]=!0;else{for(var o in r)n[o]||(r[o]=!0);if(r.dates)for(var a in r)"skeleton"!==a&&(r[a]=!0)}this.unrender(r),c.assignTo(this,e),this.renderByFlag(e,r),this.renderChildren(e,t)},t.prototype.renderByFlag=function(e,t){var n=this,r=n.renderedFlags,i=n.dirtySizeFlags;t.skeleton&&(this.renderSkeleton(),this.afterSkeletonRender(),r.skeleton=!0,i.skeleton=!0),t.dates&&e.dateProfile&&(this.renderDates(e.dateProfile),this.afterDatesRender(),r.dates=!0,i.dates=!0),t.businessHours&&e.businessHours&&(this.renderBusinessHours(e.businessHours),r.businessHours=!0,i.businessHours=!0),t.dateSelection&&e.dateSelection&&(this.renderDateSelection(e.dateSelection),r.dateSelection=!0,i.dateSelection=!0),t.events&&e.eventStore&&(this.renderEvents(e.eventStore,e.eventUis),r.events=!0,i.events=!0),t.eventSelection&&(this.selectEventsByInstanceId(e.eventSelection),r.eventSelection=!0,i.eventSelection=!0),t.eventDrag&&e.eventDrag&&(this.renderEventDragState(e.eventDrag),r.eventDrag=!0,i.eventDrag=!0),t.eventResize&&e.eventResize&&(this.renderEventResizeState(e.eventResize),r.eventResize=!0,i.eventResize=!0)},t.prototype.unrender=function(e){var t=this.renderedFlags;e&&!e.eventResize||!t.eventResize||(this.unrenderEventResizeState(),t.eventResize=!1),e&&!e.eventDrag||!t.eventDrag||(this.unrenderEventDragState(),t.eventDrag=!1),e&&!e.eventSelection||!t.eventSelection||(this.unselectAllEvents(),t.eventSelection=!1),e&&!e.events||!t.events||(this.unrenderEvents(),t.events=!1),e&&!e.dateSelection||!t.dateSelection||(this.unrenderDateSelection(),t.dateSelection=!1),e&&!e.businessHours||!t.businessHours||(this.unrenderBusinessHours(),t.businessHours=!1),e&&!e.dates||!t.dates||(this.beforeDatesUnrender(),this.unrenderDates(),t.dates=!1),e&&!e.skeleton||!t.skeleton||(this.beforeSkeletonUnrender(),this.unrenderSkeleton(),t.skeleton=!1)},t.prototype.renderChildren=function(e,t){this.callChildren("render",arguments)},t.prototype.removeElement=function(){this.unrender(),this.dirtySizeFlags={},e.prototype.removeElement.call(this)},t.prototype.renderSkeleton=function(){},t.prototype.afterSkeletonRender=function(){},t.prototype.beforeSkeletonUnrender=function(){},t.prototype.unrenderSkeleton=function(){},t.prototype.renderDates=function(e){},t.prototype.afterDatesRender=function(){},t.prototype.beforeDatesUnrender=function(){},t.prototype.unrenderDates=function(){},t.prototype.getNowIndicatorUnit=function(){},t.prototype.renderNowIndicator=function(e){this.callChildren("renderNowIndicator",arguments)},t.prototype.unrenderNowIndicator=function(){this.callChildren("unrenderNowIndicator",arguments)},t.prototype.renderBusinessHours=function(e){if(this.slicingType){var t=d.expandRecurring(e,this.dateProfile.activeRange,this.getCalendar());this.renderBusinessHourRanges(this.eventStoreToRanges(t,u.computeEventDefUis(t.defs,{},{})))}},t.prototype.renderBusinessHourRanges=function(e){this.fillRenderer&&this.fillRenderer.renderSegs("businessHours",this.eventRangesToSegs(e),{getClasses:function(e){return["fc-bgevent"].concat(e.eventRange.def.classNames)}})},t.prototype.unrenderBusinessHours=function(){this.fillRenderer&&this.fillRenderer.unrender("businessHours")},t.prototype.computeBusinessHoursSize=function(){this.fillRenderer&&this.fillRenderer.computeSize("businessHours")},t.prototype.assignBusinessHoursSize=function(){this.fillRenderer&&this.fillRenderer.assignSize("businessHours")},t.prototype.renderEvents=function(e,t){this.slicingType&&this.renderEventRanges(this.eventStoreToRanges(e,t))},t.prototype.renderEventRanges=function(e){if(this.eventRenderer){this.eventRenderer.rangeUpdated(),this.eventRenderer.renderSegs(this.eventRangesToSegs(e));var t=this.getCalendar();t.state.loadingLevel||(t.afterSizingTriggers._eventsPositioned=[null])}},t.prototype.unrenderEvents=function(){this.eventRenderer&&(this.triggerWillRemoveSegs(this.eventRenderer.getSegs()),this.eventRenderer.unrender())},t.prototype.computeEventsSize=function(){this.fillRenderer&&this.fillRenderer.computeSize("bgEvent"),this.eventRenderer&&this.eventRenderer.computeFgSize()},t.prototype.assignEventsSize=function(){this.fillRenderer&&this.fillRenderer.assignSize("bgEvent"),this.eventRenderer&&this.eventRenderer.assignFgSize()},t.prototype.renderEventDragState=function(e){this.hideSegsByHash(e.affectedEvents.instances),this.renderEventDrag(e.mutatedEvents,e.eventUis,e.isEvent,e.origSeg)},t.prototype.unrenderEventDragState=function(){this.showSegsByHash(this.eventDrag.affectedEvents.instances),this.unrenderEventDrag()},t.prototype.renderEventDrag=function(e,t,n,r){var i=this.eventRangesToSegs(this.eventStoreToRanges(e,t));n&&(this.doesDragMirror||r&&r.component.doesDragMirror)&&this.mirrorRenderer&&this.mirrorRenderer.renderEventDraggingSegs(i,r),n&&!this.doesDragHighlight||this.renderHighlightSegs(i)},t.prototype.unrenderEventDrag=function(){this.unrenderHighlight(),this.mirrorRenderer&&this.mirrorRenderer.unrender()},t.prototype.renderEventResizeState=function(e){this.hideSegsByHash(e.affectedEvents.instances),this.renderEventResize(e.mutatedEvents,e.eventUis,e.origSeg)},t.prototype.unrenderEventResizeState=function(){this.showSegsByHash(this.eventResize.affectedEvents.instances),this.unrenderEventResize()},t.prototype.renderEventResize=function(e,t,n){},t.prototype.unrenderEventResize=function(){},t.prototype.hideSegsByHash=function(e){this.getAllEventSegs().forEach(function(t){e[t.eventRange.instance.instanceId]&&(t.el.style.visibility="hidden")})},t.prototype.showSegsByHash=function(e){this.getAllEventSegs().forEach(function(t){e[t.eventRange.instance.instanceId]&&(t.el.style.visibility="")})},t.prototype.getAllEventSegs=function(){return this.eventRenderer?this.eventRenderer.getSegs():[]},t.prototype.selectEventsByInstanceId=function(e){this.getAllEventSegs().forEach(function(t){var n=t.eventRange.instance;n&&n.instanceId===e&&t.el&&t.el.classList.add("fc-selected")})},t.prototype.unselectAllEvents=function(){this.getAllEventSegs().forEach(function(e){e.el&&e.el.classList.remove("fc-selected")})},t.prototype.handlExternalDragStart=function(e,t,n){this.callChildren("handlExternalDragStart",arguments)},t.prototype.handleExternalDragMove=function(e){this.callChildren("handleExternalDragMove",arguments)},t.prototype.handleExternalDragStop=function(e){this.callChildren("handleExternalDragStop",arguments)},t.prototype.renderDateSelection=function(e){this.renderHighlightSegs(this.selectionToSegs(e,!1))},t.prototype.unrenderDateSelection=function(){this.unrenderHighlight()},t.prototype.renderHighlightSegs=function(e){this.fillRenderer&&this.fillRenderer.renderSegs("highlight",e,{getClasses:function(){return["fc-highlight"]}})},t.prototype.unrenderHighlight=function(){this.fillRenderer&&this.fillRenderer.unrender("highlight")},t.prototype.computeHighlightSize=function(){this.fillRenderer&&this.fillRenderer.computeSize("highlight")},t.prototype.assignHighlightSize=function(){this.fillRenderer&&this.fillRenderer.assignSize("highlight")},t.prototype.computeMirrorSize=function(){this.mirrorRenderer&&this.mirrorRenderer.computeSize()},t.prototype.assignMirrorSize=function(){this.mirrorRenderer&&this.mirrorRenderer.assignSize()},t.prototype.eventStoreToRanges=function(e,t){return u.sliceEventStore(e,t,this.dateProfile.activeRange,"all-day"===this.slicingType?this.nextDayThreshold:null)},t.prototype.eventRangesToSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++)for(var i=r[n],o=this.rangeToSegs(i.range,i.def.allDay),a=0,s=o;a<s.length;a++){var l=s[a];l.eventRange=i,l.isStart=l.isStart&&i.isStart,l.isEnd=l.isEnd&&i.isEnd,t.push(l)}return t},t.prototype.selectionToSegs=function(e,t){var n=this.rangeToSegs(e.range,e.allDay);if(t)for(var r=g.parseEventDef({editable:!1},"",e.allDay,!0,this.getCalendar()),i={def:r,ui:u.computeEventDefUi(r,{},{}),instance:g.createEventInstance(r.defId,e.range),range:e.range,isStart:!0,isEnd:!0},o=0,a=n;o<a.length;o++){var s=a[o];s.eventRange=i}return n},t.prototype.rangeToSegs=function(e,t){return[]},t.prototype.callChildren=function(e,t){this.iterChildren(function(n){n[e].apply(n,t)})},t.prototype.iterChildren=function(e){var t,n=this.childrenByUid;for(t in n)e(n[t])},t.prototype.getCalendar=function(){return this.view.calendar},t.prototype.getDateEnv=function(){return this.getCalendar().dateEnv},t.prototype.getTheme=function(){return this.getCalendar().theme},t.prototype.buildGotoAnchorHtml=function(e,t,n){var r,o,a,s,l=this.getDateEnv();return e instanceof Date||"object"!=typeof e?r=e:(r=e.date,o=e.type,a=e.forceOff),r=l.createMarker(r),s={date:l.formatIso(r,{omitTime:!0}),type:o||"day"},"string"==typeof t&&(n=t,t=null),t=t?" "+i.attrsToStr(t):"",n=n||"",!a&&this.opt("navLinks")?"<a"+t+' data-goto="'+i.htmlEscape(JSON.stringify(s))+'">'+n+"</a>":"<span"+t+">"+n+"</span>"},t.prototype.getAllDayHtml=function(){return this.opt("allDayHtml")||i.htmlEscape(this.opt("allDayText"))},t.prototype.getDayClasses=function(e,t){var n,r,i=this.view,o=[];return p.rangeContainsMarker(this.dateProfile.activeRange,e)?(o.push("fc-"+s.DAY_IDS[e.getUTCDay()]),i.isDateInOtherMonth(e,this.dateProfile)&&o.push("fc-other-month"),n=s.startOfDay(i.calendar.getNow()),r=s.addDays(n,1),e<n?o.push("fc-past"):e>=r?o.push("fc-future"):(o.push("fc-today"),!0!==t&&o.push(i.calendar.theme.getClass("today")))):o.push("fc-disabled-day"),o},t.prototype.currentRangeAs=function(e){var t=this.getDateEnv(),n=this.dateProfile.currentRange,r=null;return"years"===e?r=t.diffWholeYears(n.start,n.end):"months"===e?r=t.diffWholeMonths(n.start,n.end):"weeks"===e?r=t.diffWholeMonths(n.start,n.end):"days"===e&&(r=s.diffWholeDays(n.start,n.end)),r||0},t.prototype.isValidSegDownEl=function(e){return!(this.eventDrag||this.eventResize||o.elementClosest(e,".fc-mirror")||this.isInPopover(e))},t.prototype.isValidDateDownEl=function(e){var t=o.elementClosest(e,this.fgSegSelector);return(!t||t.classList.contains("fc-mirror"))&&!o.elementClosest(e,".fc-more")&&!o.elementClosest(e,"a[data-goto]")&&!this.isInPopover(e)},t.prototype.isInPopover=function(e){var t=o.elementClosest(e,".fc-popover");return t&&t!==this.el},t.prototype.isEventsValid=function(e){var t=this.dateProfile,n=e.instances;if(t)for(var r in n)if(!p.rangeContainsRange(t.validRange,n[r].range))return!1;return y.isEventsValid(e,this.getCalendar())},t.prototype.isSelectionValid=function(e){var t=this.dateProfile;return!(t&&!p.rangeContainsRange(t.validRange,e.range))&&y.isSelectionValid(e,this.getCalendar())},t}(a.default);t.default=E},function(e,t,n){function r(e){f.push(e)}function i(e){return f[e]}function o(e){return!f[e.sourceDefId].ignoreRange}function a(e,t){for(var n=f.length-1;n>=0;n--){var r=f[n],i=r.parseMeta(e);if(i)return s("object"==typeof e?e:{},i,n,t)}return null}function s(e,t,n,r){var i=u.refineProps(e,c);return i.isFetching=!1,i.latestFetchId="",i.fetchRange=null,i.publicId=String(e.id||""),i.sourceId=String(p++),i.sourceDefId=n,i.meta=t,i.constraint&&(i.constraint=d.normalizeConstraint(i.constraint,r)),null==i.startEditable&&(i.startEditable=i.editable),null==i.durationEditable&&(i.durationEditable=i.editable),i.backgroundColor||(i.backgroundColor=i.color),i.borderColor||(i.borderColor=i.color),delete i.editable,delete i.color,i}Object.defineProperty(t,"__esModule",{value:!0});var l=n(9),u=n(2),d=n(39),c={id:String,allDayDefault:Boolean,eventDataTransform:Function,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:null,overlap:Boolean,allow:null,rendering:String,className:l.parseClassName,color:String,backgroundColor:String,borderColor:String,textColor:String,success:Function,failure:Function},f=[],p=0;t.registerEventSourceDef=r,t.getEventSourceDef=i,t.doesSourceNeedRange=o,t.parseEventSource=a},,,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.version="4.0.0-alpha.2",t.internalApiVersion=12;var r=n(2);t.applyAll=r.applyAll,t.debounce=r.debounce,t.padStart=r.padStart,t.isInt=r.isInt,t.capitaliseFirstLetter=r.capitaliseFirstLetter,t.parseFieldSpecs=r.parseFieldSpecs,t.compareByFieldSpecs=r.compareByFieldSpecs,t.compareByFieldSpec=r.compareByFieldSpec,t.flexibleCompare=r.flexibleCompare,t.log=r.log,t.warn=r.warn;var i=n(9);t.htmlEscape=i.htmlEscape,t.cssToStr=i.cssToStr;var o=n(136);t.removeExact=o.removeExact;var a=n(26);t.intersectRects=a.intersectRects;var s=n(4);t.assignTo=s.assignTo;var l=n(3);t.findElements=l.findElements,t.findChildren=l.findChildren,t.htmlToElement=l.htmlToElement,t.createElement=l.createElement,t.insertAfterElement=l.insertAfterElement,t.prependToElement=l.prependToElement,t.removeElement=l.removeElement,t.appendToElement=l.appendToElement,t.applyStyle=l.applyStyle,t.applyStyleProp=l.applyStyleProp,t.elementMatches=l.elementMatches,t.forceClassName=l.forceClassName;var u=n(19);t.preventDefault=u.preventDefault,t.listenBySelector=u.listenBySelector,t.whenTransitionDone=u.whenTransitionDone;var d=n(13);t.computeInnerRect=d.computeInnerRect,t.computeEdges=d.computeEdges,t.computeHeightAndMargins=d.computeHeightAndMargins;var c=n(20);t.EmitterMixin=c.default;var f=n(11);t.rangeContainsMarker=f.rangeContainsMarker,t.intersectRanges=f.intersectRanges;var p=n(48);t.defineThemeSystem=p.defineThemeSystem;var h=n(47);t.Mixin=h.default;var g=n(49);t.PositionCache=g.default;var v=n(37);t.ScrollComponent=v.default;var y=n(27);t.Theme=y.default;var m=n(21);t.DateComponent=m.default;var E=n(175);t.Calendar=E.default;var S=n(42);t.View=S.default;var b=n(43);t.defineView=b.defineView,t.getViewConfig=b.getViewConfig;var D=n(58);t.DayTableMixin=D.default;var w=n(18);t.EventRenderer=w.default;var T=n(59);t.FillRenderer=T.default;var C=n(60);t.MirrorRenderer=C.default;var R=n(146);t.AgendaView=R.default;var M=n(147);t.TimeGrid=M.default;var H=n(62);t.DayGrid=H.default;var I=n(63);t.BasicView=I.default;var _=n(150);t.MonthView=_.default;var O=n(151);t.ListView=O.default;var P=n(6);t.addDays=P.addDays,t.startOfDay=P.startOfDay,t.addMs=P.addMs,t.diffWholeWeeks=P.diffWholeWeeks,t.diffWholeDays=P.diffWholeDays,t.diffDayAndTime=P.diffDayAndTime;var k=n(10);t.createDuration=k.createDuration,t.isSingleDay=k.isSingleDay,t.multiplyDuration=k.multiplyDuration,t.addDurations=k.addDurations,t.asRoughMinutes=k.asRoughMinutes,t.asRoughSeconds=k.asRoughSeconds,t.asRoughMs=k.asRoughMs,t.wholeDivideDurations=k.wholeDivideDurations,t.greatestDurationDenominator=k.greatestDurationDenominator;var x=n(56);t.DateEnv=x.DateEnv;var N=n(41);t.defineLocale=N.defineLocale,t.getLocale=N.getLocale,t.getLocaleCodes=N.getLocaleCodes;var L=n(8);t.createFormatter=L.createFormatter;var V=n(144);t.NamedTimeZoneImpl=V.NamedTimeZoneImpl,t.registerNamedTimeZoneImpl=V.registerNamedTimeZoneImpl;var F=n(52);t.registerCmdFormatter=F.registerCmdFormatter;var j=n(145);t.parseMarker=j.parse;var z=n(22);t.registerEventSourceDef=z.registerEventSourceDef;var A=n(2);t.refineProps=A.refineProps;var U=n(40);t.PointerDragging=U.default;var B=n(54);t.ElementDragging=B.default;var G=n(195);t.Draggable=G.default;var W=n(197);t.ThirdPartyDraggable=W.default;var Y=n(199);t.formatDate=Y.formatDate,t.formatRange=Y.formatRange;var q=n(32);t.globalDefaults=q.globalDefaults;var Z=n(38);t.registerRecurringType=Z.registerRecurringType},function(e,t){function n(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function r(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 i(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 o(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function a(e,t){return{left:e.left-t.left,top:e.top-t.top}}Object.defineProperty(t,"__esModule",{value:!0}),t.pointInsideRect=n,t.intersectRects=r,t.constrainPoint=i,t.getRectCenter=o,t.diffPoints=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=function(){function e(e){this.calendarOptions=e,this.processIconOverride()}return e.prototype.processIconOverride=function(){this.iconOverrideOption&&this.setIconOverride(this.calendarOptions[this.iconOverrideOption])},e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){t=r.assignTo({},this.iconClasses);for(n in e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e){var t=this.iconClasses[e];return t?this.baseIconClass+" "+t:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}();t.default=i,i.prototype.classes={},i.prototype.iconClasses={},i.prototype.baseIconClass="",i.prototype.iconOverridePrefix=""},function(e,t,n){function r(e,t,n,r){var i={},o={},a={},s=[];for(var l in e.defs){var u=e.defs[l],c=t[l];"inverse-background"===c.rendering&&(u.groupId?(i[u.groupId]=[],a[u.groupId]||(a[u.groupId]=u)):o[l]=[])}for(var f in e.instances){var h=e.instances[f],u=e.defs[h.defId],c=t[u.defId],g=h.range,v=d.intersectRanges(g,n),y=void 0;v&&(y=!u.allDay&&r?p.computeVisibleDayRange(v,r):v,"inverse-background"===c.rendering?u.groupId?i[u.groupId].push(y):o[h.defId].push(y):s.push({def:u,ui:c,instance:h,range:y,isStart:g.start.valueOf()===v.start.valueOf(),isEnd:g.end.valueOf()===v.end.valueOf()}))}for(var m in i)for(var E=i[m],S=d.invertRanges(E,n),b=0,D=S;b<D.length;b++){var w=D[b],u=a[m],c=t[u.defId];s.push({def:u,ui:c,instance:null,range:w,isStart:!1,isEnd:!1})}for(var l in o)for(var E=o[l],S=d.invertRanges(E,n),T=0,C=S;T<C.length;T++){var w=C[T];s.push({def:e.defs[l],ui:t[l],instance:null,range:w,isStart:!1,isEnd:!1})}return s}function i(e){return"background"===e.rendering||"inverse-background"===e.rendering}function o(e,t,n){return c.mapHash(e,function(e){return a(e,t,n)})}function a(e,t,n){return[s(n),l(t[e.sourceId]||{}),l(e)].reduce(u)}function s(e){return{startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,backgroundColor:e.eventBackgroundColor||e.eventColor||"",borderColor:e.eventBorderColor||e.eventColor||"",textColor:e.eventTextColor||"",rendering:e.eventRendering||"",classNames:f.parseClassName(e.eventClassNames||e.eventClassName)}}function l(e){return{startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",rendering:e.rendering||"",classNames:f.parseClassName(e.classNames||e.className)}}function u(e,t){return{startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,rendering:t.rendering||e.rendering,classNames:e.classNames.concat(t.classNames)}}Object.defineProperty(t,"__esModule",{value:!0});var d=n(11),c=n(4),f=n(9),p=n(2);t.sliceEventStore=r,t.hasBgRendering=i,t.computeEventDefUis=o,t.computeEventDefUi=a},function(e,t,n){function r(e,t,n){var r={},s=u(t,n),l=a(e,s,n,r);if(l){var d=i(r,t,l.allDay,l.hasEnd,n);return{def:d,instance:o(d.defId,l.range,l.forcedStartTzo,l.forcedEndTzo)}}var c={},f=h.parseRecurring(r,n.dateEnv,c);if(f){var p=null!=e.allDay?Boolean(e.allDay):null!=s?s:f.allDay,d=i(c,t,p,Boolean(f.duration),n);return d.recurringDef={typeId:f.typeId,typeData:f.typeData,duration:f.duration},{def:d,instance:null}}return null}function i(e,t,n,r,i){var o={},a=l(e,i,o);return a.defId=String(m++),a.sourceId=t,a.allDay=n,a.hasEnd=r,a.extendedProps=f.assignTo(o,a.extendedProps||{}),Object.freeze(a.classNames),Object.freeze(a.extendedProps),a}function o(e,t,n,r){return{instanceId:String(m++),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}function a(e,t,n,r){var i,o,a=s(e,r),l=a.allDay,u=!1,d=null,c=null;return(i=n.dateEnv.createMarkerMeta(a.start))?(null!=a.end&&(d=n.dateEnv.createMarkerMeta(a.end)),null==l&&(l=null!=t?t:i.isTimeUnspecified&&(!d||d.isTimeUnspecified)),o=i.marker,l&&(o=p.startOfDay(o)),d&&(c=d.marker,c<=o?c=null:l&&(c=p.startOfDay(c))),c?u=!0:(u=n.opt("forceEventDuration")||!1,c=n.dateEnv.add(o,l?n.defaultAllDayEventDuration:n.defaultTimedEventDuration)),{allDay:l,hasEnd:u,range:{start:o,end:c},forcedStartTzo:i.forcedTzo,forcedEndTzo:d?d.forcedTzo:null}):null}function s(e,t){var n=d.refineProps(e,y,{},t);return n.start=null!==n.start?n.start:n.date,delete n.date,n}function l(e,t,n){var r=d.refineProps(e,v,{},n);return r.publicId=r.id,r.classNames=r.classNames.concat(r.className),r.constraint&&(r.constraint=g.normalizeConstraint(r.constraint,t)),null==r.startEditable&&(r.startEditable=r.editable),null==r.durationEditable&&(r.durationEditable=r.editable),r.backgroundColor||(r.backgroundColor=r.color),r.borderColor||(r.borderColor=r.color),delete r.id,delete r.className,delete r.editable,delete r.color,r}function u(e,t){var n=null;if(e){n=t.state.eventSources[e].allDayDefault}return null==n&&(n=t.opt("allDayDefault")),n}Object.defineProperty(t,"__esModule",{value:!0});var d=n(2),c=n(9),f=n(4),p=n(6),h=n(38),g=n(39),v={id:String,groupId:String,title:String,url:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:null,overlap:Boolean,rendering:String,classNames:c.parseClassName,className:c.parseClassName,color:String,backgroundColor:String,borderColor:String,textColor:String,extendedProps:null},y={start:null,date:null,end:null,allDay:null},m=0;t.parseEvent=r,t.parseEventDef=i,t.createEventInstance=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(40),o=n(2),a=n(169),s=n(54),l=n(170),u=function(e){function t(t){var n=e.call(this)||this;n.delay=null,n.minDistance=0,n.touchScrollAllowed=!0,n.mirrorNeedsRevert=!1,n.isInteracting=!1,n.isDragging=!1,n.isDelayEnded=!1,n.isDistanceSurpassed=!1,n.delayTimeoutId=null,n.onPointerDown=function(e){n.isDragging||(n.isInteracting=!0,n.isDelayEnded=!1,n.isDistanceSurpassed=!1,o.preventSelection(document.body),o.preventContextMenu(document.body),e.isTouch||e.origEvent.preventDefault(),n.emitter.trigger("pointerdown",e),n.pointer.shouldIgnoreMove||(n.origX=e.pageX,n.origY=e.pageY,n.mirror.setIsVisible(!1),n.mirror.start(e.subjectEl,e.pageX,e.pageY),n.startDelay(e),n.minDistance||n.handleDistanceSurpassed(e)))},n.onPointerMove=function(e){if(n.isInteracting){if(n.emitter.trigger("pointermove",e),!n.isDistanceSurpassed){var t=e.pageX-n.origX,r=e.pageY-n.origY,i=n.minDistance,o=void 0;o=t*t+r*r,o>=i*i&&n.handleDistanceSurpassed(e)}n.isDragging&&("scroll"!==e.origEvent.type&&(n.mirror.handleMove(e.pageX,e.pageY),n.autoScroller.handleMove(e.pageX,e.pageY)),n.emitter.trigger("dragmove",e))}},n.onPointerUp=function(e){n.isInteracting&&(n.isInteracting=!1,o.allowSelection(document.body),o.allowContextMenu(document.body),n.emitter.trigger("pointerup",e),n.isDragging&&(n.autoScroller.stop(),n.tryStopDrag(e)),n.delayTimeoutId&&(clearTimeout(n.delayTimeoutId),n.delayTimeoutId=null))};var r=n.pointer=new i.default(t);return r.emitter.on("pointerdown",n.onPointerDown),r.emitter.on("pointermove",n.onPointerMove),r.emitter.on("pointerup",n.onPointerUp),n.mirror=new a.default,n.autoScroller=new l.default,n}return r.__extends(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout(function(){t.delayTimeoutId=null,t.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=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.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t}(s.default);t.default=u},function(e,t,n){function r(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&a.isDateSpansEqual(e.dateSpan,t.dateSpan)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(20),o=n(21),a=n(50),s=n(13),l=n(26),u=n(11),d=function(){function e(e,t){var n,r=this;this.useSubjectCenter=!1,this.requireInitial=!0,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)},t instanceof o.default?this.droppableHash=(n={},n[t.uid]=t,n):this.droppableHash=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new i.default}return e.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},r=n,i=e.subjectEl;i!==document&&(t=s.computeRect(i),r=l.constrainPoint(r,t));var o=this.initialHit=this.queryHit(r.left,r.top);if(o){if(this.useSubjectCenter&&t){var a=l.intersectRects(t,o.rect);a&&(r=l.getRectCenter(a))}this.coordAdjust=l.diffPoints(r,n)}else this.coordAdjust={left:0,top:0}},e.prototype.handleMove=function(e,t){var n=this.queryHit(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&r(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){var e=this.droppableHash;for(var t in e)e[t].requestPrepareHits()},e.prototype.releaseHits=function(){var e=this.droppableHash;for(var t in e)e[t].requestReleaseHits()},e.prototype.queryHit=function(e,t){var n=this.droppableHash,r=null;for(var i in n){var o=n[i],a=o.queryHit(e,t);!a||o.dateProfile&&!u.rangeContainsRange(o.dateProfile.activeRange,a.dateSpan.range)||r&&!(a.layer>r.layer)||(r=a)}return r},e}();t.default=d,t.isHitsEqual=r},function(e,t,n){function r(e){return i.mergeProps(e,o)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(4);t.globalDefaults={defaultRangeSeparator:" - ",titleRangeSeparator:" ",cmdFormatter:null,defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",
columnHeader:!0,defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",timeZoneImpl:null,locale:"en",agendaEventMinHeight:0,theme:!1,dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",eventLimit:!1,eventLimitClick:"popover",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5},t.rtlDefaults={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}};var o=["header","footer","buttonText","buttonIcons","themeButtonIcons"];t.mergeOptions=r},,,,,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(13),o=n(3),a=n(139),s=function(e){function t(t,n){var r=e.call(this,o.createElement("div",{className:"fc-scroller"}))||this;return r.overflowX=t,r.overflowY=n,r}return r.__extends(t,e),t.prototype.clear=function(){this.setHeight("auto"),this.applyOverflow()},t.prototype.removeElement=function(){o.removeElement(this.el)},t.prototype.applyOverflow=function(){o.applyStyle(this.el,{overflowX:this.overflowX,overflowY:this.overflowY})},t.prototype.lockOverflow=function(e){var t=this.overflowX,n=this.overflowY;e=e||this.getScrollbarWidths(),"auto"===t&&(t=e.bottom||this.canScrollHorizontally()?"scroll":"hidden"),"auto"===n&&(n=e.left||e.right||this.canScrollVertically()?"scroll":"hidden"),o.applyStyle(this.el,{overflowX:t,overflowY:n})},t.prototype.setHeight=function(e){o.applyStyleProp(this.el,"height",e)},t.prototype.getScrollbarWidths=function(){var e=i.computeEdges(this.el);return{left:e.scrollbarLeft,right:e.scrollbarRight,bottom:e.scrollbarBottom}},t}(a.ElementScrollController);t.default=s},function(e,t,n){function r(e){s.push(e)}function i(e,t,n){for(var r=0;r<s.length;r++){var i=s[r].parse(e,n,t);if(i)return{allDay:i.allDay,duration:i.duration,typeData:i.typeData,typeId:r}}return null}function o(e,t,n){var r=s[e.recurringDef.typeId],i=r.expand(e.recurringDef.typeData,e,t,n);return e.allDay&&(i=i.map(a.startOfDay)),i}Object.defineProperty(t,"__esModule",{value:!0});var a=n(6),s=[];t.registerRecurringType=r,t.parseRecurring=i,t.expandRecurringRanges=o},function(e,t,n){function r(e,t){return o(s(e,t.state.eventSources),y(t.opt("eventConstraint"),t),t.opt("eventOverlap"),t.opt("eventAllow"),t)}function i(e,t){return o([{dateSpan:e,event:null,constraint:null,overlap:null,allow:null}],y(t.opt("selectConstraint"),t),t.opt("selectOverlap"),t.opt("selectAllow"),t)}function o(e,t,n,r,i){for(var o=i.state,u=0,p=e;u<p.length;u++){var h=p[u];if(!l(h.dateSpan,h.constraint,i)||!l(h.dateSpan,t,i))return!1}for(var g=s(o.eventStore,o.eventSources),v=0,y=e;v<y.length;v++)for(var m=y[v],E=0,S=g;E<S.length;E++){var b=S[E];if((!m.event||!b.event||a(m.event,b.event))&&f(m.dateSpan,b.dateSpan)&&(!1===m.overlap||!1===b.overlap&&m.event||!d(b.event,m.event,n,i)))return!1}for(var D=0,w=e;D<w.length;D++){var h=w[D];if(!c(h.dateSpan,h.event,h.allow,i)||!c(h.dateSpan,h.event,r,i))return!1}return!0}function a(e,t){return e.instance.instanceId!==t.instance.instanceId&&!m.isEventDefsGrouped(e.def,t.def)}function s(e,t){return m.mapEventInstances(e,function(e,n){var r=t[n.sourceId],i=n.constraint,o=n.overlap;return null==i&&r&&(i=r.constraint),null==o&&r&&null==(o=r.overlap)&&(o=!0),{dateSpan:g(n,e),event:{def:n,instance:e},constraint:i,overlap:o,allow:r?r.allow:null}})}function l(e,t,n){if(null===t)return!0;for(var r=u(t,e,n),i=0,o=r;i<o.length;i++){if(p(o[i],e))return!0}return!1}function u(e,t,n){if("businessHours"===e){var r=v(t,n);return r=m.expandRecurring(r,t.range,n),h(r)}if("string"==typeof e){var r=m.filterEventStoreDefs(n.state.eventStore,function(t){return t.groupId===e});return h(r)}if("object"==typeof e&&e){if(e.def){var r=m.eventTupleToStore(e);return r=m.expandRecurring(r,t.range,n),h(r)}return[e]}return[]}function d(e,t,n,r){return"boolean"==typeof n?n:"function"!=typeof n||Boolean(n(new D.default(r,e.def,e.instance),t?new D.default(r,t.def,t.instance):null))}function c(e,t,n,r){return"function"!=typeof n||Boolean(n(E.buildDateSpanApi(e,r.dateEnv),t?new D.default(r,t.def,t.instance):null))}function f(e,t){return b.rangesIntersect(e.range,t.range)&&E.isSpanPropsEqual(e,t)}function p(e,t){return b.rangeContainsRange(e.range,t.range)&&E.isSpanPropsMatching(t,e)}function h(e){return m.mapEventInstances(e,function(e,t){return g(t,e)})}function g(e,t){return{allDay:e.allDay,range:t.range}}function v(e,t){return t.view.businessHours}function y(e,t){if("object"==typeof e&&e){var n=E.parseOpenDateSpan(e,t.dateEnv);return null===n||n.range.start||n.range.end?n:S.parseEvent(e,"",t)}return null!=e?String(e):null}Object.defineProperty(t,"__esModule",{value:!0});var m=n(14),E=n(50),S=n(29),b=n(11),D=n(15);t.isEventsValid=r,t.isSelectionValid=i,t.eventToDateSpan=g,t.normalizeConstraint=y},function(e,t,n){function r(e,t){return{origEvent:e,isTouch:!1,subjectEl:t,pageX:e.pageX,pageY:e.pageY}}function i(e,t){var n,r,i=e.touches;return i&&i.length?(n=i[0].pageX,r=i[0].pageY):(n=e.pageX,r=e.pageY),{origEvent:e,isTouch:!0,subjectEl:t,pageX:n,pageY:r}}function o(e){return 0===e.button&&!e.ctrlKey}function a(){p++,setTimeout(function(){p--},d.touchMouseIgnoreWait)}function s(){h++||window.addEventListener("touchmove",u,{passive:!1})}function l(){--h||window.removeEventListener("touchmove",u)}function u(e){g&&e.preventDefault()}Object.defineProperty(t,"__esModule",{value:!0});var d=n(25),c=n(3),f=n(20);d.touchMouseIgnoreWait=500;var p=0,h=0,g=!1,v=function(){function e(e){var t=this;this.subjectEl=null,this.downEl=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(!t.shouldIgnoreMouse()&&o(e)&&t.tryStart(e)){var n=r(e,t.subjectEl);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n),t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove),document.addEventListener("mouseup",t.handleMouseUp)}},this.handleMouseMove=function(e){var n=r(e,t.subjectEl);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",t.handleMouseMove),document.removeEventListener("mouseup",t.handleMouseUp),t.emitter.trigger("pointerup",r(e,t.subjectEl)),t.cleanup()},this.handleTouchStart=function(e){if(t.tryStart(e)){t.isTouchDragging=!0;var n=i(e,t.subjectEl);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n);var r=e.target;t.shouldIgnoreMove||r.addEventListener("touchmove",t.handleTouchMove),r.addEventListener("touchend",t.handleTouchEnd),r.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var n=i(e,t.subjectEl);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(e){if(t.isDragging){var n=e.target;n.removeEventListener("touchmove",t.handleTouchMove),n.removeEventListener("touchend",t.handleTouchEnd),n.removeEventListener("touchcancel",t.handleTouchEnd),window.removeEventListener("scroll",t.handleTouchScroll,!0),t.emitter.trigger("pointerup",i(e,t.subjectEl)),t.cleanup(),t.isTouchDragging=!1,a()}},this.handleTouchScroll=function(){t.wasTouchScroll=!0},this.handleScroll=function(e){t.shouldIgnoreMove||t.emitter.trigger("pointermove",{origEvent:e,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:window.pageXOffset-t.prevScrollX+t.prevPageX,pageY:window.pageYOffset-t.prevScrollY+t.prevPageY})},this.containerEl=e,this.emitter=new f.default,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart),s()}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart),l()},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!c.elementClosest(n,this.handleSelector))&&(this.subjectEl=t,this.downEl=n,this.isDragging=!0,this.wasTouchScroll=!1,!0)},e.prototype.cleanup=function(){g=!1,this.isDragging=!1,this.subjectEl=null,this.downEl=null,this.destroyScrollWatch()},e.prototype.querySubjectEl=function(e){return this.selector?c.elementClosest(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return p||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(g=!0)},e.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},e.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},e.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},e}();t.default=v},function(e,t,n){function r(e){"auto"===e&&(e=null);var t;t=Array.isArray(e)?e:"string"==typeof e?[e]:[];var n=i(t)||{},r=s.mergeProps([l,n],["buttonText"]),o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}function i(e){for(var t=0;t<e.length;t++)for(var n=e[t].toLocaleLowerCase().split("-"),r=n.length;r>0;r--){var i=n.slice(0,r).join("-");if(u[i])return u[i]}return null}function o(e,t){u[e]=t}function a(){return Object.keys(u)}Object.defineProperty(t,"__esModule",{value:!0});var s=n(4),l={week:{dow:0,doy:4},dir:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekLabel:"W",allDayText:"all-day",eventLimitText:"more",noEventsMessage:"No events to display"},u={};t.getLocale=r,t.defineLocale=o,t.getLocaleCodes=a,o("en",l)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(4),o=n(2),a=n(57),s=n(21),l=n(6),u=n(10),d=n(8),c=n(20),f=n(11),p=function(e){function t(t,n){var r=e.call(this,null,n.options)||this;return r.calendar=t,r.viewSpec=n,r.type=n.type,r.initHiddenDays(),r.dateProfileGenerator=new r.dateProfileGeneratorClass(r),r.eventOrderSpecs=o.parseFieldSpecs(r.opt("eventOrder")),r.initialize(),r}return r.__extends(t,e),t.prototype.initialize=function(){},t.prototype.opt=function(e){return this.options[e]},t.prototype.computeTitle=function(e){var t,n=this.getDateEnv();return t=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(t.start,t.end,d.createFormatter(this.opt("titleFormat")||this.computeTitleFormat(e),this.opt("titleRangeSeparator")),{isEndExclusive:e.isRangeAllDay})},t.prototype.computeTitleFormat=function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=l.diffWholeDays(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}},t.prototype.computeDateProfile=function(e){var t=this.dateProfileGenerator.build(e,void 0,!0);return this.dateProfile&&f.rangesEqual(this.dateProfile.activeRange,t.activeRange)?this.dateProfile:t},Object.defineProperty(t.prototype,"activeStart",{get:function(){return this.getDateEnv().toDate(this.dateProfile.activeRange.start)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeEnd",{get:function(){return this.getDateEnv().toDate(this.dateProfile.activeRange.end)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentStart",{get:function(){return this.getDateEnv().toDate(this.dateProfile.currentRange.start)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentEnd",{get:function(){return this.getDateEnv().toDate(this.dateProfile.currentRange.end)},enumerable:!0,configurable:!0}),t.prototype.afterSkeletonRender=function(){this.publiclyTriggerAfterSizing("viewSkeletonRender",[{view:this,el:this.el}])},t.prototype.beforeSkeletonUnrender=function(){this.publiclyTrigger("viewSkeletonDestroy",[{view:this,el:this.el}])},t.prototype.afterDatesRender=function(){this.title=this.computeTitle(this.dateProfile),this.addScroll({isDateInit:!0}),this.startNowIndicator(),this.publiclyTriggerAfterSizing("datesRender",[{view:this,el:this.el}])},t.prototype.beforeDatesUnrender=function(){this.publiclyTrigger("datesDestroy",[{view:this,el:this.el}]),this.stopNowIndicator()},t.prototype.startNowIndicator=function(){var e,t,n,r=this,i=this.getDateEnv();this.opt("nowIndicator")&&(e=this.getNowIndicatorUnit())&&(t=this.updateNowIndicator.bind(this),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=(new Date).valueOf(),n=i.add(i.startOf(this.initialNowDate,e),u.createDuration(1,e)).valueOf()-this.initialNowDate.valueOf(),this.nowIndicatorTimeoutID=setTimeout(function(){r.nowIndicatorTimeoutID=null,t(),n="second"===e?1e3:6e4,r.nowIndicatorIntervalID=setInterval(t,n)},n))},t.prototype.updateNowIndicator=function(){this.renderedFlags.dates&&this.initialNowDate&&(this.unrenderNowIndicator(),this.renderNowIndicator(l.addMs(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs)),this.isNowIndicatorRendered=!0)},t.prototype.stopNowIndicator=function(){this.isNowIndicatorRendered&&(this.nowIndicatorTimeoutID&&(clearTimeout(this.nowIndicatorTimeoutID),this.nowIndicatorTimeoutID=null),this.nowIndicatorIntervalID&&(clearInterval(this.nowIndicatorIntervalID),this.nowIndicatorIntervalID=null),this.unrenderNowIndicator(),this.isNowIndicatorRendered=!1)},t.prototype.updateSize=function(t,n,r){e.prototype.updateSize.call(this,t,n,r),this.updateNowIndicator()},t.prototype.addScroll=function(e){var t=this.queuedScroll||(this.queuedScroll={});t.isLocked||i.assignTo(t,e)},t.prototype.popScroll=function(){this.applyQueuedScroll(),this.queuedScroll=null},t.prototype.applyQueuedScroll=function(){this.applyScroll(this.queuedScroll||{})},t.prototype.queryScroll=function(){var e={};return this.renderedFlags.dates&&i.assignTo(e,this.queryDateScroll()),e},t.prototype.applyScroll=function(e){e.isLocked&&delete e.isLocked,e.isDateInit&&(delete e.isDateInit,this.renderedFlags.dates&&i.assignTo(e,this.computeInitialDateScroll())),this.renderedFlags.dates&&this.applyDateScroll(e)},t.prototype.computeInitialDateScroll=function(){return{}},t.prototype.queryDateScroll=function(){return{}},t.prototype.applyDateScroll=function(e){},t.prototype.isDateInOtherMonth=function(e,t){return!1},t.prototype.getRangeOption=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.opt(e);if("function"==typeof r&&(r=r.apply(null,t)),r)return f.parseRange(r,this.calendar.dateEnv)},t.prototype.initHiddenDays=function(){var e,t=this.opt("hiddenDays")||[],n=[],r=0;for(!1===this.opt("weekends")&&t.push(0,6),e=0;e<7;e++)(n[e]=-1!==t.indexOf(e))||r++;if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},t.prototype.trimHiddenDays=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},t.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},t.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=l.addDays(e,t);return e},t}(s.default);t.default=p,c.default.mixInto(p),p.prototype.usesMinMaxTime=!1,p.prototype.dateProfileGeneratorClass=a.default},function(e,t,n){function r(e,n){t.viewHash[e]=n}function i(e){return t.viewHash[e]}Object.defineProperty(t,"__esModule",{value:!0});var o=n(25);t.viewHash={},o.views=t.viewHash,t.defineView=r,t.getViewConfig=i},,,,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.mixInto=function(e){this.mixIntoObj(e.prototype)},e.mixIntoObj=function(e){var t=this;Object.getOwnPropertyNames(this.prototype).forEach(function(n){e[n]||(e[n]=t.prototype[n])})},e.mixOver=function(e){var t=this;Object.getOwnPropertyNames(this.prototype).forEach(function(n){e.prototype[n]=t.prototype[n]})},e}();t.default=n},function(e,t,n){function r(e,t){s[e]=t}function i(e){return e?!0===e?a.default:s[e]:o.default}Object.defineProperty(t,"__esModule",{value:!0});var o=n(137),a=n(138),s={};t.defineThemeSystem=r,t.getThemeSystemClass=i},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t,n,r){this.originEl=e,this.els=t,this.isHorizontal=n,this.isVertical=r}return e.prototype.build=function(){var e=this.originEl,t=e.getBoundingClientRect();this.isHorizontal&&this.buildElHorizontals(t.left),this.isVertical&&this.buildElVerticals(t.top)},e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,i=this.els;r<i.length;r++){var o=i[r],a=o.getBoundingClientRect();t.push(a.left-e),n.push(a.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,i=this.els;r<i.length;r++){var o=i[r],a=o.getBoundingClientRect();t.push(a.top-e),n.push(a.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,i=n.length;for(t=0;t<i;t++)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,i=n.length;for(t=0;t<i;t++)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}();t.default=n},function(e,t,n){function r(e,t,n){var r=i(e,t),o=r.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return r}function i(e,t){var n={},r=d.refineProps(e,f,{},n),i=r.start?t.createMarkerMeta(r.start):null,o=r.end?t.createMarkerMeta(r.end):null,a=r.allDay;return null==a&&(a=i&&i.isTimeUnspecified&&(!o||o.isTimeUnspecified)),n.range={start:i?i.marker:null,end:o?o.marker:null},n.allDay=a,n}function o(e,t){return u.rangesEqual(e.range,t.range)&&e.allDay===t.allDay&&a(e,t)}function a(e,t){if(!s(e,t))return!1;for(var n in e)if(!(n in t))return!1;return!0}function s(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;return!0}function l(e,t){var n=c.assignTo({},e);return delete n.range,n.start=t.toDate(e.range.start),n.end=t.toDate(e.range.end),n.startStr=t.formatIso(e.range.start,{omitTime:e.allDay}),n.endStr=t.formatIso(e.range.end,{omitTime:e.allDay}),n}Object.defineProperty(t,"__esModule",{value:!0});var u=n(11),d=n(2),c=n(4),f={start:null,end:null,allDay:Boolean};t.parseDateSpan=r,t.parseOpenDateSpan=i,t.isDateSpansEqual=o,t.isSpanPropsEqual=a,t.isSpanPropsMatching=s,t.buildDateSpanApi=l},function(e,t,n){function r(e){var t,n;return function(){return t&&i.isArraysEqual(t,arguments)||(t=arguments,n=e.apply(this,arguments)),n}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(136);t.default=r},function(e,t,n){function r(e,t){a[e]=t}function i(e){return a[e]}Object.defineProperty(t,"__esModule",{value:!0});var o=n(8),a={};t.registerCmdFormatter=r,t.getCmdFormatter=i;var s=function(){function e(e,t){this.cmdStr=e,this.separator=t}return e.prototype.format=function(e,t){return t.cmdFormatter(this.cmdStr,o.createVerboseFormattingArg(e,null,t,this.separator))},e.prototype.formatRange=function(e,t,n){return n.cmdFormatter(this.cmdStr,o.createVerboseFormattingArg(e,t,n,this.separator))},e}();t.CmdFormatter=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(168),i=n(171),o=n(172),a=n(173),s=n(143),l=n(174),u=function(){function e(){this.componentHash={},this.listenerHash={}}return e.prototype.registerComponent=function(e){this.componentHash[e.uid]=e,this.bindComponent(e)},e.prototype.unregisterComponent=function(e){delete this.componentHash[e.uid],this.unbindComponent(e)},e.prototype.bindComponent=function(e){this.listenerHash[e.uid]={dateClicking:new r.default(e),dateSelecting:new i.default(e),eventClicking:new o.default(e),eventHovering:new a.default(e),eventDragging:new s.default(e),eventResizing:new l.default(e)}},e.prototype.unbindComponent=function(e){var t=this.listenerHash[e.uid];t.dateClicking.destroy(),t.dateSelecting.destroy(),t.eventClicking.destroy(),t.eventHovering.destroy(),t.eventDragging.destroy(),t.eventResizing.destroy(),delete this.listenerHash[e.uid]},e}();t.BrowserContext=u,t.default=new u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(20),i=function(){function e(){this.emitter=new r.default}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e}();t.default=i},function(e,t,n){function r(e,t,n){var r=l.createEmptyEventStore();for(var o in e.defs){var s=e.defs[o];r.defs[o]=i(s,t)}for(var u in e.instances){var d=e.instances[u],s=r.defs[d.defId];r.instances[u]=a(d,s,t,n)}return r}function i(e,t){var n=u.assignTo({},e),r=t.standardProps||{};return null==r.hasEnd&&o(t.startDelta,t.endDelta)&&(r.hasEnd=!0),u.assignTo(n,r),t.extendedProps&&(n.extendedProps=u.assignTo({},n.extendedProps,t.extendedProps)),n}function o(e,t){return e&&!s.asRoughMs(e)&&(e=null),t&&!s.asRoughMs(t)&&(t=null),!(!e&&!t)&&(Boolean(e)!==Boolean(t)||!s.durationsEqual(e,t))}function a(e,t,n,r){var i=r.dateEnv,o=n.standardProps&&!0===n.standardProps.allDay,a=n.standardProps&&!1===n.standardProps.hasEnd,s=u.assignTo({},e);return o&&(s.range=d.computeAlignedDayRange(s.range)),n.startDelta&&(s.range={start:i.add(s.range.start,n.startDelta),end:s.range.end}),a?s.range={start:s.range.start,end:r.getDefaultEventEnd(t.allDay,s.range.start)}:n.endDelta&&(s.range={start:s.range.start,end:i.add(s.range.end,n.endDelta)}),t.allDay&&(s.range={start:c.startOfDay(s.range.start),end:c.startOfDay(s.range.end)}),s.range.end<s.range.start&&(s.range.end=r.getDefaultEventEnd(t.allDay,s.range.start)),s}Object.defineProperty(t,"__esModule",{value:!0});var s=n(10),l=n(14),u=n(4),d=n(2),c=n(6);t.applyMutationToEventStore=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=n(178),o=n(144),a=n(10),s=n(8),l=n(145),u=n(2),d=n(52),c=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.timeZoneImpl&&n&&(this.namedTimeZoneImpl=o.createNamedTimeZoneImpl(e.timeZoneImpl,t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=i.createCalendarSystem(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation?(this.weekDow=1,this.weekDoy=4):"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekLabel=null!=e.weekLabel?e.weekLabel:e.locale.options.weekLabel,"string"==typeof e.cmdFormatter&&(this.cmdFormatter=d.getCmdFormatter(e.cmdFormatter))}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):r.arrayToUtcDate(r.dateToLocalArray(new Date))},e.prototype.createMarkerMeta=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=r.arrayToUtcDate(e)),null===t||isNaN(t.valueOf())?null:{marker:t,isTimeUnspecified:!1,forcedTzo:null}},e.prototype.parse=function(e){var t=l.parse(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}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=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)},e.prototype.subtract=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)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return r.timeAsMs(e)===r.timeAsMs(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return r.timeAsMs(e)===r.timeAsMs(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=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=r.diffWholeWeeks(e,t))?{unit:"week",value:n}:null!==(n=r.diffWholeDays(e,t))?{unit:"day",value:n}:(n=r.diffHours(e,t),u.isInt(n)?{unit:"hour",value:n}:(n=r.diffMinutes(e,t),u.isInt(n)?{unit:"minute",value:n}:(n=r.diffSeconds(e,t),u.isInt(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()})))},e.prototype.countDurationsBetween=function(e,t,n){var i;return n.years&&null!==(i=this.diffWholeYears(e,t))?i/a.asRoughYears(n):n.months&&null!==(i=this.diffWholeMonths(e,t))?i/a.asRoughMonths(n):n.days&&null!==(i=r.diffWholeDays(e,t))?i/a.asRoughDays(n):(t.valueOf()-e.valueOf())/a.asRoughMs(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?r.startOfDay(e):"hour"===t?r.startOfHour(e):"minute"===t?r.startOfMinute(e):"second"===t?r.startOfSecond(e):void 0},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):r.weekOfYear(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,i){return void 0===i&&(i={}),i.isEndExclusive&&(t=r.addMs(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=i.forcedStartTzo?i.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=i.forcedEndTzo?i.forcedEndTzo:this.offsetForMarker(t)},this)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),s.buildIsoString(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?r.arrayToUtcDate(r.dateToLocalArray(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?r.arrayToUtcDate(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-r.arrayToLocalDate(r.dateToUtcArray(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(r.dateToUtcArray(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?r.arrayToLocalDate(r.dateToUtcArray(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(r.dateToUtcArray(e))*60):new Date(e.valueOf()-(t||0))},e}();t.DateEnv=c},function(e,t,n){function r(e,t){return a.rangesEqual(e.activeRange,t.activeRange)&&a.rangesEqual(e.validRange,t.validRange)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(6),o=n(10),a=n(11),s=function(){function e(e){this._view=e}return e.prototype.opt=function(e){return this._view.opt(e)},e.prototype.trimHiddenDays=function(e){return this._view.trimHiddenDays(e)},e.prototype.buildPrev=function(e){var t=this._view.calendar.dateEnv,n=t.subtract(t.startOf(e.currentDate,e.currentRangeUnit),e.dateIncrement);return this.build(n,-1)},e.prototype.buildNext=function(e){var t=this._view.calendar.dateEnv,n=t.add(t.startOf(e.currentDate,e.currentRangeUnit),e.dateIncrement);return this.build(n,1)},e.prototype.build=function(e,t,n){void 0===n&&(n=!1);var r,i,s,l,u,d,c=null,f=null;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(e=a.constrainMarkerToRange(e,r)),i=this.buildCurrentRangeInfo(e,t),s=/^(year|month|week|day)$/.test(i.unit),l=this.buildRenderRange(this.trimHiddenDays(i.range),i.unit,s),l=this.trimHiddenDays(l),u=l,this.opt("showNonCurrentDates")||(u=a.intersectRanges(u,i.range)),c=o.createDuration(this.opt("minTime")),f=o.createDuration(this.opt("maxTime")),u=this.adjustActiveRange(u,c,f),u=a.intersectRanges(u,r),u&&(e=a.constrainMarkerToRange(e,u)),d=a.rangesIntersect(i.range,r),{validRange:r,currentDate:e,currentRange:i.range,currentRangeUnit:i.unit,isRangeAllDay:s,activeRange:u,renderRange:l,minTime:c,maxTime:f,isValid:d,dateIncrement:this.buildDateIncrement(i.duration)}},e.prototype.buildValidRange=function(){return this._view.getRangeOption("validRange",this._view.calendar.getNow())||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this._view.calendar.dateEnv,i=this._view.viewSpec,a=null,s=null,l=null;return i.duration?(a=i.duration,s=i.durationUnit,l=this.buildRangeFromDuration(e,t,a,s)):(n=this.opt("dayCount"))?(s="day",l=this.buildRangeFromDayCount(e,t,n)):(l=this.buildCustomVisibleRange(e))?s=r.greatestWholeUnit(l.start,l.end).unit:(a=this.getFallbackDuration(),s=o.greatestDurationDenominator(a).unit,l=this.buildRangeFromDuration(e,t,a,s)),{duration:a,unit:s,range:l}},e.prototype.getFallbackDuration=function(){return o.createDuration({day:1})},e.prototype.adjustActiveRange=function(e,t,n){var r=this._view.calendar.dateEnv,a=e.start,s=e.end;return this._view.usesMinMaxTime&&(o.asRoughDays(t)<0&&(a=i.startOfDay(a),a=r.add(a,t)),o.asRoughDays(n)>1&&(s=i.startOfDay(s),s=i.addDays(s,-1),s=r.add(s,n))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){function a(){u=f.startOf(e,p),d=f.add(u,n),c={start:u,end:d}}var s,l,u,d,c,f=this._view.calendar.dateEnv,p=this.opt("dateAlignment");return p||(s=this.opt("dateIncrement"),s?(l=o.createDuration(s),p=o.asRoughMs(l)<o.asRoughMs(n)?o.greatestDurationDenominator(l,!o.getWeeksFromInput(s)).unit:r):p=r),o.asRoughDays(n)<=1&&this._view.isHiddenDay(u)&&(u=this._view.skipHiddenDays(u,t),u=i.startOfDay(u)),a(),this.trimHiddenDays(c)||(e=this._view.skipHiddenDays(e,t),a()),c},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this._view.calendar.dateEnv,a=this.opt("dateAlignment"),s=0,l=e;a&&(l=o.startOf(l,a)),l=i.startOfDay(l),l=this._view.skipHiddenDays(l,t),r=l;do{r=i.addDays(r,1),this._view.isHiddenDay(r)||s++}while(s<n);return{start:l,end:r}},e.prototype.buildCustomVisibleRange=function(e){
var t=this._view.calendar.dateEnv,n=this._view.getRangeOption("visibleRange",t.toDate(e));return!n||null!=n.start&&null!=n.end?n:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.opt("dateIncrement");return n?o.createDuration(n):(t=this.opt("dateAlignment"))?o.createDuration(1,t):e||o.createDuration({days:1})},e}();t.default=s,t.isDateProfilesEqual=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(9),o=n(3),a=n(47),s=n(6),l=n(8),u=n(11),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.updateDayTable=function(){for(var e,t,n,r=this,i=r.view,o=r.dateProfile,a=o.renderRange.start,l=o.renderRange.end,u=-1,d=[],c=[];a<l;)i.isHiddenDay(a)?d.push(u+.5):(u++,d.push(u),c.push(a)),a=s.addDays(a,1);if(this.breakOnWeeks){for(t=c[0].getUTCDay(),e=1;e<c.length&&c[e].getUTCDay()!==t;e++);n=Math.ceil(c.length/e)}else n=1,e=c.length;this.dayDates=c,this.dayIndices=d,this.daysPerRow=e,this.rowCnt=n,this.updateDayTableCols()},t.prototype.updateDayTableCols=function(){this.colCnt=this.computeColCnt(),this.colHeadFormat=l.createFormatter(this.opt("columnHeaderFormat")||this.computeColHeadFormat())},t.prototype.computeColCnt=function(){return this.daysPerRow},t.prototype.getCellDate=function(e,t){return this.dayDates[this.getCellDayIndex(e,t)]},t.prototype.getCellRange=function(e,t){var n=this.getCellDate(e,t);return{start:n,end:s.addDays(n,1)}},t.prototype.getCellDayIndex=function(e,t){return e*this.daysPerRow+this.getColDayIndex(t)},t.prototype.getColDayIndex=function(e){return this.isRtl?this.colCnt-1-e:e},t.prototype.getDateDayIndex=function(e){var t=this.dayIndices,n=Math.floor(s.diffDays(this.dayDates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},t.prototype.computeColHeadFormat=function(){return this.rowCnt>1||this.colCnt>10?{weekday:"short"}:this.colCnt>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"}},t.prototype.sliceRangeByRow=function(e){var t,n,r,i,o,a=this.daysPerRow,l=this.getDateDayIndex(e.start),u=this.getDateDayIndex(s.addDays(e.end,-1)),d=[];for(t=0;t<this.rowCnt;t++)n=t*a,r=n+a-1,i=Math.max(l,n),o=Math.min(u,r),i=Math.ceil(i),o=Math.floor(o),i<=o&&d.push({row:t,firstRowDayIndex:i-n,lastRowDayIndex:o-n,isStart:i===l,isEnd:o===u});return d},t.prototype.sliceRangeByDay=function(e){var t,n,r,i,o,a,l=this.daysPerRow,u=this.getDateDayIndex(e.start),d=this.getDateDayIndex(s.addDays(e.end,-1)),c=[];for(t=0;t<this.rowCnt;t++)for(n=t*l,r=n+l-1,i=n;i<=r;i++)o=Math.max(u,i),a=Math.min(d,i),o=Math.ceil(o),a=Math.floor(a),o<=a&&c.push({row:t,firstRowDayIndex:o-n,lastRowDayIndex:a-n,isStart:o===u,isEnd:a===d});return c},t.prototype.renderHeadHtml=function(){var e=this.getTheme();return'<div class="fc-row '+e.getClass("headerRow")+'"><table class="'+e.getClass("tableGrid")+'"><thead>'+this.renderHeadTrHtml()+"</thead></table></div>"},t.prototype.renderHeadIntroHtml=function(){return this.renderIntroHtml()},t.prototype.renderHeadTrHtml=function(){return"<tr>"+(this.isRtl?"":this.renderHeadIntroHtml())+this.renderHeadDateCellsHtml()+(this.isRtl?this.renderHeadIntroHtml():"")+"</tr>"},t.prototype.renderHeadDateCellsHtml=function(){var e,t,n=[];for(e=0;e<this.colCnt;e++)t=this.getCellDate(0,e),n.push(this.renderHeadDateCellHtml(t));return n.join("")},t.prototype.renderHeadDateCellHtml=function(e,t,n){var r,o=this,a=o.view,l=o.getDateEnv(),d=o.dateProfile,c=u.rangeContainsMarker(d.activeRange,e),f=["fc-day-header",a.calendar.theme.getClass("widgetHeader")];return r="function"==typeof o.opt("columnHeaderHtml")?o.opt("columnHeaderHtml")(e):"function"==typeof o.opt("columnHeaderText")?i.htmlEscape(o.opt("columnHeaderText")(e)):i.htmlEscape(l.format(e,o.colHeadFormat)),1===o.rowCnt?f=f.concat(o.getDayClasses(e,!0)):f.push("fc-"+s.DAY_IDS[e.getUTCDay()]),'<th class="'+f.join(" ")+'"'+(1===(c&&o.rowCnt)?' data-date="'+l.formatIso(e,{omitTime:!0})+'"':"")+(t>1?' colspan="'+t+'"':"")+(n?" "+n:"")+">"+(c?a.buildGotoAnchorHtml({date:e,forceOff:o.rowCnt>1||1===o.colCnt},r):r)+"</th>"},t.prototype.renderBgTrHtml=function(e){return"<tr>"+(this.isRtl?"":this.renderBgIntroHtml(e))+this.renderBgCellsHtml(e)+(this.isRtl?this.renderBgIntroHtml(e):"")+"</tr>"},t.prototype.renderBgIntroHtml=function(e){return this.renderIntroHtml()},t.prototype.renderBgCellsHtml=function(e){var t,n,r=[];for(t=0;t<this.colCnt;t++)n=this.getCellDate(e,t),r.push(this.renderBgCellHtml(n));return r.join("")},t.prototype.renderBgCellHtml=function(e,t){var n=this,r=n.view,i=n.getDateEnv(),o=n.dateProfile,a=u.rangeContainsMarker(o.activeRange,e),s=n.getDayClasses(e);return s.unshift("fc-day",r.calendar.theme.getClass("widgetContent")),'<td class="'+s.join(" ")+'"'+(a?' data-date="'+i.formatIso(e,{omitTime:!0})+'"':"")+(t?" "+t:"")+"></td>"},t.prototype.renderIntroHtml=function(){return""},t.prototype.bookendCells=function(e){var t=this.renderIntroHtml();t&&(this.isRtl?o.appendToElement(e,t):o.prependToElement(e,t))},t}(a.default);t.default=d},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(9),i=n(3),o=function(){function e(e){this.fillSegTag="div",this.component=e,this.containerElsByType={},this.renderedSegsByType={}}return e.prototype.renderSegs=function(e,t,n){var r,i=this.buildSegEls(e,t,n),o=this.attachSegEls(e,i);return o&&(r=this.containerElsByType[e]||(this.containerElsByType[e]=[])).push.apply(r,o),this.renderedSegsByType[e]=i,i},e.prototype.unrender=function(e){var t=this.containerElsByType[e];t&&(t.forEach(i.removeElement),delete this.containerElsByType[e]),delete this.renderedSegsByType[e]},e.prototype.buildSegEls=function(e,t,n){var r,o=this,a="",s=[];if(t.length){for(r=0;r<t.length;r++)a+=this.buildSegHtml(e,t[r],n);i.htmlToElements(a).forEach(function(e,r){var a=t[r];n.filterEl&&(e=n.filterEl(a,e)),e&&i.elementMatches(e,o.fillSegTag)&&(a.el=e,s.push(a))})}return s},e.prototype.buildSegHtml=function(e,t,n){var i=n.getClasses?n.getClasses(t):[],o=r.cssToStr(n.getCss?n.getCss(t):{});return"<"+this.fillSegTag+(i.length?' class="'+i.join(" ")+'"':"")+(o?' style="'+o+'"':"")+"></"+this.fillSegTag+">"},e.prototype.attachSegEls=function(e,t){return null},e.prototype.computeSize=function(e){},e.prototype.assignSize=function(e){},e}();t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=function(){function e(e,t){this.view=e.view,this.component=e,this.eventRenderer=t}return e.prototype.renderEventDraggingSegs=function(e,t){this.renderEventSegs(e,t,"fc-dragging")},e.prototype.renderEventResizingSegs=function(e,t){this.renderEventSegs(e,t,"fc-resizing")},e.prototype.renderEventSegs=function(e,t,n){var r;for(e=this.eventRenderer.renderFgSegEls(e,!0),r=0;r<e.length;r++){var i=e[r].el.classList;i.add("fc-mirror"),n&&i.add(n)}this.mirrorEls=this.renderSegs(e,t),this.segs=e,this.view.triggerRenderedSegs(e,!0)},e.prototype.computeSize=function(){},e.prototype.assignSize=function(){},e.prototype.unrender=function(){this.mirrorEls&&(this.mirrorEls.forEach(r.removeElement),this.mirrorEls=null)},e}();t.default=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(13),i=n(26),o=n(142),a=function(){function e(e){var t=r.computeRect(e);this.origLeft=t.left,this.origTop=t.top,this.scrollCaches=r.getClippingParents(e).map(function(e){return new o.ElementScrollGeomCache(e,!0)})}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}},e.prototype.computeLeft=function(){for(var e=this.origLeft,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.getScrollLeft()-r.origScrollLeft}return e},e.prototype.computeTop=function(){for(var e=this.origTop,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollTop-r.getScrollTop()}return e},e.prototype.isWithinClipping=function(e,t){for(var n={left:e,top:t},r=0,o=this.scrollCaches;r<o.length;r++){var a=o[r];if(!i.pointInsideRect(n,a.clientRect))return!1}return!0},e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(4),o=n(3),a=n(13),s=n(49),l=n(189),u=n(58),d=n(148),c=n(190),f=n(191),p=n(6),h=n(8),g=n(21),v=n(192),y=n(11),m=n(61),E=h.createFormatter({day:"numeric"}),S=h.createFormatter({week:"numeric"}),b=function(e){function t(t){var n=e.call(this,t)||this;return n.isInteractable=!0,n.doesDragMirror=!1,n.doesDragHighlight=!0,n.slicingType="all-day",n.cellWeekNumbersVisible=!1,n.bottomCoordPadding=0,n.isRigid=!1,n}return r.__extends(t,e),t.prototype.rangeToSegs=function(e){if(e=y.intersectRanges(e,this.dateProfile.validRange)){for(var t=this.sliceRangeByRow(e),n=0;n<t.length;n++){var r=t[n];r.component=this,this.isRtl?(r.leftCol=this.daysPerRow-1-r.lastRowDayIndex,r.rightCol=this.daysPerRow-1-r.firstRowDayIndex):(r.leftCol=r.firstRowDayIndex,r.rightCol=r.lastRowDayIndex)}return t}return[]},t.prototype.renderDates=function(){this.updateDayTable(),this.renderGrid()},t.prototype.unrenderDates=function(){this.removeSegPopover()},t.prototype.renderGrid=function(){var e,t,n=this.view,r=this.getDateEnv(),i=this.rowCnt,a=this.colCnt,l="";for(this.headContainerEl&&(this.headContainerEl.innerHTML=this.renderHeadHtml()),e=0;e<i;e++)l+=this.renderDayRowHtml(e,this.isRigid);for(this.el.innerHTML=l,this.rowEls=o.findElements(this.el,".fc-row"),this.cellEls=o.findElements(this.el,".fc-day, .fc-disabled-day"),this.rowPositions=new s.default(this.el,this.rowEls,!1,!0),this.colPositions=new s.default(this.el,this.cellEls.slice(0,this.colCnt),!0,!1),e=0;e<i;e++)for(t=0;t<a;t++)this.publiclyTrigger("dayRender",[{date:r.toDate(this.getCellDate(e,t)),el:this.getCellEl(e,t),view:n}])},t.prototype.renderDayRowHtml=function(e,t){var n=this.getTheme(),r=["fc-row","fc-week",n.getClass("dayRow")];return t&&r.push("fc-rigid"),'<div class="'+r.join(" ")+'"><div class="fc-bg"><table class="'+n.getClass("tableGrid")+'">'+this.renderBgTrHtml(e)+'</table></div><div class="fc-content-skeleton"><table>'+(this.getIsNumbersVisible()?"<thead>"+this.renderNumberTrHtml(e)+"</thead>":"")+"</table></div></div>"},t.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.cellWeekNumbersVisible},t.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},t.prototype.renderNumberTrHtml=function(e){return"<tr>"+(this.isRtl?"":this.renderNumberIntroHtml(e))+this.renderNumberCellsHtml(e)+(this.isRtl?this.renderNumberIntroHtml(e):"")+"</tr>"},t.prototype.renderNumberIntroHtml=function(e){return this.renderIntroHtml()},t.prototype.renderNumberCellsHtml=function(e){var t,n,r=[];for(t=0;t<this.colCnt;t++)n=this.getCellDate(e,t),r.push(this.renderNumberCellHtml(n));return r.join("")},t.prototype.renderNumberCellHtml=function(e){var t,n,r=this.view,i=this.getDateEnv(),o="",a=y.rangeContainsMarker(this.dateProfile.activeRange,e),s=this.getIsDayNumbersVisible()&&a;return s||this.cellWeekNumbersVisible?(t=this.getDayClasses(e),t.unshift("fc-day-top"),this.cellWeekNumbersVisible&&(n=i.weekDow),o+='<td class="'+t.join(" ")+'"'+(a?' data-date="'+i.formatIso(e,{omitTime:!0})+'"':"")+">",this.cellWeekNumbersVisible&&e.getUTCDay()===n&&(o+=r.buildGotoAnchorHtml({date:e,type:"week"},{class:"fc-week-number"},i.format(e,S))),s&&(o+=r.buildGotoAnchorHtml(e,{class:"fc-day-number"},i.format(e,E))),o+="</td>"):"<td></td>"},t.prototype.buildPositionCaches=function(){this.colPositions.build(),this.rowPositions.build(),this.rowPositions.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},t.prototype.prepareHits=function(){this.offsetTracker=new m.default(this.el)},t.prototype.releaseHits=function(){this.offsetTracker.destroy()},t.prototype.queryHit=function(e,t){var n=this,r=n.colPositions,i=n.rowPositions,o=n.offsetTracker;if(o.isWithinClipping(e,t)){var a=o.computeLeft(),s=o.computeTop(),l=r.leftToIndex(e-a),u=i.topToIndex(t-s);if(null!=u&&null!=l)return{component:this,dateSpan:{range:this.getCellRange(u,l),allDay:!0},dayEl:this.getCellEl(u,l),rect:{left:r.lefts[l]+a,right:r.rights[l]+a,top:i.tops[u]+s,bottom:i.bottoms[u]+s},layer:0}}},t.prototype.getCellEl=function(e,t){return this.cellEls[e*this.colCnt+t]},t.prototype.unrenderEvents=function(){this.removeSegPopover(),e.prototype.unrenderEvents.call(this)},t.prototype.getAllEventSegs=function(){return e.prototype.getAllEventSegs.call(this).concat(this.segPopoverTile?this.segPopoverTile.getAllEventSegs():[])},t.prototype.renderEventResize=function(e,t,n){var r=this.eventRangesToSegs(this.eventStoreToRanges(e,t));this.renderHighlightSegs(r),this.mirrorRenderer.renderEventResizingSegs(r,n)},t.prototype.unrenderEventResize=function(){this.unrenderHighlight(),this.mirrorRenderer.unrender()},t.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},t.prototype.limitRows=function(e){var t,n,r=this.eventRenderer.rowStructs||[];for(t=0;t<r.length;t++)this.unlimitRow(t),!1!==(n=!!e&&("number"==typeof e?e:this.computeRowLevelLimit(t)))&&this.limitRow(t,n)},t.prototype.computeRowLevelLimit=function(e){var t,n,r=this.rowEls[e],i=r.getBoundingClientRect().bottom,a=o.findChildren(this.eventRenderer.rowStructs[e].tbodyEl);for(t=0;t<a.length;t++)if(n=a[t],n.classList.remove("fc-limited"),n.getBoundingClientRect().bottom>i)return t;return!1},t.prototype.limitRow=function(e,t){var n,r,i,a,s,l,u,d,c,f,p,h,g,v,y,m=this,E=this.eventRenderer.rowStructs[e],S=[],b=0,D=function(n){for(;b<n;)l=m.getCellSegs(e,b,t),l.length&&(c=r[t-1][b],y=m.renderMoreLink(e,b,l),v=o.createElement("div",null,y),c.appendChild(v),S.push(v[0])),b++};if(t&&t<E.segLevels.length){for(n=E.segLevels[t-1],r=E.cellMatrix,i=o.findChildren(E.tbodyEl).slice(t),i.forEach(function(e){e.classList.add("fc-limited")}),a=0;a<n.length;a++){for(s=n[a],D(s.leftCol),d=[],u=0;b<=s.rightCol;)l=this.getCellSegs(e,b,t),d.push(l),u+=l.length,b++;if(u){for(c=r[t-1][s.leftCol],f=c.rowSpan||1,p=[],h=0;h<d.length;h++)g=o.createElement("td",{className:"fc-more-cell",rowSpan:f}),l=d[h],y=this.renderMoreLink(e,s.leftCol+h,[s].concat(l)),v=o.createElement("div",null,y),g.appendChild(v),p.push(g),S.push(g);c.classList.add("fc-limited"),o.insertAfterElement(c,p),i.push(c)}}D(this.colCnt),E.moreEls=S,E.limitedEls=i}},t.prototype.unlimitRow=function(e){var t=this.eventRenderer.rowStructs[e];t.moreEls&&(t.moreEls.forEach(o.removeElement),t.moreEls=null),t.limitedEls&&(t.limitedEls.forEach(function(e){e.classList.remove("fc-limited")}),t.limitedEls=null)},t.prototype.renderMoreLink=function(e,t,n){var r=this,i=this.view,a=this.getDateEnv(),s=o.createElement("a",{className:"fc-more"});return s.innerText=this.getMoreLinkText(n.length),s.addEventListener("click",function(o){var s=r.opt("eventLimitClick"),l=r.getCellDate(e,t),u=o.currentTarget,d=r.getCellEl(e,t),c=r.getCellSegs(e,t),f=r.resliceDaySegs(c,l),p=r.resliceDaySegs(n,l);"function"==typeof s&&(s=r.publiclyTrigger("eventLimitClick",[{date:a.toDate(l),allDay:!0,dayEl:d,moreEl:u,segs:f,hiddenSegs:p,jsEvent:o,view:i}])),"popover"===s?r.showSegPopover(e,t,u,f):"string"==typeof s&&i.calendar.zoomTo(l,s)}),s},t.prototype.showSegPopover=function(e,t,n,r){var i,o,s=this,u=this.view,d=n.parentNode;i=1===this.rowCnt?u.el:this.rowEls[e],o={className:"fc-more-popover "+u.calendar.theme.getClass("popover"),parentEl:this.el,top:a.computeRect(i).top,autoHide:!0,content:function(e){s.segPopoverTile.setElement(e),s.segPopoverTile.renderSkeleton(),s.segPopoverTile.eventRenderer.rangeUpdated(),s.segPopoverTile.eventRenderer.renderSegs(r),s.segPopoverTile.renderedFlags.events=!0},hide:function(){s.segPopoverTile.removeElement(),s.segPopover.removeElement(),s.segPopover=null}},this.isRtl?o.right=a.computeRect(d).right+1:o.left=a.computeRect(d).left-1,this.segPopoverTile=new v.default(this.view,this.getCellDate(e,t)),this.segPopover=new l.default(o),this.segPopover.show(),this.getCalendar().releaseAfterSizingTriggers()},t.prototype.resliceDaySegs=function(e,t){for(var n=t,r=p.addDays(n,1),o={start:n,end:r},a=[],s=0,l=e;s<l.length;s++){var u=l[s],d=u.eventRange,c=d.range,f=y.intersectRanges(c,o);f&&a.push(i.assignTo({},u,{eventRange:{def:d.def,ui:i.assignTo({},d.ui,{durationEditable:!1}),instance:d.instance,range:f},isStart:u.isStart&&f.start.valueOf()===c.start.valueOf(),isEnd:u.isEnd&&f.end.valueOf()===c.end.valueOf()}))}return a},t.prototype.getMoreLinkText=function(e){var t=this.opt("eventLimitText");return"function"==typeof t?t(e):"+"+e+" "+t},t.prototype.getCellSegs=function(e,t,n){for(var r,i=this.eventRenderer.rowStructs[e].segMatrix,o=n||0,a=[];o<i.length;)r=i[o][t],r&&a.push(r),o++;return a},t}(g.default);t.default=b,b.prototype.eventRendererClass=d.default,b.prototype.mirrorRendererClass=c.default,b.prototype.fillRendererClass=f.default,u.default.mixInto(b)},function(e,t,n){function r(e){return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t.prototype.renderHeadIntroHtml=function(){var e=this.view;return e.colWeekNumbersVisible?'<th class="fc-week-number '+e.calendar.theme.getClass("widgetHeader")+'" '+e.weekNumberStyleAttr()+"><span>"+o.htmlEscape(this.opt("weekLabel"))+"</span></th>":""},t.prototype.renderNumberIntroHtml=function(e){var t=this.view,n=this.getDateEnv(),r=this.getCellDate(e,0);return t.colWeekNumbersVisible?'<td class="fc-week-number" '+t.weekNumberStyleAttr()+">"+t.buildGotoAnchorHtml({date:r,type:"week",forceOff:1===this.colCnt},n.format(r,p))+"</td>":""},t.prototype.renderBgIntroHtml=function(){var e=this.view;return e.colWeekNumbersVisible?'<td class="fc-week-number '+e.calendar.theme.getClass("widgetContent")+'" '+e.weekNumberStyleAttr()+"></td>":""},t.prototype.renderIntroHtml=function(){var e=this.view;return e.colWeekNumbersVisible?'<td class="fc-week-number" '+e.weekNumberStyleAttr()+"></td>":""},t.prototype.getIsNumbersVisible=function(){var e=this.view;return f.default.prototype.getIsNumbersVisible.apply(this,arguments)||e.colWeekNumbersVisible},t}(e)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(9),a=n(3),s=n(2),l=n(8),u=n(37),d=n(42),c=n(149),f=n(62),p=l.createFormatter({week:"numeric"}),h=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.colWeekNumbersVisible=!1,r.dayGrid=r.instantiateDayGrid(),r.dayGrid.isRigid=r.hasRigidRows(),r.opt("weekNumbers")&&(r.opt("weekNumbersWithinDays")?(r.dayGrid.cellWeekNumbersVisible=!0,r.colWeekNumbersVisible=!1):(r.dayGrid.cellWeekNumbersVisible=!1,r.colWeekNumbersVisible=!0)),r.addChild(r.dayGrid),r.scroller=new u.default("hidden","auto"),r}return i.__extends(t,e),t.prototype.instantiateDayGrid=function(){return new(r(this.dayGridClass))(this)},t.prototype.renderDates=function(t){this.dayGrid.breakOnWeeks=/year|month|week/.test(this.dateProfile.currentRangeUnit),e.prototype.renderDates.call(this,t)},t.prototype.renderSkeleton=function(){var e,t;this.el.classList.add("fc-basic-view"),this.el.innerHTML=this.renderSkeletonHtml(),this.scroller.applyOverflow(),e=this.scroller.el,e.classList.add("fc-day-grid-container"),t=a.createElement("div",{className:"fc-day-grid"}),e.appendChild(t),this.el.querySelector(".fc-body > tr > td").appendChild(e),this.dayGrid.headContainerEl=this.el.querySelector(".fc-head-container"),this.dayGrid.setElement(t)},t.prototype.unrenderSkeleton=function(){this.dayGrid.removeElement(),this.scroller.removeElement()},t.prototype.renderSkeletonHtml=function(){var e=this.getTheme();return'<table class="'+e.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+e.getClass("widgetHeader")+'">&nbsp;</td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+e.getClass("widgetContent")+'"></td></tr></tbody></table>'},t.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},t.prototype.hasRigidRows=function(){var e=this.opt("eventLimit");return e&&"number"!=typeof e},t.prototype.updateBaseSize=function(e,t){var n,r,i=this.dayGrid,o=this.opt("eventLimit"),l=i.headContainerEl?i.headContainerEl.querySelector(".fc-row"):null;if(!i.rowEls)return void(t||(n=this.computeScrollerHeight(e),this.scroller.setHeight(n)));this.colWeekNumbersVisible&&(this.weekNumberWidth=s.matchCellWidths(a.findElements(this.el,".fc-week-number"))),this.scroller.clear(),l&&s.uncompensateScroll(l),i.removeSegPopover(),o&&"number"==typeof o&&i.limitRows(o),n=this.computeScrollerHeight(e),this.setGridHeight(n,t),o&&"number"!=typeof o&&i.limitRows(o),t||(this.scroller.setHeight(n),r=this.scroller.getScrollbarWidths(),(r.left||r.right)&&(l&&s.compensateScroll(l,r),n=this.computeScrollerHeight(e),this.scroller.setHeight(n)),this.scroller.lockOverflow(r))},t.prototype.computeScrollerHeight=function(e){return e-s.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.setGridHeight=function(e,t){t?s.undistributeHeight(this.dayGrid.rowEls):s.distributeHeight(this.dayGrid.rowEls,e,!0)},t.prototype.computeInitialDateScroll=function(){return{top:0}},t.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},t.prototype.applyDateScroll=function(e){void 0!==e.top&&this.scroller.setScrollTop(e.top)},t}(d.default);t.default=h,h.prototype.dateProfileGeneratorClass=c.default,h.prototype.dayGridClass=f.default},function(t,n){t.exports=e},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){function n(e,t){for(var n=0,r=0;r<e.length;)t(e[r])?(e.splice(r,1),n++):r++;return n}function r(e,t){for(var n=0,r=0;r<e.length;)e[r]===t?(e.splice(r,1),n++):r++;return n}function i(e,t){var n,r=e.length;if(null==r||r!==t.length)return!1;for(n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.removeMatching=n,t.removeExact=r,t.isArraysEqual=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(27),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t}(i.default);t.default=o,o.prototype.classes={widget:"fc-unthemed",widgetHeader:"fc-widget-header",widgetContent:"fc-widget-content",buttonGroup:"fc-button-group",button:"fc-button",cornerLeft:"fc-corner-left",cornerRight:"fc-corner-right",stateDefault:"fc-state-default",stateActive:"fc-state-active",stateDisabled:"fc-state-disabled",stateHover:"fc-state-hover",stateDown:"fc-state-down",popoverHeader:"fc-widget-header",popoverContent:"fc-widget-content",headerRow:"fc-widget-header",dayRow:"fc-widget-content",listView:"fc-widget-content"},o.prototype.baseIconClass="fc-icon",o.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-left-single-arrow",next:"fc-icon-right-single-arrow",prevYear:"fc-icon-left-double-arrow",nextYear:"fc-icon-right-double-arrow"},o.prototype.iconOverrideOption="buttonIcons",o.prototype.iconOverrideCustomButtonOption="icon",o.prototype.iconOverridePrefix="fc-icon-"},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(27),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t}(i.default);t.default=o,o.prototype.classes={widget:"ui-widget",widgetHeader:"ui-widget-header",widgetContent:"ui-widget-content",buttonGroup:"fc-button-group",button:"ui-button",cornerLeft:"ui-corner-left",cornerRight:"ui-corner-right",stateDefault:"ui-state-default",stateActive:"ui-state-active",stateDisabled:"ui-state-disabled",stateHover:"ui-state-hover",stateDown:"ui-state-down",today:"ui-state-highlight",popoverHeader:"ui-widget-header",popoverContent:"ui-widget-content",headerRow:"ui-widget-header",dayRow:"ui-widget-content",listView:"ui-widget-content"},o.prototype.baseIconClass="ui-icon",o.prototype.iconClasses={close:"ui-icon-closethick",prev:"ui-icon-circle-triangle-w",next:"ui-icon-circle-triangle-e",prevYear:"ui-icon-seek-prev",nextYear:"ui-icon-seek-next"},o.prototype.iconOverrideOption="themeButtonIcons",o.prototype.iconOverrideCustomButtonOption="themeIcon",o.prototype.iconOverridePrefix="ui-icon-"},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}();t.ScrollController=i;var o=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return r.__extends(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(i);t.ElementScrollController=o;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(i);t.WindowScrollController=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=function(){function e(){}return e.prototype.setElement=function(e){this.el=e,this.bindGlobalHandlers()},e.prototype.removeElement=function(){this.unbindGlobalHandlers(),r.removeElement(this.el)},e.prototype.bindGlobalHandlers=function(){},e.prototype.unbindGlobalHandlers=function(){},e}();t.default=i},function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this.calendar=e,this.internalEventSource=t}return e.prototype.remove=function(){this.calendar.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.calendar.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId]})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!0,configurable:!0}),e}();t.default=n},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(13),o=n(139),a=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return r.__extends(t,e),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(o.ScrollController);t.ScrollGeomCache=a;var s=function(e){function t(t,n){return e.call(this,new o.ElementScrollController(t),n)||this}return r.__extends(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return i.computeInnerRect(this.scrollController.el)},t}(a);t.ElementScrollGeomCache=s;var l=function(e){function t(t){return e.call(this,new o.WindowScrollController,t)||this}return r.__extends(t,e),t.prototype.getEventTarget=function(){return window},t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(a);t.WindowScrollGeomCache=l},function(e,t,n){function r(e,t){var n=e.dateSpan,r=t.dateSpan,i=n.range.start,o=r.range.start,a=null;n.allDay!==r.allDay&&(a={allDay:r.allDay,hasEnd:t.component.opt("allDayMaintainDuration")},r.allDay&&(i=u.startOfDay(i)));var s=p.diffDates(i,o,e.component.getDateEnv(),e.component===t.component?e.component.largeUnit:null);return{startDelta:s,endDelta:s,standardProps:a}}function i(e){var t=e.opt("eventLongPressDelay");return null==t&&(t=e.opt("longPressDelay")),t}Object.defineProperty(t,"__esModule",{value:!0});var o=n(18),a=n(31),s=n(55),l=n(53),u=n(6),d=n(3),c=n(30),f=n(14),p=n(2),h=n(15),g=function(){function e(t){var n=this;this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingCalendar=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=function(e){var t=e.origEvent.target,r=n,a=r.component,s=r.dragging,l=s.mirror,u=a.getCalendar(),c=n.subjectSeg=o.getElSeg(e.subjectEl),p=n.eventRange=c.eventRange,h=p.instance.instanceId;n.relevantEvents=f.getRelevantEvents(u.state.eventStore,h),s.minDistance=e.isTouch?0:a.opt("eventDragMinDistance"),s.delay=e.isTouch&&h!==a.eventSelection?i(a):null,l.parentNode=u.el,l.revertDuration=a.opt("dragRevertDuration");var g=n.component.isValidSegDownEl(t)&&!d.elementClosest(t,".fc-resizer");s.setIgnoreMove(!g),n.isDragging=g&&e.subjectEl.classList.contains("fc-draggable")},this.handleDragStart=function(e){var t=n.component.getCalendar(),r=n.eventRange,i=r.instance.instanceId;e.isTouch?i!==n.component.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:i}):t.dispatch({type:"UNSELECT_EVENT"}),n.isDragging&&(t.unselect(e),t.publiclyTrigger("eventDragStart",[{el:n.subjectSeg.el,event:new h.default(t,r.def,r.instance),jsEvent:e.origEvent,view:n.component.view}]))},this.handleHitUpdate=function(e,t){if(n.isDragging){var i=n.relevantEvents,o=n.hitDragging.initialHit,l=n.component.getCalendar(),u=null,d=null,c=null,h=!1;if(e){var g=e.component;u=g.getCalendar(),l===u||g.opt("editable")&&g.opt("droppable")?(d=r(o,e))&&(c=s.applyMutationToEventStore(i,d,u),n.component.isEventsValid(c)||(h=!0,d=null,c=null)):u=null}n.displayDrag(u,{affectedEvents:i,mutatedEvents:c||f.createEmptyEventStore(),isEvent:!0,origSeg:n.subjectSeg}),h?p.disableCursor():p.enableCursor(),t||(l===u&&a.isHitsEqual(o,e)&&(d=null),n.dragging.setMirrorNeedsRevert(!d),
n.dragging.setMirrorIsVisible(!e||!document.querySelector(".fc-mirror")),n.receivingCalendar=u,n.validMutation=d,n.mutatedRelevantEvents=c)}},this.handlePointerUp=function(){n.isDragging||n.cleanup()},this.handleDragEnd=function(e){if(n.isDragging){var t=n.component.getCalendar(),r=n.component.view,i=n.receivingCalendar,o=n.eventRange.def,a=n.eventRange.instance,s=new h.default(t,o,a),l=n.relevantEvents,u=n.mutatedRelevantEvents;n.clearDrag(),t.publiclyTrigger("eventDragStop",[{el:n.subjectSeg.el,event:s,jsEvent:e.origEvent,view:r}]),n.validMutation?i===t?(t.dispatch({type:"MERGE_EVENTS",eventStore:u}),t.publiclyTrigger("eventDrop",[{el:e.subjectEl,delta:n.validMutation.startDelta,prevEvent:s,event:new h.default(t,u.defs[o.defId],a?u.instances[a.instanceId]:null),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})},jsEvent:e.origEvent,view:r}])):i&&(t.publiclyTrigger("eventLeave",[{draggedEl:e.subjectEl,event:s,view:r}]),t.dispatch({type:"REMOVE_EVENT_INSTANCES",instances:n.mutatedRelevantEvents.instances}),i.dispatch({type:"MERGE_EVENTS",eventStore:n.mutatedRelevantEvents}),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:a.instanceId}),i.publiclyTrigger("eventReceive",[{draggedEl:e.subjectEl,event:new h.default(i,o,a),view:n.hitDragging.finalHit.component}])):t.publiclyTrigger("_noEventDrop")}n.cleanup()},this.component=t;var u=this.dragging=new c.default(t.el);u.pointer.selector=e.SELECTOR,u.touchScrollAllowed=!1,u.autoScroller.isEnabled=t.opt("dragScroll");var g=this.hitDragging=new a.default(this.dragging,l.default.componentHash);g.useSubjectCenter=t.useEventCenter,g.emitter.on("pointerdown",this.handlePointerDown),g.emitter.on("dragstart",this.handleDragStart),g.emitter.on("hitupdate",this.handleHitUpdate),g.emitter.on("pointerup",this.handlePointerUp),g.emitter.on("dragend",this.handleDragEnd)}return e.prototype.destroy=function(){this.dragging.destroy()},e.prototype.displayDrag=function(e,t){var n=this.component.getCalendar(),r=this.receivingCalendar;r&&r!==e&&(r===n?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:f.createEmptyEventStore(),isEvent:!0,origSeg:t.origSeg}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},e.prototype.clearDrag=function(){var e=this.component.getCalendar(),t=this.receivingCalendar;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},e.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingCalendar=null,this.validMutation=null,this.mutatedRelevantEvents=null},e.SELECTOR=".fc-draggable, .fc-resizable",e}();t.default=g},function(e,t){function n(e,t){o[e]=t}function r(e,t){var n=o[e];return n?new n(t):null}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this.name=e}return e}();t.NamedTimeZoneImpl=i;var o={};t.registerNamedTimeZoneImpl=n,t.createNamedTimeZoneImpl=r},function(e,t){function n(e){var t=null,n=!1,o=r.exec(e);o&&(n=!o[1],n?e+="T00:00:00Z":e=e.replace(i,function(e,n,r,i,o){return t=n?0:(60*parseInt(i,10)+parseInt(o||0,10))*("-"===r?-1:1),""})+"Z");var a=new Date(e);return isNaN(a.valueOf())?null:{marker:a,isTimeUnspecified:n,timeZoneOffset:t}}Object.defineProperty(t,"__esModule",{value:!0});var r=/^\s*\d{4}-\d\d-\d\d([T ]\d)?/,i=/(?:(Z)|([-+])(\d\d)(?::(\d\d))?)$/;t.parse=n},function(e,t,n){function r(e,t){return S.filterEventStoreDefs(e,function(e){return!e.allDay||D.hasBgRendering(t[e.defId])})}function i(e,t){return S.filterEventStoreDefs(e,function(e){return e.allDay})}function o(e){return e?{affectedEvents:e.affectedEvents,mutatedEvents:r(e.mutatedEvents,e.eventUis),eventUis:e.eventUis,isEvent:e.isEvent,origSeg:e.origSeg}:null}function a(e){return e?{affectedEvents:e.affectedEvents,mutatedEvents:i(e.mutatedEvents,e.eventUis),eventUis:e.eventUis,isEvent:e.isEvent,origSeg:e.origSeg}:null}Object.defineProperty(t,"__esModule",{value:!0});var s,l,u=n(1),d=n(9),c=n(4),f=n(3),p=n(2),h=n(37),g=n(42),v=n(147),y=n(62),m=n(10),E=n(8),S=n(14),b=n(51),D=n(28),w=E.createFormatter({week:"short"}),T=function(e){function t(t,n){var s=e.call(this,t,n)||this;return s.usesMinMaxTime=!0,s.timeGrid=s.instantiateTimeGrid(),s.addChild(s.timeGrid),s.opt("allDaySlot")&&(s.dayGrid=s.instantiateDayGrid(),s.addChild(s.dayGrid)),s.scroller=new h.default("hidden","auto"),s.filterEventsForTimeGrid=b.default(r),s.filterEventsForDayGrid=b.default(i),s.buildEventDragForTimeGrid=b.default(o),s.buildEventDragForDayGrid=b.default(a),s.buildEventResizeForTimeGrid=b.default(o),s.buildEventResizeForDayGrid=b.default(a),s}return u.__extends(t,e),t.prototype.instantiateTimeGrid=function(){var e=new this.timeGridClass(this);return c.copyOwnProps(s,e),e},t.prototype.instantiateDayGrid=function(){var e=new this.dayGridClass(this);return c.copyOwnProps(l,e),e},t.prototype.renderSkeleton=function(){var e,t;this.el.classList.add("fc-agenda-view"),this.el.innerHTML=this.renderSkeletonHtml(),this.scroller.applyOverflow(),e=this.scroller.el,e.classList.add("fc-time-grid-container"),t=f.createElement("div",{className:"fc-time-grid"}),e.appendChild(t),this.el.querySelector(".fc-body > tr > td").appendChild(e),this.timeGrid.headContainerEl=this.el.querySelector(".fc-head-container"),this.timeGrid.setElement(t),this.dayGrid&&(this.dayGrid.setElement(this.el.querySelector(".fc-day-grid")),this.dayGrid.bottomCoordPadding=this.el.querySelector(".fc-divider").offsetHeight)},t.prototype.unrenderSkeleton=function(){this.timeGrid.removeElement(),this.dayGrid&&this.dayGrid.removeElement(),this.scroller.removeElement()},t.prototype.renderSkeletonHtml=function(){var e=this.getTheme();return'<table class="'+e.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+e.getClass("widgetHeader")+'">&nbsp;</td></tr></thead>':"")+'<tbody class="fc-body"><tr><td class="'+e.getClass("widgetContent")+'">'+(this.dayGrid?'<div class="fc-day-grid"></div><hr class="fc-divider '+e.getClass("widgetHeader")+'" />':"")+"</td></tr></tbody></table>"},t.prototype.axisStyleAttr=function(){return null!=this.axisWidth?'style="width:'+this.axisWidth+'px"':""},t.prototype.renderChildren=function(e,t){var n=null,r=null;e.dateSelection&&(e.dateSelection.allDay?n=e.dateSelection:r=e.dateSelection),this.timeGrid.render({dateProfile:e.dateProfile,eventStore:this.filterEventsForTimeGrid(e.eventStore,e.eventUis),eventUis:e.eventUis,dateSelection:r,eventSelection:e.eventSelection,eventDrag:this.buildEventDragForTimeGrid(e.eventDrag),eventResize:this.buildEventResizeForTimeGrid(e.eventResize),businessHours:e.businessHours},t),this.dayGrid&&this.dayGrid.render({dateProfile:e.dateProfile,eventStore:this.filterEventsForDayGrid(e.eventStore,e.eventUis),eventUis:e.eventUis,dateSelection:n,eventSelection:e.eventSelection,eventDrag:this.buildEventDragForDayGrid(e.eventDrag),eventResize:this.buildEventResizeForDayGrid(e.eventResize),businessHours:e.businessHours},t)},t.prototype.getNowIndicatorUnit=function(){return this.timeGrid.getNowIndicatorUnit()},t.prototype.updateBaseSize=function(e,t){var n,r,i,o=this;if(this.axisWidth=p.matchCellWidths(f.findElements(this.el,".fc-axis")),!this.timeGrid.colEls)return void(t||(r=this.computeScrollerHeight(e),this.scroller.setHeight(r)));var a=f.findElements(this.el,".fc-row").filter(function(e){return!o.scroller.el.contains(e)});this.timeGrid.bottomRuleEl.style.display="none",this.scroller.clear(),a.forEach(p.uncompensateScroll),this.dayGrid&&(this.dayGrid.removeSegPopover(),n=this.opt("eventLimit"),n&&"number"!=typeof n&&(n=5),n&&this.dayGrid.limitRows(n)),t||(r=this.computeScrollerHeight(e),this.scroller.setHeight(r),i=this.scroller.getScrollbarWidths(),(i.left||i.right)&&(a.forEach(function(e){p.compensateScroll(e,i)}),r=this.computeScrollerHeight(e),this.scroller.setHeight(r)),this.scroller.lockOverflow(i),this.timeGrid.getTotalSlatHeight()<r&&(this.timeGrid.bottomRuleEl.style.display=""))},t.prototype.computeScrollerHeight=function(e){return e-p.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.computeInitialDateScroll=function(){var e=m.createDuration(this.opt("scrollTime")),t=this.timeGrid.computeTimeTop(e.milliseconds);return t=Math.ceil(t),t&&t++,{top:t}},t.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},t.prototype.applyDateScroll=function(e){void 0!==e.top&&this.scroller.setScrollTop(e.top)},t}(g.default);t.default=T,T.prototype.timeGridClass=v.default,T.prototype.dayGridClass=y.default,s={renderHeadIntroHtml:function(){var e,t=this.view,n=t.calendar,r=n.dateEnv,i=this.dateProfile.renderRange.start;return this.opt("weekNumbers")?(e=r.format(i,w),'<th class="fc-axis fc-week-number '+n.theme.getClass("widgetHeader")+'" '+t.axisStyleAttr()+">"+t.buildGotoAnchorHtml({date:i,type:"week",forceOff:this.colCnt>1},d.htmlEscape(e))+"</th>"):'<th class="fc-axis '+n.theme.getClass("widgetHeader")+'" '+t.axisStyleAttr()+"></th>"},renderBgIntroHtml:function(){var e=this.view;return'<td class="fc-axis '+e.calendar.theme.getClass("widgetContent")+'" '+e.axisStyleAttr()+"></td>"},renderIntroHtml:function(){return'<td class="fc-axis" '+this.view.axisStyleAttr()+"></td>"}},l={renderBgIntroHtml:function(){var e=this.view;return'<td class="fc-axis '+e.calendar.theme.getClass("widgetContent")+'" '+e.axisStyleAttr()+"><span>"+e.getAllDayHtml()+"</span></td>"},renderIntroHtml:function(){return'<td class="fc-axis" '+this.view.axisStyleAttr()+"></td>"}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(9),o=n(3),a=n(58),s=n(49),l=n(11),u=n(186),d=n(187),c=n(188),f=n(10),p=n(6),h=n(8),g=n(21),v=n(61),y=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}],m=function(e){function t(t){var n=e.call(this,t)||this;return n.isInteractable=!0,n.doesDragMirror=!0,n.doesDragHighlight=!1,n.slicingType="timed",n.processOptions(),n}return r.__extends(t,e),t.prototype.rangeToSegs=function(e){if(e=l.intersectRanges(e,this.dateProfile.validRange)){var t=this.sliceRangeByTimes(e),n=void 0;for(n=0;n<t.length;n++)this.isRtl?t[n].col=this.daysPerRow-1-t[n].dayIndex:t[n].col=t[n].dayIndex,t[n].component=this;return t}return[]},t.prototype.sliceRangeByTimes=function(e){var t,n,r=[];for(n=0;n<this.daysPerRow;n++)(t=l.intersectRanges(e,this.dayRanges[n]))&&r.push({start:t.start,end:t.end,isStart:t.start.valueOf()===e.start.valueOf(),isEnd:t.end.valueOf()===e.end.valueOf(),dayIndex:n});return r},t.prototype.processOptions=function(){var e,t,n=this.opt("slotDuration"),r=this.opt("snapDuration");n=f.createDuration(n),r=r?f.createDuration(r):n,e=f.wholeDivideDurations(n,r),null===e&&(r=n,e=1),this.slotDuration=n,this.snapDuration=r,this.snapsPerSlot=e,t=this.opt("slotLabelFormat"),Array.isArray(t)&&(t=t[t.length-1]),this.labelFormat=h.createFormatter(t||{hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"}),t=this.opt("slotLabelInterval"),this.labelInterval=t?f.createDuration(t):this.computeLabelInterval(n)},t.prototype.computeLabelInterval=function(e){var t,n,r;for(t=y.length-1;t>=0;t--)if(n=f.createDuration(y[t]),null!==(r=f.wholeDivideDurations(n,e))&&r>1)return n;return e},t.prototype.renderDates=function(){this.updateDayTable(),this.renderSlats(),this.renderColumns()},t.prototype.unrenderDates=function(){this.unrenderColumns()},t.prototype.renderSkeleton=function(){var e=this.getTheme();this.el.innerHTML='<div class="fc-bg"></div><div class="fc-slats"></div><hr class="fc-divider '+e.getClass("widgetHeader")+'" style="display:none" />',this.rootBgContainerEl=this.el.querySelector(".fc-bg"),this.slatContainerEl=this.el.querySelector(".fc-slats"),this.bottomRuleEl=this.el.querySelector(".fc-divider")},t.prototype.renderSlats=function(){var e=this.getTheme();this.slatContainerEl.innerHTML='<table class="'+e.getClass("tableGrid")+'">'+this.renderSlatRowHtml()+"</table>",this.slatEls=o.findElements(this.slatContainerEl,"tr"),this.slatPositions=new s.default(this.el,this.slatEls,!1,!0)},t.prototype.renderSlatRowHtml=function(){for(var e,t,n,r=this.view,o=this.getDateEnv(),a=this.getTheme(),s=this.isRtl,l=this.dateProfile,u="",d=p.startOfDay(l.renderRange.start),c=l.minTime,g=f.createDuration(0);f.asRoughMs(c)<f.asRoughMs(l.maxTime);)e=o.add(d,c),t=null!==f.wholeDivideDurations(g,this.labelInterval),n='<td class="fc-axis fc-time '+a.getClass("widgetContent")+'" '+r.axisStyleAttr()+">"+(t?"<span>"+i.htmlEscape(o.format(e,this.labelFormat))+"</span>":"")+"</td>",u+='<tr data-time="'+h.formatIsoTimeString(e)+'"'+(t?"":' class="fc-minor"')+">"+(s?"":n)+'<td class="'+a.getClass("widgetContent")+'"></td>'+(s?n:"")+"</tr>",c=f.addDurations(c,this.slotDuration),g=f.addDurations(g,this.slotDuration);return u},t.prototype.renderColumns=function(){var e=this.dateProfile,t=this.getTheme(),n=this.getDateEnv();this.dayRanges=this.dayDates.map(function(t){return{start:n.add(t,e.minTime),end:n.add(t,e.maxTime)}}),this.headContainerEl&&(this.headContainerEl.innerHTML=this.renderHeadHtml()),this.rootBgContainerEl.innerHTML='<table class="'+t.getClass("tableGrid")+'">'+this.renderBgTrHtml(0)+"</table>",this.colEls=o.findElements(this.el,".fc-day, .fc-disabled-day"),this.colPositions=new s.default(this.el,this.colEls,!0,!1),this.renderContentSkeleton()},t.prototype.unrenderColumns=function(){this.unrenderContentSkeleton()},t.prototype.renderContentSkeleton=function(){var e,t,n="";for(e=0;e<this.colCnt;e++)n+='<td><div class="fc-content-col"><div class="fc-event-container fc-mirror-container"></div><div class="fc-event-container"></div><div class="fc-highlight-container"></div><div class="fc-bgevent-container"></div><div class="fc-business-container"></div></div></td>';t=this.contentSkeletonEl=o.htmlToElement('<div class="fc-content-skeleton"><table><tr>'+n+"</tr></table></div>"),this.colContainerEls=o.findElements(t,".fc-content-col"),this.mirrorContainerEls=o.findElements(t,".fc-mirror-container"),this.fgContainerEls=o.findElements(t,".fc-event-container:not(.fc-mirror-container)"),this.bgContainerEls=o.findElements(t,".fc-bgevent-container"),this.highlightContainerEls=o.findElements(t,".fc-highlight-container"),this.businessContainerEls=o.findElements(t,".fc-business-container"),this.bookendCells(t.querySelector("tr")),this.el.appendChild(t)},t.prototype.unrenderContentSkeleton=function(){o.removeElement(this.contentSkeletonEl)},t.prototype.groupSegsByCol=function(e){var t,n=[];for(t=0;t<this.colCnt;t++)n.push([]);for(t=0;t<e.length;t++)n[e[t].col].push(e[t]);return n},t.prototype.attachSegsByCol=function(e,t){var n,r,i;for(n=0;n<this.colCnt;n++)for(r=e[n],i=0;i<r.length;i++)t[n].appendChild(r[i].el)},t.prototype.getNowIndicatorUnit=function(){return"minute"},t.prototype.renderNowIndicator=function(e){if(this.colContainerEls){var t,n=this.rangeToSegs({start:e,end:p.addMs(e,1)}),r=this.computeDateTop(e),i=[];for(t=0;t<n.length;t++){var a=o.createElement("div",{className:"fc-now-indicator fc-now-indicator-line"});a.style.top=r+"px",this.colContainerEls[n[t].col].appendChild(a),i.push(a)}if(n.length>0){var s=o.createElement("div",{className:"fc-now-indicator fc-now-indicator-arrow"});s.style.top=r+"px",this.contentSkeletonEl.appendChild(s),i.push(s)}this.nowIndicatorEls=i}},t.prototype.unrenderNowIndicator=function(){this.nowIndicatorEls&&(this.nowIndicatorEls.forEach(o.removeElement),this.nowIndicatorEls=null)},t.prototype.getTotalSlatHeight=function(){return this.slatContainerEl.offsetHeight},t.prototype.computeDateTop=function(e,t){return t||(t=p.startOfDay(e)),this.computeTimeTop(e.valueOf()-t.valueOf())},t.prototype.computeTimeTop=function(e){var t,n,r=this.slatEls.length,i=this.dateProfile,o=(e-f.asRoughMs(i.minTime))/f.asRoughMs(this.slotDuration);return o=Math.max(0,o),o=Math.min(r,o),t=Math.floor(o),t=Math.min(t,r-1),n=o-t,this.slatPositions.tops[t]+this.slatPositions.getHeight(t)*n},t.prototype.computeSegVerticals=function(e){var t,n,r,i=this.opt("agendaEventMinHeight");for(t=0;t<e.length;t++)n=e[t],r=this.dayDates[n.dayIndex],n.top=this.computeDateTop(n.start,r),n.bottom=Math.max(n.top+i,this.computeDateTop(n.end,r))},t.prototype.assignSegVerticals=function(e){var t,n;for(t=0;t<e.length;t++)n=e[t],o.applyStyle(n.el,this.generateSegVerticalCss(n))},t.prototype.generateSegVerticalCss=function(e){return{top:e.top,bottom:-e.bottom}},t.prototype.buildPositionCaches=function(){this.colPositions.build(),this.slatPositions.build()},t.prototype.prepareHits=function(){this.offsetTracker=new v.default(this.el)},t.prototype.releaseHits=function(){this.offsetTracker.destroy()},t.prototype.queryHit=function(e,t){var n=this,r=n.snapsPerSlot,i=n.slatPositions,o=n.colPositions,a=n.offsetTracker;if(a.isWithinClipping(e,t)){var s=a.computeLeft(),l=a.computeTop(),u=o.leftToIndex(e-s),d=i.topToIndex(t-l);if(null!=u&&null!=d){var c=i.tops[d]+l,p=i.getHeight(d),h=(t-c)/p,g=Math.floor(h*r),v=d*r+g,y=this.getCellDate(0,u),m=f.addDurations(this.dateProfile.minTime,f.multiplyDuration(this.snapDuration,v)),E=this.getDateEnv(),S=E.add(y,m);return{component:this,dateSpan:{range:{start:S,end:E.add(S,this.snapDuration)},allDay:!1},dayEl:this.colEls[u],rect:{left:o.lefts[u]+s,right:o.rights[u]+s,top:c,bottom:c+p},layer:0}}}},t.prototype.renderEventResize=function(e,t,n){var r=this.eventRangesToSegs(this.eventStoreToRanges(e,t));this.mirrorRenderer.renderEventResizingSegs(r,n)},t.prototype.unrenderEventResize=function(){this.mirrorRenderer.unrender()},t.prototype.renderDateSelection=function(e){this.opt("selectMirror")?this.mirrorRenderer.renderEventSegs(this.selectionToSegs(e,!0)):this.renderHighlightSegs(this.selectionToSegs(e,!1))},t.prototype.unrenderDateSelection=function(){this.mirrorRenderer.unrender(),this.unrenderHighlight()},t}(g.default);t.default=m,m.prototype.eventRendererClass=u.default,m.prototype.mirrorRendererClass=d.default,m.prototype.fillRendererClass=c.default,a.default.mixInto(m)},function(e,t,n){function r(e,t){var n,r;for(n=0;n<t.length;n++)if(r=t[n],r.leftCol<=e.rightCol&&r.rightCol>=e.leftCol)return!0;return!1}function i(e,t){return e.leftCol-t.leftCol}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(9),s=n(3),l=n(18),u=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.dayGrid=t,r}return o.__extends(t,e),t.prototype.renderBgSegs=function(t){return t=t.filter(function(e){return e.eventRange.def.allDay}),e.prototype.renderBgSegs.call(this,t)},t.prototype.renderFgSegs=function(e){var t=this.rowStructs=this.renderSegRows(e);this.dayGrid.rowEls.forEach(function(e,n){e.querySelector(".fc-content-skeleton > table").appendChild(t[n].tbodyEl)})},t.prototype.unrenderFgSegs=function(){for(var e,t=this.rowStructs||[];e=t.pop();)s.removeElement(e.tbodyEl);this.rowStructs=null},t.prototype.renderSegRows=function(e){var t,n,r=[];for(t=this.groupSegRows(e),n=0;n<t.length;n++)r.push(this.renderSegRow(n,t[n]));return r},t.prototype.renderSegRow=function(e,t){function n(e){for(;o<e;)d=(y[r-1]||[])[o],d?d.rowSpan=(d.rowSpan||1)+1:(d=document.createElement("td"),a.appendChild(d)),v[r][o]=d,y[r][o]=d,o++}var r,i,o,a,l,u,d,c=this.dayGrid.colCnt,f=this.buildSegLevels(t),p=Math.max(1,f.length),h=document.createElement("tbody"),g=[],v=[],y=[];for(r=0;r<p;r++){if(i=f[r],o=0,a=document.createElement("tr"),g.push([]),v.push([]),y.push([]),i)for(l=0;l<i.length;l++){for(u=i[l],n(u.leftCol),d=s.createElement("td",{className:"fc-event-container"},u.el),u.leftCol!==u.rightCol?d.colSpan=u.rightCol-u.leftCol+1:y[r][o]=d;o<=u.rightCol;)v[r][o]=d,g[r][o]=u,o++;a.appendChild(d)}n(c),this.dayGrid.bookendCells(a),h.appendChild(a)}return{row:e,tbodyEl:h,cellMatrix:v,segMatrix:g,segLevels:f,segs:t}},t.prototype.buildSegLevels=function(e){var t,n,o,a=[];for(e=this.sortEventSegs(e),t=0;t<e.length;t++){for(n=e[t],o=0;o<a.length&&r(n,a[o]);o++);n.level=o,(a[o]||(a[o]=[])).push(n)}for(o=0;o<a.length;o++)a[o].sort(i);return a},t.prototype.groupSegRows=function(e){var t,n=[];for(t=0;t<this.dayGrid.rowCnt;t++)n.push([]);for(t=0;t<e.length;t++)n[e[t].row].push(e[t]);return n},t.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"}},t.prototype.computeDisplayEventEnd=function(){return 1===this.dayGrid.colCnt},t.prototype.fgSegHtml=function(e){var t,n,r=e.eventRange,i=r.def,o=r.ui,s=i.allDay,l=o.startEditable,u=s&&e.isStart&&o.durationEditable&&this.opt("eventResizableFromStart"),d=s&&e.isEnd&&o.durationEditable,c=this.getSegClasses(e,l,u||d),f=a.cssToStr(this.getSkinCss(o)),p="";return c.unshift("fc-day-grid-event","fc-h-event"),e.isStart&&(t=this.getTimeText(r))&&(p='<span class="fc-time">'+a.htmlEscape(t)+"</span>"),n='<span class="fc-title">'+(a.htmlEscape(i.title||"")||"&nbsp;")+"</span>",'<a class="'+c.join(" ")+'"'+(i.url?' href="'+a.htmlEscape(i.url)+'"':"")+(f?' style="'+f+'"':"")+'><div class="fc-content">'+(this.component.isRtl?n+" "+p:p+" "+n)+"</div>"+(u?'<div class="fc-resizer fc-start-resizer"></div>':"")+(d?'<div class="fc-resizer fc-end-resizer"></div>':"")+"</a>"},t}(l.default);t.default=u},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(57),o=n(6),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.buildRenderRange=function(t,n,r){var i,a=this._view.calendar.dateEnv,s=e.prototype.buildRenderRange.call(this,t,n,r),l=s.start,u=s.end;return/^(year|month)$/.test(n)&&(l=a.startOfWeek(l),i=a.startOfWeek(u),i.valueOf()!==u.valueOf()&&(u=o.addWeeks(i,1))),{start:l,end:u}},t}(i.default);t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(2),o=n(63),a=n(193),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.setGridHeight=function(e,t){t&&(e*=this.dayGrid.rowCnt/6),i.distributeHeight(this.dayGrid.rowEls,e,!t)},t.prototype.isDateInOtherMonth=function(e,t){var n=this.getDateEnv();return n.getMonth(e)!==n.getMonth(t.currentRange.start)},t}(o.default);t.default=s,s.prototype.dateProfileGeneratorClass=a.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(9),a=n(2),s=n(42),l=n(37),u=n(194),d=n(6),c=n(8),f=n(11),p=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.isInteractable=!0,r.slicingType="all-day",r.fgSegSelector=".fc-list-item",r.scroller=new l.default("hidden","auto"),r}return r.__extends(t,e),t.prototype.renderSkeleton=function(){this.el.classList.add("fc-list-view");var e=this.calendar.theme.getClass("listView");e&&this.el.classList.add(e),this.scroller.applyOverflow(),this.el.appendChild(this.scroller.el),this.contentEl=this.scroller.el},t.prototype.unrenderSkeleton=function(){this.scroller.removeElement()},t.prototype.updateBaseSize=function(e,t){this.scroller.clear(),t||this.scroller.setHeight(this.computeScrollerHeight(e))},t.prototype.computeScrollerHeight=function(e){return e-a.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.renderDates=function(e){for(var t=d.startOfDay(e.renderRange.start),n=e.renderRange.end,r=[],i=[];t<n;)r.push(t),i.push({start:t,end:d.addDays(t,1)}),t=d.addDays(t,1);this.dayDates=r,this.dayRanges=i},t.prototype.rangeToSegs=function(e,t){var n,r,i,o=this.getDateEnv(),a=this.dayRanges,s=[];for(n=0;n<a.length;n++)if((r=f.intersectRanges(e,a[n]))&&(i={component:this,start:r.start,end:r.end,isStart:r.start.valueOf()===e.start.valueOf(),isEnd:r.end.valueOf()===e.end.valueOf(),dayIndex:n},s.push(i),!i.isEnd&&!t&&n+1<a.length&&e.end<o.add(a[n+1].start,this.nextDayThreshold))){i.end=e.end,i.isEnd=!0;break}return s},t.prototype.renderEmptyMessage=function(){this.contentEl.innerHTML='<div class="fc-list-empty-wrap2"><div class="fc-list-empty-wrap1"><div class="fc-list-empty">'+o.htmlEscape(this.opt("noEventsMessage"))+"</div></div></div>"},t.prototype.renderSegList=function(e){var t,n,r,o=this.groupSegsByDay(e),a=i.htmlToElement('<table class="fc-list-table '+this.calendar.theme.getClass("tableList")+'"><tbody></tbody></table>'),s=a.querySelector("tbody");for(t=0;t<o.length;t++)if(n=o[t])for(s.appendChild(this.buildDayHeaderRow(this.dayDates[t])),n=this.eventRenderer.sortEventSegs(n),r=0;r<n.length;r++)s.appendChild(n[r].el);this.contentEl.innerHTML="",this.contentEl.appendChild(a)},t.prototype.groupSegsByDay=function(e){var t,n,r=[];for(t=0;t<e.length;t++)n=e[t],(r[n.dayIndex]||(r[n.dayIndex]=[])).push(n);return r},t.prototype.buildDayHeaderRow=function(e){var t=this.getDateEnv(),n=c.createFormatter(this.opt("listDayFormat")),r=c.createFormatter(this.opt("listDayAltFormat"));return i.createElement("tr",{className:"fc-list-heading","data-date":t.formatIso(e,{omitTime:!0})},'<td class="'+(this.calendar.theme.getClass("tableListHeading")||this.calendar.theme.getClass("widgetHeader"))+'" colspan="3">'+(n?this.buildGotoAnchorHtml(e,{class:"fc-list-heading-main"},o.htmlEscape(t.format(e,n))):"")+(r?this.buildGotoAnchorHtml(e,{class:"fc-list-heading-alt"},o.htmlEscape(t.format(e,r))):"")+"</td>")},t}(s.default);t.default=p,p.prototype.eventRendererClass=u.default},function(e,t,n){function r(e,t,n){var r=l.parseEventDef(t.leftoverProps,t.sourceId,e.allDay,Boolean(t.duration),n),i=e.range.start;e.allDay&&t.time&&(i=n.dateEnv.add(i,t.time));var o=t.duration?n.dateEnv.add(i,t.duration):n.getDefaultEventEnd(e.allDay,i);return{def:r,instance:l.createEventInstance(r.defId,{start:i,end:o})}}function i(e){var t=o(e,"event"),n=t?JSON.parse(t):{create:!1};return c.parseDragMeta(n)}function o(e,t){var n=d.dataAttrPrefix,r=(n?n+"-":"")+t;return e.getAttribute("data-"+r)||""}Object.defineProperty(t,"__esModule",{value:!0});var a=n(31),s=n(53),l=n(29),u=n(14),d=n(25),c=n(196),f=n(15),p=n(3),h=n(2),g=n(39),v=function(){function e(e,t){var n=this;this.receivingCalendar=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){n.dragMeta=n.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,i){var o=n.hitDragging.dragging,a=null,s=null,l=!1;e&&(a=e.component.getCalendar(),n.canDropElOnCalendar(i.subjectEl,a)&&(s=r(e.dateSpan,n.dragMeta,a),(l=n.dragMeta.create?!g.isEventsValid(u.eventTupleToStore(s),a):!g.isSelectionValid(g.eventToDateSpan(s.def,s.instance),a))&&(s=null)));var d=s?u.eventTupleToStore(s):u.createEmptyEventStore();n.displayDrag(a,{affectedEvents:u.createEmptyEventStore(),mutatedEvents:d,isEvent:n.dragMeta.create,origSeg:null}),o.setMirrorIsVisible(t||!s||!document.querySelector(".fc-mirror")),l?h.disableCursor():h.enableCursor(),t||(o.setMirrorNeedsRevert(!s),n.receivingCalendar=a,n.droppableEvent=s)},this.handleDragEnd=function(e){var t=n,r=t.receivingCalendar,i=t.droppableEvent;if(n.clearDrag(),r&&i){var o=n.hitDragging.finalHit,a=o.component.view,s=n.dragMeta;r.publiclyTrigger("drop",[{draggedEl:e.subjectEl,date:r.dateEnv.toDate(o.dateSpan.range.start),allDay:o.dateSpan.allDay,jsEvent:e.origEvent,view:a}]),s.create&&(r.dispatch({type:"MERGE_EVENTS",eventStore:u.eventTupleToStore(i)}),e.isTouch&&r.dispatch({type:"SELECT_EVENT",eventInstanceId:i.instance.instanceId}),r.publiclyTrigger("eventReceive",[{draggedEl:e.subjectEl,event:new f.default(r,i.def,i.instance),view:a}]))}n.receivingCalendar=null,n.droppableEvent=null};var i=this.hitDragging=new a.default(e,s.default.componentHash);i.requireInitial=!1,i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}return e.prototype.buildDragMeta=function(e){return"object"==typeof this.suppliedDragMeta?c.parseDragMeta(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?c.parseDragMeta(this.suppliedDragMeta(e)):i(e)},e.prototype.displayDrag=function(e,t){var n=this.receivingCalendar;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},e.prototype.clearDrag=function(){this.receivingCalendar&&this.receivingCalendar.dispatch({type:"UNSET_EVENT_DRAG"})},e.prototype.canDropElOnCalendar=function(e,t){var n=t.opt("dropAccept");return"function"==typeof n?n(e):"string"!=typeof n||!n||Boolean(p.elementMatches(e,n))},e}();t.default=v,d.dataAttrPrefix=""},,,,,,,,,,,,function(e,t,n){var r=n(25);n(200),n(203),n(204),n(205),n(206),n(207),n(209),n(210),e.exports=r},function(e,t,n){function r(){return null===s&&(s=i()),s}function i(){var e=a.createElement("div",{style:{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}},"<div></div>");document.body.appendChild(e);var t=e.firstChild,n=t.getBoundingClientRect().left>e.getBoundingClientRect().left;return a.removeElement(e),n}function o(e){return e=Math.max(0,e),e=Math.round(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=null;t.getIsRtlScrollbarOnLeft=r,t.sanitizeScrollbarWidth=o},function(e,t,n){function r(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return h.formatTimeZoneOffset(e.timeZoneOffset)}:0===r&&t.week?function(e){return l(n.computeWeekNumber(e.marker),n.weekLabel,n.locale,t.week)}:i(e,t,n)}function i(e,t,n){e=f.assignTo({},e),t=f.assignTo({},t),o(e,t),e.timeZone="UTC";var r,i=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var s=f.assignTo({},e);delete s.minute,r=new Intl.DateTimeFormat(n.locale.codes,s)}return function(o){var s,l=o.marker;return s=r&&!l.getUTCMinutes()?r:i,a(s.format(l),o,e,t,n)}}function o(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}function a(e,t,n,r,i){return e=e.replace(b,""),"short"===n.timeZoneName&&(e=s(e,"UTC"===i.timeZone||null==t.timeZoneOffset?"UTC":h.formatTimeZoneOffset(t.timeZoneOffset))),r.omitCommas&&(e=e.replace(E,"").trim()),r.omitZeroMinute&&(e=e.replace(":00","")),!1===r.meridiem?e=e.replace(m,"").trim():"narrow"===r.meridiem?e=e.replace(m,function(e,t){return t.toLocaleLowerCase()}):"short"===r.meridiem?e=e.replace(m,function(e,t){return t.toLocaleLowerCase()+"m"}):"lowercase"===r.meridiem&&(e=e.replace(m,function(e){return e.toLocaleLowerCase()})),e=e.replace(S," "),e=e.trim()}function s(e,t){var n=!1;return e=e.replace(D,function(){return n=!0,t}),n||(e+=" "+t),e}function l(e,t,n,r){var i=[];return"narrow"===r?i.push(t):"short"===r&&i.push(t," "),i.push(n.simpleNumberFormat.format(e)),n.options.isRtl&&i.reverse(),i.join("")}function u(e,t,n){return n.getMarkerYear(e)!==n.getMarkerYear(t)?5:n.getMarkerMonth(e)!==n.getMarkerMonth(t)?4:n.getMarkerDay(e)!==n.getMarkerDay(t)?2:p.timeAsMs(e)!==p.timeAsMs(t)?1:0}function d(e,t){var n={};for(var r in e)r in y&&!(y[r]<=t)||(n[r]=e[r]);return n}function c(e,t,n,r){for(var i=0;i<e.length;){var o=e.indexOf(t,i);if(-1===o)break;var a=e.substr(0,o);i=o+t.length;for(var s=e.substr(i),l=0;l<n.length;){var u=n.indexOf(r,l);if(-1===u)break;var d=n.substr(0,u);l=u+r.length;var c=n.substr(l);if(a===d&&s===c)return{before:a,after:s}}}return null}Object.defineProperty(t,"__esModule",{value:!0});var f=n(4),p=n(6),h=n(8),g=n(51),v={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},y={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},m=/\s*([ap])\.?m\.?/i,E=/,/g,S=/\s+/g,b=/\u200e/g,D=/UTC|GMT/,w=function(){function e(e){var t={},n={},i=0;for(var o in e)o in v?(n[o]=e[o],i=Math.max(v[o],i)):(t[o]=e[o],o in y&&(i=Math.max(y[o],i)));this.standardDateProps=t,this.extendedSettings=n,this.severity=i,this.buildFormattingFunc=g.default(r)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n){var i=this,o=i.standardDateProps,a=i.extendedSettings,s=u(e.marker,t.marker,n.calendarSystem);if(!s)return this.format(e,n);var l=s;!(l>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(l=1)
;var f=this.format(e,n),p=this.format(t,n);if(f===p)return f;var h=d(o,l),g=r(h,a,n),v=g(e),y=g(t),m=c(f,v,p,y),E=a.separator||"";return m?m.before+v+E+y+m.after:f+E+p},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";default:return"day"}},e}();t.NativeFormatter=w},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(8),i=function(){function e(e){this.func=e}return e.prototype.format=function(e,t){return this.func(r.createVerboseFormattingArg(e,null,t))},e.prototype.formatRange=function(e,t,n){return this.func(r.createVerboseFormattingArg(e,t,n))},e}();t.FuncFormatter=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(30),i=n(31),o=function(){function e(e){var t=this;this.handlePointerDown=function(e){var n=t.dragging;n.setIgnoreMove(!t.component.isValidDateDownEl(n.pointer.downEl))},this.handleDragEnd=function(e){var n=t.component;if(!t.dragging.pointer.wasTouchScroll){var r=t.hitDragging,o=r.initialHit,a=r.finalHit;o&&a&&i.isHitsEqual(o,a)&&n.getCalendar().triggerDayClick(o.dateSpan,o.dayEl,n.view,e.origEvent)}},this.component=e,this.dragging=new r.default(e.el),this.dragging.autoScroller.isEnabled=!1;var n=this.hitDragging=new i.default(this.dragging,e);n.emitter.on("pointerdown",this.handlePointerDown),n.emitter.on("dragend",this.handleDragEnd)}return e.prototype.destroy=function(){this.dragging.destroy()},e}();t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(19),o=function(){function e(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return e.prototype.start=function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},e.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},e.prototype.setIsVisible=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)},e.prototype.stop=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)},e.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,o=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",r.applyStyle(n,{left:o.left,top:o.top}),i.whenTransitionDone(n,function(){n.style.transition="",e()})},e.prototype.cleanup=function(){this.mirrorEl&&(r.removeElement(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&r.applyStyle(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},e.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||(t=this.mirrorEl=this.sourceEl.cloneNode(!0),t.classList.add("fc-unselectable"),t.classList.add("fc-dragging"),r.applyStyle(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},e}();t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(142),i="function"==typeof performance?performance.now:Date.now,o=function(){function e(){var e=this;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(e.isAnimating){var t=e.computeBestEdge(e.pointerScreenX+window.pageXOffset,e.pointerScreenY+window.pageYOffset);if(t){var n=i();e.handleSide(t,(n-e.msSinceRequest)/1e3),e.requestAnimation(n)}else e.isAnimating=!1}}}return e.prototype.start=function(e,t){this.isEnabled&&(this.scrollCaches=this.buildCaches(),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))},e.prototype.handleMove=function(e,t){if(this.isEnabled){var n=e-window.pageXOffset,r=t-window.pageYOffset,o=null===this.pointerScreenY?0:r-this.pointerScreenY,a=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),a<0?this.everMovedLeft=!0:o>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(i()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}this.scrollCaches=null}},e.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},e.prototype.handleSide=function(e,t){var n=e.scrollCache,r=this.edgeThreshold,i=r-e.distance,o=i*i/(r*r)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+o*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+o*a)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,i=0,o=this.scrollCaches;i<o.length;i++){var a=o[i],s=a.clientRect,l=e-s.left,u=s.right-e,d=t-s.top,c=s.bottom-t;l>=0&&u>=0&&d>=0&&c>=0&&(d<=n&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"top",distance:d}),c<=n&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>c)&&(r={scrollCache:a,name:"bottom",distance:c}),l<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>l)&&(r={scrollCache:a,name:"left",distance:l}),u<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"right",distance:u}))}return r},e.prototype.buildCaches=function(){return this.queryScrollEls().map(function(e){return e===window?new r.WindowScrollGeomCache(!1):new r.ElementScrollGeomCache(e,!1)})},e.prototype.queryScrollEls=function(){for(var e=[],t=0,n=this.scrollQuery;t<n.length;t++){var r=n[t];"object"==typeof r?e.push(r):e.push.apply(e,Array.prototype.slice.call(document.querySelectorAll(r)))}return e},e}();t.default=o},function(e,t,n){function r(e){var t=e.opt("selectLongPressDelay");return null==t&&(t=e.opt("longPressDelay")),t}function i(e,t){var n=[e.range.start,e.range.end,t.range.start,t.range.end];return n.sort(o.compareNumbers),{range:{start:n[0],end:n[3]},allDay:e.allDay}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),a=n(31),s=n(30),l=function(){function e(e){var t=this;this.dragSelection=null,this.handlePointerDown=function(e){var n=t,i=n.component,o=n.dragging,a=i.opt("selectable")&&i.isValidDateDownEl(e.origEvent.target);o.setIgnoreMove(!a),o.delay=e.isTouch?r(i):null},this.handleDragStart=function(e){t.component.getCalendar().unselect(e)},this.handleHitUpdate=function(e,n){var r=t.component.getCalendar(),a=null,s=!1;e&&(a=i(t.hitDragging.initialHit.dateSpan,e.dateSpan),t.component.isSelectionValid(a)||(s=!0,a=null)),a?r.dispatch({type:"SELECT_DATES",selection:a}):n||r.dispatch({type:"UNSELECT_DATES"}),s?o.disableCursor():o.enableCursor(),n||(t.dragSelection=a)},this.handlePointerUp=function(e){t.dragSelection&&(t.component.getCalendar().triggerDateSelect(t.dragSelection,e),t.dragSelection=null)},this.component=e;var n=this.dragging=new s.default(e.el);n.touchScrollAllowed=!1,n.minDistance=e.opt("selectMinDistance")||0,n.autoScroller.isEnabled=e.opt("dragScroll");var l=this.hitDragging=new a.default(this.dragging,e);l.emitter.on("pointerdown",this.handlePointerDown),l.emitter.on("dragstart",this.handleDragStart),l.emitter.on("hitupdate",this.handleHitUpdate),l.emitter.on("pointerup",this.handlePointerUp)}return e.prototype.destroy=function(){this.dragging.destroy()},e}();t.default=l},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),i=n(18),o=n(15),a=n(3),s=function(){function e(e){var t=this;this.handleSegClick=function(e,n){var r=t.component,s=i.getElSeg(n);if(r.isValidSegDownEl(e.target)){var l=a.elementClosest(e.target,".fc-has-url"),u=l?l.querySelector("a[href]").href:"";r.publiclyTrigger("eventClick",[{el:n,event:new o.default(r.getCalendar(),s.eventRange.def,s.eventRange.instance),jsEvent:e,view:r.view}]),u&&!e.defaultPrevented&&(window.location.href=u)}},this.component=e,this.destroy=r.listenBySelector(e.el,"click",e.fgSegSelector+","+e.bgSegSelector,this.handleSegClick)}return e}();t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),i=n(18),o=n(15),a=function(){function e(e){var t=this;this.handleEventElRemove=function(e){e===t.currentSegEl&&t.handleSegLeave(null,t.currentSegEl)},this.handleSegEnter=function(e,n){i.getElSeg(n)&&(n.classList.add("fc-allow-mouse-resize"),t.currentSegEl=n,t.triggerEvent("eventMouseEnter",e,n))},this.handleSegLeave=function(e,n){t.currentSegEl&&(n.classList.remove("fc-allow-mouse-resize"),t.currentSegEl=null,t.triggerEvent("eventMouseLeave",e,n))},this.component=e,this.removeHoverListeners=r.listenToHoverBySelector(e.el,e.fgSegSelector+","+e.bgSegSelector,this.handleSegEnter,this.handleSegLeave),e.emitter.on("eventElRemove",this.handleEventElRemove)}return e.prototype.destroy=function(){this.removeHoverListeners(),this.component.emitter.off("eventElRemove",this.handleEventElRemove)},e.prototype.triggerEvent=function(e,t,n){var r=this.component,a=i.getElSeg(n);t&&!r.isValidSegDownEl(t.target)||r.publiclyTrigger(e,[{el:n,event:new o.default(this.component.getCalendar(),a.eventRange.def,a.eventRange.instance),jsEvent:t,view:r.view}])},e}();t.default=a},function(e,t,n){function r(e,t,n,r){var i=e.component.getDateEnv(),o=e.dateSpan.range.start,a=t.dateSpan.range.start,s=d.diffDates(o,a,i,e.component.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}Object.defineProperty(t,"__esModule",{value:!0});var i=n(31),o=n(55),a=n(3),s=n(30),l=n(18),u=n(14),d=n(2),c=n(15),f=n(10),p=function(){function e(e){var t=this;this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=function(e){var n=t.querySeg(e),r=t.eventRange=n.eventRange;t.dragging.minDistance=5,t.dragging.setIgnoreMove(!t.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&t.component.eventSelection!==r.instance.instanceId)},this.handleDragStart=function(e){var n=t.component.getCalendar(),r=t.eventRange;t.relevantEvents=u.getRelevantEvents(n.state.eventStore,t.eventRange.instance.instanceId),t.draggingSeg=t.querySeg(e),n.unselect(),n.publiclyTrigger("eventResizeStart",[{el:t.draggingSeg.el,event:new c.default(n,r.def,r.instance),jsEvent:e.origEvent,view:t.component.view}])},this.handleHitUpdate=function(e,n,a){var s=t.component.getCalendar(),l=t.relevantEvents,u=t.hitDragging.initialHit,c=t.eventRange.instance,f=null,p=null,h=!1;e&&(f=r(u,e,a.subjectEl.classList.contains("fc-start-resizer"),c.range)),f&&(p=o.applyMutationToEventStore(l,f,s),t.component.isEventsValid(p)||(h=!0,f=null,p=null)),p?s.dispatch({type:"SET_EVENT_RESIZE",state:{affectedEvents:l,mutatedEvents:p,isEvent:!0,origSeg:t.draggingSeg}}):s.dispatch({type:"UNSET_EVENT_RESIZE"}),h?d.disableCursor():d.enableCursor(),n||(f&&i.isHitsEqual(u,e)&&(f=null),t.validMutation=f,t.mutatedRelevantEvents=p)},this.handleDragEnd=function(e){var n=t.component.getCalendar(),r=t.component.view,i=t.eventRange.def,o=t.eventRange.instance,a=new c.default(n,i,o),s=t.relevantEvents,l=t.mutatedRelevantEvents;n.publiclyTrigger("eventResizeStop",[{el:t.draggingSeg.el,event:a,jsEvent:e.origEvent,view:r}]),t.validMutation?(n.dispatch({type:"MERGE_EVENTS",eventStore:l}),n.publiclyTrigger("eventResize",[{el:t.draggingSeg.el,startDelta:t.validMutation.startDelta||f.createDuration(0),endDelta:t.validMutation.endDelta||f.createDuration(0),prevEvent:a,event:new c.default(n,l.defs[i.defId],o?l.instances[o.instanceId]:null),revert:function(){n.dispatch({type:"MERGE_EVENTS",eventStore:s})},jsEvent:e.origEvent,view:r}])):n.publiclyTrigger("_noEventResize"),t.draggingSeg=null,t.relevantEvents=null,t.validMutation=null},this.component=e;var n=this.dragging=new s.default(e.el);n.pointer.selector=".fc-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=e.opt("dragScroll");var a=this.hitDragging=new i.default(this.dragging,e);a.emitter.on("pointerdown",this.handlePointerDown),a.emitter.on("dragstart",this.handleDragStart),a.emitter.on("hitupdate",this.handleHitUpdate),a.emitter.on("dragend",this.handleDragEnd)}return e.prototype.destroy=function(){this.dragging.destroy()},e.prototype.querySeg=function(e){return l.getElSeg(a.elementClosest(e.subjectEl,this.component.fgSegSelector))},e}();t.default=p},function(e,t,n){function r(e,t,n,r,i,o,a){return new g.DateEnv({calendarSystem:"gregory",timeZone:t,timeZoneImpl:n,locale:h.getLocale(e),weekNumberCalculation:i,firstDay:r,weekLabel:o,cmdFormatter:a})}function i(e){return new(p.getThemeSystemClass(e.themeSystem||e.theme))(e)}function o(e){var t=this.tryRerender.bind(this);return null!=e&&(t=u.debounce(t,e)),t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(3),s=n(13),l=n(19),u=n(2),d=n(20),c=n(176),f=n(177),p=n(48),h=n(41),g=n(56),v=n(6),y=n(8),m=n(10),E=n(179),S=n(50),b=n(51),D=n(4),w=n(11),T=n(22),C=n(29),R=n(141),M=n(15),H=n(14),I=n(28),_=n(182),O=n(40),P=n(143),k=n(183),x=n(25),N=function(){function e(e,t){var n=this;this.isRecentPointerDateSelect=!1,this.ignoreUpdateViewSize=0,this.actionQueue=[],this.isReducing=!1,this.isDisplaying=!1,this.isRendering=!1,this.isSkeletonRendered=!1,this.renderingPauseDepth=0,this.afterSizingTriggers={},this.onDocumentPointerUp=function(e){var t=n,r=t.state,i=t.view,o=t.documentPointer;if(!o.wasTouchScroll){if(r.dateSelection&&!n.isRecentPointerDateSelect){var s=i.opt("unselectAuto"),l=i.opt("unselectCancel");!s||s&&a.elementClosest(o.downEl,l)||n.unselect(e)}r.eventSelection&&!a.elementClosest(o.downEl,P.default.SELECTOR)&&n.dispatch({type:"UNSELECT_EVENT"})}n.isRecentPointerDateSelect=!1},this.el=e,this.viewsByType={},this.optionsManager=new f.default(t),this.buildDateEnv=b.default(r),this.buildTheme=b.default(i),this.buildDelayedRerender=b.default(o),this.computeEventDefUis=b.default(I.computeEventDefUis),this.parseBusinessHours=b.default(function(e){return _.parseBusinessHours(e,n)}),this.handleOptions(this.optionsManager.computed),this.hydrate()}return e.prototype.getView=function(){return this.view},e.prototype.render=function(){this.isDisplaying?this.elementVisible()&&(this.calcSize(),this.requestRerender(!0)):(this.isDisplaying=!0,this.renderableEventStore=H.createEmptyEventStore(),this.bindGlobalHandlers(),this.el.classList.add("fc"),this._render())},e.prototype.destroy=function(){this.isDisplaying&&(this.isDisplaying=!1,this.unbindGlobalHandlers(),this._destroy(),this.el.classList.remove("fc"))},e.prototype._render=function(){var e=this.rerenderFlags;this.rerenderFlags=null,this.isRendering=!0,this.applyElClassNames(),this.isSkeletonRendered||(this.renderSkeleton(),this.isSkeletonRendered=!0),this.freezeContentHeight(),this.renderView(e),this.view&&this.renderToolbars(e),this.updateViewSize()&&this.renderedView.popScroll(),this.thawContentHeight(),this.releaseAfterSizingTriggers(),this.isRendering=!1,this.trigger("_rendered"),this.rerenderFlags&&this.delayedRerender()},e.prototype._destroy=function(){this.view=null,this.renderedView&&(this.renderedView.removeElement(),this.renderedView=null),this.header&&(this.header.removeElement(),this.header=null),this.footer&&(this.footer.removeElement(),this.footer=null),this.unrenderSkeleton(),this.isSkeletonRendered=!1,this.removeElClassNames()},e.prototype.smash=function(){var e=this;this.batchRendering(function(){var t=e.view;if(t){e.viewsByType={},e.view=e.getViewByType(t.type),e.setCurrentDateMarker(e.state.dateProfile.currentDate);var n=t.queryScroll();n.isLocked=!0,e.view.addScroll(n)}e.requestRerender(!0)})},e.prototype.applyElClassNames=function(){var e=this.el.classList,t="fc-"+this.opt("dir"),n=this.theme.getClass("widget");t!==this.elDirClassName&&(this.elDirClassName&&e.remove(this.elDirClassName),e.add(t),this.elDirClassName=t),n!==this.elThemeClassName&&(this.elThemeClassName&&e.remove(this.elThemeClassName),e.add(n),this.elThemeClassName=n)},e.prototype.removeElClassNames=function(){var e=this.el.classList;this.elDirClassName&&(e.remove(this.elDirClassName),this.elDirClassName=null),this.elThemeClassName&&(e.remove(this.elThemeClassName),this.elThemeClassName=null)},e.prototype.renderSkeleton=function(){var e=this;a.prependToElement(this.el,this.contentEl=a.createElement("div",{className:"fc-view-container"})),this.removeNavLinkListener=l.listenBySelector(this.el,"click","a[data-goto]",function(t,n){var r=n.getAttribute("data-goto");r=r?JSON.parse(r):{};var i=e.dateEnv.createMarker(r.date),o=r.type,a=e.renderedView.opt("navLink"+u.capitaliseFirstLetter(o)+"Click");"function"==typeof a?a(i,t):("string"==typeof a&&(o=a),e.zoomTo(i,o))})},e.prototype.unrenderSkeleton=function(){a.removeElement(this.contentEl),this.removeNavLinkListener()},e.prototype.bindGlobalHandlers=function(){var e=this.documentPointer=new O.default(document);e.shouldIgnoreMove=!0,e.shouldWatchScroll=!1,e.emitter.on("pointerup",this.onDocumentPointerUp),this.opt("handleWindowResize")&&window.addEventListener("resize",this.windowResizeProxy=u.debounce(this.windowResize.bind(this),this.opt("windowResizeDelay")))},e.prototype.unbindGlobalHandlers=function(){this.documentPointer.destroy(),this.windowResizeProxy&&(window.removeEventListener("resize",this.windowResizeProxy),this.windowResizeProxy=null)},e.prototype.hydrate=function(){this.state=this.buildInitialState();var e=this.opt("eventSources")||[],t=this.opt("events"),n=[];t&&e.unshift(t);for(var r=0,i=e;r<i.length;r++){var o=i[r],a=T.parseEventSource(o,this);a&&n.push(a)}this.dispatch({type:"ADD_EVENT_SOURCES",sources:n}),this.setViewType(this.opt("defaultView"),this.getInitialDate())},e.prototype.buildInitialState=function(){return{loadingLevel:0,eventSourceLoadingLevel:0,dateProfile:null,eventSources:{},eventStore:H.createEmptyEventStore(),eventUis:{},businessHours:H.createEmptyEventStore(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null}},e.prototype.dispatch=function(e){if(this.actionQueue.push(e),!this.isReducing){this.isReducing=!0;for(var t=this.state;this.actionQueue.length;)this.state=this.reduce(this.state,this.actionQueue.shift(),this);var n=this.state;this.isReducing=!1,!t.loadingLevel&&n.loadingLevel?this.publiclyTrigger("loading",[!0,this.view]):t.loadingLevel&&!n.loadingLevel&&this.publiclyTrigger("loading",[!1,this.view]),this.requestRerender()}},e.prototype.reduce=function(e,t,n){return E.default(e,t,n)},e.prototype.requestRerender=function(e){void 0===e&&(e={}),!0!==e&&this.rerenderFlags?D.assignTo(this.rerenderFlags,e):this.rerenderFlags=e,this.delayedRerender()},e.prototype.tryRerender=function(){this.isDisplaying&&this.rerenderFlags&&!this.renderingPauseDepth&&!this.isRendering&&this._render()},e.prototype.batchRendering=function(e){this.renderingPauseDepth++,e(),this.renderingPauseDepth--,this.requestRerender()},e.prototype.setOption=function(e,t){var n=this.dateEnv;this.optionsManager.add(e,t),this.handleOptions(this.optionsManager.computed),"height"===e||"contentHeight"===e||"aspectRatio"===e?this.updateSize():"timeZone"===e?this.dispatch({type:"CHANGE_TIMEZONE",oldDateEnv:n}):"defaultDate"===e||/^(event|select)(Overlap|Constraint|Allow)$/.test(e)||this.smash()},e.prototype.getOption=function(e){return this.optionsManager.computed[e]},e.prototype.opt=function(e){return this.optionsManager.computed[e]},e.prototype.handleOptions=function(e){this.defaultAllDayEventDuration=m.createDuration(e.defaultAllDayEventDuration),this.defaultTimedEventDuration=m.createDuration(e.defaultTimedEventDuration),this.delayedRerender=this.buildDelayedRerender(e.rerenderDelay),this.theme=this.buildTheme(e),this.dateEnv=this.buildDateEnv(e.locale,e.timeZone,e.timeZoneImpl,e.firstDay,e.weekNumberCalculation,e.weekLabel,e.cmdFormatter),this.viewSpecs=k.buildViewSpecs(x.views,this.optionsManager)},e.prototype.hasPublicHandlers=function(e){return this.hasHandlers(e)||this.opt(e)},e.prototype.publiclyTrigger=function(e,t){var n=this.opt(e);if(this.triggerWith(e,this,t),n)return n.apply(this,t)},e.prototype.publiclyTriggerAfterSizing=function(e,t){var n=this.afterSizingTriggers;(n[e]||(n[e]=[])).push(t)},e.prototype.releaseAfterSizingTriggers=function(){var e=this.afterSizingTriggers;for(var t in e)for(var n=0,r=e[t];n<r.length;n++){var i=r[n];this.publiclyTrigger(t,i)}this.afterSizingTriggers={}},e.prototype.renderView=function(e){var t=this,n=t.state,r=t.renderedView;r!==this.view&&(r&&r.removeElement(),r=this.renderedView=this.view),r.el?r.bindGlobalHandlers():r.setElement(a.createElement("div",{className:"fc-view fc-"+r.type+"-view"})),r.el.parentNode?r.addScroll(r.queryScroll()):this.contentEl.appendChild(r.el);var i=this.renderableEventStore=n.eventSourceLoadingLevel&&!this.opt("progressiveEventRendering")?this.renderableEventStore:n.eventStore,o=this.state.eventUis=this.computeEventDefUis(i.defs,n.eventSources,r.options);r.render({dateProfile:n.dateProfile,eventStore:i,eventUis:o,businessHours:this.parseBusinessHours(r.opt("businessHours")),dateSelection:n.dateSelection,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize},e)},e.prototype.getViewByType=function(e){return this.viewsByType[e]||(this.viewsByType[e]=this.instantiateView(e))},e.prototype.instantiateView=function(e){var t=this.viewSpecs[e];if(!t)throw new Error('View type "'+e+'" is not valid');return new t.class(this,t)},e.prototype.isValidViewType=function(e){return Boolean(this.viewSpecs[e])},e.prototype.changeView=function(e,t){var n=null;t&&(t.start&&t.end?(this.optionsManager.add("visibleRange",t),this.handleOptions(this.optionsManager.computed)):n=this.dateEnv.createMarker(t)),this.setViewType(e,n)},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.viewSpecs[t]||this.getUnitViewSpec(t),n?this.setViewType(n.type,e):this.setCurrentDateMarker(e)},e.prototype.getUnitViewSpec=function(e){var t,n,r;t=this.header.getViewsWithButtons();for(var i in this.viewSpecs)t.push(i);for(n=0;n<t.length;n++)if((r=this.viewSpecs[t[n]])&&r.singleUnit===e)return r},e.prototype.setViewType=function(e,t){this.view&&this.view.type===e||(this.view=this.getViewByType(e),this.setCurrentDateMarker(t||this.state.dateProfile.currentDate))},e.prototype.getInitialDate=function(){var e=this.opt("defaultDate");return null!=e?this.dateEnv.createMarker(e):this.getNow()},e.prototype.prev=function(){this.setDateProfile(this.view.dateProfileGenerator.buildPrev(this.state.dateProfile))},e.prototype.next=function(){this.setDateProfile(this.view.dateProfileGenerator.buildNext(this.state.dateProfile))},e.prototype.prevYear=function(){this.setCurrentDateMarker(this.dateEnv.addYears(this.state.dateProfile.currentDate,-1))},e.prototype.nextYear=function(){this.setCurrentDateMarker(this.dateEnv.addYears(this.state.dateProfile.currentDate,1))},e.prototype.today=function(){this.setCurrentDateMarker(this.getNow())},e.prototype.gotoDate=function(e){this.setCurrentDateMarker(this.dateEnv.createMarker(e))},e.prototype.incrementDate=function(e){var t=m.createDuration(e);t&&this.setCurrentDateMarker(this.dateEnv.add(this.state.dateProfile.currentDate,t))},e.prototype.getDate=function(){return this.dateEnv.toDate(this.state.dateProfile.currentDate)},e.prototype.setCurrentDateMarker=function(e){this.setDateProfile(this.view.computeDateProfile(e))},e.prototype.setDateProfile=function(e){this.unselect(),this.dispatch({type:"SET_DATE_PROFILE",dateProfile:e})},e.prototype.formatDate=function(e,t){var n=this.dateEnv;return n.format(n.createMarker(e),y.createFormatter(t))},e.prototype.formatRange=function(e,t,n){var r=this.dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),y.createFormatter(n,this.opt("defaultRangeSeparator")),n)},e.prototype.formatIso=function(e,t){var n=this.dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.updateSize=function(){this.updateViewSize(!0)},e.prototype.getSuggestedViewHeight=function(){return null==this.suggestedViewHeight&&this.calcSize(),this.suggestedViewHeight},e.prototype.isHeightAuto=function(){return"auto"===this.opt("contentHeight")||"auto"===this.opt("height")},e.prototype.updateViewSize=function(e){void 0===e&&(e=!1);var t,n=this.renderedView;if(!this.ignoreUpdateViewSize&&n)return e&&(this.calcSize(),t=n.queryScroll()),this.ignoreUpdateViewSize++,n.updateSize(this.getSuggestedViewHeight(),this.isHeightAuto(),e),this.ignoreUpdateViewSize--,e&&n.applyScroll(t),!0},e.prototype.calcSize=function(){this.elementVisible()&&this._calcSize()},e.prototype._calcSize=function(){var e=this.opt("contentHeight"),t=this.opt("height");this.suggestedViewHeight="number"==typeof e?e:"function"==typeof e?e():"number"==typeof t?t-this.queryToolbarsHeight():"function"==typeof t?t()-this.queryToolbarsHeight():"parent"===t?this.el.parentNode.offsetHeight-this.queryToolbarsHeight():Math.round(this.contentEl.offsetWidth/Math.max(this.opt("aspectRatio"),.5))},e.prototype.elementVisible=function(){return Boolean(this.el.offsetWidth)},e.prototype.windowResize=function(e){e.target===window&&this.renderedView&&this.renderedView.renderedFlags.dates&&this.updateViewSize(!0)&&this.publiclyTrigger("windowResize",[this.renderedView])},e.prototype.freezeContentHeight=function(){a.applyStyle(this.contentEl,{width:"100%",height:this.contentEl.offsetHeight,overflow:"hidden"})},e.prototype.thawContentHeight=function(){a.applyStyle(this.contentEl,{width:"",height:"",overflow:""})},e.prototype.renderToolbars=function(e){var t=this.opt("header"),n=this.opt("footer"),r=this.getNow(),i=this.state.dateProfile,o=this.view,s=o.dateProfileGenerator.build(r),l=o.dateProfileGenerator.buildPrev(i),u=o.dateProfileGenerator.buildNext(i),d={title:o.title,activeButton:o.type,isTodayEnabled:s.isValid&&!w.rangeContainsMarker(i.currentRange,r),isPrevEnabled:l.isValid,isNextEnabled:u.isValid};t&&!0!==e||!this.header||(this.header.removeElement(),this.header=null),t&&(this.header||(this.header=new c.default(this,"fc-header-toolbar"),a.prependToElement(this.el,this.header.el)),this.header.render(D.assignTo({layout:t},d),e)),n&&!0!==e||!this.footer||(this.footer.removeElement(),this.footer=null),n&&(this.footer||(this.footer=new c.default(this,"fc-footer-toolbar"),a.appendToElement(this.el,this.footer.el)),this.footer.render(D.assignTo({layout:n},d),e))},e.prototype.queryToolbarsHeight=function(){var e=0;return this.header&&(e+=s.computeHeightAndMargins(this.header.el)),this.footer&&(e+=s.computeHeightAndMargins(this.footer.el)),e},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=S.parseDateSpan(n,this.dateEnv,m.createDuration({days:1}));r&&(this.dispatch({type:"SELECT_DATES",selection:r}),this.triggerDateSelect(r))},e.prototype.unselect=function(e){this.state.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),this.triggerDateUnselect(e))},e.prototype.triggerDateSelect=function(e,t){var n=S.buildDateSpanApi(e,this.dateEnv);n.jsEvent=t?t.origEvent:null,n.view=this.view,this.publiclyTrigger("select",[n]),t&&(this.isRecentPointerDateSelect=!0)},e.prototype.triggerDateUnselect=function(e){this.publiclyTrigger("unselect",[{jsEvent:e?e.origEvent:null,view:this.view}])},e.prototype.triggerDayClick=function(e,t,n,r){this.publiclyTrigger("dateClick",[{date:this.dateEnv.toDate(e.range.start),dateStr:this.dateEnv.formatIso(e.range.start,{omitTime:e.allDay}),allDay:e.allDay,dayEl:t,jsEvent:r,view:n}])},e.prototype.getNow=function(){var e=this.opt("now");return"function"==typeof e&&(e=e()),null==e?this.dateEnv.createNowMarker():this.dateEnv.createMarker(e)},e.prototype.getDefaultEventEnd=function(e,t){var n=t;return e?(n=v.startOfDay(n),n=this.dateEnv.add(n,this.defaultAllDayEventDuration)):n=this.dateEnv.add(n,this.defaultTimedEventDuration),n},e.prototype.addEvent=function(e,t){if(e instanceof M.default)return this.state.eventStore.defs[e.def.defId]||this.dispatch({type:"ADD_EVENTS",eventStore:H.eventTupleToStore(e)}),e;var n;n=t&&void 0!==t.sourceId?t.sourceId:"string"==typeof t?t:"";var r=C.parseEvent(e,n,this);return r?(this.dispatch({type:"ADD_EVENTS",eventStore:H.eventTupleToStore(r)}),new M.default(this,r.def,r.def.recurringDef?null:r.instance)):null},e.prototype.getEventById=function(e){var t=this.state.eventStore,n=t.defs,r=t.instances;e=String(e);for(var i in n){var o=n[i];if(o.publicId===e){if(o.recurringDef)return new M.default(this,o,null);for(var a in r){var s=r[a];if(s.defId===o.defId)return new M.default(this,o,s)}}}return null},e.prototype.getEvents=function(){var e=this.state.eventStore,t=e.defs,n=e.instances,r=[];for(var i in n){var o=n[i],a=t[o.defId];r.push(new M.default(this,a,o))}return r},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.rerenderEvents=function(){this.requestRerender({events:!0})},e.prototype.getEventSources=function(){var e=this.state.eventSources,t=[];for(var n in e)t.push(new R.default(this,e[n]));return t},e.prototype.getEventSourceById=function(e){var t=this.state.eventSources;e=String(e);for(var n in t)if(t[n].publicId===e)return new R.default(this,t[n]);return null},e.prototype.addEventSource=function(e){if(e instanceof R.default)return this.state.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var t=T.parseEventSource(e,this);return t?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[t]}),new R.default(this,t)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES"})},e}();t.default=N,d.default.mixInto(N)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(9),o=n(3),a=n(140),s=function(e){function t(t,n){var r=e.call(this)||this;return r.el=null,r.calendar=t,r.setElement(o.createElement("div",{className:"fc-toolbar "+n})),r}return r.__extends(t,e),t.prototype.render=function(e,t){e.layout===this.layout&&!0!==t||(this.isLayoutRendered&&this.unrenderLayout(),this.renderLayout(e.layout),this.layout=e.layout,this.isLayoutRendered=!0,t=!0),e.title===this.title&&!0!==t||(this.updateTitle(e.title),this.title=e.title),e.activeButton===this.activeButton&&!0!==t||(this.activeButton&&this.deactivateButton(this.activeButton),this.activateButton(e.activeButton),this.activeButton=e.activeButton),e.isTodayEnabled===this.isTodayEnabled&&!0!==t||(e.isTodayEnabled?this.enableButton("today"):this.disableButton("today"),this.isTodayEnabled=e.isTodayEnabled),e.isPrevEnabled===this.isPrevEnabled&&!0!==t||(e.isPrevEnabled?this.enableButton("prev"):this.disableButton("prev"),this.isPrevEnabled=e.isPrevEnabled),e.isNextEnabled===this.isNextEnabled&&!0!==t||(e.isNextEnabled?this.enableButton("next"):this.disableButton("next"),this.isNextEnabled=e.isNextEnabled)},t.prototype.renderLayout=function(e){var t=this.el;this.viewsWithButtons=[],o.appendToElement(t,this.renderSection("left",e.left)),o.appendToElement(t,this.renderSection("right",e.right)),o.appendToElement(t,this.renderSection("center",e.center)),o.appendToElement(t,'<div class="fc-clear"></div>')},t.prototype.unrenderLayout=function(){this.el.innerHTML=""},t.prototype.removeElement=function(){this.unrenderLayout(),this.isLayoutRendered=!1,this.layout=null,
this.title=null,this.activeButton=null,this.isTodayEnabled=null,this.isPrevEnabled=null,this.isNextEnabled=null,e.prototype.removeElement.call(this)},t.prototype.renderSection=function(e,t){var n=this,r=this.calendar,a=r.theme,s=r.optionsManager,l=r.viewSpecs,u=o.createElement("div",{className:"fc-"+e}),d=s.computed.customButtons||{},c=s.overrides.buttonText||{},f=s.computed.buttonText||{};return t&&t.split(" ").forEach(function(e,t){var s,p=[],h=!0;if(e.split(",").forEach(function(e,t){var s,u,g,v,y,m,E,S,b;if("title"===e)p.push(o.htmlToElement("<h2>&nbsp;</h2>")),h=!1;else if((s=d[e])?(g=function(e){s.click&&s.click.call(S,e)},(v=a.getCustomButtonIconClass(s))||(v=a.getIconClass(e))||(y=s.text)):(u=l[e])?(n.viewsWithButtons.push(e),g=function(){r.changeView(e)},(y=u.buttonTextOverride)||(v=a.getIconClass(e))||(y=u.buttonTextDefault)):r[e]&&(g=function(){r[e]()},(y=c[e])||(v=a.getIconClass(e))||(y=f[e])),g){E=["fc-"+e+"-button",a.getClass("button"),a.getClass("stateDefault")],y?(m=i.htmlEscape(y),b=""):v&&(m="<span class='"+v+"'></span>",b=' aria-label="'+e+'"'),S=o.htmlToElement('<button type="button" class="'+E.join(" ")+'"'+b+">"+m+"</button>");var D=function(){var e=a.getClass("stateActive"),t=a.getClass("stateDisabled");return!(e&&S.classList.contains(e)||t&&S.classList.contains(t))};S.addEventListener("click",function(e){var t=a.getClass("stateDisabled"),n=a.getClass("stateHover");t&&S.classList.contains(t)||(g(e),!D()&&n&&S.classList.remove(n))}),S.addEventListener("mousedown",function(e){var t=a.getClass("stateDown");D()&&t&&S.classList.add(t)}),S.addEventListener("mouseup",function(e){var t=a.getClass("stateDown");t&&S.classList.remove(t)}),S.addEventListener("mouseenter",function(e){var t=a.getClass("stateHover");D()&&t&&S.classList.add(t)}),S.addEventListener("mouseleave",function(e){var t=a.getClass("stateHover"),n=a.getClass("stateDown");t&&S.classList.remove(t),n&&S.classList.remove(n)}),p.push(S)}}),h&&p.length>0){var g=a.getClass("cornerLeft"),v=a.getClass("cornerRight");g&&p[0].classList.add(g),v&&p[p.length-1].classList.add(v)}if(p.length>1){s=document.createElement("div");var y=a.getClass("buttonGroup");h&&y&&s.classList.add(y),o.appendToElement(s,p),u.appendChild(s)}else o.appendToElement(u,p)}),u},t.prototype.updateTitle=function(e){o.findElements(this.el,"h2").forEach(function(t){t.innerText=e})},t.prototype.activateButton=function(e){var t=this;o.findElements(this.el,".fc-"+e+"-button").forEach(function(e){e.classList.add(t.calendar.theme.getClass("stateActive"))})},t.prototype.deactivateButton=function(e){var t=this;o.findElements(this.el,".fc-"+e+"-button").forEach(function(e){e.classList.remove(t.calendar.theme.getClass("stateActive"))})},t.prototype.disableButton=function(e){var t=this;o.findElements(this.el,".fc-"+e+"-button").forEach(function(e){e.disabled=!0,e.classList.add(t.calendar.theme.getClass("stateDisabled"))})},t.prototype.enableButton=function(e){var t=this;o.findElements(this.el,".fc-"+e+"-button").forEach(function(e){e.disabled=!1,e.classList.remove(t.calendar.theme.getClass("stateDisabled"))})},t.prototype.getViewsWithButtons=function(){return this.viewsWithButtons},t}(a.default);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=n(2),o=n(32),a=n(41),s=function(){function e(e){this.overrides=r.assignTo({},e),this.dynamicOverrides={},this.compute()}return e.prototype.add=function(e,t){this.dynamicOverrides[e]=t,this.compute()},e.prototype.compute=function(){var e,t,n,r;e=i.firstDefined(this.dynamicOverrides.locale,this.overrides.locale,o.globalDefaults.locale),t=a.getLocale(e).options,n=i.firstDefined(this.dynamicOverrides.dir,this.overrides.dir,t.dir),r="rtl"===n?o.rtlDefaults:{},this.dirDefaults=r,this.localeDefaults=t,this.computed=o.mergeOptions([o.globalDefaults,r,t,this.overrides,this.dynamicOverrides])},e}();t.default=s},function(e,t,n){function r(e,t){a[e]=t}function i(e){return new a[e]}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a={};t.registerCalendarSystem=r,t.createCalendarSystem=i,r("gregory",function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return o.arrayToUtcDate(e)},e.prototype.markerToArray=function(e){return o.dateToUtcArray(e)},e}())},function(e,t,n){function r(e,t,n){n.publiclyTrigger(t.type,t);var r=i(e.dateProfile,t),f=d.default(e.eventSources,t,r,n);return{dateProfile:r,eventSources:f,eventStore:c.default(e.eventStore,t,f,r,n),eventUis:e.eventUis,businessHours:e.businessHours,dateSelection:o(e.dateSelection,t,n),eventSelection:a(e.eventSelection,t),eventDrag:s(e.eventDrag,t,f,n),eventResize:l(e.eventResize,t,f,n),eventSourceLoadingLevel:u(f),loadingLevel:u(f)}}function i(e,t){switch(t.type){case"SET_DATE_PROFILE":return e&&f.isDateProfilesEqual(e,t.dateProfile)?e:t.dateProfile;default:return e}}function o(e,t,n){switch(t.type){case"SELECT_DATES":return t.selection;case"UNSELECT_DATES":return null;default:return e}}function a(e,t){switch(t.type){case"SELECT_EVENT":return t.eventInstanceId;case"UNSELECT_EVENT":return"";default:return e}}function s(e,t,n,r){switch(t.type){case"SET_EVENT_DRAG":var i=t.state,o=p.computeEventDefUis(i.mutatedEvents.defs,n,r.view?r.view.options:{});return{affectedEvents:i.affectedEvents,mutatedEvents:i.mutatedEvents,isEvent:i.isEvent,origSeg:i.origSeg,eventUis:o};case"UNSET_EVENT_DRAG":return null;default:return e}}function l(e,t,n,r){switch(t.type){case"SET_EVENT_RESIZE":var i=t.state,o=p.computeEventDefUis(i.mutatedEvents.defs,n,r.view?r.view.options:{});return{affectedEvents:i.affectedEvents,mutatedEvents:i.mutatedEvents,isEvent:i.isEvent,origSeg:i.origSeg,eventUis:o};case"UNSET_EVENT_RESIZE":return null;default:return e}}function u(e){var t=0;for(var n in e)e[n].isFetching&&t++;return t}Object.defineProperty(t,"__esModule",{value:!0});var d=n(180),c=n(181),f=n(57),p=n(28);t.default=r},function(e,t,n){function r(e,t,n,r){switch(t.type){case"ADD_EVENT_SOURCES":return i(e,t.sources,n?n.activeRange:null,r);case"REMOVE_EVENT_SOURCE":return o(e,t.sourceId);case"SET_DATE_PROFILE":return a(e,t.dateProfile.activeRange,r);case"FETCH_EVENT_SOURCES":case"CHANGE_TIMEZONE":return l(e,t.sourceIds?p.arrayToHash(t.sourceIds):c(e),n?n.activeRange:null,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return d(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function i(e,t,n,r){for(var i={},o=0,s=t;o<s.length;o++){var l=s[o];i[l.sourceId]=l}return i=a(i,n,r),p.assignTo({},e,i)}function o(e,t){return p.filterHash(e,function(e){return e.sourceId!==t})}function a(e,t,n){return l(e,p.filterHash(e,function(e){return s(e,t,n)}),t,n)}function s(e,t,n){return f.doesSourceNeedRange(e)?!!t&&(!n.opt("lazyFetching")||!e.fetchRange||t.start<e.fetchRange.start||t.end>e.fetchRange.end):!e.latestFetchId}function l(e,t,n,r){var i={};for(var o in e){var a=e[o];t[o]?i[o]=u(a,n,r):i[o]=a}return i}function u(e,t,n){var r=f.getEventSourceDef(e.sourceDefId),i=String(g++);return r.fetch({eventSource:e,calendar:n,range:t},function(r){var o,a,s=r.rawEvents,l=n.opt("eventSourceSuccess");e.success&&(a=e.success(s,r.response)),l&&(o=l(s,r.response)),s=a||o||s,n.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:i,fetchRange:t,rawEvents:s})},function(r){var o=n.opt("eventSourceFailure");h.warn(r.message,r),e.failure&&e.failure(r),o&&o(r),n.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:i,fetchRange:t,error:r})}),p.assignTo({},e,{isFetching:!0,latestFetchId:i})}function d(e,t,n,r){var i,o=e[t];return o&&n===o.latestFetchId?p.assignTo({},e,(i={},i[t]=p.assignTo({},o,{isFetching:!1,fetchRange:r}),i)):e}function c(e){return p.filterHash(e,function(e){return f.doesSourceNeedRange(e)})}Object.defineProperty(t,"__esModule",{value:!0});var f=n(22),p=n(4),h=n(2);t.default=r;var g=0},function(e,t,n){function r(e,t,n,r,d){switch(t.type){case"RECEIVE_EVENTS":return i(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,d);case"ADD_EVENTS":return o(e,t.eventStore,r?r.activeRange:null,d);case"MERGE_EVENTS":return f.mergeEventStores(e,t.eventStore);case"SET_DATE_PROFILE":return r?f.expandRecurring(e,r.activeRange,d):e;case"CHANGE_TIMEZONE":return a(e,t.oldDateEnv,d.dateEnv);case"MUTATE_EVENTS":return s(e,t.instanceId,t.mutation,d);case"REMOVE_EVENT_INSTANCES":return u(e,t.instances);case"REMOVE_EVENT_DEF":return f.filterEventStoreDefs(e,function(e){return e.defId!==t.defId});case"REMOVE_EVENT_SOURCE":return l(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return f.filterEventStoreDefs(e,function(e){return!e.sourceId});case"REMOVE_ALL_EVENTS":return f.createEmptyEventStore();default:return e}}function i(e,t,n,r,i,o){if(t&&n===t.latestFetchId){var a=f.parseEvents(f.transformRawEvents(i,t,o),t.sourceId,o);return r&&(a=f.expandRecurring(a,r,o)),f.mergeEventStores(l(e,t.sourceId),a)}return e}function o(e,t,n,r){return n&&(t=f.expandRecurring(t,n,r)),f.mergeEventStores(e,t)}function a(e,t,n){var r=e.defs,i=d.mapHash(e.instances,function(e){var i=r[e.defId];return i.allDay||i.recurringDef?e:d.assignTo({},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 s(e,t,n,r){var i=f.getRelevantEvents(e,t);return i=c.applyMutationToEventStore(i,n,r),f.mergeEventStores(e,i)}function l(e,t){return f.filterEventStoreDefs(e,function(e){return e.sourceId!==t})}function u(e,t){return{defs:e.defs,instances:d.filterHash(e.instances,function(e){return!t[e.instanceId]})}}Object.defineProperty(t,"__esModule",{value:!0});var d=n(4),c=n(55),f=n(14);t.default=r},function(e,t,n){function r(e,t){return a.parseEvents(i(e),"",t)}function i(e){var t;return t=!0===e?[{}]:Array.isArray(e)?e.filter(function(e){return e.daysOfWeek}):"object"==typeof e&&e?[e]:[],t=t.map(function(e){return o.assignTo({},s,e)})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),a=n(14),s={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],rendering:"inverse-background",classNames:"fc-nonbusiness",groupId:"_businessHours"};t.parseBusinessHours=r},function(e,t,n){function r(e,t){var n=u.parseViewConfigs(e),r=u.parseViewConfigs(t.overrides.views),a=o.compileViewDefs(n,r);return s.mapHash(a,function(e){return i(e,r,t)})}function i(e,t,n){var r=e.overrides.duration||e.defaults.duration||n.dynamicOverrides.duration||n.overrides.duration,i=null,o="",u="",d={};if(r&&(i=a.createDuration(r))){var c=a.greatestDurationDenominator(i,!a.getWeeksFromInput(r));o=c.unit,1===c.value&&(u=o,d=t[o]?t[o].options:{})}var f=function(t){var n=t.buttonText||{};return null!=n[e.type]?n[e.type]:null!=n[u]?n[u]:void 0};return{type:e.type,class:e.class,duration:i,durationUnit:o,singleUnit:u,options:s.assignTo({},l.globalDefaults,e.defaults,n.dirDefaults,n.localeDefaults,n.overrides,d,e.overrides,n.dynamicOverrides),buttonTextOverride:f(n.dynamicOverrides)||f(n.overrides)||e.overrides.buttonText,buttonTextDefault:f(n.localeDefaults)||f(n.dirDefaults)||e.defaults.buttonText||f(l.globalDefaults)||e.type}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(184),a=n(10),s=n(4),l=n(32),u=n(185);t.buildViewSpecs=r},function(e,t,n){function r(e,t){var n,r={};for(n in e)i(n,r,e,t);for(n in t)i(n,r,e,t);return r}function i(e,t,n,r){if(t[e])return t[e];var i=o(e,t,n,r);return i&&(t[e]=i),i}function o(e,t,n,r){var o=n[e],l=r[e],u=function(e){return o&&null!==o[e]?o[e]:l&&null!==l[e]?l[e]:null},d=u("class"),c=u("superType");!c&&d&&(c=a(d,r)||a(d,n));var f=c?i(c,t,n,r):null;return!d&&f&&(d=f.class),d?{type:e,class:d,defaults:s.assignTo({},f?f.defaults:{},o?o.options:{}),overrides:s.assignTo({},f?f.overrides:{},l?l.options:{})}:null}function a(e,t){var n=Object.getPrototypeOf(e.prototype);for(var r in t){var i=t[r];if(i.class&&i.class.prototype===n)return r}return""}Object.defineProperty(t,"__esModule",{value:!0});var s=n(4);t.compileViewDefs=r},function(e,t,n){function r(e){return a.mapHash(e,i)}function i(e){"function"==typeof e&&(e={class:e});var t={},n=o.refineProps(e,s,{},t);return{superType:n.type,class:n.class,options:t}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),a=n(4);t.parseViewConfigs=r;var s={type:String,class:null}},function(e,t,n){function r(e){var t,n,r,i=[];for(t=0;t<e.length;t++){for(n=e[t],r=0;r<i.length&&a(n,i[r]).length;r++);n.level=r,(i[r]||(i[r]=[])).push(n)}return i}function i(e){var t,n,r,i,o;for(t=0;t<e.length;t++)for(n=e[t],r=0;r<n.length;r++)for(i=n[r],i.forwardSegs=[],o=t+1;o<e.length;o++)a(i,e[o],i.forwardSegs)}function o(e){var t,n,r=e.forwardSegs,i=0;if(void 0===e.forwardPressure){for(t=0;t<r.length;t++)n=r[t],o(n),i=Math.max(i,1+n.forwardPressure);e.forwardPressure=i}}function a(e,t,n){void 0===n&&(n=[]);for(var r=0;r<t.length;r++)s(e,t[r])&&n.push(t[r]);return n}function s(e,t){return e.bottom>t.top&&e.top<t.bottom}function l(e){var t=p.buildSegCompareObj(e);return t.forwardPressure=e.forwardPressure,t.backwardCoord=e.backwardCoord,t}Object.defineProperty(t,"__esModule",{value:!0});var u=n(1),d=n(9),c=n(3),f=n(8),p=n(18),h=n(2),g=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeGrid=t,r.fullTimeFormat=f.createFormatter({hour:"numeric",minute:"2-digit",separator:r.opt("defaultRangeSeparator")}),r}return u.__extends(t,e),t.prototype.renderFgSegs=function(e){this.renderFgSegsIntoContainers(e,this.timeGrid.fgContainerEls)},t.prototype.renderFgSegsIntoContainers=function(e,t){this.segsByCol=this.timeGrid.groupSegsByCol(e),this.timeGrid.attachSegsByCol(this.segsByCol,t)},t.prototype.unrenderFgSegs=function(){this.fgSegs&&this.fgSegs.forEach(function(e){c.removeElement(e.el)}),this.segsByCol=null},t.prototype.computeFgSize=function(){for(var e=this.timeGrid,t=0;t<e.colCnt;t++){var n=this.segsByCol[t];e.computeSegVerticals(n),this.computeFgSegHorizontals(n)}},t.prototype.assignFgSize=function(){for(var e=this.timeGrid,t=0;t<e.colCnt;t++){var n=this.segsByCol[t];e.assignSegVerticals(n),this.assignFgSegHorizontals(n)}},t.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",meridiem:!1}},t.prototype.computeDisplayEventEnd=function(){return!0},t.prototype.fgSegHtml=function(e){var t,n,r,i=e.eventRange,o=i.def,a=i.ui,s=o.allDay,l=a.startEditable,u=e.isStart&&a.durationEditable&&this.opt("eventResizableFromStart"),c=e.isEnd&&a.durationEditable,f=this.getSegClasses(e,l,u||c),p=d.cssToStr(this.getSkinCss(a));if(f.unshift("fc-time-grid-event","fc-v-event"),h.isMultiDayRange(i.range)){if(e.isStart||e.isEnd){var g=e.start,v=e.end;t=this._getTimeText(g,v,s),n=this._getTimeText(g,v,s,this.fullTimeFormat),r=this._getTimeText(g,v,s,null,!1)}}else t=this.getTimeText(i),n=this.getTimeText(i,this.fullTimeFormat),r=this.getTimeText(i,null,!1);return'<a class="'+f.join(" ")+'"'+(o.url?' href="'+d.htmlEscape(o.url)+'"':"")+(p?' style="'+p+'"':"")+'><div class="fc-content">'+(t?'<div class="fc-time" data-start="'+d.htmlEscape(r)+'" data-full="'+d.htmlEscape(n)+'"><span>'+d.htmlEscape(t)+"</span></div>":"")+(o.title?'<div class="fc-title">'+d.htmlEscape(o.title)+"</div>":"")+'</div><div class="fc-bg"></div>'+(c?'<div class="fc-resizer fc-end-resizer"></div>':"")+"</a>"},t.prototype.computeFgSegHorizontals=function(e){var t,n,a;if(e=this.sortEventSegs(e),t=r(e),i(t),n=t[0]){for(a=0;a<n.length;a++)o(n[a]);for(a=0;a<n.length;a++)this.computeFgSegForwardBack(n[a],0,0)}},t.prototype.computeFgSegForwardBack=function(e,t,n){var r,i=e.forwardSegs;if(void 0===e.forwardCoord)for(i.length?(this.sortForwardSegs(i),this.computeFgSegForwardBack(i[0],t+1,n),e.forwardCoord=i[0].backwardCoord):e.forwardCoord=1,e.backwardCoord=e.forwardCoord-(e.forwardCoord-n)/(t+1),r=0;r<i.length;r++)this.computeFgSegForwardBack(i[r],0,e.forwardCoord)},t.prototype.sortForwardSegs=function(e){var t=e.map(l),n=[{field:"forwardPressure",order:-1},{field:"backwardCoord",order:1}].concat(this.view.eventOrderSpecs);return t.sort(function(e,t){return h.compareByFieldSpecs(e,t,n)}),t.map(function(e){return e._seg})},t.prototype.assignFgSegHorizontals=function(e){var t,n;for(t=0;t<e.length;t++)n=e[t],c.applyStyle(n.el,this.generateFgSegHorizontalCss(n)),n.bottom-n.top<30&&n.el.classList.add("fc-short")},t.prototype.generateFgSegHorizontalCss=function(e){var t,n,r=this.opt("slotEventOverlap"),i=e.backwardCoord,o=e.forwardCoord,a=this.timeGrid.generateSegVerticalCss(e),s=this.timeGrid.isRtl;return r&&(o=Math.min(1,i+2*(o-i))),s?(t=1-o,n=i):(t=i,n=1-o),a.zIndex=e.level+1,a.left=100*t+"%",a.right=100*n+"%",r&&e.forwardPressure&&(a[s?"marginLeft":"marginRight"]=20),a},t}(p.default);t.default=g},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(60),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.renderSegs=function(e,t){var n,r,o,a,s=[];for(this.eventRenderer.renderFgSegsIntoContainers(e,this.component.mirrorContainerEls),n=0;n<e.length;n++)r=e[n],t&&t.col===r.col?(o=t.el,a=window.getComputedStyle(o),i.applyStyle(r.el,{left:a.left,right:a.right,marginLeft:a.marginLeft,marginRight:a.marginRight})):i.applyStyle(r.el,{left:0,right:0}),s.push(r.el);return s},t.prototype.computeSize=function(){this.component.computeSegVerticals(this.segs||[])},t.prototype.assignSize=function(){this.component.assignSegVerticals(this.segs||[])},t}(o.default);t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(59),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.attachSegEls=function(e,t){var n,r=this.component;return"bgEvent"===e?n=r.bgContainerEls:"businessHours"===e?n=r.businessContainerEls:"highlight"===e&&(n=r.highlightContainerEls),r.attachSegsByCol(r.groupSegsByCol(t),n),t.map(function(e){return e.el})},t.prototype.computeSize=function(e){this.component.computeSegVerticals(this.renderedSegsByType[e]||[])},t.prototype.assignSize=function(e){this.component.assignSegVerticals(this.renderedSegsByType[e]||[])},t}(i.default);t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),i=n(19),o=n(13),a=function(){function e(e){var t=this;this.isHidden=!0,this.margin=10,this.documentMousedown=function(e){t.el&&!t.el.contains(e.target)&&t.hide()},this.options=e}return e.prototype.show=function(){this.isHidden&&(this.el||this.render(),this.el.style.display="",this.position(),this.isHidden=!1,this.trigger("show"))},e.prototype.hide=function(){this.isHidden||(this.el.style.display="none",this.isHidden=!0,this.trigger("hide"))},e.prototype.render=function(){var e=this,t=this.options,n=this.el=r.createElement("div",{className:"fc-popover "+(t.className||""),style:{top:"0",left:"0"}});"function"==typeof t.content&&t.content(n),t.parentEl.appendChild(n),i.listenBySelector(n,"click",".fc-close",function(t){e.hide()}),t.autoHide&&document.addEventListener("mousedown",this.documentMousedown)},e.prototype.removeElement=function(){this.hide(),this.el&&(r.removeElement(this.el),this.el=null),document.removeEventListener("mousedown",this.documentMousedown)},e.prototype.position=function(){var e,t,n=this.options,i=this.el,a=i.getBoundingClientRect(),s=o.computeRect(i.offsetParent),l=o.computeClippingRect(n.parentEl);e=n.top||0,t=void 0!==n.left?n.left:void 0!==n.right?n.right-a.width:0,e=Math.min(e,l.bottom-a.height-this.margin),e=Math.max(e,l.top+this.margin),t=Math.min(t,l.right-a.width-this.margin),t=Math.max(t,l.left+this.margin),r.applyStyle(i,{top:e-s.top,left:t-s.left})},e.prototype.trigger=function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1))},e}();t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(60),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.renderSegs=function(e,t){var n,r=[];return n=this.eventRenderer.renderSegRows(e),this.component.rowEls.forEach(function(e,o){var a,s,l=i.htmlToElement('<div class="fc-mirror-skeleton"><table></table></div>');t&&t.row===o?a=t.el:(a=e.querySelector(".fc-content-skeleton tbody"))||(a=e.querySelector(".fc-content-skeleton table")),s=a.getBoundingClientRect().top-e.getBoundingClientRect().top,l.style.top=s+"px",l.querySelector("table").appendChild(n[o].tbodyEl),e.appendChild(l),r.push(l)}),r},t}(o.default);t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(3),o=n(59),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.fillSegTag="td",t}return r.__extends(t,e),t.prototype.attachSegEls=function(e,t){var n,r,i,o=[];for(n=0;n<t.length;n++)r=t[n],i=this.renderFillRow(e,r),this.component.rowEls[r.row].appendChild(i),o.push(i);return o},t.prototype.renderFillRow=function(e,t){var n,r,o,a=this.component.colCnt,s=t.leftCol,l=t.rightCol+1;return n="businessHours"===e?"bgevent":e.toLowerCase(),r=i.htmlToElement('<div class="fc-'+n+'-skeleton"><table><tr></tr></table></div>'),o=r.getElementsByTagName("tr")[0],s>0&&o.appendChild(i.createElement("td",{colSpan:s})),t.el.colSpan=l-s,o.appendChild(t.el),l<a&&o.appendChild(i.createElement("td",{colSpan:a-l})),this.component.bookendCells(o),r},t}(o.default);t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(21),o=n(148),a=n(9),s=n(8),l=n(61),u=n(13),d=n(26),c=n(6),f=function(e){function t(t,n){var r=e.call(this,t)||this;return r.isInteractable=!0,r.useEventCenter=!1,r.date=n,r}return r.__extends(t,e),t.prototype.renderSkeleton=function(){var e=this.getTheme(),t=this.getDateEnv(),n=t.format(this.date,s.createFormatter(this.opt("dayPopoverFormat")));this.el.innerHTML='<div class="fc-header '+e.getClass("popoverHeader")+'"><span class="fc-close '+e.getIconClass("close")+'"></span><span class="fc-title">'+a.htmlEscape(n)+'</span><div class="fc-clear"></div></div><div class="fc-body '+e.getClass("popoverContent")+'"><div class="fc-event-container"></div></div>',this.segContainerEl=this.el.querySelector(".fc-event-container")},t.prototype.prepareHits=function(){var e=u.computeRect(this.el);this.width=e.right-e.left,this.height=e.bottom-e.top,this.offsetTracker=new l.default(this.el)},t.prototype.releaseHits=function(){this.offsetTracker.destroy()},t.prototype.queryHit=function(e,t){var n=this.offsetTracker.computeLeft(),r=this.offsetTracker.computeTop(),i={left:n,right:n+this.width,top:r,bottom:r+this.height};return d.pointInsideRect({left:e,top:t},i)?{component:this,dateSpan:{allDay:!0,range:{start:this.date,end:c.addDays(this.date,1)}},dayEl:this.el,rect:i,layer:1}:null},t}(i.default);t.default=f;var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.renderFgSegs=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];this.component.segContainerEl.appendChild(r.el)}},t}(o.default);t.DayTileEventRenderer=p,f.prototype.eventRendererClass=p},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(149),o=n(6),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.buildRenderRange=function(t,n,r){var i,a=e.prototype.buildRenderRange.call(this,t,n,r),s=a.start,l=a.end;return this.opt("fixedWeekCount")&&(i=Math.ceil(o.diffWeeks(s,l)),l=o.addWeeks(l,6-i)),{start:s,end:l}},t}(i.default);t.default=a},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(9),o=n(18),a=n(2),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.renderFgSegs=function(e){e.length?this.component.renderSegList(e):this.component.renderEmptyMessage()},t.prototype.fgSegHtml=function(e){var t,n=this.view,r=n.calendar,o=r.theme,s=e.eventRange,l=s.def,u=s.instance,d=s.ui,c=l.url,f=["fc-list-item"].concat(d.classNames),p=d.backgroundColor;return t=l.allDay?n.getAllDayHtml():a.isMultiDayRange(s.range)?e.isStart?i.htmlEscape(this._getTimeText(u.range.start,e.end,!1)):e.isEnd?i.htmlEscape(this._getTimeText(e.start,u.range.end,!1)):n.getAllDayHtml():i.htmlEscape(this.getTimeText(s)),c&&f.push("fc-has-url"),'<tr class="'+f.join(" ")+'">'+(this.displayEventTime?'<td class="fc-list-item-time '+o.getClass("widgetContent")+'">'+(t||"")+"</td>":"")+'<td class="fc-list-item-marker '+o.getClass("widgetContent")+'"><span class="fc-event-dot"'+(p?' style="background-color:'+p+'"':"")+'></span></td><td class="fc-list-item-title '+o.getClass("widgetContent")+'"><a'+(c?' href="'+i.htmlEscape(c)+'"':"")+">"+i.htmlEscape(l.title||"")+"</a></td></tr>"},t.prototype.computeEventTimeFormat=function(){return{hour:"numeric",minute:"2-digit",meridiem:"short"}},t}(o.default);t.default=s},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(30),i=n(152),o=n(32),a=function(){function e(e,t){void 0===t&&(t={});var n=this;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:o.globalDefaults.eventDragMinDistance,t.delay=e.isTouch?null!=a?a:o.globalDefaults.longPressDelay:0},this.handleDragStart=function(e){e.isTouch&&n.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&n.dragging.mirror.getMirrorEl().classList.add("fc-selected")},this.settings=t;var a=this.dragging=new r.default(e);a.touchScrollAllowed=!1,null!=t.itemSelector&&(a.pointer.selector=t.itemSelector),null!=t.appendTo&&(a.mirror.parentNode=t.appendTo),a.emitter.on("pointerdown",this.handlePointerDown),a.emitter.on("dragstart",this.handleDragStart),new i.default(a,t.eventData)}return e.prototype.destroy=function(){this.dragging.destroy()},e}();t.default=a},function(e,t,n){function r(e){var t={},n=o.refineProps(e,a,s,t);return n.leftoverProps=t,n}Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),o=n(2),a={time:i.createDuration,duration:i.createDuration,create:Boolean,sourceId:String},s={create:!0};t.parseDragMeta=r},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(152),i=n(198),o=function(){function e(e,t){var n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};var o=this.dragging=new i.default(n);"string"==typeof t.itemSelector?o.pointer.selector=t.itemSelector:n===document&&(o.pointer.selector="[data-event]"),"string"==typeof t.mirrorSelector&&(o.mirrorSelector=t.mirrorSelector),new r.default(o,t.eventData)}return e.prototype.destroy=function(){this.dragging.destroy()},e}();t.default=o},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(40),o=n(54),a=function(e){function t(t){var n=e.call(this)||this;n.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 i.default(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return r.__extends(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=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")}},t}(o.default);t.default=a},function(e,t,n){function r(e,t){void 0===t&&(t={});var n=o(t),r=l.createFormatter(t),i=n.createMarkerMeta(e);return i?n.format(i.marker,r,{forcedTzo:i.forcedTzo}):""}function i(e,t,n){var r=o("object"==typeof n&&n?n:{}),i=l.createFormatter(n,d.globalDefaults.defaultRangeSeparator),a=r.createMarkerMeta(e),s=r.createMarkerMeta(t);return a&&s?r.formatRange(a.marker,s.marker,i,{forcedStartTzo:a.forcedTzo,forcedEndTzo:s.forcedTzo,isEndExclusive:n.isEndExclusive}):""}function o(e){var t=e.locale||d.globalDefaults.locale;return e=s.assignTo({timeZone:d.globalDefaults.timeZone,timeZoneImpl:d.globalDefaults.timeZoneImpl,calendarSystem:"gregory"},e,{locale:u.getLocale(t)}),new a.DateEnv(e)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(56),s=n(4),l=n(8),u=n(41),d=n(32);t.formatDate=r,t.formatRange=i},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(48),i=n(137),o=n(138),a=n(201),s=n(202);r.defineThemeSystem("standard",i.default),r.defineThemeSystem("jquery-ui",o.default),r.defineThemeSystem("bootstrap3",a.default),r.defineThemeSystem("bootstrap4",s.default)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(27),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t}(i.default);t.default=o,o.prototype.classes={widget:"fc-bootstrap3",tableGrid:"table-bordered",tableList:"table",tableListHeading:"active",buttonGroup:"btn-group",button:"btn btn-default",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"panel panel-default",popoverHeader:"panel-heading",popoverContent:"panel-body",headerRow:"panel-default",dayRow:"panel-default",listView:"panel panel-default"},o.prototype.baseIconClass="glyphicon",o.prototype.iconClasses={close:"glyphicon-remove",prev:"glyphicon-chevron-left",next:"glyphicon-chevron-right",prevYear:"glyphicon-backward",nextYear:"glyphicon-forward"},o.prototype.iconOverrideOption="bootstrapGlyphicons",o.prototype.iconOverrideCustomButtonOption="bootstrapGlyphicon",o.prototype.iconOverridePrefix="glyphicon-"},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=n(27),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t}(i.default);t.default=o,o.prototype.classes={widget:"fc-bootstrap4",tableGrid:"table-bordered",tableList:"table",tableListHeading:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",stateActive:"active",stateDisabled:"disabled",today:"alert alert-info",popover:"card card-primary",popoverHeader:"card-header",popoverContent:"card-body",headerRow:"table-bordered",dayRow:"table-bordered",listView:"card card-primary"},o.prototype.baseIconClass="fa",o.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"},o.prototype.iconOverrideOption="bootstrapFontAwesome",o.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome",o.prototype.iconOverridePrefix="fa-"},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(43),i=n(63),o=n(150);r.defineView("basic",i.default),r.defineView("basicDay",{type:"basic",duration:{days:1}}),r.defineView("basicWeek",{type:"basic",duration:{weeks:1}}),r.defineView("month",{class:o.default,duration:{months:1},fixedWeekCount:!0})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(43),i=n(146);r.defineView("agenda",{class:i.default,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0}),r.defineView("agendaDay",{type:"agenda",duration:{days:1}}),r.defineView("agendaWeek",{type:"agenda",duration:{weeks:1}})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(43),i=n(151);r.defineView("list",{class:i.default,listDayFormat:{month:"long",day:"numeric",year:"numeric"}}),r.defineView("listDay",{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}}),r.defineView("listWeek",{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDayAltFormat:{month:"long",day:"numeric",year:"numeric"}}),r.defineView("listMonth",{type:"list",
duration:{month:1},listDayAltFormat:{weekday:"long"}}),r.defineView("listYear",{type:"list",duration:{year:1},listDayAltFormat:{weekday:"long"}})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),n(22).registerEventSourceDef({ignoreRange:!0,parseMeta:function(e){return Array.isArray(e)?e:Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}})},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(208);n(22).registerEventSourceDef({parseMeta:function(e){return"function"==typeof e?e:"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var i=e.calendar.dateEnv,o=e.eventSource.meta;r.unpromisify(o.bind(null,{start:i.toDate(e.range.start),end:i.toDate(e.range.end),startStr:i.formatIso(e.range.start),endStr:i.formatIso(e.range.end),timeZone:i.timeZone}),function(e){t({rawEvents:e})},n)}})},function(e,t){function n(e,t,n){var r=!1,i=function(){r||(r=!0,t.apply(this,arguments))},o=function(){r||(r=!0,n&&n.apply(this,arguments))},a=e(i,o);a&&"function"==typeof a.then&&a.then(i,o)}Object.defineProperty(t,"__esModule",{value:!0}),t.unpromisify=n},function(e,t,n){function r(e,t,n){var r,i,a,s,l=n.dateEnv,u={};return r=e.startParam,null==r&&(r=n.opt("startParam")),i=e.endParam,null==i&&(i=n.opt("endParam")),a=e.timeZoneParam,null==a&&(a=n.opt("timeZoneParam")),s="function"==typeof e.extraData?e.extraData():e.extraData||{},o.assignTo(u,s),u[r]=l.formatIso(t.start),u[i]=l.formatIso(t.end),"local"!==l.timeZone&&(u[a]=l.timeZone),u}Object.defineProperty(t,"__esModule",{value:!0});var i=n(64),o=n(4);n(22).registerEventSourceDef({parseMeta:function(e){if("string"==typeof e)e={url:e};else if(!e||"object"!=typeof e||!e.url)return null;return{url:e.url,method:(e.method||"GET").toUpperCase(),extraData:e.data,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var o,a=e.eventSource.meta,s=r(a,e.range,e.calendar);o="GET"===a.method?i.get(a.url).query(s):i(a.method,a.url).send(s),o.end(function(e,r){var i;e?n(e):(r.body?i=r.body:r.text&&(i=JSON.parse(r.text)),i?t({rawEvents:i,response:r}):n({message:"Invalid JSON response",response:r}))})}})},function(e,t,n){function r(e,t,n,r,o){r=u.intersectRanges(r,n);for(var s=e?a.arrayToHash(e):null,l=i.startOfDay(r.start),d=r.end,c=[];l<d;){var f=void 0;s&&!s[l.getUTCDay()]||(f=t?o.add(l,t):l,c.push(f)),l=i.addDays(l,1)}return c}Object.defineProperty(t,"__esModule",{value:!0});var i=n(6),o=n(10),a=n(4),s=n(2),l=n(38),u=n(11);l.registerRecurringType({parse:function(e,t,n){var r=n.createMarker.bind(n),i={daysOfWeek:null,startTime:o.createDuration,endTime:o.createDuration,startRecur:r,endRecur:r},a=s.refineProps(e,i,{},t),l=!1;for(var u in a)if(null!=a[u]){l=!0;break}return l?{allDay:!a.startTime&&!a.endTime,duration:a.startTime&&a.endTime?o.subtractDurations(a.endTime,a.startTime):null,typeData:a}:null},expand:function(e,t,n,i){return r(e.daysOfWeek,e.startTime,{start:e.startRecur,end:e.endRecur},n,i)}})}])});