1/*! LICENSE: vu.1a570c8818.js.LICENSE.txt */ 2"use strict";(self.rspackChunk_pathwright_mainclient=self.rspackChunk_pathwright_mainclient||[]).push([["vu"],{soh(e,t,n){n.d(t,{p3z:()=>eF,$GR:()=>nv,s_G:()=>r2,fhD:()=>t_,o3v:()=>ry,IyV:()=>n9,xRE:()=>rb,gzh:()=>nE,rou:()=>nA,ux1:()=>r0,rrN:()=>r4,A1b:()=>rx,NC_:()=>rP,mql:()=>rO,WDw:()=>ru,_n8:()=>nl,vli:()=>no,fhX:()=>tU,Nty:()=>rK,FK:()=>p,N3M:()=>ra,knM:()=>ie,O6g:()=>rk,Qnh:()=>na,kFN:()=>rz,iT7:()=>nC,w1c:()=>ns,HOs:()=>rW,XpW:()=>re,en1:()=>rX,$He:()=>rN,y8j:()=>r$,q4f:()=>nP,SUi:()=>r5,Wkc:()=>nu,fij:()=>B,J4u:()=>j,iDH:()=>L,_8O:()=>_,on3:()=>tI,AVT:()=>D,qAn:()=>rn,uEb:()=>tV,N8:()=>tb,myk:()=>t9,wWN:()=>tE,S$d:()=>W,Qfg:()=>nn,Cc$:()=>nr,$WB:()=>rc,AF1:()=>tQ,kfp:()=>x,xCT:()=>ev,na4:()=>c,H8x:()=>e$,OEO:()=>er,xi1:()=>eL,i1g:()=>nD,_3b:()=>d,FjJ:()=>ta,puS:()=>t0,Z3F:()=>q,tOV:()=>N,YAv:()=>m,C4N:()=>y,q2g:()=>H,tbu:()=>eX,bxH:()=>eD,ccu:()=>ni,qFr:()=>t6,NP$:()=>t5,hax:()=>tx,UOc:()=>S,VVT:()=>th,Mpm:()=>b,QvU:()=>tJ,LkY:()=>eK,tPU:()=>tS,F29:()=>tD,v2o:()=>rZ,_Dp:()=>rG,znd:()=>w,D_O:()=>eG,BNQ:()=>rl,qIM:()=>rs,imr:()=>tu,B_7:()=>t$,RNt:()=>rr,rjW:()=>r_,U6q:()=>tw,lVx:()=>rA,HvV:()=>to,vA0:()=>ec,d_K:()=>es,BjF:()=>eC,PWO:()=>rp,Rjd:()=>tn,$UH:()=>tK,N7h:()=>U,vFY:()=>A,wj3:()=>td,Zl2:()=>te,NzY:()=>g,aOA:()=>r3,bLJ:()=>rq,cZi:()=>ny,MXk:()=>tf,B4w:()=>tm,ol1:()=>X,F5O:()=>tk,SH7:()=>M}),n("YA");var r,i,o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function l(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}if("u"<typeof FullCalendarVDom)throw Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var u=FullCalendarVDom.Component,c=FullCalendarVDom.createElement;FullCalendarVDom.render;var d=FullCalendarVDom.createRef,p=FullCalendarVDom.Fragment,f=FullCalendarVDom.createContext,h=FullCalendarVDom.createPortal;FullCalendarVDom.flushSync,FullCalendarVDom.unmountComponentAtNode;var v=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 g(e){e.parentNode&&e.parentNode.removeChild(e)}function m(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(y(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType)return null}function y(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}var E=/(top|left|right|bottom|width|height)$/i;function D(e,t){for(var n in t){var r,i,o;r=e,i=n,null==(o=t[n])?r.style[i]="":"number"==typeof o&&E.test(i)?r.style[i]=o+"px":r.style[i]=o}}function b(e){var t,n;return null!=(n=null==(t=e.composedPath)?void 0:t.call(e)[0])?n:e.target}function S(e){return e.getRootNode?e.getRootNode():document}var C=0;function w(){return"fc-dom-"+(C+=1)}function T(e){e.preventDefault()}function R(e,t,n,r){var i=function(e){var t=m(e.target,n);t&&r.call(t,e,t)};return e.addEventListener(t,i),function(){e.removeEventListener(t,i)}}var k=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];
2function M(e,t){var n=function(r){t(r),k.forEach(function(t){e.removeEventListener(t,n)})};k.forEach(function(t){e.addEventListener(t,n)})}function x(e){return s({onClick:e},I(e))}function I(e){return{tabIndex:0,onKeyDown:function(t){("Enter"===t.key||" "===t.key)&&(e(t),t.preventDefault())}}}var P=0;function O(){return String(P+=1)}function N(){document.body.classList.add("fc-not-allowed")}function H(){document.body.classList.remove("fc-not-allowed")}function A(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",T)}function _(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",T)}function U(e){e.addEventListener("contextmenu",T)}function L(e){e.removeEventListener("contextmenu",T)}function V(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 W(e,t){return e-t}var z=["sun","mon","tue","wed","thu","fri","sat"];function j(e,t){var n=J(e);return n[2]+=7*t,ee(n)}function B(e,t){var n=J(e);return n[2]+=t,ee(n)}function Y(e,t){var n=J(e);return n[6]+=t,ee(n)}function q(e,t){return G(e,t)/7}function G(e,t){return(t.valueOf()-e.valueOf())/864e5}function Z(e,t){return en(e)===en(t)?Math.round(G(e,t)):null}function X(e){return ee([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function K(e,t,n,r){var i,o;return Math.floor(Math.round(G(ee([t,0,1+(-((7+ee([t,0,o=7+(i=n)-r]).getUTCDay()-i)%7)+o-1)]),X(e)))/7)+1}function $(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function Q(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 J(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function ee(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function et(e){return!isNaN(e.valueOf())}function en(e){return 1e3*e.getUTCHours()*3600+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function er(e,t,n,r){return{instanceId:O(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var ei=Object.prototype.hasOwnProperty;function eo(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]=eo(i))}for(var 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 ea(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function es(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function el(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}function eu(e){var t=[];for(var n in e)t.push(e[n]);return t}function ec(e,t){if(e===t)return!0;for(var n in e)if(ei.call(e,n)&&!(n in t))return!1;for(var n in t)if(ei.call(t,n)&&e[n]!==t[n])return!1;return!0}function ed(e,t){var n=[];for(var r in e)!ei.call(e,r)||r in t||n.push(r);
2for(var r in t)ei.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function ep(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t){var i,o,a;if(!(r in e&&(i=e[r],o=t[r],a=n[r],i===o||!0===a||a&&a(i,o))))return!1}for(var r in e)if(!(r in t))return!1;return!0}function ef(e,t,n){var r=n.dateEnv,i=n.pluginHooks,o=n.options,a=e.defs,s=e.instances;for(var l in s=ea(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=function(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(X)),o}(u,c,t,r,i.recurringTypes),p=0;p<d.length;p++){var f=d[p],h=er(l,{start:f,end:r.add(f,c)});s[h.instanceId]=h}}}return{defs:a,instances:s}}var eh=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function ev(e,t){var n;return"string"==typeof e?function(e){var t=eh.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*((t[3]?parseInt(t[3],10):0)*36e5+(t[4]?parseInt(t[4],10):0)*6e4+(t[5]?parseInt(t[5],10):0)*1e3+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?eg(e):"number"==typeof e?eg(((n={})[t||"milliseconds"]=e,n)):null}function eg(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)*6e4+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 em(e){return ey(e)/864e5}function ey(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function eE(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 eD(e){return e.toISOString().replace(/T.*$/,"")}function eb(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+V(i,2)+":"+V(o,2):"GMT"+n+i+(o?":"+V(o,2):"")}function eS(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 eC(e,t,n){var r,i;return function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(r){if(!eS(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 ew(e,t,n){var r,i,o=this;return function(a){if(r){if(!ec(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}}var eT={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},eR={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},ek=/\s*([ap])\.?m\.?/i,eM=/,/g,ex=/\s+/g,eI=/\u200e/g,eP=/UTC|GMT/,eO=function(){function e(e){var t={},n={},r=0;for(var i in e)i in eT?(n[i]=e[i],r=Math.max(eT[i],r)):(t[i]=e[i],i in eR&&(r=Math.max(eR[i],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=eC(eN)}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,o,a,s=this.standardDateProps,l=this.extendedSettings,u=(i=e.marker,o=t.marker,(a=n.calendarSystem).getMarkerYear(i)!==a.getMarkerYear(o)?5:a.getMarkerMonth(i)!==a.getMarkerMonth(o)?4:a.getMarkerDay(i)!==a.getMarkerDay(o)?2:+(en(i)!==en(o)));if(!u)return this.format(e,n);var c=u;c>1&&("numeric"===s.year||"2-digit"===s.year)&&("numeric"===s.month||"2-digit"===s.month)&&("numeric"===s.day||"2-digit"===s.day)&&(c=1);var d=this.format(e,n),p=this.format(t,n);if(d===p)return d;var f=eN(function(e,t){var n={};for(var r in e)r in eR&&!(eR[r]<=t)||(n[r]=e[r]);return n}(s,c),l,n),h=f(e),v=f(t),g=function(e,t,n,r){for(var i=0;i<e.length;){var o=e.indexOf(t,i);if(-1===o)break;var a=e.substr(0,o);i=o+t.length;for(var s=e.substr(i),l=0;l<n.length;){var u=n.indexOf(r,l);if(-1===u)break;var 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}(d,h,p,v),m=l.separator||r||n.defaultSeparator||"";return g?g.before+h+m+v+g.after:d+m+p},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case
26:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function eN(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return eb(e.timeZoneOffset)}:0===r&&t.week?function(e){var r,i,o,a,s,l;return r=n.computeWeekNumber(e.marker),i=n.weekText,o=n.weekTextLong,a=n.locale,s=t.week,l=[],"long"===s?l.push(o):("short"===s||"narrow"===s)&&l.push(i),("long"===s||"short"===s)&&l.push(" "),l.push(a.simpleNumberFormat.format(r)),"rtl"===a.options.direction&&l.reverse(),l.join("")}:function(e,t,n){e=s({},e),t=s({},t),r=e,i=t,r.timeZoneName&&(r.hour||(r.hour="2-digit"),r.minute||(r.minute="2-digit")),"long"===r.timeZoneName&&(r.timeZoneName="short"),i.omitZeroMinute&&(r.second||r.millisecond)&&delete i.omitZeroMinute,e.timeZone="UTC";var r,i,o,a=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var l=s({},e);delete l.minute,o=new Intl.DateTimeFormat(n.locale.codes,l)}return function(r){var i,s,l,u,c,d,p,f,h=r.marker;return i=(o&&!h.getUTCMinutes()?o:a).format(h),s=r,l=e,u=t,c=n,i=i.replace(eI,""),"short"===l.timeZoneName&&(d=i,p="UTC"===c.timeZone||null==s.timeZoneOffset?"UTC":eb(s.timeZoneOffset),f=!1,d=d.replace(eP,function(){return f=!0,p}),f||(d+=" "+p),i=d),u.omitCommas&&(i=i.replace(eM,"").trim()),u.omitZeroMinute&&(i=i.replace(":00","")),!1===u.meridiem?i=i.replace(ek,"").trim():"narrow"===u.meridiem?i=i.replace(ek,function(e,t){return t.toLocaleLowerCase()}):"short"===u.meridiem?i=i.replace(ek,function(e,t){return t.toLocaleLowerCase()+"m"}):"lowercase"===u.meridiem&&(i=i.replace(ek,function(e){return e.toLocaleLowerCase()})),i=(i=i.replace(ex," ")).trim()}}(e,t,n)}function eH(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 eA(e,t,n,r){var i=eH(e,n.calendarSystem);return{date:i,start:i,end:t?eH(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var e_=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,eA(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,eA(e,t,n,r))},e}(),eU=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(eA(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(eA(e,t,n,r))},e}();
2function eL(e){return"object"==typeof e&&e?new eO(e):"string"==typeof e?new e_(e):"function"==typeof e?new eU(e):null}var eV={navLinkDayClick:eG,navLinkWeekClick:eG,duration:ev,bootstrapFontAwesome:eG,buttonIcons:eG,customButtons:eG,defaultAllDayEventDuration:ev,defaultTimedEventDuration:ev,nextDayThreshold:ev,scrollTime:ev,scrollTimeReset:Boolean,slotMinTime:ev,slotMaxTime:ev,dayPopoverFormat:eL,slotDuration:ev,snapDuration:ev,headerToolbar:eG,footerToolbar:eG,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:eL,dayHeaderClassNames:eG,dayHeaderContent:eG,dayHeaderDidMount:eG,dayHeaderWillUnmount:eG,dayCellClassNames:eG,dayCellContent:eG,dayCellDidMount:eG,dayCellWillUnmount:eG,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:eG,weekNumbers:Boolean,weekNumberClassNames:eG,weekNumberContent:eG,weekNumberDidMount:eG,weekNumberWillUnmount:eG,editable:Boolean,viewClassNames:eG,viewDidMount:eG,viewWillUnmount:eG,nowIndicator:Boolean,nowIndicatorClassNames:eG,nowIndicatorContent:eG,nowIndicatorDidMount:eG,nowIndicatorWillUnmount:eG,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:eG,locale:eG,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:eG,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:eG,contentHeight:eG,direction:String,weekNumberFormat:eL,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:eG,initialDate:eG,now:eG,eventDataTransform:eG,stickyHeaderDates:eG,stickyFooterScrollbar:eG,viewHeight:eG,defaultAllDay:Boolean,eventSourceFailure:eG,eventSourceSuccess:eG,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:eG,eventConstraint:eG,eventAllow:eG,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:eG,eventContent:eG,eventDidMount:eG,eventWillUnmount:eG,selectConstraint:eG,selectOverlap:eG,selectAllow:eG,droppable:Boolean,unselectCancel:String,slotLabelFormat:eG,slotLaneClassNames:eG,slotLaneContent:eG,slotLaneDidMount:eG,slotLaneWillUnmount:eG,slotLabelClassNames:eG,slotLabelContent:eG,slotLabelDidMount:eG,slotLabelWillUnmount:eG,dayMaxEvents:eG,dayMaxEventRows:eG,dayMinWidth:Number,slotLabelInterval:ev,allDayText:String,allDayClassNames:eG,allDayContent:eG,allDayDidMount:eG,allDayWillUnmount:eG,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:eL,rerenderDelay:Number,moreLinkText:eG,moreLinkHint:eG,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:eG,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:ev,hiddenDays:eG,monthMode:Boolean,fixedWeekCount:Boolean,validRange:eG,visibleRange:eG,titleFormat:eG,eventInteractive:Boolean,noEventsText:String,viewHint:eG,navLinkHint:eG,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:eG,moreLinkClassNames:eG,moreLinkContent:eG,moreLinkDidMount:eG,moreLinkWillUnmount:eG},eF={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" â ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},eW={datesSet:eG,eventsSet:eG,eventAdd:eG,eventChange:eG,eventRemove:eG,windowResize:eG,eventClick:eG,eventMouseEnter:eG,eventMouseLeave:eG,select:eG,unselect:eG,loading:eG,_unmount:eG,_beforeprint:eG,_afterprint:eG,_noEventDrop:eG,_noEventResize:eG,_resize:eG,_scrollRequest:eG},ez={buttonText:eG,buttonHints:eG,views:eG,plugins:eG,initialEvents:eG,events:eG,eventSources:eG},ej={headerToolbar:eB,footerToolbar:eB,buttonText:eB,buttonHints:eB,buttonIcons:eB,dateIncrement:eB};function eB(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?ec(e,t):e===t}var eY={type:String,component:eG,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:eG,usesMinMaxTime:Boolean,classNames:eG,content:eG,didMount:eG,willUnmount:eG};function eq(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 eG(e){return e}function eZ(e,t,n,r){for(var i=e$(),o=tt(n),a=0;a<e.length;a++){var s=e9(e[a],t,n,r,o);s&&eX(s,i)}return i}function eX(e,t){return void 0===t&&(t=e$()),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function eK(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],i=eJ(e,function(e){var t,n;return t=r,n=e,!!(t.groupId&&t.groupId===n.groupId)});return i.defs[r.defId]=r,i.instances[n.instanceId]=n,i}return e$()}function e$(){return{defs:{},instances:{}}}function eQ(e,t){return{defs:s(s({},e.defs),t.defs),instances:s(s({},e.instances),t.instances)}}function eJ(e,t){var n=ea(e.defs,t),r=ea(e.instances,function(e){return n[e.defId]});return{defs:n,instances:r}}function e0(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}
2var e1={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:eG,overlap:eG,allow:eG,className:e0,classNames:e0,color:String,backgroundColor:String,borderColor:String,textColor:String},e4={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function e3(e,t){var n,r=(n=e.constraint,Array.isArray(n)?eZ(n,null,t,!0):"object"==typeof n&&n?eZ([n],null,t,!0):null!=n?String(n):null);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=r?[r]:[],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 e2(e){return e.reduce(e6,e4)}function e6(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 e5={id:String,groupId:String,title:String,url:String,interactive:Boolean},e7={start:eG,end:eG,date:eG,allDay:Boolean},e8=s(s(s({},e5),e7),{extendedProps:eG});function e9(e,t,n,r,i){void 0===i&&(i=tt(n));var o,a,s,l=te(e,n,i),u=l.refined,c=l.extra,d=(o=t,a=n,s=null,o&&(s=o.defaultAllDay),null==s&&(s=a.options.defaultAllDay),s),p=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}(u,d,n.dateEnv,n.pluginHooks.recurringTypes);if(p){var f=tn(u,c,t?t.sourceId:"",p.allDay,!!p.duration,n);return f.recurringDef={typeId:p.typeId,typeData:p.typeData,duration:p.duration},{def:f,instance:null}}var h=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))s=i.marker;else if(!r)return null;return null!=e.end&&(o=n.dateEnv.createMarkerMeta(e.end)),null==a&&(a=null!=t?t:(!i||i.isTimeUnspecified)&&(!o||o.isTimeUnspecified)),a&&s&&(s=X(s)),o&&(u=o.marker,a&&(u=X(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)),{allDay:a,hasEnd:l,range:{start:s,end:u},forcedStartTzo:i?i.forcedTzo:null,forcedEndTzo:o?o.forcedTzo:null}}(u,d,n,r);if(h){var f=tn(u,c,t?t.sourceId:"",h.allDay,h.hasEnd,n),v=er(f.defId,h.range,h.forcedStartTzo,h.forcedEndTzo);return{def:f,instance:v}}return null}function te(e,t,n){return void 0===n&&(n=tt(t)),eq(e,n)}function tt(e){return s(s(s({},e1),e8),e.pluginHooks.eventRefiners)}function tn(e,t,n,r,i,o){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:O(),sourceId:n,allDay:r,hasEnd:i,interactive:e.interactive,ui:e3(e,o),extendedProps:s(s({},e.extendedProps||{}),t)},l=0,u=o.pluginHooks.eventDefMemberAdders;l<u.length;l++){var c=u[l];s(a,c(e))}return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function tr(e){var t=Math.floor(G(e.start,e.end))||1,n=X(e.start),r=B(n,t);return{start:n,end:r}}function ti(e,t){void 0===t&&(t=ev(0));var n=null,r=null;if(e.end){r=X(e.end);var i=e.end.valueOf()-r.valueOf();i&&i>=ey(t)&&(r=B(r,1))}return e.start&&(n=X(e.start),r&&r<=n&&(r=B(n,1))),{start:n,end:r}}function to(e){var t=ti(e);return G(t.start,t.end)>1}function ta(e,t,n,r){var i,o;return"year"===r?ev(n.diffWholeYears(e,t),"year"):"month"===r?ev(n.diffWholeMonths(e,t),"month"):{years:0,months:0,days:Math.round(G(i=X(e),o=X(t))),milliseconds:t.valueOf()-o.valueOf()-(e.valueOf()-i.valueOf())}}function ts(e,t){var n,r,i=[],o=t.start;for(e.sort(tl),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 tl(e,t){return e.start.valueOf()-t.start.valueOf()}function tu(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 tc(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function td(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function tp(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function tf(e,t,n,r){var i={},o={},a={},s=[],l=[],u=tv(e.defs,t);for(var c in e.defs){var d=e.defs[c],p=u[d.defId];"inverse-background"===p.display&&(d.groupId?(i[d.groupId]=[],a[d.groupId]||(a[d.groupId]=d)):o[c]=[])}for(var f in e.instances){var h=e.instances[f],d=e.defs[h.defId],p=u[d.defId],v=h.range,g=!d.allDay&&r?ti(v,r):v,m=tu(g,n);m&&("inverse-background"===p.display?d.groupId?i[d.groupId].push(m):o[h.defId].push(m):"none"!==p.display&&("background"===p.display?s:l).push({def:d,ui:p,instance:h,range:m,isStart:g.start&&g.start.valueOf()===m.start.valueOf(),isEnd:g.end&&g.end.valueOf()===m.end.valueOf()}))}for(var y in i)for(var E=i[y],D=ts(E,n),b=0,S=D;b<S.length;b++){var C=S[b],d=a[y],p=u[d.defId];s.push({def:d,ui:p,instance:null,range:C,isStart:!1,isEnd:!1})}for(var c in o)for(var E=o[c],D=ts(E,n),w=0,T=D;w<T.length;w++){var C=T[w];s.push({def:e.defs[c],ui:u[c],instance:null,range:C,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function th(e){return e.fcSeg||e.parentNode.fcSeg||null}function tv(e,t){return es(e,function(e){return tg(e,t)})}function tg(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),e2(n)}function tm(e,t){var n=e.map(ty);return n.sort(function(e,n){var r,i;for(r=0;r<t.length;r+=1)if(i=function(e,t,n){var r,i;return n.func?n.func(e,t):(r=e[n.field],i=t[n.field],(r||i?null==i?-1:null==r?1:"string"==typeof r||"string"==typeof i?String(r).localeCompare(String(i)):r-i:0)*(n.order||1))}(e,n,t[r]))return i;return 0}),n.map(function(e){return e._seg})}function ty(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,i=r.start?r.start.valueOf():0,o=r.end?r.end.valueOf():0;return s(s(s({},n.extendedProps),n),{id:n.publicId,start:i,end:o,duration:o-i,allDay:Number(n.allDay),_seg:e})}function tE(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=X(f).valueOf()===X(v).valueOf(),y=X(Y(h,-1)).valueOf()===X(Y(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 tD(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&tp(t,r.start)}}function tb(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}function tS(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=!!a.hasHandlers("eventClick")),s)?I(function(e){a.trigger("eventClick",{el:e.target,event:new tU(t,r,i),jsEvent:e,view:t.viewApi})}):{}}var tC={start:eG,end:eG,allDay:Boolean};function tw(e,t){var n,r;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)}function tT(e,t,n){return s(s({},tR(e,t,n)),{timeZone:t.timeZone})}function tR(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})}}
2function tk(e,t,n){n.emitter.trigger("select",s(s({},tM(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function tM(e,t){for(var n,r={},i=0,o=t.pluginHooks.dateSpanTransforms;i<o.length;i++){var a=o[i];s(r,a(e,t))}return s(r,(n=t.dateEnv,s(s({},tR(e.range,n,e.allDay)),{allDay:e.allDay}))),r}function tx(e,t,n){var r=n.dateEnv,i=n.options,o=t;return e?(o=X(o),o=r.add(o,i.defaultAllDayEventDuration)):o=r.add(o,i.defaultTimedEventDuration),o}function tI(e,t,n,r){var i=tv(e.defs,t),o=e$();for(var a in e.defs){var l=e.defs[a];o.defs[a]=function(e,t,n,r){var i=n.standardProps||{};null==i.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(i.hasEnd=!0);var o=s(s(s({},e),i),{ui:s(s({},e.ui),i.ui)});n.extendedProps&&(o.extendedProps=s(s({},o.extendedProps),n.extendedProps));for(var a=0,l=r.pluginHooks.eventDefMutationAppliers;a<l.length;a++)(0,l[a])(o,n,r);return!o.hasEnd&&r.options.forceEventDuration&&(o.hasEnd=!0),o}(l,i[a],n,r)}for(var u in e.instances){var c=e.instances[u],l=o.defs[c.defId];o.instances[u]=function(e,t,n,r,i){var o=i.dateEnv,a=r.standardProps&&!0===r.standardProps.allDay,l=r.standardProps&&!1===r.standardProps.hasEnd,u=s({},e);return a&&(u.range=tr(u.range)),r.datesDelta&&n.startEditable&&(u.range={start:o.add(u.range.start,r.datesDelta),end:o.add(u.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(u.range={start:o.add(u.range.start,r.startDelta),end:u.range.end}),r.endDelta&&n.durationEditable&&(u.range={start:u.range.start,end:o.add(u.range.end,r.endDelta)}),l&&(u.range={start:u.range.start,end:tx(t.allDay,u.range.start,i)}),t.allDay&&(u.range={start:X(u.range.start),end:X(u.range.end)}),u.range.end<u.range.start&&(u.range.end=tx(t.allDay,u.range.start,i)),u}(c,l,i[c.defId],n,r)}return o}var tP=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}(),tO={id:String,defaultAllDay:Boolean,url:String,format:String,events:eG,eventDataTransform:eG,success:eG,failure:eG};function tN(e,t,n){if(void 0===n&&(n=tH(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var r,i=eq(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:O(),sourceDefId:s.sourceDefId,meta:s.meta,ui:e3(o,t),extendedProps:a}}return null}function tH(e){return s(s(s({},e1),tO),e.pluginHooks.eventSourceRefiners)}function tA(e,t){return("function"==typeof e&&(e=e()),null==e)?t.createNowMarker():t.createMarker(e)}var t_=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}
2,enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,l([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:tA(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=ev(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),eL(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),eL(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=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t},r=this.getCurrentData(),i=function(e,t,n){var r,i,o,a,l,u,c,d,p=(r=e,i=t,a=(o=eq(r,tC)).refined,l=o.extra,u=a.start?i.createMarkerMeta(a.start):null,c=a.end?i.createMarkerMeta(a.end):null,null==(d=a.allDay)&&(d=u&&u.isTimeUnspecified&&(!c||c.isTimeUnspecified)),s({range:{start:u?u.marker:null,end:c?c.marker:null},allDay:d},l)),f=p.range;if(!f.start)return null;if(!f.end){if(null==n)return null;f.end=t.add(f.start,n)}return p}(n,r.dateEnv,ev({days:1}));i&&(this.dispatch({type:"SELECT_DATES",selection:i}),tk(i,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view}))},e.prototype.addEvent=function(e,t){if(e instanceof tU){var n,r=e._def,i=e._instance;return this.getCurrentData().eventStore.defs[r.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:eX({def:r,instance:i})}),this.triggerEventAdd(e)),e}var o=this.getCurrentData();if(t instanceof v)n=t.internalEventSource;else if("boolean"==typeof t)t&&(n=eu(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;n=a.internalEventSource}var s=e9(e,n,o,!1);if(s){var l=new tU(o,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:eX(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:tL(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 tU(t,a,null);for(var s in i){var l=i[s];if(l.defId===a.defId)return new tU(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return tV(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 v(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 v(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof v)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=tN(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new v(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=ev(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),tU=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 e7)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=e5[e](t),this.mutate({standardProps:{publicId:t}});else if(e in e5)t=e5[e](t),this.mutate({standardProps:((n={})[e]=t,n)});else if(e in e1){var i=e1[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={})[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=ta(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=ta(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=this._context.dateEnv,o={allDay:n.allDay},a=i.createMarker(e);if(a){if(null!=t&&!(r=i.createMarker(t)))return;if(this._instance){var s=this._instance.range;!0===n.allDay&&(s=tr(s));var l=ta(s.start,a,i,n.granularity);if(r){var u=ta(s.end,r,i,n.granularity);l.years===u.years&&l.months===u.months&&l.days===u.days&&l.milliseconds===u.milliseconds?this.mutate({datesDelta:l,standardProps:o}):this.mutate({startDelta:l,endDelta:u,standardProps:o})}else o.hasEnd=!1,this.mutate({datesDelta:l,standardProps:o})}}},e.prototype.moveStart=function(e){var t=ev(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=ev(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=ev(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=eL(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=eK(o,n.instanceId);a=tI(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:tV(a,i,n),revert:function(){i.dispatch({type:"RESET_EVENTS",eventStore:o})}})}},e.prototype.remove=function(){var e=this._context,t=tL(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 v(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,i=this.endStr,o={};return t.title&&(o.title=t.title),r&&(o.start=r),i&&(o.end=i),t.publicId&&(o.id=t.publicId),t.groupId&&(o.groupId=t.groupId),t.url&&(o.url=t.url),n.display&&"auto"!==n.display&&(o.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?o.color=n.backgroundColor:(n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.borderColor&&(o.borderColor=n.borderColor)),n.textColor&&(o.textColor=n.textColor),n.classNames.length&&(o.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?s(o,t.extendedProps):o.extendedProps=t.extendedProps),o},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function tL(e){var t,n,r=e._def,i=e._instance;return{defs:((t={})[r.defId]=r,t),instances:i?((n={})[i.instanceId]=i,n):{}}}function tV(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 tU(t,u,l))}return o}var tF={};tF.gregory=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return ee(e)},e.prototype.markerToArray=function(e){return J(e)},e}();var tW=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/,tz=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=!!(!n||this.namedTimeZoneImpl),this.calendarSystem=new tF[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()):ee($(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?isNaN(e=e.valueOf())||(t=this.timestampToMarker(e)):Array.isArray(e)&&(t=ee(e)),null!==t&&et(t))?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=function(e){var t=tW.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(et(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 en(e)===en(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 en(e)===en(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+(n.getMarkerYear(t)-n.getMarkerYear(e))*12:null},e.prototype.greatestWholeUnit=function(e,t){var n,r=this.diffWholeYears(e,t);return null!==r?{unit:"year",value:r}:null!==(r=this.diffWholeMonths(e,t))?{unit:"month",value:r}:null!==(r=null!==(n=Z(e,t))&&n%7==0?n/7:null)?{unit:"week",value:r}:null!==(r=Z(e,t))?{unit:"day",value:r}:(r=(t.valueOf()-e.valueOf())/36e5)%1==0?{unit:"hour",value:r}:(r=(t.valueOf()-e.valueOf())/6e4)%1==0?{unit:"minute",value:r}:(r=(t.valueOf()-e.valueOf())/1e3)%1==0?{unit:"second",value:r}:{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/(em(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/(em(n)/30):n.days&&null!==(r=Z(e,t))?r/em(n):(t.valueOf()-e.valueOf())/ey(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?X(e):"hour"===t?ee([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()]):"minute"===t?ee([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()]):"second"===t?ee([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()]):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=Y(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,r,i,o=null;return t.omitTimeZoneOffset||(o=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),n=o,void 0===(r=t.om
2itTime)&&(r=!1),i=(i=e.toISOString()).replace(".000",""),r&&(i=i.replace("T00:00:00Z","")),i.length>10&&(null==n?i=i.replace("Z",""):0!==n&&(i=i.replace("Z",eb(n,!0)))),i},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?ee($(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?ee(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-Q(J(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(J(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?Q(J(e)):new Date("UTC"===this.timeZone?e.valueOf():this.namedTimeZoneImpl?e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(J(e))*60:e.valueOf()-(t||0))},e}(),tj=[],tB={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"},tY=s(s({},tB),{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 tq(e){for(var t=e.length>0?e[0].code:"en",n=tj.concat(e),r={en:tY},i=0;i<n.length;i++){var o=n[i];r[o.code]=o}return{map:r,defaultCode:t}}function tG(e,t){var n,r,i,o;return"object"!=typeof e||Array.isArray(e)?(n=e,r=t,o=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}(i=[].concat(n||[]),r)||tY,tZ(n,i,o)):tZ(e.code,[e.code],e)}function tZ(e,t,n){var r=eo([tB,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 tX={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function tK(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function t$(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function tQ(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 tJ(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function t0(e,t){return{left:e.left-t.left,top:e.top-t.top}}function t1(){return null==r&&(r=function(){if("u"<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}()),r}var t4=e$();function t3(){this.getKeysForEventDefs=eC(this._getKeysForEventDefs),this.splitDateSelection=eC(this._splitDateSpan),this.splitEventStore=eC(this._splitEventStore),this.splitIndividualUi=eC(this._splitIndividualUi),this.splitEventDrag=eC(this._splitInteraction),this.splitEventResize=eC(this._splitInteraction),this.eventUiBuilders={}}function t2(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var i={"":e2(r)};return n&&s(i,n),i}function t6(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:!!(r&&!tp(r.activeRange,e)),isOther:!!(r&&!tp(r.currentRange,e)),isToday:!!(t&&tp(t,e)),isPast:!!(n?e<n:!!t&&e<t.start),isFuture:!!(n?e>n:!!t&&e>=t.end)}}function t5(e,t){var n=["fc-day","fc-day-"+z[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}t3.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeys
2ForEventDefs(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=es(n,function(e,n){return t.eventUiBuilders[n]||eC(t2)}),n){var d=n[c],p=a[c]||t4,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},t3.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=this.getKeysForDateSpan(e),r=0;r<n.length;r++)t[n[r]]=e;return t},t3.prototype._getKeysForEventDefs=function(e){var t=this;return es(e.defs,function(e){return t.getKeysForEventDef(e)})},t3.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++){var l=s[a];i[l]||(i[l]=e$()),i[l].defs[o]=n[o]}for(var u in r)for(var c=r[u],d=0,p=t[c.defId];d<p.length;d++){var l=p[d];i[l]&&(i[l].instances[u]=c)}return i},t3.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},t3.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]||t4,mutatedEvents:i[r]||t4,isEvent:e.isEvent})};for(var a in n)o(a);for(var a in i)o(a)}return t};var t7=eL({year:"numeric",month:"long",day:"numeric"}),t8=eL({week:"long"});function t9(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var i=e.dateEnv,o=e.options,a=e.calendarApi,l=i.format(t,"week"===n?t8:t7);if(o.navLinks){var u=i.toDate(t),c=function(e){var r="day"===n?o.navLinkDayClick:"week"===n?o.navLinkWeekClick:null;"function"==typeof r?r.call(a,i.toDate(t),e):("string"==typeof r&&(n=r),a.zoomTo(t,n))};return s({title:F(o.navLinkHint,[l,u],l),"data-navlink":""},r?x(c):{onClick:c})}return{"aria-label":l}}var ne=null;function nt(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function nn(e,t,n){void 0===t&&(t=!1);var r,i,o,a,s,l,u,c,d,p,f,h,v=n?e.getBoundingClientRect():nr(e),m=(void 0===(o=t)&&(o=!1),s=parseInt((a=window.getComputedStyle(e)).borderLeftWidth,10)||0,l=parseInt(a.borderRightWidth,10)||0,u=parseInt(a.borderTopWidth,10)||0,c=parseInt(a.borderBottomWidth,10)||0,p=(d=nt(e)).y-s-l,f=d.x-u-c,h={borderLeft:s,borderRight:l,borderTop:u,borderBottom:c,scrollbarBottom:f,scrollbarLeft:0,scrollbarRight:0},(null===ne&&(D(r=document.createElement("div"),{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),r.innerHTML="<div></div>",document.body.appendChild(r),i=r.firstChild.getBoundingClientRect().left>r.getBoundingClientRect().left,g(r),ne=i),ne&&"rtl"===a.direction)?h.scrollbarLeft=p:h.scrollbarRight=p,o&&(h.paddingLeft=parseInt(a.paddingLeft,10)||0,h.paddingRight=parseInt(a.paddingRight,10)||0,h.paddingTop=parseInt(a.paddingTop,10)||0,h.paddingBottom=parseInt(a.paddingBottom,10)||0),h),y={left:v.left+m.borderLeft+m.scrollbarLeft,right:v.right-m.borderRight-m.scrollbarRight,top:v.top+m.borderTop,bottom:v.bottom-m.borderBottom-m.scrollbarBottom};return t&&(y.left+=m.paddingLeft,y.right-=m.paddingRight,y.top+=m.paddingTop,y.bottom-=m.paddingBottom),y}function nr(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 ni(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}var no=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){var n,r,i;n=this.handlers,r=e,i=t,(n[r]||(n[r]=[])).push(i)},e.prototype.off=function(e,t){var n,r,i;n=this.handlers,r=e,(i=t)?n[r]&&(n[r]=n[r].filter(function(e){return e!==i})):delete n[r]},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=[].concat(this.options&&this.options[e]||[],r),o=0;o<i.length;o++)i[o].apply(this.thisContext,t)},e.prototype.hasHandlers=function(e){return!!(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}(),na=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}(),ns=function(){function e(){}
2return 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}(),nl=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return a(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}(ns),nu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(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}(ns),nc=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=s({},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}();nc.prototype.classes={},nc.prototype.iconClasses={},nc.prototype.baseIconClass="",nc.prototype.iconOverridePrefix="";var nd=function(){function e(e,t,n,r){var i=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){i.queuedRequest=s({},i.queuedRequest||{},e),i.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}(),np=f({});function nf(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 nd(e,u,ev(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:p}}var nh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(ed(e,this.props),ed(t,this.state)),!ep(this.props,e,this.propEquality)||!ep(this.state,t,this.stateEquality)},t.prototype.safeSetState=function(e){ep(this.state,s(s({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=ng,t.addStateEquality=nm,t.contextType=np,t}(u);nh.prototype.propEquality={},nh.prototype.stateEquality={};var nv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.contextType=np,t}(nh);function ng(e){var t=Object.create(this.prototype.propEquality);s(t,e),this.prototype.propEquality=t}function nm(e){var t=Object.create(this.prototype.stateEquality);s(t,e),this.prototype.stateEquality=t}function ny(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var nE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=O(),t}return a(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&&!m(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!m(e,".fc-event:not(.fc-bg-event)")&&!m(e,".fc-more-link")&&!m(e,"a[data-navlink]")&&!m(e,".fc-popover")},t}(nv);function nD(e){return{id:O(),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||{}}}var nb=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(nc);function nS(e,t,n,r){if(t[e])return t[e];var i=function(e,t,n,r){var i=n[e],o=r[e],a=function(e){return i&&null!==i[e]?i[e]:o&&null!==o[e]?o[e]:null},l=a("component"),u=a("superType"),c=null;if(u){if(u===e)throw Error("Can't have a custom view type that references itself");c=nS(u,t,n,r)}return(!l&&c&&(l=c.component),l)?{type:e,component:l,defaults:s(s({},c?c.defaults:{}),i?i.rawOptions:{}),overrides:s(s({},c?c.overrides:{}),o?o.rawOptions:{})}:null}(e,t,n,r);return i&&(t[e]=i),i}nb.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},nb.prototype.baseIconClass="fc-icon",nb.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"},nb.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},nb.prototype.iconOverrideOption="buttonIcons",nb.prototype.iconOverrideCustomButtonOption="icon",nb.prototype.iconOverridePrefix="fc-icon-";var nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=d(),t.handleRootEl=function(e){ny(t.rootElRef,e),t.props.elRef&&ny(t.props.elRef,e)},t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return c(nk,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},function(r){return c(nT,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},function(e,i){return t.children(r,nx(t.classNames,n),e,i)})})},t}(nv),nw=f(0);function nT(e){return c(nw.Consumer,null,function(t){return c(nR,s({renderId:t},e))})}var nR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=d(),t}return a(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=s({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=nI(e.content,e.hookProps);return void 0===t&&(t=nI(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}(nv),nk=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&ny(t.props.elRef,e)},t}return a(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(s(s({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(s(s({},this.props.hookProps),{el:this.rootEl}))},t}(nv);function nM(){var e,t,n=[];return function(r,i){return t&&ec(t,i)&&r===e||(e=r,t=i,n=nx(r,i)),n}}function nx(e,t){return"function"==typeof e&&(e=e(t)),e0(e)}function nI(e,t){return"function"==typeof e?e(t,c):e}var nP=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=nM(),t}return a(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 c(nk,{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}(nv);function nO(e){var t,n="function"==typeof e?{component:e}:e,r=n.component;return n.content&&(t=n,r=function(e){return c(np.Consumer,null,function(n){return c(nP,{viewSpec:n.viewSpec},function(r,i){return c(nC,{hookProps:s(s({},e),{nextDayThreshold:n.options.nextDayThreshold}),classNames:t.classNames,content:t.content,didMount:t.didMount,willUnmount:t.willUnmount,elRef:r},function(e,t,n,r){return c("div",{className:i.concat(t).join(" "),ref:e},r)})})})}),{superType:n.type,component:r,rawOptions:n}}function nN(e,t,n,r){var i=es(e,nO),o=es(t.views,nO);return es(function(e,t){var n,r={};for(n in e)nS(n,r,e,t);for(n in t)nS(n,r,e,t);return r}(i,o),function(e){return function(e,t,n,r,i){var o,a,l,u=e.overrides.duration||e.defaults.duration||r.duration||n.duration,c=null,d="",p="",f={};if(u&&(void 0===(l=nH[a=JSON.stringify(o=u)])&&(l=ev(o),nH[a]=l),c=l)){var h=eE(c);
2d=h.unit,1===h.value&&(p=d,f=t[d]?t[d].rawOptions:{})}var v=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[p]?n[p]:null},g=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[p]?n[p]:null};return{type:e.type,component:e.component,duration:c,durationUnit:d,singleUnit:p,optionDefaults:e.defaults,optionOverrides:s(s({},f),e.overrides),buttonTextOverride:v(r)||v(n)||e.overrides.buttonText,buttonTextDefault:v(i)||e.defaults.buttonText||v(eF)||e.type,buttonTitleOverride:g(r)||g(n)||e.overrides.buttonHint,buttonTitleDefault:g(i)||e.defaults.buttonHint||g(eF)}}(e,o,t,n,r)})}var nH={},nA=function(){function e(e){this.props=e,this.nowDate=tA(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 o=this.buildValidRange(),o=this.trimHiddenDays(o),n&&(r=e,e=null!=(i=o).start&&r<i.start?i.start:null!=i.end&&r>=i.end?new Date(i.end.valueOf()-1):r),a=this.buildCurrentRangeInfo(e,t),s=/^(year|month|week|day)$/.test(a.unit),l=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,s),u=l=this.trimHiddenDays(l),d.showNonCurrentDates||(u=tu(u,a.range)),u=tu(u=this.adjustActiveRange(u),o),c=tc(a.range,o),{validRange:o,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:s,activeRange:u,renderRange:l,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:c,dateIncrement:this.buildDateIncrement(a.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=eE(i=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,i,o)),{duration:i,unit:o,range:a}},e.prototype.getFallbackDuration=function(){return ev({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&&(0>em(i)&&(a=X(a),a=n.add(a,i)),em(o)>1&&(s=B(s=X(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&&ey(c)<ey(n)?eE(c).unit:r}function d(){i=l.startOf(e,u),o=l.add(i,n),a={start:i,end:o}}return 1>=em(n)&&this.isHiddenDay(i)&&(i=X(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=X(l),r=l=this.skipHiddenDays(l,t);do r=B(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)?null:i},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)?ev(1,t):e||ev({days:1}))},e.prototype.refineRange=function(e){if(e){var t,n,r,i=(t=this.props.dateEnv,n=null,r=null,(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});return i&&(i=ti(i)),i}return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw Error("invalid hiddenDays");
2this.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=B(e,t);return e},e}();function n_(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function nU(e,t,n,r){for(var i={},o=0;o<t.length;o++){var a=t[o];i[a.sourceId]=a}return n&&(i=nL(i,n,r)),s(s({},e),i)}function nL(e,t,n){return nV(e,ea(e,function(e){var r,i,o;return r=e,i=t,nW(r,o=n)?!o.options.lazyFetching||!r.fetchRange||r.isFetching||i.start<r.fetchRange.start||i.end>r.fetchRange.end:!r.latestFetchId}),t,!1,n)}function nV(e,t,n,r,i){var o={};for(var a in e){var l=e[a];t[a]?o[a]=function(e,t,n,r){var i=r.options,o=r.calendarApi,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],l=O();return a.fetch({eventSource:e,range:t,isRefetch:n,context:r},function(n){var a=n.rawEvents;i.eventSourceSuccess&&(a=i.eventSourceSuccess.call(o,a,n.xhr)||a),e.success&&(a=e.success.call(o,a,n.xhr)||a),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:a})},function(n){console.warn(n.message,n),i.eventSourceFailure&&i.eventSourceFailure.call(o,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})}),s(s({},e),{isFetching:!0,latestFetchId:l})}(l,n,r,i):o[a]=l}return o}function nF(e,t){return ea(e,function(e){return nW(e,t)})}function nW(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function nz(e,t){var n;if(t){n=[];for(var r=0;r<e.length;r++){var i=e[r],o=t(i);o?n.push(o):null==o&&n.push(i)}}else n=e;return n}function nj(e,t){return eJ(e,function(e){return e.sourceId!==t})}function nB(e,t,n,r,i){return{header:e.headerToolbar?nY(e.headerToolbar,e,t,n,r,i):null,footer:e.footerToolbar?nY(e.footerToolbar,e,t,n,r,i):null}}function nY(e,t,n,r,i,o){var a={},s=[],l=!1;for(var u in e){var c=function(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};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 n,p,v,g,m,y,E=p.buttonTextOverride||p.buttonTextDefault;y=F(p.buttonTitleOverride||p.buttonTitleDefault||t.viewHint,[E,e],E)}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 D="prevYear"===e?"prev":"next";y=F(c[D]||d[D],[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}}(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 nq(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}function nG(e,t){for(var n=eu(t.getCurrentData().eventSources),r=[],i=0;i<e.length;i++){for(var o=e[i],a=!1,s=0;s<n.length;s+=1)if(n[s]._raw===o){n.splice(s,1),a=!0;break}a||r.push(o)}for(var l=0;l<n.length;l++){var u=n[l];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:u.sourceId})}for(var c=0;c<r.length;c++){var d=r[c];t.calendarApi.addEventSource(d)}}var nZ=[nD({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),nD({eventSourceDefs:[{parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r,i,o,a,s,l,u=e.context.dateEnv;r=e.eventSource.meta.bind(null,tT(e.range,u)),i=function(e){t({rawEvents:e})},o=!1,(l=r(a=function(){o||(o=!0,i.apply(this,arguments))},s=function(){!o&&(o=!0,n&&n.apply(this,arguments))}))&&"function"==typeof l.then&&l.then(a,s)}}]}),nD({eventSourceRefiners:{method:String,extraParams:eG,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:function(e){return e.url&&("json"===e.format||!e.format)?{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}:null},fetch:function(e,t,n){var r,i,o,a,l,u,c,d,p,f,h,v,g,m,y,E,D,b,S=e.eventSource.meta,C=(o=S,a=e.range,f=(l=e.context).dateEnv,h=l.options,v={},null==(u=o.startParam)&&(u=h.startParam),null==(c=o.endParam)&&(c=h.endParam),null==(d=o.timeZoneParam)&&(d=h.timeZoneParam),p="function"==typeof o.extraParams?o.extraParams():o.extraParams||{},s(v,p),v[u]=f.formatIso(a.start),v[c]=f.formatIso(a.end),"local"!==f.timeZone&&(v[d]=f.timeZone),v);g=S.method,m=S.url,y=function(e,n){t({rawEvents:e,xhr:n})},E=function(e,t){n({message:e,xhr:t})},g=g.toUpperCase(),D=null,"GET"===g?(r=m,i=C,m=r+(-1===r.indexOf("?")?"?":"&")+nq(i)):D=nq(C),(b=new XMLHttpRequest).open(g,m,!0),"GET"!==g&&b.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),b.onload=function(){if(b.status>=200&&b.status<400){var e=!1,t=void 0;try{t=JSON.parse(b.responseText),e=!0}catch(e){}e?y(t,b):E("Failure parsing JSON",b)}else E("Request failed",b)},b.onerror=function(){E("Request failed",b)},b.send(D)}}]}),nD({recurringTypes:[{parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n,r,i={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},o=void 0;return e.duration&&(o=e.duration),!o&&e.startTime&&e.endTime&&(n=e.endTime,r=e.startTime,o={years:n.years-r.years,months:n.months-r.months,days:n.days-r.days,milliseconds:n.milliseconds-r.milliseconds}),{allDayGuess:!!(!e.startTime&&!e.endTime),duration:o,typeData:i}}return null},expand:function(e,t,n){var r=tu(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){for(var i=e?el(e):null,o=X(n.start),a=n.end,s=[];o<a;){var l=void 0;(!i||i[o.getUTCDay()])&&(l=t?r.add(o,t):o,s.push(l)),o=B(o,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:eG,startTime:ev,endTime:ev,duration:ev,startRecur:eG,endRecur:eG}}),nD({optionChangeHandlers:{events:function(e,t){nG([e],t)},eventSources:nG}}),nD({isLoadingFuncs:[function(e){return n_(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(g),t=[],e=null}return{render:function(r,i){var o=Array.prototype.slice.call(i);if(r!==e||!eS(t,o)){for(var a=0;a<o.length;a++){var s=o[a];r.appendChild(s)}n()}e=r,t=o},destroy:n}}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",s(s({},tT(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",tV(e,t))}}})],nX=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;e in n&&(t?delete n[e]:(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}(),nK=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new nX(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 n$(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,eL(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);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var nQ=function(){function e(e){var t,n,r,i,o,a,l,u,c=this;this.computeOptionsData=eC(this._computeOptionsData),this.computeCurrentViewData=eC(this._computeCurrentViewData),this.organizeRawLocales=eC(tq),this.buildLocale=eC(tG),this.buildPluginHooks=(n=[],r=[],function(e,i){return t&&eS(e,n)&&eS(i,r)||(t=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;t<e.length;t++){var o,a,l=e[t];n[l.id]||(n[l.id]=!0,i(l.deps),o=r,a=l,r={reducers:o.reducers.concat(a.reducers),isLoadingFuncs:o.isLoadingFuncs.concat(a.isLoadingFuncs),contextInit:o.contextInit.concat(a.contextInit),eventRefiners:s(s({},o.eventRefiners),a.eventRefiners),eventDefMemberAdders:o.eventDefMemberAdders.concat(a.eventDefMemberAdders),eventSourceRefiners:s(s({},o.eventSourceRefiners),a.eventSourceRefiners),isDraggableTransformers:o.isDraggableTransformers.concat(a.isDraggableTransformers),eventDragMutationMassagers:o.eventDragMutationMassagers.concat(a.eventDragMutationMassagers),eventDefMutationAppliers:o.eventDefMutationAppliers.concat(a.eventDefMutationAppliers),dateSelectionTransformers:o.dateSelectionTransformers.concat(a.dateSelectionTransformers),datePointTransforms:o.datePointTransforms.concat(a.datePointTransforms),dateSpanTransforms:o.dateSpanTransforms.concat(a.dateSpanTransforms),views:s(s({},o.views),a.views),viewPropsTransformers:o.viewPropsTransformers.concat(a.viewPropsTransformers),isPropsValid:a.isPropsValid||o.isPropsValid,externalDefTransforms:o.externalDefTransforms.concat(a.externalDefTransforms),viewContainerAppends:o.viewContainerAppends.concat(a.viewContainerAppends),eventDropTransformers:o.eventDropTransformers.concat(a.eventDropTransformers),calendarInteractions:o.calendarInteractions.concat(a.calendarInteractions),componentInteractions:o.componentInteractions.concat(a.componentInteractions),themeClasses:s(s({},o.themeClasses),a.themeClasses),eventSourceDefs:o.eventSourceDefs.concat(a.eventSourceDefs),cmdFormatter:a.cmdFormatter||o.cmdFormatter,recurringTypes:o.recurringTypes.concat(a.recurringTypes),namedTimeZonedImpl:a.namedTimeZonedImpl||o.namedTimeZonedImpl,initialView:o.initialView||a.initialView,elementDraggingImpl:o.elementDraggingImpl||a.elementDraggingImpl,optionChangeHandlers:s(s({},o.optionChangeHandlers),a.optionChangeHandlers),scrollGridImpl:a.scrollGridImpl||o.scrollGridImpl,contentTypeHandlers:s(s({},o.contentTypeHandlers),a.contentTypeHandlers),listenerRefiners:s(s({},o.listenerRefiners),a.listenerRefiners),optionRefiners:s(s({},o.optionRefiners),a.optionRefiners),propSetHandlers:s(s({},o.propSetHandlers),a.propSetHandlers)})}}return e&&i(e),i(t),r}(e,i)),n=e,r=i,t}),this.buildDateEnv=eC(nJ),this.buildTheme=eC(n0),this.parseToolbars=eC(nB),this.buildViewSpecs=eC(nN),this.buildDateProfileGenerator=ew(n1),this.buildViewApi=eC(n4),this.buildViewUiProps=ew(n6),this.buildEventUiBySource=eC(n3,ec),this.buildEventUiBases=eC(n2),this.parseContextBusinessHours=ew(n7),this.buildTitle=eC(n$),this.emitter=new no,this.actionRunner=new nK(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return c.data},this.dispatch=function(e){c.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var d={},p=this.computeOptionsData(e.optionOverrides,d,e.calendarApi),f=p.calendarOptions.initialView||p.pluginHooks.initialView,h=this.computeCurrentViewData(f,p,e.optionOverrides,d);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(h.options);var v=(i=p.calendarOptions,o=p.dateEnv,null!=(a=i.initialDate)?o.createMarker(a):tA(i.now,o)),g=h.dateProfileGenerator.build(v);tp(g.activeRange,v)||(v=g.currentRange.start);for(var m={dateEnv:p.dateEnv,options:p.calendarOptions,pluginHooks:p.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},y=0,E=p.pluginHooks.contextInit;y<E.length;y++)(0,E[y])(m);for(var D=(l=p.calendarOptions,u=g?g.activeRange:null,nU({},function(e,t){var n=tH(t),r=[].concat(e.eventSources||[]),i=[];e.initialEvents&&r.unshift(e.initialEvents),e.events&&r.unshift(e.events);for(var o=0;o<r.length;o++){var a=tN(r[o],t,n);a&&i.push(a)}return i}(l,m),u,m)),b={dynamicOptionOverrides:d,currentViewType:f,currentDate:v,dateProfile:g,businessHours:this.parseContextBusinessHours(m),eventSources:D,eventUiBases:{},eventStore:e$(),renderableEventStore:e$(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(m).selectionConfig},S=s(s({},m),b),C=0,w=p.pluginHooks.reducers;C<w.length;C++){var T=w[C];s(b,T(null,null,S))}n5(b,m)&&this.emitter.trigger("loading",!0),this.state=b,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?s(s({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t,n,r,i,o=this.props,a=this.state,l=this.emitter,u=(t=a.dynamicOptionOverrides,"SET_OPTION"===e.type?s(s({},t),((n={})[e.optionName]=e.rawOptionValue,n)):t),c=this.computeOptionsData(o.optionOverrides,u,o.calendarApi),d=(r=a.currentViewType,"CHANGE_VIEW_TYPE"===e.type&&(r=e.viewType),r),p=this.computeCurrentViewData(d,c,o.optionOverrides,u);o.calendarApi.currentDataManager=this,l.setThisContext(o.calendarApi),l.setOptions(p.options);var f={dateEnv:c.dateEnv,options:c.calendarOptions,pluginHooks:c.pluginHooks,calendarApi:o.calendarApi,dispatch:this.dispatch,emitter:l,getCurrentData:this.getCurrentData},h=a.currentDate,v=a.dateProfile;this.data&&this.data.dateProfileGenerator!==p.dateProfileGenerator&&(v=p.dateProfileGenerator.build(h)),i=h,h="CHANGE_DATE"===e.type?e.dateMarker:i,v=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}(v,e,h,p.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&tp(v.currentRange,h)||(h=v.currentRange.start);for(var g=function(e,t,n,r){var i,o,a,l,u,c,d,p,f=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return nU(e,t.sources,f,r);
2case"REMOVE_EVENT_SOURCE":return i=e,o=t.sourceId,ea(i,function(e){return e.sourceId!==o});case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":if(n)return nL(e,f,r);return e;case"FETCH_EVENT_SOURCES":return nV(e,t.sourceIds?el(t.sourceIds):nF(e,r),f,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return a=e,l=t.sourceId,u=t.fetchId,c=t.fetchRange,(p=a[l])&&u===p.latestFetchId?s(s({},a),((d={})[l]=s(s({},p),{isFetching:!1,fetchRange:c}),d)):a;case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}(a.eventSources,e,v,f),m=function(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,s,l,u,c=eZ((a=i,s=t,l=o.options.eventDataTransform,(u=s?s.eventDataTransform:null)&&(a=nz(a,u)),l&&(a=nz(a,l)),a),t,o);return r&&(c=ef(c,r,o)),eQ(nj(e,t.sourceId),c)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,i);case"ADD_EVENTS":var o,a,s,l;return o=e,a=t.eventStore,s=r?r.activeRange:null,l=i,s&&(a=ef(a,s,l)),eQ(o,a);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return eQ(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":if(r)return ef(e,r.activeRange,i);return e;case"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 nj(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return eJ(e,function(e){return!e.sourceId});case"REMOVE_ALL_EVENTS":return e$();default:return e}}(a.eventStore,e,g,v,f),y=n_(g)&&!p.options.progressiveEventRendering&&a.renderableEventStore||m,E=this.buildViewUiProps(f),D=E.eventUiSingleBase,b=E.selectionConfig,S=this.buildEventUiBySource(g),C=this.buildEventUiBases(y.defs,D,S),w={dynamicOptionOverrides:u,currentViewType:d,currentDate:h,dateProfile:v,eventSources:g,eventStore:m,renderableEventStore:y,selectionConfig:b,eventUiBases:C,businessHours:this.parseContextBusinessHours(f),dateSelection:function(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}(a.dateSelection,e),eventSelection:function(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}(a.eventSelection,e),eventDrag:function(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}}(a.eventDrag,e),eventResize:function(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}}(a.eventResize,e)},T=s(s({},f),w),R=0,k=c.pluginHooks.reducers;R<k.length;R++){var M=k[R];s(w,M(a,e,T))}var x=n5(a,f),I=n5(w,f);!x&&I?l.trigger("loading",!0):x&&!I&&l.trigger("loading",!1),this.state=w,o.onAction&&o.onAction(e)},e.prototype.updateData=function(){var e,t,n,r,i,o,a,l,u=this.props,c=this.state,d=this.data,p=this.computeOptionsData(u.optionOverrides,c.dynamicOptionOverrides,u.calendarApi),f=this.computeCurrentViewData(c.currentViewType,p,u.optionOverrides,c.dynamicOptionOverrides),h=this.data=s(s(s({viewTitle:this.buildTitle(c.dateProfile,f.options,p.dateEnv),calendarApi:u.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},p),f),c),v=p.pluginHooks.optionChangeHandlers,g=d&&d.calendarOptions,m=p.calendarOptions;if(g&&g!==m)for(var y in g.timeZone!==m.timeZone&&(e=h.eventSources,t=c.dateProfile,n=t?t.activeRange:null,c.eventSources=h.eventSources=nV(e,nF(e,h),n,!0,h),r=h.eventStore,i=d.dateEnv,o=h.dateEnv,a=r.defs,l=es(r.instances,function(e){var t=a[e.defId];return t.allDay||t.recurringDef?e:s(s({},e),{range:{start:o.createMarker(i.toDate(e.range.start,e.forcedStartTzo)),end:o.createMarker(i.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:o.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:o.canComputeOffset?null:e.forcedEndTzo})}),c.eventStore=h.eventStore={defs:a,instances:l}),v)g[y]!==m[y]&&v[y](m[y],h);u.onData&&u.onData(h)},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;n8(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),d=this.parseToolbars(i,e,c,u,n);return{calendarOptions:i,pluginHooks:o,dateEnv:l,viewSpecs:u,theme:c,toolbarConfig:d,localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=eo([eF,e,t],ej),r=n.locales,i=n.locale,o=this.organizeRawLocales(r),a=o.map,l=this.buildLocale(i||o.defaultCode,a).options,u=this.buildPluginHooks(e.plugins||[],nZ),c=this.currentCalendarOptionsRefiners=s(s(s(s(s({},eV),eW),ez),u.listenerRefiners),u.optionRefiners),d={},p=eo([eF,l,e,t],ej),f={},h=this.currentCalendarOptionsInput,v=this.currentCalendarOptionsRefined,g=!1;for(var m in p)"plugins"!==m&&(p[m]===h[m]||ej[m]&&m in h&&ej[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:o,localeDefaults:l,extra:d}},e.prototype._computeCurrentViewData=function(e,t,n,r){var i=t.viewSpecs[e];
2if(!i)throw 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;n8(o.extra);var s=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});return{viewSpec:i,options:a,dateProfileGenerator:s,viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,i){var o=eo([eF,e.optionDefaults,n,r,e.optionOverrides,i],ej),a=s(s(s(s(s(s({},eV),eW),ez),eY),t.listenerRefiners),t.optionRefiners),l={},u=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,d=!1,p={};for(var f in o)o[f]===u[f]||ej[f]&&ej[f](o[f],u[f])?l[f]=c[f]:(o[f]===this.currentCalendarOptionsInput[f]||ej[f]&&ej[f](o[f],this.currentCalendarOptionsInput[f])?f in this.currentCalendarOptionsRefined&&(l[f]=this.currentCalendarOptionsRefined[f]):a[f]?l[f]=a[f](o[f]):p[f]=o[f],d=!0);return d&&(this.currentViewOptionsInput=o,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:p}},e}();function nJ(e,t,n,r,i,o,a,s){var l=tG(t||a.defaultCode,a.map);return new tz({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:i,cmdFormatter:o.cmdFormatter,defaultSeparator:s})}function n0(e,t){return new(t.themeClasses[e.themeSystem]||nb)(e)}function n1(e){return new(e.dateProfileGeneratorClass||nA)(e)}function n4(e,t,n){return new tP(e,t,n)}function n3(e){return es(e,function(e){return e.ui})}function n2(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 n6(e){var t=e.options;return{eventUiSingleBase:e3({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:e3({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function n5(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++)if((0,r[n])(e))return!0;return!1}function n7(e){var t,n;return t=e.options.businessHours,eZ((!0===(n=t)?[{}]:Array.isArray(n)?n.filter(function(e){return e.daysOfWeek}):"object"==typeof n&&n?[n]:[]).map(function(e){return s(s({},tX),e)}),null,e)}function n8(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}var n9=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 nQ({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}return a(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}(u),re=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;n<e.length;n++){var r=e[n];this.insertEntry(r,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,i=[],o=e.span,a=t.span;return(o.start<a.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:o.start,end:a.start}},i)),o.end>a.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.end,end:o.end}},i)),r)?(n.push.apply(n,l([{index:e.index,thickness:e.thickness,span:rr(a,o)}],i)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(ri(r,t.level,t.levelCoord),ri(n,t.level,[e])):ri(n[t.level],t.lateral,e),this.stackCnts[rn(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this.levelCoords,n=this.entriesByLevel,r=this.strictOrder,i=this.stackCnts,o=t.length,a=0,s=-1,l=-1,u=null,c=0,d=0;d<o;d+=1){var p=t[d];if(!r&&p>=a+e.thickness)break;for(var f=n[d],h=void 0,v=ro(f,e.span.start,rt),g=v[0]+v[1];(h=f[g])&&h.span.start<e.span.end;){var m=p+h.thickness;m>a&&(a=m,u=h,s=d,l=g),m===a&&(c=Math.max(c,i[rn(h)]+1)),g+=1}}var y=0;if(u)for(y=s+1;y<o&&t[y]<a;)y+=1;var E=-1;return y<o&&t[y]===a&&(E=ro(n[y],e.span.end,rt)[0]),{touchingLevel:s,touchingLateral:l,touchingEntry:u,stackCnt:c,levelCoord:a,level:y,lateral
2:E}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],i=0;i<n;i+=1)for(var o=e[i],a=t[i],l=0;l<o.length;l++){var u=o[l];r.push(s(s({},u),{levelCoord:a}))}return r},e}();function rt(e){return e.span.end}function rn(e){return e.index+":"+e.span.start}function rr(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 ri(e,t,n){e.splice(t,0,n)}function ro(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 ra=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function rs(e){var t;return(t={})[e.component.uid]=e,t}var rl={},ru=function(){function e(e,t){this.emitter=new no}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),rc={},rd={startTime:ev,duration:ev,create:Boolean,sourceId:String};function rp(e){var t=eq(e,rd),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 rf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map(function(t){return e.renderWidgetGroup(t)});return c.apply(void 0,l(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],i=!0,o=0;o<e.length;o++){var a=e[o],s=a.buttonName,u=a.buttonClick,d=a.buttonText,p=a.buttonIcon,f=a.buttonHint;if("title"===s)i=!1,r.push(c("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var h=s===t.activeButton,v=!t.isTodayEnabled&&"today"===s||!t.isPrevEnabled&&"prev"===s||!t.isNextEnabled&&"next"===s,g=["fc-"+s+"-button",n.getClass("button")];h&&g.push(n.getClass("buttonActive")),r.push(c("button",{type:"button",title:"function"==typeof f?f(t.navUnit):f,disabled:v,"aria-pressed":h,className:g.join(" "),onClick:u},d||(p?c("span",{className:p}):"")))}}if(r.length>1){var m=i&&n.getClass("buttonGroup")||"";return c.apply(void 0,l(["div",{className:m}],r))}return r[0]},t}(nv),rh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,i=n.extraClassName,o=!1,a=r.sectionWidgets,s=a.center;return a.left?(o=!0,e=a.left):e=a.start,a.right?(o=!0,t=a.right):t=a.end,c("div",{className:[i||"","fc-toolbar",o?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return c(rf,{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}(nv),rv=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,ny(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return a(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="",o="";return n?null!==t.availableWidth?i=t.availableWidth/n:o=1/n*100+"%":i=e.height||"",c("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:i,paddingBottom:o}},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}(nv),rg=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=th(t);if(o&&r.isValidSegDownEl(e.target)){var a=m(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";i.emitter.trigger("eventClick",{el:t,event:new tU(r.context,o.eventRange.def,o.eventRange.instance),jsEvent:e,view:i.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=R(t.el,"click",".fc-event",n.handleSegClick),n}return a(t,e),t}(ra),rm=function(e){function t(t){var n,r,i,o,a=e.call(this,t)||this;return a.handleEventElRemove=function(e){e===a.currentSegEl&&a.handleSegLeave(null,a.currentSegEl)},a.handleSegEnter=function(e,t){th(t)&&(a.currentSegEl=t,a.triggerEvent("eventMouseEnter",e,t))},a.handleSegLeave=function(e,t){a.currentSegEl&&(a.currentSegEl=null,a.triggerEvent("eventMouseLeave",e,t))},n=t.el,r=a.handleSegEnter,i=a.handleSegLeave,a.removeHoverListeners=R(n,"mouseover",".fc-event",function(e,t){if(t!==o){o=t,r(e,t);var n=function(e){o=null,i(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}),a}return a(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,i=r.context,o=th(n);(!t||r.isValidSegDownEl(t.target))&&i.emitter.trigger(e,{el:n,event:new tU(i,o.eventRange.def,o.eventRange.instance),jsEvent:t,view:i.viewApi})},t}(ra),ry=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=eC(nf),t.buildViewPropTransformers=eC(rD),t.buildToolbarProps=eC(rE),t.headerRef=d(),t.footerRef=d(),t.interactionsStore={},t.state={viewLabelId:w()},t.registerInteractiveComponent=function(e,n){var r={component:e,el:n.el,useEventCenter:null==n.useEventCenter||n.useEventCenter,isHitComboAllowed:n.isHitComboAllowed||null},i=[rg,rm].concat(t.props.pluginHooks.componentInteractions).map(function(e){return new e(r)});t.interactionsStore[e.uid]=i,rl[e.uid]=r},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0;r<n.length;r++)n[r].destroy();delete t.interactionsStore[e.uid]}delete rl[e.uid]},t.resizeRunner=new nX(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 a(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,i=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,tA(t.options.now,t.dateEnv),t.viewTitle),o=!1,a="";t.isHeightAuto||t.forPrint?a="":null!=r.height?o=!0:null!=r.contentHeight?a=r.contentHeight:e=Math.max(r.aspectRatio,.5);var l=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),u=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return c(np.Provider,{value:l},n.header&&c(rh,s({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:u},i)),c(rv,{liquid:o,height:a,aspectRatio:e,labeledById:u},this.renderView(t),this.buildAppendContent()),n.footer&&c(rh,s({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},i)))},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 c.apply(void 0,l([p,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},i=this.buildViewPropTransformers(t.viewPropsTransformers),o=0;o<i.length;o++){var a=i[o];s(r,a.transform(r,e))}return c(n.component,s({},r))},t}(nh);function rE(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&&!tp(t.currentRange,i),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function rD(e){return e.map(function(e){return new e})}var rb=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 a(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 t1()||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}(nv),rS="fc-col-header-cell";function rC(e){return e.text}var rw=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,i=e.viewApi,o=this.props,a=o.date,l=o.dateProfile,u=t6(a,o.todayRange,null,l),d=[rS].concat(t5(u,r)),p=t.format(a,o.dayHeaderFormat),f=!u.isDisabled&&o.colCnt>1?t9(this.context,a):{};return c(nC,{hookProps:s(s(s({date:t.toDate(a),view:i},o.extraHookProps),{text:p}),u),classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:rC,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},function(e,t,n,r){return c("th",s({ref:e,role:"columnheader",className:d.concat(t).join(" "),"data-date":u.isDisabled?void 0:eD(a),colSpan:o.colSpan},o.extraDataAttrs),c("div",{className:"fc-scrollgrid-sync-inner"},!u.isDisabled&&c("a",s({ref:n,className:["fc-col-header-cell-cushion",o.isSticky?"fc-sticky":""].join(" ")},f),r)))})},t}(nv),rT=eL({weekday:"long"}),rR=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,i=t.viewApi,o=t.options,a=B(new Date(2592e5),e.dow),l={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},u=[rS].concat(t5(l,r),e.extraClassNames||[]),d=n.format(a,e.dayHeaderFormat);return c(nC,{hookProps:s(s(s(s({date:a},l),{view:i}),e.extraHookProps),{text:d}),classNames:o.dayHeaderClassNames,content:o.dayHeaderContent,defaultContent:rC,didMount:o.dayHeaderDidMount,willUnmount:o.dayHeaderWillUnmount},function(t,r,i,o){return c("th",s({ref:t,role:"columnheader",className:u.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),c("div",{className:"fc-scrollgrid-sync-inner"},c("a",{"aria-label":n.format(a,rT),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:i},o)))})},t}(nv),rk=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=tA(n.options.now,n.dateEnv),r.initialNowQueriedMs=new Date().valueOf(),r.state=r.computeTiming().currentState,r}return a(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=Y(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),i=t.dateEnv.add(r,ev(1,e.unit)),o=i.valueOf()-n.valueOf();return o=Math.min(864e5,o),{currentState:{nowDate:r,todayRange:rM(r)},nextState:{nowDate:i,todayRange:rM(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=np,t}(u);function rM(e){var t=X(e),n=B(t,1);return{start:t,end:n}}var rx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=eC(rI),t}return a(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,i=t.datesRepDistinctDays,o=t.renderIntro,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,i,n.length);return c(rk,{unit:"day"},function(e,t){return c("tr",{role:"row"},o&&o("day"),n.map(function(e){return i?c(rw,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):c(rR,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})}))})},t}(nv);function rI(e,t,n){return e||(!t||n>10?eL({weekday:"short"}):n>1?eL({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):eL({weekday:"long"}))}var rP=function(){function e(e,t){for(var n=e.start,r=e.end,i=[],o=[],a=-1;n<r;
2)t.isHiddenDay(n)?i.push(a+.5):(i.push(a+=1),o.push(n)),n=B(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(B(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(G(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},e}(),rO=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}(),rN=function(){function e(){this.sliceBusinessHours=eC(this._sliceBusinessHours),this.sliceDateSelection=eC(this._sliceDateSpan),this.sliceEventStore=eC(this._sliceEventStore),this.sliceEventDrag=eC(this._sliceInteraction),this.sliceEventResize=eC(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];var a=e.eventUiBases,s=this.sliceEventStore.apply(this,l([e.eventStore,a,t,n],i));return{dateSelectionSegs:this.sliceDateSelection.apply(this,l([e.dateSelection,a,r],i)),businessHourSegs:this.sliceBusinessHours.apply(this,l([e.businessHours,t,n,r],i)),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag.apply(this,l([e.eventDrag,a,t,n],i)),eventResize:this.sliceEventResize.apply(this,l([e.eventResize,a,t,n],i)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,l([{range:{start:e,end:Y(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var i=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];return e?this._sliceEventStore.apply(this,l([ef(e,rH(t,!!n),r),{},t,n],i)).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=tf(e,t,rH(n,!!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=tf(e.mutatedEvents,t,rH(n,!!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 r,i,o=[],a=3;a<arguments.length;a++)o[a-3]=arguments[a];if(!e)return[];for(var s={def:i=tn((r=te({editable:!1},n)).refined,r.extra,"",e.allDay,!0,n),ui:tg(i,t),instance:er(i.defId,e.range),range:e.range,isStart:!0,isEnd:!0},u=this.sliceRange.apply(this,l([e.range],o)),c=0;c<u.length;c++)u[c].eventRange=s;return u},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];n.push.apply(n,this.sliceEventRange(i,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:B(n.start,1)});for(var r=this.sliceRange.apply(this,l([n],t)),i=0;i<r.length;i++){var o=r[i];o.eventRange=e,o.isStart=e.isStart&&o.isStart,o.isEnd=e.isEnd&&o.isEnd}return r},e}();function rH(e,t){var n=e.activeRange;return t?n:{start:Y(n.start,e.slotMinTime.milliseconds),end:Y(n.end,e.slotMaxTime.milliseconds-864e5)}}function rA(e,t,n){var r=e.mutatedEvents.instances;for(var i in r)if(!td(t.validRange,r[i].range))return!1;return rU({eventDrag:e},n)}function r_(e,t,n){return!!td(t.validRange,e.range)&&rU({dateSelection:e},n)}function rU(e,t){var n=t.getCurrentData(),r=s({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||function(e,t,n,r){return void 0===n&&(n={}),(!e.eventDrag||!!function(e,t,n,r){var i,o,a=t.getCurrentData(),l=e.eventDrag,u=l.mutatedEvents,c=u.defs,d=u.instances,p=tv(c,l.isEvent?e.eventUiBases:{"":a.selectionConfig});r&&(p=es(p,r));var f=(i=e.eventStore,o=l.affectedEvents.instances,{defs:i.defs,instances:ea(i.instances,function(e){return!o[e.instanceId]})}),h=f.defs,v=f.instances,g=tv(h,e.eventUiBases);for(var m in d){var y=d[m],E=y.range,D=p[y.defId],b=c[y.defId];if(!rL(D.constraints,E,f,e.businessHours,t))return!1;var S=t.options.eventOverlap,C="function"==typeof S?S:null;for(var w in v){var T=v[w];if(tc(E,T.range)&&(!1===g[T.defId].overlap&&l.isEvent||!1===D.overlap||C&&!C(new tU(t,h[T.defId],T),new tU(t,b,y))))return!1}for(var R=a.eventStore,k=0,M=D.allows;k<M.length;k++){var x=M[k],I=s(s({},n),{range:y.range,allDay:b.allDay}),P=R.defs[b.defId],O=R.instances[m],N=void 0;
2if(N=P?new tU(t,P,O):new tU(t,b),!x(tM(I,t),N))return!1}}return!0}(e,t,n,r))&&(!e.dateSelection||!!function(e,t,n,r){var i=e.eventStore,o=i.defs,a=i.instances,l=e.dateSelection,u=l.range,c=t.getCurrentData().selectionConfig;if(r&&(c=r(c)),!rL(c.constraints,u,i,e.businessHours,t))return!1;var d=t.options.selectOverlap,p="function"==typeof d?d:null;for(var f in a){var h=a[f];if(tc(u,h.range)&&(!1===c.overlap||p&&!p(new tU(t,o[h.defId],h),null)))return!1}for(var v=0,g=c.allows;v<g.length;v++)if(!(0,g[v])(tM(s(s({},n),l),t),null))return!1;return!0}(e,t,n,r))})(r,t)}function rL(e,t,n,r,i){for(var o=0;o<e.length;o++)if(!function(e,t){for(var n=0;n<e.length;n++)if(td(e[n],t))return!0;return!1}(function(e,t,n,r,i){return"businessHours"===e?rV(ef(r,t,i)):"string"==typeof e?rV(eJ(n,function(t){return t.groupId===e})):"object"==typeof e&&e?rV(ef(e,t,i)):[]}(e[o],t,n,r,i),t))return!1;return!0}function rV(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}var rF=/^(visible|hidden)$/,rW=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,ny(t.props.elRef,e)},t}return a(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")),c("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(rF.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(rF.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 rF.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return rF.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(nv),rz=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t.depths,i=t.currentMap,o=!1,a=!1;null!==e?(o=n in i,i[n]=e,r[n]=(r[n]||0)+1,a=!0):(r[n]-=1,r[n]||(delete i[n],delete t.callbackMap[n],o=!0)),t.masterCallback&&(o&&t.masterCallback(null,String(n)),a&&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 function(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}(this.currentMap,e,t,n)},e.prototype.getAll=function(){return eu(this.currentMap)},e}();function rj(e,t){return e.liquid&&t.liquid}function rB(e,t){return eS(e,t,ec)}function rY(e,t){for(var n,r=[],i=0;i<e.length;i++)for(var o=e[i],a=o.span||1,s=0;s<a;s+=1){r.push(c("col",{style:{width:"shrink"===o.width?null==(n=t)?4:n:o.width||"",minWidth:o.minWidth||""}}))}return c.apply(void 0,l(["colgroup",{}],r))}function rq(e){return c("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function rG(e){var t=e.stickyHeaderDates;return(null==t||"auto"===t)&&(t="auto"===e.height||"auto"===e.viewHeight),t}function rZ(e){var t=e.stickyFooterScrollbar;return(null==t||"auto"===t)&&(t="auto"===e.height||"auto"===e.viewHeight),t}var rX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=eC(function(e){return e},rB),t.renderMicroColGroup=eC(rY),t.scrollerRefs=new rz,t.scrollerElRefs=new rz(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.safeSetState(s({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return a(t,e),t.prototype.render=function(){var e,t,n,r=this.props,i=this.state,o=this.context,a=r.sections||[],s=this.processCols(r.cols
2),u=this.renderMicroColGroup(s,i.shrinkWidth),d=(e=r.liquid,t=["fc-scrollgrid",o.theme.getClass("table")],e&&t.push("fc-scrollgrid-liquid"),t);r.collapsibleWidth&&d.push("fc-scrollgrid-collapsible");for(var p=a.length,f=0,h=[],v=[],g=[];f<p&&"header"===(n=a[f]).type;)h.push(this.renderSection(n,u,!0)),f+=1;for(;f<p&&"body"===(n=a[f]).type;)v.push(this.renderSection(n,u,!1)),f+=1;for(;f<p&&"footer"===(n=a[f]).type;)g.push(this.renderSection(n,u,!0)),f+=1;var m=!t1(),y={role:"rowgroup"};return c("table",{role:"grid",className:d.join(" "),style:{height:r.height}},!!(!m&&h.length)&&c.apply(void 0,l(["thead",y],h)),!!(!m&&v.length)&&c.apply(void 0,l(["tbody",y],v)),!!(!m&&g.length)&&c.apply(void 0,l(["tfoot",y],g)),m&&c.apply(void 0,l(l(l(["tbody",y],h),v),g)))},t.prototype.renderSection=function(e,t,n){var r,i;return"outerContent"in e?c(p,{key:e.key},e.outerContent):c("tr",{key:e.key,role:"presentation",className:(r=this.props.liquid,i=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className],r&&e.liquid&&null==e.maxHeight&&i.push("fc-scrollgrid-section-liquid"),e.isSticky&&i.push("fc-scrollgrid-section-sticky"),i).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,o,a=this.props,s=this.state,l=s.forceYScrollbars,u=s.scrollerClientWidths,d=s.scrollerClientHeights,p=null!=e.maxHeight||rj(a,e),f=rj(a,e),h=a.liquid?l?"scroll":p?"auto":"hidden":"visible",v=e.key,g=(i={tableColGroupNode:t,tableMinWidth:"",clientWidth:a.collapsibleWidth||void 0===u[v]?null:u[v],clientHeight:void 0!==d[v]?d[v]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},o=i.expandRows,"function"==typeof n.content?n.content(i):c("table",{role:"presentation",className:[n.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:i.tableMinWidth,width:i.clientWidth,height:o?i.clientHeight:""}},i.tableColGroupNode,c(r?"thead":"tbody",{role:"presentation"},"function"==typeof n.rowContent?n.rowContent(i):n.rowContent)));return c(r?"th":"td",{ref:n.elRef,role:"presentation"},c("div",{className:"fc-scroller-harness"+(f?" fc-scroller-harness-liquid":"")},c(rW,{ref:this.scrollerRefs.createRef(v),elRef:this.scrollerElRefs.createRef(v),overflowY:h,overflowX:a.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:f,liquidIsAbsolute:!0},g)))},t.prototype._handleScrollerEl=function(e,t){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.key===t)return r}return null}(this.props.sections,t);n&&ny(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!function(e){for(var t=0;t<e.length;t++)if("shrink"===e[t].width)return!0;return!1}(this.props.cols)?0:function(e){for(var t=function(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}(e,".fc-scrollgrid-shrink"),n=0,r=0;r<t.length;r++)n=Math.max(n,function(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}(t[r]));return Math.ceil(n)}(this.scrollerElRefs.getAll())},t.prototype.computeScrollerDims=function(){var e,t,n=(i||((e=document.createElement("div")).style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e),t=nt(e),document.body.removeChild(e),i=t),i),r=this.scrollerRefs,o=this.scrollerElRefs,a=!1,s={},l={};for(var u in r.currentMap){var c=r.currentMap[u];if(c&&c.needsYScrolling()){a=!0;break}}for(var d=0,p=this.props.sections;d<p.length;
2d++){var u=p[d].key,f=o.currentMap[u];if(f){var h=f.parentNode;s[u]=Math.floor(h.getBoundingClientRect().width-(a?n.y:0)),l[u]=Math.floor(h.getBoundingClientRect().height)}}return{forceYScrollbars:a,scrollerClientWidths:s,scrollerClientHeights:l}},t}(nv);rX.addStateEquality({scrollerClientWidths:ec,scrollerClientHeights:ec});var rK=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=d(),t}return a(t,e),t.prototype.render=function(){var e,t,n=this.props,r=this.context,i=r.options,o=n.seg,a=o.eventRange,s=a.ui,l={event:new tU(r,a.def,a.instance),view:r.viewApi,timeText:n.timeText,textColor:s.textColor,backgroundColor:s.backgroundColor,borderColor:s.borderColor,isDraggable:!n.disableDragging&&function(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,i=r.def,o=r.ui,a=o.startEditable,s=0;s<n.length;s++)a=(0,n[s])(a,i,o,t);return a}(o,r),isStartResizable:!n.disableResizing&&o.isStart&&o.eventRange.ui.durationEditable&&r.options.eventResizableFromStart,isEndResizable:!n.disableResizing&&(e=o).isEnd&&e.eventRange.ui.durationEditable,isMirror:!!(n.isDragging||n.isResizing||n.isDateSelecting),isStart:!!o.isStart,isEnd:!!o.isEnd,isPast:!!n.isPast,isFuture:!!n.isFuture,isToday:!!n.isToday,isSelected:!!n.isSelected,isDragging:!!n.isDragging,isResizing:!!n.isResizing},u=(t=["fc-event"],l.isMirror&&t.push("fc-event-mirror"),l.isDraggable&&t.push("fc-event-draggable"),(l.isStartResizable||l.isEndResizable)&&t.push("fc-event-resizable"),l.isDragging&&t.push("fc-event-dragging"),l.isResizing&&t.push("fc-event-resizing"),l.isSelected&&t.push("fc-event-selected"),l.isStart&&t.push("fc-event-start"),l.isEnd&&t.push("fc-event-end"),l.isPast&&t.push("fc-event-past"),l.isToday&&t.push("fc-event-today"),l.isFuture&&t.push("fc-event-future"),t).concat(s.classNames);return c(nC,{hookProps:l,classNames:i.eventClassNames,content:i.eventContent,defaultContent:n.defaultContent,didMount:i.eventDidMount,willUnmount:i.eventWillUnmount,elRef:this.elRef},function(e,t,r,i){return n.children(e,u.concat(t),r,i,l)})},t.prototype.componentDidMount=function(){this.elRef.current.fcSeg=this.props.seg},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&(this.elRef.current.fcSeg=t)},t}(nv),r$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=tE(n,t.options.eventTimeFormat||e.defaultTimeFormat,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return c(rK,{seg:n,timeText:r,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||rQ,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},function(r,i,o,a,l){return c("a",s({className:e.extraClassNames.concat(i).join(" "),style:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},ref:r},tS(n,t)),c("div",{className:"fc-event-main",ref:o,style:{color:l.textColor}},a),l.isStartResizable&&c("div",{className:"fc-event-resizer fc-event-resizer-start"}),l.isEndResizable&&c("div",{className:"fc-event-resizer fc-event-resizer-end"}))})},t}(nv);function rQ(e){return c("div",{className:"fc-event-main-frame"},e.timeText&&c("div",{className:"fc-event-time"},e.timeText),c("div",{className:"fc-event-title-container"},c("div",{className:"fc-event-title fc-sticky"},e.event.title||c(p,null,"Â "))))}var rJ=eL({day:"numeric"}),r0=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options;return c(nT,{hookProps:r1({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(nv);function r1(e){var t=e.date,n=e.dateEnv,r=t6(t,e.todayRange,null,e.dateProfile);return s(s(s({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,rJ):""}),e.extraProps)}var r4=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=ew(r1),t.normalizeClassNames=nM(),t}return a(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=t5(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),o=r.isDisabled?{}:{"data-date":eD(e.date)};return c(nk,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},function(t){return e.children(t,i,o,r.isDisabled)})},t}(nv);function r3(e){return c("div",{className:"fc-"+e})}var r2=function(e){return c(rK,{defaultContent:r6,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 c("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:i.backgroundColor}},r)})};function r6(e){return e.event.title&&c("div",{className:"fc-event-title"},e.event.title)}var r5=function(e){return c(np.Consumer,null,function(t){var n=t.dateEnv,r=t.options,i=e.date,o=r.weekNumberFormat||e.defaultFormat;return c(nC,{hookProps:{num:n.computeWeekNumber(i),text:n.format(i,o),date:i}
2,classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:r7,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},e.children)})};function r7(e){return e.text}var r8=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:w()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&ny(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=b(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 a(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,i=this.state,o=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return h(c("div",s({id:r.id,className:o.join(" "),"aria-labelledby":i.titleId},r.extraAttrs,{ref:this.handleRootEl}),c("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},c("span",{className:"fc-popover-title",id:i.titleId},r.title),c("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),c("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,i=this.rootEl,o=function(e){for(var t=ni(e),n=e.getBoundingClientRect(),r=0;r<t.length;r++){var i=t$(n,t[r].getBoundingClientRect());if(!i)return null;n=i}return n}(n);if(o){var a=i.getBoundingClientRect(),s=r?m(n,".fc-scrollgrid").getBoundingClientRect().top:o.top,l=e?o.right-a.width:o.left;s=Math.max(s,10),l=Math.max(l=Math.min(l,document.documentElement.clientWidth-10-a.width),10);var u=i.offsetParent.getBoundingClientRect();D(i,{top:s-u.top,left:l-u.left})}},t}(nv),r9=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 a(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,i=r.startDate,o=r.todayRange,a=r.dateProfile,s=n.format(i,t.dayPopoverFormat);return c(r4,{date:i,dateProfile:a,todayRange:o,elRef:this.handleRootEl},function(e,t,n){return c(r8,{elRef:e,id:r.id,title:s,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},c(r0,{date:i,dateProfile:a,todayRange:o},function(e,t){return t&&c("div",{className:"fc-more-popover-misc",ref:e},t)}),r.children)})},t.prototype.queryHit=function(e,t,n,r){var i=this.rootEl,o=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:o.dateProfile,dateSpan:s({allDay:!0,range:{start:o.startDate,end:o.endDate}},o.extraDateSpan),dayEl:i,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(nE),ie=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=d(),t.state={isPopoverOpen:!1,popoverId:w()},t.handleClick=function(e){var n=t.props,r=t.context,i=r.options.moreLinkClick,o=ir(n).start;function a(e){var t=e.eventRange,n=t.def,i=t.instance,o=t.range;return{event:new tU(r,n,i),start:r.dateEnv.toDate(o.start),end:r.dateEnv.toDate(o.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof i&&(i=i({date:o,allDay:!!n.allDayDate,allSegs:n.allSegs.map(a),hiddenSegs:n.hiddenSegs.map(a),jsEvent:e,view:r.viewApi})),i&&"popover"!==i?"string"==typeof i&&r.calendarApi.zoomTo(o,i):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return a(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return c(np.Consumer,null,function(r){var i=r.viewApi,o=r.options,a=r.calendarApi,s=o.moreLinkText,l=t.moreCnt,u=ir(t),d="function"==typeof s?s.call(a,l):"+"+l+" "+s,f=F(o.moreLinkHint,[l],d);return c(p,null,!!t.moreCnt&&c(nC,{elRef:e.linkElRef,hookProps:{num:l,shortText:"+"+l,text:d,view:i},classNames:o.moreLinkClassNames,content:o.moreLinkContent,defaultContent:t.defaultContent||it,didMount:o.moreLinkDidMount,willUnmount:o.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&&c(r9,{id:n.popoverId,startDate:u.start,endDate:u.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=m(this.linkElRef.current,".fc-view-harness"))},t}(nv);function it(e){return e.text}function ir(e){if(e.allDayDate)return{start:e.allDayDate,end:B(e.allDayDate,1)};var t=e.hiddenSegs;return{start:t.reduce(ii).eventRange.range.start,end:t.reduce(io).eventRange.range.end}}function ii(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function io(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}}
2,Id(e,t,n){n.d(t,{Ay:()=>O}),n("Un5");var r=n("soh"),i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=(0,r._3b)(),t}return o(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 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 l(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var i=0;i<e.length;i++){var o=e[i];n[o.row].push(o)}return n}function u(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var i=0;i<e.length;i++){var o=e[i];n[o.firstCol].push(o)}return n}function c(e,t){var n=[];if(e){for(var r=0;r<t;r+=1)n[r]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var i=0,o=e.segs;i<o.length;i++){var a=o[i];n[a.row].segs.push(a)}}else for(var r=0;r<t;r+=1)n[r]=null;return n}var d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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:p},function(n,i){return(i||e.forceDayTop)&&(0,r.na4)("div",{className:"fc-daygrid-day-top",ref:n},(0,r.na4)("a",a({id:e.dayNumberId,className:"fc-daygrid-day-number"},t),i||(0,r.na4)(r.FK,null,"Â ")))})},t}(r.$GR);function p(e){return e.dayNumberText}var f=(0,r.xi1)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function h(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 v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props;return(0,r.na4)(r.y8j,a({}
2,e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:f,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(r.$GR),g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||f,i=(0,r.wWN)(e.seg,n,t,!0,e.defaultDisplayEventEnd);return(0,r.na4)(r.Nty,{seg:e.seg,timeText:i,defaultContent:m,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},function(n,i,o,s){return(0,r.na4)("a",a({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(i).join(" "),ref:n},(0,r.tPU)(e.seg,t)),s)})},t}(r.$GR);function m(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,"Â ")))}var y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileSegs=(0,r.BjF)(E),t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,i=t.invisibleSegs;return(0,r.na4)(r.knM,{dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:i,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 i=n.eventRange.instance.instanceId;return(0,r.na4)("div",{className:"fc-daygrid-event-harness",key:i,style:{visibility:t[i]?"hidden":""}},h(n)?(0,r.na4)(g,a({seg:n,isDragging:!1,isSelected:i===e.eventSelection,defaultDisplayEventEnd:!1},(0,r.F29)(n,e.todayRange))):(0,r.na4)(v,a({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:i===e.eventSelection,defaultDisplayEventEnd:!1},(0,r.F29)(n,e.todayRange))))}))}},function(e,t,n,i,o,s,l,u){return(0,r.na4)("a",a({ref:e,className:["fc-daygrid-more-link"].concat(t).join(" "),title:s,"aria-expanded":l,"aria-controls":u},(0,r.kfp)(o)),i)})},t}(r.$GR);function E(e){for(var t=[],n=[],r=0;r<e.length;r++){var i=e[r];t.push(i.seg),i.isVisible||n.push(i.seg)}return{allSegs:t,invisibleSegs:n}}var D=(0,r.xi1)({week:"narrow"}),b=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 o(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=this.state,i=this.rootElRef,o=t.date,s=t.dateProfile,l=(0,r.myk)(e,o,"week");return(0,r.na4)(r.rrN,{date:o,dateProfile:s,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraHookProps:t.extraHookProps,elRef:this.handleRootEl},function(e,u,c,p){return(0,r.na4)("td",a({ref:e,role:"gridcell",className:["fc-daygrid-day"].concat(u,t.extraClassNames||[]).join(" ")},c,t.extraDataAttrs,t.showDayNumber?{"aria-labelledby":n.dayNumberId}:{}),(0,r.na4)("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:t.innerElRef},t.showWeekNumber&&(0,r.na4)(r.SUi,{date:o,defaultFormat:D},function(e,t,n,i){return(0,r.na4)("a",a({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},l),i)}),!p&&(0,r.na4)(d,{date:o,dateProfile:s,showDayNumber:t.showDayNumber,dayNumberId:n.dayNumberId,forceDayTop:t.forceDayTop,todayRange:t.todayRange,extraHookProps:t.extraHookProps}),(0,r.na4)("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,(0,r.na4)("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},(0,r.na4)(y,{allDayDate:o,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:i,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}
2))),(0,r.na4)("div",{className:"fc-daygrid-day-bg"},t.bgContent)))})},t}(r.gzh);function S(e,t,n,i){if(e.firstCol===t&&e.lastCol===n-1)return e;var o=e.eventRange,s=o.range,l=(0,r.imr)(s,{start:i[t].date,end:(0,r.fij)(i[n-1].date,1)});return a(a({},e),{firstCol:t,lastCol:n-1,eventRange:{def:o.def,ui:a(a({},o.ui),{durationEditable:!1}),instance:o.instance,range:l},isStart:e.isStart&&l.start.valueOf()===s.start.valueOf(),isEnd:e.isEnd&&l.end.valueOf()===s.end.valueOf()})}var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hiddenConsumes=!1,t.forceHidden={},t}return o(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,i){var o=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=a(a({},l),{span:(0,r.RNt)(l.span,n.span)});s[(0,r.qAn)(p)]=!0,o[u][c]=p,this.splitEntry(l,n,i)}else s[d]=!0,i.push(l)}return e.prototype.handleInvalidInsertion.call(this,t,n,i)},t}(r.XpW),w=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 o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state,i=this.context.options,o=t.cells.length,a=u(t.businessHourSegs,o),s=u(t.bgEventSegs,o),l=u(this.getHighlightSegs(),o),c=u(this.getMirrorSegs(),o),d=function(e,t,n,r,i,o,a){var s=new C;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=e[c],p=i[d.eventRange.instance.instanceId];null!=p?l.push({index:c,thickness:p,span:{start:d.firstCol,end:d.lastCol+1}}):u.push(d)}for(var f=s.addSegs(l),h=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;i<e.length;i++)for(var o=e[i],r=o.span.start;r<o.span.end;r+=1)n[r].push(o);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;p<l.length;p++){var f=l[p],h=t[f.index];u.push({seg:S(h,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:f.levelCoord,marginTop:f.levelCoord-c}),c=f.levelCoord+f.thickness}var v=[];c=0,d=0;for(var g=0;g<l.length;g++){var f=l[g],h=t[f.index],m=f.span.end-f.span.start>1,y=f.span.start===s;d+=f.levelCoord-c,c=f.levelCoord+f.thickness,m?(d+=f.thickness,y&&v.push({seg:S(h,f.span.start,f.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:f.levelCoord,marginTop:0})):y&&(v.push({seg:S(h,f.span.start,f.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:f.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),v=h.singleColPlacements,g=h.multiColPlacements,m=h.leftoverMargins,y=[],E=[],D=0;D<u.length;D++){var d=u[D];g[d.firstCol].push({seg:d,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var b=d.firstCol;b<=d.lastCol;b+=1)v[b].push({seg:S(d,b,b+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(var b=0;b<a.length;b+=1)y.push(0);for(var w=0;w<f.length;w++){var T=f[w],d=e[T.index],R=T.span;g[R.start].push({seg:S(d,R.start,R.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var b=R.start;b<R.end;b+=1)y[b]+=1,v[b].push({seg:S(d,b,b+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(var b=0;b<a.length;b+=1)E.push(m[b]);return{singleColPlacements:v,multiColPlacements:g,moreCnts:y,moreMarginTops:E}}((0,r.B4w)(t.fgEventSegs,i.eventOrder),t.dayMaxEvents,t.dayMaxEventRows,i.eventOrderStrict,n.eventInstanceHeights,n.maxContentHeight,t.cells),p=d.singleColPlacements,f=d.multiColPlacements,h=d.moreCnts,v=d.moreMarginTops,g=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{};return(0,r.na4)("tr",{ref:this.rootElRef,role:"row"},t.renderIntro&&t.renderIntro(),t.cells.map(function(n,i){var o=e.renderFgSegs(i,t.forPrint?p[i]:f[i],t.todayRange,g),u=e.renderFgSegs(i,function(e,t){if(!e.length)return[];var n=function(e){for(var t={},n=0;n<e.length;n++)for(var r=e[n],i=0;i<r.length;i++){var o=r[i];t[o.seg.eventRange.instance.instanceId]=o.absoluteTop}return t}(t);return e.map(function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}})}(c[i],f),t.todayRange,{},!!t.eventDrag,!!t.eventResize,!1);return(0,r.na4)(b,{key:n.key,elRef:e.cellElRefs.createRef(n.key),innerElRef:e.frameElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,showDayNumber:t.showDayNumbers,showWeekNumber:t.showWeekNumbers&&0===i,forceDayTop:t.showWeekNumbers,todayRange:t.todayRange,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,extraHookProps:n.extraHookProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,moreCnt:h[i],moreMarginTop:v[i],singlePlacements:p[i],fgContentElRef:e.fgElRefs.createRef(n.key),fgContent:(0,r.na4)(r.FK,null,(0,r.na4)(r.FK,null,o),(0,r.na4)(r.FK,null,u)),bgContent:(0,r.na4)(r.FK,null,e.renderFillSegs(l[i],"highlight"),e.renderFillSegs(a[i],"non-business"),e.renderFillSegs(s[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,i,o,s,l){var u=this.context,c=this.props.eventSelection,d=this.state.framePositions,p=1===this.props.cells.length,f=o||s||l,m=[];if(d)for(var y=0;y<t.length;y++){var E=t[y],D=E.seg,b=D.eventRange.instance.instanceId,S=b+":"+e,C=E.isVisible&&!i[b],w=E.isAbsolute,T="",R="";w&&(u.isRtl?(R=0,T=d.lefts[D.lastCol]-d.lefts[D.firstCol]):(T=0,R=d.rights[D.firstCol]-d.rights[D.lastCol])),m.push((0,r.na4)("div",{className:"fc-daygri
2d-event-harness"+(w?" fc-daygrid-event-harness-abs":""),key:S,ref:f?null:this.segHarnessRefs.createRef(S),style:{visibility:C?"":"hidden",marginTop:w?"":E.marginTop,top:w?E.absoluteTop:"",left:T,right:R}},h(D)?(0,r.na4)(g,a({seg:D,isDragging:o,isSelected:b===c,defaultDisplayEventEnd:p},(0,r.F29)(D,n))):(0,r.na4)(v,a({seg:D,isDragging:o,isResizing:s,isDateSelecting:l,isSelected:b===c,defaultDisplayEventEnd:p},(0,r.F29)(D,n)))))}return m},t.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,i=this.props.todayRange,o=this.state.framePositions,s=[];if(o)for(var l=0;l<e.length;l++){var u=e[l],c=n?{right:0,left:o.lefts[u.lastCol]-o.lefts[u.firstCol]}:{left:0,right:o.rights[u.firstCol]-o.rights[u.lastCol]};s.push((0,r.na4)("div",{key:(0,r.N8)(u.eventRange),className:"fc-daygrid-bg-harness",style:c},"bg-event"===t?(0,r.na4)(r.s_G,a({seg:u},(0,r.F29)(u,i))):(0,r.aOA)(t)))}return r.na4.apply(void 0,function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([r.FK,{}],s))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(!t.forPrint&&null!==t.clientWidth){if(e){var i=t.cells.map(function(e){return n.currentMap[e.key]});if(i.length){var o=this.rootElRef.current;this.setState({framePositions:new r.Qnh(o,i,!0,!1)})}}var s=this.state.eventInstanceHeights,l=this.queryEventInstanceHeights(),u=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({eventInstanceHeights:a(a({},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);w.addStateEquality({eventInstanceHeights:r.vA0});var T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=(0,r.BjF)(l),t.splitBgEventSegs=(0,r.BjF)(l),t.splitFgEventSegs=(0,r.BjF)(l),t.splitDateSelectionSegs=(0,r.BjF)(l),t.splitEventDrag=(0,r.BjF)(c),t.splitEventResize=(0,r.BjF)(c),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 o(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)(w,{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})}))))}
2))},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,i=n.leftToIndex(e),o=r.topToIndex(t);if(null!=o&&null!=i){var s=this.props.cells[o][i];return{dateProfile:this.props.dateProfile,dateSpan:a({range:this.getCellRange(o,i),allDay:!0},s.extraDateSpan),dayEl:this.getCellEl(o,i),rect:{left:n.lefts[i],right:n.rights[i],top:r.tops[o],bottom:r.bottoms[o]},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,i=(0,r.fij)(n,1);return{start:n,end:i}},t}(r.gzh);function R(e){return e.eventRange.def.allDay}var k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return o(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(r.$He),M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new k,t.tableRef=(0,r._3b)(),t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,r.na4)(T,a({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)(I),t.headerRef=(0,r._3b)(),t.tableRef=(0,r._3b)(),t}return o(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)(M,{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}(s);function I(e,t){var n=new r.NC_(e.renderRange,t);return new r.mql(n,/year|month|week/.test(e.currentRangeUnit))}var P=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(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),O=(0,r.i1g)({initialView:"dayGridMonth",views:{dayGrid:{component:x,dateProfileGeneratorClass:P},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}})},enr(e,t,n){n.d(t,{Ay:()=>O});var r=n("soh"),i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};r.$WB.touchMouseIgnoreWait=500;var s=0,l=0,u=!1,c=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){var n;if(!t.shouldIgnoreMouse()&&0===(n=e).button&&!n.ctrlKey&&t.tryStart(e)){var r=t.createEventFromMouse(e,!0);t.emitter.trigger("pointerdown",r),t.initScrollWatch(r),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,s+=1,setTimeout(function(){s-=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===(l+=1)&&window.addEventListener("touchmove",d,{passive:!1})}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(l-=1)||window.removeEventListener("touchmove",d,{passive:!1})}
2,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(){u=!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 s||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(u=!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 d(e){u&&e.preventDefault()}var p=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}(),f=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return o(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),h=function(e){function t(t,n){return e.call(this,new r._n8(t),n)||this}return o(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return(0,r.Qfg)(this.scrollController.el)},t}(f),v=function(e){function t(t){return e.call(this,new r.Wkc,t)||this}return o(t,e),t.prototype.getEventTarget=function(){return window}
2,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}(f),g="function"==typeof performance?performance.now:Date.now,m=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=g();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(g()))}},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=this.scrollCaches||[],o=0;o<i.length;o++){var a=i[o],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 v(!1):new h(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(o)))}return t},e}(),y=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 c(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 p,i.autoScroller=new m,i}return o(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),E=function(){function e(e){this.origRect=(0,r.Cc$)(e),this.scrollCaches=(0,r.ccu)(e).map(function(e){return new h(e,!0)})}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;
2e<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(!function(e){var t=e.tagName;return"HTML"===t||"BODY"===t}(a.getEventTarget())&&!(0,r.$UH)(n,a.clientRect))return!1}return!0},e}(),D=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}return 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||!b(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 E(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 b(e,t){return!e&&!t||!!e==!!t&&(0,r.U6q)(e.dateSpan,t.dateSpan)}function S(e,t){for(var n,r,i={},o=0,s=t.pluginHooks.datePointTransforms;o<s.length;o++){var l=s[o];a(i,l(e,t))}return a(i,(n=e,{date:(r=t.dateEnv).toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),i}var C=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging,r=e.origEvent.target;t.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,i=r.initialHit,o=r.finalHit;if(i&&o&&b(i,o)){var s=t.context,l=a(a({},S(i.dateSpan,s)),{dayEl:i.dayEl,jsEvent:e.origEvent,view:s.viewApi||s.calendarApi.view});s.emitter.trigger("dateClick",l)}}},n.dragging=new y(t.el),n.dragging.autoScroller.isEnabled=!1;var i=n.hitDragging=new D(n.dragging,(0,r.qIM)(t));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragend",n.handleDragEnd),n}return o(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.N3M),w=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t,r,i=n.component,o=n.dragging,a=i.context.options.selectable&&i.isValidDateDownEl(e.origEvent.target);o.setIgnoreMove(!a),o.delay=e.isTouch?(null==(r=(t=i.context.options).selectLongPressDelay)&&(r=t.longPressDelay),r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var i=n.component.context,o=null,s=!1;if(e){var l=n.hitDragging.initialHit;e.componentId===l.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(l,e)||(o=function(e,t,n){var i=e.dateSpan,o=t.dateSpan,s=[i.range.start,i.range.end,o.range.start,o.range.end];s.sort(r.S$d);for(var l={},u=0;u<n.length;u++){var c=(0,n[u])(e,t);if(!1===c)return null;c&&a(l,c)}return l.range={start:s[0],end:s[3]},l.allDay=i.allDay,l}(l,e,i.pluginHooks.dateSelectionTransformers)),o&&(0,r.rjW)(o,e.dateProfile,i)||(s=!0,o=null)}o?i.dispatch({type:"SELECT_DATES",selection:o}):t||i.dispatch({type:"UNSELECT_DATES"}),s?(0,r.tOV)():(0,r.q2g)(),t||(n.dragSelection=o)},n.handlePointerUp=function(e){n.dragSelection&&((0,r.F5O)(n.dragSelection,e,
2n.component.context),n.dragSelection=null)};var i=t.component.context.options,o=n.dragging=new y(t.el);o.touchScrollAllowed=!1,o.minDistance=i.selectMinDistance||0,o.autoScroller.isEnabled=i.dragScroll;var s=n.hitDragging=new D(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 o(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.N3M),T=function(e){function t(n){var i=e.call(this,n)||this;i.subjectEl=null,i.subjectSeg=null,i.isDragging=!1,i.eventRange=null,i.relevantEvents=null,i.receivingContext=null,i.validMutation=null,i.mutatedRelevantEvents=null,i.handlePointerDown=function(e){var t,n,o=e.origEvent.target,a=i.component,s=i.dragging,l=s.mirror,u=a.context.options,c=a.context;i.subjectEl=e.subjectEl;var d=i.subjectSeg=(0,r.VVT)(e.subjectEl),p=(i.eventRange=d.eventRange).instance.instanceId;i.relevantEvents=(0,r.LkY)(c.getCurrentData().eventStore,p),s.minDistance=e.isTouch?0:u.eventDragMinDistance,s.delay=e.isTouch&&p!==a.props.eventSelection?(null==(n=(t=a.context.options).eventLongPressDelay)&&(n=t.longPressDelay),n):null,u.fixedMirrorParent?l.parentNode=u.fixedMirrorParent:l.parentNode=(0,r.YAv)(o,".fc"),l.revertDuration=u.dragRevertDuration;var f=a.isValidSegDownEl(o)&&!(0,r.YAv)(o,".fc-event-resizer");s.setIgnoreMove(!f),i.isDragging=f&&e.subjectEl.classList.contains("fc-event-draggable")},i.handleDragStart=function(e){var t=i.component.context,n=i.eventRange,o=n.instance.instanceId;e.isTouch?o!==i.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:o}):t.dispatch({type:"UNSELECT_EVENT"}),i.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:i.subjectEl,event:new r.fhX(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},i.handleHitUpdate=function(e,t){if(i.isDragging){var n=i.relevantEvents,o=i.hitDragging.initialHit,a=i.component.context,s=null,l=null,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;d<n.length;d++)(0,n[d])(c,e,t);return c}(o,e,s.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(d.mutatedEvents=u=(0,r.on3)(n,s.getCurrentData().eventUiBases,l,s),(0,r.lVx)(d,e.dateProfile,s)||(c=!0,l=null,u=null,d.mutatedEvents=(0,r.H8x)())):s=null}i.displayDrag(s,d),c?(0,r.tOV)():(0,r.q2g)(),t||(a===s&&b(o,e)&&(l=null),i.dragging.setMirrorNeedsRevert(!l),i.dragging.setMirrorIsVisible(!e||!(0,r.UOc)(i.subjectEl).querySelector(".fc-event-mirror")),i.receivingContext=s,i.validMutation=l,i.mutatedRelevantEvents=u)}},i.handlePointerUp=function(){i.isDragging||i.cleanup()},i.handleDragEnd=function(e){if(i.isDragging){var t=i.component.context,n=t.viewApi,o=i.receivingContext,s=i.validMutation,l=i.eventRange.def,u=i.eventRange.instance,c=new r.fhX(t,l,u),d=i.relevantEvents,p=i.mutatedRelevantEvents,f=i.hitDragging.finalHit;if(i.clearDrag(),t.emitter.trigger("eventDragStop",{el:i.subjectEl,event:c,jsEvent:e.origEvent,view:n}),s){if(o===t){var h=new r.fhX(t,p.defs[l.defId],u?p.instances[u.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:p});for(var v={oldEvent:c,event:h,relatedEvents:(0,r.uEb)(p,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:d})}},g={},m=0,y=t.getCurrentData().pluginHooks.eventDropTransformers;m<y.length;m++){var E=y[m];a(g,E(s,t))}t.emitter.trigger("eventDrop",a(a(a({},v),g),{el:e.subjectEl,delta:s.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",v)}else if(o){var D={event:c,relatedEvents:(0,r.uEb)(d,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:d})}};t.emitter.trigger("eventLeave",a(a({},D),{draggedEl:e.subjectEl,view:n}
2)),t.dispatch({type:"REMOVE_EVENTS",eventStore:d}),t.emitter.trigger("eventRemove",D);var b=p.defs[l.defId],C=p.instances[u.instanceId],w=new r.fhX(o,b,C);o.dispatch({type:"MERGE_EVENTS",eventStore:p});var T={event:w,relatedEvents:(0,r.uEb)(p,o,C),revert:function(){o.dispatch({type:"REMOVE_EVENTS",eventStore:p})}};o.emitter.trigger("eventAdd",T),e.isTouch&&o.dispatch({type:"SELECT_EVENT",eventInstanceId:u.instanceId}),o.emitter.trigger("drop",a(a({},S(f.dateSpan,o)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:f.context.viewApi})),o.emitter.trigger("eventReceive",a(a({},T),{draggedEl:e.subjectEl,view:f.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}i.cleanup()};var o=i.component.context.options,s=i.dragging=new y(n.el);s.pointer.selector=t.SELECTOR,s.touchScrollAllowed=!1,s.autoScroller.isEnabled=o.dragScroll;var l=i.hitDragging=new D(i.dragging,r.BNQ);return l.useSubjectCenter=n.useEventCenter,l.emitter.on("pointerdown",i.handlePointerDown),l.emitter.on("dragstart",i.handleDragStart),l.emitter.on("hitupdate",i.handleHitUpdate),l.emitter.on("pointerup",i.handlePointerUp),l.emitter.on("dragend",i.handleDragEnd),i}return o(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),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=n.eventRange=(0,r.VVT)(i).eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==o.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&&(p.mutatedEvents=c=(0,r.on3)(a,o.getCurrentData().eventUiBases,u,o),(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&&b(s,e)&&(u=null),n.validMutation=u,n.mutatedRelevantEvents=c)},n.handleDragEnd=function(e){var t=n.component.context,i=n.eventRange.def,o=n.eventRange.instance,s=new r.fhX(t,i,o),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[i.defId],o?u.instances[o.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:u});var d={oldEvent:s,event:c,relatedEvents:(0,r.uEb)(u,t,o),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}};t.emitter.trigger("eventResize",a(a({},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 i=t.component,o=n.dragging=new y(t.el);o.pointer.selector=".fc-event-resizer",o.touchScrollAllowed=!1,o.autoScroller.isEnabled=i.context.options.dragScroll;var s=n.hitDragging=new D(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 o(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),k=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,T.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 c(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}
2(),M={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},I=function(){function e(e,t){var n=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){n.dragMeta=n.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,i){var o=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(i.subjectEl,s)&&(l=function(e,t,n){for(var i=a({},t.leftoverProps),o=0,s=n.pluginHooks.externalDefTransforms;o<s.length;o++){var l=s[o];a(i,l(e,t))}var u=(0,r.Zl2)(i,n),c=u.refined,d=u.extra,p=(0,r.Rjd)(c,d,t.sourceId,e.allDay,n.options.forceEventDuration||!!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),o.setMirrorIsVisible(t||!l||!document.querySelector(".fc-event-mirror")),u?(0,r.tOV)():(0,r.q2g)(),t||(o.setMirrorNeedsRevert(!l),n.receivingContext=s,n.droppableEvent=l)},this.handleDragEnd=function(e){var t=n.receivingContext,i=n.droppableEvent;if(n.clearDrag(),t&&i){var o=n.hitDragging.finalHit,s=o.context.viewApi,l=n.dragMeta;if(t.emitter.trigger("drop",a(a({},S(o.dateSpan,t)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:s})),l.create){var u=(0,r.tbu)(i);t.dispatch({type:"MERGE_EVENTS",eventStore:u}),e.isTouch&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:i.instance.instanceId}),t.emitter.trigger("eventReceive",{event:new r.fhX(t,i.def,i.instance),relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:u})},draggedEl:e.subjectEl,view:s})}}n.receivingContext=null,n.droppableEvent=null};var i=this.hitDragging=new D(e,r.BNQ);i.requireInitial=!1,i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}return e.prototype.buildDragMeta=function(e){var t,n,i,o;return"object"==typeof this.suppliedDragMeta?(0,r.PWO)(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?(0,r.PWO)(this.suppliedDragMeta(e)):(o=(i=(t=e,n=r.$WB.dataAttrPrefix,t.getAttribute("data-"+(n?n+"-":"")+"event")||""))?JSON.parse(i):{create:!1},(0,r.PWO)(o))},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||!!(0,r.C4N)(e,n)},e}();r.$WB.dataAttrPrefix="",(function(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 y(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 I(i,t.eventData)}).prototype.destroy=function(){this.dragging.destroy()};var P=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 c(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return o(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(e,t){var n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};var r=this.dragging=new P(n);"string"==typeof t.itemSelector?r.pointer.selector=t.itemSelector:n===document&&(r.pointer.selector="[data-event]"),"string"==typeof t.mirrorSelector&&(r.mirrorSelector=t.mirrorSelector),new I(r,t.eventData)}).prototype.destroy=function(){this.dragging.destroy()};var O=(0,r.i1g)({componentInteractions:[C,w,T,R],calendarInteractions:[k],elementDraggingImpl:y,optionRefiners:M,listenerRefiners:x})},OtE(e,t,n){n.d(t,{A:()=>m}),n("Se");
2var r=n("soh"),i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textId:(0,r.znd)()},t}return o(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.dateEnv,i=e.options,o=e.viewApi,s=this.props,u=s.cellId,c=s.dayDate,d=s.todayRange,p=this.state.textId,f=(0,r.qFr)(c,d),h=i.listDayFormat?n.format(c,i.listDayFormat):"",v=i.listDaySideFormat?n.format(c,i.listDaySideFormat):"",g=a({date:n.toDate(c),view:o,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:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:l,didMount:i.dayHeaderDidMount,willUnmount:i.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 l(e){return(0,r.na4)(r.FK,null,e.text&&(0,r.na4)("a",a({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&(0,r.na4)("a",a({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}var u=(0,r.xi1)({hour:"numeric",minute:"2-digit",meridiem:"short"}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,i=e.timeHeaderId,o=e.eventHeaderId,s=e.dateHeaderId,l=t.options.eventTimeFormat||u;return(0,r.na4)(r.Nty,{seg:n,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:function(){var e,i,o;return e=n,i=t,o=(0,r.tPU)(e,i),(0,r.na4)("a",a({},o),e.eventRange.def.title)},isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},function(e,a,u,c,p){return(0,r.na4)("tr",{className:["fc-list-event",p.event.url?"fc-event-forced-url":""].concat(a).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,u=!1,c=void 0;if(s.allDay?u=!0:(0,r.HvV)(e.eventRange.range)?e.isStart?c=(0,r.wWN)(e,t,n,null,null,l.range.start,e.end):e.isEnd?c=(0,r.wWN)(e,t,n,null,null,e.start,l.range.end):u=!0:c=(0,r.wWN)(e,t,n),u){var p={text:n.options.allDayText,view:n.viewApi};return(0,r.na4)(r.iT7,{hookProps:p,classNames:a.allDayClassNames,content:a.allDayContent,defaultContent:d,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"},c)}return null}(n,l,t,i,s),(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:u,headers:o+" "+s,className:"fc-list-event-title"},c))})},t}(r.$GR);function d(e){return e.text}var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeDateVars=(0,r.BjF)(h),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 o(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>
20?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:f,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,i=n.theme,o=n.options,l=this.state,u=l.timeHeaderId,d=l.eventHeaderId,p=l.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 l=[],h=0;h<f.length;h+=1){var v=f[h];if(v){var g=(0,r.bxH)(t[h]),m=p+"-"+g;l.push((0,r.na4)(s,{key:g,cellId:m,dayDate:t[h],todayRange:n})),v=(0,r.B4w)(v,o.eventOrder);for(var y=0,E=v;y<E.length;y++){var D=E[y];l.push((0,r.na4)(c,a({key:g+":"+D.eventRange.instance.instanceId,seg:D,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:u,eventHeaderId:d,dateHeaderId:m},(0,r.F29)(D,n,e))))}}}return(0,r.na4)("table",{className:"fc-list-table "+i.getClass("table")},(0,r.na4)("thead",null,(0,r.na4)("tr",null,(0,r.na4)("th",{scope:"col",id:u},o.timeHint),(0,r.na4)("th",{scope:"col","aria-hidden":!0}),(0,r.na4)("th",{scope:"col",id:d},o.eventHint))),(0,r.na4)("tbody",null,l))})},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;r<e.length;r++){var i=e[r];n.push.apply(n,this.eventRangeToSegs(i,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]))&&(c.push(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}),!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 f(e){return e.text}function h(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 v={listDayFormat:g,listDaySideFormat:g,noEventsClassNames:r.D_O,noEventsContent:r.D_O,noEventsDidMount:r.D_O,noEventsWillUnmount:r.D_O};function g(e){return!1===e?null:(0,r.xi1)(e)}var m=(0,r.i1g)({optionRefiners:v,views:{list:{component:p,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"}}}})},xkV(e,t,n){n.d(t,{Ay$:()=>l});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=n("dx"),a=n("fD");("u">typeof globalThis?globalThis:window).FullCalendarVDom={Component:o.Component,createElement:o.createElement,render:a.render,createRef:o.createRef,Fragment:o.Fragment,createContext:o.createContext,createPortal:a.createPortal,flushSync:function(e){e()},unmountComponentAtNode:a.unmountComponentAtNode};var s=n("soh"),l=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=n}function n(){var t=null!==e&&e.apply(this,arguments)||this;return t._calendarApi=new s.fhD,t}return r(n,e),n.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),n.prototype.render=function(){return o.createElement(s.IyV,{optionOverrides:this.props,calendarApi:this._calendarApi},function(e){return o.createElement(s.xRE,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},function(t,n,r,a){return o.createElement("div",{className:t.join(" "),style:{height:n}},o.createElement(s.o3v,i({isHeightAuto:r,forPrint:a},e)))})})},n.prototype.getApi=function(){return this._calendarApi},n}(o.Component)},YA(){},Un5(){},Se(){}}]); 3//# sourceMappingURL=vu.1a570c8818.js.map
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.