primevue 2.8.0 → 2.9.2

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.
Files changed (572) hide show
  1. package/accordion/Accordion.d.ts +2 -0
  2. package/accordion/Accordion.vue +9 -1
  3. package/accordion/accordion.common.js +11 -3
  4. package/accordion/accordion.umd.js +11 -3
  5. package/accordion/accordion.umd.min.js +1 -1
  6. package/accordiontab/AccordionTab.vue +7 -5
  7. package/accordiontab/accordiontab.common.js +10 -11
  8. package/accordiontab/accordiontab.umd.js +10 -11
  9. package/accordiontab/accordiontab.umd.min.js +1 -1
  10. package/api/api.common.js +4 -0
  11. package/api/api.umd.js +4 -0
  12. package/api/api.umd.min.js +1 -1
  13. package/api/filterservice.common.js +4 -0
  14. package/api/filterservice.umd.js +4 -0
  15. package/api/filterservice.umd.min.js +1 -1
  16. package/autocomplete/autocomplete.common.js +8 -4
  17. package/autocomplete/autocomplete.umd.js +8 -4
  18. package/autocomplete/autocomplete.umd.min.js +1 -1
  19. package/avatar/avatar.common.js +1 -1
  20. package/avatar/avatar.umd.js +1 -1
  21. package/avatargroup/avatargroup.common.js +1 -1
  22. package/avatargroup/avatargroup.umd.js +1 -1
  23. package/badge/badge.common.js +1 -1
  24. package/badge/badge.umd.js +1 -1
  25. package/badgedirective/badgedirective.common.js +2 -2
  26. package/badgedirective/badgedirective.umd.js +2 -2
  27. package/badgedirective/badgedirective.umd.min.js +1 -1
  28. package/blockui/blockui.common.js +3 -3
  29. package/blockui/blockui.umd.js +3 -3
  30. package/blockui/blockui.umd.min.js +1 -1
  31. package/breadcrumb/breadcrumb.common.js +2 -2
  32. package/breadcrumb/breadcrumb.umd.js +2 -2
  33. package/breadcrumb/breadcrumbitem.common.js +1 -1
  34. package/breadcrumb/breadcrumbitem.umd.js +1 -1
  35. package/button/button.common.js +3 -3
  36. package/button/button.umd.js +3 -3
  37. package/button/button.umd.min.js +1 -1
  38. package/calendar/Calendar.vue +8 -2
  39. package/calendar/calendar.common.js +41 -31
  40. package/calendar/calendar.umd.js +41 -31
  41. package/calendar/calendar.umd.min.js +1 -1
  42. package/card/card.common.js +1 -1
  43. package/card/card.umd.js +1 -1
  44. package/carousel/carousel.common.js +3 -3
  45. package/carousel/carousel.umd.js +3 -3
  46. package/carousel/carousel.umd.min.js +1 -1
  47. package/cascadeselect/cascadeselect.common.js +8 -4
  48. package/cascadeselect/cascadeselect.umd.js +8 -4
  49. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  50. package/cascadeselect/cascadeselectsub.common.js +7 -3
  51. package/cascadeselect/cascadeselectsub.umd.js +7 -3
  52. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  53. package/cascadeselect/demo.html +3 -4
  54. package/chart/chart.common.js +1 -1
  55. package/chart/chart.umd.js +1 -1
  56. package/checkbox/checkbox.common.js +5 -1
  57. package/checkbox/checkbox.umd.js +5 -1
  58. package/checkbox/checkbox.umd.min.js +1 -1
  59. package/chip/chip.common.js +1 -1
  60. package/chip/chip.umd.js +1 -1
  61. package/chips/chips.common.js +1 -1
  62. package/chips/chips.umd.js +1 -1
  63. package/colorpicker/colorpicker.common.js +3 -3
  64. package/colorpicker/colorpicker.umd.js +3 -3
  65. package/colorpicker/colorpicker.umd.min.js +1 -1
  66. package/column/Column.d.ts +2 -0
  67. package/column/Column.vue +3 -3
  68. package/column/column.common.js +3 -3
  69. package/column/column.umd.js +3 -3
  70. package/column/column.umd.min.js +1 -1
  71. package/columngroup/columngroup.common.js +1 -1
  72. package/columngroup/columngroup.umd.js +1 -1
  73. package/config/primevue.common.js +8 -0
  74. package/config/primevue.umd.js +8 -0
  75. package/config/primevue.umd.min.js +1 -1
  76. package/confirmationeventbus/confirmationeventbus.common.js +4 -0
  77. package/confirmationeventbus/confirmationeventbus.umd.js +4 -0
  78. package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -1
  79. package/confirmationservice/confirmationservice.common.js +4 -0
  80. package/confirmationservice/confirmationservice.umd.js +4 -0
  81. package/confirmationservice/confirmationservice.umd.min.js +1 -1
  82. package/confirmdialog/confirmdialog.common.js +20 -13
  83. package/confirmdialog/confirmdialog.umd.js +20 -13
  84. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  85. package/confirmpopup/confirmpopup.common.js +8 -4
  86. package/confirmpopup/confirmpopup.umd.js +8 -4
  87. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  88. package/contextmenu/contextmenu.common.js +4 -4
  89. package/contextmenu/contextmenu.umd.js +4 -4
  90. package/contextmenu/contextmenu.umd.min.js +1 -1
  91. package/contextmenu/contextmenusub.common.js +3 -3
  92. package/contextmenu/contextmenusub.umd.js +3 -3
  93. package/contextmenu/contextmenusub.umd.min.js +1 -1
  94. package/datatable/BodyCell.vue +18 -9
  95. package/datatable/ColumnSlot.vue +16 -1
  96. package/datatable/DataTable.d.ts +2 -0
  97. package/datatable/DataTable.vue +47 -27
  98. package/datatable/HeaderCheckbox.vue +7 -4
  99. package/datatable/RowCheckbox.vue +2 -2
  100. package/datatable/RowRadioButton.vue +1 -1
  101. package/datatable/TableBody.vue +5 -1
  102. package/datatable/TableFooter.vue +1 -1
  103. package/datatable/TableHeader.vue +1 -1
  104. package/datatable/bodycell.common.js +77 -22
  105. package/datatable/bodycell.umd.js +77 -22
  106. package/datatable/bodycell.umd.min.js +1 -1
  107. package/datatable/columnfilter.common.js +17 -11
  108. package/datatable/columnfilter.umd.js +17 -11
  109. package/datatable/columnfilter.umd.min.js +1 -1
  110. package/datatable/columnslot.common.js +16 -1
  111. package/datatable/columnslot.umd.js +16 -1
  112. package/datatable/columnslot.umd.min.js +1 -1
  113. package/datatable/datatable.common.js +213 -115
  114. package/datatable/datatable.umd.js +213 -115
  115. package/datatable/datatable.umd.min.js +1 -1
  116. package/datatable/footercell.common.js +23 -4
  117. package/datatable/footercell.umd.js +23 -4
  118. package/datatable/footercell.umd.min.js +1 -1
  119. package/datatable/headercell.common.js +45 -21
  120. package/datatable/headercell.umd.js +45 -21
  121. package/datatable/headercell.umd.min.js +1 -1
  122. package/datatable/headercheckbox.common.js +8 -5
  123. package/datatable/headercheckbox.umd.js +8 -5
  124. package/datatable/headercheckbox.umd.min.js +1 -1
  125. package/datatable/rowcheckbox.common.js +3 -3
  126. package/datatable/rowcheckbox.umd.js +3 -3
  127. package/datatable/rowcheckbox.umd.min.js +1 -1
  128. package/datatable/rowradiobutton.common.js +3 -3
  129. package/datatable/rowradiobutton.umd.js +3 -3
  130. package/datatable/rowradiobutton.umd.min.js +1 -1
  131. package/datatable/tablebody.common.js +92 -30
  132. package/datatable/tablebody.umd.js +92 -30
  133. package/datatable/tablebody.umd.min.js +1 -1
  134. package/datatable/tablefooter.common.js +26 -7
  135. package/datatable/tablefooter.umd.js +26 -7
  136. package/datatable/tablefooter.umd.min.js +1 -1
  137. package/datatable/tableheader.common.js +48 -24
  138. package/datatable/tableheader.umd.js +48 -24
  139. package/datatable/tableheader.umd.min.js +1 -1
  140. package/datatable/tableloadingbody.common.js +17 -2
  141. package/datatable/tableloadingbody.umd.js +17 -2
  142. package/datatable/tableloadingbody.umd.min.js +1 -1
  143. package/dataview/dataview.common.js +36 -29
  144. package/dataview/dataview.umd.js +36 -29
  145. package/dataview/dataview.umd.min.js +1 -1
  146. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
  147. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
  148. package/deferredcontent/deferredcontent.common.js +1 -1
  149. package/deferredcontent/deferredcontent.umd.js +1 -1
  150. package/dialog/Dialog.d.ts +1 -0
  151. package/dialog/Dialog.vue +7 -4
  152. package/dialog/dialog.common.js +11 -8
  153. package/dialog/dialog.umd.js +11 -8
  154. package/dialog/dialog.umd.min.js +1 -1
  155. package/divider/divider.common.js +1 -1
  156. package/divider/divider.umd.js +1 -1
  157. package/dock/dock.common.js +2 -2
  158. package/dock/dock.umd.js +2 -2
  159. package/dock/docksub.common.js +1 -1
  160. package/dock/docksub.umd.js +1 -1
  161. package/dropdown/Dropdown.vue +4 -3
  162. package/dropdown/dropdown.common.js +11 -6
  163. package/dropdown/dropdown.umd.js +11 -6
  164. package/dropdown/dropdown.umd.min.js +1 -1
  165. package/editor/editor.common.js +1 -1
  166. package/editor/editor.umd.js +1 -1
  167. package/fieldset/fieldset.common.js +3 -3
  168. package/fieldset/fieldset.umd.js +3 -3
  169. package/fieldset/fieldset.umd.min.js +1 -1
  170. package/fileupload/FileUpload.vue +1 -0
  171. package/fileupload/fileupload.common.js +8 -7
  172. package/fileupload/fileupload.umd.js +8 -7
  173. package/fileupload/fileupload.umd.min.js +1 -1
  174. package/fullcalendar/fullcalendar.common.js +30 -23
  175. package/fullcalendar/fullcalendar.umd.js +30 -23
  176. package/fullcalendar/fullcalendar.umd.min.js +2 -2
  177. package/galleria/galleria.common.js +6 -6
  178. package/galleria/galleria.umd.js +6 -6
  179. package/galleria/galleria.umd.min.js +1 -1
  180. package/galleria/galleriacontent.common.js +5 -5
  181. package/galleria/galleriacontent.umd.js +5 -5
  182. package/galleria/galleriacontent.umd.min.js +1 -1
  183. package/galleria/galleriaitem.common.js +3 -3
  184. package/galleria/galleriaitem.umd.js +3 -3
  185. package/galleria/galleriaitem.umd.min.js +1 -1
  186. package/galleria/galleriathumbnails.common.js +3 -3
  187. package/galleria/galleriathumbnails.umd.js +3 -3
  188. package/galleria/galleriathumbnails.umd.min.js +1 -1
  189. package/imagepreview/imagepreview.common.js +3 -3
  190. package/imagepreview/imagepreview.umd.js +3 -3
  191. package/imagepreview/imagepreview.umd.min.js +1 -1
  192. package/inlinemessage/inlinemessage.common.js +1 -1
  193. package/inlinemessage/inlinemessage.umd.js +1 -1
  194. package/inplace/inplace.common.js +4 -4
  195. package/inplace/inplace.umd.js +4 -4
  196. package/inplace/inplace.umd.min.js +1 -1
  197. package/inputmask/inputmask.common.js +3 -3
  198. package/inputmask/inputmask.umd.js +3 -3
  199. package/inputmask/inputmask.umd.min.js +1 -1
  200. package/inputnumber/InputNumber.vue +3 -1
  201. package/inputnumber/inputnumber.common.js +9 -7
  202. package/inputnumber/inputnumber.umd.js +9 -7
  203. package/inputnumber/inputnumber.umd.min.js +1 -1
  204. package/inputswitch/inputswitch.common.js +1 -1
  205. package/inputswitch/inputswitch.umd.js +1 -1
  206. package/inputtext/inputtext.common.js +1 -1
  207. package/inputtext/inputtext.umd.js +1 -1
  208. package/knob/Knob.vue +1 -1
  209. package/knob/knob.common.js +3 -3
  210. package/knob/knob.umd.js +3 -3
  211. package/knob/knob.umd.min.js +1 -1
  212. package/listbox/listbox.common.js +7 -3
  213. package/listbox/listbox.umd.js +7 -3
  214. package/listbox/listbox.umd.min.js +1 -1
  215. package/megamenu/megamenu.common.js +3 -3
  216. package/megamenu/megamenu.umd.js +3 -3
  217. package/megamenu/megamenu.umd.min.js +1 -1
  218. package/menu/menu.common.js +4 -4
  219. package/menu/menu.umd.js +4 -4
  220. package/menu/menu.umd.min.js +1 -1
  221. package/menu/menuitem.common.js +3 -3
  222. package/menu/menuitem.umd.js +3 -3
  223. package/menu/menuitem.umd.min.js +1 -1
  224. package/menubar/demo.html +4 -3
  225. package/menubar/menubar.common.js +4 -4
  226. package/menubar/menubar.umd.js +4 -4
  227. package/menubar/menubar.umd.min.js +1 -1
  228. package/menubar/menubarsub.common.js +3 -3
  229. package/menubar/menubarsub.umd.js +3 -3
  230. package/menubar/menubarsub.umd.min.js +1 -1
  231. package/message/message.common.js +3 -3
  232. package/message/message.umd.js +3 -3
  233. package/message/message.umd.min.js +1 -1
  234. package/multiselect/MultiSelect.vue +2 -2
  235. package/multiselect/multiselect.common.js +9 -5
  236. package/multiselect/multiselect.umd.js +9 -5
  237. package/multiselect/multiselect.umd.min.js +1 -1
  238. package/orderlist/OrderList.d.ts +1 -0
  239. package/orderlist/OrderList.vue +12 -1
  240. package/orderlist/orderlist.common.js +21 -6
  241. package/orderlist/orderlist.umd.js +21 -6
  242. package/orderlist/orderlist.umd.min.js +1 -1
  243. package/organizationchart/organizationchart.common.js +4 -4
  244. package/organizationchart/organizationchart.umd.js +4 -4
  245. package/organizationchart/organizationchart.umd.min.js +1 -1
  246. package/organizationchart/organizationchartnode.common.js +3 -3
  247. package/organizationchart/organizationchartnode.umd.js +3 -3
  248. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  249. package/overlayeventbus/overlayeventbus.common.js +4 -0
  250. package/overlayeventbus/overlayeventbus.umd.js +4 -0
  251. package/overlayeventbus/overlayeventbus.umd.min.js +1 -1
  252. package/overlaypanel/overlaypanel.common.js +3 -3
  253. package/overlaypanel/overlaypanel.umd.js +3 -3
  254. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  255. package/package.json +1 -1
  256. package/paginator/currentpagereport.common.js +1 -1
  257. package/paginator/currentpagereport.umd.js +1 -1
  258. package/paginator/firstpagelink.common.js +3 -3
  259. package/paginator/firstpagelink.umd.js +3 -3
  260. package/paginator/firstpagelink.umd.min.js +1 -1
  261. package/paginator/jumptopagedropdown.common.js +15 -10
  262. package/paginator/jumptopagedropdown.umd.js +15 -10
  263. package/paginator/jumptopagedropdown.umd.min.js +1 -1
  264. package/paginator/jumptopageinput.common.js +14 -12
  265. package/paginator/jumptopageinput.umd.js +14 -12
  266. package/paginator/jumptopageinput.umd.min.js +1 -1
  267. package/paginator/lastpagelink.common.js +3 -3
  268. package/paginator/lastpagelink.umd.js +3 -3
  269. package/paginator/lastpagelink.umd.min.js +1 -1
  270. package/paginator/nextpagelink.common.js +3 -3
  271. package/paginator/nextpagelink.umd.js +3 -3
  272. package/paginator/nextpagelink.umd.min.js +1 -1
  273. package/paginator/pagelinks.common.js +3 -3
  274. package/paginator/pagelinks.umd.js +3 -3
  275. package/paginator/pagelinks.umd.min.js +1 -1
  276. package/paginator/paginator.common.js +35 -28
  277. package/paginator/paginator.umd.js +35 -28
  278. package/paginator/paginator.umd.min.js +1 -1
  279. package/paginator/prevpagelink.common.js +3 -3
  280. package/paginator/prevpagelink.umd.js +3 -3
  281. package/paginator/prevpagelink.umd.min.js +1 -1
  282. package/paginator/rowsperpagedropdown.common.js +15 -10
  283. package/paginator/rowsperpagedropdown.umd.js +15 -10
  284. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  285. package/panel/panel.common.js +3 -3
  286. package/panel/panel.umd.js +3 -3
  287. package/panel/panel.umd.min.js +1 -1
  288. package/panelmenu/PanelMenuSub.vue +2 -2
  289. package/panelmenu/panelmenu.common.js +9 -9
  290. package/panelmenu/panelmenu.umd.js +9 -9
  291. package/panelmenu/panelmenu.umd.min.js +1 -1
  292. package/panelmenu/panelmenusub.common.js +4 -4
  293. package/panelmenu/panelmenusub.umd.js +4 -4
  294. package/panelmenu/panelmenusub.umd.min.js +1 -1
  295. package/password/password.common.js +4 -4
  296. package/password/password.umd.js +4 -4
  297. package/password/password.umd.min.js +1 -1
  298. package/picklist/PickList.d.ts +1 -0
  299. package/picklist/PickList.vue +10 -1
  300. package/picklist/picklist.common.js +19 -6
  301. package/picklist/picklist.umd.js +19 -6
  302. package/picklist/picklist.umd.min.js +1 -1
  303. package/progressbar/progressbar.common.js +1 -1
  304. package/progressbar/progressbar.umd.js +1 -1
  305. package/progressspinner/progressspinner.common.js +1 -1
  306. package/progressspinner/progressspinner.umd.js +1 -1
  307. package/radiobutton/radiobutton.common.js +5 -1
  308. package/radiobutton/radiobutton.umd.js +5 -1
  309. package/radiobutton/radiobutton.umd.min.js +1 -1
  310. package/rating/rating.common.js +1 -1
  311. package/rating/rating.umd.js +1 -1
  312. package/resources/primevue.css +3 -2
  313. package/resources/primevue.min.css +1 -1
  314. package/resources/themes/arya-blue/theme.css +299 -22
  315. package/resources/themes/arya-green/theme.css +299 -22
  316. package/resources/themes/arya-orange/theme.css +299 -22
  317. package/resources/themes/arya-purple/theme.css +299 -22
  318. package/resources/themes/bootstrap4-dark-blue/theme.css +287 -6
  319. package/resources/themes/bootstrap4-dark-purple/theme.css +287 -6
  320. package/resources/themes/bootstrap4-light-blue/theme.css +286 -5
  321. package/resources/themes/bootstrap4-light-purple/theme.css +286 -5
  322. package/resources/themes/fluent-light/theme.css +298 -21
  323. package/resources/themes/lara-dark-blue/theme.css +638 -405
  324. package/resources/themes/lara-dark-indigo/theme.css +638 -405
  325. package/resources/themes/lara-dark-purple/theme.css +638 -405
  326. package/resources/themes/lara-dark-teal/theme.css +638 -405
  327. package/resources/themes/lara-light-blue/theme.css +398 -165
  328. package/resources/themes/lara-light-indigo/theme.css +305 -72
  329. package/resources/themes/lara-light-purple/theme.css +305 -72
  330. package/resources/themes/lara-light-teal/theme.css +305 -72
  331. package/resources/themes/luna-amber/theme.css +298 -21
  332. package/resources/themes/luna-blue/theme.css +298 -21
  333. package/resources/themes/luna-green/theme.css +298 -21
  334. package/resources/themes/luna-pink/theme.css +298 -21
  335. package/resources/themes/md-dark-deeppurple/theme.css +372 -12
  336. package/resources/themes/md-dark-indigo/theme.css +372 -12
  337. package/resources/themes/md-light-deeppurple/theme.css +369 -9
  338. package/resources/themes/md-light-indigo/theme.css +369 -9
  339. package/resources/themes/mdc-dark-deeppurple/theme.css +372 -12
  340. package/resources/themes/mdc-dark-indigo/theme.css +372 -12
  341. package/resources/themes/mdc-light-deeppurple/theme.css +369 -9
  342. package/resources/themes/mdc-light-indigo/theme.css +369 -9
  343. package/resources/themes/nova/theme.css +298 -21
  344. package/resources/themes/nova-accent/theme.css +298 -21
  345. package/resources/themes/nova-alt/theme.css +298 -21
  346. package/resources/themes/nova-vue/theme.css +298 -21
  347. package/resources/themes/rhea/theme.css +298 -21
  348. package/resources/themes/saga-blue/theme.css +282 -5
  349. package/resources/themes/saga-green/theme.css +282 -5
  350. package/resources/themes/saga-orange/theme.css +282 -5
  351. package/resources/themes/saga-purple/theme.css +282 -5
  352. package/resources/themes/tailwind-light/theme.css +301 -24
  353. package/resources/themes/vela-blue/theme.css +299 -22
  354. package/resources/themes/vela-green/theme.css +299 -22
  355. package/resources/themes/vela-orange/theme.css +299 -22
  356. package/resources/themes/vela-purple/theme.css +299 -22
  357. package/ripple/Ripple.css +3 -2
  358. package/ripple/ripple.common.js +2 -2
  359. package/ripple/ripple.umd.js +2 -2
  360. package/ripple/ripple.umd.min.js +1 -1
  361. package/row/row.common.js +1 -1
  362. package/row/row.umd.js +1 -1
  363. package/scrollpanel/scrollpanel.common.js +3 -3
  364. package/scrollpanel/scrollpanel.umd.js +3 -3
  365. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  366. package/scrolltop/scrolltop.common.js +3 -3
  367. package/scrolltop/scrolltop.umd.js +3 -3
  368. package/scrolltop/scrolltop.umd.min.js +1 -1
  369. package/selectbutton/selectbutton.common.js +7 -3
  370. package/selectbutton/selectbutton.umd.js +7 -3
  371. package/selectbutton/selectbutton.umd.min.js +1 -1
  372. package/sidebar/Sidebar.vue +2 -0
  373. package/sidebar/sidebar.common.js +5 -5
  374. package/sidebar/sidebar.umd.js +5 -5
  375. package/sidebar/sidebar.umd.min.js +1 -1
  376. package/skeleton/skeleton.common.js +1 -1
  377. package/skeleton/skeleton.umd.js +1 -1
  378. package/slider/Slider.vue +8 -1
  379. package/slider/slider.common.js +11 -5
  380. package/slider/slider.umd.js +11 -5
  381. package/slider/slider.umd.min.js +1 -1
  382. package/speeddial/speeddial.common.js +4 -4
  383. package/speeddial/speeddial.umd.js +4 -4
  384. package/speeddial/speeddial.umd.min.js +1 -1
  385. package/splitbutton/SplitButton.vue +7 -3
  386. package/splitbutton/splitbutton.common.js +46 -46
  387. package/splitbutton/splitbutton.umd.js +46 -46
  388. package/splitbutton/splitbutton.umd.min.js +1 -1
  389. package/splitter/splitter.common.js +2 -2
  390. package/splitter/splitter.umd.js +2 -2
  391. package/splitter/splitter.umd.min.js +1 -1
  392. package/steps/Steps.vue +1 -1
  393. package/steps/steps.common.js +3 -3
  394. package/steps/steps.umd.js +3 -3
  395. package/steps/steps.umd.min.js +1 -1
  396. package/styleclass/StyleClass.js +10 -2
  397. package/styleclass/styleclass.common.js +12 -4
  398. package/styleclass/styleclass.umd.js +12 -4
  399. package/styleclass/styleclass.umd.min.js +1 -1
  400. package/tabmenu/tabmenu.common.js +3 -3
  401. package/tabmenu/tabmenu.umd.js +3 -3
  402. package/tabmenu/tabmenu.umd.min.js +1 -1
  403. package/tabpanel/tabpanel.common.js +1 -1
  404. package/tabpanel/tabpanel.umd.js +1 -1
  405. package/tabview/TabView.vue +1 -1
  406. package/tabview/tabview.common.js +9 -5
  407. package/tabview/tabview.umd.js +9 -5
  408. package/tabview/tabview.umd.min.js +1 -1
  409. package/tag/Tag.vue +1 -1
  410. package/tag/tag.common.js +3 -3
  411. package/tag/tag.umd.js +3 -3
  412. package/tag/tag.umd.min.js +1 -1
  413. package/terminal/terminal.common.js +1 -1
  414. package/terminal/terminal.umd.js +1 -1
  415. package/textarea/textarea.common.js +1 -1
  416. package/textarea/textarea.umd.js +1 -1
  417. package/tieredmenu/demo.html +4 -3
  418. package/tieredmenu/tieredmenu.common.js +4 -4
  419. package/tieredmenu/tieredmenu.umd.js +4 -4
  420. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  421. package/tieredmenu/tieredmenusub.common.js +3 -3
  422. package/tieredmenu/tieredmenusub.umd.js +3 -3
  423. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  424. package/timeline/timeline.common.js +5 -1
  425. package/timeline/timeline.umd.js +5 -1
  426. package/timeline/timeline.umd.min.js +1 -1
  427. package/toast/toast.common.js +4 -4
  428. package/toast/toast.umd.js +4 -4
  429. package/toast/toast.umd.min.js +1 -1
  430. package/toast/toastmessage.common.js +3 -3
  431. package/toast/toastmessage.umd.js +3 -3
  432. package/toast/toastmessage.umd.min.js +1 -1
  433. package/togglebutton/togglebutton.common.js +3 -3
  434. package/togglebutton/togglebutton.umd.js +3 -3
  435. package/togglebutton/togglebutton.umd.min.js +1 -1
  436. package/toolbar/toolbar.common.js +1 -1
  437. package/toolbar/toolbar.umd.js +1 -1
  438. package/tooltip/Tooltip.js +28 -1
  439. package/tooltip/tooltip.common.js +34 -3
  440. package/tooltip/tooltip.umd.js +34 -3
  441. package/tooltip/tooltip.umd.min.js +1 -1
  442. package/tree/Tree.vue +1 -0
  443. package/tree/tree.common.js +10 -6
  444. package/tree/tree.umd.js +10 -6
  445. package/tree/tree.umd.min.js +1 -1
  446. package/tree/treenode.common.js +3 -3
  447. package/tree/treenode.umd.js +3 -3
  448. package/tree/treenode.umd.min.js +1 -1
  449. package/treetable/TreeTable.d.ts +1 -0
  450. package/treetable/TreeTable.vue +14 -32
  451. package/treetable/TreeTableRow.vue +7 -4
  452. package/treetable/demo.html +3 -3
  453. package/treetable/footercell.common.js +7 -3
  454. package/treetable/footercell.umd.js +7 -3
  455. package/treetable/footercell.umd.min.js +1 -1
  456. package/treetable/headercell.common.js +7 -3
  457. package/treetable/headercell.umd.js +7 -3
  458. package/treetable/headercell.umd.min.js +1 -1
  459. package/treetable/treetable.common.js +60 -59
  460. package/treetable/treetable.umd.js +60 -59
  461. package/treetable/treetable.umd.min.js +1 -1
  462. package/treetable/treetablerow.common.js +12 -5
  463. package/treetable/treetablerow.umd.js +12 -5
  464. package/treetable/treetablerow.umd.min.js +1 -1
  465. package/treetable/treetablerowloader.common.js +13 -6
  466. package/treetable/treetablerowloader.umd.js +13 -6
  467. package/treetable/treetablerowloader.umd.min.js +1 -1
  468. package/tristatecheckbox/tristatecheckbox.common.js +1 -1
  469. package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
  470. package/utils/DomHandler.js +2 -2
  471. package/utils/connectedoverlayscrollhandler.common.js +2 -2
  472. package/utils/connectedoverlayscrollhandler.umd.js +2 -2
  473. package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
  474. package/utils/domhandler.common.js +2 -2
  475. package/utils/domhandler.umd.js +2 -2
  476. package/utils/domhandler.umd.min.js +1 -1
  477. package/utils/eventbus.common.js +4 -0
  478. package/utils/eventbus.umd.js +4 -0
  479. package/utils/eventbus.umd.min.js +1 -1
  480. package/utils/objectutils.common.js +4 -0
  481. package/utils/objectutils.umd.js +4 -0
  482. package/utils/objectutils.umd.min.js +1 -1
  483. package/utils/utils.common.js +7 -2
  484. package/utils/utils.umd.js +7 -2
  485. package/utils/utils.umd.min.js +1 -1
  486. package/vetur-attributes.json +32 -0
  487. package/vetur-tags.json +13 -5
  488. package/web-types.json +81 -1
  489. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  490. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  491. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  492. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  493. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  494. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  495. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  496. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  497. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  498. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  499. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  500. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  501. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  502. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  503. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  504. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  505. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  506. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  507. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  508. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  509. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  510. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  511. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  512. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  513. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  514. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  515. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  516. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  517. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  518. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  519. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  520. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  521. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  522. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  523. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  524. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  525. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  526. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  527. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  528. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  529. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  530. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  531. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  532. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  533. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  534. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  535. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  536. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  537. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  538. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  539. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  540. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  541. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  542. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  543. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  544. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  545. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  546. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  547. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  548. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  549. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  550. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  551. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  552. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  553. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  554. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  555. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  556. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  557. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  558. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  559. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  560. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  561. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  562. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  563. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  564. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  565. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  566. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  567. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  568. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
  569. package/treetable/BodyCell.vue +0 -162
  570. package/treetable/bodycell.common.js +0 -5596
  571. package/treetable/bodycell.umd.js +0 -5606
  572. package/treetable/bodycell.umd.min.js +0 -1
