1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6397],{17402:(function(Rt,ct,ke){ke.d(ct,{XX:function(){return z},d5:function(){return $}});var A,H,Oe,we,S,Ee,We,Je,Ge,ze,rt,it,Fe,gt,He,Se,j,Ye,et,ut,de=ke(50172),st=ke(45994);function Pe(v,C){for(var q in C)v[q]=C[q];return v}function Qe(v,C){for(var q in v)if(q!=="__source"&&!(q in C))return!0;for(var J in C)if(J!=="__source"&&v[J]!==C[J])return!0;return!1}function je(v,C){return v===C&&(v!==0||1/v==1/C)||v!=v&&C!=C}function Ze(v){this.props=v}function vt(v,C){function q(ve){var ue=this.props.ref,Ie=ue==ve.ref;return!Ie&&ue&&(ue.call?ue(null):ue.current=null),C?!C(this.props,ve)||!Ie:Qe(this.props,ve)}function J(ve){return this.shouldComponentUpdate=q,A(v,ve)}return J.displayName="Memo("+(v.displayName||v.name)+")",J.prototype.isReactComponent=!0,J.__f=!0,J}(Ze.prototype=new de.uA).isPureReactComponent=!0,Ze.prototype.shouldComponentUpdate=function(v,C){return Qe(this.props,v)||Qe(this.state,C)};var qe=de.fF.__b;de.fF.__b=function(v){v.type&&v.type.__f&&v.ref&&(v.props.ref=v.ref,v.ref=null),qe&&qe(v)};var $e=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function dt(v){function C(q){var J=Pe({},q);return delete J.ref,v(J,q.ref||null)}return C.$$typeof=$e,C.render=C,C.prototype.isReactComponent=C.__f=!0,C.displayName="ForwardRef("+(v.displayName||v.name)+")",C}var tt=function(v,C){return v==null?null:H(H(v).map(C))},ot=null,Le=de.fF.__e;de.fF.__e=function(v,C,q,J){if(v.then){for(var ve,ue=C;ue=ue.__;)if((ve=ue.__c)&&ve.__c)return C.__e==null&&(C.__e=q.__e,C.__k=q.__k),ve.__c(v,C)}Le(v,C,q,J)};var Xe=de.fF.unmount;function G(v,C,q){return v&&(v.__c&&v.__c.__H&&(v.__c.__H.__.forEach(function(J){typeof J.__c=="function"&&J.__c()}),v.__c.__H=null),(v=Pe({},v)).__c!=null&&(v.__c.__P===q&&(v.__c.__P=C),v.__c=null),v.__k=v.__k&&v.__k.map(function(J){return G(J,C,q)})),v}function Y(v,C,q){return v&&(v.__v=null,v.__k=v.__k&&v.__k.map(function(J){return Y(J,C,q)}),v.__c&&v.__c.__P===C&&(v.__e&&q.insertBefore(v.__e,v.__d),v.__c.__e=!0,v.__c.__P=q)),v}function Z(){this.__u=0,this.t=null,this.__b=null}function ye(v){var C=v.__.__c;return C&&C.__a&&C.__a(v)}function Be(v){var C,q,J;function ve(ue){if(C||(C=v()).then(function(Ie){q=Ie.default||Ie},function(Ie){J=Ie}),J)throw J;if(!q)throw C;return A(q,ue)}return ve.displayName="Lazy",ve.__f=!0,ve}function F(){this.u=null,this.o=null}de.fF.unmount=function(v){var C=v.__c;C&&C.__R&&C.__R(),C&&v.__h===!0&&(v.type=null),Xe&&Xe(v)},(Z.prototype=new de.uA).__c=function(v,C){var q=C.__c,J=this;J.t==null&&(J.t=[]),J.t.push(q);var ve=ye(J.__v),ue=!1,Ie=function(){ue||(ue=!0,q.__R=null,ve?ve(at):at())};q.__R=Ie;var at=function(){if(!--J.__u){if(J.state.__a){var xt=J.state.__a;J.__v.__k[0]=Y(xt,xt.__c.__P,xt.__c.__O)}var jt;for(J.setState({__a:J.__b=null});jt=J.t.pop();)jt.forceUpdate()}},w=C.__h===!0;J.__u++||w||J.setState({__a:J.__b=J.__v.__k[0]}),v.then(Ie,Ie)},Z.prototype.componentWillUnmount=function(){this.t=[]},Z.prototype.render=function(v,C){if(this.__b){if(this.__v.__k){var q=document.createElement("div"),J=this.__v.__k[0].__c;this.__v.__k[0]=G(this.__b,q,J.__O=J.__P)}this.__b=null}var ve=C.__a&&(0,de.n)(de.FK,null,v.fallback);return ve&&(ve.__h=null),[(0,de.n)(de.FK,null,C.__a?null:v.children),ve]};var f=function(v,C,q){if(++q[1]===q[0]&&v.o.delete(C),v.props.revealOrder&&(v.props.revealOrder[0]!=="t"||!v.o.size))for(q=v.u;q;){for(;q.length>3;)q.pop()();if(q[1]<q[0])break;v.u=q=q[2]}};function _(v){return this.getChildContext=function(){return v.context},v.children}function R(v){var C=this,q=v.i;C.componentWillUnmount=function(){(0,de.XX)(null,C.l),C.l=null,C.i=null},C.i&&C.i!==q&&C.componentWillUnmount(),v.__v?(C.l||(C.i=q,C.l={nodeType:1,parentNode:q,childNodes:[],appendChild:function(J){this.childNodes.push(J),C.i.appendChild(J)},insertBefore:function(J,ve){this.childNodes.push(J),C.i.appendChild(J)},removeChild:function(J){this.childNodes.splice(this.childNodes.indexOf(J)>>>1,1),C.i.removeChild(J)}}),(0,de.XX)((0,de.n)(_,{context:C.context},v.__v),C.l)):C.l&&C.componentWillUnmount()}function $(v,C){var q=(0,de.n)(R,{__v:v,i:C});return q.containerInfo=C,q}
1(F.prototype=new de.uA).__a=function(v){var C=this,q=ye(C.__v),J=C.o.get(v);return J[0]++,function(ve){var ue=function(){C.props.revealOrder?(J.push(ve),f(C,v,J)):ve()};q?q(ue):ue()}},F.prototype.render=function(v){this.u=null,this.o=new Map;var C=(0,de.v2)(v.children);v.revealOrder&&v.revealOrder[0]==="b"&&C.reverse();for(var q=C.length;q--;)this.o.set(C[q],this.u=[1,0,this.u]);return v.children},F.prototype.componentDidUpdate=F.prototype.componentDidMount=function(){var v=this;this.o.forEach(function(C,q){f(v,q,C)})};var u=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,h=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|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]/,b=typeof document<"u",L=function(v){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(v)};function z(v,C,q){return C.__k==null&&(C.textContent=""),(0,de.XX)(v,C),typeof q=="function"&&q(),v?v.__c:null}function x(v,C,q){return Oe(v,C),typeof q=="function"&&q(),v?v.__c:null}de.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(v){Object.defineProperty(de.uA.prototype,v,{configurable:!0,get:function(){return this["UNSAFE_"+v]},set:function(C){Object.defineProperty(this,v,{configurable:!0,writable:!0,value:C})}})});var ie=de.fF.event;function fe(){}function W(){return this.cancelBubble}function ce(){return this.defaultPrevented}de.fF.event=function(v){return ie&&(v=ie(v)),v.persist=fe,v.isPropagationStopped=W,v.isDefaultPrevented=ce,v.nativeEvent=v};var T,ge={configurable:!0,get:function(){return this.class}},se=de.fF.vnode;de.fF.vnode=function(v){var C=v.type,q=v.props,J=q;if(typeof C=="string"){var ve=C.indexOf("-")===-1;for(var ue in J={},q){var Ie=q[ue];b&&ue==="children"&&C==="noscript"||ue==="value"&&"defaultValue"in q&&Ie==null||(ue==="defaultValue"&&"value"in q&&q.value==null?ue="value":ue==="download"&&Ie===!0?Ie="":/ondoubleclick/i.test(ue)?ue="ondblclick":/^onchange(textarea|input)/i.test(ue+C)&&!L(q.type)?ue="oninput":/^onfocus$/i.test(ue)?ue="onfocusin":/^onblur$/i.test(ue)?ue="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(ue)?ue=ue.toLowerCase():ve&&h.test(ue)?ue=ue.replace(/[A-Z0-9]/g,"-$&").toLowerCase():Ie===null&&(Ie=void 0),/^oninput$/i.test(ue)&&(ue=ue.toLowerCase(),J[ue]&&(ue="oninputCapture")),J[ue]=Ie)}C=="select"&&J.multiple&&Array.isArray(J.value)&&(J.value=(0,de.v2)(q.children).forEach(function(at){at.props.selected=J.value.indexOf(at.props.value)!=-1})),C=="select"&&J.defaultValue!=null&&(J.value=(0,de.v2)(q.children).forEach(function(at){at.props.selected=J.multiple?J.defaultValue.indexOf(at.props.value)!=-1:J.defaultValue==at.props.value})),v.props=J,q.class!=q.className&&(ge.enumerable="className"in q,q.className!=null&&(J.class=q.className),Object.defineProperty(J,"className",ge))}v.$$typeof=u,se&&se(v)};var te=de.fF.__r;de.fF.__r=function(v){te&&te(v),T=v.__c};var pe=null,X="17.0.2";function d(v){return A.bind(null,v)}function m(v){return!!v&&v.$$typeof===u}function E(v){return m(v)?we.apply(null,arguments):v}function M(v){return!!v.__k&&(S(null,v),!0)}function V(v){return v&&(v.base||v.nodeType===1&&v)||null}var I=function(v,C){return v(C)},U=function(v,C){return v(C)},Q=null;function K(v){v()}function le(v){return v}function he(){return[!1,K]}var _e=null;function De(v,C){var q=C(),J=rt({h:{__:q,v:C}}),ve=J[0].h,ue=J[1];return ze(function(){ve.__=q,ve.v=C,je(ve.__,C())||ue({h:ve})},[v,q,C]),it(function(){return je(ve.__,ve.v())||ue({h:ve}),v(function(){je(ve.__,ve.v())||ue({h:ve})})},[v]),q}var Me=null}),50172:(function(Rt,ct,ke){ke.d(ct,{FK:function(){return Ye},Ob:function(){return R},XX:function(){return f},_3:function(){return j},fF:function(){return H},h:function(){return He},n:function(){return He},q6:function(){return $},uA:function(){return Qe},v2:function(){return ot},zO:function(){return we}});var A,H,Oe,we,S,Ee,We,Je,Ge,ze={},rt=[],it=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Fe(u,h){for(var b in h)u[b]=h[b];return u}function gt(u){var h=u.parentNode;h&&h.removeChild(u)}function He(u,h,b){var L,z,x,ie={};for(x in h)x=="key"?L=h[x]:x=="ref"?z=h[x]:ie[x]=h[x];if(arguments.length>2&&(ie.children=arguments.length>3?A.call(arguments,2):b),typeof u=="function"&&u.defaultProps!=null)for(x in u.defaultProps)ie[x]===void 0&&(ie[x]=u.defaultProps[x]);return Se(u,ie,L,z,null)}function Se(u,h,b,L,z){var x={type:u,props:h,key:b,ref:L,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:z??++Oe};return z==null&&H.vnode!=null&&H.vnode(x),x}function j(){return{current:null}}function Ye(u){return u.children}function et(u,h,b,L,z){var x;for(x in b)x==="children"||x==="key"||x in h||de(u,x,null,b[x],L);for(x in h)z&&typeof h[x]!="function"||x==="children"||x==="key"||x==="value"||x==="checked"||b[x]===h[x]||de(u,x,h[x],b[x],L)}function ut(u,h,b){h[0]==="-"?u.setProperty(h,b??""):u[h]=b==null?"":typeof b!="number"||it.test(h)?b:b+"px"}function de(u,h,b,L,z){var x;e:if(h==="style")if(typeof b=="string")u.style.cssText=b;else{if(typeof L=="string"&&(u.style.cssText=L=""),L)for(h in L)b&&h in b||ut(u.style,h,"");if(b)for(h in b)L&&b[h]===L[h]||ut(u.style,h,b[h])}else if(h[0]==="o"&&h[1]==="n")x=h!==(h=h.replace(/Capture$/,"")),h=h.toLowerCase()in u?h.toLowerCase().slice(2):h.slice(2),u.l||(u.l={}),u.l[h+x]=b,b?L||u.addEventListener(h,x?Pe:st,x):u.removeEventListener(h,x?Pe:st,x);else if(h!=="dangerouslySetInnerHTML"){if(z)h=h.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(h!=="width"&&h!=="height"&&h!=="href"&&h!=="list"&&h!=="form"&&h!=="tabIndex"&&h!=="download"&&h in u)try{u[h]=b??"";break e}catch{}typeof b=="function"||(b==null||b===!1&&h.indexOf("-")==-1?u.removeAttribute(h):u.setAttribute(h,b))}}function st(u){S=!0;try{return this.l[u.type+!1](H.event?H.event(u):u)}finally{S=!1}}function Pe(u){S=!0;try{return this.l[u.type+!0](H.event?H.event(u):u)}finally{S=!1}}function Qe(u,h){this.props=u,this.context=h}function je(u,h){if(h==null)return u.__?je(u.__,u.__.__k.indexOf(u)+1):null;for(var b;h<u.__k.length;h++)if((b=u.__k[h])!=null&&b.__e!=null)return b.__e;return typeof u.type=="function"?je(u):null}function Ze(u){var h,b;if((u=u.__)!=null&&u.__c!=null){for(u.__e=u.__c.base=null,h=0;h<u.__k.length;h++)if((b=u.__k[h])!=null&&b.__e!=null){u.__e=u.__c.base=b.__e;break}return Ze(u)}}function vt(u){S?setTimeout(u):Je(u)}function qe(u){(!u.__d&&(u.__d=!0)&&Ee.push(u)&&!$e.__r++||We!==H.debounceRendering)&&((We=H.debounceRendering)||vt)($e)}function $e(){var u,h,b,L,z,x,ie,fe;for(Ee.sort(function(W,ce){return W.__v.__b-ce.__v.__b});u=Ee.shift();)u.__d&&(h=Ee.length,L=void 0,z=void 0,ie=(x=(b=u).__v).__e,(fe=b.__P)&&(L=[],(z=Fe({},x)).__v=x.__v+1,G(fe,x,z,b.__n,fe.ownerSVGElement!==void 0,x.__h!=null?[ie]:null,
vendor: 7,870 bytes, line 1
1L,ie??je(x),x.__h),Y(L,x),x.__e!=ie&&Ze(x)),Ee.length>h&&Ee.sort(function(W,ce){return W.__v.__b-ce.__v.__b}));$e.__r=0}function dt(u,h,b,L,z,x,ie,fe,W,ce){var T,ge,se,te,pe,X,d,m=L&&L.__k||rt,E=m.length;for(b.__k=[],T=0;T<h.length;T++)if((te=b.__k[T]=(te=h[T])==null||typeof te=="boolean"?null:typeof te=="string"||typeof te=="number"||typeof te=="bigint"?Se(null,te,null,null,te):Array.isArray(te)?Se(Ye,{children:te},null,null,null):te.__b>0?Se(te.type,te.props,te.key,te.ref?te.ref:null,te.__v):te)!=null){if(te.__=b,te.__b=b.__b+1,(se=m[T])===null||se&&te.key==se.key&&te.type===se.type)m[T]=void 0;else for(ge=0;ge<E;ge++){if((se=m[ge])&&te.key==se.key&&te.type===se.type){m[ge]=void 0;break}se=null}G(u,te,se=se||ze,z,x,ie,fe,W,ce),pe=te.__e,(ge=te.ref)&&se.ref!=ge&&(d||(d=[]),se.ref&&d.push(se.ref,null,te),d.push(ge,te.__c||pe,te)),pe!=null?(X==null&&(X=pe),typeof te.type=="function"&&te.__k===se.__k?te.__d=W=tt(te,W,u):W=Le(u,te,se,m,pe,W),typeof b.type=="function"&&(b.__d=W)):W&&se.__e==W&&W.parentNode!=u&&(W=je(se))}for(b.__e=X,T=E;T--;)m[T]!=null&&(typeof b.type=="function"&&m[T].__e!=null&&m[T].__e==b.__d&&(b.__d=Xe(L).nextSibling),Be(m[T],m[T]));if(d)for(T=0;T<d.length;T++)ye(d[T],d[++T],d[++T])}function tt(u,h,b){for(var L,z=u.__k,x=0;z&&x<z.length;x++)(L=z[x])&&(L.__=u,h=typeof L.type=="function"?tt(L,h,b):Le(b,L,L,z,L.__e,h));return h}function ot(u,h){return h=h||[],u==null||typeof u=="boolean"||(Array.isArray(u)?u.some(function(b){ot(b,h)}):h.push(u)),h}function Le(u,h,b,L,z,x){var ie,fe,W;if(h.__d!==void 0)ie=h.__d,h.__d=void 0;else if(b==null||z!=x||z.parentNode==null)e:if(x==null||x.parentNode!==u)u.appendChild(z),ie=null;else{for(fe=x,W=0;(fe=fe.nextSibling)&&W<L.length;W+=1)if(fe==z)break e;u.insertBefore(z,x),ie=x}return ie!==void 0?ie:z.nextSibling}function Xe(u){var h,b,L;if(u.type==null||typeof u.type=="string")return u.__e;if(u.__k){for(h=u.__k.length-1;h>=0;h--)if((b=u.__k[h])&&(L=Xe(b)))return L}return null}function G(u,h,b,L,z,x,ie,fe,W){var ce,T,ge,se,te,pe,X,d,m,E,M,V,I,U,Q,K=h.type;if(h.constructor!==void 0)return null;b.__h!=null&&(W=b.__h,fe=h.__e=b.__e,h.__h=null,x=[fe]),(ce=H.__b)&&ce(h);try{e:if(typeof K=="function"){if(d=h.props,m=(ce=K.contextType)&&L[ce.__c],E=ce?m?m.props.value:ce.__:L,b.__c?X=(T=h.__c=b.__c).__=T.__E:("prototype"in K&&K.prototype.render?h.__c=T=new K(d,E):(h.__c=T=new Qe(d,E),T.constructor=K,T.render=F),m&&m.sub(T),T.props=d,T.state||(T.state={}),T.context=E,T.__n=L,ge=T.__d=!0,T.__h=[],T._sb=[]),T.__s==null&&(T.__s=T.state),K.getDerivedStateFromProps!=null&&(T.__s==T.state&&(T.__s=Fe({},T.__s)),Fe(T.__s,K.getDerivedStateFromProps(d,T.__s))),se=T.props,te=T.state,T.__v=h,ge)K.getDerivedStateFromProps==null&&T.componentWillMount!=null&&T.componentWillMount(),T.componentDidMount!=null&&T.__h.push(T.componentDidMount);else{if(K.getDerivedStateFromProps==null&&d!==se&&T.componentWillReceiveProps!=null&&T.componentWillReceiveProps(d,E),!T.__e&&T.shouldComponentUpdate!=null&&T.shouldComponentUpdate(d,T.__s,E)===!1||h.__v===b.__v){for(h.__v!==b.__v&&(T.props=d,T.state=T.__s,T.__d=!1),h.__e=b.__e,h.__k=b.__k,h.__k.forEach(function(le){le&&(le.__=h)}),M=0;M<T._sb.length;M++)T.__h.push(T._sb[M]);T._sb=[],T.__h.length&&ie.push(T);break e}T.componentWillUpdate!=null&&T.componentWillUpdate(d,T.__s,E),T.componentDidUpdate!=null&&T.__h.push(function(){T.componentDidUpdate(se,te,pe)})}if(T.context=E,T.props=d,T.__P=u,V=H.__r,I=0,"prototype"in K&&K.prototype.render){for(T.state=T.__s,T.__d=!1,V&&V(h),ce=T.render(T.props,T.state,T.context),U=0;U<T._sb.length;U++)T.__h.push(T._sb[U]);T._sb=[]}else do T.__d=!1,V&&V(h),ce=T.render(T.props,T.state,T.context),T.state=T.__s;while(T.__d&&++I<25);T.state=T.__s,T.getChildContext!=null&&(L=Fe(Fe({},L),T.getChildContext())),ge||T.getSnapshotBeforeUpdate==null||(pe=T.getSnapshotBeforeUpdate(se,te)),Q=ce!=null&&ce.type===Ye&&ce.key==null?ce.props.children:ce,dt(u,Array.isArray(Q)?Q:[Q],h,b,L,z,x,ie,fe,W),T.base=h.__e,h.__h=null,T.__h.length&&ie.push(T),X&&(T.__E=T.__=null),T.__e=!1}else x==null&&h.__v===b.__v?(h.__k=b.__k,h.__e=b.__e):h.__e=Z(b.__e,h,b,L,z,x,ie,W);(ce=H.diffed)&&ce(h)}catch(le){h.__v=null,(W||x!=null)&&(h.__e=fe,h.__h=!!W,x[x.indexOf(fe)]=null),H.__e(le,h,b)}}function Y(u,h){H.__c&&H.__c(h,u),u.some(function(b){try{u=b.__h,b.__h=[],u.some(function(L){L.call(b)})}catch(L){H.__e(L,b.__v)}})}function Z(u,h,b,L,z,x,ie,fe){var W,ce,T,ge=b.props,se=h.props,te=h.type,pe=0;if(te==="svg"&&(z=!0),x!=null){for(;pe<x.length;pe++)if((W=x[pe])&&"setAttribute"in W==!!te&&(te?W.localName===te:W.nodeType===3)){u=W,x[pe]=null;break}}if(u==null){if(te===null)return document.createTextNode(se);u=z?document.createElementNS("http://www.w3.org/2000/svg",te):document.createElement(te,se.is&&se),x=null,fe=!1}if(te===null)ge===se||fe&&u.data===se||(u.data=se);else{if(x=x&&A.call(u.childNodes),ce=(ge=b.props||ze).dangerouslySetInnerHTML,T=se.dangerouslySetInnerHTML,!fe){if(x!=null)for(ge={},pe=0;pe<u.attributes.length;pe++)ge[u.attributes[pe].name]=u.attributes[pe].value;(T||ce)&&(T&&(ce&&T.__html==ce.__html||T.__html===u.innerHTML)||(u.innerHTML=T&&T.__html||""))}if(et(u,se,ge,z,fe),T)h.__k=[];else if(pe=h.props.children,dt(u,Array.isArray(pe)?pe:[pe],h,b,L,z&&te!=="foreignObject",x,ie,x?x[0]:b.__k&&je(b,0),fe),x!=null)for(pe=x.length;pe--;)x[pe]!=null&>(x[pe]);fe||("value"in se&&(pe=se.value)!==void 0&&(pe!==u.value||te==="progress"&&!pe||te==="option"&&pe!==ge.value)&&de(u,"value",pe,ge.value,!1),"checked"in se&&(pe=se.checked)!==void 0&&pe!==u.checked&&de(u,"checked",pe,ge.checked,!1))}return u}function ye(u,h,b){try{typeof u=="function"?u(h):u.current=h}catch(L){H.__e(L,b)}}function Be(u,h,b){var L,z;if(H.unmount&&H.unmount(u),(L=u.ref)&&(L.current&&L.current!==u.__e||ye(L,null,h)),(L=u.__c)!=null){if(L.componentWillUnmount)try{L.componentWillUnmount()}catch(x){H.__e(x,h)}L.base=L.__P=null,u.__c=void 0}if(L=u.__k)for(z=0;z<L.length;z++)L[z]&&Be(L[z],h,b||typeof u.type!="function");b||u.__e==null||gt(u.__e),u.__=u.__e=u.__d=void 0}function F(u,h,b){return this.constructor(u,b)}function f(u,h,b){var L,z,x;H.__&&H.__(u,h),z=(L=typeof b=="function")?null:b&&b.__k||h.__k,x=[],G(h,u=(!L&&b||h).__k=He(Ye,null,[u]),z||ze,ze,h.ownerSVGElement!==void 0,!L&&b?[b]:z?null:h.firstChild?A.call(h.childNodes):null,x,!L&&b?b:z?z.__e:h.firstChild,L),Y(x,u)}function _(u,h){f(u,h,_)}function R(u,h,b){var L,z,x,ie=Fe({},u.props);for(x in h)x=="key"?L=h[x]:x=="ref"?z=h[x]:ie[x]=h[x];return arguments.length>2&&(ie.children=arguments.length>3?A.call(arguments,2):b),Se(u.type,ie,L||u.key,z||u.ref,null)}function $(u,h){var b={__c:h="__cC"+Ge++,__:u,Consumer:function(L,z){return L.children(z)},Provider:function(L){var z,x;return this.getChildContext||(z=[],(x={})[h]=this,this.getChildContext=function(){return x},this.shouldComponentUpdate=function(ie){this.props.value!==ie.value&&z.some(function(fe){fe.__e=!0,qe(fe)})},this.sub=function(ie){z.push(ie);var fe=ie.componentWillUnmount;ie.componentWillUnmount=function(){z.splice(z.indexOf(ie),1),fe&&fe.call(ie)}}),L.children}};return b.Provider.__=b.Consumer.contextType=b}A=rt.slice,H={__e:function(u,h,b,L){for(var z,x,ie;h=h.__;)if((z=h.__c)&&!z.__)try{if((x=z.constructor)&&x.getDerivedStateFromError!=null&&(z.setState(x.getDerivedStateFromError(u)),ie=z.__d),z.componentDidCatch!=null&&(z.componentDidCatch(u,L||{}),ie=z.__d),ie)return z.__E=z}catch(fe){u=fe}throw u}},Oe=0,we=function(u){return u!=null&&u.constructor===void 0},S=!1,Qe.prototype.setState=function(u,h){var b;b=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Fe({},this.state),typeof u=="function"&&(u=u(Fe({},b),this.props)),u&&Fe(b,u),u!=null&&this.__v&&(h&&this._sb.push(h),qe(this))},Qe.prototype.forceUpdate=function(u){this.__v&&(this.__e=!0,u&&this.__h.push(u),qe(this))},Qe.prototype.render=Ye,Ee=[],Je=typeof Promise=="function"?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,$e.__r=0,Ge=0}),45994:(function(Rt,ct,ke){ke.d(ct,{J0:function(){return Se},Kr:function(){return st},hb:function(){return Pe},li:function(){return ut},vJ:function(){return Ye}});var A,H=ke(50172),Oe,we,S,Ee,We=0,Je=[],Ge=[],ze=H.fF.__b,rt=H.fF.__r,it=H.fF.diffed,Fe=H.fF.__c,gt=H.fF.unmount;function He(G,Y){H.fF.__h&&H.fF.__h(we,G,We||Y),We=0;var Z=we.__H||(we.__H={__:[],__h:[]});return G>=Z.__.length&&Z.__.push({__V:Ge}),Z.__[G]}function Se(G){return We=1,j(Xe,G)}function j(G,Y,Z){var ye=He(Oe++,2);if(ye.t=G,!ye.__c&&(ye.__=[Z?Z(Y):Xe(void 0,Y),function(F){var f=ye.__N?ye.__N[0]:ye.__[0],_=ye.t(f,F);f!==_&&(ye.__N=[_,ye.__[1]],ye.__c.setState({}))}],ye.__c=we,!we.u)){we.u=!0;var Be=we.shouldComponentUpdate;we.shouldComponentUpdate=function(F,f,_){if(!ye.__c.__H)return!0;var R=ye.__c.__H.__.filter(function(u){return u.__c});if(R.every(function(u){return!u.__N}))return!Be||Be.call(this,F,f,_);var $=!1;return R.forEach(function(u){if(u.__N){var h=u.__[0];u.__=u.__N,u.__N=void 0,h!==u.__[0]&&($=!0)}}),!(!$&&ye.__c.props===F)&&(!Be||Be.call(this,F,f,_))}}return ye.__N||ye.__}function Ye(G,Y){var Z=He(Oe++,3);!H.fF.__s&&Le(Z.__H,Y)&&(Z.__=G,Z.i=Y,we.__H.__h.push(Z))}function et(G,Y){var Z=He(Oe++,4);!A.__s&&Le(Z.__H,Y)&&(Z.__=G,Z.i=Y,we.__h.push(Z))}function ut(G){return We=5,st(function(){return{current:G}},[])}function de(G,Y,Z){We=6,et(function(){return typeof G=="function"?(G(Y()),function(){return G(null)}):G?(G.current=Y(),function(){return G.current=null}):void 0},Z==null?Z:Z.concat(G))}function st(G,Y){var Z=He(Oe++,7);return Le(Z.__H,Y)?(Z.__V=G(),Z.i=Y,Z.__h=G,Z.__V):Z.__}function Pe(G,Y){return We=8,st(function(){return G},Y)}function Qe(G){var Y=we.context[G.__c],Z=He(Oe++,9);return Z.c=G,Y?(Z.__==null&&(Z.__=!0,Y.sub(we)),Y.props.value):G.__}function je(G,Y){A.useDebugValue&&A.useDebugValue(Y?Y(G):G)}function Ze(G){var Y=He(Oe++,10),Z=Se();return Y.__=G,we.componentDidCatch||(we.componentDidCatch=function(ye,Be){Y.__&&Y.__(ye,Be),Z[1](ye)}),[Z[0],function(){Z[1](void 0)}]}function vt(){var G=He(Oe++,11);if(!G.__){for(var Y=we.__v;Y!==null&&!Y.__m&&Y.__!==null;)Y=Y.__;var Z=Y.__m||(Y.__m=[0,0]);G.__="P"+Z[0]+"-"+Z[1]++}return G.__}function qe(){for(var G;G=Je.shift();)if(G.__P&&G.__H)try{G.__H.__h.forEach(tt),G.__H.__h.forEach(ot),G.__H.__h=[]}catch(Y){G.__H.__h=[],H.fF.__e(Y,G.__v)}}H.fF.__b=function(G){we=null,ze&&ze(G)},H.fF.__r=function(G){rt&&rt(G),Oe=0;var Y=(we=G.__c).__H;Y&&(S===we?(Y.__h=[],we.__h=[],Y.__.forEach(function(Z){Z.__N&&(Z.__=Z.__N),Z.__V=Ge,Z.__N=Z.i=void 0})):(Y.__h.forEach(tt),Y.__h.forEach(ot),Y.__h=[])),S=we},H.fF.diffed=function(G){it&&it(G);var Y=G.__c;Y&&Y.__H&&(Y.__H.__h.length&&(Je.push(Y)!==1&&Ee===H.fF.requestAnimationFrame||((Ee=H.fF.requestAnimationFrame)||dt)(qe)),Y.__H.__.forEach(function(Z){Z.i&&(Z.__H=Z.i),Z.__V!==Ge&&(Z.__=Z.__V),Z.i=void 0,Z.__V=Ge})),S=we=null},H.fF.__c=function(G,Y){Y.some(function(Z){try{Z.__h.forEach(tt),Z.__h=Z.__h.filter(function(ye){return!ye.__||ot(ye)})}catch(ye){Y.some(function(Be){Be.__h&&(Be.__h=[])}),Y=[],H.fF.__e(ye,Z.__v)}}),Fe&&Fe(G,Y)},H.fF.unmount=function(G){gt&>(G);var Y,Z=G.__c;Z&&Z.__H&&(Z.__H.__.forEach(function(ye){try{tt(ye)}catch(Be){Y=Be}}),Z.__H=void 0,Y&&H.fF.__e(Y,Z.__v))};var $e=typeof requestAnimationFrame=="function";function dt(G){var Y,Z=function(){clearTimeout(ye),$e&&cancelAnimationFrame(Y),setTimeout(G)},ye=setTimeout(Z,100);$e&&(Y=requestAnimationFrame(Z))}function tt(G){var Y=we,Z=G.__c;typeof Z=="function"&&(G.__c=void 0,Z()),we=Y}function ot(G){var Y=we;G.__c=G.__(),we=Y}function Le(G,Y){return!G||G.length!==Y.length||Y.some(function(Z,ye){return Z!==G[ye]})}function Xe(G,Y){return typeof Y=="function"?Y(G):Y}}),67363:(function(Rt,ct,ke){ke.d(ct,{Vv:function(){return An},i1:function(){return Se}});var A,H,Oe,we,S=ke(29174),Ee=ke(50172),We=ke(17402);const Je=[],Ge={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"},ze=Object.assign(Object.assign({},Ge),{buttonHints:{prev:"Previous $0",next:"Next $0",today(a,o){return o==="day"?"Today":`This ${a}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(a){return`Show ${a} more event${a===1?"":"s"}`}});function rt(a){let o=a.length>0?a[0].code:"en",c=Je.concat(a),g={en:ze};for(let D of c)g[D.code]=D;return{map:g,defaultCode:o}}function it(a,o){return typeof a=="object"&&!Array.isArray(a)?He(a.code,[a.code],a):Fe(a,o)}function Fe(a,o){let c=[].concat(a||[]),g=gt(c,o)||ze;return He(a,c,g)}function gt(a,o){for(let c=0;c<a.length;c+=1){let g=a[c].toLocaleLowerCase().split("-");for(let D=g.length;D>0;D-=1){let P=g.slice(0,D).join("-");if(o[P])return o[P]}}return null}
1function He(a,o,c){let g=(0,S.m)([Ge,c],["buttonText"]);delete g.code;let{week:D}=g;return delete g.week,{codeArg:a,codes:o,week:D,simpleNumberFormat:new Intl.NumberFormat(a),options:g}}function Se(a){return{id:(0,S.g)(),name:a.name,premiumReleaseDate:a.premiumReleaseDate?new Date(a.premiumReleaseDate):void 0,deps:a.deps||[],reducers:a.reducers||[],isLoadingFuncs:a.isLoadingFuncs||[],contextInit:[].concat(a.contextInit||[]),eventRefiners:a.eventRefiners||{},eventDefMemberAdders:a.eventDefMemberAdders||[],eventSourceRefiners:a.eventSourceRefiners||{},isDraggableTransformers:a.isDraggableTransformers||[],eventDragMutationMassagers:a.eventDragMutationMassagers||[],eventDefMutationAppliers:a.eventDefMutationAppliers||[],dateSelectionTransformers:a.dateSelectionTransformers||[],datePointTransforms:a.datePointTransforms||[],dateSpanTransforms:a.dateSpanTransforms||[],views:a.views||{},viewPropsTransformers:a.viewPropsTransformers||[],isPropsValid:a.isPropsValid||null,externalDefTransforms:a.externalDefTransforms||[],viewContainerAppends:a.viewContainerAppends||[],eventDropTransformers:a.eventDropTransformers||[],componentInteractions:a.componentInteractions||[],calendarInteractions:a.calendarInteractions||[],themeClasses:a.themeClasses||{},eventSourceDefs:a.eventSourceDefs||[],cmdFormatter:a.cmdFormatter,recurringTypes:a.recurringTypes||[],namedTimeZonedImpl:a.namedTimeZonedImpl,initialView:a.initialView||"",elementDraggingImpl:a.elementDraggingImpl,optionChangeHandlers:a.optionChangeHandlers||{},scrollGridImpl:a.scrollGridImpl||null,listenerRefiners:a.listenerRefiners||{},optionRefiners:a.optionRefiners||{},propSetHandlers:a.propSetHandlers||{}}}function j(a,o){let c={},g={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 D(P){for(let k of P){const ee=k.name,ne=c[ee];ne===void 0?(c[ee]=k.id,D(k.deps),g=et(g,k)):ne!==k.id&&console.warn(`Duplicate plugin '${ee}'`)}}return a&&D(a),D(o),g}function Ye(){let a=[],o=[],c;return(g,D)=>
1((!c||!(0,S.i)(g,a)||!(0,S.i)(D,o))&&(c=j(g,D)),a=g,o=D,c)}function et(a,o){return{premiumReleaseDate:ut(a.premiumReleaseDate,o.premiumReleaseDate),reducers:a.reducers.concat(o.reducers),isLoadingFuncs:a.isLoadingFuncs.concat(o.isLoadingFuncs),contextInit:a.contextInit.concat(o.contextInit),eventRefiners:Object.assign(Object.assign({},a.eventRefiners),o.eventRefiners),eventDefMemberAdders:a.eventDefMemberAdders.concat(o.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},a.eventSourceRefiners),o.eventSourceRefiners),isDraggableTransformers:a.isDraggableTransformers.concat(o.isDraggableTransformers),eventDragMutationMassagers:a.eventDragMutationMassagers.concat(o.eventDragMutationMassagers),eventDefMutationAppliers:a.eventDefMutationAppliers.concat(o.eventDefMutationAppliers),dateSelectionTransformers:a.dateSelectionTransformers.concat(o.dateSelectionTransformers),datePointTransforms:a.datePointTransforms.concat(o.datePointTransforms),dateSpanTransforms:a.dateSpanTransforms.concat(o.dateSpanTransforms),views:Object.assign(Object.assign({},a.views),o.views),viewPropsTransformers:a.viewPropsTransformers.concat(o.viewPropsTransformers),isPropsValid:o.isPropsValid||a.isPropsValid,externalDefTransforms:a.externalDefTransforms.concat(o.externalDefTransforms),viewContainerAppends:a.viewContainerAppends.concat(o.viewContainerAppends),eventDropTransformers:a.eventDropTransformers.concat(o.eventDropTransformers),calendarInteractions:a.calendarInteractions.concat(o.calendarInteractions),componentInteractions:a.componentInteractions.concat(o.componentInteractions),themeClasses:Object.assign(Object.assign({},a.themeClasses),o.themeClasses),eventSourceDefs:a.eventSourceDefs.concat(o.eventSourceDefs),cmdFormatter:o.cmdFormatter||a.cmdFormatter,recurringTypes:a.recurringTypes.concat(o.recurringTypes),namedTimeZonedImpl:o.namedTimeZonedImpl||a.namedTimeZonedImpl,initialView:a.initialView||o.initialView,elementDraggingImpl:a.elementDraggingImpl||o.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},a.optionChangeHandlers),o.optionChangeHandlers),scrollGridImpl:o.scrollGridImpl||a.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},a.listenerRefiners),o.listenerRefiners),optionRefiners:Object.assign(Object.assign({},a.optionRefiners),o.optionRefiners),propSetHandlers:Object.assign(Object.assign({},a.propSetHandlers),o.propSetHandlers)}}function ut(a,o){return a===void 0?o:o===void 0?a:new Date(Math.max(a.valueOf(),o.valueOf()))}class de extends S.T{}de.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},de.prototype.baseIconClass="fc-icon",de.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"},de.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},de.prototype.iconOverrideOption="buttonIcons",de.prototype.iconOverrideCustomButtonOption="icon",de.prototype.iconOverridePrefix="fc-icon-";function st(a,o){let c={},g;for(g in a)Pe(g,c,a,o);for(g in o)Pe(g,c,a,o);return c}function Pe(a,o,c,g){if(o[a])return o[a];let D=Qe(a,o,c,g);return D&&(o[a]=D),D}function Qe(a,o,c,g){let D=c[a],P=g[a],k=be=>D&&D[be]!==null?D[be]:P&&P[be]!==null?P[be]:null,ee=k("component"),ne=k("superType"),ae=null;if(ne){if(ne===a)throw new Error("Can't have a custom view type that references itself");ae=Pe(ne,o,c,g)}return!ee&&ae&&(ee=ae.component),ee?{type:a,component:ee,defaults:Object.assign(Object.assign({},ae?ae.defaults:{}),D?D.rawOptions:{}),overrides:Object.assign(Object.assign({},ae?ae.overrides:{}),P?P.rawOptions:{})}:null}function je(a){return(0,S.a)(a,Ze)}function Ze(a){let o=typeof a=="function"?{component:a}:a,{component:c}=o;return o.content?c=vt(o):c&&!(c.prototype instanceof S.B)&&(c=vt(Object.assign(Object.assign({},o),{content:c}))),{superType:o.type,component:c,rawOptions:o}}function vt(a){return o=>(0,Ee.n)(S.V.Consumer,null,c=>(0,Ee.n)(S.C,{elTag:"div",elClasses:(0,S.b)(c.viewSpec),renderProps:Object.assign(Object.assign({},o),{nextDayThreshold:c.options.nextDayThreshold}),generatorName:void 0,customGenerator:a.content,classNameGenerator:a.classNames,didMount:a.didMount,willUnmount:a.willUnmount}))}function qe(a,o,c,g){let D=je(a),P=je(o.views),k=st(D,P);return(0,S.a)(k,ee=>$e(ee,P,o,c,g))}function $e(a,o,c,g,D){let P=a.overrides.duration||a.defaults.duration||g.duration||c.duration,k=null,ee="",ne="",ae={};if(P&&(k=tt(P),k)){let Ce=(0,S.c)(k);ee=Ce.unit,Ce.value===1&&(ne=ee,ae=o[ee]?o[ee].rawOptions:{})}
1let be=Ce=>{let me=Ce.buttonText||{},lt=a.defaults.buttonTextKey;return lt!=null&&me[lt]!=null?me[lt]:me[a.type]!=null?me[a.type]:me[ne]!=null?me[ne]:null},Te=Ce=>{let me=Ce.buttonHints||{},lt=a.defaults.buttonTextKey;return lt!=null&&me[lt]!=null?me[lt]:me[a.type]!=null?me[a.type]:me[ne]!=null?me[ne]:null};return{type:a.type,component:a.component,duration:k,durationUnit:ee,singleUnit:ne,optionDefaults:a.defaults,optionOverrides:Object.assign(Object.assign({},ae),a.overrides),buttonTextOverride:be(g)||be(c)||a.overrides.buttonText,buttonTextDefault:be(D)||a.defaults.buttonText||be(S.e)||a.type,buttonTitleOverride:Te(g)||Te(c)||a.overrides.buttonHint,buttonTitleDefault:Te(D)||a.defaults.buttonHint||Te(S.e)}}let dt={};function tt(a){let o=JSON.stringify(a),c=dt[o];return c===void 0&&(c=(0,S.d)(a),dt[o]=c),c}function ot(a,o){return o.type==="CHANGE_VIEW_TYPE"&&(a=o.viewType),a}function Le(a,o){return o.type==="CHANGE_DATE"?o.dateMarker:a}function Xe(a,o,c){let g=a.initialDate;return g!=null?o.createMarker(g):c.getDateMarker()}function G(a,o){return o.type==="SET_OPTION"?Object.assign(Object.assign({},a),{[o.optionName]:o.rawOptionValue}):a}function Y(a,o,c,g){let D;switch(o.type){case"CHANGE_VIEW_TYPE":return g.build(o.dateMarker||c);case"CHANGE_DATE":return g.build(o.dateMarker);case"PREV":if(D=g.buildPrev(a,c),D.isValid)return D;break;case"NEXT":if(D=g.buildNext(a,c),D.isValid)return D;break}return a}function Z(a,o,c){let g=o?o.activeRange:null;return f({},z(a,c),g,c)}function ye(a,o,c,g){let D=c?c.activeRange:null;switch(o.type){case"ADD_EVENT_SOURCES":return f(a,o.sources,D,g);case"REMOVE_EVENT_SOURCE":return _(a,o.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return c?R(a,D,g):a;case"FETCH_EVENT_SOURCES":return u(a,o.sourceIds?(0,S.f)(o.sourceIds):L(a,g),D,o.isRefetch||!1,g);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return b(a,o.sourceId,o.fetchId,o.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return a}}function Be(a,o,c){let g=o?o.activeRange:null;return u(a,L(a,c),g,!0,c)}function F(a){for(let o in a)if(a[o].isFetching)return!0;return!1}function f(a,o,c,g){let D={};for(let P of o)D[P.sourceId]=P;return c&&(D=R(D,c,g)),Object.assign(Object.assign({},a),D)}function _(a,o){return(0,S.h)(a,c=>c.sourceId!==o)}function R(a,o,c){return u(a,(0,S.h)(a,g=>$(g,o,c)),o,!1,c)}function $(a,o,c){return x(a,c)?!c.options.lazyFetching||!a.fetchRange||a.isFetching||o.start<a.fetchRange.start||o.end>a.fetchRange.end:!a.latestFetchId}function u(a,o,c,g,D){let P={};for(let k in a){let ee=a[k];o[k]?P[k]=h(ee,c,g,D):P[k]=ee}return P}function h(a,o,c,g){let{options:D,calendarApi:P}=g,k=g.pluginHooks.eventSourceDefs[a.sourceDefId],ee=(0,S.g)();return k.fetch({eventSource:a,range:o,isRefetch:c,context:g},ne=>{let{rawEvents:ae}=ne;D.eventSourceSuccess&&(ae=D.eventSourceSuccess.call(P,ae,ne.response)||ae),a.success&&(ae=a.success.call(P,ae,ne.response)||ae),g.dispatch({type:"RECEIVE_EVENTS",sourceId:a.sourceId,fetchId:ee,fetchRange:o,rawEvents:ae})},ne=>{let ae=!1;D.eventSourceFailure&&(D.eventSourceFailure.call(P,ne),ae=!0),a.failure&&(a.failure(ne),ae=!0),ae||console.warn(ne.message,ne),g.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:a.sourceId,fetchId:ee,fetchRange:o,error:ne})}),Object.assign(Object.assign({},a),{isFetching:!0,latestFetchId:ee})}function b(a,o,c,g){let D=a[o];return D&&c===D.latestFetchId?Object.assign(Object.assign({},a),{[o]:Object.assign(Object.assign({},D),{isFetching:!1,fetchRange:g})}):a}function L(a,o){return(0,S.h)(a,c=>x(c,o))}function z(a,o){let c=(0,S.j)(o),g=[].concat(a.eventSources||[]),D=[];a.initialEvents&&g.unshift(a.initialEvents),a.events&&g.unshift(a.events);for(let P of g){let k=(0,S.p)(P,o,c);k&&D.push(k)}return D}function x(a,o){return!o.pluginHooks.eventSourceDefs[a.sourceDefId].ignoreRange}function ie(a,o){switch(o.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return o.selection;default:return a}}function fe(a,o){switch(o.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return o.eventInstanceId;default:return a}}function W(a,o){let c;switch(o.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return c=o.state,{affectedEvents:c.affectedEvents,mutatedEvents:c.mutatedEvents,isEvent:c.isEvent};default:return a}}function ce(a,o){let c;switch(o.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return c=o.state,{affectedEvents:c.affectedEvents,mutatedEvents:c.mutatedEvents,isEvent:c.isEvent};default:return a}}function T(a,o,c,g,D){let P=a.headerToolbar?ge(a.headerToolbar,a,o,c,g,D):null,k=a.footerToolbar?ge(a.footerToolbar,a,o,c,g,D):null;
1return{header:P,footer:k}}function ge(a,o,c,g,D,P){let k={},ee=[],ne=!1;for(let ae in a){let be=a[ae],Te=se(be,o,c,g,D,P);k[ae]=Te.widgets,ee.push(...Te.viewsWithButtons),ne=ne||Te.hasTitle}return{sectionWidgets:k,viewsWithButtons:ee,hasTitle:ne}}function se(a,o,c,g,D,P){let k=o.direction==="rtl",ee=o.customButtons||{},ne=c.buttonText||{},ae=o.buttonText||{},be=c.buttonHints||{},Te=o.buttonHints||{},Ce=a?a.split(" "):[],me=[],lt=!1;return{widgets:Ce.map(Ve=>Ve.split(",").map(Ne=>{if(Ne==="title")return lt=!0,{buttonName:Ne};let yt,At,wt,Ue,Dt,Tt;if(yt=ee[Ne])wt=ft=>{yt.click&&yt.click.call(ft.target,ft,ft.target)},(Ue=g.getCustomButtonIconClass(yt))||(Ue=g.getIconClass(Ne,k))||(Dt=yt.text),Tt=yt.hint||yt.text;else if(At=D[Ne]){me.push(Ne),wt=()=>{P.changeView(Ne)},(Dt=At.buttonTextOverride)||(Ue=g.getIconClass(Ne,k))||(Dt=At.buttonTextDefault);let ft=At.buttonTextOverride||At.buttonTextDefault;Tt=(0,S.k)(At.buttonTitleOverride||At.buttonTitleDefault||o.viewHint,[ft,Ne],ft)}else if(P[Ne])if(wt=()=>{P[Ne]()},(Dt=ne[Ne])||(Ue=g.getIconClass(Ne,k))||(Dt=ae[Ne]),Ne==="prevYear"||Ne==="nextYear"){let ft=Ne==="prevYear"?"prev":"next";Tt=(0,S.k)(be[ft]||Te[ft],[ae.year||"year","year"],ae[Ne])}else Tt=ft=>(0,S.k)(be[Ne]||Te[Ne],[ae[ft]||ft,ft],ae[Ne]);return{buttonName:Ne,buttonClick:wt,buttonIcon:Ue,buttonText:Dt,buttonHint:Tt}})),viewsWithButtons:me,hasTitle:lt}}class te{constructor(o,c,g){this.type=o,this.getCurrentData=c,this.dateEnv=g}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(o){return this.getCurrentData().options[o]}}const X=Se({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta(a){return Array.isArray(a.events)?a.events:null},fetch(a,o){o({rawEvents:a.eventSource.meta})}}]}),m=Se({name:"func-event-source",eventSourceDefs:[{parseMeta(a){return typeof a.events=="function"?a.events:null},fetch(a,o,c){const{dateEnv:g}=a.context,D=a.eventSource.meta;(0,S.u)(D.bind(null,(0,S.l)(a.range,g)),P=>o({rawEvents:P}),c)}}]}),E={method:String,extraParams:S.n,startParam:String,endParam:String,timeZoneParam:String},V=Se({name:"json-event-source",eventSourceRefiners:E,eventSourceDefs:[{parseMeta(a){return a.url&&(a.format==="json"||!a.format)?{url:a.url,format:"json",method:(a.method||"GET").toUpperCase(),extraParams:a.extraParams,startParam:a.startParam,endParam:a.endParam,timeZoneParam:a.timeZoneParam}:null},fetch(a,o,c){const{meta:g}=a.eventSource,D=I(g,a.range,a.context);(0,S.r)(g.method,g.url,D).then(([P,k])=>{o({rawEvents:P,response:k})},c)}}]});function I(a,o,c){let{dateEnv:g,options:D}=c,P,k,ee,ne,ae={};return P=a.startParam,P==null&&(P=D.startParam),k=a.endParam,k==null&&(k=D.endParam),ee=a.timeZoneParam,ee==null&&(ee=D.timeZoneParam),typeof a.extraParams=="function"?ne=a.extraParams():ne=a.extraParams||{},Object.assign(ae,ne),ae[P]=g.formatIso(o.start),ae[k]=g.formatIso(o.end),g.timeZone!=="local"&&(ae[ee]=g.timeZone),ae}const U={daysOfWeek:S.n,startTime:S.d,endTime:S.d,duration:S.d,startRecur:S.n,endRecur:S.n},K=Se({name:"simple-recurring-event",recurringTypes:[{parse(a,o){if(a.daysOfWeek||a.startTime||a.endTime||a.startRecur||a.endRecur){let c={daysOfWeek:a.daysOfWeek||null,startTime:a.startTime||null,endTime:a.endTime||null,startRecur:a.startRecur?o.createMarker(a.startRecur):null,endRecur:a.endRecur?o.createMarker(a.endRecur):null,dateEnv:o},g;return a.duration&&(g=a.duration),!g&&a.startTime&&a.endTime&&(g=(0,S.s)(a.endTime,a.startTime)),{allDayGuess:!a.startTime&&!a.endTime,duration:g,typeData:c}}return null},expand(a,o,c){let g=(0,S.o)(o,{start:a.startRecur,end:a.endRecur});return g?le(a.daysOfWeek,a.startTime,a.dateEnv,c,g):[]}}],eventRefiners:U});function le(a,o,c,g,D){let P=a?(0,S.f)(a):null,k=(0,S.q)(D.start),ee=D.end,ne=[];for(o&&(o.milliseconds<0?ee=(0,S.t)(ee,1):o.milliseconds>=1e3*60*60*24&&(k=(0,S.t)(k,-1)));k<ee;){let ae;
1(!P||P[k.getUTCDay()])&&(o?ae=g.add(k,o):ae=k,ne.push(g.createMarker(c.toDate(ae)))),k=(0,S.t)(k,1)}return ne}const he=Se({name:"change-handler",optionChangeHandlers:{events(a,o){_e([a],o)},eventSources:_e}});function _e(a,o){let c=(0,S.v)(o.getCurrentData().eventSources);if(c.length===1&&a.length===1&&Array.isArray(c[0]._raw)&&Array.isArray(a[0])){o.dispatch({type:"RESET_RAW_EVENTS",sourceId:c[0].sourceId,rawEvents:a[0]});return}let g=[];for(let D of a){let P=!1;for(let k=0;k<c.length;k+=1)if(c[k]._raw===D){c.splice(k,1),P=!0;break}P||g.push(D)}for(let D of c)o.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:D.sourceId});for(let D of g)o.calendarApi.addEventSource(D)}function De(a,o){o.emitter.trigger("datesSet",Object.assign(Object.assign({},(0,S.l)(a.activeRange,o.dateEnv)),{view:o.viewApi}))}function Me(a,o){let{emitter:c}=o;c.hasHandlers("eventsSet")&&c.trigger("eventsSet",(0,S.w)(a,o))}const v=[X,m,V,K,he,Se({name:"misc",isLoadingFuncs:[a=>F(a.eventSources)],propSetHandlers:{dateProfile:De,eventStore:Me}})];class C{constructor(o,c){this.runTaskOption=o,this.drainedOption=c,this.queue=[],this.delayedRunner=new S.D(this.drain.bind(this))}request(o,c){this.queue.push(o),this.delayedRunner.request(c)}pause(o){this.delayedRunner.pause(o)}resume(o,c){this.delayedRunner.resume(o,c)}drain(){let{queue:o}=this;for(;o.length;){let c=[],g;for(;g=o.shift();)this.runTask(g),c.push(g);this.drained(c)}}runTask(o){this.runTaskOption&&this.runTaskOption(o)}drained(o){this.drainedOption&&this.drainedOption(o)}}function q(a,o,c){let g;return/^(year|month)$/.test(a.currentRangeUnit)?g=a.currentRange:g=a.activeRange,c.formatRange(g.start,g.end,(0,S.x)(o.titleFormat||J(a)),{isEndExclusive:a.isRangeAllDay,defaultSeparator:o.titleRangeSeparator})}function J(a){let{currentRangeUnit:o}=a;if(o==="year")return{year:"numeric"};if(o==="month")return{year:"numeric",month:"long"};let c=(0,S.y)(a.currentRange.start,a.currentRange.end);return c!==null&&c>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}class ve{constructor(){this.resetListeners=new Set}handleInput(o,c){const g=this.dateEnv;if(o!==g&&(typeof c=="function"?this.nowFn=c:g||(this.nowAnchorDate=o.toDate(c?o.createMarker(c):o.createNowMarker()),this.nowAnchorQueried=Date.now()),this.dateEnv=o,g))for(const D of this.resetListeners.values())D()}getDateMarker(){return this.nowAnchorDate?this.dateEnv.timestampToMarker(this.nowAnchorDate.valueOf()+(Date.now()-this.nowAnchorQueried)):this.dateEnv.createMarker(this.nowFn())}addResetListener(o){this.resetListeners.add(o)}removeResetListener(o){this.resetListeners.delete(o)}}class ue{constructor(o){this.computeCurrentViewData=(0,S.z)(this._computeCurrentViewData),this.organizeRawLocales=(0,S.z)(rt),this.buildLocale=(0,S.z)(it),this.buildPluginHooks=Ye(),this.buildDateEnv=(0,S.z)(Ie),this.buildTheme=(0,S.z)(at),this.parseToolbars=(0,S.z)(T),this.buildViewSpecs=(0,S.z)(qe),this.buildDateProfileGenerator=(0,S.A)(w),this.buildViewApi=(0,S.z)(xt),this.buildViewUiProps=(0,S.A)(yn),this.buildEventUiBySource=(0,S.z)(jt,S.E),this.buildEventUiBases=(0,S.z)(vn),this.parseContextBusinessHours=(0,S.A)(bn),this.buildTitle=(0,S.z)(q),this.nowManager=new ve,this.emitter=new S.F,this.actionRunner=new C(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=Ce=>{this.actionRunner.request(Ce)},this.props=o,this.actionRunner.pause(),this.nowManager=new ve;let c={},g=this.computeOptionsData(o.optionOverrides,c,o.calendarApi),D=g.calendarOptions.initialView||g.pluginHooks.initialView,P=this.computeCurrentViewData(D,g,o.optionOverrides,c);o.calendarApi.currentDataManager=this,this.emitter.setThisContext(o.calendarApi),this.emitter.setOptions(P.options);let k={nowManager:this.nowManager,dateEnv:g.dateEnv,options:g.calendarOptions,pluginHooks:g.pluginHooks,calendarApi:o.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},ee=Xe(g.calendarOptions,g.dateEnv,this.nowManager),ne=P.dateProfileGenerator.build(ee);(0,S.G)(ne.activeRange,ee)||(ee=ne.currentRange.start);for(let Ce of g.pluginHooks.contextInit)Ce(k);let ae=Z(g.calendarOptions,ne,k),be={dynamicOptionOverrides:c,currentViewType:D,currentDate:ee,dateProfile:ne,businessHours:this.parseContextBusinessHours(k),eventSources:ae,eventUiBases:{},eventStore:(0,S.H)(),renderableEventStore:(0,S.H)(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(k).selectionConfig},Te=Object.assign(Object.assign({},k),be);for(let Ce of g.pluginHooks.reducers)Object.assign(be,Ce(null,null,Te));Ot(be,k)&&this.emitter.trigger("loading",!0),this.state=be,this.updateData(),this.actionRunner.resume()}resetOptions(o,c){let{props:g}=this;c===void 0?g.optionOverrides=o:(g.optionOverrides=Object.assign(Object.assign({},g.optionOverrides||{}),o),this.optionsForRefining.push(...c)),(c===void 0||c.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(o){let{props:c,state:g,emitter:D}=this,P=G(g.dynamicOptionOverrides,o),k=this.computeOptionsData(c.optionOverrides,P,c.calendarApi),ee=ot(g.currentViewType,o),ne=this.computeCurrentViewData(ee,k,c.optionOverrides,P);c.calendarApi.currentDataManager=this,D.setThisContext(c.calendarApi),D.setOptions(ne.options);let ae={nowManager:this.nowManager,dateEnv:k.dateEnv,options:k.calendarOptions,pluginHooks:k.pluginHooks,calendarApi:c.calendarApi,dispatch:this.dispatch,emitter:D,getCurrentData:this.getCurrentData},{currentDate:be,dateProfile:Te}=g;this.data&&this.data.dateProfileGenerator!==ne.dateProfileGenerator&&(Te=ne.dateProfileGenerator.build(be)),be=Le(be,o),Te=Y(Te,o,be,ne.dateProfileGenerator),(o.type==="PREV"||o.type==="NEXT"||!(0,S.G)(Te.currentRange,be))&&(be=Te.currentRange.start);let Ce=ye(g.eventSources,o,Te,ae),me=(0,S.I)(g.eventStore,o,Ce,Te,ae),Mt=F(Ce)&&!ne.options.progressiveEventRendering&&g.renderableEventStore||me,{eventUiSingleBase:Ve,selectionConfig:Ne}=this.buildViewUiProps(ae),yt=this.buildEventUiBySource(Ce),At=this.buildEventUiBases(Mt.defs,Ve,yt),wt={dynamicOptionOverrides:P,currentViewType:ee,currentDate:be,dateProfile:Te,eventSources:Ce,eventStore:me,renderableEventStore:Mt,selectionConfig:Ne,eventUiBases:At,businessHours:this.parseContextBusinessHours(ae),dateSelection:ie(g.dateSelection,o),eventSelection:fe(g.eventSelection,o),eventDrag:W(g.eventDrag,o),eventResize:ce(g.eventResize,o)},Ue=Object.assign(Object.assign({},ae),wt);for(let ft of k.pluginHooks.reducers)Object.assign(wt,ft(g,o,Ue));let Dt=Ot(g,ae),Tt=Ot(wt,ae);!Dt&&Tt?D.trigger("loading",!0):Dt&&!Tt&&D.trigger("loading",!1),this.state=wt,c.onAction&&c.onAction(o)}updateData(){let{props:o,state:c}=this,g=this.data,D=this.computeOptionsData(o.optionOverrides,c.dynamicOptionOverrides,o.calendarApi),P=this.computeCurrentViewData(c.currentViewType,D,o.optionOverrides,c.dynamicOptionOverrides),k=this.data=Object.assign(Object.assign(Object.assign({nowManager:this.nowManager,viewTitle:this.buildTitle(c.dateProfile,P.options,D.dateEnv),calendarApi:o.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},D),P),c),ee=D.pluginHooks.optionChangeHandlers,ne=g&&g.calendarOptions,ae=D.calendarOptions;if(ne&&ne!==ae){ne.timeZone!==ae.timeZone&&(c.eventSources=k.eventSources=Be(k.eventSources,c.dateProfile,k),c.eventStore=k.eventStore=(0,S.J)(k.eventStore,g.dateEnv,k.dateEnv),c.renderableEventStore=k.renderableEventStore=(0,S.J)(k.renderableEventStore,g.dateEnv,k.dateEnv));for(let be in ee)(this.optionsForHandling.indexOf(be)!==-1||ne[be]!==ae[be])&&ee[be](ae[be],k)}this.optionsForHandling=[],o.onData&&o.onData(k)}computeOptionsData(o,c,g){if(!this.optionsForRefining.length&&o===this.stableOptionOverrides&&c===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:D,pluginHooks:P,localeDefaults:k,availableLocaleData:ee,extra:ne}=this.processRawCalendarOptions(o,c);Yt(ne);let ae=this.buildDateEnv(D.timeZone,D.locale,D.weekNumberCalculation,D.firstDay,D.weekText,P,ee,D.defaultRangeSeparator),be=this.buildViewSpecs(P.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,k),Te=this.buildTheme(D,P),Ce=this.parseToolbars(D,this.stableOptionOverrides,Te,be,g);return this.stableCalendarOptionsData={calendarOptions:D,pluginHooks:P,dateEnv:ae,viewSpecs:be,theme:Te,toolbarConfig:Ce,localeDefaults:k,availableRawLocales:ee.map}}processRawCalendarOptions(o,c){let{locales:g,locale:D}=(0,S.K)([S.e,o,c]),P=this.organizeRawLocales(g),k=P.map,ee=this.buildLocale(D||P.defaultCode,k).options,ne=this.buildPluginHooks(o.plugins||[],v),ae=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S.L),S.M),S.N),ne.listenerRefiners),ne.optionRefiners),be={},Te=(0,S.K)([S.e,ee,o,c]),Ce={},me=this.currentCalendarOptionsInput,lt=this.currentCalendarOptionsRefined,Mt=!1;for(let Ve in Te)this.optionsForRefining.indexOf(Ve)===-1&&(Te[Ve]===me[Ve]||S.O[Ve]&&Ve in me&&S.O[Ve](me[Ve],Te[Ve]))?Ce[Ve]=lt[Ve]:ae[Ve]?(Ce[Ve]=ae[Ve](Te[Ve]),Mt=!0):be[Ve]=me[Ve];return Mt&&(this.currentCalendarOptionsInput=Te,this.currentCalendarOptionsRefined=Ce,this.stableOptionOverrides=o,this.stableDynamicOptionOverrides=c),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:ne,availableLocaleData:P,localeDefaults:ee,extra:be}}_computeCurrentViewData(o,c,g,D){let P=c.viewSpecs[o];if(!P)throw new Error(`viewType "${o}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:k,extra:ee}=this.processRawViewOptions(P,c.pluginHooks,c.localeDefaults,g,D);Yt(ee),this.nowManager.handleInput(c.dateEnv,k.now);let ne=this.buildDateProfileGenerator({dateProfileGeneratorClass:P.optionDefaults.dateProfileGeneratorClass,nowManager:this.nowManager,duration:P.duration,durationUnit:P.durationUnit,usesMinMaxTime:P.optionDefaults.usesMinMaxTime,dateEnv:c.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:k.slotMinTime,slotMaxTime:k.slotMaxTime,showNonCurrentDates:k.showNonCurrentDates,dayCount:k.dayCount,dateAlignment:k.dateAlignment,dateIncrement:k.dateIncrement,hiddenDays:k.hiddenDays,weekends:k.weekends,validRangeInput:k.validRange,visibleRangeInput:k.visibleRange,fixedWeekCount:k.fixedWeekCount}),ae=this.buildViewApi(o,this.getCurrentData,c.dateEnv);return{viewSpec:P,options:k,dateProfileGenerator:ne,viewApi:ae}}processRawViewOptions(o,c,g,D,P){let k=(0,S.K)([S.e,o.optionDefaults,g,D,o.optionOverrides,P]),ee=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S.L),S.M),S.N),S.P),c.listenerRefiners),c.optionRefiners),ne={},ae=this.currentViewOptionsInput,be=this.currentViewOptionsRefined,Te=!1,Ce={};for(let me in k)k[me]===ae[me]||S.O[me]&&S.O[me](k[me],ae[me])?ne[me]=be[me]:(k[me]===this.currentCalendarOptionsInput[me]||S.O[me]&&S.O[me](k[me],this.currentCalendarOptionsInput[me])?me in this.currentCalendarOptionsRefined&&(ne[me]=this.currentCalendarOptionsRefined[me]):ee[me]?ne[me]=ee[me](k[me]):Ce[me]=k[me],Te=!0);return Te&&(this.currentViewOptionsInput=k,this.currentViewOptionsRefined=ne),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:Ce}}}function Ie(a,o,c,g,D,P,k,ee){let ne=it(o||k.defaultCode,k.map);return new S.Q({calendarSystem:"gregory",timeZone:a,namedTimeZoneImpl:P.namedTimeZonedImpl,locale:ne,weekNumberCalculation:c,firstDay:g,weekText:D,cmdFormatter:P.cmdFormatter,defaultSeparator:ee})}function at(a,o){let c=o.themeClasses[a.themeSystem]||de;return new c(a)}function w(a){let o=a.dateProfileGeneratorClass||S.R;return new o(a)}function xt(a,o,c){return new te(a,o,c)}function jt(a){return(0,S.a)(a,o=>o.ui)}function vn(a,o,c){let g={"":o};for(let D in a){let P=a[D];
1P.sourceId&&c[P.sourceId]&&(g[D]=c[P.sourceId])}return g}function yn(a){let{options:o}=a;return{eventUiSingleBase:(0,S.S)({display:o.eventDisplay,editable:o.editable,startEditable:o.eventStartEditable,durationEditable:o.eventDurationEditable,constraint:o.eventConstraint,overlap:typeof o.eventOverlap=="boolean"?o.eventOverlap:void 0,allow:o.eventAllow,backgroundColor:o.eventBackgroundColor,borderColor:o.eventBorderColor,textColor:o.eventTextColor,color:o.eventColor},a),selectionConfig:(0,S.S)({constraint:o.selectConstraint,overlap:typeof o.selectOverlap=="boolean"?o.selectOverlap:void 0,allow:o.selectAllow},a)}}function Ot(a,o){for(let c of o.pluginHooks.isLoadingFuncs)if(c(a))return!0;return!1}function bn(a){return(0,S.U)(a.options.businessHours,a)}function Yt(a,o){for(let c in a)console.warn(`Unknown option '${c}'`+(o?` for view '${o}'`:""))}class en extends S.B{render(){let o=this.props.widgetGroups.map(c=>this.renderWidgetGroup(c));return(0,Ee.n)("div",{className:"fc-toolbar-chunk"},...o)}renderWidgetGroup(o){let{props:c}=this,{theme:g}=this.context,D=[],P=!0;for(let k of o){let{buttonName:ee,buttonClick:ne,buttonText:ae,buttonIcon:be,buttonHint:Te}=k;if(ee==="title")P=!1,D.push((0,Ee.n)("h2",{className:"fc-toolbar-title",id:c.titleId},c.title));else{let Ce=ee===c.activeButton,me=!c.isTodayEnabled&&ee==="today"||!c.isPrevEnabled&&ee==="prev"||!c.isNextEnabled&&ee==="next",lt=[`fc-${ee}-button`,g.getClass("button")];Ce&<.push(g.getClass("buttonActive")),D.push((0,Ee.n)("button",{type:"button",title:typeof Te=="function"?Te(c.navUnit):Te,disabled:me,"aria-pressed":Ce,className:lt.join(" "),onClick:ne},ae||(be?(0,Ee.n)("span",{className:be,role:"img"}):"")))}}if(D.length>1){let k=P&&g.getClass("buttonGroup")||"";return(0,Ee.n)("div",{className:k},...D)}return D[0]}}class Et extends S.B{render(){let{model:o,extraClassName:c}=this.props,g=!1,D,P,k=o.sectionWidgets,ee=k.center;k.left?(g=!0,D=k.left):D=k.start,k.right?(g=!0,P=k.right):P=k.end;let ne=[c||"","fc-toolbar",g?"fc-toolbar-ltr":""];return(0,Ee.n)("div",{className:ne.join(" ")},this.renderSection("start",D||[]),this.renderSection("center",ee||[]),this.renderSection("end",P||[]))}renderSection(o,c){let{props:g}=this;return(0,Ee.n)(en,{key:o,widgetGroups:c,title:g.title,navUnit:g.navUnit,activeButton:g.activeButton,isTodayEnabled:g.isTodayEnabled,isPrevEnabled:g.isPrevEnabled,isNextEnabled:g.isNextEnabled,titleId:g.titleId})}}class pt extends S.B{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=o=>{this.el=o,(0,S.W)(this.props.elRef,o),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:o,state:c}=this,{aspectRatio:g}=o,D=["fc-view-harness",g||o.liquid||o.height?"fc-view-harness-active":"fc-view-harness-passive"],P="",k="";return g?c.availableWidth!==null?P=c.availableWidth/g:k=`${1/g*100}%`:P=o.height||"",(0,Ee.n)("div",{"aria-labelledby":o.labeledById,ref:this.handleEl,className:D.join(" "),style:{height:P,paddingBottom:k}},o.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 tn extends S.X{constructor(o){super(o),this.handleSegClick=(c,g)=>{let{component:D}=this,{context:P}=D,k=(0,S.Y)(g);if(k&&D.isValidSegDownEl(c.target)){let ee=(0,S.Z)(c.target,".fc-event-forced-url"),ne=ee?ee.querySelector("a[href]").href:"";P.emitter.trigger("eventClick",{el:g,event:new S._(D.context,k.eventRange.def,k.eventRange.instance),jsEvent:c,view:P.viewApi}),ne&&!c.defaultPrevented&&(window.location.href=ne)}},this.destroy=(0,S.$)(o.el,"click",".fc-event",this.handleSegClick)}}class _t extends S.X{constructor(o){super(o),this.handleEventElRemove=c=>{c===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(c,g)=>{(0,S.Y)(g)&&(this.currentSegEl=g,this.triggerEvent("eventMouseEnter",c,g))},this.handleSegLeave=(c,g)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",c,g))},this.removeHoverListeners=(0,S.a0)(o.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}
1triggerEvent(o,c,g){let{component:D}=this,{context:P}=D,k=(0,S.Y)(g);(!c||D.isValidSegDownEl(c.target))&&P.emitter.trigger(o,{el:g,event:new S._(P,k.eventRange.def,k.eventRange.instance),jsEvent:c,view:P.viewApi})}}class nn extends S.a1{constructor(){super(...arguments),this.buildViewContext=(0,S.z)(S.a2),this.buildViewPropTransformers=(0,S.z)(En),this.buildToolbarProps=(0,S.z)(Qt),this.headerRef=(0,Ee._3)(),this.footerRef=(0,Ee._3)(),this.interactionsStore={},this.state={viewLabelId:(0,S.a3)()},this.registerInteractiveComponent=(o,c)=>{let g=(0,S.a4)(o,c),k=[tn,_t].concat(this.props.pluginHooks.componentInteractions).map(ee=>new ee(g));this.interactionsStore[o.uid]=k,S.a5[o.uid]=g},this.unregisterInteractiveComponent=o=>{let c=this.interactionsStore[o.uid];if(c){for(let g of c)g.destroy();delete this.interactionsStore[o.uid]}delete S.a5[o.uid]},this.resizeRunner=new S.D(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=o=>{let{options:c}=this.props;c.handleWindowResize&&o.target===window&&this.resizeRunner.request(c.windowResizeDelay)}}render(){let{props:o}=this,{toolbarConfig:c,options:g}=o,D=!1,P="",k;o.isHeightAuto||o.forPrint?P="":g.height!=null?D=!0:g.contentHeight!=null?P=g.contentHeight:k=Math.max(g.aspectRatio,.5);let ee=this.buildViewContext(o.viewSpec,o.viewApi,o.options,o.dateProfileGenerator,o.dateEnv,o.nowManager,o.theme,o.pluginHooks,o.dispatch,o.getCurrentData,o.emitter,o.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),ne=c.header&&c.header.hasTitle?this.state.viewLabelId:void 0;return(0,Ee.n)(S.V.Provider,{value:ee},(0,Ee.n)(S.a6,{unit:"day"},ae=>{let be=this.buildToolbarProps(o.viewSpec,o.dateProfile,o.dateProfileGenerator,o.currentDate,ae,o.viewTitle);return(0,Ee.n)(Ee.FK,null,c.header&&(0,Ee.n)(Et,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:c.header,titleId:ne},be)),(0,Ee.n)(pt,{liquid:D,height:P,aspectRatio:k,labeledById:ne},this.renderView(o),this.buildAppendContent()),c.footer&&(0,Ee.n)(Et,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:c.footer,titleId:""},be)))}))}componentDidMount(){let{props:o}=this;this.calendarInteractions=o.pluginHooks.calendarInteractions.map(g=>new g(o)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:c}=o.pluginHooks;for(let g in c)c[g](o[g],o)}componentDidUpdate(o){let{props:c}=this,{propSetHandlers:g}=c.pluginHooks;for(let D in g)c[D]!==o[D]&&g[D](c[D],c)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let o of this.calendarInteractions)o.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:o}=this,c=o.pluginHooks.viewContainerAppends.map(g=>g(o));return(0,Ee.n)(Ee.FK,{},...c)}renderView(o){let{pluginHooks:c}=o,{viewSpec:g}=o,D={dateProfile:o.dateProfile,businessHours:o.businessHours,eventStore:o.renderableEventStore,eventUiBases:o.eventUiBases,dateSelection:o.dateSelection,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,isHeightAuto:o.isHeightAuto,forPrint:o.forPrint},P=this.buildViewPropTransformers(c.viewPropsTransformers);for(let ee of P)Object.assign(D,ee.transform(D,o));let k=g.component;return(0,Ee.n)(k,Object.assign({},D))}}function Qt(a,o,c,g,D,P){let k=c.build(D,void 0,!1),ee=c.buildPrev(o,g,!1),ne=c.buildNext(o,g,!1);return{title:P,activeButton:a.type,navUnit:a.singleUnit,isTodayEnabled:k.isValid&&!(0,S.G)(o.currentRange,D),isPrevEnabled:ee.isValid,isNextEnabled:ne.isValid}}function En(a){return a.map(o=>new o)}class An extends S.a7{constructor(o,c={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=g=>{switch(g.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=g=>{this.currentData=g,this.renderRunner.request(g.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:g}=this;(0,S.a8)(()=>{(0,Ee.XX)((0,Ee.n)(S.a9,{options:g.calendarOptions,theme:g.theme,emitter:g.emitter},(D,P,k,ee)=>(this.setClassNames(D),this.setHeight(P),(0,Ee.n)(S.aa.Provider,{value:this.customContentRenderId},(0,Ee.n)(nn,Object.assign({isHeightAuto:k,forPrint:ee},g))))),this.el)})}else this.isRendered&&(this.isRendered=!1,(0,Ee.XX)(null,this.el),this.setClassNames([]),this.setHeight(""))},(0,S.ab)(o),this.el=o,this.renderRunner=new S.D(this.handleRenderRequest),new ue({optionOverrides:c,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let o=this.isRendering;o?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),o&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){(0,S.a8)(()=>{super.updateSize()})}batchRendering(o){this.renderRunner.pause("batchRendering"),o(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(o,c){this.currentDataManager.resetOptions(o,c)}setClassNames(o){if(!(0,S.i)(o,this.currentClassNames)){let{classList:c}=this.el;
1for(let g of this.currentClassNames)c.remove(g);for(let g of o)c.add(g);this.currentClassNames=o}}setHeight(o){(0,S.ac)(this.el,"height",o)}}function rn(a,o={}){let c=qt(o),g=A(o),D=c.createMarkerMeta(a);return D?c.format(D.marker,g,{forcedTzo:D.forcedTzo}):""}function nt(a,o,c){let g=qt(typeof c=="object"&&c?c:{}),D=A(c),P=g.createMarkerMeta(a),k=g.createMarkerMeta(o);return!P||!k?"":g.formatRange(P.marker,k.marker,D,{forcedStartTzo:P.forcedTzo,forcedEndTzo:k.forcedTzo,isEndExclusive:c.isEndExclusive,defaultSeparator:H.defaultRangeSeparator})}function qt(a){let o=it(a.locale||"en",rt([]).map);return new Oe(Object.assign(Object.assign({timeZone:H.timeZone,calendarSystem:"gregory"},a),{locale:o}))}function ei(a,o){return we(a.eventStore,a.eventUiBases,a.dateProfile.activeRange,o?a.nextDayThreshold:null).fg}const ti="6.1.20"}),29174:(function(Rt,ct,ke){ke.d(ct,{$:function(){return qe},A:function(){return qt},B:function(){return ht},C:function(){return St},D:function(){return gt},E:function(){return kt},F:function(){return Dr},G:function(){return zt},H:function(){return Nt},I:function(){return Wi},J:function(){return qi},K:function(){return ii},L:function(){return Dt},M:function(){return ft},N:function(){return ni},O:function(){return ir},P:function(){return ri},Q:function(){return mi},R:function(){return Mi},S:function(){return Hn},T:function(){return $t},U:function(){return es},V:function(){return Pt},W:function(){return It},X:function(){return Cs},Y:function(){return os},Z:function(){return Se},_:function(){return mt},a:function(){return Ut},a0:function(){return $e},a1:function(){return Lt},a2:function(){return bi},a3:function(){return je},a4:function(){return xs},a5:function(){return Rs},a6:function(){return Un},a7:function(){return Is},a8:function(){return Tn},a9:function(){return Ss},aC:function(){return Hr},aD:function(){return Ns},aE:function(){return Os},aF:function(){return Hs},aG:function(){return Ps},aM:function(){return He},aN:function(){return de},aP:function(){return Pe},aT:function(){return pr},aW:function(){return Ls},aX:function(){return hn},aY:function(){return Fn},a_:function(){return Pr},aa:function(){return lr},ab:function(){return Ee},ac:function(){return st},ad:function(){return Bn},ap:function(){return ye},aq:function(){return Be},ar:function(){return F},as:function(){return f},at:function(){return L},au:function(){return Z},av:function(){return Y},ax:function(){return Ri},ay:function(){return Kt},b:function(){return cr},b0:function(){return tt},b1:function(){return Ys},b3:function(){return jr},b4:function(){return Br},b7:function(){return ln},b8:function(){return qs},b9:function(){return Gn},bA:function(){return Yn},bB:function(){return $n},bC:function(){return Ks},bD:function(){return qn},bE:function(){return ks},bF:function(){return eo},bG:function(){return to},bI:function(){return ao},bM:function(){return co},bN:function(){return ss},bO:function(){return Rr},bP:function(){return as},bQ:function(){return fs},bR:function(){return gs},bS:function(){return Mr},bT:function(){return uo},bU:function(){return fo},bV:function(){return Sr},bX:function(){return ho},bY:function(){return go},bZ:function(){return Qr},ba:function(){return Zs},bb:function(){return $s},bc:function(){return Ur},bd:function(){return ys},be:function(){return Me},bf:function(){return _e},bg:function(){return v},bj:function(){return C},bm:function(){return X},bn:function(){return te},bq:function(){return I},br:function(){return U},bs:function(){return An},bt:function(){return Qt},bu:function(){return nn},bv:function(){return En},by:function(){return Xs},bz:function(){return Qn},c:function(){return Q},c8:function(){return ko},c9:function(){return Mo},ca:function(){return Ro},cb:function(){return Gr},cd:function(){return Kn},cg:function(){return qr},ch:function(){return Oo},ci:function(){return Zr},cj:function(){return $r},ck:function(){return Jn},cl:function(){return jo},cm:function(){return Lo},cn:function(){return Uo},co:function(){return Wo},cp:function(){return Kr},cq:function(){return Ti},cr:function(){return _r},ct:function(){return S},d:function(){return W},e:function(){return Tt},f:function(){return si}
1,g:function(){return G},h:function(){return Zt},i:function(){return le},j:function(){return br},k:function(){return b},l:function(){return As},m:function(){return wn},n:function(){return O},o:function(){return Xt},p:function(){return yr},q:function(){return w},r:function(){return _s},s:function(){return pe},t:function(){return De},u:function(){return Ds},v:function(){return Dn},w:function(){return Ln},x:function(){return Ue},y:function(){return at},z:function(){return nt}});var A=ke(50172),H=ke(17402);const Oe=[],we=new Map;function S(t){Oe.push(t),we.forEach(e=>{Ge(e,t)})}function Ee(t){t.isConnected&&t.getRootNode&&We(t.getRootNode())}function We(t){let e=we.get(t);if(!e||!e.isConnected){if(e=t.querySelector("style[data-fullcalendar]"),!e){e=document.createElement("style"),e.setAttribute("data-fullcalendar","");const n=rt();n&&(e.nonce=n);const r=t===document?document.head:t,i=t===document?r.querySelector("script,link[rel=stylesheet],link[as=style],style"):r.firstChild;r.insertBefore(e,i)}we.set(t,e),Je(e)}}function Je(t){for(const e of Oe)Ge(t,e)}function Ge(t,e){const{sheet:n}=t,r=n.cssRules.length;e.split("}").forEach((i,s)=>{i=i.trim(),i&&n.insertRule(i+"}",r+s)})}let ze;function rt(){return ze===void 0&&(ze=it()),ze}function it(){const t=document.querySelector('meta[name="csp-nonce"]');if(t&&t.hasAttribute("content"))return t.getAttribute("content");const e=document.querySelector("script[nonce]");return e&&e.nonce||""}typeof document<"u"&&We(document);var Fe=
vendor: 7,144 bytes, line 1
1':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{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{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}
vendor: 7,158 bytes, line 1
1.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)}';
1S(Fe);class gt{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()}}function He(t){t.parentNode&&t.parentNode.removeChild(t)}function Se(t,e){if(t.closest)return t.closest(e);if(!document.documentElement.contains(t))return null;do{if(j(t,e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1);return null}function j(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector).call(t,e)}function Ye(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}function et(t,e){let n=t instanceof HTMLElement?[t]:t,r=[];for(let i=0;i<n.length;i+=1){let s=n[i].children;for(let l=0;l<s.length;l+=1){let p=s[l];(!e||j(p,e))&&r.push(p)}}return r}const ut=/(top|left|right|bottom|width|height)$/i;function de(t,e){for(let n in e)st(t,n,e[n])}function st(t,e,n){n==null?t.style[e]="":typeof n=="number"&&ut.test(e)?t.style[e]=`${n}px`:t.style[e]=n}function Pe(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}let Qe=0;function je(){return Qe+=1,"fc-dom-"+Qe}function Ze(t){t.preventDefault()}function vt(t,e){return n=>{let r=Se(n.target,t);r&&e.call(r,n,r)}}function qe(t,e,n,r){let i=vt(n,r);return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}function $e(t,e,n,r){let i;return qe(t,"mouseover",e,(s,l)=>{if(l!==i){i=l,n(s,l);let p=y=>{i=null,r(y,l),l.removeEventListener("mouseleave",p)};l.addEventListener("mouseleave",p)}})}const dt=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function tt(t,e){let n=r=>{e(r),dt.forEach(i=>
vendor: 6,636 bytes, line 1
1{t.removeEventListener(i,n)})};dt.forEach(r=>{t.addEventListener(r,n)})}function ot(t){return Object.assign({onClick:t},Le(t))}function Le(t){return{tabIndex:0,onKeyDown(e){(e.key==="Enter"||e.key===" ")&&(t(e),e.preventDefault())}}}let Xe=0;function G(){return Xe+=1,String(Xe)}function Y(){document.body.classList.add("fc-not-allowed")}function Z(){document.body.classList.remove("fc-not-allowed")}function ye(t){t.style.userSelect="none",t.style.webkitUserSelect="none",t.addEventListener("selectstart",Ze)}function Be(t){t.style.userSelect="",t.style.webkitUserSelect="",t.removeEventListener("selectstart",Ze)}function F(t){t.addEventListener("contextmenu",Ze)}function f(t){t.removeEventListener("contextmenu",Ze)}function _(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 R(t,e,n){let r,i;for(r=0;r<n.length;r+=1)if(i=$(t,e,n[r]),i)return i;return 0}function $(t,e,n){return n.func?n.func(t,e):u(t[n.field],e[n.field])*(n.order||1)}function u(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 h(t,e){let n=String(t);return"000".substr(0,e-n.length)+n}function b(t,e,n){return typeof t=="function"?t(...e):typeof t=="string"?e.reduce((r,i,s)=>r.replace("$"+s,i||""),t):n}function L(t,e){return t-e}function z(t){return t%1===0}function x(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 ie=["years","months","days","milliseconds"],fe=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function W(t,e){return typeof t=="string"?ce(t):typeof t=="object"&&t?T(t):typeof t=="number"?T({[e||"milliseconds"]:t}):null}function ce(t){let e=fe.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 T(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 ge(t,e){return t.years===e.years&&t.months===e.months&&t.days===e.days&&t.milliseconds===e.milliseconds}function se(t){return!t.years&&!t.months&&!t.milliseconds?t.days:0}function te(t,e){return{years:t.years+e.years,months:t.months+e.months,days:t.days+e.days,milliseconds:t.milliseconds+e.milliseconds}}function pe(t,e){return{years:t.years-e.years,months:t.months-e.months,days:t.days-e.days,milliseconds:t.milliseconds-e.milliseconds}}function X(t,e){return{years:t.years*e,months:t.months*e,days:t.days*e,milliseconds:t.milliseconds*e}}function d(t){return E(t)/365}function m(t){return E(t)/30}function E(t){return I(t)/864e5}function M(t){return I(t)/(1e3*60)}function V(t){return I(t)/1e3}function I(t){return t.years*(365*864e5)+t.months*(30*864e5)+t.days*864e5+t.milliseconds}function U(t,e){let n=null;for(let r=0;r<ie.length;r+=1){let i=ie[r];if(e[i]){let s=t[i]/e[i];if(!z(s)||n!==null&&n!==s)return null;n=s}else if(t[i])return null}return n}function Q(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}}function K(t,e){let n=0,r=0;for(;r<t.length;)t[r]===e?(t.splice(r,1),n+=1):r+=1;return n}function le(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}const he=["sun","mon","tue","wed","thu","fri","sat"];function _e(t,e){let n=Et(t);return n[2]+=e*7,pt(n)}function De(t,e){let n=Et(t);return n[2]+=e,pt(n)}function Me(t,e){let n=Et(t);return n[6]+=e,pt(n)}function v(t,e){return C(t,e)/7}function C(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60*24)}function q(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60)}function J(t,e){return(e.valueOf()-t.valueOf())/(1e3*60)}function ve(t,e){return(e.valueOf()-t.valueOf())/1e3}function ue(t,e){let n=w(t),r=w(e);return{years:0,months:0,days:Math.round(C(n,r)),milliseconds:e.valueOf()-r.valueOf()-(t.valueOf()-n.valueOf())}}function Ie(t,e){let n=at(t,e);return n!==null&&n%7===0?n/7:null}function at(t,e){return _t(t)===_t(e)?Math.round(C(t,e)):null}function w(t){return pt([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()])}function xt(t){return pt([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()])}function jt(t){return pt([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes()])}function vn(t){return pt([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()])}function yn(t,e,n){let r=t.getUTCFullYear(),i=Ot(t,r,e,n);if(i<1)return Ot(t,r-1,e,n);let s=Ot(t,r+1,e,n);return s>=1?Math.min(i,s):i}function Ot(t,e,n,r){let i=pt([e,0,1+bn(e,n,r)]),s=w(t),l=Math.round(C(i,s));return Math.floor(l/7)+1}function bn(t,e,n){let r=7+e-n;return-((7+pt([t,0,r]).getUTCDay()-e)%7)+r-1}function Yt(t){return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()]}function en(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 Et(t){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()]}function pt(t){return t.length===1&&(t=t.concat([0])),new Date(Date.UTC(...t))}function tn(t){return!isNaN(t.valueOf())}function _t(t){return t.getUTCHours()*1e3*60*60+t.getUTCMinutes()*1e3*60+t.getUTCSeconds()*1e3+t.getUTCMilliseconds()}function nn(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",rn(e,!0))
1)),r}function Qt(t){return t.toISOString().replace(/T.*$/,"")}function En(t){return t.toISOString().match(/^\d{4}-\d{2}/)[0]}function An(t){return h(t.getUTCHours(),2)+":"+h(t.getUTCMinutes(),2)+":"+h(t.getUTCSeconds(),2)}function rn(t,e=!1){let n=t<0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),s=Math.round(r%60);return e?`${n+h(i,2)}:${h(s,2)}`:`GMT${n}${i}${s?`:${h(s,2)}`:""}`}function nt(t,e,n){let r,i;return function(...s){if(!r)i=t.apply(this,s);else if(!le(r,s)){n&&n(i);let l=t.apply(this,s);(!e||!e(l,i))&&(i=l)}return r=s,i}}function qt(t,e,n){let r,i;return s=>{if(!r)i=t.call(this,s);else if(!kt(r,s)){n&&n(i);let l=t.call(this,s);(!e||!e(l,i))&&(i=l)}return r=s,i}}function ei(t,e,n){let r=[],i=[];return s=>{let l=r.length,p=s.length,y=0;for(;y<l;y+=1)if(!s[y])n&&n(i[y]);else if(!le(r[y],s[y])){n&&n(i[y]);let N=t.apply(this,s[y]);(!e||!e(N,i[y]))&&(i[y]=N)}for(;y<p;y+=1)i[y]=t.apply(this,s[y]);return r=s,i.splice(p),i}}function ti(t,e,n){let r={},i={};return s=>{let l={};for(let p in s)if(!i[p])l[p]=t.apply(this,s[p]);else if(le(r[p],s[p]))l[p]=i[p];else{n&&n(i[p]);let y=t.apply(this,s[p]);l[p]=e&&e(y,i[p])?i[p]:y}return r=s,i=l,l}}const a={week:3,separator:9,omitZeroMinute:9,meridiem:9,omitCommas:9},o={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},c=/\s*([ap])\.?m\.?/i,g=/,/g,D=/\s+/g,P=/\u200e/g,k=/UTC|GMT/;class ee{constructor(e){let n={},r={},i=9;for(let s in e)s in a?(r[s]=e[s],a[s]<9&&(i=Math.min(a[s],i))):(n[s]=e[s],s in o&&(i=Math.min(o[s],i)));this.standardDateProps=n,this.extendedSettings=r,this.smallestUnitNum=i,this.buildFormattingFunc=nt(ne)}format(e,n){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,n)(e)}formatRange(e,n,r,i){let{standardDateProps:s,extendedSettings:l}=this,p=lt(e.marker,n.marker,r.calendarSystem);if(!p)return this.format(e,r);let y=p;y>1&&(s.year==="numeric"||s.year==="2-digit")&&(s.month==="numeric"||s.month==="2-digit")&&(s.day==="numeric"||s.day==="2-digit")&&(y=1);let N=this.format(e,r),B=this.format(n,r);if(N===B)return N;let oe=Mt(s,y),re=ne(oe,l,r),Ae=re(e),xe=re(n),Re=Ve(N,Ae,B,xe),Ke=l.separator||i||r.defaultSeparator||"";return Re?Re.before+Ae+Ke+xe+Re.after:N+Ke+B}getSmallestUnit(){switch(this.smallestUnitNum){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function ne(t,e,n){let r=Object.keys(t).length;return r===1&&t.timeZoneName==="short"?i=>rn(i.timeZoneOffset):r===0&&e.week?i=>me(n.computeWeekNumber(i.marker),n.weekText,n.weekTextLong,n.locale,e.week):ae(t,e,n)}function ae(t,e,n){t=Object.assign({},t),e=Object.assign({},e),be(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,p;i&&!l.getUTCMinutes()?p=i:p=r;let y=p.format(l);return Te(y,s,t,e,n)}}function be(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 Te(t,e,n,r,i){return t=t.replace(P,""),n.timeZoneName==="short"&&(t=Ce(t,i.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":rn(e.timeZoneOffset))),r.omitCommas&&(t=t.replace(g,"").trim()),r.omitZeroMinute&&(t=t.replace(":00","")),r.meridiem===!1?t=t.replace(c,"").trim():r.meridiem==="narrow"?t=t.replace(c,(s,l)=>l.toLocaleLowerCase()):r.meridiem==="short"?t=t.replace(c,(s,l)=>`${l.toLocaleLowerCase()}m`):r.meridiem==="lowercase"&&(t=t.replace(c,s=>s.toLocaleLowerCase())),t=t.replace(D," "),t=t.trim(),t}function Ce(t,e){let n=!1;return t=t.replace(k,()=>(n=!0,e)),n||(t+=` ${e}`),t}function me(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 lt(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:_t(t)!==_t(e)?1:0}function Mt(t,e){let n={};for(let r in t)(!(r in o)||o[r]<=e)&&(n[r]=t[r]);return n}function Ve(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 p=t.substr(i),y=0;for(;y<n.length;){let N=n.indexOf(r,y);if(N===-1)break;let B=n.substr(0,N);y=N+r.length;let oe=n.substr(y);if(l===B&&p===oe)return{before:l,after:p}}}return null}function Ne(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 yt(t,e,n,r){let i=Ne(t,n.calendarSystem),s=e?Ne(e,n.calendarSystem):null;return{date:i,start:i,end:s,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}class At{constructor(e){this.cmdStr=e}format(e,n,r){return n.cmdFormatter(this.cmdStr,yt(e,null,n,r))}formatRange(e,n,r,i){return r.cmdFormatter(this.cmdStr,yt(e,n,r,i))}}class wt{constructor(e){this.func=e}format(e,n,r){return this.func(yt(e,null,n,r))}formatRange(e,n,r,i){return this.func(yt(e,n,r,i))}}function Ue(t){return typeof t=="object"&&t?new ee(t):typeof t=="string"?new At(t):typeof t=="function"?new wt(t):null}const Dt={navLinkDayClick:O,navLinkWeekClick:O,duration:W,bootstrapFontAwesome:O,buttonIcons:O,customButtons:O,defaultAllDayEventDuration:W,defaultTimedEventDuration:W,nextDayThreshold:W,scrollTime:W,scrollTimeReset:Boolean,slotMinTime:W,slotMaxTime:W,dayPopoverFormat:Ue,slotDuration:W,snapDuration:W,headerToolbar:O,footerToolbar:O,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:Ue,dayHeaderClassNames:O,dayHeaderContent:O,dayHeaderDidMount:O,dayHeaderWillUnmount:O,dayCellClassNames:O,dayCellContent:O,dayCellDidMount:O,dayCellWillUnmount:O,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:O,weekNumbers:Boolean,weekNumberClassNames:O,weekNumberContent:O,weekNumberDidMount:O,weekNumberWillUnmount:O,editable:Boolean,viewClassNames:O,viewDidMount:O,viewWillUnmount:O,nowIndicator:Boolean,nowIndicatorSnap:O,nowIndicatorClassNames:O,nowIndicatorContent:O,nowIndicatorDidMount:O,nowIndicatorWillUnmount:O,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:O,locale:O,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:O,eventOrder:_,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:O,contentHeight:O,direction:String,weekNumberFormat:Ue,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:O,initialDate:O,now:O,eventDataTransform:O,stickyHeaderDates:O,stickyFooterScrollbar:O,viewHeight:O,defaultAllDay:Boolean,eventSourceFailure:O,eventSourceSuccess:O,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:O,eventConstraint:O,eventAllow:O,eventBackgroun
vendor: 12,008 bytes, line 1
1dColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:O,eventContent:O,eventDidMount:O,eventWillUnmount:O,selectConstraint:O,selectOverlap:O,selectAllow:O,droppable:Boolean,unselectCancel:String,slotLabelFormat:O,slotLaneClassNames:O,slotLaneContent:O,slotLaneDidMount:O,slotLaneWillUnmount:O,slotLabelClassNames:O,slotLabelContent:O,slotLabelDidMount:O,slotLabelWillUnmount:O,dayMaxEvents:O,dayMaxEventRows:O,dayMinWidth:Number,slotLabelInterval:W,allDayText:String,allDayClassNames:O,allDayContent:O,allDayDidMount:O,allDayWillUnmount:O,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:Ue,rerenderDelay:Number,moreLinkText:O,moreLinkHint:O,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:O,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:W,hiddenDays:O,fixedWeekCount:Boolean,validRange:O,visibleRange:O,titleFormat:O,eventInteractive:Boolean,noEventsText:String,viewHint:O,navLinkHint:O,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:O,moreLinkClassNames:O,moreLinkContent:O,moreLinkDidMount:O,moreLinkWillUnmount:O,monthStartFormat:Ue,handleCustomRendering:O,customRenderingMetaMap:O,customRenderingReplaces:Boolean},Tt={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" \u2013 ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"},nowIndicatorSnap:"auto"},ft={datesSet:O,eventsSet:O,eventAdd:O,eventChange:O,eventRemove:O,windowResize:O,eventClick:O,eventMouseEnter:O,eventMouseLeave:O,select:O,unselect:O,loading:O,_unmount:O,_beforeprint:O,_afterprint:O,_noEventDrop:O,_noEventResize:O,_resize:O,_scrollRequest:O},ni={buttonText:O,buttonHints:O,views:O,plugins:O,initialEvents:O,events:O,eventSources:O},ir={headerToolbar:Ht,footerToolbar:Ht,buttonText:Ht,buttonHints:Ht,buttonIcons:Ht,dateIncrement:Ht,plugins:sn,events:sn,eventSources:sn,resources:sn};function Ht(t,e){return typeof t=="object"&&typeof e=="object"&&t&&e?kt(t,e):t===e}function sn(t,e){return Array.isArray(t)&&Array.isArray(e)?le(t,e):t===e}const ri={type:String,component:O,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:O,usesMinMaxTime:Boolean,classNames:O,content:O,didMount:O,willUnmount:O};function ii(t){return wn(t,ir)}function on(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 O(t){return t}const{hasOwnProperty:an}=Object.prototype;function wn(t,e){let n={};if(e){for(let r in e)if(e[r]===Ht){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]=wn(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 Zt(t,e){let n={};for(let r in t)e(t[r],r)&&(n[r]=t[r]);return n}function Ut(t,e){let n={};for(let r in t)n[r]=e(t[r],r);return n}function si(t){let e={};for(let n of t)e[n]=!0;return e}function Dn(t){let e=[];for(let n in t)e.push(t[n]);return e}function kt(t,e){if(t===e)return!0;for(let n in t)if(an.call(t,n)&&!(n in e))return!1;for(let n in e)if(an.call(e,n)&&t[n]!==e[n])return!1;return!0}const oi=/^on[A-Z]/;function ai(t,e){const n=li(t,e);for(let r of n)if(!oi.test(r))return!1;return!0}function li(t,e){let n=[];for(let r in t)an.call(t,r)&&(r in e||n.push(r));for(let r in e)an.call(e,r)&&t[r]!==e[r]&&n.push(r);return n}function _n(t,e,n={}){if(t===e)return!0;for(let r in e)if(!(r in t&&ci(t[r],e[r],n[r])))return!1;for(let r in t)if(!(r in e))return!1;return!0}function ci(t,e,n){return t===e||n===!0?!0:n?n(t,e):!1}function ui(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}let sr={};function di(t,e){sr[t]=e}function fi(t){return new sr[t]}class hi{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return pt(e)}markerToArray(e){return Et(e)}}di("gregory",hi);const gi=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function pi(t){let e=gi.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(tn(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 mi{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=fi(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()):pt(Yt(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=pt(e)),n===null||!tn(n)?null:{marker:n,isTimeUnspecified:!1,forcedTzo:null}}parse(e){let n=pi(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)}getDay(e){return this.calendarSystem.getMarkerDay(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 _t(e)===_t(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 _t(e)===_t(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=Ie(e,n),r!==null?{unit:"week",value:r}:(r=at(e,n),r!==null?{unit:"day",value:r}:(r=q(e,n),z(r)?{unit:"hour",value:r}:(r=J(e,n),z(r)?{unit:"minute",value:r}:(r=ve(e,n),z(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/d(r):r.months&&(i=this.diffWholeMonths(e,n),i!==null)?i/m(r):r.days&&(i=at(e,n),i!==null)?i/E(r):(n.valueOf()-e.valueOf())/I(r)}startOf(e,n){return n==="year"?this.startOfYear(e):n==="month"?this.startOfMonth(e):n==="week"?this.startOfWeek(e):n==="day"?w(e):n==="hour"?xt(e):n==="minute"?jt(e):n==="second"?vn(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)):yn(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=Me(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)),nn(e,r,n.omitTime)}timestampToMarker(e){return this.timeZone==="local"?pt(Yt(new Date(e))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(e):pt(this.namedTimeZoneImpl.timestampToArray(e))}offsetForMarker(e){return this.timeZone==="local"?-en(Et(e)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Et(e)):null}toDate(e,n){return this.timeZone==="local"?en(Et(e)):this.timeZone==="UTC"?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-this.namedTimeZoneImpl.offsetForArray(Et(e))*1e3*60):new Date(e.valueOf()-(n||0))}}class $t{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)}`:""}}$t.prototype.classes={},$t.prototype.iconClasses={},$t.prototype.baseIconClass="",$t.prototype.iconOverridePrefix="";function Tn(t){t();let e=A.fF.debounceRendering,n=[];function r(i){n.push(i)}for(A.fF.debounceRendering=r,A.XX(A.n(vi,{}),document.createElement("div"));n.length;)n.shift()();A.fF.debounceRendering=e}class vi extends A.uA{render(){return A.n("div",{})}componentDidMount(){this.setState({})}}function or(t){let e=A.q6(t),n=e.Provider;return e.Provider=function(){let r=!this.getChildContext,i=n.apply(this,arguments);if(r){let s=[];this.shouldComponentUpdate=l=>
1{this.props.value!==l.value&&s.forEach(p=>{p.context=l.value,p.forceUpdate()})},this.sub=l=>{s.push(l);let p=l.componentWillUnmount;l.componentWillUnmount=()=>{s.splice(s.indexOf(l),1),p&&p.call(l)}}}return i},e}class yi{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 Pt=or({});function bi(t,e,n,r,i,s,l,p,y,N,B,oe,re,Ae){return{dateEnv:i,nowManager:s,options:n,pluginHooks:p,emitter:B,dispatch:y,getCurrentData:N,calendarApi:oe,viewSpec:t,viewApi:e,dateProfileGenerator:r,theme:l,isRtl:n.direction==="rtl",addResizeHandler(xe){B.on("_resize",xe)},removeResizeHandler(xe){B.off("_resize",xe)},createScrollResponder(xe){return new yi(xe,B,W(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:re,unregisterInteractiveComponent:Ae}}class Lt extends A.uA{shouldComponentUpdate(e,n){return!_n(this.props,e,this.propEquality)||!_n(this.state,n,this.stateEquality)}safeSetState(e){_n(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}Lt.addPropsEquality=Ei,Lt.addStateEquality=Ai,Lt.contextType=Pt,Lt.prototype.propEquality={},Lt.prototype.stateEquality={};class ht extends Lt{}ht.contextType=Pt;function Ei(t){let e=Object.create(this.prototype.propEquality);Object.assign(e,t),this.prototype.propEquality=e}function Ai(t){let e=Object.create(this.prototype.stateEquality);Object.assign(e,t),this.prototype.stateEquality=e}function It(t,e){typeof t=="function"?t(e):t&&(t.current=e)}class Sn extends ht{constructor(){super(...arguments),this.id=G(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{const{options:n}=this.context,{generatorName:r}=this.props;(!n.customRenderingReplaces||!Cn(r,n))&&this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&It(this.props.elRef,e)}}render(){const{props:e,context:n}=this,{options:r}=n,{customGenerator:i,defaultGenerator:s,renderProps:l}=e,p=ar(e,[],this.handleEl);let y=!1,N,B=[],oe;if(i!=null){const re=typeof i=="function"?i(l,A.n):i;if(re===!0)y=!0;else{const Ae=re&&typeof re=="object";Ae&&"html"in re?p.dangerouslySetInnerHTML={__html:re.html}:Ae&&"domNodes"in re?B=Array.prototype.slice.call(re.domNodes):(Ae?(0,A.zO)(re):typeof re!="function")?N=re:oe=re}}else y=!Cn(e.generatorName,r);return y&&s&&(N=s(l)),this.queuedDomNodes=B,this.currentGeneratorMeta=oe,(0,A.n)(e.elTag,p,N)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var n;const{props:r,context:i}
vendor: 44,853 bytes, line 1
1=this,{handleCustomRendering:s,customRenderingMetaMap:l}=i.options;if(s){const p=(n=this.currentGeneratorMeta)!==null&&n!==void 0?n:l?.[r.generatorName];p&&s(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:p},r),{elClasses:(r.elClasses||[]).filter(wi)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:n}=this,r=this.base;if(!le(e,n)){n.forEach(He);for(let i of e)r.appendChild(i);this.currentDomNodes=e}}}Sn.addPropsEquality({elClasses:le,elStyle:kt,elAttrs:ai,renderProps:kt});function Cn(t,e){var n;return!!(e.handleCustomRendering&&t&&(!((n=e.customRenderingMetaMap)===null||n===void 0)&&n[t]))}function ar(t,e,n){const r=Object.assign(Object.assign({},t.elAttrs),{ref:n});return(t.elClasses||e)&&(r.className=(t.elClasses||[]).concat(e||[]).concat(r.className||[]).filter(Boolean).join(" ")),t.elStyle&&(r.style=t.elStyle),r}function wi(t){return!!t}const lr=or(0);class St extends A.uA{constructor(){super(...arguments),this.InnerContent=Di.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(It(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){const{props:e}=this,n=_i(e.classNameGenerator,e.renderProps);if(e.children){const r=ar(e,n,this.handleEl),i=e.children(this.InnerContent,e.renderProps,r);return e.elTag?(0,A.n)(e.elTag,r,i):i}else return(0,A.n)(Sn,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(n),renderId:this.context}))}componentDidMount(){var e,n;this.el?(n=(e=this.props).didMount)===null||n===void 0||n.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}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.el}))}}St.contextType=lr;function Di(t,e){const n=t.props;return(0,A.n)(Sn,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:t.context},e))}function _i(t,e){const n=typeof t=="function"?t(e):t||[];return typeof n=="string"?[n]:n}class Ti extends ht{render(){let{props:e,context:n}=this,{options:r}=n,i={view:n.viewApi};return(0,A.n)(St,{elRef:e.elRef,elTag:e.elTag||"div",elAttrs:e.elAttrs,elClasses:[...cr(e.viewSpec),...e.elClasses||[]],elStyle:e.elStyle,renderProps:i,classNameGenerator:r.viewClassNames,generatorName:void 0,didMount:r.viewDidMount,willUnmount:r.viewWillUnmount},()=>e.children)}}function cr(t){return[`fc-${t.type}-view`,"fc-view"]}function Si(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 ur(t,e){let n=[],{start:r}=e,i,s;for(t.sort(Ci),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 Ci(t,e){return t.start.valueOf()-e.start.valueOf()}function Xt(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 xi(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 xn(t,e){return(t.end===null||e.start===null||t.end>e.start)&&(t.start===null||e.end===null||t.start<e.end)}function ln(t,e){return(t.start===null||e.start!==null&&e.start>=t.start)&&(t.end===null||e.end!==null&&e.end<=t.end)}function zt(t,e){return(t.start===null||e>=t.start)&&(t.end===null||e<t.end)}function ki(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 dr(t){let e=Math.floor(C(t.start,t.end))||1,n=w(t.start),r=De(n,e);return{start:n,end:r}}function kn(t,e=W(0)){let n=null,r=null;if(t.end){r=w(t.end);let i=t.end.valueOf()-r.valueOf();i&&i>=I(e)&&(r=De(r,1))}return t.start&&(n=w(t.start),r&&r<=n&&(r=De(n,1))),{start:n,end:r}}function Ri(t){let e=kn(t);return C(e.start,e.end)>1}function Kt(t,e,n,r){return r==="year"?W(n.diffWholeYears(t,e),"year"):r==="month"?W(n.diffWholeMonths(t,e),"month"):ue(t,e)}class Mi{constructor(e){this.props=e,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,p,y,N,B;return s=this.buildValidRange(),s=this.trimHiddenDays(s),r&&(e=ki(e,s)),l=this.buildCurrentRangeInfo(e,n),p=/^(year|month|week|day)$/.test(l.unit),y=this.buildRenderRange(this.trimHiddenDays(l.range),l.unit,p),y=this.trimHiddenDays(y),N=y,i.showNonCurrentDates||(N=Xt(N,l.range)),N=this.adjustActiveRange(N),N=Xt(N,s),B=xn(l.range,s),zt(y,e)||(e=y.start),{currentDate:e,validRange:s,currentRange:l.range,currentRangeUnit:l.unit,isRangeAllDay:p,activeRange:N,renderRange:y,slotMinTime:i.slotMinTime,slotMaxTime:i.slotMaxTime,isValid:B,dateIncrement:this.buildDateIncrement(l.duration)}}buildValidRange(){let e=this.props.validRangeInput,n=typeof e=="function"?e.call(this.props.calendarApi,this.props.dateEnv.toDate(this.props.nowManager.getDateMarker())):e;return this.refineRange(n)||{start:null,end:null}}buildCurrentRangeInfo(e,n){let{props:r}=this,i=null,s=null,l=null,p;return r.duration?(i=r.duration,s=r.durationUnit,l=this.buildRangeFromDuration(e,n,i,s)):(p=this.props.dayCount)?(s="day",l=this.buildRangeFromDayCount(e,n,p)):(l=this.buildCustomVisibleRange(e))?s=r.dateEnv.greatestWholeUnit(l.start,l.end).unit:(i=this.getFallbackDuration(),s=Q(i).unit,l=this.buildRangeFromDuration(e,n,i,s)),{duration:i,unit:s,range:l}}getFallbackDuration(){return W({day:1})}adjustActiveRange(e){let{dateEnv:n,usesMinMaxTime:r,slotMinTime:i,slotMaxTime:s}=this.props,{start:l,end:p}=e;return r&&(E(i)<0&&(l=w(l),l=n.add(l,i)),E(s)>1&&(p=w(p),p=De(p,-1),p=n.add(p,s))),{start:l,end:p}}buildRangeFromDuration(e,n,r,i){let{dateEnv:s,dateAlignment:l}=this.props,p,y,N;if(!l){let{dateIncrement:oe}=this.props;oe&&I(oe)<I(r)?l=Q(oe).unit:l=i}E(r)<=1&&this.isHiddenDay(p)&&(p=this.skipHiddenDays(p,n),p=w(p));function B(){p=s.startOf(e,l),y=s.add(p,r),N={start:p,end:y}}return B(),this.trimHiddenDays(N)||(e=this.skipHiddenDays(e,n),B()),N}buildRangeFromDayCount(e,n,r){let{dateEnv:i,dateAlignment:s}=this.props,l=0,p=e,y;s&&(p=i.startOf(p,s)),p=w(p),p=this.skipHiddenDays(p,n),y=p;do y=De(y,1),this.isHiddenDay(y)||(l+=1);while(l<r);return{start:p,end:y}}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)?W(1,r):e||W({days:1}))}refineRange(e){if(e){let n=Si(e,this.props.dateEnv);return n&&(n=kn(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=De(e,n);return e}}function Rn(t,e,n,r){return{instanceId:G(),defId:t,range:e,forcedStartTzo:n??null,forcedEndTzo:r??null}}function Ii(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 Bt(t,e,n){let{dateEnv:r,pluginHooks:i,options:s}=n,{defs:l,instances:p}=t;p=Zt(p,y=>!l[y.defId].recurringDef);for(let y in l){let N=l[y];if(N.recurringDef){let{duration:B}=N.recurringDef;B||(B=N.allDay?s.defaultAllDayEventDuration:s.defaultTimedEventDuration);let oe=Ni(N,B,e,r,i.recurringTypes);for(let re of oe){let Ae=Rn(y,{start:re,end:r.add(re,B)});p[Ae.instanceId]=Ae}}}return{defs:l,instances:p}}function Ni(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(w)),l}const cn={id:String,groupId:String,title:String,url:String,interactive:Boolean},fr={start:O,end:O,date:O,allDay:Boolean},Oi=Object.assign(Object.assign(Object.assign({},cn),fr),{extendedProps:O});function hr(t,e,n,r,i=Mn(n),s,l){let{refined:p,extra:y}=gr(t,n,i),N=Pi(e,n),B=Ii(p,N,n.dateEnv,n.pluginHooks.recurringTypes);if(B){let re=In(p,y,e?e.sourceId:"",B.allDay,!!B.duration,n,s);return re.recurringDef={typeId:B.typeId,typeData:B.typeData,duration:B.duration},{def:re,instance:null}}let oe=Hi(p,N,n,r);if(oe){let re=In(p,y,e?e.sourceId:"",oe.allDay,oe.hasEnd,n,s),Ae=Rn(re.defId,oe.range,oe.forcedStartTzo,oe.forcedEndTzo);return l&&re.publicId&&l[re.publicId]&&(Ae.instanceId=l[re.publicId]),{def:re,instance:Ae}}return null}function gr(t,e,n=Mn(e)){return on(t,n)}function Mn(t){return Object.assign(Object.assign(Object.assign({},dn),Oi),t.pluginHooks.eventRefiners)}function In(t,e,n,r,i,s,l){let p={title:t.title||"",groupId:t.groupId||"",publicId:t.id||"",url:t.url||"",recurringDef:null,defId:(l&&t.id?l[t.id]:"")||G(),sourceId:n,allDay:r,hasEnd:i,interactive:t.interactive,ui:Hn(t,s),extendedProps:Object.assign(Object.assign({},t.extendedProps||{}),e)};for(let y of s.pluginHooks.eventDefMemberAdders)Object.assign(p,y(t));return Object.freeze(p.ui.classNames),Object.freeze(p.extendedProps),p}function Hi(t,e,n,r){let{allDay:i}=t,s,l=null,p=!1,y,N=null,B=t.start!=null?t.start:t.date;if(s=n.dateEnv.createMarkerMeta(B),s)l=s.marker;else if(!r)return null;return t.end!=null&&(y=n.dateEnv.createMarkerMeta(t.end)),i==null&&(e!=null?i=e:i=(!s||s.isTimeUnspecified)&&(!y||y.isTimeUnspecified)),i&&l&&(l=w(l)),y&&(N=y.marker,i&&(N=w(N)),l&&N<=l&&(N=null)),N?p=!0:r||(p=n.options.forceEventDuration||!1,N=n.dateEnv.add(l,i?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:i,hasEnd:p,range:{start:l,end:N},forcedStartTzo:s?s.forcedTzo:null,forcedEndTzo:y?y.forcedTzo:null}}function Pi(t,e){let n=null;return t&&(n=t.defaultAllDay),n==null&&(n=e.options.defaultAllDay),n}function Jt(t,e,n,r,i,s){let l=Nt(),p=Mn(n);for(let y of t){let N=hr(y,e,n,r,p,i,s);N&&Nn(N,l)}return l}function Nn(t,e=Nt()){return e.defs[t.def.defId]=t.def,t.instance&&(e.instances[t.instance.instanceId]=t.instance),e}function pr(t,e){let n=t.instances[e];if(n){let r=t.defs[n.defId],i=un(t,s=>Li(r,s));return i.defs[r.defId]=r,i.instances[n.instanceId]=n,i}return Nt()}function Li(t,e){return!!(t.groupId&&t.groupId===e.groupId)}function Nt(){return{defs:{},instances:{}}}function On(t,e){return{defs:Object.assign(Object.assign({},t.defs),e.defs),instances:Object.assign(Object.assign({},t.instances),e.instances)}}function un(t,e){let n=Zt(t.defs,e),r=Zt(t.instances,i=>n[i.defId]);return{defs:n,instances:r}}function Bi(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 ji(t,e){return Array.isArray(t)?Jt(t,null,e,!0):typeof t=="object"&&t?Jt([t],null,e,!0):t!=null?String(t):null}function mr(t){return Array.isArray(t)?t:typeof t=="string"?t.split(/\s+/):[]}const dn={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:O,overlap:O,allow:O,className:mr,classNames:mr,color:String,backgroundColor:String,borderColor:String,textColor:String},Ui={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Hn(t,e){let n=ji(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 vr(t){return t.reduce(zi,Ui)}function zi(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 Fi={id:String,defaultAllDay:Boolean,url:String,format:String,events:O,eventDataTransform:O,success:O,failure:O};function yr(t,e,n=br(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}=on(r,n),l=Vi(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:G(),sourceDefId:l.sourceDefId,meta:l.meta,ui:Hn(i,e),extendedProps:s}}return null}function br(t){return Object.assign(Object.assign(Object.assign({},dn),Fi),t.pluginHooks.eventSourceRefiners)}function Vi(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}function Wi(t,e,n,r,i){switch(e.type){case"RECEIVE_EVENTS":return Gi(t,n[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,i);case"RESET_RAW_EVENTS":return Yi(t,n[e.sourceId],e.rawEvents,r.activeRange,i);case"ADD_EVENTS":return Qi(t,e.eventStore,r?r.activeRange:null,i);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return On(t,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?Bt(t,r.activeRange,i):t;case"REMOVE_EVENTS":return Bi(t,e.eventStore);case"REMOVE_EVENT_SOURCE":return wr(t,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return un(t,s=>!s.sourceId);case"REMOVE_ALL_EVENTS":return Nt();default:return t}}function Gi(t,e,n,r,i,s){if(e&&n===e.latestFetchId){let l=Jt(Er(i,e,s),e,s);return r&&(l=Bt(l,r,s)),On(wr(t,e.sourceId),l)}return t}function Yi(t,e,n,r,i){const{defIdMap:s,instanceIdMap:l}=$i(t);let p=Jt(Er(n,e,i),e,i,!1,s,l);return Bt(p,r,i)}function Er(t,e,n){let r=n.options.eventDataTransform,i=e?e.eventDataTransform:null;return i&&(t=Ar(t,i)),r&&(t=Ar(t,r)),t}function Ar(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 Qi(t,e,n,r){return n&&(e=Bt(e,n,r)),On(t,e)}function qi(t,e,n){let{defs:r}=t,i=Ut(t.instances,s=>r[s.defId].allDay?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 wr(t,e){return un(t,n=>n.sourceId!==e)}function Zi(t,e){return{defs:t.defs,instances:Zt(t.instances,n=>!e[n.instanceId])}}function $i(t){const{defs:e,instances:n}=t,r={},i={};for(let s in e){const l=e[s],{publicId:p}=l;p&&(r[p]=s)}for(let s in n){const l=n[s],p=e[l.defId],{publicId:y}=p;y&&(i[y]=s)}return{defIdMap:r,instanceIdMap:i}}class Dr{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,n){Xi(this.handlers,e,n)}off(e,n){Ki(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 Xi(t,e,n){(t[e]||(t[e]=[])).push(n)}function Ki(t,e,n){n?t[e]&&(t[e]=t[e].filter(r=>r!==n)):delete t[e]}const Ji={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function es(t,e){return Jt(ts(t),null,e)}function ts(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({},Ji),n)),e}function _r(t,e,n){n.emitter.trigger("select",Object.assign(Object.assign({},Pn(t,n)),{jsEvent:e?e.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function ns(t,e){e.emitter.trigger("unselect",{jsEvent:t?t.origEvent:null,view:e.viewApi||e.calendarApi.view})}function Pn(t,e){let n={};for(let r of e.pluginHooks.dateSpanTransforms)Object.assign(n,r(t,e));return Object.assign(n,Es(t,e.dateEnv)),n}function Tr(t,e,n){let{dateEnv:r,options:i}=n,s=e;return t?(s=w(s),s=r.add(s,i.defaultAllDayEventDuration)):s=r.add(s,i.defaultTimedEventDuration),s}function Sr(t,e,n,r){let i=fn(t.defs,e),s=Nt();for(let l in t.defs){let p=t.defs[l];s.defs[l]=rs(p,i[l],n,r)}for(let l in t.instances){let p=t.instances[l],y=s.defs[p.defId];s.instances[l]=is(p,y,i[p.defId],n,r)}return s}function rs(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 is(t,e,n,r,i){let{dateEnv:s}=i,l=r.standardProps&&r.standardProps.allDay===!0,p=r.standardProps&&r.standardProps.hasEnd===!1,y=Object.assign({},t);return l&&(y.range=dr(y.range)),r.datesDelta&&n.startEditable&&(y.range={start:s.add(y.range.start,r.datesDelta),end:s.add(y.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(y.range={start:s.add(y.range.start,r.startDelta),end:y.range.end}),r.endDelta&&n.durationEditable&&(y.range={start:y.range.start,end:s.add(y.range.end,r.endDelta)}),p&&(y.range={start:y.range.start,end:Tr(e.allDay,y.range.start,i)}),e.allDay&&(y.range={start:w(y.range.start),end:w(y.range.end)}),y.range.end<y.range.start&&(y.range.end=Tr(e.allDay,y.range.start,i)),y}class Ft{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 mt{constructor(e,n,r){this._context=e,this._def=n,this._instance=r||null}setProp(e,n){if(e in fr)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(e==="id")n=cn[e](n),this.mutate({standardProps:{publicId:n}});else if(e in cn)n=cn[e](n),this.mutate({standardProps:{[e]:n}});else if(e in dn){let r=dn[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=Kt(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=Kt(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),p;if(l&&!(n!=null&&(p=i.createMarker(n),!p))&&this._instance){let y=this._instance.range;r.allDay===!0&&(y=dr(y));let N=Kt(y.start,l,i,r.granularity);if(p){let B=Kt(y.end,p,i,r.granularity);ge(N,B)?this.mutate({datesDelta:N,standardProps:s}):this.mutate({startDelta:N,endDelta:B,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:N,standardProps:s})}}moveStart(e){let n=W(e);n&&this.mutate({startDelta:n})}moveEnd(e){let n=W(e);n&&this.mutate({endDelta:n})}moveDates(e){let n=W(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=Ue(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=pr(s,n.instanceId);l=Sr(l,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,i);let y=new mt(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:y,event:this,relatedEvents:Ln(l,i,n),revert(){i.dispatch({type:"RESET_EVENTS",eventStore:s})}})}}remove(){let e=this._context,n=Cr(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 Ft(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={allDay:n.allDay};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 Cr(t){let e=t._def,n=t._instance;return{defs:{[e.defId]:e},instances:n?{[n.instanceId]:n}:{}}}function Ln(t,e,n){let{defs:r,instances:i}=t,s=[],l=n?n.instanceId:"";for(let p in i){let y=i[p],N=r[y.defId];y.instanceId!==l&&s.push(new mt(e,N,y))}return s}function Bn(t,e,n,r){let i={},s={},l={},p=[],y=[],N=fn(t.defs,e);for(let B in t.defs){let oe=t.defs[B];N[oe.defId].display==="inverse-background"&&(oe.groupId?(i[oe.groupId]=[],l[oe.groupId]||(l[oe.groupId]=oe)):s[B]=[])}for(let B in t.instances){let oe=t.instances[B],re=t.defs[oe.defId],Ae=N[re.defId],xe=oe.range,Re=!re.allDay&&r?kn(xe,r):xe,Ke=Xt(Re,n);Ke&&(Ae.display==="inverse-background"?re.groupId?i[re.groupId].push(Ke):s[oe.defId].push(Ke):Ae.display!=="none"&&(Ae.display==="background"?p:y).push({def:re,ui:Ae,instance:oe,range:Ke,isStart:Re.start&&Re.start.valueOf()===Ke.start.valueOf(),isEnd:Re.end&&Re.end.valueOf()===Ke.end.valueOf()}))}for(let B in i){let oe=i[B],re=ur(oe,n);for(let Ae of re){let xe=l[B],Re=N[xe.defId];p.push({def:xe,ui:Re,instance:null,range:Ae,isStart:!1,isEnd:!1})}}for(let B in s){let oe=s[B],re=ur(oe,n);for(let Ae of re)p.push({def:t.defs[B],ui:N[B],instance:null,range:Ae,isStart:!1,isEnd:!1})}return{bg:p,fg:y}}function ss(t){return t.ui.display==="background"||t.ui.display==="inverse-background"}function xr(t,e){t.fcSeg=e}function os(t){return t.fcSeg||t.parentNode.fcSeg||null}function fn(t,e){return Ut(t,n=>kr(n,e))}function kr(t,e){let n=[];return e[""]&&n.push(e[""]),e[t.defId]&&n.push(e[t.defId]),n.push(t.ui),vr(n)}function as(t,e){let n=t.map(ls);return n.sort((r,i)=>R(r,i,e)),n.map(r=>r._seg)}function ls(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 cs(t,e){let{pluginHooks:n}=e,r=n.isDraggableTransformers,{def:i,ui:s}=t.eventRange,l=s.startEditable;for(let p of r)l=p(l,i,s,e);return l}function us(t,e){return t.isStart&&t.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function ds(t,e){return t.isEnd&&t.eventRange.ui.durationEditable}function Rr(t,e,n,r,i,s,l){let{dateEnv:p,options:y}=n,{displayEventTime:N,displayEventEnd:B}=y,oe=t.eventRange.def,re=t.eventRange.instance;N==null&&(N=r!==!1),B==null&&(B=i!==!1);let Ae=re.range.start,xe=re.range.end,Re=s||t.start||t.eventRange.range.start,Ke=l||t.end||t.eventRange.range.end,bt=w(Ae).valueOf()===w(Re).valueOf(),Ct=w(Me(xe,-1)).valueOf()===w(Me(Ke,-1)).valueOf();return N&&!oe.allDay&&(bt||Ct)?(Re=bt?Ae:Re,Ke=Ct?xe:Ke,B&&oe.hasEnd?p.formatRange(Re,Ke,e,{forcedStartTzo:s?null:re.forcedStartTzo,forcedEndTzo:l?null:re.forcedEndTzo}):p.format(Re,e,{forcedTzo:s?null:re.forcedStartTzo})):""}function fs(t,e,n){let r=t.eventRange.range;return{isPast:r.end<=(n||e.start),isFuture:r.start>=(n||e.end),isToday:e&&zt(e,r.start)}}function hs(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 gs(t){return t.instance?t.instance.instanceId:`${t.def.defId}:${t.range.start.toISOString()}`}function Mr(t,e){let{def:n,instance:r}=t.eventRange,{url:i}=n;if(i)return{href:i};let{emitter:s,options:l}=e,{eventInteractive:p}=l;return p==null&&(p=n.interactive,p==null&&(p=!!s.hasHandlers("eventClick"))),p?Le(y=>{s.trigger("eventClick",{el:y.target,event:new mt(e,n,r),jsEvent:y,view:e.viewApi})}):{}}const ps={start:O,end:O,allDay:Boolean};function ms(t,e,n){let r=vs(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 vs(t,e){let{refined:n,extra:r}=on(t,ps),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 ys(t,e){return xi(t.range,e.range)&&t.allDay===e.allDay&&bs(t,e)}function bs(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 Es(t,e){return Object.assign(Object.assign({},Ir(t.range,e,t.allDay)),{allDay:t.allDay})}function As(t,e,n){return Object.assign(Object.assign({},Ir(t,e,n)),{timeZone:e.timeZone})}function Ir(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 ws(t,e,n){let r=gr({editable:!1},n),i=In(r.refined,r.extra,"",t.allDay,!0,n);return{def:i,ui:kr(i,e),instance:Rn(i.defId,t.range),range:t.range,isStart:!0,isEnd:!0}}function Ds(t,e,n){let r=!1,i=function(p){r||(r=!0,e(p))},s=function(p){r||(r=!0,n(p))},l=t(i,s);l&&typeof l.then=="function"&&l.then(i,s)}class Nr extends Error{constructor(e,n){super(e),this.response=n}}function _s(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 Nr("Failure parsing JSON",i)});throw new Nr("Request failed",i)})}let jn;function Or(){return jn==null&&(jn=Ts()),jn}function Ts(){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}class Ss extends ht{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{Tn(()=>{this.setState({forPrint:!0})})},this.handleAfterPrint=()=>{Tn(()=>{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 Or()||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)}}class Cs{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function xs(t,e){return{component:t,el:e.el,useEventCenter:e.useEventCenter!=null?e.useEventCenter:!0,isHitComboAllowed:e.isHitComboAllowed||null}}function ks(t){return{[t.component.uid]:t}}const Rs={};class Un extends A.uA{constructor(e,n){super(e,n),this.handleRefresh=()=>{let r=this.computeTiming();r.state.nowDate.valueOf()!==this.state.nowDate.valueOf()&&this.setState(r.state),this.clearTimeout(),this.setTimeout(r.waitMs)},this.handleVisibilityChange=()=>{document.hidden||this.handleRefresh()},this.state=this.computeTiming().state}render(){let{props:e,state:n}=this;return e.children(n.nowDate,n.todayRange)}componentDidMount(){this.setTimeout(),this.context.nowManager.addResetListener(this.handleRefresh),document.addEventListener("visibilitychange",this.handleVisibilityChange)}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout(),this.context.nowManager.removeResetListener(this.handleRefresh),document.removeEventListener("visibilitychange",this.handleVisibilityChange)}computeTiming(){let{props:e,context:n}=this,r=n.nowManager.getDateMarker(),{nowIndicatorSnap:i}=n.options;i==="auto"&&(i=/year|month|week|day/.test(e.unit)||(e.unitValue||1)===1);let s,l;return i?(s=n.dateEnv.startOf(r,e.unit),l=n.dateEnv.add(s,W(1,e.unit)).valueOf()-r.valueOf()):(s=r,l=1e3*60),l=Math.min(1e3*60*60*24,l),{state:{nowDate:s,todayRange:Ms(s)},waitMs:l}}setTimeout(e=this.computeTiming().waitMs){this.timeoutId=setTimeout(()=>{const n=this.computeTiming();this.setState(n.state,()=>{this.setTimeout(n.waitMs)})},e)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}Un.contextType=Pt;function Ms(t){let e=w(t),n=De(e,1);return{start:e,end:n}}class Is{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 p in n)i.push(p);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:e.nowManager.getDateMarker()})}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=W(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),Ue(n))}formatRange(e,n,r){let{dateEnv:i}=this.getCurrentData();return i.formatRange(i.createMarker(e),i.createMarker(n),Ue(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=ms(r,i.dateEnv,W({days:1}));s&&(this.dispatch({type:"SELECT_DATES",selection:s}),_r(s,null,i))}unselect(e){let n=this.getCurrentData();n.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),ns(e,n))}addEvent(e,n){if(e instanceof mt){let l=e._def,p=e._instance;return this.getCurrentData().eventStore.defs[l.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Nn({def:l,instance:p})}),this.triggerEventAdd(e)),e}let r=this.getCurrentData(),i;if(n instanceof Ft)i=n.internalEventSource;else if(typeof n=="boolean")n&&([i]=Dn(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=hr(e,i,r,!1);if(s){let l=new mt(r,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Nn(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:Cr(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 mt(n,l,null);for(let p in i){let y=i[p];if(y.defId===l.defId)return new mt(n,l,y)}}}return null}getEvents(){let e=this.getCurrentData();return Ln(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 Ft(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 Ft(n,r[i]);return null}addEventSource(e){let n=this.getCurrentData();if(e instanceof Ft)return n.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let r=yr(e,n);return r?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[r]}),new Ft(n,r)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let n=W(e);n&&this.trigger("_scrollRequest",{time:n})}}function Ns(t,e){return t.left>=e.left&&t.left<e.right&&t.top>=e.top&&t.top<e.bottom}function Hr(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 Xo(t,e,n){return{left:t.left+e,right:t.right+e,top:t.top+n,bottom:t.bottom+n}}function Os(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 Hs(t){return{left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}}function Ps(t,e){return{left:t.left-e.left,top:t.top-e.top}}const zn=Nt();class Ls{constructor(){this.getKeysForEventDefs=nt(this._getKeysForEventDefs),this.splitDateSelection=nt(this._splitDateSpan),this.splitEventStore=nt(this._splitEventStore),this.splitIndividualUi=nt(this._splitIndividualUi),this.splitEventDrag=nt(this._splitInteraction),this.splitEventResize=nt(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),p=this.splitEventDrag(e.eventDrag),y=this.splitEventResize(e.eventResize),N={};this.eventUiBuilders=Ut(n,(B,oe)=>this.eventUiBuilders[oe]||nt(Bs));for(let B in n){let oe=n[B],re=l[B]||zn,Ae=this.eventUiBuilders[B];N[B]={businessHours:oe.businessHours||e.businessHours,dateSelection:i[B]||null,eventStore:re,eventUiBases:Ae(e.eventUiBases[""],oe.ui,s[B]),eventSelection:re.instances[e.eventSelection]?e.eventSelection:"",eventDrag:p[B]||null,eventResize:y[B]||null}}return N}_splitDateSpan(e){let n={};if(e){let r=this.getKeysForDateSpan(e);for(let i of r)n[i]=e}return n}_getKeysForEventDefs(e){return Ut(e.defs,n=>this.getKeysForEventDef(n))}_splitEventStore(e,n){let{defs:r,instances:i}=e,s={};for(let l in r)for(let p of n[l])s[p]||(s[p]=Nt()),s[p].defs[l]=r[l];for(let l in i){let p=i[l];for(let y of n[p.defId])s[y]&&(s[y].instances[l]=p)}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=p=>{n[p]||(n[p]={affectedEvents:r[p]||zn,mutatedEvents:s[p]||zn,isEvent:e.isEvent})};for(let p in r)l(p);for(let p in s)l(p)}return n}}function Bs(t,e,n){let r=[];t&&r.push(t),e&&r.push(e);let i={"":vr(r)};return n&&Object.assign(i,n),i}function Fn(t,e,n,r){return{dow:t.getUTCDay(),isDisabled:!!(r&&(!r.activeRange||!zt(r.activeRange,t))),isOther:!!(r&&!zt(r.currentRange,t)),isToday:!!(e&&zt(e,t)),isPast:!!(n?t<n:e&&t<e.start),isFuture:!!(n?t>n:e&&t>=e.end)}}function hn(t,e){let n=["fc-day",`fc-day-${he[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}function Ko(t,e){let n=["fc-slot",`fc-slot-${he[t.dow]}`];return t.isDisabled?n.push("fc-slot-disabled"):(t.isToday&&(n.push("fc-slot-today"),n.push(e.getClass("today"))),t.isPast&&n.push("fc-slot-past"),t.isFuture&&n.push("fc-slot-future")),n}const js=Ue({year:"numeric",month:"long",day:"numeric"}),Us=Ue({week:"long"});function Pr(t,e,n="day",r=!0){const{dateEnv:i,options:s,calendarApi:l}=t;let p=i.format(e,n==="week"?Us:js);if(s.navLinks){let y=i.toDate(e);const N=B=>{let oe=n==="day"?s.navLinkDayClick:n==="week"?s.navLinkWeekClick:null;typeof oe=="function"?oe.call(l,i.toDate(e),B):(typeof oe=="string"&&(n=oe),l.zoomTo(e,n))};return Object.assign({title:b(s.navLinkHint,[p,y],p),"data-navlink":""},r?ot(N):{onClick:N})}return{"aria-label":p}}let Vn=null;function zs(){return Vn===null&&(Vn=Fs()),Vn}function Fs(){let t=document.createElement("div");de(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 He(t),n}let Wn;function Vs(){return Wn||(Wn=Ws()),Wn}function Ws(){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=Lr(t);return document.body.removeChild(t),e}function Lr(t){return{x:t.offsetHeight-t.clientHeight,y:t.offsetWidth-t.clientWidth}}function Gs(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,p=Lr(t),y=p.y-r-i,N=p.x-s-l,B={borderLeft:r,borderRight:i,borderTop:s,borderBottom:l,scrollbarBottom:N,scrollbarLeft:0,scrollbarRight:0};return zs()&&n.direction==="rtl"?B.scrollbarLeft=y:B.scrollbarRight=y,e&&(B.paddingLeft=parseInt(n.paddingLeft,10)||0,B.paddingRight=parseInt(n.paddingRight,10)||0,B.paddingTop=parseInt(n.paddingTop,10)||0,B.paddingBottom=parseInt(n.paddingBottom,10)||0),B}function Ys(t,e=!1,n){let r=n?t.getBoundingClientRect():Br(t),i=Gs(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 Br(t){let e=t.getBoundingClientRect();return{left:e.left+window.scrollX,top:e.top+window.scrollY,right:e.right+window.scrollX,bottom:e.bottom+window.scrollY}}function Qs(t){let e=jr(t),n=t.getBoundingClientRect();for(let r of e){let i=Hr(n,r.getBoundingClientRect());if(i)n=i;else return null}return n}function jr(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}class qs{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]}
1getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return gn(this.tops||[],e.tops||[])&&gn(this.bottoms||[],e.bottoms||[])&&gn(this.lefts||[],e.lefts||[])&&gn(this.rights||[],e.rights||[])}}function gn(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 Gn{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 Zs extends Gn{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 $s extends Gn{getScrollTop(){return window.scrollY}getScrollLeft(){return window.scrollX}setScrollTop(e){window.scroll(window.scrollX,e)}setScrollLeft(e){window.scroll(e,window.scrollY)}getScrollWidth(){return document.documentElement.scrollWidth}getScrollHeight(){return document.documentElement.scrollHeight}getClientHeight(){return document.documentElement.clientHeight}getClientWidth(){return document.documentElement.clientWidth}}class Ur extends ht{constructor(){super(...arguments),this.uid=G()}prepareHits(){}queryHit(e,n,r,i){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!Se(e,".fc-event-mirror")}isValidDateDownEl(e){return!Se(e,".fc-event:not(.fc-bg-event)")&&!Se(e,".fc-more-link")&&!Se(e,"a[data-navlink]")&&!Se(e,".fc-popover")}}class Jo{constructor(e){this.timeZoneName=e}}class Xs{constructor(e=n=>n.thickness||1){this.getEntryThickness=e,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);this.isInsertionValid(r,e)?this.insertEntryAt(e,r):this.handleInvalidInsertion(r,e,n)}isInsertionValid(e,n){return(this.maxCoord===-1||e.levelCoord+this.getEntryThickness(n)<=this.maxCoord)&&(this.maxStackCnt===-1||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,n,r){if(this.allowReslicing&&e.touchingEntry){const i=Object.assign(Object.assign({},n),{span:qn(n.span,e.touchingEntry.span)});r.push(i),this.splitEntry(n,e.touchingEntry,r)}else r.push(n)}splitEntry(e,n,r){let i=e.span,s=n.span;i.start<s.start&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:s.start}},r),i.end>s.end&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:s.end,end:i.end}},r)}insertEntryAt(e,n){let{entriesByLevel:r,levelCoords:i}=this;n.lateral===-1?(Zn(i,n.level,n.levelCoord),Zn(r,n.level,[e])):Zn(r[n.level],n.lateral,e),this.stackCnts[Qn(e)]=n.stackCnt}findInsertion(e){let{levelCoords:n,entriesByLevel:r,strictOrder:i,stackCnts:s}=this,l=n.length,p=0,y=-1,N=-1,B=null,oe=0;for(let xe=0;xe<l;xe+=1){const Re=n[xe];if(!i&&Re>=p+this.getEntryThickness(e))break;let Ke=r[xe],bt,Ct=$n(Ke,e.span.start,Yn),Vt=Ct[0]+Ct[1];for(;(bt=Ke[Vt])&&bt.span.start<e.span.end;){let Wt=Re+this.getEntryThickness(bt);Wt>p&&(p=Wt,B=bt,y=xe,N=Vt),Wt===p&&(oe=Math.max(oe,s[Qn(bt)]+1)),Vt+=1}}let re=0;if(B)for(re=y+1;re<l&&n[re]<p;)re+=1;let Ae=-1;return re<l&&n[re]===p&&(Ae=$n(r[re],e.span.end,Yn)[0]),{touchingLevel:y,touchingLateral:N,touchingEntry:B,stackCnt:oe,levelCoord:p,level:re,lateral:Ae}}toRects(){let{entriesByLevel:e,levelCoords:n}=this,r=e.length,i=[];for(let s=0;s<r;s+=1){let l=e[s],p=n[s];for(let y of l)i.push(Object.assign(Object.assign({},y),{thickness:this.getEntryThickness(y),levelCoord:p}))}return i}}function Yn(t){return t.span.end}function Qn(t){return t.index+":"+t.span.start}function Ks(t){let e=[];for(let n of t){let r=[],i={span:n.span,entries:[n]};for(let s of e)qn(s.span,i.span)?i={entries:s.entries.concat(i.entries),span:Js(s.span,i.span)}:r.push(s);r.push(i),e=r}return e}function Js(t,e){return{start:Math.min(t.start,e.start),end:Math.max(t.end,e.end)}}function qn(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 Zn(t,e,n){t.splice(e,0,n)}function $n(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 eo{constructor(e,n){this.emitter=new Dr}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}const to={},no=null;function ea(t){let{refined:e,extra:n}=on(t,no);return{startTime:e.startTime||null,duration:e.duration||null,create:e.create!=null?e.create:!0,sourceId:e.sourceId,leftoverProps:n}}function ro(t,e){return!t||e>10?Ue({weekday:"short"}):e>1?Ue({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):Ue({weekday:"long"})}const zr="fc-col-header-cell";function Fr(t){return t.text}class io extends ht{render(){let{dateEnv:e,options:n,theme:r,viewApi:i}=this.context,{props:s}=this,{date:l,dateProfile:p}=s,y=Fn(l,s.todayRange,null,p),N=[zr].concat(hn(y,r)),B=e.format(l,s.dayHeaderFormat),oe=!y.isDisabled&&s.c
1olCnt>1?Pr(this.context,l):{},re=e.toDate(l);e.namedTimeZoneImpl&&(re=Me(re,36e5));let Ae=Object.assign(Object.assign(Object.assign({date:re,view:i},s.extraRenderProps),{text:B}),y);return(0,A.n)(St,{elTag:"th",elClasses:N,elAttrs:Object.assign({role:"columnheader",colSpan:s.colSpan,"data-date":y.isDisabled?void 0:Qt(l)},s.extraDataAttrs),renderProps:Ae,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:Fr,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},xe=>(0,A.n)("div",{className:"fc-scrollgrid-sync-inner"},!y.isDisabled&&(0,A.n)(xe,{elTag:"a",elAttrs:oe,elClasses:["fc-col-header-cell-cushion",s.isSticky&&"fc-sticky"]})))}}const so=Ue({weekday:"long"});class oo extends ht{render(){let{props:e}=this,{dateEnv:n,theme:r,viewApi:i,options:s}=this.context,l=De(new Date(2592e5),e.dow),p={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},y=n.format(l,e.dayHeaderFormat),N=Object.assign(Object.assign(Object.assign(Object.assign({date:l},p),{view:i}),e.extraRenderProps),{text:y});return(0,A.n)(St,{elTag:"th",elClasses:[zr,...hn(p,r),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:N,generatorName:"dayHeaderContent",customGenerator:s.dayHeaderContent,defaultGenerator:Fr,classNameGenerator:s.dayHeaderClassNames,didMount:s.dayHeaderDidMount,willUnmount:s.dayHeaderWillUnmount},B=>(0,A.n)("div",{className:"fc-scrollgrid-sync-inner"},(0,A.n)(B,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":n.format(l,so)}})))}}class ao extends ht{constructor(){super(...arguments),this.createDayHeaderFormatter=nt(lo)}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(0,A.n)(Un,{unit:"day"},(p,y)=>(0,A.n)("tr",{role:"row"},s&&s("day"),n.map(N=>i?(0,A.n)(io,{key:N.toISOString(),date:N,dateProfile:r,todayRange:y,colCnt:n.length,dayHeaderFormat:l}):(0,A.n)(oo,{key:N.getUTCDay(),dow:N.getUTCDay(),dayHeaderFormat:l}))))}}function lo(t,e,n){return t||ro(e,n)}class co{constructor(e,n){let r=e.start,{end:i}=e,s=[],l=[],p=-1;for(;r<i;)n.isHiddenDay(r)?s.push(p+.5):(p+=1,s.push(p),l.push(r)),r=De(r,1);this.dates=l,this.indices=s,this.cnt=l.length}sliceRange(e){let n=this.getDateDayIndex(e.start),r=this.getDateDayIndex(De(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(C(this.dates[0],e));return r<0?n[0]-1:r>=n.length?n[n.length-1]+1:n[r]}}class uo{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,p=s;for(;p<=l;){let y=Math.floor(p/n),N=Math.min((y+1)*n,l+1);i.push({row:y,firstCol:p%n,lastCol:(N-1)%n,isStart:r.isStart&&p===s,isEnd:r.isEnd&&N-1===l}),p=N}}return i}}class fo{constructor(){this.sliceBusinessHours=nt(this._sliceBusinessHours),this.sliceDateSelection=nt(this._sliceDateSpan),this.sliceEventStore=nt(this._sliceEventStore),this.sliceEventDrag=nt(this._sliceInteraction),this.sliceEventResize=nt(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,n,r,i,...s){let{eventUiBases:l}=e,p=this.sliceEventStore(e.eventStore,l,n,r,...s);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,n,r,l,i,...s
vendor: 8,799 bytes, line 1
1),businessHourSegs:this.sliceBusinessHours(e.businessHours,n,r,i,...s),fgEventSegs:p.fg,bgEventSegs:p.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,i,...s){return this._sliceDateSpan({range:{start:e,end:Me(e,1)},allDay:!1},n,r,{},i,...s)}_sliceBusinessHours(e,n,r,i,...s){return e?this._sliceEventStore(Bt(e,pn(n,!!r),i),{},n,r,...s).bg:[]}_sliceEventStore(e,n,r,i,...s){if(e){let l=Bn(e,n,pn(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=Bn(e.mutatedEvents,n,pn(r,!!i),i);return{segs:this.sliceEventRanges(l.fg,s),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,n,r,i,s,...l){if(!e)return[];let p=pn(n,!!r),y=Xt(e.range,p);if(y){e=Object.assign(Object.assign({},e),{range:y});let N=ws(e,i,s),B=this.sliceRange(e.range,...l);for(let oe of B)oe.eventRange=N;return B}return[]}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:De(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 pn(t,e){let n=t.activeRange;return e?n:{start:Me(n.start,t.slotMinTime.milliseconds),end:Me(n.end,t.slotMaxTime.milliseconds-864e5)}}function ho(t,e,n){let{instances:r}=t.mutatedEvents;for(let i in r)if(!ln(e.validRange,r[i].range))return!1;return Vr({eventDrag:t},n)}function go(t,e,n){return ln(e.validRange,t.range)?Vr({dateSelection:t},n):!1}function Vr(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||po)(r,e)}function po(t,e,n={},r){return!(t.eventDrag&&!mo(t,e,n,r)||t.dateSelection&&!vo(t,e,n,r))}function mo(t,e,n,r){let i=e.getCurrentData(),s=t.eventDrag,l=s.mutatedEvents,p=l.defs,y=l.instances,N=fn(p,s.isEvent?t.eventUiBases:{"":i.selectionConfig});r&&(N=Ut(N,r));let B=Zi(t.eventStore,s.affectedEvents.instances),oe=B.defs,re=B.instances,Ae=fn(oe,t.eventUiBases);for(let xe in y){let Re=y[xe],Ke=Re.range,bt=N[Re.defId],Ct=p[Re.defId];if(!Wr(bt.constraints,Ke,B,t.businessHours,e))return!1;let{eventOverlap:Vt}=e.options,Wt=typeof Vt=="function"?Vt:null;for(let tr in re){let Gt=re[tr];if(xn(Ke,Gt.range)&&(Ae[Gt.defId].overlap===!1&&s.isEvent||bt.overlap===!1||Wt&&!Wt(new mt(e,oe[Gt.defId],Gt),new mt(e,Ct,Re))))return!1}let Jr=i.eventStore;for(let tr of bt.allows){let Gt=Object.assign(Object.assign({},n),{range:Re.range,allDay:Ct.allDay}),nr=Jr.defs[Ct.defId],$o=Jr.instances[xe],rr;if(nr?rr=new mt(e,nr,$o):rr=new mt(e,Ct),!tr(Pn(Gt,e),rr))return!1}}return!0}function vo(t,e,n,r){let i=t.eventStore,s=i.defs,l=i.instances,p=t.dateSelection,y=p.range,{selectionConfig:N}=e.getCurrentData();if(r&&(N=r(N)),!Wr(N.constraints,y,i,t.businessHours,e))return!1;let{selectOverlap:B}=e.options,oe=typeof B=="function"?B:null;for(let re in l){let Ae=l[re];if(xn(y,Ae.range)&&(N.overlap===!1||oe&&!oe(new mt(e,s[Ae.defId],Ae),null)))return!1}for(let re of N.allows){let Ae=Object.assign(Object.assign({},n),p);if(!re(Pn(Ae,e),null))return!1}return!0}function Wr(t,e,n,r,i){for(let s of t)if(!bo(yo(s,e,n,r,i),e))return!1;return!0}function yo(t,e,n,r,i){return t==="businessHours"?Xn(Bt(r,e,i)):typeof t=="string"?Xn(un(n,s=>s.groupId===t)):typeof t=="object"&&t?Xn(Bt(t,e,i)):[]}function Xn(t){let{instances:e}=t,n=[];for(let r in e)n.push(e[r].range);return n}function bo(t,e){for(let n of t)if(ln(n,e))return!0;return!1}const mn=/^(visible|hidden)$/;class Gr extends ht{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,It(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")),(0,A.n)("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(mn.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(mn.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 mn.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return mn.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class Kn{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(n,r)=>{let{depths:i,currentMap:s}=this,l=!1,p=!1;n!==null?(l=r in s,s[r]=n,i[r]=(i[r]||0)+1,p=!0):(i[r]-=1,i[r]||(delete s[r],delete this.callbackMap[r],l=!0)),this.masterCallback&&(l&&this.masterCallback(null,String(r)),p&&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 ui(this.currentMap,e,n,r)}getAll(){return Dn(this.currentMap)}}function Eo(t){let e=Ye(t,".fc-scrollgrid-shrink"),n=0;for(let r of e)n=Math.max(n,x(r));return Math.ceil(n)}function Yr(t,e){return t.liquid&&e.liquid}function Ao(t,e){return e.maxHeight!=null||Yr(t,e)}function wo(t,e,n,r){let{expandRows:i}=n;return typeof e.content=="function"?e.content(n):(0,A.n)("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,(0,A.n)(r?"thead":"tbody",{role:"presentation"},typeof e.rowContent=="function"?e.rowContent(n):e.rowContent))}function Do(t,e){return le(t,e,kt)}function _o(t,e){let n=[];for(let r of t){let i=r.span||1;for(let s=0;s<i;s+=1)n.push((0,A.n)("col",{style:{width:r.width==="shrink"?To(e):r.width||"",minWidth:r.minWidth||""}}))}return(0,A.n)("colgroup",{},...n)}function To(t){return t??4}function So(t){for(let e of t)if(e.width==="shrink")return!0;return!1}function Co(t,e){let n=["fc-scrollgrid",e.theme.getClass("table")];return t&&n.push("fc-scrollgrid-liquid"),n}function xo(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 ko(t){return(0,A.n)("div",{className:"fc-scrollgrid-sticky-shim",style:{width:t.clientWidth,minWidth:t.tableMinWidth}})}function Ro(t){let{stickyHeaderDates:e}=t;return(e==null||e==="auto")&&(e=t.height==="auto"||t.viewHeight==="auto"),e}function Mo(t){let{stickyFooterScrollbar:e}=t;return(e==null||e==="auto")&&(e=t.height==="auto"||t.viewHeight==="auto"),e}class Qr extends ht{constructor(){super(...arguments),this.processCols=nt(e=>e,Do),this.renderMicroColGroup=nt(_o),this.scrollerRefs=new Kn,this.scrollerElRefs=new Kn(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),p=Co(e.liquid,r);e.collapsibleWidth&&p.push("fc-scrollgrid-collapsible");let y=i.length,N=0,B,oe=[],re=[],Ae=[];for(;N<y&&(B=i[N]).type==="header";)oe.push(this.renderSection(B,l,!0)),N+=1;for(;N<y&&(B=i[N]).type==="body";)re.push(this.renderSection(B,l,!1)),N+=1;for(;N<y&&(B=i[N]).type==="footer";)Ae.push(this.renderSection(B,l,!0)),N+=1;let xe=!Or();const Re={role:"rowgroup"};return(0,A.n)("table",{role:"grid",className:p.join(" "),style:{height:e.height}},!!(!xe&&oe.length)&&(0,A.n)("thead",Re,...oe),!!(!xe&&re.length)&&(0,A.n)("tbody",Re,...re),!!(!xe&&Ae.length)&&(0,A.n)("tfoot",Re,...Ae),xe&&(0,A.n)("tbody",Re,...oe,...re,...Ae))}renderSection(e,n,r){return"outerContent"in e?(0,A.n)(A.FK,{key:e.key},e.outerContent):(0,A.n)("tr",{key:e.key,role:"presentation",className:xo(e,this.props.liquid
1).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:p,scrollerClientHeights:y}=this.state,N=Ao(s,e),B=Yr(s,e),oe=s.liquid?l?"scroll":N?"auto":"hidden":"visible",re=e.key,Ae=wo(e,r,{tableColGroupNode:n,tableMinWidth:"",clientWidth:!s.collapsibleWidth&&p[re]!==void 0?p[re]:null,clientHeight:y[re]!==void 0?y[re]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},i);return(0,A.n)(i?"th":"td",{ref:r.elRef,role:"presentation"},(0,A.n)("div",{className:`fc-scroller-harness${B?" fc-scroller-harness-liquid":""}`},(0,A.n)(Gr,{ref:this.scrollerRefs.createRef(re),elRef:this.scrollerElRefs.createRef(re),overflowY:oe,overflowX:s.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:B,liquidIsAbsolute:!0},Ae)))}_handleScrollerEl(e,n){let r=Io(this.props.sections,n);r&&It(r.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return So(this.props.cols)?Eo(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=Vs(),{scrollerRefs:n,scrollerElRefs:r}=this,i=!1,s={},l={};for(let p in n.currentMap){let y=n.currentMap[p];if(y&&y.needsYScrolling()){i=!0;break}}for(let p of this.props.sections){let y=p.key,N=r.currentMap[y];if(N){let B=N.parentNode;s[y]=Math.floor(B.getBoundingClientRect().width-(i?e.y:0)),l[y]=Math.floor(B.getBoundingClientRect().height)}}return{forceYScrollbars:i,scrollerClientWidths:s,scrollerClientHeights:l}}}Qr.addStateEquality({scrollerClientWidths:kt,scrollerClientHeights:kt});function Io(t,e){for(let n of t)if(n.key===e)return n;return null}class Jn extends ht{constructor(){super(...arguments),this.buildPublicEvent=nt((e,n,r)=>new mt(e,n,r)),this.handleEl=e=>{this.el=e,It(this.props.elRef,e),e&&xr(e,this.props.seg)}}render(){const{props:e,context:n}=this,{options:r}=n,{seg:i}=e,{eventRange:s}=i,{ui:l}=s,p={event:this.buildPublicEvent(n,s.def,s.instance),view:n.viewApi,timeText:e.timeText,textColor:l.textColor,backgroundColor:l.backgroundColor,borderColor:l.borderColor,isDraggable:!e.disableDragging&&cs(i,n),isStartResizable:!e.disableResizing&&us(i,n),isEndResizable:!e.disableResizing&&ds(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(0,A.n)(St,{elRef:this.handleEl,elTag:e.elTag,elAttrs:e.elAttrs,elClasses:[...hs(p),...i.eventRange.ui.classNames,...e.elClasses||[]],elStyle:e.elStyle,renderProps:p,generatorName:"eventContent",customGenerator:r.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.eventClassNames,didMount:r.eventDidMount,willUnmount:r.eventWillUnmount},e.children)}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&xr(this.el,this.props.seg)}}class qr extends ht{render(){let{props:e,context:n}=this,{options:r}=n,{seg:i}=e,{ui:s}=i.eventRange,l=r.eventTimeFormat||e.defaultTimeFormat,p=Rr(i,l,n,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return(0,A.n)(Jn,Object.assign({},e,{elTag:"a",elStyle:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},elAttrs:Mr(i,n),defaultGenerator:No,timeText:p}),(y,N)=>(0,A.n)(A.FK,null,(0,A.n)(y,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:N.textColor}}),!!N.isStartResizable&&(0,A.n)("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!N.isEndResizable&&(0,A.n)("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}qr.addPropsEquality({seg:kt});function No(t){return(0,A.n)("div",{className:"fc-event-main-frame"},t.timeText&&(0,A.n)("div",{className:"fc-event-time"},t.timeText),(0,A.n)("div",{className:"fc-event-title-container"},(0,A.n)("div",{className:"fc-event-title fc-sticky"},t.event.title||(0,A.n)(A.FK,null,"\xA0"))))}const Oo=t=>(0,A.n)(Pt.Consumer,null,e=>{let{options:n}=e,r={isAxis:t.isAxis,date:e.dateEnv.toDate(t.date),view:e.viewApi};return(0,A.n)(St,{elRef:t.elRef,elTag:t.elTag||"div",elAttrs:t.elAttrs,elClasses:t.elClasses,elStyle:t.elStyle,renderProps:r,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},t.children)}),Ho=Ue({day:"numeric"});class Zr extends ht{constructor(){super(...arguments),this.refineRenderProps=qt(Po)}render(){let{props:e,context:n}=this,{options:r}=n,i=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:n.viewApi,dateEnv:n.dateEnv,monthStartFormat:r.monthStartFormat});return(0,A.n)(St,{elRef:e.elRef,elTag:e.elTag,elAttrs:Object.assign(Object.assign({},e.elAttrs),i.isDisabled?{}:{"data-date":Qt(e.date)}),elClasses:[...hn(i,n.theme),...e.elClasses||[]],elStyle:e.elStyle,renderProps:i,generatorName:"dayCellContent",customGenerator:r.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:i.isDisabled?void 0:r.dayCellClassNames,didMount:r.dayCellDidMount,willUnmount:r.dayCellWillUnmount},e.children)}}function $r(t){return!!(t.dayCellContent||Cn("dayCellContent",t))}function Po(t){let{date:e,dateEnv:n,dateProfile:r,isMonthStart:i}=t,s=Fn(e,t.todayRange,null,r),l=t.showDayNumber?n.format(e,i?t.monthStartFormat:Ho
1):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(e),view:t.viewApi},s),{isMonthStart:i,dayNumberText:l}),t.extraRenderProps)}class Lo extends ht{render(){let{props:e}=this,{seg:n}=e;return(0,A.n)(Jn,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:n.eventRange.ui.backgroundColor},defaultGenerator:Bo,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 Bo(t){let{title:e}=t.event;return e&&(0,A.n)("div",{className:"fc-event-title"},t.event.title)}function jo(t){return(0,A.n)("div",{className:`fc-${t}`})}const Uo=t=>(0,A.n)(Pt.Consumer,null,e=>{let{dateEnv:n,options:r}=e,{date:i}=t,s=r.weekNumberFormat||t.defaultFormat,l=n.computeWeekNumber(i),p=n.format(i,s),y={num:l,text:p,date:i};return(0,A.n)(St,{elRef:t.elRef,elTag:t.elTag,elAttrs:t.elAttrs,elClasses:t.elClasses,elStyle:t.elStyle,renderProps:y,generatorName:"weekNumberContent",customGenerator:r.weekNumberContent,defaultGenerator:zo,classNameGenerator:r.weekNumberClassNames,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},t.children)});function zo(t){return t.text}const er=10;class Fo extends ht{constructor(){super(...arguments),this.state={titleId:je()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&It(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const n=Pe(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(0,H.d5)((0,A.n)("div",Object.assign({},r.extraAttrs,{id:r.id,className:s.join(" "),"aria-labelledby":i.titleId,ref:this.handleRootEl}),(0,A.n)("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},(0,A.n)("span",{className:"fc-popover-title",id:i.titleId},r.title),(0,A.n)("span",{className:"fc-popover-close "+e.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),(0,A.n)("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=Qs(n);if(s){let l=i.getBoundingClientRect(),p=r?Se(n,".fc-scrollgrid").getBoundingClientRect().top:s.top,y=e?s.right-l.width:s.left;p=Math.max(p,er),y=Math.min(y,document.documentElement.clientWidth-er-l.width),y=Math.max(y,er);let N=i.offsetParent.getBoundingClientRect();
1de(i,{top:p-N.top,left:y-N.left})}}}class Vo extends Ur{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,p=n.format(i,e.dayPopoverFormat);return(0,A.n)(Zr,{elRef:this.handleRootEl,date:i,dateProfile:l,todayRange:s},(y,N,B)=>(0,A.n)(Fo,{elRef:B.ref,id:r.id,title:p,extraClassNames:["fc-more-popover"].concat(B.className||[]),extraAttrs:B,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},$r(e)&&(0,A.n)(y,{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:!l.forceTimed,range:{start:l.startDate,end:l.endDate}},l.extraDateSpan),dayEl:s,rect:{left:0,top:0,right:r,bottom:i},layer:1}:null}}class Wo extends ht{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:je()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&It(this.props.elRef,e)},this.handleClick=e=>{let{props:n,context:r}=this,{moreLinkClick:i}=r.options,s=Xr(n).start;function l(p){let{def:y,instance:N,range:B}=p.eventRange;return{event:new mt(r,y,N),start:r.dateEnv.toDate(B.start),end:r.dateEnv.toDate(B.end),isStart:p.isStart,isEnd:p.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(0,A.n)(Pt.Consumer,null,r=>{let{viewApi:i,options:s,calendarApi:l}=r,{moreLinkText:p}=s,{moreCnt:y}=e,N=Xr(e),B=typeof p=="function"?p.call(l,y):`+${y} ${p}`,oe=b(s.moreLinkHint,[y],B),re={num:y,shortText:`+${y}`,text:B,view:i};return(0,A.n)(A.FK,null,!!e.moreCnt&&(0,A.n)(St,{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),ot(this.handleClick)),{title:oe,"aria-expanded":n.isPopoverOpen,"aria-controls":n.isPopoverOpen?n.popoverId:""}),renderProps:re,generatorName:"moreLinkContent",customGenerator:s.moreLinkContent,defaultGenerator:e.defaultGenerator||Go,classNameGenerator:s.moreLinkClassNames,didMount:s.moreLinkDidMount,willUnmount:s.moreLinkWillUnmount},e.children),n.isPopoverOpen&&(0,A.n)(Vo,{id:n.popoverId,startDate:N.start,endDate:N.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=Se(this.linkEl,".fc-view-harness"))}}function Go(t){return t.text}function Xr(t){if(t.allDayDate)return{start:t.allDayDate,end:De(t.allDayDate,1)};let{hiddenSegs:e}=t;return{start:Kr(e),end:Qo(e)}}function Kr(t){return t.reduce(Yo).eventRange.range.start}function Yo(t,e){return t.eventRange.range.start<e.eventRange.range.start?t:e}function Qo(t){return t.reduce(qo).eventRange.range.end}function qo(t,e){return t.eventRange.range.end>e.eventRange.range.end?t:e}class Zo{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 ta extends Zo{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)}}}),22217:(function(Rt,ct,ke){ke.d(ct,{A:function(){return at}});var A={code:"af",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Heeldag",moreLinkText:"Addisionele",noEventsText:"Daar is geen gebeurtenisse nie"},H={code:"ar-dz",week:{dow:0,doy:4},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},Oe={code:"ar-kw",week:{dow:0,doy:12},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"}
1,we={code:"ar-ly",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},S={code:"ar-ma",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},Ee={code:"ar-sa",week:{dow:0,doy:6},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},We={code:"ar-tn",week:{dow:1,doy:4},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},Je={code:"ar",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u0627\u0644\u0633\u0627\u0628\u0642",next:"\u0627\u0644\u062A\u0627\u0644\u064A",today:"\u0627\u0644\u064A\u0648\u0645",year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",week:"\u0623\u0633\u0628\u0648\u0639",day:"\u064A\u0648\u0645",list:"\u0623\u062C\u0646\u062F\u0629"},weekText:"\u0623\u0633\u0628\u0648\u0639",allDayText:"\u0627\u0644\u064A\u0648\u0645 \u0643\u0644\u0647",moreLinkText:"\u0623\u062E\u0631\u0649",noEventsText:"\u0623\u064A \u0623\u062D\u062F\u0627\u062B \u0644\u0639\u0631\u0636"},Ge={code:"az",week:{dow:1,doy:4},buttonText:{prev:"\u018Fvv\u0259l",next:"Sonra",today:"Bu G\xFCn",year:"Il",month:"Ay",week:"H\u0259ft\u0259",day:"G\xFCn",list:"G\xFCnd\u0259m"},weekText:"H\u0259ft\u0259",allDayText:"B\xFCt\xFCn G\xFCn",moreLinkText(w){return"+ daha \xE7ox "+w},noEventsText:"G\xF6st\u0259rm\u0259k \xFC\xE7\xFCn hadis\u0259 yoxdur"},ze={code:"bg",week:{dow:1,doy:4},buttonText:{prev:"\u043D\u0430\u0437\u0430\u0434",next:"\u043D\u0430\u043F\u0440\u0435\u0434",today:"\u0434\u043D\u0435\u0441",year:"\u0433\u043E\u0434\u0438\u043D\u0430",month:"\u041C\u0435\u0441\u0435\u0446",week:"\u0421\u0435\u0434\u043C\u0438\u0446\u0430",day:"\u0414\u0435\u043D",list:"\u0413\u0440\u0430\u0444\u0438\u043A"},allDayText:"\u0426\u044F\u043B \u0434\u0435\u043D",moreLinkText(w){return"+\u043E\u0449\u0435 "+w},noEventsText:"\u041D\u044F\u043C\u0430 \u0441\u044A\u0431\u0438\u0442\u0438\u044F \u0437\u0430 \u043F\u043E\u043A\u0430\u0437\u0432\u0430\u043D\u0435"},rt={code:"bn",week:{dow:0,doy:6},buttonText:{prev:"\u09AA\u09C7\u099B\u09A8\u09C7",next:"\u09B8\u09BE\u09AE\u09A8\u09C7",today:"\u0986\u099C",year:"\u09AC\u099B\u09B0",month:"\u09AE\u09BE\u09B8",week:"\u09B8\u09AA\u09CD\u09A4\u09BE\u09B9",day:"\u09A6\u09BF\u09A8",list:"\u09A4\u09BE\u09B2\u09BF\u0995\u09BE"},weekText:"\u09B8\u09AA\u09CD\u09A4\u09BE\u09B9",allDayText:"\u09B8\u09BE\u09B0\u09BE\u09A6\u09BF\u09A8",moreLinkText(w){return"+\u0985\u09A8\u09CD\u09AF\u09BE\u09A8\u09CD\u09AF "+w},noEventsText:"\u0995\u09CB\u09A8\u09CB \u0987\u09AD\u09C7\u09A8\u09CD\u099F \u09A8\u09C7\u0987"},it={code:"bs",week:{dow:1,doy:7},buttonText:{prev:"Pro\u0161li",next:"Sljede\u0107i",today:"Danas",year:"Godina",month:"Mjesec",week:"Sedmica",day:"Dan",list:"Raspored"},weekText:"Sed",allDayText:"Cijeli dan",moreLinkText(w){return"+ jo\u0161 "+w},noEventsText:"Nema doga\u0111aja za prikazivanje"},Fe={code:"ca",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seg\xFCent",today:"Avui",year:"Any",month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},weekText:"Set",allDayText:"Tot el dia",moreLinkText:"m\xE9s",noEventsText:"No hi ha esdeveniments per mostrar"},gt={code:"cs",week:{dow:1,doy:4},buttonText:{prev:"D\u0159\xEDve",next:"Pozd\u011Bji",today:"Nyn\xED",year:"Rok",month:"M\u011Bs\xEDc",week:"T\xFDden",day:"Den",list:"Agenda"},weekText:"T\xFDd",allDayText:"Cel\xFD den",moreLinkText(w){return"+dal\u0161\xED: "+w},noEventsText:"\u017D\xE1dn\xE9 akce k zobrazen\xED"},He={code:"cy",week:{dow:1,doy:4},buttonText:{prev:"Blaenorol",next:"Nesaf",today:"Heddiw",year:"Blwyddyn",month:"Mis",week:"Wythnos",day:"Dydd",list:"Rhestr"},weekText:"Wythnos",allDayText:"Trwy'r dydd",moreLinkText:"Mwy",noEventsText:"Dim digwyddiadau"},Se={code:"da",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"N\xE6ste",today:"I dag",year:"\xC5r",month:"M\xE5ned",week:"Uge",day:"Dag",list:"Agenda"}
1,weekText:"Uge",allDayText:"Hele dagen",moreLinkText:"flere",noEventsText:"Ingen arrangementer at vise"};function j(w){return w==="Tag"||w==="Monat"?"r":w==="Jahr"?"s":""}var Ye={code:"de-at",week:{dow:1,doy:4},buttonText:{prev:"Zur\xFCck",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Termin\xFCbersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganzt\xE4gig",moreLinkText(w){return"+ weitere "+w},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev(w){return`Vorherige${j(w)} ${w}`},next(w){return`N\xE4chste${j(w)} ${w}`},today(w){return w==="Tag"?"Heute":`Diese${j(w)} ${w}`}},viewHint(w){return w+(w==="Woche"?"n":w==="Monat"?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint(w){return"Zeige "+(w===1?"ein weiteres Ereignis":w+" weitere Ereignisse")},closeHint:"Schlie\xDFen",timeHint:"Uhrzeit",eventHint:"Ereignis"};function et(w){return w==="Tag"||w==="Monat"?"r":w==="Jahr"?"s":""}var ut={code:"de",week:{dow:1,doy:4},buttonText:{prev:"Zur\xFCck",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Termin\xFCbersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganzt\xE4gig",moreLinkText(w){return"+ weitere "+w},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev(w){return`Vorherige${et(w)} ${w}`},next(w){return`N\xE4chste${et(w)} ${w}`},today(w){return w==="Tag"?"Heute":`Diese${et(w)} ${w}`}},viewHint(w){return w+(w==="Woche"?"n":w==="Monat"?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint(w){return"Zeige "+(w===1?"ein weiteres Ereignis":w+" weitere Ereignisse")},closeHint:"Schlie\xDFen",timeHint:"Uhrzeit",eventHint:"Ereignis"},de={code:"el",week:{dow:1,doy:4},buttonText:{prev:"\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF\u03C2",next:"\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF\u03C2",today:"\u03A3\u03AE\u03BC\u03B5\u03C1\u03B1",year:"\u0395\u03C4\u03BF\u03C2",month:"\u039C\u03AE\u03BD\u03B1\u03C2",week:"\u0395\u03B2\u03B4\u03BF\u03BC\u03AC\u03B4\u03B1",day:"\u0397\u03BC\u03AD\u03C1\u03B1",list:"\u0391\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1"},weekText:"\u0395\u03B2\u03B4",allDayText:"\u039F\u03BB\u03BF\u03AE\u03BC\u03B5\u03C1\u03BF",moreLinkText:"\u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1",noEventsText:"\u0394\u03B5\u03BD \u03C5\u03C0\u03AC\u03C1\u03C7\u03BF\u03C5\u03BD \u03B3\u03B5\u03B3\u03BF\u03BD\u03CC\u03C4\u03B1 \u03C0\u03C1\u03BF\u03C2 \u03B5\u03BC\u03C6\u03AC\u03BD\u03B9\u03C3\u03B7"},st={code:"en-au",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(w){return`Show ${w} more event${w===1?"":"s"}`}},Pe={code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(w){return`Show ${w} more event${w===1?"":"s"}`}},Qe={code:"en-nz",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(w){return`Show ${w} more event${w===1?"":"s"}`}},je={code:"eo",week:{dow:1,doy:4},buttonText:{prev:"Anta\u016Da",next:"Sekva",today:"Hodia\u016D",year:"Jaro",month:"Monato",week:"Semajno",day:"Tago",list:"Tagordo"},weekText:"Sm",allDayText:"Tuta tago",moreLinkText:"pli",noEventsText:"Neniuj eventoj por montri"},Ze={code:"es",week:{dow:0,doy:6},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"A\xF1o",month:"Mes",week:"Semana",day:"D\xEDa",list:"Agenda"},weekText:"Sm",allDayText:"Todo el d\xEDa",moreLinkText:"m\xE1s",noEventsText:"No hay eventos para mostrar"},vt={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"A\xF1o",month:"Mes",week:"Semana",day:"D\xEDa",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today(w){return w==="D\xEDa"?"Hoy":(w==="Semana"?"Esta":"Este")+" "+w.toLocaleLowerCase()}},viewHint(w){return"Vista "+(w==="Semana"?"de la":"del")+" "+w.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el d\xEDa",moreLinkText:"m\xE1s",moreLinkHint(w){return`Mostrar ${w} eventos m\xE1s`},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},qe={code:"et",week:{dow:1,doy:4},buttonText:{prev:"Eelnev",next:"J\xE4rgnev",today:"T\xE4na",year:"Aasta",month:"Kuu",week:"N\xE4dal",day:"P\xE4ev",list:"P\xE4evakord"},weekText:"n\xE4d",allDayText:"Kogu p\xE4ev",moreLinkText(w){return"+ veel "+w},noEventsText:"Kuvamiseks puuduvad s\xFCndmused"},$e={code:"eu",week:{dow:1,doy:7},buttonText:{prev:"Aur",next:"Hur",today:"Gaur",year:"Urtea",month:"Hilabetea",week:"Astea",day:"Eguna",list:"Agenda"},weekText:"As",allDayText:"Egun osoa",moreLinkText:"gehiago",noEventsText:"Ez dago ekitaldirik erakusteko"},dt={code:"fa",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u0642\u0628\u0644\u06CC",next:"\u0628\u0639\u062F\u06CC",today:"\u0627\u0645\u0631\u0648\u0632",year:"\u0633\u0627\u0644",month:"\u0645\u0627\u0647",week:"\u0647\u0641\u062A\u0647",day:"\u0631\u0648\u0632",list:"\u0628\u0631\u0646\u0627\u0645\u0647"},weekText:"\u0647\u0641",allDayText:"\u062A\u0645\u0627\u0645 \u0631\u0648\u0632",moreLinkText(w){return"\u0628\u06CC\u0634 \u0627\u0632 "+w},noEventsText:"\u0647\u06CC\u0686 \u0631\u0648\u06CC\u062F\u0627\u062F\u06CC \u0628\u0647 \u0646\u0645\u0627\u06CC\u0634"},tt={code:"fi",week:{dow:1,doy:4},buttonText:{prev:"Edellinen",next:"Seuraava",today:"T\xE4n\xE4\xE4n",year:"Vuosi",month:"Kuukausi",week:"Viikko",day:"P\xE4iv\xE4",list:"Tapahtumat"},weekText:"Vk",allDayText:"Koko p\xE4iv\xE4",moreLinkText:"lis\xE4\xE4",noEventsText:"Ei n\xE4ytett\xE4vi\xE4 tapahtumia"},ot={code:"fr",buttonText:{prev:"Pr\xE9c\xE9dent",next:"Suivant",today:"Aujourd'hui",year:"Ann\xE9e",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sem.",allDayText:"Toute la journ\xE9e",moreLinkText:"en plus",noEventsText:"Aucun \xE9v\xE8nement \xE0 afficher"},Le={code:"fr-ch",week:{dow:1,doy:4},buttonText:{prev:"Pr\xE9c\xE9dent",next:"Suivant",today:"Courant",year:"Ann\xE9e",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sm",allDayText:"Toute la journ\xE9e",moreLinkText:"en plus",noEventsText:"Aucun \xE9v\xE8nement \xE0 afficher"},Xe={code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Pr\xE9c\xE9dent",next:"Suivant",today:"Aujourd'hui",year:"Ann\xE9e",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",weekTextLong:"Semaine",allDayText:"Toute la journ\xE9e",moreLinkText:"en plus",noEventsText:"Aucun \xE9v\xE8nement \xE0 afficher"},G={code:"gl",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Seg",today:"Hoxe",year:"Ano",month:"Mes",week:"Semana",day:"D\xEDa",list:"Axenda"},buttonHints:{prev:"$0 antes",next:"$0 seguinte",today(w){return w==="D\xEDa"?"Hoxe":(w==="Semana"?"Esta":"Este")+" "+w.toLocaleLowerCase()}},viewHint(w){return"Vista "+(w==="Semana"?"da":"do")+" "+w.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo o d\xEDa",moreLinkText:"m\xE1is",moreLinkHint(w){return`Amosar ${w} eventos m\xE1is`},noEventsText:"Non hai eventos para amosar",navLinkHint:"Ir ao $0",closeHint:"Pechar",timeHint:"A hora",eventHint:"Evento"},Y={code:"he",direction:"rtl",buttonText:{prev:"\u05D4\u05E7\u05D5\u05D3\u05DD",next:"\u05D4\u05D1\u05D0",today:"\u05D4\u05D9\u05D5\u05DD",year:"\u05E9\u05E0\u05D4",month:"\u05D7\u05D5\u05D3\u05E9",week:"\u05E9\u05D1\u05D5\u05E2",day:"\u05D9\u05D5\u05DD",list:"\u05E1\u05D3\u05E8 \u05D9\u05D5\u05DD"},allDayText:"\u05DB\u05DC \u05D4\u05D9\u05D5\u05DD",moreLinkText:"\u05E0\u05D5\u05E1\u05E4\u05D9\u05DD",noEventsText:"\u05D0\u05D9\u05DF \u05D0\u05D9\u05E8\u05D5\u05E2\u05D9\u05DD \u05DC\u05D4\u05E6\u05D2\u05D4",weekText:"\u05E9\u05D1\u05D5\u05E2"},Z={code:"hi",week:{dow:0,doy:6},buttonText:{prev:"\u092A\u093F\u091B\u0932\u093E",next:"\u0905\u0917\u0932\u093E",today:"\u0906\u091C",year:"\u0935\u0930\u094D\u0937",month:"\u092E\u0939\u0940\u0928\u093E",week:"\u0938\u092A\u094D\u0924\u093E\u0939",day:"\u0926\u093F\u0928",list:"\u0915\u093E\u0930\u094D\u092F\u0938\u0942\u091A\u0940"},weekText:"\u0939\u092B\u094D\u0924\u093E",allDayText:"\u0938\u092D\u0940 \u0926\u093F\u0928",moreLinkText(w){return"+\u0905\u0927\u093F\u0915 "+w},noEventsText:"\u0915\u094B\u0908 \u0918\u091F\u0928\u093E\u0913\u0902 \u0915\u094B \u092A\u094D\u0930\u0926\u0930\u094D\u0936\u093F\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},ye={code:"hr",week:{dow:1,doy:7},buttonText:{prev:"Prija\u0161nji",next:"Sljede\u0107i",today:"Danas",year:"Godina",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},weekText:"Tje",allDayText:"Cijeli dan",moreLinkText(w){return"+ jo\u0161 "+w},noEventsText:"Nema doga\u0111aja za prikaz"},Be={code:"hu",week:{dow:1,doy:4},buttonText:{prev:"vissza",next:"el\u0151re",today:"ma",year:"\xC9v",month:"H\xF3nap",week:"H\xE9t",day:"Nap",list:"Lista"},weekText:"H\xE9t",allDayText:"Eg\xE9sz nap",moreLinkText:"tov\xE1bbi",noEventsText:"Nincs megjelen\xEDthet\u0151 esem\xE9ny"},F={code:"hy-am",week:{dow:1,doy:4},buttonText:{prev:"\u0546\u0561\u056D\u0578\u0580\u0564",next:"\u0540\u0561\u057B\u0578\u0580\u0564",today:"\u0531\u0575\u057D\u0585\u0580",year:"\u054F\u0561\u0580\u056B",month:"\u0531\u0574\u056B\u057D",week:"\u0547\u0561\u0562\u0561\u0569",day:"\u0555\u0580",list:"\u0555\u0580\u057E\u0561 \u0581\u0578\u0582\u0581\u0561\u056F"},weekText:"\u0547\u0561\u0562",allDayText:"\u0531\u0574\u0562\u0578\u0572\u057B \u0585\u0580",moreLinkText(w){return"+ \u0587\u057D "+w},noEventsText:"\u0532\u0561\u0581\u0561\u056F\u0561\u0575\u0578\u0582\u0574 \u0567 \u056B\u0580\u0561\u0564\u0561\u0580\u0571\u0578\u0582\u0569\u0575\u0578\u0582\u0576\u0568 \u0581\u0578\u0582\u0581\u0561\u0564\u0580\u0565\u056C\u0578\u0582"},f={code:"id",week:{dow:1,doy:7},buttonText:{prev:"mundur",next:"maju",today:"hari ini",year:"Tahun",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sehari penuh",moreLinkText:"lebih",noEventsText:"Tidak ada acara untuk ditampilkan"},_={code:"is",week:{dow:1,doy:4}
1,buttonText:{prev:"Fyrri",next:"N\xE6sti",today:"\xCD dag",year:"\xC1r",month:"M\xE1nu\xF0ur",week:"Vika",day:"Dagur",list:"Dagskr\xE1"},weekText:"Vika",allDayText:"Allan daginn",moreLinkText:"meira",noEventsText:"Engir vi\xF0bur\xF0ir til a\xF0 s\xFDna"},R={code:"it",week:{dow:1,doy:4},buttonText:{prev:"Prec",next:"Succ",today:"Oggi",year:"Anno",month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},weekText:"Sm",allDayText:"Tutto il giorno",moreLinkText(w){return"+altri "+w},noEventsText:"Non ci sono eventi da visualizzare"},$={code:"ja",buttonText:{prev:"\u524D",next:"\u6B21",today:"\u4ECA\u65E5",year:"\u5E74",month:"\u6708",week:"\u9031",day:"\u65E5",list:"\u4E88\u5B9A\u30EA\u30B9\u30C8"},weekText:"\u9031",allDayText:"\u7D42\u65E5",moreLinkText(w){return"\u4ED6 "+w+" \u4EF6"},noEventsText:"\u8868\u793A\u3059\u308B\u4E88\u5B9A\u306F\u3042\u308A\u307E\u305B\u3093"},u={code:"ka",week:{dow:1,doy:7},buttonText:{prev:"\u10EC\u10D8\u10DC\u10D0",next:"\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2\u10D8",today:"\u10D3\u10E6\u10D4\u10E1",year:"\u10EC\u10D4\u10DA\u10D8\u10EC\u10D0\u10D3\u10D8",month:"\u10D7\u10D5\u10D4",week:"\u10D9\u10D5\u10D8\u10E0\u10D0",day:"\u10D3\u10E6\u10D4",list:"\u10D3\u10E6\u10D8\u10E1 \u10EC\u10D4\u10E1\u10E0\u10D8\u10D2\u10D8"},weekText:"\u10D9\u10D5",allDayText:"\u10DB\u10D7\u10D4\u10DA\u10D8 \u10D3\u10E6\u10D4",moreLinkText(w){return"+ \u10D9\u10D8\u10D3\u10D4\u10D5 "+w},noEventsText:"\u10E6\u10DD\u10DC\u10D8\u10E1\u10EB\u10D8\u10D4\u10D1\u10D4\u10D1\u10D8 \u10D0\u10E0 \u10D0\u10E0\u10D8\u10E1"},h={code:"kk",week:{dow:1,doy:7},buttonText:{prev:"\u0410\u043B\u0434\u044B\u04A3\u0493\u044B",next:"\u041A\u0435\u043B\u0435\u0441\u0456",today:"\u0411\u04AF\u0433\u0456\u043D",year:"\u0416\u044B\u043B",month:"\u0410\u0439",week:"\u0410\u043F\u0442\u0430",day:"\u041A\u04AF\u043D",list:"\u041A\u04AF\u043D \u0442\u04D9\u0440\u0442\u0456\u0431\u0456"},weekText:"\u041D\u0435",allDayText:"\u041A\u04AF\u043D\u0456 \u0431\u043E\u0439\u044B",moreLinkText(w){return"+ \u0442\u0430\u0493\u044B "+w},noEventsText:"\u041A\u04E9\u0440\u0441\u0435\u0442\u0443 \u04AF\u0448\u0456\u043D \u043E\u049B\u0438\u0493\u0430\u043B\u0430\u0440 \u0436\u043E\u049B"},b={code:"km",week:{dow:1,doy:4},buttonText:{prev:"\u1798\u17BB\u1793",next:"\u1794\u1793\u17D2\u1791\u17B6\u1794\u17CB",today:"\u1790\u17D2\u1784\u17C3\u1793\u17C1\u17C7",year:"\u1786\u17D2\u1793\u17B6\u17C6",month:"\u1781\u17C2",week:"\u179F\u1794\u17D2\u178F\u17B6\u17A0\u17CD",day:"\u1790\u17D2\u1784\u17C3",list:"\u1794\u1789\u17D2\u1787\u17B8"},weekText:"\u179F\u1794\u17D2\u178F\u17B6\u17A0\u17CD",allDayText:"\u1796\u17C1\u1789\u1798\u17BD\u1799\u1790\u17D2\u1784\u17C3",moreLinkText:"\u1785\u17D2\u179A\u17BE\u1793\u1791\u17C0\u178F",noEventsText:"\u1782\u17D2\u1798\u17B6\u1793\u1796\u17D2\u179A\u17B9\u178F\u17D2\u178F\u17B7\u1780\u17B6\u179A\u178E\u17CD\u178F\u17D2\u179A\u17BC\u179C\u1794\u1784\u17D2\u17A0\u17B6\u1789"},L={code:"ko",buttonText:{prev:"\uC774\uC804\uB2EC",next:"\uB2E4\uC74C\uB2EC",today:"\uC624\uB298",year:"\uB144\uB3C4",month:"\uC6D4",week:"\uC8FC",day:"\uC77C",list:"\uC77C\uC815\uBAA9\uB85D"},weekText:"\uC8FC",allDayText:"\uC885\uC77C",moreLinkText:"\uAC1C",noEventsText:"\uC77C\uC815\uC774 \uC5C6\uC2B5\uB2C8\uB2E4"},z={code:"ku",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"\u067E\u06CE\u0634\u062A\u0631",next:"\u062F\u0648\u0627\u062A\u0631",today:"\u0626\u06D5\u0645\u0695\u0648",year:"\u0633\u0627\u06B5",month:"\u0645\u0627\u0646\u06AF",week:"\u0647\u06D5\u0641\u062A\u06D5",day:"\u0695\u06C6\u0698",list:"\u0628\u06D5\u0631\u0646\u0627\u0645\u06D5"},weekText:"\u0647\u06D5\u0641\u062A\u06D5",allDayText:"\u0647\u06D5\u0645\u0648\u0648 \u0695\u06C6\u0698\u06D5\u06A9\u06D5",moreLinkText:"\u0632\u06CC\u0627\u062A\u0631",noEventsText:"\u0647\u06CC\u0686 \u0695\u0648\u0648\u062F\u0627\u0648\u06CE\u0643 \u0646\u06CC\u06D5"},x={code:"lb",week:{dow:1,doy:4},buttonText:{prev:"Zr\xE9ck",next:"Weider",today:"Haut",year:"Joer",month:"Mount",week:"Woch",day:"Dag",list:"Terminiwwersiicht"},weekText:"W",allDayText:"Ganzen Dag",moreLinkText:"m\xE9i",noEventsText:"Nee Evenementer ze affich\xE9ieren"},ie={code:"lt",week:{dow:1,doy:4},buttonText:{prev:"Atgal",next:"Pirmyn",today:"\u0160iandien",year:"Metai",month:"M\u0117nuo",week:"Savait\u0117",day:"Diena",list:"Darbotvark\u0117"},weekText:"SAV",allDayText:"Vis\u0105 dien\u0105",moreLinkText:"daugiau",noEventsText:"N\u0117ra \u012Fvyki\u01
173 rodyti"},fe={code:"lv",week:{dow:1,doy:4},buttonText:{prev:"Iepr.",next:"N\u0101k.",today:"\u0160odien",year:"Gads",month:"M\u0113nesis",week:"Ned\u0113\u013Ca",day:"Diena",list:"Dienas k\u0101rt\u012Bba"},weekText:"Ned.",allDayText:"Visu dienu",moreLinkText(w){return"+v\u0113l "+w},noEventsText:"Nav notikumu"},W={code:"mk",buttonText:{prev:"\u043F\u0440\u0435\u0442\u0445\u043E\u0434\u043D\u043E",next:"\u0441\u043B\u0435\u0434\u043D\u043E",today:"\u0414\u0435\u043D\u0435\u0441",year:"\u0433\u043E\u0434\u0438\u043D\u0430",month:"\u041C\u0435\u0441\u0435\u0446",week:"\u041D\u0435\u0434\u0435\u043B\u0430",day:"\u0414\u0435\u043D",list:"\u0413\u0440\u0430\u0444\u0438\u043A"},weekText:"\u0421\u0435\u0434",allDayText:"\u0426\u0435\u043B \u0434\u0435\u043D",moreLinkText(w){return"+\u043F\u043E\u0432\u0435\u045C\u0435 "+w},noEventsText:"\u041D\u0435\u043C\u0430 \u043D\u0430\u0441\u0442\u0430\u043D\u0438 \u0437\u0430 \u043F\u0440\u0438\u043A\u0430\u0436\u0443\u0432\u0430\u045A\u0435"},ce={code:"ms",week:{dow:1,doy:7},buttonText:{prev:"Sebelum",next:"Selepas",today:"hari ini",year:"Tahun",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sepanjang hari",moreLinkText(w){return"masih ada "+w+" acara"},noEventsText:"Tiada peristiwa untuk dipaparkan"},T={code:"nb",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Neste",today:"I dag",year:"\xC5r",month:"M\xE5ned",week:"Uke",day:"Dag",list:"Agenda"},weekText:"Uke",weekTextLong:"Uke",allDayText:"Hele dagen",moreLinkText:"til",noEventsText:"Ingen hendelser \xE5 vise",buttonHints:{prev:"Forrige $0",next:"Neste $0",today:"N\xE5v\xE6rende $0"},viewHint:"$0 visning",navLinkHint:"G\xE5 til $0",moreLinkHint(w){return`Vis ${w} flere hendelse${w===1?"":"r"}`}},ge={code:"ne",week:{dow:7,doy:1},buttonText:{prev:"\u0905\u0918\u093F\u0932\u094D\u0932\u094B",next:"\u0905\u0930\u094D\u0915\u094B",today:"\u0906\u091C",year:"\u0935\u0930\u094D\u0937",month:"\u092E\u0939\u093F\u0928\u093E",week:"\u0939\u092A\u094D\u0924\u093E",day:"\u0926\u093F\u0928",list:"\u0938\u0942\u091A\u0940"},weekText:"\u0939\u092A\u094D\u0924\u093E",allDayText:"\u0926\u093F\u0928\u092D\u0930\u093F",moreLinkText:"\u0925\u092A \u0932\u093F\u0902\u0915",noEventsText:"\u0926\u0947\u0916\u093E\u0909\u0928\u0915\u094B \u0932\u093E\u0917\u093F \u0915\u0941\u0928\u0948 \u0918\u091F\u0928\u093E\u0939\u0930\u0942 \u091B\u0948\u0928\u0928\u094D"},se={code:"nl",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandaag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Lijst"},allDayText:"Hele dag",moreLinkText:"extra",noEventsText:"Geen evenementen om te laten zien"},te={code:"nn",week:{dow:1,doy:4},buttonText:{prev:"F\xF8rre",next:"Neste",today:"I dag",year:"\xC5r",month:"M\xE5nad",week:"Veke",day:"Dag",list:"Agenda"},weekText:"Veke",allDayText:"Heile dagen",moreLinkText:"til",noEventsText:"Ingen hendelser \xE5 vise"},pe={code:"pl",week:{dow:1,doy:4},buttonText:{prev:"Poprzedni",next:"Nast\u0119pny",today:"Dzi\u015B",year:"Rok",month:"Miesi\u0105c",week:"Tydzie\u0144",day:"Dzie\u0144",list:"Plan dnia"},weekText:"Tydz",allDayText:"Ca\u0142y dzie\u0144",moreLinkText:"wi\u0119cej",noEventsText:"Brak wydarze\u0144 do wy\u015Bwietlenia"},X={code:"pt-br",buttonText:{prev:"Anterior",next:"Pr\xF3ximo",prevYear:"Ano anterior",nextYear:"Pr\xF3ximo ano",year:"Ano",today:"Hoje",month:"M\xEAs",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Pr\xF3ximo $0",today(w){return w==="Dia"?"Hoje":(w==="Semana"?"Esta":"Este")+" "+w.toLocaleLowerCase()}},viewHint(w){return"Visualizar "+(w==="Semana"?"a":"o")+" "+w.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText(w){return"mais +"+w},moreLinkHint(w){return`Mostrar mais ${w} eventos`},noEventsText:"N\xE3o h\xE1 eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"},d={code:"pt",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seguinte",today:"Hoje",year:"Ano",month:"M\xEAs",week:"Semana",day:"Dia",list:"Agenda"},weekText:"Sem",allDayText:"Todo o dia",moreLinkText:"mais",noEventsText:"N\xE3o h\xE1 eventos para mostrar"},m={code:"ro",week:{dow:1,doy:7},buttonText:{prev:"precedent\u0103",next:"urm\u0103toare",today:"Azi",year:"An",month:"Lun\u0103",week:"S\u0103pt\u0103m\xE2n\u0103",day:"Zi",list:"Agend\u0103"},weekText:"S\u0103pt",allDayText:"Toat\u0103 ziua",moreLinkText(w){return"+alte "+w}
1,noEventsText:"Nu exist\u0103 evenimente de afi\u0219at"},E={code:"ru",week:{dow:1,doy:4},buttonText:{prev:"\u041F\u0440\u0435\u0434",next:"\u0421\u043B\u0435\u0434",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",year:"\u0413\u043E\u0434",month:"\u041C\u0435\u0441\u044F\u0446",week:"\u041D\u0435\u0434\u0435\u043B\u044F",day:"\u0414\u0435\u043D\u044C",list:"\u041F\u043E\u0432\u0435\u0441\u0442\u043A\u0430 \u0434\u043D\u044F"},weekText:"\u041D\u0435\u0434",allDayText:"\u0412\u0435\u0441\u044C \u0434\u0435\u043D\u044C",moreLinkText(w){return"+ \u0435\u0449\u0451 "+w},noEventsText:"\u041D\u0435\u0442 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F"},M={code:"si-lk",week:{dow:1,doy:4},buttonText:{prev:"\u0DB4\u0DD9\u0DBB",next:"\u0DB4\u0DC3\u0DD4",today:"\u0D85\u0DAF",year:"\u0D85\u0DC0\u0DD4\u0DBB\u0DD4\u0DAF\u0DD4",month:"\u0DB8\u0DCF\u0DC3\u0DBA",week:"\u0DC3\u0DAD\u0DD2\u0DBA",day:"\u0DAF\u0DC0\u0DC3",list:"\u0DBD\u0DD0\u0DBA\u0DD2\u0DC3\u0DCA\u0DAD\u0DD4\u0DC0"},weekText:"\u0DC3\u0DAD\u0DD2",allDayText:"\u0DC3\u0DD2\u0DBA\u0DBD\u0DD4",moreLinkText:"\u0DAD\u0DC0\u0DAD\u0DCA",noEventsText:"\u0DB8\u0DD4\u0D9A\u0DD4\u0DAD\u0DCA \u0DB1\u0DD0\u0DAD"},V={code:"sk",week:{dow:1,doy:4},buttonText:{prev:"Predch\xE1dzaj\xFAci",next:"Nasleduj\xFAci",today:"Dnes",year:"Rok",month:"Mesiac",week:"T\xFD\u017Ede\u0148",day:"De\u0148",list:"Rozvrh"},weekText:"Ty",allDayText:"Cel\xFD de\u0148",moreLinkText(w){return"+\u010Fal\u0161ie: "+w},noEventsText:"\u017Diadne akcie na zobrazenie"},I={code:"sl",week:{dow:1,doy:7},buttonText:{prev:"Prej\u0161nji",next:"Naslednji",today:"Trenutni",year:"Leto",month:"Mesec",week:"Teden",day:"Dan",list:"Dnevni red"},weekText:"Teden",allDayText:"Ves dan",moreLinkText:"ve\u010D",noEventsText:"Ni dogodkov za prikaz"},U={code:"sm",buttonText:{prev:"Talu ai",next:"Mulimuli atu",today:"Aso nei",year:"Tausaga",month:"Masina",week:"Vaiaso",day:"Aso",list:"Faasologa"},weekText:"Vaiaso",allDayText:"Aso atoa",moreLinkText:"sili atu",noEventsText:"Leai ni mea na tutupu"},Q={code:"sq",week:{dow:1,doy:4},buttonText:{prev:"mbrapa",next:"P\xEBrpara",today:"Sot",year:"Viti",month:"Muaj",week:"Jav\xEB",day:"Dit\xEB",list:"List\xEB"},weekText:"Ja",allDayText:"Gjith\xEB dit\xEBn",moreLinkText(w){return"+m\xEB tep\xEBr "+w},noEventsText:"Nuk ka evente p\xEBr t\xEB shfaqur"},K={code:"sr-cyrl",week:{dow:1,doy:7},buttonText:{prev:"\u041F\u0440\u0435\u0442\u0445\u043E\u0434\u043D\u0430",next:"\u0441\u043B\u0435\u0434\u0435\u045B\u0438",today:"\u0414\u0430\u043D\u0430\u0441",year:"\u0413\u043E\u0434\u0438\u043D\u0430",month:"\u041C\u0435\u0441\u0435\u0446",week:"\u041D\u0435\u0434\u0435\u0459\u0430",day:"\u0414\u0430\u043D",list:"\u041F\u043B\u0430\u043D\u0435\u0440"},weekText:"\u0421\u0435\u0434",allDayText:"\u0426\u0435\u043E \u0434\u0430\u043D",moreLinkText(w){return"+ \u0458\u043E\u0448 "+w},noEventsText:"\u041D\u0435\u043C\u0430 \u0434\u043E\u0433\u0430\u0452\u0430\u0458\u0430 \u0437\u0430 \u043F\u0440\u0438\u043A\u0430\u0437"},le={code:"sr",week:{dow:1,doy:7},buttonText:{prev:"Prethodna",next:"Sledec\u0301i",today:"Danas",year:"Godina",month:"M\u0435s\u0435c",week:"N\u0435d\u0435lja",day:"Dan",list:"Plan\u0435r"},weekText:"Sed",allDayText:"C\u0435o dan",moreLinkText(w){return"+ jo\u0161 "+w},noEventsText:"N\u0435ma doga\u0111aja za prikaz"},he={code:"sv",week:{dow:1,doy:4},buttonText:{prev:"F\xF6rra",next:"N\xE4sta",today:"Idag",year:"\xC5r",month:"M\xE5nad",week:"Vecka",day:"Dag",list:"Program"},buttonHints:{prev(w){return`F\xF6reg\xE5ende ${w.toLocaleLowerCase()}`},next(w){return`N\xE4sta ${w.toLocaleLowerCase()}`},today(w){return(w==="Program"?"Detta":"Denna")+" "+w.toLocaleLowerCase()}},viewHint:"$0 vy",navLinkHint:"G\xE5 till $0",moreLinkHint(w){return`Visa ytterligare ${w} h\xE4ndelse${w===1?"":"r"}`},weekText:"v.",weekTextLong:"Vecka",allDayText:"Heldag",moreLinkText:"till",noEventsText:"Inga h\xE4ndelser att visa",closeHint:"St\xE4ng",timeHint:"Klockan",eventHint:"H\xE4ndelse"},_e={code:"ta-in",week:{dow:1,doy:4}
1,buttonText:{prev:"\u0BAE\u0BC1\u0BA8\u0BCD\u0BA4\u0BC8\u0BAF",next:"\u0B85\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4\u0BA4\u0BC1",today:"\u0B87\u0BA9\u0BCD\u0BB1\u0BC1",year:"\u0B86\u0BA3\u0BCD\u0B9F\u0BC1",month:"\u0BAE\u0BBE\u0BA4\u0BAE\u0BCD",week:"\u0BB5\u0BBE\u0BB0\u0BAE\u0BCD",day:"\u0BA8\u0BBE\u0BB3\u0BCD",list:"\u0BA4\u0BBF\u0BA9\u0B9A\u0BB0\u0BBF \u0B85\u0B9F\u0BCD\u0B9F\u0BB5\u0BA3\u0BC8"},weekText:"\u0BB5\u0BBE\u0BB0\u0BAE\u0BCD",allDayText:"\u0BA8\u0BBE\u0BB3\u0BCD \u0BAE\u0BC1\u0BB4\u0BC1\u0BB5\u0BA4\u0BC1\u0BAE\u0BCD",moreLinkText(w){return"+ \u0BAE\u0BC7\u0BB2\u0BC1\u0BAE\u0BCD "+w},noEventsText:"\u0B95\u0BBE\u0BA3\u0BCD\u0BAA\u0BBF\u0B95\u0BCD\u0B95 \u0BA8\u0BBF\u0B95\u0BB4\u0BCD\u0BB5\u0BC1\u0B95\u0BB3\u0BCD \u0B87\u0BB2\u0BCD\u0BB2\u0BC8"},De={code:"th",week:{dow:1,doy:4},buttonText:{prev:"\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",next:"\u0E16\u0E31\u0E14\u0E44\u0E1B",prevYear:"\u0E1B\u0E35\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32",nextYear:"\u0E1B\u0E35\u0E16\u0E31\u0E14\u0E44\u0E1B",year:"\u0E1B\u0E35",today:"\u0E27\u0E31\u0E19\u0E19\u0E35\u0E49",month:"\u0E40\u0E14\u0E37\u0E2D\u0E19",week:"\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C",day:"\u0E27\u0E31\u0E19",list:"\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E01\u0E32\u0E23"},weekText:"\u0E2A\u0E31\u0E1B\u0E14\u0E32\u0E2B\u0E4C",allDayText:"\u0E15\u0E25\u0E2D\u0E14\u0E27\u0E31\u0E19",moreLinkText:"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21",noEventsText:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E01\u0E34\u0E08\u0E01\u0E23\u0E23\u0E21\u0E17\u0E35\u0E48\u0E08\u0E30\u0E41\u0E2A\u0E14\u0E07"},Me={code:"tr",week:{dow:1,doy:7},buttonText:{prev:"geri",next:"ileri",today:"bug\xFCn",year:"Y\u0131l",month:"Ay",week:"Hafta",day:"G\xFCn",list:"Ajanda"},weekText:"Hf",allDayText:"T\xFCm g\xFCn",moreLinkText:"daha fazla",noEventsText:"G\xF6sterilecek etkinlik yok"},v={code:"ug",buttonText:{prev:"\u0626\u0627\u0644\u062F\u0649\u0646\u0642\u0649",next:"\u0643\u06D0\u064A\u0649\u0646\u0643\u0649",today:"\u0628\u06C8\u06AF\u06C8\u0646",year:"\u064A\u0649\u0644",month:"\u0626\u0627\u064A",week:"\u06BE\u06D5\u067E\u062A\u06D5",day:"\u0643\u06C8\u0646",list:"\u0643\u06C8\u0646\u062A\u06D5\u0631\u062A\u0649\u067E"},allDayText:"\u067E\u06C8\u062A\u06C8\u0646 \u0643\u06C8\u0646"},C={code:"uk",week:{dow:1,doy:7},buttonText:{prev:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439",next:"\u0434\u0430\u043B\u0456",today:"\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456",year:"\u0440\u0456\u043A",month:"\u041C\u0456\u0441\u044F\u0446\u044C",week:"\u0422\u0438\u0436\u0434\u0435\u043D\u044C",day:"\u0414\u0435\u043D\u044C",list:"\u041F\u043E\u0440\u044F\u0434\u043E\u043A \u0434\u0435\u043D\u043D\u0438\u0439"},weekText:"\u0422\u0438\u0436",allDayText:"\u0423\u0432\u0435\u0441\u044C \u0434\u0435\u043D\u044C",moreLinkText(w){return"+\u0449\u0435 "+w+"..."},noEventsText:"\u041D\u0435\u043C\u0430\u0454 \u043F\u043E\u0434\u0456\u0439 \u0434\u043B\u044F \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F"},q={code:"uz-cy",week:{dow:1,doy:4},buttonText:{prev:"\u041E\u043B\u0438\u043D",next:"\u041A\u0435\u0439\u0438\u043D",today:"\u0411\u0443\u0433\u0443\u043D",month:"\u041E\u0439",week:"\u04B2\u0430\u0444\u0442\u0430",day:"\u041A\u0443\u043D",list:"\u041A\u0443\u043D \u0442\u0430\u0440\u0442\u0438\u0431\u0438"},weekText:"\u04B2\u0430\u0444\u0442\u0430",allDayText:"\u041A\u0443\u043D \u0431\u045E\u0439\u0438\u0447\u0430",moreLinkText(w){return"+ \u044F\u043D\u0430 "+w},noEventsText:"\u041A\u045E\u0440\u0441\u0430\u0442\u0438\u0448 \u0443\u0447\u0443\u043D \u0432\u043E\u049B\u0435\u0430\u043B\u0430\u0440 \u0439\u045E\u049B"},J={code:"uz",week:{dow:1,doy:4},buttonText:{prev:"Oldingi",next:"Keyingi",today:"Bugun",year:"Yil",month:"Oy",week:"Xafta",day:"Kun",list:"Kun tartibi"},allDayText:"Kun bo'yi",moreLinkText(w){return"+ yana "+w},noEventsText:"Ko'rsatish uchun voqealar yo'q"},ve={code:"vi",week:{dow:1,doy:4},buttonText:{prev:"Tr\u01B0\u1EDBc",next:"Ti\u1EBFp",today:"H\xF4m nay",year:"N\u0103m",month:"Th\xE1ng",week:"Tu\xE2\u0300n",day:"Ng\xE0y",list:"L\u1ECBch bi\u1EC3u"},weekText:"Tu",allDayText:"C\u1EA3 ng\xE0y",moreLinkText(w){return"+ th\xEAm "+w},noEventsText:"Kh\xF4ng c\xF3 s\u1EF1 ki\u1EC7n \u0111\u1EC3 hi\u1EC3n th\u1ECB"},ue={code:"zh-cn",week:{dow:1,doy:4},buttonText:{prev:"\u4E0A\u6708",next:"\u4E0B\u6708",today:"\u4ECA\u5929",year:"\u5E74",month:"\u6708",week:"\u5468",day:"\u65E5",list:"\u65E5\u7A0B"},weekText:"\u5468",allDayText:"\u5168\u5929",moreLinkText(w){return"\u53E6\u5916 "+w+" \u4E2A"},noEventsText:"\u6CA1\u6709\u4E8B\u4EF6\u663E\u793A"},Ie={code:"zh-tw",buttonText:{prev:"\u4E0A\u500B",next:"\u4E0B\u500B",today:"\u4ECA\u5929",year:"\u5E74",month:"\u6708",week:"\u9031",day:"\u5929",list:"\u6D3B\u52D5\u5217\u8868"},weekText:"\u9031",allDayText:"\u6574\u5929",moreLinkText:"\u986F\u793A\u66F4\u591A",noEventsText:"\u6C92\u6709\u4EFB\u4F55\u6D3B\u52D5"},at=[A,H,Oe,we,S,Ee,We,Je,Ge,ze,rt,it,Fe,gt,He,Se,Ye,ut,de,st,Pe,Qe,je,Ze,vt,qe,$e,dt,tt,ot,Le,Xe,G,Y,Z,ye,Be,F,f,_,R,$,u,h,b,L,z,x,ie,fe,W,ce,T,ge,se,te,pe,X,d,m,E,M,V,I,U,Q,K,le,he,_e,De,Me,v,C,q,J,ve,ue,Ie]}),97950:(function(Rt,ct,ke){ke.d(ct,{A:function(){return Oe}});var A=ke(67363),H=ke(78817),Oe=(0,A.i1)({name:"@fullcalendar/daygri
1d",initialView:"dayGridMonth",views:{dayGrid:{component:H.eu,dateProfileGeneratorClass:H.LH},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}})}),78817:(function(Rt,ct,ke){ke.d(ct,{LH:function(){return Z},WB:function(){return ye},Wt:function(){return Y},eu:function(){return G},o4:function(){return qe},t7:function(){return Xe},ve:function(){return Le}});var A=ke(29174),H=ke(50172);class Oe extends A.bc{constructor(){super(...arguments),this.headerElRef=(0,H._3)()}renderSimpleLayout(f,_){let{props:R,context:$}=this,u=[],h=(0,A.ca)($.options);return f&&u.push({type:"header",key:"header",isSticky:h,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:f}}),u.push({type:"body",key:"body",liquid:!0,chunk:{content:_}}),(0,H.n)(A.cq,{elClasses:["fc-daygrid"],viewSpec:$.viewSpec},(0,H.n)(A.bZ,{liquid:!R.isHeightAuto&&!R.forPrint,collapsibleWidth:R.forPrint,cols:[],sections:u}))}renderHScrollLayout(f,_,R,$){let u=this.context.pluginHooks.scrollGridImpl;if(!u)throw new Error("No ScrollGrid implementation");let{props:h,context:b}=this,L=!h.forPrint&&(0,A.ca)(b.options),z=!h.forPrint&&(0,A.c9)(b.options),x=[];return f&&x.push({type:"header",key:"header",isSticky:L,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:f}]}),x.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:_}]}),z&&x.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:A.c8}]}
1),(0,H.n)(A.cq,{elClasses:["fc-daygrid"],viewSpec:b.viewSpec},(0,H.n)(u,{liquid:!h.isHeightAuto&&!h.forPrint,forPrint:h.forPrint,collapsibleWidth:h.forPrint,colGroups:[{cols:[{span:R,minWidth:$}]}],sections:x}))}}function we(F,f){let _=[];for(let R=0;R<f;R+=1)_[R]=[];for(let R of F)_[R.row].push(R);return _}function S(F,f){let _=[];for(let R=0;R<f;R+=1)_[R]=[];for(let R of F)_[R.firstCol].push(R);return _}function Ee(F,f){let _=[];if(F){for(let R=0;R<f;R+=1)_[R]={affectedInstances:F.affectedInstances,isEvent:F.isEvent,segs:[]};for(let R of F.segs)_[R.row].segs.push(R)}else for(let R=0;R<f;R+=1)_[R]=null;return _}const We=(0,A.x)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function Je(F){let{display:f}=F.eventRange.ui;return f==="list-item"||f==="auto"&&!F.eventRange.def.allDay&&F.firstCol===F.lastCol&&F.isStart&&F.isEnd}class Ge extends A.B{render(){let{props:f}=this;return(0,H.n)(A.cg,Object.assign({},f,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:We,defaultDisplayEventEnd:f.defaultDisplayEventEnd,disableResizing:!f.seg.eventRange.def.allDay}))}}class ze extends A.B{render(){let{props:f,context:_}=this,{options:R}=_,{seg:$}=f,u=R.eventTimeFormat||We,h=(0,A.bO)($,u,_,!0,f.defaultDisplayEventEnd);return(0,H.n)(A.ck,Object.assign({}
1,f,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:(0,A.bS)(f.seg,_),defaultGenerator:rt,timeText:h,isResizing:!1,isDateSelecting:!1}))}}function rt(F){return(0,H.n)(H.FK,null,(0,H.n)("div",{className:"fc-daygrid-event-dot",style:{borderColor:F.borderColor||F.backgroundColor}}),F.timeText&&(0,H.n)("div",{className:"fc-event-time"},F.timeText),(0,H.n)("div",{className:"fc-event-title"},F.event.title||(0,H.n)(H.FK,null,"\xA0")))}class it extends A.B{constructor(){super(...arguments),this.compileSegs=(0,A.z)(Fe)}render(){let{props:f}=this,{allSegs:_,invisibleSegs:R}=this.compileSegs(f.singlePlacements);return(0,H.n)(A.co,{elClasses:["fc-daygrid-more-link"],dateProfile:f.dateProfile,todayRange:f.todayRange,allDayDate:f.allDayDate,moreCnt:f.moreCnt,allSegs:_,hiddenSegs:R,alignmentElRef:f.alignmentElRef,alignGridTop:f.alignGridTop,extraDateSpan:f.extraDateSpan,popoverContent:()=>{let $=(f.eventDrag?f.eventDrag.affectedInstances:null)||(f.eventResize?f.eventResize.affectedInstances:null)||{};return(0,H.n)(H.FK,null,_.map(u=>{let h=u.eventRange.instance.instanceId;return(0,H.n)("div",{className:"fc-daygrid-event-harness",key:h,style:{visibility:$[h]?"hidden":""}},Je(u)?(0,H.n)(ze,Object.assign({seg:u,isDragging:!1,isSelected:h===f.eventSelection,defaultDisplayEventEnd:!1},(0,A.bQ)(u,f.todayRange))):(0,H.n)(Ge,Object.assign({seg:u,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:h===f.eventSelection,defaultDisplayEventEnd:!1},(0,A.bQ)(u,f.todayRange))))}))}})}}function Fe(F){let f=[],_=[];for(let R of F)f.push(R.seg),R.isVisible||_.push(R.seg);return{allSegs:f,invisibleSegs:_}}const gt=(0,A.x)({week:"narrow"});class He extends A.bc{constructor(){super(...arguments),this.rootElRef=(0,H._3)(),this.state={dayNumberId:(0,A.a3)()},this.handleRootEl=f=>{(0,A.W)(this.rootElRef,f),(0,A.W)(this.props.elRef,f)}}render(){let{context:f,props:_,state:R,rootElRef:$}=this,{options:u,dateEnv:h}=f,{date:b,dateProfile:L}=_;const z=_.showDayNumber&&j(b,L.currentRange,h);return(0,H.n)(A.ci,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygri
1d-day",..._.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},_.extraDataAttrs),_.showDayNumber?{"aria-labelledby":R.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:Se,date:b,dateProfile:L,todayRange:_.todayRange,showDayNumber:_.showDayNumber,isMonthStart:z,extraRenderProps:_.extraRenderProps},(x,ie)=>(0,H.n)("div",{ref:_.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:_.minHeight}},_.showWeekNumber&&(0,H.n)(A.cn,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:(0,A.a_)(f,b,"week"),date:b,defaultFormat:gt}),!ie.isDisabled&&(_.showDayNumber||(0,A.cj)(u)||_.forceDayTop)?(0,H.n)("div",{className:"fc-daygrid-day-top"},(0,H.n)(x,{elTag:"a",elClasses:["fc-daygrid-day-number",z&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},(0,A.a_)(f,b)),{id:R.dayNumberId})})):_.showDayNumber?(0,H.n)("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},(0,H.n)("a",{className:"fc-daygrid-day-number"},"\xA0")):void 0,(0,H.n)("div",{className:"fc-daygrid-day-events",ref:_.fgContentElRef},_.fgContent,(0,H.n)("div",{className:"fc-daygrid-day-bottom",style:{marginTop:_.moreMarginTop}},(0,H.n)(it,{allDayDate:b,singlePlacements:_.singlePlacements,moreCnt:_.moreCnt,alignmentElRef:$,alignGridTop:!_.showDayNumber,extraDateSpan:_.extraDateSpan,dateProfile:_.dateProfile,eventSelection:_.eventSelection,eventDrag:_.eventDrag,eventResize:_.eventResize,todayRange:_.todayRange}))),(0,H.n)("div",{className:"fc-daygrid-day-bg"},_.bgContent)))}}function Se(F){return F.dayNumberText||(0,H.n)(H.FK,null,"\xA0")}function j(F,f,_){const{start:R,end:$}=f,u=(0,A.be)($,-1),h=_.getYear(R),b=_.getMonth(R),L=_.getYear(u),z=_.getMonth(u);return!(h===L&&b===z)&&(F.valueOf()===R.valueOf()||_.getDay(F)===1&&F.valueOf()<$.valueOf())}function Ye(F){return F.eventRange.instance.instanceId+":"+F.firstCol}function et(F){return Ye(F)+":"+F.lastCol}function ut(F,f,_,R,$,u,h){let b=new Qe(se=>{let te=F[se.index].eventRange.instance.instanceId+":"+se.span.start+":"+(se.span.end-1);return $[te]||1});b.allowReslicing=!0,b.strictOrder=R,f===!0||_===!0?(b.maxCoord=u,b.hiddenConsumes=!0):typeof f=="number"?b.maxStackCnt=f:typeof _=="number"&&(b.maxStackCnt=_,b.hiddenConsumes=!0);let L=[],z=[];for(let se=0;se<F.length;se+=1){let te=F[se],pe=et(te);$[pe]!=null?L.push({index:se,span:{start:te.firstCol,end:te.lastCol+1}}):z.push(te)}let x=b.addSegs(L),ie=b.toRects(),{singleColPlacements:fe,multiColPlacements:W,leftoverMargins:ce}=de(ie,F,h),T=[],ge=[];for(let se of z){W[se.firstCol].push({seg:se,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let te=se.firstCol;te<=se.lastCol;te+=1)fe[te].push({seg:Pe(se,te,te+1,h),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let se=0;se<h.length;se+=1)T.push(0);for(let se of x){let te=F[se.index],pe=se.span;W[pe.start].push({seg:Pe(te,pe.start,pe.end,h),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let X=pe.start;X<pe.end;X+=1)T[X]+=1,fe[X].push({seg:Pe(te,X,X+1,h),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let se=0;se<h.length;se+=1)ge.push(ce[se]);return{singleColPlacements:fe,multiColPlacements:W,moreCnts:T,moreMarginTops:ge}}function de(F,f,_){let R=st(F,_.length),$=[],u=[],h=[];for(let b=0;b<_.length;b+=1){let L=R[b],z=[],x=0,ie=0;for(let W of L){let ce=f[W.index];z.push({seg:Pe(ce,b,b+1,_),isVisible:!0,isAbsolute:!1,absoluteTop:W.levelCoord,marginTop:W.levelCoord-x}),x=W.levelCoord+W.thickness}let fe=[];x=0,ie=0;for(let W of L){let ce=f[W.index],T=W.span.end-W.span.start>1,ge=W.span.start===b;ie+=W.levelCoord-x,x=W.levelCoord+W.thickness,T?(ie+=W.thickness,ge&&fe.push({seg:Pe(ce,W.span.start,W.span.end,_),isVisible:!0,isAbsolute:!0,absoluteTop:W.levelCoord,marginTop:0})):ge&&(fe.push({seg:Pe(ce,W.span.start,W.span.end,_),isVisible:!0,isAbsolute:!1,absoluteTop:W.levelCoord,marginTop:ie}),ie=0)}$.push(z),u.push(fe),h.push(ie)}return{singleColPlacements:$,multiColPlacements:u,leftoverMargins:h}}function st(F,f){let _=[];for(let R=0;R<f;R+=1)_.push([]);for(let R of F)for(let $=R.span.start;$<R.span.end;$+=1)_[$].push(R);return _}function Pe(F,f,_,R){if(F.firstCol===f&&F.lastCol===_-1)return F;let $=F.eventRange,u=$.range,h=(0,A.o)(u,{start:R[f].date,end:(0,A.t)(R[_-1].date,1)});return Object.assign(Object.assign({},F),{firstCol:f,lastCol:_-1,eventRange:{def:$.def,ui:Object.assign(Object.assign({},$.ui),{durationEditable:!1}),instance:$.instance,range:h},isStart:F.isStart&&h.start.valueOf()===u.start.valueOf(),isEnd:F.isEnd&&h.end.valueOf()===u.end.valueOf()})}class Qe extends A.by{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(f){const _=super.addSegs(f),{entriesByLevel:R}=this,$=u=>!this.forceHidden[(0,A.bz)(u)];for(let u=0;u<R.length;u+=1)R[u]=R[u].filter($);return _}handleInvalidInsertion(f,_,R){const{entriesByLevel:$,forceHidden:u}=this,{touchingEntry:h,touchingLevel:b,touchingLateral:L}=f;if(this.hiddenConsumes&&h){const z=(0,A.bz)(h);if(!u[z])if(this.allowReslicing){const x=Object.assign(Object.assign({},h),{span:(0,A.bD)(h.span,_.span)}),ie=(0,A.bz)(x);u[ie]=!0,$[b][L]=x,R.push(x),this.splitEntry(h,_,R)}else u[z]=!0,R.push(h)}super.handleInvalidInsertion(f,_,R)}}class je extends A.bc{constructor(){super(...arguments),this.cellElRefs=new A.cd,this.frameElRefs=new A.cd,this.fgElRefs=new A.cd,this.segHarnessRefs=new A.cd,this.rootElRef=(0,H._3)(),this.state={framePositions:null,maxContentHeight:null,segHeights:{}},this.handleResize=f=>{f&&this.updateSizing(!0)}}render(){let{props:f,state:_,context:R}=this,{options:$}=R,u=f.cells.length,h=S(f.businessHourSegs,u),b=S(f.bgEventSegs,u),L=S(this.getHighlightSegs(),u),z=S(this.getMirrorSegs(),u),{singleColPlacements:x,multiColPlacements:ie,moreCnts:fe,moreMarginTops:W}=ut((0,A.bP)(f.fgEventSegs,$.eventOrder),f.dayMaxEvents,f.dayMaxEventRows,$.eventOrderStrict,_.segHeights,_.maxContentHeight,f.cells),ce=f.eventDrag&&f.eventDrag.affectedInstances||f.eventResize&&f.eventResize.affectedInstances||{};return(0,H.n)("tr",{ref:this.rootElRef,role:"row"},f.renderIntro&&f.renderIntro(),f.cells.map((T,ge)=>{let se=this.renderFgSegs(ge,f.forPrint?x[ge]:ie[ge],f.todayRange,ce),te=this.renderFgSegs(ge,Ze(z[ge],ie),f.todayRange,{},!!f.eventDrag,!!f.eventResize,!1);return(0,H.n)(He,{key:T.key,elRef:this.cellElRefs.createRef(T.key),innerElRef:this.frameElRefs.createRef(T.key),dateProfile:f.dateProfile,date:T.date,showDayNumber:f.showDayNumbers,showWeekNumber:f.showWeekNumbers&&ge===0,forceDayTop:f.showWeekNumbers,todayRange:f.todayRange,eventSelection:f.eventSelection,eventDrag:f.eventDrag,eventResize:f.eventResize,extraRenderProps:T.extraRenderProps,extraDataAttrs:T.extraDataAttrs,extraClassNames:T.extraClassNames,extraDateSpan:T.extraDateSpan,moreCnt:fe[ge],moreMarginTop:W[ge],singlePlacements:x[ge],fgContentElRef:this.fgElRefs.createRef(T.key),fgContent:(0,H.n)(H.FK,null,(0,H.n)(H.FK,null,se),(0,H.n)(H.FK,null,te)),bgContent:(0,H.n)(H.FK,null,this.renderFillSegs(L[ge],"highlight"),this.renderFillSegs(h[ge],"non-business"),this.renderFillSegs(b[ge],"bg-event")),minHeight:f.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(f,_){let R=this.props;this.updateSizing(!(0,A.E)(f,R))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:f}=this;return f.eventDrag&&f.eventDrag.segs.length?f.eventDrag.segs:f.eventResize&&f.eventResize.segs.length?f.eventResize.segs:f.dateSelectionSegs}getMirrorSegs(){let{props:f}=this;return f.eventResize&&f.eventResize.segs.length?f.eventResize.segs:[]}
1renderFgSegs(f,_,R,$,u,h,b){let{context:L}=this,{eventSelection:z}=this.props,{framePositions:x}=this.state,ie=this.props.cells.length===1,fe=u||h||b,W=[];if(x)for(let ce of _){let{seg:T}=ce,{instanceId:ge}=T.eventRange.instance,se=ce.isVisible&&!$[ge],te=ce.isAbsolute,pe="",X="";te&&(L.isRtl?(X=0,pe=x.lefts[T.lastCol]-x.lefts[T.firstCol]):(pe=0,X=x.rights[T.firstCol]-x.rights[T.lastCol])),W.push((0,H.n)("div",{className:"fc-daygrid-event-harness"+(te?" fc-daygrid-event-harness-abs":""),key:Ye(T),ref:fe?null:this.segHarnessRefs.createRef(et(T)),style:{visibility:se?"":"hidden",marginTop:te?"":ce.marginTop,top:te?ce.absoluteTop:"",left:pe,right:X}},Je(T)?(0,H.n)(ze,Object.assign({seg:T,isDragging:u,isSelected:ge===z,defaultDisplayEventEnd:ie},(0,A.bQ)(T,R))):(0,H.n)(Ge,Object.assign({seg:T,isDragging:u,isResizing:h,isDateSelecting:b,isSelected:ge===z,defaultDisplayEventEnd:ie},(0,A.bQ)(T,R)))))}return W}renderFillSegs(f,_){let{isRtl:R}=this.context,{todayRange:$}=this.props,{framePositions:u}=this.state,h=[];if(u)for(let b of f){let L=R?{right:0,left:u.lefts[b.lastCol]-u.lefts[b.firstCol]}:{left:0,right:u.rights[b.firstCol]-u.rights[b.lastCol]};h.push((0,H.n)("div",{key:(0,A.bR)(b.eventRange),className:"fc-daygrid-bg-harness",style:L},_==="bg-event"?(0,H.n)(A.cm,Object.assign({seg:b},(0,A.bQ)(b,$))):(0,A.cl)(_)))}return(0,H.n)(H.FK,{},...h)}updateSizing(f){let{props:_,state:R,frameElRefs:$}=this;if(!_.forPrint&&_.clientWidth!==null){if(f){let L=_.cells.map(z=>$.currentMap[z.key]);if(L.length){let z=this.rootElRef.current,x=new A.b8(z,L,!0,!1);(!R.framePositions||!R.framePositions.similarTo(x))&&this.setState({framePositions:new A.b8(z,L,!0,!1)})}}const u=this.state.segHeights,h=this.querySegHeights(),b=_.dayMaxEvents===!0||_.dayMaxEventRows===!0;this.safeSetState({segHeights:Object.assign(Object.assign({},u),h),maxContentHeight:b?this.computeMaxContentHeight():null})}}querySegHeights(){let f=this.segHarnessRefs.currentMap,_={};for(let R in f){let $=Math.round(f[R].getBoundingClientRect().height);_[R]=Math.max(_[R]||0,$)}return _}computeMaxContentHeight(){let f=this.props.cells[0].key,_=this.cellElRefs.currentMap[f],R=this.fgElRefs.currentMap[f];return _.getBoundingClientRect().bottom-R.getBoundingClientRect().top}getCellEls(){let f=this.cellElRefs.currentMap;return this.props.cells.map(_=>f[_.key])}}je.addStateEquality({segHeights:A.E});function Ze(F,f){if(!F.length)return[];let _=vt(f);return F.map(R=>({seg:R,isVisible:!0,isAbsolute:!0,absoluteTop:_[R.eventRange.instance.instanceId],marginTop:0}))}function vt(F){let f={};for(let _ of F)for(let R of _)f[R.seg.eventRange.instance.instanceId]=R.absoluteTop;return f}class qe extends A.bc{constructor(){super(...arguments),this.splitBusinessHourSegs=(0,A.z)(we),this.splitBgEventSegs=(0,A.z)($e),this.splitFgEventSegs=(0,A.z)(we),this.splitDateSelectionSegs=(0,A.z)(we),this.splitEventDrag=(0,A.z)(Ee),this.splitEventResize=(0,A.z)(Ee),this.rowRefs=new A.cd}render(){let{props:f,context:_}=this,R=f.cells.length,$=this.splitBusinessHourSegs(f.businessHourSegs,R),u=this.splitBgEventSegs(f.bgEventSegs,R),h=this.splitFgEventSegs(f.fgEventSegs,R),b=this.splitDateSelectionSegs(f.dateSelectionSegs,R),L=this.splitEventDrag(f.eventDrag,R),z=this.splitEventResize(f.eventResize,R),x=R>=7&&f.clientWidth?f.clientWidth/_.options.aspectRatio/6:null;return(0,H.n)(A.a6,{unit:"day"},(ie,fe)=>(0,H.n)(H.FK,null,f.cells.map((W,ce)=>(0,H.n)(je,{ref:this.rowRefs.createRef(ce),key:W.length?W[0].date.toISOString():ce,showDayNumbers:R>1,showWeekNumbers:f.showWeekNumbers,todayRange:fe,dateProfile:f.dateProfile,cells:W,renderIntro:f.renderRowIntro,businessHourSegs:$[ce],eventSelection:f.eventSelection,bgEventSegs:u[ce],fgEventSegs:h[ce],dateSelectionSegs:b[ce],eventDrag:L[ce],eventResize:z[ce],dayMaxEvents:f.dayMaxEvents,dayMaxEventRows:f.dayMaxEventRows,clientWidth:f.clientWidth,clientHeight:f.clientHeight,cellMinHeight:x,forPrint:f.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){const f=this.rowRefs.currentMap[0].getCellEls()[0],_=f?f.closest(".fc-daygri
1d-body"):null;_&&(this.rootEl=_,this.context.registerInteractiveComponent(this,{el:_,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new A.b8(this.rootEl,this.rowRefs.collect().map(f=>f.getCellEls()[0]),!1,!0),this.colPositions=new A.b8(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(f,_){let{colPositions:R,rowPositions:$}=this,u=R.leftToIndex(f),h=$.topToIndex(_);if(h!=null&&u!=null){let b=this.props.cells[h][u];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(h,u),allDay:!0},b.extraDateSpan),dayEl:this.getCellEl(h,u),rect:{left:R.lefts[u],right:R.rights[u],top:$.tops[h],bottom:$.bottoms[h]},layer:0}}return null}getCellEl(f,_){return this.rowRefs.currentMap[f].getCellEls()[_]}getCellRange(f,_){let R=this.props.cells[f][_].date,$=(0,A.t)(R,1);return{start:R,end:$}}}function $e(F,f){return we(F.filter(dt),f)}function dt(F){return F.eventRange.def.allDay}class tt extends A.bc{constructor(){super(...arguments),this.elRef=(0,H._3)(),this.needsScrollReset=!1}render(){let{props:f}=this,{dayMaxEventRows:_,dayMaxEvents:R,expandRows:$}=f,u=R===!0||_===!0;u&&!$&&(u=!1,_=null,R=null);
1let h=["fc-daygrid-body",u?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",$?"":"fc-daygrid-body-natural"];return(0,H.n)("div",{ref:this.elRef,className:h.join(" "),style:{width:f.clientWidth,minWidth:f.tableMinWidth}},(0,H.n)("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:f.clientWidth,minWidth:f.tableMinWidth,height:$?f.clientHeight:""}},f.colGroupNode,(0,H.n)("tbody",{role:"presentation"},(0,H.n)(qe,{dateProfile:f.dateProfile,cells:f.cells,renderRowIntro:f.renderRowIntro,showWeekNumbers:f.showWeekNumbers,clientWidth:f.clientWidth,clientHeight:f.clientHeight,businessHourSegs:f.businessHourSegs,bgEventSegs:f.bgEventSegs,fgEventSegs:f.fgEventSegs,dateSelectionSegs:f.dateSelectionSegs,eventSelection:f.eventSelection,eventDrag:f.eventDrag,eventResize:f.eventResize,dayMaxEvents:R,dayMaxEventRows:_,forPrint:f.forPrint,isHitComboAllowed:f.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(f){f.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const f=ot(this.elRef.current,this.props.dateProfile);if(f){const _=f.closest(".fc-daygrid-body"),R=_.closest(".fc-scroller"),$=f.getBoundingClientRect().top-_.getBoundingClientRect().top;R.scrollTop=$?$+1:0}this.needsScrollReset=!1}}}function ot(F,f){let _;return f.currentRangeUnit.match(/year|month/)&&(_=F.querySelector(`[data-date="${(0,A.bv)(f.currentDate)}-01"]`)),_||(_=F.querySelector(`[data-date="${(0,A.bt)(f.currentDate)}"]`)),_}class Le extends A.bU{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(f,_){return _.sliceRange(f)}}class Xe extends A.bc{constructor(){super(...arguments),this.slicer=new Le,this.tableRef=(0,H._3)()}render(){let{props:f,context:_}=this;return(0,H.n)(tt,Object.assign({ref:this.tableRef},this.slicer.sliceProps(f,f.dateProfile,f.nextDayThreshold,_,f.dayTableModel),{dateProfile:f.dateProfile,cells:f.dayTableModel.cells,colGroupNode:f.colGroupNode,tableMinWidth:f.tableMinWidth,renderRowIntro:f.renderRowIntro,dayMaxEvents:f.dayMaxEvents,dayMaxEventRows:f.dayMaxEventRows,showWeekNumbers:f.showWeekNumbers,expandRows:f.expandRows,headerAlignElRef:f.headerAlignElRef,clientWidth:f.clientWidth,clientHeight:f.clientHeight,forPrint:f.forPrint}))}}class G extends Oe{constructor(){super(...arguments),this.buildDayTableModel=(0,A.z)(Y),this.headerRef=(0,H._3)(),this.tableRef=(0,H._3)()}render(){let{options:f,dateProfileGenerator:_}=this.context,{props:R}=this,$=this.buildDayTableModel(R.dateProfile,_),u=f.dayHeaders&&(0,H.n)(A.bI,{ref:this.headerRef,dateProfile:R.dateProfile,dates:$.headerDates,datesRepDistinctDays:$.rowCnt===1}),h=b=>(0,H.n)(Xe,{ref:this.tableRef,dateProfile:R.dateProfile,dayTableModel:$,businessHours:R.businessHours,dateSelection:R.dateSelection,eventStore:R.eventStore,eventUiBases:R.eventUiBases,eventSelection:R.eventSelection,eventDrag:R.eventDrag,eventResize:R.eventResize,nextDayThreshold:f.nextDayThreshold,colGroupNode:b.tableColGroupNode,tableMinWidth:b.tableMinWidth,dayMaxEvents:f.dayMaxEvents,dayMaxEventRows:f.dayMaxEventRows,showWeekNumbers:f.weekNumbers,expandRows:!R.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:b.clientWidth,clientHeight:b.clientHeight,forPrint:R.forPrint});return f.dayMinWidth?this.renderHScrollLayout(u,h,$.colCnt,f.dayMinWidth):this.renderSimpleLayout(u,h)}}function Y(F,f){let _=new A.bM(F.renderRange,f);return new A.bT(_,/year|month|week/.test(F.currentRangeUnit))}class Z extends A.R{buildRenderRange(f,_,R){let $=super.buildRenderRange(f,_,R),{props:u}=this;return ye({currentRange:$,snapToWeek:/^(year|month)$/.test(_),fixedWeekCount:u.fixedWeekCount,dateEnv:u.dateEnv})}}function ye(F){let{dateEnv:f,currentRange:_}=F,{start:R,end:$}=_,u;if(F.snapToWeek&&(R=f.startOfWeek(R),u=f.startOfWeek($),u.valueOf()!==$.valueOf()&&($=(0,A.bf)(u,1))),F.fixedWeekCount){let h=f.startOfWeek(f.startOfMonth((0,A.t)(_.end,-1))),b=Math.ceil((0,A.bg)(h,$));$=(0,A.bf)($,6-b)}return{start:R,end:$}}var Be
vendor: 3,524 bytes, line 1
1=':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-month-start{font-size:1.1em;font-weight:700}.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;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.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-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.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}';
1(0,A.ct)(Be)}),38680:(function(Rt,ct,ke){ke.d(ct,{Ay:function(){return pe}});var A,H,Oe,we,S,Ee,We,Je,Ge,ze,rt,it,Fe,gt,He,Se=ke(67363),j=ke(29174);j.bG.touchMouseIgnoreWait=500;let Ye=0,et=0,ut=!1;class de{constructor(d){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=m=>{if(!this.shouldIgnoreMouse()&&st(m)&&this.tryStart(m)){let E=this.createEventFromMouse(m,!0);this.emitter.trigger("pointerdown",E),this.initScrollWatch(E),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=m=>{let E=this.createEventFromMouse(m);this.recordCoords(E),this.emitter.trigger("pointermove",E)},this.handleMouseUp=m=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(m)),this.cleanup()},this.handleTouchStart=m=>{if(this.tryStart(m)){this.isTouchDragging=!0;let E=this.createEventFromTouch(m,!0);this.emitter.trigger("pointerdown",E),this.initScrollWatch(E);let M=m.target;this.shouldIgnoreMove||M.addEventListener("touchmove",this.handleTouchMove),M.addEventListener("touchend",this.handleTouchEnd),M.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=m=>{let E=this.createEventFromTouch(m);this.recordCoords(E),this.emitter.trigger("pointermove",E)},this.handleTouchEnd=m=>{if(this.isDragging){let E=m.target;E.removeEventListener("touchmove",this.handleTouchMove),E.removeEventListener("touchend",this.handleTouchEnd),E.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(m)),this.cleanup(),this.isTouchDragging=!1,Pe()}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=m=>{if(!this.shouldIgnoreMove){let E=window.scrollX-this.prevScrollX+this.prevPageX,M=window.scrollY-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:m,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:E,pageY:M,deltaX:E-this.origPageX,deltaY:M-this.origPageY})}},this.containerEl=d,this.emitter=new j.F,d.addEventListener("mousedown",this.handleMouseDown),d.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),Qe()}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),je()}tryStart(d){let m=this.querySubjectEl(d),E=d.target;return m&&(!this.handleSelector||(0,j.Z)(E,this.handleSelector))?(this.subjectEl=m,this.isDragging=!0,this.wasTouchScroll=!1,!0):!1}cleanup(){ut=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(d){return this.selector?(0,j.Z)(d.target,this.selector):this.containerEl}shouldIgnoreMouse(){return Ye||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(ut=!0)}initScrollWatch(d){this.shouldWatchScroll&&(this.recordCoords(d),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(d){this.shouldWatchScroll&&(this.prevPageX=d.pageX,this.prevPageY=d.pageY,this.prevScrollX=window.scrollX,this.prevScrollY=window.scrollY)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(d,m){let E=0,M=0;return m?(this.origPageX=d.pageX,this.origPageY=d.pageY):(E=d.pageX-this.origPageX,M=d.pageY-this.origPageY),{origEvent:d,isTouch:!1,subjectEl:this.subjectEl,pageX:d.pageX,pageY:d.pageY,deltaX:E,deltaY:M}}createEventFromTouch(d,m){let E=d.touches,M,V,I=0,U=0;return E&&E.length?(M=E[0].pageX,V=E[0].pageY):(M=d.pageX,V=d.pageY),m?(this.origPageX=M,this.origPageY=V):(I=M-this.origPageX,U=V-this.origPageY),{origEvent:d,isTouch:!0,subjectEl:this.subjectEl,pageX:M,pageY:V,deltaX:I,deltaY:U}}}function st(X){return X.button===0&&!X.ctrlKey}function Pe(){Ye+=1,setTimeout(()=>{Ye-=1},j.bG.touchMouseIgnoreWait)}function Qe(){et+=1,et===1&&window.addEventListener("touchmove",Ze,{passive:!1})}function je(){et-=1,et||window.removeEventListener("touchmove",Ze,{passive:!1})}function Ze(X){ut&&X.preventDefault()}class vt{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(d,m,E){this.sourceEl=d,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=m-window.scrollX,this.origScreenY=E-window.scrollY,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(d,m){this.deltaX=d-window.scrollX-this.origScreenX,this.deltaY=m-window.scrollY-this.origScreenY,this.updateElPosition()}setIsVisible(d){d?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=d,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=d)}stop(d,m){let E=()=>{this.cleanup(),m()};d&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(E,this.revertDuration):setTimeout(E,0)}doRevertAnimation(d,m){let E=this.mirrorEl,M=this.sourceEl.getBoundingClientRect();E.style.transition="top "+m+"ms,left "+m+"ms",(0,j.aN)(E,{left:M.left,top:M.top}),(0,j.b0)(E,()=>{E.style.transition="",d()})}cleanup(){this.mirrorEl&&((0,j.aM)(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&(0,j.aN)(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let d=this.sourceElRect,m=this.mirrorEl;return m||(m=this.mirrorEl=this.sourceEl.cloneNode(!0),m.style.userSelect="none",m.style.webkitUserSelect="none",m.style.pointerEvents="none",m.classList.add("fc-event-dragging"),(0,j.aN)(m,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:d.right-d.left,height:d.bottom-d.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(m)),m}}class qe extends j.b9{constructor(d,m){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=d,this.doesListening=m,this.scrollTop=this.origScrollTop=d.getScrollTop(),this.scrollLeft=this.origScrollLeft=d.getScrollLeft(),this.scrollWidth=d.getScrollWidth(),this.scrollHeight=d.getScrollHeight(),this.clientWidth=d.getClientWidth(),this.clientHeight=d.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(d){this.scrollController.setScrollTop(d),this.doesListening||(this.scrollTop=Math.max(Math.min(d,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(d){this.scrollController.setScrollLeft(d),this.doesListening||(this.scrollLeft=Math.max(Math.min(d,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class $e extends qe{constructor(d,m){super(new j.ba(d),m)}getEventTarget(){return this.scrollController.el}computeClientRect(){return(0,j.b1)(this.scrollController.el)}}class dt extends qe{constructor(d){super(new j.bb,d)}getEventTarget(){return window}
vendor: 1,869 bytes, line 1
1computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}const tt=typeof performance=="function"?performance.now:Date.now;class ot{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 d=this.computeBestEdge(this.pointerScreenX+window.scrollX,this.pointerScreenY+window.scrollY);if(d){let m=tt();this.handleSide(d,(m-this.msSinceRequest)/1e3),this.requestAnimation(m)}else this.isAnimating=!1}}}start(d,m,E){this.isEnabled&&(this.scrollCaches=this.buildCaches(E),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(d,m))}handleMove(d,m){if(this.isEnabled){let E=d-window.scrollX,M=m-window.scrollY,V=this.pointerScreenY===null?0:M-this.pointerScreenY,I=this.pointerScreenX===null?0:E-this.pointerScreenX;V<0?this.everMovedUp=!0:V>0&&(this.everMovedDown=!0),I<0?this.everMovedLeft=!0:I>0&&(this.everMovedRight=!0),this.pointerScreenX=E,this.pointerScreenY=M,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(tt()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let d of this.scrollCaches)d.destroy();this.scrollCaches=null}}requestAnimation(d){this.msSinceRequest=d,requestAnimationFrame(this.animate)}handleSide(d,m){let{scrollCache:E}=d,{edgeThreshold:M}=this,V=M-d.distance,I=V*V/(M*M)*this.maxVelocity*m,U=1;switch(d.name){case"left":U=-1;case"right":E.setScrollLeft(E.getScrollLeft()+I*U);break;case"top":U=-1;
1case"bottom":E.setScrollTop(E.getScrollTop()+I*U);break}}computeBestEdge(d,m){let{edgeThreshold:E}=this,M=null,V=this.scrollCaches||[];for(let I of V){let U=I.clientRect,Q=d-U.left,K=U.right-d,le=m-U.top,he=U.bottom-m;Q>=0&&K>=0&&le>=0&&he>=0&&(le<=E&&this.everMovedUp&&I.canScrollUp()&&(!M||M.distance>le)&&(M={scrollCache:I,name:"top",distance:le}),he<=E&&this.everMovedDown&&I.canScrollDown()&&(!M||M.distance>he)&&(M={scrollCache:I,name:"bottom",distance:he}),Q<=E&&this.everMovedLeft&&I.canScrollLeft()&&(!M||M.distance>Q)&&(M={scrollCache:I,name:"left",distance:Q}),K<=E&&this.everMovedRight&&I.canScrollRight()&&(!M||M.distance>K)&&(M={scrollCache:I,name:"right",distance:K}))}return M}buildCaches(d){return this.queryScrollEls(d).map(m=>m===window?new dt(!1):new $e(m,!1))}queryScrollEls(d){let m=[];for(let E of this.scrollQuery)typeof E=="object"?m.push(E):m.push(...Array.prototype.slice.call(d.getRootNode().querySelectorAll(E)));return m}}class Le extends j.bF{constructor(d,m){super(d),this.containerEl=d,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=M=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,(0,j.ap)(document.body),(0,j.ar)(document.body),M.isTouch||M.origEvent.preventDefault(),this.emitter.trigger("pointerdown",M),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(M.subjectEl,M.pageX,M.pageY),this.startDelay(M),this.minDistance||this.handleDistanceSurpassed(M)))},this.onPointerMove=M=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",M),!this.isDistanceSurpassed){let V=this.minDistance,I,{deltaX:U,deltaY:Q}=M;I=U*U+Q*Q,I>=V*V&&this.handleDistanceSurpassed(M)}this.isDragging&&(M.origEvent.type!=="scroll"&&(this.mirror.handleMove(M.pageX,M.pageY),this.autoScroller.handleMove(M.pageX,M.pageY)),this.emitter.trigger("dragmove",M))}},this.onPointerUp=M=>{this.isInteracting&&(this.isInteracting=!1,(0,j.aq)(document.body),(0,j.as)(document.body),this.emitter.trigger("pointerup",M),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(M)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let E=this.pointer=new de(d);E.emitter.on("pointerdown",this.onPointerDown),E.emitter.on("pointermove",this.onPointerMove),E.emitter.on("pointerup",this.onPointerUp),m&&(E.selector=m),this.mirror=new vt,this.autoScroller=new ot}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(d){typeof this.delay=="number"?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(d)},this.delay):this.handleDelayEnd(d)}handleDelayEnd(d){this.isDelayEnded=!0,this.tryStartDrag(d)}handleDistanceSurpassed(d){this.isDistanceSurpassed=!0,this.tryStartDrag(d)}tryStartDrag(d){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(d.pageX,d.pageY,this.containerEl),this.emitter.trigger("dragstart",d),this.touchScrollAllowed===!1&&this.pointer.cancelTouchScroll())}tryStopDrag(d){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,d))}stopDrag(d){this.isDragging=!1,this.emitter.trigger("dragend",d)}setIgnoreMove(d){this.pointer.shouldIgnoreMove=d}setMirrorIsVisible(d){this.mirror.setIsVisible(d)}setMirrorNeedsRevert(d){this.mirrorNeedsRevert=d}setAutoScrollEnabled(d){this.autoScroller.isEnabled=d}}class Xe{constructor(d){this.el=d,this.origRect=(0,j.b4)(d),this.scrollCaches=(0,j.b3)(d).map(m=>new $e(m,!0))}destroy(){for(let d of this.scrollCaches)d.destroy()}computeLeft(){let d=this.origRect.left;for(let m of this.scrollCaches)d+=m.origScrollLeft-m.getScrollLeft();return d}computeTop(){let d=this.origRect.top;for(let m of this.scrollCaches)d+=m.origScrollTop-m.getScrollTop();return d}isWithinClipping(d,m){let E={left:d,top:m};for(let M of this.scrollCaches)if(!G(M.getEventTarget())&&!(0,j.aD)(E,M.clientRect))return!1;return!0}}function G(X){let d=X.tagName;return d==="HTML"||d==="BODY"}class Y{constructor(d,m){this.useSubjectCenter=!1,this.requireInitial=!0,this.disablePointCheck=!1,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=E=>
1{let{dragging:M}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(E),this.initialHit||!this.requireInitial?(M.setIgnoreMove(!1),this.emitter.trigger("pointerdown",E)):M.setIgnoreMove(!0)},this.handleDragStart=E=>{this.emitter.trigger("dragstart",E),this.handleMove(E,!0)},this.handleDragMove=E=>{this.emitter.trigger("dragmove",E),this.handleMove(E)},this.handlePointerUp=E=>{this.releaseHits(),this.emitter.trigger("pointerup",E)},this.handleDragEnd=E=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,E),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",E)},this.droppableStore=m,d.emitter.on("pointerdown",this.handlePointerDown),d.emitter.on("dragstart",this.handleDragStart),d.emitter.on("dragmove",this.handleDragMove),d.emitter.on("pointerup",this.handlePointerUp),d.emitter.on("dragend",this.handleDragEnd),this.dragging=d,this.emitter=new j.F}processFirstCoord(d){let m={left:d.pageX,top:d.pageY},E=m,M=d.subjectEl,V;M instanceof HTMLElement&&(V=(0,j.b4)(M),E=(0,j.aE)(E,V));let I=this.initialHit=this.queryHitForOffset(E.left,E.top);if(I){if(this.useSubjectCenter&&V){let U=(0,j.aC)(V,I.rect);U&&(E=(0,j.aF)(U))}this.coordAdjust=(0,j.aG)(E,m)}else this.coordAdjust={left:0,top:0}}handleMove(d,m){let E=this.queryHitForOffset(d.pageX+this.coordAdjust.left,d.pageY+this.coordAdjust.top);(m||!Z(this.movingHit,E))&&(this.movingHit=E,this.emitter.trigger("hitupdate",E,!1,d))}prepareHits(){this.offsetTrackers=(0,j.a)(this.droppableStore,d=>(d.component.prepareHits(),new Xe(d.el)))}releaseHits(){let{offsetTrackers:d}=this;for(let m in d)d[m].destroy();this.offsetTrackers={}}queryHitForOffset(d,m){let{droppableStore:E,offsetTrackers:M}=this,V=null;for(let I in E){let U=E[I].component,Q=M[I];if(Q&&Q.isWithinClipping(d,m)){let K=Q.computeLeft(),le=Q.computeTop(),he=d-K,_e=m-le,{origRect:De}=Q,Me=De.right-De.left,v=De.bottom-De.top;if(he>=0&&he<Me&&_e>=0&&_e<v){let C=U.queryHit(he,_e,Me,v);C&&(0,j.b7)(C.dateProfile.activeRange,C.dateSpan.range)&&(this.disablePointCheck||Q.el.contains(Q.el.getRootNode().elementFromPoint(he+K-window.scrollX,_e+le-window.scrollY)))&&(!V||C.layer>V.layer)&&(C.componentId=I,C.context=U.context,C.rect.left+=K,C.rect.right+=K,C.rect.top+=le,C.rect.bottom+=le,V=C)}}}return V}}function Z(X,d){return!X&&!d?!0:!!X!=!!d?!1:(0,j.bd)(X.dateSpan,d.dateSpan)}function ye(X,d){let m={};for(let E of d.pluginHooks.datePointTransforms)Object.assign(m,E(X,d));return Object.assign(m,Be(X,d.dateEnv)),m}function Be(X,d){return{date:d.toDate(X.range.start),dateStr:d.formatIso(X.range.start,{omitTime:X.allDay}),allDay:X.allDay}}class F extends j.X{constructor(d){super(d),this.handlePointerDown=E=>{let{dragging:M}=this,V=E.origEvent.target;M.setIgnoreMove(!this.component.isValidDateDownEl(V))},this.handleDragEnd=E=>{let{component:M}=this,{pointer:V}=this.dragging;if(!V.wasTouchScroll){let{initialHit:I,finalHit:U}=this.hitDragging;if(I&&U&&Z(I,U)){let{context:Q}=M,K=Object.assign(Object.assign({},ye(I.dateSpan,Q)),{dayEl:I.dayEl,jsEvent:E.origEvent,view:Q.viewApi||Q.calendarApi.view});Q.emitter.trigger("dateClick",K)}}},this.dragging=new Le(d.el),this.dragging.autoScroller.isEnabled=!1;let m=this.hitDragging=new Y(this.dragging,(0,j.bE)(d));m.emitter.on("pointerdown",this.handlePointerDown),m.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}}class f extends j.X{constructor(d){super(d),this.dragSelection=null,this.handlePointerDown=I=>{let{component:U,dragging:Q}=this,{options:K}=U.context,le=K.selectable&&U.isValidDateDownEl(I.origEvent.target);Q.setIgnoreMove(!le),Q.delay=I.isTouch?_(U):null},this.handleDragStart=I=>{this.component.context.calendarApi.unselect(I)},this.handleHitUpdate=(I,U)=>{let{context:Q}=this.component,K=null,le=!1;if(I){let he=this.hitDragging.initialHit;I.componentId===he.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(he,I)||(K=R(he,I,Q.pluginHooks.dateSelectionTransformers)),(!K||!(0,j.bY)(K,I.dateProfile,Q))&&(le=!0,K=null)}K?Q.dispatch({type:"SELECT_DATES",selection:K}):U||Q.dispatch({type:"UNSELECT_DATES"}),le?(0,j.av)():(0,j.au)(),U||(this.dragSelection=K)},this.handlePointerUp=I=>{this.dragSelection&&((0,j.cr)(this.dragSelection,I,this.component.context),this.dragSelection=null)};let{component:m}=d,{options:E}=m.context,M=this.dragging=new Le(d.el);M.touchScrollAllowed=!1,M.minDistance=E.selectMinDistance||0,M.autoScroller.isEnabled=E.dragScroll;let V=this.hitDragging=new Y(this.dragging,(0,j.bE)(d));V.emitter.on("pointerdown",this.handlePointerDown),V.emitter.on("dragstart",this.handleDragStart),V.emitter.on("hitupdate",this.handleHitUpdate),V.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}}function _(X){let{options:d}=X.context,m=d.selectLongPressDelay;return m==null&&(m=d.longPressDelay),m}function R(X,d,m){let E=X.dateSpan,M=d.dateSpan,V=[E.range.start,E.range.end,M.range.start,M.range.end];V.sort(j.at);let I={};for(let U of m){let Q=U(X,d);if(Q===!1)return null;Q&&Object.assign(I,Q)}return I.range={start:V[0],end:V[3]},I.allDay=E.allDay,I}
1class $ extends j.X{constructor(d){super(d),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=I=>{let U=I.origEvent.target,{component:Q,dragging:K}=this,{mirror:le}=K,{options:he}=Q.context,_e=Q.context;this.subjectEl=I.subjectEl;let De=this.subjectSeg=(0,j.Y)(I.subjectEl),v=(this.eventRange=De.eventRange).instance.instanceId;this.relevantEvents=(0,j.aT)(_e.getCurrentData().eventStore,v),K.minDistance=I.isTouch?0:he.eventDragMinDistance,K.delay=I.isTouch&&v!==Q.props.eventSelection?h(Q):null,he.fixedMirrorParent?le.parentNode=he.fixedMirrorParent:le.parentNode=(0,j.Z)(U,".fc"),le.revertDuration=he.dragRevertDuration;let C=Q.isValidSegDownEl(U)&&!(0,j.Z)(U,".fc-event-resizer");K.setIgnoreMove(!C),this.isDragging=C&&I.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=I=>{let U=this.component.context,Q=this.eventRange,K=Q.instance.instanceId;I.isTouch?K!==this.component.props.eventSelection&&U.dispatch({type:"SELECT_EVENT",eventInstanceId:K}):U.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(U.calendarApi.unselect(I),U.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new j._(U,Q.def,Q.instance),jsEvent:I.origEvent,view:U.viewApi}))},this.handleHitUpdate=(I,U)=>{if(!this.isDragging)return;let Q=this.relevantEvents,K=this.hitDragging.initialHit,le=this.component.context,he=null,_e=null,De=null,Me=!1,v={affectedEvents:Q,mutatedEvents:(0,j.H)(),isEvent:!0};if(I){he=I.context;let C=he.options;le===he||C.editable&&C.droppable?(_e=u(K,I,this.eventRange.instance.range.start,he.getCurrentData().pluginHooks.eventDragMutationMassagers),_e&&(De=(0,j.bV)(Q,he.getCurrentData().eventUiBases,_e,he),v.mutatedEvents=De,(0,j.bX)(v,I.dateProfile,he)||(Me=!0,_e=null,De=null,v.mutatedEvents=(0,j.H)()))):he=null}this.displayDrag(he,v),Me?(0,j.av)():(0,j.au)(),U||(le===he&&Z(K,I)&&(_e=null),this.dragging.setMirrorNeedsRevert(!_e),this.dragging.setMirrorIsVisible(!I||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=he,this.validMutation=_e,this.mutatedRelevantEvents=De)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=I=>{if(this.isDragging){let U=this.component.context,Q=U.viewApi,{receivingContext:K,validMutation:le}=this,he=this.eventRange.def,_e=this.eventRange.instance,De=new j._(U,he,_e),Me=this.relevantEvents,v=this.mutatedRelevantEvents,{finalHit:C}=this.hitDragging;if(this.clearDrag(),U.emitter.trigger("eventDragStop",{el:this.subjectEl,event:De,jsEvent:I.origEvent,view:Q}),le){if(K===U){let q=new j._(U,v.defs[he.defId],_e?v.instances[_e.instanceId]:null);U.dispatch({type:"MERGE_EVENTS",eventStore:v});let J={oldEvent:De,event:q,relatedEvents:(0,j.w)(v,U,_e),revert(){U.dispatch({type:"MERGE_EVENTS",eventStore:Me})}},ve={};for(let ue of U.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(ve,ue(le,U));U.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},J),ve),{el:I.subjectEl,delta:le.datesDelta,jsEvent:I.origEvent,view:Q})),U.emitter.trigger("eventChange",J)}else if(K){let q={event:De,relatedEvents:(0,j.w)(Me,U,_e),revert(){U.dispatch({type:"MERGE_EVENTS",eventStore:Me})}};U.emitter.trigger("eventLeave",Object.assign(Object.assign({},q),{draggedEl:I.subjectEl,view:Q})),U.dispatch({type:"REMOVE_EVENTS",eventStore:Me}),U.emitter.trigger("eventRemove",q);let J=v.defs[he.defId],ve=v.instances[_e.instanceId],ue=new j._(K,J,ve);K.dispatch({type:"MERGE_EVENTS",eventStore:v});let Ie={event:ue,relatedEvents:(0,j.w)(v,K,ve),revert(){K.dispatch({type:"REMOVE_EVENTS",eventStore:v})}};K.emitter.trigger("eventAdd",Ie),I.isTouch&&K.dispatch({type:"SELECT_EVENT",eventInstanceId:_e.instanceId}),K.emitter.trigger("drop",Object.assign(Object.assign({},ye(C.dateSpan,K)),{draggedEl:I.subjectEl,jsEvent:I.origEvent,view:C.context.viewApi})),K.emitter.trigger("eventReceive",Object.assign(Object.assign({},Ie),{draggedEl:I.subjectEl,view:C.context.viewApi}))}}else U.emitter.trigger("_noEventDrop")}this.cleanup()};
1let{component:m}=this,{options:E}=m.context,M=this.dragging=new Le(d.el);M.pointer.selector=$.SELECTOR,M.touchScrollAllowed=!1,M.autoScroller.isEnabled=E.dragScroll;let V=this.hitDragging=new Y(this.dragging,j.a5);V.useSubjectCenter=d.useEventCenter,V.emitter.on("pointerdown",this.handlePointerDown),V.emitter.on("dragstart",this.handleDragStart),V.emitter.on("hitupdate",this.handleHitUpdate),V.emitter.on("pointerup",this.handlePointerUp),V.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(d,m){let E=this.component.context,M=this.receivingContext;M&&M!==d&&(M===E?M.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:m.affectedEvents,mutatedEvents:(0,j.H)(),isEvent:!0}}):M.dispatch({type:"UNSET_EVENT_DRAG"})),d&&d.dispatch({type:"SET_EVENT_DRAG",state:m})}clearDrag(){let d=this.component.context,{receivingContext:m}=this;m&&m.dispatch({type:"UNSET_EVENT_DRAG"}),d!==m&&d.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}}$.SELECTOR=".fc-event-draggable, .fc-event-resizable";function u(X,d,m,E){let M=X.dateSpan,V=d.dateSpan,I=M.range.start,U=V.range.start,Q={};M.allDay!==V.allDay&&(Q.allDay=V.allDay,Q.hasEnd=d.context.options.allDayMaintainDuration,V.allDay?I=(0,j.q)(m):I=m);let K=(0,j.ay)(I,U,X.context.dateEnv,X.componentId===d.componentId?X.largeUnit:null);K.milliseconds&&(Q.allDay=!1);let le={datesDelta:K,standardProps:Q};for(let he of E)he(le,X,d);return le}function h(X){let{options:d}=X.context,m=d.eventLongPressDelay;return m==null&&(m=d.longPressDelay),m}class b extends j.X{constructor(d){super(d),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=V=>{let{component:I}=this,U=this.querySegEl(V),Q=(0,j.Y)(U),K=this.eventRange=Q.eventRange;this.dragging.minDistance=I.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(V.origEvent.target)||V.isTouch&&this.component.props.eventSelection!==K.instance.instanceId)},this.handleDragStart=V=>{let{context:I}=this.component,U=this.eventRange;this.relevantEvents=(0,j.aT)(I.getCurrentData().eventStore,this.eventRange.instance.instanceId);let Q=this.querySegEl(V);this.draggingSegEl=Q,this.draggingSeg=(0,j.Y)(Q),I.calendarApi.unselect(),I.emitter.trigger("eventResizeStart",{el:Q,event:new j._(I,U.def,U.instance),jsEvent:V.origEvent,view:I.viewApi})},this.handleHitUpdate=(V,I,U)=>{let{context:Q}=this.component,K=this.relevantEvents,le=this.hitDragging.initialHit,he=this.eventRange.instance,_e=null,De=null,Me=!1,v={affectedEvents:K,mutatedEvents:(0,j.H)(),isEvent:!0};V&&(V.componentId===le.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(le,V)||(_e=L(le,V,U.subjectEl.classList.contains("fc-event-resizer-start"),he.range))),_e&&(De=(0,j.bV)(K,Q.getCurrentData().eventUiBases,_e,Q),v.mutatedEvents=De,(0,j.bX)(v,V.dateProfile,Q)||(Me=!0,_e=null,De=null,v.mutatedEvents=null)),De?Q.dispatch({type:"SET_EVENT_RESIZE",state:v}):Q.dispatch({type:"UNSET_EVENT_RESIZE"}),Me?(0,j.av)():(0,j.au)(),I||(_e&&Z(le,V)&&(_e=null),this.validMutation=_e,this.mutatedRelevantEvents=De)},this.handleDragEnd=V=>{let{context:I}=this.component,U=this.eventRange.def,Q=this.eventRange.instance,K=new j._(I,U,Q),le=this.relevantEvents,he=this.mutatedRelevantEvents;if(I.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:K,jsEvent:V.origEvent,view:I.viewApi}),this.validMutation){let _e=new j._(I,he.defs[U.defId],Q?he.instances[Q.instanceId]:null);I.dispatch({type:"MERGE_EVENTS",eventStore:he});let De={oldEvent:K,event:_e,relatedEvents:(0,j.w)(he,I,Q),revert(){I.dispatch({type:"MERGE_EVENTS",eventStore:le})}};I.emitter.trigger("eventResize",Object.assign(Object.assign({},De),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||(0,j.d)(0),endDelta:this.validMutation.endDelta||(0,j.d)(0),jsEvent:V.origEvent,view:I.viewApi})),I.emitter.trigger("eventChange",De)}else I.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:m}=d,E=this.dragging=new Le(d.el);E.pointer.selector=".fc-event-resizer",E.touchScrollAllowed=!1,E.autoScroller.isEnabled=m.context.options.dragScroll;let M=this.hitDragging=new Y(this.dragging,(0,j.bE)(d));M.emitter.on("pointerdown",this.handlePointerDown),M.emitter.on("dragstart",this.handleDragStart),M.emitter.on("hitupdate",this.handleHitUpdate),M.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(d){return(0,j.Z)(d.subjectEl,".fc-event")}}function L(X,d,m,E){let M=X.context.dateEnv,V=X.dateSpan.range.start,I=d.dateSpan.range.start,U=(0,j.ay)(V,I,M,X.largeUnit);if(m){if(M.add(E.start,U)<E.end)return{startDelta:U}}else if(M.add(E.end,U)>E.start)return{endDelta:U};return null}class z{constructor(d){this.context=d,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=E=>{E.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=E=>{let M=this.context.options.unselectCancel,V=(0,j.aP)(E.origEvent);this.matchesCancel=!!(0,j.Z)(V,M),this.matchesEvent=!!(0,j.Z)(V,$.SELECTOR)},this.onDocumentPointerUp=E=>{let{context:M}=this,{documentPointer:V}=this,I=M.getCurrentData();if(!V.wasTouchScroll){if(I.dateSelection&&!this.isRecentPointerDateSelect){let U=M.options.unselectAuto;U&&(!U||!this.matchesCancel)&&M.calendarApi.unselect(E)}I.eventSelection&&!this.matchesEvent&&M.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let m=this.documentPointer=new de(document);m.shouldIgnoreMove=!0,m.shouldWatchScroll=!1,m.emitter.on("pointerdown",this.onDocumentPointerDown),m.emitter.on("pointerup",this.onDocumentPointerUp),d.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}
1const x={fixedMirrorParent:j.n},ie={dateClick:j.n,eventDragStart:j.n,eventDragStop:j.n,eventDrop:j.n,eventResizeStart:j.n,eventResizeStop:j.n,eventResize:j.n,drop:j.n,eventReceive:j.n,eventLeave:j.n};class fe{constructor(d,m){this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=M=>{this.dragMeta=this.buildDragMeta(M.subjectEl)},this.handleHitUpdate=(M,V,I)=>{let{dragging:U}=this.hitDragging,Q=null,K=null,le=!1,he={affectedEvents:A(),mutatedEvents:A(),isEvent:this.dragMeta.create};M&&(Q=M.context,this.canDropElOnCalendar(I.subjectEl,Q)&&(K=W(M.dateSpan,this.dragMeta,Q),he.mutatedEvents=H(K),le=!Oe(he,M.dateProfile,Q),le&&(he.mutatedEvents=A(),K=null))),this.displayDrag(Q,he),U.setMirrorIsVisible(V||!K||!document.querySelector(".fc-event-mirror")),le?S():we(),V||(U.setMirrorNeedsRevert(!K),this.receivingContext=Q,this.droppableEvent=K)},this.handleDragEnd=M=>{let{receivingContext:V,droppableEvent:I}=this;if(this.clearDrag(),V&&I){let U=this.hitDragging.finalHit,Q=U.context.viewApi,K=this.dragMeta;if(V.emitter.trigger("drop",Object.assign(Object.assign({},ye(U.dateSpan,V)),{draggedEl:M.subjectEl,jsEvent:M.origEvent,view:Q})),K.create){let le=H(I);V.dispatch({type:"MERGE_EVENTS",eventStore:le}),M.isTouch&&V.dispatch({type:"SELECT_EVENT",eventInstanceId:I.instance.instanceId}),V.emitter.trigger("eventReceive",{event:new Ee(V,I.def,I.instance),relatedEvents:[],revert(){V.dispatch({type:"REMOVE_EVENTS",eventStore:le})},draggedEl:M.subjectEl,view:Q})}}this.receivingContext=null,this.droppableEvent=null};let E=this.hitDragging=new Y(d,We);E.requireInitial=!1,E.emitter.on("dragstart",this.handleDragStart),E.emitter.on("hitupdate",this.handleHitUpdate),E.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=m}buildDragMeta(d){return typeof this.suppliedDragMeta=="object"?Je(this.suppliedDragMeta):typeof this.suppliedDragMeta=="function"?Je(this.suppliedDragMeta(d)):ce(d)}displayDrag(d,m){let E=this.receivingContext;E&&E!==d&&E.dispatch({type:"UNSET_EVENT_DRAG"}),d&&d.dispatch({type:"SET_EVENT_DRAG",state:m})}clearDrag(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})}canDropElOnCalendar(d,m){let E=m.options.dropAccept;return typeof E=="function"?E.call(m.calendarApi,d):typeof E=="string"&&E?!!Ge(d,E):!0}}function W(X,d,m){let E=Object.assign({},d.leftoverProps);for(let le of m.pluginHooks.externalDefTransforms)Object.assign(E,le(X,d));let{refined:M,extra:V}=ze(E,m),I=rt(M,V,d.sourceId,X.allDay,m.options.forceEventDuration||!!d.duration,m),U=X.range.start;X.allDay&&d.startTime&&(U=m.dateEnv.add(U,d.startTime));let Q=d.duration?m.dateEnv.add(U,d.duration):it(X.allDay,U,m),K=Fe(I.defId,{start:U,end:Q});return{def:I,instance:K}}function ce(X){let d=T(X,"event"),m=d?JSON.parse(d):{create:!1};return Je(m)}j.bG.dataAttrPrefix="";function T(X,d){let m=gt.dataAttrPrefix,E=(m?m+"-":"")+d;return X.getAttribute("data-"+E)||""}class ge{constructor(d,m={}){this.handlePointerDown=M=>{let{dragging:V}=this,{minDistance:I,longPressDelay:U}=this.settings;V.minDistance=I??(M.isTouch?0:He.eventDragMinDistance),V.delay=M.isTouch?U??He.longPressDelay:0},this.handleDragStart=M=>{M.isTouch&&this.dragging.delay&&M.subjectEl.classList.contains("fc-event")&&this.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=m;let E=this.dragging=new Le(d);E.touchScrollAllowed=!1,m.itemSelector!=null&&(E.pointer.selector=m.itemSelector),m.appendTo!=null&&(E.mirror.parentNode=m.appendTo),E.emitter.on("pointerdown",this.handlePointerDown),E.emitter.on("dragstart",this.handleDragStart),new fe(E,m.eventData)}destroy(){this.dragging.destroy()}}class se extends j.bF{constructor(d){super(d),this.shouldIgnoreMove=!1,this.mirrorSelector="",this.currentMirrorEl=null,this.handlePointerDown=E=>{this.emitter.trigger("pointerdown",E),this.shouldIgnoreMove||this.emitter.trigger("dragstart",E)},this.handlePointerMove=E=>{this.shouldIgnoreMove||this.emitter.trigger("dragmove",E)},this.handlePointerUp=E=>{this.emitter.trigger("pointerup",E),this.shouldIgnoreMove||this.emitter.trigger("dragend",E)};let m=this.pointer=new de(d);m.emitter.on("pointerdown",this.handlePointerDown),m.emitter.on("pointermove",this.handlePointerMove),m.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.pointer.destroy()}setIgnoreMove(d){this.shouldIgnoreMove=d}setMirrorIsVisible(d){if(d)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{let m=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;
1m&&(this.currentMirrorEl=m,m.style.visibility="hidden")}}}class te{constructor(d,m){let E=document;d===document||d instanceof Element?(E=d,m=m||{}):m=d||{};let M=this.dragging=new se(E);typeof m.itemSelector=="string"?M.pointer.selector=m.itemSelector:E===document&&(M.pointer.selector="[data-event]"),typeof m.mirrorSelector=="string"&&(M.mirrorSelector=m.mirrorSelector);let V=new fe(M,m.eventData);V.hitDragging.disablePointCheck=!0}destroy(){this.dragging.destroy()}}var pe=(0,Se.i1)({name:"@fullcalendar/interaction",componentInteractions:[F,f,$,b],calendarInteractions:[z],elementDraggingImpl:Le,optionRefiners:x,listenerRefiners:ie})})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.