UNPKG

devextreme-dist

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

19 lines 5.47 MB
/*! * DevExtreme (dx.all.js) * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict";(()=>{var e={75299(e,t,i){i.r(t),i.d(t,{Computed:()=>x,Effect:()=>T,Signal:()=>f,action:()=>O,batch:()=>a,computed:()=>S,createModel:()=>P,effect:()=>E,signal:()=>v,untracked:()=>r});var n=Symbol.for("preact-signals");function o(){if(u>1)u--;else{var e,t=!1;for(!function(){var e=g;for(g=void 0;void 0!==e;)e.S.v===e.v&&(e.S.i=e.i),e=e.o}();void 0!==d;){var i=d;for(d=void 0,c++;void 0!==i;){var n=i.u;if(i.u=void 0,i.f&=-3,!(8&i.f)&&C(i))try{i.c()}catch(i){t||(e=i,t=!0)}i=n}}if(c=0,u--,t)throw e}}function a(e){if(u>0)return e();p=++h,u++;try{return e()}finally{o()}}var s=void 0;function r(e){var t=s;s=void 0;try{return e()}finally{s=t}}var l,d=void 0,u=0,c=0,h=0,p=0,g=void 0,m=0;function _(e){if(void 0!==s){var t=e.n;if(void 0===t||t.t!==s)return t={i:0,S:e,p:s.s,n:void 0,t:s,e:void 0,x:void 0,r:t},void 0!==s.s&&(s.s.n=t),s.s=t,e.n=t,32&s.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=s.s,t.n=void 0,s.s.n=t,s.s=t),t}}function f(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function v(e,t){return new f(e,t)}function C(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function y(e){for(var t=e.s;void 0!==t;t=t.n){var i=t.S.n;if(void 0!==i&&(t.r=i),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function b(e){for(var t=e.s,i=void 0;void 0!==t;){var n=t.p;-1===t.i?(t.S.U(t),void 0!==n&&(n.n=t.n),void 0!==t.n&&(t.n.p=n)):i=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=n}e.s=i}function x(e,t){f.call(this,void 0),this.x=e,this.s=void 0,this.g=m-1,this.f=4,this.W=null==t?void 0:t.watched,this.Z=null==t?void 0:t.unwatched,this.name=null==t?void 0:t.name}function S(e,t){return new x(e,t)}function w(e){var t=e.m;if(e.m=void 0,"function"==typeof t){u++;var i=s;s=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,D(e),t}finally{s=i,o()}}}function D(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,w(e)}function I(e){if(s!==this)throw new Error("Out-of-order effect");b(this),s=e,this.f&=-2,8&this.f&&D(this),o()}function T(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==t?void 0:t.name,l&&l.push(this)}function E(e,t){var i=new T(e,t);try{i.c()}catch(e){throw i.d(),e}var n=i.d.bind(i);return n[Symbol.dispose]=n,n}function O(e){return function(){var t=arguments,i=this;return a(function(){return r(function(){return e.apply(i,[].slice.call(t))})})}}f.prototype.brand=n,f.prototype.h=function(){return!0},f.prototype.S=function(e){var t=this,i=this.t;i!==e&&void 0===e.e&&(e.x=i,this.t=e,void 0!==i?i.e=e:r(function(){var e;null==(e=t.W)||e.call(t)}))},f.prototype.U=function(e){var t=this;if(void 0!==this.t){var i=e.e,n=e.x;void 0!==i&&(i.x=n,e.e=void 0),void 0!==n&&(n.e=i,e.x=void 0),e===this.t&&(this.t=n,void 0===n&&r(function(){var e;null==(e=t.Z)||e.call(t)}))}},f.prototype.subscribe=function(e){var t=this;return E(function(){var i=t.value,n=s;s=void 0;try{e(i)}finally{s=n}},{name:"sub"})},f.prototype.valueOf=function(){return this.value},f.prototype.toString=function(){return this.value+""},f.prototype.toJSON=function(){return this.value},f.prototype.peek=function(){var e=s;s=void 0;try{return this.value}finally{s=e}},Object.defineProperty(f.prototype,"value",{get:function(){var e=_(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(c>100)throw new Error("Cycle detected");!function(e){0!==u&&0===c&&e.l!==p&&(e.l=p,g={S:e,v:e.v,i:e.i,o:g})}(this),this.v=e,this.i++,m++,u++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{o()}}}}),x.prototype=new f,x.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===m)return!0;if(this.g=m,this.f|=1,this.i>0&&!C(this))return this.f&=-2,!0;var e=s;try{y(this),s=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return s=e,b(this),this.f&=-2,!0},x.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}f.prototype.S.call(this,e)},x.prototype.U=function(e){if(void 0!==this.t&&(f.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},x.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(x.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=_(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),T.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.m=t)}finally{e()}},T.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,w(this),y(this),u++;var e=s;return s=this,I.bind(this,e)},T.prototype.N=function(){2&this.f||(this.f|=2,this.u=d,d=this)},T.prototype.d=function(){this.f|=8,1&this.f||D(this)},T.prototype.dispose=function(){this.d()};var A=function(e){for(var t in e){var i=e[t];"function"==typeof i?e[t]=O(i):"object"!=typeof i||null===i||"brand"in i||A(i)}};function P(e){return function(){var t,i,n=function(){var e=l;return l=[],function(){var t=l;return l&&e&&(e=e.concat(l)),l=e,t}}();try{i=e.apply(void 0,[].slice.call(arguments))}catch(e){throw l=void 0,e}finally{t=n()}return A(i),i[Symbol.dispose]=O(function(){if(t)for(var e=0;e<t.length;e++)t[e].dispose();t=void 0}),i}}},12887(e,t,i){i.r(t),i.d(t,{createElement:()=>r});var n=i(76231);function o(e){return null==e}function a(e){return void 0===e}var s={onComponentDidAppear:1,onComponentDidMount:1,onComponentDidUpdate:1,onComponentShouldUpdate:1,onComponentWillDisappear:1,onComponentWillMount:1,onComponentWillUnmount:1,onComponentWillUpdate:1};function r(e,t,i){var r,l,d,u=null,c=null,h=null,p=arguments.length-2;if(1===p)r=i;else if(p>1)for(r=[];p-- >0;)r[p]=arguments[p+2];if("string"!=typeof e){if(l=2,a(r)||(t||(t={}),t.children=r),!o(t))for(var g in d={},t)"key"===g?c=t.key:"ref"===g?u=t.ref:1===s[g]?(u||(u={}),u[g]=t[g]):d[g]=t[g];return(0,n.createComponentVNode)(l,e,d,c,u)}if(l=(0,n.getFlagsForElementVnode)(e),!o(t))for(var m in d={},t)"className"===m||"class"===m?h=t[m]:"key"===m?c=t.key:"children"===m&&a(r)?r=t.children:"ref"===m?u=t.ref:("contenteditable"===m&&(l|=4096),d[m]=t[m]);return 8192&l?(0,n.createFragment)(1===p?[r]:r,0,c):(0,n.createVNode)(l,e,h,r,0,d,c,u)}},76231(e,t,i){i.r(t),i.d(t,{AnimationQueues:()=>_,Component:()=>ht,EMPTY_OBJ:()=>g,Fragment:()=>m,_CI:()=>We,_HI:()=>q,_M:()=>je,_MCCC:()=>Ye,_ME:()=>Ke,_MFCC:()=>Xe,_MP:()=>$e,_MR:()=>Me,_RFC:()=>Ge,__render:()=>it,createComponentVNode:()=>N,createFragment:()=>$,createPortal:()=>j,createRef:()=>Oe,createRenderer:()=>ot,createTextVNode:()=>H,createVNode:()=>B,directClone:()=>W,findDOMFromVNode:()=>S,forwardRef:()=>Ae,getFlagsForElementVnode:()=>K,linkEvent:()=>h,normalizeProps:()=>z,options:()=>P,render:()=>nt,rerender:()=>ut,version:()=>pt});var n=Array.isArray;function o(e){var t=typeof e;return"string"===t||"number"===t}function a(e){return null==e}function s(e){return null===e||!1===e||!0===e||void 0===e}function r(e){return"function"==typeof e}function l(e){return"string"==typeof e}function d(e){return null===e}function u(e){return void 0===e}function c(e,t){var i={};if(e)for(var n in e)i[n]=e[n];if(t)for(var o in t)i[o]=t[o];return i}function h(e,t){return r(t)?{data:e,event:t}:null}function p(e){return!d(e)&&"object"==typeof e}var g={},m="$F",_=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function f(e){return e.substring(2).toLowerCase()}function v(e,t){e.appendChild(t)}function C(e,t,i){d(i)?v(e,t):e.insertBefore(t,i)}function y(e,t){e.removeChild(t)}function b(e){for(var t=0;t<e.length;t++)e[t]()}function x(e,t,i){var n=e.children;return 4&i?n.$LI:8192&i?2===e.childFlags?n:n[t?0:n.length-1]:n}function S(e,t){for(var i;e;){if(1521&(i=e.flags))return e.dom;e=x(e,t,i)}return null}function w(e,t){for(var i,n=e.length;void 0!==(i=e.pop());)i(function(){--n<=0&&r(t)&&t()})}function D(e,t,i){do{var n=e.flags;if(1521&n)return void(i&&e.dom.parentNode!==t||y(t,e.dom));var o=e.children;if(4&n&&(e=o.$LI),8&n&&(e=o),8192&n){if(2!==e.childFlags){for(var a=0,s=o.length;a<s;++a)D(o[a],t,!1);return}e=o}}while(e)}function I(e,t,i){i.componentWillDisappear.length>0?w(i.componentWillDisappear,function(e,t){return function(){D(e,t,!0)}}(e,t)):D(e,t,!1)}function T(e,t,i,n,o,a,s,r){e.componentWillMove.push({dom:n,fn:function(){4&s?i.componentWillMove(t,o,n):8&s&&i.onComponentWillMove(t,o,n,r)},next:a,parent:o})}function E(e,t,i,n,o){var s,l,d=t.flags;do{var u=t.flags;if(1521&u)return void(a(s)||!r(s.componentWillMove)&&!r(s.onComponentWillMove)?C(i,t.dom,n):T(o,e,s,t.dom,i,n,d,l));var c=t.children;if(4&u)s=t.children,l=t.props,t=c.$LI;else if(8&u)s=t.ref,l=t.props,t=c;else if(8192&u){if(2!==t.childFlags){for(var h=0,p=c.length;h<p;++h)E(e,c[h],i,n,o);return}t=c}}while(t)}function O(e,t,i){return e.constructor.getDerivedStateFromProps?c(i,e.constructor.getDerivedStateFromProps(t,i)):i}var A={v:!1},P={componentComparator:null,createVNode:null,renderComplete:null};function M(e,t){e.textContent=t}function k(e,t){return p(e)&&e.event===t.event&&e.data===t.data}function R(e,t){for(var i in t)u(e[i])&&(e[i]=t[i]);return e}function L(e,t){return!!r(e)&&(e(t),!0)}var V="$";function F(e,t,i,n,o,a,s,r){this.childFlags=e,this.children=t,this.className=i,this.dom=null,this.flags=n,this.key=void 0===o?null:o,this.props=void 0===a?null:a,this.ref=void 0===s?null:s,this.type=r}function B(e,t,i,n,o,a,s,r){var l=void 0===o?1:o,d=new F(l,n,i,e,s,a,r,t);return P.createVNode&&P.createVNode(d),0===l&&Z(d,d.children),d}function N(e,t,i,n,o){e=function(e,t){return 12&e?e:t.prototype&&t.prototype.render?4:t.render?32776:8}(e,t);var s=new F(1,null,null,e,n,function(e,t,i){var n=(32768&e?t.render:t).defaultProps;return a(n)?i:a(i)?c(n,null):R(i,n)}(e,t,i),function(e,t,i){if(4&e)return i;var n=(32768&e?t.render:t).defaultHooks;return a(n)?i:a(i)?n:R(i,n)}(e,t,o),t);return P.createVNode&&P.createVNode(s),s}function H(e,t){return new F(1,a(e)||!0===e||!1===e?"":e,null,16,t,null,null,null)}function $(e,t,i){var n=B(8192,8192,null,e,t,null,i,null);switch(n.childFlags){case 1:n.children=G(),n.childFlags=2;break;case 16:n.children=[H(e)],n.childFlags=4}return n}function z(e){var t=e.props;if(t){var i=e.flags;481&i&&(void 0!==t.children&&a(e.children)&&Z(e,t.children),void 0!==t.className&&(a(e.className)&&(e.className=t.className||null),t.className=void 0)),void 0!==t.key&&(e.key=t.key,t.key=void 0),void 0!==t.ref&&(e.ref=8&i?c(e.ref,t.ref):t.ref,t.ref=void 0)}return e}function W(e){var t=-16385&e.flags,i=e.props;if(14&t&&!d(i)){var n=i;for(var o in i={},n)i[o]=n[o]}return 8192&t?function(e){var t=e.children,i=e.childFlags;return $(2===i?W(t):t.map(W),i,e.key)}(e):new F(e.childFlags,e.children,e.className,t,e.key,i,e.ref,e.type)}function G(){return H("",null)}function j(e,t){var i=q(e);return B(1024,1024,null,i,0,null,i.key,t)}function U(e,t,i,a){for(var r=e.length;i<r;i++){var u=e[i];if(!s(u)){var c=a+V+i;if(n(u))U(u,t,0,c);else{if(o(u))u=H(u,c);else{var h=u.key,p=l(h)&&h[0]===V;(81920&u.flags||p)&&(u=W(u)),u.flags|=65536,p?h.substring(0,a.length)!==a&&(u.key=a+h):d(h)?u.key=c:u.key=a+h}t.push(u)}}}}function K(e){switch(e){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case m:return 8192;default:return 1}}function Z(e,t){var i,a=1;if(s(t))i=t;else if(o(t))a=16,i=t;else if(n(t)){for(var r=t.length,u=0;u<r;++u){var c=t[u];if(s(c)||n(c)){i=i||t.slice(0,u),U(t,i,u,"");break}if(o(c))(i=i||t.slice(0,u)).push(H(c,V+u));else{var h=c.key,p=(81920&c.flags)>0,g=d(h),m=l(h)&&h[0]===V;p||g||m?(i=i||t.slice(0,u),(p||m)&&(c=W(c)),(g||m)&&(c.key=V+u),i.push(c)):i&&i.push(c),c.flags|=65536}}a=0===(i=i||t).length?1:8}else(i=t).flags|=65536,81920&t.flags&&(i=W(t)),a=2;return e.children=i,e.childFlags=a,e}function q(e){return s(e)||o(e)?H(e,null):n(e)?$(e,0,null):16384&e.flags?W(e):e}var Y="http://www.w3.org/1999/xlink",X="http://www.w3.org/XML/1998/namespace",J={"xlink:actuate":Y,"xlink:arcrole":Y,"xlink:href":Y,"xlink:role":Y,"xlink:show":Y,"xlink:title":Y,"xlink:type":Y,"xml:base":X,"xml:lang":X,"xml:space":X};function Q(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var ee=Q(0),te=Q(null),ie=Q(!0);function ne(e,t){var i=t.$EV;return i||(i=t.$EV=Q(null)),i[e]||1===++ee[e]&&(te[e]=function(e){var t="onClick"===e||"onDblClick"===e?function(e){return function(t){0===t.button?ae(t,!0,e,de(t)):t.stopPropagation()}}(e):function(e){return function(t){ae(t,!1,e,de(t))}}(e);return document.addEventListener(f(e),t),t}(e)),i}function oe(e,t){var i=t.$EV;i&&i[e]&&(0===--ee[e]&&(document.removeEventListener(f(e),te[e]),te[e]=null),i[e]=null)}function ae(e,t,i,n){var o=function(e){return r(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(t&&o.disabled)return;var a=o.$EV;if(a){var s=a[i];if(s&&(n.dom=o,s.event?s.event(s.data,e):s(e),e.cancelBubble))return}o=o.parentNode}while(!d(o))}function se(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function re(){return this.defaultPrevented}function le(){return this.cancelBubble}function de(e){var t={dom:document};return e.isDefaultPrevented=re,e.isPropagationStopped=le,e.stopPropagation=se,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function ue(e,t,i){if(e[t]){var n=e[t];n.event?n.event(n.data,i):n(i)}else{var o=t.toLowerCase();e[o]&&e[o](i)}}function ce(e,t){var i=function(i){var n=this.$V;if(n){var o=n.props||g,a=n.dom;if(l(e))ue(o,e,i);else for(var s=0;s<e.length;++s)ue(o,e[s],i);if(r(t)){var d=this.$V,u=d.props||g;t(u,a,!1,d)}}};return Object.defineProperty(i,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),i}function he(e,t,i){var n="$"+t,o=e[n];if(o){if(o[1].wrapped)return;e.removeEventListener(o[0],o[1]),e[n]=null}r(i)&&(e.addEventListener(t,i),e[n]=[t,i])}function pe(e){return"checkbox"===e||"radio"===e}var ge=ce("onInput",fe),me=ce(["onClick","onChange"],fe);function _e(e){e.stopPropagation()}function fe(e,t){var i=e.type,n=e.value,o=e.checked,s=e.multiple,r=e.defaultValue,l=!a(n);i&&i!==t.type&&t.setAttribute("type",i),a(s)||s===t.multiple||(t.multiple=s),a(r)||l||(t.defaultValue=r+""),pe(i)?(l&&(t.value=n),a(o)||(t.checked=o)):l&&t.value!==n?(t.defaultValue=n,t.value=n):a(o)||(t.checked=o)}function ve(e,t){if("option"===e.type)!function(e,t){var i=e.props||g,o=e.dom;o.value=i.value,i.value===t||n(t)&&-1!==t.indexOf(i.value)?o.selected=!0:a(t)&&a(i.selected)||(o.selected=i.selected||!1)}(e,t);else{var i=e.children,o=e.flags;if(4&o)ve(i.$LI,t);else if(8&o)ve(i,t);else if(2===e.childFlags)ve(i,t);else if(12&e.childFlags)for(var s=0,r=i.length;s<r;++s)ve(i[s],t)}}_e.wrapped=!0;var Ce=ce("onChange",ye);function ye(e,t,i,n){var o=Boolean(e.multiple);a(e.multiple)||o===t.multiple||(t.multiple=o);var s=e.selectedIndex;if(-1===s&&(t.selectedIndex=-1),1!==n.childFlags){var r=e.value;"number"==typeof s&&s>-1&&t.options[s]&&(r=t.options[s].value),i&&a(r)&&(r=e.defaultValue),ve(n,r)}}var be,xe,Se=ce("onInput",De),we=ce("onChange");function De(e,t,i){var n=e.value,o=t.value;if(a(n)){if(i){var s=e.defaultValue;a(s)||s===o||(t.defaultValue=s,t.value=s)}}else o!==n&&(t.defaultValue=n,t.value=n)}function Ie(e,t,i,n,o,a){64&e?fe(n,i):256&e?ye(n,i,o,t):128&e&&De(n,i,o),a&&(i.$V=t)}function Te(e,t,i){64&e?function(e,t){pe(t.type)?(he(e,"change",me),he(e,"click",_e)):he(e,"input",ge)}(t,i):256&e?function(e){he(e,"change",Ce)}(t):128&e&&function(e,t){he(e,"input",Se),t.onChange&&he(e,"change",we)}(t,i)}function Ee(e){return e.type&&pe(e.type)?!a(e.checked):!a(e.value)}function Oe(){return{current:null}}function Ae(e){return{render:e}}function Pe(e){e&&!L(e,null)&&e.current&&(e.current=null)}function Me(e,t,i){e&&(r(e)||void 0!==e.current)&&i.push(function(){L(e,t)||void 0===e.current||(e.current=t)})}function ke(e,t,i){Re(e,i),I(e,t,i)}function Re(e,t){var i,n=e.flags,o=e.children;if(481&n){i=e.ref;var s=e.props;Pe(i);var l=e.childFlags;if(!d(s))for(var u=Object.keys(s),c=0,h=u.length;c<h;c++){var p=u[c];ie[p]&&oe(p,e.dom)}12&l?Le(o,t):2===l&&Re(o,t)}else if(o)if(4&n){r(o.componentWillUnmount)&&o.componentWillUnmount();var m=t;r(o.componentWillDisappear)&&(m=new _,Be(t,o,o.$LI.dom,n,void 0)),Pe(e.ref),o.$UN=!0,Re(o.$LI,m)}else if(8&n){var f=t;if(!a(i=e.ref)){var v=null;r(i.onComponentWillUnmount)&&(v=S(e,!0),i.onComponentWillUnmount(v,e.props||g)),r(i.onComponentWillDisappear)&&(f=new _,Be(t,i,v=v||S(e,!0),n,e.props))}Re(o,f)}else 1024&n?ke(o,e.ref,t):8192&n&&12&e.childFlags&&Le(o,t)}function Le(e,t){for(var i=0,n=e.length;i<n;++i)Re(e[i],t)}function Ve(e,t,i){i.componentWillDisappear.length>0?w(i.componentWillDisappear,function(e,t){return function(){if(t)for(var i=0;i<e.length;i++)D(e[i],t,!1)}}(t,e)):e.textContent=""}function Fe(e,t,i,n){Le(i,n),8192&t.flags?I(t,e,n):Ve(e,i,n)}function Be(e,t,i,n,o){e.componentWillDisappear.push(function(e){4&n?t.componentWillDisappear(i,e):8&n&&t.onComponentWillDisappear(i,o,e)})}function Ne(e,t,i,n,o){var s=e&&e.__html||"",r=t&&t.__html||"";s!==r&&(a(r)||function(e,t){var i=document.createElement("i");return i.innerHTML=t,i.innerHTML===e.innerHTML}(n,r)||(d(i)||(12&i.childFlags?Le(i.children,o):2===i.childFlags&&Re(i.children,o),i.children=null,i.childFlags=1),n.innerHTML=r))}function He(e,t,i,n,o,s,d,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":n.autofocus=!!i;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":n[e]=!!i;break;case"defaultChecked":case"value":case"volume":if(s&&"value"===e)break;var c=a(i)?"":i;n[e]!==c&&(n[e]=c);break;case"style":!function(e,t,i){if(a(t))i.removeAttribute("style");else{var n,o,s=i.style;if(l(t))s.cssText=t;else if(a(e)||l(e))for(n in t)o=t[n],s.setProperty(n,o);else{for(n in t)(o=t[n])!==e[n]&&s.setProperty(n,o);for(n in e)a(t[n])&&s.removeProperty(n)}}}(t,i,n);break;case"dangerouslySetInnerHTML":Ne(t,i,d,n,u);break;default:ie[e]?function(e,t,i,n){if(r(i))ne(e,n)[e]=i;else if(p(i)){if(k(t,i))return;ne(e,n)[e]=i}else oe(e,n)}(e,t,i,n):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?function(e,t,i,n){if(p(i)){if(k(t,i))return;i=function(e){var t=e.event;return function(i){t(e.data,i)}}(i)}he(n,f(e),i)}(e,t,i,n):a(i)?n.removeAttribute(e):o&&J[e]?n.setAttributeNS(J[e],e,i):n.setAttribute(e,i)}}function $e(e,t,i,n,o,a){var s=!1,r=(448&t)>0;for(var l in r&&(s=Ee(i))&&Te(t,n,i),i)He(l,null,i[l],n,o,s,null,a);r&&Ie(t,e,n,i,!0,s)}function ze(e,t,i){var n=q(e.render(t,e.state,i)),o=i;return r(e.getChildContext)&&(o=c(i,e.getChildContext())),e.$CX=o,n}function We(e,t,i,n,o,a){var s=new t(i,n),l=s.$N=Boolean(t.getDerivedStateFromProps||s.getSnapshotBeforeUpdate);if(s.$SVG=o,s.$L=a,e.children=s,s.$BS=!1,s.context=n,s.props===g&&(s.props=i),l)s.state=O(s,i,s.state);else if(r(s.componentWillMount)){s.$BR=!0,s.componentWillMount();var u=s.$PS;if(!d(u)){var c=s.state;if(d(c))s.state=u;else for(var h in u)c[h]=u[h];s.$PS=null}s.$BR=!1}return s.$LI=ze(s,i,n),s}function Ge(e,t){var i=e.props||g;return 32768&e.flags?e.type.render(i,e.ref,t):e.type(i,t)}function je(e,t,i,n,o,s,l){var d=e.flags|=16384;481&d?Ke(e,t,i,n,o,s,l):4&d?function(e,t,i,n,o,a,s){var l=We(e,e.type,e.props||g,i,n,a),d=s;r(l.componentDidAppear)&&(d=new _);je(l.$LI,t,l.$CX,n,o,a,d),Ye(e.ref,l,a,s)}(e,t,i,n,o,s,l):8&d?function(e,t,i,n,o,s,l){var d=e.ref,u=l;!a(d)&&r(d.onComponentDidAppear)&&(u=new _);je(e.children=q(Ge(e,i)),t,i,n,o,s,u),Xe(e,s,l)}(e,t,i,n,o,s,l):16&d?Ue(e,t,o):8192&d?function(e,t,i,n,o,a,s){var r=e.children,l=e.childFlags;12&l&&0===r.length&&(l=e.childFlags=2,r=e.children=G());2===l?je(r,i,t,n,o,a,s):Ze(r,i,t,n,o,a,s)}(e,i,t,n,o,s,l):1024&d&&function(e,t,i,n,o,a){je(e.children,e.ref,t,!1,null,o,a);var s=G();Ue(s,i,n),e.dom=s.dom}(e,i,t,o,s,l)}function Ue(e,t,i){var n=e.dom=document.createTextNode(e.children);d(t)||C(t,n,i)}function Ke(e,t,i,n,o,s,r){var l=e.flags,u=e.props,c=e.className,h=e.childFlags,p=e.dom=function(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.type,n=n||(32&l)>0),g=e.children;if(a(c)||""===c||(n?p.setAttribute("class",c):p.className=c),16===h)M(p,g);else if(1!==h){var m=n&&"foreignObject"!==e.type;2===h?(16384&g.flags&&(e.children=g=W(g)),je(g,p,i,m,null,s,r)):8!==h&&4!==h||Ze(g,p,i,m,null,s,r)}d(t)||C(t,p,o),d(u)||$e(e,l,u,p,n,r),Me(e.ref,p,s)}function Ze(e,t,i,n,o,a,s){for(var r=0;r<e.length;++r){var l=e[r];16384&l.flags&&(e[r]=l=W(l)),je(l,t,i,n,o,a,s)}}function qe(e,t,i,n,o){e.componentDidAppear.push(function(){4&n?t.componentDidAppear(i):8&n&&t.onComponentDidAppear(i,o)})}function Ye(e,t,i,n){Me(e,t,i),r(t.componentDidMount)&&i.push(function(e){return function(){e.componentDidMount()}}(t)),r(t.componentDidAppear)&&qe(n,t,t.$LI.dom,4,void 0)}function Xe(e,t,i){var n=e.ref;a(n)||(L(n.onComponentWillMount,e.props||g),r(n.onComponentDidMount)&&t.push(function(e,t){return function(){e.onComponentDidMount(S(t,!0),t.props||g)}}(n,e)),r(n.onComponentDidAppear)&&qe(i,n,S(e,!0),8,e.props))}function Je(e,t,i,n,o,l,u,h){var p=t.flags|=16384;e.flags!==p||e.type!==t.type||e.key!==t.key||2048&p?16384&e.flags?function(e,t,i,n,o,a,s){Re(e,s),t.flags&e.flags&1521?(je(t,null,n,o,null,a,s),function(e,t,i){e.replaceChild(t,i)}(i,t.dom,e.dom)):(je(t,i,n,o,S(e,!0),a,s),I(e,i,s))}(e,t,i,n,o,u,h):je(t,i,n,o,l,u,h):481&p?function(e,t,i,n,o,s,r){var l,d=t.dom=e.dom,u=e.props,c=t.props,h=!1,p=!1;if(n=n||(32&o)>0,u!==c){var m=u||g;if((l=c||g)!==g)for(var _ in(h=(448&o)>0)&&(p=Ee(l)),l){var f=m[_],v=l[_];f!==v&&He(_,f,v,d,n,p,e,r)}if(m!==g)for(var C in m)a(l[C])&&!a(m[C])&&He(C,m[C],null,d,n,p,e,r)}var y=t.children,b=t.className;e.className!==b&&(a(b)?d.removeAttribute("class"):n?d.setAttribute("class",b):d.className=b);4096&o?function(e,t){e.textContent!==t&&(e.textContent=t)}(d,y):Qe(e.childFlags,t.childFlags,e.children,y,d,i,n&&"foreignObject"!==t.type,null,e,s,r);h&&Ie(o,t,d,l,!1,p);var x=t.ref,S=e.ref;S!==x&&(Pe(S),Me(x,d,s))}(e,t,n,o,p,u,h):4&p?function(e,t,i,n,o,a,s,l){var u=t.children=e.children;if(d(u))return;u.$L=s;var h=t.props||g,p=t.ref,m=e.ref,_=u.state;if(!u.$N){if(r(u.componentWillReceiveProps)){if(u.$BR=!0,u.componentWillReceiveProps(h,n),u.$UN)return;u.$BR=!1}d(u.$PS)||(_=c(_,u.$PS),u.$PS=null)}et(u,_,h,i,n,o,!1,a,s,l),m!==p&&(Pe(m),Me(p,u,s))}(e,t,i,n,o,l,u,h):8&p?function(e,t,i,n,o,s,l,d){var u=!0,c=t.props||g,h=t.ref,p=e.props,m=!a(h),_=e.children;m&&r(h.onComponentShouldUpdate)&&(u=h.onComponentShouldUpdate(p,c));if(!1!==u){m&&r(h.onComponentWillUpdate)&&h.onComponentWillUpdate(p,c);var f=q(Ge(t,n));Je(_,f,i,n,o,s,l,d),t.children=f,m&&r(h.onComponentDidUpdate)&&h.onComponentDidUpdate(p,c)}else t.children=_}(e,t,i,n,o,l,u,h):16&p?function(e,t){var i=t.children,n=t.dom=e.dom;i!==e.children&&(n.nodeValue=i)}(e,t):8192&p?function(e,t,i,n,o,a,s){var r=e.children,l=t.children,d=e.childFlags,u=t.childFlags,c=null;12&u&&0===l.length&&(u=t.childFlags=2,l=t.children=G());var h=!!(2&u);if(12&d){var p=r.length;(8&d&&8&u||h||!h&&l.length>p)&&(c=S(r[p-1],!1).nextSibling)}Qe(d,u,r,l,i,n,o,c,e,a,s)}(e,t,i,n,o,u,h):function(e,t,i,n,o){var a=e.ref,r=t.ref,l=t.children;if(Qe(e.childFlags,t.childFlags,e.children,l,a,i,!1,null,e,n,o),t.dom=e.dom,a!==r&&!s(l)){var d=l.dom;y(a,d),v(r,d)}}(e,t,n,u,h)}function Qe(e,t,i,n,o,a,s,r,l,d,u){switch(e){case 2:switch(t){case 2:Je(i,n,o,a,s,r,d,u);break;case 1:ke(i,o,u);break;case 16:Re(i,u),M(o,n);break;default:!function(e,t,i,n,o,a,s){Re(e,s),Ze(t,i,n,o,S(e,!0),a,s),I(e,i,s)}(i,n,o,a,s,d,u)}break;case 1:switch(t){case 2:je(n,o,a,s,r,d,u);break;case 1:break;case 16:M(o,n);break;default:Ze(n,o,a,s,r,d,u)}break;case 16:switch(t){case 16:!function(e,t,i){e!==t&&(""!==e?i.firstChild.nodeValue=t:M(i,t))}(i,n,o);break;case 2:Ve(o,i,u),je(n,o,a,s,r,d,u);break;case 1:Ve(o,i,u);break;default:Ve(o,i,u),Ze(n,o,a,s,r,d,u)}break;default:switch(t){case 16:Le(i,u),M(o,n);break;case 2:Fe(o,l,i,u),je(n,o,a,s,r,d,u);break;case 1:Fe(o,l,i,u);break;default:var c=0|i.length,h=0|n.length;0===c?h>0&&Ze(n,o,a,s,r,d,u):0===h?Fe(o,l,i,u):8===t&&8===e?function(e,t,i,n,o,a,s,r,l,d,u){var c,h,p=a-1,g=s-1,m=0,_=e[m],f=t[m];e:{for(;_.key===f.key;){if(16384&f.flags&&(t[m]=f=W(f)),Je(_,f,i,n,o,r,d,u),e[m]=f,++m>p||m>g)break e;_=e[m],f=t[m]}for(_=e[p],f=t[g];_.key===f.key;){if(16384&f.flags&&(t[g]=f=W(f)),Je(_,f,i,n,o,r,d,u),e[p]=f,g--,m>--p||m>g)break e;_=e[p],f=t[g]}}if(m>p){if(m<=g)for(h=(c=g+1)<s?S(t[c],!0):r;m<=g;)16384&(f=t[m]).flags&&(t[m]=f=W(f)),++m,je(f,i,n,o,h,d,u)}else if(m>g)for(;m<=p;)ke(e[m++],i,u);else!function(e,t,i,n,o,a,s,r,l,d,u,c,h,p){var g,m,_=0,f=0,v=r,y=r,b=a-r+1,x=s-r+1,w=new Int32Array(x+1),D=b===n,I=!1,T=0,O=0;if(o<4||(b|x)<32)for(f=v;f<=a;++f)if(g=e[f],O<x){for(r=y;r<=s;r++)if(m=t[r],g.key===m.key){if(w[r-y]=f+1,D)for(D=!1;v<f;)ke(e[v++],l,p);T>r?I=!0:T=r,16384&m.flags&&(t[r]=m=W(m)),Je(g,m,l,i,d,u,h,p),++O;break}!D&&r>s&&ke(g,l,p)}else D||ke(g,l,p);else{var A={};for(f=y;f<=s;++f)A[t[f].key]=f;for(f=v;f<=a;++f)if(g=e[f],O<x)if(void 0!==(r=A[g.key])){if(D)for(D=!1;f>v;)ke(e[v++],l,p);w[r-y]=f+1,T>r?I=!0:T=r,16384&(m=t[r]).flags&&(t[r]=m=W(m)),Je(g,m,l,i,d,u,h,p),++O}else D||ke(g,l,p);else D||ke(g,l,p)}if(D)Fe(l,c,e,p),Ze(t,l,i,d,u,h,p);else if(I){var P=function(e){var t=0,i=0,n=0,o=0,a=0,s=0,r=0,l=e.length;l>tt&&(tt=l,be=new Int32Array(l),xe=new Int32Array(l));for(;i<l;++i)if(0!==(t=e[i])){if(e[n=be[o]]<t){xe[i]=n,be[++o]=i;continue}for(a=0,s=o;a<s;)e[be[r=a+s>>1]]<t?a=r+1:s=r;t<e[be[a]]&&(a>0&&(xe[i]=be[a-1]),be[a]=i)}a=o+1;var d=new Int32Array(a);s=be[a-1];for(;a-- >0;)d[a]=s,s=xe[s],be[a]=0;return d}(w);for(r=P.length-1,f=x-1;f>=0;f--)0===w[f]?(16384&(m=t[T=f+y]).flags&&(t[T]=m=W(m)),je(m,l,i,d,(_=T+1)<o?S(t[_],!0):u,h,p)):r<0||f!==P[r]?E(c,m=t[T=f+y],l,(_=T+1)<o?S(t[_],!0):u,p):r--;p.componentWillMove.length>0&&function(e){for(var t=0;t<e.length;t++)e[t].fn();for(var i=0;i<e.length;i++){var n=e[i];C(n.parent,n.dom,n.next)}e.splice(0,e.length)}(p.componentWillMove)}else if(O!==x)for(f=x-1;f>=0;f--)0===w[f]&&(16384&(m=t[T=f+y]).flags&&(t[T]=m=W(m)),je(m,l,i,d,(_=T+1)<o?S(t[_],!0):u,h,p))}(e,t,n,a,s,p,g,m,i,o,r,l,d,u)}(i,n,o,a,s,c,h,r,l,d,u):function(e,t,i,n,o,a,s,r,l,d){for(var u,c,h=a>s?s:a,p=0;p<h;++p)u=t[p],c=e[p],16384&u.flags&&(u=t[p]=W(u)),Je(c,u,i,n,o,r,l,d),e[p]=u;if(a<s)for(p=h;p<s;++p)16384&(u=t[p]).flags&&(u=t[p]=W(u)),je(u,i,n,o,r,l,d);else if(a>s)for(p=h;p<a;++p)ke(e[p],i,d)}(i,n,o,a,s,c,h,r,d,u)}}}function et(e,t,i,n,o,a,s,l,d,u){var h=e.state,p=e.props,g=Boolean(e.$N),m=r(e.shouldComponentUpdate);if(g&&(t=O(e,i,t!==h?c(h,t):t)),s||!m||m&&e.shouldComponentUpdate(i,t,o)){!g&&r(e.componentWillUpdate)&&e.componentWillUpdate(i,t,o),e.props=i,e.state=t,e.context=o;var _=null,f=ze(e,i,o);g&&r(e.getSnapshotBeforeUpdate)&&(_=e.getSnapshotBeforeUpdate(p,h)),Je(e.$LI,f,n,e.$CX,a,l,d,u),e.$LI=f,r(e.componentDidUpdate)&&function(e,t,i,n,o){o.push(function(){e.componentDidUpdate(t,i,n)})}(e,p,h,_,d)}else e.props=i,e.state=t,e.context=o}var tt=0;function it(e,t,i,n){var o=[],s=new _,l=t.$V;A.v=!0,a(l)?a(e)||(16384&e.flags&&(e=W(e)),je(e,t,n,!1,null,o,s),t.$V=e,l=e):a(e)?(ke(l,t,s),t.$V=null):(16384&e.flags&&(e=W(e)),Je(l,e,t,n,!1,null,o,s),l=t.$V=e),b(o),w(s.componentDidAppear),A.v=!1,r(i)&&i(),r(P.renderComplete)&&P.renderComplete(l,t)}function nt(e,t,i,n){void 0===i&&(i=null),void 0===n&&(n=g),it(e,t,i,n)}function ot(e){return function(t,i,n,o){e||(e=t),nt(i,e,n,o)}}"undefined"!=typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var at=[],st="undefined"!=typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},rt=!1;function lt(e,t,i,n){var o=e.$PS;if(r(t)&&(t=t(o?c(e.state,o):e.state,e.props,e.context)),a(o))e.$PS=t;else for(var s in t)o[s]=t[s];if(e.$BR)r(i)&&e.$L.push(i.bind(e));else{if(!A.v&&0===at.length)return ct(e,n),void(r(i)&&i.call(e));if(-1===at.indexOf(e)&&at.push(e),n&&(e.$F=!0),rt||(rt=!0,st(ut)),r(i)){var l=e.$QU;l||(l=e.$QU=[]),l.push(i)}}}function dt(e){for(var t=e.$QU,i=0;i<t.length;++i)t[i].call(e);e.$QU=null}function ut(){var e;for(rt=!1;e=at.shift();)if(!e.$UN){var t=e.$F;e.$F=!1,ct(e,t),e.$QU&&dt(e)}}function ct(e,t){if(t||!e.$BR){var i=e.$PS;e.$PS=null;var n=[],o=new _;A.v=!0,et(e,c(e.state,i),e.props,S(e.$LI,!0).parentNode,e.context,e.$SVG,t,null,n,o),b(n),w(o.componentDidAppear),A.v=!1}else e.state=e.$PS,e.$PS=null}var ht=function(){function e(e,t){this.state=null,this.props=void 0,this.context=void 0,this.displayName=void 0,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$SSR=void 0,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=e||g,this.context=t||g}var t=e.prototype;return t.forceUpdate=function(e){this.$UN||lt(this,{},e,!0)},t.setState=function(e,t){this.$UN||this.$BS||lt(this,e,t,!1)},t.render=function(e,t,i){return null},e}();ht.defaultProps=null;var pt="8.2.3"},27692(e,t,i){i.r(t),i.d(t,{ALL_WEEKDAYS:()=>n,Frequency:()=>q,RRule:()=>Ge,RRuleSet:()=>Xe,Weekday:()=>o,datetime:()=>v,rrulestr:()=>Ke});var n=["MO","TU","WE","TH","FR","SA","SU"],o=function(){function e(e,t){if(0===t)throw new Error("Can't create weekday with n == 0");this.weekday=e,this.n=t}return e.fromStr=function(t){return new e(n.indexOf(t))},e.prototype.nth=function(t){return this.n===t?this:new e(this.weekday,t)},e.prototype.equals=function(e){return this.weekday===e.weekday&&this.n===e.n},e.prototype.toString=function(){var e=n[this.weekday];return this.n&&(e=(this.n>0?"+":"")+String(this.n)+e),e},e.prototype.getJsWeekday=function(){return 6===this.weekday?0:this.weekday+1},e}(),a=function(e){return null!=e},s=function(e){return"number"==typeof e},r=function(e){return"string"==typeof e&&n.includes(e)},l=Array.isArray,d=function(e,t){void 0===t&&(t=e),1===arguments.length&&(t=e,e=0);for(var i=[],n=e;n<t;n++)i.push(n);return i},u=function(e,t){var i=0,n=[];if(l(e))for(;i<t;i++)n[i]=[].concat(e);else for(;i<t;i++)n[i]=e;return n},c=function(e){return l(e)?e:[e]};function h(e,t,i){void 0===i&&(i=" ");var n=String(e);return t|=0,n.length>t?String(n):((t-=n.length)>i.length&&(i+=u(i,t/i.length)),i.slice(0,t)+String(n))}var p=function(e,t){var i=e%t;return i*t<0?i+t:i},g=function(e,t){return{div:Math.floor(e/t),mod:p(e,t)}},m=function(e){return!a(e)||0===e.length},_=function(e){return!m(e)},f=function(e,t){return _(e)&&-1!==e.indexOf(t)},v=function(e,t,i,n,o,a){return void 0===n&&(n=0),void 0===o&&(o=0),void 0===a&&(a=0),new Date(Date.UTC(e,t-1,i,n,o,a))},C=[31,28,31,30,31,30,31,31,30,31,30,31],y=864e5,b=v(1970,1,1),x=[6,0,1,2,3,4,5],S=function(e){return e%4==0&&e%100!=0||e%400==0},w=function(e){return e instanceof Date},D=function(e){return w(e)&&!isNaN(e.getTime())},I=function(e){return t=b,i=e.getTime()-t.getTime(),Math.round(i/y);var t,i},T=function(e){return new Date(b.getTime()+e*y)},E=function(e){var t=e.getUTCMonth();return 1===t&&S(e.getUTCFullYear())?29:C[t]},O=function(e){return x[e.getUTCDay()]},A=function(e,t){var i=v(e,t+1,1);return[O(i),E(i)]},P=function(e,t){return t=t||e,new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))},M=function(e){return new Date(e.getTime())},k=function(e){for(var t=[],i=0;i<e.length;i++)t.push(M(e[i]));return t},R=function(e){e.sort(function(e,t){return e.getTime()-t.getTime()})},L=function(e,t){void 0===t&&(t=!0);var i=new Date(e);return[h(i.getUTCFullYear().toString(),4,"0"),h(i.getUTCMonth()+1,2,"0"),h(i.getUTCDate(),2,"0"),"T",h(i.getUTCHours(),2,"0"),h(i.getUTCMinutes(),2,"0"),h(i.getUTCSeconds(),2,"0"),t?"Z":""].join("")},V=function(e){var t=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/.exec(e);if(!t)throw new Error("Invalid UNTIL value: ".concat(e));return new Date(Date.UTC(parseInt(t[1],10),parseInt(t[2],10)-1,parseInt(t[3],10),parseInt(t[5],10)||0,parseInt(t[6],10)||0,parseInt(t[7],10)||0))},F=function(e,t){return e.toLocaleString("sv-SE",{timeZone:t}).replace(" ","T")+"Z"};const B=function(){function e(e,t){this.minDate=null,this.maxDate=null,this._result=[],this.total=0,this.method=e,this.args=t,"between"===e?(this.maxDate=t.inc?t.before:new Date(t.before.getTime()-1),this.minDate=t.inc?t.after:new Date(t.after.getTime()+1)):"before"===e?this.maxDate=t.inc?t.dt:new Date(t.dt.getTime()-1):"after"===e&&(this.minDate=t.inc?t.dt:new Date(t.dt.getTime()+1))}return e.prototype.accept=function(e){++this.total;var t=this.minDate&&e<this.minDate,i=this.maxDate&&e>this.maxDate;if("between"===this.method){if(t)return!0;if(i)return!1}else if("before"===this.method){if(i)return!1}else if("after"===this.method)return!!t||(this.add(e),!1);return this.add(e)},e.prototype.add=function(e){return this._result.push(e),!0},e.prototype.getValue=function(){var e=this._result;switch(this.method){case"all":case"between":return e;default:return e.length?e[e.length-1]:null}},e.prototype.clone=function(){return new e(this.method,this.args)},e}();var N=function(e,t){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},N(e,t)};function H(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}N(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var $=function(){return $=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},$.apply(this,arguments)};Object.create;function z(e,t,i){if(i||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;const W=function(e){function t(t,i,n){var o=e.call(this,t,i)||this;return o.iterator=n,o}return H(t,e),t.prototype.add=function(e){return!!this.iterator(e,this._result.length)&&(this._result.push(e),!0)},t}(B);const G={dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],tokens:{SKIP:/^[ \r\n\t]+|^\.$/,number:/^[1-9][0-9]*/,numberAsText:/^(one|two|three)/i,every:/^every/i,"day(s)":/^days?/i,"weekday(s)":/^weekdays?/i,"week(s)":/^weeks?/i,"hour(s)":/^hours?/i,"minute(s)":/^minutes?/i,"month(s)":/^months?/i,"year(s)":/^years?/i,on:/^(on|in)/i,at:/^(at)/i,the:/^the/i,first:/^first/i,second:/^second/i,third:/^third/i,nth:/^([1-9][0-9]*)(\.|th|nd|rd|st)/i,last:/^last/i,for:/^for/i,"time(s)":/^times?/i,until:/^(un)?til/i,monday:/^mo(n(day)?)?/i,tuesday:/^tu(e(s(day)?)?)?/i,wednesday:/^we(d(n(esday)?)?)?/i,thursday:/^th(u(r(sday)?)?)?/i,friday:/^fr(i(day)?)?/i,saturday:/^sa(t(urday)?)?/i,sunday:/^su(n(day)?)?/i,january:/^jan(uary)?/i,february:/^feb(ruary)?/i,march:/^mar(ch)?/i,april:/^apr(il)?/i,may:/^may/i,june:/^june?/i,july:/^july?/i,august:/^aug(ust)?/i,september:/^sep(t(ember)?)?/i,october:/^oct(ober)?/i,november:/^nov(ember)?/i,december:/^dec(ember)?/i,comma:/^(,\s*|(and|or)\s*)+/i}};var j=function(e,t){return-1!==e.indexOf(t)},U=function(e){return e.toString()},K=function(e,t,i){return"".concat(t," ").concat(i,", ").concat(e)};const Z=function(){function e(e,t,i,n){if(void 0===t&&(t=U),void 0===i&&(i=G),void 0===n&&(n=K),this.text=[],this.language=i||G,this.gettext=t,this.dateFormatter=n,this.rrule=e,this.options=e.options,this.origOptions=e.origOptions,this.origOptions.bymonthday){var o=[].concat(this.options.bymonthday),s=[].concat(this.options.bynmonthday);o.sort(function(e,t){return e-t}),s.sort(function(e,t){return t-e}),this.bymonthday=o.concat(s),this.bymonthday.length||(this.bymonthday=null)}if(a(this.origOptions.byweekday)){var r=l(this.origOptions.byweekday)?this.origOptions.byweekday:[this.origOptions.byweekday],d=String(r);this.byweekday={allWeeks:r.filter(function(e){return!e.n}),someWeeks:r.filter(function(e){return Boolean(e.n)}),isWeekdays:-1!==d.indexOf("MO")&&-1!==d.indexOf("TU")&&-1!==d.indexOf("WE")&&-1!==d.indexOf("TH")&&-1!==d.indexOf("FR")&&-1===d.indexOf("SA")&&-1===d.indexOf("SU"),isEveryDay:-1!==d.indexOf("MO")&&-1!==d.indexOf("TU")&&-1!==d.indexOf("WE")&&-1!==d.indexOf("TH")&&-1!==d.indexOf("FR")&&-1!==d.indexOf("SA")&&-1!==d.indexOf("SU")};var u=function(e,t){return e.weekday-t.weekday};this.byweekday.allWeeks.sort(u),this.byweekday.someWeeks.sort(u),this.byweekday.allWeeks.length||(this.byweekday.allWeeks=null),this.byweekday.someWeeks.length||(this.byweekday.someWeeks=null)}else this.byweekday=null}return e.isFullyConvertible=function(t){if(!(t.options.freq in e.IMPLEMENTED))return!1;if(t.origOptions.until&&t.origOptions.count)return!1;for(var i in t.origOptions){if(j(["dtstart","tzid","wkst","freq"],i))return!0;if(!j(e.IMPLEMENTED[t.options.freq],i))return!1}return!0},e.prototype.isFullyConvertible=function(){return e.isFullyConvertible(this.rrule)},e.prototype.toString=function(){var t=this.gettext;if(!(this.options.freq in e.IMPLEMENTED))return t("RRule error: Unable to fully convert this rrule to text");if(this.text=[t("every")],this[Ge.FREQUENCIES[this.options.freq]](),this.options.until){this.add(t("until"));var i=this.options.until;this.add(this.dateFormatter(i.getUTCFullYear(),this.language.monthNames[i.getUTCMonth()],i.getUTCDate()))}else this.options.count&&this.add(t("for")).add(this.options.count.toString()).add(this.plural(this.options.count)?t("times"):t("time"));return this.isFullyConvertible()||this.add(t("(~ approximate)")),this.text.join("")},e.prototype.HOURLY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("hours"):e("hour"))},e.prototype.MINUTELY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("minutes"):e("minute"))},e.prototype.DAILY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()),this.byweekday&&this.byweekday.isWeekdays?this.add(this.plural(this.options.interval)?e("weekdays"):e("weekday")):this.add(this.plural(this.options.interval)?e("days"):e("day")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday?this._byweekday():this.origOptions.byhour&&this._byhour()},e.prototype.WEEKLY=function(){var e=this.gettext;1!==this.options.interval&&this.add(this.options.interval.toString()).add(this.plural(this.options.interval)?e("weeks"):e("week")),this.byweekday&&this.byweekday.isWeekdays?1===this.options.interval?this.add(this.plural(this.options.interval)?e("weekdays"):e("weekday")):this.add(e("on")).add(e("weekdays")):this.byweekday&&this.byweekday.isEveryDay?this.add(this.plural(this.options.interval)?e("days"):e("day")):(1===this.options.interval&&this.add(e("week")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.origOptions.byhour&&this._byhour())},e.prototype.MONTHLY=function(){var e=this.gettext;this.origOptions.bymonth?(1!==this.options.interval&&(this.add(this.options.interval.toString()).add(e("months")),this.plural(this.options.interval)&&this.add(e("in"))),this._bymonth()):(1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("months"):e("month"))),this.bymonthday?this._bymonthday():this.byweekday&&this.byweekday.isWeekdays?this.add(e("on")).add(e("weekdays")):this.byweekday&&this._byweekday()},e.prototype.YEARLY=function(){var e=this.gettext;this.origOptions.bymonth?(1!==this.options.interval&&(this.add(this.options.interval.toString()),this.add(e("years"))),this._bymonth()):(1!==this.options.interval&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("years"):e("year"))),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.options.byyearday&&this.add(e("on the")).add(this.list(this.options.byyearday,this.nth,e("and"))).add(e("day")),this.options.byweekno&&this.add(e("in")).add(this.plural(this.options.byweekno.length)?e("weeks"):e("week")).add(this.list(this.options.byweekno,void 0,e("and")))},e.prototype._bymonthday=function(){var e=this.gettext;this.byweekday&&this.byweekday.allWeeks?this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext,e("or"))).add(e("the")).add(this.list(this.bymonthday,this.nth,e("or"))):this.add(e("on the")).add(this.list(this.bymonthday,this.nth,e("and")))},e.prototype._byweekday=function(){var e=this.gettext;this.byweekday.allWeeks&&!this.byweekday.isWeekdays&&this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext)),this.byweekday.someWeeks&&(this.byweekday.allWeeks&&this.add(e("and")),this.add(e("on the")).add(this.list(this.byweekday.someWeeks,this.weekdaytext,e("and"))))},e.prototype._byhour=function(){var e=this.gettext;this.add(e("at")).add(this.list(this.origOptions.byhour,void 0,e("and")))},e.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},e.prototype.nth=function(e){var t;e=parseInt(e.toString(),10);var i=this.gettext;if(-1===e)return i("last");var n=Math.abs(e);switch(n){case 1:case 21:case 31:t=n+i("st");break;case 2:case 22:t=n+i("nd");break;case 3:case 23:t=n+i("rd");break;default:t=n+i("th")}return e<0?t+" "+i("last"):t},e.prototype.monthtext=function(e){return this.language.monthNames[e-1]},e.prototype.weekdaytext=function(e){var t=s(e)?(e+1)%7:e.getJsWeekday();return(e.n?this.nth(e.n)+" ":"")+this.language.dayNames[t]},e.prototype.plural=function(e){return e%100!=1},e.prototype.add=function(e){return this.text.push(" "),this.text.push(e),this},e.prototype.list=function(e,t,i,n){var o=this;void 0===n&&(n=","),l(e)||(e=[e]);t=t||function(e){return e.toString()};var a=function(e){return t&&t.call(o,e)};return i?function(e,t,i){for(var n="",o=0;o<e.length;o++)0!==o&&(o===e.length-1?n+=" "+i+" ":n+=t+" "),n+=e[o];return n}(e.map(a),n,i):e.map(a).join(n+" ")},e}();var q,Y=function(){function e(e){this.done=!0,this.rules=e}return e.prototype.start=function(e){return this.text=e,this.done=!1,this.nextSymbol()},e.prototype.isDone=function(){return this.done&&null===this.symbol},e.prototype.nextSymbol=function(){var e,t;this.symbol=null,this.value=null;do{if(this.done)return!1;for(var i in e=null,this.rules){var n=this.rules[i].exec(this.text);n&&(null===e||n[0].length>e[0].length)&&(e=n,t=i)}if(null!=e&&(this.text=this.text.substr(e[0].length),""===this.text&&(this.done=!0)),null==e)return this.done=!0,this.symbol=null,void(this.value=null)}while("SKIP"===t);return this.symbol=t,this.value=e,!0},e.prototype.accept=function(e){if(this.symbol===e){if(this.value){var t=this.value;return this.nextSymbol(),t}return this.nextSymbol(),!0}return!1},e.prototype.acceptNumber=function(){return this.accept("number")},e.prototype.expect=function(e){if(this.accept(e))return!0;throw new Error("expected "+e+" but found "+this.symbol)},e}();function X(e,t){void 0===t&&(t=G);var i={},n=new Y(t.tokens);return n.start(e)?(function(){n.expect("every");var e=n.acceptNumber();e&&(i.interval=parseInt(e[0],10));if(n.isDone())throw new Error("Unexpected end");switch(n.symbol){case"day(s)":i.freq=Ge.DAILY,n.nextSymbol()&&(a(),d());break;case"weekday(s)":i.freq=Ge.WEEKLY,i.byweekday=[Ge.MO,Ge.TU,Ge.WE,Ge.TH,Ge.FR],n.nextSymbol(),a(),d();break;case"week(s)":i.freq=Ge.WEEKLY,n.nextSymbol()&&(o(),a(),d());break;case"hour(s)":i.freq=Ge.HOURLY,n.nextSymbol()&&(o(),d());break;case"minute(s)":i.freq=Ge.MINUTELY,n.nextSymbol()&&(o(),d());break;case"month(s)":i.freq=Ge.MONTHLY,n.nextSymbol()&&(o(),d());break;case"year(s)":i.freq=Ge.YEARLY,n.nextSymbol()&&(o(),d());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":i.freq=Ge.WEEKLY;var t=n.symbol.substr(0,2).toUpperCase();if(i.byweekday=[Ge[t]],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var u=r();if(!u)throw new Error("Unexpected symbol "+n.symbol+", expected weekday");i.byweekday.push(Ge[u]),n.nextSymbol()}a(),function(){n.accept("on"),n.accept("the");var e=l();if(!e)return;i.bymonthday=[e],n.nextSymbol();for(;n.accept("comma");){if(!(e=l()))throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");i.bymonthday.push(e),n.nextSymbol()}}(),d();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(i.freq=Ge.YEARLY,i.bymonth=[s()],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var c=s();if(!c)throw new Error("Unexpected symbol "+n.symbol+", expected month");i.bymonth.push(c),n.nextSymbol()}o(),d();break;default:throw new Error("Unknown symbol")}}(),i):null;function o(){var e=n.accept("on"),t=n.accept("the");if(e||t)do{var o=l(),a=r(),d=s();if(o)a?(n.nextSymbol(),i.byweekday||(i.byweekday=[]),i.byweekday.push(Ge[a].nth(o))):(i.bymonthday||(i.bymonthday=[]),i.bymonthday.push(o),n.accept("day(s)"));else if(a)n.nextSymbol(),i.byweekday||(i.byweekday=[]),i.byweekday.push(Ge[a]);else if("weekday(s)"===n.symbol)n.nextSymbol(),i.byweekday||(i.byweekday=[Ge.MO,Ge.TU,Ge.WE,Ge.TH,Ge.FR]);else if("week(s)"===n.symbol){n.nextSymbol();var u=n.acceptNumber();if(!u)throw new Error("Unexpected symbol "+n.symbol+", expected week number");for(i.byweekno=[parseInt(u[0],10)];n.accept("comma");){if(!(u=n.acceptNumber()))throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");i.byweekno.push(parseInt(u[0],10))}}else{if(!d)return;n.nextSymbol(),i.bymonth||(i.bymonth=[]),i.bymonth.push(d)}}while(n.accept("comma")||n.accept("the")||n.accept("on"))}function a(){if(n.accept("at"))do{var e=n.acceptNumber();if(!e)throw new Error("Unexpected symbol "+n.symbol+", expected hour");for(i.byhour=[parseInt(e[0],10)];n.accept("comma");){if(!(e=n.acceptNumber()))throw new Error("Unexpected symbol "+n.symbol+"; expected hour");i.byhour.push(parseInt(e[0],10))}}while(n.accept("comma")||n.accept("at"))}function s(){switch(n.symbol){case"january":return 1;case"february":return 2;case"march":return 3;case"april":return 4;case"may":return 5;case"june":return 6;case"july":return 7;case"august":return 8;case"september":return 9;case"october":return 10;case"november":return 11;case"december":return 12;default:return!1}}function r(){switch(n.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return n.symbol.substr(0,2).toUpperCase();default:return!1}}function l(){switch(n.symbol){case"last":return n.nextSymbol(),-1;case"first":return n.nextSymbol(),1;case"second":return n.nextSymbol(),n.accept("last")?-2:2;case"third":return n.nextSymbol(),n.accept("last")?-3:3;case"nth":var e=parseInt(n.value[1],10);if(e<-366||e>366)throw new Error("Nth out of range: "+e);return n.nextSymbol(),n.accept("last")?-e:e;default:return!1}}function d(){if("until"===n.symbol){var e=Date.parse(n.text);if(!e)throw new Error("Cannot parse until date:"+n.text);i.until=new Date(e)}else n.accept("for")&&(i.count=parseInt(n.value[0],10),n.expect("number"))}}function J(e){return e<q.HOURLY}!function(e){e[e.YEARLY=0]="YEARLY",e[e.MONTHLY=1]="MONTHLY",e[e.WEEKLY=2]="WEEKLY",e[e.DAILY=3]="DAILY",e[e.HOURLY=4]="HOURLY",e[e.MINUTELY=5]="MINUTELY",e[e.SECONDLY=6]="SECONDLY"}(q||(q={})); /* ! * rrule.js - Library for working with recurrence rules for calendar dates. * https://github.com/jakubroztocil/rrule * * Copyright 2010, Jakub Roztocil and Lars Schoning * Licenced under the BSD licence. * https://github.com/jakubroztocil/rrule/blob/master/LICENCE * */ var Q=function(e,t){return void 0===t&&(t=G),new Ge(X(e,t)||void 0)},ee=["count","until","interval","byweekday","bymonthday","bymonth"];Z.IMPLEMENTED=[],Z.IMPLEMENTED[q.HOURLY]=ee,Z.IMPLEMENTED[q.MINUTELY]=ee,Z.IMPLEMENTED[q.DAILY]=["byhour"].concat(ee),Z.IMPLEMENTED[q.WEEKLY]=ee,Z.IMPLEMENTED[q.MONTHLY]=ee,Z.IMPLEMENTED[q.YEARLY]=["byweekno","byyearday"].concat(ee);var te=Z.isFullyConvertible,ie=function(){function e(e,t,i,n){this.hour=e,this.minute=t,this.second=i,this.millisecond=n||0}return e.prototype.getHours=function(){return this.hour},e.prototype.getMinutes=function(){return this.minute},e.prototype.getSeconds=function(){return this.second},e.prototype.getMilliseconds=function(){return this.millisecond},e.prototype.getTime=function(){return 1e3*(60*this.hour*60+60*this.minute+this.second)+this.millisecond},e}(),ne=function(e){function t(t,i,n,o,a,s,r){var l=e.call(this,o,a,s,r)||this;return l.year=t,l.month=i,l.day=n,l}return H(t,e),t.fromDate=function(e){return new this(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.valueOf()%1e3)},t.prototype.getWeekday=function(){return O(new Date(this.getTime()))},t.prototype.getTime=function(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond)).getTime()},t.prototype.getDay=function(){ret