tocco-admin 1.0.134 → 1.0.136
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +10 -0
- package/dist/chunk-11.fed3508aa4bc11e4432e.js +1 -0
- package/dist/chunk-2.435de3c4e22f96cce75a.js +1 -0
- package/dist/chunk-343.49da6fd1858d2ee7de98.js +6 -0
- package/dist/chunk-860.7b68492219f908e7dc54.js +1 -0
- package/dist/{chunk-588.2c0addd616d54ebf6d09.js → chunk-878.1e7135661586201df30b.js} +6 -6
- package/dist/chunk-918.e9075545299c82dd8e2d.js +1 -0
- package/dist/chunk-actions.7f4f735490678f67fdc5.js +1 -0
- package/dist/{chunk-ckeditor.33614ae12ea4746c11e7.js → chunk-ckeditor.d6b68aabb1db2a4f9f70.js} +1 -1
- package/dist/chunk-code-editor.1d23bb94d31a72817684.js +1 -0
- package/dist/chunk-docs-actions.8a127ca1bf1e4387087f.js +1 -0
- package/dist/chunk-html-editor.743d71e4dab8b3246d4e.js +6 -0
- package/dist/chunk-vendor-icons.8dad682d72b2c48bcd16.js +1 -0
- package/dist/index.js +7 -7
- package/package.json +1 -1
- package/dist/chunk-11.db8b7a6bb935c60fff63.js +0 -1
- package/dist/chunk-170.f4a02b4ad41a40f18355.js +0 -1
- package/dist/chunk-176.4a8063616d9041fc2485.js +0 -6
- package/dist/chunk-183.0c9c2a8e9b2ee63898c7.js +0 -1
- package/dist/chunk-343.e51a878e941571726dc5.js +0 -6
- package/dist/chunk-847.322a73754f23b8cc94f2.js +0 -1
- package/dist/chunk-actions.141fd764bccc5ecfb632.js +0 -1
- package/dist/chunk-code-editor.3466a38581bd69e6eb28.js +0 -1
- package/dist/chunk-vendor-icons.304c7d83a1be94d27821.js +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
(self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[
|
|
1
|
+
(self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[878],{69100:(e,t,n)=>{var r=n(99489),o=n(57067);function i(t,n,a){return o()?e.exports=i=Reflect.construct:e.exports=i=function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&r(i,n.prototype),i},i.apply(null,arguments)}e.exports=i},57067:e=>{e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},83430:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),s=n(90569),l=n.n(s),c=n(3565),u=n.n(c),d=n(19216),f=n.n(d),p=n(44589),h=n.n(p),g=n(81959),v={};v.styleTagTransform=h(),v.setAttributes=u(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f();o()(g.Z,v);g.Z&&g.Z.locals&&g.Z.locals;var A=n(32703),m=n(87306);
|
|
2
2
|
/*!
|
|
3
3
|
FullCalendar Scheduler v5.11.3
|
|
4
4
|
Docs & License: https://fullcalendar.io/scheduler
|
|
5
5
|
(c) 2022 Adam Shaw
|
|
6
6
|
*/
|
|
7
|
-
v.vc.COLLAPSIBLE_WIDTH_THRESHOLD=1200;var y=[],C=[];function E(){for(var e=(0,v.xlG)(document.body,".fc-scroller-harness > .fc-scroller"),t=e.map((function(e){var t=window.getComputedStyle(e);return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,overflowX:t.overflowX,overflowY:t.overflowY,marginBottom:t.marginBottom}})),n=0,r=y;n<r.length;n++){r[n].emitter.trigger("_beforeprint")}(0,v.iWm)((function(){!function(e,t){e.forEach((function(e,n){e.style.overflowX="visible",e.style.overflowY="visible",e.style.marginBottom="",e.style.left=-t[n].scrollLeft+"px"}))}(e,t),C.push((function(){return function(e,t){e.forEach((function(e,n){var r=t[n];e.style.overflowX=r.overflowX,e.style.overflowY=r.overflowY,e.style.marginBottom=r.marginBottom,e.style.left="",e.scrollLeft=r.scrollLeft,e.scrollTop=r.scrollTop}))}(e,t)})),C.push(function(){var e=(0,v.xlG)(document.body,".fc-scrollgrid");return e.forEach(w),function(){return e.forEach(S)}}())}))}function b(){for(var e=0,t=y;e<t.length;e++){t[e].emitter.trigger("_afterprint")}(0,v.iWm)((function(){for(;C.length;)C.shift()()}))}function w(e){var t=e.getBoundingClientRect().width;(!e.classList.contains("fc-scrollgrid-collapsible")||t<v.vc.COLLAPSIBLE_WIDTH_THRESHOLD)&&(e.style.width=t+"px")}function S(e){e.style.width=""}const D=(0,v.rxu)({deps:[m.Z],contextInit:function(e){y.length||(window.addEventListener("beforeprint",E),window.addEventListener("afterprint",b)),y.push(e),e.calendarApi.on("_unmount",(function(){(0,v.gOi)(y,e),y.length||(window.removeEventListener("beforeprint",E),window.removeEventListener("afterprint",b))}))}})},32703:(e,t,n)=>{"use strict";n.d(t,{kgr:()=>At,H6J:()=>kr,I_K:()=>$i,zeW:()=>kn,BdM:()=>ii,n1v:()=>Uo,Tdg:()=>li,rVp:()=>qr,IdW:()=>Hr,snJ:()=>So,KDF:()=>Xo,A9I:()=>wr,Q5$:()=>Cr,voO:()=>Tn,HYg:()=>E,U4m:()=>Zo,ygx:()=>ra,y3w:()=>_r,AOy:()=>Yi,wh8:()=>gi,zIV:()=>Er,lAU:()=>ki,QJ3:()=>Wr,Qgo:()=>br,Ttm:()=>xi,KxW:()=>Wo,RVT:()=>mi,qX1:()=>nr,h2k:()=>ji,nWf:()=>fi,Ceh:()=>hi,Yh$:()=>Br,xS$:()=>Yr,Obu:()=>Sr,E4D:()=>se,hvg:()=>le,N0T:()=>X,sGN:()=>G,rfG:()=>bn,bg6:()=>M,XrI:()=>Ue,dZD:()=>qe,TTZ:()=>_e,nCP:()=>Le,HgS:()=>Vr,vuT:()=>zn,rRV:()=>fn,dS:()=>Ze,rcD:()=>cr,uPw:()=>Te,kLJ:()=>Pt,oMu:()=>K,z6t:()=>re,cbN:()=>xe,VV4:()=>aa,ld2:()=>gr,nm6:()=>ci,skW:()=>Ar,AYo:()=>vr,VVk:()=>Ti,H3H:()=>jt,vc:()=>Jo,Jq9:()=>Jn,Pvs:()=>Ne,azq:()=>y,ifx:()=>It,$N4:()=>Ce,oqz:()=>Ht,SPZ:()=>ht,rxu:()=>Pr,VfA:()=>C,Pe9:()=>Zt,vrY:()=>$n,Lnh:()=>ue,deF:()=>j,x_n:()=>B,App:()=>I,_OJ:()=>Z,rod:()=>Rt,CrY:()=>we,sSy:()=>k,xlG:()=>x,dx1:()=>ee,iWm:()=>S,SVl:()=>Ye,aDZ:()=>zi,X45:()=>er,U4g:()=>mr,iCZ:()=>or,yLW:()=>ir,$Td:()=>En,xSu:()=>P,BJe:()=>nn,_zt:()=>H,qDX:()=>fr,iFU:()=>Kn,SOE:()=>Bt,SR3:()=>Wi,ewu:()=>pr,PFj:()=>Fi,VFE:()=>Mi,jHR:()=>dn,mK5:()=>ar,PZw:()=>_i,Q8U:()=>Li,NTx:()=>je,AVF:()=>Lo,M8z:()=>V,Qa3:()=>Ui,yRu:()=>St,T6u:()=>Qo,Rac:()=>Go,cMs:()=>Qt,VEA:()=>Qn,CnA:()=>Xe,grx:()=>Pi,g4F:()=>Ei,omy:()=>gn,GNL:()=>oe,WoG:()=>Ci,S6v:()=>Be,yw$:()=>wi,qbb:()=>me,_aR:()=>Se,HPs:()=>Je,ums:()=>$e,E0:()=>et,Vbb:()=>Ke,rOY:()=>xt,uVS:()=>We,SkG:()=>te,ifz:()=>Yn,Qu7:()=>Tt,WOi:()=>$o,mTn:()=>_t,MCs:()=>J,BKI:()=>Gn,ipI:()=>Q,ZSf:()=>Y,mCA:()=>$t,urV:()=>Kt,Dnt:()=>Xt,zvB:()=>Jt,Boe:()=>qt,rjQ:()=>wt,bXf:()=>R,gOi:()=>Qe,Yvu:()=>Hi,MA3:()=>Ki,hgf:()=>Ni,Hbc:()=>qi,aAC:()=>yo,fyp:()=>Oi,k$v:()=>zr,hak:()=>an,b7Q:()=>de,sZq:()=>Xn,HpC:()=>yn,Olf:()=>yr,ONu:()=>q,ltK:()=>Ve});var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),s=n(90569),l=n.n(s),c=n(3565),u=n.n(c),d=n(19216),f=n.n(d),p=n(44589),h=n.n(p),g=n(46),A={};A.styleTagTransform=h(),A.setAttributes=u(),A.insert=l().bind(null,"head"),A.domAPI=a(),A.insertStyleElement=f();o()(g.Z,A);g.Z&&g.Z.locals&&g.Z.locals;var v=n(70655);if("undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var m=FullCalendarVDom.Component,y=FullCalendarVDom.createElement,C=(FullCalendarVDom.render,FullCalendarVDom.createRef),E=FullCalendarVDom.Fragment,b=FullCalendarVDom.createContext,w=FullCalendarVDom.createPortal,S=FullCalendarVDom.flushSync,D=(FullCalendarVDom.unmountComponentAtNode,function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}());function R(e){e.parentNode&&e.parentNode.removeChild(e)}function B(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(I(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function I(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function x(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].querySelectorAll(t),a=0;a<i.length;a+=1)r.push(i[a]);return r}function k(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].children,a=0;a<i.length;a+=1){var s=i[a];t&&!I(s,t)||r.push(s)}return r}var T=/(top|left|right|bottom|width|height)$/i;function M(e,t){for(var n in t)z(e,n,t[n])}function z(e,t,n){null==n?e.style[t]="":"number"==typeof n&&T.test(t)?e.style[t]=n+"px":e.style[t]=n}function H(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}function P(e){return e.getRootNode?e.getRootNode():document}var N=0;function O(){return"fc-dom-"+(N+=1)}function U(e){e.preventDefault()}function W(e,t,n,r){var o=function(e,t){return function(n){var r=B(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}var F=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function q(e,t){var n=function(r){t(r),F.forEach((function(t){e.removeEventListener(t,n)}))};F.forEach((function(t){e.addEventListener(t,n)}))}function L(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var _=0;function V(){return String(_+=1)}function j(){document.body.classList.add("fc-not-allowed")}function Z(){document.body.classList.remove("fc-not-allowed")}function Y(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",U)}function G(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",U)}function Q(e){e.addEventListener("contextmenu",U)}function X(e){e.removeEventListener("contextmenu",U)}function J(e){var t,n,r=[],o=[];for("string"==typeof e?o=e.split(/\s*,\s*/):"function"==typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t+=1)"string"==typeof(n=o[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r}function K(e,t,n){var r,o;for(r=0;r<n.length;r+=1)if(o=$(e,t,n[r]))return o;return 0}function $(e,t,n){return n.func?n.func(e,t):ee(e[n.field],t[n.field])*(n.order||1)}function ee(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}function te(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function ne(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function re(e,t){return e-t}function oe(e){return e%1==0}function ie(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var ae=["sun","mon","tue","wed","thu","fri","sat"];function se(e,t){var n=Ae(e);return n[2]+=t,ve(n)}function le(e,t){var n=Ae(e);return n[6]+=t,ve(n)}function ce(e,t){return(t.valueOf()-e.valueOf())/864e5}function ue(e,t){return ye(e)===ye(t)?Math.round(ce(e,t)):null}function de(e){return ve([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function fe(e,t,n,r){var o=ve([t,0,1+pe(t,n,r)]),i=de(e),a=Math.round(ce(o,i));return Math.floor(a/7)+1}function pe(e,t,n){var r=7+t-n;return-((7+ve([e,0,r]).getUTCDay()-t)%7)+r-1}function he(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function ge(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function Ae(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function ve(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function me(e){return!isNaN(e.valueOf())}function ye(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function Ce(e,t,n,r){return{instanceId:V(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var Ee=Object.prototype.hasOwnProperty;function be(e,t){var n={};if(t)for(var r in t){for(var o=[],i=e.length-1;i>=0;i-=1){var a=e[i][r];if("object"==typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=be(o))}for(i=e.length-1;i>=0;i-=1){var s=e[i];for(var l in s)l in n||(n[l]=s[l])}return n}function we(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function Se(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function De(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function Re(e){var t=[];for(var n in e)t.push(e[n]);return t}function Be(e,t){if(e===t)return!0;for(var n in e)if(Ee.call(e,n)&&!(n in t))return!1;for(var n in t)if(Ee.call(t,n)&&e[n]!==t[n])return!1;return!0}function Ie(e,t){var n=[];for(var r in e)Ee.call(e,r)&&(r in t||n.push(r));for(var r in t)Ee.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function xe(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!ke(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function ke(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function Te(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(e).length);for(var i=t;i<n;i+=r){var a=e[i];void 0!==a&&o.push(a)}return o}function Me(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=we(s,(function(e){return!a[e.defId].recurringDef})),a){var c=a[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=0,f=ze(c,u,t,r,o.recurringTypes);d<f.length;d++){var p=f[d],h=Ce(l,{start:p,end:r.add(p,u)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function ze(e,t,n,r,o){var i=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(i=i.map(de)),i}var He=["years","months","days","milliseconds"],Pe=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Ne(e,t){var n;return"string"==typeof e?function(e){var t=Pe.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?Oe(e):"number"==typeof e?Oe(((n={})[t||"milliseconds"]=e,n)):null}function Oe(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function Ue(e){return e.years||e.months||e.milliseconds?0:e.days}function We(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function Fe(e){return _e(e)/864e5}function qe(e){return _e(e)/6e4}function Le(e){return _e(e)/1e3}function _e(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function Ve(e,t){for(var n=null,r=0;r<He.length;r+=1){var o=He[r];if(t[o]){var i=e[o]/t[o];if(!oe(i)||null!==n&&n!==i)return null;n=i}else if(e[o])return null}return n}function je(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function Ze(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",Ge(t,!0)))),r}function Ye(e){return e.toISOString().replace(/T.*$/,"")}function Ge(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=Math.round(r%60);return t?n+te(o,2)+":"+te(i,2):"GMT"+n+o+(i?":"+te(i,2):"")}function Qe(e,t){for(var n=0,r=0;r<e.length;)e[r]===t?(e.splice(r,1),n+=1):r+=1;return n}function Xe(e,t,n){if(e===t)return!0;var r,o=e.length;if(o!==t.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function Je(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!Xe(r,i)){n&&n(o);var s=e.apply(this,i);t&&t(s,o)||(o=s)}}else o=e.apply(this,i);return r=i,o}}function Ke(e,t,n){var r,o,i=this;return function(a){if(r){if(!Be(r,a)){n&&n(o);var s=e.call(i,a);t&&t(s,o)||(o=s)}}else o=e.call(i,a);return r=a,o}}function $e(e,t,n){var r=this,o=[],i=[];return function(a){for(var s=o.length,l=a.length,c=0;c<s;c+=1)if(a[c]){if(!Xe(o[c],a[c])){n&&n(i[c]);var u=e.apply(r,a[c]);t&&t(u,i[c])||(i[c]=u)}}else n&&n(i[c]);for(;c<l;c+=1)i[c]=e.apply(r,a[c]);return o=a,i.splice(l),i}}function et(e,t,n){var r=this,o={},i={};return function(a){var s={};for(var l in a)if(i[l])if(Xe(o[l],a[l]))s[l]=i[l];else{n&&n(i[l]);var c=e.apply(r,a[l]);s[l]=t&&t(c,i[l])?i[l]:c}else s[l]=e.apply(r,a[l]);return o=a,i=s,s}}var tt={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},nt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},rt=/\s*([ap])\.?m\.?/i,ot=/,/g,it=/\s+/g,at=/\u200e/g,st=/UTC|GMT/,lt=function(){function e(e){var t={},n={},r=0;for(var o in e)o in tt?(n[o]=e[o],r=Math.max(tt[o],r)):(t[o]=e[o],o in nt&&(r=Math.max(nt[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=Je(ct)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var o=this.standardDateProps,i=this.extendedSettings,a=function(e,t,n){if(n.getMarkerYear(e)!==n.getMarkerYear(t))return 5;if(n.getMarkerMonth(e)!==n.getMarkerMonth(t))return 4;if(n.getMarkerDay(e)!==n.getMarkerDay(t))return 2;if(ye(e)!==ye(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!a)return this.format(e,n);var s=a;!(s>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(s=1);var l=this.format(e,n),c=this.format(t,n);if(l===c)return l;var u=function(e,t){var n={};for(var r in e)(!(r in nt)||nt[r]<=t)&&(n[r]=e[r]);return n}(o,s),d=ct(u,i,n),f=d(e),p=d(t),h=function(e,t,n,r){var o=0;for(;o<e.length;){var i=e.indexOf(t,o);if(-1===i)break;var a=e.substr(0,i);o=i+t.length;for(var s=e.substr(o),l=0;l<n.length;){var c=n.indexOf(r,l);if(-1===c)break;var u=n.substr(0,c);l=c+r.length;var d=n.substr(l);if(a===u&&s===d)return{before:a,after:s}}}return null}(l,f,c,p),g=i.separator||r||n.defaultSeparator||"";return h?h.before+f+g+p+h.after:l+g+c},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function ct(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return Ge(e.timeZoneOffset)}:0===r&&t.week?function(e){return function(e,t,n,r,o){var i=[];"long"===o?i.push(n):"short"!==o&&"narrow"!==o||i.push(t);"long"!==o&&"short"!==o||i.push(" ");i.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&i.reverse();return i.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:function(e,t,n){e=(0,v.pi)({},e),t=(0,v.pi)({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit"));"long"===e.timeZoneName&&(e.timeZoneName="short");t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";var r,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var i=(0,v.pi)({},e);delete i.minute,r=new Intl.DateTimeFormat(n.locale.codes,i)}return function(i){var a=i.marker;return function(e,t,n,r,o){e=e.replace(at,""),"short"===n.timeZoneName&&(e=function(e,t){var n=!1;e=e.replace(st,(function(){return n=!0,t})),n||(e+=" "+t);return e}(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":Ge(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(ot,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));!1===r.meridiem?e=e.replace(rt,"").trim():"narrow"===r.meridiem?e=e.replace(rt,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(rt,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(rt,(function(e){return e.toLocaleLowerCase()})));return e=(e=e.replace(it," ")).trim()}((r&&!a.getUTCMinutes()?r:o).format(a),i,e,t,n)}}(e,t,n)}function ut(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function dt(e,t,n,r){var o=ut(e,n.calendarSystem);return{date:o,start:o,end:t?ut(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var ft=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,dt(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,dt(e,t,n,r))},e}(),pt=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(dt(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(dt(e,t,n,r))},e}();function ht(e){return"object"==typeof e&&e?new lt(e):"string"==typeof e?new ft(e):"function"==typeof e?new pt(e):null}var gt={navLinkDayClick:St,navLinkWeekClick:St,duration:Ne,bootstrapFontAwesome:St,buttonIcons:St,customButtons:St,defaultAllDayEventDuration:Ne,defaultTimedEventDuration:Ne,nextDayThreshold:Ne,scrollTime:Ne,scrollTimeReset:Boolean,slotMinTime:Ne,slotMaxTime:Ne,dayPopoverFormat:ht,slotDuration:Ne,snapDuration:Ne,headerToolbar:St,footerToolbar:St,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:ht,dayHeaderClassNames:St,dayHeaderContent:St,dayHeaderDidMount:St,dayHeaderWillUnmount:St,dayCellClassNames:St,dayCellContent:St,dayCellDidMount:St,dayCellWillUnmount:St,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:St,weekNumbers:Boolean,weekNumberClassNames:St,weekNumberContent:St,weekNumberDidMount:St,weekNumberWillUnmount:St,editable:Boolean,viewClassNames:St,viewDidMount:St,viewWillUnmount:St,nowIndicator:Boolean,nowIndicatorClassNames:St,nowIndicatorContent:St,nowIndicatorDidMount:St,nowIndicatorWillUnmount:St,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:St,locale:St,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:St,eventOrder:J,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:St,contentHeight:St,direction:String,weekNumberFormat:ht,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:St,initialDate:St,now:St,eventDataTransform:St,stickyHeaderDates:St,stickyFooterScrollbar:St,viewHeight:St,defaultAllDay:Boolean,eventSourceFailure:St,eventSourceSuccess:St,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:St,eventConstraint:St,eventAllow:St,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:St,eventContent:St,eventDidMount:St,eventWillUnmount:St,selectConstraint:St,selectOverlap:St,selectAllow:St,droppable:Boolean,unselectCancel:String,slotLabelFormat:St,slotLaneClassNames:St,slotLaneContent:St,slotLaneDidMount:St,slotLaneWillUnmount:St,slotLabelClassNames:St,slotLabelContent:St,slotLabelDidMount:St,slotLabelWillUnmount:St,dayMaxEvents:St,dayMaxEventRows:St,dayMinWidth:Number,slotLabelInterval:Ne,allDayText:String,allDayClassNames:St,allDayContent:St,allDayDidMount:St,allDayWillUnmount:St,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:ht,rerenderDelay:Number,moreLinkText:St,moreLinkHint:St,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:St,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Ne,hiddenDays:St,monthMode:Boolean,fixedWeekCount:Boolean,validRange:St,visibleRange:St,titleFormat:St,eventInteractive:Boolean,noEventsText:String,viewHint:St,navLinkHint:St,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:St,moreLinkClassNames:St,moreLinkContent:St,moreLinkDidMount:St,moreLinkWillUnmount:St},At={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},vt={datesSet:St,eventsSet:St,eventAdd:St,eventChange:St,eventRemove:St,windowResize:St,eventClick:St,eventMouseEnter:St,eventMouseLeave:St,select:St,unselect:St,loading:St,_unmount:St,_beforeprint:St,_afterprint:St,_noEventDrop:St,_noEventResize:St,_resize:St,_scrollRequest:St},mt={buttonText:St,buttonHints:St,views:St,plugins:St,initialEvents:St,events:St,eventSources:St},yt={headerToolbar:Ct,footerToolbar:Ct,buttonText:Ct,buttonHints:Ct,buttonIcons:Ct,dateIncrement:Ct};function Ct(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?Be(e,t):e===t}var Et={type:String,component:St,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:St,usesMinMaxTime:Boolean,classNames:St,content:St,didMount:St,willUnmount:St};function bt(e){return be(e,yt)}function wt(e,t){var n={},r={};for(var o in t)o in e&&(n[o]=t[o](e[o]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function St(e){return e}function Dt(e,t,n,r){for(var o={defs:{},instances:{}},i=Lt(n),a=0,s=e;a<s.length;a++){var l=Ft(s[a],t,n,r,i);l&&Rt(l,o)}return o}function Rt(e,t){return void 0===t&&(t={defs:{},instances:{}}),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function Bt(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=kt(e,(function(e){return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId);var t,n}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return{defs:{},instances:{}}}function It(){return{defs:{},instances:{}}}function xt(e,t){return{defs:(0,v.pi)((0,v.pi)({},e.defs),t.defs),instances:(0,v.pi)((0,v.pi)({},e.instances),t.instances)}}function kt(e,t){var n=we(e.defs,t),r=we(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function Tt(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var Mt={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:St,overlap:St,allow:St,className:Tt,classNames:Tt,color:String,backgroundColor:String,borderColor:String,textColor:String},zt={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Ht(e,t){var n=function(e,t){return Array.isArray(e)?Dt(e,null,t,!0):"object"==typeof e&&e?Dt([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function Pt(e){return e.reduce(Nt,zt)}function Nt(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var Ot={id:String,groupId:String,title:String,url:String,interactive:Boolean},Ut={start:St,end:St,date:St,allDay:Boolean},Wt=(0,v.pi)((0,v.pi)((0,v.pi)({},Ot),Ut),{extendedProps:St});function Ft(e,t,n,r,o){void 0===o&&(o=Lt(n));var i=qt(e,n,o),a=i.refined,s=i.extra,l=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),c=function(e,t,n,r){for(var o=0;o<r.length;o+=1){var i=r[o].parse(e,n);if(i){var a=e.allDay;return null==a&&null==(a=t)&&null==(a=i.allDayGuess)&&(a=!1),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(c)return(u=_t(a,s,t?t.sourceId:"",c.allDay,Boolean(c.duration),n)).recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:u,instance:null};var u,d=function(e,t,n,r){var o,i,a=e.allDay,s=null,l=!1,c=null,u=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(u))s=o.marker;else if(!r)return null;null!=e.end&&(i=n.dateEnv.createMarkerMeta(e.end));null==a&&(a=null!=t?t:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified));a&&s&&(s=de(s));i&&(c=i.marker,a&&(c=de(c)),s&&c<=s&&(c=null));c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:c},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}(a,l,n,r);return d?{def:u=_t(a,s,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:Ce(u.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function qt(e,t,n){return void 0===n&&(n=Lt(t)),wt(e,n)}function Lt(e){return(0,v.pi)((0,v.pi)((0,v.pi)({},Mt),Wt),e.pluginHooks.eventRefiners)}function _t(e,t,n,r,o,i){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:V(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:Ht(e,i),extendedProps:(0,v.pi)((0,v.pi)({},e.extendedProps||{}),t)},s=0,l=i.pluginHooks.eventDefMemberAdders;s<l.length;s++){var c=l[s];(0,v.pi)(a,c(e))}return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function Vt(e){var t=Math.floor(ce(e.start,e.end))||1,n=de(e.start);return{start:n,end:se(n,t)}}function jt(e,t){void 0===t&&(t=Ne(0));var n=null,r=null;if(e.end){r=de(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=_e(t)&&(r=se(r,1))}return e.start&&(n=de(e.start),r&&r<=n&&(r=se(n,1))),{start:n,end:r}}function Zt(e,t,n,r){return"year"===r?Ne(n.diffWholeYears(e,t),"year"):"month"===r?Ne(n.diffWholeMonths(e,t),"month"):(i=t,a=de(o=e),s=de(i),{years:0,months:0,days:Math.round(ce(a,s)),milliseconds:i.valueOf()-s.valueOf()-(o.valueOf()-a.valueOf())});var o,i,a,s}function Yt(e,t){var n,r,o=[],i=t.start;for(e.sort(Gt),n=0;n<e.length;n+=1)(r=e[n]).start>i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<t.end&&o.push({start:i,end:t.end}),o}function Gt(e,t){return e.start.valueOf()-t.start.valueOf()}function Qt(e,t){var n=e.start,r=e.end,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function Xt(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function Jt(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function Kt(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function $t(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function en(e,t,n,r){var o={},i={},a={},s=[],l=[],c=rn(e.defs,t);for(var u in e.defs){"inverse-background"===(p=c[(C=e.defs[u]).defId]).display&&(C.groupId?(o[C.groupId]=[],a[C.groupId]||(a[C.groupId]=C)):i[u]=[])}for(var d in e.instances){var f=e.instances[d],p=c[(C=e.defs[f.defId]).defId],h=f.range,g=!C.allDay&&r?jt(h,r):h,A=Qt(g,n);A&&("inverse-background"===p.display?C.groupId?o[C.groupId].push(A):i[f.defId].push(A):"none"!==p.display&&("background"===p.display?s:l).push({def:C,ui:p,instance:f,range:A,isStart:g.start&&g.start.valueOf()===A.start.valueOf(),isEnd:g.end&&g.end.valueOf()===A.end.valueOf()}))}for(var v in o)for(var m=0,y=Yt(o[v],n);m<y.length;m++){var C,E=y[m];p=c[(C=a[v]).defId];s.push({def:C,ui:p,instance:null,range:E,isStart:!1,isEnd:!1})}for(var u in i)for(var b=0,w=Yt(i[u],n);b<w.length;b++){E=w[b];s.push({def:e.defs[u],ui:c[u],instance:null,range:E,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function tn(e,t){e.fcSeg=t}function nn(e){return e.fcSeg||e.parentNode.fcSeg||null}function rn(e,t){return Se(e,(function(e){return on(e,t)}))}function on(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),Pt(n)}function an(e,t){var n=e.map(sn);return n.sort((function(e,n){return K(e,n,t)})),n.map((function(e){return e._seg}))}function sn(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,o=r.start?r.start.valueOf():0,i=r.end?r.end.valueOf():0;return(0,v.pi)((0,v.pi)((0,v.pi)({},n.extendedProps),n),{id:n.publicId,start:o,end:i,duration:i-o,allDay:Number(n.allDay),_seg:e})}function ln(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,o,i,t)}return a}function cn(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function un(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function dn(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&$t(t,r.start)}}function fn(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}var pn={start:St,end:St,allDay:Boolean};function hn(e,t,n){var r=function(e,t){var n=wt(e,pn),r=n.refined,o=n.extra,i=r.start?t.createMarkerMeta(r.start):null,a=r.end?t.createMarkerMeta(r.end):null,s=r.allDay;null==s&&(s=i&&i.isTimeUnspecified&&(!a||a.isTimeUnspecified));return(0,v.pi)({range:{start:i?i.marker:null,end:a?a.marker:null},allDay:s},o)}(e,t),o=r.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return r}function gn(e,t){return Xt(e.range,t.range)&&e.allDay===t.allDay&&function(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var n in e)if(!(n in t))return!1;return!0}(e,t)}function An(e,t,n){return(0,v.pi)((0,v.pi)({},vn(e,t,n)),{timeZone:t.timeZone})}function vn(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function mn(e,t,n){var r=qt({editable:!1},n),o=_t(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:on(o,t),instance:Ce(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}function yn(e,t,n){n.emitter.trigger("select",(0,v.pi)((0,v.pi)({},Cn(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function Cn(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.dateSpanTransforms;i<a.length;i++){var s=a[i];(0,v.pi)(o,s(e,t))}return(0,v.pi)(o,(n=e,r=t.dateEnv,(0,v.pi)((0,v.pi)({},vn(n.range,r,n.allDay)),{allDay:n.allDay}))),o}function En(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=de(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function bn(e,t,n,r){var o=rn(e.defs,t),i={defs:{},instances:{}};for(var a in e.defs){var s=e.defs[a];i.defs[a]=wn(s,o[a],n,r)}for(var l in e.instances){var c=e.instances[l];s=i.defs[c.defId];i.instances[l]=Sn(c,s,o[c.defId],n,r)}return i}function wn(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var i=(0,v.pi)((0,v.pi)((0,v.pi)({},e),o),{ui:(0,v.pi)((0,v.pi)({},e.ui),o.ui)});n.extendedProps&&(i.extendedProps=(0,v.pi)((0,v.pi)({},i.extendedProps),n.extendedProps));for(var a=0,s=r.pluginHooks.eventDefMutationAppliers;a<s.length;a++){(0,s[a])(i,n,r)}return!i.hasEnd&&r.options.forceEventDuration&&(i.hasEnd=!0),i}function Sn(e,t,n,r,o){var i=o.dateEnv,a=r.standardProps&&!0===r.standardProps.allDay,s=r.standardProps&&!1===r.standardProps.hasEnd,l=(0,v.pi)({},e);return a&&(l.range=Vt(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:i.add(l.range.start,r.datesDelta),end:i.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:i.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:i.add(l.range.end,r.endDelta)}),s&&(l.range={start:l.range.start,end:En(t.allDay,l.range.start,o)}),t.allDay&&(l.range={start:de(l.range.start),end:de(l.range.end)}),l.range.end<l.range.start&&(l.range.end=En(t.allDay,l.range.start,o)),l}var Dn=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),Rn={id:String,defaultAllDay:Boolean,url:String,format:String,events:St,eventDataTransform:St,success:St,failure:St};function Bn(e,t,n){var r;if(void 0===n&&(n=In(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var o=wt(r,n),i=o.refined,a=o.extra,s=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r].parseMeta(e);if(o)return{sourceDefId:r,meta:o}}return null}(i,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:V(),sourceDefId:s.sourceDefId,meta:s.meta,ui:Ht(i,t),extendedProps:a}}return null}function In(e){return(0,v.pi)((0,v.pi)((0,v.pi)({},Mt),Rn),e.pluginHooks.eventSourceRefiners)}function xn(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var kn=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,(0,v.ev)([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(var s in o)a.push(s);for(t=0;t<a.length;t+=1)if((n=o[a[t]])&&n.singleUnit===e)return n;return null},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:xn(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=Ne(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),ht(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),ht(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),o=hn(n,r.dateEnv,Ne({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),yn(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof Tn){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Rt({def:n,instance:r})}),this.triggerEventAdd(e)),e}var o,i=this.getCurrentData();if(t instanceof D)o=t.internalEventSource;else if("boolean"==typeof t)t&&(o=Re(i.eventSources)[0]);else if(null!=t){var a=this.getEventSourceById(t);if(!a)return console.warn('Could not find an event source with ID "'+t+'"'),null;o=a.internalEventSource}var s=Ft(e,o,i,!1);if(s){var l=new Tn(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Rt(s)}),this.triggerEventAdd(l),l}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:Mn(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,o=n.instances;for(var i in e=String(e),r){var a=r[i];if(a.publicId===e){if(a.recurringDef)return new Tn(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new Tn(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return zn(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new D(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new D(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof D)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=Bn(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new D(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},e.prototype.scrollToTime=function(e){var t=Ne(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),Tn=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in Ut)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=Ot[e](t),this.mutate({standardProps:{publicId:t}});else if(e in Ot)t=Ot[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in Mt){var o=Mt[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:((r={})[e]=t,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var o=Zt(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance)if(n){var o=Zt(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,o,i,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(e);if(l&&((null==t||(r=a.createMarker(t)))&&this._instance)){var c=this._instance.range;!0===n.allDay&&(c=Vt(c));var u=Zt(c.start,l,a,n.granularity);if(r){var d=Zt(c.end,r,a,n.granularity);i=d,(o=u).years===i.years&&o.months===i.months&&o.days===i.days&&o.milliseconds===i.milliseconds?this.mutate({datesDelta:u,standardProps:s}):this.mutate({startDelta:u,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:u,standardProps:s})}},e.prototype.moveStart=function(e){var t=Ne(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=Ne(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=Ne(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=ht(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=Bt(i,n.instanceId);a=bn(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var s=new e(o,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:a}),o.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:zn(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=Mn(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new D(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,o=this.endStr,i={};return t.title&&(i.title=t.title),r&&(i.start=r),o&&(i.end=o),t.publicId&&(i.id=t.publicId),t.groupId&&(i.groupId=t.groupId),t.url&&(i.url=t.url),n.display&&"auto"!==n.display&&(i.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?i.color=n.backgroundColor:(n.backgroundColor&&(i.backgroundColor=n.backgroundColor),n.borderColor&&(i.borderColor=n.borderColor)),n.textColor&&(i.textColor=n.textColor),n.classNames.length&&(i.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?(0,v.pi)(i,t.extendedProps):i.extendedProps=t.extendedProps),i},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function Mn(e){var t,n,r=e._def,o=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:o?(n={},n[o.instanceId]=o,n):{}}}function zn(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],c=r[l.defId];l.instanceId!==a&&i.push(new Tn(t,c,l))}return i}var Hn={};var Pn,Nn=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return ve(e)},e.prototype.markerToArray=function(e){return Ae(e)},e}();Pn=Nn,Hn["gregory"]=Pn;var On=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var Un=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new Hn[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):ve(he(new Date))},e.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=ve(e)),null!==t&&me(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=function(e){var t=On.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(me(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return ye(e)===ye(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return ye(e)===ye(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:(n=function(e,t){var n=ue(e,t);return null!==n&&n%7==0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:null!==(n=ue(e,t))?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),oe(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),oe(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),oe(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(Fe(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/function(e){return Fe(e)/30}(n):n.days&&null!==(r=ue(e,t))?r/Fe(n):(t.valueOf()-e.valueOf())/_e(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?de(e):"hour"===t?function(e){return ve([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return ve([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return ve([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){var r=e.getUTCFullYear(),o=fe(e,r,t,n);if(o<1)return fe(e,r-1,t,n);var i=fe(e,r+1,t,n);return i>=1?Math.min(o,i):o}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=le(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),Ze(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?ve(he(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?ve(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-ge(Ae(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Ae(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?ge(Ae(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(Ae(e))*60):new Date(e.valueOf()-(t||0))},e}(),Wn=[],Fn={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},qn=(0,v.pi)((0,v.pi)({},Fn),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function Ln(e){for(var t=e.length>0?e[0].code:"en",n=Wn.concat(e),r={en:qn},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function _n(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){var n=[].concat(e||[]),r=function(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o-=1){var i=r.slice(0,o).join("-");if(t[i])return t[i]}return null}(n,t)||qn;return Vn(e,n,r)}(e,t):Vn(e.code,[e.code],e)}function Vn(e,t,n){var r=be([Fn,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var jn,Zn={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Yn(e,t){return Dt(function(e){var t;t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[];return t=t.map((function(e){return(0,v.pi)((0,v.pi)({},Zn),e)}))}(e),null,t)}function Gn(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function Qn(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function Xn(e,t,n){return{left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}}function Jn(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function Kn(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function $n(e,t){return{left:e.left-t.left,top:e.top-t.top}}function er(){return null==jn&&(jn=function(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),jn}var tr={defs:{},instances:{}},nr=function(){function e(){this.getKeysForEventDefs=Je(this._getKeysForEventDefs),this.splitDateSelection=Je(this._splitDateSpan),this.splitEventStore=Je(this._splitEventStore),this.splitIndividualUi=Je(this._splitIndividualUi),this.splitEventDrag=Je(this._splitInteraction),this.splitEventResize=Je(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),c={};for(var u in this.eventUiBuilders=Se(n,(function(e,n){return t.eventUiBuilders[n]||Je(rr)})),n){var d=n[u],f=a[u]||tr,p=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||e.businessHours,dateSelection:o[u]||null,eventStore:f,eventUiBases:p(e.eventUiBases[""],d.ui,i[u]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n<r.length;n++){t[r[n]]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return Se(e.defs,(function(e){return t.getKeysForEventDef(e)}))},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,o={};for(var i in n)for(var a=0,s=t[i];a<s.length;a++){o[f=s[a]]||(o[f]={defs:{},instances:{}}),o[f].defs[i]=n[i]}for(var l in r)for(var c=r[l],u=0,d=t[c.defId];u<d.length;u++){var f;o[f=d[u]]&&(o[f].instances[l]=c)}return o},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var o=0,i=t[r];o<i.length;o++){var a=i[o];n[a]||(n[a]={}),n[a][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,r),i=function(r){t[r]||(t[r]={affectedEvents:n[r]||tr,mutatedEvents:o[r]||tr,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t},e}();function rr(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":Pt(r)};return n&&(0,v.pi)(o,n),o}function or(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!$t(r.activeRange,e)),isOther:Boolean(r&&!$t(r.currentRange,e)),isToday:Boolean(t&&$t(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function ir(e,t){var n=["fc-day","fc-day-"+ae[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}function ar(e,t){var n=["fc-slot","fc-slot-"+ae[e.dow]];return e.isDisabled?n.push("fc-slot-disabled"):(e.isToday&&(n.push("fc-slot-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-slot-past"),e.isFuture&&n.push("fc-slot-future")),n}var sr=ht({year:"numeric",month:"long",day:"numeric"}),lr=ht({week:"long"});function cr(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o,i=e.dateEnv,a=e.options,s=e.calendarApi,l=i.format(t,"week"===n?lr:sr);if(a.navLinks){var c=i.toDate(t),u=function(e){var r="day"===n?a.navLinkDayClick:"week"===n?a.navLinkWeekClick:null;"function"==typeof r?r.call(s,i.toDate(t),e):("string"==typeof r&&(n=r),s.zoomTo(t,n))};return(0,v.pi)({title:ne(a.navLinkHint,[l,c],l),"data-navlink":""},r?(o=u,(0,v.pi)({onClick:o},L(o))):{onClick:u})}return{"aria-label":l}}var ur,dr=null;function fr(){return null===dr&&(dr=function(){var e=document.createElement("div");M(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return R(e),t}()),dr}function pr(){return ur||(ur=function(){var e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);var t=hr(e);return document.body.removeChild(e),t}()),ur}function hr(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function gr(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,o=parseInt(n.borderRightWidth,10)||0,i=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=hr(e),l=s.y-r-o,c={borderLeft:r,borderRight:o,borderTop:i,borderBottom:a,scrollbarBottom:s.x-i-a,scrollbarLeft:0,scrollbarRight:0};return fr()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,t&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}function Ar(e,t,n){void 0===t&&(t=!1);var r=n?e.getBoundingClientRect():vr(e),o=gr(e,t),i={left:r.left+o.borderLeft+o.scrollbarLeft,right:r.right-o.borderRight-o.scrollbarRight,top:r.top+o.borderTop,bottom:r.bottom-o.borderBottom-o.scrollbarBottom};return t&&(i.left+=o.paddingLeft,i.right-=o.paddingRight,i.top+=o.paddingTop,i.bottom-=o.paddingBottom),i}function vr(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function mr(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function yr(e,t,n){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},i=function(){r||(r=!0,n&&n.apply(this,arguments))},a=e(o,i);a&&"function"==typeof a.then&&a.then(o,i)}var Cr=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)},e.prototype.off=function(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(this.handlers,e,t)},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],o=this.options&&this.options[e],i=[].concat(o||[],r),a=0,s=i;a<s.length;a++){var l=s[a];l.apply(this.thisContext,t)}},e.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}();var Er=function(){function e(e,t,n,r){this.els=t;var o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),br=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),wr=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return(0,v.ZT)(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(br),Sr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(br),Dr=function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){for(n in t=(0,v.pi)({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}();Dr.prototype.classes={},Dr.prototype.iconClasses={},Dr.prototype.baseIconClass="",Dr.prototype.iconOverridePrefix="";var Rr=function(){function e(e,t,n,r){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){o.queuedRequest=(0,v.pi)({},o.queuedRequest||{},e),o.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),Br=b({});function Ir(e,t,n,r,o,i,a,s,l,c,u,d,f){return{dateEnv:o,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:u,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){c.on("_resize",e)},removeResizeHandler:function(e){c.off("_resize",e)},createScrollResponder:function(e){return new Rr(e,c,Ne(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var xr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(Ie(e,this.props),Ie(t,this.state)),!xe(this.props,e,this.propEquality)||!xe(this.state,t,this.stateEquality)},t.prototype.safeSetState=function(e){xe(this.state,(0,v.pi)((0,v.pi)({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=Tr,t.addStateEquality=Mr,t.contextType=Br,t}(m);xr.prototype.propEquality={},xr.prototype.stateEquality={};var kr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t.contextType=Br,t}(xr);function Tr(e){var t=Object.create(this.prototype.propEquality);(0,v.pi)(t,e),this.prototype.propEquality=t}function Mr(e){var t=Object.create(this.prototype.stateEquality);(0,v.pi)(t,e),this.prototype.stateEquality=t}function zr(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Hr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=V(),t}return(0,v.ZT)(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!B(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!(B(e,".fc-event:not(.fc-bg-event)")||B(e,".fc-more-link")||B(e,"a[data-navlink]")||B(e,".fc-popover"))},t}(kr);function Pr(e){return{id:V(),deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function Nr(){var e,t=[],n=[];return function(r,o){return e&&Xe(r,t)&&Xe(o,n)||(e=function(e,t){var n={},r={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function o(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];n[a.id]||(n[a.id]=!0,o(a.deps),l=a,r={reducers:(s=r).reducers.concat(l.reducers),isLoadingFuncs:s.isLoadingFuncs.concat(l.isLoadingFuncs),contextInit:s.contextInit.concat(l.contextInit),eventRefiners:(0,v.pi)((0,v.pi)({},s.eventRefiners),l.eventRefiners),eventDefMemberAdders:s.eventDefMemberAdders.concat(l.eventDefMemberAdders),eventSourceRefiners:(0,v.pi)((0,v.pi)({},s.eventSourceRefiners),l.eventSourceRefiners),isDraggableTransformers:s.isDraggableTransformers.concat(l.isDraggableTransformers),eventDragMutationMassagers:s.eventDragMutationMassagers.concat(l.eventDragMutationMassagers),eventDefMutationAppliers:s.eventDefMutationAppliers.concat(l.eventDefMutationAppliers),dateSelectionTransformers:s.dateSelectionTransformers.concat(l.dateSelectionTransformers),datePointTransforms:s.datePointTransforms.concat(l.datePointTransforms),dateSpanTransforms:s.dateSpanTransforms.concat(l.dateSpanTransforms),views:(0,v.pi)((0,v.pi)({},s.views),l.views),viewPropsTransformers:s.viewPropsTransformers.concat(l.viewPropsTransformers),isPropsValid:l.isPropsValid||s.isPropsValid,externalDefTransforms:s.externalDefTransforms.concat(l.externalDefTransforms),viewContainerAppends:s.viewContainerAppends.concat(l.viewContainerAppends),eventDropTransformers:s.eventDropTransformers.concat(l.eventDropTransformers),calendarInteractions:s.calendarInteractions.concat(l.calendarInteractions),componentInteractions:s.componentInteractions.concat(l.componentInteractions),themeClasses:(0,v.pi)((0,v.pi)({},s.themeClasses),l.themeClasses),eventSourceDefs:s.eventSourceDefs.concat(l.eventSourceDefs),cmdFormatter:l.cmdFormatter||s.cmdFormatter,recurringTypes:s.recurringTypes.concat(l.recurringTypes),namedTimeZonedImpl:l.namedTimeZonedImpl||s.namedTimeZonedImpl,initialView:s.initialView||l.initialView,elementDraggingImpl:s.elementDraggingImpl||l.elementDraggingImpl,optionChangeHandlers:(0,v.pi)((0,v.pi)({},s.optionChangeHandlers),l.optionChangeHandlers),scrollGridImpl:l.scrollGridImpl||s.scrollGridImpl,contentTypeHandlers:(0,v.pi)((0,v.pi)({},s.contentTypeHandlers),l.contentTypeHandlers),listenerRefiners:(0,v.pi)((0,v.pi)({},s.listenerRefiners),l.listenerRefiners),optionRefiners:(0,v.pi)((0,v.pi)({},s.optionRefiners),l.optionRefiners),propSetHandlers:(0,v.pi)((0,v.pi)({},s.propSetHandlers),l.propSetHandlers)})}var s,l}return e&&o(e),o(t),r}(r,o)),t=r,n=o,e}}var Or=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t}(Dr);function Ur(e,t,n,r){if(t[e])return t[e];var o=function(e,t,n,r){var o=n[e],i=r[e],a=function(e){return o&&null!==o[e]?o[e]:i&&null!==i[e]?i[e]:null},s=a("component"),l=a("superType"),c=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");c=Ur(l,t,n,r)}!s&&c&&(s=c.component);if(!s)return null;return{type:e,component:s,defaults:(0,v.pi)((0,v.pi)({},c?c.defaults:{}),o?o.rawOptions:{}),overrides:(0,v.pi)((0,v.pi)({},c?c.overrides:{}),i?i.rawOptions:{})}}(e,t,n,r);return o&&(t[e]=o),o}Or.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},Or.prototype.baseIconClass="fc-icon",Or.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},Or.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},Or.prototype.iconOverrideOption="buttonIcons",Or.prototype.iconOverrideCustomButtonOption="icon",Or.prototype.iconOverridePrefix="fc-icon-";var Wr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=C(),t.handleRootEl=function(e){zr(t.rootElRef,e),t.props.elRef&&zr(t.props.elRef,e)},t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return y(_r,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return y(qr,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,jr(t.classNames,n),e,o)}))}))},t}(kr),Fr=b(0);function qr(e){return y(Fr.Consumer,null,(function(t){return y(Lr,(0,v.pi)({renderId:t},e))}))}var Lr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=C(),t}return(0,v.ZT)(t,e),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=(0,v.pi)({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=Zr(e.content,e.hookProps);return void 0===t&&(t=Zr(e.defaultContent,e.hookProps)),null==t?null:t},t.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(e)for(var o in t)if(void 0!==e[o]){n=o,r=t[o];break}return{contentKey:n,buildLifecycleFuncs:r}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(kr),_r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&zr(t.props.elRef,e)},t}return(0,v.ZT)(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e((0,v.pi)((0,v.pi)({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e((0,v.pi)((0,v.pi)({},this.props.hookProps),{el:this.rootEl}))},t}(kr);function Vr(){var e,t,n=[];return function(r,o){return t&&Be(t,o)&&r===e||(e=r,t=o,n=jr(r,o)),n}}function jr(e,t){return"function"==typeof e&&(e=e(t)),Tt(e)}function Zr(e,t){return"function"==typeof e?e(t,y):e}var Yr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=Vr(),t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return y(_r,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},(function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(o))}))},t}(kr);function Gr(e){return Se(e,Qr)}function Qr(e){var t="function"==typeof e?{component:e}:e,n=t.component;return t.content&&(n=function(e){return function(t){return y(Br.Consumer,null,(function(n){return y(Yr,{viewSpec:n.viewSpec},(function(r,o){var i=(0,v.pi)((0,v.pi)({},t),{nextDayThreshold:n.options.nextDayThreshold});return y(Wr,{hookProps:i,classNames:e.classNames,content:e.content,didMount:e.didMount,willUnmount:e.willUnmount,elRef:r},(function(e,t,n,r){return y("div",{className:o.concat(t).join(" "),ref:e},r)}))}))}))}}(t)),{superType:t.type,component:n,rawOptions:t}}function Xr(e,t,n,r){var o=Gr(e),i=Gr(t.views),a=function(e,t){var n,r={};for(n in e)Ur(n,r,e,t);for(n in t)Ur(n,r,e,t);return r}(o,i);return Se(a,(function(e){return function(e,t,n,r,o){var i=e.overrides.duration||e.defaults.duration||r.duration||n.duration,a=null,s="",l="",c={};if(i&&(a=function(e){var t=JSON.stringify(e),n=Jr[t];void 0===n&&(n=Ne(e),Jr[t]=n);return n}(i),a)){var u=je(a);s=u.unit,1===u.value&&(l=s,c=t[s]?t[s].rawOptions:{})}var d=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null},f=function(t){var n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null};return{type:e.type,component:e.component,duration:a,durationUnit:s,singleUnit:l,optionDefaults:e.defaults,optionOverrides:(0,v.pi)((0,v.pi)({},c),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(o)||e.defaults.buttonText||d(At)||e.type,buttonTitleOverride:f(r)||f(n)||e.overrides.buttonHint,buttonTitleDefault:f(o)||e.defaults.buttonHint||f(At)}}(e,i,t,n,r)}))}var Jr={};var Kr=function(){function e(e){this.props=e,this.nowDate=xn(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,c,u,d=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(c=e,e=null!=(u=r).start&&c<u.start?u.start:null!=u.end&&c>=u.end?new Date(u.end.valueOf()-1):c),o=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=Qt(s,o.range)),s=Qt(s=this.adjustActiveRange(s),r),l=Jt(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(e,t,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=je(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return Ne({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,i=t.slotMaxTime,a=e.start,s=e.end;return r&&(Fe(o)<0&&(a=de(a),a=n.add(a,o)),Fe(i)>1&&(s=se(s=de(s),-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&_e(u)<_e(n)?je(u).unit:r}function d(){o=l.startOf(e,c),i=l.add(o,n),a={start:o,end:i}}return Fe(n)<=1&&this.isHiddenDay(o)&&(o=de(o=this.skipHiddenDays(o,t))),d(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),d()),a},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=e;a&&(l=i.startOf(l,a)),l=de(l),r=l=this.skipHiddenDays(l,t);do{r=se(r,1),this.isHiddenDay(r)||(s+=1)}while(s<n);return{start:l,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?Ne(1,t):e||Ne({days:1}))},e.prototype.refineRange=function(e){if(e){var t=(n=e,r=this.props.dateEnv,o=null,i=null,n.start&&(o=r.createMarker(n.start)),n.end&&(i=r.createMarker(n.end)),o||i?o&&i&&i<o?null:{start:o,end:i}:null);return t&&(t=jt(t)),t}var n,r,o,i;return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=se(e,t);return e},e}();function $r(e,t,n){var r=t?t.activeRange:null;return no({},function(e,t){var n=In(t),r=[].concat(e.eventSources||[]),o=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);for(var i=0,a=r;i<a.length;i++){var s=Bn(a[i],t,n);s&&o.push(s)}return o}(e,n),r,n)}function eo(e,t,n,r){var o,i,a=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return no(e,t.sources,a,r);case"REMOVE_EVENT_SOURCE":return o=e,i=t.sourceId,we(o,(function(e){return e.sourceId!==i}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?ro(e,a,r):e;case"FETCH_EVENT_SOURCES":return oo(e,t.sourceIds?De(t.sourceIds):ao(e,r),a,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,r){var o,i=e[t];if(i&&n===i.latestFetchId)return(0,v.pi)((0,v.pi)({},e),((o={})[t]=(0,v.pi)((0,v.pi)({},i),{isFetching:!1,fetchRange:r}),o));return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function to(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function no(e,t,n,r){for(var o={},i=0,a=t;i<a.length;i++){var s=a[i];o[s.sourceId]=s}return n&&(o=ro(o,n,r)),(0,v.pi)((0,v.pi)({},e),o)}function ro(e,t,n){return oo(e,we(e,(function(e){return function(e,t,n){if(!so(e,n))return!e.latestFetchId;return!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end}(e,t,n)})),t,!1,n)}function oo(e,t,n,r,o){var i={};for(var a in e){var s=e[a];t[a]?i[a]=io(s,n,r,o):i[a]=s}return i}function io(e,t,n,r){var o=r.options,i=r.calendarApi,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],s=V();return a.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var a=n.rawEvents;o.eventSourceSuccess&&(a=o.eventSourceSuccess.call(i,a,n.xhr)||a),e.success&&(a=e.success.call(i,a,n.xhr)||a),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:s,fetchRange:t,rawEvents:a})}),(function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(i,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:s,fetchRange:t,error:n})})),(0,v.pi)((0,v.pi)({},e),{isFetching:!0,latestFetchId:s})}function ao(e,t){return we(e,(function(e){return so(e,t)}))}function so(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function lo(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,o,i){if(t&&n===t.latestFetchId){var a=Dt(function(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;o&&(e=co(e,o));r&&(e=co(e,r));return e}(o,t,i),t,i);return r&&(a=Me(a,r,i)),xt(uo(e,t.sourceId),a)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=Me(t,n,r));return xt(e,t)}(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return xt(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?Me(e,r.activeRange,o):e;case"REMOVE_EVENTS":return function(e,t){var n=e.defs,r=e.instances,o={},i={};for(var a in n)t.defs[a]||(o[a]=n[a]);for(var s in r)!t.instances[s]&&o[r[s].defId]&&(i[s]=r[s]);return{defs:o,instances:i}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return uo(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return kt(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function co(e,t){var n;if(t){n=[];for(var r=0,o=e;r<o.length;r++){var i=o[r],a=t(i);a?n.push(a):null==a&&n.push(i)}}else n=e;return n}function uo(e,t){return kt(e,(function(e){return e.sourceId!==t}))}function fo(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function po(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function ho(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function go(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function Ao(e,t,n,r,o){return{header:e.headerToolbar?vo(e.headerToolbar,e,t,n,r,o):null,footer:e.footerToolbar?vo(e.footerToolbar,e,t,n,r,o):null}}function vo(e,t,n,r,o,i){var a={},s=[],l=!1;for(var c in e){var u=mo(e[c],t,n,r,o,i);a[c]=u.widgets,s.push.apply(s,u.viewsWithButtons),l=l||u.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function mo(e,t,n,r,o,i){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},u=n.buttonHints||{},d=t.buttonHints||{},f=e?e.split(" "):[],p=[],h=!1;return{widgets:f.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,f,g,A,v,m;if(n=s[e])g=function(e){n.click&&n.click.call(e.target,e,e.target)},(A=r.getCustomButtonIconClass(n))||(A=r.getIconClass(e,a))||(v=n.text),m=n.hint||n.text;else if(f=o[e]){p.push(e),g=function(){i.changeView(e)},(v=f.buttonTextOverride)||(A=r.getIconClass(e,a))||(v=f.buttonTextDefault);var y=f.buttonTextOverride||f.buttonTextDefault;m=ne(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[y,e],y)}else if(i[e])if(g=function(){i[e]()},(v=l[e])||(A=r.getIconClass(e,a))||(v=c[e]),"prevYear"===e||"nextYear"===e){var C="prevYear"===e?"prev":"next";m=ne(u[C]||d[C],[c.year||"year","year"],c[e])}else m=function(t){return ne(u[e]||d[e],[c[t]||t,t],c[e])};return{buttonName:e,buttonClick:g,buttonIcon:A,buttonText:v,buttonHint:m}}))})),viewsWithButtons:p,hasTitle:h}}function yo(e,t,n,r,o){var i=null;"GET"===(e=e.toUpperCase())?t=function(e,t){return e+(-1===e.indexOf("?")?"?":"&")+Co(t)}(t,n):i=Co(n);var a=new XMLHttpRequest;a.open(e,t,!0),"GET"!==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400){var e=!1,t=void 0;try{t=JSON.parse(a.responseText),e=!0}catch(e){}e?r(t,a):o("Failure parsing JSON",a)}else o("Request failed",a)},a.onerror=function(){o("Request failed",a)},a.send(i)}function Co(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}var Eo={parseMeta:function(e){return!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var r=e.eventSource.meta,o=function(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,c={};null==(r=e.startParam)&&(r=l.startParam);null==(o=e.endParam)&&(o=l.endParam);null==(i=e.timeZoneParam)&&(i=l.timeZoneParam);a="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};(0,v.pi)(c,a),c[r]=s.formatIso(t.start),c[o]=s.formatIso(t.end),"local"!==s.timeZone&&(c[i]=s.timeZone);return c}(r,e.range,e.context);yo(r.method,r.url,o,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}};function bo(e,t){for(var n=Re(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var c=0,u=n;c<u.length;c++){var d=u[c];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];t.calendarApi.addEventSource(h)}}var wo=[Pr({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),Pr({eventSourceDefs:[{parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;yr(e.eventSource.meta.bind(null,An(e.range,r)),(function(e){t({rawEvents:e})}),n)}}]}),Pr({eventSourceRefiners:{method:String,extraParams:St,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[Eo]}),Pr({recurringTypes:[{parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},r=void 0;return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(o=e.endTime,i=e.startTime,r={years:o.years-i.years,months:o.months-i.months,days:o.days-i.days,milliseconds:o.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}var o,i;return null},expand:function(e,t,n){var r=Qt(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){var o=e?De(e):null,i=de(n.start),a=n.end,s=[];for(;i<a;){var l=void 0;o&&!o[i.getUTCDay()]||(l=t?r.add(i,t):i,s.push(l)),i=se(i,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:St,startTime:Ne,endTime:Ne,duration:Ne,startRecur:St,endRecur:St}}),Pr({optionChangeHandlers:{events:function(e,t){bo([e],t)},eventSources:bo}}),Pr({isLoadingFuncs:[function(e){return to(e.eventSources)}],contentTypeHandlers:{html:function(){var e=null,t="";return{render:function(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r},destroy:function(){e.innerHTML="",e=null,t=""}}},domNodes:function(){var e=null,t=[];function n(){t.forEach(R),t=[],e=null}return{render:function(r,o){var i=Array.prototype.slice.call(o);if(r!==e||!Xe(t,i)){for(var a=0,s=i;a<s.length;a++){var l=s[a];r.appendChild(l)}n()}e=r,t=i},destroy:n}}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",(0,v.pi)((0,v.pi)({},An(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",zn(e,t))}}})];var So=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;if(e in n){if(t)delete n[e];else n[e]-=1,n[e]<=0&&delete n[e];this.tryDrain()}},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),Do=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new So(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function Ro(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,ht(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=ue(e.currentRange.start,e.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var Bo=function(){function e(e){var t=this;this.computeOptionsData=Je(this._computeOptionsData),this.computeCurrentViewData=Je(this._computeCurrentViewData),this.organizeRawLocales=Je(Ln),this.buildLocale=Je(_n),this.buildPluginHooks=Nr(),this.buildDateEnv=Je(Io),this.buildTheme=Je(xo),this.parseToolbars=Je(Ao),this.buildViewSpecs=Je(Xr),this.buildDateProfileGenerator=Ke(ko),this.buildViewApi=Je(To),this.buildViewUiProps=Ke(Ho),this.buildEventUiBySource=Je(Mo,Be),this.buildEventUiBases=Je(zo),this.parseContextBusinessHours=Ke(No),this.buildTitle=Je(Ro),this.emitter=new Cr,this.actionRunner=new Do(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),o=r.calendarOptions.initialView||r.pluginHooks.initialView,i=this.computeCurrentViewData(o,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(i.options);var a=function(e,t){var n=e.initialDate;return null!=n?t.createMarker(n):xn(e.now,t)}(r.calendarOptions,r.dateEnv),s=i.dateProfileGenerator.build(a);$t(s.activeRange,a)||(a=s.currentRange.start);for(var l={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},c=0,u=r.pluginHooks.contextInit;c<u.length;c++){(0,u[c])(l)}for(var d=$r(r.calendarOptions,s,l),f={dynamicOptionOverrides:n,currentViewType:o,currentDate:a,dateProfile:s,businessHours:this.parseContextBusinessHours(l),eventSources:d,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(l).selectionConfig},p=(0,v.pi)((0,v.pi)({},l),f),h=0,g=r.pluginHooks.reducers;h<g.length;h++){var A=g[h];(0,v.pi)(f,A(null,null,p))}Po(f,l)&&this.emitter.trigger("loading",!0),this.state=f,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?(0,v.pi)((0,v.pi)({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,r=t.state,o=t.emitter,i=function(e,t){var n;return"SET_OPTION"===t.type?(0,v.pi)((0,v.pi)({},e),((n={})[t.optionName]=t.rawOptionValue,n)):e}(r.dynamicOptionOverrides,e),a=this.computeOptionsData(n.optionOverrides,i,n.calendarApi),s=function(e,t){"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType);return e}(r.currentViewType,e),l=this.computeCurrentViewData(s,a,n.optionOverrides,i);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(l.options);var c={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},u=r.currentDate,d=r.dateProfile;this.data&&this.data.dateProfileGenerator!==l.dateProfileGenerator&&(d=l.dateProfileGenerator.build(u)),u=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(u,e),d=function(e,t,n,r){var o;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((o=r.buildPrev(e,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(e,n)).isValid)return o}return e}(d,e,u,l.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&$t(d.currentRange,u)||(u=d.currentRange.start);for(var f=eo(r.eventSources,e,d,c),p=lo(r.eventStore,e,f,d,c),h=to(f)&&!l.options.progressiveEventRendering&&r.renderableEventStore||p,g=this.buildViewUiProps(c),A=g.eventUiSingleBase,m=g.selectionConfig,y=this.buildEventUiBySource(f),C={dynamicOptionOverrides:i,currentViewType:s,currentDate:u,dateProfile:d,eventSources:f,eventStore:p,renderableEventStore:h,selectionConfig:m,eventUiBases:this.buildEventUiBases(h.defs,A,y),businessHours:this.parseContextBusinessHours(c),dateSelection:fo(r.dateSelection,e),eventSelection:po(r.eventSelection,e),eventDrag:ho(r.eventDrag,e),eventResize:go(r.eventResize,e)},E=(0,v.pi)((0,v.pi)({},c),C),b=0,w=a.pluginHooks.reducers;b<w.length;b++){var S=w[b];(0,v.pi)(C,S(r,e,E))}var D=Po(r,c),R=Po(C,c);!D&&R?o.trigger("loading",!0):D&&!R&&o.trigger("loading",!1),this.state=C,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e,t,n,r,o,i,a,s,l,c=this.props,u=this.state,d=this.data,f=this.computeOptionsData(c.optionOverrides,u.dynamicOptionOverrides,c.calendarApi),p=this.computeCurrentViewData(u.currentViewType,f,c.optionOverrides,u.dynamicOptionOverrides),h=this.data=(0,v.pi)((0,v.pi)((0,v.pi)({viewTitle:this.buildTitle(u.dateProfile,p.options,f.dateEnv),calendarApi:c.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},f),p),u),g=f.pluginHooks.optionChangeHandlers,A=d&&d.calendarOptions,m=f.calendarOptions;if(A&&A!==m)for(var y in A.timeZone!==m.timeZone&&(u.eventSources=h.eventSources=(i=h.eventSources,a=u.dateProfile,s=h,l=a?a.activeRange:null,oo(i,ao(i,s),l,!0,s)),u.eventStore=h.eventStore=(e=h.eventStore,t=d.dateEnv,n=h.dateEnv,r=e.defs,o=Se(e.instances,(function(e){var o=r[e.defId];return o.allDay||o.recurringDef?e:(0,v.pi)((0,v.pi)({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})})),{defs:r,instances:o})),g)A[y]!==m[y]&&g[y](m[y],h);c.onData&&c.onData(h)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;Oo(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,e,t,a),u=this.buildTheme(o,i);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:u,toolbarConfig:this.parseToolbars(o,e,u,c,n),localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=bt([At,e,t]),r=n.locales,o=n.locale,i=this.organizeRawLocales(r),a=i.map,s=this.buildLocale(o||i.defaultCode,a).options,l=this.buildPluginHooks(e.plugins||[],wo),c=this.currentCalendarOptionsRefiners=(0,v.pi)((0,v.pi)((0,v.pi)((0,v.pi)((0,v.pi)({},gt),vt),mt),l.listenerRefiners),l.optionRefiners),u={},d=bt([At,s,e,t]),f={},p=this.currentCalendarOptionsInput,h=this.currentCalendarOptionsRefined,g=!1;for(var A in d)"plugins"!==A&&(d[A]===p[A]||yt[A]&&A in p&&yt[A](p[A],d[A])?f[A]=h[A]:c[A]?(f[A]=c[A](d[A]),g=!0):u[A]=p[A]);return g&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=f),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:i,localeDefaults:s,extra:u}},e.prototype._computeCurrentViewData=function(e,t,n,r){var o=t.viewSpecs[e];if(!o)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,r),a=i.refinedOptions;return Oo(i.extra),{viewSpec:o,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var i=bt([At,e.optionDefaults,n,r,e.optionOverrides,o]),a=(0,v.pi)((0,v.pi)((0,v.pi)((0,v.pi)((0,v.pi)((0,v.pi)({},gt),vt),mt),Et),t.listenerRefiners),t.optionRefiners),s={},l=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,u=!1,d={};for(var f in i)i[f]===l[f]||yt[f]&&yt[f](i[f],l[f])?s[f]=c[f]:(i[f]===this.currentCalendarOptionsInput[f]||yt[f]&&yt[f](i[f],this.currentCalendarOptionsInput[f])?f in this.currentCalendarOptionsRefined&&(s[f]=this.currentCalendarOptionsRefined[f]):a[f]?s[f]=a[f](i[f]):d[f]=i[f],u=!0);return u&&(this.currentViewOptionsInput=i,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}},e}();function Io(e,t,n,r,o,i,a,s){var l=_n(t||a.defaultCode,a.map);return new Un({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function xo(e,t){return new(t.themeClasses[e.themeSystem]||Or)(e)}function ko(e){return new(e.dateProfileGeneratorClass||Kr)(e)}function To(e,t,n){return new Dn(e,t,n)}function Mo(e){return Se(e,(function(e){return e.ui}))}function zo(e,t,n){var r={"":t};for(var o in e){var i=e[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function Ho(e){var t=e.options;return{eventUiSingleBase:Ht({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:Ht({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function Po(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(e))return!0}return!1}function No(e){return Yn(e.options.businessHours,e)}function Oo(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}var Uo=function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new Bo({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}return(0,v.ZT)(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)},t}(m);var Wo=function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return e.prototype.addSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];this.insertEntry(o,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,o=[],i=e.span,a=t.span;return i.start<a.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:a.start}},o)),i.end>a.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.end,end:i.end}},o)),r?(n.push.apply(n,(0,v.ev)([{index:e.index,thickness:e.thickness,span:_o(a,i)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(Vo(r,t.level,t.levelCoord),Vo(n,t.level,[e])):Vo(n[t.level],t.lateral,e),this.stackCnts[qo(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,o=t.strictOrder,i=t.stackCnts,a=n.length,s=0,l=-1,c=-1,u=null,d=0,f=0;f<a;f+=1){var p=n[f];if(!o&&p>=s+e.thickness)break;for(var h=r[f],g=void 0,A=jo(h,e.span.start,Fo),v=A[0]+A[1];(g=h[v])&&g.span.start<e.span.end;){var m=p+g.thickness;m>s&&(s=m,u=g,l=f,c=v),m===s&&(d=Math.max(d,i[qo(g)]+1)),v+=1}}var y=0;if(u)for(y=l+1;y<a&&n[y]<s;)y+=1;var C=-1;return y<a&&n[y]===s&&(C=jo(r[y],e.span.end,Fo)[0]),{touchingLevel:l,touchingLateral:c,touchingEntry:u,stackCnt:d,levelCoord:s,level:y,lateral:C}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],o=0;o<n;o+=1)for(var i=e[o],a=t[o],s=0,l=i;s<l.length;s++){var c=l[s];r.push((0,v.pi)((0,v.pi)({},c),{levelCoord:a}))}return r},e}();function Fo(e){return e.span.end}function qo(e){return e.index+":"+e.span.start}function Lo(e){for(var t,n,r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=[],l={span:a.span,entries:[a]},c=0,u=r;c<u.length;c++){var d=u[c];_o(d.span,l.span)?l={entries:d.entries.concat(l.entries),span:(t=d.span,n=l.span,{start:Math.min(t.start,n.start),end:Math.max(t.end,n.end)})}:s.push(d)}s.push(l),r=s}return r}function _o(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function Vo(e,t,n){e.splice(t,0,n)}function jo(e,t,n){var r=0,o=e.length;if(!o||t<n(e[r]))return[0,0];if(t>n(e[o-1]))return[o,0];for(;r<o;){var i=Math.floor(r+(o-r)/2),a=n(e[i]);if(t<a)o=i;else{if(!(t>a))return[i,1];r=i+1}}return[r,0]}var Zo=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function Yo(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}function Go(e){var t;return(t={})[e.component.uid]=e,t}var Qo={},Xo=function(){function e(e,t){this.emitter=new Cr}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),Jo={},Ko={startTime:Ne,duration:Ne,create:Boolean,sourceId:String};function $o(e){var t=wt(e,Ko),n=t.refined,r=t.extra;return{startTime:n.startTime||null,duration:n.duration||null,create:null==n.create||n.create,sourceId:n.sourceId,leftoverProps:r}}var ei=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return y.apply(void 0,(0,v.ev)(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],o=!0,i=0,a=e;i<a.length;i++){var s=a[i],l=s.buttonName,c=s.buttonClick,u=s.buttonText,d=s.buttonIcon,f=s.buttonHint;if("title"===l)o=!1,r.push(y("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var p=l===t.activeButton,h=!t.isTodayEnabled&&"today"===l||!t.isPrevEnabled&&"prev"===l||!t.isNextEnabled&&"next"===l,g=["fc-"+l+"-button",n.getClass("button")];p&&g.push(n.getClass("buttonActive")),r.push(y("button",{type:"button",title:"function"==typeof f?f(t.navUnit):f,disabled:h,"aria-pressed":p,className:g.join(" "),onClick:c},u||(d?y("span",{className:d}):"")))}}if(r.length>1){var A=o&&n.getClass("buttonGroup")||"";return y.apply(void 0,(0,v.ev)(["div",{className:A}],r))}return r[0]},t}(kr),ti=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,o=n.extraClassName,i=!1,a=r.sectionWidgets,s=a.center;return a.left?(i=!0,e=a.left):e=a.start,a.right?(i=!0,t=a.right):t=a.end,y("div",{className:[o||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return y(ei,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},t}(kr),ni=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,zr(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",i="";return n?null!==t.availableWidth?o=t.availableWidth/n:i=1/n*100+"%":o=e.height||"",y("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:i}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(kr),ri=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,o=r.context,i=nn(t);if(i&&r.isValidSegDownEl(e.target)){var a=B(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new Tn(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=W(t.el,"click",".fc-event",n.handleSegClick),n}return(0,v.ZT)(t,e),t}(Zo),oi=function(e){function t(t){var n,r,o,i,a,s=e.call(this,t)||this;return s.handleEventElRemove=function(e){e===s.currentSegEl&&s.handleSegLeave(null,s.currentSegEl)},s.handleSegEnter=function(e,t){nn(t)&&(s.currentSegEl=t,s.triggerEvent("eventMouseEnter",e,t))},s.handleSegLeave=function(e,t){s.currentSegEl&&(s.currentSegEl=null,s.triggerEvent("eventMouseLeave",e,t))},s.removeHoverListeners=(n=t.el,r=".fc-event",o=s.handleSegEnter,i=s.handleSegLeave,W(n,"mouseover",r,(function(e,t){if(t!==a){a=t,o(e,t);var n=function(e){a=null,i(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}))),s}return(0,v.ZT)(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=nn(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new Tn(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(Zo),ii=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=Je(Ir),t.buildViewPropTransformers=Je(si),t.buildToolbarProps=Je(ai),t.headerRef=C(),t.footerRef=C(),t.interactionsStore={},t.state={viewLabelId:O()},t.registerInteractiveComponent=function(e,n){var r=Yo(e,n),o=[ri,oi].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));t.interactionsStore[e.uid]=o,Qo[e.uid]=r},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0,o=n;r<o.length;r++){o[r].destroy()}delete t.interactionsStore[e.uid]}delete Qo[e.uid]},t.resizeRunner=new So((function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})})),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,o=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,xn(t.options.now,t.dateEnv),t.viewTitle),i=!1,a="";t.isHeightAuto||t.forPrint?a="":null!=r.height?i=!0:null!=r.contentHeight?a=r.contentHeight:e=Math.max(r.aspectRatio,.5);var s=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return y(Br.Provider,{value:s},n.header&&y(ti,(0,v.pi)({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},o)),y(ni,{liquid:i,height:a,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&y(ti,(0,v.pi)({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},o)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++){t[e].destroy()}this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return y.apply(void 0,(0,v.ev)([E,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=0,i=this.buildViewPropTransformers(t.viewPropsTransformers);o<i.length;o++){var a=i[o];(0,v.pi)(r,a.transform(r,e))}var s=n.component;return y(s,(0,v.pi)({},r))},t}(xr);function ai(e,t,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:i,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!$t(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function si(e){return e.map((function(e){return new e}))}var li=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,o=r||null==t.height?"":t.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")];return er()||i.push("fc-liquid-hack"),e.children(i,o,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(kr);function ci(e,t){return ht(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var ui="fc-col-header-cell";function di(e){return e.text}var fi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,o=e.viewApi,i=this.props,a=i.date,s=i.dateProfile,l=or(a,i.todayRange,null,s),c=[ui].concat(ir(l,r)),u=t.format(a,i.dayHeaderFormat),d=!l.isDisabled&&i.colCnt>1?cr(this.context,a):{},f=(0,v.pi)((0,v.pi)((0,v.pi)({date:t.toDate(a),view:o},i.extraHookProps),{text:u}),l);return y(Wr,{hookProps:f,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:di,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return y("th",(0,v.pi)({ref:e,role:"columnheader",className:c.concat(t).join(" "),"data-date":l.isDisabled?void 0:Ye(a),colSpan:i.colSpan},i.extraDataAttrs),y("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&y("a",(0,v.pi)({ref:n,className:["fc-col-header-cell-cushion",i.isSticky?"fc-sticky":""].join(" ")},d),r)))}))},t}(kr),pi=ht({weekday:"long"}),hi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,o=t.viewApi,i=t.options,a=se(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=[ui].concat(ir(s,r),e.extraClassNames||[]),c=n.format(a,e.dayHeaderFormat),u=(0,v.pi)((0,v.pi)((0,v.pi)((0,v.pi)({date:a},s),{view:o}),e.extraHookProps),{text:c});return y(Wr,{hookProps:u,classNames:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:di,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},(function(t,r,o,i){return y("th",(0,v.pi)({ref:t,role:"columnheader",className:l.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),y("div",{className:"fc-scrollgrid-sync-inner"},y("a",{"aria-label":n.format(a,pi),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(kr),gi=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=xn(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=le(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(r,Ne(1,e.unit)),i=o.valueOf()-n.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:r,todayRange:Ai(r)},nextState:{nowDate:o,todayRange:Ai(o)},waitMs:i}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=Br,t}(m);function Ai(e){var t=de(e);return{start:t,end:se(t,1)}}!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=Je(vi),t}(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,o=t.datesRepDistinctDays,i=t.renderIntro,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,o,n.length);return y(gi,{unit:"day"},(function(e,t){return y("tr",{role:"row"},i&&i("day"),n.map((function(e){return o?y(fi,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):y(hi,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})})))}))}}(kr);function vi(e,t,n){return e||ci(t,n)}(function(){function e(e,t){for(var n=e.start,r=e.end,o=[],i=[],a=-1;n<r;)t.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=se(n,1);this.dates=i,this.indices=o,this.cnt=i.length}e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(se(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(ce(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]}})(),function(){function e(e,t){var n,r,o,i=e.dates;if(t){for(r=i[0].getUTCDay(),n=1;n<i.length&&i[n].getUTCDay()!==r;n+=1);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/t),l=Math.min((s+1)*t,i+1);r.push({row:s,firstCol:a%t,lastCol:(l-1)%t,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r}}();var mi=function(){function e(){this.sliceBusinessHours=Je(this._sliceBusinessHours),this.sliceDateSelection=Je(this._sliceDateSpan),this.sliceEventStore=Je(this._sliceEventStore),this.sliceEventDrag=Je(this._sliceInteraction),this.sliceEventResize=Je(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var a=e.eventUiBases,s=this.sliceEventStore.apply(this,(0,v.ev)([e.eventStore,a,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,(0,v.ev)([e.dateSelection,a,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,(0,v.ev)([e.businessHours,t,n,r],o)),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag.apply(this,(0,v.ev)([e.eventDrag,a,t,n],o)),eventResize:this.sliceEventResize.apply(this,(0,v.ev)([e.eventResize,a,t,n],o)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,(0,v.ev)([{range:{start:e,end:le(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];return e?this._sliceEventStore.apply(this,(0,v.ev)([Me(e,yi(t,Boolean(n)),r),{},t,n],o)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(e){var a=en(e,t,yi(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!e)return null;var a=en(e.mutatedEvents,t,yi(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];if(!e)return[];for(var i=mn(e,t,n),a=this.sliceRange.apply(this,(0,v.ev)([e.range],r)),s=0,l=a;s<l.length;s++){var c=l[s];c.eventRange=i}return a},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:se(n.start,1)});for(var r=this.sliceRange.apply(this,(0,v.ev)([n],t)),o=0,i=r;o<i.length;o++){var a=i[o];a.eventRange=e,a.isStart=e.isStart&&a.isStart,a.isEnd=e.isEnd&&a.isEnd}return r},e}();function yi(e,t){var n=e.activeRange;return t?n:{start:le(n.start,e.slotMinTime.milliseconds),end:le(n.end,e.slotMaxTime.milliseconds-864e5)}}function Ci(e,t,n){var r=e.mutatedEvents.instances;for(var o in r)if(!Kt(t.validRange,r[o].range))return!1;return bi({eventDrag:e},n)}function Ei(e,t,n){return!!Kt(t.validRange,e.range)&&bi({dateSelection:e},n)}function bi(e,t){var n=t.getCurrentData(),r=(0,v.pi)({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||wi)(r,t)}function wi(e,t,n,r){return void 0===n&&(n={}),!(e.eventDrag&&!function(e,t,n,r){var o=t.getCurrentData(),i=e.eventDrag,a=i.mutatedEvents,s=a.defs,l=a.instances,c=rn(s,i.isEvent?e.eventUiBases:{"":o.selectionConfig});r&&(c=Se(c,r));var u=(h=e.eventStore,g=i.affectedEvents.instances,{defs:h.defs,instances:we(h.instances,(function(e){return!g[e.instanceId]}))}),d=u.defs,f=u.instances,p=rn(d,e.eventUiBases);var h,g;for(var A in l){var m=l[A],y=m.range,C=c[m.defId],E=s[m.defId];if(!Si(C.constraints,y,u,e.businessHours,t))return!1;var b=t.options.eventOverlap,w="function"==typeof b?b:null;for(var S in f){var D=f[S];if(Jt(y,D.range)){if(!1===p[D.defId].overlap&&i.isEvent)return!1;if(!1===C.overlap)return!1;if(w&&!w(new Tn(t,d[D.defId],D),new Tn(t,E,m)))return!1}}for(var R=o.eventStore,B=0,I=C.allows;B<I.length;B++){var x=I[B],k=(0,v.pi)((0,v.pi)({},n),{range:m.range,allDay:E.allDay}),T=R.defs[E.defId],M=R.instances[A],z=void 0;if(z=T?new Tn(t,T,M):new Tn(t,E),!x(Cn(k,t),z))return!1}}return!0}(e,t,n,r))&&!(e.dateSelection&&!function(e,t,n,r){var o=e.eventStore,i=o.defs,a=o.instances,s=e.dateSelection,l=s.range,c=t.getCurrentData().selectionConfig;r&&(c=r(c));if(!Si(c.constraints,l,o,e.businessHours,t))return!1;var u=t.options.selectOverlap,d="function"==typeof u?u:null;for(var f in a){var p=a[f];if(Jt(l,p.range)){if(!1===c.overlap)return!1;if(d&&!d(new Tn(t,i[p.defId],p),null))return!1}}for(var h=0,g=c.allows;h<g.length;h++){if(!(0,g[h])(Cn((0,v.pi)((0,v.pi)({},n),s),t),null))return!1}return!0}(e,t,n,r))}function Si(e,t,n,r,o){for(var i=0,a=e;i<a.length;i++){if(!Bi(Di(a[i],t,n,r,o),t))return!1}return!0}function Di(e,t,n,r,o){return"businessHours"===e?Ri(Me(r,t,o)):"string"==typeof e?Ri(kt(n,(function(t){return t.groupId===e}))):"object"==typeof e&&e?Ri(Me(e,t,o)):[]}function Ri(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function Bi(e,t){for(var n=0,r=e;n<r.length;n++){if(Kt(r[n],t))return!0}return!1}var Ii=/^(visible|hidden)$/,xi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,zr(t.props.elRef,e)},t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),y("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(Ii.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(Ii.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return Ii.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return Ii.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(kr),ki=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==e?(a=n in i,i[n]=e,o[n]=(o[n]||0)+1,s=!0):(o[n]-=1,o[n]||(delete i[n],delete t.callbackMap[n],a=!0)),t.masterCallback&&(a&&t.masterCallback(null,String(n)),s&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return Te(this.currentMap,e,t,n)},e.prototype.getAll=function(){return Re(this.currentMap)},e}();function Ti(e){for(var t=0,n=0,r=x(e,".fc-scrollgrid-shrink");n<r.length;n++){var o=r[n];t=Math.max(t,ie(o))}return Math.ceil(t)}function Mi(e,t){return e.liquid&&t.liquid}function zi(e,t){return null!=t.maxHeight||Mi(e,t)}function Hi(e,t,n,r){var o=n.expandRows;return"function"==typeof t.content?t.content(n):y("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,y(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function Pi(e,t){return Xe(e,t,Be)}function Ni(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var i=o[r],a=i.span||1,s=0;s<a;s+=1)n.push(y("col",{style:{width:"shrink"===i.width?Oi(t):i.width||"",minWidth:i.minWidth||""}}));return y.apply(void 0,(0,v.ev)(["colgroup",{}],n))}function Oi(e){return null==e?4:e}function Ui(e){for(var t=0,n=e;t<n.length;t++){if("shrink"===n[t].width)return!0}return!1}function Wi(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function Fi(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function qi(e){return y("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function Li(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function _i(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=Je((function(e){return e}),Pi),t.renderMicroColGroup=Je(Ni),t.scrollerRefs=new ki,t.scrollerElRefs=new ki(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.safeSetState((0,v.pi)({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=t.sections||[],i=this.processCols(t.cols),a=this.renderMicroColGroup(i,n.shrinkWidth),s=Wi(t.liquid,r);t.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");for(var l,c=o.length,u=0,d=[],f=[],p=[];u<c&&"header"===(l=o[u]).type;)d.push(this.renderSection(l,a,!0)),u+=1;for(;u<c&&"body"===(l=o[u]).type;)f.push(this.renderSection(l,a,!1)),u+=1;for(;u<c&&"footer"===(l=o[u]).type;)p.push(this.renderSection(l,a,!0)),u+=1;var h=!er(),g={role:"rowgroup"};return y("table",{role:"grid",className:s.join(" "),style:{height:t.height}},Boolean(!h&&d.length)&&y.apply(void 0,(0,v.ev)(["thead",g],d)),Boolean(!h&&f.length)&&y.apply(void 0,(0,v.ev)(["tbody",g],f)),Boolean(!h&&p.length)&&y.apply(void 0,(0,v.ev)(["tfoot",g],p)),h&&y.apply(void 0,(0,v.ev)((0,v.ev)((0,v.ev)(["tbody",g],d),f),p)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?y(E,{key:e.key},e.outerContent):y("tr",{key:e.key,role:"presentation",className:Fi(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var o=this.props,i=this.state,a=i.forceYScrollbars,s=i.scrollerClientWidths,l=i.scrollerClientHeights,c=zi(o,e),u=Mi(o,e),d=o.liquid?a?"scroll":c?"auto":"hidden":"visible",f=e.key,p=Hi(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[f]?null:s[f],clientHeight:void 0!==l[f]?l[f]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return y(r?"th":"td",{ref:n.elRef,role:"presentation"},y("div",{className:"fc-scroller-harness"+(u?" fc-scroller-harness-liquid":"")},y(xi,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:d,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:u,liquidIsAbsolute:!0},p)))},t.prototype._handleScrollerEl=function(e,t){var n=function(e,t){for(var n=0,r=e;n<r.length;n++){var o=r[n];if(o.key===t)return o}return null}(this.props.sections,t);n&&zr(n.chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return Ui(this.props.cols)?Ti(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=pr(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},i={};for(var a in t.currentMap){var s=t.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,c=this.props.sections;l<c.length;l++){a=c[l].key;var u=n.currentMap[a];if(u){var d=u.parentNode;o[a]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),i[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:i}},t})(kr).addStateEquality({scrollerClientWidths:Be,scrollerClientHeights:Be});var Vi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=C(),t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,o=r.eventRange,i=o.ui,a={event:new Tn(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,isDraggable:!e.disableDragging&&ln(r,t),isStartResizable:!e.disableResizing&&cn(r,t),isEndResizable:!e.disableResizing&&un(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)},s=function(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}(a).concat(i.classNames);return y(Wr,{hookProps:a,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(t,n,r,o){return e.children(t,s.concat(n),r,o,a)}))},t.prototype.componentDidMount=function(){tn(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&tn(this.elRef.current,t)},t}(kr),ji=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=t.options.eventTimeFormat||e.defaultTimeFormat,o=function(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,c=l.displayEventTime,u=l.displayEventEnd,d=e.eventRange.def,f=e.eventRange.instance;null==c&&(c=!1!==r),null==u&&(u=!1!==o);var p=f.range.start,h=f.range.end,g=i||e.start||e.eventRange.range.start,A=a||e.end||e.eventRange.range.end,v=de(p).valueOf()===de(g).valueOf(),m=de(le(h,-1)).valueOf()===de(le(A,-1)).valueOf();return c&&!d.allDay&&(v||m)?(g=v?p:g,A=m?h:A,u&&d.hasEnd?s.formatRange(g,A,t,{forcedStartTzo:i?null:f.forcedStartTzo,forcedEndTzo:a?null:f.forcedEndTzo}):s.format(g,t,{forcedTzo:i?null:f.forcedStartTzo})):""}(n,r,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return y(Vi,{seg:n,timeText:o,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||Zi,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(r,o,i,a,s){return y("a",(0,v.pi)({className:e.extraClassNames.concat(o).join(" "),style:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},ref:r},function(e,t){var n=e.eventRange,r=n.def,o=n.instance,i=r.url;if(i)return{href:i};var a=t.emitter,s=t.options.eventInteractive;return null==s&&null==(s=r.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s?L((function(e){a.trigger("eventClick",{el:e.target,event:new Tn(t,r,o),jsEvent:e,view:t.viewApi})})):{}}(n,t)),y("div",{className:"fc-event-main",ref:i,style:{color:s.textColor}},a),s.isStartResizable&&y("div",{className:"fc-event-resizer fc-event-resizer-start"}),s.isEndResizable&&y("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t}(kr);function Zi(e){return y("div",{className:"fc-event-main-frame"},e.timeText&&y("div",{className:"fc-event-time"},e.timeText),y("div",{className:"fc-event-title-container"},y("div",{className:"fc-event-title fc-sticky"},e.event.title||y(E,null," "))))}var Yi=function(e){return y(Br.Consumer,null,(function(t){var n=t.options,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return y(Wr,{hookProps:r,classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)}))},Gi=ht({day:"numeric"}),Qi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=Xi({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return y(qr,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(kr);function Xi(e){var t=e.date,n=e.dateEnv,r=or(t,e.todayRange,null,e.dateProfile);return(0,v.pi)((0,v.pi)((0,v.pi)({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,Gi):""}),e.extraProps)}var Ji=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=Ke(Xi),t.normalizeClassNames=Vr(),t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),o=ir(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),i=r.isDisabled?{}:{"data-date":Ye(e.date)};return y(_r,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},(function(t){return e.children(t,o,i,r.isDisabled)}))},t}(kr);function Ki(e){return y("div",{className:"fc-"+e})}var $i=function(e){return y(Vi,{defaultContent:ea,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(e,t,n,r,o){return y("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function ea(e){return e.event.title&&y("div",{className:"fc-event-title"},e.event.title)}var ta=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:O()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&zr(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=H(e);t.rootEl.contains(n)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,o=this.state,i=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return w(y("div",(0,v.pi)({id:r.id,className:i.join(" "),"aria-labelledby":o.titleId},r.extraAttrs,{ref:this.handleRootEl}),y("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},y("span",{className:"fc-popover-title",id:o.titleId},r.title),y("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),y("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,o=this.rootEl,i=function(e){for(var t=mr(e),n=e.getBoundingClientRect(),r=0,o=t;r<o.length;r++){var i=Qn(n,o[r].getBoundingClientRect());if(!i)return null;n=i}return n}(n);if(i){var a=o.getBoundingClientRect(),s=r?B(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=e?i.right-a.width:i.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-a.width),l=Math.max(l,10);var c=o.offsetParent.getBoundingClientRect();M(o,{top:s-c.top,left:l-c.left})}},t}(kr),na=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,o=r.startDate,i=r.todayRange,a=r.dateProfile,s=n.format(o,t.dayPopoverFormat);return y(Ji,{date:o,dateProfile:a,todayRange:i,elRef:this.handleRootEl},(function(e,t,n){return y(ta,{elRef:e,id:r.id,title:s,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},y(Qi,{date:o,dateProfile:a,todayRange:i},(function(e,t){return t&&y("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var o=this.rootEl,i=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:i.dateProfile,dateSpan:(0,v.pi)({allDay:!0,range:{start:i.startDate,end:i.endDate}},i.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(Hr),ra=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=C(),t.state={isPopoverOpen:!1,popoverId:O()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,i=o.options.moreLinkClick,a=ia(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,i=t.range;return{event:new Tn(o,n,r),start:o.dateEnv.toDate(i.start),end:o.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof i&&(i=i({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:e,view:o.viewApi})),i&&"popover"!==i?"string"==typeof i&&o.calendarApi.zoomTo(a,i):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return(0,v.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return y(Br.Consumer,null,(function(r){var o=r.viewApi,i=r.options,a=r.calendarApi,s=i.moreLinkText,l=t.moreCnt,c=ia(t),u="function"==typeof s?s.call(a,l):"+"+l+" "+s,d=ne(i.moreLinkHint,[l],u),f={num:l,shortText:"+"+l,text:u,view:o};return y(E,null,Boolean(t.moreCnt)&&y(Wr,{elRef:e.linkElRef,hookProps:f,classNames:i.moreLinkClassNames,content:i.moreLinkContent,defaultContent:t.defaultContent||oa,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},(function(r,o,i,a){return t.children(r,["fc-more-link"].concat(o),i,a,e.handleClick,d,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")})),n.isPopoverOpen&&y(na,{id:n.popoverId,startDate:c.start,endDate:c.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef.current,alignGridTop:t.alignGridTop,onClose:e.handlePopoverClose},t.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=B(this.linkElRef.current,".fc-view-harness"))},t}(kr);function oa(e){return e.text}function ia(e){if(e.allDayDate)return{start:e.allDayDate,end:se(e.allDayDate,1)};var t,n=e.hiddenSegs;return{start:aa(n),end:(t=n,t.reduce(la).eventRange.range.end)}}function aa(e){return e.reduce(sa).eventRange.range.start}function sa(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function la(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}},46842:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>k});var r=n(32703),o=n(70655);
|
|
7
|
+
A.vc.COLLAPSIBLE_WIDTH_THRESHOLD=1200;var y=[],C=[];function E(){for(var e=(0,A.xlG)(document.body,".fc-scroller-harness > .fc-scroller"),t=e.map((function(e){var t=window.getComputedStyle(e);return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,overflowX:t.overflowX,overflowY:t.overflowY,marginBottom:t.marginBottom}})),n=0,r=y;n<r.length;n++){r[n].emitter.trigger("_beforeprint")}(0,A.iWm)((function(){!function(e,t){e.forEach((function(e,n){e.style.overflowX="visible",e.style.overflowY="visible",e.style.marginBottom="",e.style.left=-t[n].scrollLeft+"px"}))}(e,t),C.push((function(){return function(e,t){e.forEach((function(e,n){var r=t[n];e.style.overflowX=r.overflowX,e.style.overflowY=r.overflowY,e.style.marginBottom=r.marginBottom,e.style.left="",e.scrollLeft=r.scrollLeft,e.scrollTop=r.scrollTop}))}(e,t)})),C.push(function(){var e=(0,A.xlG)(document.body,".fc-scrollgrid");return e.forEach(w),function(){return e.forEach(S)}}())}))}function b(){for(var e=0,t=y;e<t.length;e++){t[e].emitter.trigger("_afterprint")}(0,A.iWm)((function(){for(;C.length;)C.shift()()}))}function w(e){var t=e.getBoundingClientRect().width;(!e.classList.contains("fc-scrollgrid-collapsible")||t<A.vc.COLLAPSIBLE_WIDTH_THRESHOLD)&&(e.style.width=t+"px")}function S(e){e.style.width=""}const D=(0,A.rxu)({deps:[m.Z],contextInit:function(e){y.length||(window.addEventListener("beforeprint",E),window.addEventListener("afterprint",b)),y.push(e),e.calendarApi.on("_unmount",(function(){(0,A.gOi)(y,e),y.length||(window.removeEventListener("beforeprint",E),window.removeEventListener("afterprint",b))}))}})},32703:(e,t,n)=>{"use strict";n.d(t,{kgr:()=>vt,H6J:()=>kr,I_K:()=>$i,zeW:()=>kn,BdM:()=>ii,n1v:()=>Uo,Tdg:()=>li,rVp:()=>Fr,IdW:()=>Pr,snJ:()=>So,KDF:()=>Xo,A9I:()=>wr,Q5$:()=>Cr,voO:()=>Tn,HYg:()=>E,U4m:()=>Zo,ygx:()=>ra,y3w:()=>_r,AOy:()=>Yi,wh8:()=>gi,zIV:()=>Er,lAU:()=>ki,QJ3:()=>Wr,Qgo:()=>br,Ttm:()=>xi,KxW:()=>Wo,RVT:()=>mi,qX1:()=>nr,h2k:()=>ji,nWf:()=>fi,Ceh:()=>hi,Yh$:()=>Br,xS$:()=>Yr,Obu:()=>Sr,E4D:()=>se,hvg:()=>le,N0T:()=>X,sGN:()=>G,rfG:()=>bn,bg6:()=>M,XrI:()=>Ue,dZD:()=>Fe,TTZ:()=>_e,nCP:()=>qe,HgS:()=>Vr,vuT:()=>zn,rRV:()=>fn,dS:()=>Ze,rcD:()=>cr,uPw:()=>Te,kLJ:()=>Ht,oMu:()=>K,z6t:()=>re,cbN:()=>xe,VV4:()=>aa,ld2:()=>gr,nm6:()=>ci,skW:()=>vr,AYo:()=>Ar,VVk:()=>Ti,H3H:()=>jt,vc:()=>Jo,Jq9:()=>Jn,Pvs:()=>Oe,azq:()=>y,ifx:()=>It,$N4:()=>Ce,oqz:()=>Pt,SPZ:()=>ht,rxu:()=>Hr,VfA:()=>C,Pe9:()=>Zt,vrY:()=>$n,Lnh:()=>ue,deF:()=>j,x_n:()=>B,App:()=>I,_OJ:()=>Z,rod:()=>Rt,CrY:()=>we,sSy:()=>k,xlG:()=>x,dx1:()=>ee,iWm:()=>S,SVl:()=>Ye,aDZ:()=>zi,X45:()=>er,U4g:()=>mr,iCZ:()=>or,yLW:()=>ir,$Td:()=>En,xSu:()=>H,BJe:()=>nn,_zt:()=>P,qDX:()=>fr,iFU:()=>Kn,SOE:()=>Bt,SR3:()=>Wi,ewu:()=>pr,PFj:()=>Li,VFE:()=>Mi,jHR:()=>dn,mK5:()=>ar,PZw:()=>_i,Q8U:()=>qi,NTx:()=>je,AVF:()=>qo,M8z:()=>V,Qa3:()=>Ui,yRu:()=>St,T6u:()=>Qo,Rac:()=>Go,cMs:()=>Qt,VEA:()=>Qn,CnA:()=>Xe,grx:()=>Hi,g4F:()=>Ei,omy:()=>gn,GNL:()=>oe,WoG:()=>Ci,S6v:()=>Be,yw$:()=>wi,qbb:()=>me,_aR:()=>Se,HPs:()=>Je,ums:()=>$e,E0:()=>et,Vbb:()=>Ke,rOY:()=>xt,uVS:()=>We,SkG:()=>te,ifz:()=>Yn,Qu7:()=>Tt,WOi:()=>$o,mTn:()=>_t,MCs:()=>J,BKI:()=>Gn,ipI:()=>Q,ZSf:()=>Y,mCA:()=>$t,urV:()=>Kt,Dnt:()=>Xt,zvB:()=>Jt,Boe:()=>Ft,rjQ:()=>wt,bXf:()=>R,gOi:()=>Qe,Yvu:()=>Pi,MA3:()=>Ki,hgf:()=>Oi,Hbc:()=>Fi,aAC:()=>yo,fyp:()=>Ni,k$v:()=>zr,hak:()=>an,b7Q:()=>de,sZq:()=>Xn,HpC:()=>yn,Olf:()=>yr,ONu:()=>F,ltK:()=>Ve});var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),s=n(90569),l=n.n(s),c=n(3565),u=n.n(c),d=n(19216),f=n.n(d),p=n(44589),h=n.n(p),g=n(46),v={};v.styleTagTransform=h(),v.setAttributes=u(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f();o()(g.Z,v);g.Z&&g.Z.locals&&g.Z.locals;var A=n(70655);if("undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var m=FullCalendarVDom.Component,y=FullCalendarVDom.createElement,C=(FullCalendarVDom.render,FullCalendarVDom.createRef),E=FullCalendarVDom.Fragment,b=FullCalendarVDom.createContext,w=FullCalendarVDom.createPortal,S=FullCalendarVDom.flushSync,D=(FullCalendarVDom.unmountComponentAtNode,function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}());function R(e){e.parentNode&&e.parentNode.removeChild(e)}function B(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(I(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function I(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function x(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].querySelectorAll(t),a=0;a<i.length;a+=1)r.push(i[a]);return r}function k(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].children,a=0;a<i.length;a+=1){var s=i[a];t&&!I(s,t)||r.push(s)}return r}var T=/(top|left|right|bottom|width|height)$/i;function M(e,t){for(var n in t)z(e,n,t[n])}function z(e,t,n){null==n?e.style[t]="":"number"==typeof n&&T.test(t)?e.style[t]=n+"px":e.style[t]=n}function P(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}function H(e){return e.getRootNode?e.getRootNode():document}var O=0;function N(){return"fc-dom-"+(O+=1)}function U(e){e.preventDefault()}function W(e,t,n,r){var o=function(e,t){return function(n){var r=B(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}var L=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function F(e,t){var n=function(r){t(r),L.forEach((function(t){e.removeEventListener(t,n)}))};L.forEach((function(t){e.addEventListener(t,n)}))}function q(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var _=0;function V(){return String(_+=1)}function j(){document.body.classList.add("fc-not-allowed")}function Z(){document.body.classList.remove("fc-not-allowed")}function Y(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",U)}function G(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",U)}function Q(e){e.addEventListener("contextmenu",U)}function X(e){e.removeEventListener("contextmenu",U)}function J(e){var t,n,r=[],o=[];for("string"==typeof e?o=e.split(/\s*,\s*/):"function"==typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t+=1)"string"==typeof(n=o[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r}function K(e,t,n){var r,o;for(r=0;r<n.length;r+=1)if(o=$(e,t,n[r]))return o;return 0}function $(e,t,n){return n.func?n.func(e,t):ee(e[n.field],t[n.field])*(n.order||1)}function ee(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}function te(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function ne(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function re(e,t){return e-t}function oe(e){return e%1==0}function ie(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var ae=["sun","mon","tue","wed","thu","fri","sat"];function se(e,t){var n=ve(e);return n[2]+=t,Ae(n)}function le(e,t){var n=ve(e);return n[6]+=t,Ae(n)}function ce(e,t){return(t.valueOf()-e.valueOf())/864e5}function ue(e,t){return ye(e)===ye(t)?Math.round(ce(e,t)):null}function de(e){return Ae([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function fe(e,t,n,r){var o=Ae([t,0,1+pe(t,n,r)]),i=de(e),a=Math.round(ce(o,i));return Math.floor(a/7)+1}function pe(e,t,n){var r=7+t-n;return-((7+Ae([e,0,r]).getUTCDay()-t)%7)+r-1}function he(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function ge(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function ve(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function Ae(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function me(e){return!isNaN(e.valueOf())}function ye(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function Ce(e,t,n,r){return{instanceId:V(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var Ee=Object.prototype.hasOwnProperty;function be(e,t){var n={};if(t)for(var r in t){for(var o=[],i=e.length-1;i>=0;i-=1){var a=e[i][r];if("object"==typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=be(o))}for(i=e.length-1;i>=0;i-=1){var s=e[i];for(var l in s)l in n||(n[l]=s[l])}return n}function we(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function Se(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function De(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function Re(e){var t=[];for(var n in e)t.push(e[n]);return t}function Be(e,t){if(e===t)return!0;for(var n in e)if(Ee.call(e,n)&&!(n in t))return!1;for(var n in t)if(Ee.call(t,n)&&e[n]!==t[n])return!1;return!0}function Ie(e,t){var n=[];for(var r in e)Ee.call(e,r)&&(r in t||n.push(r));for(var r in t)Ee.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function xe(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!ke(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function ke(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function Te(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(e).length);for(var i=t;i<n;i+=r){var a=e[i];void 0!==a&&o.push(a)}return o}function Me(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=we(s,(function(e){return!a[e.defId].recurringDef})),a){var c=a[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=0,f=ze(c,u,t,r,o.recurringTypes);d<f.length;d++){var p=f[d],h=Ce(l,{start:p,end:r.add(p,u)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function ze(e,t,n,r,o){var i=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(i=i.map(de)),i}var Pe=["years","months","days","milliseconds"],He=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Oe(e,t){var n;return"string"==typeof e?function(e){var t=He.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?Ne(e):"number"==typeof e?Ne(((n={})[t||"milliseconds"]=e,n)):null}function Ne(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function Ue(e){return e.years||e.months||e.milliseconds?0:e.days}function We(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function Le(e){return _e(e)/864e5}function Fe(e){return _e(e)/6e4}function qe(e){return _e(e)/1e3}function _e(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function Ve(e,t){for(var n=null,r=0;r<Pe.length;r+=1){var o=Pe[r];if(t[o]){var i=e[o]/t[o];if(!oe(i)||null!==n&&n!==i)return null;n=i}else if(e[o])return null}return n}function je(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function Ze(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",Ge(t,!0)))),r}function Ye(e){return e.toISOString().replace(/T.*$/,"")}function Ge(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=Math.round(r%60);return t?n+te(o,2)+":"+te(i,2):"GMT"+n+o+(i?":"+te(i,2):"")}function Qe(e,t){for(var n=0,r=0;r<e.length;)e[r]===t?(e.splice(r,1),n+=1):r+=1;return n}function Xe(e,t,n){if(e===t)return!0;var r,o=e.length;if(o!==t.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function Je(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!Xe(r,i)){n&&n(o);var s=e.apply(this,i);t&&t(s,o)||(o=s)}}else o=e.apply(this,i);return r=i,o}}function Ke(e,t,n){var r,o,i=this;return function(a){if(r){if(!Be(r,a)){n&&n(o);var s=e.call(i,a);t&&t(s,o)||(o=s)}}else o=e.call(i,a);return r=a,o}}function $e(e,t,n){var r=this,o=[],i=[];return function(a){for(var s=o.length,l=a.length,c=0;c<s;c+=1)if(a[c]){if(!Xe(o[c],a[c])){n&&n(i[c]);var u=e.apply(r,a[c]);t&&t(u,i[c])||(i[c]=u)}}else n&&n(i[c]);for(;c<l;c+=1)i[c]=e.apply(r,a[c]);return o=a,i.splice(l),i}}function et(e,t,n){var r=this,o={},i={};return function(a){var s={};for(var l in a)if(i[l])if(Xe(o[l],a[l]))s[l]=i[l];else{n&&n(i[l]);var c=e.apply(r,a[l]);s[l]=t&&t(c,i[l])?i[l]:c}else s[l]=e.apply(r,a[l]);return o=a,i=s,s}}var tt={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},nt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},rt=/\s*([ap])\.?m\.?/i,ot=/,/g,it=/\s+/g,at=/\u200e/g,st=/UTC|GMT/,lt=function(){function e(e){var t={},n={},r=0;for(var o in e)o in tt?(n[o]=e[o],r=Math.max(tt[o],r)):(t[o]=e[o],o in nt&&(r=Math.max(nt[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=Je(ct)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var o=this.standardDateProps,i=this.extendedSettings,a=function(e,t,n){if(n.getMarkerYear(e)!==n.getMarkerYear(t))return 5;if(n.getMarkerMonth(e)!==n.getMarkerMonth(t))return 4;if(n.getMarkerDay(e)!==n.getMarkerDay(t))return 2;if(ye(e)!==ye(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!a)return this.format(e,n);var s=a;!(s>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(s=1);var l=this.format(e,n),c=this.format(t,n);if(l===c)return l;var u=function(e,t){var n={};for(var r in e)(!(r in nt)||nt[r]<=t)&&(n[r]=e[r]);return n}(o,s),d=ct(u,i,n),f=d(e),p=d(t),h=function(e,t,n,r){var o=0;for(;o<e.length;){var i=e.indexOf(t,o);if(-1===i)break;var a=e.substr(0,i);o=i+t.length;for(var s=e.substr(o),l=0;l<n.length;){var c=n.indexOf(r,l);if(-1===c)break;var u=n.substr(0,c);l=c+r.length;var d=n.substr(l);if(a===u&&s===d)return{before:a,after:s}}}return null}(l,f,c,p),g=i.separator||r||n.defaultSeparator||"";return h?h.before+f+g+p+h.after:l+g+c},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function ct(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return Ge(e.timeZoneOffset)}:0===r&&t.week?function(e){return function(e,t,n,r,o){var i=[];"long"===o?i.push(n):"short"!==o&&"narrow"!==o||i.push(t);"long"!==o&&"short"!==o||i.push(" ");i.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&i.reverse();return i.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:function(e,t,n){e=(0,A.pi)({},e),t=(0,A.pi)({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit"));"long"===e.timeZoneName&&(e.timeZoneName="short");t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";var r,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var i=(0,A.pi)({},e);delete i.minute,r=new Intl.DateTimeFormat(n.locale.codes,i)}return function(i){var a=i.marker;return function(e,t,n,r,o){e=e.replace(at,""),"short"===n.timeZoneName&&(e=function(e,t){var n=!1;e=e.replace(st,(function(){return n=!0,t})),n||(e+=" "+t);return e}(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":Ge(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(ot,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));!1===r.meridiem?e=e.replace(rt,"").trim():"narrow"===r.meridiem?e=e.replace(rt,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(rt,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(rt,(function(e){return e.toLocaleLowerCase()})));return e=(e=e.replace(it," ")).trim()}((r&&!a.getUTCMinutes()?r:o).format(a),i,e,t,n)}}(e,t,n)}function ut(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function dt(e,t,n,r){var o=ut(e,n.calendarSystem);return{date:o,start:o,end:t?ut(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var ft=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,dt(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,dt(e,t,n,r))},e}(),pt=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(dt(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(dt(e,t,n,r))},e}();function ht(e){return"object"==typeof e&&e?new lt(e):"string"==typeof e?new ft(e):"function"==typeof e?new pt(e):null}var gt={navLinkDayClick:St,navLinkWeekClick:St,duration:Oe,bootstrapFontAwesome:St,buttonIcons:St,customButtons:St,defaultAllDayEventDuration:Oe,defaultTimedEventDuration:Oe,nextDayThreshold:Oe,scrollTime:Oe,scrollTimeReset:Boolean,slotMinTime:Oe,slotMaxTime:Oe,dayPopoverFormat:ht,slotDuration:Oe,snapDuration:Oe,headerToolbar:St,footerToolbar:St,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:ht,dayHeaderClassNames:St,dayHeaderContent:St,dayHeaderDidMount:St,dayHeaderWillUnmount:St,dayCellClassNames:St,dayCellContent:St,dayCellDidMount:St,dayCellWillUnmount:St,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:St,weekNumbers:Boolean,weekNumberClassNames:St,weekNumberContent:St,weekNumberDidMount:St,weekNumberWillUnmount:St,editable:Boolean,viewClassNames:St,viewDidMount:St,viewWillUnmount:St,nowIndicator:Boolean,nowIndicatorClassNames:St,nowIndicatorContent:St,nowIndicatorDidMount:St,nowIndicatorWillUnmount:St,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:St,locale:St,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:St,eventOrder:J,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:St,contentHeight:St,direction:String,weekNumberFormat:ht,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:St,initialDate:St,now:St,eventDataTransform:St,stickyHeaderDates:St,stickyFooterScrollbar:St,viewHeight:St,defaultAllDay:Boolean,eventSourceFailure:St,eventSourceSuccess:St,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:St,eventConstraint:St,eventAllow:St,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:St,eventContent:St,eventDidMount:St,eventWillUnmount:St,selectConstraint:St,selectOverlap:St,selectAllow:St,droppable:Boolean,unselectCancel:String,slotLabelFormat:St,slotLaneClassNames:St,slotLaneContent:St,slotLaneDidMount:St,slotLaneWillUnmount:St,slotLabelClassNames:St,slotLabelContent:St,slotLabelDidMount:St,slotLabelWillUnmount:St,dayMaxEvents:St,dayMaxEventRows:St,dayMinWidth:Number,slotLabelInterval:Oe,allDayText:String,allDayClassNames:St,allDayContent:St,allDayDidMount:St,allDayWillUnmount:St,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:ht,rerenderDelay:Number,moreLinkText:St,moreLinkHint:St,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:St,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Oe,hiddenDays:St,monthMode:Boolean,fixedWeekCount:Boolean,validRange:St,visibleRange:St,titleFormat:St,eventInteractive:Boolean,noEventsText:String,viewHint:St,navLinkHint:St,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:St,moreLinkClassNames:St,moreLinkContent:St,moreLinkDidMount:St,moreLinkWillUnmount:St},vt={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},At={datesSet:St,eventsSet:St,eventAdd:St,eventChange:St,eventRemove:St,windowResize:St,eventClick:St,eventMouseEnter:St,eventMouseLeave:St,select:St,unselect:St,loading:St,_unmount:St,_beforeprint:St,_afterprint:St,_noEventDrop:St,_noEventResize:St,_resize:St,_scrollRequest:St},mt={buttonText:St,buttonHints:St,views:St,plugins:St,initialEvents:St,events:St,eventSources:St},yt={headerToolbar:Ct,footerToolbar:Ct,buttonText:Ct,buttonHints:Ct,buttonIcons:Ct,dateIncrement:Ct};function Ct(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?Be(e,t):e===t}var Et={type:String,component:St,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:St,usesMinMaxTime:Boolean,classNames:St,content:St,didMount:St,willUnmount:St};function bt(e){return be(e,yt)}function wt(e,t){var n={},r={};for(var o in t)o in e&&(n[o]=t[o](e[o]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function St(e){return e}function Dt(e,t,n,r){for(var o={defs:{},instances:{}},i=qt(n),a=0,s=e;a<s.length;a++){var l=Lt(s[a],t,n,r,i);l&&Rt(l,o)}return o}function Rt(e,t){return void 0===t&&(t={defs:{},instances:{}}),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function Bt(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=kt(e,(function(e){return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId);var t,n}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return{defs:{},instances:{}}}function It(){return{defs:{},instances:{}}}function xt(e,t){return{defs:(0,A.pi)((0,A.pi)({},e.defs),t.defs),instances:(0,A.pi)((0,A.pi)({},e.instances),t.instances)}}function kt(e,t){var n=we(e.defs,t),r=we(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function Tt(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var Mt={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:St,overlap:St,allow:St,className:Tt,classNames:Tt,color:String,backgroundColor:String,borderColor:String,textColor:String},zt={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Pt(e,t){var n=function(e,t){return Array.isArray(e)?Dt(e,null,t,!0):"object"==typeof e&&e?Dt([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function Ht(e){return e.reduce(Ot,zt)}function Ot(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var Nt={id:String,groupId:String,title:String,url:String,interactive:Boolean},Ut={start:St,end:St,date:St,allDay:Boolean},Wt=(0,A.pi)((0,A.pi)((0,A.pi)({},Nt),Ut),{extendedProps:St});function Lt(e,t,n,r,o){void 0===o&&(o=qt(n));var i=Ft(e,n,o),a=i.refined,s=i.extra,l=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),c=function(e,t,n,r){for(var o=0;o<r.length;o+=1){var i=r[o].parse(e,n);if(i){var a=e.allDay;return null==a&&null==(a=t)&&null==(a=i.allDayGuess)&&(a=!1),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(c)return(u=_t(a,s,t?t.sourceId:"",c.allDay,Boolean(c.duration),n)).recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:u,instance:null};var u,d=function(e,t,n,r){var o,i,a=e.allDay,s=null,l=!1,c=null,u=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(u))s=o.marker;else if(!r)return null;null!=e.end&&(i=n.dateEnv.createMarkerMeta(e.end));null==a&&(a=null!=t?t:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified));a&&s&&(s=de(s));i&&(c=i.marker,a&&(c=de(c)),s&&c<=s&&(c=null));c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:c},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}(a,l,n,r);return d?{def:u=_t(a,s,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:Ce(u.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function Ft(e,t,n){return void 0===n&&(n=qt(t)),wt(e,n)}function qt(e){return(0,A.pi)((0,A.pi)((0,A.pi)({},Mt),Wt),e.pluginHooks.eventRefiners)}function _t(e,t,n,r,o,i){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:V(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:Pt(e,i),extendedProps:(0,A.pi)((0,A.pi)({},e.extendedProps||{}),t)},s=0,l=i.pluginHooks.eventDefMemberAdders;s<l.length;s++){var c=l[s];(0,A.pi)(a,c(e))}return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function Vt(e){var t=Math.floor(ce(e.start,e.end))||1,n=de(e.start);return{start:n,end:se(n,t)}}function jt(e,t){void 0===t&&(t=Oe(0));var n=null,r=null;if(e.end){r=de(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=_e(t)&&(r=se(r,1))}return e.start&&(n=de(e.start),r&&r<=n&&(r=se(n,1))),{start:n,end:r}}function Zt(e,t,n,r){return"year"===r?Oe(n.diffWholeYears(e,t),"year"):"month"===r?Oe(n.diffWholeMonths(e,t),"month"):(i=t,a=de(o=e),s=de(i),{years:0,months:0,days:Math.round(ce(a,s)),milliseconds:i.valueOf()-s.valueOf()-(o.valueOf()-a.valueOf())});var o,i,a,s}function Yt(e,t){var n,r,o=[],i=t.start;for(e.sort(Gt),n=0;n<e.length;n+=1)(r=e[n]).start>i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<t.end&&o.push({start:i,end:t.end}),o}function Gt(e,t){return e.start.valueOf()-t.start.valueOf()}function Qt(e,t){var n=e.start,r=e.end,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function Xt(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function Jt(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function Kt(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function $t(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function en(e,t,n,r){var o={},i={},a={},s=[],l=[],c=rn(e.defs,t);for(var u in e.defs){"inverse-background"===(p=c[(C=e.defs[u]).defId]).display&&(C.groupId?(o[C.groupId]=[],a[C.groupId]||(a[C.groupId]=C)):i[u]=[])}for(var d in e.instances){var f=e.instances[d],p=c[(C=e.defs[f.defId]).defId],h=f.range,g=!C.allDay&&r?jt(h,r):h,v=Qt(g,n);v&&("inverse-background"===p.display?C.groupId?o[C.groupId].push(v):i[f.defId].push(v):"none"!==p.display&&("background"===p.display?s:l).push({def:C,ui:p,instance:f,range:v,isStart:g.start&&g.start.valueOf()===v.start.valueOf(),isEnd:g.end&&g.end.valueOf()===v.end.valueOf()}))}for(var A in o)for(var m=0,y=Yt(o[A],n);m<y.length;m++){var C,E=y[m];p=c[(C=a[A]).defId];s.push({def:C,ui:p,instance:null,range:E,isStart:!1,isEnd:!1})}for(var u in i)for(var b=0,w=Yt(i[u],n);b<w.length;b++){E=w[b];s.push({def:e.defs[u],ui:c[u],instance:null,range:E,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function tn(e,t){e.fcSeg=t}function nn(e){return e.fcSeg||e.parentNode.fcSeg||null}function rn(e,t){return Se(e,(function(e){return on(e,t)}))}function on(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),Ht(n)}function an(e,t){var n=e.map(sn);return n.sort((function(e,n){return K(e,n,t)})),n.map((function(e){return e._seg}))}function sn(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,o=r.start?r.start.valueOf():0,i=r.end?r.end.valueOf():0;return(0,A.pi)((0,A.pi)((0,A.pi)({},n.extendedProps),n),{id:n.publicId,start:o,end:i,duration:i-o,allDay:Number(n.allDay),_seg:e})}function ln(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,o,i,t)}return a}function cn(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function un(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function dn(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&$t(t,r.start)}}function fn(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}var pn={start:St,end:St,allDay:Boolean};function hn(e,t,n){var r=function(e,t){var n=wt(e,pn),r=n.refined,o=n.extra,i=r.start?t.createMarkerMeta(r.start):null,a=r.end?t.createMarkerMeta(r.end):null,s=r.allDay;null==s&&(s=i&&i.isTimeUnspecified&&(!a||a.isTimeUnspecified));return(0,A.pi)({range:{start:i?i.marker:null,end:a?a.marker:null},allDay:s},o)}(e,t),o=r.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return r}function gn(e,t){return Xt(e.range,t.range)&&e.allDay===t.allDay&&function(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var n in e)if(!(n in t))return!1;return!0}(e,t)}function vn(e,t,n){return(0,A.pi)((0,A.pi)({},An(e,t,n)),{timeZone:t.timeZone})}function An(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function mn(e,t,n){var r=Ft({editable:!1},n),o=_t(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:on(o,t),instance:Ce(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}function yn(e,t,n){n.emitter.trigger("select",(0,A.pi)((0,A.pi)({},Cn(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function Cn(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.dateSpanTransforms;i<a.length;i++){var s=a[i];(0,A.pi)(o,s(e,t))}return(0,A.pi)(o,(n=e,r=t.dateEnv,(0,A.pi)((0,A.pi)({},An(n.range,r,n.allDay)),{allDay:n.allDay}))),o}function En(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=de(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function bn(e,t,n,r){var o=rn(e.defs,t),i={defs:{},instances:{}};for(var a in e.defs){var s=e.defs[a];i.defs[a]=wn(s,o[a],n,r)}for(var l in e.instances){var c=e.instances[l];s=i.defs[c.defId];i.instances[l]=Sn(c,s,o[c.defId],n,r)}return i}function wn(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var i=(0,A.pi)((0,A.pi)((0,A.pi)({},e),o),{ui:(0,A.pi)((0,A.pi)({},e.ui),o.ui)});n.extendedProps&&(i.extendedProps=(0,A.pi)((0,A.pi)({},i.extendedProps),n.extendedProps));for(var a=0,s=r.pluginHooks.eventDefMutationAppliers;a<s.length;a++){(0,s[a])(i,n,r)}return!i.hasEnd&&r.options.forceEventDuration&&(i.hasEnd=!0),i}function Sn(e,t,n,r,o){var i=o.dateEnv,a=r.standardProps&&!0===r.standardProps.allDay,s=r.standardProps&&!1===r.standardProps.hasEnd,l=(0,A.pi)({},e);return a&&(l.range=Vt(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:i.add(l.range.start,r.datesDelta),end:i.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:i.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:i.add(l.range.end,r.endDelta)}),s&&(l.range={start:l.range.start,end:En(t.allDay,l.range.start,o)}),t.allDay&&(l.range={start:de(l.range.start),end:de(l.range.end)}),l.range.end<l.range.start&&(l.range.end=En(t.allDay,l.range.start,o)),l}var Dn=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),Rn={id:String,defaultAllDay:Boolean,url:String,format:String,events:St,eventDataTransform:St,success:St,failure:St};function Bn(e,t,n){var r;if(void 0===n&&(n=In(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var o=wt(r,n),i=o.refined,a=o.extra,s=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r].parseMeta(e);if(o)return{sourceDefId:r,meta:o}}return null}(i,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:V(),sourceDefId:s.sourceDefId,meta:s.meta,ui:Pt(i,t),extendedProps:a}}return null}function In(e){return(0,A.pi)((0,A.pi)((0,A.pi)({},Mt),Rn),e.pluginHooks.eventSourceRefiners)}function xn(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var kn=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,(0,A.ev)([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(var s in o)a.push(s);for(t=0;t<a.length;t+=1)if((n=o[a[t]])&&n.singleUnit===e)return n;return null},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:xn(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=Oe(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),ht(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),ht(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),o=hn(n,r.dateEnv,Oe({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),yn(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof Tn){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Rt({def:n,instance:r})}),this.triggerEventAdd(e)),e}var o,i=this.getCurrentData();if(t instanceof D)o=t.internalEventSource;else if("boolean"==typeof t)t&&(o=Re(i.eventSources)[0]);else if(null!=t){var a=this.getEventSourceById(t);if(!a)return console.warn('Could not find an event source with ID "'+t+'"'),null;o=a.internalEventSource}var s=Lt(e,o,i,!1);if(s){var l=new Tn(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Rt(s)}),this.triggerEventAdd(l),l}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:Mn(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,o=n.instances;for(var i in e=String(e),r){var a=r[i];if(a.publicId===e){if(a.recurringDef)return new Tn(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new Tn(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return zn(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new D(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new D(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof D)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=Bn(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new D(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},e.prototype.scrollToTime=function(e){var t=Oe(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),Tn=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in Ut)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=Nt[e](t),this.mutate({standardProps:{publicId:t}});else if(e in Nt)t=Nt[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in Mt){var o=Mt[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:((r={})[e]=t,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var o=Zt(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance)if(n){var o=Zt(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,o,i,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(e);if(l&&((null==t||(r=a.createMarker(t)))&&this._instance)){var c=this._instance.range;!0===n.allDay&&(c=Vt(c));var u=Zt(c.start,l,a,n.granularity);if(r){var d=Zt(c.end,r,a,n.granularity);i=d,(o=u).years===i.years&&o.months===i.months&&o.days===i.days&&o.milliseconds===i.milliseconds?this.mutate({datesDelta:u,standardProps:s}):this.mutate({startDelta:u,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:u,standardProps:s})}},e.prototype.moveStart=function(e){var t=Oe(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=Oe(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=Oe(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=ht(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=Bt(i,n.instanceId);a=bn(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var s=new e(o,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:a}),o.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:zn(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=Mn(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new D(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,o=this.endStr,i={};return t.title&&(i.title=t.title),r&&(i.start=r),o&&(i.end=o),t.publicId&&(i.id=t.publicId),t.groupId&&(i.groupId=t.groupId),t.url&&(i.url=t.url),n.display&&"auto"!==n.display&&(i.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?i.color=n.backgroundColor:(n.backgroundColor&&(i.backgroundColor=n.backgroundColor),n.borderColor&&(i.borderColor=n.borderColor)),n.textColor&&(i.textColor=n.textColor),n.classNames.length&&(i.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?(0,A.pi)(i,t.extendedProps):i.extendedProps=t.extendedProps),i},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function Mn(e){var t,n,r=e._def,o=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:o?(n={},n[o.instanceId]=o,n):{}}}function zn(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],c=r[l.defId];l.instanceId!==a&&i.push(new Tn(t,c,l))}return i}var Pn={};var Hn,On=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return Ae(e)},e.prototype.markerToArray=function(e){return ve(e)},e}();Hn=On,Pn["gregory"]=Hn;var Nn=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var Un=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new Pn[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):Ae(he(new Date))},e.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=Ae(e)),null!==t&&me(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=function(e){var t=Nn.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(me(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return ye(e)===ye(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return ye(e)===ye(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:(n=function(e,t){var n=ue(e,t);return null!==n&&n%7==0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:null!==(n=ue(e,t))?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),oe(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),oe(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),oe(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(Le(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/function(e){return Le(e)/30}(n):n.days&&null!==(r=ue(e,t))?r/Le(n):(t.valueOf()-e.valueOf())/_e(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?de(e):"hour"===t?function(e){return Ae([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return Ae([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return Ae([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){var r=e.getUTCFullYear(),o=fe(e,r,t,n);if(o<1)return fe(e,r-1,t,n);var i=fe(e,r+1,t,n);return i>=1?Math.min(o,i):o}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=le(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),Ze(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?Ae(he(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?Ae(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-ge(ve(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(ve(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?ge(ve(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(ve(e))*60):new Date(e.valueOf()-(t||0))},e}(),Wn=[],Ln={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},Fn=(0,A.pi)((0,A.pi)({},Ln),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function qn(e){for(var t=e.length>0?e[0].code:"en",n=Wn.concat(e),r={en:Fn},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function _n(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){var n=[].concat(e||[]),r=function(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o-=1){var i=r.slice(0,o).join("-");if(t[i])return t[i]}return null}(n,t)||Fn;return Vn(e,n,r)}(e,t):Vn(e.code,[e.code],e)}function Vn(e,t,n){var r=be([Ln,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var jn,Zn={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Yn(e,t){return Dt(function(e){var t;t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[];return t=t.map((function(e){return(0,A.pi)((0,A.pi)({},Zn),e)}))}(e),null,t)}function Gn(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function Qn(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function Xn(e,t,n){return{left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}}function Jn(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function Kn(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function $n(e,t){return{left:e.left-t.left,top:e.top-t.top}}function er(){return null==jn&&(jn=function(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),jn}var tr={defs:{},instances:{}},nr=function(){function e(){this.getKeysForEventDefs=Je(this._getKeysForEventDefs),this.splitDateSelection=Je(this._splitDateSpan),this.splitEventStore=Je(this._splitEventStore),this.splitIndividualUi=Je(this._splitIndividualUi),this.splitEventDrag=Je(this._splitInteraction),this.splitEventResize=Je(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),c={};for(var u in this.eventUiBuilders=Se(n,(function(e,n){return t.eventUiBuilders[n]||Je(rr)})),n){var d=n[u],f=a[u]||tr,p=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||e.businessHours,dateSelection:o[u]||null,eventStore:f,eventUiBases:p(e.eventUiBases[""],d.ui,i[u]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n<r.length;n++){t[r[n]]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return Se(e.defs,(function(e){return t.getKeysForEventDef(e)}))},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,o={};for(var i in n)for(var a=0,s=t[i];a<s.length;a++){o[f=s[a]]||(o[f]={defs:{},instances:{}}),o[f].defs[i]=n[i]}for(var l in r)for(var c=r[l],u=0,d=t[c.defId];u<d.length;u++){var f;o[f=d[u]]&&(o[f].instances[l]=c)}return o},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var o=0,i=t[r];o<i.length;o++){var a=i[o];n[a]||(n[a]={}),n[a][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,r),i=function(r){t[r]||(t[r]={affectedEvents:n[r]||tr,mutatedEvents:o[r]||tr,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t},e}();function rr(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":Ht(r)};return n&&(0,A.pi)(o,n),o}function or(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!$t(r.activeRange,e)),isOther:Boolean(r&&!$t(r.currentRange,e)),isToday:Boolean(t&&$t(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function ir(e,t){var n=["fc-day","fc-day-"+ae[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}function ar(e,t){var n=["fc-slot","fc-slot-"+ae[e.dow]];return e.isDisabled?n.push("fc-slot-disabled"):(e.isToday&&(n.push("fc-slot-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-slot-past"),e.isFuture&&n.push("fc-slot-future")),n}var sr=ht({year:"numeric",month:"long",day:"numeric"}),lr=ht({week:"long"});function cr(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o,i=e.dateEnv,a=e.options,s=e.calendarApi,l=i.format(t,"week"===n?lr:sr);if(a.navLinks){var c=i.toDate(t),u=function(e){var r="day"===n?a.navLinkDayClick:"week"===n?a.navLinkWeekClick:null;"function"==typeof r?r.call(s,i.toDate(t),e):("string"==typeof r&&(n=r),s.zoomTo(t,n))};return(0,A.pi)({title:ne(a.navLinkHint,[l,c],l),"data-navlink":""},r?(o=u,(0,A.pi)({onClick:o},q(o))):{onClick:u})}return{"aria-label":l}}var ur,dr=null;function fr(){return null===dr&&(dr=function(){var e=document.createElement("div");M(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return R(e),t}()),dr}function pr(){return ur||(ur=function(){var e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);var t=hr(e);return document.body.removeChild(e),t}()),ur}function hr(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function gr(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,o=parseInt(n.borderRightWidth,10)||0,i=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=hr(e),l=s.y-r-o,c={borderLeft:r,borderRight:o,borderTop:i,borderBottom:a,scrollbarBottom:s.x-i-a,scrollbarLeft:0,scrollbarRight:0};return fr()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,t&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}function vr(e,t,n){void 0===t&&(t=!1);var r=n?e.getBoundingClientRect():Ar(e),o=gr(e,t),i={left:r.left+o.borderLeft+o.scrollbarLeft,right:r.right-o.borderRight-o.scrollbarRight,top:r.top+o.borderTop,bottom:r.bottom-o.borderBottom-o.scrollbarBottom};return t&&(i.left+=o.paddingLeft,i.right-=o.paddingRight,i.top+=o.paddingTop,i.bottom-=o.paddingBottom),i}function Ar(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function mr(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function yr(e,t,n){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},i=function(){r||(r=!0,n&&n.apply(this,arguments))},a=e(o,i);a&&"function"==typeof a.then&&a.then(o,i)}var Cr=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)},e.prototype.off=function(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(this.handlers,e,t)},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],o=this.options&&this.options[e],i=[].concat(o||[],r),a=0,s=i;a<s.length;a++){var l=s[a];l.apply(this.thisContext,t)}},e.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}();var Er=function(){function e(e,t,n,r){this.els=t;var o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),br=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),wr=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return(0,A.ZT)(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(br),Sr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(br),Dr=function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){for(n in t=(0,A.pi)({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}();Dr.prototype.classes={},Dr.prototype.iconClasses={},Dr.prototype.baseIconClass="",Dr.prototype.iconOverridePrefix="";var Rr=function(){function e(e,t,n,r){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){o.queuedRequest=(0,A.pi)({},o.queuedRequest||{},e),o.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),Br=b({});function Ir(e,t,n,r,o,i,a,s,l,c,u,d,f){return{dateEnv:o,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:u,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){c.on("_resize",e)},removeResizeHandler:function(e){c.off("_resize",e)},createScrollResponder:function(e){return new Rr(e,c,Oe(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var xr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(Ie(e,this.props),Ie(t,this.state)),!xe(this.props,e,this.propEquality)||!xe(this.state,t,this.stateEquality)},t.prototype.safeSetState=function(e){xe(this.state,(0,A.pi)((0,A.pi)({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=Tr,t.addStateEquality=Mr,t.contextType=Br,t}(m);xr.prototype.propEquality={},xr.prototype.stateEquality={};var kr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t.contextType=Br,t}(xr);function Tr(e){var t=Object.create(this.prototype.propEquality);(0,A.pi)(t,e),this.prototype.propEquality=t}function Mr(e){var t=Object.create(this.prototype.stateEquality);(0,A.pi)(t,e),this.prototype.stateEquality=t}function zr(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Pr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=V(),t}return(0,A.ZT)(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!B(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!(B(e,".fc-event:not(.fc-bg-event)")||B(e,".fc-more-link")||B(e,"a[data-navlink]")||B(e,".fc-popover"))},t}(kr);function Hr(e){return{id:V(),deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function Or(){var e,t=[],n=[];return function(r,o){return e&&Xe(r,t)&&Xe(o,n)||(e=function(e,t){var n={},r={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function o(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];n[a.id]||(n[a.id]=!0,o(a.deps),l=a,r={reducers:(s=r).reducers.concat(l.reducers),isLoadingFuncs:s.isLoadingFuncs.concat(l.isLoadingFuncs),contextInit:s.contextInit.concat(l.contextInit),eventRefiners:(0,A.pi)((0,A.pi)({},s.eventRefiners),l.eventRefiners),eventDefMemberAdders:s.eventDefMemberAdders.concat(l.eventDefMemberAdders),eventSourceRefiners:(0,A.pi)((0,A.pi)({},s.eventSourceRefiners),l.eventSourceRefiners),isDraggableTransformers:s.isDraggableTransformers.concat(l.isDraggableTransformers),eventDragMutationMassagers:s.eventDragMutationMassagers.concat(l.eventDragMutationMassagers),eventDefMutationAppliers:s.eventDefMutationAppliers.concat(l.eventDefMutationAppliers),dateSelectionTransformers:s.dateSelectionTransformers.concat(l.dateSelectionTransformers),datePointTransforms:s.datePointTransforms.concat(l.datePointTransforms),dateSpanTransforms:s.dateSpanTransforms.concat(l.dateSpanTransforms),views:(0,A.pi)((0,A.pi)({},s.views),l.views),viewPropsTransformers:s.viewPropsTransformers.concat(l.viewPropsTransformers),isPropsValid:l.isPropsValid||s.isPropsValid,externalDefTransforms:s.externalDefTransforms.concat(l.externalDefTransforms),viewContainerAppends:s.viewContainerAppends.concat(l.viewContainerAppends),eventDropTransformers:s.eventDropTransformers.concat(l.eventDropTransformers),calendarInteractions:s.calendarInteractions.concat(l.calendarInteractions),componentInteractions:s.componentInteractions.concat(l.componentInteractions),themeClasses:(0,A.pi)((0,A.pi)({},s.themeClasses),l.themeClasses),eventSourceDefs:s.eventSourceDefs.concat(l.eventSourceDefs),cmdFormatter:l.cmdFormatter||s.cmdFormatter,recurringTypes:s.recurringTypes.concat(l.recurringTypes),namedTimeZonedImpl:l.namedTimeZonedImpl||s.namedTimeZonedImpl,initialView:s.initialView||l.initialView,elementDraggingImpl:s.elementDraggingImpl||l.elementDraggingImpl,optionChangeHandlers:(0,A.pi)((0,A.pi)({},s.optionChangeHandlers),l.optionChangeHandlers),scrollGridImpl:l.scrollGridImpl||s.scrollGridImpl,contentTypeHandlers:(0,A.pi)((0,A.pi)({},s.contentTypeHandlers),l.contentTypeHandlers),listenerRefiners:(0,A.pi)((0,A.pi)({},s.listenerRefiners),l.listenerRefiners),optionRefiners:(0,A.pi)((0,A.pi)({},s.optionRefiners),l.optionRefiners),propSetHandlers:(0,A.pi)((0,A.pi)({},s.propSetHandlers),l.propSetHandlers)})}var s,l}return e&&o(e),o(t),r}(r,o)),t=r,n=o,e}}var Nr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t}(Dr);function Ur(e,t,n,r){if(t[e])return t[e];var o=function(e,t,n,r){var o=n[e],i=r[e],a=function(e){return o&&null!==o[e]?o[e]:i&&null!==i[e]?i[e]:null},s=a("component"),l=a("superType"),c=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");c=Ur(l,t,n,r)}!s&&c&&(s=c.component);if(!s)return null;return{type:e,component:s,defaults:(0,A.pi)((0,A.pi)({},c?c.defaults:{}),o?o.rawOptions:{}),overrides:(0,A.pi)((0,A.pi)({},c?c.overrides:{}),i?i.rawOptions:{})}}(e,t,n,r);return o&&(t[e]=o),o}Nr.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},Nr.prototype.baseIconClass="fc-icon",Nr.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},Nr.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},Nr.prototype.iconOverrideOption="buttonIcons",Nr.prototype.iconOverrideCustomButtonOption="icon",Nr.prototype.iconOverridePrefix="fc-icon-";var Wr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=C(),t.handleRootEl=function(e){zr(t.rootElRef,e),t.props.elRef&&zr(t.props.elRef,e)},t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return y(_r,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return y(Fr,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,jr(t.classNames,n),e,o)}))}))},t}(kr),Lr=b(0);function Fr(e){return y(Lr.Consumer,null,(function(t){return y(qr,(0,A.pi)({renderId:t},e))}))}var qr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=C(),t}return(0,A.ZT)(t,e),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=(0,A.pi)({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=Zr(e.content,e.hookProps);return void 0===t&&(t=Zr(e.defaultContent,e.hookProps)),null==t?null:t},t.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(e)for(var o in t)if(void 0!==e[o]){n=o,r=t[o];break}return{contentKey:n,buildLifecycleFuncs:r}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(kr),_r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&zr(t.props.elRef,e)},t}return(0,A.ZT)(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e((0,A.pi)((0,A.pi)({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e((0,A.pi)((0,A.pi)({},this.props.hookProps),{el:this.rootEl}))},t}(kr);function Vr(){var e,t,n=[];return function(r,o){return t&&Be(t,o)&&r===e||(e=r,t=o,n=jr(r,o)),n}}function jr(e,t){return"function"==typeof e&&(e=e(t)),Tt(e)}function Zr(e,t){return"function"==typeof e?e(t,y):e}var Yr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=Vr(),t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return y(_r,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},(function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(o))}))},t}(kr);function Gr(e){return Se(e,Qr)}function Qr(e){var t="function"==typeof e?{component:e}:e,n=t.component;return t.content&&(n=function(e){return function(t){return y(Br.Consumer,null,(function(n){return y(Yr,{viewSpec:n.viewSpec},(function(r,o){var i=(0,A.pi)((0,A.pi)({},t),{nextDayThreshold:n.options.nextDayThreshold});return y(Wr,{hookProps:i,classNames:e.classNames,content:e.content,didMount:e.didMount,willUnmount:e.willUnmount,elRef:r},(function(e,t,n,r){return y("div",{className:o.concat(t).join(" "),ref:e},r)}))}))}))}}(t)),{superType:t.type,component:n,rawOptions:t}}function Xr(e,t,n,r){var o=Gr(e),i=Gr(t.views),a=function(e,t){var n,r={};for(n in e)Ur(n,r,e,t);for(n in t)Ur(n,r,e,t);return r}(o,i);return Se(a,(function(e){return function(e,t,n,r,o){var i=e.overrides.duration||e.defaults.duration||r.duration||n.duration,a=null,s="",l="",c={};if(i&&(a=function(e){var t=JSON.stringify(e),n=Jr[t];void 0===n&&(n=Oe(e),Jr[t]=n);return n}(i),a)){var u=je(a);s=u.unit,1===u.value&&(l=s,c=t[s]?t[s].rawOptions:{})}var d=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null},f=function(t){var n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null};return{type:e.type,component:e.component,duration:a,durationUnit:s,singleUnit:l,optionDefaults:e.defaults,optionOverrides:(0,A.pi)((0,A.pi)({},c),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(o)||e.defaults.buttonText||d(vt)||e.type,buttonTitleOverride:f(r)||f(n)||e.overrides.buttonHint,buttonTitleDefault:f(o)||e.defaults.buttonHint||f(vt)}}(e,i,t,n,r)}))}var Jr={};var Kr=function(){function e(e){this.props=e,this.nowDate=xn(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,c,u,d=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(c=e,e=null!=(u=r).start&&c<u.start?u.start:null!=u.end&&c>=u.end?new Date(u.end.valueOf()-1):c),o=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=Qt(s,o.range)),s=Qt(s=this.adjustActiveRange(s),r),l=Jt(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(e,t,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=je(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return Oe({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,i=t.slotMaxTime,a=e.start,s=e.end;return r&&(Le(o)<0&&(a=de(a),a=n.add(a,o)),Le(i)>1&&(s=se(s=de(s),-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&_e(u)<_e(n)?je(u).unit:r}function d(){o=l.startOf(e,c),i=l.add(o,n),a={start:o,end:i}}return Le(n)<=1&&this.isHiddenDay(o)&&(o=de(o=this.skipHiddenDays(o,t))),d(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),d()),a},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=e;a&&(l=i.startOf(l,a)),l=de(l),r=l=this.skipHiddenDays(l,t);do{r=se(r,1),this.isHiddenDay(r)||(s+=1)}while(s<n);return{start:l,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?Oe(1,t):e||Oe({days:1}))},e.prototype.refineRange=function(e){if(e){var t=(n=e,r=this.props.dateEnv,o=null,i=null,n.start&&(o=r.createMarker(n.start)),n.end&&(i=r.createMarker(n.end)),o||i?o&&i&&i<o?null:{start:o,end:i}:null);return t&&(t=jt(t)),t}var n,r,o,i;return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=se(e,t);return e},e}();function $r(e,t,n){var r=t?t.activeRange:null;return no({},function(e,t){var n=In(t),r=[].concat(e.eventSources||[]),o=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);for(var i=0,a=r;i<a.length;i++){var s=Bn(a[i],t,n);s&&o.push(s)}return o}(e,n),r,n)}function eo(e,t,n,r){var o,i,a=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return no(e,t.sources,a,r);case"REMOVE_EVENT_SOURCE":return o=e,i=t.sourceId,we(o,(function(e){return e.sourceId!==i}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?ro(e,a,r):e;case"FETCH_EVENT_SOURCES":return oo(e,t.sourceIds?De(t.sourceIds):ao(e,r),a,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,r){var o,i=e[t];if(i&&n===i.latestFetchId)return(0,A.pi)((0,A.pi)({},e),((o={})[t]=(0,A.pi)((0,A.pi)({},i),{isFetching:!1,fetchRange:r}),o));return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function to(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function no(e,t,n,r){for(var o={},i=0,a=t;i<a.length;i++){var s=a[i];o[s.sourceId]=s}return n&&(o=ro(o,n,r)),(0,A.pi)((0,A.pi)({},e),o)}function ro(e,t,n){return oo(e,we(e,(function(e){return function(e,t,n){if(!so(e,n))return!e.latestFetchId;return!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end}(e,t,n)})),t,!1,n)}function oo(e,t,n,r,o){var i={};for(var a in e){var s=e[a];t[a]?i[a]=io(s,n,r,o):i[a]=s}return i}function io(e,t,n,r){var o=r.options,i=r.calendarApi,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],s=V();return a.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var a=n.rawEvents;o.eventSourceSuccess&&(a=o.eventSourceSuccess.call(i,a,n.xhr)||a),e.success&&(a=e.success.call(i,a,n.xhr)||a),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:s,fetchRange:t,rawEvents:a})}),(function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(i,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:s,fetchRange:t,error:n})})),(0,A.pi)((0,A.pi)({},e),{isFetching:!0,latestFetchId:s})}function ao(e,t){return we(e,(function(e){return so(e,t)}))}function so(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function lo(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,o,i){if(t&&n===t.latestFetchId){var a=Dt(function(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;o&&(e=co(e,o));r&&(e=co(e,r));return e}(o,t,i),t,i);return r&&(a=Me(a,r,i)),xt(uo(e,t.sourceId),a)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=Me(t,n,r));return xt(e,t)}(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return xt(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?Me(e,r.activeRange,o):e;case"REMOVE_EVENTS":return function(e,t){var n=e.defs,r=e.instances,o={},i={};for(var a in n)t.defs[a]||(o[a]=n[a]);for(var s in r)!t.instances[s]&&o[r[s].defId]&&(i[s]=r[s]);return{defs:o,instances:i}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return uo(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return kt(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function co(e,t){var n;if(t){n=[];for(var r=0,o=e;r<o.length;r++){var i=o[r],a=t(i);a?n.push(a):null==a&&n.push(i)}}else n=e;return n}function uo(e,t){return kt(e,(function(e){return e.sourceId!==t}))}function fo(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function po(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function ho(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function go(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function vo(e,t,n,r,o){return{header:e.headerToolbar?Ao(e.headerToolbar,e,t,n,r,o):null,footer:e.footerToolbar?Ao(e.footerToolbar,e,t,n,r,o):null}}function Ao(e,t,n,r,o,i){var a={},s=[],l=!1;for(var c in e){var u=mo(e[c],t,n,r,o,i);a[c]=u.widgets,s.push.apply(s,u.viewsWithButtons),l=l||u.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function mo(e,t,n,r,o,i){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},u=n.buttonHints||{},d=t.buttonHints||{},f=e?e.split(" "):[],p=[],h=!1;return{widgets:f.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,f,g,v,A,m;if(n=s[e])g=function(e){n.click&&n.click.call(e.target,e,e.target)},(v=r.getCustomButtonIconClass(n))||(v=r.getIconClass(e,a))||(A=n.text),m=n.hint||n.text;else if(f=o[e]){p.push(e),g=function(){i.changeView(e)},(A=f.buttonTextOverride)||(v=r.getIconClass(e,a))||(A=f.buttonTextDefault);var y=f.buttonTextOverride||f.buttonTextDefault;m=ne(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[y,e],y)}else if(i[e])if(g=function(){i[e]()},(A=l[e])||(v=r.getIconClass(e,a))||(A=c[e]),"prevYear"===e||"nextYear"===e){var C="prevYear"===e?"prev":"next";m=ne(u[C]||d[C],[c.year||"year","year"],c[e])}else m=function(t){return ne(u[e]||d[e],[c[t]||t,t],c[e])};return{buttonName:e,buttonClick:g,buttonIcon:v,buttonText:A,buttonHint:m}}))})),viewsWithButtons:p,hasTitle:h}}function yo(e,t,n,r,o){var i=null;"GET"===(e=e.toUpperCase())?t=function(e,t){return e+(-1===e.indexOf("?")?"?":"&")+Co(t)}(t,n):i=Co(n);var a=new XMLHttpRequest;a.open(e,t,!0),"GET"!==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400){var e=!1,t=void 0;try{t=JSON.parse(a.responseText),e=!0}catch(e){}e?r(t,a):o("Failure parsing JSON",a)}else o("Request failed",a)},a.onerror=function(){o("Request failed",a)},a.send(i)}function Co(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}var Eo={parseMeta:function(e){return!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var r=e.eventSource.meta,o=function(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,c={};null==(r=e.startParam)&&(r=l.startParam);null==(o=e.endParam)&&(o=l.endParam);null==(i=e.timeZoneParam)&&(i=l.timeZoneParam);a="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};(0,A.pi)(c,a),c[r]=s.formatIso(t.start),c[o]=s.formatIso(t.end),"local"!==s.timeZone&&(c[i]=s.timeZone);return c}(r,e.range,e.context);yo(r.method,r.url,o,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}};function bo(e,t){for(var n=Re(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var c=0,u=n;c<u.length;c++){var d=u[c];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];t.calendarApi.addEventSource(h)}}var wo=[Hr({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),Hr({eventSourceDefs:[{parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;yr(e.eventSource.meta.bind(null,vn(e.range,r)),(function(e){t({rawEvents:e})}),n)}}]}),Hr({eventSourceRefiners:{method:String,extraParams:St,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[Eo]}),Hr({recurringTypes:[{parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},r=void 0;return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(o=e.endTime,i=e.startTime,r={years:o.years-i.years,months:o.months-i.months,days:o.days-i.days,milliseconds:o.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}var o,i;return null},expand:function(e,t,n){var r=Qt(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){var o=e?De(e):null,i=de(n.start),a=n.end,s=[];for(;i<a;){var l=void 0;o&&!o[i.getUTCDay()]||(l=t?r.add(i,t):i,s.push(l)),i=se(i,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:St,startTime:Oe,endTime:Oe,duration:Oe,startRecur:St,endRecur:St}}),Hr({optionChangeHandlers:{events:function(e,t){bo([e],t)},eventSources:bo}}),Hr({isLoadingFuncs:[function(e){return to(e.eventSources)}],contentTypeHandlers:{html:function(){var e=null,t="";return{render:function(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r},destroy:function(){e.innerHTML="",e=null,t=""}}},domNodes:function(){var e=null,t=[];function n(){t.forEach(R),t=[],e=null}return{render:function(r,o){var i=Array.prototype.slice.call(o);if(r!==e||!Xe(t,i)){for(var a=0,s=i;a<s.length;a++){var l=s[a];r.appendChild(l)}n()}e=r,t=i},destroy:n}}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",(0,A.pi)((0,A.pi)({},vn(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",zn(e,t))}}})];var So=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;if(e in n){if(t)delete n[e];else n[e]-=1,n[e]<=0&&delete n[e];this.tryDrain()}},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),Do=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new So(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function Ro(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,ht(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=ue(e.currentRange.start,e.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var Bo=function(){function e(e){var t=this;this.computeOptionsData=Je(this._computeOptionsData),this.computeCurrentViewData=Je(this._computeCurrentViewData),this.organizeRawLocales=Je(qn),this.buildLocale=Je(_n),this.buildPluginHooks=Or(),this.buildDateEnv=Je(Io),this.buildTheme=Je(xo),this.parseToolbars=Je(vo),this.buildViewSpecs=Je(Xr),this.buildDateProfileGenerator=Ke(ko),this.buildViewApi=Je(To),this.buildViewUiProps=Ke(Po),this.buildEventUiBySource=Je(Mo,Be),this.buildEventUiBases=Je(zo),this.parseContextBusinessHours=Ke(Oo),this.buildTitle=Je(Ro),this.emitter=new Cr,this.actionRunner=new Do(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),o=r.calendarOptions.initialView||r.pluginHooks.initialView,i=this.computeCurrentViewData(o,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(i.options);var a=function(e,t){var n=e.initialDate;return null!=n?t.createMarker(n):xn(e.now,t)}(r.calendarOptions,r.dateEnv),s=i.dateProfileGenerator.build(a);$t(s.activeRange,a)||(a=s.currentRange.start);for(var l={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},c=0,u=r.pluginHooks.contextInit;c<u.length;c++){(0,u[c])(l)}for(var d=$r(r.calendarOptions,s,l),f={dynamicOptionOverrides:n,currentViewType:o,currentDate:a,dateProfile:s,businessHours:this.parseContextBusinessHours(l),eventSources:d,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(l).selectionConfig},p=(0,A.pi)((0,A.pi)({},l),f),h=0,g=r.pluginHooks.reducers;h<g.length;h++){var v=g[h];(0,A.pi)(f,v(null,null,p))}Ho(f,l)&&this.emitter.trigger("loading",!0),this.state=f,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?(0,A.pi)((0,A.pi)({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,r=t.state,o=t.emitter,i=function(e,t){var n;return"SET_OPTION"===t.type?(0,A.pi)((0,A.pi)({},e),((n={})[t.optionName]=t.rawOptionValue,n)):e}(r.dynamicOptionOverrides,e),a=this.computeOptionsData(n.optionOverrides,i,n.calendarApi),s=function(e,t){"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType);return e}(r.currentViewType,e),l=this.computeCurrentViewData(s,a,n.optionOverrides,i);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(l.options);var c={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},u=r.currentDate,d=r.dateProfile;this.data&&this.data.dateProfileGenerator!==l.dateProfileGenerator&&(d=l.dateProfileGenerator.build(u)),u=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(u,e),d=function(e,t,n,r){var o;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((o=r.buildPrev(e,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(e,n)).isValid)return o}return e}(d,e,u,l.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&$t(d.currentRange,u)||(u=d.currentRange.start);for(var f=eo(r.eventSources,e,d,c),p=lo(r.eventStore,e,f,d,c),h=to(f)&&!l.options.progressiveEventRendering&&r.renderableEventStore||p,g=this.buildViewUiProps(c),v=g.eventUiSingleBase,m=g.selectionConfig,y=this.buildEventUiBySource(f),C={dynamicOptionOverrides:i,currentViewType:s,currentDate:u,dateProfile:d,eventSources:f,eventStore:p,renderableEventStore:h,selectionConfig:m,eventUiBases:this.buildEventUiBases(h.defs,v,y),businessHours:this.parseContextBusinessHours(c),dateSelection:fo(r.dateSelection,e),eventSelection:po(r.eventSelection,e),eventDrag:ho(r.eventDrag,e),eventResize:go(r.eventResize,e)},E=(0,A.pi)((0,A.pi)({},c),C),b=0,w=a.pluginHooks.reducers;b<w.length;b++){var S=w[b];(0,A.pi)(C,S(r,e,E))}var D=Ho(r,c),R=Ho(C,c);!D&&R?o.trigger("loading",!0):D&&!R&&o.trigger("loading",!1),this.state=C,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e,t,n,r,o,i,a,s,l,c=this.props,u=this.state,d=this.data,f=this.computeOptionsData(c.optionOverrides,u.dynamicOptionOverrides,c.calendarApi),p=this.computeCurrentViewData(u.currentViewType,f,c.optionOverrides,u.dynamicOptionOverrides),h=this.data=(0,A.pi)((0,A.pi)((0,A.pi)({viewTitle:this.buildTitle(u.dateProfile,p.options,f.dateEnv),calendarApi:c.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},f),p),u),g=f.pluginHooks.optionChangeHandlers,v=d&&d.calendarOptions,m=f.calendarOptions;if(v&&v!==m)for(var y in v.timeZone!==m.timeZone&&(u.eventSources=h.eventSources=(i=h.eventSources,a=u.dateProfile,s=h,l=a?a.activeRange:null,oo(i,ao(i,s),l,!0,s)),u.eventStore=h.eventStore=(e=h.eventStore,t=d.dateEnv,n=h.dateEnv,r=e.defs,o=Se(e.instances,(function(e){var o=r[e.defId];return o.allDay||o.recurringDef?e:(0,A.pi)((0,A.pi)({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})})),{defs:r,instances:o})),g)v[y]!==m[y]&&g[y](m[y],h);c.onData&&c.onData(h)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;No(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,e,t,a),u=this.buildTheme(o,i);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:u,toolbarConfig:this.parseToolbars(o,e,u,c,n),localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=bt([vt,e,t]),r=n.locales,o=n.locale,i=this.organizeRawLocales(r),a=i.map,s=this.buildLocale(o||i.defaultCode,a).options,l=this.buildPluginHooks(e.plugins||[],wo),c=this.currentCalendarOptionsRefiners=(0,A.pi)((0,A.pi)((0,A.pi)((0,A.pi)((0,A.pi)({},gt),At),mt),l.listenerRefiners),l.optionRefiners),u={},d=bt([vt,s,e,t]),f={},p=this.currentCalendarOptionsInput,h=this.currentCalendarOptionsRefined,g=!1;for(var v in d)"plugins"!==v&&(d[v]===p[v]||yt[v]&&v in p&&yt[v](p[v],d[v])?f[v]=h[v]:c[v]?(f[v]=c[v](d[v]),g=!0):u[v]=p[v]);return g&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=f),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:i,localeDefaults:s,extra:u}},e.prototype._computeCurrentViewData=function(e,t,n,r){var o=t.viewSpecs[e];if(!o)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,r),a=i.refinedOptions;return No(i.extra),{viewSpec:o,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var i=bt([vt,e.optionDefaults,n,r,e.optionOverrides,o]),a=(0,A.pi)((0,A.pi)((0,A.pi)((0,A.pi)((0,A.pi)((0,A.pi)({},gt),At),mt),Et),t.listenerRefiners),t.optionRefiners),s={},l=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,u=!1,d={};for(var f in i)i[f]===l[f]||yt[f]&&yt[f](i[f],l[f])?s[f]=c[f]:(i[f]===this.currentCalendarOptionsInput[f]||yt[f]&&yt[f](i[f],this.currentCalendarOptionsInput[f])?f in this.currentCalendarOptionsRefined&&(s[f]=this.currentCalendarOptionsRefined[f]):a[f]?s[f]=a[f](i[f]):d[f]=i[f],u=!0);return u&&(this.currentViewOptionsInput=i,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}},e}();function Io(e,t,n,r,o,i,a,s){var l=_n(t||a.defaultCode,a.map);return new Un({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function xo(e,t){return new(t.themeClasses[e.themeSystem]||Nr)(e)}function ko(e){return new(e.dateProfileGeneratorClass||Kr)(e)}function To(e,t,n){return new Dn(e,t,n)}function Mo(e){return Se(e,(function(e){return e.ui}))}function zo(e,t,n){var r={"":t};for(var o in e){var i=e[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function Po(e){var t=e.options;return{eventUiSingleBase:Pt({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:Pt({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function Ho(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(e))return!0}return!1}function Oo(e){return Yn(e.options.businessHours,e)}function No(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}var Uo=function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new Bo({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}return(0,A.ZT)(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)},t}(m);var Wo=function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return e.prototype.addSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];this.insertEntry(o,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,o=[],i=e.span,a=t.span;return i.start<a.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:a.start}},o)),i.end>a.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.end,end:i.end}},o)),r?(n.push.apply(n,(0,A.ev)([{index:e.index,thickness:e.thickness,span:_o(a,i)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(Vo(r,t.level,t.levelCoord),Vo(n,t.level,[e])):Vo(n[t.level],t.lateral,e),this.stackCnts[Fo(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,o=t.strictOrder,i=t.stackCnts,a=n.length,s=0,l=-1,c=-1,u=null,d=0,f=0;f<a;f+=1){var p=n[f];if(!o&&p>=s+e.thickness)break;for(var h=r[f],g=void 0,v=jo(h,e.span.start,Lo),A=v[0]+v[1];(g=h[A])&&g.span.start<e.span.end;){var m=p+g.thickness;m>s&&(s=m,u=g,l=f,c=A),m===s&&(d=Math.max(d,i[Fo(g)]+1)),A+=1}}var y=0;if(u)for(y=l+1;y<a&&n[y]<s;)y+=1;var C=-1;return y<a&&n[y]===s&&(C=jo(r[y],e.span.end,Lo)[0]),{touchingLevel:l,touchingLateral:c,touchingEntry:u,stackCnt:d,levelCoord:s,level:y,lateral:C}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],o=0;o<n;o+=1)for(var i=e[o],a=t[o],s=0,l=i;s<l.length;s++){var c=l[s];r.push((0,A.pi)((0,A.pi)({},c),{levelCoord:a}))}return r},e}();function Lo(e){return e.span.end}function Fo(e){return e.index+":"+e.span.start}function qo(e){for(var t,n,r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=[],l={span:a.span,entries:[a]},c=0,u=r;c<u.length;c++){var d=u[c];_o(d.span,l.span)?l={entries:d.entries.concat(l.entries),span:(t=d.span,n=l.span,{start:Math.min(t.start,n.start),end:Math.max(t.end,n.end)})}:s.push(d)}s.push(l),r=s}return r}function _o(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function Vo(e,t,n){e.splice(t,0,n)}function jo(e,t,n){var r=0,o=e.length;if(!o||t<n(e[r]))return[0,0];if(t>n(e[o-1]))return[o,0];for(;r<o;){var i=Math.floor(r+(o-r)/2),a=n(e[i]);if(t<a)o=i;else{if(!(t>a))return[i,1];r=i+1}}return[r,0]}var Zo=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function Yo(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}function Go(e){var t;return(t={})[e.component.uid]=e,t}var Qo={},Xo=function(){function e(e,t){this.emitter=new Cr}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),Jo={},Ko={startTime:Oe,duration:Oe,create:Boolean,sourceId:String};function $o(e){var t=wt(e,Ko),n=t.refined,r=t.extra;return{startTime:n.startTime||null,duration:n.duration||null,create:null==n.create||n.create,sourceId:n.sourceId,leftoverProps:r}}var ei=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return y.apply(void 0,(0,A.ev)(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],o=!0,i=0,a=e;i<a.length;i++){var s=a[i],l=s.buttonName,c=s.buttonClick,u=s.buttonText,d=s.buttonIcon,f=s.buttonHint;if("title"===l)o=!1,r.push(y("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var p=l===t.activeButton,h=!t.isTodayEnabled&&"today"===l||!t.isPrevEnabled&&"prev"===l||!t.isNextEnabled&&"next"===l,g=["fc-"+l+"-button",n.getClass("button")];p&&g.push(n.getClass("buttonActive")),r.push(y("button",{type:"button",title:"function"==typeof f?f(t.navUnit):f,disabled:h,"aria-pressed":p,className:g.join(" "),onClick:c},u||(d?y("span",{className:d}):"")))}}if(r.length>1){var v=o&&n.getClass("buttonGroup")||"";return y.apply(void 0,(0,A.ev)(["div",{className:v}],r))}return r[0]},t}(kr),ti=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,o=n.extraClassName,i=!1,a=r.sectionWidgets,s=a.center;return a.left?(i=!0,e=a.left):e=a.start,a.right?(i=!0,t=a.right):t=a.end,y("div",{className:[o||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return y(ei,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},t}(kr),ni=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,zr(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",i="";return n?null!==t.availableWidth?o=t.availableWidth/n:i=1/n*100+"%":o=e.height||"",y("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:i}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(kr),ri=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,o=r.context,i=nn(t);if(i&&r.isValidSegDownEl(e.target)){var a=B(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new Tn(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=W(t.el,"click",".fc-event",n.handleSegClick),n}return(0,A.ZT)(t,e),t}(Zo),oi=function(e){function t(t){var n,r,o,i,a,s=e.call(this,t)||this;return s.handleEventElRemove=function(e){e===s.currentSegEl&&s.handleSegLeave(null,s.currentSegEl)},s.handleSegEnter=function(e,t){nn(t)&&(s.currentSegEl=t,s.triggerEvent("eventMouseEnter",e,t))},s.handleSegLeave=function(e,t){s.currentSegEl&&(s.currentSegEl=null,s.triggerEvent("eventMouseLeave",e,t))},s.removeHoverListeners=(n=t.el,r=".fc-event",o=s.handleSegEnter,i=s.handleSegLeave,W(n,"mouseover",r,(function(e,t){if(t!==a){a=t,o(e,t);var n=function(e){a=null,i(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}))),s}return(0,A.ZT)(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=nn(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new Tn(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(Zo),ii=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=Je(Ir),t.buildViewPropTransformers=Je(si),t.buildToolbarProps=Je(ai),t.headerRef=C(),t.footerRef=C(),t.interactionsStore={},t.state={viewLabelId:N()},t.registerInteractiveComponent=function(e,n){var r=Yo(e,n),o=[ri,oi].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));t.interactionsStore[e.uid]=o,Qo[e.uid]=r},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0,o=n;r<o.length;r++){o[r].destroy()}delete t.interactionsStore[e.uid]}delete Qo[e.uid]},t.resizeRunner=new So((function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})})),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,o=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,xn(t.options.now,t.dateEnv),t.viewTitle),i=!1,a="";t.isHeightAuto||t.forPrint?a="":null!=r.height?i=!0:null!=r.contentHeight?a=r.contentHeight:e=Math.max(r.aspectRatio,.5);var s=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return y(Br.Provider,{value:s},n.header&&y(ti,(0,A.pi)({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},o)),y(ni,{liquid:i,height:a,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&y(ti,(0,A.pi)({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},o)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++){t[e].destroy()}this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return y.apply(void 0,(0,A.ev)([E,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=0,i=this.buildViewPropTransformers(t.viewPropsTransformers);o<i.length;o++){var a=i[o];(0,A.pi)(r,a.transform(r,e))}var s=n.component;return y(s,(0,A.pi)({},r))},t}(xr);function ai(e,t,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:i,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!$t(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function si(e){return e.map((function(e){return new e}))}var li=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,o=r||null==t.height?"":t.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")];return er()||i.push("fc-liquid-hack"),e.children(i,o,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(kr);function ci(e,t){return ht(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var ui="fc-col-header-cell";function di(e){return e.text}var fi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,o=e.viewApi,i=this.props,a=i.date,s=i.dateProfile,l=or(a,i.todayRange,null,s),c=[ui].concat(ir(l,r)),u=t.format(a,i.dayHeaderFormat),d=!l.isDisabled&&i.colCnt>1?cr(this.context,a):{},f=(0,A.pi)((0,A.pi)((0,A.pi)({date:t.toDate(a),view:o},i.extraHookProps),{text:u}),l);return y(Wr,{hookProps:f,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:di,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return y("th",(0,A.pi)({ref:e,role:"columnheader",className:c.concat(t).join(" "),"data-date":l.isDisabled?void 0:Ye(a),colSpan:i.colSpan},i.extraDataAttrs),y("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&y("a",(0,A.pi)({ref:n,className:["fc-col-header-cell-cushion",i.isSticky?"fc-sticky":""].join(" ")},d),r)))}))},t}(kr),pi=ht({weekday:"long"}),hi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,o=t.viewApi,i=t.options,a=se(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=[ui].concat(ir(s,r),e.extraClassNames||[]),c=n.format(a,e.dayHeaderFormat),u=(0,A.pi)((0,A.pi)((0,A.pi)((0,A.pi)({date:a},s),{view:o}),e.extraHookProps),{text:c});return y(Wr,{hookProps:u,classNames:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:di,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},(function(t,r,o,i){return y("th",(0,A.pi)({ref:t,role:"columnheader",className:l.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),y("div",{className:"fc-scrollgrid-sync-inner"},y("a",{"aria-label":n.format(a,pi),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(kr),gi=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=xn(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=le(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(r,Oe(1,e.unit)),i=o.valueOf()-n.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:r,todayRange:vi(r)},nextState:{nowDate:o,todayRange:vi(o)},waitMs:i}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=Br,t}(m);function vi(e){var t=de(e);return{start:t,end:se(t,1)}}!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=Je(Ai),t}(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,o=t.datesRepDistinctDays,i=t.renderIntro,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,o,n.length);return y(gi,{unit:"day"},(function(e,t){return y("tr",{role:"row"},i&&i("day"),n.map((function(e){return o?y(fi,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):y(hi,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})})))}))}}(kr);function Ai(e,t,n){return e||ci(t,n)}(function(){function e(e,t){for(var n=e.start,r=e.end,o=[],i=[],a=-1;n<r;)t.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=se(n,1);this.dates=i,this.indices=o,this.cnt=i.length}e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(se(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(ce(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]}})(),function(){function e(e,t){var n,r,o,i=e.dates;if(t){for(r=i[0].getUTCDay(),n=1;n<i.length&&i[n].getUTCDay()!==r;n+=1);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/t),l=Math.min((s+1)*t,i+1);r.push({row:s,firstCol:a%t,lastCol:(l-1)%t,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r}}();var mi=function(){function e(){this.sliceBusinessHours=Je(this._sliceBusinessHours),this.sliceDateSelection=Je(this._sliceDateSpan),this.sliceEventStore=Je(this._sliceEventStore),this.sliceEventDrag=Je(this._sliceInteraction),this.sliceEventResize=Je(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var a=e.eventUiBases,s=this.sliceEventStore.apply(this,(0,A.ev)([e.eventStore,a,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,(0,A.ev)([e.dateSelection,a,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,(0,A.ev)([e.businessHours,t,n,r],o)),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag.apply(this,(0,A.ev)([e.eventDrag,a,t,n],o)),eventResize:this.sliceEventResize.apply(this,(0,A.ev)([e.eventResize,a,t,n],o)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,(0,A.ev)([{range:{start:e,end:le(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];return e?this._sliceEventStore.apply(this,(0,A.ev)([Me(e,yi(t,Boolean(n)),r),{},t,n],o)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(e){var a=en(e,t,yi(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!e)return null;var a=en(e.mutatedEvents,t,yi(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];if(!e)return[];for(var i=mn(e,t,n),a=this.sliceRange.apply(this,(0,A.ev)([e.range],r)),s=0,l=a;s<l.length;s++){var c=l[s];c.eventRange=i}return a},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:se(n.start,1)});for(var r=this.sliceRange.apply(this,(0,A.ev)([n],t)),o=0,i=r;o<i.length;o++){var a=i[o];a.eventRange=e,a.isStart=e.isStart&&a.isStart,a.isEnd=e.isEnd&&a.isEnd}return r},e}();function yi(e,t){var n=e.activeRange;return t?n:{start:le(n.start,e.slotMinTime.milliseconds),end:le(n.end,e.slotMaxTime.milliseconds-864e5)}}function Ci(e,t,n){var r=e.mutatedEvents.instances;for(var o in r)if(!Kt(t.validRange,r[o].range))return!1;return bi({eventDrag:e},n)}function Ei(e,t,n){return!!Kt(t.validRange,e.range)&&bi({dateSelection:e},n)}function bi(e,t){var n=t.getCurrentData(),r=(0,A.pi)({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||wi)(r,t)}function wi(e,t,n,r){return void 0===n&&(n={}),!(e.eventDrag&&!function(e,t,n,r){var o=t.getCurrentData(),i=e.eventDrag,a=i.mutatedEvents,s=a.defs,l=a.instances,c=rn(s,i.isEvent?e.eventUiBases:{"":o.selectionConfig});r&&(c=Se(c,r));var u=(h=e.eventStore,g=i.affectedEvents.instances,{defs:h.defs,instances:we(h.instances,(function(e){return!g[e.instanceId]}))}),d=u.defs,f=u.instances,p=rn(d,e.eventUiBases);var h,g;for(var v in l){var m=l[v],y=m.range,C=c[m.defId],E=s[m.defId];if(!Si(C.constraints,y,u,e.businessHours,t))return!1;var b=t.options.eventOverlap,w="function"==typeof b?b:null;for(var S in f){var D=f[S];if(Jt(y,D.range)){if(!1===p[D.defId].overlap&&i.isEvent)return!1;if(!1===C.overlap)return!1;if(w&&!w(new Tn(t,d[D.defId],D),new Tn(t,E,m)))return!1}}for(var R=o.eventStore,B=0,I=C.allows;B<I.length;B++){var x=I[B],k=(0,A.pi)((0,A.pi)({},n),{range:m.range,allDay:E.allDay}),T=R.defs[E.defId],M=R.instances[v],z=void 0;if(z=T?new Tn(t,T,M):new Tn(t,E),!x(Cn(k,t),z))return!1}}return!0}(e,t,n,r))&&!(e.dateSelection&&!function(e,t,n,r){var o=e.eventStore,i=o.defs,a=o.instances,s=e.dateSelection,l=s.range,c=t.getCurrentData().selectionConfig;r&&(c=r(c));if(!Si(c.constraints,l,o,e.businessHours,t))return!1;var u=t.options.selectOverlap,d="function"==typeof u?u:null;for(var f in a){var p=a[f];if(Jt(l,p.range)){if(!1===c.overlap)return!1;if(d&&!d(new Tn(t,i[p.defId],p),null))return!1}}for(var h=0,g=c.allows;h<g.length;h++){if(!(0,g[h])(Cn((0,A.pi)((0,A.pi)({},n),s),t),null))return!1}return!0}(e,t,n,r))}function Si(e,t,n,r,o){for(var i=0,a=e;i<a.length;i++){if(!Bi(Di(a[i],t,n,r,o),t))return!1}return!0}function Di(e,t,n,r,o){return"businessHours"===e?Ri(Me(r,t,o)):"string"==typeof e?Ri(kt(n,(function(t){return t.groupId===e}))):"object"==typeof e&&e?Ri(Me(e,t,o)):[]}function Ri(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function Bi(e,t){for(var n=0,r=e;n<r.length;n++){if(Kt(r[n],t))return!0}return!1}var Ii=/^(visible|hidden)$/,xi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,zr(t.props.elRef,e)},t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),y("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(Ii.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(Ii.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return Ii.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return Ii.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(kr),ki=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==e?(a=n in i,i[n]=e,o[n]=(o[n]||0)+1,s=!0):(o[n]-=1,o[n]||(delete i[n],delete t.callbackMap[n],a=!0)),t.masterCallback&&(a&&t.masterCallback(null,String(n)),s&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return Te(this.currentMap,e,t,n)},e.prototype.getAll=function(){return Re(this.currentMap)},e}();function Ti(e){for(var t=0,n=0,r=x(e,".fc-scrollgrid-shrink");n<r.length;n++){var o=r[n];t=Math.max(t,ie(o))}return Math.ceil(t)}function Mi(e,t){return e.liquid&&t.liquid}function zi(e,t){return null!=t.maxHeight||Mi(e,t)}function Pi(e,t,n,r){var o=n.expandRows;return"function"==typeof t.content?t.content(n):y("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,y(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function Hi(e,t){return Xe(e,t,Be)}function Oi(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var i=o[r],a=i.span||1,s=0;s<a;s+=1)n.push(y("col",{style:{width:"shrink"===i.width?Ni(t):i.width||"",minWidth:i.minWidth||""}}));return y.apply(void 0,(0,A.ev)(["colgroup",{}],n))}function Ni(e){return null==e?4:e}function Ui(e){for(var t=0,n=e;t<n.length;t++){if("shrink"===n[t].width)return!0}return!1}function Wi(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function Li(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function Fi(e){return y("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function qi(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function _i(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=Je((function(e){return e}),Hi),t.renderMicroColGroup=Je(Oi),t.scrollerRefs=new ki,t.scrollerElRefs=new ki(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.safeSetState((0,A.pi)({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=t.sections||[],i=this.processCols(t.cols),a=this.renderMicroColGroup(i,n.shrinkWidth),s=Wi(t.liquid,r);t.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");for(var l,c=o.length,u=0,d=[],f=[],p=[];u<c&&"header"===(l=o[u]).type;)d.push(this.renderSection(l,a,!0)),u+=1;for(;u<c&&"body"===(l=o[u]).type;)f.push(this.renderSection(l,a,!1)),u+=1;for(;u<c&&"footer"===(l=o[u]).type;)p.push(this.renderSection(l,a,!0)),u+=1;var h=!er(),g={role:"rowgroup"};return y("table",{role:"grid",className:s.join(" "),style:{height:t.height}},Boolean(!h&&d.length)&&y.apply(void 0,(0,A.ev)(["thead",g],d)),Boolean(!h&&f.length)&&y.apply(void 0,(0,A.ev)(["tbody",g],f)),Boolean(!h&&p.length)&&y.apply(void 0,(0,A.ev)(["tfoot",g],p)),h&&y.apply(void 0,(0,A.ev)((0,A.ev)((0,A.ev)(["tbody",g],d),f),p)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?y(E,{key:e.key},e.outerContent):y("tr",{key:e.key,role:"presentation",className:Li(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var o=this.props,i=this.state,a=i.forceYScrollbars,s=i.scrollerClientWidths,l=i.scrollerClientHeights,c=zi(o,e),u=Mi(o,e),d=o.liquid?a?"scroll":c?"auto":"hidden":"visible",f=e.key,p=Pi(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[f]?null:s[f],clientHeight:void 0!==l[f]?l[f]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return y(r?"th":"td",{ref:n.elRef,role:"presentation"},y("div",{className:"fc-scroller-harness"+(u?" fc-scroller-harness-liquid":"")},y(xi,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:d,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:u,liquidIsAbsolute:!0},p)))},t.prototype._handleScrollerEl=function(e,t){var n=function(e,t){for(var n=0,r=e;n<r.length;n++){var o=r[n];if(o.key===t)return o}return null}(this.props.sections,t);n&&zr(n.chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return Ui(this.props.cols)?Ti(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=pr(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},i={};for(var a in t.currentMap){var s=t.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,c=this.props.sections;l<c.length;l++){a=c[l].key;var u=n.currentMap[a];if(u){var d=u.parentNode;o[a]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),i[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:i}},t})(kr).addStateEquality({scrollerClientWidths:Be,scrollerClientHeights:Be});var Vi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=C(),t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,o=r.eventRange,i=o.ui,a={event:new Tn(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,isDraggable:!e.disableDragging&&ln(r,t),isStartResizable:!e.disableResizing&&cn(r,t),isEndResizable:!e.disableResizing&&un(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)},s=function(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}(a).concat(i.classNames);return y(Wr,{hookProps:a,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(t,n,r,o){return e.children(t,s.concat(n),r,o,a)}))},t.prototype.componentDidMount=function(){tn(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&tn(this.elRef.current,t)},t}(kr),ji=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=t.options.eventTimeFormat||e.defaultTimeFormat,o=function(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,c=l.displayEventTime,u=l.displayEventEnd,d=e.eventRange.def,f=e.eventRange.instance;null==c&&(c=!1!==r),null==u&&(u=!1!==o);var p=f.range.start,h=f.range.end,g=i||e.start||e.eventRange.range.start,v=a||e.end||e.eventRange.range.end,A=de(p).valueOf()===de(g).valueOf(),m=de(le(h,-1)).valueOf()===de(le(v,-1)).valueOf();return c&&!d.allDay&&(A||m)?(g=A?p:g,v=m?h:v,u&&d.hasEnd?s.formatRange(g,v,t,{forcedStartTzo:i?null:f.forcedStartTzo,forcedEndTzo:a?null:f.forcedEndTzo}):s.format(g,t,{forcedTzo:i?null:f.forcedStartTzo})):""}(n,r,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return y(Vi,{seg:n,timeText:o,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||Zi,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(r,o,i,a,s){return y("a",(0,A.pi)({className:e.extraClassNames.concat(o).join(" "),style:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},ref:r},function(e,t){var n=e.eventRange,r=n.def,o=n.instance,i=r.url;if(i)return{href:i};var a=t.emitter,s=t.options.eventInteractive;return null==s&&null==(s=r.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s?q((function(e){a.trigger("eventClick",{el:e.target,event:new Tn(t,r,o),jsEvent:e,view:t.viewApi})})):{}}(n,t)),y("div",{className:"fc-event-main",ref:i,style:{color:s.textColor}},a),s.isStartResizable&&y("div",{className:"fc-event-resizer fc-event-resizer-start"}),s.isEndResizable&&y("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t}(kr);function Zi(e){return y("div",{className:"fc-event-main-frame"},e.timeText&&y("div",{className:"fc-event-time"},e.timeText),y("div",{className:"fc-event-title-container"},y("div",{className:"fc-event-title fc-sticky"},e.event.title||y(E,null," "))))}var Yi=function(e){return y(Br.Consumer,null,(function(t){var n=t.options,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return y(Wr,{hookProps:r,classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)}))},Gi=ht({day:"numeric"}),Qi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=Xi({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return y(Fr,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(kr);function Xi(e){var t=e.date,n=e.dateEnv,r=or(t,e.todayRange,null,e.dateProfile);return(0,A.pi)((0,A.pi)((0,A.pi)({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,Gi):""}),e.extraProps)}var Ji=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=Ke(Xi),t.normalizeClassNames=Vr(),t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),o=ir(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),i=r.isDisabled?{}:{"data-date":Ye(e.date)};return y(_r,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},(function(t){return e.children(t,o,i,r.isDisabled)}))},t}(kr);function Ki(e){return y("div",{className:"fc-"+e})}var $i=function(e){return y(Vi,{defaultContent:ea,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(e,t,n,r,o){return y("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function ea(e){return e.event.title&&y("div",{className:"fc-event-title"},e.event.title)}var ta=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:N()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&zr(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=P(e);t.rootEl.contains(n)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,o=this.state,i=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return w(y("div",(0,A.pi)({id:r.id,className:i.join(" "),"aria-labelledby":o.titleId},r.extraAttrs,{ref:this.handleRootEl}),y("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},y("span",{className:"fc-popover-title",id:o.titleId},r.title),y("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),y("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,o=this.rootEl,i=function(e){for(var t=mr(e),n=e.getBoundingClientRect(),r=0,o=t;r<o.length;r++){var i=Qn(n,o[r].getBoundingClientRect());if(!i)return null;n=i}return n}(n);if(i){var a=o.getBoundingClientRect(),s=r?B(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=e?i.right-a.width:i.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-a.width),l=Math.max(l,10);var c=o.offsetParent.getBoundingClientRect();M(o,{top:s-c.top,left:l-c.left})}},t}(kr),na=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,o=r.startDate,i=r.todayRange,a=r.dateProfile,s=n.format(o,t.dayPopoverFormat);return y(Ji,{date:o,dateProfile:a,todayRange:i,elRef:this.handleRootEl},(function(e,t,n){return y(ta,{elRef:e,id:r.id,title:s,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},y(Qi,{date:o,dateProfile:a,todayRange:i},(function(e,t){return t&&y("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var o=this.rootEl,i=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:i.dateProfile,dateSpan:(0,A.pi)({allDay:!0,range:{start:i.startDate,end:i.endDate}},i.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(Pr),ra=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=C(),t.state={isPopoverOpen:!1,popoverId:N()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,i=o.options.moreLinkClick,a=ia(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,i=t.range;return{event:new Tn(o,n,r),start:o.dateEnv.toDate(i.start),end:o.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof i&&(i=i({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:e,view:o.viewApi})),i&&"popover"!==i?"string"==typeof i&&o.calendarApi.zoomTo(a,i):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return(0,A.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return y(Br.Consumer,null,(function(r){var o=r.viewApi,i=r.options,a=r.calendarApi,s=i.moreLinkText,l=t.moreCnt,c=ia(t),u="function"==typeof s?s.call(a,l):"+"+l+" "+s,d=ne(i.moreLinkHint,[l],u),f={num:l,shortText:"+"+l,text:u,view:o};return y(E,null,Boolean(t.moreCnt)&&y(Wr,{elRef:e.linkElRef,hookProps:f,classNames:i.moreLinkClassNames,content:i.moreLinkContent,defaultContent:t.defaultContent||oa,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},(function(r,o,i,a){return t.children(r,["fc-more-link"].concat(o),i,a,e.handleClick,d,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")})),n.isPopoverOpen&&y(na,{id:n.popoverId,startDate:c.start,endDate:c.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef.current,alignGridTop:t.alignGridTop,onClose:e.handlePopoverClose},t.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=B(this.linkElRef.current,".fc-view-harness"))},t}(kr);function oa(e){return e.text}function ia(e){if(e.allDayDate)return{start:e.allDayDate,end:se(e.allDayDate,1)};var t,n=e.hiddenSegs;return{start:aa(n),end:(t=n,t.reduce(la).eventRange.range.end)}}function aa(e){return e.reduce(sa).eventRange.range.start}function sa(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function la(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}},46842:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>k});var r=n(32703),o=n(70655);
|
|
8
8
|
/*!
|
|
9
9
|
FullCalendar v5.11.3
|
|
10
10
|
Docs & License: https://fullcalendar.io/
|
|
11
11
|
(c) 2022 Adam Shaw
|
|
12
12
|
*/
|
|
13
|
-
r.vc.touchMouseIgnoreWait=500;var i=0,a=0,s=!1,l=function(){function e(e){var t=this;this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){if(!t.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&t.tryStart(e)){var n=t.createEventFromMouse(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n),t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove),document.addEventListener("mouseup",t.handleMouseUp)}},this.handleMouseMove=function(e){var n=t.createEventFromMouse(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",t.handleMouseMove),document.removeEventListener("mouseup",t.handleMouseUp),t.emitter.trigger("pointerup",t.createEventFromMouse(e)),t.cleanup()},this.handleTouchStart=function(e){if(t.tryStart(e)){t.isTouchDragging=!0;var n=t.createEventFromTouch(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n);var r=e.target;t.shouldIgnoreMove||r.addEventListener("touchmove",t.handleTouchMove),r.addEventListener("touchend",t.handleTouchEnd),r.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var n=t.createEventFromTouch(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(e){if(t.isDragging){var n=e.target;n.removeEventListener("touchmove",t.handleTouchMove),n.removeEventListener("touchend",t.handleTouchEnd),n.removeEventListener("touchcancel",t.handleTouchEnd),window.removeEventListener("scroll",t.handleTouchScroll,!0),t.emitter.trigger("pointerup",t.createEventFromTouch(e)),t.cleanup(),t.isTouchDragging=!1,i+=1,setTimeout((function(){i-=1}),r.vc.touchMouseIgnoreWait)}},this.handleTouchScroll=function(){t.wasTouchScroll=!0},this.handleScroll=function(e){if(!t.shouldIgnoreMove){var n=window.pageXOffset-t.prevScrollX+t.prevPageX,r=window.pageYOffset-t.prevScrollY+t.prevPageY;t.emitter.trigger("pointermove",{origEvent:e,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:n,pageY:r,deltaX:n-t.origPageX,deltaY:r-t.origPageY})}},this.containerEl=e,this.emitter=new r.Q5$,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(a+=1)&&window.addEventListener("touchmove",c,{passive:!1})}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(a-=1)||window.removeEventListener("touchmove",c,{passive:!1})},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!(0,r.x_n)(n,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)},e.prototype.cleanup=function(){s=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()},e.prototype.querySubjectEl=function(e){return this.selector?(0,r.x_n)(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return i||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(s=!0)},e.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},e.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},e.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},e.prototype.createEventFromMouse=function(e,t){var n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}},e.prototype.createEventFromTouch=function(e,t){var n,r,o=e.touches,i=0,a=0;return o&&o.length?(n=o[0].pageX,r=o[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(i=n-this.origPageX,a=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:i,deltaY:a}},e}();function c(e){s&&e.preventDefault()}var u=function(){function e(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return e.prototype.start=function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},e.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},e.prototype.setIsVisible=function(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)},e.prototype.stop=function(e,t){var n=this,r=function(){n.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)},e.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,o=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",(0,r.bg6)(n,{left:o.left,top:o.top}),(0,r.ONu)(n,(function(){n.style.transition="",e()}))},e.prototype.cleanup=function(){this.mirrorEl&&((0,r.bXf)(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&(0,r.bg6)(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},e.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),t.classList.add("fc-event-dragging"),(0,r.bg6)(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t},e}(),d=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(r.Qgo),f=function(e){function t(t,n){return e.call(this,new r.A9I(t),n)||this}return(0,o.ZT)(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return(0,r.skW)(this.scrollController.el)},t}(d),p=function(e){function t(t){return e.call(this,new r.Obu,t)||this}return(0,o.ZT)(t,e),t.prototype.getEventTarget=function(){return window},t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(d),h="function"==typeof performance?performance.now:Date.now,g=function(){function e(){var e=this;this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){if(e.isAnimating){var t=e.computeBestEdge(e.pointerScreenX+window.pageXOffset,e.pointerScreenY+window.pageYOffset);if(t){var n=h();e.handleSide(t,(n-e.msSinceRequest)/1e3),e.requestAnimation(n)}else e.isAnimating=!1}}}return e.prototype.start=function(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))},e.prototype.handleMove=function(e,t){if(this.isEnabled){var n=e-window.pageXOffset,r=t-window.pageYOffset,o=null===this.pointerScreenY?0:r-this.pointerScreenY,i=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),i<0?this.everMovedLeft=!0:i>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(h()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}this.scrollCaches=null}},e.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},e.prototype.handleSide=function(e,t){var n=e.scrollCache,r=this.edgeThreshold,o=r-e.distance,i=o*o/(r*r)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+i*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+i*a)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,o=0,i=this.scrollCaches||[];o<i.length;o++){var a=i[o],s=a.clientRect,l=e-s.left,c=s.right-e,u=t-s.top,d=s.bottom-t;l>=0&&c>=0&&u>=0&&d>=0&&(u<=n&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"top",distance:u}),d<=n&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"bottom",distance:d}),l<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>l)&&(r={scrollCache:a,name:"left",distance:l}),c<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>c)&&(r={scrollCache:a,name:"right",distance:c}))}return r},e.prototype.buildCaches=function(e){return this.queryScrollEls(e).map((function(e){return e===window?new p(!1):new f(e,!1)}))},e.prototype.queryScrollEls=function(e){for(var t=[],n=0,o=this.scrollQuery;n<o.length;n++){var i=o[n];"object"==typeof i?t.push(i):t.push.apply(t,Array.prototype.slice.call((0,r.xSu)(e).querySelectorAll(i)))}return t},e}(),A=function(e){function t(t,n){var o=e.call(this,t)||this;o.containerEl=t,o.delay=null,o.minDistance=0,o.touchScrollAllowed=!0,o.mirrorNeedsRevert=!1,o.isInteracting=!1,o.isDragging=!1,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,o.delayTimeoutId=null,o.onPointerDown=function(e){o.isDragging||(o.isInteracting=!0,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,(0,r.ZSf)(document.body),(0,r.ipI)(document.body),e.isTouch||e.origEvent.preventDefault(),o.emitter.trigger("pointerdown",e),o.isInteracting&&!o.pointer.shouldIgnoreMove&&(o.mirror.setIsVisible(!1),o.mirror.start(e.subjectEl,e.pageX,e.pageY),o.startDelay(e),o.minDistance||o.handleDistanceSurpassed(e)))},o.onPointerMove=function(e){if(o.isInteracting){if(o.emitter.trigger("pointermove",e),!o.isDistanceSurpassed){var t=o.minDistance,n=e.deltaX,r=e.deltaY;n*n+r*r>=t*t&&o.handleDistanceSurpassed(e)}o.isDragging&&("scroll"!==e.origEvent.type&&(o.mirror.handleMove(e.pageX,e.pageY),o.autoScroller.handleMove(e.pageX,e.pageY)),o.emitter.trigger("dragmove",e))}},o.onPointerUp=function(e){o.isInteracting&&(o.isInteracting=!1,(0,r.sGN)(document.body),(0,r.N0T)(document.body),o.emitter.trigger("pointerup",e),o.isDragging&&(o.autoScroller.stop(),o.tryStopDrag(e)),o.delayTimeoutId&&(clearTimeout(o.delayTimeoutId),o.delayTimeoutId=null))};var i=o.pointer=new l(t);return i.emitter.on("pointerdown",o.onPointerDown),i.emitter.on("pointermove",o.onPointerMove),i.emitter.on("pointerup",o.onPointerUp),n&&(i.selector=n),o.mirror=new u,o.autoScroller=new g,o}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},t.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},t}(r.KDF),v=function(){function e(e){this.origRect=(0,r.AYo)(e),this.scrollCaches=(0,r.U4g)(e).map((function(e){return new f(e,!0)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}},e.prototype.computeLeft=function(){for(var e=this.origRect.left,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollLeft-r.getScrollLeft()}return e},e.prototype.computeTop=function(){for(var e=this.origRect.top,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollTop-r.getScrollTop()}return e},e.prototype.isWithinClipping=function(e,t){for(var n,o,i={left:e,top:t},a=0,s=this.scrollCaches;a<s.length;a++){var l=s[a];if(n=l.getEventTarget(),o=void 0,"HTML"!==(o=n.tagName)&&"BODY"!==o&&!(0,r.BKI)(i,l.clientRect))return!1}return!0},e}();var m=function(){function e(e,t){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(e),n.initialHit||!n.requireInitial?(t.setIgnoreMove(!1),n.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){n.emitter.trigger("dragstart",e),n.handleMove(e,!0)},this.handleDragMove=function(e){n.emitter.trigger("dragmove",e),n.handleMove(e)},this.handlePointerUp=function(e){n.releaseHits(),n.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,e),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new r.Q5$}return e.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},o=n,i=e.subjectEl;i instanceof HTMLElement&&(t=(0,r.AYo)(i),o=(0,r.Jq9)(o,t));var a=this.initialHit=this.queryHitForOffset(o.left,o.top);if(a){if(this.useSubjectCenter&&t){var s=(0,r.VEA)(t,a.rect);s&&(o=(0,r.iFU)(s))}this.coordAdjust=(0,r.vrY)(o,n)}else this.coordAdjust={left:0,top:0}},e.prototype.handleMove=function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&y(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){this.offsetTrackers=(0,r._aR)(this.droppableStore,(function(e){return e.component.prepareHits(),new v(e.el)}))},e.prototype.releaseHits=function(){var e=this.offsetTrackers;for(var t in e)e[t].destroy();this.offsetTrackers={}},e.prototype.queryHitForOffset=function(e,t){var n=this.droppableStore,o=this.offsetTrackers,i=null;for(var a in n){var s=n[a].component,l=o[a];if(l&&l.isWithinClipping(e,t)){var c=l.computeLeft(),u=l.computeTop(),d=e-c,f=t-u,p=l.origRect,h=p.right-p.left,g=p.bottom-p.top;if(d>=0&&d<h&&f>=0&&f<g){var A=s.queryHit(d,f,h,g);A&&(0,r.urV)(A.dateProfile.activeRange,A.dateSpan.range)&&(!i||A.layer>i.layer)&&(A.componentId=a,A.context=s.context,A.rect.left+=c,A.rect.right+=c,A.rect.top+=u,A.rect.bottom+=u,i=A)}}}return i},e}();function y(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&(0,r.omy)(e.dateSpan,t.dateSpan)}function C(e,t){for(var n,r,i={},a=0,s=t.pluginHooks.datePointTransforms;a<s.length;a++){var l=s[a];(0,o.pi)(i,l(e,t))}return(0,o.pi)(i,(n=e,{date:(r=t.dateEnv).toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),i}var E=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging,r=e.origEvent.target;t.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,i=r.initialHit,a=r.finalHit;if(i&&a&&y(i,a)){var s=t.context,l=(0,o.pi)((0,o.pi)({},C(i.dateSpan,s)),{dayEl:i.dayEl,jsEvent:e.origEvent,view:s.viewApi||s.calendarApi.view});s.emitter.trigger("dateClick",l)}}},n.dragging=new A(t.el),n.dragging.autoScroller.isEnabled=!1;var i=n.hitDragging=new m(n.dragging,(0,r.Rac)(t));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragend",n.handleDragEnd),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.U4m),b=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t=n,r=t.component,o=t.dragging,i=r.context.options.selectable&&r.isValidDateDownEl(e.origEvent.target);o.setIgnoreMove(!i),o.delay=e.isTouch?function(e){var t=e.context.options,n=t.selectLongPressDelay;null==n&&(n=t.longPressDelay);return n}(r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var i=n.component.context,a=null,s=!1;if(e){var l=n.hitDragging.initialHit;e.componentId===l.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(l,e)||(a=function(e,t,n){var i=e.dateSpan,a=t.dateSpan,s=[i.range.start,i.range.end,a.range.start,a.range.end];s.sort(r.z6t);for(var l={},c=0,u=n;c<u.length;c++){var d=(0,u[c])(e,t);if(!1===d)return null;d&&(0,o.pi)(l,d)}return l.range={start:s[0],end:s[3]},l.allDay=i.allDay,l}(l,e,i.pluginHooks.dateSelectionTransformers)),a&&(0,r.g4F)(a,e.dateProfile,i)||(s=!0,a=null)}a?i.dispatch({type:"SELECT_DATES",selection:a}):t||i.dispatch({type:"UNSELECT_DATES"}),s?(0,r.deF)():(0,r._OJ)(),t||(n.dragSelection=a)},n.handlePointerUp=function(e){n.dragSelection&&((0,r.HpC)(n.dragSelection,e,n.component.context),n.dragSelection=null)};var i=t.component.context.options,a=n.dragging=new A(t.el);a.touchScrollAllowed=!1,a.minDistance=i.selectMinDistance||0,a.autoScroller.isEnabled=i.dragScroll;var s=n.hitDragging=new m(n.dragging,(0,r.Rac)(t));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("pointerup",n.handlePointerUp),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.U4m);var w=function(e){function t(n){var i=e.call(this,n)||this;i.subjectEl=null,i.subjectSeg=null,i.isDragging=!1,i.eventRange=null,i.relevantEvents=null,i.receivingContext=null,i.validMutation=null,i.mutatedRelevantEvents=null,i.handlePointerDown=function(e){var t=e.origEvent.target,n=i,o=n.component,a=n.dragging,s=a.mirror,l=o.context.options,c=o.context;i.subjectEl=e.subjectEl;var u=i.subjectSeg=(0,r.BJe)(e.subjectEl),d=(i.eventRange=u.eventRange).instance.instanceId;i.relevantEvents=(0,r.SOE)(c.getCurrentData().eventStore,d),a.minDistance=e.isTouch?0:l.eventDragMinDistance,a.delay=e.isTouch&&d!==o.props.eventSelection?function(e){var t=e.context.options,n=t.eventLongPressDelay;null==n&&(n=t.longPressDelay);return n}(o):null,l.fixedMirrorParent?s.parentNode=l.fixedMirrorParent:s.parentNode=(0,r.x_n)(t,".fc"),s.revertDuration=l.dragRevertDuration;var f=o.isValidSegDownEl(t)&&!(0,r.x_n)(t,".fc-event-resizer");a.setIgnoreMove(!f),i.isDragging=f&&e.subjectEl.classList.contains("fc-event-draggable")},i.handleDragStart=function(e){var t=i.component.context,n=i.eventRange,o=n.instance.instanceId;e.isTouch?o!==i.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:o}):t.dispatch({type:"UNSELECT_EVENT"}),i.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:i.subjectEl,event:new r.voO(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},i.handleHitUpdate=function(e,t){if(i.isDragging){var n=i.relevantEvents,o=i.hitDragging.initialHit,a=i.component.context,s=null,l=null,c=null,u=!1,d={affectedEvents:n,mutatedEvents:(0,r.ifx)(),isEvent:!0};if(e){var f=(s=e.context).options;a===s||f.editable&&f.droppable?(l=function(e,t,n){var o=e.dateSpan,i=t.dateSpan,a=o.range.start,s=i.range.start,l={};o.allDay!==i.allDay&&(l.allDay=i.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,i.allDay&&(a=(0,r.b7Q)(a)));var c=(0,r.Pe9)(a,s,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);c.milliseconds&&(l.allDay=!1);for(var u={datesDelta:c,standardProps:l},d=0,f=n;d<f.length;d++){(0,f[d])(u,e,t)}return u}(o,e,s.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(c=(0,r.rfG)(n,s.getCurrentData().eventUiBases,l,s),d.mutatedEvents=c,(0,r.WoG)(d,e.dateProfile,s)||(u=!0,l=null,c=null,d.mutatedEvents=(0,r.ifx)())):s=null}i.displayDrag(s,d),u?(0,r.deF)():(0,r._OJ)(),t||(a===s&&y(o,e)&&(l=null),i.dragging.setMirrorNeedsRevert(!l),i.dragging.setMirrorIsVisible(!e||!(0,r.xSu)(i.subjectEl).querySelector(".fc-event-mirror")),i.receivingContext=s,i.validMutation=l,i.mutatedRelevantEvents=c)}},i.handlePointerUp=function(){i.isDragging||i.cleanup()},i.handleDragEnd=function(e){if(i.isDragging){var t=i.component.context,n=t.viewApi,a=i,s=a.receivingContext,l=a.validMutation,c=i.eventRange.def,u=i.eventRange.instance,d=new r.voO(t,c,u),f=i.relevantEvents,p=i.mutatedRelevantEvents,h=i.hitDragging.finalHit;if(i.clearDrag(),t.emitter.trigger("eventDragStop",{el:i.subjectEl,event:d,jsEvent:e.origEvent,view:n}),l){if(s===t){var g=new r.voO(t,p.defs[c.defId],u?p.instances[u.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:p});for(var A={oldEvent:d,event:g,relatedEvents:(0,r.vuT)(p,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:f})}},v={},m=0,y=t.getCurrentData().pluginHooks.eventDropTransformers;m<y.length;m++){var E=y[m];(0,o.pi)(v,E(l,t))}t.emitter.trigger("eventDrop",(0,o.pi)((0,o.pi)((0,o.pi)({},A),v),{el:e.subjectEl,delta:l.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",A)}else if(s){var b={event:d,relatedEvents:(0,r.vuT)(f,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:f})}};t.emitter.trigger("eventLeave",(0,o.pi)((0,o.pi)({},b),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:f}),t.emitter.trigger("eventRemove",b);var w=p.defs[c.defId],S=p.instances[u.instanceId],D=new r.voO(s,w,S);s.dispatch({type:"MERGE_EVENTS",eventStore:p});var R={event:D,relatedEvents:(0,r.vuT)(p,s,S),revert:function(){s.dispatch({type:"REMOVE_EVENTS",eventStore:p})}};s.emitter.trigger("eventAdd",R),e.isTouch&&s.dispatch({type:"SELECT_EVENT",eventInstanceId:u.instanceId}),s.emitter.trigger("drop",(0,o.pi)((0,o.pi)({},C(h.dateSpan,s)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:h.context.viewApi})),s.emitter.trigger("eventReceive",(0,o.pi)((0,o.pi)({},R),{draggedEl:e.subjectEl,view:h.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}i.cleanup()};var a=i.component.context.options,s=i.dragging=new A(n.el);s.pointer.selector=t.SELECTOR,s.touchScrollAllowed=!1,s.autoScroller.isEnabled=a.dragScroll;var l=i.hitDragging=new m(i.dragging,r.T6u);return l.useSubjectCenter=n.useEventCenter,l.emitter.on("pointerdown",i.handlePointerDown),l.emitter.on("dragstart",i.handleDragStart),l.emitter.on("hitupdate",i.handleHitUpdate),l.emitter.on("pointerup",i.handlePointerUp),l.emitter.on("dragend",i.handleDragEnd),i}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,t){var n=this.component.context,o=this.receivingContext;o&&o!==e&&(o===n?o.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:(0,r.ifx)(),isEvent:!0}}):o.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},t.prototype.clearDrag=function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},t.SELECTOR=".fc-event-draggable, .fc-event-resizable",t}(r.U4m);var S=function(e){function t(t){var n=e.call(this,t)||this;n.draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=n.component,o=n.querySegEl(e),i=(0,r.BJe)(o),a=n.eventRange=i.eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==a.instance.instanceId)},n.handleDragStart=function(e){var t=n.component.context,o=n.eventRange;n.relevantEvents=(0,r.SOE)(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var i=n.querySegEl(e);n.draggingSegEl=i,n.draggingSeg=(0,r.BJe)(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new r.voO(t,o.def,o.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,o){var i=n.component.context,a=n.relevantEvents,s=n.hitDragging.initialHit,l=n.eventRange.instance,c=null,u=null,d=!1,f={affectedEvents:a,mutatedEvents:(0,r.ifx)(),isEvent:!0};e&&(e.componentId===s.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(s,e)||(c=function(e,t,n,o){var i=e.context.dateEnv,a=e.dateSpan.range.start,s=t.dateSpan.range.start,l=(0,r.Pe9)(a,s,i,e.largeUnit);if(n){if(i.add(o.start,l)<o.end)return{startDelta:l}}else if(i.add(o.end,l)>o.start)return{endDelta:l};return null}(s,e,o.subjectEl.classList.contains("fc-event-resizer-start"),l.range)));c&&(u=(0,r.rfG)(a,i.getCurrentData().eventUiBases,c,i),f.mutatedEvents=u,(0,r.WoG)(f,e.dateProfile,i)||(d=!0,c=null,u=null,f.mutatedEvents=null)),u?i.dispatch({type:"SET_EVENT_RESIZE",state:f}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),d?(0,r.deF)():(0,r._OJ)(),t||(c&&y(s,e)&&(c=null),n.validMutation=c,n.mutatedRelevantEvents=u)},n.handleDragEnd=function(e){var t=n.component.context,i=n.eventRange.def,a=n.eventRange.instance,s=new r.voO(t,i,a),l=n.relevantEvents,c=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:s,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var u=new r.voO(t,c.defs[i.defId],a?c.instances[a.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:c});var d={oldEvent:s,event:u,relatedEvents:(0,r.vuT)(c,t,a),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}};t.emitter.trigger("eventResize",(0,o.pi)((0,o.pi)({},d),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||(0,r.Pvs)(0),endDelta:n.validMutation.endDelta||(0,r.Pvs)(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",d)}else t.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var i=t.component,a=n.dragging=new A(t.el);a.pointer.selector=".fc-event-resizer",a.touchScrollAllowed=!1,a.autoScroller.isEnabled=i.context.options.dragScroll;var s=n.hitDragging=new m(n.dragging,(0,r.Rac)(t));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("dragend",n.handleDragEnd),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return(0,r.x_n)(e.subjectEl,".fc-event")},t}(r.U4m);var D=function(){function e(e){var t=this;this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(t.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var n=t.context.options.unselectCancel,o=(0,r._zt)(e.origEvent);t.matchesCancel=!!(0,r.x_n)(o,n),t.matchesEvent=!!(0,r.x_n)(o,w.SELECTOR)},this.onDocumentPointerUp=function(e){var n=t.context,r=t.documentPointer,o=n.getCurrentData();if(!r.wasTouchScroll){if(o.dateSelection&&!t.isRecentPointerDateSelect){var i=n.options.unselectAuto;!i||i&&t.matchesCancel||n.calendarApi.unselect(e)}o.eventSelection&&!t.matchesEvent&&n.dispatch({type:"UNSELECT_EVENT"})}t.isRecentPointerDateSelect=!1};var n=this.documentPointer=new l(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}return e.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},e}(),R={fixedMirrorParent:r.yRu},B={dateClick:r.yRu,eventDragStart:r.yRu,eventDragStop:r.yRu,eventDrop:r.yRu,eventResizeStart:r.yRu,eventResizeStop:r.yRu,eventResize:r.yRu,drop:r.yRu,eventReceive:r.yRu,eventLeave:r.yRu},I=function(){function e(e,t){var n=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){n.dragMeta=n.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,i){var a=n.hitDragging.dragging,s=null,l=null,c=!1,u={affectedEvents:(0,r.ifx)(),mutatedEvents:(0,r.ifx)(),isEvent:n.dragMeta.create};e&&(s=e.context,n.canDropElOnCalendar(i.subjectEl,s)&&(l=function(e,t,n){for(var i=(0,o.pi)({},t.leftoverProps),a=0,s=n.pluginHooks.externalDefTransforms;a<s.length;a++){var l=s[a];(0,o.pi)(i,l(e,t))}var c=(0,r.Boe)(i,n),u=c.refined,d=c.extra,f=(0,r.mTn)(u,d,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),p=e.range.start;e.allDay&&t.startTime&&(p=n.dateEnv.add(p,t.startTime));var h=t.duration?n.dateEnv.add(p,t.duration):(0,r.$Td)(e.allDay,p,n),g=(0,r.$N4)(f.defId,{start:p,end:h});return{def:f,instance:g}}(e.dateSpan,n.dragMeta,s),u.mutatedEvents=(0,r.rod)(l),(c=!(0,r.WoG)(u,e.dateProfile,s))&&(u.mutatedEvents=(0,r.ifx)(),l=null))),n.displayDrag(s,u),a.setMirrorIsVisible(t||!l||!document.querySelector(".fc-event-mirror")),c?(0,r.deF)():(0,r._OJ)(),t||(a.setMirrorNeedsRevert(!l),n.receivingContext=s,n.droppableEvent=l)},this.handleDragEnd=function(e){var t=n,i=t.receivingContext,a=t.droppableEvent;if(n.clearDrag(),i&&a){var s=n.hitDragging.finalHit,l=s.context.viewApi,c=n.dragMeta;if(i.emitter.trigger("drop",(0,o.pi)((0,o.pi)({},C(s.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:l})),c.create){var u=(0,r.rod)(a);i.dispatch({type:"MERGE_EVENTS",eventStore:u}),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:a.instance.instanceId}),i.emitter.trigger("eventReceive",{event:new r.voO(i,a.def,a.instance),relatedEvents:[],revert:function(){i.dispatch({type:"REMOVE_EVENTS",eventStore:u})},draggedEl:e.subjectEl,view:l})}}n.receivingContext=null,n.droppableEvent=null};var i=this.hitDragging=new m(e,r.T6u);i.requireInitial=!1,i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}return e.prototype.buildDragMeta=function(e){return"object"==typeof this.suppliedDragMeta?(0,r.WOi)(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?(0,r.WOi)(this.suppliedDragMeta(e)):(t=function(e,t){var n=r.vc.dataAttrPrefix,o=(n?n+"-":"")+t;return e.getAttribute("data-"+o)||""}(e,"event"),n=t?JSON.parse(t):{create:!1},(0,r.WOi)(n));var t,n},e.prototype.displayDrag=function(e,t){var n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},e.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},e.prototype.canDropElOnCalendar=function(e,t){var n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean((0,r.App)(e,n))},e}();r.vc.dataAttrPrefix="";!function(){function e(e,t){var n=this;void 0===t&&(t={}),this.handlePointerDown=function(e){var t=n.dragging,o=n.settings,i=o.minDistance,a=o.longPressDelay;t.minDistance=null!=i?i:e.isTouch?0:r.kgr.eventDragMinDistance,t.delay=e.isTouch?null!=a?a:r.kgr.longPressDelay:0},this.handleDragStart=function(e){e.isTouch&&n.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&n.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t;var o=this.dragging=new A(e);o.touchScrollAllowed=!1,null!=t.itemSelector&&(o.pointer.selector=t.itemSelector),null!=t.appendTo&&(o.mirror.parentNode=t.appendTo),o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),new I(o,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();var x=function(e){function t(t){var n=e.call(this,t)||this;n.shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(e){n.emitter.trigger("pointerdown",e),n.shouldIgnoreMove||n.emitter.trigger("dragstart",e)},n.handlePointerMove=function(e){n.shouldIgnoreMove||n.emitter.trigger("dragmove",e)},n.handlePointerUp=function(e){n.emitter.trigger("pointerup",e),n.shouldIgnoreMove||n.emitter.trigger("dragend",e)};var r=n.pointer=new l(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}},t}(r.KDF);!function(){function e(e,t){var n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};var r=this.dragging=new x(n);"string"==typeof t.itemSelector?r.pointer.selector=t.itemSelector:n===document&&(r.pointer.selector="[data-event]"),"string"==typeof t.mirrorSelector&&(r.mirrorSelector=t.mirrorSelector),new I(r,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();const k=(0,r.rxu)({componentInteractions:[E,b,w,S],calendarInteractions:[D],elementDraggingImpl:A,optionRefiners:R,listenerRefiners:B})},87306:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(32703),o="2022-08-23",i=["GPL-My-Project-Is-Open-Source","CC-Attribution-NonCommercial-NoDerivatives"],a={position:"absolute",zIndex:99999,bottom:"1px",left:"1px",background:"#eee",borderColor:"#ddd",borderStyle:"solid",borderWidth:"1px 1px 0 0",padding:"2px 4px",fontSize:"12px",borderTopRightRadius:"3px"};
|
|
13
|
+
r.vc.touchMouseIgnoreWait=500;var i=0,a=0,s=!1,l=function(){function e(e){var t=this;this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){if(!t.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&t.tryStart(e)){var n=t.createEventFromMouse(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n),t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove),document.addEventListener("mouseup",t.handleMouseUp)}},this.handleMouseMove=function(e){var n=t.createEventFromMouse(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",t.handleMouseMove),document.removeEventListener("mouseup",t.handleMouseUp),t.emitter.trigger("pointerup",t.createEventFromMouse(e)),t.cleanup()},this.handleTouchStart=function(e){if(t.tryStart(e)){t.isTouchDragging=!0;var n=t.createEventFromTouch(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n);var r=e.target;t.shouldIgnoreMove||r.addEventListener("touchmove",t.handleTouchMove),r.addEventListener("touchend",t.handleTouchEnd),r.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var n=t.createEventFromTouch(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(e){if(t.isDragging){var n=e.target;n.removeEventListener("touchmove",t.handleTouchMove),n.removeEventListener("touchend",t.handleTouchEnd),n.removeEventListener("touchcancel",t.handleTouchEnd),window.removeEventListener("scroll",t.handleTouchScroll,!0),t.emitter.trigger("pointerup",t.createEventFromTouch(e)),t.cleanup(),t.isTouchDragging=!1,i+=1,setTimeout((function(){i-=1}),r.vc.touchMouseIgnoreWait)}},this.handleTouchScroll=function(){t.wasTouchScroll=!0},this.handleScroll=function(e){if(!t.shouldIgnoreMove){var n=window.pageXOffset-t.prevScrollX+t.prevPageX,r=window.pageYOffset-t.prevScrollY+t.prevPageY;t.emitter.trigger("pointermove",{origEvent:e,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:n,pageY:r,deltaX:n-t.origPageX,deltaY:r-t.origPageY})}},this.containerEl=e,this.emitter=new r.Q5$,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(a+=1)&&window.addEventListener("touchmove",c,{passive:!1})}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(a-=1)||window.removeEventListener("touchmove",c,{passive:!1})},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!(0,r.x_n)(n,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)},e.prototype.cleanup=function(){s=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()},e.prototype.querySubjectEl=function(e){return this.selector?(0,r.x_n)(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return i||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(s=!0)},e.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},e.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},e.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},e.prototype.createEventFromMouse=function(e,t){var n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}},e.prototype.createEventFromTouch=function(e,t){var n,r,o=e.touches,i=0,a=0;return o&&o.length?(n=o[0].pageX,r=o[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(i=n-this.origPageX,a=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:i,deltaY:a}},e}();function c(e){s&&e.preventDefault()}var u=function(){function e(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return e.prototype.start=function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},e.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},e.prototype.setIsVisible=function(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)},e.prototype.stop=function(e,t){var n=this,r=function(){n.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)},e.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,o=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",(0,r.bg6)(n,{left:o.left,top:o.top}),(0,r.ONu)(n,(function(){n.style.transition="",e()}))},e.prototype.cleanup=function(){this.mirrorEl&&((0,r.bXf)(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&(0,r.bg6)(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},e.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),t.classList.add("fc-event-dragging"),(0,r.bg6)(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t},e}(),d=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(r.Qgo),f=function(e){function t(t,n){return e.call(this,new r.A9I(t),n)||this}return(0,o.ZT)(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return(0,r.skW)(this.scrollController.el)},t}(d),p=function(e){function t(t){return e.call(this,new r.Obu,t)||this}return(0,o.ZT)(t,e),t.prototype.getEventTarget=function(){return window},t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(d),h="function"==typeof performance?performance.now:Date.now,g=function(){function e(){var e=this;this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){if(e.isAnimating){var t=e.computeBestEdge(e.pointerScreenX+window.pageXOffset,e.pointerScreenY+window.pageYOffset);if(t){var n=h();e.handleSide(t,(n-e.msSinceRequest)/1e3),e.requestAnimation(n)}else e.isAnimating=!1}}}return e.prototype.start=function(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))},e.prototype.handleMove=function(e,t){if(this.isEnabled){var n=e-window.pageXOffset,r=t-window.pageYOffset,o=null===this.pointerScreenY?0:r-this.pointerScreenY,i=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),i<0?this.everMovedLeft=!0:i>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(h()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}this.scrollCaches=null}},e.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},e.prototype.handleSide=function(e,t){var n=e.scrollCache,r=this.edgeThreshold,o=r-e.distance,i=o*o/(r*r)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+i*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+i*a)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,o=0,i=this.scrollCaches||[];o<i.length;o++){var a=i[o],s=a.clientRect,l=e-s.left,c=s.right-e,u=t-s.top,d=s.bottom-t;l>=0&&c>=0&&u>=0&&d>=0&&(u<=n&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"top",distance:u}),d<=n&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"bottom",distance:d}),l<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>l)&&(r={scrollCache:a,name:"left",distance:l}),c<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>c)&&(r={scrollCache:a,name:"right",distance:c}))}return r},e.prototype.buildCaches=function(e){return this.queryScrollEls(e).map((function(e){return e===window?new p(!1):new f(e,!1)}))},e.prototype.queryScrollEls=function(e){for(var t=[],n=0,o=this.scrollQuery;n<o.length;n++){var i=o[n];"object"==typeof i?t.push(i):t.push.apply(t,Array.prototype.slice.call((0,r.xSu)(e).querySelectorAll(i)))}return t},e}(),v=function(e){function t(t,n){var o=e.call(this,t)||this;o.containerEl=t,o.delay=null,o.minDistance=0,o.touchScrollAllowed=!0,o.mirrorNeedsRevert=!1,o.isInteracting=!1,o.isDragging=!1,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,o.delayTimeoutId=null,o.onPointerDown=function(e){o.isDragging||(o.isInteracting=!0,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,(0,r.ZSf)(document.body),(0,r.ipI)(document.body),e.isTouch||e.origEvent.preventDefault(),o.emitter.trigger("pointerdown",e),o.isInteracting&&!o.pointer.shouldIgnoreMove&&(o.mirror.setIsVisible(!1),o.mirror.start(e.subjectEl,e.pageX,e.pageY),o.startDelay(e),o.minDistance||o.handleDistanceSurpassed(e)))},o.onPointerMove=function(e){if(o.isInteracting){if(o.emitter.trigger("pointermove",e),!o.isDistanceSurpassed){var t=o.minDistance,n=e.deltaX,r=e.deltaY;n*n+r*r>=t*t&&o.handleDistanceSurpassed(e)}o.isDragging&&("scroll"!==e.origEvent.type&&(o.mirror.handleMove(e.pageX,e.pageY),o.autoScroller.handleMove(e.pageX,e.pageY)),o.emitter.trigger("dragmove",e))}},o.onPointerUp=function(e){o.isInteracting&&(o.isInteracting=!1,(0,r.sGN)(document.body),(0,r.N0T)(document.body),o.emitter.trigger("pointerup",e),o.isDragging&&(o.autoScroller.stop(),o.tryStopDrag(e)),o.delayTimeoutId&&(clearTimeout(o.delayTimeoutId),o.delayTimeoutId=null))};var i=o.pointer=new l(t);return i.emitter.on("pointerdown",o.onPointerDown),i.emitter.on("pointermove",o.onPointerMove),i.emitter.on("pointerup",o.onPointerUp),n&&(i.selector=n),o.mirror=new u,o.autoScroller=new g,o}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},t.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},t}(r.KDF),A=function(){function e(e){this.origRect=(0,r.AYo)(e),this.scrollCaches=(0,r.U4g)(e).map((function(e){return new f(e,!0)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}},e.prototype.computeLeft=function(){for(var e=this.origRect.left,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollLeft-r.getScrollLeft()}return e},e.prototype.computeTop=function(){for(var e=this.origRect.top,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollTop-r.getScrollTop()}return e},e.prototype.isWithinClipping=function(e,t){for(var n,o,i={left:e,top:t},a=0,s=this.scrollCaches;a<s.length;a++){var l=s[a];if(n=l.getEventTarget(),o=void 0,"HTML"!==(o=n.tagName)&&"BODY"!==o&&!(0,r.BKI)(i,l.clientRect))return!1}return!0},e}();var m=function(){function e(e,t){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(e),n.initialHit||!n.requireInitial?(t.setIgnoreMove(!1),n.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){n.emitter.trigger("dragstart",e),n.handleMove(e,!0)},this.handleDragMove=function(e){n.emitter.trigger("dragmove",e),n.handleMove(e)},this.handlePointerUp=function(e){n.releaseHits(),n.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,e),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new r.Q5$}return e.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},o=n,i=e.subjectEl;i instanceof HTMLElement&&(t=(0,r.AYo)(i),o=(0,r.Jq9)(o,t));var a=this.initialHit=this.queryHitForOffset(o.left,o.top);if(a){if(this.useSubjectCenter&&t){var s=(0,r.VEA)(t,a.rect);s&&(o=(0,r.iFU)(s))}this.coordAdjust=(0,r.vrY)(o,n)}else this.coordAdjust={left:0,top:0}},e.prototype.handleMove=function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&y(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){this.offsetTrackers=(0,r._aR)(this.droppableStore,(function(e){return e.component.prepareHits(),new A(e.el)}))},e.prototype.releaseHits=function(){var e=this.offsetTrackers;for(var t in e)e[t].destroy();this.offsetTrackers={}},e.prototype.queryHitForOffset=function(e,t){var n=this.droppableStore,o=this.offsetTrackers,i=null;for(var a in n){var s=n[a].component,l=o[a];if(l&&l.isWithinClipping(e,t)){var c=l.computeLeft(),u=l.computeTop(),d=e-c,f=t-u,p=l.origRect,h=p.right-p.left,g=p.bottom-p.top;if(d>=0&&d<h&&f>=0&&f<g){var v=s.queryHit(d,f,h,g);v&&(0,r.urV)(v.dateProfile.activeRange,v.dateSpan.range)&&(!i||v.layer>i.layer)&&(v.componentId=a,v.context=s.context,v.rect.left+=c,v.rect.right+=c,v.rect.top+=u,v.rect.bottom+=u,i=v)}}}return i},e}();function y(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&(0,r.omy)(e.dateSpan,t.dateSpan)}function C(e,t){for(var n,r,i={},a=0,s=t.pluginHooks.datePointTransforms;a<s.length;a++){var l=s[a];(0,o.pi)(i,l(e,t))}return(0,o.pi)(i,(n=e,{date:(r=t.dateEnv).toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),i}var E=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging,r=e.origEvent.target;t.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,i=r.initialHit,a=r.finalHit;if(i&&a&&y(i,a)){var s=t.context,l=(0,o.pi)((0,o.pi)({},C(i.dateSpan,s)),{dayEl:i.dayEl,jsEvent:e.origEvent,view:s.viewApi||s.calendarApi.view});s.emitter.trigger("dateClick",l)}}},n.dragging=new v(t.el),n.dragging.autoScroller.isEnabled=!1;var i=n.hitDragging=new m(n.dragging,(0,r.Rac)(t));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragend",n.handleDragEnd),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.U4m),b=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t=n,r=t.component,o=t.dragging,i=r.context.options.selectable&&r.isValidDateDownEl(e.origEvent.target);o.setIgnoreMove(!i),o.delay=e.isTouch?function(e){var t=e.context.options,n=t.selectLongPressDelay;null==n&&(n=t.longPressDelay);return n}(r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var i=n.component.context,a=null,s=!1;if(e){var l=n.hitDragging.initialHit;e.componentId===l.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(l,e)||(a=function(e,t,n){var i=e.dateSpan,a=t.dateSpan,s=[i.range.start,i.range.end,a.range.start,a.range.end];s.sort(r.z6t);for(var l={},c=0,u=n;c<u.length;c++){var d=(0,u[c])(e,t);if(!1===d)return null;d&&(0,o.pi)(l,d)}return l.range={start:s[0],end:s[3]},l.allDay=i.allDay,l}(l,e,i.pluginHooks.dateSelectionTransformers)),a&&(0,r.g4F)(a,e.dateProfile,i)||(s=!0,a=null)}a?i.dispatch({type:"SELECT_DATES",selection:a}):t||i.dispatch({type:"UNSELECT_DATES"}),s?(0,r.deF)():(0,r._OJ)(),t||(n.dragSelection=a)},n.handlePointerUp=function(e){n.dragSelection&&((0,r.HpC)(n.dragSelection,e,n.component.context),n.dragSelection=null)};var i=t.component.context.options,a=n.dragging=new v(t.el);a.touchScrollAllowed=!1,a.minDistance=i.selectMinDistance||0,a.autoScroller.isEnabled=i.dragScroll;var s=n.hitDragging=new m(n.dragging,(0,r.Rac)(t));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("pointerup",n.handlePointerUp),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.U4m);var w=function(e){function t(n){var i=e.call(this,n)||this;i.subjectEl=null,i.subjectSeg=null,i.isDragging=!1,i.eventRange=null,i.relevantEvents=null,i.receivingContext=null,i.validMutation=null,i.mutatedRelevantEvents=null,i.handlePointerDown=function(e){var t=e.origEvent.target,n=i,o=n.component,a=n.dragging,s=a.mirror,l=o.context.options,c=o.context;i.subjectEl=e.subjectEl;var u=i.subjectSeg=(0,r.BJe)(e.subjectEl),d=(i.eventRange=u.eventRange).instance.instanceId;i.relevantEvents=(0,r.SOE)(c.getCurrentData().eventStore,d),a.minDistance=e.isTouch?0:l.eventDragMinDistance,a.delay=e.isTouch&&d!==o.props.eventSelection?function(e){var t=e.context.options,n=t.eventLongPressDelay;null==n&&(n=t.longPressDelay);return n}(o):null,l.fixedMirrorParent?s.parentNode=l.fixedMirrorParent:s.parentNode=(0,r.x_n)(t,".fc"),s.revertDuration=l.dragRevertDuration;var f=o.isValidSegDownEl(t)&&!(0,r.x_n)(t,".fc-event-resizer");a.setIgnoreMove(!f),i.isDragging=f&&e.subjectEl.classList.contains("fc-event-draggable")},i.handleDragStart=function(e){var t=i.component.context,n=i.eventRange,o=n.instance.instanceId;e.isTouch?o!==i.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:o}):t.dispatch({type:"UNSELECT_EVENT"}),i.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:i.subjectEl,event:new r.voO(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},i.handleHitUpdate=function(e,t){if(i.isDragging){var n=i.relevantEvents,o=i.hitDragging.initialHit,a=i.component.context,s=null,l=null,c=null,u=!1,d={affectedEvents:n,mutatedEvents:(0,r.ifx)(),isEvent:!0};if(e){var f=(s=e.context).options;a===s||f.editable&&f.droppable?(l=function(e,t,n){var o=e.dateSpan,i=t.dateSpan,a=o.range.start,s=i.range.start,l={};o.allDay!==i.allDay&&(l.allDay=i.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,i.allDay&&(a=(0,r.b7Q)(a)));var c=(0,r.Pe9)(a,s,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);c.milliseconds&&(l.allDay=!1);for(var u={datesDelta:c,standardProps:l},d=0,f=n;d<f.length;d++){(0,f[d])(u,e,t)}return u}(o,e,s.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(c=(0,r.rfG)(n,s.getCurrentData().eventUiBases,l,s),d.mutatedEvents=c,(0,r.WoG)(d,e.dateProfile,s)||(u=!0,l=null,c=null,d.mutatedEvents=(0,r.ifx)())):s=null}i.displayDrag(s,d),u?(0,r.deF)():(0,r._OJ)(),t||(a===s&&y(o,e)&&(l=null),i.dragging.setMirrorNeedsRevert(!l),i.dragging.setMirrorIsVisible(!e||!(0,r.xSu)(i.subjectEl).querySelector(".fc-event-mirror")),i.receivingContext=s,i.validMutation=l,i.mutatedRelevantEvents=c)}},i.handlePointerUp=function(){i.isDragging||i.cleanup()},i.handleDragEnd=function(e){if(i.isDragging){var t=i.component.context,n=t.viewApi,a=i,s=a.receivingContext,l=a.validMutation,c=i.eventRange.def,u=i.eventRange.instance,d=new r.voO(t,c,u),f=i.relevantEvents,p=i.mutatedRelevantEvents,h=i.hitDragging.finalHit;if(i.clearDrag(),t.emitter.trigger("eventDragStop",{el:i.subjectEl,event:d,jsEvent:e.origEvent,view:n}),l){if(s===t){var g=new r.voO(t,p.defs[c.defId],u?p.instances[u.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:p});for(var v={oldEvent:d,event:g,relatedEvents:(0,r.vuT)(p,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:f})}},A={},m=0,y=t.getCurrentData().pluginHooks.eventDropTransformers;m<y.length;m++){var E=y[m];(0,o.pi)(A,E(l,t))}t.emitter.trigger("eventDrop",(0,o.pi)((0,o.pi)((0,o.pi)({},v),A),{el:e.subjectEl,delta:l.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",v)}else if(s){var b={event:d,relatedEvents:(0,r.vuT)(f,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:f})}};t.emitter.trigger("eventLeave",(0,o.pi)((0,o.pi)({},b),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:f}),t.emitter.trigger("eventRemove",b);var w=p.defs[c.defId],S=p.instances[u.instanceId],D=new r.voO(s,w,S);s.dispatch({type:"MERGE_EVENTS",eventStore:p});var R={event:D,relatedEvents:(0,r.vuT)(p,s,S),revert:function(){s.dispatch({type:"REMOVE_EVENTS",eventStore:p})}};s.emitter.trigger("eventAdd",R),e.isTouch&&s.dispatch({type:"SELECT_EVENT",eventInstanceId:u.instanceId}),s.emitter.trigger("drop",(0,o.pi)((0,o.pi)({},C(h.dateSpan,s)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:h.context.viewApi})),s.emitter.trigger("eventReceive",(0,o.pi)((0,o.pi)({},R),{draggedEl:e.subjectEl,view:h.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}i.cleanup()};var a=i.component.context.options,s=i.dragging=new v(n.el);s.pointer.selector=t.SELECTOR,s.touchScrollAllowed=!1,s.autoScroller.isEnabled=a.dragScroll;var l=i.hitDragging=new m(i.dragging,r.T6u);return l.useSubjectCenter=n.useEventCenter,l.emitter.on("pointerdown",i.handlePointerDown),l.emitter.on("dragstart",i.handleDragStart),l.emitter.on("hitupdate",i.handleHitUpdate),l.emitter.on("pointerup",i.handlePointerUp),l.emitter.on("dragend",i.handleDragEnd),i}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,t){var n=this.component.context,o=this.receivingContext;o&&o!==e&&(o===n?o.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:(0,r.ifx)(),isEvent:!0}}):o.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},t.prototype.clearDrag=function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},t.SELECTOR=".fc-event-draggable, .fc-event-resizable",t}(r.U4m);var S=function(e){function t(t){var n=e.call(this,t)||this;n.draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=n.component,o=n.querySegEl(e),i=(0,r.BJe)(o),a=n.eventRange=i.eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==a.instance.instanceId)},n.handleDragStart=function(e){var t=n.component.context,o=n.eventRange;n.relevantEvents=(0,r.SOE)(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var i=n.querySegEl(e);n.draggingSegEl=i,n.draggingSeg=(0,r.BJe)(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new r.voO(t,o.def,o.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,o){var i=n.component.context,a=n.relevantEvents,s=n.hitDragging.initialHit,l=n.eventRange.instance,c=null,u=null,d=!1,f={affectedEvents:a,mutatedEvents:(0,r.ifx)(),isEvent:!0};e&&(e.componentId===s.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(s,e)||(c=function(e,t,n,o){var i=e.context.dateEnv,a=e.dateSpan.range.start,s=t.dateSpan.range.start,l=(0,r.Pe9)(a,s,i,e.largeUnit);if(n){if(i.add(o.start,l)<o.end)return{startDelta:l}}else if(i.add(o.end,l)>o.start)return{endDelta:l};return null}(s,e,o.subjectEl.classList.contains("fc-event-resizer-start"),l.range)));c&&(u=(0,r.rfG)(a,i.getCurrentData().eventUiBases,c,i),f.mutatedEvents=u,(0,r.WoG)(f,e.dateProfile,i)||(d=!0,c=null,u=null,f.mutatedEvents=null)),u?i.dispatch({type:"SET_EVENT_RESIZE",state:f}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),d?(0,r.deF)():(0,r._OJ)(),t||(c&&y(s,e)&&(c=null),n.validMutation=c,n.mutatedRelevantEvents=u)},n.handleDragEnd=function(e){var t=n.component.context,i=n.eventRange.def,a=n.eventRange.instance,s=new r.voO(t,i,a),l=n.relevantEvents,c=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:s,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var u=new r.voO(t,c.defs[i.defId],a?c.instances[a.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:c});var d={oldEvent:s,event:u,relatedEvents:(0,r.vuT)(c,t,a),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}};t.emitter.trigger("eventResize",(0,o.pi)((0,o.pi)({},d),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||(0,r.Pvs)(0),endDelta:n.validMutation.endDelta||(0,r.Pvs)(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",d)}else t.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var i=t.component,a=n.dragging=new v(t.el);a.pointer.selector=".fc-event-resizer",a.touchScrollAllowed=!1,a.autoScroller.isEnabled=i.context.options.dragScroll;var s=n.hitDragging=new m(n.dragging,(0,r.Rac)(t));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("dragend",n.handleDragEnd),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return(0,r.x_n)(e.subjectEl,".fc-event")},t}(r.U4m);var D=function(){function e(e){var t=this;this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(t.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var n=t.context.options.unselectCancel,o=(0,r._zt)(e.origEvent);t.matchesCancel=!!(0,r.x_n)(o,n),t.matchesEvent=!!(0,r.x_n)(o,w.SELECTOR)},this.onDocumentPointerUp=function(e){var n=t.context,r=t.documentPointer,o=n.getCurrentData();if(!r.wasTouchScroll){if(o.dateSelection&&!t.isRecentPointerDateSelect){var i=n.options.unselectAuto;!i||i&&t.matchesCancel||n.calendarApi.unselect(e)}o.eventSelection&&!t.matchesEvent&&n.dispatch({type:"UNSELECT_EVENT"})}t.isRecentPointerDateSelect=!1};var n=this.documentPointer=new l(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}return e.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},e}(),R={fixedMirrorParent:r.yRu},B={dateClick:r.yRu,eventDragStart:r.yRu,eventDragStop:r.yRu,eventDrop:r.yRu,eventResizeStart:r.yRu,eventResizeStop:r.yRu,eventResize:r.yRu,drop:r.yRu,eventReceive:r.yRu,eventLeave:r.yRu},I=function(){function e(e,t){var n=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){n.dragMeta=n.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,i){var a=n.hitDragging.dragging,s=null,l=null,c=!1,u={affectedEvents:(0,r.ifx)(),mutatedEvents:(0,r.ifx)(),isEvent:n.dragMeta.create};e&&(s=e.context,n.canDropElOnCalendar(i.subjectEl,s)&&(l=function(e,t,n){for(var i=(0,o.pi)({},t.leftoverProps),a=0,s=n.pluginHooks.externalDefTransforms;a<s.length;a++){var l=s[a];(0,o.pi)(i,l(e,t))}var c=(0,r.Boe)(i,n),u=c.refined,d=c.extra,f=(0,r.mTn)(u,d,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),p=e.range.start;e.allDay&&t.startTime&&(p=n.dateEnv.add(p,t.startTime));var h=t.duration?n.dateEnv.add(p,t.duration):(0,r.$Td)(e.allDay,p,n),g=(0,r.$N4)(f.defId,{start:p,end:h});return{def:f,instance:g}}(e.dateSpan,n.dragMeta,s),u.mutatedEvents=(0,r.rod)(l),(c=!(0,r.WoG)(u,e.dateProfile,s))&&(u.mutatedEvents=(0,r.ifx)(),l=null))),n.displayDrag(s,u),a.setMirrorIsVisible(t||!l||!document.querySelector(".fc-event-mirror")),c?(0,r.deF)():(0,r._OJ)(),t||(a.setMirrorNeedsRevert(!l),n.receivingContext=s,n.droppableEvent=l)},this.handleDragEnd=function(e){var t=n,i=t.receivingContext,a=t.droppableEvent;if(n.clearDrag(),i&&a){var s=n.hitDragging.finalHit,l=s.context.viewApi,c=n.dragMeta;if(i.emitter.trigger("drop",(0,o.pi)((0,o.pi)({},C(s.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:l})),c.create){var u=(0,r.rod)(a);i.dispatch({type:"MERGE_EVENTS",eventStore:u}),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:a.instance.instanceId}),i.emitter.trigger("eventReceive",{event:new r.voO(i,a.def,a.instance),relatedEvents:[],revert:function(){i.dispatch({type:"REMOVE_EVENTS",eventStore:u})},draggedEl:e.subjectEl,view:l})}}n.receivingContext=null,n.droppableEvent=null};var i=this.hitDragging=new m(e,r.T6u);i.requireInitial=!1,i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}return e.prototype.buildDragMeta=function(e){return"object"==typeof this.suppliedDragMeta?(0,r.WOi)(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?(0,r.WOi)(this.suppliedDragMeta(e)):(t=function(e,t){var n=r.vc.dataAttrPrefix,o=(n?n+"-":"")+t;return e.getAttribute("data-"+o)||""}(e,"event"),n=t?JSON.parse(t):{create:!1},(0,r.WOi)(n));var t,n},e.prototype.displayDrag=function(e,t){var n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},e.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},e.prototype.canDropElOnCalendar=function(e,t){var n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean((0,r.App)(e,n))},e}();r.vc.dataAttrPrefix="";!function(){function e(e,t){var n=this;void 0===t&&(t={}),this.handlePointerDown=function(e){var t=n.dragging,o=n.settings,i=o.minDistance,a=o.longPressDelay;t.minDistance=null!=i?i:e.isTouch?0:r.kgr.eventDragMinDistance,t.delay=e.isTouch?null!=a?a:r.kgr.longPressDelay:0},this.handleDragStart=function(e){e.isTouch&&n.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&n.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t;var o=this.dragging=new v(e);o.touchScrollAllowed=!1,null!=t.itemSelector&&(o.pointer.selector=t.itemSelector),null!=t.appendTo&&(o.mirror.parentNode=t.appendTo),o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),new I(o,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();var x=function(e){function t(t){var n=e.call(this,t)||this;n.shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(e){n.emitter.trigger("pointerdown",e),n.shouldIgnoreMove||n.emitter.trigger("dragstart",e)},n.handlePointerMove=function(e){n.shouldIgnoreMove||n.emitter.trigger("dragmove",e)},n.handlePointerUp=function(e){n.emitter.trigger("pointerup",e),n.shouldIgnoreMove||n.emitter.trigger("dragend",e)};var r=n.pointer=new l(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}},t}(r.KDF);!function(){function e(e,t){var n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};var r=this.dragging=new x(n);"string"==typeof t.itemSelector?r.pointer.selector=t.itemSelector:n===document&&(r.pointer.selector="[data-event]"),"string"==typeof t.mirrorSelector&&(r.mirrorSelector=t.mirrorSelector),new I(r,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();const k=(0,r.rxu)({componentInteractions:[E,b,w,S],calendarInteractions:[D],elementDraggingImpl:v,optionRefiners:R,listenerRefiners:B})},87306:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(32703),o="2022-08-23",i=["GPL-My-Project-Is-Open-Source","CC-Attribution-NonCommercial-NoDerivatives"],a={position:"absolute",zIndex:99999,bottom:"1px",left:"1px",background:"#eee",borderColor:"#ddd",borderStyle:"solid",borderWidth:"1px 1px 0 0",padding:"2px 4px",fontSize:"12px",borderTopRightRadius:"3px"};
|
|
14
14
|
/*!
|
|
15
15
|
FullCalendar Scheduler v5.11.3
|
|
16
16
|
Docs & License: https://fullcalendar.io/scheduler
|
|
17
17
|
(c) 2022 Adam Shaw
|
|
18
|
-
*/var s={schedulerLicenseKey:String};const l=(0,r.rxu)({optionRefiners:s,viewContainerAppends:[function(e){var t=e.options.schedulerLicenseKey,n="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(n)){var s=function(e){if(-1!==i.indexOf(e))return"valid";var t=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(t&&10===t[1].length){var n=new Date(1e3*parseInt(t[2],10)),a=new Date(r.vc.mockSchedulerReleaseDate||o);if((0,r.qbb)(a))return(0,r.E4D)(a,-372)<n?"valid":"outdated"}return"invalid"}(t);if("valid"!==s)return(0,r.azq)("div",{className:"fc-license-message",style:a},"outdated"===s?(0,r.azq)(r.HYg,null,"Your license key is too old to work with this version. ",(0,r.azq)("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):(0,r.azq)(r.HYg,null,"Your license key is invalid. ",(0,r.azq)("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]})},306:(e,t,n)=>{"use strict";n.d(t,{ZPm:()=>s});var r=n(70655),o=n(1024),i=n(30314);("undefined"!=typeof globalThis?globalThis:window).FullCalendarVDom={Component:o.Component,createElement:o.createElement,render:i.render,createRef:o.createRef,Fragment:o.Fragment,createContext:o.createContext,createPortal:i.createPortal,flushSync:function(e){e()},unmountComponentAtNode:i.unmountComponentAtNode};var a=n(32703);const s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._calendarApi=new a.zeW,t}return(0,r.ZT)(t,e),t.prototype.render=function(){return o.createElement(a.n1v,{optionOverrides:this.props,calendarApi:this._calendarApi},(function(e){return o.createElement(a.Tdg,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,i,s){return o.createElement("div",{className:t.join(" "),style:{height:n}},o.createElement(a.BdM,(0,r.pi)({isHeightAuto:i,forPrint:s},e)))}))}))},t.prototype.getApi=function(){return this._calendarApi},t}(o.Component)},74202:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>Nt});var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),s=n(90569),l=n.n(s),c=n(3565),u=n.n(c),d=n(19216),f=n.n(d),p=n(44589),h=n.n(p),g=n(2283),A={};A.styleTagTransform=h(),A.setAttributes=u(),A.insert=l().bind(null,"head"),A.domAPI=a(),A.insertStyleElement=f();o()(g.Z,A);g.Z&&g.Z.locals&&g.Z.locals;var v=n(32703),m=n(87306),y=n(82622),C={};C.styleTagTransform=h(),C.setAttributes=u(),C.insert=l().bind(null,"head"),C.domAPI=a(),C.insertStyleElement=f();o()(y.Z,C);y.Z&&y.Z.locals&&y.Z.locals;var E,b=n(70655),w="wheel mousewheel DomMouseScroll MozMousePixelScroll".split(" "),S=function(){function e(e){var t=this;this.el=e,this.emitter=new v.Q5$,this.isScrolling=!1,this.isTouching=!1,this.isRecentlyWheeled=!1,this.isRecentlyScrolled=!1,this.wheelWaiter=new v.snJ(this._handleWheelWaited.bind(this)),this.scrollWaiter=new v.snJ(this._handleScrollWaited.bind(this)),this.handleScroll=function(){t.startScroll(),t.emitter.trigger("scroll",t.isRecentlyWheeled,t.isTouching),t.isRecentlyScrolled=!0,t.scrollWaiter.request(500)},this.handleWheel=function(){t.isRecentlyWheeled=!0,t.wheelWaiter.request(500)},this.handleTouchStart=function(){t.isTouching=!0},this.handleTouchEnd=function(){t.isTouching=!1,t.isRecentlyScrolled||t.endScroll()},e.addEventListener("scroll",this.handleScroll),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd);for(var n=0,r=w;n<r.length;n++){var o=r[n];e.addEventListener(o,this.handleWheel)}}return e.prototype.destroy=function(){var e=this.el;e.removeEventListener("scroll",this.handleScroll),e.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.removeEventListener("touchend",this.handleTouchEnd);for(var t=0,n=w;t<n.length;t++){var r=n[t];e.removeEventListener(r,this.handleWheel)}},e.prototype.startScroll=function(){this.isScrolling||(this.isScrolling=!0,this.emitter.trigger("scrollStart",this.isRecentlyWheeled,this.isTouching))},e.prototype.endScroll=function(){this.isScrolling&&(this.emitter.trigger("scrollEnd"),this.isScrolling=!1,this.isRecentlyScrolled=!0,this.isRecentlyWheeled=!1,this.scrollWaiter.clear(),this.wheelWaiter.clear())},e.prototype._handleScrollWaited=function(){this.isRecentlyScrolled=!1,this.isTouching||this.endScroll()},e.prototype._handleWheelWaited=function(){this.isRecentlyWheeled=!1},e}();function D(e){var t=e.scrollLeft;if("rtl"===window.getComputedStyle(e).direction)switch(B()){case"negative":t*=-1;case"reverse":t=e.scrollWidth-t-e.clientWidth}return t}function R(e,t){if("rtl"===window.getComputedStyle(e).direction)switch(B()){case"reverse":t=e.scrollWidth-t;break;case"negative":t=-(e.scrollWidth-t)}e.scrollLeft=t}function B(){return E||(E=function(){var e,t=document.createElement("div");t.style.position="absolute",t.style.top="-1000px",t.style.width="1px",t.style.height="1px",t.style.overflow="scroll",t.style.direction="rtl",t.style.fontSize="100px",t.innerHTML="A",document.body.appendChild(t),t.scrollLeft>0?e="positive":(t.scrollLeft=1,e=t.scrollLeft>0?"reverse":"negative");return(0,v.bXf)(t),e}())}var I,x="undefined"!=typeof navigator&&/Edge/.test(navigator.userAgent),k=function(){function e(e,t){var n=this;this.scrollEl=e,this.isRtl=t,this.usingRelative=null,this.updateSize=function(){var e=n.scrollEl,t=(0,v.xlG)(e,".fc-sticky"),r=n.queryElGeoms(t),o=e.clientWidth,i=e.clientHeight;n.usingRelative?function(e,t,n,r,o){e.forEach((function(e,i){var a,s,l=t[i],c=l.naturalBound,u=l.parentBound,d=u.right-u.left,f=u.bottom-u.bottom;d>r||f>o?(a=n[i].left-c.left,s=n[i].top-c.top):(a="",s=""),(0,v.bg6)(e,{position:"relative",left:a,right:-a,top:s})}))}(t,r,n.computeElDestinations(r,o),o,i):function(e,t,n){e.forEach((function(e,r){var o,i=t[r],a=i.textAlign,s=i.elWidth,l=i.parentBound,c=l.right-l.left;o="center"===a&&c>n?(n-s)/2:"",(0,v.bg6)(e,{left:o,right:o,top:0})}))}(t,r,o)},this.usingRelative=!function(){null==I&&(I=function(){var e=document.createElement("div");e.style.position="sticky",document.body.appendChild(e);var t=window.getComputedStyle(e).position;return(0,v.bXf)(e),"sticky"===t}());return I}()||x&&t,this.usingRelative&&(this.listener=new S(e),this.listener.emitter.on("scrollEnd",this.updateSize))}return e.prototype.destroy=function(){this.listener&&this.listener.destroy()},e.prototype.queryElGeoms=function(e){for(var t=this.scrollEl,n=this.isRtl,r=function(e){var t=e.getBoundingClientRect(),n=(0,v.ld2)(e);return{left:t.left+n.borderLeft+n.scrollbarLeft-D(e),top:t.top+n.borderTop-e.scrollTop}}(t),o=[],i=0,a=e;i<a.length;i++){var s=a[i],l=(0,v.sZq)((0,v.skW)(s.parentNode,!0,!0),-r.left,-r.top),c=s.getBoundingClientRect(),u=window.getComputedStyle(s),d=window.getComputedStyle(s.parentNode).textAlign,f=null;"start"===d?d=n?"right":"left":"end"===d&&(d=n?"left":"right"),"sticky"!==u.position&&(f=(0,v.sZq)(c,-r.left-(parseFloat(u.left)||0),-r.top-(parseFloat(u.top)||0))),o.push({parentBound:l,naturalBound:f,elWidth:c.width,elHeight:c.height,textAlign:d})}return o},e.prototype.computeElDestinations=function(e,t){var n=this.scrollEl,r=n.scrollTop,o=D(n),i=o+t;return e.map((function(e){var t,n,a=e.elWidth,s=e.elHeight,l=e.parentBound,c=e.naturalBound;switch(e.textAlign){case"left":t=o;break;case"right":t=i-a;break;case"center":t=(o+i)/2-a/2}return t=Math.min(t,l.right-a),t=Math.max(t,l.left),n=r,n=Math.min(n,l.bottom-s),{left:t,top:n=Math.max(n,c.top)}}))},e}();var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=(0,v.VfA)(),t.state={xScrollbarWidth:0,yScrollbarWidth:0},t.handleScroller=function(e){t.scroller=e,(0,v.k$v)(t.props.scrollerRef,e)},t.handleSizing=function(){var e=t.props;"scroll-hidden"===e.overflowY&&t.setState({yScrollbarWidth:t.scroller.getYScrollbarWidth()}),"scroll-hidden"===e.overflowX&&t.setState({xScrollbarWidth:t.scroller.getXScrollbarWidth()})},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context.isRtl&&(0,v.qDX)(),o=0,i=0,a=0;return"scroll-hidden"===t.overflowX&&(a=n.xScrollbarWidth),"scroll-hidden"===t.overflowY&&null!=n.yScrollbarWidth&&(r?o=n.yScrollbarWidth:i=n.yScrollbarWidth),(0,v.azq)("div",{ref:this.elRef,className:"fc-scroller-harness"+(t.liquid?" fc-scroller-harness-liquid":"")},(0,v.azq)(v.Ttm,{ref:this.handleScroller,elRef:this.props.scrollerElRef,overflowX:"scroll-hidden"===t.overflowX?"scroll":t.overflowX,overflowY:"scroll-hidden"===t.overflowY?"scroll":t.overflowY,overcomeLeft:o,overcomeRight:i,overcomeBottom:a,maxHeight:"number"==typeof t.maxHeight?t.maxHeight+("scroll-hidden"===t.overflowX?n.xScrollbarWidth:0):"",liquid:t.liquid,liquidIsAbsolute:!0},t.children))},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(e){(0,v.S6v)(e,this.props)||this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.needsXScrolling=function(){return this.scroller.needsXScrolling()},t.prototype.needsYScrolling=function(){return this.scroller.needsYScrolling()},t}(v.H6J),M=function(){function e(e,t){var n=this;this.isVertical=e,this.scrollEls=t,this.isPaused=!1,this.scrollListeners=t.map((function(e){return n.bindScroller(e)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollListeners;e<t.length;e++){t[e].destroy()}},e.prototype.bindScroller=function(e){var t=this,n=this.scrollEls,r=this.isVertical,o=new S(e);return o.emitter.on("scroll",(function(o,i){if(!t.isPaused&&((!t.masterEl||t.masterEl!==e&&(o||i))&&t.assignMaster(e),t.masterEl===e))for(var a=0,s=n;a<s.length;a++){var l=s[a];l!==e&&(r?l.scrollTop=e.scrollTop:l.scrollLeft=e.scrollLeft)}})),o.emitter.on("scrollEnd",(function(){t.masterEl===e&&(t.masterEl=null)})),o},e.prototype.assignMaster=function(e){this.masterEl=e;for(var t=0,n=this.scrollListeners;t<n.length;t++){var r=n[t];r.el!==e&&r.endScroll()}},e.prototype.forceScrollLeft=function(e){this.isPaused=!0;for(var t=0,n=this.scrollListeners;t<n.length;t++){R(n[t].el,e)}this.isPaused=!1},e.prototype.forceScrollTop=function(e){this.isPaused=!0;for(var t=0,n=this.scrollListeners;t<n.length;t++){n[t].el.scrollTop=e}this.isPaused=!1},e}(),z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileColGroupStats=(0,v.ums)(O,F),t.renderMicroColGroups=(0,v.ums)(v.hgf),t.clippedScrollerRefs=new v.lAU,t.scrollerElRefs=new v.lAU(t._handleScrollerEl.bind(t)),t.chunkElRefs=new v.lAU(t._handleChunkEl.bind(t)),t.stickyScrollings=[],t.scrollSyncersBySection={},t.scrollSyncersByColumn={},t.rowUnstableMap=new Map,t.rowInnerMaxHeightMap=new Map,t.anyRowHeightsChanged=!1,t.recentSizingCnt=0,t.state={shrinkWidths:[],forceYScrollbars:!1,forceXScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{},sectionRowMaxHeights:[]},t.handleSizing=function(e,n){if(t.allowSizing()){n||(t.anyRowHeightsChanged=!0);var r={};(e||!n&&!t.rowUnstableMap.size)&&(r.sectionRowMaxHeights=t.computeSectionRowMaxHeights()),t.setState((0,b.pi)((0,b.pi)({shrinkWidths:t.computeShrinkWidths()},t.computeScrollerDims()),r),(function(){t.rowUnstableMap.size||t.updateStickyScrolling()}))}},t.handleRowHeightChange=function(e,n){var r=t,o=r.rowUnstableMap,i=r.rowInnerMaxHeightMap;if(n){o.delete(e);var a=P(e);i.has(e)&&i.get(e)===a||(i.set(e,a),t.anyRowHeightsChanged=!0),!o.size&&t.anyRowHeightsChanged&&(t.anyRowHeightsChanged=!1,t.setState({sectionRowMaxHeights:t.computeSectionRowMaxHeights()}))}else o.set(e,!0)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=n.shrinkWidths,i=this.compileColGroupStats(t.colGroups.map((function(e){return[e]}))),a=this.renderMicroColGroups(i.map((function(e,t){return[e.cols,o[t]]}))),s=(0,v.SR3)(t.liquid,r),l=this.getDims();l[0],l[1];for(var c,u=t.sections,d=u.length,f=0,p=[],h=[],g=[];f<d&&"header"===(c=u[f]).type;)p.push(this.renderSection(c,f,i,a,n.sectionRowMaxHeights,!0)),f+=1;for(;f<d&&"body"===(c=u[f]).type;)h.push(this.renderSection(c,f,i,a,n.sectionRowMaxHeights,!1)),f+=1;for(;f<d&&"footer"===(c=u[f]).type;)g.push(this.renderSection(c,f,i,a,n.sectionRowMaxHeights,!0)),f+=1;var A=!(0,v.X45)(),m={role:"rowgroup"};return(0,v.azq)("table",{ref:t.elRef,role:"grid",className:s.join(" ")},function(e,t){var n=e.map((function(e,n){var r=e.width;return"shrink"===r&&(r=e.totalColWidth+(0,v.fyp)(t[n])+1),(0,v.azq)("col",{style:{width:r}})}));return v.azq.apply(void 0,(0,b.ev)(["colgroup",{}],n))}(i,o),Boolean(!A&&p.length)&&v.azq.apply(void 0,(0,b.ev)(["thead",m],p)),Boolean(!A&&h.length)&&v.azq.apply(void 0,(0,b.ev)(["tbody",m],h)),Boolean(!A&&g.length)&&v.azq.apply(void 0,(0,b.ev)(["tfoot",m],g)),A&&v.azq.apply(void 0,(0,b.ev)((0,b.ev)((0,b.ev)(["tbody",m],p),h),g)))},t.prototype.renderSection=function(e,t,n,r,o,i){var a=this;return"outerContent"in e?(0,v.azq)(v.HYg,{key:e.key},e.outerContent):(0,v.azq)("tr",{key:e.key,role:"presentation",className:(0,v.PFj)(e,this.props.liquid).join(" ")},e.chunks.map((function(s,l){return a.renderChunk(e,t,n[l],r[l],s,l,(o[t]||[])[l]||[],i)})))},t.prototype.renderChunk=function(e,t,n,r,o,i,a,s){if("outerContent"in o)return(0,v.azq)(v.HYg,{key:o.key},o.outerContent);var l=this.state,c=l.scrollerClientWidths,u=l.scrollerClientHeights,d=this.getDims(),f=d[0],p=d[1],h=t*p+i,g=i===(!this.context.isRtl||(0,v.qDX)()?p-1:0),A=t===f-1,m=A&&l.forceXScrollbars,y=g&&l.forceYScrollbars,C=n&&n.allowXScrolling,E=(0,v.aDZ)(this.props,e),b=(0,v.VFE)(this.props,e),w=e.expandRows&&b,S=n&&n.totalColMinWidth||"",D=(0,v.Yvu)(e,o,{tableColGroupNode:r,tableMinWidth:S,clientWidth:void 0!==c[h]?c[h]:null,clientHeight:void 0!==u[h]?u[h]:null,expandRows:w,syncRowHeights:Boolean(e.syncRowHeights),rowSyncHeights:a,reportRowHeightChange:this.handleRowHeightChange},s),R=m?A?"scroll":"scroll-hidden":C?A?"auto":"scroll-hidden":"hidden",B=y?g?"scroll":"scroll-hidden":E?g?"auto":"scroll-hidden":"hidden";return D=(0,v.azq)(T,{ref:this.clippedScrollerRefs.createRef(h),scrollerElRef:this.scrollerElRefs.createRef(h),overflowX:R,overflowY:B,liquid:b,maxHeight:e.maxHeight},D),(0,v.azq)(s?"th":"td",{key:o.key,ref:this.chunkElRefs.createRef(h),role:"presentation"},D)},t.prototype.componentDidMount=function(){this.getStickyScrolling=(0,v.ums)(_,null,V),this.getScrollSyncersBySection=(0,v.E0)(q.bind(this,!0),null,L),this.getScrollSyncersByColumn=(0,v.E0)(q.bind(this,!1),null,L),this.updateScrollSyncers(),this.handleSizing(!1),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(e,t){this.updateScrollSyncers(),this.handleSizing(!1,t.sectionRowMaxHeights!==this.state.sectionRowMaxHeights)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing),this.destroyStickyScrolling(),this.destroyScrollSyncers()},t.prototype.allowSizing=function(){var e=new Date;return!this.lastSizingDate||e.valueOf()>this.lastSizingDate.valueOf()+v.vc.SCROLLGRID_RESIZE_INTERVAL?(this.lastSizingDate=e,this.recentSizingCnt=0,!0):(this.recentSizingCnt+=1)<=10},t.prototype.computeShrinkWidths=function(){var e=this,t=this.compileColGroupStats(this.props.colGroups.map((function(e){return[e]}))),n=this.getDims(),r=n[0],o=n[1],i=r*o,a=[];return t.forEach((function(t,n){if(t.hasShrinkCol){var r=e.chunkElRefs.collect(n,i,o);a[n]=(0,v.VVk)(r)}})),a},t.prototype.computeSectionRowMaxHeights=function(){for(var e=new Map,t=this.getDims(),n=t[0],r=t[1],o=[],i=0;i<n;i+=1){var a=this.props.sections[i],s=[];if(a&&a.syncRowHeights){for(var l=[],c=0;c<r;c+=1){var u=i*r+c,d=[],f=this.chunkElRefs.currentMap[u];d=f?(0,v.xlG)(f,".fc-scrollgrid-sync-table tr").map((function(t){var n=P(t);return e.set(t,n),n})):[],l.push(d)}var p=l[0].length,h=!0;for(c=1;c<r;c+=1){if(!(a.chunks[c]&&void 0!==a.chunks[c].outerContent)&&l[c].length!==p){h=!1;break}}if(h){for(c=0;c<r;c+=1)s.push([]);for(E=0;E<p;E+=1){var g=[];for(c=0;c<r;c+=1){var A=l[c][E];null!=A&&g.push(A)}var m=Math.max.apply(Math,g);for(c=0;c<r;c+=1)s[c].push(m)}}else{for(var y=[],c=0;c<r;c+=1)y.push(H(l[c])+l[c].length);for(var C=Math.max.apply(Math,y),c=0;c<r;c+=1){var E,b=l[c].length,w=C-b,S=Math.floor(w/b),D=w-S*(b-1),R=[];for((E=0)<b&&(R.push(D),E+=1);E<b;)R.push(S),E+=1;s.push(R)}}}o.push(s)}return this.rowInnerMaxHeightMap=e,o},t.prototype.computeScrollerDims=function(){for(var e=(0,v.ewu)(),t=this.getDims(),n=t[0],r=t[1],o=!this.context.isRtl||(0,v.qDX)()?r-1:0,i=n-1,a=this.clippedScrollerRefs.currentMap,s=this.scrollerElRefs.currentMap,l=!1,c=!1,u={},d={},f=0;f<n;f+=1){if((h=a[g=f*r+o])&&h.needsYScrolling()){l=!0;break}}for(var p=0;p<r;p+=1){var h;if((h=a[g=i*r+p])&&h.needsXScrolling()){c=!0;break}}for(f=0;f<n;f+=1)for(p=0;p<r;p+=1){var g,A=s[g=f*r+p];if(A){var m=A.parentNode;u[g]=Math.floor(m.getBoundingClientRect().width-(p===o&&l?e.y:0)),d[g]=Math.floor(m.getBoundingClientRect().height-(f===i&&c?e.x:0))}}return{forceYScrollbars:l,forceXScrollbars:c,scrollerClientWidths:u,scrollerClientHeights:d}},t.prototype.updateStickyScrolling=function(){var e=this.context.isRtl,t=this.scrollerElRefs.getAll().map((function(t){return[t,e]})),n=this.getStickyScrolling(t);n.forEach((function(e){return e.updateSize()})),this.stickyScrollings=n},t.prototype.destroyStickyScrolling=function(){this.stickyScrollings.forEach(V)},t.prototype.updateScrollSyncers=function(){for(var e=this.getDims(),t=e[0],n=e[1],r=t*n,o={},i={},a=this.scrollerElRefs.currentMap,s=0;s<t;s+=1){var l=s*n,c=l+n;o[s]=(0,v.uPw)(a,l,c,1)}for(var u=0;u<n;u+=1)i[u]=this.scrollerElRefs.collect(u,r,n);this.scrollSyncersBySection=this.getScrollSyncersBySection(o),this.scrollSyncersByColumn=this.getScrollSyncersByColumn(i)},t.prototype.destroyScrollSyncers=function(){(0,v._aR)(this.scrollSyncersBySection,L),(0,v._aR)(this.scrollSyncersByColumn,L)},t.prototype.getChunkConfigByIndex=function(e){var t=this.getDims()[1],n=Math.floor(e/t),r=e%t,o=this.props.sections[n];return o&&o.chunks[r]},t.prototype.forceScrollLeft=function(e,t){var n=this.scrollSyncersByColumn[e];n&&n.forceScrollLeft(t)},t.prototype.forceScrollTop=function(e,t){var n=this.scrollSyncersBySection[e];n&&n.forceScrollTop(t)},t.prototype._handleChunkEl=function(e,t){var n=this.getChunkConfigByIndex(parseInt(t,10));n&&(0,v.k$v)(n.elRef,e)},t.prototype._handleScrollerEl=function(e,t){var n=this.getChunkConfigByIndex(parseInt(t,10));n&&(0,v.k$v)(n.scrollerElRef,e)},t.prototype.getDims=function(){var e=this.props.sections.length;return[e,e?this.props.sections[0].chunks.length:0]},t}(v.H6J);function H(e){for(var t=0,n=0,r=e;n<r.length;n++){t+=r[n]}return t}function P(e){var t=(0,v.xlG)(e,".fc-scrollgrid-sync-inner").map(N);return t.length?Math.max.apply(Math,t):0}function N(e){return e.offsetHeight}function O(e){var t=U(e.cols,"width"),n=U(e.cols,"minWidth"),r=(0,v.Qa3)(e.cols);return{hasShrinkCol:r,totalColWidth:t,totalColMinWidth:n,allowXScrolling:"shrink"!==e.width&&Boolean(t||n||r),cols:e.cols,width:e.width}}function U(e,t){for(var n=0,r=0,o=e;r<o.length;r++){var i=o[r],a=i[t];"number"==typeof a&&(n+=a*(i.span||1))}return n}z.addStateEquality({shrinkWidths:v.CnA,scrollerClientWidths:v.S6v,scrollerClientHeights:v.S6v});var W={cols:v.grx};function F(e,t){return(0,v.cbN)(e,t,W)}function q(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new M(e,t)}function L(e){e.destroy()}function _(e,t){return new k(e,t)}function V(e){e.destroy()}(0,v.rxu)({deps:[m.Z],scrollGridImpl:z});v.vc.SCROLLGRID_RESIZE_INTERVAL=500;v.vc.MAX_TIMELINE_SLOTS=1e3;var j=[{years:1},{months:1},{days:1},{hours:1},{minutes:30},{minutes:15},{minutes:10},{minutes:5},{minutes:1},{seconds:30},{seconds:15},{seconds:10},{seconds:5},{seconds:1},{milliseconds:500},{milliseconds:100},{milliseconds:10},{milliseconds:1}];function Z(e,t,n,r){var o={labelInterval:n.slotLabelInterval,slotDuration:n.slotDuration};!function(e,t,n){var r=t.currentRange;if(e.labelInterval){n.countDurationsBetween(r.start,r.end,e.labelInterval)>v.vc.MAX_TIMELINE_SLOTS&&(console.warn("slotLabelInterval results in too many cells"),e.labelInterval=null)}if(e.slotDuration){n.countDurationsBetween(r.start,r.end,e.slotDuration)>v.vc.MAX_TIMELINE_SLOTS&&(console.warn("slotDuration results in too many cells"),e.slotDuration=null)}if(e.labelInterval&&e.slotDuration){var o=(0,v.ltK)(e.labelInterval,e.slotDuration);(null===o||o<1)&&(console.warn("slotLabelInterval must be a multiple of slotDuration"),e.slotDuration=null)}}(o,e,t),Q(o,e,t),function(e,t,n){var r=t.currentRange,o=e.slotDuration;if(!o){for(var i=Q(e,t,n),a=0,s=j;a<s.length;a++){var l=s[a],c=(0,v.Pvs)(l),u=(0,v.ltK)(i,c);if(null!==u&&u>1&&u<=6){o=c;break}}if(o)n.countDurationsBetween(r.start,r.end,o)>200&&(o=null);o||(o=i),e.slotDuration=o}}(o,e,t);var i=n.slotLabelFormat,a=Array.isArray(i)?i:null!=i?[i]:function(e,t,n,r){var o,i,a=e.labelInterval,s=(0,v.NTx)(a).unit,l=r.weekNumbers,c=o=i=null;"week"!==s||l||(s="day");switch(s){case"year":c={year:"numeric"};break;case"month":X("years",t,n)>1&&(c={year:"numeric"}),o={month:"short"};break;case"week":X("years",t,n)>1&&(c={year:"numeric"}),o={week:"narrow"};break;case"day":X("years",t,n)>1?c={year:"numeric",month:"long"}:X("months",t,n)>1&&(c={month:"long"}),l&&(o={week:"short"}),i={weekday:"narrow",day:"numeric"};break;case"hour":l&&(c={week:"short"}),X("days",t,n)>1&&(o={weekday:"short",day:"numeric",month:"numeric",omitCommas:!0}),i={hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"};break;case"minute":(0,v.dZD)(a)/60>=6?(c={hour:"numeric",meridiem:"short"},o=function(e){return":"+(0,v.SkG)(e.date.minute,2)}):c={hour:"numeric",minute:"numeric",meridiem:"short"};break;case"second":(0,v.nCP)(a)/60>=6?(c={hour:"numeric",minute:"2-digit",meridiem:"lowercase"},o=function(e){return":"+(0,v.SkG)(e.date.second,2)}):c={hour:"numeric",minute:"2-digit",second:"2-digit",meridiem:"lowercase"};break;case"millisecond":c={hour:"numeric",minute:"2-digit",second:"2-digit",meridiem:"lowercase"},o=function(e){return"."+(0,v.SkG)(e.millisecond,3)}}return[].concat(c||[],o||[],i||[])}(o,e,t,n);o.headerFormats=a.map((function(e){return(0,v.SPZ)(e)})),o.isTimeScale=Boolean(o.slotDuration.milliseconds);var s=null;if(!o.isTimeScale){var l=(0,v.NTx)(o.slotDuration).unit;/year|month|week/.test(l)&&(s=l)}o.largeUnit=s,o.emphasizeWeeks=1===(0,v.XrI)(o.slotDuration)&&X("weeks",e,t)>=2&&!n.businessHours;var c,u,d=n.snapDuration;d&&(c=(0,v.Pvs)(d),u=(0,v.ltK)(o.slotDuration,c)),null==u&&(c=o.slotDuration,u=1),o.snapDuration=c,o.snapsPerSlot=u;var f=(0,v.TTZ)(e.slotMaxTime)-(0,v.TTZ)(e.slotMinTime),p=Y(e.renderRange.start,o,t),h=Y(e.renderRange.end,o,t);o.isTimeScale&&(p=t.add(p,e.slotMinTime),h=t.add((0,v.E4D)(h,-1),e.slotMaxTime)),o.timeWindowMs=f,o.normalizedRange={start:p,end:h};for(var g=[],A=p;A<h;)G(A,o,e,r)&&g.push(A),A=t.add(A,o.slotDuration);o.slotDates=g;var m=-1,y=0,C=[],E=[];for(A=p;A<h;)G(A,o,e,r)?(m+=1,C.push(m),E.push(y)):C.push(m+.5),A=t.add(A,o.snapDuration),y+=1;return o.snapDiffToIndex=C,o.snapIndexToDiff=E,o.snapCnt=m+1,o.slotCnt=o.snapCnt/o.snapsPerSlot,o.isWeekStarts=function(e,t){for(var n=e.slotDates,r=e.emphasizeWeeks,o=null,i=[],a=0,s=n;a<s.length;a++){var l=s[a],c=t.computeWeekNumber(l),u=r&&null!==o&&o!==c;o=c,i.push(u)}return i}(o,t),o.cellRows=function(e,t){for(var n=e.slotDates,r=e.headerFormats,o=r.map((function(){return[]})),i=(0,v.XrI)(e.slotDuration),a=7===i?"week":1===i?"day":null,s=r.map((function(e){return e.getLargestUnit?e.getLargestUnit():null})),l=0;l<n.length;l+=1)for(var c=n[l],u=e.isWeekStarts[l],d=0;d<r.length;d+=1){var f=r[d],p=o[d],h=p[p.length-1],g=d===r.length-1,A=r.length>1&&!g,m=null,y=s[d]||(g?a:null);if(A){var C=t.format(c,f);h&&h.text===C?h.colspan+=1:m=J(c,C,y)}else if(!h||(0,v.GNL)(t.countDurationsBetween(e.normalizedRange.start,c,e.labelInterval))){m=J(c,C=t.format(c,f),y)}else h.colspan+=1;m&&(m.weekStart=u,p.push(m))}return o}(o,t),o.slotsPerLabel=(0,v.ltK)(o.labelInterval,o.slotDuration),o}function Y(e,t,n){var r=e;return t.isTimeScale||(r=(0,v.b7Q)(r),t.largeUnit&&(r=n.startOf(r,t.largeUnit))),r}function G(e,t,n,r){if(r.isHiddenDay(e))return!1;if(t.isTimeScale){var o=(0,v.b7Q)(e),i=e.valueOf()-o.valueOf()-(0,v.TTZ)(n.slotMinTime);return(i=(i%864e5+864e5)%864e5)<t.timeWindowMs}return!0}function Q(e,t,n){var r=t.currentRange,o=e.labelInterval;if(!o){var i=void 0;if(e.slotDuration){for(var a=0,s=j;a<s.length;a++){i=s[a];var l=(0,v.Pvs)(i),c=(0,v.ltK)(l,e.slotDuration);if(null!==c&&c<=6){o=l;break}}o||(o=e.slotDuration)}else for(var u=0,d=j;u<d.length;u++){if(i=d[u],o=(0,v.Pvs)(i),n.countDurationsBetween(r.start,r.end,o)>=18)break}e.labelInterval=o}return o}function X(e,t,n){var r=t.currentRange,o=null;return"years"===e?o=n.diffWholeYears(r.start,r.end):"months"===e||"weeks"===e?o=n.diffWholeMonths(r.start,r.end):"days"===e&&(o=(0,v.Lnh)(r.start,r.end)),o||0}function J(e,t,n){return{date:e,text:t,rowUnit:n,colspan:1,isWeekStart:!1}}var K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,v.azq)(v.rVp,{hookProps:e.hookProps,content:t.options.slotLabelContent,defaultContent:$},(function(t,n){return(0,v.azq)("a",(0,b.pi)({ref:t,className:"fc-timeline-slot-cushion fc-scrollgrid-sync-inner"+(e.isSticky?" fc-sticky":"")},e.navLinkAttrs),n)}))},t}(v.H6J);function $(e){return e.text}function ee(e){return{level:e.level,date:e.dateEnv.toDate(e.dateMarker),view:e.viewApi,text:e.text}}var te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,v.Vbb)(ee),t.normalizeClassNames=(0,v.HgS)(),t.buildCellNavLinkAttrs=(0,v.HPs)(ne),t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.dateEnv,o=n.options,i=t.cell,a=t.dateProfile,s=t.tDateProfile,l=(0,v.iCZ)(i.date,t.todayRange,t.nowDate,a),c=["fc-timeline-slot","fc-timeline-slot-label"].concat("time"===i.rowUnit?(0,v.mK5)(l,n.theme):(0,v.yLW)(l,n.theme));i.isWeekStart&&c.push("fc-timeline-slot-em");var u=this.refineHookProps({level:t.rowLevel,dateMarker:i.date,text:i.text,dateEnv:n.dateEnv,viewApi:n.viewApi}),d=this.normalizeClassNames(o.slotLabelClassNames,u);return(0,v.azq)(v.y3w,{hookProps:u,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},(function(o){return(0,v.azq)("th",{ref:o,className:c.concat(d).join(" "),"data-date":r.formatIso(i.date,{omitTime:!s.isTimeScale,omitTimeZoneOffset:!0}),colSpan:i.colspan},(0,v.azq)("div",{className:"fc-timeline-slot-frame",style:{height:t.rowInnerHeight}},(0,v.azq)(K,{hookProps:u,isSticky:t.isSticky,navLinkAttrs:e.buildCellNavLinkAttrs(n,i.date,i.rowUnit)})))}))},t}(v.H6J);function ne(e,t,n){return n&&"time"!==n?(0,v.rcD)(e,t,n):{}}var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.dateProfile,n=e.tDateProfile,r=e.rowInnerHeights,o=e.todayRange,i=e.nowDate,a=n.cellRows;return(0,v.azq)(v.HYg,null,a.map((function(e,s){var l=s===a.length-1,c=["fc-timeline-header-row",n.isTimeScale&&l?"fc-timeline-header-row-chrono":""];return(0,v.azq)("tr",{key:s,className:c.join(" ")},e.map((function(e){return(0,v.azq)(te,{key:e.date.toISOString(),cell:e,rowLevel:s,dateProfile:t,tDateProfile:n,todayRange:o,nowDate:i,rowInnerHeight:r&&r[s],isSticky:!l})})))})))},t}(v.H6J),oe=function(){function e(e,t,n,r,o,i){this.slatRootEl=e,this.dateProfile=n,this.tDateProfile=r,this.dateEnv=o,this.isRtl=i,this.outerCoordCache=new v.zIV(e,t,!0,!1),this.innerCoordCache=new v.zIV(e,(0,v.sSy)(t,"div"),!0,!1)}return e.prototype.isDateInRange=function(e){return(0,v.mCA)(this.dateProfile.currentRange,e)},e.prototype.dateToCoord=function(e){var t=this.tDateProfile,n=this.computeDateSnapCoverage(e)/t.snapsPerSlot,r=Math.floor(n),o=n-(r=Math.min(r,t.slotCnt-1)),i=this.innerCoordCache,a=this.outerCoordCache;return this.isRtl?a.originClientRect.width-(a.rights[r]-i.getWidth(r)*o):a.lefts[r]+i.getWidth(r)*o},e.prototype.rangeToCoords=function(e){return{start:this.dateToCoord(e.start),end:this.dateToCoord(e.end)}},e.prototype.durationToCoord=function(e){var t=this,n=t.dateProfile,r=t.tDateProfile,o=t.dateEnv,i=t.isRtl,a=0;if(n){var s=o.add(n.activeRange.start,e);r.isTimeScale||(s=(0,v.b7Q)(s)),a=this.dateToCoord(s),!i&&a&&(a+=1)}return a},e.prototype.coordFromLeft=function(e){return this.isRtl?this.outerCoordCache.originClientRect.width-e:e},e.prototype.computeDateSnapCoverage=function(e){return ie(e,this.tDateProfile,this.dateEnv)},e}();function ie(e,t,n){var r=n.countDurationsBetween(t.normalizedRange.start,e,t.snapDuration);if(r<0)return 0;if(r>=t.snapDiffToIndex.length)return t.snapCnt;var o=Math.floor(r),i=t.snapDiffToIndex[o];return(0,v.GNL)(i)?i+=r-o:i=Math.ceil(i),i}function ae(e,t){return null===e?{left:"",right:""}:t?{right:e,left:""}:{left:e,right:""}}function se(e,t){return e?t?{right:e.start,left:-e.end}:{left:e.start,right:-e.end}:{left:"",right:""}}var le=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,v.VfA)(),t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=(0,v.NTx)(t.tDateProfile.slotDuration).unit,o=t.slatCoords&&t.slatCoords.dateProfile===t.dateProfile?t.slatCoords:null;return(0,v.azq)(v.wh8,{unit:r},(function(r,i){return(0,v.azq)("div",{className:"fc-timeline-header",ref:e.rootElRef},(0,v.azq)("table",{"aria-hidden":!0,className:"fc-scrollgrid-sync-table",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,(0,v.azq)("tbody",null,(0,v.azq)(re,{dateProfile:t.dateProfile,tDateProfile:t.tDateProfile,nowDate:r,todayRange:i,rowInnerHeights:t.rowInnerHeights}))),n.options.nowIndicator&&(0,v.azq)("div",{className:"fc-timeline-now-indicator-container"},o&&o.isDateInRange(r)&&(0,v.azq)(v.AOy,{isAxis:!0,date:r},(function(e,t,i,a){return(0,v.azq)("div",{ref:e,className:["fc-timeline-now-indicator-arrow"].concat(t).join(" "),style:ae(o.dateToCoord(r),n.isRtl)},a)}))))}))},t.prototype.componentDidMount=function(){this.updateSize()},t.prototype.componentDidUpdate=function(){this.updateSize()},t.prototype.updateSize=function(){this.props.onMaxCushionWidth&&this.props.onMaxCushionWidth(this.computeMaxCushionWidth())},t.prototype.computeMaxCushionWidth=function(){return Math.max.apply(Math,(0,v.xlG)(this.rootElRef.current,".fc-timeline-header-row:last-child .fc-timeline-slot-cushion").map((function(e){return e.getBoundingClientRect().width})))},t}(v.H6J),ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.options,o=t.theme,i=e.date,a=e.tDateProfile,s=e.isEm,l=(0,v.iCZ)(e.date,e.todayRange,e.nowDate,e.dateProfile),c=["fc-timeline-slot","fc-timeline-slot-lane"],u={"data-date":n.formatIso(i,{omitTimeZoneOffset:!0,omitTime:!a.isTimeScale})},d=(0,b.pi)((0,b.pi)({date:n.toDate(e.date)},l),{view:t.viewApi});return s&&c.push("fc-timeline-slot-em"),a.isTimeScale&&c.push((0,v.GNL)(n.countDurationsBetween(a.normalizedRange.start,e.date,a.labelInterval))?"fc-timeline-slot-major":"fc-timeline-slot-minor"),c.push.apply(c,e.isDay?(0,v.yLW)(l,o):(0,v.mK5)(l,o)),(0,v.azq)(v.QJ3,{hookProps:d,classNames:r.slotLaneClassNames,content:r.slotLaneContent,didMount:r.slotLaneDidMount,willUnmount:r.slotLaneWillUnmount,elRef:e.elRef},(function(e,t,n,r){return(0,v.azq)("td",(0,b.pi)({ref:e,className:c.concat(t).join(" ")},u),(0,v.azq)("div",{ref:n},r))}))},t}(v.H6J),ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.tDateProfile,n=e.cellElRefs,r=t.slotDates,o=t.isWeekStarts,i=!t.isTimeScale&&!t.largeUnit;return(0,v.azq)("tbody",null,(0,v.azq)("tr",null,r.map((function(r,a){var s=r.toISOString();return(0,v.azq)(ce,{key:s,elRef:n.createRef(s),date:r,dateProfile:e.dateProfile,tDateProfile:t,nowDate:e.nowDate,todayRange:e.todayRange,isEm:o[a],isDay:i})}))))},t}(v.H6J),de=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,v.VfA)(),t.cellElRefs=new v.lAU,t.handleScrollRequest=function(e){var n=t.props.onScrollLeftRequest,r=t.coords;if(n&&r){if(e.time)n(r.coordFromLeft(r.durationToCoord(e.time)));return!0}return null},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,v.azq)("div",{className:"fc-timeline-slots",ref:this.rootElRef},(0,v.azq)("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,(0,v.azq)(ue,{cellElRefs:this.cellElRefs,dateProfile:e.dateProfile,tDateProfile:e.tDateProfile,nowDate:e.nowDate,todayRange:e.todayRange})))},t.prototype.componentDidMount=function(){this.updateSizing(),this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(e){this.updateSizing(),this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach(),this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var e,t=this.props,n=this.context;null!==t.clientWidth&&this.scrollResponder&&(this.rootElRef.current.offsetWidth&&(this.coords=new oe(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.tDateProfile.slotDates.map((function(t){var n=t.toISOString();return e[n]}))),t.dateProfile,t.tDateProfile,n.dateEnv,n.isRtl),t.onCoords&&t.onCoords(this.coords),this.scrollResponder.update(!1)))},t.prototype.positionToHit=function(e){var t=this.coords.outerCoordCache,n=this.context,r=n.dateEnv,o=n.isRtl,i=this.props.tDateProfile,a=t.leftToIndex(e);if(null!=a){var s=t.getWidth(a),l=o?(t.rights[a]-e)/s:(e-t.lefts[a])/s,c=Math.floor(l*i.snapsPerSlot),u=r.add(i.slotDates[a],(0,v.uVS)(i.snapDuration,c));return{dateSpan:{range:{start:u,end:r.add(u,i.snapDuration)},allDay:!this.props.tDateProfile.isTimeScale},dayEl:this.cellElRefs.currentMap[a],left:t.lefts[a],right:t.rights[a]}}return null},t}(v.H6J);function fe(e,t,n){var r=[];if(n)for(var o=0,i=e;o<i.length;o++){var a=i[o],s=n.rangeToCoords(a),l=Math.round(s.start),c=Math.round(s.end);c-l<t&&(c=l+t),r.push({start:l,end:c})}return r}var pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=[].concat(e.eventResizeSegs,e.dateSelectionSegs);return e.timelineCoords&&(0,v.azq)("div",{className:"fc-timeline-bg"},this.renderSegs(e.businessHourSegs||[],e.timelineCoords,"non-business"),this.renderSegs(e.bgEventSegs||[],e.timelineCoords,"bg-event"),this.renderSegs(t,e.timelineCoords,"highlight"))},t.prototype.renderSegs=function(e,t,n){var r=this.props,o=r.todayRange,i=r.nowDate,a=this.context.isRtl,s=fe(e,0,t),l=e.map((function(e,t){var r=se(s[t],a);return(0,v.azq)("div",{key:(0,v.rRV)(e.eventRange),className:"fc-timeline-bg-harness",style:r},"bg-event"===n?(0,v.azq)(v.I_K,(0,b.pi)({seg:e},(0,v.jHR)(e,o,i))):(0,v.MA3)(n))}));return(0,v.azq)(v.HYg,null,l)},t}(v.H6J),he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.sliceRange=function(e,t,n,r,o){var i=function(e,t,n){if(!t.isTimeScale&&(e=(0,v.H3H)(e),t.largeUnit)){var r=e;((e={start:n.startOf(e.start,t.largeUnit),end:n.startOf(e.end,t.largeUnit)}).end.valueOf()!==r.end.valueOf()||e.end<=e.start)&&(e={start:e.start,end:n.add(e.end,t.slotDuration)})}return e}(e,r,o),a=[];if(ie(i.start,r,o)<ie(i.end,r,o)){var s=(0,v.cMs)(i,r.normalizedRange);s&&a.push({start:s.start,end:s.end,isStart:s.start.valueOf()===i.start.valueOf()&&G(s.start,r,t,n),isEnd:s.end.valueOf()===i.end.valueOf()&&G((0,v.hvg)(s.end,-1),r,t,n)})}return a},t}(v.RVT),ge=(0,v.SPZ)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"}),Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,v.azq)(v.h2k,(0,b.pi)({},e,{extraClassNames:["fc-timeline-event","fc-h-event"],defaultTimeFormat:ge,defaultDisplayEventTime:!e.isTimeScale}))},t}(v.H6J),ve=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,v.VfA)(),t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.hiddenSegs,o=t.elRef,i=t.placement,a=t.resourceId,s=i.top,l=i.hcoords,c=l&&null!==s,u=se(l,n.isRtl),d=a?{resourceId:a}:{};return(0,v.azq)(v.ygx,{allDayDate:null,moreCnt:r.length,allSegs:r,hiddenSegs:r,alignmentElRef:this.rootElRef,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:d,popoverContent:function(){return(0,v.azq)(v.HYg,null,r.map((function(e){var n=e.eventRange.instance.instanceId;return(0,v.azq)("div",{key:n,style:{visibility:t.isForcedInvisible[n]?"hidden":""}},(0,v.azq)(Ae,(0,b.pi)({isTimeScale:t.isTimeScale,seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:n===t.eventSelection},(0,v.jHR)(e,t.todayRange,t.nowDate))))})))}},(function(t,n,r,i,a,l,d,f){return(0,v.azq)("a",{ref:function(n){(0,v.k$v)(t,n),(0,v.k$v)(o,n),(0,v.k$v)(e.rootElRef,n)},className:["fc-timeline-more-link"].concat(n).join(" "),style:(0,b.pi)({visibility:c?"":"hidden",top:s||0},u),onClick:a,title:l,"aria-expanded":d,"aria-controls":f},(0,v.azq)("div",{ref:r,className:"fc-timeline-more-link-inner fc-sticky"},i))}))},t}(v.H6J),me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new he,t.sortEventSegs=(0,v.HPs)(v.hak),t.harnessElRefs=new v.lAU,t.moreElRefs=new v.lAU,t.innerElRef=(0,v.VfA)(),t.state={eventInstanceHeights:{},moreLinkHeights:{}},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=r.options,i=t.dateProfile,a=t.tDateProfile,s=this.slicer.sliceProps(t,i,a.isTimeScale?null:t.nextDayThreshold,r,i,r.dateProfileGenerator,a,r.dateEnv),l=(s.eventDrag?s.eventDrag.segs:null)||(s.eventResize?s.eventResize.segs:null)||[],c=this.sortEventSegs(s.fgEventSegs,o.eventOrder),u=function(e,t,n,r,o,i){for(var a=[],s=[],l=0;l<e.length;l+=1){var c=e[l],u=n[c.eventRange.instance.instanceId],d=t[l];u&&d?a.push({index:l,span:d,thickness:u}):s.push({seg:c,hcoords:d,top:null})}var f=new v.KxW;null!=o&&(f.strictOrder=o),null!=i&&(f.maxStackCnt=i);var p=f.addSegs(a),h=p.map((function(t){return{seg:e[t.index],hcoords:t.span,top:null}})),g=(0,v.AVF)(p),A=[],m=[],y=function(t){return e[t.index]};for(l=0;l<g.length;l+=1){var C=g[l],E=C.entries.map(y);null!=(u=r[(0,v.dS)((0,v.VV4)(E))])?A.push({index:e.length+l,thickness:u,span:C.span}):m.push({seg:E,hcoords:C.span,top:null})}f.maxStackCnt=-1,f.addSegs(A);for(var b=[],w=0,S=0,D=f.toRects();S<D.length;S++){var R=D[S],B=R.index;b.push({seg:B<e.length?e[B]:g[B-e.length].entries.map(y),hcoords:R.span,top:R.levelCoord}),w=Math.max(w,R.levelCoord+R.thickness)}return[b.concat(s,h,m),w]}(c,fe(c,o.eventMinWidth,t.timelineCoords),n.eventInstanceHeights,n.moreLinkHeights,o.eventOrderStrict,o.eventMaxStack),d=u[0],f=u[1],p=(s.eventDrag?s.eventDrag.affectedInstances:null)||(s.eventResize?s.eventResize.affectedInstances:null)||{};return(0,v.azq)(v.HYg,null,(0,v.azq)(pe,{businessHourSegs:s.businessHourSegs,bgEventSegs:s.bgEventSegs,timelineCoords:t.timelineCoords,eventResizeSegs:s.eventResize?s.eventResize.segs:[],dateSelectionSegs:s.dateSelectionSegs,nowDate:t.nowDate,todayRange:t.todayRange}),(0,v.azq)("div",{className:"fc-timeline-events fc-scrollgrid-sync-inner",ref:this.innerElRef,style:{height:f}},this.renderFgSegs(d,p,!1,!1,!1),this.renderFgSegs(function(e,t,n){if(!e.length||!t)return[];var r=function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o.seg;Array.isArray(i)||(t[i.eventRange.instance.instanceId]=o.top)}return t}(n);return e.map((function(e){return{seg:e,hcoords:t.rangeToCoords(e),top:r[e.eventRange.instance.instanceId]}}))}(l,t.timelineCoords,d),{},Boolean(s.eventDrag),Boolean(s.eventResize),!1)))},t.prototype.componentDidMount=function(){this.updateSize()},t.prototype.componentDidUpdate=function(e,t){e.eventStore===this.props.eventStore&&e.timelineCoords===this.props.timelineCoords&&t.moreLinkHeights===this.state.moreLinkHeights||this.updateSize()},t.prototype.updateSize=function(){var e=this.props,t=e.timelineCoords,n=this.innerElRef.current;e.onHeightChange&&e.onHeightChange(n,!1),t&&this.setState({eventInstanceHeights:(0,v._aR)(this.harnessElRefs.currentMap,(function(e){return Math.round(e.getBoundingClientRect().height)})),moreLinkHeights:(0,v._aR)(this.moreElRefs.currentMap,(function(e){return Math.round(e.getBoundingClientRect().height)}))},(function(){e.onHeightChange&&e.onHeightChange(n,!0)})),e.syncParentMinHeight&&(n.parentElement.style.minHeight=n.style.height)},t.prototype.renderFgSegs=function(e,t,n,r,o){var i=this,a=i.harnessElRefs,s=i.moreElRefs,l=i.props,c=i.context,u=n||r||o;return(0,v.azq)(v.HYg,null,e.map((function(e){var i=e.seg,d=e.hcoords,f=e.top;if(Array.isArray(i)){var p=(0,v.dS)((0,v.VV4)(i));return(0,v.azq)(ve,{key:"m:"+p,elRef:s.createRef(p),hiddenSegs:i,placement:e,dateProfile:l.dateProfile,nowDate:l.nowDate,todayRange:l.todayRange,isTimeScale:l.tDateProfile.isTimeScale,eventSelection:l.eventSelection,resourceId:l.resourceId,isForcedInvisible:t})}var h=i.eventRange.instance.instanceId,g=u||Boolean(!t[h]&&d&&null!==f),A=se(d,c.isRtl);return(0,v.azq)("div",{key:"e:"+h,ref:u?null:a.createRef(h),className:"fc-timeline-event-harness",style:(0,b.pi)({visibility:g?"":"hidden",top:f||0},A)},(0,v.azq)(Ae,(0,b.pi)({isTimeScale:l.tDateProfile.isTimeScale,seg:i,isDragging:n,isResizing:r,isDateSelecting:o,isSelected:h===l.eventSelection},(0,v.jHR)(i,l.todayRange,l.nowDate))))})))},t}(v.H6J);me.addStateEquality({eventInstanceHeights:v.S6v,moreLinkHeights:v.S6v});var ye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slatsRef=(0,v.VfA)(),t.state={coords:null},t.handeEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t.handleCoords=function(e){t.setState({coords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=o.options,a=n.dateProfile,s=n.tDateProfile,l=(0,v.NTx)(s.slotDuration).unit;return(0,v.azq)("div",{className:"fc-timeline-body",ref:this.handeEl,style:{minWidth:n.tableMinWidth,height:n.clientHeight,width:n.clientWidth}},(0,v.azq)(v.wh8,{unit:l},(function(t,l){return(0,v.azq)(v.HYg,null,(0,v.azq)(de,{ref:e.slatsRef,dateProfile:a,tDateProfile:s,nowDate:t,todayRange:l,clientWidth:n.clientWidth,tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,onCoords:e.handleCoords,onScrollLeftRequest:n.onScrollLeftRequest}),(0,v.azq)(me,{dateProfile:a,tDateProfile:n.tDateProfile,nowDate:t,todayRange:l,nextDayThreshold:i.nextDayThreshold,businessHours:n.businessHours,eventStore:n.eventStore,eventUiBases:n.eventUiBases,dateSelection:n.dateSelection,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,timelineCoords:r.coords,syncParentMinHeight:!0}),i.nowIndicator&&r.coords&&r.coords.isDateInRange(t)&&(0,v.azq)("div",{className:"fc-timeline-now-indicator-container"},(0,v.azq)(v.AOy,{isAxis:!1,date:t},(function(e,n,i,a){return(0,v.azq)("div",{ref:e,className:["fc-timeline-now-indicator-line"].concat(n).join(" "),style:ae(r.coords.dateToCoord(t),o.isRtl)},a)}))))})))},t.prototype.queryHit=function(e,t,n,r){var o=this.slatsRef.current.positionToHit(e);return o?{dateProfile:this.props.dateProfile,dateSpan:o.dateSpan,rect:{left:o.left,right:o.right,top:0,bottom:r},dayEl:o.dayEl,layer:0}:null},t}(v.IdW),Ce=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimelineDateProfile=(0,v.HPs)(Z),t.scrollGridRef=(0,v.VfA)(),t.state={slatCoords:null,slotCushionMaxWidth:null},t.handleSlatCoords=function(e){t.setState({slatCoords:e})},t.handleScrollLeftRequest=function(e){t.scrollGridRef.current.forceScrollLeft(0,e)},t.handleMaxCushionWidth=function(e){t.setState({slotCushionMaxWidth:Math.ceil(e)})},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=o.options,a=!n.forPrint&&(0,v.Q8U)(i),s=!n.forPrint&&(0,v.PZw)(i),l=this.buildTimelineDateProfile(n.dateProfile,o.dateEnv,i,o.dateProfileGenerator),c=["fc-timeline",!1===i.eventOverlap?"fc-timeline-overlap-disabled":""],u=i.slotMinWidth,d=Ee(l,u||this.computeFallbackSlotMinWidth(l)),f=[{type:"header",key:"header",isSticky:a,chunks:[{key:"timeline",content:function(t){return(0,v.azq)(le,{dateProfile:n.dateProfile,clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,tDateProfile:l,slatCoords:r.slatCoords,onMaxCushionWidth:u?null:e.handleMaxCushionWidth})}}]},{type:"body",key:"body",liquid:!0,chunks:[{key:"timeline",content:function(t){return(0,v.azq)(ye,(0,b.pi)({},n,{clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,tDateProfile:l,onSlatCoords:e.handleSlatCoords,onScrollLeftRequest:e.handleScrollLeftRequest}))}}]}];return s&&f.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"timeline",content:v.Hbc}]}),(0,v.azq)(v.xS$,{viewSpec:o.viewSpec},(function(t,r){return(0,v.azq)("div",{ref:t,className:c.concat(r).join(" ")},(0,v.azq)(z,{ref:e.scrollGridRef,liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:!1,colGroups:[{cols:d}],sections:f}))}))},t.prototype.computeFallbackSlotMinWidth=function(e){return Math.max(30,(this.state.slotCushionMaxWidth||0)/e.slotsPerLabel)},t}(v.IdW);function Ee(e,t){return[{span:e.slotCnt,minWidth:t||1}]}const be=(0,v.rxu)({deps:[m.Z],initialView:"timelineDay",views:{timeline:{component:Ce,usesMinMaxTime:!0,eventResizableFromStart:!0},timelineDay:{type:"timeline",duration:{days:1}},timelineWeek:{type:"timeline",duration:{weeks:1}},timelineMonth:{type:"timeline",duration:{months:1}},timelineYear:{type:"timeline",duration:{years:1}}}});function we(e,t){var n=e.resourceEditable;if(null==n){var r=e.sourceId&&t.getCurrentData().eventSources[e.sourceId];r&&(n=r.extendedProps.resourceEditable),null==n&&null==(n=t.options.eventResourceEditable)&&(n=t.options.editable)}return n}var Se=function(){function e(){this.filterResources=(0,v.HPs)(De)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?{resourceStore:this.filterResources(t.resourceStore,t.options.filterResourcesWithEvents,t.eventStore,t.dateProfile.activeRange),resourceEntityExpansions:t.resourceEntityExpansions}:null},e}();function De(e,t,n,r){if(t){var o=function(e,t){return(0,v.CrY)(e,(function(e){return(0,v.zvB)(e.range,t)}))}(n.instances,r),i=function(e,t){var n={};for(var r in e)for(var o=0,i=t[e[r].defId].resourceIds;o<i.length;o++){n[i[o]]=!0}return n}(o,n.defs);return(0,b.pi)(i,function(e,t){var n={};for(var r in e)for(var o=void 0;(o=t[r])&&(r=o.parentId);)n[r]=!0;return n}(i,e)),(0,v.CrY)(e,(function(e,t){return i[t]}))}return e}var Re=function(){function e(){this.buildResourceEventUis=(0,v.HPs)(Be,v.S6v),this.injectResourceEventUis=(0,v.HPs)(Ie)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?null:{eventUiBases:this.injectResourceEventUis(e.eventUiBases,e.eventStore.defs,this.buildResourceEventUis(t.resourceStore))}},e}();function Be(e){return(0,v._aR)(e,(function(e){return e.ui}))}function Ie(e,t,n){return(0,v._aR)(e,(function(e,r){return r?function(e,t,n){for(var r=[],o=0,i=t.resourceIds;o<i.length;o++){var a=i[o];n[a]&&r.unshift(n[a])}return r.unshift(e),(0,v.kLJ)(r)}(e,t[r],n):e}))}var xe=[];function ke(e){xe.push(e)}function Te(e){return xe[e]}function Me(){return xe}var ze={id:String,resources:v.yRu,url:String,method:String,startParam:String,endParam:String,timeZoneParam:String,extraParams:v.yRu};function He(e){var t;if("string"==typeof e?t={url:e}:"function"==typeof e||Array.isArray(e)?t={resources:e}:"object"==typeof e&&e&&(t=e),t){var n=(0,v.rjQ)(t,ze),r=n.refined;!function(e){for(var t in e)console.warn("Unknown resource prop '"+t+"'")}(n.extra);var o=function(e){for(var t=Me(),n=t.length-1;n>=0;n-=1){var r=t[n].parseMeta(e);if(r)return{meta:r,sourceDefId:n}}return null}(r);if(o)return{_raw:e,sourceId:(0,v.M8z)(),sourceDefId:o.sourceDefId,meta:o.meta,publicId:r.id||"",isFetching:!1,latestFetchId:"",fetchRange:null}}return null}function Pe(e,t,n){var r=n.options,o=n.dateProfile;if(!e||!t)return Ne(r.initialResources||r.resources,o.activeRange,r.refetchResourcesOnNavigate,n);switch(t.type){case"RESET_RESOURCE_SOURCE":return Ne(t.resourceSourceInput,o.activeRange,r.refetchResourcesOnNavigate,n);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return function(e,t,n,r){if(n&&!function(e){return Boolean(Te(e.sourceDefId).ignoreRange)}(e)&&(!e.fetchRange||!(0,v.Dnt)(e.fetchRange,t)))return Oe(e,t,r);return e}(e,o.activeRange,r.refetchResourcesOnNavigate,n);case"RECEIVE_RESOURCES":case"RECEIVE_RESOURCE_ERROR":return function(e,t,n){if(t===e.latestFetchId)return(0,b.pi)((0,b.pi)({},e),{isFetching:!1,fetchRange:n});return e}(e,t.fetchId,t.fetchRange);case"REFETCH_RESOURCES":return Oe(e,o.activeRange,n);default:return e}}function Ne(e,t,n,r){if(e){var o=He(e);return o=Oe(o,n?t:null,r)}return null}function Oe(e,t,n){var r=Te(e.sourceDefId),o=(0,v.M8z)();return r.fetch({resourceSource:e,range:t,context:n},(function(e){n.dispatch({type:"RECEIVE_RESOURCES",fetchId:o,fetchRange:t,rawResources:e.rawResources})}),(function(e){n.dispatch({type:"RECEIVE_RESOURCE_ERROR",fetchId:o,fetchRange:t,error:e})})),(0,b.pi)((0,b.pi)({},e),{isFetching:!0,latestFetchId:o})}var Ue="_fc:",We={id:String,parentId:String,children:v.yRu,title:String,businessHours:v.yRu,extendedProps:v.yRu,eventEditable:Boolean,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventConstraint:v.yRu,eventOverlap:Boolean,eventAllow:v.yRu,eventClassNames:v.Qu7,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String};function Fe(e,t,n,r){void 0===t&&(t="");var o=(0,v.rjQ)(e,We),i=o.refined,a=o.extra,s={id:i.id||Ue+(0,v.M8z)(),parentId:i.parentId||t,title:i.title||"",businessHours:i.businessHours?(0,v.ifz)(i.businessHours,r):null,ui:(0,v.oqz)({editable:i.eventEditable,startEditable:i.eventStartEditable,durationEditable:i.eventDurationEditable,constraint:i.eventConstraint,overlap:i.eventOverlap,allow:i.eventAllow,classNames:i.eventClassNames,backgroundColor:i.eventBackgroundColor,borderColor:i.eventBorderColor,textColor:i.eventTextColor,color:i.eventColor},r),extendedProps:(0,b.pi)((0,b.pi)({},a),i.extendedProps)};if(Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),n[s.id]);else if(n[s.id]=s,i.children)for(var l=0,c=i.children;l<c.length;l++){Fe(c[l],s.id,n,r)}return s}function qe(e){return 0===e.indexOf(Ue)?"":e}function Le(e,t,n,r){if(!e||!t)return{};switch(t.type){case"RECEIVE_RESOURCES":return function(e,t,n,r,o){if(r.latestFetchId===n){for(var i={},a=0,s=t;a<s.length;a++){Fe(s[a],"",i,o)}return i}return e}(e,t.rawResources,t.fetchId,n,r);case"ADD_RESOURCE":return o=e,i=t.resourceHash,(0,b.pi)((0,b.pi)({},o),i);case"REMOVE_RESOURCE":return function(e,t){var n=(0,b.pi)({},e);for(var r in delete n[t],n)n[r].parentId===t&&(n[r]=(0,b.pi)((0,b.pi)({},n[r]),{parentId:""}));return n}(e,t.resourceId);case"SET_RESOURCE_PROP":return function(e,t,n,r){var o,i,a=e[t];if(a)return(0,b.pi)((0,b.pi)({},e),((o={})[t]=(0,b.pi)((0,b.pi)({},a),((i={})[n]=r,i)),o));return e}(e,t.resourceId,t.propName,t.propValue);case"SET_RESOURCE_EXTENDED_PROP":return function(e,t,n,r){var o,i,a=e[t];if(a)return(0,b.pi)((0,b.pi)({},e),((o={})[t]=(0,b.pi)((0,b.pi)({},a),{extendedProps:(0,b.pi)((0,b.pi)({},a.extendedProps),(i={},i[n]=r,i))}),o));return e}(e,t.resourceId,t.propName,t.propValue);default:return e}var o,i}var _e={resourceId:String,resourceIds:v.yRu,resourceEditable:Boolean};var Ve=function(){function e(e,t){this._context=e,this._resource=t}return e.prototype.setProp=function(e,t){var n=this._resource;this._context.dispatch({type:"SET_RESOURCE_PROP",resourceId:n.id,propName:e,propValue:t}),this.sync(n)},e.prototype.setExtendedProp=function(e,t){var n=this._resource;this._context.dispatch({type:"SET_RESOURCE_EXTENDED_PROP",resourceId:n.id,propName:e,propValue:t}),this.sync(n)},e.prototype.sync=function(t){var n=this._context,r=t.id;this._resource=n.getCurrentData().resourceStore[r],n.emitter.trigger("resourceChange",{oldResource:new e(n,t),resource:this,revert:function(){var e;n.dispatch({type:"ADD_RESOURCE",resourceHash:(e={},e[r]=t,e)})}})},e.prototype.remove=function(){var e=this._context,t=this._resource,n=t.id;e.dispatch({type:"REMOVE_RESOURCE",resourceId:n}),e.emitter.trigger("resourceRemove",{resource:this,revert:function(){var r;e.dispatch({type:"ADD_RESOURCE",resourceHash:(r={},r[n]=t,r)})}})},e.prototype.getParent=function(){var t=this._context,n=this._resource.parentId;return n?new e(t,t.getCurrentData().resourceSource[n]):null},e.prototype.getChildren=function(){var t=this._resource.id,n=this._context,r=n.getCurrentData().resourceStore,o=[];for(var i in r)r[i].parentId===t&&o.push(new e(n,r[i]));return o},e.prototype.getEvents=function(){var e=this._resource.id,t=this._context,n=t.getCurrentData().eventStore,r=n.defs,o=n.instances,i=[];for(var a in o){var s=o[a],l=r[s.defId];-1!==l.resourceIds.indexOf(e)&&i.push(new v.voO(t,l,s))}return i},Object.defineProperty(e.prototype,"id",{get:function(){return qe(this._resource.id)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._resource.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventConstraint",{get:function(){return this._resource.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventOverlap",{get:function(){return this._resource.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventAllow",{get:function(){return this._resource.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventBackgroundColor",{get:function(){return this._resource.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventBorderColor",{get:function(){return this._resource.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventTextColor",{get:function(){return this._resource.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventClassNames",{get:function(){return this._resource.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._resource.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._resource,n=t.ui,r=this.id,o={};return r&&(o.id=r),t.title&&(o.title=t.title),e.collapseEventColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?o.eventColor=n.backgroundColor:(n.backgroundColor&&(o.eventBackgroundColor=n.backgroundColor),n.borderColor&&(o.eventBorderColor=n.borderColor)),n.textColor&&(o.eventTextColor=n.textColor),n.classNames.length&&(o.eventClassNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?(0,b.pi)(o,t.extendedProps):o.extendedProps=t.extendedProps),o},e.prototype.toJSON=function(){return this.toPlainObject()},e}();v.zeW.prototype.addResource=function(e,t){var n,r=this;void 0===t&&(t=!0);var o,i,a=this.getCurrentData();e instanceof Ve?((n={})[(i=e._resource).id]=i,o=n):i=Fe(e,"",o={},a),this.dispatch({type:"ADD_RESOURCE",resourceHash:o}),t&&this.trigger("_scrollRequest",{resourceId:i.id});var s=new Ve(a,i);return a.emitter.trigger("resourceAdd",{resource:s,revert:function(){r.dispatch({type:"REMOVE_RESOURCE",resourceId:i.id})}}),s},v.zeW.prototype.getResourceById=function(e){e=String(e);var t=this.getCurrentData();if(t.resourceStore){var n=t.resourceStore[e];if(n)return new Ve(t,n)}return null},v.zeW.prototype.getResources=function(){var e=this.getCurrentData(),t=e.resourceStore,n=[];if(t)for(var r in t)n.push(new Ve(e,t[r]));return n},v.zeW.prototype.getTopLevelResources=function(){var e=this.getCurrentData(),t=e.resourceStore,n=[];if(t)for(var r in t)t[r].parentId||n.push(new Ve(e,t[r]));return n},v.zeW.prototype.refetchResources=function(){this.dispatch({type:"REFETCH_RESOURCES"})};var je=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.getKeyInfo=function(e){return(0,b.pi)({"":{}},e.resourceStore)},t.prototype.getKeysForDateSpan=function(e){return[e.resourceId||""]},t.prototype.getKeysForEventDef=function(e){var t=e.resourceIds;return t.length?t:[""]},t}(v.qX1);function Ze(e,t){return(0,b.pi)((0,b.pi)({},t),{constraints:Ye(e,t.constraints)})}function Ye(e,t){return t.map((function(t){var n=t.defs;if(n)for(var r in n){var o=n[r].resourceIds;if(o.length&&-1===o.indexOf(e))return!1}return t}))}v.voO.prototype.getResources=function(){var e=this._context.calendarApi;return this._def.resourceIds.map((function(t){return e.getResourceById(t)}))},v.voO.prototype.setResources=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n],i=null;"string"==typeof o?i=o:"number"==typeof o?i=String(o):o instanceof Ve?i=o.id:console.warn("unknown resource type: "+o),i&&t.push(i)}this.mutate({standardProps:{resourceIds:t}})};var Ge={resources:function(e,t){t.getCurrentData().resourceSource._raw!==e&&t.dispatch({type:"RESET_RESOURCE_SOURCE",resourceSourceInput:e})}};var Qe=(0,v.MCs)("id,title");var Xe={initialResources:v.yRu,resources:v.yRu,eventResourceEditable:Boolean,refetchResourcesOnNavigate:Boolean,resourceOrder:v.MCs,filterResourcesWithEvents:Boolean,resourceGroupField:String,resourceAreaWidth:v.yRu,resourceAreaColumns:v.yRu,resourcesInitiallyExpanded:Boolean,datesAboveResources:Boolean,needsResourceData:Boolean,resourceAreaHeaderClassNames:v.yRu,resourceAreaHeaderContent:v.yRu,resourceAreaHeaderDidMount:v.yRu,resourceAreaHeaderWillUnmount:v.yRu,resourceGroupLabelClassNames:v.yRu,resourceGroupLabelContent:v.yRu,resourceGroupLabelDidMount:v.yRu,resourceGroupLabelWillUnmount:v.yRu,resourceLabelClassNames:v.yRu,resourceLabelContent:v.yRu,resourceLabelDidMount:v.yRu,resourceLabelWillUnmount:v.yRu,resourceLaneClassNames:v.yRu,resourceLaneContent:v.yRu,resourceLaneDidMount:v.yRu,resourceLaneWillUnmount:v.yRu,resourceGroupLaneClassNames:v.yRu,resourceGroupLaneContent:v.yRu,resourceGroupLaneDidMount:v.yRu,resourceGroupLaneWillUnmount:v.yRu},Je={resourcesSet:v.yRu,resourceAdd:v.yRu,resourceChange:v.yRu,resourceRemove:v.yRu};function Ke(e){return(0,v.azq)(v.Yh$.Consumer,null,(function(t){var n=t.options,r={resource:new Ve(t,e.resource),date:e.date?t.dateEnv.toDate(e.date):null,view:t.viewApi},o={"data-resource-id":e.resource.id,"data-date":e.date?(0,v.SVl)(e.date):void 0};return(0,v.azq)(v.QJ3,{hookProps:r,classNames:n.resourceLabelClassNames,content:n.resourceLabelContent,defaultContent:$e,didMount:n.resourceLabelDidMount,willUnmount:n.resourceLabelWillUnmount},(function(t,n,r,i){return e.children(t,n,o,r,i)}))}))}function $e(e){return e.resource.title||e.resource.id}ke({ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.resources)?e.resources:null},fetch:function(e,t){t({rawResources:e.resourceSource.meta})}}),ke({parseMeta:function(e){return"function"==typeof e.resources?e.resources:null},fetch:function(e,t,n){var r=e.context.dateEnv,o=e.resourceSource.meta,i=e.range?{start:r.toDate(e.range.start),end:r.toDate(e.range.end),startStr:r.formatIso(e.range.start),endStr:r.formatIso(e.range.end),timeZone:r.timeZone}:{};(0,v.Olf)(o.bind(null,i),(function(e){t({rawResources:e})}),n)}}),ke({parseMeta:function(e){return e.url?{url:e.url,method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams}:null},fetch:function(e,t,n){var r=e.resourceSource.meta,o=function(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,c={};t&&(null==(r=e.startParam)&&(r=l.startParam),null==(o=e.endParam)&&(o=l.endParam),null==(i=e.timeZoneParam)&&(i=l.timeZoneParam),c[r]=s.formatIso(t.start),c[o]=s.formatIso(t.end),"local"!==s.timeZone&&(c[i]=s.timeZone));a="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};return(0,b.pi)(c,a),c}(r,e.range,e.context);(0,v.aAC)(r.method,r.url,o,(function(e,n){t({rawResources:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}});var et=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,v.azq)(Ke,{resource:e.resource,date:e.date},(function(t,n,r,o,i){return(0,v.azq)("th",(0,b.pi)({ref:t,role:"columnheader",className:["fc-col-header-cell","fc-resource"].concat(n).join(" "),colSpan:e.colSpan},r),(0,v.azq)("div",{className:"fc-scrollgrid-sync-inner"},(0,v.azq)("span",{className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(v.H6J);!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDateFormat=(0,v.HPs)(tt),t}(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=this.buildDateFormat(n.options.dayHeaderFormat,t.datesRepDistinctDays,t.dates.length);return(0,v.azq)(v.wh8,{unit:"day"},(function(o,i){return 1===t.dates.length?e.renderResourceRow(t.resources,t.dates[0]):n.options.datesAboveResources?e.renderDayAndResourceRows(t.dates,r,i,t.resources):e.renderResourceAndDayRows(t.resources,t.dates,r,i)}))},t.prototype.renderResourceRow=function(e,t){var n=e.map((function(e){return(0,v.azq)(et,{key:e.id,resource:e,colSpan:1,date:t})}));return this.buildTr(n,"resources")},t.prototype.renderDayAndResourceRows=function(e,t,n,r){for(var o=[],i=[],a=0,s=e;a<s.length;a++){var l=s[a];o.push(this.renderDateCell(l,t,n,r.length,null,!0));for(var c=0,u=r;c<u.length;c++){var d=u[c];i.push((0,v.azq)(et,{key:d.id+":"+l.toISOString(),resource:d,colSpan:1,date:l}))}}return(0,v.azq)(v.HYg,null,this.buildTr(o,"day"),this.buildTr(i,"resources"))},t.prototype.renderResourceAndDayRows=function(e,t,n,r){for(var o=[],i=[],a=0,s=e;a<s.length;a++){var l=s[a];o.push((0,v.azq)(et,{key:l.id,resource:l,colSpan:t.length,isSticky:!0}));for(var c=0,u=t;c<u.length;c++){var d=u[c];i.push(this.renderDateCell(d,n,r,1,l))}}return(0,v.azq)(v.HYg,null,this.buildTr(o,"resources"),this.buildTr(i,"day"))},t.prototype.renderDateCell=function(e,t,n,r,o,i){var a=this.props,s=o?":"+o.id:"",l=o?{resource:new Ve(this.context,o)}:{},c=o?{"data-resource-id":o.id}:{};return a.datesRepDistinctDays?(0,v.azq)(v.nWf,{key:e.toISOString()+s,date:e,dateProfile:a.dateProfile,todayRange:n,colCnt:a.dates.length*a.resources.length,dayHeaderFormat:t,colSpan:r,isSticky:i,extraHookProps:l,extraDataAttrs:c}):(0,v.azq)(v.Ceh,{key:e.getUTCDay()+s,dow:e.getUTCDay(),dayHeaderFormat:t,colSpan:r,isSticky:i,extraHookProps:l,extraDataAttrs:c})},t.prototype.buildTr=function(e,t){var n=this.props.renderIntro;return e.length||(e=[(0,v.azq)("td",{key:0}," ")]),(0,v.azq)("tr",{key:t,role:"row"},n&&n(t),e)}}(v.H6J);function tt(e,t,n){return e||(0,v.nm6)(t,n)}var nt=function(e){for(var t={},n=[],r=0;r<e.length;r+=1){var o=e[r].id;n.push(o),t[o]=r}this.ids=n,this.indicesById=t,this.length=e.length},rt=function(){function e(e,t,n){this.dayTableModel=e,this.resources=t,this.context=n,this.resourceIndex=new nt(t),this.rowCnt=e.rowCnt,this.colCnt=e.colCnt*t.length,this.cells=this.buildCells()}return e.prototype.buildCells=function(){for(var e=this,t=e.rowCnt,n=e.dayTableModel,r=e.resources,o=[],i=0;i<t;i+=1){for(var a=[],s=0;s<n.colCnt;s+=1)for(var l=0;l<r.length;l+=1){var c=r[l],u={resource:new Ve(this.context,c)},d={"data-resource-id":c.id},f={resourceId:c.id},p=n.cells[i][s].date;a[this.computeCol(s,l)]={key:c.id+":"+p.toISOString(),date:p,extraHookProps:u,extraDataAttrs:d,extraClassNames:["fc-resource"],extraDateSpan:f}}o.push(a)}return o},e}(),ot=(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,b.ZT)(t,e),t.prototype.computeCol=function(e,t){return t*this.dayTableModel.colCnt+e},t.prototype.computeColRanges=function(e,t,n){return[{firstCol:this.computeCol(e,n),lastCol:this.computeCol(t,n),isStart:!0,isEnd:!0}]}}(rt),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,b.ZT)(t,e),t.prototype.computeCol=function(e,t){return e*this.resources.length+t},t.prototype.computeColRanges=function(e,t,n){for(var r=[],o=e;o<=t;o+=1){var i=this.computeCol(o,n);r.push({firstCol:i,lastCol:i,isStart:o===e,isEnd:o===t})}return r}}(rt),[]);(function(){function e(){this.joinDateSelection=(0,v.HPs)(this.joinSegs),this.joinBusinessHours=(0,v.HPs)(this.joinSegs),this.joinFgEvents=(0,v.HPs)(this.joinSegs),this.joinBgEvents=(0,v.HPs)(this.joinSegs),this.joinEventDrags=(0,v.HPs)(this.joinInteractions),this.joinEventResizes=(0,v.HPs)(this.joinInteractions)}e.prototype.joinProps=function(e,t){for(var n=[],r=[],o=[],i=[],a=[],s=[],l="",c=0,u=t.resourceIndex.ids.concat([""]);c<u.length;c++){var d=u[c],f=e[d];n.push(f.dateSelectionSegs),r.push(d?f.businessHourSegs:ot),o.push(d?f.fgEventSegs:ot),i.push(f.bgEventSegs),a.push(f.eventDrag),s.push(f.eventResize),l=l||f.eventSelection}return{dateSelectionSegs:this.joinDateSelection.apply(this,(0,b.ev)([t],n)),businessHourSegs:this.joinBusinessHours.apply(this,(0,b.ev)([t],r)),fgEventSegs:this.joinFgEvents.apply(this,(0,b.ev)([t],o)),bgEventSegs:this.joinBgEvents.apply(this,(0,b.ev)([t],i)),eventDrag:this.joinEventDrags.apply(this,(0,b.ev)([t],a)),eventResize:this.joinEventResizes.apply(this,(0,b.ev)([t],s)),eventSelection:l}},e.prototype.joinSegs=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=e.resources.length,o=[],i=0;i<r;i+=1){for(var a=0,s=t[i];a<s.length;a++){var l=s[a];o.push.apply(o,this.transformSeg(l,e,i))}for(var c=0,u=t[r];c<u.length;c++){l=u[c];o.push.apply(o,this.transformSeg(l,e,i))}}return o},e.prototype.expandSegs=function(e,t){for(var n=e.resources.length,r=[],o=0;o<n;o+=1)for(var i=0,a=t;i<a.length;i++){var s=a[i];r.push.apply(r,this.transformSeg(s,e,o))}return r},e.prototype.joinInteractions=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=e.resources.length,o={},i=[],a=!1,s=!1,l=0;l<r;l+=1){var c=t[l];if(c){a=!0;for(var u=0,d=c.segs;u<d.length;u++){var f=d[u];i.push.apply(i,this.transformSeg(f,e,l))}(0,b.pi)(o,c.affectedInstances),s=s||c.isEvent}if(t[r])for(var p=0,h=t[r].segs;p<h.length;p++){f=h[p];i.push.apply(i,this.transformSeg(f,e,l))}}return a?{affectedInstances:o,segs:i,isEvent:s}:null}})(),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,b.ZT)(t,e),t.prototype.getKeyInfo=function(e){var t=e.resourceDayTableModel,n=(0,v._aR)(t.resourceIndex.indicesById,(function(e){return t.resources[e]}));return n[""]={},n},t.prototype.getKeysForDateSpan=function(e){return[e.resourceId||""]},t.prototype.getKeysForEventDef=function(e){var t=e.resourceIds;return t.length?t:[""]}}(v.qX1);function it(e,t,n,r,o,i){var a=function(e,t,n,r){var o=function(e,t){var n={};for(var r in e){var o=e[r];n[r]={resource:o,resourceFields:ct(o),children:[]}}for(var r in e){if((o=e[r]).parentId){var i=n[o.parentId];i&<(n[r],i.children,t)}}return n}(e,r),i=[];for(var a in o){var s=o[a];s.resource.parentId||st(s,i,n,0,t,r)}return i}(e,r?-1:1,t,n),s=[];return at(a,s,r,[],0,o,i),s}function at(e,t,n,r,o,i,a){for(var s=0;s<e.length;s+=1){var l=e[s],c=l.group;if(c)if(n){var u=t.length,d=r.length;if(at(l.children,t,n,r.concat(0),o,i,a),u<t.length){var f=t[u];(f.rowSpans=f.rowSpans.slice())[d]=t.length-u}}else{var p=null!=i[h=c.spec.field+":"+c.value]?i[h]:a;t.push({id:h,group:c,isExpanded:p}),p&&at(l.children,t,n,r,o+1,i,a)}else if(l.resource){var h;p=null!=i[h=l.resource.id]?i[h]:a;t.push({id:h,rowSpans:r,depth:o,isExpanded:p,hasChildren:Boolean(l.children.length),resource:l.resource,resourceFields:l.resourceFields}),p&&at(l.children,t,n,r,o+1,i,a)}}}function st(e,t,n,r,o,i){if(n.length&&(-1===o||r<=o)){var a=function(e,t,n){var r,o,i=e.resourceFields[n.field];if(n.order)for(o=0;o<t.length;o+=1){if((s=t[o]).group){var a=(0,v.dx1)(i,s.group.value)*n.order;if(0===a){r=s;break}if(a<0)break}}else for(o=0;o<t.length;o+=1){var s;if((s=t[o]).group&&i===s.group.value){r=s;break}}r||(r={group:{value:i,spec:n},children:[]},t.splice(o,0,r));return r}(e,t,n[0]);st(e,a.children,n.slice(1),r+1,o,i)}else lt(e,t,i)}function lt(e,t,n){var r;for(r=0;r<t.length;r+=1){if((0,v.oMu)(t[r].resourceFields,e.resourceFields,n)>0)break}t.splice(r,0,e)}function ct(e){var t=(0,b.pi)((0,b.pi)((0,b.pi)({},e.extendedProps),e.ui),e);return delete t.ui,delete t.extendedProps,t}const ut=(0,v.rxu)({deps:[m.Z],reducers:[function(e,t,n){var r=Pe(e&&e.resourceSource,t,n),o=Le(e&&e.resourceStore,t,r,n),i=function(e,t){var n;return e&&t?"SET_RESOURCE_ENTITY_EXPANDED"===t.type?(0,b.pi)((0,b.pi)({},e),((n={})[t.id]=t.isExpanded,n)):e:{}}(e&&e.resourceEntityExpansions,t);return{resourceSource:r,resourceStore:o,resourceEntityExpansions:i}}],isLoadingFuncs:[function(e){return e.resourceSource&&e.resourceSource.isFetching}],eventRefiners:_e,eventDefMemberAdders:[function(e){return{resourceIds:(t=e.resourceIds,(t||[]).map((function(e){return String(e)}))).concat(e.resourceId?[e.resourceId]:[]),resourceEditable:e.resourceEditable};var t}],isDraggableTransformers:[function(e,t,n,r){if(!e){var o=r.getCurrentData();if(o.viewSpecs[o.currentViewType].optionDefaults.needsResourceData&&we(t,r))return!0}return e}],eventDragMutationMassagers:[
|
|
18
|
+
*/var s={schedulerLicenseKey:String};const l=(0,r.rxu)({optionRefiners:s,viewContainerAppends:[function(e){var t=e.options.schedulerLicenseKey,n="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(n)){var s=function(e){if(-1!==i.indexOf(e))return"valid";var t=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(t&&10===t[1].length){var n=new Date(1e3*parseInt(t[2],10)),a=new Date(r.vc.mockSchedulerReleaseDate||o);if((0,r.qbb)(a))return(0,r.E4D)(a,-372)<n?"valid":"outdated"}return"invalid"}(t);if("valid"!==s)return(0,r.azq)("div",{className:"fc-license-message",style:a},"outdated"===s?(0,r.azq)(r.HYg,null,"Your license key is too old to work with this version. ",(0,r.azq)("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):(0,r.azq)(r.HYg,null,"Your license key is invalid. ",(0,r.azq)("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]})},306:(e,t,n)=>{"use strict";n.d(t,{ZPm:()=>s});var r=n(70655),o=n(1024),i=n(30314);("undefined"!=typeof globalThis?globalThis:window).FullCalendarVDom={Component:o.Component,createElement:o.createElement,render:i.render,createRef:o.createRef,Fragment:o.Fragment,createContext:o.createContext,createPortal:i.createPortal,flushSync:function(e){e()},unmountComponentAtNode:i.unmountComponentAtNode};var a=n(32703);const s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._calendarApi=new a.zeW,t}return(0,r.ZT)(t,e),t.prototype.render=function(){return o.createElement(a.n1v,{optionOverrides:this.props,calendarApi:this._calendarApi},(function(e){return o.createElement(a.Tdg,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,i,s){return o.createElement("div",{className:t.join(" "),style:{height:n}},o.createElement(a.BdM,(0,r.pi)({isHeightAuto:i,forPrint:s},e)))}))}))},t.prototype.getApi=function(){return this._calendarApi},t}(o.Component)},74202:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>Ot});var r=n(93379),o=n.n(r),i=n(7795),a=n.n(i),s=n(90569),l=n.n(s),c=n(3565),u=n.n(c),d=n(19216),f=n.n(d),p=n(44589),h=n.n(p),g=n(2283),v={};v.styleTagTransform=h(),v.setAttributes=u(),v.insert=l().bind(null,"head"),v.domAPI=a(),v.insertStyleElement=f();o()(g.Z,v);g.Z&&g.Z.locals&&g.Z.locals;var A=n(32703),m=n(87306),y=n(82622),C={};C.styleTagTransform=h(),C.setAttributes=u(),C.insert=l().bind(null,"head"),C.domAPI=a(),C.insertStyleElement=f();o()(y.Z,C);y.Z&&y.Z.locals&&y.Z.locals;var E,b=n(70655),w="wheel mousewheel DomMouseScroll MozMousePixelScroll".split(" "),S=function(){function e(e){var t=this;this.el=e,this.emitter=new A.Q5$,this.isScrolling=!1,this.isTouching=!1,this.isRecentlyWheeled=!1,this.isRecentlyScrolled=!1,this.wheelWaiter=new A.snJ(this._handleWheelWaited.bind(this)),this.scrollWaiter=new A.snJ(this._handleScrollWaited.bind(this)),this.handleScroll=function(){t.startScroll(),t.emitter.trigger("scroll",t.isRecentlyWheeled,t.isTouching),t.isRecentlyScrolled=!0,t.scrollWaiter.request(500)},this.handleWheel=function(){t.isRecentlyWheeled=!0,t.wheelWaiter.request(500)},this.handleTouchStart=function(){t.isTouching=!0},this.handleTouchEnd=function(){t.isTouching=!1,t.isRecentlyScrolled||t.endScroll()},e.addEventListener("scroll",this.handleScroll),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd);for(var n=0,r=w;n<r.length;n++){var o=r[n];e.addEventListener(o,this.handleWheel)}}return e.prototype.destroy=function(){var e=this.el;e.removeEventListener("scroll",this.handleScroll),e.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.removeEventListener("touchend",this.handleTouchEnd);for(var t=0,n=w;t<n.length;t++){var r=n[t];e.removeEventListener(r,this.handleWheel)}},e.prototype.startScroll=function(){this.isScrolling||(this.isScrolling=!0,this.emitter.trigger("scrollStart",this.isRecentlyWheeled,this.isTouching))},e.prototype.endScroll=function(){this.isScrolling&&(this.emitter.trigger("scrollEnd"),this.isScrolling=!1,this.isRecentlyScrolled=!0,this.isRecentlyWheeled=!1,this.scrollWaiter.clear(),this.wheelWaiter.clear())},e.prototype._handleScrollWaited=function(){this.isRecentlyScrolled=!1,this.isTouching||this.endScroll()},e.prototype._handleWheelWaited=function(){this.isRecentlyWheeled=!1},e}();function D(e){var t=e.scrollLeft;if("rtl"===window.getComputedStyle(e).direction)switch(B()){case"negative":t*=-1;case"reverse":t=e.scrollWidth-t-e.clientWidth}return t}function R(e,t){if("rtl"===window.getComputedStyle(e).direction)switch(B()){case"reverse":t=e.scrollWidth-t;break;case"negative":t=-(e.scrollWidth-t)}e.scrollLeft=t}function B(){return E||(E=function(){var e,t=document.createElement("div");t.style.position="absolute",t.style.top="-1000px",t.style.width="1px",t.style.height="1px",t.style.overflow="scroll",t.style.direction="rtl",t.style.fontSize="100px",t.innerHTML="A",document.body.appendChild(t),t.scrollLeft>0?e="positive":(t.scrollLeft=1,e=t.scrollLeft>0?"reverse":"negative");return(0,A.bXf)(t),e}())}var I,x="undefined"!=typeof navigator&&/Edge/.test(navigator.userAgent),k=function(){function e(e,t){var n=this;this.scrollEl=e,this.isRtl=t,this.usingRelative=null,this.updateSize=function(){var e=n.scrollEl,t=(0,A.xlG)(e,".fc-sticky"),r=n.queryElGeoms(t),o=e.clientWidth,i=e.clientHeight;n.usingRelative?function(e,t,n,r,o){e.forEach((function(e,i){var a,s,l=t[i],c=l.naturalBound,u=l.parentBound,d=u.right-u.left,f=u.bottom-u.bottom;d>r||f>o?(a=n[i].left-c.left,s=n[i].top-c.top):(a="",s=""),(0,A.bg6)(e,{position:"relative",left:a,right:-a,top:s})}))}(t,r,n.computeElDestinations(r,o),o,i):function(e,t,n){e.forEach((function(e,r){var o,i=t[r],a=i.textAlign,s=i.elWidth,l=i.parentBound,c=l.right-l.left;o="center"===a&&c>n?(n-s)/2:"",(0,A.bg6)(e,{left:o,right:o,top:0})}))}(t,r,o)},this.usingRelative=!function(){null==I&&(I=function(){var e=document.createElement("div");e.style.position="sticky",document.body.appendChild(e);var t=window.getComputedStyle(e).position;return(0,A.bXf)(e),"sticky"===t}());return I}()||x&&t,this.usingRelative&&(this.listener=new S(e),this.listener.emitter.on("scrollEnd",this.updateSize))}return e.prototype.destroy=function(){this.listener&&this.listener.destroy()},e.prototype.queryElGeoms=function(e){for(var t=this.scrollEl,n=this.isRtl,r=function(e){var t=e.getBoundingClientRect(),n=(0,A.ld2)(e);return{left:t.left+n.borderLeft+n.scrollbarLeft-D(e),top:t.top+n.borderTop-e.scrollTop}}(t),o=[],i=0,a=e;i<a.length;i++){var s=a[i],l=(0,A.sZq)((0,A.skW)(s.parentNode,!0,!0),-r.left,-r.top),c=s.getBoundingClientRect(),u=window.getComputedStyle(s),d=window.getComputedStyle(s.parentNode).textAlign,f=null;"start"===d?d=n?"right":"left":"end"===d&&(d=n?"left":"right"),"sticky"!==u.position&&(f=(0,A.sZq)(c,-r.left-(parseFloat(u.left)||0),-r.top-(parseFloat(u.top)||0))),o.push({parentBound:l,naturalBound:f,elWidth:c.width,elHeight:c.height,textAlign:d})}return o},e.prototype.computeElDestinations=function(e,t){var n=this.scrollEl,r=n.scrollTop,o=D(n),i=o+t;return e.map((function(e){var t,n,a=e.elWidth,s=e.elHeight,l=e.parentBound,c=e.naturalBound;switch(e.textAlign){case"left":t=o;break;case"right":t=i-a;break;case"center":t=(o+i)/2-a/2}return t=Math.min(t,l.right-a),t=Math.max(t,l.left),n=r,n=Math.min(n,l.bottom-s),{left:t,top:n=Math.max(n,c.top)}}))},e}();var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=(0,A.VfA)(),t.state={xScrollbarWidth:0,yScrollbarWidth:0},t.handleScroller=function(e){t.scroller=e,(0,A.k$v)(t.props.scrollerRef,e)},t.handleSizing=function(){var e=t.props;"scroll-hidden"===e.overflowY&&t.setState({yScrollbarWidth:t.scroller.getYScrollbarWidth()}),"scroll-hidden"===e.overflowX&&t.setState({xScrollbarWidth:t.scroller.getXScrollbarWidth()})},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context.isRtl&&(0,A.qDX)(),o=0,i=0,a=0;return"scroll-hidden"===t.overflowX&&(a=n.xScrollbarWidth),"scroll-hidden"===t.overflowY&&null!=n.yScrollbarWidth&&(r?o=n.yScrollbarWidth:i=n.yScrollbarWidth),(0,A.azq)("div",{ref:this.elRef,className:"fc-scroller-harness"+(t.liquid?" fc-scroller-harness-liquid":"")},(0,A.azq)(A.Ttm,{ref:this.handleScroller,elRef:this.props.scrollerElRef,overflowX:"scroll-hidden"===t.overflowX?"scroll":t.overflowX,overflowY:"scroll-hidden"===t.overflowY?"scroll":t.overflowY,overcomeLeft:o,overcomeRight:i,overcomeBottom:a,maxHeight:"number"==typeof t.maxHeight?t.maxHeight+("scroll-hidden"===t.overflowX?n.xScrollbarWidth:0):"",liquid:t.liquid,liquidIsAbsolute:!0},t.children))},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(e){(0,A.S6v)(e,this.props)||this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.needsXScrolling=function(){return this.scroller.needsXScrolling()},t.prototype.needsYScrolling=function(){return this.scroller.needsYScrolling()},t}(A.H6J),M=function(){function e(e,t){var n=this;this.isVertical=e,this.scrollEls=t,this.isPaused=!1,this.scrollListeners=t.map((function(e){return n.bindScroller(e)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollListeners;e<t.length;e++){t[e].destroy()}},e.prototype.bindScroller=function(e){var t=this,n=this.scrollEls,r=this.isVertical,o=new S(e);return o.emitter.on("scroll",(function(o,i){if(!t.isPaused&&((!t.masterEl||t.masterEl!==e&&(o||i))&&t.assignMaster(e),t.masterEl===e))for(var a=0,s=n;a<s.length;a++){var l=s[a];l!==e&&(r?l.scrollTop=e.scrollTop:l.scrollLeft=e.scrollLeft)}})),o.emitter.on("scrollEnd",(function(){t.masterEl===e&&(t.masterEl=null)})),o},e.prototype.assignMaster=function(e){this.masterEl=e;for(var t=0,n=this.scrollListeners;t<n.length;t++){var r=n[t];r.el!==e&&r.endScroll()}},e.prototype.forceScrollLeft=function(e){this.isPaused=!0;for(var t=0,n=this.scrollListeners;t<n.length;t++){R(n[t].el,e)}this.isPaused=!1},e.prototype.forceScrollTop=function(e){this.isPaused=!0;for(var t=0,n=this.scrollListeners;t<n.length;t++){n[t].el.scrollTop=e}this.isPaused=!1},e}(),z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileColGroupStats=(0,A.ums)(N,L),t.renderMicroColGroups=(0,A.ums)(A.hgf),t.clippedScrollerRefs=new A.lAU,t.scrollerElRefs=new A.lAU(t._handleScrollerEl.bind(t)),t.chunkElRefs=new A.lAU(t._handleChunkEl.bind(t)),t.stickyScrollings=[],t.scrollSyncersBySection={},t.scrollSyncersByColumn={},t.rowUnstableMap=new Map,t.rowInnerMaxHeightMap=new Map,t.anyRowHeightsChanged=!1,t.recentSizingCnt=0,t.state={shrinkWidths:[],forceYScrollbars:!1,forceXScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{},sectionRowMaxHeights:[]},t.handleSizing=function(e,n){if(t.allowSizing()){n||(t.anyRowHeightsChanged=!0);var r={};(e||!n&&!t.rowUnstableMap.size)&&(r.sectionRowMaxHeights=t.computeSectionRowMaxHeights()),t.setState((0,b.pi)((0,b.pi)({shrinkWidths:t.computeShrinkWidths()},t.computeScrollerDims()),r),(function(){t.rowUnstableMap.size||t.updateStickyScrolling()}))}},t.handleRowHeightChange=function(e,n){var r=t,o=r.rowUnstableMap,i=r.rowInnerMaxHeightMap;if(n){o.delete(e);var a=H(e);i.has(e)&&i.get(e)===a||(i.set(e,a),t.anyRowHeightsChanged=!0),!o.size&&t.anyRowHeightsChanged&&(t.anyRowHeightsChanged=!1,t.setState({sectionRowMaxHeights:t.computeSectionRowMaxHeights()}))}else o.set(e,!0)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=n.shrinkWidths,i=this.compileColGroupStats(t.colGroups.map((function(e){return[e]}))),a=this.renderMicroColGroups(i.map((function(e,t){return[e.cols,o[t]]}))),s=(0,A.SR3)(t.liquid,r),l=this.getDims();l[0],l[1];for(var c,u=t.sections,d=u.length,f=0,p=[],h=[],g=[];f<d&&"header"===(c=u[f]).type;)p.push(this.renderSection(c,f,i,a,n.sectionRowMaxHeights,!0)),f+=1;for(;f<d&&"body"===(c=u[f]).type;)h.push(this.renderSection(c,f,i,a,n.sectionRowMaxHeights,!1)),f+=1;for(;f<d&&"footer"===(c=u[f]).type;)g.push(this.renderSection(c,f,i,a,n.sectionRowMaxHeights,!0)),f+=1;var v=!(0,A.X45)(),m={role:"rowgroup"};return(0,A.azq)("table",{ref:t.elRef,role:"grid",className:s.join(" ")},function(e,t){var n=e.map((function(e,n){var r=e.width;return"shrink"===r&&(r=e.totalColWidth+(0,A.fyp)(t[n])+1),(0,A.azq)("col",{style:{width:r}})}));return A.azq.apply(void 0,(0,b.ev)(["colgroup",{}],n))}(i,o),Boolean(!v&&p.length)&&A.azq.apply(void 0,(0,b.ev)(["thead",m],p)),Boolean(!v&&h.length)&&A.azq.apply(void 0,(0,b.ev)(["tbody",m],h)),Boolean(!v&&g.length)&&A.azq.apply(void 0,(0,b.ev)(["tfoot",m],g)),v&&A.azq.apply(void 0,(0,b.ev)((0,b.ev)((0,b.ev)(["tbody",m],p),h),g)))},t.prototype.renderSection=function(e,t,n,r,o,i){var a=this;return"outerContent"in e?(0,A.azq)(A.HYg,{key:e.key},e.outerContent):(0,A.azq)("tr",{key:e.key,role:"presentation",className:(0,A.PFj)(e,this.props.liquid).join(" ")},e.chunks.map((function(s,l){return a.renderChunk(e,t,n[l],r[l],s,l,(o[t]||[])[l]||[],i)})))},t.prototype.renderChunk=function(e,t,n,r,o,i,a,s){if("outerContent"in o)return(0,A.azq)(A.HYg,{key:o.key},o.outerContent);var l=this.state,c=l.scrollerClientWidths,u=l.scrollerClientHeights,d=this.getDims(),f=d[0],p=d[1],h=t*p+i,g=i===(!this.context.isRtl||(0,A.qDX)()?p-1:0),v=t===f-1,m=v&&l.forceXScrollbars,y=g&&l.forceYScrollbars,C=n&&n.allowXScrolling,E=(0,A.aDZ)(this.props,e),b=(0,A.VFE)(this.props,e),w=e.expandRows&&b,S=n&&n.totalColMinWidth||"",D=(0,A.Yvu)(e,o,{tableColGroupNode:r,tableMinWidth:S,clientWidth:void 0!==c[h]?c[h]:null,clientHeight:void 0!==u[h]?u[h]:null,expandRows:w,syncRowHeights:Boolean(e.syncRowHeights),rowSyncHeights:a,reportRowHeightChange:this.handleRowHeightChange},s),R=m?v?"scroll":"scroll-hidden":C?v?"auto":"scroll-hidden":"hidden",B=y?g?"scroll":"scroll-hidden":E?g?"auto":"scroll-hidden":"hidden";return D=(0,A.azq)(T,{ref:this.clippedScrollerRefs.createRef(h),scrollerElRef:this.scrollerElRefs.createRef(h),overflowX:R,overflowY:B,liquid:b,maxHeight:e.maxHeight},D),(0,A.azq)(s?"th":"td",{key:o.key,ref:this.chunkElRefs.createRef(h),role:"presentation"},D)},t.prototype.componentDidMount=function(){this.getStickyScrolling=(0,A.ums)(_,null,V),this.getScrollSyncersBySection=(0,A.E0)(F.bind(this,!0),null,q),this.getScrollSyncersByColumn=(0,A.E0)(F.bind(this,!1),null,q),this.updateScrollSyncers(),this.handleSizing(!1),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(e,t){this.updateScrollSyncers(),this.handleSizing(!1,t.sectionRowMaxHeights!==this.state.sectionRowMaxHeights)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing),this.destroyStickyScrolling(),this.destroyScrollSyncers()},t.prototype.allowSizing=function(){var e=new Date;return!this.lastSizingDate||e.valueOf()>this.lastSizingDate.valueOf()+A.vc.SCROLLGRID_RESIZE_INTERVAL?(this.lastSizingDate=e,this.recentSizingCnt=0,!0):(this.recentSizingCnt+=1)<=10},t.prototype.computeShrinkWidths=function(){var e=this,t=this.compileColGroupStats(this.props.colGroups.map((function(e){return[e]}))),n=this.getDims(),r=n[0],o=n[1],i=r*o,a=[];return t.forEach((function(t,n){if(t.hasShrinkCol){var r=e.chunkElRefs.collect(n,i,o);a[n]=(0,A.VVk)(r)}})),a},t.prototype.computeSectionRowMaxHeights=function(){for(var e=new Map,t=this.getDims(),n=t[0],r=t[1],o=[],i=0;i<n;i+=1){var a=this.props.sections[i],s=[];if(a&&a.syncRowHeights){for(var l=[],c=0;c<r;c+=1){var u=i*r+c,d=[],f=this.chunkElRefs.currentMap[u];d=f?(0,A.xlG)(f,".fc-scrollgrid-sync-table tr").map((function(t){var n=H(t);return e.set(t,n),n})):[],l.push(d)}var p=l[0].length,h=!0;for(c=1;c<r;c+=1){if(!(a.chunks[c]&&void 0!==a.chunks[c].outerContent)&&l[c].length!==p){h=!1;break}}if(h){for(c=0;c<r;c+=1)s.push([]);for(E=0;E<p;E+=1){var g=[];for(c=0;c<r;c+=1){var v=l[c][E];null!=v&&g.push(v)}var m=Math.max.apply(Math,g);for(c=0;c<r;c+=1)s[c].push(m)}}else{for(var y=[],c=0;c<r;c+=1)y.push(P(l[c])+l[c].length);for(var C=Math.max.apply(Math,y),c=0;c<r;c+=1){var E,b=l[c].length,w=C-b,S=Math.floor(w/b),D=w-S*(b-1),R=[];for((E=0)<b&&(R.push(D),E+=1);E<b;)R.push(S),E+=1;s.push(R)}}}o.push(s)}return this.rowInnerMaxHeightMap=e,o},t.prototype.computeScrollerDims=function(){for(var e=(0,A.ewu)(),t=this.getDims(),n=t[0],r=t[1],o=!this.context.isRtl||(0,A.qDX)()?r-1:0,i=n-1,a=this.clippedScrollerRefs.currentMap,s=this.scrollerElRefs.currentMap,l=!1,c=!1,u={},d={},f=0;f<n;f+=1){if((h=a[g=f*r+o])&&h.needsYScrolling()){l=!0;break}}for(var p=0;p<r;p+=1){var h;if((h=a[g=i*r+p])&&h.needsXScrolling()){c=!0;break}}for(f=0;f<n;f+=1)for(p=0;p<r;p+=1){var g,v=s[g=f*r+p];if(v){var m=v.parentNode;u[g]=Math.floor(m.getBoundingClientRect().width-(p===o&&l?e.y:0)),d[g]=Math.floor(m.getBoundingClientRect().height-(f===i&&c?e.x:0))}}return{forceYScrollbars:l,forceXScrollbars:c,scrollerClientWidths:u,scrollerClientHeights:d}},t.prototype.updateStickyScrolling=function(){var e=this.context.isRtl,t=this.scrollerElRefs.getAll().map((function(t){return[t,e]})),n=this.getStickyScrolling(t);n.forEach((function(e){return e.updateSize()})),this.stickyScrollings=n},t.prototype.destroyStickyScrolling=function(){this.stickyScrollings.forEach(V)},t.prototype.updateScrollSyncers=function(){for(var e=this.getDims(),t=e[0],n=e[1],r=t*n,o={},i={},a=this.scrollerElRefs.currentMap,s=0;s<t;s+=1){var l=s*n,c=l+n;o[s]=(0,A.uPw)(a,l,c,1)}for(var u=0;u<n;u+=1)i[u]=this.scrollerElRefs.collect(u,r,n);this.scrollSyncersBySection=this.getScrollSyncersBySection(o),this.scrollSyncersByColumn=this.getScrollSyncersByColumn(i)},t.prototype.destroyScrollSyncers=function(){(0,A._aR)(this.scrollSyncersBySection,q),(0,A._aR)(this.scrollSyncersByColumn,q)},t.prototype.getChunkConfigByIndex=function(e){var t=this.getDims()[1],n=Math.floor(e/t),r=e%t,o=this.props.sections[n];return o&&o.chunks[r]},t.prototype.forceScrollLeft=function(e,t){var n=this.scrollSyncersByColumn[e];n&&n.forceScrollLeft(t)},t.prototype.forceScrollTop=function(e,t){var n=this.scrollSyncersBySection[e];n&&n.forceScrollTop(t)},t.prototype._handleChunkEl=function(e,t){var n=this.getChunkConfigByIndex(parseInt(t,10));n&&(0,A.k$v)(n.elRef,e)},t.prototype._handleScrollerEl=function(e,t){var n=this.getChunkConfigByIndex(parseInt(t,10));n&&(0,A.k$v)(n.scrollerElRef,e)},t.prototype.getDims=function(){var e=this.props.sections.length;return[e,e?this.props.sections[0].chunks.length:0]},t}(A.H6J);function P(e){for(var t=0,n=0,r=e;n<r.length;n++){t+=r[n]}return t}function H(e){var t=(0,A.xlG)(e,".fc-scrollgrid-sync-inner").map(O);return t.length?Math.max.apply(Math,t):0}function O(e){return e.offsetHeight}function N(e){var t=U(e.cols,"width"),n=U(e.cols,"minWidth"),r=(0,A.Qa3)(e.cols);return{hasShrinkCol:r,totalColWidth:t,totalColMinWidth:n,allowXScrolling:"shrink"!==e.width&&Boolean(t||n||r),cols:e.cols,width:e.width}}function U(e,t){for(var n=0,r=0,o=e;r<o.length;r++){var i=o[r],a=i[t];"number"==typeof a&&(n+=a*(i.span||1))}return n}z.addStateEquality({shrinkWidths:A.CnA,scrollerClientWidths:A.S6v,scrollerClientHeights:A.S6v});var W={cols:A.grx};function L(e,t){return(0,A.cbN)(e,t,W)}function F(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new M(e,t)}function q(e){e.destroy()}function _(e,t){return new k(e,t)}function V(e){e.destroy()}(0,A.rxu)({deps:[m.Z],scrollGridImpl:z});A.vc.SCROLLGRID_RESIZE_INTERVAL=500;A.vc.MAX_TIMELINE_SLOTS=1e3;var j=[{years:1},{months:1},{days:1},{hours:1},{minutes:30},{minutes:15},{minutes:10},{minutes:5},{minutes:1},{seconds:30},{seconds:15},{seconds:10},{seconds:5},{seconds:1},{milliseconds:500},{milliseconds:100},{milliseconds:10},{milliseconds:1}];function Z(e,t,n,r){var o={labelInterval:n.slotLabelInterval,slotDuration:n.slotDuration};!function(e,t,n){var r=t.currentRange;if(e.labelInterval){n.countDurationsBetween(r.start,r.end,e.labelInterval)>A.vc.MAX_TIMELINE_SLOTS&&(console.warn("slotLabelInterval results in too many cells"),e.labelInterval=null)}if(e.slotDuration){n.countDurationsBetween(r.start,r.end,e.slotDuration)>A.vc.MAX_TIMELINE_SLOTS&&(console.warn("slotDuration results in too many cells"),e.slotDuration=null)}if(e.labelInterval&&e.slotDuration){var o=(0,A.ltK)(e.labelInterval,e.slotDuration);(null===o||o<1)&&(console.warn("slotLabelInterval must be a multiple of slotDuration"),e.slotDuration=null)}}(o,e,t),Q(o,e,t),function(e,t,n){var r=t.currentRange,o=e.slotDuration;if(!o){for(var i=Q(e,t,n),a=0,s=j;a<s.length;a++){var l=s[a],c=(0,A.Pvs)(l),u=(0,A.ltK)(i,c);if(null!==u&&u>1&&u<=6){o=c;break}}if(o)n.countDurationsBetween(r.start,r.end,o)>200&&(o=null);o||(o=i),e.slotDuration=o}}(o,e,t);var i=n.slotLabelFormat,a=Array.isArray(i)?i:null!=i?[i]:function(e,t,n,r){var o,i,a=e.labelInterval,s=(0,A.NTx)(a).unit,l=r.weekNumbers,c=o=i=null;"week"!==s||l||(s="day");switch(s){case"year":c={year:"numeric"};break;case"month":X("years",t,n)>1&&(c={year:"numeric"}),o={month:"short"};break;case"week":X("years",t,n)>1&&(c={year:"numeric"}),o={week:"narrow"};break;case"day":X("years",t,n)>1?c={year:"numeric",month:"long"}:X("months",t,n)>1&&(c={month:"long"}),l&&(o={week:"short"}),i={weekday:"narrow",day:"numeric"};break;case"hour":l&&(c={week:"short"}),X("days",t,n)>1&&(o={weekday:"short",day:"numeric",month:"numeric",omitCommas:!0}),i={hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"};break;case"minute":(0,A.dZD)(a)/60>=6?(c={hour:"numeric",meridiem:"short"},o=function(e){return":"+(0,A.SkG)(e.date.minute,2)}):c={hour:"numeric",minute:"numeric",meridiem:"short"};break;case"second":(0,A.nCP)(a)/60>=6?(c={hour:"numeric",minute:"2-digit",meridiem:"lowercase"},o=function(e){return":"+(0,A.SkG)(e.date.second,2)}):c={hour:"numeric",minute:"2-digit",second:"2-digit",meridiem:"lowercase"};break;case"millisecond":c={hour:"numeric",minute:"2-digit",second:"2-digit",meridiem:"lowercase"},o=function(e){return"."+(0,A.SkG)(e.millisecond,3)}}return[].concat(c||[],o||[],i||[])}(o,e,t,n);o.headerFormats=a.map((function(e){return(0,A.SPZ)(e)})),o.isTimeScale=Boolean(o.slotDuration.milliseconds);var s=null;if(!o.isTimeScale){var l=(0,A.NTx)(o.slotDuration).unit;/year|month|week/.test(l)&&(s=l)}o.largeUnit=s,o.emphasizeWeeks=1===(0,A.XrI)(o.slotDuration)&&X("weeks",e,t)>=2&&!n.businessHours;var c,u,d=n.snapDuration;d&&(c=(0,A.Pvs)(d),u=(0,A.ltK)(o.slotDuration,c)),null==u&&(c=o.slotDuration,u=1),o.snapDuration=c,o.snapsPerSlot=u;var f=(0,A.TTZ)(e.slotMaxTime)-(0,A.TTZ)(e.slotMinTime),p=Y(e.renderRange.start,o,t),h=Y(e.renderRange.end,o,t);o.isTimeScale&&(p=t.add(p,e.slotMinTime),h=t.add((0,A.E4D)(h,-1),e.slotMaxTime)),o.timeWindowMs=f,o.normalizedRange={start:p,end:h};for(var g=[],v=p;v<h;)G(v,o,e,r)&&g.push(v),v=t.add(v,o.slotDuration);o.slotDates=g;var m=-1,y=0,C=[],E=[];for(v=p;v<h;)G(v,o,e,r)?(m+=1,C.push(m),E.push(y)):C.push(m+.5),v=t.add(v,o.snapDuration),y+=1;return o.snapDiffToIndex=C,o.snapIndexToDiff=E,o.snapCnt=m+1,o.slotCnt=o.snapCnt/o.snapsPerSlot,o.isWeekStarts=function(e,t){for(var n=e.slotDates,r=e.emphasizeWeeks,o=null,i=[],a=0,s=n;a<s.length;a++){var l=s[a],c=t.computeWeekNumber(l),u=r&&null!==o&&o!==c;o=c,i.push(u)}return i}(o,t),o.cellRows=function(e,t){for(var n=e.slotDates,r=e.headerFormats,o=r.map((function(){return[]})),i=(0,A.XrI)(e.slotDuration),a=7===i?"week":1===i?"day":null,s=r.map((function(e){return e.getLargestUnit?e.getLargestUnit():null})),l=0;l<n.length;l+=1)for(var c=n[l],u=e.isWeekStarts[l],d=0;d<r.length;d+=1){var f=r[d],p=o[d],h=p[p.length-1],g=d===r.length-1,v=r.length>1&&!g,m=null,y=s[d]||(g?a:null);if(v){var C=t.format(c,f);h&&h.text===C?h.colspan+=1:m=J(c,C,y)}else if(!h||(0,A.GNL)(t.countDurationsBetween(e.normalizedRange.start,c,e.labelInterval))){m=J(c,C=t.format(c,f),y)}else h.colspan+=1;m&&(m.weekStart=u,p.push(m))}return o}(o,t),o.slotsPerLabel=(0,A.ltK)(o.labelInterval,o.slotDuration),o}function Y(e,t,n){var r=e;return t.isTimeScale||(r=(0,A.b7Q)(r),t.largeUnit&&(r=n.startOf(r,t.largeUnit))),r}function G(e,t,n,r){if(r.isHiddenDay(e))return!1;if(t.isTimeScale){var o=(0,A.b7Q)(e),i=e.valueOf()-o.valueOf()-(0,A.TTZ)(n.slotMinTime);return(i=(i%864e5+864e5)%864e5)<t.timeWindowMs}return!0}function Q(e,t,n){var r=t.currentRange,o=e.labelInterval;if(!o){var i=void 0;if(e.slotDuration){for(var a=0,s=j;a<s.length;a++){i=s[a];var l=(0,A.Pvs)(i),c=(0,A.ltK)(l,e.slotDuration);if(null!==c&&c<=6){o=l;break}}o||(o=e.slotDuration)}else for(var u=0,d=j;u<d.length;u++){if(i=d[u],o=(0,A.Pvs)(i),n.countDurationsBetween(r.start,r.end,o)>=18)break}e.labelInterval=o}return o}function X(e,t,n){var r=t.currentRange,o=null;return"years"===e?o=n.diffWholeYears(r.start,r.end):"months"===e||"weeks"===e?o=n.diffWholeMonths(r.start,r.end):"days"===e&&(o=(0,A.Lnh)(r.start,r.end)),o||0}function J(e,t,n){return{date:e,text:t,rowUnit:n,colspan:1,isWeekStart:!1}}var K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,A.azq)(A.rVp,{hookProps:e.hookProps,content:t.options.slotLabelContent,defaultContent:$},(function(t,n){return(0,A.azq)("a",(0,b.pi)({ref:t,className:"fc-timeline-slot-cushion fc-scrollgrid-sync-inner"+(e.isSticky?" fc-sticky":"")},e.navLinkAttrs),n)}))},t}(A.H6J);function $(e){return e.text}function ee(e){return{level:e.level,date:e.dateEnv.toDate(e.dateMarker),view:e.viewApi,text:e.text}}var te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,A.Vbb)(ee),t.normalizeClassNames=(0,A.HgS)(),t.buildCellNavLinkAttrs=(0,A.HPs)(ne),t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.dateEnv,o=n.options,i=t.cell,a=t.dateProfile,s=t.tDateProfile,l=(0,A.iCZ)(i.date,t.todayRange,t.nowDate,a),c=["fc-timeline-slot","fc-timeline-slot-label"].concat("time"===i.rowUnit?(0,A.mK5)(l,n.theme):(0,A.yLW)(l,n.theme));i.isWeekStart&&c.push("fc-timeline-slot-em");var u=this.refineHookProps({level:t.rowLevel,dateMarker:i.date,text:i.text,dateEnv:n.dateEnv,viewApi:n.viewApi}),d=this.normalizeClassNames(o.slotLabelClassNames,u);return(0,A.azq)(A.y3w,{hookProps:u,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},(function(o){return(0,A.azq)("th",{ref:o,className:c.concat(d).join(" "),"data-date":r.formatIso(i.date,{omitTime:!s.isTimeScale,omitTimeZoneOffset:!0}),colSpan:i.colspan},(0,A.azq)("div",{className:"fc-timeline-slot-frame",style:{height:t.rowInnerHeight}},(0,A.azq)(K,{hookProps:u,isSticky:t.isSticky,navLinkAttrs:e.buildCellNavLinkAttrs(n,i.date,i.rowUnit)})))}))},t}(A.H6J);function ne(e,t,n){return n&&"time"!==n?(0,A.rcD)(e,t,n):{}}var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.dateProfile,n=e.tDateProfile,r=e.rowInnerHeights,o=e.todayRange,i=e.nowDate,a=n.cellRows;return(0,A.azq)(A.HYg,null,a.map((function(e,s){var l=s===a.length-1,c=["fc-timeline-header-row",n.isTimeScale&&l?"fc-timeline-header-row-chrono":""];return(0,A.azq)("tr",{key:s,className:c.join(" ")},e.map((function(e){return(0,A.azq)(te,{key:e.date.toISOString(),cell:e,rowLevel:s,dateProfile:t,tDateProfile:n,todayRange:o,nowDate:i,rowInnerHeight:r&&r[s],isSticky:!l})})))})))},t}(A.H6J),oe=function(){function e(e,t,n,r,o,i){this.slatRootEl=e,this.dateProfile=n,this.tDateProfile=r,this.dateEnv=o,this.isRtl=i,this.outerCoordCache=new A.zIV(e,t,!0,!1),this.innerCoordCache=new A.zIV(e,(0,A.sSy)(t,"div"),!0,!1)}return e.prototype.isDateInRange=function(e){return(0,A.mCA)(this.dateProfile.currentRange,e)},e.prototype.dateToCoord=function(e){var t=this.tDateProfile,n=this.computeDateSnapCoverage(e)/t.snapsPerSlot,r=Math.floor(n),o=n-(r=Math.min(r,t.slotCnt-1)),i=this.innerCoordCache,a=this.outerCoordCache;return this.isRtl?a.originClientRect.width-(a.rights[r]-i.getWidth(r)*o):a.lefts[r]+i.getWidth(r)*o},e.prototype.rangeToCoords=function(e){return{start:this.dateToCoord(e.start),end:this.dateToCoord(e.end)}},e.prototype.durationToCoord=function(e){var t=this,n=t.dateProfile,r=t.tDateProfile,o=t.dateEnv,i=t.isRtl,a=0;if(n){var s=o.add(n.activeRange.start,e);r.isTimeScale||(s=(0,A.b7Q)(s)),a=this.dateToCoord(s),!i&&a&&(a+=1)}return a},e.prototype.coordFromLeft=function(e){return this.isRtl?this.outerCoordCache.originClientRect.width-e:e},e.prototype.computeDateSnapCoverage=function(e){return ie(e,this.tDateProfile,this.dateEnv)},e}();function ie(e,t,n){var r=n.countDurationsBetween(t.normalizedRange.start,e,t.snapDuration);if(r<0)return 0;if(r>=t.snapDiffToIndex.length)return t.snapCnt;var o=Math.floor(r),i=t.snapDiffToIndex[o];return(0,A.GNL)(i)?i+=r-o:i=Math.ceil(i),i}function ae(e,t){return null===e?{left:"",right:""}:t?{right:e,left:""}:{left:e,right:""}}function se(e,t){return e?t?{right:e.start,left:-e.end}:{left:e.start,right:-e.end}:{left:"",right:""}}var le=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,A.VfA)(),t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=(0,A.NTx)(t.tDateProfile.slotDuration).unit,o=t.slatCoords&&t.slatCoords.dateProfile===t.dateProfile?t.slatCoords:null;return(0,A.azq)(A.wh8,{unit:r},(function(r,i){return(0,A.azq)("div",{className:"fc-timeline-header",ref:e.rootElRef},(0,A.azq)("table",{"aria-hidden":!0,className:"fc-scrollgrid-sync-table",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,(0,A.azq)("tbody",null,(0,A.azq)(re,{dateProfile:t.dateProfile,tDateProfile:t.tDateProfile,nowDate:r,todayRange:i,rowInnerHeights:t.rowInnerHeights}))),n.options.nowIndicator&&(0,A.azq)("div",{className:"fc-timeline-now-indicator-container"},o&&o.isDateInRange(r)&&(0,A.azq)(A.AOy,{isAxis:!0,date:r},(function(e,t,i,a){return(0,A.azq)("div",{ref:e,className:["fc-timeline-now-indicator-arrow"].concat(t).join(" "),style:ae(o.dateToCoord(r),n.isRtl)},a)}))))}))},t.prototype.componentDidMount=function(){this.updateSize()},t.prototype.componentDidUpdate=function(){this.updateSize()},t.prototype.updateSize=function(){this.props.onMaxCushionWidth&&this.props.onMaxCushionWidth(this.computeMaxCushionWidth())},t.prototype.computeMaxCushionWidth=function(){return Math.max.apply(Math,(0,A.xlG)(this.rootElRef.current,".fc-timeline-header-row:last-child .fc-timeline-slot-cushion").map((function(e){return e.getBoundingClientRect().width})))},t}(A.H6J),ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.options,o=t.theme,i=e.date,a=e.tDateProfile,s=e.isEm,l=(0,A.iCZ)(e.date,e.todayRange,e.nowDate,e.dateProfile),c=["fc-timeline-slot","fc-timeline-slot-lane"],u={"data-date":n.formatIso(i,{omitTimeZoneOffset:!0,omitTime:!a.isTimeScale})},d=(0,b.pi)((0,b.pi)({date:n.toDate(e.date)},l),{view:t.viewApi});return s&&c.push("fc-timeline-slot-em"),a.isTimeScale&&c.push((0,A.GNL)(n.countDurationsBetween(a.normalizedRange.start,e.date,a.labelInterval))?"fc-timeline-slot-major":"fc-timeline-slot-minor"),c.push.apply(c,e.isDay?(0,A.yLW)(l,o):(0,A.mK5)(l,o)),(0,A.azq)(A.QJ3,{hookProps:d,classNames:r.slotLaneClassNames,content:r.slotLaneContent,didMount:r.slotLaneDidMount,willUnmount:r.slotLaneWillUnmount,elRef:e.elRef},(function(e,t,n,r){return(0,A.azq)("td",(0,b.pi)({ref:e,className:c.concat(t).join(" ")},u),(0,A.azq)("div",{ref:n},r))}))},t}(A.H6J),ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.tDateProfile,n=e.cellElRefs,r=t.slotDates,o=t.isWeekStarts,i=!t.isTimeScale&&!t.largeUnit;return(0,A.azq)("tbody",null,(0,A.azq)("tr",null,r.map((function(r,a){var s=r.toISOString();return(0,A.azq)(ce,{key:s,elRef:n.createRef(s),date:r,dateProfile:e.dateProfile,tDateProfile:t,nowDate:e.nowDate,todayRange:e.todayRange,isEm:o[a],isDay:i})}))))},t}(A.H6J),de=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,A.VfA)(),t.cellElRefs=new A.lAU,t.handleScrollRequest=function(e){var n=t.props.onScrollLeftRequest,r=t.coords;if(n&&r){if(e.time)n(r.coordFromLeft(r.durationToCoord(e.time)));return!0}return null},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,A.azq)("div",{className:"fc-timeline-slots",ref:this.rootElRef},(0,A.azq)("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,(0,A.azq)(ue,{cellElRefs:this.cellElRefs,dateProfile:e.dateProfile,tDateProfile:e.tDateProfile,nowDate:e.nowDate,todayRange:e.todayRange})))},t.prototype.componentDidMount=function(){this.updateSizing(),this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(e){this.updateSizing(),this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach(),this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var e,t=this.props,n=this.context;null!==t.clientWidth&&this.scrollResponder&&(this.rootElRef.current.offsetWidth&&(this.coords=new oe(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.tDateProfile.slotDates.map((function(t){var n=t.toISOString();return e[n]}))),t.dateProfile,t.tDateProfile,n.dateEnv,n.isRtl),t.onCoords&&t.onCoords(this.coords),this.scrollResponder.update(!1)))},t.prototype.positionToHit=function(e){var t=this.coords.outerCoordCache,n=this.context,r=n.dateEnv,o=n.isRtl,i=this.props.tDateProfile,a=t.leftToIndex(e);if(null!=a){var s=t.getWidth(a),l=o?(t.rights[a]-e)/s:(e-t.lefts[a])/s,c=Math.floor(l*i.snapsPerSlot),u=r.add(i.slotDates[a],(0,A.uVS)(i.snapDuration,c));return{dateSpan:{range:{start:u,end:r.add(u,i.snapDuration)},allDay:!this.props.tDateProfile.isTimeScale},dayEl:this.cellElRefs.currentMap[a],left:t.lefts[a],right:t.rights[a]}}return null},t}(A.H6J);function fe(e,t,n){var r=[];if(n)for(var o=0,i=e;o<i.length;o++){var a=i[o],s=n.rangeToCoords(a),l=Math.round(s.start),c=Math.round(s.end);c-l<t&&(c=l+t),r.push({start:l,end:c})}return r}var pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=[].concat(e.eventResizeSegs,e.dateSelectionSegs);return e.timelineCoords&&(0,A.azq)("div",{className:"fc-timeline-bg"},this.renderSegs(e.businessHourSegs||[],e.timelineCoords,"non-business"),this.renderSegs(e.bgEventSegs||[],e.timelineCoords,"bg-event"),this.renderSegs(t,e.timelineCoords,"highlight"))},t.prototype.renderSegs=function(e,t,n){var r=this.props,o=r.todayRange,i=r.nowDate,a=this.context.isRtl,s=fe(e,0,t),l=e.map((function(e,t){var r=se(s[t],a);return(0,A.azq)("div",{key:(0,A.rRV)(e.eventRange),className:"fc-timeline-bg-harness",style:r},"bg-event"===n?(0,A.azq)(A.I_K,(0,b.pi)({seg:e},(0,A.jHR)(e,o,i))):(0,A.MA3)(n))}));return(0,A.azq)(A.HYg,null,l)},t}(A.H6J),he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.sliceRange=function(e,t,n,r,o){var i=function(e,t,n){if(!t.isTimeScale&&(e=(0,A.H3H)(e),t.largeUnit)){var r=e;((e={start:n.startOf(e.start,t.largeUnit),end:n.startOf(e.end,t.largeUnit)}).end.valueOf()!==r.end.valueOf()||e.end<=e.start)&&(e={start:e.start,end:n.add(e.end,t.slotDuration)})}return e}(e,r,o),a=[];if(ie(i.start,r,o)<ie(i.end,r,o)){var s=(0,A.cMs)(i,r.normalizedRange);s&&a.push({start:s.start,end:s.end,isStart:s.start.valueOf()===i.start.valueOf()&&G(s.start,r,t,n),isEnd:s.end.valueOf()===i.end.valueOf()&&G((0,A.hvg)(s.end,-1),r,t,n)})}return a},t}(A.RVT),ge=(0,A.SPZ)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"}),ve=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,A.azq)(A.h2k,(0,b.pi)({},e,{extraClassNames:["fc-timeline-event","fc-h-event"],defaultTimeFormat:ge,defaultDisplayEventTime:!e.isTimeScale}))},t}(A.H6J),Ae=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,A.VfA)(),t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.hiddenSegs,o=t.elRef,i=t.placement,a=t.resourceId,s=i.top,l=i.hcoords,c=l&&null!==s,u=se(l,n.isRtl),d=a?{resourceId:a}:{};return(0,A.azq)(A.ygx,{allDayDate:null,moreCnt:r.length,allSegs:r,hiddenSegs:r,alignmentElRef:this.rootElRef,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:d,popoverContent:function(){return(0,A.azq)(A.HYg,null,r.map((function(e){var n=e.eventRange.instance.instanceId;return(0,A.azq)("div",{key:n,style:{visibility:t.isForcedInvisible[n]?"hidden":""}},(0,A.azq)(ve,(0,b.pi)({isTimeScale:t.isTimeScale,seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:n===t.eventSelection},(0,A.jHR)(e,t.todayRange,t.nowDate))))})))}},(function(t,n,r,i,a,l,d,f){return(0,A.azq)("a",{ref:function(n){(0,A.k$v)(t,n),(0,A.k$v)(o,n),(0,A.k$v)(e.rootElRef,n)},className:["fc-timeline-more-link"].concat(n).join(" "),style:(0,b.pi)({visibility:c?"":"hidden",top:s||0},u),onClick:a,title:l,"aria-expanded":d,"aria-controls":f},(0,A.azq)("div",{ref:r,className:"fc-timeline-more-link-inner fc-sticky"},i))}))},t}(A.H6J),me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new he,t.sortEventSegs=(0,A.HPs)(A.hak),t.harnessElRefs=new A.lAU,t.moreElRefs=new A.lAU,t.innerElRef=(0,A.VfA)(),t.state={eventInstanceHeights:{},moreLinkHeights:{}},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=r.options,i=t.dateProfile,a=t.tDateProfile,s=this.slicer.sliceProps(t,i,a.isTimeScale?null:t.nextDayThreshold,r,i,r.dateProfileGenerator,a,r.dateEnv),l=(s.eventDrag?s.eventDrag.segs:null)||(s.eventResize?s.eventResize.segs:null)||[],c=this.sortEventSegs(s.fgEventSegs,o.eventOrder),u=function(e,t,n,r,o,i){for(var a=[],s=[],l=0;l<e.length;l+=1){var c=e[l],u=n[c.eventRange.instance.instanceId],d=t[l];u&&d?a.push({index:l,span:d,thickness:u}):s.push({seg:c,hcoords:d,top:null})}var f=new A.KxW;null!=o&&(f.strictOrder=o),null!=i&&(f.maxStackCnt=i);var p=f.addSegs(a),h=p.map((function(t){return{seg:e[t.index],hcoords:t.span,top:null}})),g=(0,A.AVF)(p),v=[],m=[],y=function(t){return e[t.index]};for(l=0;l<g.length;l+=1){var C=g[l],E=C.entries.map(y);null!=(u=r[(0,A.dS)((0,A.VV4)(E))])?v.push({index:e.length+l,thickness:u,span:C.span}):m.push({seg:E,hcoords:C.span,top:null})}f.maxStackCnt=-1,f.addSegs(v);for(var b=[],w=0,S=0,D=f.toRects();S<D.length;S++){var R=D[S],B=R.index;b.push({seg:B<e.length?e[B]:g[B-e.length].entries.map(y),hcoords:R.span,top:R.levelCoord}),w=Math.max(w,R.levelCoord+R.thickness)}return[b.concat(s,h,m),w]}(c,fe(c,o.eventMinWidth,t.timelineCoords),n.eventInstanceHeights,n.moreLinkHeights,o.eventOrderStrict,o.eventMaxStack),d=u[0],f=u[1],p=(s.eventDrag?s.eventDrag.affectedInstances:null)||(s.eventResize?s.eventResize.affectedInstances:null)||{};return(0,A.azq)(A.HYg,null,(0,A.azq)(pe,{businessHourSegs:s.businessHourSegs,bgEventSegs:s.bgEventSegs,timelineCoords:t.timelineCoords,eventResizeSegs:s.eventResize?s.eventResize.segs:[],dateSelectionSegs:s.dateSelectionSegs,nowDate:t.nowDate,todayRange:t.todayRange}),(0,A.azq)("div",{className:"fc-timeline-events fc-scrollgrid-sync-inner",ref:this.innerElRef,style:{height:f}},this.renderFgSegs(d,p,!1,!1,!1),this.renderFgSegs(function(e,t,n){if(!e.length||!t)return[];var r=function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o.seg;Array.isArray(i)||(t[i.eventRange.instance.instanceId]=o.top)}return t}(n);return e.map((function(e){return{seg:e,hcoords:t.rangeToCoords(e),top:r[e.eventRange.instance.instanceId]}}))}(l,t.timelineCoords,d),{},Boolean(s.eventDrag),Boolean(s.eventResize),!1)))},t.prototype.componentDidMount=function(){this.updateSize()},t.prototype.componentDidUpdate=function(e,t){e.eventStore===this.props.eventStore&&e.timelineCoords===this.props.timelineCoords&&t.moreLinkHeights===this.state.moreLinkHeights||this.updateSize()},t.prototype.updateSize=function(){var e=this.props,t=e.timelineCoords,n=this.innerElRef.current;e.onHeightChange&&e.onHeightChange(n,!1),t&&this.setState({eventInstanceHeights:(0,A._aR)(this.harnessElRefs.currentMap,(function(e){return Math.round(e.getBoundingClientRect().height)})),moreLinkHeights:(0,A._aR)(this.moreElRefs.currentMap,(function(e){return Math.round(e.getBoundingClientRect().height)}))},(function(){e.onHeightChange&&e.onHeightChange(n,!0)})),e.syncParentMinHeight&&(n.parentElement.style.minHeight=n.style.height)},t.prototype.renderFgSegs=function(e,t,n,r,o){var i=this,a=i.harnessElRefs,s=i.moreElRefs,l=i.props,c=i.context,u=n||r||o;return(0,A.azq)(A.HYg,null,e.map((function(e){var i=e.seg,d=e.hcoords,f=e.top;if(Array.isArray(i)){var p=(0,A.dS)((0,A.VV4)(i));return(0,A.azq)(Ae,{key:"m:"+p,elRef:s.createRef(p),hiddenSegs:i,placement:e,dateProfile:l.dateProfile,nowDate:l.nowDate,todayRange:l.todayRange,isTimeScale:l.tDateProfile.isTimeScale,eventSelection:l.eventSelection,resourceId:l.resourceId,isForcedInvisible:t})}var h=i.eventRange.instance.instanceId,g=u||Boolean(!t[h]&&d&&null!==f),v=se(d,c.isRtl);return(0,A.azq)("div",{key:"e:"+h,ref:u?null:a.createRef(h),className:"fc-timeline-event-harness",style:(0,b.pi)({visibility:g?"":"hidden",top:f||0},v)},(0,A.azq)(ve,(0,b.pi)({isTimeScale:l.tDateProfile.isTimeScale,seg:i,isDragging:n,isResizing:r,isDateSelecting:o,isSelected:h===l.eventSelection},(0,A.jHR)(i,l.todayRange,l.nowDate))))})))},t}(A.H6J);me.addStateEquality({eventInstanceHeights:A.S6v,moreLinkHeights:A.S6v});var ye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slatsRef=(0,A.VfA)(),t.state={coords:null},t.handeEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t.handleCoords=function(e){t.setState({coords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=o.options,a=n.dateProfile,s=n.tDateProfile,l=(0,A.NTx)(s.slotDuration).unit;return(0,A.azq)("div",{className:"fc-timeline-body",ref:this.handeEl,style:{minWidth:n.tableMinWidth,height:n.clientHeight,width:n.clientWidth}},(0,A.azq)(A.wh8,{unit:l},(function(t,l){return(0,A.azq)(A.HYg,null,(0,A.azq)(de,{ref:e.slatsRef,dateProfile:a,tDateProfile:s,nowDate:t,todayRange:l,clientWidth:n.clientWidth,tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,onCoords:e.handleCoords,onScrollLeftRequest:n.onScrollLeftRequest}),(0,A.azq)(me,{dateProfile:a,tDateProfile:n.tDateProfile,nowDate:t,todayRange:l,nextDayThreshold:i.nextDayThreshold,businessHours:n.businessHours,eventStore:n.eventStore,eventUiBases:n.eventUiBases,dateSelection:n.dateSelection,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,timelineCoords:r.coords,syncParentMinHeight:!0}),i.nowIndicator&&r.coords&&r.coords.isDateInRange(t)&&(0,A.azq)("div",{className:"fc-timeline-now-indicator-container"},(0,A.azq)(A.AOy,{isAxis:!1,date:t},(function(e,n,i,a){return(0,A.azq)("div",{ref:e,className:["fc-timeline-now-indicator-line"].concat(n).join(" "),style:ae(r.coords.dateToCoord(t),o.isRtl)},a)}))))})))},t.prototype.queryHit=function(e,t,n,r){var o=this.slatsRef.current.positionToHit(e);return o?{dateProfile:this.props.dateProfile,dateSpan:o.dateSpan,rect:{left:o.left,right:o.right,top:0,bottom:r},dayEl:o.dayEl,layer:0}:null},t}(A.IdW),Ce=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimelineDateProfile=(0,A.HPs)(Z),t.scrollGridRef=(0,A.VfA)(),t.state={slatCoords:null,slotCushionMaxWidth:null},t.handleSlatCoords=function(e){t.setState({slatCoords:e})},t.handleScrollLeftRequest=function(e){t.scrollGridRef.current.forceScrollLeft(0,e)},t.handleMaxCushionWidth=function(e){t.setState({slotCushionMaxWidth:Math.ceil(e)})},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=o.options,a=!n.forPrint&&(0,A.Q8U)(i),s=!n.forPrint&&(0,A.PZw)(i),l=this.buildTimelineDateProfile(n.dateProfile,o.dateEnv,i,o.dateProfileGenerator),c=["fc-timeline",!1===i.eventOverlap?"fc-timeline-overlap-disabled":""],u=i.slotMinWidth,d=Ee(l,u||this.computeFallbackSlotMinWidth(l)),f=[{type:"header",key:"header",isSticky:a,chunks:[{key:"timeline",content:function(t){return(0,A.azq)(le,{dateProfile:n.dateProfile,clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,tDateProfile:l,slatCoords:r.slatCoords,onMaxCushionWidth:u?null:e.handleMaxCushionWidth})}}]},{type:"body",key:"body",liquid:!0,chunks:[{key:"timeline",content:function(t){return(0,A.azq)(ye,(0,b.pi)({},n,{clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,tDateProfile:l,onSlatCoords:e.handleSlatCoords,onScrollLeftRequest:e.handleScrollLeftRequest}))}}]}];return s&&f.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"timeline",content:A.Hbc}]}),(0,A.azq)(A.xS$,{viewSpec:o.viewSpec},(function(t,r){return(0,A.azq)("div",{ref:t,className:c.concat(r).join(" ")},(0,A.azq)(z,{ref:e.scrollGridRef,liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:!1,colGroups:[{cols:d}],sections:f}))}))},t.prototype.computeFallbackSlotMinWidth=function(e){return Math.max(30,(this.state.slotCushionMaxWidth||0)/e.slotsPerLabel)},t}(A.IdW);function Ee(e,t){return[{span:e.slotCnt,minWidth:t||1}]}const be=(0,A.rxu)({deps:[m.Z],initialView:"timelineDay",views:{timeline:{component:Ce,usesMinMaxTime:!0,eventResizableFromStart:!0},timelineDay:{type:"timeline",duration:{days:1}},timelineWeek:{type:"timeline",duration:{weeks:1}},timelineMonth:{type:"timeline",duration:{months:1}},timelineYear:{type:"timeline",duration:{years:1}}}});function we(e,t){var n=e.resourceEditable;if(null==n){var r=e.sourceId&&t.getCurrentData().eventSources[e.sourceId];r&&(n=r.extendedProps.resourceEditable),null==n&&null==(n=t.options.eventResourceEditable)&&(n=t.options.editable)}return n}var Se=function(){function e(){this.filterResources=(0,A.HPs)(De)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?{resourceStore:this.filterResources(t.resourceStore,t.options.filterResourcesWithEvents,t.eventStore,t.dateProfile.activeRange),resourceEntityExpansions:t.resourceEntityExpansions}:null},e}();function De(e,t,n,r){if(t){var o=function(e,t){return(0,A.CrY)(e,(function(e){return(0,A.zvB)(e.range,t)}))}(n.instances,r),i=function(e,t){var n={};for(var r in e)for(var o=0,i=t[e[r].defId].resourceIds;o<i.length;o++){n[i[o]]=!0}return n}(o,n.defs);return(0,b.pi)(i,function(e,t){var n={};for(var r in e)for(var o=void 0;(o=t[r])&&(r=o.parentId);)n[r]=!0;return n}(i,e)),(0,A.CrY)(e,(function(e,t){return i[t]}))}return e}var Re=function(){function e(){this.buildResourceEventUis=(0,A.HPs)(Be,A.S6v),this.injectResourceEventUis=(0,A.HPs)(Ie)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?null:{eventUiBases:this.injectResourceEventUis(e.eventUiBases,e.eventStore.defs,this.buildResourceEventUis(t.resourceStore))}},e}();function Be(e){return(0,A._aR)(e,(function(e){return e.ui}))}function Ie(e,t,n){return(0,A._aR)(e,(function(e,r){return r?function(e,t,n){for(var r=[],o=0,i=t.resourceIds;o<i.length;o++){var a=i[o];n[a]&&r.unshift(n[a])}return r.unshift(e),(0,A.kLJ)(r)}(e,t[r],n):e}))}var xe=[];function ke(e){xe.push(e)}function Te(e){return xe[e]}function Me(){return xe}var ze={id:String,resources:A.yRu,url:String,method:String,startParam:String,endParam:String,timeZoneParam:String,extraParams:A.yRu};function Pe(e){var t;if("string"==typeof e?t={url:e}:"function"==typeof e||Array.isArray(e)?t={resources:e}:"object"==typeof e&&e&&(t=e),t){var n=(0,A.rjQ)(t,ze),r=n.refined;!function(e){for(var t in e)console.warn("Unknown resource prop '"+t+"'")}(n.extra);var o=function(e){for(var t=Me(),n=t.length-1;n>=0;n-=1){var r=t[n].parseMeta(e);if(r)return{meta:r,sourceDefId:n}}return null}(r);if(o)return{_raw:e,sourceId:(0,A.M8z)(),sourceDefId:o.sourceDefId,meta:o.meta,publicId:r.id||"",isFetching:!1,latestFetchId:"",fetchRange:null}}return null}function He(e,t,n){var r=n.options,o=n.dateProfile;if(!e||!t)return Oe(r.initialResources||r.resources,o.activeRange,r.refetchResourcesOnNavigate,n);switch(t.type){case"RESET_RESOURCE_SOURCE":return Oe(t.resourceSourceInput,o.activeRange,r.refetchResourcesOnNavigate,n);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return function(e,t,n,r){if(n&&!function(e){return Boolean(Te(e.sourceDefId).ignoreRange)}(e)&&(!e.fetchRange||!(0,A.Dnt)(e.fetchRange,t)))return Ne(e,t,r);return e}(e,o.activeRange,r.refetchResourcesOnNavigate,n);case"RECEIVE_RESOURCES":case"RECEIVE_RESOURCE_ERROR":return function(e,t,n){if(t===e.latestFetchId)return(0,b.pi)((0,b.pi)({},e),{isFetching:!1,fetchRange:n});return e}(e,t.fetchId,t.fetchRange);case"REFETCH_RESOURCES":return Ne(e,o.activeRange,n);default:return e}}function Oe(e,t,n,r){if(e){var o=Pe(e);return o=Ne(o,n?t:null,r)}return null}function Ne(e,t,n){var r=Te(e.sourceDefId),o=(0,A.M8z)();return r.fetch({resourceSource:e,range:t,context:n},(function(e){n.dispatch({type:"RECEIVE_RESOURCES",fetchId:o,fetchRange:t,rawResources:e.rawResources})}),(function(e){n.dispatch({type:"RECEIVE_RESOURCE_ERROR",fetchId:o,fetchRange:t,error:e})})),(0,b.pi)((0,b.pi)({},e),{isFetching:!0,latestFetchId:o})}var Ue="_fc:",We={id:String,parentId:String,children:A.yRu,title:String,businessHours:A.yRu,extendedProps:A.yRu,eventEditable:Boolean,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventConstraint:A.yRu,eventOverlap:Boolean,eventAllow:A.yRu,eventClassNames:A.Qu7,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String};function Le(e,t,n,r){void 0===t&&(t="");var o=(0,A.rjQ)(e,We),i=o.refined,a=o.extra,s={id:i.id||Ue+(0,A.M8z)(),parentId:i.parentId||t,title:i.title||"",businessHours:i.businessHours?(0,A.ifz)(i.businessHours,r):null,ui:(0,A.oqz)({editable:i.eventEditable,startEditable:i.eventStartEditable,durationEditable:i.eventDurationEditable,constraint:i.eventConstraint,overlap:i.eventOverlap,allow:i.eventAllow,classNames:i.eventClassNames,backgroundColor:i.eventBackgroundColor,borderColor:i.eventBorderColor,textColor:i.eventTextColor,color:i.eventColor},r),extendedProps:(0,b.pi)((0,b.pi)({},a),i.extendedProps)};if(Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),n[s.id]);else if(n[s.id]=s,i.children)for(var l=0,c=i.children;l<c.length;l++){Le(c[l],s.id,n,r)}return s}function Fe(e){return 0===e.indexOf(Ue)?"":e}function qe(e,t,n,r){if(!e||!t)return{};switch(t.type){case"RECEIVE_RESOURCES":return function(e,t,n,r,o){if(r.latestFetchId===n){for(var i={},a=0,s=t;a<s.length;a++){Le(s[a],"",i,o)}return i}return e}(e,t.rawResources,t.fetchId,n,r);case"ADD_RESOURCE":return o=e,i=t.resourceHash,(0,b.pi)((0,b.pi)({},o),i);case"REMOVE_RESOURCE":return function(e,t){var n=(0,b.pi)({},e);for(var r in delete n[t],n)n[r].parentId===t&&(n[r]=(0,b.pi)((0,b.pi)({},n[r]),{parentId:""}));return n}(e,t.resourceId);case"SET_RESOURCE_PROP":return function(e,t,n,r){var o,i,a=e[t];if(a)return(0,b.pi)((0,b.pi)({},e),((o={})[t]=(0,b.pi)((0,b.pi)({},a),((i={})[n]=r,i)),o));return e}(e,t.resourceId,t.propName,t.propValue);case"SET_RESOURCE_EXTENDED_PROP":return function(e,t,n,r){var o,i,a=e[t];if(a)return(0,b.pi)((0,b.pi)({},e),((o={})[t]=(0,b.pi)((0,b.pi)({},a),{extendedProps:(0,b.pi)((0,b.pi)({},a.extendedProps),(i={},i[n]=r,i))}),o));return e}(e,t.resourceId,t.propName,t.propValue);default:return e}var o,i}var _e={resourceId:String,resourceIds:A.yRu,resourceEditable:Boolean};var Ve=function(){function e(e,t){this._context=e,this._resource=t}return e.prototype.setProp=function(e,t){var n=this._resource;this._context.dispatch({type:"SET_RESOURCE_PROP",resourceId:n.id,propName:e,propValue:t}),this.sync(n)},e.prototype.setExtendedProp=function(e,t){var n=this._resource;this._context.dispatch({type:"SET_RESOURCE_EXTENDED_PROP",resourceId:n.id,propName:e,propValue:t}),this.sync(n)},e.prototype.sync=function(t){var n=this._context,r=t.id;this._resource=n.getCurrentData().resourceStore[r],n.emitter.trigger("resourceChange",{oldResource:new e(n,t),resource:this,revert:function(){var e;n.dispatch({type:"ADD_RESOURCE",resourceHash:(e={},e[r]=t,e)})}})},e.prototype.remove=function(){var e=this._context,t=this._resource,n=t.id;e.dispatch({type:"REMOVE_RESOURCE",resourceId:n}),e.emitter.trigger("resourceRemove",{resource:this,revert:function(){var r;e.dispatch({type:"ADD_RESOURCE",resourceHash:(r={},r[n]=t,r)})}})},e.prototype.getParent=function(){var t=this._context,n=this._resource.parentId;return n?new e(t,t.getCurrentData().resourceSource[n]):null},e.prototype.getChildren=function(){var t=this._resource.id,n=this._context,r=n.getCurrentData().resourceStore,o=[];for(var i in r)r[i].parentId===t&&o.push(new e(n,r[i]));return o},e.prototype.getEvents=function(){var e=this._resource.id,t=this._context,n=t.getCurrentData().eventStore,r=n.defs,o=n.instances,i=[];for(var a in o){var s=o[a],l=r[s.defId];-1!==l.resourceIds.indexOf(e)&&i.push(new A.voO(t,l,s))}return i},Object.defineProperty(e.prototype,"id",{get:function(){return Fe(this._resource.id)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._resource.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventConstraint",{get:function(){return this._resource.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventOverlap",{get:function(){return this._resource.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventAllow",{get:function(){return this._resource.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventBackgroundColor",{get:function(){return this._resource.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventBorderColor",{get:function(){return this._resource.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventTextColor",{get:function(){return this._resource.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventClassNames",{get:function(){return this._resource.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._resource.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._resource,n=t.ui,r=this.id,o={};return r&&(o.id=r),t.title&&(o.title=t.title),e.collapseEventColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?o.eventColor=n.backgroundColor:(n.backgroundColor&&(o.eventBackgroundColor=n.backgroundColor),n.borderColor&&(o.eventBorderColor=n.borderColor)),n.textColor&&(o.eventTextColor=n.textColor),n.classNames.length&&(o.eventClassNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?(0,b.pi)(o,t.extendedProps):o.extendedProps=t.extendedProps),o},e.prototype.toJSON=function(){return this.toPlainObject()},e}();A.zeW.prototype.addResource=function(e,t){var n,r=this;void 0===t&&(t=!0);var o,i,a=this.getCurrentData();e instanceof Ve?((n={})[(i=e._resource).id]=i,o=n):i=Le(e,"",o={},a),this.dispatch({type:"ADD_RESOURCE",resourceHash:o}),t&&this.trigger("_scrollRequest",{resourceId:i.id});var s=new Ve(a,i);return a.emitter.trigger("resourceAdd",{resource:s,revert:function(){r.dispatch({type:"REMOVE_RESOURCE",resourceId:i.id})}}),s},A.zeW.prototype.getResourceById=function(e){e=String(e);var t=this.getCurrentData();if(t.resourceStore){var n=t.resourceStore[e];if(n)return new Ve(t,n)}return null},A.zeW.prototype.getResources=function(){var e=this.getCurrentData(),t=e.resourceStore,n=[];if(t)for(var r in t)n.push(new Ve(e,t[r]));return n},A.zeW.prototype.getTopLevelResources=function(){var e=this.getCurrentData(),t=e.resourceStore,n=[];if(t)for(var r in t)t[r].parentId||n.push(new Ve(e,t[r]));return n},A.zeW.prototype.refetchResources=function(){this.dispatch({type:"REFETCH_RESOURCES"})};var je=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.getKeyInfo=function(e){return(0,b.pi)({"":{}},e.resourceStore)},t.prototype.getKeysForDateSpan=function(e){return[e.resourceId||""]},t.prototype.getKeysForEventDef=function(e){var t=e.resourceIds;return t.length?t:[""]},t}(A.qX1);function Ze(e,t){return(0,b.pi)((0,b.pi)({},t),{constraints:Ye(e,t.constraints)})}function Ye(e,t){return t.map((function(t){var n=t.defs;if(n)for(var r in n){var o=n[r].resourceIds;if(o.length&&-1===o.indexOf(e))return!1}return t}))}A.voO.prototype.getResources=function(){var e=this._context.calendarApi;return this._def.resourceIds.map((function(t){return e.getResourceById(t)}))},A.voO.prototype.setResources=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n],i=null;"string"==typeof o?i=o:"number"==typeof o?i=String(o):o instanceof Ve?i=o.id:console.warn("unknown resource type: "+o),i&&t.push(i)}this.mutate({standardProps:{resourceIds:t}})};var Ge={resources:function(e,t){t.getCurrentData().resourceSource._raw!==e&&t.dispatch({type:"RESET_RESOURCE_SOURCE",resourceSourceInput:e})}};var Qe=(0,A.MCs)("id,title");var Xe={initialResources:A.yRu,resources:A.yRu,eventResourceEditable:Boolean,refetchResourcesOnNavigate:Boolean,resourceOrder:A.MCs,filterResourcesWithEvents:Boolean,resourceGroupField:String,resourceAreaWidth:A.yRu,resourceAreaColumns:A.yRu,resourcesInitiallyExpanded:Boolean,datesAboveResources:Boolean,needsResourceData:Boolean,resourceAreaHeaderClassNames:A.yRu,resourceAreaHeaderContent:A.yRu,resourceAreaHeaderDidMount:A.yRu,resourceAreaHeaderWillUnmount:A.yRu,resourceGroupLabelClassNames:A.yRu,resourceGroupLabelContent:A.yRu,resourceGroupLabelDidMount:A.yRu,resourceGroupLabelWillUnmount:A.yRu,resourceLabelClassNames:A.yRu,resourceLabelContent:A.yRu,resourceLabelDidMount:A.yRu,resourceLabelWillUnmount:A.yRu,resourceLaneClassNames:A.yRu,resourceLaneContent:A.yRu,resourceLaneDidMount:A.yRu,resourceLaneWillUnmount:A.yRu,resourceGroupLaneClassNames:A.yRu,resourceGroupLaneContent:A.yRu,resourceGroupLaneDidMount:A.yRu,resourceGroupLaneWillUnmount:A.yRu},Je={resourcesSet:A.yRu,resourceAdd:A.yRu,resourceChange:A.yRu,resourceRemove:A.yRu};function Ke(e){return(0,A.azq)(A.Yh$.Consumer,null,(function(t){var n=t.options,r={resource:new Ve(t,e.resource),date:e.date?t.dateEnv.toDate(e.date):null,view:t.viewApi},o={"data-resource-id":e.resource.id,"data-date":e.date?(0,A.SVl)(e.date):void 0};return(0,A.azq)(A.QJ3,{hookProps:r,classNames:n.resourceLabelClassNames,content:n.resourceLabelContent,defaultContent:$e,didMount:n.resourceLabelDidMount,willUnmount:n.resourceLabelWillUnmount},(function(t,n,r,i){return e.children(t,n,o,r,i)}))}))}function $e(e){return e.resource.title||e.resource.id}ke({ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.resources)?e.resources:null},fetch:function(e,t){t({rawResources:e.resourceSource.meta})}}),ke({parseMeta:function(e){return"function"==typeof e.resources?e.resources:null},fetch:function(e,t,n){var r=e.context.dateEnv,o=e.resourceSource.meta,i=e.range?{start:r.toDate(e.range.start),end:r.toDate(e.range.end),startStr:r.formatIso(e.range.start),endStr:r.formatIso(e.range.end),timeZone:r.timeZone}:{};(0,A.Olf)(o.bind(null,i),(function(e){t({rawResources:e})}),n)}}),ke({parseMeta:function(e){return e.url?{url:e.url,method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams}:null},fetch:function(e,t,n){var r=e.resourceSource.meta,o=function(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,c={};t&&(null==(r=e.startParam)&&(r=l.startParam),null==(o=e.endParam)&&(o=l.endParam),null==(i=e.timeZoneParam)&&(i=l.timeZoneParam),c[r]=s.formatIso(t.start),c[o]=s.formatIso(t.end),"local"!==s.timeZone&&(c[i]=s.timeZone));a="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};return(0,b.pi)(c,a),c}(r,e.range,e.context);(0,A.aAC)(r.method,r.url,o,(function(e,n){t({rawResources:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}});var et=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,A.azq)(Ke,{resource:e.resource,date:e.date},(function(t,n,r,o,i){return(0,A.azq)("th",(0,b.pi)({ref:t,role:"columnheader",className:["fc-col-header-cell","fc-resource"].concat(n).join(" "),colSpan:e.colSpan},r),(0,A.azq)("div",{className:"fc-scrollgrid-sync-inner"},(0,A.azq)("span",{className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(A.H6J);!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDateFormat=(0,A.HPs)(tt),t}(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=this.buildDateFormat(n.options.dayHeaderFormat,t.datesRepDistinctDays,t.dates.length);return(0,A.azq)(A.wh8,{unit:"day"},(function(o,i){return 1===t.dates.length?e.renderResourceRow(t.resources,t.dates[0]):n.options.datesAboveResources?e.renderDayAndResourceRows(t.dates,r,i,t.resources):e.renderResourceAndDayRows(t.resources,t.dates,r,i)}))},t.prototype.renderResourceRow=function(e,t){var n=e.map((function(e){return(0,A.azq)(et,{key:e.id,resource:e,colSpan:1,date:t})}));return this.buildTr(n,"resources")},t.prototype.renderDayAndResourceRows=function(e,t,n,r){for(var o=[],i=[],a=0,s=e;a<s.length;a++){var l=s[a];o.push(this.renderDateCell(l,t,n,r.length,null,!0));for(var c=0,u=r;c<u.length;c++){var d=u[c];i.push((0,A.azq)(et,{key:d.id+":"+l.toISOString(),resource:d,colSpan:1,date:l}))}}return(0,A.azq)(A.HYg,null,this.buildTr(o,"day"),this.buildTr(i,"resources"))},t.prototype.renderResourceAndDayRows=function(e,t,n,r){for(var o=[],i=[],a=0,s=e;a<s.length;a++){var l=s[a];o.push((0,A.azq)(et,{key:l.id,resource:l,colSpan:t.length,isSticky:!0}));for(var c=0,u=t;c<u.length;c++){var d=u[c];i.push(this.renderDateCell(d,n,r,1,l))}}return(0,A.azq)(A.HYg,null,this.buildTr(o,"resources"),this.buildTr(i,"day"))},t.prototype.renderDateCell=function(e,t,n,r,o,i){var a=this.props,s=o?":"+o.id:"",l=o?{resource:new Ve(this.context,o)}:{},c=o?{"data-resource-id":o.id}:{};return a.datesRepDistinctDays?(0,A.azq)(A.nWf,{key:e.toISOString()+s,date:e,dateProfile:a.dateProfile,todayRange:n,colCnt:a.dates.length*a.resources.length,dayHeaderFormat:t,colSpan:r,isSticky:i,extraHookProps:l,extraDataAttrs:c}):(0,A.azq)(A.Ceh,{key:e.getUTCDay()+s,dow:e.getUTCDay(),dayHeaderFormat:t,colSpan:r,isSticky:i,extraHookProps:l,extraDataAttrs:c})},t.prototype.buildTr=function(e,t){var n=this.props.renderIntro;return e.length||(e=[(0,A.azq)("td",{key:0}," ")]),(0,A.azq)("tr",{key:t,role:"row"},n&&n(t),e)}}(A.H6J);function tt(e,t,n){return e||(0,A.nm6)(t,n)}var nt=function(e){for(var t={},n=[],r=0;r<e.length;r+=1){var o=e[r].id;n.push(o),t[o]=r}this.ids=n,this.indicesById=t,this.length=e.length},rt=function(){function e(e,t,n){this.dayTableModel=e,this.resources=t,this.context=n,this.resourceIndex=new nt(t),this.rowCnt=e.rowCnt,this.colCnt=e.colCnt*t.length,this.cells=this.buildCells()}return e.prototype.buildCells=function(){for(var e=this,t=e.rowCnt,n=e.dayTableModel,r=e.resources,o=[],i=0;i<t;i+=1){for(var a=[],s=0;s<n.colCnt;s+=1)for(var l=0;l<r.length;l+=1){var c=r[l],u={resource:new Ve(this.context,c)},d={"data-resource-id":c.id},f={resourceId:c.id},p=n.cells[i][s].date;a[this.computeCol(s,l)]={key:c.id+":"+p.toISOString(),date:p,extraHookProps:u,extraDataAttrs:d,extraClassNames:["fc-resource"],extraDateSpan:f}}o.push(a)}return o},e}(),ot=(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,b.ZT)(t,e),t.prototype.computeCol=function(e,t){return t*this.dayTableModel.colCnt+e},t.prototype.computeColRanges=function(e,t,n){return[{firstCol:this.computeCol(e,n),lastCol:this.computeCol(t,n),isStart:!0,isEnd:!0}]}}(rt),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,b.ZT)(t,e),t.prototype.computeCol=function(e,t){return e*this.resources.length+t},t.prototype.computeColRanges=function(e,t,n){for(var r=[],o=e;o<=t;o+=1){var i=this.computeCol(o,n);r.push({firstCol:i,lastCol:i,isStart:o===e,isEnd:o===t})}return r}}(rt),[]);(function(){function e(){this.joinDateSelection=(0,A.HPs)(this.joinSegs),this.joinBusinessHours=(0,A.HPs)(this.joinSegs),this.joinFgEvents=(0,A.HPs)(this.joinSegs),this.joinBgEvents=(0,A.HPs)(this.joinSegs),this.joinEventDrags=(0,A.HPs)(this.joinInteractions),this.joinEventResizes=(0,A.HPs)(this.joinInteractions)}e.prototype.joinProps=function(e,t){for(var n=[],r=[],o=[],i=[],a=[],s=[],l="",c=0,u=t.resourceIndex.ids.concat([""]);c<u.length;c++){var d=u[c],f=e[d];n.push(f.dateSelectionSegs),r.push(d?f.businessHourSegs:ot),o.push(d?f.fgEventSegs:ot),i.push(f.bgEventSegs),a.push(f.eventDrag),s.push(f.eventResize),l=l||f.eventSelection}return{dateSelectionSegs:this.joinDateSelection.apply(this,(0,b.ev)([t],n)),businessHourSegs:this.joinBusinessHours.apply(this,(0,b.ev)([t],r)),fgEventSegs:this.joinFgEvents.apply(this,(0,b.ev)([t],o)),bgEventSegs:this.joinBgEvents.apply(this,(0,b.ev)([t],i)),eventDrag:this.joinEventDrags.apply(this,(0,b.ev)([t],a)),eventResize:this.joinEventResizes.apply(this,(0,b.ev)([t],s)),eventSelection:l}},e.prototype.joinSegs=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=e.resources.length,o=[],i=0;i<r;i+=1){for(var a=0,s=t[i];a<s.length;a++){var l=s[a];o.push.apply(o,this.transformSeg(l,e,i))}for(var c=0,u=t[r];c<u.length;c++){l=u[c];o.push.apply(o,this.transformSeg(l,e,i))}}return o},e.prototype.expandSegs=function(e,t){for(var n=e.resources.length,r=[],o=0;o<n;o+=1)for(var i=0,a=t;i<a.length;i++){var s=a[i];r.push.apply(r,this.transformSeg(s,e,o))}return r},e.prototype.joinInteractions=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=e.resources.length,o={},i=[],a=!1,s=!1,l=0;l<r;l+=1){var c=t[l];if(c){a=!0;for(var u=0,d=c.segs;u<d.length;u++){var f=d[u];i.push.apply(i,this.transformSeg(f,e,l))}(0,b.pi)(o,c.affectedInstances),s=s||c.isEvent}if(t[r])for(var p=0,h=t[r].segs;p<h.length;p++){f=h[p];i.push.apply(i,this.transformSeg(f,e,l))}}return a?{affectedInstances:o,segs:i,isEvent:s}:null}})(),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,b.ZT)(t,e),t.prototype.getKeyInfo=function(e){var t=e.resourceDayTableModel,n=(0,A._aR)(t.resourceIndex.indicesById,(function(e){return t.resources[e]}));return n[""]={},n},t.prototype.getKeysForDateSpan=function(e){return[e.resourceId||""]},t.prototype.getKeysForEventDef=function(e){var t=e.resourceIds;return t.length?t:[""]}}(A.qX1);function it(e,t,n,r,o,i){var a=function(e,t,n,r){var o=function(e,t){var n={};for(var r in e){var o=e[r];n[r]={resource:o,resourceFields:ct(o),children:[]}}for(var r in e){if((o=e[r]).parentId){var i=n[o.parentId];i&<(n[r],i.children,t)}}return n}(e,r),i=[];for(var a in o){var s=o[a];s.resource.parentId||st(s,i,n,0,t,r)}return i}(e,r?-1:1,t,n),s=[];return at(a,s,r,[],0,o,i),s}function at(e,t,n,r,o,i,a){for(var s=0;s<e.length;s+=1){var l=e[s],c=l.group;if(c)if(n){var u=t.length,d=r.length;if(at(l.children,t,n,r.concat(0),o,i,a),u<t.length){var f=t[u];(f.rowSpans=f.rowSpans.slice())[d]=t.length-u}}else{var p=null!=i[h=c.spec.field+":"+c.value]?i[h]:a;t.push({id:h,group:c,isExpanded:p}),p&&at(l.children,t,n,r,o+1,i,a)}else if(l.resource){var h;p=null!=i[h=l.resource.id]?i[h]:a;t.push({id:h,rowSpans:r,depth:o,isExpanded:p,hasChildren:Boolean(l.children.length),resource:l.resource,resourceFields:l.resourceFields}),p&&at(l.children,t,n,r,o+1,i,a)}}}function st(e,t,n,r,o,i){if(n.length&&(-1===o||r<=o)){var a=function(e,t,n){var r,o,i=e.resourceFields[n.field];if(n.order)for(o=0;o<t.length;o+=1){if((s=t[o]).group){var a=(0,A.dx1)(i,s.group.value)*n.order;if(0===a){r=s;break}if(a<0)break}}else for(o=0;o<t.length;o+=1){var s;if((s=t[o]).group&&i===s.group.value){r=s;break}}r||(r={group:{value:i,spec:n},children:[]},t.splice(o,0,r));return r}(e,t,n[0]);st(e,a.children,n.slice(1),r+1,o,i)}else lt(e,t,i)}function lt(e,t,n){var r;for(r=0;r<t.length;r+=1){if((0,A.oMu)(t[r].resourceFields,e.resourceFields,n)>0)break}t.splice(r,0,e)}function ct(e){var t=(0,b.pi)((0,b.pi)((0,b.pi)({},e.extendedProps),e.ui),e);return delete t.ui,delete t.extendedProps,t}const ut=(0,A.rxu)({deps:[m.Z],reducers:[function(e,t,n){var r=He(e&&e.resourceSource,t,n),o=qe(e&&e.resourceStore,t,r,n),i=function(e,t){var n;return e&&t?"SET_RESOURCE_ENTITY_EXPANDED"===t.type?(0,b.pi)((0,b.pi)({},e),((n={})[t.id]=t.isExpanded,n)):e:{}}(e&&e.resourceEntityExpansions,t);return{resourceSource:r,resourceStore:o,resourceEntityExpansions:i}}],isLoadingFuncs:[function(e){return e.resourceSource&&e.resourceSource.isFetching}],eventRefiners:_e,eventDefMemberAdders:[function(e){return{resourceIds:(t=e.resourceIds,(t||[]).map((function(e){return String(e)}))).concat(e.resourceId?[e.resourceId]:[]),resourceEditable:e.resourceEditable};var t}],isDraggableTransformers:[function(e,t,n,r){if(!e){var o=r.getCurrentData();if(o.viewSpecs[o.currentViewType].optionDefaults.needsResourceData&&we(t,r))return!0}return e}],eventDragMutationMassagers:[
|
|
19
19
|
/*!
|
|
20
20
|
FullCalendar Scheduler v5.11.3
|
|
21
21
|
Docs & License: https://fullcalendar.io/scheduler
|
|
22
22
|
(c) 2022 Adam Shaw
|
|
23
23
|
*/
|
|
24
|
-
function(e,t,n){var r=t.dateSpan.resourceId,o=n.dateSpan.resourceId;r&&o&&r!==o&&(e.resourceMutation={matchResourceId:r,setResourceId:o})}],eventDefMutationAppliers:[function(e,t,n){var r=t.resourceMutation;if(r&&we(e,n)){var o=e.resourceIds.indexOf(r.matchResourceId);if(-1!==o){var i=e.resourceIds.slice();i.splice(o,1),-1===i.indexOf(r.setResourceId)&&i.push(r.setResourceId),e.resourceIds=i}}}],dateSelectionTransformers:[function(e,t){var n=e.dateSpan.resourceId,r=t.dateSpan.resourceId;return n&&r?{resourceId:n}:null}],datePointTransforms:[function(e,t){return e.resourceId?{resource:t.calendarApi.getResourceById(e.resourceId)}:{}}],dateSpanTransforms:[function(e,t){return e.resourceId?{resource:t.calendarApi.getResourceById(e.resourceId)}:{}}],viewPropsTransformers:[Se,Re],isPropsValid:function(e,t){var n=(new je).splitProps((0,b.pi)((0,b.pi)({},e),{resourceStore:t.getCurrentData().resourceStore}));for(var r in n){var o=n[r];if(r&&n[""]&&(o=(0,b.pi)((0,b.pi)({},o),{eventStore:(0,
|
|
24
|
+
function(e,t,n){var r=t.dateSpan.resourceId,o=n.dateSpan.resourceId;r&&o&&r!==o&&(e.resourceMutation={matchResourceId:r,setResourceId:o})}],eventDefMutationAppliers:[function(e,t,n){var r=t.resourceMutation;if(r&&we(e,n)){var o=e.resourceIds.indexOf(r.matchResourceId);if(-1!==o){var i=e.resourceIds.slice();i.splice(o,1),-1===i.indexOf(r.setResourceId)&&i.push(r.setResourceId),e.resourceIds=i}}}],dateSelectionTransformers:[function(e,t){var n=e.dateSpan.resourceId,r=t.dateSpan.resourceId;return n&&r?{resourceId:n}:null}],datePointTransforms:[function(e,t){return e.resourceId?{resource:t.calendarApi.getResourceById(e.resourceId)}:{}}],dateSpanTransforms:[function(e,t){return e.resourceId?{resource:t.calendarApi.getResourceById(e.resourceId)}:{}}],viewPropsTransformers:[Se,Re],isPropsValid:function(e,t){var n=(new je).splitProps((0,b.pi)((0,b.pi)({},e),{resourceStore:t.getCurrentData().resourceStore}));for(var r in n){var o=n[r];if(r&&n[""]&&(o=(0,b.pi)((0,b.pi)({},o),{eventStore:(0,A.rOY)(n[""].eventStore,o.eventStore),eventUiBases:(0,b.pi)((0,b.pi)({},n[""].eventUiBases),o.eventUiBases)})),!(0,A.yw$)(o,t,{resourceId:r},Ze.bind(null,r)))return!1}return!0},externalDefTransforms:[function(e){return e.resourceId?{resourceId:e.resourceId}:{}}],eventDropTransformers:[function(e,t){var n=e.resourceMutation;if(n){var r=t.calendarApi;return{oldResource:r.getResourceById(n.matchResourceId),newResource:r.getResourceById(n.setResourceId)}}return{oldResource:null,newResource:null}}],optionChangeHandlers:Ge,optionRefiners:Xe,listenerRefiners:Je,propSetHandlers:{resourceStore:function(e,t){var n=t.emitter;n.hasHandlers("resourcesSet")&&n.trigger("resourcesSet",function(e,t){var n=[];for(var r in e)n.push(new Ve(t,e[r]));return n}(e,t))}}});
|
|
25
25
|
/*!
|
|
26
26
|
FullCalendar Scheduler v5.11.3
|
|
27
27
|
Docs & License: https://fullcalendar.io/scheduler
|
|
28
28
|
(c) 2022 Adam Shaw
|
|
29
29
|
*/
|
|
30
|
-
function dt(e){for(var t=e.depth,n=e.hasChildren,r=e.isExpanded,o=e.onExpanderClick,i=[],a=0;a<t;a+=1)i.push((0,v.azq)("span",{className:"fc-icon"}));var s=["fc-icon"];return n&&(r?s.push("fc-icon-minus-square"):s.push("fc-icon-plus-square")),i.push((0,v.azq)("span",{className:"fc-datagrid-expander"+(n?"":" fc-datagrid-expander-placeholder"),onClick:o},(0,v.azq)("span",{className:s.join(" ")}))),v.azq.apply(void 0,(0,b.ev)([v.HYg,{}],i))}function ft(e){return{resource:new Ve(e.context,e.resource),fieldValue:e.fieldValue,view:e.context.viewApi}}var pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,v.azq)(v.rVp,{hookProps:e.hookProps,content:e.colSpec.cellContent,defaultContent:ht},(function(e,t){return(0,v.azq)("span",{className:"fc-datagrid-cell-main",ref:e},t)}))},t}(v.H6J);function ht(e){return e.fieldValue||(0,v.azq)(v.HYg,null," ")}var gt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,v.Vbb)(ft),t.normalizeClassNames=(0,v.HgS)(),t.onExpanderClick=function(e){var n=t.props;n.hasChildren&&t.context.dispatch({type:"SET_RESOURCE_ENTITY_EXPANDED",id:n.resource.id,isExpanded:!n.isExpanded})},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.colSpec,o=this.refineHookProps({resource:t.resource,fieldValue:t.fieldValue,context:n}),i=this.normalizeClassNames(r.cellClassNames,o);return(0,v.azq)(v.y3w,{hookProps:o,didMount:r.cellDidMount,willUnmount:r.cellWillUnmount},(function(n){return(0,v.azq)("td",{ref:n,role:"gridcell","data-resource-id":t.resource.id,className:["fc-datagrid-cell","fc-resource"].concat(i).join(" ")},(0,v.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:t.innerHeight}},(0,v.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner"},r.isMain&&(0,v.azq)(dt,{depth:t.depth,hasChildren:t.hasChildren,isExpanded:t.isExpanded,onExpanderClick:e.onExpanderClick}),(0,v.azq)(pt,{hookProps:o,colSpec:r}))))}))},t}(v.H6J),At=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.colSpec,r={groupValue:e.fieldValue,view:t.viewApi};return(0,v.azq)(v.QJ3,{hookProps:r,classNames:n.cellClassNames,content:n.cellContent,defaultContent:vt,didMount:n.cellDidMount,willUnmount:n.cellWillUnmount},(function(t,n,r,o){return(0,v.azq)("td",{ref:t,role:"gridcell",rowSpan:e.rowSpan,className:["fc-datagrid-cell","fc-resource-group"].concat(n).join(" ")},(0,v.azq)("div",{className:"fc-datagrid-cell-frame fc-datagrid-cell-frame-liquid"},(0,v.azq)("div",{className:"fc-datagrid-cell-cushion fc-sticky",ref:r},o)))}))},t}(v.H6J);function vt(e){return e.groupValue||(0,v.azq)(v.HYg,null," ")}var mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.resource,n=e.rowSpans,r=e.depth,o=ct(t);return(0,v.azq)("tr",{role:"row"},e.colSpecs.map((function(i,a){var s=n[a];if(0===s)return null;null==s&&(s=1);var l=i.field?o[i.field]:t.title||qe(t.id);return s>1?(0,v.azq)(At,{key:a,colSpec:i,fieldValue:l,rowSpan:s}):(0,v.azq)(gt,{key:a,colSpec:i,resource:t,fieldValue:l,depth:r,hasChildren:e.hasChildren,isExpanded:e.isExpanded,innerHeight:e.innerHeight})})))},t}(v.H6J);mt.addPropsEquality({rowSpans:v.CnA});var yt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerInnerRef=(0,v.VfA)(),t.onExpanderClick=function(){var e=t.props;t.context.dispatch({type:"SET_RESOURCE_ENTITY_EXPANDED",id:e.id,isExpanded:!e.isExpanded})},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r={groupValue:t.group.value,view:n.viewApi},o=t.group.spec;return(0,v.azq)("tr",{role:"row"},(0,v.azq)(v.QJ3,{hookProps:r,classNames:o.labelClassNames,content:o.labelContent,defaultContent:Ct,didMount:o.labelDidMount,willUnmount:o.labelWillUnmount},(function(r,o,i,a){return(0,v.azq)("th",{ref:r,role:"columnheader",scope:"colgroup",colSpan:t.spreadsheetColCnt,className:["fc-datagrid-cell","fc-resource-group",n.theme.getClass("tableCellShaded")].concat(o).join(" ")},(0,v.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:t.innerHeight}},(0,v.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner",ref:e.innerInnerRef},(0,v.azq)(dt,{depth:0,hasChildren:!0,isExpanded:t.isExpanded,onExpanderClick:e.onExpanderClick}),(0,v.azq)("span",{className:"fc-datagrid-cell-main",ref:i},a))))})))},t}(v.H6J);function Ct(e){return e.groupValue||(0,v.azq)(v.HYg,null," ")}yt.addPropsEquality({group:function(e,t){return e.spec===t.spec&&e.value===t.value}});var Et=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizerElRefs=new v.lAU(t._handleColResizerEl.bind(t)),t.colDraggings={},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.colSpecs,r=t.superHeaderRendering,o=t.rowInnerHeights,i={view:this.context.viewApi},a=[];if(o=o.slice(),r){var s=o.shift();a.push((0,v.azq)("tr",{key:"row-super",role:"row"},(0,v.azq)(v.QJ3,{hookProps:i,classNames:r.headerClassNames,content:r.headerContent,didMount:r.headerDidMount,willUnmount:r.headerWillUnmount},(function(e,t,r,o){return(0,v.azq)("th",{ref:e,role:"columnheader",scope:"colgroup",colSpan:n.length,className:["fc-datagrid-cell","fc-datagrid-cell-super"].concat(t).join(" ")},(0,v.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:s}},(0,v.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner",ref:r},o)))}))))}var l=o.shift();return a.push((0,v.azq)("tr",{key:"row",role:"row"},n.map((function(t,r){var o=r===n.length-1;return(0,v.azq)(v.QJ3,{key:r,hookProps:i,classNames:t.headerClassNames,content:t.headerContent,didMount:t.headerDidMount,willUnmount:t.headerWillUnmount},(function(n,i,a,s){return(0,v.azq)("th",{ref:n,role:"columnheader",className:["fc-datagrid-cell"].concat(i).join(" ")},(0,v.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:l}},(0,v.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner"},t.isMain&&(0,v.azq)("span",{className:"fc-datagrid-expander fc-datagrid-expander-placeholder"},(0,v.azq)("span",{className:"fc-icon"})),(0,v.azq)("span",{className:"fc-datagrid-cell-main",ref:a},s)),!o&&(0,v.azq)("div",{className:"fc-datagrid-cell-resizer",ref:e.resizerElRefs.createRef(r)})))}))})))),(0,v.azq)(v.HYg,null,a)},t.prototype._handleColResizerEl=function(e,t){var n,r=this.colDraggings;e?(n=this.initColResizing(e,parseInt(t,10)))&&(r[t]=n):(n=r[t])&&(n.destroy(),delete r[t])},t.prototype.initColResizing=function(e,t){var n=this.context,r=n.pluginHooks,o=n.isRtl,i=this.props.onColWidthChange,a=r.elementDraggingImpl;if(a){var s,l,c=new a(e);return c.emitter.on("dragstart",(function(){var n=(0,v.xlG)((0,v.x_n)(e,"tr"),"th");l=n.map((function(e){return e.getBoundingClientRect().width})),s=l[t]})),c.emitter.on("dragmove",(function(e){l[t]=Math.max(s+e.deltaX*(o?-1:1),20),i&&i(l.slice())})),c.setAutoScrollEnabled(!1),c}return null},t}(v.H6J),bt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n={resource:new Ve(t,e.resource)};return(0,v.azq)(v.rVp,{hookProps:n,content:t.options.resourceLaneContent},(function(e,t){return t&&(0,v.azq)("div",{className:"fc-timeline-lane-misc",ref:e},t)}))},t}(v.H6J),wt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,v.Vbb)(St),t.normalizeClassNames=(0,v.HgS)(),t.handleHeightChange=function(e,n){t.props.onHeightChange&&t.props.onHeightChange((0,v.x_n)(e,"tr"),n)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options,o=this.refineHookProps({resource:t.resource,context:n}),i=this.normalizeClassNames(r.resourceLaneClassNames,o);return(0,v.azq)("tr",{ref:t.elRef},(0,v.azq)(v.y3w,{hookProps:o,didMount:r.resourceLaneDidMount,willUnmount:r.resourceLaneWillUnmount},(function(n){return(0,v.azq)("td",{ref:n,className:["fc-timeline-lane","fc-resource"].concat(i).join(" "),"data-resource-id":t.resource.id},(0,v.azq)("div",{className:"fc-timeline-lane-frame",style:{height:t.innerHeight}},(0,v.azq)(bt,{resource:t.resource}),(0,v.azq)(me,{dateProfile:t.dateProfile,tDateProfile:t.tDateProfile,nowDate:t.nowDate,todayRange:t.todayRange,nextDayThreshold:t.nextDayThreshold,businessHours:t.businessHours,eventStore:t.eventStore,eventUiBases:t.eventUiBases,dateSelection:t.dateSelection,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,timelineCoords:t.timelineCoords,onHeightChange:e.handleHeightChange,resourceId:t.resource.id})))})))},t}(v.H6J);function St(e){return{resource:new Ve(e.context,e.resource)}}var Dt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.props.renderingHooks,r={groupValue:t.groupValue,view:this.context.viewApi};return(0,v.azq)("tr",{ref:t.elRef},(0,v.azq)(v.QJ3,{hookProps:r,classNames:n.laneClassNames,content:n.laneContent,didMount:n.laneDidMount,willUnmount:n.laneWillUnmount},(function(n,r,o,i){return(0,v.azq)("td",{ref:n,className:["fc-timeline-lane","fc-resource-group",e.context.theme.getClass("tableCellShaded")].concat(r).join(" ")},(0,v.azq)("div",{style:{height:t.innerHeight},ref:o},i))})))},t}(v.H6J),Rt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.rowElRefs,r=e.innerHeights;return(0,v.azq)("tbody",null,e.rowNodes.map((function(o,i){if(o.group)return(0,v.azq)(Dt,{key:o.id,elRef:n.createRef(o.id),groupValue:o.group.value,renderingHooks:o.group.spec,innerHeight:r[i]||""});if(o.resource){var a=o.resource;return(0,v.azq)(wt,(0,b.pi)({key:o.id,elRef:n.createRef(o.id)},e.splitProps[a.id],{resource:a,dateProfile:e.dateProfile,tDateProfile:e.tDateProfile,nowDate:e.nowDate,todayRange:e.todayRange,nextDayThreshold:t.options.nextDayThreshold,businessHours:a.businessHours||e.fallbackBusinessHours,innerHeight:r[i]||"",timelineCoords:e.slatCoords,onHeightChange:e.onRowHeightChange}))}return null})))},t}(v.H6J),Bt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,v.VfA)(),t.rowElRefs=new v.lAU,t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,v.azq)("table",{ref:this.rootElRef,"aria-hidden":!0,className:"fc-scrollgrid-sync-table "+t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},(0,v.azq)(Rt,{rowElRefs:this.rowElRefs,rowNodes:e.rowNodes,dateProfile:e.dateProfile,tDateProfile:e.tDateProfile,nowDate:e.nowDate,todayRange:e.todayRange,splitProps:e.splitProps,fallbackBusinessHours:e.fallbackBusinessHours,slatCoords:e.slatCoords,innerHeights:e.innerHeights,onRowHeightChange:e.onRowHeightChange}))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.componentWillUnmount=function(){this.props.onRowCoords&&this.props.onRowCoords(null)},t.prototype.updateCoords=function(){var e,t=this.props;t.onRowCoords&&null!==t.clientWidth&&this.props.onRowCoords(new v.zIV(this.rootElRef.current,(e=this.rowElRefs.currentMap,t.rowNodes.map((function(t){return e[t.id]}))),!1,!0))},t}(v.H6J);var It=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeHasResourceBusinessHours=(0,v.HPs)(xt),t.resourceSplitter=new je,t.bgSlicer=new he,t.slatsRef=(0,v.VfA)(),t.state={slatCoords:null},t.handleEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t.handleSlatCoords=function(e){t.setState({slatCoords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t.handleRowCoords=function(e){t.rowCoords=e,t.props.onRowCoords&&t.props.onRowCoords(e)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=n.dateProfile,a=n.tDateProfile,s=(0,v.NTx)(a.slotDuration).unit,l=this.computeHasResourceBusinessHours(n.rowNodes),c=this.resourceSplitter.splitProps(n),u=c[""],d=this.bgSlicer.sliceProps(u,i,a.isTimeScale?null:n.nextDayThreshold,o,i,o.dateProfileGenerator,a,o.dateEnv),f=r.slatCoords&&r.slatCoords.dateProfile===n.dateProfile?r.slatCoords:null;return(0,v.azq)("div",{ref:this.handleEl,className:["fc-timeline-body",n.expandRows?"fc-timeline-body-expandrows":""].join(" "),style:{minWidth:n.tableMinWidth}},(0,v.azq)(v.wh8,{unit:s},(function(t,r){return(0,v.azq)(v.HYg,null,(0,v.azq)(de,{ref:e.slatsRef,dateProfile:i,tDateProfile:a,nowDate:t,todayRange:r,clientWidth:n.clientWidth,tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,onCoords:e.handleSlatCoords,onScrollLeftRequest:n.onScrollLeftRequest}),(0,v.azq)(pe,{businessHourSegs:l?null:d.businessHourSegs,bgEventSegs:d.bgEventSegs,timelineCoords:f,eventResizeSegs:d.eventResize?d.eventResize.segs:[],dateSelectionSegs:d.dateSelectionSegs,nowDate:t,todayRange:r}),(0,v.azq)(Bt,{rowNodes:n.rowNodes,dateProfile:i,tDateProfile:n.tDateProfile,nowDate:t,todayRange:r,splitProps:c,fallbackBusinessHours:l?n.businessHours:null,clientWidth:n.clientWidth,minHeight:n.expandRows?n.clientHeight:"",tableMinWidth:n.tableMinWidth,innerHeights:n.rowInnerHeights,slatCoords:f,onRowCoords:e.handleRowCoords,onRowHeightChange:n.onRowHeightChange}),o.options.nowIndicator&&f&&f.isDateInRange(t)&&(0,v.azq)("div",{className:"fc-timeline-now-indicator-container"},(0,v.azq)(v.AOy,{isAxis:!1,date:t},(function(e,n,r,i){return(0,v.azq)("div",{ref:e,className:["fc-timeline-now-indicator-line"].concat(n).join(" "),style:ae(f.dateToCoord(t),o.isRtl)},i)}))))})))},t.prototype.queryHit=function(e,t){var n=this.rowCoords,r=n.topToIndex(t);if(null!=r){var o=this.props.rowNodes[r].resource;if(o){var i=this.slatsRef.current.positionToHit(e);if(i)return{dateProfile:this.props.dateProfile,dateSpan:{range:i.dateSpan.range,allDay:i.dateSpan.allDay,resourceId:o.id},rect:{left:i.left,right:i.right,top:n.tops[r],bottom:n.bottoms[r]},dayEl:i.dayEl,layer:0}}}return null},t}(v.IdW);function xt(e){for(var t=0,n=e;t<n.length;t++){var r=n[t].resource;if(r&&r.businessHours)return!0}return!1}var kt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.scrollGridRef=(0,v.VfA)(),t.timeBodyScrollerElRef=(0,v.VfA)(),t.spreadsheetHeaderChunkElRef=(0,v.VfA)(),t.rootElRef=(0,v.VfA)(),t.ensureScrollGridResizeId=0,t.state={resourceAreaWidthOverride:null},t.ensureScrollGridResize=function(){t.ensureScrollGridResizeId&&clearTimeout(t.ensureScrollGridResizeId),t.ensureScrollGridResizeId=setTimeout((function(){t.scrollGridRef.current.handleSizing(!1)}),v.vc.SCROLLGRID_RESIZE_INTERVAL+1)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=r.options,i=!t.forPrint&&(0,v.Q8U)(o),a=!t.forPrint&&(0,v.PZw)(o),s=[{type:"header",key:"header",syncRowHeights:!0,isSticky:i,chunks:[{key:"datagrid",elRef:this.spreadsheetHeaderChunkElRef,tableClassName:"fc-datagrid-header",rowContent:t.spreadsheetHeaderRows},{key:"divider",outerContent:(0,v.azq)("td",{role:"presentation",className:"fc-resource-timeline-divider "+r.theme.getClass("tableCellShaded")})},{key:"timeline",content:t.timeHeaderContent}]},{type:"body",key:"body",syncRowHeights:!0,liquid:!0,expandRows:Boolean(o.expandRows),chunks:[{key:"datagrid",tableClassName:"fc-datagrid-body",rowContent:t.spreadsheetBodyRows},{key:"divider",outerContent:(0,v.azq)("td",{role:"presentation",className:"fc-resource-timeline-divider "+r.theme.getClass("tableCellShaded")})},{key:"timeline",scrollerElRef:this.timeBodyScrollerElRef,content:t.timeBodyContent}]}];a&&s.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"datagrid",content:v.Hbc},{key:"divider",outerContent:(0,v.azq)("td",{role:"presentation",className:"fc-resource-timeline-divider "+r.theme.getClass("tableCellShaded")})},{key:"timeline",content:v.Hbc}]});var l=null!=n.resourceAreaWidthOverride?n.resourceAreaWidthOverride:o.resourceAreaWidth;return(0,v.azq)(z,{ref:this.scrollGridRef,elRef:this.rootElRef,liquid:!t.isHeightAuto&&!t.forPrint,collapsibleWidth:!1,colGroups:[{cols:t.spreadsheetCols,width:l},{cols:[]},{cols:t.timeCols}],sections:s})},t.prototype.forceTimeScroll=function(e){this.scrollGridRef.current.forceScrollLeft(2,e)},t.prototype.forceResourceScroll=function(e){this.scrollGridRef.current.forceScrollTop(1,e)},t.prototype.getResourceScroll=function(){return this.timeBodyScrollerElRef.current.scrollTop},t.prototype.componentDidMount=function(){this.initSpreadsheetResizing()},t.prototype.componentWillUnmount=function(){this.destroySpreadsheetResizing()},t.prototype.initSpreadsheetResizing=function(){var e=this,t=this.context,n=t.isRtl,r=t.pluginHooks.elementDraggingImpl,o=this.spreadsheetHeaderChunkElRef.current;if(r){var i,a,s=this.rootElRef.current,l=this.spreadsheetResizerDragging=new r(s,".fc-resource-timeline-divider");l.emitter.on("dragstart",(function(){i=o.getBoundingClientRect().width,a=s.getBoundingClientRect().width})),l.emitter.on("dragmove",(function(t){var r=i+t.deltaX*(n?-1:1);r=Math.max(r,30),r=Math.min(r,a-30),e.setState({resourceAreaWidthOverride:r},e.ensureScrollGridResize)})),l.setAutoScrollEnabled(!1)}},t.prototype.destroySpreadsheetResizing=function(){this.spreadsheetResizerDragging&&this.spreadsheetResizerDragging.destroy()},t}(v.H6J),Tt=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.processColOptions=(0,v.HPs)(Pt),r.buildTimelineDateProfile=(0,v.HPs)(Z),r.hasNesting=(0,v.HPs)(Ht),r.buildRowNodes=(0,v.HPs)(it),r.layoutRef=(0,v.VfA)(),r.rowNodes=[],r.renderedRowNodes=[],r.buildRowIndex=(0,v.HPs)(Mt),r.handleSlatCoords=function(e){r.setState({slatCoords:e})},r.handleRowCoords=function(e){r.rowCoords=e,r.scrollResponder.update(!1)},r.handleMaxCushionWidth=function(e){r.setState({slotCushionMaxWidth:Math.ceil(e)})},r.handleScrollLeftRequest=function(e){r.layoutRef.current.forceTimeScroll(e)},r.handleScrollRequest=function(e){var t=r.rowCoords,n=r.layoutRef.current,o=e.rowId||e.resourceId;if(t){if(o){var i=r.buildRowIndex(r.renderedRowNodes)[o];if(null!=i){var a=null!=e.fromBottom?t.bottoms[i]-e.fromBottom:t.tops[i];n.forceResourceScroll(a)}}return!0}return null},r.handleColWidthChange=function(e){r.setState({spreadsheetColWidths:e})},r.state={resourceAreaWidth:n.options.resourceAreaWidth,spreadsheetColWidths:[]},r}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=o.options,a=o.viewSpec,s=this.processColOptions(o.options),l=s.superHeaderRendering,c=s.groupSpecs,u=s.orderSpecs,d=s.isVGrouping,f=s.colSpecs,p=this.buildTimelineDateProfile(n.dateProfile,o.dateEnv,i,o.dateProfileGenerator),h=this.rowNodes=this.buildRowNodes(n.resourceStore,c,u,d,n.resourceEntityExpansions,i.resourcesInitiallyExpanded),g=["fc-resource-timeline",this.hasNesting(h)?"":"fc-resource-timeline-flat","fc-timeline",!1===i.eventOverlap?"fc-timeline-overlap-disabled":"fc-timeline-overlap-enabled"],A=i.slotMinWidth,m=Ee(p,A||this.computeFallbackSlotMinWidth(p));return(0,v.azq)(v.xS$,{viewSpec:a},(function(t,i){return(0,v.azq)("div",{ref:t,className:g.concat(i).join(" ")},(0,v.azq)(kt,{ref:e.layoutRef,forPrint:n.forPrint,isHeightAuto:n.isHeightAuto,spreadsheetCols:zt(f,r.spreadsheetColWidths,""),spreadsheetHeaderRows:function(t){return(0,v.azq)(Et,{superHeaderRendering:l,colSpecs:f,onColWidthChange:e.handleColWidthChange,rowInnerHeights:t.rowSyncHeights})},spreadsheetBodyRows:function(t){return(0,v.azq)(v.HYg,null,e.renderSpreadsheetRows(h,f,t.rowSyncHeights))},timeCols:m,timeHeaderContent:function(t){return(0,v.azq)(le,{clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,dateProfile:n.dateProfile,tDateProfile:p,slatCoords:r.slatCoords,rowInnerHeights:t.rowSyncHeights,onMaxCushionWidth:A?null:e.handleMaxCushionWidth})},timeBodyContent:function(t){return(0,v.azq)(It,{dateProfile:n.dateProfile,clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,expandRows:t.expandRows,tDateProfile:p,rowNodes:h,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,resourceStore:n.resourceStore,nextDayThreshold:o.options.nextDayThreshold,rowInnerHeights:t.rowSyncHeights,onSlatCoords:e.handleSlatCoords,onRowCoords:e.handleRowCoords,onScrollLeftRequest:e.handleScrollLeftRequest,onRowHeightChange:t.reportRowHeightChange})}}))}))},t.prototype.renderSpreadsheetRows=function(e,t,n){return e.map((function(e,r){return e.group?(0,v.azq)(yt,{key:e.id,id:e.id,spreadsheetColCnt:t.length,isExpanded:e.isExpanded,group:e.group,innerHeight:n[r]||""}):e.resource?(0,v.azq)(mt,{key:e.id,colSpecs:t,rowSpans:e.rowSpans,depth:e.depth,isExpanded:e.isExpanded,hasChildren:e.hasChildren,resource:e.resource,innerHeight:n[r]||""}):null}))},t.prototype.componentDidMount=function(){this.renderedRowNodes=this.rowNodes,this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.getSnapshotBeforeUpdate=function(){return this.props.forPrint?{}:{resourceScroll:this.queryResourceScroll()}},t.prototype.componentDidUpdate=function(e,t,n){this.renderedRowNodes=this.rowNodes,this.scrollResponder.update(e.dateProfile!==this.props.dateProfile),n.resourceScroll&&this.handleScrollRequest(n.resourceScroll)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.computeFallbackSlotMinWidth=function(e){return Math.max(30,(this.state.slotCushionMaxWidth||0)/e.slotsPerLabel)},t.prototype.queryResourceScroll=function(){var e=this.rowCoords,t=this.renderedRowNodes;if(e){for(var n=this.layoutRef.current,r=e.bottoms,o=n.getResourceScroll(),i={},a=0;a<r.length;a+=1){var s=t[a],l=r[a]-o;if(l>0){i.rowId=s.id,i.fromBottom=l;break}}return i}return null},t}(v.H6J);function Mt(e){for(var t={},n=0;n<e.length;n+=1)t[e[n].id]=n;return t}function zt(e,t,n){return void 0===n&&(n=""),e.map((function(e,r){return{className:e.isMain?"fc-main-col":"",width:t[r]||e.width||n}}))}function Ht(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];if(r.group)return!0;if(r.resource&&r.hasChildren)return!0}return!1}function Pt(e){var t=e.resourceAreaColumns||[],n=null;t.length?e.resourceAreaHeaderContent&&(n={headerClassNames:e.resourceAreaHeaderClassNames,headerContent:e.resourceAreaHeaderContent,headerDidMount:e.resourceAreaHeaderDidMount,headerWillUnmount:e.resourceAreaHeaderWillUnmount}):t.push({headerClassNames:e.resourceAreaHeaderClassNames,headerContent:e.resourceAreaHeaderContent||"Resources",headerDidMount:e.resourceAreaHeaderDidMount,headerWillUnmount:e.resourceAreaHeaderWillUnmount});for(var r=[],o=[],i=[],a=!1,s=0,l=t;s<l.length;s++){var c=l[s];c.group?o.push((0,b.pi)((0,b.pi)({},c),{cellClassNames:c.cellClassNames||e.resourceGroupLabelClassNames,cellContent:c.cellContent||e.resourceGroupLabelContent,cellDidMount:c.cellDidMount||e.resourceGroupLabelDidMount,cellWillUnmount:c.cellWillUnmount||e.resourceGroupLaneWillUnmount})):r.push(c)}var u=r[0];if(u.isMain=!0,u.cellClassNames=u.cellClassNames||e.resourceLabelClassNames,u.cellContent=u.cellContent||e.resourceLabelContent,u.cellDidMount=u.cellDidMount||e.resourceLabelDidMount,u.cellWillUnmount=u.cellWillUnmount||e.resourceLabelWillUnmount,o.length)i=o,a=!0;else{var d=e.resourceGroupField;d&&i.push({field:d,labelClassNames:e.resourceGroupLabelClassNames,labelContent:e.resourceGroupLabelContent,labelDidMount:e.resourceGroupLabelDidMount,labelWillUnmount:e.resourceGroupLabelWillUnmount,laneClassNames:e.resourceGroupLaneClassNames,laneContent:e.resourceGroupLaneContent,laneDidMount:e.resourceGroupLaneDidMount,laneWillUnmount:e.resourceGroupLaneWillUnmount})}for(var f=[],p=0,h=e.resourceOrder||Qe;p<h.length;p++){for(var g=h[p],A=!1,v=0,m=i;v<m.length;v++){var y=m[v];if(y.field===g.field){y.order=g.order,A=!0;break}}A||f.push(g)}return{superHeaderRendering:n,isVGrouping:a,groupSpecs:i,colSpecs:o.concat(r),orderSpecs:f}}Tt.addStateEquality({spreadsheetColWidths:v.CnA});const Nt=(0,v.rxu)({deps:[m.Z,ut,be],initialView:"resourceTimelineDay",views:{resourceTimeline:{type:"timeline",component:Tt,needsResourceData:!0,resourceAreaWidth:"30%",resourcesInitiallyExpanded:!0,eventResizableFromStart:!0},resourceTimelineDay:{type:"resourceTimeline",duration:{days:1}},resourceTimelineWeek:{type:"resourceTimeline",duration:{weeks:1}},resourceTimelineMonth:{type:"resourceTimeline",duration:{months:1}},resourceTimelineYear:{type:"resourceTimeline",duration:{years:1}}}})},81959:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"\n\n .fc .fc-event,\n .fc .fc-scrollgrid table tr {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n }\n\n.fc-media-print {\n display: block; /* undo flexbox. FF doesn't know how to flow */\n max-width: 100% /* width will be hardcoded too */\n}\n\n.fc-media-print .fc-timegrid-slots,\n .fc-media-print .fc-timegrid-axis-chunk,\n .fc-media-print .fc-timeline-slots,\n .fc-media-print .fc-non-business,\n .fc-media-print .fc-bg-event {\n display: none;\n }\n\n.fc-media-print .fc-toolbar button,\n .fc-media-print .fc-h-event,\n .fc-media-print .fc-v-event {\n color: #000 !important;\n background: #fff !important;\n }\n\n.fc-media-print .fc-event,\n .fc-media-print .fc-event-main { /* often controls the text-color */\n color: #000 !important;\n }\n\n.fc-media-print .fc-timegrid-event {\n margin: 0.5em 0;\n }\n","",{version:3,sources:["webpack://./node_modules/@fullcalendar/adaptive/main.css"],names:[],mappings:";;EAEE;;IAEE,+BAA+B;SAC1B,mBAAmB;EAC1B;;AAEF;EACE,cAAc,EAAE,8CAA8C;EAC9D,cAAc,EAAE,gCAAgC;AAClD;;AAEA;;;;;IAKI,aAAa;EACf;;AAEF;;;IAGI,sBAAsB;IACtB,2BAA2B;EAC7B;;AAEF;mCACmC,kCAAkC;IACjE,sBAAsB;EACxB;;AAEF;IACI,eAAe;EACjB",sourcesContent:["\n\n .fc .fc-event,\n .fc .fc-scrollgrid table tr {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n }\n\n.fc-media-print {\n display: block; /* undo flexbox. FF doesn't know how to flow */\n max-width: 100% /* width will be hardcoded too */\n}\n\n.fc-media-print .fc-timegrid-slots,\n .fc-media-print .fc-timegrid-axis-chunk,\n .fc-media-print .fc-timeline-slots,\n .fc-media-print .fc-non-business,\n .fc-media-print .fc-bg-event {\n display: none;\n }\n\n.fc-media-print .fc-toolbar button,\n .fc-media-print .fc-h-event,\n .fc-media-print .fc-v-event {\n color: #000 !important;\n background: #fff !important;\n }\n\n.fc-media-print .fc-event,\n .fc-media-print .fc-event-main { /* often controls the text-color */\n color: #000 !important;\n }\n\n.fc-media-print .fc-timegrid-event {\n margin: 0.5em 0;\n }\n"],sourceRoot:""}]);const s=a},46:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i),s=n(61667),l=n.n(s),c=new URL(n(85042),n.b),u=a()(o()),d=l()(c);u.push([e.id,"\n/* classes attached to <body> */\n/* TODO: make fc-event selector work when calender in shadow DOM */\n.fc-not-allowed,\n.fc-not-allowed .fc-event { /* override events' custom cursors */\n cursor: not-allowed;\n}\n\n/* TODO: not attached to body. attached to specific els. move */\n.fc-unselectable {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.fc {\n /* layout of immediate children */\n display: flex;\n flex-direction: column;\n\n font-size: 1em\n}\n.fc,\n .fc *,\n .fc *:before,\n .fc *:after {\n box-sizing: border-box;\n }\n.fc table {\n border-collapse: collapse;\n border-spacing: 0;\n font-size: 1em; /* normalize cross-browser */\n }\n.fc th {\n text-align: center;\n }\n.fc th,\n .fc td {\n vertical-align: top;\n padding: 0;\n }\n.fc a[data-navlink] {\n cursor: pointer;\n }\n.fc a[data-navlink]:hover {\n text-decoration: underline;\n }\n.fc-direction-ltr {\n direction: ltr;\n text-align: left;\n}\n.fc-direction-rtl {\n direction: rtl;\n text-align: right;\n}\n.fc-theme-standard td,\n .fc-theme-standard th {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n }\n/* for FF, which doesn't expand a 100% div within a table cell. use absolute positioning */\n/* inner-wrappers are responsible for being absolute */\n/* TODO: best place for this? */\n.fc-liquid-hack td,\n .fc-liquid-hack th {\n position: relative;\n }\n\n@font-face {\n font-family: 'fcicons';\n src: url("+d+') format(\'truetype\');\n font-weight: normal;\n font-style: normal;\n}\n\n.fc-icon {\n /* added for fc */\n display: inline-block;\n width: 1em;\n height: 1em;\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'fcicons\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.fc-icon-chevron-left:before {\n content: "\\e900";\n}\n\n.fc-icon-chevron-right:before {\n content: "\\e901";\n}\n\n.fc-icon-chevrons-left:before {\n content: "\\e902";\n}\n\n.fc-icon-chevrons-right:before {\n content: "\\e903";\n}\n\n.fc-icon-minus-square:before {\n content: "\\e904";\n}\n\n.fc-icon-plus-square:before {\n content: "\\e905";\n}\n\n.fc-icon-x:before {\n content: "\\e906";\n}\n/*\nLots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css\n\nThese styles only apply when the standard-theme is activated.\nWhen it\'s NOT activated, the fc-button classes won\'t even be in the DOM.\n*/\n.fc {\n\n /* reset */\n\n}\n.fc .fc-button {\n border-radius: 0;\n overflow: visible;\n text-transform: none;\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n }\n.fc .fc-button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n.fc .fc-button {\n -webkit-appearance: button;\n }\n.fc .fc-button:not(:disabled) {\n cursor: pointer;\n }\n.fc .fc-button::-moz-focus-inner {\n padding: 0;\n border-style: none;\n }\n.fc {\n\n /* theme */\n\n}\n.fc .fc-button {\n display: inline-block;\n font-weight: 400;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border: 1px solid transparent;\n padding: 0.4em 0.65em;\n font-size: 1em;\n line-height: 1.5;\n border-radius: 0.25em;\n }\n.fc .fc-button:hover {\n text-decoration: none;\n }\n.fc .fc-button:focus {\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);\n }\n.fc .fc-button:disabled {\n opacity: 0.65;\n }\n.fc {\n\n /* "primary" coloring */\n\n}\n.fc .fc-button-primary {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50);\n }\n.fc .fc-button-primary:hover {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1e2b37;\n background-color: var(--fc-button-hover-bg-color, #1e2b37);\n border-color: #1a252f;\n border-color: var(--fc-button-hover-border-color, #1a252f);\n }\n.fc .fc-button-primary:disabled { /* not DRY */\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50); /* overrides :hover */\n }\n.fc .fc-button-primary:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc .fc-button-primary:not(:disabled):active,\n .fc .fc-button-primary:not(:disabled).fc-button-active {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1a252f;\n background-color: var(--fc-button-active-bg-color, #1a252f);\n border-color: #151e27;\n border-color: var(--fc-button-active-border-color, #151e27);\n }\n.fc .fc-button-primary:not(:disabled):active:focus,\n .fc .fc-button-primary:not(:disabled).fc-button-active:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc {\n\n /* icons within buttons */\n\n}\n.fc .fc-button .fc-icon {\n vertical-align: middle;\n font-size: 1.5em; /* bump up the size (but don\'t make it bigger than line-height of button, which is 1.5em also) */\n }\n.fc .fc-button-group {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n }\n.fc .fc-button-group > .fc-button {\n position: relative;\n flex: 1 1 auto;\n }\n.fc .fc-button-group > .fc-button:hover {\n z-index: 1;\n }\n.fc .fc-button-group > .fc-button:focus,\n .fc .fc-button-group > .fc-button:active,\n .fc .fc-button-group > .fc-button.fc-button-active {\n z-index: 1;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {\n margin-right: -1px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc .fc-toolbar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n.fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: 1.5em;\n }\n.fc .fc-toolbar.fc-footer-toolbar {\n margin-top: 1.5em;\n }\n.fc .fc-toolbar-title {\n font-size: 1.75em;\n margin: 0;\n }\n.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {\n margin-left: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar > * > :not(:first-child) {\n margin-right: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar-ltr { /* when the toolbar-chunk positioning system is explicitly left-to-right */\n flex-direction: row-reverse;\n }\n.fc .fc-scroller {\n -webkit-overflow-scrolling: touch;\n position: relative; /* for abs-positioned elements within */\n }\n.fc .fc-scroller-liquid {\n height: 100%;\n }\n.fc .fc-scroller-liquid-absolute {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n }\n.fc .fc-scroller-harness {\n position: relative;\n overflow: hidden;\n direction: ltr;\n /* hack for chrome computing the scroller\'s right/left wrong for rtl. undone below... */\n /* TODO: demonstrate in codepen */\n }\n.fc .fc-scroller-harness-liquid {\n height: 100%;\n }\n.fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */\n direction: rtl;\n }\n.fc-theme-standard .fc-scrollgrid {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd); /* bootstrap does this. match */\n }\n.fc .fc-scrollgrid,\n .fc .fc-scrollgrid table { /* all tables (self included) */\n width: 100%; /* because tables don\'t normally do this */\n table-layout: fixed;\n }\n.fc .fc-scrollgrid table { /* inner tables */\n border-top-style: hidden;\n border-left-style: hidden;\n border-right-style: hidden;\n }\n.fc .fc-scrollgrid {\n\n border-collapse: separate;\n border-right-width: 0;\n border-bottom-width: 0;\n\n }\n.fc .fc-scrollgrid-liquid {\n height: 100%;\n }\n.fc .fc-scrollgrid-section { /* a <tr> */\n height: 1px /* better than 0, for firefox */\n\n }\n.fc .fc-scrollgrid-section > td {\n height: 1px; /* needs a height so inner div within grow. better than 0, for firefox */\n }\n.fc .fc-scrollgrid-section table {\n height: 1px;\n /* for most browsers, if a height isn\'t set on the table, can\'t do liquid-height within cells */\n /* serves as a min-height. harmless */\n }\n.fc .fc-scrollgrid-section-liquid > td {\n height: 100%; /* better than `auto`, for firefox */\n }\n.fc .fc-scrollgrid-section > * {\n border-top-width: 0;\n border-left-width: 0;\n }\n.fc .fc-scrollgrid-section-header > *,\n .fc .fc-scrollgrid-section-footer > * {\n border-bottom-width: 0;\n }\n.fc .fc-scrollgrid-section-body table,\n .fc .fc-scrollgrid-section-footer table {\n border-bottom-style: hidden; /* head keeps its bottom border tho */\n }\n.fc {\n\n /* stickiness */\n\n}\n.fc .fc-scrollgrid-section-sticky > * {\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n position: sticky;\n z-index: 3; /* TODO: var */\n /* TODO: box-shadow when sticking */\n }\n.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {\n top: 0; /* because border-sharing causes a gap at the top */\n /* TODO: give safari -1. has bug */\n }\n.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky > * {\n bottom: 0; /* known bug: bottom-stickiness doesn\'t work in safari */\n }\n.fc .fc-scrollgrid-sticky-shim { /* for horizontal scrollbar */\n height: 1px; /* needs height to create scrollbars */\n margin-bottom: -1px;\n }\n.fc-sticky { /* no .fc wrap because used as child of body */\n position: sticky;\n}\n.fc .fc-view-harness {\n flex-grow: 1; /* because this harness is WITHIN the .fc\'s flexbox */\n position: relative;\n }\n.fc {\n\n /* when the harness controls the height, make the view liquid */\n\n}\n.fc .fc-view-harness-active > .fc-view {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc .fc-col-header-cell-cushion {\n display: inline-block; /* x-browser for when sticky (when multi-tier header) */\n padding: 2px 4px;\n }\n.fc .fc-bg-event,\n .fc .fc-non-business,\n .fc .fc-highlight {\n /* will always have a harness with position:relative/absolute, so absolutely expand */\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc .fc-non-business {\n background: rgba(215, 215, 215, 0.3);\n background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));\n }\n.fc .fc-bg-event {\n background: rgb(143, 223, 130);\n background: var(--fc-bg-event-color, rgb(143, 223, 130));\n opacity: 0.3;\n opacity: var(--fc-bg-event-opacity, 0.3)\n }\n.fc .fc-bg-event .fc-event-title {\n margin: .5em;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n font-style: italic;\n }\n.fc .fc-highlight {\n background: rgba(188, 232, 241, 0.3);\n background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));\n }\n.fc .fc-cell-shaded,\n .fc .fc-day-disabled {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n/* link resets */\n/* ---------------------------------------------------------------------------------------------------- */\na.fc-event,\na.fc-event:hover {\n text-decoration: none;\n}\n/* cursor */\n.fc-event[href],\n.fc-event.fc-event-draggable {\n cursor: pointer;\n}\n/* event text content */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event .fc-event-main {\n position: relative;\n z-index: 2;\n }\n/* dragging */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-dragging:not(.fc-event-selected) { /* MOUSE */\n opacity: 0.75;\n }\n.fc-event-dragging.fc-event-selected { /* TOUCH */\n box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);\n }\n/* resizing */\n/* ---------------------------------------------------------------------------------------------------- */\n/* (subclasses should hone positioning for touch and non-touch) */\n.fc-event .fc-event-resizer {\n display: none;\n position: absolute;\n z-index: 4;\n }\n.fc-event:hover, /* MOUSE */\n.fc-event-selected { /* TOUCH */\n\n}\n.fc-event:hover .fc-event-resizer, .fc-event-selected .fc-event-resizer {\n display: block;\n }\n.fc-event-selected .fc-event-resizer {\n border-radius: 4px;\n border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);\n border-width: 1px;\n border-width: var(--fc-event-resizer-dot-border-width, 1px);\n width: 8px;\n width: var(--fc-event-resizer-dot-total-width, 8px);\n height: 8px;\n height: var(--fc-event-resizer-dot-total-width, 8px);\n border-style: solid;\n border-color: inherit;\n background: #fff;\n background: var(--fc-page-bg-color, #fff)\n\n /* expand hit area */\n\n }\n.fc-event-selected .fc-event-resizer:before {\n content: \'\';\n position: absolute;\n top: -20px;\n left: -20px;\n right: -20px;\n bottom: -20px;\n }\n/* selecting (always TOUCH) */\n/* OR, focused by tab-index */\n/* (TODO: maybe not the best focus-styling for .fc-daygrid-dot-event) */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-selected,\n.fc-event:focus {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)\n\n /* expand hit area (subclasses should expand) */\n\n}\n.fc-event-selected:before, .fc-event:focus:before {\n content: "";\n position: absolute;\n z-index: 3;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc-event-selected,\n.fc-event:focus {\n\n /* dimmer effect */\n\n}\n.fc-event-selected:after, .fc-event:focus:after {\n content: "";\n background: rgba(0, 0, 0, 0.25);\n background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n z-index: 1;\n\n /* assume there\'s a border on all sides. overcome it. */\n /* sometimes there\'s NOT a border, in which case the dimmer will go over */\n /* an adjacent border, which looks fine. */\n top: -1px;\n left: -1px;\n right: -1px;\n bottom: -1px;\n }\n/*\nA HORIZONTAL event\n*/\n.fc-h-event { /* allowed to be top-level */\n display: block;\n border: 1px solid #3788d8;\n border: 1px solid var(--fc-event-border-color, #3788d8);\n background-color: #3788d8;\n background-color: var(--fc-event-bg-color, #3788d8)\n\n}\n.fc-h-event .fc-event-main {\n color: #fff;\n color: var(--fc-event-text-color, #fff);\n }\n.fc-h-event .fc-event-main-frame {\n display: flex; /* for make fc-event-title-container expand */\n }\n.fc-h-event .fc-event-time {\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event .fc-event-title-container { /* serves as a container for the sticky cushion */\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-h-event .fc-event-title {\n display: inline-block; /* need this to be sticky cross-browser */\n vertical-align: top; /* for not messing up line-height */\n left: 0; /* for sticky */\n right: 0; /* for sticky */\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event.fc-event-selected:before {\n /* expand hit area */\n top: -10px;\n bottom: -10px;\n }\n/* adjust border and border-radius (if there is any) for non-start/end */\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-left-width: 0;\n}\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right-width: 0;\n}\n/* resizers */\n.fc-h-event:not(.fc-event-selected) .fc-event-resizer {\n top: 0;\n bottom: 0;\n width: 8px;\n width: var(--fc-event-resizer-thickness, 8px);\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {\n cursor: w-resize;\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {\n cursor: e-resize;\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n/* resizers for TOUCH */\n.fc-h-event.fc-event-selected .fc-event-resizer {\n top: 50%;\n margin-top: -4px;\n margin-top: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc .fc-popover {\n position: absolute;\n z-index: 9999;\n box-shadow: 0 2px 6px rgba(0,0,0,.15);\n }\n.fc .fc-popover-header {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 3px 4px;\n }\n.fc .fc-popover-title {\n margin: 0 2px;\n }\n.fc .fc-popover-close {\n cursor: pointer;\n opacity: 0.65;\n font-size: 1.1em;\n }\n.fc-theme-standard .fc-popover {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n }\n.fc-theme-standard .fc-popover-header {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n',"",{version:3,sources:["webpack://./node_modules/@fullcalendar/common/main.css"],names:[],mappings:";AACA,+BAA+B;AAC/B,kEAAkE;AAClE;4BAC4B,oCAAoC;EAC9D,mBAAmB;AACrB;;AAEA,+DAA+D;AAC/D;EACE,yBAAyB;KACtB,sBAAsB;MACrB,qBAAqB;UACjB,iBAAiB;EACzB,2BAA2B;EAC3B,6CAA6C;AAC/C;AACA;EACE,iCAAiC;EACjC,aAAa;EACb,sBAAsB;;EAEtB;AACF;AACA;;;;IAII,sBAAsB;EACxB;AACF;IACI,yBAAyB;IACzB,iBAAiB;IACjB,cAAc,EAAE,4BAA4B;EAC9C;AACF;IACI,kBAAkB;EACpB;AACF;;IAEI,mBAAmB;IACnB,UAAU;EACZ;AACF;IACI,eAAe;EACjB;AACF;IACI,0BAA0B;EAC5B;AACF;EACE,cAAc;EACd,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;;IAEI,sBAAsB;IACtB,8CAA8C;EAChD;AACF,0FAA0F;AAC1F,sDAAsD;AACtD,+BAA+B;AAC/B;;IAEI,kBAAkB;EACpB;;AAEF;EACE,sBAAsB;EACtB,+DAA4mG;EAC5mG,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,iBAAiB;EACjB,qBAAqB;EACrB,UAAU;EACV,WAAW;EACX,kBAAkB;EAClB,yBAAyB;KACtB,sBAAsB;MACrB,qBAAqB;UACjB,iBAAiB;;EAEzB,+EAA+E;EAC/E,iCAAiC;EACjC,WAAW;EACX,kBAAkB;EAClB,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,cAAc;;EAEd,sCAAsC;EACtC,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;AACA;;;;;CAKC;AACD;;EAEE,UAAU;;AAEZ;AACA;IACI,gBAAgB;IAChB,iBAAiB;IACjB,oBAAoB;IACpB,SAAS;IACT,oBAAoB;IACpB,kBAAkB;IAClB,oBAAoB;EACtB;AACF;IACI,mBAAmB;IACnB,0CAA0C;EAC5C;AACF;IACI,0BAA0B;EAC5B;AACF;IACI,eAAe;EACjB;AACF;IACI,UAAU;IACV,kBAAkB;EACpB;AACF;;EAEE,UAAU;;AAEZ;AACA;IACI,qBAAqB;IACrB,gBAAgB;IAChB,kBAAkB;IAClB,sBAAsB;IACtB,yBAAyB;OACtB,sBAAsB;QACrB,qBAAqB;YACjB,iBAAiB;IACzB,6BAA6B;IAC7B,6BAA6B;IAC7B,qBAAqB;IACrB,cAAc;IACd,gBAAgB;IAChB,qBAAqB;EACvB;AACF;IACI,qBAAqB;EACvB;AACF;IACI,UAAU;IACV,+CAA+C;EACjD;AACF;IACI,aAAa;EACf;AACF;;EAEE,uBAAuB;;AAEzB;AACA;IACI,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,oDAAoD;IACpD,qBAAqB;IACrB,oDAAoD;EACtD;AACF;IACI,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,0DAA0D;IAC1D,qBAAqB;IACrB,0DAA0D;EAC5D;AACF,kCAAkC,YAAY;IAC1C,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,oDAAoD;IACpD,qBAAqB;IACrB,oDAAoD,EAAE,qBAAqB;EAC7E;AACF;IACI,+CAA+C;EACjD;AACF;;IAEI,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,2DAA2D;IAC3D,qBAAqB;IACrB,2DAA2D;EAC7D;AACF;;IAEI,+CAA+C;EACjD;AACF;;EAEE,yBAAyB;;AAE3B;AACA;IACI,sBAAsB;IACtB,gBAAgB,EAAE,gGAAgG;EACpH;AACF;IACI,kBAAkB;IAClB,oBAAoB;IACpB,sBAAsB;EACxB;AACF;IACI,kBAAkB;IAClB,cAAc;EAChB;AACF;IACI,UAAU;EACZ;AACF;;;IAGI,UAAU;EACZ;AACF;IACI,iBAAiB;IACjB,yBAAyB;IACzB,4BAA4B;EAC9B;AACF;IACI,0BAA0B;IAC1B,6BAA6B;EAC/B;AACF;IACI,kBAAkB;IAClB,0BAA0B;IAC1B,6BAA6B;EAC/B;AACF;IACI,yBAAyB;IACzB,4BAA4B;EAC9B;AACF;IACI,aAAa;IACb,8BAA8B;IAC9B,mBAAmB;EACrB;AACF;IACI,oBAAoB;EACtB;AACF;IACI,iBAAiB;EACnB;AACF;IACI,iBAAiB;IACjB,SAAS;EACX;AACF;IACI,kBAAkB,EAAE,kBAAkB;EACxC;AACF;IACI,mBAAmB,EAAE,kBAAkB;EACzC;AACF,oCAAoC,0EAA0E;IAC1G,2BAA2B;EAC7B;AACF;IACI,iCAAiC;IACjC,kBAAkB,EAAE,uCAAuC;EAC7D;AACF;IACI,YAAY;EACd;AACF;IACI,kBAAkB;IAClB,MAAM;IACN,QAAQ;IACR,OAAO;IACP,SAAS;EACX;AACF;IACI,kBAAkB;IAClB,gBAAgB;IAChB,cAAc;MACZ,uFAAuF;MACvF,iCAAiC;EACrC;AACF;IACI,YAAY;EACd;AACF,wDAAwD,oBAAoB;IACxE,cAAc;EAChB;AACF;IACI,sBAAsB;IACtB,8CAA8C,EAAE,+BAA+B;EACjF;AACF;+BAC+B,+BAA+B;MACxD,WAAW,EAAE,0CAA0C;MACvD,mBAAmB;IACrB;AACJ,2BAA2B,iBAAiB;MACtC,wBAAwB;MACxB,yBAAyB;MACzB,0BAA0B;IAC5B;AACJ;;IAEI,yBAAyB;IACzB,qBAAqB;IACrB,sBAAsB;;EAExB;AACF;IACI,YAAY;EACd;AACF,6BAA6B,WAAW;IACpC,UAAU,EAAE,+BAA+B;;EAE7C;AACF;MACM,WAAW,EAAE,wEAAwE;IACvF;AACJ;MACM,WAAW;QACT,+FAA+F;QAC/F,qCAAqC;IACzC;AACJ;MACM,YAAY,EAAE,oCAAoC;IACpD;AACJ;IACI,mBAAmB;IACnB,oBAAoB;EACtB;AACF;;IAEI,sBAAsB;EACxB;AACF;;IAEI,2BAA2B,EAAE,qCAAqC;EACpE;AACF;;EAEE,eAAe;;AAEjB;AACA;IACI,gBAAgB;IAChB,yCAAyC;IACzC,gBAAgB;IAChB,UAAU,EAAE,cAAc;IAC1B,mCAAmC;EACrC;AACF;IACI,MAAM,EAAE,mDAAmD;MACzD,kCAAkC;EACtC;AACF;IACI,SAAS,EAAE,wDAAwD;EACrE;AACF,iCAAiC,6BAA6B;IAC1D,WAAW,EAAE,sCAAsC;IACnD,mBAAmB;EACrB;AACF,aAAa,8CAA8C;EACzD,gBAAgB;AAClB;AACA;IACI,YAAY,EAAE,qDAAqD;IACnE,kBAAkB;EACpB;AACF;;EAEE,+DAA+D;;AAEjE;AACA;IACI,kBAAkB;IAClB,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;EACT;AACF;IACI,qBAAqB,EAAE,uDAAuD;IAC9E,gBAAgB;EAClB;AACF;;;IAGI,qFAAqF;IACrF,kBAAkB;IAClB,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;EACX;AACF;IACI,oCAAoC;IACpC,kEAAkE;EACpE;AACF;IACI,8BAA8B;IAC9B,wDAAwD;IACxD,YAAY;IACZ;EACF;AACF;MACM,YAAY;MACZ,gBAAgB;MAChB,2CAA2C;MAC3C,kBAAkB;IACpB;AACJ;IACI,oCAAoC;IACpC,+DAA+D;EACjE;AACF;;IAEI,oCAAoC;IACpC,gEAAgE;EAClE;AACF,gBAAgB;AAChB,yGAAyG;AACzG;;EAEE,qBAAqB;AACvB;AACA,WAAW;AACX;;EAEE,eAAe;AACjB;AACA,uBAAuB;AACvB,yGAAyG;AACzG;IACI,kBAAkB;IAClB,UAAU;EACZ;AACF,aAAa;AACb,yGAAyG;AACzG,6CAA6C,UAAU;IACnD,aAAa;EACf;AACF,uCAAuC,UAAU;IAC7C,wCAAwC;EAC1C;AACF,aAAa;AACb,yGAAyG;AACzG,iEAAiE;AACjE;IACI,aAAa;IACb,kBAAkB;IAClB,UAAU;EACZ;AACF;qBACqB,UAAU;;AAE/B;AACA;IACI,cAAc;EAChB;AACF;IACI,kBAAkB;IAClB,qEAAqE;IACrE,iBAAiB;IACjB,2DAA2D;IAC3D,UAAU;IACV,mDAAmD;IACnD,WAAW;IACX,oDAAoD;IACpD,mBAAmB;IACnB,qBAAqB;IACrB,gBAAgB;IAChB,wCAAwC;;IAExC,oBAAoB;;EAEtB;AACF;MACM,WAAW;MACX,kBAAkB;MAClB,UAAU;MACV,WAAW;MACX,YAAY;MACZ,aAAa;IACf;AACJ,6BAA6B;AAC7B,6BAA6B;AAC7B,uEAAuE;AACvE,yGAAyG;AACzG;;EAEE,uCAAuC;;EAEvC,+CAA+C;;AAEjD;AACA;IACI,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;EACX;AACF;;;EAGE,kBAAkB;;AAEpB;AACA;IACI,WAAW;IACX,+BAA+B;IAC/B,uEAAuE;IACvE,kBAAkB;IAClB,UAAU;;IAEV,uDAAuD;IACvD,0EAA0E;IAC1E,0CAA0C;IAC1C,SAAS;IACT,UAAU;IACV,WAAW;IACX,YAAY;EACd;AACF;;CAEC;AACD,cAAc,4BAA4B;EACxC,cAAc;EACd,yBAAyB;EACzB,uDAAuD;EACvD,yBAAyB;EACzB;;AAEF;AACA;IACI,WAAW;IACX,uCAAuC;EACzC;AACF;IACI,aAAa,EAAE,6CAA6C;EAC9D;AACF;IACI,eAAe,EAAE,kCAAkC;IACnD,gBAAgB;EAClB;AACF,wCAAwC,iDAAiD;IACrF,YAAY;IACZ,cAAc;IACd,YAAY,EAAE,iDAAiD;EACjE;AACF;IACI,qBAAqB,EAAE,yCAAyC;IAChE,mBAAmB,EAAE,mCAAmC;IACxD,OAAO,GAAG,eAAe;IACzB,QAAQ,EAAE,eAAe;IACzB,eAAe,EAAE,kCAAkC;IACnD,gBAAgB;EAClB;AACF;IACI,oBAAoB;IACpB,UAAU;IACV,aAAa;EACf;AACF,wEAAwE;AACxE;;EAEE,yBAAyB;EACzB,4BAA4B;EAC5B,oBAAoB;AACtB;AACA;;EAEE,0BAA0B;EAC1B,6BAA6B;EAC7B,qBAAqB;AACvB;AACA,aAAa;AACb;EACE,MAAM;EACN,SAAS;EACT,UAAU;EACV,6CAA6C;AAC/C;AACA;;EAEE,gBAAgB;EAChB,UAAU;EACV,yDAAyD;AAC3D;AACA;;EAEE,gBAAgB;EAChB,WAAW;EACX,0DAA0D;AAC5D;AACA,uBAAuB;AACvB;EACE,QAAQ;EACR,gBAAgB;EAChB,qEAAqE;AACvE;AACA;;EAEE,UAAU;EACV,+DAA+D;AACjE;AACA;;EAEE,WAAW;EACX,gEAAgE;AAClE;AACA;IACI,kBAAkB;IAClB,aAAa;IACb,qCAAqC;EACvC;AACF;IACI,aAAa;IACb,mBAAmB;IACnB,8BAA8B;IAC9B,mBAAmB;IACnB,gBAAgB;EAClB;AACF;IACI,aAAa;EACf;AACF;IACI,eAAe;IACf,aAAa;IACb,gBAAgB;EAClB;AACF;IACI,sBAAsB;IACtB,8CAA8C;IAC9C,gBAAgB;IAChB,yCAAyC;EAC3C;AACF;IACI,oCAAoC;IACpC,gEAAgE;EAClE",sourcesContent:['\n/* classes attached to <body> */\n/* TODO: make fc-event selector work when calender in shadow DOM */\n.fc-not-allowed,\n.fc-not-allowed .fc-event { /* override events\' custom cursors */\n cursor: not-allowed;\n}\n\n/* TODO: not attached to body. attached to specific els. move */\n.fc-unselectable {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.fc {\n /* layout of immediate children */\n display: flex;\n flex-direction: column;\n\n font-size: 1em\n}\n.fc,\n .fc *,\n .fc *:before,\n .fc *:after {\n box-sizing: border-box;\n }\n.fc table {\n border-collapse: collapse;\n border-spacing: 0;\n font-size: 1em; /* normalize cross-browser */\n }\n.fc th {\n text-align: center;\n }\n.fc th,\n .fc td {\n vertical-align: top;\n padding: 0;\n }\n.fc a[data-navlink] {\n cursor: pointer;\n }\n.fc a[data-navlink]:hover {\n text-decoration: underline;\n }\n.fc-direction-ltr {\n direction: ltr;\n text-align: left;\n}\n.fc-direction-rtl {\n direction: rtl;\n text-align: right;\n}\n.fc-theme-standard td,\n .fc-theme-standard th {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n }\n/* for FF, which doesn\'t expand a 100% div within a table cell. use absolute positioning */\n/* inner-wrappers are responsible for being absolute */\n/* TODO: best place for this? */\n.fc-liquid-hack td,\n .fc-liquid-hack th {\n position: relative;\n }\n\n@font-face {\n font-family: \'fcicons\';\n src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format(\'truetype\');\n font-weight: normal;\n font-style: normal;\n}\n\n.fc-icon {\n /* added for fc */\n display: inline-block;\n width: 1em;\n height: 1em;\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'fcicons\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.fc-icon-chevron-left:before {\n content: "\\e900";\n}\n\n.fc-icon-chevron-right:before {\n content: "\\e901";\n}\n\n.fc-icon-chevrons-left:before {\n content: "\\e902";\n}\n\n.fc-icon-chevrons-right:before {\n content: "\\e903";\n}\n\n.fc-icon-minus-square:before {\n content: "\\e904";\n}\n\n.fc-icon-plus-square:before {\n content: "\\e905";\n}\n\n.fc-icon-x:before {\n content: "\\e906";\n}\n/*\nLots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css\n\nThese styles only apply when the standard-theme is activated.\nWhen it\'s NOT activated, the fc-button classes won\'t even be in the DOM.\n*/\n.fc {\n\n /* reset */\n\n}\n.fc .fc-button {\n border-radius: 0;\n overflow: visible;\n text-transform: none;\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n }\n.fc .fc-button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n.fc .fc-button {\n -webkit-appearance: button;\n }\n.fc .fc-button:not(:disabled) {\n cursor: pointer;\n }\n.fc .fc-button::-moz-focus-inner {\n padding: 0;\n border-style: none;\n }\n.fc {\n\n /* theme */\n\n}\n.fc .fc-button {\n display: inline-block;\n font-weight: 400;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border: 1px solid transparent;\n padding: 0.4em 0.65em;\n font-size: 1em;\n line-height: 1.5;\n border-radius: 0.25em;\n }\n.fc .fc-button:hover {\n text-decoration: none;\n }\n.fc .fc-button:focus {\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);\n }\n.fc .fc-button:disabled {\n opacity: 0.65;\n }\n.fc {\n\n /* "primary" coloring */\n\n}\n.fc .fc-button-primary {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50);\n }\n.fc .fc-button-primary:hover {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1e2b37;\n background-color: var(--fc-button-hover-bg-color, #1e2b37);\n border-color: #1a252f;\n border-color: var(--fc-button-hover-border-color, #1a252f);\n }\n.fc .fc-button-primary:disabled { /* not DRY */\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50); /* overrides :hover */\n }\n.fc .fc-button-primary:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc .fc-button-primary:not(:disabled):active,\n .fc .fc-button-primary:not(:disabled).fc-button-active {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1a252f;\n background-color: var(--fc-button-active-bg-color, #1a252f);\n border-color: #151e27;\n border-color: var(--fc-button-active-border-color, #151e27);\n }\n.fc .fc-button-primary:not(:disabled):active:focus,\n .fc .fc-button-primary:not(:disabled).fc-button-active:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc {\n\n /* icons within buttons */\n\n}\n.fc .fc-button .fc-icon {\n vertical-align: middle;\n font-size: 1.5em; /* bump up the size (but don\'t make it bigger than line-height of button, which is 1.5em also) */\n }\n.fc .fc-button-group {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n }\n.fc .fc-button-group > .fc-button {\n position: relative;\n flex: 1 1 auto;\n }\n.fc .fc-button-group > .fc-button:hover {\n z-index: 1;\n }\n.fc .fc-button-group > .fc-button:focus,\n .fc .fc-button-group > .fc-button:active,\n .fc .fc-button-group > .fc-button.fc-button-active {\n z-index: 1;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {\n margin-right: -1px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc .fc-toolbar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n.fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: 1.5em;\n }\n.fc .fc-toolbar.fc-footer-toolbar {\n margin-top: 1.5em;\n }\n.fc .fc-toolbar-title {\n font-size: 1.75em;\n margin: 0;\n }\n.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {\n margin-left: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar > * > :not(:first-child) {\n margin-right: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar-ltr { /* when the toolbar-chunk positioning system is explicitly left-to-right */\n flex-direction: row-reverse;\n }\n.fc .fc-scroller {\n -webkit-overflow-scrolling: touch;\n position: relative; /* for abs-positioned elements within */\n }\n.fc .fc-scroller-liquid {\n height: 100%;\n }\n.fc .fc-scroller-liquid-absolute {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n }\n.fc .fc-scroller-harness {\n position: relative;\n overflow: hidden;\n direction: ltr;\n /* hack for chrome computing the scroller\'s right/left wrong for rtl. undone below... */\n /* TODO: demonstrate in codepen */\n }\n.fc .fc-scroller-harness-liquid {\n height: 100%;\n }\n.fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */\n direction: rtl;\n }\n.fc-theme-standard .fc-scrollgrid {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd); /* bootstrap does this. match */\n }\n.fc .fc-scrollgrid,\n .fc .fc-scrollgrid table { /* all tables (self included) */\n width: 100%; /* because tables don\'t normally do this */\n table-layout: fixed;\n }\n.fc .fc-scrollgrid table { /* inner tables */\n border-top-style: hidden;\n border-left-style: hidden;\n border-right-style: hidden;\n }\n.fc .fc-scrollgrid {\n\n border-collapse: separate;\n border-right-width: 0;\n border-bottom-width: 0;\n\n }\n.fc .fc-scrollgrid-liquid {\n height: 100%;\n }\n.fc .fc-scrollgrid-section { /* a <tr> */\n height: 1px /* better than 0, for firefox */\n\n }\n.fc .fc-scrollgrid-section > td {\n height: 1px; /* needs a height so inner div within grow. better than 0, for firefox */\n }\n.fc .fc-scrollgrid-section table {\n height: 1px;\n /* for most browsers, if a height isn\'t set on the table, can\'t do liquid-height within cells */\n /* serves as a min-height. harmless */\n }\n.fc .fc-scrollgrid-section-liquid > td {\n height: 100%; /* better than `auto`, for firefox */\n }\n.fc .fc-scrollgrid-section > * {\n border-top-width: 0;\n border-left-width: 0;\n }\n.fc .fc-scrollgrid-section-header > *,\n .fc .fc-scrollgrid-section-footer > * {\n border-bottom-width: 0;\n }\n.fc .fc-scrollgrid-section-body table,\n .fc .fc-scrollgrid-section-footer table {\n border-bottom-style: hidden; /* head keeps its bottom border tho */\n }\n.fc {\n\n /* stickiness */\n\n}\n.fc .fc-scrollgrid-section-sticky > * {\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n position: sticky;\n z-index: 3; /* TODO: var */\n /* TODO: box-shadow when sticking */\n }\n.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {\n top: 0; /* because border-sharing causes a gap at the top */\n /* TODO: give safari -1. has bug */\n }\n.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky > * {\n bottom: 0; /* known bug: bottom-stickiness doesn\'t work in safari */\n }\n.fc .fc-scrollgrid-sticky-shim { /* for horizontal scrollbar */\n height: 1px; /* needs height to create scrollbars */\n margin-bottom: -1px;\n }\n.fc-sticky { /* no .fc wrap because used as child of body */\n position: sticky;\n}\n.fc .fc-view-harness {\n flex-grow: 1; /* because this harness is WITHIN the .fc\'s flexbox */\n position: relative;\n }\n.fc {\n\n /* when the harness controls the height, make the view liquid */\n\n}\n.fc .fc-view-harness-active > .fc-view {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc .fc-col-header-cell-cushion {\n display: inline-block; /* x-browser for when sticky (when multi-tier header) */\n padding: 2px 4px;\n }\n.fc .fc-bg-event,\n .fc .fc-non-business,\n .fc .fc-highlight {\n /* will always have a harness with position:relative/absolute, so absolutely expand */\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc .fc-non-business {\n background: rgba(215, 215, 215, 0.3);\n background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));\n }\n.fc .fc-bg-event {\n background: rgb(143, 223, 130);\n background: var(--fc-bg-event-color, rgb(143, 223, 130));\n opacity: 0.3;\n opacity: var(--fc-bg-event-opacity, 0.3)\n }\n.fc .fc-bg-event .fc-event-title {\n margin: .5em;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n font-style: italic;\n }\n.fc .fc-highlight {\n background: rgba(188, 232, 241, 0.3);\n background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));\n }\n.fc .fc-cell-shaded,\n .fc .fc-day-disabled {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n/* link resets */\n/* ---------------------------------------------------------------------------------------------------- */\na.fc-event,\na.fc-event:hover {\n text-decoration: none;\n}\n/* cursor */\n.fc-event[href],\n.fc-event.fc-event-draggable {\n cursor: pointer;\n}\n/* event text content */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event .fc-event-main {\n position: relative;\n z-index: 2;\n }\n/* dragging */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-dragging:not(.fc-event-selected) { /* MOUSE */\n opacity: 0.75;\n }\n.fc-event-dragging.fc-event-selected { /* TOUCH */\n box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);\n }\n/* resizing */\n/* ---------------------------------------------------------------------------------------------------- */\n/* (subclasses should hone positioning for touch and non-touch) */\n.fc-event .fc-event-resizer {\n display: none;\n position: absolute;\n z-index: 4;\n }\n.fc-event:hover, /* MOUSE */\n.fc-event-selected { /* TOUCH */\n\n}\n.fc-event:hover .fc-event-resizer, .fc-event-selected .fc-event-resizer {\n display: block;\n }\n.fc-event-selected .fc-event-resizer {\n border-radius: 4px;\n border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);\n border-width: 1px;\n border-width: var(--fc-event-resizer-dot-border-width, 1px);\n width: 8px;\n width: var(--fc-event-resizer-dot-total-width, 8px);\n height: 8px;\n height: var(--fc-event-resizer-dot-total-width, 8px);\n border-style: solid;\n border-color: inherit;\n background: #fff;\n background: var(--fc-page-bg-color, #fff)\n\n /* expand hit area */\n\n }\n.fc-event-selected .fc-event-resizer:before {\n content: \'\';\n position: absolute;\n top: -20px;\n left: -20px;\n right: -20px;\n bottom: -20px;\n }\n/* selecting (always TOUCH) */\n/* OR, focused by tab-index */\n/* (TODO: maybe not the best focus-styling for .fc-daygrid-dot-event) */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-selected,\n.fc-event:focus {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)\n\n /* expand hit area (subclasses should expand) */\n\n}\n.fc-event-selected:before, .fc-event:focus:before {\n content: "";\n position: absolute;\n z-index: 3;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc-event-selected,\n.fc-event:focus {\n\n /* dimmer effect */\n\n}\n.fc-event-selected:after, .fc-event:focus:after {\n content: "";\n background: rgba(0, 0, 0, 0.25);\n background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n z-index: 1;\n\n /* assume there\'s a border on all sides. overcome it. */\n /* sometimes there\'s NOT a border, in which case the dimmer will go over */\n /* an adjacent border, which looks fine. */\n top: -1px;\n left: -1px;\n right: -1px;\n bottom: -1px;\n }\n/*\nA HORIZONTAL event\n*/\n.fc-h-event { /* allowed to be top-level */\n display: block;\n border: 1px solid #3788d8;\n border: 1px solid var(--fc-event-border-color, #3788d8);\n background-color: #3788d8;\n background-color: var(--fc-event-bg-color, #3788d8)\n\n}\n.fc-h-event .fc-event-main {\n color: #fff;\n color: var(--fc-event-text-color, #fff);\n }\n.fc-h-event .fc-event-main-frame {\n display: flex; /* for make fc-event-title-container expand */\n }\n.fc-h-event .fc-event-time {\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event .fc-event-title-container { /* serves as a container for the sticky cushion */\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-h-event .fc-event-title {\n display: inline-block; /* need this to be sticky cross-browser */\n vertical-align: top; /* for not messing up line-height */\n left: 0; /* for sticky */\n right: 0; /* for sticky */\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event.fc-event-selected:before {\n /* expand hit area */\n top: -10px;\n bottom: -10px;\n }\n/* adjust border and border-radius (if there is any) for non-start/end */\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-left-width: 0;\n}\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right-width: 0;\n}\n/* resizers */\n.fc-h-event:not(.fc-event-selected) .fc-event-resizer {\n top: 0;\n bottom: 0;\n width: 8px;\n width: var(--fc-event-resizer-thickness, 8px);\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {\n cursor: w-resize;\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {\n cursor: e-resize;\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n/* resizers for TOUCH */\n.fc-h-event.fc-event-selected .fc-event-resizer {\n top: 50%;\n margin-top: -4px;\n margin-top: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc .fc-popover {\n position: absolute;\n z-index: 9999;\n box-shadow: 0 2px 6px rgba(0,0,0,.15);\n }\n.fc .fc-popover-header {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 3px 4px;\n }\n.fc .fc-popover-title {\n margin: 0 2px;\n }\n.fc .fc-popover-close {\n cursor: pointer;\n opacity: 0.65;\n font-size: 1.1em;\n }\n.fc-theme-standard .fc-popover {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n }\n.fc-theme-standard .fc-popover-header {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n'],sourceRoot:""}]);const f=u},2283:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'\n\n .fc .fc-resource-timeline-divider {\n width: 3px; /* important to have width to shrink this cell. no cross-browser problems */\n cursor: col-resize;\n }\n\n.fc .fc-resource-group {\n /* make it look less like a <th> */\n font-weight: inherit;\n text-align: inherit;\n }\n\n.fc {\n\n\n /* will match horizontal groups in the datagrid AND group lanes in the timeline area */\n\n}\n\n.fc .fc-resource-timeline .fc-resource-group:not([rowspan]) {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n\n.fc .fc-timeline-lane-frame {\n position: relative; /* contains the fc-timeline-bg container, which liquidly expands */\n /* the height is explicitly set by row-height-sync */\n }\n\n.fc .fc-timeline-overlap-enabled .fc-timeline-lane-frame .fc-timeline-events { /* has height set on it */\n box-sizing: content-box; /* padding no longer part of height */\n padding-bottom: 10px; /* give extra spacing underneath for selecting */\n }\n\n/* hack to make bg expand to lane\'s full height in resource-timeline with expandRows (#6134) */\n.fc-timeline-body-expandrows td.fc-timeline-lane {\n position: relative;\n }\n.fc-timeline-body-expandrows .fc-timeline-lane-frame {\n position: static;\n }\n/* the "frame" */\n.fc-datagrid-cell-frame-liquid {\n height: 100%; /* needs liquid hack */\n}\n.fc-liquid-hack .fc-datagrid-cell-frame-liquid {\n height: auto;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc {\n\n /* the "frame" in a HEADER */\n /* needs to position the column resizer */\n /* needs to vertically center content */\n\n}\n.fc .fc-datagrid-header .fc-datagrid-cell-frame {\n position: relative; /* for resizer */\n display: flex;\n justify-content: flex-start; /* horizontal align (natural left/right) */\n align-items: center; /* vertical align */\n }\n.fc {\n\n /* the column resizer (only in HEADER) */\n\n}\n.fc .fc-datagrid-cell-resizer {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0;\n width: 5px;\n cursor: col-resize;\n }\n.fc {\n\n /* the cushion */\n\n}\n.fc .fc-datagrid-cell-cushion {\n padding: 8px;\n white-space: nowrap;\n overflow: hidden; /* problem for col resizer :( */\n }\n.fc {\n\n /* expander icons */\n\n}\n.fc .fc-datagrid-expander {\n cursor: pointer;\n opacity: 0.65\n\n }\n.fc .fc-datagrid-expander .fc-icon { /* the expander and spacers before the expander */\n display: inline-block;\n width: 1em; /* ensure constant width, esp for empty icons */\n }\n.fc .fc-datagrid-expander-placeholder {\n cursor: auto;\n }\n.fc .fc-resource-timeline-flat .fc-datagrid-expander-placeholder {\n display: none;\n }\n.fc-direction-ltr .fc-datagrid-cell-resizer { right: -3px }\n.fc-direction-rtl .fc-datagrid-cell-resizer { left: -3px }\n.fc-direction-ltr .fc-datagrid-expander { margin-right: 3px }\n.fc-direction-rtl .fc-datagrid-expander { margin-left: 3px }\n',"",{version:3,sources:["webpack://./node_modules/@fullcalendar/resource-timeline/main.css"],names:[],mappings:";;EAEE;IACE,UAAU,EAAE,2EAA2E;IACvF,kBAAkB;EACpB;;AAEF;IACI,kCAAkC;IAClC,oBAAoB;IACpB,mBAAmB;EACrB;;AAEF;;;EAGE,sFAAsF;;AAExF;;AAEA;MACM,oCAAoC;MACpC,gEAAgE;IAClE;;AAEJ;IACI,kBAAkB,EAAE,kEAAkE;IACtF,oDAAoD;EACtD;;AAEF,+EAA+E,yBAAyB;IACpG,uBAAuB,EAAE,qCAAqC;IAC9D,oBAAoB,EAAE,gDAAgD;EACxE;;AAEF,8FAA8F;AAC9F;IACI,kBAAkB;EACpB;AACF;IACI,gBAAgB;EAClB;AACF,gBAAgB;AAChB;EACE,YAAY,EAAE,sBAAsB;AACtC;AACA;EACE,YAAY;EACZ,kBAAkB;EAClB,MAAM;EACN,QAAQ;EACR,SAAS;EACT,OAAO;EACP;AACF;;EAEE,4BAA4B;EAC5B,yCAAyC;EACzC,uCAAuC;;AAEzC;AACA;MACM,kBAAkB,EAAE,gBAAgB;MACpC,aAAa;MACb,2BAA2B,EAAE,0CAA0C;MACvE,mBAAmB,EAAE,mBAAmB;IAC1C;AACJ;;EAEE,wCAAwC;;AAE1C;AACA;IACI,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,SAAS;IACT,UAAU;IACV,kBAAkB;EACpB;AACF;;EAEE,gBAAgB;;AAElB;AACA;IACI,YAAY;IACZ,mBAAmB;IACnB,gBAAgB,EAAE,+BAA+B;EACnD;AACF;;EAEE,mBAAmB;;AAErB;AACA;IACI,eAAe;IACf;;EAEF;AACF,qCAAqC,iDAAiD;MAChF,qBAAqB;MACrB,UAAU,EAAE,+CAA+C;IAC7D;AACJ;IACI,YAAY;EACd;AACF;MACM,aAAa;IACf;AACJ,8CAA8C,YAAY;AAC1D,8CAA8C,WAAW;AACzD,0CAA0C,kBAAkB;AAC5D,0CAA0C,iBAAiB",sourcesContent:['\n\n .fc .fc-resource-timeline-divider {\n width: 3px; /* important to have width to shrink this cell. no cross-browser problems */\n cursor: col-resize;\n }\n\n.fc .fc-resource-group {\n /* make it look less like a <th> */\n font-weight: inherit;\n text-align: inherit;\n }\n\n.fc {\n\n\n /* will match horizontal groups in the datagrid AND group lanes in the timeline area */\n\n}\n\n.fc .fc-resource-timeline .fc-resource-group:not([rowspan]) {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n\n.fc .fc-timeline-lane-frame {\n position: relative; /* contains the fc-timeline-bg container, which liquidly expands */\n /* the height is explicitly set by row-height-sync */\n }\n\n.fc .fc-timeline-overlap-enabled .fc-timeline-lane-frame .fc-timeline-events { /* has height set on it */\n box-sizing: content-box; /* padding no longer part of height */\n padding-bottom: 10px; /* give extra spacing underneath for selecting */\n }\n\n/* hack to make bg expand to lane\'s full height in resource-timeline with expandRows (#6134) */\n.fc-timeline-body-expandrows td.fc-timeline-lane {\n position: relative;\n }\n.fc-timeline-body-expandrows .fc-timeline-lane-frame {\n position: static;\n }\n/* the "frame" */\n.fc-datagrid-cell-frame-liquid {\n height: 100%; /* needs liquid hack */\n}\n.fc-liquid-hack .fc-datagrid-cell-frame-liquid {\n height: auto;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc {\n\n /* the "frame" in a HEADER */\n /* needs to position the column resizer */\n /* needs to vertically center content */\n\n}\n.fc .fc-datagrid-header .fc-datagrid-cell-frame {\n position: relative; /* for resizer */\n display: flex;\n justify-content: flex-start; /* horizontal align (natural left/right) */\n align-items: center; /* vertical align */\n }\n.fc {\n\n /* the column resizer (only in HEADER) */\n\n}\n.fc .fc-datagrid-cell-resizer {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0;\n width: 5px;\n cursor: col-resize;\n }\n.fc {\n\n /* the cushion */\n\n}\n.fc .fc-datagrid-cell-cushion {\n padding: 8px;\n white-space: nowrap;\n overflow: hidden; /* problem for col resizer :( */\n }\n.fc {\n\n /* expander icons */\n\n}\n.fc .fc-datagrid-expander {\n cursor: pointer;\n opacity: 0.65\n\n }\n.fc .fc-datagrid-expander .fc-icon { /* the expander and spacers before the expander */\n display: inline-block;\n width: 1em; /* ensure constant width, esp for empty icons */\n }\n.fc .fc-datagrid-expander-placeholder {\n cursor: auto;\n }\n.fc .fc-resource-timeline-flat .fc-datagrid-expander-placeholder {\n display: none;\n }\n.fc-direction-ltr .fc-datagrid-cell-resizer { right: -3px }\n.fc-direction-rtl .fc-datagrid-cell-resizer { left: -3px }\n.fc-direction-ltr .fc-datagrid-expander { margin-right: 3px }\n.fc-direction-rtl .fc-datagrid-expander { margin-left: 3px }\n'],sourceRoot:""}]);const s=a},82622:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"\n\n .fc .fc-timeline-body {\n min-height: 100%;\n position: relative;\n z-index: 1; /* scope slots, bg, etc */\n }\n/*\nvertical slots in both the header AND the body\n*/\n.fc .fc-timeline-slots {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0\n }\n.fc .fc-timeline-slots > table {\n height: 100%;\n }\n.fc {\n\n /* border for both header AND body cells */\n\n}\n.fc .fc-timeline-slot-minor {\n border-style: dotted;\n }\n.fc {\n\n /* header cells (aka \"label\") */\n\n}\n.fc .fc-timeline-slot-frame {\n display: flex;\n align-items: center; /* vertical align */\n justify-content: center; /* horizontal align */\n }\n.fc .fc-timeline-header-row-chrono { /* a row of times */\n }\n.fc .fc-timeline-header-row-chrono .fc-timeline-slot-frame {\n justify-content: flex-start; /* horizontal align left or right */\n }\n.fc .fc-timeline-header-row:last-child { /* guaranteed NOT to have sticky elements */\n }\n.fc .fc-timeline-header-row:last-child .fc-timeline-slot-frame {\n /* so text doesn't bleed out and cause extra scroll */\n /* (won't work with sticky elements) */\n overflow: hidden;\n }\n.fc .fc-timeline-slot-cushion {\n padding: 4px 5px; /* TODO: unify with fc-col-header? */\n white-space: nowrap;\n }\n.fc {\n\n /* NOTE: how does the top row of cells get horizontally centered? */\n /* for the non-chrono-row, the fc-sticky system looks for text-align center, */\n /* and it's a fluke that the default browser stylesheet already does this for <th> */\n /* TODO: have StickyScrolling look at natural left coord to detect centeredness. */\n\n}\n/* only owns one side, so can do dotted */\n.fc-direction-ltr .fc-timeline-slot { border-right: 0 !important }\n.fc-direction-rtl .fc-timeline-slot { border-left: 0 !important }\n.fc .fc-timeline-now-indicator-container {\n position: absolute;\n z-index: 4;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n width: 0;\n }\n.fc .fc-timeline-now-indicator-arrow,\n .fc .fc-timeline-now-indicator-line {\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: red;\n border-color: var(--fc-now-indicator-color, red);\n }\n.fc .fc-timeline-now-indicator-arrow {\n margin: 0 -6px; /* 5, then one more to counteract scroller's negative margins */\n\n /* triangle pointing down. TODO: mixin */\n border-width: 6px 5px 0 5px;\n border-left-color: transparent;\n border-right-color: transparent;\n }\n.fc .fc-timeline-now-indicator-line {\n margin: 0 -1px; /* counteract scroller's negative margins */\n bottom: 0;\n border-width: 0 0 0 1px;\n }\n.fc {\n\n /* container */\n\n}\n.fc .fc-timeline-events {\n position: relative;\n z-index: 3;\n width: 0; /* for event positioning. will end up on correct side based on dir */\n }\n.fc {\n\n /* harness */\n\n}\n.fc .fc-timeline-event-harness,\n .fc .fc-timeline-more-link {\n position: absolute;\n top: 0; /* for when when top can't be computed yet */\n /* JS will set tht left/right */\n }\n/* z-index, scoped within fc-timeline-events */\n.fc-timeline-event { z-index: 1 }\n.fc-timeline-event.fc-event-mirror { z-index: 2 }\n.fc-timeline-event {\n position: relative; /* contains things. TODO: make part of fc-h-event and fc-v-event */\n display: flex; /* for v-aligning start/end arrows and making fc-event-main stretch all the way */\n align-items: center;\n border-radius: 0;\n padding: 2px 1px;\n margin-bottom: 1px;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em)\n\n /* time and title spacing */\n /* ---------------------------------------------------------------------------------------------------- */\n}\n.fc-timeline-event .fc-event-main {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-timeline-event .fc-event-time {\n font-weight: bold;\n }\n.fc-timeline-event .fc-event-time,\n .fc-timeline-event .fc-event-title {\n white-space: nowrap;\n padding: 0 2px;\n }\n/* move 1px away from slot line */\n.fc-direction-ltr .fc-timeline-event.fc-event-end,\n .fc-direction-ltr .fc-timeline-more-link {\n margin-right: 1px;\n }\n.fc-direction-rtl .fc-timeline-event.fc-event-end,\n .fc-direction-rtl .fc-timeline-more-link {\n margin-left: 1px;\n }\n/* make event beefier when overlap not allowed */\n.fc-timeline-overlap-disabled .fc-timeline-event {\n padding-top: 5px;\n padding-bottom: 5px;\n margin-bottom: 0;\n}\n/* arrows indicating the event continues into past/future */\n/* ---------------------------------------------------------------------------------------------------- */\n/* part of the flexbox flow */\n.fc-timeline-event:not(.fc-event-start):before,\n.fc-timeline-event:not(.fc-event-end):after {\n content: \"\";\n flex-grow: 0;\n flex-shrink: 0;\n opacity: .5;\n\n /* triangle. TODO: mixin */\n width: 0;\n height: 0;\n margin: 0 1px;\n border: 5px solid #000; /* TODO: var */\n border-top-color: transparent;\n border-bottom-color: transparent;\n}\n/* pointing left */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-start):before,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-end):after {\n border-left: 0;\n}\n/* pointing right */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-end):after,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-start):before {\n border-right: 0;\n}\n/* +more events indicator */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-timeline-more-link {\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n color: inherit;\n color: var(--fc-more-link-text-color, inherit);\n background: #d0d0d0;\n background: var(--fc-more-link-bg-color, #d0d0d0);\n padding: 1px;\n cursor: pointer;\n}\n.fc-timeline-more-link-inner { /* has fc-sticky */\n display: inline-block;\n left: 0;\n right: 0;\n padding: 2px;\n}\n.fc .fc-timeline-bg { /* a container for bg content */\n position: absolute;\n z-index: 2;\n top: 0;\n bottom: 0;\n width: 0;\n left: 0; /* will take precedence when LTR */\n right: 0; /* will take precedence when RTL */ /* TODO: kill */\n }\n.fc .fc-timeline-bg .fc-non-business { z-index: 1 }\n.fc .fc-timeline-bg .fc-bg-event { z-index: 2 }\n.fc .fc-timeline-bg .fc-highlight { z-index: 3 }\n.fc .fc-timeline-bg-harness {\n position: absolute;\n top: 0;\n bottom: 0;\n }\n\n","",{version:3,sources:["webpack://./node_modules/@fullcalendar/timeline/main.css"],names:[],mappings:";;EAEE;IACE,gBAAgB;IAChB,kBAAkB;IAClB,UAAU,EAAE,yBAAyB;EACvC;AACF;;CAEC;AACD;IACI,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN;EACF;AACF;MACM,YAAY;IACd;AACJ;;EAEE,0CAA0C;;AAE5C;AACA;IACI,oBAAoB;EACtB;AACF;;EAEE,+BAA+B;;AAEjC;AACA;IACI,aAAa;IACb,mBAAmB,EAAE,mBAAmB;IACxC,uBAAuB,EAAE,qBAAqB;EAChD;AACF,qCAAqC,mBAAmB;EACtD;AACF;MACM,2BAA2B,EAAE,mCAAmC;IAClE;AACJ,yCAAyC,2CAA2C;EAClF;AACF;MACM,qDAAqD;MACrD,sCAAsC;MACtC,gBAAgB;IAClB;AACJ;IACI,gBAAgB,EAAE,oCAAoC;IACtD,mBAAmB;EACrB;AACF;;EAEE,mEAAmE;EACnE,8EAA8E;EAC9E,oFAAoF;EACpF,kFAAkF;;AAEpF;AACA,yCAAyC;AACzC,sCAAsC,2BAA2B;AACjE,sCAAsC,0BAA0B;AAChE;IACI,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,SAAS;IACT,OAAO;IACP,QAAQ;IACR,QAAQ;EACV;AACF;;IAEI,kBAAkB;IAClB,MAAM;IACN,mBAAmB;IACnB,iBAAiB;IACjB,gDAAgD;EAClD;AACF;IACI,cAAc,EAAE,+DAA+D;;IAE/E,wCAAwC;IACxC,2BAA2B;IAC3B,8BAA8B;IAC9B,+BAA+B;EACjC;AACF;IACI,cAAc,EAAE,2CAA2C;IAC3D,SAAS;IACT,uBAAuB;EACzB;AACF;;EAEE,cAAc;;AAEhB;AACA;IACI,kBAAkB;IAClB,UAAU;IACV,QAAQ,EAAE,oEAAoE;EAChF;AACF;;EAEE,YAAY;;AAEd;AACA;;IAEI,kBAAkB;IAClB,MAAM,EAAE,4CAA4C;IACpD,+BAA+B;EACjC;AACF,8CAA8C;AAC9C,qBAAqB,WAAW;AAChC,qCAAqC,WAAW;AAChD;EACE,kBAAkB,EAAE,kEAAkE;EACtF,aAAa,EAAE,iFAAiF;EAChG,mBAAmB;EACnB,gBAAgB;EAChB,gBAAgB;EAChB,kBAAkB;EAClB,gBAAgB;EAChB,0CAA0C;;EAE1C,2BAA2B;EAC3B,yGAAyG;AAC3G;AACA;IACI,YAAY;IACZ,cAAc;IACd,YAAY,EAAE,iDAAiD;EACjE;AACF;IACI,iBAAiB;EACnB;AACF;;IAEI,mBAAmB;IACnB,cAAc;EAChB;AACF,iCAAiC;AACjC;;IAEI,iBAAiB;EACnB;AACF;;IAEI,gBAAgB;EAClB;AACF,gDAAgD;AAChD;EACE,gBAAgB;EAChB,mBAAmB;EACnB,gBAAgB;AAClB;AACA,2DAA2D;AAC3D,yGAAyG;AACzG,6BAA6B;AAC7B;;EAEE,WAAW;EACX,YAAY;EACZ,cAAc;EACd,WAAW;;EAEX,0BAA0B;EAC1B,QAAQ;EACR,SAAS;EACT,aAAa;EACb,sBAAsB,EAAE,cAAc;EACtC,6BAA6B;EAC7B,gCAAgC;AAClC;AACA,kBAAkB;AAClB;;EAEE,cAAc;AAChB;AACA,mBAAmB;AACnB;;EAEE,eAAe;AACjB;AACA,2BAA2B;AAC3B,yGAAyG;AACzG;EACE,gBAAgB;EAChB,2CAA2C;EAC3C,cAAc;EACd,8CAA8C;EAC9C,mBAAmB;EACnB,iDAAiD;EACjD,YAAY;EACZ,eAAe;AACjB;AACA,+BAA+B,kBAAkB;EAC/C,qBAAqB;EACrB,OAAO;EACP,QAAQ;EACR,YAAY;AACd;AACA,sBAAsB,+BAA+B;IACjD,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,SAAS;IACT,QAAQ;IACR,OAAO,EAAE,kCAAkC;IAC3C,QAAQ,EAAE,kCAAkC,EAAE,eAAe;EAC/D;AACF,uCAAuC,WAAW;AAClD,mCAAmC,WAAW;AAC9C,oCAAoC,WAAW;AAC/C;IACI,kBAAkB;IAClB,MAAM;IACN,SAAS;EACX",sourcesContent:["\n\n .fc .fc-timeline-body {\n min-height: 100%;\n position: relative;\n z-index: 1; /* scope slots, bg, etc */\n }\n/*\nvertical slots in both the header AND the body\n*/\n.fc .fc-timeline-slots {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0\n }\n.fc .fc-timeline-slots > table {\n height: 100%;\n }\n.fc {\n\n /* border for both header AND body cells */\n\n}\n.fc .fc-timeline-slot-minor {\n border-style: dotted;\n }\n.fc {\n\n /* header cells (aka \"label\") */\n\n}\n.fc .fc-timeline-slot-frame {\n display: flex;\n align-items: center; /* vertical align */\n justify-content: center; /* horizontal align */\n }\n.fc .fc-timeline-header-row-chrono { /* a row of times */\n }\n.fc .fc-timeline-header-row-chrono .fc-timeline-slot-frame {\n justify-content: flex-start; /* horizontal align left or right */\n }\n.fc .fc-timeline-header-row:last-child { /* guaranteed NOT to have sticky elements */\n }\n.fc .fc-timeline-header-row:last-child .fc-timeline-slot-frame {\n /* so text doesn't bleed out and cause extra scroll */\n /* (won't work with sticky elements) */\n overflow: hidden;\n }\n.fc .fc-timeline-slot-cushion {\n padding: 4px 5px; /* TODO: unify with fc-col-header? */\n white-space: nowrap;\n }\n.fc {\n\n /* NOTE: how does the top row of cells get horizontally centered? */\n /* for the non-chrono-row, the fc-sticky system looks for text-align center, */\n /* and it's a fluke that the default browser stylesheet already does this for <th> */\n /* TODO: have StickyScrolling look at natural left coord to detect centeredness. */\n\n}\n/* only owns one side, so can do dotted */\n.fc-direction-ltr .fc-timeline-slot { border-right: 0 !important }\n.fc-direction-rtl .fc-timeline-slot { border-left: 0 !important }\n.fc .fc-timeline-now-indicator-container {\n position: absolute;\n z-index: 4;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n width: 0;\n }\n.fc .fc-timeline-now-indicator-arrow,\n .fc .fc-timeline-now-indicator-line {\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: red;\n border-color: var(--fc-now-indicator-color, red);\n }\n.fc .fc-timeline-now-indicator-arrow {\n margin: 0 -6px; /* 5, then one more to counteract scroller's negative margins */\n\n /* triangle pointing down. TODO: mixin */\n border-width: 6px 5px 0 5px;\n border-left-color: transparent;\n border-right-color: transparent;\n }\n.fc .fc-timeline-now-indicator-line {\n margin: 0 -1px; /* counteract scroller's negative margins */\n bottom: 0;\n border-width: 0 0 0 1px;\n }\n.fc {\n\n /* container */\n\n}\n.fc .fc-timeline-events {\n position: relative;\n z-index: 3;\n width: 0; /* for event positioning. will end up on correct side based on dir */\n }\n.fc {\n\n /* harness */\n\n}\n.fc .fc-timeline-event-harness,\n .fc .fc-timeline-more-link {\n position: absolute;\n top: 0; /* for when when top can't be computed yet */\n /* JS will set tht left/right */\n }\n/* z-index, scoped within fc-timeline-events */\n.fc-timeline-event { z-index: 1 }\n.fc-timeline-event.fc-event-mirror { z-index: 2 }\n.fc-timeline-event {\n position: relative; /* contains things. TODO: make part of fc-h-event and fc-v-event */\n display: flex; /* for v-aligning start/end arrows and making fc-event-main stretch all the way */\n align-items: center;\n border-radius: 0;\n padding: 2px 1px;\n margin-bottom: 1px;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em)\n\n /* time and title spacing */\n /* ---------------------------------------------------------------------------------------------------- */\n}\n.fc-timeline-event .fc-event-main {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-timeline-event .fc-event-time {\n font-weight: bold;\n }\n.fc-timeline-event .fc-event-time,\n .fc-timeline-event .fc-event-title {\n white-space: nowrap;\n padding: 0 2px;\n }\n/* move 1px away from slot line */\n.fc-direction-ltr .fc-timeline-event.fc-event-end,\n .fc-direction-ltr .fc-timeline-more-link {\n margin-right: 1px;\n }\n.fc-direction-rtl .fc-timeline-event.fc-event-end,\n .fc-direction-rtl .fc-timeline-more-link {\n margin-left: 1px;\n }\n/* make event beefier when overlap not allowed */\n.fc-timeline-overlap-disabled .fc-timeline-event {\n padding-top: 5px;\n padding-bottom: 5px;\n margin-bottom: 0;\n}\n/* arrows indicating the event continues into past/future */\n/* ---------------------------------------------------------------------------------------------------- */\n/* part of the flexbox flow */\n.fc-timeline-event:not(.fc-event-start):before,\n.fc-timeline-event:not(.fc-event-end):after {\n content: \"\";\n flex-grow: 0;\n flex-shrink: 0;\n opacity: .5;\n\n /* triangle. TODO: mixin */\n width: 0;\n height: 0;\n margin: 0 1px;\n border: 5px solid #000; /* TODO: var */\n border-top-color: transparent;\n border-bottom-color: transparent;\n}\n/* pointing left */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-start):before,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-end):after {\n border-left: 0;\n}\n/* pointing right */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-end):after,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-start):before {\n border-right: 0;\n}\n/* +more events indicator */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-timeline-more-link {\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n color: inherit;\n color: var(--fc-more-link-text-color, inherit);\n background: #d0d0d0;\n background: var(--fc-more-link-bg-color, #d0d0d0);\n padding: 1px;\n cursor: pointer;\n}\n.fc-timeline-more-link-inner { /* has fc-sticky */\n display: inline-block;\n left: 0;\n right: 0;\n padding: 2px;\n}\n.fc .fc-timeline-bg { /* a container for bg content */\n position: absolute;\n z-index: 2;\n top: 0;\n bottom: 0;\n width: 0;\n left: 0; /* will take precedence when LTR */\n right: 0; /* will take precedence when RTL */ /* TODO: kill */\n }\n.fc .fc-timeline-bg .fc-non-business { z-index: 1 }\n.fc .fc-timeline-bg .fc-bg-event { z-index: 2 }\n.fc .fc-timeline-bg .fc-highlight { z-index: 3 }\n.fc .fc-timeline-bg-harness {\n position: absolute;\n top: 0;\n bottom: 0;\n }\n\n"],sourceRoot:""}]);const s=a},61667:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},86461:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(19013),o=n(91857),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t),a=n.getTime()-o.getTime();return a<0?-1:a>0?1:a}function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.default)(e),s=(0,r.default)(t),l=a(n,s),c=Math.abs((0,o.default)(n,s));n.setFullYear(1584),s.setFullYear(1584);var u=a(n,s)===-l,d=l*(c-Number(u));return 0===d?0:d}},47556:(e,t,n)=>{var r=n(88668),o=n(47443),i=n(1196),a=n(29932),s=n(7518),l=n(74757),c=Math.min;e.exports=function(e,t,n){for(var u=n?i:o,d=e[0].length,f=e.length,p=f,h=Array(f),g=1/0,A=[];p--;){var v=e[p];p&&t&&(v=a(v,s(t))),g=c(v.length,g),h[p]=!n&&(t||d>=120&&v.length>=120)?new r(p&&v):void 0}v=e[0];var m=-1,y=h[0];e:for(;++m<d&&A.length<g;){var C=v[m],E=t?t(C):C;if(C=n||0!==C?C:0,!(y?l(y,E):u(A,E,n))){for(p=f;--p;){var b=h[p];if(!(b?l(b,E):u(e[p],E,n)))continue e}y&&y.push(E),A.push(C)}}return A}},24387:(e,t,n)=>{var r=n(29246);e.exports=function(e){return r(e)?e:[]}},71843:(e,t,n)=>{var r=n(29932),o=n(47556),i=n(67206),a=n(5976),s=n(24387),l=n(10928),c=a((function(e){var t=l(e),n=r(e,s);return t===l(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?o(n,i(t,2)):[]}));e.exports=c},31921:(e,t,n)=>{var r=n(10611);e.exports=function(e,t,n,o){return o="function"==typeof o?o:void 0,null==e?e:r(e,t,n,o)}},77043:(e,t,n)=>{var r=n(21078),o=n(67206),i=n(5976),a=n(45652),s=n(29246),l=n(10928),c=i((function(e){var t=l(e);return s(t)&&(t=void 0),a(r(e,1,s,!0),o(t,2))}));e.exports=c}}]);
|
|
30
|
+
function dt(e){for(var t=e.depth,n=e.hasChildren,r=e.isExpanded,o=e.onExpanderClick,i=[],a=0;a<t;a+=1)i.push((0,A.azq)("span",{className:"fc-icon"}));var s=["fc-icon"];return n&&(r?s.push("fc-icon-minus-square"):s.push("fc-icon-plus-square")),i.push((0,A.azq)("span",{className:"fc-datagrid-expander"+(n?"":" fc-datagrid-expander-placeholder"),onClick:o},(0,A.azq)("span",{className:s.join(" ")}))),A.azq.apply(void 0,(0,b.ev)([A.HYg,{}],i))}function ft(e){return{resource:new Ve(e.context,e.resource),fieldValue:e.fieldValue,view:e.context.viewApi}}var pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,A.azq)(A.rVp,{hookProps:e.hookProps,content:e.colSpec.cellContent,defaultContent:ht},(function(e,t){return(0,A.azq)("span",{className:"fc-datagrid-cell-main",ref:e},t)}))},t}(A.H6J);function ht(e){return e.fieldValue||(0,A.azq)(A.HYg,null," ")}var gt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,A.Vbb)(ft),t.normalizeClassNames=(0,A.HgS)(),t.onExpanderClick=function(e){var n=t.props;n.hasChildren&&t.context.dispatch({type:"SET_RESOURCE_ENTITY_EXPANDED",id:n.resource.id,isExpanded:!n.isExpanded})},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.colSpec,o=this.refineHookProps({resource:t.resource,fieldValue:t.fieldValue,context:n}),i=this.normalizeClassNames(r.cellClassNames,o);return(0,A.azq)(A.y3w,{hookProps:o,didMount:r.cellDidMount,willUnmount:r.cellWillUnmount},(function(n){return(0,A.azq)("td",{ref:n,role:"gridcell","data-resource-id":t.resource.id,className:["fc-datagrid-cell","fc-resource"].concat(i).join(" ")},(0,A.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:t.innerHeight}},(0,A.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner"},r.isMain&&(0,A.azq)(dt,{depth:t.depth,hasChildren:t.hasChildren,isExpanded:t.isExpanded,onExpanderClick:e.onExpanderClick}),(0,A.azq)(pt,{hookProps:o,colSpec:r}))))}))},t}(A.H6J),vt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.colSpec,r={groupValue:e.fieldValue,view:t.viewApi};return(0,A.azq)(A.QJ3,{hookProps:r,classNames:n.cellClassNames,content:n.cellContent,defaultContent:At,didMount:n.cellDidMount,willUnmount:n.cellWillUnmount},(function(t,n,r,o){return(0,A.azq)("td",{ref:t,role:"gridcell",rowSpan:e.rowSpan,className:["fc-datagrid-cell","fc-resource-group"].concat(n).join(" ")},(0,A.azq)("div",{className:"fc-datagrid-cell-frame fc-datagrid-cell-frame-liquid"},(0,A.azq)("div",{className:"fc-datagrid-cell-cushion fc-sticky",ref:r},o)))}))},t}(A.H6J);function At(e){return e.groupValue||(0,A.azq)(A.HYg,null," ")}var mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.resource,n=e.rowSpans,r=e.depth,o=ct(t);return(0,A.azq)("tr",{role:"row"},e.colSpecs.map((function(i,a){var s=n[a];if(0===s)return null;null==s&&(s=1);var l=i.field?o[i.field]:t.title||Fe(t.id);return s>1?(0,A.azq)(vt,{key:a,colSpec:i,fieldValue:l,rowSpan:s}):(0,A.azq)(gt,{key:a,colSpec:i,resource:t,fieldValue:l,depth:r,hasChildren:e.hasChildren,isExpanded:e.isExpanded,innerHeight:e.innerHeight})})))},t}(A.H6J);mt.addPropsEquality({rowSpans:A.CnA});var yt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerInnerRef=(0,A.VfA)(),t.onExpanderClick=function(){var e=t.props;t.context.dispatch({type:"SET_RESOURCE_ENTITY_EXPANDED",id:e.id,isExpanded:!e.isExpanded})},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r={groupValue:t.group.value,view:n.viewApi},o=t.group.spec;return(0,A.azq)("tr",{role:"row"},(0,A.azq)(A.QJ3,{hookProps:r,classNames:o.labelClassNames,content:o.labelContent,defaultContent:Ct,didMount:o.labelDidMount,willUnmount:o.labelWillUnmount},(function(r,o,i,a){return(0,A.azq)("th",{ref:r,role:"columnheader",scope:"colgroup",colSpan:t.spreadsheetColCnt,className:["fc-datagrid-cell","fc-resource-group",n.theme.getClass("tableCellShaded")].concat(o).join(" ")},(0,A.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:t.innerHeight}},(0,A.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner",ref:e.innerInnerRef},(0,A.azq)(dt,{depth:0,hasChildren:!0,isExpanded:t.isExpanded,onExpanderClick:e.onExpanderClick}),(0,A.azq)("span",{className:"fc-datagrid-cell-main",ref:i},a))))})))},t}(A.H6J);function Ct(e){return e.groupValue||(0,A.azq)(A.HYg,null," ")}yt.addPropsEquality({group:function(e,t){return e.spec===t.spec&&e.value===t.value}});var Et=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizerElRefs=new A.lAU(t._handleColResizerEl.bind(t)),t.colDraggings={},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.colSpecs,r=t.superHeaderRendering,o=t.rowInnerHeights,i={view:this.context.viewApi},a=[];if(o=o.slice(),r){var s=o.shift();a.push((0,A.azq)("tr",{key:"row-super",role:"row"},(0,A.azq)(A.QJ3,{hookProps:i,classNames:r.headerClassNames,content:r.headerContent,didMount:r.headerDidMount,willUnmount:r.headerWillUnmount},(function(e,t,r,o){return(0,A.azq)("th",{ref:e,role:"columnheader",scope:"colgroup",colSpan:n.length,className:["fc-datagrid-cell","fc-datagrid-cell-super"].concat(t).join(" ")},(0,A.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:s}},(0,A.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner",ref:r},o)))}))))}var l=o.shift();return a.push((0,A.azq)("tr",{key:"row",role:"row"},n.map((function(t,r){var o=r===n.length-1;return(0,A.azq)(A.QJ3,{key:r,hookProps:i,classNames:t.headerClassNames,content:t.headerContent,didMount:t.headerDidMount,willUnmount:t.headerWillUnmount},(function(n,i,a,s){return(0,A.azq)("th",{ref:n,role:"columnheader",className:["fc-datagrid-cell"].concat(i).join(" ")},(0,A.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:l}},(0,A.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner"},t.isMain&&(0,A.azq)("span",{className:"fc-datagrid-expander fc-datagrid-expander-placeholder"},(0,A.azq)("span",{className:"fc-icon"})),(0,A.azq)("span",{className:"fc-datagrid-cell-main",ref:a},s)),!o&&(0,A.azq)("div",{className:"fc-datagrid-cell-resizer",ref:e.resizerElRefs.createRef(r)})))}))})))),(0,A.azq)(A.HYg,null,a)},t.prototype._handleColResizerEl=function(e,t){var n,r=this.colDraggings;e?(n=this.initColResizing(e,parseInt(t,10)))&&(r[t]=n):(n=r[t])&&(n.destroy(),delete r[t])},t.prototype.initColResizing=function(e,t){var n=this.context,r=n.pluginHooks,o=n.isRtl,i=this.props.onColWidthChange,a=r.elementDraggingImpl;if(a){var s,l,c=new a(e);return c.emitter.on("dragstart",(function(){var n=(0,A.xlG)((0,A.x_n)(e,"tr"),"th");l=n.map((function(e){return e.getBoundingClientRect().width})),s=l[t]})),c.emitter.on("dragmove",(function(e){l[t]=Math.max(s+e.deltaX*(o?-1:1),20),i&&i(l.slice())})),c.setAutoScrollEnabled(!1),c}return null},t}(A.H6J),bt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n={resource:new Ve(t,e.resource)};return(0,A.azq)(A.rVp,{hookProps:n,content:t.options.resourceLaneContent},(function(e,t){return t&&(0,A.azq)("div",{className:"fc-timeline-lane-misc",ref:e},t)}))},t}(A.H6J),wt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,A.Vbb)(St),t.normalizeClassNames=(0,A.HgS)(),t.handleHeightChange=function(e,n){t.props.onHeightChange&&t.props.onHeightChange((0,A.x_n)(e,"tr"),n)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options,o=this.refineHookProps({resource:t.resource,context:n}),i=this.normalizeClassNames(r.resourceLaneClassNames,o);return(0,A.azq)("tr",{ref:t.elRef},(0,A.azq)(A.y3w,{hookProps:o,didMount:r.resourceLaneDidMount,willUnmount:r.resourceLaneWillUnmount},(function(n){return(0,A.azq)("td",{ref:n,className:["fc-timeline-lane","fc-resource"].concat(i).join(" "),"data-resource-id":t.resource.id},(0,A.azq)("div",{className:"fc-timeline-lane-frame",style:{height:t.innerHeight}},(0,A.azq)(bt,{resource:t.resource}),(0,A.azq)(me,{dateProfile:t.dateProfile,tDateProfile:t.tDateProfile,nowDate:t.nowDate,todayRange:t.todayRange,nextDayThreshold:t.nextDayThreshold,businessHours:t.businessHours,eventStore:t.eventStore,eventUiBases:t.eventUiBases,dateSelection:t.dateSelection,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,timelineCoords:t.timelineCoords,onHeightChange:e.handleHeightChange,resourceId:t.resource.id})))})))},t}(A.H6J);function St(e){return{resource:new Ve(e.context,e.resource)}}var Dt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.props.renderingHooks,r={groupValue:t.groupValue,view:this.context.viewApi};return(0,A.azq)("tr",{ref:t.elRef},(0,A.azq)(A.QJ3,{hookProps:r,classNames:n.laneClassNames,content:n.laneContent,didMount:n.laneDidMount,willUnmount:n.laneWillUnmount},(function(n,r,o,i){return(0,A.azq)("td",{ref:n,className:["fc-timeline-lane","fc-resource-group",e.context.theme.getClass("tableCellShaded")].concat(r).join(" ")},(0,A.azq)("div",{style:{height:t.innerHeight},ref:o},i))})))},t}(A.H6J),Rt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.rowElRefs,r=e.innerHeights;return(0,A.azq)("tbody",null,e.rowNodes.map((function(o,i){if(o.group)return(0,A.azq)(Dt,{key:o.id,elRef:n.createRef(o.id),groupValue:o.group.value,renderingHooks:o.group.spec,innerHeight:r[i]||""});if(o.resource){var a=o.resource;return(0,A.azq)(wt,(0,b.pi)({key:o.id,elRef:n.createRef(o.id)},e.splitProps[a.id],{resource:a,dateProfile:e.dateProfile,tDateProfile:e.tDateProfile,nowDate:e.nowDate,todayRange:e.todayRange,nextDayThreshold:t.options.nextDayThreshold,businessHours:a.businessHours||e.fallbackBusinessHours,innerHeight:r[i]||"",timelineCoords:e.slatCoords,onHeightChange:e.onRowHeightChange}))}return null})))},t}(A.H6J),Bt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,A.VfA)(),t.rowElRefs=new A.lAU,t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,A.azq)("table",{ref:this.rootElRef,"aria-hidden":!0,className:"fc-scrollgrid-sync-table "+t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},(0,A.azq)(Rt,{rowElRefs:this.rowElRefs,rowNodes:e.rowNodes,dateProfile:e.dateProfile,tDateProfile:e.tDateProfile,nowDate:e.nowDate,todayRange:e.todayRange,splitProps:e.splitProps,fallbackBusinessHours:e.fallbackBusinessHours,slatCoords:e.slatCoords,innerHeights:e.innerHeights,onRowHeightChange:e.onRowHeightChange}))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.componentWillUnmount=function(){this.props.onRowCoords&&this.props.onRowCoords(null)},t.prototype.updateCoords=function(){var e,t=this.props;t.onRowCoords&&null!==t.clientWidth&&this.props.onRowCoords(new A.zIV(this.rootElRef.current,(e=this.rowElRefs.currentMap,t.rowNodes.map((function(t){return e[t.id]}))),!1,!0))},t}(A.H6J);var It=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeHasResourceBusinessHours=(0,A.HPs)(xt),t.resourceSplitter=new je,t.bgSlicer=new he,t.slatsRef=(0,A.VfA)(),t.state={slatCoords:null},t.handleEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t.handleSlatCoords=function(e){t.setState({slatCoords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t.handleRowCoords=function(e){t.rowCoords=e,t.props.onRowCoords&&t.props.onRowCoords(e)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=n.dateProfile,a=n.tDateProfile,s=(0,A.NTx)(a.slotDuration).unit,l=this.computeHasResourceBusinessHours(n.rowNodes),c=this.resourceSplitter.splitProps(n),u=c[""],d=this.bgSlicer.sliceProps(u,i,a.isTimeScale?null:n.nextDayThreshold,o,i,o.dateProfileGenerator,a,o.dateEnv),f=r.slatCoords&&r.slatCoords.dateProfile===n.dateProfile?r.slatCoords:null;return(0,A.azq)("div",{ref:this.handleEl,className:["fc-timeline-body",n.expandRows?"fc-timeline-body-expandrows":""].join(" "),style:{minWidth:n.tableMinWidth}},(0,A.azq)(A.wh8,{unit:s},(function(t,r){return(0,A.azq)(A.HYg,null,(0,A.azq)(de,{ref:e.slatsRef,dateProfile:i,tDateProfile:a,nowDate:t,todayRange:r,clientWidth:n.clientWidth,tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,onCoords:e.handleSlatCoords,onScrollLeftRequest:n.onScrollLeftRequest}),(0,A.azq)(pe,{businessHourSegs:l?null:d.businessHourSegs,bgEventSegs:d.bgEventSegs,timelineCoords:f,eventResizeSegs:d.eventResize?d.eventResize.segs:[],dateSelectionSegs:d.dateSelectionSegs,nowDate:t,todayRange:r}),(0,A.azq)(Bt,{rowNodes:n.rowNodes,dateProfile:i,tDateProfile:n.tDateProfile,nowDate:t,todayRange:r,splitProps:c,fallbackBusinessHours:l?n.businessHours:null,clientWidth:n.clientWidth,minHeight:n.expandRows?n.clientHeight:"",tableMinWidth:n.tableMinWidth,innerHeights:n.rowInnerHeights,slatCoords:f,onRowCoords:e.handleRowCoords,onRowHeightChange:n.onRowHeightChange}),o.options.nowIndicator&&f&&f.isDateInRange(t)&&(0,A.azq)("div",{className:"fc-timeline-now-indicator-container"},(0,A.azq)(A.AOy,{isAxis:!1,date:t},(function(e,n,r,i){return(0,A.azq)("div",{ref:e,className:["fc-timeline-now-indicator-line"].concat(n).join(" "),style:ae(f.dateToCoord(t),o.isRtl)},i)}))))})))},t.prototype.queryHit=function(e,t){var n=this.rowCoords,r=n.topToIndex(t);if(null!=r){var o=this.props.rowNodes[r].resource;if(o){var i=this.slatsRef.current.positionToHit(e);if(i)return{dateProfile:this.props.dateProfile,dateSpan:{range:i.dateSpan.range,allDay:i.dateSpan.allDay,resourceId:o.id},rect:{left:i.left,right:i.right,top:n.tops[r],bottom:n.bottoms[r]},dayEl:i.dayEl,layer:0}}}return null},t}(A.IdW);function xt(e){for(var t=0,n=e;t<n.length;t++){var r=n[t].resource;if(r&&r.businessHours)return!0}return!1}var kt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.scrollGridRef=(0,A.VfA)(),t.timeBodyScrollerElRef=(0,A.VfA)(),t.spreadsheetHeaderChunkElRef=(0,A.VfA)(),t.rootElRef=(0,A.VfA)(),t.ensureScrollGridResizeId=0,t.state={resourceAreaWidthOverride:null},t.ensureScrollGridResize=function(){t.ensureScrollGridResizeId&&clearTimeout(t.ensureScrollGridResizeId),t.ensureScrollGridResizeId=setTimeout((function(){t.scrollGridRef.current.handleSizing(!1)}),A.vc.SCROLLGRID_RESIZE_INTERVAL+1)},t}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=r.options,i=!t.forPrint&&(0,A.Q8U)(o),a=!t.forPrint&&(0,A.PZw)(o),s=[{type:"header",key:"header",syncRowHeights:!0,isSticky:i,chunks:[{key:"datagrid",elRef:this.spreadsheetHeaderChunkElRef,tableClassName:"fc-datagrid-header",rowContent:t.spreadsheetHeaderRows},{key:"divider",outerContent:(0,A.azq)("td",{role:"presentation",className:"fc-resource-timeline-divider "+r.theme.getClass("tableCellShaded")})},{key:"timeline",content:t.timeHeaderContent}]},{type:"body",key:"body",syncRowHeights:!0,liquid:!0,expandRows:Boolean(o.expandRows),chunks:[{key:"datagrid",tableClassName:"fc-datagrid-body",rowContent:t.spreadsheetBodyRows},{key:"divider",outerContent:(0,A.azq)("td",{role:"presentation",className:"fc-resource-timeline-divider "+r.theme.getClass("tableCellShaded")})},{key:"timeline",scrollerElRef:this.timeBodyScrollerElRef,content:t.timeBodyContent}]}];a&&s.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"datagrid",content:A.Hbc},{key:"divider",outerContent:(0,A.azq)("td",{role:"presentation",className:"fc-resource-timeline-divider "+r.theme.getClass("tableCellShaded")})},{key:"timeline",content:A.Hbc}]});var l=null!=n.resourceAreaWidthOverride?n.resourceAreaWidthOverride:o.resourceAreaWidth;return(0,A.azq)(z,{ref:this.scrollGridRef,elRef:this.rootElRef,liquid:!t.isHeightAuto&&!t.forPrint,collapsibleWidth:!1,colGroups:[{cols:t.spreadsheetCols,width:l},{cols:[]},{cols:t.timeCols}],sections:s})},t.prototype.forceTimeScroll=function(e){this.scrollGridRef.current.forceScrollLeft(2,e)},t.prototype.forceResourceScroll=function(e){this.scrollGridRef.current.forceScrollTop(1,e)},t.prototype.getResourceScroll=function(){return this.timeBodyScrollerElRef.current.scrollTop},t.prototype.componentDidMount=function(){this.initSpreadsheetResizing()},t.prototype.componentWillUnmount=function(){this.destroySpreadsheetResizing()},t.prototype.initSpreadsheetResizing=function(){var e=this,t=this.context,n=t.isRtl,r=t.pluginHooks.elementDraggingImpl,o=this.spreadsheetHeaderChunkElRef.current;if(r){var i,a,s=this.rootElRef.current,l=this.spreadsheetResizerDragging=new r(s,".fc-resource-timeline-divider");l.emitter.on("dragstart",(function(){i=o.getBoundingClientRect().width,a=s.getBoundingClientRect().width})),l.emitter.on("dragmove",(function(t){var r=i+t.deltaX*(n?-1:1);r=Math.max(r,30),r=Math.min(r,a-30),e.setState({resourceAreaWidthOverride:r},e.ensureScrollGridResize)})),l.setAutoScrollEnabled(!1)}},t.prototype.destroySpreadsheetResizing=function(){this.spreadsheetResizerDragging&&this.spreadsheetResizerDragging.destroy()},t}(A.H6J),Tt=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.processColOptions=(0,A.HPs)(Ht),r.buildTimelineDateProfile=(0,A.HPs)(Z),r.hasNesting=(0,A.HPs)(Pt),r.buildRowNodes=(0,A.HPs)(it),r.layoutRef=(0,A.VfA)(),r.rowNodes=[],r.renderedRowNodes=[],r.buildRowIndex=(0,A.HPs)(Mt),r.handleSlatCoords=function(e){r.setState({slatCoords:e})},r.handleRowCoords=function(e){r.rowCoords=e,r.scrollResponder.update(!1)},r.handleMaxCushionWidth=function(e){r.setState({slotCushionMaxWidth:Math.ceil(e)})},r.handleScrollLeftRequest=function(e){r.layoutRef.current.forceTimeScroll(e)},r.handleScrollRequest=function(e){var t=r.rowCoords,n=r.layoutRef.current,o=e.rowId||e.resourceId;if(t){if(o){var i=r.buildRowIndex(r.renderedRowNodes)[o];if(null!=i){var a=null!=e.fromBottom?t.bottoms[i]-e.fromBottom:t.tops[i];n.forceResourceScroll(a)}}return!0}return null},r.handleColWidthChange=function(e){r.setState({spreadsheetColWidths:e})},r.state={resourceAreaWidth:n.options.resourceAreaWidth,spreadsheetColWidths:[]},r}return(0,b.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=o.options,a=o.viewSpec,s=this.processColOptions(o.options),l=s.superHeaderRendering,c=s.groupSpecs,u=s.orderSpecs,d=s.isVGrouping,f=s.colSpecs,p=this.buildTimelineDateProfile(n.dateProfile,o.dateEnv,i,o.dateProfileGenerator),h=this.rowNodes=this.buildRowNodes(n.resourceStore,c,u,d,n.resourceEntityExpansions,i.resourcesInitiallyExpanded),g=["fc-resource-timeline",this.hasNesting(h)?"":"fc-resource-timeline-flat","fc-timeline",!1===i.eventOverlap?"fc-timeline-overlap-disabled":"fc-timeline-overlap-enabled"],v=i.slotMinWidth,m=Ee(p,v||this.computeFallbackSlotMinWidth(p));return(0,A.azq)(A.xS$,{viewSpec:a},(function(t,i){return(0,A.azq)("div",{ref:t,className:g.concat(i).join(" ")},(0,A.azq)(kt,{ref:e.layoutRef,forPrint:n.forPrint,isHeightAuto:n.isHeightAuto,spreadsheetCols:zt(f,r.spreadsheetColWidths,""),spreadsheetHeaderRows:function(t){return(0,A.azq)(Et,{superHeaderRendering:l,colSpecs:f,onColWidthChange:e.handleColWidthChange,rowInnerHeights:t.rowSyncHeights})},spreadsheetBodyRows:function(t){return(0,A.azq)(A.HYg,null,e.renderSpreadsheetRows(h,f,t.rowSyncHeights))},timeCols:m,timeHeaderContent:function(t){return(0,A.azq)(le,{clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,dateProfile:n.dateProfile,tDateProfile:p,slatCoords:r.slatCoords,rowInnerHeights:t.rowSyncHeights,onMaxCushionWidth:v?null:e.handleMaxCushionWidth})},timeBodyContent:function(t){return(0,A.azq)(It,{dateProfile:n.dateProfile,clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,expandRows:t.expandRows,tDateProfile:p,rowNodes:h,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,resourceStore:n.resourceStore,nextDayThreshold:o.options.nextDayThreshold,rowInnerHeights:t.rowSyncHeights,onSlatCoords:e.handleSlatCoords,onRowCoords:e.handleRowCoords,onScrollLeftRequest:e.handleScrollLeftRequest,onRowHeightChange:t.reportRowHeightChange})}}))}))},t.prototype.renderSpreadsheetRows=function(e,t,n){return e.map((function(e,r){return e.group?(0,A.azq)(yt,{key:e.id,id:e.id,spreadsheetColCnt:t.length,isExpanded:e.isExpanded,group:e.group,innerHeight:n[r]||""}):e.resource?(0,A.azq)(mt,{key:e.id,colSpecs:t,rowSpans:e.rowSpans,depth:e.depth,isExpanded:e.isExpanded,hasChildren:e.hasChildren,resource:e.resource,innerHeight:n[r]||""}):null}))},t.prototype.componentDidMount=function(){this.renderedRowNodes=this.rowNodes,this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.getSnapshotBeforeUpdate=function(){return this.props.forPrint?{}:{resourceScroll:this.queryResourceScroll()}},t.prototype.componentDidUpdate=function(e,t,n){this.renderedRowNodes=this.rowNodes,this.scrollResponder.update(e.dateProfile!==this.props.dateProfile),n.resourceScroll&&this.handleScrollRequest(n.resourceScroll)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.computeFallbackSlotMinWidth=function(e){return Math.max(30,(this.state.slotCushionMaxWidth||0)/e.slotsPerLabel)},t.prototype.queryResourceScroll=function(){var e=this.rowCoords,t=this.renderedRowNodes;if(e){for(var n=this.layoutRef.current,r=e.bottoms,o=n.getResourceScroll(),i={},a=0;a<r.length;a+=1){var s=t[a],l=r[a]-o;if(l>0){i.rowId=s.id,i.fromBottom=l;break}}return i}return null},t}(A.H6J);function Mt(e){for(var t={},n=0;n<e.length;n+=1)t[e[n].id]=n;return t}function zt(e,t,n){return void 0===n&&(n=""),e.map((function(e,r){return{className:e.isMain?"fc-main-col":"",width:t[r]||e.width||n}}))}function Pt(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];if(r.group)return!0;if(r.resource&&r.hasChildren)return!0}return!1}function Ht(e){var t=e.resourceAreaColumns||[],n=null;t.length?e.resourceAreaHeaderContent&&(n={headerClassNames:e.resourceAreaHeaderClassNames,headerContent:e.resourceAreaHeaderContent,headerDidMount:e.resourceAreaHeaderDidMount,headerWillUnmount:e.resourceAreaHeaderWillUnmount}):t.push({headerClassNames:e.resourceAreaHeaderClassNames,headerContent:e.resourceAreaHeaderContent||"Resources",headerDidMount:e.resourceAreaHeaderDidMount,headerWillUnmount:e.resourceAreaHeaderWillUnmount});for(var r=[],o=[],i=[],a=!1,s=0,l=t;s<l.length;s++){var c=l[s];c.group?o.push((0,b.pi)((0,b.pi)({},c),{cellClassNames:c.cellClassNames||e.resourceGroupLabelClassNames,cellContent:c.cellContent||e.resourceGroupLabelContent,cellDidMount:c.cellDidMount||e.resourceGroupLabelDidMount,cellWillUnmount:c.cellWillUnmount||e.resourceGroupLaneWillUnmount})):r.push(c)}var u=r[0];if(u.isMain=!0,u.cellClassNames=u.cellClassNames||e.resourceLabelClassNames,u.cellContent=u.cellContent||e.resourceLabelContent,u.cellDidMount=u.cellDidMount||e.resourceLabelDidMount,u.cellWillUnmount=u.cellWillUnmount||e.resourceLabelWillUnmount,o.length)i=o,a=!0;else{var d=e.resourceGroupField;d&&i.push({field:d,labelClassNames:e.resourceGroupLabelClassNames,labelContent:e.resourceGroupLabelContent,labelDidMount:e.resourceGroupLabelDidMount,labelWillUnmount:e.resourceGroupLabelWillUnmount,laneClassNames:e.resourceGroupLaneClassNames,laneContent:e.resourceGroupLaneContent,laneDidMount:e.resourceGroupLaneDidMount,laneWillUnmount:e.resourceGroupLaneWillUnmount})}for(var f=[],p=0,h=e.resourceOrder||Qe;p<h.length;p++){for(var g=h[p],v=!1,A=0,m=i;A<m.length;A++){var y=m[A];if(y.field===g.field){y.order=g.order,v=!0;break}}v||f.push(g)}return{superHeaderRendering:n,isVGrouping:a,groupSpecs:i,colSpecs:o.concat(r),orderSpecs:f}}Tt.addStateEquality({spreadsheetColWidths:A.CnA});const Ot=(0,A.rxu)({deps:[m.Z,ut,be],initialView:"resourceTimelineDay",views:{resourceTimeline:{type:"timeline",component:Tt,needsResourceData:!0,resourceAreaWidth:"30%",resourcesInitiallyExpanded:!0,eventResizableFromStart:!0},resourceTimelineDay:{type:"resourceTimeline",duration:{days:1}},resourceTimelineWeek:{type:"resourceTimeline",duration:{weeks:1}},resourceTimelineMonth:{type:"resourceTimeline",duration:{months:1}},resourceTimelineYear:{type:"resourceTimeline",duration:{years:1}}}})},81959:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"\n\n .fc .fc-event,\n .fc .fc-scrollgrid table tr {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n }\n\n.fc-media-print {\n display: block; /* undo flexbox. FF doesn't know how to flow */\n max-width: 100% /* width will be hardcoded too */\n}\n\n.fc-media-print .fc-timegrid-slots,\n .fc-media-print .fc-timegrid-axis-chunk,\n .fc-media-print .fc-timeline-slots,\n .fc-media-print .fc-non-business,\n .fc-media-print .fc-bg-event {\n display: none;\n }\n\n.fc-media-print .fc-toolbar button,\n .fc-media-print .fc-h-event,\n .fc-media-print .fc-v-event {\n color: #000 !important;\n background: #fff !important;\n }\n\n.fc-media-print .fc-event,\n .fc-media-print .fc-event-main { /* often controls the text-color */\n color: #000 !important;\n }\n\n.fc-media-print .fc-timegrid-event {\n margin: 0.5em 0;\n }\n","",{version:3,sources:["webpack://./node_modules/@fullcalendar/adaptive/main.css"],names:[],mappings:";;EAEE;;IAEE,+BAA+B;SAC1B,mBAAmB;EAC1B;;AAEF;EACE,cAAc,EAAE,8CAA8C;EAC9D,cAAc,EAAE,gCAAgC;AAClD;;AAEA;;;;;IAKI,aAAa;EACf;;AAEF;;;IAGI,sBAAsB;IACtB,2BAA2B;EAC7B;;AAEF;mCACmC,kCAAkC;IACjE,sBAAsB;EACxB;;AAEF;IACI,eAAe;EACjB",sourcesContent:["\n\n .fc .fc-event,\n .fc .fc-scrollgrid table tr {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n }\n\n.fc-media-print {\n display: block; /* undo flexbox. FF doesn't know how to flow */\n max-width: 100% /* width will be hardcoded too */\n}\n\n.fc-media-print .fc-timegrid-slots,\n .fc-media-print .fc-timegrid-axis-chunk,\n .fc-media-print .fc-timeline-slots,\n .fc-media-print .fc-non-business,\n .fc-media-print .fc-bg-event {\n display: none;\n }\n\n.fc-media-print .fc-toolbar button,\n .fc-media-print .fc-h-event,\n .fc-media-print .fc-v-event {\n color: #000 !important;\n background: #fff !important;\n }\n\n.fc-media-print .fc-event,\n .fc-media-print .fc-event-main { /* often controls the text-color */\n color: #000 !important;\n }\n\n.fc-media-print .fc-timegrid-event {\n margin: 0.5em 0;\n }\n"],sourceRoot:""}]);const s=a},46:(e,t,n)=>{"use strict";n.d(t,{Z:()=>f});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i),s=n(61667),l=n.n(s),c=new URL(n(85042),n.b),u=a()(o()),d=l()(c);u.push([e.id,"\n/* classes attached to <body> */\n/* TODO: make fc-event selector work when calender in shadow DOM */\n.fc-not-allowed,\n.fc-not-allowed .fc-event { /* override events' custom cursors */\n cursor: not-allowed;\n}\n\n/* TODO: not attached to body. attached to specific els. move */\n.fc-unselectable {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.fc {\n /* layout of immediate children */\n display: flex;\n flex-direction: column;\n\n font-size: 1em\n}\n.fc,\n .fc *,\n .fc *:before,\n .fc *:after {\n box-sizing: border-box;\n }\n.fc table {\n border-collapse: collapse;\n border-spacing: 0;\n font-size: 1em; /* normalize cross-browser */\n }\n.fc th {\n text-align: center;\n }\n.fc th,\n .fc td {\n vertical-align: top;\n padding: 0;\n }\n.fc a[data-navlink] {\n cursor: pointer;\n }\n.fc a[data-navlink]:hover {\n text-decoration: underline;\n }\n.fc-direction-ltr {\n direction: ltr;\n text-align: left;\n}\n.fc-direction-rtl {\n direction: rtl;\n text-align: right;\n}\n.fc-theme-standard td,\n .fc-theme-standard th {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n }\n/* for FF, which doesn't expand a 100% div within a table cell. use absolute positioning */\n/* inner-wrappers are responsible for being absolute */\n/* TODO: best place for this? */\n.fc-liquid-hack td,\n .fc-liquid-hack th {\n position: relative;\n }\n\n@font-face {\n font-family: 'fcicons';\n src: url("+d+') format(\'truetype\');\n font-weight: normal;\n font-style: normal;\n}\n\n.fc-icon {\n /* added for fc */\n display: inline-block;\n width: 1em;\n height: 1em;\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'fcicons\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.fc-icon-chevron-left:before {\n content: "\\e900";\n}\n\n.fc-icon-chevron-right:before {\n content: "\\e901";\n}\n\n.fc-icon-chevrons-left:before {\n content: "\\e902";\n}\n\n.fc-icon-chevrons-right:before {\n content: "\\e903";\n}\n\n.fc-icon-minus-square:before {\n content: "\\e904";\n}\n\n.fc-icon-plus-square:before {\n content: "\\e905";\n}\n\n.fc-icon-x:before {\n content: "\\e906";\n}\n/*\nLots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css\n\nThese styles only apply when the standard-theme is activated.\nWhen it\'s NOT activated, the fc-button classes won\'t even be in the DOM.\n*/\n.fc {\n\n /* reset */\n\n}\n.fc .fc-button {\n border-radius: 0;\n overflow: visible;\n text-transform: none;\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n }\n.fc .fc-button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n.fc .fc-button {\n -webkit-appearance: button;\n }\n.fc .fc-button:not(:disabled) {\n cursor: pointer;\n }\n.fc .fc-button::-moz-focus-inner {\n padding: 0;\n border-style: none;\n }\n.fc {\n\n /* theme */\n\n}\n.fc .fc-button {\n display: inline-block;\n font-weight: 400;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border: 1px solid transparent;\n padding: 0.4em 0.65em;\n font-size: 1em;\n line-height: 1.5;\n border-radius: 0.25em;\n }\n.fc .fc-button:hover {\n text-decoration: none;\n }\n.fc .fc-button:focus {\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);\n }\n.fc .fc-button:disabled {\n opacity: 0.65;\n }\n.fc {\n\n /* "primary" coloring */\n\n}\n.fc .fc-button-primary {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50);\n }\n.fc .fc-button-primary:hover {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1e2b37;\n background-color: var(--fc-button-hover-bg-color, #1e2b37);\n border-color: #1a252f;\n border-color: var(--fc-button-hover-border-color, #1a252f);\n }\n.fc .fc-button-primary:disabled { /* not DRY */\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50); /* overrides :hover */\n }\n.fc .fc-button-primary:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc .fc-button-primary:not(:disabled):active,\n .fc .fc-button-primary:not(:disabled).fc-button-active {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1a252f;\n background-color: var(--fc-button-active-bg-color, #1a252f);\n border-color: #151e27;\n border-color: var(--fc-button-active-border-color, #151e27);\n }\n.fc .fc-button-primary:not(:disabled):active:focus,\n .fc .fc-button-primary:not(:disabled).fc-button-active:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc {\n\n /* icons within buttons */\n\n}\n.fc .fc-button .fc-icon {\n vertical-align: middle;\n font-size: 1.5em; /* bump up the size (but don\'t make it bigger than line-height of button, which is 1.5em also) */\n }\n.fc .fc-button-group {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n }\n.fc .fc-button-group > .fc-button {\n position: relative;\n flex: 1 1 auto;\n }\n.fc .fc-button-group > .fc-button:hover {\n z-index: 1;\n }\n.fc .fc-button-group > .fc-button:focus,\n .fc .fc-button-group > .fc-button:active,\n .fc .fc-button-group > .fc-button.fc-button-active {\n z-index: 1;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {\n margin-right: -1px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc .fc-toolbar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n.fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: 1.5em;\n }\n.fc .fc-toolbar.fc-footer-toolbar {\n margin-top: 1.5em;\n }\n.fc .fc-toolbar-title {\n font-size: 1.75em;\n margin: 0;\n }\n.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {\n margin-left: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar > * > :not(:first-child) {\n margin-right: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar-ltr { /* when the toolbar-chunk positioning system is explicitly left-to-right */\n flex-direction: row-reverse;\n }\n.fc .fc-scroller {\n -webkit-overflow-scrolling: touch;\n position: relative; /* for abs-positioned elements within */\n }\n.fc .fc-scroller-liquid {\n height: 100%;\n }\n.fc .fc-scroller-liquid-absolute {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n }\n.fc .fc-scroller-harness {\n position: relative;\n overflow: hidden;\n direction: ltr;\n /* hack for chrome computing the scroller\'s right/left wrong for rtl. undone below... */\n /* TODO: demonstrate in codepen */\n }\n.fc .fc-scroller-harness-liquid {\n height: 100%;\n }\n.fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */\n direction: rtl;\n }\n.fc-theme-standard .fc-scrollgrid {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd); /* bootstrap does this. match */\n }\n.fc .fc-scrollgrid,\n .fc .fc-scrollgrid table { /* all tables (self included) */\n width: 100%; /* because tables don\'t normally do this */\n table-layout: fixed;\n }\n.fc .fc-scrollgrid table { /* inner tables */\n border-top-style: hidden;\n border-left-style: hidden;\n border-right-style: hidden;\n }\n.fc .fc-scrollgrid {\n\n border-collapse: separate;\n border-right-width: 0;\n border-bottom-width: 0;\n\n }\n.fc .fc-scrollgrid-liquid {\n height: 100%;\n }\n.fc .fc-scrollgrid-section { /* a <tr> */\n height: 1px /* better than 0, for firefox */\n\n }\n.fc .fc-scrollgrid-section > td {\n height: 1px; /* needs a height so inner div within grow. better than 0, for firefox */\n }\n.fc .fc-scrollgrid-section table {\n height: 1px;\n /* for most browsers, if a height isn\'t set on the table, can\'t do liquid-height within cells */\n /* serves as a min-height. harmless */\n }\n.fc .fc-scrollgrid-section-liquid > td {\n height: 100%; /* better than `auto`, for firefox */\n }\n.fc .fc-scrollgrid-section > * {\n border-top-width: 0;\n border-left-width: 0;\n }\n.fc .fc-scrollgrid-section-header > *,\n .fc .fc-scrollgrid-section-footer > * {\n border-bottom-width: 0;\n }\n.fc .fc-scrollgrid-section-body table,\n .fc .fc-scrollgrid-section-footer table {\n border-bottom-style: hidden; /* head keeps its bottom border tho */\n }\n.fc {\n\n /* stickiness */\n\n}\n.fc .fc-scrollgrid-section-sticky > * {\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n position: sticky;\n z-index: 3; /* TODO: var */\n /* TODO: box-shadow when sticking */\n }\n.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {\n top: 0; /* because border-sharing causes a gap at the top */\n /* TODO: give safari -1. has bug */\n }\n.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky > * {\n bottom: 0; /* known bug: bottom-stickiness doesn\'t work in safari */\n }\n.fc .fc-scrollgrid-sticky-shim { /* for horizontal scrollbar */\n height: 1px; /* needs height to create scrollbars */\n margin-bottom: -1px;\n }\n.fc-sticky { /* no .fc wrap because used as child of body */\n position: sticky;\n}\n.fc .fc-view-harness {\n flex-grow: 1; /* because this harness is WITHIN the .fc\'s flexbox */\n position: relative;\n }\n.fc {\n\n /* when the harness controls the height, make the view liquid */\n\n}\n.fc .fc-view-harness-active > .fc-view {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc .fc-col-header-cell-cushion {\n display: inline-block; /* x-browser for when sticky (when multi-tier header) */\n padding: 2px 4px;\n }\n.fc .fc-bg-event,\n .fc .fc-non-business,\n .fc .fc-highlight {\n /* will always have a harness with position:relative/absolute, so absolutely expand */\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc .fc-non-business {\n background: rgba(215, 215, 215, 0.3);\n background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));\n }\n.fc .fc-bg-event {\n background: rgb(143, 223, 130);\n background: var(--fc-bg-event-color, rgb(143, 223, 130));\n opacity: 0.3;\n opacity: var(--fc-bg-event-opacity, 0.3)\n }\n.fc .fc-bg-event .fc-event-title {\n margin: .5em;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n font-style: italic;\n }\n.fc .fc-highlight {\n background: rgba(188, 232, 241, 0.3);\n background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));\n }\n.fc .fc-cell-shaded,\n .fc .fc-day-disabled {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n/* link resets */\n/* ---------------------------------------------------------------------------------------------------- */\na.fc-event,\na.fc-event:hover {\n text-decoration: none;\n}\n/* cursor */\n.fc-event[href],\n.fc-event.fc-event-draggable {\n cursor: pointer;\n}\n/* event text content */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event .fc-event-main {\n position: relative;\n z-index: 2;\n }\n/* dragging */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-dragging:not(.fc-event-selected) { /* MOUSE */\n opacity: 0.75;\n }\n.fc-event-dragging.fc-event-selected { /* TOUCH */\n box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);\n }\n/* resizing */\n/* ---------------------------------------------------------------------------------------------------- */\n/* (subclasses should hone positioning for touch and non-touch) */\n.fc-event .fc-event-resizer {\n display: none;\n position: absolute;\n z-index: 4;\n }\n.fc-event:hover, /* MOUSE */\n.fc-event-selected { /* TOUCH */\n\n}\n.fc-event:hover .fc-event-resizer, .fc-event-selected .fc-event-resizer {\n display: block;\n }\n.fc-event-selected .fc-event-resizer {\n border-radius: 4px;\n border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);\n border-width: 1px;\n border-width: var(--fc-event-resizer-dot-border-width, 1px);\n width: 8px;\n width: var(--fc-event-resizer-dot-total-width, 8px);\n height: 8px;\n height: var(--fc-event-resizer-dot-total-width, 8px);\n border-style: solid;\n border-color: inherit;\n background: #fff;\n background: var(--fc-page-bg-color, #fff)\n\n /* expand hit area */\n\n }\n.fc-event-selected .fc-event-resizer:before {\n content: \'\';\n position: absolute;\n top: -20px;\n left: -20px;\n right: -20px;\n bottom: -20px;\n }\n/* selecting (always TOUCH) */\n/* OR, focused by tab-index */\n/* (TODO: maybe not the best focus-styling for .fc-daygrid-dot-event) */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-selected,\n.fc-event:focus {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)\n\n /* expand hit area (subclasses should expand) */\n\n}\n.fc-event-selected:before, .fc-event:focus:before {\n content: "";\n position: absolute;\n z-index: 3;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc-event-selected,\n.fc-event:focus {\n\n /* dimmer effect */\n\n}\n.fc-event-selected:after, .fc-event:focus:after {\n content: "";\n background: rgba(0, 0, 0, 0.25);\n background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n z-index: 1;\n\n /* assume there\'s a border on all sides. overcome it. */\n /* sometimes there\'s NOT a border, in which case the dimmer will go over */\n /* an adjacent border, which looks fine. */\n top: -1px;\n left: -1px;\n right: -1px;\n bottom: -1px;\n }\n/*\nA HORIZONTAL event\n*/\n.fc-h-event { /* allowed to be top-level */\n display: block;\n border: 1px solid #3788d8;\n border: 1px solid var(--fc-event-border-color, #3788d8);\n background-color: #3788d8;\n background-color: var(--fc-event-bg-color, #3788d8)\n\n}\n.fc-h-event .fc-event-main {\n color: #fff;\n color: var(--fc-event-text-color, #fff);\n }\n.fc-h-event .fc-event-main-frame {\n display: flex; /* for make fc-event-title-container expand */\n }\n.fc-h-event .fc-event-time {\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event .fc-event-title-container { /* serves as a container for the sticky cushion */\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-h-event .fc-event-title {\n display: inline-block; /* need this to be sticky cross-browser */\n vertical-align: top; /* for not messing up line-height */\n left: 0; /* for sticky */\n right: 0; /* for sticky */\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event.fc-event-selected:before {\n /* expand hit area */\n top: -10px;\n bottom: -10px;\n }\n/* adjust border and border-radius (if there is any) for non-start/end */\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-left-width: 0;\n}\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right-width: 0;\n}\n/* resizers */\n.fc-h-event:not(.fc-event-selected) .fc-event-resizer {\n top: 0;\n bottom: 0;\n width: 8px;\n width: var(--fc-event-resizer-thickness, 8px);\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {\n cursor: w-resize;\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {\n cursor: e-resize;\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n/* resizers for TOUCH */\n.fc-h-event.fc-event-selected .fc-event-resizer {\n top: 50%;\n margin-top: -4px;\n margin-top: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc .fc-popover {\n position: absolute;\n z-index: 9999;\n box-shadow: 0 2px 6px rgba(0,0,0,.15);\n }\n.fc .fc-popover-header {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 3px 4px;\n }\n.fc .fc-popover-title {\n margin: 0 2px;\n }\n.fc .fc-popover-close {\n cursor: pointer;\n opacity: 0.65;\n font-size: 1.1em;\n }\n.fc-theme-standard .fc-popover {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n }\n.fc-theme-standard .fc-popover-header {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n',"",{version:3,sources:["webpack://./node_modules/@fullcalendar/common/main.css"],names:[],mappings:";AACA,+BAA+B;AAC/B,kEAAkE;AAClE;4BAC4B,oCAAoC;EAC9D,mBAAmB;AACrB;;AAEA,+DAA+D;AAC/D;EACE,yBAAyB;KACtB,sBAAsB;MACrB,qBAAqB;UACjB,iBAAiB;EACzB,2BAA2B;EAC3B,6CAA6C;AAC/C;AACA;EACE,iCAAiC;EACjC,aAAa;EACb,sBAAsB;;EAEtB;AACF;AACA;;;;IAII,sBAAsB;EACxB;AACF;IACI,yBAAyB;IACzB,iBAAiB;IACjB,cAAc,EAAE,4BAA4B;EAC9C;AACF;IACI,kBAAkB;EACpB;AACF;;IAEI,mBAAmB;IACnB,UAAU;EACZ;AACF;IACI,eAAe;EACjB;AACF;IACI,0BAA0B;EAC5B;AACF;EACE,cAAc;EACd,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;;IAEI,sBAAsB;IACtB,8CAA8C;EAChD;AACF,0FAA0F;AAC1F,sDAAsD;AACtD,+BAA+B;AAC/B;;IAEI,kBAAkB;EACpB;;AAEF;EACE,sBAAsB;EACtB,+DAA4mG;EAC5mG,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,iBAAiB;EACjB,qBAAqB;EACrB,UAAU;EACV,WAAW;EACX,kBAAkB;EAClB,yBAAyB;KACtB,sBAAsB;MACrB,qBAAqB;UACjB,iBAAiB;;EAEzB,+EAA+E;EAC/E,iCAAiC;EACjC,WAAW;EACX,kBAAkB;EAClB,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,cAAc;;EAEd,sCAAsC;EACtC,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;AACA;;;;;CAKC;AACD;;EAEE,UAAU;;AAEZ;AACA;IACI,gBAAgB;IAChB,iBAAiB;IACjB,oBAAoB;IACpB,SAAS;IACT,oBAAoB;IACpB,kBAAkB;IAClB,oBAAoB;EACtB;AACF;IACI,mBAAmB;IACnB,0CAA0C;EAC5C;AACF;IACI,0BAA0B;EAC5B;AACF;IACI,eAAe;EACjB;AACF;IACI,UAAU;IACV,kBAAkB;EACpB;AACF;;EAEE,UAAU;;AAEZ;AACA;IACI,qBAAqB;IACrB,gBAAgB;IAChB,kBAAkB;IAClB,sBAAsB;IACtB,yBAAyB;OACtB,sBAAsB;QACrB,qBAAqB;YACjB,iBAAiB;IACzB,6BAA6B;IAC7B,6BAA6B;IAC7B,qBAAqB;IACrB,cAAc;IACd,gBAAgB;IAChB,qBAAqB;EACvB;AACF;IACI,qBAAqB;EACvB;AACF;IACI,UAAU;IACV,+CAA+C;EACjD;AACF;IACI,aAAa;EACf;AACF;;EAEE,uBAAuB;;AAEzB;AACA;IACI,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,oDAAoD;IACpD,qBAAqB;IACrB,oDAAoD;EACtD;AACF;IACI,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,0DAA0D;IAC1D,qBAAqB;IACrB,0DAA0D;EAC5D;AACF,kCAAkC,YAAY;IAC1C,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,oDAAoD;IACpD,qBAAqB;IACrB,oDAAoD,EAAE,qBAAqB;EAC7E;AACF;IACI,+CAA+C;EACjD;AACF;;IAEI,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,2DAA2D;IAC3D,qBAAqB;IACrB,2DAA2D;EAC7D;AACF;;IAEI,+CAA+C;EACjD;AACF;;EAEE,yBAAyB;;AAE3B;AACA;IACI,sBAAsB;IACtB,gBAAgB,EAAE,gGAAgG;EACpH;AACF;IACI,kBAAkB;IAClB,oBAAoB;IACpB,sBAAsB;EACxB;AACF;IACI,kBAAkB;IAClB,cAAc;EAChB;AACF;IACI,UAAU;EACZ;AACF;;;IAGI,UAAU;EACZ;AACF;IACI,iBAAiB;IACjB,yBAAyB;IACzB,4BAA4B;EAC9B;AACF;IACI,0BAA0B;IAC1B,6BAA6B;EAC/B;AACF;IACI,kBAAkB;IAClB,0BAA0B;IAC1B,6BAA6B;EAC/B;AACF;IACI,yBAAyB;IACzB,4BAA4B;EAC9B;AACF;IACI,aAAa;IACb,8BAA8B;IAC9B,mBAAmB;EACrB;AACF;IACI,oBAAoB;EACtB;AACF;IACI,iBAAiB;EACnB;AACF;IACI,iBAAiB;IACjB,SAAS;EACX;AACF;IACI,kBAAkB,EAAE,kBAAkB;EACxC;AACF;IACI,mBAAmB,EAAE,kBAAkB;EACzC;AACF,oCAAoC,0EAA0E;IAC1G,2BAA2B;EAC7B;AACF;IACI,iCAAiC;IACjC,kBAAkB,EAAE,uCAAuC;EAC7D;AACF;IACI,YAAY;EACd;AACF;IACI,kBAAkB;IAClB,MAAM;IACN,QAAQ;IACR,OAAO;IACP,SAAS;EACX;AACF;IACI,kBAAkB;IAClB,gBAAgB;IAChB,cAAc;MACZ,uFAAuF;MACvF,iCAAiC;EACrC;AACF;IACI,YAAY;EACd;AACF,wDAAwD,oBAAoB;IACxE,cAAc;EAChB;AACF;IACI,sBAAsB;IACtB,8CAA8C,EAAE,+BAA+B;EACjF;AACF;+BAC+B,+BAA+B;MACxD,WAAW,EAAE,0CAA0C;MACvD,mBAAmB;IACrB;AACJ,2BAA2B,iBAAiB;MACtC,wBAAwB;MACxB,yBAAyB;MACzB,0BAA0B;IAC5B;AACJ;;IAEI,yBAAyB;IACzB,qBAAqB;IACrB,sBAAsB;;EAExB;AACF;IACI,YAAY;EACd;AACF,6BAA6B,WAAW;IACpC,UAAU,EAAE,+BAA+B;;EAE7C;AACF;MACM,WAAW,EAAE,wEAAwE;IACvF;AACJ;MACM,WAAW;QACT,+FAA+F;QAC/F,qCAAqC;IACzC;AACJ;MACM,YAAY,EAAE,oCAAoC;IACpD;AACJ;IACI,mBAAmB;IACnB,oBAAoB;EACtB;AACF;;IAEI,sBAAsB;EACxB;AACF;;IAEI,2BAA2B,EAAE,qCAAqC;EACpE;AACF;;EAEE,eAAe;;AAEjB;AACA;IACI,gBAAgB;IAChB,yCAAyC;IACzC,gBAAgB;IAChB,UAAU,EAAE,cAAc;IAC1B,mCAAmC;EACrC;AACF;IACI,MAAM,EAAE,mDAAmD;MACzD,kCAAkC;EACtC;AACF;IACI,SAAS,EAAE,wDAAwD;EACrE;AACF,iCAAiC,6BAA6B;IAC1D,WAAW,EAAE,sCAAsC;IACnD,mBAAmB;EACrB;AACF,aAAa,8CAA8C;EACzD,gBAAgB;AAClB;AACA;IACI,YAAY,EAAE,qDAAqD;IACnE,kBAAkB;EACpB;AACF;;EAEE,+DAA+D;;AAEjE;AACA;IACI,kBAAkB;IAClB,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;EACT;AACF;IACI,qBAAqB,EAAE,uDAAuD;IAC9E,gBAAgB;EAClB;AACF;;;IAGI,qFAAqF;IACrF,kBAAkB;IAClB,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;EACX;AACF;IACI,oCAAoC;IACpC,kEAAkE;EACpE;AACF;IACI,8BAA8B;IAC9B,wDAAwD;IACxD,YAAY;IACZ;EACF;AACF;MACM,YAAY;MACZ,gBAAgB;MAChB,2CAA2C;MAC3C,kBAAkB;IACpB;AACJ;IACI,oCAAoC;IACpC,+DAA+D;EACjE;AACF;;IAEI,oCAAoC;IACpC,gEAAgE;EAClE;AACF,gBAAgB;AAChB,yGAAyG;AACzG;;EAEE,qBAAqB;AACvB;AACA,WAAW;AACX;;EAEE,eAAe;AACjB;AACA,uBAAuB;AACvB,yGAAyG;AACzG;IACI,kBAAkB;IAClB,UAAU;EACZ;AACF,aAAa;AACb,yGAAyG;AACzG,6CAA6C,UAAU;IACnD,aAAa;EACf;AACF,uCAAuC,UAAU;IAC7C,wCAAwC;EAC1C;AACF,aAAa;AACb,yGAAyG;AACzG,iEAAiE;AACjE;IACI,aAAa;IACb,kBAAkB;IAClB,UAAU;EACZ;AACF;qBACqB,UAAU;;AAE/B;AACA;IACI,cAAc;EAChB;AACF;IACI,kBAAkB;IAClB,qEAAqE;IACrE,iBAAiB;IACjB,2DAA2D;IAC3D,UAAU;IACV,mDAAmD;IACnD,WAAW;IACX,oDAAoD;IACpD,mBAAmB;IACnB,qBAAqB;IACrB,gBAAgB;IAChB,wCAAwC;;IAExC,oBAAoB;;EAEtB;AACF;MACM,WAAW;MACX,kBAAkB;MAClB,UAAU;MACV,WAAW;MACX,YAAY;MACZ,aAAa;IACf;AACJ,6BAA6B;AAC7B,6BAA6B;AAC7B,uEAAuE;AACvE,yGAAyG;AACzG;;EAEE,uCAAuC;;EAEvC,+CAA+C;;AAEjD;AACA;IACI,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;EACX;AACF;;;EAGE,kBAAkB;;AAEpB;AACA;IACI,WAAW;IACX,+BAA+B;IAC/B,uEAAuE;IACvE,kBAAkB;IAClB,UAAU;;IAEV,uDAAuD;IACvD,0EAA0E;IAC1E,0CAA0C;IAC1C,SAAS;IACT,UAAU;IACV,WAAW;IACX,YAAY;EACd;AACF;;CAEC;AACD,cAAc,4BAA4B;EACxC,cAAc;EACd,yBAAyB;EACzB,uDAAuD;EACvD,yBAAyB;EACzB;;AAEF;AACA;IACI,WAAW;IACX,uCAAuC;EACzC;AACF;IACI,aAAa,EAAE,6CAA6C;EAC9D;AACF;IACI,eAAe,EAAE,kCAAkC;IACnD,gBAAgB;EAClB;AACF,wCAAwC,iDAAiD;IACrF,YAAY;IACZ,cAAc;IACd,YAAY,EAAE,iDAAiD;EACjE;AACF;IACI,qBAAqB,EAAE,yCAAyC;IAChE,mBAAmB,EAAE,mCAAmC;IACxD,OAAO,GAAG,eAAe;IACzB,QAAQ,EAAE,eAAe;IACzB,eAAe,EAAE,kCAAkC;IACnD,gBAAgB;EAClB;AACF;IACI,oBAAoB;IACpB,UAAU;IACV,aAAa;EACf;AACF,wEAAwE;AACxE;;EAEE,yBAAyB;EACzB,4BAA4B;EAC5B,oBAAoB;AACtB;AACA;;EAEE,0BAA0B;EAC1B,6BAA6B;EAC7B,qBAAqB;AACvB;AACA,aAAa;AACb;EACE,MAAM;EACN,SAAS;EACT,UAAU;EACV,6CAA6C;AAC/C;AACA;;EAEE,gBAAgB;EAChB,UAAU;EACV,yDAAyD;AAC3D;AACA;;EAEE,gBAAgB;EAChB,WAAW;EACX,0DAA0D;AAC5D;AACA,uBAAuB;AACvB;EACE,QAAQ;EACR,gBAAgB;EAChB,qEAAqE;AACvE;AACA;;EAEE,UAAU;EACV,+DAA+D;AACjE;AACA;;EAEE,WAAW;EACX,gEAAgE;AAClE;AACA;IACI,kBAAkB;IAClB,aAAa;IACb,qCAAqC;EACvC;AACF;IACI,aAAa;IACb,mBAAmB;IACnB,8BAA8B;IAC9B,mBAAmB;IACnB,gBAAgB;EAClB;AACF;IACI,aAAa;EACf;AACF;IACI,eAAe;IACf,aAAa;IACb,gBAAgB;EAClB;AACF;IACI,sBAAsB;IACtB,8CAA8C;IAC9C,gBAAgB;IAChB,yCAAyC;EAC3C;AACF;IACI,oCAAoC;IACpC,gEAAgE;EAClE",sourcesContent:['\n/* classes attached to <body> */\n/* TODO: make fc-event selector work when calender in shadow DOM */\n.fc-not-allowed,\n.fc-not-allowed .fc-event { /* override events\' custom cursors */\n cursor: not-allowed;\n}\n\n/* TODO: not attached to body. attached to specific els. move */\n.fc-unselectable {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.fc {\n /* layout of immediate children */\n display: flex;\n flex-direction: column;\n\n font-size: 1em\n}\n.fc,\n .fc *,\n .fc *:before,\n .fc *:after {\n box-sizing: border-box;\n }\n.fc table {\n border-collapse: collapse;\n border-spacing: 0;\n font-size: 1em; /* normalize cross-browser */\n }\n.fc th {\n text-align: center;\n }\n.fc th,\n .fc td {\n vertical-align: top;\n padding: 0;\n }\n.fc a[data-navlink] {\n cursor: pointer;\n }\n.fc a[data-navlink]:hover {\n text-decoration: underline;\n }\n.fc-direction-ltr {\n direction: ltr;\n text-align: left;\n}\n.fc-direction-rtl {\n direction: rtl;\n text-align: right;\n}\n.fc-theme-standard td,\n .fc-theme-standard th {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n }\n/* for FF, which doesn\'t expand a 100% div within a table cell. use absolute positioning */\n/* inner-wrappers are responsible for being absolute */\n/* TODO: best place for this? */\n.fc-liquid-hack td,\n .fc-liquid-hack th {\n position: relative;\n }\n\n@font-face {\n font-family: \'fcicons\';\n src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format(\'truetype\');\n font-weight: normal;\n font-style: normal;\n}\n\n.fc-icon {\n /* added for fc */\n display: inline-block;\n width: 1em;\n height: 1em;\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'fcicons\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.fc-icon-chevron-left:before {\n content: "\\e900";\n}\n\n.fc-icon-chevron-right:before {\n content: "\\e901";\n}\n\n.fc-icon-chevrons-left:before {\n content: "\\e902";\n}\n\n.fc-icon-chevrons-right:before {\n content: "\\e903";\n}\n\n.fc-icon-minus-square:before {\n content: "\\e904";\n}\n\n.fc-icon-plus-square:before {\n content: "\\e905";\n}\n\n.fc-icon-x:before {\n content: "\\e906";\n}\n/*\nLots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css\n\nThese styles only apply when the standard-theme is activated.\nWhen it\'s NOT activated, the fc-button classes won\'t even be in the DOM.\n*/\n.fc {\n\n /* reset */\n\n}\n.fc .fc-button {\n border-radius: 0;\n overflow: visible;\n text-transform: none;\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n }\n.fc .fc-button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n.fc .fc-button {\n -webkit-appearance: button;\n }\n.fc .fc-button:not(:disabled) {\n cursor: pointer;\n }\n.fc .fc-button::-moz-focus-inner {\n padding: 0;\n border-style: none;\n }\n.fc {\n\n /* theme */\n\n}\n.fc .fc-button {\n display: inline-block;\n font-weight: 400;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border: 1px solid transparent;\n padding: 0.4em 0.65em;\n font-size: 1em;\n line-height: 1.5;\n border-radius: 0.25em;\n }\n.fc .fc-button:hover {\n text-decoration: none;\n }\n.fc .fc-button:focus {\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);\n }\n.fc .fc-button:disabled {\n opacity: 0.65;\n }\n.fc {\n\n /* "primary" coloring */\n\n}\n.fc .fc-button-primary {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50);\n }\n.fc .fc-button-primary:hover {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1e2b37;\n background-color: var(--fc-button-hover-bg-color, #1e2b37);\n border-color: #1a252f;\n border-color: var(--fc-button-hover-border-color, #1a252f);\n }\n.fc .fc-button-primary:disabled { /* not DRY */\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50); /* overrides :hover */\n }\n.fc .fc-button-primary:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc .fc-button-primary:not(:disabled):active,\n .fc .fc-button-primary:not(:disabled).fc-button-active {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1a252f;\n background-color: var(--fc-button-active-bg-color, #1a252f);\n border-color: #151e27;\n border-color: var(--fc-button-active-border-color, #151e27);\n }\n.fc .fc-button-primary:not(:disabled):active:focus,\n .fc .fc-button-primary:not(:disabled).fc-button-active:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc {\n\n /* icons within buttons */\n\n}\n.fc .fc-button .fc-icon {\n vertical-align: middle;\n font-size: 1.5em; /* bump up the size (but don\'t make it bigger than line-height of button, which is 1.5em also) */\n }\n.fc .fc-button-group {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n }\n.fc .fc-button-group > .fc-button {\n position: relative;\n flex: 1 1 auto;\n }\n.fc .fc-button-group > .fc-button:hover {\n z-index: 1;\n }\n.fc .fc-button-group > .fc-button:focus,\n .fc .fc-button-group > .fc-button:active,\n .fc .fc-button-group > .fc-button.fc-button-active {\n z-index: 1;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {\n margin-right: -1px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc .fc-toolbar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n.fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: 1.5em;\n }\n.fc .fc-toolbar.fc-footer-toolbar {\n margin-top: 1.5em;\n }\n.fc .fc-toolbar-title {\n font-size: 1.75em;\n margin: 0;\n }\n.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {\n margin-left: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar > * > :not(:first-child) {\n margin-right: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar-ltr { /* when the toolbar-chunk positioning system is explicitly left-to-right */\n flex-direction: row-reverse;\n }\n.fc .fc-scroller {\n -webkit-overflow-scrolling: touch;\n position: relative; /* for abs-positioned elements within */\n }\n.fc .fc-scroller-liquid {\n height: 100%;\n }\n.fc .fc-scroller-liquid-absolute {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n }\n.fc .fc-scroller-harness {\n position: relative;\n overflow: hidden;\n direction: ltr;\n /* hack for chrome computing the scroller\'s right/left wrong for rtl. undone below... */\n /* TODO: demonstrate in codepen */\n }\n.fc .fc-scroller-harness-liquid {\n height: 100%;\n }\n.fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */\n direction: rtl;\n }\n.fc-theme-standard .fc-scrollgrid {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd); /* bootstrap does this. match */\n }\n.fc .fc-scrollgrid,\n .fc .fc-scrollgrid table { /* all tables (self included) */\n width: 100%; /* because tables don\'t normally do this */\n table-layout: fixed;\n }\n.fc .fc-scrollgrid table { /* inner tables */\n border-top-style: hidden;\n border-left-style: hidden;\n border-right-style: hidden;\n }\n.fc .fc-scrollgrid {\n\n border-collapse: separate;\n border-right-width: 0;\n border-bottom-width: 0;\n\n }\n.fc .fc-scrollgrid-liquid {\n height: 100%;\n }\n.fc .fc-scrollgrid-section { /* a <tr> */\n height: 1px /* better than 0, for firefox */\n\n }\n.fc .fc-scrollgrid-section > td {\n height: 1px; /* needs a height so inner div within grow. better than 0, for firefox */\n }\n.fc .fc-scrollgrid-section table {\n height: 1px;\n /* for most browsers, if a height isn\'t set on the table, can\'t do liquid-height within cells */\n /* serves as a min-height. harmless */\n }\n.fc .fc-scrollgrid-section-liquid > td {\n height: 100%; /* better than `auto`, for firefox */\n }\n.fc .fc-scrollgrid-section > * {\n border-top-width: 0;\n border-left-width: 0;\n }\n.fc .fc-scrollgrid-section-header > *,\n .fc .fc-scrollgrid-section-footer > * {\n border-bottom-width: 0;\n }\n.fc .fc-scrollgrid-section-body table,\n .fc .fc-scrollgrid-section-footer table {\n border-bottom-style: hidden; /* head keeps its bottom border tho */\n }\n.fc {\n\n /* stickiness */\n\n}\n.fc .fc-scrollgrid-section-sticky > * {\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n position: sticky;\n z-index: 3; /* TODO: var */\n /* TODO: box-shadow when sticking */\n }\n.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {\n top: 0; /* because border-sharing causes a gap at the top */\n /* TODO: give safari -1. has bug */\n }\n.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky > * {\n bottom: 0; /* known bug: bottom-stickiness doesn\'t work in safari */\n }\n.fc .fc-scrollgrid-sticky-shim { /* for horizontal scrollbar */\n height: 1px; /* needs height to create scrollbars */\n margin-bottom: -1px;\n }\n.fc-sticky { /* no .fc wrap because used as child of body */\n position: sticky;\n}\n.fc .fc-view-harness {\n flex-grow: 1; /* because this harness is WITHIN the .fc\'s flexbox */\n position: relative;\n }\n.fc {\n\n /* when the harness controls the height, make the view liquid */\n\n}\n.fc .fc-view-harness-active > .fc-view {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc .fc-col-header-cell-cushion {\n display: inline-block; /* x-browser for when sticky (when multi-tier header) */\n padding: 2px 4px;\n }\n.fc .fc-bg-event,\n .fc .fc-non-business,\n .fc .fc-highlight {\n /* will always have a harness with position:relative/absolute, so absolutely expand */\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc .fc-non-business {\n background: rgba(215, 215, 215, 0.3);\n background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));\n }\n.fc .fc-bg-event {\n background: rgb(143, 223, 130);\n background: var(--fc-bg-event-color, rgb(143, 223, 130));\n opacity: 0.3;\n opacity: var(--fc-bg-event-opacity, 0.3)\n }\n.fc .fc-bg-event .fc-event-title {\n margin: .5em;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n font-style: italic;\n }\n.fc .fc-highlight {\n background: rgba(188, 232, 241, 0.3);\n background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));\n }\n.fc .fc-cell-shaded,\n .fc .fc-day-disabled {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n/* link resets */\n/* ---------------------------------------------------------------------------------------------------- */\na.fc-event,\na.fc-event:hover {\n text-decoration: none;\n}\n/* cursor */\n.fc-event[href],\n.fc-event.fc-event-draggable {\n cursor: pointer;\n}\n/* event text content */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event .fc-event-main {\n position: relative;\n z-index: 2;\n }\n/* dragging */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-dragging:not(.fc-event-selected) { /* MOUSE */\n opacity: 0.75;\n }\n.fc-event-dragging.fc-event-selected { /* TOUCH */\n box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);\n }\n/* resizing */\n/* ---------------------------------------------------------------------------------------------------- */\n/* (subclasses should hone positioning for touch and non-touch) */\n.fc-event .fc-event-resizer {\n display: none;\n position: absolute;\n z-index: 4;\n }\n.fc-event:hover, /* MOUSE */\n.fc-event-selected { /* TOUCH */\n\n}\n.fc-event:hover .fc-event-resizer, .fc-event-selected .fc-event-resizer {\n display: block;\n }\n.fc-event-selected .fc-event-resizer {\n border-radius: 4px;\n border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);\n border-width: 1px;\n border-width: var(--fc-event-resizer-dot-border-width, 1px);\n width: 8px;\n width: var(--fc-event-resizer-dot-total-width, 8px);\n height: 8px;\n height: var(--fc-event-resizer-dot-total-width, 8px);\n border-style: solid;\n border-color: inherit;\n background: #fff;\n background: var(--fc-page-bg-color, #fff)\n\n /* expand hit area */\n\n }\n.fc-event-selected .fc-event-resizer:before {\n content: \'\';\n position: absolute;\n top: -20px;\n left: -20px;\n right: -20px;\n bottom: -20px;\n }\n/* selecting (always TOUCH) */\n/* OR, focused by tab-index */\n/* (TODO: maybe not the best focus-styling for .fc-daygrid-dot-event) */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-selected,\n.fc-event:focus {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)\n\n /* expand hit area (subclasses should expand) */\n\n}\n.fc-event-selected:before, .fc-event:focus:before {\n content: "";\n position: absolute;\n z-index: 3;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc-event-selected,\n.fc-event:focus {\n\n /* dimmer effect */\n\n}\n.fc-event-selected:after, .fc-event:focus:after {\n content: "";\n background: rgba(0, 0, 0, 0.25);\n background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n z-index: 1;\n\n /* assume there\'s a border on all sides. overcome it. */\n /* sometimes there\'s NOT a border, in which case the dimmer will go over */\n /* an adjacent border, which looks fine. */\n top: -1px;\n left: -1px;\n right: -1px;\n bottom: -1px;\n }\n/*\nA HORIZONTAL event\n*/\n.fc-h-event { /* allowed to be top-level */\n display: block;\n border: 1px solid #3788d8;\n border: 1px solid var(--fc-event-border-color, #3788d8);\n background-color: #3788d8;\n background-color: var(--fc-event-bg-color, #3788d8)\n\n}\n.fc-h-event .fc-event-main {\n color: #fff;\n color: var(--fc-event-text-color, #fff);\n }\n.fc-h-event .fc-event-main-frame {\n display: flex; /* for make fc-event-title-container expand */\n }\n.fc-h-event .fc-event-time {\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event .fc-event-title-container { /* serves as a container for the sticky cushion */\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-h-event .fc-event-title {\n display: inline-block; /* need this to be sticky cross-browser */\n vertical-align: top; /* for not messing up line-height */\n left: 0; /* for sticky */\n right: 0; /* for sticky */\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event.fc-event-selected:before {\n /* expand hit area */\n top: -10px;\n bottom: -10px;\n }\n/* adjust border and border-radius (if there is any) for non-start/end */\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-left-width: 0;\n}\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right-width: 0;\n}\n/* resizers */\n.fc-h-event:not(.fc-event-selected) .fc-event-resizer {\n top: 0;\n bottom: 0;\n width: 8px;\n width: var(--fc-event-resizer-thickness, 8px);\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {\n cursor: w-resize;\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {\n cursor: e-resize;\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n/* resizers for TOUCH */\n.fc-h-event.fc-event-selected .fc-event-resizer {\n top: 50%;\n margin-top: -4px;\n margin-top: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc .fc-popover {\n position: absolute;\n z-index: 9999;\n box-shadow: 0 2px 6px rgba(0,0,0,.15);\n }\n.fc .fc-popover-header {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 3px 4px;\n }\n.fc .fc-popover-title {\n margin: 0 2px;\n }\n.fc .fc-popover-close {\n cursor: pointer;\n opacity: 0.65;\n font-size: 1.1em;\n }\n.fc-theme-standard .fc-popover {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n }\n.fc-theme-standard .fc-popover-header {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n'],sourceRoot:""}]);const f=u},2283:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'\n\n .fc .fc-resource-timeline-divider {\n width: 3px; /* important to have width to shrink this cell. no cross-browser problems */\n cursor: col-resize;\n }\n\n.fc .fc-resource-group {\n /* make it look less like a <th> */\n font-weight: inherit;\n text-align: inherit;\n }\n\n.fc {\n\n\n /* will match horizontal groups in the datagrid AND group lanes in the timeline area */\n\n}\n\n.fc .fc-resource-timeline .fc-resource-group:not([rowspan]) {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n\n.fc .fc-timeline-lane-frame {\n position: relative; /* contains the fc-timeline-bg container, which liquidly expands */\n /* the height is explicitly set by row-height-sync */\n }\n\n.fc .fc-timeline-overlap-enabled .fc-timeline-lane-frame .fc-timeline-events { /* has height set on it */\n box-sizing: content-box; /* padding no longer part of height */\n padding-bottom: 10px; /* give extra spacing underneath for selecting */\n }\n\n/* hack to make bg expand to lane\'s full height in resource-timeline with expandRows (#6134) */\n.fc-timeline-body-expandrows td.fc-timeline-lane {\n position: relative;\n }\n.fc-timeline-body-expandrows .fc-timeline-lane-frame {\n position: static;\n }\n/* the "frame" */\n.fc-datagrid-cell-frame-liquid {\n height: 100%; /* needs liquid hack */\n}\n.fc-liquid-hack .fc-datagrid-cell-frame-liquid {\n height: auto;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc {\n\n /* the "frame" in a HEADER */\n /* needs to position the column resizer */\n /* needs to vertically center content */\n\n}\n.fc .fc-datagrid-header .fc-datagrid-cell-frame {\n position: relative; /* for resizer */\n display: flex;\n justify-content: flex-start; /* horizontal align (natural left/right) */\n align-items: center; /* vertical align */\n }\n.fc {\n\n /* the column resizer (only in HEADER) */\n\n}\n.fc .fc-datagrid-cell-resizer {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0;\n width: 5px;\n cursor: col-resize;\n }\n.fc {\n\n /* the cushion */\n\n}\n.fc .fc-datagrid-cell-cushion {\n padding: 8px;\n white-space: nowrap;\n overflow: hidden; /* problem for col resizer :( */\n }\n.fc {\n\n /* expander icons */\n\n}\n.fc .fc-datagrid-expander {\n cursor: pointer;\n opacity: 0.65\n\n }\n.fc .fc-datagrid-expander .fc-icon { /* the expander and spacers before the expander */\n display: inline-block;\n width: 1em; /* ensure constant width, esp for empty icons */\n }\n.fc .fc-datagrid-expander-placeholder {\n cursor: auto;\n }\n.fc .fc-resource-timeline-flat .fc-datagrid-expander-placeholder {\n display: none;\n }\n.fc-direction-ltr .fc-datagrid-cell-resizer { right: -3px }\n.fc-direction-rtl .fc-datagrid-cell-resizer { left: -3px }\n.fc-direction-ltr .fc-datagrid-expander { margin-right: 3px }\n.fc-direction-rtl .fc-datagrid-expander { margin-left: 3px }\n',"",{version:3,sources:["webpack://./node_modules/@fullcalendar/resource-timeline/main.css"],names:[],mappings:";;EAEE;IACE,UAAU,EAAE,2EAA2E;IACvF,kBAAkB;EACpB;;AAEF;IACI,kCAAkC;IAClC,oBAAoB;IACpB,mBAAmB;EACrB;;AAEF;;;EAGE,sFAAsF;;AAExF;;AAEA;MACM,oCAAoC;MACpC,gEAAgE;IAClE;;AAEJ;IACI,kBAAkB,EAAE,kEAAkE;IACtF,oDAAoD;EACtD;;AAEF,+EAA+E,yBAAyB;IACpG,uBAAuB,EAAE,qCAAqC;IAC9D,oBAAoB,EAAE,gDAAgD;EACxE;;AAEF,8FAA8F;AAC9F;IACI,kBAAkB;EACpB;AACF;IACI,gBAAgB;EAClB;AACF,gBAAgB;AAChB;EACE,YAAY,EAAE,sBAAsB;AACtC;AACA;EACE,YAAY;EACZ,kBAAkB;EAClB,MAAM;EACN,QAAQ;EACR,SAAS;EACT,OAAO;EACP;AACF;;EAEE,4BAA4B;EAC5B,yCAAyC;EACzC,uCAAuC;;AAEzC;AACA;MACM,kBAAkB,EAAE,gBAAgB;MACpC,aAAa;MACb,2BAA2B,EAAE,0CAA0C;MACvE,mBAAmB,EAAE,mBAAmB;IAC1C;AACJ;;EAEE,wCAAwC;;AAE1C;AACA;IACI,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,SAAS;IACT,UAAU;IACV,kBAAkB;EACpB;AACF;;EAEE,gBAAgB;;AAElB;AACA;IACI,YAAY;IACZ,mBAAmB;IACnB,gBAAgB,EAAE,+BAA+B;EACnD;AACF;;EAEE,mBAAmB;;AAErB;AACA;IACI,eAAe;IACf;;EAEF;AACF,qCAAqC,iDAAiD;MAChF,qBAAqB;MACrB,UAAU,EAAE,+CAA+C;IAC7D;AACJ;IACI,YAAY;EACd;AACF;MACM,aAAa;IACf;AACJ,8CAA8C,YAAY;AAC1D,8CAA8C,WAAW;AACzD,0CAA0C,kBAAkB;AAC5D,0CAA0C,iBAAiB",sourcesContent:['\n\n .fc .fc-resource-timeline-divider {\n width: 3px; /* important to have width to shrink this cell. no cross-browser problems */\n cursor: col-resize;\n }\n\n.fc .fc-resource-group {\n /* make it look less like a <th> */\n font-weight: inherit;\n text-align: inherit;\n }\n\n.fc {\n\n\n /* will match horizontal groups in the datagrid AND group lanes in the timeline area */\n\n}\n\n.fc .fc-resource-timeline .fc-resource-group:not([rowspan]) {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n\n.fc .fc-timeline-lane-frame {\n position: relative; /* contains the fc-timeline-bg container, which liquidly expands */\n /* the height is explicitly set by row-height-sync */\n }\n\n.fc .fc-timeline-overlap-enabled .fc-timeline-lane-frame .fc-timeline-events { /* has height set on it */\n box-sizing: content-box; /* padding no longer part of height */\n padding-bottom: 10px; /* give extra spacing underneath for selecting */\n }\n\n/* hack to make bg expand to lane\'s full height in resource-timeline with expandRows (#6134) */\n.fc-timeline-body-expandrows td.fc-timeline-lane {\n position: relative;\n }\n.fc-timeline-body-expandrows .fc-timeline-lane-frame {\n position: static;\n }\n/* the "frame" */\n.fc-datagrid-cell-frame-liquid {\n height: 100%; /* needs liquid hack */\n}\n.fc-liquid-hack .fc-datagrid-cell-frame-liquid {\n height: auto;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc {\n\n /* the "frame" in a HEADER */\n /* needs to position the column resizer */\n /* needs to vertically center content */\n\n}\n.fc .fc-datagrid-header .fc-datagrid-cell-frame {\n position: relative; /* for resizer */\n display: flex;\n justify-content: flex-start; /* horizontal align (natural left/right) */\n align-items: center; /* vertical align */\n }\n.fc {\n\n /* the column resizer (only in HEADER) */\n\n}\n.fc .fc-datagrid-cell-resizer {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0;\n width: 5px;\n cursor: col-resize;\n }\n.fc {\n\n /* the cushion */\n\n}\n.fc .fc-datagrid-cell-cushion {\n padding: 8px;\n white-space: nowrap;\n overflow: hidden; /* problem for col resizer :( */\n }\n.fc {\n\n /* expander icons */\n\n}\n.fc .fc-datagrid-expander {\n cursor: pointer;\n opacity: 0.65\n\n }\n.fc .fc-datagrid-expander .fc-icon { /* the expander and spacers before the expander */\n display: inline-block;\n width: 1em; /* ensure constant width, esp for empty icons */\n }\n.fc .fc-datagrid-expander-placeholder {\n cursor: auto;\n }\n.fc .fc-resource-timeline-flat .fc-datagrid-expander-placeholder {\n display: none;\n }\n.fc-direction-ltr .fc-datagrid-cell-resizer { right: -3px }\n.fc-direction-rtl .fc-datagrid-cell-resizer { left: -3px }\n.fc-direction-ltr .fc-datagrid-expander { margin-right: 3px }\n.fc-direction-rtl .fc-datagrid-expander { margin-left: 3px }\n'],sourceRoot:""}]);const s=a},82622:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(87537),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"\n\n .fc .fc-timeline-body {\n min-height: 100%;\n position: relative;\n z-index: 1; /* scope slots, bg, etc */\n }\n/*\nvertical slots in both the header AND the body\n*/\n.fc .fc-timeline-slots {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0\n }\n.fc .fc-timeline-slots > table {\n height: 100%;\n }\n.fc {\n\n /* border for both header AND body cells */\n\n}\n.fc .fc-timeline-slot-minor {\n border-style: dotted;\n }\n.fc {\n\n /* header cells (aka \"label\") */\n\n}\n.fc .fc-timeline-slot-frame {\n display: flex;\n align-items: center; /* vertical align */\n justify-content: center; /* horizontal align */\n }\n.fc .fc-timeline-header-row-chrono { /* a row of times */\n }\n.fc .fc-timeline-header-row-chrono .fc-timeline-slot-frame {\n justify-content: flex-start; /* horizontal align left or right */\n }\n.fc .fc-timeline-header-row:last-child { /* guaranteed NOT to have sticky elements */\n }\n.fc .fc-timeline-header-row:last-child .fc-timeline-slot-frame {\n /* so text doesn't bleed out and cause extra scroll */\n /* (won't work with sticky elements) */\n overflow: hidden;\n }\n.fc .fc-timeline-slot-cushion {\n padding: 4px 5px; /* TODO: unify with fc-col-header? */\n white-space: nowrap;\n }\n.fc {\n\n /* NOTE: how does the top row of cells get horizontally centered? */\n /* for the non-chrono-row, the fc-sticky system looks for text-align center, */\n /* and it's a fluke that the default browser stylesheet already does this for <th> */\n /* TODO: have StickyScrolling look at natural left coord to detect centeredness. */\n\n}\n/* only owns one side, so can do dotted */\n.fc-direction-ltr .fc-timeline-slot { border-right: 0 !important }\n.fc-direction-rtl .fc-timeline-slot { border-left: 0 !important }\n.fc .fc-timeline-now-indicator-container {\n position: absolute;\n z-index: 4;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n width: 0;\n }\n.fc .fc-timeline-now-indicator-arrow,\n .fc .fc-timeline-now-indicator-line {\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: red;\n border-color: var(--fc-now-indicator-color, red);\n }\n.fc .fc-timeline-now-indicator-arrow {\n margin: 0 -6px; /* 5, then one more to counteract scroller's negative margins */\n\n /* triangle pointing down. TODO: mixin */\n border-width: 6px 5px 0 5px;\n border-left-color: transparent;\n border-right-color: transparent;\n }\n.fc .fc-timeline-now-indicator-line {\n margin: 0 -1px; /* counteract scroller's negative margins */\n bottom: 0;\n border-width: 0 0 0 1px;\n }\n.fc {\n\n /* container */\n\n}\n.fc .fc-timeline-events {\n position: relative;\n z-index: 3;\n width: 0; /* for event positioning. will end up on correct side based on dir */\n }\n.fc {\n\n /* harness */\n\n}\n.fc .fc-timeline-event-harness,\n .fc .fc-timeline-more-link {\n position: absolute;\n top: 0; /* for when when top can't be computed yet */\n /* JS will set tht left/right */\n }\n/* z-index, scoped within fc-timeline-events */\n.fc-timeline-event { z-index: 1 }\n.fc-timeline-event.fc-event-mirror { z-index: 2 }\n.fc-timeline-event {\n position: relative; /* contains things. TODO: make part of fc-h-event and fc-v-event */\n display: flex; /* for v-aligning start/end arrows and making fc-event-main stretch all the way */\n align-items: center;\n border-radius: 0;\n padding: 2px 1px;\n margin-bottom: 1px;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em)\n\n /* time and title spacing */\n /* ---------------------------------------------------------------------------------------------------- */\n}\n.fc-timeline-event .fc-event-main {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-timeline-event .fc-event-time {\n font-weight: bold;\n }\n.fc-timeline-event .fc-event-time,\n .fc-timeline-event .fc-event-title {\n white-space: nowrap;\n padding: 0 2px;\n }\n/* move 1px away from slot line */\n.fc-direction-ltr .fc-timeline-event.fc-event-end,\n .fc-direction-ltr .fc-timeline-more-link {\n margin-right: 1px;\n }\n.fc-direction-rtl .fc-timeline-event.fc-event-end,\n .fc-direction-rtl .fc-timeline-more-link {\n margin-left: 1px;\n }\n/* make event beefier when overlap not allowed */\n.fc-timeline-overlap-disabled .fc-timeline-event {\n padding-top: 5px;\n padding-bottom: 5px;\n margin-bottom: 0;\n}\n/* arrows indicating the event continues into past/future */\n/* ---------------------------------------------------------------------------------------------------- */\n/* part of the flexbox flow */\n.fc-timeline-event:not(.fc-event-start):before,\n.fc-timeline-event:not(.fc-event-end):after {\n content: \"\";\n flex-grow: 0;\n flex-shrink: 0;\n opacity: .5;\n\n /* triangle. TODO: mixin */\n width: 0;\n height: 0;\n margin: 0 1px;\n border: 5px solid #000; /* TODO: var */\n border-top-color: transparent;\n border-bottom-color: transparent;\n}\n/* pointing left */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-start):before,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-end):after {\n border-left: 0;\n}\n/* pointing right */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-end):after,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-start):before {\n border-right: 0;\n}\n/* +more events indicator */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-timeline-more-link {\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n color: inherit;\n color: var(--fc-more-link-text-color, inherit);\n background: #d0d0d0;\n background: var(--fc-more-link-bg-color, #d0d0d0);\n padding: 1px;\n cursor: pointer;\n}\n.fc-timeline-more-link-inner { /* has fc-sticky */\n display: inline-block;\n left: 0;\n right: 0;\n padding: 2px;\n}\n.fc .fc-timeline-bg { /* a container for bg content */\n position: absolute;\n z-index: 2;\n top: 0;\n bottom: 0;\n width: 0;\n left: 0; /* will take precedence when LTR */\n right: 0; /* will take precedence when RTL */ /* TODO: kill */\n }\n.fc .fc-timeline-bg .fc-non-business { z-index: 1 }\n.fc .fc-timeline-bg .fc-bg-event { z-index: 2 }\n.fc .fc-timeline-bg .fc-highlight { z-index: 3 }\n.fc .fc-timeline-bg-harness {\n position: absolute;\n top: 0;\n bottom: 0;\n }\n\n","",{version:3,sources:["webpack://./node_modules/@fullcalendar/timeline/main.css"],names:[],mappings:";;EAEE;IACE,gBAAgB;IAChB,kBAAkB;IAClB,UAAU,EAAE,yBAAyB;EACvC;AACF;;CAEC;AACD;IACI,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN;EACF;AACF;MACM,YAAY;IACd;AACJ;;EAEE,0CAA0C;;AAE5C;AACA;IACI,oBAAoB;EACtB;AACF;;EAEE,+BAA+B;;AAEjC;AACA;IACI,aAAa;IACb,mBAAmB,EAAE,mBAAmB;IACxC,uBAAuB,EAAE,qBAAqB;EAChD;AACF,qCAAqC,mBAAmB;EACtD;AACF;MACM,2BAA2B,EAAE,mCAAmC;IAClE;AACJ,yCAAyC,2CAA2C;EAClF;AACF;MACM,qDAAqD;MACrD,sCAAsC;MACtC,gBAAgB;IAClB;AACJ;IACI,gBAAgB,EAAE,oCAAoC;IACtD,mBAAmB;EACrB;AACF;;EAEE,mEAAmE;EACnE,8EAA8E;EAC9E,oFAAoF;EACpF,kFAAkF;;AAEpF;AACA,yCAAyC;AACzC,sCAAsC,2BAA2B;AACjE,sCAAsC,0BAA0B;AAChE;IACI,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,SAAS;IACT,OAAO;IACP,QAAQ;IACR,QAAQ;EACV;AACF;;IAEI,kBAAkB;IAClB,MAAM;IACN,mBAAmB;IACnB,iBAAiB;IACjB,gDAAgD;EAClD;AACF;IACI,cAAc,EAAE,+DAA+D;;IAE/E,wCAAwC;IACxC,2BAA2B;IAC3B,8BAA8B;IAC9B,+BAA+B;EACjC;AACF;IACI,cAAc,EAAE,2CAA2C;IAC3D,SAAS;IACT,uBAAuB;EACzB;AACF;;EAEE,cAAc;;AAEhB;AACA;IACI,kBAAkB;IAClB,UAAU;IACV,QAAQ,EAAE,oEAAoE;EAChF;AACF;;EAEE,YAAY;;AAEd;AACA;;IAEI,kBAAkB;IAClB,MAAM,EAAE,4CAA4C;IACpD,+BAA+B;EACjC;AACF,8CAA8C;AAC9C,qBAAqB,WAAW;AAChC,qCAAqC,WAAW;AAChD;EACE,kBAAkB,EAAE,kEAAkE;EACtF,aAAa,EAAE,iFAAiF;EAChG,mBAAmB;EACnB,gBAAgB;EAChB,gBAAgB;EAChB,kBAAkB;EAClB,gBAAgB;EAChB,0CAA0C;;EAE1C,2BAA2B;EAC3B,yGAAyG;AAC3G;AACA;IACI,YAAY;IACZ,cAAc;IACd,YAAY,EAAE,iDAAiD;EACjE;AACF;IACI,iBAAiB;EACnB;AACF;;IAEI,mBAAmB;IACnB,cAAc;EAChB;AACF,iCAAiC;AACjC;;IAEI,iBAAiB;EACnB;AACF;;IAEI,gBAAgB;EAClB;AACF,gDAAgD;AAChD;EACE,gBAAgB;EAChB,mBAAmB;EACnB,gBAAgB;AAClB;AACA,2DAA2D;AAC3D,yGAAyG;AACzG,6BAA6B;AAC7B;;EAEE,WAAW;EACX,YAAY;EACZ,cAAc;EACd,WAAW;;EAEX,0BAA0B;EAC1B,QAAQ;EACR,SAAS;EACT,aAAa;EACb,sBAAsB,EAAE,cAAc;EACtC,6BAA6B;EAC7B,gCAAgC;AAClC;AACA,kBAAkB;AAClB;;EAEE,cAAc;AAChB;AACA,mBAAmB;AACnB;;EAEE,eAAe;AACjB;AACA,2BAA2B;AAC3B,yGAAyG;AACzG;EACE,gBAAgB;EAChB,2CAA2C;EAC3C,cAAc;EACd,8CAA8C;EAC9C,mBAAmB;EACnB,iDAAiD;EACjD,YAAY;EACZ,eAAe;AACjB;AACA,+BAA+B,kBAAkB;EAC/C,qBAAqB;EACrB,OAAO;EACP,QAAQ;EACR,YAAY;AACd;AACA,sBAAsB,+BAA+B;IACjD,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,SAAS;IACT,QAAQ;IACR,OAAO,EAAE,kCAAkC;IAC3C,QAAQ,EAAE,kCAAkC,EAAE,eAAe;EAC/D;AACF,uCAAuC,WAAW;AAClD,mCAAmC,WAAW;AAC9C,oCAAoC,WAAW;AAC/C;IACI,kBAAkB;IAClB,MAAM;IACN,SAAS;EACX",sourcesContent:["\n\n .fc .fc-timeline-body {\n min-height: 100%;\n position: relative;\n z-index: 1; /* scope slots, bg, etc */\n }\n/*\nvertical slots in both the header AND the body\n*/\n.fc .fc-timeline-slots {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0\n }\n.fc .fc-timeline-slots > table {\n height: 100%;\n }\n.fc {\n\n /* border for both header AND body cells */\n\n}\n.fc .fc-timeline-slot-minor {\n border-style: dotted;\n }\n.fc {\n\n /* header cells (aka \"label\") */\n\n}\n.fc .fc-timeline-slot-frame {\n display: flex;\n align-items: center; /* vertical align */\n justify-content: center; /* horizontal align */\n }\n.fc .fc-timeline-header-row-chrono { /* a row of times */\n }\n.fc .fc-timeline-header-row-chrono .fc-timeline-slot-frame {\n justify-content: flex-start; /* horizontal align left or right */\n }\n.fc .fc-timeline-header-row:last-child { /* guaranteed NOT to have sticky elements */\n }\n.fc .fc-timeline-header-row:last-child .fc-timeline-slot-frame {\n /* so text doesn't bleed out and cause extra scroll */\n /* (won't work with sticky elements) */\n overflow: hidden;\n }\n.fc .fc-timeline-slot-cushion {\n padding: 4px 5px; /* TODO: unify with fc-col-header? */\n white-space: nowrap;\n }\n.fc {\n\n /* NOTE: how does the top row of cells get horizontally centered? */\n /* for the non-chrono-row, the fc-sticky system looks for text-align center, */\n /* and it's a fluke that the default browser stylesheet already does this for <th> */\n /* TODO: have StickyScrolling look at natural left coord to detect centeredness. */\n\n}\n/* only owns one side, so can do dotted */\n.fc-direction-ltr .fc-timeline-slot { border-right: 0 !important }\n.fc-direction-rtl .fc-timeline-slot { border-left: 0 !important }\n.fc .fc-timeline-now-indicator-container {\n position: absolute;\n z-index: 4;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n width: 0;\n }\n.fc .fc-timeline-now-indicator-arrow,\n .fc .fc-timeline-now-indicator-line {\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: red;\n border-color: var(--fc-now-indicator-color, red);\n }\n.fc .fc-timeline-now-indicator-arrow {\n margin: 0 -6px; /* 5, then one more to counteract scroller's negative margins */\n\n /* triangle pointing down. TODO: mixin */\n border-width: 6px 5px 0 5px;\n border-left-color: transparent;\n border-right-color: transparent;\n }\n.fc .fc-timeline-now-indicator-line {\n margin: 0 -1px; /* counteract scroller's negative margins */\n bottom: 0;\n border-width: 0 0 0 1px;\n }\n.fc {\n\n /* container */\n\n}\n.fc .fc-timeline-events {\n position: relative;\n z-index: 3;\n width: 0; /* for event positioning. will end up on correct side based on dir */\n }\n.fc {\n\n /* harness */\n\n}\n.fc .fc-timeline-event-harness,\n .fc .fc-timeline-more-link {\n position: absolute;\n top: 0; /* for when when top can't be computed yet */\n /* JS will set tht left/right */\n }\n/* z-index, scoped within fc-timeline-events */\n.fc-timeline-event { z-index: 1 }\n.fc-timeline-event.fc-event-mirror { z-index: 2 }\n.fc-timeline-event {\n position: relative; /* contains things. TODO: make part of fc-h-event and fc-v-event */\n display: flex; /* for v-aligning start/end arrows and making fc-event-main stretch all the way */\n align-items: center;\n border-radius: 0;\n padding: 2px 1px;\n margin-bottom: 1px;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em)\n\n /* time and title spacing */\n /* ---------------------------------------------------------------------------------------------------- */\n}\n.fc-timeline-event .fc-event-main {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-timeline-event .fc-event-time {\n font-weight: bold;\n }\n.fc-timeline-event .fc-event-time,\n .fc-timeline-event .fc-event-title {\n white-space: nowrap;\n padding: 0 2px;\n }\n/* move 1px away from slot line */\n.fc-direction-ltr .fc-timeline-event.fc-event-end,\n .fc-direction-ltr .fc-timeline-more-link {\n margin-right: 1px;\n }\n.fc-direction-rtl .fc-timeline-event.fc-event-end,\n .fc-direction-rtl .fc-timeline-more-link {\n margin-left: 1px;\n }\n/* make event beefier when overlap not allowed */\n.fc-timeline-overlap-disabled .fc-timeline-event {\n padding-top: 5px;\n padding-bottom: 5px;\n margin-bottom: 0;\n}\n/* arrows indicating the event continues into past/future */\n/* ---------------------------------------------------------------------------------------------------- */\n/* part of the flexbox flow */\n.fc-timeline-event:not(.fc-event-start):before,\n.fc-timeline-event:not(.fc-event-end):after {\n content: \"\";\n flex-grow: 0;\n flex-shrink: 0;\n opacity: .5;\n\n /* triangle. TODO: mixin */\n width: 0;\n height: 0;\n margin: 0 1px;\n border: 5px solid #000; /* TODO: var */\n border-top-color: transparent;\n border-bottom-color: transparent;\n}\n/* pointing left */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-start):before,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-end):after {\n border-left: 0;\n}\n/* pointing right */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-end):after,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-start):before {\n border-right: 0;\n}\n/* +more events indicator */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-timeline-more-link {\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n color: inherit;\n color: var(--fc-more-link-text-color, inherit);\n background: #d0d0d0;\n background: var(--fc-more-link-bg-color, #d0d0d0);\n padding: 1px;\n cursor: pointer;\n}\n.fc-timeline-more-link-inner { /* has fc-sticky */\n display: inline-block;\n left: 0;\n right: 0;\n padding: 2px;\n}\n.fc .fc-timeline-bg { /* a container for bg content */\n position: absolute;\n z-index: 2;\n top: 0;\n bottom: 0;\n width: 0;\n left: 0; /* will take precedence when LTR */\n right: 0; /* will take precedence when RTL */ /* TODO: kill */\n }\n.fc .fc-timeline-bg .fc-non-business { z-index: 1 }\n.fc .fc-timeline-bg .fc-bg-event { z-index: 2 }\n.fc .fc-timeline-bg .fc-highlight { z-index: 3 }\n.fc .fc-timeline-bg-harness {\n position: absolute;\n top: 0;\n bottom: 0;\n }\n\n"],sourceRoot:""}]);const s=a},61667:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},86461:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(19013),o=n(91857),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.default)(e),o=(0,r.default)(t),a=n.getTime()-o.getTime();return a<0?-1:a>0?1:a}function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.default)(e),s=(0,r.default)(t),l=a(n,s),c=Math.abs((0,o.default)(n,s));n.setFullYear(1584),s.setFullYear(1584);var u=a(n,s)===-l,d=l*(c-Number(u));return 0===d?0:d}},67092:(e,t)=>{"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.getConfirmation=function(e,t){return t(window.confirm(e))},t.supportsHistory=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)},t.supportsPopStateOnHashChange=function(){return-1===window.navigator.userAgent.indexOf("Trident")},t.supportsGoWithoutReloadUsingHash=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")}},88536:(e,t,n)=>{"use strict";t.__esModule=!0,t.locationsAreEqual=t.createLocation=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(14149)),i=s(n(54545)),a=n(3074);function s(e){return e&&e.__esModule?e:{default:e}}t.createLocation=function(e,t,n,i){var s=void 0;"string"==typeof e?(s=(0,a.parsePath)(e)).state=t:(void 0===(s=r({},e)).pathname&&(s.pathname=""),s.search?"?"!==s.search.charAt(0)&&(s.search="?"+s.search):s.search="",s.hash?"#"!==s.hash.charAt(0)&&(s.hash="#"+s.hash):s.hash="",void 0!==t&&void 0===s.state&&(s.state=t));try{s.pathname=decodeURI(s.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+s.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(s.key=n),i?s.pathname?"/"!==s.pathname.charAt(0)&&(s.pathname=(0,o.default)(s.pathname,i.pathname)):s.pathname=i.pathname:s.pathname||(s.pathname="/"),s},t.locationsAreEqual=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,i.default)(e.state,t.state)}},3074:(e,t)=>{"use strict";t.__esModule=!0;t.addLeadingSlash=function(e){return"/"===e.charAt(0)?e:"/"+e},t.stripLeadingSlash=function(e){return"/"===e.charAt(0)?e.substr(1):e};var n=t.hasBasename=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)};t.stripBasename=function(e,t){return n(e,t)?e.substr(t.length):e},t.stripTrailingSlash=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},t.createPath=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},52540:(e,t,n)=>{"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=u(n(30670)),i=u(n(41143)),a=n(88536),s=n(3074),l=u(n(3405)),c=n(67092);function u(e){return e&&e.__esModule?e:{default:e}}var d="hashchange",f={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+(0,s.stripLeadingSlash)(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s.stripLeadingSlash,decodePath:s.addLeadingSlash},slash:{encodePath:s.addLeadingSlash,decodePath:s.addLeadingSlash}},p=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},h=function(e){return window.location.hash=e},g=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)};t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.default)(c.canUseDOM,"Hash history needs a DOM");var t=window.history,n=(0,c.supportsGoWithoutReloadUsingHash)(),u=e.getUserConfirmation,v=void 0===u?c.getConfirmation:u,A=e.hashType,m=void 0===A?"slash":A,y=e.basename?(0,s.stripTrailingSlash)((0,s.addLeadingSlash)(e.basename)):"",C=f[m],E=C.encodePath,b=C.decodePath,w=function(){var e=b(p());return(0,o.default)(!y||(0,s.hasBasename)(e,y),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+y+'".'),y&&(e=(0,s.stripBasename)(e,y)),(0,a.createLocation)(e)},S=(0,l.default)(),D=function(e){r(Z,e),Z.length=t.length,S.notifyListeners(Z.location,Z.action)},R=!1,B=null,I=function(){var e=p(),t=E(e);if(e!==t)g(t);else{var n=w(),r=Z.location;if(!R&&(0,a.locationsAreEqual)(r,n))return;if(B===(0,s.createPath)(n))return;B=null,x(n)}},x=function(e){if(R)R=!1,D();else{S.confirmTransitionTo(e,"POP",v,(function(t){t?D({action:"POP",location:e}):k(e)}))}},k=function(e){var t=Z.location,n=P.lastIndexOf((0,s.createPath)(t));-1===n&&(n=0);var r=P.lastIndexOf((0,s.createPath)(e));-1===r&&(r=0);var o=n-r;o&&(R=!0,U(o))},T=p(),M=E(T);T!==M&&g(M);var z=w(),P=[(0,s.createPath)(z)],H=function(e){return"#"+E(y+(0,s.createPath)(e))},O=function(e,t){(0,o.default)(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",r=(0,a.createLocation)(e,void 0,void 0,Z.location);S.confirmTransitionTo(r,n,v,(function(e){if(e){var t=(0,s.createPath)(r),i=E(y+t);if(p()!==i){B=t,h(i);var a=P.lastIndexOf((0,s.createPath)(Z.location)),l=P.slice(0,-1===a?0:a+1);l.push(t),P=l,D({action:n,location:r})}else(0,o.default)(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),D()}}))},N=function(e,t){(0,o.default)(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",r=(0,a.createLocation)(e,void 0,void 0,Z.location);S.confirmTransitionTo(r,n,v,(function(e){if(e){var t=(0,s.createPath)(r),o=E(y+t);p()!==o&&(B=t,g(o));var i=P.indexOf((0,s.createPath)(Z.location));-1!==i&&(P[i]=t),D({action:n,location:r})}}))},U=function(e){(0,o.default)(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},W=function(){return U(-1)},L=function(){return U(1)},F=0,q=function(e){1===(F+=e)?(0,c.addEventListener)(window,d,I):0===F&&(0,c.removeEventListener)(window,d,I)},_=!1,V=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=S.setPrompt(e);return _||(q(1),_=!0),function(){return _&&(_=!1,q(-1)),t()}},j=function(e){var t=S.appendListener(e);return q(1),function(){q(-1),t()}},Z={length:t.length,action:"POP",location:z,createHref:H,push:O,replace:N,go:U,goBack:W,goForward:L,block:V,listen:j};return Z}},3405:(e,t,n)=>{"use strict";t.__esModule=!0;var r,o=n(30670),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(){var e=null,t=[];return{setPrompt:function(t){return(0,i.default)(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):((0,i.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0,r=function(){n&&e.apply(void 0,arguments)};return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}},47556:(e,t,n)=>{var r=n(88668),o=n(47443),i=n(1196),a=n(29932),s=n(7518),l=n(74757),c=Math.min;e.exports=function(e,t,n){for(var u=n?i:o,d=e[0].length,f=e.length,p=f,h=Array(f),g=1/0,v=[];p--;){var A=e[p];p&&t&&(A=a(A,s(t))),g=c(A.length,g),h[p]=!n&&(t||d>=120&&A.length>=120)?new r(p&&A):void 0}A=e[0];var m=-1,y=h[0];e:for(;++m<d&&v.length<g;){var C=A[m],E=t?t(C):C;if(C=n||0!==C?C:0,!(y?l(y,E):u(v,E,n))){for(p=f;--p;){var b=h[p];if(!(b?l(b,E):u(e[p],E,n)))continue e}y&&y.push(E),v.push(C)}}return v}},24387:(e,t,n)=>{var r=n(29246);e.exports=function(e){return r(e)?e:[]}},71843:(e,t,n)=>{var r=n(29932),o=n(47556),i=n(67206),a=n(5976),s=n(24387),l=n(10928),c=a((function(e){var t=l(e),n=r(e,s);return t===l(n)?t=void 0:n.pop(),n.length&&n[0]===e[0]?o(n,i(t,2)):[]}));e.exports=c},31921:(e,t,n)=>{var r=n(10611);e.exports=function(e,t,n,o){return o="function"==typeof o?o:void 0,null==e?e:r(e,t,n,o)}},77043:(e,t,n)=>{var r=n(21078),o=n(67206),i=n(5976),a=n(45652),s=n(29246),l=n(10928),c=i((function(e){var t=l(e);return s(t)&&(t=void 0),a(r(e,1,s,!0),o(t,2))}));e.exports=c},44049:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(14892);const o=(i=r.Z,a=i.getIn,function(e,t){return function(n){var r=t||function(e){return a(e,"form")};return a(r(n),e+".initial")}});var i,a}}]);
|