@ckeditor/ckeditor5-revision-history 0.0.0-nightly-next-20250221.0 → 0.0.0-nightly-20250222.0

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 (183) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/revision-history.js +1 -1
  3. package/ckeditor5-metadata.json +1 -1
  4. package/dist/index.js +6 -6
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -12
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionsrepository.js +1 -1
  159. package/src/revisiontracker.js +1 -1
  160. package/src/revisionviewer.js +1 -1
  161. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  162. package/src/ui/revision/revisionauthorview.js +1 -1
  163. package/src/ui/revision/revisionnameview.js +1 -1
  164. package/src/ui/revision/revisionview.js +2 -2
  165. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  166. package/src/ui/revision/subrevisionview.js +1 -1
  167. package/src/ui/revision/utils.js +1 -1
  168. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  174. package/src/ui/revisionssidebar/utils.js +1 -1
  175. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  176. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  177. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  179. package/src/utils/common-translations.js +1 -1
  180. package/theme/icons/arrow-down.svg +1 -0
  181. package/theme/icons/arrow-up.svg +1 -0
  182. package/theme/icons/revision-history.svg +1 -0
  183. package/theme/icons/user.svg +1 -0
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Dt,RevisionTracker:()=>st,RevisionViewer:()=>te,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V,E;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(E=t,ArrayBuffer.isView(E)&&!(E instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function L(){const t=["authors","model","name","setName","creator","1130848MaFECw","set","2106348ybuvsK","3327348XqtoRt","authorsIds","setAttribute","854TXZdOf","83043gmJGmF","creatorId","84008ujEbUR","toVersion","diffData","toJSON","1314345jJNYgS","createdAt","_update","fromVersion","616968RUZcuG","attributes","fire","removeAttribute","map"];return(L=function(){return t})()}const P=z;function z(t,e){const i=L();return(z=function(t,e){return i[t-=317]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(361889===-parseInt(e(337))/1+-parseInt(e(320))/2+-parseInt(e(327))/3+-parseInt(e(322))/4+parseInt(e(333))/5+parseInt(e(323))/6+parseInt(e(326))/7*(parseInt(e(329))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(L);class W extends((0,t.ObservableMixin)()){id;[P(319)];[P(342)];[P(331)];[P(330)];[P(336)];[P(343)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(319)]=e[i(319)]||null,this[i(342)]=e[i(342)]||[],this[i(331)]=e[i(331)]||null,this[i(330)]=e[i(330)]||0,this[i(336)]=e[i(336)]||0,this[i(321)](i(317),e[i(317)]||""),this[i(321)](i(334),e[i(334)]||new Date),this[i(321)](i(338),e[i(338)]||{})}[P(318)](t){this[P(335)]({name:t})}[P(325)](t,e){const i=P,s=A(this[i(338)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(335)]({attributes:s})}[P(340)](t){const e=P,i=A(this[e(338)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(335)]({attributes:i})}[P(335)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(317),i(334),i(331),i(342),i(338),i(330),i(336),i(328)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(342)]&&(n[i(324)]=n[i(342)][i(341)]((t=>t.id)),delete n[i(342)]),this[i(339)](i(335),n,e))}[P(332)](){const t=P;return{id:this.id,name:this[t(317)],creatorId:this[t(319)]?this[t(319)].id:null,authorsIds:this[t(342)][t(341)]((t=>t.id)),diffData:this[t(331)],createdAt:this[t(334)],attributes:this[t(338)],fromVersion:this[t(336)],toVersion:this[t(330)]}}}var U=i(782),Z=i(211),H=i(783);function q(t,e){const i=B();return(q=function(t,e){return i[t-=120]})(t,e)}const $=q;function B(){const t=["Users","isOfficialPlugin","isNaN","getRevisions","188736gDMkNE","getRevision","reverse","oldRevisionId","creatorId","addRevision","map","later","requires","toVersion","getRevisionsIterator","data","plugins","authorsIds","editor","join","fromVersion","name","getLaterVisibleRevision","267466HdDkcm","from","get","306JBMYVX","newRevisionId","add","_revisions","668QTBAKi","1464932wlypmA","23955mAAyRw","RevisionsRepository","isPremiumPlugin","1490UwFgVX","pluginName","createdAt","attributes","112937ybxGwr","toJSON","href","length","diffData","getRevisionsInDiff","getEarlierVisibleRevision","508614eFrVEC","fromCharCode","createRevision","getIndex","14oQgKHW","afterInit","2018169qViYfB","push","getUser","earlier"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(424305===parseInt(e(167))/1+parseInt(e(175))/2+-parseInt(e(140))/3+-parseInt(e(174))/4*(parseInt(e(120))/5)+-parseInt(e(134))/6*(-parseInt(e(138))/7)+parseInt(e(148))/8*(-parseInt(e(170))/9)+parseInt(e(123))/10*(parseInt(e(127))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[$(173)];static get[$(156)](){return[Z.Users]}static get[$(124)](){return $(121)}static get[$(145)](){return!0}static get[$(122)](){return!0}get[$(130)](){const t=$;return this[t(173)][t(130)]}constructor(e){const i=$;super(e),this[i(173)]=new t.Collection}[$(139)](){!async function(e){const i=k([102,78,83,116,73,77,82,80,117,122,119,70,50,108,104,110,121,75,98,55,57,84,89,105,120,85,48,54,81,97,90,100,113,118,51,88,114,71,86,68,52,66,69,112,74,49,111,103,101,67,87,79,65,107,56,72,53,106,76,99,115,109]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(146)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([102]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=q;return t[e(154)]((t=>String[e(135)](t)))[e(163)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1740096e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(129)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[$(136)](t){const e=$,i=this[e(162)][e(160)][e(169)](e(144));return new W({id:t.id,name:t[e(165)],creator:t[e(152)]?i[e(142)](t[e(152)]):null,diffData:t[e(131)]||t[e(159)],authors:t[e(161)][e(154)]((t=>i[e(142)](t))),createdAt:new Date(t[e(125)]),attributes:t[e(126)],fromVersion:t[e(164)],toVersion:t[e(157)]})}[$(153)](t,e=0){const i=$;this[i(173)][i(172)](t,e)}[$(149)](t){const e=$;return this[e(173)][e(169)](t)}[$(147)](t={toJSON:!1}){const e=$,i=Array[e(168)](this[e(173)]);return i[e(150)](),t[e(128)]?i[e(154)]((t=>t[e(128)]())):i}[$(137)](t){const e=$;return this[e(173)][e(137)](t)}[$(133)](t){const e=$,[,i]=this[e(158)](t,{direction:e(143)});return i}[$(166)](t){const e=$,[,i]=this[e(158)](t,{direction:e(155)});return i}[$(132)](t){const e=$,i=[];for(const s of this[e(158)](t[e(171)]))if(i[e(141)](s),s.id===t[e(151)])break;return i}*[$(158)](t,{direction:e=$(143),filter:i=()=>!0}={}){const s=$,n=s(143)===e?1:-1;let r=this[s(173)][s(169)](t),o=this[s(137)](r);for(yield r;r;){if(o+=n,r=this[s(149)](o),!r)return;i(r)&&(yield r)}}}function J(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,V;const E=(s=s??new Map).get(t),M=s.get(i);if(null!=E&&null!=M)return E===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&X(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(t.constructor,i.constructor,s,x)||G(t)&&G(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function Q(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=lt;!function(t){const e=lt,i=t();for(;;)try{if(312508===-parseInt(e(601))/1+parseInt(e(511))/2*(-parseInt(e(443))/3)+parseInt(e(624))/4*(parseInt(e(687))/5)+parseInt(e(610))/6*(parseInt(e(694))/7)+-parseInt(e(585))/8+-parseInt(e(490))/9+parseInt(e(555))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ht);const it={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class st extends U.Plugin{[et(559)];[et(702)];[et(705)];[et(693)];[et(464)];[et(462)];[et(612)];[et(669)];[et(449)];[et(541)];[et(532)];[et(690)];[et(592)];static get[et(432)](){return et(506)}static get[et(582)](){return!0}static get[et(605)](){return!0}static get[et(587)](){return[Z.Users,Y,U.PendingActions]}constructor(e){const i=et;super(e),this[i(705)]=null,this[i(693)]=null,this[i(462)]=new rt(this[i(729)]),this[i(669)]=this[i(729)][i(716)][i(465)](i(617))||i(461),this[i(449)]=new Map,this[i(592)]=null;const s=(0,t.uid)();this[i(612)]={history:this[i(729)][i(676)][i(458)][i(436)],getLatestVersion:()=>Promise[i(553)](this[i(729)][i(676)][i(458)][i(665)]),getCurrentRevisionId:()=>s},this[i(684)](i(599),!1),this[i(684)](i(696),!0),this[i(684)](i(638),!1),this[i(729)][i(716)][i(608)](i(650),!0),this[i(729)][i(556)][i(516)](i(732))[i(675)]({view:i(602)})}[et(700)](){const t=et;this[t(464)]=this[t(729)][t(483)][t(465)](t(685)),this[t(543)](),this[t(729)][t(440)].on(t(562),(()=>{const e=t,i=this[e(464)][e(579)](0),s=i&&null===i[e(673)]?i:null;if(this[e(532)]=!!s&&this[e(729)][e(716)][e(465)](e(650)),this[e(729)][e(483)][e(654)](e(473))){const t=this[e(612)][e(557)](),n=this[e(464)][e(579)](t);if(n)this[e(690)]=n[e(515)],this[e(532)]=!1;else{const t=this[e(612)][e(436)][e(564)][e(640)]((t=>!t[e(625)])),n=t?t[e(479)]:this[e(612)][e(436)][e(665)];i?(i[e(573)]<n&&i[e(488)]({toVersion:n}),this[e(532)]?(this[e(612)][e(557)]=()=>s.id,this[e(690)]=s[e(515)]):(this[e(690)]=i[e(573)],this[e(532)]=!1)):(this[e(690)]=n,this[e(532)]=!1)}}else s&&(this[e(729)][e(676)][e(458)][e(436)][e(665)]=Math[e(639)](s[e(573)],this[e(729)][e(676)][e(458)][e(436)][e(665)]),s[e(515)]===s[e(573)]?(0!==s[e(515)]&&(this[e(612)][e(557)]=()=>s.id),this[e(532)]=!1):this[e(532)]&&(this[e(612)][e(557)]=()=>s.id,this[e(690)]=s[e(515)])),this[e(532)]||(this[e(690)]=this[e(729)][e(676)][e(458)][e(665)]);this[e(462)][e(700)](this[e(612)][e(436)]),this[e(420)](this[e(690)]),this[e(670)](this[e(690)]),this[e(705)]&&this[e(565)]()})),this[t(720)](t(599)).to(this,t(638),(t=>!t)),this[t(559)]=this[t(729)][t(716)][t(465)](t(559));const e=this[t(729)];this[t(702)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(472)==r||i(521)==r||i(719)==r||i(433)==r||i(457)==r||i(566)==r||i(671)==r||i(476)==r){delete e[n],s=r,clearInterval(this[i(702)]),this[i(702)]=void 0;break}}i(521)==s&&e[i(498)](i(583)),i(719)==s&&e[i(498)](i(662)),i(433)==s&&e[i(498)](i(572)),i(457)==s&&e[i(498)](i(652),i(683)),i(566)==s&&e[i(498)](i(552)),i(671)==s&&e[i(498)](i(497)),i(476)==s&&e[i(498)](i(438))}),1e3)}async[et(480)](){const t=et;if(this[t(464)][t(481)]>0){const e=this[t(464)][t(579)](0),i=await this[t(709)](e),s=await this[t(731)](e);this[t(502)](i,s)}}[et(630)](){const t=et;super[t(630)](),this[t(702)]&&clearInterval(this[t(702)])}[et(514)](t){this[et(612)]=t}async[et(563)](){const t=et,e=await this[t(612)][t(435)]();if(e>this[t(693)][t(573)]){await this[t(500)]();const i=this[t(484)]({revision:this[t(693)],to:e});i[t(482)]=i[t(467)][t(478)]((e=>this[t(729)][t(483)][t(465)](t(713))[t(580)](e))),this[t(693)][t(488)](i)}}async[et(500)](){const t=et;this[t(532)]&&!this[t(592)]&&(await this[t(717)](this[t(693)]),this[t(462)][t(586)](this[t(693)]),this[t(592)]={fromVersion:this[t(693)][t(515)],authors:this[t(693)][t(482)][t(629)]()})}async[et(728)](e={},i=null){const s=et,n=[];await this[s(500)](),this[s(532)]=!1,i>this[s(693)][s(573)]&&(i=null),null===i&&(i=await this[s(612)][s(435)]());const r=this[s(520)](i),o=this[s(484)]({from:r,to:i});if(this[s(693)][s(573)]<i){const t=this[s(484)]({revision:this[s(693)],from:i,to:i});t[s(482)]=[],t[s(467)]=[],t.id=this[s(693)].id,this[s(693)][s(488)](t,!0),delete t[s(482)],n[s(437)](t)}e[s(486)]=this[s(729)][s(483)][s(465)](s(713)).me.id,e[s(544)]=e[s(544)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(530)](e);n[s(437)](e);const c=this[s(464)][s(642)](a);if(0!==c){const t=this[s(464)][s(579)](c-1);if(t[s(515)]!==i){const r=this[s(462)][s(711)](i,t[s(573)]),o={id:t.id,diffData:r[s(550)],authorsIds:r[s(467)],authors:r[s(467)][s(478)]((t=>this[s(729)][s(483)][s(465)](s(713))[s(580)](t))),fromVersion:i};t===this[s(693)]&&(o[s(597)]=new Date(e[s(597)][s(618)]()+10)),t[s(488)](o,!0),delete o[s(482)],n[s(437)](o)}}if(this[s(705)]){for(const t of n)this[s(501)](t.id,t,!0);this[s(565)]()}return a}[et(530)](t){const e=et,i=this[e(464)][e(581)](t);return this[e(705)]&&i.on(e(488),((t,i,s)=>{const n=e;s||(this[n(501)](i.id,i,!0),this[n(565)]())})),this[e(464)][e(701)](i,this[e(447)](i)),i}async[et(709)](t){const e=et;await this[e(717)](t);const i={};for(const s in t[e(550)]){if(t[e(550)][s][e(549)]&&!t[e(550)][s][e(549)][e(518)])continue;const n=this[e(706)](JSON[e(513)](t[e(550)][s][e(540)])),r=this[e(729)][e(416)][e(524)][e(458)],o=new H.ViewDocumentFragment(r,n[e(478)]((t=>nt(t,this[e(729)]))));this[e(729)][e(440)][e(715)][e(428)](e(477)),i[s]=this[e(729)][e(440)][e(715)][e(681)](o),this[e(729)][e(440)][e(715)][e(428)](e(422))}return i}async[et(731)](t){const e=et;await this[e(717)](t);const i={};for(const s in t[e(550)])t[e(550)][s][e(549)]&&!t[e(550)][s][e(549)][e(518)]||(i[s]=t[e(550)][s][e(578)]||{});return i}[et(565)](){const t=et;if(0===this[t(449)][t(423)])return;if(this[t(638)])return;let e=Array[t(517)](this[t(449)][t(697)]());this[t(449)][t(698)]();for(let i=0;i<e[t(481)];i++){const s=e[i];let n=!1;for(const e of Object[t(568)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(603)]((t=>null!==t)),!e[t(481)])return;for(let i=0;i<e[t(481)];i++){const s=e[i];void 0!==s[t(515)]&&void 0===s[t(573)]&&(s[t(573)]=this[t(464)][t(579)](s.id)[t(573)]),void 0!==s[t(573)]&&void 0===s[t(515)]&&(s[t(515)]=this[t(464)][t(579)](s.id)[t(515)])}const i=this[t(729)][t(716)][t(465)](t(617));this[t(638)]=!0,this[t(534)](),this[t(705)][t(707)](e,i)[t(584)]((()=>{this[t(638)]=!1}))[t(571)]((e=>{const i=t;if(e)for(const t of e)this[i(661)]({id:t.id,createdAt:t[i(597)]});this[i(492)](),this[i(565)]()}))}[et(502)](e,i){const s=et;let n=this[s(729)][s(716)][s(465)](s(489)),r=this[s(729)][s(716)][s(465)](s(637));if(void 0===n){n={};for(const t of this[s(729)][s(676)][s(458)][s(570)]())n[t]=""}if(s(678)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(729)][s(676)][s(458)][s(570)]())r[t]={}}let o=!1;const a=Object[s(568)](n),c=Object[s(568)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(527)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(568)](r[t])[s(481)]>0){o=!0;break}}o||(o=c[s(574)]((t=>!this[s(729)][s(676)][s(458)][s(495)](t)))),o&&(0,t.logWarning)(s(688),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(729)][s(716)][s(684)](s(489),e),this[s(729)][s(716)][s(684)](s(637),i)}[et(534)](){const t=et;if(!this[t(541)]){const e=this[t(729)][t(483)][t(465)](t(635));this[t(541)]=e[t(546)](J(this[t(729)][t(504)],t(525)))}}[et(492)](){const t=et;this[t(541)]&&(this[t(729)][t(483)][t(465)](t(635))[t(417)](this[t(541)]),this[t(541)]=null)}[et(447)](t){const e=et,i=this[e(464)][e(609)]();i[e(667)]();let s=0;for(;s<i[e(481)];){const n=i[s];if(n===this[e(693)]){s++;continue}if(n.id===this[e(669)])break;const r=t[e(573)]-n[e(573)]||t[e(515)]-n[e(515)];if(r>0)break;if(r<0)s++;else{if(!t[e(673)]&&n[e(673)])break;if(n[e(673)]||!t[e(673)]){if(t[e(597)]>n[e(597)])break;s++}else s++}}return s}[et(661)](t){const e=et,i=this[e(464)][e(579)](t.id);if(t[e(597)]&&(t[e(597)]=new Date(t[e(597)])),t[e(467)]){const i=this[e(729)][e(483)][e(465)](e(713));t[e(482)]=t[e(467)][e(478)]((t=>i[e(580)](t)))}i[e(488)](t,!0)}[et(484)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(515)],i=null!==i?i:t[s(573)];const n=this[s(462)][s(711)](e,i),r={diffData:n[s(550)],authorsIds:n[s(467)],fromVersion:e,toVersion:i};if(!t||i!==t[s(573)]){const t=i-1,e=this[s(612)][s(436)][s(412)](t);r[s(597)]=e&&e[s(597)]||new Date}if(this[s(592)]&&e===this[s(592)][s(515)])for(const t of this[s(592)][s(482)])r[s(467)][s(426)](t.id)||r[s(467)][s(437)](t.id);return r}[et(717)](t){const e=et;if(!t||t[e(550)])return Promise[e(553)]();{const i=this[e(729)][e(716)][e(465)](e(617));return this[e(705)][e(579)]({channelId:i,revisionId:t.id})[e(571)]((i=>{const s=e;t[s(550)]=i[s(550)]}))}}[et(501)](t,e,i){const s=et;if(this[s(449)][s(654)](t)){const n=this[s(449)][s(465)](t);e=i?{...n,...e}:{...e,...n}}this[s(449)][s(684)](t,e)}[et(520)](t){const e=et,i=this[e(464)][e(609)]();i[e(667)](),i[e(722)]();const s=i[e(640)]((i=>i[e(573)]<=t))[e(573)];return s<this[e(690)]?this[e(690)]:s}[et(420)](t){const e=et,i=this[e(464)][e(579)](this[e(464)][e(481)]-1);if(i)this[e(669)]=i.id;else{const i=!this[e(729)][e(676)][e(458)][e(441)][e(640)]((t=>this[e(729)][e(676)][e(644)](t))),s=this[e(729)][e(483)][e(465)](e(713)).me.id,n=J(this[e(729)][e(504)],e(i?616:439));this[e(487)]({from:t,to:t,id:this[e(669)],name:n,creatorId:s})}}[et(670)](t){const e=et,i=this[e(612)][e(557)]();this[e(693)]=this[e(464)][e(579)](i),this[e(693)]||(this[e(693)]=this[e(487)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(487)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(484)]({from:e,to:i});o[r(544)]=t,o[r(486)]=s,o.id=n;const a=this[r(530)](o);return this[r(705)]&&this[r(501)](o.id,o,!0),a}[et(543)](){const t=et;this[t(729)][t(556)][t(516)](t(460))[t(593)]({model:t(602)})}[et(706)](t){const e=et;return(t=t[e(603)]((t=>!t[e(544)]||e(708)!==t[e(544)]&&e(699)!==t[e(544)])))[e(448)]((t=>{const i=e;i(678)!=typeof t&&(t[i(575)]=this[i(706)](t[i(575)]),t[i(626)]=t[i(626)][i(603)]((t=>!t[0][i(651)](i(576)))))})),t}}function nt(t,e){const i=et,s=e[i(416)][i(524)][i(458)];if(i(678)==typeof t)return new H.ViewText(s,t);{const n=t[i(575)][i(478)]((t=>nt(t,e)));return new(it[t[i(547)]]||H.ViewElement)(s,t[i(544)],t[i(626)],n)}}class rt{[et(729)];[et(466)];[et(613)];[et(493)];[et(569)];[et(442)];[et(509)];[et(494)];[et(646)];[et(591)];[et(560)];[et(659)];[et(622)];[et(468)];[et(469)];[et(631)];[et(636)];constructor(t){const e=et;this[e(729)]=t,this[e(613)]=new Map,this[e(493)]=-1,this[e(569)]=-1,this[e(442)]=new Map,this[e(509)]=new Map,this[e(494)]=new Map,this[e(646)]=new Map,this[e(591)]=new Map,this[e(560)]=new Map,this[e(659)]=new Map,this[e(622)]=new Map,this[e(468)]=new Map,this[e(469)]=new Map,this[e(631)]=1}[et(700)](t){const e=et;this[e(466)]=t;const i=new Map,s=new Map,n=this[e(729)][e(676)][e(458)][e(441)][e(478)]((t=>t[e(421)]));for(const t of n){const n=this[e(729)][e(676)][e(458)][e(495)](t),r=ot(n);i[e(684)](t,r),s[e(684)](t,Object[e(561)](n[e(641)]()))}const r=Array[e(517)](this[e(729)][e(676)][e(454)])[e(478)]((t=>[t[e(544)],t[e(453)]()])),o=this[e(466)][e(665)];this[e(628)](o,i,r,s),this[e(636)]=this[e(631)];const a=new Map,c=new Map;for(const t of n){const i=at(t);a[e(684)](t,i),c[e(684)](t,{})}this[e(628)](Number[e(459)],a,[],c)}[et(711)](t,e){const i=et;if(this[i(493)]===t&&this[i(569)]<=e)this[i(613)][i(423)]>1&&this[i(539)](this[i(569)]),this[i(529)](this[i(569)],e,!0);else{if(!this[i(613)][i(654)](t)){const e=this[i(677)](t);this[i(526)](e,t,!1)}this[i(526)](t,e,!0)}return this[i(493)]=t,this[i(569)]=e,this[i(634)]()}[et(586)](t){const e=et;this[e(664)](),this[e(493)]=t[e(515)],this[e(569)]=t[e(573)];for(const i in t[e(550)]){const s=t[e(550)][i][e(549)],n=A(t[e(550)][i][e(551)])||{},r=this[e(427)](t[e(550)][i][e(470)]);r[e(421)]=i,r[e(595)]=!s||!s[e(518)],r[e(518)]=()=>r[e(595)],this[e(646)][e(684)](i,r),this[e(591)][e(684)](i,n),s&&this[e(469)][e(684)](i,s);const o=this[e(615)](r);this[e(659)][e(684)](i,o);for(const[t,i]of r[e(454)]){if(!t[e(651)](e(730)))continue;const s=t[e(522)](":")[2];for(const t of i[e(531)]({singleCharacters:!0})){const i=this[e(611)](t),n=e(710)==t[e(547)]?t[e(528)][e(554)][e(629)](0,-1):t[e(528)][e(554)],r=o[e(723)](n)[e(647)](i);this[e(622)][e(684)](r,{userId:s})}}}this[e(636)]=this[e(631)];const i=[...Array(this[e(631)])[e(568)]()][e(629)](1)[e(603)]((t=>!this[e(622)][e(654)](t)));let s=0;const n=new Map;for(const r in t[e(550)]){const o=t[e(550)][r][e(549)],a=A(t[e(550)][r][e(578)])||{},c=this[e(427)](t[e(550)][r][e(540)]);c[e(421)]=r,c[e(595)]=!o||o[e(518)],c[e(518)]=()=>c[e(595)],this[e(509)][e(684)](r,c),this[e(494)][e(684)](r,a);const u=this[e(615)](c,Number[e(459)]);this[e(560)][e(684)](r,u),n[e(684)](r,c[e(518)]()?a:{});for(const[t,i]of c[e(454)]){if(!t[e(651)](e(730)))continue;const s=t[e(522)](":")[2];for(const t of i[e(531)]({singleCharacters:!0})){const i=this[e(611)](t),n=this[e(631)]++,r=e(710)==t[e(547)]?t[e(528)][e(554)][e(629)](0,-1):t[e(528)][e(554)];u[e(723)](r)[e(431)](i,n),this[e(622)][e(684)](n,{userId:s})}}for(const t of this[e(729)][e(676)][e(660)](c)[e(531)]({singleCharacters:!0})){const n=this[e(611)](t),r=e(710)==t[e(547)]?t[e(528)][e(554)][e(629)](0,-1):t[e(528)][e(554)],o=u[e(723)](r);o[e(647)](n)>0||o[e(431)](n,i[s++])}for(const[t,i]of c[e(454)])t[e(651)](e(730))||this[e(442)][e(684)](t,i)}const r=at(e(632));this[e(646)][e(684)](e(632),r),this[e(659)][e(684)](e(632),this[e(615)](r,1));const o=at(e(632));this[e(509)][e(684)](e(632),o),this[e(560)][e(684)](e(632),this[e(615)](o,1));const a=Array[e(517)](this[e(509)])[e(478)]((([t,e])=>[t,ot(e)]));this[e(628)](this[e(569)],a,this[e(442)],n)}[et(427)](t){const e=et,i=JSON[e(513)](t),s=this[e(729)][e(416)][e(524)][e(458)],n=new H.ViewDocumentFragment(s,i[e(478)]((t=>nt(t,this[e(729)]))));return this[e(729)][e(440)][e(537)](n)}[et(628)](t,e,i,s){const n=et,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(684)](t,{start:e[n(451)][n(619)](),end:e[n(600)][n(619)](),rootName:e[n(418)][n(421)]});this[n(613)][n(684)](t,{roots:r,markers:a,rootsAttributes:o})}[et(539)](t){const e=et;this[e(613)][e(499)](t)}[et(658)](){const t=et;this[t(664)](),this[t(493)]=-1,this[t(569)]=-1,this[t(613)][t(698)](),this[t(700)](this[t(466)])}[et(664)](){const t=et;this[t(622)][t(698)](),this[t(468)][t(698)](),this[t(469)][t(698)](),this[t(509)][t(698)](),this[t(494)][t(698)](),this[t(646)][t(698)](),this[t(591)][t(698)](),this[t(560)][t(698)](),this[t(659)][t(698)](),this[t(442)][t(698)](),this[t(631)]=1,this[t(636)]=this[t(631)]}[et(615)](t,e=null){const i=et;let s=null;t.is(i(538))||(s=new H.Element(t[i(544)],{vid_start:null===e?this[i(631)]++:e++}));const n=[];for(const s of t[i(674)]())if(s.is(i(590))){n[i(437)](this[i(615)](s,e));const t=n[n[i(481)]-1];null!==e&&(e=t.is(i(590),i(424))?t[i(647)](i(607))+1:t[i(647)](i(434))+1)}else for(let t=0;t<s[i(548)];t++)n[i(437)](new H.Element(i(424),{vid:null===e?this[i(631)]++:e++}));if(t.is(i(538))){const e=at(t[i(421)]);return e[i(633)](0,n),e}return s[i(431)](i(434),null===e?this[i(631)]++:e++),s[i(633)](0,n),s}[et(526)](t,e,i){const s=et;this[s(664)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(613)][s(465)](t);this[s(646)]=new Map(n),this[s(591)]=new Map(A(o));for(const[t,e]of this[s(646)])if(s(632)!==t&&(this[s(509)][s(684)](t,ot(e)),this[s(494)]=new Map(A(o)),i)){const i=this[s(631)];this[s(560)][s(684)](t,this[s(615)](e)),this[s(659)][s(684)](t,this[s(615)](e,i))}this[s(636)]=this[s(631)],this[s(509)][s(684)](s(632),ot(this[s(646)][s(465)](s(632)))),i&&this[s(560)][s(684)](s(632),this[s(615)](this[s(646)][s(465)](s(632))));for(const[t,e]of r){const i=this[s(646)][s(465)](e[s(421)]),n=this[s(509)][s(465)](e[s(421)]),r=new H.Range(this[s(475)](e[s(451)],i),this[s(475)](e[s(600)],i)),o=this[s(512)](r,n);i[s(454)][s(684)](t,r),this[s(442)][s(684)](t,o)}this[s(529)](t,e,i)}[et(529)](t,e,i){const s=et;for(const n of this[s(466)][s(536)](t,e))this[s(491)](n,i);for(const t of this[s(509)][s(697)]())t[s(454)][s(698)]();for(const[t,e]of this[s(442)])this[s(509)][s(465)](e[s(418)][s(421)])[s(454)][s(684)](t,e[s(619)]());const n=new Map,r=new Map;for(const[t,e]of this[s(509)])n[s(684)](t,ot(e)),r[s(684)](t,this[s(494)][s(465)](t));this[s(628)](e,n,this[s(442)],r)}[et(677)](t){const e=et,i=Array[e(517)](this[e(613)][e(568)]());i[e(623)](((t,e)=>t-e)),i[e(667)]();for(const e of i)if(e<t)return e;return Number[e(459)]}[et(413)](t,e){const i=et,s=Array[i(517)](e[i(454)])[i(478)]((([e,s])=>[e,this[i(512)](s,t)]));t[i(454)]=new Map(s)}[et(692)](t){const e=et;for(const i of this[e(442)][e(697)]()){const s=i[e(645)](t),n=H.Range[e(621)](s);i[e(451)]=n[e(451)],i[e(600)]=n[e(600)]}}[et(491)](t,e){const i=et;if(i(503)!=t[i(547)]&&i(649)!=t[i(547)]){if(i(429)==t[i(547)]){const s=t[i(445)][i(418)][i(421)];this[i(509)][i(654)](s)||(this[i(509)][i(684)](s,at(s,!0)),this[i(494)][i(684)](s,{}),e&&this[i(560)][i(684)](s,at(s,!0)))}else{if(i(712)==t[i(547)]||i(614)==t[i(547)]||i(533)==t[i(547)])return void this[i(419)](t);i(425)==t[i(547)]&&this[i(519)](t)}if(i(425)!==t[i(547)]){const e=this[i(415)](t,this[i(509)]);e[i(414)](),this[i(692)](e)}if(e)switch(t[i(547)]){case i(429):this[i(523)](t);break;case i(496):case i(417):case i(545):this[i(666)](t);break;case i(444):this[i(452)](t);break;case i(522):this[i(620)](t)}}else this[i(726)](t,e)}[et(415)](t,e){const i=et,s=t[i(619)]();return s[i(567)]=t[i(567)],this[i(510)](s,e),s}[et(704)](t){const e=et;return t[e(478)]((t=>{const i=e,s=this[i(611)](t);return Number(t[i(657)][i(647)](s))}))}[et(718)](t,e){const i=et;if(t.is(i(590),i(424)))e[i(437)]({item:t,type:i(668)});else{t.is(i(590))&&e[i(437)]({item:t,type:i(679)});for(const s of t[i(674)]())this[i(718)](s,e);t.is(i(590))&&e[i(437)]({item:t,type:i(710)})}return e}[et(634)](){const t=et,e=new Map(this[t(622)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(646)][t(568)](),...this[t(509)][t(568)]()]);a[t(499)](t(632));for(const e of a){const i=this[t(509)][t(465)](e)||at(e,!1),s=this[t(646)][t(465)](e)||at(e,!1);i[t(518)]()||s[t(518)]()?(n[t(540)][e]=ot(i),n[t(470)][e]=ot(s),this[t(413)](n[t(470)][e],s),this[t(413)](n[t(540)][e],i),r[t(540)][e]=this[t(718)](this[t(560)][t(465)](e),[]),r[t(470)][e]=this[t(718)](this[t(659)][t(465)](e)||at(e,!1),[])):a[t(499)](e)}for(const n of a){const o=r[t(540)][n];for(const n of o){const r=this[t(611)](n),o=n[t(657)][t(647)](r);i[t(499)](o),o>=this[t(636)]&&s[t(684)](o,e[t(465)](o))}}for(const n of a){const a=r[t(540)][n],c=this[t(704)](r[t(470)][n]);let u=0;for(const n of a){const r=this[t(611)](n),a=n[t(657)][t(647)](r);if(!s[t(654)](a)&&!o[t(654)](a))if(i[t(654)](a))u++;else{if(a!=c[u]){const s=e[t(465)](a)||e[t(465)](c[u]);for(;a!=c[u];)i[t(654)](c[u])||(o[t(684)](c[u],s),e[t(684)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(540)][e];for(const e of n){const n=this[t(611)](e),r=e[t(657)][t(647)](n);if(o[t(654)](r)){const e=o[t(465)](r);i[t(654)](r)||i[t(684)](r,{...e}),s[t(684)](r,{...e})}}}for(const e of i[t(568)]())e>=this[t(636)]&&i[t(499)](e);const c=new Map;for(const e of a){let n=r[t(540)][e];for(const e of n)if(e[t(657)].is(t(590),t(463))){const i=this[t(611)](e),n=e[t(657)][t(647)](i);if(s[t(654)](n)){const i=e[t(657)][t(663)][t(663)][t(647)](t(446)),r=c[t(465)](i)||new Set;r[t(546)](s[t(465)](n)[t(455)]),c[t(684)](i,r)}}n=r[t(470)][e];for(const e of n)if(e[t(657)].is(t(590),t(463))){const s=this[t(611)](e),n=e[t(657)][t(647)](s);if(i[t(654)](n)){const s=e[t(657)][t(663)][t(663)][t(647)](t(446)),r=c[t(465)](s)||new Set;r[t(546)](i[t(465)](n)[t(455)]),c[t(684)](s,r)}}for(const e of c[t(568)]())(s[t(654)](e)||i[t(654)](e))&&c[t(499)](e)}for(const e of a){const n=r[t(540)][e];let o=null,a=null;for(const e of n){const n=this[t(611)](e),r=e[t(657)][t(647)](n),u=c[t(465)](r);u&&t(679)==e[t(547)]&&(o=Array[t(517)](u)[0],a=e[t(657)][t(647)](t(434))),o&&(i[t(684)](r,{userId:o}),s[t(684)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(470)][e],a=n[t(540)][e];for(const{userId:e}of this[t(468)][t(697)]())null!==e&&l[t(546)](e);for(const{userId:e}of this[t(469)][t(697)]())null!==e&&l[t(546)](e);this[t(450)](a,r[t(540)][e],s,t(588),l),this[t(450)](o,r[t(470)][e],i,t(558),l),u[e]={insertions:this[t(598)](a),deletions:this[t(598)](o),attachChange:this[t(469)][t(465)](e)||null,attributesBefore:A(this[t(591)][t(465)](e))||{},attributesAfter:A(this[t(494)][t(465)](e))}}return{diffData:u,authorsIds:Array[t(517)](l)}}[et(721)](t){const e=et;for(const[,i]of t[e(454)]){const t=i[e(451)][e(727)]()[e(603)]((t=>e(463)==t[e(544)]));for(const i of t)1==i[e(689)]&&i[e(474)](0).is(e(590),e(430))&&i[e(474)](0)[e(431)](e(505),!0)}}[et(598)](t){const e=et;this[e(721)](t);const i=this[e(729)][e(440)][e(456)](t,{}),s=Array[e(517)](i[e(674)]())[e(478)]((t=>this[e(508)](t)));return JSON[e(695)](s)}[et(508)](t){const e=et;if(t.is(e(424)))return t[e(440)];{const i=t;return{type:Object[e(568)](it)[e(640)]((e=>t instanceof it[e])),name:i[e(544)],attributes:Array[e(517)](i[e(641)]()),children:Array[e(517)](i[e(674)]())[e(478)]((t=>this[e(508)](t)))}}}[et(450)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(729)][r(676)];for(let s=0;s<e[r(481)];s++){const n=this[r(611)](e[s]),c=e[s][r(657)][r(647)](n),h=i[r(465)](c),d=s==e[r(481)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(455)]!=o[r(455)])&&(l(h,ct(a,t,u),ct(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ct(a,t,u),ut(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(455)],d=l(730)+s+":"+h+":"+c++,f=u[l(655)](i,a);t[l(454)][l(684)](d,f),null!==h&&n[l(546)](h)}}[et(611)](t){const e=et;switch(t[e(547)]){case e(679):return e(446);case e(710):return e(434);default:return e(607)}}[et(510)](t,e){const i=et;t[i(479)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(465)](n[i(418)][i(421)]);t[s]=this[i(475)](n,r)}if(n instanceof H.Range){const r=e[i(465)](n[i(418)][i(421)]);t[s]=this[i(512)](n,r)}i(418)===s&&(t[i(418)]=e[i(465)](t[i(418)][i(421)]))}}[et(512)](t,e){const i=et;return this[i(729)][i(676)][i(655)](this[i(475)](t[i(451)],e),this[i(475)](t[i(600)],e))}[et(475)](t,e){const i=et;return this[i(729)][i(676)][i(648)](e,t[i(554)],t[i(485)])}[et(523)](t){const e=et,i=this[e(560)][e(465)](t[e(445)][e(418)][e(421)]),s=this[e(475)](t[e(445)],i),n=null===t[e(567)]?null:t[e(567)]||this[e(729)][e(483)][e(465)](e(713)).me.id,r=s[e(663)],o=this[e(631)],a=[];for(const i of t[e(725)])if(i.is(e(590)))a[e(437)](this[e(615)](i));else for(let t=0;t<i[e(548)];t++)a[e(437)](new H.Element(e(424),{vid:this[e(631)]++}));const c=this[e(631)];for(let t=o;t<c;t++)this[e(622)][e(684)](t,{userId:n});r[e(633)](s[e(604)],a)}[et(666)](t){const e=et;(t=this[e(415)](t,this[e(560)]))[e(414)]();const i=null===t[e(567)]?null:t[e(567)]||this[e(729)][e(483)][e(465)](e(713)).me.id,s=t[e(686)](),n=s[e(663)],r=s[e(604)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(474)](e);r.is(a(590),a(424))?s[a(684)](r[a(647)](a(607)),{userId:i}):(s[a(684)](r[a(647)](a(446)),{userId:i}),t(s,r,0,r[a(689)]),s[a(684)](r[a(647)](a(434)),{userId:i}))}}(this[e(622)],n,r,r+t[e(594)])}[et(452)](t){const e=et,i=null===(t=this[e(415)](t,this[e(560)]))[e(567)]?null:t[e(567)]||this[e(729)][e(483)][e(465)](e(713)).me.id,s=t[e(682)][e(663)],n=t[e(691)][e(663)],r=s[e(647)](e(434)),o=n[e(647)](e(446));s[e(431)](e(434),n[e(647)](e(434))),n[e(431)](e(434),r),this[e(622)][e(684)](o,{userId:i}),this[e(622)][e(684)](r,{userId:i}),t[e(414)]()}[et(620)](t){const e=et,i=null===(t=this[e(415)](t,this[e(560)]))[e(567)]?null:t[e(567)]||this[e(729)][e(483)][e(465)](e(713)).me.id,s=t[e(703)],n=t[e(724)][e(663)];t[e(414)]();const r=n[e(647)](e(434)),o=t[e(606)][e(653)];if(s){const t=o[e(647)](e(434)),s=n[e(647)](e(434));n[e(431)](e(434),t),o[e(431)](e(434),s),this[e(622)][e(684)](n[e(647)](e(434)),{userId:i}),this[e(622)][e(684)](o[e(647)](e(446)),{userId:i})}else{const t=this[e(631)]++,s=this[e(631)]++;n[e(431)](e(434),t),o[e(431)](e(446),s),o[e(431)](e(434),r),this[e(622)][e(684)](t,{userId:i}),this[e(622)][e(684)](s,{userId:i})}}[et(519)](t){const e=et;if(!t[e(542)])return;const i=(t=this[e(415)](t,this[e(509)]))[e(471)]?t[e(471)][e(418)]:null,s=t[e(656)]?t[e(656)][e(418)]:null;i&&this[e(442)][e(499)](t[e(544)]),s&&this[e(442)][e(684)](t[e(544)],t[e(656)][e(619)]());const n=null===t[e(567)]?null:t[e(567)]||this[e(729)][e(483)][e(465)](e(713)).me.id,r=t[e(544)];if(!this[e(468)][e(654)](r))return void this[e(468)][e(684)](r,{range:t[e(471)],userId:n});const o=this[e(468)][e(465)](r),a=o[e(535)],c=t[e(656)];null==a&&null==c||a&&c&&a[e(627)](c)?this[e(468)][e(499)](t[e(544)]):o[e(455)]=n}[et(726)](t,e){const i=et;this[i(509)][i(654)](t[i(421)])?this[i(509)][i(465)](t[i(421)])[i(595)]=t[i(643)]:(this[i(509)][i(684)](t[i(421)],at(t[i(421)],!0)),this[i(494)][i(684)](t[i(421)],{}),e&&this[i(560)][i(684)](t[i(421)],at(t[i(421)],!0)));const s=null===t[i(567)]?null:t[i(567)]||this[i(729)][i(483)][i(465)](i(713)).me.id,n=this[i(469)][i(465)](t[i(421)]);n&&n[i(455)]===s?this[i(469)][i(499)](t[i(421)]):this[i(469)][i(684)](t[i(421)],{userId:s,isAttached:t[i(643)]})}[et(419)](t){const e=et,i=this[e(494)][e(465)](t[e(418)][e(421)]);null===t[e(589)]?delete i[t[e(714)]]:i[t[e(714)]]=t[e(589)]}}function ot(t){const e=et,i=at(t[e(421)],t[e(518)]());for(const s of t[e(674)]()){const t=s[e(577)](!0);i[e(596)](t)}return i}function at(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(421)]=t,s[i(595)]=e,s[i(518)]=()=>s[i(595)],s}function ct(t,e,i){const s=et,n=s(710)==t[s(547)]?i[s(507)](t[s(657)],s(600)):i[s(680)](t[s(657)]);return i[s(648)](e,n[s(554)],n[s(485)])}function ut(t,e,i){const s=et,n=s(679)==t[s(547)]?i[s(507)](t[s(657)],0):i[s(672)](t[s(657)]);return i[s(648)](e,n[s(554)],n[s(485)])}function lt(t,e){const i=ht();return(lt=function(t,e){return i[t-=412]})(t,e)}function ht(){const t=["_lastTo","getRootNames","then","domainLimit","toVersion","some","children","data-revision-","_clone","attributesAfter","getRevision","getUser","createRevision","isOfficialPlugin","invalid","finally","3826288yyPGOn","loadState","requires","insertion","newValue","element","_baseRootsAttributes","_loadedStateData","markerToData","howMany","_isAttached","_appendChild","createdAt","_prepareViewToSave","isReady","end","177288ZLunpk","revision","filter","offset","isPremiumPlugin","insertionPosition","vid","define","getRevisions","1650924dspRFa","_getVidAttributeName","_source","_savedMetaData","removeRootAttribute","_makeIdsRoot","Empty document","collaboration.channelId","getTime","clone","_handleSplitOperation","_createFromRanges","_touched","sort","20aIsNkX","_isInit","attributes","isEqual","_saveMetaData","slice","destroy","_revisionId","$graveyard","_insertChild","_getState","PendingActions","_startingRevisionId","rootsAttributes","_isPendingUpdate","max","find","getAttributes","getIndex","isAdd","hasContent","getTransformedByOperation","_baseRoots","getAttribute","createPositionFromPath","detachRoot","revisionHistory.resumeUnsavedRevision","startsWith","featureNotAllowed","nodeAfter","has","createRange","newRange","item","reInit","_baseIdsRoots","createRangeIn","setRevisionData","expired","parent","_reset","version","_handleMoveOperation","reverse","text","_initialRevisionId","_createCurrentRevision","revisionHistoryLicenseKeyTrialLimit","createPositionAfter","creator","getChildren","dataToMarker","model","_getPreviousFrom","string","elementStart","createPositionBefore","toData","targetPosition","RevisionHistory","set","RevisionsRepository","getMovedRangeStart","275830hltNAD","editor-initial-data-replaced-with-revision-data","childCount","_startingVersion","sourcePosition","_transformMarkers","currentRevision","14pYnDbt","stringify","isEnabled","values","clear","revision-end","init","addRevision","_licenseKeyCheckInterval","graveyardPosition","_getBaseVids","adapter","_removeRevisionMarkers","updateRevisions","revision-start","getRevisionDocumentData","elementEnd","getData","addRootAttribute","Users","key","processor","config","_loadRevisionData","_generateTape","revisionHistoryLicenseKeyExpired","bind","_processRootBeforeSave","shift","getNodeByPath","splitPosition","nodes","_handleRootOperation","getAncestors","saveRevision","editor","revision:","getRevisionRootsAttributes","upcast","getOperation","_copyMarkers","_execute","_cloneOperation","editing","remove","root","_handleRootAttributeOperation","_createInitialRevision","rootName","default","size","$text","marker","includes","_makeModelFromViewString","useFillerType","insert","paragraph","_setAttribute","pluginName","revisionHistoryLicenseKeyDomainLimit","vid_end","getLatestVersion","history","push","usageLimit","Initial revision","data","roots","_markers","67380eiaCET","merge","position","vid_start","_findInsertionIndex","forEach","_bufferedUpdates","_markChanges","start","_handleMergeOperation","getRange","markers","userId","toView","revisionHistoryLicenseKeyNotAllowed","document","NEGATIVE_INFINITY","dataDowncast","initial","_revisionDataBuilder","tableCell","repository","get","source","authorsIds","_touchedMarkers","_touchedRoots","deletions","oldRange","revisionHistoryLicenseKeyValid","RealTimeCollaborationClient","getChild","_fixPosition","revisionHistoryLicenseKeyUsageLimit","marked","map","baseVersion","afterInit","length","authors","plugins","buildRevisionData","stickiness","creatorId","_makeRevision","_update","initialData","2559312eNCXEH","_handleOperation","_removePendingAction","_lastFrom","_diffRootsAttributes","getRoot","move","trialLimit","_showLicenseError","delete","_loadState","_bufferUpdate","_replaceEditorDataWithRevisionData","addRoot","locale","keepParagraph","RevisionTracker","createPositionAt","_getViewJson","_diffRoots","_fixOperation","38GPIkgA","_fixRange","parse","setSource","fromVersion","for","from","isAttached","_handleMarkerOperation","_getFromVersion","revisionHistoryLicenseKeyInvalid","split","_handleInsertOperation","view","PENDING_ACTION_REVISION_HISTORY","_calculateMetaData","trim","previousPosition","_applyOperations","addRevisionData","getWalker","_continueCurrentRevision","changeRootAttribute","_addPendingAction","range","getOperations","toModel","documentFragment","_removeMetaData","insertions","_pendingAction","affectsData","_setConversion","name","reinsert","add","type","offsetSize","attachChange","diffData","attributesBefore","evaluationLimit","resolve","path","8530520PtxvEw","conversion","getCurrentRevisionId","deletion","licenseKey","_idsRoots","fromEntries","ready","update","_operations","sendBufferedUpdates","revisionHistoryLicenseKeyEvaluationLimit","_authorId","keys"];return(ht=function(){return t})()}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var Tt=i(959),xt={attributes:{"data-cke":!0}};xt.setAttributes=wt(),xt.insert=kt().bind(null,"head"),xt.domAPI=gt(),xt.insertStyleElement=It();pt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;const Nt=At;function Rt(){const t=["arrowdown","arrowright","revisionName","_createRevisionNameInput","add","75fmsSPq","revisionNameInputView","revisionNameInputValue","extendTemplate","locale","keystrokes","render","Name of the revision","optional","1100802Hhpijt","24onVUwd","input","ck-responsive-form","3282878Pnfzkq","label","2605113cdzWUU","220","focus","2353589rdwdLo","focusTracker","arrowup","61052mwPGIp","30bkqyJm","errorText","trim","value","reset","stopPropagation","form","1241425lsEXsL","fieldView","setTemplate","listenTo","ck-revision-history-save-revision-form","44269570dtmvbQ","element","arrowleft","set"];return(Rt=function(){return t})()}function At(t,e){const i=Rt();return(At=function(t,e){return i[t-=103]})(t,e)}!function(t){const e=At,i=t();for(;;)try{if(965182===parseInt(e(112))/1+-parseInt(e(116))/2+-parseInt(e(103))/3*(parseInt(e(124))/4)+-parseInt(e(132))/5*(parseInt(e(125))/6)+parseInt(e(121))/7*(-parseInt(e(113))/8)+-parseInt(e(118))/9+parseInt(e(137))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Vt extends ft.View{[Nt(122)];[Nt(108)];[Nt(104)];constructor(e,i){const s=Nt;super(e),this[s(122)]=new t.FocusTracker,this[s(108)]=new t.KeystrokeHandler,this[s(140)](s(105),""),this[s(104)]=this[s(144)](i),this[s(134)]({tag:s(131),attributes:{class:["ck",s(136),s(115)],tabindex:"-1"},children:[this[s(104)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(109)](){const t=Nt;super[t(109)](),(0,ft.submitHandler)({view:this}),this[t(122)][t(145)](this[t(104)][t(138)]),this[t(108)][t(135)](this[t(138)]);const e=e=>e[t(130)]();this[t(108)][t(140)](t(142),e),this[t(108)][t(140)](t(139),e),this[t(108)][t(140)](t(123),e),this[t(108)][t(140)](t(141),e)}[Nt(120)](){const t=Nt;this[t(104)][t(120)]()}get[Nt(143)](){const t=Nt;return this[t(104)][t(133)][t(138)][t(128)][t(127)]()}set[Nt(143)](t){const e=Nt;this[e(104)][e(133)][e(138)][e(128)]=t[e(127)]()}[Nt(129)](){const t=Nt;this[t(104)][t(133)][t(138)][t(128)]="",this[t(104)][t(126)]=null}[Nt(144)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(107)],ft.createLabeledInputText),s=i[e(133)];s[e(106)]({attributes:{maxlength:e(119)}});let n=J(this[e(107)],e(110));return!t&&(n+=" ("+J(this[e(107)],e(111))+")"),i[e(117)]=n,s.on(e(114),(()=>{const t=e;this[t(105)]=s[t(138)][t(128)][t(127)]()})),i}}const Et=Mt;function Mt(t,e){const i=Ct();return(Mt=function(t,e){return i[t-=183]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(440938===-parseInt(e(215))/1+parseInt(e(186))/2*(parseInt(e(197))/3)+parseInt(e(208))/4*(parseInt(e(192))/5)+parseInt(e(247))/6+parseInt(e(214))/7+-parseInt(e(230))/8+parseInt(e(221))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Dt extends U.Plugin{static get[Et(238)](){return Et(243)}static get[Et(220)](){return!0}static get[Et(237)](){return!0}static get[Et(246)](){return[st]}[Et(185)];[Et(239)](){const t=Et,e=this[t(249)],i=e[t(242)][t(206)](t(234));e.ui[t(226)][t(224)](t(199),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(189)][n(183)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(200)](n(213)).to(i,n(222),i,n(213),e,n(245),((t,e,i)=>t&&e&&!i)),r[n(232)][n(250)]({icon:dt.IconHistory,label:J(s,n(240)),tooltip:!0}),u[n(250)]({label:J(s,n(209)),withText:!0,role:n(205)}),u[n(200)](n(213)).to(i,n(222),i,n(213),e,n(245),((t,e,i)=>t&&e&&!i)),u.on(n(201),(()=>this[n(207)]())),h[n(250)]({label:J(s,n(198)),withText:!0,role:n(205)}),h[n(200)](n(213)).to(i,n(222),e,n(245),((t,e)=>t&&!e)),h.on(n(201),(()=>{const t=n;e[t(228)][t(206)](t(199))[t(231)](),r[t(190)]=!1,e[t(202)][t(211)][t(236)]()})),c[n(183)][n(224)](u),l[n(183)][n(224)](h),a[n(225)]=n(233),a[n(216)][n(217)]([c,l]),o[n(224)](a),r})),e.ui[t(226)][t(224)](t(210),(()=>this[t(212)]()))}[Et(212)](){const t=Et,e=this[t(249)],i=e[t(195)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(232)][t(250)]({icon:dt.IconHistory,label:J(i,t(240))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(250)]({label:J(i,t(209))}),o[t(235)](t(201)).to(s),o.on(t(201),(()=>{this[t(207)]()})),r[t(183)][t(224)](o),n[t(216)][t(224)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(250)]({label:J(i,t(198))}),c[t(235)](t(201)).to(s),c.on(t(201),(()=>{const i=t;e[i(228)][i(206)](i(199))[i(231)]()})),a[t(183)][t(224)](c),n[t(216)][t(224)](a),s[t(189)][t(183)][t(224)](n),s}[Et(207)](){const t=Et,e=this[t(249)],i=e[t(195)],s=e[t(242)][t(206)](t(244)),n=e[t(242)][t(206)](t(234));function r(n){const r=t;e[r(228)][r(206)](r(218))&&""===n[r(227)]?n[r(191)][r(248)]=J(i,r(193)):(e[r(242)][r(206)](st)[r(196)]({name:n[r(227)]}),s[r(203)]())}this[t(185)]||(this[t(219)](),this[t(185)].on(t(184),(()=>r(this[t(185)])))),this[t(185)][t(204)](),s[t(194)]({id:t(241),title:J(i,t(209)),isModal:!0,content:this[t(185)],actionButtons:[{label:J(e[t(195)],t(187)),withText:!0,onExecute:()=>s[t(203)]()},{label:J(e[t(195)],t(188)),class:t(223),withText:!0,onCreate(i){const s=t;i[s(200)](s(213)).to(n,s(222),n,s(213),e,s(245),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(185)])}]})}[Et(219)](){const t=Et,e=this[t(249)],i=e[t(195)];this[t(185)]=new Vt(i,e[t(228)][t(206)](t(218))),this[t(185)][t(229)]()}}function Ct(){const t=["Open revision history","revisionHistory","bind","execute","editing","hide","reset","menuitem","get","_showDialog","4dmjAHD","Save current revision","menuBar:revisionHistory","view","_registerMenuComponent","isEnabled","5149081rPUsbm","853498vQxRjS","items","addMany","revisionHistory.requireRevisionName","_createSaveRevisionFormView","isOfficialPlugin","3171141RzCLvd","isReady","ck-button-action","add","role","componentFactory","revisionName","config","render","5409784LezWuJ","showRevisionViewerCallback","buttonView","menu","RevisionTracker","delegate","focus","isPremiumPlugin","pluginName","init","Revision history","revisionSave","plugins","RevisionHistoryUI","Dialog","isReadOnly","requires","41976LLUbce","errorText","editor","set","children","submit","_saveRevisionFormView","137858dTLOYt","Cancel","Accept","panelView","isOpen","revisionNameInputView","4034010nLKVNl","The revision name cannot be empty.","show","locale","saveRevision","3jkGxZG"];return(Ct=function(){return t})()}function Ft(t,e){const i=Lt();return(Ft=function(t,e){return i[t-=348]})(t,e)}const jt=Ft;function Lt(){const t=["Added by","bindTemplate","name","data","59188vHewcD","ck-revision-change__label","type","179700KmSCBc","393ujBwcE","Removed by","focus","isSuggestion","27777456TGhboQ","3747162dIkkwY","ck-annotation","_model","element","changeId","set","1938586XWNfKZ","setTemplate","ck-revision-change__","ck-revision-change","div","Suggested by","3250254QxKgeN","1326725ExGRws","add","author","span"];return(Lt=function(){return t})()}!function(t){const e=Ft,i=t();for(;;)try{if(980198===-parseInt(e(369))/1+parseInt(e(362))/2+-parseInt(e(351))/3*(parseInt(e(377))/4)+-parseInt(e(350))/5+-parseInt(e(356))/6+parseInt(e(368))/7+parseInt(e(355))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Pt extends ft.View{[jt(360)];[jt(358)];constructor(t,e){const i=jt;super(t),this[i(358)]=e,this[i(360)]=e.id;const s=this[i(374)],n=J(t,e[i(376)][i(354)]?i(367):i(370)==e[i(349)]?i(373):i(352));this[i(361)](i(349),e[i(349)]),this[i(363)]({tag:i(366),attributes:{class:[i(357),i(365),s.to(i(349),(t=>i(364)+t))],tabindex:-1},children:[{tag:i(372),children:[{tag:i(372),attributes:{class:[i(348)]},children:[{text:n}]},{text:" "+e[i(371)][i(375)]}]}]})}[jt(353)](){const t=jt;this[t(359)][t(353)]()}}var zt=Wt;function Wt(t,e){var i=Ut();return(Wt=function(t,e){return i[t-=365]})(t,e)}function Ut(){var t=["8864660LxOUEA","1460718ddUynE","author","42RWRCPt","563188WauxRk","114333oTHKDv","toJSON","24862eFQCjz","455934YBveRk","type","rootName","1962368DFOAwB","1TncMlg","set","data","5lqbbrK","createdAt"];return(Ut=function(){return t})()}!function(t){for(var e=Wt,i=t();;)try{if(232421===parseInt(e(373))/1*(-parseInt(e(368))/2)+parseInt(e(366))/3+-parseInt(e(365))/4*(parseInt(e(376))/5)+parseInt(e(369))/6*(-parseInt(e(381))/7)+-parseInt(e(372))/8+parseInt(e(379))/9+parseInt(e(378))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Zt extends((0,t.ObservableMixin)()){id;[zt(380)];[zt(370)];[zt(375)];[zt(371)];constructor(e){var i=zt;super(),this.id=e.id||(0,t.uid)(),this[i(380)]=e[i(380)],this[i(370)]=e[i(370)],this[i(375)]=e[i(375)]||{},this[i(371)]=e[i(371)],this[i(374)](i(377),e[i(377)])}[zt(367)](){var t=zt;return{id:this.id,authorId:this[t(380)].id,type:this[t(370)],data:this[t(375)],createdAt:this[t(377)]}}}function Ht(){const t=["7588312EXhNom","501ZMscFE","10MJNoaU","6780372RsVkMi","_setChanges","5qpGrTW","newRevisionId","27432xSToKK","32930557IjuANC","379036jpRXEA","add","1384DmHspS","1vghfKo","changes","oldRevisionId","8517186gLyMns"];return(Ht=function(){return t})()}const qt=$t;function $t(t,e){const i=Ht();return($t=function(t,e){return i[t-=196]})(t,e)}!function(t){const e=$t,i=t();for(;;)try{if(665684===parseInt(e(196))/1*(-parseInt(e(211))/2)+parseInt(e(201))/3*(-parseInt(e(207))/4)+parseInt(e(205))/5*(-parseInt(e(203))/6)+-parseInt(e(209))/7+parseInt(e(200))/8+-parseInt(e(199))/9+parseInt(e(202))/10*(parseInt(e(208))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Bt{[qt(206)];[qt(198)];[qt(197)];constructor(e,i){const s=qt;this[s(206)]=e,this[s(198)]=i,this[s(197)]=new t.Collection}[qt(204)](t){const e=qt;for(const i of t)this[e(197)][e(210)](i)}}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=Xt;function Kt(){const t=["ck-editor__editable__overlay","elementToAttribute","selection","_makeTape","range","_makeModelFromViewString","addRevision","bindElementToMarker","destroy","_cleanMarkers","consume","comment","nextSibling","startsWith","57144bqgbwZ","_getViewObj","error","isBefore","next","dataDowncast","removeMarker:revision","children","test","_markSuggestions","_balloon","affectsData","vid","delete","setAttribute","values","suggestion:","endIndex","detachRoot","collaboration.channelId","revision-end","toModel","isLimit","consumable","change:numberOfChanges","createRevision","_setConversion","markersStart","_markMarkers","markerRange","mapViewToDom","3675084NpjqGy","elementStart","revision-suggestion:","getRoot","attributes","markersEnd","_sortAndFilterDiffChanges","get","isCollapsed","revisionHistoryLabel","target","224680egsYaq","isAfter","change","revision-viewer","markerToHighlight","attribute:vid","_joinTapes","insertions","removeMarker","all","_changeIdToChange","vid_end","deletions","getIndex","deletion","map","forward","_appendChild","getRevision","modelRange","_getRevisionsRange","model","clear","attributesAfter","getCustomProperty","RevisionViewer","_fixObsoleteTags","vid_start","includes","changes","isIncorrect","ck-suggestion-preview-marker-","unshift","isInline","toViewRange","parse","compare","_activeViewTarget","isReady","locale","isRemoveSuggestion","code","done","RevisionsRepository","offsetSize","repository","-new","name","revision","maxOffset","indexOf","rootName","currentChangeNumber","nodeAfter","plugins","isEnabled","add","revision-start","pairId","dataToMarker","editor","_getChangeFromId","ck-suggestion-marker-","markerToData","addHighlight","isNavigationMode","isBlock","415ERPyVS","then","_cleanUp","upcast","ck-revision-history-root-remove","isRemoved","activeChange","ck-suggestion-marker-split","showStack","addMarker:revision-suggestion:insertion","markerNameToElements","isSuggestion","shift","catch","ck-suggestion-marker--active","isAtStart","findIndex","isAddSuggestion","oldRevisionId","span","abs","getClientRects","showNextChange","index","processor","forEach","domEvent","_markInsertions","first","remove","marked","_processTape","_makeModelFromTape","merge","right","top","_data","ck-suggestion-marker-merge","item","listenTo","getItems","set","requires","_setDistance","data-change-id","distance","object","roots","createAttributeElement","getRevisionData","suggestion","removeMarker:revision-suggestion","markers","highest","ck-suggestion-preview-marker","userId","changeId","uiElement","_update","end","addRoot","pluginName","createPositionFromPath","_removeRevisionMarkers","getAttributes","addClass","start","toViewElement","_removeUnsupportedChanges","8265915hShVwY","return","createUIElement","conversion","newRevisionId","_getViewForChange","observeMarkers","slice","for","softBreak","restoreRevisionCallback","createPositionBefore","split","data-revision-","side","getChild","isOfficialPlugin","toData","isAdded","view","writer","editing","element","has","getRootNames","init","_setChanges","checkAttribute","1372101YapMkQ","document","change:activeView","revision-suggestion","revision:","hasAttribute","from","createRangeIn","refresh","removeAttribute","nextPosition","isContent","type","toViewPosition","mousedown","_initInteractions","_getDiff","insert","mouseover","revisionHistoryAttachChange","enableReadOnlyMode","push","adapter","keys","ck-revision-history-root-add","filter","elementEnd","_threeWayMerge","isAttached","diffData","change:activeChange","stop","change:isReady","revisionHistory","revision-comment:","wrap","_markMismatchedRemovedTags","ck-revision-history-root-","unbindElementFromMarkerName","isOnRoot","find","string","20790590pvmozC","hasClass","_step","enqueueChange","concat","pop","POSITIVE_INFINITY","getWalker","bottom","createRange","activeView","_refreshStartEndIndex","insertion","execute","high","reconvertMarker","element:pre","forceDisabled","restoreRevision","isPremiumPlugin","default","updatePosition","splice","attributesBefore","low","attachChange","WidgetToolbarRepository","getDomRoot","isAtEnd","showPreviousChange","text","addMarker:revision","mapper","diff","left","addMarker:revision-suggestion:deletion","authors","length","_findChangeIdFromDomTarget","1025320VzSisT","level","parent","config","removeClass","markerName","resolve","useFillerType","commands","_revisions","flat","downcastDispatcher","isObject","backward","getAttribute","loadRevisionData","change:isEnabled","editingDowncast","isEqual","addRevisionData","_removeMissingPairs","numberOfChanges","bind","getLaterVisibleRevision","viewItem","domConverter","ck-suggestion-marker","2mCHaSG","sort","schema","ck-revision-history-root--active","getRevisionRootsAttributes","data","startIndex","_changeView","previousPosition","203RhOqks"];return(Kt=function(){return t})()}function Xt(t,e){const i=Kt();return(Xt=function(t,e){return i[t-=102]})(t,e)}!function(t){const e=Xt,i=t();for(;;)try{if(572735===-parseInt(e(243))/1+parseInt(e(270))/2*(-parseInt(e(162))/3)+parseInt(e(325))/4+-parseInt(e(403))/5*(-parseInt(e(294))/6)+-parseInt(e(279))/7*(parseInt(e(336))/8)+-parseInt(e(134))/9+parseInt(e(204))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);const Qt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class te extends U.Plugin{[Gt(381)];[Gt(184)];[Gt(373)];[Gt(277)];[Gt(346)];[Gt(304)];static get[Gt(126)](){return Gt(361)}static get[Gt(150)](){return!0}static get[Gt(223)](){return!0}static get[Gt(107)](){return[Z.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(381)]=this[e(396)][e(390)][e(332)](e(379)),this[e(106)](e(409),null),this[e(106)](e(214),null),this[e(373)]=null,this[e(106)](e(237),null),this[e(106)](e(374),!1),this[e(106)](e(391),!0),this.on(e(259),((t,i,s)=>{const n=e;this[n(409)]=null,this[n(214)]=null,this[n(396)][n(155)][n(153)][n(338)]((t=>{const e=n;for(const i of this[e(396)][e(155)][e(153)][e(163)][e(112)])s?t[e(247)](e(280),i):t[e(130)](e(280),i)}))})),this[e(265)](e(401)).to(this,e(409),(t=>null!==t)),this[e(265)](e(388)).to(this,e(374),this,e(237),this,e(409),((t,i,s)=>t&&s?i[e(365)][e(349)](s):0)),this[e(265)](e(264)).to(this,e(374),this,e(237),((t,i)=>t?i[e(365)][e(241)]:0)),this[e(277)]=null,this[e(346)]=new Map,this[e(184)]=null,this[e(304)]=this[e(396)][e(390)][e(332)](ft.ContextualBalloon)}[Gt(159)](){const t=Gt,e=this[t(396)],i=new se(e,{direction:t(256)}),s=new se(e,{direction:t(352)});e[t(251)][t(392)](t(233),i),e[t(251)][t(392)](t(425),s),e[t(251)][t(392)](t(222),new ie(e)),this.on(t(318),(()=>{const e=t;i[e(170)](),s[e(170)]()})),this[t(320)](),this[t(177)](),e[t(182)](t(339)),e[t(390)][t(157)](t(230))&&e[t(390)][t(332)](t(230))[t(221)](t(339))}async[Gt(114)](t){const e=Gt;await this[e(258)](t);const i={};for(const s in t[e(191)]){if(t[e(191)][s][e(229)]&&!t[e(191)][s][e(229)][e(190)])continue;const n=this[e(128)](JSON[e(371)](t[e(191)][s][e(343)])),r=this[e(396)][e(155)][e(153)][e(163)],o=new H.ViewDocumentFragment(r,n[e(351)]((t=>this[e(295)](t))));this[e(396)][e(275)][e(427)][e(250)](e(433)),i[s]=this[e(396)][e(275)][e(427)][e(151)](o),this[e(396)][e(275)][e(427)][e(250)](e(224))}return i}async[Gt(274)](t){const e=Gt;await this[e(258)](t);const i={};for(const s in t[e(191)])t[e(191)][s][e(229)]&&!t[e(191)][s][e(229)][e(190)]||(i[s]=t[e(191)][s][e(359)]||{});return i}[Gt(128)](t){const e=Gt;return(t=t[e(187)]((t=>!t[e(383)]||e(393)!==t[e(383)]&&e(314)!==t[e(383)])))[e(428)]((t=>{const i=e;i(203)!=typeof t&&(t[i(301)]=this[i(128)](t[i(301)]),t[i(329)]=t[i(329)][i(187)]((t=>!t[0][i(293)](i(147)))))})),t}async[Gt(372)](t,e,i=!1){const s=Gt;if(!this[s(391)])return;const n=this[s(237)],r=this[s(381)],o=s(203)==typeof t?r[s(354)](t):t,a=s(203)==typeof e?r[s(354)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(237)]&&this[s(237)][s(138)]===c&&this[s(237)][s(421)]===u)return Promise[s(249)]();this[s(374)]=!1,this[s(214)]=null,this[s(409)]=null,this[s(237)]=new Bt(c,u);const l=this[s(356)](o,a,!0)[s(351)]((t=>this[s(258)](t)));return l[s(183)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(345)](l)[s(404)]((()=>{const t=s;if(!this[t(391)])return;this[t(405)]();const e=this[t(178)](c,u);for(const i of e[t(365)])this[t(346)][t(106)](i.id,i);this[t(396)][t(357)][t(207)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(396)][s(357)][s(163)][s(158)]())i[s(312)](t);for(const t of Object[s(185)](e[s(357)])){const n=i[s(125)](t);for(const r of Object[s(185)](e[s(329)][t]))i[s(308)](r,e[s(329)][t][r],n);i[s(179)](e[s(357)][t],n,0)}})),this[t(237)][t(160)](this[t(331)](e[t(365)])),this[t(374)]=!0}))[s(416)]((t=>{const e=s;console[e(296)](t),this[e(405)](),n&&(this[e(237)]=n),this[e(374)]=!0}))}[Gt(262)](t,e){const i=Gt,s=this[i(381)][i(319)](t);return s.on(i(123),((t,i,n)=>e(i,n,s))),this[i(381)][i(286)](s),s}[Gt(258)](t){const e=Gt;if(!t||t[e(191)])return Promise[e(249)]();{const i=this[e(396)][e(246)][e(332)](e(313));return this[e(184)][e(354)]({channelId:i,revisionId:t.id})[e(404)]((i=>{const s=e;t[s(123)]({diffData:i[s(191)]},!0)}))}}[Gt(405)](){const t=Gt;this[t(409)]=null,this[t(289)](),this[t(277)]&&this[t(277)][t(288)](),this[t(277)]=null,this[t(346)][t(358)](),this[t(396)][t(357)][t(207)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(396)][i(357)][i(163)][i(158)]())e[i(312)](t)}))}[Gt(331)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(396)][e(357)][e(163)][e(158)]()){const n=this[e(396)][e(155)][e(153)][e(231)](t);if(!n)continue;const r=n[e(424)]()[e(103)](0);r&&(i[e(183)](t),s[e(106)](t,r))}return i[e(271)](((t,i)=>{const n=e,r=s[n(332)](t),o=s[n(332)](i);return r.y-o.y||r.x-o.x})),(t=t[e(187)]((t=>i[e(364)](t[e(387)]))))[e(271)](((t,s)=>i[e(386)](t[e(387)])-i[e(386)](s[e(387)]))),t}[Gt(283)](t){const e=Gt,i=Array[e(168)](t[e(117)])[e(187)]((([t,i])=>t[e(293)](e(166))&&!i[e(333)])),s=Array[e(168)](this[e(396)][e(357)][e(169)](t)[e(211)]({singleCharacters:!0}));if(0!=i[e(241)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(146)](":");if(n[e(124)][e(261)](t[e(172)])&&i[e(415)](),(t[e(278)][e(261)](n[e(131)])||t[e(278)][e(337)](n[e(131)]))&&(e(216)==r?t[e(152)]={userId:o}:e(350)==r&&(t[e(408)]={userId:o})),0==i[e(241)])break}return s}[Gt(215)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(241)];s++)e(234)===t[s][e(174)]?(t[s][e(103)][e(276)]=s,t[s][e(103)][e(311)]=s):(e(326)===t[s][e(174)]?t[s][e(103)][e(276)]=s:e(188)===t[s][e(174)]&&(t[s][e(103)][e(311)]=s),i[e(106)](t[s].id,s));for(const s of i[e(309)]())e(326)===t[s][e(174)]?t[s][e(103)][e(311)]=i[e(332)](t[s][e(394)]):e(188)===t[s][e(174)]&&(t[s][e(103)][e(276)]=i[e(332)](t[s][e(394)]))}[Gt(434)](t){const e=Gt;for(let i=0;i<t[e(241)];i++){if(e(326)===t[i][e(174)])t[i][e(103)][e(276)]=i;else if(e(188)===t[i][e(174)]){t[i][e(103)][e(311)]=i;const s=t[i][e(103)][e(276)];t[s][e(394)]=t[i].id,t[i][e(394)]=t[s].id}else t[i][e(103)][e(276)]=i,t[i][e(103)][e(311)]=i,t[i][e(394)]=null;t[i][e(321)]||(t[i][e(321)]=[],t[i][e(330)]=[])}}[Gt(430)](t,e){const i=Gt,s=t[i(187)]((t=>!t[i(152)]));for(let t=0;t<e[i(241)];t++)e[t][i(152)]&&(s[t][i(152)]=e[t][i(152)])}[Gt(285)](t){const e=Gt,i=JSON[e(371)](t),s=this[e(396)][e(155)][e(153)][e(163)],n=new H.ViewDocumentFragment(s,i[e(351)]((t=>this[e(295)](t))));return this[e(396)][e(275)][e(315)](n)}[Gt(295)](t){const e=Gt,i=this[e(396)][e(155)][e(153)][e(163)];if(e(203)==typeof t)return new H.ViewText(i,t);{const s=t[e(301)][e(351)]((t=>this[e(295)](t)));return new(Qt[t[e(174)]]||H.ViewElement)(i,t[e(383)],t[e(329)],s)}}[Gt(178)](t,e=null){const i=Gt,s=this[i(381)][i(354)](t),n=e?this[i(381)][i(354)](e):null,r=this[i(356)](s,n),o=r[r[i(241)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(241)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(185)](e[i(191)]))if(e[i(191)][t][i(229)]){const s=e[i(191)][t][i(229)];s[i(190)]?(u[i(392)](t),l[i(157)](t)&&l[i(332)](t)[i(120)]==s[i(120)]?l[i(307)](t):l[i(106)](t,s)):l[i(157)](t)?(u[i(307)](t),l[i(307)](t)):(u[i(392)](t),l[i(106)](t,s))}else u[i(392)](t)}for(const t of u){const e=l[i(157)](t)&&!l[i(332)](t)[i(190)];let s=e?r[i(241)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(191)][t]){const s=e?o[i(191)][t][i(227)]:o[i(191)][t][i(359)];c[i(329)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(357)]={};for(const e of t[i(240)])a[i(106)](e.id,e);for(const e of u){const s=t[i(191)][e]?t[i(191)][e][i(343)]:"[]",n=t[i(191)][e]?t[i(191)][e][i(348)]:"[]";t[i(357)][e]={insertions:this[i(285)](s),deletions:this[i(285)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(168)](s[i(357)][t][i(343)][i(117)])[i(187)]((([t])=>!t[i(293)](i(166)))));let h=0;for(const o of r){const r=this[i(283)](o[i(357)][t][i(343)]);o==s?(e=r,n=e[i(241)],e[i(428)]((t=>{t.id=h++})),this[i(434)](e)):this[i(430)](e,r);const a=e[i(187)]((t=>!t[i(152)]))[i(351)]((t=>t.id));let c=0;const l=this[i(283)](o[i(357)][t][i(348)]);l[i(428)]((t=>{t[i(408)]?t.id=n++:t.id=a[c++]})),this[i(434)](l),this[i(108)](e,i(152)),this[i(108)](l,i(408)),o==s&&this[i(322)](e,u),e=this[i(342)](e,l),this[i(215)](e),this[i(108)](e,i(408))}e=e[i(187)]((t=>!(t[i(152)]&&t[i(408)])));const d=new Map(o[i(357)][t][i(348)][i(117)]),f=new Set(u[i(185)]());for(const t of d[i(185)]())f[i(307)](t);this[i(303)](e,f),this[i(362)](e),e=this[i(263)](e),e=this[i(198)](e),e=this[i(133)](e);const{root:m,changes:p}=this[i(435)](e,a,t);c[i(357)][t]=m;const v=l[i(332)](t);if(v){const e=a[i(332)](v[i(120)]),s=new Zt({author:e,type:v[i(190)]?i(392):i(432),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(368)](s),c[i(329)][t][i(181)]=s.id}c[i(365)]=c[i(365)][i(208)](p)}return c}[Gt(322)](t,e){const i=Gt;for(let s=0;s<t[i(241)];s++)for(const[n,r]of e)r[i(131)][i(261)](t[s][i(278)])&&t[s][i(321)][i(183)](n),r[i(124)][i(261)](t[s][i(172)])&&t[s][i(330)][i(183)](n)}[Gt(342)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(241)]||r<e[i(241)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(183)](o);else if(a[i(408)]&&o[i(152)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(189)](t,n,e,r);s=s[i(208)](o),n=a,r=c}else a[i(408)]?(r++,s[i(183)](a)):(n++,s[i(183)](o))}return s}[Gt(303)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(241)];o++){for(let r=0;r<t[o][i(321)][i(241)];r++){const a=t[o][i(321)][r];if(!e[i(157)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(165)!=c||i(216)!=u&&i(350)!=u||(s[i(368)]({type:u,name:a,userId:l}),t[o][i(321)][i(226)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(330)][i(241)];r++){const a=t[o][i(330)][r];if(!e[i(157)](a))continue;const{group:c,type:u}=n(a);if(i(165)!=c||i(216)!=u&&i(350)!=u)continue;t[o][i(330)][i(226)](r,1),r--;const l=s[i(419)]((t=>t[i(383)]==a));l>-1&&s[i(226)](l,1)}}function n(t){const e=i,s=t[e(146)](":");return{group:s[0],type:s[1],subType:s[e(241)]>=5?s[2]:null,id:s[e(241)]<5?s[2]:s[3],authorId:s[e(241)]<5?s[3]:s[4],markerCount:6==s[e(241)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(241)];i++){if(t[e(152)]&&e(216)==s[i][e(174)])return t[e(420)]=s[i],void delete t[e(152)];if(!t[e(152)]&&!t[e(408)]&&e(350)==s[i][e(174)])return void(t[e(376)]=s[i])}}}[Gt(108)](t,e){const i=Gt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(106)](o.id,s);for(let s=0;s<t[i(241)];s++){if(i(408)==e&&t[s][i(152)]||i(152)==e&&t[s][i(408)])continue;if(i(234)==t[s][i(174)]){t[s][i(110)]=0;continue}const n=r[i(332)](t[s][i(394)]),o=r[i(332)](t[s].id);t[s][i(110)]=n-o}}[Gt(356)](t,e,i=!1){const s=Gt,n=[];let r=this[s(381)][s(349)](t),o=this[s(381)][s(349)](e);for(-1==o&&(o=this[s(381)][s(252)][s(241)],i=!1);r<o;)n[s(183)](this[s(381)][s(354)](r)),r++;return i&&n[s(183)](this[s(381)][s(354)](r)),n}[Gt(189)](t,e,i,s){const n=Gt,r=this[n(396)][n(357)][n(272)];let o=e;for(;t[o]&&t[o][n(152)];)o++;let a=s;for(;i[a]&&i[a][n(408)];)a++;u(t,e,o),u(i,s,a);const c=i[n(141)](s,a)[n(208)](t[n(141)](e,o));return c[n(271)](((t,e)=>t[n(148)]!=e[n(148)]?t[n(148)]-e[n(148)]:t[n(244)]!=e[n(244)]?t[n(244)]-e[n(244)]:t[n(110)]!=e[n(110)]?e[n(110)]-t[n(110)]:!!t[n(152)]!=!!e[n(152)]?-1==t[n(148)]||0==t[n(148)]?t[n(152)]?-1:1:t[n(152)]?1:-1:t[n(426)]-e[n(426)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(210)],c=!0;for(let n=e;n<i;n++)if(r[s(369)](t[n][s(103)])||(c=!1),t[n][s(103)][s(276)]<e&&(o=n),t[n][s(103)][s(311)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(148)]=n<=o?-1:n<a?0:1,t[n][s(426)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(110)]?t[i][s(244)]=u:(u++,t[i][s(244)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(148)]&&(t[n][s(244)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(110)]?t[e][s(244)]=u:(u--,t[e][s(244)]=u,u--)}}[Gt(362)](t){const e=Gt,i=new Map,s=this[e(396)][e(357)][e(272)];for(let n=1;n<t[e(241)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(234)==c[e(174)])continue;if(c[e(174)]!=u[e(174)])continue;if(!s[e(402)](u[e(103)])||s[e(316)](u[e(103)]))continue;if(!s[e(402)](c[e(103)])||s[e(316)](c[e(103)]))continue;if((t[n][e(152)]||t[n][e(420)])&&t[n-1][e(408)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(408)]||!t[n-1][e(152)]&&!t[n-1][e(420)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(244)]==o[e(244)],h=Math[e(423)](r[e(244)])<Math[e(423)](o[e(244)])&&0==o[e(110)];(l||h)&&(i[e(106)](o.id,r.id),t[e(226)](a,1),n--,r[e(152)]=!1)}for(let s=0;s<t[e(241)];s++)i[e(157)](t[s][e(394)])&&(t[s][e(394)]=i[e(332)](t[s][e(394)]))}[Gt(263)](t){const e=Gt,i=new Set(t[e(351)]((t=>t.id)));for(let s=0;s<t[e(241)];s++)i[e(157)](t[s][e(394)])||0==t[s][e(110)]||(t[s][e(366)]=!0);return t[e(187)]((t=>!t[e(366)]))}[Gt(198)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(241)];s++){if(i[e(157)](t[s].id)&&t[s][e(408)]&&(t[s][e(366)]=!0),t[s][e(366)])continue;if(0==t[s][e(110)])continue;if(e(326)!=t[s][e(174)])continue;if(null==t[s][e(394)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(394)];)e(326)==t[n][e(174)]?r++:e(188)==t[n][e(174)]&&r--,n++;if(0!=r)if(t[s][e(408)])t[s][e(366)]=!0;else for(;n!=s;)t[n][e(408)]&&0!=t[n][e(110)]&&(t[n][e(366)]=!0,i[e(392)](t[n][e(394)])),n--}return t[e(187)]((t=>!t[e(366)]))}[Gt(133)](t){const e=Gt,i=this[e(396)][e(357)][e(272)];for(let s=0;s<t[e(241)];s++){if(!(t[s][e(152)]||t[s][e(420)]||t[s][e(408)]||t[s][e(376)]))continue;if(0==t[s][e(110)])continue;const n=t[s][e(103)];i[e(402)](n)||i[e(316)](n)||(t[s][e(152)]&&delete t[s][e(152)],t[s][e(420)]&&delete t[s][e(420)],t[s][e(376)]&&delete t[s][e(376)],t[s][e(408)]&&(t[s][e(366)]=!0))}return t[e(187)]((t=>!t[e(366)]))}[Gt(435)](t,e,i){const s=Gt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(396)][s(357)],c=a[s(272)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(241)];e++)if(s(326)===t[e][s(174)]){t[e][s(278)]=a[s(127)](n,f);const i=new H.Element(t[e][s(103)][s(383)],t[e][s(103)][s(129)]());u[0][s(353)](i),f[s(183)](0),u[s(368)](i),t[e][s(172)]=a[s(127)](n,f)}else s(188)===t[e][s(174)]?(u[s(415)](),t[e][s(278)]=a[s(127)](n,f),f[s(209)](),f[f[s(241)]-1]++,t[e][s(172)]=a[s(127)](n,f)):(t[e][s(278)]=a[s(127)](n,f),d?d[s(439)]+=t[e][s(103)][s(275)]:d=new H.Text(t[e][s(103)][s(275)],t[e][s(103)][s(129)]()),t[e+1]&&s(234)===t[e+1][s(174)]&&v(d,t[e+1][s(103)])||(u[0][s(353)](d),d=null),f[f[s(241)]-1]+=t[e][s(103)][s(380)],t[e][s(172)]=a[s(127)](n,f));for(let e=0;e<t[s(241)];e++){const i=t[e][s(278)],n=t[e][s(172)];for(const n of t[e][s(321)])o[s(106)](n,{start:i,end:null});m(s(376),e,i,n),m(s(420),e,i,n),m(s(408),e,i,n),m(s(152),e,i,n);for(const i of t[e][s(330)])o[s(332)](i)[s(124)]=n}for(const[t,e]of o){const i=this[s(396)][s(357)][s(213)](e[s(131)],e[s(124)]);n[s(117)][s(106)](t,i)}return r[s(271)](((t,e)=>{const i=s,r=n[i(117)][i(332)](i(166)+t.id),o=n[i(117)][i(332)](i(166)+e.id);return r[i(131)][i(297)](o[i(131)])?-1:r[i(131)][i(337)](o[i(131)])?1:r[i(124)][i(297)](o[i(124)])?-1:r[i(124)][i(337)](o[i(124)])?1:i(392)===t[i(174)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(120)]:null,d=i===t[o(241)]-1,f=h[e][0],m=c[o(255)](t[i][o(103)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(124)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(120)]!==u&&(l[e][o(124)]=n,f&&f[o(120)]===l[e][o(120)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(326)!==t[i][o(174)]||f&&f[o(120)]===u||h[e][o(368)]({userId:u,object:t[i][o(103)],change:l[e]}),o(188)===t[i][o(174)]&&f&&f[o(111)]===t[i][o(103)]&&(h[e][o(415)](),l[e]=f[o(338)])),l[e]&&d&&(l[e][o(124)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(103)],f=a[h(272)][h(402)](d)&&!a[h(272)][h(316)](d),m=t[h(389)]==o[h(245)]&&o[h(418)];if(f&&m)return;const p=a[h(213)](t,o),v=e[h(332)](u),g=new Zt({author:v,type:h(152)==l||h(420)==l?h(392):h(432),data:{isSuggestion:h(420)==l||h(376)==l},createdAt:new Date,rootName:i});r[h(183)](g),n[h(117)][h(106)](h(166)+g.id,p)}function v(t,e){const i=s,n=t[i(129)](),r=e[i(129)]();for(const t of n){if(t[1]!==e[i(257)](t[0]))return!1;r[i(298)]()}return r[i(298)]()[i(378)]}}[Gt(320)](){const t=Gt;this[t(396)][t(137)][t(142)](t(406))[t(395)]({view:t(384)}),this[t(396)][t(137)][t(142)](t(260))[t(340)]({model:t(384),view:e=>{const i=t,s=e[i(248)][i(146)](":")[1],n=this[i(397)](s);if(!n)return null;const r=i(392)==n[i(174)]?i(216):i(350),o=[i(269),i(398)+r];return n[i(275)][i(414)]&&o[i(183)](i(398)+r+i(382)),this[i(409)]==n&&o[i(183)](i(417)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(396)][t(137)][t(142)](t(406))[t(392)]((e=>{const i=t;e.on(i(220),((t,e,s)=>{const n=i,r=e[n(267)][n(149)](0);if(!r||!r.is(n(156),n(377)))return;if(!s[n(317)][n(290)](r,{attributes:[n(363),n(347)]}))return;const o=e[n(355)][n(131)][n(389)];s[n(154)][n(308)](n(363),r[n(257)](n(363)),o),s[n(154)][n(308)](n(347),r[n(257)](n(347)),o)}),{priority:i(228)})})),this[t(396)][t(137)][t(142)](t(406))[t(392)]((e=>{const i=t;e.on(i(156),((t,e,s)=>{const n=i;if(!s[n(317)][n(290)](e[n(267)],{attributes:[n(363),n(347)]}))return;if(e[n(355)][n(333)])return;const r=e[n(355)][n(131)][n(389)];r[n(167)](n(363))||r[n(167)](n(306))||(s[n(154)][n(308)](n(363),e[n(267)][n(257)](n(363)),r),s[n(154)][n(308)](n(347),e[n(267)][n(257)](n(347)),r))}),{priority:i(228)})})),this[t(396)][t(137)][t(142)](t(406))[t(281)]({view:{name:t(422),attributes:{vid:!0}},model:{key:t(306),value:e=>e[t(257)](t(306))}}),this[t(396)][t(357)][t(272)].on(t(161),((e,[,i])=>{const s=t;[s(363),s(347),s(306)][s(364)](i)&&(e[s(135)]=!0,e[s(193)]())}),{priority:t(118)}),this[t(396)][t(137)][t(142)](t(299))[t(392)]((e=>{const i=t;e.on(i(341),((t,e,s)=>{const n=i;if(" "!=e[n(103)][n(275)]||e[n(103)][n(245)][n(385)]>1)return;if(!s[n(317)][n(290)](e[n(103)],t[n(383)]))return;const r=s[n(154)],o=s[n(236)][n(370)](e[n(284)]);r[n(197)](o,r[n(113)](n(422)))}))})),this[t(396)][t(137)][t(142)](t(299))[t(399)]({model:t(384)}),this[t(396)][t(155)][t(254)].on(t(235),function(e){const i=t,s=e[i(390)][i(332)](i(361));return(t,n,r)=>{const o=i,a=n[o(248)][o(146)](":")[1],c=s[o(397)](a);if(!c)return null;const u=o(392)==c[o(174)]?o(146):o(436);if(!r[o(317)][o(302)](n[o(323)],t[o(383)]))return;const l=n[o(323)][o(211)](),h=n[o(323)][o(131)],d=e[o(357)][o(272)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(103)];p=p||d[o(173)](e);const i=r[o(236)][o(132)](e);if(i&&i[o(360)](o(400)))return;o(188)==t[o(174)]&&d[o(402)](e)&&!d[o(316)](e)&&(e[o(292)]||h[o(232)]?f&&f[o(245)]==e||(f=e,g(t[o(278)]),v=!0):m=m||t[o(278)])}function g(t){const e=o,i=r[e(154)][e(136)](e(422),{class:e(398)+u}),a=r[e(236)][e(175)](t);c[e(275)][e(414)]&&r[e(154)][e(130)](e(398)+u+e(382),i),s[e(409)]==c&&r[e(154)][e(130)](e(417),i),r[e(154)][e(179)](a,i),r[e(236)][e(287)](i,n[e(248)])}p||v||!m||g(m)}}(this[t(396)]),{priority:t(218)}),this[t(396)][t(155)][t(254)].on(t(300),((e,i,s)=>{const n=t,r=s[n(236)][n(413)](i[n(248)]);if(r)for(const t of r)(t[n(205)](n(410))||t[n(205)](n(102)))&&(s[n(236)][n(200)](t,i[n(248)]),s[n(154)][n(432)](t))}),{priority:t(218)}),this[t(396)][t(155)][t(254)].on(t(235),((e,i,s)=>{const n=t,r=i[n(248)][n(146)](":")[1],o=this[n(397)](r);if(!o)return null;const a=n(392)==o[n(174)]?n(146):n(436);if(s[n(317)][n(302)](i[n(323)],e[n(383)]))for(const t of i[n(323)][n(105)]()){if(!t.is(n(156),n(143)))continue;const e=s[n(154)][n(136)](n(422),{class:n(398)+a}),r=s[n(236)][n(175)](this[n(396)][n(357)][n(145)](t));o[n(275)][n(414)]&&s[n(154)][n(130)](n(398)+a+n(382),e),this[n(409)]==o&&s[n(154)][n(130)](n(417),e),s[n(154)][n(179)](r,e),s[n(236)][n(287)](e,i[n(248)])}}),{priority:t(218)}),this[t(396)][t(357)][t(163)].on(t(338),(()=>{const e=t;this[e(396)][e(155)][e(153)][e(338)]((t=>{const i=e;for(const e of this[i(396)][i(357)][i(163)][i(158)]()){const s=this[i(396)][i(357)][i(163)][i(328)](e),n=this[i(396)][i(155)][i(153)][i(163)][i(328)](e);if(n){const e=s[i(257)](i(181));if(t[i(171)](i(109),n),t[i(247)](i(186),n),t[i(247)](i(407),n),t[i(247)](i(273),n),e){const s=this[i(397)](e);if(!s)return null;t[i(308)](i(109),e,n),t[i(130)](i(199)+s[i(174)],n),this[i(409)]==s&&t[i(130)](i(273),n)}}}}))})),this[t(396)][t(137)][t(142)](t(406))[t(395)]({view:t(291),model:e=>t(196)+e,converterPriority:t(118)}),this[t(396)][t(137)][t(142)](t(406))[t(395)]({view:t(115),model:e=>t(327)+e,converterPriority:t(118)}),this[t(396)][t(137)][t(142)](t(299))[t(399)]({model:t(165),view:e=>({name:t(310)+e,group:t(165)}),converterPriority:t(118)}),this[t(396)][t(137)][t(142)](t(260))[t(340)]({model:t(165),view:e=>{const i=t,s=e[i(248)][i(146)](":")[1];return i(216)!=s&&i(350)!=s?null:{classes:[i(119),i(367)+s]}}}),this[t(396)][t(155)][t(254)].on(t(239),ee(this[t(396)],t(436)),{priority:t(218)}),this[t(396)][t(155)][t(254)].on(t(412),ee(this[t(396)],t(146)),{priority:t(218)}),this[t(396)][t(155)][t(254)].on(t(116),((e,i,s)=>{const n=t,r=s[n(236)][n(413)](i[n(248)]);if(r)for(const t of r)t.is(n(122))&&(s[n(236)][n(200)](t,i[n(248)]),s[n(154)][n(432)](t))}),{priority:t(218)})}[Gt(397)](t){const e=Gt;return this[e(346)][e(332)](t)}[Gt(139)](t){const e=Gt;return this[e(277)]&&this[e(277)][e(288)](),this[e(277)]=new Pt(this[e(396)][e(375)],t),this[e(277)]}[Gt(177)](){const t=Gt;this[t(396)][t(357)][t(163)][t(282)][t(140)](t(384)),this.on(t(164),((e,i,s,n)=>{const r=t;n&&this[r(304)][r(432)](n),s&&(this[r(304)][r(392)]({view:s,stackId:r(334),position:{target:()=>{const t=r,e=this[t(396)][t(155)],i=this[t(397)](s[t(121)]);let n;if(i[t(275)][t(201)]){const s=e[t(153)][t(231)](i[t(387)]);n=Array[t(168)](s[t(424)]())}else{const i=this[t(396)][t(357)][t(117)][t(332)](t(166)+s[t(121)]);n=Array[t(168)](e[t(236)][t(413)](i[t(383)]))[t(351)]((i=>e[t(153)][t(268)][t(324)](i)))[t(351)]((e=>Array[t(168)](e[t(424)]())))[t(253)]()}return this[t(373)]&&n[t(202)]((e=>e[t(438)]-3<=this[t(373)].y&&e[t(212)]+3>=this[t(373)].y&&e[t(238)]-3<=this[t(373)].x&&e[t(437)]+3>=this[t(373)].x))||n[0]}}}),this[r(304)][r(411)](r(334)))})),this.on(t(192),((e,i,s,n)=>{const r=t;this[r(214)]=s?this[r(139)](s):null,this[r(396)][r(357)][r(338)]((()=>{const t=r,e=this[t(396)][t(155)];n&&(n[t(275)][t(201)]?e[t(153)][t(338)]((i=>{const s=t;i[s(247)](s(273),e[s(153)][s(163)][s(328)](n[s(387)]))})):e[t(219)](t(166)+n.id)),s&&(s[t(275)][t(201)]?e[t(153)][t(338)]((i=>{const n=t;i[n(130)](n(273),e[n(153)][n(163)][n(328)](s[n(387)]))})):e[t(219)](t(166)+s.id))}))})),this[t(104)](this[t(396)][t(155)][t(153)][t(163)],t(180),((e,i)=>{const s=t;if(this[s(409)])return;const n=this[s(242)](i[s(335)]),r=this[s(346)][s(332)](n);r?(this[s(373)]={x:i[s(429)].x,y:i[s(429)].y},this[s(214)]=this[s(139)](r)):(this[s(373)]=null,this[s(214)]=null)})),this[t(104)](this[t(396)][t(155)][t(153)][t(163)],t(176),((e,i)=>{const s=t,n=this[s(242)](i[s(335)]),r=this[s(346)][s(332)](n);r?(this[s(373)]={x:i[s(429)].x,y:i[s(429)].y},r===this[s(409)]?this[s(304)][s(225)]():this[s(409)]=r):(this[s(373)]=null,this[s(409)]=null)}))}[Gt(242)](t){const e=Gt;do{const i=t[e(257)](e(109));if(i)return i;t=t[e(245)]}while(t);return null}[Gt(289)](){const t=Gt;this[t(396)][t(357)][t(338)]((e=>{const i=t;for(const t of this[i(396)][i(357)][i(117)])e[i(344)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(317)][r(302)](s[r(323)],i[r(383)]))return;const o=s[r(323)][r(211)](),a=s[r(323)][r(131)],c=t[r(357)][r(272)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(103)];h=h||c[r(173)](e);const i=n[r(236)][r(132)](e);if(i&&i[r(360)](r(400)))return;r(188)==t[r(174)]&&c[r(402)](e)&&!c[r(316)](e)&&(e[r(292)]||a[r(232)]?u&&u[r(245)]==e||(u=e,f(t[r(278)]),d=!0):l=l||t[r(278)])}function f(t){const i=r,o=n[i(236)][i(175)](t),a=n[i(154)][i(136)](i(422),{class:i(367)+e});n[i(154)][i(179)](o,a),n[i(236)][i(287)](a,s[i(248)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(390)][e(332)](te);this[e(305)]=!1,this[e(104)](i,e(194),(()=>this[e(170)]())),this[e(104)](i,e(259),(()=>this[e(170)]()))}[Gt(217)](){const t=Gt,e=this[t(396)],i=e[t(390)][t(332)](te),s=i[t(374)]?i[t(237)][t(138)]:null;e[t(246)][t(332)](t(195))[t(144)](s)}[Gt(170)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(396)][t(390)][t(332)](te),r=n&&s[t(266)](n[t(138)]);this[t(391)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(206)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(390)][i(332)](te);this[i(305)]=!1,this[i(206)]=i(352)===e?1:-1,this[i(104)](s,i(194),(()=>this[i(170)]())),this[i(104)](s,i(259),(()=>this[i(170)]())),this[i(104)](s,i(192),(()=>this[i(170)]()))}[Gt(217)](){const e=Gt,i=this[e(396)],s=i[e(390)][e(332)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(409)]=n?s[e(237)][e(365)][e(332)](r+this[e(206)]):s[e(237)][e(365)][e(431)],s[e(409)][e(275)][e(201)])o=i[e(155)][e(153)][e(231)](s[e(409)][e(387)]);else{const t=i[e(357)][e(117)][e(332)](e(166)+s[e(409)].id);o=(0,Z.getMarkerDomElement)(i[e(155)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(170)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(396)][t(390)][t(332)](te);this[t(391)]=!!(r&&n&&s)&&(!e||(1===this[t(206)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(){const t=["7XkYtNZ","NUMBER_OF_CHANGES","isNavigationMode","isBackwardNavigationEnabled","1388208UwRlzN","currentChangeNumber","div","6167470CcvsYM","isEnabled","Loading...","numberOfChanges","525570jULJcG","ck-hidden","fire","Total","forward","207737dsevDI","span","3532UOYXkR","setTemplate","411pXfXTV","932072VvJhga","EDIT_X_OF_Y_REVISIONS","isReady","ck-revision-history-ui","set","bindTemplate","ck-revision-history-ui__changes-navigation__navigation","X_OF_Y_CHANGES","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation__label","No changes","isForwardNavigationEnabled","_statusText","347454pBGacL","bind","execute","backward","Show next change","Show previous change","ck-revision-history-ui__changes-navigation","9SKLXUE"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=159]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(128451===parseInt(e(179))/1+parseInt(e(198))/2+parseInt(e(183))/3*(parseInt(e(181))/4)+-parseInt(e(174))/5+parseInt(e(167))/6+-parseInt(e(163))/7*(-parseInt(e(184))/8)+-parseInt(e(162))/9*(parseInt(e(170))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends ft.View{constructor(t){const e=ae;super(t);const i=this[e(189)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(188)](e(165),!1),this[e(188)](e(186),!1),this[e(188)](e(168),0),this[e(188)](e(173),0),this[e(188)](e(196),!1),this[e(188)](e(166),!1),this[e(199)](e(192)).to(this,e(186),this,e(173),((t,e)=>t&&e>0)),this[e(199)](e(197)).to(this,e(186),this,e(168),this,e(173),this,e(165),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(172));if(!n)return J(t,o(195));const a=J(t,o(164),n);return r?J(t,o(191),[s+1,n]):a})),s[e(188)]({label:J(t,e(160)),tooltip:!0,icon:dt.IconChevronUp}),n[e(188)]({label:J(t,e(159)),tooltip:!0,icon:dt.IconChevronDown}),s[e(199)](e(171)).to(this,e(166)),n[e(199)](e(171)).to(this,e(196)),s.on(e(200),(()=>this[e(176)](e(200),e(201)))),n.on(e(200),(()=>this[e(176)](e(200),e(178)))),this[e(182)]({tag:e(169),attributes:{class:["ck",e(187),e(161)]},children:[{tag:e(180),attributes:{class:[e(193)]},children:[{tag:e(180),attributes:{class:[e(194),i.if(e(192),e(175),(t=>!t))]},children:[{text:i.to(e(165),(i=>i?J(t,e(185))+": ":J(t,e(177))+": "))}]},{text:i.to(e(197))}]},new ft.ToolbarSeparatorView,{tag:e(169),attributes:{class:[e(190)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=de;function de(t,e){const i=fe();return(de=function(t,e){return i[t-=118]})(t,e)}function fe(){const t=["view","removeClass","isPremiumPlugin","change","12wNjowm","14377ZVLAJA","87VOYoKS","hide","show","isOfficialPlugin","ck-editor__editable__loading-overlay","3140ykJZYj","5733PgaqzS","212590VSYsuO","233889AQpcpm","editing","RevisionViewerLoadingOverlay","editor","18846490ScZIoc","roots","7432mlFguW","940TSIknu","95136gukqdw","addClass","108oMSOxK","9710yWXEUC","pluginName","document"];return(fe=function(){return t})()}!function(t){const e=de,i=t();for(;;)try{if(862483===-parseInt(e(120))/1+parseInt(e(128))/2*(parseInt(e(140))/3)+-parseInt(e(127))/4*(parseInt(e(145))/5)+parseInt(e(130))/6*(-parseInt(e(119))/7)+-parseInt(e(126))/8*(-parseInt(e(118))/9)+-parseInt(e(131))/10*(-parseInt(e(139))/11)+parseInt(e(138))/12*(-parseInt(e(124))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=he(144);class pe extends U.Plugin{static get[he(132)](){return he(122)}static get[he(143)](){return!0}static get[he(136)](){return!0}[he(142)](){const t=he,e=this[t(123)][t(121)][t(134)];e[t(137)]((i=>{const s=t;for(const t of e[s(133)][s(125)])i[s(129)](me,t)}))}[he(141)](){const t=he,e=this[t(123)][t(121)][t(134)];e[t(137)]((i=>{const s=t;for(const t of e[s(133)][s(125)])i[s(135)](me,t)}))}}const ve=ye;function ge(){const t=["pluginName","bind","isEnabled","27oZzVCC","isNavigationMode","currentChangeNumber","changesNavigation","commands","numberOfChanges","Back to editing","revisionHistory","ck-revision-history-ui__back-to-editing","add","isBackwardNavigationEnabled","2000448hlQlcJ","exitToEditing","init","3462030loAJyU","listenTo","forward","isOfficialPlugin","config","editor","show","componentFactory","6640NIjLsK","requires","2350338fFbldS","231KuCPhC","1014181AEjxjP","Restore this revision","isForwardNavigationEnabled","execute","isPremiumPlugin","restoreRevision","1144290dyFUdq","set","isReady","closeRevisionViewerCallback","showPreviousChange","RevisionViewerUI","34855peizia","572fyNvSx","get","395ihVutg","change:isReady","plugins","showNextChange","hide","72lPtMMz"];return(ge=function(){return t})()}function ye(t,e){const i=ge();return(ye=function(t,e){return i[t-=397]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(684716===parseInt(e(412))/1*(-parseInt(e(443))/2)+-parseInt(e(403))/3+parseInt(e(410))/4*(-parseInt(e(409))/5)+-parseInt(e(445))/6+-parseInt(e(397))/7*(-parseInt(e(417))/8)+parseInt(e(421))/9*(-parseInt(e(435))/10)+parseInt(e(446))/11*(parseInt(e(432))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ke extends U.Plugin{static get[ve(418)](){return ve(408)}static get[ve(438)](){return!0}static get[ve(401)](){return!0}static get[ve(444)](){return[te,pe]}[ve(434)](){const t=ve,e=this[t(440)],i=e[t(414)][t(411)](te),s=e[t(414)][t(411)](pe);e.ui[t(442)][t(430)](t(433),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(404)]({label:J(i,s(427)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(429)}),this[s(436)](n,s(400),(()=>{const t=s;e[t(439)][t(411)](t(428))[t(406)]()})),n})),e.ui[t(442)][t(430)](t(402),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(404)]({label:J(i,s(398)),withText:!0,tooltip:!0}),n[s(419)](s(420)).to(e[s(425)][s(411)](s(402))),this[s(436)](n,s(400),(()=>e[s(400)](s(402)))),n})),e.ui[t(442)][t(430)](t(424),(s=>{const n=t,r=new ce(s),o=e[n(425)][n(411)](n(407)),a=e[n(425)][n(411)](n(415));return r[n(419)](n(431)).to(o,n(420)),r[n(419)](n(399)).to(a,n(420)),r[n(419)](n(405),n(423),n(426),n(422)).to(i),this[n(436)](r,n(400),((t,i)=>{const s=n;e[s(400)](s(437)===i?s(415):s(407))})),r})),s[t(441)](),i.on(t(413),((e,i,n)=>{const r=t;n?s[r(416)]():s[r(441)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Se;function Ie(){const t=["45714nhuJmG","render","ck-revision-history-sidebar__revision-name","element","extendTemplate","39LqNGKc","22104rtFNMb","placeholder","Revision name","208945YkXozV","clientWidth","set","21OWlbhV","_resizeObserver","2070QVWKRs","9710QcwGbN","ck-tooltip_multi-line","value","bindTemplate","span","2111540tWiZQY","_updateTooltipText","destroy","15UbLHRG","listenTo","fieldView","Enter the revision name","110zJlQRj","scrollWidth","input","_tooltipString","313400StNPwb","4199100pZheRe","1197JeLSez"];return(Ie=function(){return t})()}function Se(t,e){const i=Ie();return(Se=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(833531===-parseInt(e(145))/1+-parseInt(e(151))/2*(-parseInt(e(148))/3)+parseInt(e(156))/4*(parseInt(e(125))/5)+-parseInt(e(136))/6*(parseInt(e(135))/7)+-parseInt(e(142))/8*(parseInt(e(150))/9)+-parseInt(e(133))/10*(-parseInt(e(129))/11)+parseInt(e(134))/12*(parseInt(e(141))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Oe extends ft.LabeledFieldView{[_e(149)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(154)];this[i(147)]({label:J(t,i(144)),_tooltipString:""}),this[i(127)][i(143)]=J(t,i(128)),this[i(140)]({tag:i(155),attributes:{class:[i(138)],"data-cke-tooltip-text":s.to(i(132)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(152)}})}[_e(137)](){const e=_e;super[e(137)](),this[e(149)]=new t.ResizeObserver(this[e(127)][e(139)],(()=>this[e(157)]())),this[e(126)](this[e(127)],e(131),(()=>this[e(157)]()))}[_e(158)](){const t=_e;super[t(158)](),this[t(149)]&&this[t(149)][t(158)]()}[_e(157)](){const t=_e,e=this[t(127)][t(139)];this[t(132)]=e[t(130)]>e[t(146)]&&e[t(153)]||""}}var Te=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=wt(),xe.insert=kt().bind(null,"head"),xe.domAPI=gt(),xe.insertStyleElement=It();pt()(Te.A,xe);Te.A&&Te.A.locals&&Te.A.locals;function Ne(){const t=["12dEmILf","Revision creator","name","8625166dIKamo","18yztWzU","6130465dgjheX","6eKajBd","span","2351678cMnjwu","push","2993720cBusTw","Revision author","3044xMBQfB","ck-revision-history-sidebar__revision-author__name","4590jmPGLG","setTemplate","ck-revision-history-sidebar__revision-author","46352TKVSlF","2016MfbnmX","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","set","368882HnYahn"];return(Ne=function(){return t})()}function Re(t,e){const i=Ne();return(Re=function(t,e){return i[t-=190]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(883622===parseInt(e(194))/1+parseInt(e(203))/2+parseInt(e(209))/3*(parseInt(e(207))/4)+parseInt(e(200))/5*(parseInt(e(201))/6)+parseInt(e(190))/7*(-parseInt(e(212))/8)+-parseInt(e(199))/9*(parseInt(e(205))/10)+parseInt(e(198))/11*(-parseInt(e(195))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class Ae extends ft.View{constructor(t,e,i){const s=Re;super(t);const n=new ft.IconView;n[s(193)]({content:dt.IconUser,viewBox:s(191)});const r=["ck",s(211)];i&&r[s(204)](s(192));const o=[{tag:s(202),attributes:{class:["ck",s(208)],title:J(t,s(i?196:206))},children:[n,e[s(197)]]}];this[s(210)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=360]})(t,e)}function Ee(){var t=["110uRgFKu","36044eCczsn","321bWBtFa","5606CeWzrU","toLocaleTimeString","70FmOoAQ","352174aWFHJN","60DiEVgk","numeric","toLocaleDateString","1429182xEvDNd","22MlumFD","long","359728Sheuof","4348308LzGwcZ","43407aGnlzn"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(229007===-parseInt(e(369))/1+-parseInt(e(366))/2*(parseInt(e(365))/3)+-parseInt(e(364))/4*(parseInt(e(370))/5)+-parseInt(e(373))/6+parseInt(e(368))/7*(parseInt(e(360))/8)+-parseInt(e(362))/9*(-parseInt(e(363))/10)+parseInt(e(374))/11*(parseInt(e(361))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Me=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Me.A,De);Me.A&&Me.A.locals&&Me.A.locals;function Ce(){const t=["5avXwRX","children","listenTo","185144iXofst","class","name","_action","isReady","locale","Restore this revision","first","isVisible","ck-on","16130100okEodJ","1436001DZrghn","button","source","6547884PePSwK","isEnabled","1125812wplyPI","action","isActionsDropdownOpen","buttonView","279CxsfjT","316UZsMTU","extendTemplate","48183oYwrve","panelPosition","function","execute","items","set","Show more items","177133zExVIE","change:isActionsDropdownOpen","bind","listView","isOpen","model","find","ck-revision-history-sidebar__revision__actions","menu","Name this revision","menuitem","Compare against selected","stopPropagation","add","map","bindTemplate"];return(Ce=function(){return t})()}function Fe(t,e){const i=Ce();return(Fe=function(t,e){return i[t-=379]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(873640===parseInt(e(400))/1+-parseInt(e(386))/2+-parseInt(e(393))/3*(-parseInt(e(391))/4)+parseInt(e(416))/5*(parseInt(e(384))/6)+-parseInt(e(381))/7+parseInt(e(419))/8*(parseInt(e(390))/9)+-parseInt(e(380))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ce);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=wt(),Le.insert=kt().bind(null,"head"),Le.domAPI=gt(),Le.insertStyleElement=It();pt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const Pe=ze;function ze(t,e){const i=We();return(ze=function(t,e){return i[t-=440]})(t,e)}function We(){const t=["ck-reset","712239RoGcMv","ck-revision-history-sidebar__revision-authors","isSelected","uiLanguage","authors","element","setName","revisionActionsView","ck-revision-history-sidebar__revision-wrapper","4384794WvlKnk","length","closest","map","change","fire","setTemplate","4aiSjhe","listenTo","deselect","from","220","ck-revision-history-sidebar__actions_dropdown_open","5000935rIvYnQ","ck-disabled","ck-revision-history-sidebar__revision","unhighlight","name","highlight","4853794UnCSpC","div","fieldView","bind","isConfirm","filter","_createdAtFormatted","extendTemplate","_requireRevisionName","span","_revision",".ck-thread__remove-confirm","isActionsDropdownOpen","set","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision_selected","10870569fKVbgF","7jJogeu","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","createdAt","select","value","isReady","7941512cuSbZR","10zXCKBr","778JBJexl","1426HSJTfU","render","creator","srcElement","bindTemplate","ck-revision-history-sidebar__revision__date","revisionNameView","unshift","ck-revision-history-sidebar__revision__controls-wrapper","isEnabled","isHighlighted"];return(We=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(712757===-parseInt(e(456))/1*(parseInt(e(455))/2)+-parseInt(e(468))/3+-parseInt(e(484))/4*(-parseInt(e(490))/5)+parseInt(e(477))/6*(parseInt(e(447))/7)+-parseInt(e(453))/8+parseInt(e(446))/9+-parseInt(e(454))/10*(parseInt(e(496))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ue extends((0,Z.ConfirmMixin)(ft.View)){id;[Pe(462)];[Pe(475)];[Pe(440)];[Pe(504)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(460)],a=function(t,e){const i=r,s=Array[i(487)](e[i(472)])[i(501)]((t=>t!=e[i(458)]));return e[i(458)]&&s[i(463)](e[i(458)]),s[i(480)]((s=>new Ae(t,s,s==e[i(458)])))}(e,i);this.id=i.id,this[r(440)]=i,this[r(504)]=n,this[r(499)](r(494),r(449)).to(i),this[r(499)](r(502)).to(this,r(449),(t=>{return i=e[r(471)],(s=t)[(n=Ve)(372)](i,{month:n(375),day:n(371)})+", "+s[n(367)](i,{hour:n(371),minute:n(371)});var i,s,n})),this[r(443)](r(470),!1),this[r(443)](r(466),!1),this[r(443)](r(442),!1),this[r(443)](r(452),!1),this[r(443)](r(465),!1),this[r(462)]=new Oe(e,ft.createLabeledInputText),this[r(462)][r(498)][r(503)]({attributes:{maxlength:r(488)}}),this[r(462)][r(498)][r(499)](r(451)).to(this,r(494),(t=>t||this[r(502)])),this[r(462)][r(499)](r(465)).to(this,r(470),this,r(465),((t,e)=>t&&e)),this[r(475)]=s&&s[r(478)]?function(e,i){const s=Fe,n=e[s(415)],r=e[s(424)],o=(0,ft.createDropdown)(r);o[s(394)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(424)],n={"Compare against selected":J(s,i(411)),"Name this revision":J(s,i(409)),"Restore this revision":J(s,i(425))};return e[i(414)]((t=>{const e=i,s=n[t[e(421)]];return s&&s!==t[e(421)]&&(t[e(421)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(382),model:new ft.ViewModel({label:t[n(421)],class:t[n(420)],withText:!0,role:n(410),_action:t[n(387)]})};i[n(405)][n(402)](n(385)).to(e,n(388),(i=>n(395)!=typeof t[n(385)]||!i||t[n(385)](e))),o[n(413)](i)}return o}(e,i);return e[s(402)](s(388)).to(o,s(404)),o[s(389)][s(398)]({label:J(r,s(399)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(392)]({attributes:{class:[s(407),n.if(s(388),s(379))]},on:{click:n.to((t=>t[s(412)]()))}}),o.on(s(396),(t=>{const i=s;e[i(423)]&&i(395)==typeof t[i(383)][i(422)]&&t[i(383)][i(422)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(408)}),o[s(418)](e,s(401),((t,n,r)=>{const a=s;if(r)for(const t of o[a(403)][a(397)]){const s=t[a(417)][a(426)],n=i[a(406)]((t=>t[a(387)]===s[a(422)]))[a(427)];t[a(427)]=void 0===n||n(e)}})),o}(this,s):"",this[r(475)]&&this[r(475)][r(499)](r(465)).to(this),this[r(483)]({tag:r(497),attributes:{class:["ck",r(467),r(476),o.if(r(500),r(448))]},children:[{tag:r(497),attributes:{class:["ck",r(467),r(492),o.if(r(465),r(491),(t=>!t)),o.if(r(470),r(445)),o.if(r(466),r(444)),o.if(r(442),r(489))]},children:[this[r(462)],{tag:r(505),attributes:{class:["ck",r(461)]},children:[{text:o.to(r(502))}]},{tag:r(497),attributes:{class:["ck",r(464)]},children:[{tag:"ul",attributes:{class:["ck",r(469)]},children:a}]},this[r(475)]],on:{click:o.to((t=>{const e=r;t[e(459)][e(479)](e(441))||this[e(452)]&&this[e(465)]&&this[e(482)](e(450),{id:this.id})}))}}]})}[Pe(457)](){const t=Pe;super[t(457)]();const e=this[t(462)][t(498)][t(473)];this[t(485)](e,t(481),(()=>{const i=t;this[i(504)]&&!e[i(451)]||this[i(482)](i(474),{id:this.id,name:e[i(451)]}),e[i(451)]||(e[i(451)]=this[i(494)]?this[i(494)]:this[i(502)])}))}[Pe(450)](){this[Pe(470)]=!0}[Pe(486)](){this[Pe(470)]=!1}[Pe(495)](){this[Pe(466)]=!0}[Pe(493)](){this[Pe(466)]=!1}}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Ye extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Ge extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Xe="short",Qe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Xe,day:Ke},ii={year:Ke,month:Xe,day:Ke,weekday:Xe},si={year:Ke,month:Qe,day:Ke},ni={year:Ke,month:Qe,day:Ke,weekday:Qe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke},yi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Xe},ki={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},bi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,timeZoneName:Qe},wi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ni extends _i{static create(t){return xi[t]||(xi[t]=new Ni(t)),xi[t]}static resetCache(){xi={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ti[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ls({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Ai={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.DateTimeFormat(t,e),Ai[i]=s),s}let Ei={};let Mi={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return As(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ni.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Di=null,Ai={},Ei={},Mi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Zi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Hi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${$i[i]}${e}`)),Ji[i][e]}let Ki,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return qi(Qi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Wi.resetCache(),Ni.resetCache(),eo.resetCache(),Ji={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function ks(t){const e=Is(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function xs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Is(t)&&t>=e&&t<=i}function As(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ls(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${As(i,2)}:${As(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${As(i,2)}${As(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return As(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Vs(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Ms(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function xn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function An(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ln(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,Tn,xn),qn=fn(bn,On,Tn,xn),$n=fn(wn,On,Tn,xn),Bn=fn(On,Tn,xn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,Tn,xn);const Xn="Invalid Duration",Qn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},tr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Qn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Qn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[Rn,An])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=nr.map((e=>{const i=this.values[e];return ws(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Ds(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return eo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(xs(e.values,t)||xs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:hr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return hr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search($i.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(xs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ws(t.u)||(t.S=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(i,"H"))throw new Be("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function xr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Ar=864e13;function Vr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Cr(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ls(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=As(t.c.year,i?6:4),e?(s+="-",s+=As(t.c.month),s+="-",s+=As(t.c.day)):(s+=As(t.c.month),s+=As(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=As(t.c.hour);return e?(o+=":",o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=As(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=As(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=As(Math.trunc(-t.o/60)),o+=":",o+=As(Math.trunc(-t.o%60))):(o+="+",o+=As(Math.trunc(t.o/60)),o+=":",o+=As(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Gr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Vr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $r)ws(t[e])&&(t[e]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Qr&&(Qr=rs.now()),to[t]=t.offset(Qr)),to[t]}(i);[n,r]=jr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Vr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Vr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Ar||t>Ar?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Vr(i));const s=Wi.fromObject(e),n=qs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=$r,v=Zr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=Rs(t.weekNumber,1,zs(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=Rs(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=jr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Hn],[Wn,qn],[Un,$n],[Zn,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Ln],[Fn,Ln],[jn,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=xr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Jn,Hn],[Gn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Qr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=qs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(){const t=["setLocale","monthLong","month","1361586UtnHlJ","minus","7495vzSGKV","hasSame","70821dUnvXb","1010PwRuKN","weekdayLong","948lPKmtT","toJSDate","1256672MyXjWW","day","459736VWrkaA","year","toRelativeCalendar","128126BVdjbY","startOf","7sEqJud","fromJSDate","local","week","1357950OpSoZM"];return(so=function(){return t})()}function no(t,e){const i=so();return(no=function(t,e){return i[t-=259]})(t,e)}function ro(t,e){const i=no,s=eo[i(263)](t)[i(267)](e),n=eo[i(264)](),r=n[i(271)]({days:1})[i(261)](i(280));let o,a;return s[i(273)](n,i(280))?(o=s[i(261)](i(280))[i(278)](),a=s[i(259)]()):s[i(273)](r,i(280))?(o=r[i(278)](),a=s[i(259)]()):s[i(273)](n,i(265))?(o=s[i(261)](i(265))[i(278)](),a=s[i(276)]||""):s[i(273)](n,i(282))?(o=s[i(261)](i(269))[i(278)](),a=s[i(268)]||""):(o=s[i(261)](i(282))[i(278)](),a=String(s[i(282)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(382896===-parseInt(e(260))/1+parseInt(e(266))/2+-parseInt(e(270))/3+-parseInt(e(281))/4+parseInt(e(272))/5*(-parseInt(e(277))/6)+-parseInt(e(262))/7*(parseInt(e(279))/8)+-parseInt(e(274))/9*(-parseInt(e(275))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(so);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=uo;function uo(t,e){const i=ho();return(uo=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=uo,i=t();for(;;)try{if(204782===-parseInt(e(142))/1+-parseInt(e(150))/2+parseInt(e(135))/3*(parseInt(e(124))/4)+parseInt(e(139))/5*(-parseInt(e(148))/6)+parseInt(e(128))/7+parseInt(e(122))/8*(parseInt(e(146))/9)+-parseInt(e(149))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class lo extends ft.View{[co(134)];[co(138)];[co(140)];[co(141)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(129)][n(130)])[n(133)];this[n(134)]=e,this[n(138)]=this[n(136)](),this[n(140)]=i,this[n(141)]=s,this[n(138)][n(145)](n(131)).to(this),this[n(138)][n(145)](n(143)).to(this),this[n(147)]({tag:n(126),attributes:{class:["ck",n(132)]},children:[{tag:n(137),attributes:{class:["ck",n(144)]},children:[{text:r}]},{tag:n(126),attributes:{class:["ck",n(152)]},children:this[n(138)]}]})}[co(151)](t){const e=co,i=new Ue(this[e(129)],t,this[e(140)],this[e(141)]);this[e(138)][e(123)](i)}[co(125)](t){const e=co,i=this[e(138)][e(127)]((e=>e.id===t.id));this[e(138)][e(153)](i)}}function ho(){const t=["setName","ck-revision-history-sidebar__time-period__label","delegate","9CPfjqG","setTemplate","42PbpBlP","4010740GPfqUd","142408BcoPqy","addRevision","ck-revision-history-sidebar__time-period__revisions","remove","1343496fiOfpI","add","14692lTQbqb","removeRevision","div","find","2821308kYZciS","locale","uiLanguage","select","ck-revision-history-sidebar__time-period","localizedPeriodName","startDate","201AfREZk","createCollection","span","revisionViews","42415cnkhkt","_revisionActions","_requireRevisionName","80631kYZkVv"];return(ho=function(){return t})()}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(t,e){const i=vo();return(po=function(t,e){return i[t-=420]})(t,e)}function vo(){const t=["111764yvuvlq","5DakFAt","536808TDKVRr","setTemplate","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","span","ck-reset_all","596222gYerEv","7PTnlQT","Revision history","956751EIOsKH","6707547phAZYh","div","content","57745riZKrj","3391176kcEybN"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(284154===-parseInt(e(422))/1+parseInt(e(432))/2+parseInt(e(435))/3+-parseInt(e(424))/4*(parseInt(e(425))/5)+parseInt(e(423))/6+-parseInt(e(433))/7*(parseInt(e(426))/8)+-parseInt(e(436))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class go extends ft.View{constructor(t){const e=po;super(t);const i=new ft.IconView;i[e(421)]=dt.IconHistory,this[e(427)]({tag:e(420),attributes:{class:["ck",e(431),e(428)]},children:[i,{tag:e(430),attributes:{class:["ck",e(429)]},children:[J(t,e(434))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["revisionViews","flat","timePeriodViews","_addRevision","map","find","_getTimePeriodViewByStartDate","highlight","28514637lNCvwy","highlightRevisions","320872ZmMTAc","4425366xWfJfu","_revisionActions","fire","revisionSelected","ck-rounded-corners","1424850QSpyOb","unhighlight","addRevision","ck-revision-history-sidebar__timeline","setTemplate","setName","selectRevision","select","84MrHKCr","revisionSetName","ck-revision-history-sidebar","29661AdXqzY","uiLanguage","render","add","_removeRevision","div","delegate","locale","364MjkxWg","startDate","_revisions","bindTemplate","ck-reset","deselect","get","2000430LaNEFg","createdAt","926641NEhIAj","createCollection","set","isEnabled","removeRevision","_requireRevisionName","getTime","remove","ck-disabled","some"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=292]})(t,e)}const _o=wo;!function(t){const e=wo,i=t();for(;;)try{if(773343===-parseInt(e(339))/1+-parseInt(e(311))/2+parseInt(e(322))/3*(-parseInt(e(330))/4)+parseInt(e(337))/5+-parseInt(e(306))/6+parseInt(e(319))/7*(parseInt(e(305))/8)+parseInt(e(303))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends ft.View{[_o(297)];[_o(332)];[_o(307)];[_o(344)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(333)];this[n(297)]=this[n(340)](),this[n(297)][n(328)](n(318)).to(this),this[n(297)][n(328)](n(316)).to(this),this[n(332)]=e,this[n(307)]=i,this[n(344)]=s,this.on(n(318),((t,e)=>{const i=n;this[i(308)](i(309),e)})),this.on(n(316),((t,e)=>{const i=n;this[i(308)](i(320),e)})),this[n(341)](n(342),!1),this[n(315)]({tag:n(327),attributes:{class:["ck",n(334),n(310),n(321)]},children:[new go(t),{tag:n(327),attributes:{class:["ck",n(314),r.if(n(342),n(293),(t=>!t))]},children:this[n(297)]}]})}[_o(324)](){const t=_o;super[t(324)]();for(const e of this[t(332)])this[t(298)](e);this[t(332)].on(t(325),((e,i)=>{this[t(298)](i)})),this[t(332)].on(t(292),((e,i)=>{this[t(326)](i)}))}get[_o(295)](){const t=_o;return this[t(297)][t(299)]((e=>e[t(295)][t(299)]((t=>t))))[t(296)]()}[_o(317)](t){const e=_o;for(const i of this[e(295)])t&&t.id===i.id?i[e(318)]():i[e(335)]()}[_o(304)](t){const e=_o;for(const i of this[e(295)])t[e(294)]((({id:t})=>t===i.id))?i[e(302)]():i[e(312)]()}[_o(298)](t){const e=_o,i=ro(t[e(338)],this[e(329)][e(323)])[e(331)];let s=this[e(297)][e(336)](0);s&&s[e(331)][e(345)]()===i[e(345)]()||(s=new lo(this[e(329)],i,this[e(307)],this[e(344)]),this[e(297)][e(325)](s)),s[e(313)](t)}[_o(326)](t){const e=_o,i=ro(t[e(338)],this[e(329)][e(323)])[e(331)];this[e(301)](i)[e(343)](t)}[_o(301)](t){const e=_o;return this[e(297)][e(300)]((i=>i[e(331)][e(345)]()===t[e(345)]()))}}const So=To;function Oo(){const t=["revisionHistory","isVisible","assign","_createRevisionActions","selectRevision","newRevisionId","_handleRevisionSelected","fieldView","isEnabled","getEarlierVisibleRevision","_handleEditorDataReady","revisionHistory.revisionActions","focus","change:diff","Compare against selected","availableRevisionActions","appendChild","getLaterVisibleRevision","compare","_revisionsRepository","revisionHistory.requireRevisionName","repository","revisionSelected","get","pluginName","render","highlightRevisions","2568495VcNhZA","plugins","data","timePeriodViews","585858qpFGTK","isSelected","compareAgainstSelected","23844163NllaXI","defaultRevisionActions","action","1405632reOFIm","remove","_handleDiffChange","length","element","getRevisionsInDiff","getIndex","ready","nameRevision","add","listenTo","diff","revisionSetName","editor","bind","requires","revisionHistory.viewerSidebarContainer","583002tTDwHj","string","8UuRmYe","name","Restore this revision","9355940DROnME","config","init","destroy","restoreRevision","_revisionViewer","isOfficialPlugin","revisionViews","_sidebarView","setName","8165274WQtQOq","locale","_revisions","map","RevisionsSidebar","Name this revision","isPremiumPlugin","isReady","_handleRevisionSetName","getRevision","restoreRevisionCallback","select"];return(Oo=function(){return t})()}function To(t,e){const i=Oo();return(To=function(t,e){return i[t-=304]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(973356===parseInt(e(339))/1+-parseInt(e(362))/2+parseInt(e(335))/3+-parseInt(e(345))/4+-parseInt(e(367))/5+-parseInt(e(377))/6+-parseInt(e(342))/7*(-parseInt(e(364))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class xo extends U.Plugin{[So(372)];[So(327)];[So(375)];static[So(343)]=[So(341),So(371),So(353)];static[So(323)]=function(){const t=So;return{compareAgainstSelected:{name:t(322),action:({plugins:e},i)=>{const s=t,n=e[s(331)](te),r=n[s(329)];let o=n[s(356)][s(313)],a=i.id;r[s(351)](o)>r[s(351)](a)&&([o,a]=[a,o]),n[s(326)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(331)](te);return!(n[s(329)][s(350)](n[s(356)])[s(348)]>2||i[s(340)])}},restoreRevision:{name:t(366),action:(e,{id:i})=>{const s=t;e[s(368)][s(331)](s(308))[s(306)](i)},isVisible:({plugins:e},i)=>!!e[t(331)](te)[t(329)][t(325)](i.id)},nameRevision:{name:t(382),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(331)](te),o=r[n(329)][n(317)](i);r[n(326)](i,o),s[n(320)](),s[n(315)][n(307)]()}}}}();static get[So(332)](){return So(381)}static get[So(373)](){return!0}static get[So(383)](){return!0}static get[So(360)](){return[te]}constructor(t){const e=So;super(t),this[e(372)]=t[e(336)][e(331)](te),this[e(327)]=this[e(372)][e(329)],this[e(375)]=null}[So(369)](){const t=So,e=this[t(327)][t(379)],i=this[t(311)](),s=this[t(358)][t(368)][t(331)](t(361));this[t(375)]=new Io(this[t(358)][t(378)],e,i,this[t(358)][t(368)][t(331)](t(328))),this[t(375)].on(t(330),this[t(314)][t(359)](this)),this[t(375)].on(t(357),this[t(304)][t(359)](this)),this[t(375)][t(359)](t(316)).to(this[t(372)]),this[t(375)][t(338)].on(t(354),((e,i)=>{const s=t;i[s(374)].on(s(354),((t,e)=>{const i=s;e[i(359)](i(316),i(384)).to(this[i(372)])}))})),this[t(375)][t(333)](),this[t(355)](this[t(358)][t(337)],t(352),this[t(318)][t(359)](this)),this[t(355)](this[t(372)],t(321),this[t(347)][t(359)](this)),s[t(324)](this[t(375)][t(349)])}[So(370)](){const t=So;this[t(375)][t(349)][t(346)](),this[t(375)][t(370)]()}[So(318)](){const t=So,e=this[t(327)][t(305)](0);if(e){const i=this[t(327)][t(317)](e.id);this[t(372)][t(326)](e,i)}}[So(314)](t,e){const i=So,s=this[i(327)][i(305)](e.id),n=this[i(327)][i(317)](s.id);this[i(372)][i(326)](s,n)}[So(304)](t,e){const i=So;this[i(327)][i(305)](e.id)[i(376)](e[i(365)])}[So(347)](t,e,i){const s=So,n=this[s(327)][s(350)](i);n[s(348)]>2?(this[s(375)][s(334)](n),this[s(375)][s(312)](null)):(this[s(375)][s(334)]([]),this[s(375)][s(312)](n[0]))}[So(311)](){const t=So,e=this[t(358)],i=xo[t(323)],s=e[t(368)][t(331)](t(319))||xo[t(343)];if(s[t(348)])return s[t(380)]((s=>{const n=t,r=n(363)==typeof s?Object[n(310)]({},i[s]):s;return r[n(344)]=r[n(344)][n(359)](this,e),r[n(309)]&&(r[n(309)]=r[n(309)][n(359)](this,e)),r}))}}const No=xo;function Ro(){const t=["replace","init","limiterElement","document","1773qovfID","2093540dOjieL","2848672mQQYzj","_elementReplacer","1234907jFXDAl","get","editor","94280QrUgOi","stickyPanel","element","setEditableElement","toolbar","name","componentFactory","restore","render","_initToolbar","destroy","5463756tWLKnC","_view","isFocused","fire","_toolbarConfig","672LRlPcr","5MBBKNx","isActive","viewportTopOffset","119728Yitcnx","detachDomRoot","viewportOffset","9756978qDKvuF","getRoot","editing","bind","view","ready","editable","attachDomRoot","focusTracker","config","fillFromConfig","rootName","addToolbar"];return(Ro=function(){return t})()}const Ao=Vo;function Vo(t,e){const i=Ro();return(Vo=function(t,e){return i[t-=359]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(949625===parseInt(e(398))/1+-parseInt(e(396))/2+parseInt(e(365))/3+parseInt(e(395))/4*(parseInt(e(371))/5)+-parseInt(e(377))/6+parseInt(e(374))/7*(-parseInt(e(370))/8)+-parseInt(e(394))/9*(-parseInt(e(401))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Eo extends ft.EditorUI{[Ao(366)];[Ao(369)];[Ao(397)];get[Ao(381)](){return this[Ao(366)]}constructor(e,i){const s=Ao;super(e),this[s(366)]=i,this[s(369)]=(0,ft.normalizeToolbarConfig)(e[s(386)][s(399)](s(405))),this[s(397)]=new t.ElementReplacer}get[Ao(403)](){const t=Ao;return this[t(381)][t(403)]}[Ao(391)](t){const e=Ao,i=this[e(400)],s=this[e(381)],n=i[e(379)][e(381)],r=s[e(383)],o=n[e(393)][e(378)]();r[e(359)]=o[e(388)],s[e(362)]();const a=r[e(403)];this[e(404)](r[e(359)],a),s[e(383)][e(380)](e(367)).to(this[e(385)]),n[e(384)](a),this[e(397)][e(390)](t,this[e(403)]),this[e(363)](),this[e(368)](e(382))}[Ao(364)](){const t=Ao;super[t(364)]();const e=this[t(381)],i=this[t(400)][t(379)][t(381)];this[t(397)][t(361)](),i[t(375)](e[t(383)][t(359)]),e[t(364)]()}[Ao(363)](){const t=Ao,e=this[t(381)];e[t(402)][t(380)](t(372)).to(this[t(385)],t(367)),e[t(402)][t(392)]=e[t(403)],e[t(402)][t(380)](t(373)).to(this,t(376),(({top:t})=>t)),e[t(405)][t(387)](this[t(369)],this[t(360)]),this[t(389)](e[t(405)])}}var Mo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Mo.A,Do);Mo.A&&Mo.A.locals&&Mo.A.locals;function Co(){var t=["6svDzQz","add","_editable","toolbar","16709210xLTPRM","main","top","1617806rzzUzY","2486013TYYsdQ","shouldToolbarGroupWhenFull","2048151LsLtHQ","16HbtcXR","1012470hkAEvi","1669384CPPxPg","4257216sJbJJL","stickyPanel","editable","render","content","1utHquI"];return(Co=function(){return t})()}var Fo=jo;function jo(t,e){var i=Co();return(jo=function(t,e){return i[t-=189]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(452073===parseInt(e(208))/1*(parseInt(e(196))/2)+-parseInt(e(197))/3+-parseInt(e(200))/4*(parseInt(e(201))/5)+parseInt(e(189))/6*(parseInt(e(199))/7)+-parseInt(e(202))/8+-parseInt(e(203))/9+parseInt(e(193))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class Lo extends ft.BoxedEditorUIView{[Fo(191)];[Fo(204)];[Fo(192)];get[Fo(205)](){return this[Fo(191)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(204)]=new ft.StickyPanelView(t),this[s(192)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(198)]}),this[s(191)]=new ft.InlineEditableUIView(t,e)}[Fo(206)](){var t=Fo;super[t(206)](),this[t(204)][t(207)][t(190)](this[t(192)]),this[t(195)][t(190)](this[t(204)]),this[t(194)][t(190)](this[t(205)])}}const Po=Wo;function zo(){const t=["get","654280uLQfkD","912215tBgRXh","initialData","create","7IWfrzm","1471794cfzgpq","4416350TyXimi","config","data","editing","112712sebjTH","fire","createRoot","document","destroy","locale","9LQfrrP","view","model","initPlugins","570eeONMm","_ui","updateSourceElement","277yOLYWz","763035VxeJMv","init","sourceElement","ready"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=459]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(169916===parseInt(e(469))/1*(parseInt(e(466))/2)+parseInt(e(470))/3+-parseInt(e(475))/4+parseInt(e(476))/5+parseInt(e(480))/6+-parseInt(e(479))/7*(-parseInt(e(485))/8)+parseInt(e(462))/9*(-parseInt(e(481))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[Po(467)];get ui(){return this[Po(467)]}constructor(t,e){const i=Po;super(e),this[i(472)]=t,this[i(464)][i(459)][i(487)]();const s=new Lo(this[i(461)],this[i(484)][i(463)],{shouldToolbarGroupWhenFull:!0});this[i(467)]=new Eo(this,s)}[Po(460)](){const t=Po;return this[t(468)](),this.ui[t(460)](),super[t(460)]()}static async[Po(478)](t,e){const i=Po,s=new this(t,e);return await s[i(465)](),await s.ui[i(471)](t),await s[i(483)][i(471)](s[i(482)][i(474)](i(477))||""),s[i(486)](i(473)),s}}function Zo(){const t=["closeRevisionViewerCallback","document","Autosave","refreshPositioning","2286KCTZYy","keys","getMarkersGroup","rootName","$graveyard","users","then","3OPJKBK","isEnabled","12CNqfbr","RevisionHistory","createdAt","toLocaleDateString","plugins","saveRevision","init","Users","isReady","toLocaleTimeString","define","catch","locale","_restoreRevision","creator","change","end","selection","repository","requires","config","PaginationLookup","_viewerEditor","join","adapter","revisionHistory","getRevisionRootsAttributes","numeric","addRevisionData","RevisionViewerIntegration","display","markers","destroy","setAttribute","Restored","getRoot","remove","isReadOnly","includes","refreshVisibility","none","name","commands","fromVersion","_recalculatePageBreaks","error","insert","RevisionHistoryUI","map","RestrictedEditingMode","removeAttribute","_showRevisionViewer","_update","lazyRoots","isOpen","model","revision-history-viewer-opened","revisionHistory.viewerContainer","has","Annotations","isAttached","toVersion","isAnonymous","get","toJSON","style","indexOf","51592OWBpDa","bind","editor","parse","save","revisionHistory.requireRevisionName","detachRoot","uiLanguage","createRangeIn","getUser","roots","getRevision","addRoot","1056WoIblO","revisionHistory.viewerEditorElement","block","removeMarker","toolbar","result","long","push","revisionHistory.restoreRevisionCallback","630530kKWGfx","revisionHistory.editorContainer","changesNavigation","_cleanUp","create","201212psboCn","pluginName","Dialog","restrictedEditingException","revisionHistory.showRevisionViewerCallback","exitToEditing","_closeRevisionViewer","update","revision-history-missing-configuration","RevisionViewer","translations","from","_getRevisionViewerEditorConfig","isOfficialPlugin","revisionHistory.closeRevisionViewerCallback","disableReadOnlyMode","getRevisionData","_enhanceShowRevisionViewerCallback","657251qLoEkF","enqueueChange","5833176EFdavw","5446995RGGlfG","hide","isPremiumPlugin","2TmLJDP","data","getRevisions","addUser","restoreRevision","set","fromCharCode","getAttributeKeys","RevisionsRepository","_enhanceCloseRevisionViewerCallback","showRevisionViewerCallback","RevisionTracker","1101206JXIYho","setSelection","removeSelectionAttribute","enableReadOnlyMode"];return(Zo=function(){return t})()}const Ho=qo;function qo(t,e){const i=Zo();return(qo=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(954800===-parseInt(e(255))/1*(-parseInt(e(267))/2)+-parseInt(e(282))/3*(parseInt(e(251))/4)+parseInt(e(252))/5+parseInt(e(284))/6*(parseInt(e(249))/7)+parseInt(e(204))/8*(-parseInt(e(275))/9)+parseInt(e(226))/10+parseInt(e(231))/11*(parseInt(e(217))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zo);const $o=[Ho(331),Ho(333)];class Bo extends U.Plugin{[Ho(222)];static get[Ho(232)](){return Ho(313)}static get[Ho(244)](){return!0}static get[Ho(254)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(332)]((t=>String[e(261)](t)))[e(307)]("")}super(t),this[e(222)]=e(300),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends U.Plugin{[Ho(306)];static get[Ho(232)](){return Ho(285)}static get[Ho(244)](){return!0}static get[Ho(254)](){return!0}static get[Ho(303)](){return[st,Dt]}constructor(e){const i=Ho;if(super(e),!this[i(206)][i(304)][i(200)](i(309)))throw new t.CKEditorError(i(239),this);this[i(306)]=null,this[i(206)][i(304)][i(294)](i(235),(t=>this[i(335)]({...t,translations:this[i(206)][i(296)][i(241)]}))),this[i(206)][i(304)][i(294)](i(245),(t=>this[i(237)](t))),this[i(206)][i(304)][i(294)](i(225),(t=>this[i(297)](t))),this[i(206)][i(304)][i(294)](i(209),!1),this[i(248)](),this[i(264)]()}set[Ho(308)](t){const e=Ho;this[e(206)][e(288)][e(200)](e(266))[e(308)]=t}get[Ho(308)](){const t=Ho;return this[t(206)][t(288)][t(200)](t(266))[t(308)]}[Ho(312)](t){const e=Ho;return this[e(206)][e(288)][e(200)](e(266))[e(312)](t)}[Ho(215)](t){const e=Ho;return this[e(206)][e(288)][e(200)](e(263))[e(215)](t)}[Ho(257)](t){const e=Ho;return this[e(206)][e(288)][e(200)](e(263))[e(257)](t||{toJSON:!1})}[Ho(243)](){const e=Ho,i=this[e(206)],s=(0,Z.sanitizeEditorConfig)(i,$o),n=i[e(288)][e(200)](e(266)),r=i[e(288)][e(200)](e(291))[e(280)];return s[e(221)]=[e(236),e(259),e(228)],delete s[e(337)],s[e(288)][e(224)](Bo,te,ke,class extends U.Plugin{static get[e(303)](){return[te,e(291)]}[e(290)](){const s=e,o=this[s(206)][s(288)][s(200)](s(291));for(const t of r)t[s(199)]||o[s(213)](t.id)||o[s(258)](t);const a=n[s(302)][s(257)]();let c=null;const u=this[s(206)][s(288)][s(200)](s(240));u[s(308)]=n[s(308)],u[s(205)](s(283)).to(n),this[s(206)][s(326)][s(200)](s(259))[s(205)](s(283)).to(i,s(321),(t=>!t));for(const e of a){const i=null===e[s(298)];if(i&&e[s(198)]===e[s(327)])continue;const r=e[s(201)]();u[s(312)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(336)](r,o);else if(!o){const e=a[u(201)]();e.id=(0,t.uid)(),n[u(289)](e,a[u(198)])[u(281)]((t=>{c=t}))}}else e[u(336)](r,o)}))}}},No),s}[Ho(248)](){const t=Ho,e=this[t(206)][t(304)][t(200)](t(309))[t(265)];this[t(206)][t(304)][t(260)](t(235),(async()=>{const i=t;this[i(206)][i(270)](i(193));const s=this[i(206)][i(288)][i(200)](i(266));if(this[i(206)][i(288)][i(195)](i(273))){const t=this[i(206)][i(288)][i(200)](i(273));await t[i(208)]()}else await s[i(238)]();if(this[i(206)][i(288)][i(195)](i(305))&&this[i(206)][i(288)][i(200)](i(305))[i(328)](),this[i(206)][i(288)][i(195)](i(233))){const t=this[i(206)][i(288)][i(200)](i(233));t[i(338)]&&t[i(253)]()}const n=this[i(243)]();return e(n)[i(281)]((t=>{const e=i;return this[e(306)]=t,this[e(206)][e(288)][e(195)](e(196))&&this[e(206)][e(288)][e(200)](e(196))[e(323)](),t}))[i(295)]((t=>(console[i(329)](t),this[i(206)][i(246)](i(193)),null)))}))}[Ho(264)](){const t=Ho,e=this[t(206)][t(304)][t(200)](t(309))[t(271)];this[t(206)][t(304)][t(260)](t(245),(()=>(this[t(206)][t(288)][t(195)](t(305))&&this[t(206)][t(288)][t(200)](t(305))[t(328)](),this[t(306)][t(288)][t(200)](t(240))[t(229)](),e(this[t(306)])[t(281)]((()=>{const e=t;if(this[e(206)][e(246)](e(193)),this[e(306)]=null,this[e(206)][e(288)][e(195)](e(196))){const t=this[e(206)][e(288)][e(200)](e(196));t[e(323)](),t[e(274)]()}})))))}[Ho(335)](t){const e=Ho,i=this[e(206)][e(304)][e(200)](e(227)),s=this[e(206)][e(304)][e(200)](e(194)),n=this[e(206)][e(304)][e(200)](e(218));return Uo[e(230)](n,t)[e(281)]((t=>(s[e(202)][e(314)]=e(219),i[e(202)][e(314)]=e(324),t)))}[Ho(237)](t){const e=Ho,i=this[e(206)][e(304)][e(200)](e(227));return this[e(206)][e(304)][e(200)](e(194))[e(202)][e(314)]=e(324),i[e(202)][e(314)]="",t[e(316)]()}async[Ho(297)](t){const e=Ho,i=this[e(206)],s=this[e(306)][e(288)][e(200)](e(240)),n=i[e(288)][e(200)](e(266)),r=s[e(302)][e(215)](t);let o,a,c;try{o=await s[e(247)](r),a=await s[e(310)](r)}catch(t){return void console[e(329)](t)}i[e(339)][e(299)]((t=>{const s=e;for(const e of Array[s(242)](i[s(339)][s(315)][s(277)](s(234))))t[s(220)](e)})),s[e(292)]=!1,i[e(339)][e(250)]((t=>{const s=e;t[s(268)](null),t[s(269)](i[s(339)][s(272)][s(301)][s(262)]());const n=Object[s(276)](o);for(const e of i[s(339)][s(272)][s(214)])s(279)!=e[s(278)]&&e[s(197)]()&&!n[s(322)](e[s(278)])&&t[s(210)](e);for(const e of n){let n=i[s(339)][s(272)][s(319)](e);n&&n[s(197)]()||(n=t[s(216)](e));const r=a[e],c=Object[s(276)](r),u=o[e];for(const e of n[s(262)]())c[s(322)](e)||t[s(334)](e,n);for(const i of c)t[s(317)](i,a[e][i],n);t[s(320)](t[s(212)](n)),t[s(330)](i[s(256)][s(207)](u,n),n,0)}}));const u=J(i[e(296)],e(318));return c=r[e(325)]?-1==r[e(325)][e(203)](u)?u+": "+r[e(325)]:r[e(325)]:u+": "+r[e(286)][e(287)](i[e(296)][e(211)],{month:e(223),day:e(311)})+", "+r[e(286)][e(293)](i[e(296)][e(211)],{hour:e(311),minute:e(311)}),await n[e(289)]({name:c}),s[e(292)]=!0,i[e(304)][e(200)](e(309))[e(271)]()}}function Jo(){var t=["2956jgoPhU","14bBnzEh","81bQJJuO","174gozVyi","2943JQQIFa","1407620RekCvl","9806742GVrofQ","194504MwiwxW","174835aJiDwb","4825792lxIEzb","2052434XckpFH"];return(Jo=function(){return t})()}function Go(t,e){var i=Jo();return(Go=function(t,e){return i[t-=338]})(t,e)}!function(t){for(var e=Go,i=t();;)try{if(678693===parseInt(e(347))/1+parseInt(e(339))/2+parseInt(e(344))/3*(-parseInt(e(340))/4)+parseInt(e(348))/5*(parseInt(e(343))/6)+-parseInt(e(341))/7*(parseInt(e(338))/8)+parseInt(e(342))/9*(parseInt(e(345))/10)+-parseInt(e(346))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Ki,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const V=k["__core-js_shared__"];var E,D=(E=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(M(t)?Z:P).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return H(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const G=function(){this.__data__=Y?Y(null):{},this.size=0};const J=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var X=Object.prototype.hasOwnProperty;const K=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return X.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=G,it.prototype.delete=J,it.prototype.get=K,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vt=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Vt&&Vt.exports===Mt?k.Buffer:void 0;const Dt=(Et?Et.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const Ht=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?zt($t):Lt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Gt=Object.prototype;const Jt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Gt)};const Xt=function(t,e){return function(i){return t(e(i))}};const Kt=Xt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Jt(t))return Kt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Jt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Xt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ve="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Pe=F(B),Le=F(Ae),ze=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ve||Ae&&Ue(Ae.resolve())!=Ee||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Pe:return Ve;case Le:return Ee;case ze:return De;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ge=/\w*$/;const Je=function(t){var e=new t.constructor(t.source,Ge.exec(t));return e.lastIndex=t.lastIndex,e};var Xe=b?b.prototype:void 0,Ke=Xe?Xe.valueOf:void 0;const Qe=function(t){return Ke?Object(Ke.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Je(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Jt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Vi=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Ei=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Vi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Vi(e,t)).length;null!=t&&i<n;)t=t[Ei(e[i++])];return i&&i==n?t:void 0};const Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Vi(e,t),null==(t=Li(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Ui(t,e){const i=Hi();return(Ui=function(t,e){return i[t-=295]})(t,e)}const Zi=Ui;function Hi(){const t=["attributes","toVersion","937793wfBSnL","setName","setAttribute","2796216ChMirJ","creator","529952PMqdBu","createdAt","diffData","removeAttribute","fire","authorsIds","name","1012125vYTKUY","_update","3161368yfOBFD","authors","creatorId","map","4063752NWsDdY","fromVersion","3828000gBdzhW","5yrFdRl","set","toJSON"];return(Hi=function(){return t})()}!function(t){const e=Ui,i=t();for(;;)try{if(618975===parseInt(e(313))/1+parseInt(e(318))/2+-parseInt(e(299))/3+parseInt(e(316))/4*(-parseInt(e(308))/5)+parseInt(e(307))/6+-parseInt(e(305))/7+parseInt(e(301))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Ui;super(),this.id=e.id||(0,t.uid)(),this[i(317)]=e[i(317)]||null,this[i(302)]=e[i(302)]||[],this[i(320)]=e[i(320)]||null,this[i(312)]=e[i(312)]||0,this[i(306)]=e[i(306)]||0,this[i(309)](i(298),e[i(298)]||""),this[i(309)](i(319),e[i(319)]||new Date),this[i(309)](i(311),e[i(311)]||{})}[Zi(314)](t){this[Zi(300)]({name:t})}[Zi(315)](t,e){const i=Zi,n=vi(this[i(311)]);Ci(n,t,e),this[i(300)]({attributes:n})}[Zi(295)](t){const e=Zi,i=vi(this[e(311)]);Wi(i,t),this[e(300)]({attributes:i})}[Zi(300)](t,e=!1){const i=Zi;let n=!1;const r={id:this.id},s=[i(298),i(319),i(320),i(302),i(311),i(312),i(306),i(303)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(302)]&&(r[i(297)]=r[i(302)][i(304)]((t=>t.id)),delete r[i(302)]),this[i(296)](i(300),r,e))}[Zi(310)](){const t=Zi;return{id:this.id,name:this[t(298)],creatorId:this[t(317)]?this[t(317)].id:null,authorsIds:this[t(302)][t(304)]((t=>t.id)),diffData:this[t(320)],createdAt:this[t(319)],attributes:this[t(311)],fromVersion:this[t(306)],toVersion:this[t(312)]}}}var qi=i(782),Bi=i(211),Yi=i(783);function Gi(){const t=["add","name","401967krfYQs","isOfficialPlugin","348662cVUekg","plugins","from","fromVersion","createdAt","RevisionsRepository","_revisions","attributes","11487jcOuAq","27711XUpAlK","toVersion","420rXdiIA","length","later","pluginName","push","earlier","toJSON","getRevisionsIterator","afterInit","join","fromCharCode","creatorId","get","getEarlierVisibleRevision","getRevisionsInDiff","requires","getRevisions","1zGXtTD","isPremiumPlugin","getLaterVisibleRevision","data","getRevision","773600zjHsbW","getUser","authorsIds","8NRhyMq","reverse","12eykXNr","Users","addRevision","href","createRevision","isNaN","editor","getIndex","12177561FsPvwg","622195XCXKfx","newRevisionId","diffData","map","oldRevisionId"];return(Gi=function(){return t})()}const Ji=Xi;function Xi(t,e){const i=Gi();return(Xi=function(t,e){return i[t-=245]})(t,e)}!function(t){const e=Xi,i=t();for(;;)try{if(211005===parseInt(e(245))/1*(-parseInt(e(273))/2)+-parseInt(e(271))/3*(parseInt(e(255))/4)+-parseInt(e(264))/5+-parseInt(e(284))/6*(parseInt(e(281))/7)+-parseInt(e(253))/8*(parseInt(e(282))/9)+-parseInt(e(250))/10+parseInt(e(263))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gi);class Ki extends qi.Plugin{static get[Ji(299)](){return[Bi.Users]}static get[Ji(287)](){return Ji(278)}static get[Ji(272)](){return!0}static get[Ji(246)](){return!0}get[Ji(285)](){const t=Ji;return this[t(279)][t(285)]}constructor(e){const i=Ji;super(e),this[i(279)]=new t.Collection}[Ji(292)](){!async function(e){const i=k([106,119,77,76,107,83,75,104,57,121,117,116,86,66,113,102,69,80,67,73,108,118,90,112,114,52,89,70,115,79,48,68,88,97,111,49,99,105,100,109,65,81,87,78,122,103,55,74,72,53,82,85,101,56,98,120,51,84,71,110,54,50]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=s[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Xi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(260)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([106]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Xi;return t[e(267)]((t=>String[e(294)](t)))[e(293)]("")}!function(t){const i=l();s[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=y(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())return c(k([86,97,108,105,100]));a(),s[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const n=36e5;function s(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](r/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function n(){return s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const r=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,r,s)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&y(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1740182400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Xi,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(258)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(259)](t){const e=Ji,i=this[e(261)][e(274)][e(296)](e(256));return new $i({id:t.id,name:t[e(270)],creator:t[e(295)]?i[e(251)](t[e(295)]):null,diffData:t[e(266)]||t[e(248)],authors:t[e(252)][e(267)]((t=>i[e(251)](t))),createdAt:new Date(t[e(277)]),attributes:t[e(280)],fromVersion:t[e(276)],toVersion:t[e(283)]})}[Ji(257)](t,e=0){const i=Ji;this[i(279)][i(269)](t,e)}[Ji(249)](t){const e=Ji;return this[e(279)][e(296)](t)}[Ji(300)](t={toJSON:!1}){const e=Ji,i=Array[e(275)](this[e(279)]);return i[e(254)](),t[e(290)]?i[e(267)]((t=>t[e(290)]())):i}[Ji(262)](t){const e=Ji;return this[e(279)][e(262)](t)}[Ji(297)](t){const e=Ji,[,i]=this[e(291)](t,{direction:e(289)});return i}[Ji(247)](t){const e=Ji,[,i]=this[e(291)](t,{direction:e(286)});return i}[Ji(298)](t){const e=Ji,i=[];for(const n of this[e(291)](t[e(265)]))if(i[e(288)](n),n.id===t[e(268)])break;return i}*[Ji(291)](t,{direction:e=Ji(289),filter:i=()=>!0}={}){const n=Ji,r=n(289)===e?1:-1;let s=this[n(279)][n(296)](t),o=this[n(262)](s);for(yield s;s;){if(o+=r,s=this[n(249)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)};function _n(t,e){const i=Vn();return(_n=function(t,e){return i[t-=225]})(t,e)}const In=_n;!function(t){const e=_n,i=t();for(;;)try{if(272533===-parseInt(e(410))/1*(-parseInt(e(533))/2)+parseInt(e(539))/3*(-parseInt(e(393))/4)+parseInt(e(230))/5+parseInt(e(339))/6+parseInt(e(255))/7*(-parseInt(e(364))/8)+parseInt(e(538))/9*(parseInt(e(389))/10)+parseInt(e(424))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vn);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends qi.Plugin{static get[In(227)](){return In(240)}static get[In(526)](){return!0}static get[In(544)](){return!0}static get[In(437)](){return[Bi.Users,Ki,qi.PendingActions]}constructor(e){const i=In;super(e),this[i(289)]=null,this[i(461)]=null,this[i(454)]=new Tn(this[i(480)]),this[i(381)]=this[i(480)][i(520)][i(241)](i(249))||i(324),this[i(419)]=new Map,this[i(242)]=null;const n=(0,t.uid)();this[i(498)]={history:this[i(480)][i(322)][i(351)][i(296)],getLatestVersion:()=>Promise[i(501)](this[i(480)][i(322)][i(351)][i(415)]),getCurrentRevisionId:()=>n},this[i(231)](i(405),!1),this[i(231)](i(404),!0),this[i(231)](i(545),!1),this[i(480)][i(520)][i(394)](i(303),!0),this[i(480)][i(441)][i(299)](i(540))[i(256)]({view:i(300)})}[In(449)](){const t=In;this[t(500)]=this[t(480)][t(323)][t(241)](t(320)),this[t(414)](),this[t(480)][t(459)].on(t(272),(()=>{const e=t,i=this[e(500)][e(403)](0),n=i&&null===i[e(406)]?i:null;if(this[e(490)]=!!n&&this[e(480)][e(520)][e(241)](e(303)),this[e(480)][e(323)][e(360)](e(396))){const t=this[e(498)][e(451)](),r=this[e(500)][e(403)](t);if(r)this[e(398)]=r[e(427)],this[e(490)]=!1;else{const t=this[e(498)][e(296)][e(318)][e(400)]((t=>!t[e(235)])),r=t?t[e(294)]:this[e(498)][e(296)][e(415)];i?(i[e(423)]<r&&i[e(529)]({toVersion:r}),this[e(490)]?(this[e(498)][e(451)]=()=>n.id,this[e(398)]=n[e(427)]):(this[e(398)]=i[e(423)],this[e(490)]=!1)):(this[e(398)]=r,this[e(490)]=!1)}}else n&&(this[e(480)][e(322)][e(351)][e(296)][e(415)]=Math[e(262)](n[e(423)],this[e(480)][e(322)][e(351)][e(296)][e(415)]),n[e(427)]===n[e(423)]?(0!==n[e(427)]&&(this[e(498)][e(451)]=()=>n.id),this[e(490)]=!1):this[e(490)]&&(this[e(498)][e(451)]=()=>n.id,this[e(398)]=n[e(427)])),this[e(490)]||(this[e(398)]=this[e(480)][e(322)][e(351)][e(415)]);this[e(454)][e(449)](this[e(498)][e(296)]),this[e(468)](this[e(398)]),this[e(340)](this[e(398)]),this[e(289)]&&this[e(229)]()})),this[t(347)](t(405)).to(this,t(545),(t=>!t)),this[t(237)]=this[t(480)][t(520)][t(241)](t(237));const e=this[t(480)];this[t(368)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(250)==s||i(496)==s||i(350)==s||i(376)==s||i(362)==s||i(433)==s||i(343)==s||i(280)==s){delete e[r],n=s,clearInterval(this[i(368)]),this[i(368)]=void 0;break}}i(496)==n&&e[i(295)](i(349)),i(350)==n&&e[i(295)](i(521)),i(376)==n&&e[i(295)](i(458)),i(362)==n&&e[i(295)](i(440),i(285)),i(433)==n&&e[i(295)](i(305)),i(343)==n&&e[i(295)](i(460)),i(280)==n&&e[i(295)](i(515))}),1e3)}async[In(516)](){const t=In;if(this[t(500)][t(270)]>0){const e=this[t(500)][t(403)](0),i=await this[t(286)](e),n=await this[t(505)](e);this[t(356)](i,n)}}[In(337)](){const t=In;super[t(337)](),this[t(368)]&&clearInterval(this[t(368)])}[In(385)](t){this[In(498)]=t}async[In(483)](){const t=In,e=await this[t(498)][t(508)]();if(e>this[t(461)][t(423)]){await this[t(450)]();const i=this[t(267)]({revision:this[t(461)],to:e});i[t(325)]=i[t(314)][t(443)]((e=>this[t(480)][t(323)][t(241)](t(390))[t(452)](e))),this[t(461)][t(529)](i)}}async[In(450)](){const t=In;this[t(490)]&&!this[t(242)]&&(await this[t(307)](this[t(461)]),this[t(454)][t(248)](this[t(461)]),this[t(242)]={fromVersion:this[t(461)][t(427)],authors:this[t(461)][t(325)][t(254)]()})}async[In(246)](e={},i=null){const n=In,r=[];await this[n(450)](),this[n(490)]=!1,i>this[n(461)][n(423)]&&(i=null),null===i&&(i=await this[n(498)][n(508)]());const s=this[n(265)](i),o=this[n(267)]({from:s,to:i});if(this[n(461)][n(423)]<i){const t=this[n(267)]({revision:this[n(461)],from:i,to:i});t[n(325)]=[],t[n(314)]=[],t.id=this[n(461)].id,this[n(461)][n(529)](t,!0),delete t[n(325)],r[n(310)](t)}e[n(473)]=this[n(480)][n(323)][n(241)](n(390)).me.id,e[n(357)]=e[n(357)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(358)](e);r[n(310)](e);const c=this[n(500)][n(359)](a);if(0!==c){const t=this[n(500)][n(403)](c-1);if(t[n(427)]!==i){const s=this[n(454)][n(448)](i,t[n(423)]),o={id:t.id,diffData:s[n(274)],authorsIds:s[n(314)],authors:s[n(314)][n(443)]((t=>this[n(480)][n(323)][n(241)](n(390))[n(452)](t))),fromVersion:i};t===this[n(461)]&&(o[n(470)]=new Date(e[n(470)][n(258)]()+10)),t[n(529)](o,!0),delete o[n(325)],r[n(310)](o)}}if(this[n(289)]){for(const t of r)this[n(445)](t.id,t,!0);this[n(229)]()}return a}[In(358)](t){const e=In,i=this[e(500)][e(417)](t);return this[e(289)]&&i.on(e(529),((t,i,n)=>{const r=e;n||(this[r(445)](i.id,i,!0),this[r(229)]())})),this[e(500)][e(476)](i,this[e(391)](i)),i}async[In(286)](t){const e=In;await this[e(307)](t);const i={};for(const n in t[e(274)]){if(t[e(274)][n][e(382)]&&!t[e(274)][n][e(382)][e(257)])continue;const r=this[e(497)](JSON[e(524)](t[e(274)][n][e(301)])),s=this[e(480)][e(283)][e(444)][e(351)],o=new Yi.ViewDocumentFragment(s,r[e(443)]((t=>xn(t,this[e(480)]))));this[e(480)][e(459)][e(528)][e(464)](e(534)),i[n]=this[e(480)][e(459)][e(528)][e(439)](o),this[e(480)][e(459)][e(528)][e(464)](e(338))}return i}async[In(505)](t){const e=In;await this[e(307)](t);const i={};for(const n in t[e(274)])t[e(274)][n][e(382)]&&!t[e(274)][n][e(382)][e(257)]||(i[n]=t[e(274)][n][e(373)]||{});return i}[In(229)](){const t=In;if(0===this[t(419)][t(484)])return;if(this[t(545)])return;let e=Array[t(245)](this[t(419)][t(453)]());this[t(419)][t(426)]();for(let i=0;i<e[t(270)];i++){const n=e[i];let r=!1;for(const e of Object[t(488)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(388)]((t=>null!==t)),!e[t(270)])return;for(let i=0;i<e[t(270)];i++){const n=e[i];void 0!==n[t(427)]&&void 0===n[t(423)]&&(n[t(423)]=this[t(500)][t(403)](n.id)[t(423)]),void 0!==n[t(423)]&&void 0===n[t(427)]&&(n[t(427)]=this[t(500)][t(403)](n.id)[t(427)])}const i=this[t(480)][t(520)][t(241)](t(249));this[t(545)]=!0,this[t(474)](),this[t(289)][t(253)](e,i)[t(499)]((()=>{this[t(545)]=!1}))[t(232)]((e=>{const i=t;if(e)for(const t of e)this[i(297)]({id:t.id,createdAt:t[i(470)]});this[i(313)](),this[i(229)]()}))}[In(356)](e,i){const n=In;let r=this[n(480)][n(520)][n(241)](n(535)),s=this[n(480)][n(520)][n(241)](n(485));if(void 0===r){r={};for(const t of this[n(480)][n(322)][n(351)][n(478)]())r[t]=""}if(n(378)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(480)][n(322)][n(351)][n(478)]())s[t]={}}let o=!1;const a=Object[n(488)](r),c=Object[n(488)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(273)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(488)](s[t])[n(270)]>0){o=!0;break}}o||(o=c[n(514)]((t=>!this[n(480)][n(322)][n(351)][n(375)](t)))),o&&(0,t.logWarning)(n(399),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(480)][n(520)][n(231)](n(535),e),this[n(480)][n(520)][n(231)](n(485),i)}[In(474)](){const t=In;if(!this[t(293)]){const e=this[t(480)][t(323)][t(241)](t(308));this[t(293)]=e[t(413)](Qi(this[t(480)][t(386)],t(487)))}}[In(313)](){const t=In;this[t(293)]&&(this[t(480)][t(323)][t(241)](t(308))[t(425)](this[t(293)]),this[t(293)]=null)}[In(391)](t){const e=In,i=this[e(500)][e(489)]();i[e(402)]();let n=0;for(;n<i[e(270)];){const r=i[n];if(r===this[e(461)]){n++;continue}if(r.id===this[e(381)])break;const s=t[e(423)]-r[e(423)]||t[e(427)]-r[e(427)];if(s>0)break;if(s<0)n++;else{if(!t[e(406)]&&r[e(406)])break;if(r[e(406)]||!t[e(406)]){if(t[e(470)]>r[e(470)])break;n++}else n++}}return n}[In(297)](t){const e=In,i=this[e(500)][e(403)](t.id);if(t[e(470)]&&(t[e(470)]=new Date(t[e(470)])),t[e(314)]){const i=this[e(480)][e(323)][e(241)](e(390));t[e(325)]=t[e(314)][e(443)]((t=>i[e(452)](t)))}i[e(529)](t,!0)}[In(267)]({revision:t=null,from:e=null,to:i=null}){const n=In;e=null!==e?e:t[n(427)],i=null!==i?i:t[n(423)];const r=this[n(454)][n(448)](e,i),s={diffData:r[n(274)],authorsIds:r[n(314)],fromVersion:e,toVersion:i};if(!t||i!==t[n(423)]){const t=i-1,e=this[n(498)][n(296)][n(438)](t);s[n(470)]=e&&e[n(470)]||new Date}if(this[n(242)]&&e===this[n(242)][n(427)])for(const t of this[n(242)][n(325)])s[n(314)][n(374)](t.id)||s[n(314)][n(310)](t.id);return s}[In(307)](t){const e=In;if(!t||t[e(274)])return Promise[e(501)]();{const i=this[e(480)][e(520)][e(241)](e(249));return this[e(289)][e(403)]({channelId:i,revisionId:t.id})[e(232)]((i=>{const n=e;t[n(274)]=i[n(274)]}))}}[In(445)](t,e,i){const n=In;if(this[n(419)][n(360)](t)){const r=this[n(419)][n(241)](t);e=i?{...r,...e}:{...e,...r}}this[n(419)][n(231)](t,e)}[In(265)](t){const e=In,i=this[e(500)][e(489)]();i[e(402)](),i[e(471)]();const n=i[e(400)]((i=>i[e(423)]<=t))[e(423)];return n<this[e(398)]?this[e(398)]:n}[In(468)](t){const e=In,i=this[e(500)][e(403)](this[e(500)][e(270)]-1);if(i)this[e(381)]=i.id;else{const i=!this[e(480)][e(322)][e(351)][e(266)][e(400)]((t=>this[e(480)][e(322)][e(506)](t))),n=this[e(480)][e(323)][e(241)](e(390)).me.id,r=Qi(this[e(480)][e(386)],e(i?228:268));this[e(492)]({from:t,to:t,id:this[e(381)],name:r,creatorId:n})}}[In(340)](t){const e=In,i=this[e(498)][e(451)]();this[e(461)]=this[e(500)][e(403)](i),this[e(461)]||(this[e(461)]=this[e(492)]({from:t,to:t,id:i,name:"",creatorId:null}))}[In(492)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=In,o=this[s(267)]({from:e,to:i});o[s(357)]=t,o[s(473)]=n,o.id=r;const a=this[s(358)](o);return this[s(289)]&&this[s(445)](o.id,o,!0),a}[In(414)](){const t=In;this[t(480)][t(441)][t(299)](t(380))[t(495)]({model:t(300)})}[In(497)](t){const e=In;return(t=t[e(388)]((t=>!t[e(357)]||e(264)!==t[e(357)]&&e(279)!==t[e(357)])))[e(482)]((t=>{const i=e;i(378)!=typeof t&&(t[i(420)]=this[i(497)](t[i(420)]),t[i(502)]=t[i(502)][i(388)]((t=>!t[0][i(315)](i(541)))))})),t}}function xn(t,e){const i=In,n=e[i(283)][i(444)][i(351)];if(i(378)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(420)][i(443)]((t=>xn(t,e)));return new(Sn[t[i(536)]]||Yi.ViewElement)(n,t[i(357)],t[i(502)],r)}}class Tn{constructor(t){const e=In;this[e(480)]=t,this[e(371)]=new Map,this[e(542)]=-1,this[e(341)]=-1,this[e(361)]=new Map,this[e(407)]=new Map,this[e(509)]=new Map,this[e(387)]=new Map,this[e(537)]=new Map,this[e(416)]=new Map,this[e(269)]=new Map,this[e(331)]=new Map,this[e(291)]=new Map,this[e(312)]=new Map,this[e(446)]=1}[In(449)](t){const e=In;this[e(281)]=t;const i=new Map,n=new Map,r=this[e(480)][e(322)][e(351)][e(266)][e(443)]((t=>t[e(271)]));for(const t of r){const r=this[e(480)][e(322)][e(351)][e(375)](t),s=Nn(r);i[e(231)](t,s),n[e(231)](t,Object[e(392)](r[e(247)]()))}const s=Array[e(245)](this[e(480)][e(322)][e(342)])[e(443)]((t=>[t[e(357)],t[e(512)]()])),o=this[e(281)][e(415)];this[e(355)](o,i,s,n),this[e(330)]=this[e(446)];const a=new Map,c=new Map;for(const t of r){const i=An(t);a[e(231)](t,i),c[e(231)](t,{})}this[e(355)](Number[e(455)],a,[],c)}[In(448)](t,e){const i=In;if(this[i(542)]===t&&this[i(341)]<=e)this[i(371)][i(484)]>1&&this[i(277)](this[i(341)]),this[i(475)](this[i(341)],e,!0);else{if(!this[i(371)][i(360)](t)){const e=this[i(263)](t);this[i(345)](e,t,!1)}this[i(345)](t,e,!0)}return this[i(542)]=t,this[i(341)]=e,this[i(465)]()}[In(248)](t){const e=In;this[e(366)](),this[e(542)]=t[e(427)],this[e(341)]=t[e(423)];for(const i in t[e(274)]){const n=t[e(274)][i][e(382)],r=vi(t[e(274)][i][e(319)])||{},s=this[e(302)](t[e(274)][i][e(428)]);s[e(271)]=i,s[e(326)]=!n||!n[e(257)],s[e(257)]=()=>s[e(326)],this[e(387)][e(231)](i,s),this[e(537)][e(231)](i,r),n&&this[e(312)][e(231)](i,n);const o=this[e(236)](s);this[e(269)][e(231)](i,o);for(const[t,i]of s[e(342)]){if(!t[e(315)](e(510)))continue;const n=t[e(372)](":")[2];for(const t of i[e(434)]({singleCharacters:!0})){const i=this[e(435)](t),r=e(344)==t[e(536)]?t[e(259)][e(397)][e(254)](0,-1):t[e(259)][e(397)],s=o[e(462)](r)[e(239)](i);this[e(331)][e(231)](s,{userId:n})}}}this[e(330)]=this[e(446)];const i=[...Array(this[e(446)])[e(488)]()][e(254)](1)[e(388)]((t=>!this[e(331)][e(360)](t)));let n=0;const r=new Map;for(const s in t[e(274)]){const o=t[e(274)][s][e(382)],a=vi(t[e(274)][s][e(373)])||{},c=this[e(302)](t[e(274)][s][e(301)]);c[e(271)]=s,c[e(326)]=!o||o[e(257)],c[e(257)]=()=>c[e(326)],this[e(407)][e(231)](s,c),this[e(509)][e(231)](s,a);const u=this[e(236)](c,Number[e(455)]);this[e(416)][e(231)](s,u),r[e(231)](s,c[e(257)]()?a:{});for(const[t,i]of c[e(342)]){if(!t[e(315)](e(510)))continue;const n=t[e(372)](":")[2];for(const t of i[e(434)]({singleCharacters:!0})){const i=this[e(435)](t),r=this[e(446)]++,s=e(344)==t[e(536)]?t[e(259)][e(397)][e(254)](0,-1):t[e(259)][e(397)];u[e(462)](s)[e(409)](i,r),this[e(331)][e(231)](r,{userId:n})}}for(const t of this[e(480)][e(322)][e(486)](c)[e(434)]({singleCharacters:!0})){const r=this[e(435)](t),s=e(344)==t[e(536)]?t[e(259)][e(397)][e(254)](0,-1):t[e(259)][e(397)],o=u[e(462)](s);o[e(239)](r)>0||o[e(409)](r,i[n++])}for(const[t,i]of c[e(342)])t[e(315)](e(510))||this[e(361)][e(231)](t,i)}const s=An(e(517));this[e(387)][e(231)](e(517),s),this[e(269)][e(231)](e(517),this[e(236)](s,1));const o=An(e(517));this[e(407)][e(231)](e(517),o),this[e(416)][e(231)](e(517),this[e(236)](o,1));const a=Array[e(245)](this[e(407)])[e(443)]((([t,e])=>[t,Nn(e)]));this[e(355)](this[e(341)],a,this[e(361)],r)}[In(302)](t){const e=In,i=JSON[e(524)](t),n=this[e(480)][e(283)][e(444)][e(351)],r=new Yi.ViewDocumentFragment(n,i[e(443)]((t=>xn(t,this[e(480)]))));return this[e(480)][e(459)][e(287)](r)}[In(355)](t,e,i,n){const r=In,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(231)](t,{start:e[r(329)][r(481)](),end:e[r(491)][r(481)](),rootName:e[r(284)][r(271)]});this[r(371)][r(231)](t,{roots:s,markers:a,rootsAttributes:o})}[In(277)](t){const e=In;this[e(371)][e(275)](t)}[In(282)](){const t=In;this[t(366)](),this[t(542)]=-1,this[t(341)]=-1,this[t(371)][t(426)](),this[t(449)](this[t(281)])}[In(366)](){const t=In;this[t(331)][t(426)](),this[t(291)][t(426)](),this[t(312)][t(426)](),this[t(407)][t(426)](),this[t(509)][t(426)](),this[t(387)][t(426)](),this[t(537)][t(426)](),this[t(416)][t(426)](),this[t(269)][t(426)](),this[t(361)][t(426)](),this[t(446)]=1,this[t(330)]=this[t(446)]}[In(236)](t,e=null){const i=In;let n=null;t.is(i(523))||(n=new Yi.Element(t[i(357)],{vid_start:null===e?this[i(446)]++:e++}));const r=[];for(const n of t[i(363)]())if(n.is(i(525))){r[i(310)](this[i(236)](n,e));const t=r[r[i(270)]-1];null!==e&&(e=t.is(i(525),i(311))?t[i(239)](i(447))+1:t[i(239)](i(431))+1)}else for(let t=0;t<n[i(276)];t++)r[i(310)](new Yi.Element(i(311),{vid:null===e?this[i(446)]++:e++}));if(t.is(i(523))){const e=An(t[i(271)]);return e[i(251)](0,r),e}return n[i(409)](i(431),null===e?this[i(446)]++:e++),n[i(251)](0,r),n}[In(345)](t,e,i){const n=In;this[n(366)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(371)][n(241)](t);this[n(387)]=new Map(r),this[n(537)]=new Map(vi(o));for(const[t,e]of this[n(387)])if(n(517)!==t&&(this[n(407)][n(231)](t,Nn(e)),this[n(509)]=new Map(vi(o)),i)){const i=this[n(446)];this[n(416)][n(231)](t,this[n(236)](e)),this[n(269)][n(231)](t,this[n(236)](e,i))}this[n(330)]=this[n(446)],this[n(407)][n(231)](n(517),Nn(this[n(387)][n(241)](n(517)))),i&&this[n(416)][n(231)](n(517),this[n(236)](this[n(387)][n(241)](n(517))));for(const[t,e]of s){const i=this[n(387)][n(241)](e[n(271)]),r=this[n(407)][n(241)](e[n(271)]),s=new Yi.Range(this[n(518)](e[n(329)],i),this[n(518)](e[n(491)],i)),o=this[n(477)](s,r);i[n(342)][n(231)](t,s),this[n(361)][n(231)](t,o)}this[n(475)](t,e,i)}[In(475)](t,e,i){const n=In;for(const r of this[n(281)][n(244)](t,e))this[n(278)](r,i);for(const t of this[n(407)][n(453)]())t[n(342)][n(426)]();for(const[t,e]of this[n(361)])this[n(407)][n(241)](e[n(284)][n(271)])[n(342)][n(231)](t,e[n(481)]());const r=new Map,s=new Map;for(const[t,e]of this[n(407)])r[n(231)](t,Nn(e)),s[n(231)](t,this[n(509)][n(241)](t));this[n(355)](e,r,this[n(361)],s)}[In(263)](t){const e=In,i=Array[e(245)](this[e(371)][e(488)]());i[e(401)](((t,e)=>t-e)),i[e(402)]();for(const e of i)if(e<t)return e;return Number[e(455)]}[In(316)](t,e){const i=In,n=Array[i(245)](e[i(342)])[i(443)]((([e,n])=>[e,this[i(477)](n,t)]));t[i(342)]=new Map(n)}[In(367)](t){const e=In;for(const i of this[e(361)][e(453)]()){const n=i[e(238)](t),r=Yi.Range[e(384)](n);i[e(329)]=r[e(329)],i[e(491)]=r[e(491)]}}[In(278)](t,e){const i=In;if(i(503)!=t[i(536)]&&i(479)!=t[i(536)]){if(i(467)==t[i(536)]){const n=t[i(353)][i(284)][i(271)];this[i(407)][i(360)](n)||(this[i(407)][i(231)](n,An(n,!0)),this[i(509)][i(231)](n,{}),e&&this[i(416)][i(231)](n,An(n,!0)))}else{if(i(377)==t[i(536)]||i(226)==t[i(536)]||i(511)==t[i(536)])return void this[i(527)](t);i(436)==t[i(536)]&&this[i(543)](t)}if(i(436)!==t[i(536)]){const e=this[i(234)](t,this[i(407)]);e[i(430)](),this[i(367)](e)}if(e)switch(t[i(536)]){case i(467):this[i(432)](t);break;case i(327):case i(425):case i(532):this[i(225)](t);break;case i(370):this[i(352)](t);break;case i(372):this[i(288)](t)}}else this[i(429)](t,e)}[In(234)](t,e){const i=In,n=t[i(481)]();return n[i(292)]=t[i(292)],this[i(412)](n,e),n}[In(261)](t){const e=In;return t[e(443)]((t=>{const i=e,n=this[i(435)](t);return Number(t[i(530)][i(239)](n))}))}[In(466)](t,e){const i=In;if(t.is(i(525),i(311)))e[i(310)]({item:t,type:i(519)});else{t.is(i(525))&&e[i(310)]({item:t,type:i(504)});for(const n of t[i(363)]())this[i(466)](n,e);t.is(i(525))&&e[i(310)]({item:t,type:i(344)})}return e}[In(465)](){const t=In,e=new Map(this[t(331)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(387)][t(488)](),...this[t(407)][t(488)]()]);a[t(275)](t(517));for(const e of a){const i=this[t(407)][t(241)](e)||An(e,!1),n=this[t(387)][t(241)](e)||An(e,!1);i[t(257)]()||n[t(257)]()?(r[t(301)][e]=Nn(i),r[t(428)][e]=Nn(n),this[t(316)](r[t(428)][e],n),this[t(316)](r[t(301)][e],i),s[t(301)][e]=this[t(466)](this[t(416)][t(241)](e),[]),s[t(428)][e]=this[t(466)](this[t(269)][t(241)](e)||An(e,!1),[])):a[t(275)](e)}for(const r of a){const o=s[t(301)][r];for(const r of o){const s=this[t(435)](r),o=r[t(530)][t(239)](s);i[t(275)](o),o>=this[t(330)]&&n[t(231)](o,e[t(241)](o))}}for(const r of a){const a=s[t(301)][r],c=this[t(261)](s[t(428)][r]);let u=0;for(const r of a){const s=this[t(435)](r),a=r[t(530)][t(239)](s);if(!n[t(360)](a)&&!o[t(360)](a))if(i[t(360)](a))u++;else{if(a!=c[u]){const n=e[t(241)](a)||e[t(241)](c[u]);for(;a!=c[u];)i[t(360)](c[u])||(o[t(231)](c[u],n),e[t(231)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(301)][e];for(const e of r){const r=this[t(435)](e),s=e[t(530)][t(239)](r);if(o[t(360)](s)){const e=o[t(241)](s);i[t(360)](s)||i[t(231)](s,{...e}),n[t(231)](s,{...e})}}}for(const e of i[t(488)]())e>=this[t(330)]&&i[t(275)](e);const c=new Map;for(const e of a){let r=s[t(301)][e];for(const e of r)if(e[t(530)].is(t(525),t(411))){const i=this[t(435)](e),r=e[t(530)][t(239)](i);if(n[t(360)](r)){const i=e[t(530)][t(395)][t(395)][t(239)](t(513)),s=c[t(241)](i)||new Set;s[t(413)](n[t(241)](r)[t(348)]),c[t(231)](i,s)}}r=s[t(428)][e];for(const e of r)if(e[t(530)].is(t(525),t(411))){const n=this[t(435)](e),r=e[t(530)][t(239)](n);if(i[t(360)](r)){const n=e[t(530)][t(395)][t(395)][t(239)](t(513)),s=c[t(241)](n)||new Set;s[t(413)](i[t(241)](r)[t(348)]),c[t(231)](n,s)}}for(const e of c[t(488)]())(n[t(360)](e)||i[t(360)](e))&&c[t(275)](e)}for(const e of a){const r=s[t(301)][e];let o=null,a=null;for(const e of r){const r=this[t(435)](e),s=e[t(530)][t(239)](r),u=c[t(241)](s);u&&t(504)==e[t(536)]&&(o=Array[t(245)](u)[0],a=e[t(530)][t(239)](t(431))),o&&(i[t(231)](s,{userId:o}),n[t(231)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(428)][e],a=r[t(301)][e];for(const{userId:e}of this[t(291)][t(453)]())null!==e&&l[t(413)](e);for(const{userId:e}of this[t(312)][t(453)]())null!==e&&l[t(413)](e);this[t(442)](a,s[t(301)][e],n,t(422),l),this[t(442)](o,s[t(428)][e],i,t(507),l),u[e]={insertions:this[t(309)](a),deletions:this[t(309)](o),attachChange:this[t(312)][t(241)](e)||null,attributesBefore:vi(this[t(537)][t(241)](e))||{},attributesAfter:vi(this[t(509)][t(241)](e))}}return{diffData:u,authorsIds:Array[t(245)](l)}}[In(369)](t){const e=In;for(const[,i]of t[e(342)]){const t=i[e(329)][e(408)]()[e(388)]((t=>e(411)==t[e(357)]));for(const i of t)1==i[e(383)]&&i[e(243)](0).is(e(525),e(333))&&i[e(243)](0)[e(409)](e(493),!0)}}[In(309)](t){const e=In;this[e(369)](t);const i=this[e(480)][e(459)][e(522)](t,{}),n=Array[e(245)](i[e(363)]())[e(443)]((t=>this[e(290)](t)));return JSON[e(317)](n)}[In(290)](t){const e=In;if(t.is(e(311)))return t[e(459)];{const i=t;return{type:Object[e(488)](Sn)[e(400)]((e=>t instanceof Sn[e])),name:i[e(357)],attributes:Array[e(245)](i[e(247)]()),children:Array[e(245)](i[e(363)]())[e(443)]((t=>this[e(290)](t)))}}}[In(442)](t,e,i,n,r){const s=In;let o=null,a=null,c=0;const u=this[s(480)][s(322)];for(let n=0;n<e[s(270)];n++){const r=this[s(435)](e[n]),c=e[n][s(530)][s(239)](r),h=i[s(241)](c),d=n==e[s(270)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(348)]!=o[s(348)])&&(l(h,Rn(a,t,u),Rn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Rn(a,t,u),Mn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(348)],d=l(510)+n+":"+h+":"+c++,f=u[l(334)](i,a);t[l(342)][l(231)](d,f),null!==h&&r[l(413)](h)}}[In(435)](t){const e=In;switch(t[e(536)]){case e(504):return e(513);case e(344):return e(431);default:return e(447)}}[In(412)](t,e){const i=In;t[i(294)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(241)](r[i(284)][i(271)]);t[n]=this[i(518)](r,s)}if(r instanceof Yi.Range){const s=e[i(241)](r[i(284)][i(271)]);t[n]=this[i(477)](r,s)}i(284)===n&&(t[i(284)]=e[i(241)](t[i(284)][i(271)]))}}[In(477)](t,e){const i=In;return this[i(480)][i(322)][i(334)](this[i(518)](t[i(329)],e),this[i(518)](t[i(491)],e))}[In(518)](t,e){const i=In;return this[i(480)][i(322)][i(365)](e,t[i(397)],t[i(260)])}[In(432)](t){const e=In,i=this[e(416)][e(241)](t[e(353)][e(284)][e(271)]),n=this[e(518)](t[e(353)],i),r=null===t[e(292)]?null:t[e(292)]||this[e(480)][e(323)][e(241)](e(390)).me.id,s=n[e(395)],o=this[e(446)],a=[];for(const i of t[e(463)])if(i.is(e(525)))a[e(310)](this[e(236)](i));else for(let t=0;t<i[e(276)];t++)a[e(310)](new Yi.Element(e(311),{vid:this[e(446)]++}));const c=this[e(446)];for(let t=o;t<c;t++)this[e(331)][e(231)](t,{userId:r});s[e(251)](n[e(494)],a)}[In(225)](t){const e=In;(t=this[e(234)](t,this[e(416)]))[e(430)]();const i=null===t[e(292)]?null:t[e(292)]||this[e(480)][e(323)][e(241)](e(390)).me.id,n=t[e(418)](),r=n[e(395)],s=n[e(494)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(243)](e);s.is(a(525),a(311))?n[a(231)](s[a(239)](a(447)),{userId:i}):(n[a(231)](s[a(239)](a(513)),{userId:i}),t(n,s,0,s[a(383)]),n[a(231)](s[a(239)](a(431)),{userId:i}))}}(this[e(331)],r,s,s+t[e(332)])}[In(352)](t){const e=In,i=null===(t=this[e(234)](t,this[e(416)]))[e(292)]?null:t[e(292)]||this[e(480)][e(323)][e(241)](e(390)).me.id,n=t[e(252)][e(395)],r=t[e(298)][e(395)],s=n[e(239)](e(431)),o=r[e(239)](e(513));n[e(409)](e(431),r[e(239)](e(431))),r[e(409)](e(431),s),this[e(331)][e(231)](o,{userId:i}),this[e(331)][e(231)](s,{userId:i}),t[e(430)]()}[In(288)](t){const e=In,i=null===(t=this[e(234)](t,this[e(416)]))[e(292)]?null:t[e(292)]||this[e(480)][e(323)][e(241)](e(390)).me.id,n=t[e(335)],r=t[e(233)][e(395)];t[e(430)]();const s=r[e(239)](e(431)),o=t[e(321)][e(328)];if(n){const t=o[e(239)](e(431)),n=r[e(239)](e(431));r[e(409)](e(431),t),o[e(409)](e(431),n),this[e(331)][e(231)](r[e(239)](e(431)),{userId:i}),this[e(331)][e(231)](o[e(239)](e(513)),{userId:i})}else{const t=this[e(446)]++,n=this[e(446)]++;r[e(409)](e(431),t),o[e(409)](e(513),n),o[e(409)](e(431),s),this[e(331)][e(231)](t,{userId:i}),this[e(331)][e(231)](n,{userId:i})}}[In(543)](t){const e=In;if(!t[e(346)])return;const i=(t=this[e(234)](t,this[e(407)]))[e(379)]?t[e(379)][e(284)]:null,n=t[e(546)]?t[e(546)][e(284)]:null;i&&this[e(361)][e(275)](t[e(357)]),n&&this[e(361)][e(231)](t[e(357)],t[e(546)][e(481)]());const r=null===t[e(292)]?null:t[e(292)]||this[e(480)][e(323)][e(241)](e(390)).me.id,s=t[e(357)];if(!this[e(291)][e(360)](s))return void this[e(291)][e(231)](s,{range:t[e(379)],userId:r});const o=this[e(291)][e(241)](s),a=o[e(336)],c=t[e(546)];null==a&&null==c||a&&c&&a[e(531)](c)?this[e(291)][e(275)](t[e(357)]):o[e(348)]=r}[In(429)](t,e){const i=In;this[i(407)][i(360)](t[i(271)])?this[i(407)][i(241)](t[i(271)])[i(326)]=t[i(457)]:(this[i(407)][i(231)](t[i(271)],An(t[i(271)],!0)),this[i(509)][i(231)](t[i(271)],{}),e&&this[i(416)][i(231)](t[i(271)],An(t[i(271)],!0)));const n=null===t[i(292)]?null:t[i(292)]||this[i(480)][i(323)][i(241)](i(390)).me.id,r=this[i(312)][i(241)](t[i(271)]);r&&r[i(348)]===n?this[i(312)][i(275)](t[i(271)]):this[i(312)][i(231)](t[i(271)],{userId:n,isAttached:t[i(457)]})}[In(527)](t){const e=In,i=this[e(509)][e(241)](t[e(284)][e(271)]);null===t[e(469)]?delete i[t[e(421)]]:i[t[e(421)]]=t[e(469)]}}function Nn(t){const e=In,i=An(t[e(271)],t[e(257)]());for(const n of t[e(363)]()){const t=n[e(354)](!0);i[e(472)](t)}return i}function An(t,e=!0){const i=In,n=new Yi.DocumentFragment;return n[i(271)]=t,n[i(326)]=e,n[i(257)]=()=>n[i(326)],n}function Rn(t,e,i){const n=In,r=n(344)==t[n(536)]?i[n(304)](t[n(530)],n(491)):i[n(456)](t[n(530)]);return i[n(365)](e,r[n(397)],r[n(260)])}function Mn(t,e,i){const n=In,r=n(504)==t[n(536)]?i[n(304)](t[n(530)],0):i[n(306)](t[n(530)]);return i[n(365)](e,r[n(397)],r[n(260)])}function Vn(){const t=["key","insertion","toVersion","248677SicoIz","remove","clear","fromVersion","deletions","_handleRootOperation","_execute","vid_end","_handleInsertOperation","revisionHistoryLicenseKeyEvaluationLimit","getWalker","_getVidAttributeName","marker","requires","getOperation","toData","featureNotAllowed","conversion","_markChanges","map","view","_bufferUpdate","_revisionId","vid","getData","init","_loadState","getCurrentRevisionId","getUser","values","_revisionDataBuilder","NEGATIVE_INFINITY","createPositionBefore","isAdd","domainLimit","data","trialLimit","currentRevision","getNodeByPath","nodes","useFillerType","_getState","_generateTape","insert","_createInitialRevision","newValue","createdAt","shift","_appendChild","creatorId","_addPendingAction","_applyOperations","addRevision","_fixRange","getRootNames","detachRoot","editor","clone","forEach","update","size","rootsAttributes","createRangeIn","PENDING_ACTION_REVISION_HISTORY","keys","getRevisions","_continueCurrentRevision","end","_makeRevision","keepParagraph","offset","markerToData","revisionHistoryLicenseKeyInvalid","_removeRevisionMarkers","_source","finally","repository","resolve","attributes","addRoot","elementStart","getRevisionRootsAttributes","hasContent","deletion","getLatestVersion","_diffRootsAttributes","revision:","changeRootAttribute","getRange","vid_start","some","usageLimit","afterInit","$graveyard","_fixPosition","text","config","expired","toView","documentFragment","parse","element","isOfficialPlugin","_handleRootAttributeOperation","processor","_update","item","isEqual","reinsert","928kZwYHm","marked","initialData","type","_baseRootsAttributes","3141BpBKND","6bkABUF","upcast","data-revision-","_lastFrom","_handleMarkerOperation","isPremiumPlugin","_isPendingUpdate","newRange","_handleMoveOperation","removeRootAttribute","pluginName","Empty document","sendBufferedUpdates","425070ZuiiYc","set","then","splitPosition","_cloneOperation","_isInit","_makeIdsRoot","licenseKey","getTransformedByOperation","getAttribute","RevisionTracker","get","_loadedStateData","getChild","getOperations","from","saveRevision","getAttributes","loadState","collaboration.channelId","revisionHistoryLicenseKeyValid","_insertChild","targetPosition","updateRevisions","slice","7hlzpGc","dataToMarker","isAttached","getTime","previousPosition","stickiness","_getBaseVids","max","_getPreviousFrom","revision-start","_getFromVersion","roots","buildRevisionData","Initial revision","_baseIdsRoots","length","rootName","ready","trim","diffData","delete","offsetSize","_removeMetaData","_handleOperation","revision-end","revisionHistoryLicenseKeyUsageLimit","source","reInit","editing","root","RevisionHistory","getRevisionDocumentData","toModel","_handleSplitOperation","adapter","_getViewJson","_touchedMarkers","_authorId","_pendingAction","baseVersion","_showLicenseError","history","setRevisionData","sourcePosition","for","revision","insertions","_makeModelFromViewString","revisionHistory.resumeUnsavedRevision","createPositionAt","evaluationLimit","createPositionAfter","_loadRevisionData","PendingActions","_prepareViewToSave","push","$text","_touchedRoots","_removePendingAction","authorsIds","startsWith","_copyMarkers","stringify","_operations","attributesBefore","RevisionsRepository","insertionPosition","model","plugins","initial","authors","_isAttached","move","nodeAfter","start","_startingRevisionId","_touched","howMany","paragraph","createRange","graveyardPosition","range","destroy","default","1901934Vjhmyx","_createCurrentRevision","_lastTo","markers","revisionHistoryLicenseKeyTrialLimit","elementEnd","_calculateMetaData","affectsData","bind","userId","invalid","revisionHistoryLicenseKeyExpired","document","_handleMergeOperation","position","_clone","_saveMetaData","_replaceEditorDataWithRevisionData","name","addRevisionData","getIndex","has","_markers","revisionHistoryLicenseKeyNotAllowed","getChildren","1112176nfHfHz","createPositionFromPath","_reset","_transformMarkers","_licenseKeyCheckInterval","_processRootBeforeSave","merge","_savedMetaData","split","attributesAfter","includes","getRoot","revisionHistoryLicenseKeyDomainLimit","addRootAttribute","string","oldRange","dataDowncast","_initialRevisionId","attachChange","childCount","_createFromRanges","setSource","locale","_baseRoots","filter","2950CZtbDM","Users","_findInsertionIndex","fromEntries","645908RCbzUW","define","parent","RealTimeCollaborationClient","path","_startingVersion","editor-initial-data-replaced-with-revision-data","find","sort","reverse","getRevision","isEnabled","isReady","creator","_diffRoots","getAncestors","_setAttribute","446AJCEWB","tableCell","_fixOperation","add","_setConversion","version","_idsRoots","createRevision","getMovedRangeStart","_bufferedUpdates","children"];return(Vn=function(){return t})()}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Ln().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=303]})(t,e)}function Jn(){const t=["revisionName","set","reset","ck-responsive-form","Name of the revision","1333671EOJuDu","add","input","23334nUCfjg","15268550zfqDLR","value","11847996mPcpqB","render","keystrokes","focus","4uyxILv","166VVUWFA","revisionNameInputValue","arrowleft","setTemplate","6613350AgWrtr","44gPXgeQ","arrowup","ck-revision-history-save-revision-form","trim","_createRevisionNameInput","revisionNameInputView","16572rsKNIf","form","element","fieldView","label","arrowright","arrowdown","optional","220","extendTemplate","2611AcCsKg","errorText","stopPropagation","7361154XCPfjW","8BvtRiH","locale","focusTracker","listenTo"];return(Jn=function(){return t})()}!function(t){const e=Gn,i=t();for(;;)try{if(954095===parseInt(e(334))/1*(-parseInt(e(345))/2)+-parseInt(e(323))/3*(-parseInt(e(333))/4)+-parseInt(e(338))/5+parseInt(e(326))/6*(-parseInt(e(310))/7)+-parseInt(e(314))/8*(parseInt(e(313))/9)+parseInt(e(327))/10+-parseInt(e(339))/11*(-parseInt(e(329))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Xn extends En.View{constructor(e,i){const n=Gn;super(e),this[n(316)]=new t.FocusTracker,this[n(331)]=new t.KeystrokeHandler,this[n(319)](n(335),""),this[n(344)]=this[n(343)](i),this[n(337)]({tag:n(346),attributes:{class:["ck",n(341),n(321)],tabindex:"-1"},children:[this[n(344)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(330)](){const t=Yn;super[t(330)](),(0,En.submitHandler)({view:this}),this[t(316)][t(324)](this[t(344)][t(347)]),this[t(331)][t(317)](this[t(347)]);const e=e=>e[t(312)]();this[t(331)][t(319)](t(305),e),this[t(331)][t(319)](t(336),e),this[t(331)][t(319)](t(340),e),this[t(331)][t(319)](t(306),e)}[Yn(332)](){const t=Yn;this[t(344)][t(332)]()}get[Yn(318)](){const t=Yn;return this[t(344)][t(303)][t(347)][t(328)][t(342)]()}set[Yn(318)](t){const e=Yn;this[e(344)][e(303)][e(347)][e(328)]=t[e(342)]()}[Yn(320)](){const t=Yn;this[t(344)][t(303)][t(347)][t(328)]="",this[t(344)][t(311)]=null}[Yn(343)](t){const e=Yn,i=new En.LabeledFieldView(this[e(315)],En.createLabeledInputText),n=i[e(303)];n[e(309)]({attributes:{maxlength:e(308)}});let r=Qi(this[e(315)],e(322));return!t&&(r+=" ("+Qi(this[e(315)],e(307))+")"),i[e(304)]=r,n.on(e(325),(()=>{const t=e;this[t(335)]=n[t(347)][t(328)][t(342)]()})),i}}const Kn=tr;function Qn(){const t=["menuitem","876136pMHrob","componentFactory","editing","revisionHistory","isOfficialPlugin","Revision history","4641872pDdoXn","role","locale","2937468ZtPmAW","_saveRevisionFormView","Save current revision","isEnabled","revisionSave","2175099GnReoT","_registerMenuComponent","481743GfRvSj","Dialog","5EFntjx","get","reset","RevisionHistoryUI","show","revisionNameInputView","revisionName","showRevisionViewerCallback","saveRevision","plugins","RevisionTracker","panelView","hide","menuBar:revisionHistory","children","buttonView","isPremiumPlugin","7MvLEWN","addMany","The revision name cannot be empty.","view","render","delegate","2jboXIn","12897420NUuDao","5694352xndCUr","menu","isReadOnly","revisionHistory.requireRevisionName","isOpen","requires","focus","pluginName","execute","history","items","Cancel","submit","add","Open revision history","_createSaveRevisionFormView","isReady","init","errorText","set","_showDialog","config","ck-button-action","editor","bind","Accept"];return(Qn=function(){return t})()}function tr(t,e){const i=Qn();return(tr=function(t,e){return i[t-=355]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(582598===-parseInt(e(416))/1*(-parseInt(e(375))/2)+parseInt(e(389))/3+-parseInt(e(381))/4*(parseInt(e(393))/5)+-parseInt(e(384))/6+parseInt(e(410))/7*(-parseInt(e(418))/8)+parseInt(e(391))/9+parseInt(e(417))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qn);class er extends qi.Plugin{static get[Kn(355)](){return Kn(396)}static get[Kn(379)](){return!0}static get[Kn(409)](){return!0}static get[Kn(423)](){return[On]}[Kn(365)](){const t=Kn,e=this[t(371)],i=e[t(402)][t(394)](t(403));e.ui[t(376)][t(361)](t(378),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(404)][r(407)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(372)](r(387)).to(i,r(364),i,r(387),e,r(420),((t,e,i)=>t&&e&&!i)),s[r(408)][r(367)]({icon:qi.icons[r(357)],label:Qi(n,r(380)),tooltip:!0}),u[r(367)]({label:Qi(n,r(386)),withText:!0,role:r(374)}),u[r(372)](r(387)).to(i,r(364),i,r(387),e,r(420),((t,e,i)=>t&&e&&!i)),u.on(r(356),(()=>this[r(368)]())),h[r(367)]({label:Qi(n,r(362)),withText:!0,role:r(374)}),h[r(372)](r(387)).to(i,r(364),e,r(420),((t,e)=>t&&!e)),h.on(r(356),(()=>{const t=r;e[t(369)][t(394)](t(378))[t(400)](),s[t(422)]=!1,e[t(377)][t(413)][t(424)]()})),c[r(407)][r(361)](u),l[r(407)][r(361)](h),a[r(382)]=r(419),a[r(358)][r(411)]([c,l]),o[r(361)](a),s})),e.ui[t(376)][t(361)](t(406),(()=>this[t(390)]()))}[Kn(390)](){const t=Kn,e=this[t(371)],i=e[t(383)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(408)][t(367)]({icon:qi.icons[t(357)],label:Qi(i,t(380))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(367)]({label:Qi(i,t(386))}),o[t(415)](t(356)).to(n),o.on(t(356),(()=>{this[t(368)]()})),s[t(407)][t(361)](o),r[t(358)][t(361)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(367)]({label:Qi(i,t(362))}),c[t(415)](t(356)).to(n),c.on(t(356),(()=>{const i=t;e[i(369)][i(394)](i(378))[i(400)]()})),a[t(407)][t(361)](c),r[t(358)][t(361)](a),n[t(404)][t(407)][t(361)](r),n}[Kn(368)](){const t=Kn,e=this[t(371)],i=e[t(383)],n=e[t(402)][t(394)](t(392)),r=e[t(402)][t(394)](t(403));function s(r){const s=t;e[s(369)][s(394)](s(421))&&""===r[s(399)]?r[s(398)][s(366)]=Qi(i,s(412)):(e[s(402)][s(394)](On)[s(401)]({name:r[s(399)]}),n[s(405)]())}this[t(385)]||(this[t(363)](),this[t(385)].on(t(360),(()=>s(this[t(385)])))),this[t(385)][t(395)](),n[t(397)]({id:t(388),title:Qi(i,t(386)),isModal:!0,content:this[t(385)],actionButtons:[{label:Qi(e[t(383)],t(359)),withText:!0,onExecute:()=>n[t(405)]()},{label:Qi(e[t(383)],t(373)),class:t(370),withText:!0,onCreate(i){const n=t;i[n(372)](n(387)).to(r,n(364),r,n(387),e,n(420),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(385)])}]})}[Kn(363)](){const t=Kn,e=this[t(371)],i=e[t(383)];this[t(385)]=new Xn(i,e[t(369)][t(394)](t(421))),this[t(385)][t(414)]()}}function ir(t,e){const i=rr();return(ir=function(t,e){return i[t-=100]})(t,e)}const nr=ir;function rr(){const t=["_model","493352Pmvsot","set","2030witBlS","1090476GOZFGA","type","element","12GxLATm","402054irtKrO","changeId","bindTemplate","ck-revision-change","846CRHeXW","focus","2cYPUaF","add","103535EJgdIY","setTemplate","ck-revision-change__label","div","data","name","ck-annotation","ck-revision-change__","isSuggestion","span","Added by","3621101MAhVnD","Removed by","author","28RyDqmZ","656995JngkWh","Suggested by"];return(rr=function(){return t})()}!function(t){const e=ir,i=t();for(;;)try{if(141901===-parseInt(e(115))/1*(parseInt(e(113))/2)+parseInt(e(107))/3+parseInt(e(103))/4+parseInt(e(130))/5*(-parseInt(e(106))/6)+parseInt(e(129))/7*(-parseInt(e(100))/8)+-parseInt(e(111))/9*(-parseInt(e(102))/10)+parseInt(e(126))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends En.View{constructor(t,e){const i=ir;super(t),this[i(132)]=e,this[i(108)]=e.id;const n=this[i(109)],r=Qi(t,e[i(119)][i(123)]?i(131):i(114)==e[i(104)]?i(125):i(127));this[i(101)](i(104),e[i(104)]),this[i(116)]({tag:i(118),attributes:{class:[i(121),i(110),n.to(i(104),(t=>i(122)+t))],tabindex:-1},children:[{tag:i(124),children:[{tag:i(124),attributes:{class:[i(117)]},children:[{text:r}]},{text:" "+e[i(128)][i(120)]}]}]})}[nr(112)](){const t=nr;this[t(105)][t(112)]()}}function or(){var t=["323620gAKnwt","879516EZWlgU","toJSON","type","rootName","430mtAGoF","2913579SNOolK","70036QkJFhf","10600dbpVOv","set","325LwQHOe","139372GyMPkC","14ivTjoS","author","3269rXBnjk","data","createdAt","49716IpOPtd"];return(or=function(){return t})()}function ar(t,e){var i=or();return(ar=function(t,e){return i[t-=249]})(t,e)}var cr=ar;!function(t){for(var e=ar,i=t();;)try{if(317155===-parseInt(e(264))/1*(-parseInt(e(251))/2)+parseInt(e(258))/3+-parseInt(e(250))/4+parseInt(e(249))/5*(parseInt(e(256))/6)+parseInt(e(253))/7*(parseInt(e(265))/8)+-parseInt(e(263))/9+parseInt(e(262))/10*(-parseInt(e(257))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(or);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(252)]=e[i(252)],this[i(260)]=e[i(260)],this[i(254)]=e[i(254)]||{},this[i(261)]=e[i(261)],this[i(266)](i(255),e[i(255)])}[cr(259)](){var t=cr;return{id:this.id,authorId:this[t(252)].id,type:this[t(260)],data:this[t(254)],createdAt:this[t(255)]}}}const lr=dr;function hr(){const t=["7774088PmUJFw","newRevisionId","75252DCiCoP","190GGmDTV","7KeSPlQ","40106CclgaR","changes","4284801yHVJze","1964898VfeWrm","add","47NilSWN","9974640HOcsAi","_setChanges","oldRevisionId","45694sVegQN","11260gMoXYy"];return(hr=function(){return t})()}function dr(t,e){const i=hr();return(dr=function(t,e){return i[t-=175]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(892437===parseInt(e(180))/1*(-parseInt(e(184))/2)+parseInt(e(177))/3+parseInt(e(188))/4*(-parseInt(e(189))/5)+-parseInt(e(181))/6+parseInt(e(190))/7*(-parseInt(e(186))/8)+-parseInt(e(178))/9+-parseInt(e(185))/10*(-parseInt(e(175))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hr);class fr{constructor(e,i){const n=dr;this[n(187)]=e,this[n(183)]=i,this[n(176)]=new t.Collection}[lr(182)](t){const e=lr;for(const i of t)this[e(176)][e(179)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=gr();return(yr=function(t,e){return i[t-=327]})(t,e)}function gr(){const t=["_getViewObj","ck-suggestion-marker-merge","addRevisionData","isAttached","bottom","remove","getChild","isSuggestion","revisionHistoryLabel","_markInsertions","getRootNames","affectsData","_removeRevisionMarkers","3895VVUcBQ","changeId","getRevision","softBreak","push","getIndex","ck-revision-history-root-","isIncorrect","comment","toViewPosition","start","slice","split","_joinTapes","destroy","_revisions","elementStart","_data","-new","getLaterVisibleRevision","unshift","removeMarker","setAttribute","revision","editing","RevisionsRepository","875296XzPXyY","catch","updatePosition","_threeWayMerge","toData","execute","commands","from","authors","editor","side","string","restoreRevisionCallback","enqueueChange","1060832pOAooY","isRemoved","forEach","change","vid","_step","createPositionFromPath","_changeIdToChange","first","filter","revision-viewer","listenTo","ck-suggestion-preview-marker","uiElement","isPremiumPlugin","addMarker:revision-suggestion:insertion","nextPosition","getAttribute","revisionHistoryAttachChange","range","_findChangeIdFromDomTarget","vid_start","unbindElementFromMarkerName","elementToAttribute","removeClass","removeMarker:revision","addHighlight","_cleanUp","marked","isNavigationMode","indexOf","isBlock","data","useFillerType","3324FyTcWC","change:isReady","isAtStart","insertions","markerRange","_processTape","loadRevisionData","element:pre","insert","highest","_initInteractions","markerName","_getViewForChange","isBefore","object","_appendChild","splice","pluginName","addClass","then","values","change:isEnabled","merge","ck-editor__editable__overlay","data-revision-","oldRevisionId","attributes","ck-revision-history-root-add","addMarker:revision","activeChange","createAttributeElement","shift","forceDisabled","641115pnpNry","change:numberOfChanges","parse","change:activeChange","isReady","getItems","POSITIVE_INFINITY","createRange","_makeModelFromViewString","_sortAndFilterDiffChanges","repository","span","addRoot","ck-revision-history-root-remove","distance","getWalker","locale","concat","restoreRevision","_makeTape","markerNameToElements","domEvent","vid_end","getDomRoot","revision-comment:","suggestion:","delete","maxOffset","endIndex","addMarker:revision-suggestion:deletion","_markMarkers","isObject","rootName","domConverter","checkAttribute","_activeViewTarget","_fixObsoleteTags","keys","set","backward","newRevisionId","target","isAfter","currentChangeNumber","_getDiff","352953FzAxUa","showNextChange","default","children","8922865wOjwLH","attributesAfter","_getChangeFromId","isAtEnd","detachRoot","markersEnd","type","revision:","map","deletion","done","init","name","ck-suggestion-marker-","attributesBefore","pop","schema","hasAttribute","code","clear","conversion","_cleanMarkers","stop","model","_setChanges","isOfficialPlugin","ck-suggestion-marker","forward","1855244WCxCTZ","adapter","wrap","addRevision","showPreviousChange","isContent","hasClass","_refreshStartEndIndex","createPositionBefore","for","toViewElement","consume","error","isOnRoot","low","return","selection","config","view","upcast","RevisionViewer","bindElementToMarker","text","getClientRects","_getRevisionsRange","WidgetToolbarRepository","writer","end","sort","_setDistance","findIndex","createUIElement","document","diff","removeAttribute","change:activeView","reconvertMarker","deletions","nodeAfter","ck-suggestion-marker-split","dataDowncast","observeMarkers","_setConversion","ck-suggestion-preview-marker-","markerToData","ck-revision-history-root--active","enableReadOnlyMode","attachChange","high","userId","find","requires","_balloon","revision-suggestion:","abs","_markMismatchedRemovedTags","mapViewToDom","next","diffData","_update","item","downcastDispatcher","pairId","dataToMarker","add","mapper","get","getRevisionRootsAttributes","isEnabled","mouseover","removeMarker:revision-suggestion","bind","_changeView","getRevisionData","length","_removeUnsupportedChanges","_removeMissingPairs","isInline","_markSuggestions","revision-suggestion","changes","markers","createRevision","compare","index","376nJRmdg","toModel","resolve","markerToHighlight","refresh","plugins","collaboration.channelId","revision-start","attribute:vid","isEqual","isAddSuggestion","level","flat","elementEnd","isLimit","isRemoveSuggestion","ck-suggestion-marker--active","markersStart","element","mousedown","consumable","suggestion","nextSibling","processor","startsWith","activeView","getCustomProperty","has","right","revision-end","all","numberOfChanges","_makeModelFromTape","modelRange","toViewRange","revisionHistory","data-change-id","previousPosition","roots","insertion","top","getRoot","editingDowncast","test","getAttributes","offsetSize","isAdded","startIndex","left","includes","parent","showStack","isCollapsed","createRangeIn","viewItem"];return(gr=function(){return t})()}!function(t){const e=yr,i=t();for(;;)try{if(939763===-parseInt(e(402))/1+parseInt(e(581))/2+parseInt(e(370))/3+-parseInt(e(595))/4+-parseInt(e(555))/5*(-parseInt(e(629))/6)+-parseInt(e(374))/7+-parseInt(e(487))/8*(-parseInt(e(662))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gr);const kr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class br extends qi.Plugin{static get[vr(646)](){return vr(422)}static get[vr(399)](){return!0}static get[vr(609)](){return!0}static get[vr(453)](){return[Bi.Users,En.ContextualBalloon,Ki]}constructor(t){const e=vr;super(t),this[e(335)]=this[e(590)][e(492)][e(468)](e(580)),this[e(363)](e(658),null),this[e(363)](e(512),null),this[e(360)]=null,this[e(363)](e(435),null),this[e(363)](e(329),!1),this[e(363)](e(470),!0),this.on(e(650),((t,i,n)=>{const r=e;this[r(658)]=null,this[r(512)]=null,this[r(590)][r(579)][r(420)][r(598)]((t=>{const e=r;for(const i of this[e(590)][e(579)][e(420)][e(434)][e(525)])n?t[e(619)](e(652),i):t[e(647)](e(652),i)}))})),this[e(473)](e(624)).to(this,e(658),(t=>null!==t)),this[e(473)](e(368)).to(this,e(329),this,e(435),this,e(658),((t,i,n)=>t&&n?i[e(482)][e(560)](n):0)),this[e(473)](e(518)).to(this,e(329),this,e(435),((t,i)=>t?i[e(482)][e(476)]:0)),this[e(474)]=null,this[e(602)]=new Map,this[e(403)]=null,this[e(454)]=this[e(590)][e(492)][e(468)](En.ContextualBalloon)}[vr(385)](){const t=vr,e=this[t(590)],i=new Ir(e,{direction:t(364)}),n=new Ir(e,{direction:t(401)});e[t(587)][t(466)](t(406),i),e[t(587)][t(466)](t(371),n),e[t(587)][t(466)](t(343),new _r(e)),this.on(t(663),(()=>{const e=t;i[e(491)](),n[e(491)]()})),this[t(444)](),this[t(639)](),e[t(448)](t(605)),e[t(492)][t(514)](t(427))&&e[t(492)][t(468)](t(427))[t(661)](t(605))}async[vr(475)](t){const e=vr;await this[e(635)](t);const i={};for(const n in t[e(460)]){if(t[e(460)][n][e(449)]&&!t[e(460)][n][e(449)][e(545)])continue;const r=this[e(554)](JSON[e(327)](t[e(460)][n][e(632)])),s=this[e(590)][e(579)][e(420)][e(434)],o=new Yi.ViewDocumentFragment(s,r[e(382)]((t=>this[e(542)](t))));this[e(590)][e(627)][e(510)][e(628)](e(623)),i[n]=this[e(590)][e(627)][e(510)][e(585)](o),this[e(590)][e(627)][e(510)][e(628)](e(372))}return i}async[vr(469)](t){const e=vr;await this[e(635)](t);const i={};for(const n in t[e(460)])t[e(460)][n][e(449)]&&!t[e(460)][n][e(449)][e(545)]||(i[n]=t[e(460)][n][e(375)]||{});return i}[vr(554)](t){const e=vr;return(t=t[e(604)]((t=>!t[e(386)]||e(494)!==t[e(386)]&&e(516)!==t[e(386)])))[e(597)]((t=>{const i=e;i(592)!=typeof t&&(t[i(373)]=this[i(554)](t[i(373)]),t[i(655)]=t[i(655)][i(604)]((t=>!t[0][i(511)](i(653)))))})),t}async[vr(485)](t,e,i=!1){const n=vr;if(!this[n(470)])return;const r=this[n(435)],s=this[n(335)],o=n(592)==typeof t?s[n(557)](t):t,a=n(592)==typeof e?s[n(557)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(435)]&&this[n(435)][n(365)]===c&&this[n(435)][n(654)]===u)return Promise[n(489)]();this[n(329)]=!1,this[n(512)]=null,this[n(658)]=null,this[n(435)]=new fr(c,u);const l=this[n(426)](o,a,!0)[n(382)]((t=>this[n(635)](t)));return l[n(559)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(517)](l)[n(648)]((()=>{const t=n;if(!this[t(470)])return;this[t(622)]();const e=this[t(369)](c,u);for(const i of e[t(482)])this[t(602)][t(363)](i.id,i);this[t(590)][t(397)][t(594)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(590)][n(397)][n(434)][n(552)]())i[n(378)](t);for(const t of Object[n(362)](e[n(397)])){const r=i[n(337)](t);for(const s of Object[n(362)](e[n(655)][t]))i[n(577)](s,e[n(655)][t][s],r);i[n(637)](e[n(397)][t],r,0)}})),this[t(435)][t(398)](this[t(334)](e[t(482)])),this[t(329)]=!0}))[n(582)]((t=>{const e=n;console[e(414)](t),this[e(622)](),r&&(this[e(435)]=r),this[e(329)]=!0}))}[vr(544)](t,e){const i=vr,n=this[i(335)][i(484)](t);return n.on(i(461),((t,i,r)=>e(i,r,n))),this[i(335)][i(405)](n),n}[vr(635)](t){const e=vr;if(!t||t[e(460)])return Promise[e(489)]();{const i=this[e(590)][e(419)][e(468)](e(493));return this[e(403)][e(557)]({channelId:i,revisionId:t.id})[e(648)]((i=>{const n=e;t[n(461)]({diffData:i[n(460)]},!0)}))}}[vr(622)](){const t=vr;this[t(658)]=null,this[t(395)](),this[t(474)]&&this[t(474)][t(569)](),this[t(474)]=null,this[t(602)][t(393)](),this[t(590)][t(397)][t(594)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(590)][i(397)][i(434)][i(552)]())e[i(378)](t)}))}[vr(334)](t){const e=vr,i=[],n=new Map;for(const t of this[e(590)][e(397)][e(434)][e(552)]()){const r=this[e(590)][e(579)][e(420)][e(348)](t);if(!r)continue;const s=r[e(425)]()[e(462)](0);s&&(i[e(559)](t),n[e(363)](t,s))}return i[e(430)](((t,i)=>{const r=e,s=n[r(468)](t),o=n[r(468)](i);return s.y-o.y||s.x-o.x})),(t=t[e(604)]((t=>i[e(536)](t[e(357)]))))[e(430)](((t,n)=>i[e(625)](t[e(357)])-i[e(625)](n[e(357)]))),t}[vr(344)](t){const e=vr,i=Array[e(588)](t[e(483)])[e(604)]((([t,i])=>t[e(511)](e(381))&&!i[e(539)])),n=Array[e(588)](this[e(590)][e(397)][e(540)](t)[e(340)]({singleCharacters:!0}));if(0!=i[e(476)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(567)](":");if(r[e(429)][e(496)](t[e(611)])&&i[e(660)](),(t[e(524)][e(496)](r[e(565)])||t[e(524)][e(367)](r[e(565)]))&&(e(526)==s?t[e(533)]={userId:o}:e(383)==s&&(t[e(596)]={userId:o})),0==i[e(476)])break}return n}[vr(409)](t){const e=vr,i=new Map;for(let n=0;n<t[e(476)];n++)e(424)===t[n][e(380)]?(t[n][e(462)][e(534)]=n,t[n][e(462)][e(353)]=n):(e(571)===t[n][e(380)]?t[n][e(462)][e(534)]=n:e(500)===t[n][e(380)]&&(t[n][e(462)][e(353)]=n),i[e(363)](t[n].id,n));for(const n of i[e(649)]())e(571)===t[n][e(380)]?t[n][e(462)][e(353)]=i[e(468)](t[n][e(464)]):e(500)===t[n][e(380)]&&(t[n][e(462)][e(534)]=i[e(468)](t[n][e(464)]))}[vr(634)](t){const e=vr;for(let i=0;i<t[e(476)];i++){if(e(571)===t[i][e(380)])t[i][e(462)][e(534)]=i;else if(e(500)===t[i][e(380)]){t[i][e(462)][e(353)]=i;const n=t[i][e(462)][e(534)];t[n][e(464)]=t[i].id,t[i][e(464)]=t[n].id}else t[i][e(462)][e(534)]=i,t[i][e(462)][e(353)]=i,t[i][e(464)]=null;t[i][e(504)]||(t[i][e(504)]=[],t[i][e(379)]=[])}}[vr(551)](t,e){const i=vr,n=t[i(604)]((t=>!t[i(533)]));for(let t=0;t<e[i(476)];t++)e[t][i(533)]&&(n[t][i(533)]=e[t][i(533)])}[vr(333)](t){const e=vr,i=JSON[e(327)](t),n=this[e(590)][e(579)][e(420)][e(434)],r=new Yi.ViewDocumentFragment(n,i[e(382)]((t=>this[e(542)](t))));return this[e(590)][e(627)][e(488)](r)}[vr(542)](t){const e=vr,i=this[e(590)][e(579)][e(420)][e(434)];if(e(592)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(373)][e(382)]((t=>this[e(542)](t)));return new(kr[t[e(380)]]||Yi.ViewElement)(i,t[e(386)],t[e(655)],n)}}[vr(369)](t,e=null){const i=vr,n=this[i(335)][i(557)](t),r=e?this[i(335)][i(557)](e):null,s=this[i(426)](n,r),o=s[s[i(476)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(476)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(362)](e[i(460)]))if(e[i(460)][t][i(449)]){const n=e[i(460)][t][i(449)];n[i(545)]?(u[i(466)](t),l[i(514)](t)&&l[i(468)](t)[i(451)]==n[i(451)]?l[i(351)](t):l[i(363)](t,n)):l[i(514)](t)?(u[i(351)](t),l[i(351)](t)):(u[i(466)](t),l[i(363)](t,n))}else u[i(466)](t)}for(const t of u){const e=l[i(514)](t)&&!l[i(468)](t)[i(545)];let n=e?s[i(476)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(460)][t]){const n=e?o[i(460)][t][i(388)]:o[i(460)][t][i(375)];c[i(655)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(397)]={};for(const e of t[i(589)])a[i(363)](e.id,e);for(const e of u){const n=t[i(460)][e]?t[i(460)][e][i(632)]:"[]",r=t[i(460)][e]?t[i(460)][e][i(439)]:"[]";t[i(397)][e]={insertions:this[i(333)](n),deletions:this[i(333)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(588)](n[i(397)][t][i(632)][i(483)])[i(604)]((([t])=>!t[i(511)](i(381)))));let h=0;for(const o of s){const s=this[i(344)](o[i(397)][t][i(632)]);o==n?(e=s,r=e[i(476)],e[i(597)]((t=>{t.id=h++})),this[i(634)](e)):this[i(551)](e,s);const a=e[i(604)]((t=>!t[i(533)]))[i(382)]((t=>t.id));let c=0;const l=this[i(344)](o[i(397)][t][i(439)]);l[i(597)]((t=>{t[i(596)]?t.id=r++:t.id=a[c++]})),this[i(634)](l),this[i(431)](e,i(533)),this[i(431)](l,i(596)),o==n&&this[i(355)](e,u),e=this[i(568)](e,l),this[i(409)](e),this[i(431)](e,i(596))}e=e[i(604)]((t=>!(t[i(533)]&&t[i(596)])));const d=new Map(o[i(397)][t][i(439)][i(483)]),f=new Set(u[i(362)]());for(const t of d[i(362)]())f[i(351)](t);this[i(480)](e,f),this[i(361)](e),e=this[i(478)](e),e=this[i(457)](e),e=this[i(477)](e);const{root:m,changes:p}=this[i(519)](e,a,t);c[i(397)][t]=m;const v=l[i(468)](t);if(v){const e=a[i(468)](v[i(451)]),n=new ur({author:e,type:v[i(545)]?i(466):i(547),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(575)](n),c[i(655)][t][i(613)]=n.id}c[i(482)]=c[i(482)][i(342)](p)}return c}[vr(355)](t,e){const i=vr;for(let n=0;n<t[i(476)];n++)for(const[r,s]of e)s[i(565)][i(496)](t[n][i(524)])&&t[n][i(504)][i(559)](r),s[i(429)][i(496)](t[n][i(611)])&&t[n][i(379)][i(559)](r)}[vr(568)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(476)]||s<e[i(476)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(559)](o);else if(a[i(596)]&&o[i(533)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(584)](t,r,e,s);n=n[i(342)](o),r=a,s=c}else a[i(596)]?(s++,n[i(559)](a)):(r++,n[i(559)](o))}return n}[vr(480)](t,e){const i=vr,n=[];for(let o=0;o<t[i(476)];o++){for(let s=0;s<t[o][i(504)][i(476)];s++){const a=t[o][i(504)][s];if(!e[i(514)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(481)!=c||i(526)!=u&&i(383)!=u||(n[i(575)]({type:u,name:a,userId:l}),t[o][i(504)][i(645)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(379)][i(476)];s++){const a=t[o][i(379)][s];if(!e[i(514)](a))continue;const{group:c,type:u}=r(a);if(i(481)!=c||i(526)!=u&&i(383)!=u)continue;t[o][i(379)][i(645)](s,1),s--;const l=n[i(432)]((t=>t[i(386)]==a));l>-1&&n[i(645)](l,1)}}function r(t){const e=i,n=t[e(567)](":");return{group:n[0],type:n[1],subType:n[e(476)]>=5?n[2]:null,id:n[e(476)]<5?n[2]:n[3],authorId:n[e(476)]<5?n[3]:n[4],markerCount:6==n[e(476)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(476)];i++){if(t[e(533)]&&e(526)==n[i][e(380)])return t[e(497)]=n[i],void delete t[e(533)];if(!t[e(533)]&&!t[e(596)]&&e(383)==n[i][e(380)])return void(t[e(502)]=n[i])}}}[vr(431)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(363)](o.id,n);for(let n=0;n<t[i(476)];n++){if(i(596)==e&&t[n][i(533)]||i(533)==e&&t[n][i(596)])continue;if(i(424)==t[n][i(380)]){t[n][i(339)]=0;continue}const r=s[i(468)](t[n][i(464)]),o=s[i(468)](t[n].id);t[n][i(339)]=r-o}}[vr(426)](t,e,i=!1){const n=vr,r=[];let s=this[n(335)][n(560)](t),o=this[n(335)][n(560)](e);for(-1==o&&(o=this[n(335)][n(570)][n(476)],i=!1);s<o;)r[n(559)](this[n(335)][n(557)](s)),s++;return i&&r[n(559)](this[n(335)][n(557)](s)),r}[vr(584)](t,e,i,n){const r=vr,s=this[r(590)][r(397)][r(390)];let o=e;for(;t[o]&&t[o][r(533)];)o++;let a=n;for(;i[a]&&i[a][r(596)];)a++;u(t,e,o),u(i,n,a);const c=i[r(566)](n,a)[r(342)](t[r(566)](e,o));return c[r(430)](((t,e)=>t[r(591)]!=e[r(591)]?t[r(591)]-e[r(591)]:t[r(498)]!=e[r(498)]?t[r(498)]-e[r(498)]:t[r(339)]!=e[r(339)]?e[r(339)]-t[r(339)]:!!t[r(533)]!=!!e[r(533)]?-1==t[r(591)]||0==t[r(591)]?t[r(533)]?-1:1:t[r(533)]?1:-1:t[r(486)]-e[r(486)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(331)],c=!0;for(let r=e;r<i;r++)if(s[n(479)](t[r][n(462)])||(c=!1),t[r][n(462)][n(534)]<e&&(o=r),t[r][n(462)][n(353)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(591)]=r<=o?-1:r<a?0:1,t[r][n(486)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(339)]?t[i][n(498)]=u:(u++,t[i][n(498)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(591)]&&(t[r][n(498)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(339)]?t[e][n(498)]=u:(u--,t[e][n(498)]=u,u--)}}[vr(361)](t){const e=vr,i=new Map,n=this[e(590)][e(397)][e(390)];for(let r=1;r<t[e(476)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(424)==c[e(380)])continue;if(c[e(380)]!=u[e(380)])continue;if(!n[e(626)](u[e(462)])||n[e(501)](u[e(462)]))continue;if(!n[e(626)](c[e(462)])||n[e(501)](c[e(462)]))continue;if((t[r][e(533)]||t[r][e(497)])&&t[r-1][e(596)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(596)]||!t[r-1][e(533)]&&!t[r-1][e(497)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(498)]==o[e(498)],h=Math[e(456)](s[e(498)])<Math[e(456)](o[e(498)])&&0==o[e(339)];(l||h)&&(i[e(363)](o.id,s.id),t[e(645)](a,1),r--,s[e(533)]=!1)}for(let n=0;n<t[e(476)];n++)i[e(514)](t[n][e(464)])&&(t[n][e(464)]=i[e(468)](t[n][e(464)]))}[vr(478)](t){const e=vr,i=new Set(t[e(382)]((t=>t.id)));for(let n=0;n<t[e(476)];n++)i[e(514)](t[n][e(464)])||0==t[n][e(339)]||(t[n][e(562)]=!0);return t[e(604)]((t=>!t[e(562)]))}[vr(457)](t){const e=vr,i=new Set;for(let n=0;n<t[e(476)];n++){if(i[e(514)](t[n].id)&&t[n][e(596)]&&(t[n][e(562)]=!0),t[n][e(562)])continue;if(0==t[n][e(339)])continue;if(e(571)!=t[n][e(380)])continue;if(null==t[n][e(464)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(464)];)e(571)==t[r][e(380)]?s++:e(500)==t[r][e(380)]&&s--,r++;if(0!=s)if(t[n][e(596)])t[n][e(562)]=!0;else for(;r!=n;)t[r][e(596)]&&0!=t[r][e(339)]&&(t[r][e(562)]=!0,i[e(466)](t[r][e(464)])),r--}return t[e(604)]((t=>!t[e(562)]))}[vr(477)](t){const e=vr,i=this[e(590)][e(397)][e(390)];for(let n=0;n<t[e(476)];n++){if(!(t[n][e(533)]||t[n][e(497)]||t[n][e(596)]||t[n][e(502)]))continue;if(0==t[n][e(339)])continue;const r=t[n][e(462)];i[e(626)](r)||i[e(501)](r)||(t[n][e(533)]&&delete t[n][e(533)],t[n][e(497)]&&delete t[n][e(497)],t[n][e(502)]&&delete t[n][e(502)],t[n][e(596)]&&(t[n][e(562)]=!0))}return t[e(604)]((t=>!t[e(562)]))}[vr(519)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(590)][n(397)],c=a[n(390)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(476)];e++)if(n(571)===t[e][n(380)]){t[e][n(524)]=a[n(601)](r,f);const i=new Yi.Element(t[e][n(462)][n(386)],t[e][n(462)][n(531)]());u[0][n(644)](i),f[n(559)](0),u[n(575)](i),t[e][n(611)]=a[n(601)](r,f)}else n(500)===t[e][n(380)]?(u[n(660)](),t[e][n(524)]=a[n(601)](r,f),f[n(389)](),f[f[n(476)]-1]++,t[e][n(611)]=a[n(601)](r,f)):(t[e][n(524)]=a[n(601)](r,f),d?d[n(572)]+=t[e][n(462)][n(627)]:d=new Yi.Text(t[e][n(462)][n(627)],t[e][n(462)][n(531)]()),t[e+1]&&n(424)===t[e+1][n(380)]&&v(d,t[e+1][n(462)])||(u[0][n(644)](d),d=null),f[f[n(476)]-1]+=t[e][n(462)][n(532)],t[e][n(611)]=a[n(601)](r,f));for(let e=0;e<t[n(476)];e++){const i=t[e][n(524)],r=t[e][n(611)];for(const r of t[e][n(504)])o[n(363)](r,{start:i,end:null});m(n(502),e,i,r),m(n(497),e,i,r),m(n(596),e,i,r),m(n(533),e,i,r);for(const i of t[e][n(379)])o[n(468)](i)[n(429)]=r}for(const[t,e]of o){const i=this[n(590)][n(397)][n(332)](e[n(565)],e[n(429)]);r[n(483)][n(363)](t,i)}return s[n(430)](((t,e)=>{const i=n,s=r[i(483)][i(468)](i(381)+t.id),o=r[i(483)][i(468)](i(381)+e.id);return s[i(565)][i(642)](o[i(565)])?-1:s[i(565)][i(367)](o[i(565)])?1:s[i(429)][i(642)](o[i(429)])?-1:s[i(429)][i(367)](o[i(429)])?1:i(466)===t[i(380)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(451)]:null,d=i===t[o(476)]-1,f=h[e][0],m=c[o(356)](t[i][o(462)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(429)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(451)]!==u&&(l[e][o(429)]=r,f&&f[o(451)]===l[e][o(451)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(571)!==t[i][o(380)]||f&&f[o(451)]===u||h[e][o(575)]({userId:u,object:t[i][o(462)],change:l[e]}),o(500)===t[i][o(380)]&&f&&f[o(643)]===t[i][o(462)]&&(h[e][o(660)](),l[e]=f[o(598)])),l[e]&&d&&(l[e][o(429)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(462)],f=a[h(390)][h(626)](d)&&!a[h(390)][h(501)](d),m=t[h(440)]==o[h(537)]&&o[h(631)];if(f&&m)return;const p=a[h(332)](t,o),v=e[h(468)](u),y=new ur({author:v,type:h(533)==l||h(497)==l?h(466):h(547),data:{isSuggestion:h(497)==l||h(502)==l},createdAt:new Date,rootName:i});s[h(559)](y),r[h(483)][h(363)](h(381)+y.id,p)}function v(t,e){const i=n,r=t[i(531)](),s=e[i(531)]();for(const t of r){if(t[1]!==e[i(612)](t[0]))return!1;s[i(459)]()}return s[i(459)]()[i(384)]}}[vr(444)](){const t=vr;this[t(590)][t(394)][t(411)](t(421))[t(465)]({view:t(578)}),this[t(590)][t(394)][t(411)](t(529))[t(490)]({model:t(578),view:e=>{const i=t,n=e[i(640)][i(567)](":")[1],r=this[i(376)](n);if(!r)return null;const s=i(466)==r[i(380)]?i(526):i(383),o=[i(400),i(387)+s];return r[i(627)][i(549)]&&o[i(559)](i(387)+s+i(573)),this[i(658)]==r&&o[i(559)](i(503)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(590)][t(394)][t(411)](t(421))[t(466)]((e=>{const i=t;e.on(i(636),((t,e,n)=>{const r=i,s=e[r(541)][r(548)](0);if(!s||!s.is(r(505),r(392)))return;if(!n[r(507)][r(413)](s,{attributes:[r(616),r(347)]}))return;const o=e[r(520)][r(565)][r(440)];n[r(428)][r(577)](r(616),s[r(612)](r(616)),o),n[r(428)][r(577)](r(347),s[r(612)](r(347)),o)}),{priority:i(416)})})),this[t(590)][t(394)][t(411)](t(421))[t(466)]((e=>{const i=t;e.on(i(505),((t,e,n)=>{const r=i;if(!n[r(507)][r(413)](e[r(541)],{attributes:[r(616),r(347)]}))return;if(e[r(520)][r(539)])return;const s=e[r(520)][r(565)][r(440)];s[r(391)](r(616))||s[r(391)](r(599))||(n[r(428)][r(577)](r(616),e[r(541)][r(612)](r(616)),s),n[r(428)][r(577)](r(347),e[r(541)][r(612)](r(347)),s))}),{priority:i(416)})})),this[t(590)][t(394)][t(411)](t(421))[t(618)]({view:{name:t(336),attributes:{vid:!0}},model:{key:t(599),value:e=>e[t(612)](t(599))}}),this[t(590)][t(397)][t(390)].on(t(359),((e,[,i])=>{const n=t;[n(616),n(347),n(599)][n(536)](i)&&(e[n(417)]=!0,e[n(396)]())}),{priority:t(638)}),this[t(590)][t(394)][t(411)](t(442))[t(466)]((e=>{const i=t;e.on(i(495),((t,e,n)=>{const r=i;if(" "!=e[r(462)][r(627)]||e[r(462)][r(537)][r(352)]>1)return;if(!n[r(507)][r(413)](e[r(462)],t[r(386)]))return;const s=n[r(428)],o=n[r(467)][r(521)](e[r(614)]);s[r(404)](o,s[r(659)](r(336)))}))})),this[t(590)][t(394)][t(411)](t(442))[t(446)]({model:t(578)}),this[t(590)][t(579)][t(463)].on(t(657),function(e){const i=t,n=e[i(492)][i(468)](i(422));return(t,r,s)=>{const o=i,a=r[o(640)][o(567)](":")[1],c=n[o(376)](a);if(!c)return null;const u=o(466)==c[o(380)]?o(567):o(651);if(!s[o(507)][o(530)](r[o(633)],t[o(386)]))return;const l=r[o(633)][o(340)](),h=r[o(633)][o(565)],d=e[o(397)][o(390)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(462)];p=p||d[o(407)](e);const i=s[o(467)][o(412)](e);if(i&&i[o(513)](o(621)))return;o(500)==t[o(380)]&&d[o(626)](e)&&!d[o(501)](e)&&(e[o(509)]||h[o(377)]?f&&f[o(537)]==e||(f=e,y(t[o(524)]),v=!0):m=m||t[o(524)])}function y(t){const e=o,i=s[e(428)][e(433)](e(336),{class:e(387)+u}),a=s[e(467)][e(564)](t);c[e(627)][e(549)]&&s[e(428)][e(647)](e(387)+u+e(573),i),n[e(658)]==c&&s[e(428)][e(647)](e(503),i),s[e(428)][e(637)](a,i),s[e(467)][e(423)](i,r[e(640)])}p||v||!m||y(m)}}(this[t(590)]),{priority:t(450)}),this[t(590)][t(579)][t(463)].on(t(620),((e,i,n)=>{const r=t,s=n[r(467)][r(345)](i[r(640)]);if(s)for(const t of s)(t[r(408)](r(441))||t[r(408)](r(543)))&&(n[r(467)][r(617)](t,i[r(640)]),n[r(428)][r(547)](t))}),{priority:t(450)}),this[t(590)][t(579)][t(463)].on(t(657),((e,i,n)=>{const r=t,s=i[r(640)][r(567)](":")[1],o=this[r(376)](s);if(!o)return null;const a=r(466)==o[r(380)]?r(567):r(651);if(n[r(507)][r(530)](i[r(633)],e[r(386)]))for(const t of i[r(633)][r(330)]()){if(!t.is(r(505),r(558)))continue;const e=n[r(428)][r(433)](r(336),{class:r(387)+a}),s=n[r(467)][r(564)](this[r(590)][r(397)][r(410)](t));o[r(627)][r(549)]&&n[r(428)][r(647)](r(387)+a+r(573),e),this[r(658)]==o&&n[r(428)][r(647)](r(503),e),n[r(428)][r(637)](s,e),n[r(467)][r(423)](e,i[r(640)])}}),{priority:t(450)}),this[t(590)][t(397)][t(434)].on(t(598),(()=>{const e=t;this[e(590)][e(579)][e(420)][e(598)]((t=>{const i=e;for(const e of this[i(590)][i(397)][i(434)][i(552)]()){const n=this[i(590)][i(397)][i(434)][i(528)](e),r=this[i(590)][i(579)][i(420)][i(434)][i(528)](e);if(r){const e=n[i(612)](i(613));if(t[i(436)](i(523),r),t[i(619)](i(656),r),t[i(619)](i(338),r),t[i(619)](i(447),r),e){const n=this[i(376)](e);if(!n)return null;t[i(577)](i(523),e,r),t[i(647)](i(561)+n[i(380)],r),this[i(658)]==n&&t[i(647)](i(447),r)}}}}))})),this[t(590)][t(394)][t(411)](t(421))[t(465)]({view:t(563),model:e=>t(349)+e,converterPriority:t(638)}),this[t(590)][t(394)][t(411)](t(421))[t(465)]({view:t(508),model:e=>t(455)+e,converterPriority:t(638)}),this[t(590)][t(394)][t(411)](t(442))[t(446)]({model:t(481),view:e=>({name:t(350)+e,group:t(481)}),converterPriority:t(638)}),this[t(590)][t(394)][t(411)](t(529))[t(490)]({model:t(481),view:e=>{const i=t,n=e[i(640)][i(567)](":")[1];return i(526)!=n&&i(383)!=n?null:{classes:[i(607),i(445)+n]}}}),this[t(590)][t(579)][t(463)].on(t(354),wr(this[t(590)],t(651)),{priority:t(450)}),this[t(590)][t(579)][t(463)].on(t(610),wr(this[t(590)],t(567)),{priority:t(450)}),this[t(590)][t(579)][t(463)].on(t(472),((e,i,n)=>{const r=t,s=n[r(467)][r(345)](i[r(640)]);if(s)for(const t of s)t.is(r(608))&&(n[r(467)][r(617)](t,i[r(640)]),n[r(428)][r(547)](t))}),{priority:t(450)})}[vr(376)](t){const e=vr;return this[e(602)][e(468)](t)}[vr(641)](t){const e=vr;return this[e(474)]&&this[e(474)][e(569)](),this[e(474)]=new sr(this[e(590)][e(341)],t),this[e(474)]}[vr(639)](){const t=vr;this[t(590)][t(397)][t(434)][t(418)][t(443)](t(578)),this.on(t(437),((e,i,n,r)=>{const s=t;r&&this[s(454)][s(547)](r),n&&(this[s(454)][s(466)]({view:n,stackId:s(550),position:{target:()=>{const t=s,e=this[t(590)][t(579)],i=this[t(376)](n[t(556)]);let r;if(i[t(627)][t(415)]){const n=e[t(420)][t(348)](i[t(357)]);r=Array[t(588)](n[t(425)]())}else{const i=this[t(590)][t(397)][t(483)][t(468)](t(381)+n[t(556)]);r=Array[t(588)](e[t(467)][t(345)](i[t(386)]))[t(382)]((i=>e[t(420)][t(358)][t(458)](i)))[t(382)]((e=>Array[t(588)](e[t(425)]())))[t(499)]()}return this[t(360)]&&r[t(452)]((e=>e[t(527)]-3<=this[t(360)].y&&e[t(546)]+3>=this[t(360)].y&&e[t(535)]-3<=this[t(360)].x&&e[t(515)]+3>=this[t(360)].x))||r[0]}}}),this[s(454)][s(538)](s(550)))})),this.on(t(328),((e,i,n,r)=>{const s=t;this[s(512)]=n?this[s(641)](n):null,this[s(590)][s(397)][s(598)]((()=>{const t=s,e=this[t(590)][t(579)];r&&(r[t(627)][t(415)]?e[t(420)][t(598)]((i=>{const n=t;i[n(619)](n(447),e[n(420)][n(434)][n(528)](r[n(357)]))})):e[t(438)](t(381)+r.id)),n&&(n[t(627)][t(415)]?e[t(420)][t(598)]((i=>{const r=t;i[r(647)](r(447),e[r(420)][r(434)][r(528)](n[r(357)]))})):e[t(438)](t(381)+n.id))}))})),this[t(606)](this[t(590)][t(579)][t(420)][t(434)],t(471),((e,i)=>{const n=t;if(this[n(658)])return;const r=this[n(615)](i[n(366)]),s=this[n(602)][n(468)](r);s?(this[n(360)]={x:i[n(346)].x,y:i[n(346)].y},this[n(512)]=this[n(641)](s)):(this[n(360)]=null,this[n(512)]=null)})),this[t(606)](this[t(590)][t(579)][t(420)][t(434)],t(506),((e,i)=>{const n=t,r=this[n(615)](i[n(366)]),s=this[n(602)][n(468)](r);s?(this[n(360)]={x:i[n(346)].x,y:i[n(346)].y},s===this[n(658)]?this[n(454)][n(583)]():this[n(658)]=s):(this[n(360)]=null,this[n(658)]=null)}))}[vr(615)](t){const e=vr;do{const i=t[e(612)](e(523));if(i)return i;t=t[e(537)]}while(t);return null}[vr(395)](){const t=vr;this[t(590)][t(397)][t(598)]((e=>{const i=t;for(const t of this[i(590)][i(397)][i(483)])e[i(576)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=yr;if(!r[s(507)][s(530)](n[s(633)],i[s(386)]))return;const o=n[s(633)][s(340)](),a=n[s(633)][s(565)],c=t[s(397)][s(390)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(462)];h=h||c[s(407)](e);const i=r[s(467)][s(412)](e);if(i&&i[s(513)](s(621)))return;s(500)==t[s(380)]&&c[s(626)](e)&&!c[s(501)](e)&&(e[s(509)]||a[s(377)]?u&&u[s(537)]==e||(u=e,f(t[s(524)]),d=!0):l=l||t[s(524)])}function f(t){const i=s,o=r[i(467)][i(564)](t),a=r[i(428)][i(433)](i(336),{class:i(445)+e});r[i(428)][i(637)](o,a),r[i(467)][i(423)](a,n[i(640)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(492)][e(468)](br);this[e(553)]=!1,this[e(606)](i,e(630),(()=>this[e(491)]())),this[e(606)](i,e(650),(()=>this[e(491)]()))}[vr(586)](){const t=vr,e=this[t(590)],i=e[t(492)][t(468)](br),n=i[t(329)]?i[t(435)][t(365)]:null;e[t(419)][t(468)](t(522))[t(593)](n)}[vr(491)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(590)][t(492)][t(468)](br),s=r&&n[t(574)](r[t(365)]);this[t(470)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(492)][i(468)](br);this[i(553)]=!1,this[i(600)]=i(401)===e?1:-1,this[i(606)](n,i(630),(()=>this[i(491)]())),this[i(606)](n,i(650),(()=>this[i(491)]())),this[i(606)](n,i(328),(()=>this[i(491)]()))}[vr(586)](){const e=vr,i=this[e(590)],n=i[e(492)][e(468)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(658)]=r?n[e(435)][e(482)][e(468)](s+this[e(600)]):n[e(435)][e(482)][e(603)],n[e(658)][e(627)][e(415)])o=i[e(579)][e(420)][e(348)](n[e(658)][e(357)]);else{const t=i[e(397)][e(483)][e(468)](e(381)+n[e(658)].id);o=(0,Bi.getMarkerDomElement)(i[e(579)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(491)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(590)][t(492)][t(468)](br);this[t(470)]=!!(s&&r&&n)&&(!e||(1===this[t(600)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Ln().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(t,e){const i=Nr();return(xr=function(t,e){return i[t-=289]})(t,e)}!function(t){const e=xr,i=t();for(;;)try{if(616116===parseInt(e(290))/1*(-parseInt(e(291))/2)+parseInt(e(318))/3+-parseInt(e(331))/4*(-parseInt(e(307))/5)+-parseInt(e(302))/6*(-parseInt(e(297))/7)+parseInt(e(289))/8+-parseInt(e(311))/9+-parseInt(e(316))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Nr);class Tr extends En.View{constructor(t){const e=xr;super(t);const i=this[e(300)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(328)](e(301),!1),this[e(328)](e(303),!1),this[e(328)](e(313),0),this[e(328)](e(326),0),this[e(328)](e(320),!1),this[e(328)](e(321),!1),this[e(304)](e(329)).to(this,e(303),this,e(326),((t,e)=>t&&e>0)),this[e(304)](e(296)).to(this,e(303),this,e(313),this,e(326),this,e(301),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(325));if(!r)return Qi(t,o(299));const a=Qi(t,o(309),r);return s?Qi(t,o(293),[n+1,r]):a})),n[e(328)]({label:Qi(t,e(314)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(328)]({label:Qi(t,e(330)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(304)](e(308)).to(this,e(321)),r[e(304)](e(308)).to(this,e(320)),n.on(e(319),(()=>this[e(305)](e(319),e(294)))),r.on(e(319),(()=>this[e(305)](e(319),e(322)))),this[e(324)]({tag:e(295),attributes:{class:["ck",e(312),e(323)]},children:[{tag:e(317),attributes:{class:[e(327)]},children:[{tag:e(317),attributes:{class:[e(298),i.if(e(329),e(292),(t=>!t))]},children:[{text:i.to(e(301),(i=>i?Qi(t,e(315))+": ":Qi(t,e(306))+": "))}]},{text:i.to(e(296))}]},new En.ToolbarSeparatorView,{tag:e(295),attributes:{class:[e(310)]},children:[n,r]}]})}}function Nr(){const t=["forward","ck-revision-history-ui__changes-navigation","setTemplate","Loading...","numberOfChanges","ck-revision-history-ui__changes-navigation__wrapper","set","_isStatusLabelVisible","Show next change","51896gwYZyN","7835360INQcUM","1033jpUNOY","1800hrMalk","ck-hidden","X_OF_Y_CHANGES","backward","div","_statusText","7QHqUIK","ck-revision-history-ui__changes-navigation__label","No changes","bindTemplate","isNavigationMode","2523966Cjkqgx","isReady","bind","fire","Total","270FHfJhZ","isEnabled","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__navigation","8462556HuOqID","ck-revision-history-ui","currentChangeNumber","Show previous change","EDIT_X_OF_Y_REVISIONS","5681840hlPfCS","span","2860821GxTuIy","execute","isForwardNavigationEnabled","isBackwardNavigationEnabled"];return(Nr=function(){return t})()}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Ln().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;function Mr(){const t=["3801098TOzPPV","removeClass","3177meqpXB","1255674QqXXNL","view","show","document","1508705ZYEvZq","isOfficialPlugin","ck-editor__editable__loading-overlay","70XGTmje","RevisionViewerLoadingOverlay","change","4098440hTJGeU","hide","editor","pluginName","editing","addClass","7408vwPgaL","18StaaSQ","3LixFku","roots","854888VDdBnR","isPremiumPlugin","1871245tmhyJM"];return(Mr=function(){return t})()}function Vr(t,e){const i=Mr();return(Vr=function(t,e){return i[t-=207]})(t,e)}const Er=Vr;!function(t){const e=Vr,i=t();for(;;)try{if(639900===parseInt(e(220))/1+parseInt(e(214))/2*(-parseInt(e(212))/3)+parseInt(e(230))/4+-parseInt(e(216))/5*(parseInt(e(211))/6)+parseInt(e(217))/7+-parseInt(e(210))/8*(-parseInt(e(219))/9)+parseInt(e(227))/10*(-parseInt(e(224))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mr);const Dr=Er(226);class Cr extends qi.Plugin{static get[Er(207)](){return Er(228)}static get[Er(225)](){return!0}static get[Er(215)](){return!0}[Er(222)](){const t=Er,e=this[t(232)][t(208)][t(221)];e[t(229)]((i=>{const n=t;for(const t of e[n(223)][n(213)])i[n(209)](Dr,t)}))}[Er(231)](){const t=Er,e=this[t(232)][t(208)][t(221)];e[t(229)]((i=>{const n=t;for(const t of e[n(223)][n(213)])i[n(218)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=316]})(t,e)}!function(t){const e=Fr,i=t();for(;;)try{if(575389===parseInt(e(360))/1+parseInt(e(362))/2+-parseInt(e(317))/3*(-parseInt(e(354))/4)+parseInt(e(361))/5*(parseInt(e(316))/6)+parseInt(e(326))/7+-parseInt(e(358))/8+-parseInt(e(325))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(340)](){return jr(335)}static get[jr(338)](){return!0}static get[jr(346)](){return!0}static get[jr(320)](){return[br,Cr]}[jr(336)](){const t=jr,e=this[t(339)],i=e[t(345)][t(353)](br),n=e[t(345)][t(353)](Cr);e.ui[t(363)][t(359)](t(342),(i=>{const n=t,r=new En.ButtonView(i);return r[n(324)]({label:Qi(i,n(334)),icon:qi.icons[n(341)],withText:!0,tooltip:!0,class:n(322)}),this[n(330)](r,n(328),(()=>{const t=n;e[t(319)][t(353)](t(329))[t(352)]()})),r})),e.ui[t(363)][t(359)](t(356),(i=>{const n=t,r=new En.ButtonView(i);return r[n(324)]({label:Qi(i,n(327)),withText:!0,tooltip:!0}),r[n(357)](n(351)).to(e[n(331)][n(353)](n(356))),this[n(330)](r,n(328),(()=>e[n(328)](n(356)))),r})),e.ui[t(363)][t(359)](t(333),(n=>{const r=t,s=new Tr(n),o=e[r(331)][r(353)](r(350)),a=e[r(331)][r(353)](r(344));return s[r(357)](r(321)).to(o,r(351)),s[r(357)](r(343)).to(a,r(351)),s[r(357)](r(323),r(355),r(349),r(347)).to(i),this[r(330)](s,r(328),((t,i)=>{const n=r;e[n(328)](n(318)===i?n(344):n(350))})),s})),n[t(332)](),i.on(t(348),((e,i,r)=>{const s=t;r?n[s(337)]():n[s(332)]()}))}}function Lr(){const t=["4943890PzVtbq","Restore this revision","execute","revisionHistory","listenTo","commands","show","changesNavigation","Back to editing","RevisionViewerUI","init","hide","isOfficialPlugin","editor","pluginName","undo","exitToEditing","isForwardNavigationEnabled","showNextChange","plugins","isPremiumPlugin","isNavigationMode","change:isReady","numberOfChanges","showPreviousChange","isEnabled","closeRevisionViewerCallback","get","37916KnAVdY","currentChangeNumber","restoreRevision","bind","1038456ZWqvJi","add","969462LHcfmM","865IWzKCa","483634iYxTdG","componentFactory","8160RCcGNJ","243SSBaxu","forward","config","requires","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","isReady","set","19938888cQaAER"];return(Lr=function(){return t})()}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;function Ur(){const t=["listenTo","destroy","1391988qLqAIh","_resizeObserver","element","fieldView","14LYwncp","4276228SXwsYM","6686471GrMtOZ","Revision name","_updateTooltipText","ck-revision-history-sidebar__revision-name","1202151WAxuKl","value","50148Covfgb","set","render","1816gAKgee","input","clientWidth","_tooltipString","3272030BiUKjC","extendTemplate","placeholder","60RqYwaj","1190447AZGdim","ck-tooltip_multi-line","Enter the revision name","bindTemplate","scrollWidth","span","4rgwWOC"];return(Ur=function(){return t})()}const Zr=Hr;function Hr(t,e){const i=Ur();return(Hr=function(t,e){return i[t-=161]})(t,e)}!function(t){const e=Hr,i=t();for(;;)try{if(732670===-parseInt(e(163))/1+-parseInt(e(169))/2*(parseInt(e(182))/3)+-parseInt(e(177))/4+-parseInt(e(191))/5+parseInt(e(172))/6*(-parseInt(e(176))/7)+parseInt(e(187))/8*(parseInt(e(184))/9)+parseInt(e(162))/10*(parseInt(e(178))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ur);class $r extends En.LabeledFieldView{constructor(t,e){const i=Hr;super(t,e),this[i(173)]=null;const n=this[i(166)];this[i(185)]({label:Qi(t,i(179)),_tooltipString:""}),this[i(175)][i(161)]=Qi(t,i(165)),this[i(192)]({tag:i(168),attributes:{class:[i(181)],"data-cke-tooltip-text":n.to(i(190)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(164)}})}[Zr(186)](){const e=Zr;super[e(186)](),this[e(173)]=new t.ResizeObserver(this[e(175)][e(174)],(()=>this[e(180)]())),this[e(170)](this[e(175)],e(188),(()=>this[e(180)]()))}[Zr(171)](){const t=Zr;super[t(171)](),this[t(173)]&&this[t(173)][t(171)]()}[Zr(180)](){const t=Zr,e=this[t(175)][t(174)];this[t(190)]=e[t(167)]>e[t(189)]&&e[t(183)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Gr();return(Yr=function(t,e){return i[t-=333]})(t,e)}function Gr(){const t=["set","6096726ORZcaS","8uoQGIV","24994190PVsDYA","8AaHjJm","617469CYxRIL","Revision creator","push","ck-revision-history-sidebar__revision-author__name","name","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author","1008854rAaEXN","343525IHtzos","805165fqflYK","1043236othjrN","span","36oryMTb","setTemplate","Revision author","0 0 11 10"];return(Gr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(528567===parseInt(e(342))/1+-parseInt(e(344))/2+-parseInt(e(334))/3*(parseInt(e(333))/4)+parseInt(e(343))/5+-parseInt(e(346))/6*(parseInt(e(341))/7)+parseInt(e(352))/8*(-parseInt(e(351))/9)+parseInt(e(353))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gr);class Jr extends En.View{constructor(t,e,i){const n=Yr;super(t);const r=new En.IconView;r[n(350)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(349)});const s=["ck",n(340)];i&&s[n(336)](n(339));const o=[{tag:n(345),attributes:{class:["ck",n(337)],title:Qi(t,n(i?335:348))},children:[r,e[n(338)]]}];this[n(347)]({tag:"li",attributes:{class:s},children:o})}}function Xr(t,e){var i=Kr();return(Xr=function(t,e){return i[t-=282]})(t,e)}function Kr(){var t=["569606qWmNFD","long","506190ipaNdr","11820RzOMYO","toLocaleTimeString","2092363XdPmIq","467793QBnAHe","4069645iHJymy","924CjDlQa","8vuhfig","33IUKgHI","numeric","6RIEdtD","16049388wyuUOe","2VexdHy","toLocaleDateString"];return(Kr=function(){return t})()}!function(t){for(var e=Xr,i=t();;)try{if(472603===parseInt(e(285))/1*(-parseInt(e(287))/2)+parseInt(e(290))/3*(-parseInt(e(295))/4)+parseInt(e(294))/5*(parseInt(e(283))/6)+parseInt(e(292))/7*(-parseInt(e(296))/8)+-parseInt(e(293))/9+parseInt(e(289))/10*(parseInt(e(297))/11)+parseInt(e(284))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=339]})(t,e)}function is(){const t=["function","isVisible","locale","Show more items","622657FslxfE","isActionsDropdownOpen","change:isActionsDropdownOpen","button","buttonView","27280wOmLNE","bindTemplate","threeVerticalDots","5190mmcTxl","92rdtsHG","678XlCAQo","source","panelPosition","1086gzRSGJ","map","Name this revision","932dilfzY","isEnabled","menu","extendTemplate","add","first","class","138848uWARrE","181926PZUQMs","items","listenTo","children","ck-revision-history-sidebar__revision__actions","menuitem","Restore this revision","find","22158480geoXzQ","ck-on","Compare against selected","listView","execute","model","stopPropagation","isReady","isOpen","bind","action","name","_action","set"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(979401===parseInt(e(341))/1*(-parseInt(e(387))/2)+parseInt(e(345))/3*(parseInt(e(348))/4)+parseInt(e(340))/5*(-parseInt(e(342))/6)+parseInt(e(382))/7+-parseInt(e(355))/8+-parseInt(e(356))/9+parseInt(e(364))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Ln().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=333]})(t,e)}function as(){const t=["_requireRevisionName","isActionsDropdownOpen","6SWeLdT","filter","1879005MZbFIb","_createdAtFormatted","isReady","span","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","95544NuEeWS","name","extendTemplate","ck-revision-history-sidebar__revision__controls-wrapper","isHighlighted","change","isSelected","unhighlight","unshift","3209962KuFOym","highlight","uiLanguage","ck-revision-history-sidebar__revision-wrapper","srcElement","ck-revision-history-sidebar__revision-authors","2199612xWpcaS","creator","fire","render","element","from","ck-revision-history-sidebar__actions_dropdown_open","35hAxlRV","23088501FVoWSS","listenTo","ck-revision-history-sidebar__revision_highlighted","div","_revision","closest","ck-reset","map","select","220","authors","bindTemplate","ck-revision-history-sidebar__revision__date","set","ck-revision-history-sidebar__revision_selected","isConfirm","isEnabled","revisionNameView","revisionActionsView","length","ck-revision-history-sidebar__revision","58622fRzVmq","value","4362516JFsJyG",".ck-thread__remove-confirm","createdAt","setTemplate","fieldView","ck-disabled","bind","deselect","setName"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(558922===parseInt(e(370))/1*(-parseInt(e(392))/2)+-parseInt(e(341))/3*(parseInt(e(363))/4)+parseInt(e(343))/5+-parseInt(e(394))/6+parseInt(e(357))/7+parseInt(e(348))/8+parseInt(e(371))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(382)],a=function(t,e){const i=s,n=Array[i(368)](e[i(381)])[i(342)]((t=>t!=e[i(364)]));return e[i(364)]&&n[i(356)](e[i(364)]),n[i(378)]((n=>new Jr(t,n,n==e[i(364)])))}(e,i);this.id=i.id,this[s(375)]=i,this[s(339)]=r,this[s(336)](s(349),s(396)).to(i),this[s(336)](s(344)).to(this,s(396),(t=>{return i=e[s(359)],(n=t)[(r=Xr)(286)](i,{month:r(288),day:r(282)})+", "+n[r(291)](i,{hour:r(282),minute:r(282)});var i,n,r})),this[s(384)](s(354),!1),this[s(384)](s(352),!1),this[s(384)](s(340),!1),this[s(384)](s(345),!1),this[s(384)](s(387),!1),this[s(388)]=new $r(e,En.createLabeledInputText),this[s(388)][s(334)][s(350)]({attributes:{maxlength:s(380)}}),this[s(388)][s(334)][s(336)](s(393)).to(this,s(349),(t=>t||this[s(344)])),this[s(388)][s(336)](s(387)).to(this,s(354),this,s(387),((t,e)=>t&&e)),this[s(389)]=n&&n[s(390)]?function(e,i){const n=es,r=e[n(388)],s=e[n(380)],o=(0,En.createDropdown)(s);o[n(344)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(380)],r={"Compare against selected":Qi(n,i(366)),"Name this revision":Qi(n,i(347)),"Restore this revision":Qi(n,i(362))};return e[i(346)]((t=>{const e=i,n=r[t[e(375)]];return n&&n!==t[e(375)]&&(t[e(375)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(385),model:new En.ViewModel({label:t[r(375)],class:t[r(354)],withText:!0,role:r(361),_action:t[r(374)]})};i[r(369)][r(373)](r(349)).to(e,r(383),(i=>r(378)!=typeof t[r(349)]||!i||t[r(349)](e))),o[r(352)](i)}return o}(e,i);return e[n(373)](n(383)).to(o,n(372)),o[n(386)][n(377)]({label:Qi(s,n(381)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(339)]}),o[n(351)]({attributes:{class:[n(360),r.if(n(383),n(365))]},on:{click:r.to((t=>t[n(370)]()))}}),o.on(n(368),(t=>{const i=n;e[i(371)]&&i(378)==typeof t[i(343)][i(376)]&&t[i(343)][i(376)](e)})),(0,En.addListToDropdown)(o,a,{role:n(350)}),o[n(358)](e,n(384),((t,r,s)=>{const a=n;if(s)for(const t of o[a(367)][a(357)]){const n=t[a(359)][a(353)],r=i[a(363)]((t=>t[a(374)]===n[a(376)]))[a(379)];t[a(379)]=void 0===r||r(e)}})),o}(this,n):"",this[s(389)]&&this[s(389)][s(336)](s(387)).to(this),this[s(333)]({tag:s(374),attributes:{class:["ck",s(377),s(360),o.if(s(386),s(347))]},children:[{tag:s(374),attributes:{class:["ck",s(377),s(391),o.if(s(387),s(335),(t=>!t)),o.if(s(354),s(385)),o.if(s(352),s(373)),o.if(s(340),s(369))]},children:[this[s(388)],{tag:s(346),attributes:{class:["ck",s(383)]},children:[{text:o.to(s(344))}]},{tag:s(374),attributes:{class:["ck",s(351)]},children:[{tag:"ul",attributes:{class:["ck",s(362)]},children:a}]},this[s(389)]],on:{click:o.to((t=>{const e=s;t[e(361)][e(376)](e(395))||this[e(345)]&&this[e(387)]&&this[e(365)](e(379),{id:this.id})}))}}]})}[ss(366)](){const t=ss;super[t(366)]();const e=this[t(388)][t(334)][t(367)];this[t(372)](e,t(353),(()=>{const i=t;this[i(339)]&&!e[i(393)]||this[i(365)](i(338),{id:this.id,name:e[i(393)]}),e[i(393)]||(e[i(393)]=this[i(349)]?this[i(349)]:this[i(344)])}))}[ss(379)](){this[ss(354)]=!0}[ss(337)](){this[ss(354)]=!1}[ss(358)](){this[ss(352)]=!0}[ss(355)](){this[ss(352)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Es={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class Hs extends Us{static get instance(){return null===Zs&&(Zs=new Hs),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Gs={};let Js={};function Xs(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.DateTimeFormat(t,e),Js[i]=n),n}let Ks={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Ks[i];return n||(n=new Intl.NumberFormat(t,e),Ks[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Xo(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ys.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Xs(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Go(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Js={},Ks={},Qs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Xs(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Xs(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Go(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.ListFormat(t,e),Gs[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Go(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Vo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Eo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Vo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Eo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Vo(e,i,n),...ma(t)}}function Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=Ho(t.year),i=Jo(t.month,1,12),n=Jo(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Jo(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Jo(i,0,59),a=Jo(n,0,59),c=Jo(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Go(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Jo(t.firstDay,1,7)||!Jo(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Jo(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Jo(t,e,i){return Ho(t)&&t>=e&&t<=i}function Xo(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ko(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Xo(i,2)}:${Xo(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Xo(i,2)}${Xo(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Vs,f:Es,ff:Cs,fff:Ps,ffff:zs,F:Ds,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Xo(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Va(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ea(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Ko(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function Ha(t,e,i){const n=t[e];return Uo(n)?i:Ko(n)}function $a(t,e){return[{hours:Ha(t,e,0),minutes:Ha(t,e+1,0),seconds:Ha(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ga=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ja(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Xa={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ka(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Ko(e)):Ko(e),month:va.indexOf(i)+1,day:Ko(n),hour:Ko(r),minute:Ko(s)};return o&&(a.second=Ko(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Ka(e,r,n,i,s,o,a);let f;return f=c?Xa[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Ka(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Ka(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Va(/(\d{4})-?(\d{3})/,La),uc=Va(Pa),lc=Ea((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Ea(za,$a,qa,Ba),dc=Ea(Wa,$a,qa,Ba),fc=Ea($a,qa,Ba);const mc=Ea($a);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Va(Ua),yc=Ea($a,qa,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ga,Ja])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Vc{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Ec(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ec(t,e);return(i-i%7)/7}],["days",Ec]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Pc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Lc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Pc).join("|")),deser:([i])=>t.findIndex((t=>Lc(i)===Lc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Gc="Invalid DateTime",Jc=864e13;function Xc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Kc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Qc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Xo(t.c.year,i?6:4),e?(n+="-",n+=Xo(t.c.month),n+="-",n+=Xo(t.c.day)):(n+=Xo(t.c.month),n+=Xo(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Xo(t.c.hour);return e?(o+=":",o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Xo(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Xo(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Xo(Math.trunc(-t.o/60)),o+=":",o+=Xo(Math.trunc(-t.o%60))):(o+="+",o+=Xo(Math.trunc(t.o/60)),o+=":",o+=Xo(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Xc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Xc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Xc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Jc||t>Jc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Xc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Lo(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Ho(t.weekYear),r=Jo(t.weekNumber,1,aa(t.weekYear,e,i)),s=Jo(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Ho(t.year),i=Jo(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Po(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Kc(this).weekYear:NaN}get weekNumber(){return this.isValid?Kc(this).weekNumber:NaN}get weekday(){return this.isValid?Kc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Vc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Xc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Lo(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Gc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Gc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Gc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Vs}static get DATETIME_SHORT(){return Es}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=287]})(t,e)}function Su(){const t=["40rgOqcP","71264XMtPAo","toRelativeCalendar","week","toJSDate","startOf","27004YOBnRG","42422vLFdLR","329895JjOlUe","setLocale","30OWNIaO","local","21nutCcr","308478HnMSTa","fromJSDate","day","1296610zIYwos","year","monthLong","hasSame","weekdayLong","1833672rjvcsr","month","minus"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(301)](t)[i(296)](e),r=wu[i(298)](),s=r[i(310)]({days:1})[i(292)](i(302));let o,a;return n[i(306)](r,i(302))?(o=n[i(292)](i(302))[i(291)](),a=n[i(289)]()):n[i(306)](s,i(302))?(o=s[i(291)](),a=n[i(289)]()):n[i(306)](r,i(290))?(o=n[i(292)](i(290))[i(291)](),a=n[i(307)]||""):n[i(306)](r,i(304))?(o=n[i(292)](i(309))[i(291)](),a=n[i(305)]||""):(o=n[i(292)](i(304))[i(291)](),a=String(n[i(304)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(125736===-parseInt(e(288))/1+parseInt(e(294))/2*(parseInt(e(299))/3)+parseInt(e(293))/4*(-parseInt(e(287))/5)+-parseInt(e(300))/6+-parseInt(e(303))/7+parseInt(e(308))/8+-parseInt(e(295))/9*(-parseInt(e(297))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Ln().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Ru;function Au(){const t=["span","30786MbEukG","8XGjnlg","1721589RZmyjw","removeRevision","delegate","2288439FfQNhh","locale","4AhLoMB","1503162njOoWU","3663597fwlLPf","169777vMjPGg","ck-revision-history-sidebar__time-period","setTemplate","setName","div","revisionViews","_revisionActions","_requireRevisionName","412950ODrcEx","createCollection","remove","ck-revision-history-sidebar__time-period__label","uiLanguage","ck-revision-history-sidebar__time-period__revisions","add","startDate","select","addRevision","find","localizedPeriodName","315zUAZjD"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=273]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(558999===-parseInt(e(298))/1+parseInt(e(296))/2+parseInt(e(290))/3*(-parseInt(e(295))/4)+parseInt(e(286))/5*(parseInt(e(288))/6)+parseInt(e(297))/7*(parseInt(e(289))/8)+-parseInt(e(293))/9+-parseInt(e(274))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Mu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(294)][r(278)])[r(285)];this[r(281)]=e,this[r(303)]=this[r(275)](),this[r(304)]=i,this[r(273)]=n,this[r(303)][r(292)](r(282)).to(this),this[r(303)][r(292)](r(301)).to(this),this[r(300)]({tag:r(302),attributes:{class:["ck",r(299)]},children:[{tag:r(287),attributes:{class:["ck",r(277)]},children:[{text:s}]},{tag:r(302),attributes:{class:["ck",r(279)]},children:this[r(303)]}]})}[Nu(283)](t){const e=Nu,i=new cs(this[e(294)],t,this[e(304)],this[e(273)]);this[e(303)][e(280)](i)}[Nu(291)](t){const e=Nu,i=this[e(303)][e(284)]((e=>e.id===t.id));this[e(303)][e(276)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Ln().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(){const t=["span","36hfSpQc","ck-revision-history-sidebar__header","Revision history","content","986016NfGgaH","ck-revision-history-sidebar__header__label","224769PEiCZz","5IyTgLC","593040JSDuxX","347776jAUJHE","ck-reset_all","div","8310351YsiDBy","280whQDrp","1554224SjUVFX","history","setTemplate","4430304CxLhEU","34YctNPm"];return(Du=function(){return t})()}function Cu(t,e){const i=Du();return(Cu=function(t,e){return i[t-=176]})(t,e)}!function(t){const e=Cu,i=t();for(;;)try{if(700510===-parseInt(e(178))/1+parseInt(e(188))/2*(-parseInt(e(176))/3)+parseInt(e(187))/4+-parseInt(e(177))/5*(-parseInt(e(194))/6)+parseInt(e(182))/7+-parseInt(e(184))/8*(parseInt(e(190))/9)+parseInt(e(183))/10*(parseInt(e(179))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class ju extends En.View{constructor(t){const e=Cu;super(t);const i=new En.IconView;i[e(193)]=qi.icons[e(185)],this[e(186)]({tag:e(181),attributes:{class:["ck",e(180),e(191)]},children:[i,{tag:e(189),attributes:{class:["ck",e(195)]},children:[Qi(t,e(192))]}]})}}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=Zn();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Lu=Wu;function zu(){const t=["delegate","startDate","_revisionActions","getTime","get","select","set","removeRevision","flat","locale","2650599HSGloz","ck-disabled","8pUZwZy","addRevision","remove","find","3004932xZjHoT","_addRevision","setTemplate","_requireRevisionName","uiLanguage","some","40vEAMiw","497bUCTqy","3892lNFgNc","setName","render","28aojfRB","fire","2502agYqCa","1187130iXBbhX","unhighlight","deselect","60432FsglXW","bindTemplate","highlight","ck-reset","createdAt","add","_removeRevision","926865HpEgXX","createCollection","revisionViews","timePeriodViews","selectRevision","map","revisionSetName","div","11wDzMXw","isEnabled","ck-revision-history-sidebar__timeline","revisionSelected","highlightRevisions","_getTimePeriodViewByStartDate","ck-rounded-corners","_revisions","ck-revision-history-sidebar"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(167211===-parseInt(e(547))/1*(-parseInt(e(549))/2)+-parseInt(e(501))/3*(parseInt(e(552))/4)+parseInt(e(508))/5+parseInt(e(497))/6*(-parseInt(e(548))/7)+-parseInt(e(537))/8*(parseInt(e(535))/9)+parseInt(e(498))/10+-parseInt(e(516))/11*(-parseInt(e(541))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends En.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(502)];this[r(511)]=this[r(509)](),this[r(511)][r(525)](r(530)).to(this),this[r(511)][r(525)](r(550)).to(this),this[r(523)]=e,this[r(527)]=i,this[r(544)]=n,this.on(r(530),((t,e)=>{const i=r;this[i(496)](i(519),e)})),this.on(r(550),((t,e)=>{const i=r;this[i(496)](i(514),e)})),this[r(531)](r(517),!1),this[r(543)]({tag:r(515),attributes:{class:["ck",r(504),r(522),r(524)]},children:[new ju(t),{tag:r(515),attributes:{class:["ck",r(518),s.if(r(517),r(536),(t=>!t))]},children:this[r(511)]}]})}[Lu(551)](){const t=Lu;super[t(551)]();for(const e of this[t(523)])this[t(542)](e);this[t(523)].on(t(506),((e,i)=>{this[t(542)](i)})),this[t(523)].on(t(539),((e,i)=>{this[t(507)](i)}))}get[Lu(510)](){const t=Lu;return this[t(511)][t(513)]((e=>e[t(510)][t(513)]((t=>t))))[t(533)]()}[Lu(512)](t){const e=Lu;for(const i of this[e(510)])t&&t.id===i.id?i[e(530)]():i[e(500)]()}[Lu(520)](t){const e=Lu;for(const i of this[e(510)])t[e(546)]((({id:t})=>t===i.id))?i[e(503)]():i[e(499)]()}[Lu(542)](t){const e=Lu,i=Ou(t[e(505)],this[e(534)][e(545)])[e(526)];let n=this[e(511)][e(529)](0);n&&n[e(526)][e(528)]()===i[e(528)]()||(n=new Mu(this[e(534)],i,this[e(527)],this[e(544)]),this[e(511)][e(506)](n)),n[e(538)](t)}[Lu(507)](t){const e=Lu,i=Ou(t[e(505)],this[e(534)][e(545)])[e(526)];this[e(521)](i)[e(532)](t)}[Lu(521)](t){const e=Lu;return this[e(511)][e(540)]((i=>i[e(526)][e(528)]()===t[e(528)]()))}}const Zu=Hu;function Hu(t,e){const i=qu();return(Hu=function(t,e){return i[t-=337]})(t,e)}!function(t){const e=Hu,i=t();for(;;)try{if(682055===parseInt(e(418))/1+-parseInt(e(389))/2*(parseInt(e(363))/3)+-parseInt(e(416))/4*(-parseInt(e(357))/5)+parseInt(e(401))/6+-parseInt(e(390))/7*(-parseInt(e(352))/8)+-parseInt(e(338))/9+-parseInt(e(410))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qu);class $u extends qi.Plugin{static get[Zu(396)](){return Zu(339)}static get[Zu(369)](){return!0}static get[Zu(385)](){return!0}static get[Zu(407)](){return[br]}constructor(t){const e=Zu;super(t),this[e(381)]=t[e(371)][e(373)](br),this[e(419)]=this[e(381)][e(368)],this[e(412)]=null}[Zu(386)](){const t=Zu,e=this[t(419)][t(342)],i=this[t(399)](),n=this[t(382)][t(408)][t(373)](t(358));this[t(412)]=new Uu(this[t(382)][t(366)],e,i,this[t(382)][t(408)][t(373)](t(380))),this[t(412)].on(t(365),this[t(362)][t(347)](this)),this[t(412)].on(t(409),this[t(343)][t(347)](this)),this[t(412)][t(347)](t(370)).to(this[t(381)]),this[t(412)][t(388)].on(t(411),((e,i)=>{const n=t;i[n(402)].on(n(411),((t,e)=>{const i=n;e[i(347)](i(370),i(379)).to(this[i(381)])}))})),this[t(412)][t(356)](),this[t(351)](this[t(382)][t(367)],t(404),this[t(349)][t(347)](this)),this[t(351)](this[t(381)],t(354),this[t(403)][t(347)](this)),n[t(414)](this[t(412)][t(374)])}[Zu(375)](){const t=Zu;this[t(412)][t(374)][t(415)](),this[t(412)][t(375)]()}[Zu(349)](){const t=Zu,e=this[t(419)][t(359)](0);if(e){const i=this[t(419)][t(406)](e.id);this[t(381)][t(400)](e,i)}}[Zu(362)](t,e){const i=Zu,n=this[i(419)][i(359)](e.id),r=this[i(419)][i(406)](n.id);this[i(381)][i(400)](n,r)}[Zu(343)](t,e){const i=Zu;this[i(419)][i(359)](e.id)[i(372)](e[i(397)])}[Zu(403)](t,e,i){const n=Zu,r=this[n(419)][n(398)](i);r[n(395)]>2?(this[n(412)][n(364)](r),this[n(412)][n(392)](null)):(this[n(412)][n(364)]([]),this[n(412)][n(392)](r[0]))}[Zu(399)](){const t=Zu,e=this[t(382)],i=$u[t(391)],n=e[t(408)][t(373)](t(376))||$u[t(377)];if(n[t(395)])return n[t(383)]((n=>{const r=t,s=r(394)==typeof n?Object[r(355)]({},i[n]):n;return s[r(393)]=s[r(393)][r(347)](this,e),s[r(350)]&&(s[r(350)]=s[r(350)][r(347)](this,e)),s}))}}function qu(){const t=["compareAgainstSelected","diff","_handleRevisionSelected","3TMHvlT","highlightRevisions","revisionSelected","locale","data","repository","isOfficialPlugin","isEnabled","plugins","setName","get","element","destroy","revisionHistory.revisionActions","defaultRevisionActions","fieldView","isReady","revisionHistory.requireRevisionName","_revisionViewer","editor","map","Name this revision","isPremiumPlugin","init","getLaterVisibleRevision","timePeriodViews","2436144JmOKuy","7VGFwqv","availableRevisionActions","selectRevision","action","string","length","pluginName","name","getRevisionsInDiff","_createRevisionActions","compare","1751730BzInxy","revisionViews","_handleDiffChange","ready","Restore this revision","getEarlierVisibleRevision","requires","config","revisionSetName","796290SeNlab","add","_sidebarView","revisionHistory","appendChild","remove","88860MDYHCb","restoreRevisionCallback","1253538MmbGzh","_revisionsRepository","select","2194839maCwPY","RevisionsSidebar","newRevisionId","getIndex","_revisions","_handleRevisionSetName","restoreRevision","isSelected","Compare against selected","bind","focus","_handleEditorDataReady","isVisible","listenTo","626632uCymnr","nameRevision","change:diff","assign","render","135XXSaub","revisionHistory.viewerSidebarContainer","getRevision"];return(qu=function(){return t})()}$u[Zu(377)]=[Zu(360),Zu(344),Zu(353)],$u[Zu(391)]={compareAgainstSelected:{name:Zu(346),action:({plugins:t},e)=>{const i=Zu,n=t[i(373)](br),r=n[i(368)];let s=n[i(361)][i(340)],o=e.id;r[i(341)](s)>r[i(341)](o)&&([s,o]=[o,s]),n[i(400)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(373)](br);return!(n[i(368)][i(398)](n[i(361)])[i(395)]>2||e[i(345)])}},restoreRevision:{name:Zu(405),action:(t,{id:e})=>{const i=Zu;t[i(408)][i(373)](i(413))[i(417)](e)},isVisible:({plugins:t},e)=>!!t[Zu(373)](br)[Zu(368)][Zu(387)](e.id)},nameRevision:{name:Zu(384),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(373)](br),s=r[n(368)][n(406)](e);r[n(400)](e,s),i[n(348)](),i[n(378)][n(337)]()}}};const Bu=$u;function Yu(){const t=["viewportTopOffset","editor","_view","limiterElement","rootName","27cEPkTL","get","fillFromConfig","config","1876332TfOPlM","stickyPanel","document","isFocused","496177xUtTWX","restore","_elementReplacer","getRoot","render","1967448fMfKYq","467256rwbFaz","toolbar","51184dXbDSV","isActive","viewportOffset","name","fire","attachDomRoot","destroy","view","_toolbarConfig","detachDomRoot","15015060eLCalj","setEditableElement","editable","init","2NxzkNE","element","_initToolbar","editing","focusTracker","componentFactory","bind","addToolbar","replace","438zrgsrN","ready","417780fQBXWj"];return(Yu=function(){return t})()}const Gu=Ju;function Ju(t,e){const i=Yu();return(Ju=function(t,e){return i[t-=289]})(t,e)}!function(t){const e=Ju,i=t();for(;;)try{if(330134===parseInt(e(290))/1*(-parseInt(e(312))/2)+-parseInt(e(333))/3+-parseInt(e(295))/4+parseInt(e(323))/5+parseInt(e(321))/6*(parseInt(e(298))/7)+parseInt(e(296))/8*(-parseInt(e(329))/9)+parseInt(e(308))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yu);class Xu extends En.EditorUI{get[Gu(305)](){return this[Gu(326)]}constructor(e,i){const n=Gu;super(e),this[n(326)]=i,this[n(306)]=(0,En.normalizeToolbarConfig)(e[n(332)][n(330)](n(297))),this[n(292)]=new t.ElementReplacer}get[Gu(313)](){const t=Gu;return this[t(305)][t(313)]}[Gu(311)](t){const e=Gu,i=this[e(325)],n=this[e(305)],r=i[e(315)][e(305)],s=n[e(310)],o=r[e(335)][e(293)]();s[e(301)]=o[e(328)],n[e(294)]();const a=s[e(313)];this[e(309)](s[e(301)],a),n[e(310)][e(318)](e(289)).to(this[e(316)]),r[e(303)](a),this[e(292)][e(320)](t,this[e(313)]),this[e(314)](),this[e(302)](e(322))}[Gu(304)](){const t=Gu;super[t(304)]();const e=this[t(305)],i=this[t(325)][t(315)][t(305)];this[t(292)][t(291)](),i[t(307)](e[t(310)][t(301)]),e[t(304)]()}[Gu(314)](){const t=Gu,e=this[t(305)];e[t(334)][t(318)](t(299)).to(this[t(316)],t(289)),e[t(334)][t(327)]=e[t(313)],e[t(334)][t(318)](t(324)).to(this,t(300),(({top:t})=>t)),e[t(297)][t(331)](this[t(306)],this[t(317)]),this[t(319)](e[t(297)])}}var Ku=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Ln().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Ku.A,Qu);Ku.A&&Ku.A.locals&&Ku.A.locals;var tl=il;!function(t){for(var e=il,i=t();;)try{if(580773===parseInt(e(425))/1*(-parseInt(e(419))/2)+parseInt(e(430))/3*(-parseInt(e(411))/4)+-parseInt(e(412))/5*(parseInt(e(421))/6)+-parseInt(e(424))/7+parseInt(e(423))/8*(parseInt(e(410))/9)+parseInt(e(416))/10*(-parseInt(e(429))/11)+parseInt(e(431))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nl);class el extends En.BoxedEditorUIView{get[tl(427)](){return this[tl(417)]}constructor(t,e,i={}){var n=tl;super(t),this[n(422)]=new En.StickyPanelView(t),this[n(420)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(426)]}),this[n(417)]=new En.InlineEditableUIView(t,e)}[tl(415)](){var t=tl;super[t(415)](),this[t(422)][t(428)][t(418)](this[t(420)]),this[t(414)][t(418)](this[t(422)]),this[t(413)][t(418)](this[t(427)])}}function il(t,e){var i=nl();return(il=function(t,e){return i[t-=410]})(t,e)}function nl(){var t=["1070530xaLpGP","_editable","add","16498IYKSjh","toolbar","4726998kLhwBd","stickyPanel","184ZjwbHV","5951260ulQSZJ","138YWxavv","shouldToolbarGroupWhenFull","editable","content","22FEiSaO","54GxQYSN","42823848vCeVEk","225486XbYpEK","127476bVuwqM","5MEmbgs","main","top","render"];return(nl=function(){return t})()}function rl(){const t=["4fGVwAw","create","sourceElement","init","initPlugins","editing","model","config","ready","2895903LhbRAF","71121iXdCdf","destroy","_ui","1303848RblauV","view","createRoot","locale","updateSourceElement","8uIaDxv","169010MFnmvM","42mdZMwS","document","1796260GRilIl","initialData","628240tjBjBO","get","fire","data","81912HltrZu"];return(rl=function(){return t})()}function sl(t,e){const i=rl();return(sl=function(t,e){return i[t-=389]})(t,e)}const ol=sl;!function(t){const e=sl,i=t();for(;;)try{if(385399===parseInt(e(417))/1+-parseInt(e(393))/2*(-parseInt(e(403))/3)+-parseInt(e(411))/4*(parseInt(e(412))/5)+parseInt(e(406))/6+-parseInt(e(413))/7*(-parseInt(e(392))/8)+-parseInt(e(402))/9+-parseInt(e(415))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(405)]}constructor(t,e){const i=sl;super(e),this[i(395)]=t,this[i(399)][i(414)][i(408)]();const n=new el(this[i(409)],this[i(398)][i(407)],{shouldToolbarGroupWhenFull:!0});this[i(405)]=new Xu(this,n)}[ol(404)](){const t=ol;return this[t(410)](),this.ui[t(404)](),super[t(404)]()}static async[ol(394)](t,e){const i=ol,n=new this(t,e);return await n[i(397)](),await n.ui[i(396)](t),await n[i(391)][i(396)](n[i(400)][i(389)](i(416))||""),n[i(390)](i(401)),n}}const cl=ll;function ul(){const t=["end","getRevisionData","insert","none","create","then","get","revisionHistory.closeRevisionViewerCallback","repository","RevisionViewerIntegration","restrictedEditingException","isReady","getRoot","625746XyWVeu","uiLanguage","940239xYkUQO","destroy","revisionHistory.viewerContainer","document","isOfficialPlugin","_enhanceCloseRevisionViewerCallback","addRoot","toLocaleDateString","keys","saveRevision","revisionHistory.requireRevisionName","_enhanceShowRevisionViewerCallback","requires","createdAt","fromVersion","has","removeMarker","restoreRevision","indexOf","roots","change","Users","numeric","hide","refreshPositioning","RevisionTracker","showRevisionViewerCallback","toLocaleTimeString","enableReadOnlyMode","exitToEditing","RevisionHistory","_recalculatePageBreaks","Annotations","toolbar","RevisionsRepository","translations","define","Restored","refreshVisibility","revisionHistory.restoreRevisionCallback","config","selection","isOpen","5433582rPvHyA","toJSON","PaginationLookup","changesNavigation","isAttached","getUser","_cleanUp","Dialog","save","parse","editor","RevisionHistoryUI","_restoreRevision","remove","push","addRevisionData","pluginName","data","removeAttribute","_closeRevisionViewer","closeRevisionViewerCallback","markers","isAnonymous","toVersion","isEnabled","error","model","Autosave","includes","rootName","adapter","getRevisionRootsAttributes","display","long","revisionHistory.editorContainer","update","from","getAttributeKeys","isReadOnly","plugins","revisionHistory.showRevisionViewerCallback","revisionHistory.viewerEditorElement","disableReadOnlyMode","enqueueChange","_showRevisionViewer","_update","getRevision","setAttribute","commands","removeSelectionAttribute","revisionHistory","RestrictedEditingMode","RevisionViewer","result","set","detachRoot","583345rEmPVS","users","_viewerEditor","join","name","_getRevisionViewerEditorConfig","lazyRoots","getRevisions","locale","creator","$graveyard","init","revision-history-missing-configuration","fromCharCode","addUser","1870735meuEwR","isPremiumPlugin","2281796IMQhIU","revision-history-viewer-opened","block","getMarkersGroup","728988bvYUVM","style","setSelection","createRangeIn","bind","map","catch"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=117]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(455706===-parseInt(e(248))/1+parseInt(e(126))/2+-parseInt(e(128))/3+parseInt(e(244))/4+-parseInt(e(242))/5+parseInt(e(171))/6+parseInt(e(227))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(182),cl(222)];class dl extends qi.Plugin{static get[cl(187)](){return cl(122)}static get[cl(132)](){return!0}static get[cl(243)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(253)]((t=>String[e(240)](t)))[e(230)]("")}super(t),this[e(224)]=e(255),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class fl extends qi.Plugin{static get[cl(187)](){return cl(158)}static get[cl(132)](){return!0}static get[cl(243)](){return!0}static get[cl(140)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(181)][i(168)][i(119)](i(221)))throw new t.CKEditorError(i(239),this);this[i(229)]=null,this[i(181)][i(168)][i(164)](i(211),(t=>this[i(215)]({...t,translations:this[i(181)][i(235)][i(163)]}))),this[i(181)][i(168)][i(164)](i(120),(t=>this[i(190)](t))),this[i(181)][i(168)][i(164)](i(167),(t=>this[i(183)](t))),this[i(181)][i(168)][i(164)](i(138),!1),this[i(139)](),this[i(133)]()}set[cl(201)](t){const e=cl;this[e(181)][e(210)][e(119)](e(153))[e(201)]=t}get[cl(201)](){const t=cl;return this[t(181)][t(210)][t(119)](t(153))[t(201)]}[cl(186)](t){const e=cl;return this[e(181)][e(210)][e(119)](e(153))[e(186)](t)}[cl(217)](t){const e=cl;return this[e(181)][e(210)][e(119)](e(162))[e(217)](t)}[cl(234)](t){const e=cl;return this[e(181)][e(210)][e(119)](e(162))[e(234)](t||{toJSON:!1})}[cl(232)](){const e=cl,i=this[e(181)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(210)][e(119)](e(153)),s=i[e(210)][e(119)](e(149))[e(228)];return n[e(161)]=[e(157),e(145),e(174)],delete n[e(233)],n[e(210)][e(185)](dl,br,Pr,class extends qi.Plugin{static get[e(140)](){return[br,e(149)]}[e(238)](){const n=e,o=this[n(181)][n(210)][n(119)](n(149));for(const t of s)t[n(193)]||o[n(176)](t.id)||o[n(241)](t);const a=r[n(121)][n(234)]();let c=null;const u=this[n(181)][n(210)][n(119)](n(223));u[n(201)]=r[n(201)],u[n(252)](n(195)).to(r),this[n(181)][n(219)][n(119)](n(145))[n(252)](n(195)).to(i,n(209),(t=>!t));for(const e of a){const i=null===e[n(236)];if(i&&e[n(194)]===e[n(142)])continue;const s=e[n(172)]();u[n(186)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(216)](s,o);else if(!o){const e=a[u(172)]();e.id=(0,t.uid)(),r[u(137)](e,a[u(194)])[u(118)]((t=>{c=t}))}}else e[u(216)](s,o)}))}}},Bu),n}[cl(139)](){const t=cl,e=this[t(181)][t(168)][t(119)](t(221))[t(154)];this[t(181)][t(168)][t(225)](t(211),(async()=>{const i=t;this[i(181)][i(156)](i(245));const n=this[i(181)][i(210)][i(119)](i(153));if(this[i(181)][i(210)][i(143)](i(198))){const t=this[i(181)][i(210)][i(119)](i(198));await t[i(179)]()}else await n[i(206)]();if(this[i(181)][i(210)][i(143)](i(173))&&this[i(181)][i(210)][i(119)](i(173))[i(159)](),this[i(181)][i(210)][i(143)](i(178))){const t=this[i(181)][i(210)][i(119)](i(178));t[i(170)]&&t[i(151)]()}const r=this[i(232)]();return e(r)[i(118)]((t=>{const e=i;return this[e(229)]=t,this[e(181)][e(210)][e(143)](e(160))&&this[e(181)][e(210)][e(119)](e(160))[e(166)](),t}))[i(254)]((t=>(console[i(196)](t),this[i(181)][i(213)](i(245)),null)))}))}[cl(133)](){const t=cl,e=this[t(181)][t(168)][t(119)](t(221))[t(191)];this[t(181)][t(168)][t(225)](t(120),(()=>(this[t(181)][t(210)][t(143)](t(173))&&this[t(181)][t(210)][t(119)](t(173))[t(159)](),this[t(229)][t(210)][t(119)](t(223))[t(177)](),e(this[t(229)])[t(118)]((()=>{const e=t;if(this[e(181)][e(213)](e(245)),this[e(229)]=null,this[e(181)][e(210)][e(143)](e(160))){const t=this[e(181)][e(210)][e(119)](e(160));t[e(166)](),t[e(152)]()}})))))}[cl(215)](t){const e=cl,i=this[e(181)][e(168)][e(119)](e(205)),n=this[e(181)][e(168)][e(119)](e(130)),r=this[e(181)][e(168)][e(119)](e(212));return al[e(117)](r,t)[e(118)]((t=>(n[e(249)][e(203)]=e(246),i[e(249)][e(203)]=e(258),t)))}[cl(190)](t){const e=cl,i=this[e(181)][e(168)][e(119)](e(205));return this[e(181)][e(168)][e(119)](e(130))[e(249)][e(203)]=e(258),i[e(249)][e(203)]="",t[e(129)]()}async[cl(183)](t){const e=cl,i=this[e(181)],n=this[e(229)][e(210)][e(119)](e(223)),r=i[e(210)][e(119)](e(153)),s=n[e(121)][e(217)](t);let o,a,c;try{o=await n[e(256)](s),a=await n[e(202)](s)}catch(t){return void console[e(196)](t)}i[e(197)][e(148)]((t=>{const n=e;for(const e of Array[n(207)](i[n(197)][n(192)][n(247)](n(123))))t[n(144)](e)})),n[e(124)]=!1,i[e(197)][e(214)]((t=>{const n=e;t[n(250)](null),t[n(220)](i[n(197)][n(131)][n(169)][n(208)]());const r=Object[n(136)](o);for(const e of i[n(197)][n(131)][n(147)])n(237)!=e[n(200)]&&e[n(175)]()&&!r[n(199)](e[n(200)])&&t[n(226)](e);for(const e of r){let r=i[n(197)][n(131)][n(125)](e);r&&r[n(175)]()||(r=t[n(134)](e));const s=a[e],c=Object[n(136)](s),u=o[e];for(const e of r[n(208)]())c[n(199)](e)||t[n(189)](e,r);for(const i of c)t[n(218)](i,a[e][i],r);t[n(184)](t[n(251)](r)),t[n(257)](i[n(188)][n(180)](u,r),r,0)}}));const u=Qi(i[e(235)],e(165));return c=s[e(231)]?-1==s[e(231)][e(146)](u)?u+": "+s[e(231)]:s[e(231)]:u+": "+s[e(141)][e(135)](i[e(235)][e(127)],{month:e(204),day:e(150)})+", "+s[e(141)][e(155)](i[e(235)][e(127)],{hour:e(150),minute:e(150)}),await r[e(137)]({name:c}),n[e(124)]=!0,i[e(168)][e(119)](e(221))[e(191)]()}}function ml(){var t=["10UpeKFd","7070755ahIpoY","5239652USYBTK","795776HrWoNQ","91188jqcEjA","50057jesShf","26277597AXUrdV","4501254BaSGlF","63FwbZON"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=226]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(818210===-parseInt(e(226))/1*(parseInt(e(230))/2)+parseInt(e(228))/3+parseInt(e(232))/4+parseInt(e(231))/5+-parseInt(e(234))/6*(parseInt(e(229))/7)+-parseInt(e(233))/8+-parseInt(e(227))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();