!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.moment=t()}(this,function(){"use strict";function t(){return hf.apply(null,arguments)}function tt(n){return n instanceof Array||"[object Array]"===Object.prototype.toString.call(n)}function li(n){return null!=n&&"[object Object]"===Object.prototype.toString.call(n)}function p(n){return void 0===n}function dt(n){return"number"==typeof n||"[object Number]"===Object.prototype.toString.call(n)}function di(n){return n instanceof Date||"[object Date]"===Object.prototype.toString.call(n)}function lf(n,t){for(var r=[],i=0;i<n.length;++i)r.push(t(n[i],i));return r}function l(n,t){return Object.prototype.hasOwnProperty.call(n,t)}function vt(n,t){for(var i in t)l(t,i)&&(n[i]=t[i]);return l(t,"toString")&&(n.toString=t.toString),l(t,"valueOf")&&(n.valueOf=t.valueOf),n}function ft(n,t,i,r){return no(n,t,i,r,!0).utc()}function u(n){return null==n._pf&&(n._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),n._pf}function gr(n){if(null==n._isValid){var t=u(n),r=cf.call(t.parsedDateParts,function(n){return null!=n}),i=!isNaN(n._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(n._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(n))return i;n._isValid=i}return n._isValid}function gi(n){var t=ft(NaN);return null!=n?vt(u(t),n):u(t).userInvalidated=!0,t}function nu(n,t){var i,r,f;if(p(t._isAMomentObject)||(n._isAMomentObject=t._isAMomentObject),p(t._i)||(n._i=t._i),p(t._f)||(n._f=t._f),p(t._l)||(n._l=t._l),p(t._strict)||(n._strict=t._strict),p(t._tzm)||(n._tzm=t._tzm),p(t._isUTC)||(n._isUTC=t._isUTC),p(t._offset)||(n._offset=t._offset),p(t._pf)||(n._pf=u(t)),p(t._locale)||(n._locale=t._locale),nr.length>0)for(i=0;i<nr.length;i++)p(f=t[r=nr[i]])||(n[r]=f);return n}function ai(n){nu(this,n);this._d=new Date(null!=n._d?n._d.getTime():NaN);this.isValid()||(this._d=new Date(NaN));!1===tr&&(tr=!0,t.updateOffset(this),tr=!1)}function yt(n){return n instanceof ai||null!=n&&null!=n._isAMomentObject}function d(n){return n<0?Math.ceil(n)||0:Math.floor(n)}function f(n){var t=+n,i=0;return 0!==t&&isFinite(t)&&(i=d(t)),i}function af(n,t,i){for(var e=Math.min(n.length,t.length),o=Math.abs(n.length-t.length),u=0,r=0;r<e;r++)(i&&n[r]!==t[r]||!i&&f(n[r])!==f(t[r]))&&u++;return u+o}function vf(n){!1===t.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+n)}function g(n,i){var r=!0;return vt(function(){var u,e,f,o;if(null!=t.deprecationHandler&&t.deprecationHandler(null,n),r){for(e=[],f=0;f<arguments.length;f++){if(u="","object"==typeof arguments[f]){for(o in u+="\n["+f+"] ",arguments[0])u+=o+": "+arguments[0][o]+", ";u=u.slice(0,-2)}else u=arguments[f];e.push(u)}vf(n+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);r=!1}return i.apply(this,arguments)},i)}function pf(n,i){null!=t.deprecationHandler&&t.deprecationHandler(n,i);tu[n]||(vf(i),tu[n]=!0)}function et(n){return n instanceof Function||"[object Function]"===Object.prototype.toString.call(n)}function wf(n,t){var i,r=vt({},n);for(i in t)l(t,i)&&(li(n[i])&&li(t[i])?(r[i]={},vt(r[i],n[i]),vt(r[i],t[i])):null!=t[i]?r[i]=t[i]:delete r[i]);for(i in n)l(n,i)&&!l(t,i)&&li(n[i])&&(r[i]=vt({},r[i]));return r}function iu(n){null!=n&&this.set(n)}function w(n,t){var i=n.toLowerCase();ui[i]=ui[i+"s"]=ui[t]=n}function nt(n){if("string"==typeof n)return ui[n]||ui[n.toLowerCase()]}function ru(n){var i,t,r={};for(t in n)l(n,t)&&(i=nt(t))&&(r[i]=n[t]);return r}function b(n,t){uu[n]=t}function ct(n,t,i){var r=""+Math.abs(n),u=t-r.length;return(n>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,u)).toString().substr(1)+r}function r(n,t,i,r){var u=r;"string"==typeof r&&(u=function(){return this[r]()});n&&(fi[n]=u);t&&(fi[t[0]]=function(){return ct(u.apply(this,arguments),t[1],t[2])});i&&(fi[i]=function(){return this.localeData().ordinal(u.apply(this,arguments),n)})}function rr(n,t){return n.isValid()?(t=kf(t,n.localeData()),fu[t]=fu[t]||function(n){for(var u,t=n.match(bf),i=0,r=t.length;i<r;i++)t[i]=fi[t[i]]?fi[t[i]]:(u=t[i]).match(/\[[\s\S]/)?u.replace(/^\[|\]$/g,""):u.replace(/\\/g,"");return function(i){for(var f="",u=0;u<r;u++)f+=et(t[u])?t[u].call(i,n):t[u];return f}}(t),fu[t](n)):n.localeData().invalidDate()}function kf(n,t){function r(n){return t.longDateFormat(n)||n}var i=5;for(ir.lastIndex=0;i>=0&&ir.test(n);)n=n.replace(ir,r),ir.lastIndex=0,i-=1;return n}function i(n,t,i){su[n]=et(t)?t:function(n){return n&&i?i:t}}function es(n,t){return l(su,n)?su[n](t._strict,t._locale):new RegExp(gt(n.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(n,t,i,r,u){return t||i||r||u})))}function gt(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function h(n,t){var i,r=t;for("string"==typeof n&&(n=[n]),dt(t)&&(r=function(n,i){i[t]=f(n)}),i=0;i<n.length;i++)hr[n[i]]=r}function yi(n,t){h(n,function(n,i,r,u){r._w=r._w||{};t(n,r._w,r,u)})}function os(n,t,i){null!=t&&l(hr,n)&&hr[n](t,i._a,i,n)}function pi(n){return cr(n)?366:365}function cr(n){return n%4==0&&n%100!=0||n%400==0}function ei(n,i){return function(r){return null!=r?(ie(this,n,r),t.updateOffset(this,i),this):lr(this,n)}}function lr(n,t){return n.isValid()?n._d["get"+(n._isUTC?"UTC":"")+t]():NaN}function ie(n,t,i){n.isValid()&&!isNaN(i)&&("FullYear"===t&&cr(n.year())&&1===n.month()&&29===n.date()?n._d["set"+(n._isUTC?"UTC":"")+t](i,n.month(),ar(i,n.month())):n._d["set"+(n._isUTC?"UTC":"")+t](i))}function ar(n,t){if(isNaN(n)||isNaN(t))return NaN;var i,r=(t%(i=12)+i)%i;return n+=(t-r)/12,1===r?cr(n)?29:28:31-r%7%2}function fe(n,t){var i;if(!n.isValid())return n;if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!dt(t=n.localeData().monthsParse(t)))return n;return i=Math.min(n.date(),ar(n.year(),t)),n._d["set"+(n._isUTC?"UTC":"")+"Month"](t,i),n}function ee(n){return null!=n?(fe(this,n),t.updateOffset(this,!0),this):lr(this,"Month")}function he(){function f(n,t){return t.length-n.length}for(var i,r=[],u=[],t=[],n=0;n<12;n++)i=ft([2e3,n]),r.push(this.monthsShort(i,"")),u.push(this.months(i,"")),t.push(this.months(i,"")),t.push(this.monthsShort(i,""));for(r.sort(f),u.sort(f),t.sort(f),n=0;n<12;n++)r[n]=gt(r[n]),u[n]=gt(u[n]);for(n=0;n<24;n++)t[n]=gt(t[n]);this._monthsRegex=new RegExp("^("+t.join("|")+")","i");this._monthsShortRegex=this._monthsRegex;this._monthsStrictRegex=new RegExp("^("+u.join("|")+")","i");this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function wi(n){var t=new Date(Date.UTC.apply(null,arguments));return n<100&&n>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(n),t}function vr(n,t,i){var r=7+t-i;return-((7+wi(n,0,r).getUTCDay()-t)%7)+r-1}function ce(n,t,i,r,u){var e,o,f=1+7*(t-1)+(7+i-r)%7+vr(n,r,u);return f<=0?o=pi(e=n-1)+f:f>pi(n)?(e=n+1,o=f-pi(n)):(e=n,o=f),{year:e,dayOfYear:o}}function bi(n,t,i){var u,f,e=vr(n.year(),t,i),r=Math.floor((n.dayOfYear()-e-1)/7)+1;return r<1?u=r+ti(f=n.year()-1,t,i):r>ti(n.year(),t,i)?(u=r-ti(n.year(),t,i),f=n.year()+1):(f=n.year(),u=r),{week:u,year:f}}function ti(n,t,i){var r=vr(n,t,i),u=vr(n+1,t,i);return(pi(n)-r+u)/7}function cu(){function u(n,t){return t.length-n.length}for(var f,e,o,s,h=[],i=[],r=[],t=[],n=0;n<7;n++)f=ft([2e3,1]).day(n),e=this.weekdaysMin(f,""),o=this.weekdaysShort(f,""),s=this.weekdays(f,""),h.push(e),i.push(o),r.push(s),t.push(e),t.push(o),t.push(s);for(h.sort(u),i.sort(u),r.sort(u),t.sort(u),n=0;n<7;n++)i[n]=gt(i[n]),r[n]=gt(r[n]),t[n]=gt(t[n]);this._weekdaysRegex=new RegExp("^("+t.join("|")+")","i");this._weekdaysShortRegex=this._weekdaysRegex;this._weekdaysMinRegex=this._weekdaysRegex;this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i");this._weekdaysShortStrictRegex=new RegExp("^("+i.join("|")+")","i");this._weekdaysMinStrictRegex=new RegExp("^("+h.join("|")+")","i")}function lu(){return this.hours()%12||12}function ae(n,t){r(n,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ve(n,t){return t._meridiemParse}function pe(n){return n?n.toLowerCase().replace("_","-"):n}function au(n){var t=null;if(!y[n]&&"undefined"!=typeof module&&module&&module.exports)try{t=yr._abbr;require("./locale/"+n);oi(t)}catch(n){}return y[n]}function oi(n,t){var i;return n&&(i=p(t)?pt(n):vu(n,t))&&(yr=i),yr._abbr}function vu(n,t){if(null!==t){var i=ye;if(t.abbr=n,null!=y[n])pf("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=y[n]._config;else if(null!=t.parentLocale){if(null==y[t.parentLocale])return ki[t.parentLocale]||(ki[t.parentLocale]=[]),ki[t.parentLocale].push({name:n,config:t}),null;i=y[t.parentLocale]._config}return y[n]=new iu(wf(i,t)),ki[n]&&ki[n].forEach(function(n){vu(n.name,n.config)}),oi(n),y[n]}return delete y[n],null}function pt(n){var t;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return yr;if(!tt(n)){if(t=au(n))return t;n=[n]}return function(n){for(var t,i,f,u,r=0;r<n.length;){for(t=(u=pe(n[r]).split("-")).length,i=(i=pe(n[r+1]))?i.split("-"):null;t>0;){if(f=au(u.slice(0,t).join("-")))return f;if(i&&i.length>=t&&af(u,i,!0)>=t-1)break;t--}r++}return null}(n)}function yu(n){var i,t=n._a;return t&&-2===u(n).overflow&&(i=t[lt]<0||t[lt]>11?lt:t[ot]<1||t[ot]>ar(t[it],t[lt])?ot:t[v]<0||t[v]>24||24===t[v]&&(0!==t[rt]||0!==t[at]||0!==t[ni])?v:t[rt]<0||t[rt]>59?rt:t[at]<0||t[at]>59?at:t[ni]<0||t[ni]>999?ni:-1,u(n)._overflowDayOfYear&&(i<it||i>ot)&&(i=ot),u(n)._overflowWeeks&&-1===i&&(i=ss),u(n)._overflowWeekday&&-1===i&&(i=hs),u(n).overflow=i),n}function si(n,t,i){return null!=n?n:null!=t?t:i}function pu(n){var i,r,f,s,e,o=[];if(!n._d){for(f=function(n){var i=new Date(t.now());return n._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()]}(n),n._w&&null==n._a[ot]&&null==n._a[lt]&&function(n){var t,o,f,i,r,e,h,s,l;null!=(t=n._w).GG||null!=t.W||null!=t.E?(r=1,e=4,o=si(t.GG,n._a[it],bi(c(),1,4).year),f=si(t.W,1),((i=si(t.E,1))<1||i>7)&&(s=!0)):(r=n._locale._week.dow,e=n._locale._week.doy,l=bi(c(),r,e),o=si(t.gg,n._a[it],l.year),f=si(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(s=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(s=!0)):i=r);f<1||f>ti(o,r,e)?u(n)._overflowWeeks=!0:null!=s?u(n)._overflowWeekday=!0:(h=ce(o,f,i,r,e),n._a[it]=h.year,n._dayOfYear=h.dayOfYear)}(n),null!=n._dayOfYear&&(e=si(n._a[it],f[it]),(n._dayOfYear>pi(e)||0===n._dayOfYear)&&(u(n)._overflowDayOfYear=!0),r=wi(e,0,n._dayOfYear),n._a[lt]=r.getUTCMonth(),n._a[ot]=r.getUTCDate()),i=0;i<3&&null==n._a[i];++i)n._a[i]=o[i]=f[i];for(;i<7;i++)n._a[i]=o[i]=null==n._a[i]?2===i?1:0:n._a[i];24===n._a[v]&&0===n._a[rt]&&0===n._a[at]&&0===n._a[ni]&&(n._nextDay=!0,n._a[v]=0);n._d=(n._useUTC?wi:function(n,t,i,r,u,f,e){var o=new Date(n,t,i,r,u,f,e);return n<100&&n>=0&&isFinite(o.getFullYear())&&o.setFullYear(n),o}).apply(null,o);s=n._useUTC?n._d.getUTCDay():n._d.getDay();null!=n._tzm&&n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);n._nextDay&&(n._a[v]=24);n._w&&void 0!==n._w.d&&n._w.d!==s&&(u(n).weekdayMismatch=!0)}}function we(n){var t,r,o,e,f,s,h=n._i,i=bs.exec(h)||ks.exec(h);if(i){for(u(n).iso=!0,t=0,r=pr.length;t<r;t++)if(pr[t][1].exec(i[1])){e=pr[t][0];o=!1!==pr[t][2];break}if(null==e)return void(n._isValid=!1);if(i[3]){for(t=0,r=wu.length;t<r;t++)if(wu[t][1].exec(i[3])){f=(i[2]||" ")+wu[t][0];break}if(null==f)return void(n._isValid=!1)}if(!o&&null!=f)return void(n._isValid=!1);if(i[4]){if(!ds.exec(i[4]))return void(n._isValid=!1);s="Z"}n._f=e+(f||"")+(s||"");bu(n)}else n._isValid=!1}function nh(n){var t=parseInt(n,10);return t<=49?2e3+t:t<=999?1900+t:t}function de(n){var e,o,s,h,c,i,r,t=be.exec(n._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()),f;if(t){if(f=(e=t[4],o=t[3],s=t[2],h=t[5],c=t[6],i=t[7],r=[nh(e),ue.indexOf(o),parseInt(s,10),parseInt(h,10),parseInt(c,10)],i&&r.push(parseInt(i,10)),r),!function(n,t,i){return!n||le.indexOf(n)===new Date(t[0],t[1],t[2]).getDay()||(u(i).weekdayMismatch=!0,i._isValid=!1,!1)}(t[1],f,n))return;n._a=f;n._tzm=function(n,t,i){if(n)return ke[n];if(t)return 0;var r=parseInt(i,10),u=r%100;return(r-u)/100*60+u}(t[8],t[9],t[10]);n._d=wi.apply(null,n._a);n._d.setUTCMinutes(n._d.getUTCMinutes()-n._tzm);u(n).rfc2822=!0}else n._isValid=!1}function bu(n){if(n._f!==t.ISO_8601)if(n._f!==t.RFC_2822){n._a=[];u(n).empty=!0;for(var r,f,s,i=""+n._i,c=i.length,h=0,o=kf(n._f,n._locale).match(bf)||[],e=0;e<o.length;e++)f=o[e],(r=(i.match(es(f,n))||[])[0])&&((s=i.substr(0,i.indexOf(r))).length>0&&u(n).unusedInput.push(s),i=i.slice(i.indexOf(r)+r.length),h+=r.length),fi[f]?(r?u(n).empty=!1:u(n).unusedTokens.push(f),os(f,r,n)):n._strict&&!r&&u(n).unusedTokens.push(f);u(n).charsLeftOver=c-h;i.length>0&&u(n).unusedInput.push(i);n._a[v]<=12&&!0===u(n).bigHour&&n._a[v]>0&&(u(n).bigHour=void 0);u(n).parsedDateParts=n._a.slice(0);u(n).meridiem=n._meridiem;n._a[v]=function(n,t,i){var r;return null==i?t:null!=n.meridiemHour?n.meridiemHour(t,i):null!=n.isPM?((r=n.isPM(i))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(n._locale,n._a[v],n._meridiem);pu(n);yu(n)}else de(n);else we(n)}function ge(n){var i=n._i,r=n._f;return n._locale=n._locale||pt(n._l),null===i||void 0===r&&""===i?gi({nullInput:!0}):("string"==typeof i&&(n._i=i=n._locale.preparse(i)),yt(i)?new ai(yu(i)):(di(i)?n._d=i:tt(r)?function(n){var t,e,f,r,i;if(0===n._f.length)return u(n).invalidFormat=!0,void(n._d=new Date(NaN));for(r=0;r<n._f.length;r++)i=0,t=nu({},n),null!=n._useUTC&&(t._useUTC=n._useUTC),t._f=n._f[r],bu(t),gr(t)&&(i+=u(t).charsLeftOver,i+=10*u(t).unusedTokens.length,u(t).score=i,(null==f||i<f)&&(f=i,e=t));vt(n,e||t)}(n):r?bu(n):function(n){var i=n._i;p(i)?n._d=new Date(t.now()):di(i)?n._d=new Date(i.valueOf()):"string"==typeof i?function(n){var i=gs.exec(n._i);null===i?(we(n),!1===n._isValid&&(delete n._isValid,de(n),!1===n._isValid&&(delete n._isValid,t.createFromInputFallback(n)))):n._d=new Date(+i[1])}(n):tt(i)?(n._a=lf(i.slice(0),function(n){return parseInt(n,10)}),pu(n)):li(i)?function(n){if(!n._d){var t=ru(n._i);n._a=lf([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(n){return n&&parseInt(n,10)});pu(n)}}(n):dt(i)?n._d=new Date(i):t.createFromInputFallback(n)}(n),gr(n)||(n._d=null),n))}function no(n,t,i,r,u){var e,f={};return!0!==i&&!1!==i||(r=i,i=void 0),(li(n)&&function(n){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(n).length;for(var t in n)if(n.hasOwnProperty(t))return!1;return!0}(n)||tt(n)&&0===n.length)&&(n=void 0),f._isAMomentObject=!0,f._useUTC=f._isUTC=u,f._l=i,f._i=n,f._f=t,f._strict=r,(e=new ai(yu(ge(f))))._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function c(n,t,i,r){return no(n,t,i,r,!1)}function ro(n,t){var r,i;if(1===t.length&&tt(t[0])&&(t=t[0]),!t.length)return c();for(r=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][n](r)||(r=t[i]);return r}function wr(n){var t=ru(n),i=t.year||0,r=t.quarter||0,u=t.month||0,e=t.week||0,o=t.day||0,s=t.hour||0,h=t.minute||0,c=t.second||0,l=t.millisecond||0;this._isValid=function(n){var i,r,t;for(i in n)if(-1===a.call(hi,i)||null!=n[i]&&isNaN(n[i]))return!1;for(r=!1,t=0;t<hi.length;++t)if(n[hi[t]]){if(r)return!1;parseFloat(n[hi[t]])!==f(n[hi[t]])&&(r=!0)}return!0}(t);this._milliseconds=+l+1e3*c+6e4*h+36e5*s;this._days=+o+7*e;this._months=+u+3*r+12*i;this._data={};this._locale=pt();this._bubble()}function ku(n){return n instanceof wr}function du(n){return n<0?-1*Math.round(-1*n):Math.round(n)}function uo(n,t){r(n,0,0,function(){var n=this.utcOffset(),i="+";return n<0&&(n=-n,i="-"),i+ct(~~(n/60),2)+t+ct(~~n%60,2)})}function gu(n,t){var u=(t||"").match(n),i,r;return null===u?null:(i=((u[u.length-1]||[])+"").match(fo)||["-",0,0],r=60*i[1]+f(i[2]),0===r?0:"+"===i[0]?r:-r)}function nf(n,i){var r,u;return i._isUTC?(r=i.clone(),u=(yt(n)||di(n)?n.valueOf():c(n).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+u),t.updateOffset(r,!1),r):c(n).local()}function tf(n){return 15*-Math.round(n._d.getTimezoneOffset()/15)}function eo(){return!!this.isValid()&&this._isUTC&&0===this._offset}function ut(n,t){var u,e,o,r=n,i=null;return ku(n)?r={ms:n._milliseconds,d:n._days,M:n._months}:dt(n)?(r={},t?r[t]=n:r.milliseconds=n):(i=oo.exec(n))?(u="-"===i[1]?-1:1,r={y:0,d:f(i[ot])*u,h:f(i[v])*u,m:f(i[rt])*u,s:f(i[at])*u,ms:f(du(1e3*i[ni]))*u}):(i=so.exec(n))?(u="-"===i[1]?-1:(i[1],1),r={y:ii(i[2],u),M:ii(i[3],u),w:ii(i[4],u),d:ii(i[5],u),h:ii(i[6],u),m:ii(i[7],u),s:ii(i[8],u)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=function(n,t){var i;return!n.isValid()||!t.isValid()?{milliseconds:0,months:0}:(t=nf(t,n),n.isBefore(t)?i=ho(n,t):((i=ho(t,n)).milliseconds=-i.milliseconds,i.months=-i.months),i)}(c(r.from),c(r.to)),(r={}).ms=o.milliseconds,r.M=o.months),e=new wr(r),ku(n)&&l(n,"_locale")&&(e._locale=n._locale),e}function ii(n,t){var i=n&&parseFloat(n.replace(",","."));return(isNaN(i)?0:i)*t}function ho(n,t){var i={milliseconds:0,months:0};return i.months=t.month()-n.month()+12*(t.year()-n.year()),n.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+n.clone().add(i.months,"M"),i}function co(n,t){return function(i,r){var u;return null===r||isNaN(+r)||(pf(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),u=i,i=r,r=u),lo(this,ut(i="string"==typeof i?+i:i,r),n),this}}function lo(n,i,r,u){var o=i._milliseconds,f=du(i._days),e=du(i._months);n.isValid()&&(u=null==u||u,e&&fe(n,lr(n,"Month")+e*r),f&&ie(n,"Date",lr(n,"Date")+f*r),o&&n._d.setTime(n._d.valueOf()+o*r),u&&t.updateOffset(n,f||e))}function rf(n,t){var r=12*(t.year()-n.year())+(t.month()-n.month()),i=n.clone().add(r,"months");return-(r+(t-i<0?(t-i)/(i-n.clone().add(r-1,"months")):(t-i)/(n.clone().add(r+1,"months")-i)))||0}function yo(n){var t;return void 0===n?this._locale._abbr:(null!=(t=pt(n))&&(this._locale=t),this)}function po(){return this._locale}function br(n,t){r(0,[n,n.length],0,t)}function wo(n,t,i,r,u){var f;return null==n?bi(this,r,u).year:(t>(f=ti(n,r,u))&&(t=f),function(n,t,i,r,u){var e=ce(n,t,i,r,u),f=wi(e.year,0,e.dayOfYear);return this.year(f.getUTCFullYear()),this.month(f.getUTCMonth()),this.date(f.getUTCDate()),this}.call(this,n,t,i,r,u))}function th(n,t){t[ni]=f(1e3*("0."+n))}function ns(n){return n}function kr(n,t,i,r){var u=pt(),f=ft().set(r,t);return u[i](f,n)}function ts(n,t,i){if(dt(n)&&(t=n,n=void 0),n=n||"",null!=t)return kr(n,t,i,"month");for(var u=[],r=0;r<12;r++)u[r]=kr(n,r,i,"month");return u}function ef(n,t,i,r){var u,o,f,e;if("boolean"==typeof n?(dt(t)&&(i=t,t=void 0),t=t||""):(i=t=n,n=!1,dt(t)&&(i=t,t=void 0),t=t||""),o=pt(),f=n?o._week.dow:0,null!=i)return kr(t,(i+f)%7,r,"day");for(e=[],u=0;u<7;u++)e[u]=kr(t,(u+f)%7,r,"day");return e}function is(n,t,i,r){var u=ut(t,i);return n._milliseconds+=r*u._milliseconds,n._days+=r*u._days,n._months+=r*u._months,n._bubble()}function rs(n){return n<0?Math.floor(n):Math.ceil(n)}function us(n){return 4800*n/146097}function of(n){return 146097*n/4800}function bt(n){return function(){return this.as(n)}}function ri(n){return function(){return this.isValid()?this._data[n]:NaN}}function ci(n){return(n>0)-(n<0)||+n}function dr(){if(!this.isValid())return this.localeData().invalidDate();var t,o,i=sf(this._milliseconds)/1e3,v=sf(this._days),s=sf(this._months);t=d(i/60);o=d(t/60);i%=60;t%=60;var h=d(s/12),c=s%=12,l=v,r=o,u=t,f=i?i.toFixed(3).replace(/\.?0+$/,""):"",n=this.asSeconds();if(!n)return"P0D";var y=n<0?"-":"",a=ci(this._months)!==ci(n)?"-":"",p=ci(this._days)!==ci(n)?"-":"",e=ci(this._milliseconds)!==ci(n)?"-":"";return y+"P"+(h?a+h+"Y":"")+(c?a+c+"M":"")+(l?p+l+"D":"")+(r||u||f?"T":"")+(r?e+r+"H":"")+(u?e+u+"M":"")+(f?e+f+"S":"")}var hf,cf,nr,tr,yf,tu,ui,uu,hr,a,hu,oe,se,be,ke,to,io,hi,fo,oo,so,ao,vo,uf,ff,bo,wt,ko,go,n,o,st,e;cf=Array.prototype.some?Array.prototype.some:function(n){for(var i=Object(this),r=i.length>>>0,t=0;t<r;t++)if(t in i&&n.call(this,i[t],t,i))return!0;return!1};nr=t.momentProperties=[];tr=!1;tu={};t.suppressDeprecationWarnings=!1;t.deprecationHandler=null;yf=Object.keys?Object.keys:function(n){var t,i=[];for(t in n)l(n,t)&&i.push(t);return i};ui={};uu={};var bf=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ir=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,fu={},fi={};var df=/\d/,k=/\d\d/,gf=/\d{3}/,eu=/\d{4}/,ur=/[+-]?\d{6}/,s=/\d\d?/,ne=/\d\d\d\d?/,te=/\d\d\d\d\d\d?/,fr=/\d{1,3}/,ou=/\d{1,4}/,er=/[+-]?\d{1,6}/,or=/[+-]?\d+/,fs=/Z|[+-]\d\d:?\d\d/gi,sr=/Z|[+-]\d\d(?::?\d\d)?/gi,vi=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,su={};hr={};var it=0,lt=1,ot=2,v=3,rt=4,at=5,ni=6,ss=7,hs=8;r("Y",0,0,function(){var n=this.year();return n<=9999?""+n:"+"+n});r(0,["YY",2],0,function(){return this.year()%100});r(0,["YYYY",4],0,"year");r(0,["YYYYY",5],0,"year");r(0,["YYYYYY",6,!0],0,"year");w("year","y");b("year",1);i("Y",or);i("YY",s,k);i("YYYY",ou,eu);i("YYYYY",er,ur);i("YYYYYY",er,ur);h(["YYYYY","YYYYYY"],it);h("YYYY",function(n,i){i[it]=2===n.length?t.parseTwoDigitYear(n):f(n)});h("YY",function(n,i){i[it]=t.parseTwoDigitYear(n)});h("Y",function(n,t){t[it]=parseInt(n,10)});t.parseTwoDigitYear=function(n){return f(n)+(f(n)>68?1900:2e3)};hu=ei("FullYear",!0);a=Array.prototype.indexOf?Array.prototype.indexOf:function(n){for(var t=0;t<this.length;++t)if(this[t]===n)return t;return-1};r("M",["MM",2],"Mo",function(){return this.month()+1});r("MMM",0,0,function(n){return this.localeData().monthsShort(this,n)});r("MMMM",0,0,function(n){return this.localeData().months(this,n)});w("month","M");b("month",8);i("M",s);i("MM",s,k);i("MMM",function(n,t){return t.monthsShortRegex(n)});i("MMMM",function(n,t){return t.monthsRegex(n)});h(["M","MM"],function(n,t){t[lt]=f(n)-1});h(["MMM","MMMM"],function(n,t,i,r){var f=i._locale.monthsParse(n,r,i._strict);null!=f?t[lt]=f:u(i).invalidMonth=n});var re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,cs="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ue="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");oe=vi;se=vi;r("w",["ww",2],"wo","week");r("W",["WW",2],"Wo","isoWeek");w("week","w");w("isoWeek","W");b("week",5);b("isoWeek",5);i("w",s);i("ww",s,k);i("W",s);i("WW",s,k);yi(["w","ww","W","WW"],function(n,t,i,r){t[r.substr(0,1)]=f(n)});r("d",0,"do","day");r("dd",0,0,function(n){return this.localeData().weekdaysMin(this,n)});r("ddd",0,0,function(n){return this.localeData().weekdaysShort(this,n)});r("dddd",0,0,function(n){return this.localeData().weekdays(this,n)});r("e",0,0,"weekday");r("E",0,0,"isoWeekday");w("day","d");w("weekday","e");w("isoWeekday","E");b("day",11);b("weekday",11);b("isoWeekday",11);i("d",s);i("e",s);i("E",s);i("dd",function(n,t){return t.weekdaysMinRegex(n)});i("ddd",function(n,t){return t.weekdaysShortRegex(n)});i("dddd",function(n,t){return t.weekdaysRegex(n)});yi(["dd","ddd","dddd"],function(n,t,i,r){var f=i._locale.weekdaysParse(n,r,i._strict);null!=f?t.d=f:u(i).invalidWeekday=n});yi(["d","e","E"],function(n,t,i,r){t[r]=f(n)});var ls="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),le="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),as="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),vs=vi,ys=vi,ps=vi;r("H",["HH",2],0,"hour");r("h",["hh",2],0,lu);r("k",["kk",2],0,function(){return this.hours()||24});r("hmm",0,0,function(){return""+lu.apply(this)+ct(this.minutes(),2)});r("hmmss",0,0,function(){return""+lu.apply(this)+ct(this.minutes(),2)+ct(this.seconds(),2)});r("Hmm",0,0,function(){return""+this.hours()+ct(this.minutes(),2)});r("Hmmss",0,0,function(){return""+this.hours()+ct(this.minutes(),2)+ct(this.seconds(),2)});ae("a",!0);ae("A",!1);w("hour","h");b("hour",13);i("a",ve);i("A",ve);i("H",s);i("h",s);i("k",s);i("HH",s,k);i("hh",s,k);i("kk",s,k);i("hmm",ne);i("hmmss",te);i("Hmm",ne);i("Hmmss",te);h(["H","HH"],v);h(["k","kk"],function(n,t){var i=f(n);t[v]=24===i?0:i});h(["a","A"],function(n,t,i){i._isPm=i._locale.isPM(n);i._meridiem=n});h(["h","hh"],function(n,t,i){t[v]=f(n);u(i).bigHour=!0});h("hmm",function(n,t,i){var r=n.length-2;t[v]=f(n.substr(0,r));t[rt]=f(n.substr(r));u(i).bigHour=!0});h("hmmss",function(n,t,i){var r=n.length-4,e=n.length-2;t[v]=f(n.substr(0,r));t[rt]=f(n.substr(r,2));t[at]=f(n.substr(e));u(i).bigHour=!0});h("Hmm",function(n,t){var i=n.length-2;t[v]=f(n.substr(0,i));t[rt]=f(n.substr(i))});h("Hmmss",function(n,t){var i=n.length-4,r=n.length-2;t[v]=f(n.substr(0,i));t[rt]=f(n.substr(i,2));t[at]=f(n.substr(r))});var yr,ws=ei("Hours",!0),ye={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:cs,monthsShort:ue,week:{dow:0,doy:6},weekdays:ls,weekdaysMin:as,weekdaysShort:le,meridiemParse:/[ap]\.?m?\.?/i},y={},ki={};var bs=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ks=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ds=/Z|[+-]\d\d(?::?\d\d)?/,pr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],wu=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],gs=/^\/?Date\((\-?\d+)/i;for(be=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ke={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},t.createFromInputFallback=g("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){},to=g("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=c.apply(null,arguments);return this.isValid()&&n.isValid()?n<this?this:n:gi()}),io=g("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var n=c.apply(null,arguments);return this.isValid()&&n.isValid()?n>this?this:n:gi()}),hi=["year","quarter","month","week","day","hour","minute","second","millisecond"],uo("Z",":"),uo("ZZ",""),i("Z",sr),i("ZZ",sr),h(["Z","ZZ"],function(n,t,i){i._useUTC=!0;i._tzm=gu(sr,n)}),fo=/([\+\-]|\d\d)/gi,t.updateOffset=function(){},oo=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,so=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,ut.fn=wr.prototype,ut.invalid=function(){return ut(NaN)},ao=co(1,"add"),vo=co(-1,"subtract"),t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",uf=g("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(n){return void 0===n?this.localeData():this.locale(n)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),br("gggg","weekYear"),br("ggggg","weekYear"),br("GGGG","isoWeekYear"),br("GGGGG","isoWeekYear"),w("weekYear","gg"),w("isoWeekYear","GG"),b("weekYear",1),b("isoWeekYear",1),i("G",or),i("g",or),i("GG",s,k),i("gg",s,k),i("GGGG",ou,eu),i("gggg",ou,eu),i("GGGGG",er,ur),i("ggggg",er,ur),yi(["gggg","ggggg","GGGG","GGGGG"],function(n,t,i,r){t[r.substr(0,2)]=f(n)}),yi(["gg","GG"],function(n,i,r,u){i[u]=t.parseTwoDigitYear(n)}),r("Q",0,"Qo","quarter"),w("quarter","Q"),b("quarter",7),i("Q",df),h("Q",function(n,t){t[lt]=3*(f(n)-1)}),r("D",["DD",2],"Do","date"),w("date","D"),b("date",9),i("D",s),i("DD",s,k),i("Do",function(n,t){return n?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),h(["D","DD"],ot),h("Do",function(n,t){t[ot]=f(n.match(s)[0])}),ff=ei("Date",!0),r("DDD",["DDDD",3],"DDDo","dayOfYear"),w("dayOfYear","DDD"),b("dayOfYear",4),i("DDD",fr),i("DDDD",gf),h(["DDD","DDDD"],function(n,t,i){i._dayOfYear=f(n)}),r("m",["mm",2],0,"minute"),w("minute","m"),b("minute",14),i("m",s),i("mm",s,k),h(["m","mm"],rt),bo=ei("Minutes",!1),r("s",["ss",2],0,"second"),w("second","s"),b("second",15),i("s",s),i("ss",s,k),h(["s","ss"],at),ko=ei("Seconds",!1),r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),w("millisecond","ms"),b("millisecond",16),i("S",fr,df),i("SS",fr,k),i("SSS",fr,gf),wt="SSSS";wt.length<=9;wt+="S")i(wt,/\d+/);for(wt="S";wt.length<=9;wt+="S")h(wt,th);go=ei("Milliseconds",!1);r("z",0,0,"zoneAbbr");r("zz",0,0,"zoneName");n=ai.prototype;n.add=ao;n.calendar=function(n,i){var u=n||c(),f=nf(u,this).startOf("day"),r=t.calendarFormat(this,f)||"sameElse",e=i&&(et(i[r])?i[r].call(this,u):i[r]);return this.format(e||this.localeData().calendar(r,this,c(u)))};n.clone=function(){return new ai(this)};n.diff=function(n,t,i){var r,f,u;if(!this.isValid())return NaN;if(!(r=nf(n,this)).isValid())return NaN;switch(f=6e4*(r.utcOffset()-this.utcOffset()),t=nt(t)){case"year":u=rf(this,r)/12;break;case"month":u=rf(this,r);break;case"quarter":u=rf(this,r)/3;break;case"second":u=(this-r)/1e3;break;case"minute":u=(this-r)/6e4;break;case"hour":u=(this-r)/36e5;break;case"day":u=(this-r-f)/864e5;break;case"week":u=(this-r-f)/6048e5;break;default:u=this-r}return i?u:d(u)};n.endOf=function(n){return void 0===(n=nt(n))||"millisecond"===n?this:("date"===n&&(n="day"),this.startOf(n).add(1,"isoWeek"===n?"week":n).subtract(1,"ms"))};n.format=function(n){n||(n=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var i=rr(this,n);return this.localeData().postformat(i)};n.from=function(n,t){return this.isValid()&&(yt(n)&&n.isValid()||c(n).isValid())?ut({to:this,from:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()};n.fromNow=function(n){return this.from(c(),n)};n.to=function(n,t){return this.isValid()&&(yt(n)&&n.isValid()||c(n).isValid())?ut({from:this,to:n}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()};n.toNow=function(n){return this.to(c(),n)};n.get=function(n){return et(this[n=nt(n)])?this[n]():this};n.invalidAt=function(){return u(this).overflow};n.isAfter=function(n,t){var i=yt(n)?n:c(n);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=nt(p(t)?"millisecond":t))?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())};n.isBefore=function(n,t){var i=yt(n)?n:c(n);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=nt(p(t)?"millisecond":t))?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())};n.isBetween=function(n,t,i,r){return("("===(r=r||"()")[0]?this.isAfter(n,i):!this.isBefore(n,i))&&(")"===r[1]?this.isBefore(t,i):!this.isAfter(t,i))};n.isSame=function(n,t){var i,r=yt(n)?n:c(n);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=nt(t||"millisecond"))?this.valueOf()===r.valueOf():(i=r.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))};n.isSameOrAfter=function(n,t){return this.isSame(n,t)||this.isAfter(n,t)};n.isSameOrBefore=function(n,t){return this.isSame(n,t)||this.isBefore(n,t)};n.isValid=function(){return gr(this)};n.lang=uf;n.locale=yo;n.localeData=po;n.max=io;n.min=to;n.parsingFlags=function(){return vt({},u(this))};n.set=function(n,t){if("object"==typeof n)for(var r=function(n){var t=[];for(var i in n)t.push({unit:i,priority:uu[i]});return t.sort(function(n,t){return n.priority-t.priority}),t}(n=ru(n)),i=0;i<r.length;i++)this[r[i].unit](n[r[i].unit]);else if(et(this[n=nt(n)]))return this[n](t);return this};n.startOf=function(n){switch(n=nt(n)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===n&&this.weekday(0),"isoWeek"===n&&this.isoWeekday(1),"quarter"===n&&this.month(3*Math.floor(this.month()/3)),this};n.subtract=vo;n.toArray=function(){var n=this;return[n.year(),n.month(),n.date(),n.hour(),n.minute(),n.second(),n.millisecond()]};n.toObject=function(){var n=this;return{years:n.year(),months:n.month(),date:n.date(),hours:n.hours(),minutes:n.minutes(),seconds:n.seconds(),milliseconds:n.milliseconds()}};n.toDate=function(){return new Date(this.valueOf())};n.toISOString=function(n){if(!this.isValid())return null;var i=!0!==n,t=i?this.clone().utc():this;return t.year()<0||t.year()>9999?rr(t,i?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):et(Date.prototype.toISOString)?i?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",rr(t,"Z")):rr(t,i?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")};n.inspect=function(){var n,t;if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";n="moment";t="";this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var i="["+n+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",u=t+'[")]';return this.format(i+r+"-MM-DD[T]HH:mm:ss.SSS"+u)};n.toJSON=function(){return this.isValid()?this.toISOString():null};n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")};n.unix=function(){return Math.floor(this.valueOf()/1e3)};n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)};n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}};n.year=hu;n.isLeapYear=function(){return cr(this.year())};n.weekYear=function(n){return wo.call(this,n,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)};n.isoWeekYear=function(n){return wo.call(this,n,this.isoWeek(),this.isoWeekday(),1,4)};n.quarter=n.quarters=function(n){return null==n?Math.ceil((this.month()+1)/3):this.month(3*(n-1)+this.month()%3)};n.month=ee;n.daysInMonth=function(){return ar(this.year(),this.month())};n.week=n.weeks=function(n){var t=this.localeData().week(this);return null==n?t:this.add(7*(n-t),"d")};n.isoWeek=n.isoWeeks=function(n){var t=bi(this,1,4).week;return null==n?t:this.add(7*(n-t),"d")};n.weeksInYear=function(){var n=this.localeData()._week;return ti(this.year(),n.dow,n.doy)};n.isoWeeksInYear=function(){return ti(this.year(),1,4)};n.date=ff;n.day=n.days=function(n){if(!this.isValid())return null!=n?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=n?(n=function(n,t){return"string"!=typeof n?n:isNaN(n)?"number"==typeof(n=t.weekdaysParse(n))?n:null:parseInt(n,10)}(n,this.localeData()),this.add(n-t,"d")):t};n.weekday=function(n){if(!this.isValid())return null!=n?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==n?t:this.add(n-t,"d")};n.isoWeekday=function(n){if(!this.isValid())return null!=n?this:NaN;if(null!=n){var t=function(n,t){return"string"==typeof n?t.weekdaysParse(n)%7||7:isNaN(n)?null:n}(n,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7};n.dayOfYear=function(n){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==n?t:this.add(n-t,"d")};n.hour=n.hours=ws;n.minute=n.minutes=bo;n.second=n.seconds=ko;n.millisecond=n.milliseconds=go;n.utcOffset=function(n,i,r){var u,f=this._offset||0;if(!this.isValid())return null!=n?this:NaN;if(null!=n){if("string"==typeof n){if(null===(n=gu(sr,n)))return this}else Math.abs(n)<16&&!r&&(n*=60);return!this._isUTC&&i&&(u=tf(this)),this._offset=n,this._isUTC=!0,null!=u&&this.add(u,"m"),f!==n&&(!i||this._changeInProgress?lo(this,ut(n-f,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?f:tf(this)};n.utc=function(n){return this.utcOffset(0,n)};n.local=function(n){return this._isUTC&&(this.utcOffset(0,n),this._isUTC=!1,n&&this.subtract(tf(this),"m")),this};n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var n=gu(fs,this._i);null!=n?this.utcOffset(n):this.utcOffset(0,!0)}return this};n.hasAlignedHourOffset=function(n){return!!this.isValid()&&(n=n?c(n).utcOffset():0,(this.utcOffset()-n)%60==0)};n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()};n.isLocal=function(){return!!this.isValid()&&!this._isUTC};n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC};n.isUtc=eo;n.isUTC=eo;n.zoneAbbr=function(){return this._isUTC?"UTC":""};n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""};n.dates=g("dates accessor is deprecated. Use date instead.",ff);n.months=g("months accessor is deprecated. Use month instead",ee);n.years=g("years accessor is deprecated. Use year instead",hu);n.zone=g("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(n,t){return null!=n?("string"!=typeof n&&(n=-n),this.utcOffset(n,t),this):-this.utcOffset()});n.isDSTShifted=g("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var n,t;return p(this._isDSTShifted)?(n={},(nu(n,this),(n=ge(n))._a)?(t=n._isUTC?ft(n._a):c(n._a),this._isDSTShifted=this.isValid()&&af(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted):this._isDSTShifted});o=iu.prototype;o.calendar=function(n,t,i){var r=this._calendar[n]||this._calendar.sameElse;return et(r)?r.call(t,i):r};o.longDateFormat=function(n){var t=this._longDateFormat[n],i=this._longDateFormat[n.toUpperCase()];return t||!i?t:(this._longDateFormat[n]=i.replace(/MMMM|MM|DD|dddd/g,function(n){return n.slice(1)}),this._longDateFormat[n])};o.invalidDate=function(){return this._invalidDate};o.ordinal=function(n){return this._ordinal.replace("%d",n)};o.preparse=ns;o.postformat=ns;o.relativeTime=function(n,t,i,r){var u=this._relativeTime[i];return et(u)?u(n,t,i,r):u.replace(/%d/i,n)};o.pastFuture=function(n,t){var i=this._relativeTime[n>0?"future":"past"];return et(i)?i(t):i.replace(/%s/i,t)};o.set=function(n){var t;for(var i in n)et(t=n[i])?this[i]=t:this["_"+i]=t;this._config=n;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)};o.months=function(n,t){return n?tt(this._months)?this._months[n.month()]:this._months[(this._months.isFormat||re).test(t)?"format":"standalone"][n.month()]:tt(this._months)?this._months:this._months.standalone};o.monthsShort=function(n,t){return n?tt(this._monthsShort)?this._monthsShort[n.month()]:this._monthsShort[re.test(t)?"format":"standalone"][n.month()]:tt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone};o.monthsParse=function(n,t,i){var r,u,f;if(this._monthsParseExact)return function(n,t,i){var u,r,e,f=n.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],u=0;u<12;++u)e=ft([2e3,u]),this._shortMonthsParse[u]=this.monthsShort(e,"").toLocaleLowerCase(),this._longMonthsParse[u]=this.months(e,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=a.call(this._shortMonthsParse,f))?r:null:-1!==(r=a.call(this._longMonthsParse,f))?r:null:"MMM"===t?-1!==(r=a.call(this._shortMonthsParse,f))?r:-1!==(r=a.call(this._longMonthsParse,f))?r:null:-1!==(r=a.call(this._longMonthsParse,f))?r:-1!==(r=a.call(this._shortMonthsParse,f))?r:null}.call(this,n,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if((u=ft([2e3,r]),i&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(u,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(u,"").replace(".","")+"$","i")),i||this._monthsParse[r]||(f="^"+this.months(u,"")+"|^"+this.monthsShort(u,""),this._monthsParse[r]=new RegExp(f.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[r].test(n))||i&&"MMM"===t&&this._shortMonthsParse[r].test(n)||!i&&this._monthsParse[r].test(n))return r};o.monthsRegex=function(n){return this._monthsParseExact?(l(this,"_monthsRegex")||he.call(this),n?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=se),this._monthsStrictRegex&&n?this._monthsStrictRegex:this._monthsRegex)};o.monthsShortRegex=function(n){return this._monthsParseExact?(l(this,"_monthsRegex")||he.call(this),n?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=oe),this._monthsShortStrictRegex&&n?this._monthsShortStrictRegex:this._monthsShortRegex)};o.week=function(n){return bi(n,this._week.dow,this._week.doy).week};o.firstDayOfYear=function(){return this._week.doy};o.firstDayOfWeek=function(){return this._week.dow};o.weekdays=function(n,t){return n?tt(this._weekdays)?this._weekdays[n.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][n.day()]:tt(this._weekdays)?this._weekdays:this._weekdays.standalone};o.weekdaysMin=function(n){return n?this._weekdaysMin[n.day()]:this._weekdaysMin};o.weekdaysShort=function(n){return n?this._weekdaysShort[n.day()]:this._weekdaysShort};o.weekdaysParse=function(n,t,i){var r,u,f;if(this._weekdaysParseExact)return function(n,t,i){var f,r,e,u=n.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],f=0;f<7;++f)e=ft([2e3,1]).day(f),this._minWeekdaysParse[f]=this.weekdaysMin(e,"").toLocaleLowerCase(),this._shortWeekdaysParse[f]=this.weekdaysShort(e,"").toLocaleLowerCase(),this._weekdaysParse[f]=this.weekdays(e,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=a.call(this._weekdaysParse,u))?r:null:"ddd"===t?-1!==(r=a.call(this._shortWeekdaysParse,u))?r:null:-1!==(r=a.call(this._minWeekdaysParse,u))?r:null:"dddd"===t?-1!==(r=a.call(this._weekdaysParse,u))?r:-1!==(r=a.call(this._shortWeekdaysParse,u))?r:-1!==(r=a.call(this._minWeekdaysParse,u))?r:null:"ddd"===t?-1!==(r=a.call(this._shortWeekdaysParse,u))?r:-1!==(r=a.call(this._weekdaysParse,u))?r:-1!==(r=a.call(this._minWeekdaysParse,u))?r:null:-1!==(r=a.call(this._minWeekdaysParse,u))?r:-1!==(r=a.call(this._weekdaysParse,u))?r:-1!==(r=a.call(this._shortWeekdaysParse,u))?r:null}.call(this,n,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if((u=ft([2e3,1]).day(r),i&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(u,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(u,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(u,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(f="^"+this.weekdays(u,"")+"|^"+this.weekdaysShort(u,"")+"|^"+this.weekdaysMin(u,""),this._weekdaysParse[r]=new RegExp(f.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[r].test(n))||i&&"ddd"===t&&this._shortWeekdaysParse[r].test(n)||i&&"dd"===t&&this._minWeekdaysParse[r].test(n)||!i&&this._weekdaysParse[r].test(n))return r};o.weekdaysRegex=function(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||cu.call(this),n?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=vs),this._weekdaysStrictRegex&&n?this._weekdaysStrictRegex:this._weekdaysRegex)};o.weekdaysShortRegex=function(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||cu.call(this),n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ys),this._weekdaysShortStrictRegex&&n?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)};o.weekdaysMinRegex=function(n){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||cu.call(this),n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ps),this._weekdaysMinStrictRegex&&n?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)};o.isPM=function(n){return"p"===(n+"").toLowerCase().charAt(0)};o.meridiem=function(n,t,i){return n>11?i?"pm":"PM":i?"am":"AM"};oi("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var t=n%10;return n+(1===f(n%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}});t.lang=g("moment.lang is deprecated. Use moment.locale instead.",oi);t.langData=g("moment.langData is deprecated. Use moment.localeData instead.",pt);st=Math.abs;var ih=bt("ms"),rh=bt("s"),uh=bt("m"),fh=bt("h"),eh=bt("d"),oh=bt("w"),sh=bt("M"),hh=bt("y");var ch=ri("milliseconds"),lh=ri("seconds"),ah=ri("minutes"),vh=ri("hours"),yh=ri("days"),ph=ri("months"),wh=ri("years"),kt=Math.round,ht={ss:44,s:45,m:45,h:22,d:26,M:11},sf=Math.abs;return e=wr.prototype,e.isValid=function(){return this._isValid},e.abs=function(){var n=this._data;return this._milliseconds=st(this._milliseconds),this._days=st(this._days),this._months=st(this._months),n.milliseconds=st(n.milliseconds),n.seconds=st(n.seconds),n.minutes=st(n.minutes),n.hours=st(n.hours),n.months=st(n.months),n.years=st(n.years),this},e.add=function(n,t){return is(this,n,t,1)},e.subtract=function(n,t){return is(this,n,t,-1)},e.as=function(n){if(!this.isValid())return NaN;var t,r,i=this._milliseconds;if("month"===(n=nt(n))||"year"===n)return t=this._days+i/864e5,r=this._months+us(t),"month"===n?r:r/12;switch(t=this._days+Math.round(of(this._months)),n){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+n);}},e.asMilliseconds=ih,e.asSeconds=rh,e.asMinutes=uh,e.asHours=fh,e.asDays=eh,e.asWeeks=oh,e.asMonths=sh,e.asYears=hh,e.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},e._bubble=function(){var u,f,e,o,s,r=this._milliseconds,n=this._days,t=this._months,i=this._data;return r>=0&&n>=0&&t>=0||r<=0&&n<=0&&t<=0||(r+=864e5*rs(of(t)+n),n=0,t=0),i.milliseconds=r%1e3,u=d(r/1e3),i.seconds=u%60,f=d(u/60),i.minutes=f%60,e=d(f/60),i.hours=e%24,n+=d(e/24),t+=s=d(us(n)),n-=rs(of(s)),o=d(t/12),t%=12,i.days=n,i.months=t,i.years=o,this},e.clone=function(){return ut(this)},e.get=function(n){return n=nt(n),this.isValid()?this[n+"s"]():NaN},e.milliseconds=ch,e.seconds=lh,e.minutes=ah,e.hours=vh,e.days=yh,e.weeks=function(){return d(this.days()/7)},e.months=ph,e.years=wh,e.humanize=function(n){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),i=function(n,t,i){var r=ut(n).abs(),u=kt(r.as("s")),e=kt(r.as("m")),o=kt(r.as("h")),s=kt(r.as("d")),h=kt(r.as("M")),c=kt(r.as("y")),f=u<=ht.ss&&["s",u]||u<ht.s&&["ss",u]||e<=1&&["m"]||e<ht.m&&["mm",e]||o<=1&&["h"]||o<ht.h&&["hh",o]||s<=1&&["d"]||s<ht.d&&["dd",s]||h<=1&&["M"]||h<ht.M&&["MM",h]||c<=1&&["y"]||["yy",c];return f[2]=t,f[3]=+n>0,f[4]=i,function(n,t,i,r,u){return u.relativeTime(t||1,!!i,n,r)}.apply(null,f)}(this,!n,t);return n&&(i=t.pastFuture(+this,i)),t.postformat(i)},e.toISOString=dr,e.toString=dr,e.toJSON=dr,e.locale=yo,e.localeData=po,e.toIsoString=g("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",dr),e.lang=uf,r("X",0,0,"unix"),r("x",0,0,"valueOf"),i("x",or),i("X",/[+-]?\d+(\.\d{1,3})?/),h("X",function(n,t,i){i._d=new Date(1e3*parseFloat(n,10))}),h("x",function(n,t,i){i._d=new Date(f(n))}),t.version="2.20.1",hf=c,t.fn=n,t.min=function(){return ro("isBefore",[].slice.call(arguments,0))},t.max=function(){return ro("isAfter",[].slice.call(arguments,0))},t.now=function(){return Date.now?Date.now():+new Date},t.utc=ft,t.unix=function(n){return c(1e3*n)},t.months=function(n,t){return ts(n,t,"months")},t.isDate=di,t.locale=oi,t.invalid=gi,t.duration=ut,t.isMoment=yt,t.weekdays=function(n,t,i){return ef(n,t,i,"weekdays")},t.parseZone=function(){return c.apply(null,arguments).parseZone()},t.localeData=pt,t.isDuration=ku,t.monthsShort=function(n,t){return ts(n,t,"monthsShort")},t.weekdaysMin=function(n,t,i){return ef(n,t,i,"weekdaysMin")},t.defineLocale=vu,t.updateLocale=function(n,t){if(null!=t){var i,r,u=ye;null!=(r=au(n))&&(u=r._config);(i=new iu(t=wf(u,t))).parentLocale=y[n];y[n]=i;oi(n)}else null!=y[n]&&(null!=y[n].parentLocale?y[n]=y[n].parentLocale:null!=y[n]&&delete y[n]);return y[n]},t.locales=function(){return yf(y)},t.weekdaysShort=function(n,t,i){return ef(n,t,i,"weekdaysShort")},t.normalizeUnits=nt,t.relativeTimeRounding=function(n){return void 0===n?kt:"function"==typeof n&&(kt=n,!0)},t.relativeTimeThreshold=function(n,t){return void 0!==ht[n]&&(void 0===t?ht[n]:(ht[n]=t,"s"===n&&(ht.ss=t-1),!0))},t.calendarFormat=function(n,t){var i=n.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},t.prototype=n,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},t});!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("moment"),require("jquery")):"function"==typeof define&&define.amd?define(["moment","jquery"],t):"object"==typeof exports?exports.FullCalendar=t(require("moment"),require("jquery")):n.FullCalendar=t(n.moment,n.jQuery)}("undefined"!=typeof self?self:this,function(n,t){return function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};return t.m=n,t.c=i,t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=232)}([function(t){t.exports=n},,function(n,t){var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])};t.__extends=function(n,t){function r(){this.constructor=n}i(n,t);n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}},function(n){n.exports=t},function(n,t,i){function c(n){n.height("")}function l(n){var t,i=n[0].offsetWidth-n[0].clientWidth,u=n[0].offsetHeight-n[0].clientHeight;return i=a(i),t={left:0,right:0,top:0,bottom:u=a(u)},!function(){null===s&&(n=r("<div><div/><\/div>").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),t=n.children().offset().left>n.offset().left,n.remove(),s=t);var n,t;return s}()||"rtl"!==n.css("direction")?t.right=i:t.left=i,t}function a(n){return n=Math.max(0,n),n=Math.round(n)}function f(n,t){return parseFloat(n.css(t))||0}function h(n){n.preventDefault()}function v(n,t,i){return i.func?i.func(n,t):y(n[i.field],t[i.field])*(i.order||1)}function y(n,t){return n||t?null==t?-1:null==n?1:"string"===r.type(n)||"string"===r.type(t)?String(n).localeCompare(String(t)):n-t:0}function p(n,i){for(var u,f,r=0;r<t.unitsDesc.length&&!((f=g(u=t.unitsDesc[r],n,i))>=1&&e(f));r++);return u}function g(n,t,i){return null!=i?i.diff(t,n,!0):u.isDuration(t)?t.as(n):t.end.diff(t.start,n,!0)}function o(n){return Boolean(n.hours()||n.minutes()||n.seconds()||n.milliseconds())}function w(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return t=window.console,t&&t.log?t.log.apply(t,i):void 0}function k(n,t){return b.call(n,t)}function d(n){return(n+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#039;").replace(/"/g,"&quot;").replace(/\n/g,"<br />")}function e(n){return n%1==0}var u,r,s,b;Object.defineProperty(t,"__esModule",{value:!0});u=i(0);r=i(3);t.compensateScroll=function(n,t){t.left&&n.css({"border-left-width":1,"margin-left":t.left-1});t.right&&n.css({"border-right-width":1,"margin-right":t.right-1})};t.uncompensateScroll=function(n){n.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})};t.disableCursor=function(){r("body").addClass("fc-not-allowed")};t.enableCursor=function(){r("body").removeClass("fc-not-allowed")};t.distributeHeight=function(n,t,i){var u=Math.floor(t/n.length),e=Math.floor(t-u*(n.length-1)),f=[],o=[],s=[],h=0;c(n);n.each(function(t,i){var l=t===n.length-1?e:u,c=r(i).outerHeight(!0);c<l?(f.push(i),o.push(c),s.push(r(i).height())):h+=c});i&&(t-=h,u=Math.floor(t/f.length),e=Math.floor(t-u*(f.length-1)));r(f).each(function(n,t){var i=n===f.length-1?e:u,h=o[n],c=i-(h-s[n]);h<i&&r(t).height(c)})};t.undistributeHeight=c;t.matchCellWidths=function(n){var t=0;return n.find("> *").each(function(n,i){var u=r(i).outerWidth();u>t&&(t=u)}),t++,n.width(t),t};t.subtractInnerElHeight=function(n,t){var i,r=n.add(t);return r.css({position:"relative",left:-1}),i=n.outerHeight()-t.outerHeight(),r.css({position:"",left:""}),i};t.getScrollParent=function(n){var i=n.css("position"),t=n.parents().filter(function(){var n=r(this);return/(auto|scroll)/.test(n.css("overflow")+n.css("overflow-y")+n.css("overflow-x"))}).eq(0);return"fixed"!==i&&t.length?t:r(n[0].ownerDocument||document)};t.getOuterRect=function(n,t){var i=n.offset(),r=i.left-(t?t.left:0),u=i.top-(t?t.top:0);return{left:r,right:r+n.outerWidth(),top:u,bottom:u+n.outerHeight()}};t.getClientRect=function(n,t){var i=n.offset(),r=l(n),u=i.left+f(n,"border-left-width")+r.left-(t?t.left:0),e=i.top+f(n,"border-top-width")+r.top-(t?t.top:0);return{left:u,right:u+n[0].clientWidth,top:e,bottom:e+n[0].clientHeight}};t.getContentRect=function(n,t){var i=n.offset(),r=i.left+f(n,"border-left-width")+f(n,"padding-left")-(t?t.left:0),u=i.top+f(n,"border-top-width")+f(n,"padding-top")-(t?t.top:0);return{left:r,right:r+n.width(),top:u,bottom:u+n.height()}};t.getScrollbarWidths=l;s=null;t.isPrimaryMouseButton=function(n){return 1===n.which&&!n.ctrlKey};t.getEvX=function(n){var t=n.originalEvent.touches;return t&&t.length?t[0].pageX:n.pageX};t.getEvY=function(n){var t=n.originalEvent.touches;return t&&t.length?t[0].pageY:n.pageY};t.getEvIsTouch=function(n){return/^touch/.test(n.type)};t.preventSelection=function(n){n.addClass("fc-unselectable").on("selectstart",h)};t.allowSelection=function(n){n.removeClass("fc-unselectable").off("selectstart",h)};t.preventDefault=h;t.intersectRects=function(n,t){var i={left:Math.max(n.left,t.left),right:Math.min(n.right,t.right),top:Math.max(n.top,t.top),bottom:Math.min(n.bottom,t.bottom)};return i.left<i.right&&i.top<i.bottom&&i};t.constrainPoint=function(n,t){return{left:Math.min(Math.max(n.left,t.left),t.right),top:Math.min(Math.max(n.top,t.top),t.bottom)}};t.getRectCenter=function(n){return{left:(n.left+n.right)/2,top:(n.top+n.bottom)/2}};t.diffPoints=function(n,t){return{left:n.left-t.left,top:n.top-t.top}};t.parseFieldSpecs=function(n){var u,t,f=[],i=[];for("string"==typeof n?i=n.split(/\s*,\s*/):"function"==typeof n?i=[n]:r.isArray(n)&&(i=n),u=0;u<i.length;u++)"string"==typeof(t=i[u])?f.push("-"===t.charAt(0)?{field:t.substring(1),order:-1}:{field:t,order:1}):"function"==typeof t&&f.push({func:t});return f};t.compareByFieldSpecs=function(n,t,i){for(var u,r=0;r<i.length;r++)if(u=v(n,t,i[r]))return u;return 0};t.compareByFieldSpec=v;t.flexibleCompare=y;t.dayIDs=["sun","mon","tue","wed","thu","fri","sat"];t.unitsDesc=["year","month","week","day","hour","minute","second","millisecond"];t.diffDayTime=function(n,t){return u.duration({days:n.clone().stripTime().diff(t.clone().stripTime(),"days"),ms:n.time()-t.time()})};t.diffDay=function(n,t){return u.duration({days:n.clone().stripTime().diff(t.clone().stripTime(),"days")})};t.diffByUnit=function(n,t,i){return u.duration(Math.round(n.diff(t,i,!0)),i)};t.computeGreatestUnit=p;t.computeDurationGreatestUnit=function(n,t){var i=p(n);return"week"===i&&"object"==typeof t&&t.days&&(i="day"),i};t.divideRangeByDuration=function(n,t,i){var r;return o(i)?(t-n)/i:(r=i.asMonths(),Math.abs(r)>=1&&e(r)?t.diff(n,"months",!0)/r:t.diff(n,"days",!0)/i.asDays())};t.divideDurationByDuration=function(n,t){var i,r;return o(n)||o(t)?n/t:(i=n.asMonths(),r=t.asMonths(),Math.abs(i)>=1&&e(i)&&Math.abs(r)>=1&&e(r)?i/r:n.asDays()/t.asDays())};t.multiplyDuration=function(n,t){var i;return o(n)?u.duration(n*t):(i=n.asMonths(),Math.abs(i)>=1&&e(i)?u.duration({months:i*t}):u.duration({days:n.asDays()*t}))};t.durationHasTime=o;t.isNativeDate=function(n){return"[object Date]"===Object.prototype.toString.call(n)||n instanceof Date};t.isTimeString=function(n){return"string"==typeof n&&/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(n)};t.log=w;t.warn=function(){for(var t,i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return t=window.console,t&&t.warn?t.warn.apply(t,i):w.apply(null,i)};b={}.hasOwnProperty;t.mergeProps=function n(t,i){var r,u,e,o,s,h,f={};if(i)for(r=0;r<i.length;r++){for(u=i[r],e=[],o=t.length-1;o>=0;o--)if("object"==typeof(s=t[o][u]))e.unshift(s);else if(void 0!==s){f[u]=s;break}e.length&&(f[u]=n(e))}for(r=t.length-1;r>=0;r--)for(u in h=t[r])u in f||(f[u]=h[u]);return f};t.copyOwnProps=function(n,t){for(var i in n)k(n,i)&&(t[i]=n[i])};t.hasOwnProp=k;t.applyAll=function(n,t,i){if(r.isFunction(n)&&(n=[n]),n){for(var u=void 0,f=void 0,u=0;u<n.length;u++)f=n[u].apply(t,i)||f;return f}};t.removeMatching=function(n,t){for(var r=0,i=0;i<n.length;)t(n[i])?(n.splice(i,1),r++):i++;return r};t.removeExact=function(n,t){for(var r=0,i=0;i<n.length;)n[i]===t?(n.splice(i,1),r++):i++;return r};t.isArraysEqual=function(n,t){var i,r=n.length;if(null==r||r!==t.length)return!1;for(i=0;i<r;i++)if(n[i]!==t[i])return!1;return!0};t.firstDefined=function(){for(var i,n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(i=0;i<n.length;i++)if(void 0!==n[i])return n[i]};t.htmlEscape=d;t.stripHtmlEntities=function(n){return n.replace(/&.*?;/g,"")};t.cssToStr=function(n){var t=[];return r.each(n,function(n,i){null!=i&&t.push(n+":"+i)}),t.join(";")};t.attrsToStr=function(n){var t=[];return r.each(n,function(n,i){null!=i&&t.push(n+'="'+d(i)+'"')}),t.join(" ")};t.capitaliseFirstLetter=function(n){return n.charAt(0).toUpperCase()+n.slice(1)};t.compareNumbers=function(n,t){return n-t};t.isInt=e;t.proxy=function(n,t){var i=n[t];return function(){return i.apply(n,arguments)}};t.debounce=function(n,t,i){var r,u,f,s,e,o;return void 0===i&&(i=!1),o=function(){var h=+new Date-s;h<t?r=setTimeout(o,t-h):(r=null,i||(e=n.apply(f,u),f=u=null))},function(){f=this;u=arguments;s=+new Date;var h=i&&!r;return r||(r=setTimeout(o,t)),h&&(e=n.apply(f,u),f=u=null),e}}},function(n,t,i){function e(n,t){return n.startMs-t.startMs}Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),u=i(10),f=function(){function n(n,t){this.isStart=!0;this.isEnd=!0;r.isMoment(n)&&(n=n.clone().stripZone());r.isMoment(t)&&(t=t.clone().stripZone());n&&(this.startMs=n.valueOf());t&&(this.endMs=t.valueOf())}return n.invertRanges=function(t,i){var u,f,o=[],r=i.startMs;for(t.sort(e),u=0;u<t.length;u++)(f=t[u]).startMs>r&&o.push(new n(r,f.startMs)),f.endMs>r&&(r=f.endMs);return r<i.endMs&&o.push(new n(r,i.endMs)),o},n.prototype.intersect=function(t){var i=this.startMs,r=this.endMs,u=null;return null!=t.startMs&&(i=null==i?t.startMs:Math.max(i,t.startMs)),null!=t.endMs&&(r=null==r?t.endMs:Math.min(r,t.endMs)),(null==i||null==r||i<r)&&((u=new n(i,r)).isStart=this.isStart&&i===this.startMs,u.isEnd=this.isEnd&&r===this.endMs),u},n.prototype.intersectsWith=function(n){return(null==this.endMs||null==n.startMs||this.endMs>n.startMs)&&(null==this.startMs||null==n.endMs||this.startMs<n.endMs)},n.prototype.containsRange=function(n){return(null==this.startMs||null!=n.startMs&&n.startMs>=this.startMs)&&(null==this.endMs||null!=n.endMs&&n.endMs<=this.endMs)},n.prototype.containsDate=function(n){var t=n.valueOf();return(null==this.startMs||t>=this.startMs)&&(null==this.endMs||t<this.endMs)},n.prototype.constrainDate=function(n){var t=n.valueOf();return null!=this.startMs&&t<this.startMs&&(t=this.startMs),null!=this.endMs&&t>=this.endMs&&(t=this.endMs-1),t},n.prototype.equals=function(n){return this.startMs===n.startMs&&this.endMs===n.endMs},n.prototype.clone=function(){var t=new n(this.startMs,this.endMs);return t.isStart=this.isStart,t.isEnd=this.isEnd,t},n.prototype.getStart=function(){return null!=this.startMs?u.default.utc(this.startMs).stripZone():null},n.prototype.getEnd=function(){return null!=this.endMs?u.default.utc(this.endMs).stripZone():null},n.prototype.as=function(n){return r.utc(this.endMs).diff(r.utc(this.startMs),n,!0)},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),e=i(3),r=i(204),o=i(32),s=i(49),u=function(n){function t(i){var r=n.call(this)||this;return r.calendar=i,r.className=[],r.uid=String(t.uuid++),r}return f.__extends(t,n),t.parse=function(n,t){var i=new this(t);return!("object"!=typeof n||!i.applyProps(n))&&i},t.normalizeId=function(n){return n?String(n):null},t.prototype.fetch=function(){},t.prototype.removeEventDefsById=function(){},t.prototype.removeAllEventDefs=function(){},t.prototype.getPrimitive=function(){},t.prototype.parseEventDefs=function(n){for(var i,r=[],t=0;t<n.length;t++)(i=this.parseEventDef(n[t]))&&r.push(i);return r},t.prototype.parseEventDef=function(n){var t=this.calendar.opt("eventDataTransform"),i=this.eventDataTransform;return t&&(n=t(n)),i&&(n=i(n)),s.default.parse(n,this)},t.prototype.applyManualStandardProps=function(n){return null!=n.id&&(this.id=t.normalizeId(n.id)),e.isArray(n.className)?this.className=n.className:"string"==typeof n.className&&(this.className=n.className.split(/\s+/)),!0},t.uuid=0,t.defineStandardProps=r.default.defineStandardProps,t.copyVerbatimStandardProps=r.default.copyVerbatimStandardProps,t}(o.default);t.default=u;r.default.mixInto(u);u.defineStandardProps({id:!1,className:!1,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0,editable:!0,startEditable:!0,durationEditable:!0,rendering:!0,overlap:!0,constraint:!0,allDayDefault:!0,eventDataTransform:!0})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=i(14),e=0,o=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.listenTo=function(n,t,i){if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&this.listenTo(n,r,t[r]);else"string"==typeof t&&n.on(t+"."+this.getListenerNamespace(),u.proxy(i,this))},t.prototype.stopListeningTo=function(n,t){n.off((t||"")+"."+this.getListenerNamespace())},t.prototype.getListenerNamespace=function(){return null==this.listenerId&&(this.listenerId=e++),"_listener"+this.listenerId},t}(f.default);t.default=o},,,function(n,t,i){function s(n,t,i){void 0===t&&(t=!1);void 0===i&&(i=!1);var e,o,s,f,u=n[0],v=1===n.length&&"string"==typeof u;return r.isMoment(u)||c.isNativeDate(u)||void 0===u?f=r.apply(null,n):(e=!1,o=!1,v?l.test(u)?(n=[u+="-01"],e=!0,o=!0):(s=a.exec(u))&&(e=!s[5],o=!0):h.isArray(u)&&(o=!0),f=t||e?r.utc.apply(r,n):r.apply(null,n),e?(f._ambigTime=!0,f._ambigZone=!0):i&&(o?f._ambigZone=!0:v&&f.utcOffset(u))),f._fullCalendar=!0,f}var f,e,o;Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),h=i(3),c=i(4),l=/^\s*\d{4}-\d\d$/,a=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,u=r.fn;t.newMomentProto=u;f=h.extend({},u);t.oldMomentProto=f;e=r.momentProperties;e.push("_fullCalendar");e.push("_ambigTime");e.push("_ambigZone");t.oldMomentFormat=function(n,t){return f.format.call(n,t)};o=function(){return s(arguments)};t.default=o;o.utc=function(){var n=s(arguments,!0);return n.hasTime()&&n.utc(),n};o.parseZone=function(){return s(arguments,!0,!0)};u.week=u.weeks=function(n){var t=this._locale._fullCalendar_weekCalc;return null==n&&"function"==typeof t?t(this):"ISO"===t?f.isoWeek.apply(this,arguments):f.week.apply(this,arguments)};u.time=function(n){if(!this._fullCalendar)return f.time.apply(this,arguments);if(null==n)return r.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1;r.isDuration(n)||r.isMoment(n)||(n=r.duration(n));var t=0;return r.isDuration(n)&&(t=24*Math.floor(n.asDays())),this.hours(t+n.hours()).minutes(n.minutes()).seconds(n.seconds()).milliseconds(n.milliseconds())};u.stripTime=function(){return this._ambigTime||(this.utc(!0),this.set({hours:0,minutes:0,seconds:0,ms:0}),this._ambigTime=!0,this._ambigZone=!0),this};u.hasTime=function(){return!this._ambigTime};u.stripZone=function(){var n;return this._ambigZone||(n=this._ambigTime,this.utc(!0),this._ambigTime=n||!1,this._ambigZone=!0),this};u.hasZone=function(){return!this._ambigZone};u.local=function(n){return f.local.call(this,this._ambigZone||n),this._ambigTime=!1,this._ambigZone=!1,this};u.utc=function(n){return f.utc.call(this,n),this._ambigTime=!1,this._ambigZone=!1,this};u.utcOffset=function(n){return null!=n&&(this._ambigTime=!1,this._ambigZone=!1),f.utcOffset.apply(this,arguments)}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(3),f=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.on=function(n,t){return r(this).on(n,this._prepareIntercept(t)),this},t.prototype.one=function(n,t){return r(this).one(n,this._prepareIntercept(t)),this},t.prototype._prepareIntercept=function(n){var t=function(t,i){return n.apply(i.context||this,i.args||[])};return n.guid||(n.guid=r.guid++),t.guid=n.guid,t},t.prototype.off=function(n,t){return r(this).off(n,t),this},t.prototype.trigger=function(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return r(this).triggerHandler(n,{args:i}),this},t.prototype.triggerWith=function(n,t,i){return r(this).triggerHandler(n,{context:t,args:i}),this},t.prototype.hasHandlers=function(n){var t=r._data(this,"events");return t&&t[n]&&t[n].length>0},t}(i(14).default);t.default=f},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){this.isAllDay=!1;this.unzonedRange=n;this.isAllDay=t}return n.prototype.toLegacy=function(n){return{start:n.msToMoment(this.unzonedRange.startMs,this.isAllDay),end:n.msToMoment(this.unzonedRange.endMs,this.isAllDay)}},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),e=i(33),o=i(205),r=i(17),u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return f.__extends(t,n),t.prototype.buildInstances=function(){return[this.buildInstance()]},t.prototype.buildInstance=function(){return new o.default(this,this.dateProfile)},t.prototype.isAllDay=function(){return this.dateProfile.isAllDay()},t.prototype.clone=function(){var t=n.prototype.clone.call(this);return t.dateProfile=this.dateProfile,t},t.prototype.rezone=function(){var n=this.source.calendar,t=this.dateProfile;this.dateProfile=new r.default(n.moment(t.start),t.end?n.moment(t.end):null,n)},t.prototype.applyManualStandardProps=function(t){var u=n.prototype.applyManualStandardProps.call(this,t),i=r.default.parse(t,this.source);return!!i&&(this.dateProfile=i,null!=t.date&&(this.miscProps.date=t.date),u)},t}(e.default);t.default=u;u.defineStandardProps({start:!1,date:!1,end:!1,allDay:!1})},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(){}return n.mixInto=function(n){var t=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){n.prototype[i]||(n.prototype[i]=t.prototype[i])})},n.mixOver=function(n){var t=this;Object.getOwnPropertyNames(this.prototype).forEach(function(i){n.prototype[i]=t.prototype[i]})},n}();t.default=i},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n){this.view=n._getView();this.component=n}return n.prototype.opt=function(n){return this.view.opt(n)},n.prototype.end=function(){},n}();t.default=i},function(n,t,i){var r,u,f,o,s,h,c,l,a,v,y,p,w,b,k,d,g,nt,tt,it,rt,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt,wt,e,bt,kt,dt,gt,ni,ti,ii,ri,ui,fi,ei,oi,si,hi,ci,li,ai;Object.defineProperty(t,"__esModule",{value:!0});t.version="3.8.0";t.internalApiVersion=12;r=i(4);t.applyAll=r.applyAll;t.debounce=r.debounce;t.isInt=r.isInt;t.htmlEscape=r.htmlEscape;t.cssToStr=r.cssToStr;t.proxy=r.proxy;t.capitaliseFirstLetter=r.capitaliseFirstLetter;t.getOuterRect=r.getOuterRect;t.getClientRect=r.getClientRect;t.getContentRect=r.getContentRect;t.getScrollbarWidths=r.getScrollbarWidths;t.preventDefault=r.preventDefault;t.parseFieldSpecs=r.parseFieldSpecs;t.compareByFieldSpecs=r.compareByFieldSpecs;t.compareByFieldSpec=r.compareByFieldSpec;t.flexibleCompare=r.flexibleCompare;t.computeGreatestUnit=r.computeGreatestUnit;t.divideRangeByDuration=r.divideRangeByDuration;t.divideDurationByDuration=r.divideDurationByDuration;t.multiplyDuration=r.multiplyDuration;t.durationHasTime=r.durationHasTime;t.log=r.log;t.warn=r.warn;t.removeExact=r.removeExact;t.intersectRects=r.intersectRects;u=i(47);t.formatDate=u.formatDate;t.formatRange=u.formatRange;t.queryMostGranularFormatUnit=u.queryMostGranularFormatUnit;f=i(30);t.datepickerLocale=f.datepickerLocale;t.locale=f.locale;o=i(10);t.moment=o.default;s=i(11);t.EmitterMixin=s.default;h=i(7);t.ListenerMixin=h.default;c=i(48);t.Model=c.default;l=i(203);t.Constraints=l.default;a=i(5);t.UnzonedRange=a.default;v=i(12);t.ComponentFootprint=v.default;y=i(208);t.BusinessHourGenerator=y.default;p=i(33);t.EventDef=p.default;w=i(36);t.EventDefMutation=w.default;b=i(37);t.EventSourceParser=b.default;k=i(6);t.EventSource=k.default;d=i(51);t.defineThemeSystem=d.defineThemeSystem;g=i(18);t.EventInstanceGroup=g.default;nt=i(52);t.ArrayEventSource=nt.default;tt=i(211);t.FuncEventSource=tt.default;it=i(212);t.JsonFeedEventSource=it.default;rt=i(35);t.EventFootprint=rt.default;ut=i(32);t.Class=ut.default;ft=i(14);t.Mixin=ft.default;et=i(53);t.CoordCache=et.default;ot=i(54);t.DragListener=ot.default;st=i(19);t.Promise=st.default;ht=i(213);t.TaskQueue=ht.default;ct=i(214);t.RenderQueue=ct.default;lt=i(39);t.Scroller=lt.default;at=i(38);t.Theme=at.default;vt=i(215);t.DateComponent=vt.default;yt=i(40);t.InteractiveDateComponent=yt.default;pt=i(216);t.Calendar=pt.default;wt=i(41);t.View=wt.default;e=i(21);t.defineView=e.defineView;t.getViewConfig=e.getViewConfig;bt=i(55);t.DayTableMixin=bt.default;kt=i(56);t.BusinessHourRenderer=kt.default;dt=i(42);t.EventRenderer=dt.default;gt=i(57);t.FillRenderer=gt.default;ni=i(58);t.HelperRenderer=ni.default;ti=i(218);t.ExternalDropping=ti.default;ii=i(219);t.EventResizing=ii.default;ri=i(59);t.EventPointing=ri.default;ui=i(220);t.EventDragging=ui.default;fi=i(221);t.DateSelecting=fi.default;ei=i(60);t.StandardInteractionsMixin=ei.default;oi=i(222);t.AgendaView=oi.default;si=i(223);t.TimeGrid=si.default;hi=i(61);t.DayGrid=hi.default;ci=i(62);t.BasicView=ci.default;li=i(225);t.MonthView=li.default;ai=i(226);t.ListView=ai.default},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(5),u=function(){function n(n,t,i){this.start=n;this.end=t||null;this.unzonedRange=this.buildUnzonedRange(i)}return n.parse=function(t,i){var o=t.start||t.date,s=t.end;if(!o)return!1;var f=i.calendar,u=f.moment(o),r=s?f.moment(s):null,e=t.allDay,h=f.opt("forceEventDuration");return!!u.isValid()&&(!r||r.isValid()&&r.isAfter(u)||(r=null),null==e&&null==(e=i.allDayDefault)&&(e=f.opt("allDayDefault")),!0===e?(u.stripTime(),r&&r.stripTime()):!1===e&&(u.hasTime()||u.time(0),r&&!r.hasTime()&&r.time(0)),!r&&h&&(r=f.getDefaultEventEnd(!u.hasTime(),u)),new n(u,r,f))},n.isStandardProp=function(n){return"start"===n||"date"===n||"end"===n||"allDay"===n},n.prototype.isAllDay=function(){return!(this.start.hasTime()||this.end&&this.end.hasTime())},n.prototype.buildUnzonedRange=function(n){var t=this.start.clone().stripZone().valueOf(),i=this.getEnd(n).stripZone().valueOf();return new r.default(t,i)},n.prototype.getEnd=function(n){return this.end?this.end.clone():n.getDefaultEventEnd(this.isAllDay(),this.start)},n}();t.default=u},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(5),r=i(34),u=i(207),e=function(){function n(n){this.eventInstances=n||[]}return n.prototype.getAllEventRanges=function(n){return n?this.sliceNormalRenderRanges(n):this.eventInstances.map(r.eventInstanceToEventRange)},n.prototype.sliceRenderRanges=function(n){return this.isInverse()?this.sliceInverseRenderRanges(n):this.sliceNormalRenderRanges(n)},n.prototype.sliceNormalRenderRanges=function(n){for(var i,r,f=this.eventInstances,e=[],t=0;t<f.length;t++)(r=(i=f[t]).dateProfile.unzonedRange.intersect(n))&&e.push(new u.default(r,i.def,i));return e},n.prototype.sliceInverseRenderRanges=function(n){var t=this.eventInstances.map(r.eventInstanceToUnzonedRange),i=this.getEventDef();return(t=f.default.invertRanges(t,n)).map(function(n){return new u.default(n,i)})},n.prototype.isInverse=function(){return this.getEventDef().hasInverseRendering()},n.prototype.getEventDef=function(){return this.explicitEventDef||this.eventInstances[0].def},n}();t.default=e},function(n,t,i){function f(n,t){n.then=function(i){return"function"==typeof i?u.resolve(i(t)):n}}function e(n){n.then=function(t,i){return"function"==typeof i&&i(),n}}Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u={construct:function(n){var t=r.Deferred(),i=t.promise();return"function"==typeof n&&n(function(n){t.resolve(n);f(i,n)},function(){t.reject();e(i)}),i},resolve:function(n){var t=r.Deferred().resolve(n).promise();return f(t,n),t},reject:function(){var n=r.Deferred().reject().promise();return e(n),n}};t.default=u},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(3),e=i(16),s=i(11),h=i(7);e.touchMouseIgnoreWait=500;var r=null,o=0,f=function(){function n(){this.isTouching=!1;this.mouseIgnoreDepth=0}return n.get=function(){return r||(r=new n).bind(),r},n.needed=function(){n.get();o++},n.unneeded=function(){--o||(r.unbind(),r=null)},n.prototype.bind=function(){var n=this;this.listenTo(u(document),{touchstart:this.handleTouchStart,touchcancel:this.handleTouchCancel,touchend:this.handleTouchEnd,mousedown:this.handleMouseDown,mousemove:this.handleMouseMove,mouseup:this.handleMouseUp,click:this.handleClick,selectstart:this.handleSelectStart,contextmenu:this.handleContextMenu});window.addEventListener("touchmove",this.handleTouchMoveProxy=function(t){n.handleTouchMove(u.Event(t))},{passive:!1});window.addEventListener("scroll",this.handleScrollProxy=function(t){n.handleScroll(u.Event(t))},!0)},n.prototype.unbind=function(){this.stopListeningTo(u(document));window.removeEventListener("touchmove",this.handleTouchMoveProxy);window.removeEventListener("scroll",this.handleScrollProxy,!0)},n.prototype.handleTouchStart=function(n){this.stopTouch(n,!0);this.isTouching=!0;this.trigger("touchstart",n)},n.prototype.handleTouchMove=function(n){this.isTouching&&this.trigger("touchmove",n)},n.prototype.handleTouchCancel=function(n){this.isTouching&&(this.trigger("touchcancel",n),this.stopTouch(n))},n.prototype.handleTouchEnd=function(n){this.stopTouch(n)},n.prototype.handleMouseDown=function(n){this.shouldIgnoreMouse()||this.trigger("mousedown",n)},n.prototype.handleMouseMove=function(n){this.shouldIgnoreMouse()||this.trigger("mousemove",n)},n.prototype.handleMouseUp=function(n){this.shouldIgnoreMouse()||this.trigger("mouseup",n)},n.prototype.handleClick=function(n){this.shouldIgnoreMouse()||this.trigger("click",n)},n.prototype.handleSelectStart=function(n){this.trigger("selectstart",n)},n.prototype.handleContextMenu=function(n){this.trigger("contextmenu",n)},n.prototype.handleScroll=function(n){this.trigger("scroll",n)},n.prototype.stopTouch=function(n,t){void 0===t&&(t=!1);this.isTouching&&(this.isTouching=!1,this.trigger("touchend",n),t||this.startTouchMouseIgnore())},n.prototype.startTouchMouseIgnore=function(){var t=this,n=e.touchMouseIgnoreWait;n&&(this.mouseIgnoreDepth++,setTimeout(function(){t.mouseIgnoreDepth--},n))},n.prototype.shouldIgnoreMouse=function(){return this.isTouching||Boolean(this.mouseIgnoreDepth)},n}();t.default=f;h.default.mixInto(f);s.default.mixInto(f)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(16);t.viewHash={};r.views=t.viewHash;t.defineView=function(n,i){t.viewHash[n]=i};t.getViewConfig=function(n){return t.viewHash[n]}},function(n,t,i){function u(n,t){return!n&&!t||!(!n||!t)&&n.component===t.component&&f(n,t)&&f(t,n)}function f(n,t){for(var i in n)if(!/^(component|left|right|top|bottom)$/.test(i)&&n[i]!==t[i])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),r=i(4),o=function(n){function t(t,i){var r=n.call(this,i)||this;return r.component=t,r}return e.__extends(t,n),t.prototype.handleInteractionStart=function(t){var u,e,i,f=this.subjectEl;this.component.hitsNeeded();this.computeScrollBounds();t?(i=e={left:r.getEvX(t),top:r.getEvY(t)},f&&(u=r.getOuterRect(f),i=r.constrainPoint(i,u)),this.origHit=this.queryHit(i.left,i.top),f&&this.options.subjectCenter&&(this.origHit&&(u=r.intersectRects(this.origHit,u)||u),i=r.getRectCenter(u)),this.coordAdjust=r.diffPoints(i,e)):(this.origHit=null,this.coordAdjust=null);n.prototype.handleInteractionStart.call(this,t)},t.prototype.handleDragStart=function(t){var i;n.prototype.handleDragStart.call(this,t);(i=this.queryHit(r.getEvX(t),r.getEvY(t)))&&this.handleHitOver(i)},t.prototype.handleDrag=function(t,i,f){var e;n.prototype.handleDrag.call(this,t,i,f);u(e=this.queryHit(r.getEvX(f),r.getEvY(f)),this.hit)||(this.hit&&this.handleHitOut(),e&&this.handleHitOver(e))},t.prototype.handleDragEnd=function(t){this.handleHitDone();n.prototype.handleDragEnd.call(this,t)},t.prototype.handleHitOver=function(n){var t=u(n,this.origHit);this.hit=n;this.trigger("hitOver",this.hit,t,this.origHit)},t.prototype.handleHitOut=function(){this.hit&&(this.trigger("hitOut",this.hit),this.handleHitDone(),this.hit=null)},t.prototype.handleHitDone=function(){this.hit&&this.trigger("hitDone",this.hit)},t.prototype.handleInteractionEnd=function(t,i){n.prototype.handleInteractionEnd.call(this,t,i);this.origHit=null;this.hit=null;this.component.hitsNotNeeded()},t.prototype.handleScrollEnd=function(){n.prototype.handleScrollEnd.call(this);this.isDragging&&(this.component.releaseHits(),this.component.prepareHits())},t.prototype.queryHit=function(n,t){return this.coordAdjust&&(n+=this.coordAdjust.left,t+=this.coordAdjust.top),this.component.queryHit(n,t)},t}(i(54).default);t.default=o},,,,,,,,function(n,t,i){function o(n,i){var f,e;f=t.localeOptionHash[n]||(t.localeOptionHash[n]={});i&&(f=t.localeOptionHash[n]=u.mergeOptions([f,i]));e=s(n);r.each(l,function(n,t){null==f[n]&&(f[n]=t(e,f))});u.globalDefaults.locale=n}function s(n){return e.localeData(n)||e.localeData("en")}Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),e=i(0),h=i(16),u=i(31),f=i(4);t.localeOptionHash={};h.locales=t.localeOptionHash;var c={buttonText:function(n){return{prev:f.stripHtmlEntities(n.prevText),next:f.stripHtmlEntities(n.nextText),today:f.stripHtmlEntities(n.currentText)}},monthYearFormat:function(n){return n.showMonthAfterYear?"YYYY["+n.yearSuffix+"] MMMM":"MMMM YYYY["+n.yearSuffix+"]"}},l={dayOfMonthFormat:function(n,t){var i=n.longDateFormat("l");return i=i.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),t.isRTL?i+=" ddd":i="ddd "+i,i},mediumTimeFormat:function(n){return n.longDateFormat("LT").replace(/\s*a$/i,"a")},smallTimeFormat:function(n){return n.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(n){return n.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},hourFormat:function(n){return n.longDateFormat("LT").replace(":mm","").replace(/(\Wmm)$/,"").replace(/\s*a$/i,"a")},noMeridiemTimeFormat:function(n){return n.longDateFormat("LT").replace(/\s*a$/i,"")}},a={smallDayDateFormat:function(n){return n.isRTL?"D dd":"dd D"},weekFormat:function(n){return n.isRTL?"w[ "+n.weekNumberTitle+"]":"["+n.weekNumberTitle+" ]w"},smallWeekFormat:function(n){return n.isRTL?"w["+n.weekNumberTitle+"]":"["+n.weekNumberTitle+"]w"}};t.populateInstanceComputableOptions=function(n){r.each(a,function(t,i){null==n[t]&&(n[t]=i(n))})};t.datepickerLocale=function(n,i,u){var e=t.localeOptionHash[n]||(t.localeOptionHash[n]={}),f;e.isRTL=u.isRTL;e.weekNumberTitle=u.weekHeader;r.each(c,function(n,t){e[n]=t(u)});f=r.datepicker;f&&(f.regional[i]=f.regional[n]=u,f.regional.en=f.regional[""],f.setDefaults(u))};t.locale=o;t.getMomentLocaleData=s;o("en",u.englishDefaults)},function(n,t,i){var r,u;Object.defineProperty(t,"__esModule",{value:!0});r=i(4);t.globalDefaults={titleRangeSeparator:" – ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",columnHeader:!0,defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",scrollTime:"06:00:00",minTime:"00:00:00",maxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,locale:null,isRTL:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day"},allDayText:"all-day",agendaEventMinHeight:0,theme:!1,dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventOrder:"title",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3};t.englishDefaults={dayPopoverFormat:"dddd, MMMM D"};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"}};u=["header","footer","buttonText","buttonIcons","themeButtonIcons"];t.mergeOptions=function(n){return r.mergeProps(n,u)}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=function(){function n(){}return n.extend=function(n){var t=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(this);return r.copyOwnProps(n,t.prototype),t},n.mixin=function(n){r.copyOwnProps(n,this.prototype)},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(204),f=function(){function n(n){this.source=n;this.className=[];this.miscProps={}}return n.parse=function(n,t){var i=new this(t);return!!i.applyProps(n)&&i},n.normalizeId=function(n){return String(n)},n.generateId=function(){return"_fc"+n.uuid++},n.prototype.clone=function(){var t=new this.constructor(this.source);return t.id=this.id,t.rawId=this.rawId,t.uid=this.uid,n.copyVerbatimStandardProps(this,t),t.className=this.className.slice(),t.miscProps=r.extend({},this.miscProps),t},n.prototype.hasInverseRendering=function(){return"inverse-background"===this.getRendering()},n.prototype.hasBgRendering=function(){var n=this.getRendering();return"inverse-background"===n||"background"===n},n.prototype.getRendering=function(){return null!=this.rendering?this.rendering:this.source.rendering},n.prototype.getConstraint=function(){return null!=this.constraint?this.constraint:null!=this.source.constraint?this.source.constraint:this.source.calendar.opt("eventConstraint")},n.prototype.getOverlap=function(){return null!=this.overlap?this.overlap:null!=this.source.overlap?this.source.overlap:this.source.calendar.opt("eventOverlap")},n.prototype.isStartExplicitlyEditable=function(){return null!=this.startEditable?this.startEditable:this.source.startEditable},n.prototype.isDurationExplicitlyEditable=function(){return null!=this.durationEditable?this.durationEditable:this.source.durationEditable},n.prototype.isExplicitlyEditable=function(){return null!=this.editable?this.editable:this.source.editable},n.prototype.toLegacy=function(){var t=r.extend({},this.miscProps);return t._id=this.uid,t.source=this.source,t.className=this.className.slice(),t.allDay=this.isAllDay(),null!=this.rawId&&(t.id=this.rawId),n.copyVerbatimStandardProps(this,t),t},n.prototype.applyManualStandardProps=function(t){return this.id=null!=t.id?n.normalizeId(this.rawId=t.id):n.generateId(),this.uid=null!=t._id?String(t._id):n.generateId(),r.isArray(t.className)&&(this.className=t.className),"string"==typeof t.className&&(this.className=t.className.split(/\s+/)),!0},n.prototype.applyMiscProps=function(n){r.extend(this.miscProps,n)},n.uuid=0,n.defineStandardProps=u.default.defineStandardProps,n.copyVerbatimStandardProps=u.default.copyVerbatimStandardProps,n}();t.default=f;u.default.mixInto(f);f.defineStandardProps({_id:!1,id:!1,className:!1,source:!1,title:!0,url:!0,rendering:!0,constraint:!0,overlap:!0,editable:!0,startEditable:!0,durationEditable:!0,color:!0,backgroundColor:!0,borderColor:!0,textColor:!0})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(207),u=i(35),f=i(12);t.eventDefsToEventInstances=function(n,t){for(var r=[],i=0;i<n.length;i++)r.push.apply(r,n[i].buildInstances(t));return r};t.eventInstanceToEventRange=function(n){return new r.default(n.dateProfile.unzonedRange,n.def,n)};t.eventRangeToEventFootprint=function(n){return new u.default(new f.default(n.unzonedRange,n.eventDef.isAllDay()),n.eventDef,n.eventInstance)};t.eventInstanceToUnzonedRange=function(n){return n.dateProfile.unzonedRange};t.eventFootprintToComponentFootprint=function(n){return n.componentFootprint}},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t,i){this.componentFootprint=n;this.eventDef=t;i&&(this.eventInstance=i)}return n.prototype.getEventLegacy=function(){return(this.eventInstance||this.eventDef).toLegacy()},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(4),r=i(17),u=i(33),e=i(50),o=i(13),s=function(){function n(){}return n.createFromRawProps=function(t,i,o){var s,v,a,h,l=t.def,y={},c={},p={},w={},b=null,k=null;for(s in i)r.default.isStandardProp(s)?y[s]=i[s]:l.isStandardProp(s)?c[s]=i[s]:l.miscProps[s]!==i[s]&&(p[s]=i[s]);return(v=r.default.parse(y,l.source))&&(a=e.default.createFromDiff(t.dateProfile,v,o)),c.id!==l.id&&(b=c.id),f.isArraysEqual(c.className,l.className)||(k=c.className),u.default.copyVerbatimStandardProps(c,w),(h=new n).eventDefId=b,h.className=k,h.verbatimStandardProps=w,h.miscProps=p,a&&(h.dateMutation=a),h},n.prototype.mutateSingle=function(n){var t;return this.dateMutation&&(t=n.dateProfile,n.dateProfile=this.dateMutation.buildNewDateProfile(t,n.source.calendar)),null!=this.eventDefId&&(n.id=u.default.normalizeId(n.rawId=this.eventDefId)),this.className&&(n.className=this.className),this.verbatimStandardProps&&o.default.copyVerbatimStandardProps(this.verbatimStandardProps,n),this.miscProps&&n.applyMiscProps(this.miscProps),t?function(){n.dateProfile=t}:function(){}},n.prototype.setDateMutation=function(n){this.dateMutation=n&&!n.isEmpty()?n:null},n.prototype.isEmpty=function(){return!this.dateMutation},n}();t.default=s},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});t.default={sourceClasses:[],registerClass:function(n){this.sourceClasses.unshift(n)},parse:function(n,t){for(var r,u=this.sourceClasses,i=0;i<u.length;i++)if(r=u[i].parse(n,t))return r}}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(3),r=function(){function n(n){this.optionsManager=n;this.processIconOverride()}return n.prototype.processIconOverride=function(){this.iconOverrideOption&&this.setIconOverride(this.optionsManager.get(this.iconOverrideOption))},n.prototype.setIconOverride=function(n){var t,i;if(u.isPlainObject(n)){for(i in t=u.extend({},this.iconClasses),n)t[i]=this.applyIconOverridePrefix(n[i]);this.iconClasses=t}else!1===n&&(this.iconClasses={})},n.prototype.applyIconOverridePrefix=function(n){var t=this.iconOverridePrefix;return t&&0!==n.indexOf(t)&&(n=t+n),n},n.prototype.getClass=function(n){return this.classes[n]||""},n.prototype.getIconClass=function(n){var t=this.iconClasses[n];return t?this.baseIconClass+" "+t:""},n.prototype.getCustomButtonIconClass=function(n){var t;return this.iconOverrideCustomButtonOption&&(t=n[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},n}();t.default=r;r.prototype.classes={};r.prototype.iconClasses={};r.prototype.baseIconClass="";r.prototype.iconOverridePrefix=""},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=i(4),e=function(n){function t(t){var i=n.call(this)||this;return t=t||{},i.overflowX=t.overflowX||t.overflow||"auto",i.overflowY=t.overflowY||t.overflow||"auto",i}return r.__extends(t,n),t.prototype.render=function(){this.el=this.renderEl();this.applyOverflow()},t.prototype.renderEl=function(){return this.scrollEl=u('<div class="fc-scroller"><\/div>')},t.prototype.clear=function(){this.setHeight("auto");this.applyOverflow()},t.prototype.destroy=function(){this.el.remove()},t.prototype.applyOverflow=function(){this.scrollEl.css({"overflow-x":this.overflowX,"overflow-y":this.overflowY})},t.prototype.lockOverflow=function(n){var t=this.overflowX,i=this.overflowY;n=n||this.getScrollbarWidths();"auto"===t&&(t=n.top||n.bottom||this.scrollEl[0].scrollWidth-1>this.scrollEl[0].clientWidth?"scroll":"hidden");"auto"===i&&(i=n.left||n.right||this.scrollEl[0].scrollHeight-1>this.scrollEl[0].clientHeight?"scroll":"hidden");this.scrollEl.css({"overflow-x":t,"overflow-y":i})},t.prototype.setHeight=function(n){this.scrollEl.height(n)},t.prototype.getScrollTop=function(){return this.scrollEl.scrollTop()},t.prototype.setScrollTop=function(n){this.scrollEl.scrollTop(n)},t.prototype.getClientWidth=function(){return this.scrollEl[0].clientWidth},t.prototype.getClientHeight=function(){return this.scrollEl[0].clientHeight},t.prototype.getScrollbarWidths=function(){return f.getScrollbarWidths(this.scrollEl)},t}(i(32).default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),u=i(3),r=i(4),e=i(215),o=i(20),s=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.segSelector=".fc-event-container > *",r.dateSelectingClass&&(r.dateClicking=new r.dateClickingClass(r)),r.dateSelectingClass&&(r.dateSelecting=new r.dateSelectingClass(r)),r.eventPointingClass&&(r.eventPointing=new r.eventPointingClass(r)),r.eventDraggingClass&&r.eventPointing&&(r.eventDragging=new r.eventDraggingClass(r,r.eventPointing)),r.eventResizingClass&&r.eventPointing&&(r.eventResizing=new r.eventResizingClass(r,r.eventPointing)),r.externalDroppingClass&&(r.externalDropping=new r.externalDroppingClass(r)),r}return f.__extends(t,n),t.prototype.setElement=function(t){n.prototype.setElement.call(this,t);this.dateClicking&&this.dateClicking.bindToEl(t);this.dateSelecting&&this.dateSelecting.bindToEl(t);this.bindAllSegHandlersToEl(t)},t.prototype.removeElement=function(){this.endInteractions();n.prototype.removeElement.call(this)},t.prototype.executeEventUnrender=function(){this.endInteractions();n.prototype.executeEventUnrender.call(this)},t.prototype.bindGlobalHandlers=function(){n.prototype.bindGlobalHandlers.call(this);this.externalDropping&&this.externalDropping.bindToDocument()},t.prototype.unbindGlobalHandlers=function(){n.prototype.unbindGlobalHandlers.call(this);this.externalDropping&&this.externalDropping.unbindFromDocument()},t.prototype.bindDateHandlerToEl=function(n,t,i){var r=this;this.el.on(t,function(n){if(!u(n.target).is(r.segSelector+","+r.segSelector+" *,.fc-more,a[data-goto]"))return i.call(r,n)})},t.prototype.bindAllSegHandlersToEl=function(n){[this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(t){t&&t.bindToEl(n)})},t.prototype.bindSegHandlerToEl=function(n,t,i){var r=this;n.on(t,this.segSelector,function(n){var t=u(n.currentTarget).data("fc-seg");if(t&&!r.shouldIgnoreEventPointing())return i.call(r,t,n)})},t.prototype.shouldIgnoreMouse=function(){return o.default.get().shouldIgnoreMouse()},t.prototype.shouldIgnoreTouch=function(){var n=this._getView();return n.isSelected||n.selectedEvent},t.prototype.shouldIgnoreEventPointing=function(){return this.eventDragging&&this.eventDragging.isDragging||this.eventResizing&&this.eventResizing.isResizing},t.prototype.canStartSelection=function(n,t){return r.getEvIsTouch(t)&&!this.canStartResize(n,t)&&(this.isEventDefDraggable(n.footprint.eventDef)||this.isEventDefResizable(n.footprint.eventDef))},t.prototype.canStartDrag=function(n,t){return!this.canStartResize(n,t)&&this.isEventDefDraggable(n.footprint.eventDef)},t.prototype.canStartResize=function(n,t){var f=this._getView(),i=n.footprint.eventDef;return(!r.getEvIsTouch(t)||f.isEventDefSelected(i))&&this.isEventDefResizable(i)&&u(t.target).is(".fc-resizer")},t.prototype.endInteractions=function(){[this.dateClicking,this.dateSelecting,this.eventPointing,this.eventDragging,this.eventResizing].forEach(function(n){n&&n.end()})},t.prototype.isEventDefDraggable=function(n){return this.isEventDefStartEditable(n)},t.prototype.isEventDefStartEditable=function(n){var t=n.isStartExplicitlyEditable();return null==t&&null==(t=this.opt("eventStartEditable"))&&(t=this.isEventDefGenerallyEditable(n)),t},t.prototype.isEventDefGenerallyEditable=function(n){var t=n.isExplicitlyEditable();return null==t&&(t=this.opt("editable")),t},t.prototype.isEventDefResizableFromStart=function(n){return this.opt("eventResizableFromStart")&&this.isEventDefResizable(n)},t.prototype.isEventDefResizableFromEnd=function(n){return this.isEventDefResizable(n)},t.prototype.isEventDefResizable=function(n){var t=n.isDurationExplicitlyEditable();return null==t&&null==(t=this.opt("eventDurationEditable"))&&(t=this.isEventDefGenerallyEditable(n)),t},t.prototype.diffDates=function(n,t){return this.largeUnit?r.diffByUnit(n,t,this.largeUnit):r.diffDayTime(n,t)},t.prototype.isEventInstanceGroupAllowed=function(n){for(var r=this._getView(),u=this.dateProfile,i=this.eventRangesToEventFootprints(n.getAllEventRanges()),t=0;t<i.length;t++)if(!u.validUnzonedRange.containsRange(i[t].componentFootprint.unzonedRange))return!1;return r.calendar.constraints.isEventInstanceGroupAllowed(n)},t.prototype.isExternalInstanceGroupAllowed=function(n){for(var r=this._getView(),u=this.dateProfile,i=this.eventRangesToEventFootprints(n.getAllEventRanges()),t=0;t<i.length;t++)if(!u.validUnzonedRange.containsRange(i[t].componentFootprint.unzonedRange))return!1;for(t=0;t<i.length;t++)if(!r.calendar.constraints.isSelectionFootprintAllowed(i[t].componentFootprint))return!1;return!0},t}(e.default);t.default=s},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var s=i(2),u=i(3),f=i(0),e=i(4),h=i(214),c=i(217),l=i(40),o=i(20),a=i(5),r=function(n){function t(t,i){var r=n.call(this,null,i.options)||this;return r.batchRenderDepth=0,r.isSelected=!1,r.calendar=t,r.viewSpec=i,r.type=i.type,r.name=r.type,r.initRenderQueue(),r.initHiddenDays(),r.dateProfileGenerator=new r.dateProfileGeneratorClass(r),r.bindBaseRenderHandlers(),r.eventOrderSpecs=e.parseFieldSpecs(r.opt("eventOrder")),r.initialize&&r.initialize(),r}return s.__extends(t,n),t.prototype._getView=function(){return this},t.prototype.opt=function(n){return this.options[n]},t.prototype.initRenderQueue=function(){this.renderQueue=new h.default({event:this.opt("eventRenderWait")});this.renderQueue.on("start",this.onRenderQueueStart.bind(this));this.renderQueue.on("stop",this.onRenderQueueStop.bind(this));this.on("before:change",this.startBatchRender);this.on("change",this.stopBatchRender)},t.prototype.onRenderQueueStart=function(){this.calendar.freezeContentHeight();this.addScroll(this.queryScroll())},t.prototype.onRenderQueueStop=function(){this.calendar.updateViewSize()&&this.popScroll();this.calendar.thawContentHeight()},t.prototype.startBatchRender=function(){this.batchRenderDepth++||this.renderQueue.pause()},t.prototype.stopBatchRender=function(){--this.batchRenderDepth||this.renderQueue.resume()},t.prototype.requestRender=function(n,t,i){this.renderQueue.queue(n,t,i)},t.prototype.whenSizeUpdated=function(n){this.renderQueue.isRunning?this.renderQueue.one("stop",n.bind(this)):n.call(this)},t.prototype.computeTitle=function(n){var t;return t=/^(year|month)$/.test(n.currentRangeUnit)?n.currentUnzonedRange:n.activeUnzonedRange,this.formatRange({start:this.calendar.msToMoment(t.startMs,n.isRangeAllDay),end:this.calendar.msToMoment(t.endMs,n.isRangeAllDay)},n.isRangeAllDay,this.opt("titleFormat")||this.computeTitleFormat(n),this.opt("titleRangeSeparator"))},t.prototype.computeTitleFormat=function(n){var t=n.currentRangeUnit;return"year"===t?"YYYY":"month"===t?this.opt("monthYearFormat"):n.currentUnzonedRange.as("days")>1?"ll":"LL"},t.prototype.setDate=function(n){var t=this.get("dateProfile"),i=this.dateProfileGenerator.build(n,void 0,!0);t&&t.activeUnzonedRange.equals(i.activeUnzonedRange)||this.set("dateProfile",i)},t.prototype.unsetDate=function(){this.unset("dateProfile")},t.prototype.fetchInitialEvents=function(n){var t=this.calendar,i=n.isRangeAllDay&&!this.usesMinMaxTime;return t.requestEvents(t.msToMoment(n.activeUnzonedRange.startMs,i),t.msToMoment(n.activeUnzonedRange.endMs,i))},t.prototype.bindEventChanges=function(){this.listenTo(this.calendar,"eventsReset",this.resetEvents)},t.prototype.unbindEventChanges=function(){this.stopListeningTo(this.calendar,"eventsReset")},t.prototype.setEvents=function(n){this.set("currentEvents",n);this.set("hasEvents",!0)},t.prototype.unsetEvents=function(){this.unset("currentEvents");this.unset("hasEvents")},t.prototype.resetEvents=function(n){this.startBatchRender();this.unsetEvents();this.setEvents(n);this.stopBatchRender()},t.prototype.requestDateRender=function(n){var t=this;this.requestRender(function(){t.executeDateRender(n)},"date","init")},t.prototype.requestDateUnrender=function(){var n=this;this.requestRender(function(){n.executeDateUnrender()},"date","destroy")},t.prototype.executeDateRender=function(t){n.prototype.executeDateRender.call(this,t);this.render&&this.render();this.trigger("datesRendered");this.addScroll({isDateInit:!0});this.startNowIndicator()},t.prototype.executeDateUnrender=function(){this.unselect();this.stopNowIndicator();this.trigger("before:datesUnrendered");this.destroy&&this.destroy();n.prototype.executeDateUnrender.call(this)},t.prototype.bindBaseRenderHandlers=function(){var n=this;this.on("datesRendered",function(){n.whenSizeUpdated(n.triggerViewRender)});this.on("before:datesUnrendered",function(){n.triggerViewDestroy()})},t.prototype.triggerViewRender=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},t.prototype.triggerViewDestroy=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},t.prototype.requestEventsRender=function(n){var t=this;this.requestRender(function(){t.executeEventRender(n);t.whenSizeUpdated(t.triggerAfterEventsRendered)},"event","init")},t.prototype.requestEventsUnrender=function(){var n=this;this.requestRender(function(){n.triggerBeforeEventsDestroyed();n.executeEventUnrender()},"event","destroy")},t.prototype.requestBusinessHoursRender=function(n){var t=this;this.requestRender(function(){t.renderBusinessHours(n)},"businessHours","init")},t.prototype.requestBusinessHoursUnrender=function(){var n=this;this.requestRender(function(){n.unrenderBusinessHours()},"businessHours","destroy")},t.prototype.bindGlobalHandlers=function(){n.prototype.bindGlobalHandlers.call(this);this.listenTo(o.default.get(),{touchstart:this.processUnselect,mousedown:this.handleDocumentMousedown})},t.prototype.unbindGlobalHandlers=function(){n.prototype.unbindGlobalHandlers.call(this);this.stopListeningTo(o.default.get())},t.prototype.startNowIndicator=function(){var t,i,n,r=this;this.opt("nowIndicator")&&(t=this.getNowIndicatorUnit())&&(i=e.proxy(this,"updateNowIndicator"),this.initialNowDate=this.calendar.getNow(),this.initialNowQueriedMs=(new Date).valueOf(),n=this.initialNowDate.clone().startOf(t).add(1,t).valueOf()-this.initialNowDate.valueOf(),this.nowIndicatorTimeoutID=setTimeout(function(){r.nowIndicatorTimeoutID=null;i();n=+f.duration(1,t);n=Math.max(100,n);r.nowIndicatorIntervalID=setInterval(i,n)},n))},t.prototype.updateNowIndicator=function(){this.isDatesRendered&&this.initialNowDate&&(this.unrenderNowIndicator(),this.renderNowIndicator(this.initialNowDate.clone().add((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,i,r){this.setHeight?this.setHeight(t,i):n.prototype.updateSize.call(this,t,i,r);this.updateNowIndicator()},t.prototype.addScroll=function(n){var t=this.queuedScroll||(this.queuedScroll={});u.extend(t,n)},t.prototype.popScroll=function(){this.applyQueuedScroll();this.queuedScroll=null},t.prototype.applyQueuedScroll=function(){this.queuedScroll&&this.applyScroll(this.queuedScroll)},t.prototype.queryScroll=function(){var n={};return this.isDatesRendered&&u.extend(n,this.queryDateScroll()),n},t.prototype.applyScroll=function(n){n.isDateInit&&this.isDatesRendered&&u.extend(n,this.computeInitialDateScroll());this.isDatesRendered&&this.applyDateScroll(n)},t.prototype.computeInitialDateScroll=function(){return{}},t.prototype.queryDateScroll=function(){return{}},t.prototype.applyDateScroll=function(){},t.prototype.reportEventDrop=function(n,t,i,r){var e=this.calendar.eventManager.mutateEventsWithId(n.def.id,t),u=t.dateMutation;u&&(n.dateProfile=u.buildNewDateProfile(n.dateProfile,this.calendar));this.triggerEventDrop(n,u&&u.dateDelta||f.duration(),e,i,r)},t.prototype.triggerEventDrop=function(n,t,i,r,u){this.publiclyTrigger("eventDrop",{context:r[0],args:[n.toLegacy(),t,i,u,{},this]})},t.prototype.reportExternalDrop=function(n,t,i,r,u,f){t&&this.calendar.eventManager.addEventDef(n,i);this.triggerExternalDrop(n,t,r,u,f)},t.prototype.triggerExternalDrop=function(n,t,i,r,u){this.publiclyTrigger("drop",{context:i[0],args:[n.dateProfile.start.clone(),r,u,this]});t&&this.publiclyTrigger("eventReceive",{context:this,args:[n.buildInstance().toLegacy(),this]})},t.prototype.reportEventResize=function(n,t,i,r){var u=this.calendar.eventManager.mutateEventsWithId(n.def.id,t);n.dateProfile=t.dateMutation.buildNewDateProfile(n.dateProfile,this.calendar);this.triggerEventResize(n,t.dateMutation.endDelta,u,i,r)},t.prototype.triggerEventResize=function(n,t,i,r,u){this.publiclyTrigger("eventResize",{context:r[0],args:[n.toLegacy(),t,i,u,{},this]})},t.prototype.select=function(n,t){this.unselect(t);this.renderSelectionFootprint(n);this.reportSelection(n,t)},t.prototype.renderSelectionFootprint=function(t){this.renderSelection?this.renderSelection(t.toLegacy(this.calendar)):n.prototype.renderSelectionFootprint.call(this,t)},t.prototype.reportSelection=function(n,t){this.isSelected=!0;this.triggerSelect(n,t)},t.prototype.triggerSelect=function(n,t){var i=this.calendar.footprintToDateProfile(n);this.publiclyTrigger("select",{context:this,args:[i.start,i.end,t,this]})},t.prototype.unselect=function(n){this.isSelected&&(this.isSelected=!1,this.destroySelection&&this.destroySelection(),this.unrenderSelection(),this.publiclyTrigger("unselect",{context:this,args:[n,this]}))},t.prototype.selectEventInstance=function(n){this.selectedEventInstance&&this.selectedEventInstance===n||(this.unselectEventInstance(),this.getEventSegs().forEach(function(t){t.footprint.eventInstance===n&&t.el&&t.el.addClass("fc-selected")}),this.selectedEventInstance=n)},t.prototype.unselectEventInstance=function(){this.selectedEventInstance&&(this.getEventSegs().forEach(function(n){n.el&&n.el.removeClass("fc-selected")}),this.selectedEventInstance=null)},t.prototype.isEventDefSelected=function(n){return this.selectedEventInstance&&this.selectedEventInstance.def.id===n.id},t.prototype.handleDocumentMousedown=function(n){e.isPrimaryMouseButton(n)&&this.processUnselect(n)},t.prototype.processUnselect=function(n){this.processRangeUnselect(n);this.processEventUnselect(n)},t.prototype.processRangeUnselect=function(n){var t;this.isSelected&&this.opt("unselectAuto")&&((t=this.opt("unselectCancel"))&&u(n.target).closest(t).length||this.unselect(n))},t.prototype.processEventUnselect=function(n){this.selectedEventInstance&&(u(n.target).closest(".fc-selected").length||this.unselectEventInstance())},t.prototype.triggerBaseRendered=function(){this.publiclyTrigger("viewRender",{context:this,args:[this,this.el]})},t.prototype.triggerBaseUnrendered=function(){this.publiclyTrigger("viewDestroy",{context:this,args:[this,this.el]})},t.prototype.triggerDayClick=function(n,t,i){var r=this.calendar.footprintToDateProfile(n);this.publiclyTrigger("dayClick",{context:t,args:[r.start,i,this]})},t.prototype.isDateInOtherMonth=function(){return!1},t.prototype.getUnzonedRangeOption=function(n){var t=this.opt(n);if("function"==typeof t&&(t=t.apply(null,Array.prototype.slice.call(arguments,1))),t)return this.calendar.parseUnzonedRange(t)},t.prototype.initHiddenDays=function(){var n,t=this.opt("hiddenDays")||[],i=[],r=0;for(!1===this.opt("weekends")&&t.push(0,6),n=0;n<7;n++)(i[n]=-1!==u.inArray(n,t))||r++;if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=i},t.prototype.trimHiddenDays=function(n){var t=n.getStart(),i=n.getEnd();return t&&(t=this.skipHiddenDays(t)),i&&(i=this.skipHiddenDays(i,-1,!0)),null===t||null===i||t<i?new a.default(t,i):null},t.prototype.isHiddenDay=function(n){return f.isMoment(n)&&(n=n.day()),this.isHiddenDayHash[n]},t.prototype.skipHiddenDays=function(n,t,i){void 0===t&&(t=1);void 0===i&&(i=!1);for(var r=n.clone();this.isHiddenDayHash[(r.day()+(i?t:0)+7)%7];)r.add(t,"days");return r},t}(l.default);t.default=r;r.prototype.usesMinMaxTime=!1;r.prototype.dateProfileGeneratorClass=c.default;r.watch("displayingDates",["isInDom","dateProfile"],function(n){this.requestDateRender(n.dateProfile)},function(){this.requestDateUnrender()});r.watch("displayingBusinessHours",["displayingDates","businessHourGenerator"],function(n){this.requestBusinessHoursRender(n.businessHourGenerator)},function(){this.requestBusinessHoursUnrender()});r.watch("initialEvents",["dateProfile"],function(n){return this.fetchInitialEvents(n.dateProfile)});r.watch("bindingEvents",["initialEvents"],function(n){this.setEvents(n.initialEvents);this.bindEventChanges()},function(){this.unbindEventChanges();this.unsetEvents()});r.watch("displayingEvents",["displayingDates","hasEvents"],function(){this.requestEventsRender(this.get("currentEvents"))},function(){this.requestEventsUnrender()});r.watch("title",["dateProfile"],function(n){return this.title=this.computeTitle(n.dateProfile)});r.watch("legacyDateProps",["dateProfile"],function(n){var i=this.calendar,t=n.dateProfile;this.start=i.msToMoment(t.activeUnzonedRange.startMs,t.isRangeAllDay);this.end=i.msToMoment(t.activeUnzonedRange.endMs,t.isRangeAllDay);this.intervalStart=i.msToMoment(t.currentUnzonedRange.startMs,t.isRangeAllDay);this.intervalEnd=i.msToMoment(t.currentUnzonedRange.endMs,t.isRangeAllDay)})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(4),f=function(){function n(n,t){this.view=n._getView();this.component=n;this.fillRenderer=t}return n.prototype.opt=function(n){return this.view.opt(n)},n.prototype.rangeUpdated=function(){var n,t;this.eventTimeFormat=this.opt("eventTimeFormat")||this.opt("timeFormat")||this.computeEventTimeFormat();null==(n=this.opt("displayEventTime"))&&(n=this.computeDisplayEventTime());null==(t=this.opt("displayEventEnd"))&&(t=this.computeDisplayEventEnd());this.displayEventTime=n;this.displayEventEnd=t},n.prototype.render=function(n){var u,f,t,e=this.component._getDateProfile(),i=[],r=[];for(u in n)t=(f=n[u]).sliceRenderRanges(e.activeUnzonedRange),f.getEventDef().hasBgRendering()?i.push.apply(i,t):r.push.apply(r,t);this.renderBgRanges(i);this.renderFgRanges(r)},n.prototype.unrender=function(){this.unrenderBgRanges();this.unrenderFgRanges()},n.prototype.renderFgRanges=function(n){var i=this.component.eventRangesToEventFootprints(n),t=this.component.eventFootprintsToSegs(i);t=this.renderFgSegEls(t);!1!==this.renderFgSegs(t)&&(this.fgSegs=t)},n.prototype.unrenderFgRanges=function(){this.unrenderFgSegs(this.fgSegs||[]);this.fgSegs=null},n.prototype.renderBgRanges=function(n){var i=this.component.eventRangesToEventFootprints(n),t=this.component.eventFootprintsToSegs(i);!1!==this.renderBgSegs(t)&&(this.bgSegs=t)},n.prototype.unrenderBgRanges=function(){this.unrenderBgSegs();this.bgSegs=null},n.prototype.getSegs=function(){return(this.bgSegs||[]).concat(this.fgSegs||[])},n.prototype.renderFgSegs=function(){return!1},n.prototype.unrenderFgSegs=function(){},n.prototype.renderBgSegs=function(n){var t=this;if(!this.fillRenderer)return!1;this.fillRenderer.renderSegs("bgEvent",n,{getClasses:function(n){return t.getBgClasses(n.footprint.eventDef)},getCss:function(n){return{"background-color":t.getBgColor(n.footprint.eventDef)}},filterEl:function(n,i){return t.filterEventRenderEl(n.footprint,i)}})},n.prototype.unrenderBgSegs=function(){this.fillRenderer&&this.fillRenderer.unrender("bgEvent")},n.prototype.renderFgSegEls=function(n,t){var e=this;void 0===t&&(t=!1);var i,o=this.view.hasPublicHandlers("eventRender"),u="",f=[];if(n.length){for(i=0;i<n.length;i++)this.beforeFgSegHtml(n[i]),u+=this.fgSegHtml(n[i],t);r(u).each(function(t,i){var s=n[t],u=r(i);o&&(u=e.filterEventRenderEl(s.footprint,u));u&&(u.data("fc-seg",s),s.el=u,f.push(s))})}return f},n.prototype.beforeFgSegHtml=function(){},n.prototype.fgSegHtml=function(){},n.prototype.getSegClasses=function(n,t,i){var r=["fc-event",n.isStart?"fc-start":"fc-not-start",n.isEnd?"fc-end":"fc-not-end"].concat(this.getClasses(n.footprint.eventDef));return t&&r.push("fc-draggable"),i&&r.push("fc-resizable"),this.view.isEventDefSelected(n.footprint.eventDef)&&r.push("fc-selected"),r},n.prototype.filterEventRenderEl=function(n,t){var u=n.getEventLegacy(),i=this.view.publiclyTrigger("eventRender",{context:u,args:[u,t,this.view]});return!1===i?t=null:i&&!0!==i&&(t=r(i)),t},n.prototype.getTimeText=function(n,t,i){return this._getTimeText(n.eventInstance.dateProfile.start,n.eventInstance.dateProfile.end,n.componentFootprint.isAllDay,t,i)},n.prototype._getTimeText=function(n,t,i,r,u){return null==r&&(r=this.eventTimeFormat),null==u&&(u=this.displayEventEnd),this.displayEventTime&&!i?u&&t?this.view.formatRange({start:n,end:t},!1,r):n.format(r):""},n.prototype.computeEventTimeFormat=function(){return this.opt("smallTimeFormat")},n.prototype.computeDisplayEventTime=function(){return!0},n.prototype.computeDisplayEventEnd=function(){return!0},n.prototype.getBgClasses=function(n){var t=this.getClasses(n);return t.push("fc-bgevent"),t},n.prototype.getClasses=function(n){for(var i=this.getStylingObjs(n),r=[],t=0;t<i.length;t++)r.push.apply(r,i[t].eventClassName||i[t].className||[]);return r},n.prototype.getSkinCss=function(n){return{"background-color":this.getBgColor(n),"border-color":this.getBorderColor(n),color:this.getTextColor(n)}},n.prototype.getBgColor=function(n){for(var i,r=this.getStylingObjs(n),t=0;t<r.length&&!i;t++)i=r[t].eventBackgroundColor||r[t].eventColor||r[t].backgroundColor||r[t].color;return i||(i=this.opt("eventBackgroundColor")||this.opt("eventColor")),i},n.prototype.getBorderColor=function(n){for(var i,r=this.getStylingObjs(n),t=0;t<r.length&&!i;t++)i=r[t].eventBorderColor||r[t].eventColor||r[t].borderColor||r[t].color;return i||(i=this.opt("eventBorderColor")||this.opt("eventColor")),i},n.prototype.getTextColor=function(n){for(var i,r=this.getStylingObjs(n),t=0;t<r.length&&!i;t++)i=r[t].eventTextColor||r[t].textColor;return i||(i=this.opt("eventTextColor")),i},n.prototype.getStylingObjs=function(n){var t=this.getFallbackStylingObjs(n);return t.unshift(n),t},n.prototype.getFallbackStylingObjs=function(n){return[n.source]},n.prototype.sortEventSegs=function(n){n.sort(u.proxy(this,"compareEventSegs"))},n.prototype.compareEventSegs=function(n,t){var f=n.footprint.componentFootprint,i=f.unzonedRange,e=t.footprint.componentFootprint,r=e.unzonedRange;return i.startMs-r.startMs||r.endMs-r.startMs-(i.endMs-i.startMs)||e.isAllDay-f.isAllDay||u.compareByFieldSpecs(n.footprint.eventDef,t.footprint.eventDef,this.view.eventOrderSpecs)},n}();t.default=f},,,,,function(n,t,i){function u(n){return"en"!==n.locale()?n.clone().locale("en"):n}function v(n,t){return function(n,t){return k(s(n,t).join(""))}(y(t).fakeFormatString,n)}function y(n){return e[n]||(e[n]=function(n){var t=o(n);return{fakeFormatString:w(t),sameUnits:b(t)}}(n))}function o(n){for(var t,i=[],r=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;t=r.exec(n);)t[1]?i.push.apply(i,p(t[1])):t[2]?i.push({maybe:o(t[2])}):t[3]?i.push({token:t[3]}):t[5]&&i.push.apply(i,p(t[5]));return i}function p(n){return". "===n?["."," "]:[n]}function w(n){for(var t,i=[],r=0;r<n.length;r++)"string"==typeof(t=n[r])?i.push("["+t+"]"):t.token?t.token in l?i.push(c+"["+t.token+"]"):i.push(t.token):t.maybe&&i.push(f+w(t.maybe)+f);return i.join(h)}function b(n){for(var r,u,t=[],i=0;i<n.length;i++)(r=n[i]).token?(u=a[r.token.charAt(0)],t.push(u?u.unit:"second")):r.maybe?t.push.apply(t,b(r.maybe)):t.push(null);return t}function s(n,t){for(var u,f=[],e=r.oldMomentFormat(t,n).split(h),i=0;i<e.length;i++)(u=e[i]).charAt(0)===c?f.push(l[u.substring(1)](t)):f.push(u);return f}function k(n){return n.replace(d,function(n,t){return t.match(/[1-9]/)?t:""})}var r,e;Object.defineProperty(t,"__esModule",{value:!0});r=i(10);r.newMomentProto.format=function(){return this._fullCalendar&&arguments[0]?v(this,arguments[0]):this._ambigTime?r.oldMomentFormat(u(this),"YYYY-MM-DD"):this._ambigZone?r.oldMomentFormat(u(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?r.oldMomentFormat(u(this)):r.oldMomentProto.format.apply(this,arguments)};r.newMomentProto.toISOString=function(){return this._ambigTime?r.oldMomentFormat(u(this),"YYYY-MM-DD"):this._ambigZone?r.oldMomentFormat(u(this),"YYYY-MM-DD[T]HH:mm:ss"):this._fullCalendar?r.oldMomentProto.toISOString.apply(u(this),arguments):r.oldMomentProto.toISOString.apply(this,arguments)};var h="\v",c="\x1f",f="\x1e",d=new RegExp(f+"([^"+f+"]*)"+f,"g"),l={t:function(n){return r.oldMomentFormat(n,"a").charAt(0)},T:function(n){return r.oldMomentFormat(n,"A").charAt(0)}},a={Y:{value:1,unit:"year"},M:{value:2,unit:"month"},W:{value:3,unit:"week"},w:{value:3,unit:"week"},D:{value:4,unit:"day"},d:{value:4,unit:"day"}};t.formatDate=v;t.formatRange=function(n,t,i,u,f){return n=r.default.parseZone(n),t=r.default.parseZone(t),function(n,t,i,r,u){for(var e,h,o=n.sameUnits,y=t.clone().stripZone(),p=i.clone().stripZone(),c=s(n.fakeFormatString,t),d=s(n.fakeFormatString,i),w="",v="",l="",a="",b="",f=0;f<o.length&&(!o[f]||y.isSame(p,o[f]));f++)w+=c[f];for(e=o.length-1;e>f&&(!o[e]||y.isSame(p,o[e]))&&(e-1!==f||"."!==c[e]);e--)v=c[e]+v;for(h=f;h<=e;h++)l+=c[h],a+=d[h];return(l||a)&&(b=u?a+r+l:l+r+a),k(w+b+v)}(y(i=n.localeData().longDateFormat(i)||i),n,t,u||" - ",f)};e={};t.queryMostGranularFormatUnit=function(n){for(var u,r,t,f=o(n),i=0;i<f.length;i++)(u=f[i]).token&&(r=a[u.token.charAt(0)])&&(!t||r.value>t.value)&&(t=r);return t?t.unit:null}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(32),e=i(11),o=i(7),r=function(n){function t(){var t=n.call(this)||this;return t._watchers={},t._props={},t.applyGlobalWatchers(),t.constructed(),t}return u.__extends(t,n),t.watch=function(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];this.prototype.hasOwnProperty("_globalWatchArgs")||(this.prototype._globalWatchArgs=Object.create(this.prototype._globalWatchArgs));this.prototype._globalWatchArgs[n]=i},t.prototype.constructed=function(){},t.prototype.applyGlobalWatchers=function(){var n,t=this._globalWatchArgs;for(n in t)this.watch.apply(this,[n].concat(t[n]))},t.prototype.has=function(n){return n in this._props},t.prototype.get=function(n){return void 0===n?this._props:this._props[n]},t.prototype.set=function(n,t){var i;"string"==typeof n?(i={})[n]=void 0===t?null:t:i=n;this.setProps(i)},t.prototype.reset=function(n){var t,r=this._props,i={};for(t in r)i[t]=void 0;for(t in n)i[t]=n[t];this.setProps(i)},t.prototype.unset=function(n){for(var r={},i="string"==typeof n?[n]:n,t=0;t<i.length;t++)r[i[t]]=void 0;this.setProps(r)},t.prototype.setProps=function(n){var t,i,r={},u=0;for(t in n)"object"!=typeof(i=n[t])&&i===this._props[t]||(r[t]=i,u++);if(u){for(t in this.trigger("before:batchChange",r),r)i=r[t],this.trigger("before:change",t,i),this.trigger("before:change:"+t,i);for(t in r)void 0===(i=r[t])?delete this._props[t]:this._props[t]=i,this.trigger("change:"+t,i),this.trigger("change",t,i);this.trigger("batchChange",r)}},t.prototype.watch=function(n,t,i,r){var u=this;this.unwatch(n);this._watchers[n]=this._watchDeps(t,function(t){var r=i.call(u,t);r&&r.then?(u.unset(n),r.then(function(t){u.set(n,t)})):u.set(n,r)},function(t){u.unset(n);r&&r.call(u,t)})},t.prototype.unwatch=function(n){var t=this._watchers[n];t&&(delete this._watchers[n],t.teardown())},t.prototype._watchDeps=function(n,t,i){var o=this,h=0,f=n.length,r=0,u={},e=[],s=!1,c=function(n,t){o.on(n,t);e.push([n,t])};return n.forEach(function(n){var e=!1;"?"===n.charAt(0)&&(n=n.substring(1),e=!0);c("before:change:"+n,function(){1==++h&&r===f&&(s=!0,i(u),s=!1)});c("change:"+n,function(i){!function(n,i,e){void 0===i?(e||void 0===u[n]||r--,delete u[n]):(e||void 0!==u[n]||r++,u[n]=i);--h||r===f&&(s||t(u))}(n,i,e)})}),n.forEach(function(n){var t=!1;"?"===n.charAt(0)&&(n=n.substring(1),t=!0);o.has(n)?(u[n]=o.get(n),r++):t&&r++}),r===f&&t(u),{teardown:function(){for(var n=0;n<e.length;n++)o.off(e[n][0],e[n][1]);e=null;r===f&&i()},flash:function(){r===f&&(i(),t(u))}}},t.prototype.flash=function(n){var t=this._watchers[n];t&&t.flash()},t}(f.default);t.default=r;r.prototype._globalWatchArgs={};e.default.mixInto(r);o.default.mixInto(r)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),u=i(4),f=i(13),e=i(206);t.default={parse:function(n,t){return u.isTimeString(n.start)||r.isDuration(n.start)||u.isTimeString(n.end)||r.isDuration(n.end)?e.default.parse(n,t):f.default.parse(n,t)}}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(4),u=i(17),f=function(){function n(){this.clearEnd=!1;this.forceTimed=!1;this.forceAllDay=!1}return n.createFromDiff=function(t,i,u){function s(n,t){return u?r.diffByUnit(n,t,u):i.isAllDay()?r.diffDay(n,t):r.diffDayTime(n,t)}var e,o,f,h=t.end&&!i.end,c=t.isAllDay()&&!i.isAllDay(),l=!t.isAllDay()&&i.isAllDay();return e=s(i.start,t.start),i.end&&(o=s(i.unzonedRange.getEnd(),t.unzonedRange.getEnd()).subtract(e)),(f=new n).clearEnd=h,f.forceTimed=c,f.forceAllDay=l,f.setDateDelta(e),f.setEndDelta(o),f},n.prototype.buildNewDateProfile=function(n,t){var r=n.start.clone(),i=null,f=!1;return n.end&&!this.clearEnd?i=n.end.clone():this.endDelta&&!i&&(i=t.getDefaultEventEnd(n.isAllDay(),r)),this.forceTimed?(f=!0,r.hasTime()||r.time(0),i&&!i.hasTime()&&i.time(0)):this.forceAllDay&&(r.hasTime()&&r.stripTime(),i&&i.hasTime()&&i.stripTime()),this.dateDelta&&(f=!0,r.add(this.dateDelta),i&&i.add(this.dateDelta)),this.endDelta&&(f=!0,i.add(this.endDelta)),this.startDelta&&(f=!0,r.add(this.startDelta)),f&&(r=t.applyTimezone(r),i&&(i=t.applyTimezone(i))),!i&&t.opt("forceEventDuration")&&(i=t.getDefaultEventEnd(n.isAllDay(),r)),new u.default(r,i,t)},n.prototype.setDateDelta=function(n){this.dateDelta=n&&n.valueOf()?n:null},n.prototype.setStartDelta=function(n){this.startDelta=n&&n.valueOf()?n:null},n.prototype.setEndDelta=function(n){this.endDelta=n&&n.valueOf()?n:null},n.prototype.isEmpty=function(){return!(this.clearEnd||this.forceTimed||this.forceAllDay||this.dateDelta||this.startDelta||this.endDelta)},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(209),f=i(210),r={};t.defineThemeSystem=function(n,t){r[n]=t};t.getThemeSystemClass=function(n){return n?!0===n?f.default:r[n]:u.default}},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),r=i(3),o=i(4),s=i(19),u=i(6),h=i(13),f=function(n){function t(t){var i=n.call(this,t)||this;return i.eventDefs=[],i}return e.__extends(t,n),t.parse=function(n,t){var i;return r.isArray(n.events)?i=n:r.isArray(n)&&(i={events:n}),!!i&&u.default.parse.call(this,i,t)},t.prototype.setRawEventDefs=function(n){this.rawEventDefs=n;this.eventDefs=this.parseEventDefs(n)},t.prototype.fetch=function(n,t,i){var r,u=this.eventDefs;if(null!=this.currentTimezone&&this.currentTimezone!==i)for(r=0;r<u.length;r++)u[r]instanceof h.default&&u[r].rezone();return this.currentTimezone=i,s.default.resolve(u)},t.prototype.addEventDef=function(n){this.eventDefs.push(n)},t.prototype.removeEventDefsById=function(n){return o.removeMatching(this.eventDefs,function(t){return t.id===n})},t.prototype.removeAllEventDefs=function(){this.eventDefs=[]},t.prototype.getPrimitive=function(){return this.rawEventDefs},t.prototype.applyManualStandardProps=function(t){var i=n.prototype.applyManualStandardProps.call(this,t);return this.setRawEventDefs(t.events),i},t}(u.default);t.default=f;f.defineStandardProps({events:!1})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(4),f=function(){function n(n){this.isHorizontal=!1;this.isVertical=!1;this.els=r(n.els);this.isHorizontal=n.isHorizontal;this.isVertical=n.isVertical;this.forcedOffsetParentEl=n.offsetParent?r(n.offsetParent):null}return n.prototype.build=function(){var n=this.forcedOffsetParentEl;!n&&this.els.length>0&&(n=this.els.eq(0).offsetParent());this.origin=n?n.offset():null;this.boundingRect=this.queryBoundingRect();this.isHorizontal&&this.buildElHorizontals();this.isVertical&&this.buildElVerticals()},n.prototype.clear=function(){this.origin=null;this.boundingRect=null;this.lefts=null;this.rights=null;this.tops=null;this.bottoms=null},n.prototype.ensureBuilt=function(){this.origin||this.build()},n.prototype.buildElHorizontals=function(){var n=[],t=[];this.els.each(function(i,u){var f=r(u),e=f.offset().left,o=f.outerWidth();n.push(e);t.push(e+o)});this.lefts=n;this.rights=t},n.prototype.buildElVerticals=function(){var n=[],t=[];this.els.each(function(i,u){var f=r(u),e=f.offset().top,o=f.outerHeight();n.push(e);t.push(e+o)});this.tops=n;this.bottoms=t},n.prototype.getHorizontalIndex=function(n){this.ensureBuilt();for(var i=this.lefts,r=this.rights,u=i.length,t=0;t<u;t++)if(n>=i[t]&&n<r[t])return t},n.prototype.getVerticalIndex=function(n){this.ensureBuilt();for(var i=this.tops,r=this.bottoms,u=i.length,t=0;t<u;t++)if(n>=i[t]&&n<r[t])return t},n.prototype.getLeftOffset=function(n){return this.ensureBuilt(),this.lefts[n]},n.prototype.getLeftPosition=function(n){return this.ensureBuilt(),this.lefts[n]-this.origin.left},n.prototype.getRightOffset=function(n){return this.ensureBuilt(),this.rights[n]},n.prototype.getRightPosition=function(n){return this.ensureBuilt(),this.rights[n]-this.origin.left},n.prototype.getWidth=function(n){return this.ensureBuilt(),this.rights[n]-this.lefts[n]},n.prototype.getTopOffset=function(n){return this.ensureBuilt(),this.tops[n]},n.prototype.getTopPosition=function(n){return this.ensureBuilt(),this.tops[n]-this.origin.top},n.prototype.getBottomOffset=function(n){return this.ensureBuilt(),this.bottoms[n]},n.prototype.getBottomPosition=function(n){return this.ensureBuilt(),this.bottoms[n]-this.origin.top},n.prototype.getHeight=function(n){return this.ensureBuilt(),this.bottoms[n]-this.tops[n]},n.prototype.queryBoundingRect=function(){var n;return this.els.length>0&&!(n=u.getScrollParent(this.els.eq(0))).is(document)?u.getClientRect(n):null},n.prototype.isPointInBounds=function(n,t){return this.isLeftInBounds(n)&&this.isTopInBounds(t)},n.prototype.isLeftInBounds=function(n){return!this.boundingRect||n>=this.boundingRect.left&&n<this.boundingRect.right},n.prototype.isTopInBounds=function(n){return!this.boundingRect||n>=this.boundingRect.top&&n<this.boundingRect.bottom},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(3),r=i(4),o=i(7),f=i(20),e=function(){function n(n){this.isInteracting=!1;this.isDistanceSurpassed=!1;this.isDelayEnded=!1;this.isDragging=!1;this.isTouch=!1;this.isGeneric=!1;this.shouldCancelTouchScroll=!0;this.scrollAlwaysKills=!1;this.isAutoScroll=!1;this.scrollSensitivity=30;this.scrollSpeed=200;this.scrollIntervalMs=50;this.options=n||{}}return n.prototype.startInteraction=function(n,t){if(void 0===t&&(t={}),"mousedown"===n.type){if(f.default.get().shouldIgnoreMouse())return;if(!r.isPrimaryMouseButton(n))return;n.preventDefault()}this.isInteracting||(this.delay=r.firstDefined(t.delay,this.options.delay,0),this.minDistance=r.firstDefined(t.distance,this.options.distance,0),this.subjectEl=this.options.subjectEl,r.preventSelection(u("body")),this.isInteracting=!0,this.isTouch=r.getEvIsTouch(n),this.isGeneric="dragstart"===n.type,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.originX=r.getEvX(n),this.originY=r.getEvY(n),this.scrollEl=r.getScrollParent(u(n.target)),this.bindHandlers(),this.initAutoScroll(),this.handleInteractionStart(n),this.startDelay(n),this.minDistance||this.handleDistanceSurpassed(n))},n.prototype.handleInteractionStart=function(n){this.trigger("interactionStart",n)},n.prototype.endInteraction=function(n,t){this.isInteracting&&(this.endDrag(n),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null),this.destroyAutoScroll(),this.unbindHandlers(),this.isInteracting=!1,this.handleInteractionEnd(n,t),r.allowSelection(u("body")))},n.prototype.handleInteractionEnd=function(n,t){this.trigger("interactionEnd",n,t||!1)},n.prototype.bindHandlers=function(){var n=f.default.get();this.isGeneric?this.listenTo(u(document),{drag:this.handleMove,dragstop:this.endInteraction}):this.isTouch?this.listenTo(n,{touchmove:this.handleTouchMove,touchend:this.endInteraction,scroll:this.handleTouchScroll}):this.listenTo(n,{mousemove:this.handleMouseMove,mouseup:this.endInteraction});this.listenTo(n,{selectstart:r.preventDefault,contextmenu:r.preventDefault})},n.prototype.unbindHandlers=function(){this.stopListeningTo(f.default.get());this.stopListeningTo(u(document))},n.prototype.startDrag=function(n,t){this.startInteraction(n,t);this.isDragging||(this.isDragging=!0,this.handleDragStart(n))},n.prototype.handleDragStart=function(n){this.trigger("dragStart",n)},n.prototype.handleMove=function(n){var t=r.getEvX(n)-this.originX,i=r.getEvY(n)-this.originY,u=this.minDistance;this.isDistanceSurpassed||t*t+i*i>=u*u&&this.handleDistanceSurpassed(n);this.isDragging&&this.handleDrag(t,i,n)},n.prototype.handleDrag=function(n,t,i){this.trigger("drag",n,t,i);this.updateAutoScroll(i)},n.prototype.endDrag=function(n){this.isDragging&&(this.isDragging=!1,this.handleDragEnd(n))},n.prototype.handleDragEnd=function(n){this.trigger("dragEnd",n)},n.prototype.startDelay=function(n){var t=this;this.delay?this.delayTimeoutId=setTimeout(function(){t.handleDelayEnd(n)},this.delay):this.handleDelayEnd(n)},n.prototype.handleDelayEnd=function(n){this.isDelayEnded=!0;this.isDistanceSurpassed&&this.startDrag(n)},n.prototype.handleDistanceSurpassed=function(n){this.isDistanceSurpassed=!0;this.isDelayEnded&&this.startDrag(n)},n.prototype.handleTouchMove=function(n){this.isDragging&&this.shouldCancelTouchScroll&&n.preventDefault();this.handleMove(n)},n.prototype.handleMouseMove=function(n){this.handleMove(n)},n.prototype.handleTouchScroll=function(n){this.isDragging&&!this.scrollAlwaysKills||this.endInteraction(n,!0)},n.prototype.trigger=function(n){for(var i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];this.options[n]&&this.options[n].apply(this,i);this["_"+n]&&this["_"+n].apply(this,i)},n.prototype.initAutoScroll=function(){var n=this.scrollEl;this.isAutoScroll=this.options.scroll&&n&&!n.is(window)&&!n.is(document);this.isAutoScroll&&this.listenTo(n,"scroll",r.debounce(this.handleDebouncedScroll,100))},n.prototype.destroyAutoScroll=function(){this.endAutoScroll();this.isAutoScroll&&this.stopListeningTo(this.scrollEl,"scroll")},n.prototype.computeScrollBounds=function(){this.isAutoScroll&&(this.scrollBounds=r.getOuterRect(this.scrollEl))},n.prototype.updateAutoScroll=function(n){var u,f,e,o,t=this.scrollSensitivity,i=this.scrollBounds,s=0,h=0;i&&(u=(t-(r.getEvY(n)-i.top))/t,f=(t-(i.bottom-r.getEvY(n)))/t,e=(t-(r.getEvX(n)-i.left))/t,o=(t-(i.right-r.getEvX(n)))/t,u>=0&&u<=1?s=u*this.scrollSpeed*-1:f>=0&&f<=1&&(s=f*this.scrollSpeed),e>=0&&e<=1?h=e*this.scrollSpeed*-1:o>=0&&o<=1&&(h=o*this.scrollSpeed));this.setScrollVel(s,h)},n.prototype.setScrollVel=function(n,t){this.scrollTopVel=n;this.scrollLeftVel=t;this.constrainScrollVel();!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(r.proxy(this,"scrollIntervalFunc"),this.scrollIntervalMs))},n.prototype.constrainScrollVel=function(){var n=this.scrollEl;this.scrollTopVel<0?n.scrollTop()<=0&&(this.scrollTopVel=0):this.scrollTopVel>0&&n.scrollTop()+n[0].clientHeight>=n[0].scrollHeight&&(this.scrollTopVel=0);this.scrollLeftVel<0?n.scrollLeft()<=0&&(this.scrollLeftVel=0):this.scrollLeftVel>0&&n.scrollLeft()+n[0].clientWidth>=n[0].scrollWidth&&(this.scrollLeftVel=0)},n.prototype.scrollIntervalFunc=function(){var n=this.scrollEl,t=this.scrollIntervalMs/1e3;this.scrollTopVel&&n.scrollTop(n.scrollTop()+this.scrollTopVel*t);this.scrollLeftVel&&n.scrollLeft(n.scrollLeft()+this.scrollLeftVel*t);this.constrainScrollVel();this.scrollTopVel||this.scrollLeftVel||this.endAutoScroll()},n.prototype.endAutoScroll=function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.handleScrollEnd())},n.prototype.handleDebouncedScroll=function(){this.scrollIntervalId||this.handleScrollEnd()},n.prototype.handleScrollEnd=function(){},n}();t.default=e;o.default.mixInto(e)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.updateDayTable=function(){for(var n,o,r,u=this,s=u.view,h=s.calendar,i=h.msToUtcMoment(u.dateProfile.renderUnzonedRange.startMs,!0),c=h.msToUtcMoment(u.dateProfile.renderUnzonedRange.endMs,!0),f=-1,e=[],t=[];i.isBefore(c);)s.isHiddenDay(i)?e.push(f+.5):(f++,e.push(f),t.push(i.clone())),i.add(1,"days");if(this.breakOnWeeks){for(o=t[0].day(),n=1;n<t.length&&t[n].day()!==o;n++);r=Math.ceil(t.length/n)}else r=1,n=t.length;this.dayDates=t;this.dayIndices=e;this.daysPerRow=n;this.rowCnt=r;this.updateDayTableCols()},t.prototype.updateDayTableCols=function(){this.colCnt=this.computeColCnt();this.colHeadFormat=this.opt("columnHeaderFormat")||this.opt("columnFormat")||this.computeColHeadFormat()},t.prototype.computeColCnt=function(){return this.daysPerRow},t.prototype.getCellDate=function(n,t){return this.dayDates[this.getCellDayIndex(n,t)].clone()},t.prototype.getCellRange=function(n,t){var i=this.getCellDate(n,t),r=i.clone().add(1,"days");return{start:i,end:r}},t.prototype.getCellDayIndex=function(n,t){return n*this.daysPerRow+this.getColDayIndex(t)},t.prototype.getColDayIndex=function(n){return this.isRTL?this.colCnt-1-n:n},t.prototype.getDateDayIndex=function(n){var t=this.dayIndices,i=n.diff(this.dayDates[0],"days");return i<0?t[0]-1:i>=t.length?t[t.length-1]+1:t[i]},t.prototype.computeColHeadFormat=function(){return this.rowCnt>1||this.colCnt>10?"ddd":this.colCnt>1?this.opt("dayOfMonthFormat"):"dddd"},t.prototype.sliceRangeByRow=function(n){for(var u,f,i,r,e=this.daysPerRow,o=this.view.computeDayRange(n),s=this.getDateDayIndex(o.start),h=this.getDateDayIndex(o.end.clone().subtract(1,"days")),c=[],t=0;t<this.rowCnt;t++)f=(u=t*e)+e-1,i=Math.max(s,u),r=Math.min(h,f),(i=Math.ceil(i))<=(r=Math.floor(r))&&c.push({row:t,firstRowDayIndex:i-u,lastRowDayIndex:r-u,isStart:i===s,isEnd:r===h});return c},t.prototype.sliceRangeByDay=function(n){for(var f,e,i,r,u,o=this.daysPerRow,s=this.view.computeDayRange(n),h=this.getDateDayIndex(s.start),c=this.getDateDayIndex(s.end.clone().subtract(1,"days")),l=[],t=0;t<this.rowCnt;t++)for(e=(f=t*o)+o-1,i=f;i<=e;i++)r=Math.max(h,i),u=Math.min(c,i),(r=Math.ceil(r))<=(u=Math.floor(u))&&l.push({row:t,firstRowDayIndex:r-f,lastRowDayIndex:u-f,isStart:r===h,isEnd:u===c});return l},t.prototype.renderHeadHtml=function(){var n=this.view.calendar.theme;return'<div class="fc-row '+n.getClass("headerRow")+'"><table class="'+n.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(){for(var t,i=[],n=0;n<this.colCnt;n++)t=this.getCellDate(0,n),i.push(this.renderHeadDateCellHtml(t));return i.join("")},t.prototype.renderHeadDateCellHtml=function(n,t,i){var e,u=this,o=u.view,s=u.dateProfile.activeUnzonedRange.containsDate(n),f=["fc-day-header",o.calendar.theme.getClass("widgetHeader")];return e="function"==typeof u.opt("columnHeaderHtml")?u.opt("columnHeaderHtml")(n):"function"==typeof u.opt("columnHeaderText")?r.htmlEscape(u.opt("columnHeaderText")(n)):r.htmlEscape(n.format(u.colHeadFormat)),1===u.rowCnt?f=f.concat(u.getDayClasses(n,!0)):f.push("fc-"+r.dayIDs[n.day()]),'<th class="'+f.join(" ")+'"'+(1===(s&&u.rowCnt)?' data-date="'+n.format("YYYY-MM-DD")+'"':"")+(t>1?' colspan="'+t+'"':"")+(i?" "+i:"")+">"+(s?o.buildGotoAnchorHtml({date:n,forceOff:u.rowCnt>1||1===u.colCnt},e):e)+"<\/th>"},t.prototype.renderBgTrHtml=function(n){return"<tr>"+(this.isRTL?"":this.renderBgIntroHtml(n))+this.renderBgCellsHtml(n)+(this.isRTL?this.renderBgIntroHtml(n):"")+"<\/tr>"},t.prototype.renderBgIntroHtml=function(){return this.renderIntroHtml()},t.prototype.renderBgCellsHtml=function(n){for(var i,r=[],t=0;t<this.colCnt;t++)i=this.getCellDate(n,t),r.push(this.renderBgCellHtml(i));return r.join("")},t.prototype.renderBgCellHtml=function(n,t){var i=this,u=i.view,f=i.dateProfile.activeUnzonedRange.containsDate(n),r=i.getDayClasses(n);return r.unshift("fc-day",u.calendar.theme.getClass("widgetContent")),'<td class="'+r.join(" ")+'"'+(f?' data-date="'+n.format("YYYY-MM-DD")+'"':"")+(t?" "+t:"")+"><\/td>"},t.prototype.renderIntroHtml=function(){},t.prototype.bookendCells=function(n){var t=this.renderIntroHtml();t&&(this.isRTL?n.append(t):n.prepend(t))},t}(i(14).default);t.default=f},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){this.component=n;this.fillRenderer=t}return n.prototype.render=function(n){var t=this.component,i=t._getDateProfile().activeUnzonedRange,r=n.buildEventInstanceGroup(t.hasAllDayBusinessHours,i),u=r?t.eventRangesToEventFootprints(r.sliceRenderRanges(i)):[];this.renderEventFootprints(u)},n.prototype.renderEventFootprints=function(n){var t=this.component.eventFootprintsToSegs(n);this.renderSegs(t);this.segs=t},n.prototype.renderSegs=function(n){this.fillRenderer&&this.fillRenderer.renderSegs("businessHours",n,{getClasses:function(){return["fc-nonbusiness","fc-bgevent"]}})},n.prototype.unrender=function(){this.fillRenderer&&this.fillRenderer.unrender("businessHours");this.segs=null},n.prototype.getSegs=function(){return this.segs||[]},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(4),f=function(){function n(n){this.fillSegTag="div";this.component=n;this.elsByFill={}}return n.prototype.renderFootprint=function(n,t,i){this.renderSegs(n,this.component.componentFootprintToSegs(t),i)},n.prototype.renderSegs=function(n,t,i){var r;return t=this.buildSegEls(n,t,i),(r=this.attachSegEls(n,t))&&this.reportEls(n,r),t},n.prototype.unrender=function(n){var t=this.elsByFill[n];t&&(t.remove(),delete this.elsByFill[n])},n.prototype.buildSegEls=function(n,t,i){var u,o=this,f="",e=[];if(t.length){for(u=0;u<t.length;u++)f+=this.buildSegHtml(n,t[u],i);r(f).each(function(n,u){var s=t[n],f=r(u);i.filterEl&&(f=i.filterEl(s,f));f&&(f=r(f)).is(o.fillSegTag)&&(s.el=f,e.push(s))})}return e},n.prototype.buildSegHtml=function(n,t,i){var r=i.getClasses?i.getClasses(t):[],f=u.cssToStr(i.getCss?i.getCss(t):{});return"<"+this.fillSegTag+(r.length?' class="'+r.join(" ")+'"':"")+(f?' style="'+f+'"':"")+" />"},n.prototype.attachSegEls=function(){},n.prototype.reportEls=function(n,t){this.elsByFill[n]=this.elsByFill[n]?this.elsByFill[n].add(t):r(t)},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(13),u=i(35),f=i(6),e=function(){function n(n,t){this.view=n._getView();this.component=n;this.eventRenderer=t}return n.prototype.renderComponentFootprint=function(n){this.renderEventFootprints([this.fabricateEventFootprint(n)])},n.prototype.renderEventDraggingFootprints=function(n,t,i){this.renderEventFootprints(n,t,"fc-dragging",i?null:this.view.opt("dragOpacity"))},n.prototype.renderEventResizingFootprints=function(n,t){this.renderEventFootprints(n,t,"fc-resizing")},n.prototype.renderEventFootprints=function(n,t,i,r){for(var f=this.component.eventFootprintsToSegs(n),e="fc-helper "+(i||""),f=this.eventRenderer.renderFgSegEls(f),u=0;u<f.length;u++)f[u].el.addClass(e);if(null!=r)for(u=0;u<f.length;u++)f[u].el.css("opacity",r);this.helperEls=this.renderSegs(f,t)},n.prototype.renderSegs=function(){},n.prototype.unrender=function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},n.prototype.fabricateEventFootprint=function(n){var i,e=this.view.calendar,o=e.footprintToDateProfile(n),t=new r.default(new f.default(e));return t.dateProfile=o,i=t.buildInstance(),new u.default(n,t,i)},n}();t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(20),f=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.bindToEl=function(n){var t=this.component;t.bindSegHandlerToEl(n,"click",this.handleClick.bind(this));t.bindSegHandlerToEl(n,"mouseenter",this.handleMouseover.bind(this));t.bindSegHandlerToEl(n,"mouseleave",this.handleMouseout.bind(this))},t.prototype.handleClick=function(n,t){!1===this.component.publiclyTrigger("eventClick",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,this.view]})&&t.preventDefault()},t.prototype.handleMouseover=function(n,t){u.default.get().shouldIgnoreMouse()||this.mousedOverSeg||(this.mousedOverSeg=n,this.view.isEventDefResizable(n.footprint.eventDef)&&n.el.addClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseover",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,this.view]}))},t.prototype.handleMouseout=function(n,t){this.mousedOverSeg&&(this.mousedOverSeg=null,this.view.isEventDefResizable(n.footprint.eventDef)&&n.el.removeClass("fc-allow-mouse-resize"),this.component.publiclyTrigger("eventMouseout",{context:n.el[0],args:[n.footprint.getEventLegacy(),t||{},this.view]}))},t.prototype.end=function(){this.mousedOverSeg&&this.handleMouseout(this.mousedOverSeg)},t}(i(15).default);t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(14),e=i(241),o=i(221),s=i(59),h=i(220),c=i(219),l=i(218),r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(f.default);t.default=r;r.prototype.dateClickingClass=e.default;r.prototype.dateSelectingClass=o.default;r.prototype.eventPointingClass=s.default;r.prototype.eventDraggingClass=h.default;r.prototype.eventResizingClass=c.default;r.prototype.externalDroppingClass=l.default},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var s=i(2),r=i(3),h=i(4),f=i(53),c=i(245),e=i(5),o=i(12),l=i(35),a=i(56),v=i(60),y=i(40),p=i(55),w=i(246),b=i(247),k=i(248),u=function(n){function t(t){var i=n.call(this,t)||this;return i.cellWeekNumbersVisible=!1,i.bottomCoordPadding=0,i.isRigid=!1,i.hasAllDayBusinessHours=!0,i}return s.__extends(t,n),t.prototype.componentFootprintToSegs=function(n){for(var t,r=this.sliceRangeByRow(n.unzonedRange),i=0;i<r.length;i++)t=r[i],this.isRTL?(t.leftCol=this.daysPerRow-1-t.lastRowDayIndex,t.rightCol=this.daysPerRow-1-t.firstRowDayIndex):(t.leftCol=t.firstRowDayIndex,t.rightCol=t.lastRowDayIndex);return r},t.prototype.renderDates=function(n){this.dateProfile=n;this.updateDayTable();this.renderGrid()},t.prototype.unrenderDates=function(){this.removeSegPopover()},t.prototype.renderGrid=function(){var n,t,i=this.view,r=this.rowCnt,e=this.colCnt,u="";for(this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml()),n=0;n<r;n++)u+=this.renderDayRowHtml(n,this.isRigid);for(this.el.html(u),this.rowEls=this.el.find(".fc-row"),this.cellEls=this.el.find(".fc-day, .fc-disabled-day"),this.rowCoordCache=new f.default({els:this.rowEls,isVertical:!0}),this.colCoordCache=new f.default({els:this.cellEls.slice(0,this.colCnt),isHorizontal:!0}),n=0;n<r;n++)for(t=0;t<e;t++)this.publiclyTrigger("dayRender",{context:i,args:[this.getCellDate(n,t),this.getCellEl(n,t),i]})},t.prototype.renderDayRowHtml=function(n,t){var i=this.view.calendar.theme,r=["fc-row","fc-week",i.getClass("dayRow")];return t&&r.push("fc-rigid"),'<div class="'+r.join(" ")+'"><div class="fc-bg"><table class="'+i.getClass("tableGrid")+'">'+this.renderBgTrHtml(n)+'<\/table><\/div><div class="fc-content-skeleton"><table>'+(this.getIsNumbersVisible()?"<thead>"+this.renderNumberTrHtml(n)+"<\/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(n){return"<tr>"+(this.isRTL?"":this.renderNumberIntroHtml(n))+this.renderNumberCellsHtml(n)+(this.isRTL?this.renderNumberIntroHtml(n):"")+"<\/tr>"},t.prototype.renderNumberIntroHtml=function(){return this.renderIntroHtml()},t.prototype.renderNumberCellsHtml=function(n){for(var i,r=[],t=0;t<this.colCnt;t++)i=this.getCellDate(n,t),r.push(this.renderNumberCellHtml(i));return r.join("")},t.prototype.renderNumberCellHtml=function(n){var i,r,u=this.view,t="",f=this.dateProfile.activeUnzonedRange.containsDate(n),e=this.getIsDayNumbersVisible()&&f;return e||this.cellWeekNumbersVisible?((i=this.getDayClasses(n)).unshift("fc-day-top"),this.cellWeekNumbersVisible&&(r="ISO"===n._locale._fullCalendar_weekCalc?1:n._locale.firstDayOfWeek()),t+='<td class="'+i.join(" ")+'"'+(f?' data-date="'+n.format()+'"':"")+">",this.cellWeekNumbersVisible&&n.day()===r&&(t+=u.buildGotoAnchorHtml({date:n,type:"week"},{"class":"fc-week-number"},n.format("w"))),e&&(t+=u.buildGotoAnchorHtml(n,{"class":"fc-day-number"},n.date())),t+="<\/td>"):"<td/>"},t.prototype.prepareHits=function(){this.colCoordCache.build();this.rowCoordCache.build();this.rowCoordCache.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},t.prototype.releaseHits=function(){this.colCoordCache.clear();this.rowCoordCache.clear()},t.prototype.queryHit=function(n,t){if(this.colCoordCache.isLeftInBounds(n)&&this.rowCoordCache.isTopInBounds(t)){var i=this.colCoordCache.getHorizontalIndex(n),r=this.rowCoordCache.getVerticalIndex(t);if(null!=r&&null!=i)return this.getCellHit(r,i)}},t.prototype.getHitFootprint=function(n){var t=this.getCellRange(n.row,n.col);return new o.default(new e.default(t.start,t.end),!0)},t.prototype.getHitEl=function(n){return this.getCellEl(n.row,n.col)},t.prototype.getCellHit=function(n,t){return{row:n,col:t,component:this,left:this.colCoordCache.getLeftOffset(t),right:this.colCoordCache.getRightOffset(t),top:this.rowCoordCache.getTopOffset(n),bottom:this.rowCoordCache.getBottomOffset(n)}},t.prototype.getCellEl=function(n,t){return this.cellEls.eq(n*this.colCnt+t)},t.prototype.executeEventUnrender=function(){this.removeSegPopover();n.prototype.executeEventUnrender.call(this)},t.prototype.getOwnEventSegs=function(){return n.prototype.getOwnEventSegs.call(this).concat(this.popoverSegs||[])},t.prototype.renderDrag=function(n,t,i){for(var r=0;r<n.length;r++)this.renderHighlight(n[r].componentFootprint);if(n.length&&t&&t.component!==this)return this.helperRenderer.renderEventDraggingFootprints(n,t,i),!0},t.prototype.unrenderDrag=function(){this.unrenderHighlight();this.helperRenderer.unrender()},t.prototype.renderEventResize=function(n,t,i){for(var r=0;r<n.length;r++)this.renderHighlight(n[r].componentFootprint);this.helperRenderer.renderEventResizingFootprints(n,t,i)},t.prototype.unrenderEventResize=function(){this.unrenderHighlight();this.helperRenderer.unrender()},t.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},t.prototype.limitRows=function(n){for(var i,r=this.eventRenderer.rowStructs||[],t=0;t<r.length;t++)this.unlimitRow(t),!1!==(i=!!n&&("number"==typeof n?n:this.computeRowLevelLimit(t)))&&this.limitRow(t,i)},t.prototype.computeRowLevelLimit=function(n){function o(n,t){i=Math.max(i,r(t).outerHeight())}for(var u,i,e=this.rowEls.eq(n).height(),f=this.eventRenderer.rowStructs[n].tbodyEl.children(),t=0;t<f.length;t++)if(u=f.eq(t).removeClass("fc-limited"),i=0,u.find("> td > :first-child").each(o),u.position().top+i>e)return t;return!1},t.prototype.limitRow=function(n,t){var y,p,w,c,e,u,b,l,o,g,k,s,a,h,v,nt=this,f=this.eventRenderer.rowStructs[n],d=[],i=0,tt=function(f){for(;i<f;)(u=nt.getCellSegs(n,i,t)).length&&(o=p[t-1][i],v=nt.renderMoreLink(n,i,u),h=r("<div/>").append(v),o.append(h),d.push(h[0])),i++};if(t&&t<f.segLevels.length){for(y=f.segLevels[t-1],p=f.cellMatrix,w=f.tbodyEl.children().slice(t).addClass("fc-limited").get(),c=0;c<y.length;c++){for(tt((e=y[c]).leftCol),l=[],b=0;i<=e.rightCol;)u=this.getCellSegs(n,i,t),l.push(u),b+=u.length,i++;if(b){for(g=(o=p[t-1][e.leftCol]).attr("rowspan")||1,k=[],s=0;s<l.length;s++)a=r('<td class="fc-more-cell"/>').attr("rowspan",g),u=l[s],v=this.renderMoreLink(n,e.leftCol+s,[e].concat(u)),h=r("<div/>").append(v),a.append(h),k.push(a[0]),d.push(a[0]);o.addClass("fc-limited").after(r(k));w.push(o[0])}}tt(this.colCnt);f.moreEls=r(d);f.limitedEls=r(w)}},t.prototype.unlimitRow=function(n){var t=this.eventRenderer.rowStructs[n];t.moreEls&&(t.moreEls.remove(),t.moreEls=null);t.limitedEls&&(t.limitedEls.removeClass("fc-limited"),t.limitedEls=null)},t.prototype.renderMoreLink=function(n,t,i){var u=this,f=this.view;return r('<a class="fc-more"/>').text(this.getMoreLinkText(i.length)).on("click",function(e){var o=u.opt("eventLimitClick"),s=u.getCellDate(n,t),h=r(e.currentTarget),l=u.getCellEl(n,t),a=u.getCellSegs(n,t),c=u.resliceDaySegs(a,s),v=u.resliceDaySegs(i,s);"function"==typeof o&&(o=u.publiclyTrigger("eventLimitClick",{context:f,args:[{date:s.clone(),dayEl:l,moreEl:h,segs:c,hiddenSegs:v},e,f]}));"popover"===o?u.showSegPopover(n,t,h,c):"string"==typeof o&&f.calendar.zoomTo(s,o)})},t.prototype.showSegPopover=function(n,t,i,r){var s,f,u=this,e=this.view,o=i.parent();s=1===this.rowCnt?e.el:this.rowEls.eq(n);f={className:"fc-more-popover "+e.calendar.theme.getClass("popover"),content:this.renderSegPopoverContent(n,t,r),parentEl:e.el,top:s.offset().top,autoHide:!0,viewportConstrain:this.opt("popoverViewportConstrain"),hide:function(){u.popoverSegs&&u.triggerBeforeEventSegsDestroyed(u.popoverSegs);u.segPopover.removeElement();u.segPopover=null;u.popoverSegs=null}};this.isRTL?f.right=o.offset().left+o.outerWidth()+1:f.left=o.offset().left-1;this.segPopover=new c.default(f);this.segPopover.show();this.bindAllSegHandlersToEl(this.segPopover.el);this.triggerAfterEventSegsRendered(r)},t.prototype.renderSegPopoverContent=function(n,t,i){var u,f=this.view.calendar.theme,o=this.getCellDate(n,t).format(this.opt("dayPopoverFormat")),e=r('<div class="fc-header '+f.getClass("popoverHeader")+'"><span class="fc-close '+f.getIconClass("close")+'"><\/span><span class="fc-title">'+h.htmlEscape(o)+'<\/span><div class="fc-clear"/><\/div><div class="fc-body '+f.getClass("popoverContent")+'"><div class="fc-event-container"><\/div><\/div>'),s=e.find(".fc-event-container");for(i=this.eventRenderer.renderFgSegEls(i,!0),this.popoverSegs=i,u=0;u<i.length;u++)this.hitsNeeded(),i[u].hit=this.getCellHit(n,t),this.hitsNotNeeded(),s.append(i[u].el);return e},t.prototype.resliceDaySegs=function(n,t){for(var i,f,h=t.clone(),c=h.clone().add(1,"days"),a=new e.default(h,c),s=[],u=0;u<n.length;u++)(f=(i=n[u]).footprint.componentFootprint.unzonedRange.intersect(a))&&s.push(r.extend({},i,{footprint:new l.default(new o.default(f,i.footprint.componentFootprint.isAllDay),i.footprint.eventDef,i.footprint.eventInstance),isStart:i.isStart&&f.isStart,isEnd:i.isEnd&&f.isEnd}));return this.eventRenderer.sortEventSegs(s),s},t.prototype.getMoreLinkText=function(n){var t=this.opt("eventLimitText");return"function"==typeof t?t(n):"+"+n+" "+t},t.prototype.getCellSegs=function(n,t,i){for(var u,f=this.eventRenderer.rowStructs[n].segMatrix,r=i||0,e=[];r<f.length;)(u=f[r][t])&&e.push(u),r++;return e},t}(y.default);t.default=u;u.prototype.eventRendererClass=w.default;u.prototype.businessHourRendererClass=a.default;u.prototype.helperRendererClass=b.default;u.prototype.fillRendererClass=k.default;v.default.mixInto(u);p.default.mixInto(u)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),o=i(3),r=i(4),s=i(39),h=i(41),c=i(224),e=i(61),u=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.dayGrid=r.instantiateDayGrid(),r.dayGrid.isRigid=r.hasRigidRows(),r.opt("weekNumbers")&&(r.opt("weekNumbersWithinDays")?(r.dayGrid.cellWeekNumbersVisible=!0,r.dayGrid.colWeekNumbersVisible=!1):(r.dayGrid.cellWeekNumbersVisible=!1,r.dayGrid.colWeekNumbersVisible=!0)),r.addChild(r.dayGrid),r.scroller=new s.default({overflowX:"hidden",overflowY:"auto"}),r}return f.__extends(t,n),t.prototype.instantiateDayGrid=function(){return new(function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.colWeekNumbersVisible=!1,t}return f.__extends(t,n),t.prototype.renderHeadIntroHtml=function(){var n=this.view;return this.colWeekNumbersVisible?'<th class="fc-week-number '+n.calendar.theme.getClass("widgetHeader")+'" '+n.weekNumberStyleAttr()+"><span>"+r.htmlEscape(this.opt("weekNumberTitle"))+"<\/span><\/th>":""},t.prototype.renderNumberIntroHtml=function(n){var t=this.view,i=this.getCellDate(n,0);return this.colWeekNumbersVisible?'<td class="fc-week-number" '+t.weekNumberStyleAttr()+">"+t.buildGotoAnchorHtml({date:i,type:"week",forceOff:1===this.colCnt},i.format("w"))+"<\/td>":""},t.prototype.renderBgIntroHtml=function(){var n=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number '+n.calendar.theme.getClass("widgetContent")+'" '+n.weekNumberStyleAttr()+"><\/td>":""},t.prototype.renderIntroHtml=function(){var n=this.view;return this.colWeekNumbersVisible?'<td class="fc-week-number" '+n.weekNumberStyleAttr()+"><\/td>":""},t.prototype.getIsNumbersVisible=function(){return e.default.prototype.getIsNumbersVisible.apply(this,arguments)||this.colWeekNumbersVisible},t}(this.dayGridClass))(this)},t.prototype.executeDateRender=function(t){this.dayGrid.breakOnWeeks=/year|month|week/.test(t.currentRangeUnit);n.prototype.executeDateRender.call(this,t)},t.prototype.renderSkeleton=function(){var n,t;this.el.addClass("fc-basic-view").html(this.renderSkeletonHtml());this.scroller.render();n=this.scroller.el.addClass("fc-day-grid-container");t=o('<div class="fc-day-grid" />').appendTo(n);this.el.find(".fc-body > tr > td").append(n);this.dayGrid.headContainerEl=this.el.find(".fc-head-container");this.dayGrid.setElement(t)},t.prototype.unrenderSkeleton=function(){this.dayGrid.removeElement();this.scroller.destroy()},t.prototype.renderSkeletonHtml=function(){var n=this.calendar.theme;return'<table class="'+n.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+n.getClass("widgetHeader")+'">&nbsp;<\/td><\/tr><\/thead>':"")+'<tbody class="fc-body"><tr><td class="'+n.getClass("widgetContent")+'"><\/td><\/tr><\/tbody><\/table>'},t.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},t.prototype.hasRigidRows=function(){var n=this.opt("eventLimit");return n&&"number"!=typeof n},t.prototype.updateSize=function(t,i,u){var f,o,e=this.opt("eventLimit"),s=this.dayGrid.headContainerEl.find(".fc-row");this.dayGrid.rowEls?(n.prototype.updateSize.call(this,t,i,u),this.dayGrid.colWeekNumbersVisible&&(this.weekNumberWidth=r.matchCellWidths(this.el.find(".fc-week-number"))),this.scroller.clear(),r.uncompensateScroll(s),this.dayGrid.removeSegPopover(),e&&"number"==typeof e&&this.dayGrid.limitRows(e),f=this.computeScrollerHeight(t),this.setGridHeight(f,i),e&&"number"!=typeof e&&this.dayGrid.limitRows(e),i||(this.scroller.setHeight(f),((o=this.scroller.getScrollbarWidths()).left||o.right)&&(r.compensateScroll(s,o),f=this.computeScrollerHeight(t),this.scroller.setHeight(f)),this.scroller.lockOverflow(o))):i||(f=this.computeScrollerHeight(t),this.scroller.setHeight(f))},t.prototype.computeScrollerHeight=function(n){return n-r.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.setGridHeight=function(n,t){t?r.undistributeHeight(this.dayGrid.rowEls):r.distributeHeight(this.dayGrid.rowEls,n,!0)},t.prototype.computeInitialDateScroll=function(){return{top:0}},t.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},t.prototype.applyDateScroll=function(n){void 0!==n.top&&this.scroller.setScrollTop(n.top)},t}(h.default);t.default=u;u.prototype.dateProfileGeneratorClass=c.default;u.prototype.dayGridClass=e.default},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(5),f=i(12),e=i(49),o=i(6),r=i(34),s=function(){function n(n,t){this.eventManager=n;this._calendar=t}return n.prototype.opt=function(n){return this._calendar.opt(n)},n.prototype.isEventInstanceGroupAllowed=function(n){for(var u=n.getEventDef(),i=this.eventRangesToEventFootprints(n.getAllEventRanges()),e=this.getPeerEventInstances(u).map(r.eventInstanceToEventRange),o=this.eventRangesToEventFootprints(e),s=u.getConstraint(),h=u.getOverlap(),f=this.opt("eventAllow"),t=0;t<i.length;t++)if(!this.isFootprintAllowed(i[t].componentFootprint,o,s,h,i[t].eventInstance))return!1;if(f)for(t=0;t<i.length;t++)if(!1===f(i[t].componentFootprint.toLegacy(this._calendar),i[t].getEventLegacy()))return!1;return!0},n.prototype.getPeerEventInstances=function(n){return this.eventManager.getEventInstancesWithoutId(n.id)},n.prototype.isSelectionFootprintAllowed=function(n){var t,i=this.eventManager.getEventInstances().map(r.eventInstanceToEventRange),u=this.eventRangesToEventFootprints(i);return!!this.isFootprintAllowed(n,u,this.opt("selectConstraint"),this.opt("selectOverlap"))&&(!(t=this.opt("selectAllow"))||!1!==t(n.toLegacy(this._calendar)))},n.prototype.isFootprintAllowed=function(n,t,i,r,u){var e,f;if(null!=i&&(e=this.constraintValToFootprints(i,n.isAllDay),!this.isFootprintWithinConstraints(n,e)))return!1;if(f=this.collectOverlapEventFootprints(t,n),!1===r){if(f.length)return!1}else if("function"==typeof r&&!function(n,t,i){for(var r=0;r<n.length;r++)if(!t(n[r].eventInstance.toLegacy(),i?i.toLegacy():null))return!1;return!0}(f,r,u))return!1;return!(u&&!function(n,t){for(var r,f,u,e=t.toLegacy(),i=0;i<n.length;i++)if((r=n[i].eventInstance,f=r.def,!1===(u=f.getOverlap()))||"function"==typeof u&&!u(r.toLegacy(),e))return!1;return!0}(f,u))},n.prototype.isFootprintWithinConstraints=function(n,t){for(var i=0;i<t.length;i++)if(this.footprintContainsFootprint(t[i],n))return!0;return!1},n.prototype.constraintValToFootprints=function(n,t){var i;return"businessHours"===n?this.buildCurrentBusinessFootprints(t):"object"==typeof n?(i=this.parseEventDefToInstances(n))?this.eventInstancesToFootprints(i):this.parseFootprints(n):null!=n?(i=this.eventManager.getEventInstancesWithId(n),this.eventInstancesToFootprints(i)):void 0},n.prototype.buildCurrentBusinessFootprints=function(n){var t=this._calendar.view,r=t.get("businessHourGenerator"),u=t.dateProfile.activeUnzonedRange,i=r.buildEventInstanceGroup(n,u);return i?this.eventInstancesToFootprints(i.eventInstances):[]},n.prototype.eventInstancesToFootprints=function(n){var t=n.map(r.eventInstanceToEventRange);return this.eventRangesToEventFootprints(t).map(r.eventFootprintToComponentFootprint)},n.prototype.collectOverlapEventFootprints=function(n,t){for(var r=[],i=0;i<n.length;i++)this.footprintsIntersect(t,n[i].componentFootprint)&&r.push(n[i]);return r},n.prototype.parseEventDefToInstances=function(n){var i=this.eventManager,t=e.default.parse(n,new o.default(this._calendar));return!!t&&t.buildInstances(i.currentPeriod.unzonedRange)},n.prototype.eventRangesToEventFootprints=function(n){for(var i=[],t=0;t<n.length;t++)i.push.apply(i,this.eventRangeToEventFootprints(n[t]));return i},n.prototype.eventRangeToEventFootprints=function(n){return[r.eventRangeToEventFootprint(n)]},n.prototype.parseFootprints=function(n){var t,i;return n.start&&((t=this._calendar.moment(n.start)).isValid()||(t=null)),n.end&&((i=this._calendar.moment(n.end)).isValid()||(i=null)),[new f.default(new u.default(t,i),t&&!t.hasTime()||i&&!i.hasTime())]},n.prototype.footprintContainsFootprint=function(n,t){return n.unzonedRange.containsRange(t.unzonedRange)},n.prototype.footprintsIntersect=function(n,t){return n.unzonedRange.intersectsWith(t.unzonedRange)},n}();t.default=s},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(4),r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t.defineStandardProps=function(n){var t=this.prototype;t.hasOwnProperty("standardPropMap")||(t.standardPropMap=Object.create(t.standardPropMap));f.copyOwnProps(n,t.standardPropMap)},t.copyVerbatimStandardProps=function(n,t){var i,r=this.prototype.standardPropMap;for(i in r)null!=n[i]&&!0===r[i]&&(t[i]=n[i])},t.prototype.applyProps=function(n){var t,i=this.standardPropMap,r={},u={};for(t in n)!0===i[t]?this[t]=n[t]:!1===i[t]?r[t]=n[t]:u[t]=n[t];return this.applyMiscProps(u),this.applyManualStandardProps(r)},t.prototype.applyManualStandardProps=function(){return!0},t.prototype.applyMiscProps=function(){},t.prototype.isStandardProp=function(n){return n in this.standardPropMap},t}(i(14).default);t.default=r;r.prototype.standardPropMap={}},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){this.def=n;this.dateProfile=t}return n.prototype.toLegacy=function(){var n=this.dateProfile,t=this.def.toLegacy();return t.start=n.start.clone(),t.end=n.end?n.end.clone():null,t},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),o=i(3),r=i(0),f=i(33),s=i(205),h=i(17),u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e.__extends(t,n),t.prototype.isAllDay=function(){return!this.startTime&&!this.endTime},t.prototype.buildInstances=function(n){for(var u,t,r,f=this.source.calendar,i=n.getStart(),o=n.getEnd(),e=[];i.isBefore(o);)this.dowHash&&!this.dowHash[i.day()]||(t=(u=f.applyTimezone(i)).clone(),r=null,this.startTime?t.time(this.startTime):t.stripTime(),this.endTime&&(r=u.clone().time(this.endTime)),e.push(new s.default(this,new h.default(t,r,f)))),i.add(1,"days");return e},t.prototype.setDow=function(n){this.dowHash||(this.dowHash={});for(var t=0;t<n.length;t++)this.dowHash[n[t]]=!0},t.prototype.clone=function(){var t=n.prototype.clone.call(this);return t.startTime&&(t.startTime=r.duration(this.startTime)),t.endTime&&(t.endTime=r.duration(this.endTime)),this.dowHash&&(t.dowHash=o.extend({},this.dowHash)),t},t}(f.default);t.default=u;u.prototype.applyProps=function(n){var t=f.default.prototype.applyProps.call(this,n);return n.start&&(this.startTime=r.duration(n.start)),n.end&&(this.endTime=r.duration(n.end)),n.dow&&this.setDow(n.dow),t};u.defineStandardProps({start:!1,end:!1,dow:!1})},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return function(n,t,i){this.unzonedRange=n;this.eventDef=t;i&&(this.eventInstance=i)}}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(34),f=i(18),e=i(206),o=i(6),s={start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},h=function(){function n(n,t){this.rawComplexDef=n;this.calendar=t}return n.prototype.buildEventInstanceGroup=function(n,t){var r,i=this.buildEventDefs(n);if(i.length)return(r=new f.default(u.eventDefsToEventInstances(i,t))).explicitEventDef=i[0],r},n.prototype.buildEventDefs=function(n){var i,u=this.rawComplexDef,t=[],f=!1,e=[];for(!0===u?t=[{}]:r.isPlainObject(u)?t=[u]:r.isArray(u)&&(t=u,f=!0),i=0;i<t.length;i++)f&&!t[i].dow||e.push(this.buildEventDef(n,t[i]));return e},n.prototype.buildEventDef=function(n,t){var i=r.extend({},s,t);return n&&(i.start=null,i.end=null),e.default.parse(i,new o.default(this.calendar))},n}();t.default=h},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(i(38).default);t.default=r;r.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"};r.prototype.baseIconClass="fc-icon";r.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"};r.prototype.iconOverrideOption="buttonIcons";r.prototype.iconOverrideCustomButtonOption="icon";r.prototype.iconOverridePrefix="fc-icon-"},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(i(38).default);t.default=r;r.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"};r.prototype.baseIconClass="ui-icon";r.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"};r.prototype.iconOverrideOption="themeButtonIcons";r.prototype.iconOverrideCustomButtonOption="themeIcon";r.prototype.iconOverridePrefix="ui-icon-"},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),r=i(3),o=i(19),u=i(6),f=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return e.__extends(t,n),t.parse=function(n,t){var i;return r.isFunction(n.events)?i=n:r.isFunction(n)&&(i={events:n}),!!i&&u.default.parse.call(this,i,t)},t.prototype.fetch=function(n,t,i){var r=this;return this.calendar.pushLoading(),o.default.construct(function(u){r.func.call(r.calendar,n.clone(),t.clone(),i,function(n){r.calendar.popLoading();u(r.parseEventDefs(n))})})},t.prototype.getPrimitive=function(){return this.func},t.prototype.applyManualStandardProps=function(t){var i=n.prototype.applyManualStandardProps.call(this,t);return this.func=t.events,i},t}(u.default);t.default=f;f.defineStandardProps({events:!1})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var o=i(2),r=i(3),u=i(4),s=i(19),f=i(6),e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return o.__extends(t,n),t.parse=function(n,t){var i;return"string"==typeof n.url?i=n:"string"==typeof n&&(i={url:n}),!!i&&f.default.parse.call(this,i,t)},t.prototype.fetch=function(n,i,f){var e=this,o=this.ajaxSettings,h=o.success,c=o.error,l=this.buildRequestParams(n,i,f);return this.calendar.pushLoading(),s.default.construct(function(n,i){r.ajax(r.extend({},t.AJAX_DEFAULTS,o,{url:e.url,data:l,success:function(t,f,o){var s;e.calendar.popLoading();t?(s=u.applyAll(h,e,[t,f,o]),r.isArray(s)&&(t=s),n(e.parseEventDefs(t))):i()},error:function(n,t,r){e.calendar.popLoading();u.applyAll(c,e,[n,t,r]);i()}}))})},t.prototype.buildRequestParams=function(n,t,i){var f,e,o,c,s=this.calendar,h=this.ajaxSettings,u={};return null==(f=this.startParam)&&(f=s.opt("startParam")),null==(e=this.endParam)&&(e=s.opt("endParam")),null==(o=this.timezoneParam)&&(o=s.opt("timezoneParam")),c=r.isFunction(h.data)?h.data():h.data||{},r.extend(u,c),u[f]=n.format(),u[e]=t.format(),i&&"local"!==i&&(u[o]=i),u},t.prototype.getPrimitive=function(){return this.url},t.prototype.applyMiscProps=function(n){this.ajaxSettings=n},t.AJAX_DEFAULTS={dataType:"json",cache:!1},t}(f.default);t.default=e;e.defineStandardProps({url:!0,startParam:!0,endParam:!0,timezoneParam:!0})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(11),r=function(){function n(){this.q=[];this.isPaused=!1;this.isRunning=!1}return n.prototype.queue=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this.q.push.apply(this.q,t);this.tryStart()},n.prototype.pause=function(){this.isPaused=!0},n.prototype.resume=function(){this.isPaused=!1;this.tryStart()},n.prototype.getIsIdle=function(){return!this.isRunning&&!this.isPaused},n.prototype.tryStart=function(){!this.isRunning&&this.canRunNext()&&(this.isRunning=!0,this.trigger("start"),this.runRemaining())},n.prototype.canRunNext=function(){return!this.isPaused&&this.q.length},n.prototype.runRemaining=function(){var t,n,i=this;do if(t=this.q.shift(),(n=this.runTask(t))&&n.then)return void n.then(function(){i.canRunNext()&&i.runRemaining()});while(this.canRunNext());this.trigger("stop");this.isRunning=!1;this.tryStart()},n.prototype.runTask=function(n){return n()},n}();t.default=r;u.default.mixInto(r)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=function(n){function t(t){var i=n.call(this)||this;return i.waitsByNamespace=t||{},i}return r.__extends(t,n),t.prototype.queue=function(n,t,i){var r,u={func:n,namespace:t,type:i};t&&(r=this.waitsByNamespace[t]);this.waitNamespace&&(t===this.waitNamespace&&null!=r?this.delayWait(r):(this.clearWait(),this.tryStart()));this.compoundTask(u)&&(this.waitNamespace||null==r?this.tryStart():this.startWait(t,r))},t.prototype.startWait=function(n,t){this.waitNamespace=n;this.spawnWait(t)},t.prototype.delayWait=function(n){clearTimeout(this.waitId);this.spawnWait(n)},t.prototype.spawnWait=function(n){var t=this;this.waitId=setTimeout(function(){t.waitNamespace=null;t.tryStart()},n)},t.prototype.clearWait=function(){this.waitNamespace&&(clearTimeout(this.waitId),this.waitId=null,this.waitNamespace=null)},t.prototype.canRunNext=function(){if(!n.prototype.canRunNext.call(this))return!1;if(this.waitNamespace){for(var i=this.q,t=0;t<i.length;t++)if(i[t].namespace!==this.waitNamespace)return!0;return!1}return!0},t.prototype.runTask=function(n){n.func()},t.prototype.compoundTask=function(n){var t,i=this.q,r=!0;if(n.namespace&&"destroy"===n.type)for(t=i.length-1;t>=0;t--)switch(i[t].type){case"init":r=!1;case"add":case"remove":i.splice(t,1)}return r&&i.push(n),r},t}(i(213).default);t.default=u},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(3),e=i(0),r=i(4),o=i(10),s=i(47),h=i(233),c=i(34),l=function(n){function t(i,r){var u=n.call(this)||this;return u.isRTL=!1,u.hitsNeededDepth=0,u.hasAllDayBusinessHours=!1,u.isDatesRendered=!1,i&&(u.view=i),r&&(u.options=r),u.uid=String(t.guid++),u.childrenByUid={},u.nextDayThreshold=e.duration(u.opt("nextDayThreshold")),u.isRTL=u.opt("isRTL"),u.fillRendererClass&&(u.fillRenderer=new u.fillRendererClass(u)),u.eventRendererClass&&(u.eventRenderer=new u.eventRendererClass(u,u.fillRenderer)),u.helperRendererClass&&u.eventRenderer&&(u.helperRenderer=new u.helperRendererClass(u,u.eventRenderer)),u.businessHourRendererClass&&u.fillRenderer&&(u.businessHourRenderer=new u.businessHourRendererClass(u,u.fillRenderer)),u}return u.__extends(t,n),t.prototype.addChild=function(n){return!this.childrenByUid[n.uid]&&(this.childrenByUid[n.uid]=n,!0)},t.prototype.removeChild=function(n){return!!this.childrenByUid[n.uid]&&(delete this.childrenByUid[n.uid],!0)},t.prototype.updateSize=function(){this.callChildren("updateSize",arguments)},t.prototype.opt=function(n){return this._getView().opt(n)},t.prototype.publiclyTrigger=function(){for(var i,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return i=this._getCalendar(),i.publiclyTrigger.apply(i,t)},t.prototype.hasPublicHandlers=function(){for(var i,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return i=this._getCalendar(),i.hasPublicHandlers.apply(i,t)},t.prototype.executeDateRender=function(n){this.dateProfile=n;this.renderDates(n);this.isDatesRendered=!0;this.callChildren("executeDateRender",arguments)},t.prototype.executeDateUnrender=function(){this.callChildren("executeDateUnrender",arguments);this.dateProfile=null;this.unrenderDates();this.isDatesRendered=!1},t.prototype.renderDates=function(){},t.prototype.unrenderDates=function(){},t.prototype.getNowIndicatorUnit=function(){},t.prototype.renderNowIndicator=function(){this.callChildren("renderNowIndicator",arguments)},t.prototype.unrenderNowIndicator=function(){this.callChildren("unrenderNowIndicator",arguments)},t.prototype.renderBusinessHours=function(n){this.businessHourRenderer&&this.businessHourRenderer.render(n);this.callChildren("renderBusinessHours",arguments)},t.prototype.unrenderBusinessHours=function(){this.callChildren("unrenderBusinessHours",arguments);this.businessHourRenderer&&this.businessHourRenderer.unrender()},t.prototype.executeEventRender=function(n){this.eventRenderer?(this.eventRenderer.rangeUpdated(),this.eventRenderer.render(n)):this.renderEvents&&this.renderEvents(function(n){var r,i,t,u=[];for(r in n)for(i=n[r].eventInstances,t=0;t<i.length;t++)u.push(i[t].toLegacy());return u}(n));this.callChildren("executeEventRender",arguments)},t.prototype.executeEventUnrender=function(){this.callChildren("executeEventUnrender",arguments);this.eventRenderer?this.eventRenderer.unrender():this.destroyEvents&&this.destroyEvents()},t.prototype.getBusinessHourSegs=function(){var n=this.getOwnBusinessHourSegs();return this.iterChildren(function(t){n.push.apply(n,t.getBusinessHourSegs())}),n},t.prototype.getOwnBusinessHourSegs=function(){return this.businessHourRenderer?this.businessHourRenderer.getSegs():[]},t.prototype.getEventSegs=function(){var n=this.getOwnEventSegs();return this.iterChildren(function(t){n.push.apply(n,t.getEventSegs())}),n},t.prototype.getOwnEventSegs=function(){return this.eventRenderer?this.eventRenderer.getSegs():[]},t.prototype.triggerAfterEventsRendered=function(){this.triggerAfterEventSegsRendered(this.getEventSegs());this.publiclyTrigger("eventAfterAllRender",{context:this,args:[this]})},t.prototype.triggerAfterEventSegsRendered=function(n){var t=this;this.hasPublicHandlers("eventAfterRender")&&n.forEach(function(n){var i;n.el&&(i=n.footprint.getEventLegacy(),t.publiclyTrigger("eventAfterRender",{context:i,args:[i,n.el,t]}))})},t.prototype.triggerBeforeEventsDestroyed=function(){this.triggerBeforeEventSegsDestroyed(this.getEventSegs())},t.prototype.triggerBeforeEventSegsDestroyed=function(n){var t=this;this.hasPublicHandlers("eventDestroy")&&n.forEach(function(n){var i;n.el&&(i=n.footprint.getEventLegacy(),t.publiclyTrigger("eventDestroy",{context:i,args:[i,n.el,t]}))})},t.prototype.showEventsWithId=function(n){this.getEventSegs().forEach(function(t){t.footprint.eventDef.id===n&&t.el&&t.el.css("visibility","")});this.callChildren("showEventsWithId",arguments)},t.prototype.hideEventsWithId=function(n){this.getEventSegs().forEach(function(t){t.footprint.eventDef.id===n&&t.el&&t.el.css("visibility","hidden")});this.callChildren("hideEventsWithId",arguments)},t.prototype.renderDrag=function(n,t,i){var r=!1;return this.iterChildren(function(u){u.renderDrag(n,t,i)&&(r=!0)}),r},t.prototype.unrenderDrag=function(){this.callChildren("unrenderDrag",arguments)},t.prototype.renderEventResize=function(){this.callChildren("renderEventResize",arguments)},t.prototype.unrenderEventResize=function(){this.callChildren("unrenderEventResize",arguments)},t.prototype.renderSelectionFootprint=function(n){this.renderHighlight(n);this.callChildren("renderSelectionFootprint",arguments)},t.prototype.unrenderSelection=function(){this.unrenderHighlight();this.callChildren("unrenderSelection",arguments)},t.prototype.renderHighlight=function(n){this.fillRenderer&&this.fillRenderer.renderFootprint("highlight",n,{getClasses:function(){return["fc-highlight"]}});this.callChildren("renderHighlight",arguments)},t.prototype.unrenderHighlight=function(){this.fillRenderer&&this.fillRenderer.unrender("highlight");this.callChildren("unrenderHighlight",arguments)},t.prototype.hitsNeeded=function(){this.hitsNeededDepth++||this.prepareHits();this.callChildren("hitsNeeded",arguments)},t.prototype.hitsNotNeeded=function(){this.hitsNeededDepth&&!--this.hitsNeededDepth&&this.releaseHits();this.callChildren("hitsNotNeeded",arguments)},t.prototype.prepareHits=function(){},t.prototype.releaseHits=function(){},t.prototype.queryHit=function(n,t){var i,r,u=this.childrenByUid;for(i in u)if(r=u[i].queryHit(n,t))break;return r},t.prototype.getSafeHitFootprint=function(n){var t=this.getHitFootprint(n);return this.dateProfile.activeUnzonedRange.containsRange(t.unzonedRange)?t:null},t.prototype.getHitFootprint=function(){},t.prototype.getHitEl=function(){},t.prototype.eventRangesToEventFootprints=function(n){for(var i=[],t=0;t<n.length;t++)i.push.apply(i,this.eventRangeToEventFootprints(n[t]));return i},t.prototype.eventRangeToEventFootprints=function(n){return[c.eventRangeToEventFootprint(n)]},t.prototype.eventFootprintsToSegs=function(n){for(var i=[],t=0;t<n.length;t++)i.push.apply(i,this.eventFootprintToSegs(n[t]));return i},t.prototype.eventFootprintToSegs=function(n){for(var r,u=n.componentFootprint.unzonedRange,t=this.componentFootprintToSegs(n.componentFootprint),i=0;i<t.length;i++)r=t[i],u.isStart||(r.isStart=!1),u.isEnd||(r.isEnd=!1),r.footprint=n;return t},t.prototype.componentFootprintToSegs=function(){return[]},t.prototype.callChildren=function(n,t){this.iterChildren(function(i){i[n].apply(i,t)})},t.prototype.iterChildren=function(n){var t,i=this.childrenByUid;for(t in i)n(i[t])},t.prototype._getCalendar=function(){return this.calendar||this.view.calendar},t.prototype._getView=function(){return this.view},t.prototype._getDateProfile=function(){return this._getView().get("dateProfile")},t.prototype.buildGotoAnchorHtml=function(n,t,i){var u,e,s,h;return f.isPlainObject(n)?(u=n.date,e=n.type,s=n.forceOff):u=n,h={date:(u=o.default(u)).format("YYYY-MM-DD"),type:e||"day"},"string"==typeof t&&(i=t,t=null),t=t?" "+r.attrsToStr(t):"",i=i||"",!s&&this.opt("navLinks")?"<a"+t+' data-goto="'+r.htmlEscape(JSON.stringify(h))+'">'+i+"<\/a>":"<span"+t+">"+i+"<\/span>"},t.prototype.getAllDayHtml=function(){return this.opt("allDayHtml")||r.htmlEscape(this.opt("allDayText"))},t.prototype.getDayClasses=function(n,t){var u,f=this._getView(),i=[];return this.dateProfile.activeUnzonedRange.containsDate(n)?(i.push("fc-"+r.dayIDs[n.day()]),f.isDateInOtherMonth(n,this.dateProfile)&&i.push("fc-other-month"),u=f.calendar.getNow(),n.isSame(u,"day")?(i.push("fc-today"),!0!==t&&i.push(f.calendar.theme.getClass("today"))):n<u?i.push("fc-past"):i.push("fc-future")):i.push("fc-disabled-day"),i},t.prototype.formatRange=function(n,t,i,r){var u=n.end;return t&&(u=u.clone().subtract(1)),s.formatRange(n.start,u,i,r,this.isRTL)},t.prototype.currentRangeAs=function(n){return this._getDateProfile().currentUnzonedRange.as(n)},t.prototype.computeDayRange=function(n){var r=this._getCalendar(),i=r.msToUtcMoment(n.startMs,!0),u=r.msToUtcMoment(n.endMs),f=+u.time(),t=u.clone().stripTime();return f&&f>=this.nextDayThreshold&&t.add(1,"days"),t<=i&&(t=i.clone().add(1,"days")),{start:i,end:t}},t.prototype.isMultiDayRange=function(n){var t=this.computeDayRange(n);return t.end.diff(t.start,"days")>1},t.guid=0,t}(h.default);t.default=l},function(n,t,i){function v(n,t){return null==t?n:r.isFunction(t)?n.filter(t):(t+="",n.filter(function(n){return n.id==t||n._id===t}))}Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),f=i(0),s=i(4),e=i(31),y=i(234),h=i(20),p=i(11),w=i(7),c=i(235),b=i(236),k=i(237),d=i(203),g=i(30),u=i(10),l=i(5),nt=i(12),tt=i(17),it=i(238),rt=i(208),a=i(37),ut=i(49),ft=i(13),et=i(36),ot=i(6),st=i(51),o=function(){function n(n,t){this.loadingLevel=0;this.ignoreUpdateViewSize=0;this.freezeContentHeightDepth=0;h.default.needed();this.el=n;this.viewsByType={};this.optionsManager=new b.default(this,t);this.viewSpecManager=new k.default(this.optionsManager,this);this.initMomentInternals();this.initCurrentDate();this.initEventManager();this.constraints=new d.default(this.eventManager,this);this.constructed()}return n.prototype.constructed=function(){},n.prototype.getView=function(){return this.view},n.prototype.publiclyTrigger=function(n,t){var u,i,f=this.opt(n);if(r.isPlainObject(t)?(u=t.context,i=t.args):r.isArray(t)&&(i=t),null==u&&(u=this.el[0]),i||(i=[]),this.triggerWith(n,u,i),f)return f.apply(u,i)},n.prototype.hasPublicHandlers=function(n){return this.hasHandlers(n)||this.opt(n)},n.prototype.option=function(n,t){var i;if("string"==typeof n){if(void 0===t)return this.optionsManager.get(n);(i={})[n]=t;this.optionsManager.add(i)}else"object"==typeof n&&this.optionsManager.add(n)},n.prototype.opt=function(n){return this.optionsManager.get(n)},n.prototype.instantiateView=function(n){var t=this.viewSpecManager.getViewSpec(n);return new t.class(this,t)},n.prototype.isValidViewType=function(n){return Boolean(this.viewSpecManager.getViewSpec(n))},n.prototype.changeView=function(n,t){t&&(t.start&&t.end?this.optionsManager.recordOverrides({visibleRange:t}):this.currentDate=this.moment(t).stripZone());this.renderView(n)},n.prototype.zoomTo=function(n,t){var i;t=t||"day";i=this.viewSpecManager.getViewSpec(t)||this.viewSpecManager.getUnitViewSpec(t);this.currentDate=n.clone();this.renderView(i?i.type:null)},n.prototype.initCurrentDate=function(){var n=this.opt("defaultDate");this.currentDate=null!=n?this.moment(n).stripZone():this.getNow()},n.prototype.prev=function(){var n=this.view,t=n.dateProfileGenerator.buildPrev(n.get("dateProfile"));t.isValid&&(this.currentDate=t.date,this.renderView())},n.prototype.next=function(){var n=this.view,t=n.dateProfileGenerator.buildNext(n.get("dateProfile"));t.isValid&&(this.currentDate=t.date,this.renderView())},n.prototype.prevYear=function(){this.currentDate.add(-1,"years");this.renderView()},n.prototype.nextYear=function(){this.currentDate.add(1,"years");this.renderView()},n.prototype.today=function(){this.currentDate=this.getNow();this.renderView()},n.prototype.gotoDate=function(n){this.currentDate=this.moment(n).stripZone();this.renderView()},n.prototype.incrementDate=function(n){this.currentDate.add(f.duration(n));this.renderView()},n.prototype.getDate=function(){return this.applyTimezone(this.currentDate)},n.prototype.pushLoading=function(){this.loadingLevel++||this.publiclyTrigger("loading",[!0,this.view])},n.prototype.popLoading=function(){--this.loadingLevel||this.publiclyTrigger("loading",[!1,this.view])},n.prototype.render=function(){this.contentEl?this.elementVisible()&&(this.calcSize(),this.updateViewSize()):this.initialRender()},n.prototype.initialRender=function(){var n=this,t=this.el;t.addClass("fc");t.on("click.fc","a[data-goto]",function(t){var f=r(t.currentTarget).data("goto"),e=n.moment(f.date),u=f.type,i=n.view.opt("navLink"+s.capitaliseFirstLetter(u)+"Click");"function"==typeof i?i(e,t):("string"==typeof i&&(u=i),n.zoomTo(e,u))});this.optionsManager.watch("settingTheme",["?theme","?themeSystem"],function(i){var r=new(st.getThemeSystemClass(i.themeSystem||i.theme))(n.optionsManager),u=r.getClass("widget");n.theme=r;u&&t.addClass(u)},function(){var i=n.theme.getClass("widget");n.theme=null;i&&t.removeClass(i)});this.optionsManager.watch("settingBusinessHourGenerator",["?businessHours"],function(t){n.businessHourGenerator=new rt.default(t.businessHours,n);n.view&&n.view.set("businessHourGenerator",n.businessHourGenerator)},function(){n.businessHourGenerator=null});this.optionsManager.watch("applyingDirClasses",["?isRTL","?locale"],function(n){t.toggleClass("fc-ltr",!n.isRTL);t.toggleClass("fc-rtl",n.isRTL)});this.contentEl=r("<div class='fc-view-container'/>").prependTo(t);this.initToolbars();this.renderHeader();this.renderFooter();this.renderView(this.opt("defaultView"));this.opt("handleWindowResize")&&r(window).resize(this.windowResizeProxy=s.debounce(this.windowResize.bind(this),this.opt("windowResizeDelay")))},n.prototype.destroy=function(){this.view&&this.clearView();this.toolbarsManager.proxyCall("removeElement");this.contentEl.remove();this.el.removeClass("fc fc-ltr fc-rtl");this.optionsManager.unwatch("settingTheme");this.optionsManager.unwatch("settingBusinessHourGenerator");this.el.off(".fc");this.windowResizeProxy&&(r(window).unbind("resize",this.windowResizeProxy),this.windowResizeProxy=null);h.default.unneeded()},n.prototype.elementVisible=function(){return this.el.is(":visible")},n.prototype.bindViewHandlers=function(n){var t=this;n.watch("titleForCalendar",["title"],function(i){n===t.view&&t.setToolbarsTitle(i.title)});n.watch("dateProfileForCalendar",["dateProfile"],function(i){n===t.view&&(t.currentDate=i.dateProfile.date,t.updateToolbarButtons(i.dateProfile))})},n.prototype.unbindViewHandlers=function(n){n.unwatch("titleForCalendar");n.unwatch("dateProfileForCalendar")},n.prototype.renderView=function(n){var t,i=this.view;this.freezeContentHeight();i&&n&&i.type!==n&&this.clearView();!this.view&&n&&(t=this.view=this.viewsByType[n]||(this.viewsByType[n]=this.instantiateView(n)),this.bindViewHandlers(t),t.startBatchRender(),t.setElement(r("<div class='fc-view fc-"+n+"-view' />").appendTo(this.contentEl)),this.toolbarsManager.proxyCall("activateButton",n));this.view&&(this.view.get("businessHourGenerator")!==this.businessHourGenerator&&this.view.set("businessHourGenerator",this.businessHourGenerator),this.view.setDate(this.currentDate),t&&t.stopBatchRender());this.thawContentHeight()},n.prototype.clearView=function(){var n=this.view;this.toolbarsManager.proxyCall("deactivateButton",n.type);this.unbindViewHandlers(n);n.removeElement();n.unsetDate();this.view=null},n.prototype.reinitView=function(){var n=this.view,t=n.queryScroll();this.freezeContentHeight();this.clearView();this.calcSize();this.renderView(n.type);this.view.applyScroll(t);this.thawContentHeight()},n.prototype.getSuggestedViewHeight=function(){return null==this.suggestedViewHeight&&this.calcSize(),this.suggestedViewHeight},n.prototype.isHeightAuto=function(){return"auto"===this.opt("contentHeight")||"auto"===this.opt("height")},n.prototype.updateViewSize=function(n){void 0===n&&(n=!1);var i,t=this.view;if(!this.ignoreUpdateViewSize&&t)return n&&(this.calcSize(),i=t.queryScroll()),this.ignoreUpdateViewSize++,t.updateSize(this.getSuggestedViewHeight(),this.isHeightAuto(),n),this.ignoreUpdateViewSize--,n&&t.applyScroll(i),!0},n.prototype.calcSize=function(){this.elementVisible()&&this._calcSize()},n.prototype._calcSize=function(){var t=this.opt("contentHeight"),n=this.opt("height");this.suggestedViewHeight="number"==typeof t?t:"function"==typeof t?t():"number"==typeof n?n-this.queryToolbarsHeight():"function"==typeof n?n()-this.queryToolbarsHeight():"parent"===n?this.el.parent().height()-this.queryToolbarsHeight():Math.round(this.contentEl.width()/Math.max(this.opt("aspectRatio"),.5))},n.prototype.windowResize=function(n){n.target===window&&this.view&&this.view.isDatesRendered&&this.updateViewSize(!0)&&this.publiclyTrigger("windowResize",[this.view])},n.prototype.freezeContentHeight=function(){this.freezeContentHeightDepth++||this.forceFreezeContentHeight()},n.prototype.forceFreezeContentHeight=function(){this.contentEl.css({width:"100%",height:this.contentEl.height(),overflow:"hidden"})},n.prototype.thawContentHeight=function(){this.freezeContentHeightDepth--;this.contentEl.css({width:"",height:"",overflow:""});this.freezeContentHeightDepth&&this.forceFreezeContentHeight()},n.prototype.initToolbars=function(){this.header=new c.default(this,this.computeHeaderOptions());this.footer=new c.default(this,this.computeFooterOptions());this.toolbarsManager=new y.default([this.header,this.footer])},n.prototype.computeHeaderOptions=function(){return{extraClasses:"fc-header-toolbar",layout:this.opt("header")}},n.prototype.computeFooterOptions=function(){return{extraClasses:"fc-footer-toolbar",layout:this.opt("footer")}},n.prototype.renderHeader=function(){var n=this.header;n.setToolbarOptions(this.computeHeaderOptions());n.render();n.el&&this.el.prepend(n.el)},n.prototype.renderFooter=function(){var n=this.footer;n.setToolbarOptions(this.computeFooterOptions());n.render();n.el&&this.el.append(n.el)},n.prototype.setToolbarsTitle=function(n){this.toolbarsManager.proxyCall("updateTitle",n)},n.prototype.updateToolbarButtons=function(n){var i=this.getNow(),t=this.view,r=t.dateProfileGenerator.build(i),u=t.dateProfileGenerator.buildPrev(t.get("dateProfile")),f=t.dateProfileGenerator.buildNext(t.get("dateProfile"));this.toolbarsManager.proxyCall(r.isValid&&!n.currentUnzonedRange.containsDate(i)?"enableButton":"disableButton","today");this.toolbarsManager.proxyCall(u.isValid?"enableButton":"disableButton","prev");this.toolbarsManager.proxyCall(f.isValid?"enableButton":"disableButton","next")},n.prototype.queryToolbarsHeight=function(){return this.toolbarsManager.items.reduce(function(n,t){return n+(t.el?t.el.outerHeight(!0):0)},0)},n.prototype.select=function(){this.view.select(this.buildSelectFootprint.apply(this,arguments))},n.prototype.unselect=function(){this.view&&this.view.unselect()},n.prototype.buildSelectFootprint=function(n,t){var r,i=this.moment(n).stripZone();return r=t?this.moment(t).stripZone():i.hasTime()?i.clone().add(this.defaultTimedEventDuration):i.clone().add(this.defaultAllDayEventDuration),new nt.default(new l.default(i,r),!i.hasTime())},n.prototype.initMomentInternals=function(){var n=this;this.defaultAllDayEventDuration=f.duration(this.opt("defaultAllDayEventDuration"));this.defaultTimedEventDuration=f.duration(this.opt("defaultTimedEventDuration"));this.optionsManager.watch("buildingMomentLocale",["?locale","?monthNames","?monthNamesShort","?dayNames","?dayNamesShort","?firstDay","?weekNumberCalculation"],function(t){var f,r=t.weekNumberCalculation,u=t.firstDay,i;"iso"===r&&(r="ISO");i=Object.create(g.getMomentLocaleData(t.locale));t.monthNames&&(i._months=t.monthNames);t.monthNamesShort&&(i._monthsShort=t.monthNamesShort);t.dayNames&&(i._weekdays=t.dayNames);t.dayNamesShort&&(i._weekdaysShort=t.dayNamesShort);null==u&&"ISO"===r&&(u=1);null!=u&&((f=Object.create(i._week)).dow=u,i._week=f);"ISO"!==r&&"local"!==r&&"function"!=typeof r||(i._fullCalendar_weekCalc=r);n.localeData=i;n.currentDate&&n.localizeMoment(n.currentDate)})},n.prototype.moment=function(){for(var n,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return"local"===this.opt("timezone")?(n=u.default.apply(null,t)).hasTime()&&n.local():n="UTC"===this.opt("timezone")?u.default.utc.apply(null,t):u.default.parseZone.apply(null,t),this.localizeMoment(n),n},n.prototype.msToMoment=function(n,t){var i=u.default.utc(n);return t?i.stripTime():i=this.applyTimezone(i),this.localizeMoment(i),i},n.prototype.msToUtcMoment=function(n,t){var i=u.default.utc(n);return t&&i.stripTime(),this.localizeMoment(i),i},n.prototype.localizeMoment=function(n){n._locale=this.localeData},n.prototype.getIsAmbigTimezone=function(){return"local"!==this.opt("timezone")&&"UTC"!==this.opt("timezone")},n.prototype.applyTimezone=function(n){if(!n.hasTime())return n.clone();var i,t=this.moment(n.toArray()),r=n.time().asMilliseconds()-t.time().asMilliseconds();return r&&(i=t.clone().add(r),n.time().asMilliseconds()-i.time().asMilliseconds()==0&&(t=i)),t},n.prototype.footprintToDateProfile=function(n,t){void 0===t&&(t=!1);var i,r=u.default.utc(n.unzonedRange.startMs);return t||(i=u.default.utc(n.unzonedRange.endMs)),n.isAllDay?(r.stripTime(),i&&i.stripTime()):(r=this.applyTimezone(r),i&&(i=this.applyTimezone(i))),new tt.default(r,i,this)},n.prototype.getNow=function(){var n=this.opt("now");return"function"==typeof n&&(n=n()),this.moment(n).stripZone()},n.prototype.humanizeDuration=function(n){return n.locale(this.opt("locale")).humanize()},n.prototype.parseUnzonedRange=function(n){var t=null,i=null;return n.start&&(t=this.moment(n.start).stripZone()),n.end&&(i=this.moment(n.end).stripZone()),t||i?t&&i&&i.isBefore(t)?null:new l.default(t,i):null},n.prototype.initEventManager=function(){var t=this,n=new it.default(this),i=this.opt("eventSources")||[],r=this.opt("events");this.eventManager=n;r&&i.unshift(r);n.on("release",function(n){t.trigger("eventsReset",n)});n.freeze();i.forEach(function(i){var r=a.default.parse(i,t);r&&n.addSource(r)});n.thaw()},n.prototype.requestEvents=function(n,t){return this.eventManager.requestEvents(n,t,this.opt("timezone"),!this.opt("lazyFetching"))},n.prototype.getEventEnd=function(n){return n.end?n.end.clone():this.getDefaultEventEnd(n.allDay,n.start)},n.prototype.getDefaultEventEnd=function(n,t){var i=t.clone();return n?i.stripTime().add(this.defaultAllDayEventDuration):i.add(this.defaultTimedEventDuration),this.getIsAmbigTimezone()&&i.stripZone(),i},n.prototype.rerenderEvents=function(){this.view.flash("displayingEvents")},n.prototype.refetchEvents=function(){this.eventManager.refetchAllSources()},n.prototype.renderEvents=function(n,t){this.eventManager.freeze();for(var i=0;i<n.length;i++)this.renderEvent(n[i],t);this.eventManager.thaw()},n.prototype.renderEvent=function(n,t){void 0===t&&(t=!1);var i=this.eventManager,r=ut.default.parse(n,n.source||i.stickySource);r&&i.addEventDef(r,t)},n.prototype.removeEvents=function(n){var t,i=this.eventManager,r=[],u={};if(null==n)i.removeAllEventDefs();else{for(i.getEventInstances().forEach(function(n){r.push(n.toLegacy())}),r=v(r,n),t=0;t<r.length;t++)u[this.eventManager.getEventDefByUid(r[t]._id).id]=!0;for(t in i.freeze(),u)i.removeEventDefsById(t);i.thaw()}},n.prototype.clientEvents=function(n){var t=[];return this.eventManager.getEventInstances().forEach(function(n){t.push(n.toLegacy())}),v(t,n)},n.prototype.updateEvents=function(n){this.eventManager.freeze();for(var t=0;t<n.length;t++)this.updateEvent(n[t]);this.eventManager.thaw()},n.prototype.updateEvent=function(n){var i,r,t=this.eventManager.getEventDefByUid(n._id);t instanceof ft.default&&(i=t.buildInstance(),r=et.default.createFromRawProps(i,n,null),this.eventManager.mutateEventsWithId(t.id,r))},n.prototype.getEventSources=function(){return this.eventManager.otherSources.slice()},n.prototype.getEventSourceById=function(n){return this.eventManager.getSourceById(ot.default.normalizeId(n))},n.prototype.addEventSource=function(n){var t=a.default.parse(n,this);t&&this.eventManager.addSource(t)},n.prototype.removeEventSources=function(n){var r,t,i=this.eventManager;if(null==n)this.eventManager.removeAllSources();else{for(r=i.multiQuerySources(n),i.freeze(),t=0;t<r.length;t++)i.removeSource(r[t]);i.thaw()}},n.prototype.removeEventSource=function(n){var t,i=this.eventManager,r=i.querySources(n);for(i.freeze(),t=0;t<r.length;t++)i.removeSource(r[t]);i.thaw()},n.prototype.refetchEventSources=function(n){var t,i=this.eventManager,r=i.multiQuerySources(n);for(i.freeze(),t=0;t<r.length;t++)i.refetchSource(r[t]);i.thaw()},n.defaults=e.globalDefaults,n.englishDefaults=e.englishDefaults,n.rtlDefaults=e.rtlDefaults,n}();t.default=o;p.default.mixInto(o);w.default.mixInto(o)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(0),f=i(4),u=i(5),e=function(){function n(n){this._view=n}return n.prototype.opt=function(n){return this._view.opt(n)},n.prototype.trimHiddenDays=function(n){return this._view.trimHiddenDays(n)},n.prototype.msToUtcMoment=function(n,t){return this._view.calendar.msToUtcMoment(n,t)},n.prototype.buildPrev=function(n){var t=n.date.clone().startOf(n.currentRangeUnit).subtract(n.dateIncrement);return this.build(t,-1)},n.prototype.buildNext=function(n){var t=n.date.clone().startOf(n.currentRangeUnit).add(n.dateIncrement);return this.build(t,1)},n.prototype.build=function(n,t,i){void 0===i&&(i=!1);var e,s,h,u,c,o,f,l,a=!n.hasTime();return e=this.buildValidRange(),e=this.trimHiddenDays(e),i&&(n=this.msToUtcMoment(e.constrainDate(n),a)),u=this.buildCurrentRangeInfo(n,t),c=/^(year|month|week|day)$/.test(u.unit),o=this.buildRenderRange(this.trimHiddenDays(u.unzonedRange),u.unit,c),f=(o=this.trimHiddenDays(o)).clone(),this.opt("showNonCurrentDates")||(f=f.intersect(u.unzonedRange)),s=r.duration(this.opt("minTime")),h=r.duration(this.opt("maxTime")),(f=(f=this.adjustActiveRange(f,s,h)).intersect(e))&&(n=this.msToUtcMoment(f.constrainDate(n),a)),l=u.unzonedRange.intersectsWith(e),{validUnzonedRange:e,currentUnzonedRange:u.unzonedRange,currentRangeUnit:u.unit,isRangeAllDay:c,activeUnzonedRange:f,renderUnzonedRange:o,minTime:s,maxTime:h,isValid:l,date:n,dateIncrement:this.buildDateIncrement(u.duration)}},n.prototype.buildValidRange=function(){return this._view.getUnzonedRangeOption("validRange",this._view.calendar.getNow())||new u.default},n.prototype.buildCurrentRangeInfo=function(n,t){var o,e=this._view.viewSpec,u=null,i=null,r=null;return e.duration?(u=e.duration,i=e.durationUnit,r=this.buildRangeFromDuration(n,t,u,i)):(o=this.opt("dayCount"))?(i="day",r=this.buildRangeFromDayCount(n,t,o)):(r=this.buildCustomVisibleRange(n))?i=f.computeGreatestUnit(r.getStart(),r.getEnd()):(u=this.getFallbackDuration(),i=f.computeGreatestUnit(u),r=this.buildRangeFromDuration(n,t,u,i)),{duration:u,unit:i,unzonedRange:r}},n.prototype.getFallbackDuration=function(){return r.duration({days:1})},n.prototype.adjustActiveRange=function(n,t,i){var r=n.getStart(),f=n.getEnd();return this._view.usesMinMaxTime&&(t<0&&r.time(0).add(t),i>864e5&&f.time(i-864e5)),new u.default(r,f)},n.prototype.buildRangeFromDuration=function(n,t,i,e){function v(){o=n.clone().startOf(s);a=o.clone().add(i);l=new u.default(o,a)}var h,c,o,a,l,s=this.opt("dateAlignment");return s||((h=this.opt("dateIncrement"))?(c=r.duration(h),s=c<i?f.computeDurationGreatestUnit(c,h):e):s=e),i.as("days")<=1&&this._view.isHiddenDay(o)&&(o=this._view.skipHiddenDays(o,t)).startOf("day"),v(),this.trimHiddenDays(l)||(n=this._view.skipHiddenDays(n,t),v()),l},n.prototype.buildRangeFromDayCount=function(n,t,i){var f,e=this.opt("dateAlignment"),o=0,r=n.clone();e&&r.startOf(e);r.startOf("day");f=(r=this._view.skipHiddenDays(r,t)).clone();do f.add(1,"day"),this._view.isHiddenDay(f)||o++;while(o<i);return new u.default(r,f)},n.prototype.buildCustomVisibleRange=function(n){var t=this._view.getUnzonedRangeOption("visibleRange",this._view.calendar.applyTimezone(n));return!t||null!=t.startMs&&null!=t.endMs?t:null},n.prototype.buildRenderRange=function(n){return n.clone()},n.prototype.buildDateIncrement=function(n){var t,i=this.opt("dateIncrement");return i?r.duration(i):(t=this.opt("dateAlignment"))?r.duration(1,t):n||r.duration({days:1})},n}();t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var s=i(2),r=i(3),u=i(0),f=i(16),e=i(4),h=i(10),c=i(7),l=i(22),a=i(13),v=i(18),y=i(6),o=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.isDragging=!1,t}return s.__extends(t,n),t.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},t.prototype.bindToDocument=function(){this.listenTo(r(document),{dragstart:this.handleDragStart,sortstart:this.handleDragStart})},t.prototype.unbindFromDocument=function(){this.stopListeningTo(r(document))},t.prototype.handleDragStart=function(n,t){var i,u;this.opt("droppable")&&(i=r((t?t.item:null)||n.target),u=this.opt("dropAccept"),(r.isFunction(u)?u.call(i[0],i):i.is(u))&&(this.isDragging||this.listenToExternalDrag(i,n,t)))},t.prototype.listenToExternalDrag=function(n,t,i){var o,h=this,s=this.component,a=this.view,c=function(n){var t,i,e,s,o=f.dataAttrPrefix;return o&&(o+="-"),(t=n.data(o+"event")||null)&&(t="object"==typeof t?r.extend({},t):{},null==(i=t.start)&&(i=t.time),e=t.duration,s=t.stick,delete t.start,delete t.time,delete t.duration,delete t.stick),null==i&&(i=n.data(o+"start")),null==i&&(i=n.data(o+"time")),null==e&&(e=n.data(o+"duration")),null==s&&(s=n.data(o+"stick")),i=null!=i?u.duration(i):null,e=null!=e?u.duration(e):null,s=Boolean(s),{eventProps:t,startTime:i,duration:e,stick:s}}(n);(this.dragListener=new l.default(s,{interactionStart:function(){h.isDragging=!0},hitOver:function(n){var t,i=!0,r=n.component.getSafeHitFootprint(n);r&&(o=h.computeExternalDrop(r,c))?(t=new v.default(o.buildInstances()),i=c.eventProps?s.isEventInstanceGroupAllowed(t):s.isExternalInstanceGroupAllowed(t)):i=!1;i||(o=null,e.disableCursor());o&&s.renderDrag(s.eventRangesToEventFootprints(t.sliceRenderRanges(s.dateProfile.renderUnzonedRange,a.calendar)))},hitOut:function(){o=null},hitDone:function(){e.enableCursor();s.unrenderDrag()},interactionEnd:function(t){o&&a.reportExternalDrop(o,Boolean(c.eventProps),Boolean(c.stick),n,t,i);h.isDragging=!1;h.dragListener=null}})).startDrag(t)},t.prototype.computeExternalDrop=function(n,t){var u,f=this.view.calendar,i=h.default.utc(n.unzonedRange.startMs).stripZone();return n.isAllDay&&(t.startTime?i.time(t.startTime):i.stripTime()),t.duration&&(u=i.clone().add(t.duration)),i=f.applyTimezone(i),u&&(u=f.applyTimezone(u)),a.default.parse(r.extend({},t.eventProps,{start:i,end:u}),new y.default(f))},t}(i(15).default);t.default=o;c.default.mixInto(o);f.dataAttrPrefix=""},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var o=i(2),r=i(3),u=i(4),f=i(36),e=i(50),s=i(22),h=function(n){function t(t,i){var r=n.call(this,t)||this;return r.isResizing=!1,r.eventPointing=i,r}return o.__extends(t,n),t.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},t.prototype.bindToEl=function(n){var t=this.component;t.bindSegHandlerToEl(n,"mousedown",this.handleMouseDown.bind(this));t.bindSegHandlerToEl(n,"touchstart",this.handleTouchStart.bind(this))},t.prototype.handleMouseDown=function(n,t){this.component.canStartResize(n,t)&&this.buildDragListener(n,r(t.target).is(".fc-start-resizer")).startInteraction(t,{distance:5})},t.prototype.handleTouchStart=function(n,t){this.component.canStartResize(n,t)&&this.buildDragListener(n,r(t.target).is(".fc-start-resizer")).startInteraction(t)},t.prototype.buildDragListener=function(n,t){var o,i,r=this,f=this.component,e=this.view,h=e.calendar,l=h.eventManager,c=n.el,a=n.footprint.eventDef,v=n.footprint.eventInstance;return this.dragListener=new s.default(f,{scroll:this.opt("dragScroll"),subjectEl:c,interactionStart:function(){o=!1},dragStart:function(t){o=!0;r.eventPointing.handleMouseout(n,t);r.segResizeStart(n,t)},hitOver:function(o,s,c){var v,y=!0,p=f.getSafeHitFootprint(c),w=f.getSafeHitFootprint(o);p&&w&&(i=t?r.computeEventStartResizeMutation(p,w,n.footprint):r.computeEventEndResizeMutation(p,w,n.footprint))?(v=l.buildMutatedEventInstanceGroup(a.id,i),y=f.isEventInstanceGroupAllowed(v)):y=!1;y?i.isEmpty()&&(i=null):(i=null,u.disableCursor());i&&(e.hideEventsWithId(n.footprint.eventDef.id),e.renderEventResize(f.eventRangesToEventFootprints(v.sliceRenderRanges(f.dateProfile.renderUnzonedRange,h)),n))},hitOut:function(){i=null},hitDone:function(){e.unrenderEventResize(n);e.showEventsWithId(n.footprint.eventDef.id);u.enableCursor()},interactionEnd:function(t){o&&r.segResizeStop(n,t);i&&e.reportEventResize(v,i,c,t);r.dragListener=null}})},t.prototype.segResizeStart=function(n,t){this.isResizing=!0;this.component.publiclyTrigger("eventResizeStart",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.segResizeStop=function(n,t){this.isResizing=!1;this.component.publiclyTrigger("eventResizeStop",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.computeEventStartResizeMutation=function(n,t,i){var r,u,o=i.componentFootprint.unzonedRange,s=this.component.diffDates(t.unzonedRange.getStart(),n.unzonedRange.getStart());return o.getStart().add(s)<o.getEnd()&&((r=new e.default).setStartDelta(s),(u=new f.default).setDateMutation(r),u)},t.prototype.computeEventEndResizeMutation=function(n,t,i){var r,u,o=i.componentFootprint.unzonedRange,s=this.component.diffDates(t.unzonedRange.getEnd(),n.unzonedRange.getEnd());return o.getEnd().add(s)>o.getStart()&&((r=new e.default).setEndDelta(s),(u=new f.default).setDateMutation(r),u)},t}(i(15).default);t.default=h},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=i(36),e=i(50),o=i(54),s=i(22),h=i(240),c=function(n){function t(t,i){var r=n.call(this,t)||this;return r.isDragging=!1,r.eventPointing=i,r}return u.__extends(t,n),t.prototype.end=function(){this.dragListener&&this.dragListener.endInteraction()},t.prototype.getSelectionDelay=function(){var n=this.opt("eventLongPressDelay");return null==n&&(n=this.opt("longPressDelay")),n},t.prototype.bindToEl=function(n){var t=this.component;t.bindSegHandlerToEl(n,"mousedown",this.handleMousedown.bind(this));t.bindSegHandlerToEl(n,"touchstart",this.handleTouchStart.bind(this))},t.prototype.handleMousedown=function(n,t){this.component.canStartDrag(n,t)&&this.buildDragListener(n).startInteraction(t,{distance:5})},t.prototype.handleTouchStart=function(n,t){var i=this.component,r={delay:this.view.isEventDefSelected(n.footprint.eventDef)?0:this.getSelectionDelay()};i.canStartDrag(n,t)?this.buildDragListener(n).startInteraction(t,r):i.canStartSelection(n,t)&&this.buildSelectListener(n).startInteraction(t,r)},t.prototype.buildSelectListener=function(n){var u=this,t=this.view,f=n.footprint.eventDef,i=n.footprint.eventInstance,r;return this.dragListener?this.dragListener:r=this.dragListener=new o.default({dragStart:function(){r.isTouch&&!t.isEventDefSelected(f)&&i&&t.selectEventInstance(i)},interactionEnd:function(){u.dragListener=null}})},t.prototype.buildDragListener=function(n){var c,f,i,u=this,e=this.component,t=this.view,v=t.calendar,p=v.eventManager,y=n.el,l=n.footprint.eventDef,a=n.footprint.eventInstance,o;return this.dragListener?this.dragListener:o=this.dragListener=new s.default(t,{scroll:this.opt("dragScroll"),subjectEl:y,subjectCenter:!0,interactionStart:function(i){n.component=e;c=!1;(f=new h.default(n.el,{additionalClass:"fc-dragging",parentEl:t.el,opacity:o.isTouch?null:u.opt("dragOpacity"),revertDuration:u.opt("dragRevertDuration"),zIndex:2})).hide();f.start(i)},dragStart:function(i){o.isTouch&&!t.isEventDefSelected(l)&&a&&t.selectEventInstance(a);c=!0;u.eventPointing.handleMouseout(n,i);u.segDragStart(n,i);t.hideEventsWithId(n.footprint.eventDef.id)},hitOver:function(s,h,c){var a,y,w,b=!0;n.hit&&(c=n.hit);a=c.component.getSafeHitFootprint(c);y=s.component.getSafeHitFootprint(s);a&&y&&(i=u.computeEventDropMutation(a,y,l))?(w=p.buildMutatedEventInstanceGroup(l.id,i),b=e.isEventInstanceGroupAllowed(w)):b=!1;b||(i=null,r.disableCursor());i&&t.renderDrag(e.eventRangesToEventFootprints(w.sliceRenderRanges(e.dateProfile.renderUnzonedRange,v)),n,o.isTouch)?f.hide():f.show();h&&(i=null)},hitOut:function(){t.unrenderDrag(n);f.show();i=null},hitDone:function(){r.enableCursor()},interactionEnd:function(r){delete n.component;f.stop(!i,function(){c&&(t.unrenderDrag(n),u.segDragStop(n,r));t.showEventsWithId(n.footprint.eventDef.id);i&&t.reportEventDrop(a,i,y,r)});u.dragListener=null}})},t.prototype.segDragStart=function(n,t){this.isDragging=!0;this.component.publiclyTrigger("eventDragStart",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.segDragStop=function(n,t){this.isDragging=!1;this.component.publiclyTrigger("eventDragStop",{context:n.el[0],args:[n.footprint.getEventLegacy(),t,{},this.view]})},t.prototype.computeEventDropMutation=function(n,t){var i=new f.default;return i.setDateMutation(this.computeEventDateMutation(n,t)),i},t.prototype.computeEventDateMutation=function(n,t){var r,i,u=n.unzonedRange.getStart(),h=t.unzonedRange.getStart(),f=!1,o=!1,s=!1;return n.isAllDay!==t.isAllDay&&(f=!0,t.isAllDay?(s=!0,u.stripTime()):o=!0),r=this.component.diffDates(h,u),(i=new e.default).clearEnd=f,i.forceTimed=o,i.forceAllDay=s,i.setDateDelta(r),i},t}(i(15).default);t.default=c},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=i(22),e=i(12),o=i(5),s=function(n){function t(t){var i=n.call(this,t)||this;return i.dragListener=i.buildDragListener(),i}return u.__extends(t,n),t.prototype.end=function(){this.dragListener.endInteraction()},t.prototype.getDelay=function(){var n=this.opt("selectLongPressDelay");return null==n&&(n=this.opt("longPressDelay")),n},t.prototype.bindToEl=function(n){var t=this,i=this.component,u=this.dragListener;i.bindDateHandlerToEl(n,"mousedown",function(n){t.opt("selectable")&&!i.shouldIgnoreMouse()&&u.startInteraction(n,{distance:t.opt("selectMinDistance")})});i.bindDateHandlerToEl(n,"touchstart",function(n){t.opt("selectable")&&!i.shouldIgnoreTouch()&&u.startInteraction(n,{delay:t.getDelay()})});r.preventSelection(n)},t.prototype.buildDragListener=function(){var n,i=this,t=this.component;return new f.default(t,{scroll:this.opt("dragScroll"),interactionStart:function(){n=null},dragStart:function(n){i.view.unselect(n)},hitOver:function(u,f,e){var o,s;e&&(o=t.getSafeHitFootprint(e),s=t.getSafeHitFootprint(u),(n=o&&s?i.computeSelection(o,s):null)?t.renderSelectionFootprint(n):!1===n&&r.disableCursor())},hitOut:function(){n=null;t.unrenderSelection()},hitDone:function(){r.enableCursor()},interactionEnd:function(t,r){!r&&n&&i.view.reportSelection(n,t)}})},t.prototype.computeSelection=function(n,t){var i=this.computeSelectionFootprint(n,t);return!(i&&!this.isSelectionFootprintAllowed(i))&&i},t.prototype.computeSelectionFootprint=function(n,t){var i=[n.unzonedRange.startMs,n.unzonedRange.endMs,t.unzonedRange.startMs,t.unzonedRange.endMs];return i.sort(r.compareNumbers),new e.default(new o.default(i[0],i[3]),n.isAllDay)},t.prototype.isSelectionFootprintAllowed=function(n){return this.component.dateProfile.validUnzonedRange.containsRange(n.unzonedRange)&&this.view.calendar.constraints.isSelectionFootprintAllowed(n)},t}(i(15).default);t.default=s},function(n,t,i){function e(n){for(var i=[],r=[],t=0;t<n.length;t++)n[t].componentFootprint.isAllDay?i.push(n[t]):r.push(n[t]);return{allDay:i,timed:r}}Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),o=i(0),s=i(3),r=i(4),h=i(39),c=i(41),l=i(223),a=i(61),f=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.usesMinMaxTime=!0,r.timeGrid=r.instantiateTimeGrid(),r.addChild(r.timeGrid),r.opt("allDaySlot")&&(r.dayGrid=r.instantiateDayGrid(),r.addChild(r.dayGrid)),r.scroller=new h.default({overflowX:"hidden",overflowY:"auto"}),r}return u.__extends(t,n),t.prototype.instantiateTimeGrid=function(){return new(function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.renderHeadIntroHtml=function(){var i,n=this.view,t=n.calendar,u=t.msToUtcMoment(this.dateProfile.renderUnzonedRange.startMs,!0);return this.opt("weekNumbers")?(i=u.format(this.opt("smallWeekFormat")),'<th class="fc-axis fc-week-number '+t.theme.getClass("widgetHeader")+'" '+n.axisStyleAttr()+">"+n.buildGotoAnchorHtml({date:u,type:"week",forceOff:this.colCnt>1},r.htmlEscape(i))+"<\/th>"):'<th class="fc-axis '+t.theme.getClass("widgetHeader")+'" '+n.axisStyleAttr()+"><\/th>"},t.prototype.renderBgIntroHtml=function(){var n=this.view;return'<td class="fc-axis '+n.calendar.theme.getClass("widgetContent")+'" '+n.axisStyleAttr()+"><\/td>"},t.prototype.renderIntroHtml=function(){var n=this.view;return'<td class="fc-axis" '+n.axisStyleAttr()+"><\/td>"},t}(this.timeGridClass))(this)},t.prototype.instantiateDayGrid=function(){return new(function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.renderBgIntroHtml=function(){var n=this.view;return'<td class="fc-axis '+n.calendar.theme.getClass("widgetContent")+'" '+n.axisStyleAttr()+"><span>"+n.getAllDayHtml()+"<\/span><\/td>"},t.prototype.renderIntroHtml=function(){var n=this.view;return'<td class="fc-axis" '+n.axisStyleAttr()+"><\/td>"},t}(this.dayGridClass))(this)},t.prototype.renderSkeleton=function(){var n,t;this.el.addClass("fc-agenda-view").html(this.renderSkeletonHtml());this.scroller.render();n=this.scroller.el.addClass("fc-time-grid-container");t=s('<div class="fc-time-grid" />').appendTo(n);this.el.find(".fc-body > tr > td").append(n);this.timeGrid.headContainerEl=this.el.find(".fc-head-container");this.timeGrid.setElement(t);this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight())},t.prototype.unrenderSkeleton=function(){this.timeGrid.removeElement();this.dayGrid&&this.dayGrid.removeElement();this.scroller.destroy()},t.prototype.renderSkeletonHtml=function(){var n=this.calendar.theme;return'<table class="'+n.getClass("tableGrid")+'">'+(this.opt("columnHeader")?'<thead class="fc-head"><tr><td class="fc-head-container '+n.getClass("widgetHeader")+'">&nbsp;<\/td><\/tr><\/thead>':"")+'<tbody class="fc-body"><tr><td class="'+n.getClass("widgetContent")+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="fc-divider '+n.getClass("widgetHeader")+'"/>':"")+"<\/td><\/tr><\/tbody><\/table>"},t.prototype.axisStyleAttr=function(){return null!=this.axisWidth?'style="width:'+this.axisWidth+'px"':""},t.prototype.getNowIndicatorUnit=function(){return this.timeGrid.getNowIndicatorUnit()},t.prototype.updateSize=function(t,i,u){var e,f,o,s;(n.prototype.updateSize.call(this,t,i,u),this.axisWidth=r.matchCellWidths(this.el.find(".fc-axis")),this.timeGrid.colEls)?(s=this.el.find(".fc-row:not(.fc-scroller *)"),this.timeGrid.bottomRuleEl.hide(),this.scroller.clear(),r.uncompensateScroll(s),this.dayGrid&&(this.dayGrid.removeSegPopover(),(e=this.opt("eventLimit"))&&"number"!=typeof e&&(e=5),e&&this.dayGrid.limitRows(e)),i||(f=this.computeScrollerHeight(t),this.scroller.setHeight(f),((o=this.scroller.getScrollbarWidths()).left||o.right)&&(r.compensateScroll(s,o),f=this.computeScrollerHeight(t),this.scroller.setHeight(f)),this.scroller.lockOverflow(o),this.timeGrid.getTotalSlatHeight()<f&&this.timeGrid.bottomRuleEl.show())):i||(f=this.computeScrollerHeight(t),this.scroller.setHeight(f))},t.prototype.computeScrollerHeight=function(n){return n-r.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.computeInitialDateScroll=function(){var t=o.duration(this.opt("scrollTime")),n=this.timeGrid.computeTimeTop(t);return(n=Math.ceil(n))&&n++,{top:n}},t.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},t.prototype.applyDateScroll=function(n){void 0!==n.top&&this.scroller.setScrollTop(n.top)},t.prototype.getHitFootprint=function(n){return n.component.getHitFootprint(n)},t.prototype.getHitEl=function(n){return n.component.getHitEl(n)},t.prototype.executeEventRender=function(n){var t,i,r={},u={};for(t in n)(i=n[t]).getEventDef().isAllDay()?r[t]=i:u[t]=i;this.timeGrid.executeEventRender(u);this.dayGrid&&this.dayGrid.executeEventRender(r)},t.prototype.renderDrag=function(n,t,i){var u=e(n),r=!1;return r=this.timeGrid.renderDrag(u.timed,t,i),this.dayGrid&&(r=this.dayGrid.renderDrag(u.allDay,t,i)||r),r},t.prototype.renderEventResize=function(n,t,i){var r=e(n);this.timeGrid.renderEventResize(r.timed,t,i);this.dayGrid&&this.dayGrid.renderEventResize(r.allDay,t,i)},t.prototype.renderSelectionFootprint=function(n){n.isAllDay?this.dayGrid&&this.dayGrid.renderSelectionFootprint(n):this.timeGrid.renderSelectionFootprint(n)},t}(c.default);t.default=f;f.prototype.timeGridClass=l.default;f.prototype.dayGridClass=a.default},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var l=i(2),f=i(3),r=i(0),e=i(4),a=i(40),v=i(56),y=i(60),p=i(55),s=i(53),o=i(5),h=i(12),w=i(242),b=i(243),k=i(244),c=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}],u=function(n){function t(t){var i=n.call(this,t)||this;return i.processOptions(),i}return l.__extends(t,n),t.prototype.componentFootprintToSegs=function(n){for(var i=this.sliceRangeByTimes(n.unzonedRange),t=0;t<i.length;t++)i[t].col=this.isRTL?this.daysPerRow-1-i[t].dayIndex:i[t].dayIndex;return i},t.prototype.sliceRangeByTimes=function(n){for(var t,r=[],i=0;i<this.daysPerRow;i++)(t=n.intersect(this.dayRanges[i]))&&r.push({startMs:t.startMs,endMs:t.endMs,isStart:t.isStart,isEnd:t.isEnd,dayIndex:i});return r},t.prototype.processOptions=function(){var n,t=this.opt("slotDuration"),i=this.opt("snapDuration");t=r.duration(t);i=i?r.duration(i):t;this.slotDuration=t;this.snapDuration=i;this.snapsPerSlot=t/i;n=this.opt("slotLabelFormat");f.isArray(n)&&(n=n[n.length-1]);this.labelFormat=n||this.opt("smallTimeFormat");n=this.opt("slotLabelInterval");this.labelInterval=n?r.duration(n):this.computeLabelInterval(t)},t.prototype.computeLabelInterval=function(n){for(var i,u,t=c.length-1;t>=0;t--)if(i=r.duration(c[t]),u=e.divideDurationByDuration(i,n),e.isInt(u)&&u>1)return i;return r.duration(n)},t.prototype.renderDates=function(n){this.dateProfile=n;this.updateDayTable();this.renderSlats();this.renderColumns()},t.prototype.unrenderDates=function(){this.unrenderColumns()},t.prototype.renderSkeleton=function(){var n=this.view.calendar.theme;this.el.html('<div class="fc-bg"><\/div><div class="fc-slats"><\/div><hr class="fc-divider '+n.getClass("widgetHeader")+'" style="display:none" />');this.bottomRuleEl=this.el.find("hr")},t.prototype.renderSlats=function(){var n=this.view.calendar.theme;this.slatContainerEl=this.el.find("> .fc-slats").html('<table class="'+n.getClass("tableGrid")+'">'+this.renderSlatRowHtml()+"<\/table>");this.slatEls=this.slatContainerEl.find("tr");this.slatCoordCache=new s.default({els:this.slatEls,isVertical:!0})},t.prototype.renderSlatRowHtml=function(){for(var n,t,i,o=this.view,s=o.calendar,h=s.theme,c=this.isRTL,u=this.dateProfile,l="",f=r.duration(+u.minTime),a=r.duration(0);f<u.maxTime;)n=s.msToUtcMoment(u.renderUnzonedRange.startMs).time(f),t=e.isInt(e.divideDurationByDuration(a,this.labelInterval)),i='<td class="fc-axis fc-time '+h.getClass("widgetContent")+'" '+o.axisStyleAttr()+">"+(t?"<span>"+e.htmlEscape(n.format(this.labelFormat))+"<\/span>":"")+"<\/td>",l+='<tr data-time="'+n.format("HH:mm:ss")+'"'+(t?"":' class="fc-minor"')+">"+(c?"":i)+'<td class="'+h.getClass("widgetContent")+'"/>'+(c?i:"")+"<\/tr>",f.add(this.slotDuration),a.add(this.slotDuration);return l},t.prototype.renderColumns=function(){var n=this.dateProfile,t=this.view.calendar.theme;this.dayRanges=this.dayDates.map(function(t){return new o.default(t.clone().add(n.minTime),t.clone().add(n.maxTime))});this.headContainerEl&&this.headContainerEl.html(this.renderHeadHtml());this.el.find("> .fc-bg").html('<table class="'+t.getClass("tableGrid")+'">'+this.renderBgTrHtml(0)+"<\/table>");this.colEls=this.el.find(".fc-day, .fc-disabled-day");this.colCoordCache=new s.default({els:this.colEls,isHorizontal:!0});this.renderContentSkeleton()},t.prototype.unrenderColumns=function(){this.unrenderContentSkeleton()},t.prototype.renderContentSkeleton=function(){for(var n,i="",t=0;t<this.colCnt;t++)i+='<td><div class="fc-content-col"><div class="fc-event-container fc-helper-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>';n=this.contentSkeletonEl=f('<div class="fc-content-skeleton"><table><tr>'+i+"<\/tr><\/table><\/div>");this.colContainerEls=n.find(".fc-content-col");this.helperContainerEls=n.find(".fc-helper-container");this.fgContainerEls=n.find(".fc-event-container:not(.fc-helper-container)");this.bgContainerEls=n.find(".fc-bgevent-container");this.highlightContainerEls=n.find(".fc-highlight-container");this.businessContainerEls=n.find(".fc-business-container");this.bookendCells(n.find("tr"));this.el.append(n)},t.prototype.unrenderContentSkeleton=function(){this.contentSkeletonEl.remove();this.contentSkeletonEl=null;this.colContainerEls=null;this.helperContainerEls=null;this.fgContainerEls=null;this.bgContainerEls=null;this.highlightContainerEls=null;this.businessContainerEls=null},t.prototype.groupSegsByCol=function(n){for(var i=[],t=0;t<this.colCnt;t++)i.push([]);for(t=0;t<n.length;t++)i[n[t].col].push(n[t]);return i},t.prototype.attachSegsByCol=function(n,t){for(var u,r,i=0;i<this.colCnt;i++)for(u=n[i],r=0;r<u.length;r++)t.eq(i).append(u[r].el)},t.prototype.getNowIndicatorUnit=function(){return"minute"},t.prototype.renderNowIndicator=function(n){if(this.colContainerEls){for(var i=this.componentFootprintToSegs(new h.default(new o.default(n,n.valueOf()+1),!1)),u=this.computeDateTop(n,n),r=[],t=0;t<i.length;t++)r.push(f('<div class="fc-now-indicator fc-now-indicator-line"><\/div>').css("top",u).appendTo(this.colContainerEls.eq(i[t].col))[0]);i.length>0&&r.push(f('<div class="fc-now-indicator fc-now-indicator-arrow"><\/div>').css("top",u).appendTo(this.el.find(".fc-content-skeleton"))[0]);this.nowIndicatorEls=f(r)}},t.prototype.unrenderNowIndicator=function(){this.nowIndicatorEls&&(this.nowIndicatorEls.remove(),this.nowIndicatorEls=null)},t.prototype.updateSize=function(t,i,r){n.prototype.updateSize.call(this,t,i,r);this.slatCoordCache.build();r&&this.updateSegVerticals([].concat(this.eventRenderer.getSegs(),this.businessSegs||[]))},t.prototype.getTotalSlatHeight=function(){return this.slatContainerEl.outerHeight()},t.prototype.computeDateTop=function(n,t){return this.computeTimeTop(r.duration(n-t.clone().stripTime()))},t.prototype.computeTimeTop=function(n){var i,r,u=this.slatEls.length,t=(n-this.dateProfile.minTime)/this.slotDuration;return t=Math.max(0,t),t=Math.min(u,t),i=Math.floor(t),r=t-(i=Math.min(i,u-1)),this.slatCoordCache.getTopPosition(i)+this.slatCoordCache.getHeight(i)*r},t.prototype.updateSegVerticals=function(n){this.computeSegVerticals(n);this.assignSegVerticals(n)},t.prototype.computeSegVerticals=function(n){for(var t,r,u=this.opt("agendaEventMinHeight"),i=0;i<n.length;i++)t=n[i],r=this.dayDates[t.dayIndex],t.top=this.computeDateTop(t.startMs,r),t.bottom=Math.max(t.top+u,this.computeDateTop(t.endMs,r))},t.prototype.assignSegVerticals=function(n){for(var i,t=0;t<n.length;t++)(i=n[t]).el.css(this.generateSegVerticalCss(i))},t.prototype.generateSegVerticalCss=function(n){return{top:n.top,bottom:-n.bottom}},t.prototype.prepareHits=function(){this.colCoordCache.build();this.slatCoordCache.build()},t.prototype.releaseHits=function(){this.colCoordCache.clear()},t.prototype.queryHit=function(n,t){var u=this.snapsPerSlot,f=this.colCoordCache,e=this.slatCoordCache,i,r;if(f.isLeftInBounds(n)&&e.isTopInBounds(t)&&(i=f.getHorizontalIndex(n),r=e.getVerticalIndex(t),null!=i&&null!=r)){var o=e.getTopOffset(r),s=e.getHeight(r),c=(t-o)/s,h=Math.floor(c*u),l=o+h/u*s,a=o+(h+1)/u*s;return{col:i,snap:r*u+h,component:this,left:f.getLeftOffset(i),right:f.getRightOffset(i),top:l,bottom:a}}},t.prototype.getHitFootprint=function(n){var i,t=this.getCellDate(0,n.col),r=this.computeSnapTime(n.snap);return t.time(r),i=t.clone().add(this.snapDuration),new h.default(new o.default(t,i),!1)},t.prototype.computeSnapTime=function(n){return r.duration(this.dateProfile.minTime+this.snapDuration*n)},t.prototype.getHitEl=function(n){return this.colEls.eq(n.col)},t.prototype.renderDrag=function(n,t,i){var r;if(t){if(n.length)return this.helperRenderer.renderEventDraggingFootprints(n,t,i),!0}else for(r=0;r<n.length;r++)this.renderHighlight(n[r].componentFootprint)},t.prototype.unrenderDrag=function(){this.unrenderHighlight();this.helperRenderer.unrender()},t.prototype.renderEventResize=function(n,t,i){this.helperRenderer.renderEventResizingFootprints(n,t,i)},t.prototype.unrenderEventResize=function(){this.helperRenderer.unrender()},t.prototype.renderSelectionFootprint=function(n){this.opt("selectHelper")?this.helperRenderer.renderComponentFootprint(n):this.renderHighlight(n)},t.prototype.unrenderSelection=function(){this.helperRenderer.unrender();this.unrenderHighlight()},t}(a.default);t.default=u;u.prototype.eventRendererClass=w.default;u.prototype.businessHourRendererClass=v.default;u.prototype.helperRendererClass=b.default;u.prototype.fillRendererClass=k.default;y.default.mixInto(u);p.default.mixInto(u)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(5),f=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.buildRenderRange=function(t,i,r){var e=n.prototype.buildRenderRange.call(this,t,i,r),o=this.msToUtcMoment(e.startMs,r),f=this.msToUtcMoment(e.endMs,r);return/^(year|month)$/.test(i)&&(o.startOf("week"),f.weekday()&&f.add(1,"week").startOf("week")),new u.default(o,f)},t}(i(217).default);t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),f=i(0),e=i(4),o=i(62),s=i(249),r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.setGridHeight=function(n,t){t&&(n*=this.dayGrid.rowCnt/6);e.distributeHeight(this.dayGrid.rowEls,n,!t)},t.prototype.isDateInOtherMonth=function(n,t){return n.month()!==f.utc(t.currentUnzonedRange.startMs).month()},t}(o.default);t.default=r;r.prototype.dateProfileGeneratorClass=s.default},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),e=i(3),r=i(4),o=i(5),s=i(41),h=i(39),c=i(250),l=i(251),u=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.segSelector=".fc-list-item",r.scroller=new h.default({overflowX:"hidden",overflowY:"auto"}),r}return f.__extends(t,n),t.prototype.renderSkeleton=function(){this.el.addClass("fc-list-view "+this.calendar.theme.getClass("listView"));this.scroller.render();this.scroller.el.appendTo(this.el);this.contentEl=this.scroller.scrollEl},t.prototype.unrenderSkeleton=function(){this.scroller.destroy()},t.prototype.updateSize=function(n){this.scroller.setHeight(this.computeScrollerHeight(n))},t.prototype.computeScrollerHeight=function(n){return n-r.subtractInnerElHeight(this.el,this.scroller.el)},t.prototype.renderDates=function(n){for(var i=this.calendar,t=i.msToUtcMoment(n.renderUnzonedRange.startMs,!0),f=i.msToUtcMoment(n.renderUnzonedRange.endMs,!0),r=[],u=[];t<f;)r.push(t.clone()),u.push(new o.default(t,t.clone().add(1,"day"))),t.add(1,"day");this.dayDates=r;this.dayRanges=u},t.prototype.componentFootprintToSegs=function(n){for(var i,r,u=this.dayRanges,f=[],t=0;t<u.length;t++)if((i=n.unzonedRange.intersect(u[t]))&&(r={startMs:i.startMs,endMs:i.endMs,isStart:i.isStart,isEnd:i.isEnd,dayIndex:t},f.push(r),!r.isEnd&&!n.isAllDay&&t+1<u.length&&n.unzonedRange.endMs<u[t+1].startMs+this.nextDayThreshold)){r.endMs=n.unzonedRange.endMs;r.isEnd=!0;break}return f},t.prototype.renderEmptyMessage=function(){this.contentEl.html('<div class="fc-list-empty-wrap2"><div class="fc-list-empty-wrap1"><div class="fc-list-empty">'+r.htmlEscape(this.opt("noEventsMessage"))+"<\/div><\/div><\/div>")},t.prototype.renderSegList=function(n){for(var i,r,u=this.groupSegsByDay(n),f=e('<table class="fc-list-table '+this.calendar.theme.getClass("tableList")+'"><tbody/><\/table>'),o=f.find("tbody"),t=0;t<u.length;t++)if(i=u[t])for(o.append(this.dayHeaderHtml(this.dayDates[t])),this.eventRenderer.sortEventSegs(i),r=0;r<i.length;r++)o.append(i[r].el);this.contentEl.empty().append(f)},t.prototype.groupSegsByDay=function(n){for(var i,r=[],t=0;t<n.length;t++)(r[(i=n[t]).dayIndex]||(r[i.dayIndex]=[])).push(i);return r},t.prototype.dayHeaderHtml=function(n){var t=this.opt("listDayFormat"),i=this.opt("listDayAltFormat");return'<tr class="fc-list-heading" data-date="'+n.format("YYYY-MM-DD")+'"><td class="'+this.calendar.theme.getClass("widgetHeader")+'" colspan="3">'+(t?this.buildGotoAnchorHtml(n,{"class":"fc-list-heading-main"},r.htmlEscape(n.format(t))):"")+(i?this.buildGotoAnchorHtml(n,{"class":"fc-list-heading-alt"},r.htmlEscape(n.format(i))):"")+"<\/td><\/tr>"},t}(s.default);t.default=u;u.prototype.eventRendererClass=c.default;u.prototype.eventPointingClass=l.default},,,,,,function(n,t,i){var r=i(3),u=i(16),f=i(4),e=i(216);i(10);i(47);i(252);i(253);i(255);i(256);i(257);i(258);r.fullCalendar=u;r.fn.fullCalendar=function(n){var i=Array.prototype.slice.call(arguments,1),t=this;return this.each(function(u,o){var c,h=r(o),s=h.data("fullCalendar");"string"==typeof n?"getCalendar"===n?u||(t=s):"destroy"===n?s&&(s.destroy(),h.removeData("fullCalendar")):s?r.isFunction(s[n])?(c=s[n].apply(s,i),u||(t=c),"destroy"===n&&h.removeData("fullCalendar")):f.warn("'"+n+"' is an unknown FullCalendar method."):f.warn("Attempting to call a FullCalendar method on an element with no calendar."):s||(s=new e.default(h,n),h.data("fullCalendar",s),s.render())}),t};n.exports=u},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.setElement=function(n){this.el=n;this.bindGlobalHandlers();this.renderSkeleton();this.set("isInDom",!0)},t.prototype.removeElement=function(){this.unset("isInDom");this.unrenderSkeleton();this.unbindGlobalHandlers();this.el.remove()},t.prototype.bindGlobalHandlers=function(){},t.prototype.unbindGlobalHandlers=function(){},t.prototype.renderSkeleton=function(){},t.prototype.unrenderSkeleton=function(){},t}(i(48).default);t.default=u},function(n,t){Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n){this.items=n||[]}return n.prototype.proxyCall=function(n){for(var r,i=[],t=1;t<arguments.length;t++)i[t-1]=arguments[t];return r=[],this.items.forEach(function(t){r.push(t[n].apply(t,i))}),r},n}();t.default=i},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),u=i(4),f=function(){function n(n,t){this.el=null;this.viewsWithButtons=[];this.calendar=n;this.toolbarOptions=t}return n.prototype.setToolbarOptions=function(n){this.toolbarOptions=n},n.prototype.render=function(){var t=this.toolbarOptions.layout,n=this.el;t?(n?n.empty():n=this.el=r("<div class='fc-toolbar "+this.toolbarOptions.extraClasses+"'/>"),n.append(this.renderSection("left")).append(this.renderSection("right")).append(this.renderSection("center")).append('<div class="fc-clear"/>')):this.removeElement()},n.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},n.prototype.renderSection=function(n){var s=this,i=this.calendar,t=i.theme,f=i.optionsManager,h=i.viewSpecManager,e=r('<div class="fc-'+n+'"/>'),o=this.toolbarOptions.layout[n],c=f.get("customButtons")||{},l=f.overrides.buttonText||{},a=f.get("buttonText")||{};return o&&r.each(o.split(" "),function(n,f){var v,o=r(),y=!0;r.each(f.split(","),function(n,f){var w,k,b,p,v,d,g,e;"title"===f?(o=o.add(r("<h2>&nbsp;<\/h2>")),y=!1):((w=c[f])?(b=function(n){w.click&&w.click.call(e[0],n)},(p=t.getCustomButtonIconClass(w))||(p=t.getIconClass(f))||(v=w.text)):(k=h.getViewSpec(f))?(s.viewsWithButtons.push(f),b=function(){i.changeView(f)},(v=k.buttonTextOverride)||(p=t.getIconClass(f))||(v=k.buttonTextDefault)):i[f]&&(b=function(){i[f]()},(v=l[f])||(p=t.getIconClass(f))||(v=a[f])),b&&(g=["fc-"+f+"-button",t.getClass("button"),t.getClass("stateDefault")],v?d=u.htmlEscape(v):p&&(d="<span class='"+p+"'><\/span>"),e=r('<button type="button" class="'+g.join(" ")+'">'+d+"<\/button>").click(function(n){e.hasClass(t.getClass("stateDisabled"))||(b(n),(e.hasClass(t.getClass("stateActive"))||e.hasClass(t.getClass("stateDisabled")))&&e.removeClass(t.getClass("stateHover")))}).mousedown(function(){e.not("."+t.getClass("stateActive")).not("."+t.getClass("stateDisabled")).addClass(t.getClass("stateDown"))}).mouseup(function(){e.removeClass(t.getClass("stateDown"))}).hover(function(){e.not("."+t.getClass("stateActive")).not("."+t.getClass("stateDisabled")).addClass(t.getClass("stateHover"))},function(){e.removeClass(t.getClass("stateHover")).removeClass(t.getClass("stateDown"))}),o=o.add(e)))});y&&o.first().addClass(t.getClass("cornerLeft")).end().last().addClass(t.getClass("cornerRight")).end();o.length>1?(v=r("<div/>"),y&&v.addClass(t.getClass("buttonGroup")),v.append(o),e.append(v)):e.append(o)}),e},n.prototype.updateTitle=function(n){this.el&&this.el.find("h2").text(n)},n.prototype.activateButton=function(n){this.el&&this.el.find(".fc-"+n+"-button").addClass(this.calendar.theme.getClass("stateActive"))},n.prototype.deactivateButton=function(n){this.el&&this.el.find(".fc-"+n+"-button").removeClass(this.calendar.theme.getClass("stateActive"))},n.prototype.disableButton=function(n){this.el&&this.el.find(".fc-"+n+"-button").prop("disabled",!0).addClass(this.calendar.theme.getClass("stateDisabled"))},n.prototype.enableButton=function(n){this.el&&this.el.find(".fc-"+n+"-button").prop("disabled",!1).removeClass(this.calendar.theme.getClass("stateDisabled"))},n.prototype.getViewsWithButtons=function(){return this.viewsWithButtons},n}();t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),o=i(3),f=i(4),r=i(31),u=i(30),s=function(n){function t(t,i){var r=n.call(this)||this;return r._calendar=t,r.overrides=o.extend({},i),r.dynamicOverrides={},r.compute(),r}return e.__extends(t,n),t.prototype.add=function(n){var t,i=0;for(t in this.recordOverrides(n),n)i++;if(1===i){if("height"===t||"contentHeight"===t||"aspectRatio"===t)return void this._calendar.updateViewSize(!0);if("defaultDate"===t)return;if("businessHours"===t)return;if("timezone"===t)return void this._calendar.view.flash("initialEvents")}this._calendar.renderHeader();this._calendar.renderFooter();this._calendar.viewsByType={};this._calendar.reinitView()},t.prototype.compute=function(){var t,n,i,e;t=f.firstDefined(this.dynamicOverrides.locale,this.overrides.locale);(n=u.localeOptionHash[t])||(t=r.globalDefaults.locale,n=u.localeOptionHash[t]||{});i=f.firstDefined(this.dynamicOverrides.isRTL,this.overrides.isRTL,n.isRTL,r.globalDefaults.isRTL)?r.rtlDefaults:{};this.dirDefaults=i;this.localeDefaults=n;e=r.mergeOptions([r.globalDefaults,i,n,this.overrides,this.dynamicOverrides]);u.populateInstanceComputableOptions(e);this.reset(e)},t.prototype.recordOverrides=function(n){for(var t in n)this.dynamicOverrides[t]=n[t];this._calendar.viewSpecManager.clearCache();this.compute()},t}(i(48).default);t.default=s},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var o=i(0),f=i(3),e=i(21),u=i(4),r=i(31),s=i(30),h=function(){function n(n,t){this.optionsManager=n;this._calendar=t;this.clearCache()}return n.prototype.clearCache=function(){this.viewSpecCache={}},n.prototype.getViewSpec=function(n){var t=this.viewSpecCache;return t[n]||(t[n]=this.buildViewSpec(n))},n.prototype.getUnitViewSpec=function(n){var t,i,r;if(-1!==f.inArray(n,u.unitsDesc))for(t=this._calendar.header.getViewsWithButtons(),f.each(e.viewHash,function(n){t.push(n)}),i=0;i<t.length;i++)if((r=this.getViewSpec(t[i]))&&r.singleUnit===n)return r},n.prototype.buildViewSpec=function(n){for(var t,s,i,c,h,a=this.optionsManager.overrides.views||{},v=[],y=[],l=[],f=n;f;)t=e.viewHash[f],s=a[f],f=null,"function"==typeof t&&(t={"class":t}),t&&(v.unshift(t),y.unshift(t.defaults||{}),i=i||t.duration,f=f||t.type),s&&(l.unshift(s),i=i||s.duration,f=f||s.type);return(t=u.mergeProps(v)).type=n,!!t.class&&((i=i||this.optionsManager.dynamicOverrides.duration||this.optionsManager.overrides.duration)&&(c=o.duration(i)).valueOf()&&(h=u.computeDurationGreatestUnit(c,i),t.duration=c,t.durationUnit=h,1===c.as(h)&&(t.singleUnit=h,l.unshift(a[h]||{}))),t.defaults=r.mergeOptions(y),t.overrides=r.mergeOptions(l),this.buildViewSpecOptions(t),this.buildViewSpecButtonText(t,n),t)},n.prototype.buildViewSpecOptions=function(n){var t=this.optionsManager;n.options=r.mergeOptions([r.globalDefaults,n.defaults,t.dirDefaults,t.localeDefaults,t.overrides,n.overrides,t.dynamicOverrides]);s.populateInstanceComputableOptions(n.options)},n.prototype.buildViewSpecButtonText=function(n,t){function i(i){var r=i.buttonText||{};return r[t]||(n.buttonTextKey?r[n.buttonTextKey]:null)||(n.singleUnit?r[n.singleUnit]:null)}var u=this.optionsManager;n.buttonTextOverride=i(u.dynamicOverrides)||i(u.overrides)||n.overrides.buttonText;n.buttonTextDefault=i(u.localeDefaults)||i(u.dirDefaults)||n.defaults.buttonText||i(r.globalDefaults)||(n.duration?this._calendar.humanizeDuration(n.duration):null)||t},n}();t.default=h},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),f=i(4),e=i(239),o=i(52),s=i(6),h=i(37),c=i(13),l=i(18),a=i(11),v=i(7),u=function(){function n(n){this.calendar=n;this.stickySource=new o.default(n);this.otherSources=[]}return n.prototype.requestEvents=function(n,t,i,r){return!r&&this.currentPeriod&&this.currentPeriod.isWithinRange(n,t)&&i===this.currentPeriod.timezone||this.setPeriod(new e.default(n,t,i)),this.currentPeriod.whenReleased()},n.prototype.addSource=function(n){this.otherSources.push(n);this.currentPeriod&&this.currentPeriod.requestSource(n)},n.prototype.removeSource=function(n){f.removeExact(this.otherSources,n);this.currentPeriod&&this.currentPeriod.purgeSource(n)},n.prototype.removeAllSources=function(){this.otherSources=[];this.currentPeriod&&this.currentPeriod.purgeAllSources()},n.prototype.refetchSource=function(n){var t=this.currentPeriod;t&&(t.freeze(),t.purgeSource(n),t.requestSource(n),t.thaw())},n.prototype.refetchAllSources=function(){var n=this.currentPeriod;n&&(n.freeze(),n.purgeAllSources(),n.requestSources(this.getSources()),n.thaw())},n.prototype.getSources=function(){return[this.stickySource].concat(this.otherSources)},n.prototype.multiQuerySources=function(n){n?r.isArray(n)||(n=[n]):n=[];for(var i=[],t=0;t<n.length;t++)i.push.apply(i,this.querySources(n[t]));return i},n.prototype.querySources=function(n){for(var i,u=this.otherSources,t=0;t<u.length;t++)if((i=u[t])===n)return[i];return(i=this.getSourceById(s.default.normalizeId(n)))?[i]:(n=h.default.parse(n,this.calendar))?r.grep(u,function(t){return i=t,n.getPrimitive()===i.getPrimitive();var i}):void 0},n.prototype.getSourceById=function(n){return r.grep(this.otherSources,function(t){return t.id&&t.id===n})[0]},n.prototype.setPeriod=function(n){this.currentPeriod&&(this.unbindPeriod(this.currentPeriod),this.currentPeriod=null);this.currentPeriod=n;this.bindPeriod(n);n.requestSources(this.getSources())},n.prototype.bindPeriod=function(n){this.listenTo(n,"release",function(n){this.trigger("release",n)})},n.prototype.unbindPeriod=function(n){this.stopListeningTo(n)},n.prototype.getEventDefByUid=function(n){if(this.currentPeriod)return this.currentPeriod.getEventDefByUid(n)},n.prototype.addEventDef=function(n,t){t&&this.stickySource.addEventDef(n);this.currentPeriod&&this.currentPeriod.addEventDef(n)},n.prototype.removeEventDefsById=function(n){this.getSources().forEach(function(t){t.removeEventDefsById(n)});this.currentPeriod&&this.currentPeriod.removeEventDefsById(n)},n.prototype.removeAllEventDefs=function(){this.getSources().forEach(function(n){n.removeAllEventDefs()});this.currentPeriod&&this.currentPeriod.removeAllEventDefs()},n.prototype.mutateEventsWithId=function(n,t){var r,i=this.currentPeriod,u=[];return i?(i.freeze(),(r=i.getEventDefsById(n)).forEach(function(n){i.removeEventDef(n);u.push(t.mutateSingle(n));i.addEventDef(n)}),i.thaw(),function(){i.freeze();for(var n=0;n<r.length;n++)i.removeEventDef(r[n]),u[n](),i.addEventDef(r[n]);i.thaw()}):function(){}},n.prototype.buildMutatedEventInstanceGroup=function(n,t){for(var r,f=this.getEventDefsById(n),u=[],i=0;i<f.length;i++)(r=f[i].clone())instanceof c.default&&(t.mutateSingle(r),u.push.apply(u,r.buildInstances()));return new l.default(u)},n.prototype.freeze=function(){this.currentPeriod&&this.currentPeriod.freeze()},n.prototype.thaw=function(){this.currentPeriod&&this.currentPeriod.thaw()},n.prototype.getEventDefsById=function(n){return this.currentPeriod.getEventDefsById(n)},n.prototype.getEventInstances=function(){return this.currentPeriod.getEventInstances()},n.prototype.getEventInstancesWithId=function(n){return this.currentPeriod.getEventInstancesWithId(n)},n.prototype.getEventInstancesWithoutId=function(n){return this.currentPeriod.getEventInstancesWithoutId(n)},n}();t.default=u;a.default.mixInto(u);v.default.mixInto(u)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var e=i(3),r=i(4),u=i(19),o=i(11),s=i(5),h=i(18),f=function(){function n(n,t,i){this.pendingCnt=0;this.freezeDepth=0;this.stuntedReleaseCnt=0;this.releaseCnt=0;this.start=n;this.end=t;this.timezone=i;this.unzonedRange=new s.default(n.clone().stripZone(),t.clone().stripZone());this.requestsByUid={};this.eventDefsByUid={};this.eventDefsById={};this.eventInstanceGroupsById={}}return n.prototype.isWithinRange=function(n,t){return!n.isBefore(this.start)&&!t.isAfter(this.end)},n.prototype.requestSources=function(n){this.freeze();for(var t=0;t<n.length;t++)this.requestSource(n[t]);this.thaw()},n.prototype.requestSource=function(n){var i=this,t={source:n,status:"pending",eventDefs:null};this.requestsByUid[n.uid]=t;this.pendingCnt+=1;n.fetch(this.start,this.end,this.timezone).then(function(n){"cancelled"!==t.status&&(t.status="completed",t.eventDefs=n,i.addEventDefs(n),i.pendingCnt--,i.tryRelease())},function(){"cancelled"!==t.status&&(t.status="failed",i.pendingCnt--,i.tryRelease())})},n.prototype.purgeSource=function(n){var t=this.requestsByUid[n.uid];t&&(delete this.requestsByUid[n.uid],"pending"===t.status?(t.status="cancelled",this.pendingCnt--,this.tryRelease()):"completed"===t.status&&t.eventDefs.forEach(this.removeEventDef.bind(this)))},n.prototype.purgeAllSources=function(){var t,n,i=this.requestsByUid,r=0;for(t in i)"pending"===(n=i[t]).status?n.status="cancelled":"completed"===n.status&&r++;this.requestsByUid={};this.pendingCnt=0;r&&this.removeAllEventDefs()},n.prototype.getEventDefByUid=function(n){return this.eventDefsByUid[n]},n.prototype.getEventDefsById=function(n){var t=this.eventDefsById[n];return t?t.slice():[]},n.prototype.addEventDefs=function(n){for(var t=0;t<n.length;t++)this.addEventDef(n[t])},n.prototype.addEventDef=function(n){var t,r=this.eventDefsById,i=n.id,f=r[i]||(r[i]=[]),u=n.buildInstances(this.unzonedRange);for(f.push(n),this.eventDefsByUid[n.uid]=n,t=0;t<u.length;t++)this.addEventInstance(u[t],i)},n.prototype.removeEventDefsById=function(n){var t=this;this.getEventDefsById(n).forEach(function(n){t.removeEventDef(n)})},n.prototype.removeAllEventDefs=function(){var n=e.isEmptyObject(this.eventDefsByUid);this.eventDefsByUid={};this.eventDefsById={};this.eventInstanceGroupsById={};n||this.tryRelease()},n.prototype.removeEventDef=function(n){var i=this.eventDefsById,t=i[n.id];delete this.eventDefsByUid[n.uid];t&&(r.removeExact(t,n),t.length||delete i[n.id],this.removeEventInstancesForDef(n))},n.prototype.getEventInstances=function(){var t,i=this.eventInstanceGroupsById,n=[];for(t in i)n.push.apply(n,i[t].eventInstances);return n},n.prototype.getEventInstancesWithId=function(n){var t=this.eventInstanceGroupsById[n];return t?t.eventInstances.slice():[]},n.prototype.getEventInstancesWithoutId=function(n){var t,r=this.eventInstanceGroupsById,i=[];for(t in r)t!==n&&i.push.apply(i,r[t].eventInstances);return i},n.prototype.addEventInstance=function(n,t){var i=this.eventInstanceGroupsById;(i[t]||(i[t]=new h.default)).eventInstances.push(n);this.tryRelease()},n.prototype.removeEventInstancesForDef=function(n){var i,u=this.eventInstanceGroupsById,t=u[n.id];t&&(i=r.removeMatching(t.eventInstances,function(t){return t.def===n}),t.eventInstances.length||delete u[n.id],i&&this.tryRelease())},n.prototype.tryRelease=function(){this.pendingCnt||(this.freezeDepth?this.stuntedReleaseCnt++:this.release())},n.prototype.release=function(){this.releaseCnt++;this.trigger("release",this.eventInstanceGroupsById)},n.prototype.whenReleased=function(){var n=this;return this.releaseCnt?u.default.resolve(this.eventInstanceGroupsById):u.default.construct(function(t){n.one("release",t)})},n.prototype.freeze=function(){this.freezeDepth++||(this.stuntedReleaseCnt=0)},n.prototype.thaw=function(){--this.freezeDepth||!this.stuntedReleaseCnt||this.pendingCnt||this.release()},n}();t.default=f;o.default.mixInto(f)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(3),r=i(4),e=i(7),f=function(){function n(n,t){this.isFollowing=!1;this.isHidden=!1;this.isAnimating=!1;this.options=t=t||{};this.sourceEl=n;this.parentEl=t.parentEl?u(t.parentEl):n.parent()}return n.prototype.start=function(n){this.isFollowing||(this.isFollowing=!0,this.y0=r.getEvY(n),this.x0=r.getEvX(n),this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),r.getEvIsTouch(n)?this.listenTo(u(document),"touchmove",this.handleMove):this.listenTo(u(document),"mousemove",this.handleMove))},n.prototype.stop=function(n,t){var i=this,r=this.options.revertDuration,f=function(){i.isAnimating=!1;i.removeElement();i.top0=i.left0=null;t&&t()};this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,this.stopListeningTo(u(document)),n&&r&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:r,complete:f})):f())},n.prototype.getEl=function(){var n=this.el;return n||((n=this.el=this.sourceEl.clone().addClass(this.options.additionalClass||"").css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex})).addClass("fc-unselectable"),n.appendTo(this.parentEl)),n},n.prototype.removeElement=function(){this.el&&(this.el.remove(),this.el=null)},n.prototype.updatePosition=function(){var n,t;this.getEl();null==this.top0&&(n=this.sourceEl.offset(),t=this.el.offsetParent().offset(),this.top0=n.top-t.top,this.left0=n.left-t.left);this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},n.prototype.handleMove=function(n){this.topDelta=r.getEvY(n)-this.y0;this.leftDelta=r.getEvX(n)-this.x0;this.isHidden||this.updatePosition()},n.prototype.hide=function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},n.prototype.show=function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())},n}();t.default=f;e.default.mixInto(f)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(22),f=function(n){function t(t){var i=n.call(this,t)||this;return i.dragListener=i.buildDragListener(),i}return r.__extends(t,n),t.prototype.end=function(){this.dragListener.endInteraction()},t.prototype.bindToEl=function(n){var t=this.component,i=this.dragListener;t.bindDateHandlerToEl(n,"mousedown",function(n){t.shouldIgnoreMouse()||i.startInteraction(n)});t.bindDateHandlerToEl(n,"touchstart",function(n){t.shouldIgnoreTouch()||i.startInteraction(n)})},t.prototype.buildDragListener=function(){var n,r=this,i=this.component,t=new u.default(i,{scroll:this.opt("dragScroll"),interactionStart:function(){n=t.origHit},hitOver:function(t,i){i||(n=null)},hitOut:function(){n=null},interactionEnd:function(t,u){var f;!u&&n&&(f=i.getSafeHitFootprint(n))&&r.view.triggerDayClick(f,i.getHitEl(n),t)}});return t.shouldCancelTouchScroll=!1,t.scrollAlwaysKills=!0,t},t}(i(15).default);t.default=f},function(n,t,i){function u(n){var t,r,f=n.forwardSegs,i=0;if(void 0===n.forwardPressure){for(t=0;t<f.length;t++)u(r=f[t]),i=Math.max(i,1+r.forwardPressure);n.forwardPressure=i}}function f(n,t,i){var r,u,f;for(void 0===i&&(i=[]),r=0;r<t.length;r++)u=n,f=t[r],u.bottom>f.top&&u.top<f.bottom&&i.push(t[r]);return i}Object.defineProperty(t,"__esModule",{value:!0});var e=i(2),r=i(4),o=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.timeGrid=t,r}return e.__extends(t,n),t.prototype.renderFgSegs=function(n){this.renderFgSegsIntoContainers(n,this.timeGrid.fgContainerEls)},t.prototype.renderFgSegsIntoContainers=function(n,t){for(var r=this.timeGrid.groupSegsByCol(n),i=0;i<this.timeGrid.colCnt;i++)this.updateFgSegCoords(r[i]);this.timeGrid.attachSegsByCol(r,t)},t.prototype.unrenderFgSegs=function(){this.fgSegs&&this.fgSegs.forEach(function(n){n.el.remove()})},t.prototype.computeEventTimeFormat=function(){return this.opt("noMeridiemTimeFormat")},t.prototype.computeDisplayEventEnd=function(){return!0},t.prototype.fgSegHtml=function(n,t){var f,s,h,u=this.view,l=u.calendar,a=n.footprint.componentFootprint,c=a.isAllDay,i=n.footprint.eventDef,w=u.isEventDefDraggable(i),b=!t&&n.isStart&&u.isEventDefResizableFromStart(i),v=!t&&n.isEnd&&u.isEventDefResizableFromEnd(i),y=this.getSegClasses(n,w,b||v),p=r.cssToStr(this.getSkinCss(i)),e,o;return(y.unshift("fc-time-grid-event","fc-v-event"),u.isMultiDayRange(a.unzonedRange))?(n.isStart||n.isEnd)&&(e=l.msToMoment(n.startMs),o=l.msToMoment(n.endMs),f=this._getTimeText(e,o,c),s=this._getTimeText(e,o,c,"LT"),h=this._getTimeText(e,o,c,null,!1)):(f=this.getTimeText(n.footprint),s=this.getTimeText(n.footprint,"LT"),h=this.getTimeText(n.footprint,null,!1)),'<a class="'+y.join(" ")+'"'+(i.url?' href="'+r.htmlEscape(i.url)+'"':"")+(p?' style="'+p+'"':"")+'><div class="fc-content">'+(f?'<div class="fc-time" data-start="'+r.htmlEscape(h)+'" data-full="'+r.htmlEscape(s)+'"><span>'+r.htmlEscape(f)+"<\/span><\/div>":"")+(i.title?'<div class="fc-title">'+r.htmlEscape(i.title)+"<\/div>":"")+'<\/div><div class="fc-bg"/>'+(v?'<div class="fc-resizer fc-end-resizer" />':"")+"<\/a>"},t.prototype.updateFgSegCoords=function(n){this.timeGrid.computeSegVerticals(n);this.computeFgSegHorizontals(n);this.timeGrid.assignSegVerticals(n);this.assignFgSegHorizontals(n)},t.prototype.computeFgSegHorizontals=function(n){var r,i,t;if(this.sortEventSegs(n),function(n){for(var u,i,e,r,t=0;t<n.length;t++)for(u=n[t],i=0;i<u.length;i++)for((e=u[i]).forwardSegs=[],r=t+1;r<n.length;r++)f(e,n[r],e.forwardSegs)}(r=function(n){for(var u,t,i=[],r=0;r<n.length;r++){for(u=n[r],t=0;t<i.length&&f(u,i[t]).length;t++);u.level=t;(i[t]||(i[t]=[])).push(u)}return i}(n)),i=r[0]){for(t=0;t<i.length;t++)u(i[t]);for(t=0;t<i.length;t++)this.computeFgSegForwardBack(i[t],0,0)}},t.prototype.computeFgSegForwardBack=function(n,t,i){var u,r=n.forwardSegs;if(void 0===n.forwardCoord)for(r.length?(this.sortForwardSegs(r),this.computeFgSegForwardBack(r[0],t+1,i),n.forwardCoord=r[0].backwardCoord):n.forwardCoord=1,n.backwardCoord=n.forwardCoord-(n.forwardCoord-i)/(t+1),u=0;u<r.length;u++)this.computeFgSegForwardBack(r[u],0,n.forwardCoord)},t.prototype.sortForwardSegs=function(n){n.sort(r.proxy(this,"compareForwardSegs"))},t.prototype.compareForwardSegs=function(n,t){return t.forwardPressure-n.forwardPressure||(n.backwardCoord||0)-(t.backwardCoord||0)||this.compareEventSegs(n,t)},t.prototype.assignFgSegHorizontals=function(n){for(var t,i=0;i<n.length;i++)(t=n[i]).el.css(this.generateFgSegHorizontalCss(t)),t.bottom-t.top<30&&t.el.addClass("fc-short")},t.prototype.generateFgSegHorizontalCss=function(n){var u,f,e=this.opt("slotEventOverlap"),i=n.backwardCoord,r=n.forwardCoord,t=this.timeGrid.generateSegVerticalCss(n),o=this.timeGrid.isRTL;return e&&(r=Math.min(1,i+2*(r-i))),o?(u=1-r,f=i):(u=i,f=1-r),t.zIndex=n.level+1,t.left=100*u+"%",t.right=100*f+"%",e&&n.forwardPressure&&(t[o?"marginLeft":"marginRight"]=20),t},t}(i(42).default);t.default=o},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.renderSegs=function(n,t){var r,f,i,e=[];for(this.eventRenderer.renderFgSegsIntoContainers(n,this.component.helperContainerEls),r=0;r<n.length;r++)f=n[r],t&&t.col===f.col&&(i=t.el,f.el.css({left:i.css("left"),right:i.css("right"),"margin-left":i.css("margin-left"),"margin-right":i.css("margin-right")})),e.push(f.el[0]);return u(e)},t}(i(58).default);t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.attachSegEls=function(n,t){var r,i=this.component;return"bgEvent"===n?r=i.bgContainerEls:"businessHours"===n?r=i.businessContainerEls:"highlight"===n&&(r=i.highlightContainerEls),i.updateSegVerticals(t),i.attachSegsByCol(i.groupSegsByCol(t),r),t.map(function(n){return n.el[0]})},t}(i(57).default);t.default=u},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(3),f=i(4),e=i(7),u=function(){function n(n){this.isHidden=!0;this.margin=10;this.options=n||{}}return n.prototype.show=function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},n.prototype.hide=function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},n.prototype.render=function(){var t=this,n=this.options;this.el=r('<div class="fc-popover"/>').addClass(n.className||"").css({top:0,left:0}).append(n.content).appendTo(n.parentEl);this.el.on("click",".fc-close",function(){t.hide()});n.autoHide&&this.listenTo(r(document),"mousedown",this.documentMousedown)},n.prototype.documentMousedown=function(n){this.el&&!r(n.target).closest(this.el).length&&this.hide()},n.prototype.removeElement=function(){this.hide();this.el&&(this.el.remove(),this.el=null);this.stopListeningTo(r(document),"mousedown")},n.prototype.position=function(){var e,o,h,n,t,i=this.options,c=this.el.offsetParent().offset(),l=this.el.outerWidth(),a=this.el.outerHeight(),s=r(window),u=f.getScrollParent(this.el);n=i.top||0;t=void 0!==i.left?i.left:void 0!==i.right?i.right-l:0;u.is(window)||u.is(document)?(u=s,e=0,o=0):(e=(h=u.offset()).top,o=h.left);e+=s.scrollTop();o+=s.scrollLeft();!1!==i.viewportConstrain&&(n=Math.min(n,e+u.outerHeight()-a-this.margin),n=Math.max(n,e+this.margin),t=Math.min(t,o+u.outerWidth()-l-this.margin),t=Math.max(t,o+this.margin));this.el.css({top:n-c.top,left:t-c.left})},n.prototype.trigger=function(n){this.options[n]&&this.options[n].apply(this,Array.prototype.slice.call(arguments,1))},n}();t.default=u;e.default.mixInto(u)},function(n,t,i){function o(n,t){for(var r,i=0;i<t.length;i++)if((r=t[i]).leftCol<=n.rightCol&&r.rightCol>=n.leftCol)return!0;return!1}function s(n,t){return n.leftCol-t.leftCol}Object.defineProperty(t,"__esModule",{value:!0});var f=i(2),r=i(3),u=i(4),e=function(n){function t(t,i){var r=n.call(this,t,i)||this;return r.dayGrid=t,r}return f.__extends(t,n),t.prototype.renderBgRanges=function(t){t=r.grep(t,function(n){return n.eventDef.isAllDay()});n.prototype.renderBgRanges.call(this,t)},t.prototype.renderFgSegs=function(n){var t=this.rowStructs=this.renderSegRows(n);this.dayGrid.rowEls.each(function(n,i){r(i).find(".fc-content-skeleton > table").append(t[n].tbodyEl)})},t.prototype.unrenderFgSegs=function(){for(var n,t=this.rowStructs||[];n=t.pop();)n.tbodyEl.remove();this.rowStructs=null},t.prototype.renderSegRows=function(n){for(var r=[],i=this.groupSegRows(n),t=0;t<i.length;t++)r.push(this.renderSegRow(t,i[t]));return r},t.prototype.renderSegRow=function(n,t){function p(n){for(;u<n;)(i=(l[f-1]||[])[u])?i.attr("rowspan",parseInt(i.attr("rowspan")||1,10)+1):(i=r("<td/>"),o.append(i)),c[f][u]=i,l[f][u]=i,u++}for(var s,u,o,h,e,i,w=this.dayGrid.colCnt,a=this.buildSegLevels(t),b=Math.max(1,a.length),y=r("<tbody/>"),v=[],c=[],l=[],f=0;f<b;f++){if(s=a[f],u=0,o=r("<tr/>"),v.push([]),c.push([]),l.push([]),s)for(h=0;h<s.length;h++){for(p((e=s[h]).leftCol),i=r('<td class="fc-event-container"/>').append(e.el),e.leftCol!==e.rightCol?i.attr("colspan",e.rightCol-e.leftCol+1):l[f][u]=i;u<=e.rightCol;)c[f][u]=i,v[f][u]=e,u++;o.append(i)}p(w);this.dayGrid.bookendCells(o);y.append(o)}return{row:n,tbodyEl:y,cellMatrix:c,segMatrix:v,segLevels:a,segs:t}},t.prototype.buildSegLevels=function(n){var r,u,t,i=[];for(this.sortEventSegs(n),r=0;r<n.length;r++){for(u=n[r],t=0;t<i.length&&o(u,i[t]);t++);u.level=t;(i[t]||(i[t]=[])).push(u)}for(t=0;t<i.length;t++)i[t].sort(s);return i},t.prototype.groupSegRows=function(n){for(var i=[],t=0;t<this.dayGrid.rowCnt;t++)i.push([]);for(t=0;t<n.length;t++)i[n[t].row].push(n[t]);return i},t.prototype.computeEventTimeFormat=function(){return this.opt("extraSmallTimeFormat")},t.prototype.computeDisplayEventEnd=function(){return 1===this.dayGrid.colCnt},t.prototype.fgSegHtml=function(n,t){var o,r,f=this.view,i=n.footprint.eventDef,s=n.footprint.componentFootprint.isAllDay,v=f.isEventDefDraggable(i),h=!t&&s&&n.isStart&&f.isEventDefResizableFromStart(i),c=!t&&s&&n.isEnd&&f.isEventDefResizableFromEnd(i),l=this.getSegClasses(n,v,h||c),a=u.cssToStr(this.getSkinCss(i)),e="";return l.unshift("fc-day-grid-event","fc-h-event"),n.isStart&&(o=this.getTimeText(n.footprint))&&(e='<span class="fc-time">'+u.htmlEscape(o)+"<\/span>"),r='<span class="fc-title">'+(u.htmlEscape(i.title||"")||"&nbsp;")+"<\/span>",'<a class="'+l.join(" ")+'"'+(i.url?' href="'+u.htmlEscape(i.url)+'"':"")+(a?' style="'+a+'"':"")+'><div class="fc-content">'+(this.dayGrid.isRTL?r+" "+e:e+" "+r)+"<\/div>"+(h?'<div class="fc-resizer fc-start-resizer" />':"")+(c?'<div class="fc-resizer fc-end-resizer" />':"")+"<\/a>"},t}(i(42).default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(3),f=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.renderSegs=function(n,t){var i,u=[];return i=this.eventRenderer.renderSegRows(n),this.component.rowEls.each(function(n,f){var e,o,s=r(f),h=r('<div class="fc-helper-skeleton"><table/><\/div>');t&&t.row===n?o=t.el.position().top:((e=s.find(".fc-content-skeleton tbody")).length||(e=s.find(".fc-content-skeleton table")),o=e.position().top);h.css("top",o).find("table").append(i[n].tbodyEl);s.append(h);u.push(h[0])}),r(u)},t}(i(58).default);t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.fillSegTag="td",t}return r.__extends(t,n),t.prototype.attachSegEls=function(n,t){for(var r,u,f=[],i=0;i<t.length;i++)r=t[i],u=this.renderFillRow(n,r),this.component.rowEls.eq(r.row).append(u),f.push(u[0]);return f},t.prototype.renderFillRow=function(n,t){var e,o,i,s=this.component.colCnt,r=t.leftCol,f=t.rightCol+1;return e="businessHours"===n?"bgevent":n.toLowerCase(),i=(o=u('<div class="fc-'+e+'-skeleton"><table><tr/><\/table><\/div>')).find("tr"),r>0&&i.append('<td colspan="'+r+'"/>'),i.append(t.el.attr("colspan",f-r)),f<s&&i.append('<td colspan="'+(s-f)+'"/>'),this.component.bookendCells(i),o},t}(i(57).default);t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(224),f=i(5),e=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.buildRenderRange=function(t,i,r){var e,o=n.prototype.buildRenderRange.call(this,t,i,r),s=this.msToUtcMoment(o.startMs,r),u=this.msToUtcMoment(o.endMs,r);return this.opt("fixedWeekCount")&&(e=Math.ceil(u.diff(s,"weeks",!0)),u.add(6-e,"weeks")),new f.default(s,u)},t}(u.default);t.default=e},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=i(4),f=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t.prototype.renderFgSegs=function(n){n.length?this.component.renderSegList(n):this.component.renderEmptyMessage()},t.prototype.fgSegHtml=function(n){var h,t=this.view,u=t.calendar,f=u.theme,e=n.footprint,i=e.eventDef,o=e.componentFootprint,s=i.url,c=["fc-list-item"].concat(this.getClasses(i)),l=this.getBgColor(i);return h=o.isAllDay?t.getAllDayHtml():t.isMultiDayRange(o.unzonedRange)?n.isStart||n.isEnd?r.htmlEscape(this._getTimeText(u.msToMoment(n.startMs),u.msToMoment(n.endMs),o.isAllDay)):t.getAllDayHtml():r.htmlEscape(this.getTimeText(e)),s&&c.push("fc-has-url"),'<tr class="'+c.join(" ")+'">'+(this.displayEventTime?'<td class="fc-list-item-time '+f.getClass("widgetContent")+'">'+(h||"")+"<\/td>":"")+'<td class="fc-list-item-marker '+f.getClass("widgetContent")+'"><span class="fc-event-dot"'+(l?' style="background-color:'+l+'"':"")+'><\/span><\/td><td class="fc-list-item-title '+f.getClass("widgetContent")+'"><a'+(s?' href="'+r.htmlEscape(s)+'"':"")+">"+r.htmlEscape(i.title||"")+"<\/a><\/td><\/tr>"},t.prototype.computeEventTimeFormat=function(){return this.opt("mediumTimeFormat")},t}(i(42).default);t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(2),u=i(3),f=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return r.__extends(t,n),t.prototype.handleClick=function(t,i){var r;n.prototype.handleClick.call(this,t,i);u(i.target).closest("a[href]").length||(r=t.footprint.eventDef.url)&&!i.isDefaultPrevented()&&(window.location.href=r)},t}(i(59).default);t.default=f},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(37),u=i(52),f=i(211),e=i(212);r.default.registerClass(u.default);r.default.registerClass(f.default);r.default.registerClass(e.default)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(51),u=i(209),f=i(210),e=i(254);r.defineThemeSystem("standard",u.default);r.defineThemeSystem("jquery-ui",f.default);r.defineThemeSystem("bootstrap3",e.default)},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var u=i(2),r=function(n){function t(){return null!==n&&n.apply(this,arguments)||this}return u.__extends(t,n),t}(i(38).default);t.default=r;r.prototype.classes={widget:"fc-bootstrap3",tableGrid:"table-bordered",tableList:"table table-striped",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"};r.prototype.baseIconClass="glyphicon";r.prototype.iconClasses={close:"glyphicon-remove",prev:"glyphicon-chevron-left",next:"glyphicon-chevron-right",prevYear:"glyphicon-backward",nextYear:"glyphicon-forward"};r.prototype.iconOverrideOption="bootstrapGlyphicons";r.prototype.iconOverrideCustomButtonOption="bootstrapGlyphicon";r.prototype.iconOverridePrefix="glyphicon-"},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(21),u=i(62),f=i(225);r.defineView("basic",{"class":u.default});r.defineView("basicDay",{type:"basic",duration:{days:1}});r.defineView("basicWeek",{type:"basic",duration:{weeks:1}});r.defineView("month",{"class":f.default,duration:{months:1},defaults:{fixedWeekCount:!0}})},function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(21),u=i(222);r.defineView("agenda",{"class":u.default,defaults:{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(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});var r=i(21),u=i(226);r.defineView("list",{"class":u.default,buttonTextKey:"list",defaults:{buttonText:"list",listDayFormat:"LL",noEventsMessage:"No events to display"}});r.defineView("listDay",{type:"list",duration:{days:1},defaults:{listDayFormat:"dddd"}});r.defineView("listWeek",{type:"list",duration:{weeks:1},defaults:{listDayFormat:"dddd",listDayAltFormat:"LL"}});r.defineView("listMonth",{type:"list",duration:{month:1},defaults:{listDayAltFormat:"dddd"}});r.defineView("listYear",{type:"list",duration:{year:1},defaults:{listDayAltFormat:"dddd"}})},function(n,t){Object.defineProperty(t,"__esModule",{value:!0})}])});!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("moment"),require("fullcalendar")):"function"==typeof define&&define.amd?define(["moment","fullcalendar"],t):"object"==typeof exports?t(require("moment"),require("fullcalendar")):t(n.moment,n.FullCalendar)}("undefined"!=typeof self?self:this,function(n,t){return function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};return t.m=n,t.c=i,t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=193)}({0:function(t){t.exports=n},1:function(n){n.exports=t},193:function(n,t,i){Object.defineProperty(t,"__esModule",{value:!0});i(194);var r=i(1);r.datepickerLocale("tr","tr",{closeText:"kapat",prevText:"&#x3C;geri",nextText:"ileri&#x3e",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""});r.locale("tr",{buttonText:{next:"ileri",month:"Ay",week:"Hafta",day:"Gün",list:"Ajanda"},allDayText:"Tüm gün",eventLimitText:"daha fazla",noEventsMessage:"Herhangi bir etkinlik görüntülemek için"})},194:function(n,t,i){!function(n,t){t(i(0))}(0,function(n){var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};return n.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(n){if(0===n)return n+"'ıncı";var i=n%10,r=n%100-i,u=n>=100?100:null;return n+(t[i]||t[r]||t[u])},week:{dow:1,doy:7}})})}})})