tocco-admin 1.0.21 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +21 -0
- package/dist/03371bf1d5cbb1eab58e3a0130d1e9c2.js +1 -1
- package/dist/0794fa2b9c882c72fa7d586069b61055.js +1 -1
- package/dist/0b923a43967ff893ec63b92dc4f19017.js +1 -1
- package/dist/11dc77ef2ea3a04834945a52f7de2072.js +1 -1
- package/dist/18cfa6de2de3832aa10439fbf963217a.js +1 -1
- package/dist/27ccb71fa24357a0919a861351d5b82d.js +1 -1
- package/dist/2b2fe1a34cdf81c656a47e493ca9d658.js +1 -1
- package/dist/3dcc18a5dee46b57ad7f85c0bee86802.js +1 -1
- package/dist/42b4ce6de00994aa6bf7db7ff2f931a8.js +1 -1
- package/dist/4860a6a7c59b9ed5c779f7201dc1f591.js +1 -1
- package/dist/55892adefebc0d53993fb108151ed150.js +1 -1
- package/dist/5a67fdd5293af0a35defd2574c05cd04.js +1 -1
- package/dist/63b15fb6fc8f897b22a4bf72b7e8452a.js +1 -1
- package/dist/6bb61adbbc13088ee1c32d88b5c7e754.js +1 -1
- package/dist/80a171b7595d1161735e23dec8efddd6.js +1 -1
- package/dist/964646d64dd3196a9c27fe302511414a.js +1 -1
- package/dist/97e72973d750ecb3bc2e75b75bf63c5b.js +1 -1
- package/dist/a98ead014d010899b35ee25c7c225542.js +1 -1
- package/dist/b7b7be8216519adf62d75f123f9c6423.js +1 -1
- package/dist/b8197742452dd2e77090dde34cb2dc4d.js +1 -1
- package/dist/c45445ab45defa960329c6f8e6224e57.js +1 -1
- package/dist/chunk-143.4cfd9642b3a86921b58a.js +2 -0
- package/dist/chunk-143.4cfd9642b3a86921b58a.js.map +1 -0
- package/dist/chunk-383.66a8a5f88f50a32b5def.js +2 -0
- package/dist/chunk-383.66a8a5f88f50a32b5def.js.map +1 -0
- package/dist/chunk-545.22a8c78eeb1a3939306b.js +2 -0
- package/dist/chunk-545.22a8c78eeb1a3939306b.js.map +1 -0
- package/dist/chunk-598.1ee78c40032bc1cf4888.js +7 -0
- package/dist/chunk-598.1ee78c40032bc1cf4888.js.map +1 -0
- package/dist/chunk-611.ecff1d503a54a024cbdd.js +14 -0
- package/dist/chunk-611.ecff1d503a54a024cbdd.js.map +1 -0
- package/dist/chunk-682.0a029e68653b98693fb2.js +10 -0
- package/dist/chunk-682.0a029e68653b98693fb2.js.map +1 -0
- package/dist/{chunk-82.fe992385267f6eb716e8.js → chunk-701.44da972f972b420781dc.js} +4 -3
- package/dist/chunk-701.44da972f972b420781dc.js.map +1 -0
- package/dist/chunk-813.68f180e56bbc2c131c34.js +46 -0
- package/dist/chunk-813.68f180e56bbc2c131c34.js.map +1 -0
- package/dist/chunk-846.ee749a524f47e3ed648b.js +2 -0
- package/dist/chunk-846.ee749a524f47e3ed648b.js.map +1 -0
- package/dist/chunk-949.8f8d94d20670c1398a90.js +2 -0
- package/dist/chunk-949.8f8d94d20670c1398a90.js.map +1 -0
- package/dist/chunk-actions.3f17557b9d8e63131321.js +2 -0
- package/dist/chunk-actions.3f17557b9d8e63131321.js.map +1 -0
- package/dist/chunk-code-editor.164a6a298ee50f68767b.js +2 -0
- package/dist/chunk-code-editor.164a6a298ee50f68767b.js.map +1 -0
- package/dist/chunk-vendor-fontawesome.e4d10ee02dd0e55d08da.js +7 -0
- package/dist/chunk-vendor-icons.cce3ad8fe21a6de3d0b4.js +1 -0
- package/dist/{chunk-vendor-libphonenumber-js.58c7063367df4c40d4fd.js → chunk-vendor-libphonenumber-js.e3530f647ee55c59de91.js} +1 -1
- package/dist/chunk-vendor-quill.ddf2e2c68559be7ed070.js +21 -0
- package/dist/e0e32c3798e8895695ce5b372a0c989f.js +1 -1
- package/dist/ee694c1bcbdc9439e50f816c39fd1023.js +1 -1
- package/dist/fd40b62490e412d27bc67e660aacae19.js +1 -1
- package/dist/index.js +11 -10
- package/dist/index.js.map +1 -0
- package/jest.config.js +4 -4
- package/package.json +4 -3
- package/dist/chunk-229.2ea952f1867a78801d4b.js +0 -1
- package/dist/chunk-314.fd36699dbd136490aa1f.js +0 -1
- package/dist/chunk-333.6e7bb6ee20346be796e1.js +0 -1
- package/dist/chunk-335.7cef6cf94cd9ea8910eb.js +0 -1
- package/dist/chunk-342.8f3c7176df159e2a140e.js +0 -6
- package/dist/chunk-404.34b136a50b9cf1357c4f.js +0 -1
- package/dist/chunk-413.8f9875231f3ea3dc91b3.js +0 -45
- package/dist/chunk-51.ff992f4a4488d7d44357.js +0 -9
- package/dist/chunk-696.4246384f89ce1ee8933f.js +0 -13
- package/dist/chunk-actions.66c72d85dd44315566fe.js +0 -1
- package/dist/chunk-code-editor.64a44ea8d4fed4580847.js +0 -1
- package/dist/chunk-vendor-fontawesome.7d3f7dd081d6f37ee4c9.js +0 -7
- package/dist/chunk-vendor-icons.c1cc12e8f9e141eb191b.js +0 -1
- package/dist/chunk-vendor-quill.4404add78e687c1422ce.js +0 -21
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
(self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[813],{31397:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"\n\n .fc .fc-event,\n .fc .fc-scrollgrid table tr {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n }\n\n.fc-media-print {\n display: block; /* undo flexbox. FF doesn't know how to flow */\n max-width: 100% /* width will be hardcoded too */\n}\n\n.fc-media-print .fc-timegrid-slots,\n .fc-media-print .fc-timegrid-axis-chunk,\n .fc-media-print .fc-timeline-slots,\n .fc-media-print .fc-non-business,\n .fc-media-print .fc-bg-event {\n display: none;\n }\n\n.fc-media-print .fc-toolbar button,\n .fc-media-print .fc-h-event,\n .fc-media-print .fc-v-event {\n color: #000 !important;\n background: #fff !important;\n }\n\n.fc-media-print .fc-event,\n .fc-media-print .fc-event-main { /* often controls the text-color */\n color: #000 !important;\n }\n\n.fc-media-print .fc-timegrid-event {\n margin: 0.5em 0;\n }\n","",{version:3,sources:["webpack://./packages/core/scheduler/node_modules/@fullcalendar/adaptive/main.css"],names:[],mappings:";;EAEE;;IAEE,+BAA+B;SAC1B,mBAAmB;EAC1B;;AAEF;EACE,cAAc,EAAE,8CAA8C;EAC9D,cAAc,EAAE,gCAAgC;AAClD;;AAEA;;;;;IAKI,aAAa;EACf;;AAEF;;;IAGI,sBAAsB;IACtB,2BAA2B;EAC7B;;AAEF;mCACmC,kCAAkC;IACjE,sBAAsB;EACxB;;AAEF;IACI,eAAe;EACjB",sourcesContent:["\n\n .fc .fc-event,\n .fc .fc-scrollgrid table tr {\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n }\n\n.fc-media-print {\n display: block; /* undo flexbox. FF doesn't know how to flow */\n max-width: 100% /* width will be hardcoded too */\n}\n\n.fc-media-print .fc-timegrid-slots,\n .fc-media-print .fc-timegrid-axis-chunk,\n .fc-media-print .fc-timeline-slots,\n .fc-media-print .fc-non-business,\n .fc-media-print .fc-bg-event {\n display: none;\n }\n\n.fc-media-print .fc-toolbar button,\n .fc-media-print .fc-h-event,\n .fc-media-print .fc-v-event {\n color: #000 !important;\n background: #fff !important;\n }\n\n.fc-media-print .fc-event,\n .fc-media-print .fc-event-main { /* often controls the text-color */\n color: #000 !important;\n }\n\n.fc-media-print .fc-timegrid-event {\n margin: 0.5em 0;\n }\n"],sourceRoot:""}]);const s=a},25359:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'\n/* classes attached to <body> */\n/* TODO: make fc-event selector work when calender in shadow DOM */\n.fc-not-allowed,\n.fc-not-allowed .fc-event { /* override events\' custom cursors */\n cursor: not-allowed;\n}\n\n/* TODO: not attached to body. attached to specific els. move */\n.fc-unselectable {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.fc {\n /* layout of immediate children */\n display: flex;\n flex-direction: column;\n\n font-size: 1em\n}\n.fc,\n .fc *,\n .fc *:before,\n .fc *:after {\n box-sizing: border-box;\n }\n.fc table {\n border-collapse: collapse;\n border-spacing: 0;\n font-size: 1em; /* normalize cross-browser */\n }\n.fc th {\n text-align: center;\n }\n.fc th,\n .fc td {\n vertical-align: top;\n padding: 0;\n }\n.fc a[data-navlink] {\n cursor: pointer;\n }\n.fc a[data-navlink]:hover {\n text-decoration: underline;\n }\n.fc-direction-ltr {\n direction: ltr;\n text-align: left;\n}\n.fc-direction-rtl {\n direction: rtl;\n text-align: right;\n}\n.fc-theme-standard td,\n .fc-theme-standard th {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n }\n/* for FF, which doesn\'t expand a 100% div within a table cell. use absolute positioning */\n/* inner-wrappers are responsible for being absolute */\n/* TODO: best place for this? */\n.fc-liquid-hack td,\n .fc-liquid-hack th {\n position: relative;\n }\n\n@font-face {\n font-family: \'fcicons\';\n 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\');\n font-weight: normal;\n font-style: normal;\n}\n\n.fc-icon {\n /* added for fc */\n display: inline-block;\n width: 1em;\n height: 1em;\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'fcicons\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.fc-icon-chevron-left:before {\n content: "\\e900";\n}\n\n.fc-icon-chevron-right:before {\n content: "\\e901";\n}\n\n.fc-icon-chevrons-left:before {\n content: "\\e902";\n}\n\n.fc-icon-chevrons-right:before {\n content: "\\e903";\n}\n\n.fc-icon-minus-square:before {\n content: "\\e904";\n}\n\n.fc-icon-plus-square:before {\n content: "\\e905";\n}\n\n.fc-icon-x:before {\n content: "\\e906";\n}\n/*\nLots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css\n\nThese styles only apply when the standard-theme is activated.\nWhen it\'s NOT activated, the fc-button classes won\'t even be in the DOM.\n*/\n.fc {\n\n /* reset */\n\n}\n.fc .fc-button {\n border-radius: 0;\n overflow: visible;\n text-transform: none;\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n }\n.fc .fc-button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n.fc .fc-button {\n -webkit-appearance: button;\n }\n.fc .fc-button:not(:disabled) {\n cursor: pointer;\n }\n.fc .fc-button::-moz-focus-inner {\n padding: 0;\n border-style: none;\n }\n.fc {\n\n /* theme */\n\n}\n.fc .fc-button {\n display: inline-block;\n font-weight: 400;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border: 1px solid transparent;\n padding: 0.4em 0.65em;\n font-size: 1em;\n line-height: 1.5;\n border-radius: 0.25em;\n }\n.fc .fc-button:hover {\n text-decoration: none;\n }\n.fc .fc-button:focus {\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);\n }\n.fc .fc-button:disabled {\n opacity: 0.65;\n }\n.fc {\n\n /* "primary" coloring */\n\n}\n.fc .fc-button-primary {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50);\n }\n.fc .fc-button-primary:hover {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1e2b37;\n background-color: var(--fc-button-hover-bg-color, #1e2b37);\n border-color: #1a252f;\n border-color: var(--fc-button-hover-border-color, #1a252f);\n }\n.fc .fc-button-primary:disabled { /* not DRY */\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50); /* overrides :hover */\n }\n.fc .fc-button-primary:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc .fc-button-primary:not(:disabled):active,\n .fc .fc-button-primary:not(:disabled).fc-button-active {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1a252f;\n background-color: var(--fc-button-active-bg-color, #1a252f);\n border-color: #151e27;\n border-color: var(--fc-button-active-border-color, #151e27);\n }\n.fc .fc-button-primary:not(:disabled):active:focus,\n .fc .fc-button-primary:not(:disabled).fc-button-active:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc {\n\n /* icons within buttons */\n\n}\n.fc .fc-button .fc-icon {\n vertical-align: middle;\n font-size: 1.5em; /* bump up the size (but don\'t make it bigger than line-height of button, which is 1.5em also) */\n }\n.fc .fc-button-group {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n }\n.fc .fc-button-group > .fc-button {\n position: relative;\n flex: 1 1 auto;\n }\n.fc .fc-button-group > .fc-button:hover {\n z-index: 1;\n }\n.fc .fc-button-group > .fc-button:focus,\n .fc .fc-button-group > .fc-button:active,\n .fc .fc-button-group > .fc-button.fc-button-active {\n z-index: 1;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {\n margin-right: -1px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc .fc-toolbar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n.fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: 1.5em;\n }\n.fc .fc-toolbar.fc-footer-toolbar {\n margin-top: 1.5em;\n }\n.fc .fc-toolbar-title {\n font-size: 1.75em;\n margin: 0;\n }\n.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {\n margin-left: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar > * > :not(:first-child) {\n margin-right: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar-ltr { /* when the toolbar-chunk positioning system is explicitly left-to-right */\n flex-direction: row-reverse;\n }\n.fc .fc-scroller {\n -webkit-overflow-scrolling: touch;\n position: relative; /* for abs-positioned elements within */\n }\n.fc .fc-scroller-liquid {\n height: 100%;\n }\n.fc .fc-scroller-liquid-absolute {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n }\n.fc .fc-scroller-harness {\n position: relative;\n overflow: hidden;\n direction: ltr;\n /* hack for chrome computing the scroller\'s right/left wrong for rtl. undone below... */\n /* TODO: demonstrate in codepen */\n }\n.fc .fc-scroller-harness-liquid {\n height: 100%;\n }\n.fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */\n direction: rtl;\n }\n.fc-theme-standard .fc-scrollgrid {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd); /* bootstrap does this. match */\n }\n.fc .fc-scrollgrid,\n .fc .fc-scrollgrid table { /* all tables (self included) */\n width: 100%; /* because tables don\'t normally do this */\n table-layout: fixed;\n }\n.fc .fc-scrollgrid table { /* inner tables */\n border-top-style: hidden;\n border-left-style: hidden;\n border-right-style: hidden;\n }\n.fc .fc-scrollgrid {\n\n border-collapse: separate;\n border-right-width: 0;\n border-bottom-width: 0;\n\n }\n.fc .fc-scrollgrid-liquid {\n height: 100%;\n }\n.fc .fc-scrollgrid-section { /* a <tr> */\n height: 1px /* better than 0, for firefox */\n\n }\n.fc .fc-scrollgrid-section > td {\n height: 1px; /* needs a height so inner div within grow. better than 0, for firefox */\n }\n.fc .fc-scrollgrid-section table {\n height: 1px;\n /* for most browsers, if a height isn\'t set on the table, can\'t do liquid-height within cells */\n /* serves as a min-height. harmless */\n }\n.fc .fc-scrollgrid-section-liquid > td {\n height: 100%; /* better than `auto`, for firefox */\n }\n.fc .fc-scrollgrid-section > * {\n border-top-width: 0;\n border-left-width: 0;\n }\n.fc .fc-scrollgrid-section-header > *,\n .fc .fc-scrollgrid-section-footer > * {\n border-bottom-width: 0;\n }\n.fc .fc-scrollgrid-section-body table,\n .fc .fc-scrollgrid-section-footer table {\n border-bottom-style: hidden; /* head keeps its bottom border tho */\n }\n.fc {\n\n /* stickiness */\n\n}\n.fc .fc-scrollgrid-section-sticky > * {\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n position: sticky;\n z-index: 3; /* TODO: var */\n /* TODO: box-shadow when sticking */\n }\n.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {\n top: 0; /* because border-sharing causes a gap at the top */\n /* TODO: give safari -1. has bug */\n }\n.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky > * {\n bottom: 0; /* known bug: bottom-stickiness doesn\'t work in safari */\n }\n.fc .fc-scrollgrid-sticky-shim { /* for horizontal scrollbar */\n height: 1px; /* needs height to create scrollbars */\n margin-bottom: -1px;\n }\n.fc-sticky { /* no .fc wrap because used as child of body */\n position: sticky;\n}\n.fc .fc-view-harness {\n flex-grow: 1; /* because this harness is WITHIN the .fc\'s flexbox */\n position: relative;\n }\n.fc {\n\n /* when the harness controls the height, make the view liquid */\n\n}\n.fc .fc-view-harness-active > .fc-view {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc .fc-col-header-cell-cushion {\n display: inline-block; /* x-browser for when sticky (when multi-tier header) */\n padding: 2px 4px;\n }\n.fc .fc-bg-event,\n .fc .fc-non-business,\n .fc .fc-highlight {\n /* will always have a harness with position:relative/absolute, so absolutely expand */\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc .fc-non-business {\n background: rgba(215, 215, 215, 0.3);\n background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));\n }\n.fc .fc-bg-event {\n background: rgb(143, 223, 130);\n background: var(--fc-bg-event-color, rgb(143, 223, 130));\n opacity: 0.3;\n opacity: var(--fc-bg-event-opacity, 0.3)\n }\n.fc .fc-bg-event .fc-event-title {\n margin: .5em;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n font-style: italic;\n }\n.fc .fc-highlight {\n background: rgba(188, 232, 241, 0.3);\n background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));\n }\n.fc .fc-cell-shaded,\n .fc .fc-day-disabled {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n/* link resets */\n/* ---------------------------------------------------------------------------------------------------- */\na.fc-event,\na.fc-event:hover {\n text-decoration: none;\n}\n/* cursor */\n.fc-event[href],\n.fc-event.fc-event-draggable {\n cursor: pointer;\n}\n/* event text content */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event .fc-event-main {\n position: relative;\n z-index: 2;\n }\n/* dragging */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-dragging:not(.fc-event-selected) { /* MOUSE */\n opacity: 0.75;\n }\n.fc-event-dragging.fc-event-selected { /* TOUCH */\n box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);\n }\n/* resizing */\n/* ---------------------------------------------------------------------------------------------------- */\n/* (subclasses should hone positioning for touch and non-touch) */\n.fc-event .fc-event-resizer {\n display: none;\n position: absolute;\n z-index: 4;\n }\n.fc-event:hover, /* MOUSE */\n.fc-event-selected { /* TOUCH */\n\n}\n.fc-event:hover .fc-event-resizer, .fc-event-selected .fc-event-resizer {\n display: block;\n }\n.fc-event-selected .fc-event-resizer {\n border-radius: 4px;\n border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);\n border-width: 1px;\n border-width: var(--fc-event-resizer-dot-border-width, 1px);\n width: 8px;\n width: var(--fc-event-resizer-dot-total-width, 8px);\n height: 8px;\n height: var(--fc-event-resizer-dot-total-width, 8px);\n border-style: solid;\n border-color: inherit;\n background: #fff;\n background: var(--fc-page-bg-color, #fff)\n\n /* expand hit area */\n\n }\n.fc-event-selected .fc-event-resizer:before {\n content: \'\';\n position: absolute;\n top: -20px;\n left: -20px;\n right: -20px;\n bottom: -20px;\n }\n/* selecting (always TOUCH) */\n/* OR, focused by tab-index */\n/* (TODO: maybe not the best focus-styling for .fc-daygrid-dot-event) */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-selected,\n.fc-event:focus {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)\n\n /* expand hit area (subclasses should expand) */\n\n}\n.fc-event-selected:before, .fc-event:focus:before {\n content: "";\n position: absolute;\n z-index: 3;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc-event-selected,\n.fc-event:focus {\n\n /* dimmer effect */\n\n}\n.fc-event-selected:after, .fc-event:focus:after {\n content: "";\n background: rgba(0, 0, 0, 0.25);\n background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n z-index: 1;\n\n /* assume there\'s a border on all sides. overcome it. */\n /* sometimes there\'s NOT a border, in which case the dimmer will go over */\n /* an adjacent border, which looks fine. */\n top: -1px;\n left: -1px;\n right: -1px;\n bottom: -1px;\n }\n/*\nA HORIZONTAL event\n*/\n.fc-h-event { /* allowed to be top-level */\n display: block;\n border: 1px solid #3788d8;\n border: 1px solid var(--fc-event-border-color, #3788d8);\n background-color: #3788d8;\n background-color: var(--fc-event-bg-color, #3788d8)\n\n}\n.fc-h-event .fc-event-main {\n color: #fff;\n color: var(--fc-event-text-color, #fff);\n }\n.fc-h-event .fc-event-main-frame {\n display: flex; /* for make fc-event-title-container expand */\n }\n.fc-h-event .fc-event-time {\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event .fc-event-title-container { /* serves as a container for the sticky cushion */\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-h-event .fc-event-title {\n display: inline-block; /* need this to be sticky cross-browser */\n vertical-align: top; /* for not messing up line-height */\n left: 0; /* for sticky */\n right: 0; /* for sticky */\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event.fc-event-selected:before {\n /* expand hit area */\n top: -10px;\n bottom: -10px;\n }\n/* adjust border and border-radius (if there is any) for non-start/end */\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-left-width: 0;\n}\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right-width: 0;\n}\n/* resizers */\n.fc-h-event:not(.fc-event-selected) .fc-event-resizer {\n top: 0;\n bottom: 0;\n width: 8px;\n width: var(--fc-event-resizer-thickness, 8px);\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {\n cursor: w-resize;\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {\n cursor: e-resize;\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n/* resizers for TOUCH */\n.fc-h-event.fc-event-selected .fc-event-resizer {\n top: 50%;\n margin-top: -4px;\n margin-top: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc .fc-popover {\n position: absolute;\n z-index: 9999;\n box-shadow: 0 2px 6px rgba(0,0,0,.15);\n }\n.fc .fc-popover-header {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 3px 4px;\n }\n.fc .fc-popover-title {\n margin: 0 2px;\n }\n.fc .fc-popover-close {\n cursor: pointer;\n opacity: 0.65;\n font-size: 1.1em;\n }\n.fc-theme-standard .fc-popover {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n }\n.fc-theme-standard .fc-popover-header {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n',"",{version:3,sources:["webpack://./packages/core/scheduler/node_modules/@fullcalendar/common/main.css"],names:[],mappings:";AACA,+BAA+B;AAC/B,kEAAkE;AAClE;4BAC4B,oCAAoC;EAC9D,mBAAmB;AACrB;;AAEA,+DAA+D;AAC/D;EACE,yBAAyB;KACtB,sBAAsB;MACrB,qBAAqB;UACjB,iBAAiB;EACzB,2BAA2B;EAC3B,6CAA6C;AAC/C;AACA;EACE,iCAAiC;EACjC,aAAa;EACb,sBAAsB;;EAEtB;AACF;AACA;;;;IAII,sBAAsB;EACxB;AACF;IACI,yBAAyB;IACzB,iBAAiB;IACjB,cAAc,EAAE,4BAA4B;EAC9C;AACF;IACI,kBAAkB;EACpB;AACF;;IAEI,mBAAmB;IACnB,UAAU;EACZ;AACF;IACI,eAAe;EACjB;AACF;IACI,0BAA0B;EAC5B;AACF;EACE,cAAc;EACd,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,iBAAiB;AACnB;AACA;;IAEI,sBAAsB;IACtB,8CAA8C;EAChD;AACF,0FAA0F;AAC1F,sDAAsD;AACtD,+BAA+B;AAC/B;;IAEI,kBAAkB;EACpB;;AAEF;EACE,sBAAsB;EACtB,4mGAA4mG;EAC5mG,mBAAmB;EACnB,kBAAkB;AACpB;;AAEA;EACE,iBAAiB;EACjB,qBAAqB;EACrB,UAAU;EACV,WAAW;EACX,kBAAkB;EAClB,yBAAyB;KACtB,sBAAsB;MACrB,qBAAqB;UACjB,iBAAiB;;EAEzB,+EAA+E;EAC/E,iCAAiC;EACjC,WAAW;EACX,kBAAkB;EAClB,mBAAmB;EACnB,oBAAoB;EACpB,oBAAoB;EACpB,cAAc;;EAEd,sCAAsC;EACtC,mCAAmC;EACnC,kCAAkC;AACpC;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;AACA;;;;;CAKC;AACD;;EAEE,UAAU;;AAEZ;AACA;IACI,gBAAgB;IAChB,iBAAiB;IACjB,oBAAoB;IACpB,SAAS;IACT,oBAAoB;IACpB,kBAAkB;IAClB,oBAAoB;EACtB;AACF;IACI,mBAAmB;IACnB,0CAA0C;EAC5C;AACF;IACI,0BAA0B;EAC5B;AACF;IACI,eAAe;EACjB;AACF;IACI,UAAU;IACV,kBAAkB;EACpB;AACF;;EAEE,UAAU;;AAEZ;AACA;IACI,qBAAqB;IACrB,gBAAgB;IAChB,kBAAkB;IAClB,sBAAsB;IACtB,yBAAyB;OACtB,sBAAsB;QACrB,qBAAqB;YACjB,iBAAiB;IACzB,6BAA6B;IAC7B,6BAA6B;IAC7B,qBAAqB;IACrB,cAAc;IACd,gBAAgB;IAChB,qBAAqB;EACvB;AACF;IACI,qBAAqB;EACvB;AACF;IACI,UAAU;IACV,+CAA+C;EACjD;AACF;IACI,aAAa;EACf;AACF;;EAEE,uBAAuB;;AAEzB;AACA;IACI,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,oDAAoD;IACpD,qBAAqB;IACrB,oDAAoD;EACtD;AACF;IACI,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,0DAA0D;IAC1D,qBAAqB;IACrB,0DAA0D;EAC5D;AACF,kCAAkC,YAAY;IAC1C,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,oDAAoD;IACpD,qBAAqB;IACrB,oDAAoD,EAAE,qBAAqB;EAC7E;AACF;IACI,+CAA+C;EACjD;AACF;;IAEI,WAAW;IACX,wCAAwC;IACxC,yBAAyB;IACzB,2DAA2D;IAC3D,qBAAqB;IACrB,2DAA2D;EAC7D;AACF;;IAEI,+CAA+C;EACjD;AACF;;EAEE,yBAAyB;;AAE3B;AACA;IACI,sBAAsB;IACtB,gBAAgB,EAAE,gGAAgG;EACpH;AACF;IACI,kBAAkB;IAClB,oBAAoB;IACpB,sBAAsB;EACxB;AACF;IACI,kBAAkB;IAClB,cAAc;EAChB;AACF;IACI,UAAU;EACZ;AACF;;;IAGI,UAAU;EACZ;AACF;IACI,iBAAiB;IACjB,yBAAyB;IACzB,4BAA4B;EAC9B;AACF;IACI,0BAA0B;IAC1B,6BAA6B;EAC/B;AACF;IACI,kBAAkB;IAClB,0BAA0B;IAC1B,6BAA6B;EAC/B;AACF;IACI,yBAAyB;IACzB,4BAA4B;EAC9B;AACF;IACI,aAAa;IACb,8BAA8B;IAC9B,mBAAmB;EACrB;AACF;IACI,oBAAoB;EACtB;AACF;IACI,iBAAiB;EACnB;AACF;IACI,iBAAiB;IACjB,SAAS;EACX;AACF;IACI,kBAAkB,EAAE,kBAAkB;EACxC;AACF;IACI,mBAAmB,EAAE,kBAAkB;EACzC;AACF,oCAAoC,0EAA0E;IAC1G,2BAA2B;EAC7B;AACF;IACI,iCAAiC;IACjC,kBAAkB,EAAE,uCAAuC;EAC7D;AACF;IACI,YAAY;EACd;AACF;IACI,kBAAkB;IAClB,MAAM;IACN,QAAQ;IACR,OAAO;IACP,SAAS;EACX;AACF;IACI,kBAAkB;IAClB,gBAAgB;IAChB,cAAc;MACZ,uFAAuF;MACvF,iCAAiC;EACrC;AACF;IACI,YAAY;EACd;AACF,wDAAwD,oBAAoB;IACxE,cAAc;EAChB;AACF;IACI,sBAAsB;IACtB,8CAA8C,EAAE,+BAA+B;EACjF;AACF;+BAC+B,+BAA+B;MACxD,WAAW,EAAE,0CAA0C;MACvD,mBAAmB;IACrB;AACJ,2BAA2B,iBAAiB;MACtC,wBAAwB;MACxB,yBAAyB;MACzB,0BAA0B;IAC5B;AACJ;;IAEI,yBAAyB;IACzB,qBAAqB;IACrB,sBAAsB;;EAExB;AACF;IACI,YAAY;EACd;AACF,6BAA6B,WAAW;IACpC,UAAU,EAAE,+BAA+B;;EAE7C;AACF;MACM,WAAW,EAAE,wEAAwE;IACvF;AACJ;MACM,WAAW;QACT,+FAA+F;QAC/F,qCAAqC;IACzC;AACJ;MACM,YAAY,EAAE,oCAAoC;IACpD;AACJ;IACI,mBAAmB;IACnB,oBAAoB;EACtB;AACF;;IAEI,sBAAsB;EACxB;AACF;;IAEI,2BAA2B,EAAE,qCAAqC;EACpE;AACF;;EAEE,eAAe;;AAEjB;AACA;IACI,gBAAgB;IAChB,yCAAyC;IACzC,gBAAgB;IAChB,UAAU,EAAE,cAAc;IAC1B,mCAAmC;EACrC;AACF;IACI,MAAM,EAAE,mDAAmD;MACzD,kCAAkC;EACtC;AACF;IACI,SAAS,EAAE,wDAAwD;EACrE;AACF,iCAAiC,6BAA6B;IAC1D,WAAW,EAAE,sCAAsC;IACnD,mBAAmB;EACrB;AACF,aAAa,8CAA8C;EACzD,gBAAgB;AAClB;AACA;IACI,YAAY,EAAE,qDAAqD;IACnE,kBAAkB;EACpB;AACF;;EAEE,+DAA+D;;AAEjE;AACA;IACI,kBAAkB;IAClB,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;EACT;AACF;IACI,qBAAqB,EAAE,uDAAuD;IAC9E,gBAAgB;EAClB;AACF;;;IAGI,qFAAqF;IACrF,kBAAkB;IAClB,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;EACX;AACF;IACI,oCAAoC;IACpC,kEAAkE;EACpE;AACF;IACI,8BAA8B;IAC9B,wDAAwD;IACxD,YAAY;IACZ;EACF;AACF;MACM,YAAY;MACZ,gBAAgB;MAChB,2CAA2C;MAC3C,kBAAkB;IACpB;AACJ;IACI,oCAAoC;IACpC,+DAA+D;EACjE;AACF;;IAEI,oCAAoC;IACpC,gEAAgE;EAClE;AACF,gBAAgB;AAChB,yGAAyG;AACzG;;EAEE,qBAAqB;AACvB;AACA,WAAW;AACX;;EAEE,eAAe;AACjB;AACA,uBAAuB;AACvB,yGAAyG;AACzG;IACI,kBAAkB;IAClB,UAAU;EACZ;AACF,aAAa;AACb,yGAAyG;AACzG,6CAA6C,UAAU;IACnD,aAAa;EACf;AACF,uCAAuC,UAAU;IAC7C,wCAAwC;EAC1C;AACF,aAAa;AACb,yGAAyG;AACzG,iEAAiE;AACjE;IACI,aAAa;IACb,kBAAkB;IAClB,UAAU;EACZ;AACF;qBACqB,UAAU;;AAE/B;AACA;IACI,cAAc;EAChB;AACF;IACI,kBAAkB;IAClB,qEAAqE;IACrE,iBAAiB;IACjB,2DAA2D;IAC3D,UAAU;IACV,mDAAmD;IACnD,WAAW;IACX,oDAAoD;IACpD,mBAAmB;IACnB,qBAAqB;IACrB,gBAAgB;IAChB,wCAAwC;;IAExC,oBAAoB;;EAEtB;AACF;MACM,WAAW;MACX,kBAAkB;MAClB,UAAU;MACV,WAAW;MACX,YAAY;MACZ,aAAa;IACf;AACJ,6BAA6B;AAC7B,6BAA6B;AAC7B,uEAAuE;AACvE,yGAAyG;AACzG;;EAEE,uCAAuC;;EAEvC,+CAA+C;;AAEjD;AACA;IACI,WAAW;IACX,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;EACX;AACF;;;EAGE,kBAAkB;;AAEpB;AACA;IACI,WAAW;IACX,+BAA+B;IAC/B,uEAAuE;IACvE,kBAAkB;IAClB,UAAU;;IAEV,uDAAuD;IACvD,0EAA0E;IAC1E,0CAA0C;IAC1C,SAAS;IACT,UAAU;IACV,WAAW;IACX,YAAY;EACd;AACF;;CAEC;AACD,cAAc,4BAA4B;EACxC,cAAc;EACd,yBAAyB;EACzB,uDAAuD;EACvD,yBAAyB;EACzB;;AAEF;AACA;IACI,WAAW;IACX,uCAAuC;EACzC;AACF;IACI,aAAa,EAAE,6CAA6C;EAC9D;AACF;IACI,eAAe,EAAE,kCAAkC;IACnD,gBAAgB;EAClB;AACF,wCAAwC,iDAAiD;IACrF,YAAY;IACZ,cAAc;IACd,YAAY,EAAE,iDAAiD;EACjE;AACF;IACI,qBAAqB,EAAE,yCAAyC;IAChE,mBAAmB,EAAE,mCAAmC;IACxD,OAAO,GAAG,eAAe;IACzB,QAAQ,EAAE,eAAe;IACzB,eAAe,EAAE,kCAAkC;IACnD,gBAAgB;EAClB;AACF;IACI,oBAAoB;IACpB,UAAU;IACV,aAAa;EACf;AACF,wEAAwE;AACxE;;EAEE,yBAAyB;EACzB,4BAA4B;EAC5B,oBAAoB;AACtB;AACA;;EAEE,0BAA0B;EAC1B,6BAA6B;EAC7B,qBAAqB;AACvB;AACA,aAAa;AACb;EACE,MAAM;EACN,SAAS;EACT,UAAU;EACV,6CAA6C;AAC/C;AACA;;EAEE,gBAAgB;EAChB,UAAU;EACV,yDAAyD;AAC3D;AACA;;EAEE,gBAAgB;EAChB,WAAW;EACX,0DAA0D;AAC5D;AACA,uBAAuB;AACvB;EACE,QAAQ;EACR,gBAAgB;EAChB,qEAAqE;AACvE;AACA;;EAEE,UAAU;EACV,+DAA+D;AACjE;AACA;;EAEE,WAAW;EACX,gEAAgE;AAClE;AACA;IACI,kBAAkB;IAClB,aAAa;IACb,qCAAqC;EACvC;AACF;IACI,aAAa;IACb,mBAAmB;IACnB,8BAA8B;IAC9B,mBAAmB;IACnB,gBAAgB;EAClB;AACF;IACI,aAAa;EACf;AACF;IACI,eAAe;IACf,aAAa;IACb,gBAAgB;EAClB;AACF;IACI,sBAAsB;IACtB,8CAA8C;IAC9C,gBAAgB;IAChB,yCAAyC;EAC3C;AACF;IACI,oCAAoC;IACpC,gEAAgE;EAClE",sourcesContent:['\n/* classes attached to <body> */\n/* TODO: make fc-event selector work when calender in shadow DOM */\n.fc-not-allowed,\n.fc-not-allowed .fc-event { /* override events\' custom cursors */\n cursor: not-allowed;\n}\n\n/* TODO: not attached to body. attached to specific els. move */\n.fc-unselectable {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n.fc {\n /* layout of immediate children */\n display: flex;\n flex-direction: column;\n\n font-size: 1em\n}\n.fc,\n .fc *,\n .fc *:before,\n .fc *:after {\n box-sizing: border-box;\n }\n.fc table {\n border-collapse: collapse;\n border-spacing: 0;\n font-size: 1em; /* normalize cross-browser */\n }\n.fc th {\n text-align: center;\n }\n.fc th,\n .fc td {\n vertical-align: top;\n padding: 0;\n }\n.fc a[data-navlink] {\n cursor: pointer;\n }\n.fc a[data-navlink]:hover {\n text-decoration: underline;\n }\n.fc-direction-ltr {\n direction: ltr;\n text-align: left;\n}\n.fc-direction-rtl {\n direction: rtl;\n text-align: right;\n}\n.fc-theme-standard td,\n .fc-theme-standard th {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n }\n/* for FF, which doesn\'t expand a 100% div within a table cell. use absolute positioning */\n/* inner-wrappers are responsible for being absolute */\n/* TODO: best place for this? */\n.fc-liquid-hack td,\n .fc-liquid-hack th {\n position: relative;\n }\n\n@font-face {\n font-family: \'fcicons\';\n 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\');\n font-weight: normal;\n font-style: normal;\n}\n\n.fc-icon {\n /* added for fc */\n display: inline-block;\n width: 1em;\n height: 1em;\n text-align: center;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'fcicons\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.fc-icon-chevron-left:before {\n content: "\\e900";\n}\n\n.fc-icon-chevron-right:before {\n content: "\\e901";\n}\n\n.fc-icon-chevrons-left:before {\n content: "\\e902";\n}\n\n.fc-icon-chevrons-right:before {\n content: "\\e903";\n}\n\n.fc-icon-minus-square:before {\n content: "\\e904";\n}\n\n.fc-icon-plus-square:before {\n content: "\\e905";\n}\n\n.fc-icon-x:before {\n content: "\\e906";\n}\n/*\nLots taken from Flatly (MIT): https://bootswatch.com/4/flatly/bootstrap.css\n\nThese styles only apply when the standard-theme is activated.\nWhen it\'s NOT activated, the fc-button classes won\'t even be in the DOM.\n*/\n.fc {\n\n /* reset */\n\n}\n.fc .fc-button {\n border-radius: 0;\n overflow: visible;\n text-transform: none;\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n }\n.fc .fc-button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n.fc .fc-button {\n -webkit-appearance: button;\n }\n.fc .fc-button:not(:disabled) {\n cursor: pointer;\n }\n.fc .fc-button::-moz-focus-inner {\n padding: 0;\n border-style: none;\n }\n.fc {\n\n /* theme */\n\n}\n.fc .fc-button {\n display: inline-block;\n font-weight: 400;\n text-align: center;\n vertical-align: middle;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: transparent;\n border: 1px solid transparent;\n padding: 0.4em 0.65em;\n font-size: 1em;\n line-height: 1.5;\n border-radius: 0.25em;\n }\n.fc .fc-button:hover {\n text-decoration: none;\n }\n.fc .fc-button:focus {\n outline: 0;\n box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);\n }\n.fc .fc-button:disabled {\n opacity: 0.65;\n }\n.fc {\n\n /* "primary" coloring */\n\n}\n.fc .fc-button-primary {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50);\n }\n.fc .fc-button-primary:hover {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1e2b37;\n background-color: var(--fc-button-hover-bg-color, #1e2b37);\n border-color: #1a252f;\n border-color: var(--fc-button-hover-border-color, #1a252f);\n }\n.fc .fc-button-primary:disabled { /* not DRY */\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #2C3E50;\n background-color: var(--fc-button-bg-color, #2C3E50);\n border-color: #2C3E50;\n border-color: var(--fc-button-border-color, #2C3E50); /* overrides :hover */\n }\n.fc .fc-button-primary:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc .fc-button-primary:not(:disabled):active,\n .fc .fc-button-primary:not(:disabled).fc-button-active {\n color: #fff;\n color: var(--fc-button-text-color, #fff);\n background-color: #1a252f;\n background-color: var(--fc-button-active-bg-color, #1a252f);\n border-color: #151e27;\n border-color: var(--fc-button-active-border-color, #151e27);\n }\n.fc .fc-button-primary:not(:disabled):active:focus,\n .fc .fc-button-primary:not(:disabled).fc-button-active:focus {\n box-shadow: 0 0 0 0.2rem rgba(76, 91, 106, 0.5);\n }\n.fc {\n\n /* icons within buttons */\n\n}\n.fc .fc-button .fc-icon {\n vertical-align: middle;\n font-size: 1.5em; /* bump up the size (but don\'t make it bigger than line-height of button, which is 1.5em also) */\n }\n.fc .fc-button-group {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n }\n.fc .fc-button-group > .fc-button {\n position: relative;\n flex: 1 1 auto;\n }\n.fc .fc-button-group > .fc-button:hover {\n z-index: 1;\n }\n.fc .fc-button-group > .fc-button:focus,\n .fc .fc-button-group > .fc-button:active,\n .fc .fc-button-group > .fc-button.fc-button-active {\n z-index: 1;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc-direction-ltr .fc-button-group > .fc-button:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:first-child) {\n margin-right: -1px;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n.fc-direction-rtl .fc-button-group > .fc-button:not(:last-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n.fc .fc-toolbar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n }\n.fc .fc-toolbar.fc-header-toolbar {\n margin-bottom: 1.5em;\n }\n.fc .fc-toolbar.fc-footer-toolbar {\n margin-top: 1.5em;\n }\n.fc .fc-toolbar-title {\n font-size: 1.75em;\n margin: 0;\n }\n.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {\n margin-left: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar > * > :not(:first-child) {\n margin-right: .75em; /* space between */\n }\n.fc-direction-rtl .fc-toolbar-ltr { /* when the toolbar-chunk positioning system is explicitly left-to-right */\n flex-direction: row-reverse;\n }\n.fc .fc-scroller {\n -webkit-overflow-scrolling: touch;\n position: relative; /* for abs-positioned elements within */\n }\n.fc .fc-scroller-liquid {\n height: 100%;\n }\n.fc .fc-scroller-liquid-absolute {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n }\n.fc .fc-scroller-harness {\n position: relative;\n overflow: hidden;\n direction: ltr;\n /* hack for chrome computing the scroller\'s right/left wrong for rtl. undone below... */\n /* TODO: demonstrate in codepen */\n }\n.fc .fc-scroller-harness-liquid {\n height: 100%;\n }\n.fc-direction-rtl .fc-scroller-harness > .fc-scroller { /* undo above hack */\n direction: rtl;\n }\n.fc-theme-standard .fc-scrollgrid {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd); /* bootstrap does this. match */\n }\n.fc .fc-scrollgrid,\n .fc .fc-scrollgrid table { /* all tables (self included) */\n width: 100%; /* because tables don\'t normally do this */\n table-layout: fixed;\n }\n.fc .fc-scrollgrid table { /* inner tables */\n border-top-style: hidden;\n border-left-style: hidden;\n border-right-style: hidden;\n }\n.fc .fc-scrollgrid {\n\n border-collapse: separate;\n border-right-width: 0;\n border-bottom-width: 0;\n\n }\n.fc .fc-scrollgrid-liquid {\n height: 100%;\n }\n.fc .fc-scrollgrid-section { /* a <tr> */\n height: 1px /* better than 0, for firefox */\n\n }\n.fc .fc-scrollgrid-section > td {\n height: 1px; /* needs a height so inner div within grow. better than 0, for firefox */\n }\n.fc .fc-scrollgrid-section table {\n height: 1px;\n /* for most browsers, if a height isn\'t set on the table, can\'t do liquid-height within cells */\n /* serves as a min-height. harmless */\n }\n.fc .fc-scrollgrid-section-liquid > td {\n height: 100%; /* better than `auto`, for firefox */\n }\n.fc .fc-scrollgrid-section > * {\n border-top-width: 0;\n border-left-width: 0;\n }\n.fc .fc-scrollgrid-section-header > *,\n .fc .fc-scrollgrid-section-footer > * {\n border-bottom-width: 0;\n }\n.fc .fc-scrollgrid-section-body table,\n .fc .fc-scrollgrid-section-footer table {\n border-bottom-style: hidden; /* head keeps its bottom border tho */\n }\n.fc {\n\n /* stickiness */\n\n}\n.fc .fc-scrollgrid-section-sticky > * {\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n position: sticky;\n z-index: 3; /* TODO: var */\n /* TODO: box-shadow when sticking */\n }\n.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky > * {\n top: 0; /* because border-sharing causes a gap at the top */\n /* TODO: give safari -1. has bug */\n }\n.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky > * {\n bottom: 0; /* known bug: bottom-stickiness doesn\'t work in safari */\n }\n.fc .fc-scrollgrid-sticky-shim { /* for horizontal scrollbar */\n height: 1px; /* needs height to create scrollbars */\n margin-bottom: -1px;\n }\n.fc-sticky { /* no .fc wrap because used as child of body */\n position: sticky;\n}\n.fc .fc-view-harness {\n flex-grow: 1; /* because this harness is WITHIN the .fc\'s flexbox */\n position: relative;\n }\n.fc {\n\n /* when the harness controls the height, make the view liquid */\n\n}\n.fc .fc-view-harness-active > .fc-view {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc .fc-col-header-cell-cushion {\n display: inline-block; /* x-browser for when sticky (when multi-tier header) */\n padding: 2px 4px;\n }\n.fc .fc-bg-event,\n .fc .fc-non-business,\n .fc .fc-highlight {\n /* will always have a harness with position:relative/absolute, so absolutely expand */\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc .fc-non-business {\n background: rgba(215, 215, 215, 0.3);\n background: var(--fc-non-business-color, rgba(215, 215, 215, 0.3));\n }\n.fc .fc-bg-event {\n background: rgb(143, 223, 130);\n background: var(--fc-bg-event-color, rgb(143, 223, 130));\n opacity: 0.3;\n opacity: var(--fc-bg-event-opacity, 0.3)\n }\n.fc .fc-bg-event .fc-event-title {\n margin: .5em;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n font-style: italic;\n }\n.fc .fc-highlight {\n background: rgba(188, 232, 241, 0.3);\n background: var(--fc-highlight-color, rgba(188, 232, 241, 0.3));\n }\n.fc .fc-cell-shaded,\n .fc .fc-day-disabled {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n/* link resets */\n/* ---------------------------------------------------------------------------------------------------- */\na.fc-event,\na.fc-event:hover {\n text-decoration: none;\n}\n/* cursor */\n.fc-event[href],\n.fc-event.fc-event-draggable {\n cursor: pointer;\n}\n/* event text content */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event .fc-event-main {\n position: relative;\n z-index: 2;\n }\n/* dragging */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-dragging:not(.fc-event-selected) { /* MOUSE */\n opacity: 0.75;\n }\n.fc-event-dragging.fc-event-selected { /* TOUCH */\n box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);\n }\n/* resizing */\n/* ---------------------------------------------------------------------------------------------------- */\n/* (subclasses should hone positioning for touch and non-touch) */\n.fc-event .fc-event-resizer {\n display: none;\n position: absolute;\n z-index: 4;\n }\n.fc-event:hover, /* MOUSE */\n.fc-event-selected { /* TOUCH */\n\n}\n.fc-event:hover .fc-event-resizer, .fc-event-selected .fc-event-resizer {\n display: block;\n }\n.fc-event-selected .fc-event-resizer {\n border-radius: 4px;\n border-radius: calc(var(--fc-event-resizer-dot-total-width, 8px) / 2);\n border-width: 1px;\n border-width: var(--fc-event-resizer-dot-border-width, 1px);\n width: 8px;\n width: var(--fc-event-resizer-dot-total-width, 8px);\n height: 8px;\n height: var(--fc-event-resizer-dot-total-width, 8px);\n border-style: solid;\n border-color: inherit;\n background: #fff;\n background: var(--fc-page-bg-color, #fff)\n\n /* expand hit area */\n\n }\n.fc-event-selected .fc-event-resizer:before {\n content: \'\';\n position: absolute;\n top: -20px;\n left: -20px;\n right: -20px;\n bottom: -20px;\n }\n/* selecting (always TOUCH) */\n/* OR, focused by tab-index */\n/* (TODO: maybe not the best focus-styling for .fc-daygrid-dot-event) */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-event-selected,\n.fc-event:focus {\n box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2)\n\n /* expand hit area (subclasses should expand) */\n\n}\n.fc-event-selected:before, .fc-event:focus:before {\n content: "";\n position: absolute;\n z-index: 3;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n.fc-event-selected,\n.fc-event:focus {\n\n /* dimmer effect */\n\n}\n.fc-event-selected:after, .fc-event:focus:after {\n content: "";\n background: rgba(0, 0, 0, 0.25);\n background: var(--fc-event-selected-overlay-color, rgba(0, 0, 0, 0.25));\n position: absolute;\n z-index: 1;\n\n /* assume there\'s a border on all sides. overcome it. */\n /* sometimes there\'s NOT a border, in which case the dimmer will go over */\n /* an adjacent border, which looks fine. */\n top: -1px;\n left: -1px;\n right: -1px;\n bottom: -1px;\n }\n/*\nA HORIZONTAL event\n*/\n.fc-h-event { /* allowed to be top-level */\n display: block;\n border: 1px solid #3788d8;\n border: 1px solid var(--fc-event-border-color, #3788d8);\n background-color: #3788d8;\n background-color: var(--fc-event-bg-color, #3788d8)\n\n}\n.fc-h-event .fc-event-main {\n color: #fff;\n color: var(--fc-event-text-color, #fff);\n }\n.fc-h-event .fc-event-main-frame {\n display: flex; /* for make fc-event-title-container expand */\n }\n.fc-h-event .fc-event-time {\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event .fc-event-title-container { /* serves as a container for the sticky cushion */\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-h-event .fc-event-title {\n display: inline-block; /* need this to be sticky cross-browser */\n vertical-align: top; /* for not messing up line-height */\n left: 0; /* for sticky */\n right: 0; /* for sticky */\n max-width: 100%; /* clip overflow on this element */\n overflow: hidden;\n }\n.fc-h-event.fc-event-selected:before {\n /* expand hit area */\n top: -10px;\n bottom: -10px;\n }\n/* adjust border and border-radius (if there is any) for non-start/end */\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-left-width: 0;\n}\n.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),\n.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n border-right-width: 0;\n}\n/* resizers */\n.fc-h-event:not(.fc-event-selected) .fc-event-resizer {\n top: 0;\n bottom: 0;\n width: 8px;\n width: var(--fc-event-resizer-thickness, 8px);\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end {\n cursor: w-resize;\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start {\n cursor: e-resize;\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-thickness, 8px));\n}\n/* resizers for TOUCH */\n.fc-h-event.fc-event-selected .fc-event-resizer {\n top: 50%;\n margin-top: -4px;\n margin-top: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end {\n left: -4px;\n left: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,\n.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start {\n right: -4px;\n right: calc(-0.5 * var(--fc-event-resizer-dot-total-width, 8px));\n}\n.fc .fc-popover {\n position: absolute;\n z-index: 9999;\n box-shadow: 0 2px 6px rgba(0,0,0,.15);\n }\n.fc .fc-popover-header {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 3px 4px;\n }\n.fc .fc-popover-title {\n margin: 0 2px;\n }\n.fc .fc-popover-close {\n cursor: pointer;\n opacity: 0.65;\n font-size: 1.1em;\n }\n.fc-theme-standard .fc-popover {\n border: 1px solid #ddd;\n border: 1px solid var(--fc-border-color, #ddd);\n background: #fff;\n background: var(--fc-page-bg-color, #fff);\n }\n.fc-theme-standard .fc-popover-header {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n'],sourceRoot:""}]);const s=a},88934:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'\n\n .fc .fc-resource-timeline-divider {\n width: 3px; /* important to have width to shrink this cell. no cross-browser problems */\n cursor: col-resize;\n }\n\n.fc .fc-resource-group {\n /* make it look less like a <th> */\n font-weight: inherit;\n text-align: inherit;\n }\n\n.fc {\n\n\n /* will match horizontal groups in the datagrid AND group lanes in the timeline area */\n\n}\n\n.fc .fc-resource-timeline .fc-resource-group:not([rowspan]) {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n\n.fc .fc-timeline-lane-frame {\n position: relative; /* contains the fc-timeline-bg container, which liquidly expands */\n /* the height is explicitly set by row-height-sync */\n }\n\n.fc .fc-timeline-overlap-enabled .fc-timeline-lane-frame .fc-timeline-events { /* has height set on it */\n box-sizing: content-box; /* padding no longer part of height */\n padding-bottom: 10px; /* give extra spacing underneath for selecting */\n }\n\n/* hack to make bg expand to lane\'s full height in resource-timeline with expandRows (#6134) */\n.fc-timeline-body-expandrows td.fc-timeline-lane {\n position: relative;\n }\n.fc-timeline-body-expandrows .fc-timeline-lane-frame {\n position: static;\n }\n/* the "frame" */\n.fc-datagrid-cell-frame-liquid {\n height: 100%; /* needs liquid hack */\n}\n.fc-liquid-hack .fc-datagrid-cell-frame-liquid {\n height: auto;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc {\n\n /* the "frame" in a HEADER */\n /* needs to position the column resizer */\n /* needs to vertically center content */\n\n}\n.fc .fc-datagrid-header .fc-datagrid-cell-frame {\n position: relative; /* for resizer */\n display: flex;\n justify-content: flex-start; /* horizontal align (natural left/right) */\n align-items: center; /* vertical align */\n }\n.fc {\n\n /* the column resizer (only in HEADER) */\n\n}\n.fc .fc-datagrid-cell-resizer {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0;\n width: 5px;\n cursor: col-resize;\n }\n.fc {\n\n /* the cushion */\n\n}\n.fc .fc-datagrid-cell-cushion {\n padding: 8px;\n white-space: nowrap;\n overflow: hidden; /* problem for col resizer :( */\n }\n.fc {\n\n /* expander icons */\n\n}\n.fc .fc-datagrid-expander {\n cursor: pointer;\n opacity: 0.65\n\n }\n.fc .fc-datagrid-expander .fc-icon { /* the expander and spacers before the expander */\n display: inline-block;\n width: 1em; /* ensure constant width, esp for empty icons */\n }\n.fc .fc-datagrid-expander-placeholder {\n cursor: auto;\n }\n.fc .fc-resource-timeline-flat .fc-datagrid-expander-placeholder {\n display: none;\n }\n.fc-direction-ltr .fc-datagrid-cell-resizer { right: -3px }\n.fc-direction-rtl .fc-datagrid-cell-resizer { left: -3px }\n.fc-direction-ltr .fc-datagrid-expander { margin-right: 3px }\n.fc-direction-rtl .fc-datagrid-expander { margin-left: 3px }\n',"",{version:3,sources:["webpack://./packages/core/scheduler/node_modules/@fullcalendar/resource-timeline/main.css"],names:[],mappings:";;EAEE;IACE,UAAU,EAAE,2EAA2E;IACvF,kBAAkB;EACpB;;AAEF;IACI,kCAAkC;IAClC,oBAAoB;IACpB,mBAAmB;EACrB;;AAEF;;;EAGE,sFAAsF;;AAExF;;AAEA;MACM,oCAAoC;MACpC,gEAAgE;IAClE;;AAEJ;IACI,kBAAkB,EAAE,kEAAkE;IACtF,oDAAoD;EACtD;;AAEF,+EAA+E,yBAAyB;IACpG,uBAAuB,EAAE,qCAAqC;IAC9D,oBAAoB,EAAE,gDAAgD;EACxE;;AAEF,8FAA8F;AAC9F;IACI,kBAAkB;EACpB;AACF;IACI,gBAAgB;EAClB;AACF,gBAAgB;AAChB;EACE,YAAY,EAAE,sBAAsB;AACtC;AACA;EACE,YAAY;EACZ,kBAAkB;EAClB,MAAM;EACN,QAAQ;EACR,SAAS;EACT,OAAO;EACP;AACF;;EAEE,4BAA4B;EAC5B,yCAAyC;EACzC,uCAAuC;;AAEzC;AACA;MACM,kBAAkB,EAAE,gBAAgB;MACpC,aAAa;MACb,2BAA2B,EAAE,0CAA0C;MACvE,mBAAmB,EAAE,mBAAmB;IAC1C;AACJ;;EAEE,wCAAwC;;AAE1C;AACA;IACI,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,SAAS;IACT,UAAU;IACV,kBAAkB;EACpB;AACF;;EAEE,gBAAgB;;AAElB;AACA;IACI,YAAY;IACZ,mBAAmB;IACnB,gBAAgB,EAAE,+BAA+B;EACnD;AACF;;EAEE,mBAAmB;;AAErB;AACA;IACI,eAAe;IACf;;EAEF;AACF,qCAAqC,iDAAiD;MAChF,qBAAqB;MACrB,UAAU,EAAE,+CAA+C;IAC7D;AACJ;IACI,YAAY;EACd;AACF;MACM,aAAa;IACf;AACJ,8CAA8C,YAAY;AAC1D,8CAA8C,WAAW;AACzD,0CAA0C,kBAAkB;AAC5D,0CAA0C,iBAAiB",sourcesContent:['\n\n .fc .fc-resource-timeline-divider {\n width: 3px; /* important to have width to shrink this cell. no cross-browser problems */\n cursor: col-resize;\n }\n\n.fc .fc-resource-group {\n /* make it look less like a <th> */\n font-weight: inherit;\n text-align: inherit;\n }\n\n.fc {\n\n\n /* will match horizontal groups in the datagrid AND group lanes in the timeline area */\n\n}\n\n.fc .fc-resource-timeline .fc-resource-group:not([rowspan]) {\n background: rgba(208, 208, 208, 0.3);\n background: var(--fc-neutral-bg-color, rgba(208, 208, 208, 0.3));\n }\n\n.fc .fc-timeline-lane-frame {\n position: relative; /* contains the fc-timeline-bg container, which liquidly expands */\n /* the height is explicitly set by row-height-sync */\n }\n\n.fc .fc-timeline-overlap-enabled .fc-timeline-lane-frame .fc-timeline-events { /* has height set on it */\n box-sizing: content-box; /* padding no longer part of height */\n padding-bottom: 10px; /* give extra spacing underneath for selecting */\n }\n\n/* hack to make bg expand to lane\'s full height in resource-timeline with expandRows (#6134) */\n.fc-timeline-body-expandrows td.fc-timeline-lane {\n position: relative;\n }\n.fc-timeline-body-expandrows .fc-timeline-lane-frame {\n position: static;\n }\n/* the "frame" */\n.fc-datagrid-cell-frame-liquid {\n height: 100%; /* needs liquid hack */\n}\n.fc-liquid-hack .fc-datagrid-cell-frame-liquid {\n height: auto;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n.fc {\n\n /* the "frame" in a HEADER */\n /* needs to position the column resizer */\n /* needs to vertically center content */\n\n}\n.fc .fc-datagrid-header .fc-datagrid-cell-frame {\n position: relative; /* for resizer */\n display: flex;\n justify-content: flex-start; /* horizontal align (natural left/right) */\n align-items: center; /* vertical align */\n }\n.fc {\n\n /* the column resizer (only in HEADER) */\n\n}\n.fc .fc-datagrid-cell-resizer {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0;\n width: 5px;\n cursor: col-resize;\n }\n.fc {\n\n /* the cushion */\n\n}\n.fc .fc-datagrid-cell-cushion {\n padding: 8px;\n white-space: nowrap;\n overflow: hidden; /* problem for col resizer :( */\n }\n.fc {\n\n /* expander icons */\n\n}\n.fc .fc-datagrid-expander {\n cursor: pointer;\n opacity: 0.65\n\n }\n.fc .fc-datagrid-expander .fc-icon { /* the expander and spacers before the expander */\n display: inline-block;\n width: 1em; /* ensure constant width, esp for empty icons */\n }\n.fc .fc-datagrid-expander-placeholder {\n cursor: auto;\n }\n.fc .fc-resource-timeline-flat .fc-datagrid-expander-placeholder {\n display: none;\n }\n.fc-direction-ltr .fc-datagrid-cell-resizer { right: -3px }\n.fc-direction-rtl .fc-datagrid-cell-resizer { left: -3px }\n.fc-direction-ltr .fc-datagrid-expander { margin-right: 3px }\n.fc-direction-rtl .fc-datagrid-expander { margin-left: 3px }\n'],sourceRoot:""}]);const s=a},61280:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"\n\n .fc .fc-timeline-body {\n min-height: 100%;\n position: relative;\n z-index: 1; /* scope slots, bg, etc */\n }\n/*\nvertical slots in both the header AND the body\n*/\n.fc .fc-timeline-slots {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0\n }\n.fc .fc-timeline-slots > table {\n height: 100%;\n }\n.fc {\n\n /* border for both header AND body cells */\n\n}\n.fc .fc-timeline-slot-minor {\n border-style: dotted;\n }\n.fc {\n\n /* header cells (aka \"label\") */\n\n}\n.fc .fc-timeline-slot-frame {\n display: flex;\n align-items: center; /* vertical align */\n justify-content: center; /* horizontal align */\n }\n.fc .fc-timeline-header-row-chrono { /* a row of times */\n }\n.fc .fc-timeline-header-row-chrono .fc-timeline-slot-frame {\n justify-content: flex-start; /* horizontal align left or right */\n }\n.fc .fc-timeline-header-row:last-child { /* guaranteed NOT to have sticky elements */\n }\n.fc .fc-timeline-header-row:last-child .fc-timeline-slot-frame {\n /* so text doesn't bleed out and cause extra scroll */\n /* (won't work with sticky elements) */\n overflow: hidden;\n }\n.fc .fc-timeline-slot-cushion {\n padding: 4px 5px; /* TODO: unify with fc-col-header? */\n white-space: nowrap;\n }\n.fc {\n\n /* NOTE: how does the top row of cells get horizontally centered? */\n /* for the non-chrono-row, the fc-sticky system looks for text-align center, */\n /* and it's a fluke that the default browser stylesheet already does this for <th> */\n /* TODO: have StickyScrolling look at natural left coord to detect centeredness. */\n\n}\n/* only owns one side, so can do dotted */\n.fc-direction-ltr .fc-timeline-slot { border-right: 0 !important }\n.fc-direction-rtl .fc-timeline-slot { border-left: 0 !important }\n.fc .fc-timeline-now-indicator-container {\n position: absolute;\n z-index: 4;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n width: 0;\n }\n.fc .fc-timeline-now-indicator-arrow,\n .fc .fc-timeline-now-indicator-line {\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: red;\n border-color: var(--fc-now-indicator-color, red);\n }\n.fc .fc-timeline-now-indicator-arrow {\n margin: 0 -6px; /* 5, then one more to counteract scroller's negative margins */\n\n /* triangle pointing down. TODO: mixin */\n border-width: 6px 5px 0 5px;\n border-left-color: transparent;\n border-right-color: transparent;\n }\n.fc .fc-timeline-now-indicator-line {\n margin: 0 -1px; /* counteract scroller's negative margins */\n bottom: 0;\n border-width: 0 0 0 1px;\n }\n.fc {\n\n /* container */\n\n}\n.fc .fc-timeline-events {\n position: relative;\n z-index: 3;\n width: 0; /* for event positioning. will end up on correct side based on dir */\n }\n.fc {\n\n /* harness */\n\n}\n.fc .fc-timeline-event-harness,\n .fc .fc-timeline-more-link {\n position: absolute;\n top: 0; /* for when when top can't be computed yet */\n /* JS will set tht left/right */\n }\n/* z-index, scoped within fc-timeline-events */\n.fc-timeline-event { z-index: 1 }\n.fc-timeline-event.fc-event-mirror { z-index: 2 }\n.fc-timeline-event {\n position: relative; /* contains things. TODO: make part of fc-h-event and fc-v-event */\n display: flex; /* for v-aligning start/end arrows and making fc-event-main stretch all the way */\n align-items: center;\n border-radius: 0;\n padding: 2px 1px;\n margin-bottom: 1px;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em)\n\n /* time and title spacing */\n /* ---------------------------------------------------------------------------------------------------- */\n}\n.fc-timeline-event .fc-event-main {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-timeline-event .fc-event-time {\n font-weight: bold;\n }\n.fc-timeline-event .fc-event-time,\n .fc-timeline-event .fc-event-title {\n white-space: nowrap;\n padding: 0 2px;\n }\n/* move 1px away from slot line */\n.fc-direction-ltr .fc-timeline-event.fc-event-end,\n .fc-direction-ltr .fc-timeline-more-link {\n margin-right: 1px;\n }\n.fc-direction-rtl .fc-timeline-event.fc-event-end,\n .fc-direction-rtl .fc-timeline-more-link {\n margin-left: 1px;\n }\n/* make event beefier when overlap not allowed */\n.fc-timeline-overlap-disabled .fc-timeline-event {\n padding-top: 5px;\n padding-bottom: 5px;\n margin-bottom: 0;\n}\n/* arrows indicating the event continues into past/future */\n/* ---------------------------------------------------------------------------------------------------- */\n/* part of the flexbox flow */\n.fc-timeline-event:not(.fc-event-start):before,\n.fc-timeline-event:not(.fc-event-end):after {\n content: \"\";\n flex-grow: 0;\n flex-shrink: 0;\n opacity: .5;\n\n /* triangle. TODO: mixin */\n width: 0;\n height: 0;\n margin: 0 1px;\n border: 5px solid #000; /* TODO: var */\n border-top-color: transparent;\n border-bottom-color: transparent;\n}\n/* pointing left */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-start):before,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-end):after {\n border-left: 0;\n}\n/* pointing right */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-end):after,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-start):before {\n border-right: 0;\n}\n/* +more events indicator */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-timeline-more-link {\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n color: inherit;\n color: var(--fc-more-link-text-color, inherit);\n background: #d0d0d0;\n background: var(--fc-more-link-bg-color, #d0d0d0);\n padding: 1px;\n cursor: pointer;\n}\n.fc-timeline-more-link-inner { /* has fc-sticky */\n display: inline-block;\n left: 0;\n right: 0;\n padding: 2px;\n}\n.fc .fc-timeline-bg { /* a container for bg content */\n position: absolute;\n z-index: 2;\n top: 0;\n bottom: 0;\n width: 0;\n left: 0; /* will take precedence when LTR */\n right: 0; /* will take precedence when RTL */ /* TODO: kill */\n }\n.fc .fc-timeline-bg .fc-non-business { z-index: 1 }\n.fc .fc-timeline-bg .fc-bg-event { z-index: 2 }\n.fc .fc-timeline-bg .fc-highlight { z-index: 3 }\n.fc .fc-timeline-bg-harness {\n position: absolute;\n top: 0;\n bottom: 0;\n }\n\n","",{version:3,sources:["webpack://./packages/core/scheduler/node_modules/@fullcalendar/timeline/main.css"],names:[],mappings:";;EAEE;IACE,gBAAgB;IAChB,kBAAkB;IAClB,UAAU,EAAE,yBAAyB;EACvC;AACF;;CAEC;AACD;IACI,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN;EACF;AACF;MACM,YAAY;IACd;AACJ;;EAEE,0CAA0C;;AAE5C;AACA;IACI,oBAAoB;EACtB;AACF;;EAEE,+BAA+B;;AAEjC;AACA;IACI,aAAa;IACb,mBAAmB,EAAE,mBAAmB;IACxC,uBAAuB,EAAE,qBAAqB;EAChD;AACF,qCAAqC,mBAAmB;EACtD;AACF;MACM,2BAA2B,EAAE,mCAAmC;IAClE;AACJ,yCAAyC,2CAA2C;EAClF;AACF;MACM,qDAAqD;MACrD,sCAAsC;MACtC,gBAAgB;IAClB;AACJ;IACI,gBAAgB,EAAE,oCAAoC;IACtD,mBAAmB;EACrB;AACF;;EAEE,mEAAmE;EACnE,8EAA8E;EAC9E,oFAAoF;EACpF,kFAAkF;;AAEpF;AACA,yCAAyC;AACzC,sCAAsC,2BAA2B;AACjE,sCAAsC,0BAA0B;AAChE;IACI,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,SAAS;IACT,OAAO;IACP,QAAQ;IACR,QAAQ;EACV;AACF;;IAEI,kBAAkB;IAClB,MAAM;IACN,mBAAmB;IACnB,iBAAiB;IACjB,gDAAgD;EAClD;AACF;IACI,cAAc,EAAE,+DAA+D;;IAE/E,wCAAwC;IACxC,2BAA2B;IAC3B,8BAA8B;IAC9B,+BAA+B;EACjC;AACF;IACI,cAAc,EAAE,2CAA2C;IAC3D,SAAS;IACT,uBAAuB;EACzB;AACF;;EAEE,cAAc;;AAEhB;AACA;IACI,kBAAkB;IAClB,UAAU;IACV,QAAQ,EAAE,oEAAoE;EAChF;AACF;;EAEE,YAAY;;AAEd;AACA;;IAEI,kBAAkB;IAClB,MAAM,EAAE,4CAA4C;IACpD,+BAA+B;EACjC;AACF,8CAA8C;AAC9C,qBAAqB,WAAW;AAChC,qCAAqC,WAAW;AAChD;EACE,kBAAkB,EAAE,kEAAkE;EACtF,aAAa,EAAE,iFAAiF;EAChG,mBAAmB;EACnB,gBAAgB;EAChB,gBAAgB;EAChB,kBAAkB;EAClB,gBAAgB;EAChB,0CAA0C;;EAE1C,2BAA2B;EAC3B,yGAAyG;AAC3G;AACA;IACI,YAAY;IACZ,cAAc;IACd,YAAY,EAAE,iDAAiD;EACjE;AACF;IACI,iBAAiB;EACnB;AACF;;IAEI,mBAAmB;IACnB,cAAc;EAChB;AACF,iCAAiC;AACjC;;IAEI,iBAAiB;EACnB;AACF;;IAEI,gBAAgB;EAClB;AACF,gDAAgD;AAChD;EACE,gBAAgB;EAChB,mBAAmB;EACnB,gBAAgB;AAClB;AACA,2DAA2D;AAC3D,yGAAyG;AACzG,6BAA6B;AAC7B;;EAEE,WAAW;EACX,YAAY;EACZ,cAAc;EACd,WAAW;;EAEX,0BAA0B;EAC1B,QAAQ;EACR,SAAS;EACT,aAAa;EACb,sBAAsB,EAAE,cAAc;EACtC,6BAA6B;EAC7B,gCAAgC;AAClC;AACA,kBAAkB;AAClB;;EAEE,cAAc;AAChB;AACA,mBAAmB;AACnB;;EAEE,eAAe;AACjB;AACA,2BAA2B;AAC3B,yGAAyG;AACzG;EACE,gBAAgB;EAChB,2CAA2C;EAC3C,cAAc;EACd,8CAA8C;EAC9C,mBAAmB;EACnB,iDAAiD;EACjD,YAAY;EACZ,eAAe;AACjB;AACA,+BAA+B,kBAAkB;EAC/C,qBAAqB;EACrB,OAAO;EACP,QAAQ;EACR,YAAY;AACd;AACA,sBAAsB,+BAA+B;IACjD,kBAAkB;IAClB,UAAU;IACV,MAAM;IACN,SAAS;IACT,QAAQ;IACR,OAAO,EAAE,kCAAkC;IAC3C,QAAQ,EAAE,kCAAkC,EAAE,eAAe;EAC/D;AACF,uCAAuC,WAAW;AAClD,mCAAmC,WAAW;AAC9C,oCAAoC,WAAW;AAC/C;IACI,kBAAkB;IAClB,MAAM;IACN,SAAS;EACX",sourcesContent:["\n\n .fc .fc-timeline-body {\n min-height: 100%;\n position: relative;\n z-index: 1; /* scope slots, bg, etc */\n }\n/*\nvertical slots in both the header AND the body\n*/\n.fc .fc-timeline-slots {\n position: absolute;\n z-index: 1;\n top: 0;\n bottom: 0\n }\n.fc .fc-timeline-slots > table {\n height: 100%;\n }\n.fc {\n\n /* border for both header AND body cells */\n\n}\n.fc .fc-timeline-slot-minor {\n border-style: dotted;\n }\n.fc {\n\n /* header cells (aka \"label\") */\n\n}\n.fc .fc-timeline-slot-frame {\n display: flex;\n align-items: center; /* vertical align */\n justify-content: center; /* horizontal align */\n }\n.fc .fc-timeline-header-row-chrono { /* a row of times */\n }\n.fc .fc-timeline-header-row-chrono .fc-timeline-slot-frame {\n justify-content: flex-start; /* horizontal align left or right */\n }\n.fc .fc-timeline-header-row:last-child { /* guaranteed NOT to have sticky elements */\n }\n.fc .fc-timeline-header-row:last-child .fc-timeline-slot-frame {\n /* so text doesn't bleed out and cause extra scroll */\n /* (won't work with sticky elements) */\n overflow: hidden;\n }\n.fc .fc-timeline-slot-cushion {\n padding: 4px 5px; /* TODO: unify with fc-col-header? */\n white-space: nowrap;\n }\n.fc {\n\n /* NOTE: how does the top row of cells get horizontally centered? */\n /* for the non-chrono-row, the fc-sticky system looks for text-align center, */\n /* and it's a fluke that the default browser stylesheet already does this for <th> */\n /* TODO: have StickyScrolling look at natural left coord to detect centeredness. */\n\n}\n/* only owns one side, so can do dotted */\n.fc-direction-ltr .fc-timeline-slot { border-right: 0 !important }\n.fc-direction-rtl .fc-timeline-slot { border-left: 0 !important }\n.fc .fc-timeline-now-indicator-container {\n position: absolute;\n z-index: 4;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n width: 0;\n }\n.fc .fc-timeline-now-indicator-arrow,\n .fc .fc-timeline-now-indicator-line {\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: red;\n border-color: var(--fc-now-indicator-color, red);\n }\n.fc .fc-timeline-now-indicator-arrow {\n margin: 0 -6px; /* 5, then one more to counteract scroller's negative margins */\n\n /* triangle pointing down. TODO: mixin */\n border-width: 6px 5px 0 5px;\n border-left-color: transparent;\n border-right-color: transparent;\n }\n.fc .fc-timeline-now-indicator-line {\n margin: 0 -1px; /* counteract scroller's negative margins */\n bottom: 0;\n border-width: 0 0 0 1px;\n }\n.fc {\n\n /* container */\n\n}\n.fc .fc-timeline-events {\n position: relative;\n z-index: 3;\n width: 0; /* for event positioning. will end up on correct side based on dir */\n }\n.fc {\n\n /* harness */\n\n}\n.fc .fc-timeline-event-harness,\n .fc .fc-timeline-more-link {\n position: absolute;\n top: 0; /* for when when top can't be computed yet */\n /* JS will set tht left/right */\n }\n/* z-index, scoped within fc-timeline-events */\n.fc-timeline-event { z-index: 1 }\n.fc-timeline-event.fc-event-mirror { z-index: 2 }\n.fc-timeline-event {\n position: relative; /* contains things. TODO: make part of fc-h-event and fc-v-event */\n display: flex; /* for v-aligning start/end arrows and making fc-event-main stretch all the way */\n align-items: center;\n border-radius: 0;\n padding: 2px 1px;\n margin-bottom: 1px;\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em)\n\n /* time and title spacing */\n /* ---------------------------------------------------------------------------------------------------- */\n}\n.fc-timeline-event .fc-event-main {\n flex-grow: 1;\n flex-shrink: 1;\n min-width: 0; /* important for allowing to shrink all the way */\n }\n.fc-timeline-event .fc-event-time {\n font-weight: bold;\n }\n.fc-timeline-event .fc-event-time,\n .fc-timeline-event .fc-event-title {\n white-space: nowrap;\n padding: 0 2px;\n }\n/* move 1px away from slot line */\n.fc-direction-ltr .fc-timeline-event.fc-event-end,\n .fc-direction-ltr .fc-timeline-more-link {\n margin-right: 1px;\n }\n.fc-direction-rtl .fc-timeline-event.fc-event-end,\n .fc-direction-rtl .fc-timeline-more-link {\n margin-left: 1px;\n }\n/* make event beefier when overlap not allowed */\n.fc-timeline-overlap-disabled .fc-timeline-event {\n padding-top: 5px;\n padding-bottom: 5px;\n margin-bottom: 0;\n}\n/* arrows indicating the event continues into past/future */\n/* ---------------------------------------------------------------------------------------------------- */\n/* part of the flexbox flow */\n.fc-timeline-event:not(.fc-event-start):before,\n.fc-timeline-event:not(.fc-event-end):after {\n content: \"\";\n flex-grow: 0;\n flex-shrink: 0;\n opacity: .5;\n\n /* triangle. TODO: mixin */\n width: 0;\n height: 0;\n margin: 0 1px;\n border: 5px solid #000; /* TODO: var */\n border-top-color: transparent;\n border-bottom-color: transparent;\n}\n/* pointing left */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-start):before,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-end):after {\n border-left: 0;\n}\n/* pointing right */\n.fc-direction-ltr .fc-timeline-event:not(.fc-event-end):after,\n.fc-direction-rtl .fc-timeline-event:not(.fc-event-start):before {\n border-right: 0;\n}\n/* +more events indicator */\n/* ---------------------------------------------------------------------------------------------------- */\n.fc-timeline-more-link {\n font-size: .85em;\n font-size: var(--fc-small-font-size, .85em);\n color: inherit;\n color: var(--fc-more-link-text-color, inherit);\n background: #d0d0d0;\n background: var(--fc-more-link-bg-color, #d0d0d0);\n padding: 1px;\n cursor: pointer;\n}\n.fc-timeline-more-link-inner { /* has fc-sticky */\n display: inline-block;\n left: 0;\n right: 0;\n padding: 2px;\n}\n.fc .fc-timeline-bg { /* a container for bg content */\n position: absolute;\n z-index: 2;\n top: 0;\n bottom: 0;\n width: 0;\n left: 0; /* will take precedence when LTR */\n right: 0; /* will take precedence when RTL */ /* TODO: kill */\n }\n.fc .fc-timeline-bg .fc-non-business { z-index: 1 }\n.fc .fc-timeline-bg .fc-bg-event { z-index: 2 }\n.fc .fc-timeline-bg .fc-highlight { z-index: 3 }\n.fc .fc-timeline-bg-harness {\n position: absolute;\n top: 0;\n bottom: 0;\n }\n\n"],sourceRoot:""}]);const s=a},23279:(e,t,n)=>{var r=n(13218),o=n(7771),i=n(14841),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,f,p,h=0,A=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=l,r=c;return l=c=void 0,h=t,d=e.apply(r,n)}function y(e){return h=e,f=setTimeout(E,t),A?m(e):d}function C(e){var n=e-p;return void 0===p||n>=t||n<0||g&&e-h>=u}function E(){var e=o();if(C(e))return b(e);f=setTimeout(E,function(e){var n=t-(e-p);return g?s(n,u-(e-h)):n}(e))}function b(e){return f=void 0,v&&l?m(e):(l=c=void 0,d)}function w(){var e=o(),n=C(e);if(l=arguments,c=this,p=e,n){if(void 0===f)return y(p);if(g)return clearTimeout(f),f=setTimeout(E,t),m(p)}return void 0===f&&(f=setTimeout(E,t)),d}return t=i(t)||0,r(n)&&(A=!!n.leading,u=(g="maxWait"in n)?a(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),w.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=p=c=f=void 0},w.flush=function(){return void 0===f?d:b(o())},w}},7771:(e,t,n)=>{var r=n(55639);e.exports=function(){return r.Date.now()}},31921:(e,t,n)=>{var r=n(10611);e.exports=function(e,t,n,o){return o="function"==typeof o?o:void 0,null==e?e:r(e,t,n,o)}},14841:e=>{e.exports=function(e){return e}},45509:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(1024),o=n.n(r),i=n(45697),a=n.n(i),s="undefined"!=typeof window?window:null,l=null===s,c=l?void 0:s.document,u="horizontal",d=function(){return!1},f=l?"calc":["","-webkit-","-moz-","-o-"].filter((function(e){var t=c.createElement("div");return t.style.cssText="width:"+e+"calc(9px)",!!t.style.length})).shift()+"calc",p=function(e){return"string"==typeof e||e instanceof String},h=function(e){if(p(e)){var t=c.querySelector(e);if(!t)throw new Error("Selector "+e+" did not match a DOM element");return t}return e},A=function(e,t,n){var r=e[t];return void 0!==r?r:n},g=function(e,t,n,r){if(t){if("end"===r)return 0;if("center"===r)return e/2}else if(n){if("start"===r)return 0;if("center"===r)return e/2}return e},v=function(e,t){var n=c.createElement("div");return n.className="gutter gutter-"+t,n},m=function(e,t,n){var r={};return p(t)?r[e]=t:r[e]=f+"("+t+"% - "+n+"px)",r},y=function(e,t){var n;return(n={})[e]=t+"px",n};const C=function(e,t){if(void 0===t&&(t={}),l)return{};var n,r,o,i,a,f,p=e;Array.from&&(p=Array.from(p));var C=h(p[0]).parentNode,E=getComputedStyle?getComputedStyle(C):null,b=E?E.flexDirection:null,w=A(t,"sizes")||p.map((function(){return 100/p.length})),D=A(t,"minSize",100),S=Array.isArray(D)?D:p.map((function(){return D})),B=A(t,"maxSize",1/0),I=Array.isArray(B)?B:p.map((function(){return B})),R=A(t,"expandToMin",!1),x=A(t,"gutterSize",10),k=A(t,"gutterAlign","center"),T=A(t,"snapOffset",30),M=Array.isArray(T)?T:p.map((function(){return T})),z=A(t,"dragInterval",1),O=A(t,"direction",u),N=A(t,"cursor",O===u?"col-resize":"row-resize"),H=A(t,"gutter",v),P=A(t,"elementStyle",m),U=A(t,"gutterStyle",y);function _(e,t,r,o){var i=P(n,t,r,o);Object.keys(i).forEach((function(t){e.style[t]=i[t]}))}function F(){return f.map((function(e){return e.size}))}function W(e){return"touches"in e?e.touches[0][r]:e[r]}function L(e){var t=f[this.a],n=f[this.b],r=t.size+n.size;t.size=e/this.size*r,n.size=r-e/this.size*r,_(t.element,t.size,this._b,t.i),_(n.element,n.size,this._c,n.i)}function q(e){var n,r=f[this.a],o=f[this.b];this.dragging&&(n=W(e)-this.start+(this._b-this.dragOffset),z>1&&(n=Math.round(n/z)*z),n<=r.minSize+r.snapOffset+this._b?n=r.minSize+this._b:n>=this.size-(o.minSize+o.snapOffset+this._c)&&(n=this.size-(o.minSize+this._c)),n>=r.maxSize-r.snapOffset+this._b?n=r.maxSize+this._b:n<=this.size-(o.maxSize-o.snapOffset+this._c)&&(n=this.size-(o.maxSize+this._c)),L.call(this,n),A(t,"onDrag",d)(F()))}function Q(){var e=f[this.a].element,t=f[this.b].element,r=e.getBoundingClientRect(),a=t.getBoundingClientRect();this.size=r[n]+a[n]+this._b+this._c,this.start=r[o],this.end=r[i]}function V(e){var t=function(e){if(!getComputedStyle)return null;var t=getComputedStyle(e);if(!t)return null;var n=e[a];return 0===n?null:n-=O===u?parseFloat(t.paddingLeft)+parseFloat(t.paddingRight):parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)}(C);if(null===t)return e;if(S.reduce((function(e,t){return e+t}),0)>t)return e;var n=0,r=[],o=e.map((function(o,i){var a=t*o/100,s=g(x,0===i,i===e.length-1,k),l=S[i]+s;return a<l?(n+=l-a,r.push(0),l):(r.push(a-l),a)}));return 0===n?e:o.map((function(e,o){var i=e;if(n>0&&r[o]-n>0){var a=Math.min(n,r[o]-n);n-=a,i=e-a}return i/t*100}))}function j(){var e=this,n=f[e.a].element,r=f[e.b].element;e.dragging&&A(t,"onDragEnd",d)(F()),e.dragging=!1,s.removeEventListener("mouseup",e.stop),s.removeEventListener("touchend",e.stop),s.removeEventListener("touchcancel",e.stop),s.removeEventListener("mousemove",e.move),s.removeEventListener("touchmove",e.move),e.stop=null,e.move=null,n.removeEventListener("selectstart",d),n.removeEventListener("dragstart",d),r.removeEventListener("selectstart",d),r.removeEventListener("dragstart",d),n.style.userSelect="",n.style.webkitUserSelect="",n.style.MozUserSelect="",n.style.pointerEvents="",r.style.userSelect="",r.style.webkitUserSelect="",r.style.MozUserSelect="",r.style.pointerEvents="",e.gutter.style.cursor="",e.parent.style.cursor="",c.body.style.cursor=""}function Y(e){if(!("button"in e)||0===e.button){var n=this,r=f[n.a].element,o=f[n.b].element;n.dragging||A(t,"onDragStart",d)(F()),e.preventDefault(),n.dragging=!0,n.move=q.bind(n),n.stop=j.bind(n),s.addEventListener("mouseup",n.stop),s.addEventListener("touchend",n.stop),s.addEventListener("touchcancel",n.stop),s.addEventListener("mousemove",n.move),s.addEventListener("touchmove",n.move),r.addEventListener("selectstart",d),r.addEventListener("dragstart",d),o.addEventListener("selectstart",d),o.addEventListener("dragstart",d),r.style.userSelect="none",r.style.webkitUserSelect="none",r.style.MozUserSelect="none",r.style.pointerEvents="none",o.style.userSelect="none",o.style.webkitUserSelect="none",o.style.MozUserSelect="none",o.style.pointerEvents="none",n.gutter.style.cursor=N,n.parent.style.cursor=N,c.body.style.cursor=N,Q.call(n),n.dragOffset=W(e)-n.end}}O===u?(n="width",r="clientX",o="left",i="right",a="clientWidth"):"vertical"===O&&(n="height",r="clientY",o="top",i="bottom",a="clientHeight"),w=V(w);var G=[];function Z(e){var t=e.i===G.length,n=t?G[e.i-1]:G[e.i];Q.call(n);var r=t?n.size-e.minSize-n._c:e.minSize+n._b;L.call(n,r)}return(f=p.map((function(e,t){var r,o={element:h(e),size:w[t],minSize:S[t],maxSize:I[t],snapOffset:M[t],i:t};if(t>0&&((r={a:t-1,b:t,dragging:!1,direction:O,parent:C})._b=g(x,t-1==0,!1,k),r._c=g(x,!1,t===p.length-1,k),"row-reverse"===b||"column-reverse"===b)){var i=r.a;r.a=r.b,r.b=i}if(t>0){var a=H(t,O,o.element);!function(e,t,r){var o=U(n,t,r);Object.keys(o).forEach((function(t){e.style[t]=o[t]}))}(a,x,t),r._a=Y.bind(r),a.addEventListener("mousedown",r._a),a.addEventListener("touchstart",r._a),C.insertBefore(a,o.element),r.gutter=a}return _(o.element,o.size,g(x,0===t,t===p.length-1,k),t),t>0&&G.push(r),o}))).forEach((function(e){var t=e.element.getBoundingClientRect()[n];t<e.minSize&&(R?Z(e):e.minSize=t)})),{setSizes:function(e){var t=V(e);t.forEach((function(e,n){if(n>0){var r=G[n-1],o=f[r.a],i=f[r.b];o.size=t[n-1],i.size=e,_(o.element,o.size,r._b,o.i),_(i.element,i.size,r._c,i.i)}}))},getSizes:F,collapse:function(e){Z(f[e])},destroy:function(e,t){G.forEach((function(r){if(!0!==t?r.parent.removeChild(r.gutter):(r.gutter.removeEventListener("mousedown",r._a),r.gutter.removeEventListener("touchstart",r._a)),!0!==e){var o=P(n,r.a.size,r._b);Object.keys(o).forEach((function(e){f[r.a].element.style[e]="",f[r.b].element.style[e]=""}))}}))},parent:C,pairs:G}};function E(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}var b=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.componentDidMount=function(){var e=this.props;e.children;var t=e.gutter,n=E(e,["children","gutter"]);n.gutter=function(e,n){var r;return t?r=t(e,n):(r=document.createElement("div")).className="gutter gutter-"+n,r.__isSplitGutter=!0,r},this.split=C(this.parent.children,n)},t.prototype.componentDidUpdate=function(e){var t=this,n=this.props;n.children;var r=n.minSize,o=n.sizes,i=n.collapsed,a=E(n,["children","minSize","sizes","collapsed"]),s=e.minSize,l=e.sizes,c=e.collapsed,u=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"].map((function(n){return t.props[n]!==e[n]})).reduce((function(e,t){return e||t}),!1);if(Array.isArray(r)&&Array.isArray(s)){var d=!1;r.forEach((function(e,t){d=d||e!==s[t]})),u=u||d}else u=!(!Array.isArray(r)&&!Array.isArray(s))||(u||r!==s);if(u)a.minSize=r,a.sizes=o||this.split.getSizes(),this.split.destroy(!0,!0),a.gutter=function(e,t,n){return n.previousSibling},this.split=C(Array.from(this.parent.children).filter((function(e){return!e.__isSplitGutter})),a);else if(o){var f=!1;o.forEach((function(e,t){f=f||e!==l[t]})),f&&this.split.setSizes(this.props.sizes)}Number.isInteger(i)&&(i!==c||u)&&this.split.collapse(i)},t.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},t.prototype.render=function(){var e=this,t=this.props;t.sizes,t.minSize,t.maxSize,t.expandToMin,t.gutterSize,t.gutterAlign,t.snapOffset,t.dragInterval,t.direction,t.cursor,t.gutter,t.elementStyle,t.gutterStyle,t.onDrag,t.onDragStart,t.onDragEnd,t.collapsed;var n=t.children,r=E(t,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]);return o().createElement("div",Object.assign({},{ref:function(t){e.parent=t}},r),n)},t}(o().Component);b.propTypes={sizes:a().arrayOf(a().number),minSize:a().oneOfType([a().number,a().arrayOf(a().number)]),maxSize:a().oneOfType([a().number,a().arrayOf(a().number)]),expandToMin:a().bool,gutterSize:a().number,gutterAlign:a().string,snapOffset:a().oneOfType([a().number,a().arrayOf(a().number)]),dragInterval:a().number,direction:a().string,cursor:a().string,gutter:a().func,elementStyle:a().func,gutterStyle:a().func,onDrag:a().func,onDragStart:a().func,onDragEnd:a().func,collapsed:a().number,children:a().arrayOf(a().element)},b.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};const w=b},11479:(e,t,n)=>{"use strict";var r=n(77708);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},45928:(e,t,n)=>{e.exports=n(11479)()},77708:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},54508:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var r=n(93379),o=n.n(r),i=n(31397),a={insert:"head",singleton:!1};o()(i.Z,a);i.Z.locals;var s=n(32277),l=n(61486);
|
|
2
|
+
/*!
|
|
3
|
+
FullCalendar Scheduler v5.10.1
|
|
4
|
+
Docs & License: https://fullcalendar.io/scheduler
|
|
5
|
+
(c) 2021 Adam Shaw
|
|
6
|
+
*/
|
|
7
|
+
s.vc.COLLAPSIBLE_WIDTH_THRESHOLD=1200;var c=[],u=[];function d(){for(var e=(0,s.xlG)(document.body,".fc-scroller-harness > .fc-scroller"),t=e.map((function(e){var t=window.getComputedStyle(e);return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,overflowX:t.overflowX,overflowY:t.overflowY,marginBottom:t.marginBottom}})),n=0,r=c;n<r.length;n++){r[n].emitter.trigger("_beforeprint")}(0,s.Hcb)(),function(e,t){e.forEach((function(e,n){e.style.overflowX="visible",e.style.overflowY="visible",e.style.marginBottom="",e.style.left=-t[n].scrollLeft+"px"}))}(e,t),u.push((function(){return function(e,t){e.forEach((function(e,n){var r=t[n];e.style.overflowX=r.overflowX,e.style.overflowY=r.overflowY,e.style.marginBottom=r.marginBottom,e.style.left="",e.scrollLeft=r.scrollLeft,e.scrollTop=r.scrollTop}))}(e,t)})),u.push(function(){var e=(0,s.xlG)(document.body,".fc-scrollgrid");return e.forEach(p),function(){return e.forEach(h)}}())}function f(){for(var e=0,t=c;e<t.length;e++){t[e].emitter.trigger("_afterprint")}for((0,s.Hcb)();u.length;)u.shift()()}function p(e){var t=e.getBoundingClientRect().width;(!e.classList.contains("fc-scrollgrid-collapsible")||t<s.vc.COLLAPSIBLE_WIDTH_THRESHOLD)&&(e.style.width=t+"px")}function h(e){e.style.width=""}const A=(0,s.rxu)({deps:[l.Z],contextInit:function(e){c.length||(window.addEventListener("beforeprint",d),window.addEventListener("afterprint",f)),c.push(e),e.calendarApi.on("_unmount",(function(){(0,s.gOi)(c,e),c.length||(window.removeEventListener("beforeprint",d),window.removeEventListener("afterprint",f))}))}})},32277:(e,t,n)=>{"use strict";n.d(t,{kgr:()=>at,H6J:()=>Cr,I_K:()=>qi,zeW:()=>Cn,BdM:()=>Zo,n1v:()=>Ro,Tdg:()=>Ko,rVp:()=>Tr,IdW:()=>Dr,snJ:()=>ho,KDF:()=>Fo,A9I:()=>pr,Q5$:()=>ur,voO:()=>En,HYg:()=>d,U4m:()=>Ho,ygx:()=>Yi,y3w:()=>zr,AOy:()=>Pi,wh8:()=>ii,zIV:()=>dr,lAU:()=>Ci,QJ3:()=>xr,Qgo:()=>fr,Ttm:()=>yi,KxW:()=>xo,RVT:()=>li,qX1:()=>jn,h2k:()=>Ni,nWf:()=>ni,Ceh:()=>oi,Yh$:()=>vr,xS$:()=>Pr,Obu:()=>hr,E4D:()=>J,hvg:()=>K,N0T:()=>F,sGN:()=>U,rfG:()=>fn,bg6:()=>b,XrI:()=>Re,dZD:()=>Te,TTZ:()=>ze,nCP:()=>Me,HgS:()=>Or,vuT:()=>wn,rRV:()=>tn,dS:()=>He,rcD:()=>$n,uPw:()=>Ee,kLJ:()=>St,oMu:()=>L,z6t:()=>Y,cbN:()=>ye,VV4:()=>Xi,ld2:()=>ir,nm6:()=>$o,skW:()=>ar,AYo:()=>sr,VVk:()=>Ei,H3H:()=>Nt,vc:()=>Wo,Jq9:()=>Wn,Pvs:()=>Be,azq:()=>c,ifx:()=>mt,$N4:()=>ue,oqz:()=>Dt,SPZ:()=>ot,rxu:()=>Sr,VfA:()=>u,Pe9:()=>Ht,vrY:()=>qn,Lnh:()=>ee,deF:()=>N,x_n:()=>v,App:()=>m,_OJ:()=>H,rod:()=>gt,CrY:()=>pe,sSy:()=>C,xlG:()=>y,dx1:()=>Q,Hcb:()=>h,SVl:()=>Pe,aDZ:()=>wi,X45:()=>Qn,U4g:()=>lr,iCZ:()=>Gn,yLW:()=>Zn,$Td:()=>dn,xSu:()=>S,BJe:()=>jt,_zt:()=>D,qDX:()=>nr,iFU:()=>Ln,SOE:()=>vt,SR3:()=>xi,ewu:()=>rr,PFj:()=>ki,VFE:()=>bi,jHR:()=>en,mK5:()=>Xn,PZw:()=>zi,Q8U:()=>Mi,NTx:()=>Ne,AVF:()=>Mo,M8z:()=>O,Qa3:()=>Ri,yRu:()=>ht,T6u:()=>_o,Rac:()=>Uo,cMs:()=>_t,VEA:()=>_n,CnA:()=>Fe,grx:()=>Si,g4F:()=>di,omy:()=>on,GNL:()=>G,WoG:()=>ui,S6v:()=>ve,yw$:()=>pi,qbb:()=>le,_aR:()=>he,HPs:()=>We,ums:()=>qe,E0:()=>Qe,Vbb:()=>Le,rOY:()=>yt,uVS:()=>xe,SkG:()=>V,ifz:()=>Pn,Qu7:()=>Et,WOi:()=>qo,mTn:()=>zt,MCs:()=>W,BKI:()=>Un,ipI:()=>_,ZSf:()=>P,mCA:()=>qt,urV:()=>Lt,Dnt:()=>Ft,zvB:()=>Wt,Boe:()=>Tt,rjQ:()=>pt,bXf:()=>g,gOi:()=>_e,Yvu:()=>Di,MA3:()=>Li,hgf:()=>Bi,Hbc:()=>Ti,aAC:()=>lo,fyp:()=>Ii,k$v:()=>wr,hak:()=>Zt,b7Q:()=>te,sZq:()=>Fn,HpC:()=>cn,Olf:()=>cr,ONu:()=>T,ltK:()=>Oe});var r=n(93379),o=n.n(r),i=n(25359),a={insert:"head",singleton:!1};o()(i.Z,a);i.Z.locals;var s=n(57073);if("undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var l=FullCalendarVDom.Component,c=FullCalendarVDom.createElement,u=(FullCalendarVDom.render,FullCalendarVDom.createRef),d=FullCalendarVDom.Fragment,f=FullCalendarVDom.createContext,p=FullCalendarVDom.createPortal,h=FullCalendarVDom.flushToDom,A=(FullCalendarVDom.unmountComponentAtNode,function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}());function g(e){e.parentNode&&e.parentNode.removeChild(e)}function v(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(m(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function m(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function y(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].querySelectorAll(t),a=0;a<i.length;a+=1)r.push(i[a]);return r}function C(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].children,a=0;a<i.length;a+=1){var s=i[a];t&&!m(s,t)||r.push(s)}return r}var E=/(top|left|right|bottom|width|height)$/i;function b(e,t){for(var n in t)w(e,n,t[n])}function w(e,t,n){null==n?e.style[t]="":"number"==typeof n&&E.test(t)?e.style[t]=n+"px":e.style[t]=n}function D(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}function S(e){return e.getRootNode?e.getRootNode():document}var B=0;function I(){return"fc-dom-"+(B+=1)}function R(e){e.preventDefault()}function x(e,t,n,r){var o=function(e,t){return function(n){var r=v(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}var k=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function T(e,t){var n=function(r){t(r),k.forEach((function(t){e.removeEventListener(t,n)}))};k.forEach((function(t){e.addEventListener(t,n)}))}function M(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var z=0;function O(){return String(z+=1)}function N(){document.body.classList.add("fc-not-allowed")}function H(){document.body.classList.remove("fc-not-allowed")}function P(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",R)}function U(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",R)}function _(e){e.addEventListener("contextmenu",R)}function F(e){e.removeEventListener("contextmenu",R)}function W(e){var t,n,r=[],o=[];for("string"==typeof e?o=e.split(/\s*,\s*/):"function"==typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t+=1)"string"==typeof(n=o[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r}function L(e,t,n){var r,o;for(r=0;r<n.length;r+=1)if(o=q(e,t,n[r]))return o;return 0}function q(e,t,n){return n.func?n.func(e,t):Q(e[n.field],t[n.field])*(n.order||1)}function Q(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}function V(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function j(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function Y(e,t){return e-t}function G(e){return e%1==0}function Z(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var X=["sun","mon","tue","wed","thu","fri","sat"];function J(e,t){var n=ae(e);return n[2]+=t,se(n)}function K(e,t){var n=ae(e);return n[6]+=t,se(n)}function $(e,t){return(t.valueOf()-e.valueOf())/864e5}function ee(e,t){return ce(e)===ce(t)?Math.round($(e,t)):null}function te(e){return se([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function ne(e,t,n,r){var o=se([t,0,1+re(t,n,r)]),i=te(e),a=Math.round($(o,i));return Math.floor(a/7)+1}function re(e,t,n){var r=7+t-n;return-((7+se([e,0,r]).getUTCDay()-t)%7)+r-1}function oe(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function ie(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function ae(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function se(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function le(e){return!isNaN(e.valueOf())}function ce(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function ue(e,t,n,r){return{instanceId:O(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var de=Object.prototype.hasOwnProperty;function fe(e,t){var n={};if(t)for(var r in t){for(var o=[],i=e.length-1;i>=0;i-=1){var a=e[i][r];if("object"==typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=fe(o))}for(i=e.length-1;i>=0;i-=1){var s=e[i];for(var l in s)l in n||(n[l]=s[l])}return n}function pe(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function he(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function Ae(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function ge(e){var t=[];for(var n in e)t.push(e[n]);return t}function ve(e,t){if(e===t)return!0;for(var n in e)if(de.call(e,n)&&!(n in t))return!1;for(var n in t)if(de.call(t,n)&&e[n]!==t[n])return!1;return!0}function me(e,t){var n=[];for(var r in e)de.call(e,r)&&(r in t||n.push(r));for(var r in t)de.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function ye(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!Ce(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function Ce(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function Ee(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(e).length);for(var i=t;i<n;i+=r){var a=e[i];void 0!==a&&o.push(a)}return o}function be(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=pe(s,(function(e){return!a[e.defId].recurringDef})),a){var c=a[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=0,f=we(c,u,t,r,o.recurringTypes);d<f.length;d++){var p=f[d],h=ue(l,{start:p,end:r.add(p,u)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function we(e,t,n,r,o){var i=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(i=i.map(te)),i}var De=["years","months","days","milliseconds"],Se=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function Be(e,t){var n;return"string"==typeof e?function(e){var t=Se.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?Ie(e):"number"==typeof e?Ie(((n={})[t||"milliseconds"]=e,n)):null}function Ie(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function Re(e){return e.years||e.months||e.milliseconds?0:e.days}function xe(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function ke(e){return ze(e)/864e5}function Te(e){return ze(e)/6e4}function Me(e){return ze(e)/1e3}function ze(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function Oe(e,t){for(var n=null,r=0;r<De.length;r+=1){var o=De[r];if(t[o]){var i=e[o]/t[o];if(!G(i)||null!==n&&n!==i)return null;n=i}else if(e[o])return null}return n}function Ne(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function He(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",Ue(t,!0)))),r}function Pe(e){return e.toISOString().replace(/T.*$/,"")}function Ue(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=Math.round(r%60);return t?n+V(o,2)+":"+V(i,2):"GMT"+n+o+(i?":"+V(i,2):"")}function _e(e,t){for(var n=0,r=0;r<e.length;)e[r]===t?(e.splice(r,1),n+=1):r+=1;return n}function Fe(e,t,n){if(e===t)return!0;var r,o=e.length;if(o!==t.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function We(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!Fe(r,i)){n&&n(o);var s=e.apply(this,i);t&&t(s,o)||(o=s)}}else o=e.apply(this,i);return r=i,o}}function Le(e,t,n){var r,o,i=this;return function(a){if(r){if(!ve(r,a)){n&&n(o);var s=e.call(i,a);t&&t(s,o)||(o=s)}}else o=e.call(i,a);return r=a,o}}function qe(e,t,n){var r=this,o=[],i=[];return function(a){for(var s=o.length,l=a.length,c=0;c<s;c+=1)if(a[c]){if(!Fe(o[c],a[c])){n&&n(i[c]);var u=e.apply(r,a[c]);t&&t(u,i[c])||(i[c]=u)}}else n&&n(i[c]);for(;c<l;c+=1)i[c]=e.apply(r,a[c]);return o=a,i.splice(l),i}}function Qe(e,t,n){var r=this,o={},i={};return function(a){var s={};for(var l in a)if(i[l])if(Fe(o[l],a[l]))s[l]=i[l];else{n&&n(i[l]);var c=e.apply(r,a[l]);s[l]=t&&t(c,i[l])?i[l]:c}else s[l]=e.apply(r,a[l]);return o=a,i=s,s}}var Ve={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},je={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Ye=/\s*([ap])\.?m\.?/i,Ge=/,/g,Ze=/\s+/g,Xe=/\u200e/g,Je=/UTC|GMT/,Ke=function(){function e(e){var t={},n={},r=0;for(var o in e)o in Ve?(n[o]=e[o],r=Math.max(Ve[o],r)):(t[o]=e[o],o in je&&(r=Math.max(je[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=We($e)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var o=this.standardDateProps,i=this.extendedSettings,a=function(e,t,n){if(n.getMarkerYear(e)!==n.getMarkerYear(t))return 5;if(n.getMarkerMonth(e)!==n.getMarkerMonth(t))return 4;if(n.getMarkerDay(e)!==n.getMarkerDay(t))return 2;if(ce(e)!==ce(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!a)return this.format(e,n);var s=a;!(s>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(s=1);var l=this.format(e,n),c=this.format(t,n);if(l===c)return l;var u=function(e,t){var n={};for(var r in e)(!(r in je)||je[r]<=t)&&(n[r]=e[r]);return n}(o,s),d=$e(u,i,n),f=d(e),p=d(t),h=function(e,t,n,r){var o=0;for(;o<e.length;){var i=e.indexOf(t,o);if(-1===i)break;var a=e.substr(0,i);o=i+t.length;for(var s=e.substr(o),l=0;l<n.length;){var c=n.indexOf(r,l);if(-1===c)break;var u=n.substr(0,c);l=c+r.length;var d=n.substr(l);if(a===u&&s===d)return{before:a,after:s}}}return null}(l,f,c,p),A=i.separator||r||n.defaultSeparator||"";return h?h.before+f+A+p+h.after:l+A+c},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function $e(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return Ue(e.timeZoneOffset)}:0===r&&t.week?function(e){return function(e,t,n,r,o){var i=[];"long"===o?i.push(n):"short"!==o&&"narrow"!==o||i.push(t);"long"!==o&&"short"!==o||i.push(" ");i.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&i.reverse();return i.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:function(e,t,n){e=(0,s.pi)({},e),t=(0,s.pi)({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit"));"long"===e.timeZoneName&&(e.timeZoneName="short");t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";var r,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var i=(0,s.pi)({},e);delete i.minute,r=new Intl.DateTimeFormat(n.locale.codes,i)}return function(i){var a=i.marker;return function(e,t,n,r,o){e=e.replace(Xe,""),"short"===n.timeZoneName&&(e=function(e,t){var n=!1;e=e.replace(Je,(function(){return n=!0,t})),n||(e+=" "+t);return e}(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":Ue(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(Ge,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));!1===r.meridiem?e=e.replace(Ye,"").trim():"narrow"===r.meridiem?e=e.replace(Ye,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(Ye,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(Ye,(function(e){return e.toLocaleLowerCase()})));return e=(e=e.replace(Ze," ")).trim()}((r&&!a.getUTCMinutes()?r:o).format(a),i,e,t,n)}}(e,t,n)}function et(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function tt(e,t,n,r){var o=et(e,n.calendarSystem);return{date:o,start:o,end:t?et(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var nt=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,tt(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,tt(e,t,n,r))},e}(),rt=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(tt(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(tt(e,t,n,r))},e}();function ot(e){return"object"==typeof e&&e?new Ke(e):"string"==typeof e?new nt(e):"function"==typeof e?new rt(e):null}var it={navLinkDayClick:ht,navLinkWeekClick:ht,duration:Be,bootstrapFontAwesome:ht,buttonIcons:ht,customButtons:ht,defaultAllDayEventDuration:Be,defaultTimedEventDuration:Be,nextDayThreshold:Be,scrollTime:Be,scrollTimeReset:Boolean,slotMinTime:Be,slotMaxTime:Be,dayPopoverFormat:ot,slotDuration:Be,snapDuration:Be,headerToolbar:ht,footerToolbar:ht,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:ot,dayHeaderClassNames:ht,dayHeaderContent:ht,dayHeaderDidMount:ht,dayHeaderWillUnmount:ht,dayCellClassNames:ht,dayCellContent:ht,dayCellDidMount:ht,dayCellWillUnmount:ht,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:ht,weekNumbers:Boolean,weekNumberClassNames:ht,weekNumberContent:ht,weekNumberDidMount:ht,weekNumberWillUnmount:ht,editable:Boolean,viewClassNames:ht,viewDidMount:ht,viewWillUnmount:ht,nowIndicator:Boolean,nowIndicatorClassNames:ht,nowIndicatorContent:ht,nowIndicatorDidMount:ht,nowIndicatorWillUnmount:ht,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:ht,locale:ht,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:ht,eventOrder:W,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:ht,contentHeight:ht,direction:String,weekNumberFormat:ot,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:ht,initialDate:ht,now:ht,eventDataTransform:ht,stickyHeaderDates:ht,stickyFooterScrollbar:ht,viewHeight:ht,defaultAllDay:Boolean,eventSourceFailure:ht,eventSourceSuccess:ht,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:ht,eventConstraint:ht,eventAllow:ht,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:ht,eventContent:ht,eventDidMount:ht,eventWillUnmount:ht,selectConstraint:ht,selectOverlap:ht,selectAllow:ht,droppable:Boolean,unselectCancel:String,slotLabelFormat:ht,slotLaneClassNames:ht,slotLaneContent:ht,slotLaneDidMount:ht,slotLaneWillUnmount:ht,slotLabelClassNames:ht,slotLabelContent:ht,slotLabelDidMount:ht,slotLabelWillUnmount:ht,dayMaxEvents:ht,dayMaxEventRows:ht,dayMinWidth:Number,slotLabelInterval:Be,allDayText:String,allDayClassNames:ht,allDayContent:ht,allDayDidMount:ht,allDayWillUnmount:ht,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:ot,rerenderDelay:Number,moreLinkText:ht,moreLinkHint:ht,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:ht,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Be,hiddenDays:ht,monthMode:Boolean,fixedWeekCount:Boolean,validRange:ht,visibleRange:ht,titleFormat:ht,eventInteractive:Boolean,noEventsText:String,viewHint:ht,navLinkHint:ht,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:ht,moreLinkClassNames:ht,moreLinkContent:ht,moreLinkDidMount:ht,moreLinkWillUnmount:ht},at={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},st={datesSet:ht,eventsSet:ht,eventAdd:ht,eventChange:ht,eventRemove:ht,windowResize:ht,eventClick:ht,eventMouseEnter:ht,eventMouseLeave:ht,select:ht,unselect:ht,loading:ht,_unmount:ht,_beforeprint:ht,_afterprint:ht,_noEventDrop:ht,_noEventResize:ht,_resize:ht,_scrollRequest:ht},lt={buttonText:ht,buttonHints:ht,views:ht,plugins:ht,initialEvents:ht,events:ht,eventSources:ht},ct={headerToolbar:ut,footerToolbar:ut,buttonText:ut,buttonHints:ut,buttonIcons:ut};function ut(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?ve(e,t):e===t}var dt={type:String,component:ht,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:ht,usesMinMaxTime:Boolean,classNames:ht,content:ht,didMount:ht,willUnmount:ht};function ft(e){return fe(e,ct)}function pt(e,t){var n={},r={};for(var o in t)o in e&&(n[o]=t[o](e[o]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function ht(e){return e}function At(e,t,n,r){for(var o={defs:{},instances:{}},i=Mt(n),a=0,s=e;a<s.length;a++){var l=kt(s[a],t,n,r,i);l&>(l,o)}return o}function gt(e,t){return void 0===t&&(t={defs:{},instances:{}}),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function vt(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=Ct(e,(function(e){return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId);var t,n}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return{defs:{},instances:{}}}function mt(){return{defs:{},instances:{}}}function yt(e,t){return{defs:(0,s.pi)((0,s.pi)({},e.defs),t.defs),instances:(0,s.pi)((0,s.pi)({},e.instances),t.instances)}}function Ct(e,t){var n=pe(e.defs,t),r=pe(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function Et(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var bt={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:ht,overlap:ht,allow:ht,className:Et,classNames:Et,color:String,backgroundColor:String,borderColor:String,textColor:String},wt={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Dt(e,t){var n=function(e,t){return Array.isArray(e)?At(e,null,t,!0):"object"==typeof e&&e?At([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function St(e){return e.reduce(Bt,wt)}function Bt(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var It={id:String,groupId:String,title:String,url:String,interactive:Boolean},Rt={start:ht,end:ht,date:ht,allDay:Boolean},xt=(0,s.pi)((0,s.pi)((0,s.pi)({},It),Rt),{extendedProps:ht});function kt(e,t,n,r,o){void 0===o&&(o=Mt(n));var i=Tt(e,n,o),a=i.refined,s=i.extra,l=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),c=function(e,t,n,r){for(var o=0;o<r.length;o+=1){var i=r[o].parse(e,n);if(i){var a=e.allDay;return null==a&&null==(a=t)&&null==(a=i.allDayGuess)&&(a=!1),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(c)return(u=zt(a,s,t?t.sourceId:"",c.allDay,Boolean(c.duration),n)).recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:u,instance:null};var u,d=function(e,t,n,r){var o,i,a=e.allDay,s=null,l=!1,c=null,u=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(u))s=o.marker;else if(!r)return null;null!=e.end&&(i=n.dateEnv.createMarkerMeta(e.end));null==a&&(a=null!=t?t:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified));a&&s&&(s=te(s));i&&(c=i.marker,a&&(c=te(c)),s&&c<=s&&(c=null));c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:c},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}(a,l,n,r);return d?{def:u=zt(a,s,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:ue(u.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function Tt(e,t,n){return void 0===n&&(n=Mt(t)),pt(e,n)}function Mt(e){return(0,s.pi)((0,s.pi)((0,s.pi)({},bt),xt),e.pluginHooks.eventRefiners)}function zt(e,t,n,r,o,i){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:O(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:Dt(e,i),extendedProps:(0,s.pi)((0,s.pi)({},e.extendedProps||{}),t)},l=0,c=i.pluginHooks.eventDefMemberAdders;l<c.length;l++){var u=c[l];(0,s.pi)(a,u(e))}return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function Ot(e){var t=Math.floor($(e.start,e.end))||1,n=te(e.start);return{start:n,end:J(n,t)}}function Nt(e,t){void 0===t&&(t=Be(0));var n=null,r=null;if(e.end){r=te(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=ze(t)&&(r=J(r,1))}return e.start&&(n=te(e.start),r&&r<=n&&(r=J(n,1))),{start:n,end:r}}function Ht(e,t,n,r){return"year"===r?Be(n.diffWholeYears(e,t),"year"):"month"===r?Be(n.diffWholeMonths(e,t),"month"):(i=t,a=te(o=e),s=te(i),{years:0,months:0,days:Math.round($(a,s)),milliseconds:i.valueOf()-s.valueOf()-(o.valueOf()-a.valueOf())});var o,i,a,s}function Pt(e,t){var n,r,o=[],i=t.start;for(e.sort(Ut),n=0;n<e.length;n+=1)(r=e[n]).start>i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<t.end&&o.push({start:i,end:t.end}),o}function Ut(e,t){return e.start.valueOf()-t.start.valueOf()}function _t(e,t){var n=e.start,r=e.end,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function Ft(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function Wt(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function Lt(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function qt(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function Qt(e,t,n,r){var o={},i={},a={},s=[],l=[],c=Yt(e.defs,t);for(var u in e.defs){"inverse-background"===(p=c[(C=e.defs[u]).defId]).display&&(C.groupId?(o[C.groupId]=[],a[C.groupId]||(a[C.groupId]=C)):i[u]=[])}for(var d in e.instances){var f=e.instances[d],p=c[(C=e.defs[f.defId]).defId],h=f.range,A=!C.allDay&&r?Nt(h,r):h,g=_t(A,n);g&&("inverse-background"===p.display?C.groupId?o[C.groupId].push(g):i[f.defId].push(g):"none"!==p.display&&("background"===p.display?s:l).push({def:C,ui:p,instance:f,range:g,isStart:A.start&&A.start.valueOf()===g.start.valueOf(),isEnd:A.end&&A.end.valueOf()===g.end.valueOf()}))}for(var v in o)for(var m=0,y=Pt(o[v],n);m<y.length;m++){var C,E=y[m];p=c[(C=a[v]).defId];s.push({def:C,ui:p,instance:null,range:E,isStart:!1,isEnd:!1})}for(var u in i)for(var b=0,w=Pt(i[u],n);b<w.length;b++){E=w[b];s.push({def:e.defs[u],ui:c[u],instance:null,range:E,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function Vt(e,t){e.fcSeg=t}function jt(e){return e.fcSeg||e.parentNode.fcSeg||null}function Yt(e,t){return he(e,(function(e){return Gt(e,t)}))}function Gt(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),St(n)}function Zt(e,t){var n=e.map(Xt);return n.sort((function(e,n){return L(e,n,t)})),n.map((function(e){return e._seg}))}function Xt(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,o=r.start?r.start.valueOf():0,i=r.end?r.end.valueOf():0;return(0,s.pi)((0,s.pi)((0,s.pi)({},n.extendedProps),n),{id:n.publicId,start:o,end:i,duration:i-o,allDay:Number(n.allDay),_seg:e})}function Jt(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,o,i,t)}return a}function Kt(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function $t(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function en(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&qt(t,r.start)}}function tn(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}var nn={start:ht,end:ht,allDay:Boolean};function rn(e,t,n){var r=function(e,t){var n=pt(e,nn),r=n.refined,o=n.extra,i=r.start?t.createMarkerMeta(r.start):null,a=r.end?t.createMarkerMeta(r.end):null,l=r.allDay;null==l&&(l=i&&i.isTimeUnspecified&&(!a||a.isTimeUnspecified));return(0,s.pi)({range:{start:i?i.marker:null,end:a?a.marker:null},allDay:l},o)}(e,t),o=r.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return r}function on(e,t){return Ft(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 an(e,t,n){return(0,s.pi)((0,s.pi)({},sn(e,t,n)),{timeZone:t.timeZone})}function sn(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 ln(e,t,n){var r=Tt({editable:!1},n),o=zt(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:Gt(o,t),instance:ue(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}function cn(e,t,n){n.emitter.trigger("select",(0,s.pi)((0,s.pi)({},un(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function un(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.dateSpanTransforms;i<a.length;i++){var l=a[i];(0,s.pi)(o,l(e,t))}return(0,s.pi)(o,(n=e,r=t.dateEnv,(0,s.pi)((0,s.pi)({},sn(n.range,r,n.allDay)),{allDay:n.allDay}))),o}function dn(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=te(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function fn(e,t,n,r){var o=Yt(e.defs,t),i={defs:{},instances:{}};for(var a in e.defs){var s=e.defs[a];i.defs[a]=pn(s,o[a],n,r)}for(var l in e.instances){var c=e.instances[l];s=i.defs[c.defId];i.instances[l]=hn(c,s,o[c.defId],n,r)}return i}function pn(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var i=(0,s.pi)((0,s.pi)((0,s.pi)({},e),o),{ui:(0,s.pi)((0,s.pi)({},e.ui),o.ui)});n.extendedProps&&(i.extendedProps=(0,s.pi)((0,s.pi)({},i.extendedProps),n.extendedProps));for(var a=0,l=r.pluginHooks.eventDefMutationAppliers;a<l.length;a++){(0,l[a])(i,n,r)}return!i.hasEnd&&r.options.forceEventDuration&&(i.hasEnd=!0),i}function hn(e,t,n,r,o){var i=o.dateEnv,a=r.standardProps&&!0===r.standardProps.allDay,l=r.standardProps&&!1===r.standardProps.hasEnd,c=(0,s.pi)({},e);return a&&(c.range=Ot(c.range)),r.datesDelta&&n.startEditable&&(c.range={start:i.add(c.range.start,r.datesDelta),end:i.add(c.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(c.range={start:i.add(c.range.start,r.startDelta),end:c.range.end}),r.endDelta&&n.durationEditable&&(c.range={start:c.range.start,end:i.add(c.range.end,r.endDelta)}),l&&(c.range={start:c.range.start,end:dn(t.allDay,c.range.start,o)}),t.allDay&&(c.range={start:te(c.range.start),end:te(c.range.end)}),c.range.end<c.range.start&&(c.range.end=dn(t.allDay,c.range.start,o)),c}var An=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),gn={id:String,defaultAllDay:Boolean,url:String,format:String,events:ht,eventDataTransform:ht,success:ht,failure:ht};function vn(e,t,n){var r;if(void 0===n&&(n=mn(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var o=pt(r,n),i=o.refined,a=o.extra,s=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r].parseMeta(e);if(o)return{sourceDefId:r,meta:o}}return null}(i,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:O(),sourceDefId:s.sourceDefId,meta:s.meta,ui:Dt(i,t),extendedProps:a}}return null}function mn(e){return(0,s.pi)((0,s.pi)((0,s.pi)({},bt),gn),e.pluginHooks.eventSourceRefiners)}function yn(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var Cn=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,(0,s.ev)([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(var s in o)a.push(s);for(t=0;t<a.length;t+=1)if((n=o[a[t]])&&n.singleUnit===e)return n;return null},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:yn(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=Be(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),ot(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),ot(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),o=rn(n,r.dateEnv,Be({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),cn(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof En){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:gt({def:n,instance:r})}),this.triggerEventAdd(e)),e}var o,i=this.getCurrentData();if(t instanceof A)o=t.internalEventSource;else if("boolean"==typeof t)t&&(o=ge(i.eventSources)[0]);else if(null!=t){var a=this.getEventSourceById(t);if(!a)return console.warn('Could not find an event source with ID "'+t+'"'),null;o=a.internalEventSource}var s=kt(e,o,i,!1);if(s){var l=new En(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:gt(s)}),this.triggerEventAdd(l),l}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:bn(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,o=n.instances;for(var i in e=String(e),r){var a=r[i];if(a.publicId===e){if(a.recurringDef)return new En(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new En(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return wn(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new A(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new A(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof A)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=vn(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new A(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},e.prototype.scrollToTime=function(e){var t=Be(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),En=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in Rt)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=It[e](t),this.mutate({standardProps:{publicId:t}});else if(e in It)t=It[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in bt){var o=bt[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:((r={})[e]=t,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var o=Ht(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance)if(n){var o=Ht(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,o,i,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(e);if(l&&((null==t||(r=a.createMarker(t)))&&this._instance)){var c=this._instance.range;!0===n.allDay&&(c=Ot(c));var u=Ht(c.start,l,a,n.granularity);if(r){var d=Ht(c.end,r,a,n.granularity);i=d,(o=u).years===i.years&&o.months===i.months&&o.days===i.days&&o.milliseconds===i.milliseconds?this.mutate({datesDelta:u,standardProps:s}):this.mutate({startDelta:u,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:u,standardProps:s})}},e.prototype.moveStart=function(e){var t=Be(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=Be(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=Be(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=ot(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=vt(i,n.instanceId);a=fn(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var s=new e(o,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:a}),o.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:wn(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=bn(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new A(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,o=this.endStr,i={};return t.title&&(i.title=t.title),r&&(i.start=r),o&&(i.end=o),t.publicId&&(i.id=t.publicId),t.groupId&&(i.groupId=t.groupId),t.url&&(i.url=t.url),n.display&&"auto"!==n.display&&(i.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?i.color=n.backgroundColor:(n.backgroundColor&&(i.backgroundColor=n.backgroundColor),n.borderColor&&(i.borderColor=n.borderColor)),n.textColor&&(i.textColor=n.textColor),n.classNames.length&&(i.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?(0,s.pi)(i,t.extendedProps):i.extendedProps=t.extendedProps),i},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function bn(e){var t,n,r=e._def,o=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:o?(n={},n[o.instanceId]=o,n):{}}}function wn(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],c=r[l.defId];l.instanceId!==a&&i.push(new En(t,c,l))}return i}var Dn={};var Sn,Bn=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return se(e)},e.prototype.markerToArray=function(e){return ae(e)},e}();Sn=Bn,Dn["gregory"]=Sn;var In=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var Rn=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new Dn[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):se(oe(new Date))},e.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=se(e)),null!==t&&le(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=function(e){var t=In.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(le(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return ce(e)===ce(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return ce(e)===ce(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:(n=function(e,t){var n=ee(e,t);return null!==n&&n%7==0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:null!==(n=ee(e,t))?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),G(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),G(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),G(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(ke(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/function(e){return ke(e)/30}(n):n.days&&null!==(r=ee(e,t))?r/ke(n):(t.valueOf()-e.valueOf())/ze(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?te(e):"hour"===t?function(e){return se([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return se([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return se([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){var r=e.getUTCFullYear(),o=ne(e,r,t,n);if(o<1)return ne(e,r-1,t,n);var i=ne(e,r+1,t,n);return i>=1?Math.min(o,i):o}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=K(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),He(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?se(oe(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?se(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-ie(ae(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(ae(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?ie(ae(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(ae(e))*60):new Date(e.valueOf()-(t||0))},e}(),xn=[],kn={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},Tn=(0,s.pi)((0,s.pi)({},kn),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function Mn(e){for(var t=e.length>0?e[0].code:"en",n=xn.concat(e),r={en:Tn},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function zn(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){var n=[].concat(e||[]),r=function(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o-=1){var i=r.slice(0,o).join("-");if(t[i])return t[i]}return null}(n,t)||Tn;return On(e,n,r)}(e,t):On(e.code,[e.code],e)}function On(e,t,n){var r=fe([kn,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var Nn,Hn={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Pn(e,t){return At(function(e){var t;t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[];return t=t.map((function(e){return(0,s.pi)((0,s.pi)({},Hn),e)}))}(e),null,t)}function Un(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function _n(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function Fn(e,t,n){return{left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}}function Wn(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function Ln(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function qn(e,t){return{left:e.left-t.left,top:e.top-t.top}}function Qn(){return null==Nn&&(Nn=function(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),Nn}var Vn={defs:{},instances:{}},jn=function(){function e(){this.getKeysForEventDefs=We(this._getKeysForEventDefs),this.splitDateSelection=We(this._splitDateSpan),this.splitEventStore=We(this._splitEventStore),this.splitIndividualUi=We(this._splitIndividualUi),this.splitEventDrag=We(this._splitInteraction),this.splitEventResize=We(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),c={};for(var u in this.eventUiBuilders=he(n,(function(e,n){return t.eventUiBuilders[n]||We(Yn)})),n){var d=n[u],f=a[u]||Vn,p=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||e.businessHours,dateSelection:o[u]||null,eventStore:f,eventUiBases:p(e.eventUiBases[""],d.ui,i[u]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n<r.length;n++){t[r[n]]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return he(e.defs,(function(e){return t.getKeysForEventDef(e)}))},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,o={};for(var i in n)for(var a=0,s=t[i];a<s.length;a++){o[f=s[a]]||(o[f]={defs:{},instances:{}}),o[f].defs[i]=n[i]}for(var l in r)for(var c=r[l],u=0,d=t[c.defId];u<d.length;u++){var f;o[f=d[u]]&&(o[f].instances[l]=c)}return o},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var o=0,i=t[r];o<i.length;o++){var a=i[o];n[a]||(n[a]={}),n[a][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,r),i=function(r){t[r]||(t[r]={affectedEvents:n[r]||Vn,mutatedEvents:o[r]||Vn,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t},e}();function Yn(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":St(r)};return n&&(0,s.pi)(o,n),o}function Gn(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!qt(r.activeRange,e)),isOther:Boolean(r&&!qt(r.currentRange,e)),isToday:Boolean(t&&qt(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function Zn(e,t){var n=["fc-day","fc-day-"+X[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}function Xn(e,t){var n=["fc-slot","fc-slot-"+X[e.dow]];return e.isDisabled?n.push("fc-slot-disabled"):(e.isToday&&(n.push("fc-slot-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-slot-past"),e.isFuture&&n.push("fc-slot-future")),n}var Jn=ot({year:"numeric",month:"long",day:"numeric"}),Kn=ot({week:"long"});function $n(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o,i=e.dateEnv,a=e.options,l=e.calendarApi,c=i.format(t,"week"===n?Kn:Jn);if(a.navLinks){var u=i.toDate(t),d=function(e){var r="day"===n?a.navLinkDayClick:"week"===n?a.navLinkWeekClick:null;"function"==typeof r?r.call(l,i.toDate(t),e):("string"==typeof r&&(n=r),l.zoomTo(t,n))};return(0,s.pi)({title:j(a.navLinkHint,[c,u],c),"data-navlink":""},r?(o=d,(0,s.pi)({onClick:o},M(o))):{onClick:d})}return{"aria-label":c}}var er,tr=null;function nr(){return null===tr&&(tr=function(){var e=document.createElement("div");b(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return g(e),t}()),tr}function rr(){return er||(er=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=or(e);return document.body.removeChild(e),t}()),er}function or(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function ir(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=or(e),l=s.y-r-o,c={borderLeft:r,borderRight:o,borderTop:i,borderBottom:a,scrollbarBottom:s.x-i-a,scrollbarLeft:0,scrollbarRight:0};return nr()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,t&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}function ar(e,t,n){void 0===t&&(t=!1);var r=n?e.getBoundingClientRect():sr(e),o=ir(e,t),i={left:r.left+o.borderLeft+o.scrollbarLeft,right:r.right-o.borderRight-o.scrollbarRight,top:r.top+o.borderTop,bottom:r.bottom-o.borderBottom-o.scrollbarBottom};return t&&(i.left+=o.paddingLeft,i.right-=o.paddingRight,i.top+=o.paddingTop,i.bottom-=o.paddingBottom),i}function sr(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function lr(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 cr(e,t,n){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},i=function(){r||(r=!0,n&&n.apply(this,arguments))},a=e(o,i);a&&"function"==typeof a.then&&a.then(o,i)}var ur=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)},e.prototype.off=function(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(this.handlers,e,t)},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],o=this.options&&this.options[e],i=[].concat(o||[],r),a=0,s=i;a<s.length;a++){var l=s[a];l.apply(this.thisContext,t)}},e.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}();var dr=function(){function e(e,t,n,r){this.els=t;var o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),fr=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),pr=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return(0,s.ZT)(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(fr),hr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(fr),Ar=function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){for(n in t=(0,s.pi)({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}();Ar.prototype.classes={},Ar.prototype.iconClasses={},Ar.prototype.baseIconClass="",Ar.prototype.iconOverridePrefix="";var gr=function(){function e(e,t,n,r){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){o.queuedRequest=(0,s.pi)({},o.queuedRequest||{},e),o.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),vr=f({});function mr(e,t,n,r,o,i,a,s,l,c,u,d,f){return{dateEnv:o,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:u,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){c.on("_resize",e)},removeResizeHandler:function(e){c.off("_resize",e)},createScrollResponder:function(e){return new gr(e,c,Be(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var yr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(me(e,this.props),me(t,this.state)),!ye(this.props,e,this.propEquality)||!ye(this.state,t,this.stateEquality)},t.addPropsEquality=Er,t.addStateEquality=br,t.contextType=vr,t}(l);yr.prototype.propEquality={},yr.prototype.stateEquality={};var Cr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t.contextType=vr,t}(yr);function Er(e){var t=Object.create(this.prototype.propEquality);(0,s.pi)(t,e),this.prototype.propEquality=t}function br(e){var t=Object.create(this.prototype.stateEquality);(0,s.pi)(t,e),this.prototype.stateEquality=t}function wr(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Dr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=O(),t}return(0,s.ZT)(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!v(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!(v(e,".fc-event:not(.fc-bg-event)")||v(e,".fc-more-link")||v(e,"a[data-navlink]")||v(e,".fc-popover"))},t}(Cr);function Sr(e){return{id:O(),deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function Br(){var e,t=[],n=[];return function(r,o){return e&&Fe(r,t)&&Fe(o,n)||(e=function(e,t){var n={},r={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function o(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];n[a.id]||(n[a.id]=!0,o(a.deps),c=a,r={reducers:(l=r).reducers.concat(c.reducers),isLoadingFuncs:l.isLoadingFuncs.concat(c.isLoadingFuncs),contextInit:l.contextInit.concat(c.contextInit),eventRefiners:(0,s.pi)((0,s.pi)({},l.eventRefiners),c.eventRefiners),eventDefMemberAdders:l.eventDefMemberAdders.concat(c.eventDefMemberAdders),eventSourceRefiners:(0,s.pi)((0,s.pi)({},l.eventSourceRefiners),c.eventSourceRefiners),isDraggableTransformers:l.isDraggableTransformers.concat(c.isDraggableTransformers),eventDragMutationMassagers:l.eventDragMutationMassagers.concat(c.eventDragMutationMassagers),eventDefMutationAppliers:l.eventDefMutationAppliers.concat(c.eventDefMutationAppliers),dateSelectionTransformers:l.dateSelectionTransformers.concat(c.dateSelectionTransformers),datePointTransforms:l.datePointTransforms.concat(c.datePointTransforms),dateSpanTransforms:l.dateSpanTransforms.concat(c.dateSpanTransforms),views:(0,s.pi)((0,s.pi)({},l.views),c.views),viewPropsTransformers:l.viewPropsTransformers.concat(c.viewPropsTransformers),isPropsValid:c.isPropsValid||l.isPropsValid,externalDefTransforms:l.externalDefTransforms.concat(c.externalDefTransforms),viewContainerAppends:l.viewContainerAppends.concat(c.viewContainerAppends),eventDropTransformers:l.eventDropTransformers.concat(c.eventDropTransformers),calendarInteractions:l.calendarInteractions.concat(c.calendarInteractions),componentInteractions:l.componentInteractions.concat(c.componentInteractions),themeClasses:(0,s.pi)((0,s.pi)({},l.themeClasses),c.themeClasses),eventSourceDefs:l.eventSourceDefs.concat(c.eventSourceDefs),cmdFormatter:c.cmdFormatter||l.cmdFormatter,recurringTypes:l.recurringTypes.concat(c.recurringTypes),namedTimeZonedImpl:c.namedTimeZonedImpl||l.namedTimeZonedImpl,initialView:l.initialView||c.initialView,elementDraggingImpl:l.elementDraggingImpl||c.elementDraggingImpl,optionChangeHandlers:(0,s.pi)((0,s.pi)({},l.optionChangeHandlers),c.optionChangeHandlers),scrollGridImpl:c.scrollGridImpl||l.scrollGridImpl,contentTypeHandlers:(0,s.pi)((0,s.pi)({},l.contentTypeHandlers),c.contentTypeHandlers),listenerRefiners:(0,s.pi)((0,s.pi)({},l.listenerRefiners),c.listenerRefiners),optionRefiners:(0,s.pi)((0,s.pi)({},l.optionRefiners),c.optionRefiners),propSetHandlers:(0,s.pi)((0,s.pi)({},l.propSetHandlers),c.propSetHandlers)})}var l,c}return e&&o(e),o(t),r}(r,o)),t=r,n=o,e}}var Ir=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t}(Ar);function Rr(e,t,n,r){if(t[e])return t[e];var o=function(e,t,n,r){var o=n[e],i=r[e],a=function(e){return o&&null!==o[e]?o[e]:i&&null!==i[e]?i[e]:null},l=a("component"),c=a("superType"),u=null;if(c){if(c===e)throw new Error("Can't have a custom view type that references itself");u=Rr(c,t,n,r)}!l&&u&&(l=u.component);if(!l)return null;return{type:e,component:l,defaults:(0,s.pi)((0,s.pi)({},u?u.defaults:{}),o?o.rawOptions:{}),overrides:(0,s.pi)((0,s.pi)({},u?u.overrides:{}),i?i.rawOptions:{})}}(e,t,n,r);return o&&(t[e]=o),o}Ir.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},Ir.prototype.baseIconClass="fc-icon",Ir.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"},Ir.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},Ir.prototype.iconOverrideOption="buttonIcons",Ir.prototype.iconOverrideCustomButtonOption="icon",Ir.prototype.iconOverridePrefix="fc-icon-";var xr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=u(),t.handleRootEl=function(e){wr(t.rootElRef,e),t.props.elRef&&wr(t.props.elRef,e)},t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return c(zr,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return c(Tr,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,Nr(t.classNames,n),e,o)}))}))},t}(Cr),kr=f(0);function Tr(e){return c(kr.Consumer,null,(function(t){return c(Mr,(0,s.pi)({renderId:t},e))}))}var Mr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=u(),t}return(0,s.ZT)(t,e),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=(0,s.pi)({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=Hr(e.content,e.hookProps);return void 0===t&&(t=Hr(e.defaultContent,e.hookProps)),null==t?null:t},t.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(e)for(var o in t)if(void 0!==e[o]){n=o,r=t[o];break}return{contentKey:n,buildLifecycleFuncs:r}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(Cr),zr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&wr(t.props.elRef,e)},t}return(0,s.ZT)(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e((0,s.pi)((0,s.pi)({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e((0,s.pi)((0,s.pi)({},this.props.hookProps),{el:this.rootEl}))},t}(Cr);function Or(){var e,t,n=[];return function(r,o){return t&&ve(t,o)&&r===e||(e=r,t=o,n=Nr(r,o)),n}}function Nr(e,t){return"function"==typeof e&&(e=e(t)),Et(e)}function Hr(e,t){return"function"==typeof e?e(t,c):e}var Pr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=Or(),t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return c(zr,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},(function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(o))}))},t}(Cr);function Ur(e){return he(e,_r)}function _r(e){var t="function"==typeof e?{component:e}:e,n=t.component;return t.content&&(n=function(e){return function(t){return c(vr.Consumer,null,(function(n){return c(Pr,{viewSpec:n.viewSpec},(function(r,o){var i=(0,s.pi)((0,s.pi)({},t),{nextDayThreshold:n.options.nextDayThreshold});return c(xr,{hookProps:i,classNames:e.classNames,content:e.content,didMount:e.didMount,willUnmount:e.willUnmount,elRef:r},(function(e,t,n,r){return c("div",{className:o.concat(t).join(" "),ref:e},r)}))}))}))}}(t)),{superType:t.type,component:n,rawOptions:t}}function Fr(e,t,n,r){var o=Ur(e),i=Ur(t.views),a=function(e,t){var n,r={};for(n in e)Rr(n,r,e,t);for(n in t)Rr(n,r,e,t);return r}(o,i);return he(a,(function(e){return function(e,t,n,r,o){var i=e.overrides.duration||e.defaults.duration||r.duration||n.duration,a=null,l="",c="",u={};if(i&&(a=function(e){var t=JSON.stringify(e),n=Wr[t];void 0===n&&(n=Be(e),Wr[t]=n);return n}(i),a)){var d=Ne(a);l=d.unit,1===d.value&&(c=l,u=t[l]?t[l].rawOptions:{})}var f=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[c]?n[c]:null},p=function(t){var n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[c]?n[c]:null};return{type:e.type,component:e.component,duration:a,durationUnit:l,singleUnit:c,optionDefaults:e.defaults,optionOverrides:(0,s.pi)((0,s.pi)({},u),e.overrides),buttonTextOverride:f(r)||f(n)||e.overrides.buttonText,buttonTextDefault:f(o)||e.defaults.buttonText||f(at)||e.type,buttonTitleOverride:p(r)||p(n)||e.overrides.buttonHint,buttonTitleDefault:p(o)||e.defaults.buttonHint||p(at)}}(e,i,t,n,r)}))}var Wr={};var Lr=function(){function e(e){this.props=e,this.nowDate=yn(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,c,u,d=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(c=e,e=null!=(u=r).start&&c<u.start?u.start:null!=u.end&&c>=u.end?new Date(u.end.valueOf()-1):c),o=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=_t(s,o.range)),s=_t(s=this.adjustActiveRange(s),r),l=Wt(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(e,t,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=Ne(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return Be({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,i=t.slotMaxTime,a=e.start,s=e.end;return r&&(ke(o)<0&&(a=te(a),a=n.add(a,o)),ke(i)>1&&(s=J(s=te(s),-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&ze(u)<ze(n)?Ne(u).unit:r}function d(){o=l.startOf(e,c),i=l.add(o,n),a={start:o,end:i}}return ke(n)<=1&&this.isHiddenDay(o)&&(o=te(o=this.skipHiddenDays(o,t))),d(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),d()),a},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=e;a&&(l=i.startOf(l,a)),l=te(l),r=l=this.skipHiddenDays(l,t);do{r=J(r,1),this.isHiddenDay(r)||(s+=1)}while(s<n);return{start:l,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?Be(1,t):e||Be({days:1}))},e.prototype.refineRange=function(e){if(e){var t=(n=e,r=this.props.dateEnv,o=null,i=null,n.start&&(o=r.createMarker(n.start)),n.end&&(i=r.createMarker(n.end)),o||i?o&&i&&i<o?null:{start:o,end:i}:null);return t&&(t=Nt(t)),t}var n,r,o,i;return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=J(e,t);return e},e}();function qr(e,t,n){var r=t?t.activeRange:null;return jr({},function(e,t){var n=mn(t),r=[].concat(e.eventSources||[]),o=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);for(var i=0,a=r;i<a.length;i++){var s=vn(a[i],t,n);s&&o.push(s)}return o}(e,n),r,n)}function Qr(e,t,n,r){var o,i,a=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return jr(e,t.sources,a,r);case"REMOVE_EVENT_SOURCE":return o=e,i=t.sourceId,pe(o,(function(e){return e.sourceId!==i}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Yr(e,a,r):e;case"FETCH_EVENT_SOURCES":return Gr(e,t.sourceIds?Ae(t.sourceIds):Xr(e,r),a,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,r){var o,i=e[t];if(i&&n===i.latestFetchId)return(0,s.pi)((0,s.pi)({},e),((o={})[t]=(0,s.pi)((0,s.pi)({},i),{isFetching:!1,fetchRange:r}),o));return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function Vr(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function jr(e,t,n,r){for(var o={},i=0,a=t;i<a.length;i++){var l=a[i];o[l.sourceId]=l}return n&&(o=Yr(o,n,r)),(0,s.pi)((0,s.pi)({},e),o)}function Yr(e,t,n){return Gr(e,pe(e,(function(e){return function(e,t,n){if(!Jr(e,n))return!e.latestFetchId;return!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end}(e,t,n)})),t,!1,n)}function Gr(e,t,n,r,o){var i={};for(var a in e){var s=e[a];t[a]?i[a]=Zr(s,n,r,o):i[a]=s}return i}function Zr(e,t,n,r){var o=r.options,i=r.calendarApi,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],l=O();return a.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var a=n.rawEvents;o.eventSourceSuccess&&(a=o.eventSourceSuccess.call(i,a,n.xhr)||a),e.success&&(a=e.success.call(i,a,n.xhr)||a),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:a})}),(function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(i,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})})),(0,s.pi)((0,s.pi)({},e),{isFetching:!0,latestFetchId:l})}function Xr(e,t){return pe(e,(function(e){return Jr(e,t)}))}function Jr(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Kr(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,o,i){if(t&&n===t.latestFetchId){var a=At(function(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;o&&(e=$r(e,o));r&&(e=$r(e,r));return e}(o,t,i),t,i);return r&&(a=be(a,r,i)),yt(eo(e,t.sourceId),a)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=be(t,n,r));return yt(e,t)}(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return yt(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?be(e,r.activeRange,o):e;case"REMOVE_EVENTS":return function(e,t){var n=e.defs,r=e.instances,o={},i={};for(var a in n)t.defs[a]||(o[a]=n[a]);for(var s in r)!t.instances[s]&&o[r[s].defId]&&(i[s]=r[s]);return{defs:o,instances:i}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return eo(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Ct(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function $r(e,t){var n;if(t){n=[];for(var r=0,o=e;r<o.length;r++){var i=o[r],a=t(i);a?n.push(a):null==a&&n.push(i)}}else n=e;return n}function eo(e,t){return Ct(e,(function(e){return e.sourceId!==t}))}function to(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function no(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function ro(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function oo(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function io(e,t,n,r,o){return{header:e.headerToolbar?ao(e.headerToolbar,e,t,n,r,o):null,footer:e.footerToolbar?ao(e.footerToolbar,e,t,n,r,o):null}}function ao(e,t,n,r,o,i){var a={},s=[],l=!1;for(var c in e){var u=so(e[c],t,n,r,o,i);a[c]=u.widgets,s.push.apply(s,u.viewsWithButtons),l=l||u.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function so(e,t,n,r,o,i){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},u=n.buttonHints||{},d=t.buttonHints||{},f=e?e.split(" "):[],p=[],h=!1;return{widgets:f.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,f,A,g,v,m;if(n=s[e])A=function(e){n.click&&n.click.call(e.target,e,e.target)},(g=r.getCustomButtonIconClass(n))||(g=r.getIconClass(e,a))||(v=n.text),m=n.hint||n.text;else if(f=o[e]){p.push(e),A=function(){i.changeView(e)},(v=f.buttonTextOverride)||(g=r.getIconClass(e,a))||(v=f.buttonTextDefault);var y=f.buttonTextOverride||f.buttonTextDefault;m=j(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[y,e],y)}else if(i[e])if(A=function(){i[e]()},(v=l[e])||(g=r.getIconClass(e,a))||(v=c[e]),"prevYear"===e||"nextYear"===e){var C="prevYear"===e?"prev":"next";m=j(u[C]||d[C],[c.year||"year","year"],c[e])}else m=function(t){return j(u[e]||d[e],[c[t]||t,t],c[e])};return{buttonName:e,buttonClick:A,buttonIcon:g,buttonText:v,buttonHint:m}}))})),viewsWithButtons:p,hasTitle:h}}function lo(e,t,n,r,o){var i=null;"GET"===(e=e.toUpperCase())?t=function(e,t){return e+(-1===e.indexOf("?")?"?":"&")+co(t)}(t,n):i=co(n);var a=new XMLHttpRequest;a.open(e,t,!0),"GET"!==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400){var e=!1,t=void 0;try{t=JSON.parse(a.responseText),e=!0}catch(e){}e?r(t,a):o("Failure parsing JSON",a)}else o("Request failed",a)},a.onerror=function(){o("Request failed",a)},a.send(i)}function co(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}var uo={parseMeta:function(e){return!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var r=e.eventSource.meta,o=function(e,t,n){var r,o,i,a,l=n.dateEnv,c=n.options,u={};null==(r=e.startParam)&&(r=c.startParam);null==(o=e.endParam)&&(o=c.endParam);null==(i=e.timeZoneParam)&&(i=c.timeZoneParam);a="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};(0,s.pi)(u,a),u[r]=l.formatIso(t.start),u[o]=l.formatIso(t.end),"local"!==l.timeZone&&(u[i]=l.timeZone);return u}(r,e.range,e.context);lo(r.method,r.url,o,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}};function fo(e,t){for(var n=ge(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var c=0,u=n;c<u.length;c++){var d=u[c];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];t.calendarApi.addEventSource(h)}}var po=[Sr({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),Sr({eventSourceDefs:[{parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;cr(e.eventSource.meta.bind(null,an(e.range,r)),(function(e){t({rawEvents:e})}),n)}}]}),Sr({eventSourceRefiners:{method:String,extraParams:ht,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[uo]}),Sr({recurringTypes:[{parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},r=void 0;return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(o=e.endTime,i=e.startTime,r={years:o.years-i.years,months:o.months-i.months,days:o.days-i.days,milliseconds:o.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}var o,i;return null},expand:function(e,t,n){var r=_t(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){var o=e?Ae(e):null,i=te(n.start),a=n.end,s=[];for(;i<a;){var l=void 0;o&&!o[i.getUTCDay()]||(l=t?r.add(i,t):i,s.push(l)),i=J(i,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:ht,startTime:Be,endTime:Be,duration:Be,startRecur:ht,endRecur:ht}}),Sr({optionChangeHandlers:{events:function(e,t){fo([e],t)},eventSources:fo}}),Sr({isLoadingFuncs:[function(e){return Vr(e.eventSources)}],contentTypeHandlers:{html:function(){var e=null,t="";return{render:function(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r},destroy:function(){e.innerHTML="",e=null,t=""}}},domNodes:function(){var e=null,t=[];function n(){t.forEach(g),t=[],e=null}return{render:function(r,o){var i=Array.prototype.slice.call(o);if(r!==e||!Fe(t,i)){for(var a=0,s=i;a<s.length;a++){var l=s[a];r.appendChild(l)}n()}e=r,t=i},destroy:n}}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",(0,s.pi)((0,s.pi)({},an(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",wn(e,t))}}})];var ho=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;if(e in n){if(t)delete n[e];else n[e]-=1,n[e]<=0&&delete n[e];this.tryDrain()}},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),Ao=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new ho(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function go(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,ot(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=ee(e.currentRange.start,e.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var vo=function(){function e(e){var t=this;this.computeOptionsData=We(this._computeOptionsData),this.computeCurrentViewData=We(this._computeCurrentViewData),this.organizeRawLocales=We(Mn),this.buildLocale=We(zn),this.buildPluginHooks=Br(),this.buildDateEnv=We(mo),this.buildTheme=We(yo),this.parseToolbars=We(io),this.buildViewSpecs=We(Fr),this.buildDateProfileGenerator=Le(Co),this.buildViewApi=We(Eo),this.buildViewUiProps=Le(Do),this.buildEventUiBySource=We(bo,ve),this.buildEventUiBases=We(wo),this.parseContextBusinessHours=Le(Bo),this.buildTitle=We(go),this.emitter=new ur,this.actionRunner=new Ao(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),o=r.calendarOptions.initialView||r.pluginHooks.initialView,i=this.computeCurrentViewData(o,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(i.options);var a=function(e,t){var n=e.initialDate;return null!=n?t.createMarker(n):yn(e.now,t)}(r.calendarOptions,r.dateEnv),l=i.dateProfileGenerator.build(a);qt(l.activeRange,a)||(a=l.currentRange.start);for(var c={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},u=0,d=r.pluginHooks.contextInit;u<d.length;u++){(0,d[u])(c)}for(var f=qr(r.calendarOptions,l,c),p={dynamicOptionOverrides:n,currentViewType:o,currentDate:a,dateProfile:l,businessHours:this.parseContextBusinessHours(c),eventSources:f,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(c).selectionConfig},h=(0,s.pi)((0,s.pi)({},c),p),A=0,g=r.pluginHooks.reducers;A<g.length;A++){var v=g[A];(0,s.pi)(p,v(null,null,h))}So(p,c)&&this.emitter.trigger("loading",!0),this.state=p,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?(0,s.pi)((0,s.pi)({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,r=t.state,o=t.emitter,i=function(e,t){var n;return"SET_OPTION"===t.type?(0,s.pi)((0,s.pi)({},e),((n={})[t.optionName]=t.rawOptionValue,n)):e}(r.dynamicOptionOverrides,e),a=this.computeOptionsData(n.optionOverrides,i,n.calendarApi),l=function(e,t){"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType);return e}(r.currentViewType,e),c=this.computeCurrentViewData(l,a,n.optionOverrides,i);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(c.options);var u={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},d=r.currentDate,f=r.dateProfile;this.data&&this.data.dateProfileGenerator!==c.dateProfileGenerator&&(f=c.dateProfileGenerator.build(d)),d=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(d,e),f=function(e,t,n,r){var o;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((o=r.buildPrev(e,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(e,n)).isValid)return o}return e}(f,e,d,c.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&qt(f.currentRange,d)||(d=f.currentRange.start);for(var p=Qr(r.eventSources,e,f,u),h=Kr(r.eventStore,e,p,f,u),A=Vr(p)&&!c.options.progressiveEventRendering&&r.renderableEventStore||h,g=this.buildViewUiProps(u),v=g.eventUiSingleBase,m=g.selectionConfig,y=this.buildEventUiBySource(p),C={dynamicOptionOverrides:i,currentViewType:l,currentDate:d,dateProfile:f,eventSources:p,eventStore:h,renderableEventStore:A,selectionConfig:m,eventUiBases:this.buildEventUiBases(A.defs,v,y),businessHours:this.parseContextBusinessHours(u),dateSelection:to(r.dateSelection,e),eventSelection:no(r.eventSelection,e),eventDrag:ro(r.eventDrag,e),eventResize:oo(r.eventResize,e)},E=(0,s.pi)((0,s.pi)({},u),C),b=0,w=a.pluginHooks.reducers;b<w.length;b++){var D=w[b];(0,s.pi)(C,D(r,e,E))}var S=So(r,u),B=So(C,u);!S&&B?o.trigger("loading",!0):S&&!B&&o.trigger("loading",!1),this.state=C,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e,t,n,r,o,i,a,l,c,u=this.props,d=this.state,f=this.data,p=this.computeOptionsData(u.optionOverrides,d.dynamicOptionOverrides,u.calendarApi),h=this.computeCurrentViewData(d.currentViewType,p,u.optionOverrides,d.dynamicOptionOverrides),A=this.data=(0,s.pi)((0,s.pi)((0,s.pi)({viewTitle:this.buildTitle(d.dateProfile,h.options,p.dateEnv),calendarApi:u.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},p),h),d),g=p.pluginHooks.optionChangeHandlers,v=f&&f.calendarOptions,m=p.calendarOptions;if(v&&v!==m)for(var y in v.timeZone!==m.timeZone&&(d.eventSources=A.eventSources=(i=A.eventSources,a=d.dateProfile,l=A,c=a?a.activeRange:null,Gr(i,Xr(i,l),c,!0,l)),d.eventStore=A.eventStore=(e=A.eventStore,t=f.dateEnv,n=A.dateEnv,r=e.defs,o=he(e.instances,(function(e){var o=r[e.defId];return o.allDay||o.recurringDef?e:(0,s.pi)((0,s.pi)({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})})),{defs:r,instances:o})),g)v[y]!==m[y]&&g[y](m[y],A);u.onData&&u.onData(A)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;Io(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,e,t,a),u=this.buildTheme(o,i);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:u,toolbarConfig:this.parseToolbars(o,e,u,c,n),localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=ft([at,e,t]),r=n.locales,o=n.locale,i=this.organizeRawLocales(r),a=i.map,l=this.buildLocale(o||i.defaultCode,a).options,c=this.buildPluginHooks(e.plugins||[],po),u=this.currentCalendarOptionsRefiners=(0,s.pi)((0,s.pi)((0,s.pi)((0,s.pi)((0,s.pi)({},it),st),lt),c.listenerRefiners),c.optionRefiners),d={},f=ft([at,l,e,t]),p={},h=this.currentCalendarOptionsInput,A=this.currentCalendarOptionsRefined,g=!1;for(var v in f)"plugins"!==v&&(f[v]===h[v]||ct[v]&&v in h&&ct[v](h[v],f[v])?p[v]=A[v]:u[v]?(p[v]=u[v](f[v]),g=!0):d[v]=h[v]);return g&&(this.currentCalendarOptionsInput=f,this.currentCalendarOptionsRefined=p),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:c,availableLocaleData:i,localeDefaults:l,extra:d}},e.prototype._computeCurrentViewData=function(e,t,n,r){var o=t.viewSpecs[e];if(!o)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,r),a=i.refinedOptions;return Io(i.extra),{viewSpec:o,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var i=ft([at,e.optionDefaults,n,r,e.optionOverrides,o]),a=(0,s.pi)((0,s.pi)((0,s.pi)((0,s.pi)((0,s.pi)((0,s.pi)({},it),st),lt),dt),t.listenerRefiners),t.optionRefiners),l={},c=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,d=!1,f={};for(var p in i)i[p]===c[p]?l[p]=u[p]:(i[p]===this.currentCalendarOptionsInput[p]?p in this.currentCalendarOptionsRefined&&(l[p]=this.currentCalendarOptionsRefined[p]):a[p]?l[p]=a[p](i[p]):f[p]=i[p],d=!0);return d&&(this.currentViewOptionsInput=i,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:f}},e}();function mo(e,t,n,r,o,i,a,s){var l=zn(t||a.defaultCode,a.map);return new Rn({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function yo(e,t){return new(t.themeClasses[e.themeSystem]||Ir)(e)}function Co(e){return new(e.dateProfileGeneratorClass||Lr)(e)}function Eo(e,t,n){return new An(e,t,n)}function bo(e){return he(e,(function(e){return e.ui}))}function wo(e,t,n){var r={"":t};for(var o in e){var i=e[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function Do(e){var t=e.options;return{eventUiSingleBase:Dt({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:Dt({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function So(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(e))return!0}return!1}function Bo(e){return Pn(e.options.businessHours,e)}function Io(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}var Ro=function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new vo({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}return(0,s.ZT)(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)},t}(l);var xo=function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return e.prototype.addSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];this.insertEntry(o,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,o=[],i=e.span,a=t.span;return i.start<a.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:a.start}},o)),i.end>a.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.end,end:i.end}},o)),r?(n.push.apply(n,(0,s.ev)([{index:e.index,thickness:e.thickness,span:zo(a,i)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(Oo(r,t.level,t.levelCoord),Oo(n,t.level,[e])):Oo(n[t.level],t.lateral,e),this.stackCnts[To(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,o=t.strictOrder,i=t.stackCnts,a=n.length,s=0,l=-1,c=-1,u=null,d=0,f=0;f<a;f+=1){var p=n[f];if(!o&&p>=s+e.thickness)break;for(var h=r[f],A=void 0,g=No(h,e.span.start,ko),v=g[0]+g[1];(A=h[v])&&A.span.start<e.span.end;){var m=p+A.thickness;m>s&&(s=m,u=A,l=f,c=v),m===s&&(d=Math.max(d,i[To(A)]+1)),v+=1}}var y=0;if(u)for(y=l+1;y<a&&n[y]<s;)y+=1;var C=-1;return y<a&&n[y]===s&&(C=No(r[y],e.span.end,ko)[0]),{touchingLevel:l,touchingLateral:c,touchingEntry:u,stackCnt:d,levelCoord:s,level:y,lateral:C}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],o=0;o<n;o+=1)for(var i=e[o],a=t[o],l=0,c=i;l<c.length;l++){var u=c[l];r.push((0,s.pi)((0,s.pi)({},u),{levelCoord:a}))}return r},e}();function ko(e){return e.span.end}function To(e){return e.index+":"+e.span.start}function Mo(e){for(var t,n,r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=[],l={span:a.span,entries:[a]},c=0,u=r;c<u.length;c++){var d=u[c];zo(d.span,l.span)?l={entries:d.entries.concat(l.entries),span:(t=d.span,n=l.span,{start:Math.min(t.start,n.start),end:Math.max(t.end,n.end)})}:s.push(d)}s.push(l),r=s}return r}function zo(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function Oo(e,t,n){e.splice(t,0,n)}function No(e,t,n){var r=0,o=e.length;if(!o||t<n(e[r]))return[0,0];if(t>n(e[o-1]))return[o,0];for(;r<o;){var i=Math.floor(r+(o-r)/2),a=n(e[i]);if(t<a)o=i;else{if(!(t>a))return[i,1];r=i+1}}return[r,0]}var Ho=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function Po(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}function Uo(e){var t;return(t={})[e.component.uid]=e,t}var _o={},Fo=function(){function e(e,t){this.emitter=new ur}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),Wo={},Lo={startTime:Be,duration:Be,create:Boolean,sourceId:String};function qo(e){var t=pt(e,Lo),n=t.refined,r=t.extra;return{startTime:n.startTime||null,duration:n.duration||null,create:null==n.create||n.create,sourceId:n.sourceId,leftoverProps:r}}var Qo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return c.apply(void 0,(0,s.ev)(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],o=!0,i=0,a=e;i<a.length;i++){var l=a[i],u=l.buttonName,d=l.buttonClick,f=l.buttonText,p=l.buttonIcon,h=l.buttonHint;if("title"===u)o=!1,r.push(c("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var A=u===t.activeButton,g=!t.isTodayEnabled&&"today"===u||!t.isPrevEnabled&&"prev"===u||!t.isNextEnabled&&"next"===u,v=["fc-"+u+"-button",n.getClass("button")];A&&v.push(n.getClass("buttonActive")),r.push(c("button",{type:"button",title:"function"==typeof h?h(t.navUnit):h,disabled:g,"aria-pressed":A,className:v.join(" "),onClick:d},f||(p?c("span",{className:p}):"")))}}if(r.length>1){var m=o&&n.getClass("buttonGroup")||"";return c.apply(void 0,(0,s.ev)(["div",{className:m}],r))}return r[0]},t}(Cr),Vo=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,o=n.extraClassName,i=!1,a=r.sectionWidgets,s=a.center;return a.left?(i=!0,e=a.left):e=a.start,a.right?(i=!0,t=a.right):t=a.end,c("div",{className:[o||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return c(Qo,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},t}(Cr),jo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,wr(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",i="";return n?null!==t.availableWidth?o=t.availableWidth/n:i=1/n*100+"%":o=e.height||"",c("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:i}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(Cr),Yo=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,o=r.context,i=jt(t);if(i&&r.isValidSegDownEl(e.target)){var a=v(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new En(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=x(t.el,"click",".fc-event",n.handleSegClick),n}return(0,s.ZT)(t,e),t}(Ho),Go=function(e){function t(t){var n,r,o,i,a,s=e.call(this,t)||this;return s.handleEventElRemove=function(e){e===s.currentSegEl&&s.handleSegLeave(null,s.currentSegEl)},s.handleSegEnter=function(e,t){jt(t)&&(s.currentSegEl=t,s.triggerEvent("eventMouseEnter",e,t))},s.handleSegLeave=function(e,t){s.currentSegEl&&(s.currentSegEl=null,s.triggerEvent("eventMouseLeave",e,t))},s.removeHoverListeners=(n=t.el,r=".fc-event",o=s.handleSegEnter,i=s.handleSegLeave,x(n,"mouseover",r,(function(e,t){if(t!==a){a=t,o(e,t);var n=function(e){a=null,i(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}))),s}return(0,s.ZT)(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=jt(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new En(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(Ho),Zo=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=We(mr),t.buildViewPropTransformers=We(Jo),t.buildToolbarProps=We(Xo),t.headerRef=u(),t.footerRef=u(),t.interactionsStore={},t.state={viewLabelId:I()},t.registerInteractiveComponent=function(e,n){var r=Po(e,n),o=[Yo,Go].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));t.interactionsStore[e.uid]=o,_o[e.uid]=r},t.unregisterInteractiveComponent=function(e){for(var n=0,r=t.interactionsStore[e.uid];n<r.length;n++){r[n].destroy()}delete t.interactionsStore[e.uid],delete _o[e.uid]},t.resizeRunner=new ho((function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})})),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,o=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,yn(t.options.now,t.dateEnv),t.viewTitle),i=!1,a="";t.isHeightAuto||t.forPrint?a="":null!=r.height?i=!0:null!=r.contentHeight?a=r.contentHeight:e=Math.max(r.aspectRatio,.5);var l=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),u=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return c(vr.Provider,{value:l},n.header&&c(Vo,(0,s.pi)({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:u},o)),c(jo,{liquid:i,height:a,aspectRatio:e,labeledById:u},this.renderView(t),this.buildAppendContent()),n.footer&&c(Vo,(0,s.pi)({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},o)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++){t[e].destroy()}this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return c.apply(void 0,(0,s.ev)([d,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=0,i=this.buildViewPropTransformers(t.viewPropsTransformers);o<i.length;o++){var a=i[o];(0,s.pi)(r,a.transform(r,e))}var l=n.component;return c(l,(0,s.pi)({},r))},t}(yr);function Xo(e,t,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:i,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!qt(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function Jo(e){return e.map((function(e){return new e}))}var Ko=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,o=r||null==t.height?"":t.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")];return Qn()||i.push("fc-liquid-hack"),e.children(i,o,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(Cr);function $o(e,t){return ot(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var ei="fc-col-header-cell";function ti(e){return e.text}var ni=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,o=e.viewApi,i=this.props,a=i.date,l=i.dateProfile,u=Gn(a,i.todayRange,null,l),d=[ei].concat(Zn(u,r)),f=t.format(a,i.dayHeaderFormat),p=!u.isDisabled&&i.colCnt>1?$n(this.context,a):{},h=(0,s.pi)((0,s.pi)((0,s.pi)({date:t.toDate(a),view:o},i.extraHookProps),{text:f}),u);return c(xr,{hookProps:h,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:ti,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return c("th",(0,s.pi)({ref:e,role:"columnheader",className:d.concat(t).join(" "),"data-date":u.isDisabled?void 0:Pe(a),colSpan:i.colSpan},i.extraDataAttrs),c("div",{className:"fc-scrollgrid-sync-inner"},!u.isDisabled&&c("a",(0,s.pi)({ref:n,className:["fc-col-header-cell-cushion",i.isSticky?"fc-sticky":""].join(" ")},p),r)))}))},t}(Cr),ri=ot({weekday:"long"}),oi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,o=t.viewApi,i=t.options,a=J(new Date(2592e5),e.dow),l={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},u=[ei].concat(Zn(l,r),e.extraClassNames||[]),d=n.format(a,e.dayHeaderFormat),f=(0,s.pi)((0,s.pi)((0,s.pi)((0,s.pi)({date:a},l),{view:o}),e.extraHookProps),{text:d});return c(xr,{hookProps:f,classNames:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:ti,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},(function(t,r,o,i){return c("th",(0,s.pi)({ref:t,role:"columnheader",className:u.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),c("div",{className:"fc-scrollgrid-sync-inner"},c("a",{"aria-label":n.format(a,ri),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(Cr),ii=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=yn(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=K(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(r,Be(1,e.unit)),i=o.valueOf()-n.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:r,todayRange:ai(r)},nextState:{nowDate:o,todayRange:ai(o)},waitMs:i}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=vr,t}(l);function ai(e){var t=te(e);return{start:t,end:J(t,1)}}!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=We(si),t}(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,o=t.datesRepDistinctDays,i=t.renderIntro,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,o,n.length);return c(ii,{unit:"day"},(function(e,t){return c("tr",{role:"row"},i&&i("day"),n.map((function(e){return o?c(ni,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):c(oi,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})})))}))}}(Cr);function si(e,t,n){return e||$o(t,n)}(function(){function e(e,t){for(var n=e.start,r=e.end,o=[],i=[],a=-1;n<r;)t.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=J(n,1);this.dates=i,this.indices=o,this.cnt=i.length}e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(J(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor($(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]}})(),function(){function e(e,t){var n,r,o,i=e.dates;if(t){for(r=i[0].getUTCDay(),n=1;n<i.length&&i[n].getUTCDay()!==r;n+=1);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/t),l=Math.min((s+1)*t,i+1);r.push({row:s,firstCol:a%t,lastCol:(l-1)%t,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r}}();var li=function(){function e(){this.sliceBusinessHours=We(this._sliceBusinessHours),this.sliceDateSelection=We(this._sliceDateSpan),this.sliceEventStore=We(this._sliceEventStore),this.sliceEventDrag=We(this._sliceInteraction),this.sliceEventResize=We(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var a=e.eventUiBases,l=this.sliceEventStore.apply(this,(0,s.ev)([e.eventStore,a,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,(0,s.ev)([e.dateSelection,a,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,(0,s.ev)([e.businessHours,t,n,r],o)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,(0,s.ev)([e.eventDrag,a,t,n],o)),eventResize:this.sliceEventResize.apply(this,(0,s.ev)([e.eventResize,a,t,n],o)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,(0,s.ev)([{range:{start:e,end:K(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];return e?this._sliceEventStore.apply(this,(0,s.ev)([be(e,ci(t,Boolean(n)),r),{},t,n],o)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(e){var a=Qt(e,t,ci(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!e)return null;var a=Qt(e.mutatedEvents,t,ci(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];if(!e)return[];for(var i=ln(e,t,n),a=this.sliceRange.apply(this,(0,s.ev)([e.range],r)),l=0,c=a;l<c.length;l++){var u=c[l];u.eventRange=i}return a},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:J(n.start,1)});for(var r=this.sliceRange.apply(this,(0,s.ev)([n],t)),o=0,i=r;o<i.length;o++){var a=i[o];a.eventRange=e,a.isStart=e.isStart&&a.isStart,a.isEnd=e.isEnd&&a.isEnd}return r},e}();function ci(e,t){var n=e.activeRange;return t?n:{start:K(n.start,e.slotMinTime.milliseconds),end:K(n.end,e.slotMaxTime.milliseconds-864e5)}}function ui(e,t,n){var r=e.mutatedEvents.instances;for(var o in r)if(!Lt(t.validRange,r[o].range))return!1;return fi({eventDrag:e},n)}function di(e,t,n){return!!Lt(t.validRange,e.range)&&fi({dateSelection:e},n)}function fi(e,t){var n=t.getCurrentData(),r=(0,s.pi)({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||pi)(r,t)}function pi(e,t,n,r){return void 0===n&&(n={}),!(e.eventDrag&&!function(e,t,n,r){var o=t.getCurrentData(),i=e.eventDrag,a=i.mutatedEvents,l=a.defs,c=a.instances,u=Yt(l,i.isEvent?e.eventUiBases:{"":o.selectionConfig});r&&(u=he(u,r));var d=(A=e.eventStore,g=i.affectedEvents.instances,{defs:A.defs,instances:pe(A.instances,(function(e){return!g[e.instanceId]}))}),f=d.defs,p=d.instances,h=Yt(f,e.eventUiBases);var A,g;for(var v in c){var m=c[v],y=m.range,C=u[m.defId],E=l[m.defId];if(!hi(C.constraints,y,d,e.businessHours,t))return!1;var b=t.options.eventOverlap,w="function"==typeof b?b:null;for(var D in p){var S=p[D];if(Wt(y,S.range)){if(!1===h[S.defId].overlap&&i.isEvent)return!1;if(!1===C.overlap)return!1;if(w&&!w(new En(t,f[S.defId],S),new En(t,E,m)))return!1}}for(var B=o.eventStore,I=0,R=C.allows;I<R.length;I++){var x=R[I],k=(0,s.pi)((0,s.pi)({},n),{range:m.range,allDay:E.allDay}),T=B.defs[E.defId],M=B.instances[v],z=void 0;if(z=T?new En(t,T,M):new En(t,E),!x(un(k,t),z))return!1}}return!0}(e,t,n,r))&&!(e.dateSelection&&!function(e,t,n,r){var o=e.eventStore,i=o.defs,a=o.instances,l=e.dateSelection,c=l.range,u=t.getCurrentData().selectionConfig;r&&(u=r(u));if(!hi(u.constraints,c,o,e.businessHours,t))return!1;var d=t.options.selectOverlap,f="function"==typeof d?d:null;for(var p in a){var h=a[p];if(Wt(c,h.range)){if(!1===u.overlap)return!1;if(f&&!f(new En(t,i[h.defId],h),null))return!1}}for(var A=0,g=u.allows;A<g.length;A++){if(!(0,g[A])(un((0,s.pi)((0,s.pi)({},n),l),t),null))return!1}return!0}(e,t,n,r))}function hi(e,t,n,r,o){for(var i=0,a=e;i<a.length;i++){if(!vi(Ai(a[i],t,n,r,o),t))return!1}return!0}function Ai(e,t,n,r,o){return"businessHours"===e?gi(be(r,t,o)):"string"==typeof e?gi(Ct(n,(function(t){return t.groupId===e}))):"object"==typeof e&&e?gi(be(e,t,o)):[]}function gi(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function vi(e,t){for(var n=0,r=e;n<r.length;n++){if(Lt(r[n],t))return!0}return!1}var mi=/^(visible|hidden)$/,yi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,wr(t.props.elRef,e)},t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),c("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(mi.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(mi.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return mi.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return mi.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(Cr),Ci=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==e?(a=n in i,i[n]=e,o[n]=(o[n]||0)+1,s=!0):(o[n]-=1,o[n]||(delete i[n],delete t.callbackMap[n],a=!0)),t.masterCallback&&(a&&t.masterCallback(null,String(n)),s&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return Ee(this.currentMap,e,t,n)},e.prototype.getAll=function(){return ge(this.currentMap)},e}();function Ei(e){for(var t=0,n=0,r=y(e,".fc-scrollgrid-shrink");n<r.length;n++){var o=r[n];t=Math.max(t,Z(o))}return Math.ceil(t)}function bi(e,t){return e.liquid&&t.liquid}function wi(e,t){return null!=t.maxHeight||bi(e,t)}function Di(e,t,n,r){var o=n.expandRows;return"function"==typeof t.content?t.content(n):c("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,c(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function Si(e,t){return Fe(e,t,ve)}function Bi(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var i=o[r],a=i.span||1,l=0;l<a;l+=1)n.push(c("col",{style:{width:"shrink"===i.width?Ii(t):i.width||"",minWidth:i.minWidth||""}}));return c.apply(void 0,(0,s.ev)(["colgroup",{}],n))}function Ii(e){return null==e?4:e}function Ri(e){for(var t=0,n=e;t<n.length;t++){if("shrink"===n[t].width)return!0}return!1}function xi(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function ki(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function Ti(e){return c("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function Mi(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function zi(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=We((function(e){return e}),Si),t.renderMicroColGroup=We(Bi),t.scrollerRefs=new Ci,t.scrollerElRefs=new Ci(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.setState((0,s.pi)({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=t.sections||[],i=this.processCols(t.cols),a=this.renderMicroColGroup(i,n.shrinkWidth),l=xi(t.liquid,r);t.collapsibleWidth&&l.push("fc-scrollgrid-collapsible");for(var u,d=o.length,f=0,p=[],h=[],A=[];f<d&&"header"===(u=o[f]).type;)p.push(this.renderSection(u,a,!0)),f+=1;for(;f<d&&"body"===(u=o[f]).type;)h.push(this.renderSection(u,a,!1)),f+=1;for(;f<d&&"footer"===(u=o[f]).type;)A.push(this.renderSection(u,a,!0)),f+=1;var g=!Qn(),v={role:"rowgroup"};return c("table",{role:"grid",className:l.join(" "),style:{height:t.height}},Boolean(!g&&p.length)&&c.apply(void 0,(0,s.ev)(["thead",v],p)),Boolean(!g&&h.length)&&c.apply(void 0,(0,s.ev)(["tbody",v],h)),Boolean(!g&&A.length)&&c.apply(void 0,(0,s.ev)(["tfoot",v],A)),g&&c.apply(void 0,(0,s.ev)((0,s.ev)((0,s.ev)(["tbody",v],p),h),A)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?c(d,{key:e.key},e.outerContent):c("tr",{key:e.key,role:"presentation",className:ki(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var o=this.props,i=this.state,a=i.forceYScrollbars,s=i.scrollerClientWidths,l=i.scrollerClientHeights,u=wi(o,e),d=bi(o,e),f=o.liquid?a?"scroll":u?"auto":"hidden":"visible",p=e.key,h=Di(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[p]?null:s[p],clientHeight:void 0!==l[p]?l[p]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return c(r?"th":"td",{ref:n.elRef,role:"presentation"},c("div",{className:"fc-scroller-harness"+(d?" fc-scroller-harness-liquid":"")},c(yi,{ref:this.scrollerRefs.createRef(p),elRef:this.scrollerElRefs.createRef(p),overflowY:f,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:d,liquidIsAbsolute:!0},h)))},t.prototype._handleScrollerEl=function(e,t){var n=function(e,t){for(var n=0,r=e;n<r.length;n++){var o=r[n];if(o.key===t)return o}return null}(this.props.sections,t);n&&wr(n.chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return Ri(this.props.cols)?Ei(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=rr(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},i={};for(var a in t.currentMap){var s=t.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,c=this.props.sections;l<c.length;l++){a=c[l].key;var u=n.currentMap[a];if(u){var d=u.parentNode;o[a]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),i[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:i}},t})(Cr).addStateEquality({scrollerClientWidths:ve,scrollerClientHeights:ve});var Oi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=u(),t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,o=r.eventRange,i=o.ui,a={event:new En(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,isDraggable:!e.disableDragging&&Jt(r,t),isStartResizable:!e.disableResizing&&Kt(r,t),isEndResizable:!e.disableResizing&&$t(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)},s=function(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}(a).concat(i.classNames);return c(xr,{hookProps:a,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(t,n,r,o){return e.children(t,s.concat(n),r,o,a)}))},t.prototype.componentDidMount=function(){Vt(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&Vt(this.elRef.current,t)},t}(Cr),Ni=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=t.options.eventTimeFormat||e.defaultTimeFormat,o=function(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,c=l.displayEventTime,u=l.displayEventEnd,d=e.eventRange.def,f=e.eventRange.instance;null==c&&(c=!1!==r),null==u&&(u=!1!==o);var p=f.range.start,h=f.range.end,A=i||e.start||e.eventRange.range.start,g=a||e.end||e.eventRange.range.end,v=te(p).valueOf()===te(A).valueOf(),m=te(K(h,-1)).valueOf()===te(K(g,-1)).valueOf();return c&&!d.allDay&&(v||m)?(A=v?p:A,g=m?h:g,u&&d.hasEnd?s.formatRange(A,g,t,{forcedStartTzo:i?null:f.forcedStartTzo,forcedEndTzo:a?null:f.forcedEndTzo}):s.format(A,t,{forcedTzo:i?null:f.forcedStartTzo})):""}(n,r,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return c(Oi,{seg:n,timeText:o,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||Hi,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(r,o,i,a,l){return c("a",(0,s.pi)({className:e.extraClassNames.concat(o).join(" "),style:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},ref:r},function(e,t){var n=e.eventRange,r=n.def,o=n.instance,i=r.url;if(i)return{href:i};var a=t.emitter,s=t.options.eventInteractive;return null==s&&null==(s=r.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s?M((function(e){a.trigger("eventClick",{el:e.target,event:new En(t,r,o),jsEvent:e,view:t.viewApi})})):{}}(n,t)),c("div",{className:"fc-event-main",ref:i,style:{color:l.textColor}},a),l.isStartResizable&&c("div",{className:"fc-event-resizer fc-event-resizer-start"}),l.isEndResizable&&c("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t}(Cr);function Hi(e){return c("div",{className:"fc-event-main-frame"},e.timeText&&c("div",{className:"fc-event-time"},e.timeText),c("div",{className:"fc-event-title-container"},c("div",{className:"fc-event-title fc-sticky"},e.event.title||c(d,null," "))))}var Pi=function(e){return c(vr.Consumer,null,(function(t){var n=t.options,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return c(xr,{hookProps:r,classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)}))},Ui=ot({day:"numeric"}),_i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=Fi({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return c(Tr,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(Cr);function Fi(e){var t=e.date,n=e.dateEnv,r=Gn(t,e.todayRange,null,e.dateProfile);return(0,s.pi)((0,s.pi)((0,s.pi)({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,Ui):""}),e.extraProps)}var Wi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=Le(Fi),t.normalizeClassNames=Or(),t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),o=Zn(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),i=r.isDisabled?{}:{"data-date":Pe(e.date)};return c(zr,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},(function(t){return e.children(t,o,i,r.isDisabled)}))},t}(Cr);function Li(e){return c("div",{className:"fc-"+e})}var qi=function(e){return c(Oi,{defaultContent:Qi,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(e,t,n,r,o){return c("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function Qi(e){return e.event.title&&c("div",{className:"fc-event-title"},e.event.title)}var Vi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:I()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&wr(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=D(e);t.rootEl.contains(n)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,o=this.state,i=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return p(c("div",(0,s.pi)({id:r.id,className:i.join(" "),"aria-labelledby":o.titleId},r.extraAttrs,{ref:this.handleRootEl}),c("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},c("span",{className:"fc-popover-title",id:o.titleId},r.title),c("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),c("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,o=this.rootEl,i=function(e){for(var t=lr(e),n=e.getBoundingClientRect(),r=0,o=t;r<o.length;r++){var i=_n(n,o[r].getBoundingClientRect());if(!i)return null;n=i}return n}(n);if(i){var a=o.getBoundingClientRect(),s=r?v(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=e?i.right-a.width:i.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-a.width),l=Math.max(l,10);var c=o.offsetParent.getBoundingClientRect();b(o,{top:s-c.top,left:l-c.left})}},t}(Cr),ji=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,o=r.startDate,i=r.todayRange,a=r.dateProfile,s=n.format(o,t.dayPopoverFormat);return c(Wi,{date:o,dateProfile:a,todayRange:i,elRef:this.handleRootEl},(function(e,t,n){return c(Vi,{elRef:e,id:r.id,title:s,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},c(_i,{date:o,dateProfile:a,todayRange:i},(function(e,t){return t&&c("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var o=this.rootEl,i=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:i.dateProfile,dateSpan:(0,s.pi)({allDay:!0,range:{start:i.startDate,end:i.endDate}},i.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(Dr),Yi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=u(),t.state={isPopoverOpen:!1,popoverId:I()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,i=o.options.moreLinkClick,a=Zi(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,i=t.range;return{event:new En(o,n,r),start:o.dateEnv.toDate(i.start),end:o.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof i&&(i=i({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:e,view:o.viewApi})),i&&"popover"!==i?"string"==typeof i&&o.calendarApi.zoomTo(a,i):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return(0,s.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return c(vr.Consumer,null,(function(r){var o=r.viewApi,i=r.options,a=r.calendarApi,s=i.moreLinkText,l=t.moreCnt,u=Zi(t),f="function"==typeof s?s.call(a,l):"+"+l+" "+s,p=j(i.moreLinkHint,[l],f),h={num:l,shortText:"+"+l,text:f,view:o};return c(d,null,Boolean(t.moreCnt)&&c(xr,{elRef:e.linkElRef,hookProps:h,classNames:i.moreLinkClassNames,content:i.moreLinkContent,defaultContent:t.defaultContent||Gi,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},(function(r,o,i,a){return t.children(r,["fc-more-link"].concat(o),i,a,e.handleClick,p,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")})),n.isPopoverOpen&&c(ji,{id:n.popoverId,startDate:u.start,endDate:u.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef.current,alignGridTop:t.alignGridTop,onClose:e.handlePopoverClose},t.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=v(this.linkElRef.current,".fc-view-harness"))},t}(Cr);function Gi(e){return e.text}function Zi(e){if(e.allDayDate)return{start:e.allDayDate,end:J(e.allDayDate,1)};var t,n=e.hiddenSegs;return{start:Xi(n),end:(t=n,t.reduce(Ki).eventRange.range.end)}}function Xi(e){return e.reduce(Ji).eventRange.range.start}function Ji(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function Ki(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}},1101:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>k});var r=n(32277),o=n(57073);
|
|
8
|
+
/*!
|
|
9
|
+
FullCalendar v5.10.1
|
|
10
|
+
Docs & License: https://fullcalendar.io/
|
|
11
|
+
(c) 2021 Adam Shaw
|
|
12
|
+
*/
|
|
13
|
+
r.vc.touchMouseIgnoreWait=500;var i=0,a=0,s=!1,l=function(){function e(e){var t=this;this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){if(!t.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&t.tryStart(e)){var n=t.createEventFromMouse(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n),t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove),document.addEventListener("mouseup",t.handleMouseUp)}},this.handleMouseMove=function(e){var n=t.createEventFromMouse(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",t.handleMouseMove),document.removeEventListener("mouseup",t.handleMouseUp),t.emitter.trigger("pointerup",t.createEventFromMouse(e)),t.cleanup()},this.handleTouchStart=function(e){if(t.tryStart(e)){t.isTouchDragging=!0;var n=t.createEventFromTouch(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n);var r=e.target;t.shouldIgnoreMove||r.addEventListener("touchmove",t.handleTouchMove),r.addEventListener("touchend",t.handleTouchEnd),r.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var n=t.createEventFromTouch(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(e){if(t.isDragging){var n=e.target;n.removeEventListener("touchmove",t.handleTouchMove),n.removeEventListener("touchend",t.handleTouchEnd),n.removeEventListener("touchcancel",t.handleTouchEnd),window.removeEventListener("scroll",t.handleTouchScroll,!0),t.emitter.trigger("pointerup",t.createEventFromTouch(e)),t.cleanup(),t.isTouchDragging=!1,i+=1,setTimeout((function(){i-=1}),r.vc.touchMouseIgnoreWait)}},this.handleTouchScroll=function(){t.wasTouchScroll=!0},this.handleScroll=function(e){if(!t.shouldIgnoreMove){var n=window.pageXOffset-t.prevScrollX+t.prevPageX,r=window.pageYOffset-t.prevScrollY+t.prevPageY;t.emitter.trigger("pointermove",{origEvent:e,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:n,pageY:r,deltaX:n-t.origPageX,deltaY:r-t.origPageY})}},this.containerEl=e,this.emitter=new r.Q5$,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(a+=1)&&window.addEventListener("touchmove",c,{passive:!1})}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(a-=1)||window.removeEventListener("touchmove",c,{passive:!1})},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!(0,r.x_n)(n,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)},e.prototype.cleanup=function(){s=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()},e.prototype.querySubjectEl=function(e){return this.selector?(0,r.x_n)(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return i||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(s=!0)},e.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},e.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},e.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},e.prototype.createEventFromMouse=function(e,t){var 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}},e.prototype.createEventFromTouch=function(e,t){var n,r,o=e.touches,i=0,a=0;return o&&o.length?(n=o[0].pageX,r=o[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(i=n-this.origPageX,a=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:i,deltaY:a}},e}();function c(e){s&&e.preventDefault()}var u=function(){function e(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return e.prototype.start=function(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()},e.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},e.prototype.setIsVisible=function(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)},e.prototype.stop=function(e,t){var n=this,r=function(){n.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)},e.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,o=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",(0,r.bg6)(n,{left:o.left,top:o.top}),(0,r.ONu)(n,(function(){n.style.transition="",e()}))},e.prototype.cleanup=function(){this.mirrorEl&&((0,r.bXf)(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&(0,r.bg6)(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},e.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),t.classList.add("fc-event-dragging"),(0,r.bg6)(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},e}(),d=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(r.Qgo),f=function(e){function t(t,n){return e.call(this,new r.A9I(t),n)||this}return(0,o.ZT)(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return(0,r.skW)(this.scrollController.el)},t}(d),p=function(e){function t(t){return e.call(this,new r.Obu,t)||this}return(0,o.ZT)(t,e),t.prototype.getEventTarget=function(){return window},t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(d),h="function"==typeof performance?performance.now:Date.now,A=function(){function e(){var e=this;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=function(){if(e.isAnimating){var t=e.computeBestEdge(e.pointerScreenX+window.pageXOffset,e.pointerScreenY+window.pageYOffset);if(t){var n=h();e.handleSide(t,(n-e.msSinceRequest)/1e3),e.requestAnimation(n)}else e.isAnimating=!1}}}return e.prototype.start=function(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))},e.prototype.handleMove=function(e,t){if(this.isEnabled){var n=e-window.pageXOffset,r=t-window.pageYOffset,o=null===this.pointerScreenY?0:r-this.pointerScreenY,i=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),i<0?this.everMovedLeft=!0:i>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(h()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}this.scrollCaches=null}},e.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},e.prototype.handleSide=function(e,t){var n=e.scrollCache,r=this.edgeThreshold,o=r-e.distance,i=o*o/(r*r)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+i*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+i*a)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,o=0,i=this.scrollCaches;o<i.length;o++){var a=i[o],s=a.clientRect,l=e-s.left,c=s.right-e,u=t-s.top,d=s.bottom-t;l>=0&&c>=0&&u>=0&&d>=0&&(u<=n&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"top",distance:u}),d<=n&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"bottom",distance:d}),l<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>l)&&(r={scrollCache:a,name:"left",distance:l}),c<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>c)&&(r={scrollCache:a,name:"right",distance:c}))}return r},e.prototype.buildCaches=function(e){return this.queryScrollEls(e).map((function(e){return e===window?new p(!1):new f(e,!1)}))},e.prototype.queryScrollEls=function(e){for(var t=[],n=0,o=this.scrollQuery;n<o.length;n++){var i=o[n];"object"==typeof i?t.push(i):t.push.apply(t,Array.prototype.slice.call((0,r.xSu)(e).querySelectorAll(i)))}return t},e}(),g=function(e){function t(t,n){var o=e.call(this,t)||this;o.containerEl=t,o.delay=null,o.minDistance=0,o.touchScrollAllowed=!0,o.mirrorNeedsRevert=!1,o.isInteracting=!1,o.isDragging=!1,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,o.delayTimeoutId=null,o.onPointerDown=function(e){o.isDragging||(o.isInteracting=!0,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,(0,r.ZSf)(document.body),(0,r.ipI)(document.body),e.isTouch||e.origEvent.preventDefault(),o.emitter.trigger("pointerdown",e),o.isInteracting&&!o.pointer.shouldIgnoreMove&&(o.mirror.setIsVisible(!1),o.mirror.start(e.subjectEl,e.pageX,e.pageY),o.startDelay(e),o.minDistance||o.handleDistanceSurpassed(e)))},o.onPointerMove=function(e){if(o.isInteracting){if(o.emitter.trigger("pointermove",e),!o.isDistanceSurpassed){var t=o.minDistance,n=e.deltaX,r=e.deltaY;n*n+r*r>=t*t&&o.handleDistanceSurpassed(e)}o.isDragging&&("scroll"!==e.origEvent.type&&(o.mirror.handleMove(e.pageX,e.pageY),o.autoScroller.handleMove(e.pageX,e.pageY)),o.emitter.trigger("dragmove",e))}},o.onPointerUp=function(e){o.isInteracting&&(o.isInteracting=!1,(0,r.sGN)(document.body),(0,r.N0T)(document.body),o.emitter.trigger("pointerup",e),o.isDragging&&(o.autoScroller.stop(),o.tryStopDrag(e)),o.delayTimeoutId&&(clearTimeout(o.delayTimeoutId),o.delayTimeoutId=null))};var i=o.pointer=new l(t);return i.emitter.on("pointerdown",o.onPointerDown),i.emitter.on("pointermove",o.onPointerMove),i.emitter.on("pointerup",o.onPointerUp),n&&(i.selector=n),o.mirror=new u,o.autoScroller=new A,o}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},t.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=function(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()))},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},t}(r.KDF),v=function(){function e(e){this.origRect=(0,r.AYo)(e),this.scrollCaches=(0,r.U4g)(e).map((function(e){return new f(e,!0)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}},e.prototype.computeLeft=function(){for(var e=this.origRect.left,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollLeft-r.getScrollLeft()}return e},e.prototype.computeTop=function(){for(var e=this.origRect.top,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollTop-r.getScrollTop()}return e},e.prototype.isWithinClipping=function(e,t){for(var n,o,i={left:e,top:t},a=0,s=this.scrollCaches;a<s.length;a++){var l=s[a];if(n=l.getEventTarget(),o=void 0,"HTML"!==(o=n.tagName)&&"BODY"!==o&&!(0,r.BKI)(i,l.clientRect))return!1}return!0},e}();var m=function(){function e(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 r.Q5$}return e.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},o=n,i=e.subjectEl;i instanceof HTMLElement&&(t=(0,r.AYo)(i),o=(0,r.Jq9)(o,t));var a=this.initialHit=this.queryHitForOffset(o.left,o.top);if(a){if(this.useSubjectCenter&&t){var s=(0,r.VEA)(t,a.rect);s&&(o=(0,r.iFU)(s))}this.coordAdjust=(0,r.vrY)(o,n)}else this.coordAdjust={left:0,top:0}},e.prototype.handleMove=function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&y(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){this.offsetTrackers=(0,r._aR)(this.droppableStore,(function(e){return e.component.prepareHits(),new v(e.el)}))},e.prototype.releaseHits=function(){var e=this.offsetTrackers;for(var t in e)e[t].destroy();this.offsetTrackers={}},e.prototype.queryHitForOffset=function(e,t){var n=this.droppableStore,o=this.offsetTrackers,i=null;for(var a in n){var s=n[a].component,l=o[a];if(l&&l.isWithinClipping(e,t)){var c=l.computeLeft(),u=l.computeTop(),d=e-c,f=t-u,p=l.origRect,h=p.right-p.left,A=p.bottom-p.top;if(d>=0&&d<h&&f>=0&&f<A){var g=s.queryHit(d,f,h,A);g&&(0,r.urV)(g.dateProfile.activeRange,g.dateSpan.range)&&(!i||g.layer>i.layer)&&(g.componentId=a,g.context=s.context,g.rect.left+=c,g.rect.right+=c,g.rect.top+=u,g.rect.bottom+=u,i=g)}}}return i},e}();function y(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&(0,r.omy)(e.dateSpan,t.dateSpan)}function C(e,t){for(var n,r,i={},a=0,s=t.pluginHooks.datePointTransforms;a<s.length;a++){var l=s[a];(0,o.pi)(i,l(e,t))}return(0,o.pi)(i,(n=e,{date:(r=t.dateEnv).toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),i}var E=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging,r=e.origEvent.target;t.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,i=r.initialHit,a=r.finalHit;if(i&&a&&y(i,a)){var s=t.context,l=(0,o.pi)((0,o.pi)({},C(i.dateSpan,s)),{dayEl:i.dayEl,jsEvent:e.origEvent,view:s.viewApi||s.calendarApi.view});s.emitter.trigger("dateClick",l)}}},n.dragging=new g(t.el),n.dragging.autoScroller.isEnabled=!1;var i=n.hitDragging=new m(n.dragging,(0,r.Rac)(t));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragend",n.handleDragEnd),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.U4m),b=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t=n,r=t.component,o=t.dragging,i=r.context.options.selectable&&r.isValidDateDownEl(e.origEvent.target);o.setIgnoreMove(!i),o.delay=e.isTouch?function(e){var t=e.context.options,n=t.selectLongPressDelay;null==n&&(n=t.longPressDelay);return n}(r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var i=n.component.context,a=null,s=!1;if(e){var l=n.hitDragging.initialHit;e.componentId===l.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(l,e)||(a=function(e,t,n){var i=e.dateSpan,a=t.dateSpan,s=[i.range.start,i.range.end,a.range.start,a.range.end];s.sort(r.z6t);for(var l={},c=0,u=n;c<u.length;c++){var d=(0,u[c])(e,t);if(!1===d)return null;d&&(0,o.pi)(l,d)}return l.range={start:s[0],end:s[3]},l.allDay=i.allDay,l}(l,e,i.pluginHooks.dateSelectionTransformers)),a&&(0,r.g4F)(a,e.dateProfile,i)||(s=!0,a=null)}a?i.dispatch({type:"SELECT_DATES",selection:a}):t||i.dispatch({type:"UNSELECT_DATES"}),s?(0,r.deF)():(0,r._OJ)(),t||(n.dragSelection=a)},n.handlePointerUp=function(e){n.dragSelection&&((0,r.HpC)(n.dragSelection,e,n.component.context),n.dragSelection=null)};var i=t.component.context.options,a=n.dragging=new g(t.el);a.touchScrollAllowed=!1,a.minDistance=i.selectMinDistance||0,a.autoScroller.isEnabled=i.dragScroll;var s=n.hitDragging=new m(n.dragging,(0,r.Rac)(t));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("pointerup",n.handlePointerUp),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(r.U4m);var w=function(e){function t(n){var i=e.call(this,n)||this;i.subjectEl=null,i.subjectSeg=null,i.isDragging=!1,i.eventRange=null,i.relevantEvents=null,i.receivingContext=null,i.validMutation=null,i.mutatedRelevantEvents=null,i.handlePointerDown=function(e){var t=e.origEvent.target,n=i,o=n.component,a=n.dragging,s=a.mirror,l=o.context.options,c=o.context;i.subjectEl=e.subjectEl;var u=i.subjectSeg=(0,r.BJe)(e.subjectEl),d=(i.eventRange=u.eventRange).instance.instanceId;i.relevantEvents=(0,r.SOE)(c.getCurrentData().eventStore,d),a.minDistance=e.isTouch?0:l.eventDragMinDistance,a.delay=e.isTouch&&d!==o.props.eventSelection?function(e){var t=e.context.options,n=t.eventLongPressDelay;null==n&&(n=t.longPressDelay);return n}(o):null,l.fixedMirrorParent?s.parentNode=l.fixedMirrorParent:s.parentNode=(0,r.x_n)(t,".fc"),s.revertDuration=l.dragRevertDuration;var f=o.isValidSegDownEl(t)&&!(0,r.x_n)(t,".fc-event-resizer");a.setIgnoreMove(!f),i.isDragging=f&&e.subjectEl.classList.contains("fc-event-draggable")},i.handleDragStart=function(e){var t=i.component.context,n=i.eventRange,o=n.instance.instanceId;e.isTouch?o!==i.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:o}):t.dispatch({type:"UNSELECT_EVENT"}),i.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:i.subjectEl,event:new r.voO(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},i.handleHitUpdate=function(e,t){if(i.isDragging){var n=i.relevantEvents,o=i.hitDragging.initialHit,a=i.component.context,s=null,l=null,c=null,u=!1,d={affectedEvents:n,mutatedEvents:(0,r.ifx)(),isEvent:!0};if(e){var f=(s=e.context).options;a===s||f.editable&&f.droppable?(l=function(e,t,n){var o=e.dateSpan,i=t.dateSpan,a=o.range.start,s=i.range.start,l={};o.allDay!==i.allDay&&(l.allDay=i.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,i.allDay&&(a=(0,r.b7Q)(a)));var c=(0,r.Pe9)(a,s,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);c.milliseconds&&(l.allDay=!1);for(var u={datesDelta:c,standardProps:l},d=0,f=n;d<f.length;d++){(0,f[d])(u,e,t)}return u}(o,e,s.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(c=(0,r.rfG)(n,s.getCurrentData().eventUiBases,l,s),d.mutatedEvents=c,(0,r.WoG)(d,e.dateProfile,s)||(u=!0,l=null,c=null,d.mutatedEvents=(0,r.ifx)())):s=null}i.displayDrag(s,d),u?(0,r.deF)():(0,r._OJ)(),t||(a===s&&y(o,e)&&(l=null),i.dragging.setMirrorNeedsRevert(!l),i.dragging.setMirrorIsVisible(!e||!(0,r.xSu)(i.subjectEl).querySelector(".fc-event-mirror")),i.receivingContext=s,i.validMutation=l,i.mutatedRelevantEvents=c)}},i.handlePointerUp=function(){i.isDragging||i.cleanup()},i.handleDragEnd=function(e){if(i.isDragging){var t=i.component.context,n=t.viewApi,a=i,s=a.receivingContext,l=a.validMutation,c=i.eventRange.def,u=i.eventRange.instance,d=new r.voO(t,c,u),f=i.relevantEvents,p=i.mutatedRelevantEvents,h=i.hitDragging.finalHit;if(i.clearDrag(),t.emitter.trigger("eventDragStop",{el:i.subjectEl,event:d,jsEvent:e.origEvent,view:n}),l){if(s===t){var A=new r.voO(t,p.defs[c.defId],u?p.instances[u.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:p});for(var g={oldEvent:d,event:A,relatedEvents:(0,r.vuT)(p,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:f})}},v={},m=0,y=t.getCurrentData().pluginHooks.eventDropTransformers;m<y.length;m++){var E=y[m];(0,o.pi)(v,E(l,t))}t.emitter.trigger("eventDrop",(0,o.pi)((0,o.pi)((0,o.pi)({},g),v),{el:e.subjectEl,delta:l.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",g)}else if(s){var b={event:d,relatedEvents:(0,r.vuT)(f,t,u),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:f})}};t.emitter.trigger("eventLeave",(0,o.pi)((0,o.pi)({},b),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:f}),t.emitter.trigger("eventRemove",b);var w=p.defs[c.defId],D=p.instances[u.instanceId],S=new r.voO(s,w,D);s.dispatch({type:"MERGE_EVENTS",eventStore:p});var B={event:S,relatedEvents:(0,r.vuT)(p,s,D),revert:function(){s.dispatch({type:"REMOVE_EVENTS",eventStore:p})}};s.emitter.trigger("eventAdd",B),e.isTouch&&s.dispatch({type:"SELECT_EVENT",eventInstanceId:u.instanceId}),s.emitter.trigger("drop",(0,o.pi)((0,o.pi)({},C(h.dateSpan,s)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:h.context.viewApi})),s.emitter.trigger("eventReceive",(0,o.pi)((0,o.pi)({},B),{draggedEl:e.subjectEl,view:h.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}i.cleanup()};var a=i.component.context.options,s=i.dragging=new g(n.el);s.pointer.selector=t.SELECTOR,s.touchScrollAllowed=!1,s.autoScroller.isEnabled=a.dragScroll;var l=i.hitDragging=new m(i.dragging,r.T6u);return l.useSubjectCenter=n.useEventCenter,l.emitter.on("pointerdown",i.handlePointerDown),l.emitter.on("dragstart",i.handleDragStart),l.emitter.on("hitupdate",i.handleHitUpdate),l.emitter.on("pointerup",i.handlePointerUp),l.emitter.on("dragend",i.handleDragEnd),i}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,t){var n=this.component.context,o=this.receivingContext;o&&o!==e&&(o===n?o.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:(0,r.ifx)(),isEvent:!0}}):o.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},t.prototype.clearDrag=function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},t.SELECTOR=".fc-event-draggable, .fc-event-resizable",t}(r.U4m);var D=function(e){function t(t){var n=e.call(this,t)||this;n.draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=n.component,o=n.querySegEl(e),i=(0,r.BJe)(o),a=n.eventRange=i.eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==a.instance.instanceId)},n.handleDragStart=function(e){var t=n.component.context,o=n.eventRange;n.relevantEvents=(0,r.SOE)(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var i=n.querySegEl(e);n.draggingSegEl=i,n.draggingSeg=(0,r.BJe)(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new r.voO(t,o.def,o.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,o){var i=n.component.context,a=n.relevantEvents,s=n.hitDragging.initialHit,l=n.eventRange.instance,c=null,u=null,d=!1,f={affectedEvents:a,mutatedEvents:(0,r.ifx)(),isEvent:!0};e&&(e.componentId===s.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(s,e)||(c=function(e,t,n,o){var i=e.context.dateEnv,a=e.dateSpan.range.start,s=t.dateSpan.range.start,l=(0,r.Pe9)(a,s,i,e.largeUnit);if(n){if(i.add(o.start,l)<o.end)return{startDelta:l}}else if(i.add(o.end,l)>o.start)return{endDelta:l};return null}(s,e,o.subjectEl.classList.contains("fc-event-resizer-start"),l.range)));c&&(u=(0,r.rfG)(a,i.getCurrentData().eventUiBases,c,i),f.mutatedEvents=u,(0,r.WoG)(f,e.dateProfile,i)||(d=!0,c=null,u=null,f.mutatedEvents=null)),u?i.dispatch({type:"SET_EVENT_RESIZE",state:f}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),d?(0,r.deF)():(0,r._OJ)(),t||(c&&y(s,e)&&(c=null),n.validMutation=c,n.mutatedRelevantEvents=u)},n.handleDragEnd=function(e){var t=n.component.context,i=n.eventRange.def,a=n.eventRange.instance,s=new r.voO(t,i,a),l=n.relevantEvents,c=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:s,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var u=new r.voO(t,c.defs[i.defId],a?c.instances[a.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:c});var d={oldEvent:s,event:u,relatedEvents:(0,r.vuT)(c,t,a),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}};t.emitter.trigger("eventResize",(0,o.pi)((0,o.pi)({},d),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||(0,r.Pvs)(0),endDelta:n.validMutation.endDelta||(0,r.Pvs)(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",d)}else t.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var i=t.component,a=n.dragging=new g(t.el);a.pointer.selector=".fc-event-resizer",a.touchScrollAllowed=!1,a.autoScroller.isEnabled=i.context.options.dragScroll;var s=n.hitDragging=new m(n.dragging,(0,r.Rac)(t));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("dragend",n.handleDragEnd),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return(0,r.x_n)(e.subjectEl,".fc-event")},t}(r.U4m);var S=function(){function e(e){var t=this;this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(t.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var n=t.context.options.unselectCancel,o=(0,r._zt)(e.origEvent);t.matchesCancel=!!(0,r.x_n)(o,n),t.matchesEvent=!!(0,r.x_n)(o,w.SELECTOR)},this.onDocumentPointerUp=function(e){var n=t.context,r=t.documentPointer,o=n.getCurrentData();if(!r.wasTouchScroll){if(o.dateSelection&&!t.isRecentPointerDateSelect){var i=n.options.unselectAuto;!i||i&&t.matchesCancel||n.calendarApi.unselect(e)}o.eventSelection&&!t.matchesEvent&&n.dispatch({type:"UNSELECT_EVENT"})}t.isRecentPointerDateSelect=!1};var n=this.documentPointer=new l(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}return e.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},e}(),B={fixedMirrorParent:r.yRu},I={dateClick:r.yRu,eventDragStart:r.yRu,eventDragStop:r.yRu,eventDrop:r.yRu,eventResizeStart:r.yRu,eventResizeStop:r.yRu,eventResize:r.yRu,drop:r.yRu,eventReceive:r.yRu,eventLeave:r.yRu},R=function(){function e(e,t){var n=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){n.dragMeta=n.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,t,i){var a=n.hitDragging.dragging,s=null,l=null,c=!1,u={affectedEvents:(0,r.ifx)(),mutatedEvents:(0,r.ifx)(),isEvent:n.dragMeta.create};e&&(s=e.context,n.canDropElOnCalendar(i.subjectEl,s)&&(l=function(e,t,n){for(var i=(0,o.pi)({},t.leftoverProps),a=0,s=n.pluginHooks.externalDefTransforms;a<s.length;a++){var l=s[a];(0,o.pi)(i,l(e,t))}var c=(0,r.Boe)(i,n),u=c.refined,d=c.extra,f=(0,r.mTn)(u,d,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),p=e.range.start;e.allDay&&t.startTime&&(p=n.dateEnv.add(p,t.startTime));var h=t.duration?n.dateEnv.add(p,t.duration):(0,r.$Td)(e.allDay,p,n),A=(0,r.$N4)(f.defId,{start:p,end:h});return{def:f,instance:A}}(e.dateSpan,n.dragMeta,s),u.mutatedEvents=(0,r.rod)(l),(c=!(0,r.WoG)(u,e.dateProfile,s))&&(u.mutatedEvents=(0,r.ifx)(),l=null))),n.displayDrag(s,u),a.setMirrorIsVisible(t||!l||!document.querySelector(".fc-event-mirror")),c?(0,r.deF)():(0,r._OJ)(),t||(a.setMirrorNeedsRevert(!l),n.receivingContext=s,n.droppableEvent=l)},this.handleDragEnd=function(e){var t=n,i=t.receivingContext,a=t.droppableEvent;if(n.clearDrag(),i&&a){var s=n.hitDragging.finalHit,l=s.context.viewApi,c=n.dragMeta;if(i.emitter.trigger("drop",(0,o.pi)((0,o.pi)({},C(s.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:l})),c.create){var u=(0,r.rod)(a);i.dispatch({type:"MERGE_EVENTS",eventStore:u}),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:a.instance.instanceId}),i.emitter.trigger("eventReceive",{event:new r.voO(i,a.def,a.instance),relatedEvents:[],revert:function(){i.dispatch({type:"REMOVE_EVENTS",eventStore:u})},draggedEl:e.subjectEl,view:l})}}n.receivingContext=null,n.droppableEvent=null};var i=this.hitDragging=new m(e,r.T6u);i.requireInitial=!1,i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}return e.prototype.buildDragMeta=function(e){return"object"==typeof this.suppliedDragMeta?(0,r.WOi)(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?(0,r.WOi)(this.suppliedDragMeta(e)):(t=function(e,t){var n=r.vc.dataAttrPrefix,o=(n?n+"-":"")+t;return e.getAttribute("data-"+o)||""}(e,"event"),n=t?JSON.parse(t):{create:!1},(0,r.WOi)(n));var t,n},e.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})},e.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},e.prototype.canDropElOnCalendar=function(e,t){var n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean((0,r.App)(e,n))},e}();r.vc.dataAttrPrefix="";!function(){function e(e,t){var n=this;void 0===t&&(t={}),this.handlePointerDown=function(e){var t=n.dragging,o=n.settings,i=o.minDistance,a=o.longPressDelay;t.minDistance=null!=i?i:e.isTouch?0:r.kgr.eventDragMinDistance,t.delay=e.isTouch?null!=a?a:r.kgr.longPressDelay:0},this.handleDragStart=function(e){e.isTouch&&n.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&n.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t;var o=this.dragging=new g(e);o.touchScrollAllowed=!1,null!=t.itemSelector&&(o.pointer.selector=t.itemSelector),null!=t.appendTo&&(o.mirror.parentNode=t.appendTo),o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),new R(o,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();var x=function(e){function t(t){var n=e.call(this,t)||this;n.shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(e){n.emitter.trigger("pointerdown",e),n.shouldIgnoreMove||n.emitter.trigger("dragstart",e)},n.handlePointerMove=function(e){n.shouldIgnoreMove||n.emitter.trigger("dragmove",e)},n.handlePointerUp=function(e){n.emitter.trigger("pointerup",e),n.shouldIgnoreMove||n.emitter.trigger("dragend",e)};var r=n.pointer=new l(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return(0,o.ZT)(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}},t}(r.KDF);!function(){function e(e,t){var n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};var r=this.dragging=new x(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 R(r,t.eventData)}e.prototype.destroy=function(){this.dragging.destroy()}}();const k=(0,r.rxu)({componentInteractions:[E,b,w,D],calendarInteractions:[S],elementDraggingImpl:g,optionRefiners:B,listenerRefiners:I})},61486:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(32277),o="2021-11-03",i=["GPL-My-Project-Is-Open-Source","CC-Attribution-NonCommercial-NoDerivatives"],a={position:"absolute",zIndex:99999,bottom:"1px",left:"1px",background:"#eee",borderColor:"#ddd",borderStyle:"solid",borderWidth:"1px 1px 0 0",padding:"2px 4px",fontSize:"12px",borderTopRightRadius:"3px"};
|
|
14
|
+
/*!
|
|
15
|
+
FullCalendar Scheduler v5.10.1
|
|
16
|
+
Docs & License: https://fullcalendar.io/scheduler
|
|
17
|
+
(c) 2021 Adam Shaw
|
|
18
|
+
*/var s={schedulerLicenseKey:String};const l=(0,r.rxu)({optionRefiners:s,viewContainerAppends:[function(e){var t=e.options.schedulerLicenseKey,n="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(n)){var s=function(e){if(-1!==i.indexOf(e))return"valid";var t=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(t&&10===t[1].length){var n=new Date(1e3*parseInt(t[2],10)),a=new Date(r.vc.mockSchedulerReleaseDate||o);if((0,r.qbb)(a))return(0,r.E4D)(a,-372)<n?"valid":"outdated"}return"invalid"}(t);if("valid"!==s)return(0,r.azq)("div",{className:"fc-license-message",style:a},"outdated"===s?(0,r.azq)(r.HYg,null,"Your license key is too old to work with this version. ",(0,r.azq)("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):(0,r.azq)(r.HYg,null,"Your license key is invalid. ",(0,r.azq)("a",{href:"http://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]})},92668:(e,t,n)=>{"use strict";n.d(t,{ZPm:()=>s});var r=n(57073),o=n(1024),i=n(30314);("undefined"!=typeof globalThis?globalThis:window).FullCalendarVDom={Component:o.Component,createElement:o.createElement,render:i.render,createRef:o.createRef,Fragment:o.Fragment,createContext:o.createContext,createPortal:i.createPortal,flushToDom:function(){},unmountComponentAtNode:i.unmountComponentAtNode};var a=n(32277);const s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._calendarApi=new a.zeW,t}return(0,r.ZT)(t,e),t.prototype.render=function(){return o.createElement(a.n1v,{optionOverrides:this.props,calendarApi:this._calendarApi},(function(e){return o.createElement(a.Tdg,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,i,s){return o.createElement("div",{className:t.join(" "),style:{height:n}},o.createElement(a.BdM,(0,r.pi)({isHeightAuto:i,forPrint:s},e)))}))}))},t.prototype.getApi=function(){return this._calendarApi},t}(o.Component)},66233:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>Bt});var r=n(93379),o=n.n(r),i=n(88934),a={insert:"head",singleton:!1};o()(i.Z,a);i.Z.locals;var s=n(32277),l=n(61486),c=n(61280),u={insert:"head",singleton:!1};o()(c.Z,u);c.Z.locals;var d,f=n(57073),p="wheel mousewheel DomMouseScroll MozMousePixelScroll".split(" "),h=function(){function e(e){var t=this;this.el=e,this.emitter=new s.Q5$,this.isScrolling=!1,this.isTouching=!1,this.isRecentlyWheeled=!1,this.isRecentlyScrolled=!1,this.wheelWaiter=new s.snJ(this._handleWheelWaited.bind(this)),this.scrollWaiter=new s.snJ(this._handleScrollWaited.bind(this)),this.handleScroll=function(){t.startScroll(),t.emitter.trigger("scroll",t.isRecentlyWheeled,t.isTouching),t.isRecentlyScrolled=!0,t.scrollWaiter.request(500)},this.handleWheel=function(){t.isRecentlyWheeled=!0,t.wheelWaiter.request(500)},this.handleTouchStart=function(){t.isTouching=!0},this.handleTouchEnd=function(){t.isTouching=!1,t.isRecentlyScrolled||t.endScroll()},e.addEventListener("scroll",this.handleScroll),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.addEventListener("touchend",this.handleTouchEnd);for(var n=0,r=p;n<r.length;n++){var o=r[n];e.addEventListener(o,this.handleWheel)}}return e.prototype.destroy=function(){var e=this.el;e.removeEventListener("scroll",this.handleScroll),e.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),e.removeEventListener("touchend",this.handleTouchEnd);for(var t=0,n=p;t<n.length;t++){var r=n[t];e.removeEventListener(r,this.handleWheel)}},e.prototype.startScroll=function(){this.isScrolling||(this.isScrolling=!0,this.emitter.trigger("scrollStart",this.isRecentlyWheeled,this.isTouching))},e.prototype.endScroll=function(){this.isScrolling&&(this.emitter.trigger("scrollEnd"),this.isScrolling=!1,this.isRecentlyScrolled=!0,this.isRecentlyWheeled=!1,this.scrollWaiter.clear(),this.wheelWaiter.clear())},e.prototype._handleScrollWaited=function(){this.isRecentlyScrolled=!1,this.isTouching||this.endScroll()},e.prototype._handleWheelWaited=function(){this.isRecentlyWheeled=!1},e}();function A(e){var t=e.scrollLeft;if("rtl"===window.getComputedStyle(e).direction)switch(v()){case"negative":t*=-1;case"reverse":t=e.scrollWidth-t-e.clientWidth}return t}function g(e,t){if("rtl"===window.getComputedStyle(e).direction)switch(v()){case"reverse":t=e.scrollWidth-t;break;case"negative":t=-(e.scrollWidth-t)}e.scrollLeft=t}function v(){return d||(d=function(){var e,t=document.createElement("div");t.style.position="absolute",t.style.top="-1000px",t.style.width="1px",t.style.height="1px",t.style.overflow="scroll",t.style.direction="rtl",t.style.fontSize="100px",t.innerHTML="A",document.body.appendChild(t),t.scrollLeft>0?e="positive":(t.scrollLeft=1,e=t.scrollLeft>0?"reverse":"negative");return(0,s.bXf)(t),e}())}var m,y="undefined"!=typeof navigator&&/Edge/.test(navigator.userAgent),C=function(){function e(e,t){var n=this;this.scrollEl=e,this.isRtl=t,this.usingRelative=null,this.updateSize=function(){var e=n.scrollEl,t=(0,s.xlG)(e,".fc-sticky"),r=n.queryElGeoms(t),o=e.clientWidth,i=e.clientHeight;n.usingRelative?function(e,t,n,r,o){e.forEach((function(e,i){var a,l,c=t[i],u=c.naturalBound,d=c.parentBound,f=d.right-d.left,p=d.bottom-d.bottom;f>r||p>o?(a=n[i].left-u.left,l=n[i].top-u.top):(a="",l=""),(0,s.bg6)(e,{position:"relative",left:a,right:-a,top:l})}))}(t,r,n.computeElDestinations(r,o),o,i):function(e,t,n){e.forEach((function(e,r){var o,i=t[r],a=i.textAlign,l=i.elWidth,c=i.parentBound,u=c.right-c.left;o="center"===a&&u>n?(n-l)/2:"",(0,s.bg6)(e,{left:o,right:o,top:0})}))}(t,r,o)},this.usingRelative=!function(){null==m&&(m=function(){var e=document.createElement("div");e.style.position="sticky",document.body.appendChild(e);var t=window.getComputedStyle(e).position;return(0,s.bXf)(e),"sticky"===t}());return m}()||y&&t,this.usingRelative&&(this.listener=new h(e),this.listener.emitter.on("scrollEnd",this.updateSize))}return e.prototype.destroy=function(){this.listener&&this.listener.destroy()},e.prototype.queryElGeoms=function(e){for(var t=this.scrollEl,n=this.isRtl,r=function(e){var t=e.getBoundingClientRect(),n=(0,s.ld2)(e);return{left:t.left+n.borderLeft+n.scrollbarLeft-A(e),top:t.top+n.borderTop-e.scrollTop}}(t),o=[],i=0,a=e;i<a.length;i++){var l=a[i],c=(0,s.sZq)((0,s.skW)(l.parentNode,!0,!0),-r.left,-r.top),u=l.getBoundingClientRect(),d=window.getComputedStyle(l),f=window.getComputedStyle(l.parentNode).textAlign,p=null;"start"===f?f=n?"right":"left":"end"===f&&(f=n?"left":"right"),"sticky"!==d.position&&(p=(0,s.sZq)(u,-r.left-(parseFloat(d.left)||0),-r.top-(parseFloat(d.top)||0))),o.push({parentBound:c,naturalBound:p,elWidth:u.width,elHeight:u.height,textAlign:f})}return o},e.prototype.computeElDestinations=function(e,t){var n=this.scrollEl,r=n.scrollTop,o=A(n),i=o+t;return e.map((function(e){var t,n,a=e.elWidth,s=e.elHeight,l=e.parentBound,c=e.naturalBound;switch(e.textAlign){case"left":t=o;break;case"right":t=i-a;break;case"center":t=(o+i)/2-a/2}return t=Math.min(t,l.right-a),t=Math.max(t,l.left),n=r,n=Math.min(n,l.bottom-s),{left:t,top:n=Math.max(n,c.top)}}))},e}();var E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=(0,s.VfA)(),t.state={xScrollbarWidth:0,yScrollbarWidth:0},t.handleScroller=function(e){t.scroller=e,(0,s.k$v)(t.props.scrollerRef,e)},t.handleSizing=function(){var e=t.props;"scroll-hidden"===e.overflowY&&t.setState({yScrollbarWidth:t.scroller.getYScrollbarWidth()}),"scroll-hidden"===e.overflowX&&t.setState({xScrollbarWidth:t.scroller.getXScrollbarWidth()})},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context.isRtl&&(0,s.qDX)(),o=0,i=0,a=0;return"scroll-hidden"===t.overflowX&&(a=n.xScrollbarWidth),"scroll-hidden"===t.overflowY&&null!=n.yScrollbarWidth&&(r?o=n.yScrollbarWidth:i=n.yScrollbarWidth),(0,s.azq)("div",{ref:this.elRef,className:"fc-scroller-harness"+(t.liquid?" fc-scroller-harness-liquid":"")},(0,s.azq)(s.Ttm,{ref:this.handleScroller,elRef:this.props.scrollerElRef,overflowX:"scroll-hidden"===t.overflowX?"scroll":t.overflowX,overflowY:"scroll-hidden"===t.overflowY?"scroll":t.overflowY,overcomeLeft:o,overcomeRight:i,overcomeBottom:a,maxHeight:"number"==typeof t.maxHeight?t.maxHeight+("scroll-hidden"===t.overflowX?n.xScrollbarWidth:0):"",liquid:t.liquid,liquidIsAbsolute:!0},t.children))},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(e){(0,s.S6v)(e,this.props)||this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.needsXScrolling=function(){return this.scroller.needsXScrolling()},t.prototype.needsYScrolling=function(){return this.scroller.needsYScrolling()},t}(s.H6J),b=function(){function e(e,t){var n=this;this.isVertical=e,this.scrollEls=t,this.isPaused=!1,this.scrollListeners=t.map((function(e){return n.bindScroller(e)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollListeners;e<t.length;e++){t[e].destroy()}},e.prototype.bindScroller=function(e){var t=this,n=this.scrollEls,r=this.isVertical,o=new h(e);return o.emitter.on("scroll",(function(o,i){if(!t.isPaused&&((!t.masterEl||t.masterEl!==e&&(o||i))&&t.assignMaster(e),t.masterEl===e))for(var a=0,s=n;a<s.length;a++){var l=s[a];l!==e&&(r?l.scrollTop=e.scrollTop:l.scrollLeft=e.scrollLeft)}})),o.emitter.on("scrollEnd",(function(){t.masterEl===e&&(t.masterEl=null)})),o},e.prototype.assignMaster=function(e){this.masterEl=e;for(var t=0,n=this.scrollListeners;t<n.length;t++){var r=n[t];r.el!==e&&r.endScroll()}},e.prototype.forceScrollLeft=function(e){this.isPaused=!0;for(var t=0,n=this.scrollListeners;t<n.length;t++){g(n[t].el,e)}this.isPaused=!1},e.prototype.forceScrollTop=function(e){this.isPaused=!0;for(var t=0,n=this.scrollListeners;t<n.length;t++){n[t].el.scrollTop=e}this.isPaused=!1},e}(),w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileColGroupStats=(0,s.ums)(I,k),t.renderMicroColGroups=(0,s.ums)(s.hgf),t.clippedScrollerRefs=new s.lAU,t.scrollerElRefs=new s.lAU(t._handleScrollerEl.bind(t)),t.chunkElRefs=new s.lAU(t._handleChunkEl.bind(t)),t.getStickyScrolling=(0,s.ums)(z,null,O),t.getScrollSyncersBySection=(0,s.E0)(T.bind(t,!0),null,M),t.getScrollSyncersByColumn=(0,s.E0)(T.bind(t,!1),null,M),t.stickyScrollings=[],t.scrollSyncersBySection={},t.scrollSyncersByColumn={},t.rowUnstableMap=new Map,t.rowInnerMaxHeightMap=new Map,t.anyRowHeightsChanged=!1,t.recentSizingCnt=0,t.state={shrinkWidths:[],forceYScrollbars:!1,forceXScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{},sectionRowMaxHeights:[]},t.handleSizing=function(e,n){if(t.allowSizing()){n||(t.anyRowHeightsChanged=!0);var r={};(e||!n&&!t.rowUnstableMap.size)&&(r.sectionRowMaxHeights=t.computeSectionRowMaxHeights()),t.setState((0,f.pi)((0,f.pi)({shrinkWidths:t.computeShrinkWidths()},t.computeScrollerDims()),r),(function(){t.rowUnstableMap.size||t.updateStickyScrolling()}))}},t.handleRowHeightChange=function(e,n){var r=t,o=r.rowUnstableMap,i=r.rowInnerMaxHeightMap;if(n){o.delete(e);var a=S(e);i.has(e)&&i.get(e)===a||(i.set(e,a),t.anyRowHeightsChanged=!0),!o.size&&t.anyRowHeightsChanged&&(t.anyRowHeightsChanged=!1,t.setState({sectionRowMaxHeights:t.computeSectionRowMaxHeights()}))}else o.set(e,!0)},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=n.shrinkWidths,i=this.compileColGroupStats(t.colGroups.map((function(e){return[e]}))),a=this.renderMicroColGroups(i.map((function(e,t){return[e.cols,o[t]]}))),l=(0,s.SR3)(t.liquid,r),c=this.getDims();c[0],c[1];for(var u,d=t.sections,p=d.length,h=0,A=[],g=[],v=[];h<p&&"header"===(u=d[h]).type;)A.push(this.renderSection(u,h,i,a,n.sectionRowMaxHeights,!0)),h+=1;for(;h<p&&"body"===(u=d[h]).type;)g.push(this.renderSection(u,h,i,a,n.sectionRowMaxHeights,!1)),h+=1;for(;h<p&&"footer"===(u=d[h]).type;)v.push(this.renderSection(u,h,i,a,n.sectionRowMaxHeights,!0)),h+=1;var m=!(0,s.X45)(),y={role:"rowgroup"};return(0,s.azq)("table",{ref:t.elRef,role:"grid",className:l.join(" ")},function(e,t){var n=e.map((function(e,n){var r=e.width;return"shrink"===r&&(r=e.totalColWidth+(0,s.fyp)(t[n])+1),(0,s.azq)("col",{style:{width:r}})}));return s.azq.apply(void 0,(0,f.ev)(["colgroup",{}],n))}(i,o),Boolean(!m&&A.length)&&s.azq.apply(void 0,(0,f.ev)(["thead",y],A)),Boolean(!m&&g.length)&&s.azq.apply(void 0,(0,f.ev)(["tbody",y],g)),Boolean(!m&&v.length)&&s.azq.apply(void 0,(0,f.ev)(["tfoot",y],v)),m&&s.azq.apply(void 0,(0,f.ev)((0,f.ev)((0,f.ev)(["tbody",y],A),g),v)))},t.prototype.renderSection=function(e,t,n,r,o,i){var a=this;return"outerContent"in e?(0,s.azq)(s.HYg,{key:e.key},e.outerContent):(0,s.azq)("tr",{key:e.key,role:"presentation",className:(0,s.PFj)(e,this.props.liquid).join(" ")},e.chunks.map((function(s,l){return a.renderChunk(e,t,n[l],r[l],s,l,(o[t]||[])[l]||[],i)})))},t.prototype.renderChunk=function(e,t,n,r,o,i,a,l){if("outerContent"in o)return(0,s.azq)(s.HYg,{key:o.key},o.outerContent);var c=this.state,u=c.scrollerClientWidths,d=c.scrollerClientHeights,f=this.getDims(),p=f[0],h=f[1],A=t*h+i,g=i===(!this.context.isRtl||(0,s.qDX)()?h-1:0),v=t===p-1,m=v&&c.forceXScrollbars,y=g&&c.forceYScrollbars,C=n&&n.allowXScrolling,b=(0,s.aDZ)(this.props,e),w=(0,s.VFE)(this.props,e),D=e.expandRows&&w,S=n&&n.totalColMinWidth||"",B=(0,s.Yvu)(e,o,{tableColGroupNode:r,tableMinWidth:S,clientWidth:void 0!==u[A]?u[A]:null,clientHeight:void 0!==d[A]?d[A]:null,expandRows:D,syncRowHeights:Boolean(e.syncRowHeights),rowSyncHeights:a,reportRowHeightChange:this.handleRowHeightChange},l),I=m?v?"scroll":"scroll-hidden":C?v?"auto":"scroll-hidden":"hidden",R=y?g?"scroll":"scroll-hidden":b?g?"auto":"scroll-hidden":"hidden";return B=(0,s.azq)(E,{ref:this.clippedScrollerRefs.createRef(A),scrollerElRef:this.scrollerElRefs.createRef(A),overflowX:I,overflowY:R,liquid:w,maxHeight:e.maxHeight},B),(0,s.azq)(l?"th":"td",{key:o.key,ref:this.chunkElRefs.createRef(A),role:"presentation"},B)},t.prototype.componentDidMount=function(){this.updateScrollSyncers(),this.handleSizing(!1),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(e,t){this.updateScrollSyncers(),this.handleSizing(!1,t.sectionRowMaxHeights!==this.state.sectionRowMaxHeights)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing),this.destroyStickyScrolling(),this.destroyScrollSyncers()},t.prototype.allowSizing=function(){var e=new Date;return!this.lastSizingDate||e.valueOf()>this.lastSizingDate.valueOf()+s.vc.SCROLLGRID_RESIZE_INTERVAL?(this.lastSizingDate=e,this.recentSizingCnt=0,!0):(this.recentSizingCnt+=1)<=10},t.prototype.computeShrinkWidths=function(){var e=this,t=this.compileColGroupStats(this.props.colGroups.map((function(e){return[e]}))),n=this.getDims(),r=n[0],o=n[1],i=r*o,a=[];return t.forEach((function(t,n){if(t.hasShrinkCol){var r=e.chunkElRefs.collect(n,i,o);a[n]=(0,s.VVk)(r)}})),a},t.prototype.computeSectionRowMaxHeights=function(){for(var e=new Map,t=this.getDims(),n=t[0],r=t[1],o=[],i=0;i<n;i+=1){var a=this.props.sections[i],l=[];if(a&&a.syncRowHeights){for(var c=[],u=0;u<r;u+=1){var d=i*r+u,f=[],p=this.chunkElRefs.currentMap[d];f=p?(0,s.xlG)(p,".fc-scrollgrid-sync-table tr").map((function(t){var n=S(t);return e.set(t,n),n})):[],c.push(f)}var h=c[0].length,A=!0;for(u=1;u<r;u+=1){if(!(a.chunks[u]&&void 0!==a.chunks[u].outerContent)&&c[u].length!==h){A=!1;break}}if(A){for(u=0;u<r;u+=1)l.push([]);for(E=0;E<h;E+=1){var g=[];for(u=0;u<r;u+=1){var v=c[u][E];null!=v&&g.push(v)}var m=Math.max.apply(Math,g);for(u=0;u<r;u+=1)l[u].push(m)}}else{for(var y=[],u=0;u<r;u+=1)y.push(D(c[u])+c[u].length);for(var C=Math.max.apply(Math,y),u=0;u<r;u+=1){var E,b=c[u].length,w=C-b,B=Math.floor(w/b),I=w-B*(b-1),R=[];for((E=0)<b&&(R.push(I),E+=1);E<b;)R.push(B),E+=1;l.push(R)}}}o.push(l)}return this.rowInnerMaxHeightMap=e,o},t.prototype.computeScrollerDims=function(){for(var e=(0,s.ewu)(),t=this.getDims(),n=t[0],r=t[1],o=!this.context.isRtl||(0,s.qDX)()?r-1:0,i=n-1,a=this.clippedScrollerRefs.currentMap,l=this.scrollerElRefs.currentMap,c=!1,u=!1,d={},f={},p=0;p<n;p+=1){if((A=a[g=p*r+o])&&A.needsYScrolling()){c=!0;break}}for(var h=0;h<r;h+=1){var A;if((A=a[g=i*r+h])&&A.needsXScrolling()){u=!0;break}}for(p=0;p<n;p+=1)for(h=0;h<r;h+=1){var g,v=l[g=p*r+h];if(v){var m=v.parentNode;d[g]=Math.floor(m.getBoundingClientRect().width-(h===o&&c?e.y:0)),f[g]=Math.floor(m.getBoundingClientRect().height-(p===i&&u?e.x:0))}}return{forceYScrollbars:c,forceXScrollbars:u,scrollerClientWidths:d,scrollerClientHeights:f}},t.prototype.updateStickyScrolling=function(){var e=this.context.isRtl,t=this.scrollerElRefs.getAll().map((function(t){return[t,e]})),n=this.getStickyScrolling(t);n.forEach((function(e){return e.updateSize()})),this.stickyScrollings=n},t.prototype.destroyStickyScrolling=function(){this.stickyScrollings.forEach(O)},t.prototype.updateScrollSyncers=function(){for(var e=this.getDims(),t=e[0],n=e[1],r=t*n,o={},i={},a=this.scrollerElRefs.currentMap,l=0;l<t;l+=1){var c=l*n,u=c+n;o[l]=(0,s.uPw)(a,c,u,1)}for(var d=0;d<n;d+=1)i[d]=this.scrollerElRefs.collect(d,r,n);this.scrollSyncersBySection=this.getScrollSyncersBySection(o),this.scrollSyncersByColumn=this.getScrollSyncersByColumn(i)},t.prototype.destroyScrollSyncers=function(){(0,s._aR)(this.scrollSyncersBySection,M),(0,s._aR)(this.scrollSyncersByColumn,M)},t.prototype.getChunkConfigByIndex=function(e){var t=this.getDims()[1],n=Math.floor(e/t),r=e%t,o=this.props.sections[n];return o&&o.chunks[r]},t.prototype.forceScrollLeft=function(e,t){var n=this.scrollSyncersByColumn[e];n&&n.forceScrollLeft(t)},t.prototype.forceScrollTop=function(e,t){var n=this.scrollSyncersBySection[e];n&&n.forceScrollTop(t)},t.prototype._handleChunkEl=function(e,t){var n=this.getChunkConfigByIndex(parseInt(t,10));n&&(0,s.k$v)(n.elRef,e)},t.prototype._handleScrollerEl=function(e,t){var n=this.getChunkConfigByIndex(parseInt(t,10));n&&(0,s.k$v)(n.scrollerElRef,e)},t.prototype.getDims=function(){var e=this.props.sections.length;return[e,e?this.props.sections[0].chunks.length:0]},t}(s.H6J);function D(e){for(var t=0,n=0,r=e;n<r.length;n++){t+=r[n]}return t}function S(e){var t=(0,s.xlG)(e,".fc-scrollgrid-sync-inner").map(B);return t.length?Math.max.apply(Math,t):0}function B(e){return e.offsetHeight}function I(e){var t=R(e.cols,"width"),n=R(e.cols,"minWidth"),r=(0,s.Qa3)(e.cols);return{hasShrinkCol:r,totalColWidth:t,totalColMinWidth:n,allowXScrolling:"shrink"!==e.width&&Boolean(t||n||r),cols:e.cols,width:e.width}}function R(e,t){for(var n=0,r=0,o=e;r<o.length;r++){var i=o[r],a=i[t];"number"==typeof a&&(n+=a*(i.span||1))}return n}w.addStateEquality({shrinkWidths:s.CnA,scrollerClientWidths:s.S6v,scrollerClientHeights:s.S6v});var x={cols:s.grx};function k(e,t){return(0,s.cbN)(e,t,x)}function T(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new b(e,t)}function M(e){e.destroy()}function z(e,t){return new C(e,t)}function O(e){e.destroy()}(0,s.rxu)({deps:[l.Z],scrollGridImpl:w});s.vc.SCROLLGRID_RESIZE_INTERVAL=500;s.vc.MAX_TIMELINE_SLOTS=1e3;var N=[{years:1},{months:1},{days:1},{hours:1},{minutes:30},{minutes:15},{minutes:10},{minutes:5},{minutes:1},{seconds:30},{seconds:15},{seconds:10},{seconds:5},{seconds:1},{milliseconds:500},{milliseconds:100},{milliseconds:10},{milliseconds:1}];function H(e,t,n,r){var o={labelInterval:n.slotLabelInterval,slotDuration:n.slotDuration};!function(e,t,n){var r=t.currentRange;if(e.labelInterval){n.countDurationsBetween(r.start,r.end,e.labelInterval)>s.vc.MAX_TIMELINE_SLOTS&&(console.warn("slotLabelInterval results in too many cells"),e.labelInterval=null)}if(e.slotDuration){n.countDurationsBetween(r.start,r.end,e.slotDuration)>s.vc.MAX_TIMELINE_SLOTS&&(console.warn("slotDuration results in too many cells"),e.slotDuration=null)}if(e.labelInterval&&e.slotDuration){var o=(0,s.ltK)(e.labelInterval,e.slotDuration);(null===o||o<1)&&(console.warn("slotLabelInterval must be a multiple of slotDuration"),e.slotDuration=null)}}(o,e,t),_(o,e,t),function(e,t,n){var r=t.currentRange,o=e.slotDuration;if(!o){for(var i=_(e,t,n),a=0,l=N;a<l.length;a++){var c=l[a],u=(0,s.Pvs)(c),d=(0,s.ltK)(i,u);if(null!==d&&d>1&&d<=6){o=u;break}}if(o)n.countDurationsBetween(r.start,r.end,o)>200&&(o=null);o||(o=i),e.slotDuration=o}}(o,e,t);var i=n.slotLabelFormat,a=Array.isArray(i)?i:null!=i?[i]:function(e,t,n,r){var o,i,a=e.labelInterval,l=(0,s.NTx)(a).unit,c=r.weekNumbers,u=o=i=null;"week"!==l||c||(l="day");switch(l){case"year":u={year:"numeric"};break;case"month":F("years",t,n)>1&&(u={year:"numeric"}),o={month:"short"};break;case"week":F("years",t,n)>1&&(u={year:"numeric"}),o={week:"narrow"};break;case"day":F("years",t,n)>1?u={year:"numeric",month:"long"}:F("months",t,n)>1&&(u={month:"long"}),c&&(o={week:"short"}),i={weekday:"narrow",day:"numeric"};break;case"hour":c&&(u={week:"short"}),F("days",t,n)>1&&(o={weekday:"short",day:"numeric",month:"numeric",omitCommas:!0}),i={hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"};break;case"minute":(0,s.dZD)(a)/60>=6?(u={hour:"numeric",meridiem:"short"},o=function(e){return":"+(0,s.SkG)(e.date.minute,2)}):u={hour:"numeric",minute:"numeric",meridiem:"short"};break;case"second":(0,s.nCP)(a)/60>=6?(u={hour:"numeric",minute:"2-digit",meridiem:"lowercase"},o=function(e){return":"+(0,s.SkG)(e.date.second,2)}):u={hour:"numeric",minute:"2-digit",second:"2-digit",meridiem:"lowercase"};break;case"millisecond":u={hour:"numeric",minute:"2-digit",second:"2-digit",meridiem:"lowercase"},o=function(e){return"."+(0,s.SkG)(e.millisecond,3)}}return[].concat(u||[],o||[],i||[])}(o,e,t,n);o.headerFormats=a.map((function(e){return(0,s.SPZ)(e)})),o.isTimeScale=Boolean(o.slotDuration.milliseconds);var l=null;if(!o.isTimeScale){var c=(0,s.NTx)(o.slotDuration).unit;/year|month|week/.test(c)&&(l=c)}o.largeUnit=l,o.emphasizeWeeks=1===(0,s.XrI)(o.slotDuration)&&F("weeks",e,t)>=2&&!n.businessHours;var u,d,f=n.snapDuration;f&&(u=(0,s.Pvs)(f),d=(0,s.ltK)(o.slotDuration,u)),null==d&&(u=o.slotDuration,d=1),o.snapDuration=u,o.snapsPerSlot=d;var p=(0,s.TTZ)(e.slotMaxTime)-(0,s.TTZ)(e.slotMinTime),h=P(e.renderRange.start,o,t),A=P(e.renderRange.end,o,t);o.isTimeScale&&(h=t.add(h,e.slotMinTime),A=t.add((0,s.E4D)(A,-1),e.slotMaxTime)),o.timeWindowMs=p,o.normalizedRange={start:h,end:A};for(var g=[],v=h;v<A;)U(v,o,e,r)&&g.push(v),v=t.add(v,o.slotDuration);o.slotDates=g;var m=-1,y=0,C=[],E=[];for(v=h;v<A;)U(v,o,e,r)?(m+=1,C.push(m),E.push(y)):C.push(m+.5),v=t.add(v,o.snapDuration),y+=1;return o.snapDiffToIndex=C,o.snapIndexToDiff=E,o.snapCnt=m+1,o.slotCnt=o.snapCnt/o.snapsPerSlot,o.isWeekStarts=function(e,t){for(var n=e.slotDates,r=e.emphasizeWeeks,o=null,i=[],a=0,s=n;a<s.length;a++){var l=s[a],c=t.computeWeekNumber(l),u=r&&null!==o&&o!==c;o=c,i.push(u)}return i}(o,t),o.cellRows=function(e,t){for(var n=e.slotDates,r=e.headerFormats,o=r.map((function(){return[]})),i=(0,s.XrI)(e.slotDuration),a=7===i?"week":1===i?"day":null,l=r.map((function(e){return e.getLargestUnit?e.getLargestUnit():null})),c=0;c<n.length;c+=1)for(var u=n[c],d=e.isWeekStarts[c],f=0;f<r.length;f+=1){var p=r[f],h=o[f],A=h[h.length-1],g=f===r.length-1,v=r.length>1&&!g,m=null,y=l[f]||(g?a:null);if(v){var C=t.format(u,p);A&&A.text===C?A.colspan+=1:m=W(u,C,y)}else if(!A||(0,s.GNL)(t.countDurationsBetween(e.normalizedRange.start,u,e.labelInterval))){m=W(u,C=t.format(u,p),y)}else A.colspan+=1;m&&(m.weekStart=d,h.push(m))}return o}(o,t),o.slotsPerLabel=(0,s.ltK)(o.labelInterval,o.slotDuration),o}function P(e,t,n){var r=e;return t.isTimeScale||(r=(0,s.b7Q)(r),t.largeUnit&&(r=n.startOf(r,t.largeUnit))),r}function U(e,t,n,r){if(r.isHiddenDay(e))return!1;if(t.isTimeScale){var o=(0,s.b7Q)(e),i=e.valueOf()-o.valueOf()-(0,s.TTZ)(n.slotMinTime);return(i=(i%864e5+864e5)%864e5)<t.timeWindowMs}return!0}function _(e,t,n){var r=t.currentRange,o=e.labelInterval;if(!o){var i=void 0;if(e.slotDuration){for(var a=0,l=N;a<l.length;a++){i=l[a];var c=(0,s.Pvs)(i),u=(0,s.ltK)(c,e.slotDuration);if(null!==u&&u<=6){o=c;break}}o||(o=e.slotDuration)}else for(var d=0,f=N;d<f.length;d++){if(i=f[d],o=(0,s.Pvs)(i),n.countDurationsBetween(r.start,r.end,o)>=18)break}e.labelInterval=o}return o}function F(e,t,n){var r=t.currentRange,o=null;return"years"===e?o=n.diffWholeYears(r.start,r.end):"months"===e||"weeks"===e?o=n.diffWholeMonths(r.start,r.end):"days"===e&&(o=(0,s.Lnh)(r.start,r.end)),o||0}function W(e,t,n){return{date:e,text:t,rowUnit:n,colspan:1,isWeekStart:!1}}var L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,s.azq)(s.rVp,{hookProps:e.hookProps,content:t.options.slotLabelContent,defaultContent:q},(function(t,n){return(0,s.azq)("a",(0,f.pi)({ref:t,className:"fc-timeline-slot-cushion fc-scrollgrid-sync-inner"+(e.isSticky?" fc-sticky":"")},e.navLinkAttrs),n)}))},t}(s.H6J);function q(e){return e.text}function Q(e){return{level:e.level,date:e.dateEnv.toDate(e.dateMarker),view:e.viewApi,text:e.text}}var V=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,s.Vbb)(Q),t.normalizeClassNames=(0,s.HgS)(),t.buildCellNavLinkAttrs=(0,s.HPs)(j),t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.dateEnv,o=n.options,i=t.cell,a=t.dateProfile,l=t.tDateProfile,c=(0,s.iCZ)(i.date,t.todayRange,t.nowDate,a),u=["fc-timeline-slot","fc-timeline-slot-label"].concat("time"===i.rowUnit?(0,s.mK5)(c,n.theme):(0,s.yLW)(c,n.theme));i.isWeekStart&&u.push("fc-timeline-slot-em");var d=this.refineHookProps({level:t.rowLevel,dateMarker:i.date,text:i.text,dateEnv:n.dateEnv,viewApi:n.viewApi}),f=this.normalizeClassNames(o.slotLabelClassNames,d);return(0,s.azq)(s.y3w,{hookProps:d,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},(function(o){return(0,s.azq)("th",{ref:o,className:u.concat(f).join(" "),"data-date":r.formatIso(i.date,{omitTime:!l.isTimeScale,omitTimeZoneOffset:!0}),colSpan:i.colspan},(0,s.azq)("div",{className:"fc-timeline-slot-frame",style:{height:t.rowInnerHeight}},(0,s.azq)(L,{hookProps:d,isSticky:t.isSticky,navLinkAttrs:e.buildCellNavLinkAttrs(n,i.date,i.rowUnit)})))}))},t}(s.H6J);function j(e,t,n){return n&&"time"!==n?(0,s.rcD)(e,t,n):{}}var Y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.dateProfile,n=e.tDateProfile,r=e.rowInnerHeights,o=e.todayRange,i=e.nowDate,a=n.cellRows;return(0,s.azq)(s.HYg,null,a.map((function(e,l){var c=l===a.length-1,u=["fc-timeline-header-row",n.isTimeScale&&c?"fc-timeline-header-row-chrono":""];return(0,s.azq)("tr",{key:l,className:u.join(" ")},e.map((function(e){return(0,s.azq)(V,{key:e.date.toISOString(),cell:e,rowLevel:l,dateProfile:t,tDateProfile:n,todayRange:o,nowDate:i,rowInnerHeight:r&&r[l],isSticky:!c})})))})))},t}(s.H6J),G=function(){function e(e,t,n,r,o,i){this.slatRootEl=e,this.dateProfile=n,this.tDateProfile=r,this.dateEnv=o,this.isRtl=i,this.outerCoordCache=new s.zIV(e,t,!0,!1),this.innerCoordCache=new s.zIV(e,(0,s.sSy)(t,"div"),!0,!1)}return e.prototype.isDateInRange=function(e){return(0,s.mCA)(this.dateProfile.currentRange,e)},e.prototype.dateToCoord=function(e){var t=this.tDateProfile,n=this.computeDateSnapCoverage(e)/t.snapsPerSlot,r=Math.floor(n),o=n-(r=Math.min(r,t.slotCnt-1)),i=this.innerCoordCache,a=this.outerCoordCache;return this.isRtl?a.originClientRect.width-(a.rights[r]-i.getWidth(r)*o):a.lefts[r]+i.getWidth(r)*o},e.prototype.rangeToCoords=function(e){return{start:this.dateToCoord(e.start),end:this.dateToCoord(e.end)}},e.prototype.durationToCoord=function(e){var t=this,n=t.dateProfile,r=t.tDateProfile,o=t.dateEnv,i=t.isRtl,a=0;if(n){var l=o.add(n.activeRange.start,e);r.isTimeScale||(l=(0,s.b7Q)(l)),a=this.dateToCoord(l),!i&&a&&(a+=1)}return a},e.prototype.coordFromLeft=function(e){return this.isRtl?this.outerCoordCache.originClientRect.width-e:e},e.prototype.computeDateSnapCoverage=function(e){return Z(e,this.tDateProfile,this.dateEnv)},e}();function Z(e,t,n){var r=n.countDurationsBetween(t.normalizedRange.start,e,t.snapDuration);if(r<0)return 0;if(r>=t.snapDiffToIndex.length)return t.snapCnt;var o=Math.floor(r),i=t.snapDiffToIndex[o];return(0,s.GNL)(i)?i+=r-o:i=Math.ceil(i),i}function X(e,t){return null===e?{left:"",right:""}:t?{right:e,left:""}:{left:e,right:""}}function J(e,t){return e?t?{right:e.start,left:-e.end}:{left:e.start,right:-e.end}:{left:"",right:""}}var K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,s.VfA)(),t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=(0,s.NTx)(t.tDateProfile.slotDuration).unit,o=t.slatCoords&&t.slatCoords.dateProfile===t.dateProfile?t.slatCoords:null;return(0,s.azq)(s.wh8,{unit:r},(function(r,i){return(0,s.azq)("div",{className:"fc-timeline-header",ref:e.rootElRef},(0,s.azq)("table",{"aria-hidden":!0,className:"fc-scrollgrid-sync-table",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,(0,s.azq)("tbody",null,(0,s.azq)(Y,{dateProfile:t.dateProfile,tDateProfile:t.tDateProfile,nowDate:r,todayRange:i,rowInnerHeights:t.rowInnerHeights}))),n.options.nowIndicator&&(0,s.azq)("div",{className:"fc-timeline-now-indicator-container"},o&&o.isDateInRange(r)&&(0,s.azq)(s.AOy,{isAxis:!0,date:r},(function(e,t,i,a){return(0,s.azq)("div",{ref:e,className:["fc-timeline-now-indicator-arrow"].concat(t).join(" "),style:X(o.dateToCoord(r),n.isRtl)},a)}))))}))},t.prototype.componentDidMount=function(){this.updateSize()},t.prototype.componentDidUpdate=function(){this.updateSize()},t.prototype.updateSize=function(){this.props.onMaxCushionWidth&&this.props.onMaxCushionWidth(this.computeMaxCushionWidth())},t.prototype.computeMaxCushionWidth=function(){return Math.max.apply(Math,(0,s.xlG)(this.rootElRef.current,".fc-timeline-header-row:last-child .fc-timeline-slot-cushion").map((function(e){return e.getBoundingClientRect().width})))},t}(s.H6J),$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.options,o=t.theme,i=e.date,a=e.tDateProfile,l=e.isEm,c=(0,s.iCZ)(e.date,e.todayRange,e.nowDate,e.dateProfile),u=["fc-timeline-slot","fc-timeline-slot-lane"],d={"data-date":n.formatIso(i,{omitTimeZoneOffset:!0,omitTime:!a.isTimeScale})},p=(0,f.pi)((0,f.pi)({date:n.toDate(e.date)},c),{view:t.viewApi});return l&&u.push("fc-timeline-slot-em"),a.isTimeScale&&u.push((0,s.GNL)(n.countDurationsBetween(a.normalizedRange.start,e.date,a.labelInterval))?"fc-timeline-slot-major":"fc-timeline-slot-minor"),u.push.apply(u,e.isDay?(0,s.yLW)(c,o):(0,s.mK5)(c,o)),(0,s.azq)(s.QJ3,{hookProps:p,classNames:r.slotLaneClassNames,content:r.slotLaneContent,didMount:r.slotLaneDidMount,willUnmount:r.slotLaneWillUnmount,elRef:e.elRef},(function(e,t,n,r){return(0,s.azq)("td",(0,f.pi)({ref:e,className:u.concat(t).join(" ")},d),(0,s.azq)("div",{ref:n},r))}))},t}(s.H6J),ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.tDateProfile,n=e.cellElRefs,r=t.slotDates,o=t.isWeekStarts,i=!t.isTimeScale&&!t.largeUnit;return(0,s.azq)("tbody",null,(0,s.azq)("tr",null,r.map((function(r,a){var l=r.toISOString();return(0,s.azq)($,{key:l,elRef:n.createRef(l),date:r,dateProfile:e.dateProfile,tDateProfile:t,nowDate:e.nowDate,todayRange:e.todayRange,isEm:o[a],isDay:i})}))))},t}(s.H6J),te=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,s.VfA)(),t.cellElRefs=new s.lAU,t.handleScrollRequest=function(e){var n=t.props.onScrollLeftRequest,r=t.coords;if(n&&r){if(e.time)n(r.coordFromLeft(r.durationToCoord(e.time)));return!0}return null},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,s.azq)("div",{className:"fc-timeline-slots",ref:this.rootElRef},(0,s.azq)("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,(0,s.azq)(ee,{cellElRefs:this.cellElRefs,dateProfile:e.dateProfile,tDateProfile:e.tDateProfile,nowDate:e.nowDate,todayRange:e.todayRange})))},t.prototype.componentDidMount=function(){this.updateSizing(),this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(e){this.updateSizing(),this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach(),this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var e,t=this.props,n=this.context;null!==t.clientWidth&&this.scrollResponder&&(this.rootElRef.current.offsetWidth&&(this.coords=new G(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.tDateProfile.slotDates.map((function(t){var n=t.toISOString();return e[n]}))),t.dateProfile,t.tDateProfile,n.dateEnv,n.isRtl),t.onCoords&&t.onCoords(this.coords),this.scrollResponder.update(!1)))},t.prototype.positionToHit=function(e){var t=this.coords.outerCoordCache,n=this.context,r=n.dateEnv,o=n.isRtl,i=this.props.tDateProfile,a=t.leftToIndex(e);if(null!=a){var l=t.getWidth(a),c=o?(t.rights[a]-e)/l:(e-t.lefts[a])/l,u=Math.floor(c*i.snapsPerSlot),d=r.add(i.slotDates[a],(0,s.uVS)(i.snapDuration,u));return{dateSpan:{range:{start:d,end:r.add(d,i.snapDuration)},allDay:!this.props.tDateProfile.isTimeScale},dayEl:this.cellElRefs.currentMap[a],left:t.lefts[a],right:t.rights[a]}}return null},t}(s.H6J);function ne(e,t,n){var r=[];if(n)for(var o=0,i=e;o<i.length;o++){var a=i[o],s=n.rangeToCoords(a),l=Math.round(s.start),c=Math.round(s.end);c-l<t&&(c=l+t),r.push({start:l,end:c})}return r}var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=[].concat(e.eventResizeSegs,e.dateSelectionSegs);return e.timelineCoords&&(0,s.azq)("div",{className:"fc-timeline-bg"},this.renderSegs(e.businessHourSegs||[],e.timelineCoords,"non-business"),this.renderSegs(e.bgEventSegs||[],e.timelineCoords,"bg-event"),this.renderSegs(t,e.timelineCoords,"highlight"))},t.prototype.renderSegs=function(e,t,n){var r=this.props,o=r.todayRange,i=r.nowDate,a=this.context.isRtl,l=ne(e,0,t),c=e.map((function(e,t){var r=J(l[t],a);return(0,s.azq)("div",{key:(0,s.rRV)(e.eventRange),className:"fc-timeline-bg-harness",style:r},"bg-event"===n?(0,s.azq)(s.I_K,(0,f.pi)({seg:e},(0,s.jHR)(e,o,i))):(0,s.MA3)(n))}));return(0,s.azq)(s.HYg,null,c)},t}(s.H6J),oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.sliceRange=function(e,t,n,r,o){var i=function(e,t,n){if(!t.isTimeScale&&(e=(0,s.H3H)(e),t.largeUnit)){var r=e;((e={start:n.startOf(e.start,t.largeUnit),end:n.startOf(e.end,t.largeUnit)}).end.valueOf()!==r.end.valueOf()||e.end<=e.start)&&(e={start:e.start,end:n.add(e.end,t.slotDuration)})}return e}(e,r,o),a=[];if(Z(i.start,r,o)<Z(i.end,r,o)){var l=(0,s.cMs)(i,r.normalizedRange);l&&a.push({start:l.start,end:l.end,isStart:l.start.valueOf()===i.start.valueOf()&&U(l.start,r,t,n),isEnd:l.end.valueOf()===i.end.valueOf()&&U((0,s.hvg)(l.end,-1),r,t,n)})}return a},t}(s.RVT),ie=(0,s.SPZ)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"}),ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,s.azq)(s.h2k,(0,f.pi)({},e,{extraClassNames:["fc-timeline-event","fc-h-event"],defaultTimeFormat:ie,defaultDisplayEventTime:!e.isTimeScale}))},t}(s.H6J),se=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,s.VfA)(),t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.hiddenSegs,o=t.elRef,i=t.placement,a=t.resourceId,l=i.top,c=i.hcoords,u=c&&null!==l,d=J(c,n.isRtl),p=a?{resourceId:a}:{};return(0,s.azq)(s.ygx,{allDayDate:null,moreCnt:r.length,allSegs:r,hiddenSegs:r,alignmentElRef:this.rootElRef,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:p,popoverContent:function(){return(0,s.azq)(s.HYg,null,r.map((function(e){var n=e.eventRange.instance.instanceId;return(0,s.azq)("div",{key:n,style:{visibility:t.isForcedInvisible[n]?"hidden":""}},(0,s.azq)(ae,(0,f.pi)({isTimeScale:t.isTimeScale,seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:n===t.eventSelection},(0,s.jHR)(e,t.todayRange,t.nowDate))))})))}},(function(t,n,r,i,a,c,p,h){return(0,s.azq)("a",{ref:function(n){(0,s.k$v)(t,n),(0,s.k$v)(o,n),(0,s.k$v)(e.rootElRef,n)},className:["fc-timeline-more-link"].concat(n).join(" "),style:(0,f.pi)({visibility:u?"":"hidden",top:l||0},d),onClick:a,title:c,"aria-expanded":p,"aria-controls":h},(0,s.azq)("div",{ref:r,className:"fc-timeline-more-link-inner fc-sticky"},i))}))},t}(s.H6J),le=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new oe,t.sortEventSegs=(0,s.HPs)(s.hak),t.harnessElRefs=new s.lAU,t.moreElRefs=new s.lAU,t.innerElRef=(0,s.VfA)(),t.state={eventInstanceHeights:{},moreLinkHeights:{}},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=r.options,i=t.dateProfile,a=t.tDateProfile,l=this.slicer.sliceProps(t,i,a.isTimeScale?null:t.nextDayThreshold,r,i,r.dateProfileGenerator,a,r.dateEnv),c=(l.eventDrag?l.eventDrag.segs:null)||(l.eventResize?l.eventResize.segs:null)||[],u=this.sortEventSegs(l.fgEventSegs,o.eventOrder),d=function(e,t,n,r,o,i){for(var a=[],l=[],c=0;c<e.length;c+=1){var u=e[c],d=n[u.eventRange.instance.instanceId],f=t[c];d&&f?a.push({index:c,span:f,thickness:d}):l.push({seg:u,hcoords:f,top:null})}var p=new s.KxW;null!=o&&(p.strictOrder=o),null!=i&&(p.maxStackCnt=i);var h=p.addSegs(a),A=h.map((function(t){return{seg:e[t.index],hcoords:t.span,top:null}})),g=(0,s.AVF)(h),v=[],m=[],y=function(t){return e[t.index]};for(c=0;c<g.length;c+=1){var C=g[c],E=C.entries.map(y);null!=(d=r[(0,s.dS)((0,s.VV4)(E))])?v.push({index:e.length+c,thickness:d,span:C.span}):m.push({seg:E,hcoords:C.span,top:null})}p.maxStackCnt=-1,p.addSegs(v);for(var b=[],w=0,D=0,S=p.toRects();D<S.length;D++){var B=S[D],I=B.index;b.push({seg:I<e.length?e[I]:g[I-e.length].entries.map(y),hcoords:B.span,top:B.levelCoord}),w=Math.max(w,B.levelCoord+B.thickness)}return[b.concat(l,A,m),w]}(u,ne(u,o.eventMinWidth,t.timelineCoords),n.eventInstanceHeights,n.moreLinkHeights,o.eventOrderStrict,o.eventMaxStack),f=d[0],p=d[1],h=(l.eventDrag?l.eventDrag.affectedInstances:null)||(l.eventResize?l.eventResize.affectedInstances:null)||{};return(0,s.azq)(s.HYg,null,(0,s.azq)(re,{businessHourSegs:l.businessHourSegs,bgEventSegs:l.bgEventSegs,timelineCoords:t.timelineCoords,eventResizeSegs:l.eventResize?l.eventResize.segs:[],dateSelectionSegs:l.dateSelectionSegs,nowDate:t.nowDate,todayRange:t.todayRange}),(0,s.azq)("div",{className:"fc-timeline-events fc-scrollgrid-sync-inner",ref:this.innerElRef,style:{height:p}},this.renderFgSegs(f,h,!1,!1,!1),this.renderFgSegs(function(e,t,n){if(!e.length||!t)return[];var r=function(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n],i=o.seg;Array.isArray(i)||(t[i.eventRange.instance.instanceId]=o.top)}return t}(n);return e.map((function(e){return{seg:e,hcoords:t.rangeToCoords(e),top:r[e.eventRange.instance.instanceId]}}))}(c,t.timelineCoords,f),{},Boolean(l.eventDrag),Boolean(l.eventResize),!1)))},t.prototype.componentDidMount=function(){this.updateSize()},t.prototype.componentDidUpdate=function(e,t){e.eventStore===this.props.eventStore&&e.timelineCoords===this.props.timelineCoords&&t.moreLinkHeights===this.state.moreLinkHeights||this.updateSize()},t.prototype.updateSize=function(){var e=this,t=this.props,n=t.timelineCoords;t.onHeightChange&&t.onHeightChange(this.innerElRef.current,!1),n&&this.setState({eventInstanceHeights:(0,s._aR)(this.harnessElRefs.currentMap,(function(e){return Math.round(e.getBoundingClientRect().height)})),moreLinkHeights:(0,s._aR)(this.moreElRefs.currentMap,(function(e){return Math.round(e.getBoundingClientRect().height)}))},(function(){t.onHeightChange&&t.onHeightChange(e.innerElRef.current,!0)}))},t.prototype.renderFgSegs=function(e,t,n,r,o){var i=this,a=i.harnessElRefs,l=i.moreElRefs,c=i.props,u=i.context,d=n||r||o;return(0,s.azq)(s.HYg,null,e.map((function(e){var i=e.seg,p=e.hcoords,h=e.top;if(Array.isArray(i)){var A=(0,s.dS)((0,s.VV4)(i));return(0,s.azq)(se,{key:"m:"+A,elRef:l.createRef(A),hiddenSegs:i,placement:e,dateProfile:c.dateProfile,nowDate:c.nowDate,todayRange:c.todayRange,isTimeScale:c.tDateProfile.isTimeScale,eventSelection:c.eventSelection,resourceId:c.resourceId,isForcedInvisible:t})}var g=i.eventRange.instance.instanceId,v=d||Boolean(!t[g]&&p&&null!==h),m=J(p,u.isRtl);return(0,s.azq)("div",{key:"e:"+g,ref:d?null:a.createRef(g),className:"fc-timeline-event-harness",style:(0,f.pi)({visibility:v?"":"hidden",top:h||0},m)},(0,s.azq)(ae,(0,f.pi)({isTimeScale:c.tDateProfile.isTimeScale,seg:i,isDragging:n,isResizing:r,isDateSelecting:o,isSelected:g===c.eventSelection},(0,s.jHR)(i,c.todayRange,c.nowDate))))})))},t}(s.H6J);le.addStateEquality({eventInstanceHeights:s.S6v,moreLinkHeights:s.S6v});var ce=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slatsRef=(0,s.VfA)(),t.state={coords:null},t.handeEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t.handleCoords=function(e){t.setState({coords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=o.options,a=n.dateProfile,l=n.tDateProfile,c=(0,s.NTx)(l.slotDuration).unit;return(0,s.azq)("div",{className:"fc-timeline-body",ref:this.handeEl,style:{minWidth:n.tableMinWidth,height:n.clientHeight,width:n.clientWidth}},(0,s.azq)(s.wh8,{unit:c},(function(t,c){return(0,s.azq)(s.HYg,null,(0,s.azq)(te,{ref:e.slatsRef,dateProfile:a,tDateProfile:l,nowDate:t,todayRange:c,clientWidth:n.clientWidth,tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,onCoords:e.handleCoords,onScrollLeftRequest:n.onScrollLeftRequest}),(0,s.azq)(le,{dateProfile:a,tDateProfile:n.tDateProfile,nowDate:t,todayRange:c,nextDayThreshold:i.nextDayThreshold,businessHours:n.businessHours,eventStore:n.eventStore,eventUiBases:n.eventUiBases,dateSelection:n.dateSelection,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,timelineCoords:r.coords}),i.nowIndicator&&r.coords&&r.coords.isDateInRange(t)&&(0,s.azq)("div",{className:"fc-timeline-now-indicator-container"},(0,s.azq)(s.AOy,{isAxis:!1,date:t},(function(e,n,i,a){return(0,s.azq)("div",{ref:e,className:["fc-timeline-now-indicator-line"].concat(n).join(" "),style:X(r.coords.dateToCoord(t),o.isRtl)},a)}))))})))},t.prototype.queryHit=function(e,t,n,r){var o=this.slatsRef.current.positionToHit(e);return o?{dateProfile:this.props.dateProfile,dateSpan:o.dateSpan,rect:{left:o.left,right:o.right,top:0,bottom:r},dayEl:o.dayEl,layer:0}:null},t}(s.IdW),ue=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimelineDateProfile=(0,s.HPs)(H),t.scrollGridRef=(0,s.VfA)(),t.state={slatCoords:null,slotCushionMaxWidth:null},t.handleSlatCoords=function(e){t.setState({slatCoords:e})},t.handleScrollLeftRequest=function(e){t.scrollGridRef.current.forceScrollLeft(0,e)},t.handleMaxCushionWidth=function(e){t.setState({slotCushionMaxWidth:Math.ceil(e)})},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=o.options,a=!n.forPrint&&(0,s.Q8U)(i),l=!n.forPrint&&(0,s.PZw)(i),c=this.buildTimelineDateProfile(n.dateProfile,o.dateEnv,i,o.dateProfileGenerator),u=["fc-timeline",!1===i.eventOverlap?"fc-timeline-overlap-disabled":""],d=i.slotMinWidth,p=de(c,d||this.computeFallbackSlotMinWidth(c)),h=[{type:"header",key:"header",isSticky:a,chunks:[{key:"timeline",content:function(t){return(0,s.azq)(K,{dateProfile:n.dateProfile,clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,tDateProfile:c,slatCoords:r.slatCoords,onMaxCushionWidth:d?null:e.handleMaxCushionWidth})}}]},{type:"body",key:"body",liquid:!0,chunks:[{key:"timeline",content:function(t){return(0,s.azq)(ce,(0,f.pi)({},n,{clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,tDateProfile:c,onSlatCoords:e.handleSlatCoords,onScrollLeftRequest:e.handleScrollLeftRequest}))}}]}];return l&&h.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"timeline",content:s.Hbc}]}),(0,s.azq)(s.xS$,{viewSpec:o.viewSpec},(function(t,r){return(0,s.azq)("div",{ref:t,className:u.concat(r).join(" ")},(0,s.azq)(w,{ref:e.scrollGridRef,liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:!1,colGroups:[{cols:p}],sections:h}))}))},t.prototype.computeFallbackSlotMinWidth=function(e){return Math.max(30,(this.state.slotCushionMaxWidth||0)/e.slotsPerLabel)},t}(s.IdW);function de(e,t){return[{span:e.slotCnt,minWidth:t||1}]}const fe=(0,s.rxu)({deps:[l.Z],initialView:"timelineDay",views:{timeline:{component:ue,usesMinMaxTime:!0,eventResizableFromStart:!0},timelineDay:{type:"timeline",duration:{days:1}},timelineWeek:{type:"timeline",duration:{weeks:1}},timelineMonth:{type:"timeline",duration:{months:1}},timelineYear:{type:"timeline",duration:{years:1}}}});function pe(e,t){var n=e.resourceEditable;if(null==n){var r=e.sourceId&&t.getCurrentData().eventSources[e.sourceId];r&&(n=r.extendedProps.resourceEditable),null==n&&null==(n=t.options.eventResourceEditable)&&(n=t.options.editable)}return n}var he=function(){function e(){this.filterResources=(0,s.HPs)(Ae)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?{resourceStore:this.filterResources(t.resourceStore,t.options.filterResourcesWithEvents,t.eventStore,t.dateProfile.activeRange),resourceEntityExpansions:t.resourceEntityExpansions}:null},e}();function Ae(e,t,n,r){if(t){var o=function(e,t){return(0,s.CrY)(e,(function(e){return(0,s.zvB)(e.range,t)}))}(n.instances,r),i=function(e,t){var n={};for(var r in e)for(var o=0,i=t[e[r].defId].resourceIds;o<i.length;o++){n[i[o]]=!0}return n}(o,n.defs);return(0,f.pi)(i,function(e,t){var n={};for(var r in e)for(var o=void 0;(o=t[r])&&(r=o.parentId);)n[r]=!0;return n}(i,e)),(0,s.CrY)(e,(function(e,t){return i[t]}))}return e}var ge=function(){function e(){this.buildResourceEventUis=(0,s.HPs)(ve,s.S6v),this.injectResourceEventUis=(0,s.HPs)(me)}return e.prototype.transform=function(e,t){return t.viewSpec.optionDefaults.needsResourceData?null:{eventUiBases:this.injectResourceEventUis(e.eventUiBases,e.eventStore.defs,this.buildResourceEventUis(t.resourceStore))}},e}();function ve(e){return(0,s._aR)(e,(function(e){return e.ui}))}function me(e,t,n){return(0,s._aR)(e,(function(e,r){return r?function(e,t,n){for(var r=[],o=0,i=t.resourceIds;o<i.length;o++){var a=i[o];n[a]&&r.unshift(n[a])}return r.unshift(e),(0,s.kLJ)(r)}(e,t[r],n):e}))}var ye=[];function Ce(e){ye.push(e)}function Ee(e){return ye[e]}function be(){return ye}var we={id:String,resources:s.yRu,url:String,method:String,startParam:String,endParam:String,timeZoneParam:String,extraParams:s.yRu};function De(e){var t;if("string"==typeof e?t={url:e}:"function"==typeof e||Array.isArray(e)?t={resources:e}:"object"==typeof e&&e&&(t=e),t){var n=(0,s.rjQ)(t,we),r=n.refined;!function(e){for(var t in e)console.warn("Unknown resource prop '"+t+"'")}(n.extra);var o=function(e){for(var t=be(),n=t.length-1;n>=0;n-=1){var r=t[n].parseMeta(e);if(r)return{meta:r,sourceDefId:n}}return null}(r);if(o)return{_raw:e,sourceId:(0,s.M8z)(),sourceDefId:o.sourceDefId,meta:o.meta,publicId:r.id||"",isFetching:!1,latestFetchId:"",fetchRange:null}}return null}function Se(e,t,n){var r=n.options,o=n.dateProfile;if(!e||!t)return Be(r.initialResources||r.resources,o.activeRange,r.refetchResourcesOnNavigate,n);switch(t.type){case"RESET_RESOURCE_SOURCE":return Be(t.resourceSourceInput,o.activeRange,r.refetchResourcesOnNavigate,n);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return function(e,t,n,r){if(n&&!function(e){return Boolean(Ee(e.sourceDefId).ignoreRange)}(e)&&(!e.fetchRange||!(0,s.Dnt)(e.fetchRange,t)))return Ie(e,t,r);return e}(e,o.activeRange,r.refetchResourcesOnNavigate,n);case"RECEIVE_RESOURCES":case"RECEIVE_RESOURCE_ERROR":return function(e,t,n){if(t===e.latestFetchId)return(0,f.pi)((0,f.pi)({},e),{isFetching:!1,fetchRange:n});return e}(e,t.fetchId,t.fetchRange);case"REFETCH_RESOURCES":return Ie(e,o.activeRange,n);default:return e}}function Be(e,t,n,r){if(e){var o=De(e);return o=Ie(o,n?t:null,r)}return null}function Ie(e,t,n){var r=Ee(e.sourceDefId),o=(0,s.M8z)();return r.fetch({resourceSource:e,range:t,context:n},(function(e){n.dispatch({type:"RECEIVE_RESOURCES",fetchId:o,fetchRange:t,rawResources:e.rawResources})}),(function(e){n.dispatch({type:"RECEIVE_RESOURCE_ERROR",fetchId:o,fetchRange:t,error:e})})),(0,f.pi)((0,f.pi)({},e),{isFetching:!0,latestFetchId:o})}var Re="_fc:",xe={id:String,parentId:String,children:s.yRu,title:String,businessHours:s.yRu,extendedProps:s.yRu,eventEditable:Boolean,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventConstraint:s.yRu,eventOverlap:Boolean,eventAllow:s.yRu,eventClassNames:s.Qu7,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String};function ke(e,t,n,r){void 0===t&&(t="");var o=(0,s.rjQ)(e,xe),i=o.refined,a=o.extra,l={id:i.id||Re+(0,s.M8z)(),parentId:i.parentId||t,title:i.title||"",businessHours:i.businessHours?(0,s.ifz)(i.businessHours,r):null,ui:(0,s.oqz)({editable:i.eventEditable,startEditable:i.eventStartEditable,durationEditable:i.eventDurationEditable,constraint:i.eventConstraint,overlap:i.eventOverlap,allow:i.eventAllow,classNames:i.eventClassNames,backgroundColor:i.eventBackgroundColor,borderColor:i.eventBorderColor,textColor:i.eventTextColor,color:i.eventColor},r),extendedProps:(0,f.pi)((0,f.pi)({},a),i.extendedProps)};if(Object.freeze(l.ui.classNames),Object.freeze(l.extendedProps),n[l.id]);else if(n[l.id]=l,i.children)for(var c=0,u=i.children;c<u.length;c++){ke(u[c],l.id,n,r)}return l}function Te(e){return 0===e.indexOf(Re)?"":e}function Me(e,t,n,r){if(!e||!t)return{};switch(t.type){case"RECEIVE_RESOURCES":return function(e,t,n,r,o){if(r.latestFetchId===n){for(var i={},a=0,s=t;a<s.length;a++){ke(s[a],"",i,o)}return i}return e}(e,t.rawResources,t.fetchId,n,r);case"ADD_RESOURCE":return o=e,i=t.resourceHash,(0,f.pi)((0,f.pi)({},o),i);case"REMOVE_RESOURCE":return function(e,t){var n=(0,f.pi)({},e);for(var r in delete n[t],n)n[r].parentId===t&&(n[r]=(0,f.pi)((0,f.pi)({},n[r]),{parentId:""}));return n}(e,t.resourceId);case"SET_RESOURCE_PROP":return function(e,t,n,r){var o,i,a=e[t];if(a)return(0,f.pi)((0,f.pi)({},e),((o={})[t]=(0,f.pi)((0,f.pi)({},a),((i={})[n]=r,i)),o));return e}(e,t.resourceId,t.propName,t.propValue);case"SET_RESOURCE_EXTENDED_PROP":return function(e,t,n,r){var o,i,a=e[t];if(a)return(0,f.pi)((0,f.pi)({},e),((o={})[t]=(0,f.pi)((0,f.pi)({},a),{extendedProps:(0,f.pi)((0,f.pi)({},a.extendedProps),(i={},i[n]=r,i))}),o));return e}(e,t.resourceId,t.propName,t.propValue);default:return e}var o,i}var ze={resourceId:String,resourceIds:s.yRu,resourceEditable:Boolean};var Oe=function(){function e(e,t){this._context=e,this._resource=t}return e.prototype.setProp=function(e,t){var n=this._resource;this._context.dispatch({type:"SET_RESOURCE_PROP",resourceId:n.id,propName:e,propValue:t}),this.sync(n)},e.prototype.setExtendedProp=function(e,t){var n=this._resource;this._context.dispatch({type:"SET_RESOURCE_EXTENDED_PROP",resourceId:n.id,propName:e,propValue:t}),this.sync(n)},e.prototype.sync=function(t){var n=this._context,r=t.id;this._resource=n.getCurrentData().resourceStore[r],n.emitter.trigger("resourceChange",{oldResource:new e(n,t),resource:this,revert:function(){var e;n.dispatch({type:"ADD_RESOURCE",resourceHash:(e={},e[r]=t,e)})}})},e.prototype.remove=function(){var e=this._context,t=this._resource,n=t.id;e.dispatch({type:"REMOVE_RESOURCE",resourceId:n}),e.emitter.trigger("resourceRemove",{resource:this,revert:function(){var r;e.dispatch({type:"ADD_RESOURCE",resourceHash:(r={},r[n]=t,r)})}})},e.prototype.getParent=function(){var t=this._context,n=this._resource.parentId;return n?new e(t,t.getCurrentData().resourceSource[n]):null},e.prototype.getChildren=function(){var t=this._resource.id,n=this._context,r=n.getCurrentData().resourceStore,o=[];for(var i in r)r[i].parentId===t&&o.push(new e(n,r[i]));return o},e.prototype.getEvents=function(){var e=this._resource.id,t=this._context,n=t.getCurrentData().eventStore,r=n.defs,o=n.instances,i=[];for(var a in o){var l=o[a],c=r[l.defId];-1!==c.resourceIds.indexOf(e)&&i.push(new s.voO(t,c,l))}return i},Object.defineProperty(e.prototype,"id",{get:function(){return Te(this._resource.id)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._resource.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventConstraint",{get:function(){return this._resource.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventOverlap",{get:function(){return this._resource.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventAllow",{get:function(){return this._resource.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventBackgroundColor",{get:function(){return this._resource.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventBorderColor",{get:function(){return this._resource.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventTextColor",{get:function(){return this._resource.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"eventClassNames",{get:function(){return this._resource.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._resource.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._resource,n=t.ui,r=this.id,o={};return r&&(o.id=r),t.title&&(o.title=t.title),e.collapseEventColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?o.eventColor=n.backgroundColor:(n.backgroundColor&&(o.eventBackgroundColor=n.backgroundColor),n.borderColor&&(o.eventBorderColor=n.borderColor)),n.textColor&&(o.eventTextColor=n.textColor),n.classNames.length&&(o.eventClassNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?(0,f.pi)(o,t.extendedProps):o.extendedProps=t.extendedProps),o},e.prototype.toJSON=function(){return this.toPlainObject()},e}();s.zeW.prototype.addResource=function(e,t){var n,r=this;void 0===t&&(t=!0);var o,i,a=this.getCurrentData();e instanceof Oe?((n={})[(i=e._resource).id]=i,o=n):i=ke(e,"",o={},a),this.dispatch({type:"ADD_RESOURCE",resourceHash:o}),t&&this.trigger("_scrollRequest",{resourceId:i.id});var s=new Oe(a,i);return a.emitter.trigger("resourceAdd",{resource:s,revert:function(){r.dispatch({type:"REMOVE_RESOURCE",resourceId:i.id})}}),s},s.zeW.prototype.getResourceById=function(e){e=String(e);var t=this.getCurrentData();if(t.resourceStore){var n=t.resourceStore[e];if(n)return new Oe(t,n)}return null},s.zeW.prototype.getResources=function(){var e=this.getCurrentData(),t=e.resourceStore,n=[];if(t)for(var r in t)n.push(new Oe(e,t[r]));return n},s.zeW.prototype.getTopLevelResources=function(){var e=this.getCurrentData(),t=e.resourceStore,n=[];if(t)for(var r in t)t[r].parentId||n.push(new Oe(e,t[r]));return n},s.zeW.prototype.refetchResources=function(){this.dispatch({type:"REFETCH_RESOURCES"})};var Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.getKeyInfo=function(e){return(0,f.pi)({"":{}},e.resourceStore)},t.prototype.getKeysForDateSpan=function(e){return[e.resourceId||""]},t.prototype.getKeysForEventDef=function(e){var t=e.resourceIds;return t.length?t:[""]},t}(s.qX1);function He(e,t){return(0,f.pi)((0,f.pi)({},t),{constraints:Pe(e,t.constraints)})}function Pe(e,t){return t.map((function(t){var n=t.defs;if(n)for(var r in n){var o=n[r].resourceIds;if(o.length&&-1===o.indexOf(e))return!1}return t}))}s.voO.prototype.getResources=function(){var e=this._context.calendarApi;return this._def.resourceIds.map((function(t){return e.getResourceById(t)}))},s.voO.prototype.setResources=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n],i=null;"string"==typeof o?i=o:"number"==typeof o?i=String(o):o instanceof Oe?i=o.id:console.warn("unknown resource type: "+o),i&&t.push(i)}this.mutate({standardProps:{resourceIds:t}})};var Ue={resources:function(e,t){t.getCurrentData().resourceSource._raw!==e&&t.dispatch({type:"RESET_RESOURCE_SOURCE",resourceSourceInput:e})}};var _e=(0,s.MCs)("id,title");var Fe={initialResources:s.yRu,resources:s.yRu,eventResourceEditable:Boolean,refetchResourcesOnNavigate:Boolean,resourceOrder:s.MCs,filterResourcesWithEvents:Boolean,resourceGroupField:String,resourceAreaWidth:s.yRu,resourceAreaColumns:s.yRu,resourcesInitiallyExpanded:Boolean,datesAboveResources:Boolean,needsResourceData:Boolean,resourceAreaHeaderClassNames:s.yRu,resourceAreaHeaderContent:s.yRu,resourceAreaHeaderDidMount:s.yRu,resourceAreaHeaderWillUnmount:s.yRu,resourceGroupLabelClassNames:s.yRu,resourceGroupLabelContent:s.yRu,resourceGroupLabelDidMount:s.yRu,resourceGroupLabelWillUnmount:s.yRu,resourceLabelClassNames:s.yRu,resourceLabelContent:s.yRu,resourceLabelDidMount:s.yRu,resourceLabelWillUnmount:s.yRu,resourceLaneClassNames:s.yRu,resourceLaneContent:s.yRu,resourceLaneDidMount:s.yRu,resourceLaneWillUnmount:s.yRu,resourceGroupLaneClassNames:s.yRu,resourceGroupLaneContent:s.yRu,resourceGroupLaneDidMount:s.yRu,resourceGroupLaneWillUnmount:s.yRu},We={resourcesSet:s.yRu,resourceAdd:s.yRu,resourceChange:s.yRu,resourceRemove:s.yRu};function Le(e){return(0,s.azq)(s.Yh$.Consumer,null,(function(t){var n=t.options,r={resource:new Oe(t,e.resource),date:e.date?t.dateEnv.toDate(e.date):null,view:t.viewApi},o={"data-resource-id":e.resource.id,"data-date":e.date?(0,s.SVl)(e.date):void 0};return(0,s.azq)(s.QJ3,{hookProps:r,classNames:n.resourceLabelClassNames,content:n.resourceLabelContent,defaultContent:qe,didMount:n.resourceLabelDidMount,willUnmount:n.resourceLabelWillUnmount},(function(t,n,r,i){return e.children(t,n,o,r,i)}))}))}function qe(e){return e.resource.title||e.resource.id}Ce({ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.resources)?e.resources:null},fetch:function(e,t){t({rawResources:e.resourceSource.meta})}}),Ce({parseMeta:function(e){return"function"==typeof e.resources?e.resources:null},fetch:function(e,t,n){var r=e.context.dateEnv,o=e.resourceSource.meta,i=e.range?{start:r.toDate(e.range.start),end:r.toDate(e.range.end),startStr:r.formatIso(e.range.start),endStr:r.formatIso(e.range.end),timeZone:r.timeZone}:{};(0,s.Olf)(o.bind(null,i),(function(e){t({rawResources:e})}),n)}}),Ce({parseMeta:function(e){return e.url?{url:e.url,method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams}:null},fetch:function(e,t,n){var r=e.resourceSource.meta,o=function(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,c={};t&&(null==(r=e.startParam)&&(r=l.startParam),null==(o=e.endParam)&&(o=l.endParam),null==(i=e.timeZoneParam)&&(i=l.timeZoneParam),c[r]=s.formatIso(t.start),c[o]=s.formatIso(t.end),"local"!==s.timeZone&&(c[i]=s.timeZone));a="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};return(0,f.pi)(c,a),c}(r,e.range,e.context);(0,s.aAC)(r.method,r.url,o,(function(e,n){t({rawResources:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}});var Qe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,s.azq)(Le,{resource:e.resource,date:e.date},(function(t,n,r,o,i){return(0,s.azq)("th",(0,f.pi)({ref:t,role:"columnheader",className:["fc-col-header-cell","fc-resource"].concat(n).join(" "),colSpan:e.colSpan},r),(0,s.azq)("div",{className:"fc-scrollgrid-sync-inner"},(0,s.azq)("span",{className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(s.H6J);!function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDateFormat=(0,s.HPs)(Ve),t}(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=this.buildDateFormat(n.options.dayHeaderFormat,t.datesRepDistinctDays,t.dates.length);return(0,s.azq)(s.wh8,{unit:"day"},(function(o,i){return 1===t.dates.length?e.renderResourceRow(t.resources,t.dates[0]):n.options.datesAboveResources?e.renderDayAndResourceRows(t.dates,r,i,t.resources):e.renderResourceAndDayRows(t.resources,t.dates,r,i)}))},t.prototype.renderResourceRow=function(e,t){var n=e.map((function(e){return(0,s.azq)(Qe,{key:e.id,resource:e,colSpan:1,date:t})}));return this.buildTr(n,"resources")},t.prototype.renderDayAndResourceRows=function(e,t,n,r){for(var o=[],i=[],a=0,l=e;a<l.length;a++){var c=l[a];o.push(this.renderDateCell(c,t,n,r.length,null,!0));for(var u=0,d=r;u<d.length;u++){var f=d[u];i.push((0,s.azq)(Qe,{key:f.id+":"+c.toISOString(),resource:f,colSpan:1,date:c}))}}return(0,s.azq)(s.HYg,null,this.buildTr(o,"day"),this.buildTr(i,"resources"))},t.prototype.renderResourceAndDayRows=function(e,t,n,r){for(var o=[],i=[],a=0,l=e;a<l.length;a++){var c=l[a];o.push((0,s.azq)(Qe,{key:c.id,resource:c,colSpan:t.length,isSticky:!0}));for(var u=0,d=t;u<d.length;u++){var f=d[u];i.push(this.renderDateCell(f,n,r,1,c))}}return(0,s.azq)(s.HYg,null,this.buildTr(o,"resources"),this.buildTr(i,"day"))},t.prototype.renderDateCell=function(e,t,n,r,o,i){var a=this.props,l=o?":"+o.id:"",c=o?{resource:new Oe(this.context,o)}:{},u=o?{"data-resource-id":o.id}:{};return a.datesRepDistinctDays?(0,s.azq)(s.nWf,{key:e.toISOString()+l,date:e,dateProfile:a.dateProfile,todayRange:n,colCnt:a.dates.length*a.resources.length,dayHeaderFormat:t,colSpan:r,isSticky:i,extraHookProps:c,extraDataAttrs:u}):(0,s.azq)(s.Ceh,{key:e.getUTCDay()+l,dow:e.getUTCDay(),dayHeaderFormat:t,colSpan:r,isSticky:i,extraHookProps:c,extraDataAttrs:u})},t.prototype.buildTr=function(e,t){var n=this.props.renderIntro;return e.length||(e=[(0,s.azq)("td",{key:0}," ")]),(0,s.azq)("tr",{key:t,role:"row"},n&&n(t),e)}}(s.H6J);function Ve(e,t,n){return e||(0,s.nm6)(t,n)}var je=function(e){for(var t={},n=[],r=0;r<e.length;r+=1){var o=e[r].id;n.push(o),t[o]=r}this.ids=n,this.indicesById=t,this.length=e.length},Ye=function(){function e(e,t,n){this.dayTableModel=e,this.resources=t,this.context=n,this.resourceIndex=new je(t),this.rowCnt=e.rowCnt,this.colCnt=e.colCnt*t.length,this.cells=this.buildCells()}return e.prototype.buildCells=function(){for(var e=this,t=e.rowCnt,n=e.dayTableModel,r=e.resources,o=[],i=0;i<t;i+=1){for(var a=[],s=0;s<n.colCnt;s+=1)for(var l=0;l<r.length;l+=1){var c=r[l],u={resource:new Oe(this.context,c)},d={"data-resource-id":c.id},f={resourceId:c.id},p=n.cells[i][s].date;a[this.computeCol(s,l)]={key:c.id+":"+p.toISOString(),date:p,extraHookProps:u,extraDataAttrs:d,extraClassNames:["fc-resource"],extraDateSpan:f}}o.push(a)}return o},e}(),Ge=(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,f.ZT)(t,e),t.prototype.computeCol=function(e,t){return t*this.dayTableModel.colCnt+e},t.prototype.computeColRanges=function(e,t,n){return[{firstCol:this.computeCol(e,n),lastCol:this.computeCol(t,n),isStart:!0,isEnd:!0}]}}(Ye),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,f.ZT)(t,e),t.prototype.computeCol=function(e,t){return e*this.resources.length+t},t.prototype.computeColRanges=function(e,t,n){for(var r=[],o=e;o<=t;o+=1){var i=this.computeCol(o,n);r.push({firstCol:i,lastCol:i,isStart:o===e,isEnd:o===t})}return r}}(Ye),[]);(function(){function e(){this.joinDateSelection=(0,s.HPs)(this.joinSegs),this.joinBusinessHours=(0,s.HPs)(this.joinSegs),this.joinFgEvents=(0,s.HPs)(this.joinSegs),this.joinBgEvents=(0,s.HPs)(this.joinSegs),this.joinEventDrags=(0,s.HPs)(this.joinInteractions),this.joinEventResizes=(0,s.HPs)(this.joinInteractions)}e.prototype.joinProps=function(e,t){for(var n=[],r=[],o=[],i=[],a=[],s=[],l="",c=0,u=t.resourceIndex.ids.concat([""]);c<u.length;c++){var d=u[c],p=e[d];n.push(p.dateSelectionSegs),r.push(d?p.businessHourSegs:Ge),o.push(d?p.fgEventSegs:Ge),i.push(p.bgEventSegs),a.push(p.eventDrag),s.push(p.eventResize),l=l||p.eventSelection}return{dateSelectionSegs:this.joinDateSelection.apply(this,(0,f.ev)([t],n)),businessHourSegs:this.joinBusinessHours.apply(this,(0,f.ev)([t],r)),fgEventSegs:this.joinFgEvents.apply(this,(0,f.ev)([t],o)),bgEventSegs:this.joinBgEvents.apply(this,(0,f.ev)([t],i)),eventDrag:this.joinEventDrags.apply(this,(0,f.ev)([t],a)),eventResize:this.joinEventResizes.apply(this,(0,f.ev)([t],s)),eventSelection:l}},e.prototype.joinSegs=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=e.resources.length,o=[],i=0;i<r;i+=1){for(var a=0,s=t[i];a<s.length;a++){var l=s[a];o.push.apply(o,this.transformSeg(l,e,i))}for(var c=0,u=t[r];c<u.length;c++){l=u[c];o.push.apply(o,this.transformSeg(l,e,i))}}return o},e.prototype.expandSegs=function(e,t){for(var n=e.resources.length,r=[],o=0;o<n;o+=1)for(var i=0,a=t;i<a.length;i++){var s=a[i];r.push.apply(r,this.transformSeg(s,e,o))}return r},e.prototype.joinInteractions=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=e.resources.length,o={},i=[],a=!1,s=!1,l=0;l<r;l+=1){var c=t[l];if(c){a=!0;for(var u=0,d=c.segs;u<d.length;u++){var p=d[u];i.push.apply(i,this.transformSeg(p,e,l))}(0,f.pi)(o,c.affectedInstances),s=s||c.isEvent}if(t[r])for(var h=0,A=t[r].segs;h<A.length;h++){p=A[h];i.push.apply(i,this.transformSeg(p,e,l))}}return a?{affectedInstances:o,segs:i,isEvent:s}:null}})(),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}(0,f.ZT)(t,e),t.prototype.getKeyInfo=function(e){var t=e.resourceDayTableModel,n=(0,s._aR)(t.resourceIndex.indicesById,(function(e){return t.resources[e]}));return n[""]={},n},t.prototype.getKeysForDateSpan=function(e){return[e.resourceId||""]},t.prototype.getKeysForEventDef=function(e){var t=e.resourceIds;return t.length?t:[""]}}(s.qX1);function Ze(e,t,n,r,o,i){var a=function(e,t,n,r){var o=function(e,t){var n={};for(var r in e){var o=e[r];n[r]={resource:o,resourceFields:$e(o),children:[]}}for(var r in e){if((o=e[r]).parentId){var i=n[o.parentId];i&&Ke(n[r],i.children,t)}}return n}(e,r),i=[];for(var a in o){var s=o[a];s.resource.parentId||Je(s,i,n,0,t,r)}return i}(e,r?-1:1,t,n),s=[];return Xe(a,s,r,[],0,o,i),s}function Xe(e,t,n,r,o,i,a){for(var s=0;s<e.length;s+=1){var l=e[s],c=l.group;if(c)if(n){var u=t.length,d=r.length;if(Xe(l.children,t,n,r.concat(0),o,i,a),u<t.length){var f=t[u];(f.rowSpans=f.rowSpans.slice())[d]=t.length-u}}else{var p=null!=i[h=c.spec.field+":"+c.value]?i[h]:a;t.push({id:h,group:c,isExpanded:p}),p&&Xe(l.children,t,n,r,o+1,i,a)}else if(l.resource){var h;p=null!=i[h=l.resource.id]?i[h]:a;t.push({id:h,rowSpans:r,depth:o,isExpanded:p,hasChildren:Boolean(l.children.length),resource:l.resource,resourceFields:l.resourceFields}),p&&Xe(l.children,t,n,r,o+1,i,a)}}}function Je(e,t,n,r,o,i){if(n.length&&(-1===o||r<=o)){var a=function(e,t,n){var r,o,i=e.resourceFields[n.field];if(n.order)for(o=0;o<t.length;o+=1){if((l=t[o]).group){var a=(0,s.dx1)(i,l.group.value)*n.order;if(0===a){r=l;break}if(a<0)break}}else for(o=0;o<t.length;o+=1){var l;if((l=t[o]).group&&i===l.group.value){r=l;break}}r||(r={group:{value:i,spec:n},children:[]},t.splice(o,0,r));return r}(e,t,n[0]);Je(e,a.children,n.slice(1),r+1,o,i)}else Ke(e,t,i)}function Ke(e,t,n){var r;for(r=0;r<t.length;r+=1){if((0,s.oMu)(t[r].resourceFields,e.resourceFields,n)>0)break}t.splice(r,0,e)}function $e(e){var t=(0,f.pi)((0,f.pi)((0,f.pi)({},e.extendedProps),e.ui),e);return delete t.ui,delete t.extendedProps,t}const et=(0,s.rxu)({deps:[l.Z],reducers:[function(e,t,n){var r=Se(e&&e.resourceSource,t,n),o=Me(e&&e.resourceStore,t,r,n),i=function(e,t){var n;return e&&t?"SET_RESOURCE_ENTITY_EXPANDED"===t.type?(0,f.pi)((0,f.pi)({},e),((n={})[t.id]=t.isExpanded,n)):e:{}}(e&&e.resourceEntityExpansions,t);return{resourceSource:r,resourceStore:o,resourceEntityExpansions:i}}],isLoadingFuncs:[function(e){return e.resourceSource&&e.resourceSource.isFetching}],eventRefiners:ze,eventDefMemberAdders:[function(e){return{resourceIds:(t=e.resourceIds,(t||[]).map((function(e){return String(e)}))).concat(e.resourceId?[e.resourceId]:[]),resourceEditable:e.resourceEditable};var t}],isDraggableTransformers:[function(e,t,n,r){if(!e){var o=r.getCurrentData();if(o.viewSpecs[o.currentViewType].optionDefaults.needsResourceData&&pe(t,r))return!0}return e}],eventDragMutationMassagers:[
|
|
19
|
+
/*!
|
|
20
|
+
FullCalendar Scheduler v5.10.1
|
|
21
|
+
Docs & License: https://fullcalendar.io/scheduler
|
|
22
|
+
(c) 2021 Adam Shaw
|
|
23
|
+
*/
|
|
24
|
+
function(e,t,n){var r=t.dateSpan.resourceId,o=n.dateSpan.resourceId;r&&o&&r!==o&&(e.resourceMutation={matchResourceId:r,setResourceId:o})}],eventDefMutationAppliers:[function(e,t,n){var r=t.resourceMutation;if(r&&pe(e,n)){var o=e.resourceIds.indexOf(r.matchResourceId);if(-1!==o){var i=e.resourceIds.slice();i.splice(o,1),-1===i.indexOf(r.setResourceId)&&i.push(r.setResourceId),e.resourceIds=i}}}],dateSelectionTransformers:[function(e,t){var n=e.dateSpan.resourceId,r=t.dateSpan.resourceId;return n&&r?{resourceId:n}:null}],datePointTransforms:[function(e,t){return e.resourceId?{resource:t.calendarApi.getResourceById(e.resourceId)}:{}}],dateSpanTransforms:[function(e,t){return e.resourceId?{resource:t.calendarApi.getResourceById(e.resourceId)}:{}}],viewPropsTransformers:[he,ge],isPropsValid:function(e,t){var n=(new Ne).splitProps((0,f.pi)((0,f.pi)({},e),{resourceStore:t.getCurrentData().resourceStore}));for(var r in n){var o=n[r];if(r&&n[""]&&(o=(0,f.pi)((0,f.pi)({},o),{eventStore:(0,s.rOY)(n[""].eventStore,o.eventStore),eventUiBases:(0,f.pi)((0,f.pi)({},n[""].eventUiBases),o.eventUiBases)})),!(0,s.yw$)(o,t,{resourceId:r},He.bind(null,r)))return!1}return!0},externalDefTransforms:[function(e){return e.resourceId?{resourceId:e.resourceId}:{}}],eventDropTransformers:[function(e,t){var n=e.resourceMutation;if(n){var r=t.calendarApi;return{oldResource:r.getResourceById(n.matchResourceId),newResource:r.getResourceById(n.setResourceId)}}return{oldResource:null,newResource:null}}],optionChangeHandlers:Ue,optionRefiners:Fe,listenerRefiners:We,propSetHandlers:{resourceStore:function(e,t){var n=t.emitter;n.hasHandlers("resourcesSet")&&n.trigger("resourcesSet",function(e,t){var n=[];for(var r in e)n.push(new Oe(t,e[r]));return n}(e,t))}}});
|
|
25
|
+
/*!
|
|
26
|
+
FullCalendar Scheduler v5.10.1
|
|
27
|
+
Docs & License: https://fullcalendar.io/scheduler
|
|
28
|
+
(c) 2021 Adam Shaw
|
|
29
|
+
*/
|
|
30
|
+
function tt(e){for(var t=e.depth,n=e.hasChildren,r=e.isExpanded,o=e.onExpanderClick,i=[],a=0;a<t;a+=1)i.push((0,s.azq)("span",{className:"fc-icon"}));var l=["fc-icon"];return n&&(r?l.push("fc-icon-minus-square"):l.push("fc-icon-plus-square")),i.push((0,s.azq)("span",{className:"fc-datagrid-expander"+(n?"":" fc-datagrid-expander-placeholder"),onClick:o},(0,s.azq)("span",{className:l.join(" ")}))),s.azq.apply(void 0,(0,f.ev)([s.HYg,{}],i))}function nt(e){return{resource:new Oe(e.context,e.resource),fieldValue:e.fieldValue,view:e.context.viewApi}}var rt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props;return(0,s.azq)(s.rVp,{hookProps:e.hookProps,content:e.colSpec.cellContent,defaultContent:ot},(function(e,t){return(0,s.azq)("span",{className:"fc-datagrid-cell-main",ref:e},t)}))},t}(s.H6J);function ot(e){return e.fieldValue||(0,s.azq)(s.HYg,null," ")}var it=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,s.Vbb)(nt),t.normalizeClassNames=(0,s.HgS)(),t.onExpanderClick=function(e){var n=t.props;n.hasChildren&&t.context.dispatch({type:"SET_RESOURCE_ENTITY_EXPANDED",id:n.resource.id,isExpanded:!n.isExpanded})},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.colSpec,o=this.refineHookProps({resource:t.resource,fieldValue:t.fieldValue,context:n}),i=this.normalizeClassNames(r.cellClassNames,o);return(0,s.azq)(s.y3w,{hookProps:o,didMount:r.cellDidMount,willUnmount:r.cellWillUnmount},(function(n){return(0,s.azq)("td",{ref:n,role:"gridcell","data-resource-id":t.resource.id,className:["fc-datagrid-cell","fc-resource"].concat(i).join(" ")},(0,s.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:t.innerHeight}},(0,s.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner"},r.isMain&&(0,s.azq)(tt,{depth:t.depth,hasChildren:t.hasChildren,isExpanded:t.isExpanded,onExpanderClick:e.onExpanderClick}),(0,s.azq)(rt,{hookProps:o,colSpec:r}))))}))},t}(s.H6J),at=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.colSpec,r={groupValue:e.fieldValue,view:t.viewApi};return(0,s.azq)(s.QJ3,{hookProps:r,classNames:n.cellClassNames,content:n.cellContent,defaultContent:st,didMount:n.cellDidMount,willUnmount:n.cellWillUnmount},(function(t,n,r,o){return(0,s.azq)("td",{ref:t,role:"gridcell",rowSpan:e.rowSpan,className:["fc-datagrid-cell","fc-resource-group"].concat(n).join(" ")},(0,s.azq)("div",{className:"fc-datagrid-cell-frame fc-datagrid-cell-frame-liquid"},(0,s.azq)("div",{className:"fc-datagrid-cell-cushion fc-sticky",ref:r},o)))}))},t}(s.H6J);function st(e){return e.groupValue||(0,s.azq)(s.HYg,null," ")}var lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=e.resource,n=e.rowSpans,r=e.depth,o=$e(t);return(0,s.azq)("tr",{role:"row"},e.colSpecs.map((function(i,a){var l=n[a];if(0===l)return null;null==l&&(l=1);var c=i.field?o[i.field]:t.title||Te(t.id);return l>1?(0,s.azq)(at,{key:a,colSpec:i,fieldValue:c,rowSpan:l}):(0,s.azq)(it,{key:a,colSpec:i,resource:t,fieldValue:c,depth:r,hasChildren:e.hasChildren,isExpanded:e.isExpanded,innerHeight:e.innerHeight})})))},t}(s.H6J);lt.addPropsEquality({rowSpans:s.CnA});var ct=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerInnerRef=(0,s.VfA)(),t.onExpanderClick=function(){var e=t.props;t.context.dispatch({type:"SET_RESOURCE_ENTITY_EXPANDED",id:e.id,isExpanded:!e.isExpanded})},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r={groupValue:t.group.value,view:n.viewApi},o=t.group.spec;return(0,s.azq)("tr",{role:"row"},(0,s.azq)(s.QJ3,{hookProps:r,classNames:o.labelClassNames,content:o.labelContent,defaultContent:ut,didMount:o.labelDidMount,willUnmount:o.labelWillUnmount},(function(r,o,i,a){return(0,s.azq)("th",{ref:r,role:"columnheader",scope:"colgroup",colSpan:t.spreadsheetColCnt,className:["fc-datagrid-cell","fc-resource-group",n.theme.getClass("tableCellShaded")].concat(o).join(" ")},(0,s.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:t.innerHeight}},(0,s.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner",ref:e.innerInnerRef},(0,s.azq)(tt,{depth:0,hasChildren:!0,isExpanded:t.isExpanded,onExpanderClick:e.onExpanderClick}),(0,s.azq)("span",{className:"fc-datagrid-cell-main",ref:i},a))))})))},t}(s.H6J);function ut(e){return e.groupValue||(0,s.azq)(s.HYg,null," ")}ct.addPropsEquality({group:function(e,t){return e.spec===t.spec&&e.value===t.value}});var dt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizerElRefs=new s.lAU(t._handleColResizerEl.bind(t)),t.colDraggings={},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.colSpecs,r=t.superHeaderRendering,o=t.rowInnerHeights,i={view:this.context.viewApi},a=[];if(o=o.slice(),r){var l=o.shift();a.push((0,s.azq)("tr",{key:"row-super",role:"row"},(0,s.azq)(s.QJ3,{hookProps:i,classNames:r.headerClassNames,content:r.headerContent,didMount:r.headerDidMount,willUnmount:r.headerWillUnmount},(function(e,t,r,o){return(0,s.azq)("th",{ref:e,role:"columnheader",scope:"colgroup",colSpan:n.length,className:["fc-datagrid-cell","fc-datagrid-cell-super"].concat(t).join(" ")},(0,s.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:l}},(0,s.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner",ref:r},o)))}))))}var c=o.shift();return a.push((0,s.azq)("tr",{key:"row",role:"row"},n.map((function(t,r){var o=r===n.length-1;return(0,s.azq)(s.QJ3,{key:r,hookProps:i,classNames:t.headerClassNames,content:t.headerContent,didMount:t.headerDidMount,willUnmount:t.headerWillUnmount},(function(n,i,a,l){return(0,s.azq)("th",{ref:n,role:"columnheader",className:["fc-datagrid-cell"].concat(i).join(" ")},(0,s.azq)("div",{className:"fc-datagrid-cell-frame",style:{height:c}},(0,s.azq)("div",{className:"fc-datagrid-cell-cushion fc-scrollgrid-sync-inner"},t.isMain&&(0,s.azq)("span",{className:"fc-datagrid-expander fc-datagrid-expander-placeholder"},(0,s.azq)("span",{className:"fc-icon"})),(0,s.azq)("span",{className:"fc-datagrid-cell-main",ref:a},l)),!o&&(0,s.azq)("div",{className:"fc-datagrid-cell-resizer",ref:e.resizerElRefs.createRef(r)})))}))})))),(0,s.azq)(s.HYg,null,a)},t.prototype._handleColResizerEl=function(e,t){var n,r=this.colDraggings;e?(n=this.initColResizing(e,parseInt(t,10)))&&(r[t]=n):(n=r[t])&&(n.destroy(),delete r[t])},t.prototype.initColResizing=function(e,t){var n=this.context,r=n.pluginHooks,o=n.isRtl,i=this.props.onColWidthChange,a=r.elementDraggingImpl;if(a){var l,c,u=new a(e);return u.emitter.on("dragstart",(function(){var n=(0,s.xlG)((0,s.x_n)(e,"tr"),"th");c=n.map((function(e){return e.getBoundingClientRect().width})),l=c[t]})),u.emitter.on("dragmove",(function(e){c[t]=Math.max(l+e.deltaX*(o?-1:1),20),i&&i(c.slice())})),u.setAutoScrollEnabled(!1),u}return null},t}(s.H6J),ft=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n={resource:new Oe(t,e.resource)};return(0,s.azq)(s.rVp,{hookProps:n,content:t.options.resourceLaneContent},(function(e,t){return t&&(0,s.azq)("div",{className:"fc-timeline-lane-misc",ref:e},t)}))},t}(s.H6J),pt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=(0,s.Vbb)(ht),t.normalizeClassNames=(0,s.HgS)(),t.handleHeightChange=function(e,n){t.props.onHeightChange&&t.props.onHeightChange((0,s.x_n)(e,"tr"),n)},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options,o=this.refineHookProps({resource:t.resource,context:n}),i=this.normalizeClassNames(r.resourceLaneClassNames,o);return(0,s.azq)("tr",{ref:t.elRef},(0,s.azq)(s.y3w,{hookProps:o,didMount:r.resourceLaneDidMount,willUnmount:r.resourceLaneWillUnmount},(function(n){return(0,s.azq)("td",{ref:n,className:["fc-timeline-lane","fc-resource"].concat(i).join(" "),"data-resource-id":t.resource.id},(0,s.azq)("div",{className:"fc-timeline-lane-frame",style:{height:t.innerHeight}},(0,s.azq)(ft,{resource:t.resource}),(0,s.azq)(le,{dateProfile:t.dateProfile,tDateProfile:t.tDateProfile,nowDate:t.nowDate,todayRange:t.todayRange,nextDayThreshold:t.nextDayThreshold,businessHours:t.businessHours,eventStore:t.eventStore,eventUiBases:t.eventUiBases,dateSelection:t.dateSelection,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,timelineCoords:t.timelineCoords,onHeightChange:e.handleHeightChange,resourceId:t.resource.id})))})))},t}(s.H6J);function ht(e){return{resource:new Oe(e.context,e.resource)}}var At=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.props.renderingHooks,r={groupValue:t.groupValue,view:this.context.viewApi};return(0,s.azq)("tr",{ref:t.elRef},(0,s.azq)(s.QJ3,{hookProps:r,classNames:n.laneClassNames,content:n.laneContent,didMount:n.laneDidMount,willUnmount:n.laneWillUnmount},(function(n,r,o,i){return(0,s.azq)("td",{ref:n,className:["fc-timeline-lane","fc-resource-group",e.context.theme.getClass("tableCellShaded")].concat(r).join(" ")},(0,s.azq)("div",{style:{height:t.innerHeight},ref:o},i))})))},t}(s.H6J),gt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.rowElRefs,r=e.innerHeights;return(0,s.azq)("tbody",null,e.rowNodes.map((function(o,i){if(o.group)return(0,s.azq)(At,{key:o.id,elRef:n.createRef(o.id),groupValue:o.group.value,renderingHooks:o.group.spec,innerHeight:r[i]||""});if(o.resource){var a=o.resource;return(0,s.azq)(pt,(0,f.pi)({key:o.id,elRef:n.createRef(o.id)},e.splitProps[a.id],{resource:a,dateProfile:e.dateProfile,tDateProfile:e.tDateProfile,nowDate:e.nowDate,todayRange:e.todayRange,nextDayThreshold:t.options.nextDayThreshold,businessHours:a.businessHours||e.fallbackBusinessHours,innerHeight:r[i]||"",timelineCoords:e.slatCoords,onHeightChange:e.onRowHeightChange}))}return null})))},t}(s.H6J),vt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=(0,s.VfA)(),t.rowElRefs=new s.lAU,t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return(0,s.azq)("table",{ref:this.rootElRef,"aria-hidden":!0,className:"fc-scrollgrid-sync-table "+t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},(0,s.azq)(gt,{rowElRefs:this.rowElRefs,rowNodes:e.rowNodes,dateProfile:e.dateProfile,tDateProfile:e.tDateProfile,nowDate:e.nowDate,todayRange:e.todayRange,splitProps:e.splitProps,fallbackBusinessHours:e.fallbackBusinessHours,slatCoords:e.slatCoords,innerHeights:e.innerHeights,onRowHeightChange:e.onRowHeightChange}))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.componentWillUnmount=function(){this.props.onRowCoords&&this.props.onRowCoords(null)},t.prototype.updateCoords=function(){var e,t=this.props;t.onRowCoords&&null!==t.clientWidth&&this.props.onRowCoords(new s.zIV(this.rootElRef.current,(e=this.rowElRefs.currentMap,t.rowNodes.map((function(t){return e[t.id]}))),!1,!0))},t}(s.H6J);var mt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeHasResourceBusinessHours=(0,s.HPs)(yt),t.resourceSplitter=new Ne,t.bgSlicer=new oe,t.slatsRef=(0,s.VfA)(),t.state={slatCoords:null},t.handleEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t.handleSlatCoords=function(e){t.setState({slatCoords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t.handleRowCoords=function(e){t.rowCoords=e,t.props.onRowCoords&&t.props.onRowCoords(e)},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=n.dateProfile,a=n.tDateProfile,l=(0,s.NTx)(a.slotDuration).unit,c=this.computeHasResourceBusinessHours(n.rowNodes),u=this.resourceSplitter.splitProps(n),d=u[""],f=this.bgSlicer.sliceProps(d,i,a.isTimeScale?null:n.nextDayThreshold,o,i,o.dateProfileGenerator,a,o.dateEnv),p=r.slatCoords&&r.slatCoords.dateProfile===n.dateProfile?r.slatCoords:null;return(0,s.azq)("div",{ref:this.handleEl,className:["fc-timeline-body",n.expandRows?"fc-timeline-body-expandrows":""].join(" "),style:{minWidth:n.tableMinWidth}},(0,s.azq)(s.wh8,{unit:l},(function(t,r){return(0,s.azq)(s.HYg,null,(0,s.azq)(te,{ref:e.slatsRef,dateProfile:i,tDateProfile:a,nowDate:t,todayRange:r,clientWidth:n.clientWidth,tableColGroupNode:n.tableColGroupNode,tableMinWidth:n.tableMinWidth,onCoords:e.handleSlatCoords,onScrollLeftRequest:n.onScrollLeftRequest}),(0,s.azq)(re,{businessHourSegs:c?null:f.businessHourSegs,bgEventSegs:f.bgEventSegs,timelineCoords:p,eventResizeSegs:f.eventResize?f.eventResize.segs:[],dateSelectionSegs:f.dateSelectionSegs,nowDate:t,todayRange:r}),(0,s.azq)(vt,{rowNodes:n.rowNodes,dateProfile:i,tDateProfile:n.tDateProfile,nowDate:t,todayRange:r,splitProps:u,fallbackBusinessHours:c?n.businessHours:null,clientWidth:n.clientWidth,minHeight:n.expandRows?n.clientHeight:"",tableMinWidth:n.tableMinWidth,innerHeights:n.rowInnerHeights,slatCoords:p,onRowCoords:e.handleRowCoords,onRowHeightChange:n.onRowHeightChange}),o.options.nowIndicator&&p&&p.isDateInRange(t)&&(0,s.azq)("div",{className:"fc-timeline-now-indicator-container"},(0,s.azq)(s.AOy,{isAxis:!1,date:t},(function(e,n,r,i){return(0,s.azq)("div",{ref:e,className:["fc-timeline-now-indicator-line"].concat(n).join(" "),style:X(p.dateToCoord(t),o.isRtl)},i)}))))})))},t.prototype.queryHit=function(e,t){var n=this.rowCoords,r=n.topToIndex(t);if(null!=r){var o=this.props.rowNodes[r].resource;if(o){var i=this.slatsRef.current.positionToHit(e);if(i)return{dateProfile:this.props.dateProfile,dateSpan:{range:i.dateSpan.range,allDay:i.dateSpan.allDay,resourceId:o.id},rect:{left:i.left,right:i.right,top:n.tops[r],bottom:n.bottoms[r]},dayEl:i.dayEl,layer:0}}}return null},t}(s.IdW);function yt(e){for(var t=0,n=e;t<n.length;t++){var r=n[t].resource;if(r&&r.businessHours)return!0}return!1}var Ct=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.scrollGridRef=(0,s.VfA)(),t.timeBodyScrollerElRef=(0,s.VfA)(),t.spreadsheetHeaderChunkElRef=(0,s.VfA)(),t.rootElRef=(0,s.VfA)(),t.ensureScrollGridResizeId=0,t.state={resourceAreaWidthOverride:null},t.ensureScrollGridResize=function(){t.ensureScrollGridResizeId&&clearTimeout(t.ensureScrollGridResizeId),t.ensureScrollGridResizeId=setTimeout((function(){t.scrollGridRef.current.handleSizing(!1)}),s.vc.SCROLLGRID_RESIZE_INTERVAL+1)},t}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=r.options,i=!t.forPrint&&(0,s.Q8U)(o),a=!t.forPrint&&(0,s.PZw)(o),l=[{type:"header",key:"header",syncRowHeights:!0,isSticky:i,chunks:[{key:"datagrid",elRef:this.spreadsheetHeaderChunkElRef,tableClassName:"fc-datagrid-header",rowContent:t.spreadsheetHeaderRows},{key:"divider",outerContent:(0,s.azq)("td",{role:"presentation",className:"fc-resource-timeline-divider "+r.theme.getClass("tableCellShaded")})},{key:"timeline",content:t.timeHeaderContent}]},{type:"body",key:"body",syncRowHeights:!0,liquid:!0,expandRows:Boolean(o.expandRows),chunks:[{key:"datagrid",tableClassName:"fc-datagrid-body",rowContent:t.spreadsheetBodyRows},{key:"divider",outerContent:(0,s.azq)("td",{role:"presentation",className:"fc-resource-timeline-divider "+r.theme.getClass("tableCellShaded")})},{key:"timeline",scrollerElRef:this.timeBodyScrollerElRef,content:t.timeBodyContent}]}];a&&l.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"datagrid",content:s.Hbc},{key:"divider",outerContent:(0,s.azq)("td",{role:"presentation",className:"fc-resource-timeline-divider "+r.theme.getClass("tableCellShaded")})},{key:"timeline",content:s.Hbc}]});var c=null!=n.resourceAreaWidthOverride?n.resourceAreaWidthOverride:o.resourceAreaWidth;return(0,s.azq)(w,{ref:this.scrollGridRef,elRef:this.rootElRef,liquid:!t.isHeightAuto&&!t.forPrint,collapsibleWidth:!1,colGroups:[{cols:t.spreadsheetCols,width:c},{cols:[]},{cols:t.timeCols}],sections:l})},t.prototype.forceTimeScroll=function(e){this.scrollGridRef.current.forceScrollLeft(2,e)},t.prototype.forceResourceScroll=function(e){this.scrollGridRef.current.forceScrollTop(1,e)},t.prototype.getResourceScroll=function(){return this.timeBodyScrollerElRef.current.scrollTop},t.prototype.componentDidMount=function(){this.initSpreadsheetResizing()},t.prototype.componentWillUnmount=function(){this.destroySpreadsheetResizing()},t.prototype.initSpreadsheetResizing=function(){var e=this,t=this.context,n=t.isRtl,r=t.pluginHooks.elementDraggingImpl,o=this.spreadsheetHeaderChunkElRef.current;if(r){var i,a,s=this.rootElRef.current,l=this.spreadsheetResizerDragging=new r(s,".fc-resource-timeline-divider");l.emitter.on("dragstart",(function(){i=o.getBoundingClientRect().width,a=s.getBoundingClientRect().width})),l.emitter.on("dragmove",(function(t){var r=i+t.deltaX*(n?-1:1);r=Math.max(r,30),r=Math.min(r,a-30),e.setState({resourceAreaWidthOverride:r},e.ensureScrollGridResize)})),l.setAutoScrollEnabled(!1)}},t.prototype.destroySpreadsheetResizing=function(){this.spreadsheetResizerDragging&&this.spreadsheetResizerDragging.destroy()},t}(s.H6J),Et=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.processColOptions=(0,s.HPs)(St),r.buildTimelineDateProfile=(0,s.HPs)(H),r.hasNesting=(0,s.HPs)(Dt),r.buildRowNodes=(0,s.HPs)(Ze),r.layoutRef=(0,s.VfA)(),r.rowNodes=[],r.renderedRowNodes=[],r.buildRowIndex=(0,s.HPs)(bt),r.handleSlatCoords=function(e){r.setState({slatCoords:e})},r.handleRowCoords=function(e){r.rowCoords=e,r.scrollResponder.update(!1)},r.handleMaxCushionWidth=function(e){r.setState({slotCushionMaxWidth:Math.ceil(e)})},r.handleScrollLeftRequest=function(e){r.layoutRef.current.forceTimeScroll(e)},r.handleScrollRequest=function(e){var t=r.rowCoords,n=r.layoutRef.current,o=e.rowId||e.resourceId;if(t){if(o){var i=r.buildRowIndex(r.renderedRowNodes)[o];if(null!=i){var a=null!=e.fromBottom?t.bottoms[i]-e.fromBottom:t.tops[i];n.forceResourceScroll(a)}}return!0}return null},r.handleColWidthChange=function(e){r.setState({spreadsheetColWidths:e})},r.state={resourceAreaWidth:n.options.resourceAreaWidth,spreadsheetColWidths:[]},r}return(0,f.ZT)(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context,i=o.options,a=o.viewSpec,l=this.processColOptions(o.options),c=l.superHeaderRendering,u=l.groupSpecs,d=l.orderSpecs,f=l.isVGrouping,p=l.colSpecs,h=this.buildTimelineDateProfile(n.dateProfile,o.dateEnv,i,o.dateProfileGenerator),A=this.rowNodes=this.buildRowNodes(n.resourceStore,u,d,f,n.resourceEntityExpansions,i.resourcesInitiallyExpanded),g=["fc-resource-timeline",this.hasNesting(A)?"":"fc-resource-timeline-flat","fc-timeline",!1===i.eventOverlap?"fc-timeline-overlap-disabled":"fc-timeline-overlap-enabled"],v=i.slotMinWidth,m=de(h,v||this.computeFallbackSlotMinWidth(h));return(0,s.azq)(s.xS$,{viewSpec:a},(function(t,i){return(0,s.azq)("div",{ref:t,className:g.concat(i).join(" ")},(0,s.azq)(Ct,{ref:e.layoutRef,forPrint:n.forPrint,isHeightAuto:n.isHeightAuto,spreadsheetCols:wt(p,r.spreadsheetColWidths,""),spreadsheetHeaderRows:function(t){return(0,s.azq)(dt,{superHeaderRendering:c,colSpecs:p,onColWidthChange:e.handleColWidthChange,rowInnerHeights:t.rowSyncHeights})},spreadsheetBodyRows:function(t){return(0,s.azq)(s.HYg,null,e.renderSpreadsheetRows(A,p,t.rowSyncHeights))},timeCols:m,timeHeaderContent:function(t){return(0,s.azq)(K,{clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,dateProfile:n.dateProfile,tDateProfile:h,slatCoords:r.slatCoords,rowInnerHeights:t.rowSyncHeights,onMaxCushionWidth:v?null:e.handleMaxCushionWidth})},timeBodyContent:function(t){return(0,s.azq)(mt,{dateProfile:n.dateProfile,clientWidth:t.clientWidth,clientHeight:t.clientHeight,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,expandRows:t.expandRows,tDateProfile:h,rowNodes:A,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,resourceStore:n.resourceStore,nextDayThreshold:o.options.nextDayThreshold,rowInnerHeights:t.rowSyncHeights,onSlatCoords:e.handleSlatCoords,onRowCoords:e.handleRowCoords,onScrollLeftRequest:e.handleScrollLeftRequest,onRowHeightChange:t.reportRowHeightChange})}}))}))},t.prototype.renderSpreadsheetRows=function(e,t,n){return e.map((function(e,r){return e.group?(0,s.azq)(ct,{key:e.id,id:e.id,spreadsheetColCnt:t.length,isExpanded:e.isExpanded,group:e.group,innerHeight:n[r]||""}):e.resource?(0,s.azq)(lt,{key:e.id,colSpecs:t,rowSpans:e.rowSpans,depth:e.depth,isExpanded:e.isExpanded,hasChildren:e.hasChildren,resource:e.resource,innerHeight:n[r]||""}):null}))},t.prototype.componentDidMount=function(){this.renderedRowNodes=this.rowNodes,this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.getSnapshotBeforeUpdate=function(){return this.props.forPrint?{}:{resourceScroll:this.queryResourceScroll()}},t.prototype.componentDidUpdate=function(e,t,n){this.renderedRowNodes=this.rowNodes,this.scrollResponder.update(e.dateProfile!==this.props.dateProfile),n.resourceScroll&&this.handleScrollRequest(n.resourceScroll)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.computeFallbackSlotMinWidth=function(e){return Math.max(30,(this.state.slotCushionMaxWidth||0)/e.slotsPerLabel)},t.prototype.queryResourceScroll=function(){var e=this.rowCoords,t=this.renderedRowNodes;if(e){for(var n=this.layoutRef.current,r=e.bottoms,o=n.getResourceScroll(),i={},a=0;a<r.length;a+=1){var s=t[a],l=r[a]-o;if(l>0){i.rowId=s.id,i.fromBottom=l;break}}return i}return null},t}(s.H6J);function bt(e){for(var t={},n=0;n<e.length;n+=1)t[e[n].id]=n;return t}function wt(e,t,n){return void 0===n&&(n=""),e.map((function(e,r){return{className:e.isMain?"fc-main-col":"",width:t[r]||e.width||n}}))}function Dt(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];if(r.group)return!0;if(r.resource&&r.hasChildren)return!0}return!1}function St(e){var t=e.resourceAreaColumns||[],n=null;t.length?e.resourceAreaHeaderContent&&(n={headerClassNames:e.resourceAreaHeaderClassNames,headerContent:e.resourceAreaHeaderContent,headerDidMount:e.resourceAreaHeaderDidMount,headerWillUnmount:e.resourceAreaHeaderWillUnmount}):t.push({headerClassNames:e.resourceAreaHeaderClassNames,headerContent:e.resourceAreaHeaderContent||"Resources",headerDidMount:e.resourceAreaHeaderDidMount,headerWillUnmount:e.resourceAreaHeaderWillUnmount});for(var r=[],o=[],i=[],a=!1,s=0,l=t;s<l.length;s++){var c=l[s];c.group?o.push((0,f.pi)((0,f.pi)({},c),{cellClassNames:c.cellClassNames||e.resourceGroupLabelClassNames,cellContent:c.cellContent||e.resourceGroupLabelContent,cellDidMount:c.cellDidMount||e.resourceGroupLabelDidMount,cellWillUnmount:c.cellWillUnmount||e.resourceGroupLaneWillUnmount})):r.push(c)}var u=r[0];if(u.isMain=!0,u.cellClassNames=u.cellClassNames||e.resourceLabelClassNames,u.cellContent=u.cellContent||e.resourceLabelContent,u.cellDidMount=u.cellDidMount||e.resourceLabelDidMount,u.cellWillUnmount=u.cellWillUnmount||e.resourceLabelWillUnmount,o.length)i=o,a=!0;else{var d=e.resourceGroupField;d&&i.push({field:d,labelClassNames:e.resourceGroupLabelClassNames,labelContent:e.resourceGroupLabelContent,labelDidMount:e.resourceGroupLabelDidMount,labelWillUnmount:e.resourceGroupLabelWillUnmount,laneClassNames:e.resourceGroupLaneClassNames,laneContent:e.resourceGroupLaneContent,laneDidMount:e.resourceGroupLaneDidMount,laneWillUnmount:e.resourceGroupLaneWillUnmount})}for(var p=[],h=0,A=e.resourceOrder||_e;h<A.length;h++){for(var g=A[h],v=!1,m=0,y=i;m<y.length;m++){var C=y[m];if(C.field===g.field){C.order=g.order,v=!0;break}}v||p.push(g)}return{superHeaderRendering:n,isVGrouping:a,groupSpecs:i,colSpecs:o.concat(r),orderSpecs:p}}Et.addStateEquality({spreadsheetColWidths:s.CnA});const Bt=(0,s.rxu)({deps:[l.Z,et,fe],initialView:"resourceTimelineDay",views:{resourceTimeline:{type:"timeline",component:Et,needsResourceData:!0,resourceAreaWidth:"30%",resourcesInitiallyExpanded:!0,eventResizableFromStart:!0},resourceTimelineDay:{type:"resourceTimeline",duration:{days:1}},resourceTimelineWeek:{type:"resourceTimeline",duration:{weeks:1}},resourceTimelineMonth:{type:"resourceTimeline",duration:{months:1}},resourceTimelineYear:{type:"resourceTimeline",duration:{years:1}}}})},57073:(e,t,n)=>{"use strict";n.d(t,{ZT:()=>o,pi:()=>i,ev:()=>a});
|
|
31
|
+
/*! *****************************************************************************
|
|
32
|
+
Copyright (c) Microsoft Corporation.
|
|
33
|
+
|
|
34
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
35
|
+
purpose with or without fee is hereby granted.
|
|
36
|
+
|
|
37
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
38
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
39
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
40
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
41
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
42
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
43
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
44
|
+
***************************************************************************** */
|
|
45
|
+
var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},30296:function(e,t,n){var r,o;e=n.nmd(e),function(){var i,a,s,l=[].slice;if(i=null!==e&&null!=e.exports&&!0,a=function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=function(e){var t;if(null==e)throw new Error("Can't find moment");return t=function(){function t(t,n,r,o){var i;null==o&&(o={}),"string"!=typeof r&&(o=null!=r?r:{},r=null),"boolean"==typeof o&&(o={allDay:o}),this._oStart=e(t,r,o.parseStrict),this._oEnd=e(n,r,o.parseStrict),this.allDay=null!=(i=o.allDay)&&i,this._mutated()}return t._extend=function(){var e,t,n,r,o,i;for(t=arguments[0],n=0,r=(i=2<=arguments.length?l.call(arguments,1):[]).length;n<r;n++)for(e in o=i[n])void 0!==o[e]&&(t[e]=o[e]);return t},t.prototype.start=function(){return this._start.clone()},t.prototype.end=function(){return this._end.clone()},t.prototype.isSame=function(e){return this._start.isSame(this._end,e)},t.prototype.length=function(e,t){return null==t&&(t=!1),this._displayEnd.diff(this._start,e,t)},t.prototype.count=function(e){var t;return t=this.start().startOf(e),this.end().startOf(e).diff(t,e)+1},t.prototype.countInner=function(e){var t,n,r;return(r=(n=this._inner(e))[0])>=(t=n[1])?0:t.diff(r,e)},t.prototype.iterate=function(e,t,n){var r,o,i,a,s;return e=(i=this._prepIterateInputs(e,t,n))[0],t=i[1],n=i[2],a=this.start().startOf(t),r=this.end().startOf(t),this.allDay&&(r=r.add(1,"d")),s=this,o=function(){return!s.allDay&&a<=r&&(!n||!a.isSame(r)||s._end.hours()>n)||s.allDay&&a<r},this._iterateHelper(t,a,o,e)},t.prototype.iterateInner=function(e,t){var n,r,o,i,a;return e=(o=this._prepIterateInputs(e,t))[0],t=o[1],i=this._inner(t,e),a=i[0],n=i[1],r=function(){return a<n},this._iterateHelper(t,a,r,e)},t.prototype.humanizeLength=function(){return this.allDay?this.isSame("d")?"all day":this._start.from(this.end().add(1,"d"),!0):this._start.from(this._end,!0)},t.prototype.asDuration=function(t){var n;return n=this._end.diff(this._start),e.duration(n)},t.prototype.isPast=function(){return this._lastMilli<e()},t.prototype.isFuture=function(){return this._start>e()},t.prototype.isCurrent=function(){return!this.isPast()&&!this.isFuture()},t.prototype.contains=function(t){return e.isMoment(t)||(t=e(t)),this._start<=t&&this._lastMilli>=t},t.prototype.isEmpty=function(){return this._start.isSame(this._displayEnd)},t.prototype.overlaps=function(e){return this._displayEnd.isAfter(e._start)&&this._start.isBefore(e._displayEnd)},t.prototype.engulfs=function(e){return this._start<=e._start&&this._displayEnd>=e._displayEnd},t.prototype.union=function(e){var n;return n=this.allDay&&e.allDay,new t(this._start<e._start?this._start:e._start,this._lastMilli>e._lastMilli?n?this._end:this._displayEnd:n?e._end:e._displayEnd,n)},t.prototype.intersection=function(e){var n;return n=this.allDay&&e.allDay,new t(this._start>e._start?this._start:e._start,this._lastMilli<e._lastMilli?n?this._end:this._displayEnd:n?e._end:e._displayEnd,n)},t.prototype.xor=function(){var e,n,r,o,i,a,s,c,u,d,f,p,h,A,g,v,m;for(h=1<=arguments.length?l.call(arguments,0):[],f=0,v=null,g=[],e=function(){var e,t,n;for(n=[],e=0,t=h.length;e<t;e++)(d=h[e]).allDay&&n.push(d);return n}().length===h.length,n=[],r=i=0,c=(A=[this].concat(h)).length;i<c;r=++i)o=A[r],n.push({time:o._start,i:r,type:0}),n.push({time:o._displayEnd,i:r,type:1});for(a=0,u=(n=n.sort((function(e,t){return e.time-t.time}))).length;a<u;a++)1===(p=n[a]).type&&(f-=1),f===p.type&&(v=p.time),f===(p.type+1)%2&&(v&&((s=g[g.length-1])&&s._end.isSame(v)?(s._oEnd=p.time,s._mutated()):(m=new t(v,e?p.time.clone().subtract(1,"d"):p.time,e)).isEmpty()||g.push(m)),v=null),0===p.type&&(f+=1);return g},t.prototype.difference=function(){var e,t,n,r,o,i,a;for(n=1<=arguments.length?l.call(arguments,0):[],o=[],e=0,t=(r=this.xor.apply(this,n).map((a=this,function(e){return a.intersection(e)}))).length;e<t;e++)!(i=r[e]).isEmpty()&&i.isValid()&&o.push(i);return o},t.prototype.split=function(){var t,n,r,o,i,s,c,u,d,f;if(t=1<=arguments.length?l.call(arguments,0):[],r=c=this.start(),e.isDuration(t[0])?n=t[0]:!e.isMoment(t[0])&&!a(t[0])&&"object"==typeof t[0]||"number"==typeof t[0]&&"string"==typeof t[1]?n=e.duration(t[0],t[1]):d=a(t[0])?t[0]:t,d&&(d=function(){var t,n,r;for(r=[],t=0,n=d.length;t<n;t++)u=d[t],r.push(e(u));return r}(),d=function(){var e,t,n;for(n=[],e=0,t=d.length;e<t;e++)(s=d[e]).isValid()&&s>=c&&n.push(s);return n}().sort((function(e,t){return e.valueOf()-t.valueOf()}))),n&&0===n.asMilliseconds()||d&&0===d.length)return[this];for(f=[],i=0,o=this._displayEnd;c<o&&(null==d||d[i]);)r=n?c.clone().add(n):d[i].clone(),r=e.min(o,r),c.isSame(r)||f.push(e.twix(c,r)),c=r,i+=1;return!r.isSame(this._displayEnd)&&d&&f.push(e.twix(r,this._displayEnd)),f},t.prototype.divide=function(e){return this.split(this.length()/e,"ms").slice(0,+(e-1)+1||9e9)},t.prototype.isValid=function(){return this._start.isValid()&&this._end.isValid()&&this._start<=this._displayEnd},t.prototype.equals=function(e){return e instanceof t&&this.allDay===e.allDay&&this._start.valueOf()===e._start.valueOf()&&this._end.valueOf()===e._end.valueOf()},t.prototype.toString=function(){return"{start: "+this._start.format()+", end: "+this._end.format()+", allDay: "+(this.allDay?"true":"false")+"}"},t.prototype.toArray=function(e,t,n){var r,o;for(r=this.iterate(e,t,n),o=[];r.hasNext();)o.push(r.next());return o},t.prototype.simpleFormat=function(e,n){var r,o;return r={allDay:"(all day)",template:t.formatTemplate},t._extend(r,n||{}),o=r.template(this._start.format(e),this._end.format(e)),this.allDay&&r.allDay&&(o+=" "+r.allDay),o},t.prototype.format=function(n){var r,o,i,a,s,l,c,u,d,f,p,h,A,g,v,m,y,C,E;if(this.isEmpty())return"";for(h=this._start.localeData()._longDateFormat.LT[0],v={groupMeridiems:!0,spaceBeforeMeridiem:!0,spaceBeforeMonth:!0,spaceBeforeDay:!0,showDayOfWeek:!1,showYearFirst:!1,hideTime:!1,hideYear:!1,implicitMinutes:!0,implicitDate:!1,implicitYear:!0,yearFormat:"YYYY",monthFormat:"MMM",weekdayFormat:"ddd",dayFormat:"D",meridiemFormat:"A",hourFormat:h,minuteFormat:"mm",allDay:"all day",explicitAllDay:!1,lastNightEndsAt:0,template:t.formatTemplate},t._extend(v,n||{}),l=[],g=v.hourFormat&&"h"===v.hourFormat[0],p=this._start.localeData()._longDateFormat.L,r=p.indexOf("M")<p.indexOf("D"),u=v.lastNightEndsAt>0&&!this.allDay&&this.end().startOf("d").valueOf()===this.start().add(1,"d").startOf("d").valueOf()&&this._start.hours()>12&&this._end.hours()<v.lastNightEndsAt,A=!(v.hideDate||v.implicitDate&&this.start().startOf("d").valueOf()===e().startOf("d").valueOf()&&(this.isSame("d")||u)),o=!(this.allDay||v.hideTime),this.allDay&&this.isSame("d")&&(v.implicitDate||v.explicitAllDay)&&l.push({name:"all day simple",fn:function(){return v.allDay},pre:" ",slot:0}),!A||v.hideYear||v.implicitYear&&this._start.year()===e().year()&&this.isSame("y")||l.push({name:"year",fn:function(e){return e.format(v.yearFormat)},pre:r?", ":" ",slot:v.showYearFirst?-1:4}),o&&A&&l.push({name:"month-date",fn:function(e){var t;return t=r?v.monthFormat+" "+v.dayFormat:v.dayFormat+" "+v.monthFormat,e.format(t)},ignoreEnd:function(){return u},pre:" ",slot:2}),!o&&A&&l.push({name:"month",fn:function(e){return e.format(v.monthFormat)},pre:v.spaceBeforeMonth?" ":"",slot:r?2:3}),!o&&A&&l.push({name:"date",fn:function(e){return e.format(v.dayFormat)},pre:v.spaceBeforeDay?" ":"",slot:r?3:2}),A&&v.showDayOfWeek&&l.push({name:"day of week",fn:function(e){return e.format(v.weekdayFormat)},pre:" ",slot:1}),v.groupMeridiems&&g&&!this.allDay&&!v.hideTime&&l.push({name:"meridiem",fn:function(e){return e.format(v.meridiemFormat)},slot:6,pre:v.spaceBeforeMeridiem?" ":""}),this.allDay||v.hideTime||l.push({name:"time",fn:function(e){var t;return t=0===e.minutes()&&v.implicitMinutes&&g?e.format(v.hourFormat):e.format(v.hourFormat+":"+v.minuteFormat),!v.groupMeridiems&&g&&(v.spaceBeforeMeridiem&&(t+=" "),t+=e.format(v.meridiemFormat)),t},slot:5,pre:", "}),y=[],a=[],i=[],C=!0,E=this,m=function(e){var t,n,r;return r=e.fn(E._start),t=e.ignoreEnd&&e.ignoreEnd()?r:e.fn(E._end),n={format:e,value:function(){return r}},t===r&&C?i.push(n):(C&&(C=!1,i.push({format:{slot:e.slot,pre:""},value:function(){return v.template(s(y),s(a,!0).trim())}})),y.push(n),a.push({format:e,value:function(){return t}}))},d=0,f=l.length;d<f;d++)m(l[d]);return c=!0,(s=function(e,t){var n,r,o,i,a,s;for(o=!0,s="",n=0,r=(i=e.sort((function(e,t){return e.format.slot-t.format.slot}))).length;n<r;n++)a=i[n],c||(s+=o&&t?" ":a.format.pre),s+=a.value(),c=!1,o=!1;return s})(i)},t.prototype._iterateHelper=function(e,t,n,r){return{next:function(){var o;return n()?(o=t.clone(),t.add(r,e),o):null},hasNext:n}},t.prototype._prepIterateInputs=function(){var t,n,r,o,i,a;return"number"==typeof(t=1<=arguments.length?l.call(arguments,0):[])[0]?t:("string"==typeof t[0]&&(o=t.shift(),n=null!=(i=t.pop())?i:1,t.length&&(r=null!=(a=t[0])&&a)),e.isDuration(t[0])&&(o="ms",n=t[0].as(o)),[n,o,r])},t.prototype._inner=function(e,t){var n,r,o;return null==e&&(e="ms"),null==t&&(t=1),o=this.start(),n=this._displayEnd.clone(),o>o.clone().startOf(e)&&o.startOf(e).add(t,e),n<n.clone().endOf(e)&&n.startOf(e),r=o.twix(n).asDuration(e).get(e)%t,n.subtract(r,e),[o,n]},t.prototype._mutated=function(){return this._start=this.allDay?this._oStart.clone().startOf("d"):this._oStart,this._lastMilli=this.allDay?this._oEnd.clone().endOf("d"):this._oEnd,this._end=this.allDay?this._oEnd.clone().startOf("d"):this._oEnd,this._displayEnd=this.allDay?this._end.clone().add(1,"d"):this._end},t}(),t._extend(e.locale(),{_twix:t.defaults}),t.formatTemplate=function(e,t){return e+" - "+t},e.twix=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(t,arguments,(function(){}))},e.fn.twix=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(t,[this].concat(l.call(arguments)),(function(){}))},e.fn.forDuration=function(e,n){return new t(this,this.clone().add(e),n)},e.duration.fn&&(e.duration.fn.afterMoment=function(n,r){return new t(n,e(n).clone().add(this),r)},e.duration.fn.beforeMoment=function(n,r){return new t(e(n).clone().subtract(this),n,r)}),e.twixClass=t,t},i)return e.exports=s(n(30381));r=[n(30381)],void 0===(o=function(e){return s(e)}.apply(t,r))||(e.exports=o),this.moment?this.Twix=s(this.moment):"undefined"!=typeof moment&&null!==moment&&(this.Twix=s(moment))}.call(this)}}]);
|
|
46
|
+
//# sourceMappingURL=chunk-813.68f180e56bbc2c131c34.js.map
|