diff --git a/.gitignore b/.gitignore index 8ee54e8..a52d458 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ lerna-debug.log* node_modules .DS_Store -dist dist-ssr coverage *.local diff --git a/dist/assets/AboutView-B1z6ffxY.js b/dist/assets/AboutView-B1z6ffxY.js new file mode 100644 index 0000000..2430e1f --- /dev/null +++ b/dist/assets/AboutView-B1z6ffxY.js @@ -0,0 +1 @@ +import{_ as t,f as a,g as o,e as s}from"./index-DBzMH3cf.js";const c={},n={class:"about-view"};function r(l,e){return s(),a("div",n,e[0]||(e[0]=[o("h1",null,"Email me at davidclaytonherald@gmail.com",-1)]))}const d=t(c,[["render",r]]);export{d as default}; diff --git a/dist/assets/CalendarView-BPgOkefQ.js b/dist/assets/CalendarView-BPgOkefQ.js new file mode 100644 index 0000000..f3b32c1 --- /dev/null +++ b/dist/assets/CalendarView-BPgOkefQ.js @@ -0,0 +1 @@ +import{d as Js,r as G,a as ke,c as Le,o as Ks,w as el,b as tl,e as j,f as V,g as x,t as Z,h as at,i as De,n as nl,j as Qn,k as Kr,l as rl,m as ei,p as Yn,u as tt,_ as il,q as nt,F as $t,T as sl,s as ll}from"./index-DBzMH3cf.js";let ol=0;const $n=new Date().toISOString().replace(/T.*$/,""),al=[{id:Zt(),title:"All-day event",start:$n},{id:Zt(),title:"Timed event",start:$n+"T12:00:00"}];function Zt(){return String(ol++)}const ti=Js("event",()=>{const t=G([]),e=G({}),n={show:G(!1),title:G("Create New Event")},r=G({title:"Some title",startStr:"Date",endStr:"Date",allDay:!1});return{events:t,calendarRef:e,modal:n,newEvent:r,initializeNewEvent:a=>{console.log("initialStr",a.startStr),r.value.startStr=a.startStr,r.value.allDay=a.allDay,console.log("newEvent is",r.value)},openModal:a=>{n.title.value=a,n.show.value=!0},closeModal:()=>{n.show.value=!1},createEvent:(a,d)=>{calendarApi.value.addEvent({id:Zt(),title:a,start:d.startStr,end:d.endStr,allDay:d.allDay})}}}),cl=["id"],dl={class:"my-modal__inner"},ul={class:"my-modal__header"},fl={key:0,class:"my-modal__footer"},hl={key:1,class:"my-modal__footer my-modal__footer--buttons"},gl=ke({__name:"MyModal",props:{open:{type:Boolean},showClose:{type:Boolean},showSave:{type:Boolean},showDiscard:{type:Boolean},disableScroll:{type:Boolean},title:{},onSave:{type:Function},onDiscard:{type:Function},onClose:{type:Function},onOpen:{type:Function}},emits:["close"],setup(t,{emit:e}){const n=t,r=e,i=G(null),s=Le(()=>`dialog-${n.title}`),l=()=>{i.value&&i.value.showModal(),n.onOpen&&n.onOpen()},o=()=>{i.value&&i.value.close(),n.onClose&&n.onClose()},a=()=>{o(),n.onDiscard&&n.onDiscard()},d=()=>{o(),n.onSave&&n.onSave()},c=f=>{r("close"),f.target===i.value&&o()};Ks(()=>{n.open&&l()}),el(()=>n.open,f=>{f&&l(),f||o()});const h=Le(()=>({"my-modal__content":!0,"my-modal__content--disable-scroll":n.disableScroll}));return(f,u)=>{const m=tl("unicon");return j(),V("dialog",{id:s.value,ref_key:"dialog",ref:i,class:"my-modal",onClick:Kr(c,["prevent"])},[x("div",dl,[x("div",ul,[x("h2",null,Z(f.title),1),f.showClose?(j(),V("button",{key:0,class:"my-modal__close",onClick:o},[u[0]||(u[0]=x("span",{class:"sr-only"},"Close",-1)),at(m,{name:"times",fill:"white"})])):De("",!0)]),x("div",{class:nl(h.value)},[Qn(f.$slots,"default")],2),f.$slots.footer?(j(),V("div",fl,[Qn(f.$slots,"footer")])):f.showDiscard||f.showSave?(j(),V("div",hl,[f.showDiscard?(j(),V("button",{key:0,class:"my-modal__discard",onClick:a}," Discard ")):De("",!0),f.showSave?(j(),V("button",{key:1,class:"my-modal__save",onClick:d},"Save")):De("",!0)])):De("",!0)])],8,cl)}}}),pl=ke({__name:"EventModal",setup(t){const e=ti();G("hfg");const n=G(!0),r=Le({get(){return console.log("getting event title",e.newEvent.title),e.newEvent.title},set(s){console.log("setting event title",s),e.newEvent.title=s}});Le({get(){return e.newEvent.allDay},set(s){e.newEvent.allDay=s}});const i=()=>{console.log("hi")};return(s,l)=>(j(),rl(gl,{title:tt(e).modal.title,open:tt(e).modal.show,onClose:tt(e).closeModal,onSave:i,showClose:"",showDiscard:"",showSave:"",class:"event-modal"},{default:ei(()=>[x("div",{class:"event-modal__container",onClick:l[0]||(l[0]=Kr(()=>{},["stop"]))},[l[1]||(l[1]=x("label",{for:"event-title"},"Title:",-1)),x("span",null,Z(r.value),1),x("input",Yn({name:"event-title"},r.value.value),null,16),l[2]||(l[2]=x("label",{for:"event-all-day"},"Is this all day?",-1)),x("input",Yn({name:"event-all-day",type:"checkbox"},n.value),null,16)])]),_:1},8,["title","open","onClose"]))}}),ml=il(pl,[["__scopeId","data-v-92bc5709"]]);var wt,S,ni,ri,Te,he,Zn,ii,si,ct={},li=[],vl=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function ie(t,e){for(var n in e)t[n]=e[n];return t}function oi(t){var e=t.parentNode;e&&e.removeChild(t)}function g(t,e,n){var r,i,s,l={};for(s in e)s=="key"?r=e[s]:s=="ref"?i=e[s]:l[s]=e[s];if(arguments.length>2&&(l.children=arguments.length>3?wt.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(s in t.defaultProps)l[s]===void 0&&(l[s]=t.defaultProps[s]);return rt(t,l,r,i,null)}function rt(t,e,n,r,i){var s={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i??++ni};return i==null&&S.vnode!=null&&S.vnode(s),s}function L(){return{current:null}}function k(t){return t.children}function bl(t,e,n,r,i){var s;for(s in n)s==="children"||s==="key"||s in e||dt(t,s,null,n[s],r);for(s in e)i&&typeof e[s]!="function"||s==="children"||s==="key"||s==="value"||s==="checked"||n[s]===e[s]||dt(t,s,e[s],n[s],r)}function Xn(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||vl.test(e)?n:n+"px"}function dt(t,e,n,r,i){var s;e:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Xn(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Xn(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")s=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+s]=n,n?r||t.addEventListener(e,s?Kn:Jn,s):t.removeEventListener(e,s?Kn:Jn,s);else if(e!=="dangerouslySetInnerHTML"){if(i)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e in t)try{t[e]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e.indexOf("-")==-1?t.removeAttribute(e):t.setAttribute(e,n))}}function Jn(t){Te=!0;try{return this.l[t.type+!1](S.event?S.event(t):t)}finally{Te=!1}}function Kn(t){Te=!0;try{return this.l[t.type+!0](S.event?S.event(t):t)}finally{Te=!1}}function z(t,e){this.props=t,this.context=e}function Ue(t,e){if(e==null)return t.__?Ue(t.__,t.__.__k.indexOf(t)+1):null;for(var n;ee&&he.sort(function(a,d){return a.__v.__b-d.__v.__b}));ut.__r=0}function ci(t,e,n,r,i,s,l,o,a,d){var c,h,f,u,m,v,b,y=r&&r.__k||li,E=y.length;for(n.__k=[],c=0;c0?rt(u.type,u.props,u.key,u.ref?u.ref:null,u.__v):u)!=null){if(u.__=n,u.__b=n.__b+1,(f=y[c])===null||f&&u.key==f.key&&u.type===f.type)y[c]=void 0;else for(h=0;h=0;e--)if((n=t.__k[e])&&(r=fi(n)))return r}return null}function gn(t,e,n,r,i,s,l,o,a){var d,c,h,f,u,m,v,b,y,E,D,C,P,T,I,R=e.type;if(e.constructor!==void 0)return null;n.__h!=null&&(a=n.__h,o=e.__e=n.__e,e.__h=null,s=[o]),(d=S.__b)&&d(e);try{e:if(typeof R=="function"){if(b=e.props,y=(d=R.contextType)&&r[d.__c],E=d?y?y.props.value:d.__:r,n.__c?v=(c=e.__c=n.__c).__=c.__E:("prototype"in R&&R.prototype.render?e.__c=c=new R(b,E):(e.__c=c=new z(b,E),c.constructor=R,c.render=Sl),y&&y.sub(c),c.props=b,c.state||(c.state={}),c.context=E,c.__n=r,h=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),R.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=ie({},c.__s)),ie(c.__s,R.getDerivedStateFromProps(b,c.__s))),f=c.props,u=c.state,c.__v=e,h)R.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(R.getDerivedStateFromProps==null&&b!==f&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(b,E),!c.__e&&c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(b,c.__s,E)===!1||e.__v===n.__v){for(e.__v!==n.__v&&(c.props=b,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(re){re&&(re.__=e)}),D=0;D3;)n.pop()();if(n[1]>>1,1),e.i.removeChild(r)}}),je(g(_l,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function xl(t,e){var n=g(Tl,{__v:t,i:e});return n.containerInfo=e,n}(Qe.prototype=new z).__a=function(t){var e=this,n=yi(e.__v),r=e.o.get(t);return r[0]++,function(i){var s=function(){e.props.revealOrder?(r.push(i),ur(e,t,r)):i()};n?n(s):s()}},Qe.prototype.render=function(t){this.u=null,this.o=new Map;var e=ft(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Qe.prototype.componentDidUpdate=Qe.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){ur(t,n,e)})};var Ml=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,kl=/^(?: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]/,Il=typeof document<"u",Nl=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(t)};z.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(z.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var fr=S.event;function Ol(){}function Pl(){return this.cancelBubble}function Hl(){return this.defaultPrevented}S.event=function(t){return fr&&(t=fr(t)),t.persist=Ol,t.isPropagationStopped=Pl,t.isDefaultPrevented=Hl,t.nativeEvent=t};var hr={configurable:!0,get:function(){return this.class}},gr=S.vnode;S.vnode=function(t){var e=t.type,n=t.props,r=n;if(typeof e=="string"){var i=e.indexOf("-")===-1;for(var s in r={},n){var l=n[s];Il&&s==="children"&&e==="noscript"||s==="value"&&"defaultValue"in n&&l==null||(s==="defaultValue"&&"value"in n&&n.value==null?s="value":s==="download"&&l===!0?l="":/ondoubleclick/i.test(s)?s="ondblclick":/^onchange(textarea|input)/i.test(s+e)&&!Nl(n.type)?s="oninput":/^onfocus$/i.test(s)?s="onfocusin":/^onblur$/i.test(s)?s="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(s)?s=s.toLowerCase():i&&kl.test(s)?s=s.replace(/[A-Z0-9]/g,"-$&").toLowerCase():l===null&&(l=void 0),/^oninput$/i.test(s)&&(s=s.toLowerCase(),r[s]&&(s="oninputCapture")),r[s]=l)}e=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=ft(n.children).forEach(function(o){o.props.selected=r.value.indexOf(o.props.value)!=-1})),e=="select"&&r.defaultValue!=null&&(r.value=ft(n.children).forEach(function(o){o.props.selected=r.multiple?r.defaultValue.indexOf(o.props.value)!=-1:r.defaultValue==o.props.value})),t.props=r,n.class!=n.className&&(hr.enumerable="className"in n,n.className!=null&&(r.class=n.className),Object.defineProperty(r,"className",hr))}t.$$typeof=Ml,gr&&gr(t)};var pr=S.__r;S.__r=function(t){pr&&pr(t),t.__c};const Ei=[],Kt=new Map;function pn(t){Ei.push(t),Kt.forEach(e=>{Ai(e,t)})}function Bl(t){t.isConnected&&t.getRootNode&&Si(t.getRootNode())}function Si(t){let e=Kt.get(t);if(!e||!e.isConnected){if(e=t.querySelector("style[data-fullcalendar]"),!e){e=document.createElement("style"),e.setAttribute("data-fullcalendar","");const n=Ul();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)}Kt.set(t,e),Ll(e)}}function Ll(t){for(const e of Ei)Ai(t,e)}function Ai(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 Ht;function Ul(){return Ht===void 0&&(Ht=jl()),Ht}function jl(){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"&&Si(document);var zl=':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;-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;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';pn(zl);class mn{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 vn(t){t.parentNode&&t.parentNode.removeChild(t)}function H(t,e){if(t.closest)return t.closest(e);if(!document.documentElement.contains(t))return null;do{if(Fl(t,e))return t;t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1);return null}function Fl(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector).call(t,e)}function Wl(t,e){let n=t instanceof HTMLElement?[t]:t,r=[];for(let i=0;i{let r=H(n.target,t);r&&e.call(r,n,r)}}function wi(t,e,n,r){let i=Gl(n,r);return t.addEventListener(e,i),()=>{t.removeEventListener(e,i)}}function ql(t,e,n,r){let i;return wi(t,"mouseover",e,(s,l)=>{if(l!==i){i=l,n(s,l);let o=a=>{i=null,r(a,l),l.removeEventListener("mouseleave",o)};l.addEventListener("mouseleave",o)}})}const vr=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function Ql(t,e){let n=r=>{e(r),vr.forEach(i=>{t.removeEventListener(i,n)})};vr.forEach(r=>{t.addEventListener(r,n)})}function Ri(t){return Object.assign({onClick:t},_i(t))}function _i(t){return{tabIndex:0,onKeyDown(e){(e.key==="Enter"||e.key===" ")&&(t(e),e.preventDefault())}}}let br=0;function ye(){return br+=1,String(br)}function bn(){document.body.classList.add("fc-not-allowed")}function yn(){document.body.classList.remove("fc-not-allowed")}function Yl(t){t.style.userSelect="none",t.style.webkitUserSelect="none",t.addEventListener("selectstart",_t)}function $l(t){t.style.userSelect="",t.style.webkitUserSelect="",t.removeEventListener("selectstart",_t)}function Zl(t){t.addEventListener("contextmenu",_t)}function Xl(t){t.removeEventListener("contextmenu",_t)}function Jl(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;rr.replace("$"+s,i||""),t):n}function no(t,e){return t-e}function st(t){return t%1===0}function ro(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 yr=["years","months","days","milliseconds"],io=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function w(t,e){return typeof t=="string"?so(t):typeof t=="object"&&t?Er(t):typeof t=="number"?Er({[e||"milliseconds"]:t}):null}function so(t){let e=io.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 Er(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 lo(t,e){return t.years===e.years&&t.months===e.months&&t.days===e.days&&t.milliseconds===e.milliseconds}function en(t,e){return{years:t.years+e.years,months:t.months+e.months,days:t.days+e.days,milliseconds:t.milliseconds+e.milliseconds}}function oo(t,e){return{years:t.years-e.years,months:t.months-e.months,days:t.days-e.days,milliseconds:t.milliseconds-e.milliseconds}}function ao(t,e){return{years:t.years*e,months:t.months*e,days:t.days*e,milliseconds:t.milliseconds*e}}function co(t){return Re(t)/365}function uo(t){return Re(t)/30}function Re(t){return q(t)/864e5}function q(t){return t.years*(365*864e5)+t.months*(30*864e5)+t.days*864e5+t.milliseconds}function En(t,e){let n=null;for(let r=0;r=1?Math.min(i,s):i}function Bt(t,e,n,r){let i=U([e,0,1+Do(e,n,r)]),s=M(t),l=Math.round(Ee(i,s));return Math.floor(l/7)+1}function Do(t,e,n){let r=7+e-n;return-((7+U([t,0,r]).getUTCDay()-e)%7)+r-1}function Ar(t){return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()]}function Dr(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 se(t){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()]}function U(t){return t.length===1&&(t=t.concat([0])),new Date(Date.UTC(...t))}function Ti(t){return!isNaN(t.valueOf())}function le(t){return t.getUTCHours()*1e3*60*60+t.getUTCMinutes()*1e3*60+t.getUTCSeconds()*1e3+t.getUTCMilliseconds()}function xi(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",An(e,!0)))),r}function Sn(t){return t.toISOString().replace(/T.*$/,"")}function Co(t){return t.toISOString().match(/^\d{4}-\d{2}/)[0]}function wo(t){return we(t.getUTCHours(),2)+":"+we(t.getUTCMinutes(),2)+":"+we(t.getUTCSeconds(),2)}function An(t,e=!1){let n=t<0?"-":"+",r=Math.abs(t),i=Math.floor(r/60),s=Math.round(r%60);return e?`${n+we(i,2)}:${we(s,2)}`:`GMT${n}${i}${s?`:${we(s,2)}`:""}`}function A(t,e,n){let r,i;return function(...s){if(!r)i=t.apply(this,s);else if(!ae(r,s)){let l=t.apply(this,s);(!e||!e(l,i))&&(i=l)}return r=s,i}}function lt(t,e,n){let r,i;return s=>(r?Y(r,s)||(i=t.call(this,s)):i=t.call(this,s),r=s,i)}const Cr={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},gt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Ye=/\s*([ap])\.?m\.?/i,Ro=/,/g,_o=/\s+/g,To=/\u200e/g,xo=/UTC|GMT/;class Mo{constructor(e){let n={},r={},i=0;for(let s in e)s in Cr?(r[s]=e[s],i=Math.max(Cr[s],i)):(n[s]=e[s],s in gt&&(i=Math.max(gt[s],i)));this.standardDateProps=n,this.extendedSettings=r,this.severity=i,this.buildFormattingFunc=A(wr)}format(e,n){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,n)(e)}formatRange(e,n,r,i){let{standardDateProps:s,extendedSettings:l}=this,o=Ho(e.marker,n.marker,r.calendarSystem);if(!o)return this.format(e,r);let a=o;a>1&&(s.year==="numeric"||s.year==="2-digit")&&(s.month==="numeric"||s.month==="2-digit")&&(s.day==="numeric"||s.day==="2-digit")&&(a=1);let d=this.format(e,r),c=this.format(n,r);if(d===c)return d;let h=Bo(s,a),f=wr(h,l,r),u=f(e),m=f(n),v=Lo(d,u,c,m),b=l.separator||i||r.defaultSeparator||"";return v?v.before+u+b+m+v.after:d+b+c}getLargestUnit(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function wr(t,e,n){let r=Object.keys(t).length;return r===1&&t.timeZoneName==="short"?i=>An(i.timeZoneOffset):r===0&&e.week?i=>Po(n.computeWeekNumber(i.marker),n.weekText,n.weekTextLong,n.locale,e.week):ko(t,e,n)}function ko(t,e,n){t=Object.assign({},t),e=Object.assign({},e),Io(t,e),t.timeZone="UTC";let r=new Intl.DateTimeFormat(n.locale.codes,t),i;if(e.omitZeroMinute){let s=Object.assign({},t);delete s.minute,i=new Intl.DateTimeFormat(n.locale.codes,s)}return s=>{let{marker:l}=s,o;i&&!l.getUTCMinutes()?o=i:o=r;let a=o.format(l);return No(a,s,t,e,n)}}function Io(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 No(t,e,n,r,i){return t=t.replace(To,""),n.timeZoneName==="short"&&(t=Oo(t,i.timeZone==="UTC"||e.timeZoneOffset==null?"UTC":An(e.timeZoneOffset))),r.omitCommas&&(t=t.replace(Ro,"").trim()),r.omitZeroMinute&&(t=t.replace(":00","")),r.meridiem===!1?t=t.replace(Ye,"").trim():r.meridiem==="narrow"?t=t.replace(Ye,(s,l)=>l.toLocaleLowerCase()):r.meridiem==="short"?t=t.replace(Ye,(s,l)=>`${l.toLocaleLowerCase()}m`):r.meridiem==="lowercase"&&(t=t.replace(Ye,s=>s.toLocaleLowerCase())),t=t.replace(_o," "),t=t.trim(),t}function Oo(t,e){let n=!1;return t=t.replace(xo,()=>(n=!0,e)),n||(t+=` ${e}`),t}function Po(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 Ho(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:le(t)!==le(e)?1:0}function Bo(t,e){let n={};for(let r in t)(!(r in gt)||gt[r]<=e)&&(n[r]=t[r]);return n}function Lo(t,e,n,r){let i=0;for(;i=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]=Cn(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 me(t,e){let n={};for(let r in t)e(t[r],r)&&(n[r]=t[r]);return n}function K(t,e){let n={};for(let r in t)n[r]=e(t[r],r);return n}function Mi(t){let e={};for(let n of t)e[n]=!0;return e}function wn(t){let e=[];for(let n in t)e.push(t[n]);return e}function Y(t,e){if(t===e)return!0;for(let n in t)if(mt.call(t,n)&&!(n in e))return!1;for(let n in e)if(mt.call(e,n)&&t[n]!==e[n])return!1;return!0}const Fo=/^on[A-Z]/;function Wo(t,e){const n=nn(t,e);for(let r of n)if(!Fo.test(r))return!1;return!0}function nn(t,e){let n=[];for(let r in t)mt.call(t,r)&&(r in e||n.push(r));for(let r in e)mt.call(e,r)&&t[r]!==e[r]&&n.push(r);return n}function Ut(t,e,n={}){if(t===e)return!0;for(let r in e)if(!(r in t&&Vo(t[r],e[r],n[r])))return!1;for(let r in t)if(!(r in e))return!1;return!0}function Vo(t,e,n){return t===e||n===!0?!0:n?n(t,e):!1}function Go(t,e=0,n,r=1){let i=[];n==null&&(n=Object.keys(t).length);for(let s=e;s{this.props.value!==l.value&&s.forEach(o=>{o.context=l.value,o.forceUpdate()})},this.sub=l=>{s.push(l);let o=l.componentWillUnmount;l.componentWillUnmount=()=>{s.splice(s.indexOf(l),1),o&&o.call(l)}}}return i},e}class Ko{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 te=Ii({});function ea(t,e,n,r,i,s,l,o,a,d,c,h,f){return{dateEnv:i,options:n,pluginHooks:l,emitter:d,dispatch:o,getCurrentData:a,calendarApi:c,viewSpec:t,viewApi:e,dateProfileGenerator:r,theme:s,isRtl:n.direction==="rtl",addResizeHandler(u){d.on("_resize",u)},removeResizeHandler(u){d.off("_resize",u)},createScrollResponder(u){return new Ko(u,d,w(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:h,unregisterInteractiveComponent:f}}class Se extends z{shouldComponentUpdate(e,n){return this.debug&&console.log(nn(e,this.props),nn(n,this.state)),!Ut(this.props,e,this.propEquality)||!Ut(this.state,n,this.stateEquality)}safeSetState(e){Ut(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}Se.addPropsEquality=ta;Se.addStateEquality=na;Se.contextType=te;Se.prototype.propEquality={};Se.prototype.stateEquality={};class _ extends Se{}_.contextType=te;function ta(t){let e=Object.create(this.prototype.propEquality);Object.assign(e,t),this.prototype.propEquality=e}function na(t){let e=Object.create(this.prototype.stateEquality);Object.assign(e,t),this.prototype.stateEquality=e}function ee(t,e){typeof t=="function"?t(e):t&&(t.current=e)}class Rn extends _{constructor(){super(...arguments),this.id=ye(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{const{options:n}=this.context,{generatorName:r}=this.props;(!n.customRenderingReplaces||!rn(r,n))&&this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&ee(this.props.elRef,e)}}render(){const{props:e,context:n}=this,{options:r}=n,{customGenerator:i,defaultGenerator:s,renderProps:l}=e,o=Ni(e,[],this.handleEl);let a=!1,d,c=[],h;if(i!=null){const f=typeof i=="function"?i(l,g):i;if(f===!0)a=!0;else{const u=f&&typeof f=="object";u&&"html"in f?o.dangerouslySetInnerHTML={__html:f.html}:u&&"domNodes"in f?c=Array.prototype.slice.call(f.domNodes):(u?ri(f):typeof f!="function")?d=f:h=f}}else a=!rn(e.generatorName,r);return a&&s&&(d=s(l)),this.queuedDomNodes=c,this.currentGeneratorMeta=h,g(e.elTag,o,d)}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}=this,{handleCustomRendering:s,customRenderingMetaMap:l}=i.options;if(s){const o=(n=this.currentGeneratorMeta)!==null&&n!==void 0?n:l==null?void 0:l[r.generatorName];o&&s(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:o},r),{elClasses:(r.elClasses||[]).filter(ra)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:n}=this,r=this.base;if(!ae(e,n)){n.forEach(vn);for(let i of e)r.appendChild(i);this.currentDomNodes=e}}}Rn.addPropsEquality({elClasses:ae,elStyle:Y,elAttrs:Wo,renderProps:Y});function rn(t,e){var n;return!!(e.handleCustomRendering&&t&&(!((n=e.customRenderingMetaMap)===null||n===void 0)&&n[t]))}function Ni(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 ra(t){return!!t}const Oi=Ii(0);class W extends z{constructor(){super(...arguments),this.InnerContent=ia.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(ee(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){const{props:e}=this,n=sa(e.classNameGenerator,e.renderProps);if(e.children){const r=Ni(e,n,this.handleEl),i=e.children(this.InnerContent,e.renderProps,r);return e.elTag?g(e.elTag,r,i):i}else return g(Rn,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}))}}W.contextType=Oi;function ia(t,e){const n=t.props;return g(Rn,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:t.context},e))}function sa(t,e){const n=typeof t=="function"?t(e):t||[];return typeof n=="string"?[n]:n}class bt extends _{render(){let{props:e,context:n}=this,{options:r}=n,i={view:n.viewApi};return g(W,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...Pi(e.viewSpec),...e.elClasses||[]],renderProps:i,classNameGenerator:r.viewClassNames,generatorName:void 0,didMount:r.viewDidMount,willUnmount:r.viewWillUnmount}),()=>e.children)}}function Pi(t){return[`fc-${t.type}-view`,"fc-view"]}function la(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&&rr&&n.push({start:r,end:s.start}),s.end>r&&(r=s.end);return re.start)&&(t.start===null||e.end===null||t.start=t.start)&&(t.end===null||e.end!==null&&e.end<=t.end)}function J(t,e){return(t.start===null||e>=t.start)&&(t.end===null||e=e.end?new Date(e.end.valueOf()-1):t}function Hi(t){let e=Math.floor(Ee(t.start,t.end))||1,n=M(t.start),r=B(n,e);return{start:n,end:r}}function Bi(t,e=w(0)){let n=null,r=null;if(t.end){r=M(t.end);let i=t.end.valueOf()-r.valueOf();i&&i>=q(e)&&(r=B(r,1))}return t.start&&(n=M(t.start),r&&r<=n&&(r=B(n,1))),{start:n,end:r}}function Ce(t,e,n,r){return r==="year"?w(n.diffWholeYears(t,e),"year"):r==="month"?w(n.diffWholeMonths(t,e),"month"):vo(t,e)}function da(t,e){switch(e.type){case"CHANGE_DATE":return e.dateMarker;default:return t}}function ua(t,e){let n=t.initialDate;return n!=null?e.createMarker(n):We(t.now,e)}function We(t,e){return typeof t=="function"&&(t=t()),t==null?e.createNowMarker():e.createMarker(t)}class Li{constructor(e){this.props=e,this.nowDate=We(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,n,r){let{dateEnv:i}=this.props,s=i.subtract(i.startOf(n,e.currentRangeUnit),e.dateIncrement);return this.build(s,-1,r)}buildNext(e,n,r){let{dateEnv:i}=this.props,s=i.add(i.startOf(n,e.currentRangeUnit),e.dateIncrement);return this.build(s,1,r)}build(e,n,r=!0){let{props:i}=this,s,l,o,a,d,c;return s=this.buildValidRange(),s=this.trimHiddenDays(s),r&&(e=ca(e,s)),l=this.buildCurrentRangeInfo(e,n),o=/^(year|month|week|day)$/.test(l.unit),a=this.buildRenderRange(this.trimHiddenDays(l.range),l.unit,o),a=this.trimHiddenDays(a),d=a,i.showNonCurrentDates||(d=ve(d,l.range)),d=this.adjustActiveRange(d),d=ve(d,s),c=_n(l.range,s),J(a,e)||(e=a.start),{currentDate:e,validRange:s,currentRange:l.range,currentRangeUnit:l.unit,isRangeAllDay:o,activeRange:d,renderRange:a,slotMinTime:i.slotMinTime,slotMaxTime:i.slotMaxTime,isValid:c,dateIncrement:this.buildDateIncrement(l.duration)}}buildValidRange(){let e=this.props.validRangeInput,n=typeof e=="function"?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(n)||{start:null,end:null}}buildCurrentRangeInfo(e,n){let{props:r}=this,i=null,s=null,l=null,o;return r.duration?(i=r.duration,s=r.durationUnit,l=this.buildRangeFromDuration(e,n,i,s)):(o=this.props.dayCount)?(s="day",l=this.buildRangeFromDayCount(e,n,o)):(l=this.buildCustomVisibleRange(e))?s=r.dateEnv.greatestWholeUnit(l.start,l.end).unit:(i=this.getFallbackDuration(),s=tn(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:o}=e;return r&&(Re(i)<0&&(l=M(l),l=n.add(l,i)),Re(s)>1&&(o=M(o),o=B(o,-1),o=n.add(o,s))),{start:l,end:o}}buildRangeFromDuration(e,n,r,i){let{dateEnv:s,dateAlignment:l}=this.props,o,a,d;if(!l){let{dateIncrement:h}=this.props;h&&q(h)!l[a.defId].recurringDef);for(let a in l){let d=l[a];if(d.recurringDef){let{duration:c}=d.recurringDef;c||(c=d.allDay?s.defaultAllDayEventDuration:s.defaultTimedEventDuration);let h=ha(d,c,e,r,i.recurringTypes);for(let f of h){let u=Tn(a,{start:f,end:r.add(f,c)});o[u.instanceId]=u}}}return{defs:l,instances:o}}function ha(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(M)),l}const ot={id:String,groupId:String,title:String,url:String,interactive:Boolean},Ui={start:p,end:p,date:p,allDay:Boolean},ga=Object.assign(Object.assign(Object.assign({},ot),Ui),{extendedProps:p});function ji(t,e,n,r,i=xn(n),s,l){let{refined:o,extra:a}=zi(t,n,i),d=ma(e,n),c=fa(o,d,n.dateEnv,n.pluginHooks.recurringTypes);if(c){let f=sn(o,a,e?e.sourceId:"",c.allDay,!!c.duration,n,s);return f.recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:f,instance:null}}let h=pa(o,d,n,r);if(h){let f=sn(o,a,e?e.sourceId:"",h.allDay,h.hasEnd,n,s),u=Tn(f.defId,h.range,h.forcedStartTzo,h.forcedEndTzo);return l&&f.publicId&&l[f.publicId]&&(u.instanceId=l[f.publicId]),{def:f,instance:u}}return null}function zi(t,e,n=xn(e)){return Dn(t,n)}function xn(t){return Object.assign(Object.assign(Object.assign({},yt),ga),t.pluginHooks.eventRefiners)}function sn(t,e,n,r,i,s,l){let o={title:t.title||"",groupId:t.groupId||"",publicId:t.id||"",url:t.url||"",recurringDef:null,defId:(l&&t.id?l[t.id]:"")||ye(),sourceId:n,allDay:r,hasEnd:i,interactive:t.interactive,ui:Et(t,s),extendedProps:Object.assign(Object.assign({},t.extendedProps||{}),e)};for(let a of s.pluginHooks.eventDefMemberAdders)Object.assign(o,a(t));return Object.freeze(o.ui.classNames),Object.freeze(o.extendedProps),o}function pa(t,e,n,r){let{allDay:i}=t,s,l=null,o=!1,a,d=null,c=t.start!=null?t.start:t.date;if(s=n.dateEnv.createMarkerMeta(c),s)l=s.marker;else if(!r)return null;return t.end!=null&&(a=n.dateEnv.createMarkerMeta(t.end)),i==null&&(e!=null?i=e:i=(!s||s.isTimeUnspecified)&&(!a||a.isTimeUnspecified)),i&&l&&(l=M(l)),a&&(d=a.marker,i&&(d=M(d)),l&&d<=l&&(d=null)),d?o=!0:r||(o=n.options.forceEventDuration||!1,d=n.dateEnv.add(l,i?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:i,hasEnd:o,range:{start:l,end:d},forcedStartTzo:s?s.forcedTzo:null,forcedEndTzo:a?a.forcedTzo:null}}function ma(t,e){let n=null;return t&&(n=t.defaultAllDay),n==null&&(n=e.options.defaultAllDay),n}function ze(t,e,n,r,i,s){let l=F(),o=xn(n);for(let a of t){let d=ji(a,e,n,r,o,i,s);d&&ln(d,l)}return l}function ln(t,e=F()){return e.defs[t.def.defId]=t.def,t.instance&&(e.instances[t.instance.instanceId]=t.instance),e}function Mn(t,e){let n=t.instances[e];if(n){let r=t.defs[n.defId],i=xt(t,s=>va(r,s));return i.defs[r.defId]=r,i.instances[n.instanceId]=n,i}return F()}function va(t,e){return!!(t.groupId&&t.groupId===e.groupId)}function F(){return{defs:{},instances:{}}}function kn(t,e){return{defs:Object.assign(Object.assign({},t.defs),e.defs),instances:Object.assign(Object.assign({},t.instances),e.instances)}}function xt(t,e){let n=me(t.defs,e),r=me(t.instances,i=>n[i.defId]);return{defs:n,instances:r}}function ba(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 ya(t,e){return Array.isArray(t)?ze(t,null,e,!0):typeof t=="object"&&t?ze([t],null,e,!0):t!=null?String(t):null}function kr(t){return Array.isArray(t)?t:typeof t=="string"?t.split(/\s+/):[]}const yt={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:p,overlap:p,allow:p,className:kr,classNames:kr,color:String,backgroundColor:String,borderColor:String,textColor:String},Ea={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Et(t,e){let n=ya(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 Fi(t){return t.reduce(Sa,Ea)}function Sa(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 Aa={id:String,defaultAllDay:Boolean,url:String,format:String,events:p,eventDataTransform:p,success:p,failure:p};function Wi(t,e,n=Vi(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}=Dn(r,n),l=Da(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:ye(),sourceDefId:l.sourceDefId,meta:l.meta,ui:Et(i,e),extendedProps:s}}return null}function Vi(t){return Object.assign(Object.assign(Object.assign({},yt),Aa),t.pluginHooks.eventSourceRefiners)}function Da(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 Ca(t,e,n,r,i){switch(e.type){case"RECEIVE_EVENTS":return wa(t,n[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,i);case"RESET_RAW_EVENTS":return Ra(t,n[e.sourceId],e.rawEvents,r.activeRange,i);case"ADD_EVENTS":return _a(t,e.eventStore,r?r.activeRange:null,i);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return kn(t,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?be(t,r.activeRange,i):t;case"REMOVE_EVENTS":return ba(t,e.eventStore);case"REMOVE_EVENT_SOURCE":return qi(t,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return xt(t,s=>!s.sourceId);case"REMOVE_ALL_EVENTS":return F();default:return t}}function wa(t,e,n,r,i,s){if(e&&n===e.latestFetchId){let l=ze(Gi(i,e,s),e,s);return r&&(l=be(l,r,s)),kn(qi(t,e.sourceId),l)}return t}function Ra(t,e,n,r,i){const{defIdMap:s,instanceIdMap:l}=xa(t);let o=ze(Gi(n,e,i),e,i,!1,s,l);return be(o,r,i)}function Gi(t,e,n){let r=n.options.eventDataTransform,i=e?e.eventDataTransform:null;return i&&(t=Ir(t,i)),r&&(t=Ir(t,r)),t}function Ir(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 _a(t,e,n,r){return n&&(e=be(e,n,r)),kn(t,e)}function Nr(t,e,n){let{defs:r}=t,i=K(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 qi(t,e){return xt(t,n=>n.sourceId!==e)}function Ta(t,e){return{defs:t.defs,instances:me(t.instances,n=>!e[n.instanceId])}}function xa(t){const{defs:e,instances:n}=t,r={},i={};for(let s in e){const l=e[s],{publicId:o}=l;o&&(r[o]=s)}for(let s in n){const l=n[s],o=e[l.defId],{publicId:a}=o;a&&(i[a]=s)}return{defIdMap:r,instanceIdMap:i}}class Mt{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,n){Ma(this.handlers,e,n)}off(e,n){ka(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 Ma(t,e,n){(t[e]||(t[e]=[])).push(n)}function ka(t,e,n){n?t[e]&&(t[e]=t[e].filter(r=>r!==n)):delete t[e]}const Ia={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Na(t,e){return ze(Oa(t),null,e)}function Oa(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({},Ia),n)),e}function Qi(t,e,n){n.emitter.trigger("select",Object.assign(Object.assign({},In(t,n)),{jsEvent:e?e.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function Pa(t,e){e.emitter.trigger("unselect",{jsEvent:t?t.origEvent:null,view:e.viewApi||e.calendarApi.view})}function In(t,e){let n={};for(let r of e.pluginHooks.dateSpanTransforms)Object.assign(n,r(t,e));return Object.assign(n,$a(t,e.dateEnv)),n}function Or(t,e,n){let{dateEnv:r,options:i}=n,s=e;return t?(s=M(s),s=r.add(s,i.defaultAllDayEventDuration)):s=r.add(s,i.defaultTimedEventDuration),s}function Nn(t,e,n,r){let i=St(t.defs,e),s=F();for(let l in t.defs){let o=t.defs[l];s.defs[l]=Ha(o,i[l],n,r)}for(let l in t.instances){let o=t.instances[l],a=s.defs[o.defId];s.instances[l]=Ba(o,a,i[o.defId],n,r)}return s}function Ha(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 Ba(t,e,n,r,i){let{dateEnv:s}=i,l=r.standardProps&&r.standardProps.allDay===!0,o=r.standardProps&&r.standardProps.hasEnd===!1,a=Object.assign({},t);return l&&(a.range=Hi(a.range)),r.datesDelta&&n.startEditable&&(a.range={start:s.add(a.range.start,r.datesDelta),end:s.add(a.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(a.range={start:s.add(a.range.start,r.startDelta),end:a.range.end}),r.endDelta&&n.durationEditable&&(a.range={start:a.range.start,end:s.add(a.range.end,r.endDelta)}),o&&(a.range={start:a.range.start,end:Or(e.allDay,a.range.start,i)}),e.allDay&&(a.range={start:M(a.range.start),end:M(a.range.end)}),a.range.end$i(n,e))}function $i(t,e){let n=[];return e[""]&&n.push(e[""]),e[t.defId]&&n.push(e[t.defId]),n.push(t.ui),Fi(n)}function Zi(t,e){let n=t.map(Ua);return n.sort((r,i)=>Kl(r,i,e)),n.map(r=>r._seg)}function Ua(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 ja(t,e){let{pluginHooks:n}=e,r=n.isDraggableTransformers,{def:i,ui:s}=t.eventRange,l=s.startEditable;for(let o of r)l=o(l,i,s,e);return l}function za(t,e){return t.isStart&&t.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function Fa(t,e){return t.isEnd&&t.eventRange.ui.durationEditable}function Xi(t,e,n,r,i,s,l){let{dateEnv:o,options:a}=n,{displayEventTime:d,displayEventEnd:c}=a,h=t.eventRange.def,f=t.eventRange.instance;d==null&&(d=r!==!1),c==null&&(c=i!==!1);let u=f.range.start,m=f.range.end,v=t.start||t.eventRange.range.start,b=t.end||t.eventRange.range.end,y=M(u).valueOf()===M(v).valueOf(),E=M(ce(m,-1)).valueOf()===M(ce(b,-1)).valueOf();return d&&!h.allDay&&(y||E)?(v=y?u:v,b=E?m:b,c&&h.hasEnd?o.formatRange(v,b,e,{forcedStartTzo:f.forcedStartTzo,forcedEndTzo:f.forcedEndTzo}):o.format(v,e,{forcedTzo:f.forcedStartTzo})):""}function oe(t,e,n){let r=t.eventRange.range;return{isPast:r.end<=(n||e.start),isFuture:r.start>=(n||e.end),isToday:e&&J(e,r.start)}}function Wa(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 Ji(t){return t.instance?t.instance.instanceId:`${t.def.defId}:${t.range.start.toISOString()}`}function Ki(t,e){let{def:n,instance:r}=t.eventRange,{url:i}=n;if(i)return{href:i};let{emitter:s,options:l}=e,{eventInteractive:o}=l;return o==null&&(o=n.interactive,o==null&&(o=!!s.hasHandlers("eventClick"))),o?_i(a=>{s.trigger("eventClick",{el:a.target,event:new N(e,n,r),jsEvent:a,view:e.viewApi})}):{}}const Va={start:p,end:p,allDay:Boolean};function Ga(t,e,n){let r=qa(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 qa(t,e){let{refined:n,extra:r}=Dn(t,Va),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 Qa(t,e){return aa(t.range,e.range)&&t.allDay===e.allDay&&Ya(t,e)}function Ya(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 $a(t,e){return Object.assign(Object.assign({},ts(t.range,e,t.allDay)),{allDay:t.allDay})}function es(t,e,n){return Object.assign(Object.assign({},ts(t,e,n)),{timeZone:e.timeZone})}function ts(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 Za(t,e,n){let r=zi({editable:!1},n),i=sn(r.refined,r.extra,"",t.allDay,!0,n);return{def:i,ui:$i(i,e),instance:Tn(i.defId,t.range),range:t.range,isStart:!0,isEnd:!0}}function Xa(t,e,n){let r=!1,i=function(o){r||(r=!0,e(o))},s=function(o){r||(r=!0,n(o))},l=t(i,s);l&&typeof l.then=="function"&&l.then(i,s)}class Br extends Error{constructor(e,n){super(e),this.response=n}}function Ja(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 Br("Failure parsing JSON",i)});throw new Br("Request failed",i)})}let jt;function ns(){return jt==null&&(jt=Ka()),jt}function Ka(){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="
",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 ec extends _{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{vt(()=>{this.setState({forPrint:!0})})},this.handleAfterPrint=()=>{vt(()=>{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 ns()||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 Ie{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function tc(t,e){return{component:t,el:e.el,useEventCenter:e.useEventCenter!=null?e.useEventCenter:!0,isHitComboAllowed:e.isHitComboAllowed||null}}function On(t){return{[t.component.uid]:t}}const on={};class nc{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,n){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:n})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,n){let{currentDataManager:r}=this;r.currentCalendarOptionsRefiners[e]?r.emitter.on(e,n):console.warn(`Unknown listener name '${e}'`)}off(e,n){this.currentDataManager.emitter.off(e,n)}trigger(e,...n){this.currentDataManager.emitter.trigger(e,...n)}changeView(e,n){this.batchRendering(()=>{if(this.unselect(),n)if(n.start&&n.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:n});else{let{dateEnv:r}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(n)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,n){let r=this.getCurrentData(),i;n=n||"day",i=r.viewSpecs[n]||this.getUnitViewSpec(n),this.unselect(),i?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:i.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let{viewSpecs:n,toolbarConfig:r}=this.getCurrentData(),i=[].concat(r.header?r.header.viewsWithButtons:[],r.footer?r.footer.viewsWithButtons:[]),s,l;for(let o in n)i.push(o);for(s=0;s{this.dispatch({type:"REMOVE_EVENTS",eventStore:Yi(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 N(n,l,null);for(let o in i){let a=i[o];if(a.defId===l.defId)return new N(n,l,a)}}}return null}getEvents(){let e=this.getCurrentData();return ge(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 Ae(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 Ae(n,r[i]);return null}addEventSource(e){let n=this.getCurrentData();if(e instanceof Ae)return n.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let r=Wi(e,n);return r?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[r]}),new Ae(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 rc(t,e){return t.left>=e.left&&t.left=e.top&&t.topthis.eventUiBuilders[h]||A(ac));for(let c in n){let h=n[c],f=l[c]||zt,u=this.eventUiBuilders[c];d[c]={businessHours:h.businessHours||e.businessHours,dateSelection:i[c]||null,eventStore:f,eventUiBases:u(e.eventUiBases[""],h.ui,s[c]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:o[c]||null,eventResize:a[c]||null}}return d}_splitDateSpan(e){let n={};if(e){let r=this.getKeysForDateSpan(e);for(let i of r)n[i]=e}return n}_getKeysForEventDefs(e){return K(e.defs,n=>this.getKeysForEventDef(n))}_splitEventStore(e,n){let{defs:r,instances:i}=e,s={};for(let l in r)for(let o of n[l])s[o]||(s[o]=F()),s[o].defs[l]=r[l];for(let l in i){let o=i[l];for(let a of n[o.defId])s[a]&&(s[a].instances[l]=o)}return s}_splitIndividualUi(e,n){let r={};for(let i in e)if(i)for(let s of n[i])r[s]||(r[s]={}),r[s][i]=e[i];return r}_splitInteraction(e){let n={};if(e){let r=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),i=this._getKeysForEventDefs(e.mutatedEvents),s=this._splitEventStore(e.mutatedEvents,i),l=o=>{n[o]||(n[o]={affectedEvents:r[o]||zt,mutatedEvents:s[o]||zt,isEvent:e.isEvent})};for(let o in r)l(o);for(let o in s)l(o)}return n}}function ac(t,e,n){let r=[];t&&r.push(t),e&&r.push(e);let i={"":Fi(r)};return n&&Object.assign(i,n),i}function is(t,e,n,r){return{dow:t.getUTCDay(),isDisabled:!!(r&&!J(r.activeRange,t)),isOther:!!(r&&!J(r.currentRange,t)),isToday:!!(e&&J(e,t)),isPast:!!(e&&t=e.end)}}function Pn(t,e){let n=["fc-day",`fc-day-${fo[t.dow]}`];return t.isDisabled?n.push("fc-day-disabled"):(t.isToday&&(n.push("fc-day-today"),n.push(e.getClass("today"))),t.isPast&&n.push("fc-day-past"),t.isFuture&&n.push("fc-day-future"),t.isOther&&n.push("fc-day-other")),n}const cc=O({year:"numeric",month:"long",day:"numeric"}),dc=O({week:"long"});function At(t,e,n="day",r=!0){const{dateEnv:i,options:s,calendarApi:l}=t;let o=i.format(e,n==="week"?dc:cc);if(s.navLinks){let a=i.toDate(e);const d=c=>{let h=n==="day"?s.navLinkDayClick:n==="week"?s.navLinkWeekClick:null;typeof h=="function"?h.call(l,i.toDate(e),c):(typeof h=="string"&&(n=h),l.zoomTo(e,n))};return Object.assign({title:He(s.navLinkHint,[o,a],o),"data-navlink":""},r?Ri(d):{onClick:d})}return{"aria-label":o}}let Ft=null;function uc(){return Ft===null&&(Ft=fc()),Ft}function fc(){let t=document.createElement("div");Pe(t,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),t.innerHTML="
",document.body.appendChild(t);let n=t.firstChild.getBoundingClientRect().left>t.getBoundingClientRect().left;return vn(t),n}let Wt;function hc(){return Wt||(Wt=gc()),Wt}function gc(){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=ss(t);return document.body.removeChild(t),e}function ss(t){return{x:t.offsetHeight-t.clientHeight,y:t.offsetWidth-t.clientWidth}}function pc(t,e=!1){let n=window.getComputedStyle(t),r=parseInt(n.borderLeftWidth,10)||0,i=parseInt(n.borderRightWidth,10)||0,s=parseInt(n.borderTopWidth,10)||0,l=parseInt(n.borderBottomWidth,10)||0,o=ss(t),a=o.y-r-i,d=o.x-s-l,c={borderLeft:r,borderRight:i,borderTop:s,borderBottom:l,scrollbarBottom:d,scrollbarLeft:0,scrollbarRight:0};return uc()&&n.direction==="rtl"?c.scrollbarLeft=a:c.scrollbarRight=a,e&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}function mc(t,e=!1,n){let r=Hn(t),i=pc(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 Hn(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 vc(t){let e=ls(t),n=t.getBoundingClientRect();for(let r of e){let i=rs(n,r.getBoundingClientRect());if(i)n=i;else return null}return n}function ls(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 Me{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=n[s]&&e=n[s]&&e0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()0}canScrollRight(){return this.getScrollLeft()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.stackCnts.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?(Vt(i,n.level,n.levelCoord),Vt(r,n.level,[e])):Vt(r[n.level],n.lateral,e),this.stackCnts[pe(e)]=n.stackCnt}findInsertion(e){let{levelCoords:n,entriesByLevel:r,strictOrder:i,stackCnts:s}=this,l=n.length,o=0,a=-1,d=-1,c=null,h=0;for(let m=0;m=o+this.getEntryThickness(e))break;let b=r[m],y,E=cn(b,e.span.start,an),D=E[0]+E[1];for(;(y=b[D])&&y.span.starto&&(o=C,c=y,a=m,d=D),C===o&&(h=Math.max(h,s[pe(y)]+1)),D+=1}}let f=0;if(c)for(f=a+1;fn(t[i-1]))return[i,0];for(;rl)r=s+1;else return[s,1]}return[r,0]}class Ac{constructor(e,n){this.emitter=new Mt}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}const Un={};function Dc(t,e){return!t||e>10?O({weekday:"short"}):e>1?O({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):O({weekday:"long"})}const as="fc-col-header-cell";function cs(t){return t.text}class Cc extends _{render(){let{dateEnv:e,options:n,theme:r,viewApi:i}=this.context,{props:s}=this,{date:l,dateProfile:o}=s,a=is(l,s.todayRange,null,o),d=[as].concat(Pn(a,r)),c=e.format(l,s.dayHeaderFormat),h=!a.isDisabled&&s.colCnt>1?At(this.context,l):{},f=Object.assign(Object.assign(Object.assign({date:e.toDate(l),view:i},s.extraRenderProps),{text:c}),a);return g(W,{elTag:"th",elClasses:d,elAttrs:Object.assign({role:"columnheader",colSpan:s.colSpan,"data-date":a.isDisabled?void 0:Sn(l)},s.extraDataAttrs),renderProps:f,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:cs,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},u=>g("div",{className:"fc-scrollgrid-sync-inner"},!a.isDisabled&&g(u,{elTag:"a",elAttrs:h,elClasses:["fc-col-header-cell-cushion",s.isSticky&&"fc-sticky"]})))}}const wc=O({weekday:"long"});class Rc extends _{render(){let{props:e}=this,{dateEnv:n,theme:r,viewApi:i,options:s}=this.context,l=B(new Date(2592e5),e.dow),o={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},a=n.format(l,e.dayHeaderFormat),d=Object.assign(Object.assign(Object.assign(Object.assign({date:l},o),{view:i}),e.extraRenderProps),{text:a});return g(W,{elTag:"th",elClasses:[as,...Pn(o,r),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:d,generatorName:"dayHeaderContent",customGenerator:s.dayHeaderContent,defaultGenerator:cs,classNameGenerator:s.dayHeaderClassNames,didMount:s.dayHeaderDidMount,willUnmount:s.dayHeaderWillUnmount},c=>g("div",{className:"fc-scrollgrid-sync-inner"},g(c,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":n.format(l,wc)}})))}}class Ve extends z{constructor(e,n){super(e,n),this.initialNowDate=We(n.options.now,n.dateEnv),this.initialNowQueriedMs=new Date().valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:n}=this;return e.children(n.nowDate,n.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:n}=this,r=ce(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),i=n.dateEnv.startOf(r,e.unit),s=n.dateEnv.add(i,w(1,e.unit)),l=s.valueOf()-r.valueOf();return l=Math.min(1e3*60*60*24,l),{currentState:{nowDate:i,todayRange:Lr(i)},nextState:{nowDate:s,todayRange:Lr(s)},waitMs:l}}setTimeout(){let{nextState:e,waitMs:n}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},n)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}Ve.contextType=te;function Lr(t){let e=M(t),n=B(e,1);return{start:e,end:n}}class ds extends _{constructor(){super(...arguments),this.createDayHeaderFormatter=A(_c)}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 g(Ve,{unit:"day"},(o,a)=>g("tr",{role:"row"},s&&s("day"),n.map(d=>i?g(Cc,{key:d.toISOString(),date:d,dateProfile:r,todayRange:a,colCnt:n.length,dayHeaderFormat:l}):g(Rc,{key:d.getUTCDay(),dow:d.getUTCDay(),dayHeaderFormat:l}))))}}function _c(t,e,n){return t||Dc(e,n)}class us{constructor(e,n){let r=e.start,{end:i}=e,s=[],l=[],o=-1;for(;r=n.length?n[n.length-1]+1:n[r]}}class fs{constructor(e,n){let{dates:r}=e,i,s,l;if(n){for(s=r[0].getUTCDay(),i=1;is.groupId===t)):typeof t=="object"&&t?Gt(be(t,e,i)):[]}function Gt(t){let{instances:e}=t,n=[];for(let r in e)n.push(e[r].range);return n}function Nc(t,e){for(let n of t)if(Tt(n,e))return!0;return!1}const Je=/^(visible|hidden)$/;class Oc extends _{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,ee(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")),g("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(Je.test(this.props.overflowX))return!1;let{el:e}=this,n=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:r}=e;for(let i=0;in)return!0;return!1}needsYScrolling(){if(Je.test(this.props.overflowY))return!1;let{el:e}=this,n=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:r}=e;for(let i=0;in)return!0;return!1}getXScrollbarWidth(){return Je.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return Je.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class X{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(n,r)=>{let{depths:i,currentMap:s}=this,l=!1,o=!1;n!==null?(l=r in s,s[r]=n,i[r]=(i[r]||0)+1,o=!0):(i[r]-=1,i[r]||(delete s[r],delete this.callbackMap[r],l=!0)),this.masterCallback&&(l&&this.masterCallback(null,String(r)),o&&this.masterCallback(n,String(r)))}}createRef(e){let n=this.callbackMap[e];return n||(n=this.callbackMap[e]=r=>{this.handleValue(r,String(e))}),n}collect(e,n,r){return Go(this.currentMap,e,n,r)}getAll(){return wn(this.currentMap)}}function Pc(t){let e=Wl(t,".fc-scrollgrid-shrink"),n=0;for(let r of e)n=Math.max(n,ro(r));return Math.ceil(n)}function vs(t,e){return t.liquid&&e.liquid}function Hc(t,e){return e.maxHeight!=null||vs(t,e)}function Bc(t,e,n,r){let{expandRows:i}=n;return typeof e.content=="function"?e.content(n):g("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,g(r?"thead":"tbody",{role:"presentation"},typeof e.rowContent=="function"?e.rowContent(n):e.rowContent))}function Lc(t,e){return ae(t,e,Y)}function Uc(t,e){let n=[];for(let r of t){let i=r.span||1;for(let s=0;se,Lc),this.renderMicroColGroup=A(Uc),this.scrollerRefs=new X,this.scrollerElRefs=new X(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:e,state:n,context:r}=this,i=e.sections||[],s=this.processCols(e.cols),l=this.renderMicroColGroup(s,n.shrinkWidth),o=Fc(e.liquid,r);e.collapsibleWidth&&o.push("fc-scrollgrid-collapsible");let a=i.length,d=0,c,h=[],f=[],u=[];for(;d{}},i);return g(i?"th":"td",{ref:r.elRef,role:"presentation"},g("div",{className:`fc-scroller-harness${c?" fc-scroller-harness-liquid":""}`},g(Oc,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:h,overflowX:s.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},u)))}_handleScrollerEl(e,n){let r=Vc(this.props.sections,n);r&&ee(r.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return zc(this.props.cols)?Pc(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=hc(),{scrollerRefs:n,scrollerElRefs:r}=this,i=!1,s={},l={};for(let o in n.currentMap){let a=n.currentMap[o];if(a&&a.needsYScrolling()){i=!0;break}}for(let o of this.props.sections){let a=o.key,d=r.currentMap[a];if(d){let c=d.parentNode;s[a]=Math.floor(c.getBoundingClientRect().width-(i?e.y:0)),l[a]=Math.floor(c.getBoundingClientRect().height)}}return{forceYScrollbars:i,scrollerClientWidths:s,scrollerClientHeights:l}}}jn.addStateEquality({scrollerClientWidths:Y,scrollerClientHeights:Y});function Vc(t,e){for(let n of t)if(n.key===e)return n;return null}class zn extends _{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,e&&Hr(e,this.props.seg)}}render(){const{props:e,context:n}=this,{options:r}=n,{seg:i}=e,{eventRange:s}=i,{ui:l}=s,o={event:new N(n,s.def,s.instance),view:n.viewApi,timeText:e.timeText,textColor:l.textColor,backgroundColor:l.backgroundColor,borderColor:l.borderColor,isDraggable:!e.disableDragging&&ja(i,n),isStartResizable:!e.disableResizing&&za(i,n),isEndResizable:!e.disableResizing&&Fa(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 g(W,Object.assign({},e,{elRef:this.handleEl,elClasses:[...Wa(o),...i.eventRange.ui.classNames,...e.elClasses||[]],renderProps:o,generatorName:"eventContent",customGenerator:r.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.eventClassNames,didMount:r.eventDidMount,willUnmount:r.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&Hr(this.el,this.props.seg)}}class ys extends _{render(){let{props:e,context:n}=this,{options:r}=n,{seg:i}=e,{ui:s}=i.eventRange,l=r.eventTimeFormat||e.defaultTimeFormat,o=Xi(i,l,n,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return g(zn,Object.assign({},e,{elTag:"a",elStyle:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},elAttrs:Ki(i,n),defaultGenerator:Gc,timeText:o}),(a,d)=>g(k,null,g(a,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:d.textColor}}),!!d.isStartResizable&&g("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!d.isEndResizable&&g("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function Gc(t){return g("div",{className:"fc-event-main-frame"},t.timeText&&g("div",{className:"fc-event-time"},t.timeText),g("div",{className:"fc-event-title-container"},g("div",{className:"fc-event-title fc-sticky"},t.event.title||g(k,null," "))))}const Fn=t=>g(te.Consumer,null,e=>{let{options:n}=e,r={isAxis:t.isAxis,date:e.dateEnv.toDate(t.date),view:e.viewApi};return g(W,Object.assign({},t,{elTag:t.elTag||"div",renderProps:r,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount}))}),qc=O({day:"numeric"});class Wn extends _{constructor(){super(...arguments),this.refineRenderProps=lt(Qc)}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 g(W,Object.assign({},e,{elClasses:[...Pn(i,n.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),i.isDisabled?{}:{"data-date":Sn(e.date)}),renderProps:i,generatorName:"dayCellContent",customGenerator:r.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:i.isDisabled?void 0:r.dayCellClassNames,didMount:r.dayCellDidMount,willUnmount:r.dayCellWillUnmount}))}}function Vn(t){return!!(t.dayCellContent||rn("dayCellContent",t))}function Qc(t){let{date:e,dateEnv:n,dateProfile:r,isMonthStart:i}=t,s=is(e,t.todayRange,null,r),l=t.showDayNumber?n.format(e,i?t.monthStartFormat:qc):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(e),view:t.viewApi},s),{isMonthStart:i,dayNumberText:l}),t.extraRenderProps)}class Es extends _{render(){let{props:e}=this,{seg:n}=e;return g(zn,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:n.eventRange.ui.backgroundColor},defaultGenerator:Yc,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 Yc(t){let{title:e}=t.event;return e&&g("div",{className:"fc-event-title"},t.event.title)}function Ss(t){return g("div",{className:`fc-${t}`})}const As=t=>g(te.Consumer,null,e=>{let{dateEnv:n,options:r}=e,{date:i}=t,s=r.weekNumberFormat||t.defaultFormat,l=n.computeWeekNumber(i),o=n.format(i,s);return g(W,Object.assign({},t,{renderProps:{num:l,text:o,date:i},generatorName:"weekNumberContent",customGenerator:r.weekNumberContent,defaultGenerator:$c,classNameGenerator:r.weekNumberClassNames,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount}))});function $c(t){return t.text}const qt=10;class Zc extends _{constructor(){super(...arguments),this.state={titleId:Rt()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&ee(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const n=Ci(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 xl(g("div",Object.assign({},r.extraAttrs,{id:r.id,className:s.join(" "),"aria-labelledby":i.titleId,ref:this.handleRootEl}),g("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},g("span",{className:"fc-popover-title",id:i.titleId},r.title),g("span",{className:"fc-popover-close "+e.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),g("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=vc(n);if(s){let l=i.getBoundingClientRect(),o=r?H(n,".fc-scrollgrid").getBoundingClientRect().top:s.top,a=e?s.right-l.width:s.left;o=Math.max(o,qt),a=Math.min(a,document.documentElement.clientWidth-qt-l.width),a=Math.max(a,qt);let d=i.offsetParent.getBoundingClientRect();Pe(i,{top:o-d.top,left:a-d.left})}}}class Xc extends ${constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:n}=this.context,{props:r}=this,{startDate:i,todayRange:s,dateProfile:l}=r,o=n.format(i,e.dayPopoverFormat);return g(Wn,{elRef:this.handleRootEl,date:i,dateProfile:l,todayRange:s},(a,d,c)=>g(Zc,{elRef:c.ref,id:r.id,title:o,extraClassNames:["fc-more-popover"].concat(c.className||[]),extraAttrs:c,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},Vn(e)&&g(a,{elTag:"div",elClasses:["fc-more-popover-misc"]}),r.children))}queryHit(e,n,r,i){let{rootEl:s,props:l}=this;return e>=0&&e=0&&n{this.linkEl=e,this.props.elRef&&ee(this.props.elRef,e)},this.handleClick=e=>{let{props:n,context:r}=this,{moreLinkClick:i}=r.options,s=Ur(n).start;function l(o){let{def:a,instance:d,range:c}=o.eventRange;return{event:new N(r,a,d),start:r.dateEnv.toDate(c.start),end:r.dateEnv.toDate(c.end),isStart:o.isStart,isEnd:o.isEnd}}typeof i=="function"&&(i=i({date:s,allDay:!!n.allDayDate,allSegs:n.allSegs.map(l),hiddenSegs:n.hiddenSegs.map(l),jsEvent:e,view:r.viewApi})),!i||i==="popover"?this.setState({isPopoverOpen:!0}):typeof i=="string"&&r.calendarApi.zoomTo(s,i)},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:n}=this;return g(te.Consumer,null,r=>{let{viewApi:i,options:s,calendarApi:l}=r,{moreLinkText:o}=s,{moreCnt:a}=e,d=Ur(e),c=typeof o=="function"?o.call(l,a):`+${a} ${o}`,h=He(s.moreLinkHint,[a],c),f={num:a,shortText:`+${a}`,text:c,view:i};return g(k,null,!!e.moreCnt&&g(W,{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),Ri(this.handleClick)),{title:h,"aria-expanded":n.isPopoverOpen,"aria-controls":n.isPopoverOpen?n.popoverId:""}),renderProps:f,generatorName:"moreLinkContent",customGenerator:s.moreLinkContent,defaultGenerator:e.defaultGenerator||Jc,classNameGenerator:s.moreLinkClassNames,didMount:s.moreLinkDidMount,willUnmount:s.moreLinkWillUnmount},e.children),n.isPopoverOpen&&g(Xc,{id:n.popoverId,startDate:d.start,endDate:d.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=H(this.linkEl,".fc-view-harness"))}}function Jc(t){return t.text}function Ur(t){if(t.allDayDate)return{start:t.allDayDate,end:B(t.allDayDate,1)};let{hiddenSegs:e}=t;return{start:Cs(e),end:ed(e)}}function Cs(t){return t.reduce(Kc).eventRange.range.start}function Kc(t,e){return t.eventRange.range.starte.eventRange.range.end?t:e}class nd{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 rd extends nd{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)}}const id=[],ws={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"},Rs=Object.assign(Object.assign({},ws),{buttonHints:{prev:"Previous $0",next:"Next $0",today(t,e){return e==="day"?"Today":`This ${t}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(t){return`Show ${t} more event${t===1?"":"s"}`}});function sd(t){let e=t.length>0?t[0].code:"en",n=id.concat(t),r={en:Rs};for(let i of n)r[i.code]=i;return{map:r,defaultCode:e}}function _s(t,e){return typeof t=="object"&&!Array.isArray(t)?Ts(t.code,[t.code],t):ld(t,e)}function ld(t,e){let n=[].concat(t||[]),r=od(n,e)||Rs;return Ts(t,n,r)}function od(t,e){for(let n=0;n0;i-=1){let s=r.slice(0,i).join("-");if(e[s])return e[s]}}return null}function Ts(t,e,n){let r=Cn([ws,n],["buttonText"]);delete r.code;let{week:i}=r;return delete r.week,{codeArg:t,codes:e,week:i,simpleNumberFormat:new Intl.NumberFormat(t),options:r}}function ne(t){return{id:ye(),name:t.name,premiumReleaseDate:t.premiumReleaseDate?new Date(t.premiumReleaseDate):void 0,deps:t.deps||[],reducers:t.reducers||[],isLoadingFuncs:t.isLoadingFuncs||[],contextInit:[].concat(t.contextInit||[]),eventRefiners:t.eventRefiners||{},eventDefMemberAdders:t.eventDefMemberAdders||[],eventSourceRefiners:t.eventSourceRefiners||{},isDraggableTransformers:t.isDraggableTransformers||[],eventDragMutationMassagers:t.eventDragMutationMassagers||[],eventDefMutationAppliers:t.eventDefMutationAppliers||[],dateSelectionTransformers:t.dateSelectionTransformers||[],datePointTransforms:t.datePointTransforms||[],dateSpanTransforms:t.dateSpanTransforms||[],views:t.views||{},viewPropsTransformers:t.viewPropsTransformers||[],isPropsValid:t.isPropsValid||null,externalDefTransforms:t.externalDefTransforms||[],viewContainerAppends:t.viewContainerAppends||[],eventDropTransformers:t.eventDropTransformers||[],componentInteractions:t.componentInteractions||[],calendarInteractions:t.calendarInteractions||[],themeClasses:t.themeClasses||{},eventSourceDefs:t.eventSourceDefs||[],cmdFormatter:t.cmdFormatter,recurringTypes:t.recurringTypes||[],namedTimeZonedImpl:t.namedTimeZonedImpl,initialView:t.initialView||"",elementDraggingImpl:t.elementDraggingImpl,optionChangeHandlers:t.optionChangeHandlers||{},scrollGridImpl:t.scrollGridImpl||null,listenerRefiners:t.listenerRefiners||{},optionRefiners:t.optionRefiners||{},propSetHandlers:t.propSetHandlers||{}}}function ad(t,e){let n={},r={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function i(s){for(let l of s){const o=l.name,a=n[o];a===void 0?(n[o]=l.id,i(l.deps),r=dd(r,l)):a!==l.id&&console.warn(`Duplicate plugin '${o}'`)}}return t&&i(t),i(e),r}function cd(){let t=[],e=[],n;return(r,i)=>((!n||!ae(r,t)||!ae(i,e))&&(n=ad(r,i)),t=r,e=i,n)}function dd(t,e){return{premiumReleaseDate:ud(t.premiumReleaseDate,e.premiumReleaseDate),reducers:t.reducers.concat(e.reducers),isLoadingFuncs:t.isLoadingFuncs.concat(e.isLoadingFuncs),contextInit:t.contextInit.concat(e.contextInit),eventRefiners:Object.assign(Object.assign({},t.eventRefiners),e.eventRefiners),eventDefMemberAdders:t.eventDefMemberAdders.concat(e.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},t.eventSourceRefiners),e.eventSourceRefiners),isDraggableTransformers:t.isDraggableTransformers.concat(e.isDraggableTransformers),eventDragMutationMassagers:t.eventDragMutationMassagers.concat(e.eventDragMutationMassagers),eventDefMutationAppliers:t.eventDefMutationAppliers.concat(e.eventDefMutationAppliers),dateSelectionTransformers:t.dateSelectionTransformers.concat(e.dateSelectionTransformers),datePointTransforms:t.datePointTransforms.concat(e.datePointTransforms),dateSpanTransforms:t.dateSpanTransforms.concat(e.dateSpanTransforms),views:Object.assign(Object.assign({},t.views),e.views),viewPropsTransformers:t.viewPropsTransformers.concat(e.viewPropsTransformers),isPropsValid:e.isPropsValid||t.isPropsValid,externalDefTransforms:t.externalDefTransforms.concat(e.externalDefTransforms),viewContainerAppends:t.viewContainerAppends.concat(e.viewContainerAppends),eventDropTransformers:t.eventDropTransformers.concat(e.eventDropTransformers),calendarInteractions:t.calendarInteractions.concat(e.calendarInteractions),componentInteractions:t.componentInteractions.concat(e.componentInteractions),themeClasses:Object.assign(Object.assign({},t.themeClasses),e.themeClasses),eventSourceDefs:t.eventSourceDefs.concat(e.eventSourceDefs),cmdFormatter:e.cmdFormatter||t.cmdFormatter,recurringTypes:t.recurringTypes.concat(e.recurringTypes),namedTimeZonedImpl:e.namedTimeZonedImpl||t.namedTimeZonedImpl,initialView:t.initialView||e.initialView,elementDraggingImpl:t.elementDraggingImpl||e.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},t.optionChangeHandlers),e.optionChangeHandlers),scrollGridImpl:e.scrollGridImpl||t.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},t.listenerRefiners),e.listenerRefiners),optionRefiners:Object.assign(Object.assign({},t.optionRefiners),e.optionRefiners),propSetHandlers:Object.assign(Object.assign({},t.propSetHandlers),e.propSetHandlers)}}function ud(t,e){return t===void 0?e:e===void 0?t:new Date(Math.max(t.valueOf(),e.valueOf()))}class de extends Fe{}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 fd(t,e){let n={},r;for(r in t)un(r,n,t,e);for(r in e)un(r,n,t,e);return n}function un(t,e,n,r){if(e[t])return e[t];let i=hd(t,e,n,r);return i&&(e[t]=i),i}function hd(t,e,n,r){let i=n[t],s=r[t],l=c=>i&&i[c]!==null?i[c]:s&&s[c]!==null?s[c]:null,o=l("component"),a=l("superType"),d=null;if(a){if(a===t)throw new Error("Can't have a custom view type that references itself");d=un(a,e,n,r)}return!o&&d&&(o=d.component),o?{type:t,component:o,defaults:Object.assign(Object.assign({},d?d.defaults:{}),i?i.rawOptions:{}),overrides:Object.assign(Object.assign({},d?d.overrides:{}),s?s.rawOptions:{})}:null}function jr(t){return K(t,gd)}function gd(t){let e=typeof t=="function"?{component:t}:t,{component:n}=e;return e.content?n=zr(e):n&&!(n.prototype instanceof _)&&(n=zr(Object.assign(Object.assign({},e),{content:n}))),{superType:e.type,component:n,rawOptions:e}}function zr(t){return e=>g(te.Consumer,null,n=>g(W,{elTag:"div",elClasses:Pi(n.viewSpec),renderProps:Object.assign(Object.assign({},e),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:t.content,classNameGenerator:t.classNames,didMount:t.didMount,willUnmount:t.willUnmount}))}function pd(t,e,n,r){let i=jr(t),s=jr(e.views),l=fd(i,s);return K(l,o=>md(o,s,e,n,r))}function md(t,e,n,r,i){let s=t.overrides.duration||t.defaults.duration||r.duration||n.duration,l=null,o="",a="",d={};if(s&&(l=vd(s),l)){let f=tn(l);o=f.unit,f.value===1&&(a=o,d=e[o]?e[o].rawOptions:{})}let c=f=>{let u=f.buttonText||{},m=t.defaults.buttonTextKey;return m!=null&&u[m]!=null?u[m]:u[t.type]!=null?u[t.type]:u[a]!=null?u[a]:null},h=f=>{let u=f.buttonHints||{},m=t.defaults.buttonTextKey;return m!=null&&u[m]!=null?u[m]:u[t.type]!=null?u[t.type]:u[a]!=null?u[a]:null};return{type:t.type,component:t.component,duration:l,durationUnit:o,singleUnit:a,optionDefaults:t.defaults,optionOverrides:Object.assign(Object.assign({},d),t.overrides),buttonTextOverride:c(r)||c(n)||t.overrides.buttonText,buttonTextDefault:c(i)||t.defaults.buttonText||c(Be)||t.type,buttonTitleOverride:h(r)||h(n)||t.overrides.buttonHint,buttonTitleDefault:h(i)||t.defaults.buttonHint||h(Be)}}let Fr={};function vd(t){let e=JSON.stringify(t),n=Fr[e];return n===void 0&&(n=w(t),Fr[e]=n),n}function bd(t,e){switch(e.type){case"CHANGE_VIEW_TYPE":t=e.viewType}return t}function yd(t,e){switch(e.type){case"SET_OPTION":return Object.assign(Object.assign({},t),{[e.optionName]:e.rawOptionValue});default:return t}}function Ed(t,e,n,r){let i;switch(e.type){case"CHANGE_VIEW_TYPE":return r.build(e.dateMarker||n);case"CHANGE_DATE":return r.build(e.dateMarker);case"PREV":if(i=r.buildPrev(t,n),i.isValid)return i;break;case"NEXT":if(i=r.buildNext(t,n),i.isValid)return i;break}return t}function Sd(t,e,n){let r=e?e.activeRange:null;return Ms({},Td(t,n),r,n)}function Ad(t,e,n,r){let i=n?n.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return Ms(t,e.sources,i,r);case"REMOVE_EVENT_SOURCE":return Cd(t,e.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?ks(t,i,r):t;case"FETCH_EVENT_SOURCES":return Gn(t,e.sourceIds?Mi(e.sourceIds):Is(t,r),i,e.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return _d(t,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return t}}function Dd(t,e,n){let r=e?e.activeRange:null;return Gn(t,Is(t,n),r,!0,n)}function xs(t){for(let e in t)if(t[e].isFetching)return!0;return!1}function Ms(t,e,n,r){let i={};for(let s of e)i[s.sourceId]=s;return n&&(i=ks(i,n,r)),Object.assign(Object.assign({},t),i)}function Cd(t,e){return me(t,n=>n.sourceId!==e)}function ks(t,e,n){return Gn(t,me(t,r=>wd(r,e,n)),e,!1,n)}function wd(t,e,n){return Ns(t,n)?!n.options.lazyFetching||!t.fetchRange||t.isFetching||e.startt.fetchRange.end:!t.latestFetchId}function Gn(t,e,n,r,i){let s={};for(let l in t){let o=t[l];e[l]?s[l]=Rd(o,n,r,i):s[l]=o}return s}function Rd(t,e,n,r){let{options:i,calendarApi:s}=r,l=r.pluginHooks.eventSourceDefs[t.sourceDefId],o=ye();return l.fetch({eventSource:t,range:e,isRefetch:n,context:r},a=>{let{rawEvents:d}=a;i.eventSourceSuccess&&(d=i.eventSourceSuccess.call(s,d,a.response)||d),t.success&&(d=t.success.call(s,d,a.response)||d),r.dispatch({type:"RECEIVE_EVENTS",sourceId:t.sourceId,fetchId:o,fetchRange:e,rawEvents:d})},a=>{let d=!1;i.eventSourceFailure&&(i.eventSourceFailure.call(s,a),d=!0),t.failure&&(t.failure(a),d=!0),d||console.warn(a.message,a),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:t.sourceId,fetchId:o,fetchRange:e,error:a})}),Object.assign(Object.assign({},t),{isFetching:!0,latestFetchId:o})}function _d(t,e,n,r){let i=t[e];return i&&n===i.latestFetchId?Object.assign(Object.assign({},t),{[e]:Object.assign(Object.assign({},i),{isFetching:!1,fetchRange:r})}):t}function Is(t,e){return me(t,n=>Ns(n,e))}function Td(t,e){let n=Vi(e),r=[].concat(t.eventSources||[]),i=[];t.initialEvents&&r.unshift(t.initialEvents),t.events&&r.unshift(t.events);for(let s of r){let l=Wi(s,e,n);l&&i.push(l)}return i}function Ns(t,e){return!e.pluginHooks.eventSourceDefs[t.sourceDefId].ignoreRange}function xd(t,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return t}}function Md(t,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return t}}function kd(t,e){let n;switch(e.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return n=e.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function Id(t,e){let n;switch(e.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return n=e.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function Nd(t,e,n,r,i){let s=t.headerToolbar?Wr(t.headerToolbar,t,e,n,r,i):null,l=t.footerToolbar?Wr(t.footerToolbar,t,e,n,r,i):null;return{header:s,footer:l}}function Wr(t,e,n,r,i,s){let l={},o=[],a=!1;for(let d in t){let c=t[d],h=Od(c,e,n,r,i,s);l[d]=h.widgets,o.push(...h.viewsWithButtons),a=a||h.hasTitle}return{sectionWidgets:l,viewsWithButtons:o,hasTitle:a}}function Od(t,e,n,r,i,s){let l=e.direction==="rtl",o=e.customButtons||{},a=n.buttonText||{},d=e.buttonText||{},c=n.buttonHints||{},h=e.buttonHints||{},f=t?t.split(" "):[],u=[],m=!1;return{widgets:f.map(b=>b.split(",").map(y=>{if(y==="title")return m=!0,{buttonName:y};let E,D,C,P,T,I;if(E=o[y])C=R=>{E.click&&E.click.call(R.target,R,R.target)},(P=r.getCustomButtonIconClass(E))||(P=r.getIconClass(y,l))||(T=E.text),I=E.hint||E.text;else if(D=i[y]){u.push(y),C=()=>{s.changeView(y)},(T=D.buttonTextOverride)||(P=r.getIconClass(y,l))||(T=D.buttonTextDefault);let R=D.buttonTextOverride||D.buttonTextDefault;I=He(D.buttonTitleOverride||D.buttonTitleDefault||e.viewHint,[R,y],R)}else if(s[y])if(C=()=>{s[y]()},(T=a[y])||(P=r.getIconClass(y,l))||(T=d[y]),y==="prevYear"||y==="nextYear"){let R=y==="prevYear"?"prev":"next";I=He(c[R]||h[R],[d.year||"year","year"],d[y])}else I=R=>He(c[y]||h[y],[d[R]||R,R],d[y]);return{buttonName:y,buttonClick:C,buttonIcon:P,buttonText:T,buttonHint:I}})),viewsWithButtons:u,hasTitle:m}}class Pd{constructor(e,n,r){this.type=e,this.getCurrentData=n,this.dateEnv=r}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}let Hd={ignoreRange:!0,parseMeta(t){return Array.isArray(t.events)?t.events:null},fetch(t,e){e({rawEvents:t.eventSource.meta})}};const Bd=ne({name:"array-event-source",eventSourceDefs:[Hd]});let Ld={parseMeta(t){return typeof t.events=="function"?t.events:null},fetch(t,e,n){const{dateEnv:r}=t.context,i=t.eventSource.meta;Xa(i.bind(null,es(t.range,r)),s=>e({rawEvents:s}),n)}};const Ud=ne({name:"func-event-source",eventSourceDefs:[Ld]}),jd={method:String,extraParams:p,startParam:String,endParam:String,timeZoneParam:String};let zd={parseMeta(t){return t.url&&(t.format==="json"||!t.format)?{url:t.url,format:"json",method:(t.method||"GET").toUpperCase(),extraParams:t.extraParams,startParam:t.startParam,endParam:t.endParam,timeZoneParam:t.timeZoneParam}:null},fetch(t,e,n){const{meta:r}=t.eventSource,i=Wd(r,t.range,t.context);Ja(r.method,r.url,i).then(([s,l])=>{e({rawEvents:s,response:l})},n)}};const Fd=ne({name:"json-event-source",eventSourceRefiners:jd,eventSourceDefs:[zd]});function Wd(t,e,n){let{dateEnv:r,options:i}=n,s,l,o,a,d={};return s=t.startParam,s==null&&(s=i.startParam),l=t.endParam,l==null&&(l=i.endParam),o=t.timeZoneParam,o==null&&(o=i.timeZoneParam),typeof t.extraParams=="function"?a=t.extraParams():a=t.extraParams||{},Object.assign(d,a),d[s]=r.formatIso(e.start),d[l]=r.formatIso(e.end),r.timeZone!=="local"&&(d[o]=r.timeZone),d}const Vd={daysOfWeek:p,startTime:w,endTime:w,duration:w,startRecur:p,endRecur:p};let Gd={parse(t,e){if(t.daysOfWeek||t.startTime||t.endTime||t.startRecur||t.endRecur){let n={daysOfWeek:t.daysOfWeek||null,startTime:t.startTime||null,endTime:t.endTime||null,startRecur:t.startRecur?e.createMarker(t.startRecur):null,endRecur:t.endRecur?e.createMarker(t.endRecur):null},r;return t.duration&&(r=t.duration),!r&&t.startTime&&t.endTime&&(r=oo(t.endTime,t.startTime)),{allDayGuess:!t.startTime&&!t.endTime,duration:r,typeData:n}}return null},expand(t,e,n){let r=ve(e,{start:t.startRecur,end:t.endRecur});return r?Qd(t.daysOfWeek,t.startTime,r,n):[]}};const qd=ne({name:"simple-recurring-event",recurringTypes:[Gd],eventRefiners:Vd});function Qd(t,e,n,r){let i=t?Mi(t):null,s=M(n.start),l=n.end,o=[];for(;sxs(t.eventSources)],propSetHandlers:{dateProfile:$d,eventStore:Zd}})];class Jd{constructor(e,n){this.runTaskOption=e,this.drainedOption=n,this.queue=[],this.delayedRunner=new mn(this.drain.bind(this))}request(e,n){this.queue.push(e),this.delayedRunner.request(n)}pause(e){this.delayedRunner.pause(e)}resume(e,n){this.delayedRunner.resume(e,n)}drain(){let{queue:e}=this;for(;e.length;){let n=[],r;for(;r=e.shift();)this.runTask(r),n.push(r);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function Kd(t,e,n){let r;return/^(year|month)$/.test(t.currentRangeUnit)?r=t.currentRange:r=t.activeRange,n.formatRange(r.start,r.end,O(e.titleFormat||eu(t)),{isEndExclusive:t.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}function eu(t){let{currentRangeUnit:e}=t;if(e==="year")return{year:"numeric"};if(e==="month")return{year:"numeric",month:"long"};let n=ht(t.currentRange.start,t.currentRange.end);return n!==null&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}class tu{constructor(e){this.computeCurrentViewData=A(this._computeCurrentViewData),this.organizeRawLocales=A(sd),this.buildLocale=A(_s),this.buildPluginHooks=cd(),this.buildDateEnv=A(nu),this.buildTheme=A(ru),this.parseToolbars=A(Nd),this.buildViewSpecs=A(pd),this.buildDateProfileGenerator=lt(iu),this.buildViewApi=A(su),this.buildViewUiProps=lt(au),this.buildEventUiBySource=A(lu,Y),this.buildEventUiBases=A(ou),this.parseContextBusinessHours=lt(cu),this.buildTitle=A(Kd),this.emitter=new Mt,this.actionRunner=new Jd(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=f=>{this.actionRunner.request(f)},this.props=e,this.actionRunner.pause();let n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),i=r.calendarOptions.initialView||r.pluginHooks.initialView,s=this.computeCurrentViewData(i,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(s.options);let l=ua(r.calendarOptions,r.dateEnv),o=s.dateProfileGenerator.build(l);J(o.activeRange,l)||(l=o.currentRange.start);let a={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let f of r.pluginHooks.contextInit)f(a);let d=Sd(r.calendarOptions,o,a),c={dynamicOptionOverrides:n,currentViewType:i,currentDate:l,dateProfile:o,businessHours:this.parseContextBusinessHours(a),eventSources:d,eventUiBases:{},eventStore:F(),renderableEventStore:F(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(a).selectionConfig},h=Object.assign(Object.assign({},a),c);for(let f of r.pluginHooks.reducers)Object.assign(c,f(null,null,h));Qt(c,a)&&this.emitter.trigger("loading",!0),this.state=c,this.updateData(),this.actionRunner.resume()}resetOptions(e,n){let{props:r}=this;n===void 0?r.optionOverrides=e:(r.optionOverrides=Object.assign(Object.assign({},r.optionOverrides||{}),e),this.optionsForRefining.push(...n)),(n===void 0||n.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:n,state:r,emitter:i}=this,s=yd(r.dynamicOptionOverrides,e),l=this.computeOptionsData(n.optionOverrides,s,n.calendarApi),o=bd(r.currentViewType,e),a=this.computeCurrentViewData(o,l,n.optionOverrides,s);n.calendarApi.currentDataManager=this,i.setThisContext(n.calendarApi),i.setOptions(a.options);let d={dateEnv:l.dateEnv,options:l.calendarOptions,pluginHooks:l.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:i,getCurrentData:this.getCurrentData},{currentDate:c,dateProfile:h}=r;this.data&&this.data.dateProfileGenerator!==a.dateProfileGenerator&&(h=a.dateProfileGenerator.build(c)),c=da(c,e),h=Ed(h,e,c,a.dateProfileGenerator),(e.type==="PREV"||e.type==="NEXT"||!J(h.currentRange,c))&&(c=h.currentRange.start);let f=Ad(r.eventSources,e,h,d),u=Ca(r.eventStore,e,f,h,d),v=xs(f)&&!a.options.progressiveEventRendering&&r.renderableEventStore||u,{eventUiSingleBase:b,selectionConfig:y}=this.buildViewUiProps(d),E=this.buildEventUiBySource(f),D=this.buildEventUiBases(v.defs,b,E),C={dynamicOptionOverrides:s,currentViewType:o,currentDate:c,dateProfile:h,eventSources:f,eventStore:u,renderableEventStore:v,selectionConfig:y,eventUiBases:D,businessHours:this.parseContextBusinessHours(d),dateSelection:xd(r.dateSelection,e),eventSelection:Md(r.eventSelection,e),eventDrag:kd(r.eventDrag,e),eventResize:Id(r.eventResize,e)},P=Object.assign(Object.assign({},d),C);for(let R of l.pluginHooks.reducers)Object.assign(C,R(r,e,P));let T=Qt(r,d),I=Qt(C,d);!T&&I?i.trigger("loading",!0):T&&!I&&i.trigger("loading",!1),this.state=C,n.onAction&&n.onAction(e)}updateData(){let{props:e,state:n}=this,r=this.data,i=this.computeOptionsData(e.optionOverrides,n.dynamicOptionOverrides,e.calendarApi),s=this.computeCurrentViewData(n.currentViewType,i,e.optionOverrides,n.dynamicOptionOverrides),l=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(n.dateProfile,s.options,i.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},i),s),n),o=i.pluginHooks.optionChangeHandlers,a=r&&r.calendarOptions,d=i.calendarOptions;if(a&&a!==d){a.timeZone!==d.timeZone&&(n.eventSources=l.eventSources=Dd(l.eventSources,n.dateProfile,l),n.eventStore=l.eventStore=Nr(l.eventStore,r.dateEnv,l.dateEnv),n.renderableEventStore=l.renderableEventStore=Nr(l.renderableEventStore,r.dateEnv,l.dateEnv));for(let c in o)(this.optionsForHandling.indexOf(c)!==-1||a[c]!==d[c])&&o[c](d[c],l)}this.optionsForHandling=[],e.onData&&e.onData(l)}computeOptionsData(e,n,r){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&n===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:i,pluginHooks:s,localeDefaults:l,availableLocaleData:o,extra:a}=this.processRawCalendarOptions(e,n);Gr(a);let d=this.buildDateEnv(i.timeZone,i.locale,i.weekNumberCalculation,i.firstDay,i.weekText,s,o,i.defaultRangeSeparator),c=this.buildViewSpecs(s.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,l),h=this.buildTheme(i,s),f=this.parseToolbars(i,this.stableOptionOverrides,h,c,r);return this.stableCalendarOptionsData={calendarOptions:i,pluginHooks:s,dateEnv:d,viewSpecs:c,theme:h,toolbarConfig:f,localeDefaults:l,availableRawLocales:o.map}}processRawCalendarOptions(e,n){let{locales:r,locale:i}=Lt([Be,e,n]),s=this.organizeRawLocales(r),l=s.map,o=this.buildLocale(i||s.defaultCode,l).options,a=this.buildPluginHooks(e.plugins||[],Xd),d=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_r),Tr),xr),a.listenerRefiners),a.optionRefiners),c={},h=Lt([Be,o,e,n]),f={},u=this.currentCalendarOptionsInput,m=this.currentCalendarOptionsRefined,v=!1;for(let b in h)this.optionsForRefining.indexOf(b)===-1&&(h[b]===u[b]||ue[b]&&b in u&&ue[b](u[b],h[b]))?f[b]=m[b]:d[b]?(f[b]=d[b](h[b]),v=!0):c[b]=u[b];return v&&(this.currentCalendarOptionsInput=h,this.currentCalendarOptionsRefined=f,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=n),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:a,availableLocaleData:s,localeDefaults:o,extra:c}}_computeCurrentViewData(e,n,r,i){let s=n.viewSpecs[e];if(!s)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:l,extra:o}=this.processRawViewOptions(s,n.pluginHooks,n.localeDefaults,r,i);Gr(o);let a=this.buildDateProfileGenerator({dateProfileGeneratorClass:s.optionDefaults.dateProfileGeneratorClass,duration:s.duration,durationUnit:s.durationUnit,usesMinMaxTime:s.optionDefaults.usesMinMaxTime,dateEnv:n.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:l.slotMinTime,slotMaxTime:l.slotMaxTime,showNonCurrentDates:l.showNonCurrentDates,dayCount:l.dayCount,dateAlignment:l.dateAlignment,dateIncrement:l.dateIncrement,hiddenDays:l.hiddenDays,weekends:l.weekends,nowInput:l.now,validRangeInput:l.validRange,visibleRangeInput:l.visibleRange,fixedWeekCount:l.fixedWeekCount}),d=this.buildViewApi(e,this.getCurrentData,n.dateEnv);return{viewSpec:s,options:l,dateProfileGenerator:a,viewApi:d}}processRawViewOptions(e,n,r,i,s){let l=Lt([Be,e.optionDefaults,r,i,e.optionOverrides,s]),o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_r),Tr),xr),zo),n.listenerRefiners),n.optionRefiners),a={},d=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,h=!1,f={};for(let u in l)l[u]===d[u]||ue[u]&&ue[u](l[u],d[u])?a[u]=c[u]:(l[u]===this.currentCalendarOptionsInput[u]||ue[u]&&ue[u](l[u],this.currentCalendarOptionsInput[u])?u in this.currentCalendarOptionsRefined&&(a[u]=this.currentCalendarOptionsRefined[u]):o[u]?a[u]=o[u](l[u]):f[u]=l[u],h=!0);return h&&(this.currentViewOptionsInput=l,this.currentViewOptionsRefined=a),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:f}}}function nu(t,e,n,r,i,s,l,o){let a=_s(e||l.defaultCode,l.map);return new Xo({calendarSystem:"gregory",timeZone:t,namedTimeZoneImpl:s.namedTimeZonedImpl,locale:a,weekNumberCalculation:n,firstDay:r,weekText:i,cmdFormatter:s.cmdFormatter,defaultSeparator:o})}function ru(t,e){let n=e.themeClasses[t.themeSystem]||de;return new n(t)}function iu(t){let e=t.dateProfileGeneratorClass||Li;return new e(t)}function su(t,e,n){return new Pd(t,e,n)}function lu(t){return K(t,e=>e.ui)}function ou(t,e,n){let r={"":e};for(let i in t){let s=t[i];s.sourceId&&n[s.sourceId]&&(r[i]=n[s.sourceId])}return r}function au(t){let{options:e}=t;return{eventUiSingleBase:Et({display:e.eventDisplay,editable:e.editable,startEditable:e.eventStartEditable,durationEditable:e.eventDurationEditable,constraint:e.eventConstraint,overlap:typeof e.eventOverlap=="boolean"?e.eventOverlap:void 0,allow:e.eventAllow,backgroundColor:e.eventBackgroundColor,borderColor:e.eventBorderColor,textColor:e.eventTextColor,color:e.eventColor},t),selectionConfig:Et({constraint:e.selectConstraint,overlap:typeof e.selectOverlap=="boolean"?e.selectOverlap:void 0,allow:e.selectAllow},t)}}function Qt(t,e){for(let n of e.pluginHooks.isLoadingFuncs)if(n(t))return!0;return!1}function cu(t){return Na(t.options.businessHours,t)}function Gr(t,e){for(let n in t)console.warn(`Unknown option '${n}'`)}class du extends _{render(){let e=this.props.widgetGroups.map(n=>this.renderWidgetGroup(n));return g("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:n}=this,{theme:r}=this.context,i=[],s=!0;for(let l of e){let{buttonName:o,buttonClick:a,buttonText:d,buttonIcon:c,buttonHint:h}=l;if(o==="title")s=!1,i.push(g("h2",{className:"fc-toolbar-title",id:n.titleId},n.title));else{let f=o===n.activeButton,u=!n.isTodayEnabled&&o==="today"||!n.isPrevEnabled&&o==="prev"||!n.isNextEnabled&&o==="next",m=[`fc-${o}-button`,r.getClass("button")];f&&m.push(r.getClass("buttonActive")),i.push(g("button",{type:"button",title:typeof h=="function"?h(n.navUnit):h,disabled:u,"aria-pressed":f,className:m.join(" "),onClick:a},d||(c?g("span",{className:c,role:"img"}):"")))}}if(i.length>1){let l=s&&r.getClass("buttonGroup")||"";return g("div",{className:l},...i)}return i[0]}}class qr extends _{render(){let{model:e,extraClassName:n}=this.props,r=!1,i,s,l=e.sectionWidgets,o=l.center;return l.left?(r=!0,i=l.left):i=l.start,l.right?(r=!0,s=l.right):s=l.end,g("div",{className:[n||"","fc-toolbar",r?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",i||[]),this.renderSection("center",o||[]),this.renderSection("end",s||[]))}renderSection(e,n){let{props:r}=this;return g(du,{key:e,widgetGroups:n,title:r.title,navUnit:r.navUnit,activeButton:r.activeButton,isTodayEnabled:r.isTodayEnabled,isPrevEnabled:r.isPrevEnabled,isNextEnabled:r.isNextEnabled,titleId:r.titleId})}}class uu extends _{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,ee(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:n}=this,{aspectRatio:r}=e,i=["fc-view-harness",r||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],s="",l="";return r?n.availableWidth!==null?s=n.availableWidth/r:l=`${1/r*100}%`:s=e.height||"",g("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:i.join(" "),style:{height:s,paddingBottom:l}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class fu extends Ie{constructor(e){super(e),this.handleSegClick=(n,r)=>{let{component:i}=this,{context:s}=i,l=xe(r);if(l&&i.isValidSegDownEl(n.target)){let o=H(n.target,".fc-event-forced-url"),a=o?o.querySelector("a[href]").href:"";s.emitter.trigger("eventClick",{el:r,event:new N(i.context,l.eventRange.def,l.eventRange.instance),jsEvent:n,view:s.viewApi}),a&&!n.defaultPrevented&&(window.location.href=a)}},this.destroy=wi(e.el,"click",".fc-event",this.handleSegClick)}}class hu extends Ie{constructor(e){super(e),this.handleEventElRemove=n=>{n===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(n,r)=>{xe(r)&&(this.currentSegEl=r,this.triggerEvent("eventMouseEnter",n,r))},this.handleSegLeave=(n,r)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",n,r))},this.removeHoverListeners=ql(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,n,r){let{component:i}=this,{context:s}=i,l=xe(r);(!n||i.isValidSegDownEl(n.target))&&s.emitter.trigger(e,{el:r,event:new N(s,l.eventRange.def,l.eventRange.instance),jsEvent:n,view:s.viewApi})}}class gu extends Se{constructor(){super(...arguments),this.buildViewContext=A(ea),this.buildViewPropTransformers=A(mu),this.buildToolbarProps=A(pu),this.headerRef=L(),this.footerRef=L(),this.interactionsStore={},this.state={viewLabelId:Rt()},this.registerInteractiveComponent=(e,n)=>{let r=tc(e,n),l=[fu,hu].concat(this.props.pluginHooks.componentInteractions).map(o=>new o(r));this.interactionsStore[e.uid]=l,on[e.uid]=r},this.unregisterInteractiveComponent=e=>{let n=this.interactionsStore[e.uid];if(n){for(let r of n)r.destroy();delete this.interactionsStore[e.uid]}delete on[e.uid]},this.resizeRunner=new mn(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:n}=this.props;n.handleWindowResize&&e.target===window&&this.resizeRunner.request(n.windowResizeDelay)}}render(){let{props:e}=this,{toolbarConfig:n,options:r}=e,i=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,We(e.options.now,e.dateEnv),e.viewTitle),s=!1,l="",o;e.isHeightAuto||e.forPrint?l="":r.height!=null?s=!0:r.contentHeight!=null?l=r.contentHeight:o=Math.max(r.aspectRatio,.5);let a=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),d=n.header&&n.header.hasTitle?this.state.viewLabelId:void 0;return g(te.Provider,{value:a},n.header&&g(qr,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:d},i)),g(uu,{liquid:s,height:l,aspectRatio:o,labeledById:d},this.renderView(e),this.buildAppendContent()),n.footer&&g(qr,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},i)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(r=>new r(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:n}=e.pluginHooks;for(let r in n)n[r](e[r],e)}componentDidUpdate(e){let{props:n}=this,{propSetHandlers:r}=n.pluginHooks;for(let i in r)n[i]!==e[i]&&r[i](n[i],n)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this,n=e.pluginHooks.viewContainerAppends.map(r=>r(e));return g(k,{},...n)}renderView(e){let{pluginHooks:n}=e,{viewSpec:r}=e,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},s=this.buildViewPropTransformers(n.viewPropsTransformers);for(let o of s)Object.assign(i,o.transform(i,e));let l=r.component;return g(l,Object.assign({},i))}}function pu(t,e,n,r,i,s){let l=n.build(i,void 0,!1),o=n.buildPrev(e,r,!1),a=n.buildNext(e,r,!1);return{title:s,activeButton:t.type,navUnit:t.singleUnit,isTodayEnabled:l.isValid&&!J(e.currentRange,i),isPrevEnabled:o.isValid,isNextEnabled:a.isValid}}function mu(t){return t.map(e=>new e)}class vu extends nc{constructor(e,n={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=r=>{switch(r.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=r=>{this.currentData=r,this.renderRunner.request(r.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:r}=this;vt(()=>{je(g(ec,{options:r.calendarOptions,theme:r.theme,emitter:r.emitter},(i,s,l,o)=>(this.setClassNames(i),this.setHeight(s),g(Oi.Provider,{value:this.customContentRenderId},g(gu,Object.assign({isHeightAuto:l,forPrint:o},r))))),this.el)})}else this.isRendered&&(this.isRendered=!1,je(null,this.el),this.setClassNames([]),this.setHeight(""))},Bl(e),this.el=e,this.renderRunner=new mn(this.handleRenderRequest),new tu({optionOverrides:n,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){vt(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,n){this.currentDataManager.resetOptions(e,n)}setClassNames(e){if(!ae(e,this.currentClassNames)){let{classList:n}=this.el;for(let r of this.currentClassNames)n.remove(r);for(let r of e)n.add(r);this.currentClassNames=e}}setHeight(e){Di(this.el,"height",e)}}const bu={headerToolbar:!0,footerToolbar:!0,events:!0,eventSources:!0,resources:!0},yu=ke({props:{options:Object},data(){return{renderId:0,customRenderingMap:new Map}},methods:{getApi(){return this.calendar},buildOptions(t){return{...t,customRenderingMetaMap:Au(this.$slots),handleCustomRendering:this.handleCustomRendering}}},render(){const t=[];for(const e of this.customRenderingMap.values())t.push(nt(Eu,{key:e.id,customRendering:e}));return nt("div",{attrs:{"data-fc-render-id":this.renderId}},nt($t,t))},mounted(){const t=new rd;this.handleCustomRendering=t.handle.bind(t);const e=this.buildOptions(this.options),n=new vu(this.$el,e);this.calendar=n,n.render(),t.subscribe(r=>{this.customRenderingMap=r,this.renderId++,this.needCustomRenderingResize=!0})},beforeUpdate(){this.getApi().resumeRendering()},updated(){this.needCustomRenderingResize&&(this.needCustomRenderingResize=!1,this.getApi().updateSize())},beforeUnmount(){this.getApi().destroy()},watch:Su()}),Eu=ke({props:{customRendering:Object},render(){const t=this.customRendering,e=typeof t.generatorMeta=="function"?t.generatorMeta(t.renderProps):t.generatorMeta;return nt(sl,{to:t.containerEl},e)}});function Su(){let t={options:{deep:!0,handler(e){let n=this.getApi();n.pauseRendering();let r=this.buildOptions(e);n.resetOptions(r),this.renderId++}}};for(let e in bu)t[`options.${e}`]={deep:!0,handler(n){if(n!==void 0){let r=this.getApi();r.pauseRendering(),r.resetOptions({[e]:n},[e]),this.renderId++}}};return t}function Au(t){const e={};for(const n in t)e[Du(n)]=t[n];return e}function Du(t){return t.split("-").map((e,n)=>n?Cu(e):e).join("")}function Cu(t){return t.charAt(0).toUpperCase()+t.slice(1)}class wu extends ${constructor(){super(...arguments),this.headerElRef=L()}renderSimpleLayout(e,n){let{props:r,context:i}=this,s=[],l=Dt(i.options);return e&&s.push({type:"header",key:"header",isSticky:l,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),s.push({type:"body",key:"body",liquid:!0,chunk:{content:n}}),g(bt,{elClasses:["fc-daygrid"],viewSpec:i.viewSpec},g(jn,{liquid:!r.isHeightAuto&&!r.forPrint,collapsibleWidth:r.forPrint,cols:[],sections:s}))}renderHScrollLayout(e,n,r,i){let s=this.context.pluginHooks.scrollGridImpl;if(!s)throw new Error("No ScrollGrid implementation");let{props:l,context:o}=this,a=!l.forPrint&&Dt(o.options),d=!l.forPrint&&bs(o.options),c=[];return e&&c.push({type:"header",key:"header",isSticky:a,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),c.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:n}]}),d&&c.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:dn}]}),g(bt,{elClasses:["fc-daygrid"],viewSpec:o.viewSpec},g(s,{liquid:!l.isHeightAuto&&!l.forPrint,forPrint:l.forPrint,collapsibleWidth:l.forPrint,colGroups:[{cols:[{span:r,minWidth:i}]}],sections:c}))}}function Ke(t,e){let n=[];for(let r=0;r{let i=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return g(k,null,n.map(s=>{let l=s.eventRange.instance.instanceId;return g("div",{className:"fc-daygrid-event-harness",key:l,style:{visibility:i[l]?"hidden":""}},Ps(s)?g(Bs,Object.assign({seg:s,isDragging:!1,isSelected:l===e.eventSelection,defaultDisplayEventEnd:!1},oe(s,e.todayRange))):g(Hs,Object.assign({seg:s,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:l===e.eventSelection,defaultDisplayEventEnd:!1},oe(s,e.todayRange))))}))}})}}function Tu(t){let e=[],n=[];for(let r of t)e.push(r.seg),r.isVisible||n.push(r.seg);return{allSegs:e,invisibleSegs:n}}const xu=O({week:"narrow"});class Mu extends ${constructor(){super(...arguments),this.rootElRef=L(),this.state={dayNumberId:Rt()},this.handleRootEl=e=>{ee(this.rootElRef,e),ee(this.props.elRef,e)}}render(){let{context:e,props:n,state:r,rootElRef:i}=this,{options:s,dateEnv:l}=e,{date:o,dateProfile:a}=n;const d=n.showDayNumber&&Iu(o,a.currentRange,l);return g(Wn,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...n.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},n.extraDataAttrs),n.showDayNumber?{"aria-labelledby":r.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:ku,date:o,dateProfile:a,todayRange:n.todayRange,showDayNumber:n.showDayNumber,isMonthStart:d,extraRenderProps:n.extraRenderProps},(c,h)=>g("div",{ref:n.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:n.minHeight}},n.showWeekNumber&&g(As,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:At(e,o,"week"),date:o,defaultFormat:xu}),!h.isDisabled&&(n.showDayNumber||Vn(s)||n.forceDayTop)?g("div",{className:"fc-daygrid-day-top"},g(c,{elTag:"a",elClasses:["fc-daygrid-day-number",d&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},At(e,o)),{id:r.dayNumberId})})):n.showDayNumber?g("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},g("a",{className:"fc-daygrid-day-number"}," ")):void 0,g("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,g("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},g(_u,{allDayDate:o,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:i,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),g("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}}function ku(t){return t.dayNumberText||g(k,null," ")}function Iu(t,e,n){const{start:r,end:i}=e,s=ce(i,-1),l=n.getYear(r),o=n.getMonth(r),a=n.getYear(s),d=n.getMonth(s);return!(l===a&&o===d)&&(t.valueOf()===r.valueOf()||n.getDay(t)===1&&t.valueOf(){let E=t[y.index].eventRange.instance.instanceId+":"+y.span.start+":"+(y.span.end-1);return i[E]||1});o.allowReslicing=!0,o.strictOrder=r,e===!0||n===!0?(o.maxCoord=s,o.hiddenConsumes=!0):typeof e=="number"?o.maxStackCnt=e:typeof n=="number"&&(o.maxStackCnt=n,o.hiddenConsumes=!0);let a=[],d=[];for(let y=0;y1,b=u.span.start===o;h+=u.levelCoord-c,c=u.levelCoord+u.thickness,v?(h+=u.thickness,b&&f.push({seg:_e(m,u.span.start,u.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:u.levelCoord,marginTop:0})):b&&(f.push({seg:_e(m,u.span.start,u.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:u.levelCoord,marginTop:h}),h=0)}i.push(d),s.push(f),l.push(h)}return{singleColPlacements:i,multiColPlacements:s,leftoverMargins:l}}function Pu(t,e){let n=[];for(let r=0;r!this.forceHidden[pe(s)];for(let s=0;s{e&&this.updateSizing(!0)}}render(){let{props:e,state:n,context:r}=this,{options:i}=r,s=e.cells.length,l=et(e.businessHourSegs,s),o=et(e.bgEventSegs,s),a=et(this.getHighlightSegs(),s),d=et(this.getMirrorSegs(),s),{singleColPlacements:c,multiColPlacements:h,moreCnts:f,moreMarginTops:u}=Nu(Zi(e.fgEventSegs,i.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,i.eventOrderStrict,n.segHeights,n.maxContentHeight,e.cells),m=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return g("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map((v,b)=>{let y=this.renderFgSegs(b,e.forPrint?c[b]:h[b],e.todayRange,m),E=this.renderFgSegs(b,Bu(d[b],h),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return g(Mu,{key:v.key,elRef:this.cellElRefs.createRef(v.key),innerElRef:this.frameElRefs.createRef(v.key),dateProfile:e.dateProfile,date:v.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&b===0,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:v.extraRenderProps,extraDataAttrs:v.extraDataAttrs,extraClassNames:v.extraClassNames,extraDateSpan:v.extraDateSpan,moreCnt:f[b],moreMarginTop:u[b],singlePlacements:c[b],fgContentElRef:this.fgElRefs.createRef(v.key),fgContent:g(k,null,g(k,null,y),g(k,null,E)),bgContent:g(k,null,this.renderFillSegs(a[b],"highlight"),this.renderFillSegs(l[b],"non-business"),this.renderFillSegs(o[b],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,n){let r=this.props;this.updateSizing(!Y(e,r))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,n,r,i,s,l,o){let{context:a}=this,{eventSelection:d}=this.props,{framePositions:c}=this.state,h=this.props.cells.length===1,f=s||l||o,u=[];if(c)for(let m of n){let{seg:v}=m,{instanceId:b}=v.eventRange.instance,y=m.isVisible&&!i[b],E=m.isAbsolute,D="",C="";E&&(a.isRtl?(C=0,D=c.lefts[v.lastCol]-c.lefts[v.firstCol]):(D=0,C=c.rights[v.firstCol]-c.rights[v.lastCol])),u.push(g("div",{className:"fc-daygrid-event-harness"+(E?" fc-daygrid-event-harness-abs":""),key:Ls(v),ref:f?null:this.segHarnessRefs.createRef(Us(v)),style:{visibility:y?"":"hidden",marginTop:E?"":m.marginTop,top:E?m.absoluteTop:"",left:D,right:C}},Ps(v)?g(Bs,Object.assign({seg:v,isDragging:s,isSelected:b===d,defaultDisplayEventEnd:h},oe(v,r))):g(Hs,Object.assign({seg:v,isDragging:s,isResizing:l,isDateSelecting:o,isSelected:b===d,defaultDisplayEventEnd:h},oe(v,r)))))}return u}renderFillSegs(e,n){let{isRtl:r}=this.context,{todayRange:i}=this.props,{framePositions:s}=this.state,l=[];if(s)for(let o of e){let a=r?{right:0,left:s.lefts[o.lastCol]-s.lefts[o.firstCol]}:{left:0,right:s.rights[o.firstCol]-s.rights[o.lastCol]};l.push(g("div",{key:Ji(o.eventRange),className:"fc-daygrid-bg-harness",style:a},n==="bg-event"?g(Es,Object.assign({seg:o},oe(o,i))):Ss(n)))}return g(k,{},...l)}updateSizing(e){let{props:n,state:r,frameElRefs:i}=this;if(!n.forPrint&&n.clientWidth!==null){if(e){let a=n.cells.map(d=>i.currentMap[d.key]);if(a.length){let d=this.rootElRef.current,c=new Me(d,a,!0,!1);(!r.framePositions||!r.framePositions.similarTo(c))&&this.setState({framePositions:new Me(d,a,!0,!1)})}}const s=this.state.segHeights,l=this.querySegHeights(),o=n.dayMaxEvents===!0||n.dayMaxEventRows===!0;this.safeSetState({segHeights:Object.assign(Object.assign({},s),l),maxContentHeight:o?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,n={};for(let r in e){let i=Math.round(e[r].getBoundingClientRect().height);n[r]=Math.max(n[r]||0,i)}return n}computeMaxContentHeight(){let e=this.props.cells[0].key,n=this.cellElRefs.currentMap[e],r=this.fgElRefs.currentMap[e];return n.getBoundingClientRect().bottom-r.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(n=>e[n.key])}}js.addStateEquality({segHeights:Y});function Bu(t,e){if(!t.length)return[];let n=Lu(e);return t.map(r=>({seg:r,isVisible:!0,isAbsolute:!0,absoluteTop:n[r.eventRange.instance.instanceId],marginTop:0}))}function Lu(t){let e={};for(let n of t)for(let r of n)e[r.seg.eventRange.instance.instanceId]=r.absoluteTop;return e}class Uu extends ${constructor(){super(...arguments),this.splitBusinessHourSegs=A(Ke),this.splitBgEventSegs=A(Ke),this.splitFgEventSegs=A(Ke),this.splitDateSelectionSegs=A(Ke),this.splitEventDrag=A(Qr),this.splitEventResize=A(Qr),this.rowRefs=new X}render(){let{props:e,context:n}=this,r=e.cells.length,i=this.splitBusinessHourSegs(e.businessHourSegs,r),s=this.splitBgEventSegs(e.bgEventSegs,r),l=this.splitFgEventSegs(e.fgEventSegs,r),o=this.splitDateSelectionSegs(e.dateSelectionSegs,r),a=this.splitEventDrag(e.eventDrag,r),d=this.splitEventResize(e.eventResize,r),c=r>=7&&e.clientWidth?e.clientWidth/n.options.aspectRatio/6:null;return g(Ve,{unit:"day"},(h,f)=>g(k,null,e.cells.map((u,m)=>g(js,{ref:this.rowRefs.createRef(m),key:u.length?u[0].date.toISOString():m,showDayNumbers:r>1,showWeekNumbers:e.showWeekNumbers,todayRange:f,dateProfile:e.dateProfile,cells:u,renderIntro:e.renderRowIntro,businessHourSegs:i[m],eventSelection:e.eventSelection,bgEventSegs:s[m].filter(ju),fgEventSegs:l[m],dateSelectionSegs:o[m],eventDrag:a[m],eventResize:d[m],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:c,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){const e=this.rowRefs.currentMap[0].getCellEls()[0],n=e?e.closest(".fc-daygrid-body"):null;n&&(this.rootEl=n,this.context.registerInteractiveComponent(this,{el:n,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new Me(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new Me(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,n){let{colPositions:r,rowPositions:i}=this,s=r.leftToIndex(e),l=i.topToIndex(n);if(l!=null&&s!=null){let o=this.props.cells[l][s];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(l,s),allDay:!0},o.extraDateSpan),dayEl:this.getCellEl(l,s),rect:{left:r.lefts[s],right:r.rights[s],top:i.tops[l],bottom:i.bottoms[l]},layer:0}}return null}getCellEl(e,n){return this.rowRefs.currentMap[e].getCellEls()[n]}getCellRange(e,n){let r=this.props.cells[e][n].date,i=B(r,1);return{start:r,end:i}}}function ju(t){return t.eventRange.def.allDay}class zu extends ${constructor(){super(...arguments),this.elRef=L(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:n,dayMaxEvents:r,expandRows:i}=e,s=r===!0||n===!0;s&&!i&&(s=!1,n=null,r=null);let l=["fc-daygrid-body",s?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"];return g("div",{ref:this.elRef,className:l.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},g("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:i?e.clientHeight:""}},e.colGroupNode,g("tbody",{role:"presentation"},g(Uu,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:r,dayMaxEventRows:n,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const e=Fu(this.elRef.current,this.props.dateProfile);if(e){const n=e.closest(".fc-daygrid-body"),r=n.closest(".fc-scroller"),i=e.getBoundingClientRect().top-n.getBoundingClientRect().top;r.scrollTop=i?i+1:0}this.needsScrollReset=!1}}}function Fu(t,e){let n;return e.currentRangeUnit.match(/year|month/)&&(n=t.querySelector(`[data-date="${Co(e.currentDate)}-01"]`)),n||(n=t.querySelector(`[data-date="${Sn(e.currentDate)}"]`)),n}class Wu extends hs{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,n){return n.sliceRange(e)}}class zs extends ${constructor(){super(...arguments),this.slicer=new Wu,this.tableRef=L()}render(){let{props:e,context:n}=this;return g(zu,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,n,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}class Vu extends wu{constructor(){super(...arguments),this.buildDayTableModel=A(Gu),this.headerRef=L(),this.tableRef=L()}render(){let{options:e,dateProfileGenerator:n}=this.context,{props:r}=this,i=this.buildDayTableModel(r.dateProfile,n),s=e.dayHeaders&&g(ds,{ref:this.headerRef,dateProfile:r.dateProfile,dates:i.headerDates,datesRepDistinctDays:i.rowCnt===1}),l=o=>g(zs,{ref:this.tableRef,dateProfile:r.dateProfile,dayTableModel:i,businessHours:r.businessHours,dateSelection:r.dateSelection,eventStore:r.eventStore,eventUiBases:r.eventUiBases,eventSelection:r.eventSelection,eventDrag:r.eventDrag,eventResize:r.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:o.tableColGroupNode,tableMinWidth:o.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!r.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:o.clientWidth,clientHeight:o.clientHeight,forPrint:r.forPrint});return e.dayMinWidth?this.renderHScrollLayout(s,l,i.colCnt,e.dayMinWidth):this.renderSimpleLayout(s,l)}}function Gu(t,e){let n=new us(t.renderRange,e);return new fs(n,/year|month|week/.test(t.currentRangeUnit))}class qu extends Li{buildRenderRange(e,n,r){let i=super.buildRenderRange(e,n,r),{props:s}=this;return Qu({currentRange:i,snapToWeek:/^(year|month)$/.test(n),fixedWeekCount:s.fixedWeekCount,dateEnv:s.dateEnv})}}function Qu(t){let{dateEnv:e,currentRange:n}=t,{start:r,end:i}=n,s;if(t.snapToWeek&&(r=e.startOfWeek(r),s=e.startOfWeek(i),s.valueOf()!==i.valueOf()&&(i=Sr(s,1))),t.fixedWeekCount){let l=e.startOfWeek(e.startOfMonth(B(n.end,-1))),o=Math.ceil(ho(l,i));i=Sr(i,6-o)}return{start:r,end:i}}var Yu=':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}';pn(Yu);var $u=ne({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:Vu,dateProfileGeneratorClass:qu},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}}}});class Zu extends oc{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?La(e)?["timed","allDay"]:["allDay"]:["timed"]}}const Xu=O({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function Fs(t){let e=["fc-timegrid-slot","fc-timegrid-slot-label",t.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return g(te.Consumer,null,n=>{if(!t.isLabeled)return g("td",{className:e.join(" "),"data-time":t.isoTimeStr});let{dateEnv:r,options:i,viewApi:s}=n,l=i.slotLabelFormat==null?Xu:Array.isArray(i.slotLabelFormat)?O(i.slotLabelFormat[0]):O(i.slotLabelFormat),o={level:0,time:t.time,date:r.toDate(t.date),view:s,text:r.format(t.date,l)};return g(W,{elTag:"td",elClasses:e,elAttrs:{"data-time":t.isoTimeStr},renderProps:o,generatorName:"slotLabelContent",customGenerator:i.slotLabelContent,defaultGenerator:Ju,classNameGenerator:i.slotLabelClassNames,didMount:i.slotLabelDidMount,willUnmount:i.slotLabelWillUnmount},a=>g("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},g(a,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function Ju(t){return t.text}class Ku extends _{render(){return this.props.slatMetas.map(e=>g("tr",{key:e.key},g(Fs,Object.assign({},e))))}}const ef=O({week:"short"}),tf=5;class nf extends ${constructor(){super(...arguments),this.allDaySplitter=new Zu,this.headerElRef=L(),this.rootElRef=L(),this.scrollerElRef=L(),this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let n=this.scrollerElRef.current;n&&(n.scrollTop=e)},this.renderHeadAxis=(e,n="")=>{let{options:r}=this.context,{dateProfile:i}=this.props,s=i.renderRange,o=Ee(s.start,s.end)===1?At(this.context,s.start,"week"):{};return r.weekNumbers&&e==="day"?g(As,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:s.start,defaultFormat:ef},a=>g("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:n}},g(a,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:o}))):g("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},g("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},this.renderTableRowAxis=e=>{let{options:n,viewApi:r}=this.context,i={text:n.allDayText,view:r};return g(W,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:i,generatorName:"allDayContent",customGenerator:n.allDayContent,defaultGenerator:rf,classNameGenerator:n.allDayClassNames,didMount:n.allDayDidMount,willUnmount:n.allDayWillUnmount},s=>g("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",e==null?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},g(s,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,n,r){let{context:i,props:s}=this,l=[],o=Dt(i.options);return e&&l.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),n&&(l.push({type:"body",key:"all-day",chunk:{content:n}}),l.push({type:"body",key:"all-day-divider",outerContent:g("tr",{role:"presentation",className:"fc-scrollgrid-section"},g("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),l.push({type:"body",key:"body",liquid:!0,expandRows:!!i.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:r}}),g(bt,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:i.viewSpec},g(jn,{liquid:!s.isHeightAuto&&!s.forPrint,collapsibleWidth:s.forPrint,cols:[{width:"shrink"}],sections:l}))}renderHScrollLayout(e,n,r,i,s,l,o){let a=this.context.pluginHooks.scrollGridImpl;if(!a)throw new Error("No ScrollGrid implementation");let{context:d,props:c}=this,h=!c.forPrint&&Dt(d.options),f=!c.forPrint&&bs(d.options),u=[];e&&u.push({type:"header",key:"header",isSticky:h,syncRowHeights:!0,chunks:[{key:"axis",rowContent:v=>g("tr",{role:"presentation"},this.renderHeadAxis("day",v.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),n&&(u.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:v=>g("tr",{role:"presentation"},this.renderTableRowAxis(v.rowSyncHeights[0]))},{key:"cols",content:n}]}),u.push({key:"all-day-divider",type:"body",outerContent:g("tr",{role:"presentation",className:"fc-scrollgrid-section"},g("td",{colSpan:2,className:"fc-timegrid-divider "+d.theme.getClass("tableCellShaded")}))}));let m=d.options.nowIndicator;return u.push({type:"body",key:"body",liquid:!0,expandRows:!!d.options.expandRows,chunks:[{key:"axis",content:v=>g("div",{className:"fc-timegrid-axis-chunk"},g("table",{"aria-hidden":!0,style:{height:v.expandRows?v.clientHeight:""}},v.tableColGroupNode,g("tbody",null,g(Ku,{slatMetas:l}))),g("div",{className:"fc-timegrid-now-indicator-container"},g(Ve,{unit:m?"minute":"day"},b=>{let y=m&&o&&o.safeComputeTop(b);return typeof y=="number"?g(Fn,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:y},isAxis:!0,date:b}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:r}]}),f&&u.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:dn},{key:"cols",content:dn}]}),g(bt,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:d.viewSpec},g(a,{liquid:!c.isHeightAuto&&!c.forPrint,forPrint:c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:i,minWidth:s}]}],sections:u}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:n}=this.context.options;return(e===!0||n===!0)&&(e=void 0,n=tf),{dayMaxEvents:e,dayMaxEventRows:n}}}function rf(t){return t.text}class sf{constructor(e,n,r){this.positions=e,this.dateProfile=n,this.slotDuration=r}safeComputeTop(e){let{dateProfile:n}=this;if(J(n.currentRange,e)){let r=M(e),i=e.valueOf()-r.valueOf();if(i>=q(n.slotMinTime)&&i{let o={time:s.time,date:n.dateEnv.toDate(s.date),view:n.viewApi};return g("tr",{key:s.key,ref:i.createRef(s.key)},e.axis&&g(Fs,Object.assign({},s)),g(W,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!s.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":s.isoTimeStr},renderProps:o,generatorName:"slotLaneContent",customGenerator:r.slotLaneContent,classNameGenerator:r.slotLaneClassNames,didMount:r.slotLaneDidMount,willUnmount:r.slotLaneWillUnmount}))}))}}class of extends _{constructor(){super(...arguments),this.rootElRef=L(),this.slatElRefs=new X}render(){let{props:e,context:n}=this;return g("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},g("table",{"aria-hidden":!0,className:n.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,g(lf,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:e,props:n}=this;n.onCoords&&n.clientWidth!==null&&this.rootElRef.current.offsetHeight&&n.onCoords(new sf(new Me(this.rootElRef.current,af(this.slatElRefs.currentMap,n.slatMetas),!1,!0),this.props.dateProfile,e.options.slotDuration))}}function af(t,e){return e.map(n=>t[n.key])}function Oe(t,e){let n=[],r;for(r=0;rVs(e.hiddenSegs,e),defaultGenerator:df,forceTimed:!0},n=>g(n,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}}function df(t){return t.shortText}function uf(t,e,n){let r=new os;e!=null&&(r.strictOrder=e),n!=null&&(r.maxStackCnt=n);let i=r.addSegs(t),s=Ec(i),l=ff(r);return l=mf(l,1),{segRects:vf(l),hiddenGroups:s}}function ff(t){const{entriesByLevel:e}=t,n=qn((r,i)=>r+":"+i,(r,i)=>{let s=pf(t,r,i),l=$r(s,n),o=e[r][i];return[Object.assign(Object.assign({},o),{nextLevelNodes:l[0]}),o.thickness+l[1]]});return $r(e.length?{level:0,lateralStart:0,lateralEnd:e[0].length}:null,n)[0]}function $r(t,e){if(!t)return[[],0];let{level:n,lateralStart:r,lateralEnd:i}=t,s=r,l=[];for(;spe(r),(r,i,s)=>{let{nextLevelNodes:l,thickness:o}=r,a=o+s,d=o/a,c,h=[];if(!l.length)c=e;else for(let u of l)if(c===void 0){let m=n(u,i,a);c=m[0],h.push(m[1])}else{let m=n(u,c,0);h.push(m[1])}let f=(c-i)*d;return[c-f,Object.assign(Object.assign({},r),{thickness:f,nextLevelNodes:h})]});return t.map(r=>n(r,0,0)[1])}function vf(t){let e=[];const n=qn((i,s,l)=>pe(i),(i,s,l)=>{let o=Object.assign(Object.assign({},i),{levelCoord:s,stackDepth:l,stackForward:0});return e.push(o),o.stackForward=r(i.nextLevelNodes,s+i.thickness,l+1)+1});function r(i,s,l){let o=0;for(let a of i)o=Math.max(n(a,s,l),o);return o}return r(t,0,0),e}function qn(t,e){const n={};return(...r)=>{let i=t(...r);return i in n?n[i]:n[i]=e(...r)}}function Zr(t,e,n=null,r=0){let i=[];if(n)for(let s=0;sg("div",{className:"fc-timegrid-col-frame"},g("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),g("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(o,l,!1,!1,!1)),g("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(s,{},!!e.eventDrag,!!e.eventResize,!!i,"mirror")),g("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),Vn(r)&&g(a,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,n,r,i,s,l){let{props:o}=this;return o.forPrint?Vs(e,o):this.renderPositionedFgSegs(e,n,r,i,s,l)}renderPositionedFgSegs(e,n,r,i,s,l){let{eventMaxStack:o,eventShortHeight:a,eventOrderStrict:d,eventMinHeight:c}=this.context.options,{date:h,slatCoords:f,eventSelection:u,todayRange:m,nowDate:v}=this.props,b=r||i||s,y=Zr(e,h,f,c),{segPlacements:E,hiddenGroups:D}=bf(e,y,d,o);return g(k,null,this.renderHiddenGroups(D,e),E.map(C=>{let{seg:P,rect:T}=C,I=P.eventRange.instance.instanceId,R=b||!!(!n[I]&&T),re=Yt(T&&T.span),Ne=!b&&T?this.computeSegHStyle(T):{left:0,right:0},Zs=!!T&&T.stackForward>0,Xs=!!T&&T.span.end-T.span.start{let h=Yt(c.span),f=Sf(c.entries,n);return g(cf,{key:xi(Cs(f)),hiddenSegs:f,top:h.top,bottom:h.bottom,extraDateSpan:r,dateProfile:i,todayRange:s,nowDate:l,eventSelection:o,eventDrag:a,eventResize:d})}))}renderFillSegs(e,n){let{props:r,context:i}=this,l=Zr(e,r.date,r.slatCoords,i.options.eventMinHeight).map((o,a)=>{let d=e[a];return g("div",{key:Ji(d.eventRange),className:"fc-timegrid-bg-harness",style:Yt(o)},n==="bg-event"?g(Es,Object.assign({seg:d},oe(d,r.todayRange,r.nowDate))):Ss(n))});return g(k,null,l)}renderNowIndicator(e){let{slatCoords:n,date:r}=this.props;return n?e.map((i,s)=>g(Fn,{key:s,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:n.computeDateTop(i.start,r)},isAxis:!1,date:r})):null}computeSegHStyle(e){let{isRtl:n,options:r}=this.context,i=r.slotEventOverlap,s=e.levelCoord,l=e.levelCoord+e.thickness,o,a;i&&(l=Math.min(1,s+(l-s)*2)),n?(o=1-l,a=s):(o=s,a=1-l);let d={zIndex:e.stackDepth+1,left:o*100+"%",right:a*100+"%"};return i&&!e.stackForward&&(d[n?"marginLeft":"marginRight"]=10*2),d}}function Vs(t,{todayRange:e,nowDate:n,eventSelection:r,eventDrag:i,eventResize:s}){let l=(i?i.affectedInstances:null)||(s?s.affectedInstances:null)||{};return g(k,null,t.map(o=>{let a=o.eventRange.instance.instanceId;return g("div",{key:a,style:{visibility:l[a]?"hidden":""}},g(Ws,Object.assign({seg:o,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:a===r,isShort:!1},oe(o,e,n))))}))}function Yt(t){return t?{top:t.start,bottom:-t.end}:{top:"",bottom:""}}function Sf(t,e){return t.map(n=>e[n.index])}class Af extends _{constructor(){super(...arguments),this.splitFgEventSegs=A(Oe),this.splitBgEventSegs=A(Oe),this.splitBusinessHourSegs=A(Oe),this.splitNowIndicatorSegs=A(Oe),this.splitDateSelectionSegs=A(Oe),this.splitEventDrag=A(Yr),this.splitEventResize=A(Yr),this.rootElRef=L(),this.cellElRefs=new X}render(){let{props:e,context:n}=this,r=n.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),i=e.cells.length,s=this.splitFgEventSegs(e.fgEventSegs,i),l=this.splitBgEventSegs(e.bgEventSegs,i),o=this.splitBusinessHourSegs(e.businessHourSegs,i),a=this.splitNowIndicatorSegs(e.nowIndicatorSegs,i),d=this.splitDateSelectionSegs(e.dateSelectionSegs,i),c=this.splitEventDrag(e.eventDrag,i),h=this.splitEventResize(e.eventResize,i);return g("div",{className:"fc-timegrid-cols",ref:this.rootElRef},g("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,g("tbody",{role:"presentation"},g("tr",{role:"row"},e.axis&&g("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},g("div",{className:"fc-timegrid-col-frame"},g("div",{className:"fc-timegrid-now-indicator-container"},typeof r=="number"&&g(Fn,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:r},isAxis:!0,date:e.nowDate})))),e.cells.map((f,u)=>g(Ef,{key:f.key,elRef:this.cellElRefs.createRef(f.key),dateProfile:e.dateProfile,date:f.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:f.extraRenderProps,extraDataAttrs:f.extraDataAttrs,extraClassNames:f.extraClassNames,extraDateSpan:f.extraDateSpan,fgEventSegs:s[u],bgEventSegs:l[u],businessHourSegs:o[u],nowIndicatorSegs:a[u],dateSelectionSegs:d[u],eventDrag:c[u],eventResize:h[u],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:e}=this;e.onColCoords&&e.clientWidth!==null&&e.onColCoords(new Me(this.rootElRef.current,Df(this.cellElRefs.currentMap,e.cells),!0,!1))}}function Df(t,e){return e.map(n=>t[n.key])}class Cf extends ${constructor(){super(...arguments),this.processSlotOptions=A(wf),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:n}=this.props,{slatCoords:r}=this.state;if(n&&r){if(e.time){let i=r.computeTimeTop(e.time);i=Math.ceil(i),i&&(i+=1),n(i)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:n}=this;return g("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},g(of,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),g(Af,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:n.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,n){let{dateEnv:r,options:i}=this.context,{colCoords:s}=this,{dateProfile:l}=this.props,{slatCoords:o}=this.state,{snapDuration:a,snapsPerSlot:d}=this.processSlotOptions(this.props.slotDuration,i.snapDuration),c=s.leftToIndex(e),h=o.positions.topToIndex(n);if(c!=null&&h!=null){let f=this.props.cells[c],u=o.positions.tops[h],m=o.positions.getHeight(h),v=(n-u)/m,b=Math.floor(v*d),y=h*d+b,E=this.props.cells[c].date,D=en(l.slotMinTime,ao(a,y)),C=r.add(E,D),P=r.add(C,a);return{dateProfile:l,dateSpan:Object.assign({range:{start:C,end:P},allDay:!1},f.extraDateSpan),dayEl:s.els[c],rect:{left:s.lefts[c],right:s.rights[c],top:u,bottom:u+m},layer:0}}return null}}function wf(t,e){let n=e||t,r=En(t,n);return r===null&&(n=t,r=1),{snapDuration:n,snapsPerSlot:r}}class Rf extends hs{sliceRange(e,n){let r=[];for(let i=0;ig(Cf,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,r,null,n,o),{forPrint:e.forPrint,axis:e.axis,dateProfile:r,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:i.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:a,nowIndicatorSegs:s&&this.slicer.sliceNowDate(a,r,l,n,o),todayRange:d,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords})))}}function Tf(t,e,n){let r=[];for(let i of t.headerDates)r.push({start:n.add(i,e.slotMinTime),end:n.add(i,e.slotMaxTime)});return r}const Xr=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function xf(t,e,n,r,i){let s=new Date(0),l=t,o=w(0),a=n||Mf(r),d=[];for(;q(l)=0;e-=1)if(n=w(Xr[e]),r=En(n,t),r!==null&&r>1)return n;return t}class kf extends nf{constructor(){super(...arguments),this.buildTimeColsModel=A(If),this.buildSlatMetas=A(xf)}render(){let{options:e,dateEnv:n,dateProfileGenerator:r}=this.context,{props:i}=this,{dateProfile:s}=i,l=this.buildTimeColsModel(s,r),o=this.allDaySplitter.splitProps(i),a=this.buildSlatMetas(s.slotMinTime,s.slotMaxTime,e.slotLabelInterval,e.slotDuration,n),{dayMinWidth:d}=e,c=!d,h=d,f=e.dayHeaders&&g(ds,{dates:l.headerDates,dateProfile:s,datesRepDistinctDays:!0,renderIntro:c?this.renderHeadAxis:null}),u=e.allDaySlot!==!1&&(v=>g(zs,Object.assign({},o.allDay,{dateProfile:s,dayTableModel:l,nextDayThreshold:e.nextDayThreshold,tableMinWidth:v.tableMinWidth,colGroupNode:v.tableColGroupNode,renderRowIntro:c?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:v.clientWidth,clientHeight:v.clientHeight,forPrint:i.forPrint},this.getAllDayMaxEventProps()))),m=v=>g(_f,Object.assign({},o.timed,{dayTableModel:l,dateProfile:s,axis:c,slotDuration:e.slotDuration,slatMetas:a,forPrint:i.forPrint,tableColGroupNode:v.tableColGroupNode,tableMinWidth:v.tableMinWidth,clientWidth:v.clientWidth,clientHeight:v.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:v.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return h?this.renderHScrollLayout(f,u,m,l.colCnt,d,a,this.state.slatCoords):this.renderSimpleLayout(f,u,m)}}function If(t,e){let n=new us(t.renderRange,e);return new fs(n,!1)}var Nf='.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-arrow,.fc .fc-timegrid-now-indicator-line{pointer-events:none}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}';pn(Nf);const Of={allDaySlot:Boolean};var Pf=ne({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:Of,views:{timeGrid:{component:kf,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});Un.touchMouseIgnoreWait=500;let fn=0,Ct=0,hn=!1;class Gs{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=n=>{if(!this.shouldIgnoreMouse()&&Hf(n)&&this.tryStart(n)){let r=this.createEventFromMouse(n,!0);this.emitter.trigger("pointerdown",r),this.initScrollWatch(r),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=n=>{let r=this.createEventFromMouse(n);this.recordCoords(r),this.emitter.trigger("pointermove",r)},this.handleMouseUp=n=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(n)),this.cleanup()},this.handleTouchStart=n=>{if(this.tryStart(n)){this.isTouchDragging=!0;let r=this.createEventFromTouch(n,!0);this.emitter.trigger("pointerdown",r),this.initScrollWatch(r);let i=n.target;this.shouldIgnoreMove||i.addEventListener("touchmove",this.handleTouchMove),i.addEventListener("touchend",this.handleTouchEnd),i.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=n=>{let r=this.createEventFromTouch(n);this.recordCoords(r),this.emitter.trigger("pointermove",r)},this.handleTouchEnd=n=>{if(this.isDragging){let r=n.target;r.removeEventListener("touchmove",this.handleTouchMove),r.removeEventListener("touchend",this.handleTouchEnd),r.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(n)),this.cleanup(),this.isTouchDragging=!1,Bf()}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=n=>{if(!this.shouldIgnoreMove){let r=window.scrollX-this.prevScrollX+this.prevPageX,i=window.scrollY-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:n,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:r,pageY:i,deltaX:r-this.origPageX,deltaY:i-this.origPageY})}},this.containerEl=e,this.emitter=new Mt,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),Lf()}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),Uf()}tryStart(e){let n=this.querySubjectEl(e),r=e.target;return n&&(!this.handleSelector||H(r,this.handleSelector))?(this.subjectEl=n,this.isDragging=!0,this.wasTouchScroll=!1,!0):!1}cleanup(){hn=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?H(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return fn||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(hn=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.scrollX,this.prevScrollY=window.scrollY)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,n){let r=0,i=0;return n?(this.origPageX=e.pageX,this.origPageY=e.pageY):(r=e.pageX-this.origPageX,i=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:r,deltaY:i}}createEventFromTouch(e,n){let r=e.touches,i,s,l=0,o=0;return r&&r.length?(i=r[0].pageX,s=r[0].pageY):(i=e.pageX,s=e.pageY),n?(this.origPageX=i,this.origPageY=s):(l=i-this.origPageX,o=s-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:i,pageY:s,deltaX:l,deltaY:o}}}function Hf(t){return t.button===0&&!t.ctrlKey}function Bf(){fn+=1,setTimeout(()=>{fn-=1},Un.touchMouseIgnoreWait)}function Lf(){Ct+=1,Ct===1&&window.addEventListener("touchmove",qs,{passive:!1})}function Uf(){Ct-=1,Ct||window.removeEventListener("touchmove",qs,{passive:!1})}function qs(t){hn&&t.preventDefault()}class jf{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,n,r){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=n-window.scrollX,this.origScreenY=r-window.scrollY,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,n){this.deltaX=e-window.scrollX-this.origScreenX,this.deltaY=n-window.scrollY-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,n){let r=()=>{this.cleanup(),n()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)}doRevertAnimation(e,n){let r=this.mirrorEl,i=this.sourceEl.getBoundingClientRect();r.style.transition="top "+n+"ms,left "+n+"ms",Pe(r,{left:i.left,top:i.top}),Ql(r,()=>{r.style.transition="",e()})}cleanup(){this.mirrorEl&&(vn(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&Pe(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,n=this.mirrorEl;return n||(n=this.mirrorEl=this.sourceEl.cloneNode(!0),n.style.userSelect="none",n.style.webkitUserSelect="none",n.style.pointerEvents="none",n.classList.add("fc-event-dragging"),Pe(n,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(n)),n}}class Qs extends Bn{constructor(e,n){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=n,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class Ys extends Qs{constructor(e,n){super(new bc(e),n)}getEventTarget(){return this.scrollController.el}computeClientRect(){return mc(this.scrollController.el)}}class zf extends Qs{constructor(e){super(new yc,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}const Jr=typeof performance=="function"?performance.now:Date.now;class Ff{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.scrollX,this.pointerScreenY+window.scrollY);if(e){let n=Jr();this.handleSide(e,(n-this.msSinceRequest)/1e3),this.requestAnimation(n)}else this.isAnimating=!1}}}start(e,n,r){this.isEnabled&&(this.scrollCaches=this.buildCaches(r),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,n))}handleMove(e,n){if(this.isEnabled){let r=e-window.scrollX,i=n-window.scrollY,s=this.pointerScreenY===null?0:i-this.pointerScreenY,l=this.pointerScreenX===null?0:r-this.pointerScreenX;s<0?this.everMovedUp=!0:s>0&&(this.everMovedDown=!0),l<0?this.everMovedLeft=!0:l>0&&(this.everMovedRight=!0),this.pointerScreenX=r,this.pointerScreenY=i,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(Jr()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let e of this.scrollCaches)e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,n){let{scrollCache:r}=e,{edgeThreshold:i}=this,s=i-e.distance,l=s*s/(i*i)*this.maxVelocity*n,o=1;switch(e.name){case"left":o=-1;case"right":r.setScrollLeft(r.getScrollLeft()+l*o);break;case"top":o=-1;case"bottom":r.setScrollTop(r.getScrollTop()+l*o);break}}computeBestEdge(e,n){let{edgeThreshold:r}=this,i=null,s=this.scrollCaches||[];for(let l of s){let o=l.clientRect,a=e-o.left,d=o.right-e,c=n-o.top,h=o.bottom-n;a>=0&&d>=0&&c>=0&&h>=0&&(c<=r&&this.everMovedUp&&l.canScrollUp()&&(!i||i.distance>c)&&(i={scrollCache:l,name:"top",distance:c}),h<=r&&this.everMovedDown&&l.canScrollDown()&&(!i||i.distance>h)&&(i={scrollCache:l,name:"bottom",distance:h}),a<=r&&this.everMovedLeft&&l.canScrollLeft()&&(!i||i.distance>a)&&(i={scrollCache:l,name:"left",distance:a}),d<=r&&this.everMovedRight&&l.canScrollRight()&&(!i||i.distance>d)&&(i={scrollCache:l,name:"right",distance:d}))}return i}buildCaches(e){return this.queryScrollEls(e).map(n=>n===window?new zf(!1):new Ys(n,!1))}queryScrollEls(e){let n=[];for(let r of this.scrollQuery)typeof r=="object"?n.push(r):n.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(r)));return n}}class Ge extends Ac{constructor(e,n){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=i=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,Yl(document.body),Zl(document.body),i.isTouch||i.origEvent.preventDefault(),this.emitter.trigger("pointerdown",i),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(i.subjectEl,i.pageX,i.pageY),this.startDelay(i),this.minDistance||this.handleDistanceSurpassed(i)))},this.onPointerMove=i=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",i),!this.isDistanceSurpassed){let s=this.minDistance,l,{deltaX:o,deltaY:a}=i;l=o*o+a*a,l>=s*s&&this.handleDistanceSurpassed(i)}this.isDragging&&(i.origEvent.type!=="scroll"&&(this.mirror.handleMove(i.pageX,i.pageY),this.autoScroller.handleMove(i.pageX,i.pageY)),this.emitter.trigger("dragmove",i))}},this.onPointerUp=i=>{this.isInteracting&&(this.isInteracting=!1,$l(document.body),Xl(document.body),this.emitter.trigger("pointerup",i),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(i)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let r=this.pointer=new Gs(e);r.emitter.on("pointerdown",this.onPointerDown),r.emitter.on("pointermove",this.onPointerMove),r.emitter.on("pointerup",this.onPointerUp),n&&(r.selector=n),this.mirror=new jf,this.autoScroller=new Ff}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){typeof this.delay=="number"?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),this.touchScrollAllowed===!1&&this.pointer.cancelTouchScroll())}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class Wf{constructor(e){this.el=e,this.origRect=Hn(e),this.scrollCaches=ls(e).map(n=>new Ys(n,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let n of this.scrollCaches)e+=n.origScrollLeft-n.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let n of this.scrollCaches)e+=n.origScrollTop-n.getScrollTop();return e}isWithinClipping(e,n){let r={left:e,top:n};for(let i of this.scrollCaches)if(!Vf(i.getEventTarget())&&!rc(r,i.clientRect))return!1;return!0}}function Vf(t){let e=t.tagName;return e==="HTML"||e==="BODY"}class kt{constructor(e,n){this.useSubjectCenter=!1,this.requireInitial=!0,this.disablePointCheck=!1,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=r=>{let{dragging:i}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(r),this.initialHit||!this.requireInitial?(i.setIgnoreMove(!1),this.emitter.trigger("pointerdown",r)):i.setIgnoreMove(!0)},this.handleDragStart=r=>{this.emitter.trigger("dragstart",r),this.handleMove(r,!0)},this.handleDragMove=r=>{this.emitter.trigger("dragmove",r),this.handleMove(r)},this.handlePointerUp=r=>{this.releaseHits(),this.emitter.trigger("pointerup",r)},this.handleDragEnd=r=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,r),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",r)},this.droppableStore=n,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new Mt}processFirstCoord(e){let n={left:e.pageX,top:e.pageY},r=n,i=e.subjectEl,s;i instanceof HTMLElement&&(s=Hn(i),r=ic(r,s));let l=this.initialHit=this.queryHitForOffset(r.left,r.top);if(l){if(this.useSubjectCenter&&s){let o=rs(s,l.rect);o&&(r=sc(o))}this.coordAdjust=lc(r,n)}else this.coordAdjust={left:0,top:0}}handleMove(e,n){let r=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(n||!It(this.movingHit,r))&&(this.movingHit=r,this.emitter.trigger("hitupdate",r,!1,e))}prepareHits(){this.offsetTrackers=K(this.droppableStore,e=>(e.component.prepareHits(),new Wf(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let n in e)e[n].destroy();this.offsetTrackers={}}queryHitForOffset(e,n){let{droppableStore:r,offsetTrackers:i}=this,s=null;for(let l in r){let o=r[l].component,a=i[l];if(a&&a.isWithinClipping(e,n)){let d=a.computeLeft(),c=a.computeTop(),h=e-d,f=n-c,{origRect:u}=a,m=u.right-u.left,v=u.bottom-u.top;if(h>=0&&h=0&&fs.layer)&&(b.componentId=l,b.context=o.context,b.rect.left+=d,b.rect.right+=d,b.rect.top+=c,b.rect.bottom+=c,s=b)}}}return s}}function It(t,e){return!t&&!e?!0:!!t!=!!e?!1:Qa(t.dateSpan,e.dateSpan)}function $s(t,e){let n={};for(let r of e.pluginHooks.datePointTransforms)Object.assign(n,r(t,e));return Object.assign(n,Gf(t,e.dateEnv)),n}function Gf(t,e){return{date:e.toDate(t.range.start),dateStr:e.formatIso(t.range.start,{omitTime:t.allDay}),allDay:t.allDay}}class qf extends Ie{constructor(e){super(e),this.handlePointerDown=r=>{let{dragging:i}=this,s=r.origEvent.target;i.setIgnoreMove(!this.component.isValidDateDownEl(s))},this.handleDragEnd=r=>{let{component:i}=this,{pointer:s}=this.dragging;if(!s.wasTouchScroll){let{initialHit:l,finalHit:o}=this.hitDragging;if(l&&o&&It(l,o)){let{context:a}=i,d=Object.assign(Object.assign({},$s(l.dateSpan,a)),{dayEl:l.dayEl,jsEvent:r.origEvent,view:a.viewApi||a.calendarApi.view});a.emitter.trigger("dateClick",d)}}},this.dragging=new Ge(e.el),this.dragging.autoScroller.isEnabled=!1;let n=this.hitDragging=new kt(this.dragging,On(e));n.emitter.on("pointerdown",this.handlePointerDown),n.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}}class Qf extends Ie{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=l=>{let{component:o,dragging:a}=this,{options:d}=o.context,c=d.selectable&&o.isValidDateDownEl(l.origEvent.target);a.setIgnoreMove(!c),a.delay=l.isTouch?Yf(o):null},this.handleDragStart=l=>{this.component.context.calendarApi.unselect(l)},this.handleHitUpdate=(l,o)=>{let{context:a}=this.component,d=null,c=!1;if(l){let h=this.hitDragging.initialHit;l.componentId===h.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(h,l)||(d=$f(h,l,a.pluginHooks.dateSelectionTransformers)),(!d||!Tc(d,l.dateProfile,a))&&(c=!0,d=null)}d?a.dispatch({type:"SELECT_DATES",selection:d}):o||a.dispatch({type:"UNSELECT_DATES"}),c?bn():yn(),o||(this.dragSelection=d)},this.handlePointerUp=l=>{this.dragSelection&&(Qi(this.dragSelection,l,this.component.context),this.dragSelection=null)};let{component:n}=e,{options:r}=n.context,i=this.dragging=new Ge(e.el);i.touchScrollAllowed=!1,i.minDistance=r.selectMinDistance||0,i.autoScroller.isEnabled=r.dragScroll;let s=this.hitDragging=new kt(this.dragging,On(e));s.emitter.on("pointerdown",this.handlePointerDown),s.emitter.on("dragstart",this.handleDragStart),s.emitter.on("hitupdate",this.handleHitUpdate),s.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}}function Yf(t){let{options:e}=t.context,n=e.selectLongPressDelay;return n==null&&(n=e.longPressDelay),n}function $f(t,e,n){let r=t.dateSpan,i=e.dateSpan,s=[r.range.start,r.range.end,i.range.start,i.range.end];s.sort(no);let l={};for(let o of n){let a=o(t,e);if(a===!1)return null;a&&Object.assign(l,a)}return l.range={start:s[0],end:s[3]},l.allDay=r.allDay,l}class qe extends Ie{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=l=>{let o=l.origEvent.target,{component:a,dragging:d}=this,{mirror:c}=d,{options:h}=a.context,f=a.context;this.subjectEl=l.subjectEl;let u=this.subjectSeg=xe(l.subjectEl),v=(this.eventRange=u.eventRange).instance.instanceId;this.relevantEvents=Mn(f.getCurrentData().eventStore,v),d.minDistance=l.isTouch?0:h.eventDragMinDistance,d.delay=l.isTouch&&v!==a.props.eventSelection?Xf(a):null,h.fixedMirrorParent?c.parentNode=h.fixedMirrorParent:c.parentNode=H(o,".fc"),c.revertDuration=h.dragRevertDuration;let b=a.isValidSegDownEl(o)&&!H(o,".fc-event-resizer");d.setIgnoreMove(!b),this.isDragging=b&&l.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=l=>{let o=this.component.context,a=this.eventRange,d=a.instance.instanceId;l.isTouch?d!==this.component.props.eventSelection&&o.dispatch({type:"SELECT_EVENT",eventInstanceId:d}):o.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(o.calendarApi.unselect(l),o.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new N(o,a.def,a.instance),jsEvent:l.origEvent,view:o.viewApi}))},this.handleHitUpdate=(l,o)=>{if(!this.isDragging)return;let a=this.relevantEvents,d=this.hitDragging.initialHit,c=this.component.context,h=null,f=null,u=null,m=!1,v={affectedEvents:a,mutatedEvents:F(),isEvent:!0};if(l){h=l.context;let b=h.options;c===h||b.editable&&b.droppable?(f=Zf(d,l,this.eventRange.instance.range.start,h.getCurrentData().pluginHooks.eventDragMutationMassagers),f&&(u=Nn(a,h.getCurrentData().eventUiBases,f,h),v.mutatedEvents=u,gs(v,l.dateProfile,h)||(m=!0,f=null,u=null,v.mutatedEvents=F()))):h=null}this.displayDrag(h,v),m?bn():yn(),o||(c===h&&It(d,l)&&(f=null),this.dragging.setMirrorNeedsRevert(!f),this.dragging.setMirrorIsVisible(!l||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=h,this.validMutation=f,this.mutatedRelevantEvents=u)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=l=>{if(this.isDragging){let o=this.component.context,a=o.viewApi,{receivingContext:d,validMutation:c}=this,h=this.eventRange.def,f=this.eventRange.instance,u=new N(o,h,f),m=this.relevantEvents,v=this.mutatedRelevantEvents,{finalHit:b}=this.hitDragging;if(this.clearDrag(),o.emitter.trigger("eventDragStop",{el:this.subjectEl,event:u,jsEvent:l.origEvent,view:a}),c){if(d===o){let y=new N(o,v.defs[h.defId],f?v.instances[f.instanceId]:null);o.dispatch({type:"MERGE_EVENTS",eventStore:v});let E={oldEvent:u,event:y,relatedEvents:ge(v,o,f),revert(){o.dispatch({type:"MERGE_EVENTS",eventStore:m})}},D={};for(let C of o.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(D,C(c,o));o.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},E),D),{el:l.subjectEl,delta:c.datesDelta,jsEvent:l.origEvent,view:a})),o.emitter.trigger("eventChange",E)}else if(d){let y={event:u,relatedEvents:ge(m,o,f),revert(){o.dispatch({type:"MERGE_EVENTS",eventStore:m})}};o.emitter.trigger("eventLeave",Object.assign(Object.assign({},y),{draggedEl:l.subjectEl,view:a})),o.dispatch({type:"REMOVE_EVENTS",eventStore:m}),o.emitter.trigger("eventRemove",y);let E=v.defs[h.defId],D=v.instances[f.instanceId],C=new N(d,E,D);d.dispatch({type:"MERGE_EVENTS",eventStore:v});let P={event:C,relatedEvents:ge(v,d,D),revert(){d.dispatch({type:"REMOVE_EVENTS",eventStore:v})}};d.emitter.trigger("eventAdd",P),l.isTouch&&d.dispatch({type:"SELECT_EVENT",eventInstanceId:f.instanceId}),d.emitter.trigger("drop",Object.assign(Object.assign({},$s(b.dateSpan,d)),{draggedEl:l.subjectEl,jsEvent:l.origEvent,view:b.context.viewApi})),d.emitter.trigger("eventReceive",Object.assign(Object.assign({},P),{draggedEl:l.subjectEl,view:b.context.viewApi}))}}else o.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:n}=this,{options:r}=n.context,i=this.dragging=new Ge(e.el);i.pointer.selector=qe.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=r.dragScroll;let s=this.hitDragging=new kt(this.dragging,on);s.useSubjectCenter=e.useEventCenter,s.emitter.on("pointerdown",this.handlePointerDown),s.emitter.on("dragstart",this.handleDragStart),s.emitter.on("hitupdate",this.handleHitUpdate),s.emitter.on("pointerup",this.handlePointerUp),s.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,n){let r=this.component.context,i=this.receivingContext;i&&i!==e&&(i===r?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:n.affectedEvents,mutatedEvents:F(),isEvent:!0}}):i.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:n})}clearDrag(){let e=this.component.context,{receivingContext:n}=this;n&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e!==n&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}qe.SELECTOR=".fc-event-draggable, .fc-event-resizable";function Zf(t,e,n,r){let i=t.dateSpan,s=e.dateSpan,l=i.range.start,o=s.range.start,a={};i.allDay!==s.allDay&&(a.allDay=s.allDay,a.hasEnd=e.context.options.allDayMaintainDuration,s.allDay?l=M(n):l=n);let d=Ce(l,o,t.context.dateEnv,t.componentId===e.componentId?t.largeUnit:null);d.milliseconds&&(a.allDay=!1);let c={datesDelta:d,standardProps:a};for(let h of r)h(c,t,e);return c}function Xf(t){let{options:e}=t.context,n=e.eventLongPressDelay;return n==null&&(n=e.longPressDelay),n}class Jf extends Ie{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=s=>{let{component:l}=this,o=this.querySegEl(s),a=xe(o),d=this.eventRange=a.eventRange;this.dragging.minDistance=l.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(s.origEvent.target)||s.isTouch&&this.component.props.eventSelection!==d.instance.instanceId)},this.handleDragStart=s=>{let{context:l}=this.component,o=this.eventRange;this.relevantEvents=Mn(l.getCurrentData().eventStore,this.eventRange.instance.instanceId);let a=this.querySegEl(s);this.draggingSegEl=a,this.draggingSeg=xe(a),l.calendarApi.unselect(),l.emitter.trigger("eventResizeStart",{el:a,event:new N(l,o.def,o.instance),jsEvent:s.origEvent,view:l.viewApi})},this.handleHitUpdate=(s,l,o)=>{let{context:a}=this.component,d=this.relevantEvents,c=this.hitDragging.initialHit,h=this.eventRange.instance,f=null,u=null,m=!1,v={affectedEvents:d,mutatedEvents:F(),isEvent:!0};s&&(s.componentId===c.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(c,s)||(f=Kf(c,s,o.subjectEl.classList.contains("fc-event-resizer-start"),h.range))),f&&(u=Nn(d,a.getCurrentData().eventUiBases,f,a),v.mutatedEvents=u,gs(v,s.dateProfile,a)||(m=!0,f=null,u=null,v.mutatedEvents=null)),u?a.dispatch({type:"SET_EVENT_RESIZE",state:v}):a.dispatch({type:"UNSET_EVENT_RESIZE"}),m?bn():yn(),l||(f&&It(c,s)&&(f=null),this.validMutation=f,this.mutatedRelevantEvents=u)},this.handleDragEnd=s=>{let{context:l}=this.component,o=this.eventRange.def,a=this.eventRange.instance,d=new N(l,o,a),c=this.relevantEvents,h=this.mutatedRelevantEvents;if(l.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:d,jsEvent:s.origEvent,view:l.viewApi}),this.validMutation){let f=new N(l,h.defs[o.defId],a?h.instances[a.instanceId]:null);l.dispatch({type:"MERGE_EVENTS",eventStore:h});let u={oldEvent:d,event:f,relatedEvents:ge(h,l,a),revert(){l.dispatch({type:"MERGE_EVENTS",eventStore:c})}};l.emitter.trigger("eventResize",Object.assign(Object.assign({},u),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||w(0),endDelta:this.validMutation.endDelta||w(0),jsEvent:s.origEvent,view:l.viewApi})),l.emitter.trigger("eventChange",u)}else l.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:n}=e,r=this.dragging=new Ge(e.el);r.pointer.selector=".fc-event-resizer",r.touchScrollAllowed=!1,r.autoScroller.isEnabled=n.context.options.dragScroll;let i=this.hitDragging=new kt(this.dragging,On(e));i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return H(e.subjectEl,".fc-event")}}function Kf(t,e,n,r){let i=t.context.dateEnv,s=t.dateSpan.range.start,l=e.dateSpan.range.start,o=Ce(s,l,i,t.largeUnit);if(n){if(i.add(r.start,o)r.start)return{endDelta:o};return null}class eh{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=r=>{r.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=r=>{let i=this.context.options.unselectCancel,s=Ci(r.origEvent);this.matchesCancel=!!H(s,i),this.matchesEvent=!!H(s,qe.SELECTOR)},this.onDocumentPointerUp=r=>{let{context:i}=this,{documentPointer:s}=this,l=i.getCurrentData();if(!s.wasTouchScroll){if(l.dateSelection&&!this.isRecentPointerDateSelect){let o=i.options.unselectAuto;o&&(!o||!this.matchesCancel)&&i.calendarApi.unselect(r)}l.eventSelection&&!this.matchesEvent&&i.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let n=this.documentPointer=new Gs(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}const th={fixedMirrorParent:p},nh={dateClick:p,eventDragStart:p,eventDragStop:p,eventDrop:p,eventResizeStart:p,eventResizeStop:p,eventResize:p,drop:p,eventReceive:p,eventLeave:p};Un.dataAttrPrefix="";var rh=ne({name:"@fullcalendar/interaction",componentInteractions:[qf,Qf,qe,Jf],calendarInteractions:[eh],elementDraggingImpl:Ge,optionRefiners:th,listenerRefiners:nh});const ih={class:"event-calendar"},sh={key:0,class:"event-calendar__sidebar"},lh={key:0,class:"event-calendar__sidebar-section"},oh={class:"event-calendar__sidebar-section"},ah={class:"event-calendar__main"},ch=ke({__name:"EventCal",setup(t){const e=ti(),n=G(e.calendarRef),r=Le(()=>{var u;return(u=n.value)==null?void 0:u.getApi()}),i=G([]),s=G(!0),l=G(!1),o=()=>{s.value=!s.value},a=()=>{l.value=!l.value},f={plugins:[$u,Pf,rh],headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},initialView:"dayGridMonth",initialEvents:al,contentHeight:600,editable:!0,selectable:!0,selectMirror:!0,dayMaxEvents:!0,weekends:!0,select:u=>{r.value.unselect(),e.initializeNewEvent(u),e.openModal("Create a new event")},eventClick:u=>{confirm(`Are you sure you want to delete the event '${u.event.title}'`)&&u.event.remove()},eventsSet:u=>{i.value=[...u],i.value.sort((m,v)=>m.startStr>v.startStr?1:-1)}};return(u,m)=>(j(),V($t,null,[at(ml),x("div",ih,[x("button",{class:"event-calendar__sidebar-control",onClick:o},Z(s.value?">>":"<<"),1),s.value?(j(),V("div",sh,[x("button",{onClick:a},Z(l.value?"Hide Help":"Show Help"),1),l.value?(j(),V("div",lh,m[0]||(m[0]=[x("h2",null,"Instructions",-1),x("ul",null,[x("li",null,"Select dates and you will be prompted to create a new event"),x("li",null,"Drag, drop, and resize events"),x("li",null,"Click an event to delete it")],-1)]))):De("",!0),x("div",oh,[x("h2",null,"Upcoming ("+Z(i.value.length)+")",1),x("ul",null,[(j(!0),V($t,null,ll(i.value,v=>(j(),V("li",{key:v.id},[x("b",null,Z(v.startStr),1),x("i",null,Z(v.title),1)]))),128))])])])):De("",!0),x("div",ah,[at(tt(yu),{ref_key:"calendar",ref:n,class:"event-calendar__calendar",options:f},{eventContent:ei(v=>[x("b",null,Z(v.timeText),1),x("i",null,Z(v.event.title),1)]),_:1},512)])])],64))}}),dh={class:"calendar-view"},fh=ke({__name:"CalendarView",setup(t){return(e,n)=>(j(),V("div",dh,[at(ch)]))}});export{fh as default}; diff --git a/dist/assets/CalendarView-CUSwUVMV.css b/dist/assets/CalendarView-CUSwUVMV.css new file mode 100644 index 0000000..f19cd16 --- /dev/null +++ b/dist/assets/CalendarView-CUSwUVMV.css @@ -0,0 +1 @@ +.my-modal{margin:auto;min-width:50dvw;width:max-content;max-width:75dvw;max-height:80dvh;height:80dvh;padding:0;border-radius:1rem;border:none;background-color:var(--background-modal);color:var(--primary-text);filter:drop-shadow(0 0 .5rem rgba(0,0,0,.5));overflow:hidden}.my-modal h2{margin:0}.my-modal::backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;-webkit-backdrop-filter:blur(5px) brightness(.5);backdrop-filter:blur(5px) brightness(.5)}.my-modal__inner{padding:var(--space-lg);height:100%;overflow:hidden;display:grid;grid-template-columns:1fr;grid-template-rows:max-content 1fr max-content;gap:var(--space-md)}.my-modal__header{display:flex;justify-content:space-between;padding-bottom:1rem;border-bottom:1px solid var(--divider-dark);font-family:var(--font-title);font-size:12pt}.my-modal__close{padding:.5rem;width:min-content;aspect-ratio:1/1;border:none;border-radius:50%;font-size:.75rem;background:var(--button-dark);cursor:pointer}.my-modal__content{min-height:4rem;height:100%;overflow:hidden;overflow-y:auto}.my-modal__content--disable-scroll{overflow-y:hidden}.my-modal__footer{gap:1rem;padding-top:1rem;border-top:1px solid var(--divider-dark)}.my-modal__footer--buttons{display:flex;justify-content:flex-end}.my-modal__footer--buttons>*{flex-shrink:1;flex-basis:min-content}.my-modal__discard,.my-modal__save{padding:.5rem 1rem;border:none;border-radius:.5rem;font-size:1rem;background:var(--button-dark);color:var(--primary-text);cursor:pointer}.my-modal__discard{background:var(--button-discard)}.my-modal__discard:hover{background:var(--button-discard-hover)}.my-modal__save{background:var(--button-confirm)}.my-modal__save:hover{background:var(--button-confirm-hover)}dialog{animation:fadeOutDown .25s ease-out}dialog[open]{animation:fadeInUp .25s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translate3d(0,20dvh,0)}to{opacity:1;transform:translateZ(0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;transform:translate3d(0,20dvh,0)}}html[data-v-92bc5709]{--background-dark: #0f1217;--background-modal: #0f1217;--divider-dark: #444;--button-dark: #444;--button-confirm: #56851d;--button-confirm-hover: #7cbf29;--button-discard: #444;--button-discard-hover: #444;--primary-text: rgb(221, 221, 221);--link: #7cbf29;--link-hover: #7cbf29;--link-hover-background: rgba(124, 191, 41, .2392156863);--link-active: #29bfb7;--ryan-fam-red: #bf2931;--ryan-fam-green: #7cbf29;--ryan-fam-blue: #29bfb7;--ryan-fam-purple: #6c29bf;--font-title: Arial;--space-sm: 4px;--space-md: 8px;--space-lg: 16px;--space-xl: 32px}.event-modal[data-v-92bc5709]{width:100%}.event-modal__container[data-v-92bc5709]{width:100%;height:100%;padding:4px 8px}html{--background-dark: #0f1217;--background-modal: #0f1217;--divider-dark: #444;--button-dark: #444;--button-confirm: #56851d;--button-confirm-hover: #7cbf29;--button-discard: #444;--button-discard-hover: #444;--primary-text: rgb(221, 221, 221);--link: #7cbf29;--link-hover: #7cbf29;--link-hover-background: rgba(124, 191, 41, .2392156863);--link-active: #29bfb7;--ryan-fam-red: #bf2931;--ryan-fam-green: #7cbf29;--ryan-fam-blue: #29bfb7;--ryan-fam-purple: #6c29bf;--font-title: Arial;--space-sm: 4px;--space-md: 8px;--space-lg: 16px;--space-xl: 32px}h2{margin:0;font-size:1.5rem}ul{margin:0;padding:0 0 0 1.5em}li{margin:1.5em 0;padding:0}b{margin-right:3px}.event-calendar{display:flex;min-height:100%;font-family:Arial,Helvetica Neue,Helvetica,sans-serif;font-size:14px;flex-grow:3}.event-calendar__sidebar-control{width:2rem;background:transparent;color:var(--ryan-fam-green);border:1px solid var(--ryan-fam-green)}.event-calendar__sidebar{width:300px;line-height:1.5;background:var(--background-dark);border-right:1px solid #d3e2e8}.event-calendar__sidebar-section{padding:1rem}.event-calendar__main{flex-grow:1;padding:2rem}.fc{max-width:1100px;margin:0 auto}.fc-view-harness{width:600px}.calendar-view{display:flex;align-items:center} diff --git a/dist/assets/crest-VUu5A_g-.png b/dist/assets/crest-VUu5A_g-.png new file mode 100644 index 0000000..423a3d0 Binary files /dev/null and b/dist/assets/crest-VUu5A_g-.png differ diff --git a/dist/assets/index-CNJ1VNz0.css b/dist/assets/index-CNJ1VNz0.css new file mode 100644 index 0000000..d97c916 --- /dev/null +++ b/dist/assets/index-CNJ1VNz0.css @@ -0,0 +1 @@ +html{--background-dark: #0f1217;--background-modal: #0f1217;--divider-dark: #444;--button-dark: #444;--button-confirm: #56851d;--button-confirm-hover: #7cbf29;--button-discard: #444;--button-discard-hover: #444;--primary-text: rgb(221, 221, 221);--link: #7cbf29;--link-hover: #7cbf29;--link-hover-background: rgba(124, 191, 41, .2392156863);--link-active: #29bfb7;--ryan-fam-red: #bf2931;--ryan-fam-green: #7cbf29;--ryan-fam-blue: #29bfb7;--ryan-fam-purple: #6c29bf;--font-title: Arial;--space-sm: 4px;--space-md: 8px;--space-lg: 16px;--space-xl: 32px}span.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;-webkit-clip-path:inset(50%);clip-path:inset(50%);border:0}:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;color:var(--primary-text);background:var(--background-dark);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}.link{text-decoration:none;color:var(--link);transition:.4s;padding:3px}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr;grid-template-rows:min-content min-content;padding:1rem 2rem;min-height:100vh}}html[data-v-d551d4d9]{--background-dark: #0f1217;--background-modal: #0f1217;--divider-dark: #444;--button-dark: #444;--button-confirm: #56851d;--button-confirm-hover: #7cbf29;--button-discard: #444;--button-discard-hover: #444;--primary-text: rgb(221, 221, 221);--link: #7cbf29;--link-hover: #7cbf29;--link-hover-background: rgba(124, 191, 41, .2392156863);--link-active: #29bfb7;--ryan-fam-red: #bf2931;--ryan-fam-green: #7cbf29;--ryan-fam-blue: #29bfb7;--ryan-fam-purple: #6c29bf;--font-title: Arial;--space-sm: 4px;--space-md: 8px;--space-lg: 16px;--space-xl: 32px}.title[data-v-d551d4d9]{color:var(--ryan-fam-green);font-weight:500;font-size:2.6rem;position:relative;top:-10px}h3[data-v-d551d4d9]{font-size:1.2rem}.greetings h1[data-v-d551d4d9],.greetings h3[data-v-d551d4d9]{text-align:center}html[data-v-5a86e6a1]{--background-dark: #0f1217;--background-modal: #0f1217;--divider-dark: #444;--button-dark: #444;--button-confirm: #56851d;--button-confirm-hover: #7cbf29;--button-discard: #444;--button-discard-hover: #444;--primary-text: rgb(221, 221, 221);--link: #7cbf29;--link-hover: #7cbf29;--link-hover-background: rgba(124, 191, 41, .2392156863);--link-active: #29bfb7;--ryan-fam-red: #bf2931;--ryan-fam-green: #7cbf29;--ryan-fam-blue: #29bfb7;--ryan-fam-purple: #6c29bf;--font-title: Arial;--space-sm: 4px;--space-md: 8px;--space-lg: 16px;--space-xl: 32px}header[data-v-5a86e6a1]{line-height:1.5;max-height:100vh}.logo[data-v-5a86e6a1]{display:block;margin:0 auto 2rem}nav[data-v-5a86e6a1]{width:100%;font-size:1rem;text-align:center;margin-top:2rem}nav a[data-v-5a86e6a1]{text-decoration:none;color:var(--link);transition:.4s;padding:3px;display:inline-block;padding:0 1rem;border-left:1px solid var(--color-border)}nav a.router-link-exact-active[data-v-5a86e6a1]{color:var(--link-active);text-decoration:underline}nav a.router-link-exact-active[data-v-5a86e6a1]:hover{background-color:transparent}nav a[data-v-5a86e6a1]:first-of-type{border:0}nav a[data-v-5a86e6a1]:hover{border-radius:4px;color:var(--link-hover);background-color:var(--link-hover-background)} diff --git a/dist/assets/index-DBzMH3cf.js b/dist/assets/index-DBzMH3cf.js new file mode 100644 index 0000000..2050274 --- /dev/null +++ b/dist/assets/index-DBzMH3cf.js @@ -0,0 +1,49 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CalendarView-BPgOkefQ.js","assets/CalendarView-CUSwUVMV.css"])))=>i.map(i=>d[i]); +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function bs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const se={},Pt=[],Ue=()=>{},Ai=()=>!1,On=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xs=e=>e.startsWith("onUpdate:"),ae=Object.assign,ws=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ri=Object.prototype.hasOwnProperty,J=(e,t)=>Ri.call(e,t),D=Array.isArray,Ot=e=>Tn(e)==="[object Map]",qr=e=>Tn(e)==="[object Set]",U=e=>typeof e=="function",ce=e=>typeof e=="string",Qe=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Gr=e=>(oe(e)||U(e))&&U(e.then)&&U(e.catch),Zr=Object.prototype.toString,Tn=e=>Zr.call(e),Ci=e=>Tn(e).slice(8,-1),zr=e=>Tn(e)==="[object Object]",Ss=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Vt=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pi=/-(\w)/g,Ie=Mn(e=>e.replace(Pi,(t,n)=>n?n.toUpperCase():"")),Oi=/\B([A-Z])/g,xt=Mn(e=>e.replace(Oi,"-$1").toLowerCase()),In=Mn(e=>e.charAt(0).toUpperCase()+e.slice(1)),kn=Mn(e=>e?`on${In(e)}`:""),lt=(e,t)=>!Object.is(e,t),Un=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ti=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Zs;const Ln=()=>Zs||(Zs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Es(e){if(D(e)){const t={};for(let n=0;n{if(n){const s=n.split(Ii);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function As(e){let t="";if(ce(e))t=e;else if(D(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Xr=e=>ce(e)?e:e==null?"":D(e)||oe(e)&&(e.toString===Zr||!U(e.toString))?Yr(e)?Xr(e.value):JSON.stringify(e,eo,2):String(e),eo=(e,t)=>Yr(t)?eo(e,t.value):Ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Kn(s,o)+" =>"]=r,n),{})}:qr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Kn(n))}:Qe(t)?Kn(t):oe(t)&&!D(t)&&!zr(t)?String(t):t,Kn=(e,t="")=>{var n;return Qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let ve;class to{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(kt){let t=kt;for(kt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Bt;){let t=Bt;for(Bt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function lo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function co(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ps(s),$i(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function rs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(uo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function uo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jt))return;e.globalVersion=Jt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!rs(e)){e.flags&=-3;return}const n=ne,s=Fe;ne=e,Fe=!0;try{lo(e);const r=e.fn(e._value);(t.version===0||lt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ne=n,Fe=s,co(e),e.flags&=-3}}function Ps(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Ps(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function $i(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Fe=!0;const fo=[];function at(){fo.push(Fe),Fe=!1}function ht(){const e=fo.pop();Fe=e===void 0?!0:e}function zs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ne;ne=void 0;try{t()}finally{ne=n}}}let Jt=0;class Di{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Os{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ne||!Fe||ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ne)n=this.activeLink=new Di(ne,this),ne.deps?(n.prevDep=ne.depsTail,ne.depsTail.nextDep=n,ne.depsTail=n):ne.deps=ne.depsTail=n,ao(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ne.depsTail,n.nextDep=void 0,ne.depsTail.nextDep=n,ne.depsTail=n,ne.deps===n&&(ne.deps=s)}return n}trigger(t){this.version++,Jt++,this.notify(t)}notify(t){Rs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Cs()}}}function ao(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ao(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const wn=new WeakMap,yt=Symbol(""),os=Symbol(""),Qt=Symbol("");function pe(e,t,n){if(Fe&&ne){let s=wn.get(e);s||wn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Os),r.map=s,r.key=n),r.track()}}function Je(e,t,n,s,r,o){const i=wn.get(e);if(!i){Jt++;return}const l=c=>{c&&c.trigger()};if(Rs(),t==="clear")i.forEach(l);else{const c=D(e),a=c&&Ss(n);if(c&&n==="length"){const f=Number(s);i.forEach((d,p)=>{(p==="length"||p===Qt||!Qe(p)&&p>=f)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(Qt)),t){case"add":c?a&&l(i.get("length")):(l(i.get(yt)),Ot(e)&&l(i.get(os)));break;case"delete":c||(l(i.get(yt)),Ot(e)&&l(i.get(os)));break;case"set":Ot(e)&&l(i.get(yt));break}}Cs()}function Vi(e,t){const n=wn.get(e);return n&&n.get(t)}function Et(e){const t=G(e);return t===e?t:(pe(t,"iterate",Qt),Me(e)?t:t.map(ge))}function Fn(e){return pe(e=G(e),"iterate",Qt),e}const Bi={__proto__:null,[Symbol.iterator](){return qn(this,Symbol.iterator,ge)},concat(...e){return Et(this).concat(...e.map(t=>D(t)?Et(t):t))},entries(){return qn(this,"entries",e=>(e[1]=ge(e[1]),e))},every(e,t){return Ge(this,"every",e,t,void 0,arguments)},filter(e,t){return Ge(this,"filter",e,t,n=>n.map(ge),arguments)},find(e,t){return Ge(this,"find",e,t,ge,arguments)},findIndex(e,t){return Ge(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ge(this,"findLast",e,t,ge,arguments)},findLastIndex(e,t){return Ge(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ge(this,"forEach",e,t,void 0,arguments)},includes(...e){return Gn(this,"includes",e)},indexOf(...e){return Gn(this,"indexOf",e)},join(e){return Et(this).join(e)},lastIndexOf(...e){return Gn(this,"lastIndexOf",e)},map(e,t){return Ge(this,"map",e,t,void 0,arguments)},pop(){return Nt(this,"pop")},push(...e){return Nt(this,"push",e)},reduce(e,...t){return Js(this,"reduce",e,t)},reduceRight(e,...t){return Js(this,"reduceRight",e,t)},shift(){return Nt(this,"shift")},some(e,t){return Ge(this,"some",e,t,void 0,arguments)},splice(...e){return Nt(this,"splice",e)},toReversed(){return Et(this).toReversed()},toSorted(e){return Et(this).toSorted(e)},toSpliced(...e){return Et(this).toSpliced(...e)},unshift(...e){return Nt(this,"unshift",e)},values(){return qn(this,"values",ge)}};function qn(e,t,n){const s=Fn(e),r=s[t]();return s!==e&&!Me(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const ki=Array.prototype;function Ge(e,t,n,s,r,o){const i=Fn(e),l=i!==e&&!Me(e),c=i[t];if(c!==ki[t]){const d=c.apply(e,o);return l?ge(d):d}let a=n;i!==e&&(l?a=function(d,p){return n.call(this,ge(d),p,e)}:n.length>2&&(a=function(d,p){return n.call(this,d,p,e)}));const f=c.call(i,a,s);return l&&r?r(f):f}function Js(e,t,n,s){const r=Fn(e);let o=n;return r!==e&&(Me(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,ge(l),c,e)}),r[t](o,...s)}function Gn(e,t,n){const s=G(e);pe(s,"iterate",Qt);const r=s[t](...n);return(r===-1||r===!1)&&Is(n[0])?(n[0]=G(n[0]),s[t](...n)):r}function Nt(e,t,n=[]){at(),Rs();const s=G(e)[t].apply(e,n);return Cs(),ht(),s}const Ui=bs("__proto__,__v_isRef,__isVue"),ho=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe));function Ki(e){Qe(e)||(e=String(e));const t=G(this);return pe(t,"has",e),t.hasOwnProperty(e)}class po{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?el:yo:o?_o:mo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=D(t);if(!r){let c;if(i&&(c=Bi[n]))return c;if(n==="hasOwnProperty")return Ki}const l=Reflect.get(t,n,le(t)?t:s);return(Qe(n)?ho.has(n):Ui(n))||(r||pe(t,"get",n),o)?l:le(l)?i&&Ss(n)?l:l.value:oe(l)?r?bo(l):on(l):l}}class go extends po{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=bt(o);if(!Me(s)&&!bt(s)&&(o=G(o),s=G(s)),!D(t)&&le(o)&&!le(s))return c?!1:(o.value=s,!0)}const i=D(t)&&Ss(n)?Number(n)e,an=e=>Reflect.getPrototypeOf(e);function zi(e,t,n){return function(...s){const r=this.__v_raw,o=G(r),i=Ot(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),f=n?is:t?ls:ge;return!t&&pe(o,"iterate",c?os:yt),{next(){const{value:d,done:p}=a.next();return p?{value:d,done:p}:{value:l?[f(d[0]),f(d[1])]:f(d),done:p}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ji(e,t){const n={get(r){const o=this.__v_raw,i=G(o),l=G(r);e||(lt(r,l)&&pe(i,"get",r),pe(i,"get",l));const{has:c}=an(i),a=t?is:e?ls:ge;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&pe(G(r),"iterate",yt),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=G(o),l=G(r);return e||(lt(r,l)&&pe(i,"has",r),pe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=G(l),a=t?is:e?ls:ge;return!e&&pe(c,"iterate",yt),l.forEach((f,d)=>r.call(o,a(f),a(d),i))}};return ae(n,e?{add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear")}:{add(r){!t&&!Me(r)&&!bt(r)&&(r=G(r));const o=G(this);return an(o).has.call(o,r)||(o.add(r),Je(o,"add",r,r)),this},set(r,o){!t&&!Me(o)&&!bt(o)&&(o=G(o));const i=G(this),{has:l,get:c}=an(i);let a=l.call(i,r);a||(r=G(r),a=l.call(i,r));const f=c.call(i,r);return i.set(r,o),a?lt(o,f)&&Je(i,"set",r,o):Je(i,"add",r,o),this},delete(r){const o=G(this),{has:i,get:l}=an(o);let c=i.call(o,r);c||(r=G(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&Je(o,"delete",r,void 0),a},clear(){const r=G(this),o=r.size!==0,i=r.clear();return o&&Je(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=zi(r,e,t)}),n}function Ts(e,t){const n=Ji(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(J(n,r)&&r in s?n:s,r,o)}const Qi={get:Ts(!1,!1)},Yi={get:Ts(!1,!0)},Xi={get:Ts(!0,!1)};const mo=new WeakMap,_o=new WeakMap,yo=new WeakMap,el=new WeakMap;function tl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nl(e){return e.__v_skip||!Object.isExtensible(e)?0:tl(Ci(e))}function on(e){return bt(e)?e:Ms(e,!1,qi,Qi,mo)}function vo(e){return Ms(e,!1,Zi,Yi,_o)}function bo(e){return Ms(e,!0,Gi,Xi,yo)}function Ms(e,t,n,s,r){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=nl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function ct(e){return bt(e)?ct(e.__v_raw):!!(e&&e.__v_isReactive)}function bt(e){return!!(e&&e.__v_isReadonly)}function Me(e){return!!(e&&e.__v_isShallow)}function Is(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function Ls(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&Jr(e,"__v_skip",!0),e}const ge=e=>oe(e)?on(e):e,ls=e=>oe(e)?bo(e):e;function le(e){return e?e.__v_isRef===!0:!1}function Fs(e){return xo(e,!1)}function sl(e){return xo(e,!0)}function xo(e,t){return le(e)?e:new rl(e,t)}class rl{constructor(t,n){this.dep=new Os,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:G(t),this._value=n?t:ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Me(t)||bt(t);t=s?t:G(t),lt(t,n)&&(this._rawValue=t,this._value=s?t:ge(t),this.dep.trigger())}}function Be(e){return le(e)?e.value:e}const ol={get:(e,t,n)=>t==="__v_raw"?e:Be(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function wo(e){return ct(e)?e:new Proxy(e,ol)}function il(e){const t=D(e)?new Array(e.length):{};for(const n in e)t[n]=cl(e,n);return t}class ll{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Vi(G(this._object),this._key)}}function cl(e,t,n){const s=e[t];return le(s)?s:new ll(e,t,n)}class ul{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Os(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Jt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ne!==this)return io(this,!0),!0}get value(){const t=this.dep.track();return uo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function fl(e,t,n=!1){let s,r;return U(e)?s=e:(s=e.get,r=e.set),new ul(s,r,n)}const dn={},Sn=new WeakMap;let mt;function al(e,t=!1,n=mt){if(n){let s=Sn.get(n);s||Sn.set(n,s=[]),s.push(e)}}function hl(e,t,n=se){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=T=>r?T:Me(T)||r===!1||r===0?it(T,1):it(T);let f,d,p,g,w=!1,S=!1;if(le(e)?(d=()=>e.value,w=Me(e)):ct(e)?(d=()=>a(e),w=!0):D(e)?(S=!0,w=e.some(T=>ct(T)||Me(T)),d=()=>e.map(T=>{if(le(T))return T.value;if(ct(T))return a(T);if(U(T))return c?c(T,2):T()})):U(e)?t?d=c?()=>c(e,2):e:d=()=>{if(p){at();try{p()}finally{ht()}}const T=mt;mt=f;try{return c?c(e,3,[g]):e(g)}finally{mt=T}}:d=Ue,t&&r){const T=d,k=r===!0?1/0:r;d=()=>it(T(),k)}const V=so(),I=()=>{f.stop(),V&&V.active&&ws(V.effects,f)};if(o&&t){const T=t;t=(...k)=>{T(...k),I()}}let M=S?new Array(e.length).fill(dn):dn;const F=T=>{if(!(!(f.flags&1)||!f.dirty&&!T))if(t){const k=f.run();if(r||w||(S?k.some((ee,W)=>lt(ee,M[W])):lt(k,M))){p&&p();const ee=mt;mt=f;try{const W=[k,M===dn?void 0:S&&M[0]===dn?[]:M,g];c?c(t,3,W):t(...W),M=k}finally{mt=ee}}}else f.run()};return l&&l(F),f=new ro(d),f.scheduler=i?()=>i(F,!1):F,g=T=>al(T,!1,f),p=f.onStop=()=>{const T=Sn.get(f);if(T){if(c)c(T,4);else for(const k of T)k();Sn.delete(f)}},t?s?F(!0):M=f.run():i?i(F.bind(null,!0),!0):f.run(),I.pause=f.pause.bind(f),I.resume=f.resume.bind(f),I.stop=I,I}function it(e,t=1/0,n){if(t<=0||!oe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,le(e))it(e.value,t,n);else if(D(e))for(let s=0;s{it(s,t,n)});else if(zr(e)){for(const s in e)it(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&it(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ln(e,t,n,s){try{return s?e(...s):e()}catch(r){Hn(r,t,n)}}function We(e,t,n,s){if(U(e)){const r=ln(e,t,n,s);return r&&Gr(r)&&r.catch(o=>{Hn(o,t,n)}),r}if(D(e)){const r=[];for(let o=0;o>>1,r=be[s],o=Yt(r);o=Yt(n)?be.push(e):be.splice(pl(t),0,e),e.flags|=1,Eo()}}function Eo(){En||(En=So.then(Ro))}function gl(e){D(e)?Tt.push(...e):st&&e.id===-1?st.splice(Rt+1,0,e):e.flags&1||(Tt.push(e),e.flags|=1),Eo()}function Qs(e,t,n=De+1){for(;nYt(n)-Yt(s));if(Tt.length=0,st){st.push(...t);return}for(st=t,Rt=0;Rte.id==null?e.flags&2?-1:1/0:e.id;function Ro(e){try{for(De=0;De{s._d&&ur(-1);const o=An(t);let i;try{i=e(...r)}finally{An(o),s._d&&ur(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function pt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;ie.__isTeleport,Ut=e=>e&&(e.disabled||e.disabled===""),Ys=e=>e&&(e.defer||e.defer===""),Xs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,er=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,cs=(e,t)=>{const n=e&&e.to;return ce(n)?t?t(n):null:n},Oo={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,c,a){const{mc:f,pc:d,pbc:p,o:{insert:g,querySelector:w,createText:S,createComment:V}}=a,I=Ut(t.props);let{shapeFlag:M,children:F,dynamicChildren:T}=t;if(e==null){const k=t.el=S(""),ee=t.anchor=S("");g(k,n,s),g(ee,n,s);const W=(j,Q)=>{M&16&&(r&&r.isCE&&(r.ce._teleportTarget=j),f(F,j,Q,r,o,i,l,c))},B=()=>{const j=t.target=cs(t.props,w),Q=To(j,t,S,g);j&&(i!=="svg"&&Xs(j)?i="svg":i!=="mathml"&&er(j)&&(i="mathml"),I||(W(j,Q),mn(t,!1)))};I&&(W(n,ee),mn(t,!0)),Ys(t.props)?ye(()=>{B(),t.el.__isMounted=!0},o):B()}else{if(Ys(t.props)&&!e.el.__isMounted){ye(()=>{Oo.process(e,t,n,s,r,o,i,l,c,a),delete e.el.__isMounted},o);return}t.el=e.el,t.targetStart=e.targetStart;const k=t.anchor=e.anchor,ee=t.target=e.target,W=t.targetAnchor=e.targetAnchor,B=Ut(e.props),j=B?n:ee,Q=B?k:W;if(i==="svg"||Xs(ee)?i="svg":(i==="mathml"||er(ee))&&(i="mathml"),T?(p(e.dynamicChildren,T,j,r,o,i,l),Vs(e,t,!0)):c||d(e,t,j,Q,r,o,i,l,!1),I)B?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):pn(t,n,k,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const fe=t.target=cs(t.props,w);fe&&pn(t,fe,null,a,0)}else B&&pn(t,ee,W,a,1);mn(t,I)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:a,targetAnchor:f,target:d,props:p}=e;if(d&&(r(a),r(f)),o&&r(c),i&16){const g=o||!Ut(p);for(let w=0;wRn(w,t&&(D(t)?t[S]:t),n,s,r));return}if(Mt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Rn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Us(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,f=l.refs===se?l.refs={}:l.refs,d=l.setupState,p=G(d),g=d===se?()=>!1:w=>J(p,w);if(a!=null&&a!==c&&(ce(a)?(f[a]=null,g(a)&&(d[a]=null)):le(a)&&(a.value=null)),U(c))ln(c,l,12,[i,f]);else{const w=ce(c),S=le(c);if(w||S){const V=()=>{if(e.f){const I=w?g(c)?d[c]:f[c]:c.value;r?D(I)&&ws(I,o):D(I)?I.includes(o)||I.push(o):w?(f[c]=[o],g(c)&&(d[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else w?(f[c]=i,g(c)&&(d[c]=i)):S&&(c.value=i,e.k&&(f[e.k]=i))};i?(V.id=-1,ye(V,n)):V()}}}Ln().requestIdleCallback;Ln().cancelIdleCallback;const Mt=e=>!!e.type.__asyncLoader,Io=e=>e.type.__isKeepAlive;function yl(e,t){Lo(e,"a",t)}function vl(e,t){Lo(e,"da",t)}function Lo(e,t,n=he){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Nn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Io(r.parent.vnode)&&bl(s,t,n,r),r=r.parent}}function bl(e,t,n,s){const r=Nn(t,e,s,!0);Fo(()=>{ws(s[t],r)},n)}function Nn(e,t,n=he,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{at();const l=un(n),c=We(t,n,e,i);return l(),ht(),c});return s?r.unshift(o):r.push(o),o}}const Ye=e=>(t,n=he)=>{(!nn||e==="sp")&&Nn(e,(...s)=>t(...s),n)},xl=Ye("bm"),wl=Ye("m"),Sl=Ye("bu"),El=Ye("u"),Al=Ye("bum"),Fo=Ye("um"),Rl=Ye("sp"),Cl=Ye("rtg"),Pl=Ye("rtc");function Ol(e,t=he){Nn("ec",e,t)}const Tl="components";function Rf(e,t){return Il(Tl,e,!0,t)||e}const Ml=Symbol.for("v-ndc");function Il(e,t,n=!0,s=!1){const r=me||he;if(r){const o=r.type;{const l=vc(o,!1);if(l&&(l===t||l===Ie(t)||l===In(Ie(t))))return o}const i=tr(r[e]||o[e],t)||tr(r.appContext[e],t);return!i&&s?o:i}}function tr(e,t){return e&&(e[t]||e[Ie(t)]||e[In(Ie(t))])}function Cf(e,t,n,s){let r;const o=n,i=D(e);if(i||ce(e)){const l=i&&ct(e);let c=!1;l&&(c=!Me(e),e=Fn(e)),r=new Array(e.length);for(let a=0,f=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;ctn(t)?!(t.type===ut||t.type===Se&&!Ho(t.children)):!0)?e:null}const us=e=>e?ti(e)?Us(e):us(e.parent):null,Kt=ae(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>us(e.parent),$root:e=>us(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$s(e),$forceUpdate:e=>e.f||(e.f=()=>{Ns(e.update)}),$nextTick:e=>e.n||(e.n=Hs.bind(e.proxy)),$watch:e=>ec.bind(e)}),Zn=(e,t)=>e!==se&&!e.__isScriptSetup&&J(e,t),Ll={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Zn(s,t))return i[t]=1,s[t];if(r!==se&&J(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&J(a,t))return i[t]=3,o[t];if(n!==se&&J(n,t))return i[t]=4,n[t];fs&&(i[t]=0)}}const f=Kt[t];let d,p;if(f)return t==="$attrs"&&pe(e.attrs,"get",""),f(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==se&&J(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,J(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Zn(r,t)?(r[t]=n,!0):s!==se&&J(s,t)?(s[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==se&&J(e,i)||Zn(t,i)||(l=o[0])&&J(l,i)||J(s,i)||J(Kt,i)||J(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function nr(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fs=!0;function Fl(e){const t=$s(e),n=e.proxy,s=e.ctx;fs=!1,t.beforeCreate&&sr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:f,beforeMount:d,mounted:p,beforeUpdate:g,updated:w,activated:S,deactivated:V,beforeDestroy:I,beforeUnmount:M,destroyed:F,unmounted:T,render:k,renderTracked:ee,renderTriggered:W,errorCaptured:B,serverPrefetch:j,expose:Q,inheritAttrs:fe,components:Ee,directives:xe,filters:dt}=t;if(a&&Hl(a,s,null),i)for(const K in i){const Z=i[K];U(Z)&&(s[K]=Z.bind(n))}if(r){const K=r.call(n,n);oe(K)&&(e.data=on(K))}if(fs=!0,o)for(const K in o){const Z=o[K],qe=U(Z)?Z.bind(n,n):U(Z.get)?Z.get.bind(n,n):Ue,et=!U(Z)&&U(Z.set)?Z.set.bind(n):Ue,Ne=Te({get:qe,set:et});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:we=>Ne.value=we})}if(l)for(const K in l)No(l[K],s,n,K);if(c){const K=U(c)?c.call(n):c;Reflect.ownKeys(K).forEach(Z=>{_n(Z,K[Z])})}f&&sr(f,e,"c");function re(K,Z){D(Z)?Z.forEach(qe=>K(qe.bind(n))):Z&&K(Z.bind(n))}if(re(xl,d),re(wl,p),re(Sl,g),re(El,w),re(yl,S),re(vl,V),re(Ol,B),re(Pl,ee),re(Cl,W),re(Al,M),re(Fo,T),re(Rl,j),D(Q))if(Q.length){const K=e.exposed||(e.exposed={});Q.forEach(Z=>{Object.defineProperty(K,Z,{get:()=>n[Z],set:qe=>n[Z]=qe})})}else e.exposed||(e.exposed={});k&&e.render===Ue&&(e.render=k),fe!=null&&(e.inheritAttrs=fe),Ee&&(e.components=Ee),xe&&(e.directives=xe),j&&Mo(e)}function Hl(e,t,n=Ue){D(e)&&(e=as(e));for(const s in e){const r=e[s];let o;oe(r)?"default"in r?o=Ke(r.from||s,r.default,!0):o=Ke(r.from||s):o=Ke(r),le(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function sr(e,t,n){We(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function No(e,t,n,s){let r=s.includes(".")?zo(n,s):()=>n[s];if(ce(e)){const o=t[e];U(o)&&Wt(r,o)}else if(U(e))Wt(r,e.bind(n));else if(oe(e))if(D(e))e.forEach(o=>No(o,t,n,s));else{const o=U(e.handler)?e.handler.bind(n):t[e.handler];U(o)&&Wt(r,o,e)}}function $s(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>Cn(c,a,i,!0)),Cn(c,t,i)),oe(t)&&o.set(t,c),c}function Cn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Cn(e,o,n,!0),r&&r.forEach(i=>Cn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Nl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Nl={data:rr,props:or,emits:or,methods:Dt,computed:Dt,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:Dt,directives:Dt,watch:$l,provide:rr,inject:jl};function rr(e,t){return t?e?function(){return ae(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function jl(e,t){return Dt(as(e),as(t))}function as(e){if(D(e)){const t={};for(let n=0;n1)return n&&U(t)?t.call(s&&s.proxy):t}}function Bl(){return!!(he||me||vt)}const $o={},Do=()=>Object.create($o),Vo=e=>Object.getPrototypeOf(e)===$o;function kl(e,t,n,s=!1){const r={},o=Do();e.propsDefaults=Object.create(null),Bo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:vo(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Ul(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=G(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[p,g]=ko(d,t,!0);ae(i,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return oe(e)&&s.set(e,Pt),Pt;if(D(o))for(let f=0;fe[0]==="_"||e==="$stable",Ds=e=>D(e)?e.map(Ve):[Ve(e)],Wl=(e,t,n)=>{if(t._n)return t;const s=gn((...r)=>Ds(t(...r)),n);return s._c=!1,s},Ko=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Uo(r))continue;const o=e[r];if(U(o))t[r]=Wl(r,o,s);else if(o!=null){const i=Ds(o);t[r]=()=>i}}},Wo=(e,t)=>{const n=Ds(t);e.slots.default=()=>n},qo=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},ql=(e,t,n)=>{const s=e.slots=Do();if(e.vnode.shapeFlag&32){const r=t._;r?(qo(s,t,n),n&&Jr(s,"_",r,!0)):Ko(t,s)}else t&&Wo(e,t)},Gl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=se;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:qo(r,t,n):(o=!t.$stable,Ko(t,r)),i=t}else t&&(Wo(e,t),i={default:1});if(o)for(const l in r)!Uo(l)&&i[l]==null&&delete r[l]},ye=lc;function Zl(e){return zl(e)}function zl(e,t){const n=Ln();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:f,parentNode:d,nextSibling:p,setScopeId:g=Ue,insertStaticContent:w}=e,S=(u,h,m,v=null,_=null,b=null,R=void 0,A=null,E=!!h.dynamicChildren)=>{if(u===h)return;u&&!jt(u,h)&&(v=y(u),we(u,_,b,!0),u=null),h.patchFlag===-2&&(E=!1,h.dynamicChildren=null);const{type:x,ref:N,shapeFlag:P}=h;switch(x){case $n:V(u,h,m,v);break;case ut:I(u,h,m,v);break;case Qn:u==null&&M(h,m,v,R);break;case Se:Ee(u,h,m,v,_,b,R,A,E);break;default:P&1?k(u,h,m,v,_,b,R,A,E):P&6?xe(u,h,m,v,_,b,R,A,E):(P&64||P&128)&&x.process(u,h,m,v,_,b,R,A,E,L)}N!=null&&_&&Rn(N,u&&u.ref,b,h||u,!h)},V=(u,h,m,v)=>{if(u==null)s(h.el=l(h.children),m,v);else{const _=h.el=u.el;h.children!==u.children&&a(_,h.children)}},I=(u,h,m,v)=>{u==null?s(h.el=c(h.children||""),m,v):h.el=u.el},M=(u,h,m,v)=>{[u.el,u.anchor]=w(u.children,h,m,v,u.el,u.anchor)},F=({el:u,anchor:h},m,v)=>{let _;for(;u&&u!==h;)_=p(u),s(u,m,v),u=_;s(h,m,v)},T=({el:u,anchor:h})=>{let m;for(;u&&u!==h;)m=p(u),r(u),u=m;r(h)},k=(u,h,m,v,_,b,R,A,E)=>{h.type==="svg"?R="svg":h.type==="math"&&(R="mathml"),u==null?ee(h,m,v,_,b,R,A,E):j(u,h,_,b,R,A,E)},ee=(u,h,m,v,_,b,R,A)=>{let E,x;const{props:N,shapeFlag:P,transition:H,dirs:$}=u;if(E=u.el=i(u.type,b,N&&N.is,N),P&8?f(E,u.children):P&16&&B(u.children,E,null,v,_,zn(u,b),R,A),$&&pt(u,null,v,"created"),W(E,u,u.scopeId,R,v),N){for(const te in N)te!=="value"&&!Vt(te)&&o(E,te,null,N[te],b,v);"value"in N&&o(E,"value",null,N.value,b),(x=N.onVnodeBeforeMount)&&$e(x,v,u)}$&&pt(u,null,v,"beforeMount");const q=Jl(_,H);q&&H.beforeEnter(E),s(E,h,m),((x=N&&N.onVnodeMounted)||q||$)&&ye(()=>{x&&$e(x,v,u),q&&H.enter(E),$&&pt(u,null,v,"mounted")},_)},W=(u,h,m,v,_)=>{if(m&&g(u,m),v)for(let b=0;b{for(let x=E;x{const A=h.el=u.el;let{patchFlag:E,dynamicChildren:x,dirs:N}=h;E|=u.patchFlag&16;const P=u.props||se,H=h.props||se;let $;if(m&>(m,!1),($=H.onVnodeBeforeUpdate)&&$e($,m,h,u),N&&pt(h,u,m,"beforeUpdate"),m&>(m,!0),(P.innerHTML&&H.innerHTML==null||P.textContent&&H.textContent==null)&&f(A,""),x?Q(u.dynamicChildren,x,A,m,v,zn(h,_),b):R||Z(u,h,A,null,m,v,zn(h,_),b,!1),E>0){if(E&16)fe(A,P,H,m,_);else if(E&2&&P.class!==H.class&&o(A,"class",null,H.class,_),E&4&&o(A,"style",P.style,H.style,_),E&8){const q=h.dynamicProps;for(let te=0;te{$&&$e($,m,h,u),N&&pt(h,u,m,"updated")},v)},Q=(u,h,m,v,_,b,R)=>{for(let A=0;A{if(h!==m){if(h!==se)for(const b in h)!Vt(b)&&!(b in m)&&o(u,b,h[b],null,_,v);for(const b in m){if(Vt(b))continue;const R=m[b],A=h[b];R!==A&&b!=="value"&&o(u,b,A,R,_,v)}"value"in m&&o(u,"value",h.value,m.value,_)}},Ee=(u,h,m,v,_,b,R,A,E)=>{const x=h.el=u?u.el:l(""),N=h.anchor=u?u.anchor:l("");let{patchFlag:P,dynamicChildren:H,slotScopeIds:$}=h;$&&(A=A?A.concat($):$),u==null?(s(x,m,v),s(N,m,v),B(h.children||[],m,N,_,b,R,A,E)):P>0&&P&64&&H&&u.dynamicChildren?(Q(u.dynamicChildren,H,m,_,b,R,A),(h.key!=null||_&&h===_.subTree)&&Vs(u,h,!0)):Z(u,h,m,N,_,b,R,A,E)},xe=(u,h,m,v,_,b,R,A,E)=>{h.slotScopeIds=A,u==null?h.shapeFlag&512?_.ctx.activate(h,m,v,R,E):dt(h,m,v,_,b,R,E):Xe(u,h,E)},dt=(u,h,m,v,_,b,R)=>{const A=u.component=pc(u,v,_);if(Io(u)&&(A.ctx.renderer=L),gc(A,!1,R),A.asyncDep){if(_&&_.registerDep(A,re,R),!u.el){const E=A.subTree=ue(ut);I(null,E,h,m)}}else re(A,u,h,m,_,b,R)},Xe=(u,h,m)=>{const v=h.component=u.component;if(oc(u,h,m))if(v.asyncDep&&!v.asyncResolved){K(v,h,m);return}else v.next=h,v.update();else h.el=u.el,v.vnode=h},re=(u,h,m,v,_,b,R)=>{const A=()=>{if(u.isMounted){let{next:P,bu:H,u:$,parent:q,vnode:te}=u;{const Re=Go(u);if(Re){P&&(P.el=te.el,K(u,P,R)),Re.asyncDep.then(()=>{u.isUnmounted||A()});return}}let X=P,Ae;gt(u,!1),P?(P.el=te.el,K(u,P,R)):P=te,H&&Un(H),(Ae=P.props&&P.props.onVnodeBeforeUpdate)&&$e(Ae,q,P,te),gt(u,!0);const de=Jn(u),Le=u.subTree;u.subTree=de,S(Le,de,d(Le.el),y(Le),u,_,b),P.el=de.el,X===null&&ic(u,de.el),$&&ye($,_),(Ae=P.props&&P.props.onVnodeUpdated)&&ye(()=>$e(Ae,q,P,te),_)}else{let P;const{el:H,props:$}=h,{bm:q,m:te,parent:X,root:Ae,type:de}=u,Le=Mt(h);if(gt(u,!1),q&&Un(q),!Le&&(P=$&&$.onVnodeBeforeMount)&&$e(P,X,h),gt(u,!0),H&&ie){const Re=()=>{u.subTree=Jn(u),ie(H,u.subTree,u,_,null)};Le&&de.__asyncHydrate?de.__asyncHydrate(H,u,Re):Re()}else{Ae.ce&&Ae.ce._injectChildStyle(de);const Re=u.subTree=Jn(u);S(null,Re,m,v,u,_,b),h.el=Re.el}if(te&&ye(te,_),!Le&&(P=$&&$.onVnodeMounted)){const Re=h;ye(()=>$e(P,X,Re),_)}(h.shapeFlag&256||X&&Mt(X.vnode)&&X.vnode.shapeFlag&256)&&u.a&&ye(u.a,_),u.isMounted=!0,h=m=v=null}};u.scope.on();const E=u.effect=new ro(A);u.scope.off();const x=u.update=E.run.bind(E),N=u.job=E.runIfDirty.bind(E);N.i=u,N.id=u.uid,E.scheduler=()=>Ns(N),gt(u,!0),x()},K=(u,h,m)=>{h.component=u;const v=u.vnode.props;u.vnode=h,u.next=null,Ul(u,h.props,v,m),Gl(u,h.children,m),at(),Qs(u),ht()},Z=(u,h,m,v,_,b,R,A,E=!1)=>{const x=u&&u.children,N=u?u.shapeFlag:0,P=h.children,{patchFlag:H,shapeFlag:$}=h;if(H>0){if(H&128){et(x,P,m,v,_,b,R,A,E);return}else if(H&256){qe(x,P,m,v,_,b,R,A,E);return}}$&8?(N&16&&Oe(x,_,b),P!==x&&f(m,P)):N&16?$&16?et(x,P,m,v,_,b,R,A,E):Oe(x,_,b,!0):(N&8&&f(m,""),$&16&&B(P,m,v,_,b,R,A,E))},qe=(u,h,m,v,_,b,R,A,E)=>{u=u||Pt,h=h||Pt;const x=u.length,N=h.length,P=Math.min(x,N);let H;for(H=0;HN?Oe(u,_,b,!0,!1,P):B(h,m,v,_,b,R,A,E,P)},et=(u,h,m,v,_,b,R,A,E)=>{let x=0;const N=h.length;let P=u.length-1,H=N-1;for(;x<=P&&x<=H;){const $=u[x],q=h[x]=E?rt(h[x]):Ve(h[x]);if(jt($,q))S($,q,m,null,_,b,R,A,E);else break;x++}for(;x<=P&&x<=H;){const $=u[P],q=h[H]=E?rt(h[H]):Ve(h[H]);if(jt($,q))S($,q,m,null,_,b,R,A,E);else break;P--,H--}if(x>P){if(x<=H){const $=H+1,q=$H)for(;x<=P;)we(u[x],_,b,!0),x++;else{const $=x,q=x,te=new Map;for(x=q;x<=H;x++){const Ce=h[x]=E?rt(h[x]):Ve(h[x]);Ce.key!=null&&te.set(Ce.key,x)}let X,Ae=0;const de=H-q+1;let Le=!1,Re=0;const Ht=new Array(de);for(x=0;x=de){we(Ce,_,b,!0);continue}let je;if(Ce.key!=null)je=te.get(Ce.key);else for(X=q;X<=H;X++)if(Ht[X-q]===0&&jt(Ce,h[X])){je=X;break}je===void 0?we(Ce,_,b,!0):(Ht[je-q]=x+1,je>=Re?Re=je:Le=!0,S(Ce,h[je],m,null,_,b,R,A,E),Ae++)}const qs=Le?Ql(Ht):Pt;for(X=qs.length-1,x=de-1;x>=0;x--){const Ce=q+x,je=h[Ce],Gs=Ce+1{const{el:b,type:R,transition:A,children:E,shapeFlag:x}=u;if(x&6){Ne(u.component.subTree,h,m,v);return}if(x&128){u.suspense.move(h,m,v);return}if(x&64){R.move(u,h,m,L);return}if(R===Se){s(b,h,m);for(let P=0;PA.enter(b),_);else{const{leave:P,delayLeave:H,afterLeave:$}=A,q=()=>s(b,h,m),te=()=>{P(b,()=>{q(),$&&$()})};H?H(b,q,te):te()}else s(b,h,m)},we=(u,h,m,v=!1,_=!1)=>{const{type:b,props:R,ref:A,children:E,dynamicChildren:x,shapeFlag:N,patchFlag:P,dirs:H,cacheIndex:$}=u;if(P===-2&&(_=!1),A!=null&&Rn(A,null,m,u,!0),$!=null&&(h.renderCache[$]=void 0),N&256){h.ctx.deactivate(u);return}const q=N&1&&H,te=!Mt(u);let X;if(te&&(X=R&&R.onVnodeBeforeUnmount)&&$e(X,h,u),N&6)fn(u.component,m,v);else{if(N&128){u.suspense.unmount(m,v);return}q&&pt(u,null,h,"beforeUnmount"),N&64?u.type.remove(u,h,m,L,v):x&&!x.hasOnce&&(b!==Se||P>0&&P&64)?Oe(x,h,m,!1,!0):(b===Se&&P&384||!_&&N&16)&&Oe(E,h,m),v&&wt(u)}(te&&(X=R&&R.onVnodeUnmounted)||q)&&ye(()=>{X&&$e(X,h,u),q&&pt(u,null,h,"unmounted")},m)},wt=u=>{const{type:h,el:m,anchor:v,transition:_}=u;if(h===Se){St(m,v);return}if(h===Qn){T(u);return}const b=()=>{r(m),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:R,delayLeave:A}=_,E=()=>R(m,b);A?A(u.el,b,E):E()}else b()},St=(u,h)=>{let m;for(;u!==h;)m=p(u),r(u),u=m;r(h)},fn=(u,h,m)=>{const{bum:v,scope:_,job:b,subTree:R,um:A,m:E,a:x}=u;lr(E),lr(x),v&&Un(v),_.stop(),b&&(b.flags|=8,we(R,u,h,m)),A&&ye(A,h),ye(()=>{u.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Oe=(u,h,m,v=!1,_=!1,b=0)=>{for(let R=b;R{if(u.shapeFlag&6)return y(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const h=p(u.anchor||u.el),m=h&&h[Po];return m?p(m):h};let O=!1;const C=(u,h,m)=>{u==null?h._vnode&&we(h._vnode,null,null,!0):S(h._vnode||null,u,h,null,null,null,m),h._vnode=u,O||(O=!0,Qs(),Ao(),O=!1)},L={p:S,um:we,m:Ne,r:wt,mt:dt,mc:B,pc:Z,pbc:Q,n:y,o:e};let Y,ie;return{render:C,hydrate:Y,createApp:Vl(C,Y)}}function zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Jl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vs(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Go(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Go(t)}function lr(e){if(e)for(let t=0;tKe(Yl);function Wt(e,t,n){return Zo(e,t,n)}function Zo(e,t,n=se){const{immediate:s,deep:r,flush:o,once:i}=n,l=ae({},n),c=t&&s||!t&&o!=="post";let a;if(nn){if(o==="sync"){const g=Xl();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=Ue,g.resume=Ue,g.pause=Ue,g}}const f=he;l.call=(g,w,S)=>We(g,f,w,S);let d=!1;o==="post"?l.scheduler=g=>{ye(g,f&&f.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(g,w)=>{w?g():Ns(g)}),l.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,f&&(g.id=f.uid,g.i=f))};const p=hl(e,t,l);return nn&&(a?a.push(p):c&&p()),p}function ec(e,t,n){const s=this.proxy,r=ce(e)?e.includes(".")?zo(s,e):()=>s[e]:e.bind(s,s);let o;U(t)?o=t:(o=t.handler,n=t);const i=un(this),l=Zo(r,o.bind(s),n);return i(),l}function zo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${xt(t)}Modifiers`];function nc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||se;let r=n;const o=t.startsWith("update:"),i=o&&tc(s,t.slice(7));i&&(i.trim&&(r=n.map(f=>ce(f)?f.trim():f)),i.number&&(r=n.map(Ti)));let l,c=s[l=kn(t)]||s[l=kn(Ie(t))];!c&&o&&(c=s[l=kn(xt(t))]),c&&We(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,We(a,e,6,r)}}function Jo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!U(e)){const c=a=>{const f=Jo(a,t,!0);f&&(l=!0,ae(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(oe(e)&&s.set(e,null),null):(D(o)?o.forEach(c=>i[c]=null):ae(i,o),oe(e)&&s.set(e,i),i)}function jn(e,t){return!e||!On(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,xt(t))||J(e,t))}function Jn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:f,props:d,data:p,setupState:g,ctx:w,inheritAttrs:S}=e,V=An(e);let I,M;try{if(n.shapeFlag&4){const T=r||s,k=T;I=Ve(a.call(k,T,f,d,g,p,w)),M=l}else{const T=t;I=Ve(T.length>1?T(d,{attrs:l,slots:i,emit:c}):T(d,null)),M=t.props?l:sc(l)}}catch(T){qt.length=0,Hn(T,e,1),I=ue(ut)}let F=I;if(M&&S!==!1){const T=Object.keys(M),{shapeFlag:k}=F;T.length&&k&7&&(o&&T.some(xs)&&(M=rc(M,o)),F=It(F,M,!1,!0))}return n.dirs&&(F=It(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&js(F,n.transition),I=F,An(V),I}const sc=e=>{let t;for(const n in e)(n==="class"||n==="style"||On(n))&&((t||(t={}))[n]=e[n]);return t},rc=(e,t)=>{const n={};for(const s in e)(!xs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function oc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?cr(s,i,a):!!i;if(c&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;function lc(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):gl(e)}const Se=Symbol.for("v-fgt"),$n=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),Qn=Symbol.for("v-stc"),qt=[];let Pe=null;function ft(e=!1){qt.push(Pe=e?null:[])}function cc(){qt.pop(),Pe=qt[qt.length-1]||null}let Xt=1;function ur(e,t=!1){Xt+=e,e<0&&Pe&&t&&(Pe.hasOnce=!0)}function Yo(e){return e.dynamicChildren=Xt>0?Pe||Pt:null,cc(),Xt>0&&Pe&&Pe.push(e),e}function Bs(e,t,n,s,r,o){return Yo(ke(e,t,n,s,r,o,!0))}function en(e,t,n,s,r){return Yo(ue(e,t,n,s,r,!0))}function tn(e){return e?e.__v_isVNode===!0:!1}function jt(e,t){return e.type===t.type&&e.key===t.key}const Xo=({key:e})=>e??null,yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||le(e)||U(e)?{i:me,r:e,k:t,f:!!n}:e:null);function ke(e,t=null,n=null,s=0,r=null,o=e===Se?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xo(t),ref:t&&yn(t),scopeId:Co,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:me};return l?(ks(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ce(n)?8:16),Xt>0&&!i&&Pe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Pe.push(c),c}const ue=uc;function uc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Ml)&&(e=ut),tn(e)){const l=It(e,t,!0);return n&&ks(l,n),Xt>0&&!o&&Pe&&(l.shapeFlag&6?Pe[Pe.indexOf(e)]=l:Pe.push(l)),l.patchFlag=-2,l}if(bc(e)&&(e=e.__vccOpts),t){t=fc(t);let{class:l,style:c}=t;l&&!ce(l)&&(t.class=As(l)),oe(c)&&(Is(c)&&!D(c)&&(c=ae({},c)),t.style=Es(c))}const i=ce(e)?1:Qo(e)?128:ml(e)?64:oe(e)?4:U(e)?2:0;return ke(e,t,n,s,r,i,o,!0)}function fc(e){return e?Is(e)||Vo(e)?ae({},e):e:null}function It(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?ei(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Xo(a),ref:t&&t.ref?n&&o?D(o)?o.concat(yn(t)):[o,yn(t)]:yn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&It(e.ssContent),ssFallback:e.ssFallback&&It(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&js(f,c.clone(f)),f}function vn(e=" ",t=0){return ue($n,null,e,t)}function ac(e="",t=!1){return t?(ft(),en(ut,null,e)):ue(ut,null,e)}function Ve(e){return e==null||typeof e=="boolean"?ue(ut):D(e)?ue(Se,null,e.slice()):tn(e)?rt(e):ue($n,null,String(e))}function rt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:It(e)}function ks(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ks(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Vo(t)?t._ctx=me:r===3&&me&&(me.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:me},n=32):(t=String(t),s&64?(n=16,t=[vn(t)]):n=8);e.children=t,e.shapeFlag|=n}function ei(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Pn=t("__VUE_INSTANCE_SETTERS__",n=>he=n),ds=t("__VUE_SSR_SETTERS__",n=>nn=n)}const un=e=>{const t=he;return Pn(e),e.scope.on(),()=>{e.scope.off(),Pn(t)}},fr=()=>{he&&he.scope.off(),Pn(null)};function ti(e){return e.vnode.shapeFlag&4}let nn=!1;function gc(e,t=!1,n=!1){t&&ds(t);const{props:s,children:r}=e.vnode,o=ti(e);kl(e,s,o,t),ql(e,r,n);const i=o?mc(e,t):void 0;return t&&ds(!1),i}function mc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ll);const{setup:s}=n;if(s){at();const r=e.setupContext=s.length>1?yc(e):null,o=un(e),i=ln(s,e,0,[e.props,r]),l=Gr(i);if(ht(),o(),(l||e.sp)&&!Mt(e)&&Mo(e),l){if(i.then(fr,fr),t)return i.then(c=>{ar(e,c,t)}).catch(c=>{Hn(c,e,0)});e.asyncDep=i}else ar(e,i,t)}else ni(e,t)}function ar(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=wo(t)),ni(e,n)}let hr;function ni(e,t,n){const s=e.type;if(!e.render){if(!t&&hr&&!s.render){const r=s.template||$s(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=ae(ae({isCustomElement:o,delimiters:l},i),c);s.render=hr(r,a)}}e.render=s.render||Ue}{const r=un(e);at();try{Fl(e)}finally{ht(),r()}}}const _c={get(e,t){return pe(e,"get",""),e[t]}};function yc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,_c),slots:e.slots,emit:e.emit,expose:t}}function Us(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wo(Ls(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Kt)return Kt[n](e)},has(t,n){return n in t||n in Kt}})):e.proxy}function vc(e,t=!0){return U(e)?e.displayName||e.name:e.name||t&&e.__name}function bc(e){return U(e)&&"__vccOpts"in e}const Te=(e,t)=>fl(e,t,nn);function si(e,t,n){const s=arguments.length;return s===2?oe(t)&&!D(t)?tn(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&tn(n)&&(n=[n]),ue(e,t,n))}const xc="3.5.13";/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let ps;const dr=typeof window<"u"&&window.trustedTypes;if(dr)try{ps=dr.createPolicy("vue",{createHTML:e=>e})}catch{}const ri=ps?e=>ps.createHTML(e):e=>e,wc="http://www.w3.org/2000/svg",Sc="http://www.w3.org/1998/Math/MathML",ze=typeof document<"u"?document:null,pr=ze&&ze.createElement("template"),Ec={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ze.createElementNS(wc,e):t==="mathml"?ze.createElementNS(Sc,e):n?ze.createElement(e,{is:n}):ze.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ze.createTextNode(e),createComment:e=>ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{pr.innerHTML=ri(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=pr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ac=Symbol("_vtc");function Rc(e,t,n){const s=e[Ac];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const gr=Symbol("_vod"),Cc=Symbol("_vsh"),Pc=Symbol(""),Oc=/(^|;)\s*display\s*:/;function Tc(e,t,n){const s=e.style,r=ce(n);let o=!1;if(n&&!r){if(t)if(ce(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&bn(s,l,"")}else for(const i in t)n[i]==null&&bn(s,i,"");for(const i in n)i==="display"&&(o=!0),bn(s,i,n[i])}else if(r){if(t!==n){const i=s[Pc];i&&(n+=";"+i),s.cssText=n,o=Oc.test(n)}}else t&&e.removeAttribute("style");gr in e&&(e[gr]=o?s.display:"",e[Cc]&&(s.display="none"))}const mr=/\s*!important$/;function bn(e,t,n){if(D(n))n.forEach(s=>bn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Mc(e,t);mr.test(n)?e.setProperty(xt(s),n.replace(mr,""),"important"):e[s]=n}}const _r=["Webkit","Moz","ms"],Yn={};function Mc(e,t){const n=Yn[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return Yn[t]=s;s=In(s);for(let r=0;r<_r.length;r++){const o=_r[r]+s;if(o in e)return Yn[t]=o}return t}const yr="http://www.w3.org/1999/xlink";function vr(e,t,n,s,r,o=Ni(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(yr,t.slice(6,t.length)):e.setAttributeNS(yr,t,n):n==null||o&&!Qr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Qe(n)?String(n):n)}function br(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ri(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Qr(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function Ic(e,t,n,s){e.addEventListener(t,n,s)}function Lc(e,t,n,s){e.removeEventListener(t,n,s)}const xr=Symbol("_vei");function Fc(e,t,n,s,r=null){const o=e[xr]||(e[xr]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=Hc(t);if(s){const a=o[t]=$c(s,r);Ic(e,l,a,c)}else i&&(Lc(e,l,i,c),o[t]=void 0)}}const wr=/(?:Once|Passive|Capture)$/;function Hc(e){let t;if(wr.test(e)){t={};let s;for(;s=e.match(wr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xt(e.slice(2)),t]}let Xn=0;const Nc=Promise.resolve(),jc=()=>Xn||(Nc.then(()=>Xn=0),Xn=Date.now());function $c(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;We(Dc(s,n.value),t,5,[s])};return n.value=e,n.attached=jc(),n}function Dc(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Sr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Vc=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Rc(e,s,i):t==="style"?Tc(e,n,s):On(t)?xs(t)||Fc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Bc(e,t,s,i))?(br(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&vr(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ce(s))?br(e,Ie(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),vr(e,t,s,i))};function Bc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Sr(t)&&U(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Sr(t)&&ce(n)?!1:t in e}const kc=["ctrl","shift","alt","meta"],Uc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>kc.some(n=>e[`${n}Key`]&&!t.includes(n))},Of=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const t=Wc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Zc(s);if(!r)return;const o=t._component;!U(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Gc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Gc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Zc(e){return ce(e)?document.querySelector(e):e}var zc=!1;/*! + * pinia v2.2.8 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */let oi;const Dn=e=>oi=e,ii=Symbol();function gs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Gt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Gt||(Gt={}));function Jc(){const e=no(!0),t=e.run(()=>Fs({}));let n=[],s=[];const r=Ls({install(o){Dn(r),r._a=o,o.provide(ii,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return!this._a&&!zc?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const li=()=>{};function Ar(e,t,n,s=li){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&so()&&ji(r),r}function At(e,...t){e.slice().forEach(n=>{n(...t)})}const Qc=e=>e(),Rr=Symbol(),es=Symbol();function ms(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];gs(r)&&gs(s)&&e.hasOwnProperty(n)&&!le(s)&&!ct(s)?e[n]=ms(r,s):e[n]=s}return e}const Yc=Symbol();function Xc(e){return!gs(e)||!e.hasOwnProperty(Yc)}const{assign:nt}=Object;function eu(e){return!!(le(e)&&e.effect)}function tu(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function a(){l||(n.state.value[e]=r?r():{});const f=il(n.state.value[e]);return nt(f,o,Object.keys(i||{}).reduce((d,p)=>(d[p]=Ls(Te(()=>{Dn(n);const g=n._s.get(e);return i[p].call(g,g)})),d),{}))}return c=ci(e,a,t,n,s,!0),c}function ci(e,t,n={},s,r,o){let i;const l=nt({actions:{}},n),c={deep:!0};let a,f,d=[],p=[],g;const w=s.state.value[e];!o&&!w&&(s.state.value[e]={}),Fs({});let S;function V(B){let j;a=f=!1,typeof B=="function"?(B(s.state.value[e]),j={type:Gt.patchFunction,storeId:e,events:g}):(ms(s.state.value[e],B),j={type:Gt.patchObject,payload:B,storeId:e,events:g});const Q=S=Symbol();Hs().then(()=>{S===Q&&(a=!0)}),f=!0,At(d,j,s.state.value[e])}const I=o?function(){const{state:j}=n,Q=j?j():{};this.$patch(fe=>{nt(fe,Q)})}:li;function M(){i.stop(),d=[],p=[],s._s.delete(e)}const F=(B,j="")=>{if(Rr in B)return B[es]=j,B;const Q=function(){Dn(s);const fe=Array.from(arguments),Ee=[],xe=[];function dt(K){Ee.push(K)}function Xe(K){xe.push(K)}At(p,{args:fe,name:Q[es],store:k,after:dt,onError:Xe});let re;try{re=B.apply(this&&this.$id===e?this:k,fe)}catch(K){throw At(xe,K),K}return re instanceof Promise?re.then(K=>(At(Ee,K),K)).catch(K=>(At(xe,K),Promise.reject(K))):(At(Ee,re),re)};return Q[Rr]=!0,Q[es]=j,Q},T={_p:s,$id:e,$onAction:Ar.bind(null,p),$patch:V,$reset:I,$subscribe(B,j={}){const Q=Ar(d,B,j.detached,()=>fe()),fe=i.run(()=>Wt(()=>s.state.value[e],Ee=>{(j.flush==="sync"?f:a)&&B({storeId:e,type:Gt.direct,events:g},Ee)},nt({},c,j)));return Q},$dispose:M},k=on(T);s._s.set(e,k);const W=(s._a&&s._a.runWithContext||Qc)(()=>s._e.run(()=>(i=no()).run(()=>t({action:F}))));for(const B in W){const j=W[B];if(le(j)&&!eu(j)||ct(j))o||(w&&Xc(j)&&(le(j)?j.value=w[B]:ms(j,w[B])),s.state.value[e][B]=j);else if(typeof j=="function"){const Q=F(j,B);W[B]=Q,l.actions[B]=j}}return nt(k,W),nt(G(k),W),Object.defineProperty(k,"$state",{get:()=>s.state.value[e],set:B=>{V(j=>{nt(j,B)})}}),s._p.forEach(B=>{nt(k,i.run(()=>B({store:k,app:s._a,pinia:s,options:l})))}),w&&o&&n.hydrate&&n.hydrate(k.$state,w),a=!0,f=!0,k}/*! #__NO_SIDE_EFFECTS__ */function Tf(e,t,n){let s,r;const o=typeof t=="function";s=e,r=o?n:t;function i(l,c){const a=Bl();return l=l||(a?Ke(ii,null):null),l&&Dn(l),l=oi,l._s.has(s)||(o?ci(s,t,r,l):tu(s,r,l)),l._s.get(s)}return i.$id=s,i}const nu="/assets/crest-VUu5A_g-.png";/*! + * vue-router v4.5.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const Ct=typeof document<"u";function ui(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function su(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ui(e.default)}const z=Object.assign;function ts(e,t){const n={};for(const s in t){const r=t[s];n[s]=He(r)?r.map(e):e(r)}return n}const Zt=()=>{},He=Array.isArray,fi=/#/g,ru=/&/g,ou=/\//g,iu=/=/g,lu=/\?/g,ai=/\+/g,cu=/%5B/g,uu=/%5D/g,hi=/%5E/g,fu=/%60/g,di=/%7B/g,au=/%7C/g,pi=/%7D/g,hu=/%20/g;function Ks(e){return encodeURI(""+e).replace(au,"|").replace(cu,"[").replace(uu,"]")}function du(e){return Ks(e).replace(di,"{").replace(pi,"}").replace(hi,"^")}function _s(e){return Ks(e).replace(ai,"%2B").replace(hu,"+").replace(fi,"%23").replace(ru,"%26").replace(fu,"`").replace(di,"{").replace(pi,"}").replace(hi,"^")}function pu(e){return _s(e).replace(iu,"%3D")}function gu(e){return Ks(e).replace(fi,"%23").replace(lu,"%3F")}function mu(e){return e==null?"":gu(e).replace(ou,"%2F")}function sn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const _u=/\/$/,yu=e=>e.replace(_u,"");function ns(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=wu(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:sn(i)}}function vu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function bu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Lt(t.matched[s],n.matched[r])&&gi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Lt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!xu(e[n],t[n]))return!1;return!0}function xu(e,t){return He(e)?Pr(e,t):He(t)?Pr(t,e):e===t}function Pr(e,t){return He(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function wu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var rn;(function(e){e.pop="pop",e.push="push"})(rn||(rn={}));var zt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(zt||(zt={}));function Su(e){if(!e)if(Ct){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),yu(e)}const Eu=/^[^#]+#/;function Au(e,t){return e.replace(Eu,"#")+t}function Ru(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Vn=()=>({left:window.scrollX,top:window.scrollY});function Cu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Ru(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Or(e,t){return(history.state?history.state.position-t:-1)+e}const ys=new Map;function Pu(e,t){ys.set(e,t)}function Ou(e){const t=ys.get(e);return ys.delete(e),t}let Tu=()=>location.protocol+"//"+location.host;function mi(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Cr(c,"")}return Cr(n,e)+s+r}function Mu(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const g=mi(e,location),w=n.value,S=t.value;let V=0;if(p){if(n.value=g,t.value=p,i&&i===w){i=null;return}V=S?p.position-S.position:0}else s(g);r.forEach(I=>{I(n.value,w,{delta:V,type:rn.pop,direction:V?V>0?zt.forward:zt.back:zt.unknown})})};function c(){i=n.value}function a(p){r.push(p);const g=()=>{const w=r.indexOf(p);w>-1&&r.splice(w,1)};return o.push(g),g}function f(){const{history:p}=window;p.state&&p.replaceState(z({},p.state,{scroll:Vn()}),"")}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:a,destroy:d}}function Tr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Vn():null}}function Iu(e){const{history:t,location:n}=window,s={value:mi(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,a,f){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:Tu()+e+c;try{t[f?"replaceState":"pushState"](a,"",p),r.value=a}catch(g){console.error(g),n[f?"replace":"assign"](p)}}function i(c,a){const f=z({},t.state,Tr(r.value.back,c,r.value.forward,!0),a,{position:r.value.position});o(c,f,!0),s.value=c}function l(c,a){const f=z({},r.value,t.state,{forward:c,scroll:Vn()});o(f.current,f,!0);const d=z({},Tr(s.value,c,null),{position:f.position+1},a);o(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Lu(e){e=Su(e);const t=Iu(e),n=Mu(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=z({location:"",base:e,go:s,createHref:Au.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Fu(e){return typeof e=="string"||e&&typeof e=="object"}function _i(e){return typeof e=="string"||typeof e=="symbol"}const yi=Symbol("");var Mr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Mr||(Mr={}));function Ft(e,t){return z(new Error,{type:e,[yi]:!0},t)}function Ze(e,t){return e instanceof Error&&yi in e&&(t==null||!!(e.type&t))}const Ir="[^/]+?",Hu={sensitive:!1,strict:!1,start:!0,end:!0},Nu=/[.+*?^${}()[\]/\\]/g;function ju(e,t){const n=z({},Hu,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const f=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function vi(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Du={type:0,value:""},Vu=/[a-zA-Z0-9_]/;function Bu(e){if(!e)return[[]];if(e==="/")return[[Du]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",f="";function d(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function p(){a+=c}for(;l{i(F)}:Zt}function i(d){if(_i(d)){const p=s.get(d);p&&(s.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const p=qu(d,n);n.splice(p,0,d),d.record.name&&!Nr(d)&&s.set(d.record.name,d)}function a(d,p){let g,w={},S,V;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw Ft(1,{location:d});V=g.record.name,w=z(Fr(p.params,g.keys.filter(F=>!F.optional).concat(g.parent?g.parent.keys.filter(F=>F.optional):[]).map(F=>F.name)),d.params&&Fr(d.params,g.keys.map(F=>F.name))),S=g.stringify(w)}else if(d.path!=null)S=d.path,g=n.find(F=>F.re.test(S)),g&&(w=g.parse(S),V=g.record.name);else{if(g=p.name?s.get(p.name):n.find(F=>F.re.test(p.path)),!g)throw Ft(1,{location:d,currentLocation:p});V=g.record.name,w=z({},p.params,d.params),S=g.stringify(w)}const I=[];let M=g;for(;M;)I.unshift(M.record),M=M.parent;return{name:V,path:S,params:w,matched:I,meta:Wu(I)}}e.forEach(d=>o(d));function f(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Fr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Hr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ku(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Ku(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Nr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Wu(e){return e.reduce((t,n)=>z(t,n.meta),{})}function jr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function qu(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;vi(e,t[o])<0?s=o:n=o+1}const r=Gu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Gu(e){let t=e;for(;t=t.parent;)if(bi(t)&&vi(e,t)===0)return t}function bi({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Zu(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&_s(o)):[s&&_s(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function zu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=He(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ju=Symbol(""),Dr=Symbol(""),Ws=Symbol(""),xi=Symbol(""),vs=Symbol("");function $t(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ot(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=p=>{p===!1?c(Ft(4,{from:n,to:t})):p instanceof Error?c(p):Fu(p)?c(Ft(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},f=o(()=>e.call(s&&s.instances[r],t,n,a));let d=Promise.resolve(f);e.length<3&&(d=d.then(a)),d.catch(p=>c(p))})}function ss(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(ui(c)){const f=(c.__vccOpts||c)[t];f&&o.push(ot(f,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=su(f)?f.default:f;i.mods[l]=f,i.components[l]=d;const g=(d.__vccOpts||d)[t];return g&&ot(g,n,s,i,l,r)()}))}}return o}function Vr(e){const t=Ke(Ws),n=Ke(xi),s=Te(()=>{const c=Be(e.to);return t.resolve(c)}),r=Te(()=>{const{matched:c}=s.value,{length:a}=c,f=c[a-1],d=n.matched;if(!f||!d.length)return-1;const p=d.findIndex(Lt.bind(null,f));if(p>-1)return p;const g=Br(c[a-2]);return a>1&&Br(f)===g&&d[d.length-1].path!==g?d.findIndex(Lt.bind(null,c[a-2])):p}),o=Te(()=>r.value>-1&&ef(n.params,s.value.params)),i=Te(()=>r.value>-1&&r.value===n.matched.length-1&&gi(n.params,s.value.params));function l(c={}){if(Xu(c)){const a=t[Be(e.replace)?"replace":"push"](Be(e.to)).catch(Zt);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>a),a}return Promise.resolve()}return{route:s,href:Te(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Qu(e){return e.length===1?e[0]:e}const Yu=cn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Vr,setup(e,{slots:t}){const n=on(Vr(e)),{options:s}=Ke(Ws),r=Te(()=>({[kr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[kr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Qu(t.default(n));return e.custom?o:si("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),xn=Yu;function Xu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ef(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!He(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Br(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const kr=(e,t,n)=>e??t??n,tf=cn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ke(vs),r=Te(()=>e.route||s.value),o=Ke(Dr,0),i=Te(()=>{let a=Be(o);const{matched:f}=r.value;let d;for(;(d=f[a])&&!d.components;)a++;return a}),l=Te(()=>r.value.matched[i.value]);_n(Dr,Te(()=>i.value+1)),_n(Ju,l),_n(vs,r);const c=Fs();return Wt(()=>[c.value,l.value,e.name],([a,f,d],[p,g,w])=>{f&&(f.instances[d]=a,g&&g!==f&&a&&a===p&&(f.leaveGuards.size||(f.leaveGuards=g.leaveGuards),f.updateGuards.size||(f.updateGuards=g.updateGuards))),a&&f&&(!g||!Lt(f,g)||!p)&&(f.enterCallbacks[d]||[]).forEach(S=>S(a))},{flush:"post"}),()=>{const a=r.value,f=e.name,d=l.value,p=d&&d.components[f];if(!p)return Ur(n.default,{Component:p,route:a});const g=d.props[f],w=g?g===!0?a.params:typeof g=="function"?g(a):g:null,V=si(p,z({},w,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(d.instances[f]=null)},ref:c}));return Ur(n.default,{Component:V,route:a})||V}}});function Ur(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const wi=tf;function nf(e){const t=Uu(e.routes,e),n=e.parseQuery||Zu,s=e.stringifyQuery||$r,r=e.history,o=$t(),i=$t(),l=$t(),c=sl(tt);let a=tt;Ct&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=ts.bind(null,y=>""+y),d=ts.bind(null,mu),p=ts.bind(null,sn);function g(y,O){let C,L;return _i(y)?(C=t.getRecordMatcher(y),L=O):L=y,t.addRoute(L,C)}function w(y){const O=t.getRecordMatcher(y);O&&t.removeRoute(O)}function S(){return t.getRoutes().map(y=>y.record)}function V(y){return!!t.getRecordMatcher(y)}function I(y,O){if(O=z({},O||c.value),typeof y=="string"){const h=ns(n,y,O.path),m=t.resolve({path:h.path},O),v=r.createHref(h.fullPath);return z(h,m,{params:p(m.params),hash:sn(h.hash),redirectedFrom:void 0,href:v})}let C;if(y.path!=null)C=z({},y,{path:ns(n,y.path,O.path).path});else{const h=z({},y.params);for(const m in h)h[m]==null&&delete h[m];C=z({},y,{params:d(h)}),O.params=d(O.params)}const L=t.resolve(C,O),Y=y.hash||"";L.params=f(p(L.params));const ie=vu(s,z({},y,{hash:du(Y),path:L.path})),u=r.createHref(ie);return z({fullPath:ie,hash:Y,query:s===$r?zu(y.query):y.query||{}},L,{redirectedFrom:void 0,href:u})}function M(y){return typeof y=="string"?ns(n,y,c.value.path):z({},y)}function F(y,O){if(a!==y)return Ft(8,{from:O,to:y})}function T(y){return W(y)}function k(y){return T(z(M(y),{replace:!0}))}function ee(y){const O=y.matched[y.matched.length-1];if(O&&O.redirect){const{redirect:C}=O;let L=typeof C=="function"?C(y):C;return typeof L=="string"&&(L=L.includes("?")||L.includes("#")?L=M(L):{path:L},L.params={}),z({query:y.query,hash:y.hash,params:L.path!=null?{}:y.params},L)}}function W(y,O){const C=a=I(y),L=c.value,Y=y.state,ie=y.force,u=y.replace===!0,h=ee(C);if(h)return W(z(M(h),{state:typeof h=="object"?z({},Y,h.state):Y,force:ie,replace:u}),O||C);const m=C;m.redirectedFrom=O;let v;return!ie&&bu(s,L,C)&&(v=Ft(16,{to:m,from:L}),Ne(L,L,!0,!1)),(v?Promise.resolve(v):Q(m,L)).catch(_=>Ze(_)?Ze(_,2)?_:et(_):Z(_,m,L)).then(_=>{if(_){if(Ze(_,2))return W(z({replace:u},M(_.to),{state:typeof _.to=="object"?z({},Y,_.to.state):Y,force:ie}),O||m)}else _=Ee(m,L,!0,u,Y);return fe(m,L,_),_})}function B(y,O){const C=F(y,O);return C?Promise.reject(C):Promise.resolve()}function j(y){const O=St.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(y):y()}function Q(y,O){let C;const[L,Y,ie]=sf(y,O);C=ss(L.reverse(),"beforeRouteLeave",y,O);for(const h of L)h.leaveGuards.forEach(m=>{C.push(ot(m,y,O))});const u=B.bind(null,y,O);return C.push(u),Oe(C).then(()=>{C=[];for(const h of o.list())C.push(ot(h,y,O));return C.push(u),Oe(C)}).then(()=>{C=ss(Y,"beforeRouteUpdate",y,O);for(const h of Y)h.updateGuards.forEach(m=>{C.push(ot(m,y,O))});return C.push(u),Oe(C)}).then(()=>{C=[];for(const h of ie)if(h.beforeEnter)if(He(h.beforeEnter))for(const m of h.beforeEnter)C.push(ot(m,y,O));else C.push(ot(h.beforeEnter,y,O));return C.push(u),Oe(C)}).then(()=>(y.matched.forEach(h=>h.enterCallbacks={}),C=ss(ie,"beforeRouteEnter",y,O,j),C.push(u),Oe(C))).then(()=>{C=[];for(const h of i.list())C.push(ot(h,y,O));return C.push(u),Oe(C)}).catch(h=>Ze(h,8)?h:Promise.reject(h))}function fe(y,O,C){l.list().forEach(L=>j(()=>L(y,O,C)))}function Ee(y,O,C,L,Y){const ie=F(y,O);if(ie)return ie;const u=O===tt,h=Ct?history.state:{};C&&(L||u?r.replace(y.fullPath,z({scroll:u&&h&&h.scroll},Y)):r.push(y.fullPath,Y)),c.value=y,Ne(y,O,C,u),et()}let xe;function dt(){xe||(xe=r.listen((y,O,C)=>{if(!fn.listening)return;const L=I(y),Y=ee(L);if(Y){W(z(Y,{replace:!0,force:!0}),L).catch(Zt);return}a=L;const ie=c.value;Ct&&Pu(Or(ie.fullPath,C.delta),Vn()),Q(L,ie).catch(u=>Ze(u,12)?u:Ze(u,2)?(W(z(M(u.to),{force:!0}),L).then(h=>{Ze(h,20)&&!C.delta&&C.type===rn.pop&&r.go(-1,!1)}).catch(Zt),Promise.reject()):(C.delta&&r.go(-C.delta,!1),Z(u,L,ie))).then(u=>{u=u||Ee(L,ie,!1),u&&(C.delta&&!Ze(u,8)?r.go(-C.delta,!1):C.type===rn.pop&&Ze(u,20)&&r.go(-1,!1)),fe(L,ie,u)}).catch(Zt)}))}let Xe=$t(),re=$t(),K;function Z(y,O,C){et(y);const L=re.list();return L.length?L.forEach(Y=>Y(y,O,C)):console.error(y),Promise.reject(y)}function qe(){return K&&c.value!==tt?Promise.resolve():new Promise((y,O)=>{Xe.add([y,O])})}function et(y){return K||(K=!y,dt(),Xe.list().forEach(([O,C])=>y?C(y):O()),Xe.reset()),y}function Ne(y,O,C,L){const{scrollBehavior:Y}=e;if(!Ct||!Y)return Promise.resolve();const ie=!C&&Ou(Or(y.fullPath,0))||(L||!C)&&history.state&&history.state.scroll||null;return Hs().then(()=>Y(y,O,ie)).then(u=>u&&Cu(u)).catch(u=>Z(u,y,O))}const we=y=>r.go(y);let wt;const St=new Set,fn={currentRoute:c,listening:!0,addRoute:g,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:V,getRoutes:S,resolve:I,options:e,push:T,replace:k,go:we,back:()=>we(-1),forward:()=>we(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:re.add,isReady:qe,install(y){const O=this;y.component("RouterLink",xn),y.component("RouterView",wi),y.config.globalProperties.$router=O,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>Be(c)}),Ct&&!wt&&c.value===tt&&(wt=!0,T(r.location).catch(Y=>{}));const C={};for(const Y in tt)Object.defineProperty(C,Y,{get:()=>c.value[Y],enumerable:!0});y.provide(Ws,O),y.provide(xi,vo(C)),y.provide(vs,c);const L=y.unmount;St.add(y),y.unmount=function(){St.delete(y),St.size<1&&(a=tt,xe&&xe(),xe=null,c.value=tt,wt=!1,K=!1),L()}}};function Oe(y){return y.reduce((O,C)=>O.then(()=>j(C)),Promise.resolve())}return fn}function sf(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iLt(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>Lt(a,c))||r.push(c))}return[n,s,r]}const rf={class:"greetings"},of={class:"title"},lf=cn({__name:"HeaderMessage",props:{msg:{}},setup(e){return(t,n)=>(ft(),Bs("div",rf,[ke("h1",of,Xr(t.msg),1),n[0]||(n[0]=ke("h3",null,"Check out the latest in Bulletin or click Calendar to see what's coming up!",-1))]))}}),Si=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},cf=Si(lf,[["__scopeId","data-v-d551d4d9"]]),uf={class:"wrapper"},ff=cn({__name:"App",setup(e){return(t,n)=>(ft(),Bs(Se,null,[ke("header",null,[n[3]||(n[3]=ke("img",{alt:"Ryan Family Crest",class:"logo",src:nu,width:"125",height:"125"},null,-1)),ke("div",uf,[ue(cf,{msg:"Ryan Fam"}),ke("nav",null,[ue(Be(xn),{to:"/bulletin"},{default:gn(()=>n[0]||(n[0]=[vn("Bulletin")])),_:1}),ue(Be(xn),{to:"/calendar"},{default:gn(()=>n[1]||(n[1]=[vn("Calendar")])),_:1}),ue(Be(xn),{to:"/about"},{default:gn(()=>n[2]||(n[2]=[vn("About")])),_:1})])])]),ue(Be(wi))],64))}}),af=Si(ff,[["__scopeId","data-v-5a86e6a1"]]),hf="modulepreload",df=function(e){return"/"+e},Kr={},Wr=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=df(c),c in Kr)return;Kr[c]=!0;const a=c.endsWith(".css"),f=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=a?"stylesheet":hf,a||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),a)return new Promise((p,g)=>{d.addEventListener("load",p),d.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},pf=cn({__name:"BulletinView",setup(e){return(t,n)=>(ft(),Bs("main",null,n[0]||(n[0]=[ke("div",{class:"bulletin-view"},[ke("h1",null,"Bulletin will be here!")],-1)])))}}),gf=nf({history:Lu("/"),routes:[{path:"/bulletin",name:"bulletin",component:pf},{path:"/calendar",name:"calendar",component:()=>Wr(()=>import("./CalendarView-BPgOkefQ.js"),__vite__mapDeps([0,1]))},{path:"/about",name:"about",component:()=>Wr(()=>import("./AboutView-B1z6ffxY.js"),[])}]});function mf(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,s){if(!(!(Symbol.iterator in Object(n))&&Object.prototype.toString.call(n)!=="[object Arguments]")){var r=[],o=!0,i=!1,l=void 0;try{for(var c,a=n[Symbol.iterator]();!(o=(c=a.next()).done)&&(r.push(c.value),!s||r.length!==s);o=!0);}catch(f){i=!0,l=f}finally{try{o||a.return==null||a.return()}finally{if(i)throw l}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var _t={name:"Unicon",inheritAttrs:!1,props:{name:{type:String,default:""},iconStyle:{type:String,default:"line"},width:{type:[String,Number],default:24},height:{type:[String,Number],default:24},fill:{type:String,default:"inherit"},hoverFill:{type:String,default:null},viewBox:{type:String,default:"0 0 24 24"}},lib:[],add(e){Array.isArray(e)?this.lib=e:this.lib.push(e)},data(){return{localFill:this.fill}},computed:{icon(){const e=this.$options.lib.find(t=>t.name===this.name&&t.style===this.iconStyle);return e?e.path:void console.error(`Name '${this.name}' of the icon is not correct`)}},watch:{fill(e){this.localFill=e}},methods:{onHover(){this.hoverFill&&(this.localFill=this.hoverFill)},onLeave(){this.hoverFill&&(this.localFill=this.fill)}}};const _f={class:"unicon"};(function(e,t){t===void 0&&(t={});var n=t.insertAt;if(typeof document<"u"){var s=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",n==="top"&&s.firstChild?s.insertBefore(r,s.firstChild):s.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}})(` +.unicon { + display: inline-block; +} +.unicon svg { + -webkit-transition: 0.2s all; + transition: 0.2s all; +} +.uim-primary { + opacity: 1; +} +.uim-secondary { + opacity: 0.7; +} +.uim-tertiary { + opacity: 0.5; +} +.uim-quaternary { + opacity: 0.25; +} +.uim-quinary { + opacity: 0; +} +`),_t.render=function(e,t,n,s,r,o){return ft(),en(Se,null,[ac(" eslint-disable vue/no-v-html "),ue("div",_f,[(ft(),en("svg",ei({xmlns:"http://www.w3.org/2000/svg",width:n.width,height:n.height,viewBox:n.viewBox,fill:r.localFill},e.$attrs,{onClick:t[1]||(t[1]=i=>e.$emit("click")),onMouseover:t[2]||(t[2]=(...i)=>o.onHover&&o.onHover(...i)),onMouseout:t[3]||(t[3]=(...i)=>o.onLeave&&o.onLeave(...i)),innerHTML:o.icon}),null,16,["width","height","viewBox","fill","innerHTML"]))])],2112)},_t.__file="src/components/Unicon.vue";var Ei={install:function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};e.component(_t.name,_t);for(var n=0,s=Object.entries(t);n'},vf={name:"clock",style:"line",path:''},bf={name:"grin",style:"line",path:''},xf={name:"heart",style:"line",path:''},wf={name:"schedule",style:"line",path:''},Sf={name:"times",style:"line",path:''},Ef={name:"x",style:"line",path:''};Ei.add([yf,vf,Ef,Sf,wf,xf,bf]);const Bn=qc(af);Bn.use(Ei);Bn.use(Jc());Bn.use(gf);Bn.mount("#app");export{Se as F,Af as T,Si as _,cn as a,Rf as b,Te as c,Tf as d,ft as e,Bs as f,ke as g,ue as h,ac as i,Pf as j,Of as k,en as l,gn as m,As as n,wl as o,ei as p,si as q,Fs as r,Cf as s,Xr as t,Be as u,Wt as w}; diff --git a/dist/favicon.ico b/dist/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/dist/favicon.ico differ diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..b21f668 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,14 @@ + + + + + + + Vite App + + + + +
+ + diff --git a/index.d.ts b/index.d.ts index 5839936..e69de29 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1 +0,0 @@ -declare module 'vue-unicons/dist/icons' diff --git a/src/components/EventCalendar/EventCal.vue b/src/components/EventCalendar/EventCal.vue index 7296d8b..1376394 100644 --- a/src/components/EventCalendar/EventCal.vue +++ b/src/components/EventCalendar/EventCal.vue @@ -98,7 +98,7 @@ const handleDateSelect = (selectInfo: DateSelectArg) => { eventStore.initializeNewEvent(selectInfo); eventStore.openModalNew('Create a new event'); }; -const handleEventClick = (clickInfo) => { +const handleEventClick = (clickInfo: { event: EventApi }) => { eventStore.openModalEdit(clickInfo.event.title, clickInfo.event); }; const handleEvents = (events: EventApi[]) => {