calendar/app/assets/javascripts/fullcalendar.min.js

6 lines
257 KiB
JavaScript
Raw Normal View History

2014-12-16 11:40:15 +00:00
/*!
FullCalendar v5.11.0
Docs & License: https://fullcalendar.io/
(c) 2021 Adam Shaw
*/
var FullCalendar=function(e){"use strict";var A=function(e,t){return(A=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])})(e,t)};function t(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}A(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}).apply(this,arguments)};function h(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))[o]=t[o]);return e.concat(r||t)}var b,L,U={},W=[],V=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function F(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 z(e,t,n){var r,o,i,a=arguments,s={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:s[i]=t[i];if(3<arguments.length)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return j(e,s,r,o,null)}function j(e,t,n,r,o){e={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?++b.__v:o};return null!=b.vnode&&b.vnode(e),e}function G(e){return e.children}function D(e,t){this.props=e,this.context=t}function q(e,t){if(null==t)return e.__?q(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?q(e):null}function Y(e){(!e.__d&&(e.__d=!0)&&le.push(e)&&!Z.__r++||L!==b.debounceRendering)&&((L=b.debounceRendering)||ue)(Z)}function Z(){for(var e;Z.__r=le.length;)e=le.sort(function(e,t){return e.__v.__b-t.__v.__b}),le=[],e.some(function(e){var t,n,r,o,i;e.__d&&(o=(r=(e=e).__v).__e,(i=e.__P)&&(t=[],(n=F({},r)).__v=r.__v+1,ne(i,r,n,e.__n,void 0!==i.ownerSVGElement,null!=r.__h?[o]:null,t,null==o?q(r):o,r.__h),re(t,r),r.__e!=o&&function e(t){var n,r;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(r=t.__k[n])&&null!=r.__e){t.__e=t.__c.base=r.__e;break}return e(t)}}(r)))})}function X(e,t,n,r,o,i,a,s,l,u){var c,d,p,f,h,g,v,m=r&&r.__k||W,y=m.length;for(n.__k=[],c=0;c<t.length;c++)if(null!=(f=n.__k[c]=null==(f=t[c])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f||"bigint"==typeof f?j(null,f,null,null,f):Array.isArray(f)?j(G,{children:f},null,null,null):0<f.__b?j(f.type,f.props,f.key,null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(p=m[c])||p&&f.key==p.key&&f.type===p.type)m[c]=void 0;else for(d=0;d<y;d++){if((p=m[d])&&f.key==p.key&&f.type===p.type){m[d]=void 0;break}p=null}ne(e,f,p=p||U,o,i,a,s,l,u),h=f.__e,(d=f.ref)&&p.ref!=d&&(v=v||[],p.ref&&v.push(p.ref,null,f),v.push(d,f.__c||h,f)),null!=h?(null==g&&(g=h),"function"==typeof f.type&&null!=f.__k&&f.__k===p.__k?f.__d=l=function e(t,n,r){var o,i;for(o=0;o<t.__k.length;o++)(i=t.__k[o])&&(i.__=t,n="function"==typeof i.type?e(i,n,r):$(r,i,i,t.__k,i.__e,n));return n}(f,l,e):l=$(e,f,p,m,h,l),u||"option"!==n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&p.__e==l&&l.parentNode!=e&&(l=q(p))}for(n.__e=g,c=y;c--;)null!=m[c]&&("function"==typeof n.type&&null!=m[c].__e&&m[c].__e==n.__d&&(n.__d=q(r,c+1)),function e(t,n,r){var o,i,a;if(b.unmount&&b.unmount(t),!(o=t.ref)||o.current&&o.current!==t.__e||oe(o,null,n),r||"function"==typeof t.type||(r=null!=(i=t.__e)),t.__e=t.__d=void 0,null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){b.__e(t,n)}o.base=o.__P=null}if(o=t.__k)for(a=0;a<o.length;a++)o[a]&&e(o[a],n,r);null!=i&&B(i)}(m[c],m[c]));if(v)for(c=0;c<v.length;c++)oe(v[c],v[++c],v[++c])}function K(e,t){return t=t||[],null!=e&&"boolean"!=typeof e&&(Array.isArray(e)?e.some(function(e){K(e,t)})