File manager - Edit - /home/autoph/public_html/projects/ahg-hr/assets/index.esm.a49e35f7.js
Back
import{Q as Rs,T as _t,a8 as Ts,F as xs}from"./index.e8902503.js";var gt,C,Vr,Gr,ce,Fn,Qr,Ft,on,Wt,Vt,qr,Be={},Yr=[],Is=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,pt=Array.isArray;function K(t,e){for(var n in e)t[n]=e[n];return t}function Zr(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function f(t,e,n){var r,i,s,l={};for(s in e)s=="key"?r=e[s]:s=="ref"?i=e[s]:l[s]=e[s];if(arguments.length>2&&(l.children=arguments.length>3?gt.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(s in t.defaultProps)l[s]===void 0&&(l[s]=t.defaultProps[s]);return Xe(t,l,r,i,null)}function Xe(t,e,n,r,i){var s={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++Vr,__i:-1,__u:0};return i==null&&C.vnode!=null&&C.vnode(s),s}function z(){return{current:null}}function T(t){return t.children}function F(t,e){this.props=t,this.context=e}function we(t,e){if(e==null)return t.__?we(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?we(t):null}function $r(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return $r(t)}}function Gt(t){(!t.__d&&(t.__d=!0)&&ce.push(t)&&!nt.__r++||Fn!==C.debounceRendering)&&((Fn=C.debounceRendering)||Qr)(nt)}function nt(){var t,e,n,r,i,s,l,o;for(ce.sort(Ft);t=ce.shift();)t.__d&&(e=ce.length,r=void 0,s=(i=(n=t).__v).__e,l=[],o=[],n.__P&&((r=K({},i)).__v=i.__v+1,C.vnode&&C.vnode(r),an(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[s]:null,l,s??we(i),!!(32&i.__u),o),r.__v=i.__v,r.__.__k[r.__i]=r,Kr(l,r,o),r.__e!=s&&$r(r)),ce.length>e&&ce.sort(Ft));nt.__r=0}function Xr(t,e,n,r,i,s,l,o,a,c,u){var d,g,h,b,m,v=r&&r.__k||Yr,y=e.length;for(n.__d=a,Ms(n,e,v),a=n.__d,d=0;d<y;d++)(h=n.__k[d])!=null&&(g=h.__i===-1?Be:v[h.__i]||Be,h.__i=d,an(t,h,g,i,s,l,o,a,c,u),b=h.__e,h.ref&&g.ref!=h.ref&&(g.ref&&cn(g.ref,null,h),u.push(h.ref,h.__c||b,h)),m==null&&b!=null&&(m=b),65536&h.__u||g.__k===h.__k?a=Jr(h,a,t):typeof h.type=="function"&&h.__d!==void 0?a=h.__d:b&&(a=b.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=a,n.__e=m}function Ms(t,e,n){var r,i,s,l,o,a=e.length,c=n.length,u=c,d=0;for(t.__k=[],r=0;r<a;r++)(i=e[r])!=null&&typeof i!="boolean"&&typeof i!="function"?(l=r+d,(i=t.__k[r]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?Xe(null,i,null,null,null):pt(i)?Xe(T,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?Xe(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=t,i.__b=t.__b+1,s=null,(o=i.__i=ks(i,n,l,u))!==-1&&(u--,(s=n[o])&&(s.__u|=131072)),s==null||s.__v===null?(o==-1&&d--,typeof i.type!="function"&&(i.__u|=65536)):o!==l&&(o==l-1?d--:o==l+1?d++:(o>l?d--:d++,i.__u|=65536))):i=t.__k[r]=null;if(u)for(r=0;r<c;r++)(s=n[r])!=null&&!(131072&s.__u)&&(s.__e==t.__d&&(t.__d=we(s)),ei(s,s))}function Jr(t,e,n){var r,i;if(typeof t.type=="function"){for(r=t.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=t,e=Jr(r[i],e,n));return e}t.__e!=e&&(e&&t.type&&!n.contains(e)&&(e=we(t)),n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function rt(t,e){return e=e||[],t==null||typeof t=="boolean"||(pt(t)?t.some(function(n){rt(n,e)}):e.push(t)),e}function ks(t,e,n,r){var i=t.key,s=t.type,l=n-1,o=n+1,a=e[n];if(a===null||a&&i==a.key&&s===a.type&&!(131072&a.__u))return n;if(r>(a!=null&&!(131072&a.__u)?1:0))for(;l>=0||o<e.length;){if(l>=0){if((a=e[l])&&!(131072&a.__u)&&i==a.key&&s===a.type)return l;l--}if(o<e.length){if((a=e[o])&&!(131072&a.__u)&&i==a.key&&s===a.type)return o;o++}}return-1}function Wn(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||Is.test(e)?n:n+"px"}function Ve(t,e,n,r,i){var s;e:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Wn(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Wn(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")s=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+s]=n,n?r?n.u=r.u:(n.u=on,t.addEventListener(e,s?Vt:Wt,s)):t.removeEventListener(e,s?Vt:Wt,s);else{if(i=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function Vn(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=on++;else if(e.t<n.u)return;return n(C.event?C.event(e):e)}}}function an(t,e,n,r,i,s,l,o,a,c){var u,d,g,h,b,m,v,y,E,D,A,w,N,O,I,oe,B=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(a=!!(32&n.__u),s=[o=e.__e=n.__e]),(u=C.__b)&&u(e);e:if(typeof B=="function")try{if(y=e.props,E="prototype"in B&&B.prototype.render,D=(u=B.contextType)&&r[u.__c],A=u?D?D.props.value:u.__:r,n.__c?v=(d=e.__c=n.__c).__=d.__E:(E?e.__c=d=new B(y,A):(e.__c=d=new F(y,A),d.constructor=B,d.render=Os),D&&D.sub(d),d.props=y,d.state||(d.state={}),d.context=A,d.__n=r,g=d.__d=!0,d.__h=[],d._sb=[]),E&&d.__s==null&&(d.__s=d.state),E&&B.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=K({},d.__s)),K(d.__s,B.getDerivedStateFromProps(y,d.__s))),h=d.props,b=d.state,d.__v=e,g)E&&B.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),E&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(E&&B.getDerivedStateFromProps==null&&y!==h&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(y,A),!d.__e&&(d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(y,d.__s,A)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(d.props=y,d.state=d.__s,d.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(be){be&&(be.__=e)}),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);d._sb=[],d.__h.length&&l.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(y,d.__s,A),E&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(h,b,m)})}if(d.context=A,d.props=y,d.__P=t,d.__e=!1,N=C.__r,O=0,E){for(d.state=d.__s,d.__d=!1,N&&N(e),u=d.render(d.props,d.state,d.context),I=0;I<d._sb.length;I++)d.__h.push(d._sb[I]);d._sb=[]}else do d.__d=!1,N&&N(e),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++O<25);d.state=d.__s,d.getChildContext!=null&&(r=K(K({},r),d.getChildContext())),E&&!g&&d.getSnapshotBeforeUpdate!=null&&(m=d.getSnapshotBeforeUpdate(h,b)),Xr(t,pt(oe=u!=null&&u.type===T&&u.key==null?u.props.children:u)?oe:[oe],e,n,r,i,s,l,o,a,c),d.base=e.__e,e.__u&=-161,d.__h.length&&l.push(d),v&&(d.__E=d.__=null)}catch(be){if(e.__v=null,a||s!=null){for(e.__u|=a?160:128;o&&o.nodeType===8&&o.nextSibling;)o=o.nextSibling;s[s.indexOf(o)]=null,e.__e=o}else e.__e=n.__e,e.__k=n.__k;C.__e(be,e,n)}else s==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=Ns(n.__e,e,n,r,i,s,l,a,c);(u=C.diffed)&&u(e)}function Kr(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)cn(n[r],n[++r],n[++r]);C.__c&&C.__c(e,t),t.some(function(i){try{t=i.__h,i.__h=[],t.some(function(s){s.call(i)})}catch(s){C.__e(s,i.__v)}})}function Ns(t,e,n,r,i,s,l,o,a){var c,u,d,g,h,b,m,v=n.props,y=e.props,E=e.type;if(E==="svg"?i="http://www.w3.org/2000/svg":E==="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),s!=null){for(c=0;c<s.length;c++)if((h=s[c])&&"setAttribute"in h==!!E&&(E?h.localName===E:h.nodeType===3)){t=h,s[c]=null;break}}if(t==null){if(E===null)return document.createTextNode(y);t=document.createElementNS(i,E,y.is&&y),o&&(C.__m&&C.__m(e,s),o=!1),s=null}if(E===null)v===y||o&&t.data===y||(t.data=y);else{if(s=s&>.call(t.childNodes),v=n.props||Be,!o&&s!=null)for(v={},c=0;c<t.attributes.length;c++)v[(h=t.attributes[c]).name]=h.value;for(c in v)if(h=v[c],c!="children"){if(c=="dangerouslySetInnerHTML")d=h;else if(!(c in y)){if(c=="value"&&"defaultValue"in y||c=="checked"&&"defaultChecked"in y)continue;Ve(t,c,null,h,i)}}for(c in y)h=y[c],c=="children"?g=h:c=="dangerouslySetInnerHTML"?u=h:c=="value"?b=h:c=="checked"?m=h:o&&typeof h!="function"||v[c]===h||Ve(t,c,h,v[c],i);if(u)o||d&&(u.__html===d.__html||u.__html===t.innerHTML)||(t.innerHTML=u.__html),e.__k=[];else if(d&&(t.innerHTML=""),Xr(t,pt(g)?g:[g],e,n,r,E==="foreignObject"?"http://www.w3.org/1999/xhtml":i,s,l,s?s[0]:n.__k&&we(n,0),o,a),s!=null)for(c=s.length;c--;)Zr(s[c]);o||(c="value",E==="progress"&&b==null?t.removeAttribute("value"):b!==void 0&&(b!==t[c]||E==="progress"&&!b||E==="option"&&b!==v[c])&&Ve(t,c,b,v[c],i),c="checked",m!==void 0&&m!==t[c]&&Ve(t,c,m,v[c],i))}return t}function cn(t,e,n){try{if(typeof t=="function"){var r=typeof t.__u=="function";r&&t.__u(),r&&e==null||(t.__u=t(e))}else t.current=e}catch(i){C.__e(i,n)}}function ei(t,e,n){var r,i;if(C.unmount&&C.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||cn(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(s){C.__e(s,e)}r.base=r.__P=null}if(r=t.__k)for(i=0;i<r.length;i++)r[i]&&ei(r[i],e,n||typeof t.type!="function");n||Zr(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function Os(t,e,n){return this.constructor(t,n)}function Le(t,e,n){var r,i,s,l;C.__&&C.__(t,e),i=(r=typeof n=="function")?null:n&&n.__k||e.__k,s=[],l=[],an(e,t=(!r&&n||e).__k=f(T,null,[t]),i||Be,Be,e.namespaceURI,!r&&n?[n]:i?null:e.firstChild?gt.call(e.childNodes):null,s,!r&&n?n:i?i.__e:e.firstChild,r,l),Kr(s,t,l)}function Ps(t,e){var n={__c:e="__cC"+qr++,__:t,Consumer:function(r,i){return r.children(i)},Provider:function(r){var i,s;return this.getChildContext||(i=new Set,(s={})[e]=this,this.getChildContext=function(){return s},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(l){this.props.value!==l.value&&i.forEach(function(o){o.__e=!0,Gt(o)})},this.sub=function(l){i.add(l);var o=l.componentWillUnmount;l.componentWillUnmount=function(){i&&i.delete(l),o&&o.call(l)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}gt=Yr.slice,C={__e:function(t,e,n,r){for(var i,s,l;e=e.__;)if((i=e.__c)&&!i.__)try{if((s=i.constructor)&&s.getDerivedStateFromError!=null&&(i.setState(s.getDerivedStateFromError(t)),l=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(t,r||{}),l=i.__d),l)return i.__E=i}catch(o){t=o}throw t}},Vr=0,Gr=function(t){return t!=null&&t.constructor==null},F.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=K({},this.state),typeof t=="function"&&(t=t(K({},n),this.props)),t&&K(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Gt(this))},F.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Gt(this))},F.prototype.render=T,ce=[],Qr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ft=function(t,e){return t.__v.__b-e.__v.__b},nt.__r=0,on=0,Wt=Vn(!1),Vt=Vn(!0),qr=0;var G,Rt,Gn,ti=[],P=C,Qn=P.__b,qn=P.__r,Yn=P.diffed,Zn=P.__c,$n=P.unmount,Xn=P.__;function Hs(){for(var t;t=ti.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Je),t.__H.__h.forEach(Qt),t.__H.__h=[]}catch(e){t.__H.__h=[],P.__e(e,t.__v)}}P.__b=function(t){G=null,Qn&&Qn(t)},P.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Xn&&Xn(t,e)},P.__r=function(t){qn&&qn(t);var e=(G=t.__c).__H;e&&(Rt===G?(e.__h=[],G.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(Je),e.__h.forEach(Qt),e.__h=[])),Rt=G},P.diffed=function(t){Yn&&Yn(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(ti.push(e)!==1&&Gn===P.requestAnimationFrame||((Gn=P.requestAnimationFrame)||Bs)(Hs)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Rt=G=null},P.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Je),n.__h=n.__h.filter(function(r){return!r.__||Qt(r)})}catch(r){e.some(function(i){i.__h&&(i.__h=[])}),e=[],P.__e(r,n.__v)}}),Zn&&Zn(t,e)},P.unmount=function(t){$n&&$n(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Je(r)}catch(i){e=i}}),n.__H=void 0,e&&P.__e(e,n.__v))};var Jn=typeof requestAnimationFrame=="function";function Bs(t){var e,n=function(){clearTimeout(r),Jn&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Jn&&(e=requestAnimationFrame(n))}function Je(t){var e=G,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),G=e}function Qt(t){var e=G;t.__c=t.__(),G=e}function Kn(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function er(t,e){this.props=t,this.context=e}(er.prototype=new F).isPureReactComponent=!0,er.prototype.shouldComponentUpdate=function(t,e){return Kn(this.props,t)||Kn(this.state,e)};var tr=C.__b;C.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),tr&&tr(t)};var Ls=C.__e;C.__e=function(t,e,n,r){if(t.then){for(var i,s=e;s=s.__;)if((i=s.__c)&&i.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),i.__c(t,e)}Ls(t,e,n,r)};var nr=C.unmount;function ni(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=function(r,i){for(var s in i)r[s]=i[s];return r}({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return ni(r,e,n)})),t}function ri(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return ri(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function Tt(){this.__u=0,this.t=null,this.__b=null}function ii(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Ge(){this.u=null,this.o=null}C.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),nr&&nr(t)},(Tt.prototype=new F).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var i=ii(r.__v),s=!1,l=function(){s||(s=!0,n.__R=null,i?i(o):o())};n.__R=l;var o=function(){if(!--r.__u){if(r.state.__a){var a=r.state.__a;r.__v.__k[0]=ri(a,a.__c.__P,a.__c.__O)}var c;for(r.setState({__a:r.__b=null});c=r.t.pop();)c.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(l,l)},Tt.prototype.componentWillUnmount=function(){this.t=[]},Tt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=ni(this.__b,n,r.__O=r.__P)}this.__b=null}var i=e.__a&&f(T,null,t.fallback);return i&&(i.__u&=-33),[f(T,null,e.__a?null:t.children),i]};var rr=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function Us(t){return this.getChildContext=function(){return t.context},t.children}function js(t){var e=this,n=t.i;e.componentWillUnmount=function(){Le(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,i){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Le(f(Us,{context:e.context},t.__v),e.l)}function zs(t,e){var n=f(js,{__v:t,i:e});return n.containerInfo=e,n}(Ge.prototype=new F).__a=function(t){var e=this,n=ii(e.__v),r=e.o.get(t);return r[0]++,function(i){var s=function(){e.props.revealOrder?(r.push(i),rr(e,t,r)):i()};n?n(s):s()}},Ge.prototype.render=function(t){this.u=null,this.o=new Map;var e=rt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Ge.prototype.componentDidUpdate=Ge.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){rr(t,n,e)})};var Fs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ws=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Vs=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Gs=/[A-Z0-9]/g,Qs=typeof document<"u",qs=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};F.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(F.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var ir=C.event;function Ys(){}function Zs(){return this.cancelBubble}function $s(){return this.defaultPrevented}C.event=function(t){return ir&&(t=ir(t)),t.persist=Ys,t.isPropagationStopped=Zs,t.isDefaultPrevented=$s,t.nativeEvent=t};var Xs={enumerable:!1,configurable:!0,get:function(){return this.class}},sr=C.vnode;C.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,i={},s=r.indexOf("-")===-1;for(var l in n){var o=n[l];if(!(l==="value"&&"defaultValue"in n&&o==null||Qs&&l==="children"&&r==="noscript"||l==="class"||l==="className")){var a=l.toLowerCase();l==="defaultValue"&&"value"in n&&n.value==null?l="value":l==="download"&&o===!0?o="":a==="translate"&&o==="no"?o=!1:a[0]==="o"&&a[1]==="n"?a==="ondoubleclick"?l="ondblclick":a!=="onchange"||r!=="input"&&r!=="textarea"||qs(n.type)?a==="onfocus"?l="onfocusin":a==="onblur"?l="onfocusout":Vs.test(l)&&(l=a):a=l="oninput":s&&Ws.test(l)?l=l.replace(Gs,"-$&").toLowerCase():o===null&&(o=void 0),a==="oninput"&&i[l=a]&&(l="oninputCapture"),i[l]=o}}r=="select"&&i.multiple&&Array.isArray(i.value)&&(i.value=rt(n.children).forEach(function(c){c.props.selected=i.value.indexOf(c.props.value)!=-1})),r=="select"&&i.defaultValue!=null&&(i.value=rt(n.children).forEach(function(c){c.props.selected=i.multiple?i.defaultValue.indexOf(c.props.value)!=-1:i.defaultValue==c.props.value})),n.class&&!n.className?(i.class=n.class,Object.defineProperty(i,"className",Xs)):(n.className&&!n.class||n.class&&n.className)&&(i.class=i.className=n.className),e.props=i}(t),t.$$typeof=Fs,sr&&sr(t)};var lr=C.__r;C.__r=function(t){lr&&lr(t),t.__c};var or=C.diffed;C.diffed=function(t){or&&or(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value)};function dn(t){t.parentNode&&t.parentNode.removeChild(t)}function L(t,e){if(t.closest)return t.closest(e);if(!document.documentElement.contains(t))return null;do{if(Js(t,e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1);return null}function Js(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector).call(t,e)}function Ks(t,e){let n=t instanceof HTMLElement?[t]:t,r=[];for(let i=0;i<n.length;i+=1){let s=n[i].querySelectorAll(e);for(let l=0;l<s.length;l+=1)r.push(s[l])}return r}const el=/(top|left|right|bottom|width|height)$/i;function Ne(t,e){for(let n in e)si(t,n,e[n])}function si(t,e,n){n==null?t.style[e]="":typeof n=="number"&&el.test(e)?t.style[e]=`${n}px`:t.style[e]=n}function li(t){var e,n;return(n=(e=t.composedPath)===null||e===void 0?void 0:e.call(t)[0])!==null&&n!==void 0?n:t.target}function oi(t){return t.getRootNode?t.getRootNode():document}let ar=0;function ne(){return ar+=1,"fc-dom-"+ar}function mt(t){t.preventDefault()}function tl(t,e){return n=>{let r=L(n.target,t);r&&e.call(r,n,r)}}function ai(t,e,n,r){let i=tl(n,r);return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}function nl(t,e,n,r){let i;return ai(t,"mouseover",e,(s,l)=>{if(l!==i){i=l,n(s,l);let o=a=>{i=null,r(a,l),l.removeEventListener("mouseleave",o)};l.addEventListener("mouseleave",o)}})}const cr=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function rl(t,e){let n=r=>{e(r),cr.forEach(i=>{t.removeEventListener(i,n)})};cr.forEach(r=>{t.addEventListener(r,n)})}function ci(t){return Object.assign({onClick:t},di(t))}function di(t){return{tabIndex:0,onKeyDown(e){(e.key==="Enter"||e.key===" ")&&(t(e),e.preventDefault())}}}let dr=0;function me(){return dr+=1,String(dr)}function un(){document.body.classList.add("fc-not-allowed")}function fn(){document.body.classList.remove("fc-not-allowed")}function il(t){t.classList.add("fc-unselectable"),t.addEventListener("selectstart",mt)}function sl(t){t.classList.remove("fc-unselectable"),t.removeEventListener("selectstart",mt)}function ll(t){t.addEventListener("contextmenu",mt)}function ol(t){t.removeEventListener("contextmenu",mt)}function al(t){let e=[],n=[],r,i;for(typeof t=="string"?n=t.split(/\s*,\s*/):typeof t=="function"?n=[t]:Array.isArray(t)&&(n=t),r=0;r<n.length;r+=1)i=n[r],typeof i=="string"?e.push(i.charAt(0)==="-"?{field:i.substring(1),order:-1}:{field:i,order:1}):typeof i=="function"&&e.push({func:i});return e}function cl(t,e,n){let r,i;for(r=0;r<n.length;r+=1)if(i=dl(t,e,n[r]),i)return i;return 0}function dl(t,e,n){return n.func?n.func(t,e):ul(t[n.field],e[n.field])*(n.order||1)}function ul(t,e){return!t&&!e?0:e==null?-1:t==null?1:typeof t=="string"||typeof e=="string"?String(t).localeCompare(String(e)):t-e}function Ae(t,e){let n=String(t);return"000".substr(0,e-n.length)+n}function Oe(t,e,n){return typeof t=="function"?t(...e):typeof t=="string"?e.reduce((r,i,s)=>r.replace("$"+s,i||""),t):n}function fl(t,e){return t-e}function Ke(t){return t%1===0}function hl(t){let e=t.querySelector(".fc-scrollgrid-shrink-frame"),n=t.querySelector(".fc-scrollgrid-shrink-cushion");if(!e)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return t.getBoundingClientRect().width-e.getBoundingClientRect().width+n.getBoundingClientRect().width}const ur=["years","months","days","milliseconds"],gl=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function _(t,e){return typeof t=="string"?pl(t):typeof t=="object"&&t?fr(t):typeof t=="number"?fr({[e||"milliseconds"]:t}):null}function pl(t){let e=gl.exec(t);if(e){let n=e[1]?-1:1;return{years:0,months:0,days:n*(e[2]?parseInt(e[2],10):0),milliseconds:n*((e[3]?parseInt(e[3],10):0)*60*60*1e3+(e[4]?parseInt(e[4],10):0)*60*1e3+(e[5]?parseInt(e[5],10):0)*1e3+(e[6]?parseInt(e[6],10):0))}}return null}function fr(t){let e={years:t.years||t.year||0,months:t.months||t.month||0,days:t.days||t.day||0,milliseconds:(t.hours||t.hour||0)*60*60*1e3+(t.minutes||t.minute||0)*60*1e3+(t.seconds||t.second||0)*1e3+(t.milliseconds||t.millisecond||t.ms||0)},n=t.weeks||t.week;return n&&(e.days+=n*7,e.specifiedWeeks=!0),e}function ml(t,e){return t.years===e.years&&t.months===e.months&&t.days===e.days&&t.milliseconds===e.milliseconds}function qt(t,e){return{years:t.years+e.years,months:t.months+e.months,days:t.days+e.days,milliseconds:t.milliseconds+e.milliseconds}}function vl(t,e){return{years:t.years-e.years,months:t.months-e.months,days:t.days-e.days,milliseconds:t.milliseconds-e.milliseconds}}function bl(t,e){return{years:t.years*e,months:t.months*e,days:t.days*e,milliseconds:t.milliseconds*e}}function yl(t){return De(t)/365}function El(t){return De(t)/30}function De(t){return V(t)/864e5}function V(t){return t.years*(365*864e5)+t.months*(30*864e5)+t.days*864e5+t.milliseconds}function hn(t,e){let n=null;for(let r=0;r<ur.length;r+=1){let i=ur[r];if(e[i]){let s=t[i]/e[i];if(!Ke(s)||n!==null&&n!==s)return null;n=s}else if(t[i])return null}return n}function Yt(t){let e=t.milliseconds;if(e){if(e%1e3!==0)return{unit:"millisecond",value:e};if(e%(1e3*60)!==0)return{unit:"second",value:e/1e3};if(e%(1e3*60*60)!==0)return{unit:"minute",value:e/(1e3*60)};if(e)return{unit:"hour",value:e/(1e3*60*60)}}return t.days?t.specifiedWeeks&&t.days%7===0?{unit:"week",value:t.days/7}:{unit:"day",value:t.days}:t.months?{unit:"month",value:t.months}:t.years?{unit:"year",value:t.years}:{unit:"millisecond",value:0}}const{hasOwnProperty:it}=Object.prototype;function gn(t,e){let n={};if(e)for(let r in e){let i=[];for(let s=t.length-1;s>=0;s-=1){let l=t[s][r];if(typeof l=="object"&&l)i.unshift(l);else if(l!==void 0){n[r]=l;break}}i.length&&(n[r]=gn(i))}for(let r=t.length-1;r>=0;r-=1){let i=t[r];for(let s in i)s in n||(n[s]=i[s])}return n}function fe(t,e){let n={};for(let r in t)e(t[r],r)&&(n[r]=t[r]);return n}function X(t,e){let n={};for(let r in t)n[r]=e(t[r],r);return n}function ui(t){let e={};for(let n of t)e[n]=!0;return e}function pn(t){let e=[];for(let n in t)e.push(t[n]);return e}function Q(t,e){if(t===e)return!0;for(let n in t)if(it.call(t,n)&&!(n in e))return!1;for(let n in e)if(it.call(e,n)&&t[n]!==e[n])return!1;return!0}const Sl=/^on[A-Z]/;function Al(t,e){const n=Zt(t,e);for(let r of n)if(!Sl.test(r))return!1;return!0}function Zt(t,e){let n=[];for(let r in t)it.call(t,r)&&(r in e||n.push(r));for(let r in e)it.call(e,r)&&t[r]!==e[r]&&n.push(r);return n}function xt(t,e,n={}){if(t===e)return!0;for(let r in e)if(!(r in t&&Dl(t[r],e[r],n[r])))return!1;for(let r in t)if(!(r in e))return!1;return!0}function Dl(t,e,n){return t===e||n===!0?!0:n?n(t,e):!1}function Cl(t,e=0,n,r=1){let i=[];n==null&&(n=Object.keys(t).length);for(let s=e;s<n;s+=r){let l=t[s];l!==void 0&&i.push(l)}return i}const wl=["sun","mon","tue","wed","thu","fri","sat"];function hr(t,e){let n=ee(t);return n[2]+=e*7,j(n)}function H(t,e){let n=ee(t);return n[2]+=e,j(n)}function he(t,e){let n=ee(t);return n[6]+=e,j(n)}function _l(t,e){return se(t,e)/7}function se(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60*24)}function Rl(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60)}function Tl(t,e){return(e.valueOf()-t.valueOf())/(1e3*60)}function xl(t,e){return(e.valueOf()-t.valueOf())/1e3}function Il(t,e){let n=x(t),r=x(e);return{years:0,months:0,days:Math.round(se(n,r)),milliseconds:e.valueOf()-r.valueOf()-(t.valueOf()-n.valueOf())}}function Ml(t,e){let n=st(t,e);return n!==null&&n%7===0?n/7:null}function st(t,e){return te(t)===te(e)?Math.round(se(t,e)):null}function x(t){return j([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()])}function kl(t){return j([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()])}function Nl(t){return j([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes()])}function Ol(t){return j([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()])}function Pl(t,e,n){let r=t.getUTCFullYear(),i=It(t,r,e,n);if(i<1)return It(t,r-1,e,n);let s=It(t,r+1,e,n);return s>=1?Math.min(i,s):i}function It(t,e,n,r){let i=j([e,0,1+Hl(e,n,r)]),s=x(t),l=Math.round(se(i,s));return Math.floor(l/7)+1}function Hl(t,e,n){let r=7+e-n;return-((7+j([t,0,r]).getUTCDay()-e)%7)+r-1}function gr(t){return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()]}function pr(t){return new Date(t[0],t[1]||0,t[2]==null?1:t[2],t[3]||0,t[4]||0,t[5]||0)}function ee(t){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()]}function j(t){return t.length===1&&(t=t.concat([0])),new Date(Date.UTC(...t))}function fi(t){return!isNaN(t.valueOf())}function te(t){return t.getUTCHours()*1e3*60*60+t.getUTCMinutes()*1e3*60+t.getUTCSeconds()*1e3+t.getUTCMilliseconds()}function hi(t,e,n=!1){let r=t.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(e==null?r=r.replace("Z",""):e!==0&&(r=r.replace("Z",mn(e,!0)))),r}function vt(t){return t.toISOString().replace(/T.*$/,"")}function Bl(t){return Ae(t.getUTCHours(),2)+":"+Ae(t.getUTCMinutes(),2)+":"+Ae(t.getUTCSeconds(),2)}function mn(t,e=!1){let n=t<0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),s=Math.round(r%60);return e?`${n+Ae(i,2)}:${Ae(s,2)}`:`GMT${n}${i}${s?`:${Ae(s,2)}`:""}`}function ge(t,e,n){if(t===e)return!0;let r=t.length,i;if(r!==e.length)return!1;for(i=0;i<r;i+=1)if(!(n?n(t[i],e[i]):t[i]===e[i]))return!1;return!0}function S(t,e,n){let r,i;return function(...s){if(!r)i=t.apply(this,s);else if(!ge(r,s)){n&&n(i);let l=t.apply(this,s);(!e||!e(l,i))&&(i=l)}return r=s,i}}function et(t,e,n){let r,i;return s=>{if(!r)i=t.call(this,s);else if(!Q(r,s)){n&&n(i);let l=t.call(this,s);(!e||!e(l,i))&&(i=l)}return r=s,i}}const mr={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},lt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Qe=/\s*([ap])\.?m\.?/i,Ll=/,/g,Ul=/\s+/g,jl=/\u200e/g,zl=/UTC|GMT/;class Fl{constructor(e){let n={},r={},i=0;for(let s in e)s in mr?(r[s]=e[s],i=Math.max(mr[s],i)):(n[s]=e[s],s in lt&&(i=Math.max(lt[s],i)));this.standardDateProps=n,this.extendedSettings=r,this.severity=i,this.buildFormattingFunc=S(vr)}format(e,n){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,n)(e)}formatRange(e,n,r,i){let{standardDateProps:s,extendedSettings:l}=this,o=Yl(e.marker,n.marker,r.calendarSystem);if(!o)return this.format(e,r);let a=o;a>1&&(s.year==="numeric"||s.year==="2-digit")&&(s.month==="numeric"||s.month==="2-digit")&&(s.day==="numeric"||s.day==="2-digit")&&(a=1);let c=this.format(e,r),u=this.format(n,r);if(c===u)return c;let d=Zl(s,a),g=vr(d,l,r),h=g(e),b=g(n),m=$l(c,h,u,b),v=l.separator||i||r.defaultSeparator||"";return m?m.before+h+v+b+m.after:c+v+u}getLargestUnit(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function vr(t,e,n){let r=Object.keys(t).length;return r===1&&t.timeZoneName==="short"?i=>mn(i.timeZoneOffset):r===0&&e.week?i=>ql(n.computeWeekNumber(i.marker),n.weekText,n.weekTextLong,n.locale,e.week):Wl(t,e,n)}function Wl(t,e,n){t=Object.assign({},t),e=Object.assign({},e),Vl(t,e),t.timeZone="UTC";let r=new Intl.DateTimeFormat(n.locale.codes,t),i;if(e.omitZeroMinute){let s=Object.assign({},t);delete s.minute,i=new Intl.DateTimeFormat(n.locale.codes,s)}return s=>{let{marker:l}=s,o;i&&!l.getUTCMinutes()?o=i:o=r;let a=o.format(l);return Gl(a,s,t,e,n)}}function Vl(t,e){t.timeZoneName&&(t.hour||(t.hour="2-digit"),t.minute||(t.minute="2-digit")),t.timeZoneName==="long"&&(t.timeZoneName="short"),e.omitZeroMinute&&(t.second||t.millisecond)&&delete e.omitZeroMinute}function Gl(t,e,n,r,i){return t=t.replace(jl,""),n.timeZoneName==="short"&&(t=Ql(t,i.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":mn(e.timeZoneOffset))),r.omitCommas&&(t=t.replace(Ll,"").trim()),r.omitZeroMinute&&(t=t.replace(":00","")),r.meridiem===!1?t=t.replace(Qe,"").trim():r.meridiem==="narrow"?t=t.replace(Qe,(s,l)=>l.toLocaleLowerCase()):r.meridiem==="short"?t=t.replace(Qe,(s,l)=>`${l.toLocaleLowerCase()}m`):r.meridiem==="lowercase"&&(t=t.replace(Qe,s=>s.toLocaleLowerCase())),t=t.replace(Ul," "),t=t.trim(),t}function Ql(t,e){let n=!1;return t=t.replace(zl,()=>(n=!0,e)),n||(t+=` ${e}`),t}function ql(t,e,n,r,i){let s=[];return i==="long"?s.push(n):(i==="short"||i==="narrow")&&s.push(e),(i==="long"||i==="short")&&s.push(" "),s.push(r.simpleNumberFormat.format(t)),r.options.direction==="rtl"&&s.reverse(),s.join("")}function Yl(t,e,n){return n.getMarkerYear(t)!==n.getMarkerYear(e)?5:n.getMarkerMonth(t)!==n.getMarkerMonth(e)?4:n.getMarkerDay(t)!==n.getMarkerDay(e)?2:te(t)!==te(e)?1:0}function Zl(t,e){let n={};for(let r in t)(!(r in lt)||lt[r]<=e)&&(n[r]=t[r]);return n}function $l(t,e,n,r){let i=0;for(;i<t.length;){let s=t.indexOf(e,i);if(s===-1)break;let l=t.substr(0,s);i=s+e.length;let o=t.substr(i),a=0;for(;a<n.length;){let c=n.indexOf(r,a);if(c===-1)break;let u=n.substr(0,c);a=c+r.length;let d=n.substr(a);if(l===u&&o===d)return{before:l,after:o}}}return null}function br(t,e){let n=e.markerToArray(t.marker);return{marker:t.marker,timeZoneOffset:t.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 ot(t,e,n,r){let i=br(t,n.calendarSystem),s=e?br(e,n.calendarSystem):null;return{date:i,start:i,end:s,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}class Xl{constructor(e){this.cmdStr=e}format(e,n,r){return n.cmdFormatter(this.cmdStr,ot(e,null,n,r))}formatRange(e,n,r,i){return r.cmdFormatter(this.cmdStr,ot(e,n,r,i))}}class Jl{constructor(e){this.func=e}format(e,n,r){return this.func(ot(e,null,n,r))}formatRange(e,n,r,i){return this.func(ot(e,n,r,i))}}function M(t){return typeof t=="object"&&t?new Fl(t):typeof t=="string"?new Xl(t):typeof t=="function"?new Jl(t):null}const yr={navLinkDayClick:p,navLinkWeekClick:p,duration:_,bootstrapFontAwesome:p,buttonIcons:p,customButtons:p,defaultAllDayEventDuration:_,defaultTimedEventDuration:_,nextDayThreshold:_,scrollTime:_,scrollTimeReset:Boolean,slotMinTime:_,slotMaxTime:_,dayPopoverFormat:M,slotDuration:_,snapDuration:_,headerToolbar:p,footerToolbar:p,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:M,dayHeaderClassNames:p,dayHeaderContent:p,dayHeaderDidMount:p,dayHeaderWillUnmount:p,dayCellClassNames:p,dayCellContent:p,dayCellDidMount:p,dayCellWillUnmount:p,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:p,weekNumbers:Boolean,weekNumberClassNames:p,weekNumberContent:p,weekNumberDidMount:p,weekNumberWillUnmount:p,editable:Boolean,viewClassNames:p,viewDidMount:p,viewWillUnmount:p,nowIndicator:Boolean,nowIndicatorClassNames:p,nowIndicatorContent:p,nowIndicatorDidMount:p,nowIndicatorWillUnmount:p,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:p,locale:p,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:p,eventOrder:al,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:p,contentHeight:p,direction:String,weekNumberFormat:M,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:p,initialDate:p,now:p,eventDataTransform:p,stickyHeaderDates:p,stickyFooterScrollbar:p,viewHeight:p,defaultAllDay:Boolean,eventSourceFailure:p,eventSourceSuccess:p,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:p,eventConstraint:p,eventAllow:p,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:p,eventContent:p,eventDidMount:p,eventWillUnmount:p,selectConstraint:p,selectOverlap:p,selectAllow:p,droppable:Boolean,unselectCancel:String,slotLabelFormat:p,slotLaneClassNames:p,slotLaneContent:p,slotLaneDidMount:p,slotLaneWillUnmount:p,slotLabelClassNames:p,slotLabelContent:p,slotLabelDidMount:p,slotLabelWillUnmount:p,dayMaxEvents:p,dayMaxEventRows:p,dayMinWidth:Number,slotLabelInterval:_,allDayText:String,allDayClassNames:p,allDayContent:p,allDayDidMount:p,allDayWillUnmount:p,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:M,rerenderDelay:Number,moreLinkText:p,moreLinkHint:p,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:p,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:_,hiddenDays:p,monthMode:Boolean,fixedWeekCount:Boolean,validRange:p,visibleRange:p,titleFormat:p,eventInteractive:Boolean,noEventsText:String,viewHint:p,navLinkHint:p,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:p,moreLinkClassNames:p,moreLinkContent:p,moreLinkDidMount:p,moreLinkWillUnmount:p,handleCustomRendering:p,customRenderingMetaMap:p,customRenderingReplacesEl:Boolean},Pe={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},Er={datesSet:p,eventsSet:p,eventAdd:p,eventChange:p,eventRemove:p,windowResize:p,eventClick:p,eventMouseEnter:p,eventMouseLeave:p,select:p,unselect:p,loading:p,_unmount:p,_beforeprint:p,_afterprint:p,_noEventDrop:p,_noEventResize:p,_resize:p,_scrollRequest:p},Sr={buttonText:p,buttonHints:p,views:p,plugins:p,initialEvents:p,events:p,eventSources:p},ae={headerToolbar:ye,footerToolbar:ye,buttonText:ye,buttonHints:ye,buttonIcons:ye,dateIncrement:ye};function ye(t,e){return typeof t=="object"&&typeof e=="object"&&t&&e?Q(t,e):t===e}const Kl={type:String,component:p,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:p,usesMinMaxTime:Boolean,classNames:p,content:p,didMount:p,willUnmount:p};function Mt(t){return gn(t,ae)}function vn(t,e){let n={},r={};for(let i in e)i in t&&(n[i]=e[i](t[i]));for(let i in t)i in e||(r[i]=t[i]);return{refined:n,extra:r}}function p(t){return t}function bn(t,e,n,r){return{instanceId:me(),defId:t,range:e,forcedStartTzo:n??null,forcedEndTzo:r??null}}function eo(t,e,n,r){for(let i=0;i<r.length;i+=1){let s=r[i].parse(t,n);if(s){let{allDay:l}=t;return l==null&&(l=e,l==null&&(l=s.allDayGuess,l==null&&(l=!1))),{allDay:l,duration:s.duration,typeData:s.typeData,typeId:i}}}return null}function _e(t,e,n){let{dateEnv:r,pluginHooks:i,options:s}=n,{defs:l,instances:o}=t;o=fe(o,a=>!l[a.defId].recurringDef);for(let a in l){let c=l[a];if(c.recurringDef){let{duration:u}=c.recurringDef;u||(u=c.allDay?s.defaultAllDayEventDuration:s.defaultTimedEventDuration);let d=to(c,u,e,r,i.recurringTypes);for(let g of d){let h=bn(a,{start:g,end:r.add(g,u)});o[h.instanceId]=h}}}return{defs:l,instances:o}}function to(t,e,n,r,i){let l=i[t.recurringDef.typeId].expand(t.recurringDef.typeData,{start:r.subtract(n.start,e),end:n.end},r);return t.allDay&&(l=l.map(x)),l}function at(t,e,n,r){let i=W(),s=Sn(n);for(let l of t){let o=mi(l,e,n,r,s);o&&$t(o,i)}return i}function $t(t,e=W()){return e.defs[t.def.defId]=t.def,t.instance&&(e.instances[t.instance.instanceId]=t.instance),e}function yn(t,e){let n=t.instances[e];if(n){let r=t.defs[n.defId],i=bt(t,s=>no(r,s));return i.defs[r.defId]=r,i.instances[n.instanceId]=n,i}return W()}function no(t,e){return!!(t.groupId&&t.groupId===e.groupId)}function W(){return{defs:{},instances:{}}}function En(t,e){return{defs:Object.assign(Object.assign({},t.defs),e.defs),instances:Object.assign(Object.assign({},t.instances),e.instances)}}function bt(t,e){let n=fe(t.defs,e),r=fe(t.instances,i=>n[i.defId]);return{defs:n,instances:r}}function ro(t,e){let{defs:n,instances:r}=t,i={},s={};for(let l in n)e.defs[l]||(i[l]=n[l]);for(let l in r)!e.instances[l]&&i[r[l].defId]&&(s[l]=r[l]);return{defs:i,instances:s}}function io(t,e){return Array.isArray(t)?at(t,null,e,!0):typeof t=="object"&&t?at([t],null,e,!0):t!=null?String(t):null}function Ar(t){return Array.isArray(t)?t:typeof t=="string"?t.split(/\s+/):[]}const ct={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:p,overlap:p,allow:p,className:Ar,classNames:Ar,color:String,backgroundColor:String,borderColor:String,textColor:String},so={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function dt(t,e){let n=io(t.constraint,e);return{display:t.display||null,startEditable:t.startEditable!=null?t.startEditable:t.editable,durationEditable:t.durationEditable!=null?t.durationEditable:t.editable,constraints:n!=null?[n]:[],overlap:t.overlap!=null?t.overlap:null,allows:t.allow!=null?[t.allow]:[],backgroundColor:t.backgroundColor||t.color||"",borderColor:t.borderColor||t.color||"",textColor:t.textColor||"",classNames:(t.className||[]).concat(t.classNames||[])}}function gi(t){return t.reduce(lo,so)}function lo(t,e){return{display:e.display!=null?e.display:t.display,startEditable:e.startEditable!=null?e.startEditable:t.startEditable,durationEditable:e.durationEditable!=null?e.durationEditable:t.durationEditable,constraints:t.constraints.concat(e.constraints),overlap:typeof e.overlap=="boolean"?e.overlap:t.overlap,allows:t.allows.concat(e.allows),backgroundColor:e.backgroundColor||t.backgroundColor,borderColor:e.borderColor||t.borderColor,textColor:e.textColor||t.textColor,classNames:t.classNames.concat(e.classNames)}}const tt={id:String,groupId:String,title:String,url:String,interactive:Boolean},pi={start:p,end:p,date:p,allDay:Boolean},oo=Object.assign(Object.assign(Object.assign({},tt),pi),{extendedProps:p});function mi(t,e,n,r,i=Sn(n)){let{refined:s,extra:l}=vi(t,n,i),o=co(e,n),a=eo(s,o,n.dateEnv,n.pluginHooks.recurringTypes);if(a){let u=Xt(s,l,e?e.sourceId:"",a.allDay,!!a.duration,n);return u.recurringDef={typeId:a.typeId,typeData:a.typeData,duration:a.duration},{def:u,instance:null}}let c=ao(s,o,n,r);if(c){let u=Xt(s,l,e?e.sourceId:"",c.allDay,c.hasEnd,n),d=bn(u.defId,c.range,c.forcedStartTzo,c.forcedEndTzo);return{def:u,instance:d}}return null}function vi(t,e,n=Sn(e)){return vn(t,n)}function Sn(t){return Object.assign(Object.assign(Object.assign({},ct),oo),t.pluginHooks.eventRefiners)}function Xt(t,e,n,r,i,s){let l={title:t.title||"",groupId:t.groupId||"",publicId:t.id||"",url:t.url||"",recurringDef:null,defId:me(),sourceId:n,allDay:r,hasEnd:i,interactive:t.interactive,ui:dt(t,s),extendedProps:Object.assign(Object.assign({},t.extendedProps||{}),e)};for(let o of s.pluginHooks.eventDefMemberAdders)Object.assign(l,o(t));return Object.freeze(l.ui.classNames),Object.freeze(l.extendedProps),l}function ao(t,e,n,r){let{allDay:i}=t,s,l=null,o=!1,a,c=null,u=t.start!=null?t.start:t.date;if(s=n.dateEnv.createMarkerMeta(u),s)l=s.marker;else if(!r)return null;return t.end!=null&&(a=n.dateEnv.createMarkerMeta(t.end)),i==null&&(e!=null?i=e:i=(!s||s.isTimeUnspecified)&&(!a||a.isTimeUnspecified)),i&&l&&(l=x(l)),a&&(c=a.marker,i&&(c=x(c)),l&&c<=l&&(c=null)),c?o=!0:r||(o=n.options.forceEventDuration||!1,c=n.dateEnv.add(l,i?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:i,hasEnd:o,range:{start:l,end:c},forcedStartTzo:s?s.forcedTzo:null,forcedEndTzo:a?a.forcedTzo:null}}function co(t,e){let n=null;return t&&(n=t.defaultAllDay),n==null&&(n=e.options.defaultAllDay),n}const uo={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function fo(t,e){return at(ho(t),null,e)}function ho(t){let e;return t===!0?e=[{}]:Array.isArray(t)?e=t.filter(n=>n.daysOfWeek):typeof t=="object"&&t?e=[t]:e=[],e=e.map(n=>Object.assign(Object.assign({},uo),n)),e}function bi(t){let e=Math.floor(se(t.start,t.end))||1,n=x(t.start),r=H(n,e);return{start:n,end:r}}function An(t,e=_(0)){let n=null,r=null;if(t.end){r=x(t.end);let i=t.end.valueOf()-r.valueOf();i&&i>=V(e)&&(r=H(r,1))}return t.start&&(n=x(t.start),r&&r<=n&&(r=H(n,1))),{start:n,end:r}}function go(t){let e=An(t);return se(e.start,e.end)>1}function Se(t,e,n,r){return r==="year"?_(n.diffWholeYears(t,e),"year"):r==="month"?_(n.diffWholeMonths(t,e),"month"):Il(t,e)}function po(t,e){return t.left>=e.left&&t.left<e.right&&t.top>=e.top&&t.top<e.bottom}function yi(t,e){let n={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return n.left<n.right&&n.top<n.bottom?n:!1}function mo(t,e){return{left:Math.min(Math.max(t.left,e.left),e.right),top:Math.min(Math.max(t.top,e.top),e.bottom)}}function vo(t){return{left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}}function bo(t,e){return{left:t.left-e.left,top:t.top-e.top}}let kt;function Ei(){return kt==null&&(kt=yo()),kt}function yo(){if(typeof document>"u")return!0;let t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.innerHTML="<table><tr><td><div></div></td></tr></table>",t.querySelector("table").style.height="100px",t.querySelector("div").style.height="100%",document.body.appendChild(t);let n=t.querySelector("div").offsetHeight>0;return document.body.removeChild(t),n}const Nt=W();class Eo{constructor(){this.getKeysForEventDefs=S(this._getKeysForEventDefs),this.splitDateSelection=S(this._splitDateSpan),this.splitEventStore=S(this._splitEventStore),this.splitIndividualUi=S(this._splitIndividualUi),this.splitEventDrag=S(this._splitInteraction),this.splitEventResize=S(this._splitInteraction),this.eventUiBuilders={}}splitProps(e){let n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),i=this.splitDateSelection(e.dateSelection),s=this.splitIndividualUi(e.eventUiBases,r),l=this.splitEventStore(e.eventStore,r),o=this.splitEventDrag(e.eventDrag),a=this.splitEventResize(e.eventResize),c={};this.eventUiBuilders=X(n,(u,d)=>this.eventUiBuilders[d]||S(So));for(let u in n){let d=n[u],g=l[u]||Nt,h=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||e.businessHours,dateSelection:i[u]||null,eventStore:g,eventUiBases:h(e.eventUiBases[""],d.ui,s[u]),eventSelection:g.instances[e.eventSelection]?e.eventSelection:"",eventDrag:o[u]||null,eventResize:a[u]||null}}return c}_splitDateSpan(e){let n={};if(e){let r=this.getKeysForDateSpan(e);for(let i of r)n[i]=e}return n}_getKeysForEventDefs(e){return X(e.defs,n=>this.getKeysForEventDef(n))}_splitEventStore(e,n){let{defs:r,instances:i}=e,s={};for(let l in r)for(let o of n[l])s[o]||(s[o]=W()),s[o].defs[l]=r[l];for(let l in i){let o=i[l];for(let a of n[o.defId])s[a]&&(s[a].instances[l]=o)}return s}_splitIndividualUi(e,n){let r={};for(let i in e)if(i)for(let s of n[i])r[s]||(r[s]={}),r[s][i]=e[i];return r}_splitInteraction(e){let n={};if(e){let r=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),i=this._getKeysForEventDefs(e.mutatedEvents),s=this._splitEventStore(e.mutatedEvents,i),l=o=>{n[o]||(n[o]={affectedEvents:r[o]||Nt,mutatedEvents:s[o]||Nt,isEvent:e.isEvent})};for(let o in r)l(o);for(let o in s)l(o)}return n}}function So(t,e,n){let r=[];t&&r.push(t),e&&r.push(e);let i={"":gi(r)};return n&&Object.assign(i,n),i}function Ao(t,e){let n=null,r=null;return t.start&&(n=e.createMarker(t.start)),t.end&&(r=e.createMarker(t.end)),!n&&!r||n&&r&&r<n?null:{start:n,end:r}}function Dr(t,e){let n=[],{start:r}=e,i,s;for(t.sort(Do),i=0;i<t.length;i+=1)s=t[i],s.start>r&&n.push({start:r,end:s.start}),s.end>r&&(r=s.end);return r<e.end&&n.push({start:r,end:e.end}),n}function Do(t,e){return t.start.valueOf()-e.start.valueOf()}function pe(t,e){let{start:n,end:r}=t,i=null;return e.start!==null&&(n===null?n=e.start:n=new Date(Math.max(n.valueOf(),e.start.valueOf()))),e.end!=null&&(r===null?r=e.end:r=new Date(Math.min(r.valueOf(),e.end.valueOf()))),(n===null||r===null||n<r)&&(i={start:n,end:r}),i}function Co(t,e){return(t.start===null?null:t.start.valueOf())===(e.start===null?null:e.start.valueOf())&&(t.end===null?null:t.end.valueOf())===(e.end===null?null:e.end.valueOf())}function Dn(t,e){return(t.end===null||e.start===null||t.end>e.start)&&(t.start===null||e.end===null||t.start<e.end)}function yt(t,e){return(t.start===null||e.start!==null&&e.start>=t.start)&&(t.end===null||e.end!==null&&e.end<=t.end)}function re(t,e){return(t.start===null||e>=t.start)&&(t.end===null||e<t.end)}function wo(t,e){return e.start!=null&&t<e.start?e.start:e.end!=null&&t>=e.end?new Date(e.end.valueOf()-1):t}function Cn(t,e,n,r){return{dow:t.getUTCDay(),isDisabled:!!(r&&!re(r.activeRange,t)),isOther:!!(r&&!re(r.currentRange,t)),isToday:!!(e&&re(e,t)),isPast:!!(n?t<n:e&&t<e.start),isFuture:!!(n?t>n:e&&t>=e.end)}}function Et(t,e){let n=["fc-day",`fc-day-${wl[t.dow]}`];return t.isDisabled?n.push("fc-day-disabled"):(t.isToday&&(n.push("fc-day-today"),n.push(e.getClass("today"))),t.isPast&&n.push("fc-day-past"),t.isFuture&&n.push("fc-day-future"),t.isOther&&n.push("fc-day-other")),n}const _o=M({year:"numeric",month:"long",day:"numeric"}),Ro=M({week:"long"});function Re(t,e,n="day",r=!0){const{dateEnv:i,options:s,calendarApi:l}=t;let o=i.format(e,n==="week"?Ro:_o);if(s.navLinks){let a=i.toDate(e);const c=u=>{let d=n==="day"?s.navLinkDayClick:n==="week"?s.navLinkWeekClick:null;typeof d=="function"?d.call(l,i.toDate(e),u):(typeof d=="string"&&(n=d),l.zoomTo(e,n))};return Object.assign({title:Oe(s.navLinkHint,[o,a],o),"data-navlink":""},r?ci(c):{onClick:c})}return{"aria-label":o}}let Ot=null;function To(){return Ot===null&&(Ot=xo()),Ot}function xo(){let t=document.createElement("div");Ne(t,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),t.innerHTML="<div></div>",document.body.appendChild(t);let n=t.firstChild.getBoundingClientRect().left>t.getBoundingClientRect().left;return dn(t),n}let Pt;function Io(){return Pt||(Pt=Mo()),Pt}function Mo(){let t=document.createElement("div");t.style.overflow="scroll",t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t);let e=Si(t);return document.body.removeChild(t),e}function Si(t){return{x:t.offsetHeight-t.clientHeight,y:t.offsetWidth-t.clientWidth}}function ko(t,e=!1){let n=window.getComputedStyle(t),r=parseInt(n.borderLeftWidth,10)||0,i=parseInt(n.borderRightWidth,10)||0,s=parseInt(n.borderTopWidth,10)||0,l=parseInt(n.borderBottomWidth,10)||0,o=Si(t),a=o.y-r-i,c=o.x-s-l,u={borderLeft:r,borderRight:i,borderTop:s,borderBottom:l,scrollbarBottom:c,scrollbarLeft:0,scrollbarRight:0};return To()&&n.direction==="rtl"?u.scrollbarLeft=a:u.scrollbarRight=a,e&&(u.paddingLeft=parseInt(n.paddingLeft,10)||0,u.paddingRight=parseInt(n.paddingRight,10)||0,u.paddingTop=parseInt(n.paddingTop,10)||0,u.paddingBottom=parseInt(n.paddingBottom,10)||0),u}function No(t,e=!1,n){let r=n?t.getBoundingClientRect():wn(t),i=ko(t,e),s={left:r.left+i.borderLeft+i.scrollbarLeft,right:r.right-i.borderRight-i.scrollbarRight,top:r.top+i.borderTop,bottom:r.bottom-i.borderBottom-i.scrollbarBottom};return e&&(s.left+=i.paddingLeft,s.right-=i.paddingRight,s.top+=i.paddingTop,s.bottom-=i.paddingBottom),s}function wn(t){let e=t.getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,right:e.right+window.pageXOffset,bottom:e.bottom+window.pageYOffset}}function Oo(t){let e=Ai(t),n=t.getBoundingClientRect();for(let r of e){let i=yi(n,r.getBoundingClientRect());if(i)n=i;else return null}return n}function Ai(t){let e=[];for(;t instanceof HTMLElement;){let n=window.getComputedStyle(t);if(n.position==="fixed")break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&e.push(t),t=t.parentNode}return e}function Po(t,e,n){let r=!1,i=function(o){r||(r=!0,e(o))},s=function(o){r||(r=!0,n(o))},l=t(i,s);l&&typeof l.then=="function"&&l.then(i,s)}class St{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,n){Ho(this.handlers,e,n)}off(e,n){Bo(this.handlers,e,n)}trigger(e,...n){let r=this.handlers[e]||[],i=this.options&&this.options[e],s=[].concat(i||[],r);for(let l of s)l.apply(this.thisContext,n)}hasHandlers(e){return!!(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}function Ho(t,e,n){(t[e]||(t[e]=[])).push(n)}function Bo(t,e,n){n?t[e]&&(t[e]=t[e].filter(r=>r!==n)):delete t[e]}class Te{constructor(e,n,r,i){this.els=n;let s=this.originClientRect=e.getBoundingClientRect();r&&this.buildElHorizontals(s.left),i&&this.buildElVerticals(s.top)}buildElHorizontals(e){let n=[],r=[];for(let i of this.els){let s=i.getBoundingClientRect();n.push(s.left-e),r.push(s.right-e)}this.lefts=n,this.rights=r}buildElVerticals(e){let n=[],r=[];for(let i of this.els){let s=i.getBoundingClientRect();n.push(s.top-e),r.push(s.bottom-e)}this.tops=n,this.bottoms=r}leftToIndex(e){let{lefts:n,rights:r}=this,i=n.length,s;for(s=0;s<i;s+=1)if(e>=n[s]&&e<r[s])return s}topToIndex(e){let{tops:n,bottoms:r}=this,i=n.length,s;for(s=0;s<i;s+=1)if(e>=n[s]&&e<r[s])return s}getWidth(e){return this.rights[e]-this.lefts[e]}getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return qe(this.tops||[],e.tops||[])&&qe(this.bottoms||[],e.bottoms||[])&&qe(this.lefts||[],e.lefts||[])&&qe(this.rights||[],e.rights||[])}}function qe(t,e){const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(Math.round(t[r])!==Math.round(e[r]))return!1;return!0}class _n{getMaxScrollTop(){return this.getScrollHeight()-this.getClientHeight()}getMaxScrollLeft(){return this.getScrollWidth()-this.getClientWidth()}canScrollVertically(){return this.getMaxScrollTop()>0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()<this.getMaxScrollTop()}canScrollLeft(){return this.getScrollLeft()>0}canScrollRight(){return this.getScrollLeft()<this.getMaxScrollLeft()}}class Lo extends _n{constructor(e){super(),this.el=e}getScrollTop(){return this.el.scrollTop}getScrollLeft(){return this.el.scrollLeft}setScrollTop(e){this.el.scrollTop=e}setScrollLeft(e){this.el.scrollLeft=e}getScrollWidth(){return this.el.scrollWidth}getScrollHeight(){return this.el.scrollHeight}getClientHeight(){return this.el.clientHeight}getClientWidth(){return this.el.clientWidth}}class Uo extends _n{getScrollTop(){return window.pageYOffset}getScrollLeft(){return window.pageXOffset}setScrollTop(e){window.scroll(window.pageXOffset,e)}setScrollLeft(e){window.scroll(e,window.pageYOffset)}getScrollWidth(){return document.documentElement.scrollWidth}getScrollHeight(){return document.documentElement.scrollHeight}getClientHeight(){return document.documentElement.clientHeight}getClientWidth(){return document.documentElement.clientWidth}}class je{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let n,r;if(typeof e=="object"&&e){n=Object.assign({},this.iconClasses);for(r in e)n[r]=this.applyIconOverridePrefix(e[r]);this.iconClasses=n}else e===!1&&(this.iconClasses={})}applyIconOverridePrefix(e){let n=this.iconOverridePrefix;return n&&e.indexOf(n)!==0&&(e=n+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,n){let r;return n&&this.rtlIconClasses?r=this.rtlIconClasses[e]||this.iconClasses[e]:r=this.iconClasses[e],r?`${this.baseIconClass} ${r}`:""}getCustomButtonIconClass(e){let n;return this.iconOverrideCustomButtonOption&&(n=e[this.iconOverrideCustomButtonOption],n)?`${this.baseIconClass} ${this.applyIconOverridePrefix(n)}`:""}}je.prototype.classes={};je.prototype.iconClasses={};je.prototype.baseIconClass="";je.prototype.iconOverridePrefix="";function Cr(t){t();let e=C.debounceRendering,n=[];function r(i){n.push(i)}for(C.debounceRendering=r,Le(f(jo,{}),document.createElement("div"));n.length;)n.shift()();C.debounceRendering=e}class jo extends F{render(){return f("div",{})}componentDidMount(){this.setState({})}}function Di(t){let e=Ps(t),n=e.Provider;return e.Provider=function(){let r=!this.getChildContext,i=n.apply(this,arguments);if(r){let s=[];this.shouldComponentUpdate=l=>{this.props.value!==l.value&&s.forEach(o=>{o.context=l.value,o.forceUpdate()})},this.sub=l=>{s.push(l);let o=l.componentWillUnmount;l.componentWillUnmount=()=>{s.splice(s.indexOf(l),1),o&&o.call(l)}}}return i},e}class zo{constructor(e,n,r,i){this.execFunc=e,this.emitter=n,this.scrollTime=r,this.scrollTimeReset=i,this.handleScrollRequest=s=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},s),this.drain()},n.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const J=Di({});function Fo(t,e,n,r,i,s,l,o,a,c,u,d,g){return{dateEnv:i,options:n,pluginHooks:l,emitter:c,dispatch:o,getCurrentData:a,calendarApi:u,viewSpec:t,viewApi:e,dateProfileGenerator:r,theme:s,isRtl:n.direction==="rtl",addResizeHandler(h){c.on("_resize",h)},removeResizeHandler(h){c.off("_resize",h)},createScrollResponder(h){return new zo(h,c,_(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:g}}class ve extends F{shouldComponentUpdate(e,n){return this.debug&&console.log(Zt(e,this.props),Zt(n,this.state)),!xt(this.props,e,this.propEquality)||!xt(this.state,n,this.stateEquality)}safeSetState(e){xt(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}ve.addPropsEquality=Wo;ve.addStateEquality=Vo;ve.contextType=J;ve.prototype.propEquality={};ve.prototype.stateEquality={};class R extends ve{}R.contextType=J;function Wo(t){let e=Object.create(this.prototype.propEquality);Object.assign(e,t),this.prototype.propEquality=e}function Vo(t){let e=Object.create(this.prototype.stateEquality);Object.assign(e,t),this.prototype.stateEquality=e}function ie(t,e){typeof t=="function"?t(e):t&&(t.current=e)}class q extends R{constructor(){super(...arguments),this.uid=me()}prepareHits(){}queryHit(e,n,r,i){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!L(e,".fc-event-mirror")}isValidDateDownEl(e){return!L(e,".fc-event:not(.fc-bg-event)")&&!L(e,".fc-more-link")&&!L(e,"a[data-navlink]")&&!L(e,".fc-popover")}}function Go(t,e){switch(e.type){case"CHANGE_DATE":return e.dateMarker;default:return t}}function Qo(t,e){let n=t.initialDate;return n!=null?e.createMarker(n):ze(t.now,e)}function ze(t,e){return typeof t=="function"&&(t=t()),t==null?e.createNowMarker():e.createMarker(t)}class Ci{constructor(e){this.props=e,this.nowDate=ze(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,n,r){let{dateEnv:i}=this.props,s=i.subtract(i.startOf(n,e.currentRangeUnit),e.dateIncrement);return this.build(s,-1,r)}buildNext(e,n,r){let{dateEnv:i}=this.props,s=i.add(i.startOf(n,e.currentRangeUnit),e.dateIncrement);return this.build(s,1,r)}build(e,n,r=!0){let{props:i}=this,s,l,o,a,c,u;return s=this.buildValidRange(),s=this.trimHiddenDays(s),r&&(e=wo(e,s)),l=this.buildCurrentRangeInfo(e,n),o=/^(year|month|week|day)$/.test(l.unit),a=this.buildRenderRange(this.trimHiddenDays(l.range),l.unit,o),a=this.trimHiddenDays(a),c=a,i.showNonCurrentDates||(c=pe(c,l.range)),c=this.adjustActiveRange(c),c=pe(c,s),u=Dn(l.range,s),{validRange:s,currentRange:l.range,currentRangeUnit:l.unit,isRangeAllDay:o,activeRange:c,renderRange:a,slotMinTime:i.slotMinTime,slotMaxTime:i.slotMaxTime,isValid:u,dateIncrement:this.buildDateIncrement(l.duration)}}buildValidRange(){let e=this.props.validRangeInput,n=typeof e=="function"?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(n)||{start:null,end:null}}buildCurrentRangeInfo(e,n){let{props:r}=this,i=null,s=null,l=null,o;return r.duration?(i=r.duration,s=r.durationUnit,l=this.buildRangeFromDuration(e,n,i,s)):(o=this.props.dayCount)?(s="day",l=this.buildRangeFromDayCount(e,n,o)):(l=this.buildCustomVisibleRange(e))?s=r.dateEnv.greatestWholeUnit(l.start,l.end).unit:(i=this.getFallbackDuration(),s=Yt(i).unit,l=this.buildRangeFromDuration(e,n,i,s)),{duration:i,unit:s,range:l}}getFallbackDuration(){return _({day:1})}adjustActiveRange(e){let{dateEnv:n,usesMinMaxTime:r,slotMinTime:i,slotMaxTime:s}=this.props,{start:l,end:o}=e;return r&&(De(i)<0&&(l=x(l),l=n.add(l,i)),De(s)>1&&(o=x(o),o=H(o,-1),o=n.add(o,s))),{start:l,end:o}}buildRangeFromDuration(e,n,r,i){let{dateEnv:s,dateAlignment:l}=this.props,o,a,c;if(!l){let{dateIncrement:d}=this.props;d&&V(d)<V(r)?l=Yt(d).unit:l=i}De(r)<=1&&this.isHiddenDay(o)&&(o=this.skipHiddenDays(o,n),o=x(o));function u(){o=s.startOf(e,l),a=s.add(o,r),c={start:o,end:a}}return u(),this.trimHiddenDays(c)||(e=this.skipHiddenDays(e,n),u()),c}buildRangeFromDayCount(e,n,r){let{dateEnv:i,dateAlignment:s}=this.props,l=0,o=e,a;s&&(o=i.startOf(o,s)),o=x(o),o=this.skipHiddenDays(o,n),a=o;do a=H(a,1),this.isHiddenDay(a)||(l+=1);while(l<r);return{start:o,end:a}}buildCustomVisibleRange(e){let{props:n}=this,r=n.visibleRangeInput,i=typeof r=="function"?r.call(n.calendarApi,n.dateEnv.toDate(e)):r,s=this.refineRange(i);return s&&(s.start==null||s.end==null)?null:s}buildRenderRange(e,n,r){return e}buildDateIncrement(e){let{dateIncrement:n}=this.props,r;return n||((r=this.props.dateAlignment)?_(1,r):e||_({days:1}))}refineRange(e){if(e){let n=Ao(e,this.props.dateEnv);return n&&(n=An(n)),n}return null}initHiddenDays(){let e=this.props.hiddenDays||[],n=[],r=0,i;for(this.props.weekends===!1&&e.push(0,6),i=0;i<7;i+=1)(n[i]=e.indexOf(i)!==-1)||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n}trimHiddenDays(e){let{start:n,end:r}=e;return n&&(n=this.skipHiddenDays(n)),r&&(r=this.skipHiddenDays(r,-1,!0)),n==null||r==null||n<r?{start:n,end:r}:null}isHiddenDay(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}skipHiddenDays(e,n=1,r=!1){for(;this.isHiddenDayHash[(e.getUTCDay()+(r?n:0)+7)%7];)e=H(e,n);return e}}function wi(t,e,n){n.emitter.trigger("select",Object.assign(Object.assign({},Rn(t,n)),{jsEvent:e?e.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function qo(t,e){e.emitter.trigger("unselect",{jsEvent:t?t.origEvent:null,view:e.viewApi||e.calendarApi.view})}function Rn(t,e){let n={};for(let r of e.pluginHooks.dateSpanTransforms)Object.assign(n,r(t,e));return Object.assign(n,oa(t,e.dateEnv)),n}function wr(t,e,n){let{dateEnv:r,options:i}=n,s=e;return t?(s=x(s),s=r.add(s,i.defaultAllDayEventDuration)):s=r.add(s,i.defaultTimedEventDuration),s}function Tn(t,e,n,r){let i=ut(t.defs,e),s=W();for(let l in t.defs){let o=t.defs[l];s.defs[l]=Yo(o,i[l],n,r)}for(let l in t.instances){let o=t.instances[l],a=s.defs[o.defId];s.instances[l]=Zo(o,a,i[o.defId],n,r)}return s}function Yo(t,e,n,r){let i=n.standardProps||{};i.hasEnd==null&&e.durationEditable&&(n.startDelta||n.endDelta)&&(i.hasEnd=!0);let s=Object.assign(Object.assign(Object.assign({},t),i),{ui:Object.assign(Object.assign({},t.ui),i.ui)});n.extendedProps&&(s.extendedProps=Object.assign(Object.assign({},s.extendedProps),n.extendedProps));for(let l of r.pluginHooks.eventDefMutationAppliers)l(s,n,r);return!s.hasEnd&&r.options.forceEventDuration&&(s.hasEnd=!0),s}function Zo(t,e,n,r,i){let{dateEnv:s}=i,l=r.standardProps&&r.standardProps.allDay===!0,o=r.standardProps&&r.standardProps.hasEnd===!1,a=Object.assign({},t);return l&&(a.range=bi(a.range)),r.datesDelta&&n.startEditable&&(a.range={start:s.add(a.range.start,r.datesDelta),end:s.add(a.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(a.range={start:s.add(a.range.start,r.startDelta),end:a.range.end}),r.endDelta&&n.durationEditable&&(a.range={start:a.range.start,end:s.add(a.range.end,r.endDelta)}),o&&(a.range={start:a.range.start,end:wr(e.allDay,a.range.start,i)}),e.allDay&&(a.range={start:x(a.range.start),end:x(a.range.end)}),a.range.end<a.range.start&&(a.range.end=wr(e.allDay,a.range.start,i)),a}class Ee{constructor(e,n){this.context=e,this.internalEventSource=n}remove(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}refetch(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}get id(){return this.internalEventSource.publicId}get url(){return this.internalEventSource.meta.url}get format(){return this.internalEventSource.meta.format}}class k{constructor(e,n,r){this._context=e,this._def=n,this._instance=r||null}setProp(e,n){if(e in pi)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(e==="id")n=tt[e](n),this.mutate({standardProps:{publicId:n}});else if(e in tt)n=tt[e](n),this.mutate({standardProps:{[e]:n}});else if(e in ct){let r=ct[e](n);e==="color"?r={backgroundColor:n,borderColor:n}:e==="editable"?r={startEditable:n,durationEditable:n}:r={[e]:n},this.mutate({standardProps:{ui:r}})}else console.warn(`Could not set prop '${e}'. Use setExtendedProp instead.`)}setExtendedProp(e,n){this.mutate({extendedProps:{[e]:n}})}setStart(e,n={}){let{dateEnv:r}=this._context,i=r.createMarker(e);if(i&&this._instance){let s=this._instance.range,l=Se(s.start,i,r,n.granularity);n.maintainDuration?this.mutate({datesDelta:l}):this.mutate({startDelta:l})}}setEnd(e,n={}){let{dateEnv:r}=this._context,i;if(!(e!=null&&(i=r.createMarker(e),!i))&&this._instance)if(i){let s=Se(this._instance.range.end,i,r,n.granularity);this.mutate({endDelta:s})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,n,r={}){let{dateEnv:i}=this._context,s={allDay:r.allDay},l=i.createMarker(e),o;if(l&&!(n!=null&&(o=i.createMarker(n),!o))&&this._instance){let a=this._instance.range;r.allDay===!0&&(a=bi(a));let c=Se(a.start,l,i,r.granularity);if(o){let u=Se(a.end,o,i,r.granularity);ml(c,u)?this.mutate({datesDelta:c,standardProps:s}):this.mutate({startDelta:c,endDelta:u,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:c,standardProps:s})}}moveStart(e){let n=_(e);n&&this.mutate({startDelta:n})}moveEnd(e){let n=_(e);n&&this.mutate({endDelta:n})}moveDates(e){let n=_(e);n&&this.mutate({datesDelta:n})}setAllDay(e,n={}){let r={allDay:e},{maintainDuration:i}=n;i==null&&(i=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(r.hasEnd=i),this.mutate({standardProps:r})}formatRange(e){let{dateEnv:n}=this._context,r=this._instance,i=M(e);return this._def.hasEnd?n.formatRange(r.range.start,r.range.end,i,{forcedStartTzo:r.forcedStartTzo,forcedEndTzo:r.forcedEndTzo}):n.format(r.range.start,i,{forcedTzo:r.forcedStartTzo})}mutate(e){let n=this._instance;if(n){let r=this._def,i=this._context,{eventStore:s}=i.getCurrentData(),l=yn(s,n.instanceId);l=Tn(l,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,i);let a=new k(i,r,n);this._def=l.defs[r.defId],this._instance=l.instances[n.instanceId],i.dispatch({type:"MERGE_EVENTS",eventStore:l}),i.emitter.trigger("eventChange",{oldEvent:a,event:this,relatedEvents:de(l,i,n),revert(){i.dispatch({type:"RESET_EVENTS",eventStore:s})}})}}remove(){let e=this._context,n=_i(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:n}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:n})}})}get source(){let{sourceId:e}=this._def;return e?new Ee(this._context,this._context.getCurrentData().eventSources[e]):null}get start(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}get end(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}get startStr(){let e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}get endStr(){let e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""}get id(){return this._def.publicId}get groupId(){return this._def.groupId}get allDay(){return this._def.allDay}get title(){return this._def.title}get url(){return this._def.url}get display(){return this._def.ui.display||"auto"}get startEditable(){return this._def.ui.startEditable}get durationEditable(){return this._def.ui.durationEditable}get constraint(){return this._def.ui.constraints[0]||null}get overlap(){return this._def.ui.overlap}get allow(){return this._def.ui.allows[0]||null}get backgroundColor(){return this._def.ui.backgroundColor}get borderColor(){return this._def.ui.borderColor}get textColor(){return this._def.ui.textColor}get classNames(){return this._def.ui.classNames}get extendedProps(){return this._def.extendedProps}toPlainObject(e={}){let n=this._def,{ui:r}=n,{startStr:i,endStr:s}=this,l={};return n.title&&(l.title=n.title),i&&(l.start=i),s&&(l.end=s),n.publicId&&(l.id=n.publicId),n.groupId&&(l.groupId=n.groupId),n.url&&(l.url=n.url),r.display&&r.display!=="auto"&&(l.display=r.display),e.collapseColor&&r.backgroundColor&&r.backgroundColor===r.borderColor?l.color=r.backgroundColor:(r.backgroundColor&&(l.backgroundColor=r.backgroundColor),r.borderColor&&(l.borderColor=r.borderColor)),r.textColor&&(l.textColor=r.textColor),r.classNames.length&&(l.classNames=r.classNames),Object.keys(n.extendedProps).length&&(e.collapseExtendedProps?Object.assign(l,n.extendedProps):l.extendedProps=n.extendedProps),l}toJSON(){return this.toPlainObject()}}function _i(t){let e=t._def,n=t._instance;return{defs:{[e.defId]:e},instances:n?{[n.instanceId]:n}:{}}}function de(t,e,n){let{defs:r,instances:i}=t,s=[],l=n?n.instanceId:"";for(let o in i){let a=i[o],c=r[a.defId];a.instanceId!==l&&s.push(new k(e,c,a))}return s}function Jt(t,e,n,r){let i={},s={},l={},o=[],a=[],c=ut(t.defs,e);for(let u in t.defs){let d=t.defs[u];c[d.defId].display==="inverse-background"&&(d.groupId?(i[d.groupId]=[],l[d.groupId]||(l[d.groupId]=d)):s[u]=[])}for(let u in t.instances){let d=t.instances[u],g=t.defs[d.defId],h=c[g.defId],b=d.range,m=!g.allDay&&r?An(b,r):b,v=pe(m,n);v&&(h.display==="inverse-background"?g.groupId?i[g.groupId].push(v):s[d.defId].push(v):h.display!=="none"&&(h.display==="background"?o:a).push({def:g,ui:h,instance:d,range:v,isStart:m.start&&m.start.valueOf()===v.start.valueOf(),isEnd:m.end&&m.end.valueOf()===v.end.valueOf()}))}for(let u in i){let d=i[u],g=Dr(d,n);for(let h of g){let b=l[u],m=c[b.defId];o.push({def:b,ui:m,instance:null,range:h,isStart:!1,isEnd:!1})}}for(let u in s){let d=s[u],g=Dr(d,n);for(let h of g)o.push({def:t.defs[u],ui:c[u],instance:null,range:h,isStart:!1,isEnd:!1})}return{bg:o,fg:a}}function $o(t){return t.ui.display==="background"||t.ui.display==="inverse-background"}function _r(t,e){t.fcSeg=e}function xe(t){return t.fcSeg||t.parentNode.fcSeg||null}function ut(t,e){return X(t,n=>Ri(n,e))}function Ri(t,e){let n=[];return e[""]&&n.push(e[""]),e[t.defId]&&n.push(e[t.defId]),n.push(t.ui),gi(n)}function xn(t,e){let n=t.map(Xo);return n.sort((r,i)=>cl(r,i,e)),n.map(r=>r._seg)}function Xo(t){let{eventRange:e}=t,n=e.def,r=e.instance?e.instance.range:e.range,i=r.start?r.start.valueOf():0,s=r.end?r.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:i,end:s,duration:s-i,allDay:Number(n.allDay),_seg:t})}function Jo(t,e){let{pluginHooks:n}=e,r=n.isDraggableTransformers,{def:i,ui:s}=t.eventRange,l=s.startEditable;for(let o of r)l=o(l,i,s,e);return l}function Ko(t,e){return t.isStart&&t.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function ea(t,e){return t.isEnd&&t.eventRange.ui.durationEditable}function He(t,e,n,r,i,s,l){let{dateEnv:o,options:a}=n,{displayEventTime:c,displayEventEnd:u}=a,d=t.eventRange.def,g=t.eventRange.instance;c==null&&(c=r!==!1),u==null&&(u=i!==!1);let h=g.range.start,b=g.range.end,m=s||t.start||t.eventRange.range.start,v=l||t.end||t.eventRange.range.end,y=x(h).valueOf()===x(m).valueOf(),E=x(he(b,-1)).valueOf()===x(he(v,-1)).valueOf();return c&&!d.allDay&&(y||E)?(m=y?h:m,v=E?b:v,u&&d.hasEnd?o.formatRange(m,v,e,{forcedStartTzo:s?null:g.forcedStartTzo,forcedEndTzo:l?null:g.forcedEndTzo}):o.format(m,e,{forcedTzo:s?null:g.forcedStartTzo})):""}function $(t,e,n){let r=t.eventRange.range;return{isPast:r.end<(n||e.start),isFuture:r.start>=(n||e.end),isToday:e&&re(e,r.start)}}function ta(t){let e=["fc-event"];return t.isMirror&&e.push("fc-event-mirror"),t.isDraggable&&e.push("fc-event-draggable"),(t.isStartResizable||t.isEndResizable)&&e.push("fc-event-resizable"),t.isDragging&&e.push("fc-event-dragging"),t.isResizing&&e.push("fc-event-resizing"),t.isSelected&&e.push("fc-event-selected"),t.isStart&&e.push("fc-event-start"),t.isEnd&&e.push("fc-event-end"),t.isPast&&e.push("fc-event-past"),t.isToday&&e.push("fc-event-today"),t.isFuture&&e.push("fc-event-future"),e}function Ti(t){return t.instance?t.instance.instanceId:`${t.def.defId}:${t.range.start.toISOString()}`}function In(t,e){let{def:n,instance:r}=t.eventRange,{url:i}=n;if(i)return{href:i};let{emitter:s,options:l}=e,{eventInteractive:o}=l;return o==null&&(o=n.interactive,o==null&&(o=!!s.hasHandlers("eventClick"))),o?di(a=>{s.trigger("eventClick",{el:a.target,event:new k(e,n,r),jsEvent:a,view:e.viewApi})}):{}}const na={start:p,end:p,allDay:Boolean};function ra(t,e,n){let r=ia(t,e),{range:i}=r;if(!i.start)return null;if(!i.end){if(n==null)return null;i.end=e.add(i.start,n)}return r}function ia(t,e){let{refined:n,extra:r}=vn(t,na),i=n.start?e.createMarkerMeta(n.start):null,s=n.end?e.createMarkerMeta(n.end):null,{allDay:l}=n;return l==null&&(l=i&&i.isTimeUnspecified&&(!s||s.isTimeUnspecified)),Object.assign({range:{start:i?i.marker:null,end:s?s.marker:null},allDay:l},r)}function sa(t,e){return Co(t.range,e.range)&&t.allDay===e.allDay&&la(t,e)}function la(t,e){for(let n in e)if(n!=="range"&&n!=="allDay"&&t[n]!==e[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}function oa(t,e){return Object.assign(Object.assign({},Ii(t.range,e,t.allDay)),{allDay:t.allDay})}function xi(t,e,n){return Object.assign(Object.assign({},Ii(t,e,n)),{timeZone:e.timeZone})}function Ii(t,e,n){return{start:e.toDate(t.start),end:e.toDate(t.end),startStr:e.formatIso(t.start,{omitTime:n}),endStr:e.formatIso(t.end,{omitTime:n})}}function aa(t,e,n){let r=vi({editable:!1},n),i=Xt(r.refined,r.extra,"",t.allDay,!0,n);return{def:i,ui:Ri(i,e),instance:bn(i.defId,t.range),range:t.range,isStart:!0,isEnd:!0}}let Mi={};function ca(t,e){Mi[t]=e}function da(t){return new Mi[t]}class ua{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return j(e)}markerToArray(e){return ee(e)}}ca("gregory",ua);const fa=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function ha(t){let e=fa.exec(t);if(e){let n=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?+`0.${e[12]}`*1e3:0));if(fi(n)){let r=null;return e[13]&&(r=(e[15]==="-"?-1:1)*(Number(e[16]||0)*60+Number(e[18]||0))),{marker:n,isTimeUnspecified:!e[6],timeZoneOffset:r}}}return null}class ga{constructor(e){let n=this.timeZone=e.timeZone,r=n!=="local"&&n!=="UTC";e.namedTimeZoneImpl&&r&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(n)),this.canComputeOffset=!!(!r||this.namedTimeZoneImpl),this.calendarSystem=da(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,e.weekNumberCalculation==="ISO"&&(this.weekDow=1,this.weekDoy=4),typeof e.firstDay=="number"&&(this.weekDow=e.firstDay),typeof e.weekNumberCalculation=="function"&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=e.weekText!=null?e.weekText:e.locale.options.weekText,this.weekTextLong=(e.weekTextLong!=null?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let n=this.createMarkerMeta(e);return n===null?null:n.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):j(gr(new Date))}createMarkerMeta(e){if(typeof e=="string")return this.parse(e);let n=null;return typeof e=="number"?n=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(n=this.timestampToMarker(e))):Array.isArray(e)&&(n=j(e)),n===null||!fi(n)?null:{marker:n,isTimeUnspecified:!1,forcedTzo:null}}parse(e){let n=ha(e);if(n===null)return null;let{marker:r}=n,i=null;return n.timeZoneOffset!==null&&(this.canComputeOffset?r=this.timestampToMarker(r.valueOf()-n.timeZoneOffset*60*1e3):i=n.timeZoneOffset),{marker:r,isTimeUnspecified:n.isTimeUnspecified,forcedTzo:i}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}add(e,n){let r=this.calendarSystem.markerToArray(e);return r[0]+=n.years,r[1]+=n.months,r[2]+=n.days,r[6]+=n.milliseconds,this.calendarSystem.arrayToMarker(r)}subtract(e,n){let r=this.calendarSystem.markerToArray(e);return r[0]-=n.years,r[1]-=n.months,r[2]-=n.days,r[6]-=n.milliseconds,this.calendarSystem.arrayToMarker(r)}addYears(e,n){let r=this.calendarSystem.markerToArray(e);return r[0]+=n,this.calendarSystem.arrayToMarker(r)}addMonths(e,n){let r=this.calendarSystem.markerToArray(e);return r[1]+=n,this.calendarSystem.arrayToMarker(r)}diffWholeYears(e,n){let{calendarSystem:r}=this;return te(e)===te(n)&&r.getMarkerDay(e)===r.getMarkerDay(n)&&r.getMarkerMonth(e)===r.getMarkerMonth(n)?r.getMarkerYear(n)-r.getMarkerYear(e):null}diffWholeMonths(e,n){let{calendarSystem:r}=this;return te(e)===te(n)&&r.getMarkerDay(e)===r.getMarkerDay(n)?r.getMarkerMonth(n)-r.getMarkerMonth(e)+(r.getMarkerYear(n)-r.getMarkerYear(e))*12:null}greatestWholeUnit(e,n){let r=this.diffWholeYears(e,n);return r!==null?{unit:"year",value:r}:(r=this.diffWholeMonths(e,n),r!==null?{unit:"month",value:r}:(r=Ml(e,n),r!==null?{unit:"week",value:r}:(r=st(e,n),r!==null?{unit:"day",value:r}:(r=Rl(e,n),Ke(r)?{unit:"hour",value:r}:(r=Tl(e,n),Ke(r)?{unit:"minute",value:r}:(r=xl(e,n),Ke(r)?{unit:"second",value:r}:{unit:"millisecond",value:n.valueOf()-e.valueOf()}))))))}countDurationsBetween(e,n,r){let i;return r.years&&(i=this.diffWholeYears(e,n),i!==null)?i/yl(r):r.months&&(i=this.diffWholeMonths(e,n),i!==null)?i/El(r):r.days&&(i=st(e,n),i!==null)?i/De(r):(n.valueOf()-e.valueOf())/V(r)}startOf(e,n){return n==="year"?this.startOfYear(e):n==="month"?this.startOfMonth(e):n==="week"?this.startOfWeek(e):n==="day"?x(e):n==="hour"?kl(e):n==="minute"?Nl(e):n==="second"?Ol(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):Pl(e,this.weekDow,this.weekDoy)}format(e,n,r={}){return n.format({marker:e,timeZoneOffset:r.forcedTzo!=null?r.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,n,r,i={}){return i.isEndExclusive&&(n=he(n,-1)),r.formatRange({marker:e,timeZoneOffset:i.forcedStartTzo!=null?i.forcedStartTzo:this.offsetForMarker(e)},{marker:n,timeZoneOffset:i.forcedEndTzo!=null?i.forcedEndTzo:this.offsetForMarker(n)},this,i.defaultSeparator)}formatIso(e,n={}){let r=null;return n.omitTimeZoneOffset||(n.forcedTzo!=null?r=n.forcedTzo:r=this.offsetForMarker(e)),hi(e,r,n.omitTime)}timestampToMarker(e){return this.timeZone==="local"?j(gr(new Date(e))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(e):j(this.namedTimeZoneImpl.timestampToArray(e))}offsetForMarker(e){return this.timeZone==="local"?-pr(ee(e)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(ee(e)):null}toDate(e,n){return this.timeZone==="local"?pr(ee(e)):this.timeZone==="UTC"?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-this.namedTimeZoneImpl.offsetForArray(ee(e))*1e3*60):new Date(e.valueOf()-(n||0))}}class ki{constructor(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let n=[];for(let r of e)this.insertEntry(r,n);return n}insertEntry(e,n){let r=this.findInsertion(e);return this.isInsertionValid(r,e)?(this.insertEntryAt(e,r),1):this.handleInvalidInsertion(r,e,n)}isInsertionValid(e,n){return(this.maxCoord===-1||e.levelCoord+n.thickness<=this.maxCoord)&&(this.maxStackCnt===-1||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,n,r){return this.allowReslicing&&e.touchingEntry?this.splitEntry(n,e.touchingEntry,r):(r.push(n),0)}splitEntry(e,n,r){let i=0,s=[],l=e.span,o=n.span;return l.start<o.start&&(i+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:l.start,end:o.start}},s)),l.end>o.end&&(i+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:o.end,end:l.end}},s)),i?(r.push({index:e.index,thickness:e.thickness,span:Mn(o,l)},...s),i):(r.push(e),0)}insertEntryAt(e,n){let{entriesByLevel:r,levelCoords:i}=this;n.lateral===-1?(Ht(i,n.level,n.levelCoord),Ht(r,n.level,[e])):Ht(r[n.level],n.lateral,e),this.stackCnts[ue(e)]=n.stackCnt}findInsertion(e){let{levelCoords:n,entriesByLevel:r,strictOrder:i,stackCnts:s}=this,l=n.length,o=0,a=-1,c=-1,u=null,d=0;for(let b=0;b<l;b+=1){let m=n[b];if(!i&&m>=o+e.thickness)break;let v=r[b],y,E=en(v,e.span.start,Kt),D=E[0]+E[1];for(;(y=v[D])&&y.span.start<e.span.end;){let A=m+y.thickness;A>o&&(o=A,u=y,a=b,c=D),A===o&&(d=Math.max(d,s[ue(y)]+1)),D+=1}}let g=0;if(u)for(g=a+1;g<l&&n[g]<o;)g+=1;let h=-1;return g<l&&n[g]===o&&(h=en(r[g],e.span.end,Kt)[0]),{touchingLevel:a,touchingLateral:c,touchingEntry:u,stackCnt:d,levelCoord:o,level:g,lateral:h}}toRects(){let{entriesByLevel:e,levelCoords:n}=this,r=e.length,i=[];for(let s=0;s<r;s+=1){let l=e[s],o=n[s];for(let a of l)i.push(Object.assign(Object.assign({},a),{levelCoord:o}))}return i}}function Kt(t){return t.span.end}function ue(t){return t.index+":"+t.span.start}function pa(t){let e=[];for(let n of t){let r=[],i={span:n.span,entries:[n]};for(let s of e)Mn(s.span,i.span)?i={entries:s.entries.concat(i.entries),span:ma(s.span,i.span)}:r.push(s);r.push(i),e=r}return e}function ma(t,e){return{start:Math.min(t.start,e.start),end:Math.max(t.end,e.end)}}function Mn(t,e){let n=Math.max(t.start,e.start),r=Math.min(t.end,e.end);return n<r?{start:n,end:r}:null}function Ht(t,e,n){t.splice(e,0,n)}function en(t,e,n){let r=0,i=t.length;if(!i||e<n(t[r]))return[0,0];if(e>n(t[i-1]))return[i,0];for(;r<i;){let s=Math.floor(r+(i-r)/2),l=n(t[s]);if(e<l)i=s;else if(e>l)r=s+1;else return[s,1]}return[r,0]}class Ie{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function va(t,e){return{component:t,el:e.el,useEventCenter:e.useEventCenter!=null?e.useEventCenter:!0,isHitComboAllowed:e.isHitComboAllowed||null}}function kn(t){return{[t.component.uid]:t}}const tn={};class ba{constructor(e,n){this.emitter=new St}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}const Nn={};class ya extends R{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{this.setState({forPrint:!0})},this.handleAfterPrint=()=>{this.setState({forPrint:!1})}}render(){let{props:e}=this,{options:n}=e,{forPrint:r}=this.state,i=r||n.height==="auto"||n.contentHeight==="auto",s=!i&&n.height!=null?n.height:"",l=["fc",r?"fc-media-print":"fc-media-screen",`fc-direction-${n.direction}`,e.theme.getClass("root")];return Ei()||l.push("fc-liquid-hack"),e.children(l,s,i,r)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}function Ea(t,e){return!t||e>10?M({weekday:"short"}):e>1?M({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):M({weekday:"long"})}const Ni="fc-col-header-cell";function Oi(t){return t.text}class On extends R{constructor(){super(...arguments),this.id=me(),this.currentDomNodes=[],this.queuedDomNodes=[],this.handleEl=e=>{this.props.elRef&&ie(this.props.elRef,e)}}render(){const{props:e,context:n}=this,{options:r}=n,{generator:i,renderProps:s}=e,l=Hi(e);let o,a=[];if(Pi(e.generatorName,r))r.customRenderingReplacesEl&&delete l.elRef;else{const c=typeof i=="function"?i(s,f):i;typeof c=="string"||Gr(c)||Array.isArray(c)?o=c:typeof c=="object"&&("html"in c?l.dangerouslySetInnerHTML={__html:c.html}:"domNodes"in c&&(a=Array.prototype.slice.call(c.domNodes)))}return this.queuedDomNodes=a,f(e.elTag,l,o)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){const{props:n,context:r}=this,{handleCustomRendering:i,customRenderingMetaMap:s}=r.options;if(i){const l=s==null?void 0:s[n.generatorName];l&&i(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.handleEl,generatorMeta:l},n))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:n}=this,r=this.base;if(!ge(e,n)){n.forEach(dn);for(let i of e)r.appendChild(i);this.currentDomNodes=e}}}On.addPropsEquality({elClasses:ge,elStyle:Q,elAttrs:Al,renderProps:Q});function Pi(t,e){var n;return!!(e.handleCustomRendering&&t&&(!((n=e.customRenderingMetaMap)===null||n===void 0)&&n[t]))}function Hi(t,e){const n=Object.assign(Object.assign({},t.elAttrs),{ref:t.elRef});return(t.elClasses||e)&&(n.className=(t.elClasses||[]).concat(e||[]).concat(n.className||[]).filter(Boolean).join(" ")),t.elStyle&&(n.style=t.elStyle),n}const Bi=Di(0);class U extends F{constructor(){super(...arguments),this.InnerContent=Sa.bind(void 0,this)}render(){const{props:e}=this,n=Aa(e.classNameGenerator,e.renderProps);if(e.children){const r=Hi(e,n),i=e.children(this.InnerContent,e.renderProps,r);return e.elTag?f(e.elTag,r,i):i}else return f(On,Object.assign(Object.assign({},e),{elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(n),renderId:this.context}))}componentDidMount(){var e,n;(n=(e=this.props).didMount)===null||n===void 0||n.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.base}))}componentWillUnmount(){var e,n;(n=(e=this.props).willUnmount)===null||n===void 0||n.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.base}))}}U.contextType=Bi;function Sa(t,e){const n=t.props;return f(On,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,generator:n.generator,renderId:t.context},e))}function Aa(t,e){const n=typeof t=="function"?t(e):t||[];return typeof n=="string"?[n]:n}class Da extends R{render(){let{dateEnv:e,options:n,theme:r,viewApi:i}=this.context,{props:s}=this,{date:l,dateProfile:o}=s,a=Cn(l,s.todayRange,null,o),c=[Ni].concat(Et(a,r)),u=e.format(l,s.dayHeaderFormat),d=!a.isDisabled&&s.colCnt>1?Re(this.context,l):{},g=Object.assign(Object.assign(Object.assign({date:e.toDate(l),view:i},s.extraRenderProps),{text:u}),a);return f(U,{elTag:"th",elClasses:c,elAttrs:Object.assign({role:"columnheader",colSpan:s.colSpan,"data-date":a.isDisabled?void 0:vt(l)},s.extraDataAttrs),renderProps:g,generatorName:"dayHeaderContent",generator:n.dayHeaderContent||Oi,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},h=>f("div",{className:"fc-scrollgrid-sync-inner"},!a.isDisabled&&f(h,{elTag:"a",elAttrs:d,elClasses:["fc-col-header-cell-cushion",s.isSticky&&"fc-sticky"]})))}}const Ca=M({weekday:"long"});class wa extends R{render(){let{props:e}=this,{dateEnv:n,theme:r,viewApi:i,options:s}=this.context,l=H(new Date(2592e5),e.dow),o={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},a=n.format(l,e.dayHeaderFormat),c=Object.assign(Object.assign(Object.assign(Object.assign({date:l},o),{view:i}),e.extraRenderProps),{text:a});return f(U,{elTag:"th",elClasses:[Ni,...Et(o,r),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:c,generatorName:"dayHeaderContent",generator:s.dayHeaderContent||Oi,classNameGenerator:s.dayHeaderClassNames,didMount:s.dayHeaderDidMount,willUnmount:s.dayHeaderWillUnmount},u=>f("div",{className:"fc-scrollgrid-sync-inner"},f(u,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":n.format(l,Ca)}})))}}class Me extends F{constructor(e,n){super(e,n),this.initialNowDate=ze(n.options.now,n.dateEnv),this.initialNowQueriedMs=new Date().valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:n}=this;return e.children(n.nowDate,n.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:n}=this,r=he(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),i=n.dateEnv.startOf(r,e.unit),s=n.dateEnv.add(i,_(1,e.unit)),l=s.valueOf()-r.valueOf();return l=Math.min(1e3*60*60*24,l),{currentState:{nowDate:i,todayRange:Rr(i)},nextState:{nowDate:s,todayRange:Rr(s)},waitMs:l}}setTimeout(){let{nextState:e,waitMs:n}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},n)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}Me.contextType=J;function Rr(t){let e=x(t),n=H(e,1);return{start:e,end:n}}class Li extends R{constructor(){super(...arguments),this.createDayHeaderFormatter=S(_a)}render(){let{context:e}=this,{dates:n,dateProfile:r,datesRepDistinctDays:i,renderIntro:s}=this.props,l=this.createDayHeaderFormatter(e.options.dayHeaderFormat,i,n.length);return f(Me,{unit:"day"},(o,a)=>f("tr",{role:"row"},s&&s("day"),n.map(c=>i?f(Da,{key:c.toISOString(),date:c,dateProfile:r,todayRange:a,colCnt:n.length,dayHeaderFormat:l}):f(wa,{key:c.getUTCDay(),dow:c.getUTCDay(),dayHeaderFormat:l}))))}}function _a(t,e,n){return t||Ea(e,n)}class Ui{constructor(e,n){let r=e.start,{end:i}=e,s=[],l=[],o=-1;for(;r<i;)n.isHiddenDay(r)?s.push(o+.5):(o+=1,s.push(o),l.push(r)),r=H(r,1);this.dates=l,this.indices=s,this.cnt=l.length}sliceRange(e){let n=this.getDateDayIndex(e.start),r=this.getDateDayIndex(H(e.end,-1)),i=Math.max(0,n),s=Math.min(this.cnt-1,r);return i=Math.ceil(i),s=Math.floor(s),i<=s?{firstIndex:i,lastIndex:s,isStart:n===i,isEnd:r===s}:null}getDateDayIndex(e){let{indices:n}=this,r=Math.floor(se(this.dates[0],e));return r<0?n[0]-1:r>=n.length?n[n.length-1]+1:n[r]}}class ji{constructor(e,n){let{dates:r}=e,i,s,l;if(n){for(s=r[0].getUTCDay(),i=1;i<r.length&&r[i].getUTCDay()!==s;i+=1);l=Math.ceil(r.length/i)}else l=1,i=r.length;this.rowCnt=l,this.colCnt=i,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let e=[];for(let n=0;n<this.rowCnt;n+=1){let r=[];for(let i=0;i<this.colCnt;i+=1)r.push(this.buildCell(n,i));e.push(r)}return e}buildCell(e,n){let r=this.daySeries.dates[e*this.colCnt+n];return{key:r.toISOString(),date:r}}buildHeaderDates(){let e=[];for(let n=0;n<this.colCnt;n+=1)e.push(this.cells[0][n].date);return e}sliceRange(e){let{colCnt:n}=this,r=this.daySeries.sliceRange(e),i=[];if(r){let{firstIndex:s,lastIndex:l}=r,o=s;for(;o<=l;){let a=Math.floor(o/n),c=Math.min((a+1)*n,l+1);i.push({row:a,firstCol:o%n,lastCol:(c-1)%n,isStart:r.isStart&&o===s,isEnd:r.isEnd&&c-1===l}),o=c}}return i}}class zi{constructor(){this.sliceBusinessHours=S(this._sliceBusinessHours),this.sliceDateSelection=S(this._sliceDateSpan),this.sliceEventStore=S(this._sliceEventStore),this.sliceEventDrag=S(this._sliceInteraction),this.sliceEventResize=S(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,n,r,i,...s){let{eventUiBases:l}=e,o=this.sliceEventStore(e.eventStore,l,n,r,...s);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,l,i,...s),businessHourSegs:this.sliceBusinessHours(e.businessHours,n,r,i,...s),fgEventSegs:o.fg,bgEventSegs:o.bg,eventDrag:this.sliceEventDrag(e.eventDrag,l,n,r,...s),eventResize:this.sliceEventResize(e.eventResize,l,n,r,...s),eventSelection:e.eventSelection}}sliceNowDate(e,n,...r){return this._sliceDateSpan({range:{start:e,end:he(e,1)},allDay:!1},{},n,...r)}_sliceBusinessHours(e,n,r,i,...s){return e?this._sliceEventStore(_e(e,Bt(n,!!r),i),{},n,r,...s).bg:[]}_sliceEventStore(e,n,r,i,...s){if(e){let l=Jt(e,n,Bt(r,!!i),i);return{bg:this.sliceEventRanges(l.bg,s),fg:this.sliceEventRanges(l.fg,s)}}return{bg:[],fg:[]}}_sliceInteraction(e,n,r,i,...s){if(!e)return null;let l=Jt(e.mutatedEvents,n,Bt(r,!!i),i);return{segs:this.sliceEventRanges(l.fg,s),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,n,r,...i){if(!e)return[];let s=aa(e,n,r),l=this.sliceRange(e.range,...i);for(let o of l)o.eventRange=s;return l}sliceEventRanges(e,n){let r=[];for(let i of e)r.push(...this.sliceEventRange(i,n));return r}sliceEventRange(e,n){let r=e.range;this.forceDayIfListItem&&e.ui.display==="list-item"&&(r={start:r.start,end:H(r.start,1)});let i=this.sliceRange(r,...n);for(let s of i)s.eventRange=e,s.isStart=e.isStart&&s.isStart,s.isEnd=e.isEnd&&s.isEnd;return i}}function Bt(t,e){let n=t.activeRange;return e?n:{start:he(n.start,t.slotMinTime.milliseconds),end:he(n.end,t.slotMaxTime.milliseconds-864e5)}}function Ra(t,e,n,r,i){switch(e.type){case"RECEIVE_EVENTS":return Ta(t,n[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,i);case"ADD_EVENTS":return Ia(t,e.eventStore,r?r.activeRange:null,i);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return En(t,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?_e(t,r.activeRange,i):t;case"REMOVE_EVENTS":return ro(t,e.eventStore);case"REMOVE_EVENT_SOURCE":return Fi(t,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return bt(t,s=>!s.sourceId);case"REMOVE_ALL_EVENTS":return W();default:return t}}function Ta(t,e,n,r,i,s){if(e&&n===e.latestFetchId){let l=at(xa(i,e,s),e,s);return r&&(l=_e(l,r,s)),En(Fi(t,e.sourceId),l)}return t}function xa(t,e,n){let r=n.options.eventDataTransform,i=e?e.eventDataTransform:null;return i&&(t=Tr(t,i)),r&&(t=Tr(t,r)),t}function Tr(t,e){let n;if(!e)n=t;else{n=[];for(let r of t){let i=e(r);i?n.push(i):i==null&&n.push(r)}}return n}function Ia(t,e,n,r){return n&&(e=_e(e,n,r)),En(t,e)}function Ma(t,e,n){let{defs:r}=t,i=X(t.instances,s=>{let l=r[s.defId];return l.allDay||l.recurringDef?s:Object.assign(Object.assign({},s),{range:{start:n.createMarker(e.toDate(s.range.start,s.forcedStartTzo)),end:n.createMarker(e.toDate(s.range.end,s.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:s.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:s.forcedEndTzo})});return{defs:r,instances:i}}function Fi(t,e){return bt(t,n=>n.sourceId!==e)}function ka(t,e){return{defs:t.defs,instances:fe(t.instances,n=>!e[n.instanceId])}}function Wi(t,e,n){let{instances:r}=t.mutatedEvents;for(let i in r)if(!yt(e.validRange,r[i].range))return!1;return Vi({eventDrag:t},n)}function Na(t,e,n){return yt(e.validRange,t.range)?Vi({dateSelection:t},n):!1}function Vi(t,e){let n=e.getCurrentData(),r=Object.assign({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},t);return(e.pluginHooks.isPropsValid||Oa)(r,e)}function Oa(t,e,n={},r){return!(t.eventDrag&&!Pa(t,e,n,r)||t.dateSelection&&!Ha(t,e,n,r))}function Pa(t,e,n,r){let i=e.getCurrentData(),s=t.eventDrag,l=s.mutatedEvents,o=l.defs,a=l.instances,c=ut(o,s.isEvent?t.eventUiBases:{"":i.selectionConfig});r&&(c=X(c,r));let u=ka(t.eventStore,s.affectedEvents.instances),d=u.defs,g=u.instances,h=ut(d,t.eventUiBases);for(let b in a){let m=a[b],v=m.range,y=c[m.defId],E=o[m.defId];if(!Gi(y.constraints,v,u,t.businessHours,e))return!1;let{eventOverlap:D}=e.options,A=typeof D=="function"?D:null;for(let N in g){let O=g[N];if(Dn(v,O.range)&&(h[O.defId].overlap===!1&&s.isEvent||y.overlap===!1||A&&!A(new k(e,d[O.defId],O),new k(e,E,m))))return!1}let w=i.eventStore;for(let N of y.allows){let O=Object.assign(Object.assign({},n),{range:m.range,allDay:E.allDay}),I=w.defs[E.defId],oe=w.instances[b],B;if(I?B=new k(e,I,oe):B=new k(e,E),!N(Rn(O,e),B))return!1}}return!0}function Ha(t,e,n,r){let i=t.eventStore,s=i.defs,l=i.instances,o=t.dateSelection,a=o.range,{selectionConfig:c}=e.getCurrentData();if(r&&(c=r(c)),!Gi(c.constraints,a,i,t.businessHours,e))return!1;let{selectOverlap:u}=e.options,d=typeof u=="function"?u:null;for(let g in l){let h=l[g];if(Dn(a,h.range)&&(c.overlap===!1||d&&!d(new k(e,s[h.defId],h),null)))return!1}for(let g of c.allows){let h=Object.assign(Object.assign({},n),o);if(!g(Rn(h,e),null))return!1}return!0}function Gi(t,e,n,r,i){for(let s of t)if(!La(Ba(s,e,n,r,i),e))return!1;return!0}function Ba(t,e,n,r,i){return t==="businessHours"?Lt(_e(r,e,i)):typeof t=="string"?Lt(bt(n,s=>s.groupId===t)):typeof t=="object"&&t?Lt(_e(t,e,i)):[]}function Lt(t){let{instances:e}=t,n=[];for(let r in e)n.push(e[r].range);return n}function La(t,e){for(let n of t)if(yt(n,e))return!0;return!1}class xr extends Error{constructor(e,n){super(e),this.response=n}}function Ua(t,e,n){t=t.toUpperCase();const r={method:t};return t==="GET"?e+=(e.indexOf("?")===-1?"?":"&")+new URLSearchParams(n):(r.body=new URLSearchParams(n),r.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(e,r).then(i=>{if(i.ok)return i.json().then(s=>[s,i],()=>{throw new xr("Failure parsing JSON",i)});throw new xr("Request failed",i)})}class Pn{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),e==null?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:n}=this;n[e]=(n[e]||0)+1,this.clearTimeout()}resume(e="",n){let{pauseDepths:r}=this;e in r&&(n?delete r[e]:(r[e]-=1,r[e]<=0&&delete r[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}const Ye=/^(visible|hidden)$/;class Qi extends R{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,ie(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:n,liquidIsAbsolute:r}=e,i=n&&r,s=["fc-scroller"];return n&&(r?s.push("fc-scroller-liquid-absolute"):s.push("fc-scroller-liquid")),f("div",{ref:this.handleEl,className:s.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:i&&-(e.overcomeLeft||0)||"",right:i&&-(e.overcomeRight||0)||"",bottom:i&&-(e.overcomeBottom||0)||"",marginLeft:!i&&-(e.overcomeLeft||0)||"",marginRight:!i&&-(e.overcomeRight||0)||"",marginBottom:!i&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(Ye.test(this.props.overflowX))return!1;let{el:e}=this,n=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:r}=e;for(let i=0;i<r.length;i+=1)if(r[i].getBoundingClientRect().width>n)return!0;return!1}needsYScrolling(){if(Ye.test(this.props.overflowY))return!1;let{el:e}=this,n=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:r}=e;for(let i=0;i<r.length;i+=1)if(r[i].getBoundingClientRect().height>n)return!0;return!1}getXScrollbarWidth(){return Ye.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return Ye.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class Z{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(n,r)=>{let{depths:i,currentMap:s}=this,l=!1,o=!1;n!==null?(l=r in s,s[r]=n,i[r]=(i[r]||0)+1,o=!0):(i[r]-=1,i[r]||(delete s[r],delete this.callbackMap[r],l=!0)),this.masterCallback&&(l&&this.masterCallback(null,String(r)),o&&this.masterCallback(n,String(r)))}}createRef(e){let n=this.callbackMap[e];return n||(n=this.callbackMap[e]=r=>{this.handleValue(r,String(e))}),n}collect(e,n,r){return Cl(this.currentMap,e,n,r)}getAll(){return pn(this.currentMap)}}function ja(t){let e=Ks(t,".fc-scrollgrid-shrink"),n=0;for(let r of e)n=Math.max(n,hl(r));return Math.ceil(n)}function qi(t,e){return t.liquid&&e.liquid}function za(t,e){return e.maxHeight!=null||qi(t,e)}function Fa(t,e,n,r){let{expandRows:i}=n;return typeof e.content=="function"?e.content(n):f("table",{role:"presentation",className:[e.tableClassName,t.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:i?n.clientHeight:""}},n.tableColGroupNode,f(r?"thead":"tbody",{role:"presentation"},typeof e.rowContent=="function"?e.rowContent(n):e.rowContent))}function Wa(t,e){return ge(t,e,Q)}function Va(t,e){let n=[];for(let r of t){let i=r.span||1;for(let s=0;s<i;s+=1)n.push(f("col",{style:{width:r.width==="shrink"?Ga(e):r.width||"",minWidth:r.minWidth||""}}))}return f("colgroup",{},...n)}function Ga(t){return t??4}function Qa(t){for(let e of t)if(e.width==="shrink")return!0;return!1}function qa(t,e){let n=["fc-scrollgrid",e.theme.getClass("table")];return t&&n.push("fc-scrollgrid-liquid"),n}function Ya(t,e){let n=["fc-scrollgrid-section",`fc-scrollgrid-section-${t.type}`,t.className];return e&&t.liquid&&t.maxHeight==null&&n.push("fc-scrollgrid-section-liquid"),t.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function nn(t){return f("div",{className:"fc-scrollgrid-sticky-shim",style:{width:t.clientWidth,minWidth:t.tableMinWidth}})}function ft(t){let{stickyHeaderDates:e}=t;return(e==null||e==="auto")&&(e=t.height==="auto"||t.viewHeight==="auto"),e}function Yi(t){let{stickyFooterScrollbar:e}=t;return(e==null||e==="auto")&&(e=t.height==="auto"||t.viewHeight==="auto"),e}class Hn extends R{constructor(){super(...arguments),this.processCols=S(e=>e,Wa),this.renderMicroColGroup=S(Va),this.scrollerRefs=new Z,this.scrollerElRefs=new Z(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:e,state:n,context:r}=this,i=e.sections||[],s=this.processCols(e.cols),l=this.renderMicroColGroup(s,n.shrinkWidth),o=qa(e.liquid,r);e.collapsibleWidth&&o.push("fc-scrollgrid-collapsible");let a=i.length,c=0,u,d=[],g=[],h=[];for(;c<a&&(u=i[c]).type==="header";)d.push(this.renderSection(u,l,!0)),c+=1;for(;c<a&&(u=i[c]).type==="body";)g.push(this.renderSection(u,l,!1)),c+=1;for(;c<a&&(u=i[c]).type==="footer";)h.push(this.renderSection(u,l,!0)),c+=1;let b=!Ei();const m={role:"rowgroup"};return f("table",{role:"grid",className:o.join(" "),style:{height:e.height}},!!(!b&&d.length)&&f("thead",m,...d),!!(!b&&g.length)&&f("tbody",m,...g),!!(!b&&h.length)&&f("tfoot",m,...h),b&&f("tbody",m,...d,...g,...h))}renderSection(e,n,r){return"outerContent"in e?f(T,{key:e.key},e.outerContent):f("tr",{key:e.key,role:"presentation",className:Ya(e,this.props.liquid).join(" ")},this.renderChunkTd(e,n,e.chunk,r))}renderChunkTd(e,n,r,i){if("outerContent"in r)return r.outerContent;let{props:s}=this,{forceYScrollbars:l,scrollerClientWidths:o,scrollerClientHeights:a}=this.state,c=za(s,e),u=qi(s,e),d=s.liquid?l?"scroll":c?"auto":"hidden":"visible",g=e.key,h=Fa(e,r,{tableColGroupNode:n,tableMinWidth:"",clientWidth:!s.collapsibleWidth&&o[g]!==void 0?o[g]:null,clientHeight:a[g]!==void 0?a[g]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},i);return f(i?"th":"td",{ref:r.elRef,role:"presentation"},f("div",{className:`fc-scroller-harness${u?" fc-scroller-harness-liquid":""}`},f(Qi,{ref:this.scrollerRefs.createRef(g),elRef:this.scrollerElRefs.createRef(g),overflowY:d,overflowX:s.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:u,liquidIsAbsolute:!0},h)))}_handleScrollerEl(e,n){let r=Za(this.props.sections,n);r&&ie(r.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return Qa(this.props.cols)?ja(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=Io(),{scrollerRefs:n,scrollerElRefs:r}=this,i=!1,s={},l={};for(let o in n.currentMap){let a=n.currentMap[o];if(a&&a.needsYScrolling()){i=!0;break}}for(let o of this.props.sections){let a=o.key,c=r.currentMap[a];if(c){let u=c.parentNode;s[a]=Math.floor(u.getBoundingClientRect().width-(i?e.y:0)),l[a]=Math.floor(u.getBoundingClientRect().height)}}return{forceYScrollbars:i,scrollerClientWidths:s,scrollerClientHeights:l}}}Hn.addStateEquality({scrollerClientWidths:Q,scrollerClientHeights:Q});function Za(t,e){for(let n of t)if(n.key===e)return n;return null}class At extends R{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,e&&_r(e,this.props.seg)}}render(){const{props:e,context:n}=this,{options:r}=n,{seg:i}=e,{eventRange:s}=i,{ui:l}=s,o={event:new k(n,s.def,s.instance),view:n.viewApi,timeText:e.timeText,textColor:l.textColor,backgroundColor:l.backgroundColor,borderColor:l.borderColor,isDraggable:!e.disableDragging&&Jo(i,n),isStartResizable:!e.disableResizing&&Ko(i,n),isEndResizable:!e.disableResizing&&ea(i),isMirror:!!(e.isDragging||e.isResizing||e.isDateSelecting),isStart:!!i.isStart,isEnd:!!i.isEnd,isPast:!!e.isPast,isFuture:!!e.isFuture,isToday:!!e.isToday,isSelected:!!e.isSelected,isDragging:!!e.isDragging,isResizing:!!e.isResizing};return f(U,Object.assign({},e,{elRef:this.handleEl,elClasses:[...ta(o),...i.eventRange.ui.classNames,...e.elClasses||[]],renderProps:o,generatorName:"eventContent",generator:r.eventContent||e.defaultGenerator,classNameGenerator:r.eventClassNames,didMount:r.eventDidMount,willUnmount:r.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&_r(this.el,this.props.seg)}}class Zi extends R{render(){let{props:e,context:n}=this,{options:r}=n,{seg:i}=e,{ui:s}=i.eventRange,l=r.eventTimeFormat||e.defaultTimeFormat,o=He(i,l,n,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return f(At,Object.assign({},e,{elTag:"a",elStyle:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},elAttrs:In(i,n),defaultGenerator:$a,timeText:o}),(a,c)=>f(T,null,f(a,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:c.textColor}}),!!c.isStartResizable&&f("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!c.isEndResizable&&f("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function $a(t){return f("div",{className:"fc-event-main-frame"},t.timeText&&f("div",{className:"fc-event-time"},t.timeText),f("div",{className:"fc-event-title-container"},f("div",{className:"fc-event-title fc-sticky"},t.event.title||f(T,null," "))))}const Bn=t=>f(J.Consumer,null,e=>{let{options:n}=e,r={isAxis:t.isAxis,date:e.dateEnv.toDate(t.date),view:e.viewApi};return f(U,Object.assign({},t,{elTag:t.elTag||"div",renderProps:r,generatorName:"nowIndicatorContent",generator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount}))}),Xa=M({day:"numeric"});class Ln extends R{constructor(){super(...arguments),this.refineRenderProps=et(Ja)}render(){let{props:e,context:n}=this,{options:r}=n,i=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:n.viewApi,dateEnv:n.dateEnv});return f(U,Object.assign({},e,{elClasses:[...Et(i,n.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),i.isDisabled?{}:{"data-date":vt(e.date)}),renderProps:i,generatorName:"dayCellContent",generator:r.dayCellContent||e.defaultGenerator,classNameGenerator:i.isDisabled?void 0:r.dayCellClassNames,didMount:r.dayCellDidMount,willUnmount:r.dayCellWillUnmount}))}}function Un(t){return!!(t.dayCellContent||Pi("dayCellContent",t))}function Ja(t){let{date:e,dateEnv:n}=t,r=Cn(e,t.todayRange,null,t.dateProfile);return Object.assign(Object.assign(Object.assign({date:n.toDate(e),view:t.viewApi},r),{dayNumberText:t.showDayNumber?n.format(e,Xa):""}),t.extraRenderProps)}class $i extends R{render(){let{props:e}=this,{seg:n}=e;return f(At,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:n.eventRange.ui.backgroundColor},defaultGenerator:Ka,seg:n,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function Ka(t){let{title:e}=t.event;return e&&f("div",{className:"fc-event-title"},t.event.title)}function Xi(t){return f("div",{className:`fc-${t}`})}const Ji=t=>f(J.Consumer,null,e=>{let{dateEnv:n,options:r}=e,{date:i}=t,s=r.weekNumberFormat||t.defaultFormat,l=n.computeWeekNumber(i),o=n.format(i,s);return f(U,Object.assign({},t,{renderProps:{num:l,text:o,date:i},generatorName:"weekNumberContent",generator:r.weekNumberContent||ec,classNameGenerator:r.weekNumberClassNames,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount}))});function ec(t){return t.text}const Ut=10;class tc extends R{constructor(){super(...arguments),this.state={titleId:ne()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&ie(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const n=li(e);this.rootEl.contains(n)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{e.key==="Escape"&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:n}=this.context,{props:r,state:i}=this,s=["fc-popover",e.getClass("popover")].concat(r.extraClassNames||[]);return zs(f("div",Object.assign({},r.extraAttrs,{id:r.id,className:s.join(" "),"aria-labelledby":i.titleId,ref:this.handleRootEl}),f("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},f("span",{className:"fc-popover-title",id:i.titleId},r.title),f("span",{className:"fc-popover-close "+e.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),f("div",{className:"fc-popover-body "+e.getClass("popoverContent")},r.children)),r.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:n,alignGridTop:r}=this.props,{rootEl:i}=this,s=Oo(n);if(s){let l=i.getBoundingClientRect(),o=r?L(n,".fc-scrollgrid").getBoundingClientRect().top:s.top,a=e?s.right-l.width:s.left;o=Math.max(o,Ut),a=Math.min(a,document.documentElement.clientWidth-Ut-l.width),a=Math.max(a,Ut);let c=i.offsetParent.getBoundingClientRect();Ne(i,{top:o-c.top,left:a-c.left})}}}class nc extends q{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:n}=this.context,{props:r}=this,{startDate:i,todayRange:s,dateProfile:l}=r,o=n.format(i,e.dayPopoverFormat);return f(Ln,{elRef:this.handleRootEl,date:i,dateProfile:l,todayRange:s},(a,c,u)=>f(tc,{elRef:u.ref,id:r.id,title:o,extraClassNames:["fc-more-popover"].concat(u.className||[]),extraAttrs:u,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},Un(e)&&f(a,{elTag:"div",elClasses:["fc-more-popover-misc"]}),r.children))}queryHit(e,n,r,i){let{rootEl:s,props:l}=this;return e>=0&&e<r&&n>=0&&n<i?{dateProfile:l.dateProfile,dateSpan:Object.assign({allDay:!0,range:{start:l.startDate,end:l.endDate}},l.extraDateSpan),dayEl:s,rect:{left:0,top:0,right:r,bottom:i},layer:1}:null}}class Ki extends R{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:ne()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&ie(this.props.elRef,e)},this.handleClick=e=>{let{props:n,context:r}=this,{moreLinkClick:i}=r.options,s=Ir(n).start;function l(o){let{def:a,instance:c,range:u}=o.eventRange;return{event:new k(r,a,c),start:r.dateEnv.toDate(u.start),end:r.dateEnv.toDate(u.end),isStart:o.isStart,isEnd:o.isEnd}}typeof i=="function"&&(i=i({date:s,allDay:!!n.allDayDate,allSegs:n.allSegs.map(l),hiddenSegs:n.hiddenSegs.map(l),jsEvent:e,view:r.viewApi})),!i||i==="popover"?this.setState({isPopoverOpen:!0}):typeof i=="string"&&r.calendarApi.zoomTo(s,i)},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:n}=this;return f(J.Consumer,null,r=>{let{viewApi:i,options:s,calendarApi:l}=r,{moreLinkText:o}=s,{moreCnt:a}=e,c=Ir(e),u=typeof o=="function"?o.call(l,a):`+${a} ${o}`,d=Oe(s.moreLinkHint,[a],u),g={num:a,shortText:`+${a}`,text:u,view:i};return f(T,null,!!e.moreCnt&&f(U,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),ci(this.handleClick)),{title:d,"aria-expanded":n.isPopoverOpen,"aria-controls":n.isPopoverOpen?n.popoverId:""}),renderProps:g,generatorName:"moreLinkContent",generator:s.moreLinkContent||e.defaultGenerator||rc,classNameGenerator:s.moreLinkClassNames,didMount:s.moreLinkDidMount,willUnmount:s.moreLinkWillUnmount},e.children),n.isPopoverOpen&&f(nc,{id:n.popoverId,startDate:c.start,endDate:c.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=L(this.linkEl,".fc-view-harness"))}}function rc(t){return t.text}function Ir(t){if(t.allDayDate)return{start:t.allDayDate,end:H(t.allDayDate,1)};let{hiddenSegs:e}=t;return{start:es(e),end:sc(e)}}function es(t){return t.reduce(ic).eventRange.range.start}function ic(t,e){return t.eventRange.range.start<e.eventRange.range.start?t:e}function sc(t){return t.reduce(lc).eventRange.range.end}function lc(t,e){return t.eventRange.range.end>e.eventRange.range.end?t:e}let Ue=class extends R{render(){let{props:e,context:n}=this,{options:r}=n,i={view:n.viewApi};return f(U,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...ts(e.viewSpec),...e.elClasses||[]],renderProps:i,classNameGenerator:r.viewClassNames,generatorName:void 0,generator:void 0,didMount:r.viewDidMount,willUnmount:r.viewWillUnmount}),()=>e.children)}};function ts(t){return[`fc-${t.type}-view`,"fc-view"]}function Dt(t){if(!t||typeof document>"u")return;const e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}const oc={id:String,defaultAllDay:Boolean,url:String,format:String,events:p,eventDataTransform:p,success:p,failure:p};function ns(t,e,n=rs(e)){let r;if(typeof t=="string"?r={url:t}:typeof t=="function"||Array.isArray(t)?r={events:t}:typeof t=="object"&&t&&(r=t),r){let{refined:i,extra:s}=vn(r,n),l=ac(i,e);if(l)return{_raw:t,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:me(),sourceDefId:l.sourceDefId,meta:l.meta,ui:dt(i,e),extendedProps:s}}return null}function rs(t){return Object.assign(Object.assign(Object.assign({},ct),oc),t.pluginHooks.eventSourceRefiners)}function ac(t,e){let n=e.pluginHooks.eventSourceDefs;for(let r=n.length-1;r>=0;r-=1){let s=n[r].parseMeta(t);if(s)return{sourceDefId:r,meta:s}}return null}class cc{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,n){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:n})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,n){let{currentDataManager:r}=this;r.currentCalendarOptionsRefiners[e]?r.emitter.on(e,n):console.warn(`Unknown listener name '${e}'`)}off(e,n){this.currentDataManager.emitter.off(e,n)}trigger(e,...n){this.currentDataManager.emitter.trigger(e,...n)}changeView(e,n){this.batchRendering(()=>{if(this.unselect(),n)if(n.start&&n.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:n});else{let{dateEnv:r}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(n)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,n){let r=this.getCurrentData(),i;n=n||"day",i=r.viewSpecs[n]||this.getUnitViewSpec(n),this.unselect(),i?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:i.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let{viewSpecs:n,toolbarConfig:r}=this.getCurrentData(),i=[].concat(r.header?r.header.viewsWithButtons:[],r.footer?r.footer.viewsWithButtons:[]),s,l;for(let o in n)i.push(o);for(s=0;s<i.length;s+=1)if(l=n[i[s]],l&&l.singleUnit===e)return l;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}nextYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}today(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:ze(e.calendarOptions.now,e.dateEnv)})}gotoDate(e){let n=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:n.dateEnv.createMarker(e)})}incrementDate(e){let n=this.getCurrentData(),r=_(e);r&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:n.dateEnv.add(n.currentDate,r)}))}getDate(){let e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}formatDate(e,n){let{dateEnv:r}=this.getCurrentData();return r.format(r.createMarker(e),M(n))}formatRange(e,n,r){let{dateEnv:i}=this.getCurrentData();return i.formatRange(i.createMarker(e),i.createMarker(n),M(r),r)}formatIso(e,n){let{dateEnv:r}=this.getCurrentData();return r.formatIso(r.createMarker(e),{omitTime:n})}select(e,n){let r;n==null?e.start!=null?r=e:r={start:e,end:null}:r={start:e,end:n};let i=this.getCurrentData(),s=ra(r,i.dateEnv,_({days:1}));s&&(this.dispatch({type:"SELECT_DATES",selection:s}),wi(s,null,i))}unselect(e){let n=this.getCurrentData();n.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),qo(e,n))}addEvent(e,n){if(e instanceof k){let l=e._def,o=e._instance;return this.getCurrentData().eventStore.defs[l.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:$t({def:l,instance:o})}),this.triggerEventAdd(e)),e}let r=this.getCurrentData(),i;if(n instanceof Ee)i=n.internalEventSource;else if(typeof n=="boolean")n&&([i]=pn(r.eventSources));else if(n!=null){let l=this.getEventSourceById(n);if(!l)return console.warn(`Could not find an event source with ID "${n}"`),null;i=l.internalEventSource}let s=mi(e,i,r,!1);if(s){let l=new k(r,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:$t(s)}),this.triggerEventAdd(l),l}return null}triggerEventAdd(e){let{emitter:n}=this.getCurrentData();n.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:_i(e)})}})}getEventById(e){let n=this.getCurrentData(),{defs:r,instances:i}=n.eventStore;e=String(e);for(let s in r){let l=r[s];if(l.publicId===e){if(l.recurringDef)return new k(n,l,null);for(let o in i){let a=i[o];if(a.defId===l.defId)return new k(n,l,a)}}}return null}getEvents(){let e=this.getCurrentData();return de(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),n=e.eventSources,r=[];for(let i in n)r.push(new Ee(e,n[i]));return r}getEventSourceById(e){let n=this.getCurrentData(),r=n.eventSources;e=String(e);for(let i in r)if(r[i].publicId===e)return new Ee(n,r[i]);return null}addEventSource(e){let n=this.getCurrentData();if(e instanceof Ee)return n.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let r=ns(e,n);return r?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[r]}),new Ee(n,r)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let n=_(e);n&&this.trigger("_scrollRequest",{time:n})}}class dc{constructor(){this.handlers=[]}set(e){this.currentValue=e;for(let n of this.handlers)n(e)}subscribe(e){this.handlers.push(e),this.currentValue!==void 0&&e(this.currentValue)}}class uc extends dc{constructor(){super(...arguments),this.map=new Map}handle(e){const{map:n}=this;let r=!1;e.isActive?(n.set(e.id,e),r=!0):n.has(e.id)&&(n.delete(e.id),r=!0),r&&this.set(n)}}var fc=':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc-unselectable{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-moz-user-select:none;user-select:none}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button::-moz-focus-inner{border-style:none;padding:0}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';Dt(fc);const hc=[],is={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"},ss=Object.assign(Object.assign({},is),{buttonHints:{prev:"Previous $0",next:"Next $0",today(t,e){return e==="day"?"Today":`This ${t}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(t){return`Show ${t} more event${t===1?"":"s"}`}});function gc(t){let e=t.length>0?t[0].code:"en",n=hc.concat(t),r={en:ss};for(let i of n)r[i.code]=i;return{map:r,defaultCode:e}}function ls(t,e){return typeof t=="object"&&!Array.isArray(t)?os(t.code,[t.code],t):pc(t,e)}function pc(t,e){let n=[].concat(t||[]),r=mc(n,e)||ss;return os(t,n,r)}function mc(t,e){for(let n=0;n<t.length;n+=1){let r=t[n].toLocaleLowerCase().split("-");for(let i=r.length;i>0;i-=1){let s=r.slice(0,i).join("-");if(e[s])return e[s]}}return null}function os(t,e,n){let r=gn([is,n],["buttonText"]);delete r.code;let{week:i}=r;return delete r.week,{codeArg:t,codes:e,week:i,simpleNumberFormat:new Intl.NumberFormat(t),options:r}}function Y(t){return{id:me(),name:t.name,premiumReleaseDate:t.premiumReleaseDate?new Date(t.premiumReleaseDate):void 0,deps:t.deps||[],reducers:t.reducers||[],isLoadingFuncs:t.isLoadingFuncs||[],contextInit:[].concat(t.contextInit||[]),eventRefiners:t.eventRefiners||{},eventDefMemberAdders:t.eventDefMemberAdders||[],eventSourceRefiners:t.eventSourceRefiners||{},isDraggableTransformers:t.isDraggableTransformers||[],eventDragMutationMassagers:t.eventDragMutationMassagers||[],eventDefMutationAppliers:t.eventDefMutationAppliers||[],dateSelectionTransformers:t.dateSelectionTransformers||[],datePointTransforms:t.datePointTransforms||[],dateSpanTransforms:t.dateSpanTransforms||[],views:t.views||{},viewPropsTransformers:t.viewPropsTransformers||[],isPropsValid:t.isPropsValid||null,externalDefTransforms:t.externalDefTransforms||[],viewContainerAppends:t.viewContainerAppends||[],eventDropTransformers:t.eventDropTransformers||[],componentInteractions:t.componentInteractions||[],calendarInteractions:t.calendarInteractions||[],themeClasses:t.themeClasses||{},eventSourceDefs:t.eventSourceDefs||[],cmdFormatter:t.cmdFormatter,recurringTypes:t.recurringTypes||[],namedTimeZonedImpl:t.namedTimeZonedImpl,initialView:t.initialView||"",elementDraggingImpl:t.elementDraggingImpl,optionChangeHandlers:t.optionChangeHandlers||{},scrollGridImpl:t.scrollGridImpl||null,listenerRefiners:t.listenerRefiners||{},optionRefiners:t.optionRefiners||{},propSetHandlers:t.propSetHandlers||{}}}function vc(t,e){let n={},r={premiumReleaseDate:void 0,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,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function i(s){for(let l of s){const o=l.name,a=n[o];a===void 0?(n[o]=l.id,i(l.deps),r=yc(r,l)):a!==l.id&&console.warn(`Duplicate plugin '${o}'`)}}return t&&i(t),i(e),r}function bc(){let t=[],e=[],n;return(r,i)=>((!n||!ge(r,t)||!ge(i,e))&&(n=vc(r,i)),t=r,e=i,n)}function yc(t,e){return{premiumReleaseDate:Ec(t.premiumReleaseDate,e.premiumReleaseDate),reducers:t.reducers.concat(e.reducers),isLoadingFuncs:t.isLoadingFuncs.concat(e.isLoadingFuncs),contextInit:t.contextInit.concat(e.contextInit),eventRefiners:Object.assign(Object.assign({},t.eventRefiners),e.eventRefiners),eventDefMemberAdders:t.eventDefMemberAdders.concat(e.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},t.eventSourceRefiners),e.eventSourceRefiners),isDraggableTransformers:t.isDraggableTransformers.concat(e.isDraggableTransformers),eventDragMutationMassagers:t.eventDragMutationMassagers.concat(e.eventDragMutationMassagers),eventDefMutationAppliers:t.eventDefMutationAppliers.concat(e.eventDefMutationAppliers),dateSelectionTransformers:t.dateSelectionTransformers.concat(e.dateSelectionTransformers),datePointTransforms:t.datePointTransforms.concat(e.datePointTransforms),dateSpanTransforms:t.dateSpanTransforms.concat(e.dateSpanTransforms),views:Object.assign(Object.assign({},t.views),e.views),viewPropsTransformers:t.viewPropsTransformers.concat(e.viewPropsTransformers),isPropsValid:e.isPropsValid||t.isPropsValid,externalDefTransforms:t.externalDefTransforms.concat(e.externalDefTransforms),viewContainerAppends:t.viewContainerAppends.concat(e.viewContainerAppends),eventDropTransformers:t.eventDropTransformers.concat(e.eventDropTransformers),calendarInteractions:t.calendarInteractions.concat(e.calendarInteractions),componentInteractions:t.componentInteractions.concat(e.componentInteractions),themeClasses:Object.assign(Object.assign({},t.themeClasses),e.themeClasses),eventSourceDefs:t.eventSourceDefs.concat(e.eventSourceDefs),cmdFormatter:e.cmdFormatter||t.cmdFormatter,recurringTypes:t.recurringTypes.concat(e.recurringTypes),namedTimeZonedImpl:e.namedTimeZonedImpl||t.namedTimeZonedImpl,initialView:t.initialView||e.initialView,elementDraggingImpl:t.elementDraggingImpl||e.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},t.optionChangeHandlers),e.optionChangeHandlers),scrollGridImpl:e.scrollGridImpl||t.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},t.listenerRefiners),e.listenerRefiners),optionRefiners:Object.assign(Object.assign({},t.optionRefiners),e.optionRefiners),propSetHandlers:Object.assign(Object.assign({},t.propSetHandlers),e.propSetHandlers)}}function Ec(t,e){return t===void 0?e:e===void 0?t:new Date(Math.max(t.valueOf(),e.valueOf()))}class le extends je{}le.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"};le.prototype.baseIconClass="fc-icon";le.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"};le.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"};le.prototype.iconOverrideOption="buttonIcons";le.prototype.iconOverrideCustomButtonOption="icon";le.prototype.iconOverridePrefix="fc-icon-";function Sc(t,e){let n={},r;for(r in t)rn(r,n,t,e);for(r in e)rn(r,n,t,e);return n}function rn(t,e,n,r){if(e[t])return e[t];let i=Ac(t,e,n,r);return i&&(e[t]=i),i}function Ac(t,e,n,r){let i=n[t],s=r[t],l=u=>i&&i[u]!==null?i[u]:s&&s[u]!==null?s[u]:null,o=l("component"),a=l("superType"),c=null;if(a){if(a===t)throw new Error("Can't have a custom view type that references itself");c=rn(a,e,n,r)}return!o&&c&&(o=c.component),o?{type:t,component:o,defaults:Object.assign(Object.assign({},c?c.defaults:{}),i?i.rawOptions:{}),overrides:Object.assign(Object.assign({},c?c.overrides:{}),s?s.rawOptions:{})}:null}function Mr(t){return X(t,Dc)}function Dc(t){let e=typeof t=="function"?{component:t}:t,{component:n}=e;return e.content&&(n=Cc(e)),{superType:e.type,component:n,rawOptions:e}}function Cc(t){return e=>f(J.Consumer,null,n=>f(U,{elTag:"div",elClasses:ts(n.viewSpec),renderProps:Object.assign(Object.assign({},e),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,generator:t.content,classNameGenerator:t.classNames,didMount:t.didMount,willUnmount:t.willUnmount}))}function wc(t,e,n,r){let i=Mr(t),s=Mr(e.views),l=Sc(i,s);return X(l,o=>_c(o,s,e,n,r))}function _c(t,e,n,r,i){let s=t.overrides.duration||t.defaults.duration||r.duration||n.duration,l=null,o="",a="",c={};if(s&&(l=Rc(s),l)){let g=Yt(l);o=g.unit,g.value===1&&(a=o,c=e[o]?e[o].rawOptions:{})}let u=g=>{let h=g.buttonText||{},b=t.defaults.buttonTextKey;return b!=null&&h[b]!=null?h[b]:h[t.type]!=null?h[t.type]:h[a]!=null?h[a]:null},d=g=>{let h=g.buttonHints||{},b=t.defaults.buttonTextKey;return b!=null&&h[b]!=null?h[b]:h[t.type]!=null?h[t.type]:h[a]!=null?h[a]:null};return{type:t.type,component:t.component,duration:l,durationUnit:o,singleUnit:a,optionDefaults:t.defaults,optionOverrides:Object.assign(Object.assign({},c),t.overrides),buttonTextOverride:u(r)||u(n)||t.overrides.buttonText,buttonTextDefault:u(i)||t.defaults.buttonText||u(Pe)||t.type,buttonTitleOverride:d(r)||d(n)||t.overrides.buttonHint,buttonTitleDefault:d(i)||t.defaults.buttonHint||d(Pe)}}let kr={};function Rc(t){let e=JSON.stringify(t),n=kr[e];return n===void 0&&(n=_(t),kr[e]=n),n}function Tc(t,e){switch(e.type){case"CHANGE_VIEW_TYPE":t=e.viewType}return t}function xc(t,e){switch(e.type){case"SET_OPTION":return Object.assign(Object.assign({},t),{[e.optionName]:e.rawOptionValue});default:return t}}function Ic(t,e,n,r){let i;switch(e.type){case"CHANGE_VIEW_TYPE":return r.build(e.dateMarker||n);case"CHANGE_DATE":return r.build(e.dateMarker);case"PREV":if(i=r.buildPrev(t,n),i.isValid)return i;break;case"NEXT":if(i=r.buildNext(t,n),i.isValid)return i;break}return t}function Mc(t,e,n){let r=e?e.activeRange:null;return cs({},Lc(t,n),r,n)}function kc(t,e,n,r){let i=n?n.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return cs(t,e.sources,i,r);case"REMOVE_EVENT_SOURCE":return Oc(t,e.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?ds(t,i,r):t;case"FETCH_EVENT_SOURCES":return jn(t,e.sourceIds?ui(e.sourceIds):us(t,r),i,e.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return Bc(t,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return t}}function Nc(t,e,n){let r=e?e.activeRange:null;return jn(t,us(t,n),r,!0,n)}function as(t){for(let e in t)if(t[e].isFetching)return!0;return!1}function cs(t,e,n,r){let i={};for(let s of e)i[s.sourceId]=s;return n&&(i=ds(i,n,r)),Object.assign(Object.assign({},t),i)}function Oc(t,e){return fe(t,n=>n.sourceId!==e)}function ds(t,e,n){return jn(t,fe(t,r=>Pc(r,e,n)),e,!1,n)}function Pc(t,e,n){return fs(t,n)?!n.options.lazyFetching||!t.fetchRange||t.isFetching||e.start<t.fetchRange.start||e.end>t.fetchRange.end:!t.latestFetchId}function jn(t,e,n,r,i){let s={};for(let l in t){let o=t[l];e[l]?s[l]=Hc(o,n,r,i):s[l]=o}return s}function Hc(t,e,n,r){let{options:i,calendarApi:s}=r,l=r.pluginHooks.eventSourceDefs[t.sourceDefId],o=me();return l.fetch({eventSource:t,range:e,isRefetch:n,context:r},a=>{let{rawEvents:c}=a;i.eventSourceSuccess&&(c=i.eventSourceSuccess.call(s,c,a.response)||c),t.success&&(c=t.success.call(s,c,a.response)||c),r.dispatch({type:"RECEIVE_EVENTS",sourceId:t.sourceId,fetchId:o,fetchRange:e,rawEvents:c})},a=>{let c=!1;i.eventSourceFailure&&(i.eventSourceFailure.call(s,a),c=!0),t.failure&&(t.failure(a),c=!0),c||console.warn(a.message,a),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:t.sourceId,fetchId:o,fetchRange:e,error:a})}),Object.assign(Object.assign({},t),{isFetching:!0,latestFetchId:o})}function Bc(t,e,n,r){let i=t[e];return i&&n===i.latestFetchId?Object.assign(Object.assign({},t),{[e]:Object.assign(Object.assign({},i),{isFetching:!1,fetchRange:r})}):t}function us(t,e){return fe(t,n=>fs(n,e))}function Lc(t,e){let n=rs(e),r=[].concat(t.eventSources||[]),i=[];t.initialEvents&&r.unshift(t.initialEvents),t.events&&r.unshift(t.events);for(let s of r){let l=ns(s,e,n);l&&i.push(l)}return i}function fs(t,e){return!e.pluginHooks.eventSourceDefs[t.sourceDefId].ignoreRange}function Uc(t,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return t}}function jc(t,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return t}}function zc(t,e){let n;switch(e.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return n=e.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function Fc(t,e){let n;switch(e.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return n=e.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function Wc(t,e,n,r,i){let s=t.headerToolbar?Nr(t.headerToolbar,t,e,n,r,i):null,l=t.footerToolbar?Nr(t.footerToolbar,t,e,n,r,i):null;return{header:s,footer:l}}function Nr(t,e,n,r,i,s){let l={},o=[],a=!1;for(let c in t){let u=t[c],d=Vc(u,e,n,r,i,s);l[c]=d.widgets,o.push(...d.viewsWithButtons),a=a||d.hasTitle}return{sectionWidgets:l,viewsWithButtons:o,hasTitle:a}}function Vc(t,e,n,r,i,s){let l=e.direction==="rtl",o=e.customButtons||{},a=n.buttonText||{},c=e.buttonText||{},u=n.buttonHints||{},d=e.buttonHints||{},g=t?t.split(" "):[],h=[],b=!1;return{widgets:g.map(v=>v.split(",").map(y=>{if(y==="title")return b=!0,{buttonName:y};let E,D,A,w,N,O;if(E=o[y])A=I=>{E.click&&E.click.call(I.target,I,I.target)},(w=r.getCustomButtonIconClass(E))||(w=r.getIconClass(y,l))||(N=E.text),O=E.hint||E.text;else if(D=i[y]){h.push(y),A=()=>{s.changeView(y)},(N=D.buttonTextOverride)||(w=r.getIconClass(y,l))||(N=D.buttonTextDefault);let I=D.buttonTextOverride||D.buttonTextDefault;O=Oe(D.buttonTitleOverride||D.buttonTitleDefault||e.viewHint,[I,y],I)}else if(s[y])if(A=()=>{s[y]()},(N=a[y])||(w=r.getIconClass(y,l))||(N=c[y]),y==="prevYear"||y==="nextYear"){let I=y==="prevYear"?"prev":"next";O=Oe(u[I]||d[I],[c.year||"year","year"],c[y])}else O=I=>Oe(u[y]||d[y],[c[I]||I,I],c[y]);return{buttonName:y,buttonClick:A,buttonIcon:w,buttonText:N,buttonHint:O}})),viewsWithButtons:h,hasTitle:b}}class Gc{constructor(e,n,r){this.type=e,this.getCurrentData=n,this.dateEnv=r}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}let Qc={ignoreRange:!0,parseMeta(t){return Array.isArray(t.events)?t.events:null},fetch(t,e){e({rawEvents:t.eventSource.meta})}};const qc=Y({name:"array-event-source",eventSourceDefs:[Qc]});let Yc={parseMeta(t){return typeof t.events=="function"?t.events:null},fetch(t,e,n){const{dateEnv:r}=t.context,i=t.eventSource.meta;Po(i.bind(null,xi(t.range,r)),s=>e({rawEvents:s}),n)}};const Zc=Y({name:"func-event-source",eventSourceDefs:[Yc]}),$c={method:String,extraParams:p,startParam:String,endParam:String,timeZoneParam:String};let Xc={parseMeta(t){return t.url&&(t.format==="json"||!t.format)?{url:t.url,format:"json",method:(t.method||"GET").toUpperCase(),extraParams:t.extraParams,startParam:t.startParam,endParam:t.endParam,timeZoneParam:t.timeZoneParam}:null},fetch(t,e,n){const{meta:r}=t.eventSource,i=Kc(r,t.range,t.context);Ua(r.method,r.url,i).then(([s,l])=>{e({rawEvents:s,response:l})},n)}};const Jc=Y({name:"json-event-source",eventSourceRefiners:$c,eventSourceDefs:[Xc]});function Kc(t,e,n){let{dateEnv:r,options:i}=n,s,l,o,a,c={};return s=t.startParam,s==null&&(s=i.startParam),l=t.endParam,l==null&&(l=i.endParam),o=t.timeZoneParam,o==null&&(o=i.timeZoneParam),typeof t.extraParams=="function"?a=t.extraParams():a=t.extraParams||{},Object.assign(c,a),c[s]=r.formatIso(e.start),c[l]=r.formatIso(e.end),r.timeZone!=="local"&&(c[o]=r.timeZone),c}const ed={daysOfWeek:p,startTime:_,endTime:_,duration:_,startRecur:p,endRecur:p};let td={parse(t,e){if(t.daysOfWeek||t.startTime||t.endTime||t.startRecur||t.endRecur){let n={daysOfWeek:t.daysOfWeek||null,startTime:t.startTime||null,endTime:t.endTime||null,startRecur:t.startRecur?e.createMarker(t.startRecur):null,endRecur:t.endRecur?e.createMarker(t.endRecur):null},r;return t.duration&&(r=t.duration),!r&&t.startTime&&t.endTime&&(r=vl(t.endTime,t.startTime)),{allDayGuess:!t.startTime&&!t.endTime,duration:r,typeData:n}}return null},expand(t,e,n){let r=pe(e,{start:t.startRecur,end:t.endRecur});return r?rd(t.daysOfWeek,t.startTime,r,n):[]}};const nd=Y({name:"simple-recurring-event",recurringTypes:[td],eventRefiners:ed});function rd(t,e,n,r){let i=t?ui(t):null,s=x(n.start),l=n.end,o=[];for(;s<l;){let a;(!i||i[s.getUTCDay()])&&(e?a=r.add(s,e):a=s,o.push(a)),s=H(s,1)}return o}const id=Y({name:"change-handler",optionChangeHandlers:{events(t,e){Or([t],e)},eventSources:Or}});function Or(t,e){let n=pn(e.getCurrentData().eventSources),r=[];for(let i of t){let s=!1;for(let l=0;l<n.length;l+=1)if(n[l]._raw===i){n.splice(l,1),s=!0;break}s||r.push(i)}for(let i of n)e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:i.sourceId});for(let i of r)e.calendarApi.addEventSource(i)}function sd(t,e){e.emitter.trigger("datesSet",Object.assign(Object.assign({},xi(t.activeRange,e.dateEnv)),{view:e.viewApi}))}function ld(t,e){let{emitter:n}=e;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",de(t,e))}const od=[qc,Zc,Jc,nd,id,Y({name:"misc",isLoadingFuncs:[t=>as(t.eventSources)],propSetHandlers:{dateProfile:sd,eventStore:ld}})];class ad{constructor(e,n){this.runTaskOption=e,this.drainedOption=n,this.queue=[],this.delayedRunner=new Pn(this.drain.bind(this))}request(e,n){this.queue.push(e),this.delayedRunner.request(n)}pause(e){this.delayedRunner.pause(e)}resume(e,n){this.delayedRunner.resume(e,n)}drain(){let{queue:e}=this;for(;e.length;){let n=[],r;for(;r=e.shift();)this.runTask(r),n.push(r);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function cd(t,e,n){let r;return/^(year|month)$/.test(t.currentRangeUnit)?r=t.currentRange:r=t.activeRange,n.formatRange(r.start,r.end,M(e.titleFormat||dd(t)),{isEndExclusive:t.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}function dd(t){let{currentRangeUnit:e}=t;if(e==="year")return{year:"numeric"};if(e==="month")return{year:"numeric",month:"long"};let n=st(t.currentRange.start,t.currentRange.end);return n!==null&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}class ud{constructor(e){this.computeOptionsData=S(this._computeOptionsData),this.computeCurrentViewData=S(this._computeCurrentViewData),this.organizeRawLocales=S(gc),this.buildLocale=S(ls),this.buildPluginHooks=bc(),this.buildDateEnv=S(fd),this.buildTheme=S(hd),this.parseToolbars=S(Wc),this.buildViewSpecs=S(wc),this.buildDateProfileGenerator=et(gd),this.buildViewApi=S(pd),this.buildViewUiProps=et(bd),this.buildEventUiBySource=S(md,Q),this.buildEventUiBases=S(vd),this.parseContextBusinessHours=et(yd),this.buildTitle=S(cd),this.emitter=new St,this.actionRunner=new ad(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=()=>this.data,this.dispatch=g=>{this.actionRunner.request(g)},this.props=e,this.actionRunner.pause();let n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),i=r.calendarOptions.initialView||r.pluginHooks.initialView,s=this.computeCurrentViewData(i,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(s.options);let l=Qo(r.calendarOptions,r.dateEnv),o=s.dateProfileGenerator.build(l);re(o.activeRange,l)||(l=o.currentRange.start);let a={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let g of r.pluginHooks.contextInit)g(a);let c=Mc(r.calendarOptions,o,a),u={dynamicOptionOverrides:n,currentViewType:i,currentDate:l,dateProfile:o,businessHours:this.parseContextBusinessHours(a),eventSources:c,eventUiBases:{},eventStore:W(),renderableEventStore:W(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(a).selectionConfig},d=Object.assign(Object.assign({},a),u);for(let g of r.pluginHooks.reducers)Object.assign(u,g(null,null,d));jt(u,a)&&this.emitter.trigger("loading",!0),this.state=u,this.updateData(),this.actionRunner.resume()}resetOptions(e,n){let{props:r}=this;r.optionOverrides=n?Object.assign(Object.assign({},r.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:n,state:r,emitter:i}=this,s=xc(r.dynamicOptionOverrides,e),l=this.computeOptionsData(n.optionOverrides,s,n.calendarApi),o=Tc(r.currentViewType,e),a=this.computeCurrentViewData(o,l,n.optionOverrides,s);n.calendarApi.currentDataManager=this,i.setThisContext(n.calendarApi),i.setOptions(a.options);let c={dateEnv:l.dateEnv,options:l.calendarOptions,pluginHooks:l.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:i,getCurrentData:this.getCurrentData},{currentDate:u,dateProfile:d}=r;this.data&&this.data.dateProfileGenerator!==a.dateProfileGenerator&&(d=a.dateProfileGenerator.build(u)),u=Go(u,e),d=Ic(d,e,u,a.dateProfileGenerator),(e.type==="PREV"||e.type==="NEXT"||!re(d.currentRange,u))&&(u=d.currentRange.start);let g=kc(r.eventSources,e,d,c),h=Ra(r.eventStore,e,g,d,c),m=as(g)&&!a.options.progressiveEventRendering&&r.renderableEventStore||h,{eventUiSingleBase:v,selectionConfig:y}=this.buildViewUiProps(c),E=this.buildEventUiBySource(g),D=this.buildEventUiBases(m.defs,v,E),A={dynamicOptionOverrides:s,currentViewType:o,currentDate:u,dateProfile:d,eventSources:g,eventStore:h,renderableEventStore:m,selectionConfig:y,eventUiBases:D,businessHours:this.parseContextBusinessHours(c),dateSelection:Uc(r.dateSelection,e),eventSelection:jc(r.eventSelection,e),eventDrag:zc(r.eventDrag,e),eventResize:Fc(r.eventResize,e)},w=Object.assign(Object.assign({},c),A);for(let I of l.pluginHooks.reducers)Object.assign(A,I(r,e,w));let N=jt(r,c),O=jt(A,c);!N&&O?i.trigger("loading",!0):N&&!O&&i.trigger("loading",!1),this.state=A,n.onAction&&n.onAction(e)}updateData(){let{props:e,state:n}=this,r=this.data,i=this.computeOptionsData(e.optionOverrides,n.dynamicOptionOverrides,e.calendarApi),s=this.computeCurrentViewData(n.currentViewType,i,e.optionOverrides,n.dynamicOptionOverrides),l=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(n.dateProfile,s.options,i.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},i),s),n),o=i.pluginHooks.optionChangeHandlers,a=r&&r.calendarOptions,c=i.calendarOptions;if(a&&a!==c){a.timeZone!==c.timeZone&&(n.eventSources=l.eventSources=Nc(l.eventSources,n.dateProfile,l),n.eventStore=l.eventStore=Ma(l.eventStore,r.dateEnv,l.dateEnv));for(let u in o)a[u]!==c[u]&&o[u](c[u],l)}e.onData&&e.onData(l)}_computeOptionsData(e,n,r){let{refinedOptions:i,pluginHooks:s,localeDefaults:l,availableLocaleData:o,extra:a}=this.processRawCalendarOptions(e,n);Pr(a);let c=this.buildDateEnv(i.timeZone,i.locale,i.weekNumberCalculation,i.firstDay,i.weekText,s,o,i.defaultRangeSeparator),u=this.buildViewSpecs(s.views,e,n,l),d=this.buildTheme(i,s),g=this.parseToolbars(i,e,d,u,r);return{calendarOptions:i,pluginHooks:s,dateEnv:c,viewSpecs:u,theme:d,toolbarConfig:g,localeDefaults:l,availableRawLocales:o.map}}processRawCalendarOptions(e,n){let{locales:r,locale:i}=Mt([Pe,e,n]),s=this.organizeRawLocales(r),l=s.map,o=this.buildLocale(i||s.defaultCode,l).options,a=this.buildPluginHooks(e.plugins||[],od),c=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},yr),Er),Sr),a.listenerRefiners),a.optionRefiners),u={},d=Mt([Pe,o,e,n]),g={},h=this.currentCalendarOptionsInput,b=this.currentCalendarOptionsRefined,m=!1;for(let v in d)v!=="plugins"&&(d[v]===h[v]||ae[v]&&v in h&&ae[v](h[v],d[v])?g[v]=b[v]:c[v]?(g[v]=c[v](d[v]),m=!0):u[v]=h[v]);return m&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=g),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:a,availableLocaleData:s,localeDefaults:o,extra:u}}_computeCurrentViewData(e,n,r,i){let s=n.viewSpecs[e];if(!s)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:l,extra:o}=this.processRawViewOptions(s,n.pluginHooks,n.localeDefaults,r,i);Pr(o);let a=this.buildDateProfileGenerator({dateProfileGeneratorClass:s.optionDefaults.dateProfileGeneratorClass,duration:s.duration,durationUnit:s.durationUnit,usesMinMaxTime:s.optionDefaults.usesMinMaxTime,dateEnv:n.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:l.slotMinTime,slotMaxTime:l.slotMaxTime,showNonCurrentDates:l.showNonCurrentDates,dayCount:l.dayCount,dateAlignment:l.dateAlignment,dateIncrement:l.dateIncrement,hiddenDays:l.hiddenDays,weekends:l.weekends,nowInput:l.now,validRangeInput:l.validRange,visibleRangeInput:l.visibleRange,monthMode:l.monthMode,fixedWeekCount:l.fixedWeekCount}),c=this.buildViewApi(e,this.getCurrentData,n.dateEnv);return{viewSpec:s,options:l,dateProfileGenerator:a,viewApi:c}}processRawViewOptions(e,n,r,i,s){let l=Mt([Pe,e.optionDefaults,r,i,e.optionOverrides,s]),o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},yr),Er),Sr),Kl),n.listenerRefiners),n.optionRefiners),a={},c=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,d=!1,g={};for(let h in l)l[h]===c[h]||ae[h]&&ae[h](l[h],c[h])?a[h]=u[h]:(l[h]===this.currentCalendarOptionsInput[h]||ae[h]&&ae[h](l[h],this.currentCalendarOptionsInput[h])?h in this.currentCalendarOptionsRefined&&(a[h]=this.currentCalendarOptionsRefined[h]):o[h]?a[h]=o[h](l[h]):g[h]=l[h],d=!0);return d&&(this.currentViewOptionsInput=l,this.currentViewOptionsRefined=a),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:g}}}function fd(t,e,n,r,i,s,l,o){let a=ls(e||l.defaultCode,l.map);return new ga({calendarSystem:"gregory",timeZone:t,namedTimeZoneImpl:s.namedTimeZonedImpl,locale:a,weekNumberCalculation:n,firstDay:r,weekText:i,cmdFormatter:s.cmdFormatter,defaultSeparator:o})}function hd(t,e){let n=e.themeClasses[t.themeSystem]||le;return new n(t)}function gd(t){let e=t.dateProfileGeneratorClass||Ci;return new e(t)}function pd(t,e,n){return new Gc(t,e,n)}function md(t){return X(t,e=>e.ui)}function vd(t,e,n){let r={"":e};for(let i in t){let s=t[i];s.sourceId&&n[s.sourceId]&&(r[i]=n[s.sourceId])}return r}function bd(t){let{options:e}=t;return{eventUiSingleBase:dt({display:e.eventDisplay,editable:e.editable,startEditable:e.eventStartEditable,durationEditable:e.eventDurationEditable,constraint:e.eventConstraint,overlap:typeof e.eventOverlap=="boolean"?e.eventOverlap:void 0,allow:e.eventAllow,backgroundColor:e.eventBackgroundColor,borderColor:e.eventBorderColor,textColor:e.eventTextColor,color:e.eventColor},t),selectionConfig:dt({constraint:e.selectConstraint,overlap:typeof e.selectOverlap=="boolean"?e.selectOverlap:void 0,allow:e.selectAllow},t)}}function jt(t,e){for(let n of e.pluginHooks.isLoadingFuncs)if(n(t))return!0;return!1}function yd(t){return fo(t.options.businessHours,t)}function Pr(t,e){for(let n in t)console.warn(`Unknown option '${n}'`+(e?` for view '${e}'`:""))}class Ed extends R{render(){let e=this.props.widgetGroups.map(n=>this.renderWidgetGroup(n));return f("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:n}=this,{theme:r}=this.context,i=[],s=!0;for(let l of e){let{buttonName:o,buttonClick:a,buttonText:c,buttonIcon:u,buttonHint:d}=l;if(o==="title")s=!1,i.push(f("h2",{className:"fc-toolbar-title",id:n.titleId},n.title));else{let g=o===n.activeButton,h=!n.isTodayEnabled&&o==="today"||!n.isPrevEnabled&&o==="prev"||!n.isNextEnabled&&o==="next",b=[`fc-${o}-button`,r.getClass("button")];g&&b.push(r.getClass("buttonActive")),i.push(f("button",{type:"button",title:typeof d=="function"?d(n.navUnit):d,disabled:h,"aria-pressed":g,className:b.join(" "),onClick:a},c||(u?f("span",{className:u}):"")))}}if(i.length>1){let l=s&&r.getClass("buttonGroup")||"";return f("div",{className:l},...i)}return i[0]}}class Hr extends R{render(){let{model:e,extraClassName:n}=this.props,r=!1,i,s,l=e.sectionWidgets,o=l.center;return l.left?(r=!0,i=l.left):i=l.start,l.right?(r=!0,s=l.right):s=l.end,f("div",{className:[n||"","fc-toolbar",r?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",i||[]),this.renderSection("center",o||[]),this.renderSection("end",s||[]))}renderSection(e,n){let{props:r}=this;return f(Ed,{key:e,widgetGroups:n,title:r.title,navUnit:r.navUnit,activeButton:r.activeButton,isTodayEnabled:r.isTodayEnabled,isPrevEnabled:r.isPrevEnabled,isNextEnabled:r.isNextEnabled,titleId:r.titleId})}}class Sd extends R{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,ie(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:n}=this,{aspectRatio:r}=e,i=["fc-view-harness",r||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],s="",l="";return r?n.availableWidth!==null?s=n.availableWidth/r:l=`${1/r*100}%`:s=e.height||"",f("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:i.join(" "),style:{height:s,paddingBottom:l}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class Ad extends Ie{constructor(e){super(e),this.handleSegClick=(n,r)=>{let{component:i}=this,{context:s}=i,l=xe(r);if(l&&i.isValidSegDownEl(n.target)){let o=L(n.target,".fc-event-forced-url"),a=o?o.querySelector("a[href]").href:"";s.emitter.trigger("eventClick",{el:r,event:new k(i.context,l.eventRange.def,l.eventRange.instance),jsEvent:n,view:s.viewApi}),a&&!n.defaultPrevented&&(window.location.href=a)}},this.destroy=ai(e.el,"click",".fc-event",this.handleSegClick)}}class Dd extends Ie{constructor(e){super(e),this.handleEventElRemove=n=>{n===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(n,r)=>{xe(r)&&(this.currentSegEl=r,this.triggerEvent("eventMouseEnter",n,r))},this.handleSegLeave=(n,r)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",n,r))},this.removeHoverListeners=nl(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,n,r){let{component:i}=this,{context:s}=i,l=xe(r);(!n||i.isValidSegDownEl(n.target))&&s.emitter.trigger(e,{el:r,event:new k(s,l.eventRange.def,l.eventRange.instance),jsEvent:n,view:s.viewApi})}}class Cd extends ve{constructor(){super(...arguments),this.buildViewContext=S(Fo),this.buildViewPropTransformers=S(_d),this.buildToolbarProps=S(wd),this.headerRef=z(),this.footerRef=z(),this.interactionsStore={},this.state={viewLabelId:ne()},this.registerInteractiveComponent=(e,n)=>{let r=va(e,n),l=[Ad,Dd].concat(this.props.pluginHooks.componentInteractions).map(o=>new o(r));this.interactionsStore[e.uid]=l,tn[e.uid]=r},this.unregisterInteractiveComponent=e=>{let n=this.interactionsStore[e.uid];if(n){for(let r of n)r.destroy();delete this.interactionsStore[e.uid]}delete tn[e.uid]},this.resizeRunner=new Pn(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:n}=this.props;n.handleWindowResize&&e.target===window&&this.resizeRunner.request(n.windowResizeDelay)}}render(){let{props:e}=this,{toolbarConfig:n,options:r}=e,i=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,ze(e.options.now,e.dateEnv),e.viewTitle),s=!1,l="",o;e.isHeightAuto||e.forPrint?l="":r.height!=null?s=!0:r.contentHeight!=null?l=r.contentHeight:o=Math.max(r.aspectRatio,.5);let a=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),c=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return f(J.Provider,{value:a},n.header&&f(Hr,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:c},i)),f(Sd,{liquid:s,height:l,aspectRatio:o,labeledById:c},this.renderView(e),this.buildAppendContent()),n.footer&&f(Hr,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},i)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(r=>new r(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:n}=e.pluginHooks;for(let r in n)n[r](e[r],e)}componentDidUpdate(e){let{props:n}=this,{propSetHandlers:r}=n.pluginHooks;for(let i in r)n[i]!==e[i]&&r[i](n[i],n)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this,n=e.pluginHooks.viewContainerAppends.map(r=>r(e));return f(T,{},...n)}renderView(e){let{pluginHooks:n}=e,{viewSpec:r}=e,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},s=this.buildViewPropTransformers(n.viewPropsTransformers);for(let o of s)Object.assign(i,o.transform(i,e));let l=r.component;return f(l,Object.assign({},i))}}function wd(t,e,n,r,i,s){let l=n.build(i,void 0,!1),o=n.buildPrev(e,r,!1),a=n.buildNext(e,r,!1);return{title:s,activeButton:t.type,navUnit:t.singleUnit,isTodayEnabled:l.isValid&&!re(e.currentRange,i),isPrevEnabled:o.isValid,isNextEnabled:a.isValid}}function _d(t){return t.map(e=>new e)}class Rd extends cc{constructor(e,n={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=r=>{switch(r.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=r=>{this.currentData=r,this.renderRunner.request(r.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:r}=this;Cr(()=>{Le(f(ya,{options:r.calendarOptions,theme:r.theme,emitter:r.emitter},(i,s,l,o)=>(this.setClassNames(i),this.setHeight(s),f(Bi.Provider,{value:this.customContentRenderId},f(Cd,Object.assign({isHeightAuto:l,forPrint:o},r))))),this.el)})}else this.isRendered&&(this.isRendered=!1,Le(null,this.el),this.setClassNames([]),this.setHeight(""))},this.el=e,this.renderRunner=new Pn(this.handleRenderRequest),new ud({optionOverrides:n,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){Cr(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,n){this.currentDataManager.resetOptions(e,n)}setClassNames(e){if(!ge(e,this.currentClassNames)){let{classList:n}=this.el;for(let r of this.currentClassNames)n.remove(r);for(let r of e)n.add(r);this.currentClassNames=e}}setHeight(e){si(this.el,"height",e)}}const Td={headerToolbar:!0,footerToolbar:!0,events:!0,eventSources:!0,resources:!0};function xd(t){return typeof t=="object"&&(Array.isArray(t)?t=Array.prototype.slice.call(t):t&&(t={...t})),t}const bf=Rs({props:{options:Object},data(){return{renderId:0,customRenderingMap:new Map}},methods:{getApi(){return this.calendar},buildOptions(t){return{...t,customRenderingMetaMap:this.$slots,handleCustomRendering:this.handleCustomRendering}}},render(){const t=[];for(const e of this.customRenderingMap.values())t.push(_t(Ts,{key:e.id,to:e.containerEl},e.generatorMeta(e.renderProps)));return _t("div",{attrs:{"data-fc-render-id":this.renderId}},_t(xs,t))},mounted(){const t=new uc;this.handleCustomRendering=t.handle.bind(t);const e=this.buildOptions(this.options),n=new Rd(this.$el,e);this.calendar=n,n.render(),t.subscribe(r=>{this.customRenderingMap=r,this.renderId++,this.needCustomRenderingResize=!0})},beforeUpdate(){this.getApi().resumeRendering()},updated(){this.needCustomRenderingResize&&(this.needCustomRenderingResize=!1,this.getApi().updateSize())},beforeUnmount(){this.getApi().destroy()},watch:Id()});function Id(){let t={options:{deep:!0,handler(e){let n=this.getApi();n.pauseRendering();let r=this.buildOptions(e);n.resetOptions(r),this.renderId++}}};for(let e in Td)t[`options.${e}`]={deep:!0,handler(n){if(n!==void 0){let r=this.getApi();r.pauseRendering(),r.resetOptions({[e]:xd(n)},!0),this.renderId++}}};return t}class Md extends q{constructor(){super(...arguments),this.headerElRef=z()}renderSimpleLayout(e,n){let{props:r,context:i}=this,s=[],l=ft(i.options);return e&&s.push({type:"header",key:"header",isSticky:l,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),s.push({type:"body",key:"body",liquid:!0,chunk:{content:n}}),f(Ue,{elClasses:["fc-daygrid"],viewSpec:i.viewSpec},f(Hn,{liquid:!r.isHeightAuto&&!r.forPrint,collapsibleWidth:r.forPrint,cols:[],sections:s}))}renderHScrollLayout(e,n,r,i){let s=this.context.pluginHooks.scrollGridImpl;if(!s)throw new Error("No ScrollGrid implementation");let{props:l,context:o}=this,a=!l.forPrint&&ft(o.options),c=!l.forPrint&&Yi(o.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:a,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:n}]}),c&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:nn}]}),f(Ue,{elClasses:["fc-daygrid"],viewSpec:o.viewSpec},f(s,{liquid:!l.isHeightAuto&&!l.forPrint,collapsibleWidth:l.forPrint,colGroups:[{cols:[{span:r,minWidth:i}]}],sections:u}))}}function Ze(t,e){let n=[];for(let r=0;r<e;r+=1)n[r]=[];for(let r of t)n[r.row].push(r);return n}function $e(t,e){let n=[];for(let r=0;r<e;r+=1)n[r]=[];for(let r of t)n[r.firstCol].push(r);return n}function Br(t,e){let n=[];if(t){for(let r=0;r<e;r+=1)n[r]={affectedInstances:t.affectedInstances,isEvent:t.isEvent,segs:[]};for(let r of t.segs)n[r.row].segs.push(r)}else for(let r=0;r<e;r+=1)n[r]=null;return n}const hs=M({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function gs(t){let{display:e}=t.eventRange.ui;return e==="list-item"||e==="auto"&&!t.eventRange.def.allDay&&t.firstCol===t.lastCol&&t.isStart&&t.isEnd}class ps extends R{render(){let{props:e}=this;return f(Zi,Object.assign({},e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:hs,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class ms extends R{render(){let{props:e,context:n}=this,{options:r}=n,{seg:i}=e,s=r.eventTimeFormat||hs,l=He(i,s,n,!0,e.defaultDisplayEventEnd);return f(At,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:In(e.seg,n),defaultGenerator:kd,timeText:l,isResizing:!1,isDateSelecting:!1}))}}function kd(t){return f(T,null,f("div",{className:"fc-daygrid-event-dot",style:{borderColor:t.borderColor||t.backgroundColor}}),t.timeText&&f("div",{className:"fc-event-time"},t.timeText),f("div",{className:"fc-event-title"},t.event.title||f(T,null," ")))}class Nd extends R{constructor(){super(...arguments),this.compileSegs=S(Od)}render(){let{props:e}=this,{allSegs:n,invisibleSegs:r}=this.compileSegs(e.singlePlacements);return f(Ki,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:r,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let i=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return f(T,null,n.map(s=>{let l=s.eventRange.instance.instanceId;return f("div",{className:"fc-daygrid-event-harness",key:l,style:{visibility:i[l]?"hidden":""}},gs(s)?f(ms,Object.assign({seg:s,isDragging:!1,isSelected:l===e.eventSelection,defaultDisplayEventEnd:!1},$(s,e.todayRange))):f(ps,Object.assign({seg:s,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:l===e.eventSelection,defaultDisplayEventEnd:!1},$(s,e.todayRange))))}))}})}}function Od(t){let e=[],n=[];for(let r of t)e.push(r.seg),r.isVisible||n.push(r.seg);return{allSegs:e,invisibleSegs:n}}const Pd=M({week:"narrow"});class Hd extends q{constructor(){super(...arguments),this.rootElRef=z(),this.state={dayNumberId:ne()},this.handleRootEl=e=>{ie(this.rootElRef,e),ie(this.props.elRef,e)}}render(){let{context:e,props:n,state:r,rootElRef:i}=this,{options:s}=e,{date:l,dateProfile:o}=n;return f(Ln,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...n.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},n.extraDataAttrs),n.showDayNumber?{"aria-labelledby":r.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:Bd,date:l,dateProfile:o,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraRenderProps:n.extraRenderProps},(a,c)=>f("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:n.innerElRef},n.showWeekNumber&&f(Ji,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:Re(e,l,"week"),date:l,defaultFormat:Pd}),!!(!c.isDisabled&&(n.showDayNumber||Un(s)||n.forceDayTop))&&f("div",{className:"fc-daygrid-day-top"},f(a,{elTag:"a",elClasses:["fc-daygrid-day-number"],elAttrs:Object.assign(Object.assign({},Re(e,l)),{id:r.dayNumberId})})),f("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,f("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},f(Nd,{allDayDate:l,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:i,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),f("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}}function Bd(t){return t.dayNumberText||f(T,null," ")}function Ld(t,e,n,r,i,s,l){let o=new zd;o.allowReslicing=!0,o.strictOrder=r,e===!0||n===!0?(o.maxCoord=s,o.hiddenConsumes=!0):typeof e=="number"?o.maxStackCnt=e:typeof n=="number"&&(o.maxStackCnt=n,o.hiddenConsumes=!0);let a=[],c=[];for(let y=0;y<t.length;y+=1){let E=t[y],{instanceId:D}=E.eventRange.instance,A=i[D];A!=null?a.push({index:y,thickness:A,span:{start:E.firstCol,end:E.lastCol+1}}):c.push(E)}let u=o.addSegs(a),d=o.toRects(),{singleColPlacements:g,multiColPlacements:h,leftoverMargins:b}=Ud(d,t,l),m=[],v=[];for(let y of c){h[y.firstCol].push({seg:y,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let E=y.firstCol;E<=y.lastCol;E+=1)g[E].push({seg:Ce(y,E,E+1,l),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let y=0;y<l.length;y+=1)m.push(0);for(let y of u){let E=t[y.index],D=y.span;h[D.start].push({seg:Ce(E,D.start,D.end,l),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let A=D.start;A<D.end;A+=1)m[A]+=1,g[A].push({seg:Ce(E,A,A+1,l),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let y=0;y<l.length;y+=1)v.push(b[y]);return{singleColPlacements:g,multiColPlacements:h,moreCnts:m,moreMarginTops:v}}function Ud(t,e,n){let r=jd(t,n.length),i=[],s=[],l=[];for(let o=0;o<n.length;o+=1){let a=r[o],c=[],u=0,d=0;for(let h of a){let b=e[h.index];c.push({seg:Ce(b,o,o+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:h.levelCoord,marginTop:h.levelCoord-u}),u=h.levelCoord+h.thickness}let g=[];u=0,d=0;for(let h of a){let b=e[h.index],m=h.span.end-h.span.start>1,v=h.span.start===o;d+=h.levelCoord-u,u=h.levelCoord+h.thickness,m?(d+=h.thickness,v&&g.push({seg:Ce(b,h.span.start,h.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:h.levelCoord,marginTop:0})):v&&(g.push({seg:Ce(b,h.span.start,h.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:h.levelCoord,marginTop:d}),d=0)}i.push(c),s.push(g),l.push(d)}return{singleColPlacements:i,multiColPlacements:s,leftoverMargins:l}}function jd(t,e){let n=[];for(let r=0;r<e;r+=1)n.push([]);for(let r of t)for(let i=r.span.start;i<r.span.end;i+=1)n[i].push(r);return n}function Ce(t,e,n,r){if(t.firstCol===e&&t.lastCol===n-1)return t;let i=t.eventRange,s=i.range,l=pe(s,{start:r[e].date,end:H(r[n-1].date,1)});return Object.assign(Object.assign({},t),{firstCol:e,lastCol:n-1,eventRange:{def:i.def,ui:Object.assign(Object.assign({},i.ui),{durationEditable:!1}),instance:i.instance,range:l},isStart:t.isStart&&l.start.valueOf()===s.start.valueOf(),isEnd:t.isEnd&&l.end.valueOf()===s.end.valueOf()})}class zd extends ki{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){const n=super.addSegs(e),{entriesByLevel:r}=this,i=s=>!this.forceHidden[ue(s)];for(let s=0;s<r.length;s+=1)r[s]=r[s].filter(i);return n}handleInvalidInsertion(e,n,r){const{entriesByLevel:i,forceHidden:s}=this,{touchingEntry:l,touchingLevel:o,touchingLateral:a}=e;if(this.hiddenConsumes&&l){const c=ue(l);if(!s[c])if(this.allowReslicing){const u=Object.assign(Object.assign({},l),{span:Mn(l.span,n.span)}),d=ue(u);s[d]=!0,i[o][a]=u,this.splitEntry(l,n,r)}else s[c]=!0,r.push(l)}return super.handleInvalidInsertion(e,n,r)}}class vs extends q{constructor(){super(...arguments),this.cellElRefs=new Z,this.frameElRefs=new Z,this.fgElRefs=new Z,this.segHarnessRefs=new Z,this.rootElRef=z(),this.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:n,context:r}=this,{options:i}=r,s=e.cells.length,l=$e(e.businessHourSegs,s),o=$e(e.bgEventSegs,s),a=$e(this.getHighlightSegs(),s),c=$e(this.getMirrorSegs(),s),{singleColPlacements:u,multiColPlacements:d,moreCnts:g,moreMarginTops:h}=Ld(xn(e.fgEventSegs,i.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,i.eventOrderStrict,n.eventInstanceHeights,n.maxContentHeight,e.cells),b=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return f("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((m,v)=>{let y=this.renderFgSegs(v,e.forPrint?u[v]:d[v],e.todayRange,b),E=this.renderFgSegs(v,Fd(c[v],d),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return f(Hd,{key:m.key,elRef:this.cellElRefs.createRef(m.key),innerElRef:this.frameElRefs.createRef(m.key),dateProfile:e.dateProfile,date:m.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&v===0,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:m.extraRenderProps,extraDataAttrs:m.extraDataAttrs,extraClassNames:m.extraClassNames,extraDateSpan:m.extraDateSpan,moreCnt:g[v],moreMarginTop:h[v],singlePlacements:u[v],fgContentElRef:this.fgElRefs.createRef(m.key),fgContent:f(T,null,f(T,null,y),f(T,null,E)),bgContent:f(T,null,this.renderFillSegs(a[v],"highlight"),this.renderFillSegs(l[v],"non-business"),this.renderFillSegs(o[v],"bg-event"))})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,n){let r=this.props;this.updateSizing(!Q(e,r))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,n,r,i,s,l,o){let{context:a}=this,{eventSelection:c}=this.props,{framePositions:u}=this.state,d=this.props.cells.length===1,g=s||l||o,h=[];if(u)for(let b of n){let{seg:m}=b,{instanceId:v}=m.eventRange.instance,y=v+":"+e,E=b.isVisible&&!i[v],D=b.isAbsolute,A="",w="";D&&(a.isRtl?(w=0,A=u.lefts[m.lastCol]-u.lefts[m.firstCol]):(A=0,w=u.rights[m.firstCol]-u.rights[m.lastCol])),h.push(f("div",{className:"fc-daygrid-event-harness"+(D?" fc-daygrid-event-harness-abs":""),key:y,ref:g?null:this.segHarnessRefs.createRef(y),style:{visibility:E?"":"hidden",marginTop:D?"":b.marginTop,top:D?b.absoluteTop:"",left:A,right:w}},gs(m)?f(ms,Object.assign({seg:m,isDragging:s,isSelected:v===c,defaultDisplayEventEnd:d},$(m,r))):f(ps,Object.assign({seg:m,isDragging:s,isResizing:l,isDateSelecting:o,isSelected:v===c,defaultDisplayEventEnd:d},$(m,r)))))}return h}renderFillSegs(e,n){let{isRtl:r}=this.context,{todayRange:i}=this.props,{framePositions:s}=this.state,l=[];if(s)for(let o of e){let a=r?{right:0,left:s.lefts[o.lastCol]-s.lefts[o.firstCol]}:{left:0,right:s.rights[o.firstCol]-s.rights[o.lastCol]};l.push(f("div",{key:Ti(o.eventRange),className:"fc-daygrid-bg-harness",style:a},n==="bg-event"?f($i,Object.assign({seg:o},$(o,i))):Xi(n)))}return f(T,{},...l)}updateSizing(e){let{props:n,state:r,frameElRefs:i}=this;if(!n.forPrint&&n.clientWidth!==null){if(e){let a=n.cells.map(c=>i.currentMap[c.key]);if(a.length){let c=this.rootElRef.current,u=new Te(c,a,!0,!1);(!r.framePositions||!r.framePositions.similarTo(u))&&this.setState({framePositions:new Te(c,a,!0,!1)})}}const s=this.state.eventInstanceHeights,l=this.queryEventInstanceHeights(),o=n.dayMaxEvents===!0||n.dayMaxEventRows===!0;this.safeSetState({eventInstanceHeights:Object.assign(Object.assign({},s),l),maxContentHeight:o?this.computeMaxContentHeight():null})}}queryEventInstanceHeights(){let e=this.segHarnessRefs.currentMap,n={};for(let r in e){let i=Math.round(e[r].getBoundingClientRect().height),s=r.split(":")[0];n[s]=Math.max(n[s]||0,i)}return n}computeMaxContentHeight(){let e=this.props.cells[0].key,n=this.cellElRefs.currentMap[e],r=this.fgElRefs.currentMap[e];return n.getBoundingClientRect().bottom-r.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(n=>e[n.key])}}vs.addStateEquality({eventInstanceHeights:Q});function Fd(t,e){if(!t.length)return[];let n=Wd(e);return t.map(r=>({seg:r,isVisible:!0,isAbsolute:!0,absoluteTop:n[r.eventRange.instance.instanceId],marginTop:0}))}function Wd(t){let e={};for(let n of t)for(let r of n)e[r.seg.eventRange.instance.instanceId]=r.absoluteTop;return e}class Vd extends q{constructor(){super(...arguments),this.splitBusinessHourSegs=S(Ze),this.splitBgEventSegs=S(Ze),this.splitFgEventSegs=S(Ze),this.splitDateSelectionSegs=S(Ze),this.splitEventDrag=S(Br),this.splitEventResize=S(Br),this.rowRefs=new Z,this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)}}render(){let{props:e}=this,{dateProfile:n,dayMaxEventRows:r,dayMaxEvents:i,expandRows:s}=e,l=e.cells.length,o=this.splitBusinessHourSegs(e.businessHourSegs,l),a=this.splitBgEventSegs(e.bgEventSegs,l),c=this.splitFgEventSegs(e.fgEventSegs,l),u=this.splitDateSelectionSegs(e.dateSelectionSegs,l),d=this.splitEventDrag(e.eventDrag,l),g=this.splitEventResize(e.eventResize,l),h=i===!0||r===!0;return h&&!s&&(h=!1,r=null,i=null),f("div",{className:["fc-daygrid-body",h?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",s?"":"fc-daygrid-body-natural"].join(" "),ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},f(Me,{unit:"day"},(m,v)=>f(T,null,f("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:s?e.clientHeight:""}},e.colGroupNode,f("tbody",{role:"presentation"},e.cells.map((y,E)=>f(vs,{ref:this.rowRefs.createRef(E),key:y.length?y[0].date.toISOString():E,showDayNumbers:l>1,showWeekNumbers:e.showWeekNumbers,todayRange:v,dateProfile:n,cells:y,renderIntro:e.renderRowIntro,businessHourSegs:o[E],eventSelection:e.eventSelection,bgEventSegs:a[E].filter(Gd),fgEventSegs:c[E],dateSelectionSegs:u[E],eventDrag:d[E],eventResize:g[E],dayMaxEvents:i,dayMaxEventRows:r,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint})))))))}prepareHits(){this.rowPositions=new Te(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new Te(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,n){let{colPositions:r,rowPositions:i}=this,s=r.leftToIndex(e),l=i.topToIndex(n);if(l!=null&&s!=null){let o=this.props.cells[l][s];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(l,s),allDay:!0},o.extraDateSpan),dayEl:this.getCellEl(l,s),rect:{left:r.lefts[s],right:r.rights[s],top:i.tops[l],bottom:i.bottoms[l]},layer:0}}return null}getCellEl(e,n){return this.rowRefs.currentMap[e].getCellEls()[n]}getCellRange(e,n){let r=this.props.cells[e][n].date,i=H(r,1);return{start:r,end:i}}}function Gd(t){return t.eventRange.def.allDay}class Qd extends zi{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,n){return n.sliceRange(e)}}class bs extends q{constructor(){super(...arguments),this.slicer=new Qd,this.tableRef=z()}render(){let{props:e,context:n}=this;return f(Vd,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,n,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}))}}class qd extends Md{constructor(){super(...arguments),this.buildDayTableModel=S(Yd),this.headerRef=z(),this.tableRef=z()}render(){let{options:e,dateProfileGenerator:n}=this.context,{props:r}=this,i=this.buildDayTableModel(r.dateProfile,n),s=e.dayHeaders&&f(Li,{ref:this.headerRef,dateProfile:r.dateProfile,dates:i.headerDates,datesRepDistinctDays:i.rowCnt===1}),l=o=>f(bs,{ref:this.tableRef,dateProfile:r.dateProfile,dayTableModel:i,businessHours:r.businessHours,dateSelection:r.dateSelection,eventStore:r.eventStore,eventUiBases:r.eventUiBases,eventSelection:r.eventSelection,eventDrag:r.eventDrag,eventResize:r.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:o.tableColGroupNode,tableMinWidth:o.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!r.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:o.clientWidth,clientHeight:o.clientHeight,forPrint:r.forPrint});return e.dayMinWidth?this.renderHScrollLayout(s,l,i.colCnt,e.dayMinWidth):this.renderSimpleLayout(s,l)}}function Yd(t,e){let n=new Ui(t.renderRange,e);return new ji(n,/year|month|week/.test(t.currentRangeUnit))}class Zd extends Ci{buildRenderRange(e,n,r){let{dateEnv:i}=this.props,s=super.buildRenderRange(e,n,r),l=s.start,o=s.end,a;if(/^(year|month)$/.test(n)&&(l=i.startOfWeek(l),a=i.startOfWeek(o),a.valueOf()!==o.valueOf()&&(o=hr(a,1))),this.props.monthMode&&this.props.fixedWeekCount){let c=Math.ceil(_l(l,o));o=hr(o,6-c)}return{start:l,end:o}}}var $d=':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;padding:2px 3px 0}.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{cursor:pointer;position:relative;z-index:4}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}';Dt($d);var yf=Y({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:qd,dateProfileGeneratorClass:Zd},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});class Xd extends Eo{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?$o(e)?["timed","allDay"]:["allDay"]:["timed"]}}const Jd=M({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function ys(t){let e=["fc-timegrid-slot","fc-timegrid-slot-label",t.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return f(J.Consumer,null,n=>{if(!t.isLabeled)return f("td",{className:e.join(" "),"data-time":t.isoTimeStr});let{dateEnv:r,options:i,viewApi:s}=n,l=i.slotLabelFormat==null?Jd:Array.isArray(i.slotLabelFormat)?M(i.slotLabelFormat[0]):M(i.slotLabelFormat),o={level:0,time:t.time,date:r.toDate(t.date),view:s,text:r.format(t.date,l)};return f(U,{elTag:"td",elClasses:e,elAttrs:{"data-time":t.isoTimeStr},renderProps:o,generatorName:"slotLabelContent",generator:i.slotLabelContent||Kd,classNameGenerator:i.slotLabelClassNames,didMount:i.slotLabelDidMount,willUnmount:i.slotLabelWillUnmount},a=>f("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},f(a,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function Kd(t){return t.text}class eu extends R{render(){return this.props.slatMetas.map(e=>f("tr",{key:e.key},f(ys,Object.assign({},e))))}}const tu=M({week:"short"}),nu=5;class ru extends q{constructor(){super(...arguments),this.allDaySplitter=new Xd,this.headerElRef=z(),this.rootElRef=z(),this.scrollerElRef=z(),this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let n=this.scrollerElRef.current;n&&(n.scrollTop=e)},this.renderHeadAxis=(e,n="")=>{let{options:r}=this.context,{dateProfile:i}=this.props,s=i.renderRange,o=se(s.start,s.end)===1?Re(this.context,s.start,"week"):{};return r.weekNumbers&&e==="day"?f(Ji,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:s.start,defaultFormat:tu},a=>f("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:n}},f(a,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:o}))):f("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},f("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},this.renderTableRowAxis=e=>{let{options:n,viewApi:r}=this.context,i={text:n.allDayText,view:r};return f(U,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:i,generatorName:"allDayContent",generator:n.allDayContent||iu,classNameGenerator:n.allDayClassNames,didMount:n.allDayDidMount,willUnmount:n.allDayWillUnmount},s=>f("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",e==null?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},f(s,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,n,r){let{context:i,props:s}=this,l=[],o=ft(i.options);return e&&l.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),n&&(l.push({type:"body",key:"all-day",chunk:{content:n}}),l.push({type:"body",key:"all-day-divider",outerContent:f("tr",{role:"presentation",className:"fc-scrollgrid-section"},f("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),l.push({type:"body",key:"body",liquid:!0,expandRows:!!i.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:r}}),f(Ue,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:i.viewSpec},f(Hn,{liquid:!s.isHeightAuto&&!s.forPrint,collapsibleWidth:s.forPrint,cols:[{width:"shrink"}],sections:l}))}renderHScrollLayout(e,n,r,i,s,l,o){let a=this.context.pluginHooks.scrollGridImpl;if(!a)throw new Error("No ScrollGrid implementation");let{context:c,props:u}=this,d=!u.forPrint&&ft(c.options),g=!u.forPrint&&Yi(c.options),h=[];e&&h.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:m=>f("tr",{role:"presentation"},this.renderHeadAxis("day",m.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),n&&(h.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:m=>f("tr",{role:"presentation"},this.renderTableRowAxis(m.rowSyncHeights[0]))},{key:"cols",content:n}]}),h.push({key:"all-day-divider",type:"body",outerContent:f("tr",{role:"presentation",className:"fc-scrollgrid-section"},f("td",{colSpan:2,className:"fc-timegrid-divider "+c.theme.getClass("tableCellShaded")}))}));let b=c.options.nowIndicator;return h.push({type:"body",key:"body",liquid:!0,expandRows:!!c.options.expandRows,chunks:[{key:"axis",content:m=>f("div",{className:"fc-timegrid-axis-chunk"},f("table",{"aria-hidden":!0,style:{height:m.expandRows?m.clientHeight:""}},m.tableColGroupNode,f("tbody",null,f(eu,{slatMetas:l}))),f("div",{className:"fc-timegrid-now-indicator-container"},f(Me,{unit:b?"minute":"day"},v=>{let y=b&&o&&o.safeComputeTop(v);return typeof y=="number"?f(Bn,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:y},isAxis:!0,date:v}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:r}]}),g&&h.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:nn},{key:"cols",content:nn}]}),f(Ue,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:c.viewSpec},f(a,{liquid:!u.isHeightAuto&&!u.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:i,minWidth:s}]}],sections:h}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:n}=this.context.options;return(e===!0||n===!0)&&(e=void 0,n=nu),{dayMaxEvents:e,dayMaxEventRows:n}}}function iu(t){return t.text}class su{constructor(e,n,r){this.positions=e,this.dateProfile=n,this.slotDuration=r}safeComputeTop(e){let{dateProfile:n}=this;if(re(n.currentRange,e)){let r=x(e),i=e.valueOf()-r.valueOf();if(i>=V(n.slotMinTime)&&i<V(n.slotMaxTime))return this.computeTimeTop(_(i))}return null}computeDateTop(e,n){return n||(n=x(e)),this.computeTimeTop(_(e.valueOf()-n.valueOf()))}computeTimeTop(e){let{positions:n,dateProfile:r}=this,i=n.els.length,s=(e.milliseconds-V(r.slotMinTime))/V(this.slotDuration),l,o;return s=Math.max(0,s),s=Math.min(i,s),l=Math.floor(s),l=Math.min(l,i-1),o=s-l,n.tops[l]+n.getHeight(l)*o}}class lu extends R{render(){let{props:e,context:n}=this,{options:r}=n,{slatElRefs:i}=e;return f("tbody",null,e.slatMetas.map((s,l)=>{let o={time:s.time,date:n.dateEnv.toDate(s.date),view:n.viewApi};return f("tr",{key:s.key,ref:i.createRef(s.key)},e.axis&&f(ys,Object.assign({},s)),f(U,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!s.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":s.isoTimeStr},renderProps:o,generatorName:"slotLaneContent",generator:r.slotLaneContent,classNameGenerator:r.slotLaneClassNames,didMount:r.slotLaneDidMount,willUnmount:r.slotLaneWillUnmount}))}))}}class ou extends R{constructor(){super(...arguments),this.rootElRef=z(),this.slatElRefs=new Z}render(){let{props:e,context:n}=this;return f("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},f("table",{"aria-hidden":!0,className:n.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,f(lu,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:e,props:n}=this;n.onCoords&&n.clientWidth!==null&&this.rootElRef.current.offsetHeight&&n.onCoords(new su(new Te(this.rootElRef.current,au(this.slatElRefs.currentMap,n.slatMetas),!1,!0),this.props.dateProfile,e.options.slotDuration))}}function au(t,e){return e.map(n=>t[n.key])}function ke(t,e){let n=[],r;for(r=0;r<e;r+=1)n.push([]);if(t)for(r=0;r<t.length;r+=1)n[t[r].col].push(t[r]);return n}function Lr(t,e){let n=[];if(t){for(let r=0;r<e;r+=1)n[r]={affectedInstances:t.affectedInstances,isEvent:t.isEvent,segs:[]};for(let r of t.segs)n[r.col].segs.push(r)}else for(let r=0;r<e;r+=1)n[r]=null;return n}class cu extends R{render(){let{props:e}=this;return f(Ki,{elClasses:["fc-timegrid-more-link"],elStyle:{top:e.top,bottom:e.bottom},allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:()=>Ss(e.hiddenSegs,e),defaultGenerator:du},n=>f(n,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}}function du(t){return t.shortText}function uu(t,e,n){let r=new ki;e!=null&&(r.strictOrder=e),n!=null&&(r.maxStackCnt=n);let i=r.addSegs(t),s=pa(i),l=fu(r);return l=mu(l,1),{segRects:vu(l),hiddenGroups:s}}function fu(t){const{entriesByLevel:e}=t,n=zn((r,i)=>r+":"+i,(r,i)=>{let s=pu(t,r,i),l=Ur(s,n),o=e[r][i];return[Object.assign(Object.assign({},o),{nextLevelNodes:l[0]}),o.thickness+l[1]]});return Ur(e.length?{level:0,lateralStart:0,lateralEnd:e[0].length}:null,n)[0]}function Ur(t,e){if(!t)return[[],0];let{level:n,lateralStart:r,lateralEnd:i}=t,s=r,l=[];for(;s<i;)l.push(e(n,s)),s+=1;return l.sort(hu),[l.map(gu),l[0][1]]}function hu(t,e){return e[1]-t[1]}function gu(t){return t[0]}function pu(t,e,n){let{levelCoords:r,entriesByLevel:i}=t,s=i[e][n],l=r[e]+s.thickness,o=r.length,a=e;for(;a<o&&r[a]<l;a+=1);for(;a<o;a+=1){let c=i[a],u,d=en(c,s.span.start,Kt),g=d[0]+d[1],h=g;for(;(u=c[h])&&u.span.start<s.span.end;)h+=1;if(g<h)return{level:a,lateralStart:g,lateralEnd:h}}return null}function mu(t,e){const n=zn((r,i,s)=>ue(r),(r,i,s)=>{let{nextLevelNodes:l,thickness:o}=r,a=o+s,c=o/a,u,d=[];if(!l.length)u=e;else for(let h of l)if(u===void 0){let b=n(h,i,a);u=b[0],d.push(b[1])}else{let b=n(h,u,0);d.push(b[1])}let g=(u-i)*c;return[u-g,Object.assign(Object.assign({},r),{thickness:g,nextLevelNodes:d})]});return t.map(r=>n(r,0,0)[1])}function vu(t){let e=[];const n=zn((i,s,l)=>ue(i),(i,s,l)=>{let o=Object.assign(Object.assign({},i),{levelCoord:s,stackDepth:l,stackForward:0});return e.push(o),o.stackForward=r(i.nextLevelNodes,s+i.thickness,l+1)+1});function r(i,s,l){let o=0;for(let a of i)o=Math.max(n(a,s,l),o);return o}return r(t,0,0),e}function zn(t,e){const n={};return(...r)=>{let i=t(...r);return i in n?n[i]:n[i]=e(...r)}}function jr(t,e,n=null,r=0){let i=[];if(n)for(let s=0;s<t.length;s+=1){let l=t[s],o=n.computeDateTop(l.start,e),a=Math.max(o+(r||0),n.computeDateTop(l.end,e));i.push({start:Math.round(o),end:Math.round(a)})}return i}function bu(t,e,n,r){let i=[],s=[];for(let c=0;c<t.length;c+=1){let u=e[c];u?i.push({index:c,thickness:1,span:u}):s.push(t[c])}let{segRects:l,hiddenGroups:o}=uu(i,n,r),a=[];for(let c of l)a.push({seg:t[c.index],rect:c});for(let c of s)a.push({seg:c,rect:null});return{segPlacements:a,hiddenGroups:o}}const yu=M({hour:"numeric",minute:"2-digit",meridiem:!1});class Es extends R{render(){return f(Zi,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:yu}))}}class Eu extends R{constructor(){super(...arguments),this.sortEventSegs=S(xn)}render(){let{props:e,context:n}=this,{options:r}=n,i=r.selectMirror,s=e.eventDrag&&e.eventDrag.segs||e.eventResize&&e.eventResize.segs||i&&e.dateSelectionSegs||[],l=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{},o=this.sortEventSegs(e.fgEventSegs,r.eventOrder);return f(Ln,{elTag:"td",elRef:e.elRef,elClasses:["fc-timegrid-col",...e.extraClassNames||[]],elAttrs:Object.assign({role:"gridcell"},e.extraDataAttrs),date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraRenderProps:e.extraRenderProps},a=>f("div",{className:"fc-timegrid-col-frame"},f("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),f("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(o,l,!1,!1,!1)),f("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(s,{},!!e.eventDrag,!!e.eventResize,!!i)),f("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),Un(r)&&f(a,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,n,r,i,s){let{props:l}=this;return l.forPrint?Ss(e,l):this.renderPositionedFgSegs(e,n,r,i,s)}renderPositionedFgSegs(e,n,r,i,s){let{eventMaxStack:l,eventShortHeight:o,eventOrderStrict:a,eventMinHeight:c}=this.context.options,{date:u,slatCoords:d,eventSelection:g,todayRange:h,nowDate:b}=this.props,m=r||i||s,v=jr(e,u,d,c),{segPlacements:y,hiddenGroups:E}=bu(e,v,a,l);return f(T,null,this.renderHiddenGroups(E,e),y.map(D=>{let{seg:A,rect:w}=D,N=A.eventRange.instance.instanceId,O=m||!!(!n[N]&&w),I=zt(w&&w.span),oe=!m&&w?this.computeSegHStyle(w):{left:0,right:0},B=!!w&&w.stackForward>0,be=!!w&&w.span.end-w.span.start<o;return f("div",{className:"fc-timegrid-event-harness"+(B?" fc-timegrid-event-harness-inset":""),key:N,style:Object.assign(Object.assign({visibility:O?"":"hidden"},I),oe)},f(Es,Object.assign({seg:A,isDragging:r,isResizing:i,isDateSelecting:s,isSelected:N===g,isShort:be},$(A,h,b))))}))}renderHiddenGroups(e,n){let{extraDateSpan:r,dateProfile:i,todayRange:s,nowDate:l,eventSelection:o,eventDrag:a,eventResize:c}=this.props;return f(T,null,e.map(u=>{let d=zt(u.span),g=Su(u.entries,n);return f(cu,{key:hi(es(g)),hiddenSegs:g,top:d.top,bottom:d.bottom,extraDateSpan:r,dateProfile:i,todayRange:s,nowDate:l,eventSelection:o,eventDrag:a,eventResize:c})}))}renderFillSegs(e,n){let{props:r,context:i}=this,l=jr(e,r.date,r.slatCoords,i.options.eventMinHeight).map((o,a)=>{let c=e[a];return f("div",{key:Ti(c.eventRange),className:"fc-timegrid-bg-harness",style:zt(o)},n==="bg-event"?f($i,Object.assign({seg:c},$(c,r.todayRange,r.nowDate))):Xi(n))});return f(T,null,l)}renderNowIndicator(e){let{slatCoords:n,date:r}=this.props;return n?e.map((i,s)=>f(Bn,{key:s,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:n.computeDateTop(i.start,r)},isAxis:!1,date:r})):null}computeSegHStyle(e){let{isRtl:n,options:r}=this.context,i=r.slotEventOverlap,s=e.levelCoord,l=e.levelCoord+e.thickness,o,a;i&&(l=Math.min(1,s+(l-s)*2)),n?(o=1-l,a=s):(o=s,a=1-l);let c={zIndex:e.stackDepth+1,left:o*100+"%",right:a*100+"%"};return i&&!e.stackForward&&(c[n?"marginLeft":"marginRight"]=10*2),c}}function Ss(t,{todayRange:e,nowDate:n,eventSelection:r,eventDrag:i,eventResize:s}){let l=(i?i.affectedInstances:null)||(s?s.affectedInstances:null)||{};return f(T,null,t.map(o=>{let a=o.eventRange.instance.instanceId;return f("div",{key:a,style:{visibility:l[a]?"hidden":""}},f(Es,Object.assign({seg:o,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:a===r,isShort:!1},$(o,e,n))))}))}function zt(t){return t?{top:t.start,bottom:-t.end}:{top:"",bottom:""}}function Su(t,e){return t.map(n=>e[n.index])}class Au extends R{constructor(){super(...arguments),this.splitFgEventSegs=S(ke),this.splitBgEventSegs=S(ke),this.splitBusinessHourSegs=S(ke),this.splitNowIndicatorSegs=S(ke),this.splitDateSelectionSegs=S(ke),this.splitEventDrag=S(Lr),this.splitEventResize=S(Lr),this.rootElRef=z(),this.cellElRefs=new Z}render(){let{props:e,context:n}=this,r=n.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),i=e.cells.length,s=this.splitFgEventSegs(e.fgEventSegs,i),l=this.splitBgEventSegs(e.bgEventSegs,i),o=this.splitBusinessHourSegs(e.businessHourSegs,i),a=this.splitNowIndicatorSegs(e.nowIndicatorSegs,i),c=this.splitDateSelectionSegs(e.dateSelectionSegs,i),u=this.splitEventDrag(e.eventDrag,i),d=this.splitEventResize(e.eventResize,i);return f("div",{className:"fc-timegrid-cols",ref:this.rootElRef},f("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,f("tbody",{role:"presentation"},f("tr",{role:"row"},e.axis&&f("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},f("div",{className:"fc-timegrid-col-frame"},f("div",{className:"fc-timegrid-now-indicator-container"},typeof r=="number"&&f(Bn,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:r},isAxis:!0,date:e.nowDate})))),e.cells.map((g,h)=>f(Eu,{key:g.key,elRef:this.cellElRefs.createRef(g.key),dateProfile:e.dateProfile,date:g.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:g.extraRenderProps,extraDataAttrs:g.extraDataAttrs,extraClassNames:g.extraClassNames,extraDateSpan:g.extraDateSpan,fgEventSegs:s[h],bgEventSegs:l[h],businessHourSegs:o[h],nowIndicatorSegs:a[h],dateSelectionSegs:c[h],eventDrag:u[h],eventResize:d[h],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:e}=this;e.onColCoords&&e.clientWidth!==null&&e.onColCoords(new Te(this.rootElRef.current,Du(this.cellElRefs.currentMap,e.cells),!0,!1))}}function Du(t,e){return e.map(n=>t[n.key])}class Cu extends q{constructor(){super(...arguments),this.processSlotOptions=S(wu),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:n}=this.props,{slatCoords:r}=this.state;if(n&&r){if(e.time){let i=r.computeTimeTop(e.time);i=Math.ceil(i),i&&(i+=1),n(i)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:n}=this;return f("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},f(ou,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),f(Au,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:n.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,n){let{dateEnv:r,options:i}=this.context,{colCoords:s}=this,{dateProfile:l}=this.props,{slatCoords:o}=this.state,{snapDuration:a,snapsPerSlot:c}=this.processSlotOptions(this.props.slotDuration,i.snapDuration),u=s.leftToIndex(e),d=o.positions.topToIndex(n);if(u!=null&&d!=null){let g=this.props.cells[u],h=o.positions.tops[d],b=o.positions.getHeight(d),m=(n-h)/b,v=Math.floor(m*c),y=d*c+v,E=this.props.cells[u].date,D=qt(l.slotMinTime,bl(a,y)),A=r.add(E,D),w=r.add(A,a);return{dateProfile:l,dateSpan:Object.assign({range:{start:A,end:w},allDay:!1},g.extraDateSpan),dayEl:s.els[u],rect:{left:s.lefts[u],right:s.rights[u],top:h,bottom:h+b},layer:0}}return null}}function wu(t,e){let n=e||t,r=hn(t,n);return r===null&&(n=t,r=1),{snapDuration:n,snapsPerSlot:r}}class _u extends zi{sliceRange(e,n){let r=[];for(let i=0;i<n.length;i+=1){let s=pe(e,n[i]);s&&r.push({start:s.start,end:s.end,isStart:s.start.valueOf()===e.start.valueOf(),isEnd:s.end.valueOf()===e.end.valueOf(),col:i})}return r}}class Ru extends q{constructor(){super(...arguments),this.buildDayRanges=S(Tu),this.slicer=new _u,this.timeColsRef=z()}render(){let{props:e,context:n}=this,{dateProfile:r,dayTableModel:i}=e,s=n.options.nowIndicator,l=this.buildDayRanges(i,r,n.dateEnv);return f(Me,{unit:s?"minute":"day"},(o,a)=>f(Cu,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,r,null,n,l),{forPrint:e.forPrint,axis:e.axis,dateProfile:r,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:i.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:o,nowIndicatorSegs:s&&this.slicer.sliceNowDate(o,n,l),todayRange:a,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords})))}}function Tu(t,e,n){let r=[];for(let i of t.headerDates)r.push({start:n.add(i,e.slotMinTime),end:n.add(i,e.slotMaxTime)});return r}const zr=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function xu(t,e,n,r,i){let s=new Date(0),l=t,o=_(0),a=n||Iu(r),c=[];for(;V(l)<V(e);){let u=i.add(s,l),d=hn(o,a)!==null;c.push({date:u,time:l,key:u.toISOString(),isoTimeStr:Bl(u),isLabeled:d}),l=qt(l,r),o=qt(o,r)}return c}function Iu(t){let e,n,r;for(e=zr.length-1;e>=0;e-=1)if(n=_(zr[e]),r=hn(n,t),r!==null&&r>1)return n;return t}class Mu extends ru{constructor(){super(...arguments),this.buildTimeColsModel=S(ku),this.buildSlatMetas=S(xu)}render(){let{options:e,dateEnv:n,dateProfileGenerator:r}=this.context,{props:i}=this,{dateProfile:s}=i,l=this.buildTimeColsModel(s,r),o=this.allDaySplitter.splitProps(i),a=this.buildSlatMetas(s.slotMinTime,s.slotMaxTime,e.slotLabelInterval,e.slotDuration,n),{dayMinWidth:c}=e,u=!c,d=c,g=e.dayHeaders&&f(Li,{dates:l.headerDates,dateProfile:s,datesRepDistinctDays:!0,renderIntro:u?this.renderHeadAxis:null}),h=e.allDaySlot!==!1&&(m=>f(bs,Object.assign({},o.allDay,{dateProfile:s,dayTableModel:l,nextDayThreshold:e.nextDayThreshold,tableMinWidth:m.tableMinWidth,colGroupNode:m.tableColGroupNode,renderRowIntro:u?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:m.clientWidth,clientHeight:m.clientHeight,forPrint:i.forPrint},this.getAllDayMaxEventProps()))),b=m=>f(Ru,Object.assign({},o.timed,{dayTableModel:l,dateProfile:s,axis:u,slotDuration:e.slotDuration,slatMetas:a,forPrint:i.forPrint,tableColGroupNode:m.tableColGroupNode,tableMinWidth:m.tableMinWidth,clientWidth:m.clientWidth,clientHeight:m.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:m.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return d?this.renderHScrollLayout(g,h,b,l.colCnt,c,a,this.state.slatCoords):this.renderSimpleLayout(g,h,b)}}function ku(t,e){let n=new Ui(t.renderRange,e);return new ji(n,!1)}const Nu={allDaySlot:Boolean};var Ou='.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}';Dt(Ou);var Ef=Y({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:Nu,views:{timeGrid:{component:Mu,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});Nn.touchMouseIgnoreWait=500;let sn=0,ht=0,ln=!1;class As{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=n=>{if(!this.shouldIgnoreMouse()&&Pu(n)&&this.tryStart(n)){let r=this.createEventFromMouse(n,!0);this.emitter.trigger("pointerdown",r),this.initScrollWatch(r),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=n=>{let r=this.createEventFromMouse(n);this.recordCoords(r),this.emitter.trigger("pointermove",r)},this.handleMouseUp=n=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(n)),this.cleanup()},this.handleTouchStart=n=>{if(this.tryStart(n)){this.isTouchDragging=!0;let r=this.createEventFromTouch(n,!0);this.emitter.trigger("pointerdown",r),this.initScrollWatch(r);let i=n.target;this.shouldIgnoreMove||i.addEventListener("touchmove",this.handleTouchMove),i.addEventListener("touchend",this.handleTouchEnd),i.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=n=>{let r=this.createEventFromTouch(n);this.recordCoords(r),this.emitter.trigger("pointermove",r)},this.handleTouchEnd=n=>{if(this.isDragging){let r=n.target;r.removeEventListener("touchmove",this.handleTouchMove),r.removeEventListener("touchend",this.handleTouchEnd),r.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(n)),this.cleanup(),this.isTouchDragging=!1,Hu()}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=n=>{if(!this.shouldIgnoreMove){let r=window.pageXOffset-this.prevScrollX+this.prevPageX,i=window.pageYOffset-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:n,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:r,pageY:i,deltaX:r-this.origPageX,deltaY:i-this.origPageY})}},this.containerEl=e,this.emitter=new St,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),Bu()}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),Lu()}tryStart(e){let n=this.querySubjectEl(e),r=e.target;return n&&(!this.handleSelector||L(r,this.handleSelector))?(this.subjectEl=n,this.isDragging=!0,this.wasTouchScroll=!1,!0):!1}cleanup(){ln=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?L(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return sn||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(ln=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,n){let r=0,i=0;return n?(this.origPageX=e.pageX,this.origPageY=e.pageY):(r=e.pageX-this.origPageX,i=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:r,deltaY:i}}createEventFromTouch(e,n){let r=e.touches,i,s,l=0,o=0;return r&&r.length?(i=r[0].pageX,s=r[0].pageY):(i=e.pageX,s=e.pageY),n?(this.origPageX=i,this.origPageY=s):(l=i-this.origPageX,o=s-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:i,pageY:s,deltaX:l,deltaY:o}}}function Pu(t){return t.button===0&&!t.ctrlKey}function Hu(){sn+=1,setTimeout(()=>{sn-=1},Nn.touchMouseIgnoreWait)}function Bu(){ht+=1,ht===1&&window.addEventListener("touchmove",Ds,{passive:!1})}function Lu(){ht-=1,ht||window.removeEventListener("touchmove",Ds,{passive:!1})}function Ds(t){ln&&t.preventDefault()}class Uu{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,n,r){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=n-window.pageXOffset,this.origScreenY=r-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,n){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=n-window.pageYOffset-this.origScreenY,this.updateElPosition()}setIsVisible(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)}stop(e,n){let r=()=>{this.cleanup(),n()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)}doRevertAnimation(e,n){let r=this.mirrorEl,i=this.sourceEl.getBoundingClientRect();r.style.transition="top "+n+"ms,left "+n+"ms",Ne(r,{left:i.left,top:i.top}),rl(r,()=>{r.style.transition="",e()})}cleanup(){this.mirrorEl&&(dn(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&Ne(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,n=this.mirrorEl;return n||(n=this.mirrorEl=this.sourceEl.cloneNode(!0),n.classList.add("fc-unselectable"),n.classList.add("fc-event-dragging"),Ne(n,{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(n)),n}}class Cs extends _n{constructor(e,n){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=n,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class ws extends Cs{constructor(e,n){super(new Lo(e),n)}getEventTarget(){return this.scrollController.el}computeClientRect(){return No(this.scrollController.el)}}class ju extends Cs{constructor(e){super(new Uo,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}const Fr=typeof performance=="function"?performance.now:Date.now;class zu{constructor(){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=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.pageXOffset,this.pointerScreenY+window.pageYOffset);if(e){let n=Fr();this.handleSide(e,(n-this.msSinceRequest)/1e3),this.requestAnimation(n)}else this.isAnimating=!1}}}start(e,n,r){this.isEnabled&&(this.scrollCaches=this.buildCaches(r),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,n))}handleMove(e,n){if(this.isEnabled){let r=e-window.pageXOffset,i=n-window.pageYOffset,s=this.pointerScreenY===null?0:i-this.pointerScreenY,l=this.pointerScreenX===null?0:r-this.pointerScreenX;s<0?this.everMovedUp=!0:s>0&&(this.everMovedDown=!0),l<0?this.everMovedLeft=!0:l>0&&(this.everMovedRight=!0),this.pointerScreenX=r,this.pointerScreenY=i,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(Fr()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let e of this.scrollCaches)e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,n){let{scrollCache:r}=e,{edgeThreshold:i}=this,s=i-e.distance,l=s*s/(i*i)*this.maxVelocity*n,o=1;switch(e.name){case"left":o=-1;case"right":r.setScrollLeft(r.getScrollLeft()+l*o);break;case"top":o=-1;case"bottom":r.setScrollTop(r.getScrollTop()+l*o);break}}computeBestEdge(e,n){let{edgeThreshold:r}=this,i=null,s=this.scrollCaches||[];for(let l of s){let o=l.clientRect,a=e-o.left,c=o.right-e,u=n-o.top,d=o.bottom-n;a>=0&&c>=0&&u>=0&&d>=0&&(u<=r&&this.everMovedUp&&l.canScrollUp()&&(!i||i.distance>u)&&(i={scrollCache:l,name:"top",distance:u}),d<=r&&this.everMovedDown&&l.canScrollDown()&&(!i||i.distance>d)&&(i={scrollCache:l,name:"bottom",distance:d}),a<=r&&this.everMovedLeft&&l.canScrollLeft()&&(!i||i.distance>a)&&(i={scrollCache:l,name:"left",distance:a}),c<=r&&this.everMovedRight&&l.canScrollRight()&&(!i||i.distance>c)&&(i={scrollCache:l,name:"right",distance:c}))}return i}buildCaches(e){return this.queryScrollEls(e).map(n=>n===window?new ju(!1):new ws(n,!1))}queryScrollEls(e){let n=[];for(let r of this.scrollQuery)typeof r=="object"?n.push(r):n.push(...Array.prototype.slice.call(oi(e).querySelectorAll(r)));return n}}class Fe extends ba{constructor(e,n){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=i=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,il(document.body),ll(document.body),i.isTouch||i.origEvent.preventDefault(),this.emitter.trigger("pointerdown",i),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(i.subjectEl,i.pageX,i.pageY),this.startDelay(i),this.minDistance||this.handleDistanceSurpassed(i)))},this.onPointerMove=i=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",i),!this.isDistanceSurpassed){let s=this.minDistance,l,{deltaX:o,deltaY:a}=i;l=o*o+a*a,l>=s*s&&this.handleDistanceSurpassed(i)}this.isDragging&&(i.origEvent.type!=="scroll"&&(this.mirror.handleMove(i.pageX,i.pageY),this.autoScroller.handleMove(i.pageX,i.pageY)),this.emitter.trigger("dragmove",i))}},this.onPointerUp=i=>{this.isInteracting&&(this.isInteracting=!1,sl(document.body),ol(document.body),this.emitter.trigger("pointerup",i),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(i)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let r=this.pointer=new As(e);r.emitter.on("pointerdown",this.onPointerDown),r.emitter.on("pointermove",this.onPointerMove),r.emitter.on("pointerup",this.onPointerUp),n&&(r.selector=n),this.mirror=new Uu,this.autoScroller=new zu}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){typeof this.delay=="number"?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(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),this.touchScrollAllowed===!1&&this.pointer.cancelTouchScroll())}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class Fu{constructor(e){this.origRect=wn(e),this.scrollCaches=Ai(e).map(n=>new ws(n,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let n of this.scrollCaches)e+=n.origScrollLeft-n.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let n of this.scrollCaches)e+=n.origScrollTop-n.getScrollTop();return e}isWithinClipping(e,n){let r={left:e,top:n};for(let i of this.scrollCaches)if(!Wu(i.getEventTarget())&&!po(r,i.clientRect))return!1;return!0}}function Wu(t){let e=t.tagName;return e==="HTML"||e==="BODY"}class Ct{constructor(e,n){this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=r=>{let{dragging:i}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(r),this.initialHit||!this.requireInitial?(i.setIgnoreMove(!1),this.emitter.trigger("pointerdown",r)):i.setIgnoreMove(!0)},this.handleDragStart=r=>{this.emitter.trigger("dragstart",r),this.handleMove(r,!0)},this.handleDragMove=r=>{this.emitter.trigger("dragmove",r),this.handleMove(r)},this.handlePointerUp=r=>{this.releaseHits(),this.emitter.trigger("pointerup",r)},this.handleDragEnd=r=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,r),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",r)},this.droppableStore=n,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 St}processFirstCoord(e){let n={left:e.pageX,top:e.pageY},r=n,i=e.subjectEl,s;i instanceof HTMLElement&&(s=wn(i),r=mo(r,s));let l=this.initialHit=this.queryHitForOffset(r.left,r.top);if(l){if(this.useSubjectCenter&&s){let o=yi(s,l.rect);o&&(r=vo(o))}this.coordAdjust=bo(r,n)}else this.coordAdjust={left:0,top:0}}handleMove(e,n){let r=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(n||!wt(this.movingHit,r))&&(this.movingHit=r,this.emitter.trigger("hitupdate",r,!1,e))}prepareHits(){this.offsetTrackers=X(this.droppableStore,e=>(e.component.prepareHits(),new Fu(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let n in e)e[n].destroy();this.offsetTrackers={}}queryHitForOffset(e,n){let{droppableStore:r,offsetTrackers:i}=this,s=null;for(let l in r){let o=r[l].component,a=i[l];if(a&&a.isWithinClipping(e,n)){let c=a.computeLeft(),u=a.computeTop(),d=e-c,g=n-u,{origRect:h}=a,b=h.right-h.left,m=h.bottom-h.top;if(d>=0&&d<b&&g>=0&&g<m){let v=o.queryHit(d,g,b,m);v&&yt(v.dateProfile.activeRange,v.dateSpan.range)&&(!s||v.layer>s.layer)&&(v.componentId=l,v.context=o.context,v.rect.left+=c,v.rect.right+=c,v.rect.top+=u,v.rect.bottom+=u,s=v)}}}return s}}function wt(t,e){return!t&&!e?!0:!!t!=!!e?!1:sa(t.dateSpan,e.dateSpan)}function _s(t,e){let n={};for(let r of e.pluginHooks.datePointTransforms)Object.assign(n,r(t,e));return Object.assign(n,Vu(t,e.dateEnv)),n}function Vu(t,e){return{date:e.toDate(t.range.start),dateStr:e.formatIso(t.range.start,{omitTime:t.allDay}),allDay:t.allDay}}class Gu extends Ie{constructor(e){super(e),this.handlePointerDown=r=>{let{dragging:i}=this,s=r.origEvent.target;i.setIgnoreMove(!this.component.isValidDateDownEl(s))},this.handleDragEnd=r=>{let{component:i}=this,{pointer:s}=this.dragging;if(!s.wasTouchScroll){let{initialHit:l,finalHit:o}=this.hitDragging;if(l&&o&&wt(l,o)){let{context:a}=i,c=Object.assign(Object.assign({},_s(l.dateSpan,a)),{dayEl:l.dayEl,jsEvent:r.origEvent,view:a.viewApi||a.calendarApi.view});a.emitter.trigger("dateClick",c)}}},this.dragging=new Fe(e.el),this.dragging.autoScroller.isEnabled=!1;let n=this.hitDragging=new Ct(this.dragging,kn(e));n.emitter.on("pointerdown",this.handlePointerDown),n.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}}class Qu extends Ie{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=l=>{let{component:o,dragging:a}=this,{options:c}=o.context,u=c.selectable&&o.isValidDateDownEl(l.origEvent.target);a.setIgnoreMove(!u),a.delay=l.isTouch?qu(o):null},this.handleDragStart=l=>{this.component.context.calendarApi.unselect(l)},this.handleHitUpdate=(l,o)=>{let{context:a}=this.component,c=null,u=!1;if(l){let d=this.hitDragging.initialHit;l.componentId===d.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(d,l)||(c=Yu(d,l,a.pluginHooks.dateSelectionTransformers)),(!c||!Na(c,l.dateProfile,a))&&(u=!0,c=null)}c?a.dispatch({type:"SELECT_DATES",selection:c}):o||a.dispatch({type:"UNSELECT_DATES"}),u?un():fn(),o||(this.dragSelection=c)},this.handlePointerUp=l=>{this.dragSelection&&(wi(this.dragSelection,l,this.component.context),this.dragSelection=null)};let{component:n}=e,{options:r}=n.context,i=this.dragging=new Fe(e.el);i.touchScrollAllowed=!1,i.minDistance=r.selectMinDistance||0,i.autoScroller.isEnabled=r.dragScroll;let s=this.hitDragging=new Ct(this.dragging,kn(e));s.emitter.on("pointerdown",this.handlePointerDown),s.emitter.on("dragstart",this.handleDragStart),s.emitter.on("hitupdate",this.handleHitUpdate),s.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}}function qu(t){let{options:e}=t.context,n=e.selectLongPressDelay;return n==null&&(n=e.longPressDelay),n}function Yu(t,e,n){let r=t.dateSpan,i=e.dateSpan,s=[r.range.start,r.range.end,i.range.start,i.range.end];s.sort(fl);let l={};for(let o of n){let a=o(t,e);if(a===!1)return null;a&&Object.assign(l,a)}return l.range={start:s[0],end:s[3]},l.allDay=r.allDay,l}class We extends Ie{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=l=>{let o=l.origEvent.target,{component:a,dragging:c}=this,{mirror:u}=c,{options:d}=a.context,g=a.context;this.subjectEl=l.subjectEl;let h=this.subjectSeg=xe(l.subjectEl),m=(this.eventRange=h.eventRange).instance.instanceId;this.relevantEvents=yn(g.getCurrentData().eventStore,m),c.minDistance=l.isTouch?0:d.eventDragMinDistance,c.delay=l.isTouch&&m!==a.props.eventSelection?$u(a):null,d.fixedMirrorParent?u.parentNode=d.fixedMirrorParent:u.parentNode=L(o,".fc"),u.revertDuration=d.dragRevertDuration;let v=a.isValidSegDownEl(o)&&!L(o,".fc-event-resizer");c.setIgnoreMove(!v),this.isDragging=v&&l.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=l=>{let o=this.component.context,a=this.eventRange,c=a.instance.instanceId;l.isTouch?c!==this.component.props.eventSelection&&o.dispatch({type:"SELECT_EVENT",eventInstanceId:c}):o.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(o.calendarApi.unselect(l),o.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new k(o,a.def,a.instance),jsEvent:l.origEvent,view:o.viewApi}))},this.handleHitUpdate=(l,o)=>{if(!this.isDragging)return;let a=this.relevantEvents,c=this.hitDragging.initialHit,u=this.component.context,d=null,g=null,h=null,b=!1,m={affectedEvents:a,mutatedEvents:W(),isEvent:!0};if(l){d=l.context;let v=d.options;u===d||v.editable&&v.droppable?(g=Zu(c,l,d.getCurrentData().pluginHooks.eventDragMutationMassagers),g&&(h=Tn(a,d.getCurrentData().eventUiBases,g,d),m.mutatedEvents=h,Wi(m,l.dateProfile,d)||(b=!0,g=null,h=null,m.mutatedEvents=W()))):d=null}this.displayDrag(d,m),b?un():fn(),o||(u===d&&wt(c,l)&&(g=null),this.dragging.setMirrorNeedsRevert(!g),this.dragging.setMirrorIsVisible(!l||!oi(this.subjectEl).querySelector(".fc-event-mirror")),this.receivingContext=d,this.validMutation=g,this.mutatedRelevantEvents=h)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=l=>{if(this.isDragging){let o=this.component.context,a=o.viewApi,{receivingContext:c,validMutation:u}=this,d=this.eventRange.def,g=this.eventRange.instance,h=new k(o,d,g),b=this.relevantEvents,m=this.mutatedRelevantEvents,{finalHit:v}=this.hitDragging;if(this.clearDrag(),o.emitter.trigger("eventDragStop",{el:this.subjectEl,event:h,jsEvent:l.origEvent,view:a}),u){if(c===o){let y=new k(o,m.defs[d.defId],g?m.instances[g.instanceId]:null);o.dispatch({type:"MERGE_EVENTS",eventStore:m});let E={oldEvent:h,event:y,relatedEvents:de(m,o,g),revert(){o.dispatch({type:"MERGE_EVENTS",eventStore:b})}},D={};for(let A of o.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(D,A(u,o));o.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},E),D),{el:l.subjectEl,delta:u.datesDelta,jsEvent:l.origEvent,view:a})),o.emitter.trigger("eventChange",E)}else if(c){let y={event:h,relatedEvents:de(b,o,g),revert(){o.dispatch({type:"MERGE_EVENTS",eventStore:b})}};o.emitter.trigger("eventLeave",Object.assign(Object.assign({},y),{draggedEl:l.subjectEl,view:a})),o.dispatch({type:"REMOVE_EVENTS",eventStore:b}),o.emitter.trigger("eventRemove",y);let E=m.defs[d.defId],D=m.instances[g.instanceId],A=new k(c,E,D);c.dispatch({type:"MERGE_EVENTS",eventStore:m});let w={event:A,relatedEvents:de(m,c,D),revert(){c.dispatch({type:"REMOVE_EVENTS",eventStore:m})}};c.emitter.trigger("eventAdd",w),l.isTouch&&c.dispatch({type:"SELECT_EVENT",eventInstanceId:g.instanceId}),c.emitter.trigger("drop",Object.assign(Object.assign({},_s(v.dateSpan,c)),{draggedEl:l.subjectEl,jsEvent:l.origEvent,view:v.context.viewApi})),c.emitter.trigger("eventReceive",Object.assign(Object.assign({},w),{draggedEl:l.subjectEl,view:v.context.viewApi}))}}else o.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:n}=this,{options:r}=n.context,i=this.dragging=new Fe(e.el);i.pointer.selector=We.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=r.dragScroll;let s=this.hitDragging=new Ct(this.dragging,tn);s.useSubjectCenter=e.useEventCenter,s.emitter.on("pointerdown",this.handlePointerDown),s.emitter.on("dragstart",this.handleDragStart),s.emitter.on("hitupdate",this.handleHitUpdate),s.emitter.on("pointerup",this.handlePointerUp),s.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,n){let r=this.component.context,i=this.receivingContext;i&&i!==e&&(i===r?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:n.affectedEvents,mutatedEvents:W(),isEvent:!0}}):i.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:n})}clearDrag(){let e=this.component.context,{receivingContext:n}=this;n&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e!==n&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}We.SELECTOR=".fc-event-draggable, .fc-event-resizable";function Zu(t,e,n){let r=t.dateSpan,i=e.dateSpan,s=r.range.start,l=i.range.start,o={};r.allDay!==i.allDay&&(o.allDay=i.allDay,o.hasEnd=e.context.options.allDayMaintainDuration,i.allDay&&(s=x(s)));let a=Se(s,l,t.context.dateEnv,t.componentId===e.componentId?t.largeUnit:null);a.milliseconds&&(o.allDay=!1);let c={datesDelta:a,standardProps:o};for(let u of n)u(c,t,e);return c}function $u(t){let{options:e}=t.context,n=e.eventLongPressDelay;return n==null&&(n=e.longPressDelay),n}class Xu extends Ie{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=s=>{let{component:l}=this,o=this.querySegEl(s),a=xe(o),c=this.eventRange=a.eventRange;this.dragging.minDistance=l.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(s.origEvent.target)||s.isTouch&&this.component.props.eventSelection!==c.instance.instanceId)},this.handleDragStart=s=>{let{context:l}=this.component,o=this.eventRange;this.relevantEvents=yn(l.getCurrentData().eventStore,this.eventRange.instance.instanceId);let a=this.querySegEl(s);this.draggingSegEl=a,this.draggingSeg=xe(a),l.calendarApi.unselect(),l.emitter.trigger("eventResizeStart",{el:a,event:new k(l,o.def,o.instance),jsEvent:s.origEvent,view:l.viewApi})},this.handleHitUpdate=(s,l,o)=>{let{context:a}=this.component,c=this.relevantEvents,u=this.hitDragging.initialHit,d=this.eventRange.instance,g=null,h=null,b=!1,m={affectedEvents:c,mutatedEvents:W(),isEvent:!0};s&&(s.componentId===u.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(u,s)||(g=Ju(u,s,o.subjectEl.classList.contains("fc-event-resizer-start"),d.range))),g&&(h=Tn(c,a.getCurrentData().eventUiBases,g,a),m.mutatedEvents=h,Wi(m,s.dateProfile,a)||(b=!0,g=null,h=null,m.mutatedEvents=null)),h?a.dispatch({type:"SET_EVENT_RESIZE",state:m}):a.dispatch({type:"UNSET_EVENT_RESIZE"}),b?un():fn(),l||(g&&wt(u,s)&&(g=null),this.validMutation=g,this.mutatedRelevantEvents=h)},this.handleDragEnd=s=>{let{context:l}=this.component,o=this.eventRange.def,a=this.eventRange.instance,c=new k(l,o,a),u=this.relevantEvents,d=this.mutatedRelevantEvents;if(l.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:c,jsEvent:s.origEvent,view:l.viewApi}),this.validMutation){let g=new k(l,d.defs[o.defId],a?d.instances[a.instanceId]:null);l.dispatch({type:"MERGE_EVENTS",eventStore:d});let h={oldEvent:c,event:g,relatedEvents:de(d,l,a),revert(){l.dispatch({type:"MERGE_EVENTS",eventStore:u})}};l.emitter.trigger("eventResize",Object.assign(Object.assign({},h),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||_(0),endDelta:this.validMutation.endDelta||_(0),jsEvent:s.origEvent,view:l.viewApi})),l.emitter.trigger("eventChange",h)}else l.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:n}=e,r=this.dragging=new Fe(e.el);r.pointer.selector=".fc-event-resizer",r.touchScrollAllowed=!1,r.autoScroller.isEnabled=n.context.options.dragScroll;let i=this.hitDragging=new Ct(this.dragging,kn(e));i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return L(e.subjectEl,".fc-event")}}function Ju(t,e,n,r){let i=t.context.dateEnv,s=t.dateSpan.range.start,l=e.dateSpan.range.start,o=Se(s,l,i,t.largeUnit);if(n){if(i.add(r.start,o)<r.end)return{startDelta:o}}else if(i.add(r.end,o)>r.start)return{endDelta:o};return null}class Ku{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=r=>{r.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=r=>{let i=this.context.options.unselectCancel,s=li(r.origEvent);this.matchesCancel=!!L(s,i),this.matchesEvent=!!L(s,We.SELECTOR)},this.onDocumentPointerUp=r=>{let{context:i}=this,{documentPointer:s}=this,l=i.getCurrentData();if(!s.wasTouchScroll){if(l.dateSelection&&!this.isRecentPointerDateSelect){let o=i.options.unselectAuto;o&&(!o||!this.matchesCancel)&&i.calendarApi.unselect(r)}l.eventSelection&&!this.matchesEvent&&i.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let n=this.documentPointer=new As(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)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}const ef={fixedMirrorParent:p},tf={dateClick:p,eventDragStart:p,eventDragStop:p,eventDrop:p,eventResizeStart:p,eventResizeStop:p,eventResize:p,drop:p,eventReceive:p,eventLeave:p};Nn.dataAttrPrefix="";var Sf=Y({name:"@fullcalendar/interaction",componentInteractions:[Gu,Qu,We,Xu],calendarInteractions:[Ku],elementDraggingImpl:Fe,optionRefiners:ef,listenerRefiners:tf});class nf extends R{constructor(){super(...arguments),this.state={textId:ne()}}render(){let{theme:e,dateEnv:n,options:r,viewApi:i}=this.context,{cellId:s,dayDate:l,todayRange:o}=this.props,{textId:a}=this.state,c=Cn(l,o),u=r.listDayFormat?n.format(l,r.listDayFormat):"",d=r.listDaySideFormat?n.format(l,r.listDaySideFormat):"",g=Object.assign({date:n.toDate(l),view:i,textId:a,text:u,sideText:d,navLinkAttrs:Re(this.context,l),sideNavLinkAttrs:Re(this.context,l,"day",!1)},c);return f(U,{elTag:"tr",elClasses:["fc-list-day",...Et(c,e)],elAttrs:{"data-date":vt(l)},renderProps:g,generatorName:"dayHeaderContent",generator:r.dayHeaderContent||rf,classNameGenerator:r.dayHeaderClassNames,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},h=>f("th",{scope:"colgroup",colSpan:3,id:s,"aria-labelledby":a},f(h,{elTag:"div",elClasses:["fc-list-day-cushion",e.getClass("tableCellShaded")]})))}}function rf(t){return f(T,null,t.text&&f("a",Object.assign({id:t.textId,className:"fc-list-day-text"},t.navLinkAttrs),t.text),t.sideText&&f("a",Object.assign({"aria-hidden":!0,className:"fc-list-day-side-text"},t.sideNavLinkAttrs),t.sideText))}const sf=M({hour:"numeric",minute:"2-digit",meridiem:"short"});class lf extends R{render(){let{props:e,context:n}=this,{options:r}=n,{seg:i,timeHeaderId:s,eventHeaderId:l,dateHeaderId:o}=e,a=r.eventTimeFormat||sf;return f(At,Object.assign({},e,{elTag:"tr",elClasses:["fc-list-event",i.eventRange.def.url&&"fc-event-forced-url"],defaultGenerator:()=>of(i,n),seg:i,timeText:"",disableDragging:!0,disableResizing:!0}),(c,u)=>f(T,null,af(i,a,n,s,o),f("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},f("span",{className:"fc-list-event-dot",style:{borderColor:u.borderColor||u.backgroundColor}})),f(c,{elTag:"td",elClasses:["fc-list-event-title"],elAttrs:{headers:`${l} ${o}`}})))}}function of(t,e){let n=In(t,e);return f("a",Object.assign({},n),t.eventRange.def.title)}function af(t,e,n,r,i){let{options:s}=n;if(s.displayEventTime!==!1){let l=t.eventRange.def,o=t.eventRange.instance,a=!1,c;if(l.allDay?a=!0:go(t.eventRange.range)?t.isStart?c=He(t,e,n,null,null,o.range.start,t.end):t.isEnd?c=He(t,e,n,null,null,t.start,o.range.end):a=!0:c=He(t,e,n),a){let u={text:n.options.allDayText,view:n.viewApi};return f(U,{elTag:"td",elClasses:["fc-list-event-time"],elAttrs:{headers:`${r} ${i}`},renderProps:u,generatorName:"allDayContent",generator:s.allDayContent||cf,classNameGenerator:s.allDayClassNames,didMount:s.allDayDidMount,willUnmount:s.allDayWillUnmount})}return f("td",{className:"fc-list-event-time"},c)}return null}function cf(t){return t.text}class df extends q{constructor(){super(...arguments),this.computeDateVars=S(ff),this.eventStoreToSegs=S(this._eventStoreToSegs),this.state={timeHeaderId:ne(),eventHeaderId:ne(),dateHeaderIdRoot:ne()},this.setRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e}):this.context.unregisterInteractiveComponent(this)}}render(){let{props:e,context:n}=this,{dayDates:r,dayRanges:i}=this.computeDateVars(e.dateProfile),s=this.eventStoreToSegs(e.eventStore,e.eventUiBases,i);return f(Ue,{elRef:this.setRootEl,elClasses:["fc-list",n.theme.getClass("table"),n.options.stickyHeaderDates!==!1?"fc-list-sticky":""],viewSpec:n.viewSpec},f(Qi,{liquid:!e.isHeightAuto,overflowX:e.isHeightAuto?"visible":"hidden",overflowY:e.isHeightAuto?"visible":"auto"},s.length>0?this.renderSegList(s,r):this.renderEmptyMessage()))}renderEmptyMessage(){let{options:e,viewApi:n}=this.context,r={text:e.noEventsText,view:n};return f(U,{elTag:"div",elClasses:["fc-list-empty"],renderProps:r,generatorName:"noEventsContent",generator:e.noEventsContent||uf,classNameGenerator:e.noEventsClassNames,didMount:e.noEventsDidMount,willUnmount:e.noEventsWillUnmount},i=>f(i,{elTag:"div",elClasses:["fc-list-empty-cushion"]}))}renderSegList(e,n){let{theme:r,options:i}=this.context,{timeHeaderId:s,eventHeaderId:l,dateHeaderIdRoot:o}=this.state,a=hf(e);return f(Me,{unit:"day"},(c,u)=>{let d=[];for(let g=0;g<a.length;g+=1){let h=a[g];if(h){let b=vt(n[g]),m=o+"-"+b;d.push(f(nf,{key:b,cellId:m,dayDate:n[g],todayRange:u})),h=xn(h,i.eventOrder);for(let v of h)d.push(f(lf,Object.assign({key:b+":"+v.eventRange.instance.instanceId,seg:v,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:s,eventHeaderId:l,dateHeaderId:m},$(v,u,c))))}}return f("table",{className:"fc-list-table "+r.getClass("table")},f("thead",null,f("tr",null,f("th",{scope:"col",id:s},i.timeHint),f("th",{scope:"col","aria-hidden":!0}),f("th",{scope:"col",id:l},i.eventHint))),f("tbody",null,d))})}_eventStoreToSegs(e,n,r){return this.eventRangesToSegs(Jt(e,n,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,r)}eventRangesToSegs(e,n){let r=[];for(let i of e)r.push(...this.eventRangeToSegs(i,n));return r}eventRangeToSegs(e,n){let{dateEnv:r}=this.context,{nextDayThreshold:i}=this.context.options,s=e.range,l=e.def.allDay,o,a,c,u=[];for(o=0;o<n.length;o+=1)if(a=pe(s,n[o]),a&&(c={component:this,eventRange:e,start:a.start,end:a.end,isStart:e.isStart&&a.start.valueOf()===s.start.valueOf(),isEnd:e.isEnd&&a.end.valueOf()===s.end.valueOf(),dayIndex:o},u.push(c),!c.isEnd&&!l&&o+1<n.length&&s.end<r.add(n[o+1].start,i))){c.end=s.end,c.isEnd=!0;break}return u}}function uf(t){return t.text}function ff(t){let e=x(t.renderRange.start),n=t.renderRange.end,r=[],i=[];for(;e<n;)r.push(e),i.push({start:e,end:H(e,1)}),e=H(e,1);return{dayDates:r,dayRanges:i}}function hf(t){let e=[],n,r;for(n=0;n<t.length;n+=1)r=t[n],(e[r.dayIndex]||(e[r.dayIndex]=[])).push(r);return e}const gf={listDayFormat:Wr,listDaySideFormat:Wr,noEventsClassNames:p,noEventsContent:p,noEventsDidMount:p,noEventsWillUnmount:p};function Wr(t){return t===!1?null:M(t)}var pf=':root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:"";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}';Dt(pf);var Af=Y({name:"@fullcalendar/list",optionRefiners:gf,views:{list:{component:df,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"}}}});export{bf as F,Ef as a,Sf as b,Af as c,yf as i};
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings