diff --git a/apexplugin.json b/apexplugin.json index 70dbfa4..e22438f 100644 --- a/apexplugin.json +++ b/apexplugin.json @@ -1,6 +1,6 @@ { "name": "APEX Material BI Dashboard", - "version": "22.12.06", + "version": "23.07.18", "description": "This plug-in allows to integrate a freely configurable dashboard into Oracle APEX.

It offers many display options, e.g. charts, lists, KPI cards, world map, tables, HTML, analog clock, calendar and much more. Each dashboard item can be customized, even at runtime without page submit!

The main advantage of the dashboard is that end-users of your APEX app can configure one or more dashboards at runtime without having to touch the region or page by a developer! This was not possible in APEX so far! Of course, the dashboard can also be used as a fixed region.

The plug-in requires an APEX 5.1.3 or newer and an Oracle 12c or newer. The Sample App requires an APEX 20.2 or newer. However, you can quickly install it in a free workspace on apex.oracle.com and then get started right away with the help of the Sample App!

The item dialog in the Sample App is just a very simplified example, of course in your application the respective data source (table, view, function...) and many setting options for the respective dashboard item can be offered there.

You can find a tutorial at

https:\/\/www.youtube.com/playlist?list=PL9daxiSwWyTbIm8fTa0ypeC6dFfMgXALq

Important clarification: My work in the development team of Oracle APEX is in no way related to my open source projects or the plug-ins here on apex.world! All plug-ins are built in my spare time and are not supported by Oracle!

", "keywords": ["oracle", "apex", "plugin", "charts", "region", "responsive", "d3", "heatmap", "calendar", "cards", "html", "badge", "masonry", "map", "escape", "security", "sanitizer", "gauge", "donut", "line", "bar", "pie", "scatter", "list", "icon", "clock", "tables", "note", "editor", "images", "stack", "area"], "homepage": "https://github.com/RonnyWeiss/APEX-Material-BI-Dashboard", diff --git a/build/bida-calendar.pkgd.min.js b/build/bida-calendar.pkgd.min.js index decb1c5..50b5b98 100644 --- a/build/bida-calendar.pkgd.min.js +++ b/build/bida-calendar.pkgd.min.js @@ -1 +1 @@ -var FullCalendar=function(e){"use strict";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])})(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}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>>1,1),n.i.removeChild(e)}}),f(a(K,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}(new k).__e=function(n){var r=this,o=Z(r.__v),i=r.o.get(n);return i[0]++,function(e){function t(){r.props.revealOrder?(i.push(e),X(r,n,i)):e()}o?o(t):t()}};var J="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Q=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/;k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(k.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var ee=S.event;function te(){}function ne(){return this.cancelBubble}function re(){return this.defaultPrevented}S.event=function(e){return(e=ee?ee(e):e).persist=te,e.isPropagationStopped=ne,e.isDefaultPrevented=re,e.nativeEvent=e};var oe={configurable:!0,get:function(){return this.class}},ie=S.vnode;S.vnode=function(e){var t,n=e.type,r=e.props,o=r;if("string"==typeof n){for(var i in o={},r){var a=r[i];"value"===i&&"defaultValue"in r&&null==a||("defaultValue"===i&&"value"in r&&null==r.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+n)&&(t=r.type,!("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t))?i="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(i)?i=i.toLowerCase():Q.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),o[i]=a)}"select"==n&&o.multiple&&Array.isArray(o.value)&&(o.value=l(r.children).forEach(function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)})),"select"==n&&null!=o.defaultValue&&(o.value=l(r.children).forEach(function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value})),e.props=o}n&&r.class!=r.className&&(oe.enumerable="className"in r,null!=r.className&&(o.class=r.className),Object.defineProperty(o,"className",oe)),e.$$typeof=J,ie&&ie(e)};var ae=S.__r;S.__r=function(e){ae&&ae(e)},"object"==typeof performance&&"function"==typeof performance.now&&performance.now.bind(performance);var se="undefined"!=typeof globalThis?globalThis:window;se.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):se.FullCalendarVDom={Component:k,createElement:a,render:f,createRef:function(){return{current:null}},Fragment:C,createContext:function(e){var e=function(e,r){return(e={__c:r="__cC"+y++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,t;return this.getChildContext||(n=[],((t={})[r]=this).getChildContext=function(){return t},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(i)},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}}).Provider.__=e.Consumer.contextType=e}(e),o=e.Provider;return e.Provider=function(){var n,e=this,t=!this.getChildContext,r=o.apply(this,arguments);return t&&(n=[],this.shouldComponentUpdate=function(t){e.props.value!==t.value&&n.forEach(function(e){e.context=t.value,e.forceUpdate()})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),r},e},createPortal:function(e,t){return a($,{__v:e,i:t})},flushSync:function(e){e();var e=S.debounceRendering,t=[];S.debounceRendering=function(e){t.push(e)},f(a(ue,{}),document.createElement("div"));for(;t.length;)t.shift()();S.debounceRendering=e},unmountComponentAtNode:function(e){f(null,e)}};var le,ue=(t(de,le=k),de.prototype.render=function(){return a("div",{})},de.prototype.componentDidMount=function(){this.setState({})},de);function de(){return null!==le&&le.apply(this,arguments)||this}var ce=(pe.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},pe.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(pe.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),pe);function pe(e,t){this.context=e,this.internalEventSource=t}function fe(e){e.parentNode&&e.parentNode.removeChild(e)}function he(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(ve(e,t))return e}while(null!==(e=e.parentElement||e.parentNode)&&1===e.nodeType);return null}function ve(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function ge(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o=_t(t)&&(o=Xe(o,1))),e.start&&(r=nt(e.start),o&&o<=r&&(o=Xe(r,1))),{start:r,end:o}}function Hn(e){e=Nn(e);return 1i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return it.start)&&(null===e.start||null===t.end||e.start=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function Fn(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t=(n||t.end),isToday:t&&Fn(t,e.start)}}function nr(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}function rr(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}function or(e,t){var e=e.eventRange,n=e.def,r=e.instance,e=n.url;if(e)return{href:e};var o=t.emitter,e=t.options.eventInteractive;return(e=null==e&&null==(e=n.interactive)?Boolean(o.hasHandlers("eventClick")):e)?_e(function(e){o.trigger("eventClick",{el:e.target,event:new Dr(t,n,r),jsEvent:e,view:t.viewApi})}):{}}var ir={start:pn,end:pn,allDay:Boolean};function ar(e,t,n){var r=function(e,t){var n=cn(e,ir),r=n.refined,e=n.extra,n=r.start?t.createMarkerMeta(r.start):null,t=r.end?t.createMarkerMeta(r.end):null,r=r.allDay;null==r&&(r=n&&n.isTimeUnspecified&&(!t||t.isTimeUnspecified));return I({range:{start:n?n.marker:null,end:t?t.marker:null},allDay:r},e)}(e,t),e=r.range;if(!e.start)return null;if(!e.end){if(null==n)return null;e.end=t.add(e.start,n)}return r}function sr(e,t){return Wn(e.range,t.range)&&e.allDay===t.allDay&&function(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var n in e)if(!(n in t))return!1;return!0}(e,t)}function lr(e,t,n){return I(I({},ur(e,t,n)),{timeZone:t.timeZone})}function ur(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 dr(e,t,n){n.emitter.trigger("select",I(I({},cr(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function cr(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.dateSpanTransforms;i=t.left&&e.left=t.top&&e.top
",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=0=t.end)}}function to(e,t){var n=["fc-day","fc-day-"+Ye[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 no=tn({year:"numeric",month:"long",day:"numeric"}),ro=tn({week:"long"});function oo(e,n,r,t){void 0===t&&(t=!0);var o=e.dateEnv,i=e.options,a=e.calendarApi,s=o.format(n,"week"===(r=void 0===r?"day":r)?ro:no);if(i.navLinks){var l=o.toDate(n),e=function(e){var t="day"===r?i.navLinkDayClick:"week"===r?i.navLinkWeekClick:null;"function"==typeof t?t.call(a,o.toDate(n),e):("string"==typeof t&&(r=t),a.zoomTo(n,r))};return I({title:Be(i.navLinkHint,[s,l],s),"data-navlink":""},t?Re(e):{onClick:e})}return{"aria-label":s}}var io,ao=null;function so(){return ao=null===ao?function(){var e=document.createElement("div");ye(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="
",document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return fe(e),t}():ao}function lo(){return io=io||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=uo(e);return document.body.removeChild(e),t}()}function uo(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function co(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,o=parseInt(n.borderRightWidth,10)||0,i=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=uo(e),e=s.y-r-o,a={borderLeft:r,borderRight:o,borderTop:i,borderBottom:a,scrollbarBottom:s.x-i-a,scrollbarLeft:0,scrollbarRight:0};return so()&&"rtl"===n.direction?a.scrollbarLeft=e:a.scrollbarRight=e,t&&(a.paddingLeft=parseInt(n.paddingLeft,10)||0,a.paddingRight=parseInt(n.paddingRight,10)||0,a.paddingTop=parseInt(n.paddingTop,10)||0,a.paddingBottom=parseInt(n.paddingBottom,10)||0),a}function po(e,t,n){void 0===t&&(t=!1);n=n?e.getBoundingClientRect():fo(e),e=co(e,t),n={left:n.left+e.borderLeft+e.scrollbarLeft,right:n.right-e.borderRight-e.scrollbarRight,top:n.top+e.borderTop,bottom:n.bottom-e.borderBottom-e.scrollbarBottom};return t&&(n.left+=e.paddingLeft,n.right-=e.paddingRight,n.top+=e.paddingTop,n.bottom-=e.paddingBottom),n}function fo(e){e=e.getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,right:e.right+window.pageXOffset,bottom:e.bottom+window.pageYOffset}}function ho(e){for(var t=[];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}function vo(e,t,n){function r(){i||(i=!0,t.apply(this,arguments))}function o(){i||(i=!0,n&&n.apply(this,arguments))}var i=!1,e=e(r,o);e&&"function"==typeof e.then&&e.then(r,o)}var go=(mo.prototype.setThisContext=function(e){this.thisContext=e},mo.prototype.setOptions=function(e){this.options=e},mo.prototype.on=function(e,t){var n;n=this.handlers,t=t,(n[e=e]||(n[e]=[])).push(t)},mo.prototype.off=function(e,t){var n,r;n=this.handlers,e=e,(r=t)?n[e]&&(n[e]=n[e].filter(function(e){return e!==r})):delete n[e]},mo.prototype.trigger=function(e){for(var t=[],n=1;n=t[o]&&e=t[o]&&e=o.end?new Date(o.end.valueOf()-1):r),n=this.buildCurrentRangeInfo(e,t),o=/^(year|month|week|day)$/.test(n.unit),r=this.buildRenderRange(this.trimHiddenDays(n.range),n.unit,o),e=r=this.trimHiddenDays(r),i.showNonCurrentDates||(e=Un(e,n.range)),e=Un(e=this.adjustActiveRange(e),a),t=zn(n.range,a),{validRange:a,currentRange:n.range,currentRangeUnit:n.unit,isRangeAllDay:o,activeRange:e,renderRange:r,slotMinTime:i.slotMinTime,slotMaxTime:i.slotMaxTime,isValid:t,dateIncrement:this.buildDateIncrement(n.duration)}},_i.prototype.buildValidRange=function(){var e=this.props.validRangeInput,e="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(e)||{start:null,end:null}},_i.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=It(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},_i.prototype.getFallbackDuration=function(){return Tt({day:1})},_i.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,i=t.slotMaxTime,t=e.start,e=e.end;return r&&(Rt(o)<0&&(t=nt(t),t=n.add(t,o)),1t.fetchRange.end:!t.latestFetchId;var t,n}),r,!1,o)}function Ai(e,t,n,r,o){var i,a={};for(i in e){var s=e[i];t[i]?a[i]=function(n,r,e,o){var i=o.options,a=o.calendarApi,t=o.pluginHooks.eventSourceDefs[n.sourceDefId],s=Ie();return t.fetch({eventSource:n,range:r,isRefetch:e,context:o},function(e){var t=e.rawEvents;i.eventSourceSuccess&&(t=i.eventSourceSuccess.call(a,t,e.xhr)||t),n.success&&(t=n.success.call(a,t,e.xhr)||t),o.dispatch({type:"RECEIVE_EVENTS",sourceId:n.sourceId,fetchId:s,fetchRange:r,rawEvents:t})},function(e){console.warn(e.message,e),i.eventSourceFailure&&i.eventSourceFailure.call(a,e),n.failure&&n.failure(e),o.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:n.sourceId,fetchId:s,fetchRange:r,error:e})}),I(I({},n),{isFetching:!0,latestFetchId:s})}(s,n,r,o):a[i]=s}return a}function Oi(e,t){return ft(e,function(e){return Li(e,t)})}function Li(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Ui(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,o,i){if(t&&n===t.latestFetchId){o=fn(function(e,t,n){n=n.options.eventDataTransform,t=t?t.eventDataTransform:null;t&&(e=Wi(e,t));n&&(e=Wi(e,n));return e}(o,t,i),t,i);return r&&(o=St(o,r,i)),mn(zi(e,t.sourceId),o)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=St(t,n,r));return mn(e,t)}(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return mn(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?St(e,r.activeRange,o):e;case"REMOVE_EVENTS":return function(e,t){var n,r,o=e.defs,i=e.instances,a={},s={};for(n in o)t.defs[n]||(a[n]=o[n]);for(r in i)!t.instances[r]&&a[i[r].defId]&&(s[r]=i[r]);return{defs:a,instances:s}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return zi(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return yn(e,function(e){return!e.sourceId});case"REMOVE_ALL_EVENTS":return gn();default:return e}}function Wi(e,t){if(t)for(var n=[],r=0,o=e;rt.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:t.end,end:i.end}},o)),r?(n.push.apply(n,h([{index:e.index,thickness:e.thickness,span:ba(t,i)}],o)),r):(n.push(e),0)},va.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(Sa(r,t.level,t.levelCoord),Sa(n,t.level,[e])):Sa(n[t.level],t.lateral,e),this.stackCnts[ma(e)]=t.stackCnt},va.prototype.findInsertion=function(e){for(var t=this.levelCoords,n=this.entriesByLevel,r=this.strictOrder,o=this.stackCnts,i=t.length,a=0,s=-1,l=-1,u=null,d=0,c=0;c=a+e.thickness)break;for(var f,h=n[c],v=Da(h,e.span.start,ga),g=v[0]+v[1];(f=h[g])&&f.span.startn(e[o-1]))return[o,0];for(;r=t.length?t[t.length-1]+1:t[e]},bs);function bs(e,t){for(var n=e.start,r=e.end,o=[],i=[],a=-1;nt)return!0;return!1},As.prototype.needsYScrolling=function(){if(Ns.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;rt)return!0;return!1},As.prototype.getXScrollbarWidth=function(){return Ns.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},As.prototype.getYScrollbarWidth=function(){return Ns.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},As);function As(){var t=null!==Ps&&Ps.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,$o(t.props.elRef,e)},t}var Os=(Ls.prototype.createRef=function(t){var n=this;return this.callbackMap[t]||(this.callbackMap[t]=function(e){n.handleValue(e,String(t))})},Ls.prototype.collect=function(e,t,n){return bt(this.currentMap,e,t,n)},Ls.prototype.getAll=function(){return gt(this.currentMap)},Ls);function Ls(e){var a=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,t){var n=a.depths,r=a.currentMap,o=!1,i=!1;null!==e?(o=t in r,r[t]=e,n[t]=(n[t]||0)+1,i=!0):(--n[t],n[t]||(delete r[t],delete a.callbackMap[t],o=!0)),a.masterCallback&&(o&&a.masterCallback(null,String(t)),i&&a.masterCallback(e,String(t)))}}function Us(e){for(var t=0,n=0,r=ge(e,".fc-scrollgrid-shrink");nt.eventRange.range.end?e:t}var Al,Ol=(t(Ll,Al=br),Object.defineProperty(Ll.prototype,"view",{get:function(){return this.currentData.viewApi},enumerable:!1,configurable:!0}),Ll.prototype.render=function(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()},Ll.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},Ll.prototype.updateSize=function(){var e=this;Lo(function(){Al.prototype.updateSize.call(e)})},Ll.prototype.batchRendering=function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")},Ll.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},Ll.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},Ll.prototype.resetOptions=function(e,t){this.currentDataManager.resetOptions(e,t)},Ll.prototype.setClassNames=function(e){if(!Ot(e,this.currentClassNames)){for(var t=this.el.classList,n=0,r=this.currentClassNames;nd)&&(r={scrollCache:a,name:"top",distance:d}),s<=n&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>s)&&(r={scrollCache:a,name:"bottom",distance:s}),l<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>l)&&(r={scrollCache:a,name:"left",distance:l}),u<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"right",distance:u}))}return r},ru.prototype.buildCaches=function(e){return this.queryScrollEls(e).map(function(e){return e===window?new Ql(!1):new Kl(e,!1)})},ru.prototype.queryScrollEls=function(e){for(var t=[],n=0,r=this.scrollQuery;ni.layer)&&(p.componentId=n,p.context=c.context,p.rect.left+=a,p.rect.right+=a,p.rect.top+=s,p.rect.bottom+=s,i=p)))}return i},du);function du(e,t){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(e),n.initialHit||!n.requireInitial?(t.setIgnoreMove(!1),n.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){n.emitter.trigger("dragstart",e),n.handleMove(e,!0)},this.handleDragMove=function(e){n.emitter.trigger("dragmove",e),n.handleMove(e)},this.handlePointerUp=function(e){n.releaseHits(),n.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,e),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new go}function cu(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&sr(e.dateSpan,t.dateSpan)}function pu(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.datePointTransforms;ir.start)return{endDelta:e};return null}(i,e,n.subjectEl.classList.contains("fc-event-resizer-start"),a.range))),s&&(l=fr(o,r.getCurrentData().eventUiBases,s,r),d.mutatedEvents=l,Cs(d,e.dateProfile,r)||(u=!0,d.mutatedEvents=l=s=null)),l?r.dispatch({type:"SET_EVENT_RESIZE",state:d}):r.dispatch({type:"UNSET_EVENT_RESIZE"}),(u?Pe:Ne)(),t||(s&&cu(i,e)&&(s=null),c.validMutation=s,c.mutatedRelevantEvents=l)},c.handleDragEnd=function(e){var t=c.component.context,n=c.eventRange.def,r=c.eventRange.instance,o=new Dr(t,n,r),i=c.relevantEvents,a=c.mutatedRelevantEvents;t.emitter.trigger("eventResizeStop",{el:c.draggingSegEl,event:o,jsEvent:e.origEvent,view:t.viewApi}),c.validMutation?(n=new Dr(t,a.defs[n.defId],r?a.instances[r.instanceId]:null),t.dispatch({type:"MERGE_EVENTS",eventStore:a}),r={oldEvent:o,event:n,relatedEvents:xr(a,t,r),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:i})}},t.emitter.trigger("eventResize",I(I({},r),{el:c.draggingSegEl,startDelta:c.validMutation.startDelta||Tt(0),endDelta:c.validMutation.endDelta||Tt(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",r)):t.emitter.trigger("_noEventResize"),c.draggingSeg=null,c.relevantEvents=null,c.validMutation=null};var t=e.component,n=c.dragging=new iu(e.el);n.pointer.selector=".fc-event-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.context.options.dragScroll;e=c.hitDragging=new uu(c.dragging,xa(e));return e.emitter.on("pointerdown",c.handlePointerDown),e.emitter.on("dragstart",c.handleDragStart),e.emitter.on("hitupdate",c.handleHitUpdate),e.emitter.on("dragend",c.handleDragEnd),c}var xu=(Cu.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},Cu);function Cu(e){var o=this;this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(o.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var t=o.context.options.unselectCancel,e=be(e.origEvent);o.matchesCancel=!!he(e,t),o.matchesEvent=!!he(e,bu.SELECTOR)},this.onDocumentPointerUp=function(e){var t=o.context,n=o.documentPointer,r=t.getCurrentData();n.wasTouchScroll||(r.dateSelection&&!o.isRecentPointerDateSelect&&(!(n=t.options.unselectAuto)||n&&o.matchesCancel||t.calendarApi.unselect(e)),r.eventSelection&&!o.matchesEvent&&t.dispatch({type:"UNSELECT_EVENT"})),o.isRecentPointerDateSelect=!1};var t=this.documentPointer=new Vl(document);t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}var ku={fixedMirrorParent:pn},Ru={dateClick:pn,eventDragStart:pn,eventDragStop:pn,eventDrop:pn,eventResizeStart:pn,eventResizeStop:pn,eventResize:pn,drop:pn,eventReceive:pn,eventLeave:pn},_u=(Mu.prototype.buildDragMeta=function(e){return"object"==typeof this.suppliedDragMeta?Ia(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?Ia(this.suppliedDragMeta(e)):function(e){e=function(e,t){var n=_a.dataAttrPrefix,t=(n?n+"-":"")+t;return e.getAttribute("data-"+t)||""}(e,"event");return Ia(e?JSON.parse(e):{create:!1})}(e)},Mu.prototype.displayDrag=function(e,t){var n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},Mu.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},Mu.prototype.canDropElOnCalendar=function(e,t){var n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean(ve(e,n))},Mu);function Mu(e,t){var l=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){l.dragMeta=l.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,n){var r=l.hitDragging.dragging,o=null,i=null,a=!1,s={affectedEvents:gn(),mutatedEvents:gn(),isEvent:l.dragMeta.create};e&&(o=e.context,l.canDropElOnCalendar(n.subjectEl,o)&&(i=function(e,t,n){for(var r=I({},t.leftoverProps),o=0,i=n.pluginHooks.externalDefTransforms;o=_t(t.slotMinTime)&&n<_t(t.slotMaxTime))return this.computeTimeTop(Tt(n))}return null},$d.prototype.computeDateTop=function(e,t){return t=t||nt(e),this.computeTimeTop(Tt(e.valueOf()-t.valueOf()))},$d.prototype.computeTimeTop=function(e){var t=this.positions,n=this.dateProfile,r=t.els.length,e=(e.milliseconds-_t(n.slotMinTime))/_t(this.slotDuration),e=Math.max(0,e);return e=Math.min(r,e),n=Math.floor(e),r=e-(n=Math.min(n,r-1)),t.tops[n]+t.getHeight(n)*r},$d);function $d(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}var Jd,Qd=(t(ec,Jd=Yo),ec.prototype.render=function(){var n=this.props,r=this.context,a=r.options,s=n.slatElRefs;return Io("tbody",null,n.slatMetas.map(function(o,e){var t={time:o.time,date:r.dateEnv.toDate(o.date),view:r.viewApi},i=["fc-timegrid-slot","fc-timegrid-slot-lane",o.isLabeled?"":"fc-timegrid-slot-minor"];return Io("tr",{key:o.key,ref:s.createRef(o.key)},n.axis&&Io(Vd,I({},o)),Io(li,{hookProps:t,classNames:a.slotLaneClassNames,content:a.slotLaneContent,didMount:a.slotLaneDidMount,willUnmount:a.slotLaneWillUnmount},function(e,t,n,r){return Io("td",{ref:e,className:i.concat(t).join(" "),"data-time":o.isoTimeStr},r)}))}))},ec);function ec(){return null!==Jd&&Jd.apply(this,arguments)||this}var tc,nc=(t(rc,tc=Yo),rc.prototype.render=function(){var e=this.props,t=this.context;return Io("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},Io("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,Io(Qd,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))},rc.prototype.componentDidMount=function(){this.updateSizing()},rc.prototype.componentDidUpdate=function(){this.updateSizing()},rc.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},rc.prototype.updateSizing=function(){var t,e=this.context,n=this.props;n.onCoords&&null!==n.clientWidth&&this.rootElRef.current.offsetHeight&&n.onCoords(new Kd(new yo(this.rootElRef.current,(t=this.slatElRefs.currentMap,n.slatMetas.map(function(e){return t[e.key]})),!1,!0),this.props.dateProfile,e.options.slotDuration))},rc);function rc(){var e=null!==tc&&tc.apply(this,arguments)||this;return e.rootElRef=No(),e.slatElRefs=new Os,e}function oc(e,t){for(var n=[],r=0;re&&P.sort(function(e,t){return e.__v.__b-t.__v.__b}));h.__r=0}function N(e,t,n,r,i,o,s,a,l,d){var c,u,h,f,g,p,v,m=r&&r.__k||b,y=m.length;for(n.__k=[],c=0;c>>1,1),n.i.removeChild(e)}}),p(E(te,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}function re(e,t){e=E(ne,{__v:e,i:t});return e.containerInfo=t,e}(new I).__a=function(n){var r=this,i=K(r.__v),o=r.o.get(n);return o[0]++,function(e){function t(){r.props.revealOrder?(o.push(e),ee(r,n,o)):e()}i?i(t):t()}};var ie="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,oe=/^(?: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]/,se="undefined"!=typeof document;I.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(I.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var ae=T.event;function le(){}function de(){return this.cancelBubble}function ce(){return this.defaultPrevented}T.event=function(e){return(e=ae?ae(e):e).persist=le,e.isPropagationStopped=de,e.isDefaultPrevented=ce,e.nativeEvent=e};var ue={configurable:!0,get:function(){return this.class}},he=T.vnode;T.vnode=function(e){var t,n=e.type,r=e.props,i=r;if("string"==typeof n){var o,s=-1===n.indexOf("-"),i={};for(o in r){var a=r[o];se&&"children"===o&&"noscript"===n||"value"===o&&"defaultValue"in r&&null==a||("defaultValue"===o&&"value"in r&&null==r.value?o="value":"download"===o&&!0===a?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+n)&&(t=r.type,!("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t))?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():s&&oe.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),i[o]&&(o="oninputCapture")),i[o]=a)}"select"==n&&i.multiple&&Array.isArray(i.value)&&(i.value=f(r.children).forEach(function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)})),"select"==n&&null!=i.defaultValue&&(i.value=f(r.children).forEach(function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value})),e.props=i,r.class!=r.className&&(ue.enumerable="className"in r,null!=r.className&&(i.class=r.className),Object.defineProperty(i,"className",ue))}e.$$typeof=ie,he&&he(e)};var fe=T.__r;T.__r=function(e){fe&&fe(e),e.__c};const ge=[],pe=new Map;function ve(t){ge.push(t),pe.forEach(e=>{ye(e,t)})}function me(e){let t=pe.get(e);if(!t||!t.isConnected){if(t=e.querySelector("style[data-fullcalendar]"),!t){t=document.createElement("style"),t.setAttribute("data-fullcalendar","");var n=function(){void 0===be&&(be=function(){const e=document.querySelector('meta[name="csp-nonce"]');if(e&&e.hasAttribute("content"))return e.getAttribute("content");var t=document.querySelector("script[nonce]");if(t)return t.nonce||"";return""}());return be}();n&&(t.nonce=n);const r=e===document?document.head:e;n=e===document?r.querySelector("script,link[rel=stylesheet],link[as=style],style"):r.firstChild;r.insertBefore(t,n)}pe.set(e,t),function(e){for(const t of ge)ye(e,t)}(t)}}function ye(e,t){const{sheet:n}=e,r=n.cssRules.length;t.split("}").forEach((e,t)=>{(e=e.trim())&&n.insertRule(e+"}",r+t)})}let be;"undefined"!=typeof document&&me(document);function Ee(e){e.parentNode&&e.parentNode.removeChild(e)}function we(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(xe(e,t))return e}while(null!==(e=e.parentElement||e.parentNode)&&1===e.nodeType);return null}function xe(e,t){let n=e.matches||e.matchesSelector||e.msMatchesSelector;return n.call(e,t)}function De(e,t){let n=e instanceof HTMLElement?[e]:e,r=[];for(let e=0;e.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}');const Se=/(top|left|right|bottom|width|height)$/i;function Ae(e,t){for(var n in t)Te(e,n,t[n])}function Te(e,t,n){null==n?e.style[t]="":"number"==typeof n&&Se.test(t)?e.style[t]=`${n}px`:e.style[t]=n}function ke(e){var t;return null!==(t=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==t?t:e.target}let Ce=0;function Re(){return Ce+=1,"fc-dom-"+Ce}function _e(e){e.preventDefault()}function Me(e,t,n,r){let i=(o=n,s=r,e=>{var t=we(e.target,o);t&&s.call(t,e,t)});var o,s;return e.addEventListener(t,i),()=>{e.removeEventListener(t,i)}}const Ie=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function Oe(t,n){let r=e=>{n(e),Ie.forEach(e=>{t.removeEventListener(e,r)})};Ie.forEach(e=>{t.addEventListener(e,r)})}function Ne(e){return Object.assign({onClick:e},He(e))}function He(t){return{tabIndex:0,onKeyDown(e){"Enter"!==e.key&&" "!==e.key||(t(e),e.preventDefault())}}}let Pe=0;function Le(){return Pe+=1,String(Pe)}function je(){document.body.classList.add("fc-not-allowed")}function ze(){document.body.classList.remove("fc-not-allowed")}function Be(e){e.style.userSelect="none",e.addEventListener("selectstart",_e)}function Ue(e){e.style.userSelect="",e.removeEventListener("selectstart",_e)}function We(e){e.addEventListener("contextmenu",_e)}function Fe(e){e.removeEventListener("contextmenu",_e)}function Ve(e){let t=[],n=[],r,i;for("string"==typeof e?n=e.split(/\s*,\s*/):"function"==typeof e?n=[e]:Array.isArray(e)&&(n=e),r=0;re.replace("$"+n,t||""),e):n}function Ze(e,t){return e-t}function $e(e){return e%1==0}const Xe=["years","months","days","milliseconds"],Je=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Ke(e,t){return"string"==typeof e?function(e){var t=Je.exec(e);if(t){e=t[1]?-1:1;return{years:0,months:0,days:e*(t[2]?parseInt(t[2],10):0),milliseconds:e*(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?et(e):"number"==typeof e?et({[t||"milliseconds"]:e}):null}function et(e){let 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)};e=e.weeks||e.week;return e&&(t.days+=7*e,t.specifiedWeeks=!0),t}function tt(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function nt(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function rt(e){return it(e)/864e5}function it(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function ot(t,n){let r=null;for(let e=0;e{var t;return o?ft(o,e)||(i&&i(s),t=n.call(this,e),r&&r(t,s)||(s=t)):s=n.call(this,e),o=e,s}}const Ft={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Vt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Gt=/\s*([ap])\.?m\.?/i,Qt=/,/g,qt=/\s+/g,Yt=/\u200e/g,Zt=/UTC|GMT/;class $t{constructor(e){let t={},n={},r=0;for(var i in e)i in Ft?(n[i]=e[i],r=Math.max(Ft[i],r)):(t[i]=e[i],i in Vt&&(r=Math.max(Vt[i],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=Ut(Xt)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,n,r){var i,{standardDateProps:o,extendedSettings:s}=this,a=(a=e.marker,d=t.marker,(i=n.calendarSystem).getMarkerYear(a)===i.getMarkerYear(d)?i.getMarkerMonth(a)===i.getMarkerMonth(d)?i.getMarkerDay(a)===i.getMarkerDay(d)?Ht(a)===Ht(d)?0:1:2:4:5);if(!a)return this.format(e,n);let l=a;!(1Bt(e.timeZoneOffset):0===r&&t.week?e=>function(e,t,n,r,i){let o=[];"long"===i?o.push(n):"short"!==i&&"narrow"!==i||o.push(t);"long"!==i&&"short"!==i||o.push(" ");o.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&o.reverse();return o.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week):function(r,i,o){r=Object.assign({},r),i=Object.assign({},i),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}(r,i),r.timeZone="UTC";let s=new Intl.DateTimeFormat(o.locale.codes,r),a;if(i.omitZeroMinute){let e=Object.assign({},r);delete e.minute,a=new Intl.DateTimeFormat(o.locale.codes,e)}return e=>{let{marker:t}=e,n;return n=a&&!t.getUTCMinutes()?a:s,function(e,t,n,r,i){e=e.replace(Yt,""),"short"===n.timeZoneName&&(e=function(e,t){let n=!1;e=e.replace(Zt,()=>(n=!0,t)),n||(e+=` ${t}`);return e}(e,"UTC"===i.timeZone||null==t.timeZoneOffset?"UTC":Bt(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(Qt,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));!1===r.meridiem?e=e.replace(Gt,"").trim():"narrow"===r.meridiem?e=e.replace(Gt,(e,t)=>t.toLocaleLowerCase()):"short"===r.meridiem?e=e.replace(Gt,(e,t)=>`${t.toLocaleLowerCase()}m`):"lowercase"===r.meridiem&&(e=e.replace(Gt,e=>e.toLocaleLowerCase()));return e=(e=e.replace(qt," ")).trim()}(n.format(t),e,r,i,o)}}(e,t,n)}function Jt(e,t){t=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:t,year:t[0],month:t[1],day:t[2],hour:t[3],minute:t[4],second:t[5],millisecond:t[6]}}function Kt(e,t,n,r){e=Jt(e,n.calendarSystem);return{date:e,start:e,end:t?Jt(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}class en{constructor(e){this.cmdStr=e}format(e,t,n){return t.cmdFormatter(this.cmdStr,Kt(e,null,t,n))}formatRange(e,t,n,r){return n.cmdFormatter(this.cmdStr,Kt(e,t,n,r))}}class tn{constructor(e){this.func=e}format(e,t,n){return this.func(Kt(e,null,t,n))}formatRange(e,t,n,r){return this.func(Kt(e,t,n,r))}}function nn(e){return"object"==typeof e&&e?new $t(e):"string"==typeof e?new en(e):"function"==typeof e?new tn(e):null}const rn={navLinkDayClick:gn,navLinkWeekClick:gn,duration:Ke,bootstrapFontAwesome:gn,buttonIcons:gn,customButtons:gn,defaultAllDayEventDuration:Ke,defaultTimedEventDuration:Ke,nextDayThreshold:Ke,scrollTime:Ke,scrollTimeReset:Boolean,slotMinTime:Ke,slotMaxTime:Ke,dayPopoverFormat:nn,slotDuration:Ke,snapDuration:Ke,headerToolbar:gn,footerToolbar:gn,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:nn,dayHeaderClassNames:gn,dayHeaderContent:gn,dayHeaderDidMount:gn,dayHeaderWillUnmount:gn,dayCellClassNames:gn,dayCellContent:gn,dayCellDidMount:gn,dayCellWillUnmount:gn,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:gn,weekNumbers:Boolean,weekNumberClassNames:gn,weekNumberContent:gn,weekNumberDidMount:gn,weekNumberWillUnmount:gn,editable:Boolean,viewClassNames:gn,viewDidMount:gn,viewWillUnmount:gn,nowIndicator:Boolean,nowIndicatorClassNames:gn,nowIndicatorContent:gn,nowIndicatorDidMount:gn,nowIndicatorWillUnmount:gn,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:gn,locale:gn,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:gn,eventOrder:Ve,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:gn,contentHeight:gn,direction:String,weekNumberFormat:nn,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:gn,initialDate:gn,now:gn,eventDataTransform:gn,stickyHeaderDates:gn,stickyFooterScrollbar:gn,viewHeight:gn,defaultAllDay:Boolean,eventSourceFailure:gn,eventSourceSuccess:gn,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:gn,eventConstraint:gn,eventAllow:gn,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:gn,eventContent:gn,eventDidMount:gn,eventWillUnmount:gn,selectConstraint:gn,selectOverlap:gn,selectAllow:gn,droppable:Boolean,unselectCancel:String,slotLabelFormat:gn,slotLaneClassNames:gn,slotLaneContent:gn,slotLaneDidMount:gn,slotLaneWillUnmount:gn,slotLabelClassNames:gn,slotLabelContent:gn,slotLabelDidMount:gn,slotLabelWillUnmount:gn,dayMaxEvents:gn,dayMaxEventRows:gn,dayMinWidth:Number,slotLabelInterval:Ke,allDayText:String,allDayClassNames:gn,allDayContent:gn,allDayDidMount:gn,allDayWillUnmount:gn,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:nn,rerenderDelay:Number,moreLinkText:gn,moreLinkHint:gn,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:gn,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Ke,hiddenDays:gn,fixedWeekCount:Boolean,validRange:gn,visibleRange:gn,titleFormat:gn,eventInteractive:Boolean,noEventsText:String,viewHint:gn,navLinkHint:gn,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:gn,moreLinkClassNames:gn,moreLinkContent:gn,moreLinkDidMount:gn,moreLinkWillUnmount:gn,monthStartFormat:nn,handleCustomRendering:gn,customRenderingMetaMap:gn,customRenderingReplacesEl:Boolean},on={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,monthStartFormat:{month:"long",day:"numeric"}},sn={datesSet:gn,eventsSet:gn,eventAdd:gn,eventChange:gn,eventRemove:gn,windowResize:gn,eventClick:gn,eventMouseEnter:gn,eventMouseLeave:gn,select:gn,unselect:gn,loading:gn,_unmount:gn,_beforeprint:gn,_afterprint:gn,_noEventDrop:gn,_noEventResize:gn,_resize:gn,_scrollRequest:gn},an={buttonText:gn,buttonHints:gn,views:gn,plugins:gn,initialEvents:gn,events:gn,eventSources:gn},ln={headerToolbar:dn,footerToolbar:dn,buttonText:dn,buttonHints:dn,buttonIcons:dn,dateIncrement:dn,plugins:cn,events:cn,eventSources:cn,resources:cn};function dn(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?ft(e,t):e===t}function cn(e,t){return Array.isArray(e)&&Array.isArray(t)?yt(e,t):e===t}const un={type:String,component:gn,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:gn,usesMinMaxTime:Boolean,classNames:gn,content:gn,didMount:gn,willUnmount:gn};function hn(e){return lt(e,ln)}function fn(e,t){let n={},r={};for(var i in t)i in e&&(n[i]=t[i](e[i]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function gn(e){return e}function pn(e,t,n,r){return{instanceId:Le(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}function vn(e,t,n){let{dateEnv:r,pluginHooks:i,options:o}=n,{defs:s,instances:a}=e;for(var l in a=dt(a,e=>!s[e.defId].recurringDef),s){var d,c=s[l];if(c.recurringDef){let{duration:e}=c.recurringDef;e=e||(c.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration);for(d of function(e,t,n,r,i){let o=i[e.recurringDef.typeId],s=o.expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);e.allDay&&(s=s.map(Ct));return s}(c,e,t,r,i.recurringTypes)){var u=pn(l,{start:d,end:r.add(d,e)});a[u.instanceId]=u}}}return{defs:s,instances:a}}function mn(e,t,n,r,i,o){var s,a=En(),l=Nn(n);for(s of e){var d=In(s,t,n,r,l,i,o);d&&yn(d,a)}return a}function yn(e,t=En()){return t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function bn(n,r){r=n.instances[r];if(r){let t=n.defs[r.defId],e=xn(n,e=>function(e,t){return Boolean(e.groupId&&e.groupId===t.groupId)}(t,e));return e.defs[t.defId]=t,e.instances[r.instanceId]=r,e}return En()}function En(){return{defs:{},instances:{}}}function wn(e,t){return{defs:Object.assign(Object.assign({},e.defs),t.defs),instances:Object.assign(Object.assign({},e.instances),t.instances)}}function xn(e,t){let n=dt(e.defs,t);e=dt(e.instances,e=>n[e.defId]);return{defs:n,instances:e}}function Dn(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}const Sn={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:gn,overlap:gn,allow:gn,className:Dn,classNames:Dn,color:String,backgroundColor:String,borderColor:String,textColor:String},An={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Tn(e,t){var n,n=(n=e.constraint,t=t,Array.isArray(n)?mn(n,null,t,!0):"object"==typeof n&&n?mn([n],null,t,!0):null!=n?String(n):null);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 kn(e){return e.reduce(Cn,An)}function Cn(e,t){return{display:(null!=t.display?t:e).display,startEditable:(null!=t.startEditable?t:e).startEditable,durationEditable:(null!=t.durationEditable?t:e).durationEditable,constraints:e.constraints.concat(t.constraints),overlap:("boolean"==typeof t.overlap?t: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)}}const Rn={id:String,groupId:String,title:String,url:String,interactive:Boolean},_n={start:gn,end:gn,date:gn,allDay:Boolean},Mn=Object.assign(Object.assign(Object.assign({},Rn),_n),{extendedProps:gn});function In(e,t,n,r,i=Nn(n),o,s){var{refined:a,extra:l}=On(e,n,i),e=function(e,t){let n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),i=function(n,r,e,i){for(let t=0;te.daysOfWeek):"object"==typeof e&&e?[e]:[];return t=t.map(e=>Object.assign(Object.assign({},Pn),e)),t}(e),null,t)}function jn(e){var t=Math.floor(St(e.start,e.end))||1,e=Ct(e.start);return{start:e,end:wt(e,t)}}function zn(e,t=Ke(0)){let n=null,r=null;var i;return e.end&&(r=Ct(e.end),(i=e.end.valueOf()-r.valueOf())&&i>=it(t)&&(r=wt(r,1))),e.start&&(n=Ct(e.start),r&&r<=n&&(r=wt(n,1))),{start:n,end:r}}function Bn(e){e=zn(e);return 1=t.left&&e.left=t.top&&e.top
",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div"),t=0this.eventUiBuilders[t]||Ut(Xn)),r){var c=r[n],u=s[n]||Zn;let e=this.eventUiBuilders[n];d[n]={businessHours:c.businessHours||t.businessHours,dateSelection:i[n]||null,eventStore:u,eventUiBases:e(t.eventUiBases[""],c.ui,o[n]),eventSelection:u.instances[t.eventSelection]?t.eventSelection:"",eventDrag:a[n]||null,eventResize:l[n]||null}}return d}_splitDateSpan(e){let t={};var n;if(e)for(n of this.getKeysForDateSpan(e))t[n]=e;return t}_getKeysForEventDefs(e){return ct(e.defs,e=>this.getKeysForEventDef(e))}_splitEventStore(e,t){var n,r,{defs:i,instances:o}=e;let s={};for(n in i)for(var a of t[n])s[a]||(s[a]=En()),s[a].defs[n]=i[n];for(r in o){var l,d=o[r];for(l of t[d.defId])s[l]&&(s[l].instances[r]=d)}return s}_splitIndividualUi(e,t){let n={};for(var r in e)if(r)for(var i of t[r])n[i]||(n[i]={}),n[i][r]=e[r];return n}_splitInteraction(r){let i={};if(r){let t=this._splitEventStore(r.affectedEvents,this._getKeysForEventDefs(r.affectedEvents));var e=this._getKeysForEventDefs(r.mutatedEvents);let n=this._splitEventStore(r.mutatedEvents,e);var o,s,a=e=>{i[e]||(i[e]={affectedEvents:t[e]||Zn,mutatedEvents:n[e]||Zn,isEvent:r.isEvent})};for(o in t)a(o);for(s in n)a(s)}return i}}function Xn(e,t,n){let r=[];e&&r.push(e),t&&r.push(t);t={"":kn(r)};return n&&Object.assign(t,n),t}function Jn(e,t){let n=[],{start:r}=t,i;var o;for(e.sort(Kn),i=0;ir&&n.push({start:r,end:o.start}),o.end>r&&(r=o.end);return rt.start)&&(null===e.start||null===t.end||e.start=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function ir(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t=t.end)}}function sr(e,t){let n=["fc-day",`fc-day-${bt[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}const ar=nn({year:"numeric",month:"long",day:"numeric"}),lr=nn({week:"long"});function dr(e,n,r="day",t=!0){const{dateEnv:i,options:o,calendarApi:s}=e;var a=i.format(n,"week"===r?lr:ar);if(o.navLinks){var l=i.toDate(n),e=e=>{let t="day"===r?o.navLinkDayClick:"week"===r?o.navLinkWeekClick:null;"function"==typeof t?t.call(s,i.toDate(n),e):("string"==typeof t&&(r=t),s.zoomTo(n,r))};return Object.assign({title:Ye(o.navLinkHint,[a,l],a),"data-navlink":""},t?Ne(e):{onClick:e})}return{"aria-label":a}}let cr=null;function ur(){return null===cr&&(cr=function(){let e=document.createElement("div");Ae(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="
",document.body.appendChild(e);let t=e.firstChild,n=t.getBoundingClientRect().left>e.getBoundingClientRect().left;return Ee(e),n}()),cr}let hr;function fr(){return hr=hr||function(){let 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=gr(e);return document.body.removeChild(e),t}(),hr}function gr(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function pr(e,t=!1){var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,i=parseInt(n.borderRightWidth,10)||0,o=parseInt(n.borderTopWidth,10)||0,s=parseInt(n.borderBottomWidth,10)||0,a=gr(e),e=a.y-r-i;let l={borderLeft:r,borderRight:i,borderTop:o,borderBottom:s,scrollbarBottom:a.x-o-s,scrollbarLeft:0,scrollbarRight:0};return ur()&&"rtl"===n.direction?l.scrollbarLeft=e:l.scrollbarRight=e,t&&(l.paddingLeft=parseInt(n.paddingLeft,10)||0,l.paddingRight=parseInt(n.paddingRight,10)||0,l.paddingTop=parseInt(n.paddingTop,10)||0,l.paddingBottom=parseInt(n.paddingBottom,10)||0),l}function vr(e,t=!1,n){n=n?e.getBoundingClientRect():mr(e),e=pr(e,t);let r={left:n.left+e.borderLeft+e.scrollbarLeft,right:n.right-e.borderRight-e.scrollbarRight,top:n.top+e.borderTop,bottom:n.bottom-e.borderBottom-e.scrollbarBottom};return t&&(r.left+=e.paddingLeft,r.right-=e.paddingRight,r.top+=e.paddingTop,r.bottom-=e.paddingBottom),r}function mr(e){e=e.getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,right:e.right+window.pageXOffset,bottom:e.bottom+window.pageYOffset}}function yr(e){let 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}function br(e,t,n){let r=!1;function i(e){r||(r=!0,t(e))}function o(e){r||(r=!0,n(e))}let s=e(i,o);s&&"function"==typeof s.then&&s.then(i,o)}class Er{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){var n;n=this.handlers,t=t,(n[e=e]||(n[e]=[])).push(t)}off(e,t){var n,r;n=this.handlers,e=e,(r=t)?n[e]&&(n[e]=n[e].filter(e=>e!==r)):delete n[e]}trigger(e,...t){var n,r=this.handlers[e]||[],e=this.options&&this.options[e];for(n of[].concat(e||[],r))n.apply(this.thisContext,t)}hasHandlers(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}class wr{constructor(e,t,n,r){this.els=t;e=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(e.left),r&&this.buildElVerticals(e.top)}buildElHorizontals(e){let t=[],n=[];for(var r of this.els){r=r.getBoundingClientRect();t.push(r.left-e),n.push(r.right-e)}this.lefts=t,this.rights=n}buildElVerticals(e){let t=[],n=[];for(var r of this.els){r=r.getBoundingClientRect();t.push(r.top-e),n.push(r.bottom-e)}this.tops=t,this.bottoms=n}leftToIndex(e){var{lefts:t,rights:n}=this,r=t.length;let i;for(i=0;i=t[i]&&e=t[i]&&e{this.props.value!==t.value&&n.forEach(e=>{e.context=t.value,e.forceUpdate()})},this.sub=e=>{n.push(e);let t=e.componentWillUnmount;e.componentWillUnmount=()=>{n.splice(n.indexOf(e),1),t&&t.call(e)}}}return t},t}class _r{constructor(e,t,n,r){this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=e=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},e),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const Mr=Rr({});function Ir(e,t,n,r,i,o,s,a,l,d,c,u,h){return{dateEnv:i,options:n,pluginHooks:s,emitter:d,dispatch:a,getCurrentData:l,calendarApi:c,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:o,isRtl:"rtl"===n.direction,addResizeHandler(e){d.on("_resize",e)},removeResizeHandler(e){d.off("_resize",e)},createScrollResponder(e){return new _r(e,d,Ke(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:u,unregisterInteractiveComponent:h}}class Or extends I{shouldComponentUpdate(e,t){return this.debug&&console.log(pt(e,this.props),pt(t,this.state)),!vt(this.props,e,this.propEquality)||!vt(this.state,t,this.stateEquality)}safeSetState(e){vt(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}Or.addPropsEquality=function(e){var t=Object.create(this.prototype.propEquality);Object.assign(t,e),this.prototype.propEquality=t},Or.addStateEquality=function(e){var t=Object.create(this.prototype.stateEquality);Object.assign(t,e),this.prototype.stateEquality=t},Or.contextType=Mr,Or.prototype.propEquality={},Or.prototype.stateEquality={};class Nr extends Or{}function Hr(e,t){"function"==typeof e?e(t):e&&(e.current=t)}Nr.contextType=Mr;class Pr extends Nr{constructor(){super(...arguments),this.uid=Le()}prepareHits(){}queryHit(e,t,n,r){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!we(e,".fc-event-mirror")}isValidDateDownEl(e){return!(we(e,".fc-event:not(.fc-bg-event)")||we(e,".fc-more-link")||we(e,"a[data-navlink]")||we(e,".fc-popover"))}}function Lr(e,t){return null==(e="function"==typeof e?e():e)?t.createNowMarker():t.createMarker(e)}class jr{constructor(e){this.props=e,this.nowDate=Lr(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,t,n){let{dateEnv:r}=this.props;e=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(e,-1,n)}buildNext(e,t,n){let{dateEnv:r}=this.props;e=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(e,1,n)}build(e,t,n=!0){var r,i,o,{props:s}=this;let a;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(i=e,e=null!=(o=r).start&&i=o.end?new Date(o.end.valueOf()-1):i),n=this.buildCurrentRangeInfo(e,t),o=/^(year|month|week|day)$/.test(n.unit),i=this.buildRenderRange(this.trimHiddenDays(n.range),n.unit,o),i=this.trimHiddenDays(i),a=i,s.showNonCurrentDates||(a=er(a,n.range)),a=this.adjustActiveRange(a),a=er(a,r),t=nr(n.range,r),{currentDate:e=!ir(i,e)?i.start:e,validRange:r,currentRange:n.range,currentRangeUnit:n.unit,isRangeAllDay:o,activeRange:a,renderRange:i,slotMinTime:s.slotMinTime,slotMaxTime:s.slotMaxTime,isValid:t,dateIncrement:this.buildDateIncrement(n.duration)}}buildValidRange(){let e=this.props.validRangeInput;var t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}}buildCurrentRangeInfo(e,t){let{props:n}=this,r=null,i=null,o=null;var s;return n.duration?(r=n.duration,i=n.durationUnit,o=this.buildRangeFromDuration(e,t,r,i)):(s=this.props.dayCount)?(i="day",o=this.buildRangeFromDayCount(e,t,s)):(o=this.buildCustomVisibleRange(e))?i=n.dateEnv.greatestWholeUnit(o.start,o.end).unit:(r=this.getFallbackDuration(),i=st(r).unit,o=this.buildRangeFromDuration(e,t,r,i)),{duration:r,unit:i,range:o}}getFallbackDuration(){return Ke({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:n,slotMinTime:r,slotMaxTime:i}=this.props,{start:o,end:s}=e;return n&&(rt(r)<0&&(o=Ct(o),o=t.add(o,r)),1Jr(e,t))}function Jr(e,t){let n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),kn(n)}function Kr(e,n){let t=e.map(ei);return t.sort((e,t)=>Ge(e,t,n)),t.map(e=>e._seg)}function ei(e){var{eventRange:t}=e,n=t.def;let r=(t.instance||t).range;var i=r.start?r.start.valueOf():0,t=r.end?r.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:i,end:t,duration:t-i,allDay:Number(n.allDay),_seg:e})}function ti(e,t,n,r,i,o,s){let{dateEnv:a,options:l}=n,{displayEventTime:d,displayEventEnd:c}=l;var u=e.eventRange.def,h=e.eventRange.instance;null==d&&(d=!1!==r),null==c&&(c=!1!==i);n=h.range.start,r=h.range.end;let f=o||e.start||e.eventRange.range.start,g=s||e.end||e.eventRange.range.end;i=Ct(n).valueOf()===Ct(f).valueOf(),e=Ct(xt(r,-1)).valueOf()===Ct(xt(g,-1)).valueOf();return d&&!u.allDay&&(i||e)?(f=i?n:f,g=e?r:g,c&&u.hasEnd?a.formatRange(f,g,t,{forcedStartTzo:o?null:h.forcedStartTzo,forcedEndTzo:s?null:h.forcedEndTzo}):a.format(f,t,{forcedTzo:o?null:h.forcedStartTzo})):""}function ni(e,t,n){e=e.eventRange.range;return{isPast:e.end<(n||t.start),isFuture:e.start>=(n||t.end),isToday:t&&ir(t,e.start)}}function ri(e){return e.instance?e.instance.instanceId:`${e.def.defId}:${e.range.start.toISOString()}`}function ii(e,t){let{def:n,instance:r}=e.eventRange;var{url:e}=n;if(e)return{href:e};let{emitter:i,options:o}=t,{eventInteractive:s}=o;return null==s&&(s=n.interactive,null==s&&(s=Boolean(i.hasHandlers("eventClick")))),s?He(e=>{i.trigger("eventClick",{el:e.target,event:new Vr(t,n,r),jsEvent:e,view:t.viewApi})}):{}}const oi={start:gn,end:gn,allDay:Boolean};function si(e,t,n){e=function(e,t){let{refined:n,extra:r}=fn(e,oi),i=n.start?t.createMarkerMeta(n.start):null,o=n.end?t.createMarkerMeta(n.end):null,{allDay:s}=n;null==s&&(s=i&&i.isTimeUnspecified&&(!o||o.isTimeUnspecified));return Object.assign({range:{start:i?i.marker:null,end:o?o.marker:null},allDay:s},r)}(e,t);let{range:r}=e;if(!r.start)return null;if(!r.end){if(null==n)return null;r.end=t.add(r.start,n)}return e}function ai(e,t){return tr(e.range,t.range)&&e.allDay===t.allDay&&function(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var r in e)if(!(r in t))return!1;return!0}(e,t)}function li(e,t,n){return Object.assign(Object.assign({},di(e,t,n)),{timeZone:t.timeZone})}function di(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})}}let ci={};ci.gregory=class{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return Ot(e)}markerToArray(e){return It(e)}};const ui=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function hi(t){var n=ui.exec(t);if(n){t=new Date(Date.UTC(Number(n[1]),n[3]?Number(n[3])-1:0,Number(n[5]||1),Number(n[7]||0),Number(n[8]||0),Number(n[10]||0),n[12]?1e3*Number(`0.${n[12]}`):0));if(Nt(t)){let e=null;return n[13]&&(e=("-"===n[15]?-1:1)*(60*Number(n[16]||0)+Number(n[18]||0))),{marker:t,isTimeUnspecified:!n[6],timeZoneOffset:e}}}return null}class fi{constructor(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=(n=e.calendarSystem,new ci[n]),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:e.locale.options).weekText,this.weekTextLong=(null!=e.weekTextLong?e:e.locale.options).weekTextLong||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){e=this.createMarkerMeta(e);return null===e?null:e.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):Ot(_t(new Date))}createMarkerMeta(e){if("string"==typeof e)return this.parse(e);let 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=Ot(e)),null!==t&&Nt(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null}parse(e){e=hi(e);if(null===e)return null;let{marker:t}=e,n=null;return null!==e.timeZoneOffset&&(this.canComputeOffset?t=this.timestampToMarker(t.valueOf()-60*e.timeZoneOffset*1e3):n=e.timeZoneOffset),{marker:t,isTimeUnspecified:e.isTimeUnspecified,forcedTzo:n}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let 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)}subtract(e,t){let 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)}addYears(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)}addMonths(e,t){let n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)}diffWholeYears(e,t){let{calendarSystem:n}=this;return Ht(e)===Ht(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:n}=this;return Ht(e)===Ht(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null}greatestWholeUnit(e,t){let n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:(n=this.diffWholeMonths(e,t),null!==n?{unit:"month",value:n}:(n=Tt(e,t),null!==n?{unit:"week",value:n}:(n=kt(e,t),null!==n?{unit:"day",value:n}:(n=(r=e,(t.valueOf()-r.valueOf())/36e5),$e(n)?{unit:"hour",value:n}:(n=(r=e,(t.valueOf()-r.valueOf())/6e4),$e(n)?{unit:"minute",value:n}:(n=(r=e,(t.valueOf()-r.valueOf())/1e3),$e(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))));var r}countDurationsBetween(e,t,n){let r;return n.years&&(r=this.diffWholeYears(e,t),null!==r)?r/(rt(n)/365):n.months&&(r=this.diffWholeMonths(e,t),null!==r)?r/(rt(n)/30):n.days&&(r=kt(e,t),null!==r)?r/rt(n):(t.valueOf()-e.valueOf())/it(n)}startOf(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?Ct(e):"hour"===t?Ot([(n=e).getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours()]):"minute"===t?Ot([(n=e).getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes()]):"second"===t?Ot([(e=e).getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()]):null;var n}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):(t=e,n=this.weekDow,r=this.weekDoy,i=t.getUTCFullYear(),(e=Rt(t,i,n,r))<1?Rt(t,i-1,n,r):1<=(r=Rt(t,i+1,n,r))?Math.min(e,r):e);var t,n,r,i}format(e,t,n={}){return t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,n,r={}){return r.isEndExclusive&&(t=xt(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)}formatIso(e,t={}){let n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),Pt(e,n,t.omitTime)}timestampToMarker(e){return"local"===this.timeZone?Ot(_t(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?Ot(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)}offsetForMarker(e){return"local"===this.timeZone?-Mt(It(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(It(e)):null}toDate(e,t){return"local"===this.timeZone?Mt(It(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(It(e))*60):new Date(e.valueOf()-(t||0))}}class gi{constructor(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){var t,n=[];for(t of e)this.insertEntry(t,n);return n}insertEntry(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)}isInsertionValid(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCntt.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:t.end,end:o.end}},i)),r?(n.push({index:e.index,thickness:e.thickness,span:yi(t,o)},...i),r):(n.push(e),0)}insertEntryAt(e,t){var{entriesByLevel:n,levelCoords:r}=this;-1===t.lateral?(bi(r,t.level,t.levelCoord),bi(n,t.level,[e])):bi(n[t.level],t.lateral,e),this.stackCnts[vi(e)]=t.stackCnt}findInsertion(n){var{levelCoords:r,entriesByLevel:i,strictOrder:o,stackCnts:s}=this,e=r.length;let a=0,l=-1,d=-1,c=null,u=0;for(let t=0;t=a+n.thickness)break;var f,g=i[t],p=Ei(g,n.span.start,pi);let e=p[0]+p[1];for(;(f=g[e])&&f.span.starta&&(a=v,c=f,l=t,d=e),v===a&&(u=Math.max(u,s[vi(f)]+1)),e+=1}}let t=0;if(c)for(t=l+1;tn(e[i-1]))return[i,0];for(;r{this.setState({forPrint:!0})},this.handleAfterPrint=()=>{this.setState({forPrint:!1})}}render(){let{props:e}=this;var{options:t}=e,{forPrint:n}=this.state,r=n||"auto"===t.height||"auto"===t.contentHeight,i=r||null==t.height?"":t.height;let o=["fc",n?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return Yn()||o.push("fc-liquid-hack"),e.children(o,i,r,n)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}function Ri(e,t){return nn(!e||10{this.props.elRef&&Hr(this.props.elRef,e)}}render(){var e,{props:t,context:n}=this,{options:r}=n;const{customGenerator:i,defaultGenerator:o,renderProps:s}=t,a=Ni(t);let l=!1,d,c=[],u;return null!=i?!0===(e="function"==typeof i?i(s,E):i)?l=!0:(n=e&&"object"==typeof e)&&"html"in e?a.dangerouslySetInnerHTML={__html:e.html}:n&&"domNodes"in e?c=Array.prototype.slice.call(e.domNodes):n||"function"==typeof e?u=e:d=e:l=!Oi(t.generatorName,r),l&&o&&(d=o(s)),this.queuedDomNodes=c,this.currentGeneratorMeta=u,E(t.elTag,a,d)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;const{props:n,context:r}=this,{handleCustomRendering:i,customRenderingMetaMap:o}=r.options;!i||(t=null!==(t=this.currentGeneratorMeta)&&void 0!==t?t:null==o?void 0:o[n.generatorName])&&i(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.handleEl,generatorMeta:t},n),{elClasses:(n.elClasses||[]).filter(Hi)}))}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:t}=this,n=this.base;if(!yt(e,t)){t.forEach(Ee);for(var r of e)n.appendChild(r);this.currentDomNodes=e}}}function Oi(e,t){return Boolean(t.handleCustomRendering&&e&&(null===(t=t.customRenderingMetaMap)||void 0===t?void 0:t[e]))}function Ni(e,t){const n=Object.assign(Object.assign({},e.elAttrs),{ref:e.elRef});return(e.elClasses||t)&&(n.className=(e.elClasses||[]).concat(t||[]).concat(n.className||[]).filter(Boolean).join(" ")),e.elStyle&&(n.style=e.elStyle),n}function Hi(e){return Boolean(e)}Ii.addPropsEquality({elClasses:yt,elStyle:ft,elAttrs:function(e,t){var n;for(n of pt(e,t))if(!gt.test(n))return!1;return!0},renderProps:ft});const Pi=Rr(0);class Li extends I{constructor(){super(...arguments),this.InnerContent=function(e,t){var n=e.props;return E(Ii,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:e.context},t))}.bind(void 0,this),this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&Hr(this.props.elRef,e)}}render(){const{props:e}=this;var t=function(e,t){e="function"==typeof e?e(t):e||[];return"string"==typeof e?[e]:e}(e.classNameGenerator,e.renderProps);if(e.children){var n=Ni(e,t),r=e.children(this.InnerContent,e.renderProps,n);return e.elTag?E(e.elTag,n,r):r}return E(Ii,Object.assign(Object.assign({},e),{elRef:this.handleRootEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}))}componentDidMount(){var e,t;null!==(t=(e=this.props).didMount)&&void 0!==t&&t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.rootEl||this.base}))}componentWillUnmount(){var e,t;null!==(t=(e=this.props).willUnmount)&&void 0!==t&&t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.rootEl||this.base}))}}Li.contextType=Pi;class ji extends Nr{render(){let{dateEnv:e,options:t,theme:n,viewApi:r}=this.context,{props:i}=this;var{date:o,dateProfile:s}=i;let a=or(o,i.todayRange,null,s);var l=[_i].concat(sr(a,n)),s=e.format(o,i.dayHeaderFormat);let d=!a.isDisabled&&1E("div",{className:"fc-scrollgrid-sync-inner"},!a.isDisabled&&E(e,{elTag:"a",elAttrs:d,elClasses:["fc-col-header-cell-cushion",i.isSticky&&"fc-sticky"]})))}}const zi=nn({weekday:"long"});class Bi extends Nr{render(){let{props:t}=this,{dateEnv:n,theme:e,viewApi:r,options:i}=this.context,o=wt(new Date(2592e5),t.dow);var s={dow:t.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},a=n.format(o,t.dayHeaderFormat),a=Object.assign(Object.assign(Object.assign(Object.assign({date:o},s),{view:r}),t.extraRenderProps),{text:a});return E(Li,{elTag:"th",elClasses:[_i,...sr(s,e),...t.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:t.colSpan},t.extraDataAttrs),renderProps:a,generatorName:"dayHeaderContent",customGenerator:i.dayHeaderContent,defaultGenerator:Mi,classNameGenerator:i.dayHeaderClassNames,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},e=>E("div",{className:"fc-scrollgrid-sync-inner"},E(e,{elTag:"a",elClasses:["fc-col-header-cell-cushion",t.isSticky&&"fc-sticky"],elAttrs:{"aria-label":n.format(o,zi)}})))}}class Ui extends I{constructor(e,t){super(e,t),this.initialNowDate=Lr(t.options.now,t.dateEnv),this.initialNowQueriedMs=(new Date).valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:t}=this;return e.children(t.nowDate,t.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:t}=this,n=xt(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs);var r=t.dateEnv.startOf(n,e.unit);let i=t.dateEnv.add(r,Ke(1,e.unit));var o=i.valueOf()-n.valueOf(),o=Math.min(864e5,o);return{currentState:{nowDate:r,todayRange:Wi(r)},nextState:{nowDate:i,todayRange:Wi(i)},waitMs:o}}setTimeout(){let{nextState:e,waitMs:t}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},t)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}function Wi(e){e=Ct(e);return{start:e,end:wt(e,1)}}Ui.contextType=Mr;class Fi extends Nr{constructor(){super(...arguments),this.createDayHeaderFormatter=Ut(Vi)}render(){var{context:e}=this;let{dates:n,dateProfile:r,datesRepDistinctDays:i,renderIntro:o}=this.props,s=this.createDayHeaderFormatter(e.options.dayHeaderFormat,i,n.length);return E(Ui,{unit:"day"},(e,t)=>E("tr",{role:"row"},o&&o("day"),n.map(e=>i?E(ji,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:s}):E(Bi,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:s}))))}}function Vi(e,t,n){return e||Ri(t,n)}class Gi{constructor(e,t){let n=e.start;var{end:r}=e;let i=[],o=[],s=-1;for(;n=t.length?t[t.length-1]+1:t[e]}}class Qi{constructor(e,t){let{dates:n}=e,r;var i;let o;if(t){for(i=n[0].getUTCDay(),r=1;r!e.sourceId);case"REMOVE_ALL_EVENTS":return En();default:return e}}function $i(e,t,n){n=n.options.eventDataTransform,t=t?t.eventDataTransform:null;return t&&(e=Xi(e,t)),e=n?Xi(e,n):e}function Xi(e,t){let n;if(t){n=[];for(var r of e){var i=t(r);i?n.push(i):null==i&&n.push(r)}}else n=e;return n}function Ji(e,t,n){let{defs:r}=e;e=ct(e.instances,e=>{return r[e.defId].allDay?e:Object.assign(Object.assign({},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})});return{defs:r,instances:e}}function Ki(e,t){return xn(e,e=>e.sourceId!==t)}function eo(e,t,n){var r,{instances:i}=e.mutatedEvents;for(r in i)if(!rr(t.validRange,i[r].range))return!1;return no({eventDrag:e},n)}function to(e,t,n){return!!rr(t.validRange,e.range)&&no({dateSelection:e},n)}function no(e,t){var n=t.getCurrentData(),e=Object.assign({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||ro)(e,t)}function ro(e,t,n={},r){return!(e.eventDrag&&!function(t,n,r,e){let i=n.getCurrentData(),o=t.eventDrag,s=o.mutatedEvents,a=s.defs,l=s.instances,d=Xr(a,o.isEvent?t.eventUiBases:{"":i.selectionConfig});e&&(d=ct(d,e));var c=function(e,t){return{defs:e.defs,instances:dt(e.instances,e=>!t[e.instanceId])}}(t.eventStore,o.affectedEvents.instances),u=c.defs,h=c.instances,f=Xr(u,t.eventUiBases);for(var g in l){var p=l[g],v=p.range,m=d[p.defId],y=a[p.defId];if(!io(m.constraints,v,c,t.businessHours,n))return!1;var b,{eventOverlap:E}=n.options;let e="function"==typeof E?E:null;for(b in h){var w=h[b];if(nr(v,w.range)){if(!1===f[w.defId].overlap&&o.isEvent)return!1;if(!1===m.overlap)return!1;if(e&&!e(new Vr(n,u[w.defId],w),new Vr(n,y,p)))return!1}}var x,D=i.eventStore;for(x of m.allows){var S=Object.assign(Object.assign({},r),{range:p.range,allDay:y.allDay}),A=D.defs[y.defId],T=D.instances[g];let e;if(e=A?new Vr(n,A,T):new Vr(n,y),!x(Br(S,n),e))return!1}}return!0}(e,t,n,r))&&!(e.dateSelection&&!function(e,t,n,r){let i=e.eventStore,o=i.defs,s=i.instances,a=e.dateSelection,l=a.range,{selectionConfig:d}=t.getCurrentData();r&&(d=r(d));if(!io(d.constraints,l,i,e.businessHours,t))return!1;let{selectOverlap:c}=t.options,u="function"==typeof c?c:null;for(var h in s){h=s[h];if(nr(l,h.range)){if(!1===d.overlap)return!1;if(u&&!u(new Vr(t,o[h.defId],h),null))return!1}}for(var f of d.allows){var g=Object.assign(Object.assign({},n),a);if(!f(Br(g,t),null))return!1}return!0}(e,t,n,r))}function io(e,t,n,r,i){for(var o of e)if(!function(e,t){for(var n of e)if(rr(n,t))return!0;return!1}(function(t,e,n,r,i){if("businessHours"===t)return oo(vn(r,e,i));if("string"==typeof t)return oo(xn(n,e=>e.groupId===t));if("object"==typeof t&&t)return oo(vn(t,e,i));return[]}(o,t,n,r,i),t))return;return 1}function oo(e){var t,{instances:n}=e;let r=[];for(t in n)r.push(n[t].range);return r}class so extends Error{constructor(e,t){super(e),this.response=t}}function ao(e,t,n){const r={method:e=e.toUpperCase()};return"GET"===e?t+=(-1===t.indexOf("?")?"?":"&")+new URLSearchParams(n):(r.body=new URLSearchParams(n),r.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(t,r).then(t=>{if(t.ok)return t.json().then(e=>[e,t],()=>{throw new so("Failure parsing JSON",t)});throw new so("Request failed",t)})}class lo{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:n}=this;e in n&&(t?delete n[e]:(--n[e],n[e]<=0&&delete n[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}const co=/^(visible|hidden)$/;class uo extends Nr{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,Hr(this.props.elRef,e)}}render(){var{props:e}=this,{liquid:t,liquidIsAbsolute:n}=e,r=t&&n;let i=["fc-scroller"];return t&&(n?i.push("fc-scroller-liquid-absolute"):i.push("fc-scroller-liquid")),E("div",{ref:this.handleEl,className:i.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)}needsXScrolling(){if(co.test(this.props.overflowX))return!1;var{el:e}=this,n=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:r}=e;for(let t=0;tn)return!0}return!1}needsYScrolling(){if(co.test(this.props.overflowY))return!1;var{el:e}=this,n=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:r}=e;for(let t=0;tn)return!0}return!1}getXScrollbarWidth(){return co.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return co.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class ho{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(e,t)=>{let{depths:n,currentMap:r}=this,i=!1,o=!1;null!==e?(i=t in r,r[t]=e,n[t]=(n[t]||0)+1,o=!0):(--n[t],n[t]||(delete r[t],delete this.callbackMap[t],i=!0)),this.masterCallback&&(i&&this.masterCallback(null,String(t)),o&&this.masterCallback(e,String(t)))}}createRef(t){let e=this.callbackMap[t];return e=e||(this.callbackMap[t]=e=>{this.handleValue(e,String(t))}),e}collect(e,t,n){return mt(this.currentMap,e,t,n)}getAll(){return ht(this.currentMap)}}function fo(e){var t;let n=0;for(t of De(e,".fc-scrollgrid-shrink"))n=Math.max(n,function(e){let 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}(t));return Math.ceil(n)}function go(e,t){return e.liquid&&t.liquid}function po(e,t){return null!=t.maxHeight||go(e,t)}function vo(e,t,n,r){var{expandRows:i}=n;return"function"==typeof t.content?t.content(n):E("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:i?n.clientHeight:""}},n.tableColGroupNode,E(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function mo(e,t){return yt(e,t,ft)}function yo(e,t){let n=[];for(var r of e){var i=r.span||1;for(let e=0;ee,mo),this.renderMicroColGroup=Ut(yo),this.scrollerRefs=new ho,this.scrollerElRefs=new ho(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){var{props:e,state:t,context:n}=this,r=e.sections||[],i=this.processCols(e.cols),o=this.renderMicroColGroup(i,t.shrinkWidth);let s=wo(e.liquid,n);e.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");var a=r.length;let l=0,d,c=[],u=[],h=[];for(;l{}},r);return E(r?"th":"td",{ref:n.elRef,role:"presentation"},E("div",{className:`fc-scroller-harness${d?" fc-scroller-harness-liquid":""}`},E(uo,{ref:this.scrollerRefs.createRef(l),elRef:this.scrollerElRefs.createRef(l),overflowY:o,overflowX:i.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:d,liquidIsAbsolute:!0},a)))}_handleScrollerEl(e,t){t=function(e,t){for(var n of e)if(n.key===t)return n;return null}(this.props.sections,t);t&&Hr(t.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return Eo(this.props.cols)?fo(this.scrollerElRefs.getAll()):0}computeScrollerDims(){var t,e,n=fr(),{scrollerRefs:r,scrollerElRefs:i}=this;let o=!1,s={},a={};for(t in r.currentMap){let e=r.currentMap[t];if(e&&e.needsYScrolling()){o=!0;break}}for(e of this.props.sections){var l=e.key,d=i.currentMap[l];if(d){let e=d.parentNode;s[l]=Math.floor(e.getBoundingClientRect().width-(o?n.y:0)),a[l]=Math.floor(e.getBoundingClientRect().height)}}return{forceYScrollbars:o,scrollerClientWidths:s,scrollerClientHeights:a}}}To.addStateEquality({scrollerClientWidths:ft,scrollerClientHeights:ft});class ko extends Nr{constructor(){super(...arguments),this.handleEl=e=>{(this.el=e)&&Zr(e,this.props.seg)}}render(){var e,{props:t,context:n}=this,{options:r}=n,{seg:i}=t,{eventRange:o}=i,{ui:s}=o,e={event:new Vr(n,o.def,o.instance),view:n.viewApi,timeText:t.timeText,textColor:s.textColor,backgroundColor:s.backgroundColor,borderColor:s.borderColor,isDraggable:!t.disableDragging&&function(e,t){var n,{pluginHooks:r}=t,r=r.isDraggableTransformers,{def:i,ui:o}=e.eventRange;let s=o.startEditable;for(n of r)s=n(s,i,o,t);return s}(i,n),isStartResizable:!t.disableResizing&&(s=n,(n=i).isStart&&n.eventRange.ui.durationEditable&&s.options.eventResizableFromStart),isEndResizable:!t.disableResizing&&((e=i).isEnd&&e.eventRange.ui.durationEditable),isMirror:Boolean(t.isDragging||t.isResizing||t.isDateSelecting),isStart:Boolean(i.isStart),isEnd:Boolean(i.isEnd),isPast:Boolean(t.isPast),isFuture:Boolean(t.isFuture),isToday:Boolean(t.isToday),isSelected:Boolean(t.isSelected),isDragging:Boolean(t.isDragging),isResizing:Boolean(t.isResizing)};return E(Li,Object.assign({},t,{elRef:this.handleEl,elClasses:[...function(e){let 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}(e),...i.eventRange.ui.classNames,...t.elClasses||[]],renderProps:e,generatorName:"eventContent",customGenerator:r.eventContent,defaultGenerator:t.defaultGenerator,classNameGenerator:r.eventClassNames,didMount:r.eventDidMount,willUnmount:r.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&Zr(this.el,this.props.seg)}}class Co extends Nr{render(){var{props:e,context:t}=this,{options:n}=t,{seg:r}=e,{ui:i}=r.eventRange,n=ti(r,n.eventTimeFormat||e.defaultTimeFormat,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return E(ko,Object.assign({},e,{elTag:"a",elStyle:{borderColor:i.borderColor,backgroundColor:i.backgroundColor},elAttrs:ii(r,t),defaultGenerator:Ro,timeText:n}),(e,t)=>E(_,null,E(e,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:t.textColor}}),Boolean(t.isStartResizable)&&E("div",{className:"fc-event-resizer fc-event-resizer-start"}),Boolean(t.isEndResizable)&&E("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function Ro(e){return E("div",{className:"fc-event-main-frame"},e.timeText&&E("div",{className:"fc-event-time"},e.timeText),E("div",{className:"fc-event-title-container"},E("div",{className:"fc-event-title fc-sticky"},e.event.title||E(_,null," "))))}const _o=n=>E(Mr.Consumer,null,e=>{var{options:t}=e,e={isAxis:n.isAxis,date:e.dateEnv.toDate(n.date),view:e.viewApi};return E(Li,Object.assign({},n,{elTag:n.elTag||"div",renderProps:e,generatorName:"nowIndicatorContent",customGenerator:t.nowIndicatorContent,classNameGenerator:t.nowIndicatorClassNames,didMount:t.nowIndicatorDidMount,willUnmount:t.nowIndicatorWillUnmount}))}),Mo=nn({day:"numeric"});class Io extends Nr{constructor(){super(...arguments),this.refineRenderProps=Wt(No)}render(){var{props:e,context:t}=this,{options:n}=t,r=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:n.monthStartFormat});return E(Li,Object.assign({},e,{elClasses:[...sr(r,t.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),r.isDisabled?{}:{"data-date":Lt(e.date)}),renderProps:r,generatorName:"dayCellContent",customGenerator:n.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.isDisabled?void 0:n.dayCellClassNames,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount}))}}function Oo(e){return Boolean(e.dayCellContent||Oi("dayCellContent",e))}function No(e){let{date:t,dateEnv:n,dateProfile:r,isMonthStart:i}=e;var o=or(t,e.todayRange,null,r),s=e.showDayNumber?n.format(t,i?e.monthStartFormat:Mo):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(t),view:e.viewApi},o),{isMonthStart:i,dayNumberText:s}),e.extraRenderProps)}class Ho extends Nr{render(){var{props:e}=this,{seg:t}=e;return E(ko,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:Po,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function Po(e){var{title:t}=e.event;return t&&E("div",{className:"fc-event-title"},e.event.title)}function Lo(e){return E("div",{className:`fc-${e}`})}const jo=i=>E(Mr.Consumer,null,e=>{let{dateEnv:t,options:n}=e;var{date:r}=i,e=n.weekNumberFormat||i.defaultFormat,r={num:t.computeWeekNumber(r),text:t.format(r,e),date:r};return E(Li,Object.assign({},i,{renderProps:r,generatorName:"weekNumberContent",customGenerator:n.weekNumberContent,defaultGenerator:zo,classNameGenerator:n.weekNumberClassNames,didMount:n.weekNumberDidMount,willUnmount:n.weekNumberWillUnmount}))});function zo(e){return e.text}class Bo extends Nr{constructor(){super(...arguments),this.state={titleId:Re()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&Hr(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{e=ke(e);this.rootEl.contains(e)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{"Escape"===e.key&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:t}=this.context;var{props:n,state:r}=this;let i=["fc-popover",e.getClass("popover")].concat(n.extraClassNames||[]);return re(E("div",Object.assign({},n.extraAttrs,{id:n.id,className:i.join(" "),"aria-labelledby":r.titleId,ref:this.handleRootEl}),E("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},E("span",{className:"fc-popover-title",id:r.titleId},n.title),E("span",{className:"fc-popover-close "+e.getIconClass("close"),title:t.closeHint,onClick:this.handleCloseClick})),E("div",{className:"fc-popover-body "+e.getClass("popoverContent")},n.children)),n.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){var{isRtl:e}=this.context,{alignmentEl:t,alignGridTop:n}=this.props;let{rootEl:r}=this;var i,o=function(e){var t,n=yr(e);let r=e.getBoundingClientRect();for(t of n){var i=Fn(r,t.getBoundingClientRect());if(!i)return null;r=i}return r}(t);o&&(i=r.getBoundingClientRect(),t=(n?we(t,".fc-scrollgrid").getBoundingClientRect():o).top,o=e?o.right-i.width:o.left,t=Math.max(t,10),o=Math.min(o,document.documentElement.clientWidth-10-i.width),o=Math.max(o,10),i=r.offsetParent.getBoundingClientRect(),Ae(r,{top:t-i.top,left:o-i.left}))}}class Uo extends Pr{constructor(){super(...arguments),this.handleRootEl=e=>{(this.rootEl=e)?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:r,dateEnv:e}=this.context,{props:i}=this;var{startDate:t,todayRange:n,dateProfile:o}=i;let s=e.format(t,r.dayPopoverFormat);return E(Io,{elRef:this.handleRootEl,date:t,dateProfile:o,todayRange:n},(e,t,n)=>E(Bo,{elRef:n.ref,id:i.id,title:s,extraClassNames:["fc-more-popover"].concat(n.className||[]),extraAttrs:n,parentEl:i.parentEl,alignmentEl:i.alignmentEl,alignGridTop:i.alignGridTop,onClose:i.onClose},Oo(r)&&E(e,{elTag:"div",elClasses:["fc-more-popover-misc"]}),i.children))}queryHit(e,t,n,r){var{rootEl:i,props:o}=this;return 0<=e&&e{this.linkEl=e,this.props.elRef&&Hr(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:i}=this,{moreLinkClick:n}=i.options;var r=Vo(t).start;function o(e){var{def:t,instance:n,range:r}=e.eventRange;return{event:new Vr(i,t,n),start:i.dateEnv.toDate(r.start),end:i.dateEnv.toDate(r.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof n&&(n=n({date:r,allDay:Boolean(t.allDayDate),allSegs:t.allSegs.map(o),hiddenSegs:t.hiddenSegs.map(o),jsEvent:e,view:i.viewApi})),n&&"popover"!==n?"string"==typeof n&&i.calendarApi.zoomTo(r,n):this.setState({isPopoverOpen:!0})},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:a,state:l}=this;return E(Mr.Consumer,null,e=>{var{viewApi:t,options:n,calendarApi:r}=e;let{moreLinkText:i}=n;var{moreCnt:o}=a,s=Vo(a),e="function"==typeof i?i.call(r,o):`+${o} ${i}`,r=Ye(n.moreLinkHint,[o],e),t={num:o,shortText:`+${o}`,text:e,view:t};return E(_,null,Boolean(a.moreCnt)&&E(Li,{elTag:a.elTag||"a",elRef:this.handleLinkEl,elClasses:[...a.elClasses||[],"fc-more-link"],elStyle:a.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},a.elAttrs),Ne(this.handleClick)),{title:r,"aria-expanded":l.isPopoverOpen,"aria-controls":l.isPopoverOpen?l.popoverId:""}),renderProps:t,generatorName:"moreLinkContent",customGenerator:n.moreLinkContent,defaultGenerator:a.defaultGenerator||Fo,classNameGenerator:n.moreLinkClassNames,didMount:n.moreLinkDidMount,willUnmount:n.moreLinkWillUnmount},a.children),l.isPopoverOpen&&E(Uo,{id:l.popoverId,startDate:s.start,endDate:s.end,dateProfile:a.dateProfile,todayRange:a.todayRange,extraDateSpan:a.extraDateSpan,parentEl:this.parentEl,alignmentEl:a.alignmentElRef?a.alignmentElRef.current:this.linkEl,alignGridTop:a.alignGridTop,forceTimed:a.forceTimed,onClose:this.handlePopoverClose},a.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=we(this.linkEl,".fc-view-harness"))}}function Fo(e){return e.text}function Vo(e){if(e.allDayDate)return{start:e.allDayDate,end:wt(e.allDayDate,1)};var{hiddenSegs:e}=e;return{start:Go(e),end:e.reduce(qo).eventRange.range.end}}function Go(e){return e.reduce(Qo).eventRange.range.start}function Qo(e,t){return e.eventRange.range.startt.eventRange.range.end?e:t}class Yo extends Nr{render(){let{props:e,context:t}=this;var{options:n}=t,r={view:t.viewApi};return E(Li,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...Zo(e.viewSpec),...e.elClasses||[]],renderProps:r,classNameGenerator:n.viewClassNames,generatorName:void 0,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount}),()=>e.children)}}function Zo(e){return[`fc-${e.type}-view`,"fc-view"]}const $o={id:String,defaultAllDay:Boolean,url:String,format:String,events:gn,eventDataTransform:gn,success:gn,failure:gn};function Xo(e,t,n=Jo(t)){let r;if("string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var{refined:i,extra:o}=fn(r,n),n=function(n,e){var r=e.pluginHooks.eventSourceDefs;for(let t=r.length-1;0<=t;--t){let e=r[t];var i=e.parseMeta(n);if(i)return{sourceDefId:t,meta:i}}return null}(i,t);if(n)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:Le(),sourceDefId:n.sourceDefId,meta:n.meta,ui:Tn(i,t),extendedProps:o}}return null}function Jo(e){return Object.assign(Object.assign(Object.assign({},Sn),$o),e.pluginHooks.eventSourceRefiners)}class Ko{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,t){let{currentDataManager:n}=this;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn(`Unknown listener name '${e}'`)}off(e,t){this.currentDataManager.emitter.off(e,t)}trigger(e,...t){this.currentDataManager.emitter.trigger(e,...t)}changeView(t,n){this.batchRendering(()=>{if(this.unselect(),n)if(n.start&&n.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:n});else{let{dateEnv:e}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t,dateMarker:e.createMarker(n)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t})})}zoomTo(e,t){t=this.getCurrentData().viewSpecs[t=t||"day"]||this.getUnitViewSpec(t);this.unselect(),t?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){var t,n,{viewSpecs:r,toolbarConfig:i}=this.getCurrentData();let o=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]),s;for(n in r)o.push(n);for(s=0;s{this.dispatch({type:"REMOVE_EVENTS",eventStore:Gr(e)})}})}getEventById(e){var t,n=this.getCurrentData(),{defs:r,instances:i}=n.eventStore;for(t in e=String(e),r){var o=r[t];if(o.publicId===e){if(o.recurringDef)return new Vr(n,o,null);for(var s in i){s=i[s];if(s.defId===o.defId)return new Vr(n,o,s)}}}return null}getEvents(){var e=this.getCurrentData();return Qr(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){var e,t=this.getCurrentData(),n=t.eventSources;let r=[];for(e in n)r.push(new Fr(t,n[e]));return r}getEventSourceById(e){var t,n=this.getCurrentData(),r=n.eventSources;for(t in e=String(e),r)if(r[t].publicId===e)return new Fr(n,r[t]);return null}addEventSource(e){var t=this.getCurrentData();if(e instanceof Fr)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;e=Xo(e,t);return e?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e]}),new Fr(t,e)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){e=Ke(e);e&&this.trigger("_scrollRequest",{time:e})}}var es={__proto__:null,BASE_OPTION_DEFAULTS:on,BaseComponent:Nr,BgEvent:Ho,CalendarImpl:Ko,CalendarRoot:Ci,ContentContainer:Li,CustomRenderingStore:class extends class{constructor(){this.handlers=[]}set(e){this.currentValue=e;for(var t of this.handlers)t(e)}subscribe(e){this.handlers.push(e),void 0!==this.currentValue&&e(this.currentValue)}}{constructor(){super(...arguments),this.map=new Map}handle(e){const{map:t}=this;let n=!1;e.isActive?(t.set(e.id,e),n=!0):t.has(e.id)&&(t.delete(e.id),n=!0),n&&this.set(t)}},DateComponent:Pr,DateEnv:fi,DateProfileGenerator:jr,DayCellContainer:Io,DayHeader:Fi,DaySeriesModel:Gi,DayTableModel:Qi,DelayedRunner:lo,ElementDragging:Si,ElementScrollController:Sr,Emitter:Er,EventContainer:ko,EventImpl:Vr,Interaction:wi,MoreLinkContainer:Wo,NamedTimeZoneImpl:class{constructor(e){this.timeZoneName=e}},NowIndicatorContainer:_o,NowTimer:Ui,PositionCache:wr,RefMap:ho,ScrollController:Dr,ScrollResponder:_r,Scroller:uo,SegHierarchy:gi,SimpleScrollGrid:To,Slicer:qi,Splitter:$n,StandardEvent:Co,TableDateCell:ji,TableDowCell:Bi,Theme:Tr,ViewContainer:Yo,ViewContextType:Mr,WeekNumberContainer:jo,WindowScrollController:Ar,addDays:wt,addDurations:tt,addMs:xt,addWeeks:Et,allowContextMenu:Fe,allowSelection:Ue,applyMutationToEventStore:Wr,applyStyle:Ae,asCleanDays:function(e){return e.years||e.months||e.milliseconds?0:e.days},asRoughMinutes:function(e){return it(e)/6e4},asRoughMs:it,asRoughSeconds:function(e){return it(e)/1e3},binarySearch:Ei,buildElAttrs:Ni,buildEntryKey:vi,buildEventApis:Qr,buildEventRangeKey:ri,buildIsoString:Pt,buildNavLinkAttrs:dr,buildSegTimeText:ti,collectFromHash:mt,combineEventUis:kn,compareByFieldSpecs:Ge,compareNumbers:Ze,compareObjs:vt,computeEarliestSegStart:Go,computeEdges:pr,computeFallbackHeaderFormat:Ri,computeInnerRect:vr,computeRect:mr,computeShrinkWidth:fo,computeVisibleDayRange:zn,config:Ai,constrainPoint:Vn,createDuration:Ke,createEmptyEventStore:En,createEventInstance:pn,createEventUi:Tn,createFormatter:nn,diffDates:Un,diffDayAndTime:At,diffDays:St,diffPoints:Qn,diffWeeks:Dt,diffWholeDays:kt,diffWholeWeeks:Tt,disableCursor:je,elementClosest:we,elementMatches:xe,enableCursor:ze,eventTupleToStore:yn,filterHash:dt,findDirectChildren:function(e,t){var n=e instanceof HTMLElement?[e]:e;let r=[];for(let e=0;e{var t,n=l.length,r=e.length;let i=0;for(;i{let t={};for(var n in e){var r;l[n]?yt(a[n],e[n])?t[n]=l[n]:(s&&s(l[n]),r=i.apply(this,e[n]),t[n]=o&&o(r,l[n])?l[n]:r):t[n]=i.apply(this,e[n])}return a=e,l=t,t}},memoizeObjArg:Wt,mergeEventStores:wn,multiplyDuration:nt,padStart:qe,parseBusinessHours:Ln,parseClassNames:Dn,parseDragMeta:ki,parseEventDef:Hn,parseFieldSpecs:Ve,parseMarker:hi,pointInsideRect:Wn,preventContextMenu:We,preventDefault:_e,preventSelection:Be,rangeContainsMarker:ir,rangeContainsRange:rr,rangesEqual:tr,rangesIntersect:nr,refineEventDef:On,refineProps:fn,removeElement:Ee,removeExact:function(e,t){let n=0,r=0;for(;ri&&null!==i[e]?i[e]:o&&null!==o[e]?o[e]:null,a=s("component"),l=s("superType"),d=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");d=us(l,t,n,r)}!a&&d&&(a=d.component);return a?{type:e,component:a,defaults:Object.assign(Object.assign({},d?d.defaults:{}),i?i.rawOptions:{}),overrides:Object.assign(Object.assign({},d?d.overrides:{}),o?o.rawOptions:{})}:null}(e,t,n,r);return r&&(t[e]=r),r}function hs(e){return ct(e,fs)}function fs(e){e="function"==typeof e?{component:e}:e;let{component:t}=e;return e.content?t=gs(e):!t||t.prototype instanceof Nr||(t=gs(Object.assign(Object.assign({},e),{content:t}))),{superType:e.type,component:t,rawOptions:e}}function gs(n){return t=>E(Mr.Consumer,null,e=>E(Li,{elTag:"div",elClasses:Zo(e.viewSpec),renderProps:Object.assign(Object.assign({},t),{nextDayThreshold:e.options.nextDayThreshold}),generatorName:void 0,customGenerator:n.content,classNameGenerator:n.classNames,didMount:n.didMount,willUnmount:n.willUnmount}))}function ps(e,t,n,r){e=hs(e);let i=hs(t.views);return ct(function(e,t){var n={};let r;for(r in e)us(r,n,e,t);for(r in t)us(r,n,e,t);return n}(e,i),e=>function(n,e,t,r,i){let o=n.overrides.duration||n.defaults.duration||r.duration||t.duration,s=null,a="",l="",d={};o&&(s=function(e){let t=JSON.stringify(e),n=vs[t];void 0===n&&(n=Ke(e),vs[t]=n);return n}(o),s&&(c=st(s),a=c.unit,1===c.value&&(l=a,d=e[a]?e[a].rawOptions:{})));var c=e=>{var t=e.buttonText||{},e=n.defaults.buttonTextKey;return null!=e&&null!=t[e]?t[e]:null!=t[n.type]?t[n.type]:null!=t[l]?t[l]:null},e=e=>{var t=e.buttonHints||{},e=n.defaults.buttonTextKey;return null!=e&&null!=t[e]?t[e]:null!=t[n.type]?t[n.type]:null!=t[l]?t[l]:null};return{type:n.type,component:n.component,duration:s,durationUnit:a,singleUnit:l,optionDefaults:n.defaults,optionOverrides:Object.assign(Object.assign({},d),n.overrides),buttonTextOverride:c(r)||c(t)||n.overrides.buttonText,buttonTextDefault:c(i)||n.defaults.buttonText||c(on)||n.type,buttonTitleOverride:e(r)||e(t)||n.overrides.buttonHint,buttonTitleDefault:e(i)||n.defaults.buttonHint||e(on)}}(e,i,t,n,r))}cs.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},cs.prototype.baseIconClass="fc-icon",cs.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"},cs.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},cs.prototype.iconOverrideOption="buttonIcons",cs.prototype.iconOverrideCustomButtonOption="icon",cs.prototype.iconOverridePrefix="fc-icon-";let vs={};function ms(e,t,n){t=t?t.activeRange:null;return Es({},function(e,t){let n=Jo(t),r=[].concat(e.eventSources||[]),i=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);for(var o of r){o=Xo(o,t,n);o&&i.push(o)}return i}(e,n),t,n)}function ys(e,t,n,r){var i,o,s=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Es(e,t.sources,s,r);case"REMOVE_EVENT_SOURCE":return i=e,o=t.sourceId,dt(i,e=>e.sourceId!==o);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?ws(e,s,r):e;case"FETCH_EVENT_SOURCES":return xs(e,t.sourceIds?ut(t.sourceIds):Ds(e,r),s,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,r){var i=e[t];if(i&&n===i.latestFetchId)return Object.assign(Object.assign({},e),{[t]:Object.assign(Object.assign({},i),{isFetching:!1,fetchRange:r})});return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function bs(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function Es(e,t,n,r){let i={};for(var o of t)i[o.sourceId]=o;return n&&(i=ws(i,n,r)),Object.assign(Object.assign({},e),i)}function ws(e,t,n){return xs(e,dt(e,e=>function(e,t,n){return Ss(e,n)?!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.starte.fetchRange.end:!e.latestFetchId}(e,t,n)),t,!1,n)}function xs(e,t,n,r,i){let o={};for(var s in e){var a=e[s];t[s]?o[s]=function(n,r,e,i){let{options:o,calendarApi:s}=i,t=i.pluginHooks.eventSourceDefs[n.sourceDefId],a=Le();return t.fetch({eventSource:n,range:r,isRefetch:e,context:i},e=>{let{rawEvents:t}=e;o.eventSourceSuccess&&(t=o.eventSourceSuccess.call(s,t,e.response)||t),n.success&&(t=n.success.call(s,t,e.response)||t),i.dispatch({type:"RECEIVE_EVENTS",sourceId:n.sourceId,fetchId:a,fetchRange:r,rawEvents:t})},e=>{let t=!1;o.eventSourceFailure&&(o.eventSourceFailure.call(s,e),t=!0),n.failure&&(n.failure(e),t=!0),t||console.warn(e.message,e),i.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:n.sourceId,fetchId:a,fetchRange:r,error:e})}),Object.assign(Object.assign({},n),{isFetching:!0,latestFetchId:a})}(a,n,r,i):o[s]=a}return o}function Ds(e,t){return dt(e,e=>Ss(e,t))}function Ss(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function As(e,t,n,r,i){return{header:e.headerToolbar?Ts(e.headerToolbar,e,t,n,r,i):null,footer:e.footerToolbar?Ts(e.footerToolbar,e,t,n,r,i):null}}function Ts(e,t,n,r,i,o){let s={},a=[],l=!1;for(var d in e){var c=function(e,l,t,d,c,u){let h="rtl"===l.direction,f=l.customButtons||{},g=t.buttonText||{},p=l.buttonText||{},v=t.buttonHints||{},m=l.buttonHints||{},n=e?e.split(" "):[],y=[],b=!1,r=n.map(e=>e.split(",").map(t=>{if("title"===t)return b=!0,{buttonName:t};let n;var e,r;let i,o,s,a;return(n=f[t])?(i=e=>{n.click&&n.click.call(e.target,e,e.target)},(o=d.getCustomButtonIconClass(n))||(o=d.getIconClass(t,h))||(s=n.text),a=n.hint||n.text):(e=c[t])?(y.push(t),i=()=>{u.changeView(t)},(s=e.buttonTextOverride)||(o=d.getIconClass(t,h))||(s=e.buttonTextDefault),r=e.buttonTextOverride||e.buttonTextDefault,a=Ye(e.buttonTitleOverride||e.buttonTitleDefault||l.viewHint,[r,t],r)):u[t]&&(i=()=>{u[t]()},(s=g[t])||(o=d.getIconClass(t,h))||(s=p[t]),a="prevYear"===t||"nextYear"===t?(r="prevYear"===t?"prev":"next",Ye(v[r]||m[r],[p.year||"year","year"],p[t])):e=>Ye(v[t]||m[t],[p[e]||e,e],p[t])),{buttonName:t,buttonClick:i,buttonIcon:o,buttonText:s,buttonHint:a}}));return{widgets:r,viewsWithButtons:y,hasTitle:b}}(e[d],t,n,r,i,o);s[d]=c.widgets,a.push(...c.viewsWithButtons),l=l||c.hasTitle}return{sectionWidgets:s,viewsWithButtons:a,hasTitle:l}}class ks{constructor(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}function Cs(t,n){let r=ht(n.getCurrentData().eventSources);if(1===r.length&&1===t.length&&Array.isArray(r[0]._raw)&&Array.isArray(t[0]))n.dispatch({type:"RESET_RAW_EVENTS",sourceId:r[0].sourceId,rawEvents:t[0]});else{let e=[];for(var i of t){let t=!1;for(let e=0;et({rawEvents:e}),n)}}]}),ls({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:gn,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta(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(e,n,t){var{meta:r}=e.eventSource,e=function(e,t,n){let{dateEnv:r,options:i}=n,o,s,a,l,d={};o=e.startParam,null==o&&(o=i.startParam);s=e.endParam,null==s&&(s=i.endParam);a=e.timeZoneParam,null==a&&(a=i.timeZoneParam);l="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};Object.assign(d,l),d[o]=r.formatIso(t.start),d[s]=r.formatIso(t.end),"local"!==r.timeZone&&(d[a]=r.timeZone);return d}(r,e.range,e.context);ao(r.method,r.url,e).then(([e,t])=>{n({rawEvents:e,response:t})},t)}}]}),ls({name:"simple-recurring-event",recurringTypes:[{parse(t,n){if(t.daysOfWeek||t.startTime||t.endTime||t.startRecur||t.endRecur){var r={daysOfWeek:t.daysOfWeek||null,startTime:t.startTime||null,endTime:t.endTime||null,startRecur:t.startRecur?n.createMarker(t.startRecur):null,endRecur:t.endRecur?n.createMarker(t.endRecur):null};let e;return t.duration&&(e=t.duration),!e&&t.startTime&&t.endTime&&(e=(i=t.endTime,n=t.startTime,{years:i.years-n.years,months:i.months-n.months,days:i.days-n.days,milliseconds:i.milliseconds-n.milliseconds})),{allDayGuess:Boolean(!t.startTime&&!t.endTime),duration:e,typeData:r}}var i;return null},expand(e,t,n){t=er(t,{start:e.startRecur,end:e.endRecur});return t?function(e,t,n,r){let i=e?ut(e):null,o=Ct(n.start),s=n.end,a=[];for(;obs(e.eventSources)],propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",Object.assign(Object.assign({},li(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){let{emitter:n}=t;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",Qr(e,t))}}})];class _s{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new lo(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:t}=this;for(;t.length;){let e=[];for(var n;n=t.shift();)this.runTask(n),e.push(n);this.drained(e)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function Ms(e,t,n){let r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,nn(t.titleFormat||function(e){var{currentRangeUnit:t}=e;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};e=kt(e.currentRange.start,e.currentRange.end);if(null!==e&&1(i&&yt(e,n)&&yt(t,r)||(i=ds(e,t)),n=e,r=t,i)}(),this.buildDateEnv=Ut(Os),this.buildTheme=Ut(Ns),this.parseToolbars=Ut(As),this.buildViewSpecs=Ut(ps),this.buildDateProfileGenerator=Wt(Hs),this.buildViewApi=Ut(Ps),this.buildViewUiProps=Wt(zs),this.buildEventUiBySource=Ut(Ls,ft),this.buildEventUiBases=Ut(js),this.parseContextBusinessHours=Wt(Us),this.buildTitle=Ut(Ms),this.emitter=new Er,this.actionRunner=new _s(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=e=>{this.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var t,n,r={},i=this.computeOptionsData(e.optionOverrides,r,e.calendarApi),o=i.calendarOptions.initialView||i.pluginHooks.initialView;let s=this.computeCurrentViewData(o,i,e.optionOverrides,r);(e.calendarApi.currentDataManager=this).emitter.setThisContext(e.calendarApi),this.emitter.setOptions(s.options);let a=(t=i.calendarOptions,l=i.dateEnv,null!=(n=t.initialDate)?l.createMarker(n):Lr(t.now,l));var l=s.dateProfileGenerator.build(a);ir(l.activeRange,a)||(a=l.currentRange.start);var d,c={dateEnv:i.dateEnv,options:i.calendarOptions,pluginHooks:i.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(d of i.pluginHooks.contextInit)d(c);var u,e=ms(i.calendarOptions,l,c),h={dynamicOptionOverrides:r,currentViewType:o,currentDate:a,dateProfile:l,businessHours:this.parseContextBusinessHours(c),eventSources:e,eventUiBases:{},eventStore:En(),renderableEventStore:En(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(c).selectionConfig},f=Object.assign(Object.assign({},c),h);for(u of i.pluginHooks.reducers)Object.assign(h,u(null,null,f));Bs(h,c)&&this.emitter.trigger("loading",!0),this.state=h,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:n}=this;void 0===t?n.optionOverrides=e:(n.optionOverrides=Object.assign(Object.assign({},n.optionOverrides||{}),e),this.optionsForRefining.push(...t)),void 0!==t&&!t.length||this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:t,state:n,emitter:r}=this;var i=(h=n.dynamicOptionOverrides,"SET_OPTION"!==(f=e).type?h:Object.assign(Object.assign({},h),{[f.optionName]:f.rawOptionValue})),o=this.computeOptionsData(t.optionOverrides,i,t.calendarApi),s=(p=n.currentViewType,p="CHANGE_VIEW_TYPE"===(g=e).type?g.viewType:p);let a=this.computeCurrentViewData(s,o,t.optionOverrides,i);t.calendarApi.currentDataManager=this,r.setThisContext(t.calendarApi),r.setOptions(a.options);var l={dateEnv:o.dateEnv,options:o.calendarOptions,pluginHooks:o.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:r,getCurrentData:this.getCurrentData};let{currentDate:d,dateProfile:c}=n;this.data&&this.data.dateProfileGenerator!==a.dateProfileGenerator&&(c=a.dateProfileGenerator.build(d)),d=(v=d,"CHANGE_DATE"!==(m=e).type?v:m.dateMarker),c=function(e,t,n,r){let i;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if(i=r.buildPrev(e,n),i.isValid)return i;break;case"NEXT":if(i=r.buildNext(e,n),i.isValid)return i}return e}(c,e,d,a.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&ir(c.currentRange,d)||(d=c.currentRange.start);var u,h=ys(n.eventSources,e,c,l),f=Zi(n.eventStore,e,h,c,l),g=bs(h)&&!a.options.progressiveEventRendering&&n.renderableEventStore||f,{eventUiSingleBase:p,selectionConfig:v}=this.buildViewUiProps(l),m=this.buildEventUiBySource(h),m=this.buildEventUiBases(g.defs,p,m),y={dynamicOptionOverrides:i,currentViewType:s,currentDate:d,dateProfile:c,eventSources:h,eventStore:f,renderableEventStore:g,selectionConfig:v,eventUiBases:m,businessHours:this.parseContextBusinessHours(l),dateSelection:function(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}(n.dateSelection,e),eventSelection:function(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}(n.eventSelection,e),eventDrag:function(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}}(n.eventDrag,e),eventResize:function(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}}(n.eventResize,e)},b=Object.assign(Object.assign({},l),y);for(u of o.pluginHooks.reducers)Object.assign(y,u(n,e,b));o=Bs(n,l),l=Bs(y,l);!o&&l?r.trigger("loading",!0):o&&!l&&r.trigger("loading",!1),this.state=y,t.onAction&&t.onAction(e)}updateData(){let{props:e,state:t}=this;var n=this.data,r=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),i=this.computeCurrentViewData(t.currentViewType,r,e.optionOverrides,t.dynamicOptionOverrides);let o=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(t.dateProfile,i.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),i),t),s=r.pluginHooks.optionChangeHandlers;var a,l=n&&n.calendarOptions,d=r.calendarOptions;if(l&&l!==d)for(var c in l.timeZone!==d.timeZone&&(t.eventSources=o.eventSources=(a=o.eventSources,i=t.dateProfile,r=o,i=i?i.activeRange:null,xs(a,Ds(a,r),i,!0,r)),t.eventStore=o.eventStore=Ji(o.eventStore,n.dateEnv,o.dateEnv),t.renderableEventStore=o.renderableEventStore=Ji(o.renderableEventStore,n.dateEnv,o.dateEnv)),s)-1===this.optionsForHandling.indexOf(c)&&l[c]===d[c]||s[c](d[c],o);this.optionsForHandling=[],e.onData&&e.onData(o)}computeOptionsData(e,t,n){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;var{refinedOptions:r,pluginHooks:i,localeDefaults:o,availableLocaleData:s,extra:a}=this.processRawCalendarOptions(e,t);Ws(a);e=this.buildDateEnv(r.timeZone,r.locale,r.weekNumberCalculation,r.firstDay,r.weekText,i,s,r.defaultRangeSeparator),t=this.buildViewSpecs(i.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,o),a=this.buildTheme(r,i),n=this.parseToolbars(r,this.stableOptionOverrides,a,t,n);return this.stableCalendarOptionsData={calendarOptions:r,pluginHooks:i,dateEnv:e,viewSpecs:t,theme:a,toolbarConfig:n,localeDefaults:o,availableRawLocales:s.map}}processRawCalendarOptions(e,t){var{locales:n,locale:r}=hn([on,e,t]),i=this.organizeRawLocales(n),n=i.map,r=this.buildLocale(r||i.defaultCode,n).options,n=this.buildPluginHooks(e.plugins||[],Rs);let o=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},rn),sn),an),n.listenerRefiners),n.optionRefiners),s={};var a=hn([on,r,e,t]);let l={};var d,c=this.currentCalendarOptionsInput,u=this.currentCalendarOptionsRefined;let h=!1;for(d in a)-1===this.optionsForRefining.indexOf(d)&&(a[d]===c[d]||ln[d]&&d in c&&ln[d](c[d],a[d]))?l[d]=u[d]:o[d]?(l[d]=o[d](a[d]),h=!0):s[d]=c[d];return h&&(this.currentCalendarOptionsInput=a,this.currentCalendarOptionsRefined=l,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:n,availableLocaleData:i,localeDefaults:r,extra:s}}_computeCurrentViewData(e,t,n,r){var i=t.viewSpecs[e];if(!i)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);var{refinedOptions:n,extra:r}=this.processRawViewOptions(i,t.pluginHooks,t.localeDefaults,n,r);return Ws(r),{viewSpec:i,options:n,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:i.optionDefaults.dateProfileGeneratorClass,duration:i.duration,durationUnit:i.durationUnit,usesMinMaxTime:i.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:n.slotMinTime,slotMaxTime:n.slotMaxTime,showNonCurrentDates:n.showNonCurrentDates,dayCount:n.dayCount,dateAlignment:n.dateAlignment,dateIncrement:n.dateIncrement,hiddenDays:n.hiddenDays,weekends:n.weekends,nowInput:n.now,validRangeInput:n.validRange,visibleRangeInput:n.visibleRange,fixedWeekCount:n.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}}processRawViewOptions(e,t,n,r,i){var o=hn([on,e.optionDefaults,n,r,e.optionOverrides,i]);let s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},rn),sn),an),un),t.listenerRefiners),t.optionRefiners),a={};var l,d=this.currentViewOptionsInput,c=this.currentViewOptionsRefined;let u=!1,h={};for(l in o)o[l]===d[l]||ln[l]&&ln[l](o[l],d[l])?a[l]=c[l]:(o[l]===this.currentCalendarOptionsInput[l]||ln[l]&&ln[l](o[l],this.currentCalendarOptionsInput[l])?l in this.currentCalendarOptionsRefined&&(a[l]=this.currentCalendarOptionsRefined[l]):s[l]?a[l]=s[l](o[l]):h[l]=o[l],u=!0);return u&&(this.currentViewOptionsInput=o,this.currentViewOptionsRefined=a),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:h}}}function Os(e,t,n,r,i,o,s,a){s=ss(t||s.defaultCode,s.map);return new fi({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:s,weekNumberCalculation:n,firstDay:r,weekText:i,cmdFormatter:o.cmdFormatter,defaultSeparator:a})}function Ns(e,t){let n=t.themeClasses[e.themeSystem]||cs;return new n(e)}function Hs(e){let t=e.dateProfileGeneratorClass||jr;return new t(e)}function Ps(e,t,n){return new ks(e,t,n)}function Ls(e){return ct(e,e=>e.ui)}function js(e,t,n){let r={"":t};for(var i in e){var o=e[i];o.sourceId&&n[o.sourceId]&&(r[i]=n[o.sourceId])}return r}function zs(e){var{options:t}=e;return{eventUiSingleBase:Tn({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:Tn({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function Bs(e,t){for(var n of t.pluginHooks.isLoadingFuncs)if(n(e))return!0;return!1}function Us(e){return Ln(e.options.businessHours,e)}function Ws(e,t){for(var n in e)console.warn(`Unknown option '${n}'`+(t?` for view '${t}'`:""))}class Fs extends Nr{render(){return E("div",{className:"fc-toolbar-chunk"},...this.props.widgetGroups.map(e=>this.renderWidgetGroup(e)))}renderWidgetGroup(e){var s,{props:a}=this;let{theme:l}=this.context,d=[],c=!0;for(s of e){let{buttonName:t,buttonClick:n,buttonText:r,buttonIcon:i,buttonHint:o}=s;if("title"===t)c=!1,d.push(E("h2",{className:"fc-toolbar-title",id:a.titleId},a.title));else{var u=t===a.activeButton,h=!a.isTodayEnabled&&"today"===t||!a.isPrevEnabled&&"prev"===t||!a.isNextEnabled&&"next"===t;let e=[`fc-${t}-button`,l.getClass("button")];u&&e.push(l.getClass("buttonActive")),d.push(E("button",{type:"button",title:"function"==typeof o?o(a.navUnit):o,disabled:h,"aria-pressed":u,className:e.join(" "),onClick:n},r||(i?E("span",{className:i}):"")))}}return 1{this.el=e,Hr(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){var{props:e,state:t}=this,{aspectRatio:n}=e;let r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],i="",o="";return n?null!==t.availableWidth?i=t.availableWidth/n:o=`${1/n*100}%`:i=e.height||"",E("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:i,paddingBottom:o}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class Qs extends wi{constructor(e){super(e),this.handleSegClick=(t,n)=>{let{component:r}=this,{context:i}=r;var o=$r(n);if(o&&r.isValidSegDownEl(t.target)){let e=we(t.target,".fc-event-forced-url");var s=e?e.querySelector("a[href]").href:"";i.emitter.trigger("eventClick",{el:n,event:new Vr(r.context,o.eventRange.def,o.eventRange.instance),jsEvent:t,view:i.viewApi}),s&&!t.defaultPrevented&&(window.location.href=s)}},this.destroy=Me(e.el,"click",".fc-event",this.handleSegClick)}}class qs extends wi{constructor(e){super(e),this.handleEventElRemove=e=>{e===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(e,t)=>{$r(t)&&(this.currentSegEl=t,this.triggerEvent("eventMouseEnter",e,t))},this.handleSegLeave=(e,t)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",e,t))},this.removeHoverListeners=function(e,t,r,i){let o;return Me(e,"mouseover",t,(e,n)=>{if(n!==o){o=n,r(e,n);let t=e=>{o=null,i(e,n),n.removeEventListener("mouseleave",t)};n.addEventListener("mouseleave",t)}})}(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,n){let{component:r}=this,{context:i}=r;var o=$r(n);t&&!r.isValidSegDownEl(t.target)||i.emitter.trigger(e,{el:n,event:new Vr(i,o.eventRange.def,o.eventRange.instance),jsEvent:t,view:i.viewApi})}}class Ys extends Or{constructor(){super(...arguments),this.buildViewContext=Ut(Ir),this.buildViewPropTransformers=Ut($s),this.buildToolbarProps=Ut(Zs),this.headerRef=s(),this.footerRef=s(),this.interactionsStore={},this.state={viewLabelId:Re()},this.registerInteractiveComponent=(e,t)=>{let n={component:e,el:(t=t).el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null};let r=[Qs,qs],i=r.concat(this.props.pluginHooks.componentInteractions);t=i.map(e=>new e(n));this.interactionsStore[e.uid]=t,Di[e.uid]=n},this.unregisterInteractiveComponent=e=>{var t=this.interactionsStore[e.uid];if(t){for(var n of t)n.destroy();delete this.interactionsStore[e.uid]}delete Di[e.uid]},this.resizeRunner=new lo(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{var{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){var{props:e}=this,{toolbarConfig:t,options:n}=e,r=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,Lr(e.options.now,e.dateEnv),e.viewTitle);let i=!1,o="",s;e.isHeightAuto||e.forPrint?o="":null!=n.height?i=!0:null!=n.contentHeight?o=n.contentHeight:s=Math.max(n.aspectRatio,.5);var a=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),n=t.header&&t.header.hasTitle?this.state.viewLabelId:"";return E(Mr.Provider,{value:a},t.header&&E(Vs,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:t.header,titleId:n},r)),E(Gs,{liquid:i,height:o,aspectRatio:s,labeledById:n},this.renderView(e),this.buildAppendContent()),t.footer&&E(Vs,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:t.footer,titleId:""},r)))}componentDidMount(){let{props:t}=this;this.calendarInteractions=t.pluginHooks.calendarInteractions.map(e=>new e(t)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:e}=t.pluginHooks;for(var n in e)e[n](t[n],t)}componentDidUpdate(e){var t,{props:n}=this;let{propSetHandlers:r}=n.pluginHooks;for(t in r)n[t]!==e[t]&&r[t](n[t],n)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:t}=this;return E(_,{},...t.pluginHooks.viewContainerAppends.map(e=>e(t)))}renderView(e){var t,{pluginHooks:n}=e,{viewSpec:r}=e,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint};for(t of this.buildViewPropTransformers(n.viewPropsTransformers))Object.assign(i,t.transform(i,e));return E(r.component,Object.assign({},i))}}function Zs(e,t,n,r,i,o){var s=n.build(i,void 0,!1),a=n.buildPrev(t,r,!1),r=n.buildNext(t,r,!1);return{title:o,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:s.isValid&&!ir(t.currentRange,i),isPrevEnabled:a.isValid,isNextEnabled:r.isValid}}function $s(e){return e.map(e=>new e)}function Xs(e){var t=ss(e.locale||"en",os([]).map);return new fi(Object.assign(Object.assign({timeZone:on.timeZone,calendarSystem:"gregory"},e),{locale:t}))}Ai.touchMouseIgnoreWait=500;let Js=0,Ks=0,ea=!1;class ta{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=e=>{var t;this.shouldIgnoreMouse()||(0!==(t=e).button||t.ctrlKey)||!this.tryStart(e)||(e=this.createEventFromMouse(e,!0),this.emitter.trigger("pointerdown",e),this.initScrollWatch(e),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp))},this.handleMouseMove=e=>{e=this.createEventFromMouse(e);this.recordCoords(e),this.emitter.trigger("pointermove",e)},this.handleMouseUp=e=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(e)),this.cleanup()},this.handleTouchStart=t=>{if(this.tryStart(t)){this.isTouchDragging=!0;var n=this.createEventFromTouch(t,!0);this.emitter.trigger("pointerdown",n),this.initScrollWatch(n);let e=t.target;this.shouldIgnoreMove||e.addEventListener("touchmove",this.handleTouchMove),e.addEventListener("touchend",this.handleTouchEnd),e.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=e=>{e=this.createEventFromTouch(e);this.recordCoords(e),this.emitter.trigger("pointermove",e)},this.handleTouchEnd=t=>{if(this.isDragging){let e=t.target;e.removeEventListener("touchmove",this.handleTouchMove),e.removeEventListener("touchend",this.handleTouchEnd),e.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(t)),this.cleanup(),this.isTouchDragging=!1,Js+=1,setTimeout(()=>{--Js},Ai.touchMouseIgnoreWait)}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=e=>{var t,n;this.shouldIgnoreMove||(t=window.pageXOffset-this.prevScrollX+this.prevPageX,n=window.pageYOffset-this.prevScrollY+this.prevPageY,this.emitter.trigger("pointermove",{origEvent:e,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:t,pageY:n,deltaX:t-this.origPageX,deltaY:n-this.origPageY}))},this.containerEl=e,this.emitter=new Er,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),Ks+=1,1===Ks&&window.addEventListener("touchmove",na,{passive:!1})}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),--Ks,Ks||window.removeEventListener("touchmove",na,{passive:!1})}tryStart(e){var t=this.querySubjectEl(e),e=e.target;return!(!t||this.handleSelector&&!we(e,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,!(this.wasTouchScroll=!1))}cleanup(){ea=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?we(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return Js||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(ea=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,t){let n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}}createEventFromTouch(e,t){var n=e.touches;let r,i,o=0,s=0;return i=n&&n.length?(r=n[0].pageX,n[0].pageY):(r=e.pageX,e.pageY),t?(this.origPageX=r,this.origPageY=i):(o=r-this.origPageX,s=i-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:r,pageY:i,deltaX:o,deltaY:s}}}function na(e){ea&&e.preventDefault()}class ra{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,t){var n=()=>{this.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(n,this.revertDuration):setTimeout(n,0)}doRevertAnimation(e,t){let n=this.mirrorEl;var r=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",Ae(n,{left:r.left,top:r.top}),Oe(n,()=>{n.style.transition="",e()})}cleanup(){this.mirrorEl&&(Ee(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&Ae(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){var e=this.sourceElRect;let t=this.mirrorEl;return t||(t=this.mirrorEl=this.sourceEl.cloneNode(!0),t.style.userSelect="none",t.classList.add("fc-event-dragging"),Ae(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t}}class ia extends Dr{constructor(e,t){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=t,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class oa extends ia{constructor(e,t){super(new Sr(e),t)}getEventTarget(){return this.scrollController.el}computeClientRect(){return vr(this.scrollController.el)}}class sa extends ia{constructor(e){super(new Ar,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}const aa=("function"==typeof performance?performance:Date).now;class la{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{var e,t;this.isAnimating&&((e=this.computeBestEdge(this.pointerScreenX+window.pageXOffset,this.pointerScreenY+window.pageYOffset))?(t=aa(),this.handleSide(e,(t-this.msSinceRequest)/1e3),this.requestAnimation(t)):this.isAnimating=!1)}}start(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))}handleMove(e,t){var n,r;this.isEnabled&&(n=e-window.pageXOffset,r=t-window.pageYOffset,e=null===this.pointerScreenY?0:r-this.pointerScreenY,t=null===this.pointerScreenX?0:n-this.pointerScreenX,e<0?this.everMovedUp=!0:0l)&&(i={scrollCache:n,name:"top",distance:l}),o<=r&&this.everMovedDown&&n.canScrollDown()&&(!i||i.distance>o)&&(i={scrollCache:n,name:"bottom",distance:o}),s<=r&&this.everMovedLeft&&n.canScrollLeft()&&(!i||i.distance>s)&&(i={scrollCache:n,name:"left",distance:s}),a<=r&&this.everMovedRight&&n.canScrollRight()&&(!i||i.distance>a)&&(i={scrollCache:n,name:"right",distance:a}))}return i}buildCaches(e){return this.queryScrollEls(e).map(e=>e===window?new sa(!1):new oa(e,!1))}queryScrollEls(e){let t=[];for(var n of this.scrollQuery)"object"==typeof n?t.push(n):t.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(n)));return t}}class da extends Si{constructor(e,t){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=e=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,Be(document.body),We(document.body),e.isTouch||e.origEvent.preventDefault(),this.emitter.trigger("pointerdown",e),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(e.subjectEl,e.pageX,e.pageY),this.startDelay(e),this.minDistance||this.handleDistanceSurpassed(e)))},this.onPointerMove=e=>{var t,n,r;this.isInteracting&&(this.emitter.trigger("pointermove",e),this.isDistanceSurpassed||({deltaX:n,deltaY:r}=e,(t=this.minDistance)*t<=n*n+r*r&&this.handleDistanceSurpassed(e)),this.isDragging&&("scroll"!==e.origEvent.type&&(this.mirror.handleMove(e.pageX,e.pageY),this.autoScroller.handleMove(e.pageX,e.pageY)),this.emitter.trigger("dragmove",e)))},this.onPointerUp=e=>{this.isInteracting&&(this.isInteracting=!1,Ue(document.body),Fe(document.body),this.emitter.trigger("pointerup",e),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(e)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let n=this.pointer=new ta(e);n.emitter.on("pointerdown",this.onPointerDown),n.emitter.on("pointermove",this.onPointerMove),n.emitter.on("pointerup",this.onPointerUp),t&&(n.selector=t),this.mirror=new ra,this.autoScroller=new la}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){"number"==typeof this.delay?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class ca{constructor(e){this.origRect=mr(e),this.scrollCaches=yr(e).map(e=>new oa(e,!0))}destroy(){for(var e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(var t of this.scrollCaches)e+=t.origScrollLeft-t.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(var t of this.scrollCaches)e+=t.origScrollTop-t.getScrollTop();return e}isWithinClipping(e,t){var n,r={left:e,top:t};for(n of this.scrollCaches)if(!function(e){e=e.tagName;return"HTML"===e||"BODY"===e}(n.getEventTarget())&&!Wn(r,n.clientRect))return!1;return!0}}class ua{constructor(e,t){this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=e=>{let{dragging:t}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(e),this.initialHit||!this.requireInitial?(t.setIgnoreMove(!1),this.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=e=>{this.emitter.trigger("dragstart",e),this.handleMove(e,!0)},this.handleDragMove=e=>{this.emitter.trigger("dragmove",e),this.handleMove(e)},this.handlePointerUp=e=>{this.releaseHits(),this.emitter.trigger("pointerup",e)},this.handleDragEnd=e=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,e),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new Er}processFirstCoord(e){var t={left:e.pageX,top:e.pageY};let n=t;e=e.subjectEl;let r;e instanceof HTMLElement&&(r=mr(e),n=Vn(n,r));e=this.initialHit=this.queryHitForOffset(n.left,n.top);e?(this.useSubjectCenter&&r&&((e=Fn(r,e.rect))&&(n=Gn(e))),this.coordAdjust=Qn(n,t)):this.coordAdjust={left:0,top:0}}handleMove(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&ha(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))}prepareHits(){this.offsetTrackers=ct(this.droppableStore,e=>(e.component.prepareHits(),new ca(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(var t in e)e[t].destroy();this.offsetTrackers={}}queryHitForOffset(n,r){var i,{droppableStore:o,offsetTrackers:s}=this;let a=null;for(i in o){let t=o[i].component,e=s[i];if(e&&e.isWithinClipping(n,r)){var l=e.computeLeft(),d=e.computeTop(),c=n-l,u=r-d,{origRect:h}=e,f=h.right-h.left,h=h.bottom-h.top;if(0<=c&&ca.layer)&&(e.componentId=i,e.context=t.context,e.rect.left+=l,e.rect.right+=l,e.rect.top+=d,e.rect.bottom+=d,a=e)}}}return a}}function ha(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&ai(e.dateSpan,t.dateSpan)}function fa(e,t){var n,r,i,o={};for(n of t.pluginHooks.datePointTransforms)Object.assign(o,n(e,t));return Object.assign(o,(r=e,{date:(i=t.dateEnv).toDate(r.range.start),dateStr:i.formatIso(r.range.start,{omitTime:r.allDay}),allDay:r.allDay})),o}class ga extends wi{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{var t=e.origEvent.target;let{component:n,dragging:r}=this,{mirror:i}=r;var{options:o}=n.context;let s=n.context;this.subjectEl=e.subjectEl;var a=this.subjectSeg=$r(e.subjectEl),a=(this.eventRange=a.eventRange).instance.instanceId;this.relevantEvents=bn(s.getCurrentData().eventStore,a),r.minDistance=e.isTouch?0:o.eventDragMinDistance,r.delay=e.isTouch&&a!==n.props.eventSelection?function(e){let{options:t}=e.context,n=t.eventLongPressDelay;null==n&&(n=t.longPressDelay);return n}(n):null,o.fixedMirrorParent?i.parentNode=o.fixedMirrorParent:i.parentNode=we(t,".fc"),i.revertDuration=o.dragRevertDuration;t=n.isValidSegDownEl(t)&&!we(t,".fc-event-resizer");r.setIgnoreMove(!t),this.isDragging=t&&e.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=e=>{let t=this.component.context;var n=this.eventRange,r=n.instance.instanceId;e.isTouch?r!==this.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:r}):t.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new Vr(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},this.handleHitUpdate=(o,s)=>{if(this.isDragging){var a,l=this.relevantEvents,d=this.hitDragging.initialHit,c=this.component.context;let e=null,t=null,n=null,r=!1,i={affectedEvents:l,mutatedEvents:En(),isEvent:!0};o&&(e=o.context,a=e.options,c===e||a.editable&&a.droppable?(t=function(e,t,n){let r=e.dateSpan,i=t.dateSpan,o=r.range.start,s=i.range.start,a={};r.allDay!==i.allDay&&(a.allDay=i.allDay,a.hasEnd=t.context.options.allDayMaintainDuration,i.allDay&&(o=Ct(o)));var l=Un(o,s,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);l.milliseconds&&(a.allDay=!1);var d={datesDelta:l,standardProps:a};for(var c of n)c(d,e,t);return d}(d,o,e.getCurrentData().pluginHooks.eventDragMutationMassagers),t&&(n=Wr(l,e.getCurrentData().eventUiBases,t,e),i.mutatedEvents=n,eo(i,o.dateProfile,e)||(r=!0,t=null,n=null,i.mutatedEvents=En()))):e=null),this.displayDrag(e,i),(r?je:ze)(),s||(c===e&&ha(d,o)&&(t=null),this.dragging.setMirrorNeedsRevert(!t),this.dragging.setMirrorIsVisible(!o||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=e,this.validMutation=t,this.mutatedRelevantEvents=n)}},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=o=>{if(this.isDragging){let e=this.component.context;var s=e.viewApi;let{receivingContext:t,validMutation:n}=this;var a=this.eventRange.def,l=this.eventRange.instance,d=new Vr(e,a,l);let r=this.relevantEvents,i=this.mutatedRelevantEvents;var{finalHit:c}=this.hitDragging;if(this.clearDrag(),e.emitter.trigger("eventDragStop",{el:this.subjectEl,event:d,jsEvent:o.origEvent,view:s}),n)if(t===e){var u=new Vr(e,i.defs[a.defId],l?i.instances[l.instanceId]:null);e.dispatch({type:"MERGE_EVENTS",eventStore:i});var h,u={oldEvent:d,event:u,relatedEvents:Qr(i,e,l),revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:r})}},f={};for(h of e.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(f,h(n,e));e.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},u),f),{el:o.subjectEl,delta:n.datesDelta,jsEvent:o.origEvent,view:s})),e.emitter.trigger("eventChange",u)}else t&&(d={event:d,relatedEvents:Qr(r,e,l),revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:r})}},e.emitter.trigger("eventLeave",Object.assign(Object.assign({},d),{draggedEl:o.subjectEl,view:s})),e.dispatch({type:"REMOVE_EVENTS",eventStore:r}),e.emitter.trigger("eventRemove",d),d=i.defs[a.defId],a=i.instances[l.instanceId],d=new Vr(t,d,a),t.dispatch({type:"MERGE_EVENTS",eventStore:i}),a={event:d,relatedEvents:Qr(i,t,a),revert(){t.dispatch({type:"REMOVE_EVENTS",eventStore:i})}},t.emitter.trigger("eventAdd",a),o.isTouch&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:l.instanceId}),t.emitter.trigger("drop",Object.assign(Object.assign({},fa(c.dateSpan,t)),{draggedEl:o.subjectEl,jsEvent:o.origEvent,view:c.context.viewApi})),t.emitter.trigger("eventReceive",Object.assign(Object.assign({},a),{draggedEl:o.subjectEl,view:c.context.viewApi})));else e.emitter.trigger("_noEventDrop")}this.cleanup()};var{component:t}=this,{options:t}=t.context;let n=this.dragging=new da(e.el);n.pointer.selector=ga.SELECTOR,n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.dragScroll;let r=this.hitDragging=new ua(this.dragging,Di);r.useSubjectCenter=e.useEventCenter,r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("pointerup",this.handlePointerUp),r.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,t){var n=this.component.context;let r=this.receivingContext;r&&r!==e&&(r===n?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:En(),isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){let e=this.component.context,{receivingContext:t}=this;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}ga.SELECTOR=".fc-event-draggable, .fc-event-resizable";var pa={fixedMirrorParent:gn},va={dateClick:gn,eventDragStart:gn,eventDragStop:gn,eventDrop:gn,eventResizeStart:gn,eventResizeStop:gn,eventResize:gn,drop:gn,eventReceive:gn,eventLeave:gn};class ma{constructor(e,t){this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=e=>{this.dragMeta=this.buildDragMeta(e.subjectEl)},this.handleHitUpdate=(e,t,n)=>{let{dragging:r}=this.hitDragging,i=null,o=null,s=!1,a={affectedEvents:En(),mutatedEvents:En(),isEvent:this.dragMeta.create};e&&(i=e.context,this.canDropElOnCalendar(n.subjectEl,i)&&(o=function(e,t,n){var r=Object.assign({},t.leftoverProps);for(var i of n.pluginHooks.externalDefTransforms)Object.assign(r,i(e,t));let{refined:o,extra:s}=On(r,n),a=Hn(o,s,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),l=e.range.start;e.allDay&&t.startTime&&(l=n.dateEnv.add(l,t.startTime));n=t.duration?n.dateEnv.add(l,t.duration):Ur(e.allDay,l,n),n=pn(a.defId,{start:l,end:n});return{def:a,instance:n}}(e.dateSpan,this.dragMeta,i),a.mutatedEvents=yn(o),s=!eo(a,e.dateProfile,i),s&&(a.mutatedEvents=En(),o=null))),this.displayDrag(i,a),r.setMirrorIsVisible(t||!o||!document.querySelector(".fc-event-mirror")),(s?je:ze)(),t||(r.setMirrorNeedsRevert(!o),this.receivingContext=i,this.droppableEvent=o)},this.handleDragEnd=t=>{let{receivingContext:n,droppableEvent:r}=this;if(this.clearDrag(),n&&r){var e=this.hitDragging.finalHit,i=e.context.viewApi,o=this.dragMeta;if(n.emitter.trigger("drop",Object.assign(Object.assign({},fa(e.dateSpan,n)),{draggedEl:t.subjectEl,jsEvent:t.origEvent,view:i})),o.create){let e=yn(r);n.dispatch({type:"MERGE_EVENTS",eventStore:e}),t.isTouch&&n.dispatch({type:"SELECT_EVENT",eventInstanceId:r.instance.instanceId}),n.emitter.trigger("eventReceive",{event:new Vr(n,r.def,r.instance),relatedEvents:[],revert(){n.dispatch({type:"REMOVE_EVENTS",eventStore:e})},draggedEl:t.subjectEl,view:i})}}this.receivingContext=null,this.droppableEvent=null};let n=this.hitDragging=new ua(e,Di);n.requireInitial=!1,n.emitter.on("dragstart",this.handleDragStart),n.emitter.on("hitupdate",this.handleHitUpdate),n.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}buildDragMeta(e){return"object"==typeof this.suppliedDragMeta?ki(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?ki(this.suppliedDragMeta(e)):function(e){e=function(e,t){var n=Ai.dataAttrPrefix,t=(n?n+"-":"")+t;return e.getAttribute("data-"+t)||""}(e,"event"),e=e?JSON.parse(e):{create:!1};return ki(e)}(e)}displayDrag(e,t){let n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})}canDropElOnCalendar(e,t){let n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean(xe(e,n))}}Ai.dataAttrPrefix="";class ya extends Si{constructor(e){super(e),this.shouldIgnoreMove=!1,this.mirrorSelector="",this.currentMirrorEl=null,this.handlePointerDown=e=>{this.emitter.trigger("pointerdown",e),this.shouldIgnoreMove||this.emitter.trigger("dragstart",e)},this.handlePointerMove=e=>{this.shouldIgnoreMove||this.emitter.trigger("dragmove",e)},this.handlePointerUp=e=>{this.emitter.trigger("pointerup",e),this.shouldIgnoreMove||this.emitter.trigger("dragend",e)};let t=this.pointer=new ta(e);t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("pointermove",this.handlePointerMove),t.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.pointer.destroy()}setIgnoreMove(e){this.shouldIgnoreMove=e}setMirrorIsVisible(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{let e=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;e&&(this.currentMirrorEl=e,e.style.visibility="hidden")}}}var ba=ls({name:"@fullcalendar/interaction",componentInteractions:[class extends wi{constructor(e){super(e),this.handlePointerDown=e=>{let{dragging:t}=this;e=e.origEvent.target;t.setIgnoreMove(!this.component.isValidDateDownEl(e))},this.handleDragEnd=t=>{var{component:n}=this,{pointer:e}=this.dragging;if(!e.wasTouchScroll){var{initialHit:r,finalHit:e}=this.hitDragging;if(r&&e&&ha(r,e)){let{context:e}=n;t=Object.assign(Object.assign({},fa(r.dateSpan,e)),{dayEl:r.dayEl,jsEvent:t.origEvent,view:e.viewApi||e.calendarApi.view});e.emitter.trigger("dateClick",t)}}},this.dragging=new da(e.el),this.dragging.autoScroller.isEnabled=!1;let t=this.hitDragging=new ua(this.dragging,xi(e));t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}},class extends wi{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=e=>{let{component:t,dragging:n}=this;var{options:r}=t.context,r=r.selectable&&t.isValidDateDownEl(e.origEvent.target);n.setIgnoreMove(!r),n.delay=e.isTouch?function(e){let{options:t}=e.context,n=t.selectLongPressDelay;null==n&&(n=t.longPressDelay);return n}(t):null},this.handleDragStart=e=>{this.component.context.calendarApi.unselect(e)},this.handleHitUpdate=(e,t)=>{let{context:n}=this.component,r=null,i=!1;var o;e&&(o=this.hitDragging.initialHit,e.componentId===o.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(o,e)||(r=function(e,t,n){let r=e.dateSpan,i=t.dateSpan,o=[r.range.start,r.range.end,i.range.start,i.range.end];o.sort(Ze);let s={};for(var a of n){a=a(e,t);if(!1===a)return null;a&&Object.assign(s,a)}return s.range={start:o[0],end:o[3]},s.allDay=r.allDay,s}(o,e,n.pluginHooks.dateSelectionTransformers)),r&&to(r,e.dateProfile,n)||(i=!0,r=null)),r?n.dispatch({type:"SELECT_DATES",selection:r}):t||n.dispatch({type:"UNSELECT_DATES"}),(i?je:ze)(),t||(this.dragSelection=r)},this.handlePointerUp=e=>{this.dragSelection&&(zr(this.dragSelection,e,this.component.context),this.dragSelection=null)};var{component:t}=e,{options:t}=t.context;let n=this.dragging=new da(e.el);n.touchScrollAllowed=!1,n.minDistance=t.selectMinDistance||0,n.autoScroller.isEnabled=t.dragScroll;let r=this.hitDragging=new ua(this.dragging,xi(e));r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}},ga,class extends wi{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{var{component:t}=this,n=$r(this.querySegEl(e)),n=this.eventRange=n.eventRange;this.dragging.minDistance=t.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&this.component.props.eventSelection!==n.instance.instanceId)},this.handleDragStart=e=>{let{context:t}=this.component;var n=this.eventRange;this.relevantEvents=bn(t.getCurrentData().eventStore,this.eventRange.instance.instanceId);var r=this.querySegEl(e);this.draggingSegEl=r,this.draggingSeg=$r(r),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:r,event:new Vr(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi})},this.handleHitUpdate=(e,t,n)=>{let{context:r}=this.component;var i=this.relevantEvents,o=this.hitDragging.initialHit,s=this.eventRange.instance;let a=null,l=null,d=!1,c={affectedEvents:i,mutatedEvents:En(),isEvent:!0};e&&(e.componentId===o.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(o,e)||(a=function(e,t,n,r){let i=e.context.dateEnv,o=e.dateSpan.range.start,s=t.dateSpan.range.start,a=Un(o,s,i,e.largeUnit);if(n){if(i.add(r.start,a)r.start)return{endDelta:a};return null}(o,e,n.subjectEl.classList.contains("fc-event-resizer-start"),s.range))),a&&(l=Wr(i,r.getCurrentData().eventUiBases,a,r),c.mutatedEvents=l,eo(c,e.dateProfile,r)||(d=!0,a=null,l=null,c.mutatedEvents=null)),l?r.dispatch({type:"SET_EVENT_RESIZE",state:c}):r.dispatch({type:"UNSET_EVENT_RESIZE"}),(d?je:ze)(),t||(a&&ha(o,e)&&(a=null),this.validMutation=a,this.mutatedRelevantEvents=l)},this.handleDragEnd=e=>{let{context:t}=this.component;var n=this.eventRange.def,r=this.eventRange.instance,i=new Vr(t,n,r);let o=this.relevantEvents;var s=this.mutatedRelevantEvents;t.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:i,jsEvent:e.origEvent,view:t.viewApi}),this.validMutation?(n=new Vr(t,s.defs[n.defId],r?s.instances[r.instanceId]:null),t.dispatch({type:"MERGE_EVENTS",eventStore:s}),r={oldEvent:i,event:n,relatedEvents:Qr(s,t,r),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:o})}},t.emitter.trigger("eventResize",Object.assign(Object.assign({},r),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||Ke(0),endDelta:this.validMutation.endDelta||Ke(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",r)):t.emitter.trigger("_noEventResize"),this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};var{component:t}=e;let n=this.dragging=new da(e.el);n.pointer.selector=".fc-event-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.context.options.dragScroll;let r=this.hitDragging=new ua(this.dragging,xi(e));r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return we(e.subjectEl,".fc-event")}}],calendarInteractions:[class{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=e=>{e.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=e=>{var t=this.context.options.unselectCancel,e=ke(e.origEvent);this.matchesCancel=!!we(e,t),this.matchesEvent=!!we(e,ga.SELECTOR)},this.onDocumentPointerUp=e=>{let{context:t}=this;var{documentPointer:n}=this,r=t.getCurrentData();n.wasTouchScroll||(r.dateSelection&&!this.isRecentPointerDateSelect&&(!(n=t.options.unselectAuto)||n&&this.matchesCancel||t.calendarApi.unselect(e)),r.eventSelection&&!this.matchesEvent&&t.dispatch({type:"UNSELECT_EVENT"})),this.isRecentPointerDateSelect=!1};let t=this.documentPointer=new ta(document);t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}],elementDraggingImpl:da,optionRefiners:pa,listenerRefiners:va});function Ea(e,t){let n=[];for(let e=0;e{let n=(r.eventDrag?r.eventDrag.affectedInstances:null)||(r.eventResize?r.eventResize.affectedInstances:null)||{};return E(_,null,e.map(e=>{var t=e.eventRange.instance.instanceId;return E("div",{className:"fc-daygrid-event-harness",key:t,style:{visibility:n[t]?"hidden":""}},Sa(e)?E(Ta,Object.assign({seg:e,isDragging:!1,isSelected:t===r.eventSelection,defaultDisplayEventEnd:!1},ni(e,r.todayRange))):E(Aa,Object.assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===r.eventSelection,defaultDisplayEventEnd:!1},ni(e,r.todayRange))))}))}})}}function Ra(e){let t=[],n=[];for(var r of e)t.push(r.seg),r.isVisible||n.push(r.seg);return{allSegs:t,invisibleSegs:n}}const _a=nn({week:"narrow"});class Ma extends Pr{constructor(){super(...arguments),this.rootElRef=s(),this.state={dayNumberId:Re()},this.handleRootEl=e=>{Hr(this.rootElRef,e),Hr(this.props.elRef,e)}}render(){let{context:n,props:r,state:i,rootElRef:o}=this,{options:s,dateEnv:e}=n,{date:a,dateProfile:t}=r;const l=r.showDayNumber&&function(e,t,n){const{start:r,end:i}=t,o=xt(i,-1),s=n.getYear(r),a=n.getMonth(r),l=n.getYear(o),d=n.getMonth(o);return!(s===l&&a===d)&&Boolean(e.valueOf()===r.valueOf()||1===n.getDay(e)&&e.valueOf()E("div",{ref:r.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:r.minHeight}},r.showWeekNumber&&E(jo,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:dr(n,a,"week"),date:a,defaultFormat:_a}),!t.isDisabled&&(r.showDayNumber||Oo(s)||r.forceDayTop)?E("div",{className:"fc-daygrid-day-top"},E(e,{elTag:"a",elClasses:["fc-daygrid-day-number",l&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},dr(n,a)),{id:i.dayNumberId})})):r.showDayNumber?E("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},E("a",{className:"fc-daygrid-day-number"}," ")):void 0,E("div",{className:"fc-daygrid-day-events",ref:r.fgContentElRef},r.fgContent,E("div",{className:"fc-daygrid-day-bottom",style:{marginTop:r.moreMarginTop}},E(Ca,{allDayDate:a,singlePlacements:r.singlePlacements,moreCnt:r.moreCnt,alignmentElRef:o,alignGridTop:!r.showDayNumber,extraDateSpan:r.extraDateSpan,dateProfile:r.dateProfile,eventSelection:r.eventSelection,eventDrag:r.eventDrag,eventResize:r.eventResize,todayRange:r.todayRange}))),E("div",{className:"fc-daygrid-day-bg"},r.bgContent)))}}function Ia(e){return e.dayNumberText||E(_,null," ")}function Oa(t,e,n,r,i,o,s){let a=new Ha;a.allowReslicing=!0,a.strictOrder=r,!0===e||!0===n?(a.maxCoord=o,a.hiddenConsumes=!0):"number"==typeof e?a.maxStackCnt=e:"number"==typeof n&&(a.maxStackCnt=n,a.hiddenConsumes=!0);let l=[],d=[];for(let e=0;e!this.forceHidden[vi(e)];for(let e=0;e{e&&this.updateSizing(!0)}}render(){let{props:i,state:e,context:t}=this;var{options:n}=t,r=i.cells.length;let o=wa(i.businessHourSegs,r),s=wa(i.bgEventSegs,r),a=wa(this.getHighlightSegs(),r),l=wa(this.getMirrorSegs(),r),{singleColPlacements:d,multiColPlacements:c,moreCnts:u,moreMarginTops:h}=Oa(Kr(i.fgEventSegs,n.eventOrder),i.dayMaxEvents,i.dayMaxEventRows,n.eventOrderStrict,e.eventInstanceHeights,e.maxContentHeight,i.cells),f=i.eventDrag&&i.eventDrag.affectedInstances||i.eventResize&&i.eventResize.affectedInstances||{};return E("tr",{ref:this.rootElRef,role:"row"},i.renderIntro&&i.renderIntro(),i.cells.map((e,t)=>{var n=this.renderFgSegs(t,(i.forPrint?d:c)[t],i.todayRange,f),r=this.renderFgSegs(t,function(e,t){if(!e.length)return[];let n=function(e){let t={};for(var n of e)for(var r of n)t[r.seg.eventRange.instance.instanceId]=r.absoluteTop;return t}(t);return e.map(e=>({seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}))}(l[t],c),i.todayRange,{},Boolean(i.eventDrag),Boolean(i.eventResize),!1);return E(Ma,{key:e.key,elRef:this.cellElRefs.createRef(e.key),innerElRef:this.frameElRefs.createRef(e.key),dateProfile:i.dateProfile,date:e.date,showDayNumber:i.showDayNumbers,showWeekNumber:i.showWeekNumbers&&0===t,forceDayTop:i.showWeekNumbers,todayRange:i.todayRange,eventSelection:i.eventSelection,eventDrag:i.eventDrag,eventResize:i.eventResize,extraRenderProps:e.extraRenderProps,extraDataAttrs:e.extraDataAttrs,extraClassNames:e.extraClassNames,extraDateSpan:e.extraDateSpan,moreCnt:u[t],moreMarginTop:h[t],singlePlacements:d[t],fgContentElRef:this.fgElRefs.createRef(e.key),fgContent:E(_,null,E(_,null,n),E(_,null,r)),bgContent:E(_,null,this.renderFillSegs(a[t],"highlight"),this.renderFillSegs(o[t],"non-business"),this.renderFillSegs(s[t],"bg-event")),minHeight:i.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){var n=this.props;this.updateSizing(!ft(e,n))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){var{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){var{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(n,e,r,i,o,s,a){var{context:l}=this,{eventSelection:d}=this.props,{framePositions:c}=this.state,u=1===this.props.cells.length,h=o||s||a;let f=[];if(c)for(var g of e){var{seg:p}=g,{instanceId:v}=p.eventRange.instance,m=v+":"+n,y=g.isVisible&&!i[v],b=g.isAbsolute;let e="",t="";b&&(l.isRtl?(t=0,e=c.lefts[p.lastCol]-c.lefts[p.firstCol]):(e=0,t=c.rights[p.firstCol]-c.rights[p.lastCol])),f.push(E("div",{className:"fc-daygrid-event-harness"+(b?" fc-daygrid-event-harness-abs":""),key:m,ref:h?null:this.segHarnessRefs.createRef(m),style:{visibility:y?"":"hidden",marginTop:b?"":g.marginTop,top:b?g.absoluteTop:"",left:e,right:t}},Sa(p)?E(Ta,Object.assign({seg:p,isDragging:o,isSelected:v===d,defaultDisplayEventEnd:u},ni(p,r))):E(Aa,Object.assign({seg:p,isDragging:o,isResizing:s,isDateSelecting:a,isSelected:v===d,defaultDisplayEventEnd:u},ni(p,r)))))}return f}renderFillSegs(e,t){var{isRtl:n}=this.context,{todayRange:r}=this.props,{framePositions:i}=this.state;let o=[];if(i)for(var s of e){var a=n?{right:0,left:i.lefts[s.lastCol]-i.lefts[s.firstCol]}:{left:0,right:i.rights[s.firstCol]-i.rights[s.lastCol]};o.push(E("div",{key:ri(s.eventRange),className:"fc-daygrid-bg-harness",style:a},"bg-event"===t?E(Ho,Object.assign({seg:s},ni(s,r))):Lo(t)))}return E(_,{},...o)}updateSizing(e){let{props:t,state:n,frameElRefs:r}=this;var i,o,s;t.forPrint||null===t.clientWidth||(!e||(s=t.cells.map(e=>r.currentMap[e.key])).length&&(o=this.rootElRef.current,i=new wr(o,s,!0,!1),n.framePositions&&n.framePositions.similarTo(i)||this.setState({framePositions:new wr(o,s,!0,!1)})),i=this.state.eventInstanceHeights,o=this.queryEventInstanceHeights(),s=!0===t.dayMaxEvents||!0===t.dayMaxEventRows,this.safeSetState({eventInstanceHeights:Object.assign(Object.assign({},i),o),maxContentHeight:s?this.computeMaxContentHeight():null}))}queryEventInstanceHeights(){let e=this.segHarnessRefs.currentMap,t={};for(var n in e){var r=Math.round(e[n].getBoundingClientRect().height),n=n.split(":")[0];t[n]=Math.max(t[n]||0,r)}return t}computeMaxContentHeight(){var e=this.props.cells[0].key;let t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top}getCellEls(){let t=this.cellElRefs.currentMap;return this.props.cells.map(e=>t[e.key])}}Pa.addStateEquality({eventInstanceHeights:ft});class La extends Pr{constructor(){super(...arguments),this.splitBusinessHourSegs=Ut(Ea),this.splitBgEventSegs=Ut(Ea),this.splitFgEventSegs=Ut(Ea),this.splitDateSelectionSegs=Ut(Ea),this.splitEventDrag=Ut(xa),this.splitEventResize=Ut(xa),this.rowRefs=new ho}render(){let{props:r,context:e}=this,i=r.cells.length,o=this.splitBusinessHourSegs(r.businessHourSegs,i),s=this.splitBgEventSegs(r.bgEventSegs,i),a=this.splitFgEventSegs(r.fgEventSegs,i),l=this.splitDateSelectionSegs(r.dateSelectionSegs,i),d=this.splitEventDrag(r.eventDrag,i),c=this.splitEventResize(r.eventResize,i),u=7<=i&&r.clientWidth?r.clientWidth/e.options.aspectRatio/6:null;return E(Ui,{unit:"day"},(e,n)=>E(_,null,r.cells.map((e,t)=>E(Pa,{ref:this.rowRefs.createRef(t),key:e.length?e[0].date.toISOString():t,showDayNumbers:1e.getCellEls()[0]),!1,!0),this.colPositions=new wr(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:n,rowPositions:r}=this;var i=n.leftToIndex(e),e=r.topToIndex(t);if(null==e||null==i)return null;t=this.props.cells[e][i];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(e,i),allDay:!0},t.extraDateSpan),dayEl:this.getCellEl(e,i),rect:{left:n.lefts[i],right:n.rights[i],top:r.tops[e],bottom:r.bottoms[e]},layer:0}}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){t=this.props.cells[e][t].date;return{start:t,end:wt(t,1)}}}function ja(e){return e.eventRange.def.allDay}class za extends Pr{constructor(){super(...arguments),this.elRef=s(),this.needsScrollReset=!1}render(){var{props:e}=this;let{dayMaxEventRows:t,dayMaxEvents:n,expandRows:r}=e,i=!0===n||!0===t;i&&!r&&(i=!1,t=null,n=null);let o=["fc-daygrid-body",i?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",r?"":"fc-daygrid-body-natural"];return E("div",{ref:this.elRef,className:o.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},E("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:r?e.clientHeight:""}},e.colGroupNode,E("tbody",{role:"presentation"},E(La,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:n,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const t=function(e,t){let n;t.currentRangeUnit.match(/year|month/)&&(n=e.querySelector(`[data-date="${jt(t.currentDate)}-01"]`));n=n||e.querySelector(`[data-date="${Lt(t.currentDate)}"]`);return n}(this.elRef.current,this.props.dateProfile);if(t){const n=t.closest(".fc-daygrid-body"),r=n.closest(".fc-scroller");var e=t.getBoundingClientRect().top-n.getBoundingClientRect().top;r.scrollTop=e?1+e:0}this.needsScrollReset=!1}}}class Ba extends qi{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class Ua extends Pr{constructor(){super(...arguments),this.slicer=new Ba,this.tableRef=s()}render(){var{props:e,context:t}=this;return E(za,Object.assign({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}))}}class Wa extends jr{buildRenderRange(e,t,n){var{props:r}=this;return Fa({currentRange:super.buildRenderRange(e,t,n),snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:r.fixedWeekCount,dateEnv:r.dateEnv})}}function Fa(e){let{dateEnv:t,currentRange:n}=e,{start:r,end:i}=n,o;return e.snapToWeek&&(r=t.startOfWeek(r),o=t.startOfWeek(i),o.valueOf()!==i.valueOf()&&(i=Et(o,1))),e.fixedWeekCount&&(e=t.startOfWeek(t.startOfMonth(wt(n.end,-1))),e=Math.ceil(Dt(e,i)),i=Et(i,6-e)),{start:r,end:i}}class Va extends Pr{constructor(){super(...arguments),this.headerElRef=s()}renderSimpleLayout(e,t){var{props:n,context:r}=this;let i=[];var o=So(r.options);return e&&i.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),i.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),E(Yo,{elClasses:["fc-daygrid"],viewSpec:r.viewSpec},E(To,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:i}))}renderHScrollLayout(e,t,n,r){var i=this.context.pluginHooks.scrollGridImpl;if(!i)throw new Error("No ScrollGrid implementation");var{props:o,context:s}=this,a=!o.forPrint&&So(s.options),l=!o.forPrint&&Ao(s.options);let d=[];return e&&d.push({type:"header",key:"header",isSticky:a,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),d.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&d.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:Do}]}),E(Yo,{elClasses:["fc-daygrid"],viewSpec:s.viewSpec},E(i,{liquid:!o.isHeightAuto&&!o.forPrint,forPrint:o.forPrint,collapsibleWidth:o.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:d}))}}function Ga(e,t){t=new Gi(e.renderRange,t);return new Qi(t,/year|month|week/.test(e.currentRangeUnit))}var Qa=ls({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:class extends Va{constructor(){super(...arguments),this.buildDayTableModel=Ut(Ga),this.headerRef=s(),this.tableRef=s()}render(){let{options:t,dateProfileGenerator:e}=this.context,{props:n}=this,r=this.buildDayTableModel(n.dateProfile,e);var i=t.dayHeaders&&E(Fi,{ref:this.headerRef,dateProfile:n.dateProfile,dates:r.headerDates,datesRepDistinctDays:1===r.rowCnt}),o=e=>E(Ua,{ref:this.tableRef,dateProfile:n.dateProfile,dayTableModel:r,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,nextDayThreshold:t.nextDayThreshold,colGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,dayMaxEvents:t.dayMaxEvents,dayMaxEventRows:t.dayMaxEventRows,showWeekNumbers:t.weekNumbers,expandRows:!n.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:n.forPrint});return t.dayMinWidth?this.renderHScrollLayout(i,o,r.colCnt,t.dayMinWidth):this.renderSimpleLayout(i,o)}},dateProfileGeneratorClass:Wa},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}});ve('.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}');class qa extends $n{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?Yr(e)?["timed","allDay"]:["allDay"]:["timed"]}}const Ya=nn({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function Za(i){let o=["fc-timegrid-slot","fc-timegrid-slot-label",i.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return E(Mr.Consumer,null,e=>{if(!i.isLabeled)return E("td",{className:o.join(" "),"data-time":i.isoTimeStr});let{dateEnv:t,options:n,viewApi:r}=e;e=null==n.slotLabelFormat?Ya:Array.isArray(n.slotLabelFormat)?nn(n.slotLabelFormat[0]):nn(n.slotLabelFormat),e={level:0,time:i.time,date:t.toDate(i.date),view:r,text:t.format(i.date,e)};return E(Li,{elTag:"td",elClasses:o,elAttrs:{"data-time":i.isoTimeStr},renderProps:e,generatorName:"slotLabelContent",customGenerator:n.slotLabelContent,defaultGenerator:$a,classNameGenerator:n.slotLabelClassNames,didMount:n.slotLabelDidMount,willUnmount:n.slotLabelWillUnmount},e=>E("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},E(e,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function $a(e){return e.text}class Xa extends Nr{render(){return this.props.slatMetas.map(e=>E("tr",{key:e.key},E(Za,Object.assign({},e))))}}const Ja=nn({week:"short"});class Ka extends Pr{constructor(){super(...arguments),this.allDaySplitter=new qa,this.headerElRef=s(),this.rootElRef=s(),this.scrollerElRef=s(),this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let t=this.scrollerElRef.current;t&&(t.scrollTop=e)},this.renderHeadAxis=(e,t="")=>{var{options:n}=this.context,{dateProfile:r}=this.props,r=r.renderRange;let i=1===St(r.start,r.end)?dr(this.context,r.start,"week"):{};return n.weekNumbers&&"day"===e?E(jo,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:r.start,defaultFormat:Ja},e=>E("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:t}},E(e,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:i}))):E("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},E("div",{className:"fc-timegrid-axis-frame",style:{height:t}}))},this.renderTableRowAxis=t=>{var{options:e,viewApi:n}=this.context,n={text:e.allDayText,view:n};return E(Li,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:n,generatorName:"allDayContent",customGenerator:e.allDayContent,defaultGenerator:el,classNameGenerator:e.allDayClassNames,didMount:e.allDayDidMount,willUnmount:e.allDayWillUnmount},e=>E("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",null==t?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:t}},E(e,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,t,n){let{context:r,props:i}=this,o=[];var s=So(r.options);return e&&o.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(o.push({type:"body",key:"all-day",chunk:{content:t}}),o.push({type:"body",key:"all-day-divider",outerContent:E("tr",{role:"presentation",className:"fc-scrollgrid-section"},E("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),o.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(r.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),E(Yo,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:r.viewSpec},E(To,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[{width:"shrink"}],sections:o}))}renderHScrollLayout(e,t,n,r,i,o,s){var a=this.context.pluginHooks.scrollGridImpl;if(!a)throw new Error("No ScrollGrid implementation");let{context:l,props:d}=this;var c=!d.forPrint&&So(l.options),u=!d.forPrint&&Ao(l.options);let h=[];e&&h.push({type:"header",key:"header",isSticky:c,syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>E("tr",{role:"presentation"},this.renderHeadAxis("day",e.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(h.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>E("tr",{role:"presentation"},this.renderTableRowAxis(e.rowSyncHeights[0]))},{key:"cols",content:t}]}),h.push({key:"all-day-divider",type:"body",outerContent:E("tr",{role:"presentation",className:"fc-scrollgrid-section"},E("td",{colSpan:2,className:"fc-timegrid-divider "+l.theme.getClass("tableCellShaded")}))}));let f=l.options.nowIndicator;return h.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(l.options.expandRows),chunks:[{key:"axis",content:e=>E("div",{className:"fc-timegrid-axis-chunk"},E("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,E("tbody",null,E(Xa,{slatMetas:o}))),E("div",{className:"fc-timegrid-now-indicator-container"},E(Ui,{unit:f?"minute":"day"},e=>{var t=f&&s&&s.safeComputeTop(e);return"number"==typeof t?E(_o,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:t},isAxis:!0,date:e}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),u&&h.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:Do},{key:"cols",content:Do}]}),E(Yo,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:l.viewSpec},E(a,{liquid:!d.isHeightAuto&&!d.forPrint,forPrint:d.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:i}]}],sections:h}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:t}=this.context.options;return!0!==e&&!0!==t||(e=void 0,t=5),{dayMaxEvents:e,dayMaxEventRows:t}}}function el(e){return e.text}class tl{constructor(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}safeComputeTop(t){var{dateProfile:n}=this;if(ir(n.currentRange,t)){let e=Ct(t);t=t.valueOf()-e.valueOf();if(t>=it(n.slotMinTime)&&t{var n={time:e.time,date:i.dateEnv.toDate(e.date),view:i.viewApi};return E("tr",{key:e.key,ref:s.createRef(e.key)},r.axis&&E(Za,Object.assign({},e)),E(Li,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!e.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":e.isoTimeStr},renderProps:n,generatorName:"slotLaneContent",customGenerator:o.slotLaneContent,classNameGenerator:o.slotLaneClassNames,didMount:o.slotLaneDidMount,willUnmount:o.slotLaneWillUnmount}))}))}}class rl extends Nr{constructor(){super(...arguments),this.rootElRef=s(),this.slatElRefs=new ho}render(){let{props:e,context:t}=this;return E("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},E("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,E(nl,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:e,props:t}=this;var n;t.onCoords&&null!==t.clientWidth&&this.rootElRef.current.offsetHeight&&t.onCoords(new tl(new wr(this.rootElRef.current,(n=this.slatElRefs.currentMap,t.slatMetas.map(e=>n[e.key])),!1,!0),this.props.dateProfile,e.options.slotDuration))}}function il(e,t){let n=[],r;for(r=0;rml(e.hiddenSegs,e),defaultGenerator:al,forceTimed:!0},e=>E(e,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}}function al(e){return e.shortText}function ll(e,t,n){let r=new gi;null!=t&&(r.strictOrder=t),null!=n&&(r.maxStackCnt=n);e=mi(r.addSegs(e));return{segRects:function(e){let i=[];const o=hl((e,t,n)=>vi(e),(e,t,n)=>{let r=Object.assign(Object.assign({},e),{levelCoord:t,stackDepth:n,stackForward:0});return i.push(r),r.stackForward=s(e.nextLevelNodes,t+e.thickness,n+1)+1});function s(e,t,n){let r=0;for(var i of e)r=Math.max(o(i,t,n),r);return r}return s(e,0,0),i}(function(e,c){const u=hl((e,t,n)=>vi(e),(e,t,n)=>{var r,{nextLevelNodes:i,thickness:o}=e,s=o+n,o=o/s;let a,l=[];if(i.length)for(var d of i)void 0===a?(r=u(d,t,s),a=r[0],l.push(r[1])):(d=u(d,a,0),l.push(d[1]));else a=c;o=(a-t)*o;return[a-o,Object.assign(Object.assign({},e),{thickness:o,nextLevelNodes:l})]});return e.map(e=>u(e,0,0)[1])}(function(r){const{entriesByLevel:i}=r,o=hl((e,t)=>e+":"+t,(e,t)=>{var n=dl(function(e,t,n){let{levelCoords:r,entriesByLevel:i}=e,o=i[t][n],s=r[t]+o.thickness,a=r.length,l=t;for(;l{var t=n(...e);return t in i?i[t]:i[t]=r(...e)}}function fl(t,n,r=null,i=0){let o=[];if(r)for(let e=0;eE("div",{className:"fc-timegrid-col-frame"},E("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(t.businessHourSegs,"non-business"),this.renderFillSegs(t.bgEventSegs,"bg-event"),this.renderFillSegs(t.dateSelectionSegs,"highlight")),E("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(s,o,!1,!1,!1)),E("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(i,{},Boolean(t.eventDrag),Boolean(t.eventResize),Boolean(r),"mirror")),E("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(t.nowIndicatorSegs)),Oo(n)&&E(e,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,t,n,r,i,o){var{props:s}=this;return s.forPrint?ml(e,s):this.renderPositionedFgSegs(e,t,n,r,i,o)}renderPositionedFgSegs(e,a,l,d,c,u){let{eventMaxStack:t,eventShortHeight:h,eventOrderStrict:n,eventMinHeight:r}=this.context.options,{date:i,slatCoords:o,eventSelection:f,todayRange:g,nowDate:p}=this.props,v=l||d||c;let{segPlacements:s,hiddenGroups:m}=function(t,n,e,r){let i=[],o=[];for(let e=0;e{var{seg:t,rect:n}=e,r=t.eventRange.instance.instanceId,i=v||Boolean(!a[r]&&n),o=yl(n&&n.span),s=!v&&n?this.computeSegHStyle(n):{left:0,right:0},e=Boolean(n)&&0{var t,n=yl(e.span),e=(e=e.entries,t=r,e.map(e=>t[e.index]));return E(sl,{key:Pt(Go(e)),hiddenSegs:e,top:n.top,bottom:n.bottom,extraDateSpan:i,dateProfile:o,todayRange:s,nowDate:a,eventSelection:l,eventDrag:d,eventResize:c})}))}renderFillSegs(n,r){let{props:i,context:e}=this,t=fl(n,i.date,i.slatCoords,e.options.eventMinHeight);var o=t.map((e,t)=>{t=n[t];return E("div",{key:ri(t.eventRange),className:"fc-timegrid-bg-harness",style:yl(e)},"bg-event"===r?E(Ho,Object.assign({seg:t},ni(t,i.todayRange,i.nowDate))):Lo(r))});return E(_,null,o)}renderNowIndicator(e){let{slatCoords:n,date:r}=this.props;return n?e.map((e,t)=>E(_o,{key:t,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:n.computeDateTop(e.start,r)},isAxis:!1,date:r})):null}computeSegHStyle(e){var{isRtl:t,options:n}=this.context,r=n.slotEventOverlap,n=e.levelCoord;let i=e.levelCoord+e.thickness,o,s;r&&(i=Math.min(1,n+2*(i-n))),s=t?(o=1-i,n):(o=n,1-i);let a={zIndex:e.stackDepth+1,left:100*o+"%",right:100*s+"%"};return r&&!e.stackForward&&(a[t?"marginLeft":"marginRight"]=20),a}}function ml(e,{todayRange:n,nowDate:r,eventSelection:i,eventDrag:t,eventResize:o}){let s=(t?t.affectedInstances:null)||(o?o.affectedInstances:null)||{};return E(_,null,e.map(e=>{var t=e.eventRange.instance.instanceId;return E("div",{key:t,style:{visibility:s[t]?"hidden":""}},E(pl,Object.assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===i,isShort:!1},ni(e,n,r))))}))}function yl(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}class bl extends Nr{constructor(){super(...arguments),this.splitFgEventSegs=Ut(il),this.splitBgEventSegs=Ut(il),this.splitBusinessHourSegs=Ut(il),this.splitNowIndicatorSegs=Ut(il),this.splitDateSelectionSegs=Ut(il),this.splitEventDrag=Ut(ol),this.splitEventResize=Ut(ol),this.rootElRef=s(),this.cellElRefs=new ho}render(){let{props:n,context:e}=this;var t=e.options.nowIndicator&&n.slatCoords&&n.slatCoords.safeComputeTop(n.nowDate),r=n.cells.length;let i=this.splitFgEventSegs(n.fgEventSegs,r),o=this.splitBgEventSegs(n.bgEventSegs,r),s=this.splitBusinessHourSegs(n.businessHourSegs,r),a=this.splitNowIndicatorSegs(n.nowIndicatorSegs,r),l=this.splitDateSelectionSegs(n.dateSelectionSegs,r),d=this.splitEventDrag(n.eventDrag,r),c=this.splitEventResize(n.eventResize,r);return E("div",{className:"fc-timegrid-cols",ref:this.rootElRef},E("table",{role:"presentation",style:{minWidth:n.tableMinWidth,width:n.clientWidth}},n.tableColGroupNode,E("tbody",{role:"presentation"},E("tr",{role:"row"},n.axis&&E("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},E("div",{className:"fc-timegrid-col-frame"},E("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof t&&E(_o,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:t},isAxis:!0,date:n.nowDate})))),n.cells.map((e,t)=>E(vl,{key:e.key,elRef:this.cellElRefs.createRef(e.key),dateProfile:n.dateProfile,date:e.date,nowDate:n.nowDate,todayRange:n.todayRange,extraRenderProps:e.extraRenderProps,extraDataAttrs:e.extraDataAttrs,extraClassNames:e.extraClassNames,extraDateSpan:e.extraDateSpan,fgEventSegs:i[t],bgEventSegs:o[t],businessHourSegs:s[t],nowIndicatorSegs:a[t],dateSelectionSegs:l[t],eventDrag:d[t],eventResize:c[t],slatCoords:n.slatCoords,eventSelection:n.eventSelection,forPrint:n.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:e}=this;var t;e.onColCoords&&null!==e.clientWidth&&e.onColCoords(new wr(this.rootElRef.current,(t=this.cellElRefs.currentMap,e.cells.map(e=>t[e.key])),!0,!1))}}class El extends Pr{constructor(){super(...arguments),this.processSlotOptions=Ut(wl),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=t=>{let{onScrollTopRequest:n}=this.props,{slatCoords:r}=this.state;if(n&&r){if(t.time){let e=r.computeTimeTop(t.time);e=Math.ceil(e),e&&(e+=1),n(e)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){var{props:e,state:t}=this;return E("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},E(rl,{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}),E(bl,{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}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,t){let{dateEnv:n,options:r}=this.context,{colCoords:i}=this;var{dateProfile:o}=this.props;let{slatCoords:s}=this.state;var{snapDuration:a,snapsPerSlot:l}=this.processSlotOptions(this.props.slotDuration,r.snapDuration),d=i.leftToIndex(e),c=s.positions.topToIndex(t);if(null==d||null==c)return null;var u=this.props.cells[d],h=s.positions.tops[c],f=s.positions.getHeight(c),e=Math.floor((t-h)/f*l),t=this.props.cells[d].date,e=tt(o.slotMinTime,nt(a,c*l+e)),e=n.add(t,e),a=n.add(e,a);return{dateProfile:o,dateSpan:Object.assign({range:{start:e,end:a},allDay:!1},u.extraDateSpan),dayEl:i.els[d],rect:{left:i.lefts[d],right:i.rights[d],top:h,bottom:h+f},layer:0}}}function wl(e,t){let n=t||e,r=ot(e,n);return null===r&&(n=e,r=1),{snapDuration:n,snapsPerSlot:r}}class xl extends qi{sliceRange(n,r){let i=[];for(let t=0;tE(El,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(n,i,null,r,l),{forPrint:n.forPrint,axis:n.axis,dateProfile:i,slatMetas:n.slatMetas,slotDuration:n.slotDuration,cells:o.cells[0],tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,clientWidth:n.clientWidth,clientHeight:n.clientHeight,expandRows:n.expandRows,nowDate:e,nowIndicatorSegs:s&&this.slicer.sliceNowDate(e,i,a,r,l),todayRange:t,onScrollTopRequest:n.onScrollTopRequest,onSlatCoords:n.onSlatCoords})))}}function Sl(e,t,n){let r=[];for(var i of e.headerDates)r.push({start:n.add(i,t.slotMinTime),end:n.add(i,t.slotMaxTime)});return r}const Al=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function Tl(e,t,n,r,i){var o=new Date(0);let s=e,a=Ke(0);var l=n||function(e){let t,n,r;for(t=Al.length-1;0<=t;--t)if(n=Ke(Al[t]),null!==(r=ot(n,e))&&1E(Ua,Object.assign({},s.allDay,{dateProfile:i,dayTableModel:o,nextDayThreshold:t.nextDayThreshold,tableMinWidth:e.tableMinWidth,colGroupNode:e.tableColGroupNode,renderRowIntro:d?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:r.forPrint},this.getAllDayMaxEventProps()))),f=e=>E(Dl,Object.assign({},s.timed,{dayTableModel:o,dateProfile:i,axis:d,slotDuration:t.slotDuration,slatMetas:a,forPrint:r.forPrint,tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:e.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return c?this.renderHScrollLayout(u,h,f,o.colCnt,l,a,this.state.slatCoords):this.renderSimpleLayout(u,h,f)}},usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});ve(':root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:"";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}');class Rl extends Nr{constructor(){super(...arguments),this.state={textId:Re()}}render(){let{theme:t,dateEnv:e,options:n,viewApi:r}=this.context,{cellId:i,dayDate:o,todayRange:s}=this.props,{textId:a}=this.state;var l=or(o,s),d=n.listDayFormat?e.format(o,n.listDayFormat):"",c=n.listDaySideFormat?e.format(o,n.listDaySideFormat):"",c=Object.assign({date:e.toDate(o),view:r,textId:a,text:d,sideText:c,navLinkAttrs:dr(this.context,o),sideNavLinkAttrs:dr(this.context,o,"day",!1)},l);return E(Li,{elTag:"tr",elClasses:["fc-list-day",...sr(l,t)],elAttrs:{"data-date":Lt(o)},renderProps:c,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:_l,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},e=>E("th",{scope:"colgroup",colSpan:3,id:i,"aria-labelledby":a},E(e,{elTag:"div",elClasses:["fc-list-day-cushion",t.getClass("tableCellShaded")]})))}}function _l(e){return E(_,null,e.text&&E("a",Object.assign({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&E("a",Object.assign({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}const Ml=nn({hour:"numeric",minute:"2-digit",meridiem:"short"});class Il extends Nr{render(){let{props:e,context:n}=this;var{options:t}=n;let{seg:r,timeHeaderId:i,eventHeaderId:o,dateHeaderId:s}=e,a=t.eventTimeFormat||Ml;return E(ko,Object.assign({},e,{elTag:"tr",elClasses:["fc-list-event",r.eventRange.def.url&&"fc-event-forced-url"],defaultGenerator:()=>function(e,t){t=ii(e,t);return E("a",Object.assign({},t),e.eventRange.def.title)}(r,n),seg:r,timeText:"",disableDragging:!0,disableResizing:!0}),(e,t)=>E(_,null,function(n,r,i,o,s){var{options:a}=i;if(!1===a.displayEventTime)return null;{var l=n.eventRange.def,d=n.eventRange.instance;let e=!1,t;if(l.allDay?e=!0:Bn(n.eventRange.range)?n.isStart?t=ti(n,r,i,null,null,d.range.start,n.end):n.isEnd?t=ti(n,r,i,null,null,n.start,d.range.end):e=!0:t=ti(n,r,i),e){i={text:i.options.allDayText,view:i.viewApi};return E(Li,{elTag:"td",elClasses:["fc-list-event-time"],elAttrs:{headers:`${o} ${s}`},renderProps:i,generatorName:"allDayContent",customGenerator:a.allDayContent,defaultGenerator:Ol,classNameGenerator:a.allDayClassNames,didMount:a.allDayDidMount,willUnmount:a.allDayWillUnmount})}return E("td",{className:"fc-list-event-time"},t)}}(r,a,n,i,s),E("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},E("span",{className:"fc-list-event-dot",style:{borderColor:t.borderColor||t.backgroundColor}})),E(e,{elTag:"td",elClasses:["fc-list-event-title"],elAttrs:{headers:`${o} ${s}`}})))}}function Ol(e){return e.text}function Nl(e){return e.text}function Hl(e){let t=Ct(e.renderRange.start);var n=e.renderRange.end;let r=[],i=[];for(;t{e?this.context.registerInteractiveComponent(this,{el:e}):this.context.unregisterInteractiveComponent(this)}}render(){let{props:e,context:t}=this;var{dayDates:n,dayRanges:r}=this.computeDateVars(e.dateProfile),r=this.eventStoreToSegs(e.eventStore,e.eventUiBases,r);return E(Yo,{elRef:this.setRootEl,elClasses:["fc-list",t.theme.getClass("table"),!1!==t.options.stickyHeaderDates?"fc-list-sticky":""],viewSpec:t.viewSpec},E(uo,{liquid:!e.isHeightAuto,overflowX:e.isHeightAuto?"visible":"hidden",overflowY:e.isHeightAuto?"visible":"auto"},0E(e,{elTag:"div",elClasses:["fc-list-empty-cushion"]}))}renderSegList(e,l){let{theme:t,options:d}=this.context,{timeHeaderId:c,eventHeaderId:u,dateHeaderIdRoot:h}=this.state,f=function(e){let t=[],n,r;for(n=0;n{let i=[];for(let t=0;t{e&&this.updateSize()}}render(){const{context:e,props:r,state:t}=this;var{options:n}=e;const{clientWidth:i,clientHeight:o}=t;var s=t.monthHPadding||0,a=Math.min(null!=i?Math.floor(i/(n.multiMonthMinWidth+s)):1,n.multiMonthMaxColumns)||1;const l=100/a+"%",d=null==i?null:i/a-s;a=null!=i&&1===a;const c=this.splitDateProfileByMonth(e.dateProfileGenerator,r.dateProfile,e.dateEnv,!a&&n.fixedWeekCount,n.showNonCurrentDates),u=this.buildMonthFormat(n.multiMonthTitleFormat,c);a=["fc-multimonth",a?"fc-multimonth-singlecol":"fc-multimonth-multicol",null!=d&&d<400?"fc-multimonth-compact":""];return E(Yo,{elRef:this.scrollElRef,elClasses:a,viewSpec:e.viewSpec},c.map((e,t)=>{var n=jt(e.currentRange.start);return E(Ll,Object.assign({},r,{key:n,isoDateStr:n,elRef:0===t?this.firstMonthElRef:void 0,titleFormat:u,dateProfile:e,width:l,tableWidth:d,clientWidth:i,clientHeight:o}))}))}componentDidMount(){this.updateSize(),this.context.addResizeHandler(this.handleSizing),this.requestScrollReset()}componentDidUpdate(e){ft(e,this.props)||this.handleSizing(!1),e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}updateSize(){var e=this.scrollElRef.current,t=this.firstMonthElRef.current;e&&this.setState({clientWidth:e.clientWidth,clientHeight:e.clientHeight}),t&&e&&null==this.state.monthHPadding&&this.setState({monthHPadding:e.clientWidth-t.firstChild.offsetWidth})}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&null!=this.state.monthHPadding){var{currentDate:e}=this.props.dateProfile;const t=this.scrollElRef.current,n=t.querySelector(`[data-date="${jt(e)}"]`);t.scrollTop=n.getBoundingClientRect().top-this.firstMonthElRef.current.getBoundingClientRect().top,this.needsScrollReset=!1}}shouldComponentUpdate(){return!0}},dateProfileGeneratorClass:Wa,multiMonthMinWidth:350,multiMonthMaxColumns:3},multiMonthYear:{type:"multiMonth",duration:{years:1},fixedWeekCount:!0,showNonCurrentDates:!1}}});return Rs.push(ba,Qa,Cl,pa,va),e.Calendar=class extends Ko{constructor(e,t={}){var n;super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=e=>{switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=e=>{this.currentData=e,this.renderRunner.request(e.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:i}=this;kr(()=>{p(E(Ci,{options:i.calendarOptions,theme:i.theme,emitter:i.emitter},(e,t,n,r)=>(this.setClassNames(e),this.setHeight(t),E(Pi.Provider,{value:this.customContentRenderId},E(Ys,Object.assign({isHeightAuto:n,forPrint:r},i))))),this.el)})}else this.isRendered&&(this.isRendered=!1,p(null,this.el),this.setClassNames([]),this.setHeight(""))},(n=e).isConnected&&me(n.getRootNode()),this.el=e,this.renderRunner=new lo(this.handleRenderRequest),new Is({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){kr(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(t){if(!yt(t,this.currentClassNames)){let{classList:e}=this.el;for(var n of this.currentClassNames)e.remove(n);for(var r of t)e.add(r);this.currentClassNames=t}}setHeight(e){Te(this.el,"height",e)}},e.Draggable=class{constructor(e,t={}){this.handlePointerDown=e=>{let{dragging:t}=this;var{minDistance:n,longPressDelay:r}=this.settings;t.minDistance=null!=n?n:e.isTouch?0:on.eventDragMinDistance,t.delay=e.isTouch?null!=r?r:on.longPressDelay:0},this.handleDragStart=e=>{e.isTouch&&this.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&this.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t;let n=this.dragging=new da(e);n.touchScrollAllowed=!1,null!=t.itemSelector&&(n.pointer.selector=t.itemSelector),null!=t.appendTo&&(n.mirror.parentNode=t.appendTo),n.emitter.on("pointerdown",this.handlePointerDown),n.emitter.on("dragstart",this.handleDragStart),new ma(n,t.eventData)}destroy(){this.dragging.destroy()}},e.Internal=es,e.JsonRequestError=so,e.Preact=ts,e.ThirdPartyDraggable=class{constructor(e,t){let n=document;t=e===document||e instanceof Element?(n=e,t||{}):e||{};let r=this.dragging=new ya(n);"string"==typeof t.itemSelector?r.pointer.selector=t.itemSelector:n===document&&(r.pointer.selector="[data-event]"),"string"==typeof t.mirrorSelector&&(r.mirrorSelector=t.mirrorSelector),new ma(r,t.eventData)}destroy(){this.dragging.destroy()}},e.createPlugin=ls,e.formatDate=function(e,t={}){let n=Xs(t);return t=nn(t),(e=n.createMarkerMeta(e))?n.format(e.marker,t,{forcedTzo:e.forcedTzo}):""},e.formatRange=function(e,t,n){let r=Xs("object"==typeof n&&n?n:{});var i=nn(n),e=r.createMarkerMeta(e),t=r.createMarkerMeta(t);return e&&t?r.formatRange(e.marker,t.marker,i,{forcedStartTzo:e.forcedTzo,forcedEndTzo:t.forcedTzo,isEndExclusive:n.isEndExclusive,defaultSeparator:on.defaultRangeSeparator}):""},e.globalLocales=ns,e.globalPlugins=Rs,e.sliceEvents=function(e,t){return qr(e.eventStore,e.eventUiBases,e.dateProfile.activeRange,t?e.nextDayThreshold:null).fg},e.version="6.1.8",Object.defineProperty(e,"__esModule",{value:!0}),e}({});!function(){"use strict";function t(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}function n(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}FullCalendar.globalLocales.push(...[{code:"af",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Heeldag",moreLinkText:"Addisionele",noEventsText:"Daar is geen gebeurtenisse nie"},{code:"ar-dz",week:{dow:0,doy:4},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-kw",week:{dow:0,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-ly",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-ma",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-sa",week:{dow:0,doy:6},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar-tn",week:{dow:1,doy:4},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"ar",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",year:"سنة",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},{code:"az",week:{dow:1,doy:4},buttonText:{prev:"Əvvəl",next:"Sonra",today:"Bu Gün",year:"Il",month:"Ay",week:"Həftə",day:"Gün",list:"Gündəm"},weekText:"Həftə",allDayText:"Bütün Gün",moreLinkText(e){return"+ daha çox "+e},noEventsText:"Göstərmək üçün hadisə yoxdur"},{code:"bg",week:{dow:1,doy:7},buttonText:{prev:"назад",next:"напред",today:"днес",year:"година",month:"Месец",week:"Седмица",day:"Ден",list:"График"},allDayText:"Цял ден",moreLinkText(e){return"+още "+e},noEventsText:"Няма събития за показване"},{code:"bn",week:{dow:0,doy:6},buttonText:{prev:"পেছনে",next:"সামনে",today:"আজ",year:"বছর",month:"মাস",week:"সপ্তাহ",day:"দিন",list:"তালিকা"},weekText:"সপ্তাহ",allDayText:"সারাদিন",moreLinkText(e){return"+অন্যান্য "+e},noEventsText:"কোনো ইভেন্ট নেই"},{code:"bs",week:{dow:1,doy:7},buttonText:{prev:"Prošli",next:"Sljedeći",today:"Danas",year:"Godina",month:"Mjesec",week:"Sedmica",day:"Dan",list:"Raspored"},weekText:"Sed",allDayText:"Cijeli dan",moreLinkText(e){return"+ još "+e},noEventsText:"Nema događaja za prikazivanje"},{code:"ca",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Següent",today:"Avui",year:"Curs",month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},weekText:"Set",allDayText:"Tot el dia",moreLinkText:"més",noEventsText:"No hi ha esdeveniments per mostrar"},{code:"cs",week:{dow:1,doy:4},buttonText:{prev:"Dříve",next:"Později",today:"Nyní",year:"Rok",month:"Měsíc",week:"Týden",day:"Den",list:"Agenda"},weekText:"Týd",allDayText:"Celý den",moreLinkText(e){return"+další: "+e},noEventsText:"Žádné akce k zobrazení"},{code:"cy",week:{dow:1,doy:4},buttonText:{prev:"Blaenorol",next:"Nesaf",today:"Heddiw",year:"Blwyddyn",month:"Mis",week:"Wythnos",day:"Dydd",list:"Rhestr"},weekText:"Wythnos",allDayText:"Trwy'r dydd",moreLinkText:"Mwy",noEventsText:"Dim digwyddiadau"},{code:"da",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Næste",today:"I dag",year:"År",month:"Måned",week:"Uge",day:"Dag",list:"Agenda"},weekText:"Uge",allDayText:"Hele dagen",moreLinkText:"flere",noEventsText:"Ingen arrangementer at vise"},{code:"de-at",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText(e){return"+ weitere "+e},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev(e){return`Vorherige${t(e)} ${e}`},next(e){return`Nächste${t(e)} ${e}`},today(e){return"Tag"===e?"Heute":`Diese${t(e)} ${e}`}},viewHint(e){return e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint(e){return"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse")},closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"},{code:"de",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText(e){return"+ weitere "+e},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev(e){return`Vorherige${n(e)} ${e}`},next(e){return`Nächste${n(e)} ${e}`},today(e){return"Tag"===e?"Heute":`Diese${n(e)} ${e}`}},viewHint(e){return e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint(e){return"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse")},closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"},{code:"el",week:{dow:1,doy:4},buttonText:{prev:"Προηγούμενος",next:"Επόμενος",today:"Σήμερα",year:"Ετος",month:"Μήνας",week:"Εβδομάδα",day:"Ημέρα",list:"Ατζέντα"},weekText:"Εβδ",allDayText:"Ολοήμερο",moreLinkText:"περισσότερα",noEventsText:"Δεν υπάρχουν γεγονότα προς εμφάνιση"},{code:"en-au",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(e){return`Show ${e} more event${1===e?"":"s"}`}},{code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(e){return`Show ${e} more event${1===e?"":"s"}`}},{code:"en-nz",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(e){return`Show ${e} more event${1===e?"":"s"}`}},{code:"eo",week:{dow:1,doy:4},buttonText:{prev:"Antaŭa",next:"Sekva",today:"Hodiaŭ",year:"Jaro",month:"Monato",week:"Semajno",day:"Tago",list:"Tagordo"},weekText:"Sm",allDayText:"Tuta tago",moreLinkText:"pli",noEventsText:"Neniuj eventoj por montri"},{code:"es",week:{dow:0,doy:6},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},weekText:"Sm",allDayText:"Todo el día",moreLinkText:"más",noEventsText:"No hay eventos para mostrar"},{code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today(e){return"Día"===e?"Hoy":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Vista "+("Semana"===e?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint(e){return`Mostrar ${e} eventos más`},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},{code:"et",week:{dow:1,doy:4},buttonText:{prev:"Eelnev",next:"Järgnev",today:"Täna",year:"Aasta",month:"Kuu",week:"Nädal",day:"Päev",list:"Päevakord"},weekText:"näd",allDayText:"Kogu päev",moreLinkText(e){return"+ veel "+e},noEventsText:"Kuvamiseks puuduvad sündmused"},{code:"eu",week:{dow:1,doy:7},buttonText:{prev:"Aur",next:"Hur",today:"Gaur",year:"Urtea",month:"Hilabetea",week:"Astea",day:"Eguna",list:"Agenda"},weekText:"As",allDayText:"Egun osoa",moreLinkText:"gehiago",noEventsText:"Ez dago ekitaldirik erakusteko"},{code:"fa",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"قبلی",next:"بعدی",today:"امروز",year:"سال",month:"ماه",week:"هفته",day:"روز",list:"برنامه"},weekText:"هف",allDayText:"تمام روز",moreLinkText(e){return"بیش از "+e},noEventsText:"هیچ رویدادی به نمایش"},{code:"fi",week:{dow:1,doy:4},buttonText:{prev:"Edellinen",next:"Seuraava",today:"Tänään",year:"Vuosi",month:"Kuukausi",week:"Viikko",day:"Päivä",list:"Tapahtumat"},weekText:"Vk",allDayText:"Koko päivä",moreLinkText:"lisää",noEventsText:"Ei näytettäviä tapahtumia"},{code:"fr",buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sem.",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun évènement à afficher"},{code:"fr-ch",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Courant",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sm",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun évènement à afficher"},{code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",weekTextLong:"Semaine",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun évènement à afficher"},{code:"gl",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Seg",today:"Hoxe",year:"Ano",month:"Mes",week:"Semana",day:"Día",list:"Axenda"},buttonHints:{prev:"$0 antes",next:"$0 seguinte",today(e){return"Día"===e?"Hoxe":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Vista "+("Semana"===e?"da":"do")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo o día",moreLinkText:"máis",moreLinkHint(e){return`Amosar ${e} eventos máis`},noEventsText:"Non hai eventos para amosar",navLinkHint:"Ir ao $0",closeHint:"Pechar",timeHint:"A hora",eventHint:"Evento"},{code:"he",direction:"rtl",buttonText:{prev:"הקודם",next:"הבא",today:"היום",year:"שנה",month:"חודש",week:"שבוע",day:"יום",list:"סדר יום"},allDayText:"כל היום",moreLinkText:"נוספים",noEventsText:"אין אירועים להצגה",weekText:"שבוע"},{code:"hi",week:{dow:0,doy:6},buttonText:{prev:"पिछला",next:"अगला",today:"आज",year:"वर्ष",month:"महीना",week:"सप्ताह",day:"दिन",list:"कार्यसूची"},weekText:"हफ्ता",allDayText:"सभी दिन",moreLinkText(e){return"+अधिक "+e},noEventsText:"कोई घटनाओं को प्रदर्शित करने के लिए"},{code:"hr",week:{dow:1,doy:7},buttonText:{prev:"Prijašnji",next:"Sljedeći",today:"Danas",year:"Godina",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},weekText:"Tje",allDayText:"Cijeli dan",moreLinkText(e){return"+ još "+e},noEventsText:"Nema događaja za prikaz"},{code:"hu",week:{dow:1,doy:4},buttonText:{prev:"vissza",next:"előre",today:"ma",year:"Év",month:"Hónap",week:"Hét",day:"Nap",list:"Lista"},weekText:"Hét",allDayText:"Egész nap",moreLinkText:"további",noEventsText:"Nincs megjeleníthető esemény"},{code:"hy-am",week:{dow:1,doy:4},buttonText:{prev:"Նախորդ",next:"Հաջորդ",today:"Այսօր",year:"Տարի",month:"Ամիս",week:"Շաբաթ",day:"Օր",list:"Օրվա ցուցակ"},weekText:"Շաբ",allDayText:"Ամբողջ օր",moreLinkText(e){return"+ ևս "+e},noEventsText:"Բացակայում է իրադարձությունը ցուցադրելու"},{code:"id",week:{dow:1,doy:7},buttonText:{prev:"mundur",next:"maju",today:"hari ini",year:"Tahun",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sehari penuh",moreLinkText:"lebih",noEventsText:"Tidak ada acara untuk ditampilkan"},{code:"is",week:{dow:1,doy:4},buttonText:{prev:"Fyrri",next:"Næsti",today:"Í dag",year:"Ár",month:"Mánuður",week:"Vika",day:"Dagur",list:"Dagskrá"},weekText:"Vika",allDayText:"Allan daginn",moreLinkText:"meira",noEventsText:"Engir viðburðir til að sýna"},{code:"it",week:{dow:1,doy:4},buttonText:{prev:"Prec",next:"Succ",today:"Oggi",year:"Anno",month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},weekText:"Sm",allDayText:"Tutto il giorno",moreLinkText(e){return"+altri "+e},noEventsText:"Non ci sono eventi da visualizzare"},{code:"ja",buttonText:{prev:"前",next:"次",today:"今日",year:"年",month:"月",week:"週",day:"日",list:"予定リスト"},weekText:"週",allDayText:"終日",moreLinkText(e){return"他 "+e+" 件"},noEventsText:"表示する予定はありません"},{code:"ka",week:{dow:1,doy:7},buttonText:{prev:"წინა",next:"შემდეგი",today:"დღეს",year:"წელიწადი",month:"თვე",week:"კვირა",day:"დღე",list:"დღის წესრიგი"},weekText:"კვ",allDayText:"მთელი დღე",moreLinkText(e){return"+ კიდევ "+e},noEventsText:"ღონისძიებები არ არის"},{code:"kk",week:{dow:1,doy:7},buttonText:{prev:"Алдыңғы",next:"Келесі",today:"Бүгін",year:"Жыл",month:"Ай",week:"Апта",day:"Күн",list:"Күн тәртібі"},weekText:"Не",allDayText:"Күні бойы",moreLinkText(e){return"+ тағы "+e},noEventsText:"Көрсету үшін оқиғалар жоқ"},{code:"km",week:{dow:1,doy:4},buttonText:{prev:"មុន",next:"បន្ទាប់",today:"ថ្ងៃនេះ",year:"ឆ្នាំ",month:"ខែ",week:"សប្តាហ៍",day:"ថ្ងៃ",list:"បញ្ជី"},weekText:"សប្តាហ៍",allDayText:"ពេញមួយថ្ងៃ",moreLinkText:"ច្រើនទៀត",noEventsText:"គ្មានព្រឹត្តិការណ៍ត្រូវបង្ហាញ"},{code:"ko",buttonText:{prev:"이전달",next:"다음달",today:"오늘",year:"년도",month:"월",week:"주",day:"일",list:"일정목록"},weekText:"주",allDayText:"종일",moreLinkText:"개",noEventsText:"일정이 없습니다"},{code:"ku",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"پێشتر",next:"دواتر",today:"ئەمڕو",year:"ساڵ",month:"مانگ",week:"هەفتە",day:"ڕۆژ",list:"بەرنامە"},weekText:"هەفتە",allDayText:"هەموو ڕۆژەکە",moreLinkText:"زیاتر",noEventsText:"هیچ ڕووداوێك نیە"},{code:"lb",week:{dow:1,doy:4},buttonText:{prev:"Zréck",next:"Weider",today:"Haut",year:"Joer",month:"Mount",week:"Woch",day:"Dag",list:"Terminiwwersiicht"},weekText:"W",allDayText:"Ganzen Dag",moreLinkText:"méi",noEventsText:"Nee Evenementer ze affichéieren"},{code:"lt",week:{dow:1,doy:4},buttonText:{prev:"Atgal",next:"Pirmyn",today:"Šiandien",year:"Metai",month:"Mėnuo",week:"Savaitė",day:"Diena",list:"Darbotvarkė"},weekText:"SAV",allDayText:"Visą dieną",moreLinkText:"daugiau",noEventsText:"Nėra įvykių rodyti"},{code:"lv",week:{dow:1,doy:4},buttonText:{prev:"Iepr.",next:"Nāk.",today:"Šodien",year:"Gads",month:"Mēnesis",week:"Nedēļa",day:"Diena",list:"Dienas kārtība"},weekText:"Ned.",allDayText:"Visu dienu",moreLinkText(e){return"+vēl "+e},noEventsText:"Nav notikumu"},{code:"mk",buttonText:{prev:"претходно",next:"следно",today:"Денес",year:"година",month:"Месец",week:"Недела",day:"Ден",list:"График"},weekText:"Сед",allDayText:"Цел ден",moreLinkText(e){return"+повеќе "+e},noEventsText:"Нема настани за прикажување"},{code:"ms",week:{dow:1,doy:7},buttonText:{prev:"Sebelum",next:"Selepas",today:"hari ini",year:"Tahun",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sepanjang hari",moreLinkText(e){return"masih ada "+e+" acara"},noEventsText:"Tiada peristiwa untuk dipaparkan"},{code:"nb",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Neste",today:"I dag",year:"År",month:"Måned",week:"Uke",day:"Dag",list:"Agenda"},weekText:"Uke",weekTextLong:"Uke",allDayText:"Hele dagen",moreLinkText:"til",noEventsText:"Ingen hendelser å vise",buttonHints:{prev:"Forrige $0",next:"Neste $0",today:"Nåværende $0"},viewHint:"$0 visning",navLinkHint:"Gå til $0",moreLinkHint(e){return`Vis ${e} flere hendelse${1===e?"":"r"}`}},{code:"ne",week:{dow:7,doy:1},buttonText:{prev:"अघिल्लो",next:"अर्को",today:"आज",year:"वर्ष",month:"महिना",week:"हप्ता",day:"दिन",list:"सूची"},weekText:"हप्ता",allDayText:"दिनभरि",moreLinkText:"थप लिंक",noEventsText:"देखाउनको लागि कुनै घटनाहरू छैनन्"},{code:"nl",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandaag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag",moreLinkText:"extra",noEventsText:"Geen evenementen om te laten zien"},{code:"nn",week:{dow:1,doy:4},buttonText:{prev:"Førre",next:"Neste",today:"I dag",year:"År",month:"Månad",week:"Veke",day:"Dag",list:"Agenda"},weekText:"Veke",allDayText:"Heile dagen",moreLinkText:"til",noEventsText:"Ingen hendelser å vise"},{code:"pl",week:{dow:1,doy:4},buttonText:{prev:"Poprzedni",next:"Następny",today:"Dziś",year:"Rok",month:"Miesiąc",week:"Tydzień",day:"Dzień",list:"Plan dnia"},weekText:"Tydz",allDayText:"Cały dzień",moreLinkText:"więcej",noEventsText:"Brak wydarzeń do wyświetlenia"},{code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",prevYear:"Ano anterior",nextYear:"Próximo ano",year:"Ano",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Próximo $0",today(e){return"Dia"===e?"Hoje":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint(e){return"Visualizar "+("Semana"===e?"a":"o")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText(e){return"mais +"+e},moreLinkHint(e){return`Mostrar mais ${e} eventos`},noEventsText:"Não há eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"},{code:"pt",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seguinte",today:"Hoje",year:"Ano",month:"Mês",week:"Semana",day:"Dia",list:"Agenda"},weekText:"Sem",allDayText:"Todo o dia",moreLinkText:"mais",noEventsText:"Não há eventos para mostrar"},{code:"ro",week:{dow:1,doy:7},buttonText:{prev:"precedentă",next:"următoare",today:"Azi",year:"An",month:"Lună",week:"Săptămână",day:"Zi",list:"Agendă"},weekText:"Săpt",allDayText:"Toată ziua",moreLinkText(e){return"+alte "+e},noEventsText:"Nu există evenimente de afișat"},{code:"ru",week:{dow:1,doy:4},buttonText:{prev:"Пред",next:"След",today:"Сегодня",year:"Год",month:"Месяц",week:"Неделя",day:"День",list:"Повестка дня"},weekText:"Нед",allDayText:"Весь день",moreLinkText(e){return"+ ещё "+e},noEventsText:"Нет событий для отображения"},{code:"si-lk",week:{dow:1,doy:4},buttonText:{prev:"පෙර",next:"පසු",today:"අද",year:"අවුරුදු",month:"මාසය",week:"සතිය",day:"දවස",list:"ලැයිස්තුව"},weekText:"සති",allDayText:"සියලු",moreLinkText:"තවත්",noEventsText:"මුකුත් නැත"},{code:"sk",week:{dow:1,doy:4},buttonText:{prev:"Predchádzajúci",next:"Nasledujúci",today:"Dnes",year:"Rok",month:"Mesiac",week:"Týždeň",day:"Deň",list:"Rozvrh"},weekText:"Ty",allDayText:"Celý deň",moreLinkText(e){return"+ďalšie: "+e},noEventsText:"Žiadne akcie na zobrazenie"},{code:"sl",week:{dow:1,doy:7},buttonText:{prev:"Prejšnji",next:"Naslednji",today:"Trenutni",year:"Leto",month:"Mesec",week:"Teden",day:"Dan",list:"Dnevni red"},weekText:"Teden",allDayText:"Ves dan",moreLinkText:"več",noEventsText:"Ni dogodkov za prikaz"},{code:"sm",buttonText:{prev:"Talu ai",next:"Mulimuli atu",today:"Aso nei",year:"Tausaga",month:"Masina",week:"Vaiaso",day:"Aso",list:"Faasologa"},weekText:"Vaiaso",allDayText:"Aso atoa",moreLinkText:"sili atu",noEventsText:"Leai ni mea na tutupu"},{code:"sq",week:{dow:1,doy:4},buttonText:{prev:"mbrapa",next:"Përpara",today:"Sot",year:"Viti",month:"Muaj",week:"Javë",day:"Ditë",list:"Listë"},weekText:"Ja",allDayText:"Gjithë ditën",moreLinkText(e){return"+më tepër "+e},noEventsText:"Nuk ka evente për të shfaqur"},{code:"sr-cyrl",week:{dow:1,doy:7},buttonText:{prev:"Претходна",next:"следећи",today:"Данас",year:"Година",month:"Месец",week:"Недеља",day:"Дан",list:"Планер"},weekText:"Сед",allDayText:"Цео дан",moreLinkText(e){return"+ још "+e},noEventsText:"Нема догађаја за приказ"},{code:"sr",week:{dow:1,doy:7},buttonText:{prev:"Prethodna",next:"Sledeći",today:"Danas",year:"Godina",month:"Mеsеc",week:"Nеdеlja",day:"Dan",list:"Planеr"},weekText:"Sed",allDayText:"Cеo dan",moreLinkText(e){return"+ još "+e},noEventsText:"Nеma događaja za prikaz"},{code:"sv",week:{dow:1,doy:4},buttonText:{prev:"Förra",next:"Nästa",today:"Idag",year:"År",month:"Månad",week:"Vecka",day:"Dag",list:"Program"},buttonHints:{prev(e){return`Föregående ${e.toLocaleLowerCase()}`},next(e){return`Nästa ${e.toLocaleLowerCase()}`},today(e){return("Program"===e?"Detta":"Denna")+" "+e.toLocaleLowerCase()}},viewHint:"$0 vy",navLinkHint:"Gå till $0",moreLinkHint(e){return`Visa ytterligare ${e} händelse${1===e?"":"r"}`},weekText:"v.",weekTextLong:"Vecka",allDayText:"Heldag",moreLinkText:"till",noEventsText:"Inga händelser att visa",closeHint:"Stäng",timeHint:"Klockan",eventHint:"Händelse"},{code:"ta-in",week:{dow:1,doy:4},buttonText:{prev:"முந்தைய",next:"அடுத்தது",today:"இன்று",year:"ஆண்டு",month:"மாதம்",week:"வாரம்",day:"நாள்",list:"தினசரி அட்டவணை"},weekText:"வாரம்",allDayText:"நாள் முழுவதும்",moreLinkText(e){return"+ மேலும் "+e},noEventsText:"காண்பிக்க நிகழ்வுகள் இல்லை"},{code:"th",week:{dow:1,doy:4},buttonText:{prev:"ก่อนหน้า",next:"ถัดไป",prevYear:"ปีก่อนหน้า",nextYear:"ปีถัดไป",year:"ปี",today:"วันนี้",month:"เดือน",week:"สัปดาห์",day:"วัน",list:"กำหนดการ"},weekText:"สัปดาห์",allDayText:"ตลอดวัน",moreLinkText:"เพิ่มเติม",noEventsText:"ไม่มีกิจกรรมที่จะแสดง"},{code:"tr",week:{dow:1,doy:7},buttonText:{prev:"geri",next:"ileri",today:"bugün",year:"Yıl",month:"Ay",week:"Hafta",day:"Gün",list:"Ajanda"},weekText:"Hf",allDayText:"Tüm gün",moreLinkText:"daha fazla",noEventsText:"Gösterilecek etkinlik yok"},{code:"ug",buttonText:{prev:"ئالدىنقى",next:"كېيىنكى",today:"بۈگۈن",year:"يىل",month:"ئاي",week:"ھەپتە",day:"كۈن",list:"كۈنتەرتىپ"},allDayText:"پۈتۈن كۈن"},{code:"uk",week:{dow:1,doy:7},buttonText:{prev:"Попередній",next:"далі",today:"Сьогодні",year:"рік",month:"Місяць",week:"Тиждень",day:"День",list:"Порядок денний"},weekText:"Тиж",allDayText:"Увесь день",moreLinkText(e){return"+ще "+e+"..."},noEventsText:"Немає подій для відображення"},{code:"uz-cy",week:{dow:1,doy:4},buttonText:{prev:"Олин",next:"Кейин",today:"Бугун",month:"Ой",week:"Ҳафта",day:"Кун",list:"Кун тартиби"},weekText:"Ҳафта",allDayText:"Кун бўйича",moreLinkText(e){return"+ яна "+e},noEventsText:"Кўрсатиш учун воқеалар йўқ"},{code:"uz",week:{dow:1,doy:4},buttonText:{prev:"Oldingi",next:"Keyingi",today:"Bugun",year:"Yil",month:"Oy",week:"Xafta",day:"Kun",list:"Kun tartibi"},allDayText:"Kun bo'yi",moreLinkText(e){return"+ yana "+e},noEventsText:"Ko'rsatish uchun voqealar yo'q"},{code:"vi",week:{dow:1,doy:4},buttonText:{prev:"Trước",next:"Tiếp",today:"Hôm nay",year:"Năm",month:"Tháng",week:"Tuần",day:"Ngày",list:"Lịch biểu"},weekText:"Tu",allDayText:"Cả ngày",moreLinkText(e){return"+ thêm "+e},noEventsText:"Không có sự kiện để hiển thị"},{code:"zh-cn",week:{dow:1,doy:4},buttonText:{prev:"上月",next:"下月",today:"今天",year:"年",month:"月",week:"周",day:"日",list:"日程"},weekText:"周",allDayText:"全天",moreLinkText(e){return"另外 "+e+" 个"},noEventsText:"没有事件显示"},{code:"zh-tw",buttonText:{prev:"上個",next:"下個",today:"今天",year:"年",month:"月",week:"週",day:"天",list:"活動列表"},weekText:"週",allDayText:"整天",moreLinkText:"顯示更多",noEventsText:"沒有任何活動"}])}(); \ No newline at end of file diff --git a/build/bida-chart.pkgd.min.js b/build/bida-chart.pkgd.min.js index 2606493..c79f277 100644 --- a/build/bida-chart.pkgd.min.js +++ b/build/bida-chart.pkgd.min.js @@ -1 +1 @@ -!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("d3-axis"),require("d3-brush"),require("d3-drag"),require("d3-dsv"),require("d3-ease"),require("d3-interpolate"),require("d3-scale"),require("d3-selection"),require("d3-shape"),require("d3-time-format"),require("d3-transition"),require("d3-zoom"));else if("function"==typeof define&&define.amd)define(["d3-axis","d3-brush","d3-drag","d3-dsv","d3-ease","d3-interpolate","d3-scale","d3-selection","d3-shape","d3-time-format","d3-transition","d3-zoom"],e);else{var i,n="object"==typeof exports?e(require("d3-axis"),require("d3-brush"),require("d3-drag"),require("d3-dsv"),require("d3-ease"),require("d3-interpolate"),require("d3-scale"),require("d3-selection"),require("d3-shape"),require("d3-time-format"),require("d3-transition"),require("d3-zoom")):e(t.d3,t.d3,t.d3,t.d3,t.d3,t.d3,t.d3,t.d3,t.d3,t.d3,t.d3,t.d3);for(i in n)("object"==typeof exports?exports:t)[i]=n[i]}}(this,function(e,a,s,r,o,l,c,h,d,u,g,f){return function(){"use strict";var i=[,,function(t){t.exports=h},function(t){t.exports=a},function(t){t.exports=u},function(t){t.exports=r},function(t){t.exports=c},function(t){t.exports=s},function(t){t.exports=g},function(t){t.exports=d},function(t){t.exports=e},function(t){t.exports=o},function(t){t.exports=l},function(t){t.exports=f}],n={};function On(t){var e=n[t];if(void 0!==e)return e.exports;e=n[t]={exports:{}};return i[t](e,e.exports,On),e.exports}On.d=function(t,e){for(var i in e)On.o(e,i)&&!On.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},On.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},On.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var Pn={};return function(){On.r(Pn),On.d(Pn,{bb:function(){return Ln},default:function(){return Ln}});var e={};On.r(e),On.d(e,{area:function(){return Ui},areaLineRange:function(){return Zi},areaSpline:function(){return qi},areaSplineRange:function(){return Ki},areaStep:function(){return Ji},bar:function(){return ln},bubble:function(){return cn},candlestick:function(){return hn},donut:function(){return nn},gauge:function(){return an},line:function(){return Qi},pie:function(){return sn},polar:function(){return rn},radar:function(){return on},scatter:function(){return dn},spline:function(){return tn},step:function(){return en}});var i={};function D(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}On.r(i),On.d(i,{selection:function(){return Sn},subchart:function(){return Cn},zoom:function(){return Rn}});var o=On(4),I=On(2),n=void 0,c=function(){return D(this,n),"object"==typeof globalThis&&null!==globalThis&&globalThis.Object===Object&&globalThis||"object"==typeof global&&null!==global&&global.Object===Object&&global||"object"==typeof self&&null!==self&&self.Object===Object&&self||Function("return this")()}.bind(void 0)();c.requestIdleCallback=c.requestIdleCallback||function(t){return D(this,n),setTimeout(t,1)}.bind(void 0),c.requestAnimationFrame=c.requestAnimationFrame||function(t){return D(this,n),setTimeout(t,1)}.bind(void 0);var p=null==c?void 0:c.document,S={AREA:"area",AREA_LINE_RANGE:"area-line-range",AREA_SPLINE:"area-spline",AREA_SPLINE_RANGE:"area-spline-range",AREA_STEP:"area-step",BAR:"bar",BUBBLE:"bubble",CANDLESTICK:"candlestick",DONUT:"donut",GAUGE:"gauge",LINE:"line",PIE:"pie",POLAR:"polar",RADAR:"radar",SCATTER:"scatter",SPLINE:"spline",STEP:"step"},s={AREA:"initArea",AREA_LINE_RANGE:"initArea",AREA_SPLINE:"initArea",AREA_SPLINE_RANGE:"initArea",AREA_STEP:"initArea",BAR:"initBar",BUBBLE:"initCircle",CANDLESTICK:"initCandlestick",DONUT:"initArc",GAUGE:"initArc",LINE:"initLine",PIE:"initArc",POLAR:"initPolar",RADAR:"initCircle",SCATTER:"initCircle",SPLINE:"initLine",STEP:"initLine"},C={Area:[S.AREA,S.AREA_SPLINE,S.AREA_SPLINE_RANGE,S.AREA_LINE_RANGE,S.AREA_STEP],AreaRange:[S.AREA_SPLINE_RANGE,S.AREA_LINE_RANGE],Arc:[S.PIE,S.DONUT,S.GAUGE,S.POLAR,S.RADAR],Line:[S.LINE,S.SPLINE,S.AREA,S.AREA_SPLINE,S.AREA_SPLINE_RANGE,S.AREA_LINE_RANGE,S.STEP,S.AREA_STEP],Step:[S.STEP,S.AREA_STEP],Spline:[S.SPLINE,S.AREA_SPLINE,S.AREA_SPLINE_RANGE]};function a(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var d=On(3),r=void 0;function l(e,t){var i,n=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)),n}function h(e){for(var i,t=1;t/g,">"):t}function T(i,t,n,e){var a,s,r=this;void 0===n&&(n=[-1,1]),void 0===e&&(e=!1),i&&u(t)&&(-1===t.indexOf("\n")?i.text(t):(a=[i.text(),t].map(function(t){return D(this,r),t.replace(/[\s\n]/g,"")}.bind(this)))[0]!==a[1]&&(t=t.split("\n"),s=e?t.length-1:1,i.html(""),t.forEach(function(t,e){D(this,r),i.append("tspan").attr("x",0).attr("dy",(0===e?n[0]*s:n[1])+"em").text(t)}.bind(this))))}function w(t){var e=t.getBBox(),i=e.x,n=e.y,t=e.width,e=e.height;return[{x:i,y:n+e},{x:i,y:n},{x:i+t,y:n},{x:i+t,y:n+e}]}function A(t,e){var i=t&&(null==(i=t.touches||t.sourceEvent&&t.sourceEvent.touches)?void 0:i[0]),e=(0,I.pointer)(i||t,e),n=this;return e.map(function(t){return D(this,n),isNaN(t)?0:t}.bind(this))}function k(t){var e,i=t.event,t=t.$el,t=t.subchart.main||t.main;return i&&"brush"===i.type?e=i.selection:t&&(e=t.select(".bb-brush").node())&&(e=(0,d.brushSelection)(e)),e}function L(t){return!("rect"in t)||"rect"in t&&t.hasAttribute("width")&&t.rect.width!==+t.getAttribute("width")?t.rect=t.getBoundingClientRect():t.rect}function O(t,e,i){void 0===t&&(t=!0),void 0===e&&(e=0),void 0===i&&(i=1e4);e=Math.floor(Math.random()*(i-e)+e);return t?e+"":e}function P(t){t=k(t);return!t||t[0]===t[1]}function j(e,t){var i,n=this;for(i in void 0===e&&(e={}),B(t)&&t.forEach(function(t){return D(this,n),j(e,t)}.bind(this)),t)/^\d+$/.test(i)||i in e||(e[i]=t[i]);return e}var Y=function(t){return D(this,r),t.charAt(0).toUpperCase()+t.slice(1)}.bind(void 0);var V=function(t){return D(this,r),[].slice.call(t)}.bind(void 0);function H(t){t=t?t.transform:null,t=t&&t.baseVal;return t&&t.numberOfItems?t.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function W(t){var n=this,e=t[0]instanceof Date,t=(e?t.map(Number):t).filter(function(t,e,i){return D(this,n),i.indexOf(t)===e}.bind(this));return e?t.map(function(t){return D(this,n),new Date(t)}.bind(this)):t}function U(t){var i=this;return t&&t.length?t.reduce(function(t,e){return D(this,i),t.concat(e)}.bind(this)):[]}function Z(i){for(var n=this,t=arguments.length,e=Array(1{=TITLE}",legend_position:"bottom",legend_inset_anchor:"top-left",legend_inset_x:10,legend_inset_y:0,legend_inset_step:void 0,legend_item_onclick:void 0,legend_item_onover:void 0,legend_item_onout:void 0,legend_equally:!1,legend_padding:0,legend_item_tile_width:10,legend_item_tile_height:10,legend_item_tile_r:5,legend_item_tile_type:"rectangle",legend_usePoint:!1},Bt={title_text:void 0,title_padding:{top:0,right:0,bottom:0,left:0},title_position:"center"},Nt=void 0,Gt={tooltip_show:!0,tooltip_doNotHide:!1,tooltip_grouped:!0,tooltip_format_title:void 0,tooltip_format_name:void 0,tooltip_format_value:void 0,tooltip_position:void 0,tooltip_contents:{},tooltip_init_show:!1,tooltip_init_x:0,tooltip_init_position:{top:"0px",left:"50px"},tooltip_linked:!1,tooltip_linked_name:"",tooltip_onshow:function(){D(this,Nt)}.bind(void 0),tooltip_onhide:function(){D(this,Nt)}.bind(void 0),tooltip_onshown:function(){D(this,Nt)}.bind(void 0),tooltip_onhidden:function(){D(this,Nt)}.bind(void 0),tooltip_order:null};function jt(e,t){var i,n=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)),n}function Yt(e){for(var i,t=1;t'":;\[\]\/|~`{}\\])/g,"-")},selectorTarget:function(t,e){e=e||"",t=this.getTargetSelectorSuffix(t);return e+"."+(Lt.target+t)+", "+e+"."+(Lt.circles+t)},selectorTargets:function(t,e){var i=this,t=t||[];return t.length?t.map(function(t){return D(this,i),this.selectorTarget(t,e)}.bind(this)):null},selectorLegend:function(t){return"."+(Lt.legendItem+this.getTargetSelectorSuffix(t))},selectorLegends:function(t){var e=this;return null!=t&&t.length?t.map(function(t){return D(this,e),this.selectorLegend(t)}.bind(this)):null}},Te=On(6),we=function(t,e,i){D(this,void 0);t=(0,I.select)(t.cloneNode(!0));return t.attr("id",i).insert("rect",":first-child").attr("width",t.attr("width")).attr("height",t.attr("height")).style("fill",e),{id:i,node:t.node()}}.bind(void 0);var Ae=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],ke={generateColor:function(){var n,a=this,s=this,t=s.$el,r=s.config,o=r.data_colors,l=r.data_color,c=[],h=E(r.color_pattern)?r.color_pattern:(0,Te.scaleOrdinal)(function(t){var e,i=this,n=Wt,a=p.body,s=a[n];return s||(e=t.classed(ut.colorPattern,!0).style("background-image"),t.classed(ut.colorPattern,!1),-1')}.bind(this)))},getGradienColortUrl:function(t){return"url(#"+this.state.datetimeId+"-gradient"+this.getTargetSelectorSuffix(t)+")"},updateLinearGradient:function(){var c=this,h=this,d=h.config,t=h.data.targets,u=h.state.datetimeId,g=h.$el.defs;t.forEach(function(i){var n=this;D(this,c);var a,t,e,s,r=u+"-gradient"+h.getTargetSelectorSuffix(i.id),o=h.isAreaType(i)?"area":h.isBarType(i)&&"bar",l=d.axis_rotated;o&&g.select("#"+r).empty()&&(a=h.color(i),o=void 0===(t=(e=d[o+"_linearGradient"]).x)?l?[1,0]:[0,0]:t,t=void 0===(t=e.y)?l?[0,0]:[0,1]:t,e=void 0===(e=e.stops)?[[0,a,1],[1,a,0]]:e,s=g.append("linearGradient").attr("id",r).attr("x1",o[0]).attr("x2",o[1]).attr("y1",t[0]).attr("y2",t[1]),e.forEach(function(t){D(this,n);var e=M(t[1])?t[1].bind(h.api)(i.id):t[1];s.append("stop").attr("offset",t[0]).attr("stop-color",e||a).attr("stop-opacity",t[2])}.bind(this)))}.bind(this))},setOverColor:function(t,e){var i=this,n=this,a=n.config,s=n.$el.main,r=a.color_onover,t=t?r:n.color;N(t)?t=function(t){t=t.id;return D(this,i),t in r?r[t]:n.color(t)}.bind(this):u(t)?t=function(){return D(this,i),r}.bind(this):M(r)&&(t=t.bind(n.api)),s.selectAll(N(e)?"."+rt.arc+n.getTargetSelectorSuffix(e.id):"."+kt.shape+"-"+e).style("fill",t)}},Se={getYDomainMinMax:function(t,e){var o,i=this,n=this,l=n.axis,a=n.config,c="min"===e,a=a.data_groups,h=n.mapToIds(t),d=n.getValuesAsIdKeyed(t);return 0=h.max.width)&&(h.max.width=r),(!h.max.height||t>=h.max.height)&&(h.max.height=t);t=p?h.max.height:h.max.width;g.legend_equally?(Object.keys(d.widths).forEach(function(t){return D(this,s),d.widths[t]=h.max.width}.bind(this)),Object.keys(d.heights).forEach(function(t){return D(this,s),d.heights[t]=h.max.height}.bind(this)),(a=(l-t*c.length)/2)r.width?(n=L(i).width,l=r.width-n):l<0&&(l=4)),o&&(l+=a.getCenteredTextPos(e,t,i)),l+a.getTextPos(e.id,"x")},getYForText:function(t,e,i){var n,a=this,s=a.axis,r=a.config,o=a.state,l=r.axis_rotated,c=r["axis_"+(null==s?void 0:s.getId(e.id))+"_inverted"],h=a.isBarType(e),d=r.point_r,u=L(i),g=e.value,s=3;return a.isCandlestickType(e)?(g=a.getCandlestickData(e),l?(n=t[0][0],n+=(t[1][0]-n)/2+s):(n=g&&g._isUp?t[2][2]-s:t[2][1]+4*s,c&&(n+=15*(g._isUp?1:-1)))):l?n=(t[0][0]+t[2][0]+.6*u.height)/2:(n=t[2][1],X(d)&&5o.height&&(n=o.height-4)),l||(n+=a.getCenteredTextPos(e,t,i)),n+a.getTextPos(e.id,"y")},markOverlapped:function(e,t,i){var n=this,t=t.$el.arcs.selectAll(i),i=t.filter(function(t){return D(this,n),t.data.id!==e}.bind(this)),a=t.filter(function(t){return D(this,n),t.data.id===e}.bind(this)),s=H(a.node()),r=function(t,e){return D(this,n),Math.sqrt(Math.pow(t,2)+Math.pow(e,2))}.bind(this);a.node()&&i.each(function(){var t=H(this),e=(0,I.select)(this),i=r(s.e,s.f)>r(t.e,t.f)?a:e,i=Math.ceil(Math.abs(s.e-t.e))'+y+"":""})),!E.ratio&&r.$el.arcs&&(E.ratio=r.getRatio("arc",r.$el.arcs.select("path."+rt.arc+"-"+E.id).data()[0])),m=[E.ratio,E.id,E.index,t],w=G(g.apply(void 0,[p(E)].concat(m))),r.isAreaRangeType(E)?(k=(A=["high","low"].map(function(t){return D(this,s),G(g.apply(void 0,[r.getRangedData(E,t)].concat(m)))}.bind(this)))[0],S=A[1],w="Mid: "+w+" High: "+k+" Low: "+S):r.isCandlestickType(E)?(A=(C=["open","high","low","close","volume"].map(function(t){return D(this,s),G(g.apply(void 0,[r.getRangedData(E,t,"candlestick")].concat(m)))}.bind(this)))[0],k=C[1],S=C[2],R=C[3],C=C[4],w="Open: "+A+" High: "+k+" Low: "+S+" Close: "+R+(C?" Volume: "+C:"")):r.isBarRangeType(E)&&(C=(R=E.value)[0],R=R[1],w=g(C)+" ~ "+g(R)),void 0!==w&&function(){var e=this;if(null===E.name)return;var i,t=G(u.apply(void 0,[E.name].concat(m))),n=x(E),a={CLASS_TOOLTIP_NAME:Rt.tooltipName+r.getTargetSelectorSuffix(E.id),COLOR:b||!r.patterns?n:'',NAME:t,VALUE:w};b&&N(v.text)&&(i=_.indexOf(E.id),Object.keys(v.text).forEach(function(t){D(this,e),a[t]=v.text[t][i]}.bind(this))),T+=tt(L[1],a)}());return T+""},getTooltipContentTemplate:function(t){return(t||'\n\t\t\t\t{=TITLE}\n\t\t\t\t{{\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}}\n\t\t\t
'+(this.patterns?"{=COLOR}":'')+'{=NAME}{=VALUE}
').replace(/(\r?\n|\t)/g,"").split(/{{(.*)}}/)},tooltipPosition:function(t,e,i,n){var a=this,s=this,r=s.config,o=s.scale,l=s.state,c=l.width,h=l.height,d=l.current,u=l.isLegendRight,g=l.inputType,f=l.event,p=s.hasType("gauge")&&!r.gauge_fullCircle,x=s.getSvgLeft(!0),v=x+d.width-s.getCurrentPaddingRight(),l=s.getCurrentPaddingLeft(!0),f=A(f,n),n=f[0],f=f[1];s.hasArcType()?"touch"===g||s.hasType("radar")||(f+=p?h:h/2,n+=(c-(u?s.getLegendWidth():0))/2):(t=o.x(t[0].x),r.axis_rotated?(f=t+20,n+=x+100,v-=x):(f-=5,n=x+l+20+(s.scale.zoom?n:t))),vd.height&&(f-=p?3*i:i+30);var b={top:f,left:n};return Object.keys(b).forEach(function(t){D(this,a),b[t]<0&&(b[t]=0)}.bind(this)),b},showTooltip:function(t,e){var i,n,a,s,r,o,l=this,c=this,h=c.config,d=c.scale,u=c.state,g=c.$el.tooltip,f=h.tooltip_contents.bindto,p=t.filter(function(t){return D(this,l),t&&z(c.getBaseValue(t))}.bind(this));g&&0!==p.length&&h.tooltip_show&&(n=void 0===(a=(s=(i=g.datum())||{}).width)?0:a,a=void 0===(r=s.height)?0:r,s=JSON.stringify(t),i&&i.current===s||(r=t.concat().sort()[0].index,m(h.tooltip_onshow,c.api,t),g.html(c.getTooltipHTML(t,c.axis?c.axis.getXAxisTickFormat():c.categoryName.bind(c),c.getDefaultValueFormat(),c.color)).style("display",null).style("visibility",null).datum(i={index:r,current:s,width:n=g.property("offsetWidth"),height:a=g.property("offsetHeight")}),m(h.tooltip_onshown,c.api,t),c._handleLinkedCharts(!0,r)),f||(h=(null==(f=h.tooltip_position)?void 0:f.bind(c.api))||c.tooltipPosition.bind(c),f={x:(f=A(u.event,e))[0],y:f[1]},t=null==(t=t.filter(Boolean))?void 0:t.shift(),d.x&&t&&"x"in t&&(f.xAxis=d.x(t.x)),o=h(p,n,a,e,f),["top","left"].forEach(function(t){D(this,l);var e=o[t];g.style(t,e+"px"),"left"!==t||i.xPosInPercent||(i.xPosInPercent=e/u.current.width*100)}.bind(this))))},bindTooltipResizePos:function(){var n=this,t=this.resizeFunction,a=this.state,s=this.$el.tooltip;t.add(function(){var t,e,i;D(this,n),"block"===s.style("display")&&(t=a.current,i=(e=s.datum()).width,e=e.xPosInPercent,e=t.width/100*e,(i=t.width-(e+i))<0&&(e+=i),s.style("left",e+"px"))}.bind(this))},hideTooltip:function(t){var e=this.api,i=this.config,n=this.$el.tooltip;!n||"none"===n.style("display")||i.tooltip_doNotHide&&!t||(t=JSON.parse(n.datum().current),m(i.tooltip_onhide,e,t),n.style("display","none").style("visibility","hidden").datum(null),m(i.tooltip_onhidden,e,t))},_handleLinkedCharts:function(s,r){var o,l=this,e=this,t=e.charts,i=e.config,n=e.state.event;null!=n&&n.isTrusted&&i.tooltip_linked&&1 ."+dt.circles),a(n.selectAll(s).filter(function(t){return D(this,e),i.isTargetToShow(t.id)}.bind(this))).style("opacity",null)},e.getWithOption=function(i){var n=this,a={Dimension:!0,EventRect:!0,Legend:!1,Subchart:!0,Transform:!1,Transition:!0,TrimXDomain:!0,UpdateXAxis:"UpdateXDomain",UpdateXDomain:!1,UpdateOrgXDomain:!1,TransitionForExit:"Transition",TransitionForAxis:"Transition",Y:!0};return Object.keys(a).forEach(function(t){D(this,n);var e=a[t];u(e)&&(e=a[e]),a[t]=_(i,"with"+t,e)}.bind(this)),a},e.initialOpacity=function(t){var e=this.state.withoutFadeIn;return null!==this.getBaseValue(t)&&e[t.id]?null:"0"},e.bindResize=function(){var e=this,t=this,i=t.config,n=t.state,a=function(e){var i,n=this,a=[],s=function(){var t=this;s.clear(),!1===e&&c.requestIdleCallback?requestIdleCallback(function(){var e=this;D(this,t),a.forEach(function(t){return D(this,e),t()}.bind(this))}.bind(this),{timeout:200}):i=ne(function(){var e=this;D(this,t),a.forEach(function(t){return D(this,e),t()}.bind(this))}.bind(this),X(e)?e:200)};return s.clear=function(){D(this,n),i&&(ae(i),i=null)}.bind(this),s.add=function(t){return D(this,n),a.push(t)}.bind(this),s.remove=function(t){return D(this,n),a.splice(a.indexOf(t),1)}.bind(this),s}(i.resize_timer),s=[];s.push(function(){return D(this,e),m(i.onresize,t.api)}.bind(this)),i.resize_auto&&s.push(function(){D(this,e),n.resizing=!0,i.legend_show&&(t.updateSizes(),t.updateLegend()),t.api.flush(!1)}.bind(this)),s.push(function(){D(this,e),m(i.onresized,t.api),n.resizing=!1}.bind(this)),s.forEach(function(t){return D(this,e),a.add(t)}.bind(this)),t.resizeFunction=a,c.addEventListener("resize",t.resizeFunction=a)},e.callPluginHook=function(e){for(var i=this,t=arguments.length,n=Array(1\n\t\t\t\n\t\t\t\t'+l+"\n\t\t\t\t"+t.replace(/(url\()[^#]+/g,"$1")+"\n\t\t\t").replace("/\n/g","%0A");return"data:image/svg+xml;base64,"+We(t)}function Ze(t,e,i){var n=this,a=this.internal,s=a.mapToTargetIds(e),r=a.state.hiddenTargetIds.map(function(t){return D(this,n),-1i.length&&(a=i.length),i=this.generateTickValues(i,a,this.isTimeSeries())),e?e.tickValues(i):this.x&&(this.x.tickValues(i),null!=(e=this.subX)&&e.tickValues(i)),i},e.getId=function(t){var e=this.owner,i=e.config,e=e.scale,t=i.data_axes[t];return t=!t||!e[t]?"y":t},e.getXAxisTickFormat=function(t){var e,i=this,n=this.owner,a=n.config,s=n.format,r=t&&a.subchart_axis_x_tick_format||a.axis_x_tick_format,a=this.isTimeSeries(),o=this.isCategorized();return r?M(r)?e=r.bind(n.api):a&&(e=function(t){return D(this,i),t?s.axisTime(r)(t):""}.bind(this)):e=a?s.defaultAxisTime:o?n.categoryName:function(t){return D(this,i),t<0?t.toFixed(0):t}.bind(this),M(e)?function(t){return D(this,i),e.apply(n,o?[t,n.categoryName(t)]:[t])}.bind(this):e},e.getTickValues=function(t){var e=this.owner,i=e.config["axis_"+t+"_tick_values"],t=e[t+"Axis"];return(M(i)?i.call(e.api):i)||(t?t.tickValues():void 0)},e.getLabelOptionByAxisId=function(t){return this.owner.config["axis_"+t+"_label"]},e.getLabelText=function(t){t=this.getLabelOptionByAxisId(t);return u(t)?t:t?t.text:null},e.setLabelText=function(t,e){var i=this.owner.config,n=this.getLabelOptionByAxisId(t);u(n)?i["axis_"+t+"_label"]=e:n&&(n.text=e)},e.getLabelPosition=function(t,e){var i=this,n=this.owner.config.axis_rotated,t=this.getLabelOptionByAxisId(t),a=v(t)&&t.position?t.position:e[+!n],n=function(t){return D(this,i),!!~a.indexOf(t)}.bind(this);return{isInner:n("inner"),isOuter:n("outer"),isLeft:n("left"),isCenter:n("center"),isRight:n("right"),isTop:n("top"),isMiddle:n("middle"),isBottom:n("bottom")}},e.getAxisLabelPosition=function(t){return this.getLabelPosition(t,"x"===t?["inner-top","inner-right"]:["inner-right","inner-top"])},e.getLabelPositionById=function(t){return this.getAxisLabelPosition(t)},e.xForAxisLabel=function(t){var e=this.owner,i=e.state,n=i.width,a=i.height,s=this.getAxisLabelPosition(t),i=s.isMiddle?-a/2:0;return this.isHorizontal(e,"x"!==t)?i=s.isLeft?0:s.isCenter?n/2:n:s.isBottom&&(i=-a),i},e.dxForAxisLabel=function(t){var e=this.owner,i=this.getAxisLabelPosition(t),n=i.isBottom?"0.5em":"0";return this.isHorizontal(e,"x"!==t)?n=i.isLeft?"0.5em":i.isRight?"-0.5em":"0":i.isTop&&(n="-0.5em"),n},e.textAnchorForAxisLabel=function(t){var e=this.owner,i=this.getAxisLabelPosition(t),n=i.isMiddle?"middle":"end";return this.isHorizontal(e,"x"!==t)?n=i.isLeft?"start":i.isCenter?"middle":"end":i.isBottom&&(n="start"),n},e.dyForAxisLabel=function(t){var e,i=this.owner,n=i.config,a=n.axis_rotated,s=this.getAxisLabelPosition(t).isInner,r=n["axis_"+t+"_tick_rotate"]?i.getHorizontalAxisHeight(t):0,o=this.getMaxTickWidth(t);return e="x"===t?(i=n.axis_x_height,a?s?"1.2em":-25-o:s?"-0.5em":i?i-10:r?r-10:"3em"):(e={y:["-0.5em",10,"3em","1.2em",10],y2:["1.2em",-20,"-2.2em","-0.5em",15]}[t],a?s?e[0]:r?r*("y2"===t?-1:1)-e[1]:e[2]:s?e[3]:(e[4]+(n["axis_"+t+"_inner"]?0:o+e[4]))*("y"===t?-1:1))},e.getMaxTickWidth=function(t,e){var i=this,n=this.owner,a=n.config,s=n.state.current,r=n.$el,o=r.svg,l=r.chart,c=s.maxTickWidths[t],h=0;if(e||!a["axis_"+t+"_show"]||0===n.filterTargetsToShow().length)return c.size;if(o){var d=/^y2?$/.test(t),r=n.filterTargetsToShow(n.data.targets),s=n.scale[t].copy().domain(n["get"+(d?"Y":"X")+"Domain"](r,t)),e=s.domain(),o=e[0]===e[1]&&e.every(function(t){return D(this,i),0=u)&&(n=!0,t.preventDefault())}.bind(this);l.on("touchstart",function(t){D(this,a),o.event=t,s.updateEventRect()}.bind(this)).on("touchstart.eventRect touchmove.eventRect",function(t){D(this,a),o.event=t,!l.empty()&&l.classed(vt.eventRect)?o.dragging||o.flowing||s.hasArcType()||1n&&(a=a.filter(function(t){return D(this,i),(t+"").indexOf(".")<0}.bind(this)));return a},getGridFilterToRemove:function(t){var a=this;return(t?function(e){var i=this;D(this,a);var n=!1;return(B(t)?t.concat():[t]).forEach(function(t){D(this,i),("value"in t&&e.value===t.value||"class"in t&&e.class===t.class)&&(n=!0)}.bind(this)),n}:function(){return D(this,a),!0}).bind(this)},removeGridLines:function(t,e){var i=this,n=this.config,a=this.$T,s=this.getGridFilterToRemove(t),r=function(t){return D(this,i),!s(t)}.bind(this),t=e?_t.xgridLine:_t.ygridLine;a(this.$el.main.select("."+(e?_t.xgridLines:_t.ygridLines)).selectAll("."+t).filter(s)).style("opacity","0").remove();e="grid_"+(e?"x":"y")+"_lines";n[e]=n[e].filter(r)}},je={initRegion:function(){var t=this.$el;t.region.main=t.main.insert("g",":first-child").attr("clip-path",this.state.clip.path).attr("class",wt.regions)},updateRegion:function(){var t=this.config,e=this.$el.region,i=this.$T;e.main||this.initRegion(),e.main.style("visibility",this.hasArcType()?"hidden":null);t=e.main.selectAll("."+wt.region).data(t.regions);i(t.exit()).style("opacity","0").remove(),(t=t.enter().append("g").merge(t).attr("class",this.classRegion.bind(this))).append("rect").style("fill-opacity","0"),e.list=t},redrawRegion:function(t){var e=this,i=this,n=i.$el.region;return[(0,i.$T)(n.list.select("rect"),t).attr("x",i.regionX.bind(i)).attr("y",i.regionY.bind(i)).attr("width",i.regionWidth.bind(i)).attr("height",i.regionHeight.bind(i)).style("fill-opacity",function(t){return D(this,e),z(t.opacity)?t.opacity:null}.bind(this)).on("end",function(){(0,I.select)(this.parentNode).selectAll("rect:not([x])").remove()})]},getRegionXY:function(t,e){var i=this.config,n=this.scale,a=i.axis_rotated,s="x"===t,i="start",t=0;return"y"===e.axis||"y2"===e.axis?(s||(i="end"),(s?a:!a)&&i in e&&(t=(0,n[e.axis])(e[i]))):(s?!a:a)&&i in e&&(t=(n.zoom||n.x)(this.axis.isTimeSeries()?et.call(this,e[i]):e[i])),t},regionX:function(t){return this.getRegionXY("x",t)},regionY:function(t){return this.getRegionXY("y",t)},getRegionSize:function(t,e){var i=this.config,n=this.scale,a=this.state,s=i.axis_rotated,r="width"===t,o=this[r?"regionX":"regionY"](e),i="end",t=a[t];return"y"===e.axis||"y2"===e.axis?(r||(i="start"),(r?s:!s)&&i in e&&(t=(0,n[e.axis])(e[i]))):(r?!s:s)&&i in e&&(t=(n.zoom||n.x)(this.axis.isTimeSeries()?et.call(this,e[i]):e[i])),tn.height/2&&(i=n.height/2)),i+(this.axis.getLabelPositionById(t).isInner?0:10)+("y2"!==t||o?0:-10)},getEventRectWidth:function(){return Math.max(0,this.axis.x.tickInterval())},getAxisTickRotate:function(t){var e,i,n=this.axis,a=this.config,s=this.state,r=this.$el,o=a["axis_"+t+"_tick_rotate"];return"x"===t&&(e=n.isCategorized()||n.isTimeSeries(),a.axis_x_tick_fit&&e&&(i=a.axis_x_tick_count,t=s.current.maxTickWidths.x.ticks.length,n=0,i?n=tMath.PI||t<-1*Math.PI)&&(t=Math.PI),t},updateAngle:function(t){var i=this,e=this,n=e.config,a=e.state,s=e.pie,r=t,o=!1;if(!n)return null;var l,c=e.getStartAngle(),h=n.gauge_fullCircle?e.getArcLength():-2*c;return r.data&&e.isGaugeType(r.data)&&!e.hasMultiArcGauge()&&(l=n.gauge_min,t=n.gauge_max,a=e.getTotalDataSum(a.rendered),s=s.startAngle(c).endAngle(h*((a-l)/(t-l))+c)),s(e.filterTargetsToShow()).forEach(function(t,e){D(this,i),o||t.data.id!==r.data.id||(o=!0,(r=t).index=e)}.bind(this)),isNaN(r.startAngle)&&(r.startAngle=0),isNaN(r.endAngle)&&(r.endAngle=r.startAngle),r.data&&e.hasMultiArcGauge()&&(s=n.gauge_min,e=n.gauge_max,n=r.value=e.open),e||null}},Ti={initGauge:function(){var t,e=this,i=this.config,n=this.$el.arcs,a=function(t){D(this,e),n.append("text").attr("class",t).style("text-anchor","middle").style("pointer-events","none")}.bind(this);this.hasType("gauge")&&(t=this.hasMultiArcGauge(),n.append(t?"g":"path").attr("class",rt.chartArcsBackground).style("fill",!t&&i.gauge_background||null),i.gauge_units&&a(ft.chartArcsGaugeUnit),i.gauge_label_show&&(a(ft.chartArcsGaugeMin),i.gauge_fullCircle||a(ft.chartArcsGaugeMax)))},updateGaugeMax:function(){var t=this.config,e=this.state,e=this.hasMultiArcGauge()?this.getMinMaxData().max[0].value:this.getTotalDataSum(e.rendered);e+t.gauge_min*(0t.gauge_max&&(t.gauge_max=e-t.gauge_min)},redrawMultiArcGauge:function(){var e=this,l=this,t=l.config,c=l.state,i=l.$el,h=l.state.hiddenTargetIds,i=i.main.selectAll("."+rt.arcs).selectAll("."+rt.arcLabelLine).data(l.arcData.bind(l));i.enter().append("rect").attr("class",function(t){return D(this,e),rt.arcLabelLine+" "+st.target+" "+st.target+"-"+t.data.id}.bind(this)).merge(i).style("fill",function(t){return D(this,e),l.levelColor?l.levelColor(t.data.values[0].value):l.color(t.data)}.bind(this)).style("display",t.gauge_label_show?null:"none").each(function(t){var e,i,n,a=0,s=0,r=0,o="";h.indexOf(t.data.id)<0&&(n=l.updateAngle(t),e=c.gaugeArcWidth/l.filterTargetsToShow(l.data.targets).length*(n.index+1),n=(i=n.endAngle-Math.PI/2)-(0==(t=c.radius-e)?0:1/t),a=c.radiusExpanded-c.radius+e,s=Math.cos(n)*t,r=Math.sin(n)*t,o="rotate("+180*i/Math.PI+", "+s+", "+r+")"),(0,I.select)(this).attr("x",s).attr("y",r).attr("width",a).attr("height",2).attr("transform",o).style("stroke-dasharray","0, "+(a+2)+", 0")})},textForGaugeMinMax:function(t,e){var i=this.config.gauge_label_extents;return M(i)?i.bind(this.api)(t,e):t},getGaugeLabelHeight:function(){var t=this.config;return this.config.gauge_label_show&&!t.gauge_fullCircle?20:0},getPaddingBottomForGauge:function(){return this.getGaugeLabelHeight()*(this.config.gauge_label_show?2:2.5)}},wi={initBubble:function(){var t=this.config;this.hasType("bubble")&&(t.point_show=!0,t.point_type="circle",t.point_sensitivity=25)},getBaseLength:function(){var t=this.state,e=t.width,i=t.height,n=Ht,t=this.cache.get(n);return t||this.cache.add(n,t=K("min",[e,i])),t},getBubbleR:function(t){var e=this,i=this,n=i.config.bubble_maxR;M(n)?n=n.bind(i.api)(t):X(n)||(n=i.getBaseLength()/(2*i.getMaxDataCount())+12);var a=K("max",i.getMinMaxData().max.map(function(t){return D(this,e),i.isBubbleZType(t)?i.getBubbleZData(t.value,"y"):N(t.value)?t.value.mid:t.value}.bind(this))),n=n*n*Math.PI,a=(i.isBubbleZType(t)?i.getBubbleZData(t.value,"z"):t.value)*(n/a);return Math.sqrt(a/Math.PI)},getBubbleZData:function(t,e){return N(t)?t[e]:t["y"===e?0:1]}},Ai={initLine:function(){var t=this.$el;t.line=t.main.select("."+st.chart).append("g").attr("class",xt.chartLines).call(this.setCssRule(!1,"."+xt.chartLines,["pointer-events:none"]))},updateTargetsForLine:function(t){var e=this,i=this,n=i.$el,a=n.area,s=n.line,r=n.main,o=i.getChartClass("Line"),n=i.getClass("lines",!0),l=i.classFocus.bind(i);s||i.initLine();s=t.filter(function(t){return D(this,e),!(i.isScatterType(t)||i.isBubbleType(t))}.bind(this)),t=r.select("."+xt.chartLines).selectAll("."+xt.chartLine).data(s).attr("class",function(t){return D(this,e),o(t)+l(t)}.bind(this)),r=t.enter().append("g").attr("class",o).style("opacity","0").style("pointer-events",i.getStylePropValue("none"));r.append("g").attr("class",n),i.hasTypeOf("Area")&&(t=(!a&&r.empty()?t:r).filter(i.isAreaType.bind(i)),i.initArea(t)),i.updateTargetForCircle(s,r)},updateLine:function(t,e){var i=this,n=this,a=n.format.extraLineClasses,s=n.$el,r=n.$T,e=(e=void 0===e?!1:e)?s.subchart:s,s=e.main.selectAll("."+xt.lines).selectAll("."+xt.line).data(n.lineData.bind(n));r(s.exit(),t).style("opacity","0").remove(),e.line=s.enter().append("path").attr("class",function(t){return D(this,i),n.getClass("line",!0)(t)+" "+(a(t)||"")}.bind(this)).style("stroke",n.color).merge(s).style("opacity",n.initialOpacity.bind(n)).style("shape-rendering",function(t){return D(this,i),n.isStepType(t)?"crispEdges":""}.bind(this)).attr("transform",null)},redrawLine:function(t,e,i){var n=this.$el;return[(0,this.$T)(((i=void 0===i?!1:i)?n.subchart:n).line,e,O()).attr("d",t).style("stroke",this.color).style("opacity",null)]},getCurve:function(e){var i=this,n=this;return n.config.axis_rotated&&n.isStepType(e)?function(t){D(this,i);t=n.getInterpolate(e)(t);return t.orgPoint=t.point,t.pointRotated=function(t,e){1===this._point&&(this._point=2);var i=this._y*(1-this._t)+e*this._t;this._context.lineTo(this._x,i),this._context.lineTo(t,i),this._x=t,this._y=e},t.point=function(t,e){0===this._point?this.orgPoint(t,e):this.pointRotated(t,e)},t}.bind(this):n.getInterpolate(e)},generateDrawLine:function(t,r){var o=this,l=this,c=l.config,h=l.scale,d=c.line_connectNull,u=c.axis_rotated,i=l.generateGetLinePoints(t,r),g=l.getYScaleById.bind(l),e=function(t){return D(this,o),(r?l.subxx:l.xx).call(l,t)}.bind(this),t=function(t,e){return D(this,o),l.isGrouped(t.id)?i(t,e)[0][1]:g(t.id,r)(l.getBaseValue(t))}.bind(this),f=(0,ze.line)(),f=u?f.x(t).y(e):f.x(e).y(t);d||(f=f.defined(function(t){return D(this,o),null!==l.getBaseValue(t)}.bind(this)));var p=r?h.subX:h.x;return function(t){D(this,o);var e,i=g(t.id,r),n=d?l.filterRemoveNull(t.values):t.values,a=0,s=0;return(l.isLineType(t)?(e=c.data_regions[t.id])?l.lineWithRegions(n,h.zoom||p,i,e):(l.isStepType(t)&&(n=l.convertValuesToStep(n)),f.curve(l.getCurve(t))(n)):(n[0]&&(a=p(n[0].x),s=i(n[0].value)),u?"M "+s+" "+a:"M "+a+" "+s))||"M 0 0"}.bind(this)},lineWithRegions:function(t,s,r,e){var o=this,i=this,l=i.config.axis_rotated,n=i.axis.isTimeSeries(),a=i.axis.isCategorized()?.5:0,c=[],h=function(t,e){D(this,o);for(var i,n=0;i=e[n];n++)if(i.start/g,">"):t}function G(i,t,n,e){var a,r,s=this;void 0===n&&(n=[-1,1]),void 0===e&&(e=!1),i&&b(t)&&(-1===t.indexOf("\n")?i.text(t):(a=[i.text(),t].map(function(t){return I(this,s),t.replace(/[\s\n]/g,"")}.bind(this)))[0]!==a[1]&&(t=t.split("\n"),r=e?t.length-1:1,i.html(""),t.forEach(function(t,e){I(this,s),i.append("tspan").attr("x",0).attr("dy",(0===e?n[0]*r:n[1])+"em").text(t)}.bind(this))))}function j(t){var e=t.getBBox(),i=e.x,n=e.y,t=e.width,e=e.height;return[{x:i,y:n+e},{x:i,y:n},{x:i+t,y:n},{x:i+t,y:n+e}]}function V(t,e){var i=t&&(null==(i=t.touches||t.sourceEvent&&t.sourceEvent.touches)?void 0:i[0]),e=(0,D.pointer)(i||t,e),n=this;return e.map(function(t){return I(this,n),isNaN(t)?0:t}.bind(this))}function Y(t){var e,i=t.event,t=t.$el,t=t.subchart.main||t.main;return i&&"brush"===i.type?e=i.selection:t&&(e=t.select(".bb-brush").node())&&(e=(0,g.brushSelection)(e)),e}function H(t){return!("rect"in t)||"rect"in t&&t.hasAttribute("width")&&t.rect.width!==+t.getAttribute("width")?t.rect=t.getBoundingClientRect():t.rect}function W(t,e,i){void 0===t&&(t=!0),void 0===e&&(e=0),void 0===i&&(i=1e4);var n=y.crypto||y.msCrypto,e=n?e+n.getRandomValues(new Uint32Array(1))[0]%(i-e+1):Math.floor(Math.random()*(i-e)+e);return t?e+"":e}function U(t){t=Y(t);return!t||t[0]===t[1]}function Z(e,t){var i,n=this;for(i in void 0===e&&(e={}),X(t)&&t.forEach(function(t){return I(this,n),Z(e,t)}.bind(this)),t)/^\d+$/.test(i)||i in e||(e[i]=t[i]);return e}var q=function(t){return I(this,f),t.charAt(0).toUpperCase()+t.slice(1)}.bind(void 0);var K=function(t){return I(this,f),[].slice.call(t)}.bind(void 0);function J(t){t=t?t.transform:null,t=t&&t.baseVal;return t&&t.numberOfItems?t.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function Q(t){var n=this,e=t[0]instanceof Date,t=(e?t.map(Number):t).filter(function(t,e,i){return I(this,n),i.indexOf(t)===e}.bind(this));return e?t.map(function(t){return I(this,n),new Date(t)}.bind(this)):t}function tt(t){var i=this;return t&&t.length?t.reduce(function(t,e){return I(this,i),t.concat(e)}.bind(this)):[]}function et(i){for(var n=this,t=arguments.length,e=Array(1{=TITLE}",legend_equally:!1,legend_hide:!1,legend_inset_anchor:"top-left",legend_inset_x:10,legend_inset_y:0,legend_inset_step:void 0,legend_item_interaction:!0,legend_item_dblclick:!1,legend_item_onclick:void 0,legend_item_onover:void 0,legend_item_onout:void 0,legend_item_tile_width:10,legend_item_tile_height:10,legend_item_tile_r:5,legend_item_tile_type:"rectangle",legend_padding:0,legend_position:"bottom",legend_show:!0,legend_usePoint:!1},Ut={title_text:void 0,title_padding:{top:0,right:0,bottom:0,left:0},title_position:"center"},Zt=void 0,qt={tooltip_show:!0,tooltip_doNotHide:!1,tooltip_grouped:!0,tooltip_format_title:void 0,tooltip_format_name:void 0,tooltip_format_value:void 0,tooltip_position:void 0,tooltip_contents:{},tooltip_init_show:!1,tooltip_init_x:0,tooltip_init_position:{top:"0px",left:"50px"},tooltip_linked:!1,tooltip_linked_name:"",tooltip_onshow:function(){I(this,Zt)}.bind(void 0),tooltip_onhide:function(){I(this,Zt)}.bind(void 0),tooltip_onshown:function(){I(this,Zt)}.bind(void 0),tooltip_onhidden:function(){I(this,Zt)}.bind(void 0),tooltip_order:null};function Kt(e,t){var i,n=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)),n}function Jt(e){for(var i,t=1;t'":;\[\]\/|~`{}\\])/g,"-")},selectorTarget:function(t,e,i){void 0===e&&(e=""),void 0===i&&(i="");t=this.getTargetSelectorSuffix(t);return e+"."+(Xt.target+t)+" "+i+", "+e+"."+(Xt.circles+t)+" "+i},selectorTargets:function(t,e){var i=this,t=t||[];return t.length?t.map(function(t){return I(this,i),this.selectorTarget(t,e)}.bind(this)):null},selectorLegend:function(t){return"."+(Xt.legendItem+this.getTargetSelectorSuffix(t))},selectorLegends:function(t){var e=this;return null!=t&&t.length?t.map(function(t){return I(this,e),this.selectorLegend(t)}.bind(this)):null}},Oe=Zn(6),Pe=function(t,e,i){I(this,void 0);t=(0,D.select)(t.cloneNode(!0));return t.attr("id",i).insert("rect",":first-child").attr("width",t.attr("width")).attr("height",t.attr("height")).style("fill",e),{id:i,node:t.node()}}.bind(void 0);var Ie=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],De={generateColor:function(){var n,a=this,r=this,t=r.$el,s=r.config,o=s.data_colors,l=s.data_color,c=[],h=L(s.color_pattern)?s.color_pattern:(0,Oe.scaleOrdinal)(function(t){var e,i=this,n=ee,a=p.body,r=a[n];return r||(e=t.classed(_t.colorPattern,!0).style("background-image"),t.classed(_t.colorPattern,!1),-1')}.bind(this)))},getGradienColortUrl:function(t){return"url(#"+this.state.datetimeId+"-gradient"+this.getTargetSelectorSuffix(t)+")"},updateLinearGradient:function(){var c=this,h=this,d=h.config,t=h.data.targets,u=h.state.datetimeId,g=h.$el.defs;t.forEach(function(i){var n=this;I(this,c);var a,t,e,r,s=u+"-gradient"+h.getTargetSelectorSuffix(i.id),o=h.isAreaType(i)?"area":h.isBarType(i)&&"bar",l=d.axis_rotated;o&&g.select("#"+s).empty()&&(a=h.color(i),o=void 0===(t=(e=d[o+"_linearGradient"]).x)?l?[1,0]:[0,0]:t,t=void 0===(t=e.y)?l?[0,0]:[0,1]:t,e=void 0===(e=e.stops)?[[0,a,1],[1,a,0]]:e,r=g.append("linearGradient").attr("id",s).attr("x1",o[0]).attr("x2",o[1]).attr("y1",t[0]).attr("y2",t[1]),e.forEach(function(t){I(this,n);var e=R(t[1])?t[1].bind(h.api)(i.id):t[1];r.append("stop").attr("offset",t[0]).attr("stop-color",e||a).attr("stop-opacity",t[2])}.bind(this)))}.bind(this))},setOverColor:function(t,e){var i=this,n=this,a=n.config,r=n.$el.main,s=a.color_onover,t=t?s:n.color;O(t)?t=function(t){t=t.id;return I(this,i),t in s?s[t]:n.color(t)}.bind(this):b(t)?t=function(){return I(this,i),s}.bind(this):R(s)&&(t=t.bind(n.api)),r.selectAll(O(e)?"."+gt.arc+n.getTargetSelectorSuffix(e.id):"."+Pt.shape+"-"+e).style("fill",t)}},ze={getYDomainMinMax:function(t,e){var o,i=this,n=this,l=n.axis,a=n.config,c="min"===e,a=a.data_groups,h=n.mapToIds(t),d=n.getValuesAsIdKeyed(t);return 0=n:t[0]<=n)&&(t[0]=n,t[1]=+t[1]+(n-t[0])),(e?t[1]<=i:t[1]>=i)&&(t[0]=+t[0]-(t[1]-i),t[1]=i),t},getZoomDomain:function(){var t=this.config,e=this.org.xDomain,i=e[0],e=e[1];return[i=$(t.zoom_x_min)?nt("min",[i,t.zoom_x_min]):i,e=$(t.zoom_x_max)?nt("max",[e,t.zoom_x_max]):e]},convertPixelToScale:function(t,e,i){var n=this.config,a=this.state,n=n.axis_rotated,n="x"===t?n?"height":"width":n?"width":"height";return i*(e/a[n])}};function Me(t,e,i){var n=t.config,e="axis_"+e+"_tick_format";return(n[e]||t.defaultValueFormat).call(t.api,i)}var $e={yFormat:function(t){return Me(this,"y",t)},y2Format:function(t){return Me(this,"y2",t)},getDefaultValueFormat:function(){var n=this,a=n.defaultArcValueFormat,r=n.yFormat,s=n.y2Format,o=n.hasArcType(null,["gauge","polar","radar"]);return function(t,e,i){return(o?a:n.axis&&"y2"===n.axis.getId(i)?s:r).call(n,t,e)}},defaultValueFormat:function(t){return P(t)?+t:""},defaultArcValueFormat:function(t,e){return(100*e).toFixed(1)+"%"},defaultPolarValueFormat:function(t){return""+t},dataLabelFormat:function(t){var e=this,i=this.config.data_labels,n=function(t){return I(this,e),P(t)?+t:""}.bind(this),a=n;return R(i.format)?a=i.format:w(i.format)&&(a=i.format[t]?!0===i.format[t]?n:i.format[t]:function(){return I(this,e),""}.bind(this)),a.bind(this.api)}};function Xe(t){t=this.getDataById(t);return this.levelColor?this.levelColor(t.values[0].value):this.color(t)}var Fe={initLegend:function(){var t=this,e=t.config,i=t.$el;t.legendItemTextBox={},t.state.legendHasRendered=!1,e.legend_show?(e.legend_contents_bindto||(i.legend=t.$el.svg.append("g").classed(Tt.legend,!0).attr("transform",t.getTranslate("legend"))),t.updateLegend()):t.state.hiddenLegendIds=t.mapToIds(t.data.targets)},updateLegend:function(t,e,i){var n=this,a=n.config,r=n.state,s=n.scale,o=n.$el,e=e||{withTransform:!1,withTransitionForTransform:!1,withTransition:!1};e.withTransition=S(e,"withTransition",!0),e.withTransitionForTransform=S(e,"withTransitionForTransform",!0),a.legend_contents_bindto&&a.legend_contents_template?n.updateLegendTemplate():r.hasTreemap||n.updateLegendElement(t||n.mapToIds(n.data.targets),e,i),null!=(o=o.legend)&&o.selectAll("."+Tt.legendItem).classed(Tt.legendItemHidden,function(t){t=!n.isTargetToShow(t);return t&&(this.style.opacity=null),t}),n.updateScales(!1,!s.zoom),n.updateSvgSize(),n.transformAll(e.withTransitionForTransform,i),r.legendHasRendered=!0},updateLegendTemplate:function(){var i,n,a=this,r=this,t=r.config,e=r.$el,s=(0,D.select)(t.legend_contents_bindto),o=t.legend_contents_template;s.empty()||(t=r.mapToIds(r.data.targets),i=[],n="",t.forEach(function(t){I(this,a);var e=R(o)?o.bind(r.api)(t,r.color(t),r.api.data(t)[0].values):st(o,{COLOR:r.color(t),TITLE:t});e&&(i.push(t),n+=e)}.bind(this)),t=s.html(n).selectAll(function(){return this.childNodes}).data(i),r.setLegendItem(t),e.legend=s)},updateSizeForLegend:function(t){var e=this,i=e.config,n=e.state,a=n.isLegendTop,r=n.isLegendLeft,s=n.isLegendRight,o=n.isLegendInset,l=n.current,n=t.width,t=t.height,i={top:a?e.getCurrentPaddingTop()+i.legend_inset_y+5.5:l.height-t-e.getCurrentPaddingBottom()-i.legend_inset_y,left:r?e.getCurrentPaddingLeft()+i.legend_inset_x+.5:l.width-n-e.getCurrentPaddingRight()-i.legend_inset_x+.5};e.state.margin3={top:s?0:o?i.top:l.height-t,right:NaN,bottom:0,left:s?l.width-n:o?i.left:0}},transformLegend:function(t){var e=this.$el.legend;(0,this.$T)(e,t).attr("transform",this.getTranslate("legend"))},updateLegendStep:function(t){this.state.legendStep=t},updateLegendItemWidth:function(t){this.state.legendItemWidth=t},updateLegendItemHeight:function(t){this.state.legendItemHeight=t},updateLegendItemColor:function(t,e){var i=this.$el.legend;i&&i.select("."+Tt.legendItem+"-"+t+" line").style("stroke",e)},getLegendWidth:function(){var t=this.state,e=t.current.width,i=t.isLegendRight,n=t.isLegendInset,a=t.legendItemWidth,t=t.legendStep;return this.config.legend_show?i||n?a*(t+1):e:0},getLegendHeight:function(){var t=this.state,e=t.current,i=t.isLegendRight,n=t.legendItemHeight,a=t.legendStep,t="fit"===(null==(t=this.config.padding)?void 0:t.mode);return this.config.legend_show?i?e.height:(t?10:Math.max(20,n))*(a+1):0},opacityForUnfocusedLegend:function(t){return t.classed(Tt.legendItemHidden)?null:"0.3"},toggleFocusLegend:function(t,e){var i=this,n=this,a=n.$el.legend,r=n.$T,s=n.mapToTargetIds(t);a&&r(a.selectAll("."+Tt.legendItem).filter(function(t){return I(this,i),0<=s.indexOf(t)}.bind(this)).classed(St.legendItemFocused,e)).style("opacity",function(){return e?null:n.opacityForUnfocusedLegend.call(n,(0,D.select)(this))})},revertLegend:function(){var t=this.$el.legend,e=this.$T;t&&e(t.selectAll("."+Tt.legendItem).classed(St.legendItemFocused,!1)).style("opacity",null)},showLegend:function(t){var e=this,i=e.config,n=e.$el,a=e.$T;i.legend_show||(i.legend_show=!0,n.legend?n.legend.style("visibility",null):e.initLegend(),e.state.legendHasRendered||e.updateLegend()),e.removeHiddenLegendIds(t),a(n.legend.selectAll(e.selectorLegends(t)).style("visibility",null)).style("opacity",null)},hideLegend:function(t){var e=this.config,i=this.$el.legend;e.legend_show&&A(t)&&(e.legend_show=!1,i.style("visibility","hidden")),this.addHiddenLegendIds(t),i.selectAll(this.selectorLegends(t)).style("opacity","0").style("visibility","hidden")},getLegendItemTextBox:function(t,e){var i,n=this.cache,a=this.state,r=re;return t&&((i=!a.redrawing&&n.get(r)||{})[t]||(i[t]=this.getTextRect(e,Tt.legendItem),n.add(r,i)),i=i[t]),i},setLegendItem:function(t){var i=this,a=this,n=a.$el,r=a.api,s=a.config,o=a.state,l="touch"===o.inputType,c=a.hasType("gauge"),e=s.boost_useCssRule,h=s.legend_item_interaction;t.attr("class",function(t){var e=(0,D.select)(this);return(!e.empty()&&e.attr("class")||"")+a.generateClass(Tt.legendItem,t)}).style("visibility",function(t){return I(this,i),a.isLegendToShow(t)?null:"hidden"}.bind(this)),s.interaction_enabled&&(e&&[["."+Tt.legendItem,"cursor:pointer"],["."+Tt.legendItem+" text","pointer-events:none"],["."+Tt.legendItemPoint+" text","pointer-events:none"],["."+Tt.legendItemTile,"pointer-events:none"],["."+Tt.legendItemEvent,"fill-opacity:0"]].forEach(function(t){I(this,i);var e=t[0],t=t[1];a.setCssRule(!1,e,[t])(n.legend)}.bind(this)),t.on(h.dblclick?"dblclick":"click",h||R(s.legend_item_onclick)?function(t,e){var i,n;F(s.legend_item_onclick,r,e)||(i=t.altKey,n=t.target,"dblclick"===t.type||i?o.hiddenTargetIds.length&&-1===n.parentNode.getAttribute("class").indexOf(Tt.legendItemHidden)?r.show():(r.hide(),r.show(e)):(r.toggle(e),(0,D.select)(this).classed(St.legendItemFocused,!1))),l&&a.hideTooltip()}:null),l||t.on("mouseout",h||R(s.legend_item_onout)?function(t,e){F(s.legend_item_onout,r,e)||((0,D.select)(this).classed(St.legendItemFocused,!1),c&&a.undoMarkOverlapped(a,"."+yt.gaugeValue),a.api.revert())}:null).on("mouseover",h||R(s.legend_item_onover)?function(t,e){F(s.legend_item_onover,r,e)||((0,D.select)(this).classed(St.legendItemFocused,!0),c&&a.markOverlapped(e,a,"."+yt.gaugeValue),!o.transiting&&a.isTargetToShow(e)&&r.focus(e))}:null),!t.empty()&&t.on("click mouseout mouseover")&&t.style("cursor",a.getStylePropValue("pointer")))},updateLegendElement:function(t,e){var i,n=this,a=this,r=a.config,s=a.state,o=a.$el.legend,l=a.$T,c="circle"!==r.legend_item_tile_type,h=r.legend_item_tile_r,d={width:c?r.legend_item_tile_width:2*h,height:c?r.legend_item_tile_height:2*h},u={padding:{top:4,right:10},max:{width:0,height:0},posMin:10,step:0,tileWidth:d.width+5,totalLength:0},g={offsets:{},widths:{},heights:{},margins:[0],steps:{}},c=t.filter(function(t){return I(this,n),!$(r.data_names[t])||null!==r.data_names[t]}.bind(this)),h=e.withTransition,f=a.getUpdateLegendPositions(c,u,g);s.isLegendInset&&(u.step=r.legend_inset_step||c.length,a.updateLegendStep(u.step));var p=s.isLegendRight?(i=function(t){return I(this,n),u.max.width*g.steps[t]}.bind(this),function(t){return I(this,n),g.margins[g.steps[t]]+g.offsets[t]}.bind(this)):s.isLegendInset?(i=function(t){return I(this,n),u.max.width*g.steps[t]+10}.bind(this),function(t){return I(this,n),g.margins[g.steps[t]]+g.offsets[t]}.bind(this)):(i=function(t){return I(this,n),g.margins[g.steps[t]]+g.offsets[t]}.bind(this),function(t){return I(this,n),u.max.height*g.steps[t]}.bind(this)),t={xText:function(t,e){return I(this,n),i(t,e)+4+d.width}.bind(this),xRect:function(t,e){return I(this,n),i(t,e)}.bind(this),x1Tile:function(t,e){return I(this,n),i(t,e)-2}.bind(this),x2Tile:function(t,e){return I(this,n),i(t,e)-2+d.width}.bind(this),yText:function(t,e){return I(this,n),p(t,e)+9}.bind(this),yRect:function(t,e){return I(this,n),p(t,e)-5}.bind(this),yTile:function(t,e){return I(this,n),p(t,e)+4}.bind(this)};a.generateLegendItem(c,d,f,t),e=o.select("."+Tt.legendBackground+" rect"),s.isLegendInset&&0=h.max.width)&&(h.max.width=s),(!h.max.height||t>=h.max.height)&&(h.max.height=t);t=p?h.max.height:h.max.width;g.legend_equally?(Object.keys(d.widths).forEach(function(t){return I(this,r),d.widths[t]=h.max.width}.bind(this)),Object.keys(d.heights).forEach(function(t){return I(this,r),d.heights[t]=h.max.height}.bind(this)),(a=(l-t*c.length)/2)o.width?(a=H(i).width,h=o.width-a):h<0&&(h=4)),(l||c)&&(h+=r.getCenteredTextPos(e,t,i,"x")),h+Ue.call(this,e,"x")},getYForText:function(t,e,i){var n,a=this,r=a.axis,s=a.config,o=a.state,l=s.axis_rotated,c=s["axis_"+(null==r?void 0:r.getId(e.id))+"_inverted"],h=a.isBarType(e),d=a.isTreemapType(e),u=s.point_r,g=H(i),f=e.value,r=3;return a.isCandlestickType(e)?(f=a.getCandlestickData(e),l?(n=t[0][0],n+=(t[1][0]-n)/2+r):(n=f&&f._isUp?t[2][2]-r:t[2][1]+4*r,c&&(n+=15*(f._isUp?1:-1)))):d?n=t[0][1]+(s.data_labels.centered?0:g.height+5):l?n=(t[0][0]+t[2][0]+.6*g.height)/2:(n=t[2][1],z(u)&&5o.height&&(n=o.height-4)),l&&!d||(n+=a.getCenteredTextPos(e,t,i,"y")),n+Ue.call(this,e,"y")},markOverlapped:function(e,t,i){var n=this,t=t.$el.arcs.selectAll(i),i=t.filter(function(t){return I(this,n),t.data.id!==e}.bind(this)),a=t.filter(function(t){return I(this,n),t.data.id===e}.bind(this)),r=J(a.node()),s=function(t,e){return I(this,n),Math.sqrt(Math.pow(t,2)+Math.pow(e,2))}.bind(this);a.node()&&i.each(function(){var t=J(this),e=(0,D.select)(this),i=s(r.e,r.f)>s(t.e,t.f)?a:e,i=Math.ceil(Math.abs(r.e-t.e))'+t+"":""})),!w.ratio&&g.arcs&&(A=["arc",d.$el.arcs.select("path."+gt.arc+"-"+w.id).data()[0]],w.ratio=d.getRatio.apply(d,A)),A=[w.ratio,w.id,w.index,h],S=N(x.apply(void 0,[v(w)].concat(A))),d.isAreaRangeType(w)?(i=(e=["high","low"].map(function(t){return I(this,r),N(x.apply(void 0,[d.getRangedData(w,t)].concat(A)))}.bind(this)))[0],n=e[1],S="Mid: "+S+" High: "+i+" Low: "+n):d.isCandlestickType(w)?(t=(a=["open","high","low","close","volume"].map(function(t){return I(this,r),N(x.apply(void 0,[d.getRangedData(w,t,"candlestick")].concat(A)))}.bind(this)))[0],e=a[1],i=a[2],n=a[3],a=a[4],S="Open: "+t+" High: "+e+" Low: "+i+" Close: "+n+(a?" Volume: "+a:"")):d.isBarRangeType(w)&&(o=(l=w.value)[0],l=l[1],S=x(o)+" ~ "+x(l)),void 0!==S){if(null===w.name)return;var s,o=N(p.apply(void 0,[w.name].concat(A))),l=b(w),c={CLASS_TOOLTIP_NAME:zt.tooltipName+d.getTargetSelectorSuffix(w.id),COLOR:m||!d.patterns?l:'',NAME:o,VALUE:S};m&&O(_.text)&&(s=y.indexOf(w.id),Object.keys(_.text).forEach(function(t){I(this,r),c[t]=_.text[t][s]}.bind(this))),T+=st(k[1],c)}})();return T+""},getTooltipContentTemplate:function(t){return(t||'\n\t\t\t\t{=TITLE}\n\t\t\t\t{{\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}}\n\t\t\t
'+(this.patterns?"{=COLOR}":'')+'{=NAME}{=VALUE}
').replace(/(\r?\n|\t)/g,"").split(/{{(.*)}}/)},setTooltipPosition:function(t,e){var i,n=this,a=this,r=a.config,s=a.scale,o=a.state,l=a.$el,c=l.eventRect,h=l.tooltip,l=r.tooltip_contents.bindto,d=h.datum();!l&&d&&(e={x:(l=V(o.event,null!=e?e:c.node()))[0],y:l[1]},s.x&&d&&"x"in d&&(e.xAxis=s.x(d.x)),s=void 0===(l=d.width)?0:l,l=void 0===(l=d.height)?0:l,i=null!=(c=null==(r=r.tooltip_position)?void 0:r.bind(a.api)(null!=t?t:JSON.parse(d.current),s,l,null==c?void 0:c.node(),e))?c:a.getTooltipPosition.bind(a)(s,l,e),["top","left"].forEach(function(t){I(this,n);var e=i[t];h.style(t,e+"px"),"left"!==t||d.xPosInPercent||(d.xPosInPercent=e/o.current.width*100)}.bind(this)))},getTooltipPosition:function(t,e,i){var n=this,a=this,r=a.config,s=a.scale,o=a.state,l=o.width,c=o.height,h=o.current,d=o.isLegendRight,u=o.inputType,g=a.hasType("gauge")&&!r.gauge_fullCircle,f=o.hasTreemap,p=r.axis_rotated,x=a.getSvgLeft(!0),v=x+h.width-a.getCurrentPaddingRight(),b=a.getCurrentPaddingLeft(!0),o=i.x,r=i.y;a.hasArcType()?"touch"===u||a.hasType("radar")||(r+=g?c:c/2,o+=(l-(d?a.getLegendWidth():0))/2):f||(p?(r=i.xAxis+20,o+=x,v-=x):(r-=5,o=x+b+20+(s.zoom?o:i.xAxis))),vh.height&&(r-=g?3*e:e+(f?0:30));var _={top:r,left:o};return Object.keys(_).forEach(function(t){I(this,n),_[t]<0&&(_[t]=0)}.bind(this)),_},showTooltip:function(t,e){var i,n,a,r,s=this,o=this,l=o.config,c=o.$el.tooltip,h=t.filter(function(t){return I(this,s),t&&P(o.getBaseValue(t))}.bind(this));c&&0!==h.length&&l.tooltip_show&&(i=c.datum(),n=JSON.stringify(t),i&&i.current===n||(a=(r=t.concat().sort()[0]).index,r=r.x,F(l.tooltip_onshow,o.api,t),c.html(o.getTooltipHTML(t,o.axis?o.axis.getXAxisTickFormat():o.categoryName.bind(o),o.getDefaultValueFormat(),o.color)).style("display",null).style("visibility",null).datum(i={index:a,x:r,current:n,width:c.property("offsetWidth"),height:c.property("offsetHeight")}),F(l.tooltip_onshown,o.api,t),o._handleLinkedCharts(!0,a)),o.setTooltipPosition(h,e))},bindTooltipResizePos:function(){var n=this,t=this.resizeFunction,a=this.state,r=this.$el.tooltip;t.add(function(){var t,e,i;I(this,n),"block"===r.style("display")&&(t=a.current,i=(e=r.datum()).width,e=e.xPosInPercent,e=t.width/100*e,(i=t.width-(e+i))<0&&(e+=i),r.style("left",e+"px"))}.bind(this))},hideTooltip:function(t){var e=this.api,i=this.config,n=this.$el.tooltip;!n||"none"===n.style("display")||i.tooltip_doNotHide&&!t||(t=JSON.parse(n.datum().current),F(i.tooltip_onhide,e,t),n.style("display","none").style("visibility","hidden").datum(null),F(i.tooltip_onhidden,e,t))},_handleLinkedCharts:function(r,s){var o,l=this,e=this,t=e.charts,i=e.config,n=e.state.event;null!=n&&n.isTrusted&&i.tooltip_linked&&1 ."+bt.circles),a(n.selectAll(r).filter(function(t){return I(this,e),i.isTargetToShow(t.id)}.bind(this))).style("opacity",null)},e.getWithOption=function(i){var n=this,a={Dimension:!0,EventRect:!0,Legend:!1,Subchart:!0,Transform:!1,Transition:!0,TrimXDomain:!0,UpdateXAxis:"UpdateXDomain",UpdateXDomain:!1,UpdateOrgXDomain:!1,TransitionForExit:"Transition",TransitionForAxis:"Transition",Y:!0};return Object.keys(a).forEach(function(t){I(this,n);var e=a[t];b(e)&&(e=a[e]),a[t]=S(i,"with"+t,e)}.bind(this)),a},e.initialOpacity=function(t){var e=this.state.withoutFadeIn;return null!==this.getBaseValue(t)&&e[t.id]?null:"0"},e.bindResize=function(){var e=this,t=this,i=t.config,n=t.state,a=function(e){var i,n=this,a=[],r=function(){var t=this;r.clear(),!1===e?l(function(){var e=this;I(this,t),a.forEach(function(t){return I(this,e),t()}.bind(this))}.bind(this),{timeout:200}):i=de(function(){var e=this;I(this,t),a.forEach(function(t){return I(this,e),t()}.bind(this))}.bind(this),z(e)?e:200)};return r.clear=function(){I(this,n),i&&(ue(i),i=null)}.bind(this),r.add=function(t){return I(this,n),a.push(t)}.bind(this),r.remove=function(t){return I(this,n),a.splice(a.indexOf(t),1)}.bind(this),r}(i.resize_timer),r=[];r.push(function(){return I(this,e),F(i.onresize,t.api)}.bind(this)),i.resize_auto&&r.push(function(){I(this,e),n.resizing=!0,i.legend_show&&(t.updateSizes(),t.updateLegend()),t.api.flush(!1)}.bind(this)),r.push(function(){I(this,e),F(i.onresized,t.api),n.resizing=!1}.bind(this)),r.forEach(function(t){return I(this,e),a.add(t)}.bind(this)),t.resizeFunction=a,y.addEventListener("resize",t.resizeFunction=a)},e.callPluginHook=function(e){for(var i=this,t=arguments.length,n=Array(1\n\t\t\t\n\t\t\t\t'+l+"\n\t\t\t\t"+t.replace(/(url\()[^#]+/g,"$1")+"\n\t\t\t").replace("/\n/g","%0A");return"data:image/svg+xml;base64,"+Qe(t)}function ei(t){var i=this,e=t.getBoundingClientRect(),_=e.left,m=e.top,n=function(t){return I(this,i),t.textContent||t.childElementCount}.bind(this),a=[];return K(t.querySelectorAll("text")).filter(n).forEach(function(t){var b=this;I(this,i);var e=function(t){I(this,b);var e,i,n,a,r,s,o,l,c,h,d,u=y.getComputedStyle(t),g=u.fill,f=u.fontFamily,p=u.fontSize,x=u.textAnchor,v=u.transform,e=(e=t,n=(i={left:_,top:m}).top,a=i.left,r=(h=e.getBBox()).x,s=h.y,o=(d=e.getScreenCTM()).a,l=d.b,c=d.c,u=d.d,i=d.e,h=d.f,e=(d=e.getBoundingClientRect()).width,d=d.height,{x:o*r+c*s+i-a,y:l*r+u*s+h-n+(d-Math.round(d/4)),width:e,height:d});return(d={})[t.textContent]={x:e.x,y:e.y,width:e.width,height:e.height,fill:g,fontFamily:f,fontSize:p,textAnchor:x,transform:v},d}.bind(this);if(1i.length&&(a=i.length),i=this.generateTickValues(i,a,this.isTimeSeries())),e?e.tickValues(i):this.x&&(this.x.tickValues(i),null!=(e=this.subX)&&e.tickValues(i)),i},e.getId=function(t){var e=this.owner,i=e.config,e=e.scale,t=i.data_axes[t];return t=!t||!e[t]?"y":t},e.getXAxisTickFormat=function(t){var e,i=this,n=this.owner,a=n.config,r=n.format,s=t&&a.subchart_axis_x_tick_format||a.axis_x_tick_format,a=this.isTimeSeries(),o=this.isCategorized();return s?R(s)?e=s.bind(n.api):a&&(e=function(t){return I(this,i),t?r.axisTime(s)(t):""}.bind(this)):e=a?r.defaultAxisTime:o?n.categoryName:function(t){return I(this,i),t<0?t.toFixed(0):t}.bind(this),R(e)?function(t){return I(this,i),e.apply(n,o?[t,n.categoryName(t)]:[t])}.bind(this):e},e.getTickValues=function(t){var e=this.owner,i=e.config["axis_"+t+"_tick_values"],t=e[t+"Axis"];return(R(i)?i.call(e.api):i)||(t?t.tickValues():void 0)},e.getLabelOptionByAxisId=function(t){return this.owner.config["axis_"+t+"_label"]},e.getLabelText=function(t){t=this.getLabelOptionByAxisId(t);return b(t)?t:t?t.text:null},e.setLabelText=function(t,e){var i=this.owner.config,n=this.getLabelOptionByAxisId(t);b(n)?i["axis_"+t+"_label"]=e:n&&(n.text=e)},e.getLabelPosition=function(t,e){var i=this,n=this.owner.config.axis_rotated,t=this.getLabelOptionByAxisId(t),a=w(t)&&t.position?t.position:e[+!n],n=function(t){return I(this,i),!!~a.indexOf(t)}.bind(this);return{isInner:n("inner"),isOuter:n("outer"),isLeft:n("left"),isCenter:n("center"),isRight:n("right"),isTop:n("top"),isMiddle:n("middle"),isBottom:n("bottom")}},e.getAxisLabelPosition=function(t){return this.getLabelPosition(t,"x"===t?["inner-top","inner-right"]:["inner-right","inner-top"])},e.getLabelPositionById=function(t){return this.getAxisLabelPosition(t)},e.xForAxisLabel=function(t){var e=this.owner,i=e.state,n=i.width,a=i.height,r=this.getAxisLabelPosition(t),i=r.isMiddle?-a/2:0;return this.isHorizontal(e,"x"!==t)?i=r.isLeft?0:r.isCenter?n/2:n:r.isBottom&&(i=-a),i},e.dxForAxisLabel=function(t){var e=this.owner,i=this.getAxisLabelPosition(t),n=i.isBottom?"0.5em":"0";return this.isHorizontal(e,"x"!==t)?n=i.isLeft?"0.5em":i.isRight?"-0.5em":"0":i.isTop&&(n="-0.5em"),n},e.textAnchorForAxisLabel=function(t){var e=this.owner,i=this.getAxisLabelPosition(t),n=i.isMiddle?"middle":"end";return this.isHorizontal(e,"x"!==t)?n=i.isLeft?"start":i.isCenter?"middle":"end":i.isBottom&&(n="start"),n},e.dyForAxisLabel=function(t){var e,i=this.owner,n=i.config,a=n.axis_rotated,r=this.getAxisLabelPosition(t).isInner,s=n["axis_"+t+"_tick_rotate"]?i.getHorizontalAxisHeight(t):0,o=this.getMaxTickWidth(t);return e="x"===t?(i=n.axis_x_height,a?r?"1.2em":-25-o:r?"-0.5em":i?i-10:s?s-10:"3em"):(e={y:["-0.5em",10,"3em","1.2em",10],y2:["1.2em",-20,"-2.2em","-0.5em",15]}[t],a?r?e[0]:s?s*("y2"===t?-1:1)-e[1]:e[2]:r?e[3]:(e[4]+(n["axis_"+t+"_inner"]?0:o+e[4]))*("y"===t?-1:1))},e.getMaxTickWidth=function(t,e){var i=this,n=this.owner,a=n.config,r=n.state.current,s=n.$el,o=s.svg,l=s.chart,c=r.maxTickWidths[t],h=0;if(e||!a["axis_"+t+"_show"]||0=u)&&(n=!0,t.preventDefault())}.bind(this);l.on("touchstart",function(t){I(this,a),o.event=t,r.updateEventRect()}.bind(this)).on("touchstart.eventRect touchmove.eventRect",function(t){I(this,a),o.event=t,!l.empty()&&l.classed(At.eventRect)?o.dragging||o.flowing||r.hasArcType()||1n&&(a=a.filter(function(t){return I(this,i),(t+"").indexOf(".")<0}.bind(this)));return a},getGridFilterToRemove:function(t){var a=this;return(t?function(e){var i=this;I(this,a);var n=!1;return(X(t)?t.concat():[t]).forEach(function(t){I(this,i),("value"in t&&e.value===t.value||"class"in t&&e.class===t.class)&&(n=!0)}.bind(this)),n}:function(){return I(this,a),!0}).bind(this)},removeGridLines:function(t,e){var i=this,n=this.config,a=this.$T,r=this.getGridFilterToRemove(t),s=function(t){return I(this,i),!r(t)}.bind(this),t=e?kt.xgridLine:kt.ygridLine;a(this.$el.main.select("."+(e?kt.xgridLines:kt.ygridLines)).selectAll("."+t).filter(r)).style("opacity","0").remove();e="grid_"+(e?"x":"y")+"_lines";n[e]=n[e].filter(s)}},Ee={initRegion:function(){var t=this.$el;t.region.main=t.main.insert("g",":first-child").attr("clip-path",this.state.clip.path).attr("class",Lt.regions)},updateRegion:function(){var t=this.config,e=this.$el.region,i=this.$T;e.main||this.initRegion(),e.main.style("visibility",this.hasArcType()?"hidden":null);t=e.main.selectAll("."+Lt.region).data(t.regions);i(t.exit()).style("opacity","0").remove();i=t.enter().append("g");i.append("rect").style("fill-opacity","0"),e.list=i.merge(t).attr("class",this.classRegion.bind(this))},redrawRegion:function(t){var e=this,i=this,n=i.$el.region;return[(0,i.$T)(n.list.select("rect"),t).attr("x",i.regionX.bind(i)).attr("y",i.regionY.bind(i)).attr("width",i.regionWidth.bind(i)).attr("height",i.regionHeight.bind(i)).style("fill-opacity",function(t){return I(this,e),P(t.opacity)?t.opacity:null}.bind(this)).on("end",function(){(0,D.select)(this.parentNode).selectAll("rect:not([x])").remove()})]},getRegionXY:function(t,e){var i=this.config,n=this.scale,a=i.axis_rotated,r="x"===t,i="start",t=0;return"y"===e.axis||"y2"===e.axis?(r||(i="end"),(r?a:!a)&&i in e&&(t=(0,n[e.axis])(e[i]))):(r?!a:a)&&i in e&&(t=(n.zoom||n.x)(this.axis.isTimeSeries()?ot.call(this,e[i]):e[i])),t},regionX:function(t){return this.getRegionXY("x",t)},regionY:function(t){return this.getRegionXY("y",t)},getRegionSize:function(t,e){var i=this.config,n=this.scale,a=this.state,r=i.axis_rotated,s="width"===t,o=this[s?"regionX":"regionY"](e),i="end",t=a[t];return"y"===e.axis||"y2"===e.axis?(s||(i="start"),(s?r:!r)&&i in e&&(t=(0,n[e.axis])(e[i]))):(s?!r:r)&&i in e&&(t=(n.zoom||n.x)(this.axis.isTimeSeries()?ot.call(this,e[i]):e[i])),ta.height/2&&(n=a.height/2)),n+(this.axis.getLabelPositionById(t).isInner?0:10)+("y2"!==t||l?0:-10)},getEventRectWidth:function(){var t=this.config,e=this.axis,t=t.axis_x_inverted,e=e.x.tickInterval();return Math.max(0,t?Math.abs(e):e)},getAxisTickRotate:function(t){var e,i,n=this.axis,a=this.config,r=this.state,s=this.$el,o=a["axis_"+t+"_tick_rotate"];return"x"===t&&(e=n.isCategorized()||n.isTimeSeries(),a.axis_x_tick_fit&&e&&(i=a.axis_x_tick_count,t=r.current.maxTickWidths.x.ticks.length,n=0,i?n=tMath.PI||t<-1*Math.PI)&&(t=Math.PI),t},updateAngle:function(t){var n=this,e=this,i=e.config,a=e.state,r=e.pie,s=t,o=!1;if(!i)return null;var l,c=e.getGaugeStartAngle(),h=i.gauge_fullCircle?e.getArcLength():-2*c;return s.data&&e.isGaugeType(s.data)&&!e.hasMultiArcGauge()&&(l=i.gauge_min,t=i.gauge_max,a=e.getTotalDataSum(a.rendered),r=r.startAngle(c).endAngle(h*((a-l)/(t-l))+c)),r(e.filterTargetsToShow()).forEach(function(t,e){var i;I(this,n),o||t.data.id!==(null==(i=s.data)?void 0:i.id)||(o=!0,(s=t).index=e)}.bind(this)),isNaN(s.startAngle)&&(s.startAngle=0),isNaN(s.endAngle)&&(s.endAngle=s.startAngle),s.data&&e.hasMultiArcGauge()&&(r=i.gauge_min,e=i.gauge_max,i=s.value=e.open),e||null}},Pi={initGauge:function(){var t,e=this,i=this.config,n=this.$el.arcs,a=function(t){I(this,e),n.append("text").attr("class",t).style("text-anchor","middle").style("pointer-events","none")}.bind(this);this.hasType("gauge")&&(t=this.hasMultiArcGauge(),n.append(t?"g":"path").attr("class",gt.chartArcsBackground).style("fill",!t&&i.gauge_background||null),i.gauge_units&&a(yt.chartArcsGaugeUnit),i.gauge_label_show&&(a(yt.chartArcsGaugeMin),i.gauge_fullCircle||a(yt.chartArcsGaugeMax)))},updateGaugeMax:function(){var t=this.config,e=this.state,e=this.hasMultiArcGauge()?this.getMinMaxData().max[0].value:this.getTotalDataSum(e.rendered);e+t.gauge_min*(0t.gauge_max&&(t.gauge_max=e-t.gauge_min)},redrawMultiArcGauge:function(){var e=this,l=this,t=l.config,c=l.state,i=l.$el,h=l.state.hiddenTargetIds,i=i.main.selectAll("."+gt.arcs).selectAll("."+gt.arcLabelLine).data(l.arcData.bind(l));i.enter().append("rect").attr("class",function(t){return I(this,e),gt.arcLabelLine+" "+ut.target+" "+ut.target+"-"+t.data.id}.bind(this)).merge(i).style("fill",function(t){return I(this,e),l.levelColor?l.levelColor(t.data.values[0].value):l.color(t.data)}.bind(this)).style("display",t.gauge_label_show?null:"none").each(function(t){var e,i,n,a=0,r=0,s=0,o="";h.indexOf(t.data.id)<0&&(n=l.updateAngle(t),e=c.gaugeArcWidth/l.filterTargetsToShow(l.data.targets).length*(n.index+1),n=(i=n.endAngle-Math.PI/2)-(0==(t=c.radius-e)?0:1/t),a=c.radiusExpanded-c.radius+e,r=Math.cos(n)*t,s=Math.sin(n)*t,o="rotate("+180*i/Math.PI+", "+r+", "+s+")"),(0,D.select)(this).attr("x",r).attr("y",s).attr("width",a).attr("height",2).attr("transform",o).style("stroke-dasharray","0, "+(a+2)+", 0")})},textForGaugeMinMax:function(t,e){var i=this.config.gauge_label_extents;return R(i)?i.bind(this.api)(t,e):t},getGaugeLabelHeight:function(){var t=this.config;return this.config.gauge_label_show&&!t.gauge_fullCircle?20:0},getPaddingBottomForGauge:function(){return this.getGaugeLabelHeight()*(this.config.gauge_label_show?2:2.5)}},Ii={initBubble:function(){var t=this.config;this.hasType("bubble")&&(t.point_show=!0,t.point_type="circle")},getBaseLength:function(){var t=this.state,e=t.width,i=t.height,n=te,t=this.cache.get(n);return t||this.cache.add(n,t=nt("min",[e,i])),t},getBubbleR:function(t){var e=this,i=this,n=i.config.bubble_maxR;R(n)?n=n.bind(i.api)(t):z(n)||(n=i.getBaseLength()/(2*i.getMaxDataCount())+12);var a=nt("max",i.getMinMaxData().max.map(function(t){return I(this,e),i.isBubbleZType(t)?i.getBubbleZData(t.value,"y"):O(t.value)?t.value.mid:t.value}.bind(this))),n=n*n*Math.PI,a=(i.isBubbleZType(t)?i.getBubbleZData(t.value,"z"):t.value)*(n/a);return Math.sqrt(a/Math.PI)},getBubbleZData:function(t,e){return O(t)?t[e]:t["y"===e?0:1]}},Di={initLine:function(){var t=this.$el;t.line=t.main.select("."+ut.chart).append("g").attr("class",wt.chartLines).call(this.setCssRule(!1,"."+wt.chartLines,["pointer-events:none"]))},updateTargetsForLine:function(t){var e=this,i=this,n=i.$el,a=n.area,r=n.line,s=n.main,o=i.getChartClass("Line"),n=i.getClass("lines",!0),l=i.classFocus.bind(i);r||i.initLine();r=t.filter(function(t){return I(this,e),!(i.isScatterType(t)||i.isBubbleType(t))}.bind(this)),t=s.select("."+wt.chartLines).selectAll("."+wt.chartLine).data(r).attr("class",function(t){return I(this,e),o(t)+l(t)}.bind(this)),s=t.enter().append("g").attr("class",o).style("opacity","0").style("pointer-events",i.getStylePropValue("none"));s.append("g").attr("class",n),i.hasTypeOf("Area")&&(t=(!a&&s.empty()?t:s).filter(i.isAreaType.bind(i)),i.initArea(t)),i.updateTargetForCircle(r,s)},updateLine:function(t,e){var i=this,n=this,a=n.format.extraLineClasses,r=n.$el,s=n.$T,e=(e=void 0===e?!1:e)?r.subchart:r,r=e.main.selectAll("."+wt.lines).selectAll("."+wt.line).data(n.lineData.bind(n));s(r.exit(),t).style("opacity","0").remove(),e.line=r.enter().append("path").attr("class",function(t){return I(this,i),n.getClass("line",!0)(t)+" "+(a(t)||"")}.bind(this)).style("stroke",n.color).merge(r).style("opacity",n.initialOpacity.bind(n)).style("shape-rendering",function(t){return I(this,i),n.isStepType(t)?"crispEdges":""}.bind(this)).attr("transform",null)},redrawLine:function(t,e,i){var n=this.$el;return[(0,this.$T)(((i=void 0===i?!1:i)?n.subchart:n).line,e,W()).attr("d",t).style("stroke",this.color).style("opacity",null)]},getCurve:function(e){var i=this,n=this;return n.config.axis_rotated&&n.isStepType(e)?function(t){I(this,i);t=n.getInterpolate(e)(t);return t.orgPoint=t.point,t.pointRotated=function(t,e){1===this._point&&(this._point=2);var i=this._y*(1-this._t)+e*this._t;this._context.lineTo(this._x,i),this._context.lineTo(t,i),this._x=t,this._y=e},t.point=function(t,e){0===this._point?this.orgPoint(t,e):this.pointRotated(t,e)},t}.bind(this):n.getInterpolate(e)},generateDrawLine:function(t,s){var o=this,l=this,c=l.config,h=l.scale,d=c.line_connectNull,u=c.axis_rotated,i=l.generateGetLinePoints(t,s),g=l.getYScaleById.bind(l),e=function(t){return I(this,o),(s?l.subxx:l.xx).call(l,t)}.bind(this),t=function(t,e){return I(this,o),l.isGrouped(t.id)?i(t,e)[0][1]:g(t.id,s)(l.getBaseValue(t))}.bind(this),f=(0,Ve.line)(),f=u?f.x(t).y(e):f.x(e).y(t);d||(f=f.defined(function(t){return I(this,o),null!==l.getBaseValue(t)}.bind(this)));var p=s?h.subX:h.x;return function(t){I(this,o);var e,i=g(t.id,s),n=d?l.filterRemoveNull(t.values):t.values,a=0,r=0;return(l.isLineType(t)?(e=c.data_regions[t.id])?l.lineWithRegions(n,h.zoom||p,i,e):(l.isStepType(t)&&(n=l.convertValuesToStep(n)),f.curve(l.getCurve(t))(n)):(n[0]&&(a=p(n[0].x),r=i(n[0].value)),u?"M "+r+" "+a:"M "+a+" "+r))||"M 0 0"}.bind(this)},lineWithRegions:function(t,r,s,e){var o=this,i=this,l=i.config.axis_rotated,n=i.axis.isTimeSeries(),a=[];if($(e))for(var c,h=function(t,e){return I(this,o),M(t)?e:n?ot.call(i,t):t}.bind(this),d=0;c=e[d];d++){var u=h(c.start,t[0].x),g=h(c.end,t[t.length-1].x),f=c.style||{dasharray:"2 2"};a[d]={start:u,end:g,style:f}}for(var p,x=(l?function(t){return I(this,o),s(t.value)}:function(t){return I(this,o),r(t.x)}).bind(this),v=(l?function(t){return I(this,o),r(t.x)}:function(t){return I(this,o),s(t.value)}).bind(this),b=function(t){return I(this,o),"M"+t[0][0]+","+t[0][1]+"L"+t[1][0]+","+t[1][1]}.bind(this),_=(n?function(t,e,i,n){I(this,o);var a=t.x.getTime(),e=e.x-t.x,t=new Date(a+e*i),n=new Date(a+e*(i+n)),i=l?[[s(C(i)),r(t)],[s(C(i+S)),r(n)]]:[[r(t),s(C(i))],[r(n),s(C(i+S))]];return b(i)}:function(t,e,i,n){I(this,o);n=l?[[s(C(i),!0),r(k(i))],[s(C(i+n),!0),r(k(i+n))]]:[[r(k(i),!0),s(C(i))],[r(k(i+n),!0),s(C(i+n))]];return b(n)}).bind(this),m={x:i.axis.getAxisType("x"),y:i.axis.getAxisType("y")},y="",T=0;p=t[T];T++){var w=t[T-1],A=w&&P(w.value),f=i.isWithinRegions(p.x,a);if(P(p.value))if(!M(a)&&f&&A){if(A){try{f=f.dasharray.split(" ")}catch(t){f="2 2".split(" ")}for(var S,k=Ge(m.x,w.x,p.x),C=Ge(m.y,w.value,p.value),R=r(p.x)-r(w.x),E=s(p.value)-s(w.value),E=Math.sqrt(Math.pow(R,2)+Math.pow(E,2)),L=(S=f[0]/E)*f[1],O=S;O<=1;O+=L)y+=_(w,p,O,S),1<=O+L&&(y+=_(w,p,1,0))}}else y+=(T&&A?"L":"M")+x(p)+","+v(p)}return y},isWithinRegions:function(t,e){for(var i,n=0;i=e[n];n++)if(i.start=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ji(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i=a[0]||e[0]+.015>=a[0])&&(a[1]>=e[1]||a[1]>=e[1]+.015):(e[0]<=a[0]||e[0]-.015<=a[0])&&(a[1]<=e[1]||a[1]<=e[1]-.015),(t||e)&&(this.axis.x.scale(i),n.domain(i.orgDomain()),this.scale.zoom=null))},bindZoomOnEventRect:function(){var t=this,e=this.config,i=this.$el.eventRect,e="drag"===e.zoom_type?this.zoomBehaviour:this.zoom;this.$el.svg.on("wheel",function(){I(this,t)}.bind(this)),i.call(e).on("dblclick.zoom",null)},initZoomBehaviour:function(){var n,a=this,r=this,t=r.config,s=r.state,e=t.axis_rotated,o=0,l=0,c={axis:e?"y":"x",attr:e?"height":"width",index:e?1:0};r.zoomBehaviour=(0,Re.drag)().clickDistance(4).on("start",function(t){s.event=t,r.setDragStatus(!0),r.unselectRect(),n=n||r.$el.main.append("rect").attr("clip-path",s.clip.path).attr("class",$t.zoomBrush).attr("width",e?s.width:0).attr("height",e?0:s.height),o=V(t,this)[c.index],l=o,n.attr(c.axis,o).attr(c.attr,0),r.onZoomStart(t)}).on("drag",function(t){l=V(t,this)[c.index],n.attr(c.axis,Math.min(o,l)).attr(c.attr,Math.abs(l-o))}).on("end",function(t){var e=this;I(this,a);var i=r.scale.zoom||r.scale.x;s.event=t,n.attr(c.axis,0).attr(c.attr,0),l>>1;a(t[i],n)<0?e=1+i:r=i}while(ec(e(t),n),(t,n)=>e(t)-n):(o=e===c||e===t?e:n,a=e),{left:u,center:function(t,n,e=0,r=t.length){return r=u(t,n,e,r-1),e-i(t[r],n)?r-1:r},right:function(t,n,e=0,r=t.length){if(e>>1;a(t[i],n)<=0?e=1+i:r=i}while(e=t&&(yield t);else{let t=-1;for(var r of n)null!=(r=e(r,++t,n))&&(r=+r)>=r&&(yield r)}}var e=f(c),r=e.right,a=e.left,s=f(o).center,_=r;const b=h(g);var l=h(function(t){const o=g(t);return(t,n,e,r,i)=>{e<<=2,r<<=2,i<<=2,o(t,n,e+0,r+0,i),o(t,n,e+1,r+1,i),o(t,n,e+2,r+2,i),o(t,n,e+3,r+3,i)}});function h(c){return function(t,n,e=n){if(!(0<=(n=+n)))throw new RangeError("invalid rx");if(!(0<=(e=+e)))throw new RangeError("invalid ry");let{data:r,width:i,height:o}=t;if(!(0<=(i=Math.floor(i))))throw new RangeError("invalid width");if(!(0<=(o=Math.floor(void 0!==o?o:r.length/i))))throw new RangeError("invalid height");if(!i||!o||!n&&!e)return t;var a=n&&c(n),u=e&&c(e),e=r.slice();return a&&u?(d(a,e,r,i,o),d(a,r,e,i,o),d(a,e,r,i,o),p(u,r,e,i,o),p(u,e,r,i,o),p(u,r,e,i,o)):a?(d(a,r,e,i,o),d(a,e,r,i,o),d(a,r,e,i,o)):u&&(p(u,r,e,i,o),p(u,e,r,i,o),p(u,r,e,i,o)),t}}function d(e,r,i,o,a){for(let t=0,n=o*a;t{if((a-=u)>=o){let e=t*i[o];var c=u*t;for(let t=o,n=o+c;t{if((a-=u)>=o){let e=n*i[o];var c=u*n,f=c+u;for(let t=o,n=o+c;t=t&&++r;else{let t=-1;for(var i of n)null!=(i=e(i,++t,n))&&(i=+i)>=i&&++r}return r}function v(t){return 0|t.length}function m(t){return!(0=t&&(i=t-o,o+=i/++r,a+=i*(t-o));else{let t=-1;for(var u of n)null!=(u=e(u,++t,n))&&(u=+u)>=u&&(i=u-o,o+=i/++r,a+=i*(u-o))}if(1=t&&(r=i=t):(r>t&&(r=t),i=o&&(r=i=o):(r>o&&(r=o),ie.pop().map(([t,n])=>[...e,t,n]));return e}function q(t,n,...e){return U(t,z,n,e)}function I(t,n,...e){return U(t,Array.from,n,e)}function O(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function U(t,s,l,h){return function t(n,e){if(e>=h.length)return l(n);const r=new T,i=h[e++];let o=-1;for(const u of n){var a=i(u,++o,n);const c=r.get(a);c?c.push(u):r.set(a,[u])}for(const[f,n]of r)r.set(f,t(n,e));return s(r)}(t,0)}function L(n,t){return Array.from(t,t=>n[t])}function B(n,...i){if("function"!=typeof n[Symbol.iterator])throw new TypeError("values is not iterable");n=Array.from(n);let[e]=i;if(e&&2!==e.length||1n);return 1n.map(t)),t.sort((t,n)=>{for(const r of i){var e=Y(r[t],r[n]);if(e)return e}})):(e=n.map(e),t.sort((t,n)=>Y(e[t],e[n]))),L(n,t)}return n.sort(j(e))}function j(r=c){if(r===c)return Y;if("function"!=typeof r)throw new TypeError("compare is not a function");return(t,n)=>{var e=r(t,n);return e||0===e?e:(0===r(n,n))-(0===r(t,t))}}function Y(t,n){return(null==t||!(t<=t))-(null==n||!(n<=n))||(tt}var G=Math.sqrt(50),X=Math.sqrt(10),V=Math.sqrt(2);function W(e,r,t){var n,i,o,a,u=-1;if(t=+t,(e=+e)===(r=+r)&&0r&&--n,o=new Array(i=n-t+1);++ur&&--n,o=new Array(i=n-t+1);++u=c)if(c<=s&&y===A){const e=Z(u,c,a);isFinite(e)&&(0c;)f.pop(),--l;var h,d,p=new Array(l+1);for(o=0;o<=l;++o)(h=p[o]=[]).x0=0=t)&&(r=t);else{let t=-1;for(var i of n)null!=(i=e(i,++t,n))&&(r=i)&&(r=i)}return r}function et(t,n){let e,r=-1,i=-1;if(void 0===n)for(const a of t)++i,null!=a&&(e=a)&&(e=a,r=i);else for(var o of t)null!=(o=n(o,++i,t))&&(e=o)&&(e=o,r=i);return r}function rt(n,e){let r;if(void 0===e)for(const t of n)null!=t&&(r>t||void 0===r&&t>=t)&&(r=t);else{let t=-1;for(var i of n)null!=(i=e(i,++t,n))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function it(t,n){let e,r=-1,i=-1;if(void 0===n)for(const a of t)++i,null!=a&&(e>a||void 0===e&&a>=a)&&(e=a,r=i);else for(var o of t)null!=(o=n(o,++i,t))&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);return r}function ot(e,r,i=0,o=e.length-1,a){for(a=void 0===a?Y:j(a);in),t,0,n-1,(t,n)=>Y(e[t],e[n])).subarray(0,t+1),t=>e[t])}}function lt(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function ht(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r+n(t)}function Ct(n,e){return e=Math.max(0,n.bandwidth()-2*e)/2,n.round()&&(e=Math.round(e)),t=>+n(t)+e}function Pt(){return!this.__axis}function zt(d,p){var g=[],y=null,v=null,_=6,b=6,m=3,x="undefined"!=typeof window&&1{}};function Rt(){for(var t,n=0,e=arguments.length,r={};n()=>t;function Un(t,{sourceEvent:n,subject:e,target:r,identifier:i,active:o,x:a,y:u,dx:c,dy:f,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:u,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:f,enumerable:!0,configurable:!0},_:{value:s}})}function Ln(t){return!t.ctrlKey&&!t.button}function Bn(){return this.parentNode}function jn(t,n){return null==n?{x:t.x,y:t.y}:n}function Yn(){return navigator.maxTouchPoints||"ontouchstart"in this}function $n(t,n,e){(t.prototype=n.prototype=e).constructor=t}function Hn(t,n){var e,r=Object.create(t.prototype);for(e in n)r[e]=n[e];return r}function Gn(){}Un.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Xn=1/.7,Vn="\\s*([+-]?\\d+)\\s*",Wn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Zn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Kn=/^#([0-9a-f]{3,8})$/,Qn=new RegExp(`^rgb\\(${Vn},${Vn},${Vn}\\)$`),Jn=new RegExp(`^rgb\\(${Zn},${Zn},${Zn}\\)$`),te=new RegExp(`^rgba\\(${Vn},${Vn},${Vn},${Wn}\\)$`),ne=new RegExp(`^rgba\\(${Zn},${Zn},${Zn},${Wn}\\)$`),ee=new RegExp(`^hsl\\(${Wn},${Zn},${Zn}\\)$`),re=new RegExp(`^hsla\\(${Wn},${Zn},${Zn},${Wn}\\)$`),ie={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function oe(){return this.rgb().formatHex()}function ae(){return this.rgb().formatRgb()}function ue(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Kn.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?ce(n):3===e?new he(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?fe(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?fe(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Qn.exec(t))?new he(n[1],n[2],n[3],1):(n=Jn.exec(t))?new he(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=te.exec(t))?fe(n[1],n[2],n[3],n[4]):(n=ne.exec(t))?fe(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=ee.exec(t))?_e(n[1],n[2]/100,n[3]/100,1):(n=re.exec(t))?_e(n[1],n[2]/100,n[3]/100,n[4]):ie.hasOwnProperty(t)?ce(ie[t]):"transparent"===t?new he(NaN,NaN,NaN,0):null}function ce(t){return new he(t>>16&255,t>>8&255,255&t,1)}function fe(t,n,e,r){return new he(t=r<=0?n=e=NaN:t,n,e,r)}function se(t){return(t=t instanceof Gn?t:ue(t))?new he((t=t.rgb()).r,t.g,t.b,t.opacity):new he}function le(t,n,e,r){return 1===arguments.length?se(t):new he(t,n,e,null==r?1:r)}function he(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function de(){return`#${ve(this.r)}${ve(this.g)}${ve(this.b)}`}function pe(){var t=ge(this.opacity);return`${1===t?"rgb(":"rgba("}${ye(this.r)}, ${ye(this.g)}, ${ye(this.b)}${1===t?")":`, ${t})`}`}function ge(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ye(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function ve(t){return((t=ye(t))<16?"0":"")+t.toString(16)}function _e(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||1<=e?t=n=NaN:n<=0&&(t=NaN),new xe(t,n,e,r)}function be(t){if(t instanceof xe)return new xe(t.h,t.s,t.l,t.opacity);if(!(t=!(t instanceof Gn)?ue(t):t))return new xe;if(t instanceof xe)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,c=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(eDe?Math.pow(t,1/3):t/ze+Ce}function Oe(t){return t>Pe?t*t*t:ze*(t-Ce)}function Ue(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Le(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Be(t){if(t instanceof Ye)return new Ye(t.h,t.c,t.l,t.opacity);if(0===(t=!(t instanceof qe)?Re(t):t).a&&0===t.b)return new Ye(NaN,0()=>t;function ir(n,e){return function(t){return n+t*e}}function or(t,n){var e=n-t;return e?ir(t,180u&&(i=r.slice(u,i),f[c]?f[c]+=i:f[++c]=i),(n=n[0])===(e=e[0])?f[c]?f[c]+=e:f[++c]=e:(f[++c]=null,s.push({i:c,x:yr(n,e)})),u=br.lastIndex;return ue._time&&(r=e._time),(t=e)._next):(n=e._next,e._next=null,t?t._next=n:jr=n);Yr=t,ai(r)}(),Wr=0}}function oi(){var t=Kr.now(),n=t-Vr;Xr{r.stop(),n(t+e)},e=null==e?0:+e,t),r}ni.prototype=ei.prototype={constructor:ni,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Jr():+e)+(null==n?0:+n),this._next||Yr===this||(Yr?Yr._next=this:jr=this,Yr=this),this._call=t,this._time=e,ai()},stop:function(){this._call&&(this._call=null,this._time=1/0,ai())}};var ci=Rt("start","end","cancel","interrupt"),fi=[],si=0,li=1,hi=2,di=3,pi=4,gi=5,yi=6;function vi(t,n,e,r,i,o){var a,u,c,f,s,l=t.__transition;if(l){if(e in l)return}else t.__transition={};function h(t){var n,e,r,i;if(c.state!==li)return p();for(n in s)if((i=s[n]).name===c.name){if(i.state===di)return ui(h);i.state===pi?(i.state=yi,i.timer.stop(),i.on.call("interrupt",a,a.__data__,i.index,i.group),delete s[n]):+nsi)throw new Error("too late; already scheduled");return n}function bi(t,n){n=mi(t,n);if(n.state>di)throw new Error("too late; already running");return n}function mi(t,n){t=t.__transition;if(!t||!(t=t[n]))throw new Error("transition not found");return t}function xi(t,n){var e,r,i,o=t.__transition,a=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>hi&&e.state()=>t;function po(t,{sourceEvent:n,target:e,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function go(t){t.preventDefault(),t.stopImmediatePropagation()}var yo={name:"drag"},vo={name:"space"},_o={name:"handle"},bo={name:"center"};const{abs:mo,max:xo,min:wo}=Math;function Mo(t){return[+t[0],+t[1]]}function Ao(t){return[Mo(t[0]),Mo(t[1])]}var To={name:"x",handles:["w","e"].map(Do),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},Eo={name:"y",handles:["n","s"].map(Do),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},So={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Do),input:function(t){return null==t?null:Ao(t)},output:function(t){return t}},ko={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},No={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Co={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Po={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},zo={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Do(t){return{type:t}}function Ro(t){return!t.ctrlKey&&!t.button}function Fo(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function qo(){return navigator.maxTouchPoints||"ontouchstart"in this}function Io(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Oo(F){var q,n=Fo,I=Ro,e=qo,O=!0,i=Rt("start","brush","end"),r=6;function o(t){var n=t.property("__brush",s).selectAll(".overlay").data([Do("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ko.overlay).merge(n).each(function(){var t=Io(this).extent;En(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),t.selectAll(".selection").data([Do("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ko.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");n=t.selectAll(".handle").data(F.handles,function(t){return t.type});n.exit().remove(),n.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return ko[t.type]}),t.each(U).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",u).filter(e).on("touchstart.brush",u).on("touchmove.brush",c).on("touchend.brush touchcancel.brush",f).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function U(){var t=En(this),n=Io(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?n[1][0]-r/2:n[0][0]-r/2}).attr("y",function(t){return"s"===t.type[0]?n[1][1]-r/2:n[0][1]-r/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+r:r}).attr("height",function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+r:r})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function L(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new a(t,n,e):r}function a(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function u(t){var o,i,a,u,c,f,s,l,h,d,p,g,y,v,_,b,m,x,w,M,A,T,E,n,S,k,N,C,e,P,r;function z(t){for(const e of t.changedTouches||[t])for(const r of T)r.identifier===e.identifier&&(r.cur=Pn(e,o));var n;!w||M||A||1!==T.length||(n=T[0],mo(n.cur[0]-n[0])>mo(n.cur[1]-n[1])?A=!0:M=!0);for(const i of T)i.cur&&(i[0]=i.cur[0],i[1]=i.cur[1]);x=!0,go(t),D(t)}function D(t){var n,e=T[0],r=e.point0;switch(b=e[0]-r[0],m=e[1]-r[1],a){case vo:case yo:u&&(b=xo(l-h,wo(g-y,b)),S=h+b,N=y+b),c&&(m=xo(d-p,wo(v-_,m)),k=p+m,C=_+m);break;case _o:T[1]?(u&&(S=xo(l,wo(g,T[0][0])),N=xo(l,wo(g,T[1][0])),u=1),c&&(k=xo(d,wo(v,T[0][1])),C=xo(d,wo(v,T[1][1])),c=1)):(u<0?(b=xo(l-h,wo(g-h,b)),S=h+b,N=y):0{var n=t.identifier;return(t=Pn(t,o)).point0=t.slice(),t.identifier=n,t}),xi(o),E=L(o,arguments,!0).beforestart(),"overlay"===i?(s&&(x=!0),n=[T[0],T[1]||T[0]],f.selection=s=[[h=F===Eo?l:wo(n[0][0],n[1][0]),p=F===To?d:wo(n[0][1],n[1][1])],[y=F===Eo?g:xo(n[0][0],n[1][0]),_=F===To?v:xo(n[0][1],n[1][1])]],1e+n)}function Vo(_,n){var b=0,m=null,x=null,w=null;function r(r){var t,i=r.length,o=new Array(i),e=Xo(0,i),a=new Array(i*i),u=new Array(i),c=0;r=Float64Array.from({length:i*i},n?(t,n)=>r[n%i][n/i|0]:(t,n)=>r[n/i|0][n%i]);for(let e=0;em(o[t],o[n]));for(const l of e){var f,s=n;if(_){const h=Xo(1+~i,i).filter(t=>t<0?r[~t*i+l]:r[l*i+t]);x&&h.sort((t,n)=>x(t<0?-r[~t*i+l]:r[l*i+t],n<0?-r[~n*i+l]:r[l*i+n]));for(const d of h)if(d<0){const p=a[~d*i+l]||(a[~d*i+l]={source:null,target:null});p.target={index:l,startAngle:n,endAngle:n+=r[~d*i+l]*c,value:r[~d*i+l]}}else{const g=a[l*i+d]||(a[l*i+d]={source:null,target:null});g.source={index:l,startAngle:n,endAngle:n+=r[l*i+d]*c,value:r[l*i+d]}}u[l]={index:l,startAngle:s,endAngle:n,value:o[l]}}else{const y=Xo(0,i).filter(t=>r[l*i+t]||r[t*i+l]);x&&y.sort((t,n)=>x(r[l*i+t],r[l*i+n]));for(const v of y){let t;lKo&&(Math.abs(h*f-s*l)>Ko&&i?(a=f*f+s*s,u=(o=e-u)*o+(e=r-c)*e,r=Math.sqrt(a),c=Math.sqrt(d),c=(u=i*Math.tan((Wo-Math.acos((a+d-u)/(2*r*c)))/2))/c,r=u/r,Math.abs(c-1)>Ko&&(this._+="L"+(t+c*l)+","+(n+c*h)),this._+="A"+i+","+i+",0,0,"+ +(l*eKo||Math.abs(this._y1-f)>Ko)&&(this._+="L"+c+","+f),e&&((r=r<0?r%Zo+Zo:r)>Qo?this._+="A"+e+","+e+",0,1,"+s+","+(t-a)+","+(n-u)+"A"+e+","+e+",0,1,"+s+","+(this._x1=c)+","+(this._y1=f):r>Ko&&(this._+="A"+e+","+e+",0,"+ +(r>=Wo)+","+s+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var na=Array.prototype.slice;function ea(t){return function(){return t}}function ra(t){return t.source}function ia(t){return t.target}function oa(t){return t.radius}function aa(t){return t.startAngle}function ua(t){return t.endAngle}function ca(){return 0}function fa(){return 10}function sa(c){var f=ra,s=ia,l=oa,h=oa,d=aa,p=ua,g=ca,y=null;function n(){var t,n=f.apply(this,arguments),e=s.apply(this,arguments),r=g.apply(this,arguments)/2,i=na.call(arguments),o=+l.apply(this,(i[0]=n,i)),a=d.apply(this,i)-Yo,u=p.apply(this,i)-Yo,n=+h.apply(this,(i[0]=e,i)),e=d.apply(this,i)-Yo,i=p.apply(this,i)-Yo;if(y=y||(t=ta()),Go2*r+Go?a2*r+Go?e()=>t;function pa(t,n){for(var e,r=-1,i=n.length;++ra(n,t))}function a(n,e){var i=[],r=[];return function(t,n,a){var u,c,e,r,i,o,f=new Array,s=new Array;u=c=-1,r=t[0]>=n,ya[r<<1].forEach(l);for(;++u=n,ya[e|r<<1].forEach(l);ya[r<<0].forEach(l);for(;++c=n,i=t[c*h]>=n,ya[r<<1|i<<2].forEach(l);++u=n,o=i,i=t[c*h+u+1]>=n,ya[e|r<<1|i<<2|o<<3].forEach(l);ya[r|i<<3].forEach(l)}u=-1,i=t[c*h]>=n,ya[i<<2].forEach(l);for(;++u=n,ya[i<<2|o<<3].forEach(l);function l(t){var n,e=[t[0][0]+u,t[0][1]+c],r=[t[1][0]+u,t[1][1]+c],i=p(e),o=p(r);(t=s[i])?(n=f[o])?(delete s[t.end],delete f[n.start],t===n?(t.ring.push(r),a(t.ring)):f[t.start]=s[n.end]={start:t.start,end:n.end,ring:t.ring.concat(n.ring)}):(delete s[t.end],t.ring.push(r),s[t.end=o]=t):(t=f[o])?(n=s[i])?(delete f[t.start],delete s[n.end],t===n?(t.ring.push(r),a(t.ring)):f[n.start]=s[t.end]={start:n.start,end:t.end,ring:n.ring.concat(t.ring)}):(delete f[t.start],t.ring.unshift(e),f[t.start=i]=t):f[i]=s[o]={start:i,end:o,ring:[e,r]}}ya[i<<3].forEach(l)}(n,e,function(t){o(t,n,e),0f==s>-f?(o=f,f=n[++l]):(o=s,s=r[++h]);let d=0;if(lf==s>-f?(a=f+o,u=o-(a-f),f=n[++l]):(a=s+o,u=o-(a-s),s=r[++h]),o=a,0!==u&&(i[d++]=u);lf==s>-f?(a=o+f,c=a-o,u=o-(a-c)+(f-c),f=n[++l]):(a=o+s,c=a-o,u=o-(a-c)+(s-c),s=r[++h]),o=a,0!==u&&(i[d++]=u);for(;l=E||-T>=E)return T;if(t=t-(g+(A=t-g))+(A-i),i=e-(y+(A=e-y))+(A-i),n=n-(v+(A=n-v))+(A-o),o=r-(_+(A=r-_))+(A-o),0==t&&0==n&&0==i&&0==o)return T;if(E=Sa*a+Ma*Math.abs(T),T+=g*o+_*t-(v*i+y*n),T>=E||-T>=E)return T;b=t*_,M=n*y,A=(h=(w=t-(x=(m=wa*t)-(m-t)))*(c=_-(u=(m=wa*_)-(m-_)))-(b-x*u-w*u-x*c))-(f=h-(d=(w=n-(x=(m=wa*n)-(m-n)))*(c=y-(u=(m=wa*y)-(m-y)))-(M-x*u-w*u-x*c))),za[0]=h-(f+A)+(A-d),A=(l=b-((s=b+f)-(A=s-b))+(f-A))-(f=l-M),za[1]=l-(f+A)+(A-M),A=(p=s+f)-s,za[2]=s-(p-A)+(f-A),za[3]=p;y=Aa(4,ka,4,za,Na);b=g*o,M=v*i,A=(h=(w=g-(x=(m=wa*g)-(m-g)))*(c=o-(u=(m=wa*o)-(m-o)))-(b-x*u-w*u-x*c))-(f=h-(d=(w=v-(x=(m=wa*v)-(m-v)))*(c=i-(u=(m=wa*i)-(m-i)))-(M-x*u-w*u-x*c))),za[0]=h-(f+A)+(A-d),A=(l=b-((s=b+f)-(A=s-b))+(f-A))-(f=l-M),za[1]=l-(f+A)+(A-M),A=(p=s+f)-s,za[2]=s-(p-A)+(f-A),za[3]=p;y=Aa(y,Na,4,za,Ca);b=t*o,M=n*i,A=(h=(w=t-(x=(m=wa*t)-(m-t)))*(c=o-(u=(m=wa*o)-(m-o)))-(b-x*u-w*u-x*c))-(f=h-(d=(w=n-(x=(m=wa*n)-(m-n)))*(c=i-(u=(m=wa*i)-(m-i)))-(M-x*u-w*u-x*c))),za[0]=h-(f+A)+(A-d),A=(l=b-((s=b+f)-(A=s-b))+(f-A))-(f=l-M),za[1]=l-(f+A)+(A-M),A=(p=s+f)-s,za[2]=s-(p-A)+(f-A),za[3]=p;y=Aa(y,Ca,4,za,Pa);return Pa[y-1]}function Ra(t,n,e,r,i,o){var a=(n-o)*(e-i),u=(t-i)*(r-o),c=a-u;if(0==a||0==u||0=33306690738754716e-32*u?c:-Da(t,n,e,r,i,o,u)}const Fa=Math.pow(2,-52),qa=new Uint32Array(512);class Ia{static from(n,e=function(t){return t[0]},r=function(t){return t[1]}){var i=n.length;const o=new Float64Array(2*i);for(let t=0;t>1;if(0>1;let n=1/0,e=1/0,i=-1/0,s=-1/0;for(let t=0;ti&&(i=l),h>s&&(s=h),this._ids[t]=t}var d=(n+i)/2,p=(e+s)/2;let g=1/0,y,v,_;for(let t=0;tn&&(V[e++]=R,n=this._dists[R])}return this.hull=V.subarray(0,e),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}Ra(k,N,C,P,t,D)<0&&(U=v,L=C,B=P,v=_,C=t,P=D,_=U,t=L,D=B);var F,q,I,O,U,L,B,j,Y=(j=k,F=N,q=C,I=P,O=t,U=D,L=q-j,{x:B=j+((q=U-F)*(I=L*L+(B=I-F)*B)-B*(O=(j=O-j)*j+q*q))*(U=.5/(L*q-B*j)),y:U=F+(L*O-j*I)*U});this._cx=Y.x,this._cy=Y.y;for(let t=0;t=i&&r[e[t]]>u;)e[t+1]=e[t--];e[t+1]=a}else{let t=i+1,n=o;La(e,i+o>>1,t),r[e[i]]>r[e[o]]&&La(e,i,o),r[e[t]]>r[e[o]]&&La(e,t,o),r[e[i]]>r[e[t]]&&La(e,i,t);for(var c=e[t],f=r[c];;){for(;t++,r[e[t]]f;);if(n=n-i?(Ua(e,r,t,o),Ua(e,r,i,n-1)):(Ua(e,r,i,n-1),Ua(e,r,t,o))}}function La(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}class Ba{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,e){var r=(t=+t)+(e=+e),i=n=+n;if(e<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(1e-6=(n=+n)&&(i=+i)>=(e=+e)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=n,this.ymax=i,this.ymin=e,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:o,hull:n,triangles:a},vectors:e}=this,u=this.circumcenters=this._circumcenters.subarray(0,a.length/3*2);for(let t=0,n=0,e=a.length,r,i;t=this.ymax)return null;(o=(this.ymax-n)/r)=this.xmax)return null;(o=(this.xmax-t)/e)this.xmax?2:0)|(nthis.ymax?8:0)}}const $a=2*Math.PI,Ha=Math.pow;var Ga={},Xa={},Va=34,Wa=10,Za=13;function Ka(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'}).join(",")+"}")}function Qa(t){var e=Object.create(null),r=[];return t.forEach(function(t){for(var n in t)n in e||r.push(e[n]=n)}),r}function Ja(t,n){var e=t+"",t=e.length;return t=i?u=!0:(n=r.charCodeAt(o++))===Wa?c=!0:n===Za&&(c=!0,r.charCodeAt(o)===Wa&&++o),r.slice(e+1,t-1).replace(/""/g,'"')}for(;owu(t,n).then(t=>(new DOMParser).parseFromString(t,e))}var ku=Su("application/xml"),Nu=Su("text/html"),Cu=Su("image/svg+xml");function Pu(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,c,f,s,l,h,d=t._root,p={data:r},g=t._x0,y=t._y0,v=t._x1,_=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a,!(d=(i=d)[l=s<<1|f]))return i[l]=p,t;if(u=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===u&&e===c)return p.next=d,i?i[l]=p:t._root=p,t;for(;i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a,(l=s<<1|f)==(h=(a<=c)<<1|o<=u););return i[h]=d,i[l]=p,t}function zu(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function Du(t){return t[0]}function Ru(t){return t[1]}function Fu(t,n,e){e=new qu(null==n?Du:n,null==e?Ru:e,NaN,NaN,NaN,NaN);return null==t?e:e.addAll(t)}function qu(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Iu(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var Ou=Fu.prototype=qu.prototype;function Uu(t){return function(){return t}}function Lu(t){return 1e-6*(t()-.5)}function Bu(t){return t.x+t.vx}function ju(t){return t.y+t.vy}function Yu(t){return t.index}function $u(t,n){t=t.get(n);if(!t)throw new Error("node not found: "+n);return t}Ou.copy=function(){var t,n,e=new qu(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=Iu(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=Iu(n));return e},Ou.add=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return Pu(this.cover(n,e),n,e,t)},Ou.addAll=function(t){for(var n,e,r,i=t.length,o=new Array(i),a=new Array(i),u=1/0,c=1/0,f=-1/0,s=-1/0,l=0;ld||(i=f.y0)>p||(o=f.x1)=(f=(d+g)/2))?d=f:g=f,(f=a>=(u=(p+y)/2))?p=u:y=u,!(h=(n=h)[s=f<<1|c]))return this;if(!h.length)break;(n[s+1&3]||n[s+2&3]||n[s+3&3])&&(e=n,l=s)}for(;h.data!==t;)if(!(h=(r=h).next))return this;return(i=h.next)&&delete h.next,r?i?r.next=i:delete r.next:n?(i?n[s]=i:delete n[s],(h=n[0]||n[1]||n[2]||n[3])&&h===(n[3]||n[2]||n[1]||n[0])&&!h.length&&(e?e[l]=h:this._root=h)):this._root=i,this},Ou.removeAll=function(t){for(var n=0,e=t.length;n=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function nc(t){if(!(n=tc.exec(t)))throw new Error("invalid format: "+t);var n;return new ec({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function ec(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function rc(t,n){n=Ku(t,n);if(!n)return t+"";t=n[0],n=n[1];return n<0?"0."+new Array(-n).join("0")+t:t.length>n+1?t.slice(0,n+1)+"."+t.slice(n+1):t+new Array(n-t.length+2).join("0")}nc.prototype=ec.prototype,ec.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ic={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return 1e21<=Math.abs(t=Math.round(t))?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>rc(100*t,n),r:rc,s:function(t,n){if(!(r=Ku(t,n)))return t+"";var e=r[0],r=(i=r[1])-(Ju=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,i=e.length;return r===i?e:iMath.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function oc(t){return t}var ac,uc=Array.prototype.map,cc=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function fc(t){var n,u,c,w=void 0===t.grouping||void 0===t.thousands?oc:(u=uc.call(t.grouping,Number),c=t.thousands+"",function(t,n){for(var e=t.length,r=[],i=0,o=u[0],a=0;0n));)o=u[i=(i+1)%u.length];return r.reverse().join(c)}),r=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",M=void 0===t.decimal?".":t.decimal+"",A=void 0===t.numerals?oc:(n=uc.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return n[+t]})}),o=void 0===t.percent?"%":t.percent+"",T=void 0===t.minus?"−":t.minus+"",E=void 0===t.nan?"NaN":t.nan+"";function a(t){var f=(t=nc(t)).fill,s=t.align,l=t.sign,n=t.symbol,h=t.zero,d=t.width,p=t.comma,g=t.precision,y=t.trim,v=t.type;"n"===v?(p=!0,v="g"):ic[v]||(void 0===g&&(g=12),y=!0,v="g"),(h||"0"===f&&"="===s)&&(h=!0,f="0",s="=");var _="$"===n?r:"#"===n&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",b="$"===n?i:/[%p]/.test(v)?o:"",m=ic[v],x=/[defgprs%]/.test(v);function e(t){var n,e,r,i=_,o=b;if("c"===v)o=m(t)+o,t="";else{var a=(t=+t)<0||1/t<0;if(t=isNaN(t)?E:m(Math.abs(t),g),y&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r>1)+i+t+o+c.slice(u);break;default:t=c+i+t+o}return A(t)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),e.toString=function(){return t+""},e}return{format:a,formatPrefix:function(t,n){var e=a(((t=nc(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(Qu(n)/3))),r=Math.pow(10,-n),i=cc[8+n/3];return function(t){return e(r*t)+i}}}}function sc(t){return ac=fc(t),u.format=ac.format,u.formatPrefix=ac.formatPrefix,ac}function lc(t){return Math.max(0,-Qu(Math.abs(t)))}function hc(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Qu(n)/3)))-Qu(Math.abs(t)))}function dc(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Qu(n)-Qu(t))+1}u.format=void 0,u.formatPrefix=void 0,sc({thousands:",",grouping:[3],currency:["$",""]});var pc=1e-6,gc=1e-12,yc=Math.PI,vc=yc/2,_c=yc/4,bc=2*yc,mc=180/yc,xc=yc/180,wc=Math.abs,Mc=Math.atan,Ac=Math.atan2,Tc=Math.cos,Ec=Math.ceil,Sc=Math.exp,kc=Math.hypot,Nc=Math.log,Cc=Math.pow,Pc=Math.sin,zc=Math.sign||function(t){return 0Gf(Zc,Qc)&&(Qc=t):Gf(t,Qc)>Gf(Zc,Qc)&&(Zc=t):Zc<=Qc?(tGf(Zc,Qc)&&(Qc=t):Gf(t,Qc)>Gf(Zc,Qc)&&(Zc=t)):af.push(uf=[Zc=t,Qc=t]),npc&&(Zc=-(Qc=180)),uf[0]=Zc,uf[1]=Qc,rf=null}function Gf(t,n){return(n-=t)<0?n+360:n}function Xf(t,n){return t[0]-n[0]}function Vf(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nyc?t+Math.round(-t/bc)*bc:t,n]}function fs(t,n,e){return(t%=bc)?n||e?us(ls(t),hs(n,e)):ls(t):n||e?hs(n,e):cs}function ss(e){return function(t,n){return[yc<(t+=e)?t-bc:t<-yc?t+bc:t,n]}}function ls(t){var n=ss(t);return n.invert=ss(-t),n}function hs(t,n){var i=Tc(t),o=Pc(t),a=Tc(n),u=Pc(n);function e(t,n){var e=Tc(n),r=Tc(t)*e,t=Pc(t)*e,e=Pc(n),n=e*i+r*o;return[Ac(t*a-n*u,r*i-e*o),qc(n*a+t*u)]}return e.invert=function(t,n){var e=Tc(n),r=Tc(t)*e,t=Pc(t)*e,e=Pc(n),n=e*a-t*u;return[Ac(t*a+e*u,r*i+n*o),qc(n*i-r*o)]},e}function ds(n){function t(t){return(t=n(t[0]*xc,t[1]*xc))[0]*=mc,t[1]*=mc,t}return n=fs(n[0]*xc,n[1]*xc,2pc?Mc((Pc(r)*(c=Tc(o))*Pc(i)-Pc(o)*(i=Tc(r))*Pc(e))/(i*c*a)):(r+o)/2,f.point(d,h),f.lineEnd(),f.lineStart(),f.point(u,h),s=0),f.point(l=t,h=n),d=u},lineEnd:function(){f.lineEnd(),l=h=NaN},clean:function(){return 2-s}}},function(t,n,e,r){var i;null==t?(i=e*vc,r.point(-yc,i),r.point(0,i),r.point(yc,i),r.point(yc,0),r.point(yc,-i),r.point(0,-i),r.point(-yc,-i),r.point(-yc,0),r.point(-yc,i)):wc(t[0]-n[0])>pc?(t=t[0]pc;function g(t,n){return Tc(t)*Tc(n)>d}function y(t,n,e){var r=[1,0,0],i=_f(yf(t),yf(n)),o=vf(i,i),a=i[0],u=o-a*a;if(!u)return!e&&t;var c=_f(r,i),f=mf(r,d*o/u);bf(f,mf(i,-d*a/u));var s=c,l=vf(f,s),r=vf(s,s),o=l*l-r*(vf(f,f)-1);if(!(o<0)){i=Dc(o),a=mf(s,(-l-i)/r);if(bf(a,f),a=gf(a),!e)return a;var h,u=t[0],c=n[0],o=t[1],e=n[1];cpc}).map(f)).concat(ht(Ec(a/p)*p,o,p).filter(function(t){return wc(t%y)>pc}).map(s))}return _.lines=function(){return t().map(function(t){return{type:"LineString",coordinates:t}})},_.outline=function(){return{type:"Polygon",coordinates:[l(i).concat(h(u).slice(1),l(r).reverse().slice(1),h(c).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(i=+t[0][0],r=+t[1][0],c=+t[0][1],u=+t[1][1],rt,ol=new S,al=new S,ul={point:Oc,lineStart:Oc,lineEnd:Oc,polygonStart:function(){ul.lineStart=cl,ul.lineEnd=ll},polygonEnd:function(){ul.lineStart=ul.lineEnd=ul.point=Oc,ol.add(wc(al)),al=new S},result:function(){var t=ol/2;return ol=new S,t}};function cl(){ul.point=fl}function fl(t,n){ul.point=sl,tl=el=t,nl=rl=n}function sl(t,n){al.add(rl*t-el*n),el=t,rl=n}function ll(){sl(tl,nl)}var hl=ul,dl=1/0,pl=dl,gl=-dl,yl=gl;var vl,_l,bl,ml,xl={point:function(t,n){tpc&&0<--r);return[t/(.8707+(i=e*e)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),e]},Ih.invert=mh(qc),Oh.invert=mh(function(t){return 2*Mc(t)}),Uh.invert=function(t,n){return[-n,2*Mc(Sc(t))-vc]};function $h(t,n){t instanceof Map?(t=[void 0,t],void 0===n&&(n=Gh)):void 0===n&&(n=Hh);for(var e,r,i,o,a,t=new Wh(t),u=[t];e=u.pop();)if((i=n(e.data))&&(a=(i=Array.from(i)).length))for(e.children=i,o=a-1;0<=o;--o)u.push(r=i[o]=new Wh(i[o])),r.parent=e,r.depth=e.depth+1;return t.eachBefore(Vh)}function Hh(t){return t.children}function Gh(t){return Array.isArray(t)?t[1]:null}function Xh(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function Vh(t){for(var n=0;t.height=n,(t=t.parent)&&t.height<++n;);}function Wh(t){this.data=t,this.depth=this.height=0,this.parent=null}function Zh(t){return null==t?null:Kh(t)}function Kh(t){if("function"!=typeof t)throw new Error;return t}function Qh(){return 0}function Jh(t){return function(){return t}}Wh.prototype=$h.prototype={constructor:Wh,count:function(){return this.eachAfter(Yh)},each:function(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},eachAfter:function(t,n){for(var e,r,i,o=this,a=[o],u=[],c=-1;o=a.pop();)if(u.push(o),e=o.children)for(r=0,i=e.length;r(t=(td*t+nd)%ed)/ed}function id(t,n){for(var e,r,i=0,o=(t=function(t,n){let e=t.length,r,i;for(;e;)i=n()*e--|0,r=t[e],t[e]=t[i],t[i]=r;return t}(Array.from(t),n)).length,a=[];i0:function(){for(var t=0,n=e;11/0:1===t?()=>1:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-n())/t)})}return e.source=t,e}(Ud),Zd=function t(u){var c=jd.source(u)();function n(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return()=>0;if(r=null==r?1:+r,1===t)return()=>-Math.log1p(-u())*r;var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?()=>Math.pow(u(),1/t):()=>1;return function(){do{do{var t=c(),n=1+o*t}while(n<=0);n*=n*n;var e=1-u()}while(1-.0331*t*t*t*t<=e&&Math.log(e)>=.5*t*t+i*(1-n+Math.log(n)));return i*n*a()*r}}return n.source=t,n}(Ud),Kd=function t(n){var i=Zd.source(n);function e(t,n){var e=i(t),r=i(n);return function(){var t=e();return 0===t?0:t/(t+r())}}return e.source=t,e}(Ud),Qd=function t(n){var l=Wd.source(n),h=Kd.source(n);function e(f,s){return f=+f,1<=(s=+s)?()=>f:s<=0?()=>0:function(){for(var t=0,n=f,e=s;16-Math.log(t):(n=1/n,t=>Math.pow(t,n));return t=null==t?0:+t,e=null==e?1:+e,function(){return t+e*r(-Math.log1p(-i()))}}return n.source=t,n}(Ud),tp=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,function(){return t+n*Math.tan(Math.PI*e())}}return n.source=t,n}(Ud),np=function t(r){function n(n,e){return n=null==n?0:+n,e=null==e?1:+e,function(){var t=r();return n+e*Math.log(t/(1-t))}}return n.source=t,n}(Ud),ep=function t(u){var c=Zd.source(u),f=Qd.source(u);function n(a){return function(){for(var t=0,n=a;16-e(-t,n)}function Sp(t){const i=t(xp,wp),f=i.domain;let s=10,l,h;function n(){var n,e;return l=(e=s)===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e),h=10===(n=s)?Tp:n===Math.E?Math.exp:t=>Math.pow(n,t),f()[0]<0?(l=Ep(l),h=Ep(h),t(Mp,Ap)):t(xp,wp),i}return i.base=function(t){return arguments.length?(s=+t,n()):s},i.domain=function(t){return arguments.length?(f(t),n()):f()},i.ticks=t=>{var n=f();let e=n[0],r=n[n.length-1];n=rr)break;c.push(u)}}else for(;i<=o;++i)for(a=s-1;1<=a;--a)if(u=0r)break;c.push(u)}2*c.length{if(null==t&&(t=10),"function"!=typeof(e=null==e?10===s?"s":",":e)&&(s%1||null!=(e=nc(e)).precision||(e.trim=!0),e=u.format(e)),t===1/0)return e;const r=Math.max(1,s*t/i.ticks().length);return t=>{let n=t/h(Math.round(l(t)));return n*sf(mp(f(),{floor:t=>h(Math.floor(l(t))),ceil:t=>h(Math.ceil(l(t)))})),i}function kp(n){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/n))}}function Np(n){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*n}}function Cp(n){var e=1,t=n(kp(e),Np(e));return t.constant=function(t){return arguments.length?n(kp(e=+t),Np(e)):e},bp(t)}function Pp(n){return function(t){return t<0?-Math.pow(-t,n):Math.pow(t,n)}}function zp(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Dp(t){return t<0?-t*t:t*t}function Rp(n){var t=n(lp,lp),e=1;return t.exponent=function(t){return arguments.length?1===(e=+t)?n(lp,lp):.5===e?n(zp,Dp):n(Pp(e),Pp(1/e)):e},bp(t)}function Fp(){var t=Rp(yp());return t.copy=function(){return gp(t,Fp()).exponent(t.exponent())},ip.apply(t,arguments),t}function qp(t){return Math.sign(t)*t*t}var Ip=new Date,Op=new Date;function Up(o,a,e,r){function u(t){return o(t=0===arguments.length?new Date:new Date(+t)),t}return u.floor=function(t){return o(t=new Date(+t)),t},u.ceil=function(t){return o(t=new Date(t-1)),a(t,1),o(t),t},u.round=function(t){var n=u(t),e=u.ceil(t);return t-nt.setHours(0,0,0,0),(t,n)=>t.setDate(t.getDate()+n),(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*$p)/Gp,t=>t.getDate()-1),og=ig,ag=ig.range;function ug(n){return Up(function(t){t.setDate(t.getDate()-(t.getDay()+7-n)%7),t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*$p)/Xp})}var cg=ug(0),fg=ug(1),sg=ug(2),lg=ug(3),hg=ug(4),dg=ug(5),pg=ug(6),gg=cg.range,yg=fg.range,vg=sg.range,_g=lg.range,bg=hg.range,mg=dg.range,xg=pg.range,wg=Up(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),Mg=wg,Ag=wg.range,Tg=Up(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Tg.every=function(e){return isFinite(e=Math.floor(e))&&0t).right(c,r);if(i===c.length)return u.every(K(t/Vp,n/Vp,e));if(0===i)return Bp.every(Math.max(K(t,n,e),1));const[o,a]=c[r/c[i-1][2][t.toLowerCase(),n]))}function wy(t,n,e){n=gy.exec(n.slice(e,e+1));return n?(t.w=+n[0],e+n[0].length):-1}function My(t,n,e){n=gy.exec(n.slice(e,e+1));return n?(t.u=+n[0],e+n[0].length):-1}function Ay(t,n,e){n=gy.exec(n.slice(e,e+2));return n?(t.U=+n[0],e+n[0].length):-1}function Ty(t,n,e){n=gy.exec(n.slice(e,e+2));return n?(t.V=+n[0],e+n[0].length):-1}function Ey(t,n,e){n=gy.exec(n.slice(e,e+2));return n?(t.W=+n[0],e+n[0].length):-1}function Sy(t,n,e){n=gy.exec(n.slice(e,e+4));return n?(t.y=+n[0],e+n[0].length):-1}function ky(t,n,e){n=gy.exec(n.slice(e,e+2));return n?(t.y=+n[0]+(68<+n[0]?1900:2e3),e+n[0].length):-1}function Ny(t,n,e){n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),e+n[0].length):-1}function Cy(t,n,e){n=gy.exec(n.slice(e,e+1));return n?(t.q=3*n[0]-3,e+n[0].length):-1}function Py(t,n,e){n=gy.exec(n.slice(e,e+2));return n?(t.m=n[0]-1,e+n[0].length):-1}function zy(t,n,e){n=gy.exec(n.slice(e,e+2));return n?(t.d=+n[0],e+n[0].length):-1}function Dy(t,n,e){n=gy.exec(n.slice(e,e+3));return n?(t.m=0,t.d=+n[0],e+n[0].length):-1}function Ry(t,n,e){n=gy.exec(n.slice(e,e+2));return n?(t.H=+n[0],e+n[0].length):-1}function Fy(t,n,e){n=gy.exec(n.slice(e,e+2));return n?(t.M=+n[0],e+n[0].length):-1}function qy(t,n,e){n=gy.exec(n.slice(e,e+2));return n?(t.S=+n[0],e+n[0].length):-1}function Iy(t,n,e){n=gy.exec(n.slice(e,e+3));return n?(t.L=+n[0],e+n[0].length):-1}function Oy(t,n,e){n=gy.exec(n.slice(e,e+6));return n?(t.L=Math.floor(n[0]/1e3),e+n[0].length):-1}function Uy(t,n,e){n=yy.exec(n.slice(e,e+1));return n?e+n[0].length:-1}function Ly(t,n,e){n=gy.exec(n.slice(e));return n?(t.Q=+n[0],e+n[0].length):-1}function By(t,n,e){n=gy.exec(n.slice(e));return n?(t.s=+n[0],e+n[0].length):-1}function jy(t,n){return _y(t.getDate(),n,2)}function Yy(t,n){return _y(t.getHours(),n,2)}function $y(t,n){return _y(t.getHours()%12||12,n,2)}function Hy(t,n){return _y(1+og.count(Eg(t),t),n,3)}function Gy(t,n){return _y(t.getMilliseconds(),n,3)}function Xy(t,n){return Gy(t,n)+"000"}function Vy(t,n){return _y(t.getMonth()+1,n,2)}function Wy(t,n){return _y(t.getMinutes(),n,2)}function Zy(t,n){return _y(t.getSeconds(),n,2)}function Ky(t){t=t.getDay();return 0===t?7:t}function Qy(t,n){return _y(cg.count(Eg(t)-1,t),n,2)}function Jy(t){var n=t.getDay();return 4<=n||0===n?hg(t):hg.ceil(t)}function tv(t,n){return t=Jy(t),_y(hg.count(Eg(t),t)+(4===Eg(t).getDay()),n,2)}function nv(t){return t.getDay()}function ev(t,n){return _y(fg.count(Eg(t)-1,t),n,2)}function rv(t,n){return _y(t.getFullYear()%100,n,2)}function iv(t,n){return _y((t=Jy(t)).getFullYear()%100,n,2)}function ov(t,n){return _y(t.getFullYear()%1e4,n,4)}function av(t,n){var e=t.getDay();return _y((t=4<=e||0===e?hg(t):hg.ceil(t)).getFullYear()%1e4,n,4)}function uv(t){t=t.getTimezoneOffset();return(0sr(t[t.length-1]),n_=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Yv),e_=t_(n_),r_=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Yv),i_=t_(r_),o_=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Yv),a_=t_(o_),u_=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Yv),c_=t_(u_),f_=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Yv),s_=t_(f_),l_=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Yv),h_=t_(l_),d_=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Yv),p_=t_(d_),g_=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Yv),y_=t_(g_),v_=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Yv),__=t_(v_),b_=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Yv),m_=t_(b_),x_=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Yv),w_=t_(x_),M_=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Yv),A_=t_(M_),T_=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Yv),E_=t_(T_),S_=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Yv),k_=t_(S_),N_=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Yv),C_=t_(N_),P_=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Yv),z_=t_(P_),D_=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Yv),R_=t_(D_),F_=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Yv),q_=t_(F_),I_=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Yv),O_=t_(I_),U_=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Yv),L_=t_(U_),B_=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Yv),j_=t_(B_),Y_=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Yv),$_=t_(Y_),H_=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Yv),G_=t_(H_),X_=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Yv),V_=t_(X_),W_=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Yv),Z_=t_(W_),K_=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Yv),Q_=t_(K_),J_=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Yv),tb=t_(J_);var nb=Lr(Qe(300,.5,0),Qe(-240,.5,1)),eb=Lr(Qe(-100,.75,.35),Qe(80,1.5,.8)),e=Lr(Qe(260,.75,.35),Qe(80,1.5,.8)),rb=Qe();var ib=le(),ob=Math.PI/3,ab=2*Math.PI/3;function ub(n){var e=n.length;return function(t){return n[Math.max(0,Math.min(e-1,Math.floor(t*e)))]}}Vn=ub(Yv("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Zn=ub(Yv("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Wn=ub(Yv("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Di=ub(Yv("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function cb(t){return function(){return t}}const fb=Math.abs,sb=Math.atan2,lb=Math.cos,hb=Math.max,db=Math.min,pb=Math.sin,gb=Math.sqrt,yb=1e-12,vb=Math.PI,_b=vb/2,bb=2*vb;function mb(t){return 1<=t?_b:t<=-1?-_b:Math.asin(t)}function xb(t){return t.innerRadius}function wb(t){return t.outerRadius}function Mb(t){return t.startAngle}function Ab(t){return t.endAngle}function Tb(t){return t&&t.padAngle}function Eb(t,n,e,r,i,o,a){var u=t-e,c=n-r,f=(a?o:-o)/gb(u*u+c*c),s=f*c,l=-f*u,h=t+s,d=n+l,a=e+s,c=r+l,f=(h+a)/2,u=(d+c)/2,t=a-h,n=c-d,e=t*t+n*n,r=i-o,o=h*c-a*d,h=(n<0?-1:1)*gb(hb(0,r*r*e-o*o)),c=(o*n-t*h)/e,a=(-o*t-n*h)/e,d=(o*n+t*h)/e,n=(-o*t+n*h)/e,h=c-f,e=a-u,f=d-f,u=n-u;return f*f+u*uyb&&(r=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,i=3*t._l01_a*(t._l01_a+t._l12_a),o=(o*r-t._x0*t._l12_2a+t._x2*t._l01_2a)/i,a=(a*r-t._y0*t._l12_2a+t._y2*t._l01_2a)/i),t._l23_a>yb&&(r=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,i=3*t._l23_a*(t._l23_a+t._l12_a),u=(u*r+t._x1*t._l23_2a-n*t._l12_2a)/i,c=(c*r+t._y1*t._l23_2a-e*t._l12_2a)/i),t._context.bezierCurveTo(o,a,u,c,t._x2,t._y2)}function xm(t,n){this._context=t,this._alpha=n}xm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e,r;switch(t=+t,n=+n,this._point&&(e=this._x2-t,r=this._y2-n,this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))),this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:mm(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};zv=function n(e){function t(t){return e?new xm(t,e):new vm(t,0)}return t.alpha=function(t){return n(+t)},t}(.5);function wm(t,n){this._context=t,this._alpha=n}wm.prototype={areaStart:sm,areaEnd:sm,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){var e,r;switch(t=+t,n=+n,this._point&&(e=this._x2-t,r=this._y2-n,this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))),this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:mm(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};t_=function n(e){function t(t){return e?new wm(t,e):new _m(t,0)}return t.alpha=function(t){return n(+t)},t}(.5);function Mm(t,n){this._context=t,this._alpha=n}Mm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e,r;switch(t=+t,n=+n,this._point&&(e=this._x2-t,r=this._y2-n,this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))),this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:mm(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};Ud=function n(e){function t(t){return e?new Mm(t,e):new bm(t,0)}return t.alpha=function(t){return n(+t)},t}(.5);function Am(t){this._context=t}function Tm(t){return t<0?-1:1}function Em(t,n,e){var r=t._x1-t._x0,i=n-t._x1,n=(t._y1-t._y0)/(r||i<0&&-0),t=(e-t._y1)/(i||r<0&&-0),i=(n*i+t*r)/(r+i);return(Tm(n)+Tm(t))*Math.min(Math.abs(n),Math.abs(t),.5*Math.abs(i))||0}function Sm(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function km(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function Nm(t){this._context=t}function Cm(t){this._context=new Pm(t)}function Pm(t){this._context=t}function zm(t){this._context=t}function Dm(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(o[i[0]=0]=2,a[0]=t[0]+2*t[1],n=1;no&&(o=n,r=e);return r}function Bm(t){var e=t.map(jm);return qm(t).sort(function(t,n){return e[t]-e[n]})}function jm(t){for(var n,e=0,r=-1,i=t.length;++r()=>t;function $m(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function Hm(t,n,e){this.k=t,this.x=n,this.y=e}Hm.prototype={constructor:Hm,scale:function(t){return 1===t?this:new Hm(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Hm(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Gm=new Hm(1,0,0);function Xm(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Gm;return t.__zoom}function Vm(t){t.stopImmediatePropagation()}function Wm(t){t.preventDefault(),t.stopImmediatePropagation()}function Zm(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function Km(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function Qm(){return this.__zoom||Gm}function Jm(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function tx(){return navigator.maxTouchPoints||"ontouchstart"in this}function nx(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],e=t.invertY(n[1][1])-e[1][1];return t.translate(rn).sort((t,n)=>e[2*t]-e[2*n]||e[2*t+1]-e[2*n+1]);var n=this.collinear[0],r=this.collinear[this.collinear.length-1],r=[e[2*n],e[2*n+1],e[2*r],e[2*r+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let t=0,n=e.length/2;t>1);let f=t,s=Ha(n-c[2*t],2)+Ha(e-c[2*t+1],2);var l=r[t];let h=l;do{var d=u[h],p=Ha(n-c[2*d],2)+Ha(e-c[2*d+1],2);if(pli&&e.name===n)return new Pi([[t]],lo,n,+r);return null},u.arc=function(){var k=xb,N=wb,C=cb(0),P=null,z=Mb,D=Ab,R=Tb,F=null;function n(){var t,n,e,r,i,o,a,u,c,f,s,l,h,d,p,g,y,v,_,b,m,x,w=+k.apply(this,arguments),M=+N.apply(this,arguments),A=z.apply(this,arguments)-_b,T=D.apply(this,arguments)-_b,E=fb(T-A),S=Ayb?E>bb-yb?(F.moveTo(M*lb(A),M*pb(A)),F.arc(0,0,M,A,T,!S),w>yb&&(F.moveTo(w*lb(T),w*pb(T)),F.arc(0,0,w,T,A,S))):(r=n=A,i=e=T,a=o=E,l=(h=R.apply(this,arguments)/2)>yb&&(P?+P.apply(this,arguments):gb(w*w+M*M)),x=m=u=db(fb(M-w)/2,+C.apply(this,arguments)),l>yb&&(d=mb(l/w*pb(h)),_=mb(l/M*pb(h)),(o-=2*d)>yb?(r+=d*=S?1:-1,i-=d):(o=0,r=i=(A+T)/2),(a-=2*_)>yb?(n+=_*=S?1:-1,e-=_):(a=0,n=e=(A+T)/2)),s=M*lb(n),l=M*pb(n),h=w*lb(i),d=w*pb(i),u>yb&&(p=M*lb(e),g=M*pb(e),y=w*lb(r),v=w*pb(r),Eyb?x>yb?(c=Eb(y,v,s,l,M,x,S),f=Eb(p,g,h,d,M,x,S),F.moveTo(c.cx+c.x01,c.cy+c.y01),xyb&&o>yb?m>yb?(c=Eb(h,d,p,g,w,-m,S),f=Eb(s,l,y,v,w,-m,S),F.lineTo(c.cx+c.x01,c.cy+c.y01),m>p,v=r+2*g>>p,i=da(20);function o(t){var n=new Float32Array(y*v),e=Math.pow(2,-p),r=-1;for(const f of t){var i,o,a=(s(f,++r,t)+g)*e,u=(l(f,r,t)+g)*e,c=+h(f,r,t);0<=a&&at*n))(t).map((t,n)=>(t.value=+e[n],a(t)))}function a(t){return t.coordinates.forEach(u),t}function u(t){t.forEach(c)}function c(t){t.forEach(f)}function f(t){t[0]=t[0]*Math.pow(2,p)-g,t[1]=t[1]*Math.pow(2,p)-g}function _(){return y=e+2*(g=3*d)>>p,v=r+2*g>>p,n}return n.contours=function(t){var e=o(t),r=va().size([y,v]),i=Math.pow(2,2*p),t=t=>{var n=a(r.contour(e,(t=+t)*i));return n.value=t,n};return Object.defineProperty(t,"max",{get:()=>nt(e)/i}),t},n.x=function(t){return arguments.length?(s="function"==typeof t?t:da(+t),n):s},n.y=function(t){return arguments.length?(l="function"==typeof t?t:da(+t),n):l},n.weight=function(t){return arguments.length?(h="function"==typeof t?t:da(+t),n):h},n.size=function(t){if(!arguments.length)return[e,r];var n=+t[0],t=+t[1];if(!(0<=n&&0<=t))throw new Error("invalid size");return e=n,r=t,_()},n.cellSize=function(t){if(!arguments.length)return 1<n(...t));const i=(e=e.map(x)).map(v);var o=e.length-1;const a=new Array(1+o).fill(0),u=[];if(o<0||i.some(m))return u;for(;;){u.push(a.map((t,n)=>e[n][t]));let t=o;for(;++a[t]===i[t];){if(0===t)return r?u.map(r):u;a[t--]=0}}},u.csv=Au,u.csvFormat=ou,u.csvFormatBody=au,u.csvFormatRow=cu,u.csvFormatRows=uu,u.csvFormatValue=fu,u.csvParse=ru,u.csvParseRows=iu,u.cubehelix=Qe,u.cumsum=function(n,e){var r=0,i=0;return Float64Array.from(n,void 0===e?t=>r+=+t||0:t=>r+=+e(t,i++,n)||0)},u.curveBasis=function(t){return new hm(t)},u.curveBasisClosed=function(t){return new dm(t)},u.curveBasisOpen=function(t){return new pm(t)},u.curveBumpX=Gb,u.curveBumpY=Xb,u.curveBundle=Pg,u.curveCardinal=Rg,u.curveCardinalClosed=Qg,u.curveCardinalOpen=ny,u.curveCatmullRom=zv,u.curveCatmullRomClosed=t_,u.curveCatmullRomOpen=Ud,u.curveLinear=Cb,u.curveLinearClosed=function(t){return new Am(t)},u.curveMonotoneX=function(t){return new Nm(t)},u.curveMonotoneY=function(t){return new Cm(t)},u.curveNatural=function(t){return new zm(t)},u.curveStep=function(t){return new Rm(t,.5)},u.curveStepAfter=function(t){return new Rm(t,1)},u.curveStepBefore=function(t){return new Rm(t,0)},u.descending=t,u.deviation=M,u.difference=function(t,...n){t=new E(t);for(const e of n)for(const r of e)t.delete(r);return t},u.disjoint=function(t,n){const e=n[Symbol.iterator](),r=new E;for(const a of t){if(r.has(a))return!1;for(var i,o;({value:i,done:o}=e.next())&&!o;){if(Object.is(a,i))return!1;r.add(i)}}return!0},u.dispatch=Rt,u.drag=function(){var r,i,o,a,u=Ln,c=Bn,e=jn,n=Yn,g={},y=Rt("start","drag","end"),v=0,f=0;function _(t){t.on("mousedown.drag",s).filter(n).on("touchstart.drag",d).on("touchmove.drag",p,zn).on("touchend.drag touchcancel.drag",b).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function s(t,n){a||!u.call(this,t,n)||(n=m(this,c.call(this,t,n),t,n,"mouse"))&&(En(t.view).on("mousemove.drag",l,Dn).on("mouseup.drag",h,Dn),qn(t.view),Rn(t),o=!1,r=t.clientX,i=t.clientY,n("start",t))}function l(t){var n,e;Fn(t),o||(n=t.clientX-r,e=t.clientY-i,o=f+t,u.easePoly=Oi,u.easePolyIn=qi,u.easePolyInOut=Oi,u.easePolyOut=Ii,u.easeQuad=Ri,u.easeQuadIn=function(t){return t*t},u.easeQuadInOut=Ri,u.easeQuadOut=function(t){return t*(2-t)},u.easeSin=Bi,u.easeSinIn=function(t){return 1==+t?1:1-Math.cos(t*Li)},u.easeSinInOut=Bi,u.easeSinOut=function(t){return Math.sin(t*Li)},u.every=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(!n(r,++e,t))return!1;return!0},u.extent=A,u.fcumsum=function(n,e){const r=new S;let i=-1;return Float64Array.from(n,void 0===e?t=>r.add(+t||0):t=>r.add(+e(t,++i,n)||0))},u.filter=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");const e=[];let r=-1;for(const i of t)n(i,++r,t)&&e.push(i);return e},u.flatGroup=function(t,...n){return F(R(t,...n),n)},u.flatRollup=function(t,n,...e){return F(I(t,n,...e),e)},u.forceCenter=function(o,a){var u,c=1;function n(){for(var t,n=u.length,e=0,r=0,i=0;iu.index&&((i=(r=c-o.x-o.vx)*r+(e=f-o.y-o.vy)*e)t.r&&(t.r=t[n].r)}function e(){if(o){var t,n,e=o.length;for(a=new Array(e),t=0;t[u(t,n,o),t])),i=0;for(a=new Array(n);i(t=(Hu*t+Gu)%Xu)/Xu}();function i(){h(),e.call("tick",o),aGf(r[0],r[1])&&(r[1]=i[1]),Gf(i[0],r[1])>Gf(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(u=Gf(r[1],i[0]))>a&&(a=u,Zc=i[0],Qc=r[1])}return af=uf=null,Zc===1/0||Kc===1/0?[[NaN,NaN],[NaN,NaN]]:[[Zc,Kc],[Qc,Jc]]},u.geoCentroid=function(t){wf=Mf=Af=Tf=Ef=Sf=kf=Nf=0,Cf=new S,Pf=new S,zf=new S,$c(t,Wf);var n=+Cf,e=+Pf,r=+zf;return(t=kc(n,e,r))c(n,r)||c(t,e)):B(D(t,n),([t,n],[e,r])=>i(n,r)||c(t,e))).map(([t])=>t)},u.groups=R,u.hcl=je,u.hierarchy=$h,u.histogram=tt,u.hsl=me,u.html=Nu,u.image=function(i,o){return new Promise(function(t,n){var e,r=new Image;for(e in o)r[e]=o[e];r.onerror=n,r.onload=function(){t(r)},r.src=i})},u.index=function(t,...n){return U(t,z,O,n)},u.indexes=function(t,...n){return U(t,Array.from,O,n)},u.interpolate=xr,u.interpolateArray=function(t,n){return(dr(n)?hr:pr)(t,n)},u.interpolateBasis=nr,u.interpolateBasisClosed=er,u.interpolateBlues=$_,u.interpolateBrBG=e_,u.interpolateBuGn=m_,u.interpolateBuPu=w_,u.interpolateCividis=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},u.interpolateCool=e,u.interpolateCubehelix=Ur,u.interpolateCubehelixDefault=nb,u.interpolateCubehelixLong=Lr,u.interpolateDate=gr,u.interpolateDiscrete=function(n){var e=n.length;return function(t){return n[Math.max(0,Math.min(e-1,Math.floor(t*e)))]}},u.interpolateGnBu=A_,u.interpolateGreens=G_,u.interpolateGreys=V_,u.interpolateHcl=qr,u.interpolateHclLong=Ir,u.interpolateHsl=Dr,u.interpolateHslLong=Rr,u.interpolateHue=function(t,n){var e=or(+t,+n);return function(t){t=e(t);return t-360*Math.floor(t/360)}},u.interpolateInferno=Wn,u.interpolateLab=function(n,t){var e=ur((n=Fe(n)).l,(t=Fe(t)).l),r=ur(n.a,t.a),i=ur(n.b,t.b),o=ur(n.opacity,t.opacity);return function(t){return n.l=e(t),n.a=r(t),n.b=i(t),n.opacity=o(t),n+""}},u.interpolateMagma=Zn,u.interpolateNumber=yr,u.interpolateNumberArray=hr,u.interpolateObject=vr,u.interpolateOrRd=E_,u.interpolateOranges=tb,u.interpolatePRGn=i_,u.interpolatePiYG=a_,u.interpolatePlasma=Di,u.interpolatePuBu=C_,u.interpolatePuBuGn=k_,u.interpolatePuOr=c_,u.interpolatePuRd=z_,u.interpolatePurples=Z_,u.interpolateRainbow=function(t){(t<0||1r(t,n,e))},u.matcher=Gt,u.max=nt,u.maxIndex=et,u.mean=function(n,e){let r=0,i=0;if(void 0===e)for(var t of n)null!=t&&(t=+t)>=t&&(++r,i+=t);else{let t=-1;for(var o of n)null!=(o=e(o,++t,n))&&(o=+o)>=o&&(++r,i+=o)}if(r)return i/r},u.median=function(t,n){return ct(t,.5,n)},u.medianIndex=function(t,n){return st(t,.5,n)},u.merge=lt,u.min=rt,u.minIndex=it,u.mode=function(n,e){const r=new T;if(void 0===e)for(var t of n)null!=t&&t>=t&&r.set(t,(r.get(t)||0)+1);else{let t=-1;for(var i of n)null!=(i=e(i,++t,n))&&i>=i&&r.set(i,(r.get(i)||0)+1)}let o,a=0;for(var[u,c]of r)c>a&&(a=c,o=u);return o},u.namespace=Ut,u.namespaces=Ot,u.nice=Q,u.now=Jr,u.pack=function(){var e=null,r=1,i=1,o=Qh;function n(t){var n=rd();return t.x=r/2,t.y=i/2,e?t.eachBefore(yd(e)).eachAfter(vd(o,.5,n)).eachBefore(_d(1)):t.eachBefore(yd(gd)).eachAfter(vd(Qh,1,n)).eachAfter(vd(o,t.r/Math.min(r,i),n)).eachBefore(_d(Math.min(r,i)/(2*t.r))),t}return n.radius=function(t){return arguments.length?(e=Zh(t),n):e},n.size=function(t){return arguments.length?(r=+t[0],i=+t[1],n):[r,i]},n.padding=function(t){return arguments.length?(o="function"==typeof t?t:Jh(+t),n):o},n},u.packEnclose=function(t){return id(t,rd())},u.packSiblings=function(t){return pd(t,rd()),t},u.pairs=function(t,n=function(t,n){return[t,n]}){const e=[];let r,i=!1;for(const o of t)i&&e.push(n(r,o)),r=o,i=!0;return e},u.partition=function(){var e=1,r=1,u=0,i=!1;function n(t){var o,a,n=t.height+1;return t.x0=t.y0=u,t.x1=e,t.y1=r/n,t.eachBefore((o=r,a=n,function(t){t.children&&md(t,t.x0,o*(t.depth+1)/a,t.x1,o*(t.depth+2)/a);var n=t.x0,e=t.y0,r=t.x1-u,i=t.y1-u;rPn(t,n))},u.polygonArea=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++e(n=1664525*n+1013904223|0,rp*(n>>>0))},u.randomLogNormal=Yd,u.randomLogistic=np,u.randomNormal=jd,u.randomPareto=Xd,u.randomPoisson=ep,u.randomUniform=Ld,u.randomWeibull=Jd,u.range=ht,u.rank=function(t,e=c){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");let r=Array.from(t);const i=new Float64Array(r.length);2!==e.length&&(r=r.map(e),e=c);const o=(t,n)=>e(r[t],r[n]);let a,u;return Uint32Array.from(r,(t,n)=>n).sort(e===c?(t,n)=>Y(r[t],r[n]):j(o)).forEach((t,n)=>{var e=o(t,void 0===a?t:a);0<=e?((void 0===a||0gp(n,t()).base(n.base()),ip.apply(n,arguments),n},u.scaleOrdinal=up,u.scalePoint=function(){return function t(n){var e=n.copy;return n.padding=n.paddingOuter,delete n.paddingInner,delete n.paddingOuter,n.copy=function(){return t(e())},n}(cp.apply(null,arguments).paddingInner(1))},u.scalePow=Fp,u.scaleQuantile=function t(){var n,e=[],r=[],i=[];function o(){var t=0,n=Math.max(1,r.length);for(i=new Array(n-1);++te(n/(r.length-1)))},i.quantiles=function(e){return Array.from({length:e+1},(t,n)=>ct(r,n/e))},i.copy=function(){return t(e).domain(r)},op.apply(i,arguments)},u.scaleSequentialSqrt=function(){return Lv.apply(null,arguments).exponent(.5)},u.scaleSequentialSymlog=function t(){var n=Cp(Ov());return n.copy=function(){return Uv(n,t()).constant(n.constant())},op.apply(n,arguments)},u.scaleSqrt=function(){return Fp.apply(null,arguments).exponent(.5)},u.scaleSymlog=function t(){var n=Cp(yp());return n.copy=function(){return gp(n,t()).constant(n.constant())},ip.apply(n,arguments)},u.scaleThreshold=function t(){var n,e=[.5],r=[0,1],i=1;function o(t){return null!=t&&t<=t?r[_(e,t,0,i)]:n}return o.domain=function(t){return arguments.length?(e=Array.from(t),i=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(t){return arguments.length?(r=Array.from(t),i=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(t){return t=r.indexOf(t),[e[t-1],e[t]]},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return t().domain(e).range(r).unknown(n)},ip.apply(o,arguments)},u.scaleTime=function(){return ip.apply(Iv(uy,cy,Eg,Mg,cg,og,eg,Jp,Zp,u.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},u.scaleUtc=function(){return ip.apply(Iv(oy,ay,ey,Jg,Og,Fg,zg,Ng,Zp,u.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},u.scan=function(t,n){return(n=dt(t,n))<0?void 0:n},u.schemeAccent=Hv,u.schemeBlues=Y_,u.schemeBrBG=n_,u.schemeBuGn=b_,u.schemeBuPu=x_,u.schemeCategory10=$v,u.schemeDark2=Gv,u.schemeGnBu=M_,u.schemeGreens=H_,u.schemeGreys=X_,u.schemeOrRd=T_,u.schemeOranges=J_,u.schemePRGn=r_,u.schemePaired=Xv,u.schemePastel1=Vv,u.schemePastel2=Wv,u.schemePiYG=o_,u.schemePuBu=N_,u.schemePuBuGn=S_,u.schemePuOr=u_,u.schemePuRd=P_,u.schemePurples=W_,u.schemeRdBu=f_,u.schemeRdGy=l_,u.schemeRdPu=D_,u.schemeRdYlBu=d_,u.schemeRdYlGn=g_,u.schemeReds=K_,u.schemeSet1=Zv,u.schemeSet2=Kv,u.schemeSet3=Qv,u.schemeSpectral=v_,u.schemeTableau10=Jv,u.schemeYlGn=I_,u.schemeYlGnBu=F_,u.schemeYlOrBr=U_,u.schemeYlOrRd=B_,u.select=En,u.selectAll=function(t){return"string"==typeof t?new An([document.querySelectorAll(t)],[document.documentElement]):new An([Yt(t)],Mn)},u.selection=Tn,u.selector=jt,u.selectorAll=Ht,u.shuffle=pt,u.shuffler=gt,u.some=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(n(r,++e,t))return!0;return!1},u.sort=B,u.stack=function(){var u=cb([]),c=qm,f=Fm,s=Im;function n(t){var n,e,r=Array.from(u.apply(this,arguments),Om),i=r.length,o=-1;for(const a of t)for(n=0,++o;nfunction(t){var n=(t=`${t}`).length;Sd(t,n-1)&&!Sd(t,n-2)&&(t=t.slice(0,-1));return"/"===t[0]?t:`/${t}`}(y(t,n,e))),p=d.map(Ed),g=new Set(d).add("");for(const r of p)g.has(r)||(g.add(r),d.push(r),p.push(Ed(r)),f.push(Md));s=(t,n)=>d[n],l=(t,n)=>p[n]}for(r=0,n=f.length;re.x&&(e=t),t.depth>r.depth&&(r=t)}),u=n===e?1:h(n,e)/2,i=u-n.x,o=c/(e.x+u+i),a=f/(r.depth||1),t.eachBefore(function(t){t.x=(t.x+i)*o,t.y=t.depth*a})),t}function l(t){var n=t.children,e=t.parent.children,r=t.i?e[t.i-1]:null;n?(function(t){for(var n,e=0,r=0,i=t.children,o=i.length;0<=--o;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(t),n=(n[0].z+n[n.length-1].z)/2,r?(t.z=r.z+h(t._,r._),t.m=t.z-n):t.z=n):r&&(t.z=r.z+h(t._,r._)),t.parent.A=function(t,n,e){if(n){for(var r,i=t,o=t,a=n,u=i.parent.children[0],c=i.m,f=o.m,s=a.m,l=u.m;a=Cd(a),i=Nd(i),a&&i;)u=Nd(u),(o=Cd(o)).a=t,0<(r=a.z+s-i.z-c+h(a._,i._))&&(function(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}(function(t,n,e){return t.a.parent===n.parent?t.a:e}(a,t,e),t,r),c+=r,f+=r),s+=a.m,c+=i.m,l+=u.m,f+=o.m;a&&!Cd(o)&&(o.t=a,o.m+=s-f),i&&!Nd(u)&&(u.t=i,u.m+=c-l,e=t)}return e}(t,r,t.parent.A||e[0])}function d(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function p(t){t.x*=c,t.y=t.depth*f}return n.separation=function(t){return arguments.length?(h=t,n):h},n.size=function(t){return arguments.length?(s=!1,c=+t[0],f=+t[1],n):s?null:[c,f]},n.nodeSize=function(t){return arguments.length?(s=!0,c=+t[0],f=+t[1],n):s?[c,f]:null},n},u.treemap=function(){var a=Fd,n=!1,e=1,r=1,u=[0],c=Qh,f=Qh,s=Qh,l=Qh,h=Qh;function i(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(o),u=[0],n&&t.eachBefore(bd),t}function o(t){var n=u[t.depth],e=t.x0+n,r=t.y0+n,i=t.x1-n,o=t.y1-n;i>>1;y[d]u&&(u=t[0]),t[1]c&&(c=t[1])}function r(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(r);break;case"Point":e(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(e)}}for(n in t.arcs.forEach(function(t){for(var n,e=-1,r=t.length;++eu&&(u=n[0]),n[1]c&&(c=n[1])}),t.objects)r(t.objects[n]);return[o,a,u,c]}function o(n,t){return"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map(function(t){return e(n,t)})}:e(n,t)}var h=function(t){if(null==t)return n;var o,a,u=t.scale[0],c=t.scale[1],f=t.translate[0],s=t.translate[1];return function(t,n){n||(o=a=0);var e=2,r=t.length,i=new Array(r);for(i[0]=(o+=t[0])*u+f,i[1]=(a+=t[1])*c+s;ea&&(i=e[0],e[0]=e[o],e[o]=i,a=r);return e})}}function g(t,n){for(var e=0,r=t.length;e>>1;t[i]=i)throw new Error("full hashset");e=c[n=n+1&f]}return c[n]=t,!0},has:function(t){for(var n=o(t)&f,e=c[n],r=0;e!=u;){if(a(e,t))return!0;if(++r>=i)break;e=c[n=n+1&f]}return!1},values:function(){for(var t=[],n=0,e=c.length;n=o)throw new Error("full hashmap");r=f[e=e+1&l]}return f[e]=t,s[e]=n},maybeSet:function(t,n){for(var e=a(t)&l,r=f[e],i=0;r!=c;){if(u(r,t))return s[e];if(++i>=o)throw new Error("full hashmap");r=f[e=e+1&l]}return f[e]=t,s[e]=n},get:function(t,n){for(var e=a(t)&l,r=f[e],i=0;r!=c;){if(u(r,t))return s[e];if(++i>=o)break;r=f[e=e+1&l]}return n},keys:function(){for(var t=[],n=0,e=f.length;n>7^c[2]^c[3])}function m(t){for(var i=t.coordinates,n=t.lines,e=t.rings,r=function(){for(var t=E(1.4*i.length,x,w,Int32Array,-1,Int32Array),n=new Int32Array(i.length),e=0,r=i.length;e>1);n=r}}function F(t,n){return t[1][2]-n[1][2]}function q(t){return[t[0],t[1],0]}function I(t,n){return n-t}var u=Math.PI,O=2*u,U=u/4,L=u/180,B=Math.abs,j=Math.atan2,Y=Math.cos,$=Math.sin;function H(t,n){for(var e=0,r=t.length,i=0,o=(f=t[n?e++:r-1])[0]*L,a=f[1]*L/2+U,u=Y(a),c=$(a);e>1)-1,r=a[e];if(0<=F(t,r))break;a[r._=n]=r,a[t._=n=e]=t}}function i(t,n){for(;;){var e=n+1<<1,r=e-1,i=n,o=a[i];if(r=a&&(o[r++]=[n[0],n[1]]);return o.length=r,o});return{type:"Topology",transform:t.transform,bbox:t.bbox,objects:t.objects,arcs:n}},t.sphericalRingArea=function(t,n){return t=H(t,!0),n&&(t*=-1),2*(t<0?O+t:t)},t.sphericalTriangleArea=function(t){return 2*B(H(t,!1))},Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file +!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).d3=t.d3||{})}(this,function(u){"use strict";function c(t,n){return null==t||null==n?NaN:t>>1;o(t[i],n)<0?e=1+i:r=i}while(ec(e(t),n),(t,n)=>e(t)-n):(i=e===c||e===t?e:n,o=e),{left:u,center:function(t,n,e=0,r=t.length){r=u(t,n,e,r-1);return e-a(t[r],n)?r-1:r},right:function(t,n,e=0,r=t.length){if(e>>1;o(t[i],n)<=0?e=1+i:r=i}while(e{o(t,n,e<<=2,r<<=2,i<<=2),o(t,n,e+1,r+1,i),o(t,n,e+2,r+2,i),o(t,n,e+3,r+3,i)}});function l(c){return function(t,n,e=n){if(!(0<=(n=+n)))throw new RangeError("invalid rx");if(!(0<=(e=+e)))throw new RangeError("invalid ry");let{data:r,width:i,height:o}=t;if(!(0<=(i=Math.floor(i))))throw new RangeError("invalid width");if(!(0<=(o=Math.floor(void 0!==o?o:r.length/i))))throw new RangeError("invalid height");if(!i||!o||!n&&!e)return t;var a=n&&c(n),u=e&&c(e),e=r.slice();return a&&u?(h(a,e,r,i,o),h(a,r,e,i,o),h(a,e,r,i,o),d(u,r,e,i,o),d(u,e,r,i,o),d(u,r,e,i,o)):a?(h(a,r,e,i,o),h(a,e,r,i,o),h(a,r,e,i,o)):u&&(d(u,r,e,i,o),d(u,e,r,i,o),d(u,r,e,i,o)),t}}function h(e,r,i,o,a){for(let t=0,n=o*a;t{if((a-=u)>=o){let e=t*i[o];var c=u*t;for(let t=o,n=o+c;t{if((a-=u)>=o){let e=n*i[o];var c=u*n,f=c+u;for(let t=o,n=o+c;t=t&&++r;else{let t=-1;for(var i of n)null!=(i=e(i,++t,n))&&(i=+i)>=i&&++r}return r}function y(t){return 0|t.length}function v(t){return!(0=t&&(r=t-o,o+=r/++i,a+=r*(t-o));else{let t=-1;for(var u of n)null!=(u=e(u,++t,n))&&(u=+u)>=u&&(r=u-o,o+=r/++i,a+=r*(u-o))}if(1=e&&(r=i=e):(r>e&&(r=e),i=o&&(r=i=o):(r>o&&(r=o),ie.pop().map(([t,n])=>[...e,t,n]));return e}function R(t,n,...e){return I(t,P,n,e)}function F(t,n,...e){return I(t,Array.from,n,e)}function q(t){if(1!==t.length)throw new Error("duplicate key");return t[0]}function I(t,a,u,c){return function t(n,e){if(e>=c.length)return u(n);const r=new A,i=c[e++];let o=-1;for(const t of n){const a=i(t,++o,n),u=r.get(a);u?u.push(t):r.set(a,[t])}for(const[a,u]of r)r.set(a,t(u,e));return a(r)}(t,0)}function U(n,t){return Array.from(t,t=>n[t])}function O(n,...r){if("function"!=typeof n[Symbol.iterator])throw new TypeError("values is not iterable");n=Array.from(n);let[e]=r;if(e&&2!==e.length||1n);return 1n.map(t)),t.sort((t,n)=>{for(const e of r){const r=B(e[t],e[n]);if(r)return r}})):(e=n.map(e),t.sort((t,n)=>B(e[t],e[n]))),U(n,t)}return n.sort(L(e))}function L(r=c){if(r===c)return B;if("function"!=typeof r)throw new TypeError("compare is not a function");return(t,n)=>{var e=r(t,n);return e||0===e?e:(0===r(n,n))-(0===r(t,t))}}function B(t,n){return(null==t||!(t<=t))-(null==n||!(n<=n))||(tt}const H=Math.sqrt(50),G=Math.sqrt(10),X=Math.sqrt(2);function V(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log10(r)),r=r/Math.pow(10,i),r=r>=H?10:r>=G?5:r>=X?2:1;let o,a,u;return i<0?(u=Math.pow(10,-i)/r,o=Math.round(t*u),a=Math.round(n*u),o/un&&--a,u=-u):(u=Math.pow(10,i)*r,o=Math.round(t/u),a=Math.round(n/u),o*un&&--a),a=c)if(g>=c&&y===M){const g=Z(u,c,v);isFinite(g)&&(0c;)--h;(l||h=e)&&(r=e);else{let t=-1;for(var i of n)null!=(i=e(i,++t,n))&&(r=i)&&(r=i)}return r}function et(t,n){let e,r=-1,i=-1;if(void 0===n)for(const n of t)++i,null!=n&&(e=n)&&(e=n,r=i);else for(var o of t)null!=(o=n(o,++i,t))&&(e=o)&&(e=o,r=i);return r}function rt(n,e){let r;if(void 0===e)for(const e of n)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let t=-1;for(var i of n)null!=(i=e(i,++t,n))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function it(t,n){let e,r=-1,i=-1;if(void 0===n)for(const n of t)++i,null!=n&&(e>n||void 0===e&&n>=n)&&(e=n,r=i);else for(var o of t)null!=(o=n(o,++i,t))&&(e>o||void 0===e&&o>=o)&&(e=o,r=i);return r}function ot(e,r,i=0,o=1/0,a){if(r=Math.floor(r),i=Math.floor(Math.max(0,i)),o=Math.floor(Math.min(e.length-1,o)),!(i<=r&&r<=o))return e;for(a=void 0===a?B:L(a);i=t&&(yield t);else{let t=-1;for(var r of n)null!=(r=e(r,++t,n))&&(r=+r)>=r&&(yield r)}}(t,e))).length)&&!isNaN(n=+n)){if(n<=0||r<2)return rt(t);if(1<=n)return nt(t);var e=(r-1)*n,r=Math.floor(e),n=nt(ot(t,r).subarray(0,r+1));return n+(rt(t.subarray(r+1))-n)*(e-r)}}function ft(t,n,e=a){if((i=t.length)&&!isNaN(n=+n)){if(n<=0||i<2)return+e(t[0],0,t);if(1<=n)return+e(t[i-1],i-1,t);var r=(i-1)*n,i=Math.floor(r),n=+e(t[i],i,t);return n+(+e(t[i+1],i+1,t)-n)*(r-i)}}function st(e,t,r=a){if(!isNaN(t=+t)){if(i=Float64Array.from(e,(t,n)=>a(r(e[n],n,e))),t<=0)return it(i);if(1<=t)return et(i);var i,n=Uint32Array.from(e,(t,n)=>n),o=i.length-1,t=Math.floor(o*t);return ot(n,t,0,o,(t,n)=>B(i[t],i[n])),0<=(t=ut(n.subarray(0,t+1),t=>i[t]))?t:-1}}function lt(t){return Array.from(function*(t){for(const n of t)yield*n}(t))}function ht(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r+n(t)}function Tt(n,e){return e=Math.max(0,n.bandwidth()-2*e)/2,n.round()&&(e=Math.round(e)),t=>+n(t)+e}function Et(){return!this.__axis}function St(d,p){var g=[],y=null,v=null,_=6,b=6,m=3,x="undefined"!=typeof window&&1{}};function Nt(){for(var t,n=0,e=arguments.length,r={};n()=>t;function Fn(t,{sourceEvent:n,subject:e,target:r,identifier:i,active:o,x:a,y:u,dx:c,dy:f,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},subject:{value:e,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:u,enumerable:!0,configurable:!0},dx:{value:c,enumerable:!0,configurable:!0},dy:{value:f,enumerable:!0,configurable:!0},_:{value:s}})}function qn(t){return!t.ctrlKey&&!t.button}function In(){return this.parentNode}function Un(t,n){return null==n?{x:t.x,y:t.y}:n}function On(){return navigator.maxTouchPoints||"ontouchstart"in this}function Ln(t,n,e){(t.prototype=n.prototype=e).constructor=t}function Bn(t,n){var e,r=Object.create(t.prototype);for(e in n)r[e]=n[e];return r}function jn(){}Fn.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Yn=1/.7,Hn="\\s*([+-]?\\d+)\\s*",Gn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Xn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Vn=/^#([0-9a-f]{3,8})$/,Wn=new RegExp(`^rgb\\(${Hn},${Hn},${Hn}\\)$`),Zn=new RegExp(`^rgb\\(${Xn},${Xn},${Xn}\\)$`),Kn=new RegExp(`^rgba\\(${Hn},${Hn},${Hn},${Gn}\\)$`),Qn=new RegExp(`^rgba\\(${Xn},${Xn},${Xn},${Gn}\\)$`),Jn=new RegExp(`^hsl\\(${Gn},${Xn},${Xn}\\)$`),te=new RegExp(`^hsla\\(${Gn},${Xn},${Xn},${Gn}\\)$`),ne={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ee(){return this.rgb().formatHex()}function re(){return this.rgb().formatRgb()}function ie(t){var n,e;return t=(t+"").trim().toLowerCase(),(n=Vn.exec(t))?(e=n[1].length,n=parseInt(n[1],16),6===e?oe(n):3===e?new fe(n>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?ae(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?ae(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Wn.exec(t))?new fe(n[1],n[2],n[3],1):(n=Zn.exec(t))?new fe(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Kn.exec(t))?ae(n[1],n[2],n[3],n[4]):(n=Qn.exec(t))?ae(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Jn.exec(t))?ge(n[1],n[2]/100,n[3]/100,1):(n=te.exec(t))?ge(n[1],n[2]/100,n[3]/100,n[4]):ne.hasOwnProperty(t)?oe(ne[t]):"transparent"===t?new fe(NaN,NaN,NaN,0):null}function oe(t){return new fe(t>>16&255,t>>8&255,255&t,1)}function ae(t,n,e,r){return new fe(t=r<=0?n=e=NaN:t,n,e,r)}function ue(t){return(t=!(t instanceof jn)?ie(t):t)?new fe((t=t.rgb()).r,t.g,t.b,t.opacity):new fe}function ce(t,n,e,r){return 1===arguments.length?ue(t):new fe(t,n,e,null==r?1:r)}function fe(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function se(){return`#${pe(this.r)}${pe(this.g)}${pe(this.b)}`}function le(){var t=he(this.opacity);return`${1===t?"rgb(":"rgba("}${de(this.r)}, ${de(this.g)}, ${de(this.b)}${1===t?")":`, ${t})`}`}function he(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function de(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function pe(t){return((t=de(t))<16?"0":"")+t.toString(16)}function ge(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||1<=e?t=n=NaN:n<=0&&(t=NaN),new _e(t,n,e,r)}function ye(t){if(t instanceof _e)return new _e(t.h,t.s,t.l,t.opacity);if(!(t=!(t instanceof jn)?ie(t):t))return new _e;if(t instanceof _e)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,c=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(eCe?Math.pow(t,1/3):t/Ne+Se}function Re(t){return t>ke?t*t*t:Ne*(t-Se)}function Fe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function qe(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Ie(t){if(t instanceof Oe)return new Oe(t.h,t.c,t.l,t.opacity);if(0===(t=!(t instanceof $e)?Pe(t):t).a&&0===t.b)return new Oe(NaN,0()=>t;function nr(n,e){return function(t){return n+t*e}}function er(t,n){var e=n-t;return e?nr(t,180u&&(i=r.slice(u,i),f[c]?f[c]+=i:f[++c]=i),(n=n[0])===(e=e[0])?f[c]?f[c]+=e:f[++c]=e:(f[++c]=null,s.push({i:c,x:dr(n,e)})),u=yr.lastIndex;return ue._time&&(r=e._time),(t=e)._next):(n=e._next,e._next=null,t?t._next=n:Ur=n);Or=t,ri(r)}(),Gr=0}}function ei(){var t=Vr.now(),n=t-Hr;Yr{r.stop(),n(t+e)},e=null==e?0:+e,t),r}Qr.prototype=Jr.prototype={constructor:Qr,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Zr():+e)+(null==n?0:+n),this._next||Or===this||(Or?Or._next=this:Ur=this,Or=this),this._call=t,this._time=e,ri()},stop:function(){this._call&&(this._call=null,this._time=1/0,ri())}};var oi=Nt("start","end","cancel","interrupt"),ai=[],ui=0,ci=1,fi=2,si=3,li=4,hi=5,di=6;function pi(t,n,e,r,i,o){var a,u,c,f,s,l=t.__transition;if(l){if(e in l)return}else t.__transition={};function h(t){var n,e,r,i;if(c.state!==ci)return p();for(n in s)if((i=s[n]).name===c.name){if(i.state===si)return ii(h);i.state===li?(i.state=di,i.timer.stop(),i.on.call("interrupt",a,a.__data__,i.index,i.group),delete s[n]):+nui)throw new Error("too late; already scheduled");return n}function yi(t,n){n=vi(t,n);if(n.state>si)throw new Error("too late; already running");return n}function vi(t,n){t=t.__transition;if(!t||!(t=t[n]))throw new Error("transition not found");return t}function _i(t,n){var e,r,i,o=t.__transition,a=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>fi&&e.state()=>t;function Ji(t,{sourceEvent:n,target:e,selection:r,mode:i,dispatch:o}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},selection:{value:r,enumerable:!0,configurable:!0},mode:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function to(t){t.preventDefault(),t.stopImmediatePropagation()}var no={name:"drag"},eo={name:"space"},ro={name:"handle"},io={name:"center"};const{abs:oo,max:ao,min:uo}=Math;function co(t){return[+t[0],+t[1]]}function fo(t){return[co(t[0]),co(t[1])]}var so={name:"x",handles:["w","e"].map(bo),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},lo={name:"y",handles:["n","s"].map(bo),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},ho={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(bo),input:function(t){return null==t?null:fo(t)},output:function(t){return t}},po={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},go={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},yo={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},vo={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},_o={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function bo(t){return{type:t}}function mo(t){return!t.ctrlKey&&!t.button}function xo(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function wo(){return navigator.maxTouchPoints||"ontouchstart"in this}function Mo(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Ao(R){var F,n=xo,q=mo,e=wo,I=!0,i=Nt("start","brush","end"),r=6;function o(t){var n=t.property("__brush",s).selectAll(".overlay").data([bo("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",po.overlay).merge(n).each(function(){var t=Mo(this).extent;Mn(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),t.selectAll(".selection").data([bo("selection")]).enter().append("rect").attr("class","selection").attr("cursor",po.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");n=t.selectAll(".handle").data(R.handles,function(t){return t.type});n.exit().remove(),n.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return po[t.type]}),t.each(U).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",u).filter(e).on("touchstart.brush",u).on("touchmove.brush",c).on("touchend.brush touchcancel.brush",f).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function U(){var t=Mn(this),n=Mo(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?n[1][0]-r/2:n[0][0]-r/2}).attr("y",function(t){return"s"===t.type[0]?n[1][1]-r/2:n[0][1]-r/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+r:r}).attr("height",function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+r:r})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function O(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new a(t,n,e):r}function a(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function u(t){if((!F||t.touches)&&q.apply(this,arguments)){var i,o,a,u,e,c,f,s=this,l=t.target.__data__.type,h="selection"===(I&&t.metaKey?l="overlay":l)?no:I&&t.altKey?io:ro,d=R===lo?null:vo[l],p=R===so?null:_o[l],g=Mo(s),n=g.extent,y=g.selection,v=n[0][0],_=n[0][1],b=n[1][0],m=n[1][1],x=0,w=0,r=d&&p&&I&&t.shiftKey,M=Array.from(t.touches||[t],t=>{var n=t.identifier;return(t=kn(t,s)).point0=t.slice(),t.identifier=n,t});_i(s);var A=O(s,arguments,!0).beforestart();if("overlay"===l){y&&(e=!0);const F=[M[0],M[1]||M[0]];g.selection=y=[[i=R===lo?v:uo(F[0][0],F[1][0]),o=R===so?_:uo(F[0][1],F[1][1])],[a=R===lo?b:ao(F[0][0],F[1][0]),u=R===so?m:ao(F[0][1],F[1][1])]],1oo(t.cur[1]-t[1])?f=!0:c=!0}for(const t of M)t.cur&&(t[0]=t.cur[0],t[1]=t.cur[1]);e=!0,to(t),$(t)}function $(t){var n,e=M[0],r=e.point0;switch(x=e[0]-r[0],w=e[1]-r[1],h){case eo:case no:d&&(x=ao(v-i,uo(b-a,x)),E=i+x,k=a+x),p&&(w=ao(_-o,uo(m-u,w)),S=o+w,N=u+w);break;case ro:M[1]?(d&&(E=ao(v,uo(b,M[0][0])),k=ao(v,uo(b,M[1][0])),d=1),p&&(S=ao(_,uo(m,M[0][1])),N=ao(_,uo(m,M[1][1])),p=1)):(d<0?(x=ao(v-i,uo(b-i,x)),E=i+x,k=a):0e+n)}function $o(f,s){var l=0,h=null,d=null,n=null;function r(r){var t,i=r.length,o=new Array(i),e=zo(0,i),a=new Array(i*i),u=new Array(i),c=0;r=Float64Array.from({length:i*i},s?(t,n)=>r[n%i][n/i|0]:(t,n)=>r[n/i|0][n%i]);for(let e=0;eh(o[t],o[n]));for(const l of e){const h=n;if(f){const f=zo(1+~i,i).filter(t=>t<0?r[~t*i+l]:r[l*i+t]);d&&f.sort((t,n)=>d(t<0?-r[~t*i+l]:r[l*i+t],n<0?-r[~n*i+l]:r[l*i+n]));for(const h of f)h<0?(a[~h*i+l]||(a[~h*i+l]={source:null,target:null})).target={index:l,startAngle:n,endAngle:n+=r[~h*i+l]*c,value:r[~h*i+l]}:(a[l*i+h]||(a[l*i+h]={source:null,target:null})).source={index:l,startAngle:n,endAngle:n+=r[l*i+h]*c,value:r[l*i+h]};u[l]={index:l,startAngle:h,endAngle:n,value:o[l]}}else{const f=zo(0,i).filter(t=>r[l*i+t]||r[t*i+l]);d&&f.sort((t,n)=>d(r[l*i+t],r[l*i+n]));for(const h of f){let t;if(lFo&&(Math.abs(h*f-s*l)>Fo&&i?(a=f*f+s*s,u=(o=e-u)*o+(e=r-c)*e,r=Math.sqrt(a),c=Math.sqrt(d),c=(u=i*Math.tan((Do-Math.acos((a+d-u)/(2*r*c)))/2))/c,r=u/r,Math.abs(c-1)>Fo&&this._append`L${t+c*l},${n+c*h}`,this._append`A${i},${i},0,0,${+(l*eFo||Math.abs(this._y1-f)>Fo)&&this._append`L${c},${f}`,e&&(l<0&&(l=l%Ro+Ro),l>qo?this._append`A${e},${e},0,1,${s},${t-a},${n-u}A${e},${e},0,1,${s},${this._x1=c},${this._y1=f}`:l>Fo&&this._append`A${e},${e},0,${+(l>=Do)},${s},${this._x1=t+e*Math.cos(i)},${this._y1=n+e*Math.sin(i)}`)}rect(t,n,e,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${e=+e}v${+r}h${-e}Z`}toString(){return this._}};function Oo(){return new Uo}Oo.prototype=Uo.prototype;var Lo=Array.prototype.slice;function Bo(t){return function(){return t}}function jo(t){return t.source}function Yo(t){return t.target}function Ho(t){return t.radius}function Go(t){return t.startAngle}function Xo(t){return t.endAngle}function Vo(){return 0}function Wo(){return 10}function Zo(c){var f=jo,s=Yo,l=Ho,h=Ho,d=Go,p=Xo,g=Vo,y=null;function n(){var t,n=f.apply(this,arguments),e=s.apply(this,arguments),r=g.apply(this,arguments)/2,i=Lo.call(arguments),o=+l.apply(this,(i[0]=n,i)),a=d.apply(this,i)-No,u=p.apply(this,i)-No,n=+h.apply(this,(i[0]=e,i)),e=d.apply(this,i)-No,i=p.apply(this,i)-No;if(y=y||(t=Oo()),1e-122*r+1e-12?a2*r+1e-12?e()=>t;function ta(t,n){for(var e,r=-1,i=n.length;++r=e[1];)t.pop();for(;t[1]i(n,t))}function i(n,t){const e=null==t?NaN:+t;if(isNaN(e))throw new Error(`invalid value: ${t}`);var i=[],r=[];return function(t,n,a){var u,e,r,i,c=new Array,f=new Array,s=u=-1,o=oa(t[0],n);for(ea[o<<1].forEach(l);++s=n,ea[r<<2].forEach(l);++sf==s>-f?(o=f,f=n[++l]):(o=s,s=r[++h]);let d=0;if(lf==s>-f?(a=f+o,u=o-(a-f),f=n[++l]):(a=s+o,u=o-(a-s),s=r[++h]),o=a,0!==u&&(i[d++]=u);lf==s>-f?(a=o+f,c=a-o,u=o-(a-c)+(f-c),f=n[++l]):(a=o+s,c=a-o,u=o-(a-c)+(s-c),s=r[++h]),o=a,0!==u&&(i[d++]=u);for(;l=33306690738754716e-32*u?c:-function(t,n,e,r,i,o,a){var u,c,f,s,l,h,d,p,g=t-i,y=e-i,v=n-o,_=r-o,b=g*_,m=la*g,x=m-(m-g),w=g-x,M=v*y,A=(h=w*(c=_-(u=(m=la*_)-(m-_)))-(b-x*u-w*u-x*c))-(f=h-(d=(w=v-(x=(m=la*v)-(m-v)))*(c=y-(u=(m=la*y)-(m-y)))-(M-x*u-w*u-x*c)));pa[0]=h-(f+A)+(A-d),A=(l=b-((s=b+f)-(A=s-b))+(f-A))-(f=l-M),pa[1]=l-(f+A)+(A-M),A=(p=s+f)-s,pa[2]=s-(p-A)+(f-A),pa[3]=p;let T=function(n){let e=n[0];for(let t=1;t<4;t++)e+=n[t];return e}(pa),E=22204460492503146e-32*a;if(T>=E||-T>=E)return T;if(t=t-(g+(A=t-g))+(A-i),i=e-(y+(A=e-y))+(A-i),n=n-(v+(A=n-v))+(A-o),o=r-(_+(A=r-_))+(A-o),0==t&&0==n&&0==i&&0==o)return T;if(E=11093356479670487e-47*a+33306690738754706e-32*Math.abs(T),T+=g*o+_*t-(v*i+y*n),T>=E||-T>=E)return T;b=t*_,M=n*y,A=(h=(w=t-(x=(m=la*t)-(m-t)))*(c=_-(u=(m=la*_)-(m-_)))-(b-x*u-w*u-x*c))-(f=h-(d=(w=n-(x=(m=la*n)-(m-n)))*(c=y-(u=(m=la*y)-(m-y)))-(M-x*u-w*u-x*c))),_a[0]=h-(f+A)+(A-d),A=(l=b-((s=b+f)-(A=s-b))+(f-A))-(f=l-M),_a[1]=l-(f+A)+(A-M),A=(p=s+f)-s,_a[2]=s-(p-A)+(f-A),_a[3]=p;y=ha(4,pa,4,_a,ga);b=g*o,M=v*i,A=(h=(w=g-(x=(m=la*g)-(m-g)))*(c=o-(u=(m=la*o)-(m-o)))-(b-x*u-w*u-x*c))-(f=h-(d=(w=v-(x=(m=la*v)-(m-v)))*(c=i-(u=(m=la*i)-(m-i)))-(M-x*u-w*u-x*c))),_a[0]=h-(f+A)+(A-d),A=(l=b-((s=b+f)-(A=s-b))+(f-A))-(f=l-M),_a[1]=l-(f+A)+(A-M),A=(p=s+f)-s,_a[2]=s-(p-A)+(f-A),_a[3]=p;y=ha(y,ga,4,_a,ya);b=t*o,M=n*i,A=(h=(w=t-(x=(m=la*t)-(m-t)))*(c=o-(u=(m=la*o)-(m-o)))-(b-x*u-w*u-x*c))-(f=h-(d=(w=n-(x=(m=la*n)-(m-n)))*(c=i-(u=(m=la*i)-(m-i)))-(M-x*u-w*u-x*c))),_a[0]=h-(f+A)+(A-d),A=(l=b-((s=b+f)-(A=s-b))+(f-A))-(f=l-M),_a[1]=l-(f+A)+(A-M),A=(p=s+f)-s,_a[2]=s-(p-A)+(f-A),_a[3]=p;y=ha(y,ya,4,_a,va);return va[y-1]}(t,n,e,r,i,o,u)}const ma=Math.pow(2,-52),xa=new Uint32Array(512);class wa{static from(n,e=function(t){return t[0]},r=function(t){return t[1]}){const i=n.length,o=new Float64Array(2*i);for(let t=0;t>1;if(0>1;let n=1/0,e=1/0,s=-1/0,l=-1/0;for(let t=0;ts&&(s=u),c>l&&(l=c),this._ids[t]=t}const h=(n+s)/2,i=(e+l)/2;let d,p,g,y=1/0;for(let t=0;tn&&(a[e++]=f,n=this._dists[f])}return this.hull=a.subarray(0,e),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(ba(A,T,E,S,t,N)<0){const o=p,a=E,u=S;p=g,E=t,S=N,g=o,t=a,N=u}var C,P,z,$,D,R,F,q,I=(q=A,C=T,P=E,z=S,$=P-q,D=z-C,R=t-q,F=N-C,{x:q+(F*(q=$*$+D*D)-D*(P=R*R+F*F))*(z=.5/($*F-D*R)),y:C+($*P-R*q)*z});this._cx=I.x,this._cy=I.y;for(let t=0;t=i&&r[e[t]]>c;)e[t+1]=e[t--];e[t+1]=o}else{let t=i+1,n=o;Ta(e,i+o>>1,t),r[e[i]]>r[e[o]]&&Ta(e,i,o),r[e[t]]>r[e[o]]&&Ta(e,t,o),r[e[i]]>r[e[t]]&&Ta(e,i,t);for(var a=e[t],u=r[a];;){for(;t++,r[e[t]]u;);if(n=n-i?(Aa(e,r,t,o),Aa(e,r,i,n-1)):(Aa(e,r,i,n-1),Aa(e,r,t,o))}}function Ta(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}class Ea{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,e){var r=(t=+t)+(e=+e),i=n=+n;if(e<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(1e-6=(n=+n)&&(i=+i)>=(e=+e)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=n,this.ymax=i,this.ymin=e,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:o,hull:a,triangles:u},vectors:n}=this;let c,f;const s=this.circumcenters=this._circumcenters.subarray(0,u.length/3*2);for(let t,n,e=0,r=0,i=u.length;e=this.ymax)return null;(i=(this.ymax-n)/r)=this.xmax)return null;(i=(this.xmax-t)/e)this.xmax?2:0)|(nthis.ymax?8:0)}_simplify(n){if(n&&4=i?u=!0:10===(n=r.charCodeAt(o++))?c=!0:13===n&&(c=!0,10===r.charCodeAt(o)&&++o),r.slice(e+1,t-1).replace(/""/g,'"')}for(;oru(t,n).then(t=>(new DOMParser).parseFromString(t,e))}var fu=cu("application/xml"),su=cu("text/html"),lu=cu("image/svg+xml");function hu(t,n,e,r){if(isNaN(n)||isNaN(e))return t;var i,o,a,u,c,f,s,l,h,d=t._root,p={data:r},g=t._x0,y=t._y0,v=t._x1,_=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a,!(d=(i=d)[l=s<<1|f]))return i[l]=p,t;if(u=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===u&&e===c)return p.next=d,i?i[l]=p:t._root=p,t;for(;i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(g+v)/2))?g=o:v=o,(s=e>=(a=(y+_)/2))?y=a:_=a,(l=s<<1|f)==(h=(a<=c)<<1|o<=u););return i[h]=d,i[l]=p,t}function du(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i}function pu(t){return t[0]}function gu(t){return t[1]}function yu(t,n,e){e=new vu(null==n?pu:n,null==e?gu:e,NaN,NaN,NaN,NaN);return null==t?e:e.addAll(t)}function vu(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function _u(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var bu=yu.prototype=vu.prototype;function mu(t){return function(){return t}}function xu(t){return 1e-6*(t()-.5)}function wu(t){return t.x+t.vx}function Mu(t){return t.y+t.vy}function Au(t){return t.index}function Tu(t,n){t=t.get(n);if(!t)throw new Error("node not found: "+n);return t}bu.copy=function(){var t,n,e=new vu(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=_u(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=_u(n));return e},bu.add=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return hu(this.cover(n,e),n,e,t)},bu.addAll=function(t){for(var n,e,r,i=t.length,o=new Array(i),a=new Array(i),u=1/0,c=1/0,f=-1/0,s=-1/0,l=0;ld||(i=f.y0)>p||(o=f.x1)=(f=(d+g)/2))?d=f:g=f,(f=a>=(u=(p+y)/2))?p=u:y=u,!(h=(n=h)[s=f<<1|c]))return this;if(!h.length)break;(n[s+1&3]||n[s+2&3]||n[s+3&3])&&(e=n,l=s)}for(;h.data!==t;)if(!(h=(r=h).next))return this;return(i=h.next)&&delete h.next,r?i?r.next=i:delete r.next:n?(i?n[s]=i:delete n[s],(h=n[0]||n[1]||n[2]||n[3])&&h===(n[3]||n[2]||n[1]||n[0])&&!h.length&&(e?e[l]=h:this._root=h)):this._root=i,this},bu.removeAll=function(t){for(var n=0,e=t.length;n=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Du(t){if(!(n=$u.exec(t)))throw new Error("invalid format: "+t);var n;return new Ru({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function Ru(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function Fu(t,n){n=Cu(t,n);if(!n)return t+"";t=n[0],n=n[1];return n<0?"0."+new Array(-n).join("0")+t:t.length>n+1?t.slice(0,n+1)+"."+t.slice(n+1):t+new Array(n-t.length+2).join("0")}Du.prototype=Ru.prototype,Ru.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var qu={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return 1e21<=Math.abs(t=Math.round(t))?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>Fu(100*t,n),r:Fu,s:function(t,n){var e=Cu(t,n);if(!e)return t+"";var r=e[0],i=e[1],e=i-(zu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,i=r.length;return e===i?r:iMath.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Iu(t){return t}var Uu,Ou=Array.prototype.map,Lu=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Bu(t){var u,c,n,w=void 0===t.grouping||void 0===t.thousands?Iu:(u=Ou.call(t.grouping,Number),c=t.thousands+"",function(t,n){for(var e=t.length,r=[],i=0,o=u[0],a=0;0n));)o=u[i=(i+1)%u.length];return r.reverse().join(c)}),r=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",M=void 0===t.decimal?".":t.decimal+"",A=void 0===t.numerals?Iu:(n=Ou.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return n[+t]})}),o=void 0===t.percent?"%":t.percent+"",T=void 0===t.minus?"−":t.minus+"",E=void 0===t.nan?"NaN":t.nan+"";function a(t){var f=(t=Du(t)).fill,s=t.align,l=t.sign,n=t.symbol,h=t.zero,d=t.width,p=t.comma,g=t.precision,y=t.trim,v=t.type;"n"===v?(p=!0,v="g"):qu[v]||(void 0===g&&(g=12),y=!0,v="g"),(h||"0"===f&&"="===s)&&(h=!0,f="0",s="=");var _="$"===n?r:"#"===n&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",b="$"===n?i:/[%p]/.test(v)?o:"",m=qu[v],x=/[defgprs%]/.test(v);function e(t){var n,e,r,i=_,o=b;if("c"===v)o=m(t)+o,t="";else{var a=(t=+t)<0||1/t<0;if(t=isNaN(t)?E:m(Math.abs(t),g),y&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r>1)+i+t+o+c.slice(u);break;default:t=c+i+t+o}return A(t)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),e.toString=function(){return t+""},e}return{format:a,formatPrefix:function(t,n){var e=a(((t=Du(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(Pu(n)/3))),r=Math.pow(10,-n),i=Lu[8+n/3];return function(t){return e(r*t)+i}}}}function ju(t){return Uu=Bu(t),u.format=Uu.format,u.formatPrefix=Uu.formatPrefix,Uu}function Yu(t){return Math.max(0,-Pu(Math.abs(t)))}function Hu(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Pu(n)/3)))-Pu(Math.abs(t)))}function Gu(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Pu(n)-Pu(t))+1}u.format=void 0,u.formatPrefix=void 0,ju({thousands:",",grouping:[3],currency:["$",""]});var Xu=1e-6,Vu=1e-12,Wu=Math.PI,Zu=Wu/2,Ku=Wu/4,Qu=2*Wu,Ju=180/Wu,tc=Wu/180,nc=Math.abs,ec=Math.atan,rc=Math.atan2,ic=Math.cos,oc=Math.ceil,ac=Math.exp,uc=Math.hypot,cc=Math.log,fc=Math.pow,sc=Math.sin,lc=Math.sign||function(t){return 0zc&&(zc=r):a^(i*$c<(o=(o+360)%360-180)&&oTf(Nc,Pc)&&(Pc=t):Tf(t,Pc)>Tf(Nc,Pc)&&(Nc=t):Nc<=Pc?(tTf(Nc,Pc)&&(Pc=t):Tf(t,Pc)>Tf(Nc,Pc)&&(Nc=t)):Ic.push(Uc=[Nc=t,Pc=t]),nXu&&(Nc=-(Pc=180)),Uc[0]=Nc,Uc[1]=Pc,Fc=null}function Tf(t,n){return(n-=t)<0?n+360:n}function Ef(t,n){return t[0]-n[0]}function Sf(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nWu&&(t-=Math.round(t/Qu)*Qu),[t,n]}function Bf(t,n,e){return(t%=Qu)?n||e?Of(Yf(t),Hf(n,e)):Yf(t):n||e?Hf(n,e):Lf}function jf(e){return function(t,n){return nc(t+=e)>Wu&&(t-=Math.round(t/Qu)*Qu),[t,n]}}function Yf(t){var n=jf(t);return n.invert=jf(-t),n}function Hf(t,n){var i=ic(t),o=sc(t),a=ic(n),u=sc(n);function e(t,n){var e=ic(n),r=ic(t)*e,t=sc(t)*e,e=sc(n),n=e*i+r*o;return[rc(t*a-n*u,r*i-e*o),gc(n*a+t*u)]}return e.invert=function(t,n){var e=ic(n),r=ic(t)*e,t=sc(t)*e,e=sc(n),n=e*a-t*u;return[rc(t*a+e*u,r*i+n*o),gc(n*i-r*o)]},e}function Gf(n){function t(t){return(t=n(t[0]*tc,t[1]*tc))[0]*=Ju,t[1]*=Ju,t}return n=Bf(n[0]*tc,n[1]*tc,2Xu?ec((sc(r)*(c=ic(o))*sc(i)-sc(o)*(i=ic(r))*sc(e))/(i*c*a)):(r+o)/2,f.point(d,h),f.lineEnd(),f.lineStart(),f.point(u,h),s=0),f.point(l=t,h=n),d=u},lineEnd:function(){f.lineEnd(),l=h=NaN},clean:function(){return 2-s}}},function(t,n,e,r){var i;null==t?(r.point(-Wu,i=e*Zu),r.point(0,i),r.point(Wu,i),r.point(Wu,0),r.point(Wu,-i),r.point(0,-i),r.point(-Wu,-i),r.point(-Wu,0),r.point(-Wu,i)):nc(t[0]-n[0])>Xu?(t=t[0]Xu;function g(t,n){return ic(t)*ic(n)>d}function y(t,n,e){var r=[1,0,0],i=Zc(Vc(t),Vc(n)),o=Wc(i,i),a=i[0],u=o-a*a;if(!u)return!e&&t;var c=Zc(r,i),f=Qc(r,d*o/u);Kc(f,Qc(i,-d*a/u));var s=c,l=Wc(f,s),r=Wc(s,s),o=l*l-r*(Wc(f,f)-1);if(!(o<0)){i=hc(o),a=Qc(s,(-l-i)/r);if(Kc(a,f),a=Xc(a),!e)return a;var h,u=t[0],c=n[0],o=t[1],e=n[1];cXu}).map(f)).concat(ht(oc(a/p)*p,o,p).filter(function(t){return nc(t%y)>Xu}).map(s))}return _.lines=function(){return t().map(function(t){return{type:"LineString",coordinates:t}})},_.outline=function(){return{type:"Polygon",coordinates:[l(i).concat(h(u).slice(1),l(r).reverse().slice(1),h(c).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(i=+t[0][0],r=+t[1][0],c=+t[0][1],u=+t[1][1],rt,Is=new S,Us=new S,Os={point:vc,lineStart:vc,lineEnd:vc,polygonStart:function(){Os.lineStart=Ls,Os.lineEnd=Ys},polygonEnd:function(){Os.lineStart=Os.lineEnd=Os.point=vc,Is.add(nc(Us)),Us=new S},result:function(){var t=Is/2;return Is=new S,t}};function Ls(){Os.point=Bs}function Bs(t,n){Os.point=js,$s=Rs=t,Ds=Fs=n}function js(t,n){Us.add(Fs*t-Rs*n),Rs=t,Fs=n}function Ys(){js($s,Ds)}var Hs,Gs,Xs,Vs,Ws=Os,Zs=1/0,Ks=Zs,Qs=-Zs,Js=Qs,tl={point:function(t,n){tXu&&0<--r);return[t/(.8707+(i=e*e)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),e]},mh.invert=rh(gc),xh.invert=rh(function(t){return 2*ec(t)}),wh.invert=function(t,n){return[-n,2*ec(ac(t))-Zu]},zh.prototype=Sh.prototype={constructor:zh,count:function(){return this.eachAfter(Eh)},each:function(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},eachAfter:function(t,n){for(var e,r,i,o=this,a=[o],u=[],c=-1;o=a.pop();)if(u.push(o),e=o.children)for(r=0,i=e.length;r(t=(qh*t+Ih)%Uh)/Uh}function Lh(t,n){for(var e,r,i=0,o=(t=function(t,n){let e,r,i=t.length;for(;i;)r=n()*i--|0,e=t[i],t[i]=t[r],t[r]=e;return t}(Array.from(t),n)).length,a=[];i(a*=a)?(r=(f+a-i)/(2*f),o=Math.sqrt(Math.max(0,a/f-r*r)),e.x=t.x-r*u-o*c,e.y=t.y-r*c+o*u):(r=(f+i-a)/(2*f),o=Math.sqrt(Math.max(0,i/f-r*r)),e.x=n.x+r*u-o*c,e.y=n.y+r*c+o*u)):(e.x=n.x+e.r,e.y=n.y)}function Vh(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,t=n.y-t.y;return 0p){s-=u;break}p=d}v.push(a={value:s,dice:c0:function(){for(var t=0,n=e;11/0:1===t?()=>1:(t=Math.log1p(-t),function(){return 1+Math.floor(Math.log1p(-n())/t)})}return e.source=t,e}(wd),$d=function t(u){var c=Td.source(u)();function n(t,r){if((t=+t)<0)throw new RangeError("invalid k");if(0===t)return()=>0;if(r=null==r?1:+r,1===t)return()=>-Math.log1p(-u())*r;var i=(t<1?t+1:t)-1/3,o=1/(3*Math.sqrt(i)),a=t<1?()=>Math.pow(u(),1/t):()=>1;return function(){do{do{var t=c(),n=1+o*t}while(n<=0);n*=n*n;var e=1-u()}while(1-.0331*t*t*t*t<=e&&Math.log(e)>=.5*t*t+i*(1-n+Math.log(n)));return i*n*a()*r}}return n.source=t,n}(wd),Dd=function t(n){var i=$d.source(n);function e(t,n){var e=i(t),r=i(n);return function(){var t=e();return 0===t?0:t/(t+r())}}return e.source=t,e}(wd),Rd=function t(n){var l=zd.source(n),h=Dd.source(n);function e(f,s){return f=+f,1<=(s=+s)?()=>f:s<=0?()=>0:function(){for(var t=0,n=f,e=s;16-Math.log(t):(n=1/n,t=>Math.pow(t,n));return t=null==t?0:+t,e=null==e?1:+e,function(){return t+e*r(-Math.log1p(-i()))}}return n.source=t,n}(wd),qd=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,function(){return t+n*Math.tan(Math.PI*e())}}return n.source=t,n}(wd),Id=function t(r){function n(n,e){return n=null==n?0:+n,e=null==e?1:+e,function(){var t=r();return n+e*Math.log(t/(1-t))}}return n.source=t,n}(wd),Ud=function t(u){var c=$d.source(u),f=Rd.source(u);function n(a){return function(){for(var t=0,n=a;16-e(-t,n)}function sp(t){const i=t(ip,op),f=i.domain;let s,l,h=10;function n(){return s=(e=h)===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e),l=10===(n=h)?cp:n===Math.E?Math.exp:t=>Math.pow(n,t),f()[0]<0?(s=fp(s),l=fp(l),t(ap,up)):t(ip,op),i;var n,e}return i.base=function(t){return arguments.length?(h=+t,n()):h},i.domain=function(t){return arguments.length?(f(t),n()):f()},i.ticks=t=>{var n=f();let e=n[0],r=n[n.length-1];n=rr)break;c.push(o)}}else for(;a<=u;++a)for(i=h-1;1<=i;--i)if(o=0r)break;c.push(o)}2*c.length{if(null==t&&(t=10),"function"!=typeof(e=null==e?10===h?"s":",":e)&&(h%1||null!=(e=Du(e)).precision||(e.trim=!0),e=u.format(e)),t===1/0)return e;const r=Math.max(1,h*t/i.ticks().length);return t=>{let n=t/l(Math.round(s(t)));return n*hf(rp(f(),{floor:t=>l(Math.floor(s(t))),ceil:t=>l(Math.ceil(s(t)))})),i}function lp(n){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/n))}}function hp(n){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*n}}function dp(n){var e=1,t=n(lp(e),hp(e));return t.constant=function(t){return arguments.length?n(lp(e=+t),hp(e)):e},ep(t)}function pp(n){return function(t){return t<0?-Math.pow(-t,n):Math.pow(t,n)}}function gp(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function yp(t){return t<0?-t*t:t*t}function vp(n){var t=n(Vd,Vd),e=1;return t.exponent=function(t){return arguments.length?1==(e=+t)?n(Vd,Vd):.5===e?n(gp,yp):n(pp(e),pp(1/e)):e},ep(t)}function _p(){var t=vp(Jd());return t.copy=function(){return Qd(t,_p()).exponent(t.exponent())},Ld.apply(t,arguments),t}function bp(t){return Math.sign(t)*t*t}const mp=new Date,xp=new Date;function wp(o,a,e,r){function u(t){return o(t=0===arguments.length?new Date:new Date(+t)),t}return u.floor=t=>(o(t=new Date(+t)),t),u.ceil=t=>(o(t=new Date(t-1)),a(t,1),o(t),t),u.round=t=>{var n=u(t),e=u.ceil(t);return t-n(a(t=new Date(+t),null==n?1:Math.floor(n)),t),u.range=(t,n,e)=>{const r=[];if(t=u.ceil(t),e=null==e?1:Math.floor(e),!(twp(t=>{if(t<=t)for(;o(t),!e(t);)t.setTime(t-1)},(t,n)=>{if(t<=t)if(n<0)for(;++n<=0;)for(;a(t,-1),!e(t););else for(;0<=--n;)for(;a(t,1),!e(t););}),e&&(u.count=(t,n)=>(mp.setTime(+t),xp.setTime(+n),o(mp),o(xp),Math.floor(e(mp,xp))),u.every=n=>(n=Math.floor(n),isFinite(n)&&0r(t)%n==0:t=>u.count(0,t)%n==0):u:null)),u}const Mp=wp(()=>{},(t,n)=>{t.setTime(+t+n)},(t,n)=>n-t);Mp.every=e=>(e=Math.floor(e),isFinite(e)&&0{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Mp:null);const Ap=Mp.range,Tp=6e4,Ep=36e5,Sp=864e5,kp=6048e5,Np=31536e6,Cp=wp(t=>{t.setTime(t-t.getMilliseconds())},(t,n)=>{t.setTime(+t+1e3*n)},(t,n)=>(n-t)/1e3,t=>t.getUTCSeconds()),Pp=Cp.range,zp=wp(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,n)=>{t.setTime(+t+n*Tp)},(t,n)=>(n-t)/Tp,t=>t.getMinutes()),$p=zp.range,Dp=wp(t=>{t.setUTCSeconds(0,0)},(t,n)=>{t.setTime(+t+n*Tp)},(t,n)=>(n-t)/Tp,t=>t.getUTCMinutes()),Rp=Dp.range,Fp=wp(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*Tp)},(t,n)=>{t.setTime(+t+n*Ep)},(t,n)=>(n-t)/Ep,t=>t.getHours()),qp=Fp.range,Ip=wp(t=>{t.setUTCMinutes(0,0,0)},(t,n)=>{t.setTime(+t+n*Ep)},(t,n)=>(n-t)/Ep,t=>t.getUTCHours()),Up=Ip.range,Op=wp(t=>t.setHours(0,0,0,0),(t,n)=>t.setDate(t.getDate()+n),(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Tp)/Sp,t=>t.getDate()-1),Lp=Op.range,Bp=wp(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/Sp,t=>t.getUTCDate()-1),jp=Bp.range,Yp=wp(t=>{t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n)},(t,n)=>(n-t)/Sp,t=>Math.floor(t/Sp)),Hp=Yp.range;function Gp(n){return wp(t=>{t.setDate(t.getDate()-(t.getDay()+7-n)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+7*n)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Tp)/kp)}const Xp=Gp(0),Vp=Gp(1),Wp=Gp(2),Zp=Gp(3),Kp=Gp(4),Qp=Gp(5),Jp=Gp(6),tg=Xp.range,ng=Vp.range,eg=Wp.range,rg=Zp.range,ig=Kp.range,og=Qp.range,ag=Jp.range;function ug(n){return wp(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-n)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+7*n)},(t,n)=>(n-t)/kp)}const cg=ug(0),fg=ug(1),sg=ug(2),lg=ug(3),hg=ug(4),dg=ug(5),pg=ug(6),gg=cg.range,yg=fg.range,vg=sg.range,_g=lg.range,bg=hg.range,mg=dg.range,xg=pg.range,wg=wp(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,n)=>{t.setMonth(t.getMonth()+n)},(t,n)=>n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear()),t=>t.getMonth()),Mg=wg.range,Ag=wp(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCMonth(t.getUTCMonth()+n)},(t,n)=>n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear()),t=>t.getUTCMonth()),Tg=Ag.range,Eg=wp(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n)},(t,n)=>n.getFullYear()-t.getFullYear(),t=>t.getFullYear());Eg.every=e=>isFinite(e=Math.floor(e))&&0{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}):null;const Sg=Eg.range,kg=wp(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n)},(t,n)=>n.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());kg.every=e=>isFinite(e=Math.floor(e))&&0{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null;var Ng=kg.range;function Cg(u,t,n,e,r,i){const c=[[Cp,1,1e3],[Cp,5,5e3],[Cp,15,15e3],[Cp,30,3e4],[i,1,Tp],[i,5,3e5],[i,15,9e5],[i,30,18e5],[r,1,Ep],[r,3,108e5],[r,6,216e5],[r,12,432e5],[e,1,Sp],[e,2,1728e5],[n,1,kp],[t,1,2592e6],[t,3,7776e6],[u,1,Np]];function a(t,n,e){var r=Math.abs(n-t)/e,i=f(([,,t])=>t).right(c,r);if(i===c.length)return u.every(K(t/Np,n/Np,e));if(0===i)return Mp.every(Math.max(K(t,n,e),1));const[o,a]=c[r/c[i-1][2][t.toLowerCase(),n]))}function Vg(t,n,e){n=Lg.exec(n.slice(e,e+1));return n?(t.w=+n[0],e+n[0].length):-1}function Wg(t,n,e){n=Lg.exec(n.slice(e,e+1));return n?(t.u=+n[0],e+n[0].length):-1}function Zg(t,n,e){n=Lg.exec(n.slice(e,e+2));return n?(t.U=+n[0],e+n[0].length):-1}function Kg(t,n,e){n=Lg.exec(n.slice(e,e+2));return n?(t.V=+n[0],e+n[0].length):-1}function Qg(t,n,e){n=Lg.exec(n.slice(e,e+2));return n?(t.W=+n[0],e+n[0].length):-1}function Jg(t,n,e){n=Lg.exec(n.slice(e,e+4));return n?(t.y=+n[0],e+n[0].length):-1}function ty(t,n,e){n=Lg.exec(n.slice(e,e+2));return n?(t.y=+n[0]+(68<+n[0]?1900:2e3),e+n[0].length):-1}function ny(t,n,e){n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),e+n[0].length):-1}function ey(t,n,e){n=Lg.exec(n.slice(e,e+1));return n?(t.q=3*n[0]-3,e+n[0].length):-1}function ry(t,n,e){n=Lg.exec(n.slice(e,e+2));return n?(t.m=n[0]-1,e+n[0].length):-1}function iy(t,n,e){n=Lg.exec(n.slice(e,e+2));return n?(t.d=+n[0],e+n[0].length):-1}function oy(t,n,e){n=Lg.exec(n.slice(e,e+3));return n?(t.m=0,t.d=+n[0],e+n[0].length):-1}function ay(t,n,e){n=Lg.exec(n.slice(e,e+2));return n?(t.H=+n[0],e+n[0].length):-1}function uy(t,n,e){n=Lg.exec(n.slice(e,e+2));return n?(t.M=+n[0],e+n[0].length):-1}function cy(t,n,e){n=Lg.exec(n.slice(e,e+2));return n?(t.S=+n[0],e+n[0].length):-1}function fy(t,n,e){n=Lg.exec(n.slice(e,e+3));return n?(t.L=+n[0],e+n[0].length):-1}function sy(t,n,e){n=Lg.exec(n.slice(e,e+6));return n?(t.L=Math.floor(n[0]/1e3),e+n[0].length):-1}function ly(t,n,e){n=Bg.exec(n.slice(e,e+1));return n?e+n[0].length:-1}function hy(t,n,e){n=Lg.exec(n.slice(e));return n?(t.Q=+n[0],e+n[0].length):-1}function dy(t,n,e){n=Lg.exec(n.slice(e));return n?(t.s=+n[0],e+n[0].length):-1}function py(t,n){return Yg(t.getDate(),n,2)}function gy(t,n){return Yg(t.getHours(),n,2)}function yy(t,n){return Yg(t.getHours()%12||12,n,2)}function vy(t,n){return Yg(1+Op.count(Eg(t),t),n,3)}function _y(t,n){return Yg(t.getMilliseconds(),n,3)}function by(t,n){return _y(t,n)+"000"}function my(t,n){return Yg(t.getMonth()+1,n,2)}function xy(t,n){return Yg(t.getMinutes(),n,2)}function wy(t,n){return Yg(t.getSeconds(),n,2)}function My(t){t=t.getDay();return 0===t?7:t}function Ay(t,n){return Yg(Xp.count(Eg(t)-1,t),n,2)}function Ty(t){var n=t.getDay();return 4<=n||0===n?Kp(t):Kp.ceil(t)}function Ey(t,n){return t=Ty(t),Yg(Kp.count(Eg(t),t)+(4===Eg(t).getDay()),n,2)}function Sy(t){return t.getDay()}function ky(t,n){return Yg(Vp.count(Eg(t)-1,t),n,2)}function Ny(t,n){return Yg(t.getFullYear()%100,n,2)}function Cy(t,n){return Yg((t=Ty(t)).getFullYear()%100,n,2)}function Py(t,n){return Yg(t.getFullYear()%1e4,n,4)}function zy(t,n){var e=t.getDay();return Yg((t=4<=e||0===e?Kp(t):Kp.ceil(t)).getFullYear()%1e4,n,4)}function $y(t){t=t.getTimezoneOffset();return(0ur(t[t.length-1]),Sv=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(gv),kv=Ev(Sv),Nv=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(gv),Cv=Ev(Nv),Pv=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(gv),zv=Ev(Pv),$v=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(gv),Dv=Ev($v),Rv=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(gv),Fv=Ev(Rv),qv=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(gv),Iv=Ev(qv),Uv=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(gv),Ov=Ev(Uv),Lv=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(gv),Bv=Ev(Lv),jv=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(gv),Yv=Ev(jv),Hv=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(gv),Gv=Ev(Hv),Xv=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(gv),Vv=Ev(Xv),Wv=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(gv),Zv=Ev(Wv),Kv=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(gv),Qv=Ev(Kv),Jv=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(gv),t_=Ev(Jv),n_=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(gv),e_=Ev(n_),r_=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(gv),i_=Ev(r_),o_=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(gv),a_=Ev(o_),u_=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(gv),c_=Ev(u_),f_=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(gv),s_=Ev(f_),l_=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(gv),h_=Ev(l_),d_=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(gv),p_=Ev(d_),g_=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(gv),y_=Ev(g_),v_=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(gv),__=Ev(v_),b_=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(gv),m_=Ev(b_),x_=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(gv),w_=Ev(x_),M_=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(gv),A_=Ev(M_),T_=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(gv),E_=Ev(T_),S_=qr(We(300,.5,0),We(-240,.5,1)),k_=qr(We(-100,.75,.35),We(80,1.5,.8)),N_=qr(We(260,.75,.35),We(80,1.5,.8)),C_=We(),P_=ce(),z_=Math.PI/3,$_=2*Math.PI/3;function D_(n){var e=n.length;return function(t){return n[Math.max(0,Math.min(e-1,Math.floor(t*e)))]}}var R_=D_(gv("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),F_=D_(gv("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),q_=D_(gv("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),I_=D_(gv("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function U_(t){return function(){return t}}const O_=Math.abs,L_=Math.atan2,B_=Math.cos,j_=Math.max,Y_=Math.min,H_=Math.sin,G_=Math.sqrt,X_=1e-12,V_=Math.PI,W_=V_/2,Z_=2*V_;function K_(t){return 1<=t?W_:t<=-1?-W_:Math.asin(t)}function Q_(n){let e=3;return n.digits=function(t){if(!arguments.length)return e;if(null==t)e=null;else{const n=Math.floor(t);if(!(0<=n))throw new RangeError(`invalid digits: ${t}`);e=n}return n},()=>new Uo(e)}function J_(t){return t.innerRadius}function tb(t){return t.outerRadius}function nb(t){return t.startAngle}function eb(t){return t.endAngle}function rb(t){return t&&t.padAngle}function ib(t,n,e,r,i,o,a){var u=t-e,c=n-r,f=(a?o:-o)/G_(u*u+c*c),s=f*c,l=-f*u,h=t+s,d=n+l,a=e+s,c=r+l,f=(h+a)/2,u=(d+c)/2,t=a-h,n=c-d,e=t*t+n*n,r=i-o,o=h*c-a*d,h=(n<0?-1:1)*G_(j_(0,r*r*e-o*o)),c=(o*n-t*h)/e,a=(-o*t-n*h)/e,d=(o*n+t*h)/e,n=(-o*t+n*h)/e,h=c-f,e=a-u,f=d-f,u=n-u;return f*f+u*uX_&&(r=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,i=3*t._l01_a*(t._l01_a+t._l12_a),o=(o*r-t._x0*t._l12_2a+t._x2*t._l01_2a)/i,a=(a*r-t._y0*t._l12_2a+t._y2*t._l01_2a)/i),t._l23_a>X_&&(r=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,i=3*t._l23_a*(t._l23_a+t._l12_a),u=(u*r+t._x1*t._l23_2a-n*t._l12_2a)/i,c=(c*r+t._y1*t._l23_2a-e*t._l12_2a)/i),t._context.bezierCurveTo(o,a,u,c,t._x2,t._y2)}function um(t,n){this._context=t,this._alpha=n}um.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e,r;switch(t=+t,n=+n,this._point&&(e=this._x2-t,r=this._y2-n,this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))),this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:am(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};wd=function n(e){function t(t){return e?new um(t,e):new rm(t,0)}return t.alpha=function(t){return n(+t)},t}(.5);function cm(t,n){this._context=t,this._alpha=n}cm.prototype={areaStart:Zb,areaEnd:Zb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){var e,r;switch(t=+t,n=+n,this._point&&(e=this._x2-t,r=this._y2-n,this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))),this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:am(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};iv=function n(e){function t(t){return e?new cm(t,e):new im(t,0)}return t.alpha=function(t){return n(+t)},t}(.5);function fm(t,n){this._context=t,this._alpha=n}fm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e,r;switch(t=+t,n=+n,this._point&&(e=this._x2-t,r=this._y2-n,this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))),this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:am(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};Ev=function n(e){function t(t){return e?new fm(t,e):new om(t,0)}return t.alpha=function(t){return n(+t)},t}(.5);function sm(t){this._context=t}function lm(t){return t<0?-1:1}function hm(t,n,e){var r=t._x1-t._x0,i=n-t._x1,n=(t._y1-t._y0)/(r||i<0&&-0),t=(e-t._y1)/(i||r<0&&-0),i=(n*i+t*r)/(r+i);return(lm(n)+lm(t))*Math.min(Math.abs(n),Math.abs(t),.5*Math.abs(i))||0}function dm(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function pm(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function gm(t){this._context=t}function ym(t){this._context=new vm(t)}function vm(t){this._context=t}function _m(t){this._context=t}function bm(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(o[i[0]=0]=2,a[0]=t[0]+2*t[1],n=1;no&&(o=n,r=e);return r}function Sm(t){var e=t.map(km);return wm(t).sort(function(t,n){return e[t]-e[n]})}function km(t){for(var n,e=0,r=-1,i=t.length;++r()=>t;function Cm(t,{sourceEvent:n,target:e,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:e,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function Pm(t,n,e){this.k=t,this.x=n,this.y=e}Pm.prototype={constructor:Pm,scale:function(t){return 1===t?this:new Pm(this.k*t,this.x,this.y)},translate:function(t,n){return 0===t&0===n?this:new Pm(this.k,this.x+this.k*t,this.y+this.k*n)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var zm=new Pm(1,0,0);function $m(t){for(;!t.__zoom;)if(!(t=t.parentNode))return zm;return t.__zoom}function Dm(t){t.stopImmediatePropagation()}function Rm(t){t.preventDefault(),t.stopImmediatePropagation()}function Fm(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function qm(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function Im(){return this.__zoom||zm}function Um(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Om(){return navigator.maxTouchPoints||"ontouchstart"in this}function Lm(t,n,e){var r=t.invertX(n[0][0])-e[0][0],i=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],e=t.invertY(n[1][1])-e[1][1];return t.translate(rn).sort((t,n)=>e[2*t]-e[2*n]||e[2*t+1]-e[2*n+1]);const t=this.collinear[0],a=this.collinear[this.collinear.length-1],u=[e[2*t],e[2*t+1],e[2*a],e[2*a+1]],c=1e-8*Math.hypot(u[3]-u[1],u[2]-u[0]);for(let t=0,n=e.length/2;t>1);let f=t,s=Ca(n-c[2*t],2)+Ca(e-c[2*t+1],2);const l=r[t];let h=l;do{var d=u[h];const l=Ca(n-c[2*d],2)+Ca(e-c[2*d+1],2);if(lci&&e.name===n)return new Ei([[t]],Ki,n,+r);return null},u.arc=function(){var k=J_,N=tb,C=U_(0),P=null,z=nb,$=eb,D=rb,R=null,F=Q_(n);function n(){var t,n,e,r,i,o,a,u,c,f,s,l,h,d,p,g,y,v,_,b,m,x,w=+k.apply(this,arguments),M=+N.apply(this,arguments),A=z.apply(this,arguments)-W_,T=$.apply(this,arguments)-W_,E=O_(T-A),S=AX_?E>Z_-X_?(R.moveTo(M*B_(A),M*H_(A)),R.arc(0,0,M,A,T,!S),w>X_&&(R.moveTo(w*B_(T),w*H_(T)),R.arc(0,0,w,T,A,S))):(o=r=A,a=i=T,c=u=E,s=(l=D.apply(this,arguments)/2)>X_&&(P?+P.apply(this,arguments):G_(w*w+M*M)),x=m=f=Y_(O_(M-w)/2,+C.apply(this,arguments)),s>X_&&(b=K_(s/w*H_(l)),_=K_(s/M*H_(l)),(u-=2*b)>X_?(o+=b*=S?1:-1,a-=b):(u=0,o=a=(A+T)/2),(c-=2*_)>X_?(r+=_*=S?1:-1,i-=_):(c=0,r=i=(A+T)/2)),s=M*B_(r),l=M*H_(r),h=w*B_(a),d=w*H_(a),f>X_&&(p=M*B_(i),g=M*H_(i),y=w*B_(o),v=w*H_(o),EX_?x>X_?(n=ib(y,v,s,l,M,x,S),e=ib(p,g,h,d,M,x,S),R.moveTo(n.cx+n.x01,n.cy+n.y01),xX_&&u>X_?m>X_?(n=ib(h,d,p,g,w,-m,S),e=ib(s,l,y,v,w,-m,S),R.lineTo(n.cx+n.x01,n.cy+n.y01),m>d,y=r+2*p>>d,i=Jo(20);function o(t){var n=new Float32Array(g*y),e=Math.pow(2,-d),r=-1;for(const h of t){var i,o,a=(f(h,++r,t)+p)*e,u=(s(h,r,t)+p)*e,c=+l(h,r,t);c&&0<=a&&at*n))(t).map((t,n)=>(t.value=+e[n],a(t)))}function a(t){return t.coordinates.forEach(u),t}function u(t){t.forEach(c)}function c(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,d)-p,t[1]=t[1]*Math.pow(2,d)-p}function _(){return g=e+2*(p=3*h)>>d,y=r+2*p>>d,n}return n.contours=function(t){var e=o(t),r=ra().size([g,y]),i=Math.pow(2,2*d),t=t=>{var n=a(r.contour(e,(t=+t)*i));return n.value=t,n};return Object.defineProperty(t,"max",{get:()=>nt(e)/i}),t},n.x=function(t){return arguments.length?(f="function"==typeof t?t:Jo(+t),n):f},n.y=function(t){return arguments.length?(s="function"==typeof t?t:Jo(+t),n):s},n.weight=function(t){return arguments.length?(l="function"==typeof t?t:Jo(+t),n):l},n.size=function(t){if(!arguments.length)return[e,r];var n=+t[0],t=+t[1];if(!(0<=n&&0<=t))throw new Error("invalid size");return e=n,r=t,_()},n.cellSize=function(t){if(!arguments.length)return 1<u(...t)),r=(e=e.map(m)).map(y),i=e.length-1,o=new Array(1+i).fill(0),a=[];var u;if(i<0||r.some(v))return a;for(;;){a.push(o.map((t,n)=>e[n][t]));let t=i;for(;++o[t]===r[t];){if(0===t)return n?a.map(n):a;o[t--]=0}}},u.csv=ou,u.csvFormat=Oa,u.csvFormatBody=La,u.csvFormatRow=ja,u.csvFormatRows=Ba,u.csvFormatValue=Ya,u.csvParse=Ia,u.csvParseRows=Ua,u.cubehelix=We,u.cumsum=function(n,e){var r=0,i=0;return Float64Array.from(n,void 0===e?t=>r+=+t||0:t=>r+=+e(t,i++,n)||0)},u.curveBasis=function(t){return new Qb(t)},u.curveBasisClosed=function(t){return new Jb(t)},u.curveBasisOpen=function(t){return new tm(t)},u.curveBumpX=Ab,u.curveBumpY=Tb,u.curveBundle=qa,u.curveCardinal=Ha,u.curveCardinalClosed=bu,u.curveCardinalOpen=yd,u.curveCatmullRom=wd,u.curveCatmullRomClosed=iv,u.curveCatmullRomOpen=Ev,u.curveLinear=cb,u.curveLinearClosed=function(t){return new sm(t)},u.curveMonotoneX=function(t){return new gm(t)},u.curveMonotoneY=function(t){return new ym(t)},u.curveNatural=function(t){return new _m(t)},u.curveStep=function(t){return new mm(t,.5)},u.curveStepAfter=function(t){return new mm(t,1)},u.curveStepBefore=function(t){return new mm(t,0)},u.descending=t,u.deviation=w,u.difference=function(t,...n){t=new T(t);for(const e of n)for(const n of e)t.delete(n);return t},u.disjoint=function(t,n){const e=n[Symbol.iterator](),r=new T;for(const n of t){if(r.has(n))return!1;for(var i,o;({value:i,done:o}=e.next())&&!o;){if(Object.is(n,i))return!1;r.add(i)}}return!0},u.dispatch=Nt,u.drag=function(){var r,i,o,a,u=qn,c=In,e=Un,n=On,g={},y=Nt("start","drag","end"),v=0,f=0;function _(t){t.on("mousedown.drag",s).filter(n).on("touchstart.drag",d).on("touchmove.drag",p,Nn).on("touchend.drag touchcancel.drag",b).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function s(t,n){a||!u.call(this,t,n)||(n=m(this,c.call(this,t,n),t,n,"mouse"))&&(Mn(t.view).on("mousemove.drag",l,Cn).on("mouseup.drag",h,Cn),$n(t.view),Pn(t),o=!1,r=t.clientX,i=t.clientY,n("start",t))}function l(t){var n,e;zn(t),o||(n=t.clientX-r,e=t.clientY-i,o=f+t,u.easePoly=$i,u.easePolyIn=Pi,u.easePolyInOut=$i,u.easePolyOut=zi,u.easeQuad=Ni,u.easeQuadIn=function(t){return t*t},u.easeQuadInOut=Ni,u.easeQuadOut=function(t){return t*(2-t)},u.easeSin=Fi,u.easeSinIn=function(t){return 1==+t?1:1-Math.cos(t*Ri)},u.easeSinInOut=Fi,u.easeSinOut=function(t){return Math.sin(t*Ri)},u.every=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(!n(r,++e,t))return!1;return!0},u.extent=M,u.fcumsum=function(n,e){const r=new S;let i=-1;return Float64Array.from(n,void 0===e?t=>r.add(+t||0):t=>r.add(+e(t,++i,n)||0))},u.filter=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");const e=[];let r=-1;for(const i of t)n(i,++r,t)&&e.push(i);return e},u.flatGroup=function(t,...n){return D($(t,...n),n)},u.flatRollup=function(t,n,...e){return D(F(t,n,...e),e)},u.forceCenter=function(o,a){var u,c=1;function n(){for(var t,n=u.length,e=0,r=0,i=0;iu.index&&((i=(r=c-o.x-o.vx)*r+(e=f-o.y-o.vy)*e)t.r&&(t.r=t[n].r)}function e(){if(o){var t,n,e=o.length;for(a=new Array(e),t=0;t[u(t,n,o),t])),i=0;for(a=new Array(n);i(t=(1664525*t+1013904223)%Eu)/Eu}();function i(){h(),e.call("tick",o),aTf(r[0],r[1])&&(r[1]=i[1]),Tf(i[0],r[1])>Tf(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(u=Tf(r[1],i[0]))>a&&(a=u,Nc=i[0],Pc=r[1])}return Ic=Uc=null,Nc===1/0||Cc===1/0?[[NaN,NaN],[NaN,NaN]]:[[Nc,Cc],[Pc,zc]]},u.geoCentroid=function(t){tf=nf=ef=rf=of=af=uf=cf=0,ff=new S,sf=new S,lf=new S,Mc(t,kf);var n=+ff,e=+sf,r=+lf,t=uc(n,e,r);return tc(n,r)||c(t,e)):O(z(t,n),([t,n],[e,r])=>i(n,r)||c(t,e))).map(([t])=>t)},u.groups=$,u.hcl=Ue,u.hierarchy=Sh,u.histogram=tt,u.hsl=ve,u.html=su,u.image=function(i,o){return new Promise(function(t,n){var e,r=new Image;for(e in o)r[e]=o[e];r.onerror=n,r.onload=function(){t(r)},r.src=i})},u.index=function(t,...n){return I(t,P,q,n)},u.indexes=function(t,...n){return I(t,Array.from,q,n)},u.interpolate=_r,u.interpolateArray=function(t,n){return(sr(n)?fr:lr)(t,n)},u.interpolateBasis=Qe,u.interpolateBasisClosed=Je,u.interpolateBlues=y_,u.interpolateBrBG=kv,u.interpolateBuGn=Gv,u.interpolateBuPu=Vv,u.interpolateCividis=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},u.interpolateCool=N_,u.interpolateCubehelix=Fr,u.interpolateCubehelixDefault=S_,u.interpolateCubehelixLong=qr,u.interpolateDate=hr,u.interpolateDiscrete=function(n){var e=n.length;return function(t){return n[Math.max(0,Math.min(e-1,Math.floor(t*e)))]}},u.interpolateGnBu=Zv,u.interpolateGreens=__,u.interpolateGreys=m_,u.interpolateHcl=$r,u.interpolateHclLong=Dr,u.interpolateHsl=Cr,u.interpolateHslLong=Pr,u.interpolateHue=function(t,n){var e=er(+t,+n);return function(t){t=e(t);return t-360*Math.floor(t/360)}},u.interpolateInferno=q_,u.interpolateLab=function(n,t){var e=ir((n=ze(n)).l,(t=ze(t)).l),r=ir(n.a,t.a),i=ir(n.b,t.b),o=ir(n.opacity,t.opacity);return function(t){return n.l=e(t),n.a=r(t),n.b=i(t),n.opacity=o(t),n+""}},u.interpolateMagma=F_,u.interpolateNumber=dr,u.interpolateNumberArray=fr,u.interpolateObject=pr,u.interpolateOrRd=Qv,u.interpolateOranges=E_,u.interpolatePRGn=Cv,u.interpolatePiYG=zv,u.interpolatePlasma=I_,u.interpolatePuBu=e_,u.interpolatePuBuGn=t_,u.interpolatePuOr=Dv,u.interpolatePuRd=i_,u.interpolatePurples=w_,u.interpolateRainbow=function(t){(t<0||1r(t,n,e))},u.matcher=jt,u.max=nt,u.maxIndex=et,u.mean=function(n,e){let r=0,i=0;if(void 0===e)for(var t of n)null!=t&&(t=+t)>=t&&(++r,i+=t);else{let t=-1;for(var o of n)null!=(o=e(o,++t,n))&&(o=+o)>=o&&(++r,i+=o)}if(r)return i/r},u.median=function(t,n){return ct(t,.5,n)},u.medianIndex=function(t,n){return st(t,.5,n)},u.merge=lt,u.min=rt,u.minIndex=it,u.mode=function(n,e){const r=new A;if(void 0===e)for(var t of n)null!=t&&t>=t&&r.set(t,(r.get(t)||0)+1);else{let t=-1;for(var i of n)null!=(i=e(i,++t,n))&&i>=i&&r.set(i,(r.get(i)||0)+1)}let o,a=0;for(const[n,e]of r)e>a&&(a=e,o=n);return o},u.namespace=Dt,u.namespaces=$t,u.nice=Q,u.now=Zr,u.pack=function(){var e=null,r=1,i=1,o=Rh;function n(t){var n=Oh();return t.x=r/2,t.y=i/2,e?t.eachBefore(Jh(e)).eachAfter(td(o,.5,n)).eachBefore(nd(1)):t.eachBefore(Jh(Qh)).eachAfter(td(Rh,1,n)).eachAfter(td(o,t.r/Math.min(r,i),n)).eachBefore(nd(Math.min(r,i)/(2*t.r))),t}return n.radius=function(t){return arguments.length?(e=$h(t),n):e},n.size=function(t){return arguments.length?(r=+t[0],i=+t[1],n):[r,i]},n.padding=function(t){return arguments.length?(o="function"==typeof t?t:Fh(+t),n):o},n},u.packEnclose=function(t){return Lh(t,Oh())},u.packSiblings=function(t){return Kh(t,Oh()),t},u.pairs=function(t,n=function(t,n){return[t,n]}){const e=[];let r,i=!1;for(const o of t)i&&e.push(n(r,o)),r=o,i=!0;return e},u.partition=function(){var e=1,r=1,u=0,i=!1;function n(t){var o,a,n=t.height+1;return t.x0=t.y0=u,t.x1=e,t.y1=r/n,t.eachBefore((o=r,a=n,function(t){t.children&&rd(t,t.x0,o*(t.depth+1)/a,t.x1,o*(t.depth+2)/a);var n=t.x0,e=t.y0,r=t.x1-u,i=t.y1-u;rkn(t,n))},u.polygonArea=function(t){for(var n,e=-1,r=t.length,i=t[r-1],o=0;++eu!=u(n=1664525*n+1013904223|0,Od*(n>>>0))},u.randomLogNormal=Ed,u.randomLogistic=Id,u.randomNormal=Td,u.randomPareto=Cd,u.randomPoisson=Ud,u.randomUniform=Md,u.randomWeibull=Fd,u.range=ht,u.rank=function(t,e=c){if("function"!=typeof t[Symbol.iterator])throw new TypeError("values is not iterable");let r=Array.from(t);const i=new Float64Array(r.length);2!==e.length&&(r=r.map(e),e=c);const o=(t,n)=>e(r[t],r[n]);let a,u;return(t=Uint32Array.from(r,(t,n)=>n)).sort(e===c?(t,n)=>B(r[t],r[n]):L(o)),t.forEach((t,n)=>{var e=o(t,void 0===a?t:a);0<=e?((void 0===a||0Qd(n,t()).base(n.base()),Ld.apply(n,arguments),n},u.scaleOrdinal=Yd,u.scalePoint=function(){return function t(n){var e=n.copy;return n.padding=n.paddingOuter,delete n.paddingInner,delete n.paddingOuter,n.copy=function(){return t(e())},n}(Hd.apply(null,arguments).paddingInner(1))},u.scalePow=_p,u.scaleQuantile=function t(){var n,e=[],r=[],i=[];function o(){var t=0,n=Math.max(1,r.length);for(i=new Array(n-1);++te(n/(r.length-1)))},i.quantiles=function(e){return Array.from({length:e+1},(t,n)=>ct(r,n/e))},i.copy=function(){return t(e).domain(r)},Bd.apply(i,arguments)},u.scaleSequentialSqrt=function(){return hv.apply(null,arguments).exponent(.5)},u.scaleSequentialSymlog=function t(){var n=dp(sv());return n.copy=function(){return lv(n,t()).constant(n.constant())},Bd.apply(n,arguments)},u.scaleSqrt=function(){return _p.apply(null,arguments).exponent(.5)},u.scaleSymlog=function t(){var n=dp(Jd());return n.copy=function(){return Qd(n,t()).constant(n.constant())},Ld.apply(n,arguments)},u.scaleThreshold=function t(){var n,e=[.5],r=[0,1],i=1;function o(t){return null!=t&&t<=t?r[_(e,t,0,i)]:n}return o.domain=function(t){return arguments.length?(e=Array.from(t),i=Math.min(e.length,r.length-1),o):e.slice()},o.range=function(t){return arguments.length?(r=Array.from(t),i=Math.min(e.length,r.length-1),o):r.slice()},o.invertExtent=function(t){t=r.indexOf(t);return[e[t-1],e[t]]},o.unknown=function(t){return arguments.length?(n=t,o):n},o.copy=function(){return t().domain(e).range(r).unknown(n)},Ld.apply(o,arguments)},u.scaleTime=function(){return Ld.apply(fv($g,Dg,Eg,wg,Xp,Op,Fp,zp,Cp,u.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},u.scaleUtc=function(){return Ld.apply(fv(Pg,zg,kg,Ag,cg,Bp,Ip,Dp,Cp,u.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},u.scan=function(t,n){n=dt(t,n);return n<0?void 0:n},u.schemeAccent=vv,u.schemeBlues=g_,u.schemeBrBG=Sv,u.schemeBuGn=Hv,u.schemeBuPu=Xv,u.schemeCategory10=yv,u.schemeDark2=_v,u.schemeGnBu=Wv,u.schemeGreens=v_,u.schemeGreys=b_,u.schemeOrRd=Kv,u.schemeOranges=T_,u.schemePRGn=Nv,u.schemePaired=bv,u.schemePastel1=mv,u.schemePastel2=xv,u.schemePiYG=Pv,u.schemePuBu=n_,u.schemePuBuGn=Jv,u.schemePuOr=$v,u.schemePuRd=r_,u.schemePurples=x_,u.schemeRdBu=Rv,u.schemeRdGy=qv,u.schemeRdPu=o_,u.schemeRdYlBu=Uv,u.schemeRdYlGn=Lv,u.schemeReds=M_,u.schemeSet1=wv,u.schemeSet2=Mv,u.schemeSet3=Av,u.schemeSpectral=jv,u.schemeTableau10=Tv,u.schemeYlGn=f_,u.schemeYlGnBu=u_,u.schemeYlOrBr=l_,u.schemeYlOrRd=d_,u.select=Mn,u.selectAll=function(t){return"string"==typeof t?new xn([document.querySelectorAll(t)],[document.documentElement]):new xn([Ot(t)],mn)},u.selection=wn,u.selector=Ut,u.selectorAll=Bt,u.shuffle=pt,u.shuffler=gt,u.some=function(t,n){if("function"!=typeof n)throw new TypeError("test is not a function");let e=-1;for(const r of t)if(n(r,++e,t))return!0;return!1},u.sort=O,u.stack=function(){var a=U_([]),u=wm,c=xm,f=Mm;function n(t){var n,e,r=Array.from(a.apply(this,arguments),Am),i=r.length,o=-1;for(const a of t)for(n=0,++o;nfunction(t){var n=(t=`${t}`).length;return"/"===(t=sd(t,n-1)&&!sd(t,n-2)?t.slice(0,-1):t)[0]?t:`/${t}`}(d(t,n,e))),g=p.map(fd),n=new Set(p).add("");for(const d of g)n.has(d)||(n.add(d),p.push(d),g.push(fd(d)),f.push(ad));s=(t,n)=>p[n],l=(t,n)=>g[n]}for(r=0,n=f.length;re.x&&(e=t),t.depth>r.depth&&(r=t)}),t=n===e?1:y(n,e)/2,i=t-n.x,o=c/(e.x+t+i),a=f/(r.depth||1),u.eachBefore(function(t){t.x=(t.x+i)*o,t.y=t.depth*a})),u}function l(o){var t=o.children,n=o.parent.children,g=o.i?n[o.i-1]:null;t?(function(){for(var t,n=0,e=0,r=o.children,i=r.length;0<=--i;)(t=r[i]).z+=n,t.m+=n,n+=t.s+(e+=t.c)}(),t=(t[0].z+t[t.length-1].z)/2,g?(o.z=g.z+y(o._,g._),o.m=o.z-t):o.z=t):g&&(o.z=g.z+y(o._,g._)),o.parent.A=function(t,n){if(g){for(var e,r=t,i=t,o=g,a=r.parent.children[0],u=r.m,c=i.m,f=o.m,s=a.m;o=dd(o),r=hd(r),o&&r;)a=hd(a),(i=dd(i)).a=t,0<(e=o.z+f-r.z-u+y(o._,r._))&&(d=t,p=n,l=(h=o).a.parent===d.parent?h.a:p,d=void 0,d=(h=e)/((p=t).i-l.i),p.c-=d,p.s+=h,l.c+=d,p.z+=h,p.m+=h,u+=e,c+=e),f+=o.m,u+=r.m,s+=a.m,c+=i.m;o&&!dd(i)&&(i.t=o,i.m+=f-c),r&&!hd(a)&&(a.t=r,a.m+=u-s,n=t)}var l,h,d,p;return n}(o,o.parent.A||n[0])}function h(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(t){t.x*=c,t.y=t.depth*f}return n.separation=function(t){return arguments.length?(y=t,n):y},n.size=function(t){return arguments.length?(s=!1,c=+t[0],f=+t[1],n):s?null:[c,f]},n.nodeSize=function(t){return arguments.length?(s=!0,c=+t[0],f=+t[1],n):s?[c,f]:null},n},u.treemap=function(){var a=_d,n=!1,e=1,r=1,u=[0],c=Rh,f=Rh,s=Rh,l=Rh,h=Rh;function i(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(o),u=[0],n&&t.eachBefore(ed),t}function o(t){var n=u[t.depth],e=t.x0+n,r=t.y0+n,i=t.x1-n,o=t.y1-n;i>>1;y[d]u&&(u=t[0]),t[1]c&&(c=t[1])}function r(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(r);break;case"Point":e(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(e)}}for(n in t.arcs.forEach(function(t){for(var n,e=-1,r=t.length;++eu&&(u=n[0]),n[1]c&&(c=n[1])}),t.objects)r(t.objects[n]);return[o,a,u,c]}function o(n,t){return"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map(function(t){return e(n,t)})}:e(n,t)}var h=function(t){if(null==t)return n;var o,a,u=t.scale[0],c=t.scale[1],f=t.translate[0],s=t.translate[1];return function(t,n){n||(o=a=0);var e=2,r=t.length,i=new Array(r);for(i[0]=(o+=t[0])*u+f,i[1]=(a+=t[1])*c+s;ea&&(i=e[0],e[0]=e[o],e[o]=i,a=r);return e})}}function g(t,n){for(var e=0,r=t.length;e>>1;t[i]=i)throw new Error("full hashset");e=c[n=n+1&f]}return c[n]=t,!0},has:function(t){for(var n=o(t)&f,e=c[n],r=0;e!=u;){if(a(e,t))return!0;if(++r>=i)break;e=c[n=n+1&f]}return!1},values:function(){for(var t=[],n=0,e=c.length;n=o)throw new Error("full hashmap");r=f[e=e+1&l]}return f[e]=t,s[e]=n},maybeSet:function(t,n){for(var e=a(t)&l,r=f[e],i=0;r!=c;){if(u(r,t))return s[e];if(++i>=o)throw new Error("full hashmap");r=f[e=e+1&l]}return f[e]=t,s[e]=n},get:function(t,n){for(var e=a(t)&l,r=f[e],i=0;r!=c;){if(u(r,t))return s[e];if(++i>=o)break;r=f[e=e+1&l]}return n},keys:function(){for(var t=[],n=0,e=f.length;n>7^c[2]^c[3])}function m(t){for(var i=t.coordinates,n=t.lines,e=t.rings,r=function(){for(var t=E(1.4*i.length,x,w,Int32Array,-1,Int32Array),n=new Int32Array(i.length),e=0,r=i.length;e>1);n=r}}function R(t,n){return t[1][2]-n[1][2]}function F(t){return[t[0],t[1],0]}function q(t,n){return n-t}var u=Math.PI,I=2*u,U=u/4,O=u/180,L=Math.abs,B=Math.atan2,j=Math.cos,Y=Math.sin;function H(t,n){for(var e=0,r=t.length,i=0,o=(f=t[n?e++:r-1])[0]*O,a=f[1]*O/2+U,u=j(a),c=Y(a);e>1)-1,r=a[e];if(0<=R(t,r))break;a[r._=n]=r,a[t._=n=e]=t}}function i(t,n){for(;;){var e=n+1<<1,r=e-1,i=n,o=a[i];if(r=a&&(o[r++]=[n[0],n[1]]);return o.length=r,o});return{type:"Topology",transform:t.transform,bbox:t.bbox,objects:t.objects,arcs:n}},t.sphericalRingArea=function(t,n){return t=H(t,!0),n&&(t*=-1),2*(t<0?I+t:t)},t.sphericalTriangleArea=function(t){return 2*L(H(t,!1))},Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/build/bida.pkgd.min.css b/build/bida.pkgd.min.css index 027a099..9774f42 100644 --- a/build/bida.pkgd.min.css +++ b/build/bida.pkgd.min.css @@ -1 +1 @@ -.bida-item-badge-text,.bida-item-badge-icon,.bida-item-badge-text-value{width:94%;display:block;margin-lefT:3%;margin-right:3%;text-align:center}.bida-item-badge-text>span,.bida-item-badge-icon>span,.bida-item-badge-text-value>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:.5px .5px 2px rgba(0,0,0,.2);display:block;width:100%}.bida-item-badge-icon-image{background-size:cover;background-position:center;border-radius:20%;display:block;margin:0 auto}/* * Copyright (c) 2017 ~ present NAVER Corp. * billboard.js project is licensed under the MIT license * * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * * @version 3.6.0 */.bb-color-pattern{background-image:url("#65CFC2;#D0A45F;#64A4F5;#EF65A2;#A377FE;#8AAEC7;#FF7E5A;#898EFE;#FFAC35;#70B0FF;")}.bb svg{font-size:12px;font-family:Helvetica,"Apple SD Gothic Neo",Arial,sans-serif,"nanumgothic","Dotum";line-height:1}.bb path,.bb line{fill:none;stroke:#8c8c8c}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:12px;letter-spacing:-.3px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid,.bb-event-rect,.bb-bars path{shape-rendering:crispEdges}.bb-axis{shape-rendering:crispEdges}.bb-axis-y text,.bb-axis-y2 text{fill:#8c8c8c}.bb-event-rects{fill-opacity:1 !important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:rgba(39,201,3,0.05)}.tick._active_ text{fill:#00c83c !important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ffb6b6;stroke-dasharray:3px}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:white;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3 !important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05 !important}.bb-region{fill:steelblue;fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush{fill-opacity:.1}.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:white;stroke:lightgray;stroke-width:1px}.bb-legend-item line{stroke-dasharray:1px}.bb-title{font-size:14px}.bb-tooltip-container{z-index:10;font-family:Helvetica,"Apple SD Gothic Neo",Arial,sans-serif,"nanumgothic","Dotum";user-select:none}.bb-tooltip{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;border-radius:2px;background-color:#fff;text-align:left;font-size:12px;box-shadow:.5px .5px 1px #999}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:center;border-bottom:dotted 1px #000;background-color:#efefef;color:#000}.bb-tooltip tr:last-child td{border-bottom:0}.bb-tooltip td{padding:3px 6px;background-color:#fff;border-bottom:solid 1px #eee}.bb-tooltip td:first-child{padding-left:5px;border-right:solid 1px #eee}.bb-tooltip td:last-child{padding-right:5px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:5px;height:12px;margin-right:6px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:1px;font-size:12px}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:normal}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px !important;fill:#8c8c8c;font-style:italic}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#8c8c8c;font-style:italic}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:white;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px;font-weight:bold}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#8c8c8c}.bb-chart-radars .bb-axis line{stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;font-weight:bold;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer;opacity:.8;box-shadow:1px 1px 2px #ccc}.bida-calendar-heatmap-tt{font-size:12px}.bida-item-card{display:block;position:relative;width:100%;transition:all .7s ease-out;overflow:auto}.bida-item-card:hover{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.bida-item-card .card-title{margin:0;line-height:36px;font-size:28px;text-align:right;width:100%;font-weight:500}.bida-item-card .card-sub-title{margin:0;text-align:right;width:100%;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.bida-item-card .card-content{display:flex;margin:10px 15px}.bida-item-card .bida-card-footer{margin:0 15px 8px;padding-top:8px;border-top:1px solid #eee;font-size:12px;line-height:14px}.bida-item-card .card-content-icon-div{display:block}.bida-item-card .card-content-icon{height:55px;width:55px;border-radius:50%;line-height:55px;text-align:center;font-size:29px;background:#999;display:block;margin-right:5px;box-shadow:2px 2px 4px .5px rgba(0,0,0,0.26);background-repeat:no-repeat;background-size:cover;background-position:center}.card-title-div{display:block;width:100%}.card-content-icon-text{font-size:24px;display:block}.bb svg{font-family:inherit}.bb-tooltip-container{font-family:inherit}.bb-tooltip{background-color:rgba(240,240,240,1);border:0;box-shadow:none;padding:4px}.bb-tooltip th{background-color:transparent;color:#111;border-bottom:solid 1px #aaa}.bb-tooltip td{background-color:rgba(255,255,255,0.3);color:#111}.bb-line{stroke-width:1.7px}.bb-chart-radars .bb-axis text,.bb-chart-arc text{font-weight:normal}.bb-chart-arc .bb-gauge-value,.bb-chart-arcs .bb-chart-arcs-title{font-style:normal}.bb-grid line{stroke:#e1e1e1}.bb-xgrid-focus line{stroke:#888;stroke-width:1.5px}.bb-chart-radars .bb-shapes polygon,.bb-area{opacity:.3}.bb-color-pattern{background-image:url("#2ac4b3;#feaf29;#ff617b;#73a2ef;#b180d0;#3064cf;#d0a45f;#8aaec7;#ef65a2;#8aaec7;")}.bida-clock-svg{display:block}.bida-clock-second-hand{stroke-width:2px;stroke:#303030}.bida-clock-minute-hand{stroke-width:4px;stroke:#303030;stroke-linecap:round}.bida-clock-hour-hand{stroke-width:6px;stroke:#303030;stroke-linecap:round}.bida-clock-hands-center{stroke-width:3px;stroke:#303030;fill:#303030}.bida-clock-second-tick{stroke-width:1px;stroke:#ccc}.bida-clock-circle{stroke-width:5px;stroke:#ccc;fill-opacity:.3}.bida-clock-hour-tick{stroke-width:3px;stroke:#999}.bida-clock-hour-label{font-size:inherit;fill:#303030;font-weight:600}.bida-clock-second-label{font-size:inherit;fill:#707070}.bida-clock-label,.bida-clock-label2{font-size:inherit;fill:#303030;font-weight:600}.bida-clock-hands-cover{stroke-width:2;fill:white;stroke:#999}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc-unselectable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc *:before,.fc *:after{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc th,.fc td{vertical-align:top;padding:0}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid #ddd;border:1px solid var(--fc-border-color,#ddd)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:'fcicons';src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format('truetype');font-weight:normal;font-style:normal}.fc-icon{display:inline-block;width:1em;height:1em;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:'fcicons' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fc-icon-chevron-left:before{content:"\e900"}.fc-icon-chevron-right:before{content:"\e901"}.fc-icon-chevrons-left:before{content:"\e902"}.fc-icon-chevrons-right:before{content:"\e903"}.fc-icon-minus-square:before{content:"\e904"}.fc-icon-plus-square:before{content:"\e905"}.fc-icon-x:before{content:"\e906"}.fc .fc-button{border-radius:0;overflow:visible;text-transform:none;margin:0;font-family:inherit;font-size:inherit;line-height:inherit}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button::-moz-focus-inner{padding:0;border-style:none}.fc .fc-button{display:inline-block;font-weight:400;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.4em .65em;font-size:1em;line-height:1.5;border-radius:.25em}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{outline:0;box-shadow:0 0 0 .2rem rgba(44,62,80,0.25)}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{color:#fff;color:var(--fc-button-text-color,#fff);background-color:#2c3e50;background-color:var(--fc-button-bg-color,#2c3e50);border-color:#2c3e50;border-color:var(--fc-button-border-color,#2c3e50)}.fc .fc-button-primary:hover{color:#fff;color:var(--fc-button-text-color,#fff);background-color:#1e2b37;background-color:var(--fc-button-hover-bg-color,#1e2b37);border-color:#1a252f;border-color:var(--fc-button-hover-border-color,#1a252f)}.fc .fc-button-primary:disabled{color:#fff;color:var(--fc-button-text-color,#fff);background-color:#2c3e50;background-color:var(--fc-button-bg-color,#2c3e50);border-color:#2c3e50;border-color:var(--fc-button-border-color,#2c3e50)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,0.5)}.fc .fc-button-primary:not(:disabled):active,.fc .fc-button-primary:not(:disabled).fc-button-active{color:#fff;color:var(--fc-button-text-color,#fff);background-color:#1a252f;background-color:var(--fc-button-active-bg-color,#1a252f);border-color:#151e27;border-color:var(--fc-button-active-border-color,#151e27)}.fc .fc-button-primary:not(:disabled):active:focus,.fc .fc-button-primary:not(:disabled).fc-button-active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,0.5)}.fc .fc-button .fc-icon{vertical-align:middle;font-size:1.5em}.fc .fc-button-group{position:relative;display:inline-flex;vertical-align:middle}.fc .fc-button-group>.fc-button{position:relative;flex:1 1 auto}.fc .fc-button-group>.fc-button:hover{z-index:1}.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button.fc-button-active{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-top-left-radius:0;border-bottom-left-radius:0}.fc .fc-toolbar{display:flex;justify-content:space-between;align-items:center}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{position:absolute;top:0;right:0;left:0;bottom:0}.fc .fc-scroller-harness{position:relative;overflow:hidden;direction:ltr}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid #ddd;border:1px solid var(--fc-border-color,#ddd)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{width:100%;table-layout:fixed}.fc .fc-scrollgrid table{border-top-style:hidden;border-left-style:hidden;border-right-style:hidden}.fc .fc-scrollgrid{border-collapse:separate;border-right-width:0;border-bottom-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section{height:1px}.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section table{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-top-width:0;border-left-width:0}.fc .fc-scrollgrid-section-header>*,.fc .fc-scrollgrid-section-footer>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:#fff;background:var(--fc-page-bg-color,#fff);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{position:absolute;top:0;right:0;bottom:0;left:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-non-business,.fc .fc-highlight{position:absolute;top:0;left:0;right:0;bottom:0}.fc .fc-non-business{background:rgba(215,215,215,0.3);background:var(--fc-non-business-color,rgba(215,215,215,0.3))}.fc .fc-bg-event{background:#8fdf82;background:var(--fc-bg-event-color,#8fdf82);opacity:.3;opacity:var(--fc-bg-event-opacity,0.3)}.fc .fc-bg-event .fc-event-title{margin:.5em;font-size:.85em;font-size:var(--fc-small-font-size,.85em);font-style:italic}.fc .fc-highlight{background:rgba(188,232,241,0.3);background:var(--fc-highlight-color,rgba(188,232,241,0.3))}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:rgba(208,208,208,0.3);background:var(--fc-neutral-bg-color,rgba(208,208,208,0.3))}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event[href],.fc-event.fc-event-draggable{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,0.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event:hover .fc-event-resizer,.fc-event-selected .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{border-radius:4px;border-radius:calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);border-width:1px;border-width:var(--fc-event-resizer-dot-border-width,1px);width:8px;width:var(--fc-event-resizer-dot-total-width,8px);height:8px;height:var(--fc-event-resizer-dot-total-width,8px);border-style:solid;border-color:inherit;background:#fff;background:var(--fc-page-bg-color,#fff)}.fc-event-selected .fc-event-resizer:before{content:'';position:absolute;top:-20px;left:-20px;right:-20px;bottom:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,0.2)}.fc-event-selected:before,.fc-event:focus:before{content:"";position:absolute;z-index:3;top:0;left:0;right:0;bottom:0}.fc-event-selected:after,.fc-event:focus:after{content:"";background:rgba(0,0,0,0.25);background:var(--fc-event-selected-overlay-color,rgba(0,0,0,0.25));position:absolute;z-index:1;top:-1px;left:-1px;right:-1px;bottom:-1px}.fc-h-event{display:block;border:1px solid #3788d8;border:1px solid var(--fc-event-border-color,#3788d8);background-color:#3788d8;background-color:var(--fc-event-bg-color,#3788d8)}.fc-h-event .fc-event-main{color:#fff;color:var(--fc-event-text-color,#fff)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;vertical-align:top;left:0;right:0;max-width:100%;overflow:hidden}.fc-h-event.fc-event-selected:before{top:-10px;bottom:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-top-right-radius:0;border-bottom-right-radius:0;border-right-width:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{top:0;bottom:0;width:8px;width:var(--fc-event-resizer-thickness,8px)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:-4px;left:calc(-0.5 * var(--fc-event-resizer-thickness, 8px))}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:-4px;right:calc(-0.5 * var(--fc-event-resizer-thickness, 8px))}.fc-h-event.fc-event-selected .fc-event-resizer{top:50%;margin-top:-4px;margin-top:calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px))}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:-4px;left:calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px))}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:-4px;right:calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px))}.fc .fc-popover{position:absolute;z-index:9999;box-shadow:0 2px 6px rgba(0,0,0,.15)}.fc .fc-popover-header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;opacity:.65;font-size:1.1em}.fc-theme-standard .fc-popover{border:1px solid #ddd;border:1px solid var(--fc-border-color,#ddd);background:#fff;background:var(--fc-page-bg-color,#fff)}.fc-theme-standard .fc-popover-header{background:rgba(208,208,208,0.3);background:var(--fc-neutral-bg-color,rgba(208,208,208,0.3))}:root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-frame:before,.fc-daygrid-day-events:before,.fc-daygrid-event-harness:before{content:"";clear:both;display:table}.fc-daygrid-day-frame:after,.fc-daygrid-day-events:after,.fc-daygrid-event-harness:after{content:"";clear:both;display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:rgba(255,220,40,0.15);background-color:var(--fc-today-bg-color,rgba(255,220,40,0.15))}.fc .fc-daygrid-day-frame{position:relative;min-height:100%}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{position:relative;z-index:4;padding:4px}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{position:absolute;left:0;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{position:relative;min-height:2em}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{position:absolute;top:0;left:0;right:0}.fc .fc-daygrid-bg-harness{position:absolute;top:0;bottom:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{z-index:6;margin-top:1px}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;padding:2px 3px 0}.fc .fc-daygrid-day-bottom:before{content:"";clear:both;display:table}.fc .fc-daygrid-more-link{position:relative;z-index:4;cursor:pointer}.fc .fc-daygrid-week-number{position:absolute;z-index:5;top:0;padding:2px;min-width:1.5em;text-align:center;background-color:rgba(208,208,208,0.3);background-color:var(--fc-neutral-bg-color,rgba(208,208,208,0.3));color:gray;color:var(--fc-neutral-text-color,#808080)}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-week-number{left:0;border-radius:0 0 3px 0}.fc-direction-rtl .fc-daygrid-week-number{right:0;border-radius:0 0 0 3px}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{position:relative;white-space:nowrap;border-radius:3px;font-size:.85em;font-size:var(--fc-small-font-size,.85em)}.fc-daygrid-block-event .fc-event-time{font-weight:bold}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{display:flex;align-items:center;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;min-width:0;overflow:hidden;font-weight:bold}.fc-daygrid-dot-event:hover,.fc-daygrid-dot-event.fc-event-mirror{background:rgba(0,0,0,0.1)}.fc-daygrid-dot-event.fc-event-selected:before{top:-10px;bottom:-10px}.fc-daygrid-event-dot{margin:0 4px;box-sizing:content-box;width:0;height:0;border:4px solid #3788d8;border:calc(var(--fc-daygrid-event-dot-width, 8px) / 2) solid var(--fc-event-border-color, #3788d8);border-radius:4px;border-radius:calc(var(--fc-daygrid-event-dot-width, 8px) / 2)}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}.fc-v-event{display:block;border:1px solid #3788d8;border:1px solid var(--fc-event-border-color,#3788d8);background-color:#3788d8;background-color:var(--fc-event-bg-color,#3788d8)}.fc-v-event .fc-event-main{color:#fff;color:var(--fc-event-text-color,#fff);height:100%}.fc-v-event .fc-event-main-frame{height:100%;display:flex;flex-direction:column}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{top:0;bottom:0;max-height:100%;overflow:hidden}.fc-v-event:not(.fc-event-start){border-top-width:0;border-top-left-radius:0;border-top-right-radius:0}.fc-v-event:not(.fc-event-end){border-bottom-width:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:8px;height:var(--fc-event-resizer-thickness,8px);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:-4px;top:calc(var(--fc-event-resizer-thickness, 8px) / -2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:-4px;bottom:calc(var(--fc-event-resizer-thickness, 8px) / -2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:-4px;margin-left:calc(var(--fc-event-resizer-dot-total-width, 8px) / -2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:-4px;top:calc(var(--fc-event-resizer-dot-total-width, 8px) / -2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:-4px;bottom:calc(var(--fc-event-resizer-dot-total-width, 8px) / -2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{position:relative;z-index:1;min-height:100%}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table{position:relative;z-index:1}.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{height:1.5em;border-bottom:0}.fc .fc-timegrid-slot:empty:before{content:'\00a0'}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{overflow:hidden;display:flex;align-items:center;justify-content:flex-end}.fc .fc-timegrid-axis-cushion{max-width:60px;flex-shrink:0}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{height:auto;position:absolute;top:0;right:0;bottom:0;left:0}.fc .fc-timegrid-col.fc-day-today{background-color:rgba(255,220,40,0.15);background-color:var(--fc-today-bg-color,rgba(255,220,40,0.15))}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{height:auto;position:absolute;top:0;right:0;bottom:0;left:0}.fc-media-screen .fc-timegrid-cols{position:absolute;top:0;left:0;right:0;bottom:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{position:absolute;top:0;left:0;right:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{position:absolute;left:0;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{position:absolute;top:0;bottom:0;left:0;right:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px var(--fc-page-bg-color,#fff)}.fc-timegrid-event,.fc-timegrid-more-link{font-size:.85em;font-size:var(--fc-small-font-size,.85em);border-radius:3px}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{white-space:nowrap;font-size:.85em;font-size:var(--fc-small-font-size,.85em);margin-bottom:1px}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:'\00a0-\00a0'}.fc-timegrid-event-short .fc-event-title{font-size:.85em;font-size:var(--fc-small-font-size,.85em)}.fc-timegrid-more-link{position:absolute;z-index:9999;color:inherit;color:var(--fc-more-link-text-color,inherit);background:#d0d0d0;background:var(--fc-more-link-bg-color,#d0d0d0);cursor:pointer;margin-bottom:1px}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{position:absolute;z-index:4;left:0;right:0;border-style:solid;border-color:red;border-color:var(--fc-now-indicator-color,red);border-width:1px 0 0}.fc .fc-timegrid-now-indicator-arrow{position:absolute;z-index:4;margin-top:-5px;border-style:solid;border-color:red;border-color:var(--fc-now-indicator-color,red)}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{left:0;border-width:5px 0 5px 6px;border-top-color:transparent;border-bottom-color:transparent}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{right:0;border-width:5px 6px 5px 0;border-top-color:transparent;border-bottom-color:transparent}:root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid #ddd;border:1px solid var(--fc-border-color,#ddd)}.fc .fc-list-empty{background-color:rgba(208,208,208,0.3);background-color:var(--fc-neutral-bg-color,rgba(208,208,208,0.3));height:100%;display:flex;justify-content:center;align-items:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{width:100%;border-style:hidden}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{position:sticky;top:0;background:#fff;background:var(--fc-page-bg-color,#fff)}.fc .fc-list-table thead{position:absolute;left:-10000px}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-table td,.fc .fc-list-day-cushion{padding:8px 14px}.fc .fc-list-day-cushion:after{content:"";clear:both;display:table}.fc-theme-standard .fc-list-day-cushion{background-color:rgba(208,208,208,0.3);background-color:var(--fc-neutral-bg-color,rgba(208,208,208,0.3))}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:#f5f5f5;background-color:var(--fc-list-event-hover-bg-color,#f5f5f5)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{display:inline-block;box-sizing:content-box;width:0;height:0;border:5px solid #3788d8;border:calc(var(--fc-list-event-dot-width, 10px) / 2) solid var(--fc-event-border-color, #3788d8);border-radius:5px;border-radius:calc(var(--fc-list-event-dot-width, 10px) / 2)}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}.fc-theme-bootstrap a:not([href]){color:inherit}.fc-theme-bootstrap5 a:not([href]){color:inherit;text-decoration:inherit}.fc-theme-bootstrap5 .fc-list,.fc-theme-bootstrap5 .fc-scrollgrid,.fc-theme-bootstrap5 td,.fc-theme-bootstrap5 th{border:1px solid var(--bs-gray-400)}.fc-theme-bootstrap5 .fc-scrollgrid{border-right-width:0;border-bottom-width:0}.fc-theme-bootstrap5-shaded{background-color:var(--bs-gray-200)}.fc-h-event{border:0;background:#707070}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:5px;padding-right:8px;padding-top:4px}.fc .fc-toolbar-title{font-size:18px;padding-left:8px}.fc .fc-button{padding-left:10px;padding-top:3px;padding-bottom:4px;font-size:14px;line-height:16px;font-weight:500;color:inherit;background:0;border:1px solid #707070}.fc .fc-button .fc-icon{font-size:14px;line-height:14px;font-weight:500}.fc .fc-scroller{overflow:hidden auto !important}.fc .fc-button-primary:hover .fc-button-primary{color:inherit;background:transparent;border:1px solid rgba(0,0,0,0.2);padding:0 4px;border-radius:1px}.fc .fc-button-primary:disabled{color:inherit;background:transparent;border:1px solid rgba(0,0,0,0.2);opacity:.4}.fc .fc-button-primary:hover{color:white;background:rgba(120,120,120,.6);border:1px solid rgba(0,0,0,0.2);border:0}.fc .fc-col-header-cell-cushion{padding:0 4px}.fc .fc-col-header-cell-cushion,.fc .fc-daygrid-day-number,.fc-direction-ltr .fc-list-day-text,.fc-direction-ltr .fc-list-day-side-text{color:inherit;font-weight:400;line-height:14px;font-size:13px}.fc .fc-button-primary:not(:disabled):active{color:white;background:rgba(70,70,70,.6);border:1px solid rgba(0,0,0,0.2)}.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:none}.fc table,.bida-calendar-event-tt-content,.bida-calendar-event-tt-date,.bida-calendar-event-tt-icon{font-size:13px}.bida-calendar-event-tt-title,.bida-calendar-event-tt-date,.bida-calendar-event-tt-icon{line-height:20px}.bida-calendar-event-tt-title,.bida-calendar-event-tt-title *{font-weight:600}.fc .fc-daygrid-day.fc-day-today,.fc .fc-timegrid-col.fc-day-today{background:rgba(200,200,200,0.3)}.fc .fc-daygrid-day-number{padding:0;padding-right:4px}.fc .fc-daygrid-day-events{margin-top:0}.fc .fc-list-sticky .fc-list-day>*{background:transparent}.bida-item-html-slide-lc,.bida-item-html-slide-rc{background:rgba(0,0,0,0.2);text-align:center;position:absolute;bottom:calc(50% - 40px);cursor:pointer}.bida-item-html-slide-lc:hover,.bida-item-html-slide-rc:hover{background:rgba(120,120,120,0.6)}.bida-item-html-slide-lc-s,.bida-item-html-slide-rc-s{border-radius:10%;padding-top:20px;padding-bottom:20px;padding-left:2px;padding-right:2px;color:white}.bida-item-html-slide-lc-s.fa,.bida-item-html-slide-rc-s.fa{font-size:24px}.bida-item-html-slide-lc{left:5px}.bida-item-html-slide-rc{right:5px}.bida-item-list-div{overflow:auto}.bida-item-list,.bida-item-list-grouped{display:block;width:100%;position:relative;list-style-type:none;margin:0;padding:5px}.bida-item-list-grouped{padding-left:0}.bida-item-list .list-item-title{line-height:20px;font-size:15px;width:100%;display:inline-block;font-weight:500}.list-item-content-text{width:100%;display:block}.list-item-text{word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;width:100%;display:block;font-size:12px;line-height:16px}.bida-item-list .list-item-content{display:flex;padding:4px;width:100%;transition:all .7s ease-out}.bida-item-list .bida-item-list-item{border-left:3px solid transparent}.bida-item-list-grouped .bida-item-list-item{border-left:0}.bida-item-list-item-group .list-group-content-title{line-height:30px;font-size:15px;width:100%;display:inline-block;font-weight:500;padding-left:8px;word-break:break-all;padding-right:8px}.bida-item-list-item-group .list-group-content{box-shadow:0 0 3px .32px rgba(0,0,0,.26);margin-bottom:10px;margin-top:5px}.bida-item-list .list-item-content:hover{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.bida-item-list .list-item-content-icon-div{display:block}.bida-item-list .list-item-content-icon{height:40px;width:40px;border-radius:50%;line-height:40px;text-align:center;font-size:23px;background:#999;display:block;margin-right:10px;box-shadow:2px 2px 4px .5px rgba(0,0,0,0.26);background-repeat:no-repeat;background-size:cover;background-position:center}.bida-item-list .list-item-content-icon-text{font-size:17px;display:block}.bida-map-svg{display:block}.bida-container{width:100%;margin-bottom:5px}.bida-container-nodat{min-height:150px}.bida-container::after{content:"";display:block;clear:both}.bida-container-item{box-shadow:0 0 6px .32px rgba(0,0,0,0.26);background:white;background-size:cover;background-position:center}.bida-item-div-overflow::after{content:"";position:absolute;z-index:1;bottom:0;left:0;pointer-events:none;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,rgba(255,255,255,0.5) 70%,rgba(255,255,255,1) 100%);background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,rgba(255,255,255,0.5) 70%,rgba(255,255,255,1) 100%);background:linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,0.5) 70%,rgba(255,255,255,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff',endColorstr='#ffffff',GradientType=0);width:100%;height:36px;opacity:1;transition:opacity .5s linear}.bida-item-div-overflow-hidden::after{opacity:0}.bida-container-item-marked::before{position:absolute;content:"";top:0;left:0;width:0;height:0;border-style:solid;border-width:12px 12px 0 0;border-color:#f00 transparent transparent transparent}.bida-container-sizer,.bida-container-item,.bida-container-item--width1,.bida-container-item--width2,.bida-container-item--width3,.bida-container-item--width4,.bida-container-item--width5,.bida-container-item--width6,.bida-container-item--width7,.bida-container-item--width8,.bida-container-item--width9,.bida-container-item--width10,.bida-container-item--width11,.bida-container-item--width12{width:calc(100% - 10px);margin-bottom:10px;margin-right:5px;margin-left:5px}@media only screen and (min-width:640px){.bida-container-sizer,.bida-container-item,.bida-container-item--width1,.bida-container-item--width2,.bida-container-item--width3,.bida-container-item--width4,.bida-container-item--width5,.bida-container-item--width6{width:calc(50% - 10px)}.bida-container-item--width7,.bida-container-item--width8,.bida-container-item--width9,.bida-container-item--width10,.bida-container-item--width11,.bida-container-item--width12{width:calc(100% - 10px)}}@media only screen and (min-width:800px){.bida-container-sizer,.bida-container-item,.bida-container-item--width1,.bida-container-item--width2,.bida-container-item--width3{width:calc(25% - 10px)}.bida-container-item--width4,.bida-container-item--width5,.bida-container-item--width6{width:calc(50% - 10px)}.bida-container-item--width7,.bida-container-item--width8,.bida-container-item--width9{width:calc(75% - 10px)}.bida-container-item--width10,.bida-container-item--width11,.bida-container-item--width12{width:calc(100% - 10px)}}@media only screen and (min-width:1280px){.bida-container-sizer,.bida-container-item,.bida-container-item--width1,.bida-container-item--width2{width:calc(16.66% - 10px)}.bida-container-item--width3,.bida-container-item--width4{width:calc(33.33% - 10px)}.bida-container-item--width5,.bida-container-item--width6{width:calc(50% - 10px)}.bida-container-item--width7,.bida-container-item--width8{width:calc(66.66% - 10px)}.bida-container-item--width9,.bida-container-item--width10{width:calc(82.66% - 10px)}.bida-container-item--width11,.bida-container-item--width12{width:calc(100% - 10px)}}@media only screen and (min-width:1600px){.bida-container-sizer,.bida-container-item,.bida-container-item--width1{width:calc(8.33% - 10px)}.bida-container-item--width2{width:calc(16.66% - 10px)}.bida-container-item--width3{width:calc(25% - 10px)}.bida-container-item--width4{width:calc(33.32% - 10px)}.bida-container-item--width5{width:calc(41.65% - 10px)}.bida-container-item--width6{width:calc(50% - 10px)}.bida-container-item--width7{width:calc(58.31% - 10px)}.bida-container-item--width8{width:calc(66.64% - 10px)}.bida-container-item--width9{width:calc(75% - 10px)}.bida-container-item--width10{width:calc(83.3% - 10px)}.bida-container-item--width11{width:calc(91.63% - 10px)}.bida-container-item--width12{width:calc(100% - 10px)}}.bida-container>.ui-sortable-placeholder{outline:2px dashed #787878;background:transparent}.pell{border:10px solid transparent}.bida-note>.pell-actionbar{background-color:transparent}.pell-content{height:100%;overflow:auto}.pell-content .fa{font-size:inherit;line-height:inherit;vertical-align:middle}.pell-content p{margin:0}.pell-button{height:auto;width:auto}.pell-button-c.fa{line-height:26px;height:26px;font-size:16px;width:16px;white-space:pre}.pell-content ul,.pell-content ol,.pell-content dl{margin-left:20px;margin-top:0}.pell-button-disabled{pointer-events:none;opacity:.5}.pell-button-c-select{width:40px;background:#fff;border:0 solid #ccc}.pell{border:1px solid rgba(10,10,10,0.1);box-sizing:border-box}.pell-content{box-sizing:border-box;height:300px;outline:0;overflow-y:auto;padding:10px}.pell-actionbar{background-color:#FFF;border-bottom:1px solid rgba(10,10,10,0.1)}.pell-button{background-color:transparent;border:0;cursor:pointer;height:30px;outline:0;width:30px;vertical-align:bottom}.pell-button-selected{background-color:#f0f0f0}.bida-item-title{padding-left:8px;width:100%;border-bottom:1px solid #ebebeb;padding-right:30px;height:34px;background-size:cover;background-position:center}.bida-item-title-text{line-height:34px;font-size:17px}.bida-item-title-icon{font-size:inherit !important;line-height:inherit;margin-right:3px}.bida-item-subtext-text{color:#707070;font-size:12px;line-height:14px;padding:5px;padding-right:32px;display:block;width:100%}.bida-item-html{width:100%;display:block;padding:8px;overflow:auto}.bida-item-options-link,.bida-item-options-link-top{position:absolute;right:4px;z-index:100;border-radius:50%;padding:3px;opacity:.6}.bida-item-options-link{bottom:4px}.bida-item-options-link-top{top:4px}.bida-item-options-link-icon{font-size:15px;text-align:center;line-height:17px}.bida-item-options-link-icon{color:black;border-radius:50%;background-position:center;background-size:cover;width:18px;height:18px;display:block}.truncate-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;display:block}.bida-a{color:inherit;display:block;overflow:auto}.bida-item-table-div{display:block;width:100%;overflow:auto}.bida-item-table{border-spacing:0;border-collapse:collapse;width:100%;max-width:100%;text-align:left}.bida-item-table-header{font-weight:bold;padding:8px;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.bida-item-table-cell{padding:8px;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.bida-item-table-row{transition:all .1s ease-out}.bida-item-table-row:hover{-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-filter:invert(20%);filter:invert(20%)} \ No newline at end of file +.bida-item-badge-text,.bida-item-badge-icon,.bida-item-badge-text-value{width:94%;display:block;margin-lefT:3%;margin-right:3%;text-align:center}.bida-item-badge-text>span,.bida-item-badge-icon>span,.bida-item-badge-text-value>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:.5px .5px 2px rgba(0,0,0,.2);display:block;width:100%}.bida-item-badge-icon-image{background-size:cover;background-position:center;border-radius:20%;display:block;margin:0 auto}/* * Copyright (c) 2017 ~ present NAVER Corp. * billboard.js project is licensed under the MIT license * * billboard.js, JavaScript chart library * https://naver.github.io/billboard.js/ * * @version 3.9.1 */.bb-color-pattern{background-image:url("#65CFC2;#D0A45F;#64A4F5;#EF65A2;#A377FE;#8AAEC7;#FF7E5A;#898EFE;#FFAC35;#70B0FF;")}.bb svg{font-size:12px;font-family:Helvetica,"Apple SD Gothic Neo",Arial,sans-serif,"nanumgothic","Dotum";line-height:1}.bb path,.bb line{fill:none;stroke:#8c8c8c}.bb text,.bb .bb-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;fill:#555;font-size:12px;letter-spacing:-.3px}.bb-legend-item-title,.bb-xgrid-focus,.bb-ygrid-focus,.bb-ygrid{shape-rendering:crispEdges}.bb-chart-arcs .bb-needle{fill:#000}.bb-axis{shape-rendering:crispEdges}.bb-axis-y text,.bb-axis-y2 text{fill:#8c8c8c}.bb-event-rects{fill-opacity:1 !important}.bb-event-rects .bb-event-rect{fill:transparent}.bb-event-rects .bb-event-rect._active_{fill:rgba(39,201,3,0.05)}.tick._active_ text{fill:#00c83c !important}.bb-grid{pointer-events:none}.bb-grid line{stroke:#f1f1f1}.bb-xgrid-focus line,.bb-ygrid-focus line{stroke:#ffb6b6;stroke-dasharray:3px}.bb-text.bb-empty{fill:#767676}.bb-line{stroke-width:1px}.bb-circle._expanded_{stroke-width:2px}rect.bb-circle._expanded_,use.bb-circle._expanded_{stroke-width:2px}.bb-selected-circle{fill:white;stroke-width:2px}.bb-bar{stroke-width:0}.bb-bar._expanded_{fill-opacity:.75}.bb-candlestick{stroke-width:1px}.bb-candlestick._expanded_{fill-opacity:.75}.bb-target.bb-focused,.bb-circles.bb-focused{opacity:1}.bb-target.bb-focused path.bb-line,.bb-target.bb-focused path.bb-step,.bb-circles.bb-focused path.bb-line,.bb-circles.bb-focused path.bb-step{stroke-width:2px}.bb-target.bb-defocused,.bb-circles.bb-defocused{opacity:.3 !important}.bb-target.bb-defocused .text-overlapping,.bb-circles.bb-defocused .text-overlapping{opacity:.05 !important}.bb-region{fill:steelblue;fill-opacity:.1}.bb-region.selected rect{fill:#27c903}.bb-zoom-brush{fill-opacity:.1}.bb-brush .extent{fill-opacity:.1}.bb-legend-item{user-select:none}.bb-legend-item-hidden{opacity:.15}.bb-legend-background{opacity:.75;fill:white;stroke:lightgray;stroke-width:1px}.bb-legend-item line{stroke-dasharray:1px}.bb-title{font-size:14px}.bb-chart-treemaps rect{stroke:#fff;stroke-width:1px}.bb-tooltip-container{z-index:10;font-family:Helvetica,"Apple SD Gothic Neo",Arial,sans-serif,"nanumgothic","Dotum";user-select:none}.bb-tooltip{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-collapse:separate;border-spacing:0;empty-cells:show;border:1px solid #999;border-radius:2px;background-color:#fff;text-align:left;font-size:12px;box-shadow:.5px .5px 1px #999;white-space:nowrap}.bb-tooltip th{font-size:12px;padding:4px 8px;text-align:center;border-bottom:dotted 1px #000;background-color:#efefef;color:#000}.bb-tooltip tr:last-child td{border-bottom:0}.bb-tooltip td{padding:3px 6px;background-color:#fff;border-bottom:solid 1px #eee}.bb-tooltip td:first-child{padding-left:5px;border-right:solid 1px #eee}.bb-tooltip td:last-child{padding-right:5px}.bb-tooltip td>span,.bb-tooltip td>svg{display:inline-block;width:5px;height:12px;margin-right:6px;vertical-align:middle}.bb-tooltip td.value{border-left:1px solid transparent;text-align:right}.bb-tooltip .bb-tooltip-title{display:inline-block;color:#aaa;line-height:20px}.bb-tooltip .bb-tooltip-detail table{border-collapse:collapse;border-spacing:1px;font-size:12px}.bb-tooltip .bb-tooltip-detail .bb-tooltip-name,.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{line-height:13px;padding:4px 0 3px;color:#444;text-align:left;font-weight:normal}.bb-tooltip .bb-tooltip-detail .bb-tooltip-value{padding-left:5px;font-weight:800}.bb-area{stroke-width:0;opacity:.2}.bb-chart-arcs-title{dominant-baseline:middle;font-size:1.3em}text.bb-chart-arcs-gauge-title{dominant-baseline:middle;font-size:2.7em}.bb-chart-arcs .bb-chart-arcs-background{fill:#e0e0e0;stroke:#fff}.bb-chart-arcs .bb-chart-arcs-gauge-unit{fill:#000;font-size:16px}.bb-chart-arcs .bb-chart-arcs-gauge-min,.bb-chart-arcs .bb-chart-arcs-gauge-max{fill:#777}.bb-chart-arcs .bb-chart-arcs-title{font-size:16px !important;fill:#8c8c8c;font-style:italic}.bb-chart-arcs path.empty{fill:#eaeaea;stroke-width:0}.bb-chart-arcs .bb-levels circle{fill:none;stroke:#848282;stroke-width:.5px}.bb-chart-arcs .bb-levels text{fill:#848282}.bb-chart-arc .bb-gauge-value{fill:#8c8c8c;font-style:italic}.bb-chart-arc path{stroke:#fff}.bb-chart-arc rect{stroke:white;stroke-width:1}.bb-chart-arc text{fill:#fff;font-size:13px;font-weight:bold}.bb-chart-radars .bb-levels polygon{fill:none;stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-levels text{fill:#8c8c8c}.bb-chart-radars .bb-axis line{stroke:#8c8c8c;stroke-width:.5px}.bb-chart-radars .bb-axis text{font-size:1.15em;font-weight:bold;cursor:default}.bb-chart-radars .bb-shapes polygon{fill-opacity:.2;stroke-width:1px}.bb-button{position:absolute;top:10px;right:10px}.bb-button .bb-zoom-reset{border:solid 1px #ccc;background-color:#fff;padding:5px;border-radius:5px;cursor:pointer;opacity:.8;box-shadow:1px 1px 2px #ccc}.bida-calendar-heatmap-tt{font-size:12px}.bida-item-card{display:block;position:relative;width:100%;transition:all .7s ease-out;overflow:auto}.bida-item-card:hover{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.bida-item-card .card-title{margin:0;line-height:36px;font-size:28px;text-align:right;width:100%;font-weight:500}.bida-item-card .card-sub-title{margin:0;text-align:right;width:100%;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.bida-item-card .card-content{display:flex;margin:10px 15px}.bida-item-card .bida-card-footer{margin:0 15px 8px;padding-top:8px;border-top:1px solid #eee;font-size:12px;line-height:14px}.bida-item-card .card-content-icon-div{display:block}.bida-item-card .card-content-icon{height:55px;width:55px;border-radius:50%;line-height:55px;text-align:center;font-size:29px;background:#999;display:block;margin-right:5px;box-shadow:2px 2px 4px .5px rgba(0,0,0,0.26);background-repeat:no-repeat;background-size:cover;background-position:center}.card-title-div{display:block;width:100%}.card-content-icon-text{font-size:24px;display:block}.bb svg{font-family:inherit}.bb-tooltip-container{font-family:inherit}.bb-tooltip{background-color:rgba(240,240,240,1);border:0;box-shadow:none;padding:4px}.bb-tooltip th{background-color:transparent;color:#111;border-bottom:solid 1px #aaa}.bb-tooltip td{background-color:rgba(255,255,255,0.3);color:#111}.bb-line{stroke-width:1.7px}.bb-chart-radars .bb-axis text,.bb-chart-arc text{font-weight:normal}.bb-chart-arc .bb-gauge-value,.bb-chart-arcs .bb-chart-arcs-title{font-style:normal}.bb-grid line{stroke:#e1e1e1}.bb-xgrid-focus line{stroke:#888;stroke-width:1.5px}.bb-chart-radars .bb-shapes polygon,.bb-area{opacity:.3}.bb-color-pattern{background-image:url("#2ac4b3;#feaf29;#ff617b;#73a2ef;#b180d0;#3064cf;#d0a45f;#8aaec7;#ef65a2;#8aaec7;")}.bida-clock-svg{display:block}.bida-clock-second-hand{stroke-width:2px;stroke:#303030}.bida-clock-minute-hand{stroke-width:4px;stroke:#303030;stroke-linecap:round}.bida-clock-hour-hand{stroke-width:6px;stroke:#303030;stroke-linecap:round}.bida-clock-hands-center{stroke-width:3px;stroke:#303030;fill:#303030}.bida-clock-second-tick{stroke-width:1px;stroke:#ccc}.bida-clock-circle{stroke-width:5px;stroke:#ccc;fill-opacity:.3}.bida-clock-hour-tick{stroke-width:3px;stroke:#999}.bida-clock-hour-label{font-size:inherit;fill:#303030;font-weight:600}.bida-clock-second-label{font-size:inherit;fill:#707070}.bida-clock-label,.bida-clock-label2{font-size:inherit;fill:#303030;font-weight:600}.bida-clock-hands-cover{stroke-width:2;fill:white;stroke:#999}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc-unselectable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc *:before,.fc *:after{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc th,.fc td{vertical-align:top;padding:0}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid #ddd;border:1px solid var(--fc-border-color,#ddd)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:'fcicons';src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format('truetype');font-weight:normal;font-style:normal}.fc-icon{display:inline-block;width:1em;height:1em;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:'fcicons' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fc-icon-chevron-left:before{content:"\e900"}.fc-icon-chevron-right:before{content:"\e901"}.fc-icon-chevrons-left:before{content:"\e902"}.fc-icon-chevrons-right:before{content:"\e903"}.fc-icon-minus-square:before{content:"\e904"}.fc-icon-plus-square:before{content:"\e905"}.fc-icon-x:before{content:"\e906"}.fc .fc-button{border-radius:0;overflow:visible;text-transform:none;margin:0;font-family:inherit;font-size:inherit;line-height:inherit}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button::-moz-focus-inner{padding:0;border-style:none}.fc .fc-button{display:inline-block;font-weight:400;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px solid transparent;padding:.4em .65em;font-size:1em;line-height:1.5;border-radius:.25em}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{outline:0;box-shadow:0 0 0 .2rem rgba(44,62,80,0.25)}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{color:#fff;color:var(--fc-button-text-color,#fff);background-color:#2c3e50;background-color:var(--fc-button-bg-color,#2c3e50);border-color:#2c3e50;border-color:var(--fc-button-border-color,#2c3e50)}.fc .fc-button-primary:hover{color:#fff;color:var(--fc-button-text-color,#fff);background-color:#1e2b37;background-color:var(--fc-button-hover-bg-color,#1e2b37);border-color:#1a252f;border-color:var(--fc-button-hover-border-color,#1a252f)}.fc .fc-button-primary:disabled{color:#fff;color:var(--fc-button-text-color,#fff);background-color:#2c3e50;background-color:var(--fc-button-bg-color,#2c3e50);border-color:#2c3e50;border-color:var(--fc-button-border-color,#2c3e50)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,0.5)}.fc .fc-button-primary:not(:disabled):active,.fc .fc-button-primary:not(:disabled).fc-button-active{color:#fff;color:var(--fc-button-text-color,#fff);background-color:#1a252f;background-color:var(--fc-button-active-bg-color,#1a252f);border-color:#151e27;border-color:var(--fc-button-active-border-color,#151e27)}.fc .fc-button-primary:not(:disabled):active:focus,.fc .fc-button-primary:not(:disabled).fc-button-active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,0.5)}.fc .fc-button .fc-icon{vertical-align:middle;font-size:1.5em}.fc .fc-button-group{position:relative;display:inline-flex;vertical-align:middle}.fc .fc-button-group>.fc-button{position:relative;flex:1 1 auto}.fc .fc-button-group>.fc-button:hover{z-index:1}.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button.fc-button-active{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){margin-right:-1px;border-top-right-radius:0;border-bottom-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-top-left-radius:0;border-bottom-left-radius:0}.fc .fc-toolbar{display:flex;justify-content:space-between;align-items:center}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{position:absolute;top:0;right:0;left:0;bottom:0}.fc .fc-scroller-harness{position:relative;overflow:hidden;direction:ltr}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid #ddd;border:1px solid var(--fc-border-color,#ddd)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{width:100%;table-layout:fixed}.fc .fc-scrollgrid table{border-top-style:hidden;border-left-style:hidden;border-right-style:hidden}.fc .fc-scrollgrid{border-collapse:separate;border-right-width:0;border-bottom-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section{height:1px}.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section table{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-top-width:0;border-left-width:0}.fc .fc-scrollgrid-section-header>*,.fc .fc-scrollgrid-section-footer>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:#fff;background:var(--fc-page-bg-color,#fff);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{position:absolute;top:0;right:0;bottom:0;left:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-non-business,.fc .fc-highlight{position:absolute;top:0;left:0;right:0;bottom:0}.fc .fc-non-business{background:rgba(215,215,215,0.3);background:var(--fc-non-business-color,rgba(215,215,215,0.3))}.fc .fc-bg-event{background:#8fdf82;background:var(--fc-bg-event-color,#8fdf82);opacity:.3;opacity:var(--fc-bg-event-opacity,0.3)}.fc .fc-bg-event .fc-event-title{margin:.5em;font-size:.85em;font-size:var(--fc-small-font-size,.85em);font-style:italic}.fc .fc-highlight{background:rgba(188,232,241,0.3);background:var(--fc-highlight-color,rgba(188,232,241,0.3))}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:rgba(208,208,208,0.3);background:var(--fc-neutral-bg-color,rgba(208,208,208,0.3))}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event[href],.fc-event.fc-event-draggable{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,0.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event:hover .fc-event-resizer,.fc-event-selected .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{border-radius:4px;border-radius:calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);border-width:1px;border-width:var(--fc-event-resizer-dot-border-width,1px);width:8px;width:var(--fc-event-resizer-dot-total-width,8px);height:8px;height:var(--fc-event-resizer-dot-total-width,8px);border-style:solid;border-color:inherit;background:#fff;background:var(--fc-page-bg-color,#fff)}.fc-event-selected .fc-event-resizer:before{content:'';position:absolute;top:-20px;left:-20px;right:-20px;bottom:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,0.2)}.fc-event-selected:before,.fc-event:focus:before{content:"";position:absolute;z-index:3;top:0;left:0;right:0;bottom:0}.fc-event-selected:after,.fc-event:focus:after{content:"";background:rgba(0,0,0,0.25);background:var(--fc-event-selected-overlay-color,rgba(0,0,0,0.25));position:absolute;z-index:1;top:-1px;left:-1px;right:-1px;bottom:-1px}.fc-h-event{display:block;border:1px solid #3788d8;border:1px solid var(--fc-event-border-color,#3788d8);background-color:#3788d8;background-color:var(--fc-event-bg-color,#3788d8)}.fc-h-event .fc-event-main{color:#fff;color:var(--fc-event-text-color,#fff)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;vertical-align:top;left:0;right:0;max-width:100%;overflow:hidden}.fc-h-event.fc-event-selected:before{top:-10px;bottom:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-top-right-radius:0;border-bottom-right-radius:0;border-right-width:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{top:0;bottom:0;width:8px;width:var(--fc-event-resizer-thickness,8px)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:-4px;left:calc(-0.5 * var(--fc-event-resizer-thickness, 8px))}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:-4px;right:calc(-0.5 * var(--fc-event-resizer-thickness, 8px))}.fc-h-event.fc-event-selected .fc-event-resizer{top:50%;margin-top:-4px;margin-top:calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px))}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:-4px;left:calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px))}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:-4px;right:calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px))}.fc .fc-popover{position:absolute;z-index:9999;box-shadow:0 2px 6px rgba(0,0,0,.15)}.fc .fc-popover-header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;opacity:.65;font-size:1.1em}.fc-theme-standard .fc-popover{border:1px solid #ddd;border:1px solid var(--fc-border-color,#ddd);background:#fff;background:var(--fc-page-bg-color,#fff)}.fc-theme-standard .fc-popover-header{background:rgba(208,208,208,0.3);background:var(--fc-neutral-bg-color,rgba(208,208,208,0.3))}:root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-frame:before,.fc-daygrid-day-events:before,.fc-daygrid-event-harness:before{content:"";clear:both;display:table}.fc-daygrid-day-frame:after,.fc-daygrid-day-events:after,.fc-daygrid-event-harness:after{content:"";clear:both;display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:rgba(255,220,40,0.15);background-color:var(--fc-today-bg-color,rgba(255,220,40,0.15))}.fc .fc-daygrid-day-frame{position:relative;min-height:100%}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{position:relative;z-index:4;padding:4px}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{position:absolute;left:0;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{position:relative;min-height:2em}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{position:absolute;top:0;left:0;right:0}.fc .fc-daygrid-bg-harness{position:absolute;top:0;bottom:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{z-index:6;margin-top:1px}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;padding:2px 3px 0}.fc .fc-daygrid-day-bottom:before{content:"";clear:both;display:table}.fc .fc-daygrid-more-link{position:relative;z-index:4;cursor:pointer}.fc .fc-daygrid-week-number{position:absolute;z-index:5;top:0;padding:2px;min-width:1.5em;text-align:center;background-color:rgba(208,208,208,0.3);background-color:var(--fc-neutral-bg-color,rgba(208,208,208,0.3));color:gray;color:var(--fc-neutral-text-color,#808080)}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-week-number{left:0;border-radius:0 0 3px 0}.fc-direction-rtl .fc-daygrid-week-number{right:0;border-radius:0 0 0 3px}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{position:relative;white-space:nowrap;border-radius:3px;font-size:.85em;font-size:var(--fc-small-font-size,.85em)}.fc-daygrid-block-event .fc-event-time{font-weight:bold}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{display:flex;align-items:center;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;min-width:0;overflow:hidden;font-weight:bold}.fc-daygrid-dot-event:hover,.fc-daygrid-dot-event.fc-event-mirror{background:rgba(0,0,0,0.1)}.fc-daygrid-dot-event.fc-event-selected:before{top:-10px;bottom:-10px}.fc-daygrid-event-dot{margin:0 4px;box-sizing:content-box;width:0;height:0;border:4px solid #3788d8;border:calc(var(--fc-daygrid-event-dot-width, 8px) / 2) solid var(--fc-event-border-color, #3788d8);border-radius:4px;border-radius:calc(var(--fc-daygrid-event-dot-width, 8px) / 2)}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}.fc-v-event{display:block;border:1px solid #3788d8;border:1px solid var(--fc-event-border-color,#3788d8);background-color:#3788d8;background-color:var(--fc-event-bg-color,#3788d8)}.fc-v-event .fc-event-main{color:#fff;color:var(--fc-event-text-color,#fff);height:100%}.fc-v-event .fc-event-main-frame{height:100%;display:flex;flex-direction:column}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{top:0;bottom:0;max-height:100%;overflow:hidden}.fc-v-event:not(.fc-event-start){border-top-width:0;border-top-left-radius:0;border-top-right-radius:0}.fc-v-event:not(.fc-event-end){border-bottom-width:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:8px;height:var(--fc-event-resizer-thickness,8px);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:-4px;top:calc(var(--fc-event-resizer-thickness, 8px) / -2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:-4px;bottom:calc(var(--fc-event-resizer-thickness, 8px) / -2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:-4px;margin-left:calc(var(--fc-event-resizer-dot-total-width, 8px) / -2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:-4px;top:calc(var(--fc-event-resizer-dot-total-width, 8px) / -2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:-4px;bottom:calc(var(--fc-event-resizer-dot-total-width, 8px) / -2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{position:relative;z-index:1;min-height:100%}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table{position:relative;z-index:1}.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{height:1.5em;border-bottom:0}.fc .fc-timegrid-slot:empty:before{content:'\00a0'}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{overflow:hidden;display:flex;align-items:center;justify-content:flex-end}.fc .fc-timegrid-axis-cushion{max-width:60px;flex-shrink:0}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{height:auto;position:absolute;top:0;right:0;bottom:0;left:0}.fc .fc-timegrid-col.fc-day-today{background-color:rgba(255,220,40,0.15);background-color:var(--fc-today-bg-color,rgba(255,220,40,0.15))}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{height:auto;position:absolute;top:0;right:0;bottom:0;left:0}.fc-media-screen .fc-timegrid-cols{position:absolute;top:0;left:0;right:0;bottom:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{position:absolute;top:0;left:0;right:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{position:absolute;left:0;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{position:absolute;top:0;bottom:0;left:0;right:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px #fff;box-shadow:0 0 0 1px var(--fc-page-bg-color,#fff)}.fc-timegrid-event,.fc-timegrid-more-link{font-size:.85em;font-size:var(--fc-small-font-size,.85em);border-radius:3px}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{white-space:nowrap;font-size:.85em;font-size:var(--fc-small-font-size,.85em);margin-bottom:1px}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:'\00a0-\00a0'}.fc-timegrid-event-short .fc-event-title{font-size:.85em;font-size:var(--fc-small-font-size,.85em)}.fc-timegrid-more-link{position:absolute;z-index:9999;color:inherit;color:var(--fc-more-link-text-color,inherit);background:#d0d0d0;background:var(--fc-more-link-bg-color,#d0d0d0);cursor:pointer;margin-bottom:1px}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{position:absolute;z-index:4;left:0;right:0;border-style:solid;border-color:red;border-color:var(--fc-now-indicator-color,red);border-width:1px 0 0}.fc .fc-timegrid-now-indicator-arrow{position:absolute;z-index:4;margin-top:-5px;border-style:solid;border-color:red;border-color:var(--fc-now-indicator-color,red)}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{left:0;border-width:5px 0 5px 6px;border-top-color:transparent;border-bottom-color:transparent}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{right:0;border-width:5px 6px 5px 0;border-top-color:transparent;border-bottom-color:transparent}:root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid #ddd;border:1px solid var(--fc-border-color,#ddd)}.fc .fc-list-empty{background-color:rgba(208,208,208,0.3);background-color:var(--fc-neutral-bg-color,rgba(208,208,208,0.3));height:100%;display:flex;justify-content:center;align-items:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{width:100%;border-style:hidden}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{position:sticky;top:0;background:#fff;background:var(--fc-page-bg-color,#fff)}.fc .fc-list-table thead{position:absolute;left:-10000px}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-table td,.fc .fc-list-day-cushion{padding:8px 14px}.fc .fc-list-day-cushion:after{content:"";clear:both;display:table}.fc-theme-standard .fc-list-day-cushion{background-color:rgba(208,208,208,0.3);background-color:var(--fc-neutral-bg-color,rgba(208,208,208,0.3))}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:#f5f5f5;background-color:var(--fc-list-event-hover-bg-color,#f5f5f5)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{display:inline-block;box-sizing:content-box;width:0;height:0;border:5px solid #3788d8;border:calc(var(--fc-list-event-dot-width, 10px) / 2) solid var(--fc-event-border-color, #3788d8);border-radius:5px;border-radius:calc(var(--fc-list-event-dot-width, 10px) / 2)}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}.fc-theme-bootstrap a:not([href]){color:inherit}.fc-theme-bootstrap5 a:not([href]){color:inherit;text-decoration:inherit}.fc-theme-bootstrap5 .fc-list,.fc-theme-bootstrap5 .fc-scrollgrid,.fc-theme-bootstrap5 td,.fc-theme-bootstrap5 th{border:1px solid var(--bs-gray-400)}.fc-theme-bootstrap5 .fc-scrollgrid{border-right-width:0;border-bottom-width:0}.fc-theme-bootstrap5-shaded{background-color:var(--bs-gray-200)}.fc-h-event{border:0;background:#707070}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:5px;padding-right:8px;padding-top:4px}.fc .fc-toolbar-title{font-size:18px;padding-left:8px}.fc .fc-button{padding-left:10px;padding-top:3px;padding-bottom:4px;font-size:14px;line-height:16px;font-weight:500;color:inherit;background:0;border:1px solid #707070}.fc .fc-button .fc-icon{font-size:14px;line-height:14px;font-weight:500}.fc .fc-scroller{overflow:hidden auto !important}.fc .fc-button-primary:hover .fc-button-primary{color:inherit;background:transparent;border:1px solid rgba(0,0,0,0.2);padding:0 4px;border-radius:1px}.fc .fc-button-primary:disabled{color:inherit;background:transparent;border:1px solid rgba(0,0,0,0.2);opacity:.4}.fc .fc-button-primary:hover{color:white;background:rgba(120,120,120,.6);border:1px solid rgba(0,0,0,0.2);border:0}.fc .fc-col-header-cell-cushion{padding:0 4px}.fc .fc-col-header-cell-cushion,.fc .fc-daygrid-day-number,.fc-direction-ltr .fc-list-day-text,.fc-direction-ltr .fc-list-day-side-text{color:inherit;font-weight:400;line-height:14px;font-size:13px}.fc .fc-button-primary:not(:disabled):active{color:white;background:rgba(70,70,70,.6);border:1px solid rgba(0,0,0,0.2)}.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:none}.fc table,.bida-calendar-event-tt-content,.bida-calendar-event-tt-date,.bida-calendar-event-tt-icon{font-size:13px}.bida-calendar-event-tt-title,.bida-calendar-event-tt-date,.bida-calendar-event-tt-icon{line-height:20px}.bida-calendar-event-tt-title,.bida-calendar-event-tt-title *{font-weight:600}.fc .fc-daygrid-day.fc-day-today,.fc .fc-timegrid-col.fc-day-today{background:rgba(200,200,200,0.3)}.fc .fc-daygrid-day-number{padding:0;padding-right:4px}.fc .fc-daygrid-day-events{margin-top:0}.fc .fc-list-sticky .fc-list-day>*{background:transparent}.bida-item-html-slide-lc,.bida-item-html-slide-rc{background:rgba(0,0,0,0.2);text-align:center;position:absolute;bottom:calc(50% - 40px);cursor:pointer;z-index:1}.bida-item-html-slide-lc:hover,.bida-item-html-slide-rc:hover{background:rgba(120,120,120,0.6)}.bida-item-html-slide-lc-s,.bida-item-html-slide-rc-s{border-radius:10%;padding-top:20px;padding-bottom:20px;padding-left:2px;padding-right:2px;color:white}.bida-item-html-slide-lc-s.fa,.bida-item-html-slide-rc-s.fa{font-size:24px}.bida-item-html-slide-lc{left:5px}.bida-item-html-slide-rc{right:5px}.bida-item-list-div{overflow:auto}.bida-item-list,.bida-item-list-grouped{display:block;width:100%;position:relative;list-style-type:none;margin:0;padding:5px}.bida-item-list-grouped{padding-left:0}.bida-item-list .list-item-title{line-height:20px;font-size:15px;width:100%;display:inline-block;font-weight:500}.list-item-content-text{width:100%;display:block}.list-item-text{word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;width:100%;display:block;font-size:12px;line-height:16px}.bida-item-list .list-item-content{display:flex;padding:4px;width:100%;transition:all .7s ease-out}.bida-item-list .bida-item-list-item{border-left:3px solid transparent}.bida-item-list-grouped .bida-item-list-item{border-left:0}.bida-item-list-item-group .list-group-content-title{line-height:30px;font-size:15px;width:100%;display:inline-block;font-weight:500;padding-left:8px;word-break:break-all;padding-right:8px}.bida-item-list-item-group .list-group-content{box-shadow:0 0 3px .32px rgba(0,0,0,.26);margin-bottom:10px;margin-top:5px}.bida-item-list .list-item-content:hover{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.bida-item-list .list-item-content-icon-div{display:block}.bida-item-list .list-item-content-icon{height:40px;width:40px;border-radius:50%;line-height:40px;text-align:center;font-size:23px;background:#999;display:block;margin-right:10px;box-shadow:2px 2px 4px .5px rgba(0,0,0,0.26);background-repeat:no-repeat;background-size:cover;background-position:center}.bida-item-list .list-item-content-icon-text{font-size:17px;display:block}.bida-map-svg{display:block}.bida-container{width:100%;margin-bottom:5px}.bida-container-nodat{min-height:150px}.bida-container::after{content:"";display:block;clear:both}.bida-container-item{box-shadow:0 0 6px .32px rgba(0,0,0,0.26);background:white;background-size:cover;background-position:center}.bida-item-div-overflow::after{content:"";position:absolute;z-index:1;bottom:0;left:0;pointer-events:none;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,rgba(255,255,255,0.5) 70%,rgba(255,255,255,1) 100%);background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,rgba(255,255,255,0.5) 70%,rgba(255,255,255,1) 100%);background:linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,0.5) 70%,rgba(255,255,255,1) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff',endColorstr='#ffffff',GradientType=0);width:100%;height:36px;opacity:1;transition:opacity .5s linear}.bida-item-div-overflow-hidden::after{opacity:0}.bida-container-item-marked::before{position:absolute;content:"";top:0;left:0;width:0;height:0;border-style:solid;border-width:12px 12px 0 0;border-color:#f00 transparent transparent transparent}.bida-container-sizer,.bida-container-item,.bida-container-item--width1,.bida-container-item--width2,.bida-container-item--width3,.bida-container-item--width4,.bida-container-item--width5,.bida-container-item--width6,.bida-container-item--width7,.bida-container-item--width8,.bida-container-item--width9,.bida-container-item--width10,.bida-container-item--width11,.bida-container-item--width12{width:calc(100% - 10px);margin-bottom:10px;margin-right:5px;margin-left:5px}@media only screen and (min-width:640px){.bida-container-sizer,.bida-container-item,.bida-container-item--width1,.bida-container-item--width2,.bida-container-item--width3,.bida-container-item--width4,.bida-container-item--width5,.bida-container-item--width6{width:calc(50% - 10px)}.bida-container-item--width7,.bida-container-item--width8,.bida-container-item--width9,.bida-container-item--width10,.bida-container-item--width11,.bida-container-item--width12{width:calc(100% - 10px)}}@media only screen and (min-width:800px){.bida-container-sizer,.bida-container-item,.bida-container-item--width1,.bida-container-item--width2,.bida-container-item--width3{width:calc(25% - 10px)}.bida-container-item--width4,.bida-container-item--width5,.bida-container-item--width6{width:calc(50% - 10px)}.bida-container-item--width7,.bida-container-item--width8,.bida-container-item--width9{width:calc(75% - 10px)}.bida-container-item--width10,.bida-container-item--width11,.bida-container-item--width12{width:calc(100% - 10px)}}@media only screen and (min-width:1280px){.bida-container-sizer,.bida-container-item,.bida-container-item--width1,.bida-container-item--width2{width:calc(16.66% - 10px)}.bida-container-item--width3,.bida-container-item--width4{width:calc(33.33% - 10px)}.bida-container-item--width5,.bida-container-item--width6{width:calc(50% - 10px)}.bida-container-item--width7,.bida-container-item--width8{width:calc(66.66% - 10px)}.bida-container-item--width9,.bida-container-item--width10{width:calc(82.66% - 10px)}.bida-container-item--width11,.bida-container-item--width12{width:calc(100% - 10px)}}@media only screen and (min-width:1600px){.bida-container-sizer,.bida-container-item,.bida-container-item--width1{width:calc(8.33% - 10px)}.bida-container-item--width2{width:calc(16.66% - 10px)}.bida-container-item--width3{width:calc(25% - 10px)}.bida-container-item--width4{width:calc(33.32% - 10px)}.bida-container-item--width5{width:calc(41.65% - 10px)}.bida-container-item--width6{width:calc(50% - 10px)}.bida-container-item--width7{width:calc(58.31% - 10px)}.bida-container-item--width8{width:calc(66.64% - 10px)}.bida-container-item--width9{width:calc(75% - 10px)}.bida-container-item--width10{width:calc(83.3% - 10px)}.bida-container-item--width11{width:calc(91.63% - 10px)}.bida-container-item--width12{width:calc(100% - 10px)}}.bida-container>.ui-sortable-placeholder{outline:2px dashed #787878;background:transparent}.pell{border:10px solid transparent}.bida-note>.pell-actionbar{background-color:transparent}.pell-content{height:100%;overflow:auto}.pell-content .fa{font-size:inherit;line-height:inherit;vertical-align:middle}.pell-content p{margin:0}.pell-button{height:auto;width:auto}.pell-button-c.fa{line-height:26px;height:26px;font-size:16px;width:16px;white-space:pre}.pell-content ul,.pell-content ol,.pell-content dl{margin-left:20px;margin-top:0}.pell-button-disabled{pointer-events:none;opacity:.5}.pell-button-c-select{width:40px;background:#fff;border:0 solid #ccc}.pell{border:1px solid rgba(10,10,10,0.1);box-sizing:border-box}.pell-content{box-sizing:border-box;height:300px;outline:0;overflow-y:auto;padding:10px}.pell-actionbar{background-color:#FFF;border-bottom:1px solid rgba(10,10,10,0.1)}.pell-button{background-color:transparent;border:0;cursor:pointer;height:30px;outline:0;width:30px;vertical-align:bottom}.pell-button-selected{background-color:#f0f0f0}.bida-item-title{padding-left:8px;width:100%;border-bottom:1px solid #ebebeb;padding-right:30px;height:34px;background-size:cover;background-position:center}.bida-item-title-text{line-height:34px;font-size:17px}.bida-item-title-icon{font-size:inherit !important;line-height:inherit;margin-right:3px}.bida-item-subtext-text{color:#707070;font-size:12px;line-height:14px;padding:5px;padding-right:32px;display:block;width:100%}.bida-item-html{width:100%;display:block;padding:8px;overflow:auto}.bida-item-options-link,.bida-item-options-link-top{position:absolute;right:4px;z-index:100;border-radius:50%;padding:3px;opacity:.6}.bida-item-options-link{bottom:4px}.bida-item-options-link-top{top:4px}.bida-item-options-link-icon{font-size:15px;text-align:center;line-height:17px}.bida-item-options-link-icon{color:black;border-radius:50%;background-position:center;background-size:cover;width:18px;height:18px;display:block}.truncate-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;display:block}.bida-a{color:inherit;display:block;overflow:auto}.bida-item-table-div{display:block;width:100%;overflow:auto}.bida-item-table{border-spacing:0;border-collapse:collapse;width:100%;max-width:100%;text-align:left}.bida-item-table-header{font-weight:bold;padding:8px;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.bida-item-table-cell{padding:8px;word-break:break-word;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.bida-item-table-row{transition:all .1s ease-out}.bida-item-table-row:hover{-webkit-filter:grayscale(100%);filter:grayscale(100%);-webkit-filter:invert(20%);filter:invert(20%)} \ No newline at end of file diff --git a/build/bida.pkgd.min.js b/build/bida.pkgd.min.js index ab93e26..dd00856 100644 --- a/build/bida.pkgd.min.js +++ b/build/bida.pkgd.min.js @@ -1 +1 @@ -!function(e,n){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("jquery")):e.jQueryBridget=n(e,e.jQuery)}(window,function(t,e){"use strict";var n=Array.prototype.slice,i=t.console,u=void 0===i?function(){}:function(t){i.error(t)};function o(l,c,d){(d=d||e||t.jQuery)&&(c.prototype.option||(c.prototype.option=function(t){d.isPlainObject(t)&&(this.options=d.extend(!0,this.options,t))}),d.fn[l]=function(t){if("string"!=typeof t)return s=t,this.each(function(t,e){var n=d.data(e,l);n?(n.option(s),n._init()):(n=new c(e,s),d.data(e,l,n))}),this;var i,o,a,r,s,e=n.call(arguments,1);return o=e,r="$()."+l+'("'+(i=t)+'")',(t=this).each(function(t,e){var n=d.data(e,l);n?(e=n[i])&&"_"!=i.charAt(0)?(n=e.apply(n,o),a=void 0===a?n:a):u(r+" is not a valid method"):u(l+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==a?a:t},a(d))}function a(t){!t||t&&t.bridget||(t.bridget=o)}return a(e||t.jQuery),o}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},t=n[t]=n[t]||[];return-1==t.indexOf(e)&&t.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length){e=t.indexOf(e);return-1!=e&&t.splice(e,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],o=0;o