1/*! For license information please see 819.d822e831.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunk_heirwealth_webui=self.webpackChunk_heirwealth_webui||[]).push([[819],{29283(e,t,n){n.d(t,{AH:()=>c});var r=n(2579),i=n(88659),o=n(46566);function a(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function s(e,t,n){var r=[],i=(0,o.Rk)(e,r,n);return r.length<2?n:i+t(r)}var l=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(null!=i){var o=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))o=e(i);else for(var a in o="",i)i[a]&&a&&(o&&(o+=" "),o+=a);break;default:o=i}o&&(n&&(n+=" "),n+=o)}}return n},u=function(e){var t=(0,r.A)(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var a=(0,i.J)(n,t.registered,void 0);return(0,o.sk)(t,a,!1),t.key+"-"+a.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return s(t.registered,n,l(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,i.J)(n,t.registered);a(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,i.J)(n,t.registered),s="animation-"+o.name;return a(t,{name:o.name,styles:"@keyframes "+s+"{"+o.styles+"}"}),s},hydrate:function(e){e.forEach(function(e){t.inserted[e]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:o.Rk.bind(null,t.registered),merge:s.bind(null,t.registered,n)}}({key:"css"}),c=(u.flush,u.hydrate,u.cx,u.merge,u.getRegisteredStyles,u.injectGlobal,u.keyframes,u.css);u.sheet,u.cache},89204(e,t,n){n.d(t,{p3z:()=>nt,$GR:()=>mr,s_G:()=>jo,fhD:()=>yn,o3v:()=>qi,IyV:()=>Ri,xRE:()=>Zi,pSS:()=>Mr,gzh:()=>Er,rou:()=>zr,ux1:()=>zo,rrN:()=>Uo,A1b:()=>ro,NC_:()=>oo,mql:()=>ao,p91:()=>di,WDw:()=>Li,_n8:()=>cr,vli:()=>sr,fhX:()=>Cn,Nty:()=>Ao,FK:()=>s,N3M:()=>Oi,knM:()=>$o,vF:()=>Pr,qc:()=>_o,O6g:()=>to,Qnh:()=>lr,kFN:()=>So,iT7:()=>kr,w1c:()=>ur,HOs:()=>Co,XpW:()=>Ti,en1:()=>Oo,$He:()=>so,O3W:()=>jn,y8j:()=>Wo,TYi:()=>hr,q4f:()=>Ar,SUi:()=>qo,Wkc:()=>dr,fij:()=>G,do1:()=>we,QfM:()=>q,J4u:()=>j,iDH:()=>W,_8O:()=>O,on3:()=>cn,AVT:()=>m,BgT:()=>be,LEP:()=>ke,Oh8:()=>Me,ppi:()=>xe,ElE:()=>Hi,N:()=>Nr,qAn:()=>xi,uEb:()=>En,N8:()=>Jt,NIT:()=>Ne,myk:()=>Kn,wWN:()=>Kt,tsU:()=>ge,S$d:()=>z,KX1:()=>he,aQG:()=>Jo,SMP:()=>rr,Qfg:()=>ir,Cc$:()=>or,rjq:()=>Eo,TAk:()=>Pt,$WB:()=>_i,AF1:()=>Fn,kfp:()=>k,xCT:()=>Ee,na4:()=>o,H8x:()=>ht,OEO:()=>oe,xi1:()=>et,i1g:()=>Dr,_3b:()=>a,FjJ:()=>Ht,z$z:()=>X,puS:()=>Bn,Z3F:()=>Y,C1P:()=>Z,tOV:()=>P,YAv:()=>p,C4N:()=>f,q2g:()=>N,tbu:()=>pt,GY4:()=>v,beH:()=>h,bxH:()=>He,PeH:()=>Oe,iB1:()=>bo,jMM:()=>Un,ccu:()=>ar,qFr:()=>qn,NP$:()=>Yn,hax:()=>un,UOc:()=>S,VVT:()=>Vt,m7H:()=>ki,Mpm:()=>C,xdc:()=>er,QvU:()=>zn,LkY:()=>ft,ijh:()=>Mo,GZz:()=>tr,cep:()=>Io,ZOm:()=>Do,tPU:()=>en,F29:()=>Qt,nKW:()=>Xn,v2o:()=>Ho,_Dp:()=>No,znd:()=>D,Mqt:()=>Pe,XbD:()=>Mi,CuQ:()=>Bt,GvO:()=>xo,D_O:()=>ct,BNQ:()=>Wi,qIM:()=>Ai,imr:()=>Wt,B_7:()=>Ln,RNt:()=>Pi,x0N:()=>We,Tmq:()=>Ro,rjW:()=>co,U6q:()=>rn,E6F:()=>B,lVx:()=>uo,HvV:()=>Nt,vA0:()=>pe,vdg:()=>re,d_K:()=>ue,BjF:()=>Le,Vhc:()=>Fe,uUp:()=>ze,m0Q:()=>_e,Nay:()=>Re,CFj:()=>_,PWO:()=>zi,Rjd:()=>Mt,$UH:()=>Wn,N7h:()=>A,vFY:()=>H,$Bw:()=>Ft,wj3:()=>_t,Zl2:()=>kt,NzY:()=>d,T6v:()=>wo,aOA:()=>Vo,yPr:()=>To,bLJ:()=>Po,VW3:()=>ko,cZi:()=>Sr,MXk:()=>zt,B4w:()=>qt,ol1:()=>$,fG7:()=>_n,F5O:()=>sn,SH7:()=>T,Y2k:()=>Ie});var r=n(47947);if("undefined"===typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var i=FullCalendarVDom.Component,o=FullCalendarVDom.createElement,a=(FullCalendarVDom.render,FullCalendarVDom.createRef),s=Full
2CalendarVDom.Fragment,l=FullCalendarVDom.createContext,u=FullCalendarVDom.createPortal,c=(FullCalendarVDom.flushSync,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 d(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(f(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function f(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function h(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],i=0;i<n.length;i+=1)for(var o=n[i].querySelectorAll(t),a=0;a<o.length;a+=1)r.push(o[a]);return r}function v(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],i=0;i<n.length;i+=1)for(var o=n[i].children,a=0;a<o.length;a+=1){var s=o[a];t&&!f(s,t)||r.push(s)}return r}var g=/(top|left|right|bottom|width|height)$/i;function m(e,t){for(var n in t)y(e,n,t[n])}function y(e,t,n){null==n?e.style[t]="":"number"===typeof n&&g.test(t)?e.style[t]=n+"px":e.style[t]=n}function C(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 S(e){return e.getRootNode?e.getRootNode():document}var E=0;function D(){return"fc-dom-"+(E+=1)}function b(e){e.preventDefault()}function w(e,t,n,r){var i=function(e,t){return function(n){var r=p(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,i),function(){e.removeEventListener(t,i)}}var R=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function T(e,t){var n=function(r){t(r),R.forEach(function(t){e.removeEventListener(t,n)})};R.forEach(function(t){e.addEventListener(t,n)})}function k(e){return(0,r.Cl)({onClick:e},x(e))}function x(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var M=0;function I(){return String(M+=1)}function P(){document.body.classList.add("fc-not-allowed")}function N(){document.body.classList.remove("fc-not-allowed")}function H(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",b)}function O(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",b)}function A(e){e.addEventListener("contextmenu",b)}function W(e){e.removeEventListener("contextmenu",b)}function L(e,t,n){return n.func?n.func(e,t):function(e,t){if(!e&&!t)return 0;if(null==t)return-1;if(null==e)return 1;if("string"===typeof e||"string"===typeof t)return String(e).localeCompare(String(t));return e-t}(e[n.field],t[n.field])*(n.order||1)}function _(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function F(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 z(e,t){return e-t}function B(e){return e%1===0}function U(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 V=["sun","mon","tue","wed","thu","fri","sat"];function j(e,t){var n=te(e);return n[2]+=7*t,ne(n)}function G(e,t){var n=te(e);return n[2]+=t,ne(n)}function q(e,t){var n=te(e);return n[6]+=t,ne(n)}function Y(e,t){return X(e,t)/7}function X(e,t){return(t.valueOf()-e.valueOf())/864e5}function Z(e,t){return ie(e)===ie(t)?Math.round(X(e,t)):null}function $(e){return ne([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function K(e,t,n,r){var i=ne([t,0,1+Q(t,n,r)]),o=$(e),a=Math.round(X(i,o));return Math.floor(a/7)+1}function Q(e,t,n){var r=7+t-n;return-((7+ne([e,0,r]).getUTCDay()-t)%7)+r-1}function J(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function ee(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 te(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function ne(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function re(e){return!isNaN(e.valueOf())}function ie(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function oe(e,t,n,r){return{instanceId:I(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var ae=Object.prototype.hasOwnProperty;function se(e,t){var n={};if(t)for(var r in t){for(var i=[],o=e.length-1;o>=0;o-=1){var a=e[o][r];if("object"===typeof a&&a)i.unshift(a);else if(void 0!==a){n[r]=a;break}}i.length&&(n[r]=se(i))}for(o=e.length-1;o>=0;o-=1){var s=e[o];for(var l in s)l in n||(n[l]=s[l])}return n}function le(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function ue(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function ce(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function de(e){var t=[];for(var n in e)t.push(e[n]);return t}function pe(e,t){if(e===t)return!0;for(var n in e)if(ae.call(e,n)&&!(n in t))return!1;for(var n in t)if(ae.call(t,n)&&e[n]!==t[n])return!1;return!0}function fe(e,t){var n=[];for(var r in e)ae.call(e,r)&&(r in t||n.push(r));for(var r in t)ae.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function he(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!ve(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function ve(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function ge(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var i=[];null==n&&(n=Object.keys(e).length);for(var o=t;o<n;o+=r){var a=e[o];void 0!==a&&i.push(a)}return i}function me(e,t,n){var r=n.dateEnv,i=n.pluginHooks,o=n.options,a=e.defs,s=e.instances;for(var l in s=le(s,function(e){return!a[e.defId].recurringDef}),a){var u=a[l];if(u.recurringDef){var c=u.recurringDef.duration;c||(c=u.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration);for(var d=0,p=ye(u,c,t,r,i.recurringTypes);d<p.length;d++){var f=p[d],h=oe(l,{start:f,end:r.add(f,c)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function ye(e,t,n,r,i){var o=i[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(o=o.map($)),o}var Ce=["years","months","days","milliseconds"],Se=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Ee(e,t){var n;return"string"===typeof e?function(e){var t=Se.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?De(e):"number"===typeof e?De(((n={})[t||"milliseconds"]=e,n)):null}function De(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 be(e){return e.years||e.months||e.milliseconds?0:e.days}function we(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function Re(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function Te(e){return Me(e)/864e5}function ke(e){return Me(e)/6e4}function xe(e){return Me(e)/1e3}
2function Me(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function Ie(e,t){for(var n=null,r=0;r<Ce.length;r+=1){var i=Ce[r];if(t[i]){var o=e[i]/t[i];if(!B(o)||null!==n&&n!==o)return null;n=o}else if(e[i])return null}return n}function Pe(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 Ne(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",Ae(t,!0)))),r}function He(e){return e.toISOString().replace(/T.*$/,"")}function Oe(e){return _(e.getUTCHours(),2)+":"+_(e.getUTCMinutes(),2)+":"+_(e.getUTCSeconds(),2)}function Ae(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=Math.round(r%60);return t?n+_(i,2)+":"+_(o,2):"GMT"+n+i+(o?":"+_(o,2):"")}function We(e,t,n){if(e===t)return!0;var r,i=e.length;if(i!==t.length)return!1;for(r=0;r<i;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function Le(e,t,n){var r,i;return function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(r){if(!We(r,o)){n&&n(i);var s=e.apply(this,o);t&&t(s,i)||(i=s)}}else i=e.apply(this,o);return r=o,i}}function _e(e,t,n){var r,i,o=this;return function(a){if(r){if(!pe(r,a)){n&&n(i);var s=e.call(o,a);t&&t(s,i)||(i=s)}}else i=e.call(o,a);return r=a,i}}function Fe(e,t,n){var r=this,i=[],o=[];return function(a){for(var s=i.length,l=a.length,u=0;u<s;u+=1)if(a[u]){if(!We(i[u],a[u])){n&&n(o[u]);var c=e.apply(r,a[u]);t&&t(c,o[u])||(o[u]=c)}}else n&&n(o[u]);for(;u<l;u+=1)o[u]=e.apply(r,a[u]);return i=a,o.splice(l),o}}function ze(e,t,n){var r=this,i={},o={};return function(a){var s={};for(var l in a)if(o[l])if(We(i[l],a[l]))s[l]=o[l];else{n&&n(o[l]);var u=e.apply(r,a[l]);s[l]=t&&t(u,o[l])?o[l]:u}else s[l]=e.apply(r,a[l]);return i=a,o=s,s}}var Be={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Ue={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Ve=/\s*([ap])\.?m\.?/i,je=/,/g,Ge=/\s+/g,qe=/\u200e/g,Ye=/UTC|GMT/,Xe=function(){function e(e){var t={},n={},r=0;for(var i in e)i in Be?(n[i]=e[i],r=Math.max(Be[i],r)):(t[i]=e[i],i in Ue&&(r=Math.max(Ue[i],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=Le(Ze)}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 i=this.standardDateProps,o=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(ie(e)!==ie(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!a)return this.format(e,n);var s=a;!(s>1)||"numeric"!==i.year&&"2-digit"!==i.year||"numeric"!==i.month&&"2-digit"!==i.month||"numeric"!==i.day&&"2-digit"!==i.day||(s=1);var l=this.format(e,n),u=this.format(t,n);if(l===u)return l;var c=Ze(function(e,t){var n={};for(var r in e)(!(r in Ue)||Ue[r]<=t)&&(n[r]=e[r]);return n}(i,s),o,n),d=c(e),p=c(t),f=function(e,t,n,r){var i=0;for(;i<e.length;){var o=e.indexOf(t,i);if(-1===o)break;var a=e.substr(0,o);i=o+t.length;for(var s=e.substr(i),l=0;l<n.length;){var u=n.indexOf(r,l);if(-1===u)break;var c=n.substr(0,u);l=u+r.length;var d=n.substr(l);if(a===c&&s===d)return{before:a,after:s}}}return null}(l,d,u,p),h=o.separator||r||n.defaultSeparator||"";return f?f.before+d+h+p+f.after:l+h+u},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 Ze(e,t,n){var i=Object.keys(e).length;return 1===i&&"short"===e.timeZoneName?function(e){return Ae(e.timeZoneOffset)}:0===i&&t.week?function(e){return function(e,t,n,r,i){var o=[];
2"long"===i?o.push(n):"short"!==i&&"narrow"!==i||o.push(t);"long"!==i&&"short"!==i||o.push(" ");o.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&o.reverse();return o.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:function(e,t,n){e=(0,r.Cl)({},e),t=(0,r.Cl)({},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 i,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var a=(0,r.Cl)({},e);delete a.minute,i=new Intl.DateTimeFormat(n.locale.codes,a)}return function(r){var a=r.marker;return function(e,t,n,r,i){e=e.replace(qe,""),"short"===n.timeZoneName&&(e=function(e,t){var n=!1;e=e.replace(Ye,function(){return n=!0,t}),n||(e+=" "+t);return e}(e,"UTC"===i.timeZone||null==t.timeZoneOffset?"UTC":Ae(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(je,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));
2!1===r.meridiem?e=e.replace(Ve,"").trim():"narrow"===r.meridiem?e=e.replace(Ve,function(e,t){return t.toLocaleLowerCase()}):"short"===r.meridiem?e=e.replace(Ve,function(e,t){return t.toLocaleLowerCase()+"m"}):"lowercase"===r.meridiem&&(e=e.replace(Ve,function(e){return e.toLocaleLowerCase()}));return e=e.replace(Ge," "),e=e.trim(),e}((i&&!a.getUTCMinutes()?i:o).format(a),r,e,t,n)}}(e,t,n)}function $e(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 Ke(e,t,n,r){var i=$e(e,n.calendarSystem);return{date:i,start:i,end:t?$e(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var Qe=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,Ke(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,Ke(e,t,n,r))},e}(),Je=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(Ke(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(Ke(e,t,n,r))},e}();function et(e){return"object"===typeof e&&e?new Xe(e):"string"===typeof e?new Qe(e):"function"===typeof e?new Je(e):null}var tt={navLinkDayClick:ct,navLinkWeekClick:ct,duration:Ee,bootstrapFontAwesome:ct,buttonIcons:ct,customButtons:ct,defaultAllDayEventDuration:Ee,defaultTimedEventDuration:Ee,nextDayThreshold:Ee,scrollTime:Ee,scrollTimeReset:Boolean,slotMinTime:Ee,slotMaxTime:Ee,dayPopoverFormat:et,slotDuration:Ee,snapDuration:Ee,headerToolbar:ct,footerToolbar:ct,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:et,dayHeaderClassNames:ct,dayHeaderContent:ct,dayHeaderDidMount:ct,dayHeaderWillUnmount:ct,dayCellClassNames:ct,dayCellContent:ct,dayCellDidMount:ct,dayCellWillUnmount:ct,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:ct,weekNumbers:Boolean,weekNumberClassNames:ct,weekNumberContent:ct,weekNumberDidMount:ct,weekNumberWillUnmount:ct,editable:Boolean,viewClassNames:ct,viewDidMount:ct,viewWillUnmount:ct,nowIndicator:Boolean,nowIndicatorClassNames:ct,nowIndicatorContent:ct,nowIndicatorDidMount:ct,nowIndicatorWillUnmount:ct,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:ct,locale:ct,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:ct,eventOrder:function(e){var t,n,r=[],i=[];for("string"===typeof e?i=e.split(/\s*,\s*/):"function"===typeof e?i=[e]:Array.isArray(e)&&(i=e),t=0;t<i.length;t+=1)"string"===typeof(n=i[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"===typeof n&&r.push({func:n});return r},eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:ct,contentHeight:ct,direction:String,weekNumberFormat:et,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:ct,initialDate:ct,now:ct,eventDataTransform:ct,stickyHeaderDates:ct,stickyFooterScrollbar:ct,viewHeight:ct,defaultAllDay:Boolean,eventSourceFailure:ct,eventSourceSuccess:ct,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:ct,eventConstraint:ct,eventAllow:ct,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:ct,eventContent:ct,eventDidMount:ct,eventWillUnmount:ct,selectConstraint:ct,selectOverlap:ct,selectAllow:ct,droppable:Boolean,unselectCancel:String,slotLabelFormat:ct,slotLaneClassNames:ct,slotLaneContent:ct,slotLaneDidMount:ct,slotLaneWillUnmount:ct,slotLabelClassNames:ct,slotLabelContent:ct,slotLabelDidMount:ct,slotLabelWillUnmount:ct,dayMaxEvents:ct,dayMaxEventRows:ct,dayMinWidth:Number,slotLabelInterval:Ee,allDayText:String,allDayClassNames:ct,allDayContent:ct,allDayDidMount:ct,allDayWillUnmount:ct,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:et,rerenderDelay:Number,moreLinkText:ct,moreLinkHint:ct,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:ct,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Ee,hiddenDays:ct,monthMode:Boolean,fixedWeekCount:Boolean,validRange:ct,visibleRange:ct,titleFormat:ct,eventInteractive:Boolean,noEventsText:String,viewHint:ct,navLinkHint:ct,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:ct,moreLinkClassNames:ct,moreLinkContent:ct,moreLinkDidMount:ct,moreLinkWillUnmount:ct},nt={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" \u2013 ",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},rt={datesSet:ct,eventsSet:ct,eventAdd:ct,eventChange:ct,eventRemove:ct,windowResize:ct,eventClick:ct,eventMouseEnter:ct,eventMouseLeave:ct,select:ct,unselect:ct,loading:ct,_unmount:ct,_beforeprint:ct,_afterprint:ct,_noEventDrop:ct,_noEventResize:ct,_resize:ct,_scrollRequest:ct},it={buttonText:ct,buttonHints:ct,views:ct,plugins:ct,initialEvents:ct,events:ct,eventSources:ct},ot={headerToolbar:at,footerToolbar:at,buttonText:at,buttonHints:at,buttonIcons:at,dateIncrement:at};function at(e,t){return"object"===typeof e&&"object"===typeof t&&e&&t?pe(e,t):e===t}var st={type:String,component:ct,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:ct,usesMinMaxTime:Boolean,classNames:ct,content:ct,didMount:ct,willUnmount:ct};function lt(e){return se(e,ot)}function ut(e,t){var n={},r={};for(var i in t)i in e&&(n[i]=t[i](e[i]));for(var i in e)i in t||(r[i]=e[i]);return{refined:n,extra:r}}function ct(e){return e}
2function dt(e,t,n,r){for(var i={defs:{},instances:{}},o=xt(n),a=0,s=e;a<s.length;a++){var l=Tt(s[a],t,n,r,o);l&&pt(l,i)}return i}function pt(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 ft(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],i=gt(e,function(e){return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId);var t,n});return i.defs[r.defId]=r,i.instances[n.instanceId]=n,i}return{defs:{},instances:{}}}function ht(){return{defs:{},instances:{}}}function vt(e,t){return{defs:(0,r.Cl)((0,r.Cl)({},e.defs),t.defs),instances:(0,r.Cl)((0,r.Cl)({},e.instances),t.instances)}}function gt(e,t){var n=le(e.defs,t),r=le(e.instances,function(e){return n[e.defId]});return{defs:n,instances:r}}function mt(e){return Array.isArray(e)?e:"string"===typeof e?e.split(/\s+/):[]}var yt={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:ct,overlap:ct,allow:ct,className:mt,classNames:mt,color:String,backgroundColor:String,borderColor:String,textColor:String},Ct={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function St(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 Et(e){return e.reduce(Dt,Ct)}function Dt(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 bt={id:String,groupId:String,title:String,url:String,interactive:Boolean},wt={start:ct,end:ct,date:ct,allDay:Boolean},Rt=(0,r.Cl)((0,r.Cl)((0,r.Cl)({},bt),wt),{extendedProps:ct});function Tt(e,t,n,r,i){void 0===i&&(i=xt(n));var o=kt(e,n,i),a=o.refined,s=o.extra,l=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),u=function(e,t,n,r){for(var i=0;i<r.length;i+=1){var o=r[i].parse(e,n);if(o){var a=e.allDay;return null==a&&null==(a=t)&&null==(a=o.allDayGuess)&&(a=!1),{allDay:a,duration:o.duration,typeData:o.typeData,typeId:i}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(u)return(c=Mt(a,s,t?t.sourceId:"",u.allDay,Boolean(u.duration),n)).recurringDef={typeId:u.typeId,typeData:u.typeData,duration:u.duration},{def:c,instance:null};var c,d=function(e,t,n,r){var i,o,a=e.allDay,s=null,l=!1,u=null,c=null!=e.start?e.start:e.date;if(i=n.dateEnv.createMarkerMeta(c),i)s=i.marker;else if(!r)return null;null!=e.end&&(o=n.dateEnv.createMarkerMeta(e.end));null==a&&(a=null!=t?t:(!i||i.isTimeUnspecified)&&(!o||o.isTimeUnspecified));a&&s&&(s=$(s));o&&(u=o.marker,a&&(u=$(u)),s&&u<=s&&(u=null));u?l=!0:r||(l=n.options.forceEventDuration||!1,u=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:u},forcedStartTzo:i?i.forcedTzo:null,forcedEndTzo:o?o.forcedTzo:null}}(a,l,n,r);return d?{def:c=Mt(a,s,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:oe(c.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function kt(e,t,n){return void 0===n&&(n=xt(t)),ut(e,n)}function xt(e){return(0,r.Cl)((0,r.Cl)((0,r.Cl)({},yt),Rt),e.pluginHooks.eventRefiners)}function Mt(e,t,n,i,o,a){for(var s={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:I(),sourceId:n,allDay:i,hasEnd:o,interactive:e.interactive,ui:St(e,a),extendedProps:(0,r.Cl)((0,r.Cl)({},e.extendedProps||{}),t)},l=0,u=a.pluginHooks.eventDefMemberAdders;l<u.length;l++){var c=u[l];(0,r.Cl)(s,c(e))}return Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),s}function It(e){var t=Math.floor(X(e.start,e.end))||1,n=$(e.start);return{start:n,end:G(n,t)}}function Pt(e,t){void 0===t&&(t=Ee(0));var n=null,r=null;if(e.end){r=$(e.end);var i=e.end.valueOf()-r.valueOf();i&&i>=Me(t)&&(r=G(r,1))}return e.start&&(n=$(e.start),r&&r<=n&&(r=G(n,1))),{start:n,end:r}}function Nt(e){var t=Pt(e);return X(t.start,t.end)>1}function Ht(e,t,n,r){return"year"===r?Ee(n.diffWholeYears(e,t),"year"):"month"===r?Ee(n.diffWholeMonths(e,t),"month"):function(e,t){var n=$(e),r=$(t);return{years:0,months:0,days:Math.round(X(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}(e,t)}function Ot(e,t){var n,r,i=[],o=t.start;for(e.sort(At),n=0;n<e.length;n+=1)(r=e[n]).start>o&&i.push({start:o,end:r.start}),r.end>o&&(o=r.end);return o<t.end&&i.push({start:o,end:t.end}),i}function At(e,t){return e.start.valueOf()-t.start.valueOf()}function Wt(e,t){var n=e.start,r=e.end,i=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(i={start:n,end:r}),i}function Lt(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function _t(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function Ft(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function zt(e,t,n,r){var i={},o={},a={},s=[],l=[],u=jt(e.defs,t);for(var c in e.defs){"inverse-background"===(f=u[(S=e.defs[c]).defId]).display&&(S.groupId?(i[S.groupId]=[],a[S.groupId]||(a[S.groupId]=S)):o[c]=[])}for(var d in e.instances){var p=e.instances[d],f=u[(S=e.defs[p.defId]).defId],h=p.range,v=!S.allDay&&r?Pt(h,r):h,g=Wt(v,n);g&&("inverse-background"===f.display?S.groupId?i[S.groupId].push(g):o[p.defId].push(g):"none"!==f.display&&("background"===f.display?s:l).push({def:S,ui:f,instance:p,range:g,isStart:v.start&&v.start.valueOf()===g.start.valueOf(),isEnd:v.end&&v.end.valueOf()===g.end.valueOf()}))}for(var m in i)for(var y=0,C=Ot(i[m],n);y<C.length;y++){var S,E=C[y];f=u[(S=a[m]).defId];s.push({def:S,ui:f,instance:null,range:E,isStart:!1,isEnd:!1})}for(var c in o)for(var D=0,b=Ot(o[c],n);D<b.length;D++){E=b[D];s.push({def:e.defs[c],ui:u[c],instance:null,range:E,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function Bt(e){return"background"===e.ui.display||"inverse-background"===e.ui.display}function Ut(e,t){e.fcSeg=t}function Vt(e){return e.fcSeg||e.parentNode.fcSeg||null}function jt(e,t){return ue(e,function(e){return Gt(e,t)})}function Gt(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),Et(n)}function qt(e,t){var n=e.map(Yt);return n.sort(function(e,n){return function(e,t,n){var r,i;for(r=0;r<n.length;r+=1)if(i=L(e,t,n[r]))return i;return 0}(e,n,t)}),n.map(function(e){return e._seg})}function Yt(e){var t=e.eventRange,n=t.def,i=t.instance?t.instance.range:t.range,o=i.start?i.start.valueOf():0,a=i.end?i.end.valueOf():0;return(0,r.Cl)((0,r.Cl)((0,r.Cl)({},n.extendedProps),n),{id:n.publicId,start:o,end:a,duration:a-o,allDay:Number(n.allDay),_seg:e})}function Xt(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,i=r.def,o=r.ui,a=o.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,i,o,t)}return a}function Zt(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function $t(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function Kt(e,t,n,r,i,o,a){var s=n.dateEnv,l=n.options,u=l.displayEventTime,c=l.displayEventEnd,d=e.eventRange.def,p=e.eventRange.instance;null==u&&(u=!1!==r),null==c&&(c=!1!==i);var f=p.range.start,h=p.range.end,v=o||e.start||e.eventRange.range.start,g=a||e.end||e.eventRange.range.end,m=$(f).valueOf()===$(v).valueOf(),y=$(q(h,-1)).valueOf()===$(q(g,-1)).valueOf();return u&&!d.allDay&&(m||y)?(v=m?f:v,g=y?h:g,c&&d.hasEnd?s.formatRange(v,g,t,{forcedStartTzo:o?null:p.forcedStartTzo,forcedEndTzo:a?null:p.forcedEndTzo}):s.format(v,t,{forcedTzo:o?null:p.forcedStartTzo})):""}function Qt(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&Ft(t,r.start)}}function Jt(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}function en(e,t){var n=e.eventRange,r=n.def,i=n.instance,o=r.url;if(o)return{href:o};var a=t.emitter,s=t.options.eventInteractive;return null==s&&null==(s=r.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s?x(function(e){a.trigger("eventClick",{el:e.target,event:new Cn(t,r,i),jsEvent:e,view:t.viewApi})}):{}}var tn={start:ct,end:ct,allDay:Boolean};function nn(e,t,n){var i=function(e,t){var n=ut(e,tn),i=n.refined,o=n.extra,a=i.start?t.createMarkerMeta(i.start):null,s=i.end?t.createMarkerMeta(i.end):null,l=i.allDay;null==l&&(l=a&&a.isTimeUnspecified&&(!s||s.isTimeUnspecified));return(0,r.Cl)({range:{start:a?a.marker:null,end:s?s.marker:null},allDay:l},o)}(e,t),o=i.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return i}function rn(e,t){return n=e.range,r=t.range,(null===n.start?null:n.start.valueOf())===(null===r.start?null:r.start.valueOf())&&(null===n.end?null:n.end.valueOf())===(null===r.end?null:r.end.valueOf())&&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);var n,r}function on(e,t,n){return(0,r.Cl)((0,r.Cl)({},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 sn(e,t,n){n.emitter.trigger("select",(0,r.Cl)((0,r.Cl)({}
2,ln(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function ln(e,t){for(var n,i,o={},a=0,s=t.pluginHooks.dateSpanTransforms;a<s.length;a++){var l=s[a];(0,r.Cl)(o,l(e,t))}return(0,r.Cl)(o,(n=e,i=t.dateEnv,(0,r.Cl)((0,r.Cl)({},an(n.range,i,n.allDay)),{allDay:n.allDay}))),o}function un(e,t,n){var r=n.dateEnv,i=n.options,o=t;return e?(o=$(o),o=r.add(o,i.defaultAllDayEventDuration)):o=r.add(o,i.defaultTimedEventDuration),o}function cn(e,t,n,r){var i=jt(e.defs,t),o={defs:{},instances:{}};for(var a in e.defs){var s=e.defs[a];o.defs[a]=dn(s,i[a],n,r)}for(var l in e.instances){var u=e.instances[l];s=o.defs[u.defId];o.instances[l]=pn(u,s,i[u.defId],n,r)}return o}function dn(e,t,n,i){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var a=(0,r.Cl)((0,r.Cl)((0,r.Cl)({},e),o),{ui:(0,r.Cl)((0,r.Cl)({},e.ui),o.ui)});n.extendedProps&&(a.extendedProps=(0,r.Cl)((0,r.Cl)({},a.extendedProps),n.extendedProps));for(var s=0,l=i.pluginHooks.eventDefMutationAppliers;s<l.length;s++){(0,l[s])(a,n,i)}return!a.hasEnd&&i.options.forceEventDuration&&(a.hasEnd=!0),a}function pn(e,t,n,i,o){var a=o.dateEnv,s=i.standardProps&&!0===i.standardProps.allDay,l=i.standardProps&&!1===i.standardProps.hasEnd,u=(0,r.Cl)({},e);return s&&(u.range=It(u.range)),i.datesDelta&&n.startEditable&&(u.range={start:a.add(u.range.start,i.datesDelta),end:a.add(u.range.end,i.datesDelta)}),i.startDelta&&n.durationEditable&&(u.range={start:a.add(u.range.start,i.startDelta),end:u.range.end}),i.endDelta&&n.durationEditable&&(u.range={start:u.range.start,end:a.add(u.range.end,i.endDelta)}),l&&(u.range={start:u.range.start,end:un(t.allDay,u.range.start,o)}),t.allDay&&(u.range={start:$(u.range.start),end:$(u.range.end)}),u.range.end<u.range.start&&(u.range.end=un(t.allDay,u.range.start,o)),u}var fn=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}(),hn={id:String,defaultAllDay:Boolean,url:String,format:String,events:ct,eventDataTransform:ct,success:ct,failure:ct};
2function vn(e,t,n){var r;if(void 0===n&&(n=gn(t)),"string"===typeof e?r={url:e}:"function"===typeof e||Array.isArray(e)?r={events:e}:"object"===typeof e&&e&&(r=e),r){var i=ut(r,n),o=i.refined,a=i.extra,s=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var i=n[r].parseMeta(e);if(i)return{sourceDefId:r,meta:i}}return null}(o,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:o.defaultAllDay,eventDataTransform:o.eventDataTransform,success:o.success,failure:o.failure,publicId:o.id||"",sourceId:I(),sourceDefId:s.sourceDefId,meta:s.meta,ui:St(o,t),extendedProps:a}}return null}function gn(e){return(0,r.Cl)((0,r.Cl)((0,r.Cl)({},yt),hn),e.pluginHooks.eventSourceRefiners)}function mn(e,t){return"function"===typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var yn=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=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];(t=this.currentDataManager.emitter).trigger.apply(t,(0,r.fX)([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(),i=r.viewSpecs,o=r.toolbarConfig,a=[].concat(o.header?o.header.viewsWithButtons:[],o.footer?o.footer.viewsWithButtons:[]);for(var s in i)a.push(s);for(t=0;t<a.length;t+=1)if((n=i[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:mn(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=Ee(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),et(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),et(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(),i=nn(n,r.dateEnv,Ee({days:1}));i&&(this.dispatch({type:"SELECT_DATES",selection:i}),sn(i,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 Cn){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:pt({def:n,instance:r})}),this.triggerEventAdd(e)),e}var i,o=this.getCurrentData();if(t instanceof c)i=t.internalEventSource;else if("boolean"===typeof t)t&&(i=de(o.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;i=a.internalEventSource}var s=Tt(e,i,o,!1);if(s){var l=new Cn(o,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:pt(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:Sn(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,i=n.instances;for(var o in e=String(e),r){var a=r[o];if(a.publicId===e){if(a.recurringDef)return new Cn(t,a,null);for(var s in i){var l=i[s];if(l.defId===a.defId)return new Cn(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return En(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 c(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 c(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof c)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=vn(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new c(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=Ee(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),Cn=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 wt)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=bt[e](t),this.mutate({standardProps:{publicId:t}});else if(e in bt)t=bt[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in yt){var i=yt[e](t);"color"===e?i={backgroundColor:t,borderColor:t}:"editable"===e?i={startEditable:t,durationEditable:t}:((r={})[e]=t,i=r),this.mutate({standardProps:{ui:i}})}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 i=Ht(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:i}):this.mutate({startDelta:i})}},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 i=Ht(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:i})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,i,o,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(e);if(l&&((null==t||(r=a.createMarker(t)))&&this._instance)){var u=this._instance.range;!0===n.allDay&&(u=It(u));var c=Ht(u.start,l,a,n.granularity);if(r){var d=Ht(u.end,r,a,n.granularity);o=d,(i=c).years===o.years&&i.months===o.months&&i.days===o.days&&i.milliseconds===o.milliseconds?this.mutate({datesDelta:c,standardProps:s}):this.mutate({startDelta:c,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:c,standardProps:s})}},e.prototype.moveStart=function(e){var t=Ee(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=Ee(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=Ee(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=et(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,i=this._context,o=i.getCurrentData().eventStore,a=ft(o,n.instanceId);a=cn(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,i);var s=new e(i,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],i.dispatch({type:"MERGE_EVENTS",eventStore:a}),i.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:En(a,i,n),revert:function(){i.dispatch({type:"RESET_EVENTS",eventStore:o})}})}},e.prototype.remove=function(){var e=this._context,t=Sn(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}
2,Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new c(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,i=this.startStr,o=this.endStr,a={};return t.title&&(a.title=t.title),i&&(a.start=i),o&&(a.end=o),t.publicId&&(a.id=t.publicId),t.groupId&&(a.groupId=t.groupId),t.url&&(a.url=t.url),n.display&&"auto"!==n.display&&(a.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?a.color=n.backgroundColor:(n.backgroundColor&&(a.backgroundColor=n.backgroundColor),n.borderColor&&(a.borderColor=n.borderColor)),n.textColor&&(a.textColor=n.textColor),n.classNames.length&&(a.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?(0,r.Cl)(a,t.extendedProps):a.extendedProps=t.extendedProps),a},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function Sn(e){var t,n,r=e._def,i=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:i?(n={},n[i.instanceId]=i,n):{}}}function En(e,t,n){var r=e.defs,i=e.instances,o=[],a=n?n.instanceId:"";for(var s in i){var l=i[s],u=r[l.defId];l.instanceId!==a&&o.push(new Cn(t,u,l))}return o}var Dn={};var bn,wn=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 ne(e)},e.prototype.markerToArray=function(e){return te(e)},e}();bn=wn,Dn["gregory"]=bn;var Rn=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var Tn=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 Dn[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()):ne(J(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=ne(e)),null!==t&&re(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=function(e){var t=Rn.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(re(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 ie(e)===ie(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 ie(e)===ie(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=Z(e,t);return null!==n&&n%7===0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:null!==(n=Z(e,t))?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),B(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),B(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),B(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/(Te(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/function(e){return Te(e)/30}(n):n.days&&null!==(r=Z(e,t))?r/Te(n):(t.valueOf()-e.valueOf())/Me(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?$(e):"hour"===t?function(e){return ne([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return ne([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return ne([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(),i=K(e,r,t,n);if(i<1)return K(e,r-1,t,n);var o=K(e,r+1,t,n);return o>=1?Math.min(i,o):i}(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=q(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)),Ne(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?ne(J(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?ne(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-ee(te(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(te(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?ee(te(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(te(e))*60):new Date(e.valueOf()-(t||0))},e}(),kn=[],xn={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"},Mn=(0,r.Cl)((0,r.Cl)({},xn),{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 In(e){for(var t=e.length>0?e[0].code:"en",n=kn.concat(e),r={en:Mn},i=0,o=n;i<o.length;i++){var a=o[i];r[a.code]=a}return{map:r,defaultCode:t}}function Pn(e,t){return"object"!==typeof e||Array.isArray(e)?function(e,t){var n=[].concat(e||[]),r=function(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),i=r.length;i>0;i-=1){var o=r.slice(0,i).join("-");if(t[o])return t[o]}return null}(n,t)||Mn;return Nn(e,n,r)}(e,t):Nn(e.code,[e.code],e)}function Nn(e,t,n){var r=se([xn,n],["buttonText"]);delete r.code;var i=r.week;return delete r.week,{codeArg:e,codes:t,week:i,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var Hn,On={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function An(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,r.Cl)((0,r.Cl)({},On),e)})}(e),null,t)}function Wn(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function Ln(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}
2function _n(e,t,n){return{left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}}function Fn(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 zn(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function Bn(e,t){return{left:e.left-t.left,top:e.top-t.top}}function Un(){return null==Hn&&(Hn=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}()),Hn}var Vn={defs:{},instances:{}},jn=function(){function e(){this.getKeysForEventDefs=Le(this._getKeysForEventDefs),this.splitDateSelection=Le(this._splitDateSpan),this.splitEventStore=Le(this._splitEventStore),this.splitIndividualUi=Le(this._splitIndividualUi),this.splitEventDrag=Le(this._splitInteraction),this.splitEventResize=Le(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),i=this.splitDateSelection(e.dateSelection),o=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),u={};for(var c in this.eventUiBuilders=ue(n,function(e,n){return t.eventUiBuilders[n]||Le(Gn)}),n){var d=n[c],p=a[c]||Vn,f=this.eventUiBuilders[c];u[c]={businessHours:d.businessHours||e.businessHours,dateSelection:i[c]||null,eventStore:p,eventUiBases:f(e.eventUiBases[""],d.ui,o[c]),eventSelection:p.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[c]||null,eventResize:l[c]||null}}return u},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 ue(e.defs,function(e){return t.getKeysForEventDef(e)})},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,i={};for(var o in n)for(var a=0,s=t[o];a<s.length;a++){i[p=s[a]]||(i[p]=ht()),i[p].defs[o]=n[o]}for(var l in r)for(var u=r[l],c=0,d=t[u.defId];c<d.length;c++){var p;i[p=d[c]]&&(i[p].instances[l]=u)}return i},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var i=0,o=t[r];i<o.length;i++){var a=o[i];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),i=this._splitEventStore(e.mutatedEvents,r),o=function(r){t[r]||(t[r]={affectedEvents:n[r]||Vn,mutatedEvents:i[r]||Vn,isEvent:e.isEvent})};for(var a in n)o(a);for(var a in i)o(a)}return t},e}();function Gn(e,t,n){var i=[];e&&i.push(e),t&&i.push(t);var o={"":Et(i)};return n&&(0,r.Cl)(o,n),o}function qn(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!Ft(r.activeRange,e)),isOther:Boolean(r&&!Ft(r.currentRange,e)),isToday:Boolean(t&&Ft(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function Yn(e,t){var n=["fc-day","fc-day-"+V[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 Xn(e,t){var n=["fc-slot","fc-slot-"+V[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 Zn=et({year:"numeric",month:"long",day:"numeric"}),$n=et({week:"long"});function Kn(e,t,n,i){void 0===n&&(n="day"),void 0===i&&(i=!0);var o=e.dateEnv,a=e.options,s=e.calendarApi,l=o.format(t,"week"===n?$n:Zn);if(a.navLinks){var u=o.toDate(t),c=function(e){var r="day"===n?a.navLinkDayClick:"week"===n?a.navLinkWeekClick:null;"function"===typeof r?r.call(s,o.toDate(t),e):("string"===typeof r&&(n=r),s.zoomTo(t,n))};return(0,r.Cl)({title:F(a.navLinkHint,[l,u],l),"data-navlink":""},i?k(c):{onClick:c})}return{"aria-label":l}}var Qn,Jn=null;function er(){return null===Jn&&(Jn=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 d(e),t}()),Jn}function tr(){return Qn||(Qn=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=nr(e);return document.body.removeChild(e),t}()),Qn}function nr(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function rr(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,i=parseInt(n.borderRightWidth,10)||0,o=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=nr(e),l=s.y-r-i,u={borderLeft:r,borderRight:i,borderTop:o,borderBottom:a,scrollbarBottom:s.x-o-a,scrollbarLeft:0,scrollbarRight:0};return er()&&"rtl"===n.direction?u.scrollbarLeft=l:u.scrollbarRight=l,t&&(u.paddingLeft=parseInt(n.paddingLeft,10)||0,u.paddingRight=parseInt(n.paddingRight,10)||0,u.paddingTop=parseInt(n.paddingTop,10)||0,u.paddingBottom=parseInt(n.paddingBottom,10)||0),u}function ir(e,t,n){void 0===t&&(t=!1);var r=n?e.getBoundingClientRect():or(e),i=rr(e,t),o={left:r.left+i.borderLeft+i.scrollbarLeft,right:r.right-i.borderRight-i.scrollbarRight,top:r.top+i.borderTop,bottom:r.bottom-i.borderBottom-i.scrollbarBottom};return t&&(o.left+=i.paddingLeft,o.right-=i.paddingRight,o.top+=i.paddingTop,o.bottom-=i.paddingBottom),o}function or(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 ar(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);
2if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}var sr=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]||[],i=this.options&&this.options[e],o=0,a=[].concat(i||[],r);o<a.length;o++){a[o].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 lr=function(){function e(e,t,n,r){this.els=t;var i=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(i.left),r&&this.buildElVerticals(i.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,i=this.els;r<i.length;r++){var o=i[r].getBoundingClientRect();t.push(o.left-e),n.push(o.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,i=this.els;r<i.length;r++){var o=i[r].getBoundingClientRect();t.push(o.top-e),n.push(o.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,i=n.length;for(t=0;t<i;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,i=n.length;for(t=0;t<i;t+=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}(),ur=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}(),cr=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return(0,r.C6)(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}(ur),dr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(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}(ur),pr=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,r.Cl)({},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}();pr.prototype.classes={},pr.prototype.iconClasses={},pr.prototype.baseIconClass="",pr.prototype.iconOverridePrefix="";var fr=function(){function e(e,t,n,i){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=i,this.handleScrollRequest=function(e){o.queuedRequest=(0,r.Cl)({},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}(),hr=l({});function vr(e,t,n,r,i,o,a,s,l,u,c,d,p){return{dateEnv:i,options:n,pluginHooks:a,emitter:u,dispatch:s,getCurrentData:l,calendarApi:c,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:o,isRtl:"rtl"===n.direction,addResizeHandler:function(e){u.on("_resize",e)},removeResizeHandler:function(e){u.off("_resize",e)},createScrollResponder:function(e){return new fr(e,u,Ee(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:p}}var gr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(fe(e,this.props),fe(t,this.state)),!he(this.props,e,this.propEquality)||!he(this.state,t,this.stateEquality)},t.prototype.safeSetState=function(e){he(this.state,(0,r.Cl)((0,r.Cl)({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=yr,t.addStateEquality=Cr,t.contextType=hr,t}(i);gr.prototype.propEquality={},gr.prototype.stateEquality={};var mr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.contextType=hr,t}(gr);function yr(e){var t=Object.create(this.prototype.propEquality);(0,r.Cl)(t,e),this.prototype.propEquality=t}function Cr(e){var t=Object.create(this.prototype.stateEquality);(0,r.Cl)(t,e),this.prototype.stateEquality=t}function Sr(e,t){"function"===typeof e?e(t):e&&(e.current=t)}var Er=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=I(),t}return(0,r.C6)(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&&!p(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!p(e,".fc-event:not(.fc-bg-event)")&&!p(e,".fc-more-link")&&!p(e,"a[data-navlink]")&&!p(e,".fc-popover")},t}(mr);function Dr(e){return{id:I(),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 br(){var e,t=[],n=[];
2return function(r,i){return e&&We(r,t)&&We(i,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 i(e){for(var t=0,o=e;t<o.length;t++){var a=o[t];n[a.id]||(n[a.id]=!0,i(a.deps),r=wr(r,a))}}return e&&i(e),i(t),r}(r,i)),t=r,n=i,e}}function wr(e,t){return{reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:(0,r.Cl)((0,r.Cl)({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:(0,r.Cl)((0,r.Cl)({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:(0,r.Cl)((0,r.Cl)({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:(0,r.Cl)((0,r.Cl)({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:(0,r.Cl)((0,r.Cl)({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,contentTypeHandlers:(0,r.Cl)((0,r.Cl)({},e.contentTypeHandlers),t.contentTypeHandlers),listenerRefiners:(0,r.Cl)((0,r.Cl)({},e.listenerRefiners),t.listenerRefiners),optionRefiners:(0,r.Cl)((0,r.Cl)({},e.optionRefiners),t.optionRefiners),propSetHandlers:(0,r.Cl)((0,r.Cl)({},e.propSetHandlers),t.propSetHandlers)}}var Rr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t}(pr);function Tr(e,t,n,i){if(t[e])return t[e];var o=function(e,t,n,i){var o=n[e],a=i[e],s=function(e){return o&&null!==o[e]?o[e]:a&&null!==a[e]?a[e]:null},l=s("component"),u=s("superType"),c=null;if(u){if(u===e)throw new Error("Can't have a custom view type that references itself");c=Tr(u,t,n,i)}!l&&c&&(l=c.component);if(!l)return null;return{type:e,component:l,defaults:(0,r.Cl)((0,r.Cl)({},c?c.defaults:{}),o?o.rawOptions:{}),overrides:(0,r.Cl)((0,r.Cl)({},c?c.overrides:{}),a?a.rawOptions:{})}}(e,t,n,i);return o&&(t[e]=o),o}Rr.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},Rr.prototype.baseIconClass="fc-icon",Rr.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"},Rr.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},Rr.prototype.iconOverrideOption="buttonIcons",Rr.prototype.iconOverrideCustomButtonOption="icon",Rr.prototype.iconOverridePrefix="fc-icon-";var kr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;
2return t.rootElRef=a(),t.handleRootEl=function(e){Sr(t.rootElRef,e),t.props.elRef&&Sr(t.props.elRef,e)},t}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return o(Pr,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},function(r){return o(Mr,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},function(e,i){return t.children(r,Hr(t.classNames,n),e,i)})})},t}(mr),xr=l(0);function Mr(e){return o(xr.Consumer,null,function(t){return o(Ir,(0,r.Cl)({renderId:t},e))})}var Ir=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=a(),t}return(0,r.C6)(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,r.Cl)({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=Or(e.content,e.hookProps);return void 0===t&&(t=Or(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 i in t)if(void 0!==e[i]){n=i,r=t[i];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}(mr),Pr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&Sr(t.props.elRef,e)},t}return(0,r.C6)(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e((0,r.Cl)((0,r.Cl)({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e((0,r.Cl)((0,r.Cl)({},this.props.hookProps),{el:this.rootEl}))},t}(mr);function Nr(){var e,t,n=[];return function(r,i){return t&&pe(t,i)&&r===e||(e=r,t=i,n=Hr(r,i)),n}}function Hr(e,t){return"function"===typeof e&&(e=e(t)),mt(e)}function Or(e,t){return"function"===typeof e?e(t,o):e}var Ar=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=Nr(),t}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},i=this.normalizeClassNames(n.viewClassNames,r);return o(Pr,{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(i))})},t}(mr);function Wr(e){return ue(e,Lr)}function Lr(e){var t,n="function"===typeof e?{component:e}:e,i=n.component;return n.content&&(t=n,i=function(e){return o(hr.Consumer,null,function(n){return o(Ar,{viewSpec:n.viewSpec},function(i,a){var s=(0,r.Cl)((0,r.Cl)({},e),{nextDayThreshold:n.options.nextDayThreshold});return o(kr,{hookProps:s,classNames:t.classNames,content:t.content,didMount:t.didMount,willUnmount:t.willUnmount,elRef:i},function(e,t,n,r){return o("div",{className:a.concat(t).join(" "),ref:e},r)})})})}),{superType:n.type,component:i,rawOptions:n}}function _r(e,t,n,i){var o=Wr(e),a=Wr(t.views),s=function(e,t){var n,r={};for(n in e)Tr(n,r,e,t);for(n in t)Tr(n,r,e,t);return r}(o,a);return ue(s,function(e){return function(e,t,n,i,o){var a=e.overrides.duration||e.defaults.duration||i.duration||n.duration,s=null,l="",u="",c={};if(a&&(s=function(e){var t=JSON.stringify(e),n=Fr[t];void 0===n&&(n=Ee(e),Fr[t]=n);return n}(a),s)){var d=Pe(s);l=d.unit,1===d.value&&(u=l,c=t[l]?t[l].rawOptions:{})}var p=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[u]?n[u]: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[u]?n[u]:null};return{type:e.type,component:e.component,duration:s,durationUnit:l,singleUnit:u,optionDefaults:e.defaults,optionOverrides:(0,r.Cl)((0,r.Cl)({},c),e.overrides),buttonTextOverride:p(i)||p(n)||e.overrides.buttonText,buttonTextDefault:p(o)||e.defaults.buttonText||p(nt)||e.type,buttonTitleOverride:f(i)||f(n)||e.overrides.buttonHint,buttonTitleDefault:f(o)||e.defaults.buttonHint||f(nt)}}(e,a,t,n,i)})}var Fr={};var zr=function(){function e(e){this.props=e,this.nowDate=mn(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,i=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,i=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,i,o,a,s,l,u,c,d=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(u=e,e=null!=(c=r).start&&u<c.start?c.start:null!=c.end&&u>=c.end?new Date(c.end.valueOf()-1):u),i=this.buildCurrentRangeInfo(e,t),o=/^(year|month|week|day)$/.test(i.unit),a=this.buildRenderRange(this.trimHiddenDays(i.range),i.unit,o),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=Wt(s,i.range)),s=Wt(s=this.adjustActiveRange(s),r),l=Lt(i.range,r),{validRange:r,currentRange:i.range,currentRangeUnit:i.unit,isRangeAllDay:o,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(i.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,i=null,o=null,a=null;return r.duration?(i=r.duration,o=r.durationUnit,a=this.buildRangeFromDuration(e,t,i,o)):(n=this.props.dayCount)?(o="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?o=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(o=Pe(i=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,i,o)),{duration:i,unit:o,range:a}},e.prototype.getFallbackDuration=function(){return Ee({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,i=t.slotMinTime,o=t.slotMaxTime,a=e.start,s=e.end;return r&&(Te(i)<0&&(a=$(a),a=n.add(a,i)),Te(o)>1&&(s=G(s=$(s),-1),s=n.add(s,o))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var i,o,a,s=this.props,l=s.dateEnv,u=s.dateAlignment;if(!u){var c=this.props.dateIncrement;u=c&&Me(c)<Me(n)?Pe(c).unit:r}function d(){i=l.startOf(e,u),o=l.add(i,n),a={start:i,end:o}}
2return Te(n)<=1&&this.isHiddenDay(i)&&(i=$(i=this.skipHiddenDays(i,t))),d(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),d()),a},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,i=this.props,o=i.dateEnv,a=i.dateAlignment,s=0,l=e;a&&(l=o.startOf(l,a)),l=$(l),r=l=this.skipHiddenDays(l,t);do{r=G(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,i=this.refineRange(r);return!i||null!=i.start&&null!=i.end?i: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)?Ee(1,t):e||Ee({days:1}))},e.prototype.refineRange=function(e){if(e){var t=function(e,t){var n=null,r=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(r=t.createMarker(e.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}(e,this.props.dateEnv);return t&&(t=Pt(t)),t}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=G(e,t);return e},e}();function Br(e,t,n){var r=t?t.activeRange:null;return jr({},function(e,t){var n=gn(t),r=[].concat(e.eventSources||[]),i=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);for(var o=0,a=r;o<a.length;o++){var s=vn(a[o],t,n);s&&i.push(s)}return i}(e,n),r,n)}function Ur(e,t,n,i){var o,a,s=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return jr(e,t.sources,s,i);case"REMOVE_EVENT_SOURCE":return o=e,a=t.sourceId,le(o,function(e){return e.sourceId!==a});case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Gr(e,s,i):e;case"FETCH_EVENT_SOURCES":return qr(e,t.sourceIds?ce(t.sourceIds):Xr(e,i),s,t.isRefetch||!1,i);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,i){var o,a=e[t];if(a&&n===a.latestFetchId)return(0,r.Cl)((0,r.Cl)({},e),((o={})[t]=(0,r.Cl)((0,r.Cl)({},a),{isFetching:!1,fetchRange:i}),o));return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function Vr(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function jr(e,t,n,i){for(var o={},a=0,s=t;a<s.length;a++){var l=s[a];o[l.sourceId]=l}return n&&(o=Gr(o,n,i)),(0,r.Cl)((0,r.Cl)({},e),o)}function Gr(e,t,n){return qr(e,le(e,function(e){return function(e,t,n){if(!Zr(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 qr(e,t,n,r,i){var o={};for(var a in e){var s=e[a];t[a]?o[a]=Yr(s,n,r,i):o[a]=s}return o}function Yr(e,t,n,i){var o=i.options,a=i.calendarApi,s=i.pluginHooks.eventSourceDefs[e.sourceDefId],l=I();return s.fetch({eventSource:e,range:t,isRefetch:n,context:i},function(n){var r=n.rawEvents;o.eventSourceSuccess&&(r=o.eventSourceSuccess.call(a,r,n.xhr)||r),e.success&&(r=e.success.call(a,r,n.xhr)||r),i.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:r})},function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(a,n),e.failure&&e.failure(n),i.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})}),(0,r.Cl)((0,r.Cl)({},e),{isFetching:!0,latestFetchId:l})}function Xr(e,t){return le(e,function(e){return Zr(e,t)})}function Zr(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function $r(e,t,n,r,i){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,i,o){if(t&&n===t.latestFetchId){var a=dt(function(e,t,n){var r=n.options.eventDataTransform,i=t?t.eventDataTransform:null;i&&(e=Kr(e,i));r&&(e=Kr(e,r));return e}(i,t,o),t,o);return r&&(a=me(a,r,o)),vt(Qr(e,t.sourceId),a)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,i);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=me(t,n,r));return vt(e,t)}(e,t.eventStore,r?r.activeRange:null,i);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return vt(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?me(e,r.activeRange,i):e;
2case"REMOVE_EVENTS":return function(e,t){var n=e.defs,r=e.instances,i={},o={};for(var a in n)t.defs[a]||(i[a]=n[a]);for(var s in r)!t.instances[s]&&i[r[s].defId]&&(o[s]=r[s]);return{defs:i,instances:o}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return Qr(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return gt(e,function(e){return!e.sourceId});case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function Kr(e,t){var n;if(t){n=[];for(var r=0,i=e;r<i.length;r++){var o=i[r],a=t(o);a?n.push(a):null==a&&n.push(o)}}else n=e;return n}function Qr(e,t){return gt(e,function(e){return e.sourceId!==t})}function Jr(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function ei(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function ti(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 ni(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 ri(e,t,n,r,i){return{header:e.headerToolbar?ii(e.headerToolbar,e,t,n,r,i):null,footer:e.footerToolbar?ii(e.footerToolbar,e,t,n,r,i):null}}function ii(e,t,n,r,i,o){var a={},s=[],l=!1;for(var u in e){var c=oi(e[u],t,n,r,i,o);a[u]=c.widgets,s.push.apply(s,c.viewsWithButtons),l=l||c.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function oi(e,t,n,r,i,o){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},u=t.buttonText||{},c=n.buttonHints||{},d=t.buttonHints||{},p=e?e.split(" "):[],f=[],h=!1;return{widgets:p.map(function(e){return e.split(",").map(function(e){if("title"===e)return h=!0,{buttonName:e};var n,p,v,g,m,y;if(n=s[e])v=function(e){n.click&&n.click.call(e.target,e,e.target)},(g=r.getCustomButtonIconClass(n))||(g=r.getIconClass(e,a))||(m=n.text),y=n.hint||n.text;else if(p=i[e]){f.push(e),v=function(){o.changeView(e)},(m=p.buttonTextOverride)||(g=r.getIconClass(e,a))||(m=p.buttonTextDefault);var C=p.buttonTextOverride||p.buttonTextDefault;y=F(p.buttonTitleOverride||p.buttonTitleDefault||t.viewHint,[C,e],C)}else if(o[e])if(v=function(){o[e]()},(m=l[e])||(g=r.getIconClass(e,a))||(m=u[e]),"prevYear"===e||"nextYear"===e){var S="prevYear"===e?"prev":"next";y=F(c[S]||d[S],[u.year||"year","year"],u[e])}else y=function(t){return F(c[e]||d[e],[u[t]||t,t],u[e])};return{buttonName:e,buttonClick:v,buttonIcon:g,buttonText:m,buttonHint:y}})}),viewsWithButtons:f,hasTitle:h}}var ai={parseMeta:function(e){return"function"===typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;!function(e,t,n){var r=!1,i=function(){r||(r=!0,t.apply(this,arguments))},o=function(){r||(r=!0,n&&n.apply(this,arguments))},a=e(i,o);a&&"function"===typeof a.then&&a.then(i,o)}(e.eventSource.meta.bind(null,on(e.range,r)),function(e){t({rawEvents:e})},n)}};function si(e,t,n,r,i){var o=null;"GET"===(e=e.toUpperCase())?t=function(e,t){return e+(-1===e.indexOf("?")?"?":"&")+li(t)}(t,n):o=li(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(n){}e?r(t,a):i("Failure parsing JSON",a)}else i("Request failed",a)},a.onerror=function(){i("Request failed",a)},a.send(o)}function li(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}function ui(e,t){for(var n=de(t.getCurrentData().eventSources),r=[],i=0,o=e;i<o.length;i++){for(var a=o[i],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 u=0,c=n;u<c.length;u++){var d=c[u];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var p=0,f=r;p<f.length;p++){var h=f[p];t.calendarApi.addEventSource(h)}}var ci=[Dr({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),Dr({eventSourceDefs:[ai]}),Dr({eventSourceRefiners:{method:String,extraParams:ct,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{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 i=e.eventSource.meta,o=function(e,t,n){var i,o,a,s,l=n.dateEnv,u=n.options,c={};i=e.startParam,null==i&&(i=u.startParam);o=e.endParam,null==o&&(o=u.endParam);a=e.timeZoneParam,null==a&&(a=u.timeZoneParam);s="function"===typeof e.extraParams?e.extraParams():e.extraParams||{};(0,r.Cl)(c,s),c[i]=l.formatIso(t.start),c[o]=l.formatIso(t.end),"local"!==l.timeZone&&(c[a]=l.timeZone);return c}(i,e.range,e.context);si(i.method,i.url,o,function(e,n){t({rawEvents:e,xhr:n})},function(e,t){n({message:e,xhr:t})})}}]}),Dr({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&&(i=e.endTime,o=e.startTime,r={years:i.years-o.years,months:i.months-o.months,days:i.days-o.days,milliseconds:i.milliseconds-o.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}var i,o;return null},expand:function(e,t,n){var r=Wt(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){var i=e?ce(e):null,o=$(n.start),a=n.end,s=[];for(;o<a;){var l=void 0;i&&!i[o.getUTCDay()]||(l=t?r.add(o,t):o,s.push(l)),o=G(o,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:ct,startTime:Ee,endTime:Ee,duration:Ee,startRecur:ct,endRecur:ct}}),Dr({optionChangeHandlers:{events:function(e,t){ui([e],t)},eventSources:ui}}),Dr({isLoadingFuncs:[function(e){return Vr(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(d),t=[],e=null}return{render:function(r,i){var o=Array.prototype.slice.call(i);if(r!==e||!We(t,o)){for(var a=0,s=o;a<s.length;a++){var l=s[a];r.appendChild(l)}n()}e=r,t=o},destroy:n}}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",(0,r.Cl)((0,r.Cl)({},on(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",En(e,t))}}})];var di=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}(),pi=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new di(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 fi(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,et(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};
2if("month"===t)return{year:"numeric",month:"long"};var n=Z(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 hi=function(){function e(e){var t=this;this.computeOptionsData=Le(this._computeOptionsData),this.computeCurrentViewData=Le(this._computeCurrentViewData),this.organizeRawLocales=Le(In),this.buildLocale=Le(Pn),this.buildPluginHooks=br(),this.buildDateEnv=Le(vi),this.buildTheme=Le(gi),this.parseToolbars=Le(ri),this.buildViewSpecs=Le(_r),this.buildDateProfileGenerator=_e(mi),this.buildViewApi=Le(yi),this.buildViewUiProps=_e(Ei),this.buildEventUiBySource=Le(Ci,pe),this.buildEventUiBases=Le(Si),this.parseContextBusinessHours=_e(bi),this.buildTitle=Le(fi),this.emitter=new sr,this.actionRunner=new pi(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={},i=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),o=i.calendarOptions.initialView||i.pluginHooks.initialView,a=this.computeCurrentViewData(o,i,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(a.options);var s=function(e,t){var n=e.initialDate;return null!=n?t.createMarker(n):mn(e.now,t)}(i.calendarOptions,i.dateEnv),l=a.dateProfileGenerator.build(s);Ft(l.activeRange,s)||(s=l.currentRange.start);for(var u={dateEnv:i.dateEnv,options:i.calendarOptions,pluginHooks:i.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},c=0,d=i.pluginHooks.contextInit;c<d.length;c++){(0,d[c])(u)}for(var p=Br(i.calendarOptions,l,u),f={dynamicOptionOverrides:n,currentViewType:o,currentDate:s,dateProfile:l,businessHours:this.parseContextBusinessHours(u),eventSources:p,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(u).selectionConfig},h=(0,r.Cl)((0,r.Cl)({},u),f),v=0,g=i.pluginHooks.reducers;v<g.length;v++){var m=g[v];(0,r.Cl)(f,m(null,null,h))}Di(f,u)&&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,r.Cl)((0,r.Cl)({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,i=t.state,o=t.emitter,a=function(e,t){var n;return"SET_OPTION"===t.type?(0,r.Cl)((0,r.Cl)({},e),((n={})[t.optionName]=t.rawOptionValue,n)):e}(i.dynamicOptionOverrides,e),s=this.computeOptionsData(n.optionOverrides,a,n.calendarApi),l=function(e,t){"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType);return e}(i.currentViewType,e),u=this.computeCurrentViewData(l,s,n.optionOverrides,a);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(u.options);var c={dateEnv:s.dateEnv,options:s.calendarOptions,pluginHooks:s.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},d=i.currentDate,p=i.dateProfile;this.data&&this.data.dateProfileGenerator!==u.dateProfileGenerator&&(p=u.dateProfileGenerator.build(d)),d=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(d,e),p=function(e,t,n,r){var i;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((i=r.buildPrev(e,n)).isValid)return i;break;case"NEXT":if((i=r.buildNext(e,n)).isValid)return i}return e}(p,e,d,u.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&Ft(p.currentRange,d)||(d=p.currentRange.start);for(var f=Ur(i.eventSources,e,p,c),h=$r(i.eventStore,e,f,p,c),v=Vr(f)&&!u.options.progressiveEventRendering&&i.renderableEventStore||h,g=this.buildViewUiProps(c),m=g.eventUiSingleBase,y=g.selectionConfig,C=this.buildEventUiBySource(f),S={dynamicOptionOverrides:a,currentViewType:l,currentDate:d,dateProfile:p,eventSources:f,eventStore:h,renderableEventStore:v,selectionConfig:y,eventUiBases:this.buildEventUiBases(v.defs,m,C),businessHours:this.parseContextBusinessHours(c),dateSelection:Jr(i.dateSelection,e),eventSelection:ei(i.eventSelection,e),eventDrag:ti(i.eventDrag,e),eventResize:ni(i.eventResize,e)},E=(0,r.Cl)((0,r.Cl)({},c),S),D=0,b=s.pluginHooks.reducers;D<b.length;D++){var w=b[D];(0,r.Cl)(S,w(i,e,E))}var R=Di(i,c),T=Di(S,c);!R&&T?o.trigger("loading",!0):R&&!T&&o.trigger("loading",!1),this.state=S,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e=this.props,t=this.state,n=this.data,i=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),o=this.computeCurrentViewData(t.currentViewType,i,e.optionOverrides,t.dynamicOptionOverrides),a=this.data=(0,r.Cl)((0,r.Cl)((0,r.Cl)({viewTitle:this.buildTitle(t.dateProfile,o.options,i.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},i),o),t),s=i.pluginHooks.optionChangeHandlers,l=n&&n.calendarOptions,u=i.calendarOptions;if(l&&l!==u)for(var c in l.timeZone!==u.timeZone&&(t.eventSources=a.eventSources=function(e,t,n){var r=t?t.activeRange:null;return qr(e,Xr(e,n),r,!0,n)}(a.eventSources,t.dateProfile,a),t.eventStore=a.eventStore=function(e,t,n){var i=e.defs,o=ue(e.instances,function(e){var o=i[e.defId];return o.allDay||o.recurringDef?e:(0,r.Cl)((0,r.Cl)({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})});return{defs:i,instances:o}}
2(a.eventStore,n.dateEnv,a.dateEnv)),s)l[c]!==u[c]&&s[c](u[c],a);e.onData&&e.onData(a)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),i=r.refinedOptions,o=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;wi(r.extra);var l=this.buildDateEnv(i.timeZone,i.locale,i.weekNumberCalculation,i.firstDay,i.weekText,o,s,i.defaultRangeSeparator),u=this.buildViewSpecs(o.views,e,t,a),c=this.buildTheme(i,o);return{calendarOptions:i,pluginHooks:o,dateEnv:l,viewSpecs:u,theme:c,toolbarConfig:this.parseToolbars(i,e,c,u,n),localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=lt([nt,e,t]),i=n.locales,o=n.locale,a=this.organizeRawLocales(i),s=a.map,l=this.buildLocale(o||a.defaultCode,s).options,u=this.buildPluginHooks(e.plugins||[],ci),c=this.currentCalendarOptionsRefiners=(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},tt),rt),it),u.listenerRefiners),u.optionRefiners),d={},p=lt([nt,l,e,t]),f={},h=this.currentCalendarOptionsInput,v=this.currentCalendarOptionsRefined,g=!1;for(var m in p)"plugins"!==m&&(p[m]===h[m]||ot[m]&&m in h&&ot[m](h[m],p[m])?f[m]=v[m]:c[m]?(f[m]=c[m](p[m]),g=!0):d[m]=h[m]);return g&&(this.currentCalendarOptionsInput=p,this.currentCalendarOptionsRefined=f),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:u,availableLocaleData:a,localeDefaults:l,extra:d}},e.prototype._computeCurrentViewData=function(e,t,n,r){var i=t.viewSpecs[e];if(!i)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var o=this.processRawViewOptions(i,t.pluginHooks,t.localeDefaults,n,r),a=o.refinedOptions;return wi(o.extra),{viewSpec:i,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:i.optionDefaults.dateProfileGeneratorClass,duration:i.duration,durationUnit:i.durationUnit,usesMinMaxTime:i.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime: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,i,o){var a=lt([nt,e.optionDefaults,n,i,e.optionOverrides,o]),s=(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},tt),rt),it),st),t.listenerRefiners),t.optionRefiners),l={},u=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,d=!1,p={};for(var f in a)a[f]===u[f]||ot[f]&&ot[f](a[f],u[f])?l[f]=c[f]:(a[f]===this.currentCalendarOptionsInput[f]||ot[f]&&ot[f](a[f],this.currentCalendarOptionsInput[f])?f in this.currentCalendarOptionsRefined&&(l[f]=this.currentCalendarOptionsRefined[f]):s[f]?l[f]=s[f](a[f]):p[f]=a[f],d=!0);return d&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:p}},e}();function vi(e,t,n,r,i,o,a,s){var l=Pn(t||a.defaultCode,a.map);return new Tn({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:i,cmdFormatter:o.cmdFormatter,defaultSeparator:s})}function gi(e,t){return new(t.themeClasses[e.themeSystem]||Rr)(e)}function mi(e){return new(e.dateProfileGeneratorClass||zr)(e)}function yi(e,t,n){return new fn(e,t,n)}function Ci(e){return ue(e,function(e){return e.ui})}function Si(e,t,n){var r={"":t};for(var i in e){var o=e[i];o.sourceId&&n[o.sourceId]&&(r[i]=n[o.sourceId])}return r}function Ei(e){var t=e.options;return{eventUiSingleBase:St({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.eventBackgroun
2dColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:St({constraint:t.selectConstraint,overlap:"boolean"===typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function Di(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(e))return!0}return!1}function bi(e){return An(e.options.businessHours,e)}function wi(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}var Ri=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 hi({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}return(0,r.C6)(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}(i);var Ti=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 i=r[n];this.insertEntry(i,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 i=0,o=[],a=e.span,s=t.span;return a.start<s.start&&(i+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.start,end:s.start}},o)),a.end>s.end&&(i+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:s.end,end:a.end}},o)),i?(n.push.apply(n,(0,r.fX)([{index:e.index,thickness:e.thickness,span:Pi(s,a)}],o)),i):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(Ni(r,t.level,t.levelCoord),Ni(n,t.level,[e])):Ni(n[t.level],t.lateral,e),this.stackCnts[xi(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,i=t.strictOrder,o=t.stackCnts,a=n.length,s=0,l=-1,u=-1,c=null,d=0,p=0;p<a;p+=1){var f=n[p];if(!i&&f>=s+e.thickness)break;for(var h=r[p],v=void 0,g=Hi(h,e.span.start,ki),m=g[0]+g[1];(v=h[m])&&v.span.start<e.span.end;){var y=f+v.thickness;y>s&&(s=y,c=v,l=p,u=m),y===s&&(d=Math.max(d,o[xi(v)]+1)),m+=1}}var C=0;if(c)for(C=l+1;C<a&&n[C]<s;)C+=1;var S=-1;return C<a&&n[C]===s&&(S=Hi(r[C],e.span.end,ki)[0]),{touchingLevel:l,touchingLateral:u,touchingEntry:c,stackCnt:d,levelCoord:s,level:C,lateral
2:S}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,i=[],o=0;o<n;o+=1)for(var a=e[o],s=t[o],l=0,u=a;l<u.length;l++){var c=u[l];i.push((0,r.Cl)((0,r.Cl)({},c),{levelCoord:s}))}return i},e}();function ki(e){return e.span.end}function xi(e){return e.index+":"+e.span.start}function Mi(e){for(var t=[],n=0,r=e;n<r.length;n++){for(var i=r[n],o=[],a={span:i.span,entries:[i]},s=0,l=t;s<l.length;s++){var u=l[s];Pi(u.span,a.span)?a={entries:u.entries.concat(a.entries),span:Ii(u.span,a.span)}:o.push(u)}o.push(a),t=o}return t}function Ii(e,t){return{start:Math.min(e.start,t.start),end:Math.max(e.end,t.end)}}function Pi(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 Ni(e,t,n){e.splice(t,0,n)}function Hi(e,t,n){var r=0,i=e.length;if(!i||t<n(e[r]))return[0,0];if(t>n(e[i-1]))return[i,0];for(;r<i;){var o=Math.floor(r+(i-r)/2),a=n(e[o]);if(t<a)i=o;else{if(!(t>a))return[o,1];r=o+1}}return[r,0]}var Oi=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function Ai(e){var t;return(t={})[e.component.uid]=e,t}var Wi={},Li=function(){function e(e,t){this.emitter=new sr}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),_i={},Fi={startTime:Ee,duration:Ee,create:Boolean,sourceId:String};function zi(e){var t=ut(e,Fi),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 Bi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map(function(t){return e.renderWidgetGroup(t)});return o.apply(void 0,(0,r.fX)(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,i=[],a=!0,s=0,l=e;s<l.length;s++){var u=l[s],c=u.buttonName,d=u.buttonClick,p=u.buttonText,f=u.buttonIcon,h=u.buttonHint;if("title"===c)a=!1,i.push(o("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var v=c===t.activeButton,g=!t.isTodayEnabled&&"today"===c||!t.isPrevEnabled&&"prev"===c||!t.isNextEnabled&&"next"===c,m=["fc-"+c+"-button",n.getClass("button")];v&&m.push(n.getClass("buttonActive")),i.push(o("button",{type:"button",title:"function"===typeof h?h(t.navUnit):h,disabled:g,"aria-pressed":v,className:m.join(" "),onClick:d},p||(f?o("span",{className:f}):"")))}}if(i.length>1){var y=a&&n.getClass("buttonGroup")||"";return o.apply(void 0,(0,r.fX)(["div",{className:y}],i))}return i[0]},t}(mr),Ui=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,i=n.extraClassName,a=!1,s=r.sectionWidgets,l=s.center;return s.left?(a=!0,e=s.left):e=s.start,s.right?(a=!0,t=s.right):t=s.end,o("div",{className:[i||"","fc-toolbar",a?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",l||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return o(Bi,{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}(mr),Vi=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,Sr(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return(0,r.C6)(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"],i="",a="";return n?null!==t.availableWidth?i=t.availableWidth/n:a=1/n*100+"%":i=e.height||"",o("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:i,paddingBottom:a}},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}(mr),ji=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,i=r.context,o=Vt(t);if(o&&r.isValidSegDownEl(e.target)){var a=p(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";i.emitter.trigger("eventClick",{el:t,event:new Cn(r.context,o.eventRange.def,o.eventRange.instance),jsEvent:e,view:i.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=w(t.el,"click",".fc-event",n.handleSegClick),n}return(0,r.C6)(t,e),t}(Oi),Gi=function(e){function t(t){var n=e.call(this,t)||this;return n.handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){Vt(t)&&(n.currentSegEl=t,n.triggerEvent("eventMouseEnter",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",e,t))},n.removeHoverListeners=function(e,t,n,r){var i;return w(e,"mouseover",t,function(e,t){if(t!==i){i=t,n(e,t);var o=function(e){i=null,r(e,t),t.removeEventListener("mouseleave",o)};t.addEventListener("mouseleave",o)}})}(t.el,".fc-event",n.handleSegEnter,n.handleSegLeave),n}return(0,r.C6)(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,i=r.context,o=Vt(n);t&&!r.isValidSegDownEl(t.target)||i.emitter.trigger(e,{el:n,event:new Cn(i,o.eventRange.def,o.eventRange.instance),jsEvent:t,view:i.viewApi})},t}(Oi),qi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=Le(vr),t.buildViewPropTransformers=Le(Xi),t.buildToolbarProps=Le(Yi),t.headerRef=a(),t.footerRef=a(),t.interactionsStore={},t.state={viewLabelId:D()},t.registerInteractiveComponent=function(e,n){var r=function(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}(e,n),i=[ji,Gi].concat(t.props.pluginHooks.componentInteractions).map(function(e){return new e(r)});t.interactionsStore[e.uid]=i,Wi[e.uid]=r},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0,i=n;r<i.length;r++){i[r].destroy()}delete t.interactionsStore[e.uid]}delete Wi[e.uid]},t.resizeRunner=new di(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,r.C6)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,i=t.options,a=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,mn(t.options.now,t.dateEnv),t.viewTitle),s=!1,l="";t.isHeightAuto||t.forPrint?l="":null!=i.height?s=!0:null!=i.contentHeight?l=i.contentHeight:e=Math.max(i.aspectRatio,.5);var u=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),c=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return o(hr.Provider,{value:u},n.header&&o(Ui,(0,r.Cl)({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:c},a)),o(Vi,{liquid:s,height:l,aspectRatio:e,labeledById:c},this.renderView(t),this.buildAppendContent()),n.footer&&o(Ui,(0,r.Cl)({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},a)))},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 o.apply(void 0,(0,r.fX)([s,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},a=0,s=this.buildViewPropTransformers(t.viewPropsTransformers);a<s.length;a++){var l=s[a];(0,r.Cl)(i,l.transform(i,e))}var u=n.component;return o(u,(0,r.Cl)({},i))},t}(gr);function Yi(e,t,n,r,i,o){var a=n.build(i,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:o,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!Ft(t.currentRange,i),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function Xi(e){return e.map(function(e){return new e})}var Zi=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,r.C6)(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,i=r||null==t.height?"":t.height,o=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")
2];return Un()||o.push("fc-liquid-hack"),e.children(o,i,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}(mr);var $i="fc-col-header-cell";function Ki(e){return e.text}var Qi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,i=e.theme,a=e.viewApi,s=this.props,l=s.date,u=s.dateProfile,c=qn(l,s.todayRange,null,u),d=[$i].concat(Yn(c,i)),p=t.format(l,s.dayHeaderFormat),f=!c.isDisabled&&s.colCnt>1?Kn(this.context,l):{},h=(0,r.Cl)((0,r.Cl)((0,r.Cl)({date:t.toDate(l),view:a},s.extraHookProps),{text:p}),c);return o(kr,{hookProps:h,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:Ki,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},function(e,t,n,i){return o("th",(0,r.Cl)({ref:e,role:"columnheader",className:d.concat(t).join(" "),"data-date":c.isDisabled?void 0:He(l),colSpan:s.colSpan},s.extraDataAttrs),o("div",{className:"fc-scrollgrid-sync-inner"},!c.isDisabled&&o("a",(0,r.Cl)({ref:n,className:["fc-col-header-cell-cushion",s.isSticky?"fc-sticky":""].join(" ")},f),i)))})},t}(mr),Ji=et({weekday:"long"}),eo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,i=t.theme,a=t.viewApi,s=t.options,l=G(new Date(2592e5),e.dow),u={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},c=[$i].concat(Yn(u,i),e.extraClassNames||[]),d=n.format(l,e.dayHeaderFormat),p=(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({date:l},u),{view:a}),e.extraHookProps),{text:d});return o(kr,{hookProps:p,classNames:s.dayHeaderClassNames,content:s.dayHeaderContent,defaultContent:Ki,didMount:s.dayHeaderDidMount,willUnmount:s.dayHeaderWillUnmount},function(t,i,a,s){return o("th",(0,r.Cl)({ref:t,role:"columnheader",className:c.concat(i).join(" "),colSpan:e.colSpan},e.extraDataAttrs),o("div",{className:"fc-scrollgrid-sync-inner"},o("a",{"aria-label":n.format(l,Ji),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:a},s)))})},t}(mr),to=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=mn(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return(0,r.C6)(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=q(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),i=t.dateEnv.add(r,Ee(1,e.unit)),o=i.valueOf()-n.valueOf();return o=Math.min(864e5,o),{currentState:{nowDate:r,todayRange:no(r)},nextState:{nowDate:i,todayRange:no(i)},waitMs:o}},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=hr,t}(i);function no(e){var t=$(e);return{start:t,end:G(t,1)}}var ro=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=Le(io),t}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,i=t.datesRepDistinctDays,a=t.renderIntro,s=this.createDayHeaderFormatter(e.options.dayHeaderFormat,i,n.length);return o(to,{unit:"day"},function(e,t){return o("tr",{role:"row"},a&&a("day"),n.map(function(e){return i?o(Qi,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:s}):o(eo,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:s})}
2))})},t}(mr);function io(e,t,n){return e||function(e,t){return et(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(t,n)}var oo=function(){function e(e,t){for(var n=e.start,r=e.end,i=[],o=[],a=-1;n<r;)t.isHiddenDay(n)?i.push(a+.5):(a+=1,i.push(a),o.push(n)),n=G(n,1);this.dates=o,this.indices=i,this.cnt=o.length}return e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(G(e.end,-1)),r=Math.max(0,t),i=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(i=Math.floor(i))?{firstIndex:r,lastIndex:i,isStart:t===r,isEnd:n===i}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(X(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},e}(),ao=function(){function e(e,t){var n,r,i,o=e.dates;if(t){for(r=o[0].getUTCDay(),n=1;n<o.length&&o[n].getUTCDay()!==r;n+=1);i=Math.ceil(o.length/n)}else i=1,n=o.length;this.rowCnt=i,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return 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 i=n.firstIndex,o=n.lastIndex,a=i;a<=o;){var s=Math.floor(a/t),l=Math.min((s+1)*t,o+1);r.push({row:s,firstCol:a%t,lastCol:(l-1)%t,isStart:n.isStart&&a===i,isEnd:n.isEnd&&l-1===o}),a=l}return r},e}(),so=function(){function e(){this.sliceBusinessHours=Le(this._sliceBusinessHours),this.sliceDateSelection=Le(this._sliceDateSpan),this.sliceEventStore=Le(this._sliceEventStore),this.sliceEventDrag=Le(this._sliceInteraction),this.sliceEventResize=Le(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,i){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var s=e.eventUiBases,l=this.sliceEventStore.apply(this,(0,r.fX)([e.eventStore,s,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,(0,r.fX)([e.dateSelection,s,i],o)),businessHourSegs:this.sliceBusinessHours.apply(this,(0,r.fX)([e.businessHours,t,n,i],o)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,(0,r.fX)([e.eventDrag,s,t,n],o)),eventResize:this.sliceEventResize.apply(this,(0,r.fX)([e.eventResize,s,t,n],o)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this._sliceDateSpan.apply(this,(0,r.fX)([{range:{start:e,end:q(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,i){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];return e?this._sliceEventStore.apply(this,(0,r.fX)([me(e,lo(t,Boolean(n)),i),{},t,n],o)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];if(e){var a=zt(e,t,lo(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,i),fg:this.sliceEventRanges(a.fg,i)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];if(!e)return null;var a=zt(e.mutatedEvents,t,lo(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,i),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];if(!e)return[];for(var a=function(e,t,n){var r=kt({editable:!1},n),i=Mt(r.refined,r.extra,"",e.allDay,!0,n);return{def:i,ui:Gt(i,t),instance:oe(i.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}(e,t,n),s=this.sliceRange.apply(this,(0,r.fX)([e.range],i)),l=0,u=s;l<u.length;l++){u[l].eventRange=a}return s},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];n.push.apply(n,this.sliceEventRange(o,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:G(n.start,1)});for(var i=this.sliceRange.apply(this,(0,r.fX)([n],t)),o=0,a=i;o<a.length;o++){var s=a[o];s.eventRange=e,s.isStart=e.isStart&&s.isStart,s.isEnd=e.isEnd&&s.isEnd}return i},e}();function lo(e,t){var n=e.activeRange;return t?n:{start:q(n.start,e.slotMinTime.milliseconds),end:q(n.end,e.slotMaxTime.milliseconds-864e5)}}function uo(e,t,n){var r=e.mutatedEvents.instances;for(var i in r)if(!_t(t.validRange,r[i].range))return!1;return po({eventDrag:e},n)}function co(e,t,n){return!!_t(t.validRange,e.range)&&po({dateSelection:e},n)}function po(e,t){var n=t.getCurrentData(),i=(0,r.Cl)({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||fo)(i,t)}function fo(e,t,n,i){return void 0===n&&(n={}),!(e.eventDrag&&!function(e,t,n,i){var o=t.getCurrentData(),a=e.eventDrag,s=a.mutatedEvents,l=s.defs,u=s.instances,c=jt(l,a.isEvent?e.eventUiBases:{"":o.selectionConfig});i&&(c=ue(c,i));var d=(v=e.eventStore,g=a.affectedEvents.instances,{defs:v.defs,instances:le(v.instances,function(e){return!g[e.instanceId]})}),p=d.defs,f=d.instances,h=jt(p,e.eventUiBases);var v,g;for(var m in u){var y=u[m],C=y.range,S=c[y.defId],E=l[y.defId];if(!ho(S.constraints,C,d,e.businessHours,t))return!1;var D=t.options.eventOverlap,b="function"===typeof D?D:null;for(var w in f){var R=f[w];if(Lt(C,R.range)){if(!1===h[R.defId].overlap&&a.isEvent)return!1;if(!1===S.overlap)return!1;if(b&&!b(new Cn(t,p[R.defId],R),new Cn(t,E,y)))return!1}}for(var T=o.eventStore,k=0,x=S.allows;k<x.length;k++){var M=x[k],I=(0,r.Cl)((0,r.Cl)({},n),{range:y.range,allDay:E.allDay}
2),P=T.defs[E.defId],N=T.instances[m],H=void 0;if(H=P?new Cn(t,P,N):new Cn(t,E),!M(ln(I,t),H))return!1}}return!0}(e,t,n,i))&&!(e.dateSelection&&!function(e,t,n,i){var o=e.eventStore,a=o.defs,s=o.instances,l=e.dateSelection,u=l.range,c=t.getCurrentData().selectionConfig;i&&(c=i(c));if(!ho(c.constraints,u,o,e.businessHours,t))return!1;var d=t.options.selectOverlap,p="function"===typeof d?d:null;for(var f in s){var h=s[f];if(Lt(u,h.range)){if(!1===c.overlap)return!1;if(p&&!p(new Cn(t,a[h.defId],h),null))return!1}}for(var v=0,g=c.allows;v<g.length;v++){if(!(0,g[v])(ln((0,r.Cl)((0,r.Cl)({},n),l),t),null))return!1}return!0}(e,t,n,i))}function ho(e,t,n,r,i){for(var o=0,a=e;o<a.length;o++){if(!mo(vo(a[o],t,n,r,i),t))return!1}return!0}function vo(e,t,n,r,i){return"businessHours"===e?go(me(r,t,i)):"string"===typeof e?go(gt(n,function(t){return t.groupId===e})):"object"===typeof e&&e?go(me(e,t,i)):[]}function go(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function mo(e,t){for(var n=0,r=e;n<r.length;n++){if(_t(r[n],t))return!0}return!1}var yo=/^(visible|hidden)$/,Co=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,Sr(t.props.elRef,e)},t}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,i=["fc-scroller"];return t&&(n?i.push("fc-scroller-liquid-absolute"):i.push("fc-scroller-liquid")),o("div",{ref:this.handleEl,className:i.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(yo.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(yo.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 yo.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return yo.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(mr),So=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,i=r.depths,o=r.currentMap,a=!1,s=!1;null!==e?(a=n in o,o[n]=e,i[n]=(i[n]||0)+1,s=!0):(i[n]-=1,i[n]||(delete o[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 ge(this.currentMap,e,t,n)},e.prototype.getAll=function(){return de(this.currentMap)},e}();function Eo(e){for(var t=0,n=0,r=h(e,".fc-scrollgrid-shrink");n<r.length;n++){var i=r[n];t=Math.max(t,U(i))}return Math.ceil(t)}function Do(e,t){return e.liquid&&t.liquid}function bo(e,t){return null!=t.maxHeight||Do(e,t)}function wo(e,t,n,r){var i=n.expandRows;return"function"===typeof t.content?t.content(n):o("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:i?n.clientHeight:""}},n.tableColGroupNode,o(r?"thead":"tbody",{role:"presentation"},"function"===typeof t.rowContent?t.rowContent(n):t.rowContent))}function Ro(e,t){return We(e,t,pe)}function To(e,t){for(var n=[],i=0,a=e;i<a.length;i++)for(var s=a[i],l=s.span||1,u=0;u<l;u+=1)n.push(o("col",{style:{width:"shrink"===s.width?ko(t):s.width||"",minWidth:s.minWidth||""}}));return o.apply(void 0,(0,r.fX)(["colgroup",{}],n))}function ko(e){return null==e?4:e}function xo(e){for(var t=0,n=e;t<n.length;t++){if("shrink"===n[t].width)return!0}return!1}function Mo(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function Io(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 Po(e){return o("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function No(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function Ho(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}var Oo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=Le(function(e){return e},Ro),t.renderMicroColGroup=Le(To),t.scrollerRefs=new So,t.scrollerElRefs=new So(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.safeSetState((0,r.Cl)({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,i=e.context,a=t.sections||[],s=this.processCols(t.cols),l=this.renderMicroColGroup(s,n.shrinkWidth),u=Mo(t.liquid,i);t.collapsibleWidth&&u.push("fc-scrollgrid-collapsible");for(var c,d=a.length,p=0,f=[],h=[],v=[];p<d&&"header"===(c=a[p]).type;)f.push(this.renderSection(c,l,!0)),p+=1;for(;p<d&&"body"===(c=a[p]).type;)h.push(this.renderSection(c,l,!1)),p+=1;for(;p<d&&"footer"===(c=a[p]).type;)v.push(this.renderSection(c,l,!0)),p+=1;var g=!Un(),m={role:"rowgroup"};return o("table",{role:"grid",className:u.join(" "),style:{height:t.height}},Boolean(!g&&f.length)&&o.apply(void 0,(0,r.fX)(["thead",m],f)),Boolean(!g&&h.length)&&o.apply(void 0,(0,r.fX)(["tbody",m],h)),Boolean(!g&&v.length)&&o.apply(void 0,(0,r.fX)(["tfoot",m],v)),g&&o.apply(void 0,(0,r.fX)((0,r.fX)((0,r.fX)(["tbody",m],f),h),v)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?o(s,{key:e.key},e.outerContent):o("tr",{key:e.key,role:"presentation",className:Io(e,this.props.liquid
2).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var i=this.props,a=this.state,s=a.forceYScrollbars,l=a.scrollerClientWidths,u=a.scrollerClientHeights,c=bo(i,e),d=Do(i,e),p=i.liquid?s?"scroll":c?"auto":"hidden":"visible",f=e.key,h=wo(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:i.collapsibleWidth||void 0===l[f]?null:l[f],clientHeight:void 0!==u[f]?u[f]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return o(r?"th":"td",{ref:n.elRef,role:"presentation"},o("div",{className:"fc-scroller-harness"+(d?" fc-scroller-harness-liquid":"")},o(Co,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:p,overflowX:i.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:d,liquidIsAbsolute:!0},h)))},t.prototype._handleScrollerEl=function(e,t){var n=function(e,t){for(var n=0,r=e;n<r.length;n++){var i=r[n];if(i.key===t)return i}return null}(this.props.sections,t);n&&Sr(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 xo(this.props.cols)?Eo(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=tr(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,i={},o={};for(var a in t.currentMap){var s=t.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,u=this.props.sections;l<u.length;l++){a=u[l].key;var c=n.currentMap[a];if(c){var d=c.parentNode;i[a]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),o[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:i,scrollerClientHeights:o}},t}(mr);Oo.addStateEquality({scrollerClientWidths:pe,scrollerClientHeights:pe});var Ao=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=a(),t}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,i=r.eventRange,a=i.ui,s={event:new Cn(t,i.def,i.instance),view:t.viewApi,timeText:e.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!e.disableDragging&&Xt(r,t),isStartResizable:!e.disableResizing&&Zt(r,t),isEndResizable:!e.disableResizing&&$t(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)},l=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}(s).concat(a.classNames);return o(kr,{hookProps:s,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},function(t,n,r,i){return e.children(t,l.concat(n),r,i,s)})},t.prototype.componentDidMount=function(){Ut(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&Ut(this.elRef.current,t)},t}(mr),Wo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,i=t.options.eventTimeFormat||e.defaultTimeFormat,a=Kt(n,i,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return o(Ao,{seg:n,timeText:a,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||Lo,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},function(i,a,s,l,u){return o("a",(0,r.Cl)({className:e.extraClassNames.c
2oncat(a).join(" "),style:{borderColor:u.borderColor,backgroundColor:u.backgroundColor},ref:i},en(n,t)),o("div",{className:"fc-event-main",ref:s,style:{color:u.textColor}},l),u.isStartResizable&&o("div",{className:"fc-event-resizer fc-event-resizer-start"}),u.isEndResizable&&o("div",{className:"fc-event-resizer fc-event-resizer-end"}))})},t}(mr);function Lo(e){return o("div",{className:"fc-event-main-frame"},e.timeText&&o("div",{className:"fc-event-time"},e.timeText),o("div",{className:"fc-event-title-container"},o("div",{className:"fc-event-title fc-sticky"},e.event.title||o(s,null,"\xa0"))))}var _o=function(e){return o(hr.Consumer,null,function(t){var n=t.options,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return o(kr,{hookProps:r,classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)})},Fo=et({day:"numeric"}),zo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=Bo({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return o(Mr,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(mr);function Bo(e){var t=e.date,n=e.dateEnv,i=qn(t,e.todayRange,null,e.dateProfile);return(0,r.Cl)((0,r.Cl)((0,r.Cl)({date:n.toDate(t),view:e.viewApi},i),{dayNumberText:e.showDayNumber?n.format(t,Fo):""}),e.extraProps)}var Uo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=_e(Bo),t.normalizeClassNames=Nr(),t}return(0,r.C6)(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}),i=Yn(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),a=r.isDisabled?{}:{"data-date":He(e.date)};return o(Pr,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},function(t){return e.children(t,i,a,r.isDisabled)})},t}(mr);function Vo(e){return o("div",{className:"fc-"+e})}var jo=function(e){return o(Ao,{defaultContent:Go,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,i){return o("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:i.backgroundColor}},r)})};function Go(e){return e.event.title&&o("div",{className:"fc-event-title"},e.event.title)}var qo=function(e){return o(hr.Consumer,null,function(t){var n=t.dateEnv,r=t.options,i=e.date,a=r.weekNumberFormat||e.defaultFormat,s=n.computeWeekNumber(i),l=n.format(i,a);return o(kr,{hookProps:{num:s,text:l,date:i},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:Yo,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},e.children)})};function Yo(e){return e.text}var Xo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:D()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&Sr(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=C(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,r.C6)(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,i=this.props,a=this.state,s=["fc-popover",t.getClass("popover")].concat(i.extraClassNames||[]);return u(o("div",(0,r.Cl)({id:i.id,className:s.join(" "),"aria-labelledby":a.titleId},i.extraAttrs,{ref:this.handleRootEl}),o("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},o("span",{className:"fc-popover-title",id:a.titleId},i.title),o("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),o("div",{className:"fc-popover-body "+t.getClass("popoverContent")},i.children)),i.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)}
2,t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,i=this.rootEl,o=function(e){for(var t=ar(e),n=e.getBoundingClientRect(),r=0,i=t;r<i.length;r++){var o=Ln(n,i[r].getBoundingClientRect());if(!o)return null;n=o}return n}(n);if(o){var a=i.getBoundingClientRect(),s=r?p(n,".fc-scrollgrid").getBoundingClientRect().top:o.top,l=e?o.right-a.width:o.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-a.width),l=Math.max(l,10);var u=i.offsetParent.getBoundingClientRect();m(i,{top:s-u.top,left:l-u.left})}},t}(mr),Zo=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,r.C6)(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,i=r.startDate,a=r.todayRange,s=r.dateProfile,l=n.format(i,t.dayPopoverFormat);return o(Uo,{date:i,dateProfile:s,todayRange:a,elRef:this.handleRootEl},function(e,t,n){return o(Xo,{elRef:e,id:r.id,title:l,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},o(zo,{date:i,dateProfile:s,todayRange:a},function(e,t){return t&&o("div",{className:"fc-more-popover-misc",ref:e},t)}),r.children)})},t.prototype.queryHit=function(e,t,n,i){var o=this.rootEl,a=this.props;return e>=0&&e<n&&t>=0&&t<i?{dateProfile:a.dateProfile,dateSpan:(0,r.Cl)({allDay:!0,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:i},layer:1}:null},t}(Er),$o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=a(),t.state={isPopoverOpen:!1,popoverId:D()},t.handleClick=function(e){var n=t,r=n.props,i=n.context,o=i.options.moreLinkClick,a=Qo(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,o=t.range;return{event:new Cn(i,n,r),start:i.dateEnv.toDate(o.start),end:i.dateEnv.toDate(o.end),isStart:e.isStart,isEnd:e.isEnd}}"function"===typeof o&&(o=o({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:e,view:i.viewApi})),o&&"popover"!==o?"string"===typeof o&&i.calendarApi.zoomTo(a,o):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return(0,r.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return o(hr.Consumer,null,function(r){var i=r.viewApi,a=r.options,l=r.calendarApi,u=a.moreLinkText,c=t.moreCnt,d=Qo(t),p="function"===typeof u?u.call(l,c):"+"+c+" "+u,f=F(a.moreLinkHint,[c],p),h={num:c,shortText:"+"+c,text:p,view:i};return o(s,null,Boolean(t.moreCnt)&&o(kr,{elRef:e.linkElRef,hookProps:h,classNames:a.moreLinkClassNames,content:a.moreLinkContent,defaultContent:t.defaultContent||Ko,didMount:a.moreLinkDidMount,willUnmount:a.moreLinkWillUnmount},function(r,i,o,a){return t.children(r,["fc-more-link"].concat(i),o,a,e.handleClick,f,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")}),n.isPopoverOpen&&o(Zo,{id:n.popoverId,startDate:d.start,endDate:d.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=p(this.linkElRef.current,".fc-view-harness"))},t}(mr);function Ko(e){return e.text}function Qo(e){if(e.allDayDate)return{start:e.allDayDate,end:G(e.allDayDate,1)};var t,n=e.hiddenSegs;return{start:Jo(n),end:(t=n,t.reduce(ta).eventRange.range.end)}}function Jo(e){return e.reduce(ea).eventRange.range.start}function ea(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function ta(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}},4257(e,t,n){n.d(t,{t7:()=>k,Ay:()=>P});var r=n(89204),i=n(47947),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;
2return t.headerElRef=(0,r._3b)(),t}return(0,i.C6)(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,i=this.context,o=[],a=(0,r._Dp)(i.options);return e&&o.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),(0,r.na4)(r.q4f,{viewSpec:i.viewSpec},function(e,t){return(0,r.na4)("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},(0,r.na4)(r.en1,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:o}))})},t.prototype.renderHScrollLayout=function(e,t,n,i){var o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");var a=this.props,s=this.context,l=!a.forPrint&&(0,r._Dp)(s.options),u=!a.forPrint&&(0,r.v2o)(s.options),c=[];return e&&c.push({type:"header",key:"header",isSticky:l,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),c.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),u&&c.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:r.bLJ}]}),(0,r.na4)(r.q4f,{viewSpec:s.viewSpec},function(e,t){return(0,r.na4)("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},(0,r.na4)(o,{liquid:!a.isHeightAuto&&!a.forPrint,collapsibleWidth:a.forPrint,colGroups:[{cols:[{span:n,minWidth:i}]}],sections:c}))})},t}(r.gzh);function a(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var i=0,o=e;i<o.length;i++){var a=o[i];n[a.row].push(a)}return n}function s(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var i=0,o=e;i<o.length;i++){var a=o[i];n[a.firstCol].push(a)}return n}function l(e,t){var n=[];if(e){for(a=0;a<t;a+=1)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,i=e.segs;r<i.length;r++){var o=i[r];n[o.row].segs.push(o)}}else for(var a=0;a<t;a+=1)n[a]=null;return n}var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=(0,r.myk)(this.context,e.date);return(0,r.na4)(r.ux1,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:c},function(n,o){return(o||e.forceDayTop)&&(0,r.na4)("div",{className:"fc-daygrid-day-top",ref:n},(0,r.na4)("a",(0,i.Cl)({id:e.dayNumberId,className:"fc-daygrid-day-number"},t),o||(0,r.na4)(r.FK,null,"\xa0")))})},t}(r.$GR);function c(e){return e.dayNumberText}var d=(0,r.xi1)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function p(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props;return(0,r.na4)(r.y8j,(0,i.Cl)({}
2,e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:d,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(r.$GR),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||d,o=(0,r.wWN)(e.seg,n,t,!0,e.defaultDisplayEventEnd);return(0,r.na4)(r.Nty,{seg:e.seg,timeText:o,defaultContent:v,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},function(n,o,a,s){return(0,r.na4)("a",(0,i.Cl)({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(o).join(" "),ref:n},(0,r.tPU)(e.seg,t)),s)})},t}(r.$GR);function v(e){return(0,r.na4)(r.FK,null,(0,r.na4)("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&(0,r.na4)("div",{className:"fc-event-time"},e.timeText),(0,r.na4)("div",{className:"fc-event-title"},e.event.title||(0,r.na4)(r.FK,null,"\xa0")))}var g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileSegs=(0,r.BjF)(m),t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,o=t.invisibleSegs;return(0,r.na4)(r.knM,{dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:o,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:function(){var t=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return(0,r.na4)(r.FK,null,n.map(function(n){var o=n.eventRange.instance.instanceId;return(0,r.na4)("div",{className:"fc-daygrid-event-harness",key:o,style:{visibility:t[o]?"hidden":""}},p(n)?(0,r.na4)(h,(0,i.Cl)({seg:n,isDragging:!1,isSelected:o===e.eventSelection,defaultDisplayEventEnd:!1},(0,r.F29)(n,e.todayRange))):(0,r.na4)(f,(0,i.Cl)({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:o===e.eventSelection,defaultDisplayEventEnd:!1},(0,r.F29)(n,e.todayRange))))}))}},function(e,t,n,o,a,s,l,u){return(0,r.na4)("a",(0,i.Cl)({ref:e,className:["fc-daygrid-more-link"].concat(t).join(" "),title:s,"aria-expanded":l,"aria-controls":u},(0,r.kfp)(a)),o)})},t}(r.$GR);function m(e){for(var t=[],n=[],r=0,i=e;r<i.length;r++){var o=i[r];t.push(o.seg),o.isVisible||n.push(o.seg)}return{allSegs:t,invisibleSegs:n}}var y=(0,r.xi1)({week:"narrow"}),C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,r._3b)(),t.state={dayNumberId:(0,r.znd)()},t.handleRootEl=function(e){(0,r.cZi)(t.rootElRef,e),(0,r.cZi)(t.props.elRef,e)},t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=e.context,n=e.props,o=e.state,a=e.rootElRef,s=n.date,l=n.dateProfile,c=(0,r.myk)(t,s,"week");return(0,r.na4)(r.rrN,{date:s,dateProfile:l,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,elRef:this.handleRootEl},function(e,t,d,p){return(0,r.na4)("td",(0,i.Cl)({ref:e,role:"gridcell",className:["fc-daygrid-day"].concat(t,n.extraClassNames||[]).join(" ")},d,n.extraDataAttrs,n.showDayNumber?{"aria-labelledby":o.dayNumberId}:{}),(0,r.na4)("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:n.innerElRef},n.showWeekNumber&&(0,r.na4)(r.SUi,{date:s,defaultFormat:y},function(e,t,n,o){return(0,r.na4)("a",(0,i.Cl)({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},c),o)}),!p&&(0,r.na4)(u,{date:s,dateProfile:l,showDayNumber:n.showDayNumber,dayNumberId:o.dayNumberId,forceDayTop:n.forceDayTop,todayRange:n.todayRange,extraHookProps:n.extraHookProps}),(0,r.na4)("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,(0,r.na4)("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},(0,r.na4)(g,{allDayDate:s,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:a,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}
2))),(0,r.na4)("div",{className:"fc-daygrid-day-bg"},n.bgContent)))})},t}(r.gzh);function S(e,t,n,r,i,o,a){var s=new D;s.allowReslicing=!0,s.strictOrder=r,!0===t||!0===n?(s.maxCoord=o,s.hiddenConsumes=!0):"number"===typeof t?s.maxStackCnt=t:"number"===typeof n&&(s.maxStackCnt=n,s.hiddenConsumes=!0);for(var l=[],u=[],c=0;c<e.length;c+=1){var d=i[(k=e[c]).eventRange.instance.instanceId];null!=d?l.push({index:c,thickness:d,span:{start:k.firstCol,end:k.lastCol+1}}):u.push(k)}for(var p=s.addSegs(l),f=function(e,t,n){for(var r=function(e,t){for(var n=[],r=0;r<t;r+=1)n.push([]);for(var i=0,o=e;i<o.length;i++){var a=o[i];for(r=a.span.start;r<a.span.end;r+=1)n[r].push(a)}return n}(e,n.length),i=[],o=[],a=[],s=0;s<n.length;s+=1){for(var l=r[s],u=[],c=0,d=0,p=0,f=l;p<f.length;p++){var h=t[(y=f[p]).index];u.push({seg:E(h,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:y.levelCoord-c}),c=y.levelCoord+y.thickness}var v=[];c=0,d=0;for(var g=0,m=l;g<m.length;g++){h=t[(y=m[g]).index];var y,C=y.span.end-y.span.start>1,S=y.span.start===s;d+=y.levelCoord-c,c=y.levelCoord+y.thickness,C?(d+=y.thickness,S&&v.push({seg:E(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:y.levelCoord,marginTop:0})):S&&(v.push({seg:E(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:d}),d=0)}i.push(u),o.push(v),a.push(d)}return{singleColPlacements:i,multiColPlacements:o,leftoverMargins:a}}(s.toRects(),e,a),h=f.singleColPlacements,v=f.multiColPlacements,g=f.leftoverMargins,m=[],y=[],C=0,S=u;C<S.length;C++){v[(k=S[C]).firstCol].push({seg:k,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var b=k.firstCol;b<=k.lastCol;b+=1)h[b].push({seg:E(k,b,b+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(b=0;b<a.length;b+=1)m.push(0);for(var w=0,R=p;w<R.length;w++){var T=R[w],k=e[T.index],x=T.span;v[x.start].push({seg:E(k,x.start,x.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(b=x.start;b<x.end;b+=1)m[b]+=1,h[b].push({seg:E(k,b,b+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(b=0;b<a.length;b+=1)y.push(g[b]);return{singleColPlacements:h,multiColPlacements:v,moreCnts:m,moreMarginTops:y}}function E(e,t,n,o){if(e.firstCol===t&&e.lastCol===n-1)return e;var a=e.eventRange,s=a.range,l=(0,r.imr)(s,{start:o[t].date,end:(0,r.fij)(o[n-1].date,1)});return(0,i.Cl)((0,i.Cl)({},e),{firstCol:t,lastCol:n-1,eventRange:{def:a.def,ui:(0,i.Cl)((0,i.Cl)({},a.ui),{durationEditable:!1}),instance:a.instance,range:l},isStart:e.isStart&&l.start.valueOf()===s.start.valueOf(),isEnd:e.isEnd&&l.end.valueOf()===s.end.valueOf()})}var D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hiddenConsumes=!1,t.forceHidden={},t}return(0,i.C6)(t,e),t.prototype.addSegs=function(t){for(var n=this,i=e.prototype.addSegs.call(this,t),o=this.entriesByLevel,a=function(e){return!n.forceHidden[(0,r.qAn)(e)]},s=0;s<o.length;s+=1)o[s]=o[s].filter(a);return i},t.prototype.handleInvalidInsertion=function(t,n,o){var a=this.entriesByLevel,s=this.forceHidden,l=t.touchingEntry,u=t.touchingLevel,c=t.touchingLateral;if(this.hiddenConsumes&&l){var d=(0,r.qAn)(l);if(!s[d])if(this.allowReslicing){var p=(0,i.Cl)((0,i.Cl)({},l),{span:(0,r.RNt)(l.span,n.span)});s[(0,r.qAn)(p)]=!0,a[u][c]=p,this.splitEntry(l,n,o)}else s[d]=!0,o.push(l)}return e.prototype.handleInvalidInsertion.call(this,t,n,o)},t}(r.XpW),b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellElRefs=new r.kFN,t.frameElRefs=new r.kFN,t.fgElRefs=new r.kFN,t.segHarnessRefs=new r.kFN,t.rootElRef=(0,r._3b)(),t.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,i=t.state,o=t.context.options,a=n.cells.length,l=s(n.businessHourSegs,a),u=s(n.bgEventSegs,a),c=s(this.getHighlightSegs(),a),d=s(this.getMirrorSegs(),a),p=S((0,r.B4w)(n.fgEventSegs,o.eventOrder),n.dayMaxEvents,n.dayMaxEventRows,o.eventOrderStrict,i.eventInstanceHeights,i.maxContentHeight,n.cells),f=p.singleColPlacements,h=p.multiColPlacements,v=p.moreCnts,g=p.moreMarginTops,m=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return(0,r.na4)("tr",{ref:this.rootElRef,role:"row"},n.renderIntro&&n.renderIntro(),n.cells.map(function(t,i){var o=e.renderFgSegs(i,n.forPrint?f[i]:h[i],n.todayRange,m),a=e.renderFgSegs(i,function(e,t){if(!e.length)return[];var n=function(e){for(var t={},n=0,r=e;n<r.length;n++)for(var i=0,o=r[n];i<o.length;i++){var a=o[i];t[a.seg.eventRange.instance.instanceId]=a.absoluteTop}return t}(t);return e.map(function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}})}(d[i],h),n.todayRange,{},Boolean(n.eventDrag),Boolean(n.eventResize),!1);return(0,r.na4)(C,{key:t.key,elRef:e.cellElRefs.createRef(t.key),innerElRef:e.frameElRefs.createRef(t.key),dateProfile:n.dateProfile,date:t.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&0===i,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,extraHookProps:t.extraHookProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:v[i],moreMarginTop:g[i],singlePlacements:f[i],fgContentElRef:e.fgElRefs.createRef(t.key),fgContent:(0,r.na4)(r.FK,null,(0,r.na4)(r.FK,null,o),(0,r.na4)(r.FK,null,a)),bgContent:(0,r.na4)(r.FK,null,e.renderFillSegs(c[i],"highlight"),e.renderFillSegs(l[i],"non-business"),e.renderFillSegs(u[i],"bg-event"))})}))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!(0,r.vA0)(e,n))},t.prototype.getHighlightSegs=function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs},t.prototype.getMirrorSegs=function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]},t.prototype.renderFgSegs=function(e,t,n,o,a,s,l){var u=this.context,c=this.props.eventSelection,d=this.state.framePositions,v=1===this.props.cells.length,g=a||s||l,m=[];if(d)for(var y=0,C=t;y<C.length;y++){var S=C[y],E=S.seg,D=E.eventRange.instance.instanceId,b=D+":"+e,w=S.isVisible&&!o[D],R=S.isAbsolute,T="",k="";R&&(u.isRtl?(k=0,T=d.lefts[E.lastCol]-d.lefts[E.firstCol]):(T=0,k=d.rights[E.firstCol]-d.rights[E.lastCol])),m.push((0,r.na4)("div",{className:"fc-daygri
2d-event-harness"+(R?" fc-daygrid-event-harness-abs":""),key:b,ref:g?null:this.segHarnessRefs.createRef(b),style:{visibility:w?"":"hidden",marginTop:R?"":S.marginTop,top:R?S.absoluteTop:"",left:T,right:k}},p(E)?(0,r.na4)(h,(0,i.Cl)({seg:E,isDragging:a,isSelected:D===c,defaultDisplayEventEnd:v},(0,r.F29)(E,n))):(0,r.na4)(f,(0,i.Cl)({seg:E,isDragging:a,isResizing:s,isDateSelecting:l,isSelected:D===c,defaultDisplayEventEnd:v},(0,r.F29)(E,n)))))}return m},t.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,o=this.props.todayRange,a=this.state.framePositions,s=[];if(a)for(var l=0,u=e;l<u.length;l++){var c=u[l],d=n?{right:0,left:a.lefts[c.lastCol]-a.lefts[c.firstCol]}:{left:0,right:a.rights[c.firstCol]-a.rights[c.lastCol]};s.push((0,r.na4)("div",{key:(0,r.N8)(c.eventRange),className:"fc-daygrid-bg-harness",style:d},"bg-event"===t?(0,r.na4)(r.s_G,(0,i.Cl)({seg:c},(0,r.F29)(c,o))):(0,r.aOA)(t)))}return r.na4.apply(void 0,(0,i.fX)([r.FK,{}],s))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(!t.forPrint&&null!==t.clientWidth){if(e){var o=t.cells.map(function(e){return n.currentMap[e.key]});if(o.length){var a=this.rootElRef.current;this.setState({framePositions:new r.Qnh(a,o,!0,!1)})}}var s=this.state.eventInstanceHeights,l=this.queryEventInstanceHeights(),u=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({eventInstanceHeights:(0,i.Cl)((0,i.Cl)({},s),l),maxContentHeight:u?this.computeMaxContentHeight():null})}},t.prototype.queryEventInstanceHeights=function(){var e=this.segHarnessRefs.currentMap,t={};for(var n in e){var r=Math.round(e[n].getBoundingClientRect().height),i=n.split(":")[0];t[i]=Math.max(t[i]||0,r)}return t},t.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top},t.prototype.getCellEls=function(){var e=this.cellElRefs.currentMap;return this.props.cells.map(function(t){return e[t.key]})},t}(r.gzh);b.addStateEquality({eventInstanceHeights:r.vA0});var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=(0,r.BjF)(a),t.splitBgEventSegs=(0,r.BjF)(a),t.splitFgEventSegs=(0,r.BjF)(a),t.splitDateSelectionSegs=(0,r.BjF)(a),t.splitEventDrag=(0,r.BjF)(l),t.splitEventResize=(0,r.BjF)(l),t.rowRefs=new r.kFN,t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.dateProfile,i=t.dayMaxEventRows,o=t.dayMaxEvents,a=t.expandRows,s=t.cells.length,l=this.splitBusinessHourSegs(t.businessHourSegs,s),u=this.splitBgEventSegs(t.bgEventSegs,s),c=this.splitFgEventSegs(t.fgEventSegs,s),d=this.splitDateSelectionSegs(t.dateSelectionSegs,s),p=this.splitEventDrag(t.eventDrag,s),f=this.splitEventResize(t.eventResize,s),h=!0===o||!0===i;h&&!a&&(h=!1,i=null,o=null);var v=["fc-daygrid-body",h?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",a?"":"fc-daygrid-body-natural"];return(0,r.na4)("div",{className:v.join(" "),ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},(0,r.na4)(r.O6g,{unit:"day"},function(h,v){return(0,r.na4)(r.FK,null,(0,r.na4)("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:a?t.clientHeight:""}},t.colGroupNode,(0,r.na4)("tbody",{role:"presentation"},t.cells.map(function(a,h){return(0,r.na4)(b,{ref:e.rowRefs.createRef(h),key:a.length?a[0].date.toISOString():h,showDayNumbers:s>1,showWeekNumbers:t.showWeekNumbers,todayRange:v,dateProfile:n,cells:a,renderIntro:t.renderRowIntro,businessHourSegs:l[h],eventSelection:t.eventSelection,bgEventSegs:u[h].filter(R),fgEventSegs:c[h],dateSelectionSegs:d[h],eventDrag:p[h],eventResize:f[h],dayMaxEvents:o,dayMaxEventRows:i,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint})}))))}))},t.prototype.prepareHits=function(){this.rowPositions=new r.Qnh(this.rootEl,this.rowRefs.collect().map(function(e){return e.getCellEls()[0]}),!1,!0),this.colPositions=new r.Qnh(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.queryHit=function(e,t){var n=this.colPositions,r=this.rowPositions,o=n.leftToIndex(e),a=r.topToIndex(t);if(null!=a&&null!=o){var s=this.props.cells[a][o];return{dateProfile:this.props.dateProfile,dateSpan:(0,i.Cl)({range:this.getCellRange(a,o),allDay:!0},s.extraDateSpan),dayEl:this.getCellEl(a,o),rect:{left:n.lefts[o],right:n.rights[o],top:r.tops[a],bottom:r.bottoms[a]},layer:0}}return null},t.prototype.getCellEl=function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]},t.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:(0,r.fij)(n,1)}},t}(r.gzh);function R(e){return e.eventRange.def.allDay}var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return(0,i.C6)(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(r.$He),k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new T,t.tableRef=(0,r._3b)(),t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,r.na4)(w,(0,i.Cl)({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))},t}(r.gzh),x=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayTableModel=(0,r.BjF)(M),t.headerRef=(0,r._3b)(),t.tableRef=(0,r._3b)(),t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,i=t.dateProfileGenerator,o=this.props,a=this.buildDayTableModel(o.dateProfile,i),s=n.dayHeaders&&(0,r.na4)(r.A1b,{ref:this.headerRef,dateProfile:o.dateProfile,dates:a.headerDates,datesRepDistinctDays:1===a.rowCnt}),l=function(t){return(0,r.na4)(k,{ref:e.tableRef,dateProfile:o.dateProfile,dayTableModel:a,businessHours:o.businessHours,dateSelection:o.dateSelection,eventStore:o.eventStore,eventUiBases:o.eventUiBases,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!o.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:o.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(s,l,a.colCnt,n.dayMinWidth):this.renderSimpleLayout(s,l)},t}(o);
2function M(e,t){var n=new r.NC_(e.renderRange,t);return new r.mql(n,/year|month|week/.test(e.currentRangeUnit))}var I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.buildRenderRange=function(t,n,i){var o,a=this.props.dateEnv,s=e.prototype.buildRenderRange.call(this,t,n,i),l=s.start,u=s.end;if(/^(year|month)$/.test(n)&&(l=a.startOfWeek(l),(o=a.startOfWeek(u)).valueOf()!==u.valueOf()&&(u=(0,r.J4u)(o,1))),this.props.monthMode&&this.props.fixedWeekCount){var c=Math.ceil((0,r.Z3F)(l,u));u=(0,r.J4u)(u,6-c)}return{start:l,end:u}},t}(r.rou);const P=(0,r.i1g)({initialView:"dayGridMonth",views:{dayGrid:{component:x,dateProfileGeneratorClass:I},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}})},98717(e,t,n){var r=n(89204),i=n(47947);r.$WB.touchMouseIgnoreWait=500;var o=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,o+=1,setTimeout(function(){o-=1},r.$WB.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.vli,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(a+=1)&&window.addEventListener("touchmove",u,{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",u,{passive:!1})},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!(0,r.YAv)(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.YAv)(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return o||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,i=e.touches,o=0,a=0;return i&&i.length?(n=i[0].pageX,r=i[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(o=n-this.origPageX,a=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:o,deltaY:a}},e}();function u(e){s&&e.preventDefault()}var c=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,i=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",(0,r.AVT)(n,{left:i.left,top:i.top}),(0,r.SH7)(n,function(){n.style.transition="",e()})},e.prototype.cleanup=function(){this.mirrorEl&&((0,r.NzY)(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&(0,r.AVT)(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.AVT)(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;
2return 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,i.C6)(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.w1c),p=function(e){function t(t,n){return e.call(this,new r._n8(t),n)||this}return(0,i.C6)(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return(0,r.Qfg)(this.scrollController.el)},t}(d),f=function(e){function t(t){return e.call(this,new r.Wkc,t)||this}return(0,i.C6)(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,v=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,i=null===this.pointerScreenY?0:r-this.pointerScreenY,o=null===this.pointerScreenX?0:n-this.pointerScreenX;i<0?this.everMovedUp=!0:i>0&&(this.everMovedDown=!0),o<0?this.everMovedLeft=!0:o>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,i=r-e.distance,o=i*i/(r*r)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+o*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+o*a)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,i=0,o=this.scrollCaches||[];i<o.length;i++){var a=o[i],s=a.clientRect,l=e-s.left,u=s.right-e,c=t-s.top,d=s.bottom-t;l>=0&&u>=0&&c>=0&&d>=0&&(c<=n&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>c)&&(r={scrollCache:a,name:"top",distance:c}),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}),u<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"right",distance:u}))}return r},e.prototype.buildCaches=function(e){return this.queryScrollEls(e).map(function(e){return e===window?new f(!1):new p(e,!1)})},e.prototype.queryScrollEls=function(e){for(var t=[],n=0,i=this.scrollQuery;n<i.length;n++){var o=i[n];"object"===typeof o?t.push(o):t.push.apply(t,Array.prototype.slice.call((0,r.UOc)(e).querySelectorAll(
2o)))}return t},e}(),g=function(e){function t(t,n){var i=e.call(this,t)||this;i.containerEl=t,i.delay=null,i.minDistance=0,i.touchScrollAllowed=!0,i.mirrorNeedsRevert=!1,i.isInteracting=!1,i.isDragging=!1,i.isDelayEnded=!1,i.isDistanceSurpassed=!1,i.delayTimeoutId=null,i.onPointerDown=function(e){i.isDragging||(i.isInteracting=!0,i.isDelayEnded=!1,i.isDistanceSurpassed=!1,(0,r.vFY)(document.body),(0,r.N7h)(document.body),e.isTouch||e.origEvent.preventDefault(),i.emitter.trigger("pointerdown",e),i.isInteracting&&!i.pointer.shouldIgnoreMove&&(i.mirror.setIsVisible(!1),i.mirror.start(e.subjectEl,e.pageX,e.pageY),i.startDelay(e),i.minDistance||i.handleDistanceSurpassed(e)))},i.onPointerMove=function(e){if(i.isInteracting){if(i.emitter.trigger("pointermove",e),!i.isDistanceSurpassed){var t=i.minDistance,n=e.deltaX,r=e.deltaY;n*n+r*r>=t*t&&i.handleDistanceSurpassed(e)}i.isDragging&&("scroll"!==e.origEvent.type&&(i.mirror.handleMove(e.pageX,e.pageY),i.autoScroller.handleMove(e.pageX,e.pageY)),i.emitter.trigger("dragmove",e))}},i.onPointerUp=function(e){i.isInteracting&&(i.isInteracting=!1,(0,r._8O)(document.body),(0,r.iDH)(document.body),i.emitter.trigger("pointerup",e),i.isDragging&&(i.autoScroller.stop(),i.tryStopDrag(e)),i.delayTimeoutId&&(clearTimeout(i.delayTimeoutId),i.delayTimeoutId=null))};var o=i.pointer=new l(t);return o.emitter.on("pointerdown",i.onPointerDown),o.emitter.on("pointermove",i.onPointerMove),o.emitter.on("pointerup",i.onPointerUp),n&&(o.selector=n),i.mirror=new c,i.autoScroller=new v,i}return(0,i.C6)(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.WDw),m=function(){function e(e){this.origRect=(0,r.Cc$)(e),this.scrollCaches=(0,r.ccu)(e).map(function(e){return new p(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={left:e,top:t},i=0,o=this.scrollCaches;i<o.length;i++){var a=o[i];if(!y(a.getEventTarget())&&!(0,r.$UH)(n,a.clientRect))return!1}return!0},e}();function y(e){var t=e.tagName;return"HTML"===t||"BODY"===t}var C=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.vli}
2return e.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},i=n,o=e.subjectEl;o instanceof HTMLElement&&(t=(0,r.Cc$)(o),i=(0,r.AF1)(i,t));var a=this.initialHit=this.queryHitForOffset(i.left,i.top);if(a){if(this.useSubjectCenter&&t){var s=(0,r.B_7)(t,a.rect);s&&(i=(0,r.QvU)(s))}this.coordAdjust=(0,r.puS)(i,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&&S(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){this.offsetTrackers=(0,r.d_K)(this.droppableStore,function(e){return e.component.prepareHits(),new m(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,i=this.offsetTrackers,o=null;for(var a in n){var s=n[a].component,l=i[a];if(l&&l.isWithinClipping(e,t)){var u=l.computeLeft(),c=l.computeTop(),d=e-u,p=t-c,f=l.origRect,h=f.right-f.left,v=f.bottom-f.top;if(d>=0&&d<h&&p>=0&&p<v){var g=s.queryHit(d,p,h,v);g&&(0,r.wj3)(g.dateProfile.activeRange,g.dateSpan.range)&&(!o||g.layer>o.layer)&&(g.componentId=a,g.context=s.context,g.rect.left+=u,g.rect.right+=u,g.rect.top+=c,g.rect.bottom+=c,o=g)}}}return o},e}();function S(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&(0,r.U6q)(e.dateSpan,t.dateSpan)}function E(e,t){for(var n,r,o={},a=0,s=t.pluginHooks.datePointTransforms;a<s.length;a++){var l=s[a];(0,i.Cl)(o,l(e,t))}return(0,i.Cl)(o,(n=e,{date:(r=t.dateEnv).toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),o}var D=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,o=r.initialHit,a=r.finalHit;if(o&&a&&S(o,a)){var s=t.context,l=(0,i.Cl)((0,i.Cl)({},E(o.dateSpan,s)),{dayEl:o.dayEl,jsEvent:e.origEvent,view:s.viewApi||s.calendarApi.view});s.emitter.trigger("dateClick",l)}}},n.dragging=new g(t.el),n.dragging.autoScroller.isEnabled=!1;var o=n.hitDragging=new C(n.dragging,(0,r.qIM)(t));return o.emitter.on("pointerdown",n.handlePointerDown),o.emitter.on("dragend",n.handleDragEnd),n}return(0,i.C6)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.N3M),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,i=t.dragging,o=r.context.options.selectable&&r.isValidDateDownEl(e.origEvent.target);i.setIgnoreMove(!o),i.delay=e.isTouch?function(e){var t=e.context.options,n=t.selectLongPressDelay;null==n&&(n=t.longPressDelay);return n}(r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var o=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 o=e.dateSpan,a=t.dateSpan,s=[o.range.start,o.range.end,a.range.start,a.range.end];s.sort(r.S$d);for(var l={},u=0,c=n;u<c.length;u++){var d=(0,c[u])(e,t);if(!1===d)return null;d&&(0,i.Cl)(l,d)}return l.range={start:s[0],end:s[3]},l.allDay=o.allDay,l}(l,e,o.pluginHooks.dateSelectionTransformers)),a&&(0,r.rjW)(a,e.dateProfile,o)||(s=!0,a=null)}a?o.dispatch({type:"SELECT_DATES",selection:a}):t||o.dispatch({type:"UNSELECT_DATES"}),s?(0,r.tOV)():(0,r.q2g)(),t||(n.dragSelection=a)},n.handlePointerUp=function(e){n.dragSelection&&((0,r.F5O)(n.dragSelection,e,n.component.context),n.dragSelection=null)};var o=t.component.context.options,a=n.dragging=new g(t.el);a.touchScrollAllowed=!1,a.minDistance=o.selectMinDistance||0,a.autoScroller.isEnabled=o.dragScroll;var s=n.hitDragging=new C(n.dragging,(0,r.qIM)(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,i.C6)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.N3M);var w=function(e){function t(n){var o=e.call(this,n)||this;o.subjectEl=null,o.subjectSeg=null,o.isDragging=!1,o.eventRange=null,o.relevantEvents=null,o.receivingContext=null,o.validMutation=null,o.mutatedRelevantEvents=null,o.handlePointerDown=function(e){var t=e.origEvent.target,n=o,i=n.component,a=n.dragging,s=a.mirror,l=i.context.options,u=i.context;o.subjectEl=e.subjectEl;var c=o.subjectSeg=(0,r.VVT)(e.subjectEl),d=(o.eventRange=c.eventRange).instance.instanceId;o.relevantEvents=(0,r.LkY)(u.getCurrentData().eventStore,d),a.minDistance=e.isTouch?0:l.eventDragMinDistance,a.delay=e.isTouch&&d!==i.props.eventSelection?function(e){var t=e.context.options,n=t.eventLongPressDelay;null==n&&(n=t.longPressDelay);return n}(i):null,l.fixedMirrorParent?s.parentNode=l.fixedMirrorParent:s.parentNode=(0,r.YAv)(t,".fc"),s.revertDuration=l.dragRevertDuration;var p=i.isValidSegDownEl(t)&&!(0,r.YAv)(t,".fc-event-resizer");
2a.setIgnoreMove(!p),o.isDragging=p&&e.subjectEl.classList.contains("fc-event-draggable")},o.handleDragStart=function(e){var t=o.component.context,n=o.eventRange,i=n.instance.instanceId;e.isTouch?i!==o.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:i}):t.dispatch({type:"UNSELECT_EVENT"}),o.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:o.subjectEl,event:new r.fhX(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},o.handleHitUpdate=function(e,t){if(o.isDragging){var n=o.relevantEvents,i=o.hitDragging.initialHit,a=o.component.context,s=null,l=null,u=null,c=!1,d={affectedEvents:n,mutatedEvents:(0,r.H8x)(),isEvent:!0};if(e){var p=(s=e.context).options;a===s||p.editable&&p.droppable?(l=function(e,t,n){var i=e.dateSpan,o=t.dateSpan,a=i.range.start,s=o.range.start,l={};i.allDay!==o.allDay&&(l.allDay=o.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,o.allDay&&(a=(0,r.ol1)(a)));var u=(0,r.FjJ)(a,s,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);u.milliseconds&&(l.allDay=!1);for(var c={datesDelta:u,standardProps:l},d=0,p=n;d<p.length;d++){(0,p[d])(c,e,t)}return c}(i,e,s.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(u=(0,r.on3)(n,s.getCurrentData().eventUiBases,l,s),d.mutatedEvents=u,(0,r.lVx)(d,e.dateProfile,s)||(c=!0,l=null,u=null,d.mutatedEvents=(0,r.H8x)())):s=null}o.displayDrag(s,d),c?(0,r.tOV)():(0,r.q2g)(),t||(a===s&&S(i,e)&&(l=null),o.dragging.setMirrorNeedsRevert(!l),o.dragging.setMirrorIsVisible(!e||!(0,r.UOc)(o.subjectEl).querySelector(".fc-event-mirror")),o.receivingContext=s,o.validMutation=l,o.mutatedRelevantEvents=u)}},o.handlePointerUp=function(){o.isDragging||o.cleanup()},o.handleDragEnd=function(e){if(o.isDragging){var t=o.component.context,n=t.viewApi,a=o,s=a.receivingContext,l=a.validMutation,u=o.eventRange.def,c=o.eventRange.instance,d=new r.fhX(t,u,c),p=o.relevantEvents,f=o.mutatedRelevantEvents,h=o.hitDragging.finalHit;if(o.clearDrag(),t.emitter.trigger("eventDragStop",{el:o.subjectEl,event:d,jsEvent:e.origEvent,view:n}),l){if(s===t){var v=new r.fhX(t,f.defs[u.defId],c?f.instances[c.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:f});for(var g={oldEvent:d,event:v,relatedEvents:(0,r.uEb)(f,t,c),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:p})}},m={},y=0,C=t.getCurrentData().pluginHooks.eventDropTransformers;y<C.length;y++){var S=C[y];(0,i.Cl)(m,S(l,t))}t.emitter.trigger("eventDrop",(0,i.Cl)((0,i.Cl)((0,i.Cl)({},g),m),{el:e.subjectEl,delta:l.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",g)}else if(s){var D={event:d,relatedEvents:(0,r.uEb)(p,t,c),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:p})}};t.emitter.trigger("eventLeave",(0,i.Cl)((0,i.Cl)({},D),{draggedEl:e.subjectEl,view:n}
2)),t.dispatch({type:"REMOVE_EVENTS",eventStore:p}),t.emitter.trigger("eventRemove",D);var b=f.defs[u.defId],w=f.instances[c.instanceId],R=new r.fhX(s,b,w);s.dispatch({type:"MERGE_EVENTS",eventStore:f});var T={event:R,relatedEvents:(0,r.uEb)(f,s,w),revert:function(){s.dispatch({type:"REMOVE_EVENTS",eventStore:f})}};s.emitter.trigger("eventAdd",T),e.isTouch&&s.dispatch({type:"SELECT_EVENT",eventInstanceId:c.instanceId}),s.emitter.trigger("drop",(0,i.Cl)((0,i.Cl)({},E(h.dateSpan,s)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:h.context.viewApi})),s.emitter.trigger("eventReceive",(0,i.Cl)((0,i.Cl)({},T),{draggedEl:e.subjectEl,view:h.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}o.cleanup()};var a=o.component.context.options,s=o.dragging=new g(n.el);s.pointer.selector=t.SELECTOR,s.touchScrollAllowed=!1,s.autoScroller.isEnabled=a.dragScroll;var l=o.hitDragging=new C(o.dragging,r.BNQ);return l.useSubjectCenter=n.useEventCenter,l.emitter.on("pointerdown",o.handlePointerDown),l.emitter.on("dragstart",o.handleDragStart),l.emitter.on("hitupdate",o.handleHitUpdate),l.emitter.on("pointerup",o.handlePointerUp),l.emitter.on("dragend",o.handleDragEnd),o}return(0,i.C6)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,t){var n=this.component.context,i=this.receivingContext;i&&i!==e&&(i===n?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:(0,r.H8x)(),isEvent:!0}}):i.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.N3M);var R=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,i=n.querySegEl(e),o=(0,r.VVT)(i),a=n.eventRange=o.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,i=n.eventRange;n.relevantEvents=(0,r.LkY)(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var o=n.querySegEl(e);n.draggingSegEl=o,n.draggingSeg=(0,r.VVT)(o),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:o,event:new r.fhX(t,i.def,i.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,i){var o=n.component.context,a=n.relevantEvents,s=n.hitDragging.initialHit,l=n.eventRange.instance,u=null,c=null,d=!1,p={affectedEvents:a,mutatedEvents:(0,r.H8x)(),isEvent:!0};e&&(e.componentId===s.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(s,e)||(u=function(e,t,n,i){var o=e.context.dateEnv,a=e.dateSpan.range.start,s=t.dateSpan.range.start,l=(0,r.FjJ)(a,s,o,e.largeUnit);if(n){if(o.add(i.start,l)<i.end)return{startDelta:l}}else if(o.add(i.end,l)>i.start)return{endDelta:l};return null}(s,e,i.subjectEl.classList.contains("fc-event-resizer-start"),l.range)));u&&(c=(0,r.on3)(a,o.getCurrentData().eventUiBases,u,o),p.mutatedEvents=c,(0,r.lVx)(p,e.dateProfile,o)||(d=!0,u=null,c=null,p.mutatedEvents=null)),c?o.dispatch({type:"SET_EVENT_RESIZE",state:p}):o.dispatch({type:"UNSET_EVENT_RESIZE"}),d?(0,r.tOV)():(0,r.q2g)(),t||(u&&S(s,e)&&(u=null),n.validMutation=u,n.mutatedRelevantEvents=c)},n.handleDragEnd=function(e){var t=n.component.context,o=n.eventRange.def,a=n.eventRange.instance,s=new r.fhX(t,o,a),l=n.relevantEvents,u=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:s,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var c=new r.fhX(t,u.defs[o.defId],a?u.instances[a.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:u});var d={oldEvent:s,event:c,relatedEvents:(0,r.uEb)(u,t,a),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}};t.emitter.trigger("eventResize",(0,i.Cl)((0,i.Cl)({},d),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||(0,r.xCT)(0),endDelta:n.validMutation.endDelta||(0,r.xCT)(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 o=t.component,a=n.dragging=new g(t.el);a.pointer.selector=".fc-event-resizer",a.touchScrollAllowed=!1,a.autoScroller.isEnabled=o.context.options.dragScroll;var s=n.hitDragging=new C(n.dragging,(0,r.qIM)(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,i.C6)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return(0,r.YAv)(e.subjectEl,".fc-event")},t}(r.N3M);var T=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,i=(0,r.Mpm)(e.origEvent);t.matchesCancel=!!(0,r.YAv)(i,n),t.matchesEvent=!!(0,r.YAv)(i,w.SELECTOR)},this.onDocumentPointerUp=function(e){var n=t.context,r=t.documentPointer,i=n.getCurrentData();if(!r.wasTouchScroll){if(i.dateSelection&&!t.isRecentPointerDateSelect){var o=n.options.unselectAuto;!o||o&&t.matchesCancel||n.calendarApi.unselect(e)}i.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}(),k={fixedMirrorParent:r.D_O},x={dateClick:r.D_O,eventDragStart:r.D_O,eventDragStop:r.D_O,eventDrop:r.D_O,eventResizeStart:r.D_O,eventResizeStop:r.D_O,eventResize:r.D_O,drop:r.D_O,eventReceive:r.D_O,eventLeave:r.D_O},M=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,o){var a=n.hitDragging.dragging,s=null,l=null,u=!1,c={affectedEvents:(0,r.H8x)(),mutatedEvents:(0,r.H8x)(),isEvent:n.dragMeta.create};e&&(s=e.context,n.canDropElOnCalendar(o.subjectEl,s)&&(l=function(e,t,n){for(var o=(0,i.Cl)({},t.leftoverProps),a=0,s=n.pluginHooks.externalDefTransforms;a<s.length;a++){var l=s[a];(0,i.Cl)(o,l(e,t))}var u=(0,r.Zl2)(o,n),c=u.refined,d=u.extra,p=(0,r.Rjd)(c,d,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),f=e.range.start;e.allDay&&t.startTime&&(f=n.dateEnv.add(f,t.startTime));var h=t.duration?n.dateEnv.add(f,t.duration):(0,r.hax)(e.allDay,f,n),v=(0,r.OEO)(p.defId,{start:f,end:h});return{def:p,instance:v}}(e.dateSpan,n.dragMeta,s),c.mutatedEvents=(0,r.tbu)(l),(u=!(0,r.lVx)(c,e.dateProfile,s))&&(c.mutatedEvents=(0,r.H8x)(),l=null))),n.displayDrag(s,c),a.setMirrorIsVisible(t||!l||!document.querySelector(".fc-event-mirror")),u?(0,r.tOV)():(0,r.q2g)(),t||(a.setMirrorNeedsRevert(!l),n.receivingContext=s,n.droppableEvent=l)},this.handleDragEnd=function(e){var t=n,o=t.receivingContext,a=t.droppableEvent;if(n.clearDrag(),o&&a){var s=n.hitDragging.finalHit,l=s.context.viewApi,u=n.dragMeta;if(o.emitter.trigger("drop",(0,i.Cl)((0,i.Cl)({},E(s.dateSpan,o)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:l})),u.create){var c=(0,r.tbu)(a);o.dispatch({type:"MERGE_EVENTS",eventStore:c}),e.isTouch&&o.dispatch({type:"SELECT_EVENT",eventInstanceId:a.instance.instanceId}),o.emitter.trigger("eventReceive",{event:new r.fhX(o,a.def,a.instance),relatedEvents:[],revert:function(){o.dispatch({type:"REMOVE_EVENTS",eventStore:c})},draggedEl:e.subjectEl,view:l})}}n.receivingContext=null,n.droppableEvent=null};var o=this.hitDragging=new C(e,r.BNQ);o.requireInitial=!1,o.emitter.on("dragstart",this.handleDragStart),o.emitter.on("hitupdate",this.handleHitUpdate),o.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}return e.prototype.buildDragMeta=function(e){return"object"===typeof this.suppliedDragMeta?(0,r.PWO)(this.suppliedDragMeta):"function"===typeof this.suppliedDragMeta?(0,r.PWO)(this.suppliedDragMeta(e)):function(e){var t=function(e,t){var n=r.$WB.dataAttrPrefix,i=(n?n+"-":"")+t;return e.getAttribute("data-"+i)||""}(e,"event"),n=t?JSON.parse(t):{create:!1};return(0,r.PWO)(n)}(e)},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.C4N)(e,n))},e}();r.$WB.dataAttrPrefix="";!function(){function e(e,t){var n=this;void 0===t&&(t={}),this.handlePointerDown=function(e){var t=n.dragging,i=n.settings,o=i.minDistance,a=i.longPressDelay;t.minDistance=null!=o?o:e.isTouch?0:r.p3z.eventDragMinDistance,t.delay=e.isTouch?null!=a?a:r.p3z.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 i=this.dragging=new g(e);i.touchScrollAllowed=!1,null!=t.itemSelector&&(i.pointer.selector=t.itemSelector),null!=t.appendTo&&(i.mirror.parentNode=t.appendTo),i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),new M(i,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();var I=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,i.C6)(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.WDw);!function(){function e(e,t){var n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};var r=this.dragging=new I(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 M(r,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();const P=(0,r.i1g)({componentInteractions:[D,b,w,R],calendarInteractions:[T],elementDraggingImpl:g,optionRefiners:k,listenerRefiners:x});n.d(t,["Ay",0,P])},47693(e,t,n){n.d(t,{A:()=>v});var r=n(89204),i=n(47947),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textId:(0,r.znd)()},t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.dateEnv,o=e.options,s=e.viewApi,l=this.props,u=l.cellId,c=l.dayDate,d=l.todayRange,p=this.state.textId,f=(0,r.qFr)(c,d),h=o.listDayFormat?n.format(c,o.listDayFormat):"",v=o.listDaySideFormat?n.format(c,o.listDaySideFormat):"",g=(0,i.Cl)({date:n.toDate(c),view:s,textId:p,text:h,sideText:v,navLinkAttrs:(0,r.myk)(this.context,c),sideNavLinkAttrs:(0,r.myk)(this.context,c,"day",!1)},f),m=["fc-list-day"].concat((0,r.NP$)(f,t));return(0,r.na4)(r.iT7,{hookProps:g,classNames:o.dayHeaderClassNames,content:o.dayHeaderContent,defaultContent:a,didMount:o.dayHeaderDidMount,willUnmount:o.dayHeaderWillUnmount},function(e,n,i,o){return(0,r.na4)("tr",{ref:e,className:m.concat(n).join(" "),"data-date":(0,r.bxH)(c)},(0,r.na4)("th",{scope:"colgroup",colSpan:3,id:u,"aria-labelledby":p},(0,r.na4)("div",{className:"fc-list-day-cushion "+t.getClass("tableCellShaded"),ref:i},o)))})},t}(r.$GR);function a(e){return(0,r.na4)(r.FK,null,e.text&&(0,r.na4)("a",(0,i.Cl)({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&(0,r.na4)("a",(0,i.Cl)({"aria-hidden":!0,
2className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}var s=(0,r.xi1)({hour:"numeric",minute:"2-digit",meridiem:"short"}),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,o=e.timeHeaderId,a=e.eventHeaderId,l=e.dateHeaderId,c=t.options.eventTimeFormat||s;return(0,r.na4)(r.Nty,{seg:n,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:function(){return function(e,t){var n=(0,r.tPU)(e,t);return(0,r.na4)("a",(0,i.Cl)({},n),e.eventRange.def.title)}(n,t)},isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},function(e,i,s,d,p){return(0,r.na4)("tr",{className:["fc-list-event",p.event.url?"fc-event-forced-url":""].concat(i).join(" "),ref:e},function(e,t,n,i,o){var a=n.options;if(!1!==a.displayEventTime){var s=e.eventRange.def,l=e.eventRange.instance,c=!1,d=void 0;if(s.allDay?c=!0:(0,r.HvV)(e.eventRange.range)?e.isStart?d=(0,r.wWN)(e,t,n,null,null,l.range.start,e.end):e.isEnd?d=(0,r.wWN)(e,t,n,null,null,e.start,l.range.end):c=!0:d=(0,r.wWN)(e,t,n),c){var p={text:n.options.allDayText,view:n.viewApi};return(0,r.na4)(r.iT7,{hookProps:p,classNames:a.allDayClassNames,content:a.allDayContent,defaultContent:u,didMount:a.allDayDidMount,willUnmount:a.allDayWillUnmount},function(e,t,n,a){return(0,r.na4)("td",{ref:e,headers:i+" "+o,className:["fc-list-event-time"].concat(t).join(" ")},a)})}return(0,r.na4)("td",{className:"fc-list-event-time"},d)}return null}(n,c,t,o,l),(0,r.na4)("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},(0,r.na4)("span",{className:"fc-list-event-dot",style:{borderColor:p.borderColor||p.backgroundColor}})),(0,r.na4)("td",{ref:s,headers:a+" "+l,className:"fc-list-event-title"},d))})},t}(r.$GR);function u(e){return e.text}var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;
2return t.computeDateVars=(0,r.BjF)(p),t.eventStoreToSegs=(0,r.BjF)(t._eventStoreToSegs),t.state={timeHeaderId:(0,r.znd)(),eventHeaderId:(0,r.znd)(),dateHeaderIdRoot:(0,r.znd)()},t.setRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,i=["fc-list",n.theme.getClass("table"),!1!==n.options.stickyHeaderDates?"fc-list-sticky":""],o=this.computeDateVars(t.dateProfile),a=o.dayDates,s=o.dayRanges,l=this.eventStoreToSegs(t.eventStore,t.eventUiBases,s);return(0,r.na4)(r.q4f,{viewSpec:n.viewSpec,elRef:this.setRootEl},function(n,o){return(0,r.na4)("div",{ref:n,className:i.concat(o).join(" ")},(0,r.na4)(r.HOs,{liquid:!t.isHeightAuto,overflowX:t.isHeightAuto?"visible":"hidden",overflowY:t.isHeightAuto?"visible":"auto"},l.length>0?e.renderSegList(l,a):e.renderEmptyMessage()))})},t.prototype.renderEmptyMessage=function(){var e=this.context,t=e.options,n=e.viewApi,i={text:t.noEventsText,view:n};return(0,r.na4)(r.iT7,{hookProps:i,classNames:t.noEventsClassNames,content:t.noEventsContent,defaultContent:d,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},function(e,t,n,i){return(0,r.na4)("div",{className:["fc-list-empty"].concat(t).join(" "),ref:e},(0,r.na4)("div",{className:"fc-list-empty-cushion",ref:n},i))})},t.prototype.renderSegList=function(e,t){var n=this.context,a=n.theme,s=n.options,u=this.state,c=u.timeHeaderId,d=u.eventHeaderId,p=u.dateHeaderIdRoot,f=function(e){var t,n,r=[];for(t=0;t<e.length;t+=1)(r[(n=e[t]).dayIndex]||(r[n.dayIndex]=[])).push(n);return r}(e);return(0,r.na4)(r.O6g,{unit:"day"},function(e,n){for(var u=[],h=0;h<f.length;h+=1){var v=f[h];if(v){var g=(0,r.bxH)(t[h]),m=p+"-"+g;u.push((0,r.na4)(o,{key:g,cellId:m,dayDate:t[h],todayRange:n}));for(var y=0,C=v=(0,r.B4w)(v,s.eventOrder);y<C.length;y++){var S=C[y];u.push((0,r.na4)(l,(0,i.Cl)({key:g+":"+S.eventRange.instance.instanceId,seg:S,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:c,eventHeaderId:d,dateHeaderId:m},(0,r.F29)(S,n,e))))}}}return(0,r.na4)("table",{className:"fc-list-table "+a.getClass("table")},(0,r.na4)("thead",null,(0,r.na4)("tr",null,(0,r.na4)("th",{scope:"col",id:c},s.timeHint),(0,r.na4)("th",{scope:"col","aria-hidden":!0}),(0,r.na4)("th",{scope:"col",id:d},s.eventHint))),(0,r.na4)("tbody",null,u))})},t.prototype._eventStoreToSegs=function(e,t,n){return this.eventRangesToSegs((0,r.MXk)(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)},t.prototype.eventRangesToSegs=function(e,t){for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];n.push.apply(n,this.eventRangeToSegs(o,t))}return n},t.prototype.eventRangeToSegs=function(e,t){var n,i,o,a=this.context.dateEnv,s=this.context.options.nextDayThreshold,l=e.range,u=e.def.allDay,c=[];for(n=0;n<t.length;n+=1)if((i=(0,r.imr)(l,t[n]))&&(o={component:this,eventRange:e,start:i.start,end:i.end,isStart:e.isStart&&i.start.valueOf()===l.start.valueOf(),isEnd:e.isEnd&&i.end.valueOf()===l.end.valueOf(),dayIndex:n},c.push(o),!o.isEnd&&!u&&n+1<t.length&&l.end<a.add(t[n+1].start,s))){o.end=l.end,o.isEnd=!0;break}return c},t}(r.gzh);function d(e){return e.text}function p(e){for(var t=(0,r.ol1)(e.renderRange.start),n=e.renderRange.end,i=[],o=[];t<n;)i.push(t),o.push({start:t,end:(0,r.fij)(t,1)}),t=(0,r.fij)(t,1);return{dayDates:i,dayRanges:o}}var f={listDayFormat:h,listDaySideFormat:h,noEventsClassNames:r.D_O,noEventsContent:r.D_O,noEventsDidMount:r.D_O,noEventsWillUnmount:r.D_O};function h(e){return!1===e?null:(0,r.xi1)(e)}const v=(0,r.i1g)({optionRefiners:f,views:{list:{component:c,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}})},17947(e,t,n){n.d(t,{Ay$:()=>l});var r=n(47947),i=n(20331),o=n(28044);("undefined"!==typeof globalThis?globalThis:window).FullCalendarVDom={Component:i.Component,createElement:i.createElement,render:
2o.render,createRef:i.createRef,Fragment:i.Fragment,createContext:i.createContext,createPortal:o.createPortal,flushSync:function(e){e()},unmountComponentAtNode:o.unmountComponentAtNode};var a=n(89204),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._calendarApi=new a.fhD,t}return(0,r.C6)(t,e),t.prototype.render=function(){return i.createElement(a.IyV,{optionOverrides:this.props,calendarApi:this._calendarApi},function(e){return i.createElement(a.xRE,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},function(t,n,o,s){return i.createElement("div",{className:t.join(" "),style:{height:n}},i.createElement(a.o3v,(0,r.Cl)({isHeightAuto:o,forPrint:s},e)))})})},t.prototype.getApi=function(){return this._calendarApi},t}(i.Component);const l=s},65763(e,t,n){n.d(t,{Ay:()=>j});var r=n(89204),i=n(47947),o=n(4257),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},t.prototype.getKeysForDateSpan=function(e){return e.allDay?["allDay"]:["timed"]},t.prototype.getKeysForEventDef=function(e){return e.allDay?(0,r.CuQ)(e)?["timed","allDay"]:["allDay"]:["timed"]},t}(r.O3W),s=(0,r.xi1)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function l(e){var t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return(0,r.na4)(r.TYi.Consumer,null,function(n){if(!e.isLabeled)return(0,r.na4)("td",{className:t.join(" "),"data-time":e.isoTimeStr});var i=n.dateEnv,o=n.options,a=n.viewApi,l=null==o.slotLabelFormat?s:Array.isArray(o.slotLabelFormat)?(0,r.xi1)(o.slotLabelFormat[0]):(0,r.xi1)(o.slotLabelFormat),c={level:0,time:e.time,date:i.toDate(e.date),view:a,text:i.format(e.date,l)};return(0,r.na4)(r.iT7,{hookProps:c,classNames:o.slotLabelClassNames,content:o.slotLabelContent,defaultContent:u,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},function(n,i,o,a){return(0,r.na4)("td",{ref:n,className:t.concat(i).join(" "),"data-time":e.isoTimeStr},(0,r.na4)("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},(0,r.na4)("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:o},a)))})})}function u(e){return e.text}var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(){return this.props.slatMetas.map(function(e){return(0,r.na4)("tr",{key:e.key},(0,r.na4)(l,(0,i.Cl)({},e)))})},t}(r.$GR),d=(0,r.xi1)({week:"short"}),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allDaySplitter=new a,t.headerElRef=(0,r._3b)(),t.rootElRef=(0,r._3b)(),t.scrollerElRef=(0,r._3b)(),t.state={slatCoords:null},t.handleScrollTopRequest=function(e){var n=t.scrollerElRef.current;n&&(n.scrollTop=e)},t.renderHeadAxis=function(e,n){void 0===n&&(n="");var o=t.context.options,a=t.props.dateProfile.renderRange,s=1===(0,r.z$z)(a.start,a.end)?(0,r.myk)(t.context,a.start,"week"):{};return o.weekNumbers&&"day"===e?(0,r.na4)(r.SUi,{date:a.start,defaultFormat:d},function(e,t,o,a){return(0,r.na4)("th",{ref:e,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(t).join(" ")},(0,r.na4)("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:n}},(0,r.na4)("a",(0,i.Cl)({ref:o,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},s),a)))}):(0,r.na4)("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},(0,r.na4)("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},t.renderTableRowAxis=function(e){var n=t.context,i=n.options,o=n.viewApi,a={text:i.allDayText,view:o};return(0,r.na4)(r.iT7,{hookProps:a,classNames:i.allDayClassNames,content:i.allDayContent,defaultContent:f,didMount:i.allDayDidMount,willUnmount:i.allDayWillUnmount},function(t,n,i,o){return(0,r.na4)("td",{ref:t,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(n).join(" ")},(0,r.na4)("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(null==e?" fc-timegrid-axis-frame-liquid":""),style:{height:e}},(0,r.na4)("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:i},o)))})},t.handleSlatCoords=function(e){t.setState({slatCoords:e})},t}return(0,i.C6)(t,e),t.prototype.renderSimpleLayout=function(e,t,n){var i=this.context,o=this.props,a=[],s=(0,r._Dp)(i.options);return e&&a.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(a.push({type:"body",key:"all-day",chunk:{content:t}}),a.push({type:"body",key:"all-day-divider",outerContent:(0,r.na4)("tr",{role:"presentation",className:"fc-scrollgrid-section"},(0,r.na4)("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),a.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(i.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),(0,r.na4)(r.q4f,{viewSpec:i.viewSpec,elRef:this.rootElRef},function(e,t){return(0,r.na4)("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},(0,r.na4)(r.en1,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,cols:[{width:"shrink"}],sections:a}))})},t.prototype.renderHScrollLayout=function(e,t,n,i,o,a,s){var l=this,u=this.context.pluginHooks.scrollGridImpl;if(!u)throw new Error("No ScrollGrid implementation");var d=this.context,p=this.props,f=!p.forPrint&&(0,r._Dp)(d.options),h=!p.forPrint&&(0,r.v2o)(d.options),v=[];e&&v.push({type:"header",key:"header",isSticky:f,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return(0,r.na4)("tr",{role:"presentation"},l.renderHeadAxis("day",e.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(v.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return(0,r.na4)("tr",{role:"presentation"},l.renderTableRowAxis(e.rowSyncHeights[0]))}},{key:"cols",content:t}]}),v.push({key:"all-day-divider",type:"body",outerContent:(0,r.na4)("tr",{role:"presentation",className:"fc-scrollgrid-section"},(0,r.na4)("td",{colSpan:2,className:"fc-timegrid-divider "+d.theme.getClass("tableCellShaded")}))}));var g=d.options.nowIndicator;return v.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(d.options.expandRows),chunks:[{key:"axis",content:function(e){return(0,r.na4)("div",{className:"fc-timegrid-axis-chunk"},(0,r.na4)("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,(0,r.na4)("tbody",null,(0,r.na4)(c,{slatMetas:a}))),(0,r.na4)("div",{className:"fc-timegrid-now-indicator-container"},(0,r.na4)(r.O6g,{unit:g?"minute":"day"},function(e){var t=g&&s&&s.safeComputeTop(e);return"number"===typeof t?(0,r.na4)(r.qc,{isAxis:!0,date:e},function(e,n,i,o){return(0,r.na4)("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(n).join(" "),style:{to
2p:t}},o)}):null})))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),h&&v.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:r.bLJ},{key:"cols",content:r.bLJ}]}),(0,r.na4)(r.q4f,{viewSpec:d.viewSpec,elRef:this.rootElRef},function(e,t){return(0,r.na4)("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},(0,r.na4)(u,{liquid:!p.isHeightAuto&&!p.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:i,minWidth:o}]}],sections:v}))})},t.prototype.getAllDayMaxEventProps=function(){var e=this.context.options,t=e.dayMaxEvents,n=e.dayMaxEventRows;return!0!==t&&!0!==n||(t=void 0,n=5),{dayMaxEvents:t,dayMaxEventRows:n}},t}(r.gzh);function f(e){return e.text}var h=function(){function e(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}return e.prototype.safeComputeTop=function(e){var t=this.dateProfile;if((0,r.$Bw)(t.currentRange,e)){var n=(0,r.ol1)(e),i=e.valueOf()-n.valueOf();if(i>=(0,r.Oh8)(t.slotMinTime)&&i<(0,r.Oh8)(t.slotMaxTime))return this.computeTimeTop((0,r.xCT)(i))}return null},e.prototype.computeDateTop=function(e,t){return t||(t=(0,r.ol1)(e)),this.computeTimeTop((0,r.xCT)(e.valueOf()-t.valueOf()))},e.prototype.computeTimeTop=function(e){var t,n,i=this.positions,o=this.dateProfile,a=i.els.length,s=(e.milliseconds-(0,r.Oh8)(o.slotMinTime))/(0,r.Oh8)(this.slotDuration);return s=Math.max(0,s),s=Math.min(a,s),t=Math.floor(s),n=s-(t=Math.min(t,a-1)),i.tops[t]+i.getHeight(t)*n},e}(),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,o=e.slatElRefs;return(0,r.na4)("tbody",null,e.slatMetas.map(function(a,s){var u={time:a.time,date:t.dateEnv.toDate(a.date),view:t.viewApi},c=["fc-timegrid-slot","fc-timegrid-slot-lane",a.isLabeled?"":"fc-timegrid-slot-minor"];return(0,r.na4)("tr",{key:a.key,ref:o.createRef(a.key)},e.axis&&(0,r.na4)(l,(0,i.Cl)({},a)),(0,r.na4)(r.iT7,{hookProps:u,classNames:n.slotLaneClassNames,content:n.slotLaneContent,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount},function(e,t,n,i){return(0,r.na4)("td",{ref:e,className:c.concat(t).join(" "),"data-time":a.isoTimeStr},i)}))}))},t}(r.$GR),g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,r._3b)(),t.slatElRefs=new r.kFN,t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,r.na4)("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},(0,r.na4)("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,(0,r.na4)(v,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))},t.prototype.componentDidMount=function(){this.updateSizing()},t.prototype.componentDidUpdate=function(){this.updateSizing()},t.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var e,t=this.context,n=this.props;n.onCoords&&null!==n.clientWidth&&(this.rootElRef.current.offsetHeight&&n.onCoords(new h(new r.Qnh(this.rootElRef.current,(e=this.slatElRefs.currentMap,n.slatMetas.map(function(t){return e[t.key]})),!1,!0),this.props.dateProfile,t.options.slotDuration)))},t}(r.$GR);function m(e,t){var n,r=[];for(n=0;n<t;n+=1)r.push([]);if(e)for(n=0;n<e.length;n+=1)r[e[n].col].push(e[n]);return r}function y(e,t){var n=[];if(e){for(a=0;a<t;a+=1)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,i=e.segs;r<i.length;r++){var o=i[r];n[o.col].segs.push(o)}}else for(var a=0;a<t;a+=1)n[a]=null;return n}var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,r._3b)(),t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props;return(0,r.na4)(r.knM,{allDayDate:null,moreCnt:t.hiddenSegs.length,allSegs:t.hiddenSegs,hiddenSegs:t.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:S,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,todayRange:t.todayRange,popoverContent:function(){return P(t.hiddenSegs,t)}},function(n,i,o,a,s,l,u,c){return(0,r.na4)("a",{ref:function(t){(0,r.cZi)(n,t),(0,r.cZi)(e.rootElRef,t)},className:["fc-timegrid-more-link"].concat(i).join(" "),style:{to
2p:t.top,bottom:t.bottom},onClick:s,title:l,"aria-expanded":u,"aria-controls":c},(0,r.na4)("div",{ref:o,className:"fc-timegrid-more-link-inner fc-sticky"},a))})},t}(r.$GR);function S(e){return e.shortText}function E(e,t,n){var o=new r.XpW;null!=t&&(o.strictOrder=t),null!=n&&(o.maxStackCnt=n);var a=o.addSegs(e),s=(0,r.XbD)(a),l=function(e){var t=e.entriesByLevel,n=R(function(e,t){return e+":"+t},function(o,a){var s=function(e,t,n){for(var i=e.levelCoords,o=e.entriesByLevel,a=o[t][n],s=i[t]+a.thickness,l=i.length,u=t;u<l&&i[u]<s;u+=1);for(;u<l;u+=1){for(var c=o[u],d=void 0,p=(0,r.ElE)(c,a.span.start,r.m7H),f=p[0]+p[1],h=f;(d=c[h])&&d.span.start<a.span.end;)h+=1;if(f<h)return{level:u,lateralStart:f,lateralEnd:h}}return null}(e,o,a),l=D(s,n),u=t[o][a];return[(0,i.Cl)((0,i.Cl)({},u),{nextLevelNodes:l[0]}),u.thickness+l[1]]});return D(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}(o);return{segRects:function(e){var t=[],n=R(function(e,t,n){return(0,r.qAn)(e)},function(e,n,r){var a=(0,i.Cl)((0,i.Cl)({},e),{levelCoord:n,stackDepth:r,stackForward:0});return t.push(a),a.stackForward=o(e.nextLevelNodes,n+e.thickness,r+1)+1});function o(e,t,r){for(var i=0,o=0,a=e;o<a.length;o++){var s=a[o];i=Math.max(n(s,t,r),i)}return i}return o(e,0,0),t}(l=function(e,t){var n=R(function(e,t,n){return(0,r.qAn)(e)},function(e,r,o){var a,s=e.nextLevelNodes,l=e.thickness,u=l+o,c=l/u,d=[];if(s.length)for(var p=0,f=s;p<f.length;p++){var h=f[p];if(void 0===a){a=(v=n(h,r,u))[0],d.push(v[1])}else{var v=n(h,a,0);d.push(v[1])}}else a=t;var g=(a-r)*c;return[a-g,(0,i.Cl)((0,i.Cl)({},e),{thickness:g,nextLevelNodes:d})]});return e.map(function(e){return n(e,0,0)[1]})}(l,1)),hiddenGroups:s}}function D(e,t){if(!e)return[[],0];for(var n=e.level,r=e.lateralStart,i=e.lateralEnd,o=r,a=[];o<i;)a.push(t(n,o)),o+=1;return a.sort(b),[a.map(w),a[0][1]]}function b(e,t){return t[1]-e[1]}function w(e){return e[0]}function R(e,t){var n={};return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=e.apply(void 0,r);return o in n?n[o]:n[o]=t.apply(void 0,r)}}function T(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=0);var i=[];if(n)for(var o=0;o<e.length;o+=1){var a=e[o],s=n.computeDateTop(a.start,t),l=Math.max(s+(r||0),n.computeDateTop(a.end,t));i.push({start:Math.round(s),end:Math.round(l)})}return i}var k=(0,r.xi1)({hour:"numeric",minute:"2-digit",meridiem:!1}),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(){var e=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&e.push("fc-timegrid-event-short"),(0,r.na4)(r.y8j,(0,i.Cl)({},this.props,{defaultTimeFormat:k,extraClassNames:e}))},t}(r.$GR),M=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props;return(0,r.na4)(r.ux1,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps},function(e,t){return t&&(0,r.na4)("div",{className:"fc-timegrid-col-misc",ref:e},t)})},t}(r.$GR),I=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sortEventSegs=(0,r.BjF)(r.B4w),t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,o=n.options.selectMirror,a=t.eventDrag&&t.eventDrag.segs||t.eventResize&&t.eventResize.segs||o&&t.dateSelectionSegs||[],s=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{},l=this.sortEventSegs(t.fgEventSegs,n.options.eventOrder);return(0,r.na4)(r.rrN,{elRef:t.elRef,date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps},function(n,u,c){return(0,r.na4)("td",(0,i.Cl)({ref:n,role:"gridcell",className:["fc-timegrid-col"].concat(u,t.extraClassNames||[]).join(" ")},c,t.extraDataAttrs),(0,r.na4)("div",{className:"fc-timegrid-col-frame"},(0,r.na4)("div",{className:"fc-timegrid-col-bg"},e.renderFillSegs(t.businessHourSegs,"non-business"),e.renderFillSegs(t.bgEventSegs,"bg-event"),e.renderFillSegs(t.dateSelectionSegs,"highlight")),(0,r.na4)("div",{className:"fc-timegrid-col-events"}
2,e.renderFgSegs(l,s,!1,!1,!1)),(0,r.na4)("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(a,{},Boolean(t.eventDrag),Boolean(t.eventResize),Boolean(o))),(0,r.na4)("div",{className:"fc-timegrid-now-indicator-container"},e.renderNowIndicator(t.nowIndicatorSegs)),(0,r.na4)(M,{date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps})))})},t.prototype.renderFgSegs=function(e,t,n,r,i){var o=this.props;return o.forPrint?P(e,o):this.renderPositionedFgSegs(e,t,n,r,i)},t.prototype.renderPositionedFgSegs=function(e,t,n,o,a){var s=this,l=this.context.options,u=l.eventMaxStack,c=l.eventShortHeight,d=l.eventOrderStrict,p=l.eventMinHeight,f=this.props,h=f.date,v=f.slatCoords,g=f.eventSelection,m=f.todayRange,y=f.nowDate,C=n||o||a,S=function(e,t,n,r){for(var i=[],o=[],a=0;a<e.length;a+=1){var s=t[a];s?i.push({index:a,thickness:1,span:s}):o.push(e[a])}for(var l=E(i,n,r),u=l.segRects,c=l.hiddenGroups,d=[],p=0,f=u;p<f.length;p++){var h=f[p];d.push({seg:e[h.index],rect:h})}for(var v=0,g=o;v<g.length;v++){var m=g[v];d.push({seg:m,rect:null})}return{segPlacements:d,hiddenGroups:c}}(e,T(e,h,v,p),d,u),D=S.segPlacements,b=S.hiddenGroups;return(0,r.na4)(r.FK,null,this.renderHiddenGroups(b,e),D.map(function(e){var l=e.seg,u=e.rect,d=l.eventRange.instance.instanceId,p=C||Boolean(!t[d]&&u),f=N(u&&u.span),h=!C&&u?s.computeSegHStyle(u):{left:0,right:0},v=Boolean(u)&&u.stackForward>0,S=Boolean(u)&&u.span.end-u.span.start<c;return(0,r.na4)("div",{className:"fc-timegrid-event-harness"+(v?" fc-timegrid-event-harness-inset":""),key:d,style:(0,i.Cl)((0,i.Cl)({visibility:p?"":"hidden"},f),h)},(0,r.na4)(x,(0,i.Cl)({seg:l,isDragging:n,isResizing:o,isDateSelecting:a,isSelected:d===g,isShort:S},(0,r.F29)(l,m,y))))}))},t.prototype.renderHiddenGroups=function(e,t){var n=this.props,i=n.extraDateSpan,o=n.dateProfile,a=n.todayRange,s=n.nowDate,l=n.eventSelection,u=n.eventDrag,c=n.eventResize;return(0,r.na4)(r.FK,null,e.map(function(e){var n,d,p=N(e.span),f=(n=e.entries,d=t,n.map(function(e){return d[e.index]}));return(0,r.na4)(C,{key:(0,r.NIT)((0,r.aQG)(f)),hiddenSegs:f,top:p.top,bottom:p.bottom,extraDateSpan:i,dateProfile:o,todayRange:a,nowDate:s,eventSelection:l,eventDrag:u,eventResize:c})}))},t.prototype.renderFillSegs=function(e,t){var n=this.props,o=this.context,a=T(e,n.date,n.slatCoords,o.options.eventMinHeight).map(function(o,a){var s=e[a];return(0,r.na4)("div",{key:(0,r.N8)(s.eventRange),className:"fc-timegrid-bg-harness",style:N(o)},"bg-event"===t?(0,r.na4)(r.s_G,(0,i.Cl)({seg:s},(0,r.F29)(s,n.todayRange,n.nowDate))):(0,r.aOA)(t))});return(0,r.na4)(r.FK,null,a)},t.prototype.renderNowIndicator=function(e){var t=this.props,n=t.slatCoords,i=t.date;return n?e.map(function(e,t){return(0,r.na4)(r.qc,{isAxis:!1,date:i,key:t},function(t,o,a,s){return(0,r.na4)("div",{ref:t,className:["fc-timegrid-now-indicator-line"].concat(o).join(" "),style:{top:n.computeDateTop(e.start,i)}},s)})}):null},t.prototype.computeSegHStyle=function(e){var t,n,r=this.context,i=r.isRtl,o=r.options.slotEventOverlap,a=e.levelCoord,s=e.levelCoord+e.thickness;o&&(s=Math.min(1,a+2*(s-a))),i?(t=1-s,n=a):(t=a,n=1-s);var l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return o&&!e.stackForward&&(l[i?"marginLeft":"marginRight"]=20),l},t}(r.$GR);function P(e,t){var n=t.todayRange,o=t.nowDate,a=t.eventSelection,s=t.eventDrag,l=t.eventResize,u=(s?s.affectedInstances:null)||(l?l.affectedInstances:null)||{};return(0,r.na4)(r.FK,null,e.map(function(e){var t=e.eventRange.instance.instanceId;return(0,r.na4)("div",{key:t,style:{visibility:u[t]?"hidden":""}},(0,r.na4)(x,(0,i.Cl)({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===a,isShort:!1},(0,r.F29)(e,n,o))))}))}function N(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}var H=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitFgEventSegs=(0,r.BjF)(m),t.splitBgEventSegs=(0,r.BjF)(m),t.splitBusinessHourSegs=(0,r.BjF)(m),t.splitNowIndicatorSegs=(0,r.BjF)(m),t.splitDateSelectionSegs=(0,r.BjF)(m),t.splitEventDrag=(0,r.BjF)(y),t.splitEventResize=(0,r.BjF)(y),t.rootElRef=(0,r._3b)(),t.cellElRefs=new r.kFN,t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context.options.nowIndicator&&t.slatCoords&&t.slatCoords.safeComputeTop(t.nowDate),i=t.cells.length,o=this.splitFgEventSegs(t.fgEventSegs,i),a=this.splitBgEventSegs(t.bgEventSegs,i),s=this.splitBusinessHourSegs(t.businessHourSegs,i),l=this.splitNowIndicatorSegs(t.nowIndicatorSegs,i),u=this.splitDateSelectionSegs(t.dateSelectionSegs,i),c=this.splitEventDrag(t.eventDrag,i),d=this.splitEventResize(t.eventResize,i);return(0,r.na4)("div",{className:"fc-timegrid-cols",ref:this.rootElRef},(0,r.na4)("table",{role:"presentation",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,(0,r.na4)("tbody",{role:"presentation"},(0,r.na4)("tr",{role:"row"}
2,t.axis&&(0,r.na4)("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},(0,r.na4)("div",{className:"fc-timegrid-col-frame"},(0,r.na4)("div",{className:"fc-timegrid-now-indicator-container"},"number"===typeof n&&(0,r.na4)(r.qc,{isAxis:!0,date:t.nowDate},function(e,t,i,o){return(0,r.na4)("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(t).join(" "),style:{top:n}},o)})))),t.cells.map(function(n,i){return(0,r.na4)(I,{key:n.key,elRef:e.cellElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,nowDate:t.nowDate,todayRange:t.todayRange,extraHookProps:n.extraHookProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,fgEventSegs:o[i],bgEventSegs:a[i],businessHourSegs:s[i],nowIndicatorSegs:l[i],dateSelectionSegs:u[i],eventDrag:c[i],eventResize:d[i],slatCoords:t.slatCoords,eventSelection:t.eventSelection,forPrint:t.forPrint})})))))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.updateCoords=function(){var e,t=this.props;t.onColCoords&&null!==t.clientWidth&&t.onColCoords(new r.Qnh(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.cells.map(function(t){return e[t.key]})),!0,!1))},t}(r.$GR);var O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processSlotOptions=(0,r.BjF)(A),t.state={slatCoords:null},t.handleRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t.handleScrollRequest=function(e){var n=t.props.onScrollTopRequest,r=t.state.slatCoords;if(n&&r){if(e.time){var i=r.computeTimeTop(e.time);(i=Math.ceil(i))&&(i+=1),n(i)}return!0}return!1},t.handleColCoords=function(e){t.colCoords=e},t.handleSlatCoords=function(e){t.setState({slatCoords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return(0,r.na4)("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},(0,r.na4)(g,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),(0,r.na4)(H,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))},t.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.queryHit=function(e,t){var n=this.context,o=n.dateEnv,a=n.options,s=this.colCoords,l=this.props.dateProfile,u=this.state.slatCoords,c=this.processSlotOptions(this.props.slotDuration,a.snapDuration),d=c.snapDuration,p=c.snapsPerSlot,f=s.leftToIndex(e),h=u.positions.topToIndex(t);if(null!=f&&null!=h){var v=this.props.cells[f],g=u.positions.tops[h],m=u.positions.getHeight(h),y=(t-g)/m,C=h*p+Math.floor(y*p),S=this.props.cells[f].date,E=(0,r.do1)(l.slotMinTime,(0,r.Nay)(d,C)),D=o.add(S,E),b=o.add(D,d);return{dateProfile:l,dateSpan:(0,i.Cl)({range:{start:D,end:b},allDay:!1},v.extraDateSpan),dayEl:s.els[f],rect:{left:s.lefts[f],right:s.rights[f],top:g,bottom:g+m},layer:0}}return null},t}(r.gzh);function A(e,t){var n=t||e,i=(0,r.Y2k)(e,n);return null===i&&(n=e,i=1),{snapDuration:n,snapsPerSlot:i}}var W=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.C6)(t,e),t.prototype.sliceRange=function(e,t){for(var n=[],i=0;i<t.length;i+=1){var o=(0,r.imr)(e,t[i]);o&&n.push({start:o.start,end:o.end,isStart:o.start.valueOf()===e.start.valueOf(),isEnd:o.end.valueOf()===e.end.valueOf(),col:i})}return n},t}(r.$He),L=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayRanges=(0,r.BjF)(_),t.slicer=new W,t.timeColsRef=(0,r._3b)(),t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,o=t.dateProfile,a=t.dayTableModel,s=n.options.nowIndicator,l=this.buildDayRanges(a,o,n.dateEnv);return(0,r.na4)(r.O6g,{unit:s?"minute":"day"},function(u,c){return(0,r.na4)(O,(0,i.Cl)({ref:e.timeColsRef},e.slicer.sliceProps(t,o,null,n,l),{forPrint:t.forPrint,axis:t.axis,dateProfile:o,slatMetas:t.slatMetas,slotDuration:t.slotDuration,cells:a.cells[0],tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,expandRows:t.expandRows,nowDate:u,n
2owIndicatorSegs:s&&e.slicer.sliceNowDate(u,n,l),todayRange:c,onScrollTopRequest:t.onScrollTopRequest,onSlatCoords:t.onSlatCoords}))})},t}(r.gzh);function _(e,t,n){for(var r=[],i=0,o=e.headerDates;i<o.length;i++){var a=o[i];r.push({start:n.add(a,t.slotMinTime),end:n.add(a,t.slotMaxTime)})}return r}var F=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function z(e,t,n,i,o){for(var a=new Date(0),s=e,l=(0,r.xCT)(0),u=n||function(e){var t,n,i;for(t=F.length-1;t>=0;t-=1)if(n=(0,r.xCT)(F[t]),null!==(i=(0,r.Y2k)(n,e))&&i>1)return n;return e}(i),c=[];(0,r.Oh8)(s)<(0,r.Oh8)(t);){var d=o.add(a,s),p=null!==(0,r.Y2k)(l,u);c.push({date:d,time:s,key:d.toISOString(),isoTimeStr:(0,r.PeH)(d),isLabeled:p}),s=(0,r.do1)(s,i),l=(0,r.do1)(l,i)}return c}var B=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimeColsModel=(0,r.BjF)(U),t.buildSlatMetas=(0,r.BjF)(z),t}return(0,i.C6)(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,a=t.dateEnv,s=t.dateProfileGenerator,l=this.props,u=l.dateProfile,c=this.buildTimeColsModel(u,s),d=this.allDaySplitter.splitProps(l),p=this.buildSlatMetas(u.slotMinTime,u.slotMaxTime,n.slotLabelInterval,n.slotDuration,a),f=n.dayMinWidth,h=!f,v=f,g=n.dayHeaders&&(0,r.na4)(r.A1b,{dates:c.headerDates,dateProfile:u,datesRepDistinctDays:!0,renderIntro:h?this.renderHeadAxis:null}),m=!1!==n.allDaySlot&&function(t){return(0,r.na4)(o.t7,(0,i.Cl)({},d.allDay,{dateProfile:u,dayTableModel:c,nextDayThreshold:n.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:h?e.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:l.forPrint},e.getAllDayMaxEventProps()))},y=function(t){return(0,r.na4)(L,(0,i.Cl)({},d.timed,{dayTableModel:c,dateProfile:u,axis:h,slotDuration:n.slotDuration,slatMetas:p,forPrint:l.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:e.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:e.handleScrollTopRequest}))};return v?this.renderHScrollLayout(g,m,y,c.colCnt,f,p,this.state.slatCoords):this.renderSimpleLayout(g,m,y)},t}(p);function U(e,t){var n=new r.NC_(e.renderRange,t);return new r.mql(n,!1)}var V={allDaySlot:Boolean};const j=(0,r.i1g)({initialView:"timeGridWeek",optionRefiners:V,views:{timeGrid:{component:B,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}})},18538(e,t,n){n.d(t,{Ay:()=>ue});var r=n(89204),i="2023-05-08",o=["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"};var s={schedulerLicenseKey:String};const l=(0,r.i1g)({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!==o.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.$WB.mockSchedulerReleaseDate||i);if((0,r.vdg)(a))return(0,r.fij)(a,-372)<n?"valid":"outdated"}return"invalid"}(t);if("valid"!==s)return(0,r.na4)("div",{className:"fc-license-message",style:a},"outdated"===s?(0,r.na4)(r.FK,null,"Your license key is too old to work with this version. ",(0,r.na4)("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):(0,r.na4)(r.FK,null,"Your license key is invalid. ",(0,r.na4)("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]});var u,c=n(47947),d="wheel mousewheel DomMouseScroll MozMousePixelScroll".split(" "),p=function(){function e(e){var t=this;this.el=e,this.emitter=new r.vli,this.isScrolling=!1,this.isTouching=!1,this.isRecentlyWheeled=!1,this.isRecentlyScrolled=!1,this.wheelWaiter=new r.p91(this._handleWheelWaited.bind(this)),this.scrollWaiter=new r.p91(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,i=d;n<i.length;n++){var o=i[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=d;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 f(e){var t=e.scrollLeft;if("rtl"===window.getComputedStyle(e).direction)switch(v()){case"negative":t*=-1;case"reverse":t=e.scrollWidth-t-e.clientWidth}return t}function h(e,t){if("rtl"===window.getComputedStyle(e).direction)switch(v()){case"reverse":t=e.scrollWidth-t;break;case"negative":t=-(e.scrollWidth-t)}e.scrollLeft=t}function v(){return u||(u=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,r.NzY)(t),e}())}var g,m="undefined"!==typeof navigator&&/Edge/.test(navigator.userAgent),y=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,r.beH)(e,".fc-sticky"),i=n.queryElGeoms(t),o=e.clientWidth,a=e.clientHeight;n.usingRelative?function(e,t,n,i,o){e.forEach(function(e,a){var s,l,u=t[a],c=u.naturalBound,d=u.parentBound,p=d.right-d.left,f=d.bottom-d.bottom;p>i||f>o?(s=n[a].left-c.left,l=n[a].top-c.top):(s="",l=""),(0,r.AVT)(e,{position:"relative",left:s,right:-s,top:l})})}(t,i,n.computeElDestinations(i,o),o,a):function(e,t,n){e.forEach(function(e,i){var o,a=t[i],s=a.textAlign,l=a.elWidth,u=a.parentBound,c=u.right-u.left;o="center"===s&&c>n?(n-l)/2:"",(0,r.AVT)(e,{left:o,right:o,top:0})})}(t,i,o)},this.usingRelative=!function(){null==g&&(g=function(){var e=document.createElement("div");e.style.position="sticky",document.body.appendChild(e);var t=window.getComputedStyle(e).position;return(0,r.NzY)(e),"sticky"===t}());return g}()||m&&t,this.usingRelative&&(this.listener=new p(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,i=function(e){var t=e.getBoundingClientRect(),n=(0,r.SMP)(e);return{left:t.left+n.borderLeft+n.scrollbarLeft-f(e),top:t.top+n.borderTop-e.scrollTop}}(t),o=[],a=0,s=e;a<s.length;a++){var l=s[a],u=(0,r.fG7)((0,r.Qfg)(l.parentNode,!0,!0),-i.left,-i.top),c=l.getBoundingClientRect(),d=window.getComputedStyle(l),p=window.getComputedStyle(l.parentNode).textAlign,h=null;
2"start"===p?p=n?"right":"left":"end"===p&&(p=n?"left":"right"),"sticky"!==d.position&&(h=(0,r.fG7)(c,-i.left-(parseFloat(d.left)||0),-i.top-(parseFloat(d.top)||0))),o.push({parentBound:u,naturalBound:h,elWidth:c.width,elHeight:c.height,textAlign:p})}return o},e.prototype.computeElDestinations=function(e,t){var n=this.scrollEl,r=n.scrollTop,i=f(n),o=i+t;return e.map(function(e){var t,n,a=e.elWidth,s=e.elHeight,l=e.parentBound,u=e.naturalBound;switch(e.textAlign){case"left":t=i;break;case"right":t=o-a;break;case"center":t=(i+o)/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,u.top)}})},e}();var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=(0,r._3b)(),t.state={xScrollbarWidth:0,yScrollbarWidth:0},t.handleScroller=function(e){t.scroller=e,(0,r.cZi)(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,c.C6)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,i=e.context.isRtl&&(0,r.xdc)(),o=0,a=0,s=0;return"scroll-hidden"===t.overflowX&&(s=n.xScrollbarWidth),"scroll-hidden"===t.overflowY&&null!=n.yScrollbarWidth&&(i?o=n.yScrollbarWidth:a=n.yScrollbarWidth),(0,r.na4)("div",{ref:this.elRef,className:"fc-scroller-harness"+(t.liquid?" fc-scroller-harness-liquid":"")},(0,r.na4)(r.HOs,{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:a,overcomeBottom:s,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,r.vA0)(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}(r.$GR),S=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,i=new p(e);return i.emitter.on("scroll",function(i,o){if(!t.isPaused&&((!t.masterEl||t.masterEl!==e&&(i||o))&&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)}}),i.emitter.on("scrollEnd",function(){t.masterEl===e&&(t.masterEl=null)}),i},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++){h(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}(),E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileColGroupStats=(0,r.Vhc)(R,x),t.renderMicroColGroups=(0,r.Vhc)(r.yPr),t.clippedScrollerRefs=new r.kFN,t.scrollerElRefs=new r.kFN(t._handleScrollerEl.bind(t)),t.chunkElRefs=new r.kFN(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,c.Cl)((0,c.Cl)({shrinkWidths:t.computeShrinkWidths()},t.computeScrollerDims()),r),function(){t.rowUnstableMap.size||t.updateStickyScrolling()})}},t.handleRowHeightChange=function(e,n){var r=t,i=r.rowUnstableMap,o=r.rowInnerMaxHeightMap;if(n){i.delete(e);var a=b(e);o.has(e)&&o.get(e)===a||(o.set(e,a),t.anyRowHeightsChanged=!0),!i.size&&t.anyRowHeightsChanged&&(t.anyRowHeightsChanged=!1,t.setState({sectionRowMaxHeights:t.computeSectionRowMaxHeights()}))}else i.set(e,!0)},t}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,i=e.context,o=n.shrinkWidths,a=this.compileColGroupStats(t.colGroups.map(function(e){return[e]})),s=this.renderMicroColGroups(a.map(function(e,t){return[e.cols,o[t]]})),l=(0,r.ijh)(t.liquid,i),u=this.getDims();u[0],u[1];for(var d,p=t.sections,f=p.length,h=0,v=[],g=[],m=[];h<f&&"header"===(d=p[h]).type;)v.push(this.renderSection(d,h,a,s,n.sectionRowMaxHeights,!0)),h+=1;for(;h<f&&"body"===(d=p[h]).type;)g.push(this.renderSection(d,h,a,s,n.sectionRowMaxHeights,!1)),h+=1;for(;h<f&&"footer"===(d=p[h]).type;)m.push(this.renderSection(d,h,a,s,n.sectionRowMaxHeights,!0)),h+=1;var y=!(0,r.jMM)(),C={role:"rowgroup"};return(0,r.na4)("table",{ref:t.elRef,role:"grid",className:l.join(" ")},function(e,t){var n=e.map(function(e,n){var i=e.width;return"shrink"===i&&(i=e.totalColWidth+(0,r.VW3)(t[n])+1),(0,r.na4)("col",{style:{width:i}})});return r.na4.apply(void 0,(0,c.fX)(["colgroup",{}],n))}(a,o),Boolean(!y&&v.length)&&r.na4.apply(void 0,(0,c.fX)(["thead",C],v)),Boolean(!y&&g.length)&&r.na4.apply(void 0,(0,c.fX)(["tbody",C],g)),Boolean(!y&&m.length)&&r.na4.apply(void 0,(0,c.fX)(["tfoot",C],m)),y&&r.na4.apply(void 0,(0,c.fX)((0,c.fX)((0,c.fX)(["tbody",C],v),g),m)))},t.prototype.renderSection=function(e,t,n,i,o,a){var s=this;return"outerContent"in e?(0,r.na4)(r.FK,{key:e.key},e.outerContent):(0,r.na4)("tr",{key:e.key,role:"presentation",className:(0,r.cep)(e,this.props.liquid
2).join(" ")},e.chunks.map(function(r,l){return s.renderChunk(e,t,n[l],i[l],r,l,(o[t]||[])[l]||[],a)}))},t.prototype.renderChunk=function(e,t,n,i,o,a,s,l){if("outerContent"in o)return(0,r.na4)(r.FK,{key:o.key},o.outerContent);var u=this.state,c=u.scrollerClientWidths,d=u.scrollerClientHeights,p=this.getDims(),f=p[0],h=p[1],v=t*h+a,g=a===(!this.context.isRtl||(0,r.xdc)()?h-1:0),m=t===f-1,y=m&&u.forceXScrollbars,S=g&&u.forceYScrollbars,E=n&&n.allowXScrolling,D=(0,r.iB1)(this.props,e),b=(0,r.ZOm)(this.props,e),w=e.expandRows&&b,R=n&&n.totalColMinWidth||"",T=(0,r.T6v)(e,o,{tableColGroupNode:i,tableMinWidth:R,clientWidth:void 0!==c[v]?c[v]:null,clientHeight:void 0!==d[v]?d[v]:null,expandRows:w,syncRowHeights:Boolean(e.syncRowHeights),rowSyncHeights:s,reportRowHeightChange:this.handleRowHeightChange},l),k=y?m?"scroll":"scroll-hidden":E?m?"auto":"scroll-hidden":"hidden",x=S?g?"scroll":"scroll-hidden":D?g?"auto":"scroll-hidden":"hidden";return T=(0,r.na4)(C,{ref:this.clippedScrollerRefs.createRef(v),scrollerElRef:this.scrollerElRefs.createRef(v),overflowX:k,overflowY:x,liquid:b,maxHeight:e.maxHeight},T),(0,r.na4)(l?"th":"td",{key:o.key,ref:this.chunkElRefs.createRef(v),role:"presentation"},T)},t.prototype.componentDidMount=function(){this.getStickyScrolling=(0,r.Vhc)(P,null,N),this.getScrollSyncersBySection=(0,r.uUp)(M.bind(this,!0),null,I),this.getScrollSyncersByColumn=(0,r.uUp)(M.bind(this,!1),null,I),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()+r.$WB.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(),i=n[0],o=n[1],a=i*o,s=[];return t.forEach(function(t,n){if(t.hasShrinkCol){var i=e.chunkElRefs.collect(n,a,o);s[n]=(0,r.rjq)(i)}}),s},t.prototype.computeSectionRowMaxHeights=function(){for(var e=new Map,t=this.getDims(),n=t[0],i=t[1],o=[],a=0;a<n;a+=1){var s=this.props.sections[a],l=[];if(s&&s.syncRowHeights){for(var u=[],c=0;c<i;c+=1){var d=a*i+c,p=[],f=this.chunkElRefs.currentMap[d];p=f?(0,r.beH)(f,".fc-scrollgrid-sync-table tr").map(function(t){var n=b(t);return e.set(t,n),n}):[],u.push(p)}var h=u[0].length,v=!0;for(c=1;c<i;c+=1){if(!(s.chunks[c]&&void 0!==s.chunks[c].outerContent)&&u[c].length!==h){v=!1;break}}if(v){for(c=0;c<i;c+=1)l.push([]);for(E=0;E<h;E+=1){var g=[];for(c=0;c<i;c+=1){var m=u[c][E];null!=m&&g.push(m)}var y=Math.max.apply(Math,g);for(c=0;c<i;c+=1)l[c].push(y)}}else{for(var C=[],c=0;c<i;c+=1)C.push(D(u[c])+u[c].length);for(var S=Math.max.apply(Math,C),c=0;c<i;c+=1){var E,w=u[c].length,R=S-w,T=Math.floor(R/w),k=R-T*(w-1),x=[];for((E=0)<w&&(x.push(k),E+=1);E<w;)x.push(T),E+=1;l.push(x)}}}o.push(l)}return this.rowInnerMaxHeightMap=e,o},t.prototype.computeScrollerDims=function(){for(var e=(0,r.GZz)(),t=this.getDims(),n=t[0],i=t[1],o=!this.context.isRtl||(0,r.xdc)()?i-1:0,a=n-1,s=this.clippedScrollerRefs.currentMap,l=this.scrollerElRefs.currentMap,u=!1,c=!1,d={},p={},f=0;f<n;f+=1){if((v=s[g=f*i+o])&&v.needsYScrolling()){u=!0;break}}for(var h=0;h<i;h+=1){var v;if((v=s[g=a*i+h])&&v.needsXScrolling()){c=!0;break}}for(f=0;f<n;f+=1)for(h=0;h<i;h+=1){var g,m=l[g=f*i+h];if(m){var y=m.parentNode;d[g]=Math.floor(y.getBoundingClientRect().width-(h===o&&u?e.y:0)),p[g]=Math.floor(y.getBoundingClientRect().height-(f===a&&c?e.x:0))}}return{forceYScrollbars:u,forceXScrollbars:c,scrollerClientWidths:d,scrollerClientHeights:p}},t.prototype.updateStickyScrolling=function(){var e=this.context.isRtl,t=this.scrollerElRefs.getAll().map(function(t){return[t,e]}),n=this.getStickyScrolling(t);
2n.forEach(function(e){return e.updateSize()}),this.stickyScrollings=n},t.prototype.destroyStickyScrolling=function(){this.stickyScrollings.forEach(N)},t.prototype.updateScrollSyncers=function(){for(var e=this.getDims(),t=e[0],n=e[1],i=t*n,o={},a={},s=this.scrollerElRefs.currentMap,l=0;l<t;l+=1){var u=l*n,c=u+n;o[l]=(0,r.tsU)(s,u,c,1)}for(var d=0;d<n;d+=1)a[d]=this.scrollerElRefs.collect(d,i,n);this.scrollSyncersBySection=this.getScrollSyncersBySection(o),this.scrollSyncersByColumn=this.getScrollSyncersByColumn(a)},t.prototype.destroyScrollSyncers=function(){(0,r.d_K)(this.scrollSyncersBySection,I),(0,r.d_K)(this.scrollSyncersByColumn,I)},t.prototype.getChunkConfigByIndex=function(e){var t=this.getDims()[1],n=Math.floor(e/t),r=e%t,i=this.props.sections[n];return i&&i.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,r.cZi)(n.elRef,e)},t.prototype._handleScrollerEl=function(e,t){var n=this.getChunkConfigByIndex(parseInt(t,10));n&&(0,r.cZi)(n.scrollerElRef,e)},t.prototype.getDims=function(){var e=this.props.sections.length;return[e,e?this.props.sections[0].chunks.length:0]},t}(r.$GR);function D(e){for(var t=0,n=0,r=e;n<r.length;n++){t+=r[n]}return t}function b(e){var t=(0,r.beH)(e,".fc-scrollgrid-sync-inner").map(w);return t.length?Math.max.apply(Math,t):0}function w(e){return e.offsetHeight}function R(e){var t=T(e.cols,"width"),n=T(e.cols,"minWidth"),i=(0,r.GvO)(e.cols);return{hasShrinkCol:i,totalColWidth:t,totalColMinWidth:n,allowXScrolling:"shrink"!==e.width&&Boolean(t||n||i),cols:e.cols,width:e.width}}function T(e,t){for(var n=0,r=0,i=e;r<i.length;r++){var o=i[r],a=o[t];"number"===typeof a&&(n+=a*(o.span||1))}return n}E.addStateEquality({shrinkWidths:r.x0N,scrollerClientWidths:r.vA0,scrollerClientHeights:r.vA0});var k={cols:r.Tmq};function x(e,t){return(0,r.KX1)(e,t,k)}function M(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new S(e,t)}function I(e){e.destroy()}function P(e,t){return new y(e,t)}function N(e){e.destroy()}(0,r.i1g)({deps:[l],scrollGridImpl:E});r.$WB.SCROLLGRID_RESIZE_INTERVAL=500;r.$WB.MAX_TIMELINE_SLOTS=1e3;var H=[{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 O(e,t,n,i){var o={labelInterval:n.slotLabelInterval,slotDuration:n.slotDuration};!function(e,t,n){var i=t.currentRange;if(e.labelInterval){n.countDurationsBetween(i.start,i.end,e.labelInterval)>r.$WB.MAX_TIMELINE_SLOTS&&(console.warn("slotLabelInterval results in too many cells"),e.labelInterval=null)}if(e.slotDuration){n.countDurationsBetween(i.start,i.end,e.slotDuration)>r.$WB.MAX_TIMELINE_SLOTS&&(console.warn("slotDuration results in too many cells"),e.slotDuration=null)}if(e.labelInterval&&e.slotDuration){var o=(0,r.Y2k)(e.labelInterval,e.slotDuration);(null===o||o<1)&&(console.warn("slotLabelInterval must be a multiple of slotDuration"),e.slotDuration=null)}}(o,e,t),L(o,e,t),function(e,t,n){var i=t.currentRange,o=e.slotDuration;if(!o){for(var a=L(e,t,n),s=0,l=H;s<l.length;s++){var u=l[s],c=(0,r.xCT)(u),d=(0,r.Y2k)(a,c);if(null!==d&&d>1&&d<=6){o=c;break}}if(o)n.countDurationsBetween(i.start,i.end,o)>200&&(o=null);o||(o=a),e.slotDuration=o}}(o,e,t);var a=n.slotLabelFormat,s=Array.isArray(a)?a:null!=a?[a]:function(e,t,n,i){var o,a,s=e.labelInterval,l=(0,r.Mqt)(s).unit,u=i.weekNumbers,c=o=a=null;"week"!==l||u||(l="day");switch(l){case"year":c={year:"numeric"};break;case"month":_("years",t,n)>1&&(c={year:"numeric"}),o={month:"short"};break;case"week":_("years",t,n)>1&&(c={year:"numeric"}),o={week:"narrow"};break;case"day":_("years",t,n)>1?c={year:"numeric",month:"long"}:_("months",t,n)>1&&(c={month:"long"}),u&&(o={week:"short"}),a={weekday:"narrow",day:"numeric"};break;case"hour":u&&(c={week:"short"}),_("days",t,n)>1&&(o={weekday:"short",day:"numeric",month:"numeric",omitCommas:!0}),a={hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"};break;case"minute":(0,r.LEP)(s)/60>=6?(c={hour:"numeric",meridiem:"short"},o=function(e){return":"+(0,r.CFj)(e.date.minute,2)}):c={hour:"numeric",minute:"numeric",meridiem:"short"};break;case"second":(0,r.ppi)(s)/60>=6?(c={hour:"numeric",minute:"2-digit",meridiem:"lowercase"},o=function(e){return":"+(0,r.CFj)(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,r.CFj)(e.millisecond,3)}}return[].concat(c||[],o||[],a||[])}(o,e,t,n);o.headerFormats=s.map(function(e){return(0,r.xi1)(e)}),o.isTimeScale=Boolean(o.slotDuration.milliseconds);var l=null;if(!o.isTimeScale){var u=(0,r.Mqt)(o.slotDuration).unit;/year|month|week/.test(u)&&(l=u)}o.largeUnit=l,o.emphasizeWeeks=1===(0,r.BgT)(o.slotDuration)&&_("weeks",e,t)>=2&&!n.businessHours;var c,d,p=n.snapDuration;p&&(c=(0,r.xCT)(p),d=(0,r.Y2k)(o.slotDuration,c)),null==d&&(c=o.slotDuration,d=1),o.snapDuration=c,o.snapsPerSlot=d;var f=(0,r.Oh8)(e.slotMaxTime)-(0,r.Oh8)(e.slotMinTime),h=A(e.renderRange.start,o,t),v=A(e.renderRange.end,o,t);
2o.isTimeScale&&(h=t.add(h,e.slotMinTime),v=t.add((0,r.fij)(v,-1),e.slotMaxTime)),o.timeWindowMs=f,o.normalizedRange={start:h,end:v};for(var g=[],m=h;m<v;)W(m,o,e,i)&&g.push(m),m=t.add(m,o.slotDuration);o.slotDates=g;var y=-1,C=0,S=[],E=[];for(m=h;m<v;)W(m,o,e,i)?(y+=1,S.push(y),E.push(C)):S.push(y+.5),m=t.add(m,o.snapDuration),C+=1;return o.snapDiffToIndex=S,o.snapIndexToDiff=E,o.snapCnt=y+1,o.slotCnt=o.snapCnt/o.snapsPerSlot,o.isWeekStarts=function(e,t){for(var n=e.slotDates,r=e.emphasizeWeeks,i=null,o=[],a=0,s=n;a<s.length;a++){var l=s[a],u=t.computeWeekNumber(l),c=r&&null!==i&&i!==u;i=u,o.push(c)}return o}(o,t),o.cellRows=function(e,t){for(var n=e.slotDates,i=e.headerFormats,o=i.map(function(){return[]}),a=(0,r.BgT)(e.slotDuration),s=7===a?"week":1===a?"day":null,l=i.map(function(e){return e.getLargestUnit?e.getLargestUnit():null}),u=0;u<n.length;u+=1)for(var c=n[u],d=e.isWeekStarts[u],p=0;p<i.length;p+=1){var f=i[p],h=o[p],v=h[h.length-1],g=p===i.length-1,m=i.length>1&&!g,y=null,C=l[p]||(g?s:null);if(m){var S=t.format(c,f);v&&v.text===S?v.colspan+=1:y=F(c,S,C)}else if(!v||(0,r.E6F)(t.countDurationsBetween(e.normalizedRange.start,c,e.labelInterval))){y=F(c,S=t.format(c,f),C)}else v.colspan+=1;y&&(y.weekStart=d,h.push(y))}return o}(o,t),o.slotsPerLabel=(0,r.Y2k)(o.labelInterval,o.slotDuration),o}function A(e,t,n){var i=e;return t.isTimeScale||(i=(0,r.ol1)(i),t.largeUnit&&(i=n.startOf(i,t.largeUnit))),i}function W(e,t,n,i){if(i.isHiddenDay(e))return!1;if(t.isTimeScale){var o=(0,r.ol1)(e),a=e.valueOf()-o.valueOf()-(0,r.Oh8)(n.slotMinTime);return(a=(a%864e5+864e5)%864e5)<t.timeWindowMs}return!0}function L(e,t,n){var i=t.currentRange,o=e.labelInterval;if(!o){var a=void 0;if(e.slotDuration){for(var s=0,l=H;s<l.length;s++){a=l[s];var u=(0,r.xCT)(a),c=(0,r.Y2k)(u,e.slotDuration);if(null!==c&&c<=6){o=u;break}}o||(o=e.slotDuration)}else for(var d=0,p=H;d<p.length;d++){if(a=p[d],o=(0,r.xCT)(a),n.countDurationsBetween(i.start,i.end,o)>=18)break}e.labelInterval=o}return o}function _(e,t,n){var i=t.currentRange,o=null;return"years"===e?o=n.diffWholeYears(i.start,i.end):"months"===e||"weeks"===e?o=n.diffWholeMonths(i.start,i.end):"days"===e&&(o=(0,r.C1P)(i.start,i.end)),o||0}function F(e,t,n){return{date:e,text:t,rowUnit:n,colspan:1,isWeekStart:!1}}var z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,r.na4)(r.pSS,{hookProps:e.hookProps,content:t.options.slotLabelContent,defaultContent:B},function(t,n){return(0,r.na4)("a",(0,c.Cl)({ref:t,className:"fc-timeline-slot-cushion fc-scrollgrid-sync-inner"+(e.isSticky?" fc-sticky":"")},e.navLinkAttrs),n)})},t}(r.$GR);function B(e){return e.text}function U(e){return{level:e.level,date:e.dateEnv.toDate(e.dateMarker),view:e.viewApi,text:e.text}}var V=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,r.m0Q)(U),t.normalizeClassNames=(0,r.N)(),t.buildCellNavLinkAttrs=(0,r.BjF)(j),t}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,i=n.dateEnv,o=n.options,a=t.cell,s=t.dateProfile,l=t.tDateProfile,u=(0,r.qFr)(a.date,t.todayRange,t.nowDate,s),c=["fc-timeline-slot","fc-timeline-slot-label"].concat("time"===a.rowUnit?(0,r.nKW)(u,n.theme):(0,r.NP$)(u,n.theme));a.isWeekStart&&c.push("fc-timeline-slot-em");var d=this.refineHookProps({level:t.rowLevel,dateMarker:a.date,text:a.text,dateEnv:n.dateEnv,viewApi:n.viewApi}),p=this.normalizeClassNames(o.slotLabelClassNames,d);return(0,r.na4)(r.vF,{hookProps:d,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},function(o){return(0,r.na4)("th",{ref:o,className:c.concat(p).join(" "),"data-date":i.formatIso(a.date,{omitTime:!l.isTimeScale,omitTimeZoneOffset:!0}),colSpan:a.colspan},(0,r.na4)("div",{className:"fc-timeline-slot-frame",style:{height:t.rowInnerHeight}},(0,r.na4)(z,{hookProps:d,isSticky:t.isSticky,navLinkAttrs:e.buildCellNavLinkAttrs(n,a.date,a.rowUnit)})))})},t}(r.$GR);function j(e,t,n){return n&&"time"!==n?(0,r.myk)(e,t,n):{}}var G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.dateProfile,n=e.tDateProfile,i=e.rowInnerHeights,o=e.todayRange,a=e.nowDate,s=n.cellRows;return(0,r.na4)(r.FK,null,s.map(function(e,l){var u=l===s.length-1,c=["fc-timeline-header-row",n.isTimeScale&&u?"fc-timeline-header-row-chrono":""];return(0,r.na4)("tr",{key:l,className:c.join(" ")},e.map(function(e){return(0,r.na4)(V,{key:e.date.toISOString(),cell:e,rowLevel:l,dateProfile:t,tDateProfile:n,todayRange:o,nowDate:a,rowInnerHeight:i&&i[l],isSticky:!u})}))}))},t}(r.$GR),q=function(){function e(e,t,n,i,o,a){this.slatRootEl=e,this.dateProfile=n,this.tDateProfile=i,this.dateEnv=o,this.isRtl=a,this.outerCoordCache=new r.Qnh(e,t,!0,!1),this.innerCoordCache=new r.Qnh(e,(0,r.GY4)(t,"div"),!0,!1)}return e.prototype.isDateInRange=function(e){return(0,r.$Bw)(this.dateProfile.currentRange,e)},e.prototype.dateToCoord=function(e){var t=this.tDateProfile,n=this.computeDateSnapCoverage(e)/t.snapsPerSlot,r=Math.floor(n),i=n-(r=Math.min(r,t.slotCnt-1)),o=this.innerCoordCache,a=this.outerCoordCache;return this.isRtl?a.originClientRect.width-(a.rights[r]-o.getWidth(r)*i):a.lefts[r]+o.getWidth(r)*i},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,i=t.tDateProfile,o=t.dateEnv,a=t.isRtl,s=0;if(n){var l=o.add(n.activeRange.start,e);i.isTimeScale||(l=(0,r.ol1)(l)),s=this.dateToCoord(l),!a&&s&&(s+=1)}return s},e.prototype.coordFromLeft=function(e){return this.isRtl?this.outerCoordCache.originClientRect.width-e:e},e.prototype.computeDateSnapCoverage=function(e){return Y(e,this.tDateProfile,this.dateEnv)},e}();function Y(e,t,n){var i=n.countDurationsBetween(t.normalizedRange.start,e,t.snapDuration);if(i<0)return 0;if(i>=t.snapDiffToIndex.length)return t.snapCnt;var o=Math.floor(i),a=t.snapDiffToIndex[o];return(0,r.E6F)(a)?a+=i-o:a=Math.ceil(a),a}function X(e,t){return null===e?{left:"",right:""}:t?{right:e,left:""}:{left:e,right:""}}function Z(e,t){return e?t?{right:e.start,left:-e.end}:{left:e.start,right:-e.end}:{left:"",right:""}}var $=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,r._3b)(),t}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,i=(0,r.Mqt)(t.tDateProfile.slotDuration).unit,o=t.slatCoords&&t.slatCoords.dateProfile===t.dateProfile?t.slatCoords:null;return(0,r.na4)(r.O6g,{unit:i},function(i,a){return(0,r.na4)("div",{className:"fc-timeline-header",ref:e.rootElRef}
2,(0,r.na4)("table",{"aria-hidden":!0,className:"fc-scrollgrid-sync-table",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,(0,r.na4)("tbody",null,(0,r.na4)(G,{dateProfile:t.dateProfile,tDateProfile:t.tDateProfile,nowDate:i,todayRange:a,rowInnerHeights:t.rowInnerHeights}))),n.options.nowIndicator&&(0,r.na4)("div",{className:"fc-timeline-now-indicator-container"},o&&o.isDateInRange(i)&&(0,r.na4)(r.qc,{isAxis:!0,date:i},function(e,t,a,s){return(0,r.na4)("div",{ref:e,className:["fc-timeline-now-indicator-arrow"].concat(t).join(" "),style:X(o.dateToCoord(i),n.isRtl)},s)})))})},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,r.beH)(this.rootElRef.current,".fc-timeline-header-row:last-child .fc-timeline-slot-cushion").map(function(e){return e.getBoundingClientRect().width}))},t}(r.$GR),K=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,i=t.options,o=t.theme,a=e.date,s=e.tDateProfile,l=e.isEm,u=(0,r.qFr)(e.date,e.todayRange,e.nowDate,e.dateProfile),d=["fc-timeline-slot","fc-timeline-slot-lane"],p={"data-date":n.formatIso(a,{omitTimeZoneOffset:!0,omitTime:!s.isTimeScale})},f=(0,c.Cl)((0,c.Cl)({date:n.toDate(e.date)},u),{view:t.viewApi});return l&&d.push("fc-timeline-slot-em"),s.isTimeScale&&d.push((0,r.E6F)(n.countDurationsBetween(s.normalizedRange.start,e.date,s.labelInterval))?"fc-timeline-slot-major":"fc-timeline-slot-minor"),d.push.apply(d,e.isDay?(0,r.NP$)(u,o):(0,r.nKW)(u,o)),(0,r.na4)(r.iT7,{hookProps:f,classNames:i.slotLaneClassNames,content:i.slotLaneContent,didMount:i.slotLaneDidMount,willUnmount:i.slotLaneWillUnmount,elRef:e.elRef},function(e,t,n,i){return(0,r.na4)("td",(0,c.Cl)({ref:e,className:d.concat(t).join(" ")},p),(0,r.na4)("div",{ref:n},i))})},t}(r.$GR),Q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this.props,t=e.tDateProfile,n=e.cellElRefs,i=t.slotDates,o=t.isWeekStarts,a=!t.isTimeScale&&!t.largeUnit;return(0,r.na4)("tbody",null,(0,r.na4)("tr",null,i.map(function(i,s){var l=i.toISOString();return(0,r.na4)(K,{key:l,elRef:n.createRef(l),date:i,dateProfile:e.dateProfile,tDateProfile:t,nowDate:e.nowDate,todayRange:e.todayRange,isEm:o[s],isDay:a})})))},t}(r.$GR),J=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,r._3b)(),t.cellElRefs=new r.kFN,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,c.C6)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,r.na4)("div",{className:"fc-timeline-slots",ref:this.rootElRef},(0,r.na4)("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,(0,r.na4)(Q,{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 q(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,i=n.dateEnv,o=n.isRtl,a=this.props.tDateProfile,s=t.leftToIndex(e);if(null!=s){var l=t.getWidth(s),u=o?(t.rights[s]-e)/l:(e-t.lefts[s])/l,c=Math.floor(u*a.snapsPerSlot),d=i.add(a.slotDates[s],(0,r.Nay)(a.snapDuration,c));return{dateSpan:{range:{start:d,end:i.add(d,a.snapDuration)},allDay:!this.props.tDateProfile.isTimeScale},dayEl:this.cellElRefs.currentMap[s],left:t.lefts[s],right:t.rights[s]}}return null},t}(r.$GR);function ee(e,t,n){var r=[];if(n)for(var i=0,o=e;i<o.length;i++){var a=o[i],s=n.rangeToCoords(a),l=Math.round(s.start),u=Math.round(s.end);u-l<t&&(u=l+t),r.push({start:l,end:u})}return r}var te=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this.props,t=[].concat(e.eventResizeSegs,e.dateSelectionSegs);return e.timelineCoords&&(0,r.na4)("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 i=this.props,o=i.todayRange,a=i.nowDate,s=this.context.
2isRtl,l=ee(e,0,t),u=e.map(function(e,t){var i=Z(l[t],s);return(0,r.na4)("div",{key:(0,r.N8)(e.eventRange),className:"fc-timeline-bg-harness",style:i},"bg-event"===n?(0,r.na4)(r.s_G,(0,c.Cl)({seg:e},(0,r.F29)(e,o,a))):(0,r.aOA)(n))});return(0,r.na4)(r.FK,null,u)},t}(r.$GR),ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.C6)(t,e),t.prototype.sliceRange=function(e,t,n,i,o){var a=function(e,t,n){if(!t.isTimeScale&&(e=(0,r.TAk)(e),t.largeUnit)){var i=e;((e={start:n.startOf(e.start,t.largeUnit),end:n.startOf(e.end,t.largeUnit)}).end.valueOf()!==i.end.valueOf()||e.end<=e.start)&&(e={start:e.start,end:n.add(e.end,t.slotDuration)})}return e}(e,i,o),s=[];if(Y(a.start,i,o)<Y(a.end,i,o)){var l=(0,r.imr)(a,i.normalizedRange);l&&s.push({start:l.start,end:l.end,isStart:l.start.valueOf()===a.start.valueOf()&&W(l.start,i,t,n),isEnd:l.end.valueOf()===a.end.valueOf()&&W((0,r.QfM)(l.end,-1),i,t,n)})}return s},t}(r.$He),re=(0,r.xi1)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"}),ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this.props;return(0,r.na4)(r.y8j,(0,c.Cl)({},e,{extraClassNames:["fc-timeline-event","fc-h-event"],defaultTimeFormat:re,defaultDisplayEventTime:!e.isTimeScale}))},t}(r.$GR),oe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,r._3b)(),t}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,i=t.hiddenSegs,o=t.elRef,a=t.placement,s=t.resourceId,l=a.top,u=a.hcoords,d=u&&null!==l,p=Z(u,n.isRtl),f=s?{resourceId:s}:{};return(0,r.na4)(r.knM,{allDayDate:null,moreCnt:i.length,allSegs:i,hiddenSegs:i,alignmentElRef:this.rootElRef,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:f,popoverContent:function(){return(0,r.na4)(r.FK,null,i.map(function(e){var n=e.eventRange.instance.instanceId;return(0,r.na4)("div",{key:n,style:{visibility:t.isForcedInvisible[n]?"hidden":""}},(0,r.na4)(ie,(0,c.Cl)({isTimeScale:t.isTimeScale,seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:n===t.eventSelection},(0,r.F29)(e,t.todayRange,t.nowDate))))}))}},function(t,n,i,a,s,u,f,h){return(0,r.na4)("a",{ref:function(n){(0,r.cZi)(t,n),(0,r.cZi)(o,n),(0,r.cZi)(e.rootElRef,n)},className:["fc-timeline-more-link"].concat(n).join(" "),style:(0,c.Cl)({visibility:d?"":"hidden",top:l||0},p),onClick:s,title:u,"aria-expanded":f,"aria-controls":h},(0,r.na4)("div",{ref:i,className:"fc-timeline-more-link-inner fc-sticky"},a))})},t}(r.$GR),ae=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new ne,t.sortEventSegs=(0,r.BjF)(r.B4w),t.harnessElRefs=new r.kFN,t.moreElRefs=new r.kFN,t.innerElRef=(0,r._3b)(),t.state={eventInstanceHeights:{},moreLinkHeights:{}},t}return(0,c.C6)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,i=e.context,o=i.options,a=t.dateProfile,s=t.tDateProfile,l=this.slicer.sliceProps(t,a,s.isTimeScale?null:t.nextDayThreshold,i,a,i.dateProfileGenerator,s,i.dateEnv),u=(l.eventDrag?l.eventDrag.segs:null)||(l.eventResize?l.eventResize.segs:null)||[],c=this.sortEventSegs(l.fgEventSegs,o.eventOrder),d=function(e,t,n,i,o,a){for(var s=[],l=[],u=0;u<e.length;u+=1){var c=e[u],d=n[c.eventRange.instance.instanceId],p=t[u];d&&p?s.push({index:u,span:p,thickness:d}):l.push({seg:c,hcoords:p,top:null})}var f=new r.XpW;null!=o&&(f.strictOrder=o),null!=a&&(f.maxStackCnt=a);var h=f.addSegs(s),v=h.map(function(t){return{seg:e[t.index],hcoords:t.span,top:null}}),g=(0,r.XbD)(h),m=[],y=[],C=function(t){return e[t.index]};for(u=0;u<g.length;u+=1){var S=g[u],E=S.entries.map(C);null!=(d=i[(0,r.NIT)((0,r.aQG)(E))])?m.push({index:e.length+u,thickness:d,span:S.span}):y.push({seg:E,hcoords:S.span,top:null})}f.maxStackCnt=-1,f.addSegs(m);for(var D=[],b=0,w=0,R=f.toRects();w<R.length;w++){var T=R[w],k=T.index;D.push({seg:k<e.length?e[k]:g[k-e.length].entries.map(C),hcoords:T.span,top:T.levelCoord}),b=Math.max(b,T.levelCoord+T.thickness)}return[D.concat(l,v,y),b]}(c,ee(c,o.eventMinWidth,t.timelineCoords),n.eventInstanceHeights,n.moreLinkHeights,o.eventOrderStrict,o.eventMaxStack),p=d[0],f=d[1],h=(l.eventDrag?l.eventDrag.affectedInstances:null)||(l.eventResize?l.eventResize.affectedInstances:null)||{};return(0,r.na4)(r.FK,null,(0,r.na4)(te,{businessHourSegs:l.businessHourSegs,bgEventSegs:l.bgEventSegs,timelineCoords:t.timelineCoords,eventResizeSegs:l.eventResize?l.eventResize.segs:[],dateSelectionSegs:l.dateSelectionSegs,nowDate:t.nowDate,todayRange:t.todayRange}),(0,r.na4)("div",{className:"fc-timeline-events fc-scrollgrid-sync-inner",ref:this.innerElRef,style:{height:f}},this.renderFgSegs(p,h,!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 i=r[n],o=i.seg;Array.isArray(o)||(t[o.eventRange.instance.instanceId]=i.top)}return t}(n);return e.map(function(e){return{seg:e,hcoords:t.rangeToCoords(e),top:r[e.eventRange.instance.instanceId]}})}(u,t.timelineCoords,p),{},Boolean(l.eventDrag),Boolean(l.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,r.d_K)(this.harnessElRefs.currentMap,function(e){return Math.round(e.getBoundingClientRect().height)}),moreLinkHeights:(0,r.d_K)(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,i,o){var a=this,s=a.harnessElRefs,l=a.moreElRefs,u=a.props,d=a.context,p=n||i||o;return(0,r.na4)(r.FK,null,e.map(function(e){var a=e.seg,f=e.hcoords,h=e.top;if(Array.isArray(a)){var v=(0,r.NIT)((0,r.aQG)(a));return(0,r.na4)(oe,{key:"m:"+v,elRef:l.createRef(v),hiddenSegs:a,placement:e,dateProfile:u.dateProfile,nowDate:u.nowDate,todayRange:u.todayRange,isTimeScale:u.tDateProfile.isTimeScale,eventSelection:u.eventSelection,resourceId:u.resourceId,isForcedInvisible:t})}var g=a.eventRange.instance.instanceId,m=p||Boolean(!t[g]&&f&&null!==h),y=Z(f,d.isRtl);return(0,r.na4)("div",{key:"e:"+g,ref:p?null:s.createRef(g),className:"fc-timeline-event-harness",style:(0,c.Cl)({visibility:m?"":"hidden",top:h||0},y)},(0,r.na4)(ie,(0,c.Cl)({isTimeScale:u.tDateProfile.isTimeScale,seg:a,isDragging:n,isResizing:i,isDateSelecting:o,isSelected:g===u.eventSelection},(0,r.F29)(a,u.todayRange,u.nowDate))))}))},t}(r.$GR);ae.addStateEquality({eventInstanceHeights:r.vA0,moreLinkHeights:r.vA0});var se=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slatsRef=(0,r._3b)(),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,c.C6)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,i=t.state,o=t.context,a=o.options,s=n.dateProfile,l=n.tDateProfile,u=(0,r.Mqt)(l.slotDuration).unit;return(0,r.na4)("div",{className:"fc-timeline-body",ref:this.handeEl,style:{minWidth:n.tableMinWidth,height:n.clientHeight,width:n.clientWidth}},(0,r.na4)(r.O6g,{unit:u},function(t,u){return(0,r.na4)(r.FK,null,(0,r.na4)(J,{ref:e.slatsRef,dateProfile:s,tDateProfile:l,nowDate:t,todayRange:u,clientWidth:n.clientWidth,tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,onCoords:e.handleCoords,onScrollLeftRequest:n.onScrollLeftRequest}),(0,r.na4)(ae,{dateProfile:s,tDateProfile:n.tDateProfile,nowDate:t,todayRange:u,nextDayThreshold:a.nextDayThreshold,businessHours:n.businessHours,eventStore:n.eventStore,eventUiBases:n.eventUiBases,dateSelection:n.dateSelection,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,timelineCoords:i.coords,syncParentMinHeight:!0}),a.nowIndicator&&i.coords&&i.coords.isDateInRange(t)&&(0,r.na4)("div",{className:"fc-timeline-now-indicator-container"},(0,r.na4)(r.qc,{isAxis:!1,date:t},function(e,n,a,s){return(0,r.na4)("div",{ref:e,className:["fc-timeline-now-indicator-line"].concat(n).join(" "),style:X(i.coords.dateToCoord(t),o.isRtl)},s)})))}))},t.prototype.queryHit=function(e,t,n,r){var i=this.slatsRef.current.positionToHit(e);return i?{dateProfile:this.props.dateProfile,dateSpan:i.dateSpan,rect:{left:i.left,right:i.right,top:0,bottom:r},dayEl:i.dayEl,layer:0}:null},t}(r.gzh),le=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimelineDateProfile=(0,r.BjF)(O),t.scrollGridRef=(0,r._3b)(),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,c.C6)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,i=t.state,o=t.context,a=o.options,s=!n.forPrint&&(0,r._Dp)(a),l=!n.forPrint&&(0,r.v2o)(a),u=this.buildTimelineDateProfile(n.dateProfile,o.dateEnv,a,o.dateProfileGenerator),d=["fc-timeline",!1===a.eventOverlap?"fc-timeline-overlap-disabled":""],p=a.slotMinWidth,f=function(e,t){return[{span:e.slotCnt,minWidth:t||1}]}(u,p||this.computeFallbackSlotMinWidth(u)),h=[{type:"header",key:"header",isSticky:s,chunks:[{key:"timeline",content:function(t){return(0,r.na4)($,{dateProfile:n.dateProfile,clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,tDateProfile:u,slatCoords:i.slat
2Coords,onMaxCushionWidth:p?null:e.handleMaxCushionWidth})}}]},{type:"body",key:"body",liquid:!0,chunks:[{key:"timeline",content:function(t){return(0,r.na4)(se,(0,c.Cl)({},n,{clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,tDateProfile:u,onSlatCoords:e.handleSlatCoords,onScrollLeftRequest:e.handleScrollLeftRequest}))}}]}];return l&&h.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"timeline",content:r.bLJ}]}),(0,r.na4)(r.q4f,{viewSpec:o.viewSpec},function(t,i){return(0,r.na4)("div",{ref:t,className:d.concat(i).join(" ")},(0,r.na4)(E,{ref:e.scrollGridRef,liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:!1,colGroups:[{cols:f}],sections:h}))})},t.prototype.computeFallbackSlotMinWidth=function(e){return Math.max(30,(this.state.slotCushionMaxWidth||0)/e.slotsPerLabel)},t}(r.gzh);const ue=(0,r.i1g)({deps:[l],initialView:"timelineDay",views:{timeline:{component:le,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}}}})},33070(e,t,n){var r=n(41808),i=n(4571);const o=(0,r.A)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 3c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m7 13H5v-.23c0-.62.28-1.2.76-1.58C7.47 15.82 9.64 15 12 15s4.53.82 6.24 2.19c.48.38.76.97.76 1.58z"}),"AccountBox");n.d(t,["A",0,o])},4951(e,t,n){var r=n(41808),i=n(4571);const o=(0,r.A)((0,i.jsx)("path",{d:"M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4"}),"AttachMoney");n.d(t,["A",0,o])},75296(e,t,n){var r=n(41808),i=n(4571);const o=(0,r.A)((0,i.jsx)("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"}),"Autorenew");n.d(t,["A",0,o])},49409(e,t,n){var r=n(41808),i=n(4571);const o=(0,r.A)((0,i.jsx)("path",{d:"M19 14V6c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2m-9-1c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m13-6v11c0 1.1-.9 2-2 2H4v-2h17V7z"}),"Payments");n.d(t,["A",0,o])},37185(e,t,n){var r=n(41808),i=n(4571);const o=(0,r.A)((0,i.jsx)("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2m-8 6H8v1h3c.55 0 1 .45 1 1v3c0 .55-.45 1-1 1h-1v1H8v-1H6v-2h4v-1H7c-.55 0-1-.45-1-1V9c0-.55.45-1 1-1h1V7h2v1h2zm4 6.25-2-2h4zM14 10l2-2 2 2z"}),"PriceChange");n.d(t,["A",0,o])},13765(e,t,n){var r=n(41808),i=n(4571);const o=(0,r.A)((0,i.jsx)("path",{d:"M7 7h10v3l4-4-4-4v3H5v6h2zm10 10H7v-3l-4 4 4 4v-3h12v-6h-2z"}),"Repeat");n.d(t,["A",0,o])},17154(e,t,n){var r=n(41808),i=n(4571);const o=(0,r.A)((0,i.jsx)("path",{d:"M16.24 7.76C15.07 6.59 13.54 6 12 6v6l-4.24 4.24c2.34 2.34 6.14 2.34 8.49 0 2.34-2.34 2.34-6.14-.01-8.48M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"Timelapse");n.d(t,["A",0,o])},63185(e,t,n){var r=n(41808),i=n(4571);const o=(0,r.A)((0,i.jsx)("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline");n.d(t,["A",0,o])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.