UNPKG

yk-element-components

Version:

5 lines 221 kB
(function(q,ie){typeof exports=="object"&&typeof module<"u"?module.exports=ie(require("vue")):typeof define=="function"&&define.amd?define(["vue"],ie):(q=typeof globalThis<"u"?globalThis:q||self,q.index=ie(q.Vue))})(this,function(q){"use strict";var ie=function(t,e){return ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},ie(t,e)};function R(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ie(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var h=function(){return h=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},h.apply(this,arguments)};function N(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))}var We,T,br,_e,Dr,Cr,Be={},Rr=[],ea=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function J(t,e){for(var r in e)t[r]=e[r];return t}function wr(t){var e=t.parentNode;e&&e.removeChild(t)}function Q(t,e,r){var n,i,a,o={};for(a in e)a=="key"?n=e[a]:a=="ref"?i=e[a]:o[a]=e[a];if(arguments.length>2&&(o.children=arguments.length>3?We.call(arguments,2):r),typeof t=="function"&&t.defaultProps!=null)for(a in t.defaultProps)o[a]===void 0&&(o[a]=t.defaultProps[a]);return Fe(t,o,n,i,null)}function Fe(t,e,r,n,i){var a={type:t,props:e,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i==null?++br:i};return i==null&&T.vnode!=null&&T.vnode(a),a}function ta(){return{current:null}}function ae(t){return t.children}function Y(t,e){this.props=t,this.context=e}function Me(t,e){if(e==null)return t.__?Me(t.__,t.__.__k.indexOf(t)+1):null;for(var r;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null)return r.__e;return typeof t.type=="function"?Me(t):null}function Tr(t){var e,r;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null){t.__e=t.__c.base=r.__e;break}return Tr(t)}}function Et(t){(!t.__d&&(t.__d=!0)&&_e.push(t)&&!ze.__r++||Dr!==T.debounceRendering)&&((Dr=T.debounceRendering)||setTimeout)(ze)}function ze(){for(var t;ze.__r=_e.length;)t=_e.sort(function(e,r){return e.__v.__b-r.__v.__b}),_e=[],t.some(function(e){var r,n,i,a,o,s;e.__d&&(o=(a=(r=e).__v).__e,(s=r.__P)&&(n=[],(i=J({},a)).__v=a.__v+1,St(s,a,i,r.__n,s.ownerSVGElement!==void 0,a.__h!=null?[o]:null,n,o==null?Me(a):o,a.__h),xr(n,a),a.__e!=o&&Tr(a)))})}function _r(t,e,r,n,i,a,o,s,l,c){var u,f,v,d,p,E,S,g=n&&n.__k||Rr,b=g.length;for(r.__k=[],u=0;u<e.length;u++)if((d=r.__k[u]=(d=e[u])==null||typeof d=="boolean"?null:typeof d=="string"||typeof d=="number"||typeof d=="bigint"?Fe(null,d,null,null,d):Array.isArray(d)?Fe(ae,{children:d},null,null,null):d.__b>0?Fe(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)!=null){if(d.__=r,d.__b=r.__b+1,(v=g[u])===null||v&&d.key==v.key&&d.type===v.type)g[u]=void 0;else for(f=0;f<b;f++){if((v=g[f])&&d.key==v.key&&d.type===v.type){g[f]=void 0;break}v=null}St(t,d,v=v||Be,i,a,o,s,l,c),p=d.__e,(f=d.ref)&&v.ref!=f&&(S||(S=[]),v.ref&&S.push(v.ref,null,d),S.push(f,d.__c||p,d)),p!=null?(E==null&&(E=p),typeof d.type=="function"&&d.__k===v.__k?d.__d=l=Mr(d,l,t):l=kr(t,d,v,g,p,l),typeof r.type=="function"&&(r.__d=l)):l&&v.__e==l&&l.parentNode!=t&&(l=Me(v))}for(r.__e=E,u=b;u--;)g[u]!=null&&Nr(g[u],g[u]);if(S)for(u=0;u<S.length;u++)Ar(S[u],S[++u],S[++u])}function Mr(t,e,r){for(var n,i=t.__k,a=0;i&&a<i.length;a++)(n=i[a])&&(n.__=t,e=typeof n.type=="function"?Mr(n,e,r):kr(r,n,n,i,n.__e,e));return e}function Ge(t,e){return e=e||[],t==null||typeof t=="boolean"||(Array.isArray(t)?t.some(function(r){Ge(r,e)}):e.push(t)),e}function kr(t,e,r,n,i,a){var o,s,l;if(e.__d!==void 0)o=e.__d,e.__d=void 0;else if(r==null||i!=a||i.parentNode==null)e:if(a==null||a.parentNode!==t)t.appendChild(i),o=null;else{for(s=a,l=0;(s=s.nextSibling)&&l<n.length;l+=2)if(s==i)break e;t.insertBefore(i,a),o=a}return o!==void 0?o:i.nextSibling}function ra(t,e,r,n,i){var a;for(a in r)a==="children"||a==="key"||a in e||qe(t,a,null,r[a],n);for(a in e)i&&typeof e[a]!="function"||a==="children"||a==="key"||a==="value"||a==="checked"||r[a]===e[a]||qe(t,a,e[a],r[a],n)}function Ir(t,e,r){e[0]==="-"?t.setProperty(e,r):t[e]=r==null?"":typeof r!="number"||ea.test(e)?r:r+"px"}function qe(t,e,r,n,i){var a;e:if(e==="style")if(typeof r=="string")t.style.cssText=r;else{if(typeof n=="string"&&(t.style.cssText=n=""),n)for(e in n)r&&e in r||Ir(t.style,e,"");if(r)for(e in r)n&&r[e]===n[e]||Ir(t.style,e,r[e])}else if(e[0]==="o"&&e[1]==="n")a=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+a]=r,r?n||t.addEventListener(e,a?Hr:Pr,a):t.removeEventListener(e,a?Hr:Pr,a);else if(e!=="dangerouslySetInnerHTML"){if(i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in t)try{t[e]=r==null?"":r;break e}catch{}typeof r=="function"||(r==null||r===!1&&e.indexOf("-")==-1?t.removeAttribute(e):t.setAttribute(e,r))}}function Pr(t){this.l[t.type+!1](T.event?T.event(t):t)}function Hr(t){this.l[t.type+!0](T.event?T.event(t):t)}function St(t,e,r,n,i,a,o,s,l){var c,u,f,v,d,p,E,S,g,b,C,D,I,_,P,w=e.type;if(e.constructor!==void 0)return null;r.__h!=null&&(l=r.__h,s=e.__e=r.__e,e.__h=null,a=[s]),(c=T.__b)&&c(e);try{e:if(typeof w=="function"){if(S=e.props,g=(c=w.contextType)&&n[c.__c],b=c?g?g.props.value:c.__:n,r.__c?E=(u=e.__c=r.__c).__=u.__E:("prototype"in w&&w.prototype.render?e.__c=u=new w(S,b):(e.__c=u=new Y(S,b),u.constructor=w,u.render=ia),g&&g.sub(u),u.props=S,u.state||(u.state={}),u.context=b,u.__n=n,f=u.__d=!0,u.__h=[],u._sb=[]),u.__s==null&&(u.__s=u.state),w.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=J({},u.__s)),J(u.__s,w.getDerivedStateFromProps(S,u.__s))),v=u.props,d=u.state,f)w.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(w.getDerivedStateFromProps==null&&S!==v&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(S,b),!u.__e&&u.shouldComponentUpdate!=null&&u.shouldComponentUpdate(S,u.__s,b)===!1||e.__v===r.__v){for(u.props=S,u.state=u.__s,e.__v!==r.__v&&(u.__d=!1),u.__v=e,e.__e=r.__e,e.__k=r.__k,e.__k.forEach(function(A){A&&(A.__=e)}),C=0;C<u._sb.length;C++)u.__h.push(u._sb[C]);u._sb=[],u.__h.length&&o.push(u);break e}u.componentWillUpdate!=null&&u.componentWillUpdate(S,u.__s,b),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(v,d,p)})}if(u.context=b,u.props=S,u.__v=e,u.__P=t,D=T.__r,I=0,"prototype"in w&&w.prototype.render){for(u.state=u.__s,u.__d=!1,D&&D(e),c=u.render(u.props,u.state,u.context),_=0;_<u._sb.length;_++)u.__h.push(u._sb[_]);u._sb=[]}else do u.__d=!1,D&&D(e),c=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++I<25);u.state=u.__s,u.getChildContext!=null&&(n=J(J({},n),u.getChildContext())),f||u.getSnapshotBeforeUpdate==null||(p=u.getSnapshotBeforeUpdate(v,d)),P=c!=null&&c.type===ae&&c.key==null?c.props.children:c,_r(t,Array.isArray(P)?P:[P],e,r,n,i,a,o,s,l),u.base=e.__e,e.__h=null,u.__h.length&&o.push(u),E&&(u.__E=u.__=null),u.__e=!1}else a==null&&e.__v===r.__v?(e.__k=r.__k,e.__e=r.__e):e.__e=na(r.__e,e,r,n,i,a,o,l);(c=T.diffed)&&c(e)}catch(A){e.__v=null,(l||a!=null)&&(e.__e=s,e.__h=!!l,a[a.indexOf(s)]=null),T.__e(A,e,r)}}function xr(t,e){T.__c&&T.__c(e,t),t.some(function(r){try{t=r.__h,r.__h=[],t.some(function(n){n.call(r)})}catch(n){T.__e(n,r.__v)}})}function na(t,e,r,n,i,a,o,s){var l,c,u,f=r.props,v=e.props,d=e.type,p=0;if(d==="svg"&&(i=!0),a!=null){for(;p<a.length;p++)if((l=a[p])&&"setAttribute"in l==!!d&&(d?l.localName===d:l.nodeType===3)){t=l,a[p]=null;break}}if(t==null){if(d===null)return document.createTextNode(v);t=i?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,v.is&&v),a=null,s=!1}if(d===null)f===v||s&&t.data===v||(t.data=v);else{if(a=a&&We.call(t.childNodes),c=(f=r.props||Be).dangerouslySetInnerHTML,u=v.dangerouslySetInnerHTML,!s){if(a!=null)for(f={},p=0;p<t.attributes.length;p++)f[t.attributes[p].name]=t.attributes[p].value;(u||c)&&(u&&(c&&u.__html==c.__html||u.__html===t.innerHTML)||(t.innerHTML=u&&u.__html||""))}if(ra(t,v,f,i,s),u)e.__k=[];else if(p=e.props.children,_r(t,Array.isArray(p)?p:[p],e,r,n,i&&d!=="foreignObject",a,o,a?a[0]:r.__k&&Me(r,0),s),a!=null)for(p=a.length;p--;)a[p]!=null&&wr(a[p]);s||("value"in v&&(p=v.value)!==void 0&&(p!==t.value||d==="progress"&&!p||d==="option"&&p!==f.value)&&qe(t,"value",p,f.value,!1),"checked"in v&&(p=v.checked)!==void 0&&p!==t.checked&&qe(t,"checked",p,f.checked,!1))}return t}function Ar(t,e,r){try{typeof t=="function"?t(e):t.current=e}catch(n){T.__e(n,r)}}function Nr(t,e,r){var n,i;if(T.unmount&&T.unmount(t),(n=t.ref)&&(n.current&&n.current!==t.__e||Ar(n,null,e)),(n=t.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(a){T.__e(a,e)}n.base=n.__P=null,t.__c=void 0}if(n=t.__k)for(i=0;i<n.length;i++)n[i]&&Nr(n[i],e,r||typeof t.type!="function");r||t.__e==null||wr(t.__e),t.__=t.__e=t.__d=void 0}function ia(t,e,r){return this.constructor(t,r)}function ke(t,e,r){var n,i,a;T.__&&T.__(t,e),i=(n=typeof r=="function")?null:r&&r.__k||e.__k,a=[],St(e,t=(!n&&r||e).__k=Q(ae,null,[t]),i||Be,Be,e.ownerSVGElement!==void 0,!n&&r?[r]:i?null:e.firstChild?We.call(e.childNodes):null,a,!n&&r?r:i?i.__e:e.firstChild,n),xr(a,t)}function aa(t,e){var r={__c:e="__cC"+Cr++,__:t,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,a;return this.getChildContext||(i=[],(a={})[e]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(o){this.props.value!==o.value&&i.some(Et)},this.sub=function(o){i.push(o);var s=o.componentWillUnmount;o.componentWillUnmount=function(){i.splice(i.indexOf(o),1),s&&s.call(o)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}We=Rr.slice,T={__e:function(t,e,r,n){for(var i,a,o;e=e.__;)if((i=e.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(t)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(t,n||{}),o=i.__d),o)return i.__E=i}catch(s){t=s}throw t}},br=0,Y.prototype.setState=function(t,e){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=J({},this.state),typeof t=="function"&&(t=t(J({},r),this.props)),t&&J(r,t),t!=null&&this.__v&&(e&&this._sb.push(e),Et(this))},Y.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Et(this))},Y.prototype.render=ae,_e=[],ze.__r=0,Cr=0;var Z,bt,Or,Lr=[],Dt=[],Vr=T.__b,Ur=T.__r,Wr=T.diffed,Br=T.__c,Fr=T.unmount;function oa(){for(var t;t=Lr.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Ye),t.__H.__h.forEach(Ct),t.__H.__h=[]}catch(e){t.__H.__h=[],T.__e(e,t.__v)}}T.__b=function(t){typeof t.type!="function"||t.__m||t.__===null?t.__m||(t.__m=t.__&&t.__.__m?t.__.__m:""):t.__m=(t.__&&t.__.__m?t.__.__m:"")+(t.__&&t.__.__k?t.__.__k.indexOf(t):0),Z=null,Vr&&Vr(t)},T.__r=function(t){Ur&&Ur(t);var e=(Z=t.__c).__H;e&&(bt===Z?(e.__h=[],Z.__h=[],e.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=Dt,r.__N=r.i=void 0})):(e.__h.forEach(Ye),e.__h.forEach(Ct),e.__h=[])),bt=Z},T.diffed=function(t){Wr&&Wr(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Lr.push(e)!==1&&Or===T.requestAnimationFrame||((Or=T.requestAnimationFrame)||sa)(oa)),e.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==Dt&&(r.__=r.__V),r.i=void 0,r.__V=Dt})),bt=Z=null},T.__c=function(t,e){e.some(function(r){try{r.__h.forEach(Ye),r.__h=r.__h.filter(function(n){return!n.__||Ct(n)})}catch(n){e.some(function(i){i.__h&&(i.__h=[])}),e=[],T.__e(n,r.__v)}}),Br&&Br(t,e)},T.unmount=function(t){Fr&&Fr(t);var e,r=t.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{Ye(n)}catch(i){e=i}}),r.__H=void 0,e&&T.__e(e,r.__v))};var zr=typeof requestAnimationFrame=="function";function sa(t){var e,r=function(){clearTimeout(n),zr&&cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(r,100);zr&&(e=requestAnimationFrame(r))}function Ye(t){var e=Z,r=t.__c;typeof r=="function"&&(t.__c=void 0,r()),Z=e}function Ct(t){var e=Z;t.__c=t.__(),Z=e}function la(t,e){for(var r in e)t[r]=e[r];return t}function Gr(t,e){for(var r in t)if(r!=="__source"&&!(r in e))return!0;for(var n in e)if(n!=="__source"&&t[n]!==e[n])return!0;return!1}function qr(t){this.props=t}(qr.prototype=new Y).isPureReactComponent=!0,qr.prototype.shouldComponentUpdate=function(t,e){return Gr(this.props,t)||Gr(this.state,e)};var Yr=T.__b;T.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Yr&&Yr(t)};var ua=T.__e;T.__e=function(t,e,r,n){if(t.then){for(var i,a=e;a=a.__;)if((i=a.__c)&&i.__c)return e.__e==null&&(e.__e=r.__e,e.__k=r.__k),i.__c(t,e)}ua(t,e,r,n)};var jr=T.unmount;function Zr(t,e,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),t.__c.__H=null),(t=la({},t)).__c!=null&&(t.__c.__P===r&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(n){return Zr(n,e,r)})),t}function Xr(t,e,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(n){return Xr(n,e,r)}),t.__c&&t.__c.__P===e&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}function Rt(){this.__u=0,this.t=null,this.__b=null}function $r(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function je(){this.u=null,this.o=null}T.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),jr&&jr(t)},(Rt.prototype=new Y).__c=function(t,e){var r=e.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var i=$r(n.__v),a=!1,o=function(){a||(a=!0,r.__R=null,i?i(s):s())};r.__R=o;var s=function(){if(!--n.__u){if(n.state.__a){var c=n.state.__a;n.__v.__k[0]=Xr(c,c.__c.__P,c.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},l=e.__h===!0;n.__u++||l||n.setState({__a:n.__b=n.__v.__k[0]}),t.then(o,o)},Rt.prototype.componentWillUnmount=function(){this.t=[]},Rt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Zr(this.__b,r,n.__O=n.__P)}this.__b=null}var i=e.__a&&Q(ae,null,t.fallback);return i&&(i.__h=null),[Q(ae,null,e.__a?null:t.children),i]};var Kr=function(t,e,r){if(++r[1]===r[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(r=t.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;t.u=r=r[2]}};function ca(t){return this.getChildContext=function(){return t.context},t.children}function fa(t){var e=this,r=t.i;e.componentWillUnmount=function(){ke(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),t.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,i){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),ke(Q(ca,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function da(t,e){var r=Q(fa,{__v:t,i:e});return r.containerInfo=e,r}(je.prototype=new Y).__a=function(t){var e=this,r=$r(e.__v),n=e.o.get(t);return n[0]++,function(i){var a=function(){e.props.revealOrder?(n.push(i),Kr(e,t,n)):i()};r?r(a):a()}},je.prototype.render=function(t){this.u=null,this.o=new Map;var e=Ge(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var r=e.length;r--;)this.o.set(e[r],this.u=[1,0,this.u]);return t.children},je.prototype.componentDidUpdate=je.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,r){Kr(t,r,e)})};var va=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,pa=/^(?: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]/,ha=typeof document<"u",ga=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(t)};Y.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(Y.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Jr=T.event;function ma(){}function ya(){return this.cancelBubble}function Ea(){return this.defaultPrevented}T.event=function(t){return Jr&&(t=Jr(t)),t.persist=ma,t.isPropagationStopped=ya,t.isDefaultPrevented=Ea,t.nativeEvent=t};var Qr={configurable:!0,get:function(){return this.class}},en=T.vnode;T.vnode=function(t){var e=t.type,r=t.props,n=r;if(typeof e=="string"){var i=e.indexOf("-")===-1;for(var a in n={},r){var o=r[a];ha&&a==="children"&&e==="noscript"||a==="value"&&"defaultValue"in r&&o==null||(a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&o===!0?o="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+e)&&!ga(r.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():i&&pa.test(a)?a=a.replace(/[A-Z0-9]/g,"-$&").toLowerCase():o===null&&(o=void 0),/^oninput$/i.test(a)&&(a=a.toLowerCase(),n[a]&&(a="oninputCapture")),n[a]=o)}e=="select"&&n.multiple&&Array.isArray(n.value)&&(n.value=Ge(r.children).forEach(function(s){s.props.selected=n.value.indexOf(s.props.value)!=-1})),e=="select"&&n.defaultValue!=null&&(n.value=Ge(r.children).forEach(function(s){s.props.selected=n.multiple?n.defaultValue.indexOf(s.props.value)!=-1:n.defaultValue==s.props.value})),t.props=n,r.class!=r.className&&(Qr.enumerable="className"in r,r.className!=null&&(n.class=r.className),Object.defineProperty(n,"className",Qr))}t.$$typeof=va,en&&en(t)};var tn=T.__r;T.__r=function(t){tn&&tn(t),t.__c};var rn=typeof globalThis<"u"?globalThis:window;rn.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):rn.FullCalendarVDom={Component:Y,createElement:Q,render:ke,createRef:ta,Fragment:ae,createContext:Da,createPortal:da,flushSync:Sa,unmountComponentAtNode:Ca};function Sa(t){t();var e=T.debounceRendering,r=[];function n(i){r.push(i)}for(T.debounceRendering=n,ke(Q(ba,{}),document.createElement("div"));r.length;)r.shift()();T.debounceRendering=e}var ba=function(t){R(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.render=function(){return Q("div",{})},e.prototype.componentDidMount=function(){this.setState({})},e}(Y);function Da(t){var e=aa(t),r=e.Provider;return e.Provider=function(){var n=this,i=!this.getChildContext,a=r.apply(this,arguments);if(i){var o=[];this.shouldComponentUpdate=function(s){n.props.value!==s.value&&o.forEach(function(l){l.context=s.value,l.forceUpdate()})},this.sub=function(s){o.push(s);var l=s.componentWillUnmount;s.componentWillUnmount=function(){o.splice(o.indexOf(s),1),l&&l.call(s)}}}return a},e}function Ca(t){ke(null,t)}const Kc="";if(typeof FullCalendarVDom>"u")throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var wt=FullCalendarVDom.Component,m=FullCalendarVDom.createElement,Ra=FullCalendarVDom.render,G=FullCalendarVDom.createRef,B=FullCalendarVDom.Fragment,nn=FullCalendarVDom.createContext,wa=FullCalendarVDom.createPortal,an=FullCalendarVDom.flushSync,Ta=FullCalendarVDom.unmountComponentAtNode;/*! FullCalendar v5.11.3 Docs & License: https://fullcalendar.io/ (c) 2022 Adam Shaw */var pe=function(){function t(e,r){this.context=e,this.internalEventSource=r}return t.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},t.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(t.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),t}();function Tt(t){t.parentNode&&t.parentNode.removeChild(t)}function U(t,e){if(t.closest)return t.closest(e);if(!document.documentElement.contains(t))return null;do{if(_a(t,e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1);return null}function _a(t,e){var r=t.matches||t.matchesSelector||t.msMatchesSelector;return r.call(t,e)}function Ma(t,e){for(var r=t instanceof HTMLElement?[t]:t,n=[],i=0;i<r.length;i+=1)for(var a=r[i].querySelectorAll(e),o=0;o<a.length;o+=1)n.push(a[o]);return n}var ka=/(top|left|right|bottom|width|height)$/i;function Ie(t,e){for(var r in e)on(t,r,e[r])}function on(t,e,r){r==null?t.style[e]="":typeof r=="number"&&ka.test(e)?t.style[e]=r+"px":t.style[e]=r}function sn(t){var e,r;return(r=(e=t.composedPath)===null||e===void 0?void 0:e.call(t)[0])!==null&&r!==void 0?r:t.target}function ln(t){return t.getRootNode?t.getRootNode():document}var un=0;function Ze(){return un+=1,"fc-dom-"+un}function Xe(t){t.preventDefault()}function Ia(t,e){return function(r){var n=U(r.target,t);n&&e.call(n,r,n)}}function cn(t,e,r,n){var i=Ia(r,n);return t.addEventListener(e,i),function(){t.removeEventListener(e,i)}}function Pa(t,e,r,n){var i;return cn(t,"mouseover",e,function(a,o){if(o!==i){i=o,r(a,o);var s=function(l){i=null,n(l,o),o.removeEventListener("mouseleave",s)};o.addEventListener("mouseleave",s)}})}var fn=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function Ha(t,e){var r=function(n){e(n),fn.forEach(function(i){t.removeEventListener(i,r)})};fn.forEach(function(n){t.addEventListener(n,r)})}function dn(t){return h({onClick:t},vn(t))}function vn(t){return{tabIndex:0,onKeyDown:function(e){(e.key==="Enter"||e.key===" ")&&(t(e),e.preventDefault())}}}var pn=0;function he(){return pn+=1,String(pn)}function _t(){document.body.classList.add("fc-not-allowed")}function Mt(){document.body.classList.remove("fc-not-allowed")}function xa(t){t.classList.add("fc-unselectable"),t.addEventListener("selectstart",Xe)}function Aa(t){t.classList.remove("fc-unselectable"),t.removeEventListener("selectstart",Xe)}function Na(t){t.addEventListener("contextmenu",Xe)}function Oa(t){t.removeEventListener("contextmenu",Xe)}function La(t){var e=[],r=[],n,i;for(typeof t=="string"?r=t.split(/\s*,\s*/):typeof t=="function"?r=[t]:Array.isArray(t)&&(r=t),n=0;n<r.length;n+=1)i=r[n],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 Va(t,e,r){var n,i;for(n=0;n<r.length;n+=1)if(i=Ua(t,e,r[n]),i)return i;return 0}function Ua(t,e,r){return r.func?r.func(t,e):Wa(t[r.field],e[r.field])*(r.order||1)}function Wa(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 kt(t,e){var r=String(t);return"000".substr(0,e-r.length)+r}function Pe(t,e,r){return typeof t=="function"?t.apply(void 0,e):typeof t=="string"?e.reduce(function(n,i,a){return n.replace("$"+a,i||"")},t):r}function Ba(t,e){return t-e}function It(t){return t%1===0}function Fa(t){var e=t.querySelector(".fc-scrollgrid-shrink-frame"),r=t.querySelector(".fc-scrollgrid-shrink-cushion");if(!e)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!r)throw new Error("needs fc-scrollgrid-shrink-cushion className");return t.getBoundingClientRect().width-e.getBoundingClientRect().width+r.getBoundingClientRect().width}var za=["sun","mon","tue","wed","thu","fri","sat"];function hn(t,e){var r=ee(t);return r[2]+=e*7,F(r)}function W(t,e){var r=ee(t);return r[2]+=e,F(r)}function oe(t,e){var r=ee(t);return r[6]+=e,F(r)}function Ga(t,e){return ge(t,e)/7}function ge(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60*24)}function qa(t,e){return(e.valueOf()-t.valueOf())/(1e3*60*60)}function Ya(t,e){return(e.valueOf()-t.valueOf())/(1e3*60)}function ja(t,e){return(e.valueOf()-t.valueOf())/1e3}function Za(t,e){var r=H(t),n=H(e);return{years:0,months:0,days:Math.round(ge(r,n)),milliseconds:e.valueOf()-n.valueOf()-(t.valueOf()-r.valueOf())}}function Xa(t,e){var r=$e(t,e);return r!==null&&r%7===0?r/7:null}function $e(t,e){return te(t)===te(e)?Math.round(ge(t,e)):null}function H(t){return F([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()])}function $a(t){return F([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()])}function Ka(t){return F([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes()])}function Ja(t){return F([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()])}function Qa(t,e,r){var n=t.getUTCFullYear(),i=Pt(t,n,e,r);if(i<1)return Pt(t,n-1,e,r);var a=Pt(t,n+1,e,r);return a>=1?Math.min(i,a):i}function Pt(t,e,r,n){var i=F([e,0,1+eo(e,r,n)]),a=H(t),o=Math.round(ge(i,a));return Math.floor(o/7)+1}function eo(t,e,r){var n=7+e-r,i=(7+F([t,0,n]).getUTCDay()-e)%7;return-i+n-1}function gn(t){return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()]}function mn(t){return new Date(t[0],t[1]||0,t[2]==null?1:t[2],t[3]||0,t[4]||0,t[5]||0)}function ee(t){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()]}function F(t){return t.length===1&&(t=t.concat([0])),new Date(Date.UTC.apply(Date,t))}function yn(t){return!isNaN(t.valueOf())}function te(t){return t.getUTCHours()*1e3*60*60+t.getUTCMinutes()*1e3*60+t.getUTCSeconds()*1e3+t.getUTCMilliseconds()}function Ht(t,e,r,n){return{instanceId:he(),defId:t,range:e,forcedStartTzo:r==null?null:r,forcedEndTzo:n==null?null:n}}var Ke=Object.prototype.hasOwnProperty;function xt(t,e){var r={};if(e)for(var n in e){for(var i=[],a=t.length-1;a>=0;a-=1){var o=t[a][n];if(typeof o=="object"&&o)i.unshift(o);else if(o!==void 0){r[n]=o;break}}i.length&&(r[n]=xt(i))}for(var a=t.length-1;a>=0;a-=1){var s=t[a];for(var l in s)l in r||(r[l]=s[l])}return r}function se(t,e){var r={};for(var n in t)e(t[n],n)&&(r[n]=t[n]);return r}function le(t,e){var r={};for(var n in t)r[n]=e(t[n],n);return r}function En(t){for(var e={},r=0,n=t;r<n.length;r++){var i=n[r];e[i]=!0}return e}function At(t){var e=[];for(var r in t)e.push(t[r]);return e}function X(t,e){if(t===e)return!0;for(var r in t)if(Ke.call(t,r)&&!(r in e))return!1;for(var r in e)if(Ke.call(e,r)&&t[r]!==e[r])return!1;return!0}function Sn(t,e){var r=[];for(var n in t)Ke.call(t,n)&&(n in e||r.push(n));for(var n in e)Ke.call(e,n)&&t[n]!==e[n]&&r.push(n);return r}function Nt(t,e,r){if(r===void 0&&(r={}),t===e)return!0;for(var n in e)if(!(n in t&&to(t[n],e[n],r[n])))return!1;for(var n in t)if(!(n in e))return!1;return!0}function to(t,e,r){return t===e||r===!0?!0:r?r(t,e):!1}function ro(t,e,r,n){e===void 0&&(e=0),n===void 0&&(n=1);var i=[];r==null&&(r=Object.keys(t).length);for(var a=e;a<r;a+=n){var o=t[a];o!==void 0&&i.push(o)}return i}function no(t,e,r,n){for(var i=0;i<n.length;i+=1){var a=n[i].parse(t,r);if(a){var o=t.allDay;return o==null&&(o=e,o==null&&(o=a.allDayGuess,o==null&&(o=!1))),{allDay:o,duration:a.duration,typeData:a.typeData,typeId:i}}}return null}function me(t,e,r){var n=r.dateEnv,i=r.pluginHooks,a=r.options,o=t.defs,s=t.instances;s=se(s,function(S){return!o[S.defId].recurringDef});for(var l in o){var c=o[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?a.defaultAllDayEventDuration:a.defaultTimedEventDuration);for(var f=io(c,u,e,n,i.recurringTypes),v=0,d=f;v<d.length;v++){var p=d[v],E=Ht(l,{start:p,end:n.add(p,u)});s[E.instanceId]=E}}}return{defs:o,instances:s}}function io(t,e,r,n,i){var a=i[t.recurringDef.typeId],o=a.expand(t.recurringDef.typeData,{start:n.subtract(r.start,e),end:r.end},n);return t.allDay&&(o=o.map(H)),o}var ao=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function k(t,e){var r;return typeof t=="string"?oo(t):typeof t=="object"&&t?bn(t):typeof t=="number"?bn((r={},r[e||"milliseconds"]=t,r)):null}function oo(t){var e=ao.exec(t);if(e){var r=e[1]?-1:1;return{years:0,months:0,days:r*(e[2]?parseInt(e[2],10):0),milliseconds:r*((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 bn(t){var 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)},r=t.weeks||t.week;return r&&(e.days+=r*7,e.specifiedWeeks=!0),e}function so(t,e){return t.years===e.years&&t.months===e.months&&t.days===e.days&&t.milliseconds===e.milliseconds}function lo(t,e){return{years:t.years-e.years,months:t.months-e.months,days:t.days-e.days,milliseconds:t.milliseconds-e.milliseconds}}function uo(t){return ye(t)/365}function co(t){return ye(t)/30}function ye(t){return He(t)/864e5}function He(t){return t.years*(365*864e5)+t.months*(30*864e5)+t.days*864e5+t.milliseconds}function Ot(t){var 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 fo(t,e,r){r===void 0&&(r=!1);var n=t.toISOString();return n=n.replace(".000",""),r&&(n=n.replace("T00:00:00Z","")),n.length>10&&(e==null?n=n.replace("Z",""):e!==0&&(n=n.replace("Z",Lt(e,!0)))),n}function Dn(t){return t.toISOString().replace(/T.*$/,"")}function Lt(t,e){e===void 0&&(e=!1);var r=t<0?"-":"+",n=Math.abs(t),i=Math.floor(n/60),a=Math.round(n%60);return e?r+kt(i,2)+":"+kt(a,2):"GMT"+r+i+(a?":"+kt(a,2):"")}function Ee(t,e,r){if(t===e)return!0;var n=t.length,i;if(n!==e.length)return!1;for(i=0;i<n;i+=1)if(!(r?r(t[i],e[i]):t[i]===e[i]))return!1;return!0}function M(t,e,r){var n,i;return function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];if(!n)i=t.apply(this,a);else if(!Ee(n,a)){r&&r(i);var s=t.apply(this,a);(!e||!e(s,i))&&(i=s)}return n=a,i}}function Je(t,e,r){var n=this,i,a;return function(o){if(!i)a=t.call(n,o);else if(!X(i,o)){r&&r(a);var s=t.call(n,o);(!e||!e(s,a))&&(a=s)}return i=o,a}}var Cn={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Qe={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},et=/\s*([ap])\.?m\.?/i,vo=/,/g,po=/\s+/g,ho=/\u200e/g,go=/UTC|GMT/,mo=function(){function t(e){var r={},n={},i=0;for(var a in e)a in Cn?(n[a]=e[a],i=Math.max(Cn[a],i)):(r[a]=e[a],a in Qe&&(i=Math.max(Qe[a],i)));this.standardDateProps=r,this.extendedSettings=n,this.severity=i,this.buildFormattingFunc=M(Rn)}return t.prototype.format=function(e,r){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,r)(e)},t.prototype.formatRange=function(e,r,n,i){var a=this,o=a.standardDateProps,s=a.extendedSettings,l=Co(e.marker,r.marker,n.calendarSystem);if(!l)return this.format(e,n);var c=l;c>1&&(o.year==="numeric"||o.year==="2-digit")&&(o.month==="numeric"||o.month==="2-digit")&&(o.day==="numeric"||o.day==="2-digit")&&(c=1);var u=this.format(e,n),f=this.format(r,n);if(u===f)return u;var v=Ro(o,c),d=Rn(v,s,n),p=d(e),E=d(r),S=wo(u,p,f,E),g=s.separator||i||n.defaultSeparator||"";return S?S.before+p+g+E+S.after:u+g+f},t.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},t}();function Rn(t,e,r){var n=Object.keys(t).length;return n===1&&t.timeZoneName==="short"?function(i){return Lt(i.timeZoneOffset)}:n===0&&e.week?function(i){return Do(r.computeWeekNumber(i.marker),r.weekText,r.weekTextLong,r.locale,e.week)}:yo(t,e,r)}function yo(t,e,r){t=h({},t),e=h({},e),Eo(t,e),t.timeZone="UTC";var n=new Intl.DateTimeFormat(r.locale.codes,t),i;if(e.omitZeroMinute){var a=h({},t);delete a.minute,i=new Intl.DateTimeFormat(r.locale.codes,a)}return function(o){var s=o.marker,l;i&&!s.getUTCMinutes()?l=i:l=n;var c=l.format(s);return So(c,o,t,e,r)}}function Eo(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 So(t,e,r,n,i){return t=t.replace(ho,""),r.timeZoneName==="short"&&(t=bo(t,i.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":Lt(e.timeZoneOffset))),n.omitCommas&&(t=t.replace(vo,"").trim()),n.omitZeroMinute&&(t=t.replace(":00","")),n.meridiem===!1?t=t.replace(et,"").trim():n.meridiem==="narrow"?t=t.replace(et,function(a,o){return o.toLocaleLowerCase()}):n.meridiem==="short"?t=t.replace(et,function(a,o){return o.toLocaleLowerCase()+"m"}):n.meridiem==="lowercase"&&(t=t.replace(et,function(a){return a.toLocaleLowerCase()})),t=t.replace(po," "),t=t.trim(),t}function bo(t,e){var r=!1;return t=t.replace(go,function(){return r=!0,e}),r||(t+=" "+e),t}function Do(t,e,r,n,i){var a=[];return i==="long"?a.push(r):(i==="short"||i==="narrow")&&a.push(e),(i==="long"||i==="short")&&a.push(" "),a.push(n.simpleNumberFormat.format(t)),n.options.direction==="rtl"&&a.reverse(),a.join("")}function Co(t,e,r){return r.getMarkerYear(t)!==r.getMarkerYear(e)?5:r.getMarkerMonth(t)!==r.getMarkerMonth(e)?4:r.getMarkerDay(t)!==r.getMarkerDay(e)?2:te(t)!==te(e)?1:0}function Ro(t,e){var r={};for(var n in t)(!(n in Qe)||Qe[n]<=e)&&(r[n]=t[n]);return r}function wo(t,e,r,n){for(var i=0;i<t.length;){var a=t.indexOf(e,i);if(a===-1)break;var o=t.substr(0,a);i=a+e.length;for(var s=t.substr(i),l=0;l<r.length;){var c=r.indexOf(n,l);if(c===-1)break;var u=r.substr(0,c);l=c+n.length;var f=r.substr(l);if(o===u&&s===f)return{before:o,after:s}}}return null}function wn(t,e){var r=e.markerToArray(t.marker);return{marker:t.marker,timeZoneOffset:t.timeZoneOffset,array:r,year:r[0],month:r[1],day:r[2],hour:r[3],minute:r[4],second:r[5],millisecond:r[6]}}function tt(t,e,r,n){var i=wn(t,r.calendarSystem),a=e?wn(e,r.calendarSystem):null;return{date:i,start:i,end:a,timeZone:r.timeZone,localeCodes:r.locale.codes,defaultSeparator:n||r.defaultSeparator}}var To=function(){function t(e){this.cmdStr=e}return t.prototype.format=function(e,r,n){return r.cmdFormatter(this.cmdStr,tt(e,null,r,n))},t.prototype.formatRange=function(e,r,n,i){return n.cmdFormatter(this.cmdStr,tt(e,r,n,i))},t}(),_o=function(){function t(e){this.func=e}return t.prototype.format=function(e,r,n){return this.func(tt(e,null,r,n))},t.prototype.formatRange=function(e,r,n,i){return this.func(tt(e,r,n,i))},t}();function V(t){return typeof t=="object"&&t?new mo(t):typeof t=="string"?new To(t):typeof t=="function"?new _o(t):null}var Tn={navLinkDayClick:y,navLinkWeekClick:y,duration:k,bootstrapFontAwesome:y,buttonIcons:y,customButtons:y,defaultAllDayEventDuration:k,defaultTimedEventDuration:k,nextDayThreshold:k,scrollTime:k,scrollTimeReset:Boolean,slotMinTime:k,slotMaxTime:k,dayPopoverFormat:V,slotDuration:k,snapDuration:k,headerToolbar:y,footerToolbar:y,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:V,dayHeaderClassNames:y,dayHeaderContent:y,dayHeaderDidMount:y,dayHeaderWillUnmount:y,dayCellClassNames:y,dayCellContent:y,dayCellDidMount:y,dayCellWillUnmount:y,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:y,weekNumbers:Boolean,weekNumberClassNames:y,weekNumberContent:y,weekNumberDidMount:y,weekNumberWillUnmount:y,editable:Boolean,viewClassNames:y,viewDidMount:y,viewWillUnmount:y,nowIndicator:Boolean,nowIndicatorClassNames:y,nowIndicatorContent:y,nowIndicatorDidMount:y,nowIndicatorWillUnmount:y,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:y,locale:y,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:y,eventOrder:La,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:y,contentHeight:y,direction:String,weekNumberFormat:V,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:y,initialDate:y,now:y,eventDataTransform:y,stickyHeaderDates:y,stickyFooterScrollbar:y,viewHeight:y,defaultAllDay:Boolean,eventSourceFailure:y,eventSourceSuccess:y,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:y,eventConstraint:y,eventAllow:y,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:y,eventContent:y,eventDidMount:y,eventWillUnmount:y,selectConstraint:y,selectOverlap:y,selectAllow:y,droppable:Boolean,unselectCancel:String,slotLabelFormat:y,slotLaneClassNames:y,slotLaneContent:y,slotLaneDidMount:y,slotLaneWillUnmount:y,slotLabelClassNames:y,slotLabelContent:y,slotLabelDidMount:y,slotLabelWillUnmount:y,dayMaxEvents:y,dayMaxEventRows:y,dayMinWidth:Number,slotLabelInterval:k,allDayText:String,allDayClassNames:y,allDayContent:y,allDayDidMount:y,allDayWillUnmount:y,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:V,rerenderDelay:Number,moreLinkText:y,moreLinkHint:y,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:y,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:k,hiddenDays:y,monthMode:Boolean,fixedWeekCount:Boolean,validRange:y,visibleRange:y,titleFormat:y,eventInteractive:Boolean,noEventsText:String,viewHint:y,navLinkHint:y,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:y,moreLinkClassNames:y,moreLinkContent:y,moreLinkDidMount:y,moreLinkWillUnmount:y},xe={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},_n={datesSet:y,eventsSet:y,eventAdd:y,eventChange:y,eventRemove:y,windowResize:y,eventClick:y,eventMouseEnter:y,eventMouseLeave:y,select:y,unselect:y,loading:y,_unmount:y,_beforeprint:y,_afterprint:y,_noEventDrop:y,_noEventResize:y,_resize:y,_scrollRequest:y},Mn={buttonText:y,buttonHints:y,views:y,plugins:y,initialEvents:y,events:y,eventSources:y},ue={headerToolbar:Se,footerToolbar:Se,buttonText:Se,buttonHints:Se,buttonIcons:Se,dateIncrement:Se};function Se(t,e){return typeof t=="object"&&typeof e=="object"&&t&&e?X(t,e):t===e}var Mo={type:String,component:y,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:y,usesMinMaxTime:Boolean,classNames:y,content:y,didMount:y,willUnmount:y};function Vt(t){return xt(t,ue)}function Ut(t,e){var r={},n={};for(var i in e)i in t&&(r[i]=e[i](t[i]));for(var i in t)i in e||(n[i]=t[i]);return{refined:r,extra:n}}function y(t){return t}function rt(t,e,r,n){for(var i=j(),a=Gt(r),o=0,s=t;o<s.length;o++){var l=s[o],c=In(l,e,r,n,a);c&&Wt(c,i)}return i}function Wt(t,e){return e===void 0&&(e=j()),e.defs[t.def.defId]=t.def,t.instance&&(e.instances[t.instance.instanceId]=t.instance),e}function Bt(t,e){var r=t.instances[e];if(r){var n=t.defs[r.defId],i=nt(t,function(a){return ko(n,a)});return i.defs[n.defId]=n,i.instances[r.instanceId]=r,i}return j()}function ko(t,e){return Boolean(t.groupId&&t.groupId===e.groupId)}function j(){return{defs:{},instances:{}}}function Ft(t,e){return{defs:h(h({},t.defs),e.defs),instances:h(h({},t.instances),e.instances)}}function nt(t,e){var r=se(t.defs,e),n=se(t.instances,function(i){return r[i.defId]});return{defs:r,instances:n}}function Io(t,e){var r=t.defs,n=t.instances,i={},a={};for(var o in r)e.defs[o]||(i[o]=r[o]);for(var s in n)!e.instances[s]&&i[n[s].defId]&&(a[s]=n[s]);return{defs:i,instances:a}}function Po(t,e){return Array.isArray(t)?rt(t,null,e,!0):typeof t=="object"&&t?rt([t],null,e,!0):t!=null?String(t):null}function zt(t){return Array.isArray(t)?t:typeof t=="string"?t.split(/\s+/):[]}var it={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:y,overlap:y,allow:y,className:zt,classNames:zt,color:String,backgroundColor:String,borderColor:String,textColor:String},Ho={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function at(t,e){var r=Po(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:r!=null?[r]:[],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 xo(t){return t.reduce(Ao,Ho)}function Ao(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)}}var ot={id:String,groupId:String,title:String,url:String,interactive:Boolean},kn={start:y,end:y,date:y,allDay:Boolean},No=h(h(h({},ot),kn),{extendedProps:y});function In(t,e,r,n,i){i===void 0&&(i=Gt(r));var a=Pn(t,r,i),o=a.refined,s=a.extra,l=Lo(e,r),c=no(o,l,r.dateEnv,r.pluginHooks.recurringTypes);if(c){var u=qt(o,s,e?e.sourceId:"",c.allDay,Boolean(c.duration),r);return u.recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:u,instance:null}}var f=Oo(o,l,r,n);if(f){var u=qt(o,s,e?e.sourceId:"",f.allDay,f.hasEnd,r),v=Ht(u.defId,f.range,f.forcedStartTzo,f.forcedEndTzo);return{def:u,instance:v}}return null}function Pn(t,e,r){return r===void 0&&(r=Gt(e)),Ut(t,r)}function Gt(t){return h(h(h({},it),No),t.pluginHooks.eventRefiners)}function qt(t,e,r,n,i,a){for(var o={title:t.title||"",groupId:t.groupId||"",publicId:t.id||"",url:t.url||"",recurringDef:null,defId:he(),sourceId:r,allDay:n,hasEnd:i,interactive:t.interactive,ui:at(t,a),extendedProps:h(h({},t.extendedProps||{}),e)},s=0,l=a.pluginHooks.eventDefMemberAdders;s<l.length;s++){var c=l[s];h(o,c(t))}return Object.freeze(o.ui.classNames),Object.freeze(o.extendedProps),o}function Oo(t,e,r,n){var i=t.allDay,a,o=null,s=!1,l,c=null,u=t.start!=null?t.start:t.date;if(a=r.dateEnv.createMarkerMeta(u),a)o=a.marker;else if(!n)return null;return t.end!=null&&(l=r.dateEnv.createMarkerMeta(t.end)),i==null&&(e!=null?i=e:i=(!a||a.isTimeUnspecified)&&(!l||l.isTimeUnspecified)),i&&o&&(o=H(o)),l&&(c=l.marker,i&&(c=H(c)),o&&c<=o&&(c=null)),c?s=!0:n||(s=r.options.forceEventDuration||!1,c=r.dateEnv.add(o,i?r.options.defaultAllDayEventDuration:r.options.defaultTimedEventDuration)),{allDay:i,hasEnd:s,range:{start:o,end:c},forcedStartTzo:a?a.forcedTzo:null,forcedEndTzo:l?l.forcedTzo:null}}function Lo(t,e){var r=null;return t&&(r=t.defaultAllDay),r==null&&(r=e.options.defaultAllDay),r}function Hn(t){var e=Math.floor(ge(t.start,t.end))||1,r=H(t.start),n=W(r,e);return{start:r,end:n}}function xn(t,e){e===void 0&&(e=k(0));var r=null,n=null;if(t.end){n=H(t.end);var i=t.end.valueOf()-n.valueOf();i&&i>=He(e)&&(n=W(n,1))}return t.start&&(r=H(t.start),n&&n<=r&&(n=W(r,1))),{start:r,end:n}}function be(t,e,r,n){return n==="year"?k(r.diffWholeYears(t,e),"year"):n==="month"?k(r.diffWholeMonths(t,e),"month"):Za(t,e)}function Vo(t,e){var r=null,n=null;return t.start&&(r=e.createMarker(t.start)),t.end&&(n=e.createMarker(t.end)),!r&&!n||r&&n&&n<r?null:{start:r,end:n}}function An(t,e){var r=[],n=e.start,i,a;for(t.sort(Uo),i=0;i<t.length;i+=1)a=t[i],a.start>n&&r.push({start:n,end:a.start}),a.end>n&&(n=a.end);return n<e.end&&r.push({start:n,end:e.end}),r}function Uo(t,e){return t.start.valueOf()-e.start.valueOf()}function Ae(t,e){var r=t.start,n=t.end,i=null;return e.start!==null&&(r===null?r=e.start:r=new Date(Math.max(r.valueOf(),e.start.valueOf()))),e.end!=null&&(n===null?n=e.end:n=new Date(Math.min(n.valueOf(),e.end.valueOf()))),(r===null||n===null||r<n)&&(i={start:r,end:n}),i}function Wo(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 Yt(t,e){return(t.end===null||e.start===null||t.end>e.start)&&(t.start===null||e.end===null||t.start<e.end)}function st(t,e){return(t.start===null||e.start!==null&&e.start>=t.start)&&(t.end===null||e.end!==null&&e.end<=t.end)}function ce(t,e){return(t.start===null||e>=t.start)&&(t.end===null||e<t.end)}function Bo(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 Nn(t,e,r,n){var i={},a={},o={},s=[],l=[],c=lt(t.defs,e);for(var u in t.defs){var f=t.defs[u],v=c[f.defId];v.display==="inverse-background"&&(f.groupId?(i[f.groupId]=[],o[f.groupId]||(o[f.groupId]=f)):a[u]=[])}for(var d in t.instances){var p=t.instances[d],f=t.defs[p.defId],v=c[f.defId],E=p.range,S=!f.allDay&&n?xn(E,n):E,g=Ae(S,r);g&&(v.display==="inverse-background"?f.groupId?i[f.groupId].push(g):a[p.defId].push(g):v.display!=="none"&&(v.display==="background"?s:l).push({def:f,ui:v,instance:p,range:g,isStart:S.start&&S.start.valueOf()===g.start.valueOf(),isEnd:S.end&&S.end.valueOf()===g.end.valueOf()}))}for(var b in i)for(var C=i[b],D=An(C,r),I=0,_=D;I<_.length;I++){var P=_[I],f=o[b],v=c[f.defId];s.push({def:f,ui:v,instance:null,range:P,isStart:!1,isEnd:!1})}for(var u in a)for(var C=a[u],D=An(C,r),w=0,A=D;w<A.length;w++){var P=A[w];s.push({def:t.defs[u],ui:c[u],instance:null,range:P,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function On(t,e){t.fcSeg=e}function De(t){return t.fcSeg||t.parentNode.fcSeg||null}function lt(t,e){return le(t,function(r){return Ln(r,e)})}function Ln(t,e){var r=[];return e[""]&&r.push(e[""]),e[t.defId]&&r.push(e[t.defId]),r.push(t.ui),xo(r)}function Fo(t,e){var r=t.map(zo);return r.sort(function(n,i){return Va(n,i,e)}),r.map(function(n){return n._seg})}function zo(t){var e=t.eventRange,r=e.def,n=e.instance?e.instance.range:e.range,i=n.start?n.start.valueOf():0,a=n.end?n.end.valueOf():0;return h(h(h({},r.extendedProps),r),{id:r.publicId,start:i,end:a,duration:a-i,allDay:Number(r.allDay),_seg:t})}function Go(t,e){for(var r=e.pluginHooks,n=r.isDraggableTransformers,i=t.eventRange,a=i.def,o=i.ui,s=o.startEditable,l=0,c=n;l<c.length;l++){var u=c[l];s=u(s,a,o,e)}return s}function qo(t,e){return t.isStart&&t.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function Yo(t,e){return t.isEnd&&t.eventRange.ui.durationEditable}function Vn(t,e,r,n,i,a,o){var s=r.dateEnv,l=r.options,c=l.displayEventTime,u=l.displayEventEnd,f=t.eventRange.def,v=t.eventRange.instance;c==null&&(c=n!==!1),u==null&&(u=i!==!1);var d=v.range.start,p=v.range.end,E=a||t.start||t.eventRange.range.start,S=o||t.end||t.eventRange.range.end,g=H(d).valueOf()===H(E).valueOf(),b=H(oe(p,-1)).valueOf()===H(oe(S,-1)).valueOf();return c&&!f.allDay&&(g||b)?(E=g?d:E,S=b?p:S,u&&f.hasEnd?s.formatRange(E,S,e,{forcedStartTzo:a?null:v.forcedStartTzo,forcedEndTzo:o?null:v.forcedEndTzo}):s.format(E,e,{forcedTzo:a?null:v.forcedStartTzo})):""}function Ne(t,e,r){var n=t.eventRange.range;return{isPast:n.end<(r||e.start),isFuture:n.start>=(r||e.end),isToday:e&&ce(e,n.start)}}function jo(t){var 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 Zo(t){return t.instance?t.instance.instanceId:t.def.defId+":"+t.range.start.toISOString()}function Un(t,e){var r=t.eventRange,n=r.def,i=r.instance,a=n.url;if(a)return{href:a};var o=e.emitter,s=e.options,l=s.eventInteractive;return l==null&&(l=n.interactive,l==null&&(l=Boolean(o.hasHandlers("eventClick")))),l?vn(function(c){o.trigger("eventClick",{el:c.ta