@@ -12,9 +12,9 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var u=function(e,t){return u=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])},u(e,t)};function c(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}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)};Object.create;function d(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;var p,h,v,g,m,y,b,A={},_=[],w=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function E(e,t){for(var n in t)e[n]=t[n];return e}function D(e){var t=e.parentNode;t&&t.removeChild(e)}function C(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?p.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return S(e,a,r,o,null)}function S(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++v:o};return null==o&&null!=h.vnode&&h.vnode(i),i}function k(){return{current:null}}function x(e){return e.children}function T(e,t){this.props=e,this.context=t}function R(e,t){if(null==t)return e.__?R(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?R(e):null}function M(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return M(e)}}function I(e){(!e.__d&&(e.__d=!0)&&g.push(e)&&!O.__r++||y!==h.debounceRendering)&&((y=h.debounceRendering)||m)(O)}function O(){for(var e;O.__r=g.length;)e=g.sort((function(e,t){return e.__v.__b-t.__v.__b})),g=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=E({},o)).__v=o.__v+1,j(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?R(o):i,o.__h),Q(n,o),o.__e!=i&&M(o)))}))}function N(e,t,n,r,o,i,a,s,l,u){var c,f,d,p,h,v,g,m=r&&r.__k||_,y=m.length;for(n.__k=[],c=0;c<t.length;c++)if(null!=(p=n.__k[c]=null==(p=t[c])||"boolean"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?S(null,p,null,null,p):Array.isArray(p)?S(x,{children:p},null,null,null):p.__b>0?S(p.type,p.props,p.key,null,p.__v):p)){if(p.__=n,p.__b=n.__b+1,null===(d=m[c])||d&&p.key==d.key&&p.type===d.type)m[c]=void 0;else for(f=0;f<y;f++){if((d=m[f])&&p.key==d.key&&p.type===d.type){m[f]=void 0;break}d=null}j(e,p,d=d||A,o,i,a,s,l,u),h=p.__e,(f=p.ref)&&d.ref!=f&&(g||(g=[]),d.ref&&g.push(d.ref,null,p),g.push(f,p.__c||h,p)),null!=h?(null==v&&(v=h),"function"==typeof p.type&&p.__k===d.__k?p.__d=l=P(p,l,e):l=H(e,p,d,m,h,l),"function"==typeof n.type&&(n.__d=l)):l&&d.__e==l&&l.parentNode!=e&&(l=R(d))}for(n.__e=v,c=y;c--;)null!=m[c]&&("function"==typeof n.type&&null!=m[c].__e&&m[c].__e==n.__d&&(n.__d=R(r,c+1)),Z(m[c],m[c]));if(g)for(c=0;c<g.length;c++)G(g[c],g[++c],g[++c])}function P(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?P(r,t,n):H(n,r,r,o,r.__e,t));return t}function B(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){B(e,t)})):t.push(e)),t}function H(e,t,n,r,o,i){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function U(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||F(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||F(e,i,t[i],n[i],r)}function z(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||w.test(t)?n:n+"px"}function F(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||z(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||z(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?V:L,i):e.removeEventListener(t,i?V:L,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function L(e){this.l[e.type+!1](h.event?h.event(e):e)}function V(e){this.l[e.type+!0](h.event?h.event(e):e)}function j(e,t,n,r,o,i,a,s,l){var u,c,f,d,p,v,g,m,y,b,A,_=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(u=h.__b)&&u(t);try{e:if("function"==typeof _){if(m=t.props,y=(u=_.contextType)&&r[u.__c],b=u?y?y.props.value:u.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:("prototype"in _&&_.prototype.render?t.__c=c=new _(m,b):(t.__c=c=new T(m,b),c.constructor=_,c.render=Y),y&&y.sub(c),c.props=m,c.state||(c.state={}),c.context=b,c.__n=r,f=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=_.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=E({},c.__s)),E(c.__s,_.getDerivedStateFromProps(m,c.__s))),d=c.props,p=c.state,f)null==_.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==_.getDerivedStateFromProps&&m!==d&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(m,b),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(m,c.__s,b)||t.__v===n.__v){c.props=m,c.state=c.__s,t.__v!==n.__v&&(c.__d=!1),c.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),c.__h.length&&a.push(c);break e}null!=c.componentWillUpdate&&c.componentWillUpdate(m,c.__s,b),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(d,p,v)}))}c.context=b,c.props=m,c.state=c.__s,(u=h.__r)&&u(t),c.__d=!1,c.__v=t,c.__P=e,u=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=E(E({},r),c.getChildContext())),f||null==c.getSnapshotBeforeUpdate||(v=c.getSnapshotBeforeUpdate(d,p)),A=null!=u&&u.type===x&&null==u.key?u.props.children:u,N(e,Array.isArray(A)?A:[A],t,n,r,o,i,a,s,l),c.base=t.__e,t.__h=null,c.__h.length&&a.push(c),g&&(c.__E=c.__=null),c.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=W(n.__e,t,n,r,o,i,a,l);(u=h.diffed)&&u(t)}catch(e){t.__v=null,(l||null!=i)&&(t.__e=s,t.__h=!!l,i[i.indexOf(s)]=null),h.__e(e,t,n)}}function Q(e,t){h.__c&&h.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){h.__e(e,t.__v)}}))}function W(e,t,n,r,o,i,a,s){var l,u,c,f=n.props,d=t.props,h=t.type,v=0;if("svg"===h&&(o=!0),null!=i)for(;v<i.length;v++)if((l=i[v])&&"setAttribute"in l==!!h&&(h?l.localName===h:3===l.nodeType)){e=l,i[v]=null;break}if(null==e){if(null===h)return document.createTextNode(d);e=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,d.is&&d),i=null,s=!1}if(null===h)f===d||s&&e.data===d||(e.data=d);else{if(i=i&&p.call(e.childNodes),u=(f=n.props||A).dangerouslySetInnerHTML,c=d.dangerouslySetInnerHTML,!s){if(null!=i)for(f={},v=0;v<e.attributes.length;v++)f[e.attributes[v].name]=e.attributes[v].value;(c||u)&&(c&&(u&&c.__html==u.__html||c.__html===e.innerHTML)||(e.innerHTML=c&&c.__html||""))}if(U(e,d,f,o,s),c)t.__k=[];else if(v=t.props.children,N(e,Array.isArray(v)?v:[v],t,n,r,o&&"foreignObject"!==h,i,a,i?i[0]:n.__k&&R(n,0),s),null!=i)for(v=i.length;v--;)null!=i[v]&&D(i[v]);s||("value"in d&&void 0!==(v=d.value)&&(v!==f.value||v!==e.value||"progress"===h&&!v)&&F(e,"value",v,f.value,!1),"checked"in d&&void 0!==(v=d.checked)&&v!==e.checked&&F(e,"checked",v,f.checked,!1))}return e}function G(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){h.__e(e,n)}}function Z(e,t,n){var r,o;if(h.unmount&&h.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||G(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){h.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Z(r[o],t,"function"!=typeof e.type);n||null==e.__e||D(e.__e),e.__e=e.__d=void 0}function Y(e,t,n){return this.constructor(e,n)}function q(e,t,n){var r,o,i;h.__&&h.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],j(t,e=(!r&&n||t).__k=C(x,null,[e]),o||A,A,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?p.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),Q(i,e)}function J(e,t){var n={__c:t="__cC"+b++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(I)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}p=_.slice,h={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},v=0,T.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=E({},this.state),"function"==typeof e&&(e=e(E({},n),this.props)),e&&E(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),I(this))},T.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),I(this))},T.prototype.render=x,g=[],m="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,O.__r=0,b=0;var X,K,$=[],ee=h.__b,te=h.__r,ne=h.diffed,re=h.__c,oe=h.unmount;function ie(){var e;for($.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=$.pop();)if(e.__P)try{e.__H.__h.forEach(se),e.__H.__h.forEach(le),e.__H.__h=[]}catch(t){e.__H.__h=[],h.__e(t,e.__v)}}h.__b=function(e){X=null,ee&&ee(e)},h.__r=function(e){te&&te(e),0;var t=(X=e.__c).__H;t&&(t.__h.forEach(se),t.__h.forEach(le),t.__h=[])},h.diffed=function(e){ne&&ne(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==$.push(t)&&K===h.requestAnimationFrame||((K=h.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ae&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ae&&(t=requestAnimationFrame(n))})(ie)),X=null},h.__c=function(e,t){t.some((function(e){try{e.__h.forEach(se),e.__h=e.__h.filter((function(e){return!e.__||le(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],h.__e(n,e.__v)}})),re&&re(e,t)},h.unmount=function(e){oe&&oe(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{se(e)}catch(e){t=e}})),t&&h.__e(t,n.__v))};var ae="function"==typeof requestAnimationFrame;function se(e){var t=X,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),X=t}function le(e){var t=X;e.__c=e.__(),X=t}function ue(e,t){for(var n in t)e[n]=t[n];return e}function ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function fe(e){this.props=e}(fe.prototype=new T).isPureReactComponent=!0,fe.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var de=h.__b;h.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),de&&de(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var pe=h.__e;h.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);pe(e,t,n)};var he=h.unmount;function ve(){this.__u=0,this.t=null,this.__b=null}function ge(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function me(){this.u=null,this.o=null}h.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),he&&he(e)},(ve.prototype=new T).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=ge(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},ve.prototype.componentWillUnmount=function(){this.t=[]},ve.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=ue({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&C(x,null,e.fallback);return o&&(o.__h=null),[C(x,null,t.__e?null:e.children),o]};var ye=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function be(e){return this.getChildContext=function(){return e.context},e.children}function Ae(e){var t=this,n=e.i;t.componentWillUnmount=function(){q(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),q(C(be,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function _e(e,t){return C(Ae,{__v:e,i:t})}(me.prototype=new T).__e=function(e){var t=this,n=ge(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ye(t,e,r)):o()};n?n(i):i()}},me.prototype.render=function(e){this.u=null,this.o=new Map;var t=B(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},me.prototype.componentDidUpdate=me.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ye(e,n,t)}))};var we="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ee=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,De="undefined"!=typeof document,Ce=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};T.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(T.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Se=h.event;function ke(){}function xe(){return this.cancelBubble}function Te(){return this.defaultPrevented}h.event=function(e){return Se&&(e=Se(e)),e.persist=ke,e.isPropagationStopped=xe,e.isDefaultPrevented=Te,e.nativeEvent=e};var Re={configurable:!0,get:function(){return this.class}},Me=h.vnode;h.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];De&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Ce(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp)/.test(i)?i=i.toLowerCase():o&&Ee.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=B(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=B(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Re.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Re))}e.$$typeof=we,Me&&Me(e)};var Ie=h.__r;h.__r=function(e){Ie&&Ie(e),e.__c};var Oe="undefined"!==typeof globalThis?globalThis:window;function Ne(){var e=h.debounceRendering,t=[];function n(e){t.push(e)}h.debounceRendering=n,q(C(Pe,{}),document.createElement("div"));while(t.length)t.shift()();h.debounceRendering=e}Oe.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):Oe.FullCalendarVDom={Component:T,createElement:C,render:q,createRef:k,Fragment:x,createContext:Be,createPortal:_e,flushToDom:Ne,unmountComponentAtNode:He};var Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){return C("div",{})},t.prototype.componentDidMount=function(){this.setState({})},t}(T);function Be(e){var t=J(e),n=t.Provider;return t.Provider=function(){var e=this,t=!this.getChildContext,r=n.apply(this,arguments);if(t){var o=[];this.shouldComponentUpdate=function(t){e.props.value!==t.value&&o.forEach((function(e){e.context=t.value,e.forceUpdate()}))},this.sub=function(e){o.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){o.splice(o.indexOf(e),1),t&&t.call(e)}}}return r},t}function He(e){q(null,e)}n("f54b");if("undefined"===typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var Ue=FullCalendarVDom.Component,ze=FullCalendarVDom.createElement,Fe=FullCalendarVDom.render,Le=FullCalendarVDom.createRef,Ve=FullCalendarVDom.Fragment,je=FullCalendarVDom.createContext,Qe=FullCalendarVDom.createPortal,We=FullCalendarVDom.flushToDom,Ge=FullCalendarVDom.unmountComponentAtNode,Ze=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 Ye(e){e.parentNode&&e.parentNode.removeChild(e)}function qe(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(Je(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function Je(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector;return n.call(e,t)}function Xe(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}var Ke=/(top|left|right|bottom|width|height)$/i;function $e(e,t){for(var n in t)et(e,n,t[n])}function et(e,t,n){null==n?e.style[t]="":"number"===typeof n&&Ke.test(t)?e.style[t]=n+"px":e.style[t]=n}function tt(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}var nt=0;function rt(){return nt+=1,"fc-dom-"+nt}function ot(e,t){return function(n){var r=qe(n.target,e);r&&t.call(r,n,r)}}function it(e,t,n,r){var o=ot(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}function at(e,t,n,r){var o;return it(e,"mouseover",t,(function(e,t){if(t!==o){o=t,n(e,t);var i=function(e){o=null,r(e,t),t.removeEventListener("mouseleave",i)};t.addEventListener("mouseleave",i)}}))}function st(e){return f({onClick:e},lt(e))}function lt(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var ut=0;function ct(){return ut+=1,String(ut)}function ft(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)n=o[t],"string"===typeof n?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 dt(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function pt(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 ht(e){return e%1===0}function vt(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 gt=["sun","mon","tue","wed","thu","fri","sat"];function mt(e,t){var n=Pt(e);return n[2]+=t,Bt(n)}function yt(e,t){var n=Pt(e);return n[6]+=t,Bt(n)}function bt(e,t){return(t.valueOf()-e.valueOf())/864e5}function At(e,t){return(t.valueOf()-e.valueOf())/36e5}function _t(e,t){return(t.valueOf()-e.valueOf())/6e4}function wt(e,t){return(t.valueOf()-e.valueOf())/1e3}function Et(e,t){var n=St(e),r=St(t);return{years:0,months:0,days:Math.round(bt(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}function Dt(e,t){var n=Ct(e,t);return null!==n&&n%7===0?n/7:null}function Ct(e,t){return Ut(e)===Ut(t)?Math.round(bt(e,t)):null}function St(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function kt(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}function xt(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}function Tt(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}function Rt(e,t,n){var r=e.getUTCFullYear(),o=Mt(e,r,t,n);if(o<1)return Mt(e,r-1,t,n);var i=Mt(e,r+1,t,n);return i>=1?Math.min(o,i):o}function Mt(e,t,n,r){var o=Bt([t,0,1+It(t,n,r)]),i=St(e),a=Math.round(bt(o,i));return Math.floor(a/7)+1}function It(e,t,n){var r=7+t-n,o=(7+Bt([e,0,r]).getUTCDay()-t)%7;return-o+r-1}function Ot(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function Nt(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 Pt(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function Bt(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function Ht(e){return!isNaN(e.valueOf())}function Ut(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function zt(e,t,n,r){return{instanceId:ct(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var Ft=Object.prototype.hasOwnProperty;function Lt(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]=Lt(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 Vt(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function jt(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function Qt(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];t[o]=!0}return t}function Wt(e){var t=[];for(var n in e)t.push(e[n]);return t}function Gt(e,t){if(e===t)return!0;for(var n in e)if(Ft.call(e,n)&&!(n in t))return!1;for(var n in t)if(Ft.call(t,n)&&e[n]!==t[n])return!1;return!0}function Zt(e,t){var n=[];for(var r in e)Ft.call(e,r)&&(r in t||n.push(r));for(var r in t)Ft.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function Yt(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!qt(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function qt(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function Jt(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 Xt(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&&(a=t,null==a&&(a=i.allDayGuess,null==a&&(a=!1))),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}function Kt(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=Vt(s,(function(e){return!a[e.defId].recurringDef})),a){var u=a[l];if(u.recurringDef){var c=u.recurringDef.duration;c||(c=u.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var f=$t(u,c,t,r,o.recurringTypes),d=0,p=f;d<p.length;d++){var h=p[d],v=zt(l,{start:h,end:r.add(h,c)});s[v.instanceId]=v}}}return{defs:a,instances:s}}function $t(e,t,n,r,o){var i=o[e.recurringDef.typeId],a=i.expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(a=a.map(St)),a}var en=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function tn(e,t){var n;return"string"===typeof e?nn(e):"object"===typeof e&&e?rn(e):"number"===typeof e?rn((n={},n[t||"milliseconds"]=e,n)):null}function nn(e){var t=en.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}function rn(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 on(e,t){return e.years===t.years&&e.months===t.months&&e.days===t.days&&e.milliseconds===t.milliseconds}function an(e,t){return{years:e.years-t.years,months:e.months-t.months,days:e.days-t.days,milliseconds:e.milliseconds-t.milliseconds}}function sn(e){return un(e)/365}function ln(e){return un(e)/30}function un(e){return cn(e)/864e5}function cn(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function fn(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 dn(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",hn(t,!0)))),r}function pn(e){return e.toISOString().replace(/T.*$/,"")}function hn(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+dt(o,2)+":"+dt(i,2):"GMT"+n+o+(i?":"+dt(i,2):"")}function vn(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 gn(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!vn(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 mn(e,t,n){var r,o,i=this;return function(a){if(r){if(!Gt(r,a)){n&&n(o);var s=e.call(i,a);t&&t(s,o)||(o=s)}}else o=e.call(i,a);return r=a,o}}var yn={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},bn={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},An=/\s*([ap])\.?m\.?/i,_n=/,/g,wn=/\s+/g,En=/\u200e/g,Dn=/UTC|GMT/,Cn=function(){function e(e){var t={},n={},r=0;for(var o in e)o in yn?(n[o]=e[o],r=Math.max(yn[o],r)):(t[o]=e[o],o in bn&&(r=Math.max(bn[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=gn(Sn)}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,i=o.standardDateProps,a=o.extendedSettings,s=In(e.marker,t.marker,n.calendarSystem);if(!s)return this.format(e,n);var l=s;!(l>1)||"numeric"!==i.year&&"2-digit"!==i.year||"numeric"!==i.month&&"2-digit"!==i.month||"numeric"!==i.day&&"2-digit"!==i.day||(l=1);var u=this.format(e,n),c=this.format(t,n);if(u===c)return u;var f=On(i,l),d=Sn(f,a,n),p=d(e),h=d(t),v=Nn(u,p,c,h),g=a.separator||r||n.defaultSeparator||"";return v?v.before+p+g+h+v.after:u+g+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 Sn(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return hn(e.timeZoneOffset)}:0===r&&t.week?function(e){return Mn(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:kn(e,t,n)}function kn(e,t,n){e=f({},e),t=f({},t),xn(e,t),e.timeZone="UTC";var r,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var i=f({},e);delete i.minute,r=new Intl.DateTimeFormat(n.locale.codes,i)}return function(i){var a,s=i.marker;a=r&&!s.getUTCMinutes()?r:o;var l=a.format(s);return Tn(l,i,e,t,n)}}function xn(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}function Tn(e,t,n,r,o){return e=e.replace(En,""),"short"===n.timeZoneName&&(e=Rn(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":hn(t.timeZoneOffset))),r.omitCommas&&(e=e.replace(_n,"").trim()),r.omitZeroMinute&&(e=e.replace(":00","")),!1===r.meridiem?e=e.replace(An,"").trim():"narrow"===r.meridiem?e=e.replace(An,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(An,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(An,(function(e){return e.toLocaleLowerCase()}))),e=e.replace(wn," "),e=e.trim(),e}function Rn(e,t){var n=!1;return e=e.replace(Dn,(function(){return n=!0,t})),n||(e+=" "+t),e}function Mn(e,t,n,r,o){var i=[];return"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(),i.join("")}function In(e,t,n){return n.getMarkerYear(e)!==n.getMarkerYear(t)?5:n.getMarkerMonth(e)!==n.getMarkerMonth(t)?4:n.getMarkerDay(e)!==n.getMarkerDay(t)?2:Ut(e)!==Ut(t)?1:0}function On(e,t){var n={};for(var r in e)(!(r in bn)||bn[r]<=t)&&(n[r]=e[r]);return n}function Nn(e,t,n,r){var o=0;while(o<e.length){var i=e.indexOf(t,o);if(-1===i)break;var a=e.substr(0,i);o=i+t.length;var s=e.substr(o),l=0;while(l<n.length){var u=n.indexOf(r,l);if(-1===u)break;var c=n.substr(0,u);l=u+r.length;var f=n.substr(l);if(a===c&&s===f)return{before:a,after:s}}}return null}function Pn(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 Bn(e,t,n,r){var o=Pn(e,n.calendarSystem),i=t?Pn(t,n.calendarSystem):null;return{date:o,start:o,end:i,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var Hn=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,Bn(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,Bn(e,t,n,r))},e}(),Un=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(Bn(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(Bn(e,t,n,r))},e}();function zn(e){return"object"===typeof e&&e?new Cn(e):"string"===typeof e?new Hn(e):"function"===typeof e?new Un(e):null}var Fn={navLinkDayClick:qn,navLinkWeekClick:qn,duration:tn,bootstrapFontAwesome:qn,buttonIcons:qn,customButtons:qn,defaultAllDayEventDuration:tn,defaultTimedEventDuration:tn,nextDayThreshold:tn,scrollTime:tn,scrollTimeReset:Boolean,slotMinTime:tn,slotMaxTime:tn,dayPopoverFormat:zn,slotDuration:tn,snapDuration:tn,headerToolbar:qn,footerToolbar:qn,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:zn,dayHeaderClassNames:qn,dayHeaderContent:qn,dayHeaderDidMount:qn,dayHeaderWillUnmount:qn,dayCellClassNames:qn,dayCellContent:qn,dayCellDidMount:qn,dayCellWillUnmount:qn,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:qn,weekNumbers:Boolean,weekNumberClassNames:qn,weekNumberContent:qn,weekNumberDidMount:qn,weekNumberWillUnmount:qn,editable:Boolean,viewClassNames:qn,viewDidMount:qn,viewWillUnmount:qn,nowIndicator:Boolean,nowIndicatorClassNames:qn,nowIndicatorContent:qn,nowIndicatorDidMount:qn,nowIndicatorWillUnmount:qn,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:qn,locale:qn,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:qn,eventOrder:ft,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:qn,contentHeight:qn,direction:String,weekNumberFormat:zn,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:qn,initialDate:qn,now:qn,eventDataTransform:qn,stickyHeaderDates:qn,stickyFooterScrollbar:qn,viewHeight:qn,defaultAllDay:Boolean,eventSourceFailure:qn,eventSourceSuccess:qn,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:qn,eventConstraint:qn,eventAllow:qn,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:qn,eventContent:qn,eventDidMount:qn,eventWillUnmount:qn,selectConstraint:qn,selectOverlap:qn,selectAllow:qn,droppable:Boolean,unselectCancel:String,slotLabelFormat:qn,slotLaneClassNames:qn,slotLaneContent:qn,slotLaneDidMount:qn,slotLaneWillUnmount:qn,slotLabelClassNames:qn,slotLabelContent:qn,slotLabelDidMount:qn,slotLabelWillUnmount:qn,dayMaxEvents:qn,dayMaxEventRows:qn,dayMinWidth:Number,slotLabelInterval:tn,allDayText:String,allDayClassNames:qn,allDayContent:qn,allDayDidMount:qn,allDayWillUnmount:qn,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:zn,rerenderDelay:Number,moreLinkText:qn,moreLinkHint:qn,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:qn,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:tn,hiddenDays:qn,monthMode:Boolean,fixedWeekCount:Boolean,validRange:qn,visibleRange:qn,titleFormat:qn,eventInteractive:Boolean,noEventsText:String,viewHint:qn,navLinkHint:qn,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:qn,moreLinkClassNames:qn,moreLinkContent:qn,moreLinkDidMount:qn,moreLinkWillUnmount:qn},Ln={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},Vn={datesSet:qn,eventsSet:qn,eventAdd:qn,eventChange:qn,eventRemove:qn,windowResize:qn,eventClick:qn,eventMouseEnter:qn,eventMouseLeave:qn,select:qn,unselect:qn,loading:qn,_unmount:qn,_beforeprint:qn,_afterprint:qn,_noEventDrop:qn,_noEventResize:qn,_resize:qn,_scrollRequest:qn},jn={buttonText:qn,buttonHints:qn,views:qn,plugins:qn,initialEvents:qn,events:qn,eventSources:qn},Qn={headerToolbar:Wn,footerToolbar:Wn,buttonText:Wn,buttonHints:Wn,buttonIcons:Wn};function Wn(e,t){return"object"===typeof e&&"object"===typeof t&&e&&t?Gt(e,t):e===t}var Gn={type:String,component:qn,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:qn,usesMinMaxTime:Boolean,classNames:qn,content:qn,didMount:qn,willUnmount:qn};function Zn(e){return Lt(e,Qn)}function Yn(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 qn(e){return e}function Jn(e,t,n,r){for(var o=er(),i=gr(n),a=0,s=e;a<s.length;a++){var l=s[a],u=hr(l,t,n,r,i);u&&Xn(u,o)}return o}function Xn(e,t){return void 0===t&&(t=er()),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function Kn(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=nr(e,(function(e){return $n(r,e)}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return er()}function $n(e,t){return Boolean(e.groupId&&e.groupId===t.groupId)}function er(){return{defs:{},instances:{}}}function tr(e,t){return{defs:f(f({},e.defs),t.defs),instances:f(f({},e.instances),t.instances)}}function nr(e,t){var n=Vt(e.defs,t),r=Vt(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function rr(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}}function or(e,t){return Array.isArray(e)?Jn(e,null,t,!0):"object"===typeof e&&e?Jn([e],null,t,!0):null!=e?String(e):null}function ir(e){return Array.isArray(e)?e:"string"===typeof e?e.split(/\s+/):[]}var ar={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:qn,overlap:qn,allow:qn,className:ir,classNames:ir,color:String,backgroundColor:String,borderColor:String,textColor:String},sr={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function lr(e,t){var n=or(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 ur(e){return e.reduce(cr,sr)}function cr(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 fr={id:String,groupId:String,title:String,url:String,interactive:Boolean},dr={start:qn,end:qn,date:qn,allDay:Boolean},pr=f(f(f({},fr),dr),{extendedProps:qn});function hr(e,t,n,r,o){void 0===o&&(o=gr(n));var i=vr(e,n,o),a=i.refined,s=i.extra,l=br(t,n),u=Xt(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(u){var c=mr(a,s,t?t.sourceId:"",u.allDay,Boolean(u.duration),n);return c.recurringDef={typeId:u.typeId,typeData:u.typeData,duration:u.duration},{def:c,instance:null}}var f=yr(a,l,n,r);if(f){c=mr(a,s,t?t.sourceId:"",f.allDay,f.hasEnd,n);var d=zt(c.defId,f.range,f.forcedStartTzo,f.forcedEndTzo);return{def:c,instance:d}}return null}function vr(e,t,n){return void 0===n&&(n=gr(t)),Yn(e,n)}function gr(e){return f(f(f({},ar),pr),e.pluginHooks.eventRefiners)}function mr(e,t,n,r,o,i){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:ct(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:lr(e,i),extendedProps:f(f({},e.extendedProps||{}),t)},s=0,l=i.pluginHooks.eventDefMemberAdders;s<l.length;s++){var u=l[s];f(a,u(e))}return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function yr(e,t,n,r){var o,i,a=e.allDay,s=null,l=!1,u=null,c=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(c),o)s=o.marker;else if(!r)return null;return null!=e.end&&(i=n.dateEnv.createMarkerMeta(e.end)),null==a&&(a=null!=t?t:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified)),a&&s&&(s=St(s)),i&&(u=i.marker,a&&(u=St(u)),s&&u<=s&&(u=null)),u?l=!0:r||(l=n.options.forceEventDuration||!1,u=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:a,hasEnd:l,range:{start:s,end:u},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}function br(e,t){var n=null;return e&&(n=e.defaultAllDay),null==n&&(n=t.options.defaultAllDay),n}function Ar(e){var t=Math.floor(bt(e.start,e.end))||1,n=St(e.start),r=mt(n,t);return{start:n,end:r}}function _r(e,t){void 0===t&&(t=tn(0));var n=null,r=null;if(e.end){r=St(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=cn(t)&&(r=mt(r,1))}return e.start&&(n=St(e.start),r&&r<=n&&(r=mt(n,1))),{start:n,end:r}}function wr(e,t,n,r){return"year"===r?tn(n.diffWholeYears(e,t),"year"):"month"===r?tn(n.diffWholeMonths(e,t),"month"):Et(e,t)}function Er(e,t){var n=null,r=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(r=t.createMarker(e.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}function Dr(e,t){var n,r,o=[],i=t.start;for(e.sort(Cr),n=0;n<e.length;n+=1)r=e[n],r.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 Cr(e,t){return e.start.valueOf()-t.start.valueOf()}function Sr(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 kr(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function xr(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function Tr(e,t){return null!=t.start&&e<t.start?t.start:null!=t.end&&e>=t.end?new Date(t.end.valueOf()-1):e}function Rr(e,t,n,r){var o={},i={},a={},s=[],l=[],u=Or(e.defs,t);for(var c in e.defs){var f=e.defs[c],d=u[f.defId];"inverse-background"===d.display&&(f.groupId?(o[f.groupId]=[],a[f.groupId]||(a[f.groupId]=f)):i[c]=[])}for(var p in e.instances){var h=e.instances[p],v=(f=e.defs[h.defId],d=u[f.defId],h.range),g=!f.allDay&&r?_r(v,r):v,m=Sr(g,n);m&&("inverse-background"===d.display?f.groupId?o[f.groupId].push(m):i[h.defId].push(m):"none"!==d.display&&("background"===d.display?s:l).push({def:f,ui:d,instance:h,range:m,isStart:g.start&&g.start.valueOf()===m.start.valueOf(),isEnd:g.end&&g.end.valueOf()===m.end.valueOf()}))}for(var y in o)for(var b=o[y],A=Dr(b,n),_=0,w=A;_<w.length;_++){var E=w[_];f=a[y],d=u[f.defId];s.push({def:f,ui:d,instance:null,range:E,isStart:!1,isEnd:!1})}for(var c in i){b=i[c],A=Dr(b,n);for(var D=0,C=A;D<C.length;D++){E=C[D];s.push({def:e.defs[c],ui:u[c],instance:null,range:E,isStart:!1,isEnd:!1})}}return{bg:s,fg:l}}function Mr(e,t){e.fcSeg=t}function Ir(e){return e.fcSeg||e.parentNode.fcSeg||null}function Or(e,t){return jt(e,(function(e){return Nr(e,t)}))}function Nr(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),ur(n)}function Pr(e,t){for(var n=t.pluginHooks,r=n.isDraggableTransformers,o=e.eventRange,i=o.def,a=o.ui,s=a.startEditable,l=0,u=r;l<u.length;l++){var c=u[l];s=c(s,i,a,t)}return s}function Br(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function Hr(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function Ur(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,u=l.displayEventTime,c=l.displayEventEnd,f=e.eventRange.def,d=e.eventRange.instance;null==u&&(u=!1!==r),null==c&&(c=!1!==o);var p=d.range.start,h=d.range.end,v=i||e.start||e.eventRange.range.start,g=a||e.end||e.eventRange.range.end,m=St(p).valueOf()===St(v).valueOf(),y=St(yt(h,-1)).valueOf()===St(yt(g,-1)).valueOf();return u&&!f.allDay&&(m||y)?(v=m?p:v,g=y?h:g,c&&f.hasEnd?s.formatRange(v,g,t,{forcedStartTzo:i?null:d.forcedStartTzo,forcedEndTzo:a?null:d.forcedEndTzo}):s.format(v,t,{forcedTzo:i?null:d.forcedStartTzo})):""}function zr(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function Fr(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,l=s.eventInteractive;return null==l&&(l=r.interactive,null==l&&(l=Boolean(a.hasHandlers("eventClick")))),l?lt((function(e){a.trigger("eventClick",{el:e.target,event:new co(t,r,o),jsEvent:e,view:t.viewApi})})):{}}var Lr={start:qn,end:qn,allDay:Boolean};function Vr(e,t,n){var r=jr(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 jr(e,t){var n=Yn(e,Lr),r=n.refined,o=n.extra,i=r.start?t.createMarkerMeta(r.start):null,a=r.end?t.createMarkerMeta(r.end):null,s=r.allDay;return null==s&&(s=i&&i.isTimeUnspecified&&(!a||a.isTimeUnspecified)),f({range:{start:i?i.marker:null,end:a?a.marker:null},allDay:s},o)}function Qr(e,t){return f(f({},Gr(e.range,t,e.allDay)),{allDay:e.allDay})}function Wr(e,t,n){return f(f({},Gr(e,t,n)),{timeZone:t.timeZone})}function Gr(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 Zr(e,t,n){var r=vr({editable:!1},n),o=mr(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:Nr(o,t),instance:zt(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}function Yr(e,t,n){n.emitter.trigger("select",f(f({},Jr(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function qr(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}function Jr(e,t){for(var n={},r=0,o=t.pluginHooks.dateSpanTransforms;r<o.length;r++){var i=o[r];f(n,i(e,t))}return f(n,Qr(e,t.dateEnv)),n}function Xr(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=St(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function Kr(e,t,n,r){var o=Or(e.defs,t),i=er();for(var a in e.defs){var s=e.defs[a];i.defs[a]=$r(s,o[a],n,r)}for(var l in e.instances){var u=e.instances[l];s=i.defs[u.defId];i.instances[l]=eo(u,s,o[u.defId],n,r)}return i}function $r(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var i=f(f(f({},e),o),{ui:f(f({},e.ui),o.ui)});n.extendedProps&&(i.extendedProps=f(f({},i.extendedProps),n.extendedProps));for(var a=0,s=r.pluginHooks.eventDefMutationAppliers;a<s.length;a++){var l=s[a];l(i,n,r)}return!i.hasEnd&&r.options.forceEventDuration&&(i.hasEnd=!0),i}function eo(e,t,n,r,o){var i=o.dateEnv,a=r.standardProps&&!0===r.standardProps.allDay,s=r.standardProps&&!1===r.standardProps.hasEnd,l=f({},e);return a&&(l.range=Ar(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:i.add(l.range.start,r.datesDelta),end:i.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:i.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:i.add(l.range.end,r.endDelta)}),s&&(l.range={start:l.range.start,end:Xr(t.allDay,l.range.start,o)}),t.allDay&&(l.range={start:St(l.range.start),end:St(l.range.end)}),l.range.end<l.range.start&&(l.range.end=Xr(t.allDay,l.range.start,o)),l}var to=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}(),no={id:String,defaultAllDay:Boolean,url:String,format:String,events:qn,eventDataTransform:qn,success:qn,failure:qn};function ro(e,t,n){var r;if(void 0===n&&(n=oo(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=Yn(r,n),i=o.refined,a=o.extra,s=io(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:ct(),sourceDefId:s.sourceDefId,meta:s.meta,ui:lr(i,t),extendedProps:a}}return null}function oo(e){return f(f(f({},ar),no),e.pluginHooks.eventSourceRefiners)}function io(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r],i=o.parseMeta(e);if(i)return{sourceDefId:r,meta:i}}return null}function ao(e,t){switch(t.type){case"CHANGE_DATE":return t.dateMarker;default:return e}}function so(e,t){var n=e.initialDate;return null!=n?t.createMarker(n):lo(e.now,t)}function lo(e,t){return"function"===typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var uo=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,d([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,r=this.getCurrentData();t=t||"day",n=r.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&&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:lo(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=tn(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),zn(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),zn(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=Vr(n,r.dateEnv,tn({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),Yr(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),qr(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof co){var n=e._def,r=e._instance,o=this.getCurrentData();return o.eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Xn({def:n,instance:r})}),this.triggerEventAdd(e)),e}var i,a=this.getCurrentData();if(t instanceof Ze)i=t.internalEventSource;else if("boolean"===typeof t)t&&(i=Wt(a.eventSources)[0]);else if(null!=t){var s=this.getEventSourceById(t);if(!s)return console.warn('Could not find an event source with ID "'+t+'"'),null;i=s.internalEventSource}var l=hr(e,i,a,!1);if(l){var u=new co(a,l.def,l.def.recurringDef?null:l.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Xn(l)}),this.triggerEventAdd(u),u}return null},e.prototype.triggerEventAdd=function(e){var t=this,n=this.getCurrentData().emitter;n.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:fo(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 co(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new co(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return po(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 Ze(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 Ze(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof Ze)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=ro(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new Ze(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=tn(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),co=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 dr)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=fr[e](t),this.mutate({standardProps:{publicId:t}});else if(e in fr)t=fr[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in ar){var o=ar[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:(r={},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=this._instance.range,i=wr(o.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:i}):this.mutate({startDelta:i})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e),n))&&this._instance)if(n){var o=wr(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=this._context.dateEnv,i={allDay:n.allDay},a=o.createMarker(e);if(a&&(null==t||(r=o.createMarker(t),r))&&this._instance){var s=this._instance.range;!0===n.allDay&&(s=Ar(s));var l=wr(s.start,a,o,n.granularity);if(r){var u=wr(s.end,r,o,n.granularity);on(l,u)?this.mutate({datesDelta:l,standardProps:i}):this.mutate({startDelta:l,endDelta:u,standardProps:i})}else i.hasEnd=!1,this.mutate({datesDelta:l,standardProps:i})}},e.prototype.moveStart=function(e){var t=tn(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=tn(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=tn(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=zn(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=Kn(i,n.instanceId),s={"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}};a=Kr(a,s,t,o);var l=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:l,event:this,relatedEvents:po(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=fo(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 Ze(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,o=r.startStr,i=r.endStr,a={};return t.title&&(a.title=t.title),o&&(a.start=o),i&&(a.end=i),t.publicId&&(a.id=t.publicId),t.groupId&&(a.groupId=t.groupId),t.url&&(a.url=t.url),n.display&&"auto"!==n.display&&(a.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?a.color=n.backgroundColor:(n.backgroundColor&&(a.backgroundColor=n.backgroundColor),n.borderColor&&(a.borderColor=n.borderColor)),n.textColor&&(a.textColor=n.textColor),n.classNames.length&&(a.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?f(a,t.extendedProps):a.extendedProps=t.extendedProps),a},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function fo(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 po(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],u=r[l.defId];l.instanceId!==a&&i.push(new co(t,u,l))}return i}var ho={};function vo(e,t){ho[e]=t}function go(e){return new ho[e]}var mo=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 Bt(e)},e.prototype.markerToArray=function(e){return Pt(e)},e}();vo("gregory",mo);var yo=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function bo(e){var t=yo.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(Ht(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}var Ao=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=go(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()):Bt(Ot(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=Bt(e)),null!==t&&Ht(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=bo(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 Ut(e)===Ut(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 Ut(e)===Ut(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}:(n=this.diffWholeMonths(e,t),null!==n?{unit:"month",value:n}:(n=Dt(e,t),null!==n?{unit:"week",value:n}:(n=Ct(e,t),null!==n?{unit:"day",value:n}:(n=At(e,t),ht(n)?{unit:"hour",value:n}:(n=_t(e,t),ht(n)?{unit:"minute",value:n}:(n=wt(e,t),ht(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&(r=this.diffWholeYears(e,t),null!==r)?r/sn(n):n.months&&(r=this.diffWholeMonths(e,t),null!==r)?r/ln(n):n.days&&(r=Ct(e,t),null!==r)?r/un(n):(t.valueOf()-e.valueOf())/cn(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?St(e):"hour"===t?kt(e):"minute"===t?xt(e):"second"===t?Tt(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)):Rt(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=yt(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)),dn(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?Bt(Ot(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?Bt(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-Nt(Pt(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Pt(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?Nt(Pt(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(Pt(e))*60):new Date(e.valueOf()-(t||0))},e}(),_o=[],wo={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"},Eo=f(f({},wo),{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 Do(e){for(var t=e.length>0?e[0].code:"en",n=_o.concat(e),r={en:Eo},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function Co(e,t){return"object"!==typeof e||Array.isArray(e)?So(e,t):xo(e.code,[e.code],e)}function So(e,t){var n=[].concat(e||[]),r=ko(n,t)||Eo;return xo(e,n,r)}function ko(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}function xo(e,t,n){var r=Lt([wo,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 To,Ro={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Mo(e,t){return Jn(Io(e),null,t)}function Io(e){var t;return t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"===typeof e&&e?[e]:[],t=t.map((function(e){return f(f({},Ro),e)})),t}function Oo(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 No(){return null==To&&(To=Po()),To}function Po(){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"),n=t.offsetHeight>0;return document.body.removeChild(e),n}var Bo=er();(function(){function e(){this.getKeysForEventDefs=gn(this._getKeysForEventDefs),this.splitDateSelection=gn(this._splitDateSpan),this.splitEventStore=gn(this._splitEventStore),this.splitIndividualUi=gn(this._splitIndividualUi),this.splitEventDrag=gn(this._splitInteraction),this.splitEventResize=gn(this._splitInteraction),this.eventUiBuilders={}}e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),u={};for(var c in this.eventUiBuilders=jt(n,(function(e,n){return t.eventUiBuilders[n]||gn(Ho)})),n){var f=n[c],d=a[c]||Bo,p=this.eventUiBuilders[c];u[c]={businessHours:f.businessHours||e.businessHours,dateSelection:o[c]||null,eventStore:d,eventUiBases:p(e.eventUiBases[""],f.ui,i[c]),eventSelection:d.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[c]||null,eventResize:l[c]||null}}return u},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=this.getKeysForDateSpan(e),r=0,o=n;r<o.length;r++){var i=o[r];t[i]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return jt(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++){var l=s[a];o[l]||(o[l]=er()),o[l].defs[i]=n[i]}for(var u in r)for(var c=r[u],f=0,d=t[c.defId];f<d.length;f++){l=d[f];o[l]&&(o[l].instances[u]=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]||Bo,mutatedEvents:o[r]||Bo,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t}})();function Ho(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":ur(r)};return n&&f(o,n),o}function Uo(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!xr(r.activeRange,e)),isOther:Boolean(r&&!xr(r.currentRange,e)),isToday:Boolean(t&&xr(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function zo(e,t){var n=["fc-day","fc-day-"+gt[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var Fo=zn({year:"numeric",month:"long",day:"numeric"}),Lo=zn({week:"long"});function Vo(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o=e.dateEnv,i=e.options,a=e.calendarApi,s=o.format(t,"week"===n?Lo:Fo);if(i.navLinks){var l=o.toDate(t),u=function(e){var r="day"===n?i.navLinkDayClick:"week"===n?i.navLinkWeekClick:null;"function"===typeof r?r.call(a,o.toDate(t),e):("string"===typeof r&&(n=r),a.zoomTo(t,n))};return f({title:pt(i.navLinkHint,[s,l],s),"data-navlink":""},r?st(u):{onClick:u})}return{"aria-label":s}}var jo;function Qo(){return jo||(jo=Wo()),jo}function Wo(){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=Go(e);return document.body.removeChild(e),t}function Go(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function Zo(e){for(var t=Yo(e),n=e.getBoundingClientRect(),r=0,o=t;r<o.length;r++){var i=o[r],a=Oo(n,i.getBoundingClientRect());if(!a)return null;n=a}return n}function Yo(e){var t=[];while(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 qo(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 Jo=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){Xo(this.handlers,e,t)},e.prototype.off=function(e,t){Ko(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}();function Xo(e,t,n){(e[t]||(e[t]=[])).push(n)}function Ko(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(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)}e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r],a=i.getBoundingClientRect();t.push(a.left-e),n.push(a.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],a=i.getBoundingClientRect();t.push(a.top-e),n.push(a.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this,r=n.lefts,o=n.rights,i=r.length;for(t=0;t<i;t+=1)if(e>=r[t]&&e<o[t])return t},e.prototype.topToIndex=function(e){var t,n=this,r=n.tops,o=n.bottoms,i=r.length;for(t=0;t<i;t+=1)if(e>=r[t]&&e<o[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]}})();var $o=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}(),ei=(function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}c(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}}($o),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}c(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}}($o),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=f({},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],n?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption],t)?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}());ei.prototype.classes={},ei.prototype.iconClasses={},ei.prototype.baseIconClass="",ei.prototype.iconOverridePrefix="";var ti=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=f({},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}(),ni=je({});function ri(e,t,n,r,o,i,a,s,l,u,c,f,d){return{dateEnv:o,options:n,pluginHooks:a,emitter:u,dispatch:s,getCurrentData:l,calendarApi:c,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){u.on("_resize",e)},removeResizeHandler:function(e){u.off("_resize",e)},createScrollResponder:function(e){return new ti(e,u,tn(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:f,unregisterInteractiveComponent:d}}var oi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(Zt(e,this.props),Zt(t,this.state)),!Yt(this.props,e,this.propEquality)||!Yt(this.state,t,this.stateEquality)},t.addPropsEquality=ai,t.addStateEquality=si,t.contextType=ni,t}(Ue);oi.prototype.propEquality={},oi.prototype.stateEquality={};var ii=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.contextType=ni,t}(oi);function ai(e){var t=Object.create(this.prototype.propEquality);f(t,e),this.prototype.propEquality=t}function si(e){var t=Object.create(this.prototype.stateEquality);f(t,e),this.prototype.stateEquality=t}function li(e,t){"function"===typeof e?e(t):e&&(e.current=t)}var ui=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=ct(),t}return c(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&&!qe(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!qe(e,".fc-event:not(.fc-bg-event)")&&!qe(e,".fc-more-link")&&!qe(e,"a[data-navlink]")&&!qe(e,".fc-popover")},t}(ii);function ci(e){return{id:ct(),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 fi(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),r=pi(r,a))}}return e&&o(e),o(t),r}function di(){var e,t=[],n=[];return function(r,o){return e&&vn(r,t)&&vn(o,n)||(e=fi(r,o)),t=r,n=o,e}}function pi(e,t){return{reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:f(f({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:f(f({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:f(f({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:f(f({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:f(f({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,contentTypeHandlers:f(f({},e.contentTypeHandlers),t.contentTypeHandlers),listenerRefiners:f(f({},e.listenerRefiners),t.listenerRefiners),optionRefiners:f(f({},e.optionRefiners),t.optionRefiners),propSetHandlers:f(f({},e.propSetHandlers),t.propSetHandlers)}}var hi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t}(ei);function vi(e,t){var n,r={};for(n in e)gi(n,r,e,t);for(n in t)gi(n,r,e,t);return r}function gi(e,t,n,r){if(t[e])return t[e];var o=mi(e,t,n,r);return o&&(t[e]=o),o}function mi(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},s=a("component"),l=a("superType"),u=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");u=gi(l,t,n,r)}return!s&&u&&(s=u.component),s?{type:e,component:s,defaults:f(f({},u?u.defaults:{}),o?o.rawOptions:{}),overrides:f(f({},u?u.overrides:{}),i?i.rawOptions:{})}:null}hi.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},hi.prototype.baseIconClass="fc-icon",hi.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"},hi.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},hi.prototype.iconOverrideOption="buttonIcons",hi.prototype.iconOverrideCustomButtonOption="icon",hi.prototype.iconOverridePrefix="fc-icon-";var yi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=Le(),t.handleRootEl=function(e){li(t.rootElRef,e),t.props.elRef&&li(t.props.elRef,e)},t}return c(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return ze(wi,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return ze(Ai,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,Di(t.classNames,n),e,o)}))}))},t}(ii),bi=je(0);function Ai(e){return ze(bi.Consumer,null,(function(t){return ze(_i,f({renderId:t},e))}))}var _i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=Le(),t}return c(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=f({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=Ci(e.content,e.hookProps);return void 0===t&&(t=Ci(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}(ii),wi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&li(t.props.elRef,e)},t}return c(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(f(f({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(f(f({},this.props.hookProps),{el:this.rootEl}))},t}(ii);function Ei(){var e,t,n=[];return function(r,o){return t&&Gt(t,o)&&r===e||(e=r,t=o,n=Di(r,o)),n}}function Di(e,t){return"function"===typeof e&&(e=e(t)),ir(e)}function Ci(e,t){return"function"===typeof e?e(t,ze):e}var Si=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=Ei(),t}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=n.options,o={view:n.viewApi},i=this.normalizeClassNames(r.viewClassNames,o);return ze(wi,{hookProps:o,didMount:r.viewDidMount,willUnmount:r.viewWillUnmount,elRef:t.elRef},(function(e){return t.children(e,["fc-"+t.viewSpec.type+"-view","fc-view"].concat(i))}))},t}(ii);function ki(e){return jt(e,xi)}function xi(e){var t="function"===typeof e?{component:e}:e,n=t.component;return t.content&&(n=Ti(t)),{superType:t.type,component:n,rawOptions:t}}function Ti(e){return function(t){return ze(ni.Consumer,null,(function(n){return ze(Si,{viewSpec:n.viewSpec},(function(r,o){var i=f(f({},t),{nextDayThreshold:n.options.nextDayThreshold});return ze(yi,{hookProps:i,classNames:e.classNames,content:e.content,didMount:e.didMount,willUnmount:e.willUnmount,elRef:r},(function(e,t,n,r){return ze("div",{className:o.concat(t).join(" "),ref:e},r)}))}))}))}}function Ri(e,t,n,r){var o=ki(e),i=ki(t.views),a=vi(o,i);return jt(a,(function(e){return Mi(e,i,t,n,r)}))}function Mi(e,t,n,r,o){var i=e.overrides.duration||e.defaults.duration||r.duration||n.duration,a=null,s="",l="",u={};if(i&&(a=Oi(i),a)){var c=fn(a);s=c.unit,1===c.value&&(l=s,u=t[s]?t[s].rawOptions:{})}var d=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[l]?n[l]: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[l]?n[l]:null};return{type:e.type,component:e.component,duration:a,durationUnit:s,singleUnit:l,optionDefaults:e.defaults,optionOverrides:f(f({},u),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(o)||e.defaults.buttonText||d(Ln)||e.type,buttonTitleOverride:p(r)||p(n)||e.overrides.buttonHint,buttonTitleDefault:p(o)||e.defaults.buttonHint||p(Ln)}}var Ii={};function Oi(e){var t=JSON.stringify(e),n=Ii[t];return void 0===n&&(n=tn(e),Ii[t]=n),n}var Ni=function(){function e(e){this.props=e,this.nowDate=lo(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,u=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(e=Tr(e,r)),o=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),a=this.trimHiddenDays(a),s=a,u.showNonCurrentDates||(s=Sr(s,o.range)),s=this.adjustActiveRange(s),s=Sr(s,r),l=kr(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:u.slotMinTime,slotMaxTime:u.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:(o=this.getFallbackDuration(),i=fn(o).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return tn({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&&(un(o)<0&&(a=St(a),a=n.add(a,o)),un(i)>1&&(s=St(s),s=mt(s,-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,u=s.dateAlignment;if(!u){var c=this.props.dateIncrement;u=c&&cn(c)<cn(n)?fn(c).unit:r}function f(){o=l.startOf(e,u),i=l.add(o,n),a={start:o,end:i}}return un(n)<=1&&this.isHiddenDay(o)&&(o=this.skipHiddenDays(o,t),o=St(o)),f(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),f()),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=St(l),l=this.skipHiddenDays(l,t),r=l;do{r=mt(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)?tn(1,t):e||tn({days:1}))},e.prototype.refineRange=function(e){if(e){var t=Er(e,this.props.dateEnv);return t&&(t=_r(t)),t}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){void 0===t&&(t=1),void 0===n&&(n=!1);while(this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7])e=mt(e,t);return e},e}();function Pi(e,t){switch(t.type){case"CHANGE_VIEW_TYPE":e=t.viewType}return e}function Bi(e,t){var n;switch(t.type){case"SET_OPTION":return f(f({},e),(n={},n[t.optionName]=t.rawOptionValue,n));default:return e}}function Hi(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),o.isValid)return o;break;case"NEXT":if(o=r.buildNext(e,n),o.isValid)return o;break}return e}function Ui(e,t,n){var r=t?t.activeRange:null;return Vi({},Ji(e,n),r,n)}function zi(e,t,n,r){var o=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Vi(e,t.sources,o,r);case"REMOVE_EVENT_SOURCE":return ji(e,t.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Qi(e,o,r):e;case"FETCH_EVENT_SOURCES":return Gi(e,t.sourceIds?Qt(t.sourceIds):qi(e,r),o,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return Yi(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function Fi(e,t,n){var r=t?t.activeRange:null;return Gi(e,qi(e,n),r,!0,n)}function Li(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function Vi(e,t,n,r){for(var o={},i=0,a=t;i<a.length;i++){var s=a[i];o[s.sourceId]=s}return n&&(o=Qi(o,n,r)),f(f({},e),o)}function ji(e,t){return Vt(e,(function(e){return e.sourceId!==t}))}function Qi(e,t,n){return Gi(e,Vt(e,(function(e){return Wi(e,t,n)})),t,!1,n)}function Wi(e,t,n){return Xi(e,n)?!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end:!e.latestFetchId}function Gi(e,t,n,r,o){var i={};for(var a in e){var s=e[a];t[a]?i[a]=Zi(s,n,r,o):i[a]=s}return i}function Zi(e,t,n,r){var o=r.options,i=r.calendarApi,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],s=ct();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:s,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:s,fetchRange:t,error:n})})),f(f({},e),{isFetching:!0,latestFetchId:s})}function Yi(e,t,n,r){var o,i=e[t];return i&&n===i.latestFetchId?f(f({},e),(o={},o[t]=f(f({},i),{isFetching:!1,fetchRange:r}),o)):e}function qi(e,t){return Vt(e,(function(e){return Xi(e,t)}))}function Ji(e,t){var n=oo(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=a[i],l=ro(s,t,n);l&&o.push(l)}return o}function Xi(e,t){var n=t.pluginHooks.eventSourceDefs;return!n[e.sourceDefId].ignoreRange}function Ki(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return $i(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return na(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return tr(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?Kt(e,r.activeRange,o):e;case"REMOVE_EVENTS":return rr(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return oa(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return nr(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return er();default:return e}}function $i(e,t,n,r,o,i){if(t&&n===t.latestFetchId){var a=Jn(ea(o,t,i),t,i);return r&&(a=Kt(a,r,i)),tr(oa(e,t.sourceId),a)}return e}function ea(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;return o&&(e=ta(e,o)),r&&(e=ta(e,r)),e}function ta(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 na(e,t,n,r){return n&&(t=Kt(t,n,r)),tr(e,t)}function ra(e,t,n){var r=e.defs,o=jt(e.instances,(function(e){var o=r[e.defId];return o.allDay||o.recurringDef?e:f(f({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})}));return{defs:r,instances:o}}function oa(e,t){return nr(e,(function(e){return e.sourceId!==t}))}function ia(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function aa(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function sa(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function la(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function ua(e,t,n,r,o){var i=e.headerToolbar?ca(e.headerToolbar,e,t,n,r,o):null,a=e.footerToolbar?ca(e.footerToolbar,e,t,n,r,o):null;return{header:i,footer:a}}function ca(e,t,n,r,o,i){var a={},s=[],l=!1;for(var u in e){var c=e[u],f=fa(c,t,n,r,o,i);a[u]=f.widgets,s.push.apply(s,f.viewsWithButtons),l=l||f.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function fa(e,t,n,r,o,i){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},u=t.buttonText||{},c=n.buttonHints||{},f=t.buttonHints||{},d=e?e.split(" "):[],p=[],h=!1,v=d.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,d,v,g,m,y;if(n=s[e])v=function(e){n.click&&n.click.call(e.target,e,e.target)},(g=r.getCustomButtonIconClass(n))||(g=r.getIconClass(e,a))||(m=n.text),y=n.hint||n.text;else if(d=o[e]){p.push(e),v=function(){i.changeView(e)},(m=d.buttonTextOverride)||(g=r.getIconClass(e,a))||(m=d.buttonTextDefault);var b=d.buttonTextOverride||d.buttonTextDefault;y=pt(d.buttonTitleOverride||d.buttonTitleDefault||t.viewHint,[b,e],b)}else if(i[e])if(v=function(){i[e]()},(m=l[e])||(g=r.getIconClass(e,a))||(m=u[e]),"prevYear"===e||"nextYear"===e){var A="prevYear"===e?"prev":"next";y=pt(c[A]||f[A],[u.year||"year","year"],u[e])}else y=function(t){return pt(c[e]||f[e],[u[t]||t,t],u[e])};return{buttonName:e,buttonClick:v,buttonIcon:g,buttonText:m,buttonHint:y}}))}));return{widgets:v,viewsWithButtons:p,hasTitle:h}}var da={ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}},pa=ci({eventSourceDefs:[da]}),ha={parseMeta:function(e){return"function"===typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv,o=e.eventSource.meta;qo(o.bind(null,Wr(e.range,r)),(function(e){t({rawEvents:e})}),n)}},va=ci({eventSourceDefs:[ha]});function ga(e,t,n,r,o){e=e.toUpperCase();var i=null;"GET"===e?t=ma(t,n):i=ya(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(n){}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 ma(e,t){return e+(-1===e.indexOf("?")?"?":"&")+ya(t)}function ya(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}var ba={method:String,extraParams:qn,startParam:String,endParam:String,timeZoneParam:String},Aa={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=wa(r,e.range,e.context);ga(r.method,r.url,o,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}},_a=ci({eventSourceRefiners:ba,eventSourceDefs:[Aa]});function wa(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,u={};return r=e.startParam,null==r&&(r=l.startParam),o=e.endParam,null==o&&(o=l.endParam),i=e.timeZoneParam,null==i&&(i=l.timeZoneParam),a="function"===typeof e.extraParams?e.extraParams():e.extraParams||{},f(u,a),u[r]=s.formatIso(t.start),u[o]=s.formatIso(t.end),"local"!==s.timeZone&&(u[i]=s.timeZone),u}var Ea={daysOfWeek:qn,startTime:tn,endTime:tn,duration:tn,startRecur:qn,endRecur:qn},Da={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&&(r=an(e.endTime,e.startTime)),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}return null},expand:function(e,t,n){var r=Sr(t,{start:e.startRecur,end:e.endRecur});return r?Sa(e.daysOfWeek,e.startTime,r,n):[]}},Ca=ci({recurringTypes:[Da],eventRefiners:Ea});function Sa(e,t,n,r){var o=e?Qt(e):null,i=St(n.start),a=n.end,s=[];while(i<a){var l=void 0;o&&!o[i.getUTCDay()]||(l=t?r.add(i,t):i,s.push(l)),i=mt(i,1)}return s}var ka=ci({optionChangeHandlers:{events:function(e,t){xa([e],t)},eventSources:xa}});function xa(e,t){for(var n=Wt(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var u=0,c=n;u<c.length;u++){var f=c[u];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:f.sourceId})}for(var d=0,p=r;d<p.length;d++){var h=p[d];t.calendarApi.addEventSource(h)}}function Ta(e,t){t.emitter.trigger("datesSet",f(f({},Wr(e.activeRange,t.dateEnv)),{view:t.viewApi}))}function Ra(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",po(e,t))}var Ma=[pa,va,_a,Ca,ka,ci({isLoadingFuncs:[function(e){return Li(e.eventSources)}],contentTypeHandlers:{html:Ia,domNodes:Oa},propSetHandlers:{dateProfile:Ta,eventStore:Ra}})];function Ia(){var e=null,t="";function n(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r}function r(){e.innerHTML="",e=null,t=""}return{render:n,destroy:r}}function Oa(){var e=null,t=[];function n(n,o){var i=Array.prototype.slice.call(o);if(n!==e||!vn(t,i)){for(var a=0,s=i;a<s.length;a++){var l=s[a];n.appendChild(l)}r()}e=n,t=i}function r(){t.forEach(Ye),t=[],e=null}return{render:n,destroy:r}}var Na=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;var r=n[e];r<=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()){this.isRunning=!0;while(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}(),Pa=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new Na(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(){var e=this.queue;while(e.length){var t=[],n=void 0;while(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 Ba(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,zn(t.titleFormat||Ha(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}function Ha(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=Ct(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}var Ua=function(){function e(e){var t=this;this.computeOptionsData=gn(this._computeOptionsData),this.computeCurrentViewData=gn(this._computeCurrentViewData),this.organizeRawLocales=gn(Do),this.buildLocale=gn(Co),this.buildPluginHooks=di(),this.buildDateEnv=gn(za),this.buildTheme=gn(Fa),this.parseToolbars=gn(ua),this.buildViewSpecs=gn(Ri),this.buildDateProfileGenerator=mn(La),this.buildViewApi=gn(Va),this.buildViewUiProps=mn(Wa),this.buildEventUiBySource=gn(ja,Gt),this.buildEventUiBases=gn(Qa),this.parseContextBusinessHours=mn(Za),this.buildTitle=gn(Ba),this.emitter=new Jo,this.actionRunner=new Pa(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=so(r.calendarOptions,r.dateEnv),s=i.dateProfileGenerator.build(a);xr(s.activeRange,a)||(a=s.currentRange.start);for(var l={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},u=0,c=r.pluginHooks.contextInit;u<c.length;u++){var d=c[u];d(l)}for(var p=Ui(r.calendarOptions,s,l),h={dynamicOptionOverrides:n,currentViewType:o,currentDate:a,dateProfile:s,businessHours:this.parseContextBusinessHours(l),eventSources:p,eventUiBases:{},eventStore:er(),renderableEventStore:er(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(l).selectionConfig},v=f(f({},l),h),g=0,m=r.pluginHooks.reducers;g<m.length;g++){var y=m[g];f(h,y(null,null,v))}Ga(h,l)&&this.emitter.trigger("loading",!0),this.state=h,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?f(f({},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=Bi(r.dynamicOptionOverrides,e),a=this.computeOptionsData(n.optionOverrides,i,n.calendarApi),s=Pi(r.currentViewType,e),l=this.computeCurrentViewData(s,a,n.optionOverrides,i);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(l.options);var u={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},c=r.currentDate,d=r.dateProfile;this.data&&this.data.dateProfileGenerator!==l.dateProfileGenerator&&(d=l.dateProfileGenerator.build(c)),c=ao(c,e),d=Hi(d,e,c,l.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&xr(d.currentRange,c)||(c=d.currentRange.start);for(var p=zi(r.eventSources,e,d,u),h=Ki(r.eventStore,e,p,d,u),v=Li(p),g=v&&!l.options.progressiveEventRendering&&r.renderableEventStore||h,m=this.buildViewUiProps(u),y=m.eventUiSingleBase,b=m.selectionConfig,A=this.buildEventUiBySource(p),_=this.buildEventUiBases(g.defs,y,A),w={dynamicOptionOverrides:i,currentViewType:s,currentDate:c,dateProfile:d,eventSources:p,eventStore:h,renderableEventStore:g,selectionConfig:b,eventUiBases:_,businessHours:this.parseContextBusinessHours(u),dateSelection:ia(r.dateSelection,e),eventSelection:aa(r.eventSelection,e),eventDrag:sa(r.eventDrag,e),eventResize:la(r.eventResize,e)},E=f(f({},u),w),D=0,C=a.pluginHooks.reducers;D<C.length;D++){var S=C[D];f(w,S(r,e,E))}var k=Ga(r,u),x=Ga(w,u);!k&&x?o.trigger("loading",!0):k&&!x&&o.trigger("loading",!1),this.state=w,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e=this,t=e.props,n=e.state,r=this.data,o=this.computeOptionsData(t.optionOverrides,n.dynamicOptionOverrides,t.calendarApi),i=this.computeCurrentViewData(n.currentViewType,o,t.optionOverrides,n.dynamicOptionOverrides),a=this.data=f(f(f({viewTitle:this.buildTitle(n.dateProfile,i.options,o.dateEnv),calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},o),i),n),s=o.pluginHooks.optionChangeHandlers,l=r&&r.calendarOptions,u=o.calendarOptions;if(l&&l!==u)for(var c in l.timeZone!==u.timeZone&&(n.eventSources=a.eventSources=Fi(a.eventSources,n.dateProfile,a),n.eventStore=a.eventStore=ra(a.eventStore,r.dateEnv,a.dateEnv)),s)l[c]!==u[c]&&s[c](u[c],a);t.onData&&t.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,l=r.extra;Ya(l);var u=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,e,t,a),f=this.buildTheme(o,i),d=this.parseToolbars(o,e,f,c,n);return{calendarOptions:o,pluginHooks:i,dateEnv:u,viewSpecs:c,theme:f,toolbarConfig:d,localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=Zn([Ln,e,t]),r=n.locales,o=n.locale,i=this.organizeRawLocales(r),a=i.map,s=this.buildLocale(o||i.defaultCode,a).options,l=this.buildPluginHooks(e.plugins||[],Ma),u=this.currentCalendarOptionsRefiners=f(f(f(f(f({},Fn),Vn),jn),l.listenerRefiners),l.optionRefiners),c={},d=Zn([Ln,s,e,t]),p={},h=this.currentCalendarOptionsInput,v=this.currentCalendarOptionsRefined,g=!1;for(var m in d)"plugins"!==m&&(d[m]===h[m]||Qn[m]&&m in h&&Qn[m](h[m],d[m])?p[m]=v[m]:u[m]?(p[m]=u[m](d[m]),g=!0):c[m]=h[m]);return g&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=p),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:i,localeDefaults:s,extra:c}},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,s=i.extra;Ya(s);var l=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}),u=this.buildViewApi(e,this.getCurrentData,t.dateEnv);return{viewSpec:o,options:a,dateProfileGenerator:l,viewApi:u}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var i=Zn([Ln,e.optionDefaults,n,r,e.optionOverrides,o]),a=f(f(f(f(f(f({},Fn),Vn),jn),Gn),t.listenerRefiners),t.optionRefiners),s={},l=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,c=!1,d={};for(var p in i)i[p]===l[p]?s[p]=u[p]:(i[p]===this.currentCalendarOptionsInput[p]?p in this.currentCalendarOptionsRefined&&(s[p]=this.currentCalendarOptionsRefined[p]):a[p]?s[p]=a[p](i[p]):d[p]=i[p],c=!0);return c&&(this.currentViewOptionsInput=i,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}},e}();function za(e,t,n,r,o,i,a,s){var l=Co(t||a.defaultCode,a.map);return new Ao({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function Fa(e,t){var n=t.themeClasses[e.themeSystem]||hi;return new n(e)}function La(e){var t=e.dateProfileGeneratorClass||Ni;return new t(e)}function Va(e,t,n){return new to(e,t,n)}function ja(e){return jt(e,(function(e){return e.ui}))}function Qa(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 Wa(e){var t=e.options;return{eventUiSingleBase:lr({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:lr({constraint:t.selectConstraint,overlap:"boolean"===typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function Ga(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){var o=r[n];if(o(e))return!0}return!1}function Za(e){return Mo(e.options.businessHours,e)}function Ya(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}(function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new Ua({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}c(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)}})(Ue);(function(){function e(e){this.timeZoneName=e}})(),function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}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,d([{index:e.index,thickness:e.thickness,span:Xa(a,i)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this,r=n.entriesByLevel,o=n.levelCoords;-1===t.lateral?(Ka(o,t.level,t.levelCoord),Ka(r,t.level,[e])):Ka(r[t.level],t.lateral,e),this.stackCnts[Ja(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,o=t.strictOrder,i=t.stackCnts,a=n.length,s=0,l=-1,u=-1,c=null,f=0,d=0;d<a;d+=1){var p=n[d];if(!o&&p>=s+e.thickness)break;var h=r[d],v=void 0,g=$a(h,e.span.start,qa),m=g[0]+g[1];while((v=h[m])&&v.span.start<e.span.end){var y=p+v.thickness;y>s&&(s=y,c=v,l=d,u=m),y===s&&(f=Math.max(f,i[Ja(v)]+1)),m+=1}}var b=0;if(c){b=l+1;while(b<a&&n[b]<s)b+=1}var A=-1;return b<a&&n[b]===s&&(A=$a(r[b],e.span.end,qa)[0]),{touchingLevel:l,touchingLateral:u,touchingEntry:c,stackCnt:f,levelCoord:s,level:b,lateral:A}},e.prototype.toRects=function(){for(var e=this,t=e.entriesByLevel,n=e.levelCoords,r=t.length,o=[],i=0;i<r;i+=1)for(var a=t[i],s=n[i],l=0,u=a;l<u.length;l++){var c=u[l];o.push(f(f({},c),{levelCoord:s}))}return o}}();function qa(e){return e.span.end}function Ja(e){return e.index+":"+e.span.start}function Xa(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 Ka(e,t,n){e.splice(t,0,n)}function $a(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];while(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 es=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function ts(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}var ns={};(function(){function e(e,t){this.emitter=new Jo}e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){}})(),Boolean;var rs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return ze.apply(void 0,d(["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 s=a[i],l=s.buttonName,u=s.buttonClick,c=s.buttonText,f=s.buttonIcon,p=s.buttonHint;if("title"===l)o=!1,r.push(ze("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var h=l===t.activeButton,v=!t.isTodayEnabled&&"today"===l||!t.isPrevEnabled&&"prev"===l||!t.isNextEnabled&&"next"===l,g=["fc-"+l+"-button",n.getClass("button")];h&&g.push(n.getClass("buttonActive")),r.push(ze("button",{type:"button",title:"function"===typeof p?p(t.navUnit):p,disabled:v,"aria-pressed":h,className:g.join(" "),onClick:u},c||(f?ze("span",{className:f}):"")))}}if(r.length>1){var m=o&&n.getClass("buttonGroup")||"";return ze.apply(void 0,d(["div",{className:m}],r))}return r[0]},t}(ii),os=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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;a.left?(i=!0,e=a.left):e=a.start,a.right?(i=!0,t=a.right):t=a.end;var l=[o||"","fc-toolbar",i?"fc-toolbar-ltr":""];return ze("div",{className:l.join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return ze(rs,{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}(ii),is=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,li(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=t.aspectRatio,o=["fc-view-harness",r||t.liquid||t.height?"fc-view-harness-active":"fc-view-harness-passive"],i="",a="";return r?null!==n.availableWidth?i=n.availableWidth/r:a=1/r*100+"%":i=t.height||"",ze("div",{"aria-labelledby":t.labeledById,ref:this.handleEl,className:o.join(" "),style:{height:i,paddingBottom:a}},t.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}(ii),as=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=Ir(t);if(i&&r.isValidSegDownEl(e.target)){var a=qe(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new co(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=it(t.el,"click",".fc-event",n.handleSegClick),n}return c(t,e),t}(es),ss=function(e){function t(t){var n=e.call(this,t)||this;return n.handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){Ir(t)&&(n.currentSegEl=t,n.triggerEvent("eventMouseEnter",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",e,t))},n.removeHoverListeners=at(t.el,".fc-event",n.handleSegEnter,n.handleSegLeave),n}return c(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=Ir(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new co(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(es),ls=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=gn(ri),t.buildViewPropTransformers=gn(cs),t.buildToolbarProps=gn(us),t.headerRef=Le(),t.footerRef=Le(),t.interactionsStore={},t.state={viewLabelId:rt()},t.registerInteractiveComponent=function(e,n){var r=ts(e,n),o=[as,ss],i=o.concat(t.props.pluginHooks.componentInteractions),a=i.map((function(e){return new e(r)}));t.interactionsStore[e.uid]=a,ns[e.uid]=r},t.unregisterInteractiveComponent=function(e){for(var n=0,r=t.interactionsStore[e.uid];n<r.length;n++){var o=r[n];o.destroy()}delete t.interactionsStore[e.uid],delete ns[e.uid]},t.resizeRunner=new Na((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 c(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,lo(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 s=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),l=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return ze(ni.Provider,{value:s},n.header&&ze(os,f({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},o)),ze(is,{liquid:i,height:a,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&ze(os,f({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++){var n=t[e];n.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 ze.apply(void 0,d([Ve,{}],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=this.buildViewPropTransformers(t.viewPropsTransformers),i=0,a=o;i<a.length;i++){var s=a[i];f(r,s.transform(r,e))}var l=n.component;return ze(l,f({},r))},t}(oi);function us(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&&!xr(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function cs(e){return e.map((function(e){return new e}))}var fs=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 c(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 No()||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}(ii);function ds(e,t){return zn(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var ps="fc-col-header-cell";function hs(e){return e.text}var vs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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,s=i.dateProfile,l=Uo(a,i.todayRange,null,s),u=[ps].concat(zo(l,r)),c=t.format(a,i.dayHeaderFormat),d=!l.isDisabled&&i.colCnt>1?Vo(this.context,a):{},p=f(f(f({date:t.toDate(a),view:o},i.extraHookProps),{text:c}),l);return ze(yi,{hookProps:p,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:hs,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return ze("th",f({ref:e,role:"columnheader",className:u.concat(t).join(" "),"data-date":l.isDisabled?void 0:pn(a),colSpan:i.colSpan},i.extraDataAttrs),ze("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&ze("a",f({ref:n,className:["fc-col-header-cell-cushion",i.isSticky?"fc-sticky":""].join(" ")},d),r)))}))},t}(ii),gs=zn({weekday:"long"}),ms=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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=mt(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=[ps].concat(zo(s,r),e.extraClassNames||[]),u=n.format(a,e.dayHeaderFormat),c=f(f(f(f({date:a},s),{view:o}),e.extraHookProps),{text:u});return ze(yi,{hookProps:c,classNames:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:hs,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},(function(t,r,o,i){return ze("th",f({ref:t,role:"columnheader",className:l.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),ze("div",{className:"fc-scrollgrid-sync-inner"},ze("a",{"aria-label":n.format(a,gs),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(ii),ys=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=lo(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state;return t.children(n.nowDate,n.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,t=e.props,n=e.context,r=yt(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),o=n.dateEnv.startOf(r,t.unit),i=n.dateEnv.add(o,tn(1,t.unit)),a=i.valueOf()-r.valueOf();return a=Math.min(864e5,a),{currentState:{nowDate:o,todayRange:bs(o)},nextState:{nowDate:i,todayRange:bs(i)},waitMs:a}},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=ni,t}(Ue);function bs(e){var t=St(e),n=mt(t,1);return{start:t,end:n}}(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=gn(As),t}c(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 ze(ys,{unit:"day"},(function(e,t){return ze("tr",{role:"row"},i&&i("day"),n.map((function(e){return o?ze(vs,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):ze(ms,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})})))}))}})(ii);function As(e,t,n){return e||ds(t,n)}(function(){function e(e,t){var n=e.start,r=e.end,o=[],i=[],a=-1;while(n<r)t.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=mt(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(mt(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return r=Math.ceil(r),o=Math.floor(o),r<=o?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(bt(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;n+=1)if(i[n].getUTCDay()===r)break;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){var o=n.firstIndex,i=n.lastIndex,a=o;while(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}}(),function(){function e(){this.sliceBusinessHours=gn(this._sliceBusinessHours),this.sliceDateSelection=gn(this._sliceDateSpan),this.sliceEventStore=gn(this._sliceEventStore),this.sliceEventDrag=gn(this._sliceInteraction),this.sliceEventResize=gn(this._sliceInteraction),this.forceDayIfListItem=!1}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,s=this.sliceEventStore.apply(this,d([e.eventStore,a,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,d([e.dateSelection,a,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,d([e.businessHours,t,n,r],o)),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag.apply(this,d([e.eventDrag,a,t,n],o)),eventResize:this.sliceEventResize.apply(this,d([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,d([{range:{start:e,end:yt(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,d([Kt(e,_s(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=Rr(e,t,_s(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=Rr(e.mutatedEvents,t,_s(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=Zr(e,t,n),a=this.sliceRange.apply(this,d([e.range],r)),s=0,l=a;s<l.length;s++){var u=l[s];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:mt(n.start,1)});for(var r=this.sliceRange.apply(this,d([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}}();function _s(e,t){var n=e.activeRange;return t?n:{start:yt(n.start,e.slotMinTime.milliseconds),end:yt(n.end,e.slotMaxTime.milliseconds-864e5)}}var ws=/^(visible|hidden)$/,Es=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,li(t.props.elRef,e)},t}return c(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")),ze("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(ws.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){var o=n[r];if(o.getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(ws.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){var o=n[r];if(o.getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return ws.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return ws.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(ii),Ds=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 Jt(this.currentMap,e,t,n)},e.prototype.getAll=function(){return Wt(this.currentMap)},e}();function Cs(e){for(var t=Xe(e,".fc-scrollgrid-shrink"),n=0,r=0,o=t;r<o.length;r++){var i=o[r];n=Math.max(n,vt(i))}return Math.ceil(n)}function Ss(e,t){return e.liquid&&t.liquid}function ks(e,t){return null!=t.maxHeight||Ss(e,t)}function xs(e,t,n,r){var o=n.expandRows,i="function"===typeof t.content?t.content(n):ze("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,ze(r?"thead":"tbody",{role:"presentation"},"function"===typeof t.rowContent?t.rowContent(n):t.rowContent));return i}function Ts(e,t){return vn(e,t,Gt)}function Rs(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var i=o[r],a=i.span||1,s=0;s<a;s+=1)n.push(ze("col",{style:{width:"shrink"===i.width?Ms(t):i.width||"",minWidth:i.minWidth||""}}));return ze.apply(void 0,d(["colgroup",{}],n))}function Ms(e){return null==e?4:e}function Is(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];if("shrink"===r.width)return!0}return!1}function Os(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function Ns(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}var Ps=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=gn((function(e){return e}),Ts),t.renderMicroColGroup=gn(Rs),t.scrollerRefs=new Ds,t.scrollerElRefs=new Ds(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.setState(f({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return c(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),s=Os(t.liquid,r);t.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");var l,u=o.length,c=0,f=[],p=[],h=[];while(c<u&&"header"===(l=o[c]).type)f.push(this.renderSection(l,a,!0)),c+=1;while(c<u&&"body"===(l=o[c]).type)p.push(this.renderSection(l,a,!1)),c+=1;while(c<u&&"footer"===(l=o[c]).type)h.push(this.renderSection(l,a,!0)),c+=1;var v=!No(),g={role:"rowgroup"};return ze("table",{role:"grid",className:s.join(" "),style:{height:t.height}},Boolean(!v&&f.length)&&ze.apply(void 0,d(["thead",g],f)),Boolean(!v&&p.length)&&ze.apply(void 0,d(["tbody",g],p)),Boolean(!v&&h.length)&&ze.apply(void 0,d(["tfoot",g],h)),v&&ze.apply(void 0,d(d(d(["tbody",g],f),p),h)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?ze(Ve,{key:e.key},e.outerContent):ze("tr",{key:e.key,role:"presentation",className:Ns(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=ks(o,e),c=Ss(o,e),f=o.liquid?a?"scroll":u?"auto":"hidden":"visible",d=e.key,p=xs(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[d]?null:s[d],clientHeight:void 0!==l[d]?l[d]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return ze(r?"th":"td",{ref:n.elRef,role:"presentation"},ze("div",{className:"fc-scroller-harness"+(c?" fc-scroller-harness-liquid":"")},ze(Es,{ref:this.scrollerRefs.createRef(d),elRef:this.scrollerElRefs.createRef(d),overflowY:f,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},p)))},t.prototype._handleScrollerEl=function(e,t){var n=Bs(this.props.sections,t);n&&li(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 Is(this.props.cols)?Cs(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=Qo(),t=this,n=t.scrollerRefs,r=t.scrollerElRefs,o=!1,i={},a={};for(var s in n.currentMap){var l=n.currentMap[s];if(l&&l.needsYScrolling()){o=!0;break}}for(var u=0,c=this.props.sections;u<c.length;u++){var f=c[u],d=(s=f.key,r.currentMap[s]);if(d){var p=d.parentNode;i[s]=Math.floor(p.getBoundingClientRect().width-(o?e.y:0)),a[s]=Math.floor(p.getBoundingClientRect().height)}}return{forceYScrollbars:o,scrollerClientWidths:i,scrollerClientHeights:a}},t}(ii);function Bs(e,t){for(var n=0,r=e;n<r.length;n++){var o=r[n];if(o.key===t)return o}return null}Ps.addStateEquality({scrollerClientWidths:Gt,scrollerClientHeights:Gt});var Hs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=Le(),t}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=n.options,o=t.seg,i=o.eventRange,a=i.ui,s={event:new co(n,i.def,i.instance),view:n.viewApi,timeText:t.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!t.disableDragging&&Pr(o,n),isStartResizable:!t.disableResizing&&Br(o,n),isEndResizable:!t.disableResizing&&Hr(o),isMirror:Boolean(t.isDragging||t.isResizing||t.isDateSelecting),isStart:Boolean(o.isStart),isEnd:Boolean(o.isEnd),isPast:Boolean(t.isPast),isFuture:Boolean(t.isFuture),isToday:Boolean(t.isToday),isSelected:Boolean(t.isSelected),isDragging:Boolean(t.isDragging),isResizing:Boolean(t.isResizing)},l=zr(s).concat(a.classNames);return ze(yi,{hookProps:s,classNames:r.eventClassNames,content:r.eventContent,defaultContent:t.defaultContent,didMount:r.eventDidMount,willUnmount:r.eventWillUnmount,elRef:this.elRef},(function(e,n,r,o){return t.children(e,l.concat(n),r,o,s)}))},t.prototype.componentDidMount=function(){Mr(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&Mr(this.elRef.current,t)},t}(ii);(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=t.seg,o=n.options.eventTimeFormat||t.defaultTimeFormat,i=Ur(r,o,n,t.defaultDisplayEventTime,t.defaultDisplayEventEnd);return ze(Hs,{seg:r,timeText:i,disableDragging:t.disableDragging,disableResizing:t.disableResizing,defaultContent:t.defaultContent||Us,isDragging:t.isDragging,isResizing:t.isResizing,isDateSelecting:t.isDateSelecting,isSelected:t.isSelected,isPast:t.isPast,isFuture:t.isFuture,isToday:t.isToday},(function(e,o,i,a,s){return ze("a",f({className:t.extraClassNames.concat(o).join(" "),style:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},ref:e},Fr(r,n)),ze("div",{className:"fc-event-main",ref:i,style:{color:s.textColor}},a),s.isStartResizable&&ze("div",{className:"fc-event-resizer fc-event-resizer-start"}),s.isEndResizable&&ze("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))}})(ii);function Us(e){return ze("div",{className:"fc-event-main-frame"},e.timeText&&ze("div",{className:"fc-event-time"},e.timeText),ze("div",{className:"fc-event-title-container"},ze("div",{className:"fc-event-title fc-sticky"},e.event.title||ze(Ve,null," "))))}var zs=zn({day:"numeric"}),Fs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=n.options,o=Ls({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraProps:t.extraHookProps,viewApi:n.viewApi,dateEnv:n.dateEnv});return ze(Ai,{hookProps:o,content:r.dayCellContent,defaultContent:t.defaultContent},t.children)},t}(ii);function Ls(e){var t=e.date,n=e.dateEnv,r=Uo(t,e.todayRange,null,e.dateProfile);return f(f(f({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,zs):""}),e.extraProps)}var Vs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=mn(Ls),t.normalizeClassNames=Ei(),t}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=n.options,o=this.refineHookProps({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraProps:t.extraHookProps,viewApi:n.viewApi,dateEnv:n.dateEnv}),i=zo(o,n.theme).concat(o.isDisabled?[]:this.normalizeClassNames(r.dayCellClassNames,o)),a=o.isDisabled?{}:{"data-date":pn(t.date)};return ze(wi,{hookProps:o,didMount:r.dayCellDidMount,willUnmount:r.dayCellWillUnmount,elRef:t.elRef},(function(e){return t.children(e,i,a,o.isDisabled)}))},t}(ii);var js=10,Qs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:rt()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&li(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=tt(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 c(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this,o=r.props,i=r.state,a=["fc-popover",t.getClass("popover")].concat(o.extraClassNames||[]);return Qe(ze("div",f({id:o.id,className:a.join(" "),"aria-labelledby":i.titleId},o.extraAttrs,{ref:this.handleRootEl}),ze("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},ze("span",{className:"fc-popover-title",id:i.titleId},o.title),ze("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),ze("div",{className:"fc-popover-body "+t.getClass("popoverContent")},o.children)),o.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=Zo(n);if(i){var a=o.getBoundingClientRect(),s=r?qe(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=e?i.right-a.width:i.left;s=Math.max(s,js),l=Math.min(l,document.documentElement.clientWidth-js-a.width),l=Math.max(l,js);var u=o.offsetParent.getBoundingClientRect();$e(o,{top:s-u.top,left:l-u.left})}},t}(ii),Ws=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 c(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 ze(Vs,{date:o,dateProfile:a,todayRange:i,elRef:this.handleRootEl},(function(e,t,n){return ze(Qs,{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},ze(Fs,{date:o,dateProfile:a,todayRange:i},(function(e,t){return t&&ze("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var o=this,i=o.rootEl,a=o.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:a.dateProfile,dateSpan:f({allDay:!0,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:i,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(ui);(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=Le(),t.state={isPopoverOpen:!1,popoverId:rt()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,i=o.options.moreLinkClick,a=Zs(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,i=t.range;return{event:new co(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}c(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state;return ze(ni.Consumer,null,(function(t){var o=t.viewApi,i=t.options,a=t.calendarApi,s=i.moreLinkText,l=n.moreCnt,u=Zs(n),c="function"===typeof s?s.call(a,l):"+"+l+" "+s,f=pt(i.moreLinkHint,[l],c),d={num:l,shortText:"+"+l,text:c,view:o};return ze(Ve,null,Boolean(n.moreCnt)&&ze(yi,{elRef:e.linkElRef,hookProps:d,classNames:i.moreLinkClassNames,content:i.moreLinkContent,defaultContent:n.defaultContent||Gs,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},(function(t,o,i,a){return n.children(t,["fc-more-link"].concat(o),i,a,e.handleClick,f,r.isPopoverOpen,r.isPopoverOpen?r.popoverId:"")})),r.isPopoverOpen&&ze(Ws,{id:r.popoverId,startDate:u.start,endDate:u.end,dateProfile:n.dateProfile,todayRange:n.todayRange,extraDateSpan:n.extraDateSpan,parentEl:e.parentEl,alignmentEl:n.alignmentElRef.current,alignGridTop:n.alignGridTop,onClose:e.handlePopoverClose},n.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=qe(this.linkElRef.current,".fc-view-harness"))}})(ii);function Gs(e){return e.text}function Zs(e){if(e.allDayDate)return{start:e.allDayDate,end:mt(e.allDayDate,1)};var t=e.hiddenSegs;return{start:Ys(t),end:Js(t)}}function Ys(e){return e.reduce(qs).eventRange.range.start}function qs(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function Js(e){return e.reduce(Xs).eventRange.range.end}function Xs(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}var Ks=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.isRendering=!1,r.isRendered=!1,r.currentClassNames=[],r.customContentRenderId=0,r.handleAction=function(e){switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":r.renderRunner.tryDrain()}},r.handleData=function(e){r.currentData=e,r.renderRunner.request(e.calendarOptions.rerenderDelay)},r.handleRenderRequest=function(){if(r.isRendering){r.isRendered=!0;var e=r.currentData;Fe(ze(fs,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,o,i){return r.setClassNames(t),r.setHeight(n),ze(bi.Provider,{value:r.customContentRenderId},ze(ls,f({isHeightAuto:o,forPrint:i},e)))})),r.el)}else r.isRendered&&(r.isRendered=!1,Ge(r.el),r.setClassNames([]),r.setHeight(""));We()},r.el=t,r.renderRunner=new Na(r.handleRenderRequest),new Ua({optionOverrides:n,calendarApi:r,onAction:r.handleAction,onData:r.handleData}),r}return c(t,e),Object.defineProperty(t.prototype,"view",{get:function(){return this.currentData.viewApi},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()},t.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},t.prototype.updateSize=function(){e.prototype.updateSize.call(this),We()},t.prototype.batchRendering=function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")},t.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},t.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},t.prototype.resetOptions=function(e,t){this.currentDataManager.resetOptions(e,t)},t.prototype.setClassNames=function(e){if(!vn(e,this.currentClassNames)){for(var t=this.el.classList,n=0,r=this.currentClassNames;n<r.length;n++){var o=r[n];t.remove(o)}for(var i=0,a=e;i<a.length;i++){o=a[i];t.add(o)}this.currentClassNames=e}},t.prototype.setHeight=function(e){et(this.el,"height",e)},t}(uo);
15
+ ***************************************************************************** */var u=function(e,t){return u=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])},u(e,t)};function c(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}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var f=function(){return f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},f.apply(this,arguments)};Object.create;function d(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;var p,h,v,g,m,y,b,A={},_=[],w=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function E(e,t){for(var n in t)e[n]=t[n];return e}function D(e){var t=e.parentNode;t&&t.removeChild(e)}function C(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?p.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return S(e,a,r,o,null)}function S(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++v:o};return null==o&&null!=h.vnode&&h.vnode(i),i}function k(){return{current:null}}function x(e){return e.children}function T(e,t){this.props=e,this.context=t}function R(e,t){if(null==t)return e.__?R(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?R(e):null}function M(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return M(e)}}function I(e){(!e.__d&&(e.__d=!0)&&g.push(e)&&!O.__r++||y!==h.debounceRendering)&&((y=h.debounceRendering)||m)(O)}function O(){for(var e;O.__r=g.length;)e=g.sort((function(e,t){return e.__v.__b-t.__v.__b})),g=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=E({},o)).__v=o.__v+1,j(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?R(o):i,o.__h),Q(n,o),o.__e!=i&&M(o)))}))}function N(e,t,n,r,o,i,a,s,l,u){var c,f,d,p,h,v,g,m=r&&r.__k||_,y=m.length;for(n.__k=[],c=0;c<t.length;c++)if(null!=(p=n.__k[c]=null==(p=t[c])||"boolean"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?S(null,p,null,null,p):Array.isArray(p)?S(x,{children:p},null,null,null):p.__b>0?S(p.type,p.props,p.key,null,p.__v):p)){if(p.__=n,p.__b=n.__b+1,null===(d=m[c])||d&&p.key==d.key&&p.type===d.type)m[c]=void 0;else for(f=0;f<y;f++){if((d=m[f])&&p.key==d.key&&p.type===d.type){m[f]=void 0;break}d=null}j(e,p,d=d||A,o,i,a,s,l,u),h=p.__e,(f=p.ref)&&d.ref!=f&&(g||(g=[]),d.ref&&g.push(d.ref,null,p),g.push(f,p.__c||h,p)),null!=h?(null==v&&(v=h),"function"==typeof p.type&&p.__k===d.__k?p.__d=l=P(p,l,e):l=H(e,p,d,m,h,l),"function"==typeof n.type&&(n.__d=l)):l&&d.__e==l&&l.parentNode!=e&&(l=R(d))}for(n.__e=v,c=y;c--;)null!=m[c]&&("function"==typeof n.type&&null!=m[c].__e&&m[c].__e==n.__d&&(n.__d=R(r,c+1)),Z(m[c],m[c]));if(g)for(c=0;c<g.length;c++)G(g[c],g[++c],g[++c])}function P(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?P(r,t,n):H(n,r,r,o,r.__e,t));return t}function B(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){B(e,t)})):t.push(e)),t}function H(e,t,n,r,o,i){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function U(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||F(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||F(e,i,t[i],n[i],r)}function z(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||w.test(t)?n:n+"px"}function F(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||z(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||z(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?V:L,i):e.removeEventListener(t,i?V:L,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function L(e){this.l[e.type+!1](h.event?h.event(e):e)}function V(e){this.l[e.type+!0](h.event?h.event(e):e)}function j(e,t,n,r,o,i,a,s,l){var u,c,f,d,p,v,g,m,y,b,A,_=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(u=h.__b)&&u(t);try{e:if("function"==typeof _){if(m=t.props,y=(u=_.contextType)&&r[u.__c],b=u?y?y.props.value:u.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:("prototype"in _&&_.prototype.render?t.__c=c=new _(m,b):(t.__c=c=new T(m,b),c.constructor=_,c.render=Y),y&&y.sub(c),c.props=m,c.state||(c.state={}),c.context=b,c.__n=r,f=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=_.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=E({},c.__s)),E(c.__s,_.getDerivedStateFromProps(m,c.__s))),d=c.props,p=c.state,f)null==_.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==_.getDerivedStateFromProps&&m!==d&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(m,b),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(m,c.__s,b)||t.__v===n.__v){c.props=m,c.state=c.__s,t.__v!==n.__v&&(c.__d=!1),c.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),c.__h.length&&a.push(c);break e}null!=c.componentWillUpdate&&c.componentWillUpdate(m,c.__s,b),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(d,p,v)}))}c.context=b,c.props=m,c.state=c.__s,(u=h.__r)&&u(t),c.__d=!1,c.__v=t,c.__P=e,u=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=E(E({},r),c.getChildContext())),f||null==c.getSnapshotBeforeUpdate||(v=c.getSnapshotBeforeUpdate(d,p)),A=null!=u&&u.type===x&&null==u.key?u.props.children:u,N(e,Array.isArray(A)?A:[A],t,n,r,o,i,a,s,l),c.base=t.__e,t.__h=null,c.__h.length&&a.push(c),g&&(c.__E=c.__=null),c.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=W(n.__e,t,n,r,o,i,a,l);(u=h.diffed)&&u(t)}catch(e){t.__v=null,(l||null!=i)&&(t.__e=s,t.__h=!!l,i[i.indexOf(s)]=null),h.__e(e,t,n)}}function Q(e,t){h.__c&&h.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){h.__e(e,t.__v)}}))}function W(e,t,n,r,o,i,a,s){var l,u,c,f=n.props,d=t.props,h=t.type,v=0;if("svg"===h&&(o=!0),null!=i)for(;v<i.length;v++)if((l=i[v])&&"setAttribute"in l==!!h&&(h?l.localName===h:3===l.nodeType)){e=l,i[v]=null;break}if(null==e){if(null===h)return document.createTextNode(d);e=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,d.is&&d),i=null,s=!1}if(null===h)f===d||s&&e.data===d||(e.data=d);else{if(i=i&&p.call(e.childNodes),u=(f=n.props||A).dangerouslySetInnerHTML,c=d.dangerouslySetInnerHTML,!s){if(null!=i)for(f={},v=0;v<e.attributes.length;v++)f[e.attributes[v].name]=e.attributes[v].value;(c||u)&&(c&&(u&&c.__html==u.__html||c.__html===e.innerHTML)||(e.innerHTML=c&&c.__html||""))}if(U(e,d,f,o,s),c)t.__k=[];else if(v=t.props.children,N(e,Array.isArray(v)?v:[v],t,n,r,o&&"foreignObject"!==h,i,a,i?i[0]:n.__k&&R(n,0),s),null!=i)for(v=i.length;v--;)null!=i[v]&&D(i[v]);s||("value"in d&&void 0!==(v=d.value)&&(v!==e.value||"progress"===h&&!v||"option"===h&&v!==f.value)&&F(e,"value",v,f.value,!1),"checked"in d&&void 0!==(v=d.checked)&&v!==e.checked&&F(e,"checked",v,f.checked,!1))}return e}function G(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){h.__e(e,n)}}function Z(e,t,n){var r,o;if(h.unmount&&h.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||G(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){h.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Z(r[o],t,"function"!=typeof e.type);n||null==e.__e||D(e.__e),e.__e=e.__d=void 0}function Y(e,t,n){return this.constructor(e,n)}function q(e,t,n){var r,o,i;h.__&&h.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],j(t,e=(!r&&n||t).__k=C(x,null,[e]),o||A,A,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?p.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),Q(i,e)}function J(e,t){var n={__c:t="__cC"+b++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(I)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}p=_.slice,h={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},v=0,T.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=E({},this.state),"function"==typeof e&&(e=e(E({},n),this.props)),e&&E(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),I(this))},T.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),I(this))},T.prototype.render=x,g=[],m="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,O.__r=0,b=0;var X,K,$=[],ee=h.__b,te=h.__r,ne=h.diffed,re=h.__c,oe=h.unmount;function ie(){for(var e;e=$.shift();)if(e.__P)try{e.__H.__h.forEach(se),e.__H.__h.forEach(le),e.__H.__h=[]}catch(t){e.__H.__h=[],h.__e(t,e.__v)}}h.__b=function(e){X=null,ee&&ee(e)},h.__r=function(e){te&&te(e),0;var t=(X=e.__c).__H;t&&(t.__h.forEach(se),t.__h.forEach(le),t.__h=[])},h.diffed=function(e){ne&&ne(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==$.push(t)&&K===h.requestAnimationFrame||((K=h.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ae&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ae&&(t=requestAnimationFrame(n))})(ie)),X=null},h.__c=function(e,t){t.some((function(e){try{e.__h.forEach(se),e.__h=e.__h.filter((function(e){return!e.__||le(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],h.__e(n,e.__v)}})),re&&re(e,t)},h.unmount=function(e){oe&&oe(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{se(e)}catch(e){t=e}})),t&&h.__e(t,n.__v))};var ae="function"==typeof requestAnimationFrame;function se(e){var t=X,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),X=t}function le(e){var t=X;e.__c=e.__(),X=t}function ue(e,t){for(var n in t)e[n]=t[n];return e}function ce(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function fe(e){this.props=e}(fe.prototype=new T).isPureReactComponent=!0,fe.prototype.shouldComponentUpdate=function(e,t){return ce(this.props,e)||ce(this.state,t)};var de=h.__b;h.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),de&&de(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var pe=h.__e;h.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);pe(e,t,n,r)};var he=h.unmount;function ve(){this.__u=0,this.t=null,this.__b=null}function ge(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function me(){this.u=null,this.o=null}h.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),he&&he(e)},(ve.prototype=new T).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=ge(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},ve.prototype.componentWillUnmount=function(){this.t=[]},ve.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=ue({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&C(x,null,e.fallback);return o&&(o.__h=null),[C(x,null,t.__e?null:e.children),o]};var ye=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function be(e){return this.getChildContext=function(){return e.context},e.children}function Ae(e){var t=this,n=e.i;t.componentWillUnmount=function(){q(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),q(C(be,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function _e(e,t){return C(Ae,{__v:e,i:t})}(me.prototype=new T).__e=function(e){var t=this,n=ge(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),ye(t,e,r)):o()};n?n(i):i()}},me.prototype.render=function(e){this.u=null,this.o=new Map;var t=B(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},me.prototype.componentDidUpdate=me.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ye(e,n,t)}))};var we="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ee=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,De="undefined"!=typeof document,Ce=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};T.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(T.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Se=h.event;function ke(){}function xe(){return this.cancelBubble}function Te(){return this.defaultPrevented}h.event=function(e){return Se&&(e=Se(e)),e.persist=ke,e.isPropagationStopped=xe,e.isDefaultPrevented=Te,e.nativeEvent=e};var Re={configurable:!0,get:function(){return this.class}},Me=h.vnode;h.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];De&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Ce(n.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&Ee.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=B(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=B(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(Re.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Re))}e.$$typeof=we,Me&&Me(e)};var Ie=h.__r;h.__r=function(e){Ie&&Ie(e),e.__c};var Oe="undefined"!==typeof globalThis?globalThis:window;function Ne(e){e();var t=h.debounceRendering,n=[];function r(e){n.push(e)}h.debounceRendering=r,q(C(Pe,{}),document.createElement("div"));while(n.length)n.shift()();h.debounceRendering=t}Oe.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):Oe.FullCalendarVDom={Component:T,createElement:C,render:q,createRef:k,Fragment:x,createContext:Be,createPortal:_e,flushSync:Ne,unmountComponentAtNode:He};var Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){return C("div",{})},t.prototype.componentDidMount=function(){this.setState({})},t}(T);function Be(e){var t=J(e),n=t.Provider;return t.Provider=function(){var e=this,t=!this.getChildContext,r=n.apply(this,arguments);if(t){var o=[];this.shouldComponentUpdate=function(t){e.props.value!==t.value&&o.forEach((function(e){e.context=t.value,e.forceUpdate()}))},this.sub=function(e){o.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){o.splice(o.indexOf(e),1),t&&t.call(e)}}}return r},t}function He(e){q(null,e)}n("f54b");if("undefined"===typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var Ue=FullCalendarVDom.Component,ze=FullCalendarVDom.createElement,Fe=FullCalendarVDom.render,Le=FullCalendarVDom.createRef,Ve=FullCalendarVDom.Fragment,je=FullCalendarVDom.createContext,Qe=FullCalendarVDom.createPortal,We=FullCalendarVDom.flushSync,Ge=FullCalendarVDom.unmountComponentAtNode,Ze=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 Ye(e){e.parentNode&&e.parentNode.removeChild(e)}function qe(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(Je(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function Je(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector;return n.call(e,t)}function Xe(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}var Ke=/(top|left|right|bottom|width|height)$/i;function $e(e,t){for(var n in t)et(e,n,t[n])}function et(e,t,n){null==n?e.style[t]="":"number"===typeof n&&Ke.test(t)?e.style[t]=n+"px":e.style[t]=n}function tt(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}var nt=0;function rt(){return nt+=1,"fc-dom-"+nt}function ot(e,t){return function(n){var r=qe(n.target,e);r&&t.call(r,n,r)}}function it(e,t,n,r){var o=ot(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}function at(e,t,n,r){var o;return it(e,"mouseover",t,(function(e,t){if(t!==o){o=t,n(e,t);var i=function(e){o=null,r(e,t),t.removeEventListener("mouseleave",i)};t.addEventListener("mouseleave",i)}}))}function st(e){return f({onClick:e},lt(e))}function lt(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var ut=0;function ct(){return ut+=1,String(ut)}function ft(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)n=o[t],"string"===typeof n?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 dt(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function pt(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 ht(e){return e%1===0}function vt(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 gt=["sun","mon","tue","wed","thu","fri","sat"];function mt(e,t){var n=Pt(e);return n[2]+=t,Bt(n)}function yt(e,t){var n=Pt(e);return n[6]+=t,Bt(n)}function bt(e,t){return(t.valueOf()-e.valueOf())/864e5}function At(e,t){return(t.valueOf()-e.valueOf())/36e5}function _t(e,t){return(t.valueOf()-e.valueOf())/6e4}function wt(e,t){return(t.valueOf()-e.valueOf())/1e3}function Et(e,t){var n=St(e),r=St(t);return{years:0,months:0,days:Math.round(bt(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}function Dt(e,t){var n=Ct(e,t);return null!==n&&n%7===0?n/7:null}function Ct(e,t){return Ut(e)===Ut(t)?Math.round(bt(e,t)):null}function St(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function kt(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}function xt(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}function Tt(e){return Bt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}function Rt(e,t,n){var r=e.getUTCFullYear(),o=Mt(e,r,t,n);if(o<1)return Mt(e,r-1,t,n);var i=Mt(e,r+1,t,n);return i>=1?Math.min(o,i):o}function Mt(e,t,n,r){var o=Bt([t,0,1+It(t,n,r)]),i=St(e),a=Math.round(bt(o,i));return Math.floor(a/7)+1}function It(e,t,n){var r=7+t-n,o=(7+Bt([e,0,r]).getUTCDay()-t)%7;return-o+r-1}function Ot(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function Nt(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 Pt(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function Bt(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function Ht(e){return!isNaN(e.valueOf())}function Ut(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function zt(e,t,n,r){return{instanceId:ct(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var Ft=Object.prototype.hasOwnProperty;function Lt(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]=Lt(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 Vt(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function jt(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function Qt(e){for(var t={},n=0,r=e;n<r.length;n++){var o=r[n];t[o]=!0}return t}function Wt(e){var t=[];for(var n in e)t.push(e[n]);return t}function Gt(e,t){if(e===t)return!0;for(var n in e)if(Ft.call(e,n)&&!(n in t))return!1;for(var n in t)if(Ft.call(t,n)&&e[n]!==t[n])return!1;return!0}function Zt(e,t){var n=[];for(var r in e)Ft.call(e,r)&&(r in t||n.push(r));for(var r in t)Ft.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function Yt(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!qt(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function qt(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function Jt(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 Xt(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&&(a=t,null==a&&(a=i.allDayGuess,null==a&&(a=!1))),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}function Kt(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=Vt(s,(function(e){return!a[e.defId].recurringDef})),a){var u=a[l];if(u.recurringDef){var c=u.recurringDef.duration;c||(c=u.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var f=$t(u,c,t,r,o.recurringTypes),d=0,p=f;d<p.length;d++){var h=p[d],v=zt(l,{start:h,end:r.add(h,c)});s[v.instanceId]=v}}}return{defs:a,instances:s}}function $t(e,t,n,r,o){var i=o[e.recurringDef.typeId],a=i.expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(a=a.map(St)),a}var en=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function tn(e,t){var n;return"string"===typeof e?nn(e):"object"===typeof e&&e?rn(e):"number"===typeof e?rn((n={},n[t||"milliseconds"]=e,n)):null}function nn(e){var t=en.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}function rn(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 on(e,t){return e.years===t.years&&e.months===t.months&&e.days===t.days&&e.milliseconds===t.milliseconds}function an(e,t){return{years:e.years-t.years,months:e.months-t.months,days:e.days-t.days,milliseconds:e.milliseconds-t.milliseconds}}function sn(e){return un(e)/365}function ln(e){return un(e)/30}function un(e){return cn(e)/864e5}function cn(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function fn(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 dn(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",hn(t,!0)))),r}function pn(e){return e.toISOString().replace(/T.*$/,"")}function hn(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+dt(o,2)+":"+dt(i,2):"GMT"+n+o+(i?":"+dt(i,2):"")}function vn(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 gn(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!vn(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 mn(e,t,n){var r,o,i=this;return function(a){if(r){if(!Gt(r,a)){n&&n(o);var s=e.call(i,a);t&&t(s,o)||(o=s)}}else o=e.call(i,a);return r=a,o}}var yn={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},bn={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},An=/\s*([ap])\.?m\.?/i,_n=/,/g,wn=/\s+/g,En=/\u200e/g,Dn=/UTC|GMT/,Cn=function(){function e(e){var t={},n={},r=0;for(var o in e)o in yn?(n[o]=e[o],r=Math.max(yn[o],r)):(t[o]=e[o],o in bn&&(r=Math.max(bn[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=gn(Sn)}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,i=o.standardDateProps,a=o.extendedSettings,s=In(e.marker,t.marker,n.calendarSystem);if(!s)return this.format(e,n);var l=s;!(l>1)||"numeric"!==i.year&&"2-digit"!==i.year||"numeric"!==i.month&&"2-digit"!==i.month||"numeric"!==i.day&&"2-digit"!==i.day||(l=1);var u=this.format(e,n),c=this.format(t,n);if(u===c)return u;var f=On(i,l),d=Sn(f,a,n),p=d(e),h=d(t),v=Nn(u,p,c,h),g=a.separator||r||n.defaultSeparator||"";return v?v.before+p+g+h+v.after:u+g+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 Sn(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return hn(e.timeZoneOffset)}:0===r&&t.week?function(e){return Mn(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:kn(e,t,n)}function kn(e,t,n){e=f({},e),t=f({},t),xn(e,t),e.timeZone="UTC";var r,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var i=f({},e);delete i.minute,r=new Intl.DateTimeFormat(n.locale.codes,i)}return function(i){var a,s=i.marker;a=r&&!s.getUTCMinutes()?r:o;var l=a.format(s);return Tn(l,i,e,t,n)}}function xn(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}function Tn(e,t,n,r,o){return e=e.replace(En,""),"short"===n.timeZoneName&&(e=Rn(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":hn(t.timeZoneOffset))),r.omitCommas&&(e=e.replace(_n,"").trim()),r.omitZeroMinute&&(e=e.replace(":00","")),!1===r.meridiem?e=e.replace(An,"").trim():"narrow"===r.meridiem?e=e.replace(An,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(An,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(An,(function(e){return e.toLocaleLowerCase()}))),e=e.replace(wn," "),e=e.trim(),e}function Rn(e,t){var n=!1;return e=e.replace(Dn,(function(){return n=!0,t})),n||(e+=" "+t),e}function Mn(e,t,n,r,o){var i=[];return"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(),i.join("")}function In(e,t,n){return n.getMarkerYear(e)!==n.getMarkerYear(t)?5:n.getMarkerMonth(e)!==n.getMarkerMonth(t)?4:n.getMarkerDay(e)!==n.getMarkerDay(t)?2:Ut(e)!==Ut(t)?1:0}function On(e,t){var n={};for(var r in e)(!(r in bn)||bn[r]<=t)&&(n[r]=e[r]);return n}function Nn(e,t,n,r){var o=0;while(o<e.length){var i=e.indexOf(t,o);if(-1===i)break;var a=e.substr(0,i);o=i+t.length;var s=e.substr(o),l=0;while(l<n.length){var u=n.indexOf(r,l);if(-1===u)break;var c=n.substr(0,u);l=u+r.length;var f=n.substr(l);if(a===c&&s===f)return{before:a,after:s}}}return null}function Pn(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 Bn(e,t,n,r){var o=Pn(e,n.calendarSystem),i=t?Pn(t,n.calendarSystem):null;return{date:o,start:o,end:i,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var Hn=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,Bn(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,Bn(e,t,n,r))},e}(),Un=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(Bn(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(Bn(e,t,n,r))},e}();function zn(e){return"object"===typeof e&&e?new Cn(e):"string"===typeof e?new Hn(e):"function"===typeof e?new Un(e):null}var Fn={navLinkDayClick:qn,navLinkWeekClick:qn,duration:tn,bootstrapFontAwesome:qn,buttonIcons:qn,customButtons:qn,defaultAllDayEventDuration:tn,defaultTimedEventDuration:tn,nextDayThreshold:tn,scrollTime:tn,scrollTimeReset:Boolean,slotMinTime:tn,slotMaxTime:tn,dayPopoverFormat:zn,slotDuration:tn,snapDuration:tn,headerToolbar:qn,footerToolbar:qn,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:zn,dayHeaderClassNames:qn,dayHeaderContent:qn,dayHeaderDidMount:qn,dayHeaderWillUnmount:qn,dayCellClassNames:qn,dayCellContent:qn,dayCellDidMount:qn,dayCellWillUnmount:qn,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:qn,weekNumbers:Boolean,weekNumberClassNames:qn,weekNumberContent:qn,weekNumberDidMount:qn,weekNumberWillUnmount:qn,editable:Boolean,viewClassNames:qn,viewDidMount:qn,viewWillUnmount:qn,nowIndicator:Boolean,nowIndicatorClassNames:qn,nowIndicatorContent:qn,nowIndicatorDidMount:qn,nowIndicatorWillUnmount:qn,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:qn,locale:qn,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:qn,eventOrder:ft,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:qn,contentHeight:qn,direction:String,weekNumberFormat:zn,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:qn,initialDate:qn,now:qn,eventDataTransform:qn,stickyHeaderDates:qn,stickyFooterScrollbar:qn,viewHeight:qn,defaultAllDay:Boolean,eventSourceFailure:qn,eventSourceSuccess:qn,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:qn,eventConstraint:qn,eventAllow:qn,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:qn,eventContent:qn,eventDidMount:qn,eventWillUnmount:qn,selectConstraint:qn,selectOverlap:qn,selectAllow:qn,droppable:Boolean,unselectCancel:String,slotLabelFormat:qn,slotLaneClassNames:qn,slotLaneContent:qn,slotLaneDidMount:qn,slotLaneWillUnmount:qn,slotLabelClassNames:qn,slotLabelContent:qn,slotLabelDidMount:qn,slotLabelWillUnmount:qn,dayMaxEvents:qn,dayMaxEventRows:qn,dayMinWidth:Number,slotLabelInterval:tn,allDayText:String,allDayClassNames:qn,allDayContent:qn,allDayDidMount:qn,allDayWillUnmount:qn,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:zn,rerenderDelay:Number,moreLinkText:qn,moreLinkHint:qn,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:qn,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:tn,hiddenDays:qn,monthMode:Boolean,fixedWeekCount:Boolean,validRange:qn,visibleRange:qn,titleFormat:qn,eventInteractive:Boolean,noEventsText:String,viewHint:qn,navLinkHint:qn,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:qn,moreLinkClassNames:qn,moreLinkContent:qn,moreLinkDidMount:qn,moreLinkWillUnmount:qn},Ln={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},Vn={datesSet:qn,eventsSet:qn,eventAdd:qn,eventChange:qn,eventRemove:qn,windowResize:qn,eventClick:qn,eventMouseEnter:qn,eventMouseLeave:qn,select:qn,unselect:qn,loading:qn,_unmount:qn,_beforeprint:qn,_afterprint:qn,_noEventDrop:qn,_noEventResize:qn,_resize:qn,_scrollRequest:qn},jn={buttonText:qn,buttonHints:qn,views:qn,plugins:qn,initialEvents:qn,events:qn,eventSources:qn},Qn={headerToolbar:Wn,footerToolbar:Wn,buttonText:Wn,buttonHints:Wn,buttonIcons:Wn};function Wn(e,t){return"object"===typeof e&&"object"===typeof t&&e&&t?Gt(e,t):e===t}var Gn={type:String,component:qn,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:qn,usesMinMaxTime:Boolean,classNames:qn,content:qn,didMount:qn,willUnmount:qn};function Zn(e){return Lt(e,Qn)}function Yn(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 qn(e){return e}function Jn(e,t,n,r){for(var o=er(),i=gr(n),a=0,s=e;a<s.length;a++){var l=s[a],u=hr(l,t,n,r,i);u&&Xn(u,o)}return o}function Xn(e,t){return void 0===t&&(t=er()),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function Kn(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=nr(e,(function(e){return $n(r,e)}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return er()}function $n(e,t){return Boolean(e.groupId&&e.groupId===t.groupId)}function er(){return{defs:{},instances:{}}}function tr(e,t){return{defs:f(f({},e.defs),t.defs),instances:f(f({},e.instances),t.instances)}}function nr(e,t){var n=Vt(e.defs,t),r=Vt(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function rr(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}}function or(e,t){return Array.isArray(e)?Jn(e,null,t,!0):"object"===typeof e&&e?Jn([e],null,t,!0):null!=e?String(e):null}function ir(e){return Array.isArray(e)?e:"string"===typeof e?e.split(/\s+/):[]}var ar={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:qn,overlap:qn,allow:qn,className:ir,classNames:ir,color:String,backgroundColor:String,borderColor:String,textColor:String},sr={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function lr(e,t){var n=or(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 ur(e){return e.reduce(cr,sr)}function cr(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 fr={id:String,groupId:String,title:String,url:String,interactive:Boolean},dr={start:qn,end:qn,date:qn,allDay:Boolean},pr=f(f(f({},fr),dr),{extendedProps:qn});function hr(e,t,n,r,o){void 0===o&&(o=gr(n));var i=vr(e,n,o),a=i.refined,s=i.extra,l=br(t,n),u=Xt(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(u){var c=mr(a,s,t?t.sourceId:"",u.allDay,Boolean(u.duration),n);return c.recurringDef={typeId:u.typeId,typeData:u.typeData,duration:u.duration},{def:c,instance:null}}var f=yr(a,l,n,r);if(f){c=mr(a,s,t?t.sourceId:"",f.allDay,f.hasEnd,n);var d=zt(c.defId,f.range,f.forcedStartTzo,f.forcedEndTzo);return{def:c,instance:d}}return null}function vr(e,t,n){return void 0===n&&(n=gr(t)),Yn(e,n)}function gr(e){return f(f(f({},ar),pr),e.pluginHooks.eventRefiners)}function mr(e,t,n,r,o,i){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:ct(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:lr(e,i),extendedProps:f(f({},e.extendedProps||{}),t)},s=0,l=i.pluginHooks.eventDefMemberAdders;s<l.length;s++){var u=l[s];f(a,u(e))}return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function yr(e,t,n,r){var o,i,a=e.allDay,s=null,l=!1,u=null,c=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(c),o)s=o.marker;else if(!r)return null;return null!=e.end&&(i=n.dateEnv.createMarkerMeta(e.end)),null==a&&(a=null!=t?t:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified)),a&&s&&(s=St(s)),i&&(u=i.marker,a&&(u=St(u)),s&&u<=s&&(u=null)),u?l=!0:r||(l=n.options.forceEventDuration||!1,u=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:a,hasEnd:l,range:{start:s,end:u},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}function br(e,t){var n=null;return e&&(n=e.defaultAllDay),null==n&&(n=t.options.defaultAllDay),n}function Ar(e){var t=Math.floor(bt(e.start,e.end))||1,n=St(e.start),r=mt(n,t);return{start:n,end:r}}function _r(e,t){void 0===t&&(t=tn(0));var n=null,r=null;if(e.end){r=St(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=cn(t)&&(r=mt(r,1))}return e.start&&(n=St(e.start),r&&r<=n&&(r=mt(n,1))),{start:n,end:r}}function wr(e,t,n,r){return"year"===r?tn(n.diffWholeYears(e,t),"year"):"month"===r?tn(n.diffWholeMonths(e,t),"month"):Et(e,t)}function Er(e,t){var n=null,r=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(r=t.createMarker(e.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}function Dr(e,t){var n,r,o=[],i=t.start;for(e.sort(Cr),n=0;n<e.length;n+=1)r=e[n],r.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 Cr(e,t){return e.start.valueOf()-t.start.valueOf()}function Sr(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 kr(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function xr(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function Tr(e,t){return null!=t.start&&e<t.start?t.start:null!=t.end&&e>=t.end?new Date(t.end.valueOf()-1):e}function Rr(e,t,n,r){var o={},i={},a={},s=[],l=[],u=Or(e.defs,t);for(var c in e.defs){var f=e.defs[c],d=u[f.defId];"inverse-background"===d.display&&(f.groupId?(o[f.groupId]=[],a[f.groupId]||(a[f.groupId]=f)):i[c]=[])}for(var p in e.instances){var h=e.instances[p],v=(f=e.defs[h.defId],d=u[f.defId],h.range),g=!f.allDay&&r?_r(v,r):v,m=Sr(g,n);m&&("inverse-background"===d.display?f.groupId?o[f.groupId].push(m):i[h.defId].push(m):"none"!==d.display&&("background"===d.display?s:l).push({def:f,ui:d,instance:h,range:m,isStart:g.start&&g.start.valueOf()===m.start.valueOf(),isEnd:g.end&&g.end.valueOf()===m.end.valueOf()}))}for(var y in o)for(var b=o[y],A=Dr(b,n),_=0,w=A;_<w.length;_++){var E=w[_];f=a[y],d=u[f.defId];s.push({def:f,ui:d,instance:null,range:E,isStart:!1,isEnd:!1})}for(var c in i){b=i[c],A=Dr(b,n);for(var D=0,C=A;D<C.length;D++){E=C[D];s.push({def:e.defs[c],ui:u[c],instance:null,range:E,isStart:!1,isEnd:!1})}}return{bg:s,fg:l}}function Mr(e,t){e.fcSeg=t}function Ir(e){return e.fcSeg||e.parentNode.fcSeg||null}function Or(e,t){return jt(e,(function(e){return Nr(e,t)}))}function Nr(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),ur(n)}function Pr(e,t){for(var n=t.pluginHooks,r=n.isDraggableTransformers,o=e.eventRange,i=o.def,a=o.ui,s=a.startEditable,l=0,u=r;l<u.length;l++){var c=u[l];s=c(s,i,a,t)}return s}function Br(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function Hr(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function Ur(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,u=l.displayEventTime,c=l.displayEventEnd,f=e.eventRange.def,d=e.eventRange.instance;null==u&&(u=!1!==r),null==c&&(c=!1!==o);var p=d.range.start,h=d.range.end,v=i||e.start||e.eventRange.range.start,g=a||e.end||e.eventRange.range.end,m=St(p).valueOf()===St(v).valueOf(),y=St(yt(h,-1)).valueOf()===St(yt(g,-1)).valueOf();return u&&!f.allDay&&(m||y)?(v=m?p:v,g=y?h:g,c&&f.hasEnd?s.formatRange(v,g,t,{forcedStartTzo:i?null:d.forcedStartTzo,forcedEndTzo:a?null:d.forcedEndTzo}):s.format(v,t,{forcedTzo:i?null:d.forcedStartTzo})):""}function zr(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function Fr(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,l=s.eventInteractive;return null==l&&(l=r.interactive,null==l&&(l=Boolean(a.hasHandlers("eventClick")))),l?lt((function(e){a.trigger("eventClick",{el:e.target,event:new co(t,r,o),jsEvent:e,view:t.viewApi})})):{}}var Lr={start:qn,end:qn,allDay:Boolean};function Vr(e,t,n){var r=jr(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 jr(e,t){var n=Yn(e,Lr),r=n.refined,o=n.extra,i=r.start?t.createMarkerMeta(r.start):null,a=r.end?t.createMarkerMeta(r.end):null,s=r.allDay;return null==s&&(s=i&&i.isTimeUnspecified&&(!a||a.isTimeUnspecified)),f({range:{start:i?i.marker:null,end:a?a.marker:null},allDay:s},o)}function Qr(e,t){return f(f({},Gr(e.range,t,e.allDay)),{allDay:e.allDay})}function Wr(e,t,n){return f(f({},Gr(e,t,n)),{timeZone:t.timeZone})}function Gr(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 Zr(e,t,n){var r=vr({editable:!1},n),o=mr(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:Nr(o,t),instance:zt(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}function Yr(e,t,n){n.emitter.trigger("select",f(f({},Jr(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function qr(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}function Jr(e,t){for(var n={},r=0,o=t.pluginHooks.dateSpanTransforms;r<o.length;r++){var i=o[r];f(n,i(e,t))}return f(n,Qr(e,t.dateEnv)),n}function Xr(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=St(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function Kr(e,t,n,r){var o=Or(e.defs,t),i=er();for(var a in e.defs){var s=e.defs[a];i.defs[a]=$r(s,o[a],n,r)}for(var l in e.instances){var u=e.instances[l];s=i.defs[u.defId];i.instances[l]=eo(u,s,o[u.defId],n,r)}return i}function $r(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var i=f(f(f({},e),o),{ui:f(f({},e.ui),o.ui)});n.extendedProps&&(i.extendedProps=f(f({},i.extendedProps),n.extendedProps));for(var a=0,s=r.pluginHooks.eventDefMutationAppliers;a<s.length;a++){var l=s[a];l(i,n,r)}return!i.hasEnd&&r.options.forceEventDuration&&(i.hasEnd=!0),i}function eo(e,t,n,r,o){var i=o.dateEnv,a=r.standardProps&&!0===r.standardProps.allDay,s=r.standardProps&&!1===r.standardProps.hasEnd,l=f({},e);return a&&(l.range=Ar(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:i.add(l.range.start,r.datesDelta),end:i.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:i.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:i.add(l.range.end,r.endDelta)}),s&&(l.range={start:l.range.start,end:Xr(t.allDay,l.range.start,o)}),t.allDay&&(l.range={start:St(l.range.start),end:St(l.range.end)}),l.range.end<l.range.start&&(l.range.end=Xr(t.allDay,l.range.start,o)),l}var to=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}(),no={id:String,defaultAllDay:Boolean,url:String,format:String,events:qn,eventDataTransform:qn,success:qn,failure:qn};function ro(e,t,n){var r;if(void 0===n&&(n=oo(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=Yn(r,n),i=o.refined,a=o.extra,s=io(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:ct(),sourceDefId:s.sourceDefId,meta:s.meta,ui:lr(i,t),extendedProps:a}}return null}function oo(e){return f(f(f({},ar),no),e.pluginHooks.eventSourceRefiners)}function io(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r],i=o.parseMeta(e);if(i)return{sourceDefId:r,meta:i}}return null}function ao(e,t){switch(t.type){case"CHANGE_DATE":return t.dateMarker;default:return e}}function so(e,t){var n=e.initialDate;return null!=n?t.createMarker(n):lo(e.now,t)}function lo(e,t){return"function"===typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var uo=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,d([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,r=this.getCurrentData();t=t||"day",n=r.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&&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:lo(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=tn(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),zn(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),zn(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=Vr(n,r.dateEnv,tn({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),Yr(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),qr(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof co){var n=e._def,r=e._instance,o=this.getCurrentData();return o.eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Xn({def:n,instance:r})}),this.triggerEventAdd(e)),e}var i,a=this.getCurrentData();if(t instanceof Ze)i=t.internalEventSource;else if("boolean"===typeof t)t&&(i=Wt(a.eventSources)[0]);else if(null!=t){var s=this.getEventSourceById(t);if(!s)return console.warn('Could not find an event source with ID "'+t+'"'),null;i=s.internalEventSource}var l=hr(e,i,a,!1);if(l){var u=new co(a,l.def,l.def.recurringDef?null:l.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Xn(l)}),this.triggerEventAdd(u),u}return null},e.prototype.triggerEventAdd=function(e){var t=this,n=this.getCurrentData().emitter;n.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:fo(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 co(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new co(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return po(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 Ze(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 Ze(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof Ze)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=ro(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new Ze(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=tn(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),co=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 dr)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=fr[e](t),this.mutate({standardProps:{publicId:t}});else if(e in fr)t=fr[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in ar){var o=ar[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:(r={},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=this._instance.range,i=wr(o.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:i}):this.mutate({startDelta:i})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e),n))&&this._instance)if(n){var o=wr(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=this._context.dateEnv,i={allDay:n.allDay},a=o.createMarker(e);if(a&&(null==t||(r=o.createMarker(t),r))&&this._instance){var s=this._instance.range;!0===n.allDay&&(s=Ar(s));var l=wr(s.start,a,o,n.granularity);if(r){var u=wr(s.end,r,o,n.granularity);on(l,u)?this.mutate({datesDelta:l,standardProps:i}):this.mutate({startDelta:l,endDelta:u,standardProps:i})}else i.hasEnd=!1,this.mutate({datesDelta:l,standardProps:i})}},e.prototype.moveStart=function(e){var t=tn(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=tn(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=tn(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=zn(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=Kn(i,n.instanceId),s={"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}};a=Kr(a,s,t,o);var l=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:l,event:this,relatedEvents:po(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=fo(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 Ze(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,o=r.startStr,i=r.endStr,a={};return t.title&&(a.title=t.title),o&&(a.start=o),i&&(a.end=i),t.publicId&&(a.id=t.publicId),t.groupId&&(a.groupId=t.groupId),t.url&&(a.url=t.url),n.display&&"auto"!==n.display&&(a.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?a.color=n.backgroundColor:(n.backgroundColor&&(a.backgroundColor=n.backgroundColor),n.borderColor&&(a.borderColor=n.borderColor)),n.textColor&&(a.textColor=n.textColor),n.classNames.length&&(a.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?f(a,t.extendedProps):a.extendedProps=t.extendedProps),a},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function fo(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 po(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],u=r[l.defId];l.instanceId!==a&&i.push(new co(t,u,l))}return i}var ho={};function vo(e,t){ho[e]=t}function go(e){return new ho[e]}var mo=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 Bt(e)},e.prototype.markerToArray=function(e){return Pt(e)},e}();vo("gregory",mo);var yo=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function bo(e){var t=yo.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(Ht(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}var Ao=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=go(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()):Bt(Ot(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=Bt(e)),null!==t&&Ht(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=bo(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 Ut(e)===Ut(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 Ut(e)===Ut(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}:(n=this.diffWholeMonths(e,t),null!==n?{unit:"month",value:n}:(n=Dt(e,t),null!==n?{unit:"week",value:n}:(n=Ct(e,t),null!==n?{unit:"day",value:n}:(n=At(e,t),ht(n)?{unit:"hour",value:n}:(n=_t(e,t),ht(n)?{unit:"minute",value:n}:(n=wt(e,t),ht(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&(r=this.diffWholeYears(e,t),null!==r)?r/sn(n):n.months&&(r=this.diffWholeMonths(e,t),null!==r)?r/ln(n):n.days&&(r=Ct(e,t),null!==r)?r/un(n):(t.valueOf()-e.valueOf())/cn(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?St(e):"hour"===t?kt(e):"minute"===t?xt(e):"second"===t?Tt(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)):Rt(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=yt(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)),dn(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?Bt(Ot(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?Bt(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-Nt(Pt(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Pt(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?Nt(Pt(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(Pt(e))*60):new Date(e.valueOf()-(t||0))},e}(),_o=[],wo={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"},Eo=f(f({},wo),{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 Do(e){for(var t=e.length>0?e[0].code:"en",n=_o.concat(e),r={en:Eo},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function Co(e,t){return"object"!==typeof e||Array.isArray(e)?So(e,t):xo(e.code,[e.code],e)}function So(e,t){var n=[].concat(e||[]),r=ko(n,t)||Eo;return xo(e,n,r)}function ko(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}function xo(e,t,n){var r=Lt([wo,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 To,Ro={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Mo(e,t){return Jn(Io(e),null,t)}function Io(e){var t;return t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"===typeof e&&e?[e]:[],t=t.map((function(e){return f(f({},Ro),e)})),t}function Oo(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 No(){return null==To&&(To=Po()),To}function Po(){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"),n=t.offsetHeight>0;return document.body.removeChild(e),n}var Bo=er();(function(){function e(){this.getKeysForEventDefs=gn(this._getKeysForEventDefs),this.splitDateSelection=gn(this._splitDateSpan),this.splitEventStore=gn(this._splitEventStore),this.splitIndividualUi=gn(this._splitIndividualUi),this.splitEventDrag=gn(this._splitInteraction),this.splitEventResize=gn(this._splitInteraction),this.eventUiBuilders={}}e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),u={};for(var c in this.eventUiBuilders=jt(n,(function(e,n){return t.eventUiBuilders[n]||gn(Ho)})),n){var f=n[c],d=a[c]||Bo,p=this.eventUiBuilders[c];u[c]={businessHours:f.businessHours||e.businessHours,dateSelection:o[c]||null,eventStore:d,eventUiBases:p(e.eventUiBases[""],f.ui,i[c]),eventSelection:d.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[c]||null,eventResize:l[c]||null}}return u},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=this.getKeysForDateSpan(e),r=0,o=n;r<o.length;r++){var i=o[r];t[i]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return jt(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++){var l=s[a];o[l]||(o[l]=er()),o[l].defs[i]=n[i]}for(var u in r)for(var c=r[u],f=0,d=t[c.defId];f<d.length;f++){l=d[f];o[l]&&(o[l].instances[u]=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]||Bo,mutatedEvents:o[r]||Bo,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t}})();function Ho(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":ur(r)};return n&&f(o,n),o}function Uo(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!xr(r.activeRange,e)),isOther:Boolean(r&&!xr(r.currentRange,e)),isToday:Boolean(t&&xr(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function zo(e,t){var n=["fc-day","fc-day-"+gt[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var Fo=zn({year:"numeric",month:"long",day:"numeric"}),Lo=zn({week:"long"});function Vo(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o=e.dateEnv,i=e.options,a=e.calendarApi,s=o.format(t,"week"===n?Lo:Fo);if(i.navLinks){var l=o.toDate(t),u=function(e){var r="day"===n?i.navLinkDayClick:"week"===n?i.navLinkWeekClick:null;"function"===typeof r?r.call(a,o.toDate(t),e):("string"===typeof r&&(n=r),a.zoomTo(t,n))};return f({title:pt(i.navLinkHint,[s,l],s),"data-navlink":""},r?st(u):{onClick:u})}return{"aria-label":s}}var jo;function Qo(){return jo||(jo=Wo()),jo}function Wo(){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=Go(e);return document.body.removeChild(e),t}function Go(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function Zo(e){for(var t=Yo(e),n=e.getBoundingClientRect(),r=0,o=t;r<o.length;r++){var i=o[r],a=Oo(n,i.getBoundingClientRect());if(!a)return null;n=a}return n}function Yo(e){var t=[];while(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 qo(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 Jo=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){Xo(this.handlers,e,t)},e.prototype.off=function(e,t){Ko(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}();function Xo(e,t,n){(e[t]||(e[t]=[])).push(n)}function Ko(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(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)}e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r],a=i.getBoundingClientRect();t.push(a.left-e),n.push(a.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],a=i.getBoundingClientRect();t.push(a.top-e),n.push(a.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this,r=n.lefts,o=n.rights,i=r.length;for(t=0;t<i;t+=1)if(e>=r[t]&&e<o[t])return t},e.prototype.topToIndex=function(e){var t,n=this,r=n.tops,o=n.bottoms,i=r.length;for(t=0;t<i;t+=1)if(e>=r[t]&&e<o[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]}})();var $o=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}(),ei=(function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}c(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}}($o),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}c(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}}($o),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=f({},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],n?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption],t)?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}());ei.prototype.classes={},ei.prototype.iconClasses={},ei.prototype.baseIconClass="",ei.prototype.iconOverridePrefix="";var ti=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=f({},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}(),ni=je({});function ri(e,t,n,r,o,i,a,s,l,u,c,f,d){return{dateEnv:o,options:n,pluginHooks:a,emitter:u,dispatch:s,getCurrentData:l,calendarApi:c,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){u.on("_resize",e)},removeResizeHandler:function(e){u.off("_resize",e)},createScrollResponder:function(e){return new ti(e,u,tn(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:f,unregisterInteractiveComponent:d}}var oi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(Zt(e,this.props),Zt(t,this.state)),!Yt(this.props,e,this.propEquality)||!Yt(this.state,t,this.stateEquality)},t.addPropsEquality=ai,t.addStateEquality=si,t.contextType=ni,t}(Ue);oi.prototype.propEquality={},oi.prototype.stateEquality={};var ii=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.contextType=ni,t}(oi);function ai(e){var t=Object.create(this.prototype.propEquality);f(t,e),this.prototype.propEquality=t}function si(e){var t=Object.create(this.prototype.stateEquality);f(t,e),this.prototype.stateEquality=t}function li(e,t){"function"===typeof e?e(t):e&&(e.current=t)}var ui=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=ct(),t}return c(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&&!qe(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!qe(e,".fc-event:not(.fc-bg-event)")&&!qe(e,".fc-more-link")&&!qe(e,"a[data-navlink]")&&!qe(e,".fc-popover")},t}(ii);function ci(e){return{id:ct(),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 fi(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),r=pi(r,a))}}return e&&o(e),o(t),r}function di(){var e,t=[],n=[];return function(r,o){return e&&vn(r,t)&&vn(o,n)||(e=fi(r,o)),t=r,n=o,e}}function pi(e,t){return{reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:f(f({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:f(f({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:f(f({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:f(f({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:f(f({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,contentTypeHandlers:f(f({},e.contentTypeHandlers),t.contentTypeHandlers),listenerRefiners:f(f({},e.listenerRefiners),t.listenerRefiners),optionRefiners:f(f({},e.optionRefiners),t.optionRefiners),propSetHandlers:f(f({},e.propSetHandlers),t.propSetHandlers)}}var hi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t}(ei);function vi(e,t){var n,r={};for(n in e)gi(n,r,e,t);for(n in t)gi(n,r,e,t);return r}function gi(e,t,n,r){if(t[e])return t[e];var o=mi(e,t,n,r);return o&&(t[e]=o),o}function mi(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},s=a("component"),l=a("superType"),u=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");u=gi(l,t,n,r)}return!s&&u&&(s=u.component),s?{type:e,component:s,defaults:f(f({},u?u.defaults:{}),o?o.rawOptions:{}),overrides:f(f({},u?u.overrides:{}),i?i.rawOptions:{})}:null}hi.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},hi.prototype.baseIconClass="fc-icon",hi.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"},hi.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},hi.prototype.iconOverrideOption="buttonIcons",hi.prototype.iconOverrideCustomButtonOption="icon",hi.prototype.iconOverridePrefix="fc-icon-";var yi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=Le(),t.handleRootEl=function(e){li(t.rootElRef,e),t.props.elRef&&li(t.props.elRef,e)},t}return c(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return ze(wi,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return ze(Ai,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,Di(t.classNames,n),e,o)}))}))},t}(ii),bi=je(0);function Ai(e){return ze(bi.Consumer,null,(function(t){return ze(_i,f({renderId:t},e))}))}var _i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=Le(),t}return c(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=f({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=Ci(e.content,e.hookProps);return void 0===t&&(t=Ci(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}(ii),wi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&li(t.props.elRef,e)},t}return c(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(f(f({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(f(f({},this.props.hookProps),{el:this.rootEl}))},t}(ii);function Ei(){var e,t,n=[];return function(r,o){return t&&Gt(t,o)&&r===e||(e=r,t=o,n=Di(r,o)),n}}function Di(e,t){return"function"===typeof e&&(e=e(t)),ir(e)}function Ci(e,t){return"function"===typeof e?e(t,ze):e}var Si=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=Ei(),t}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=n.options,o={view:n.viewApi},i=this.normalizeClassNames(r.viewClassNames,o);return ze(wi,{hookProps:o,didMount:r.viewDidMount,willUnmount:r.viewWillUnmount,elRef:t.elRef},(function(e){return t.children(e,["fc-"+t.viewSpec.type+"-view","fc-view"].concat(i))}))},t}(ii);function ki(e){return jt(e,xi)}function xi(e){var t="function"===typeof e?{component:e}:e,n=t.component;return t.content&&(n=Ti(t)),{superType:t.type,component:n,rawOptions:t}}function Ti(e){return function(t){return ze(ni.Consumer,null,(function(n){return ze(Si,{viewSpec:n.viewSpec},(function(r,o){var i=f(f({},t),{nextDayThreshold:n.options.nextDayThreshold});return ze(yi,{hookProps:i,classNames:e.classNames,content:e.content,didMount:e.didMount,willUnmount:e.willUnmount,elRef:r},(function(e,t,n,r){return ze("div",{className:o.concat(t).join(" "),ref:e},r)}))}))}))}}function Ri(e,t,n,r){var o=ki(e),i=ki(t.views),a=vi(o,i);return jt(a,(function(e){return Mi(e,i,t,n,r)}))}function Mi(e,t,n,r,o){var i=e.overrides.duration||e.defaults.duration||r.duration||n.duration,a=null,s="",l="",u={};if(i&&(a=Oi(i),a)){var c=fn(a);s=c.unit,1===c.value&&(l=s,u=t[s]?t[s].rawOptions:{})}var d=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[l]?n[l]: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[l]?n[l]:null};return{type:e.type,component:e.component,duration:a,durationUnit:s,singleUnit:l,optionDefaults:e.defaults,optionOverrides:f(f({},u),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(o)||e.defaults.buttonText||d(Ln)||e.type,buttonTitleOverride:p(r)||p(n)||e.overrides.buttonHint,buttonTitleDefault:p(o)||e.defaults.buttonHint||p(Ln)}}var Ii={};function Oi(e){var t=JSON.stringify(e),n=Ii[t];return void 0===n&&(n=tn(e),Ii[t]=n),n}var Ni=function(){function e(e){this.props=e,this.nowDate=lo(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,u=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(e=Tr(e,r)),o=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),a=this.trimHiddenDays(a),s=a,u.showNonCurrentDates||(s=Sr(s,o.range)),s=this.adjustActiveRange(s),s=Sr(s,r),l=kr(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:u.slotMinTime,slotMaxTime:u.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:(o=this.getFallbackDuration(),i=fn(o).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return tn({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&&(un(o)<0&&(a=St(a),a=n.add(a,o)),un(i)>1&&(s=St(s),s=mt(s,-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,u=s.dateAlignment;if(!u){var c=this.props.dateIncrement;u=c&&cn(c)<cn(n)?fn(c).unit:r}function f(){o=l.startOf(e,u),i=l.add(o,n),a={start:o,end:i}}return un(n)<=1&&this.isHiddenDay(o)&&(o=this.skipHiddenDays(o,t),o=St(o)),f(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),f()),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=St(l),l=this.skipHiddenDays(l,t),r=l;do{r=mt(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)?tn(1,t):e||tn({days:1}))},e.prototype.refineRange=function(e){if(e){var t=Er(e,this.props.dateEnv);return t&&(t=_r(t)),t}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){void 0===t&&(t=1),void 0===n&&(n=!1);while(this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7])e=mt(e,t);return e},e}();function Pi(e,t){switch(t.type){case"CHANGE_VIEW_TYPE":e=t.viewType}return e}function Bi(e,t){var n;switch(t.type){case"SET_OPTION":return f(f({},e),(n={},n[t.optionName]=t.rawOptionValue,n));default:return e}}function Hi(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),o.isValid)return o;break;case"NEXT":if(o=r.buildNext(e,n),o.isValid)return o;break}return e}function Ui(e,t,n){var r=t?t.activeRange:null;return Vi({},Ji(e,n),r,n)}function zi(e,t,n,r){var o=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Vi(e,t.sources,o,r);case"REMOVE_EVENT_SOURCE":return ji(e,t.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Qi(e,o,r):e;case"FETCH_EVENT_SOURCES":return Gi(e,t.sourceIds?Qt(t.sourceIds):qi(e,r),o,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return Yi(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function Fi(e,t,n){var r=t?t.activeRange:null;return Gi(e,qi(e,n),r,!0,n)}function Li(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function Vi(e,t,n,r){for(var o={},i=0,a=t;i<a.length;i++){var s=a[i];o[s.sourceId]=s}return n&&(o=Qi(o,n,r)),f(f({},e),o)}function ji(e,t){return Vt(e,(function(e){return e.sourceId!==t}))}function Qi(e,t,n){return Gi(e,Vt(e,(function(e){return Wi(e,t,n)})),t,!1,n)}function Wi(e,t,n){return Xi(e,n)?!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end:!e.latestFetchId}function Gi(e,t,n,r,o){var i={};for(var a in e){var s=e[a];t[a]?i[a]=Zi(s,n,r,o):i[a]=s}return i}function Zi(e,t,n,r){var o=r.options,i=r.calendarApi,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],s=ct();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:s,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:s,fetchRange:t,error:n})})),f(f({},e),{isFetching:!0,latestFetchId:s})}function Yi(e,t,n,r){var o,i=e[t];return i&&n===i.latestFetchId?f(f({},e),(o={},o[t]=f(f({},i),{isFetching:!1,fetchRange:r}),o)):e}function qi(e,t){return Vt(e,(function(e){return Xi(e,t)}))}function Ji(e,t){var n=oo(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=a[i],l=ro(s,t,n);l&&o.push(l)}return o}function Xi(e,t){var n=t.pluginHooks.eventSourceDefs;return!n[e.sourceDefId].ignoreRange}function Ki(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return $i(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return na(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return tr(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?Kt(e,r.activeRange,o):e;case"REMOVE_EVENTS":return rr(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return oa(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return nr(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return er();default:return e}}function $i(e,t,n,r,o,i){if(t&&n===t.latestFetchId){var a=Jn(ea(o,t,i),t,i);return r&&(a=Kt(a,r,i)),tr(oa(e,t.sourceId),a)}return e}function ea(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;return o&&(e=ta(e,o)),r&&(e=ta(e,r)),e}function ta(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 na(e,t,n,r){return n&&(t=Kt(t,n,r)),tr(e,t)}function ra(e,t,n){var r=e.defs,o=jt(e.instances,(function(e){var o=r[e.defId];return o.allDay||o.recurringDef?e:f(f({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})}));return{defs:r,instances:o}}function oa(e,t){return nr(e,(function(e){return e.sourceId!==t}))}function ia(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function aa(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function sa(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function la(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function ua(e,t,n,r,o){var i=e.headerToolbar?ca(e.headerToolbar,e,t,n,r,o):null,a=e.footerToolbar?ca(e.footerToolbar,e,t,n,r,o):null;return{header:i,footer:a}}function ca(e,t,n,r,o,i){var a={},s=[],l=!1;for(var u in e){var c=e[u],f=fa(c,t,n,r,o,i);a[u]=f.widgets,s.push.apply(s,f.viewsWithButtons),l=l||f.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function fa(e,t,n,r,o,i){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},u=t.buttonText||{},c=n.buttonHints||{},f=t.buttonHints||{},d=e?e.split(" "):[],p=[],h=!1,v=d.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,d,v,g,m,y;if(n=s[e])v=function(e){n.click&&n.click.call(e.target,e,e.target)},(g=r.getCustomButtonIconClass(n))||(g=r.getIconClass(e,a))||(m=n.text),y=n.hint||n.text;else if(d=o[e]){p.push(e),v=function(){i.changeView(e)},(m=d.buttonTextOverride)||(g=r.getIconClass(e,a))||(m=d.buttonTextDefault);var b=d.buttonTextOverride||d.buttonTextDefault;y=pt(d.buttonTitleOverride||d.buttonTitleDefault||t.viewHint,[b,e],b)}else if(i[e])if(v=function(){i[e]()},(m=l[e])||(g=r.getIconClass(e,a))||(m=u[e]),"prevYear"===e||"nextYear"===e){var A="prevYear"===e?"prev":"next";y=pt(c[A]||f[A],[u.year||"year","year"],u[e])}else y=function(t){return pt(c[e]||f[e],[u[t]||t,t],u[e])};return{buttonName:e,buttonClick:v,buttonIcon:g,buttonText:m,buttonHint:y}}))}));return{widgets:v,viewsWithButtons:p,hasTitle:h}}var da={ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}},pa=ci({eventSourceDefs:[da]}),ha={parseMeta:function(e){return"function"===typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv,o=e.eventSource.meta;qo(o.bind(null,Wr(e.range,r)),(function(e){t({rawEvents:e})}),n)}},va=ci({eventSourceDefs:[ha]});function ga(e,t,n,r,o){e=e.toUpperCase();var i=null;"GET"===e?t=ma(t,n):i=ya(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(n){}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 ma(e,t){return e+(-1===e.indexOf("?")?"?":"&")+ya(t)}function ya(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}var ba={method:String,extraParams:qn,startParam:String,endParam:String,timeZoneParam:String},Aa={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=wa(r,e.range,e.context);ga(r.method,r.url,o,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}},_a=ci({eventSourceRefiners:ba,eventSourceDefs:[Aa]});function wa(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,u={};return r=e.startParam,null==r&&(r=l.startParam),o=e.endParam,null==o&&(o=l.endParam),i=e.timeZoneParam,null==i&&(i=l.timeZoneParam),a="function"===typeof e.extraParams?e.extraParams():e.extraParams||{},f(u,a),u[r]=s.formatIso(t.start),u[o]=s.formatIso(t.end),"local"!==s.timeZone&&(u[i]=s.timeZone),u}var Ea={daysOfWeek:qn,startTime:tn,endTime:tn,duration:tn,startRecur:qn,endRecur:qn},Da={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&&(r=an(e.endTime,e.startTime)),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}return null},expand:function(e,t,n){var r=Sr(t,{start:e.startRecur,end:e.endRecur});return r?Sa(e.daysOfWeek,e.startTime,r,n):[]}},Ca=ci({recurringTypes:[Da],eventRefiners:Ea});function Sa(e,t,n,r){var o=e?Qt(e):null,i=St(n.start),a=n.end,s=[];while(i<a){var l=void 0;o&&!o[i.getUTCDay()]||(l=t?r.add(i,t):i,s.push(l)),i=mt(i,1)}return s}var ka=ci({optionChangeHandlers:{events:function(e,t){xa([e],t)},eventSources:xa}});function xa(e,t){for(var n=Wt(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var u=0,c=n;u<c.length;u++){var f=c[u];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:f.sourceId})}for(var d=0,p=r;d<p.length;d++){var h=p[d];t.calendarApi.addEventSource(h)}}function Ta(e,t){t.emitter.trigger("datesSet",f(f({},Wr(e.activeRange,t.dateEnv)),{view:t.viewApi}))}function Ra(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",po(e,t))}var Ma=[pa,va,_a,Ca,ka,ci({isLoadingFuncs:[function(e){return Li(e.eventSources)}],contentTypeHandlers:{html:Ia,domNodes:Oa},propSetHandlers:{dateProfile:Ta,eventStore:Ra}})];function Ia(){var e=null,t="";function n(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r}function r(){e.innerHTML="",e=null,t=""}return{render:n,destroy:r}}function Oa(){var e=null,t=[];function n(n,o){var i=Array.prototype.slice.call(o);if(n!==e||!vn(t,i)){for(var a=0,s=i;a<s.length;a++){var l=s[a];n.appendChild(l)}r()}e=n,t=i}function r(){t.forEach(Ye),t=[],e=null}return{render:n,destroy:r}}var Na=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;var r=n[e];r<=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()){this.isRunning=!0;while(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}(),Pa=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new Na(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(){var e=this.queue;while(e.length){var t=[],n=void 0;while(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 Ba(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,zn(t.titleFormat||Ha(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}function Ha(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=Ct(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}var Ua=function(){function e(e){var t=this;this.computeOptionsData=gn(this._computeOptionsData),this.computeCurrentViewData=gn(this._computeCurrentViewData),this.organizeRawLocales=gn(Do),this.buildLocale=gn(Co),this.buildPluginHooks=di(),this.buildDateEnv=gn(za),this.buildTheme=gn(Fa),this.parseToolbars=gn(ua),this.buildViewSpecs=gn(Ri),this.buildDateProfileGenerator=mn(La),this.buildViewApi=gn(Va),this.buildViewUiProps=mn(Wa),this.buildEventUiBySource=gn(ja,Gt),this.buildEventUiBases=gn(Qa),this.parseContextBusinessHours=mn(Za),this.buildTitle=gn(Ba),this.emitter=new Jo,this.actionRunner=new Pa(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=so(r.calendarOptions,r.dateEnv),s=i.dateProfileGenerator.build(a);xr(s.activeRange,a)||(a=s.currentRange.start);for(var l={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},u=0,c=r.pluginHooks.contextInit;u<c.length;u++){var d=c[u];d(l)}for(var p=Ui(r.calendarOptions,s,l),h={dynamicOptionOverrides:n,currentViewType:o,currentDate:a,dateProfile:s,businessHours:this.parseContextBusinessHours(l),eventSources:p,eventUiBases:{},eventStore:er(),renderableEventStore:er(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(l).selectionConfig},v=f(f({},l),h),g=0,m=r.pluginHooks.reducers;g<m.length;g++){var y=m[g];f(h,y(null,null,v))}Ga(h,l)&&this.emitter.trigger("loading",!0),this.state=h,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?f(f({},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=Bi(r.dynamicOptionOverrides,e),a=this.computeOptionsData(n.optionOverrides,i,n.calendarApi),s=Pi(r.currentViewType,e),l=this.computeCurrentViewData(s,a,n.optionOverrides,i);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(l.options);var u={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},c=r.currentDate,d=r.dateProfile;this.data&&this.data.dateProfileGenerator!==l.dateProfileGenerator&&(d=l.dateProfileGenerator.build(c)),c=ao(c,e),d=Hi(d,e,c,l.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&xr(d.currentRange,c)||(c=d.currentRange.start);for(var p=zi(r.eventSources,e,d,u),h=Ki(r.eventStore,e,p,d,u),v=Li(p),g=v&&!l.options.progressiveEventRendering&&r.renderableEventStore||h,m=this.buildViewUiProps(u),y=m.eventUiSingleBase,b=m.selectionConfig,A=this.buildEventUiBySource(p),_=this.buildEventUiBases(g.defs,y,A),w={dynamicOptionOverrides:i,currentViewType:s,currentDate:c,dateProfile:d,eventSources:p,eventStore:h,renderableEventStore:g,selectionConfig:b,eventUiBases:_,businessHours:this.parseContextBusinessHours(u),dateSelection:ia(r.dateSelection,e),eventSelection:aa(r.eventSelection,e),eventDrag:sa(r.eventDrag,e),eventResize:la(r.eventResize,e)},E=f(f({},u),w),D=0,C=a.pluginHooks.reducers;D<C.length;D++){var S=C[D];f(w,S(r,e,E))}var k=Ga(r,u),x=Ga(w,u);!k&&x?o.trigger("loading",!0):k&&!x&&o.trigger("loading",!1),this.state=w,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e=this,t=e.props,n=e.state,r=this.data,o=this.computeOptionsData(t.optionOverrides,n.dynamicOptionOverrides,t.calendarApi),i=this.computeCurrentViewData(n.currentViewType,o,t.optionOverrides,n.dynamicOptionOverrides),a=this.data=f(f(f({viewTitle:this.buildTitle(n.dateProfile,i.options,o.dateEnv),calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},o),i),n),s=o.pluginHooks.optionChangeHandlers,l=r&&r.calendarOptions,u=o.calendarOptions;if(l&&l!==u)for(var c in l.timeZone!==u.timeZone&&(n.eventSources=a.eventSources=Fi(a.eventSources,n.dateProfile,a),n.eventStore=a.eventStore=ra(a.eventStore,r.dateEnv,a.dateEnv)),s)l[c]!==u[c]&&s[c](u[c],a);t.onData&&t.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,l=r.extra;Ya(l);var u=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,e,t,a),f=this.buildTheme(o,i),d=this.parseToolbars(o,e,f,c,n);return{calendarOptions:o,pluginHooks:i,dateEnv:u,viewSpecs:c,theme:f,toolbarConfig:d,localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=Zn([Ln,e,t]),r=n.locales,o=n.locale,i=this.organizeRawLocales(r),a=i.map,s=this.buildLocale(o||i.defaultCode,a).options,l=this.buildPluginHooks(e.plugins||[],Ma),u=this.currentCalendarOptionsRefiners=f(f(f(f(f({},Fn),Vn),jn),l.listenerRefiners),l.optionRefiners),c={},d=Zn([Ln,s,e,t]),p={},h=this.currentCalendarOptionsInput,v=this.currentCalendarOptionsRefined,g=!1;for(var m in d)"plugins"!==m&&(d[m]===h[m]||Qn[m]&&m in h&&Qn[m](h[m],d[m])?p[m]=v[m]:u[m]?(p[m]=u[m](d[m]),g=!0):c[m]=h[m]);return g&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=p),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:i,localeDefaults:s,extra:c}},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,s=i.extra;Ya(s);var l=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}),u=this.buildViewApi(e,this.getCurrentData,t.dateEnv);return{viewSpec:o,options:a,dateProfileGenerator:l,viewApi:u}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var i=Zn([Ln,e.optionDefaults,n,r,e.optionOverrides,o]),a=f(f(f(f(f(f({},Fn),Vn),jn),Gn),t.listenerRefiners),t.optionRefiners),s={},l=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,c=!1,d={};for(var p in i)i[p]===l[p]?s[p]=u[p]:(i[p]===this.currentCalendarOptionsInput[p]?p in this.currentCalendarOptionsRefined&&(s[p]=this.currentCalendarOptionsRefined[p]):a[p]?s[p]=a[p](i[p]):d[p]=i[p],c=!0);return c&&(this.currentViewOptionsInput=i,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}},e}();function za(e,t,n,r,o,i,a,s){var l=Co(t||a.defaultCode,a.map);return new Ao({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function Fa(e,t){var n=t.themeClasses[e.themeSystem]||hi;return new n(e)}function La(e){var t=e.dateProfileGeneratorClass||Ni;return new t(e)}function Va(e,t,n){return new to(e,t,n)}function ja(e){return jt(e,(function(e){return e.ui}))}function Qa(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 Wa(e){var t=e.options;return{eventUiSingleBase:lr({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:lr({constraint:t.selectConstraint,overlap:"boolean"===typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function Ga(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){var o=r[n];if(o(e))return!0}return!1}function Za(e){return Mo(e.options.businessHours,e)}function Ya(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}(function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new Ua({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}c(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)}})(Ue);(function(){function e(e){this.timeZoneName=e}})(),function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}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,d([{index:e.index,thickness:e.thickness,span:Xa(a,i)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this,r=n.entriesByLevel,o=n.levelCoords;-1===t.lateral?(Ka(o,t.level,t.levelCoord),Ka(r,t.level,[e])):Ka(r[t.level],t.lateral,e),this.stackCnts[Ja(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,o=t.strictOrder,i=t.stackCnts,a=n.length,s=0,l=-1,u=-1,c=null,f=0,d=0;d<a;d+=1){var p=n[d];if(!o&&p>=s+e.thickness)break;var h=r[d],v=void 0,g=$a(h,e.span.start,qa),m=g[0]+g[1];while((v=h[m])&&v.span.start<e.span.end){var y=p+v.thickness;y>s&&(s=y,c=v,l=d,u=m),y===s&&(f=Math.max(f,i[Ja(v)]+1)),m+=1}}var b=0;if(c){b=l+1;while(b<a&&n[b]<s)b+=1}var A=-1;return b<a&&n[b]===s&&(A=$a(r[b],e.span.end,qa)[0]),{touchingLevel:l,touchingLateral:u,touchingEntry:c,stackCnt:f,levelCoord:s,level:b,lateral:A}},e.prototype.toRects=function(){for(var e=this,t=e.entriesByLevel,n=e.levelCoords,r=t.length,o=[],i=0;i<r;i+=1)for(var a=t[i],s=n[i],l=0,u=a;l<u.length;l++){var c=u[l];o.push(f(f({},c),{levelCoord:s}))}return o}}();function qa(e){return e.span.end}function Ja(e){return e.index+":"+e.span.start}function Xa(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 Ka(e,t,n){e.splice(t,0,n)}function $a(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];while(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 es=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function ts(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}var ns={};(function(){function e(e,t){this.emitter=new Jo}e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){}})(),Boolean;var rs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return ze.apply(void 0,d(["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 s=a[i],l=s.buttonName,u=s.buttonClick,c=s.buttonText,f=s.buttonIcon,p=s.buttonHint;if("title"===l)o=!1,r.push(ze("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var h=l===t.activeButton,v=!t.isTodayEnabled&&"today"===l||!t.isPrevEnabled&&"prev"===l||!t.isNextEnabled&&"next"===l,g=["fc-"+l+"-button",n.getClass("button")];h&&g.push(n.getClass("buttonActive")),r.push(ze("button",{type:"button",title:"function"===typeof p?p(t.navUnit):p,disabled:v,"aria-pressed":h,className:g.join(" "),onClick:u},c||(f?ze("span",{className:f}):"")))}}if(r.length>1){var m=o&&n.getClass("buttonGroup")||"";return ze.apply(void 0,d(["div",{className:m}],r))}return r[0]},t}(ii),os=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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;a.left?(i=!0,e=a.left):e=a.start,a.right?(i=!0,t=a.right):t=a.end;var l=[o||"","fc-toolbar",i?"fc-toolbar-ltr":""];return ze("div",{className:l.join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return ze(rs,{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}(ii),is=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,li(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=t.aspectRatio,o=["fc-view-harness",r||t.liquid||t.height?"fc-view-harness-active":"fc-view-harness-passive"],i="",a="";return r?null!==n.availableWidth?i=n.availableWidth/r:a=1/r*100+"%":i=t.height||"",ze("div",{"aria-labelledby":t.labeledById,ref:this.handleEl,className:o.join(" "),style:{height:i,paddingBottom:a}},t.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}(ii),as=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=Ir(t);if(i&&r.isValidSegDownEl(e.target)){var a=qe(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new co(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=it(t.el,"click",".fc-event",n.handleSegClick),n}return c(t,e),t}(es),ss=function(e){function t(t){var n=e.call(this,t)||this;return n.handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){Ir(t)&&(n.currentSegEl=t,n.triggerEvent("eventMouseEnter",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",e,t))},n.removeHoverListeners=at(t.el,".fc-event",n.handleSegEnter,n.handleSegLeave),n}return c(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=Ir(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new co(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(es),ls=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=gn(ri),t.buildViewPropTransformers=gn(cs),t.buildToolbarProps=gn(us),t.headerRef=Le(),t.footerRef=Le(),t.interactionsStore={},t.state={viewLabelId:rt()},t.registerInteractiveComponent=function(e,n){var r=ts(e,n),o=[as,ss],i=o.concat(t.props.pluginHooks.componentInteractions),a=i.map((function(e){return new e(r)}));t.interactionsStore[e.uid]=a,ns[e.uid]=r},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0,o=n;r<o.length;r++){var i=o[r];i.destroy()}delete t.interactionsStore[e.uid]}delete ns[e.uid]},t.resizeRunner=new Na((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 c(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,lo(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 s=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),l=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return ze(ni.Provider,{value:s},n.header&&ze(os,f({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},o)),ze(is,{liquid:i,height:a,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&ze(os,f({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++){var n=t[e];n.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 ze.apply(void 0,d([Ve,{}],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=this.buildViewPropTransformers(t.viewPropsTransformers),i=0,a=o;i<a.length;i++){var s=a[i];f(r,s.transform(r,e))}var l=n.component;return ze(l,f({},r))},t}(oi);function us(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&&!xr(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function cs(e){return e.map((function(e){return new e}))}var fs=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 c(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 No()||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}(ii);function ds(e,t){return zn(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var ps="fc-col-header-cell";function hs(e){return e.text}var vs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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,s=i.dateProfile,l=Uo(a,i.todayRange,null,s),u=[ps].concat(zo(l,r)),c=t.format(a,i.dayHeaderFormat),d=!l.isDisabled&&i.colCnt>1?Vo(this.context,a):{},p=f(f(f({date:t.toDate(a),view:o},i.extraHookProps),{text:c}),l);return ze(yi,{hookProps:p,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:hs,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return ze("th",f({ref:e,role:"columnheader",className:u.concat(t).join(" "),"data-date":l.isDisabled?void 0:pn(a),colSpan:i.colSpan},i.extraDataAttrs),ze("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&ze("a",f({ref:n,className:["fc-col-header-cell-cushion",i.isSticky?"fc-sticky":""].join(" ")},d),r)))}))},t}(ii),gs=zn({weekday:"long"}),ms=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(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=mt(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=[ps].concat(zo(s,r),e.extraClassNames||[]),u=n.format(a,e.dayHeaderFormat),c=f(f(f(f({date:a},s),{view:o}),e.extraHookProps),{text:u});return ze(yi,{hookProps:c,classNames:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:hs,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},(function(t,r,o,i){return ze("th",f({ref:t,role:"columnheader",className:l.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),ze("div",{className:"fc-scrollgrid-sync-inner"},ze("a",{"aria-label":n.format(a,gs),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(ii),ys=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=lo(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state;return t.children(n.nowDate,n.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,t=e.props,n=e.context,r=yt(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),o=n.dateEnv.startOf(r,t.unit),i=n.dateEnv.add(o,tn(1,t.unit)),a=i.valueOf()-r.valueOf();return a=Math.min(864e5,a),{currentState:{nowDate:o,todayRange:bs(o)},nextState:{nowDate:i,todayRange:bs(i)},waitMs:a}},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=ni,t}(Ue);function bs(e){var t=St(e),n=mt(t,1);return{start:t,end:n}}(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=gn(As),t}c(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 ze(ys,{unit:"day"},(function(e,t){return ze("tr",{role:"row"},i&&i("day"),n.map((function(e){return o?ze(vs,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):ze(ms,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})})))}))}})(ii);function As(e,t,n){return e||ds(t,n)}(function(){function e(e,t){var n=e.start,r=e.end,o=[],i=[],a=-1;while(n<r)t.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=mt(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(mt(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return r=Math.ceil(r),o=Math.floor(o),r<=o?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(bt(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;n+=1)if(i[n].getUTCDay()===r)break;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){var o=n.firstIndex,i=n.lastIndex,a=o;while(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}}(),function(){function e(){this.sliceBusinessHours=gn(this._sliceBusinessHours),this.sliceDateSelection=gn(this._sliceDateSpan),this.sliceEventStore=gn(this._sliceEventStore),this.sliceEventDrag=gn(this._sliceInteraction),this.sliceEventResize=gn(this._sliceInteraction),this.forceDayIfListItem=!1}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,s=this.sliceEventStore.apply(this,d([e.eventStore,a,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,d([e.dateSelection,a,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,d([e.businessHours,t,n,r],o)),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag.apply(this,d([e.eventDrag,a,t,n],o)),eventResize:this.sliceEventResize.apply(this,d([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,d([{range:{start:e,end:yt(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,d([Kt(e,_s(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=Rr(e,t,_s(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=Rr(e.mutatedEvents,t,_s(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=Zr(e,t,n),a=this.sliceRange.apply(this,d([e.range],r)),s=0,l=a;s<l.length;s++){var u=l[s];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:mt(n.start,1)});for(var r=this.sliceRange.apply(this,d([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}}();function _s(e,t){var n=e.activeRange;return t?n:{start:yt(n.start,e.slotMinTime.milliseconds),end:yt(n.end,e.slotMaxTime.milliseconds-864e5)}}var ws=/^(visible|hidden)$/,Es=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,li(t.props.elRef,e)},t}return c(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")),ze("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(ws.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){var o=n[r];if(o.getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(ws.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){var o=n[r];if(o.getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return ws.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return ws.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(ii),Ds=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 Jt(this.currentMap,e,t,n)},e.prototype.getAll=function(){return Wt(this.currentMap)},e}();function Cs(e){for(var t=Xe(e,".fc-scrollgrid-shrink"),n=0,r=0,o=t;r<o.length;r++){var i=o[r];n=Math.max(n,vt(i))}return Math.ceil(n)}function Ss(e,t){return e.liquid&&t.liquid}function ks(e,t){return null!=t.maxHeight||Ss(e,t)}function xs(e,t,n,r){var o=n.expandRows,i="function"===typeof t.content?t.content(n):ze("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,ze(r?"thead":"tbody",{role:"presentation"},"function"===typeof t.rowContent?t.rowContent(n):t.rowContent));return i}function Ts(e,t){return vn(e,t,Gt)}function Rs(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var i=o[r],a=i.span||1,s=0;s<a;s+=1)n.push(ze("col",{style:{width:"shrink"===i.width?Ms(t):i.width||"",minWidth:i.minWidth||""}}));return ze.apply(void 0,d(["colgroup",{}],n))}function Ms(e){return null==e?4:e}function Is(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];if("shrink"===r.width)return!0}return!1}function Os(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function Ns(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}var Ps=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=gn((function(e){return e}),Ts),t.renderMicroColGroup=gn(Rs),t.scrollerRefs=new Ds,t.scrollerElRefs=new Ds(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.setState(f({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return c(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),s=Os(t.liquid,r);t.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");var l,u=o.length,c=0,f=[],p=[],h=[];while(c<u&&"header"===(l=o[c]).type)f.push(this.renderSection(l,a,!0)),c+=1;while(c<u&&"body"===(l=o[c]).type)p.push(this.renderSection(l,a,!1)),c+=1;while(c<u&&"footer"===(l=o[c]).type)h.push(this.renderSection(l,a,!0)),c+=1;var v=!No(),g={role:"rowgroup"};return ze("table",{role:"grid",className:s.join(" "),style:{height:t.height}},Boolean(!v&&f.length)&&ze.apply(void 0,d(["thead",g],f)),Boolean(!v&&p.length)&&ze.apply(void 0,d(["tbody",g],p)),Boolean(!v&&h.length)&&ze.apply(void 0,d(["tfoot",g],h)),v&&ze.apply(void 0,d(d(d(["tbody",g],f),p),h)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?ze(Ve,{key:e.key},e.outerContent):ze("tr",{key:e.key,role:"presentation",className:Ns(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=ks(o,e),c=Ss(o,e),f=o.liquid?a?"scroll":u?"auto":"hidden":"visible",d=e.key,p=xs(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[d]?null:s[d],clientHeight:void 0!==l[d]?l[d]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return ze(r?"th":"td",{ref:n.elRef,role:"presentation"},ze("div",{className:"fc-scroller-harness"+(c?" fc-scroller-harness-liquid":"")},ze(Es,{ref:this.scrollerRefs.createRef(d),elRef:this.scrollerElRefs.createRef(d),overflowY:f,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},p)))},t.prototype._handleScrollerEl=function(e,t){var n=Bs(this.props.sections,t);n&&li(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 Is(this.props.cols)?Cs(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=Qo(),t=this,n=t.scrollerRefs,r=t.scrollerElRefs,o=!1,i={},a={};for(var s in n.currentMap){var l=n.currentMap[s];if(l&&l.needsYScrolling()){o=!0;break}}for(var u=0,c=this.props.sections;u<c.length;u++){var f=c[u],d=(s=f.key,r.currentMap[s]);if(d){var p=d.parentNode;i[s]=Math.floor(p.getBoundingClientRect().width-(o?e.y:0)),a[s]=Math.floor(p.getBoundingClientRect().height)}}return{forceYScrollbars:o,scrollerClientWidths:i,scrollerClientHeights:a}},t}(ii);function Bs(e,t){for(var n=0,r=e;n<r.length;n++){var o=r[n];if(o.key===t)return o}return null}Ps.addStateEquality({scrollerClientWidths:Gt,scrollerClientHeights:Gt});var Hs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=Le(),t}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=n.options,o=t.seg,i=o.eventRange,a=i.ui,s={event:new co(n,i.def,i.instance),view:n.viewApi,timeText:t.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!t.disableDragging&&Pr(o,n),isStartResizable:!t.disableResizing&&Br(o,n),isEndResizable:!t.disableResizing&&Hr(o),isMirror:Boolean(t.isDragging||t.isResizing||t.isDateSelecting),isStart:Boolean(o.isStart),isEnd:Boolean(o.isEnd),isPast:Boolean(t.isPast),isFuture:Boolean(t.isFuture),isToday:Boolean(t.isToday),isSelected:Boolean(t.isSelected),isDragging:Boolean(t.isDragging),isResizing:Boolean(t.isResizing)},l=zr(s).concat(a.classNames);return ze(yi,{hookProps:s,classNames:r.eventClassNames,content:r.eventContent,defaultContent:t.defaultContent,didMount:r.eventDidMount,willUnmount:r.eventWillUnmount,elRef:this.elRef},(function(e,n,r,o){return t.children(e,l.concat(n),r,o,s)}))},t.prototype.componentDidMount=function(){Mr(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&Mr(this.elRef.current,t)},t}(ii);(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=t.seg,o=n.options.eventTimeFormat||t.defaultTimeFormat,i=Ur(r,o,n,t.defaultDisplayEventTime,t.defaultDisplayEventEnd);return ze(Hs,{seg:r,timeText:i,disableDragging:t.disableDragging,disableResizing:t.disableResizing,defaultContent:t.defaultContent||Us,isDragging:t.isDragging,isResizing:t.isResizing,isDateSelecting:t.isDateSelecting,isSelected:t.isSelected,isPast:t.isPast,isFuture:t.isFuture,isToday:t.isToday},(function(e,o,i,a,s){return ze("a",f({className:t.extraClassNames.concat(o).join(" "),style:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},ref:e},Fr(r,n)),ze("div",{className:"fc-event-main",ref:i,style:{color:s.textColor}},a),s.isStartResizable&&ze("div",{className:"fc-event-resizer fc-event-resizer-start"}),s.isEndResizable&&ze("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))}})(ii);function Us(e){return ze("div",{className:"fc-event-main-frame"},e.timeText&&ze("div",{className:"fc-event-time"},e.timeText),ze("div",{className:"fc-event-title-container"},ze("div",{className:"fc-event-title fc-sticky"},e.event.title||ze(Ve,null," "))))}var zs=zn({day:"numeric"}),Fs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=n.options,o=Ls({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraProps:t.extraHookProps,viewApi:n.viewApi,dateEnv:n.dateEnv});return ze(Ai,{hookProps:o,content:r.dayCellContent,defaultContent:t.defaultContent},t.children)},t}(ii);function Ls(e){var t=e.date,n=e.dateEnv,r=Uo(t,e.todayRange,null,e.dateProfile);return f(f(f({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,zs):""}),e.extraProps)}var Vs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=mn(Ls),t.normalizeClassNames=Ei(),t}return c(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.context,r=n.options,o=this.refineHookProps({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraProps:t.extraHookProps,viewApi:n.viewApi,dateEnv:n.dateEnv}),i=zo(o,n.theme).concat(o.isDisabled?[]:this.normalizeClassNames(r.dayCellClassNames,o)),a=o.isDisabled?{}:{"data-date":pn(t.date)};return ze(wi,{hookProps:o,didMount:r.dayCellDidMount,willUnmount:r.dayCellWillUnmount,elRef:t.elRef},(function(e){return t.children(e,i,a,o.isDisabled)}))},t}(ii);var js=10,Qs=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:rt()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&li(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=tt(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 c(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this,o=r.props,i=r.state,a=["fc-popover",t.getClass("popover")].concat(o.extraClassNames||[]);return Qe(ze("div",f({id:o.id,className:a.join(" "),"aria-labelledby":i.titleId},o.extraAttrs,{ref:this.handleRootEl}),ze("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},ze("span",{className:"fc-popover-title",id:i.titleId},o.title),ze("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),ze("div",{className:"fc-popover-body "+t.getClass("popoverContent")},o.children)),o.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=Zo(n);if(i){var a=o.getBoundingClientRect(),s=r?qe(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=e?i.right-a.width:i.left;s=Math.max(s,js),l=Math.min(l,document.documentElement.clientWidth-js-a.width),l=Math.max(l,js);var u=o.offsetParent.getBoundingClientRect();$e(o,{top:s-u.top,left:l-u.left})}},t}(ii),Ws=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 c(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 ze(Vs,{date:o,dateProfile:a,todayRange:i,elRef:this.handleRootEl},(function(e,t,n){return ze(Qs,{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},ze(Fs,{date:o,dateProfile:a,todayRange:i},(function(e,t){return t&&ze("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var o=this,i=o.rootEl,a=o.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:a.dateProfile,dateSpan:f({allDay:!0,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:i,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(ui);(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=Le(),t.state={isPopoverOpen:!1,popoverId:rt()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,i=o.options.moreLinkClick,a=Zs(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,i=t.range;return{event:new co(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}c(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state;return ze(ni.Consumer,null,(function(t){var o=t.viewApi,i=t.options,a=t.calendarApi,s=i.moreLinkText,l=n.moreCnt,u=Zs(n),c="function"===typeof s?s.call(a,l):"+"+l+" "+s,f=pt(i.moreLinkHint,[l],c),d={num:l,shortText:"+"+l,text:c,view:o};return ze(Ve,null,Boolean(n.moreCnt)&&ze(yi,{elRef:e.linkElRef,hookProps:d,classNames:i.moreLinkClassNames,content:i.moreLinkContent,defaultContent:n.defaultContent||Gs,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},(function(t,o,i,a){return n.children(t,["fc-more-link"].concat(o),i,a,e.handleClick,f,r.isPopoverOpen,r.isPopoverOpen?r.popoverId:"")})),r.isPopoverOpen&&ze(Ws,{id:r.popoverId,startDate:u.start,endDate:u.end,dateProfile:n.dateProfile,todayRange:n.todayRange,extraDateSpan:n.extraDateSpan,parentEl:e.parentEl,alignmentEl:n.alignmentElRef.current,alignGridTop:n.alignGridTop,onClose:e.handlePopoverClose},n.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=qe(this.linkElRef.current,".fc-view-harness"))}})(ii);function Gs(e){return e.text}function Zs(e){if(e.allDayDate)return{start:e.allDayDate,end:mt(e.allDayDate,1)};var t=e.hiddenSegs;return{start:Ys(t),end:Js(t)}}function Ys(e){return e.reduce(qs).eventRange.range.start}function qs(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function Js(e){return e.reduce(Xs).eventRange.range.end}function Xs(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}var Ks=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.isRendering=!1,r.isRendered=!1,r.currentClassNames=[],r.customContentRenderId=0,r.handleAction=function(e){switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":r.renderRunner.tryDrain()}},r.handleData=function(e){r.currentData=e,r.renderRunner.request(e.calendarOptions.rerenderDelay)},r.handleRenderRequest=function(){if(r.isRendering){r.isRendered=!0;var e=r.currentData;We((function(){Fe(ze(fs,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,o,i){return r.setClassNames(t),r.setHeight(n),ze(bi.Provider,{value:r.customContentRenderId},ze(ls,f({isHeightAuto:o,forPrint:i},e)))})),r.el)}))}else r.isRendered&&(r.isRendered=!1,Ge(r.el),r.setClassNames([]),r.setHeight(""))},r.el=t,r.renderRunner=new Na(r.handleRenderRequest),new Ua({optionOverrides:n,calendarApi:r,onAction:r.handleAction,onData:r.handleData}),r}return c(t,e),Object.defineProperty(t.prototype,"view",{get:function(){return this.currentData.viewApi},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()},t.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},t.prototype.updateSize=function(){var t=this;We((function(){e.prototype.updateSize.call(t)}))},t.prototype.batchRendering=function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")},t.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},t.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},t.prototype.resetOptions=function(e,t){this.currentDataManager.resetOptions(e,t)},t.prototype.setClassNames=function(e){if(!vn(e,this.currentClassNames)){for(var t=this.el.classList,n=0,r=this.currentClassNames;n<r.length;n++){var o=r[n];t.remove(o)}for(var i=0,a=e;i<a.length;i++){o=a[i];t.add(o)}this.currentClassNames=e}},t.prototype.setHeight=function(e){et(this.el,"height",e)},t}(uo);
16
16
  /*!
17
- FullCalendar v5.10.1
17
+ FullCalendar v5.10.2
18
18
  Docs & License: https://fullcalendar.io/
19
19
  (c) 2021 Adam Shaw
20
20
  */function $s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function el(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$s(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var tl={props:{events:Array,options:null},calendar:null,watch:{events:function(e){this.calendar.removeAllEventSources(),this.calendar.addEventSource(e)},options:function(e){if(e&&this.calendar)for(var t in e)this.calendar.setOption(t,e[t])}},mounted:function(){this.$el.offsetParent&&this.initialize()},updated:function(){!this.calendar&&this.$el.offsetParent&&this.initialize()},beforeDestroy:function(){this.calendar&&(this.calendar.destroy(),this.calendar=null)},methods:{initialize:function(){var e={themeSystem:!1},t=this.options?el(el({},this.options),e):e;this.calendar=new Ks(this.$el,t),this.calendar.render(),this.events&&(this.calendar.removeAllEventSources(),this.calendar.addEventSource(this.events))}}},nl=tl;function rl(e,t,n,r,o,i,a,s){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=l):o&&(l=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:e,options:u}}var ol=rl(nl,o,i,!1,null,null,null),il=ol.exports;t["default"]=il}})["default"]}));