/*! For license information please see events-calendar-widget.js.LICENSE.txt */
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";n.r(t);var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var s,l,u,c,d,f,p,h,v={},g=[],m=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){var t=e.parentNode;t&&t.removeChild(e)}function _(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?s.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return D(e,a,r,o,null)}function D(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u:o};return null==o&&null!=l.vnode&&l.vnode(i),i}function S(){return{current:null}}function E(e){return e.children}function C(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||m.test(t)?n:n+"px"}function w(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||C(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||C(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?k:R,i):e.removeEventListener(t,i?k:R,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function R(e){c=!0;try{return this.l[e.type+!1](l.event?l.event(e):e)}finally{c=!1}}function k(e){c=!0;try{return this.l[e.type+!0](l.event?l.event(e):e)}finally{c=!1}}function T(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?x(e):null}function M(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return M(e)}}function I(e){c?setTimeout(e):p(e)}function P(e){(!e.__d&&(e.__d=!0)&&d.push(e)&&!N.__r++||f!==l.debounceRendering)&&((f=l.debounceRendering)||I)(N)}function N(){var e,t,n,r,o,i,a,s;for(d.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=d.shift();)e.__d&&(t=d.length,r=void 0,o=void 0,a=(i=(n=e).__v).__e,(s=n.__P)&&(r=[],(o=y({},i)).__v=i.__v+1,F(s,i,o,n.__n,void 0!==s.ownerSVGElement,null!=i.__h?[a]:null,r,null==a?x(i):a,i.__h),L(r,i),i.__e!=a&&M(i)),d.length>t&&d.sort((function(e,t){return e.__v.__b-t.__v.__b})));N.__r=0}function H(e,t,n,r,o,i,a,s,l,u){var c,d,f,p,h,m,y,b=r&&r.__k||g,_=b.length;for(n.__k=[],c=0;c<t.length;c++)if(null!=(p=n.__k[c]=null==(p=t[c])||"boolean"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?D(null,p,null,null,p):Array.isArray(p)?D(E,{children:p},null,null,null):p.__b>0?D(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)){if(p.__=n,p.__b=n.__b+1,null===(f=b[c])||f&&p.key==f.key&&p.type===f.type)b[c]=void 0;else for(d=0;d<_;d++){if((f=b[d])&&p.key==f.key&&p.type===f.type){b[d]=void 0;break}f=null}F(e,p,f=f||v,o,i,a,s,l,u),h=p.__e,(d=p.ref)&&f.ref!=d&&(y||(y=[]),f.ref&&y.push(f.ref,null,p),y.push(d,p.__c||h,p)),null!=h?(null==m&&(m=h),"function"==typeof p.type&&p.__k===f.__k?p.__d=l=O(p,l,e):l=U(e,p,f,b,h,l),"function"==typeof n.type&&(n.__d=l)):l&&f.__e==l&&l.parentNode!=e&&(l=x(f))}for(n.__e=m,c=_;c--;)null!=b[c]&&("function"==typeof n.type&&null!=b[c].__e&&b[c].__e==n.__d&&(n.__d=W(r).nextSibling),B(b[c],b[c]));if(y)for(c=0;c<y.length;c++)V(y[c],y[++c],y[++c])}function O(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?O(r,t,n):U(n,r,r,o,r.__e,t));return t}function A(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){A(e,t)})):t.push(e)),t}function U(e,t,n,r,o,i){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=1)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function W(e){var t,n,r;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(r=W(n)))return r;return null}function F(e,t,n,r,o,i,a,s,u){var c,d,f,p,h,v,g,m,b,_,D,S,C,w,R,k=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(c=l.__b)&&c(t);try{e:if("function"==typeof k){if(m=t.props,b=(c=k.contextType)&&r[c.__c],_=c?b?b.props.value:c.__:r,n.__c?g=(d=t.__c=n.__c).__=d.__E:("prototype"in k&&k.prototype.render?t.__c=d=new k(m,_):(t.__c=d=new T(m,_),d.constructor=k,d.render=j),b&&b.sub(d),d.props=m,d.state||(d.state={}),d.context=_,d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=k.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=y({},d.__s)),y(d.__s,k.getDerivedStateFromProps(m,d.__s))),p=d.props,h=d.state,d.__v=t,f)null==k.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==k.getDerivedStateFromProps&&m!==p&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(m,_),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(m,d.__s,_)||t.__v===n.__v){for(t.__v!==n.__v&&(d.props=m,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),D=0;D<d._sb.length;D++)d.__h.push(d._sb[D]);d._sb=[],d.__h.length&&a.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(m,d.__s,_),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(p,h,v)}))}if(d.context=_,d.props=m,d.__P=e,S=l.__r,C=0,"prototype"in k&&k.prototype.render){for(d.state=d.__s,d.__d=!1,S&&S(t),c=d.render(d.props,d.state,d.context),w=0;w<d._sb.length;w++)d.__h.push(d._sb[w]);d._sb=[]}else do{d.__d=!1,S&&S(t),c=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++C<25);d.state=d.__s,null!=d.getChildContext&&(r=y(y({},r),d.getChildContext())),f||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(p,h)),R=null!=c&&c.type===E&&null==c.key?c.props.children:c,H(e,Array.isArray(R)?R:[R],t,n,r,o,i,a,s,u),d.base=t.__e,t.__h=null,d.__h.length&&a.push(d),g&&(d.__E=d.__=null),d.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=z(n.__e,t,n,r,o,i,a,u);(c=l.diffed)&&c(t)}catch(e){t.__v=null,(u||null!=i)&&(t.__e=s,t.__h=!!u,i[i.indexOf(s)]=null),l.__e(e,t,n)}}function L(e,t){l.__c&&l.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){l.__e(e,t.__v)}}))}function z(e,t,n,r,o,i,a,l){var u,c,d,f=n.props,p=t.props,h=t.type,g=0;if("svg"===h&&(o=!0),null!=i)for(;g<i.length;g++)if((u=i[g])&&"setAttribute"in u==!!h&&(h?u.localName===h:3===u.nodeType)){e=u,i[g]=null;break}if(null==e){if(null===h)return document.createTextNode(p);e=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,p.is&&p),i=null,l=!1}if(null===h)f===p||l&&e.data===p||(e.data=p);else{if(i=i&&s.call(e.childNodes),c=(f=n.props||v).dangerouslySetInnerHTML,d=p.dangerouslySetInnerHTML,!l){if(null!=i)for(f={},g=0;g<e.attributes.length;g++)f[e.attributes[g].name]=e.attributes[g].value;(d||c)&&(d&&(c&&d.__html==c.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||w(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||w(e,i,t[i],n[i],r)}(e,p,f,o,l),d)t.__k=[];else if(g=t.props.children,H(e,Array.isArray(g)?g:[g],t,n,r,o&&"foreignObject"!==h,i,a,i?i[0]:n.__k&&x(n,0),l),null!=i)for(g=i.length;g--;)null!=i[g]&&b(i[g]);l||("value"in p&&void 0!==(g=p.value)&&(g!==e.value||"progress"===h&&!g||"option"===h&&g!==f.value)&&w(e,"value",g,f.value,!1),"checked"in p&&void 0!==(g=p.checked)&&g!==e.checked&&w(e,"checked",g,f.checked,!1))}return e}function V(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){l.__e(e,n)}}function B(e,t,n){var r,o;if(l.unmount&&l.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||V(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){l.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&B(r[o],t,n||"function"!=typeof e.type);n||null==e.__e||b(e.__e),e.__=e.__e=e.__d=void 0}function j(e,t,n){return this.constructor(e,n)}function G(e,t,n){var r,o,i;l.__&&l.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],F(t,e=(!r&&n||t).__k=_(E,null,[e]),o||v,v,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?s.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),L(i,e)}function q(e,t){var n={__c:t="__cC"+h++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,P(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}s=g.slice,l={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},u=0,c=!1,T.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=y({},this.state),"function"==typeof e&&(e=e(y({},n),this.props)),e&&y(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),P(this))},T.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),P(this))},T.prototype.render=E,d=[],p="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,N.__r=0,h=0;var Z,Y,K,X=[],J=[],Q=l.__b,ee=l.__r,te=l.diffed,ne=l.__c,re=l.unmount;function oe(){for(var e;e=X.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(se),e.__H.__h.forEach(le),e.__H.__h=[]}catch(t){e.__H.__h=[],l.__e(t,e.__v)}}l.__b=function(e){Z=null,Q&&Q(e)},l.__r=function(e){ee&&ee(e),0;var t=(Z=e.__c).__H;t&&(Y===Z?(t.__h=[],Z.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=J,e.__N=e.i=void 0}))):(t.__h.forEach(se),t.__h.forEach(le),t.__h=[])),Y=Z},l.diffed=function(e){te&&te(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==X.push(t)&&K===l.requestAnimationFrame||((K=l.requestAnimationFrame)||ae)(oe)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==J&&(e.__=e.__V),e.i=void 0,e.__V=J}))),Y=Z=null},l.__c=function(e,t){t.some((function(e){try{e.__h.forEach(se),e.__h=e.__h.filter((function(e){return!e.__||le(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],l.__e(n,e.__v)}})),ne&&ne(e,t)},l.unmount=function(e){re&&re(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{se(e)}catch(e){t=e}})),n.__H=void 0,t&&l.__e(t,n.__v))};var ie="function"==typeof requestAnimationFrame;function ae(e){var t,n=function(){clearTimeout(r),ie&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ie&&(t=requestAnimationFrame(n))}function se(e){var t=Z,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Z=t}function le(e){var t=Z;e.__c=e.__(),Z=t}function ue(e,t){for(var n in t)e[n]=t[n];return e}function ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function de(e){this.props=e}(de.prototype=new T).isPureReactComponent=!0,de.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var fe=l.__b;l.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),fe&&fe(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var pe=l.__e;l.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);pe(e,t,n,r)};var he=l.unmount;function ve(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=ue({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return ve(e,t,n)}))),e}function ge(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return ge(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function me(){this.__u=0,this.t=null,this.__b=null}function ye(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function be(){this.u=null,this.o=null}l.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),he&&he(e)},(me.prototype=new T).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=ye(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=ge(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},me.prototype.componentWillUnmount=function(){this.t=[]},me.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=ve(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&_(E,null,e.fallback);return o&&(o.__h=null),[_(E,null,t.__a?null:e.children),o]};var _e=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function De(e){return this.getChildContext=function(){return e.context},e.children}function Se(e){var t=this,n=e.i;t.componentWillUnmount=function(){G(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),G(_(De,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Ee(e,t){var n=_(Se,{__v:e,i:t});return n.containerInfo=t,n}(be.prototype=new T).__a=function(e){var t=this,n=ye(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),_e(t,e,r)):o()};n?n(i):i()}},be.prototype.render=function(e){this.u=null,this.o=new Map;var t=A(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},be.prototype.componentDidUpdate=be.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){_e(e,n,t)}))};var Ce="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,we=/^(?: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]/,Re="undefined"!=typeof document,ke=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};T.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(T.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Te=l.event;function xe(){}function Me(){return this.cancelBubble}function Ie(){return this.defaultPrevented}l.event=function(e){return Te&&(e=Te(e)),e.persist=xe,e.isPropagationStopped=Me,e.isDefaultPrevented=Ie,e.nativeEvent=e};var Pe={configurable:!0,get:function(){return this.class}},Ne=l.vnode;l.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];Re&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!ke(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&we.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=A(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=A(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Pe.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Pe))}e.$$typeof=Ce,Ne&&Ne(e)};var He=l.__r;l.__r=function(e){He&&He(e),e.__c};var Oe="undefined"!=typeof globalThis?globalThis:window;Oe.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):Oe.FullCalendarVDom={Component:T,createElement:_,render:G,createRef:S,Fragment:E,createContext:function(e){var t=q(e),n=t.Provider;return t.Provider=function(){var e=this,t=!this.getChildContext,r=n.apply(this,arguments);if(t){var o=[];this.shouldComponentUpdate=function(t){e.props.value!==t.value&&o.forEach((function(e){e.context=t.value,e.forceUpdate()}))},this.sub=function(e){o.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){o.splice(o.indexOf(e),1),t&&t.call(e)}}}return r},t},createPortal:Ee,flushSync:function(e){e();var t=l.debounceRendering,n=[];function r(e){n.push(e)}l.debounceRendering=r,G(_(Ae,{}),document.createElement("div"));for(;n.length;)n.shift()();l.debounceRendering=t},unmountComponentAtNode:function(e){G(null,e)}};var Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return _("div",{})},t.prototype.componentDidMount=function(){this.setState({})},t}(T);if("undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var Ue=FullCalendarVDom.Component,We=FullCalendarVDom.createElement,Fe=FullCalendarVDom.render,Le=FullCalendarVDom.createRef,ze=FullCalendarVDom.Fragment,Ve=FullCalendarVDom.createContext,Be=FullCalendarVDom.createPortal,je=FullCalendarVDom.flushSync,Ge=FullCalendarVDom.unmountComponentAtNode,qe=function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}();function Ze(e){e.parentNode&&e.parentNode.removeChild(e)}function Ye(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if($e(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function $e(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}var Ke=/(top|left|right|bottom|width|height)$/i;function Xe(e,t){for(var n in t)Je(e,n,t[n])}function Je(e,t,n){null==n?e.style[t]="":"number"==typeof n&&Ke.test(t)?e.style[t]=n+"px":e.style[t]=n}var Qe=0;function et(){return"fc-dom-"+(Qe+=1)}function tt(e,t,n,r){var o=function(e,t){return function(n){var r=Ye(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}function nt(e){return i({onClick:e},rt(e))}function rt(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var ot=0;function it(){return String(ot+=1)}function at(e,t,n){return n.func?n.func(e,t):function(e,t){if(!e&&!t)return 0;if(null==t)return-1;if(null==e)return 1;if("string"==typeof e||"string"==typeof t)return String(e).localeCompare(String(t));return e-t}(e[n.field],t[n.field])*(n.order||1)}function st(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function lt(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function ut(e){return e%1==0}function ct(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var dt=["sun","mon","tue","wed","thu","fri","sat"];function ft(e,t){var n=St(e);return n[2]+=7*t,Et(n)}function pt(e,t){var n=St(e);return n[2]+=t,Et(n)}function ht(e,t){var n=St(e);return n[6]+=t,Et(n)}function vt(e,t){return(t.valueOf()-e.valueOf())/864e5}function gt(e,t){return wt(e)===wt(t)?Math.round(vt(e,t)):null}function mt(e){return Et([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function yt(e,t,n,r){var o=Et([t,0,1+bt(t,n,r)]),i=mt(e),a=Math.round(vt(o,i));return Math.floor(a/7)+1}function bt(e,t,n){var r=7+t-n;return-((7+Et([e,0,r]).getUTCDay()-t)%7)+r-1}function _t(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function Dt(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function St(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function Et(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function Ct(e){return!isNaN(e.valueOf())}function wt(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function Rt(e,t,n,r){return{instanceId:it(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var kt=Object.prototype.hasOwnProperty;function Tt(e,t){var n={};if(t)for(var r in t){for(var o=[],i=e.length-1;i>=0;i-=1){var a=e[i][r];if("object"==typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=Tt(o))}for(i=e.length-1;i>=0;i-=1){var s=e[i];for(var l in s)l in n||(n[l]=s[l])}return n}function xt(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function Mt(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function It(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function Pt(e){var t=[];for(var n in e)t.push(e[n]);return t}function Nt(e,t){if(e===t)return!0;for(var n in e)if(kt.call(e,n)&&!(n in t))return!1;for(var n in t)if(kt.call(t,n)&&e[n]!==t[n])return!1;return!0}function Ht(e,t){var n=[];for(var r in e)kt.call(e,r)&&(r in t||n.push(r));for(var r in t)kt.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function Ot(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!At(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function At(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function Ut(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=xt(s,(function(e){return!a[e.defId].recurringDef})),a){var u=a[l];if(u.recurringDef){var c=u.recurringDef.duration;c||(c=u.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=0,f=Wt(u,c,t,r,o.recurringTypes);d<f.length;d++){var p=f[d],h=Rt(l,{start:p,end:r.add(p,c)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function Wt(e,t,n,r,o){var i=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(i=i.map(mt)),i}var Ft=["years","months","days","milliseconds"],Lt=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function zt(e,t){var n;return"string"==typeof e?function(e){var t=Lt.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?Vt(e):"number"==typeof e?Vt(((n={})[t||"milliseconds"]=e,n)):null}function Vt(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function Bt(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function jt(e){return Gt(e)/864e5}function Gt(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function qt(e,t){for(var n=null,r=0;r<Ft.length;r+=1){var o=Ft[r];if(t[o]){var i=e[o]/t[o];if(!ut(i)||null!==n&&n!==i)return null;n=i}else if(e[o])return null}return n}function Zt(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function Yt(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",Kt(t,!0)))),r}function $t(e){return e.toISOString().replace(/T.*$/,"")}function Kt(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=Math.round(r%60);return t?n+st(o,2)+":"+st(i,2):"GMT"+n+o+(i?":"+st(i,2):"")}function Xt(e,t,n){if(e===t)return!0;var r,o=e.length;if(o!==t.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function Jt(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!Xt(r,i)){n&&n(o);var s=e.apply(this,i);t&&t(s,o)||(o=s)}}else o=e.apply(this,i);return r=i,o}}function Qt(e,t,n){var r,o,i=this;return function(a){if(r){if(!Nt(r,a)){n&&n(o);var s=e.call(i,a);t&&t(s,o)||(o=s)}}else o=e.call(i,a);return r=a,o}}var en={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},tn={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},nn=/\s*([ap])\.?m\.?/i,rn=/,/g,on=/\s+/g,an=/\u200e/g,sn=/UTC|GMT/,ln=function(){function e(e){var t={},n={},r=0;for(var o in e)o in en?(n[o]=e[o],r=Math.max(en[o],r)):(t[o]=e[o],o in tn&&(r=Math.max(tn[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=Jt(un)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var o=this.standardDateProps,i=this.extendedSettings,a=function(e,t,n){if(n.getMarkerYear(e)!==n.getMarkerYear(t))return 5;if(n.getMarkerMonth(e)!==n.getMarkerMonth(t))return 4;if(n.getMarkerDay(e)!==n.getMarkerDay(t))return 2;if(wt(e)!==wt(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!a)return this.format(e,n);var s=a;!(s>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(s=1);var l=this.format(e,n),u=this.format(t,n);if(l===u)return l;var c=un(function(e,t){var n={};for(var r in e)(!(r in tn)||tn[r]<=t)&&(n[r]=e[r]);return n}(o,s),i,n),d=c(e),f=c(t),p=function(e,t,n,r){var o=0;for(;o<e.length;){var i=e.indexOf(t,o);if(-1===i)break;var a=e.substr(0,i);o=i+t.length;for(var s=e.substr(o),l=0;l<n.length;){var u=n.indexOf(r,l);if(-1===u)break;var c=n.substr(0,u);l=u+r.length;var d=n.substr(l);if(a===c&&s===d)return{before:a,after:s}}}return null}(l,d,u,f),h=i.separator||r||n.defaultSeparator||"";return p?p.before+d+h+f+p.after:l+h+u},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function un(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return Kt(e.timeZoneOffset)}:0===r&&t.week?function(e){return function(e,t,n,r,o){var i=[];"long"===o?i.push(n):"short"!==o&&"narrow"!==o||i.push(t);"long"!==o&&"short"!==o||i.push(" ");i.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&i.reverse();return i.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:function(e,t,n){e=i({},e),t=i({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit"));"long"===e.timeZoneName&&(e.timeZoneName="short");t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";var r,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var a=i({},e);delete a.minute,r=new Intl.DateTimeFormat(n.locale.codes,a)}return function(i){var a=i.marker;return function(e,t,n,r,o){e=e.replace(an,""),"short"===n.timeZoneName&&(e=function(e,t){var n=!1;e=e.replace(sn,(function(){return n=!0,t})),n||(e+=" "+t);return e}(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":Kt(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(rn,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));!1===r.meridiem?e=e.replace(nn,"").trim():"narrow"===r.meridiem?e=e.replace(nn,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(nn,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(nn,(function(e){return e.toLocaleLowerCase()})));return e=e.replace(on," "),e=e.trim(),e}((r&&!a.getUTCMinutes()?r:o).format(a),i,e,t,n)}}(e,t,n)}function cn(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function dn(e,t,n,r){var o=cn(e,n.calendarSystem);return{date:o,start:o,end:t?cn(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var fn=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,dn(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,dn(e,t,n,r))},e}(),pn=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(dn(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(dn(e,t,n,r))},e}();function hn(e){return"object"==typeof e&&e?new ln(e):"string"==typeof e?new fn(e):"function"==typeof e?new pn(e):null}var vn={navLinkDayClick:Cn,navLinkWeekClick:Cn,duration:zt,bootstrapFontAwesome:Cn,buttonIcons:Cn,customButtons:Cn,defaultAllDayEventDuration:zt,defaultTimedEventDuration:zt,nextDayThreshold:zt,scrollTime:zt,scrollTimeReset:Boolean,slotMinTime:zt,slotMaxTime:zt,dayPopoverFormat:hn,slotDuration:zt,snapDuration:zt,headerToolbar:Cn,footerToolbar:Cn,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:hn,dayHeaderClassNames:Cn,dayHeaderContent:Cn,dayHeaderDidMount:Cn,dayHeaderWillUnmount:Cn,dayCellClassNames:Cn,dayCellContent:Cn,dayCellDidMount:Cn,dayCellWillUnmount:Cn,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:Cn,weekNumbers:Boolean,weekNumberClassNames:Cn,weekNumberContent:Cn,weekNumberDidMount:Cn,weekNumberWillUnmount:Cn,editable:Boolean,viewClassNames:Cn,viewDidMount:Cn,viewWillUnmount:Cn,nowIndicator:Boolean,nowIndicatorClassNames:Cn,nowIndicatorContent:Cn,nowIndicatorDidMount:Cn,nowIndicatorWillUnmount:Cn,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:Cn,locale:Cn,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:Cn,eventOrder:function(e){var t,n,r=[],o=[];for("string"==typeof e?o=e.split(/\s*,\s*/):"function"==typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t+=1)"string"==typeof(n=o[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r},eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:Cn,contentHeight:Cn,direction:String,weekNumberFormat:hn,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:Cn,initialDate:Cn,now:Cn,eventDataTransform:Cn,stickyHeaderDates:Cn,stickyFooterScrollbar:Cn,viewHeight:Cn,defaultAllDay:Boolean,eventSourceFailure:Cn,eventSourceSuccess:Cn,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:Cn,eventConstraint:Cn,eventAllow:Cn,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:Cn,eventContent:Cn,eventDidMount:Cn,eventWillUnmount:Cn,selectConstraint:Cn,selectOverlap:Cn,selectAllow:Cn,droppable:Boolean,unselectCancel:String,slotLabelFormat:Cn,slotLaneClassNames:Cn,slotLaneContent:Cn,slotLaneDidMount:Cn,slotLaneWillUnmount:Cn,slotLabelClassNames:Cn,slotLabelContent:Cn,slotLabelDidMount:Cn,slotLabelWillUnmount:Cn,dayMaxEvents:Cn,dayMaxEventRows:Cn,dayMinWidth:Number,slotLabelInterval:zt,allDayText:String,allDayClassNames:Cn,allDayContent:Cn,allDayDidMount:Cn,allDayWillUnmount:Cn,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:hn,rerenderDelay:Number,moreLinkText:Cn,moreLinkHint:Cn,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:Cn,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:zt,hiddenDays:Cn,monthMode:Boolean,fixedWeekCount:Boolean,validRange:Cn,visibleRange:Cn,titleFormat:Cn,eventInteractive:Boolean,noEventsText:String,viewHint:Cn,navLinkHint:Cn,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:Cn,moreLinkClassNames:Cn,moreLinkContent:Cn,moreLinkDidMount:Cn,moreLinkWillUnmount:Cn},gn={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},mn={datesSet:Cn,eventsSet:Cn,eventAdd:Cn,eventChange:Cn,eventRemove:Cn,windowResize:Cn,eventClick:Cn,eventMouseEnter:Cn,eventMouseLeave:Cn,select:Cn,unselect:Cn,loading:Cn,_unmount:Cn,_beforeprint:Cn,_afterprint:Cn,_noEventDrop:Cn,_noEventResize:Cn,_resize:Cn,_scrollRequest:Cn},yn={buttonText:Cn,buttonHints:Cn,views:Cn,plugins:Cn,initialEvents:Cn,events:Cn,eventSources:Cn},bn={headerToolbar:_n,footerToolbar:_n,buttonText:_n,buttonHints:_n,buttonIcons:_n,dateIncrement:_n};function _n(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?Nt(e,t):e===t}var Dn={type:String,component:Cn,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:Cn,usesMinMaxTime:Boolean,classNames:Cn,content:Cn,didMount:Cn,willUnmount:Cn};function Sn(e){return Tt(e,bn)}function En(e,t){var n={},r={};for(var o in t)o in e&&(n[o]=t[o](e[o]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function Cn(e){return e}function wn(e,t,n,r){for(var o={defs:{},instances:{}},i=zn(n),a=0,s=e;a<s.length;a++){var l=Fn(s[a],t,n,r,i);l&&Rn(l,o)}return o}function Rn(e,t){return void 0===t&&(t={defs:{},instances:{}}),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function kn(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=xn(e,(function(e){return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId);var t,n}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return{defs:{},instances:{}}}function Tn(e,t){return{defs:i(i({},e.defs),t.defs),instances:i(i({},e.instances),t.instances)}}function xn(e,t){var n=xt(e.defs,t),r=xt(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function Mn(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var In={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:Cn,overlap:Cn,allow:Cn,className:Mn,classNames:Mn,color:String,backgroundColor:String,borderColor:String,textColor:String},Pn={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Nn(e,t){var n=function(e,t){return Array.isArray(e)?wn(e,null,t,!0):"object"==typeof e&&e?wn([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function Hn(e){return e.reduce(On,Pn)}function On(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var An={id:String,groupId:String,title:String,url:String,interactive:Boolean},Un={start:Cn,end:Cn,date:Cn,allDay:Boolean},Wn=i(i(i({},An),Un),{extendedProps:Cn});function Fn(e,t,n,r,o){void 0===o&&(o=zn(n));var i=Ln(e,n,o),a=i.refined,s=i.extra,l=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),u=function(e,t,n,r){for(var o=0;o<r.length;o+=1){var i=r[o].parse(e,n);if(i){var a=e.allDay;return null==a&&null==(a=t)&&null==(a=i.allDayGuess)&&(a=!1),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(u)return(c=Vn(a,s,t?t.sourceId:"",u.allDay,Boolean(u.duration),n)).recurringDef={typeId:u.typeId,typeData:u.typeData,duration:u.duration},{def:c,instance:null};var c,d=function(e,t,n,r){var o,i,a=e.allDay,s=null,l=!1,u=null,c=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(c),o)s=o.marker;else if(!r)return null;null!=e.end&&(i=n.dateEnv.createMarkerMeta(e.end));null==a&&(a=null!=t?t:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified));a&&s&&(s=mt(s));i&&(u=i.marker,a&&(u=mt(u)),s&&u<=s&&(u=null));u?l=!0:r||(l=n.options.forceEventDuration||!1,u=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:u},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}(a,l,n,r);return d?{def:c=Vn(a,s,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:Rt(c.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function Ln(e,t,n){return void 0===n&&(n=zn(t)),En(e,n)}function zn(e){return i(i(i({},In),Wn),e.pluginHooks.eventRefiners)}function Vn(e,t,n,r,o,a){for(var s={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:it(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:Nn(e,a),extendedProps:i(i({},e.extendedProps||{}),t)},l=0,u=a.pluginHooks.eventDefMemberAdders;l<u.length;l++){var c=u[l];i(s,c(e))}return Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),s}function Bn(e){var t=Math.floor(vt(e.start,e.end))||1,n=mt(e.start);return{start:n,end:pt(n,t)}}function jn(e,t){void 0===t&&(t=zt(0));var n=null,r=null;if(e.end){r=mt(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=Gt(t)&&(r=pt(r,1))}return e.start&&(n=mt(e.start),r&&r<=n&&(r=pt(n,1))),{start:n,end:r}}function Gn(e,t,n,r){return"year"===r?zt(n.diffWholeYears(e,t),"year"):"month"===r?zt(n.diffWholeMonths(e,t),"month"):(i=t,a=mt(o=e),s=mt(i),{years:0,months:0,days:Math.round(vt(a,s)),milliseconds:i.valueOf()-s.valueOf()-(o.valueOf()-a.valueOf())});var o,i,a,s}function qn(e,t){var n,r,o=[],i=t.start;for(e.sort(Zn),n=0;n<e.length;n+=1)(r=e[n]).start>i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<t.end&&o.push({start:i,end:t.end}),o}function Zn(e,t){return e.start.valueOf()-t.start.valueOf()}function Yn(e,t){var n=e.start,r=e.end,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function $n(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function Kn(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function Xn(e,t,n,r){var o={},i={},a={},s=[],l=[],u=er(e.defs,t);for(var c in e.defs){"inverse-background"===(p=u[(_=e.defs[c]).defId]).display&&(_.groupId?(o[_.groupId]=[],a[_.groupId]||(a[_.groupId]=_)):i[c]=[])}for(var d in e.instances){var f=e.instances[d],p=u[(_=e.defs[f.defId]).defId],h=f.range,v=!_.allDay&&r?jn(h,r):h,g=Yn(v,n);g&&("inverse-background"===p.display?_.groupId?o[_.groupId].push(g):i[f.defId].push(g):"none"!==p.display&&("background"===p.display?s:l).push({def:_,ui:p,instance:f,range:g,isStart:v.start&&v.start.valueOf()===g.start.valueOf(),isEnd:v.end&&v.end.valueOf()===g.end.valueOf()}))}for(var m in o)for(var y=0,b=qn(o[m],n);y<b.length;y++){var _,D=b[y];p=u[(_=a[m]).defId];s.push({def:_,ui:p,instance:null,range:D,isStart:!1,isEnd:!1})}for(var c in i)for(var S=0,E=qn(i[c],n);S<E.length;S++){D=E[S];s.push({def:e.defs[c],ui:u[c],instance:null,range:D,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function Jn(e,t){e.fcSeg=t}function Qn(e){return e.fcSeg||e.parentNode.fcSeg||null}function er(e,t){return Mt(e,(function(e){return tr(e,t)}))}function tr(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),Hn(n)}function nr(e,t){var n=e.map(rr);return n.sort((function(e,n){return function(e,t,n){var r,o;for(r=0;r<n.length;r+=1)if(o=at(e,t,n[r]))return o;return 0}(e,n,t)})),n.map((function(e){return e._seg}))}function rr(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,o=r.start?r.start.valueOf():0,a=r.end?r.end.valueOf():0;return i(i(i({},n.extendedProps),n),{id:n.publicId,start:o,end:a,duration:a-o,allDay:Number(n.allDay),_seg:e})}function or(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,o,i,t)}return a}function ir(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function ar(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function sr(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,u=l.displayEventTime,c=l.displayEventEnd,d=e.eventRange.def,f=e.eventRange.instance;null==u&&(u=!1!==r),null==c&&(c=!1!==o);var p=f.range.start,h=f.range.end,v=i||e.start||e.eventRange.range.start,g=a||e.end||e.eventRange.range.end,m=mt(p).valueOf()===mt(v).valueOf(),y=mt(ht(h,-1)).valueOf()===mt(ht(g,-1)).valueOf();return u&&!d.allDay&&(m||y)?(v=m?p:v,g=y?h:g,c&&d.hasEnd?s.formatRange(v,g,t,{forcedStartTzo:i?null:f.forcedStartTzo,forcedEndTzo:a?null:f.forcedEndTzo}):s.format(v,t,{forcedTzo:i?null:f.forcedStartTzo})):""}function lr(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&Kn(t,r.start)}}function ur(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}function cr(e,t){var n=e.eventRange,r=n.def,o=n.instance,i=r.url;if(i)return{href:i};var a=t.emitter,s=t.options.eventInteractive;return null==s&&null==(s=r.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s?rt((function(e){a.trigger("eventClick",{el:e.target,event:new wr(t,r,o),jsEvent:e,view:t.viewApi})})):{}}var dr={start:Cn,end:Cn,allDay:Boolean};function fr(e,t,n){var r=function(e,t){var n=En(e,dr),r=n.refined,o=n.extra,a=r.start?t.createMarkerMeta(r.start):null,s=r.end?t.createMarkerMeta(r.end):null,l=r.allDay;null==l&&(l=a&&a.isTimeUnspecified&&(!s||s.isTimeUnspecified));return i({range:{start:a?a.marker:null,end:s?s.marker:null},allDay:l},o)}(e,t),o=r.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return r}function pr(e,t,n){return i(i({},hr(e,t,n)),{timeZone:t.timeZone})}function hr(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function vr(e,t){for(var n,r,o={},a=0,s=t.pluginHooks.dateSpanTransforms;a<s.length;a++){var l=s[a];i(o,l(e,t))}return i(o,(n=e,r=t.dateEnv,i(i({},hr(n.range,r,n.allDay)),{allDay:n.allDay}))),o}function gr(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=mt(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function mr(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var a=i(i(i({},e),o),{ui:i(i({},e.ui),o.ui)});n.extendedProps&&(a.extendedProps=i(i({},a.extendedProps),n.extendedProps));for(var s=0,l=r.pluginHooks.eventDefMutationAppliers;s<l.length;s++){(0,l[s])(a,n,r)}return!a.hasEnd&&r.options.forceEventDuration&&(a.hasEnd=!0),a}function yr(e,t,n,r,o){var a=o.dateEnv,s=r.standardProps&&!0===r.standardProps.allDay,l=r.standardProps&&!1===r.standardProps.hasEnd,u=i({},e);return s&&(u.range=Bn(u.range)),r.datesDelta&&n.startEditable&&(u.range={start:a.add(u.range.start,r.datesDelta),end:a.add(u.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(u.range={start:a.add(u.range.start,r.startDelta),end:u.range.end}),r.endDelta&&n.durationEditable&&(u.range={start:u.range.start,end:a.add(u.range.end,r.endDelta)}),l&&(u.range={start:u.range.start,end:gr(t.allDay,u.range.start,o)}),t.allDay&&(u.range={start:mt(u.range.start),end:mt(u.range.end)}),u.range.end<u.range.start&&(u.range.end=gr(t.allDay,u.range.start,o)),u}var br=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),_r={id:String,defaultAllDay:Boolean,url:String,format:String,events:Cn,eventDataTransform:Cn,success:Cn,failure:Cn};function Dr(e,t,n){var r;if(void 0===n&&(n=Sr(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var o=En(r,n),i=o.refined,a=o.extra,s=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r].parseMeta(e);if(o)return{sourceDefId:r,meta:o}}return null}(i,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:it(),sourceDefId:s.sourceDefId,meta:s.meta,ui:Nn(i,t),extendedProps:a}}return null}function Sr(e){return i(i(i({},In),_r),e.pluginHooks.eventSourceRefiners)}function Er(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var Cr=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,a([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(var s in o)a.push(s);for(t=0;t<a.length;t+=1)if((n=o[a[t]])&&n.singleUnit===e)return n;return null},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:Er(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=zt(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),hn(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),hn(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),o=fr(n,r.dateEnv,zt({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),function(e,t,n){n.emitter.trigger("select",i(i({},vr(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof wr){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Rn({def:n,instance:r})}),this.triggerEventAdd(e)),e}var o,i=this.getCurrentData();if(t instanceof qe)o=t.internalEventSource;else if("boolean"==typeof t)t&&(o=Pt(i.eventSources)[0]);else if(null!=t){var a=this.getEventSourceById(t);if(!a)return console.warn('Could not find an event source with ID "'+t+'"'),null;o=a.internalEventSource}var s=Fn(e,o,i,!1);if(s){var l=new wr(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Rn(s)}),this.triggerEventAdd(l),l}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:Rr(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,o=n.instances;for(var i in e=String(e),r){var a=r[i];if(a.publicId===e){if(a.recurringDef)return new wr(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new wr(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return kr(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new qe(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new qe(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof qe)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=Dr(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new qe(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},e.prototype.scrollToTime=function(e){var t=zt(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),wr=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in Un)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=An[e](t),this.mutate({standardProps:{publicId:t}});else if(e in An)t=An[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in In){var o=In[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:((r={})[e]=t,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var o=Gn(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance)if(n){var o=Gn(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,o,i,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(e);if(l&&((null==t||(r=a.createMarker(t)))&&this._instance)){var u=this._instance.range;!0===n.allDay&&(u=Bn(u));var c=Gn(u.start,l,a,n.granularity);if(r){var d=Gn(u.end,r,a,n.granularity);i=d,(o=c).years===i.years&&o.months===i.months&&o.days===i.days&&o.milliseconds===i.milliseconds?this.mutate({datesDelta:c,standardProps:s}):this.mutate({startDelta:c,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:c,standardProps:s})}},e.prototype.moveStart=function(e){var t=zt(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=zt(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=zt(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=hn(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=kn(i,n.instanceId);a=function(e,t,n,r){var o=er(e.defs,t),i={defs:{},instances:{}};for(var a in e.defs){var s=e.defs[a];i.defs[a]=mr(s,o[a],n,r)}for(var l in e.instances){var u=e.instances[l];s=i.defs[u.defId],i.instances[l]=yr(u,s,o[u.defId],n,r)}return i}(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var s=new e(o,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:a}),o.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:kr(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=Rr(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new qe(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,o=this.endStr,a={};return t.title&&(a.title=t.title),r&&(a.start=r),o&&(a.end=o),t.publicId&&(a.id=t.publicId),t.groupId&&(a.groupId=t.groupId),t.url&&(a.url=t.url),n.display&&"auto"!==n.display&&(a.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?a.color=n.backgroundColor:(n.backgroundColor&&(a.backgroundColor=n.backgroundColor),n.borderColor&&(a.borderColor=n.borderColor)),n.textColor&&(a.textColor=n.textColor),n.classNames.length&&(a.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?i(a,t.extendedProps):a.extendedProps=t.extendedProps),a},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function Rr(e){var t,n,r=e._def,o=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:o?(n={},n[o.instanceId]=o,n):{}}}function kr(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],u=r[l.defId];l.instanceId!==a&&i.push(new wr(t,u,l))}return i}var Tr={};var xr,Mr=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return Et(e)},e.prototype.markerToArray=function(e){return St(e)},e}();xr=Mr,Tr["gregory"]=xr;var Ir=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var Pr=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new Tr[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):Et(_t(new Date))},e.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=Et(e)),null!==t&&Ct(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=function(e){var t=Ir.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(Ct(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return wt(e)===wt(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return wt(e)===wt(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:(n=function(e,t){var n=gt(e,t);return null!==n&&n%7==0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:null!==(n=gt(e,t))?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),ut(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),ut(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),ut(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(jt(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/function(e){return jt(e)/30}(n):n.days&&null!==(r=gt(e,t))?r/jt(n):(t.valueOf()-e.valueOf())/Gt(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?mt(e):"hour"===t?function(e){return Et([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return Et([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return Et([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){var r=e.getUTCFullYear(),o=yt(e,r,t,n);if(o<1)return yt(e,r-1,t,n);var i=yt(e,r+1,t,n);return i>=1?Math.min(o,i):o}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=ht(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),Yt(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?Et(_t(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?Et(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-Dt(St(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(St(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?Dt(St(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(St(e))*60):new Date(e.valueOf()-(t||0))},e}(),Nr=[],Hr={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"},Or=i(i({},Hr),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function Ar(e){for(var t=e.length>0?e[0].code:"en",n=Nr.concat(e),r={en:Or},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function Ur(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){var n=[].concat(e||[]),r=function(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o-=1){var i=r.slice(0,o).join("-");if(t[i])return t[i]}return null}(n,t)||Or;return Wr(e,n,r)}(e,t):Wr(e.code,[e.code],e)}function Wr(e,t,n){var r=Tt([Hr,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var Fr,Lr={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function zr(e,t){return wn(function(e){var t;t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[];return t=t.map((function(e){return i(i({},Lr),e)}))}(e),null,t)}function Vr(){return null==Fr&&(Fr=function(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),Fr}var Br={defs:{},instances:{}},jr=function(){function e(){this.getKeysForEventDefs=Jt(this._getKeysForEventDefs),this.splitDateSelection=Jt(this._splitDateSpan),this.splitEventStore=Jt(this._splitEventStore),this.splitIndividualUi=Jt(this._splitIndividualUi),this.splitEventDrag=Jt(this._splitInteraction),this.splitEventResize=Jt(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),u={};for(var c in this.eventUiBuilders=Mt(n,(function(e,n){return t.eventUiBuilders[n]||Jt(Gr)})),n){var d=n[c],f=a[c]||Br,p=this.eventUiBuilders[c];u[c]={businessHours:d.businessHours||e.businessHours,dateSelection:o[c]||null,eventStore:f,eventUiBases:p(e.eventUiBases[""],d.ui,i[c]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[c]||null,eventResize:l[c]||null}}return u},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n<r.length;n++){t[r[n]]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return Mt(e.defs,(function(e){return t.getKeysForEventDef(e)}))},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,o={};for(var i in n)for(var a=0,s=t[i];a<s.length;a++){o[f=s[a]]||(o[f]={defs:{},instances:{}}),o[f].defs[i]=n[i]}for(var l in r)for(var u=r[l],c=0,d=t[u.defId];c<d.length;c++){var f;o[f=d[c]]&&(o[f].instances[l]=u)}return o},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var o=0,i=t[r];o<i.length;o++){var a=i[o];n[a]||(n[a]={}),n[a][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,r),i=function(r){t[r]||(t[r]={affectedEvents:n[r]||Br,mutatedEvents:o[r]||Br,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t},e}();function Gr(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":Hn(r)};return n&&i(o,n),o}function qr(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!Kn(r.activeRange,e)),isOther:Boolean(r&&!Kn(r.currentRange,e)),isToday:Boolean(t&&Kn(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function Zr(e,t){var n=["fc-day","fc-day-"+dt[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var Yr=hn({year:"numeric",month:"long",day:"numeric"}),$r=hn({week:"long"});function Kr(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o=e.dateEnv,a=e.options,s=e.calendarApi,l=o.format(t,"week"===n?$r:Yr);if(a.navLinks){var u=o.toDate(t),c=function(e){var r="day"===n?a.navLinkDayClick:"week"===n?a.navLinkWeekClick:null;"function"==typeof r?r.call(s,o.toDate(t),e):("string"==typeof r&&(n=r),s.zoomTo(t,n))};return i({title:lt(a.navLinkHint,[l,u],l),"data-navlink":""},r?nt(c):{onClick:c})}return{"aria-label":l}}var Xr;function Jr(){return Xr||(Xr=function(){var e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);var t=Qr(e);return document.body.removeChild(e),t}()),Xr}function Qr(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function eo(e){for(var t,n,r,o=function(e){var t=[];for(;e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}(e),i=e.getBoundingClientRect(),a=0,s=o;a<s.length;a++){var l=s[a],u=(t=i,n=l.getBoundingClientRect(),r=void 0,(r={left:Math.max(t.left,n.left),right:Math.min(t.right,n.right),top:Math.max(t.top,n.top),bottom:Math.min(t.bottom,n.bottom)}).left<r.right&&r.top<r.bottom&&r);if(!u)return null;i=u}return i}var to=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)},e.prototype.off=function(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(this.handlers,e,t)},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],o=this.options&&this.options[e],i=0,a=[].concat(o||[],r);i<a.length;i++){a[i].apply(this.thisContext,t)}},e.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}();var no=function(){function e(e,t,n,r){this.els=t;var o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),ro=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),oo=(function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}o(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth}}(ro),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}o(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth}}(ro),function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){for(n in t=i({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}());oo.prototype.classes={},oo.prototype.iconClasses={},oo.prototype.baseIconClass="",oo.prototype.iconOverridePrefix="";var io=function(){function e(e,t,n,r){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){o.queuedRequest=i({},o.queuedRequest||{},e),o.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),ao=Ve({});function so(e,t,n,r,o,i,a,s,l,u,c,d,f){return{dateEnv:o,options:n,pluginHooks:a,emitter:u,dispatch:s,getCurrentData:l,calendarApi:c,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){u.on("_resize",e)},removeResizeHandler:function(e){u.off("_resize",e)},createScrollResponder:function(e){return new io(e,u,zt(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var lo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(Ht(e,this.props),Ht(t,this.state)),!Ot(this.props,e,this.propEquality)||!Ot(this.state,t,this.stateEquality)},t.prototype.safeSetState=function(e){Ot(this.state,i(i({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=co,t.addStateEquality=fo,t.contextType=ao,t}(Ue);lo.prototype.propEquality={},lo.prototype.stateEquality={};var uo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.contextType=ao,t}(lo);function co(e){var t=Object.create(this.prototype.propEquality);i(t,e),this.prototype.propEquality=t}function fo(e){var t=Object.create(this.prototype.stateEquality);i(t,e),this.prototype.stateEquality=t}function po(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var ho=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=it(),t}return o(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!Ye(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!(Ye(e,".fc-event:not(.fc-bg-event)")||Ye(e,".fc-more-link")||Ye(e,"a[data-navlink]")||Ye(e,".fc-popover"))},t}(uo);function vo(e){return{id:it(),deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function go(){var e,t=[],n=[];return function(r,o){return e&&Xt(r,t)&&Xt(o,n)||(e=function(e,t){var n={},r={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function o(e){for(var t=0,a=e;t<a.length;t++){var s=a[t];n[s.id]||(n[s.id]=!0,o(s.deps),u=s,r={reducers:(l=r).reducers.concat(u.reducers),isLoadingFuncs:l.isLoadingFuncs.concat(u.isLoadingFuncs),contextInit:l.contextInit.concat(u.contextInit),eventRefiners:i(i({},l.eventRefiners),u.eventRefiners),eventDefMemberAdders:l.eventDefMemberAdders.concat(u.eventDefMemberAdders),eventSourceRefiners:i(i({},l.eventSourceRefiners),u.eventSourceRefiners),isDraggableTransformers:l.isDraggableTransformers.concat(u.isDraggableTransformers),eventDragMutationMassagers:l.eventDragMutationMassagers.concat(u.eventDragMutationMassagers),eventDefMutationAppliers:l.eventDefMutationAppliers.concat(u.eventDefMutationAppliers),dateSelectionTransformers:l.dateSelectionTransformers.concat(u.dateSelectionTransformers),datePointTransforms:l.datePointTransforms.concat(u.datePointTransforms),dateSpanTransforms:l.dateSpanTransforms.concat(u.dateSpanTransforms),views:i(i({},l.views),u.views),viewPropsTransformers:l.viewPropsTransformers.concat(u.viewPropsTransformers),isPropsValid:u.isPropsValid||l.isPropsValid,externalDefTransforms:l.externalDefTransforms.concat(u.externalDefTransforms),viewContainerAppends:l.viewContainerAppends.concat(u.viewContainerAppends),eventDropTransformers:l.eventDropTransformers.concat(u.eventDropTransformers),calendarInteractions:l.calendarInteractions.concat(u.calendarInteractions),componentInteractions:l.componentInteractions.concat(u.componentInteractions),themeClasses:i(i({},l.themeClasses),u.themeClasses),eventSourceDefs:l.eventSourceDefs.concat(u.eventSourceDefs),cmdFormatter:u.cmdFormatter||l.cmdFormatter,recurringTypes:l.recurringTypes.concat(u.recurringTypes),namedTimeZonedImpl:u.namedTimeZonedImpl||l.namedTimeZonedImpl,initialView:l.initialView||u.initialView,elementDraggingImpl:l.elementDraggingImpl||u.elementDraggingImpl,optionChangeHandlers:i(i({},l.optionChangeHandlers),u.optionChangeHandlers),scrollGridImpl:u.scrollGridImpl||l.scrollGridImpl,contentTypeHandlers:i(i({},l.contentTypeHandlers),u.contentTypeHandlers),listenerRefiners:i(i({},l.listenerRefiners),u.listenerRefiners),optionRefiners:i(i({},l.optionRefiners),u.optionRefiners),propSetHandlers:i(i({},l.propSetHandlers),u.propSetHandlers)})}var l,u}return e&&o(e),o(t),r}(r,o)),t=r,n=o,e}}var mo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(oo);function yo(e,t,n,r){if(t[e])return t[e];var o=function(e,t,n,r){var o=n[e],a=r[e],s=function(e){return o&&null!==o[e]?o[e]:a&&null!==a[e]?a[e]:null},l=s("component"),u=s("superType"),c=null;if(u){if(u===e)throw new Error("Can't have a custom view type that references itself");c=yo(u,t,n,r)}!l&&c&&(l=c.component);if(!l)return null;return{type:e,component:l,defaults:i(i({},c?c.defaults:{}),o?o.rawOptions:{}),overrides:i(i({},c?c.overrides:{}),a?a.rawOptions:{})}}(e,t,n,r);return o&&(t[e]=o),o}mo.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},mo.prototype.baseIconClass="fc-icon",mo.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"},mo.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},mo.prototype.iconOverrideOption="buttonIcons",mo.prototype.iconOverrideCustomButtonOption="icon",mo.prototype.iconOverridePrefix="fc-icon-";var bo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=Le(),t.handleRootEl=function(e){po(t.rootElRef,e),t.props.elRef&&po(t.props.elRef,e)},t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return We(Eo,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return We(Do,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,wo(t.classNames,n),e,o)}))}))},t}(uo),_o=Ve(0);function Do(e){return We(_o.Consumer,null,(function(t){return We(So,i({renderId:t},e))}))}var So=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=Le(),t}return o(t,e),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=i({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=Ro(e.content,e.hookProps);return void 0===t&&(t=Ro(e.defaultContent,e.hookProps)),null==t?null:t},t.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(e)for(var o in t)if(void 0!==e[o]){n=o,r=t[o];break}return{contentKey:n,buildLifecycleFuncs:r}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(uo),Eo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&po(t.props.elRef,e)},t}return o(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(i(i({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(i(i({},this.props.hookProps),{el:this.rootEl}))},t}(uo);function Co(){var e,t,n=[];return function(r,o){return t&&Nt(t,o)&&r===e||(e=r,t=o,n=wo(r,o)),n}}function wo(e,t){return"function"==typeof e&&(e=e(t)),Mn(e)}function Ro(e,t){return"function"==typeof e?e(t,We):e}var ko=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=Co(),t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return We(Eo,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},(function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(o))}))},t}(uo);function To(e){return Mt(e,xo)}function xo(e){var t,n="function"==typeof e?{component:e}:e,r=n.component;return n.content&&(t=n,r=function(e){return We(ao.Consumer,null,(function(n){return We(ko,{viewSpec:n.viewSpec},(function(r,o){var a=i(i({},e),{nextDayThreshold:n.options.nextDayThreshold});return We(bo,{hookProps:a,classNames:t.classNames,content:t.content,didMount:t.didMount,willUnmount:t.willUnmount,elRef:r},(function(e,t,n,r){return We("div",{className:o.concat(t).join(" "),ref:e},r)}))}))}))}),{superType:n.type,component:r,rawOptions:n}}function Mo(e,t,n,r){var o=To(e),a=To(t.views),s=function(e,t){var n,r={};for(n in e)yo(n,r,e,t);for(n in t)yo(n,r,e,t);return r}(o,a);return Mt(s,(function(e){return function(e,t,n,r,o){var a=e.overrides.duration||e.defaults.duration||r.duration||n.duration,s=null,l="",u="",c={};if(a&&(s=function(e){var t=JSON.stringify(e),n=Io[t];void 0===n&&(n=zt(e),Io[t]=n);return n}(a),s)){var d=Zt(s);l=d.unit,1===d.value&&(u=l,c=t[l]?t[l].rawOptions:{})}var f=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[u]?n[u]:null},p=function(t){var n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[u]?n[u]:null};return{type:e.type,component:e.component,duration:s,durationUnit:l,singleUnit:u,optionDefaults:e.defaults,optionOverrides:i(i({},c),e.overrides),buttonTextOverride:f(r)||f(n)||e.overrides.buttonText,buttonTextDefault:f(o)||e.defaults.buttonText||f(gn)||e.type,buttonTitleOverride:p(r)||p(n)||e.overrides.buttonHint,buttonTitleDefault:p(o)||e.defaults.buttonHint||p(gn)}}(e,a,t,n,r)}))}var Io={};var Po=function(){function e(e){this.props=e,this.nowDate=Er(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,u,c,d=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(u=e,e=null!=(c=r).start&&u<c.start?c.start:null!=c.end&&u>=c.end?new Date(c.end.valueOf()-1):u),o=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=Yn(s,o.range)),s=Yn(s=this.adjustActiveRange(s),r),l=$n(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(e,t,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=Zt(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return zt({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,i=t.slotMaxTime,a=e.start,s=e.end;return r&&(jt(o)<0&&(a=mt(a),a=n.add(a,o)),jt(i)>1&&(s=pt(s=mt(s),-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,u=s.dateAlignment;if(!u){var c=this.props.dateIncrement;u=c&&Gt(c)<Gt(n)?Zt(c).unit:r}function d(){o=l.startOf(e,u),i=l.add(o,n),a={start:o,end:i}}return jt(n)<=1&&this.isHiddenDay(o)&&(o=mt(o=this.skipHiddenDays(o,t))),d(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),d()),a},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=e;a&&(l=i.startOf(l,a)),l=mt(l),r=l=this.skipHiddenDays(l,t);do{r=pt(r,1),this.isHiddenDay(r)||(s+=1)}while(s<n);return{start:l,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?zt(1,t):e||zt({days:1}))},e.prototype.refineRange=function(e){if(e){var t=(n=e,r=this.props.dateEnv,o=null,i=null,n.start&&(o=r.createMarker(n.start)),n.end&&(i=r.createMarker(n.end)),o||i?o&&i&&i<o?null:{start:o,end:i}:null);return t&&(t=jn(t)),t}var n,r,o,i;return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=pt(e,t);return e},e}();function No(e,t,n){var r=t?t.activeRange:null;return Ao({},function(e,t){var n=Sr(t),r=[].concat(e.eventSources||[]),o=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);for(var i=0,a=r;i<a.length;i++){var s=Dr(a[i],t,n);s&&o.push(s)}return o}(e,n),r,n)}function Ho(e,t,n,r){var o,a,s=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Ao(e,t.sources,s,r);case"REMOVE_EVENT_SOURCE":return o=e,a=t.sourceId,xt(o,(function(e){return e.sourceId!==a}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Uo(e,s,r):e;case"FETCH_EVENT_SOURCES":return Wo(e,t.sourceIds?It(t.sourceIds):Lo(e,r),s,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,r){var o,a=e[t];if(a&&n===a.latestFetchId)return i(i({},e),((o={})[t]=i(i({},a),{isFetching:!1,fetchRange:r}),o));return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function Oo(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function Ao(e,t,n,r){for(var o={},a=0,s=t;a<s.length;a++){var l=s[a];o[l.sourceId]=l}return n&&(o=Uo(o,n,r)),i(i({},e),o)}function Uo(e,t,n){return Wo(e,xt(e,(function(e){return function(e,t,n){if(!zo(e,n))return!e.latestFetchId;return!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end}(e,t,n)})),t,!1,n)}function Wo(e,t,n,r,o){var i={};for(var a in e){var s=e[a];t[a]?i[a]=Fo(s,n,r,o):i[a]=s}return i}function Fo(e,t,n,r){var o=r.options,a=r.calendarApi,s=r.pluginHooks.eventSourceDefs[e.sourceDefId],l=it();return s.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var i=n.rawEvents;o.eventSourceSuccess&&(i=o.eventSourceSuccess.call(a,i,n.xhr)||i),e.success&&(i=e.success.call(a,i,n.xhr)||i),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:i})}),(function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(a,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})})),i(i({},e),{isFetching:!0,latestFetchId:l})}function Lo(e,t){return xt(e,(function(e){return zo(e,t)}))}function zo(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Vo(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,o,i){if(t&&n===t.latestFetchId){var a=wn(function(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;o&&(e=Bo(e,o));r&&(e=Bo(e,r));return e}(o,t,i),t,i);return r&&(a=Ut(a,r,i)),Tn(jo(e,t.sourceId),a)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=Ut(t,n,r));return Tn(e,t)}(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return Tn(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?Ut(e,r.activeRange,o):e;case"REMOVE_EVENTS":return function(e,t){var n=e.defs,r=e.instances,o={},i={};for(var a in n)t.defs[a]||(o[a]=n[a]);for(var s in r)!t.instances[s]&&o[r[s].defId]&&(i[s]=r[s]);return{defs:o,instances:i}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return jo(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return xn(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function Bo(e,t){var n;if(t){n=[];for(var r=0,o=e;r<o.length;r++){var i=o[r],a=t(i);a?n.push(a):null==a&&n.push(i)}}else n=e;return n}function jo(e,t){return xn(e,(function(e){return e.sourceId!==t}))}function Go(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function qo(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function Zo(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function Yo(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function $o(e,t,n,r,o){return{header:e.headerToolbar?Ko(e.headerToolbar,e,t,n,r,o):null,footer:e.footerToolbar?Ko(e.footerToolbar,e,t,n,r,o):null}}function Ko(e,t,n,r,o,i){var a={},s=[],l=!1;for(var u in e){var c=Xo(e[u],t,n,r,o,i);a[u]=c.widgets,s.push.apply(s,c.viewsWithButtons),l=l||c.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function Xo(e,t,n,r,o,i){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},u=t.buttonText||{},c=n.buttonHints||{},d=t.buttonHints||{},f=e?e.split(" "):[],p=[],h=!1;return{widgets:f.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,f,v,g,m,y;if(n=s[e])v=function(e){n.click&&n.click.call(e.target,e,e.target)},(g=r.getCustomButtonIconClass(n))||(g=r.getIconClass(e,a))||(m=n.text),y=n.hint||n.text;else if(f=o[e]){p.push(e),v=function(){i.changeView(e)},(m=f.buttonTextOverride)||(g=r.getIconClass(e,a))||(m=f.buttonTextDefault);var b=f.buttonTextOverride||f.buttonTextDefault;y=lt(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[b,e],b)}else if(i[e])if(v=function(){i[e]()},(m=l[e])||(g=r.getIconClass(e,a))||(m=u[e]),"prevYear"===e||"nextYear"===e){var _="prevYear"===e?"prev":"next";y=lt(c[_]||d[_],[u.year||"year","year"],u[e])}else y=function(t){return lt(c[e]||d[e],[u[t]||t,t],u[e])};return{buttonName:e,buttonClick:v,buttonIcon:g,buttonText:m,buttonHint:y}}))})),viewsWithButtons:p,hasTitle:h}}var Jo={parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;!function(e,t,n){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},i=function(){r||(r=!0,n&&n.apply(this,arguments))},a=e(o,i);a&&"function"==typeof a.then&&a.then(o,i)}(e.eventSource.meta.bind(null,pr(e.range,r)),(function(e){t({rawEvents:e})}),n)}};function Qo(e,t,n,r,o){var i=null;"GET"===(e=e.toUpperCase())?t=function(e,t){return e+(-1===e.indexOf("?")?"?":"&")+ei(t)}(t,n):i=ei(n);var a=new XMLHttpRequest;a.open(e,t,!0),"GET"!==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400){var e=!1,t=void 0;try{t=JSON.parse(a.responseText),e=!0}catch(e){}e?r(t,a):o("Failure parsing JSON",a)}else o("Request failed",a)},a.onerror=function(){o("Request failed",a)},a.send(i)}function ei(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}function ti(e,t){for(var n=Pt(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var u=0,c=n;u<c.length;u++){var d=c[u];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];t.calendarApi.addEventSource(h)}}var ni=[vo({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),vo({eventSourceDefs:[Jo]}),vo({eventSourceRefiners:{method:String,extraParams:Cn,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:function(e){return!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var r=e.eventSource.meta,o=function(e,t,n){var r,o,a,s,l=n.dateEnv,u=n.options,c={};r=e.startParam,null==r&&(r=u.startParam);o=e.endParam,null==o&&(o=u.endParam);a=e.timeZoneParam,null==a&&(a=u.timeZoneParam);s="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};i(c,s),c[r]=l.formatIso(t.start),c[o]=l.formatIso(t.end),"local"!==l.timeZone&&(c[a]=l.timeZone);return c}(r,e.range,e.context);Qo(r.method,r.url,o,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}}]}),vo({recurringTypes:[{parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},r=void 0;return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(o=e.endTime,i=e.startTime,r={years:o.years-i.years,months:o.months-i.months,days:o.days-i.days,milliseconds:o.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}var o,i;return null},expand:function(e,t,n){var r=Yn(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){var o=e?It(e):null,i=mt(n.start),a=n.end,s=[];for(;i<a;){var l=void 0;o&&!o[i.getUTCDay()]||(l=t?r.add(i,t):i,s.push(l)),i=pt(i,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:Cn,startTime:zt,endTime:zt,duration:zt,startRecur:Cn,endRecur:Cn}}),vo({optionChangeHandlers:{events:function(e,t){ti([e],t)},eventSources:ti}}),vo({isLoadingFuncs:[function(e){return Oo(e.eventSources)}],contentTypeHandlers:{html:function(){var e=null,t="";return{render:function(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r},destroy:function(){e.innerHTML="",e=null,t=""}}},domNodes:function(){var e=null,t=[];function n(){t.forEach(Ze),t=[],e=null}return{render:function(r,o){var i=Array.prototype.slice.call(o);if(r!==e||!Xt(t,i)){for(var a=0,s=i;a<s.length;a++){var l=s[a];r.appendChild(l)}n()}e=r,t=i},destroy:n}}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",i(i({},pr(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",kr(e,t))}}})];var ri=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;if(e in n){if(t)delete n[e];else n[e]-=1,n[e]<=0&&delete n[e];this.tryDrain()}},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),oi=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new ri(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function ii(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,hn(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=gt(e.currentRange.start,e.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var ai=function(){function e(e){var t=this;this.computeOptionsData=Jt(this._computeOptionsData),this.computeCurrentViewData=Jt(this._computeCurrentViewData),this.organizeRawLocales=Jt(Ar),this.buildLocale=Jt(Ur),this.buildPluginHooks=go(),this.buildDateEnv=Jt(si),this.buildTheme=Jt(li),this.parseToolbars=Jt($o),this.buildViewSpecs=Jt(Mo),this.buildDateProfileGenerator=Qt(ui),this.buildViewApi=Jt(ci),this.buildViewUiProps=Qt(pi),this.buildEventUiBySource=Jt(di,Nt),this.buildEventUiBases=Jt(fi),this.parseContextBusinessHours=Qt(vi),this.buildTitle=Jt(ii),this.emitter=new to,this.actionRunner=new oi(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),o=r.calendarOptions.initialView||r.pluginHooks.initialView,a=this.computeCurrentViewData(o,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(a.options);var s,l,u,c=(s=r.calendarOptions,l=r.dateEnv,null!=(u=s.initialDate)?l.createMarker(u):Er(s.now,l)),d=a.dateProfileGenerator.build(c);Kn(d.activeRange,c)||(c=d.currentRange.start);for(var f={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},p=0,h=r.pluginHooks.contextInit;p<h.length;p++){(0,h[p])(f)}for(var v=No(r.calendarOptions,d,f),g={dynamicOptionOverrides:n,currentViewType:o,currentDate:c,dateProfile:d,businessHours:this.parseContextBusinessHours(f),eventSources:v,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(f).selectionConfig},m=i(i({},f),g),y=0,b=r.pluginHooks.reducers;y<b.length;y++){var _=b[y];i(g,_(null,null,m))}hi(g,f)&&this.emitter.trigger("loading",!0),this.state=g,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?i(i({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,r=t.state,o=t.emitter,a=function(e,t){var n;return"SET_OPTION"===t.type?i(i({},e),((n={})[t.optionName]=t.rawOptionValue,n)):e}(r.dynamicOptionOverrides,e),s=this.computeOptionsData(n.optionOverrides,a,n.calendarApi),l=function(e,t){"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType);return e}(r.currentViewType,e),u=this.computeCurrentViewData(l,s,n.optionOverrides,a);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(u.options);var c={dateEnv:s.dateEnv,options:s.calendarOptions,pluginHooks:s.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},d=r.currentDate,f=r.dateProfile;this.data&&this.data.dateProfileGenerator!==u.dateProfileGenerator&&(f=u.dateProfileGenerator.build(d)),d=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(d,e),f=function(e,t,n,r){var o;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((o=r.buildPrev(e,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(e,n)).isValid)return o}return e}(f,e,d,u.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&Kn(f.currentRange,d)||(d=f.currentRange.start);for(var p=Ho(r.eventSources,e,f,c),h=Vo(r.eventStore,e,p,f,c),v=Oo(p)&&!u.options.progressiveEventRendering&&r.renderableEventStore||h,g=this.buildViewUiProps(c),m=g.eventUiSingleBase,y=g.selectionConfig,b=this.buildEventUiBySource(p),_={dynamicOptionOverrides:a,currentViewType:l,currentDate:d,dateProfile:f,eventSources:p,eventStore:h,renderableEventStore:v,selectionConfig:y,eventUiBases:this.buildEventUiBases(v.defs,m,b),businessHours:this.parseContextBusinessHours(c),dateSelection:Go(r.dateSelection,e),eventSelection:qo(r.eventSelection,e),eventDrag:Zo(r.eventDrag,e),eventResize:Yo(r.eventResize,e)},D=i(i({},c),_),S=0,E=s.pluginHooks.reducers;S<E.length;S++){var C=E[S];i(_,C(r,e,D))}var w=hi(r,c),R=hi(_,c);!w&&R?o.trigger("loading",!0):w&&!R&&o.trigger("loading",!1),this.state=_,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e,t,n,r,o,a,s,l,u,c=this.props,d=this.state,f=this.data,p=this.computeOptionsData(c.optionOverrides,d.dynamicOptionOverrides,c.calendarApi),h=this.computeCurrentViewData(d.currentViewType,p,c.optionOverrides,d.dynamicOptionOverrides),v=this.data=i(i(i({viewTitle:this.buildTitle(d.dateProfile,h.options,p.dateEnv),calendarApi:c.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},p),h),d),g=p.pluginHooks.optionChangeHandlers,m=f&&f.calendarOptions,y=p.calendarOptions;if(m&&m!==y)for(var b in m.timeZone!==y.timeZone&&(d.eventSources=v.eventSources=(a=v.eventSources,s=d.dateProfile,l=v,u=s?s.activeRange:null,Wo(a,Lo(a,l),u,!0,l)),d.eventStore=v.eventStore=(e=v.eventStore,t=f.dateEnv,n=v.dateEnv,r=e.defs,o=Mt(e.instances,(function(e){var o=r[e.defId];return o.allDay||o.recurringDef?e:i(i({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})})),{defs:r,instances:o})),g)m[b]!==y[b]&&g[b](y[b],v);c.onData&&c.onData(v)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;gi(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),u=this.buildViewSpecs(i.views,e,t,a),c=this.buildTheme(o,i);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:u,theme:c,toolbarConfig:this.parseToolbars(o,e,c,u,n),localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=Sn([gn,e,t]),r=n.locales,o=n.locale,a=this.organizeRawLocales(r),s=a.map,l=this.buildLocale(o||a.defaultCode,s).options,u=this.buildPluginHooks(e.plugins||[],ni),c=this.currentCalendarOptionsRefiners=i(i(i(i(i({},vn),mn),yn),u.listenerRefiners),u.optionRefiners),d={},f=Sn([gn,l,e,t]),p={},h=this.currentCalendarOptionsInput,v=this.currentCalendarOptionsRefined,g=!1;for(var m in f)"plugins"!==m&&(f[m]===h[m]||bn[m]&&m in h&&bn[m](h[m],f[m])?p[m]=v[m]:c[m]?(p[m]=c[m](f[m]),g=!0):d[m]=h[m]);return g&&(this.currentCalendarOptionsInput=f,this.currentCalendarOptionsRefined=p),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:u,availableLocaleData:a,localeDefaults:l,extra:d}},e.prototype._computeCurrentViewData=function(e,t,n,r){var o=t.viewSpecs[e];if(!o)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,r),a=i.refinedOptions;return gi(i.extra),{viewSpec:o,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var a=Sn([gn,e.optionDefaults,n,r,e.optionOverrides,o]),s=i(i(i(i(i(i({},vn),mn),yn),Dn),t.listenerRefiners),t.optionRefiners),l={},u=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,d=!1,f={};for(var p in a)a[p]===u[p]||bn[p]&&bn[p](a[p],u[p])?l[p]=c[p]:(a[p]===this.currentCalendarOptionsInput[p]||bn[p]&&bn[p](a[p],this.currentCalendarOptionsInput[p])?p in this.currentCalendarOptionsRefined&&(l[p]=this.currentCalendarOptionsRefined[p]):s[p]?l[p]=s[p](a[p]):f[p]=a[p],d=!0);return d&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:f}},e}();function si(e,t,n,r,o,i,a,s){var l=Ur(t||a.defaultCode,a.map);return new Pr({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function li(e,t){return new(t.themeClasses[e.themeSystem]||mo)(e)}function ui(e){return new(e.dateProfileGeneratorClass||Po)(e)}function ci(e,t,n){return new br(e,t,n)}function di(e){return Mt(e,(function(e){return e.ui}))}function fi(e,t,n){var r={"":t};for(var o in e){var i=e[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function pi(e){var t=e.options;return{eventUiSingleBase:Nn({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:Nn({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function hi(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(e))return!0}return!1}function vi(e){return zr(e.options.businessHours,e)}function gi(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}!function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new ai({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}o(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)}}(Ue);var mi=function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return e.prototype.addSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];this.insertEntry(o,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,o=[],i=e.span,s=t.span;return i.start<s.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:s.start}},o)),i.end>s.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:s.end,end:i.end}},o)),r?(n.push.apply(n,a([{index:e.index,thickness:e.thickness,span:_i(s,i)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(Di(r,t.level,t.levelCoord),Di(n,t.level,[e])):Di(n[t.level],t.lateral,e),this.stackCnts[bi(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,o=t.strictOrder,i=t.stackCnts,a=n.length,s=0,l=-1,u=-1,c=null,d=0,f=0;f<a;f+=1){var p=n[f];if(!o&&p>=s+e.thickness)break;for(var h=r[f],v=void 0,g=Si(h,e.span.start,yi),m=g[0]+g[1];(v=h[m])&&v.span.start<e.span.end;){var y=p+v.thickness;y>s&&(s=y,c=v,l=f,u=m),y===s&&(d=Math.max(d,i[bi(v)]+1)),m+=1}}var b=0;if(c)for(b=l+1;b<a&&n[b]<s;)b+=1;var _=-1;return b<a&&n[b]===s&&(_=Si(r[b],e.span.end,yi)[0]),{touchingLevel:l,touchingLateral:u,touchingEntry:c,stackCnt:d,levelCoord:s,level:b,lateral:_}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],o=0;o<n;o+=1)for(var a=e[o],s=t[o],l=0,u=a;l<u.length;l++){var c=u[l];r.push(i(i({},c),{levelCoord:s}))}return r},e}();function yi(e){return e.span.end}function bi(e){return e.index+":"+e.span.start}function _i(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function Di(e,t,n){e.splice(t,0,n)}function Si(e,t,n){var r=0,o=e.length;if(!o||t<n(e[r]))return[0,0];if(t>n(e[o-1]))return[o,0];for(;r<o;){var i=Math.floor(r+(o-r)/2),a=n(e[i]);if(t<a)o=i;else{if(!(t>a))return[i,1];r=i+1}}return[r,0]}var Ei=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();var Ci={};(function(){function e(e,t){this.emitter=new to}e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){}})(),Boolean;var wi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return We.apply(void 0,a(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],o=!0,i=0,s=e;i<s.length;i++){var l=s[i],u=l.buttonName,c=l.buttonClick,d=l.buttonText,f=l.buttonIcon,p=l.buttonHint;if("title"===u)o=!1,r.push(We("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var h=u===t.activeButton,v=!t.isTodayEnabled&&"today"===u||!t.isPrevEnabled&&"prev"===u||!t.isNextEnabled&&"next"===u,g=["fc-"+u+"-button",n.getClass("button")];h&&g.push(n.getClass("buttonActive")),r.push(We("button",{type:"button",title:"function"==typeof p?p(t.navUnit):p,disabled:v,"aria-pressed":h,className:g.join(" "),onClick:c},d||(f?We("span",{className:f}):"")))}}if(r.length>1){var m=o&&n.getClass("buttonGroup")||"";return We.apply(void 0,a(["div",{className:m}],r))}return r[0]},t}(uo),Ri=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,o=n.extraClassName,i=!1,a=r.sectionWidgets,s=a.center;return a.left?(i=!0,e=a.left):e=a.start,a.right?(i=!0,t=a.right):t=a.end,We("div",{className:[o||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return We(wi,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},t}(uo),ki=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,po(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",i="";return n?null!==t.availableWidth?o=t.availableWidth/n:i=1/n*100+"%":o=e.height||"",We("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:i}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(uo),Ti=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,o=r.context,i=Qn(t);if(i&&r.isValidSegDownEl(e.target)){var a=Ye(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new wr(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=tt(t.el,"click",".fc-event",n.handleSegClick),n}return o(t,e),t}(Ei),xi=function(e){function t(t){var n,r,o,i,a,s=e.call(this,t)||this;return s.handleEventElRemove=function(e){e===s.currentSegEl&&s.handleSegLeave(null,s.currentSegEl)},s.handleSegEnter=function(e,t){Qn(t)&&(s.currentSegEl=t,s.triggerEvent("eventMouseEnter",e,t))},s.handleSegLeave=function(e,t){s.currentSegEl&&(s.currentSegEl=null,s.triggerEvent("eventMouseLeave",e,t))},s.removeHoverListeners=(n=t.el,r=".fc-event",o=s.handleSegEnter,i=s.handleSegLeave,tt(n,"mouseover",r,(function(e,t){if(t!==a){a=t,o(e,t);var n=function(e){a=null,i(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}))),s}return o(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=Qn(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new wr(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(Ei),Mi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=Jt(so),t.buildViewPropTransformers=Jt(Pi),t.buildToolbarProps=Jt(Ii),t.headerRef=Le(),t.footerRef=Le(),t.interactionsStore={},t.state={viewLabelId:et()},t.registerInteractiveComponent=function(e,n){var r=function(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}(e,n),o=[Ti,xi].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));t.interactionsStore[e.uid]=o,Ci[e.uid]=r},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0,o=n;r<o.length;r++){o[r].destroy()}delete t.interactionsStore[e.uid]}delete Ci[e.uid]},t.resizeRunner=new ri((function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})})),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,o=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,Er(t.options.now,t.dateEnv),t.viewTitle),a=!1,s="";t.isHeightAuto||t.forPrint?s="":null!=r.height?a=!0:null!=r.contentHeight?s=r.contentHeight:e=Math.max(r.aspectRatio,.5);var l=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),u=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return We(ao.Provider,{value:l},n.header&&We(Ri,i({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:u},o)),We(ki,{liquid:a,height:s,aspectRatio:e,labeledById:u},this.renderView(t),this.buildAppendContent()),n.footer&&We(Ri,i({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},o)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++){t[e].destroy()}this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return We.apply(void 0,a([ze,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=0,a=this.buildViewPropTransformers(t.viewPropsTransformers);o<a.length;o++){var s=a[o];i(r,s.transform(r,e))}var l=n.component;return We(l,i({},r))},t}(lo);function Ii(e,t,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:i,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!Kn(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function Pi(e){return e.map((function(e){return new e}))}var Ni=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,o=r||null==t.height?"":t.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")];return Vr()||i.push("fc-liquid-hack"),e.children(i,o,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(uo);var Hi="fc-col-header-cell";function Oi(e){return e.text}var Ai=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,o=e.viewApi,a=this.props,s=a.date,l=a.dateProfile,u=qr(s,a.todayRange,null,l),c=[Hi].concat(Zr(u,r)),d=t.format(s,a.dayHeaderFormat),f=!u.isDisabled&&a.colCnt>1?Kr(this.context,s):{},p=i(i(i({date:t.toDate(s),view:o},a.extraHookProps),{text:d}),u);return We(bo,{hookProps:p,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:Oi,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return We("th",i({ref:e,role:"columnheader",className:c.concat(t).join(" "),"data-date":u.isDisabled?void 0:$t(s),colSpan:a.colSpan},a.extraDataAttrs),We("div",{className:"fc-scrollgrid-sync-inner"},!u.isDisabled&&We("a",i({ref:n,className:["fc-col-header-cell-cushion",a.isSticky?"fc-sticky":""].join(" ")},f),r)))}))},t}(uo),Ui=hn({weekday:"long"}),Wi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,o=t.viewApi,a=t.options,s=pt(new Date(2592e5),e.dow),l={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},u=[Hi].concat(Zr(l,r),e.extraClassNames||[]),c=n.format(s,e.dayHeaderFormat),d=i(i(i(i({date:s},l),{view:o}),e.extraHookProps),{text:c});return We(bo,{hookProps:d,classNames:a.dayHeaderClassNames,content:a.dayHeaderContent,defaultContent:Oi,didMount:a.dayHeaderDidMount,willUnmount:a.dayHeaderWillUnmount},(function(t,r,o,a){return We("th",i({ref:t,role:"columnheader",className:u.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),We("div",{className:"fc-scrollgrid-sync-inner"},We("a",{"aria-label":n.format(s,Ui),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},a)))}))},t}(uo),Fi=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=Er(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=ht(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(r,zt(1,e.unit)),i=o.valueOf()-n.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:r,todayRange:Li(r)},nextState:{nowDate:o,todayRange:Li(o)},waitMs:i}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=ao,t}(Ue);function Li(e){var t=mt(e);return{start:t,end:pt(t,1)}}var zi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=Jt(Vi),t}return o(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,o=t.datesRepDistinctDays,i=t.renderIntro,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,o,n.length);return We(Fi,{unit:"day"},(function(e,t){return We("tr",{role:"row"},i&&i("day"),n.map((function(e){return o?We(Ai,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):We(Wi,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})})))}))},t}(uo);function Vi(e,t,n){return e||function(e,t){return hn(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(t,n)}var Bi=function(){function e(e,t){for(var n=e.start,r=e.end,o=[],i=[],a=-1;n<r;)t.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=pt(n,1);this.dates=i,this.indices=o,this.cnt=i.length}return e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(pt(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(vt(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},e}(),ji=function(){function e(e,t){var n,r,o,i=e.dates;if(t){for(r=i[0].getUTCDay(),n=1;n<i.length&&i[n].getUTCDay()!==r;n+=1);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/t),l=Math.min((s+1)*t,i+1);r.push({row:s,firstCol:a%t,lastCol:(l-1)%t,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r},e}(),Gi=function(){function e(){this.sliceBusinessHours=Jt(this._sliceBusinessHours),this.sliceDateSelection=Jt(this._sliceDateSpan),this.sliceEventStore=Jt(this._sliceEventStore),this.sliceEventDrag=Jt(this._sliceInteraction),this.sliceEventResize=Jt(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var s=e.eventUiBases,l=this.sliceEventStore.apply(this,a([e.eventStore,s,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,a([e.dateSelection,s,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,a([e.businessHours,t,n,r],o)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,a([e.eventDrag,s,t,n],o)),eventResize:this.sliceEventResize.apply(this,a([e.eventResize,s,t,n],o)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,a([{range:{start:e,end:ht(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];return e?this._sliceEventStore.apply(this,a([Ut(e,qi(t,Boolean(n)),r),{},t,n],o)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(e){var a=Xn(e,t,qi(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!e)return null;var a=Xn(e.mutatedEvents,t,qi(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];if(!e)return[];for(var i=function(e,t,n){var r=Ln({editable:!1},n),o=Vn(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:tr(o,t),instance:Rt(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}(e,t,n),s=this.sliceRange.apply(this,a([e.range],r)),l=0,u=s;l<u.length;l++){u[l].eventRange=i}return s},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:pt(n.start,1)});for(var r=this.sliceRange.apply(this,a([n],t)),o=0,i=r;o<i.length;o++){var s=i[o];s.eventRange=e,s.isStart=e.isStart&&s.isStart,s.isEnd=e.isEnd&&s.isEnd}return r},e}();function qi(e,t){var n=e.activeRange;return t?n:{start:ht(n.start,e.slotMinTime.milliseconds),end:ht(n.end,e.slotMaxTime.milliseconds-864e5)}}var Zi=/^(visible|hidden)$/,Yi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,po(t.props.elRef,e)},t}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),We("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(Zi.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(Zi.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return Zi.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return Zi.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(uo),$i=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==e?(a=n in i,i[n]=e,o[n]=(o[n]||0)+1,s=!0):(o[n]-=1,o[n]||(delete i[n],delete t.callbackMap[n],a=!0)),t.masterCallback&&(a&&t.masterCallback(null,String(n)),s&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return function(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(e).length);for(var i=t;i<n;i+=r){var a=e[i];void 0!==a&&o.push(a)}return o}(this.currentMap,e,t,n)},e.prototype.getAll=function(){return Pt(this.currentMap)},e}();function Ki(e){for(var t=function(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].querySelectorAll(t),a=0;a<i.length;a+=1)r.push(i[a]);return r}(e,".fc-scrollgrid-shrink"),n=0,r=0,o=t;r<o.length;r++){var i=o[r];n=Math.max(n,ct(i))}return Math.ceil(n)}function Xi(e,t){return e.liquid&&t.liquid}function Ji(e,t){return Xt(e,t,Nt)}function Qi(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var i=o[r],s=i.span||1,l=0;l<s;l+=1)n.push(We("col",{style:{width:"shrink"===i.width?ea(t):i.width||"",minWidth:i.minWidth||""}}));return We.apply(void 0,a(["colgroup",{}],n))}function ea(e){return null==e?4:e}function ta(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function na(e){return We("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function ra(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function oa(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}var ia=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=Jt((function(e){return e}),Ji),t.renderMicroColGroup=Jt(Qi),t.scrollerRefs=new $i,t.scrollerElRefs=new $i(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.safeSetState(i({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return o(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=t.sections||[],i=this.processCols(t.cols),s=this.renderMicroColGroup(i,n.shrinkWidth),l=function(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}(t.liquid,r);t.collapsibleWidth&&l.push("fc-scrollgrid-collapsible");for(var u,c=o.length,d=0,f=[],p=[],h=[];d<c&&"header"===(u=o[d]).type;)f.push(this.renderSection(u,s,!0)),d+=1;for(;d<c&&"body"===(u=o[d]).type;)p.push(this.renderSection(u,s,!1)),d+=1;for(;d<c&&"footer"===(u=o[d]).type;)h.push(this.renderSection(u,s,!0)),d+=1;var v=!Vr(),g={role:"rowgroup"};return We("table",{role:"grid",className:l.join(" "),style:{height:t.height}},Boolean(!v&&f.length)&&We.apply(void 0,a(["thead",g],f)),Boolean(!v&&p.length)&&We.apply(void 0,a(["tbody",g],p)),Boolean(!v&&h.length)&&We.apply(void 0,a(["tfoot",g],h)),v&&We.apply(void 0,a(a(a(["tbody",g],f),p),h)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?We(ze,{key:e.key},e.outerContent):We("tr",{key:e.key,role:"presentation",className:ta(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var o=this.props,i=this.state,a=i.forceYScrollbars,s=i.scrollerClientWidths,l=i.scrollerClientHeights,u=function(e,t){return null!=t.maxHeight||Xi(e,t)}(o,e),c=Xi(o,e),d=o.liquid?a?"scroll":u?"auto":"hidden":"visible",f=e.key,p=function(e,t,n,r){var o=n.expandRows;return"function"==typeof t.content?t.content(n):We("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,We(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[f]?null:s[f],clientHeight:void 0!==l[f]?l[f]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return We(r?"th":"td",{ref:n.elRef,role:"presentation"},We("div",{className:"fc-scroller-harness"+(c?" fc-scroller-harness-liquid":"")},We(Yi,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:d,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},p)))},t.prototype._handleScrollerEl=function(e,t){var n=function(e,t){for(var n=0,r=e;n<r.length;n++){var o=r[n];if(o.key===t)return o}return null}(this.props.sections,t);n&&po(n.chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return function(e){for(var t=0,n=e;t<n.length;t++)if("shrink"===n[t].width)return!0;return!1}(this.props.cols)?Ki(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=Jr(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},i={};for(var a in t.currentMap){var s=t.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,u=this.props.sections;l<u.length;l++){a=u[l].key;var c=n.currentMap[a];if(c){var d=c.parentNode;o[a]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),i[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:i}},t}(uo);ia.addStateEquality({scrollerClientWidths:Nt,scrollerClientHeights:Nt});var aa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=Le(),t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,o=r.eventRange,i=o.ui,a={event:new wr(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,isDraggable:!e.disableDragging&&or(r,t),isStartResizable:!e.disableResizing&&ir(r,t),isEndResizable:!e.disableResizing&&ar(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)},s=function(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}(a).concat(i.classNames);return We(bo,{hookProps:a,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(t,n,r,o){return e.children(t,s.concat(n),r,o,a)}))},t.prototype.componentDidMount=function(){Jn(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&Jn(this.elRef.current,t)},t}(uo),sa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=t.options.eventTimeFormat||e.defaultTimeFormat,o=sr(n,r,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return We(aa,{seg:n,timeText:o,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||la,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(r,o,a,s,l){return We("a",i({className:e.extraClassNames.concat(o).join(" "),style:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},ref:r},cr(n,t)),We("div",{className:"fc-event-main",ref:a,style:{color:l.textColor}},s),l.isStartResizable&&We("div",{className:"fc-event-resizer fc-event-resizer-start"}),l.isEndResizable&&We("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t}(uo);function la(e){return We("div",{className:"fc-event-main-frame"},e.timeText&&We("div",{className:"fc-event-time"},e.timeText),We("div",{className:"fc-event-title-container"},We("div",{className:"fc-event-title fc-sticky"},e.event.title||We(ze,null," "))))}var ua=function(e){return We(ao.Consumer,null,(function(t){var n=t.options,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return We(bo,{hookProps:r,classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)}))},ca=hn({day:"numeric"}),da=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=fa({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return We(Do,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(uo);function fa(e){var t=e.date,n=e.dateEnv,r=qr(t,e.todayRange,null,e.dateProfile);return i(i(i({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,ca):""}),e.extraProps)}var pa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=Qt(fa),t.normalizeClassNames=Co(),t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),o=Zr(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),i=r.isDisabled?{}:{"data-date":$t(e.date)};return We(Eo,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},(function(t){return e.children(t,o,i,r.isDisabled)}))},t}(uo);function ha(e){return We("div",{className:"fc-"+e})}var va=function(e){return We(aa,{defaultContent:ga,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(e,t,n,r,o){return We("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function ga(e){return e.event.title&&We("div",{className:"fc-event-title"},e.event.title)}var ma=function(e){return We(ao.Consumer,null,(function(t){var n=t.dateEnv,r=t.options,o=e.date,i=r.weekNumberFormat||e.defaultFormat,a=n.computeWeekNumber(o),s=n.format(o,i);return We(bo,{hookProps:{num:a,text:s,date:o},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:ya,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},e.children)}))};function ya(e){return e.text}var ba=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:et()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&po(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=function(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}(e);t.rootEl.contains(n)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return o(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,o=this.state,a=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return Be(We("div",i({id:r.id,className:a.join(" "),"aria-labelledby":o.titleId},r.extraAttrs,{ref:this.handleRootEl}),We("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},We("span",{className:"fc-popover-title",id:o.titleId},r.title),We("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),We("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,o=this.rootEl,i=eo(n);if(i){var a=o.getBoundingClientRect(),s=r?Ye(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=e?i.right-a.width:i.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-a.width),l=Math.max(l,10);var u=o.offsetParent.getBoundingClientRect();Xe(o,{top:s-u.top,left:l-u.left})}},t}(uo),_a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return o(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,o=r.startDate,i=r.todayRange,a=r.dateProfile,s=n.format(o,t.dayPopoverFormat);return We(pa,{date:o,dateProfile:a,todayRange:i,elRef:this.handleRootEl},(function(e,t,n){return We(ba,{elRef:e,id:r.id,title:s,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},We(da,{date:o,dateProfile:a,todayRange:i},(function(e,t){return t&&We("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var o=this.rootEl,a=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:a.dateProfile,dateSpan:i({allDay:!0,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(ho),Da=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=Le(),t.state={isPopoverOpen:!1,popoverId:et()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,i=o.options.moreLinkClick,a=Ea(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,i=t.range;return{event:new wr(o,n,r),start:o.dateEnv.toDate(i.start),end:o.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof i&&(i=i({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:e,view:o.viewApi})),i&&"popover"!==i?"string"==typeof i&&o.calendarApi.zoomTo(a,i):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return We(ao.Consumer,null,(function(r){var o=r.viewApi,i=r.options,a=r.calendarApi,s=i.moreLinkText,l=t.moreCnt,u=Ea(t),c="function"==typeof s?s.call(a,l):"+"+l+" "+s,d=lt(i.moreLinkHint,[l],c),f={num:l,shortText:"+"+l,text:c,view:o};return We(ze,null,Boolean(t.moreCnt)&&We(bo,{elRef:e.linkElRef,hookProps:f,classNames:i.moreLinkClassNames,content:i.moreLinkContent,defaultContent:t.defaultContent||Sa,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},(function(r,o,i,a){return t.children(r,["fc-more-link"].concat(o),i,a,e.handleClick,d,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")})),n.isPopoverOpen&&We(_a,{id:n.popoverId,startDate:u.start,endDate:u.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef.current,alignGridTop:t.alignGridTop,onClose:e.handlePopoverClose},t.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=Ye(this.linkElRef.current,".fc-view-harness"))},t}(uo);function Sa(e){return e.text}function Ea(e){if(e.allDayDate)return{start:e.allDayDate,end:pt(e.allDayDate,1)};var t,n=e.hiddenSegs;return{start:Ca(n),end:(t=n,t.reduce(Ra).eventRange.range.end)}}function Ca(e){return e.reduce(wa).eventRange.range.start}function wa(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function Ra(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}var ka=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.isRendering=!1,r.isRendered=!1,r.currentClassNames=[],r.customContentRenderId=0,r.handleAction=function(e){switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":r.renderRunner.tryDrain()}},r.handleData=function(e){r.currentData=e,r.renderRunner.request(e.calendarOptions.rerenderDelay)},r.handleRenderRequest=function(){if(r.isRendering){r.isRendered=!0;var e=r.currentData;je((function(){Fe(We(Ni,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,o,a){return r.setClassNames(t),r.setHeight(n),We(_o.Provider,{value:r.customContentRenderId},We(Mi,i({isHeightAuto:o,forPrint:a},e)))})),r.el)}))}else r.isRendered&&(r.isRendered=!1,Ge(r.el),r.setClassNames([]),r.setHeight(""))},r.el=t,r.renderRunner=new ri(r.handleRenderRequest),new ai({optionOverrides:n,calendarApi:r,onAction:r.handleAction,onData:r.handleData}),r}return o(t,e),Object.defineProperty(t.prototype,"view",{get:function(){return this.currentData.viewApi},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()},t.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},t.prototype.updateSize=function(){var t=this;je((function(){e.prototype.updateSize.call(t)}))},t.prototype.batchRendering=function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")},t.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},t.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},t.prototype.resetOptions=function(e,t){this.currentDataManager.resetOptions(e,t)},t.prototype.setClassNames=function(e){if(!Xt(e,this.currentClassNames)){for(var t=this.el.classList,n=0,r=this.currentClassNames;n<r.length;n++){var o=r[n];t.remove(o)}for(var i=0,a=e;i<a.length;i++){o=a[i];t.add(o)}this.currentClassNames=e}},t.prototype.setHeight=function(e){Je(this.el,"height",e)},t}(Cr),Ta=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=Le(),t}return o(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,r=this.context,o=[],i=ra(r.options);return e&&o.push({type:"header",key:"header",isSticky:i,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),We(ko,{viewSpec:r.viewSpec},(function(e,t){return We("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},We(ia,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:o}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r){var o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");var i=this.props,a=this.context,s=!i.forPrint&&ra(a.options),l=!i.forPrint&&oa(a.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:s,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:na}]}),We(ko,{viewSpec:a.viewSpec},(function(e,t){return We("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},We(o,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:u}))}))},t}(ho);function xa(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.row].push(a)}return n}function Ma(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.firstCol].push(a)}return n}function Ia(e,t){var n=[];if(e){for(a=0;a<t;a+=1)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,o=e.segs;r<o.length;r++){var i=o[r];n[i.row].segs.push(i)}}else for(var a=0;a<t;a+=1)n[a]=null;return n}var Pa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=Kr(this.context,e.date);return We(da,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:Na},(function(n,r){return(r||e.forceDayTop)&&We("div",{className:"fc-daygrid-day-top",ref:n},We("a",i({id:e.dayNumberId,className:"fc-daygrid-day-number"},t),r||We(ze,null," ")))}))},t}(uo);function Na(e){return e.dayNumberText}var Ha=hn({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function Oa(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var Aa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props;return We(sa,i({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:Ha,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(uo),Ua=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||Ha,r=sr(e.seg,n,t,!0,e.defaultDisplayEventEnd);return We(aa,{seg:e.seg,timeText:r,defaultContent:Wa,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(n,r,o,a){return We("a",i({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(r).join(" "),ref:n},cr(e.seg,t)),a)}))},t}(uo);function Wa(e){return We(ze,null,We("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&We("div",{className:"fc-event-time"},e.timeText),We("div",{className:"fc-event-title"},e.event.title||We(ze,null," ")))}var Fa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileSegs=Jt(La),t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,r=t.invisibleSegs;return We(Da,{dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:r,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:function(){var t=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return We(ze,null,n.map((function(n){var r=n.eventRange.instance.instanceId;return We("div",{className:"fc-daygrid-event-harness",key:r,style:{visibility:t[r]?"hidden":""}},Oa(n)?We(Ua,i({seg:n,isDragging:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},lr(n,e.todayRange))):We(Aa,i({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},lr(n,e.todayRange))))})))}},(function(e,t,n,r,o,a,s,l){return We("a",i({ref:e,className:["fc-daygrid-more-link"].concat(t).join(" "),title:a,"aria-expanded":s,"aria-controls":l},nt(o)),r)}))},t}(uo);function La(e){for(var t=[],n=[],r=0,o=e;r<o.length;r++){var i=o[r];t.push(i.seg),i.isVisible||n.push(i.seg)}return{allSegs:t,invisibleSegs:n}}var za=hn({week:"narrow"}),Va=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=Le(),t.state={dayNumberId:et()},t.handleRootEl=function(e){po(t.rootElRef,e),po(t.props.elRef,e)},t}return o(t,e),t.prototype.render=function(){var e=this,t=e.context,n=e.props,r=e.state,o=e.rootElRef,a=n.date,s=n.dateProfile,l=Kr(t,a,"week");return We(pa,{date:a,dateProfile:s,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,elRef:this.handleRootEl},(function(e,t,u,c){return We("td",i({ref:e,role:"gridcell",className:["fc-daygrid-day"].concat(t,n.extraClassNames||[]).join(" ")},u,n.extraDataAttrs,n.showDayNumber?{"aria-labelledby":r.dayNumberId}:{}),We("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:n.innerElRef},n.showWeekNumber&&We(ma,{date:a,defaultFormat:za},(function(e,t,n,r){return We("a",i({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},l),r)})),!c&&We(Pa,{date:a,dateProfile:s,showDayNumber:n.showDayNumber,dayNumberId:r.dayNumberId,forceDayTop:n.forceDayTop,todayRange:n.todayRange,extraHookProps:n.extraHookProps}),We("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,We("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},We(Fa,{allDayDate:a,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:o,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),We("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}))},t}(ho);function Ba(e,t,n,r,o,i,a){var s=new Ga;s.allowReslicing=!0,s.strictOrder=r,!0===t||!0===n?(s.maxCoord=i,s.hiddenConsumes=!0):"number"==typeof t?s.maxStackCnt=t:"number"==typeof n&&(s.maxStackCnt=n,s.hiddenConsumes=!0);for(var l=[],u=[],c=0;c<e.length;c+=1){var d=o[(w=e[c]).eventRange.instance.instanceId];null!=d?l.push({index:c,thickness:d,span:{start:w.firstCol,end:w.lastCol+1}}):u.push(w)}for(var f=s.addSegs(l),p=function(e,t,n){for(var r=function(e,t){for(var n=[],r=0;r<t;r+=1)n.push([]);for(var o=0,i=e;o<i.length;o++){var a=i[o];for(r=a.span.start;r<a.span.end;r+=1)n[r].push(a)}return n}(e,n.length),o=[],i=[],a=[],s=0;s<n.length;s+=1){for(var l=r[s],u=[],c=0,d=0,f=0,p=l;f<p.length;f++){var h=t[(y=p[f]).index];u.push({seg:ja(h,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:y.levelCoord-c}),c=y.levelCoord+y.thickness}var v=[];c=0,d=0;for(var g=0,m=l;g<m.length;g++){h=t[(y=m[g]).index];var y,b=y.span.end-y.span.start>1,_=y.span.start===s;d+=y.levelCoord-c,c=y.levelCoord+y.thickness,b?(d+=y.thickness,_&&v.push({seg:ja(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:y.levelCoord,marginTop:0})):_&&(v.push({seg:ja(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:d}),d=0)}o.push(u),i.push(v),a.push(d)}return{singleColPlacements:o,multiColPlacements:i,leftoverMargins:a}}(s.toRects(),e,a),h=p.singleColPlacements,v=p.multiColPlacements,g=p.leftoverMargins,m=[],y=[],b=0,_=u;b<_.length;b++){v[(w=_[b]).firstCol].push({seg:w,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var D=w.firstCol;D<=w.lastCol;D+=1)h[D].push({seg:ja(w,D,D+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(D=0;D<a.length;D+=1)m.push(0);for(var S=0,E=f;S<E.length;S++){var C=E[S],w=e[C.index],R=C.span;v[R.start].push({seg:ja(w,R.start,R.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(D=R.start;D<R.end;D+=1)m[D]+=1,h[D].push({seg:ja(w,D,D+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(D=0;D<a.length;D+=1)y.push(g[D]);return{singleColPlacements:h,multiColPlacements:v,moreCnts:m,moreMarginTops:y}}function ja(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;var o=e.eventRange,a=o.range,s=Yn(a,{start:r[t].date,end:pt(r[n-1].date,1)});return i(i({},e),{firstCol:t,lastCol:n-1,eventRange:{def:o.def,ui:i(i({},o.ui),{durationEditable:!1}),instance:o.instance,range:s},isStart:e.isStart&&s.start.valueOf()===a.start.valueOf(),isEnd:e.isEnd&&s.end.valueOf()===a.end.valueOf()})}var Ga=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hiddenConsumes=!1,t.forceHidden={},t}return o(t,e),t.prototype.addSegs=function(t){for(var n=this,r=e.prototype.addSegs.call(this,t),o=this.entriesByLevel,i=function(e){return!n.forceHidden[bi(e)]},a=0;a<o.length;a+=1)o[a]=o[a].filter(i);return r},t.prototype.handleInvalidInsertion=function(t,n,r){var o=this.entriesByLevel,a=this.forceHidden,s=t.touchingEntry,l=t.touchingLevel,u=t.touchingLateral;if(this.hiddenConsumes&&s){var c=bi(s);if(!a[c])if(this.allowReslicing){var d=i(i({},s),{span:_i(s.span,n.span)});a[bi(d)]=!0,o[l][u]=d,this.splitEntry(s,n,r)}else a[c]=!0,r.push(s)}return e.prototype.handleInvalidInsertion.call(this,t,n,r)},t}(mi),qa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellElRefs=new $i,t.frameElRefs=new $i,t.fgElRefs=new $i,t.segHarnessRefs=new $i,t.rootElRef=Le(),t.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},t}return o(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context.options,i=n.cells.length,a=Ma(n.businessHourSegs,i),s=Ma(n.bgEventSegs,i),l=Ma(this.getHighlightSegs(),i),u=Ma(this.getMirrorSegs(),i),c=Ba(nr(n.fgEventSegs,o.eventOrder),n.dayMaxEvents,n.dayMaxEventRows,o.eventOrderStrict,r.eventInstanceHeights,r.maxContentHeight,n.cells),d=c.singleColPlacements,f=c.multiColPlacements,p=c.moreCnts,h=c.moreMarginTops,v=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return We("tr",{ref:this.rootElRef,role:"row"},n.renderIntro&&n.renderIntro(),n.cells.map((function(t,r){var o=e.renderFgSegs(r,n.forPrint?d[r]:f[r],n.todayRange,v),i=e.renderFgSegs(r,function(e,t){if(!e.length)return[];var n=function(e){for(var t={},n=0,r=e;n<r.length;n++)for(var o=0,i=r[n];o<i.length;o++){var a=i[o];t[a.seg.eventRange.instance.instanceId]=a.absoluteTop}return t}(t);return e.map((function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}}))}(u[r],f),n.todayRange,{},Boolean(n.eventDrag),Boolean(n.eventResize),!1);return We(Va,{key:t.key,elRef:e.cellElRefs.createRef(t.key),innerElRef:e.frameElRefs.createRef(t.key),dateProfile:n.dateProfile,date:t.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&0===r,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,extraHookProps:t.extraHookProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:p[r],moreMarginTop:h[r],singlePlacements:d[r],fgContentElRef:e.fgElRefs.createRef(t.key),fgContent:We(ze,null,We(ze,null,o),We(ze,null,i)),bgContent:We(ze,null,e.renderFillSegs(l[r],"highlight"),e.renderFillSegs(a[r],"non-business"),e.renderFillSegs(s[r],"bg-event"))})})))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!Nt(e,n))},t.prototype.getHighlightSegs=function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs},t.prototype.getMirrorSegs=function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]},t.prototype.renderFgSegs=function(e,t,n,r,o,a,s){var l=this.context,u=this.props.eventSelection,c=this.state.framePositions,d=1===this.props.cells.length,f=o||a||s,p=[];if(c)for(var h=0,v=t;h<v.length;h++){var g=v[h],m=g.seg,y=m.eventRange.instance.instanceId,b=y+":"+e,_=g.isVisible&&!r[y],D=g.isAbsolute,S="",E="";D&&(l.isRtl?(E=0,S=c.lefts[m.lastCol]-c.lefts[m.firstCol]):(S=0,E=c.rights[m.firstCol]-c.rights[m.lastCol])),p.push(We("div",{className:"fc-daygrid-event-harness"+(D?" fc-daygrid-event-harness-abs":""),key:b,ref:f?null:this.segHarnessRefs.createRef(b),style:{visibility:_?"":"hidden",marginTop:D?"":g.marginTop,top:D?g.absoluteTop:"",left:S,right:E}},Oa(m)?We(Ua,i({seg:m,isDragging:o,isSelected:y===u,defaultDisplayEventEnd:d},lr(m,n))):We(Aa,i({seg:m,isDragging:o,isResizing:a,isDateSelecting:s,isSelected:y===u,defaultDisplayEventEnd:d},lr(m,n)))))}return p},t.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,r=this.props.todayRange,o=this.state.framePositions,s=[];if(o)for(var l=0,u=e;l<u.length;l++){var c=u[l],d=n?{right:0,left:o.lefts[c.lastCol]-o.lefts[c.firstCol]}:{left:0,right:o.rights[c.firstCol]-o.rights[c.lastCol]};s.push(We("div",{key:ur(c.eventRange),className:"fc-daygrid-bg-harness",style:d},"bg-event"===t?We(va,i({seg:c},lr(c,r))):ha(t)))}return We.apply(void 0,a([ze,{}],s))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(!t.forPrint&&null!==t.clientWidth){if(e){var r=t.cells.map((function(e){return n.currentMap[e.key]}));if(r.length){var o=this.rootElRef.current;this.setState({framePositions:new no(o,r,!0,!1)})}}var a=this.state.eventInstanceHeights,s=this.queryEventInstanceHeights(),l=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({eventInstanceHeights:i(i({},a),s),maxContentHeight:l?this.computeMaxContentHeight():null})}},t.prototype.queryEventInstanceHeights=function(){var e=this.segHarnessRefs.currentMap,t={};for(var n in e){var r=Math.round(e[n].getBoundingClientRect().height),o=n.split(":")[0];t[o]=Math.max(t[o]||0,r)}return t},t.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top},t.prototype.getCellEls=function(){var e=this.cellElRefs.currentMap;return this.props.cells.map((function(t){return e[t.key]}))},t}(ho);qa.addStateEquality({eventInstanceHeights:Nt});var Za=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=Jt(xa),t.splitBgEventSegs=Jt(xa),t.splitFgEventSegs=Jt(xa),t.splitDateSelectionSegs=Jt(xa),t.splitEventDrag=Jt(Ia),t.splitEventResize=Jt(Ia),t.rowRefs=new $i,t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.dateProfile,r=t.dayMaxEventRows,o=t.dayMaxEvents,i=t.expandRows,a=t.cells.length,s=this.splitBusinessHourSegs(t.businessHourSegs,a),l=this.splitBgEventSegs(t.bgEventSegs,a),u=this.splitFgEventSegs(t.fgEventSegs,a),c=this.splitDateSelectionSegs(t.dateSelectionSegs,a),d=this.splitEventDrag(t.eventDrag,a),f=this.splitEventResize(t.eventResize,a),p=!0===o||!0===r;return p&&!i&&(p=!1,r=null,o=null),We("div",{className:["fc-daygrid-body",p?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"].join(" "),ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},We(Fi,{unit:"day"},(function(p,h){return We(ze,null,We("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:i?t.clientHeight:""}},t.colGroupNode,We("tbody",{role:"presentation"},t.cells.map((function(i,p){return We(qa,{ref:e.rowRefs.createRef(p),key:i.length?i[0].date.toISOString():p,showDayNumbers:a>1,showWeekNumbers:t.showWeekNumbers,todayRange:h,dateProfile:n,cells:i,renderIntro:t.renderRowIntro,businessHourSegs:s[p],eventSelection:t.eventSelection,bgEventSegs:l[p].filter(Ya),fgEventSegs:u[p],dateSelectionSegs:c[p],eventDrag:d[p],eventResize:f[p],dayMaxEvents:o,dayMaxEventRows:r,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint})})))))})))},t.prototype.prepareHits=function(){this.rowPositions=new no(this.rootEl,this.rowRefs.collect().map((function(e){return e.getCellEls()[0]})),!1,!0),this.colPositions=new no(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.queryHit=function(e,t){var n=this.colPositions,r=this.rowPositions,o=n.leftToIndex(e),a=r.topToIndex(t);if(null!=a&&null!=o){var s=this.props.cells[a][o];return{dateProfile:this.props.dateProfile,dateSpan:i({range:this.getCellRange(a,o),allDay:!0},s.extraDateSpan),dayEl:this.getCellEl(a,o),rect:{left:n.lefts[o],right:n.rights[o],top:r.tops[a],bottom:r.bottoms[a]},layer:0}}return null},t.prototype.getCellEl=function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]},t.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:pt(n,1)}},t}(ho);function Ya(e){return e.eventRange.def.allDay}var $a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return o(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(Gi),Ka=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new $a,t.tableRef=Le(),t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return We(Za,i({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))},t}(ho),Xa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayTableModel=Jt(Ja),t.headerRef=Le(),t.tableRef=Le(),t}return o(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateProfileGenerator,o=this.props,i=this.buildDayTableModel(o.dateProfile,r),a=n.dayHeaders&&We(zi,{ref:this.headerRef,dateProfile:o.dateProfile,dates:i.headerDates,datesRepDistinctDays:1===i.rowCnt}),s=function(t){return We(Ka,{ref:e.tableRef,dateProfile:o.dateProfile,dayTableModel:i,businessHours:o.businessHours,dateSelection:o.dateSelection,eventStore:o.eventStore,eventUiBases:o.eventUiBases,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!o.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:o.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(a,s,i.colCnt,n.dayMinWidth):this.renderSimpleLayout(a,s)},t}(Ta);function Ja(e,t){var n=new Bi(e.renderRange,t);return new ji(n,/year|month|week/.test(e.currentRangeUnit))}var Qa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.buildRenderRange=function(t,n,r){var o,i=this.props.dateEnv,a=e.prototype.buildRenderRange.call(this,t,n,r),s=a.start,l=a.end;(/^(year|month)$/.test(n)&&(s=i.startOfWeek(s),(o=i.startOfWeek(l)).valueOf()!==l.valueOf()&&(l=ft(o,1))),this.props.monthMode&&this.props.fixedWeekCount)&&(l=ft(l,6-Math.ceil(vt(s,l)/7)));return{start:s,end:l}},t}(Po),es=vo({initialView:"dayGridMonth",views:{dayGrid:{component:Xa,dateProfileGeneratorClass:Qa},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),ts=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},t.prototype.getKeysForDateSpan=function(e){return e.allDay?["allDay"]:["timed"]},t.prototype.getKeysForEventDef=function(e){return e.allDay?"background"===(t=e).ui.display||"inverse-background"===t.ui.display?["timed","allDay"]:["allDay"]:["timed"];var t},t}(jr),ns=hn({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function rs(e){var t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return We(ao.Consumer,null,(function(n){if(!e.isLabeled)return We("td",{className:t.join(" "),"data-time":e.isoTimeStr});var r=n.dateEnv,o=n.options,i=n.viewApi,a=null==o.slotLabelFormat?ns:Array.isArray(o.slotLabelFormat)?hn(o.slotLabelFormat[0]):hn(o.slotLabelFormat),s={level:0,time:e.time,date:r.toDate(e.date),view:i,text:r.format(e.date,a)};return We(bo,{hookProps:s,classNames:o.slotLabelClassNames,content:o.slotLabelContent,defaultContent:os,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},(function(n,r,o,i){return We("td",{ref:n,className:t.concat(r).join(" "),"data-time":e.isoTimeStr},We("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},We("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:o},i)))}))}))}function os(e){return e.text}var is=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return this.props.slatMetas.map((function(e){return We("tr",{key:e.key},We(rs,i({},e)))}))},t}(uo),as=hn({week:"short"}),ss=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allDaySplitter=new ts,t.headerElRef=Le(),t.rootElRef=Le(),t.scrollerElRef=Le(),t.state={slatCoords:null},t.handleScrollTopRequest=function(e){var n=t.scrollerElRef.current;n&&(n.scrollTop=e)},t.renderHeadAxis=function(e,n){void 0===n&&(n="");var r=t.context.options,o=t.props.dateProfile.renderRange,a=1===vt(o.start,o.end)?Kr(t.context,o.start,"week"):{};return r.weekNumbers&&"day"===e?We(ma,{date:o.start,defaultFormat:as},(function(e,t,r,o){return We("th",{ref:e,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(t).join(" ")},We("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:n}},We("a",i({ref:r,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},a),o)))})):We("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},We("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},t.renderTableRowAxis=function(e){var n=t.context,r=n.options,o=n.viewApi,i={text:r.allDayText,view:o};return We(bo,{hookProps:i,classNames:r.allDayClassNames,content:r.allDayContent,defaultContent:ls,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount},(function(t,n,r,o){return We("td",{ref:t,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(n).join(" ")},We("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(null==e?" fc-timegrid-axis-frame-liquid":""),style:{height:e}},We("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:r},o)))}))},t.handleSlatCoords=function(e){t.setState({slatCoords:e})},t}return o(t,e),t.prototype.renderSimpleLayout=function(e,t,n){var r=this.context,o=this.props,i=[],a=ra(r.options);return e&&i.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(i.push({type:"body",key:"all-day",chunk:{content:t}}),i.push({type:"body",key:"all-day-divider",outerContent:We("tr",{role:"presentation",className:"fc-scrollgrid-section"},We("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),i.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(r.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),We(ko,{viewSpec:r.viewSpec,elRef:this.rootElRef},(function(e,t){return We("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},We(ia,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,cols:[{width:"shrink"}],sections:i}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r,o,i,a){var s=this,l=this.context.pluginHooks.scrollGridImpl;if(!l)throw new Error("No ScrollGrid implementation");var u=this.context,c=this.props,d=!c.forPrint&&ra(u.options),f=!c.forPrint&&oa(u.options),p=[];e&&p.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return We("tr",{role:"presentation"},s.renderHeadAxis("day",e.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(p.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return We("tr",{role:"presentation"},s.renderTableRowAxis(e.rowSyncHeights[0]))}},{key:"cols",content:t}]}),p.push({key:"all-day-divider",type:"body",outerContent:We("tr",{role:"presentation",className:"fc-scrollgrid-section"},We("td",{colSpan:2,className:"fc-timegrid-divider "+u.theme.getClass("tableCellShaded")}))}));var h=u.options.nowIndicator;return p.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(u.options.expandRows),chunks:[{key:"axis",content:function(e){return We("div",{className:"fc-timegrid-axis-chunk"},We("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,We("tbody",null,We(is,{slatMetas:i}))),We("div",{className:"fc-timegrid-now-indicator-container"},We(Fi,{unit:h?"minute":"day"},(function(e){var t=h&&a&&a.safeComputeTop(e);return"number"==typeof t?We(ua,{isAxis:!0,date:e},(function(e,n,r,o){return We("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(n).join(" "),style:{top:t}},o)})):null}))))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),f&&p.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:na},{key:"cols",content:na}]}),We(ko,{viewSpec:u.viewSpec,elRef:this.rootElRef},(function(e,t){return We("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},We(l,{liquid:!c.isHeightAuto&&!c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:o}]}],sections:p}))}))},t.prototype.getAllDayMaxEventProps=function(){var e=this.context.options,t=e.dayMaxEvents,n=e.dayMaxEventRows;return!0!==t&&!0!==n||(t=void 0,n=5),{dayMaxEvents:t,dayMaxEventRows:n}},t}(ho);function ls(e){return e.text}var us=function(){function e(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}return e.prototype.safeComputeTop=function(e){var t=this.dateProfile;if(Kn(t.currentRange,e)){var n=mt(e),r=e.valueOf()-n.valueOf();if(r>=Gt(t.slotMinTime)&&r<Gt(t.slotMaxTime))return this.computeTimeTop(zt(r))}return null},e.prototype.computeDateTop=function(e,t){return t||(t=mt(e)),this.computeTimeTop(zt(e.valueOf()-t.valueOf()))},e.prototype.computeTimeTop=function(e){var t,n,r=this.positions,o=this.dateProfile,i=r.els.length,a=(e.milliseconds-Gt(o.slotMinTime))/Gt(this.slotDuration);return a=Math.max(0,a),a=Math.min(i,a),t=Math.floor(a),n=a-(t=Math.min(t,i-1)),r.tops[t]+r.getHeight(t)*n},e}(),cs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.slatElRefs;return We("tbody",null,e.slatMetas.map((function(o,a){var s={time:o.time,date:t.dateEnv.toDate(o.date),view:t.viewApi},l=["fc-timegrid-slot","fc-timegrid-slot-lane",o.isLabeled?"":"fc-timegrid-slot-minor"];return We("tr",{key:o.key,ref:r.createRef(o.key)},e.axis&&We(rs,i({},o)),We(bo,{hookProps:s,classNames:n.slotLaneClassNames,content:n.slotLaneContent,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount},(function(e,t,n,r){return We("td",{ref:e,className:l.concat(t).join(" "),"data-time":o.isoTimeStr},r)})))})))},t}(uo),ds=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=Le(),t.slatElRefs=new $i,t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return We("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},We("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,We(cs,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))},t.prototype.componentDidMount=function(){this.updateSizing()},t.prototype.componentDidUpdate=function(){this.updateSizing()},t.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var e,t=this.context,n=this.props;n.onCoords&&null!==n.clientWidth&&(this.rootElRef.current.offsetHeight&&n.onCoords(new us(new no(this.rootElRef.current,(e=this.slatElRefs.currentMap,n.slatMetas.map((function(t){return e[t.key]}))),!1,!0),this.props.dateProfile,t.options.slotDuration)))},t}(uo);function fs(e,t){var n,r=[];for(n=0;n<t;n+=1)r.push([]);if(e)for(n=0;n<e.length;n+=1)r[e[n].col].push(e[n]);return r}function ps(e,t){var n=[];if(e){for(a=0;a<t;a+=1)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,o=e.segs;r<o.length;r++){var i=o[r];n[i.col].segs.push(i)}}else for(var a=0;a<t;a+=1)n[a]=null;return n}var hs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=Le(),t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props;return We(Da,{allDayDate:null,moreCnt:t.hiddenSegs.length,allSegs:t.hiddenSegs,hiddenSegs:t.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:vs,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,todayRange:t.todayRange,popoverContent:function(){return Rs(t.hiddenSegs,t)}},(function(n,r,o,i,a,s,l,u){return We("a",{ref:function(t){po(n,t),po(e.rootElRef,t)},className:["fc-timegrid-more-link"].concat(r).join(" "),style:{top:t.top,bottom:t.bottom},onClick:a,title:s,"aria-expanded":l,"aria-controls":u},We("div",{ref:o,className:"fc-timegrid-more-link-inner fc-sticky"},i))}))},t}(uo);function vs(e){return e.shortText}function gs(e,t,n){var r=new mi;null!=t&&(r.strictOrder=t),null!=n&&(r.maxStackCnt=n);var o,a,s,l=function(e){for(var t,n,r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=[],l={span:a.span,entries:[a]},u=0,c=r;u<c.length;u++){var d=c[u];_i(d.span,l.span)?l={entries:d.entries.concat(l.entries),span:(t=d.span,n=l.span,{start:Math.min(t.start,n.start),end:Math.max(t.end,n.end)})}:s.push(d)}s.push(l),r=s}return r}(r.addSegs(e)),u=function(e){var t=e.entriesByLevel,n=_s((function(e,t){return e+":"+t}),(function(r,o){var a=function(e,t,n){for(var r=e.levelCoords,o=e.entriesByLevel,i=o[t][n],a=r[t]+i.thickness,s=r.length,l=t;l<s&&r[l]<a;l+=1);for(;l<s;l+=1){for(var u=o[l],c=void 0,d=Si(u,i.span.start,yi),f=d[0]+d[1],p=f;(c=u[p])&&c.span.start<i.span.end;)p+=1;if(f<p)return{level:l,lateralStart:f,lateralEnd:p}}return null}(e,r,o),s=ms(a,n),l=t[r][o];return[i(i({},l),{nextLevelNodes:s[0]}),l.thickness+s[1]]}));return ms(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}(r);return o=u,a=1,s=_s((function(e,t,n){return bi(e)}),(function(e,t,n){var r,o=e.nextLevelNodes,l=e.thickness,u=l+n,c=l/u,d=[];if(o.length)for(var f=0,p=o;f<p.length;f++){var h=p[f];if(void 0===r)r=(v=s(h,t,u))[0],d.push(v[1]);else{var v=s(h,r,0);d.push(v[1])}}else r=a;var g=(r-t)*c;return[r-g,i(i({},e),{thickness:g,nextLevelNodes:d})]})),{segRects:function(e){var t=[],n=_s((function(e,t,n){return bi(e)}),(function(e,n,o){var a=i(i({},e),{levelCoord:n,stackDepth:o,stackForward:0});return t.push(a),a.stackForward=r(e.nextLevelNodes,n+e.thickness,o+1)+1}));function r(e,t,r){for(var o=0,i=0,a=e;i<a.length;i++){var s=a[i];o=Math.max(n(s,t,r),o)}return o}return r(e,0,0),t}(u=o.map((function(e){return s(e,0,0)[1]}))),hiddenGroups:l}}function ms(e,t){if(!e)return[[],0];for(var n=e.level,r=e.lateralStart,o=e.lateralEnd,i=r,a=[];i<o;)a.push(t(n,i)),i+=1;return a.sort(ys),[a.map(bs),a[0][1]]}function ys(e,t){return t[1]-e[1]}function bs(e){return e[0]}function _s(e,t){var n={};return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=e.apply(void 0,r);return i in n?n[i]:n[i]=t.apply(void 0,r)}}function Ds(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=0);var o=[];if(n)for(var i=0;i<e.length;i+=1){var a=e[i],s=n.computeDateTop(a.start,t),l=Math.max(s+(r||0),n.computeDateTop(a.end,t));o.push({start:Math.round(s),end:Math.round(l)})}return o}var Ss=hn({hour:"numeric",minute:"2-digit",meridiem:!1}),Es=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&e.push("fc-timegrid-event-short"),We(sa,i({},this.props,{defaultTimeFormat:Ss,extraClassNames:e}))},t}(uo),Cs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props;return We(da,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps},(function(e,t){return t&&We("div",{className:"fc-timegrid-col-misc",ref:e},t)}))},t}(uo),ws=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sortEventSegs=Jt(nr),t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options.selectMirror,o=t.eventDrag&&t.eventDrag.segs||t.eventResize&&t.eventResize.segs||r&&t.dateSelectionSegs||[],a=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{},s=this.sortEventSegs(t.fgEventSegs,n.options.eventOrder);return We(pa,{elRef:t.elRef,date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps},(function(n,l,u){return We("td",i({ref:n,role:"gridcell",className:["fc-timegrid-col"].concat(l,t.extraClassNames||[]).join(" ")},u,t.extraDataAttrs),We("div",{className:"fc-timegrid-col-frame"},We("div",{className:"fc-timegrid-col-bg"},e.renderFillSegs(t.businessHourSegs,"non-business"),e.renderFillSegs(t.bgEventSegs,"bg-event"),e.renderFillSegs(t.dateSelectionSegs,"highlight")),We("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(s,a,!1,!1,!1)),We("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(o,{},Boolean(t.eventDrag),Boolean(t.eventResize),Boolean(r))),We("div",{className:"fc-timegrid-now-indicator-container"},e.renderNowIndicator(t.nowIndicatorSegs)),We(Cs,{date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps})))}))},t.prototype.renderFgSegs=function(e,t,n,r,o){var i=this.props;return i.forPrint?Rs(e,i):this.renderPositionedFgSegs(e,t,n,r,o)},t.prototype.renderPositionedFgSegs=function(e,t,n,r,o){var a=this,s=this.context.options,l=s.eventMaxStack,u=s.eventShortHeight,c=s.eventOrderStrict,d=s.eventMinHeight,f=this.props,p=f.date,h=f.slatCoords,v=f.eventSelection,g=f.todayRange,m=f.nowDate,y=n||r||o,b=function(e,t,n,r){for(var o=[],i=[],a=0;a<e.length;a+=1){var s=t[a];s?o.push({index:a,thickness:1,span:s}):i.push(e[a])}for(var l=gs(o,n,r),u=l.segRects,c=l.hiddenGroups,d=[],f=0,p=u;f<p.length;f++){var h=p[f];d.push({seg:e[h.index],rect:h})}for(var v=0,g=i;v<g.length;v++){var m=g[v];d.push({seg:m,rect:null})}return{segPlacements:d,hiddenGroups:c}}(e,Ds(e,p,h,d),c,l),_=b.segPlacements,D=b.hiddenGroups;return We(ze,null,this.renderHiddenGroups(D,e),_.map((function(e){var s=e.seg,l=e.rect,c=s.eventRange.instance.instanceId,d=y||Boolean(!t[c]&&l),f=ks(l&&l.span),p=!y&&l?a.computeSegHStyle(l):{left:0,right:0},h=Boolean(l)&&l.stackForward>0,b=Boolean(l)&&l.span.end-l.span.start<u;return We("div",{className:"fc-timegrid-event-harness"+(h?" fc-timegrid-event-harness-inset":""),key:c,style:i(i({visibility:d?"":"hidden"},f),p)},We(Es,i({seg:s,isDragging:n,isResizing:r,isDateSelecting:o,isSelected:c===v,isShort:b},lr(s,g,m))))})))},t.prototype.renderHiddenGroups=function(e,t){var n=this.props,r=n.extraDateSpan,o=n.dateProfile,i=n.todayRange,a=n.nowDate,s=n.eventSelection,l=n.eventDrag,u=n.eventResize;return We(ze,null,e.map((function(e){var n,c,d=ks(e.span),f=(n=e.entries,c=t,n.map((function(e){return c[e.index]})));return We(hs,{key:Yt(Ca(f)),hiddenSegs:f,top:d.top,bottom:d.bottom,extraDateSpan:r,dateProfile:o,todayRange:i,nowDate:a,eventSelection:s,eventDrag:l,eventResize:u})})))},t.prototype.renderFillSegs=function(e,t){var n=this.props,r=this.context,o=Ds(e,n.date,n.slatCoords,r.options.eventMinHeight).map((function(r,o){var a=e[o];return We("div",{key:ur(a.eventRange),className:"fc-timegrid-bg-harness",style:ks(r)},"bg-event"===t?We(va,i({seg:a},lr(a,n.todayRange,n.nowDate))):ha(t))}));return We(ze,null,o)},t.prototype.renderNowIndicator=function(e){var t=this.props,n=t.slatCoords,r=t.date;return n?e.map((function(e,t){return We(ua,{isAxis:!1,date:r,key:t},(function(t,o,i,a){return We("div",{ref:t,className:["fc-timegrid-now-indicator-line"].concat(o).join(" "),style:{top:n.computeDateTop(e.start,r)}},a)}))})):null},t.prototype.computeSegHStyle=function(e){var t,n,r=this.context,o=r.isRtl,i=r.options.slotEventOverlap,a=e.levelCoord,s=e.levelCoord+e.thickness;i&&(s=Math.min(1,a+2*(s-a))),o?(t=1-s,n=a):(t=a,n=1-s);var l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return i&&!e.stackForward&&(l[o?"marginLeft":"marginRight"]=20),l},t}(uo);function Rs(e,t){var n=t.todayRange,r=t.nowDate,o=t.eventSelection,a=t.eventDrag,s=t.eventResize,l=(a?a.affectedInstances:null)||(s?s.affectedInstances:null)||{};return We(ze,null,e.map((function(e){var t=e.eventRange.instance.instanceId;return We("div",{key:t,style:{visibility:l[t]?"hidden":""}},We(Es,i({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===o,isShort:!1},lr(e,n,r))))})))}function ks(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}var Ts=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitFgEventSegs=Jt(fs),t.splitBgEventSegs=Jt(fs),t.splitBusinessHourSegs=Jt(fs),t.splitNowIndicatorSegs=Jt(fs),t.splitDateSelectionSegs=Jt(fs),t.splitEventDrag=Jt(ps),t.splitEventResize=Jt(ps),t.rootElRef=Le(),t.cellElRefs=new $i,t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context.options.nowIndicator&&t.slatCoords&&t.slatCoords.safeComputeTop(t.nowDate),r=t.cells.length,o=this.splitFgEventSegs(t.fgEventSegs,r),i=this.splitBgEventSegs(t.bgEventSegs,r),a=this.splitBusinessHourSegs(t.businessHourSegs,r),s=this.splitNowIndicatorSegs(t.nowIndicatorSegs,r),l=this.splitDateSelectionSegs(t.dateSelectionSegs,r),u=this.splitEventDrag(t.eventDrag,r),c=this.splitEventResize(t.eventResize,r);return We("div",{className:"fc-timegrid-cols",ref:this.rootElRef},We("table",{role:"presentation",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,We("tbody",{role:"presentation"},We("tr",{role:"row"},t.axis&&We("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},We("div",{className:"fc-timegrid-col-frame"},We("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&We(ua,{isAxis:!0,date:t.nowDate},(function(e,t,r,o){return We("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(t).join(" "),style:{top:n}},o)}))))),t.cells.map((function(n,r){return We(ws,{key:n.key,elRef:e.cellElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,nowDate:t.nowDate,todayRange:t.todayRange,extraHookProps:n.extraHookProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,fgEventSegs:o[r],bgEventSegs:i[r],businessHourSegs:a[r],nowIndicatorSegs:s[r],dateSelectionSegs:l[r],eventDrag:u[r],eventResize:c[r],slatCoords:t.slatCoords,eventSelection:t.eventSelection,forPrint:t.forPrint})}))))))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.updateCoords=function(){var e,t=this.props;t.onColCoords&&null!==t.clientWidth&&t.onColCoords(new no(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.cells.map((function(t){return e[t.key]}))),!0,!1))},t}(uo);var xs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processSlotOptions=Jt(Ms),t.state={slatCoords:null},t.handleRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t.handleScrollRequest=function(e){var n=t.props.onScrollTopRequest,r=t.state.slatCoords;if(n&&r){if(e.time){var o=r.computeTimeTop(e.time);(o=Math.ceil(o))&&(o+=1),n(o)}return!0}return!1},t.handleColCoords=function(e){t.colCoords=e},t.handleSlatCoords=function(e){t.setState({slatCoords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return We("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},We(ds,{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}),We(Ts,{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:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))},t.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.queryHit=function(e,t){var n=this.context,r=n.dateEnv,o=n.options,a=this.colCoords,s=this.props.dateProfile,l=this.state.slatCoords,u=this.processSlotOptions(this.props.slotDuration,o.snapDuration),c=u.snapDuration,d=u.snapsPerSlot,f=a.leftToIndex(e),p=l.positions.topToIndex(t);if(null!=f&&null!=p){var h=this.props.cells[f],v=l.positions.tops[p],g=l.positions.getHeight(p),m=(t-v)/g,y=p*d+Math.floor(m*d),b=this.props.cells[f].date,_=Bt(s.slotMinTime,function(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}(c,y)),D=r.add(b,_),S=r.add(D,c);return{dateProfile:s,dateSpan:i({range:{start:D,end:S},allDay:!1},h.extraDateSpan),dayEl:a.els[f],rect:{left:a.lefts[f],right:a.rights[f],top:v,bottom:v+g},layer:0}}return null},t}(ho);function Ms(e,t){var n=t||e,r=qt(e,n);return null===r&&(n=e,r=1),{snapDuration:n,snapsPerSlot:r}}var Is=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.sliceRange=function(e,t){for(var n=[],r=0;r<t.length;r+=1){var o=Yn(e,t[r]);o&&n.push({start:o.start,end:o.end,isStart:o.start.valueOf()===e.start.valueOf(),isEnd:o.end.valueOf()===e.end.valueOf(),col:r})}return n},t}(Gi),Ps=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayRanges=Jt(Ns),t.slicer=new Is,t.timeColsRef=Le(),t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.dateProfile,o=t.dayTableModel,a=n.options.nowIndicator,s=this.buildDayRanges(o,r,n.dateEnv);return We(Fi,{unit:a?"minute":"day"},(function(l,u){return We(xs,i({ref:e.timeColsRef},e.slicer.sliceProps(t,r,null,n,s),{forPrint:t.forPrint,axis:t.axis,dateProfile:r,slatMetas:t.slatMetas,slotDuration:t.slotDuration,cells:o.cells[0],tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,expandRows:t.expandRows,nowDate:l,nowIndicatorSegs:a&&e.slicer.sliceNowDate(l,n,s),todayRange:u,onScrollTopRequest:t.onScrollTopRequest,onSlatCoords:t.onSlatCoords}))}))},t}(ho);function Ns(e,t,n){for(var r=[],o=0,i=e.headerDates;o<i.length;o++){var a=i[o];r.push({start:n.add(a,t.slotMinTime),end:n.add(a,t.slotMaxTime)})}return r}var Hs=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function Os(e,t,n,r,o){for(var i,a=new Date(0),s=e,l=zt(0),u=n||function(e){var t,n,r;for(t=Hs.length-1;t>=0;t-=1)if(null!==(r=qt(n=zt(Hs[t]),e))&&r>1)return n;return e}(r),c=[];Gt(s)<Gt(t);){var d=o.add(a,s),f=null!==qt(l,u);c.push({date:d,time:s,key:d.toISOString(),isoTimeStr:(i=d,st(i.getUTCHours(),2)+":"+st(i.getUTCMinutes(),2)+":"+st(i.getUTCSeconds(),2)),isLabeled:f}),s=Bt(s,r),l=Bt(l,r)}return c}var As=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimeColsModel=Jt(Us),t.buildSlatMetas=Jt(Os),t}return o(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateEnv,o=t.dateProfileGenerator,a=this.props,s=a.dateProfile,l=this.buildTimeColsModel(s,o),u=this.allDaySplitter.splitProps(a),c=this.buildSlatMetas(s.slotMinTime,s.slotMaxTime,n.slotLabelInterval,n.slotDuration,r),d=n.dayMinWidth,f=!d,p=d,h=n.dayHeaders&&We(zi,{dates:l.headerDates,dateProfile:s,datesRepDistinctDays:!0,renderIntro:f?this.renderHeadAxis:null}),v=!1!==n.allDaySlot&&function(t){return We(Ka,i({},u.allDay,{dateProfile:s,dayTableModel:l,nextDayThreshold:n.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:f?e.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:a.forPrint},e.getAllDayMaxEventProps()))},g=function(t){return We(Ps,i({},u.timed,{dayTableModel:l,dateProfile:s,axis:f,slotDuration:n.slotDuration,slatMetas:c,forPrint:a.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:e.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:e.handleScrollTopRequest}))};return p?this.renderHScrollLayout(h,v,g,l.colCnt,d,c,this.state.slatCoords):this.renderSimpleLayout(h,v,g)},t}(ss);function Us(e,t){var n=new Bi(e.renderRange,t);return new ji(n,!1)}var Ws=vo({initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:As,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}}),Fs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textId:et()},t}return o(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.dateEnv,r=e.options,o=e.viewApi,a=this.props,s=a.cellId,l=a.dayDate,u=a.todayRange,c=this.state.textId,d=qr(l,u),f=r.listDayFormat?n.format(l,r.listDayFormat):"",p=r.listDaySideFormat?n.format(l,r.listDaySideFormat):"",h=i({date:n.toDate(l),view:o,textId:c,text:f,sideText:p,navLinkAttrs:Kr(this.context,l),sideNavLinkAttrs:Kr(this.context,l,"day",!1)},d),v=["fc-list-day"].concat(Zr(d,t));return We(bo,{hookProps:h,classNames:r.dayHeaderClassNames,content:r.dayHeaderContent,defaultContent:Ls,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},(function(e,n,r,o){return We("tr",{ref:e,className:v.concat(n).join(" "),"data-date":$t(l)},We("th",{scope:"colgroup",colSpan:3,id:s,"aria-labelledby":c},We("div",{className:"fc-list-day-cushion "+t.getClass("tableCellShaded"),ref:r},o)))}))},t}(uo);function Ls(e){return We(ze,null,e.text&&We("a",i({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&We("a",i({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}var zs=hn({hour:"numeric",minute:"2-digit",meridiem:"short"}),Vs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=e.timeHeaderId,o=e.eventHeaderId,a=e.dateHeaderId,s=t.options.eventTimeFormat||zs;return We(aa,{seg:n,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:function(){return function(e,t){var n=cr(e,t);return We("a",i({},n),e.eventRange.def.title)}(n,t)},isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},(function(e,i,l,u,c){return We("tr",{className:["fc-list-event",c.event.url?"fc-event-forced-url":""].concat(i).join(" "),ref:e},function(e,t,n,r,o){var i=n.options;if(!1!==i.displayEventTime){var a=e.eventRange.def,s=e.eventRange.instance,l=!1,u=void 0;if(a.allDay?l=!0:(d=e.eventRange.range,vt((f=jn(d)).start,f.end)>1?e.isStart?u=sr(e,t,n,null,null,s.range.start,e.end):e.isEnd?u=sr(e,t,n,null,null,e.start,s.range.end):l=!0:u=sr(e,t,n)),l){var c={text:n.options.allDayText,view:n.viewApi};return We(bo,{hookProps:c,classNames:i.allDayClassNames,content:i.allDayContent,defaultContent:Bs,didMount:i.allDayDidMount,willUnmount:i.allDayWillUnmount},(function(e,t,n,i){return We("td",{ref:e,headers:r+" "+o,className:["fc-list-event-time"].concat(t).join(" ")},i)}))}return We("td",{className:"fc-list-event-time"},u)}var d,f;return null}(n,s,t,r,a),We("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},We("span",{className:"fc-list-event-dot",style:{borderColor:c.borderColor||c.backgroundColor}})),We("td",{ref:l,headers:o+" "+a,className:"fc-list-event-title"},u))}))},t}(uo);function Bs(e){return e.text}var js=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeDateVars=Jt(qs),t.eventStoreToSegs=Jt(t._eventStoreToSegs),t.state={timeHeaderId:et(),eventHeaderId:et(),dateHeaderIdRoot:et()},t.setRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=["fc-list",n.theme.getClass("table"),!1!==n.options.stickyHeaderDates?"fc-list-sticky":""],o=this.computeDateVars(t.dateProfile),i=o.dayDates,a=o.dayRanges,s=this.eventStoreToSegs(t.eventStore,t.eventUiBases,a);return We(ko,{viewSpec:n.viewSpec,elRef:this.setRootEl},(function(n,o){return We("div",{ref:n,className:r.concat(o).join(" ")},We(Yi,{liquid:!t.isHeightAuto,overflowX:t.isHeightAuto?"visible":"hidden",overflowY:t.isHeightAuto?"visible":"auto"},s.length>0?e.renderSegList(s,i):e.renderEmptyMessage()))}))},t.prototype.renderEmptyMessage=function(){var e=this.context,t=e.options,n=e.viewApi,r={text:t.noEventsText,view:n};return We(bo,{hookProps:r,classNames:t.noEventsClassNames,content:t.noEventsContent,defaultContent:Gs,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},(function(e,t,n,r){return We("div",{className:["fc-list-empty"].concat(t).join(" "),ref:e},We("div",{className:"fc-list-empty-cushion",ref:n},r))}))},t.prototype.renderSegList=function(e,t){var n=this.context,r=n.theme,o=n.options,a=this.state,s=a.timeHeaderId,l=a.eventHeaderId,u=a.dateHeaderIdRoot,c=function(e){var t,n,r=[];for(t=0;t<e.length;t+=1)(r[(n=e[t]).dayIndex]||(r[n.dayIndex]=[])).push(n);return r}(e);return We(Fi,{unit:"day"},(function(e,n){for(var a=[],d=0;d<c.length;d+=1){var f=c[d];if(f){var p=$t(t[d]),h=u+"-"+p;a.push(We(Fs,{key:p,cellId:h,dayDate:t[d],todayRange:n}));for(var v=0,g=f=nr(f,o.eventOrder);v<g.length;v++){var m=g[v];a.push(We(Vs,i({key:p+":"+m.eventRange.instance.instanceId,seg:m,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:s,eventHeaderId:l,dateHeaderId:h},lr(m,n,e))))}}}return We("table",{className:"fc-list-table "+r.getClass("table")},We("thead",null,We("tr",null,We("th",{scope:"col",id:s},o.timeHint),We("th",{scope:"col","aria-hidden":!0}),We("th",{scope:"col",id:l},o.eventHint))),We("tbody",null,a))}))},t.prototype._eventStoreToSegs=function(e,t,n){return this.eventRangesToSegs(Xn(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)},t.prototype.eventRangesToSegs=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.eventRangeToSegs(i,t))}return n},t.prototype.eventRangeToSegs=function(e,t){var n,r,o,i=this.context.dateEnv,a=this.context.options.nextDayThreshold,s=e.range,l=e.def.allDay,u=[];for(n=0;n<t.length;n+=1)if((r=Yn(s,t[n]))&&(o={component:this,eventRange:e,start:r.start,end:r.end,isStart:e.isStart&&r.start.valueOf()===s.start.valueOf(),isEnd:e.isEnd&&r.end.valueOf()===s.end.valueOf(),dayIndex:n},u.push(o),!o.isEnd&&!l&&n+1<t.length&&s.end<i.add(t[n+1].start,a))){o.end=s.end,o.isEnd=!0;break}return u},t}(ho);function Gs(e){return e.text}function qs(e){for(var t=mt(e.renderRange.start),n=e.renderRange.end,r=[],o=[];t<n;)r.push(t),o.push({start:t,end:pt(t,1)}),t=pt(t,1);return{dayDates:r,dayRanges:o}}function Zs(e){return!1===e?null:hn(e)}var Ys=vo({optionRefiners:{listDayFormat:Zs,listDaySideFormat:Zs,noEventsClassNames:Cn,noEventsContent:Cn,noEventsDidMount:Cn,noEventsWillUnmount:Cn},views:{list:{component:js,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}});$((()=>{Foundation.addToJquery($),$(window).on("click",(function(e){let t=$(e.target),n=t.attr("data-tooltip")||t.parents("[data-tooltip]").first().attr("data-tooltip")||"",r=$(`[data-tooltip]:not([data-tooltip="${n}"])`);r.length&&r.foundation("hide")}))})),window.initEventsCalendar=(e,t,n,r)=>{let o=n.split(","),i=r.split(","),a=[];for(let e=0;e<o.length;e++)a.push([o[e],i[e]]);let s=t.map(((e,t)=>e.map((e=>{var n;let r=e.Street?`${e.Street}, `:"";return r+=e.City?`${e.City} `:"",r+=e.State?e.State:"",{groupId:e.DocumentId,title:e.location,eventTitle:e.DocumentName,url:e.DocumentUrl,start:e.eventStart,end:e.eventEnd,location:e.location,address:r,catIndex:t,catColor:null===(n=a[t])||void 0===n?void 0:n[1]}})))),l=s.flat(),u=document.getElementById(e);new ka(u,{plugins:[es,Ws,Ys],headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"},initialView:window.innerWidth>1023?"dayGridMonth":"listWeek",initialDate:new Date,slotMinTime:"07:00:00",slotMaxTime:"20:00:00",navLinks:!0,editable:!1,dayMaxEvents:!0,height:"auto",contentHeight:"auto",handleWindowResize:!0,eventDisplay:"block",eventTimeFormat:{hour:"numeric",minute:"2-digit",hour12:!0,omitZeroMinute:!0,omitCommas:!0},events:l,eventClick:e=>{e.jsEvent.preventDefault()},eventDidMount:e=>{let t=e.event.extendedProps.eventTitle,n=e.event.extendedProps.location,r=e.event.extendedProps.address,o=new Date(e.event.start),i=new Date(e.event.end),a=o.toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric",year:"numeric"});o.getFullYear()===i.getFullYear()&&o.getMonth()===i.getMonth()&&o.getDate()===i.getDate()?(a+="&nbsp;&nbsp;|&nbsp;&nbsp;",a+=o.toLocaleString("en-US",{hour:"numeric",minute:"numeric",hour12:!0}),a+=" - ",a+=i.toLocaleString("en-US",{hour:"numeric",minute:"numeric",hour12:!0})):(a+=o.toLocaleString("en-US",{hour:"numeric",minute:"numeric",hour12:!0}),a+=" - ",a+=i.toLocaleString("en-US",{weekday:"short",month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",hour12:!0}));let l=` <p>\n                                <b>\n                                    <span>${t}</span>\n                                    <br/>\n                                    ${a}\n                                </b>\n                            </p>\n                            <p>\n                                ${n}\n                                <br/>\n                                ${r}\n                            </p>`;new Foundation.Tooltip($(e.el),{tipText:l,allowHtml:!0,tooltipClass:"tooltip events-calendar-tooltip"});let u=s.length<4?2:1;$(e.el).addClass("events-calendar-"+e.event.extendedProps.catIndex*u),e.event.extendedProps.catColor&&$(e.el).css({backgroundColor:e.event.extendedProps.catColor,borderColor:e.event.extendedProps.catColor})}}).render()}}]);
//# sourceMappingURL=events-calendar-widget.js.map
!function(e){var t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=1)}([function(e,t){e.exports=jQuery},function(e,t,o){e.exports=o(2)},function(e,t,o){"use strict";o.r(t);var n=o(0),r=o.n(n);class i{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"googleMapsLoaderInit";this.key=e,this.libraries=t.join(","),this.cb=o}load(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return new Promise((o=>{if(!document.getElementById("google-maps-api-js")){const o=Object.assign(document.createElement("script"),{id:"google-maps-api-js",type:"text/javascript",src:`https://maps.googleapis.com/maps/api/js?key=${this.key}&callback=${this.cb}&libraries=${this.libraries}`,async:e,defer:t});document.body.appendChild(o)}window[this.cb]=o})).then((()=>window.google))}}r()((()=>{new i(window.mvcVars.config.GoogleMapsKey,["geometry","places"]).load().then((e=>{r()(".google-maps__map").each(((t,o)=>{const n={lat:40.1164,lng:-88.2434},i=new e.maps.Map(o,{center:n,zoom:8}),a=new Promise(((e,t)=>{"geolocation"in navigator||t(n),navigator.geolocation.getCurrentPosition((t=>e({lat:t.coords.latitude,lng:t.coords.longitude})),(()=>t(n)))})),l=new Promise(((e,t)=>{try{i.data.loadGeoJson(r()(o).data("geojson"),null,(t=>e(t)))}catch(e){t(e)}}));r()(o).trigger("google:ready",[i,e,a,l])}))}))}))}]);
/*! For license information please see health-plans-accepted.js.LICENSE.txt */
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=3)}([function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=jQuery},function(t,e,n){(function(e,n){t.exports=function(){"use strict";var t=Object.freeze({}),r=Array.isArray;function o(t){return null==t}function i(t){return null!=t}function a(t){return!0===t}function c(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return"function"==typeof t}function u(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function f(t){return"[object Object]"===l.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===l?JSON.stringify(t,h,2):String(t)}function h(t,e){return e&&e.__v_isRef?e.value:e}function m(t){var e=parseFloat(t);return isNaN(e)?t:e}function g(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var y=g("slot,component",!0),_=g("key,ref,slot,slot-scope,is");function b(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var r=t.indexOf(e);if(r>-1)return t.splice(r,1)}}var w=Object.prototype.hasOwnProperty;function $(t,e){return w.call(t,e)}function x(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var C=/-(\w)/g,k=x((function(t){return t.replace(C,(function(t,e){return e?e.toUpperCase():""}))})),S=x((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),O=/\B([A-Z])/g,T=x((function(t){return t.replace(O,"-$1").toLowerCase()})),A=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function j(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function E(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n<t.length;n++)t[n]&&E(e,t[n]);return e}function I(t,e,n){}var M=function(t,e,n){return!1},N=function(t){return t};function D(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every((function(t,n){return D(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),c=Object.keys(e);return a.length===c.length&&a.every((function(n){return D(t[n],e[n])}))}catch(t){return!1}}function L(t,e){for(var n=0;n<t.length;n++)if(D(t[n],e))return n;return-1}function R(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function F(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var H="data-server-rendered",B=["component","directive","filter"],U=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:M,isReservedAttr:M,isUnknownElement:M,getTagNamespace:I,parsePlatformTagName:N,mustUseProp:M,async:!0,_lifecycleHooks:U},V=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function K(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function J(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var q=new RegExp("[^".concat(V.source,".$_\\d]")),W="__proto__"in{},G="undefined"!=typeof window,Z=G&&window.navigator.userAgent.toLowerCase(),Q=Z&&/msie|trident/.test(Z),X=Z&&Z.indexOf("msie 9.0")>0,Y=Z&&Z.indexOf("edge/")>0;Z&&Z.indexOf("android");var tt=Z&&/iphone|ipad|ipod|ios/.test(Z);Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z);var et,nt=Z&&Z.match(/firefox\/(\d+)/),rt={}.watch,ot=!1;if(G)try{var it={};Object.defineProperty(it,"passive",{get:function(){ot=!0}}),window.addEventListener("test-passive",null,it)}catch(t){}var at=function(){return void 0===et&&(et=!G&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),et},ct=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,lt="undefined"!=typeof Symbol&&st(Symbol)&&"undefined"!=typeof Reflect&&st(Reflect.ownKeys);ut="undefined"!=typeof Set&&st(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=null;function dt(t){void 0===t&&(t=null),t||ft&&ft._scope.off(),ft=t,t&&t._scope.on()}var pt=function(){function t(t,e,n,r,o,i,a,c){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=c,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),vt=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function ht(t){return new pt(void 0,void 0,void 0,String(t))}function mt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"==typeof SuppressedError&&SuppressedError;var gt=0,yt=[],_t=function(){for(var t=0;t<yt.length;t++){var e=yt[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}yt.length=0},bt=function(){function t(){this._pending=!1,this.id=gt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,yt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){for(var e=this.subs.filter((function(t){return t})),n=0,r=e.length;n<r;n++)e[n].update()},t}();bt.target=null;var wt=[];function $t(t){wt.push(t),bt.target=t}function xt(){wt.pop(),bt.target=wt[wt.length-1]}var Ct=Array.prototype,kt=Object.create(Ct);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Ct[t];J(kt,t,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i}))}));var St=Object.getOwnPropertyNames(kt),Ot={},Tt=!0;function At(t){Tt=t}var jt={notify:I,depend:I,addSub:I,removeSub:I},Et=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?jt:new bt,this.vmCount=0,J(t,"__ob__",this),r(t)){if(!n)if(W)t.__proto__=kt;else for(var o=0,i=St.length;o<i;o++)J(t,c=St[o],kt[c]);e||this.observeArray(t)}else{var a=Object.keys(t);for(o=0;o<a.length;o++){var c;It(t,c=a[o],Ot,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Pt(t[e],!1,this.mock)},t}();function Pt(t,e,n){return t&&$(t,"__ob__")&&t.__ob__ instanceof Et?t.__ob__:!Tt||!n&&at()||!r(t)&&!f(t)||!Object.isExtensible(t)||t.__v_skip||zt(t)||t instanceof pt?void 0:new Et(t,e,n)}function It(t,e,n,o,i,a,c){void 0===c&&(c=!1);var s=new bt,u=Object.getOwnPropertyDescriptor(t,e);if(!u||!1!==u.configurable){var l=u&&u.get,f=u&&u.set;l&&!f||n!==Ot&&2!==arguments.length||(n=t[e]);var d=i?n&&n.__ob__:Pt(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=l?l.call(t):n;return bt.target&&(s.depend(),d&&(d.dep.depend(),r(e)&&Dt(e))),zt(e)&&!i?e.value:e},set:function(e){var r=l?l.call(t):n;if(F(r,e)){if(f)f.call(t,e);else{if(l)return;if(!i&&zt(r)&&!zt(e))return void(r.value=e);n=e}d=i?e&&e.__ob__:Pt(e,!1,a),s.notify()}}}),s}}function Mt(t,e,n){if(!Bt(t)){var o=t.__ob__;return r(t)&&d(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),o&&!o.shallow&&o.mock&&Pt(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||o&&o.vmCount?n:o?(It(o.value,e,n,void 0,o.shallow,o.mock),o.dep.notify(),n):(t[e]=n,n)}}function Nt(t,e){if(r(t)&&d(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Bt(t)||$(t,e)&&(delete t[e],n&&n.dep.notify())}}function Dt(t){for(var e=void 0,n=0,o=t.length;n<o;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&Dt(e)}function Lt(t){return Rt(t,!0),J(t,"__v_isShallow",!0),t}function Rt(t,e){Bt(t)||Pt(t,e,at())}function Ft(t){return Bt(t)?Ft(t.__v_raw):!(!t||!t.__ob__)}function Ht(t){return!(!t||!t.__v_isShallow)}function Bt(t){return!(!t||!t.__v_isReadonly)}var Ut="__v_isRef";function zt(t){return!(!t||!0!==t.__v_isRef)}function Vt(t,e){if(zt(t))return t;var n={};return J(n,Ut,!0),J(n,"__v_isShallow",e),J(n,"dep",It(n,"value",t,null,e,at())),n}function Kt(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(zt(t))return t.value;var r=t&&t.__ob__;return r&&r.dep.depend(),t},set:function(t){var r=e[n];zt(r)&&!zt(t)?r.value=t:e[n]=t}})}function Jt(t,e,n){var r=t[e];if(zt(r))return r;var o={get value(){var r=t[e];return void 0===r?n:r},set value(n){t[e]=n}};return J(o,Ut,!0),o}var qt="__v_rawToReadonly",Wt="__v_rawToShallowReadonly";function Gt(t){return Zt(t,!1)}function Zt(t,e){if(!f(t))return t;if(Bt(t))return t;var n=e?Wt:qt,r=t[n];if(r)return r;var o=Object.create(Object.getPrototypeOf(t));J(t,n,o),J(o,"__v_isReadonly",!0),J(o,"__v_raw",t),zt(t)&&J(o,Ut,!0),(e||Ht(t))&&J(o,"__v_isShallow",!0);for(var i=Object.keys(t),a=0;a<i.length;a++)Qt(o,t,i[a],e);return o}function Qt(t,e,n,r){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];return r||!f(t)?t:Gt(t)},set:function(){}})}var Xt=x((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}));function Yt(t,e){function n(){var t=n.fns;if(!r(t))return wn(t,null,arguments,e,"v-on handler");for(var o=t.slice(),i=0;i<o.length;i++)wn(o[i],null,arguments,e,"v-on handler")}return n.fns=t,n}function te(t,e,n,r,i,c){var s,u,l,f;for(s in t)u=t[s],l=e[s],f=Xt(s),o(u)||(o(l)?(o(u.fns)&&(u=t[s]=Yt(u,c)),a(f.once)&&(u=t[s]=i(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,t[s]=l));for(s in e)o(t[s])&&r((f=Xt(s)).name,e[s],f.capture)}function ee(t,e,n){var r;t instanceof pt&&(t=t.data.hook||(t.data.hook={}));var c=t[e];function s(){n.apply(this,arguments),b(r.fns,s)}o(c)?r=Yt([s]):i(c.fns)&&a(c.merged)?(r=c).fns.push(s):r=Yt([c,s]),r.merged=!0,t[e]=r}function ne(t,e,n,r,o){if(i(e)){if($(e,n))return t[n]=e[n],o||delete e[n],!0;if($(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function re(t){return c(t)?[ht(t)]:r(t)?ie(t):void 0}function oe(t){return i(t)&&i(t.text)&&!1===t.isComment}function ie(t,e){var n,s,u,l,f=[];for(n=0;n<t.length;n++)o(s=t[n])||"boolean"==typeof s||(l=f[u=f.length-1],r(s)?s.length>0&&(oe((s=ie(s,"".concat(e||"","_").concat(n)))[0])&&oe(l)&&(f[u]=ht(l.text+s[0].text),s.shift()),f.push.apply(f,s)):c(s)?oe(l)?f[u]=ht(l.text+s):""!==s&&f.push(ht(s)):oe(s)&&oe(l)?f[u]=ht(l.text+s.text):(a(t._isVList)&&i(s.tag)&&o(s.key)&&i(e)&&(s.key="__vlist".concat(e,"_").concat(n,"__")),f.push(s)));return f}var ae=1,ce=2;function se(t,e,n,o,l,f){return(r(n)||c(n))&&(l=o,o=n,n=void 0),a(f)&&(l=ce),function(t,e,n,o,a){if(i(n)&&i(n.__ob__))return vt();if(i(n)&&i(n.is)&&(e=n.is),!e)return vt();var c,l;if(r(o)&&s(o[0])&&((n=n||{}).scopedSlots={default:o[0]},o.length=0),a===ce?o=re(o):a===ae&&(o=function(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}(o)),"string"==typeof e){var f=void 0;l=t.$vnode&&t.$vnode.ns||z.getTagNamespace(e),c=z.isReservedTag(e)?new pt(z.parsePlatformTagName(e),n,o,void 0,void 0,t):n&&n.pre||!i(f=Or(t.$options,"components",e))?new pt(e,n,o,void 0,void 0,t):gr(f,n,t,o,e)}else c=gr(e,n,t,o);return r(c)?c:i(c)?(i(l)&&ue(c,l),i(n)&&function(t){u(t.style)&&Zn(t.style),u(t.class)&&Zn(t.class)}(n),c):vt()}(t,e,n,o,l)}function ue(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var r=0,c=t.children.length;r<c;r++){var s=t.children[r];i(s.tag)&&(o(s.ns)||a(n)&&"svg"!==s.tag)&&ue(s,e,n)}}function le(t,e){var n,o,a,c,s=null;if(r(t)||"string"==typeof t)for(s=new Array(t.length),n=0,o=t.length;n<o;n++)s[n]=e(t[n],n);else if("number"==typeof t)for(s=new Array(t),n=0;n<t;n++)s[n]=e(n+1,n);else if(u(t))if(lt&&t[Symbol.iterator]){s=[];for(var l=t[Symbol.iterator](),f=l.next();!f.done;)s.push(e(f.value,s.length)),f=l.next()}else for(a=Object.keys(t),s=new Array(a.length),n=0,o=a.length;n<o;n++)c=a[n],s[n]=e(t[c],c,n);return i(s)||(s=[]),s._isVList=!0,s}function fe(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=E(E({},r),n)),o=i(n)||(s(e)?e():e)):o=this.$slots[t]||(s(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function de(t){return Or(this.$options,"filters",t)||N}function pe(t,e){return r(t)?-1===t.indexOf(e):t!==e}function ve(t,e,n,r,o){var i=z.keyCodes[e]||n;return o&&r&&!z.keyCodes[e]?pe(o,r):i?pe(i,t):r?T(r)!==e:void 0===t}function he(t,e,n,o,i){if(n&&u(n)){r(n)&&(n=P(n));var a=void 0,c=function(r){if("class"===r||"style"===r||_(r))a=t;else{var c=t.attrs&&t.attrs.type;a=o||z.mustUseProp(e,c,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var s=k(r),u=T(r);s in a||u in a||(a[r]=n[r],i&&((t.on||(t.on={}))["update:".concat(r)]=function(t){n[r]=t}))};for(var s in n)c(s)}return t}function me(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||ye(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),r}function ge(t,e,n){return ye(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function ye(t,e,n){if(r(t))for(var o=0;o<t.length;o++)t[o]&&"string"!=typeof t[o]&&_e(t[o],"".concat(e,"_").concat(o),n);else _e(t,e,n)}function _e(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function be(t,e){if(e&&f(e)){var n=t.on=t.on?E({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}return t}function we(t,e,n,o){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var a=t[i];r(a)?we(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return o&&(e.$key=o),e}function $e(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"==typeof r&&r&&(t[e[n]]=e[n+1])}return t}function xe(t,e){return"string"==typeof t?e+t:t}function Ce(t){t._o=ge,t._n=m,t._s=v,t._l=le,t._t=fe,t._q=D,t._i=L,t._m=me,t._f=de,t._k=ve,t._b=he,t._v=ht,t._e=vt,t._u=we,t._g=be,t._d=$e,t._p=xe}function ke(t,e){if(!t||!t.length)return{};for(var n={},r=0,o=t.length;r<o;r++){var i=t[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var c=a.slot,s=n[c]||(n[c]=[]);"template"===i.tag?s.push.apply(s,i.children||[]):s.push(i)}}for(var u in n)n[u].every(Se)&&delete n[u];return n}function Se(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Oe(t){return t.isComment&&t.asyncFactory}function Te(e,n,r,o){var i,a=Object.keys(r).length>0,c=n?!!n.$stable:!a,s=n&&n.$key;if(n){if(n._normalized)return n._normalized;if(c&&o&&o!==t&&s===o.$key&&!a&&!o.$hasNormal)return o;for(var u in i={},n)n[u]&&"$"!==u[0]&&(i[u]=Ae(e,r,u,n[u]))}else i={};for(var l in r)l in i||(i[l]=je(r,l));return n&&Object.isExtensible(n)&&(n._normalized=i),J(i,"$stable",c),J(i,"$key",s),J(i,"$hasNormal",a),i}function Ae(t,e,n,o){var i=function(){var e=ft;dt(t);var n=arguments.length?o.apply(null,arguments):o({}),i=(n=n&&"object"==typeof n&&!r(n)?[n]:re(n))&&n[0];return dt(e),n&&(!i||1===n.length&&i.isComment&&!Oe(i))?void 0:n};return o.proxy&&Object.defineProperty(e,n,{get:i,enumerable:!0,configurable:!0}),i}function je(t,e){return function(){return t[e]}}function Ee(e){return{get attrs(){if(!e._attrsProxy){var n=e._attrsProxy={};J(n,"_v_attr_proxy",!0),Pe(n,e.$attrs,t,e,"$attrs")}return e._attrsProxy},get listeners(){return e._listenersProxy||Pe(e._listenersProxy={},e.$listeners,t,e,"$listeners"),e._listenersProxy},get slots(){return function(t){return t._slotsProxy||Me(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}(e)},emit:A(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach((function(n){return Kt(e,t,n)}))}}}function Pe(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,Ie(t,a,r,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function Ie(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function Me(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Ne(){var t=ft;return t._setupContext||(t._setupContext=Ee(t))}var De,Le,Re=null;function Fe(t,e){return(t.__esModule||lt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function He(t){if(r(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||Oe(n)))return n}}function Be(t,e){De.$on(t,e)}function Ue(t,e){De.$off(t,e)}function ze(t,e){var n=De;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function Ve(t,e,n){De=t,te(e,n||{},Be,Ue,ze,t),De=void 0}var Ke=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Le,!t&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Le;try{return Le=this,t()}finally{Le=e}}},t.prototype.on=function(){Le=this},t.prototype.off=function(){Le=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},t}();function Je(){return Le}var qe=null;function We(t){var e=qe;return qe=t,function(){qe=e}}function Ge(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Ze(t,e){if(e){if(t._directInactive=!1,Ge(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Ze(t.$children[n]);Xe(t,"activated")}}function Qe(t,e){if(!(e&&(t._directInactive=!0,Ge(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Qe(t.$children[n]);Xe(t,"deactivated")}}function Xe(t,e,n,r){void 0===r&&(r=!0),$t();var o=ft,i=Je();r&&dt(t);var a=t.$options[e],c="".concat(e," hook");if(a)for(var s=0,u=a.length;s<u;s++)wn(a[s],t,n||null,t,c);t._hasHookEvent&&t.$emit("hook:"+e),r&&(dt(o),i&&i.on()),xt()}var Ye=[],tn=[],en={},nn=!1,rn=!1,on=0,an=0,cn=Date.now;if(G&&!Q){var sn=window.performance;sn&&"function"==typeof sn.now&&cn()>document.createEvent("Event").timeStamp&&(cn=function(){return sn.now()})}var un=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function ln(){var t,e;for(an=cn(),rn=!0,Ye.sort(un),on=0;on<Ye.length;on++)(t=Ye[on]).before&&t.before(),e=t.id,en[e]=null,t.run();var n=tn.slice(),r=Ye.slice();on=Ye.length=tn.length=0,en={},nn=rn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Ze(t[e],!0)}(n),function(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Xe(r,"updated")}}(r),_t(),ct&&z.devtools&&ct.emit("flush")}function fn(t){var e=t.id;if(null==en[e]&&(t!==bt.target||!t.noRecurse)){if(en[e]=!0,rn){for(var n=Ye.length-1;n>on&&Ye[n].id>t.id;)n--;Ye.splice(n+1,0,t)}else Ye.push(t);nn||(nn=!0,In(ln))}}var dn="watcher",pn="".concat(dn," callback"),vn="".concat(dn," getter"),hn="".concat(dn," cleanup");function mn(t,e){return yn(t,null,{flush:"post"})}var gn={};function yn(e,n,o){var i=void 0===o?t:o,a=i.immediate,c=i.deep,u=i.flush,l=void 0===u?"pre":u;i.onTrack,i.onTrigger;var f,d,p=ft,v=function(t,e,n){void 0===n&&(n=null);var r=wn(t,null,n,p,e);return c&&r&&r.__ob__&&r.__ob__.dep.depend(),r},h=!1,m=!1;if(zt(e)?(f=function(){return e.value},h=Ht(e)):Ft(e)?(f=function(){return e.__ob__.dep.depend(),e},c=!0):r(e)?(m=!0,h=e.some((function(t){return Ft(t)||Ht(t)})),f=function(){return e.map((function(t){return zt(t)?t.value:Ft(t)?(t.__ob__.dep.depend(),Zn(t)):s(t)?v(t,vn):void 0}))}):f=s(e)?n?function(){return v(e,vn)}:function(){if(!p||!p._isDestroyed)return d&&d(),v(e,dn,[y])}:I,n&&c){var g=f;f=function(){return Zn(g())}}var y=function(t){d=_.onStop=function(){v(t,hn)}};if(at())return y=I,n?a&&v(n,pn,[f(),m?[]:void 0,y]):f(),I;var _=new Yn(ft,f,I,{lazy:!0});_.noRecurse=!n;var b=m?[]:gn;return _.run=function(){if(_.active)if(n){var t=_.get();(c||h||(m?t.some((function(t,e){return F(t,b[e])})):F(t,b)))&&(d&&d(),v(n,pn,[t,b===gn?void 0:b,y]),b=t)}else _.get()},"sync"===l?_.update=_.run:"post"===l?(_.post=!0,_.update=function(){return fn(_)}):_.update=function(){if(p&&p===ft&&!p._isMounted){var t=p._preWatchers||(p._preWatchers=[]);t.indexOf(_)<0&&t.push(_)}else fn(_)},n?a?_.run():b=_.get():"post"===l&&p?p.$once("hook:mounted",(function(){return _.get()})):_.get(),function(){_.teardown()}}function _n(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function bn(t,e,n){$t();try{if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,t,e,n))return}catch(t){$n(t,r,"errorCaptured hook")}}$n(t,e,n)}finally{xt()}}function wn(t,e,n,r,o){var i;try{(i=n?t.apply(e,n):t.call(e))&&!i._isVue&&p(i)&&!i._handled&&(i.catch((function(t){return bn(t,r,o+" (Promise/async)")})),i._handled=!0)}catch(t){bn(t,r,o)}return i}function $n(t,e,n){if(z.errorHandler)try{return z.errorHandler.call(null,t,e,n)}catch(e){e!==t&&xn(e)}xn(t)}function xn(t,e,n){if(!G||"undefined"==typeof console)throw t;console.error(t)}var Cn,kn=!1,Sn=[],On=!1;function Tn(){On=!1;var t=Sn.slice(0);Sn.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&st(Promise)){var An=Promise.resolve();Cn=function(){An.then(Tn),tt&&setTimeout(I)},kn=!0}else if(Q||"undefined"==typeof MutationObserver||!st(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Cn=void 0!==n&&st(n)?function(){n(Tn)}:function(){setTimeout(Tn,0)};else{var jn=1,En=new MutationObserver(Tn),Pn=document.createTextNode(String(jn));En.observe(Pn,{characterData:!0}),Cn=function(){jn=(jn+1)%2,Pn.data=String(jn)},kn=!0}function In(t,e){var n;if(Sn.push((function(){if(t)try{t.call(e)}catch(t){bn(t,e,"nextTick")}else n&&n(e)})),On||(On=!0,Cn()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function Mn(t){return function(e,n){if(void 0===n&&(n=ft),n)return function(t,e,n){var r=t.$options;r[e]=xr(r[e],n)}(n,t,e)}}var Nn=Mn("beforeMount"),Dn=Mn("mounted"),Ln=Mn("beforeUpdate"),Rn=Mn("updated"),Fn=Mn("beforeDestroy"),Hn=Mn("destroyed"),Bn=Mn("activated"),Un=Mn("deactivated"),zn=Mn("serverPrefetch"),Vn=Mn("renderTracked"),Kn=Mn("renderTriggered"),Jn=Mn("errorCaptured"),qn="2.7.16",Wn=Object.freeze({__proto__:null,version:qn,defineComponent:function(t){return t},ref:function(t){return Vt(t,!1)},shallowRef:function(t){return Vt(t,!0)},isRef:zt,toRef:Jt,toRefs:function(t){var e=r(t)?new Array(t.length):{};for(var n in t)e[n]=Jt(t,n);return e},unref:function(t){return zt(t)?t.value:t},proxyRefs:function(t){if(Ft(t))return t;for(var e={},n=Object.keys(t),r=0;r<n.length;r++)Kt(e,t,n[r]);return e},customRef:function(t){var e=new bt,n=t((function(){e.depend()}),(function(){e.notify()})),r=n.get,o=n.set,i={get value(){return r()},set value(t){o(t)}};return J(i,Ut,!0),i},triggerRef:function(t){t.dep&&t.dep.notify()},reactive:function(t){return Rt(t,!1),t},isReactive:Ft,isReadonly:Bt,isShallow:Ht,isProxy:function(t){return Ft(t)||Bt(t)},shallowReactive:Lt,markRaw:function(t){return Object.isExtensible(t)&&J(t,"__v_skip",!0),t},toRaw:function t(e){var n=e&&e.__v_raw;return n?t(n):e},readonly:Gt,shallowReadonly:function(t){return Zt(t,!0)},computed:function(t,e){var n,r,o=s(t);o?(n=t,r=I):(n=t.get,r=t.set);var i=at()?null:new Yn(ft,n,I,{lazy:!0}),a={effect:i,get value(){return i?(i.dirty&&i.evaluate(),bt.target&&i.depend(),i.value):n()},set value(t){r(t)}};return J(a,Ut,!0),J(a,"__v_isReadonly",o),a},watch:function(t,e,n){return yn(t,e,n)},watchEffect:function(t,e){return yn(t,null,e)},watchPostEffect:mn,watchSyncEffect:function(t,e){return yn(t,null,{flush:"sync"})},EffectScope:Ke,effectScope:function(t){return new Ke(t)},onScopeDispose:function(t){Le&&Le.cleanups.push(t)},getCurrentScope:Je,provide:function(t,e){ft&&(_n(ft)[t]=e)},inject:function(t,e,n){void 0===n&&(n=!1);var r=ft;if(r){var o=r.$parent&&r.$parent._provided;if(o&&t in o)return o[t];if(arguments.length>1)return n&&s(e)?e.call(r):e}},h:function(t,e,n){return se(ft,t,e,n,2,!0)},getCurrentInstance:function(){return ft&&{proxy:ft}},useSlots:function(){return Ne().slots},useAttrs:function(){return Ne().attrs},useListeners:function(){return Ne().listeners},mergeDefaults:function(t,e){var n=r(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var o in e){var i=n[o];i?r(i)||s(i)?n[o]={type:i,default:e[o]}:i.default=e[o]:null===i&&(n[o]={default:e[o]})}return n},nextTick:In,set:Mt,del:Nt,useCssModule:function(e){return t},useCssVars:function(t){if(G){var e=ft;e&&mn((function(){var n=e.$el,r=t(e,e._setupProxy);if(n&&1===n.nodeType){var o=n.style;for(var i in r)o.setProperty("--".concat(i),r[i])}}))}},defineAsyncComponent:function(t){s(t)&&(t={loader:t});var e=t.loader,n=t.loadingComponent,r=t.errorComponent,o=t.delay,i=void 0===o?200:o,a=t.timeout;t.suspensible;var c=t.onError,u=null,l=0,f=function(){var t;return u||(t=u=e().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),c)return new Promise((function(e,n){c(t,(function(){return e((l++,u=null,f()))}),(function(){return n(t)}),l+1)}));throw t})).then((function(e){return t!==u&&u?u:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),e)})))};return function(){return{component:f(),delay:i,timeout:a,error:r,loading:n}}},onBeforeMount:Nn,onMounted:Dn,onBeforeUpdate:Ln,onUpdated:Rn,onBeforeUnmount:Fn,onUnmounted:Hn,onActivated:Bn,onDeactivated:Un,onServerPrefetch:zn,onRenderTracked:Vn,onRenderTriggered:Kn,onErrorCaptured:function(t,e){void 0===e&&(e=ft),Jn(t,e)}}),Gn=new ut;function Zn(t){return Qn(t,Gn),Gn.clear(),t}function Qn(t,e){var n,o,i=r(t);if(!(!i&&!u(t)||t.__v_skip||Object.isFrozen(t)||t instanceof pt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(n=t.length;n--;)Qn(t[n],e);else if(zt(t))Qn(t.value,e);else for(n=(o=Object.keys(t)).length;n--;)Qn(t[o[n]],e)}}var Xn=0,Yn=function(){function t(t,e,n,r,o){!function(t,e){void 0===e&&(e=Le),e&&e.active&&e.effects.push(t)}(this,Le&&!Le._vm?Le:t?t._scope:void 0),(this.vm=t)&&o&&(t._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Xn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="",s(e)?this.getter=e:(this.getter=function(t){if(!q.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;$t(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;bn(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&Zn(t),xt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():fn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');wn(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&b(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}(),tr={enumerable:!0,configurable:!0,get:I,set:I};function er(t,e,n){tr.get=function(){return this[e][n]},tr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,tr)}function nr(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props=Lt({}),o=t.$options._propKeys=[];!t.$parent||At(!1);var i=function(i){o.push(i);var a=Tr(i,e,n,t);It(r,i,a,void 0,!0),i in t||er(t,"_props",i)};for(var a in e)i(a);At(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=Ee(t);dt(t),$t();var o=wn(n,null,[t._props||Lt({}),r],t,"setup");if(xt(),dt(),s(o))e.render=o;else if(u(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)"__sfc"!==a&&Kt(i,o,a)}else for(var a in o)K(a)||Kt(t,o,a)}}(t),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]="function"!=typeof e[n]?I:A(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;f(e=t._data=s(e)?function(t,e){$t();try{return t.call(e,e)}catch(t){return bn(t,e,"data()"),{}}finally{xt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props;t.$options.methods;for(var o=n.length;o--;){var i=n[o];r&&$(r,i)||K(i)||er(t,"_data",i)}var a=Pt(e);a&&a.vmCount++}(t);else{var n=Pt(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=at();for(var o in e){var i=e[o],a=s(i)?i:i.get;r||(n[o]=new Yn(t,a||I,I,rr)),o in t||or(t,o,i)}}(t,e.computed),e.watch&&e.watch!==rt&&function(t,e){for(var n in e){var o=e[n];if(r(o))for(var i=0;i<o.length;i++)cr(t,n,o[i]);else cr(t,n,o)}}(t,e.watch)}var rr={lazy:!0};function or(t,e,n){var r=!at();s(n)?(tr.get=r?ir(e):ar(n),tr.set=I):(tr.get=n.get?r&&!1!==n.cache?ir(e):ar(n.get):I,tr.set=n.set||I),Object.defineProperty(t,e,tr)}function ir(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),bt.target&&e.depend(),e.value}}function ar(t){return function(){return t.call(this,this)}}function cr(t,e,n,r){return f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function sr(t,e){if(t){for(var n=Object.create(null),r=lt?Reflect.ownKeys(t):Object.keys(t),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){var a=t[i].from;if(a in e._provided)n[i]=e._provided[a];else if("default"in t[i]){var c=t[i].default;n[i]=s(c)?c.call(e):c}}}return n}}var ur=0;function lr(t){var e=t.options;if(t.super){var n=lr(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}(t);r&&E(t.extendOptions,r),(e=t.options=Sr(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function fr(e,n,o,i,c){var s,u=this,l=c.options;$(i,"_uid")?(s=Object.create(i))._original=i:(s=i,i=i._original);var f=a(l._compiled),d=!f;this.data=e,this.props=n,this.children=o,this.parent=i,this.listeners=e.on||t,this.injections=sr(l.inject,i),this.slots=function(){return u.$slots||Te(i,e.scopedSlots,u.$slots=ke(o,i)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Te(i,e.scopedSlots,this.slots())}}),f&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=Te(i,e.scopedSlots,this.$slots)),l._scopeId?this._c=function(t,e,n,o){var a=se(s,t,e,n,o,d);return a&&!r(a)&&(a.fnScopeId=l._scopeId,a.fnContext=i),a}:this._c=function(t,e,n,r){return se(s,t,e,n,r,d)}}function dr(t,e,n,r,o){var i=mt(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function pr(t,e){for(var n in e)t[k(n)]=e[n]}function vr(t){return t.name||t.__name||t._componentTag}Ce(fr.prototype);var hr={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;hr.prepatch(n,n)}else(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}(t,qe)).$mount(e?t.elm:void 0,e)},prepatch:function(e,n){var r=n.componentOptions;!function(e,n,r,o,i){var a=o.data.scopedSlots,c=e.$scopedSlots,s=!!(a&&!a.$stable||c!==t&&!c.$stable||a&&e.$scopedSlots.$key!==a.$key||!a&&e.$scopedSlots.$key),u=!!(i||e.$options._renderChildren||s),l=e.$vnode;e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o),e.$options._renderChildren=i;var f=o.data.attrs||t;e._attrsProxy&&Pe(e._attrsProxy,f,l.data&&l.data.attrs||t,e,"$attrs")&&(u=!0),e.$attrs=f,r=r||t;var d=e.$options._parentListeners;if(e._listenersProxy&&Pe(e._listenersProxy,r,d||t,e,"$listeners"),e.$listeners=e.$options._parentListeners=r,Ve(e,r,d),n&&e.$options.props){At(!1);for(var p=e._props,v=e.$options._propKeys||[],h=0;h<v.length;h++){var m=v[h],g=e.$options.props;p[m]=Tr(m,g,n,e)}At(!0),e.$options.propsData=n}u&&(e.$slots=ke(i,o.context),e.$forceUpdate())}(n.componentInstance=e.componentInstance,r.propsData,r.listeners,n,r.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Xe(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,tn.push(e)):Ze(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Qe(e,!0):e.$destroy())}},mr=Object.keys(hr);function gr(e,n,c,s,l){if(!o(e)){var f=c.$options._base;if(u(e)&&(e=f.extend(e)),"function"==typeof e){var d;if(o(e.cid)&&(e=function(t,e){if(a(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;var n=Re;if(n&&i(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),a(t.loading)&&i(t.loadingComp))return t.loadingComp;if(n&&!i(t.owners)){var r=t.owners=[n],c=!0,s=null,l=null;n.$on("hook:destroyed",(function(){return b(r,n)}));var f=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0,null!==s&&(clearTimeout(s),s=null),null!==l&&(clearTimeout(l),l=null))},d=R((function(n){t.resolved=Fe(n,e),c?r.length=0:f(!0)})),v=R((function(e){i(t.errorComp)&&(t.error=!0,f(!0))})),h=t(d,v);return u(h)&&(p(h)?o(t.resolved)&&h.then(d,v):p(h.component)&&(h.component.then(d,v),i(h.error)&&(t.errorComp=Fe(h.error,e)),i(h.loading)&&(t.loadingComp=Fe(h.loading,e),0===h.delay?t.loading=!0:s=setTimeout((function(){s=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,f(!1))}),h.delay||200)),i(h.timeout)&&(l=setTimeout((function(){l=null,o(t.resolved)&&v(null)}),h.timeout)))),c=!1,t.loading?t.loadingComp:t.resolved}}(d=e,f),void 0===e))return function(t,e,n,r,o){var i=vt();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}(d,n,c,s,l);n=n||{},lr(e),i(n.model)&&function(t,e){var n=t.model&&t.model.prop||"value",o=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var a=e.on||(e.on={}),c=a[o],s=e.model.callback;i(c)?(r(c)?-1===c.indexOf(s):c!==s)&&(a[o]=[s].concat(c)):a[o]=s}(e.options,n);var v=function(t,e,n){var r=e.options.props;if(!o(r)){var a={},c=t.attrs,s=t.props;if(i(c)||i(s))for(var u in r){var l=T(u);ne(a,s,u,l,!0)||ne(a,c,u,l,!1)}return a}}(n,e);if(a(e.options.functional))return function(e,n,o,a,c){var s=e.options,u={},l=s.props;if(i(l))for(var f in l)u[f]=Tr(f,l,n||t);else i(o.attrs)&&pr(u,o.attrs),i(o.props)&&pr(u,o.props);var d=new fr(o,u,c,a,e),p=s.render.call(null,d._c,d);if(p instanceof pt)return dr(p,o,d.parent,s);if(r(p)){for(var v=re(p)||[],h=new Array(v.length),m=0;m<v.length;m++)h[m]=dr(v[m],o,d.parent,s);return h}}(e,v,n,c,s);var h=n.on;if(n.on=n.nativeOn,a(e.options.abstract)){var m=n.slot;n={},m&&(n.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<mr.length;n++){var r=mr[n],o=e[r],i=hr[r];o===i||o&&o._merged||(e[r]=o?yr(i,o):i)}}(n);var g=vr(e.options)||l;return new pt("vue-component-".concat(e.cid).concat(g?"-".concat(g):""),n,void 0,void 0,void 0,c,{Ctor:e,propsData:v,listeners:h,tag:l,children:s},d)}}}function yr(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var _r=I,br=z.optionMergeStrategies;function wr(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var r,o,i,a=lt?Reflect.ownKeys(e):Object.keys(e),c=0;c<a.length;c++)"__ob__"!==(r=a[c])&&(o=t[r],i=e[r],n&&$(t,r)?o!==i&&f(o)&&f(i)&&wr(o,i):Mt(t,r,i));return t}function $r(t,e,n){return n?function(){var r=s(e)?e.call(n,n):e,o=s(t)?t.call(n,n):t;return r?wr(r,o):o}:e?t?function(){return wr(s(e)?e.call(this,this):e,s(t)?t.call(this,this):t)}:e:t}function xr(t,e){var n=e?t?t.concat(e):r(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Cr(t,e,n,r){var o=Object.create(t||null);return e?E(o,e):o}br.data=function(t,e,n){return n?$r(t,e,n):e&&"function"!=typeof e?t:$r(t,e)},U.forEach((function(t){br[t]=xr})),B.forEach((function(t){br[t+"s"]=Cr})),br.watch=function(t,e,n,o){if(t===rt&&(t=void 0),e===rt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var a in E(i,t),e){var c=i[a],s=e[a];c&&!r(c)&&(c=[c]),i[a]=c?c.concat(s):r(s)?s:[s]}return i},br.props=br.methods=br.inject=br.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return E(o,t),e&&E(o,e),o},br.provide=function(t,e){return t?function(){var n=Object.create(null);return wr(n,s(t)?t.call(this):t),e&&wr(n,s(e)?e.call(this):e,!1),n}:e};var kr=function(t,e){return void 0===e?t:e};function Sr(t,e,n){if(s(e)&&(e=e.options),function(t,e){var n=t.props;if(n){var o,i,a={};if(r(n))for(o=n.length;o--;)"string"==typeof(i=n[o])&&(a[k(i)]={type:null});else if(f(n))for(var c in n)i=n[c],a[k(c)]=f(i)?i:{type:i};t.props=a}}(e),function(t,e){var n=t.inject;if(n){var o=t.inject={};if(r(n))for(var i=0;i<n.length;i++)o[n[i]]={from:n[i]};else if(f(n))for(var a in n){var c=n[a];o[a]=f(c)?E({from:a},c):{from:c}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];s(r)&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Sr(t,e.extends,n)),e.mixins))for(var o=0,i=e.mixins.length;o<i;o++)t=Sr(t,e.mixins[o],n);var a,c={};for(a in t)u(a);for(a in e)$(t,a)||u(a);function u(r){var o=br[r]||kr;c[r]=o(t[r],e[r],n,r)}return c}function Or(t,e,n,r){if("string"==typeof n){var o=t[e];if($(o,n))return o[n];var i=k(n);if($(o,i))return o[i];var a=S(i);return $(o,a)?o[a]:o[n]||o[i]||o[a]}}function Tr(t,e,n,r){var o=e[t],i=!$(n,t),a=n[t],c=Pr(Boolean,o.type);if(c>-1)if(i&&!$(o,"default"))a=!1;else if(""===a||a===T(t)){var u=Pr(String,o.type);(u<0||c<u)&&(a=!0)}if(void 0===a){a=function(t,e,n){if($(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:s(r)&&"Function"!==jr(e.type)?r.call(t):r}}(r,o,t);var l=Tt;At(!0),Pt(a),At(l)}return a}var Ar=/^\s*function (\w+)/;function jr(t){var e=t&&t.toString().match(Ar);return e?e[1]:""}function Er(t,e){return jr(t)===jr(e)}function Pr(t,e){if(!r(e))return Er(e,t)?0:-1;for(var n=0,o=e.length;n<o;n++)if(Er(e[n],t))return n;return-1}function Ir(t){this._init(t)}function Mr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=vr(t)||vr(n.options),a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Sr(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)er(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)or(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,B.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=E({},a.options),o[r]=a,a}}function Nr(t){return t&&(vr(t.Ctor.options)||t.tag)}function Dr(t,e){return r(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===l.call(n)&&t.test(e));var n}function Lr(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var a in n){var c=n[a];if(c){var s=c.name;s&&!e(s)&&Rr(n,a,r,o)}}i.componentOptions.children=void 0}function Rr(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,b(n,e)}!function(e){e.prototype._init=function(e){var n=this;n._uid=ur++,n._isVue=!0,n.__v_skip=!0,n._scope=new Ke(!0),n._scope.parent=void 0,n._scope._vm=!0,e&&e._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=Sr(lr(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ve(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,r=e.$vnode=n._parentVnode,o=r&&r.context;e.$slots=ke(n._renderChildren,o),e.$scopedSlots=r?Te(e.$parent,r.data.scopedSlots,e.$slots):t,e._c=function(t,n,r,o){return se(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return se(e,t,n,r,o,!0)};var i=r&&r.data;It(e,"$attrs",i&&i.attrs||t,null,!0),It(e,"$listeners",n._parentListeners||t,null,!0)}(n),Xe(n,"beforeCreate",void 0,!1),function(t){var e=sr(t.$options.inject,t);e&&(At(!1),Object.keys(e).forEach((function(n){It(t,n,e[n])})),At(!0))}(n),nr(n),function(t){var e=t.$options.provide;if(e){var n=s(e)?e.call(t):e;if(!u(n))return;for(var r=_n(t),o=lt?Reflect.ownKeys(n):Object.keys(n),i=0;i<o.length;i++){var a=o[i];Object.defineProperty(r,a,Object.getOwnPropertyDescriptor(n,a))}}}(n),Xe(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(Ir),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Mt,t.prototype.$delete=Nt,t.prototype.$watch=function(t,e,n){var r=this;if(f(e))return cr(r,t,e,n);(n=n||{}).user=!0;var o=new Yn(r,t,e,n);if(n.immediate){var i='callback for immediate watcher "'.concat(o.expression,'"');$t(),wn(e,r,[o.value],r,i),xt()}return function(){o.teardown()}}}(Ir),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var o=this;if(r(t))for(var i=0,a=t.length;i<a;i++)o.$on(t[i],n);else(o._events[t]||(o._events[t]=[])).push(n),e.test(t)&&(o._hasHookEvent=!0);return o},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(t)){for(var o=0,i=t.length;o<i;o++)n.$off(t[o],e);return n}var a,c=n._events[t];if(!c)return n;if(!e)return n._events[t]=null,n;for(var s=c.length;s--;)if((a=c[s])===e||a.fn===e){c.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?j(n):n;for(var r=j(arguments,1),o='event handler for "'.concat(t,'"'),i=0,a=n.length;i<a;i++)wn(n[i],e,r,e,o)}return e}}(Ir),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=We(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Xe(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||b(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Xe(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Ir),function(t){Ce(t.prototype),t.prototype.$nextTick=function(t){return In(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,o=e._parentVnode;o&&t._isMounted&&(t.$scopedSlots=Te(t.$parent,o.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Me(t._slotsProxy,t.$scopedSlots)),t.$vnode=o;var i,a=ft,c=Re;try{dt(t),Re=t,i=n.call(t._renderProxy,t.$createElement)}catch(e){bn(e,t,"render"),i=t._vnode}finally{Re=c,dt(a)}return r(i)&&1===i.length&&(i=i[0]),i instanceof pt||(i=vt()),i.parent=o,i}}(Ir);var Fr=[String,RegExp,Array],Hr={name:"keep-alive",abstract:!0,props:{include:Fr,exclude:Fr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,c=r.componentOptions;e[o]={name:Nr(c),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&Rr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Rr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Lr(t,(function(t){return Dr(e,t)}))})),this.$watch("exclude",(function(e){Lr(t,(function(t){return!Dr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=He(t),n=e&&e.componentOptions;if(n){var r=Nr(n),o=this.include,i=this.exclude;if(o&&(!r||!Dr(o,r))||i&&r&&Dr(i,r))return e;var a=this.cache,c=this.keys,s=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;a[s]?(e.componentInstance=a[s].componentInstance,b(c,s),c.push(s)):(this.vnodeToCache=e,this.keyToCache=s),e.data.keepAlive=!0}return e||t&&t[0]}},Br={KeepAlive:Hr};!function(t){var e={get:function(){return z}};Object.defineProperty(t,"config",e),t.util={warn:_r,extend:E,mergeOptions:Sr,defineReactive:It},t.set=Mt,t.delete=Nt,t.nextTick=In,t.observable=function(t){return Pt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,E(t.options.components,Br),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=j(arguments,1);return n.unshift(this),s(t.install)?t.install.apply(t,n):s(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Sr(this.options,t),this}}(t),Mr(t),function(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&s(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Ir),Object.defineProperty(Ir.prototype,"$isServer",{get:at}),Object.defineProperty(Ir.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ir,"FunctionalRenderContext",{value:fr}),Ir.version=qn;var Ur=g("style,class"),zr=g("input,textarea,option,select,progress"),Vr=function(t,e,n){return"value"===n&&zr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Kr=g("contenteditable,draggable,spellcheck"),Jr=g("events,caret,typing,plaintext-only"),qr=function(t,e){return Xr(e)||"false"===e?"false":"contenteditable"===t&&Jr(e)?e:"true"},Wr=g("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Gr="http://www.w3.org/1999/xlink",Zr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Qr=function(t){return Zr(t)?t.slice(6,t.length):""},Xr=function(t){return null==t||!1===t};function Yr(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=to(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=to(e,n.data));return function(t,e){return i(t)||i(e)?eo(t,no(e)):""}(e.staticClass,e.class)}function to(t,e){return{staticClass:eo(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function eo(t,e){return t?e?t+" "+e:t:e||""}function no(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=no(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):u(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var ro={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},oo=g("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),io=g("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ao=function(t){return oo(t)||io(t)};function co(t){return io(t)?"svg":"math"===t?"math":void 0}var so=Object.create(null),uo=g("text,number,password,search,email,tel,url");function lo(t){return"string"==typeof t?document.querySelector(t)||document.createElement("div"):t}var fo=Object.freeze({__proto__:null,createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(ro[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),po={create:function(t,e){vo(e)},update:function(t,e){t.data.ref!==e.data.ref&&(vo(t,!0),vo(e))},destroy:function(t){vo(t,!0)}};function vo(t,e){var n=t.data.ref;if(i(n)){var o=t.context,a=t.componentInstance||t.elm,c=e?null:a,u=e?void 0:a;if(s(n))wn(n,o,[c],o,"template ref function");else{var l=t.data.refInFor,f="string"==typeof n||"number"==typeof n,d=zt(n),p=o.$refs;if(f||d)if(l){var v=f?p[n]:n.value;e?r(v)&&b(v,a):r(v)?v.includes(a)||v.push(a):f?(p[n]=[a],ho(o,n,p[n])):n.value=[a]}else if(f){if(e&&p[n]!==a)return;p[n]=u,ho(o,n,c)}else if(d){if(e&&n.value!==a)return;n.value=c}}}}function ho(t,e,n){var r=t._setupState;r&&$(r,e)&&(zt(r[e])?r[e].value=n:r[e]=n)}var mo=new pt("",{},[]),go=["create","activate","update","remove","destroy"];function yo(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||uo(r)&&uo(o)}(t,e)||a(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function _o(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}var bo={create:wo,update:wo,destroy:function(t){wo(t,mo)}};function wo(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,o,i=t===mo,a=e===mo,c=xo(t.data.directives,t.context),s=xo(e.data.directives,e.context),u=[],l=[];for(n in s)r=c[n],o=s[n],r?(o.oldValue=r.value,o.oldArg=r.arg,ko(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(ko(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var f=function(){for(var n=0;n<u.length;n++)ko(u[n],"inserted",e,t)};i?ee(e,"insert",f):f()}if(l.length&&ee(e,"postpatch",(function(){for(var n=0;n<l.length;n++)ko(l[n],"componentUpdated",e,t)})),!i)for(n in c)s[n]||ko(c[n],"unbind",t,t,a)}(t,e)}var $o=Object.create(null);function xo(t,e){var n,r,o=Object.create(null);if(!t)return o;for(n=0;n<t.length;n++){if((r=t[n]).modifiers||(r.modifiers=$o),o[Co(r)]=r,e._setupState&&e._setupState.__sfc){var i=r.def||Or(e,"_setupState","v-"+r.name);r.def="function"==typeof i?{bind:i,update:i}:i}r.def=r.def||Or(e.$options,"directives",r.name)}return o}function Co(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function ko(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){bn(r,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var So=[po,bo];function Oo(t,e){var n=e.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,c,s=e.elm,u=t.data.attrs||{},l=e.data.attrs||{};for(r in(i(l.__ob__)||a(l._v_attr_proxy))&&(l=e.data.attrs=E({},l)),l)c=l[r],u[r]!==c&&To(s,r,c,e.data.pre);for(r in(Q||Y)&&l.value!==u.value&&To(s,"value",l.value),u)o(l[r])&&(Zr(r)?s.removeAttributeNS(Gr,Qr(r)):Kr(r)||s.removeAttribute(r))}}function To(t,e,n,r){r||t.tagName.indexOf("-")>-1?Ao(t,e,n):Wr(e)?Xr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Kr(e)?t.setAttribute(e,qr(e,n)):Zr(e)?Xr(n)?t.removeAttributeNS(Gr,Qr(e)):t.setAttributeNS(Gr,e,n):Ao(t,e,n)}function Ao(t,e,n){if(Xr(n))t.removeAttribute(e);else{if(Q&&!X&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var jo={create:Oo,update:Oo};function Eo(t,e){var n=e.elm,r=e.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var c=Yr(e),s=n._transitionClasses;i(s)&&(c=eo(c,no(s))),c!==n._prevClass&&(n.setAttribute("class",c),n._prevClass=c)}}var Po,Io,Mo,No,Do,Lo,Ro={create:Eo,update:Eo},Fo=/[\w).+\-_$\]]/;function Ho(t){var e,n,r,o,i,a=!1,c=!1,s=!1,u=!1,l=0,f=0,d=0,p=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),a)39===e&&92!==n&&(a=!1);else if(c)34===e&&92!==n&&(c=!1);else if(s)96===e&&92!==n&&(s=!1);else if(u)47===e&&92!==n&&(u=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||l||f||d){switch(e){case 34:c=!0;break;case 39:a=!0;break;case 96:s=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:l++;break;case 125:l--}if(47===e){for(var v=r-1,h=void 0;v>=0&&" "===(h=t.charAt(v));v--);h&&Fo.test(h)||(u=!0)}}else void 0===o?(p=r+1,o=t.slice(0,r).trim()):m();function m(){(i||(i=[])).push(t.slice(p,r).trim()),p=r+1}if(void 0===o?o=t.slice(0,r).trim():0!==p&&m(),i)for(r=0;r<i.length;r++)o=Bo(o,i[r]);return o}function Bo(t,e){var n=e.indexOf("(");if(n<0)return'_f("'.concat(e,'")(').concat(t,")");var r=e.slice(0,n),o=e.slice(n+1);return'_f("'.concat(r,'")(').concat(t).concat(")"!==o?","+o:o)}function Uo(t,e){console.error("[Vue compiler]: ".concat(t))}function zo(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function Vo(t,e,n,r,o){(t.props||(t.props=[])).push(Yo({name:e,value:n,dynamic:o},r)),t.plain=!1}function Ko(t,e,n,r,o){(o?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Yo({name:e,value:n,dynamic:o},r)),t.plain=!1}function Jo(t,e,n,r){t.attrsMap[e]=n,t.attrsList.push(Yo({name:e,value:n},r))}function qo(t,e,n,r,o,i,a,c){(t.directives||(t.directives=[])).push(Yo({name:e,rawName:n,value:r,arg:o,isDynamicArg:i,modifiers:a},c)),t.plain=!1}function Wo(t,e,n){return n?"_p(".concat(e,',"').concat(t,'")'):t+e}function Go(e,n,r,o,i,a,c,s){var u;(o=o||t).right?s?n="(".concat(n,")==='click'?'contextmenu':(").concat(n,")"):"click"===n&&(n="contextmenu",delete o.right):o.middle&&(s?n="(".concat(n,")==='click'?'mouseup':(").concat(n,")"):"click"===n&&(n="mouseup")),o.capture&&(delete o.capture,n=Wo("!",n,s)),o.once&&(delete o.once,n=Wo("~",n,s)),o.passive&&(delete o.passive,n=Wo("&",n,s)),o.native?(delete o.native,u=e.nativeEvents||(e.nativeEvents={})):u=e.events||(e.events={});var l=Yo({value:r.trim(),dynamic:s},c);o!==t&&(l.modifiers=o);var f=u[n];Array.isArray(f)?i?f.unshift(l):f.push(l):u[n]=f?i?[l,f]:[f,l]:l,e.plain=!1}function Zo(t,e,n){var r=Qo(t,":"+e)||Qo(t,"v-bind:"+e);if(null!=r)return Ho(r);if(!1!==n){var o=Qo(t,e);if(null!=o)return JSON.stringify(o)}}function Qo(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var o=t.attrsList,i=0,a=o.length;i<a;i++)if(o[i].name===e){o.splice(i,1);break}return n&&delete t.attrsMap[e],r}function Xo(t,e){for(var n=t.attrsList,r=0,o=n.length;r<o;r++){var i=n[r];if(e.test(i.name))return n.splice(r,1),i}}function Yo(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function ti(t,e,n){var r=n||{},o=r.number,i="$$v",a=i;r.trim&&(a="(typeof ".concat(i," === 'string'")+"? ".concat(i,".trim()")+": ".concat(i,")")),o&&(a="_n(".concat(a,")"));var c=ei(e,a);t.model={value:"(".concat(e,")"),expression:JSON.stringify(e),callback:"function (".concat(i,") {").concat(c,"}")}}function ei(t,e){var n=function(t){if(t=t.trim(),Po=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<Po-1)return(No=t.lastIndexOf("."))>-1?{exp:t.slice(0,No),key:'"'+t.slice(No+1)+'"'}:{exp:t,key:null};for(Io=t,No=Do=Lo=0;!ri();)oi(Mo=ni())?ai(Mo):91===Mo&&ii(Mo);return{exp:t.slice(0,Do),key:t.slice(Do+1,Lo)}}(t);return null===n.key?"".concat(t,"=").concat(e):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function ni(){return Io.charCodeAt(++No)}function ri(){return No>=Po}function oi(t){return 34===t||39===t}function ii(t){var e=1;for(Do=No;!ri();)if(oi(t=ni()))ai(t);else if(91===t&&e++,93===t&&e--,0===e){Lo=No;break}}function ai(t){for(var e=t;!ri()&&(t=ni())!==e;);}var ci,si="__r",ui="__c";function li(t,e,n){var r=ci;return function o(){null!==e.apply(null,arguments)&&pi(t,o,n,r)}}var fi=kn&&!(nt&&Number(nt[1])<=53);function di(t,e,n,r){if(fi){var o=an,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}ci.addEventListener(t,e,ot?{capture:n,passive:r}:n)}function pi(t,e,n,r){(r||ci).removeEventListener(t,e._wrapper||e,n)}function vi(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};ci=e.elm||t.elm,function(t){if(i(t[si])){var e=Q?"change":"input";t[e]=[].concat(t[si],t[e]||[]),delete t[si]}i(t[ui])&&(t.change=[].concat(t[ui],t.change||[]),delete t[ui])}(n),te(n,r,di,pi,li,e.context),ci=void 0}}var hi,mi={create:vi,update:vi,destroy:function(t){return vi(t,mo)}};function gi(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,c=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in(i(u.__ob__)||a(u._v_attr_proxy))&&(u=e.data.domProps=E({},u)),s)n in u||(c[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===c.childNodes.length&&c.removeChild(c.childNodes[0])}if("value"===n&&"PROGRESS"!==c.tagName){c._value=r;var l=o(r)?"":String(r);yi(c,l)&&(c.value=l)}else if("innerHTML"===n&&io(c.tagName)&&o(c.innerHTML)){(hi=hi||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var f=hi.firstChild;c.firstChild;)c.removeChild(c.firstChild);for(;f.firstChild;)c.appendChild(f.firstChild)}else if(r!==s[n])try{c[n]=r}catch(t){}}}}function yi(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return m(n)!==m(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var _i={create:gi,update:gi},bi=x((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function wi(t){var e=$i(t.style);return t.staticStyle?E(t.staticStyle,e):e}function $i(t){return Array.isArray(t)?P(t):"string"==typeof t?bi(t):t}var xi,Ci=/^--/,ki=/\s*!important$/,Si=function(t,e,n){if(Ci.test(e))t.style.setProperty(e,n);else if(ki.test(n))t.style.setProperty(T(e),n.replace(ki,""),"important");else{var r=Ti(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},Oi=["Webkit","Moz","ms"],Ti=x((function(t){if(xi=xi||document.createElement("div").style,"filter"!==(t=k(t))&&t in xi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Oi.length;n++){var r=Oi[n]+e;if(r in xi)return r}}));function Ai(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var a,c,s=e.elm,u=r.staticStyle,l=r.normalizedStyle||r.style||{},f=u||l,d=$i(e.data.style)||{};e.data.normalizedStyle=i(d.__ob__)?E({},d):d;var p=function(t,e){for(var n,r={},o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=wi(o.data))&&E(r,n);(n=wi(t.data))&&E(r,n);for(var i=t;i=i.parent;)i.data&&(n=wi(i.data))&&E(r,n);return r}(e);for(c in f)o(p[c])&&Si(s,c,"");for(c in p)a=p[c],Si(s,c,null==a?"":a)}}var ji={create:Ai,update:Ai},Ei=/\s+/;function Pi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ei).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ii(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ei).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Mi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&E(e,Ni(t.name||"v")),E(e,t),e}return"string"==typeof t?Ni(t):void 0}}var Ni=x((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Di=G&&!X,Li="transition",Ri="animation",Fi="transition",Hi="transitionend",Bi="animation",Ui="animationend";Di&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Fi="WebkitTransition",Hi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Bi="WebkitAnimation",Ui="webkitAnimationEnd"));var zi=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Vi(t){zi((function(){zi(t)}))}function Ki(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Pi(t,e))}function Ji(t,e){t._transitionClasses&&b(t._transitionClasses,e),Ii(t,e)}function qi(t,e,n){var r=Gi(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var c=o===Li?Hi:Ui,s=0,u=function(){t.removeEventListener(c,l),n()},l=function(e){e.target===t&&++s>=a&&u()};setTimeout((function(){s<a&&u()}),i+1),t.addEventListener(c,l)}var Wi=/\b(transform|all)(,|$)/;function Gi(t,e){var n,r=window.getComputedStyle(t),o=(r[Fi+"Delay"]||"").split(", "),i=(r[Fi+"Duration"]||"").split(", "),a=Zi(o,i),c=(r[Bi+"Delay"]||"").split(", "),s=(r[Bi+"Duration"]||"").split(", "),u=Zi(c,s),l=0,f=0;return e===Li?a>0&&(n=Li,l=a,f=i.length):e===Ri?u>0&&(n=Ri,l=u,f=s.length):f=(n=(l=Math.max(a,u))>0?a>u?Li:Ri:null)?n===Li?i.length:s.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Li&&Wi.test(r[Fi+"Property"])}}function Zi(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Qi(e)+Qi(t[n])})))}function Qi(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Xi(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=Mi(t.data.transition);if(!o(r)&&!i(n._enterCb)&&1===n.nodeType){for(var a=r.css,c=r.type,l=r.enterClass,f=r.enterToClass,d=r.enterActiveClass,p=r.appearClass,v=r.appearToClass,h=r.appearActiveClass,g=r.beforeEnter,y=r.enter,_=r.afterEnter,b=r.enterCancelled,w=r.beforeAppear,$=r.appear,x=r.afterAppear,C=r.appearCancelled,k=r.duration,S=qe,O=qe.$vnode;O&&O.parent;)S=O.context,O=O.parent;var T=!S._isMounted||!t.isRootInsert;if(!T||$||""===$){var A=T&&p?p:l,j=T&&h?h:d,E=T&&v?v:f,P=T&&w||g,I=T&&s($)?$:y,M=T&&x||_,N=T&&C||b,D=m(u(k)?k.enter:k),L=!1!==a&&!X,F=ea(I),H=n._enterCb=R((function(){L&&(Ji(n,E),Ji(n,j)),H.cancelled?(L&&Ji(n,A),N&&N(n)):M&&M(n),n._enterCb=null}));t.data.show||ee(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),I&&I(n,H)})),P&&P(n),L&&(Ki(n,A),Ki(n,j),Vi((function(){Ji(n,A),H.cancelled||(Ki(n,E),F||(ta(D)?setTimeout(H,D):qi(n,c,H)))}))),t.data.show&&(e&&e(),I&&I(n,H)),L||F||H()}}}function Yi(t,e){var n=t.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=Mi(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!i(n._leaveCb)){var a=r.css,c=r.type,s=r.leaveClass,l=r.leaveToClass,f=r.leaveActiveClass,d=r.beforeLeave,p=r.leave,v=r.afterLeave,h=r.leaveCancelled,g=r.delayLeave,y=r.duration,_=!1!==a&&!X,b=ea(p),w=m(u(y)?y.leave:y),$=n._leaveCb=R((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(Ji(n,l),Ji(n,f)),$.cancelled?(_&&Ji(n,s),h&&h(n)):(e(),v&&v(n)),n._leaveCb=null}));g?g(x):x()}function x(){$.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),_&&(Ki(n,s),Ki(n,f),Vi((function(){Ji(n,s),$.cancelled||(Ki(n,l),b||(ta(w)?setTimeout($,w):qi(n,c,$)))}))),p&&p(n,$),_||b||$())}}function ta(t){return"number"==typeof t&&!isNaN(t)}function ea(t){if(o(t))return!1;var e=t.fns;return i(e)?ea(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function na(t,e){!0!==e.data.show&&Xi(e)}var ra=function(t){var e,n,s={},u=t.modules,l=t.nodeOps;for(e=0;e<go.length;++e)for(s[go[e]]=[],n=0;n<u.length;++n)i(u[n][go[e]])&&s[go[e]].push(u[n][go[e]]);function f(t){var e=l.parentNode(t);i(e)&&l.removeChild(e,t)}function d(t,e,n,r,o,c,u){if(i(t.elm)&&i(c)&&(t=c[u]=mt(t)),t.isRootInsert=!o,!function(t,e,n,r){var o=t.data;if(i(o)){var c=i(t.componentInstance)&&o.keepAlive;if(i(o=o.hook)&&i(o=o.init)&&o(t,!1),i(t.componentInstance))return p(t,e),v(n,t.elm,r),a(c)&&function(t,e,n,r){for(var o,a=t;a.componentInstance;)if(i(o=(a=a.componentInstance._vnode).data)&&i(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](mo,a);e.push(a);break}v(n,t.elm,r)}(t,e,n,r),!0}}(t,e,n,r)){var f=t.data,d=t.children,m=t.tag;i(m)?(t.elm=t.ns?l.createElementNS(t.ns,m):l.createElement(m,t),_(t),h(t,d,e),i(f)&&y(t,e),v(n,t.elm,r)):a(t.isComment)?(t.elm=l.createComment(t.text),v(n,t.elm,r)):(t.elm=l.createTextNode(t.text),v(n,t.elm,r))}}function p(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(y(t,e),_(t)):(vo(t),e.push(t))}function v(t,e,n){i(t)&&(i(n)?l.parentNode(n)===t&&l.insertBefore(t,e,n):l.appendChild(t,e))}function h(t,e,n){if(r(e))for(var o=0;o<e.length;++o)d(e[o],n,t.elm,null,!0,e,o);else c(t.text)&&l.appendChild(t.elm,l.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function y(t,n){for(var r=0;r<s.create.length;++r)s.create[r](mo,t);i(e=t.data.hook)&&(i(e.create)&&e.create(mo,t),i(e.insert)&&n.push(t))}function _(t){var e;if(i(e=t.fnScopeId))l.setStyleScope(t.elm,e);else for(var n=t;n;)i(e=n.context)&&i(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e),n=n.parent;i(e=qe)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e)}function b(t,e,n,r,o,i){for(;r<=o;++r)d(n[r],i,t,e,!1,n,r)}function w(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<s.destroy.length;++e)s.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)w(t.children[n])}function $(t,e,n){for(;e<=n;++e){var r=t[e];i(r)&&(i(r.tag)?(x(r),w(r)):f(r.elm))}}function x(t,e){if(i(e)||i(t.data)){var n,r=s.remove.length+1;for(i(e)?e.listeners+=r:e=function(t,e){function n(){0==--n.listeners&&f(t)}return n.listeners=e,n}(t.elm,r),i(n=t.componentInstance)&&i(n=n._vnode)&&i(n.data)&&x(n,e),n=0;n<s.remove.length;++n)s.remove[n](t,e);i(n=t.data.hook)&&i(n=n.remove)?n(t,e):e()}else f(t.elm)}function C(t,e,n,r){for(var o=n;o<r;o++){var a=e[o];if(i(a)&&yo(t,a))return o}}function k(t,e,n,r,c,u){if(t!==e){i(e.elm)&&i(r)&&(e=r[c]=mt(e));var f=e.elm=t.elm;if(a(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?T(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var p,v=e.data;i(v)&&i(p=v.hook)&&i(p=p.prepatch)&&p(t,e);var h=t.children,g=e.children;if(i(v)&&m(e)){for(p=0;p<s.update.length;++p)s.update[p](t,e);i(p=v.hook)&&i(p=p.update)&&p(t,e)}o(e.text)?i(h)&&i(g)?h!==g&&function(t,e,n,r,a){for(var c,s,u,f=0,p=0,v=e.length-1,h=e[0],m=e[v],g=n.length-1,y=n[0],_=n[g],w=!a;f<=v&&p<=g;)o(h)?h=e[++f]:o(m)?m=e[--v]:yo(h,y)?(k(h,y,r,n,p),h=e[++f],y=n[++p]):yo(m,_)?(k(m,_,r,n,g),m=e[--v],_=n[--g]):yo(h,_)?(k(h,_,r,n,g),w&&l.insertBefore(t,h.elm,l.nextSibling(m.elm)),h=e[++f],_=n[--g]):yo(m,y)?(k(m,y,r,n,p),w&&l.insertBefore(t,m.elm,h.elm),m=e[--v],y=n[++p]):(o(c)&&(c=_o(e,f,v)),o(s=i(y.key)?c[y.key]:C(y,e,f,v))?d(y,r,t,h.elm,!1,n,p):yo(u=e[s],y)?(k(u,y,r,n,p),e[s]=void 0,w&&l.insertBefore(t,u.elm,h.elm)):d(y,r,t,h.elm,!1,n,p),y=n[++p]);f>v?b(t,o(n[g+1])?null:n[g+1].elm,n,p,g,r):p>g&&$(e,f,v)}(f,h,g,n,u):i(g)?(i(t.text)&&l.setTextContent(f,""),b(f,null,g,0,g.length-1,n)):i(h)?$(h,0,h.length-1):i(t.text)&&l.setTextContent(f,""):t.text!==e.text&&l.setTextContent(f,e.text),i(v)&&i(p=v.hook)&&i(p=p.postpatch)&&p(t,e)}}}function S(t,e,n){if(a(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var O=g("attrs,class,staticClass,staticStyle,key");function T(t,e,n,r){var o,c=e.tag,s=e.data,u=e.children;if(r=r||s&&s.pre,e.elm=t,a(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(s)&&(i(o=s.hook)&&i(o=o.init)&&o(e,!0),i(o=e.componentInstance)))return p(e,n),!0;if(i(c)){if(i(u))if(t.hasChildNodes())if(i(o=s)&&i(o=o.domProps)&&i(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var l=!0,f=t.firstChild,d=0;d<u.length;d++){if(!f||!T(f,u[d],n,r)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else h(e,u,n);if(i(s)){var v=!1;for(var m in s)if(!O(m)){v=!0,y(e,n);break}!v&&s.class&&Zn(s.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,r){if(!o(e)){var c,u=!1,f=[];if(o(t))u=!0,d(e,f);else{var p=i(t.nodeType);if(!p&&yo(t,e))k(t,e,f,null,null,r);else{if(p){if(1===t.nodeType&&t.hasAttribute(H)&&(t.removeAttribute(H),n=!0),a(n)&&T(t,e,f))return S(e,f,!0),t;c=t,t=new pt(l.tagName(c).toLowerCase(),{},[],void 0,c)}var v=t.elm,h=l.parentNode(v);if(d(e,f,v._leaveCb?null:h,l.nextSibling(v)),i(e.parent))for(var g=e.parent,y=m(e);g;){for(var _=0;_<s.destroy.length;++_)s.destroy[_](g);if(g.elm=e.elm,y){for(var b=0;b<s.create.length;++b)s.create[b](mo,g);var x=g.data.hook.insert;if(x.merged)for(var C=x.fns.slice(1),O=0;O<C.length;O++)C[O]()}else vo(g);g=g.parent}i(h)?$([t],0,0):i(t.tag)&&w(t)}}return S(e,f,u),e.elm}i(t)&&w(t)}}({nodeOps:fo,modules:[jo,Ro,mi,_i,ji,G?{create:na,activate:na,remove:function(t,e){!0!==t.data.show?Yi(t,e):e()}}:{}].concat(So)});X&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&fa(t,"input")}));var oa={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ee(n,"postpatch",(function(){oa.componentUpdated(t,e,n)})):ia(t,e,n.context),t._vOptions=[].map.call(t.options,sa)):("textarea"===n.tag||uo(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ua),t.addEventListener("compositionend",la),t.addEventListener("change",la),X&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){ia(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,sa);o.some((function(t,e){return!D(t,r[e])}))&&(t.multiple?e.value.some((function(t){return ca(t,o)})):e.value!==e.oldValue&&ca(e.value,o))&&fa(t,"change")}}};function ia(t,e,n){aa(t,e),(Q||Y)&&setTimeout((function(){aa(t,e)}),0)}function aa(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,c=0,s=t.options.length;c<s;c++)if(a=t.options[c],o)i=L(r,sa(a))>-1,a.selected!==i&&(a.selected=i);else if(D(sa(a),r))return void(t.selectedIndex!==c&&(t.selectedIndex=c));o||(t.selectedIndex=-1)}}function ca(t,e){return e.every((function(e){return!D(e,t)}))}function sa(t){return"_value"in t?t._value:t.value}function ua(t){t.target.composing=!0}function la(t){t.target.composing&&(t.target.composing=!1,fa(t.target,"input"))}function fa(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function da(t){return!t.componentInstance||t.data&&t.data.transition?t:da(t.componentInstance._vnode)}var pa={bind:function(t,e,n){var r=e.value,o=(n=da(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Xi(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=da(n)).data&&n.data.transition?(n.data.show=!0,r?Xi(n,(function(){t.style.display=t.__vOriginalDisplay})):Yi(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},va={model:oa,show:pa},ha={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ma(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ma(He(e.children)):t}function ga(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[k(r)]=o[r];return e}function ya(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var _a=function(t){return t.tag||Oe(t)},ba=function(t){return"show"===t.name},wa={name:"transition",props:ha,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(_a)).length){var r=this.mode,o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=ma(o);if(!i)return o;if(this._leaving)return ya(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:c(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=ga(this),u=this._vnode,l=ma(u);if(i.data.directives&&i.data.directives.some(ba)&&(i.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,l)&&!Oe(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=E({},s);if("out-in"===r)return this._leaving=!0,ee(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ya(t,o);if("in-out"===r){if(Oe(i))return u;var d,p=function(){d()};ee(s,"afterEnter",p),ee(s,"enterCancelled",p),ee(f,"delayLeave",(function(t){d=t}))}}return o}}},$a=E({tag:String,moveClass:String},ha);delete $a.mode;var xa={props:$a,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=We(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=ga(this),c=0;c<o.length;c++)(l=o[c]).tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(i.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a);if(r){var s=[],u=[];for(c=0;c<r.length;c++){var l;(l=r[c]).data.transition=a,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?s.push(l):u.push(l)}this.kept=t(e,null,s),this.removed=u}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Ca),t.forEach(ka),t.forEach(Sa),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;Ki(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Hi,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Hi,t),n._moveCb=null,Ji(n,e))})}})))},methods:{hasMove:function(t,e){if(!Di)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Ii(n,t)})),Pi(n,e),n.style.display="none",this.$el.appendChild(n);var r=Gi(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Ca(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ka(t){t.data.newPos=t.elm.getBoundingClientRect()}function Sa(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),i.transitionDuration="0s"}}var Oa={Transition:wa,TransitionGroup:xa};Ir.config.mustUseProp=Vr,Ir.config.isReservedTag=ao,Ir.config.isReservedAttr=Ur,Ir.config.getTagNamespace=co,Ir.config.isUnknownElement=function(t){if(!G)return!0;if(ao(t))return!1;if(t=t.toLowerCase(),null!=so[t])return so[t];var e=document.createElement(t);return t.indexOf("-")>-1?so[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:so[t]=/HTMLUnknownElement/.test(e.toString())},E(Ir.options.directives,va),E(Ir.options.components,Oa),Ir.prototype.__patch__=G?ra:I,Ir.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=vt),Xe(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Yn(t,r,I,{before:function(){t._isMounted&&!t._isDestroyed&&Xe(t,"beforeUpdate")}},!0),n=!1;var o=t._preWatchers;if(o)for(var i=0;i<o.length;i++)o[i].run();return null==t.$vnode&&(t._isMounted=!0,Xe(t,"mounted")),t}(this,t=t&&G?lo(t):void 0,e)},G&&setTimeout((function(){z.devtools&&ct&&ct.emit("init",Ir)}),0);var Ta,Aa=/\{\{((?:.|\r?\n)+?)\}\}/g,ja=/[-.*+?^${}()|[\]\/\\]/g,Ea=x((function(t){var e=t[0].replace(ja,"\\$&"),n=t[1].replace(ja,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")})),Pa={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Qo(t,"class");n&&(t.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var r=Zo(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:".concat(t.staticClass,",")),t.classBinding&&(e+="class:".concat(t.classBinding,",")),e}},Ia={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Qo(t,"style");n&&(t.staticStyle=JSON.stringify(bi(n)));var r=Zo(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:".concat(t.staticStyle,",")),t.styleBinding&&(e+="style:(".concat(t.styleBinding,"),")),e}},Ma=function(t){return(Ta=Ta||document.createElement("div")).innerHTML=t,Ta.textContent},Na=g("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Da=g("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),La=g("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ra=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Fa=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ha="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(V.source,"]*"),Ba="((?:".concat(Ha,"\\:)?").concat(Ha,")"),Ua=new RegExp("^<".concat(Ba)),za=/^\s*(\/?)>/,Va=new RegExp("^<\\/".concat(Ba,"[^>]*>")),Ka=/^<!DOCTYPE [^>]+>/i,Ja=/^<!\--/,qa=/^<!\[/,Wa=g("script,style,textarea",!0),Ga={},Za={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Qa=/&(?:lt|gt|quot|amp|#39);/g,Xa=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ya=g("pre,textarea",!0),tc=function(t,e){return t&&Ya(t)&&"\n"===e[0]};function ec(t,e){var n=e?Xa:Qa;return t.replace(n,(function(t){return Za[t]}))}function nc(t,e){for(var n,r,o=[],i=e.expectHTML,a=e.isUnaryTag||M,c=e.canBeLeftOpenTag||M,s=0,u=function(){if(n=t,r&&Wa(r)){var u=0,d=r.toLowerCase(),p=Ga[d]||(Ga[d]=new RegExp("([\\s\\S]*?)(</"+d+"[^>]*>)","i"));$=t.replace(p,(function(t,n,r){return u=r.length,Wa(d)||"noscript"===d||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),tc(d,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""})),s+=t.length-$.length,t=$,f(d,s-u,s)}else{var v=t.indexOf("<");if(0===v){if(Ja.test(t)){var h=t.indexOf("--\x3e");if(h>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,h),s,s+h+3),l(h+3),"continue"}if(qa.test(t)){var m=t.indexOf("]>");if(m>=0)return l(m+2),"continue"}var g=t.match(Ka);if(g)return l(g[0].length),"continue";var y=t.match(Va);if(y){var _=s;return l(y[0].length),f(y[1],_,s),"continue"}var b=function(){var e=t.match(Ua);if(e){var n={tagName:e[1],attrs:[],start:s};l(e[0].length);for(var r=void 0,o=void 0;!(r=t.match(za))&&(o=t.match(Fa)||t.match(Ra));)o.start=s,l(o[0].length),o.end=s,n.attrs.push(o);if(r)return n.unarySlash=r[1],l(r[0].length),n.end=s,n}}();if(b)return function(t){var n=t.tagName,s=t.unarySlash;i&&("p"===r&&La(n)&&f(r),c(n)&&r===n&&f(n));for(var u=a(n)||!!s,l=t.attrs.length,d=new Array(l),p=0;p<l;p++){var v=t.attrs[p],h=v[3]||v[4]||v[5]||"",m="a"===n&&"href"===v[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[p]={name:v[1],value:ec(h,m)}}u||(o.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:t.start,end:t.end}),r=n),e.start&&e.start(n,d,u,t.start,t.end)}(b),tc(b.tagName,t)&&l(1),"continue"}var w=void 0,$=void 0,x=void 0;if(v>=0){for($=t.slice(v);!(Va.test($)||Ua.test($)||Ja.test($)||qa.test($)||(x=$.indexOf("<",1))<0);)v+=x,$=t.slice(v);w=t.substring(0,v)}v<0&&(w=t),w&&l(w.length),e.chars&&w&&e.chars(w,s-w.length,s)}if(t===n)return e.chars&&e.chars(t),"break"};t&&"break"!==u(););function l(e){s+=e,t=t.substring(e)}function f(t,n,i){var a,c;if(null==n&&(n=s),null==i&&(i=s),t)for(c=t.toLowerCase(),a=o.length-1;a>=0&&o[a].lowerCasedTag!==c;a--);else a=0;if(a>=0){for(var u=o.length-1;u>=a;u--)e.end&&e.end(o[u].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===c?e.start&&e.start(t,[],!0,n,i):"p"===c&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}f()}var rc,oc,ic,ac,cc,sc,uc,lc,fc=/^@|^v-on:/,dc=/^v-|^@|^:|^#/,pc=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,vc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,hc=/^\(|\)$/g,mc=/^\[.*\]$/,gc=/:(.*)$/,yc=/^:|^\.|^v-bind:/,_c=/\.[^.\]]+(?=[^\]]*$)/g,bc=/^v-slot(:|$)|^#/,wc=/[\r\n]/,$c=/[ \f\t\r\n]+/g,xc=x(Ma),Cc="_empty_";function kc(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Pc(e),rawAttrsMap:{},parent:n,children:[]}}function Sc(t,e){rc=e.warn||Uo,sc=e.isPreTag||M,uc=e.mustUseProp||M,lc=e.getTagNamespace||M,e.isReservedTag,ic=zo(e.modules,"transformNode"),ac=zo(e.modules,"preTransformNode"),cc=zo(e.modules,"postTransformNode"),oc=e.delimiters;var n,r,o=[],i=!1!==e.preserveWhitespace,a=e.whitespace,c=!1,s=!1;function u(t){if(l(t),c||t.processed||(t=Oc(t,e)),o.length||t===n||n.if&&(t.elseif||t.else)&&Ac(n,{exp:t.elseif,block:t}),r&&!t.forbidden)if(t.elseif||t.else)a=t,u=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(r.children),u&&u.if&&Ac(u,{exp:a.elseif,block:a});else{if(t.slotScope){var i=t.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[i]=t}r.children.push(t),t.parent=r}var a,u;t.children=t.children.filter((function(t){return!t.slotScope})),l(t),t.pre&&(c=!1),sc(t.tag)&&(s=!1);for(var f=0;f<cc.length;f++)cc[f](t,e)}function l(t){if(!s)for(var e=void 0;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return nc(t,{warn:rc,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,i,a,l,f){var d=r&&r.ns||lc(t);Q&&"svg"===d&&(i=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];Ic.test(r.name)||(r.name=r.name.replace(Mc,""),e.push(r))}return e}(i));var p,v=kc(t,i,r);d&&(v.ns=d),"style"!==(p=v).tag&&("script"!==p.tag||p.attrsMap.type&&"text/javascript"!==p.attrsMap.type)||at()||(v.forbidden=!0);for(var h=0;h<ac.length;h++)v=ac[h](v,e)||v;c||(function(t){null!=Qo(t,"v-pre")&&(t.pre=!0)}(v),v.pre&&(c=!0)),sc(v.tag)&&(s=!0),c?function(t){var e=t.attrsList,n=e.length;if(n)for(var r=t.attrs=new Array(n),o=0;o<n;o++)r[o]={name:e[o].name,value:JSON.stringify(e[o].value)},null!=e[o].start&&(r[o].start=e[o].start,r[o].end=e[o].end);else t.pre||(t.plain=!0)}(v):v.processed||(Tc(v),function(t){var e=Qo(t,"v-if");if(e)t.if=e,Ac(t,{exp:e,block:t});else{null!=Qo(t,"v-else")&&(t.else=!0);var n=Qo(t,"v-else-if");n&&(t.elseif=n)}}(v),function(t){null!=Qo(t,"v-once")&&(t.once=!0)}(v)),n||(n=v),a?u(v):(r=v,o.push(v))},end:function(t,e,n){var i=o[o.length-1];o.length-=1,r=o[o.length-1],u(i)},chars:function(t,e,n){if(r&&(!Q||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var o,u=r.children;if(t=s||t.trim()?"script"===(o=r).tag||"style"===o.tag?t:xc(t):u.length?a?"condense"===a&&wc.test(t)?"":" ":i?" ":"":""){s||"condense"!==a||(t=t.replace($c," "));var l=void 0,f=void 0;!c&&" "!==t&&(l=function(t,e){var n=e?Ea(e):Aa;if(n.test(t)){for(var r,o,i,a=[],c=[],s=n.lastIndex=0;r=n.exec(t);){(o=r.index)>s&&(c.push(i=t.slice(s,o)),a.push(JSON.stringify(i)));var u=Ho(r[1].trim());a.push("_s(".concat(u,")")),c.push({"@binding":u}),s=o+r[0].length}return s<t.length&&(c.push(i=t.slice(s)),a.push(JSON.stringify(i))),{expression:a.join("+"),tokens:c}}}(t,oc))?f={type:2,expression:l.expression,tokens:l.tokens,text:t}:" "===t&&u.length&&" "===u[u.length-1].text||(f={type:3,text:t}),f&&u.push(f)}}},comment:function(t,e,n){if(r){var o={type:3,text:t,isComment:!0};r.children.push(o)}}}),n}function Oc(t,e){var n,r;(r=Zo(n=t,"key"))&&(n.key=r),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Zo(t,"ref");e&&(t.ref=e,t.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Qo(t,"scope"),t.slotScope=e||Qo(t,"slot-scope")):(e=Qo(t,"slot-scope"))&&(t.slotScope=e);var n,r=Zo(t,"slot");if(r&&(t.slotTarget='""'===r?'"default"':r,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Ko(t,"slot",r,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot"))),"template"===t.tag){if(n=Xo(t,bc)){var o=jc(n),i=o.name,a=o.dynamic;t.slotTarget=i,t.slotTargetDynamic=a,t.slotScope=n.value||Cc}}else if(n=Xo(t,bc)){var c=t.scopedSlots||(t.scopedSlots={}),s=jc(n),u=s.name,l=(a=s.dynamic,c[u]=kc("template",[],t));l.slotTarget=u,l.slotTargetDynamic=a,l.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=l,!0})),l.slotScope=n.value||Cc,t.children=[],t.plain=!1}}(t),function(t){"slot"===t.tag&&(t.slotName=Zo(t,"name"))}(t),function(t){var e;(e=Zo(t,"is"))&&(t.component=e),null!=Qo(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var o=0;o<ic.length;o++)t=ic[o](t,e)||t;return function(t){var e,n,r,o,i,a,c,s,u=t.attrsList;for(e=0,n=u.length;e<n;e++)if(r=o=u[e].name,i=u[e].value,dc.test(r))if(t.hasBindings=!0,(a=Ec(r.replace(dc,"")))&&(r=r.replace(_c,"")),yc.test(r))r=r.replace(yc,""),i=Ho(i),(s=mc.test(r))&&(r=r.slice(1,-1)),a&&(a.prop&&!s&&"innerHtml"===(r=k(r))&&(r="innerHTML"),a.camel&&!s&&(r=k(r)),a.sync&&(c=ei(i,"$event"),s?Go(t,'"update:"+('.concat(r,")"),c,null,!1,0,u[e],!0):(Go(t,"update:".concat(k(r)),c,null,!1,0,u[e]),T(r)!==k(r)&&Go(t,"update:".concat(T(r)),c,null,!1,0,u[e])))),a&&a.prop||!t.component&&uc(t.tag,t.attrsMap.type,r)?Vo(t,r,i,u[e],s):Ko(t,r,i,u[e],s);else if(fc.test(r))r=r.replace(fc,""),(s=mc.test(r))&&(r=r.slice(1,-1)),Go(t,r,i,a,!1,0,u[e],s);else{var l=(r=r.replace(dc,"")).match(gc),f=l&&l[1];s=!1,f&&(r=r.slice(0,-(f.length+1)),mc.test(f)&&(f=f.slice(1,-1),s=!0)),qo(t,r,o,i,f,s,a,u[e])}else Ko(t,r,JSON.stringify(i),u[e]),!t.component&&"muted"===r&&uc(t.tag,t.attrsMap.type,r)&&Vo(t,r,"true",u[e])}(t),t}function Tc(t){var e;if(e=Qo(t,"v-for")){var n=function(t){var e=t.match(pc);if(e){var n={};n.for=e[2].trim();var r=e[1].trim().replace(hc,""),o=r.match(vc);return o?(n.alias=r.replace(vc,"").trim(),n.iterator1=o[1].trim(),o[2]&&(n.iterator2=o[2].trim())):n.alias=r,n}}(e);n&&E(t,n)}}function Ac(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function jc(t){var e=t.name.replace(bc,"");return e||"#"!==t.name[0]&&(e="default"),mc.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'.concat(e,'"'),dynamic:!1}}function Ec(t){var e=t.match(_c);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function Pc(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var Ic=/^xmlns:NS\d+/,Mc=/^NS\d+:/;function Nc(t){return kc(t.tag,t.attrsList.slice(),t.parent)}var Dc,Lc,Rc=[Pa,Ia,{preTransformNode:function(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var r=void 0;if((n[":type"]||n["v-bind:type"])&&(r=Zo(t,"type")),n.type||r||!n["v-bind"]||(r="(".concat(n["v-bind"],").type")),r){var o=Qo(t,"v-if",!0),i=o?"&&(".concat(o,")"):"",a=null!=Qo(t,"v-else",!0),c=Qo(t,"v-else-if",!0),s=Nc(t);Tc(s),Jo(s,"type","checkbox"),Oc(s,e),s.processed=!0,s.if="(".concat(r,")==='checkbox'")+i,Ac(s,{exp:s.if,block:s});var u=Nc(t);Qo(u,"v-for",!0),Jo(u,"type","radio"),Oc(u,e),Ac(s,{exp:"(".concat(r,")==='radio'")+i,block:u});var l=Nc(t);return Qo(l,"v-for",!0),Jo(l,":type",r),Oc(l,e),Ac(s,{exp:o,block:l}),a?s.else=!0:c&&(s.elseif=c),s}}}}],Fc={model:function(t,e,n){var r=e.value,o=e.modifiers,i=t.tag,a=t.attrsMap.type;if(t.component)return ti(t,r,o),!1;if("select"===i)!function(t,e,n){var r=n&&n.number,o='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(r?"_n(val)":"val","})"),i="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = ".concat(o,";");Go(t,"change",a="".concat(a," ").concat(ei(e,i)),null,!0)}(t,r,o);else if("input"===i&&"checkbox"===a)!function(t,e,n){var r=n&&n.number,o=Zo(t,"value")||"null",i=Zo(t,"true-value")||"true",a=Zo(t,"false-value")||"false";Vo(t,"checked","Array.isArray(".concat(e,")")+"?_i(".concat(e,",").concat(o,")>-1")+("true"===i?":(".concat(e,")"):":_q(".concat(e,",").concat(i,")"))),Go(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(i,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+o+")":o,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(ei(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(ei(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(ei(e,"$$c"),"}"),null,!0)}(t,r,o);else if("input"===i&&"radio"===a)!function(t,e,n){var r=n&&n.number,o=Zo(t,"value")||"null";o=r?"_n(".concat(o,")"):o,Vo(t,"checked","_q(".concat(e,",").concat(o,")")),Go(t,"change",ei(e,o),null,!0)}(t,r,o);else if("input"===i||"textarea"===i)!function(t,e,n){var r=t.attrsMap.type,o=n||{},i=o.lazy,a=o.number,c=o.trim,s=!i&&"range"!==r,u=i?"change":"range"===r?si:"input",l="$event.target.value";c&&(l="$event.target.value.trim()"),a&&(l="_n(".concat(l,")"));var f=ei(e,l);s&&(f="if($event.target.composing)return;".concat(f)),Vo(t,"value","(".concat(e,")")),Go(t,u,f,null,!0),(c||a)&&Go(t,"blur","$forceUpdate()")}(t,r,o);else if(!z.isReservedTag(i))return ti(t,r,o),!1;return!0},text:function(t,e){e.value&&Vo(t,"textContent","_s(".concat(e.value,")"),e)},html:function(t,e){e.value&&Vo(t,"innerHTML","_s(".concat(e.value,")"),e)}},Hc={expectHTML:!0,modules:Rc,directives:Fc,isPreTag:function(t){return"pre"===t},isUnaryTag:Na,mustUseProp:Vr,canBeLeftOpenTag:Da,isReservedTag:ao,getTagNamespace:co,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(Rc)},Bc=x((function(t){return g("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function Uc(t,e){t&&(Dc=Bc(e.staticKeys||""),Lc=e.isReservedTag||M,zc(t),Vc(t,!1))}function zc(t){if(t.static=function(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||y(t.tag)||!Lc(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Dc))))}(t),1===t.type){if(!Lc(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];zc(r),r.static||(t.static=!1)}if(t.ifConditions)for(e=1,n=t.ifConditions.length;e<n;e++){var o=t.ifConditions[e].block;zc(o),o.static||(t.static=!1)}}}function Vc(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,r=t.children.length;n<r;n++)Vc(t.children[n],e||!!t.for);if(t.ifConditions)for(n=1,r=t.ifConditions.length;n<r;n++)Vc(t.ifConditions[n].block,e)}}var Kc=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Jc=/\([^)]*?\);*$/,qc=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Wc={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Gc={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Zc=function(t){return"if(".concat(t,")return null;")},Qc={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Zc("$event.target !== $event.currentTarget"),ctrl:Zc("!$event.ctrlKey"),shift:Zc("!$event.shiftKey"),alt:Zc("!$event.altKey"),meta:Zc("!$event.metaKey"),left:Zc("'button' in $event && $event.button !== 0"),middle:Zc("'button' in $event && $event.button !== 1"),right:Zc("'button' in $event && $event.button !== 2")};function Xc(t,e){var n=e?"nativeOn:":"on:",r="",o="";for(var i in t){var a=Yc(t[i]);t[i]&&t[i].dynamic?o+="".concat(i,",").concat(a,","):r+='"'.concat(i,'":').concat(a,",")}return r="{".concat(r.slice(0,-1),"}"),o?n+"_d(".concat(r,",[").concat(o.slice(0,-1),"])"):n+r}function Yc(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map((function(t){return Yc(t)})).join(","),"]");var e=qc.test(t.value),n=Kc.test(t.value),r=qc.test(t.value.replace(Jc,""));if(t.modifiers){var o="",i="",a=[],c=function(e){if(Qc[e])i+=Qc[e],Wc[e]&&a.push(e);else if("exact"===e){var n=t.modifiers;i+=Zc(["ctrl","shift","alt","meta"].filter((function(t){return!n[t]})).map((function(t){return"$event.".concat(t,"Key")})).join("||"))}else a.push(e)};for(var s in t.modifiers)c(s);a.length&&(o+=function(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(ts).join("&&"),")return null;")}(a)),i&&(o+=i);var u=e?"return ".concat(t.value,".apply(null, arguments)"):n?"return (".concat(t.value,").apply(null, arguments)"):r?"return ".concat(t.value):t.value;return"function($event){".concat(o).concat(u,"}")}return e||n?t.value:"function($event){".concat(r?"return ".concat(t.value):t.value,"}")}function ts(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=Wc[t],r=Gc[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var es={on:function(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}},bind:function(t,e){t.wrapData=function(n){return"_b(".concat(n,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}},cloak:I},ns=function(t){this.options=t,this.warn=t.warn||Uo,this.transforms=zo(t.modules,"transformCode"),this.dataGenFns=zo(t.modules,"genData"),this.directives=E(E({},es),t.directives);var e=t.isReservedTag||M;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function rs(t,e){var n=new ns(e),r=t?"script"===t.tag?"null":os(t,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function os(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return is(t,e);if(t.once&&!t.onceProcessed)return as(t,e);if(t.for&&!t.forProcessed)return us(t,e);if(t.if&&!t.ifProcessed)return cs(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=ps(t,e),o="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):""),i=t.attrs||t.dynamicAttrs?ms((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:k(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];return!i&&!a||r||(o+=",null"),i&&(o+=",".concat(i)),a&&(o+="".concat(i?"":",null",",").concat(a)),o+")"}(t,e);var n=void 0;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:ps(e,n,!0);return"_c(".concat(t,",").concat(ls(e,n)).concat(r?",".concat(r):"",")")}(t.component,t,e);else{var r=void 0,o=e.maybeComponent(t);(!t.plain||t.pre&&o)&&(r=ls(t,e));var i=void 0,a=e.options.bindings;o&&a&&!1!==a.__isScriptSetup&&(i=function(t,e){var n=k(e),r=S(n),o=function(o){return t[e]===o?e:t[n]===o?n:t[r]===o?r:void 0},i=o("setup-const")||o("setup-reactive-const");if(i)return i;var a=o("setup-let")||o("setup-ref")||o("setup-maybe-ref");return a||void 0}(a,t.tag)),i||(i="'".concat(t.tag,"'"));var c=t.inlineTemplate?null:ps(t,e,!0);n="_c(".concat(i).concat(r?",".concat(r):"").concat(c?",".concat(c):"",")")}for(var s=0;s<e.transforms.length;s++)n=e.transforms[s](t,n);return n}return ps(t,e)||"void 0"}function is(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return ".concat(os(t,e),"}")),e.pre=n,"_m(".concat(e.staticRenderFns.length-1).concat(t.staticInFor?",true":"",")")}function as(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return cs(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o(".concat(os(t,e),",").concat(e.onceId++,",").concat(n,")"):os(t,e)}return is(t,e)}function cs(t,e,n,r){return t.ifProcessed=!0,ss(t.ifConditions.slice(),e,n,r)}function ss(t,e,n,r){if(!t.length)return r||"_e()";var o=t.shift();return o.exp?"(".concat(o.exp,")?").concat(i(o.block),":").concat(ss(t,e,n,r)):"".concat(i(o.block));function i(t){return n?n(t,e):t.once?as(t,e):os(t,e)}}function us(t,e,n,r){var o=t.for,i=t.alias,a=t.iterator1?",".concat(t.iterator1):"",c=t.iterator2?",".concat(t.iterator2):"";return t.forProcessed=!0,"".concat(r||"_l","((").concat(o,"),")+"function(".concat(i).concat(a).concat(c,"){")+"return ".concat((n||os)(t,e))+"})"}function ls(t,e){var n="{",r=function(t,e){var n=t.directives;if(n){var r,o,i,a,c="directives:[",s=!1;for(r=0,o=n.length;r<o;r++){i=n[r],a=!0;var u=e.directives[i.name];u&&(a=!!u(t,i,e.warn)),a&&(s=!0,c+='{name:"'.concat(i.name,'",rawName:"').concat(i.rawName,'"').concat(i.value?",value:(".concat(i.value,"),expression:").concat(JSON.stringify(i.value)):"").concat(i.arg?",arg:".concat(i.isDynamicArg?i.arg:'"'.concat(i.arg,'"')):"").concat(i.modifiers?",modifiers:".concat(JSON.stringify(i.modifiers)):"","},"))}return s?c.slice(0,-1)+"]":void 0}}(t,e);r&&(n+=r+","),t.key&&(n+="key:".concat(t.key,",")),t.ref&&(n+="ref:".concat(t.ref,",")),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'.concat(t.tag,'",'));for(var o=0;o<e.dataGenFns.length;o++)n+=e.dataGenFns[o](t);if(t.attrs&&(n+="attrs:".concat(ms(t.attrs),",")),t.props&&(n+="domProps:".concat(ms(t.props),",")),t.events&&(n+="".concat(Xc(t.events,!1),",")),t.nativeEvents&&(n+="".concat(Xc(t.nativeEvents,!0),",")),t.slotTarget&&!t.slotScope&&(n+="slot:".concat(t.slotTarget,",")),t.scopedSlots&&(n+="".concat(function(t,e,n){var r=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||fs(n)})),o=!!t.if;if(!r)for(var i=t.parent;i;){if(i.slotScope&&i.slotScope!==Cc||i.for){r=!0;break}i.if&&(o=!0),i=i.parent}var a=Object.keys(e).map((function(t){return ds(e[t],n)})).join(",");return"scopedSlots:_u([".concat(a,"]").concat(r?",null,true":"").concat(!r&&o?",null,false,".concat(function(t){for(var e=5381,n=t.length;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(a)):"",")")}(t,t.scopedSlots,e),",")),t.model&&(n+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},")),t.inlineTemplate){var i=function(t,e){var n=t.children[0];if(n&&1===n.type){var r=rs(n,e.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map((function(t){return"function(){".concat(t,"}")})).join(","),"]}")}}(t,e);i&&(n+="".concat(i,","))}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b(".concat(n,',"').concat(t.tag,'",').concat(ms(t.dynamicAttrs),")")),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function fs(t){return 1===t.type&&("slot"===t.tag||t.children.some(fs))}function ds(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return cs(t,e,ds,"null");if(t.for&&!t.forProcessed)return us(t,e,ds);var r=t.slotScope===Cc?"":String(t.slotScope),o="function(".concat(r,"){")+"return ".concat("template"===t.tag?t.if&&n?"(".concat(t.if,")?").concat(ps(t,e)||"undefined",":undefined"):ps(t,e)||"undefined":os(t,e),"}"),i=r?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(o).concat(i,"}")}function ps(t,e,n,r,o){var i=t.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var c=n?e.maybeComponent(a)?",1":",0":"";return"".concat((r||os)(a,e)).concat(c)}var s=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var o=t[r];if(1===o.type){if(vs(o)||o.ifConditions&&o.ifConditions.some((function(t){return vs(t.block)}))){n=2;break}(e(o)||o.ifConditions&&o.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(i,e.maybeComponent):0,u=o||hs;return"[".concat(i.map((function(t){return u(t,e)})).join(","),"]").concat(s?",".concat(s):"")}}function vs(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function hs(t,e){return 1===t.type?os(t,e):3===t.type&&t.isComment?function(t){return"_e(".concat(JSON.stringify(t.text),")")}(t):function(t){return"_v(".concat(2===t.type?t.expression:gs(JSON.stringify(t.text)),")")}(t)}function ms(t){for(var e="",n="",r=0;r<t.length;r++){var o=t[r],i=gs(o.value);o.dynamic?n+="".concat(o.name,",").concat(i,","):e+='"'.concat(o.name,'":').concat(i,",")}return e="{".concat(e.slice(0,-1),"}"),n?"_d(".concat(e,",[").concat(n.slice(0,-1),"])"):e}function gs(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function ys(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),I}}function _s(t){var e=Object.create(null);return function(n,r,o){(r=E({},r)).warn,delete r.warn;var i=r.delimiters?String(r.delimiters)+n:n;if(e[i])return e[i];var a=t(n,r),c={},s=[];return c.render=ys(a.render,s),c.staticRenderFns=a.staticRenderFns.map((function(t){return ys(t,s)})),e[i]=c}}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var bs,ws,$s=(bs=function(t,e){var n=Sc(t.trim(),e);!1!==e.optimize&&Uc(n,e);var r=rs(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),o=[],i=[];if(n)for(var a in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=E(Object.create(t.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(r[a]=n[a]);r.warn=function(t,e,n){(n?i:o).push(t)};var c=bs(e.trim(),r);return c.errors=o,c.tips=i,c}return{compile:e,compileToFunctions:_s(e)}}),xs=$s(Hc).compileToFunctions;function Cs(t){return(ws=ws||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',ws.innerHTML.indexOf("&#10;")>0}var ks=!!G&&Cs(!1),Ss=!!G&&Cs(!0),Os=x((function(t){var e=lo(t);return e&&e.innerHTML})),Ts=Ir.prototype.$mount;return Ir.prototype.$mount=function(t,e){if((t=t&&lo(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Os(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){var o=xs(r,{outputSourceRange:!1,shouldDecodeNewlines:ks,shouldDecodeNewlinesForHref:Ss,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return Ts.call(this,t,e)},Ir.compile=xs,E(Ir,Wn),Ir.effect=function(t,e){var n=new Yn(ft,t,I,{sync:!0});e&&(n.update=function(){e((function(){return n.run()}))})},Ir}()}).call(this,n(0),n(4).setImmediate)},function(t,e,n){t.exports=n(7)},function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(5),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,c,s=1,u={},l=!1,f=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){v(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){v(t.data)},r=function(t){i.port2.postMessage(t)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(t){var e=f.createElement("script");e.onreadystatechange=function(){v(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(v,0,t)}:(a="setImmediate$"+Math.random()+"$",c=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&v(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",c,!1):t.attachEvent("onmessage",c),r=function(e){t.postMessage(a+e,"*")}),d.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return u[s]=o,r(s),s++},d.clearImmediate=p}function p(t){delete u[t]}function v(t){if(l)setTimeout(v,0,t);else{var e=u[t];if(e){l=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{p(t),l=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(0),n(6))},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var s,u=[],l=!1,f=-1;function d(){l&&s&&(l=!1,s.length?u=s.concat(u):f=-1,u.length&&p())}function p(){if(!l){var t=c(d);l=!0;for(var e=u.length;e;){for(s=u,u=[];++f<e;)s&&s[f].run();f=-1,e=u.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function v(t,e){this.fun=t,this.array=e}function h(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];u.push(new v(t,e)),1!==u.length||l||c(p)},v.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n.n(r),i=n(2),a=n.n(i);o()((()=>{o()("#health-plans-accepted-widget").length&&new a.a({el:"#health-plans-accepted-widget",data:{location:""},computed:{showSpecial(){return["CPG","CFH","CHRHC"].includes(this.location)}},methods:{match(t){return t.split("|").includes(this.location)}}})}))}]);
//# sourceMappingURL=health-plans-accepted.js.map
!function(i){var e={};function t(o){if(e[o])return e[o].exports;var s=e[o]={i:o,l:!1,exports:{}};return i[o].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=i,t.c=e,t.d=function(i,e,o){t.o(i,e)||Object.defineProperty(i,e,{enumerable:!0,get:o})},t.r=function(i){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},t.t=function(i,e){if(1&e&&(i=t(i)),8&e)return i;if(4&e&&"object"==typeof i&&i&&i.__esModule)return i;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:i}),2&e&&"string"!=typeof i)for(var s in i)t.d(o,s,function(e){return i[e]}.bind(null,s));return o},t.n=function(i){var e=i&&i.__esModule?function(){return i.default}:function(){return i};return t.d(e,"a",e),e},t.o=function(i,e){return Object.prototype.hasOwnProperty.call(i,e)},t.p="",t(t.s=1)}([function(i,e){i.exports=jQuery},function(i,e,t){i.exports=t(2)},function(i,e,t){"use strict";t.r(e);var o=t(0),s=t.n(o);t(3);s()((()=>{s()(".carle-news-slider").on("init",(function(){var i=s()(".slick-slide").length;void 0!==i&&i<=3&&s()(".slick-slide").each((function(){s()(this).addClass("full-bright")}))})),s()(".carle-news-slider").slick({dots:!0,infinite:!0,centerMode:!0,arrows:!0,appendDots:s()(".slick-dots-wrap"),prevArrow:s()(".slider-prev"),nextArrow:s()(".slider-next"),slidesToShow:3,responsive:[{breakpoint:1024,settings:{arrows:!0,centerMode:!0,centerPadding:"40px",slidesToShow:2}},{breakpoint:480,settings:{arrows:!0,centerMode:!0,centerPadding:"40px",slidesToShow:1}}]})}))},function(i,e,t){var o,s,n;!function(r){"use strict";s=[t(0)],o=function(i){var e=window.Slick||{};(e=function(){var e=0;function t(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(t),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(t).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,void 0!==document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=e++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}return t}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):!0===o?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each((function(e,t){i(t).attr("data-slick-index",e)})),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),!1===s.options.vertical?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout((function(){s.disableTransition(),t.call()}),s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this.getNavTarget();null!==t&&"object"==typeof t&&t.each((function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)}))},e.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(!0===o.options.dots&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each((function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")})),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>0){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(o in s=null,r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(!1===r.originalSettings.mobileFirst?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||!1===l||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n=this,r=i(e.currentTarget);switch(r.is("a")&&e.preventDefault(),r.is("li")||(r=r.closest("li")),o=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,e.data.message){case"previous":s=0===o?n.options.slidesToScroll:n.options.slidesToShow-o,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-s,!1,t);break;case"next":s=0===o?n.options.slidesToScroll:o,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+s,!1,t);break;case"index":var l=0===e.data.index?0:e.data.index||r.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(l),!1,t),r.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t;if(t=0,i>(e=this.getNavigableIndexes())[e.length-1])i=e[e.length-1];else for(var o in e){if(i<e[o]){i=t;break}t=e[o]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),!0===e.options.accessibility&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>0&&((i=e.$slides.children().children()).removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){i(this).attr("style",i(this).data("originalStyling"))})),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout((function(){t.disableTransition(i),e.call()}),t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(t){t.stopImmediatePropagation();var o=i(this);setTimeout((function(){e.options.pauseOnFocus&&(e.focussed=o.is(":focus"),e.autoPlay())}),0)}))},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){return this.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){return this.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(!1===e.options.infinite?i=e.slideCount:(t=-1*e.options.slidesToScroll,o=-1*e.options.slidesToScroll,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o=this;return t=!0===o.options.centerMode?o.slideWidth*Math.floor(o.options.slidesToShow/2):0,!0===o.options.swipeToSlide?(o.$slideTrack.find(".slick-slide").each((function(s,n){if(n.offsetLeft-t+i(n).outerWidth()/2>-1*o.swipeLeft)return e=n,!1})),Math.abs(i(e).attr("data-slick-index")-o.currentSlide)||1):o.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter((function(i){return i>=0&&i<e.slideCount}));e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each((function(t){var s=o.indexOf(t);if(i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),-1!==s){var n="slick-slide-control"+e.instanceUid+s;i("#"+n).length&&i(this).attr({"aria-describedby":n})}})),e.$dots.attr("role","tablist").find("li").each((function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})})).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.options.focusOnChange?e.$slides.eq(s).attr({tabindex:"0"}):e.$slides.eq(s).removeAttr("tabindex");e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),!0===i.options.accessibility&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility&&e.$dots.on("keydown.slick",e.keyHandler)),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===i.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"previous":"next"}}))},e.prototype.lazyLoad=function(){var e,t,o,s=this;function n(e){i("img[data-lazy]",e).each((function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),n=i(this).attr("data-sizes")||s.$slider.attr("data-sizes"),r=document.createElement("img");r.onload=function(){e.animate({opacity:0},100,(function(){o&&(e.attr("srcset",o),n&&e.attr("sizes",n)),e.attr("src",t).animate({opacity:1},200,(function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")})),s.$slider.trigger("lazyLoaded",[s,e,t])}))},r.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,e,t])},r.src=t}))}if(!0===s.options.centerMode?!0===s.options.infinite?o=(t=s.currentSlide+(s.options.slidesToShow/2+1))+s.options.slidesToShow+2:(t=Math.max(0,s.currentSlide-(s.options.slidesToShow/2+1)),o=s.options.slidesToShow/2+1+2+s.currentSlide):(t=s.options.infinite?s.options.slidesToShow+s.currentSlide:s.currentSlide,o=Math.ceil(t+s.options.slidesToShow),!0===s.options.fade&&(t>0&&t--,o<=s.slideCount&&o++)),e=s.$slider.find(".slick-slide").slice(t,o),"anticipated"===s.options.lazyLoad)for(var r=t-1,l=o,d=s.$slider.find(".slick-slide"),a=0;a<s.options.slidesToScroll;a++)r<0&&(r=s.slideCount-1),e=(e=e.add(d.eq(r))).add(d.eq(l)),r--,l++;n(e),s.slideCount<=s.options.slidesToShow?n(s.$slider.find(".slick-slide")):s.currentSlide>=s.slideCount-s.options.slidesToShow?n(s.$slider.find(".slick-cloned").slice(0,s.options.slidesToShow)):0===s.currentSlide&&n(s.$slider.find(".slick-cloned").slice(-1*s.options.slidesToShow))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange&&i(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus()))},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),(r=document.createElement("img")).onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout((function(){l.progressiveLazyLoad(e+1)}),500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){for(e in s.respondTo=s.options.respondTo||"window",n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort((function(i,e){return s.options.mobileFirst?i-e:e-i}))}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout((function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()}),50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},e.prototype.setCSS=function(i){var e,t,o=this,s={};!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled?o.$slideTrack.css(s):(s={},!1===o.cssTransitions?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each((function(o,s){e=t.slideWidth*o*-1,!0===t.options.rtl?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})})),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&!0===i.options.adaptiveHeight&&!1===i.options.vertical){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":void 0!==arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,(function(i,e){r.options[i]=e}));else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode){var r=n.options.slidesToShow%2==0?1:0;e=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each((function(){i(this).attr("id","")}))}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));s||(s=0),t.slideCount<=t.options.slidesToShow?t.slideHandler(s,!1,!0):t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(!0===a.animating&&!0===a.options.waitForAnimate||!0===a.options.fade&&a.currentSlide===i))if(!1===e&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,!1===a.options.infinite&&!1===a.options.centerMode&&(i<0||i>a.getDotCount()*a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,(function(){a.postSlide(o)})):a.postSlide(o));else if(!1===a.options.infinite&&!0===a.options.centerMode&&(i<0||i>a.slideCount-a.options.slidesToScroll))!1===a.options.fade&&(o=a.currentSlide,!0!==t&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,(function(){a.postSlide(o)})):a.postSlide(o));else{if(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!=0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!=0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=(l=a.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide),a.updateDots(),a.updateArrows(),!0===a.options.fade)return!0!==t?(a.fadeSlideOut(n),a.fadeSlide(s,(function(){a.postSlide(s)}))):a.postSlide(s),void a.animateHeight();!0!==t&&a.slideCount>a.options.slidesToShow?a.animateSlide(d,(function(){a.postSlide(s)})):a.postSlide(s)}},e.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),(o=Math.round(180*t/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?!1===s.options.rtl?"left":"right":o>=135&&o<=225?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,!1===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode||i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode)&&(i.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),i.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||void 0===s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),void 0!==t)return t;return o}},void 0===(n="function"==typeof o?o.apply(e,s):o)||(i.exports=n)}()}]);
