@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250326.0 → 0.0.0-nightly-20250326.1

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 (178) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +11 -11
  148. package/src/changeitem.js +2 -2
  149. package/src/editor/revisionviewereditor.js +2 -2
  150. package/src/editor/revisionviewereditorui.js +1 -1
  151. package/src/editor/revisionviewereditoruiview.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/revision.js +2 -2
  154. package/src/revisiondiff.js +1 -1
  155. package/src/revisionhistory.js +1 -1
  156. package/src/revisionhistoryutils.js +1 -1
  157. package/src/revisionsrepository.js +1 -1
  158. package/src/revisiontracker.js +1 -1
  159. package/src/revisionviewer.js +1 -1
  160. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  161. package/src/ui/revision/revisionauthorview.js +1 -1
  162. package/src/ui/revision/revisionnameview.js +1 -1
  163. package/src/ui/revision/revisionview.js +2 -2
  164. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  165. package/src/ui/revision/subrevisionview.js +1 -1
  166. package/src/ui/revision/utils.js +1 -1
  167. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  168. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  169. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  173. package/src/ui/revisionssidebar/utils.js +1 -1
  174. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  175. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  176. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  177. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  178. package/src/utils/common-translations.js +1 -1
@@ -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:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>ye,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});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]",x="[object Float64Array]";function T(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;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]=T(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,T(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(T(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(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 x: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]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(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}}const L=z;function P(){const t=["68297scJGrN","model","diffData","attributes","4STqNWy","creator","setName","toVersion","_update","toJSON","fromVersion","4886502FSUWus","70aAuKcv","2006587jBTEWC","authors","12bvBVyx","creatorId","map","removeAttribute","133101QlyRut","name","868854tanAht","authorsIds","416BSlomb","createdAt","fire","set","setAttribute","3241900NQMvvK","3569223zpBzPi"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=266]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(459347===parseInt(e(280))/1*(-parseInt(e(284))/2)+parseInt(e(271))/3*(-parseInt(e(295))/4)+parseInt(e(278))/5+parseInt(e(291))/6+parseInt(e(279))/7+parseInt(e(273))/8*(parseInt(e(269))/9)+-parseInt(e(292))/10*(parseInt(e(293))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[L(285)];[L(294)];[L(282)];[L(287)];[L(290)];[L(281)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(285)]=e[i(285)]||null,this[i(294)]=e[i(294)]||[],this[i(282)]=e[i(282)]||null,this[i(287)]=e[i(287)]||0,this[i(290)]=e[i(290)]||0,this[i(276)](i(270),e[i(270)]||""),this[i(276)](i(274),e[i(274)]||new Date),this[i(276)](i(283),e[i(283)]||{})}[L(286)](t){this[L(288)]({name:t})}[L(277)](t,e){const i=L,s=A(this[i(283)]);(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(288)]({attributes:s})}[L(268)](t){const e=L,i=A(this[e(283)]);(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(288)]({attributes:i})}[L(288)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(270),i(274),i(282),i(294),i(283),i(287),i(290),i(266)];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(294)]&&(n[i(272)]=n[i(294)][i(267)]((t=>t.id)),delete n[i(294)]),this[i(275)](i(288),n,e))}[L(289)](){const t=L;return{id:this.id,name:this[t(270)],creatorId:this[t(285)]?this[t(285)].id:null,authorsIds:this[t(294)][t(267)]((t=>t.id)),diffData:this[t(282)],createdAt:this[t(274)],attributes:this[t(283)],fromVersion:this[t(290)],toVersion:this[t(287)]}}}var U=i(782),H=i(211),Z=i(783);const q=B;function $(){const t=["getUser","3029148trXjZv","from","data","authorsIds","requires","href","isPremiumPlugin","oldRevisionId","RevisionsRepository","createRevision","1294220swlusp","name","30AXJADu","push","creatorId","add","toJSON","addRevision","getIndex","diffData","getRevisionsInDiff","pluginName","createdAt","getEarlierVisibleRevision","get","186365eeirdl","afterInit","fromCharCode","newRevisionId","Users","_revisions","2572056YSEnGj","fromVersion","isNaN","1127667IHnFZK","481278FprUpn","1453vQLwEd","join","getLaterVisibleRevision","462MVCcdd","reverse","toVersion","length","getRevision","28VkYpVu","editor","map","earlier","attributes","isOfficialPlugin","getRevisionsIterator","later","plugins","getRevisions"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=325]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(221208===-parseInt(e(347))/1*(-parseInt(e(350))/2)+parseInt(e(345))/3+-parseInt(e(355))/4*(parseInt(e(336))/5)+-parseInt(e(378))/6*(parseInt(e(346))/7)+parseInt(e(342))/8+-parseInt(e(366))/9+parseInt(e(376))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(341)];static get[q(370)](){return[H.Users]}static get[q(332)](){return q(374)}static get[q(360)](){return!0}static get[q(372)](){return!0}get[q(353)](){const t=q;return this[t(341)][t(353)]}constructor(e){const i=q;super(e),this[i(341)]=new t.Collection}[q(337)](){!async function(e){const i=k([88,119,84,99,77,67,74,86,117,54,103,56,50,73,108,65,116,89,106,97,72,78,79,110,52,68,70,82,55,105,66,104,113,109,107,87,101,118,85,122,115,121,49,112,48,75,57,111,71,51,120,69,102,53,81,100,83,98,76,80,90,114]),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=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(344)](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([88]);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=B;return t[e(357)]((t=>String[e(338)](t)))[e(348)]("")}!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:1742947200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,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(371)]);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)}[q(375)](t){const e=q,i=this[e(356)][e(363)][e(335)](e(340));return new W({id:t.id,name:t[e(377)],creator:t[e(325)]?i[e(365)](t[e(325)]):null,diffData:t[e(330)]||t[e(368)],authors:t[e(369)][e(357)]((t=>i[e(365)](t))),createdAt:new Date(t[e(333)]),attributes:t[e(359)],fromVersion:t[e(343)],toVersion:t[e(352)]})}[q(328)](t,e=0){const i=q;this[i(341)][i(326)](t,e)}[q(354)](t){const e=q;return this[e(341)][e(335)](t)}[q(364)](t={toJSON:!1}){const e=q,i=Array[e(367)](this[e(341)]);return i[e(351)](),t[e(327)]?i[e(357)]((t=>t[e(327)]())):i}[q(329)](t){const e=q;return this[e(341)][e(329)](t)}[q(334)](t){const e=q,[,i]=this[e(361)](t,{direction:e(358)});return i}[q(349)](t){const e=q,[,i]=this[e(361)](t,{direction:e(362)});return i}[q(331)](t){const e=q,i=[];for(const s of this[e(361)](t[e(339)]))if(i[e(379)](s),s.id===t[e(373)])break;return i}*[q(361)](t,{direction:e=q(358),filter:i=()=>!0}={}){const s=q,n=s(358)===e?1:-1;let r=this[s(341)][s(335)](t),o=this[s(329)](r);for(yield r;r;){if(o+=n,r=this[s(354)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["fillerOffset","isPremiumPlugin","toModel","_makeModelFromViewString","getRevisionRootsAttributes","isOfficialPlugin","data-revision-","append","4cKLUCk","toData","view","string","attributesAfter","_getViewFromDiffObj","get","forEach","config","createElement","marked","4000860BWctbx","parse","getRevisionDocumentData","2402fidpOn","useFillerType","document","type","130lxbvdR","processor","diffData","394MUbbwk","domConverter","_appendChild","_typeCharToViewClass","_viewClassToTypeChar","6254658cBZRrD","RevisionHistoryUtils","attachChange","default","constructor","revision-start","domChildrenToView","innerHTML","_removeRevisionMarkers","isAttached","from","attributes","getFillerOffset","editing","editor","pluginName","_getTypeCharForViewElement","loadRevisionData","children","412225xpznqz","5odpLTi","domDocument","revision-end","render","length","startsWith","filter","htmlProcessor","childNodes","_setCustomProperty","collaboration.channelId","viewChildrenToDom","insertions","div","map","customProperties","6218212eVDQJC","data","7614208YRRCCM","getRevision","name","790458XntHPl"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=432]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(545306===parseInt(e(439))/1*(-parseInt(e(432))/2)+parseInt(e(485))/3*(parseInt(e(494))/4)+parseInt(e(464))/5*(-parseInt(e(444))/6)+parseInt(e(480))/7+parseInt(e(482))/8+parseInt(e(505))/9+parseInt(e(436))/10*(-parseInt(e(463))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Q extends U.Plugin{static get[J(459)](){return J(445)}static get[J(491)](){return!0}static get[J(487)](){return!0}[J(443)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(442)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(461)](t,e){const i=J;if(t[i(438)]||!e)return;const s=this[i(458)][i(502)][i(500)](i(474)),n=await e[i(483)]({channelId:s,revisionId:t.id});t[i(438)]=n[i(438)]}[J(507)](t){const e=J,i={};for(const s in t[e(438)]){if(t[e(438)][s][e(446)]&&!t[e(438)][s][e(446)][e(453)])continue;const n=this[e(452)](JSON[e(506)](t[e(438)][s][e(476)])),r=this[e(458)][e(457)][e(496)][e(434)],o=new Z.ViewDocumentFragment(r,n[e(478)]((t=>this[e(499)](t,!1))));this[e(458)][e(481)][e(437)][e(433)](e(504)),i[s]=this[e(458)][e(481)][e(437)][e(495)](o),this[e(458)][e(481)][e(437)][e(433)](e(447))}return i}[J(490)](t){const e=J,i={};for(const s in t[e(438)])t[e(438)][s][e(446)]&&!t[e(438)][s][e(446)][e(453)]||(i[s]=t[e(438)][s][e(498)]||{});return i}[J(460)](t){const e=J;return this[e(443)][e(500)](t[e(448)])}[J(499)](t,e){const i=J,s=this[i(458)][i(457)][i(496)][i(434)];if(i(497)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(435)]||"r"==t[i(435)]?[]:t[i(462)][i(478)]((t=>this[i(499)](t,e)));const o=this[i(442)][i(500)](t[i(435)])||Z.ViewElement,a=this[i(458)][i(481)][i(471)][i(440)];if(n=new o(s,t[i(484)],t[i(455)],r),"u"==t[i(435)]){const r=t[i(462)][0];if(n[i(467)]=function(t){const e=i,s=t[e(503)](e(477));return s[e(451)]=r,s[e(472)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(441)](n);const e=Array[i(454)](a[i(475)](t,{bind:!1})),r=a[i(465)][i(503)](i(477));r[i(493)](...e),n=Array[i(454)](a[i(450)](r))[0]}}else if("r"==t[i(435)]){const r=t[i(462)][0];if(n[i(467)]=function(t){t[i(451)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(441)](n);const e=Array[i(454)](a[i(475)](t,{bind:!1})),r=a[i(465)][i(503)](i(477));r[i(493)](...e);const o=Array[i(454)](a[i(450)](r));o[i(468)]>1?n[i(441)](o):n=o[0]}}if(t[i(479)])for(const[e,s]of t[i(479)])n[i(473)](e,s);const c=t[i(486)]||null;return n[i(456)]=()=>c,n}}[J(489)](t){const e=J,i=JSON[e(506)](t),s=this[e(458)][e(457)][e(496)][e(434)],n=new Z.ViewDocumentFragment(s,i[e(478)]((t=>this[e(499)](t,!0))));return this[e(458)][e(481)][e(488)](n)}[J(452)](t){const e=J;return(t=t[e(470)]((t=>!t[e(484)]||e(449)!==t[e(484)]&&e(466)!==t[e(484)])))[e(501)]((t=>{const i=e;i(497)!=typeof t&&(t[i(462)]=this[i(452)](t[i(462)]),t[i(455)]=t[i(455)][i(470)]((t=>!t[0][i(469)](i(492)))))})),t}}function X(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,T){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)||!et(n,i.get(e),e,t,i,s,T))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=>et(o,e,void 0,t,i,s,T)));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 x: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(!et(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,T)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=ct();return(ot=function(t,e){return i[t-=494]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(994329===-parseInt(e(556))/1+parseInt(e(617))/2+-parseInt(e(595))/3+-parseInt(e(670))/4+parseInt(e(557))/5+-parseInt(e(596))/6*(-parseInt(e(807))/7)+parseInt(e(546))/8*(parseInt(e(785))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ct);class at extends U.Plugin{[rt(531)];[rt(812)];[rt(610)]=null;[rt(740)];[rt(572)]=null;[rt(728)];[rt(676)];[rt(701)];[rt(717)];[rt(634)];[rt(535)];[rt(529)];[rt(600)];[rt(756)];static get[rt(790)](){return rt(545)}static get[rt(575)](){return!0}static get[rt(746)](){return!0}static get[rt(780)](){return[H.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(740)]=this[i(601)][i(551)][i(775)](i(707)),this[i(634)]=this[i(601)][i(551)][i(775)](i(511)),this[i(728)]=new ut(this[i(601)]),this[i(701)]=this[i(601)][i(787)][i(775)](i(755))||i(782),this[i(717)]=new Map,this[i(756)]=null;const s=(0,t.uid)();this[i(676)]={history:this[i(601)][i(638)][i(507)][i(777)],getLatestVersion:()=>Promise[i(605)](this[i(601)][i(638)][i(507)][i(679)]),getCurrentRevisionId:()=>s},this[i(611)](i(570),!1),this[i(611)](i(521),!0),this[i(611)](i(576),!1),this[i(601)][i(787)][i(719)](i(538),!0),this[i(601)][i(798)][i(647)](i(604))[i(711)]({view:i(630)})}[rt(516)](){const t=rt;this[t(814)](),this[t(601)][t(677)].on(t(580),(()=>{const e=t,i=this[e(740)][e(709)](0),s=i&&null===i[e(657)]?i:null;if(this[e(529)]=!!s&&this[e(601)][e(787)][e(775)](e(538)),this[e(601)][e(551)][e(795)](e(503))){const t=this[e(676)][e(615)](),n=this[e(740)][e(709)](t);if(n)this[e(600)]=n[e(500)],this[e(529)]=!1;else{const t=this[e(676)][e(777)][e(751)][e(522)]((t=>!t[e(504)])),n=t?t[e(629)]:this[e(676)][e(777)][e(679)];i?(i[e(599)]<n&&i[e(661)]({toVersion:n}),this[e(529)]?(this[e(676)][e(615)]=()=>s.id,this[e(600)]=s[e(500)]):(this[e(600)]=i[e(599)],this[e(529)]=!1)):(this[e(600)]=n,this[e(529)]=!1)}}else s&&(this[e(601)][e(638)][e(507)][e(777)][e(679)]=Math[e(738)](s[e(599)],this[e(601)][e(638)][e(507)][e(777)][e(679)]),s[e(500)]===s[e(599)]?(0!==s[e(500)]&&(this[e(676)][e(615)]=()=>s.id),this[e(529)]=!1):this[e(529)]&&(this[e(676)][e(615)]=()=>s.id,this[e(600)]=s[e(500)])),this[e(529)]||(this[e(600)]=this[e(601)][e(638)][e(507)][e(679)]);this[e(728)][e(516)](this[e(676)][e(777)]),this[e(523)](this[e(600)]),this[e(562)](this[e(600)]),this[e(572)]&&this[e(563)]()})),this[t(577)](t(570)).to(this,t(576),(t=>!t)),this[t(531)]=this[t(601)][t(787)][t(775)](t(531));const e=this[t(601)];this[t(812)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(550)==r||i(506)==r||i(574)==r||i(642)==r||i(699)==r||i(646)==r||i(691)==r||i(643)==r){delete e[n],s=r,clearInterval(this[i(812)]),this[i(812)]=void 0;break}}i(506)==s&&e[i(651)](i(690)),i(574)==s&&e[i(651)](i(588)),i(642)==s&&e[i(651)](i(583)),i(699)==s&&e[i(651)](i(745),i(616)),i(646)==s&&e[i(651)](i(815)),i(691)==s&&e[i(651)](i(736)),i(643)==s&&e[i(651)](i(714))}),1e3)}async[rt(645)](){const t=rt;if(this[t(740)][t(668)]>0){const e=this[t(740)][t(709)](0),i=await this[t(564)](e),s=await this[t(773)](e);this[t(636)](i,s)}}[rt(498)](){const t=rt;super[t(498)](),this[t(812)]&&clearInterval(this[t(812)])}[rt(624)](t){this[rt(676)]=t}async[rt(802)](){const t=rt,e=await this[t(676)][t(792)]();if(e>this[t(610)][t(599)]){await this[t(687)]();const i=this[t(735)]({revision:this[t(610)],to:e});i[t(587)]=i[t(517)][t(706)]((e=>this[t(601)][t(551)][t(775)](t(627))[t(747)](e))),this[t(610)][t(661)](i)}}async[rt(608)](e={},i=null){const s=rt,n=[];await this[s(687)](),this[s(529)]=!1,i>this[s(610)][s(599)]&&(i=null),null===i&&(i=await this[s(676)][s(792)]());const r=this[s(757)](i),o=this[s(735)]({from:r,to:i});if(this[s(610)][s(599)]<i){const t=this[s(735)]({revision:this[s(610)],from:i,to:i});t[s(587)]=[],t[s(517)]=[],t.id=this[s(610)].id,this[s(610)][s(661)](t,!0),delete t[s(587)],n[s(571)](t)}e[s(547)]=this[s(601)][s(551)][s(775)](s(627)).me.id,e[s(760)]=e[s(760)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(524)](e);n[s(571)](e);const c=this[s(740)][s(811)](a);if(0!==c){const t=this[s(740)][s(709)](c-1);if(t[s(500)]!==i){const r=this[s(728)][s(693)](i,t[s(599)]),o={id:t.id,diffData:r[s(519)],authorsIds:r[s(517)],authors:r[s(517)][s(706)]((t=>this[s(601)][s(551)][s(775)](s(627))[s(747)](t))),fromVersion:i};t===this[s(610)]&&(o[s(793)]=new Date(e[s(793)][s(558)]()+10)),t[s(661)](o,!0),delete o[s(587)],n[s(571)](o)}}if(this[s(572)]){for(const t of n)this[s(734)](t.id,t,!0);this[s(563)]()}return a}[rt(524)](t){const e=rt,i=this[e(740)][e(623)](t);return this[e(572)]&&i.on(e(661),((t,i,s)=>{const n=e;s||(this[n(734)](i.id,i,!0),this[n(563)]())})),this[e(740)][e(723)](i,this[e(801)](i)),i}async[rt(564)](t){const e=rt;return await this[e(634)][e(614)](t,this[e(572)]),this[e(634)][e(564)](t)}async[rt(773)](t){const e=rt;return await this[e(634)][e(614)](t,this[e(572)]),this[e(634)][e(773)](t)}[rt(563)](){const t=rt;if(0===this[t(717)][t(509)])return;if(this[t(576)])return;let e=Array[t(731)](this[t(717)][t(622)]());this[t(717)][t(675)]();for(let i=0;i<e[t(668)];i++){const s=e[i];let n=!1;for(const e of Object[t(619)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(626)]((t=>null!==t)),!e[t(668)])return;for(let i=0;i<e[t(668)];i++){const s=e[i];void 0!==s[t(500)]&&void 0===s[t(599)]&&(s[t(599)]=this[t(740)][t(709)](s.id)[t(599)]),void 0!==s[t(599)]&&void 0===s[t(500)]&&(s[t(500)]=this[t(740)][t(709)](s.id)[t(500)])}const i=this[t(601)][t(787)][t(775)](t(755));this[t(576)]=!0,this[t(541)](),this[t(572)][t(779)](e,i)[t(708)]((()=>{this[t(576)]=!1}))[t(625)]((e=>{const i=t;if(e)for(const t of e)this[i(598)]({id:t.id,createdAt:t[i(793)]});this[i(715)](),this[i(563)]()}))}[rt(735)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(500)],i=null!==i?i:t[s(599)];const n=this[s(728)][s(693)](e,i),r={diffData:n[s(519)],authorsIds:n[s(517)],fromVersion:e,toVersion:i};if(!t||i!==t[s(599)]){const t=i-1,e=this[s(676)][s(777)][s(688)](t);r[s(793)]=e&&e[s(793)]||new Date}if(this[s(756)]&&e===this[s(756)][s(500)])for(const t of this[s(756)][s(587)])r[s(517)][s(669)](t.id)||r[s(517)][s(571)](t.id);return r}[rt(734)](t,e,i){const s=rt;if(this[s(717)][s(795)](t)){const n=this[s(717)][s(775)](t);e=i?{...n,...e}:{...e,...n}}this[s(717)][s(611)](t,e)}[rt(598)](t){const e=rt,i=this[e(740)][e(709)](t.id);if(t[e(793)]&&(t[e(793)]=new Date(t[e(793)])),t[e(517)]){const i=this[e(601)][e(551)][e(775)](e(627));t[e(587)]=t[e(517)][e(706)]((t=>i[e(747)](t)))}i[e(661)](t,!0)}[rt(523)](t){const e=rt,i=this[e(740)][e(709)](this[e(740)][e(668)]-1);if(i)this[e(701)]=i.id;else{const i=!this[e(601)][e(638)][e(507)][e(753)][e(522)]((t=>this[e(601)][e(638)][e(655)](t))),s=this[e(601)][e(551)][e(775)](e(627)).me.id,n=X(this[e(601)][e(567)],e(i?809:686));this[e(501)]({from:t,to:t,id:this[e(701)],name:n,creatorId:s})}}[rt(562)](t){const e=rt,i=this[e(676)][e(615)]();this[e(610)]=this[e(740)][e(709)](i),this[e(610)]||(this[e(610)]=this[e(501)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(687)](){const t=rt;this[t(529)]&&!this[t(756)]&&(await this[t(634)][t(614)](this[t(610)],this[t(572)]),this[t(728)][t(694)](this[t(610)]),this[t(756)]={fromVersion:this[t(610)][t(500)],authors:this[t(610)][t(587)][t(810)]()})}[rt(636)](e,i){const s=rt;let n=this[s(601)][s(787)][s(775)](s(799)),r=this[s(601)][s(787)][s(775)](s(658));if(void 0===n){n={};for(const t of this[s(601)][s(638)][s(507)][s(520)]())n[t]=""}if(s(534)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(601)][s(638)][s(507)][s(520)]())r[t]={}}let o=!1;const a=Object[s(619)](n),c=Object[s(619)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(712)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(619)](r[t])[s(668)]>0){o=!0;break}}o||(o=c[s(721)]((t=>!this[s(601)][s(638)][s(507)][s(505)](t)))),o&&(0,t.logWarning)(s(796),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(601)][s(787)][s(611)](s(799),e),this[s(601)][s(787)][s(611)](s(658),i)}[rt(541)](){const t=rt;if(!this[t(535)]){const e=this[t(601)][t(551)][t(775)](t(607));this[t(535)]=e[t(631)](X(this[t(601)][t(567)],t(597)))}}[rt(715)](){const t=rt;this[t(535)]&&(this[t(601)][t(551)][t(775)](t(607))[t(579)](this[t(535)]),this[t(535)]=null)}[rt(801)](t){const e=rt,i=this[e(740)][e(640)]();i[e(526)]();let s=0;for(;s<i[e(668)];){const n=i[s];if(n===this[e(610)]){s++;continue}if(n.id===this[e(701)])break;const r=t[e(599)]-n[e(599)]||t[e(500)]-n[e(500)];if(r>0)break;if(r<0)s++;else{if(!t[e(657)]&&n[e(657)])break;if(n[e(657)]||!t[e(657)]){if(t[e(793)]>n[e(793)])break;s++}else s++}}return s}[rt(757)](t){const e=rt,i=this[e(740)][e(640)]();i[e(526)](),i[e(602)]();const s=i[e(522)]((i=>i[e(599)]<=t))[e(599)];return s<this[e(600)]?this[e(600)]:s}[rt(501)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(735)]({from:e,to:i});o[r(760)]=t,o[r(547)]=s,o.id=n;const a=this[r(524)](o);return this[r(572)]&&this[r(734)](o.id,o,!0),a}[rt(814)](){const t=rt;this[t(601)][t(798)][t(647)](t(544))[t(697)]({model:t(630)})}}function ct(){const t=["revisionHistoryLicenseKeyTrialLimit","text","getData","loadState","vid","getAttribute","markerToData","changeRootAttribute","revisionHistoryLicenseKeyNotAllowed","parent","_initialRevisionId","vid_end","_setAttribute","_revisionId","fromEntries","map","RevisionsRepository","finally","getRevision","_handleRootOperation","dataToMarker","trim","getChild","usageLimit","_removePendingAction","splitPosition","_bufferedUpdates","_applyOperations","define","addRootAttribute","some","isAdd","addRevision","createPositionAt","_markChanges","tableCell","_createFromRanges","_revisionDataBuilder","_calculateMetaData","_baseIdsRoots","from","keepParagraph","_markers","_bufferUpdate","buildRevisionData","trialLimit","_clone","max","clone","repository","_handleMergeOperation","newValue","_transformMarkers","getRange","featureNotAllowed","isPremiumPlugin","getUser","_appendChild","_handleInsertOperation","_fixPosition","_operations","marker","roots","previousPosition","collaboration.channelId","_loadedStateData","_getFromVersion","render","documentFragment","name","stickiness","attachChange","insert","sourcePosition","sort","domDocument","elementEnd","_fixRange","_handleRootAttributeOperation","_cloneOperation","oldRange","isAttached","getRevisionRootsAttributes","getCustomProperties","get","innerHTML","history","_touched","updateRevisions","requires","_insertChild","initial","path","end","45rUkYEU","element","config","detachRoot","getAncestors","pluginName","_diffRootsAttributes","getLatestVersion","createdAt","vid_start","has","editor-initial-data-replaced-with-revision-data","nodes","conversion","initialData","start","_findInsertionIndex","update","childCount","attributesBefore","getNodeByPath","_getBaseVids","7ScMfwM","_processRootBeforeSave","Empty document","slice","getIndex","_licenseKeyCheckInterval","reInit","_setConversion","evaluationLimit","_getTypeCharForViewElement","paragraph","$graveyard","_getVidAttributeName","destroy","uiElement","fromVersion","_makeRevision","createPositionAfter","RealTimeCollaborationClient","_isInit","getRoot","revisionHistoryLicenseKeyInvalid","document","_authorId","size","_removeMetaData","RevisionHistoryUtils","insertions","nodeAfter","_handleMarkerOperation","_copyMarkers","init","authorsIds","domConverter","diffData","getRootNames","isEnabled","find","_createInitialRevision","addRevisionData","rootName","reverse","root","range","_continueCurrentRevision","getChildren","licenseKey","isEqual","move","string","_pendingAction","delete","children","revisionHistory.resumeUnsavedRevision","_generateTape","_fixOperation","_addPendingAction","_touchedMarkers","_startingRevisionId","dataDowncast","RevisionTracker","232264rSatTe","creatorId","getTransformedByOperation","stringify","revisionHistoryLicenseKeyValid","plugins","createElement","getWalker","rawElement","key","214365VdXWbm","3805465WmxIyq","getTime","deletion","_handleMoveOperation","_idsRoots","_createCurrentRevision","sendBufferedUpdates","getRevisionDocumentData","attributesAfter","_isAttached","locale","markers","createPositionFromPath","isReady","push","adapter","getOperations","revisionHistoryLicenseKeyExpired","isOfficialPlugin","_isPendingUpdate","bind","fillerOffset","remove","ready","_baseRoots","userId","domainLimit","_handleOperation","_prepareViewToSave","affectsData","authors","expired","merge","item","split","revision:","insertion","type","3245511RhxFyW","6090444wvHHWs","PENDING_ACTION_REVISION_HISTORY","setRevisionData","toVersion","_startingVersion","editor","shift","insertionPosition","upcast","resolve","_makeModelFromViewString","PendingActions","saveRevision","position","currentRevision","set","outerHTML","_lastTo","loadRevisionData","getCurrentRevisionId","RevisionHistory","1501226fjGaap","graveyardPosition","keys","newRange","startsWith","values","createRevision","setSource","then","filter","Users","_getViewJson","baseVersion","revision","add","toView","targetPosition","_utils","htmlProcessor","_replaceEditorDataWithRevisionData","createRange","model","$comment","getRevisions","_saveMetaData","revisionHistoryLicenseKeyDomainLimit","revisionHistoryLicenseKeyUsageLimit","_lastFrom","afterInit","revisionHistoryLicenseKeyEvaluationLimit","for","addRoot","_baseRootsAttributes","getFillerOffset","_showLicenseError","removeRootAttribute","_getState","_diffRoots","hasContent","_reset","creator","rootsAttributes","_getPreviousFrom","createRangeIn","_update","elementStart","getMovedRangeStart","_execute","howMany","source","$text","length","includes","1525656qZeRvy","_makeIdsRoot","offsetSize","_touchedRoots","offset","clear","_source","data","createPositionBefore","version","deletions","getAttributes","reinsert","NEGATIVE_INFINITY","_savedMetaData","_handleSplitOperation","Initial revision","_loadState","getOperation","customProperties","invalid"];return(ct=function(){return t})()}class ut{[rt(601)];[rt(666)];[rt(684)];[rt(644)];[rt(613)];[rt(733)];[rt(654)];[rt(791)];[rt(581)];[rt(649)];[rt(561)];[rt(730)];[rt(778)];[rt(542)];[rt(673)];[rt(704)];[rt(543)];constructor(t){const e=rt;this[e(601)]=t,this[e(684)]=new Map,this[e(644)]=-1,this[e(613)]=-1,this[e(733)]=new Map,this[e(654)]=new Map,this[e(791)]=new Map,this[e(581)]=new Map,this[e(649)]=new Map,this[e(561)]=new Map,this[e(730)]=new Map,this[e(778)]=new Map,this[e(542)]=new Map,this[e(673)]=new Map,this[e(704)]=1}[rt(516)](t){const e=rt;this[e(666)]=t;const i=new Map,s=new Map,n=this[e(601)][e(638)][e(507)][e(753)][e(706)]((t=>t[e(525)]));for(const t of n){const n=this[e(601)][e(638)][e(507)][e(505)](t),r=lt(n);i[e(611)](t,r),s[e(611)](t,Object[e(705)](n[e(681)]()))}const r=Array[e(731)](this[e(601)][e(638)][e(568)])[e(706)]((t=>[t[e(760)],t[e(744)]()])),o=this[e(666)][e(679)];this[e(641)](o,i,r,s),this[e(543)]=this[e(704)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(611)](t,i),c[e(611)](t,{})}this[e(641)](Number[e(683)],a,[],c)}[rt(693)](t,e){const i=rt;if(this[i(644)]===t&&this[i(613)]<=e)this[i(684)][i(509)]>1&&this[i(510)](this[i(613)]),this[i(718)](this[i(613)],e,!0);else{if(!this[i(684)][i(795)](t)){const e=this[i(659)](t);this[i(729)](e,t,!1)}this[i(729)](t,e,!0)}return this[i(644)]=t,this[i(613)]=e,this[i(653)]()}[rt(694)](t){const e=rt,i=this[e(601)][e(551)][e(775)](e(511));this[e(656)](),this[e(644)]=t[e(500)],this[e(613)]=t[e(599)];for(const s in t[e(519)]){const n=t[e(519)][s][e(762)],r=A(t[e(519)][s][e(804)])||{},o=i[e(606)](t[e(519)][s][e(680)]);o[e(525)]=s,o[e(566)]=!n||!n[e(772)],o[e(772)]=()=>o[e(566)],this[e(581)][e(611)](s,o),this[e(649)][e(611)](s,r),n&&this[e(673)][e(611)](s,n);const a=this[e(671)](o);this[e(730)][e(611)](s,a);for(const[t,i]of o[e(568)]){if(!t[e(621)](e(592)))continue;const s=t[e(591)](":")[2];for(const t of i[e(553)]({singleCharacters:!0})){const i=this[e(497)](t),n=e(767)==t[e(594)]?t[e(754)][e(783)][e(810)](0,-1):t[e(754)][e(783)],r=a[e(805)](n)[e(696)](i);this[e(778)][e(611)](r,{userId:s})}}}this[e(543)]=this[e(704)];const s=[...Array(this[e(704)])[e(619)]()][e(810)](1)[e(626)]((t=>!this[e(778)][e(795)](t)));let n=0;const r=new Map;for(const o in t[e(519)]){const a=t[e(519)][o][e(762)],c=A(t[e(519)][o][e(565)])||{},u=i[e(606)](t[e(519)][o][e(512)]);u[e(525)]=o,u[e(566)]=!a||a[e(772)],u[e(772)]=()=>u[e(566)],this[e(654)][e(611)](o,u),this[e(791)][e(611)](o,c);const l=this[e(671)](u,Number[e(683)]);this[e(561)][e(611)](o,l),r[e(611)](o,u[e(772)]()?c:{});for(const[t,i]of u[e(568)]){if(!t[e(621)](e(592)))continue;const s=t[e(591)](":")[2];for(const t of i[e(553)]({singleCharacters:!0})){const i=this[e(497)](t),n=this[e(704)]++,r=e(767)==t[e(594)]?t[e(754)][e(783)][e(810)](0,-1):t[e(754)][e(783)];l[e(805)](r)[e(703)](i,n),this[e(778)][e(611)](n,{userId:s})}}for(const t of this[e(601)][e(638)][e(660)](u)[e(553)]({singleCharacters:!0})){const i=this[e(497)](t),r=e(767)==t[e(594)]?t[e(754)][e(783)][e(810)](0,-1):t[e(754)][e(783)],o=l[e(805)](r);o[e(696)](i)>0||o[e(703)](i,s[n++])}for(const[t,i]of u[e(568)])t[e(621)](e(592))||this[e(733)][e(611)](t,i)}const o=ht(e(496));this[e(581)][e(611)](e(496),o),this[e(730)][e(611)](e(496),this[e(671)](o,1));const a=ht(e(496));this[e(654)][e(611)](e(496),a),this[e(561)][e(611)](e(496),this[e(671)](a,1));const c=Array[e(731)](this[e(654)])[e(706)]((([t,e])=>[t,lt(e)]));this[e(641)](this[e(613)],c,this[e(733)],r)}[rt(813)](){const t=rt;this[t(656)](),this[t(644)]=-1,this[t(613)]=-1,this[t(684)][t(675)](),this[t(516)](this[t(666)])}[rt(641)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(611)](t,{start:e[n(800)][n(739)](),end:e[n(784)][n(739)](),rootName:e[n(527)][n(525)]});this[n(684)][n(611)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(510)](t){const e=rt;this[e(684)][e(536)](t)}[rt(656)](){const t=rt;this[t(778)][t(675)](),this[t(542)][t(675)](),this[t(673)][t(675)](),this[t(654)][t(675)](),this[t(791)][t(675)](),this[t(581)][t(675)](),this[t(649)][t(675)](),this[t(561)][t(675)](),this[t(730)][t(675)](),this[t(733)][t(675)](),this[t(704)]=1,this[t(543)]=this[t(704)]}[rt(671)](t,e=null){const i=rt;let s=null;t.is(i(759))||(s=new Z.Element(t[i(760)],{vid_start:null===e?this[i(704)]++:e++}));const n=[];for(const s of t[i(530)]())if(s.is(i(786))){n[i(571)](this[i(671)](s,e));const t=n[n[i(668)]-1];null!==e&&(e=t.is(i(786),i(667))?t[i(696)](i(695))+1:t[i(696)](i(702))+1)}else for(let t=0;t<s[i(672)];t++)n[i(571)](new Z.Element(i(667),{vid:null===e?this[i(704)]++:e++}));if(t.is(i(759))){const e=ht(t[i(525)]);return e[i(781)](0,n),e}return s[i(703)](i(702),null===e?this[i(704)]++:e++),s[i(781)](0,n),s}[rt(729)](t,e,i){const s=rt;this[s(656)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(684)][s(775)](t);this[s(581)]=new Map(n),this[s(649)]=new Map(A(o));for(const[t,e]of this[s(581)])if(s(496)!==t&&(this[s(654)][s(611)](t,lt(e)),this[s(791)]=new Map(A(o)),i)){const i=this[s(704)];this[s(561)][s(611)](t,this[s(671)](e)),this[s(730)][s(611)](t,this[s(671)](e,i))}this[s(543)]=this[s(704)],this[s(654)][s(611)](s(496),lt(this[s(581)][s(775)](s(496)))),i&&this[s(561)][s(611)](s(496),this[s(671)](this[s(581)][s(775)](s(496))));for(const[t,e]of r){const i=this[s(581)][s(775)](e[s(525)]),n=this[s(654)][s(775)](e[s(525)]),r=new Z.Range(this[s(750)](e[s(800)],i),this[s(750)](e[s(784)],i)),o=this[s(768)](r,n);i[s(568)][s(611)](t,r),this[s(733)][s(611)](t,o)}this[s(718)](t,e,i)}[rt(718)](t,e,i){const s=rt;for(const n of this[s(666)][s(573)](t,e))this[s(584)](n,i);for(const t of this[s(654)][s(622)]())t[s(568)][s(675)]();for(const[t,e]of this[s(733)])this[s(654)][s(775)](e[s(527)][s(525)])[s(568)][s(611)](t,e[s(739)]());const n=new Map,r=new Map;for(const[t,e]of this[s(654)])n[s(611)](t,lt(e)),r[s(611)](t,this[s(791)][s(775)](t));this[s(641)](e,n,this[s(733)],r)}[rt(659)](t){const e=rt,i=Array[e(731)](this[e(684)][e(619)]());i[e(765)](((t,e)=>t-e)),i[e(526)]();for(const e of i)if(e<t)return e;return Number[e(683)]}[rt(515)](t,e){const i=rt,s=Array[i(731)](e[i(568)])[i(706)]((([e,s])=>[e,this[i(768)](s,t)]));t[i(568)]=new Map(s)}[rt(743)](t){const e=rt;for(const i of this[e(733)][e(622)]()){const s=i[e(548)](t),n=Z.Range[e(727)](s);i[e(800)]=n[e(800)],i[e(784)]=n[e(784)]}}[rt(584)](t,e){const i=rt;if(i(648)!=t[i(594)]&&i(788)!=t[i(594)]){if(i(763)==t[i(594)]){const s=t[i(609)][i(527)][i(525)];this[i(654)][i(795)](s)||(this[i(654)][i(611)](s,ht(s,!0)),this[i(791)][i(611)](s,{}),e&&this[i(561)][i(611)](s,ht(s,!0)))}else{if(i(720)==t[i(594)]||i(652)==t[i(594)]||i(698)==t[i(594)])return void this[i(769)](t);i(752)==t[i(594)]&&this[i(514)](t)}if(i(752)!==t[i(594)]){const e=this[i(770)](t,this[i(654)]);e[i(664)](),this[i(743)](e)}if(e)switch(t[i(594)]){case i(763):this[i(749)](t);break;case i(533):case i(579):case i(682):this[i(560)](t);break;case i(589):this[i(741)](t);break;case i(591):this[i(685)](t)}}else this[i(710)](t,e)}[rt(770)](t,e){const i=rt,s=t[i(739)]();return s[i(508)]=t[i(508)],this[i(540)](s,e),s}[rt(806)](t){const e=rt;return t[e(706)]((t=>{const i=e,s=this[i(497)](t);return Number(t[i(590)][i(696)](s))}))}[rt(539)](t,e){const i=rt;if(t.is(i(786),i(667)))e[i(571)]({item:t,type:i(692)});else{t.is(i(786))&&e[i(571)]({item:t,type:i(662)});for(const s of t[i(530)]())this[i(539)](s,e);t.is(i(786))&&e[i(571)]({item:t,type:i(767)})}return e}[rt(653)](){const t=rt,e=new Map(this[t(778)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(581)][t(619)](),...this[t(654)][t(619)]()]);a[t(536)](t(496));for(const e of a){const i=this[t(654)][t(775)](e)||ht(e,!1),s=this[t(581)][t(775)](e)||ht(e,!1);i[t(772)]()||s[t(772)]()?(n[t(512)][e]=lt(i),n[t(680)][e]=lt(s),this[t(515)](n[t(680)][e],s),this[t(515)](n[t(512)][e],i),r[t(512)][e]=this[t(539)](this[t(561)][t(775)](e),[]),r[t(680)][e]=this[t(539)](this[t(730)][t(775)](e)||ht(e,!1),[])):a[t(536)](e)}for(const n of a){const o=r[t(512)][n];for(const n of o){const r=this[t(497)](n),o=n[t(590)][t(696)](r);i[t(536)](o),o>=this[t(543)]&&s[t(611)](o,e[t(775)](o))}}for(const n of a){const a=r[t(512)][n],c=this[t(806)](r[t(680)][n]);let u=0;for(const n of a){const r=this[t(497)](n),a=n[t(590)][t(696)](r);if(!s[t(795)](a)&&!o[t(795)](a))if(i[t(795)](a))u++;else{if(a!=c[u]){const s=e[t(775)](a)||e[t(775)](c[u]);for(;a!=c[u];)i[t(795)](c[u])||(o[t(611)](c[u],s),e[t(611)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(512)][e];for(const e of n){const n=this[t(497)](e),r=e[t(590)][t(696)](n);if(o[t(795)](r)){const e=o[t(775)](r);i[t(795)](r)||i[t(611)](r,{...e}),s[t(611)](r,{...e})}}}for(const e of i[t(619)]())e>=this[t(543)]&&i[t(536)](e);const c=new Map;for(const e of a){let n=r[t(512)][e];for(const e of n)if(e[t(590)].is(t(786),t(726))){const i=this[t(497)](e),n=e[t(590)][t(696)](i);if(s[t(795)](n)){const i=e[t(590)][t(700)][t(700)][t(696)](t(794)),r=c[t(775)](i)||new Set;r[t(631)](s[t(775)](n)[t(582)]),c[t(611)](i,r)}}n=r[t(680)][e];for(const e of n)if(e[t(590)].is(t(786),t(726))){const s=this[t(497)](e),n=e[t(590)][t(696)](s);if(i[t(795)](n)){const s=e[t(590)][t(700)][t(700)][t(696)](t(794)),r=c[t(775)](s)||new Set;r[t(631)](i[t(775)](n)[t(582)]),c[t(611)](s,r)}}for(const e of c[t(619)]())(s[t(795)](e)||i[t(795)](e))&&c[t(536)](e)}for(const e of a){const n=r[t(512)][e];let o=null,a=null;for(const e of n){const n=this[t(497)](e),r=e[t(590)][t(696)](n),u=c[t(775)](r);u&&t(662)==e[t(594)]&&(o=Array[t(731)](u)[0],a=e[t(590)][t(696)](t(702))),o&&(i[t(611)](r,{userId:o}),s[t(611)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(680)][e],a=n[t(512)][e];for(const{userId:e}of this[t(542)][t(622)]())null!==e&&l[t(631)](e);for(const{userId:e}of this[t(673)][t(622)]())null!==e&&l[t(631)](e);this[t(725)](a,r[t(512)][e],s,t(593),l),this[t(725)](o,r[t(680)][e],i,t(559),l),u[e]={insertions:this[t(585)](a),deletions:this[t(585)](o),attachChange:this[t(673)][t(775)](e)||null,attributesBefore:A(this[t(649)][t(775)](e))||{},attributesAfter:A(this[t(791)][t(775)](e))}}return{diffData:u,authorsIds:Array[t(731)](l)}}[rt(808)](t){const e=rt;for(const[,i]of t[e(568)]){const t=i[e(800)][e(789)]()[e(626)]((t=>e(726)==t[e(760)]));for(const i of t)1==i[e(803)]&&i[e(713)](0).is(e(786),e(495))&&i[e(713)](0)[e(703)](e(732),!0)}}[rt(585)](t){const e=rt;this[e(808)](t);const i=this[e(601)][e(677)][e(632)](t,{}),s=Array[e(731)](i[e(530)]())[e(706)]((t=>this[e(628)](t)));return JSON[e(549)](s)}[rt(628)](t){const e=rt;if(t.is(e(667)))return t[e(677)];{const i=this[e(601)][e(551)][e(775)](e(511)),s=t,n=this[e(601)][e(677)][e(635)][e(518)],r={type:i[e(494)](s),name:s[e(760)],attributes:Array[e(731)](s[e(681)]()),children:Array[e(731)](s[e(530)]())[e(706)]((t=>this[e(628)](t)))};if(t.is(e(499))&&e(639)!=t[e(760)]){const i=t[e(758)](n[e(766)],n);r[e(537)][e(571)](i[e(612)])}else if(t.is(e(554))){const i=n[e(766)][e(552)](s[e(760)]);t[e(758)](i,n),r[e(537)][e(571)](i[e(776)])}const o=Array[e(731)](s[e(774)]());o[e(668)]>0&&(r[e(689)]=o);const a=s[e(650)]();return null!==a&&(r[e(578)]=a),r}}[rt(725)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(601)][r(638)];for(let s=0;s<e[r(668)];s++){const n=this[r(497)](e[s]),c=e[s][r(590)][r(696)](n),h=i[r(775)](c),d=s==e[r(668)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(582)]!=o[r(582)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(582)],d=l(592)+s+":"+h+":"+c++,f=u[l(637)](i,a);t[l(568)][l(611)](d,f),null!==h&&n[l(631)](h)}}[rt(497)](t){const e=rt;switch(t[e(594)]){case e(662):return e(794);case e(767):return e(702);default:return e(695)}}[rt(540)](t,e){const i=rt;t[i(629)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(775)](n[i(527)][i(525)]);t[s]=this[i(750)](n,r)}if(n instanceof Z.Range){const r=e[i(775)](n[i(527)][i(525)]);t[s]=this[i(768)](n,r)}i(527)===s&&(t[i(527)]=e[i(775)](t[i(527)][i(525)]))}}[rt(768)](t,e){const i=rt;return this[i(601)][i(638)][i(637)](this[i(750)](t[i(800)],e),this[i(750)](t[i(784)],e))}[rt(750)](t,e){const i=rt;return this[i(601)][i(638)][i(569)](e,t[i(783)],t[i(761)])}[rt(749)](t){const e=rt,i=this[e(561)][e(775)](t[e(609)][e(527)][e(525)]),s=this[e(750)](t[e(609)],i),n=null===t[e(508)]?null:t[e(508)]||this[e(601)][e(551)][e(775)](e(627)).me.id,r=s[e(700)],o=this[e(704)],a=[];for(const i of t[e(797)])if(i.is(e(786)))a[e(571)](this[e(671)](i));else for(let t=0;t<i[e(672)];t++)a[e(571)](new Z.Element(e(667),{vid:this[e(704)]++}));const c=this[e(704)];for(let t=o;t<c;t++)this[e(778)][e(611)](t,{userId:n});r[e(781)](s[e(674)],a)}[rt(560)](t){const e=rt;(t=this[e(770)](t,this[e(561)]))[e(664)]();const i=null===t[e(508)]?null:t[e(508)]||this[e(601)][e(551)][e(775)](e(627)).me.id,s=t[e(663)](),n=s[e(700)],r=s[e(674)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(713)](e);r.is(a(786),a(667))?s[a(611)](r[a(696)](a(695)),{userId:i}):(s[a(611)](r[a(696)](a(794)),{userId:i}),t(s,r,0,r[a(803)]),s[a(611)](r[a(696)](a(702)),{userId:i}))}}(this[e(778)],n,r,r+t[e(665)])}[rt(741)](t){const e=rt,i=null===(t=this[e(770)](t,this[e(561)]))[e(508)]?null:t[e(508)]||this[e(601)][e(551)][e(775)](e(627)).me.id,s=t[e(633)][e(700)],n=t[e(764)][e(700)],r=s[e(696)](e(702)),o=n[e(696)](e(794));s[e(703)](e(702),n[e(696)](e(702))),n[e(703)](e(702),r),this[e(778)][e(611)](o,{userId:i}),this[e(778)][e(611)](r,{userId:i}),t[e(664)]()}[rt(685)](t){const e=rt,i=null===(t=this[e(770)](t,this[e(561)]))[e(508)]?null:t[e(508)]||this[e(601)][e(551)][e(775)](e(627)).me.id,s=t[e(618)],n=t[e(716)][e(700)];t[e(664)]();const r=n[e(696)](e(702)),o=t[e(603)][e(513)];if(s){const t=o[e(696)](e(702)),s=n[e(696)](e(702));n[e(703)](e(702),t),o[e(703)](e(702),s),this[e(778)][e(611)](n[e(696)](e(702)),{userId:i}),this[e(778)][e(611)](o[e(696)](e(794)),{userId:i})}else{const t=this[e(704)]++,s=this[e(704)]++;n[e(703)](e(702),t),o[e(703)](e(794),s),o[e(703)](e(702),r),this[e(778)][e(611)](t,{userId:i}),this[e(778)][e(611)](s,{userId:i})}}[rt(514)](t){const e=rt;if(!t[e(586)])return;const i=(t=this[e(770)](t,this[e(654)]))[e(771)]?t[e(771)][e(527)]:null,s=t[e(620)]?t[e(620)][e(527)]:null;i&&this[e(733)][e(536)](t[e(760)]),s&&this[e(733)][e(611)](t[e(760)],t[e(620)][e(739)]());const n=null===t[e(508)]?null:t[e(508)]||this[e(601)][e(551)][e(775)](e(627)).me.id,r=t[e(760)];if(!this[e(542)][e(795)](r))return void this[e(542)][e(611)](r,{range:t[e(771)],userId:n});const o=this[e(542)][e(775)](r),a=o[e(528)],c=t[e(620)];null==a&&null==c||a&&c&&a[e(532)](c)?this[e(542)][e(536)](t[e(760)]):o[e(582)]=n}[rt(710)](t,e){const i=rt;this[i(654)][i(795)](t[i(525)])?this[i(654)][i(775)](t[i(525)])[i(566)]=t[i(722)]:(this[i(654)][i(611)](t[i(525)],ht(t[i(525)],!0)),this[i(791)][i(611)](t[i(525)],{}),e&&this[i(561)][i(611)](t[i(525)],ht(t[i(525)],!0)));const s=null===t[i(508)]?null:t[i(508)]||this[i(601)][i(551)][i(775)](i(627)).me.id,n=this[i(673)][i(775)](t[i(525)]);n&&n[i(582)]===s?this[i(673)][i(536)](t[i(525)]):this[i(673)][i(611)](t[i(525)],{userId:s,isAttached:t[i(722)]})}[rt(769)](t){const e=rt,i=this[e(791)][e(775)](t[e(527)][e(525)]);null===t[e(742)]?delete i[t[e(555)]]:i[t[e(555)]]=t[e(742)]}}function lt(t){const e=rt,i=ht(t[e(525)],t[e(772)]());for(const s of t[e(530)]()){const t=s[e(737)](!0);i[e(748)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(525)]=t,s[i(566)]=e,s[i(772)]=()=>s[i(566)],s}function dt(t,e,i){const s=rt,n=s(767)==t[s(594)]?i[s(724)](t[s(590)],s(784)):i[s(678)](t[s(590)]);return i[s(569)](e,n[s(783)],n[s(761)])}function ft(t,e,i){const s=rt,n=s(662)==t[s(594)]?i[s(724)](t[s(590)],0):i[s(502)](t[s(590)]);return i[s(569)](e,n[s(783)],n[s(761)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),xt=i(426),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=It(),Tt.insert=wt().bind(null,"head"),Tt.domAPI=kt(),Tt.insertStyleElement=Ot();gt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Et;function Vt(){const t=["_createRevisionNameInput","label","focusTracker","setTemplate","listenTo","locale","revisionNameInputView","trim","value","arrowup","24SFDtzF","errorText","11TlDxcs","fieldView","ck-responsive-form","ck-revision-history-save-revision-form","14IzHSzF","revisionNameInputValue","Name of the revision","20xWBOzV","28889OFBCZV","arrowdown","element","reset","focus","set","revisionName","form","220","optional","1668duDTfq","input","2899323awQcsQ","arrowright","extendTemplate","stopPropagation","render","keystrokes","821096LDixSm","25628fARELE","add","380343emzaOD","13886440MswtaT","3145092DJVVlS","arrowleft"];return(Vt=function(){return t})()}function Et(t,e){const i=Vt();return(Et=function(t,e){return i[t-=269]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(853689===-parseInt(e(279))/1+parseInt(e(301))/2*(-parseInt(e(281))/3)+-parseInt(e(278))/4*(-parseInt(e(304))/5)+parseInt(e(270))/6*(-parseInt(e(305))/7)+-parseInt(e(295))/8*(-parseInt(e(272))/9)+parseInt(e(282))/10+-parseInt(e(297))/11*(parseInt(e(283))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Mt extends pt.View{[At(287)];[At(277)];[At(291)];constructor(e,i){const s=At;super(e),this[s(287)]=new t.FocusTracker,this[s(277)]=new t.KeystrokeHandler,this[s(310)](s(302),""),this[s(291)]=this[s(285)](i),this[s(288)]({tag:s(312),attributes:{class:["ck",s(300),s(299)],tabindex:"-1"},children:[this[s(291)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(276)](){const t=At;super[t(276)](),(0,pt.submitHandler)({view:this}),this[t(287)][t(280)](this[t(291)][t(307)]),this[t(277)][t(289)](this[t(307)]);const e=e=>e[t(275)]();this[t(277)][t(310)](t(273),e),this[t(277)][t(310)](t(284),e),this[t(277)][t(310)](t(294),e),this[t(277)][t(310)](t(306),e)}[At(309)](){const t=At;this[t(291)][t(309)]()}get[At(311)](){const t=At;return this[t(291)][t(298)][t(307)][t(293)][t(292)]()}set[At(311)](t){const e=At;this[e(291)][e(298)][e(307)][e(293)]=t[e(292)]()}[At(308)](){const t=At;this[t(291)][t(298)][t(307)][t(293)]="",this[t(291)][t(296)]=null}[At(285)](t){const e=At,i=new pt.LabeledFieldView(this[e(290)],pt.createLabeledInputText),s=i[e(298)];s[e(274)]({attributes:{maxlength:e(313)}});let n=X(this[e(290)],e(303));return!t&&(n+=" ("+X(this[e(290)],e(269))+")"),i[e(286)]=n,s.on(e(271),(()=>{const t=e;this[t(302)]=s[t(307)][t(293)][t(292)]()})),i}}const Dt=Ft;function Ct(){const t=["revisionHistory.requireRevisionName","RevisionTracker","pluginName","editor","saveRevision","revisionSave","revisionHistory","isReadOnly","11ZuWDIY","_registerMenuComponent","panelView","componentFactory","Open revision history","1228514kGrxkz","1924cStDTz","The revision name cannot be empty.","add","reset","set","menu","661590xOaqhA","Dialog","3381708erTBKp","6KBOyEG","requires","addMany","init","isOpen","items","render","bind","revisionName","isEnabled","locale","get","menuBar:revisionHistory","144822icwEWB","_showDialog","execute","_createSaveRevisionFormView","config","Revision history","50xWHIUc","20NnZPmQ","plugins","248318HumJMS","isPremiumPlugin","168852AOUslF","16ojZyNO","Accept","715SaBNXu","editing","showRevisionViewerCallback","Cancel","menuitem","2253yXBhnV","show","submit","RevisionHistoryUI","_saveRevisionFormView","buttonView","revisionNameInputView","isReady","delegate","errorText","children","view","Save current revision","focus","isOfficialPlugin","ck-button-action","hide","role"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=457]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(231085===parseInt(e(520))/1*(parseInt(e(460))/2)+parseInt(e(479))/3*(parseInt(e(511))/4)+parseInt(e(467))/5*(parseInt(e(471))/6)+parseInt(e(510))/7*(-parseInt(e(472))/8)+-parseInt(e(517))/9*(-parseInt(e(466))/10)+-parseInt(e(505))/11*(-parseInt(e(519))/12)+parseInt(e(474))/13*(-parseInt(e(469))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class jt extends U.Plugin{static get[Dt(499)](){return Dt(482)}static get[Dt(493)](){return!0}static get[Dt(470)](){return!0}static get[Dt(521)](){return[at]}[Dt(483)];[Dt(523)](){const t=Dt,e=this[t(500)],i=e[t(468)][t(458)](t(498));e.ui[t(508)][t(513)](t(503),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(507)][n(489)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(527)](n(529)).to(i,n(486),i,n(529),e,n(504),((t,e,i)=>t&&e&&!i)),r[n(484)][n(515)]({icon:mt.IconHistory,label:X(s,n(465)),tooltip:!0}),u[n(515)]({label:X(s,n(491)),withText:!0,role:n(478)}),u[n(527)](n(529)).to(i,n(486),i,n(529),e,n(504),((t,e,i)=>t&&e&&!i)),u.on(n(462),(()=>this[n(461)]())),h[n(515)]({label:X(s,n(509)),withText:!0,role:n(478)}),h[n(527)](n(529)).to(i,n(486),e,n(504),((t,e)=>t&&!e)),h.on(n(462),(()=>{const t=n;e[t(464)][t(458)](t(503))[t(476)](),r[t(524)]=!1,e[t(475)][t(490)][t(492)]()})),c[n(489)][n(513)](u),l[n(489)][n(513)](h),a[n(496)]=n(516),a[n(525)][n(522)]([c,l]),o[n(513)](a),r})),e.ui[t(508)][t(513)](t(459),(()=>this[t(506)]()))}[Dt(506)](){const t=Dt,e=this[t(500)],i=e[t(457)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(484)][t(515)]({icon:mt.IconHistory,label:X(i,t(465))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(515)]({label:X(i,t(491))}),o[t(487)](t(462)).to(s),o.on(t(462),(()=>{this[t(461)]()})),r[t(489)][t(513)](o),n[t(525)][t(513)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(515)]({label:X(i,t(509))}),c[t(487)](t(462)).to(s),c.on(t(462),(()=>{const i=t;e[i(464)][i(458)](i(503))[i(476)]()})),a[t(489)][t(513)](c),n[t(525)][t(513)](a),s[t(507)][t(489)][t(513)](n),s}[Dt(461)](){const t=Dt,e=this[t(500)],i=e[t(457)],s=e[t(468)][t(458)](t(518)),n=e[t(468)][t(458)](t(498));function r(n){const r=t;e[r(464)][r(458)](r(497))&&""===n[r(528)]?n[r(485)][r(488)]=X(i,r(512)):(e[r(468)][r(458)](at)[r(501)]({name:n[r(528)]}),s[r(495)]())}this[t(483)]||(this[t(463)](),this[t(483)].on(t(481),(()=>r(this[t(483)])))),this[t(483)][t(514)](),s[t(480)]({id:t(502),title:X(i,t(491)),isModal:!0,content:this[t(483)],actionButtons:[{label:X(e[t(457)],t(477)),withText:!0,onExecute:()=>s[t(495)]()},{label:X(e[t(457)],t(473)),class:t(494),withText:!0,onCreate(i){const s=t;i[s(527)](s(529)).to(n,s(486),n,s(529),e,s(504),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(483)])}]})}[Dt(463)](){const t=Dt,e=this[t(500)],i=e[t(457)];this[t(483)]=new Mt(i,e[t(464)][t(458)](t(497))),this[t(483)][t(526)]()}}const Lt=zt;function Pt(){const t=["199923HIrZeY","setTemplate","name","1449108kXADEV","8nlUDzX","add","657846oApOkb","type","ck-annotation","element","author","set","ck-revision-change__","div","Suggested by","964350SPZRls","_model","Removed by","data","changeId","isSuggestion","16431yfBsxa","73794pJgMog","100NrNyiv","span","focus","Added by","ck-revision-change__label","75NiIHMG","12354452IrVkKN","ck-revision-change","bindTemplate","18ybnnQn"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=417]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(184719===-parseInt(e(419))/1+-parseInt(e(442))/2*(parseInt(e(440))/3)+-parseInt(e(422))/4+parseInt(e(447))/5*(parseInt(e(441))/6)+parseInt(e(425))/7*(-parseInt(e(423))/8)+parseInt(e(418))/9*(-parseInt(e(434))/10)+parseInt(e(448))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[Lt(438)];[Lt(435)];constructor(t,e){const i=Lt;super(t),this[i(435)]=e,this[i(438)]=e.id;const s=this[i(417)],n=X(t,e[i(437)][i(439)]?i(433):i(424)==e[i(426)]?i(445):i(436));this[i(430)](i(426),e[i(426)]),this[i(420)]({tag:i(432),attributes:{class:[i(427),i(449),s.to(i(426),(t=>i(431)+t))],tabindex:-1},children:[{tag:i(443),children:[{tag:i(443),attributes:{class:[i(446)]},children:[{text:n}]},{text:" "+e[i(429)][i(421)]}]}]})}[Lt(444)](){const t=Lt;this[t(428)][t(444)]()}}var Ut=Ht;function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=311]})(t,e)}function Zt(){var t=["2017960ftqcMP","165IWKrNh","7oLpJCP","149920uNzjPg","data","5Wmeuox","689574SMvmNo","55230cKsGtP","author","createdAt","rootName","633952QhEEvy","20lgKGdU","type","814383cghsdO","90931qUsdeT","set","toJSON"];return(Zt=function(){return t})()}!function(t){for(var e=Ht,i=t();;)try{if(161810===parseInt(e(314))/1+parseInt(e(311))/2*(parseInt(e(324))/3)+-parseInt(e(328))/4*(-parseInt(e(322))/5)+parseInt(e(323))/6+parseInt(e(319))/7*(-parseInt(e(317))/8)+parseInt(e(313))/9+-parseInt(e(320))/10*(parseInt(e(318))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(325)];[Ut(312)];[Ut(321)];[Ut(327)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(325)]=e[i(325)],this[i(312)]=e[i(312)],this[i(321)]=e[i(321)]||{},this[i(327)]=e[i(327)],this[i(315)](i(326),e[i(326)])}[Ut(316)](){var t=Ut;return{id:this.id,authorId:this[t(325)].id,type:this[t(312)],data:this[t(321)],createdAt:this[t(326)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=113]})(t,e)}function Yt(){const t=["1561tHFewU","638890HkDmAx","newRevisionId","42200GyiKvp","5Yiekww","10VcVqFx","_setChanges","oldRevisionId","changes","47113FFVpBK","105592wvhEnk","add","6543387IoNZQn","75qffocZ","4556586VprWmq","815534iFjsSF","1608EnqSZO"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(738802===parseInt(e(124))/1+parseInt(e(127))/2+parseInt(e(122))/3*(-parseInt(e(119))/4)+-parseInt(e(113))/5*(parseInt(e(123))/6)+-parseInt(e(126))/7*(-parseInt(e(129))/8)+parseInt(e(121))/9*(-parseInt(e(114))/10)+-parseInt(e(118))/11*(-parseInt(e(125))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(128)];[$t(116)];[$t(117)];constructor(e,i){const s=$t;this[s(128)]=e,this[s(116)]=i,this[s(117)]=new t.Collection}[$t(115)](t){const e=$t;for(const i of t)this[e(117)][e(120)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Qt=te;function Xt(){const t=["domConverter","name","elementToAttribute","detachRoot","markersEnd","getRevisionRootsAttributes","getRevisionDocumentData","addRoot","dataDowncast","isAttached","mousedown","writer","markerNameToElements","end","nextPosition","ck-suggestion-preview-marker-","startsWith","deletions","ck-suggestion-marker-split","isOnRoot","_appendChild","item","975728xqJRJD","viewItem","schema","resolve","downcastDispatcher","getAttribute","change:activeView","createAttributeElement","addClass","isIncorrect","diff","toViewRange","unbindElementFromMarkerName","isEqual","editingDowncast","then","listenTo","isInline","newRevisionId","compare","flat","pop","clear","showNextChange","editing","insertion","stop","attribute:vid","userId","_step","consumable","range","ck-editor__editable__overlay","ck-revision-history-root-remove","_sortAndFilterDiffChanges","createPositionBefore","side","_changeIdToChange","wrap","error","adapter","_removeUnsupportedChanges","hasClass","data","getRootNames","element","low","return","ck-revision-history-root-","_getRevisionsRange","isCollapsed","isNavigationMode","revisionHistoryLabel","init","pairId","_update","mapper","isLimit","has","addHighlight","_getDiff","vid","attributes","code","_markMarkers","observeMarkers","catch","_utils","modelRange","distance","nextSibling","vid_start","7HEGxPz","endIndex","createRevision","add","push","findIndex","top","conversion","backward","480687ThzXCU","isAdded","model","document","removeMarker","markerRange","target","all","restoreRevisionCallback","revision:","map","right","getWalker","isAfter","merge","getRoot","enqueueChange","toViewElement","elementEnd","85224KaJBEj","string","data-change-id","from","attributesAfter","previousPosition","revision-viewer","isBlock","change:isEnabled","isContent","_setDistance","_data","addRevision","selection","consume","oldRevisionId","concat","next","delete","_findChangeIdFromDomTarget","forEach","4406640JMCjDa","getAttributes","highest","changes","_activeViewTarget","restoreRevision","addMarker:revision-suggestion:deletion","changeId","_fixObsoleteTags","roots","execute","isObject","markerName","_balloon","346574GEalhf","isRemoved","mouseover","createRangeIn","editor","uiElement","getDomRoot","removeMarker:revision-suggestion","_cleanMarkers","first","_markInsertions","get","_makeTape","dataToMarker","isSuggestion","loadRevisionData","change","isReady","values","ck-revision-history-root--active","ck-revision-history-root-add","index","forceDisabled","activeView","enableReadOnlyMode","startIndex","length","revisionHistoryAttachChange","insert","_setConversion","test","view","_makeModelFromTape","removeMarker:revision","revisionHistory","_threeWayMerge","find","_getChangeFromId","RevisionViewer","addMarker:revision","toViewPosition","elementStart","forward","text","suggestion:","isEnabled","POSITIVE_INFINITY","revision","90VKNUCv","abs","softBreak","_changeView","isRemoveSuggestion","createPositionFromPath","authors","addMarker:revision-suggestion:insertion","object","includes","markerToData","getClientRects","createRange","createUIElement","ck-suggestion-preview-marker","sort","indexOf","bindElementToMarker","splice","RevisionHistoryUtils","97299lZJKcq","high","change:isReady","16ctuvBY","currentChangeNumber","_refreshStartEndIndex","-new","attachChange","RevisionsRepository","rootName","unshift","_initInteractions","_makeModelFromViewString","type","plugins","addRevisionData","config","getIndex","pluginName","comment","shift","isBefore","mapViewToDom","refresh","span","maxOffset","for","bottom","level","_joinTapes","revision-suggestion:","markerToHighlight","locale","getLaterVisibleRevision","isPremiumPlugin","suggestion","ck-suggestion-marker-merge","_markSuggestions","remove","requires","slice","ck-suggestion-marker-","isOfficialPlugin","domEvent","revision-suggestion","updatePosition","done","parent","571518fGJJNh","insertions","isAddSuggestion","split","revision-comment:","WidgetToolbarRepository","bind","_removeMissingPairs","start","_setChanges","attributesBefore","hasAttribute","removeAttribute","affectsData","commands","change:numberOfChanges","numberOfChanges","removeClass","_cleanUp","showStack","change:activeChange","nodeAfter","isAtEnd","ck-suggestion-marker--active","set","vid_end","offsetSize","diffData","isAtStart","getRevision","ck-suggestion-marker","_revisions","showPreviousChange","_getViewForChange","deletion","reconvertMarker","_processTape","_markMismatchedRemovedTags","getChild","markers","repository","keys","getItems","left","element:pre","activeChange","checkAttribute","markersStart","getCustomProperty","upcast","destroy","filter","setAttribute"];return(Xt=function(){return t})()}function te(t,e){const i=Xt();return(te=function(t,e){return i[t-=259]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(449022===parseInt(e(283))/1+-parseInt(e(474))/2+-parseInt(e(555))/3+parseInt(e(574))/4*(parseInt(e(331))/5)+-parseInt(e(399))/6*(parseInt(e(546))/7)+-parseInt(e(354))/8*(-parseInt(e(351))/9)+parseInt(e(269))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class ee extends U.Plugin{[Qt(439)];[Qt(514)]=null;[Qt(541)];[Qt(273)];[Qt(334)];[Qt(511)];[Qt(282)];static get[Qt(369)](){return Qt(321)}static get[Qt(393)](){return!0}static get[Qt(385)](){return!0}static get[Qt(390)](){return[H.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(439)]=this[e(287)][e(365)][e(294)](e(359)),this[e(541)]=this[e(287)][e(365)][e(294)](e(350)),this[e(423)](e(444),null),this[e(423)](e(306),null),this[e(273)]=null,this[e(423)](e(484),null),this[e(423)](e(300),!1),this[e(423)](e(328),!0),this.on(e(582),((t,i,s)=>{const n=e;this[n(444)]=null,this[n(306)]=null,this[n(287)][n(498)][n(314)][n(299)]((t=>{const e=n;for(const i of this[e(287)][e(498)][e(314)][e(558)][e(278)])s?t[e(416)](e(506),i):t[e(482)](e(506),i)}))})),this[e(405)](e(525)).to(this,e(444),(t=>null!==t)),this[e(405)](e(355)).to(this,e(300),this,e(484),this,e(444),((t,i,s)=>t&&s?i[e(272)][e(368)](s):0)),this[e(405)](e(415)).to(this,e(300),this,e(484),((t,i)=>t?i[e(272)][e(309)]:0)),this[e(334)]=null,this[e(511)]=new Map,this[e(282)]=this[e(287)][e(365)][e(294)](pt.ContextualBalloon)}[Qt(527)](){const t=Qt,e=this[t(287)],i=new ne(e,{direction:t(554)}),s=new ne(e,{direction:t(325)});e[t(413)][t(549)](t(431),i),e[t(413)][t(549)](t(497),s),e[t(413)][t(549)](t(274),new se(e)),this.on(t(414),(()=>{const e=t;i[e(374)](),s[e(374)]()})),this[t(312)](),this[t(362)](),e[t(307)](t(580)),e[t(365)][t(532)](t(404))&&e[t(365)][t(294)](t(404))[t(305)](t(580))}async[Qt(458)](t){const e=Qt;return await this[e(541)][e(298)](t,this[e(514)]),this[e(541)][e(458)](t)}async[Qt(457)](t){const e=Qt;return await this[e(541)][e(298)](t,this[e(514)]),this[e(541)][e(457)](t)}async[Qt(493)](t,e,i=!1){const s=Qt;if(!this[s(328)])return;const n=this[s(484)],r=this[s(439)],o=s(575)==typeof t?r[s(428)](t):t,a=s(575)==typeof e?r[s(428)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(484)]&&this[s(484)][s(492)]===c&&this[s(484)][s(263)]===u)return Promise[s(477)]();this[s(300)]=!1,this[s(306)]=null,this[s(444)]=null,this[s(484)]=new Jt(c,u);const l=this[s(523)](o,a,!0)[s(565)]((t=>this[s(541)][s(298)](t,this[s(514)])));return l[s(550)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(562)](l)[s(489)]((()=>{const t=s;if(!this[t(328)])return;this[t(417)]();const e=this[t(534)](c,u);for(const i of e[t(272)])this[t(511)][t(423)](i.id,i);this[t(287)][t(557)][t(571)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(287)][s(557)][s(558)][s(518)]())i[s(455)](t);for(const t of Object[s(440)](e[s(557)])){const n=i[s(459)](t);for(const r of Object[s(440)](e[s(536)][t]))i[s(451)](r,e[s(536)][t][r],n);i[s(311)](e[s(557)][t],n,0)}})),this[t(484)][t(408)](this[t(508)](e[t(272)])),this[t(300)]=!0}))[s(540)]((t=>{const e=s;console[e(513)](t),this[e(417)](),n&&(this[e(484)]=n),this[e(300)]=!0}))}[Qt(366)](t,e){const i=Qt,s=this[i(439)][i(548)](t);return s.on(i(529),((t,i,n)=>e(i,n,s))),this[i(439)][i(260)](s),s}[Qt(417)](){const t=Qt;this[t(444)]=null,this[t(291)](),this[t(334)]&&this[t(334)][t(449)](),this[t(334)]=null,this[t(511)][t(496)](),this[t(287)][t(557)][t(571)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(287)][i(557)][i(558)][i(518)]())e[i(455)](t)}))}[Qt(508)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(287)][e(557)][e(558)][e(518)]()){const n=this[e(287)][e(498)][e(314)][e(289)](t);if(!n)continue;const r=n[e(342)]()[e(473)](0);r&&(i[e(550)](t),s[e(423)](t,r))}return i[e(346)](((t,i)=>{const n=e,r=s[n(294)](t),o=s[n(294)](i);return r.y-o.y||r.x-o.x})),(t=t[e(450)]((t=>i[e(340)](t[e(360)]))))[e(346)](((t,s)=>i[e(347)](t[e(360)])-i[e(347)](s[e(360)]))),t}[Qt(295)](t){const e=Qt,i=Array[e(577)](t[e(438)])[e(450)]((([t,i])=>t[e(468)](e(564))&&!i[e(524)])),s=Array[e(577)](this[e(287)][e(557)][e(286)](t)[e(567)]({singleCharacters:!0}));if(0!=i[e(309)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(402)](":");if(n[e(465)][e(487)](t[e(466)])&&i[e(371)](),(t[e(579)][e(487)](n[e(407)])||t[e(579)][e(568)](n[e(407)]))&&(e(499)==r?t[e(556)]={userId:o}:e(433)==r&&(t[e(284)]={userId:o})),0==i[e(309)])break}return s}[Qt(356)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(309)];s++)e(326)===t[s][e(364)]?(t[s][e(473)][e(308)]=s,t[s][e(473)][e(547)]=s):(e(324)===t[s][e(364)]?t[s][e(473)][e(308)]=s:e(573)===t[s][e(364)]&&(t[s][e(473)][e(547)]=s),i[e(423)](t[s].id,s));for(const s of i[e(301)]())e(324)===t[s][e(364)]?t[s][e(473)][e(547)]=i[e(294)](t[s][e(528)]):e(573)===t[s][e(364)]&&(t[s][e(473)][e(308)]=i[e(294)](t[s][e(528)]))}[Qt(435)](t){const e=Qt;for(let i=0;i<t[e(309)];i++){if(e(324)===t[i][e(364)])t[i][e(473)][e(308)]=i;else if(e(573)===t[i][e(364)]){t[i][e(473)][e(547)]=i;const s=t[i][e(473)][e(308)];t[s][e(528)]=t[i].id,t[i][e(528)]=t[s].id}else t[i][e(473)][e(308)]=i,t[i][e(473)][e(547)]=i,t[i][e(528)]=null;t[i][e(446)]||(t[i][e(446)]=[],t[i][e(456)]=[])}}[Qt(293)](t,e){const i=Qt,s=t[i(450)]((t=>!t[i(556)]));for(let t=0;t<e[i(309)];t++)e[t][i(556)]&&(s[t][i(556)]=e[t][i(556)])}[Qt(534)](t,e=null){const i=Qt,s=this[i(439)][i(428)](t),n=e?this[i(439)][i(428)](e):null,r=this[i(523)](s,n),o=r[r[i(309)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(309)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(440)](e[i(426)]))if(e[i(426)][t][i(358)]){const s=e[i(426)][t][i(358)];s[i(461)]?(u[i(549)](t),l[i(532)](t)&&l[i(294)](t)[i(502)]==s[i(502)]?l[i(266)](t):l[i(423)](t,s)):l[i(532)](t)?(u[i(266)](t),l[i(266)](t)):(u[i(549)](t),l[i(423)](t,s))}else u[i(549)](t)}for(const t of u){const e=l[i(532)](t)&&!l[i(294)](t)[i(461)];let s=e?r[i(309)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(426)][t]){const s=e?o[i(426)][t][i(409)]:o[i(426)][t][i(578)];c[i(536)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(557)]={};for(const e of t[i(337)])a[i(423)](e.id,e);for(const e of u){const s=t[i(426)][e]?t[i(426)][e][i(400)]:"[]",n=t[i(426)][e]?t[i(426)][e][i(469)]:"[]";t[i(557)][e]={insertions:this[i(541)][i(363)](s),deletions:this[i(541)][i(363)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(577)](s[i(557)][t][i(400)][i(438)])[i(450)]((([t])=>!t[i(468)](i(564)))));let h=0;for(const o of r){const r=this[i(295)](o[i(557)][t][i(400)]);o==s?(e=r,n=e[i(309)],e[i(268)]((t=>{t.id=h++})),this[i(435)](e)):this[i(293)](e,r);const a=e[i(450)]((t=>!t[i(556)]))[i(565)]((t=>t.id));let c=0;const l=this[i(295)](o[i(557)][t][i(469)]);l[i(268)]((t=>{t[i(284)]?t.id=n++:t.id=a[c++]})),this[i(435)](l),this[i(584)](e,i(556)),this[i(584)](l,i(284)),o==s&&this[i(538)](e,u),e=this[i(380)](e,l),this[i(356)](e),this[i(584)](e,i(284))}e=e[i(450)]((t=>!(t[i(556)]&&t[i(284)])));const d=new Map(o[i(557)][t][i(469)][i(438)]),f=new Set(u[i(440)]());for(const t of d[i(440)]())f[i(266)](t);this[i(388)](e,f),this[i(277)](e),e=this[i(406)](e),e=this[i(436)](e),e=this[i(515)](e);const{root:m,changes:p}=this[i(315)](e,a,t);c[i(557)][t]=m;const v=l[i(294)](t);if(v){const e=a[i(294)](v[i(502)]),s=new qt({author:e,type:v[i(461)]?i(549):i(389),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(361)](s),c[i(536)][t][i(310)]=s.id}c[i(272)]=c[i(272)][i(264)](p)}return c}[Qt(538)](t,e){const i=Qt;for(let s=0;s<t[i(309)];s++)for(const[n,r]of e)!r[i(524)]&&r[i(407)][i(487)](t[s][i(579)])&&t[s][i(446)][i(550)](n),r[i(465)][i(487)](t[s][i(466)])&&t[s][i(456)][i(550)](n)}[Qt(380)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(309)]||r<e[i(309)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(550)](o);else if(a[i(284)]&&o[i(556)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(318)](t,n,e,r);s=s[i(264)](o),n=a,r=c}else a[i(284)]?(r++,s[i(550)](a)):(n++,s[i(550)](o))}return s}[Qt(388)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(309)];o++){for(let r=0;r<t[o][i(446)][i(309)];r++){const a=t[o][i(446)][r];if(!e[i(532)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(395)!=c||i(499)!=u&&i(433)!=u||(s[i(361)]({type:u,name:a,userId:l}),t[o][i(446)][i(349)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(456)][i(309)];r++){const a=t[o][i(456)][r];if(!e[i(532)](a))continue;const{group:c,type:u}=n(a);if(i(395)!=c||i(499)!=u&&i(433)!=u)continue;t[o][i(456)][i(349)](r,1),r--;const l=s[i(551)]((t=>t[i(453)]==a));l>-1&&s[i(349)](l,1)}}function n(t){const e=i,s=t[e(402)](":");return{group:s[0],type:s[1],subType:s[e(309)]>=5?s[2]:null,id:s[e(309)]<5?s[2]:s[3],authorId:s[e(309)]<5?s[3]:s[4],markerCount:6==s[e(309)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(309)];i++){if(t[e(556)]&&e(499)==s[i][e(364)])return t[e(401)]=s[i],void delete t[e(556)];if(!t[e(556)]&&!t[e(284)]&&e(433)==s[i][e(364)])return void(t[e(335)]=s[i])}}}[Qt(584)](t,e){const i=Qt;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(423)](o.id,s);for(let s=0;s<t[i(309)];s++){if(i(284)==e&&t[s][i(556)]||i(556)==e&&t[s][i(284)])continue;if(i(326)==t[s][i(364)]){t[s][i(543)]=0;continue}const n=r[i(294)](t[s][i(528)]),o=r[i(294)](t[s].id);t[s][i(543)]=n-o}}[Qt(523)](t,e,i=!1){const s=Qt,n=[];let r=this[s(439)][s(368)](t),o=this[s(439)][s(368)](e);for(-1==o&&(o=this[s(439)][s(430)][s(309)],i=!1);r<o;)n[s(550)](this[s(439)][s(428)](r)),r++;return i&&n[s(550)](this[s(439)][s(428)](r)),n}[Qt(318)](t,e,i,s){const n=Qt,r=this[n(287)][n(557)][n(476)];let o=e;for(;t[o]&&t[o][n(556)];)o++;let a=s;for(;i[a]&&i[a][n(284)];)a++;u(t,e,o),u(i,s,a);const c=i[n(391)](s,a)[n(264)](t[n(391)](e,o));return c[n(346)](((t,e)=>t[n(510)]!=e[n(510)]?t[n(510)]-e[n(510)]:t[n(379)]!=e[n(379)]?t[n(379)]-e[n(379)]:t[n(543)]!=e[n(543)]?e[n(543)]-t[n(543)]:!!t[n(556)]!=!!e[n(556)]?-1==t[n(510)]||0==t[n(510)]?t[n(556)]?-1:1:t[n(556)]?1:-1:t[n(304)]-e[n(304)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(329)],c=!0;for(let n=e;n<i;n++)if(r[s(491)](t[n][s(473)])||(c=!1),t[n][s(473)][s(308)]<e&&(o=n),t[n][s(473)][s(547)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(510)]=n<=o?-1:n<a?0:1,t[n][s(304)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(543)]?t[i][s(379)]=u:(u++,t[i][s(379)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(510)]&&(t[n][s(379)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(543)]?t[e][s(379)]=u:(u--,t[e][s(379)]=u,u--)}}[Qt(277)](t){const e=Qt,i=new Map,s=this[e(287)][e(557)][e(476)];for(let n=1;n<t[e(309)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(326)==c[e(364)])continue;if(c[e(364)]!=u[e(364)])continue;if(!s[e(581)](u[e(473)])||s[e(531)](u[e(473)]))continue;if(!s[e(581)](c[e(473)])||s[e(531)](c[e(473)]))continue;if((t[n][e(556)]||t[n][e(401)])&&t[n-1][e(284)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(284)]||!t[n-1][e(556)]&&!t[n-1][e(401)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(379)]==o[e(379)],h=Math[e(332)](r[e(379)])<Math[e(332)](o[e(379)])&&0==o[e(543)];(l||h)&&(i[e(423)](o.id,r.id),t[e(349)](a,1),n--,r[e(556)]=!1)}for(let s=0;s<t[e(309)];s++)i[e(532)](t[s][e(528)])&&(t[s][e(528)]=i[e(294)](t[s][e(528)]))}[Qt(406)](t){const e=Qt,i=new Set(t[e(565)]((t=>t.id)));for(let s=0;s<t[e(309)];s++)i[e(532)](t[s][e(528)])||0==t[s][e(543)]||(t[s][e(483)]=!0);return t[e(450)]((t=>!t[e(483)]))}[Qt(436)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(309)];s++){if(i[e(532)](t[s].id)&&t[s][e(284)]&&(t[s][e(483)]=!0),t[s][e(483)])continue;if(0==t[s][e(543)])continue;if(e(324)!=t[s][e(364)])continue;if(null==t[s][e(528)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(528)];)e(324)==t[n][e(364)]?r++:e(573)==t[n][e(364)]&&r--,n++;if(0!=r)if(t[s][e(284)])t[s][e(483)]=!0;else for(;n!=s;)t[n][e(284)]&&0!=t[n][e(543)]&&(t[n][e(483)]=!0,i[e(549)](t[n][e(528)])),n--}return t[e(450)]((t=>!t[e(483)]))}[Qt(515)](t){const e=Qt,i=this[e(287)][e(557)][e(476)];for(let s=0;s<t[e(309)];s++){if(!(t[s][e(556)]||t[s][e(401)]||t[s][e(284)]||t[s][e(335)]))continue;if(0==t[s][e(543)])continue;const n=t[s][e(473)];i[e(581)](n)||i[e(531)](n)||(t[s][e(556)]&&delete t[s][e(556)],t[s][e(401)]&&delete t[s][e(401)],t[s][e(335)]&&delete t[s][e(335)],t[s][e(284)]&&(t[s][e(483)]=!0))}return t[e(450)]((t=>!t[e(483)]))}[Qt(315)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(287)][s(557)],c=a[s(476)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(309)];e++)if(s(324)===t[e][s(364)]){t[e][s(579)]=a[s(336)](n,f);const i=new Z.Element(t[e][s(473)][s(453)],t[e][s(473)][s(270)]());u[0][s(472)](i),f[s(550)](0),u[s(361)](i),t[e][s(466)]=a[s(336)](n,f)}else s(573)===t[e][s(364)]?(u[s(371)](),t[e][s(579)]=a[s(336)](n,f),f[s(495)](),f[f[s(309)]-1]++,t[e][s(466)]=a[s(336)](n,f)):(t[e][s(579)]=a[s(336)](n,f),d?d[s(259)]+=t[e][s(473)][s(517)]:d=new Z.Text(t[e][s(473)][s(517)],t[e][s(473)][s(270)]()),t[e+1]&&s(326)===t[e+1][s(364)]&&v(d,t[e+1][s(473)])||(u[0][s(472)](d),d=null),f[f[s(309)]-1]+=t[e][s(473)][s(425)],t[e][s(466)]=a[s(336)](n,f));for(let e=0;e<t[s(309)];e++){const i=t[e][s(579)],n=t[e][s(466)];for(const n of t[e][s(446)])o[s(423)](n,{start:i,end:null});m(s(335),e,i,n),m(s(401),e,i,n),m(s(284),e,i,n),m(s(556),e,i,n);for(const i of t[e][s(456)]){const t=o[s(294)](i);t?t[s(465)]=n:o[s(423)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(287)][s(557)][s(343)](e[s(407)],e[s(465)]);n[s(438)][s(423)](t,i)}return r[s(346)](((t,e)=>{const i=s,r=n[i(438)][i(294)](i(564)+t.id),o=n[i(438)][i(294)](i(564)+e.id);return r[i(407)][i(372)](o[i(407)])?-1:r[i(407)][i(568)](o[i(407)])?1:r[i(465)][i(372)](o[i(465)])?-1:r[i(465)][i(568)](o[i(465)])?1:i(549)===t[i(364)]?-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(502)]:null,d=i===t[o(309)]-1,f=h[e][0],m=c[o(280)](t[i][o(473)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(465)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(502)]!==u&&(l[e][o(465)]=n,f&&f[o(502)]===l[e][o(502)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(324)!==t[i][o(364)]||f&&f[o(502)]===u||h[e][o(361)]({userId:u,object:t[i][o(473)],change:l[e]}),o(573)===t[i][o(364)]&&f&&f[o(339)]===t[i][o(473)]&&(h[e][o(371)](),l[e]=f[o(299)])),l[e]&&d&&(l[e][o(465)]=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(473)],f=a[h(476)][h(581)](d)&&!a[h(476)][h(531)](d),m=t[h(420)]==o[h(398)]&&o[h(427)];if(f&&m)return;const p=a[h(343)](t,o),v=e[h(294)](u),g=new qt({author:v,type:h(556)==l||h(401)==l?h(549):h(389),data:{isSuggestion:h(401)==l||h(335)==l},createdAt:new Date,rootName:i});r[h(550)](g),n[h(438)][h(423)](h(564)+g.id,p)}function v(t,e){const i=s,n=t[i(270)](),r=e[i(270)]();for(const t of n){if(t[1]!==e[i(479)](t[0]))return!1;r[i(265)]()}return r[i(265)]()[i(397)]}}[Qt(312)](){const t=Qt;this[t(287)][t(553)][t(377)](t(448))[t(296)]({view:t(330)}),this[t(287)][t(553)][t(377)](t(488))[t(382)]({model:t(330),view:e=>{const i=t,s=e[i(281)][i(402)](":")[1],n=this[i(320)](s);if(!n)return null;const r=i(549)==n[i(364)]?i(499):i(433),o=[i(429),i(392)+r];return n[i(517)][i(297)]&&o[i(550)](i(392)+r+i(357)),this[i(444)]==n&&o[i(550)](i(422)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(287)][t(553)][t(377)](t(448))[t(549)]((e=>{const i=t;e.on(i(443),((t,e,s)=>{const n=i,r=e[n(475)][n(437)](0);if(!r||!r.is(n(519),n(537)))return;if(!s[n(504)][n(262)](r,{attributes:[n(545),n(424)]}))return;const o=e[n(542)][n(407)][n(420)];s[n(463)][n(451)](n(545),r[n(479)](n(545)),o),s[n(463)][n(451)](n(424),r[n(479)](n(424)),o)}),{priority:i(520)})})),this[t(287)][t(553)][t(377)](t(448))[t(549)]((e=>{const i=t;e.on(i(519),((t,e,s)=>{const n=i;if(!s[n(504)][n(262)](e[n(475)],{attributes:[n(545),n(424)]}))return;if(e[n(542)][n(524)])return;const r=e[n(542)][n(407)][n(420)];r[n(410)](n(545))||r[n(410)](n(535))||(s[n(463)][n(451)](n(545),e[n(475)][n(479)](n(545)),r),s[n(463)][n(451)](n(424),e[n(475)][n(479)](n(424)),r))}),{priority:i(520)})})),this[t(287)][t(553)][t(377)](t(448))[t(454)]({view:{name:t(375),attributes:{vid:!0}},model:{key:t(535),value:e=>e[t(479)](t(535))}}),this[t(287)][t(557)][t(476)].on(t(445),((e,[,i])=>{const s=t;[s(545),s(424),s(535)][s(340)](i)&&(e[s(521)]=!0,e[s(500)]())}),{priority:t(271)}),this[t(287)][t(553)][t(377)](t(460))[t(549)]((e=>{const i=t;e.on(i(501),((t,e,s)=>{const n=i;if(" "!=e[n(473)][n(517)]||e[n(473)][n(398)][n(376)]>1)return;if(!s[n(504)][n(262)](e[n(473)],t[n(453)]))return;const r=s[n(463)],o=s[n(530)][n(485)](e[n(505)]);r[n(512)](o,r[n(481)](n(375)))}))})),this[t(287)][t(553)][t(377)](t(460))[t(341)]({model:t(330)}),this[t(287)][t(498)][t(478)].on(t(322),function(e){const i=t,s=e[i(365)][i(294)](i(321));return(t,n,r)=>{const o=i,a=n[o(281)][o(402)](":")[1],c=s[o(320)](a);if(!c)return null;const u=o(549)==c[o(364)]?o(402):o(569);if(!r[o(504)][o(313)](n[o(560)],t[o(453)]))return;const l=n[o(560)][o(567)](),h=n[o(560)][o(407)],d=e[o(557)][o(476)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(473)];p=p||d[o(583)](e);const i=r[o(530)][o(572)](e);if(i&&i[o(447)](o(533)))return;o(573)==t[o(364)]&&d[o(581)](e)&&!d[o(531)](e)&&(e[o(544)]||h[o(421)]?f&&f[o(398)]==e||(f=e,g(t[o(579)]),v=!0):m=m||t[o(579)])}function g(t){const e=o,i=r[e(463)][e(344)](e(375),{class:e(392)+u}),a=r[e(530)][e(323)](t);c[e(517)][e(297)]&&r[e(463)][e(482)](e(392)+u+e(357),i),s[e(444)]==c&&r[e(463)][e(482)](e(422),i),r[e(463)][e(311)](a,i),r[e(530)][e(348)](i,n[e(281)])}p||v||!m||g(m)}}(this[t(287)]),{priority:t(352)}),this[t(287)][t(498)][t(478)].on(t(316),((e,i,s)=>{const n=t,r=s[n(530)][n(464)](i[n(281)]);if(r)for(const t of r)(t[n(516)](n(470))||t[n(516)](n(387)))&&(s[n(530)][n(486)](t,i[n(281)]),s[n(463)][n(389)](t))}),{priority:t(352)}),this[t(287)][t(498)][t(478)].on(t(322),((e,i,s)=>{const n=t,r=i[n(281)][n(402)](":")[1],o=this[n(320)](r);if(!o)return null;const a=n(549)==o[n(364)]?n(402):n(569);if(s[n(504)][n(313)](i[n(560)],e[n(453)]))for(const t of i[n(560)][n(441)]()){if(!t.is(n(519),n(333)))continue;const e=s[n(463)][n(344)](n(375),{class:n(392)+a}),r=s[n(530)][n(323)](this[n(287)][n(557)][n(509)](t));o[n(517)][n(297)]&&s[n(463)][n(482)](n(392)+a+n(357),e),this[n(444)]==o&&s[n(463)][n(482)](n(422),e),s[n(463)][n(311)](r,e),s[n(530)][n(348)](e,i[n(281)])}}),{priority:t(352)}),this[t(287)][t(557)][t(558)].on(t(299),(()=>{const e=t;this[e(287)][e(498)][e(314)][e(299)]((t=>{const i=e;for(const e of this[i(287)][i(557)][i(558)][i(518)]()){const s=this[i(287)][i(557)][i(558)][i(570)](e),n=this[i(287)][i(498)][i(314)][i(558)][i(570)](e);if(n){const e=s[i(479)](i(310));if(t[i(411)](i(576),n),t[i(416)](i(303),n),t[i(416)](i(507),n),t[i(416)](i(302),n),e){const s=this[i(320)](e);if(!s)return null;t[i(451)](i(576),e,n),t[i(482)](i(522)+s[i(364)],n),this[i(444)]==s&&t[i(482)](i(302),n)}}}}))})),this[t(287)][t(553)][t(377)](t(448))[t(296)]({view:t(370),model:e=>t(403)+e,converterPriority:t(271)}),this[t(287)][t(553)][t(377)](t(448))[t(296)]({view:t(386),model:e=>t(381)+e,converterPriority:t(271)}),this[t(287)][t(553)][t(377)](t(460))[t(341)]({model:t(395),view:e=>({name:t(327)+e,group:t(395)}),converterPriority:t(271)}),this[t(287)][t(553)][t(377)](t(488))[t(382)]({model:t(395),view:e=>{const i=t,s=e[i(281)][i(402)](":")[1];return i(499)!=s&&i(433)!=s?null:{classes:[i(345),i(467)+s]}}}),this[t(287)][t(498)][t(478)].on(t(275),ie(this[t(287)],t(569)),{priority:t(352)}),this[t(287)][t(498)][t(478)].on(t(338),ie(this[t(287)],t(402)),{priority:t(352)}),this[t(287)][t(498)][t(478)].on(t(290),((e,i,s)=>{const n=t,r=s[n(530)][n(464)](i[n(281)]);if(r)for(const t of r)t.is(n(288))&&(s[n(530)][n(486)](t,i[n(281)]),s[n(463)][n(389)](t))}),{priority:t(352)})}[Qt(320)](t){const e=Qt;return this[e(511)][e(294)](t)}[Qt(432)](t){const e=Qt;return this[e(334)]&&this[e(334)][e(449)](),this[e(334)]=new Wt(this[e(287)][e(383)],t),this[e(334)]}[Qt(362)](){const t=Qt;this[t(287)][t(557)][t(558)][t(261)][t(539)](t(330)),this.on(t(480),((e,i,s,n)=>{const r=t;n&&this[r(282)][r(389)](n),s&&(this[r(282)][r(549)]({view:s,stackId:r(526),position:{target:()=>{const t=r,e=this[t(287)][t(498)],i=this[t(320)](s[t(276)]);let n;if(i[t(517)][t(471)]){const s=e[t(314)][t(289)](i[t(360)]);n=Array[t(577)](s[t(342)]())}else{const i=this[t(287)][t(557)][t(438)][t(294)](t(564)+s[t(276)]);n=Array[t(577)](e[t(530)][t(464)](i[t(453)]))[t(565)]((i=>e[t(314)][t(452)][t(373)](i)))[t(565)]((e=>Array[t(577)](e[t(342)]())))[t(494)]()}return this[t(273)]&&n[t(319)]((e=>e[t(552)]-3<=this[t(273)].y&&e[t(378)]+3>=this[t(273)].y&&e[t(442)]-3<=this[t(273)].x&&e[t(566)]+3>=this[t(273)].x))||n[0]}}}),this[r(282)][r(418)](r(526)))})),this.on(t(419),((e,i,s,n)=>{const r=t;this[r(306)]=s?this[r(432)](s):null,this[r(287)][r(557)][r(299)]((()=>{const t=r,e=this[t(287)][t(498)];n&&(n[t(517)][t(471)]?e[t(314)][t(299)]((i=>{const s=t;i[s(416)](s(302),e[s(314)][s(558)][s(570)](n[s(360)]))})):e[t(434)](t(564)+n.id)),s&&(s[t(517)][t(471)]?e[t(314)][t(299)]((i=>{const n=t;i[n(482)](n(302),e[n(314)][n(558)][n(570)](s[n(360)]))})):e[t(434)](t(564)+s.id))}))})),this[t(490)](this[t(287)][t(498)][t(314)][t(558)],t(285),((e,i)=>{const s=t;if(this[s(444)])return;const n=this[s(267)](i[s(561)]),r=this[s(511)][s(294)](n);r?(this[s(273)]={x:i[s(394)].x,y:i[s(394)].y},this[s(306)]=this[s(432)](r)):(this[s(273)]=null,this[s(306)]=null)})),this[t(490)](this[t(287)][t(498)][t(314)][t(558)],t(462),((e,i)=>{const s=t,n=this[s(267)](i[s(561)]),r=this[s(511)][s(294)](n);r?(this[s(273)]={x:i[s(394)].x,y:i[s(394)].y},r===this[s(444)]?this[s(282)][s(396)]():this[s(444)]=r):(this[s(273)]=null,this[s(444)]=null)}))}[Qt(267)](t){const e=Qt;do{const i=t[e(479)](e(576));if(i)return i;t=t[e(398)]}while(t);return null}[Qt(291)](){const t=Qt;this[t(287)][t(557)][t(299)]((e=>{const i=t;for(const t of this[i(287)][i(557)][i(438)])e[i(559)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(504)][r(313)](s[r(560)],i[r(453)]))return;const o=s[r(560)][r(567)](),a=s[r(560)][r(407)],c=t[r(557)][r(476)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(473)];h=h||c[r(583)](e);const i=n[r(530)][r(572)](e);if(i&&i[r(447)](r(533)))return;r(573)==t[r(364)]&&c[r(581)](e)&&!c[r(531)](e)&&(e[r(544)]||a[r(421)]?u&&u[r(398)]==e||(u=e,f(t[r(579)]),d=!0):l=l||t[r(579)])}function f(t){const i=r,o=n[i(530)][i(323)](t),a=n[i(463)][i(344)](i(375),{class:i(467)+e});n[i(463)][i(311)](o,a),n[i(530)][i(348)](a,s[i(281)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(365)][e(294)](ee);this[e(412)]=!1,this[e(490)](i,e(353),(()=>this[e(374)]())),this[e(490)](i,e(582),(()=>this[e(374)]()))}[Qt(279)](){const t=Qt,e=this[t(287)],i=e[t(365)][t(294)](ee),s=i[t(300)]?i[t(484)][t(492)]:null;e[t(367)][t(294)](t(317))[t(563)](s)}[Qt(374)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(287)][t(365)][t(294)](ee),r=n&&s[t(384)](n[t(492)]);this[t(328)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(503)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(365)][i(294)](ee);this[i(412)]=!1,this[i(503)]=i(325)===e?1:-1,this[i(490)](s,i(353),(()=>this[i(374)]())),this[i(490)](s,i(582),(()=>this[i(374)]())),this[i(490)](s,i(419),(()=>this[i(374)]()))}[Qt(279)](){const e=Qt,i=this[e(287)],s=i[e(365)][e(294)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(444)]=n?s[e(484)][e(272)][e(294)](r+this[e(503)]):s[e(484)][e(272)][e(292)],s[e(444)][e(517)][e(471)])o=i[e(498)][e(314)][e(289)](s[e(444)][e(360)]);else{const t=i[e(557)][e(438)][e(294)](e(564)+s[e(444)].id);o=(0,H.getMarkerDomElement)(i[e(498)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(374)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(287)][t(365)][t(294)](ee);this[t(328)]=!!(r&&n&&s)&&(!e||(1===this[t(503)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=366]})(t,e)}function ce(){const t=["setTemplate","ck-hidden","NUMBER_OF_CHANGES","div","set","isBackwardNavigationEnabled","isReady","bind","ck-revision-history-ui__changes-navigation__wrapper","24HqpgVi","ck-revision-history-ui__changes-navigation__navigation","Show next change","1098284IQMPMt","span","ck-revision-history-ui__changes-navigation__label","fire","126mRcfsf","Loading...","502RHTOcW","172797FgyOHz","Total","_isStatusLabelVisible","EDIT_X_OF_Y_REVISIONS","5043832CtBttw","currentChangeNumber","execute","isNavigationMode","numberOfChanges","No changes","ck-revision-history-ui__changes-navigation","forward","196374GkRDbL","2534428HYCHhe","backward","isEnabled","54XLGhNj","X_OF_Y_CHANGES","bindTemplate","90490tkknFQ","Show previous change","_statusText","ck-revision-history-ui","5UZTuDf","1181duEtuz","isForwardNavigationEnabled"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(679432===-parseInt(e(368))/1*(-parseInt(e(388))/2)+-parseInt(e(389))/3+parseInt(e(402))/4*(-parseInt(e(367))/5)+-parseInt(e(401))/6*(-parseInt(e(386))/7)+parseInt(e(393))/8+-parseInt(e(405))/9*(-parseInt(e(408))/10)+-parseInt(e(382))/11*(parseInt(e(379))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(407)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(374)](e(396),!1),this[e(374)](e(376),!1),this[e(374)](e(394),0),this[e(374)](e(397),0),this[e(374)](e(369),!1),this[e(374)](e(375),!1),this[e(377)](e(391)).to(this,e(376),this,e(397),((t,e)=>t&&e>0)),this[e(377)](e(410)).to(this,e(376),this,e(394),this,e(397),this,e(396),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(387));if(!n)return X(t,o(398));const a=X(t,o(372),n);return r?X(t,o(406),[s+1,n]):a})),s[e(374)]({label:X(t,e(409)),tooltip:!0,icon:mt.IconChevronUp}),n[e(374)]({label:X(t,e(381)),tooltip:!0,icon:mt.IconChevronDown}),s[e(377)](e(404)).to(this,e(375)),n[e(377)](e(404)).to(this,e(369)),s.on(e(395),(()=>this[e(385)](e(395),e(403)))),n.on(e(395),(()=>this[e(385)](e(395),e(400)))),this[e(370)]({tag:e(373),attributes:{class:["ck",e(366),e(399)]},children:[{tag:e(383),attributes:{class:[e(378)]},children:[{tag:e(383),attributes:{class:[e(384),i.if(e(391),e(371),(t=>!t))]},children:[{text:i.to(e(396),(i=>i?X(t,e(392))+": ":X(t,e(390))+": "))}]},{text:i.to(e(410))}]},new pt.ToolbarSeparatorView,{tag:e(373),attributes:{class:[e(380)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=me;function fe(){const t=["removeClass","view","1812180kHFQst","change","document","roots","isPremiumPlugin","10193980QMxHBB","editor","69Gdynpw","13931802lwCMes","ck-editor__editable__loading-overlay","isOfficialPlugin","addClass","98dVSMug","RevisionViewerLoadingOverlay","44782SpZMez","hide","editing","31804lsIpJc","481908LjcwNR","280HjQNqi","2429208gZSORh","show","pluginName"];return(fe=function(){return t})()}function me(t,e){const i=fe();return(me=function(t,e){return i[t-=463]})(t,e)}!function(t){const e=me,i=t();for(;;)try{if(847720===-parseInt(e(465))/1*(-parseInt(e(472))/2)+parseInt(e(483))/3+-parseInt(e(475))/4*(-parseInt(e(477))/5)+-parseInt(e(476))/6*(-parseInt(e(470))/7)+-parseInt(e(478))/8+-parseInt(e(466))/9+-parseInt(e(463))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const pe=de(467);class ve extends U.Plugin{static get[de(480)](){return de(471)}static get[de(468)](){return!0}static get[de(487)](){return!0}[de(479)](){const t=de,e=this[t(464)][t(474)][t(482)];e[t(484)]((i=>{const s=t;for(const t of e[s(485)][s(486)])i[s(469)](pe,t)}))}[de(473)](){const t=de,e=this[t(464)][t(474)][t(482)];e[t(484)]((i=>{const s=t;for(const t of e[s(485)][s(486)])i[s(481)](pe,t)}))}}const ge=ke;!function(t){const e=ke,i=t();for(;;)try{if(835841===-parseInt(e(291))/1*(parseInt(e(278))/2)+parseInt(e(292))/3*(parseInt(e(289))/4)+-parseInt(e(305))/5+parseInt(e(318))/6+parseInt(e(310))/7+-parseInt(e(325))/8*(-parseInt(e(313))/9)+parseInt(e(285))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);class ye extends U.Plugin{static get[ge(300)](){return ge(294)}static get[ge(296)](){return!0}static get[ge(281)](){return!0}static get[ge(304)](){return[ee,ve]}[ge(314)](){const t=ge,e=this[t(283)],i=e[t(287)][t(279)](ee),s=e[t(287)][t(279)](ve);e.ui[t(303)][t(306)](t(290),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(317)]({label:X(i,s(301)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(284)}),this[s(295)](n,s(311),(()=>{const t=s;e[t(319)][t(279)](t(282))[t(297)]()})),n})),e.ui[t(303)][t(306)](t(322),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(317)]({label:X(i,s(307)),withText:!0,tooltip:!0}),n[s(286)](s(320)).to(e[s(293)][s(279)](s(322))),this[s(295)](n,s(311),(()=>e[s(311)](s(322)))),n})),e.ui[t(303)][t(306)](t(309),(s=>{const n=t,r=new ue(s),o=e[n(293)][n(279)](n(298)),a=e[n(293)][n(279)](n(315));return r[n(286)](n(321)).to(o,n(320)),r[n(286)](n(324)).to(a,n(320)),r[n(286)](n(316),n(323),n(288),n(308)).to(i),this[n(295)](r,n(311),((t,i)=>{const s=n;e[s(311)](s(302)===i?s(315):s(298))})),r})),s[t(280)](),i.on(t(312),((e,i,n)=>{const r=t;n?s[r(299)]():s[r(280)]()}))}}function ke(t,e){const i=be();return(ke=function(t,e){return i[t-=278]})(t,e)}function be(){const t=["isReady","set","3375906raNMcQ","config","isEnabled","isBackwardNavigationEnabled","restoreRevision","currentChangeNumber","isForwardNavigationEnabled","3039672NjShHM","13928dxbzaf","get","show","isPremiumPlugin","revisionHistory","editor","ck-revision-history-ui__back-to-editing","5885560IuSQIk","bind","plugins","numberOfChanges","2676832MsvoEQ","exitToEditing","157REZbEu","3DDVpld","commands","RevisionViewerUI","listenTo","isOfficialPlugin","closeRevisionViewerCallback","showPreviousChange","hide","pluginName","Back to editing","forward","componentFactory","requires","1903050rXDzdd","add","Restore this revision","isNavigationMode","changesNavigation","765975Edjoxm","execute","change:isReady","9RdZCpO","init","showNextChange"];return(be=function(){return t})()}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Oe;function Se(){const t=["render","fieldView","span","bindTemplate","clientWidth","8UwtqFY","2180227NruBwA","354NeVXFw","set","input","listenTo","scrollWidth","9FtueWa","24204390nqmQWp","ck-tooltip_multi-line","value","Revision name","ck-revision-history-sidebar__revision-name","extendTemplate","Enter the revision name","placeholder","3791364zNjBnG","_resizeObserver","element","_updateTooltipText","759530mnRRpa","destroy","514414IsGrfq","_tooltipString","7353HqEjdb","94336pihfft"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=400]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(353353===-parseInt(e(429))/1+parseInt(e(409))/2*(-parseInt(e(400))/3)+-parseInt(e(401))/4+-parseInt(e(427))/5+-parseInt(e(423))/6+parseInt(e(408))/7*(-parseInt(e(407))/8)+parseInt(e(414))/9*(parseInt(e(415))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class xe extends pt.LabeledFieldView{[Ie(424)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(405)];this[i(410)]({label:X(t,i(418)),_tooltipString:""}),this[i(403)][i(422)]=X(t,i(421)),this[i(420)]({tag:i(404),attributes:{class:[i(419)],"data-cke-tooltip-text":s.to(i(430)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(416)}})}[Ie(402)](){const e=Ie;super[e(402)](),this[e(424)]=new t.ResizeObserver(this[e(403)][e(425)],(()=>this[e(426)]())),this[e(412)](this[e(403)],e(411),(()=>this[e(426)]()))}[Ie(428)](){const t=Ie;super[t(428)](),this[t(424)]&&this[t(424)][t(428)]()}[Ie(426)](){const t=Ie,e=this[t(403)][t(425)];this[t(430)]=e[t(413)]>e[t(406)]&&e[t(417)]||""}}var Te=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(Te.A,Ne);Te.A&&Te.A.locals&&Te.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=245]})(t,e)}function Ae(){const t=["set","111938oPocaK","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","642725QxDsGN","8txYrrv","312DXUZrk","36792QINJGi","1890471SzqUpY","ck-revision-history-sidebar__revision-author","setTemplate","850142JjGdpf","push","55545pVUNAT","40WYcObE","ck-revision-history-sidebar__revision-author__name","140409BFvzxZ","name","span","Revision creator","Revision author"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(555261===parseInt(e(252))/1+parseInt(e(262))/2+parseInt(e(259))/3+parseInt(e(256))/4*(-parseInt(e(255))/5)+parseInt(e(257))/6*(-parseInt(e(264))/7)+-parseInt(e(258))/8+parseInt(e(246))/9*(parseInt(e(265))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(251)]({content:mt.IconUser,viewBox:s(253)});const r=["ck",s(260)];i&&r[s(263)](s(254));const o=[{tag:s(248),attributes:{class:["ck",s(245)],title:X(t,s(i?249:250))},children:[n,e[s(247)]]}];this[s(261)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=245]})(t,e)}function Me(){var t=["toLocaleTimeString","16MTXvan","long","1497876orvuES","toLocaleDateString","numeric","30imUvuc","4959430KYnoRb","9QDVKdf","3022056OZtKEI","1353955VXWDvk","60988YPumaJ","28151420DbfNUU","5171630TiPlPW","9AsuqbH"];return(Me=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(787771===-parseInt(e(247))/1+parseInt(e(253))/2+-parseInt(e(258))/3*(-parseInt(e(255))/4)+parseInt(e(254))/5*(parseInt(e(250))/6)+-parseInt(e(251))/7*(-parseInt(e(245))/8)+parseInt(e(252))/9*(parseInt(e(257))/10)+-parseInt(e(256))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=411]})(t,e)}function je(){const t=["source","isVisible","ck-on","listView","add","318140vcEwZn","menu","1DsHvAx","Show more items","name","Name this revision","isOpen","ck-revision-history-sidebar__revision__actions","panelPosition","items","menuitem","_action","bind","set","change:isActionsDropdownOpen","map","3ydqyzQ","7150364HmvlJc","isEnabled","execute","buttonView","133832MsMtvY","isReady","225bstqXB","action","7VZkZlW","locale","class","extendTemplate","95924VRxMIQ","isActionsDropdownOpen","816mxRvrA","button","listenTo","find","14504148OIykbs","children","18185rQZLyx","first","Restore this revision","Compare against selected","bindTemplate","model","9009528HEILYz","function","stopPropagation"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(918473===-parseInt(e(446))/1*(-parseInt(e(422))/2)+-parseInt(e(460))/3*(-parseInt(e(461))/4)+parseInt(e(430))/5*(-parseInt(e(424))/6)+parseInt(e(418))/7*(-parseInt(e(414))/8)+-parseInt(e(416))/9*(parseInt(e(444))/10)+-parseInt(e(436))/11+parseInt(e(428))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=475]})(t,e)}function Ue(){const t=["value","ck-revision-history-sidebar__revision_selected","listenTo","setName","1785802XduJQC","element","fieldView","select","filter","uiLanguage","render","isSelected","isConfirm","map","span","creator","fire","srcElement","551222hVkria","ck-disabled","1903086BgzVuu","change","isActionsDropdownOpen",".ck-thread__remove-confirm","ck-reset","_revision","revisionNameView","extendTemplate","ck-revision-history-sidebar__revision-wrapper","_requireRevisionName","16295ttIfJb","isHighlighted","createdAt","ck-revision-history-sidebar__revision__date","name","highlight","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision_highlighted","220","set","1249821efOUnY","setTemplate","3409693zsEwTR","unhighlight","bind","div","ck-revision-history-sidebar__revision-authors","bindTemplate","closest","1854774YPwGKW","deselect","8bIqwOb","authors","isReady","length","from","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","_createdAtFormatted","ck-revision-history-sidebar__actions_dropdown_open","unshift","476UznhRc","revisionActionsView","ck-revision-history-sidebar__revision__controls-wrapper","isEnabled"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(548275===parseInt(e(528))/1+parseInt(e(514))/2+-parseInt(e(495))/3+parseInt(e(506))/4*(parseInt(e(476))/5)+-parseInt(e(530))/6+-parseInt(e(488))/7+parseInt(e(497))/8*(parseInt(e(486))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(536)];[ze(507)];[ze(535)];[ze(475)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(493)],a=function(t,e){const i=r,s=Array[i(501)](e[i(498)])[i(518)]((t=>t!=e[i(525)]));return e[i(525)]&&s[i(505)](e[i(525)]),s[i(523)]((s=>new Ve(t,s,s==e[i(525)])))}(e,i);this.id=i.id,this[r(535)]=i,this[r(475)]=n,this[r(490)](r(480),r(478)).to(i),this[r(490)](r(503)).to(this,r(478),(t=>{return i=e[r(519)],(s=t)[(n=Ee)(248)](i,{month:n(246),day:n(249)})+", "+s[n(259)](i,{hour:n(249),minute:n(249)});var i,s,n})),this[r(485)](r(521),!1),this[r(485)](r(477),!1),this[r(485)](r(532),!1),this[r(485)](r(499),!1),this[r(485)](r(509),!1),this[r(536)]=new xe(e,pt.createLabeledInputText),this[r(536)][r(516)][r(537)]({attributes:{maxlength:r(484)}}),this[r(536)][r(516)][r(490)](r(510)).to(this,r(480),(t=>t||this[r(503)])),this[r(536)][r(490)](r(509)).to(this,r(521),this,r(509),((t,e)=>t&&e)),this[r(507)]=s&&s[r(500)]?function(e,i){const s=Fe,n=e[s(434)],r=e[s(419)],o=(0,pt.createDropdown)(r);o[s(452)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(419)],n={"Compare against selected":X(s,i(433)),"Name this revision":X(s,i(449)),"Restore this revision":X(s,i(432))};return e[i(459)]((t=>{const e=i,s=n[t[e(448)]];return s&&s!==t[e(448)]&&(t[e(448)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(425),model:new pt.ViewModel({label:t[n(448)],class:t[n(420)],withText:!0,role:n(454),_action:t[n(417)]})};i[n(435)][n(456)](n(411)).to(e,n(423),(i=>n(437)!=typeof t[n(411)]||!i||t[n(411)](e))),o[n(443)](i)}return o}(e,i);return e[s(456)](s(423)).to(o,s(450)),o[s(413)][s(457)]({label:X(r,s(447)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(421)]({attributes:{class:[s(451),n.if(s(423),s(441))]},on:{click:n.to((t=>t[s(438)]()))}}),o.on(s(412),(t=>{const i=s;e[i(415)]&&i(437)==typeof t[i(439)][i(455)]&&t[i(439)][i(455)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(445)}),o[s(426)](e,s(458),((t,n,r)=>{const a=s;if(r)for(const t of o[a(442)][a(453)]){const s=t[a(429)][a(431)],n=i[a(427)]((t=>t[a(417)]===s[a(455)]))[a(440)];t[a(440)]=void 0===n||n(e)}})),o}(this,s):"",this[r(507)]&&this[r(507)][r(490)](r(509)).to(this),this[r(487)]({tag:r(491),attributes:{class:["ck",r(534),r(538),o.if(r(522),r(502))]},children:[{tag:r(491),attributes:{class:["ck",r(534),r(482),o.if(r(509),r(529),(t=>!t)),o.if(r(521),r(511)),o.if(r(477),r(483)),o.if(r(532),r(504))]},children:[this[r(536)],{tag:r(524),attributes:{class:["ck",r(479)]},children:[{text:o.to(r(503))}]},{tag:r(491),attributes:{class:["ck",r(508)]},children:[{tag:"ul",attributes:{class:["ck",r(492)]},children:a}]},this[r(507)]],on:{click:o.to((t=>{const e=r;t[e(527)][e(494)](e(533))||this[e(499)]&&this[e(509)]&&this[e(526)](e(517),{id:this.id})}))}}]})}[ze(520)](){const t=ze;super[t(520)]();const e=this[t(536)][t(516)][t(515)];this[t(512)](e,t(531),(()=>{const i=t;this[i(475)]&&!e[i(510)]||this[i(526)](i(513),{id:this.id,name:e[i(510)]}),e[i(510)]||(e[i(510)]=this[i(480)]?this[i(480)]:this[i(503)])}))}[ze(517)](){this[ze(521)]=!0}[ze(496)](){this[ze(521)]=!1}[ze(481)](){this[ze(477)]=!0}[ze(489)](){this[ze(477)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let xi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},xi={}}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=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,xi[s]||(xi[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"})),xi[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:_s(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,(Ps({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 Ai={};let Vi={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Mi={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{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&&Ri.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=Ei(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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[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 Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.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=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(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?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(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 ji(this,t,Qs,(()=>{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=io.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 ji(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[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:xs()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}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 Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}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${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(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 qi extends Ii{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 $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={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]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function xs(){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 Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(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 zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(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 qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(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}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];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"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Vs(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Es(s)}function xn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(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 Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?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 Vn(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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(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 Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(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$/,jn=/^(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$/,Ln=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),xn,Tn,Nn),$n=mn(wn,xn,Tn,Nn),Bn=mn(_n,xn,Tn,Nn),Yn=mn(xn,Tn,Nn);const Jn=mn(xn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(xn,Tn,Nn);const Xn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({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 Je(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?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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 rr)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 hr="Invalid Interval";class dr{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 Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:xs()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function xr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.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=xr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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(Ns(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;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Ds(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(Ns(i,"a")&&Ns(i,"H"))throw new Ye("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 Nr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Vr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 jr(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 Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(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,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.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=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(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},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(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 Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Er(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({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,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return xr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Ps(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=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.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(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.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=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(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":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(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")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[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 lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("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 Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`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?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["86690yNnhdl","2915355xvLvrR","20214JSHxIV","monthLong","fromJSDate","toJSDate","1650144jVjTsA","8148PJDLbx","minus","toRelativeCalendar","local","weekdayLong","995UgrGwG","hasSame","10484KkseSA","startOf","week","189PYKZqf","month","setLocale","year","74weDQbU","day","48554YqHZiQ","413TkGEPv","185992eIROOr"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=495]})(t,e)}function oo(t,e){const i=ro,s=io[i(515)](t)[i(504)](e),n=io[i(495)](),r=n[i(519)]({days:1})[i(500)](i(507));let o,a;return s[i(498)](n,i(507))?(o=s[i(500)](i(507))[i(516)](),a=s[i(520)]()):s[i(498)](r,i(507))?(o=r[i(516)](),a=s[i(520)]()):s[i(498)](n,i(501))?(o=s[i(500)](i(501))[i(516)](),a=s[i(496)]||""):s[i(498)](n,i(505))?(o=s[i(500)](i(503))[i(516)](),a=s[i(514)]||""):(o=s[i(500)](i(505))[i(516)](),a=String(s[i(505)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(870630===-parseInt(e(513))/1*(parseInt(e(506))/2)+parseInt(e(512))/3+parseInt(e(499))/4*(-parseInt(e(497))/5)+-parseInt(e(517))/6+parseInt(e(509))/7*(-parseInt(e(510))/8)+parseInt(e(502))/9*(-parseInt(e(511))/10)+-parseInt(e(508))/11*(-parseInt(e(518))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["setName","remove","removeRevision","51141bETuim","_revisionActions","delegate","uiLanguage","revisionViews","localizedPeriodName","24mGgwXM","_requireRevisionName","1985190NHFokt","span","find","881292eUYywQ","createCollection","add","1557657lstbIu","4jxSavj","5810652pzAdZx","div","ck-revision-history-sidebar__time-period__revisions","110943oHkocm","locale","ck-revision-history-sidebar__time-period","2sCrFxQ","startDate","2811005WUQqZD","addRevision","ck-revision-history-sidebar__time-period__label","select","setTemplate"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=242]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(346803===parseInt(e(266))/1+-parseInt(e(256))/2*(parseInt(e(248))/3)+-parseInt(e(249))/4*(-parseInt(e(258))/5)+-parseInt(e(245))/6+parseInt(e(253))/7*(-parseInt(e(272))/8)+parseInt(e(250))/9+-parseInt(e(242))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(257)];[uo(270)];[uo(267)];[uo(273)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(254)][n(269)])[n(271)];this[n(257)]=e,this[n(270)]=this[n(246)](),this[n(267)]=i,this[n(273)]=s,this[n(270)][n(268)](n(261)).to(this),this[n(270)][n(268)](n(263)).to(this),this[n(262)]({tag:n(251),attributes:{class:["ck",n(255)]},children:[{tag:n(243),attributes:{class:["ck",n(260)]},children:[{text:r}]},{tag:n(251),attributes:{class:["ck",n(252)]},children:this[n(270)]}]})}[uo(259)](t){const e=uo,i=new He(this[e(254)],t,this[e(267)],this[e(273)]);this[e(270)][e(247)](i)}[uo(265)](t){const e=uo,i=this[e(270)][e(244)]((e=>e.id===t.id));this[e(270)][e(264)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=304]})(t,e)}function go(){const t=["ck-revision-history-sidebar__header","564jtrJqD","2508492KTlVhS","12849lQKQfy","span","2873630Hrjdwc","2487168viHlTX","div","6811960ogaRSm","950088BARGrA","27SvexfH","1298tUTVbw","Revision history","802rTfAsM","ck-reset_all","setTemplate","content","ck-revision-history-sidebar__header__label"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(489986===parseInt(e(310))/1*(-parseInt(e(308))/2)+-parseInt(e(318))/3*(-parseInt(e(316))/4)+-parseInt(e(320))/5+-parseInt(e(321))/6+parseInt(e(317))/7+parseInt(e(306))/8*(parseInt(e(307))/9)+parseInt(e(305))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(313)]=mt.IconHistory,this[e(312)]({tag:e(304),attributes:{class:["ck",e(311),e(315)]},children:[i,{tag:e(319),attributes:{class:["ck",e(314)]},children:[X(t,e(309))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=193]})(t,e)}function Io(){const t=["render","some","fire","230wKcWyn","2193280dbKoYr","unhighlight","5225500gVDjcV","506640gZXmIW","startDate","addRevision","_requireRevisionName","setTemplate","deselect","delegate","find","ck-revision-history-sidebar","501ZfpFPb","ck-rounded-corners","select","revisionSelected","getTime","highlightRevisions","revisionViews","revisionSetName","set","isEnabled","add","div","_removeRevision","removeRevision","flat","_revisions","58865IsHbxx","selectRevision","locale","get","_addRevision","_getTimePeriodViewByStartDate","4133748SUSnAt","createdAt","ck-disabled","map","createCollection","17822112HoNJnX","ck-reset","setName","timePeriodViews","uiLanguage","bindTemplate","ck-revision-history-sidebar__timeline","remove","_revisionActions","highlight"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(384974===parseInt(e(243))/1+parseInt(e(214))/2*(-parseInt(e(227))/3)+-parseInt(e(215))/4+parseInt(e(218))/5+-parseInt(e(196))/6+-parseInt(e(217))/7+parseInt(e(201))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(204)];[wo(242)];[wo(209)];[wo(221)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(206)];this[n(204)]=this[n(200)](),this[n(204)][n(224)](n(229)).to(this),this[n(204)][n(224)](n(203)).to(this),this[n(242)]=e,this[n(209)]=i,this[n(221)]=s,this.on(n(229),((t,e)=>{const i=n;this[i(213)](i(230),e)})),this.on(n(203),((t,e)=>{const i=n;this[i(213)](i(234),e)})),this[n(235)](n(236),!1),this[n(222)]({tag:n(238),attributes:{class:["ck",n(202),n(228),n(226)]},children:[new yo(t),{tag:n(238),attributes:{class:["ck",n(207),r.if(n(236),n(198),(t=>!t))]},children:this[n(204)]}]})}[wo(211)](){const t=wo;super[t(211)]();for(const e of this[t(242)])this[t(194)](e);this[t(242)].on(t(237),((e,i)=>{this[t(194)](i)})),this[t(242)].on(t(208),((e,i)=>{this[t(239)](i)}))}get[wo(233)](){const t=wo;return this[t(204)][t(199)]((e=>e[t(233)][t(199)]((t=>t))))[t(241)]()}[wo(244)](t){const e=wo;for(const i of this[e(233)])t&&t.id===i.id?i[e(229)]():i[e(223)]()}[wo(232)](t){const e=wo;for(const i of this[e(233)])t[e(212)]((({id:t})=>t===i.id))?i[e(210)]():i[e(216)]()}[wo(194)](t){const e=wo,i=oo(t[e(197)],this[e(245)][e(205)])[e(219)];let s=this[e(204)][e(193)](0);s&&s[e(219)][e(231)]()===i[e(231)]()||(s=new fo(this[e(245)],i,this[e(209)],this[e(221)]),this[e(204)][e(237)](s)),s[e(220)](t)}[wo(239)](t){const e=wo,i=oo(t[e(197)],this[e(245)][e(205)])[e(219)];this[e(195)](i)[e(240)](t)}[wo(195)](t){const e=wo;return this[e(204)][e(225)]((i=>i[e(219)][e(231)]()===t[e(231)]()))}}const Oo=No;!function(t){const e=No,i=t();for(;;)try{if(501033===parseInt(e(510))/1+parseInt(e(525))/2*(-parseInt(e(514))/3)+-parseInt(e(547))/4*(-parseInt(e(577))/5)+parseInt(e(571))/6+parseInt(e(516))/7+-parseInt(e(518))/8+-parseInt(e(505))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends U.Plugin{[Oo(529)];[Oo(524)];[Oo(569)];static[Oo(503)]=[Oo(530),Oo(528),Oo(533)];static[Oo(567)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(501),action:({plugins:e},i)=>{const s=t,n=e[s(572)](ee),r=n[s(537)];let o=n[s(519)][s(522)],a=i.id;r[s(499)](o)>r[s(499)](a)&&([o,a]=[a,o]),n[s(558)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(572)](ee);return!(n[s(537)][s(543)](n[s(519)])[s(535)]>2||i[s(538)])}},restoreRevision:{name:t(570),action:(e,{id:i})=>{const s=t;e[s(544)][s(572)](s(545))[s(531)](i)},isVisible:({plugins:e},i)=>!!e[t(572)](ee)[t(537)][t(579)](i.id)},nameRevision:{name:t(532),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(572)](ee),o=r[n(537)][n(523)](i);r[n(558)](i,o),s[n(539)](),s[n(560)][n(546)]()}}}}();static get[Oo(557)](){return Oo(534)}static get[Oo(502)](){return!0}static get[Oo(552)](){return!0}static get[Oo(551)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(529)]=t[e(513)][e(572)](ee),this[e(524)]=this[e(529)][e(537)],this[e(569)]=null}[Oo(520)](){const t=Oo,e=this[t(524)][t(575)],i=this[t(511)](),s=this[t(526)][t(544)][t(572)](t(555));this[t(569)]=new So(this[t(526)][t(517)],e,i,this[t(526)][t(544)][t(572)](t(541))),this[t(569)].on(t(536),this[t(565)][t(515)](this)),this[t(569)].on(t(521),this[t(540)][t(515)](this)),this[t(569)][t(515)](t(573)).to(this[t(529)]),this[t(569)][t(548)].on(t(556),((e,i)=>{const s=t;i[s(554)].on(s(556),((t,e)=>{const i=s;e[i(515)](i(573),i(506)).to(this[i(529)])}))})),this[t(569)][t(562)](),this[t(576)](this[t(526)][t(507)],t(542),this[t(568)][t(515)](this)),this[t(576)](this[t(529)],t(564),this[t(512)][t(515)](this)),s[t(566)](this[t(569)][t(561)])}[Oo(508)](){const t=Oo;this[t(569)][t(561)][t(578)](),this[t(569)][t(508)]()}[Oo(568)](){const t=Oo,e=this[t(524)][t(527)](0);if(e){const i=this[t(524)][t(523)](e.id);this[t(529)][t(558)](e,i)}}[Oo(565)](t,e){const i=Oo,s=this[i(524)][i(527)](e.id),n=this[i(524)][i(523)](s.id);this[i(529)][i(558)](s,n)}[Oo(540)](t,e){const i=Oo;this[i(524)][i(527)](e.id)[i(549)](e[i(550)])}[Oo(512)](t,e,i){const s=Oo,n=this[s(524)][s(543)](i);n[s(535)]>2?(this[s(569)][s(574)](n),this[s(569)][s(504)](null)):(this[s(569)][s(574)]([]),this[s(569)][s(504)](n[0]))}[Oo(511)](){const t=Oo,e=this[t(526)],i=xo[t(567)],s=e[t(544)][t(572)](t(509))||xo[t(503)];if(s[t(535)])return s[t(563)]((s=>{const n=t,r=n(500)==typeof s?Object[n(559)]({},i[s]):s;return r[n(553)]=r[n(553)][n(515)](this,e),r[n(498)]&&(r[n(498)]=r[n(498)][n(515)](this,e)),r}))}}function To(){const t=["fieldView","element","render","map","change:diff","_handleRevisionSelected","appendChild","availableRevisionActions","_handleEditorDataReady","_sidebarView","Restore this revision","3295548yikTru","get","isEnabled","highlightRevisions","_revisions","listenTo","182745hOFrVV","remove","getLaterVisibleRevision","isVisible","getIndex","string","Compare against selected","isOfficialPlugin","defaultRevisionActions","selectRevision","11647485ZBebxY","isReady","data","destroy","revisionHistory.revisionActions","869466bhtdmO","_createRevisionActions","_handleDiffChange","plugins","12hfDXgb","bind","2448558cEacjP","locale","4863192ZUOwNl","diff","init","revisionSetName","newRevisionId","getEarlierVisibleRevision","_revisionsRepository","176122bHloEF","editor","getRevision","restoreRevision","_revisionViewer","compareAgainstSelected","restoreRevisionCallback","Name this revision","nameRevision","RevisionsSidebar","length","revisionSelected","repository","isSelected","focus","_handleRevisionSetName","revisionHistory.requireRevisionName","ready","getRevisionsInDiff","config","revisionHistory","select","108FrkqIt","timePeriodViews","setName","name","requires","isPremiumPlugin","action","revisionViews","revisionHistory.viewerSidebarContainer","add","pluginName","compare","assign"];return(To=function(){return t})()}function No(t,e){const i=To();return(No=function(t,e){return i[t-=498]})(t,e)}const Ro=xo;function Ao(){const t=["get","2747972SDeewn","toolbar","editable","bind","6485110zByKkb","init","_view","name","restore","destroy","fire","attachDomRoot","viewportOffset","document","limiterElement","componentFactory","setEditableElement","focusTracker","66EwPWcm","_initToolbar","27790uJWAjC","10457415JcbxWH","isFocused","1108ZqZCTo","1640qTUufE","viewportTopOffset","49301SubuLi","editing","config","addToolbar","2581hnPpcS","_elementReplacer","isActive","ready","getRoot","stickyPanel","_toolbarConfig","editor","replace","1362WkEEIl","render","fillFromConfig","element","detachDomRoot","view","rootName","3621498OaSTZe"];return(Ao=function(){return t})()}const Vo=Eo;function Eo(t,e){const i=Ao();return(Eo=function(t,e){return i[t-=164]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(933351===-parseInt(e(194))/1*(-parseInt(e(187))/2)+-parseInt(e(210))/3+parseInt(e(164))/4+parseInt(e(184))/5*(-parseInt(e(203))/6)+-parseInt(e(190))/7*(parseInt(e(188))/8)+-parseInt(e(185))/9+-parseInt(e(168))/10*(-parseInt(e(182))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class Mo extends pt.EditorUI{[Vo(170)];[Vo(200)];[Vo(195)];get[Vo(208)](){return this[Vo(170)]}constructor(e,i){const s=Vo;super(e),this[s(170)]=i,this[s(200)]=(0,pt.normalizeToolbarConfig)(e[s(192)][s(211)](s(165))),this[s(195)]=new t.ElementReplacer}get[Vo(206)](){const t=Vo;return this[t(208)][t(206)]}[Vo(169)](t){const e=Vo,i=this[e(201)],s=this[e(208)],n=i[e(191)][e(208)],r=s[e(166)],o=n[e(177)][e(198)]();r[e(171)]=o[e(209)],s[e(204)]();const a=r[e(206)];this[e(180)](r[e(171)],a),s[e(166)][e(167)](e(186)).to(this[e(181)]),n[e(175)](a),this[e(195)][e(202)](t,this[e(206)]),this[e(183)](),this[e(174)](e(197))}[Vo(173)](){const t=Vo;super[t(173)]();const e=this[t(208)],i=this[t(201)][t(191)][t(208)];this[t(195)][t(172)](),i[t(207)](e[t(166)][t(171)]),e[t(173)]()}[Vo(183)](){const t=Vo,e=this[t(208)];e[t(199)][t(167)](t(196)).to(this[t(181)],t(186)),e[t(199)][t(178)]=e[t(206)],e[t(199)][t(167)](t(189)).to(this,t(176),(({top:t})=>t)),e[t(165)][t(205)](this[t(200)],this[t(179)]),this[t(193)](e[t(165)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;function Fo(t,e){var i=Po();return(Fo=function(t,e){return i[t-=390]})(t,e)}var jo=Fo;!function(t){for(var e=Fo,i=t();;)try{if(480313===-parseInt(e(407))/1+parseInt(e(393))/2+-parseInt(e(392))/3*(parseInt(e(391))/4)+parseInt(e(405))/5*(-parseInt(e(394))/6)+parseInt(e(401))/7*(parseInt(e(409))/8)+parseInt(e(403))/9+parseInt(e(390))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Lo extends pt.BoxedEditorUIView{[jo(397)];[jo(404)];[jo(398)];get[jo(395)](){return this[jo(397)]}constructor(t,e,i={}){var s=jo;super(t),this[s(404)]=new pt.StickyPanelView(t),this[s(398)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(399)]}),this[s(397)]=new pt.InlineEditableUIView(t,e)}[jo(400)](){var t=jo;super[t(400)](),this[t(404)][t(396)][t(402)](this[t(398)]),this[t(406)][t(402)](this[t(404)]),this[t(408)][t(402)](this[t(395)])}}function Po(){var t=["shouldToolbarGroupWhenFull","render","15890wLfiDF","add","33948bxKuFs","stickyPanel","5dlpxUH","top","220053LmWKcI","main","968CdUOUO","3064710wdNJXD","12jBYWxa","312621KQNmAY","959010ABAIsj","308586lWpgEM","editable","content","_editable","toolbar"];return(Po=function(){return t})()}const zo=Uo;function Wo(){const t=["data","locale","initialData","init","824934LcPCoP","1445920ssdOdW","3956NwOOan","model","1150317xqAtMJ","document","get","290RUmmbK","view","_ui","createRoot","525ElugOM","902296BVtuBI","editing","sourceElement","fire","updateSourceElement","config","25949ZbouAg","9pFikzo","destroy","ready","create","initPlugins","2776uBzyBe"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=500]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(124632===parseInt(e(505))/1+-parseInt(e(511))/2*(parseInt(e(527))/3)+parseInt(e(518))/4*(parseInt(e(523))/5)+-parseInt(e(516))/6+parseInt(e(520))/7+-parseInt(e(528))/8*(-parseInt(e(506))/9)+parseInt(e(517))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(525)];get ui(){return this[zo(525)]}constructor(t,e){const i=zo;super(e),this[i(501)]=t,this[i(519)][i(521)][i(526)]();const s=new Lo(this[i(513)],this[i(500)][i(524)],{shouldToolbarGroupWhenFull:!0});this[i(525)]=new Mo(this,s)}[zo(507)](){const t=zo;return this[t(503)](),this.ui[t(507)](),super[t(507)]()}static async[zo(509)](t,e){const i=zo,s=new this(t,e);return await s[i(510)](),await s.ui[i(515)](t),await s[i(512)][i(515)](s[i(504)][i(522)](i(514))||""),s[i(502)](i(508)),s}}const Zo=$o;function qo(){const t=["view","DocumentOutline","document","locale","init","setSelection","addRoot","plugins","revision-history-viewer-opened","getRoot","RestrictedEditingMode","isReady","result","revisionHistory.viewerContainer","revisionHistory.requireRevisionName","remove","revisionHistory.closeRevisionViewerCallback","requires","pluginName","1414PWQLPw","has","isRevisionViewerOpen","RevisionHistory","Users","RevisionTracker","name","removeAttribute","users","RevisionHistoryUtils","includes","_cleanUp","insert","removeMarker","from","10744mxfdrM","$graveyard","RevisionsRepository","detachRoot","Dialog","bind","addRevisionData","commands","revisionHistory","toolbar","restoreRevision","isOpen","Restored","style","Autosave","getUser","733UGKdcN","toLocaleTimeString","translations","join","enqueueChange","end","catch","toLocaleDateString","createRangeIn","6UNEHqy","Annotations","2772RlRsaa","loadRevisionData","createdAt","isEnabled","fromVersion","destroy","map","toJSON","PaginationLookup","getAttributeKeys","uiLanguage","revisionHistory.restoreRevisionCallback","toVersion","enableReadOnlyMode","define","lazyRoots","long","push","getRevisionRootsAttributes","1351wUJblg","RevisionHistoryUI","getMarkersGroup","changesNavigation","adapter","selection","setAttribute","revisionHistory.showRevisionViewerCallback","saveRevision","editor","_enhanceShowRevisionViewerCallback","33972XNlWzg","revisionHistory.editorContainer","refreshPositioning","restrictedEditingException","numeric","none","keys","_restoreRevision","_enhanceCloseRevisionViewerCallback","save","70AObuHK","markers","getRevisions","630AulsdR","hide","addUser","removeSelectionAttribute","6ItzaVW","repository","element","1079285YwYMKK","model","then","closeRevisionViewerCallback","create","_update","isAttached","_showRevisionViewer","fromCharCode","revision-history-missing-configuration","rootName","1822509RoGXqt","getRevision","isAnonymous","set","error","data","display","DocumentOutlineUI","RevisionViewerIntegration","RevisionViewer","29619BMAfAe","get","block","parse","exitToEditing","refreshVisibility","_viewerEditor","revisionHistory.viewerEditorElement","_getRevisionViewerEditorConfig","isOfficialPlugin","config","1595576wUnsHI","_closeRevisionViewer","disableReadOnlyMode","isPremiumPlugin","_recalculatePageBreaks","isReadOnly","update","getRevisionDocumentData","creator","showRevisionViewerCallback","roots","indexOf","change"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=150]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(452431===-parseInt(e(275))/1*(-parseInt(e(244))/2)+parseInt(e(284))/3*(-parseInt(e(212))/4)+-parseInt(e(180))/5*(parseInt(e(177))/6)+parseInt(e(305))/7*(-parseInt(e(259))/8)+parseInt(e(201))/9*(-parseInt(e(173))/10)+-parseInt(e(286))/11*(-parseInt(e(160))/12)+parseInt(e(191))/13*(parseInt(e(170))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Zo(150),Zo(235)];class Yo extends U.Plugin{[Zo(237)];static get[Zo(243)](){return Zo(199)}static get[Zo(210)](){return!0}static get[Zo(215)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(292)]((t=>String[e(188)](t)))[e(278)]("")}super(t),this[e(237)]=e(280),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 Jo extends U.Plugin{[Zo(207)];static get[Zo(243)](){return Zo(247)}static get[Zo(210)](){return!0}static get[Zo(215)](){return!0}static get[Zo(242)](){return[at,jt]}constructor(e){const i=Zo;if(super(e),!this[i(158)][i(211)][i(202)](i(267)))throw new t.CKEditorError(i(189),this);this[i(207)]=null,this[i(194)](i(246),!1),this[i(158)][i(211)][i(300)](i(156),(t=>this[i(187)]({...t,translations:this[i(158)][i(228)][i(277)]}))),this[i(158)][i(211)][i(300)](i(241),(t=>this[i(213)](t))),this[i(158)][i(211)][i(300)](i(297),(t=>this[i(167)](t))),this[i(158)][i(211)][i(300)](i(239),!1),this[i(159)](),this[i(168)]()}set[Zo(153)](t){const e=Zo;this[e(158)][e(232)][e(202)](e(249))[e(153)]=t}get[Zo(153)](){const t=Zo;return this[t(158)][t(232)][t(202)](t(249))[t(153)]}[Zo(265)](t){const e=Zo;return this[e(158)][e(232)][e(202)](e(249))[e(265)](t)}[Zo(192)](t){const e=Zo;return this[e(158)][e(232)][e(202)](e(261))[e(192)](t)}[Zo(172)](t){const e=Zo;return this[e(158)][e(232)][e(202)](e(261))[e(172)](t||{toJSON:!1})}[Zo(209)](){const e=Zo,i=this[e(158)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(232)][e(202)](e(249)),r=i[e(232)][e(202)](e(248))[e(252)];return s[e(268)]=[e(205),e(269),e(152)],delete s[e(301)],s[e(232)][e(303)](Yo,ee,ye,class extends U.Plugin{static get[e(242)](){return[ee,e(248)]}[e(229)](){const s=e,o=this[s(158)][s(232)][s(202)](s(248));for(const t of r)t[s(193)]||o[s(274)](t.id)||o[s(175)](t);const a=n[s(178)][s(172)]();let c=null;const u=this[s(158)][s(232)][s(202)](s(200));u[s(153)]=n[s(153)],u[s(264)](s(289)).to(n),this[s(158)][s(266)][s(202)](s(269))[s(264)](s(289)).to(i,s(217),(t=>!t));for(const e of a){const i=null===e[s(220)];if(i&&e[s(298)]===e[s(290)])continue;const r=e[s(293)]();u[s(265)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(185)](r,o);else if(!o){const e=a[u(293)]();e.id=(0,t.uid)(),n[u(157)](e,a[u(298)])[u(182)]((t=>{c=t}))}}else e[u(185)](r,o)}))}}},Ro),s}[Zo(159)](){const t=Zo,e=this[t(158)][t(211)][t(202)](t(267))[t(221)];this[t(158)][t(211)][t(194)](t(156),(async()=>{const i=t;this[i(158)][i(299)](i(233));const s=this[i(158)][i(232)][i(202)](i(249));if(this[i(158)][i(232)][i(245)](i(273))){const t=this[i(158)][i(232)][i(202)](i(273));await t[i(169)]()}else await s[i(218)]();if(this[i(158)][i(232)][i(245)](i(294))&&this[i(158)][i(232)][i(202)](i(294))[i(216)](),this[i(158)][i(232)][i(245)](i(263))){const t=this[i(158)][i(232)][i(202)](i(263));t[i(270)]&&t[i(174)]()}const n=this[i(209)]();return e(n)[i(182)]((t=>{const e=i;return this[e(207)]=t,this[e(158)][e(232)][e(245)](e(285))&&this[e(158)][e(232)][e(202)](e(285))[e(206)](),this[e(158)][e(232)][e(245)](e(226))&&(this[e(158)][e(232)][e(202)](e(198))[e(225)][e(179)][e(272)][e(197)]=e(165)),t}))[i(281)]((t=>(console[i(195)](t),this[i(158)][i(214)](i(233)),null)))}))}[Zo(168)](){const t=Zo,e=this[t(158)][t(211)][t(202)](t(267))[t(183)];this[t(158)][t(211)][t(194)](t(241),(()=>(this[t(158)][t(232)][t(245)](t(294))&&this[t(158)][t(232)][t(202)](t(294))[t(216)](),this[t(158)][t(232)][t(245)](t(226))&&(this[t(158)][t(232)][t(202)](t(198))[t(225)][t(179)][t(272)][t(197)]=""),this[t(207)][t(232)][t(202)](t(200))[t(255)](),e(this[t(207)])[t(182)]((()=>{const e=t;if(this[e(158)][e(214)](e(233)),this[e(207)]=null,this[e(158)][e(232)][e(245)](e(285))){const t=this[e(158)][e(232)][e(202)](e(285));t[e(206)](),t[e(162)]()}})))))}[Zo(187)](t){const e=Zo,i=this[e(158)][e(211)][e(202)](e(161)),s=this[e(158)][e(211)][e(202)](e(238)),n=this[e(158)][e(211)][e(202)](e(208));return Ho[e(184)](n,t)[e(182)]((t=>(s[e(272)][e(197)]=e(203),i[e(272)][e(197)]=e(165),this[e(246)]=!0,t)))}[Zo(213)](t){const e=Zo,i=this[e(158)][e(211)][e(202)](e(161));return this[e(158)][e(211)][e(202)](e(238))[e(272)][e(197)]=e(165),i[e(272)][e(197)]="",this[e(246)]=!1,t[e(291)]()}async[Zo(167)](t){const e=Zo,i=this[e(158)],s=this[e(207)][e(232)][e(202)](e(200)),n=i[e(232)][e(202)](e(249)),r=i[e(232)][e(202)](e(253)),o=s[e(178)][e(192)](t);let a,c,u;try{await r[e(287)](o,this[e(153)]),a=r[e(219)](o),c=r[e(304)](o)}catch(t){return void console[e(195)](t)}i[e(181)][e(224)]((t=>{const s=e;for(const e of Array[s(258)](i[s(181)][s(171)][s(151)](s(163))))t[s(257)](e)})),s[e(236)]=!1,i[e(181)][e(279)]((t=>{const s=e;t[s(230)](null),t[s(176)](i[s(181)][s(227)][s(154)][s(295)]());const n=Object[s(166)](a);for(const e of i[s(181)][s(227)][s(222)])s(260)!=e[s(190)]&&e[s(186)]()&&!n[s(254)](e[s(190)])&&t[s(262)](e);for(const e of n){let n=i[s(181)][s(227)][s(234)](e);n&&n[s(186)]()||(n=t[s(231)](e));const r=c[e],o=Object[s(166)](r),u=a[e];for(const e of n[s(295)]())o[s(254)](e)||t[s(251)](e,n);for(const i of o)t[s(155)](i,c[e][i],n);t[s(240)](t[s(283)](n)),t[s(256)](i[s(196)][s(204)](u,n),n,0)}}));const l=X(i[e(228)],e(271));return u=o[e(250)]?-1==o[e(250)][e(223)](l)?l+": "+o[e(250)]:o[e(250)]:l+": "+o[e(288)][e(282)](i[e(228)][e(296)],{month:e(302),day:e(164)})+", "+o[e(288)][e(276)](i[e(228)][e(296)],{hour:e(164),minute:e(164)}),await n[e(157)]({name:u}),s[e(236)]=!0,i[e(211)][e(202)](e(267))[e(183)]()}}function Go(){var t=["7lrhcFc","1592330FqeEQF","720EvzRxv","52002gZgCXD","9553660mJQeqb","1845015cpJquj","573XtbxEB","825317Iemzpa","2429274ULCGtc","19960Gtyqbj"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=401]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(511020===parseInt(e(401))/1+-parseInt(e(405))/2+parseInt(e(410))/3*(parseInt(e(403))/4)+parseInt(e(409))/5+parseInt(e(402))/6*(-parseInt(e(404))/7)+-parseInt(e(406))/8*(-parseInt(e(407))/9)+-parseInt(e(408))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
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:()=>H,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Wo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});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 N(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;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]=N(t[n],n,i,s,A);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,N(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(N(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(t[n],n,i,s,A);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),x(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),x(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),x(e,t,i,s,A),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,x(e,t,i,s,A),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),x(e,t,i,s,A),e}return t}function x(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]=N(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return N(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 x(e,t),e}case u:{const e={};return x(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const V=/^(?:0|[1-9]\d*)$/;function M(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 D(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 E(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?E(e)?F(t,D(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=["createdAt","attributes","8272229nSvrwc","10408866gCeBqU","11816688oPSneO","creator","fromVersion","authors","_update","822962pdioaF","8vTiqLZ","authorsIds","creatorId","2887407TUCoBA","set","name","1759390yLXlNs","setName","removeAttribute","diffData","toVersion","toJSON","fire","map","setAttribute","model","1225935eEIWsY"];return(L=function(){return t})()}function P(t,e){const i=L();return(P=function(t,e){return i[t-=289]})(t,e)}const z=P;!function(t){const e=P,i=t();for(;;)try{if(952831===-parseInt(e(303))/1+-parseInt(e(313))/2+parseInt(e(290))/3+-parseInt(e(314))/4*(-parseInt(e(293))/5)+-parseInt(e(307))/6+parseInt(e(306))/7+parseInt(e(308))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(L);class H extends((0,t.ObservableMixin)()){id;[z(309)];[z(311)];[z(296)];[z(297)];[z(310)];[z(302)];constructor(e){const i=z;super(),this.id=e.id||(0,t.uid)(),this[i(309)]=e[i(309)]||null,this[i(311)]=e[i(311)]||[],this[i(296)]=e[i(296)]||null,this[i(297)]=e[i(297)]||0,this[i(310)]=e[i(310)]||0,this[i(291)](i(292),e[i(292)]||""),this[i(291)](i(304),e[i(304)]||new Date),this[i(291)](i(305),e[i(305)]||{})}[z(294)](t){this[z(312)]({name:t})}[z(301)](t,e){const i=z,s=R(this[i(305)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(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]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(312)]({attributes:s})}[z(295)](t){const e=z,i=R(this[e(305)]);(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]&&E(e))return j(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(312)]({attributes:i})}[z(312)](t,e=!1){const i=z;let s=!1;const n={id:this.id},r=[i(292),i(304),i(296),i(311),i(305),i(297),i(310),i(289)];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(311)]&&(n[i(315)]=n[i(311)][i(300)]((t=>t.id)),delete n[i(311)]),this[i(299)](i(312),n,e))}[z(298)](){const t=z;return{id:this.id,name:this[t(292)],creatorId:this[t(309)]?this[t(309)].id:null,authorsIds:this[t(311)][t(300)]((t=>t.id)),diffData:this[t(296)],createdAt:this[t(304)],attributes:this[t(305)],fromVersion:this[t(310)],toVersion:this[t(297)]}}}var U=i(782),W=i(211),Z=i(783);function $(){const t=["_revisions","7532802iLVgnG","toJSON","href","name","876939aYlmVu","add","getRevision","map","attributes","26029aWHpux","isPremiumPlugin","getEarlierVisibleRevision","toVersion","creatorId","later","getLaterVisibleRevision","reverse","diffData","authorsIds","getRevisionsIterator","getRevisions","getUser","806499TcigHj","from","Users","afterInit","addRevision","createRevision","isNaN","editor","477099yopQZI","RevisionsRepository","11sHQwDW","getIndex","get","26124GhSVHd","earlier","pluginName","getRevisionsInDiff","14176270NLkpLb","isOfficialPlugin","oldRevisionId","length","newRevisionId","push","requires","fromVersion","plugins","fromCharCode","50tKNXhE","join","24KTJbqA","520cjwBHu","createdAt","data"];return($=function(){return t})()}const q=B;function B(t,e){const i=$();return(B=function(t,e){return i[t-=394]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(713842===-parseInt(e(406))/1*(parseInt(e(446))/2)+-parseInt(e(401))/3+-parseInt(e(432))/4*(parseInt(e(449))/5)+parseInt(e(397))/6+-parseInt(e(427))/7+parseInt(e(448))/8*(-parseInt(e(419))/9)+-parseInt(e(436))/10*(-parseInt(e(429))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(396)];static get[q(442)](){return[W.Users]}static get[q(434)](){return q(428)}static get[q(437)](){return!0}static get[q(407)](){return!0}get[q(439)](){const t=q;return this[t(396)][t(439)]}constructor(e){const i=q;super(e),this[i(396)]=new t.Collection}[q(422)](){!async function(e){const i=k([121,97,73,105,53,76,100,88,55,77,114,66,101,118,48,89,99,79,51,50,112,113,65,119,71,117,49,109,67,106,102,57,115,80,74,90,111,69,108,116,84,78,82,56,98,70,110,103,122,75,52,87,72,85,54,68,120,104,86,107,83,81]),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=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(425)](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([121]);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=B;return t[e(404)]((t=>String[e(445)](t)))[e(447)]("")}!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:1742947200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,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(399)]);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)}[q(424)](t){const e=q,i=this[e(426)][e(444)][e(431)](e(421));return new H({id:t.id,name:t[e(400)],creator:t[e(410)]?i[e(418)](t[e(410)]):null,diffData:t[e(414)]||t[e(395)],authors:t[e(415)][e(404)]((t=>i[e(418)](t))),createdAt:new Date(t[e(394)]),attributes:t[e(405)],fromVersion:t[e(443)],toVersion:t[e(409)]})}[q(423)](t,e=0){const i=q;this[i(396)][i(402)](t,e)}[q(403)](t){const e=q;return this[e(396)][e(431)](t)}[q(417)](t={toJSON:!1}){const e=q,i=Array[e(420)](this[e(396)]);return i[e(413)](),t[e(398)]?i[e(404)]((t=>t[e(398)]())):i}[q(430)](t){const e=q;return this[e(396)][e(430)](t)}[q(408)](t){const e=q,[,i]=this[e(416)](t,{direction:e(433)});return i}[q(412)](t){const e=q,[,i]=this[e(416)](t,{direction:e(411)});return i}[q(435)](t){const e=q,i=[];for(const s of this[e(416)](t[e(440)]))if(i[e(441)](s),s.id===t[e(438)])break;return i}*[q(416)](t,{direction:e=q(433),filter:i=()=>!0}={}){const s=q,n=s(433)===e?1:-1;let r=this[s(396)][s(431)](t),o=this[s(430)](r);for(yield r;r;){if(o+=n,r=this[s(403)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=189]})(t,e)}function K(){const t=["collaboration.channelId","editing","customProperties","forEach","toData","insertions","name","getRevision","render","view","get","2434298mxklFX","data","document","filter","createElement","useFillerType","getRevisionDocumentData","htmlProcessor","_setCustomProperty","processor","diffData","_getViewFromDiffObj","getFillerOffset","length","1448932KIcPuE","from","revision-end","isOfficialPlugin","viewChildrenToDom","data-revision-","attributesAfter","_viewClassToTypeChar","string","_appendChild","7747458lHwceQ","18440MWshuK","editor","fillerOffset","_makeModelFromViewString","domDocument","10PpFISd","attachChange","_getTypeCharForViewElement","2675748rLGHQA","isAttached","_removeRevisionMarkers","childNodes","children","div","attributes","_typeCharToViewClass","pluginName","toModel","4479426ktwPzU","4865wlqUEb","3952098AnuZZM","startsWith","revision-start","constructor","domConverter","map","domChildrenToView","config","default","isPremiumPlugin","append","marked","RevisionHistoryUtils","getRevisionRootsAttributes","parse","type","innerHTML","loadRevisionData"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(821527===-parseInt(e(208))/1+-parseInt(e(194))/2+parseInt(e(237))/3+-parseInt(e(227))/4*(parseInt(e(224))/5)+parseInt(e(218))/6+parseInt(e(238))/7*(parseInt(e(219))/8)+parseInt(e(239))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends U.Plugin{static get[J(235)](){return J(251)}static get[J(211)](){return!0}static get[J(248)](){return!0}[J(215)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(234)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(256)](t,e){const i=J;if(t[i(204)]||!e)return;const s=this[i(220)][i(246)][i(193)](i(257)),n=await e[i(190)]({channelId:s,revisionId:t.id});t[i(204)]=n[i(204)]}[J(200)](t){const e=J,i={};for(const s in t[e(204)]){if(t[e(204)][s][e(225)]&&!t[e(204)][s][e(225)][e(228)])continue;const n=this[e(229)](JSON[e(253)](t[e(204)][s][e(262)])),r=this[e(220)][e(258)][e(192)][e(196)],o=new Z.ViewDocumentFragment(r,n[e(244)]((t=>this[e(205)](t,!1))));this[e(220)][e(195)][e(203)][e(199)](e(250)),i[s]=this[e(220)][e(195)][e(203)][e(261)](o),this[e(220)][e(195)][e(203)][e(199)](e(247))}return i}[J(252)](t){const e=J,i={};for(const s in t[e(204)])t[e(204)][s][e(225)]&&!t[e(204)][s][e(225)][e(228)]||(i[s]=t[e(204)][s][e(214)]||{});return i}[J(226)](t){const e=J;return this[e(215)][e(193)](t[e(242)])}[J(205)](t,e){const i=J,s=this[i(220)][i(258)][i(192)][i(196)];if(i(216)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(254)]||"r"==t[i(254)]?[]:t[i(231)][i(244)]((t=>this[i(205)](t,e)));const o=this[i(234)][i(193)](t[i(254)])||Z.ViewElement,a=this[i(220)][i(195)][i(201)][i(243)];if(n=new o(s,t[i(189)],t[i(233)],r),"u"==t[i(254)]){const r=t[i(231)][0];if(n[i(191)]=function(t){const e=i,s=t[e(198)](e(232));return s[e(255)]=r,s[e(230)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(217)](n);const e=Array[i(209)](a[i(212)](t,{bind:!1})),r=a[i(223)][i(198)](i(232));r[i(249)](...e),n=Array[i(209)](a[i(245)](r))[0]}}else if("r"==t[i(254)]){const r=t[i(231)][0];if(n[i(191)]=function(t){t[i(255)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(217)](n);const e=Array[i(209)](a[i(212)](t,{bind:!1})),r=a[i(223)][i(198)](i(232));r[i(249)](...e);const o=Array[i(209)](a[i(245)](r));o[i(207)]>1?n[i(217)](o):n=o[0]}}if(t[i(259)])for(const[e,s]of t[i(259)])n[i(202)](e,s);const c=t[i(221)]||null;return n[i(206)]=()=>c,n}}[J(222)](t){const e=J,i=JSON[e(253)](t),s=this[e(220)][e(258)][e(192)][e(196)],n=new Z.ViewDocumentFragment(s,i[e(244)]((t=>this[e(205)](t,!0))));return this[e(220)][e(195)][e(236)](n)}[J(229)](t){const e=J;return(t=t[e(197)]((t=>!t[e(189)]||e(241)!==t[e(189)]&&e(210)!==t[e(189)])))[e(260)]((t=>{const i=e;i(216)!=typeof t&&(t[i(231)]=this[i(229)](t[i(231)]),t[i(233)]=t[i(233)][i(197)]((t=>!t[0][i(240)](i(213)))))})),t}}function X(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,N){if(Object.is(t,i))return!0;let x=n(t),A=n(i);if(x===u&&(x=v),A===u&&(A=v),x!==A)return!1;switch(x){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(V=s)||Number.isNaN(R)&&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 R,V;const M=(s=s??new Map).get(t),D=s.get(i);if(null!=M&&null!=D)return M===i;s.set(t,i),s.set(i,t);try{switch(x){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,N))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=>et(o,e,void 0,t,i,s,N)));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(!et(t[e],i[e],e,t,i,s,N))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,N)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,N))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}function rt(t,e){const i=ft();return(rt=function(t,e){return i[t-=327]})(t,e)}const ot=rt;!function(t){const e=rt,i=t();for(;;)try{if(663548===parseInt(e(381))/1+parseInt(e(519))/2+parseInt(e(538))/3+parseInt(e(374))/4*(-parseInt(e(422))/5)+-parseInt(e(531))/6+parseInt(e(463))/7*(parseInt(e(619))/8)+parseInt(e(450))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class at extends U.Plugin{[ot(350)];[ot(344)];[ot(569)]=null;[ot(358)];[ot(458)]=null;[ot(526)];[ot(546)];[ot(421)];[ot(565)];[ot(553)];[ot(525)];[ot(357)];[ot(492)];[ot(562)];static get[ot(545)](){return ot(524)}static get[ot(620)](){return!0}static get[ot(370)](){return!0}static get[ot(563)](){return[W.Users,Y,Q,U.PendingActions]}constructor(e){const i=ot;super(e),this[i(358)]=this[i(621)][i(469)][i(448)](i(513)),this[i(553)]=this[i(621)][i(469)][i(448)](i(473)),this[i(526)]=new ct(this[i(621)]),this[i(421)]=this[i(621)][i(616)][i(448)](i(454))||i(327),this[i(565)]=new Map,this[i(562)]=null;const s=(0,t.uid)();this[i(546)]={history:this[i(621)][i(438)][i(453)][i(335)],getLatestVersion:()=>Promise[i(356)](this[i(621)][i(438)][i(453)][i(602)]),getCurrentRevisionId:()=>s},this[i(611)](i(340),!1),this[i(611)](i(500),!0),this[i(611)](i(622),!1),this[i(621)][i(616)][i(588)](i(443),!0),this[i(621)][i(601)][i(343)](i(555))[i(643)]({view:i(415)})}[ot(603)](){const t=ot;this[t(430)](),this[t(621)][t(533)].on(t(567),(()=>{const e=t,i=this[e(358)][e(459)](0),s=i&&null===i[e(642)]?i:null;if(this[e(357)]=!!s&&this[e(621)][e(616)][e(448)](e(443)),this[e(621)][e(469)][e(483)](e(403))){const t=this[e(546)][e(496)](),n=this[e(358)][e(459)](t);if(n)this[e(492)]=n[e(464)],this[e(357)]=!1;else{const t=this[e(546)][e(335)][e(466)][e(332)]((t=>!t[e(576)])),n=t?t[e(447)]:this[e(546)][e(335)][e(602)];i?(i[e(495)]<n&&i[e(647)]({toVersion:n}),this[e(357)]?(this[e(546)][e(496)]=()=>s.id,this[e(492)]=s[e(464)]):(this[e(492)]=i[e(495)],this[e(357)]=!1)):(this[e(492)]=n,this[e(357)]=!1)}}else s&&(this[e(621)][e(438)][e(453)][e(335)][e(602)]=Math[e(449)](s[e(495)],this[e(621)][e(438)][e(453)][e(335)][e(602)]),s[e(464)]===s[e(495)]?(0!==s[e(464)]&&(this[e(546)][e(496)]=()=>s.id),this[e(357)]=!1):this[e(357)]&&(this[e(546)][e(496)]=()=>s.id,this[e(492)]=s[e(464)])),this[e(357)]||(this[e(492)]=this[e(621)][e(438)][e(453)][e(602)]);this[e(526)][e(603)](this[e(546)][e(335)]),this[e(470)](this[e(492)]),this[e(618)](this[e(492)]),this[e(458)]&&this[e(606)]()})),this[t(504)](t(340)).to(this,t(622),(t=>!t)),this[t(350)]=this[t(621)][t(616)][t(448)](t(350));const e=this[t(621)];this[t(344)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(365)==r||i(566)==r||i(559)==r||i(506)==r||i(571)==r||i(348)==r||i(543)==r||i(630)==r){delete e[n],s=r,clearInterval(this[i(344)]),this[i(344)]=void 0;break}}i(566)==s&&e[i(494)](i(486)),i(559)==s&&e[i(494)](i(441)),i(506)==s&&e[i(494)](i(408)),i(571)==s&&e[i(494)](i(482),i(613)),i(348)==s&&e[i(494)](i(382)),i(543)==s&&e[i(494)](i(354)),i(630)==s&&e[i(494)](i(520))}),1e3)}async[ot(589)](){const t=ot;if(this[t(358)][t(535)]>0){const e=this[t(358)][t(459)](0),i=await this[t(514)](e),s=await this[t(366)](e);this[t(378)](i,s)}}[ot(468)](){const t=ot;super[t(468)](),this[t(344)]&&clearInterval(this[t(344)])}[ot(334)](t){this[ot(546)]=t}async[ot(550)](){const t=ot,e=await this[t(546)][t(431)]();if(e>this[t(569)][t(495)]){await this[t(517)]();const i=this[t(394)]({revision:this[t(569)],to:e});i[t(584)]=i[t(529)][t(509)]((e=>this[t(621)][t(469)][t(448)](t(590))[t(501)](e))),this[t(569)][t(647)](i)}}async[ot(637)](e={},i=null){const s=ot,n=[];await this[s(517)](),this[s(357)]=!1,i>this[s(569)][s(495)]&&(i=null),null===i&&(i=await this[s(546)][s(431)]());const r=this[s(605)](i),o=this[s(394)]({from:r,to:i});if(this[s(569)][s(495)]<i){const t=this[s(394)]({revision:this[s(569)],from:i,to:i});t[s(584)]=[],t[s(529)]=[],t.id=this[s(569)].id,this[s(569)][s(647)](t,!0),delete t[s(584)],n[s(615)](t)}e[s(547)]=this[s(621)][s(469)][s(448)](s(590)).me.id,e[s(560)]=e[s(560)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(600)](e);n[s(615)](e);const c=this[s(358)][s(442)](a);if(0!==c){const t=this[s(358)][s(459)](c-1);if(t[s(464)]!==i){const r=this[s(526)][s(625)](i,t[s(495)]),o={id:t.id,diffData:r[s(338)],authorsIds:r[s(529)],authors:r[s(529)][s(509)]((t=>this[s(621)][s(469)][s(448)](s(590))[s(501)](t))),fromVersion:i};t===this[s(569)]&&(o[s(375)]=new Date(e[s(375)][s(476)]()+10)),t[s(647)](o,!0),delete o[s(584)],n[s(615)](o)}}if(this[s(458)]){for(const t of n)this[s(412)](t.id,t,!0);this[s(606)]()}return a}[ot(600)](t){const e=ot,i=this[e(358)][e(352)](t);return this[e(458)]&&i.on(e(647),((t,i,s)=>{const n=e;s||(this[n(412)](i.id,i,!0),this[n(606)]())})),this[e(358)][e(377)](i,this[e(638)](i)),i}async[ot(514)](t){const e=ot;return await this[e(553)][e(339)](t,this[e(458)]),this[e(553)][e(514)](t)}async[ot(366)](t){const e=ot;return await this[e(553)][e(339)](t,this[e(458)]),this[e(553)][e(366)](t)}[ot(606)](){const t=ot;if(0===this[t(565)][t(439)])return;if(this[t(622)])return;let e=Array[t(534)](this[t(565)][t(604)]());this[t(565)][t(402)]();for(let i=0;i<e[t(535)];i++){const s=e[i];let n=!1;for(const e of Object[t(406)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(347)]((t=>null!==t)),!e[t(535)])return;for(let i=0;i<e[t(535)];i++){const s=e[i];void 0!==s[t(464)]&&void 0===s[t(495)]&&(s[t(495)]=this[t(358)][t(459)](s.id)[t(495)]),void 0!==s[t(495)]&&void 0===s[t(464)]&&(s[t(464)]=this[t(358)][t(459)](s.id)[t(464)])}const i=this[t(621)][t(616)][t(448)](t(454));this[t(622)]=!0,this[t(586)](),this[t(458)][t(624)](e,i)[t(397)]((()=>{this[t(622)]=!1}))[t(477)]((e=>{const i=t;if(e)for(const t of e)this[i(346)]({id:t.id,createdAt:t[i(375)]});this[i(437)](),this[i(606)]()}))}[ot(394)]({revision:t=null,from:e=null,to:i=null}){const s=ot;e=null!==e?e:t[s(464)],i=null!==i?i:t[s(495)];const n=this[s(526)][s(625)](e,i),r={diffData:n[s(338)],authorsIds:n[s(529)],fromVersion:e,toVersion:i};if(!t||i!==t[s(495)]){const t=i-1,e=this[s(546)][s(335)][s(456)](t);r[s(375)]=e&&e[s(375)]||new Date}if(this[s(562)]&&e===this[s(562)][s(464)])for(const t of this[s(562)][s(584)])r[s(529)][s(353)](t.id)||r[s(529)][s(615)](t.id);return r}[ot(412)](t,e,i){const s=ot;if(this[s(565)][s(483)](t)){const n=this[s(565)][s(448)](t);e=i?{...n,...e}:{...e,...n}}this[s(565)][s(611)](t,e)}[ot(346)](t){const e=ot,i=this[e(358)][e(459)](t.id);if(t[e(375)]&&(t[e(375)]=new Date(t[e(375)])),t[e(529)]){const i=this[e(621)][e(469)][e(448)](e(590));t[e(584)]=t[e(529)][e(509)]((t=>i[e(501)](t)))}i[e(647)](t,!0)}[ot(470)](t){const e=ot,i=this[e(358)][e(459)](this[e(358)][e(535)]-1);if(i)this[e(421)]=i.id;else{const i=!this[e(621)][e(438)][e(453)][e(380)][e(332)]((t=>this[e(621)][e(438)][e(544)](t))),s=this[e(621)][e(469)][e(448)](e(590)).me.id,n=X(this[e(621)][e(591)],e(i?435:489));this[e(568)]({from:t,to:t,id:this[e(421)],name:n,creatorId:s})}}[ot(618)](t){const e=ot,i=this[e(546)][e(496)]();this[e(569)]=this[e(358)][e(459)](i),this[e(569)]||(this[e(569)]=this[e(568)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ot(517)](){const t=ot;this[t(357)]&&!this[t(562)]&&(await this[t(553)][t(339)](this[t(569)],this[t(458)]),this[t(526)][t(384)](this[t(569)]),this[t(562)]={fromVersion:this[t(569)][t(464)],authors:this[t(569)][t(584)][t(626)]()})}[ot(378)](e,i){const s=ot;let n=this[s(621)][s(616)][s(448)](s(479)),r=this[s(621)][s(616)][s(448)](s(610));if(void 0===n){n={};for(const t of this[s(621)][s(438)][s(453)][s(425)]())n[t]=""}if(s(433)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(621)][s(438)][s(453)][s(425)]())r[t]={}}let o=!1;const a=Object[s(406)](n),c=Object[s(406)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(646)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(406)](r[t])[s(535)]>0){o=!0;break}}o||(o=c[s(599)]((t=>!this[s(621)][s(438)][s(453)][s(530)](t)))),o&&(0,t.logWarning)(s(523),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(621)][s(616)][s(611)](s(479),e),this[s(621)][s(616)][s(611)](s(610),i)}[ot(586)](){const t=ot;if(!this[t(525)]){const e=this[t(621)][t(469)][t(448)](t(633));this[t(525)]=e[t(424)](X(this[t(621)][t(591)],t(427)))}}[ot(437)](){const t=ot;this[t(525)]&&(this[t(621)][t(469)][t(448)](t(633))[t(554)](this[t(525)]),this[t(525)]=null)}[ot(638)](t){const e=ot,i=this[e(358)][e(574)]();i[e(337)]();let s=0;for(;s<i[e(535)];){const n=i[s];if(n===this[e(569)]){s++;continue}if(n.id===this[e(421)])break;const r=t[e(495)]-n[e(495)]||t[e(464)]-n[e(464)];if(r>0)break;if(r<0)s++;else{if(!t[e(642)]&&n[e(642)])break;if(n[e(642)]||!t[e(642)]){if(t[e(375)]>n[e(375)])break;s++}else s++}}return s}[ot(605)](t){const e=ot,i=this[e(358)][e(574)]();i[e(337)](),i[e(487)]();const s=i[e(332)]((i=>i[e(495)]<=t))[e(495)];return s<this[e(492)]?this[e(492)]:s}[ot(568)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ot,o=this[r(394)]({from:e,to:i});o[r(560)]=t,o[r(547)]=s,o.id=n;const a=this[r(600)](o);return this[r(458)]&&this[r(412)](o.id,o,!0),a}[ot(430)](){const t=ot;this[t(621)][t(601)][t(343)](t(395))[t(484)]({model:t(415)})}}class ct{[ot(621)];[ot(452)];[ot(360)];[ot(398)];[ot(578)];[ot(518)];[ot(575)];[ot(488)];[ot(386)];[ot(419)];[ot(614)];[ot(471)];[ot(556)];[ot(498)];[ot(440)];[ot(460)];[ot(363)];constructor(t){const e=ot;this[e(621)]=t,this[e(360)]=new Map,this[e(398)]=-1,this[e(578)]=-1,this[e(518)]=new Map,this[e(575)]=new Map,this[e(488)]=new Map,this[e(386)]=new Map,this[e(419)]=new Map,this[e(614)]=new Map,this[e(471)]=new Map,this[e(556)]=new Map,this[e(498)]=new Map,this[e(440)]=new Map,this[e(460)]=1}[ot(603)](t){const e=ot;this[e(452)]=t;const i=new Map,s=new Map,n=this[e(621)][e(438)][e(453)][e(380)][e(509)]((t=>t[e(502)]));for(const t of n){const n=this[e(621)][e(438)][e(453)][e(530)](t),r=ut(n);i[e(611)](t,r),s[e(611)](t,Object[e(361)](n[e(511)]()))}const r=Array[e(534)](this[e(621)][e(438)][e(532)])[e(509)]((t=>[t[e(560)],t[e(400)]()])),o=this[e(452)][e(602)];this[e(426)](o,i,r,s),this[e(363)]=this[e(460)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(611)](t,i),c[e(611)](t,{})}this[e(426)](Number[e(330)],a,[],c)}[ot(625)](t,e){const i=ot;if(this[i(398)]===t&&this[i(578)]<=e)this[i(360)][i(439)]>1&&this[i(336)](this[i(578)]),this[i(423)](this[i(578)],e,!0);else{if(!this[i(360)][i(483)](t)){const e=this[i(632)](t);this[i(389)](e,t,!1)}this[i(389)](t,e,!0)}return this[i(398)]=t,this[i(578)]=e,this[i(401)]()}[ot(384)](t){const e=ot,i=this[e(621)][e(469)][e(448)](e(473));this[e(580)](),this[e(398)]=t[e(464)],this[e(578)]=t[e(495)];for(const s in t[e(338)]){const n=t[e(338)][s][e(629)],r=R(t[e(338)][s][e(364)])||{},o=i[e(541)](t[e(338)][s][e(432)]);o[e(502)]=s,o[e(521)]=!n||!n[e(493)],o[e(493)]=()=>o[e(521)],this[e(386)][e(611)](s,o),this[e(419)][e(611)](s,r),n&&this[e(440)][e(611)](s,n);const a=this[e(528)](o);this[e(471)][e(611)](s,a);for(const[t,i]of o[e(532)]){if(!t[e(537)](e(645)))continue;const s=t[e(507)](":")[2];for(const t of i[e(570)]({singleCharacters:!0})){const i=this[e(516)](t),n=e(539)==t[e(561)]?t[e(376)][e(328)][e(626)](0,-1):t[e(376)][e(328)],r=a[e(499)](n)[e(329)](i);this[e(556)][e(611)](r,{userId:s})}}}this[e(363)]=this[e(460)];const s=[...Array(this[e(460)])[e(406)]()][e(626)](1)[e(347)]((t=>!this[e(556)][e(483)](t)));let n=0;const r=new Map;for(const o in t[e(338)]){const a=t[e(338)][o][e(629)],c=R(t[e(338)][o][e(345)])||{},u=i[e(541)](t[e(338)][o][e(372)]);u[e(502)]=o,u[e(521)]=!a||a[e(493)],u[e(493)]=()=>u[e(521)],this[e(575)][e(611)](o,u),this[e(488)][e(611)](o,c);const l=this[e(528)](u,Number[e(330)]);this[e(614)][e(611)](o,l),r[e(611)](o,u[e(493)]()?c:{});for(const[t,i]of u[e(532)]){if(!t[e(537)](e(645)))continue;const s=t[e(507)](":")[2];for(const t of i[e(570)]({singleCharacters:!0})){const i=this[e(516)](t),n=this[e(460)]++,r=e(539)==t[e(561)]?t[e(376)][e(328)][e(626)](0,-1):t[e(376)][e(328)];l[e(499)](r)[e(369)](i,n),this[e(556)][e(611)](n,{userId:s})}}for(const t of this[e(621)][e(438)][e(491)](u)[e(570)]({singleCharacters:!0})){const i=this[e(516)](t),r=e(539)==t[e(561)]?t[e(376)][e(328)][e(626)](0,-1):t[e(376)][e(328)],o=l[e(499)](r);o[e(329)](i)>0||o[e(369)](i,s[n++])}for(const[t,i]of u[e(532)])t[e(537)](e(645))||this[e(518)][e(611)](t,i)}const o=lt(e(475));this[e(386)][e(611)](e(475),o),this[e(471)][e(611)](e(475),this[e(528)](o,1));const a=lt(e(475));this[e(575)][e(611)](e(475),a),this[e(614)][e(611)](e(475),this[e(528)](a,1));const c=Array[e(534)](this[e(575)])[e(509)]((([t,e])=>[t,ut(e)]));this[e(426)](this[e(578)],c,this[e(518)],r)}[ot(388)](){const t=ot;this[t(580)](),this[t(398)]=-1,this[t(578)]=-1,this[t(360)][t(402)](),this[t(603)](this[t(452)])}[ot(426)](t,e,i,s){const n=ot,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(611)](t,{start:e[n(457)][n(515)](),end:e[n(536)][n(515)](),rootName:e[n(416)][n(502)]});this[n(360)][n(611)](t,{roots:r,markers:a,rootsAttributes:o})}[ot(336)](t){const e=ot;this[e(360)][e(467)](t)}[ot(580)](){const t=ot;this[t(556)][t(402)](),this[t(498)][t(402)](),this[t(440)][t(402)](),this[t(575)][t(402)](),this[t(488)][t(402)](),this[t(386)][t(402)](),this[t(419)][t(402)](),this[t(614)][t(402)](),this[t(471)][t(402)](),this[t(518)][t(402)](),this[t(460)]=1,this[t(363)]=this[t(460)]}[ot(528)](t,e=null){const i=ot;let s=null;t.is(i(472))||(s=new Z.Element(t[i(560)],{vid_start:null===e?this[i(460)]++:e++}));const n=[];for(const s of t[i(596)]())if(s.is(i(404))){n[i(615)](this[i(528)](s,e));const t=n[n[i(535)]-1];null!==e&&(e=t.is(i(404),i(573))?t[i(329)](i(572))+1:t[i(329)](i(480))+1)}else for(let t=0;t<s[i(478)];t++)n[i(615)](new Z.Element(i(573),{vid:null===e?this[i(460)]++:e++}));if(t.is(i(472))){const e=lt(t[i(502)]);return e[i(587)](0,n),e}return s[i(369)](i(480),null===e?this[i(460)]++:e++),s[i(587)](0,n),s}[ot(389)](t,e,i){const s=ot;this[s(580)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(360)][s(448)](t);this[s(386)]=new Map(n),this[s(419)]=new Map(R(o));for(const[t,e]of this[s(386)])if(s(475)!==t&&(this[s(575)][s(611)](t,ut(e)),this[s(488)]=new Map(R(o)),i)){const i=this[s(460)];this[s(614)][s(611)](t,this[s(528)](e)),this[s(471)][s(611)](t,this[s(528)](e,i))}this[s(363)]=this[s(460)],this[s(575)][s(611)](s(475),ut(this[s(386)][s(448)](s(475)))),i&&this[s(614)][s(611)](s(475),this[s(528)](this[s(386)][s(448)](s(475))));for(const[t,e]of r){const i=this[s(386)][s(448)](e[s(502)]),n=this[s(575)][s(448)](e[s(502)]),r=new Z.Range(this[s(527)](e[s(457)],i),this[s(527)](e[s(536)],i)),o=this[s(503)](r,n);i[s(532)][s(611)](t,r),this[s(518)][s(611)](t,o)}this[s(423)](t,e,i)}[ot(423)](t,e,i){const s=ot;for(const n of this[s(452)][s(362)](t,e))this[s(444)](n,i);for(const t of this[s(575)][s(604)]())t[s(532)][s(402)]();for(const[t,e]of this[s(518)])this[s(575)][s(448)](e[s(416)][s(502)])[s(532)][s(611)](t,e[s(515)]());const n=new Map,r=new Map;for(const[t,e]of this[s(575)])n[s(611)](t,ut(e)),r[s(611)](t,this[s(488)][s(448)](t));this[s(426)](e,n,this[s(518)],r)}[ot(632)](t){const e=ot,i=Array[e(534)](this[e(360)][e(406)]());i[e(373)](((t,e)=>t-e)),i[e(337)]();for(const e of i)if(e<t)return e;return Number[e(330)]}[ot(371)](t,e){const i=ot,s=Array[i(534)](e[i(532)])[i(509)]((([e,s])=>[e,this[i(503)](s,t)]));t[i(532)]=new Map(s)}[ot(564)](t){const e=ot;for(const i of this[e(518)][e(604)]()){const s=i[e(627)](t),n=Z.Range[e(342)](s);i[e(457)]=n[e(457)],i[e(536)]=n[e(536)]}}[ot(444)](t,e){const i=ot;if(i(617)!=t[i(561)]&&i(331)!=t[i(561)]){if(i(522)==t[i(561)]){const s=t[i(385)][i(416)][i(502)];this[i(575)][i(483)](s)||(this[i(575)][i(611)](s,lt(s,!0)),this[i(488)][i(611)](s,{}),e&&this[i(614)][i(611)](s,lt(s,!0)))}else{if(i(368)==t[i(561)]||i(557)==t[i(561)]||i(497)==t[i(561)])return void this[i(540)](t);i(595)==t[i(561)]&&this[i(641)](t)}if(i(595)!==t[i(561)]){const e=this[i(481)](t,this[i(575)]);e[i(436)](),this[i(564)](e)}if(e)switch(t[i(561)]){case i(522):this[i(582)](t);break;case i(461):case i(554):case i(434):this[i(359)](t);break;case i(639):this[i(558)](t);break;case i(507):this[i(367)](t)}}else this[i(579)](t,e)}[ot(481)](t,e){const i=ot,s=t[i(515)]();return s[i(551)]=t[i(551)],this[i(405)](s,e),s}[ot(577)](t){const e=ot;return t[e(509)]((t=>{const i=e,s=this[i(516)](t);return Number(t[i(598)][i(329)](s))}))}[ot(392)](t,e){const i=ot;if(t.is(i(404),i(573)))e[i(615)]({item:t,type:i(474)});else{t.is(i(404))&&e[i(615)]({item:t,type:i(609)});for(const s of t[i(596)]())this[i(392)](s,e);t.is(i(404))&&e[i(615)]({item:t,type:i(539)})}return e}[ot(401)](){const t=ot,e=new Map(this[t(556)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(386)][t(406)](),...this[t(575)][t(406)]()]);a[t(467)](t(475));for(const e of a){const i=this[t(575)][t(448)](e)||lt(e,!1),s=this[t(386)][t(448)](e)||lt(e,!1);i[t(493)]()||s[t(493)]()?(n[t(372)][e]=ut(i),n[t(432)][e]=ut(s),this[t(371)](n[t(432)][e],s),this[t(371)](n[t(372)][e],i),r[t(372)][e]=this[t(392)](this[t(614)][t(448)](e),[]),r[t(432)][e]=this[t(392)](this[t(471)][t(448)](e)||lt(e,!1),[])):a[t(467)](e)}for(const n of a){const o=r[t(372)][n];for(const n of o){const r=this[t(516)](n),o=n[t(598)][t(329)](r);i[t(467)](o),o>=this[t(363)]&&s[t(611)](o,e[t(448)](o))}}for(const n of a){const a=r[t(372)][n],c=this[t(577)](r[t(432)][n]);let u=0;for(const n of a){const r=this[t(516)](n),a=n[t(598)][t(329)](r);if(!s[t(483)](a)&&!o[t(483)](a))if(i[t(483)](a))u++;else{if(a!=c[u]){const s=e[t(448)](a)||e[t(448)](c[u]);for(;a!=c[u];)i[t(483)](c[u])||(o[t(611)](c[u],s),e[t(611)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(372)][e];for(const e of n){const n=this[t(516)](e),r=e[t(598)][t(329)](n);if(o[t(483)](r)){const e=o[t(448)](r);i[t(483)](r)||i[t(611)](r,{...e}),s[t(611)](r,{...e})}}}for(const e of i[t(406)]())e>=this[t(363)]&&i[t(467)](e);const c=new Map;for(const e of a){let n=r[t(372)][e];for(const e of n)if(e[t(598)].is(t(404),t(648))){const i=this[t(516)](e),n=e[t(598)][t(329)](i);if(s[t(483)](n)){const i=e[t(598)][t(581)][t(581)][t(329)](t(390)),r=c[t(448)](i)||new Set;r[t(424)](s[t(448)](n)[t(409)]),c[t(611)](i,r)}}n=r[t(432)][e];for(const e of n)if(e[t(598)].is(t(404),t(648))){const s=this[t(516)](e),n=e[t(598)][t(329)](s);if(i[t(483)](n)){const s=e[t(598)][t(581)][t(581)][t(329)](t(390)),r=c[t(448)](s)||new Set;r[t(424)](i[t(448)](n)[t(409)]),c[t(611)](s,r)}}for(const e of c[t(406)]())(s[t(483)](e)||i[t(483)](e))&&c[t(467)](e)}for(const e of a){const n=r[t(372)][e];let o=null,a=null;for(const e of n){const n=this[t(516)](e),r=e[t(598)][t(329)](n),u=c[t(448)](r);u&&t(609)==e[t(561)]&&(o=Array[t(534)](u)[0],a=e[t(598)][t(329)](t(480))),o&&(i[t(611)](r,{userId:o}),s[t(611)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(432)][e],a=n[t(372)][e];for(const{userId:e}of this[t(498)][t(604)]())null!==e&&l[t(424)](e);for(const{userId:e}of this[t(440)][t(604)]())null!==e&&l[t(424)](e);this[t(597)](a,r[t(372)][e],s,t(635),l),this[t(597)](o,r[t(432)][e],i,t(510),l),u[e]={insertions:this[t(490)](a),deletions:this[t(490)](o),attachChange:this[t(440)][t(448)](e)||null,attributesBefore:R(this[t(419)][t(448)](e))||{},attributesAfter:R(this[t(488)][t(448)](e))}}return{diffData:u,authorsIds:Array[t(534)](l)}}[ot(333)](t){const e=ot;for(const[,i]of t[e(532)]){const t=i[e(457)][e(407)]()[e(347)]((t=>e(648)==t[e(560)]));for(const i of t)1==i[e(548)]&&i[e(417)](0).is(e(404),e(583))&&i[e(417)](0)[e(369)](e(631),!0)}}[ot(490)](t){const e=ot;this[e(333)](t);const i=this[e(621)][e(533)][e(636)](t,{}),s=Array[e(534)](i[e(596)]())[e(509)]((t=>this[e(607)](t)));return JSON[e(634)](s)}[ot(607)](t){const e=ot;if(t.is(e(573)))return t[e(533)];{const i=this[e(621)][e(469)][e(448)](e(473)),s=t,n=this[e(621)][e(533)][e(420)][e(592)],r={type:i[e(451)](s),name:s[e(560)],attributes:Array[e(534)](s[e(511)]()),children:Array[e(534)](s[e(596)]())[e(509)]((t=>this[e(607)](t)))};if(t.is(e(383))&&e(355)!=t[e(560)]){const i=t[e(414)](n[e(391)],n);r[e(418)][e(615)](i[e(387)])}else if(t.is(e(593))){const i=n[e(391)][e(644)](s[e(560)]);t[e(414)](i,n),r[e(418)][e(615)](i[e(462)])}const o=Array[e(534)](s[e(465)]());o[e(535)]>0&&(r[e(411)]=o);const a=s[e(552)]();return null!==a&&(r[e(351)]=a),r}}[ot(597)](t,e,i,s,n){const r=ot;let o=null,a=null,c=0;const u=this[r(621)][r(438)];for(let s=0;s<e[r(535)];s++){const n=this[r(516)](e[s]),c=e[s][r(598)][r(329)](n),h=i[r(448)](c),d=s==e[r(535)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(409)]!=o[r(409)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),dt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(409)],d=l(645)+s+":"+h+":"+c++,f=u[l(396)](i,a);t[l(532)][l(611)](d,f),null!==h&&n[l(424)](h)}}[ot(516)](t){const e=ot;switch(t[e(561)]){case e(609):return e(390);case e(539):return e(480);default:return e(572)}}[ot(405)](t,e){const i=ot;t[i(447)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(448)](n[i(416)][i(502)]);t[s]=this[i(527)](n,r)}if(n instanceof Z.Range){const r=e[i(448)](n[i(416)][i(502)]);t[s]=this[i(503)](n,r)}i(416)===s&&(t[i(416)]=e[i(448)](t[i(416)][i(502)]))}}[ot(503)](t,e){const i=ot;return this[i(621)][i(438)][i(396)](this[i(527)](t[i(457)],e),this[i(527)](t[i(536)],e))}[ot(527)](t,e){const i=ot;return this[i(621)][i(438)][i(508)](e,t[i(328)],t[i(542)])}[ot(582)](t){const e=ot,i=this[e(614)][e(448)](t[e(385)][e(416)][e(502)]),s=this[e(527)](t[e(385)],i),n=null===t[e(551)]?null:t[e(551)]||this[e(621)][e(469)][e(448)](e(590)).me.id,r=s[e(581)],o=this[e(460)],a=[];for(const i of t[e(399)])if(i.is(e(404)))a[e(615)](this[e(528)](i));else for(let t=0;t<i[e(478)];t++)a[e(615)](new Z.Element(e(573),{vid:this[e(460)]++}));const c=this[e(460)];for(let t=o;t<c;t++)this[e(556)][e(611)](t,{userId:n});r[e(587)](s[e(379)],a)}[ot(359)](t){const e=ot;(t=this[e(481)](t,this[e(614)]))[e(436)]();const i=null===t[e(551)]?null:t[e(551)]||this[e(621)][e(469)][e(448)](e(590)).me.id,s=t[e(585)](),n=s[e(581)],r=s[e(379)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(417)](e);r.is(a(404),a(573))?s[a(611)](r[a(329)](a(572)),{userId:i}):(s[a(611)](r[a(329)](a(390)),{userId:i}),t(s,r,0,r[a(548)]),s[a(611)](r[a(329)](a(480)),{userId:i}))}}(this[e(556)],n,r,r+t[e(594)])}[ot(558)](t){const e=ot,i=null===(t=this[e(481)](t,this[e(614)]))[e(551)]?null:t[e(551)]||this[e(621)][e(469)][e(448)](e(590)).me.id,s=t[e(393)][e(581)],n=t[e(640)][e(581)],r=s[e(329)](e(480)),o=n[e(329)](e(390));s[e(369)](e(480),n[e(329)](e(480))),n[e(369)](e(480),r),this[e(556)][e(611)](o,{userId:i}),this[e(556)][e(611)](r,{userId:i}),t[e(436)]()}[ot(367)](t){const e=ot,i=null===(t=this[e(481)](t,this[e(614)]))[e(551)]?null:t[e(551)]||this[e(621)][e(469)][e(448)](e(590)).me.id,s=t[e(512)],n=t[e(428)][e(581)];t[e(436)]();const r=n[e(329)](e(480)),o=t[e(612)][e(608)];if(s){const t=o[e(329)](e(480)),s=n[e(329)](e(480));n[e(369)](e(480),t),o[e(369)](e(480),s),this[e(556)][e(611)](n[e(329)](e(480)),{userId:i}),this[e(556)][e(611)](o[e(329)](e(390)),{userId:i})}else{const t=this[e(460)]++,s=this[e(460)]++;n[e(369)](e(480),t),o[e(369)](e(390),s),o[e(369)](e(480),r),this[e(556)][e(611)](t,{userId:i}),this[e(556)][e(611)](s,{userId:i})}}[ot(641)](t){const e=ot;if(!t[e(505)])return;const i=(t=this[e(481)](t,this[e(575)]))[e(446)]?t[e(446)][e(416)]:null,s=t[e(485)]?t[e(485)][e(416)]:null;i&&this[e(518)][e(467)](t[e(560)]),s&&this[e(518)][e(611)](t[e(560)],t[e(485)][e(515)]());const n=null===t[e(551)]?null:t[e(551)]||this[e(621)][e(469)][e(448)](e(590)).me.id,r=t[e(560)];if(!this[e(498)][e(483)](r))return void this[e(498)][e(611)](r,{range:t[e(446)],userId:n});const o=this[e(498)][e(448)](r),a=o[e(455)],c=t[e(485)];null==a&&null==c||a&&c&&a[e(549)](c)?this[e(498)][e(467)](t[e(560)]):o[e(409)]=n}[ot(579)](t,e){const i=ot;this[i(575)][i(483)](t[i(502)])?this[i(575)][i(448)](t[i(502)])[i(521)]=t[i(410)]:(this[i(575)][i(611)](t[i(502)],lt(t[i(502)],!0)),this[i(488)][i(611)](t[i(502)],{}),e&&this[i(614)][i(611)](t[i(502)],lt(t[i(502)],!0)));const s=null===t[i(551)]?null:t[i(551)]||this[i(621)][i(469)][i(448)](i(590)).me.id,n=this[i(440)][i(448)](t[i(502)]);n&&n[i(409)]===s?this[i(440)][i(467)](t[i(502)]):this[i(440)][i(611)](t[i(502)],{userId:s,isAttached:t[i(410)]})}[ot(540)](t){const e=ot,i=this[e(488)][e(448)](t[e(416)][e(502)]);null===t[e(623)]?delete i[t[e(341)]]:i[t[e(341)]]=t[e(623)]}}function ut(t){const e=ot,i=lt(t[e(502)],t[e(493)]());for(const s of t[e(596)]()){const t=s[e(628)](!0);i[e(349)](t)}return i}function lt(t,e=!0){const i=ot,s=new Z.DocumentFragment;return s[i(502)]=t,s[i(521)]=e,s[i(493)]=()=>s[i(521)],s}function ht(t,e,i){const s=ot,n=s(539)==t[s(561)]?i[s(429)](t[s(598)],s(536)):i[s(445)](t[s(598)]);return i[s(508)](e,n[s(328)],n[s(542)])}function dt(t,e,i){const s=ot,n=s(609)==t[s(561)]?i[s(429)](t[s(598)],0):i[s(413)](t[s(598)]);return i[s(508)](e,n[s(328)],n[s(542)])}function ft(){const t=["featureNotAllowed","has","markerToData","newRange","invalid","shift","_diffRootsAttributes","Initial revision","_prepareViewToSave","createRangeIn","_startingVersion","isAttached","_showLicenseError","toVersion","getCurrentRevisionId","changeRootAttribute","_touchedMarkers","getNodeByPath","isEnabled","getUser","rootName","_fixRange","bind","affectsData","revisionHistoryLicenseKeyDomainLimit","split","createPositionFromPath","map","deletion","getAttributes","graveyardPosition","RevisionsRepository","getRevisionDocumentData","clone","_getVidAttributeName","_loadState","_markers","778350BiFAFe","usageLimit","_isAttached","insert","editor-initial-data-replaced-with-revision-data","RevisionTracker","_pendingAction","_revisionDataBuilder","_fixPosition","_makeIdsRoot","authorsIds","getRoot","4484232NgiLsv","markers","data","from","length","end","startsWith","1774140cgZuPJ","elementEnd","_handleRootAttributeOperation","_makeModelFromViewString","stickiness","revisionHistoryLicenseKeyTrialLimit","hasContent","pluginName","_source","creatorId","childCount","isEqual","update","_authorId","getFillerOffset","_utils","remove","upcast","_touched","removeRootAttribute","_handleMergeOperation","revisionHistoryLicenseKeyExpired","name","type","_loadedStateData","requires","_transformMarkers","_bufferedUpdates","revisionHistoryLicenseKeyInvalid","ready","_makeRevision","currentRevision","getWalker","revisionHistoryLicenseKeyNotAllowed","vid","$text","getRevisions","_diffRoots","_isInit","_getBaseVids","_lastTo","_handleRootOperation","_reset","parent","_handleInsertOperation","paragraph","authors","getMovedRangeStart","_addPendingAction","_insertChild","define","afterInit","Users","locale","domConverter","rawElement","howMany","marker","getChildren","_markChanges","item","some","addRevisionData","conversion","version","init","values","_getFromVersion","sendBufferedUpdates","_getViewJson","nodeAfter","elementStart","rootsAttributes","set","insertionPosition","RevisionHistory","_idsRoots","push","config","addRoot","_createCurrentRevision","288eZdNwD","isOfficialPlugin","editor","_isPendingUpdate","newValue","updateRevisions","getData","slice","getTransformedByOperation","_clone","attachChange","revisionHistoryLicenseKeyUsageLimit","keepParagraph","_getPreviousFrom","PendingActions","stringify","insertion","toView","saveRevision","_findInsertionIndex","merge","sourcePosition","_handleMarkerOperation","creator","dataToMarker","createElement","revision:","trim","_update","tableCell","initial","path","getAttribute","NEGATIVE_INFINITY","detachRoot","find","_processRootBeforeSave","setSource","history","_removeMetaData","reverse","diffData","loadRevisionData","isReady","key","_createFromRanges","for","_licenseKeyCheckInterval","attributesAfter","setRevisionData","filter","revisionHistoryLicenseKeyEvaluationLimit","_appendChild","licenseKey","fillerOffset","createRevision","includes","trialLimit","$comment","resolve","_continueCurrentRevision","repository","_handleMoveOperation","_savedMetaData","fromEntries","getOperations","_startingRevisionId","attributesBefore","revisionHistoryLicenseKeyValid","getRevisionRootsAttributes","_handleSplitOperation","addRootAttribute","_setAttribute","isPremiumPlugin","_copyMarkers","insertions","sort","106932lCAfjb","createdAt","previousPosition","addRevision","_replaceEditorDataWithRevisionData","offset","roots","37087wTvVGc","evaluationLimit","uiElement","loadState","position","_baseRoots","outerHTML","reInit","_calculateMetaData","vid_start","domDocument","_generateTape","targetPosition","buildRevisionData","dataDowncast","createRange","finally","_lastFrom","nodes","getRange","_getState","clear","RealTimeCollaborationClient","element","_fixOperation","keys","getAncestors","domainLimit","userId","isAdd","customProperties","_bufferUpdate","createPositionAfter","render","revision","root","getChild","children","_baseRootsAttributes","htmlProcessor","_initialRevisionId","245GNFSqx","_applyOperations","add","getRootNames","_saveMetaData","PENDING_ACTION_REVISION_HISTORY","splitPosition","createPositionAt","_setConversion","getLatestVersion","deletions","string","reinsert","Empty document","_execute","_removePendingAction","model","size","_touchedRoots","expired","getIndex","revisionHistory.resumeUnsavedRevision","_handleOperation","createPositionBefore","oldRange","baseVersion","get","max","12436731CnArji","_getTypeCharForViewElement","source","document","collaboration.channelId","range","getOperation","start","adapter","getRevision","_revisionId","move","innerHTML","62482FzHbIm","fromVersion","getCustomProperties","_operations","delete","destroy","plugins","_createInitialRevision","_baseIdsRoots","documentFragment","RevisionHistoryUtils","text","$graveyard","getTime","then","offsetSize","initialData","vid_end","_cloneOperation"];return(ft=function(){return t})()}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),Nt={attributes:{"data-cke":!0}};Nt.setAttributes=It(),Nt.insert=wt().bind(null,"head"),Nt.domAPI=kt(),Nt.insertStyleElement=Ot();gt()(Tt.A,Nt);Tt.A&&Tt.A.locals&&Tt.A.locals;var xt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(xt.A,At);xt.A&&xt.A.locals&&xt.A.locals;const Rt=Mt;function Vt(){const t=["value","14ciZMRJ","listenTo","5236833UACULN","arrowdown","input","ck-revision-history-save-revision-form","stopPropagation","revisionName","arrowright","extendTemplate","44MBKXDf","220","errorText","11QaVaNQ","fieldView","label","focusTracker","2901372KuYAEy","arrowleft","ck-responsive-form","add","572345WacnVU","9633530DhmiuS","10218312wfJvfK","trim","revisionNameInputView","3pqwfXq","element","revisionNameInputValue","arrowup","render","_createRevisionNameInput","optional","9823635sOIHqX","locale","Name of the revision","1101282FjaxRT","set","reset","form","keystrokes","focus","setTemplate"];return(Vt=function(){return t})()}function Mt(t,e){const i=Vt();return(Mt=function(t,e){return i[t-=381]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(950780===parseInt(e(385))/1*(-parseInt(e(395))/2)+parseInt(e(405))/3+parseInt(e(413))/4*(-parseInt(e(424))/5)+parseInt(e(420))/6*(parseInt(e(403))/7)+parseInt(e(382))/8+-parseInt(e(392))/9+-parseInt(e(381))/10*(-parseInt(e(416))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Dt extends pt.View{[Rt(419)];[Rt(399)];[Rt(384)];constructor(e,i){const s=Rt;super(e),this[s(419)]=new t.FocusTracker,this[s(399)]=new t.KeystrokeHandler,this[s(396)](s(387),""),this[s(384)]=this[s(390)](i),this[s(401)]({tag:s(398),attributes:{class:["ck",s(408),s(422)],tabindex:"-1"},children:[this[s(384)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(389)](){const t=Rt;super[t(389)](),(0,pt.submitHandler)({view:this}),this[t(419)][t(423)](this[t(384)][t(386)]),this[t(399)][t(404)](this[t(386)]);const e=e=>e[t(409)]();this[t(399)][t(396)](t(411),e),this[t(399)][t(396)](t(421),e),this[t(399)][t(396)](t(388),e),this[t(399)][t(396)](t(406),e)}[Rt(400)](){const t=Rt;this[t(384)][t(400)]()}get[Rt(410)](){const t=Rt;return this[t(384)][t(417)][t(386)][t(402)][t(383)]()}set[Rt(410)](t){const e=Rt;this[e(384)][e(417)][e(386)][e(402)]=t[e(383)]()}[Rt(397)](){const t=Rt;this[t(384)][t(417)][t(386)][t(402)]="",this[t(384)][t(415)]=null}[Rt(390)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(393)],pt.createLabeledInputText),s=i[e(417)];s[e(412)]({attributes:{maxlength:e(414)}});let n=X(this[e(393)],e(394));return!t&&(n+=" ("+X(this[e(393)],e(391))+")"),i[e(418)]=n,s.on(e(407),(()=>{const t=e;this[t(387)]=s[t(386)][t(402)][t(383)]()})),i}}const Et=Ft;function Ct(){const t=["revisionSave","Open revision history","showRevisionViewerCallback","set","addMany","Cancel","ck-button-action","focus","1138308ttHCFz","execute","5dSpSgl","The revision name cannot be empty.","RevisionTracker","362630cRvGed","submit","isOpen","requires","add","isPremiumPlugin","editing","hide","reset","children","2jzvVSA","saveRevision","Accept","_showDialog","Save current revision","_registerMenuComponent","revisionHistory","panelView","menu","1284408NxDVat","items","role","errorText","1625603nANemo","revisionName","init","config","delegate","pluginName","19812UUXbQZ","buttonView","render","6329529KCRBKd","isReadOnly","get","Dialog","menuitem","RevisionHistoryUI","isReady","locale","show","editor","view","componentFactory","bind","menuBar:revisionHistory","232860CETeoP","Revision history","revisionHistory.requireRevisionName","plugins","isOfficialPlugin","isEnabled","_createSaveRevisionFormView","_saveRevisionFormView","revisionNameInputView"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=370]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(310232===parseInt(e(421))/1*(-parseInt(e(431))/2)+-parseInt(e(416))/3+parseInt(e(382))/4*(-parseInt(e(418))/5)+-parseInt(e(399))/6+parseInt(e(376))/7+parseInt(e(372))/8+parseInt(e(385))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class jt extends U.Plugin{static get[Et(381)](){return Et(390)}static get[Et(403)](){return!0}static get[Et(426)](){return!0}static get[Et(424)](){return[at]}[Et(406)];[Et(378)](){const t=Et,e=this[t(394)],i=e[t(402)][t(387)](t(420));e.ui[t(396)][t(425)](t(437),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(370)][n(430)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(397)](n(404)).to(i,n(391),i,n(404),e,n(386),((t,e,i)=>t&&e&&!i)),r[n(383)][n(411)]({icon:mt.IconHistory,label:X(s,n(400)),tooltip:!0}),u[n(411)]({label:X(s,n(435)),withText:!0,role:n(389)}),u[n(397)](n(404)).to(i,n(391),i,n(404),e,n(386),((t,e,i)=>t&&e&&!i)),u.on(n(417),(()=>this[n(434)]())),h[n(411)]({label:X(s,n(409)),withText:!0,role:n(389)}),h[n(397)](n(404)).to(i,n(391),e,n(386),((t,e)=>t&&!e)),h.on(n(417),(()=>{const t=n;e[t(379)][t(387)](t(437))[t(410)](),r[t(423)]=!1,e[t(427)][t(395)][t(415)]()})),c[n(430)][n(425)](u),l[n(430)][n(425)](h),a[n(374)]=n(371),a[n(373)][n(412)]([c,l]),o[n(425)](a),r})),e.ui[t(396)][t(425)](t(398),(()=>this[t(436)]()))}[Et(436)](){const t=Et,e=this[t(394)],i=e[t(392)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(383)][t(411)]({icon:mt.IconHistory,label:X(i,t(400))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(411)]({label:X(i,t(435))}),o[t(380)](t(417)).to(s),o.on(t(417),(()=>{this[t(434)]()})),r[t(430)][t(425)](o),n[t(373)][t(425)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(411)]({label:X(i,t(409))}),c[t(380)](t(417)).to(s),c.on(t(417),(()=>{const i=t;e[i(379)][i(387)](i(437))[i(410)]()})),a[t(430)][t(425)](c),n[t(373)][t(425)](a),s[t(370)][t(430)][t(425)](n),s}[Et(434)](){const t=Et,e=this[t(394)],i=e[t(392)],s=e[t(402)][t(387)](t(388)),n=e[t(402)][t(387)](t(420));function r(n){const r=t;e[r(379)][r(387)](r(401))&&""===n[r(377)]?n[r(407)][r(375)]=X(i,r(419)):(e[r(402)][r(387)](at)[r(432)]({name:n[r(377)]}),s[r(428)]())}this[t(406)]||(this[t(405)](),this[t(406)].on(t(422),(()=>r(this[t(406)])))),this[t(406)][t(429)](),s[t(393)]({id:t(408),title:X(i,t(435)),isModal:!0,content:this[t(406)],actionButtons:[{label:X(e[t(392)],t(413)),withText:!0,onExecute:()=>s[t(428)]()},{label:X(e[t(392)],t(433)),class:t(414),withText:!0,onCreate(i){const s=t;i[s(397)](s(404)).to(n,s(391),n,s(404),e,s(386),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(406)])}]})}[Et(405)](){const t=Et,e=this[t(394)],i=e[t(392)];this[t(406)]=new Dt(i,e[t(379)][t(387)](t(401))),this[t(406)][t(384)]()}}function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=222]})(t,e)}const Pt=Lt;function zt(){const t=["set","focus","Added by","5hVRjfT","Removed by","34046zVDOzJ","isSuggestion","_model","div","span","element","type","1521katHtB","ck-revision-change","8955474HOCNIC","9zLBtPE","data","name","add","author","1420068QkeCOh","ck-revision-change__label","189ViszHR","bindTemplate","setTemplate","139306rISkaK","41688SpuwYd","ck-revision-change__","3470bJLHms","changeId","ck-annotation","658248DqKLTE","12toKQHB","Suggested by"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(179118===-parseInt(e(226))/1+-parseInt(e(240))/2*(-parseInt(e(250))/3)+parseInt(e(255))/4*(-parseInt(e(238))/5)+-parseInt(e(232))/6+-parseInt(e(223))/7*(parseInt(e(227))/8)+-parseInt(e(247))/9*(-parseInt(e(229))/10)+-parseInt(e(249))/11*(-parseInt(e(233))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ht extends pt.View{[Pt(230)];[Pt(242)];constructor(t,e){const i=Pt;super(t),this[i(242)]=e,this[i(230)]=e.id;const s=this[i(224)],n=X(t,e[i(251)][i(241)]?i(234):i(253)==e[i(246)]?i(237):i(239));this[i(235)](i(246),e[i(246)]),this[i(225)]({tag:i(243),attributes:{class:[i(231),i(248),s.to(i(246),(t=>i(228)+t))],tabindex:-1},children:[{tag:i(244),children:[{tag:i(244),attributes:{class:[i(222)]},children:[{text:n}]},{text:" "+e[i(254)][i(252)]}]}]})}[Pt(236)](){const t=Pt;this[t(245)][t(236)]()}}var Ut=Zt;function Wt(){var t=["1381524SPtYXI","12705gWpmHE","5545270uDENek","1168SDnVdB","420870ielWmd","14RsmKrU","createdAt","set","toJSON","author","120210DSsWTU","52179Jxieql","type","rootName","11xlGDjt","data","10EDQBLx","5088312qsZOhH"];return(Wt=function(){return t})()}function Zt(t,e){var i=Wt();return(Zt=function(t,e){return i[t-=325]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(436319===-parseInt(e(342))/1*(parseInt(e(336))/2)+parseInt(e(341))/3+parseInt(e(331))/4+parseInt(e(329))/5*(parseInt(e(335))/6)+parseInt(e(332))/7*(parseInt(e(334))/8)+parseInt(e(330))/9+parseInt(e(333))/10*(-parseInt(e(327))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class $t extends((0,t.ObservableMixin)()){id;[Ut(340)];[Ut(325)];[Ut(328)];[Ut(326)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(340)]=e[i(340)],this[i(325)]=e[i(325)],this[i(328)]=e[i(328)]||{},this[i(326)]=e[i(326)],this[i(338)](i(337),e[i(337)])}[Ut(339)](){var t=Ut;return{id:this.id,authorId:this[t(340)].id,type:this[t(325)],data:this[t(328)],createdAt:this[t(337)]}}}function qt(){const t=["26885UQqWUA","292036MkoHtI","5813664XaPDym","_setChanges","5979250yOQPBF","6021966sMvKOA","62zwBojV","57QxobuU","266625xZGoZl","oldRevisionId","changes","add","80Inhqnf","newRevisionId","2220701DhhNpq"];return(qt=function(){return t})()}function Bt(t,e){const i=qt();return(Bt=function(t,e){return i[t-=401]})(t,e)}const Yt=Bt;!function(t){const e=Bt,i=t();for(;;)try{if(918390===parseInt(e(405))/1*(-parseInt(e(411))/2)+-parseInt(e(412))/3*(-parseInt(e(406))/4)+parseInt(e(409))/5+-parseInt(e(410))/6+-parseInt(e(404))/7+parseInt(e(407))/8+parseInt(e(413))/9*(-parseInt(e(402))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Jt{[Yt(403)];[Yt(414)];[Yt(415)];constructor(e,i){const s=Yt;this[s(403)]=e,this[s(414)]=i,this[s(415)]=new t.Collection}[Yt(408)](t){const e=Yt;for(const i of t)this[e(415)][e(401)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=197]})(t,e)}function te(){const t=["bindElementToMarker","setAttribute","length","2078174ANpdcI","deletions","_changeView","suggestion:","dataToMarker","requires","reconvertMarker","shift","isPremiumPlugin","detachRoot","attributesAfter","high","revision-viewer","removeMarker:revision-suggestion","toViewElement","createPositionFromPath","observeMarkers","startIndex","bottom","document","data-change-id","test","markerName","createAttributeElement","right","ck-suggestion-marker-split","view","backward","showStack","indexOf","isInline","revision-suggestion:","_processTape","init","first","changes","nextPosition","stop","insert","isReady","elementEnd","getChild","addRoot","editing","ck-suggestion-preview-marker","listenTo","forEach","parent","rootName","isOnRoot","isBefore","end","-new","oldRevisionId","repository","_setChanges","activeView","ck-suggestion-marker-merge","highest","low","isEnabled","hasClass","isAtStart","viewItem","ck-suggestion-marker-","changeId","_changeIdToChange","comment","compare","change:numberOfChanges","markersStart","getLaterVisibleRevision","_utils","_cleanUp","17591560PuZfRV","element:pre","unshift","insertion","revisionHistory","return","suggestion","attributes","addClass","markerNameToElements","ck-suggestion-preview-marker-","change","clear","downcastDispatcher","1007428XFYFnQ","getRevision","merge","string","then","getAttribute","revisionHistoryLabel","_makeModelFromViewString","nextSibling","isRemoveSuggestion","isRemoved","removeMarker:revision","range","catch","previousPosition","vid","_initInteractions","numberOfChanges","resolve","ck-revision-history-root-remove","createUIElement","updatePosition","isAddSuggestion","editingDowncast","revisionHistoryAttachChange","selection","unbindElementFromMarkerName","showPreviousChange","schema","change:activeView","getAttributes","getRevisionRootsAttributes","markersEnd","deletion","hasAttribute","_sortAndFilterDiffChanges","_cleanMarkers","distance","config","20HwMJNf","userId","side","addRevision","_getDiff","insertions","bind","editor","enableReadOnlyMode","refresh","isBlock","execute","offsetSize","dataDowncast","commands","mapViewToDom","ck-revision-history-root-","_markSuggestions","error","level","isSuggestion","delete","attribute:vid","modelRange","getDomRoot","softBreak","createRevision","createRangeIn","isCollapsed","toViewPosition","markerRange","remove","elementToAttribute","currentChangeNumber","ck-suggestion-marker","push","diff","mapper","getRevisionDocumentData","isAttached","RevisionHistoryUtils","getClientRects","loadRevisionData","adapter","_markMarkers","pop","destroy","POSITIVE_INFINITY","type","slice","revision-suggestion","attributesBefore","511451QiNlSI","name","restoreRevisionCallback","startsWith","diffData","domConverter","_step","_balloon","addMarker:revision-suggestion:insertion","element","_update","wrap","removeClass","toViewRange","upcast","ck-revision-history-root-add","enqueueChange","forward","authors","_fixObsoleteTags","isContent","left","markerToHighlight","mousedown","_appendChild","markers","has","getRootNames","activeChange","consume","addMarker:revision-suggestion:deletion","_markInsertions","change:activeChange","getCustomProperty","_setConversion","object","_revisions","getItems","maxOffset","change:isEnabled","isAtEnd","uiElement","top","_refreshStartEndIndex","add","writer","_getChangeFromId","ck-suggestion-marker--active","pluginName","code","6BtCOUi","isEqual","sort","_removeUnsupportedChanges","span","_joinTapes","_threeWayMerge","removeMarker","_setDistance","text","createPositionBefore","get","markerToData","_makeModelFromTape","removeAttribute","addHighlight","addMarker:revision","newRevisionId","consumable","_removeMissingPairs","revision","from","WidgetToolbarRepository","showNextChange","model","flat","isIncorrect","restoreRevision","isObject","createRange","_activeViewTarget","RevisionViewer","_getRevisionsRange","findIndex","conversion","set","getIndex","_data","data","RevisionsRepository","all","getWalker","addRevisionData","isOfficialPlugin","isAdded","nodeAfter","affectsData","isLimit","revision-comment:","_findChangeIdFromDomTarget","attachChange","endIndex","filter","target","ck-revision-history-root--active","find","locale","concat","_markMismatchedRemovedTags","done","vid_start","83511pKJidw","_getViewForChange","domEvent","map","355551lopokf","ck-editor__editable__overlay","forceDisabled","roots","getRoot","pairId","_makeTape","start","1550994nLHDzf","next","checkAttribute","plugins","isAfter","elementStart","abs","change:isReady","values","472JEJVbW","item","includes","keys","mouseover","vid_end","split","splice","for","isNavigationMode","index","revision:"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(516776===-parseInt(e(402))/1+-parseInt(e(199))/2+-parseInt(e(517))/3+-parseInt(e(311))/4*(-parseInt(e(350))/5)+-parseInt(e(452))/6*(parseInt(e(223))/7)+-parseInt(e(208))/8*(parseInt(e(513))/9)+parseInt(e(297))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(277)];[Qt(393)]=null;[Qt(295)];[Qt(482)];[Qt(225)];[Qt(289)];[Qt(409)];static get[Qt(450)](){return Qt(483)}static get[Qt(495)](){return!0}static get[Qt(231)](){return!0}static get[Qt(228)](){return[W.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(277)]=this[e(357)][e(202)][e(463)](e(491)),this[e(295)]=this[e(357)][e(202)][e(463)](e(390)),this[e(487)](e(430),null),this[e(487)](e(279),null),this[e(482)]=null,this[e(487)](e(386),null),this[e(487)](e(262),!1),this[e(487)](e(283),!0),this.on(e(441),((t,i,s)=>{const n=e;this[n(430)]=null,this[n(279)]=null,this[n(357)][n(266)][n(249)][n(308)]((t=>{const e=n;for(const i of this[e(357)][e(266)][e(249)][e(242)][e(520)])s?t[e(414)](e(518),i):t[e(305)](e(518),i)}))})),this[e(356)](e(217)).to(this,e(430),(t=>null!==t)),this[e(356)](e(383)).to(this,e(262),this,e(386),this,e(430),((t,i,s)=>t&&s?i[e(258)][e(488)](s):0)),this[e(356)](e(328)).to(this,e(262),this,e(386),((t,i)=>t?i[e(258)][e(222)]:0)),this[e(225)]=null,this[e(289)]=new Map,this[e(409)]=this[e(357)][e(202)][e(463)](pt.ContextualBalloon)}[Qt(256)](){const t=Qt,e=this[t(357)],i=new ne(e,{direction:t(250)}),s=new ne(e,{direction:t(419)});e[t(364)][t(446)](t(338),i),e[t(364)][t(446)](t(475),s),e[t(364)][t(446)](t(479),new se(e)),this.on(t(292),(()=>{const e=t;i[e(359)](),s[e(359)]()})),this[t(436)](),this[t(327)](),e[t(358)](t(235)),e[t(202)][t(428)](t(474))&&e[t(202)][t(463)](t(474))[t(519)](t(235))}async[Qt(388)](t){const e=Qt;return await this[e(295)][e(392)](t,this[e(393)]),this[e(295)][e(388)](t)}async[Qt(342)](t){const e=Qt;return await this[e(295)][e(392)](t,this[e(393)]),this[e(295)][e(342)](t)}async[Qt(291)](t,e,i=!1){const s=Qt;if(!this[s(283)])return;const n=this[s(386)],r=this[s(277)],o=s(314)==typeof t?r[s(312)](t):t,a=s(314)==typeof e?r[s(312)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(386)]&&this[s(386)][s(469)]===c&&this[s(386)][s(276)]===u)return Promise[s(329)]();this[s(262)]=!1,this[s(279)]=null,this[s(430)]=null,this[s(386)]=new Jt(c,u);const l=this[s(484)](o,a,!0)[s(516)]((t=>this[s(295)][s(392)](t,this[s(393)])));return l[s(385)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(492)](l)[s(315)]((()=>{const t=s;if(!this[t(283)])return;this[t(296)]();const e=this[t(354)](c,u);for(const i of e[t(258)])this[t(289)][t(487)](i.id,i);this[t(357)][t(476)][t(418)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(357)][s(476)][s(242)][s(429)]())i[s(232)](t);for(const t of Object[s(211)](e[s(476)])){const n=i[s(265)](t);for(const r of Object[s(211)](e[s(304)][t]))i[s(221)](r,e[s(304)][t][r],n);i[s(261)](e[s(476)][t],n,0)}})),this[t(386)][t(278)](this[t(346)](e[t(258)])),this[t(262)]=!0}))[s(324)]((t=>{const e=s;console[e(368)](t),this[e(296)](),n&&(this[e(386)]=n),this[e(262)]=!0}))}[Qt(494)](t,e){const i=Qt,s=this[i(277)][i(376)](t);return s.on(i(412),((t,i,n)=>e(i,n,s))),this[i(277)][i(353)](s),s}[Qt(296)](){const t=Qt;this[t(430)]=null,this[t(347)](),this[t(225)]&&this[t(225)][t(396)](),this[t(225)]=null,this[t(289)][t(309)](),this[t(357)][t(476)][t(418)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(357)][i(476)][i(242)][i(429)]())e[i(232)](t)}))}[Qt(346)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(357)][e(476)][e(242)][e(429)]()){const n=this[e(357)][e(266)][e(249)][e(374)](t);if(!n)continue;const r=n[e(391)]()[e(209)](0);r&&(i[e(385)](t),s[e(487)](t,r))}return i[e(454)](((t,i)=>{const n=e,r=s[n(463)](t),o=s[n(463)](i);return r.y-o.y||r.x-o.x})),(t=t[e(504)]((t=>i[e(210)](t[e(271)]))))[e(454)](((t,s)=>i[e(252)](t[e(271)])-i[e(252)](s[e(271)]))),t}[Qt(197)](t){const e=Qt,i=Array[e(473)](t[e(427)])[e(504)]((([t,i])=>t[e(405)](e(219))&&!i[e(378)])),s=Array[e(473)](this[e(357)][e(476)][e(377)](t)[e(493)]({singleCharacters:!0}));if(0!=i[e(222)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(214)](":");if(n[e(274)][e(453)](t[e(259)])&&i[e(230)](),(t[e(325)][e(453)](n[e(198)])||t[e(325)][e(203)](n[e(198)]))&&(e(300)==r?t[e(496)]={userId:o}:e(344)==r&&(t[e(321)]={userId:o})),0==i[e(222)])break}return s}[Qt(445)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(222)];s++)e(461)===t[s][e(398)]?(t[s][e(209)][e(240)]=s,t[s][e(209)][e(503)]=s):(e(204)===t[s][e(398)]?t[s][e(209)][e(240)]=s:e(263)===t[s][e(398)]&&(t[s][e(209)][e(503)]=s),i[e(487)](t[s].id,s));for(const s of i[e(207)]())e(204)===t[s][e(398)]?t[s][e(209)][e(503)]=i[e(463)](t[s][e(522)]):e(263)===t[s][e(398)]&&(t[s][e(209)][e(240)]=i[e(463)](t[s][e(522)]))}[Qt(255)](t){const e=Qt;for(let i=0;i<t[e(222)];i++){if(e(204)===t[i][e(398)])t[i][e(209)][e(240)]=i;else if(e(263)===t[i][e(398)]){t[i][e(209)][e(503)]=i;const s=t[i][e(209)][e(240)];t[s][e(522)]=t[i].id,t[i][e(522)]=t[s].id}else t[i][e(209)][e(240)]=i,t[i][e(209)][e(503)]=i,t[i][e(522)]=null;t[i][e(293)]||(t[i][e(293)]=[],t[i][e(343)]=[])}}[Qt(433)](t,e){const i=Qt,s=t[i(504)]((t=>!t[i(496)]));for(let t=0;t<e[i(222)];t++)e[t][i(496)]&&(s[t][i(496)]=e[t][i(496)])}[Qt(354)](t,e=null){const i=Qt,s=this[i(277)][i(312)](t),n=e?this[i(277)][i(312)](e):null,r=this[i(484)](s,n),o=r[r[i(222)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(222)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(211)](e[i(406)]))if(e[i(406)][t][i(502)]){const s=e[i(406)][t][i(502)];s[i(389)]?(u[i(446)](t),l[i(428)](t)&&l[i(463)](t)[i(351)]==s[i(351)]?l[i(371)](t):l[i(487)](t,s)):l[i(428)](t)?(u[i(371)](t),l[i(371)](t)):(u[i(446)](t),l[i(487)](t,s))}else u[i(446)](t)}for(const t of u){const e=l[i(428)](t)&&!l[i(463)](t)[i(389)];let s=e?r[i(222)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(406)][t]){const s=e?o[i(406)][t][i(401)]:o[i(406)][t][i(233)];c[i(304)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(476)]={};for(const e of t[i(420)])a[i(487)](e.id,e);for(const e of u){const s=t[i(406)][e]?t[i(406)][e][i(355)]:"[]",n=t[i(406)][e]?t[i(406)][e][i(224)]:"[]";t[i(476)][e]={insertions:this[i(295)][i(318)](s),deletions:this[i(295)][i(318)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(473)](s[i(476)][t][i(355)][i(427)])[i(504)]((([t])=>!t[i(405)](i(219)))));let h=0;for(const o of r){const r=this[i(197)](o[i(476)][t][i(355)]);o==s?(e=r,n=e[i(222)],e[i(269)]((t=>{t.id=h++})),this[i(255)](e)):this[i(433)](e,r);const a=e[i(504)]((t=>!t[i(496)]))[i(516)]((t=>t.id));let c=0;const l=this[i(197)](o[i(476)][t][i(224)]);l[i(269)]((t=>{t[i(321)]?t.id=n++:t.id=a[c++]})),this[i(255)](l),this[i(460)](e,i(496)),this[i(460)](l,i(321)),o==s&&this[i(394)](e,u),e=this[i(457)](e,l),this[i(445)](e),this[i(460)](e,i(321))}e=e[i(504)]((t=>!(t[i(496)]&&t[i(321)])));const d=new Map(o[i(476)][t][i(224)][i(427)]),f=new Set(u[i(211)]());for(const t of d[i(211)]())f[i(371)](t);this[i(367)](e,f),this[i(421)](e),e=this[i(471)](e),e=this[i(510)](e),e=this[i(455)](e);const{root:m,changes:p}=this[i(465)](e,a,t);c[i(476)][t]=m;const v=l[i(463)](t);if(v){const e=a[i(463)](v[i(351)]),s=new $t({author:e,type:v[i(389)]?i(446):i(381),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(299)](s),c[i(304)][t][i(335)]=s.id}c[i(258)]=c[i(258)][i(509)](p)}return c}[Qt(394)](t,e){const i=Qt;for(let s=0;s<t[i(222)];s++)for(const[n,r]of e)!r[i(378)]&&r[i(198)][i(453)](t[s][i(325)])&&t[s][i(293)][i(385)](n),r[i(274)][i(453)](t[s][i(259)])&&t[s][i(343)][i(385)](n)}[Qt(457)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(222)]||r<e[i(222)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(385)](o);else if(a[i(321)]&&o[i(496)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(458)](t,n,e,r);s=s[i(509)](o),n=a,r=c}else a[i(321)]?(r++,s[i(385)](a)):(n++,s[i(385)](o))}return s}[Qt(367)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(222)];o++){for(let r=0;r<t[o][i(293)][i(222)];r++){const a=t[o][i(293)][r];if(!e[i(428)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(400)!=c||i(300)!=u&&i(344)!=u||(s[i(299)]({type:u,name:a,userId:l}),t[o][i(293)][i(215)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(343)][i(222)];r++){const a=t[o][i(343)][r];if(!e[i(428)](a))continue;const{group:c,type:u}=n(a);if(i(400)!=c||i(300)!=u&&i(344)!=u)continue;t[o][i(343)][i(215)](r,1),r--;const l=s[i(485)]((t=>t[i(403)]==a));l>-1&&s[i(215)](l,1)}}function n(t){const e=i,s=t[e(214)](":");return{group:s[0],type:s[1],subType:s[e(222)]>=5?s[2]:null,id:s[e(222)]<5?s[2]:s[3],authorId:s[e(222)]<5?s[3]:s[4],markerCount:6==s[e(222)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(222)];i++){if(t[e(496)]&&e(300)==s[i][e(398)])return t[e(333)]=s[i],void delete t[e(496)];if(!t[e(496)]&&!t[e(321)]&&e(344)==s[i][e(398)])return void(t[e(320)]=s[i])}}}[Qt(460)](t,e){const i=Qt;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(487)](o.id,s);for(let s=0;s<t[i(222)];s++){if(i(321)==e&&t[s][i(496)]||i(496)==e&&t[s][i(321)])continue;if(i(461)==t[s][i(398)]){t[s][i(348)]=0;continue}const n=r[i(463)](t[s][i(522)]),o=r[i(463)](t[s].id);t[s][i(348)]=n-o}}[Qt(484)](t,e,i=!1){const s=Qt,n=[];let r=this[s(277)][s(488)](t),o=this[s(277)][s(488)](e);for(-1==o&&(o=this[s(277)][s(438)][s(222)],i=!1);r<o;)n[s(385)](this[s(277)][s(312)](r)),r++;return i&&n[s(385)](this[s(277)][s(312)](r)),n}[Qt(458)](t,e,i,s){const n=Qt,r=this[n(357)][n(476)][n(339)];let o=e;for(;t[o]&&t[o][n(496)];)o++;let a=s;for(;i[a]&&i[a][n(321)];)a++;u(t,e,o),u(i,s,a);const c=i[n(399)](s,a)[n(509)](t[n(399)](e,o));return c[n(454)](((t,e)=>t[n(352)]!=e[n(352)]?t[n(352)]-e[n(352)]:t[n(369)]!=e[n(369)]?t[n(369)]-e[n(369)]:t[n(348)]!=e[n(348)]?e[n(348)]-t[n(348)]:!!t[n(496)]!=!!e[n(496)]?-1==t[n(352)]||0==t[n(352)]?t[n(496)]?-1:1:t[n(496)]?1:-1:t[n(218)]-e[n(218)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(397)],c=!0;for(let n=e;n<i;n++)if(r[s(253)](t[n][s(209)])||(c=!1),t[n][s(209)][s(240)]<e&&(o=n),t[n][s(209)][s(503)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(352)]=n<=o?-1:n<a?0:1,t[n][s(218)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(348)]?t[i][s(369)]=u:(u++,t[i][s(369)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(352)]&&(t[n][s(369)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(348)]?t[e][s(369)]=u:(u--,t[e][s(369)]=u,u--)}}[Qt(421)](t){const e=Qt,i=new Map,s=this[e(357)][e(476)][e(339)];for(let n=1;n<t[e(222)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(461)==c[e(398)])continue;if(c[e(398)]!=u[e(398)])continue;if(!s[e(360)](u[e(209)])||s[e(499)](u[e(209)]))continue;if(!s[e(360)](c[e(209)])||s[e(499)](c[e(209)]))continue;if((t[n][e(496)]||t[n][e(333)])&&t[n-1][e(321)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(321)]||!t[n-1][e(496)]&&!t[n-1][e(333)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(369)]==o[e(369)],h=Math[e(205)](r[e(369)])<Math[e(205)](o[e(369)])&&0==o[e(348)];(l||h)&&(i[e(487)](o.id,r.id),t[e(215)](a,1),n--,r[e(496)]=!1)}for(let s=0;s<t[e(222)];s++)i[e(428)](t[s][e(522)])&&(t[s][e(522)]=i[e(463)](t[s][e(522)]))}[Qt(471)](t){const e=Qt,i=new Set(t[e(516)]((t=>t.id)));for(let s=0;s<t[e(222)];s++)i[e(428)](t[s][e(522)])||0==t[s][e(348)]||(t[s][e(478)]=!0);return t[e(504)]((t=>!t[e(478)]))}[Qt(510)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(222)];s++){if(i[e(428)](t[s].id)&&t[s][e(321)]&&(t[s][e(478)]=!0),t[s][e(478)])continue;if(0==t[s][e(348)])continue;if(e(204)!=t[s][e(398)])continue;if(null==t[s][e(522)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(522)];)e(204)==t[n][e(398)]?r++:e(263)==t[n][e(398)]&&r--,n++;if(0!=r)if(t[s][e(321)])t[s][e(478)]=!0;else for(;n!=s;)t[n][e(321)]&&0!=t[n][e(348)]&&(t[n][e(478)]=!0,i[e(446)](t[n][e(522)])),n--}return t[e(504)]((t=>!t[e(478)]))}[Qt(455)](t){const e=Qt,i=this[e(357)][e(476)][e(339)];for(let s=0;s<t[e(222)];s++){if(!(t[s][e(496)]||t[s][e(333)]||t[s][e(321)]||t[s][e(320)]))continue;if(0==t[s][e(348)])continue;const n=t[s][e(209)];i[e(360)](n)||i[e(499)](n)||(t[s][e(496)]&&delete t[s][e(496)],t[s][e(333)]&&delete t[s][e(333)],t[s][e(320)]&&delete t[s][e(320)],t[s][e(321)]&&(t[s][e(478)]=!0))}return t[e(504)]((t=>!t[e(478)]))}[Qt(465)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(357)][s(476)],c=a[s(339)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(222)];e++)if(s(204)===t[e][s(398)]){t[e][s(325)]=a[s(238)](n,f);const i=new Z.Element(t[e][s(209)][s(403)],t[e][s(209)][s(341)]());u[0][s(426)](i),f[s(385)](0),u[s(299)](i),t[e][s(259)]=a[s(238)](n,f)}else s(263)===t[e][s(398)]?(u[s(230)](),t[e][s(325)]=a[s(238)](n,f),f[s(395)](),f[f[s(222)]-1]++,t[e][s(259)]=a[s(238)](n,f)):(t[e][s(325)]=a[s(238)](n,f),d?d[s(489)]+=t[e][s(209)][s(490)]:d=new Z.Text(t[e][s(209)][s(490)],t[e][s(209)][s(341)]()),t[e+1]&&s(461)===t[e+1][s(398)]&&v(d,t[e+1][s(209)])||(u[0][s(426)](d),d=null),f[f[s(222)]-1]+=t[e][s(209)][s(362)],t[e][s(259)]=a[s(238)](n,f));for(let e=0;e<t[s(222)];e++){const i=t[e][s(325)],n=t[e][s(259)];for(const n of t[e][s(293)])o[s(487)](n,{start:i,end:null});m(s(320),e,i,n),m(s(333),e,i,n),m(s(321),e,i,n),m(s(496),e,i,n);for(const i of t[e][s(343)]){const t=o[s(463)](i);t?t[s(274)]=n:o[s(487)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(357)][s(476)][s(481)](e[s(198)],e[s(274)]);n[s(427)][s(487)](t,i)}return r[s(454)](((t,e)=>{const i=s,r=n[i(427)][i(463)](i(219)+t.id),o=n[i(427)][i(463)](i(219)+e.id);return r[i(198)][i(273)](o[i(198)])?-1:r[i(198)][i(203)](o[i(198)])?1:r[i(274)][i(273)](o[i(274)])?-1:r[i(274)][i(203)](o[i(274)])?1:i(446)===t[i(398)]?-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(351)]:null,d=i===t[o(222)]-1,f=h[e][0],m=c[o(480)](t[i][o(209)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(274)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(351)]!==u&&(l[e][o(274)]=n,f&&f[o(351)]===l[e][o(351)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(204)!==t[i][o(398)]||f&&f[o(351)]===u||h[e][o(299)]({userId:u,object:t[i][o(209)],change:l[e]}),o(263)===t[i][o(398)]&&f&&f[o(437)]===t[i][o(209)]&&(h[e][o(230)](),l[e]=f[o(308)])),l[e]&&d&&(l[e][o(274)]=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(209)],f=a[h(339)][h(360)](d)&&!a[h(339)][h(499)](d),m=t[h(497)]==o[h(270)]&&o[h(285)];if(f&&m)return;const p=a[h(481)](t,o),v=e[h(463)](u),g=new $t({author:v,type:h(496)==l||h(333)==l?h(446):h(381),data:{isSuggestion:h(333)==l||h(320)==l},createdAt:new Date,rootName:i});r[h(385)](g),n[h(427)][h(487)](h(219)+g.id,p)}function v(t,e){const i=s,n=t[i(341)](),r=e[i(341)]();for(const t of n){if(t[1]!==e[i(316)](t[0]))return!1;r[i(200)]()}return r[i(200)]()[i(511)]}}[Qt(436)](){const t=Qt;this[t(357)][t(486)][t(216)](t(416))[t(227)]({view:t(472)}),this[t(357)][t(486)][t(216)](t(334))[t(424)]({model:t(472),view:e=>{const i=t,s=e[i(245)][i(214)](":")[1],n=this[i(448)](s);if(!n)return null;const r=i(446)==n[i(398)]?i(300):i(344),o=[i(384),i(287)+r];return n[i(490)][i(370)]&&o[i(385)](i(287)+r+i(275)),this[i(430)]==n&&o[i(385)](i(449)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(357)][t(486)][t(216)](t(416))[t(446)]((e=>{const i=t;e.on(i(298),((t,e,s)=>{const n=i,r=e[n(286)][n(264)](0);if(!r||!r.is(n(411),n(451)))return;if(!s[n(470)][n(431)](r,{attributes:[n(512),n(213)]}))return;const o=e[n(373)][n(198)][n(497)];s[n(447)][n(221)](n(512),r[n(316)](n(512)),o),s[n(447)][n(221)](n(213),r[n(316)](n(213)),o)}),{priority:i(282)})})),this[t(357)][t(486)][t(216)](t(416))[t(446)]((e=>{const i=t;e.on(i(411),((t,e,s)=>{const n=i;if(!s[n(470)][n(431)](e[n(286)],{attributes:[n(512),n(213)]}))return;if(e[n(373)][n(378)])return;const r=e[n(373)][n(198)][n(497)];r[n(345)](n(512))||r[n(345)](n(326))||(s[n(447)][n(221)](n(512),e[n(286)][n(316)](n(512)),r),s[n(447)][n(221)](n(213),e[n(286)][n(316)](n(213)),r))}),{priority:i(282)})})),this[t(357)][t(486)][t(216)](t(416))[t(382)]({view:{name:t(456),attributes:{vid:!0}},model:{key:t(326),value:e=>e[t(316)](t(326))}}),this[t(357)][t(476)][t(339)].on(t(201),((e,[,i])=>{const s=t;[s(512),s(213),s(326)][s(210)](i)&&(e[s(302)]=!0,e[s(260)]())}),{priority:t(281)}),this[t(357)][t(486)][t(216)](t(363))[t(446)]((e=>{const i=t;e.on(i(372),((t,e,s)=>{const n=i;if(" "!=e[n(209)][n(490)]||e[n(209)][n(270)][n(440)]>1)return;if(!s[n(470)][n(431)](e[n(209)],t[n(403)]))return;const r=s[n(447)],o=s[n(387)][n(415)](e[n(323)]);r[n(413)](o,r[n(246)](n(456)))}))})),this[t(357)][t(486)][t(216)](t(363))[t(464)]({model:t(472)}),this[t(357)][t(266)][t(310)].on(t(468),function(e){const i=t,s=e[i(202)][i(463)](i(483));return(t,n,r)=>{const o=i,a=n[o(245)][o(214)](":")[1],c=s[o(448)](a);if(!c)return null;const u=o(446)==c[o(398)]?o(214):o(313);if(!r[o(470)][o(244)](n[o(380)],t[o(403)]))return;const l=n[o(380)][o(493)](),h=n[o(380)][o(198)],d=e[o(476)][o(339)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(209)];p=p||d[o(422)](e);const i=r[o(387)][o(237)](e);if(i&&i[o(435)](o(467)))return;o(263)==t[o(398)]&&d[o(360)](e)&&!d[o(499)](e)&&(e[o(319)]||h[o(442)]?f&&f[o(270)]==e||(f=e,g(t[o(325)]),v=!0):m=m||t[o(325)])}function g(t){const e=o,i=r[e(447)][e(331)](e(456),{class:e(287)+u}),a=r[e(387)][e(379)](t);c[e(490)][e(370)]&&r[e(447)][e(305)](e(287)+u+e(275),i),s[e(430)]==c&&r[e(447)][e(305)](e(449),i),r[e(447)][e(261)](a,i),r[e(387)][e(220)](i,n[e(245)])}p||v||!m||g(m)}}(this[t(357)]),{priority:t(234)}),this[t(357)][t(266)][t(310)].on(t(322),((e,i,s)=>{const n=t,r=s[n(387)][n(306)](i[n(245)]);if(r)for(const t of r)(t[n(284)](n(248))||t[n(284)](n(280)))&&(s[n(387)][n(337)](t,i[n(245)]),s[n(447)][n(381)](t))}),{priority:t(234)}),this[t(357)][t(266)][t(310)].on(t(468),((e,i,s)=>{const n=t,r=i[n(245)][n(214)](":")[1],o=this[n(448)](r);if(!o)return null;const a=n(446)==o[n(398)]?n(214):n(313);if(s[n(470)][n(244)](i[n(380)],e[n(403)]))for(const t of i[n(380)][n(439)]()){if(!t.is(n(411),n(375)))continue;const e=s[n(447)][n(331)](n(456),{class:n(287)+a}),r=s[n(387)][n(379)](this[n(357)][n(476)][n(462)](t));o[n(490)][n(370)]&&s[n(447)][n(305)](n(287)+a+n(275),e),this[n(430)]==o&&s[n(447)][n(305)](n(449),e),s[n(447)][n(261)](r,e),s[n(387)][n(220)](e,i[n(245)])}}),{priority:t(234)}),this[t(357)][t(476)][t(242)].on(t(308),(()=>{const e=t;this[e(357)][e(266)][e(249)][e(308)]((t=>{const i=e;for(const e of this[i(357)][i(476)][i(242)][i(429)]()){const s=this[i(357)][i(476)][i(242)][i(521)](e),n=this[i(357)][i(266)][i(249)][i(242)][i(521)](e);if(n){const e=s[i(316)](i(335));if(t[i(466)](i(243),n),t[i(414)](i(417),n),t[i(414)](i(330),n),t[i(414)](i(506),n),e){const s=this[i(448)](e);if(!s)return null;t[i(221)](i(243),e,n),t[i(305)](i(366)+s[i(398)],n),this[i(430)]==s&&t[i(305)](i(506),n)}}}}))})),this[t(357)][t(486)][t(216)](t(416))[t(227)]({view:t(290),model:e=>t(500)+e,converterPriority:t(281)}),this[t(357)][t(486)][t(216)](t(416))[t(227)]({view:t(303),model:e=>t(254)+e,converterPriority:t(281)}),this[t(357)][t(486)][t(216)](t(363))[t(464)]({model:t(400),view:e=>({name:t(226)+e,group:t(400)}),converterPriority:t(281)}),this[t(357)][t(486)][t(216)](t(334))[t(424)]({model:t(400),view:e=>{const i=t,s=e[i(245)][i(214)](":")[1];return i(300)!=s&&i(344)!=s?null:{classes:[i(267),i(307)+s]}}}),this[t(357)][t(266)][t(310)].on(t(432),ie(this[t(357)],t(313)),{priority:t(234)}),this[t(357)][t(266)][t(310)].on(t(410),ie(this[t(357)],t(214)),{priority:t(234)}),this[t(357)][t(266)][t(310)].on(t(236),((e,i,s)=>{const n=t,r=s[n(387)][n(306)](i[n(245)]);if(r)for(const t of r)t.is(n(443))&&(s[n(387)][n(337)](t,i[n(245)]),s[n(447)][n(381)](t))}),{priority:t(234)})}[Qt(448)](t){const e=Qt;return this[e(289)][e(463)](t)}[Qt(514)](t){const e=Qt;return this[e(225)]&&this[e(225)][e(396)](),this[e(225)]=new Ht(this[e(357)][e(508)],t),this[e(225)]}[Qt(327)](){const t=Qt;this[t(357)][t(476)][t(242)][t(336)][t(239)](t(472)),this.on(t(340),((e,i,s,n)=>{const r=t;n&&this[r(409)][r(381)](n),s&&(this[r(409)][r(446)]({view:s,stackId:r(317),position:{target:()=>{const t=r,e=this[t(357)][t(266)],i=this[t(448)](s[t(288)]);let n;if(i[t(490)][t(272)]){const s=e[t(249)][t(374)](i[t(271)]);n=Array[t(473)](s[t(391)]())}else{const i=this[t(357)][t(476)][t(427)][t(463)](t(219)+s[t(288)]);n=Array[t(473)](e[t(387)][t(306)](i[t(403)]))[t(516)]((i=>e[t(249)][t(407)][t(365)](i)))[t(516)]((e=>Array[t(473)](e[t(391)]())))[t(477)]()}return this[t(482)]&&n[t(507)]((e=>e[t(444)]-3<=this[t(482)].y&&e[t(241)]+3>=this[t(482)].y&&e[t(423)]-3<=this[t(482)].x&&e[t(247)]+3>=this[t(482)].x))||n[0]}}}),this[r(409)][r(251)](r(317)))})),this.on(t(434),((e,i,s,n)=>{const r=t;this[r(279)]=s?this[r(514)](s):null,this[r(357)][r(476)][r(308)]((()=>{const t=r,e=this[t(357)][t(266)];n&&(n[t(490)][t(272)]?e[t(249)][t(308)]((i=>{const s=t;i[s(414)](s(506),e[s(249)][s(242)][s(521)](n[s(271)]))})):e[t(229)](t(219)+n.id)),s&&(s[t(490)][t(272)]?e[t(249)][t(308)]((i=>{const n=t;i[n(305)](n(506),e[n(249)][n(242)][n(521)](s[n(271)]))})):e[t(229)](t(219)+s.id))}))})),this[t(268)](this[t(357)][t(266)][t(249)][t(242)],t(212),((e,i)=>{const s=t;if(this[s(430)])return;const n=this[s(501)](i[s(505)]),r=this[s(289)][s(463)](n);r?(this[s(482)]={x:i[s(515)].x,y:i[s(515)].y},this[s(279)]=this[s(514)](r)):(this[s(482)]=null,this[s(279)]=null)})),this[t(268)](this[t(357)][t(266)][t(249)][t(242)],t(425),((e,i)=>{const s=t,n=this[s(501)](i[s(505)]),r=this[s(289)][s(463)](n);r?(this[s(482)]={x:i[s(515)].x,y:i[s(515)].y},r===this[s(430)]?this[s(409)][s(332)]():this[s(430)]=r):(this[s(482)]=null,this[s(430)]=null)}))}[Qt(501)](t){const e=Qt;do{const i=t[e(316)](e(243));if(i)return i;t=t[e(270)]}while(t);return null}[Qt(347)](){const t=Qt;this[t(357)][t(476)][t(308)]((e=>{const i=t;for(const t of this[i(357)][i(476)][i(427)])e[i(459)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(470)][r(244)](s[r(380)],i[r(403)]))return;const o=s[r(380)][r(493)](),a=s[r(380)][r(198)],c=t[r(476)][r(339)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(209)];h=h||c[r(422)](e);const i=n[r(387)][r(237)](e);if(i&&i[r(435)](r(467)))return;r(263)==t[r(398)]&&c[r(360)](e)&&!c[r(499)](e)&&(e[r(319)]||a[r(442)]?u&&u[r(270)]==e||(u=e,f(t[r(325)]),d=!0):l=l||t[r(325)])}function f(t){const i=r,o=n[i(387)][i(379)](t),a=n[i(447)][i(331)](i(456),{class:i(307)+e});n[i(447)][i(261)](o,a),n[i(387)][i(220)](a,s[i(245)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(202)][e(463)](ee);this[e(498)]=!1,this[e(268)](i,e(206),(()=>this[e(359)]())),this[e(268)](i,e(441),(()=>this[e(359)]()))}[Qt(361)](){const t=Qt,e=this[t(357)],i=e[t(202)][t(463)](ee),s=i[t(262)]?i[t(386)][t(469)]:null;e[t(349)][t(463)](t(301))[t(404)](s)}[Qt(359)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(357)][t(202)][t(463)](ee),r=n&&s[t(294)](n[t(469)]);this[t(283)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(408)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(202)][i(463)](ee);this[i(498)]=!1,this[i(408)]=i(419)===e?1:-1,this[i(268)](s,i(206),(()=>this[i(359)]())),this[i(268)](s,i(441),(()=>this[i(359)]())),this[i(268)](s,i(434),(()=>this[i(359)]()))}[Qt(361)](){const e=Qt,i=this[e(357)],s=i[e(202)][e(463)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(430)]=n?s[e(386)][e(258)][e(463)](r+this[e(408)]):s[e(386)][e(258)][e(257)],s[e(430)][e(490)][e(272)])o=i[e(266)][e(249)][e(374)](s[e(430)][e(271)]);else{const t=i[e(476)][e(427)][e(463)](e(219)+s[e(430)].id);o=(0,W.getMarkerDomElement)(i[e(266)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(359)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(357)][t(202)][t(463)](ee);this[t(283)]=!!(r&&n&&s)&&(!e||(1===this[t(408)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=403]})(t,e)}function ce(){const t=["isForwardNavigationEnabled","isBackwardNavigationEnabled","Show next change","execute","Loading...","bind","isNavigationMode","166619ZGMvbt","694718jKwEIx","div","ck-revision-history-ui__changes-navigation__wrapper","ck-hidden","ck-revision-history-ui","isReady","set","Total","300ZHMuxU","isEnabled","fire","8880228NnNXJP","3cjHxbd","No changes","bindTemplate","EDIT_X_OF_Y_REVISIONS","5289992cfVTzM","backward","currentChangeNumber","span","setTemplate","forward","NUMBER_OF_CHANGES","Show previous change","ck-revision-history-ui__changes-navigation__navigation","numberOfChanges","_statusText","ck-revision-history-ui__changes-navigation__label","X_OF_Y_CHANGES","2076368TgdZIm","ck-revision-history-ui__changes-navigation","_isStatusLabelVisible","113570PxJDfd","14194881cNOyGf"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(867224===parseInt(e(440))/1+-parseInt(e(441))/2*(-parseInt(e(411))/3)+parseInt(e(428))/4+-parseInt(e(431))/5*(parseInt(e(407))/6)+-parseInt(e(410))/7+parseInt(e(415))/8+parseInt(e(432))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(413)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(405)](e(439),!1),this[e(405)](e(404),!1),this[e(405)](e(417),0),this[e(405)](e(424),0),this[e(405)](e(433),!1),this[e(405)](e(434),!1),this[e(438)](e(430)).to(this,e(404),this,e(424),((t,e)=>t&&e>0)),this[e(438)](e(425)).to(this,e(404),this,e(417),this,e(424),this,e(439),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(437));if(!n)return X(t,o(412));const a=X(t,o(421),n);return r?X(t,o(427),[s+1,n]):a})),s[e(405)]({label:X(t,e(422)),tooltip:!0,icon:mt.IconChevronUp}),n[e(405)]({label:X(t,e(435)),tooltip:!0,icon:mt.IconChevronDown}),s[e(438)](e(408)).to(this,e(434)),n[e(438)](e(408)).to(this,e(433)),s.on(e(436),(()=>this[e(409)](e(436),e(416)))),n.on(e(436),(()=>this[e(409)](e(436),e(420)))),this[e(419)]({tag:e(442),attributes:{class:["ck",e(403),e(429)]},children:[{tag:e(418),attributes:{class:[e(443)]},children:[{tag:e(418),attributes:{class:[e(426),i.if(e(430),e(444),(t=>!t))]},children:[{text:i.to(e(439),(i=>i?X(t,e(414))+": ":X(t,e(406))+": "))}]},{text:i.to(e(425))}]},new pt.ToolbarSeparatorView,{tag:e(442),attributes:{class:[e(423)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=me();return(fe=function(t,e){return i[t-=412]})(t,e)}function me(){const t=["1012740JAkaiY","roots","isPremiumPlugin","28UPHJGl","addClass","276390YefyZi","ck-editor__editable__loading-overlay","2348265KtMWTu","4116640JFOBFp","change","document","pluginName","hide","view","380276vjsIWM","RevisionViewerLoadingOverlay","editor","2805270NJdEjs","removeClass","isOfficialPlugin","show","editing","1183914INyYLv"];return(me=function(){return t})()}!function(t){const e=fe,i=t();for(;;)try{if(511459===-parseInt(e(415))/1+parseInt(e(424))/2+-parseInt(e(427))/3+-parseInt(e(433))/4+-parseInt(e(417))/5+parseInt(e(432))/6+parseInt(e(413))/7*(parseInt(e(418))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=de(416);class ve extends U.Plugin{static get[de(421)](){return de(425)}static get[de(429)](){return!0}static get[de(412)](){return!0}[de(430)](){const t=de,e=this[t(426)][t(431)][t(423)];e[t(419)]((i=>{const s=t;for(const t of e[s(420)][s(434)])i[s(414)](pe,t)}))}[de(422)](){const t=de,e=this[t(426)][t(431)][t(423)];e[t(419)]((i=>{const s=t;for(const t of e[s(420)][s(434)])i[s(428)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=486]})(t,e)}function ke(){const t=["isBackwardNavigationEnabled","bind","hide","pluginName","isPremiumPlugin","show","4Vwaspm","873QMaeHS","currentChangeNumber","changesNavigation","832674OskIcZ","execute","exitToEditing","editor","set","add","isReady","5usHuCL","isNavigationMode","restoreRevision","Restore this revision","plugins","6806184ymvfln","isEnabled","revisionHistory","showPreviousChange","closeRevisionViewerCallback","isForwardNavigationEnabled","18161yVuQuO","componentFactory","RevisionViewerUI","609099tvZlHq","forward","get","12280yyPgOe","listenTo","showNextChange","change:isReady","config","isOfficialPlugin","Back to editing","init","850768rNvuVG","numberOfChanges","ck-revision-history-ui__back-to-editing","commands","83656nUGSmx","963452NIXwmt","requires"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(524260===parseInt(e(515))/1+-parseInt(e(523))/2*(parseInt(e(499))/3)+-parseInt(e(510))/4+parseInt(e(534))/5*(parseInt(e(527))/6)+-parseInt(e(490))/7+parseInt(e(514))/8*(-parseInt(e(524))/9)+parseInt(e(502))/10*(parseInt(e(496))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(520)](){return ge(498)}static get[ge(507)](){return!0}static get[ge(521)](){return!0}static get[ge(516)](){return[ee,ve]}[ge(509)](){const t=ge,e=this[t(530)],i=e[t(489)][t(501)](ee),s=e[t(489)][t(501)](ve);e.ui[t(497)][t(532)](t(529),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(531)]({label:X(i,s(508)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(512)}),this[s(503)](n,s(528),(()=>{const t=s;e[t(506)][t(501)](t(492))[t(494)]()})),n})),e.ui[t(497)][t(532)](t(487),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(531)]({label:X(i,s(488)),withText:!0,tooltip:!0}),n[s(518)](s(491)).to(e[s(513)][s(501)](s(487))),this[s(503)](n,s(528),(()=>e[s(528)](s(487)))),n})),e.ui[t(497)][t(532)](t(526),(s=>{const n=t,r=new ue(s),o=e[n(513)][n(501)](n(493)),a=e[n(513)][n(501)](n(504));return r[n(518)](n(517)).to(o,n(491)),r[n(518)](n(495)).to(a,n(491)),r[n(518)](n(533),n(525),n(511),n(486)).to(i),this[n(503)](r,n(528),((t,i)=>{const s=n;e[s(528)](s(500)===i?s(504):s(493))})),r})),s[t(522)](),i.on(t(505),((e,i,n)=>{const r=t;n?s[r(519)]():s[r(522)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Oe;function Se(){const t=["Revision name","clientWidth","_resizeObserver","_tooltipString","extendTemplate","197489qrTUbn","261008VjcOxT","bindTemplate","listenTo","set","ck-revision-history-sidebar__revision-name","_updateTooltipText","4BeULKZ","span","184683iYjvlq","value","render","ck-tooltip_multi-line","Enter the revision name","scrollWidth","input","element","fieldView","6406220DoZzGU","48811dnQahS","1484615ZLctvN","placeholder","destroy","54ZNmwZv","180yowOmE","1220184BghFNK"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=424]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(153186===-parseInt(e(429))/1+parseInt(e(436))/2*(parseInt(e(438))/3)+-parseInt(e(454))/4+parseInt(e(449))/5+parseInt(e(453))/6*(-parseInt(e(448))/7)+-parseInt(e(430))/8*(parseInt(e(452))/9)+parseInt(e(447))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(426)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(431)];this[i(433)]({label:X(t,i(424)),_tooltipString:""}),this[i(446)][i(450)]=X(t,i(442)),this[i(428)]({tag:i(437),attributes:{class:[i(434)],"data-cke-tooltip-text":s.to(i(427)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(441)}})}[Ie(440)](){const e=Ie;super[e(440)](),this[e(426)]=new t.ResizeObserver(this[e(446)][e(445)],(()=>this[e(435)]())),this[e(432)](this[e(446)],e(444),(()=>this[e(435)]()))}[Ie(451)](){const t=Ie;super[t(451)](),this[t(426)]&&this[t(426)][t(451)]()}[Ie(435)](){const t=Ie,e=this[t(446)][t(445)];this[t(427)]=e[t(443)]>e[t(425)]&&e[t(439)]||""}}var Ne=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=It(),xe.insert=wt().bind(null,"head"),xe.domAPI=kt(),xe.insertStyleElement=Ot();gt()(Ne.A,xe);Ne.A&&Ne.A.locals&&Ne.A.locals;function Ae(){const t=["12105801gaLAzc","Revision creator","set","5042820zAcvfS","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name","5162725cNjfYH","467230lzNOHj","2RNOLtN","6IGdflc","0 0 11 10","span","setTemplate","ck-revision-history-sidebar__revision-author_creator","4912530ytJSnH","1036590PNdLoc","Revision author","6665656bMOrrQ","push","name"];return(Ae=function(){return t})()}function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=148]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(695044===-parseInt(e(155))/1*(parseInt(e(154))/2)+parseInt(e(162))/3+parseInt(e(150))/4+-parseInt(e(153))/5*(-parseInt(e(156))/6)+parseInt(e(161))/7+-parseInt(e(164))/8+-parseInt(e(167))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(149)]({content:mt.IconUser,viewBox:s(157)});const r=["ck",s(151)];i&&r[s(165)](s(160));const o=[{tag:s(158),attributes:{class:["ck",s(152)],title:X(t,s(i?148:163))},children:[n,e[s(166)]]}];this[s(159)]({tag:"li",attributes:{class:r},children:o})}}function Me(){var t=["1026TqgdoV","toLocaleTimeString","10peDCpH","4543792EYymph","27336990JUkmdA","numeric","6XTsUcP","long","505821YvwyUh","274460SdkvwO","6077830IkRAKe","4963560zjhbTd","33312FNfDDQ","toLocaleDateString"];return(Me=function(){return t})()}function De(t,e){var i=Me();return(De=function(t,e){return i[t-=192]})(t,e)}!function(t){for(var e=De,i=t();;)try{if(901730===parseInt(e(194))/1+parseInt(e(201))/2*(-parseInt(e(193))/3)+parseInt(e(202))/4+parseInt(e(195))/5*(-parseInt(e(205))/6)+-parseInt(e(196))/7+-parseInt(e(197))/8*(parseInt(e(199))/9)+parseInt(e(203))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=151]})(t,e)}function je(){const t=["execute","1320054hIjNjR","model","bind","isOpen","map","menu","name","2888zrnpKl","366390KnrDAu","12JChCOI","stopPropagation","261xYMwbD","_action","set","Name this revision","Restore this revision","buttonView","bindTemplate","menuitem","40840xyXPgB","change:isActionsDropdownOpen","20PFYyKv","6316332kQcnyJ","listenTo","extendTemplate","panelPosition","1713151FoVhUF","items","49FHwVjf","isReady","button","isVisible","first","children","ck-on","782622ViyQij","isActionsDropdownOpen","Show more items","class","isEnabled","ck-revision-history-sidebar__revision__actions","function","listView","locale","action","source","Compare against selected","find","add","7DmeIxc"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(172631===-parseInt(e(170))/1*(-parseInt(e(200))/2)+-parseInt(e(177))/3+-parseInt(e(151))/4*(-parseInt(e(201))/5)+-parseInt(e(193))/6*(parseInt(e(191))/7)+parseInt(e(161))/8*(parseInt(e(153))/9)+-parseInt(e(163))/10*(parseInt(e(168))/11)+parseInt(e(164))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=He;function He(t,e){const i=Ue();return(He=function(t,e){return i[t-=177]})(t,e)}function Ue(){const t=["uiLanguage","deselect","450558nQhcEB","74nYdXrE","value","220","2690TYOiNe","isReady","ck-revision-history-sidebar__revision-wrapper","isEnabled","1072407ByRemV","1676792INKFzm",".ck-thread__remove-confirm","name","fieldView","_requireRevisionName","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_highlighted","map","bindTemplate","set","setName","revisionActionsView","9UkKBTh","fire","extendTemplate","filter","9746ExBsqj","unshift","_createdAtFormatted","isSelected","from","element","ck-disabled","closest","136716sTizPs","revisionNameView","creator","ck-revision-history-sidebar__revision__controls-wrapper","render","isConfirm","listenTo","createdAt","isActionsDropdownOpen","select","ck-reset","1235510VtMCzk","unhighlight","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__actions_dropdown_open","setTemplate","ck-revision-history-sidebar__revision-authors","1902mSwWqy","_revision","srcElement","div","isHighlighted","length","change","bind","highlight","span","authors","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision-wrapper_confirmation_visible"];return(Ue=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(198600===-parseInt(e(193))/1*(-parseInt(e(234))/2)+parseInt(e(189))/3*(-parseInt(e(201))/4)+parseInt(e(237))/5*(parseInt(e(218))/6)+parseInt(e(241))/7+-parseInt(e(177))/8+-parseInt(e(233))/9+-parseInt(e(212))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class We extends((0,W.ConfirmMixin)(pt.View)){id;[ze(202)];[ze(188)];[ze(219)];[ze(181)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(185)],a=function(t,e){const i=r,s=Array[i(197)](e[i(228)])[i(192)]((t=>t!=e[i(203)]));return e[i(203)]&&s[i(194)](e[i(203)]),s[i(184)]((s=>new Ve(t,s,s==e[i(203)])))}(e,i);this.id=i.id,this[r(219)]=i,this[r(181)]=n,this[r(225)](r(179),r(208)).to(i),this[r(225)](r(195)).to(this,r(208),(t=>{return i=e[r(231)],(s=t)[(n=De)(198)](i,{month:n(192),day:n(204)})+", "+s[n(200)](i,{hour:n(204),minute:n(204)});var i,s,n})),this[r(186)](r(196),!1),this[r(186)](r(222),!1),this[r(186)](r(209),!1),this[r(186)](r(238),!1),this[r(186)](r(240),!1),this[r(202)]=new Te(e,pt.createLabeledInputText),this[r(202)][r(180)][r(191)]({attributes:{maxlength:r(236)}}),this[r(202)][r(180)][r(225)](r(235)).to(this,r(179),(t=>t||this[r(195)])),this[r(202)][r(225)](r(240)).to(this,r(196),this,r(240),((t,e)=>t&&e)),this[r(188)]=s&&s[r(223)]?function(e,i){const s=Fe,n=e[s(159)],r=e[s(185)],o=(0,pt.createDropdown)(r);o[s(167)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(185)],n={"Compare against selected":X(s,i(188)),"Name this revision":X(s,i(156)),"Restore this revision":X(s,i(157))};return e[i(197)]((t=>{const e=i,s=n[t[e(199)]];return s&&s!==t[e(199)]&&(t[e(199)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(172),model:new pt.ViewModel({label:t[n(199)],class:t[n(180)],withText:!0,role:n(160),_action:t[n(186)]})};i[n(194)][n(195)](n(181)).to(e,n(178),(i=>n(183)!=typeof t[n(181)]||!i||t[n(181)](e))),o[n(190)](i)}return o}(e,i);return e[s(195)](s(178)).to(o,s(196)),o[s(158)][s(155)]({label:X(r,s(179)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(166)]({attributes:{class:[s(182),n.if(s(178),s(176))]},on:{click:n.to((t=>t[s(152)]()))}}),o.on(s(192),(t=>{const i=s;e[i(171)]&&i(183)==typeof t[i(187)][i(154)]&&t[i(187)][i(154)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(198)}),o[s(165)](e,s(162),((t,n,r)=>{const a=s;if(r)for(const t of o[a(184)][a(169)]){const s=t[a(175)][a(174)],n=i[a(189)]((t=>t[a(186)]===s[a(154)]))[a(173)];t[a(173)]=void 0===n||n(e)}})),o}(this,s):"",this[r(188)]&&this[r(188)][r(225)](r(240)).to(this),this[r(216)]({tag:r(221),attributes:{class:["ck",r(211),r(239),o.if(r(206),r(230))]},children:[{tag:r(221),attributes:{class:["ck",r(211),r(214),o.if(r(240),r(199),(t=>!t)),o.if(r(196),r(229)),o.if(r(222),r(183)),o.if(r(209),r(215))]},children:[this[r(202)],{tag:r(227),attributes:{class:["ck",r(182)]},children:[{text:o.to(r(195))}]},{tag:r(221),attributes:{class:["ck",r(204)]},children:[{tag:"ul",attributes:{class:["ck",r(217)]},children:a}]},this[r(188)]],on:{click:o.to((t=>{const e=r;t[e(220)][e(200)](e(178))||this[e(238)]&&this[e(240)]&&this[e(190)](e(210),{id:this.id})}))}}]})}[ze(205)](){const t=ze;super[t(205)]();const e=this[t(202)][t(180)][t(198)];this[t(207)](e,t(224),(()=>{const i=t;this[i(181)]&&!e[i(235)]||this[i(190)](i(187),{id:this.id,name:e[i(235)]}),e[i(235)]||(e[i(235)]=this[i(179)]?this[i(179)]:this[i(195)])}))}[ze(210)](){this[ze(196)]=!0}[ze(232)](){this[ze(196)]=!1}[ze(226)](){this[ze(222)]=!0}[ze(213)](){this[ze(222)]=!1}}class Ze extends Error{}class $e extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ws(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const Ni={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ai extends Ii{static create(t){return xi[t]||(xi[t]=new Ai(t)),xi[t]}static resetCache(){xi={},Ti={}}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=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ws(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[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"})),Ti[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=Ni[e];"era"===e?s[r]=n:_s(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,(Ps({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 Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Di={};let Ei={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{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=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{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&&Ai.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=Mi(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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[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 Hi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Di={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.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=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(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?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(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 ji(this,t,Qs,(()=>{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=io.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 ji(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(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:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Hi}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 Wi=null;class Zi extends Ii{static get utcInstance(){return null===Wi&&(Wi=new Zi(0)),Wi}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${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(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 $i extends Ii{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(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new $i(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={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]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return qi(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Hs(c,e,i)):u>Hs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(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&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ns(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 As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("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 Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(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 zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Hs(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Ws(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 $s(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`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)]=$s(n)}return i}function Bs(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}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];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"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Vs(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function Nn(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]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.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 Vn(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(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(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 Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(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$/,jn=/^(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$/,Ln=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Zi.utcInstance]}const Hn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Wn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),$n=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,Nn,xn),qn=mn(wn,Tn,Nn,xn),Bn=mn(_n,Tn,Nn,xn),Yn=mn(Tn,Nn,xn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,Nn,xn);const Xn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:qs(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({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 Je(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?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(xs(e.values,t)||xs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=$s(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...qs(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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 rr)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 hr="Invalid Interval";class dr{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 Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return qi(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Nr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Es(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 Ye("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 Nr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 jr(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 Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(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,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.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=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Hr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Wr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(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},$r={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(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 Je(t);return e}(t)}}function Kr(t,e){const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({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,Kr({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 io.invalid("invalid input");const n=qi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:qi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:qi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=qs(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=$r,g=ps(g,r,o)):u?(p=Jr,v=qr,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Hs(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Hn,$n],[Un,qn],[Wn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.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?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,$n],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Ps(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=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Hs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Hs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.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(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,os.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]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.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=Ur(this,r);return o+="T",o+=Wr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Hr(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":"")+Wr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Hr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Hr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(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")),Hr(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 lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return Ns(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return Ns(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Nr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`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?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=146]})(t,e)}function ro(){const t=["fromJSDate","day","829833cRflFW","72gfaErA","40YizrMv","toRelativeCalendar","toJSDate","minus","507765igkLjT","year","8awHGwk","week","setLocale","startOf","local","125132KJdUMW","month","hasSame","monthLong","1175920eucVuz","2357640DhdYhz","1868474PjefeQ","739250ooYAkH","weekdayLong"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(169)](t)[i(157)](e),n=io[i(159)](),r=n[i(152)]({days:1})[i(158)](i(146));let o,a;return s[i(162)](n,i(146))?(o=s[i(158)](i(146))[i(151)](),a=s[i(150)]()):s[i(162)](r,i(146))?(o=r[i(151)](),a=s[i(150)]()):s[i(162)](n,i(156))?(o=s[i(158)](i(156))[i(151)](),a=s[i(168)]||""):s[i(162)](n,i(154))?(o=s[i(158)](i(161))[i(151)](),a=s[i(163)]||""):(o=s[i(158)](i(154))[i(151)](),a=String(s[i(154)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(531482===parseInt(e(167))/1+-parseInt(e(166))/2+parseInt(e(147))/3+parseInt(e(149))/4*(parseInt(e(153))/5)+parseInt(e(165))/6+parseInt(e(160))/7*(-parseInt(e(155))/8)+-parseInt(e(148))/9*(parseInt(e(164))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["div","span","_revisionActions","uiLanguage","removeRevision","localizedPeriodName","locale","2089071xJJhlN","delegate","220256JImOpd","6113NPOcdv","256DgPHOQ","revisionViews","390eIAzcL","setName","ck-revision-history-sidebar__time-period__revisions","find","select","1890siKslY","16386cqVGOn","459SXOfVu","4sTRYiv","20054436esDSLH","ck-revision-history-sidebar__time-period","7747390XgsGbg","addRevision","createCollection","add","_requireRevisionName","startDate","remove","100683ImYrMv","ck-revision-history-sidebar__time-period__label","setTemplate"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=286]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(899541===parseInt(e(311))/1*(parseInt(e(312))/2)+-parseInt(e(308))/3*(-parseInt(e(288))/4)+parseInt(e(319))/5*(parseInt(e(286))/6)+parseInt(e(291))/7+-parseInt(e(310))/8*(parseInt(e(287))/9)+-parseInt(e(314))/10*(-parseInt(e(298))/11)+-parseInt(e(289))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(296)];[uo(313)];[uo(303)];[uo(295)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(307)][n(304)])[n(306)];this[n(296)]=e,this[n(313)]=this[n(293)](),this[n(303)]=i,this[n(295)]=s,this[n(313)][n(309)](n(318)).to(this),this[n(313)][n(309)](n(315)).to(this),this[n(300)]({tag:n(301),attributes:{class:["ck",n(290)]},children:[{tag:n(302),attributes:{class:["ck",n(299)]},children:[{text:r}]},{tag:n(301),attributes:{class:["ck",n(316)]},children:this[n(313)]}]})}[uo(292)](t){const e=uo,i=new We(this[e(307)],t,this[e(303)],this[e(295)]);this[e(313)][e(294)](i)}[uo(305)](t){const e=uo,i=this[e(313)][e(317)]((e=>e.id===t.id));this[e(313)][e(297)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["215896pleQpi","1625912njHjjv","content","span","4821276uRKaZF","ck-revision-history-sidebar__header","div","ck-reset_all","13300105ysstWK","12BatOGe","2193366thhGMS","65OzUGaA","setTemplate","63vXiKyx","ck-revision-history-sidebar__header__label","13140570TnSiew","32443jbGpwa","Revision history"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(980967===-parseInt(e(250))/1*(parseInt(e(243))/2)+-parseInt(e(244))/3+parseInt(e(252))/4*(parseInt(e(245))/5)+-parseInt(e(238))/6+parseInt(e(242))/7+-parseInt(e(235))/8*(-parseInt(e(247))/9)+-parseInt(e(249))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(236)]=mt.IconHistory,this[e(246)]({tag:e(240),attributes:{class:["ck",e(241),e(239)]},children:[i,{tag:e(237),attributes:{class:["ck",e(248)]},children:[X(t,e(251))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["isEnabled","6KYrzZq","_requireRevisionName","384gPXwjv","revisionViews","getTime","find","ck-reset","486000aLhNXl","6321528ySmIqB","removeRevision","_revisions","add","1918578RIOCyg","unhighlight","set","fire","createdAt","setTemplate","highlightRevisions","render","map","uiLanguage","_revisionActions","timePeriodViews","19490HvIiZQ","4423454acKwGD","createCollection","get","select","5602136KToyXa","highlight","locale","some","startDate","revisionSetName","selectRevision","addRevision","ck-rounded-corners","ck-revision-history-sidebar","deselect","setName","_getTimePeriodViewByStartDate","revisionSelected","407575BakLwz","ck-revision-history-sidebar__timeline","remove","delegate","ck-disabled","flat","bindTemplate","_addRevision","div","_removeRevision"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(407578===parseInt(e(230))/1+parseInt(e(248))/2+-parseInt(e(199))/3+-parseInt(e(243))/4*(parseInt(e(211))/5)+parseInt(e(241))/6*(-parseInt(e(212))/7)+parseInt(e(216))/8+parseInt(e(249))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(210)];[wo(197)];[wo(209)];[wo(242)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(236)];this[n(210)]=this[n(213)](),this[n(210)][n(233)](n(215)).to(this),this[n(210)][n(233)](n(227)).to(this),this[n(197)]=e,this[n(209)]=i,this[n(242)]=s,this.on(n(215),((t,e)=>{const i=n;this[i(202)](i(229),e)})),this.on(n(227),((t,e)=>{const i=n;this[i(202)](i(221),e)})),this[n(201)](n(240),!1),this[n(204)]({tag:n(238),attributes:{class:["ck",n(247),n(224),n(225)]},children:[new yo(t),{tag:n(238),attributes:{class:["ck",n(231),r.if(n(240),n(234),(t=>!t))]},children:this[n(210)]}]})}[wo(206)](){const t=wo;super[t(206)]();for(const e of this[t(197)])this[t(237)](e);this[t(197)].on(t(198),((e,i)=>{this[t(237)](i)})),this[t(197)].on(t(232),((e,i)=>{this[t(239)](i)}))}get[wo(244)](){const t=wo;return this[t(210)][t(207)]((e=>e[t(244)][t(207)]((t=>t))))[t(235)]()}[wo(222)](t){const e=wo;for(const i of this[e(244)])t&&t.id===i.id?i[e(215)]():i[e(226)]()}[wo(205)](t){const e=wo;for(const i of this[e(244)])t[e(219)]((({id:t})=>t===i.id))?i[e(217)]():i[e(200)]()}[wo(237)](t){const e=wo,i=oo(t[e(203)],this[e(218)][e(208)])[e(220)];let s=this[e(210)][e(214)](0);s&&s[e(220)][e(245)]()===i[e(245)]()||(s=new fo(this[e(218)],i,this[e(209)],this[e(242)]),this[e(210)][e(198)](s)),s[e(223)](t)}[wo(239)](t){const e=wo,i=oo(t[e(203)],this[e(218)][e(208)])[e(220)];this[e(228)](i)[e(250)](t)}[wo(228)](t){const e=wo;return this[e(210)][e(246)]((i=>i[e(220)][e(245)]()===t[e(245)]()))}}function Oo(){const t=["nameRevision","init","add","remove","isOfficialPlugin","select","getEarlierVisibleRevision","newRevisionId","name","18006jvRnnS","10313688IwTxZd","assign","render","revisionHistory.revisionActions","bind","ready","highlightRevisions","restoreRevision","_handleDiffChange","restoreRevisionCallback","editor","revisionSetName","appendChild","focus","isVisible","destroy","_handleRevisionSetName","listenTo","setName","defaultRevisionActions","3cPGGuW","getRevisionsInDiff","18978FfhmwN","string","action","isReady","getRevision","4277020pqUaNr","isPremiumPlugin","selectRevision","fieldView","_handleRevisionSelected","config","isEnabled","_revisionViewer","timePeriodViews","getIndex","revisionHistory","_sidebarView","change:diff","5164607NGZKKj","Restore this revision","revisionHistory.requireRevisionName","locale","revisionViews","plugins","_createRevisionActions","compare","requires","2115vMSLOg","revisionSelected","_revisions","Compare against selected","getLaterVisibleRevision","_handleEditorDataReady","element","length","_revisionsRepository","2611071iJAgQr","data","diff","repository","revisionHistory.viewerSidebarContainer","RevisionsSidebar","pluginName","compareAgainstSelected","availableRevisionActions","Name this revision","get","114ICtZmm","59822560DIdPOE","isSelected","map"];return(Oo=function(){return t})()}const To=No;function No(t,e){const i=Oo();return(No=function(t,e){return i[t-=285]})(t,e)}!function(t){const e=No,i=t();for(;;)try{if(811817===-parseInt(e(303))/1*(parseInt(e(316))/2)+-parseInt(e(337))/3*(parseInt(e(344))/4)+-parseInt(e(366))/5*(parseInt(e(339))/6)+-parseInt(e(357))/7+-parseInt(e(317))/8+parseInt(e(292))/9+parseInt(e(304))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class xo extends U.Plugin{[To(351)];[To(291)];[To(355)];static[To(336)]=[To(299),To(324),To(307)];static[To(300)]=function(){const t=To;return{compareAgainstSelected:{name:t(286),action:({plugins:e},i)=>{const s=t,n=e[s(302)](ee),r=n[s(295)];let o=n[s(294)][s(314)],a=i.id;r[s(353)](o)>r[s(353)](a)&&([o,a]=[a,o]),n[s(364)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(302)](ee);return!(n[s(295)][s(338)](n[s(294)])[s(290)]>2||i[s(305)])}},restoreRevision:{name:t(358),action:(e,{id:i})=>{const s=t;e[s(349)][s(302)](s(354))[s(326)](i)},isVisible:({plugins:e},i)=>!!e[t(302)](ee)[t(295)][t(287)](i.id)},nameRevision:{name:t(301),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(302)](ee),o=r[n(295)][n(313)](i);r[n(364)](i,o),s[n(330)](),s[n(347)][n(312)]()}}}}();static get[To(298)](){return To(297)}static get[To(311)](){return!0}static get[To(345)](){return!0}static get[To(365)](){return[ee]}constructor(t){const e=To;super(t),this[e(351)]=t[e(362)][e(302)](ee),this[e(291)]=this[e(351)][e(295)],this[e(355)]=null}[To(308)](){const t=To,e=this[t(291)][t(285)],i=this[t(363)](),s=this[t(327)][t(349)][t(302)](t(296));this[t(355)]=new So(this[t(327)][t(360)],e,i,this[t(327)][t(349)][t(302)](t(359))),this[t(355)].on(t(367),this[t(348)][t(321)](this)),this[t(355)].on(t(328),this[t(333)][t(321)](this)),this[t(355)][t(321)](t(350)).to(this[t(351)]),this[t(355)][t(352)].on(t(309),((e,i)=>{const s=t;i[s(361)].on(s(309),((t,e)=>{const i=s;e[i(321)](i(350),i(342)).to(this[i(351)])}))})),this[t(355)][t(319)](),this[t(334)](this[t(327)][t(293)],t(322),this[t(288)][t(321)](this)),this[t(334)](this[t(351)],t(356),this[t(325)][t(321)](this)),s[t(329)](this[t(355)][t(289)])}[To(332)](){const t=To;this[t(355)][t(289)][t(310)](),this[t(355)][t(332)]()}[To(288)](){const t=To,e=this[t(291)][t(343)](0);if(e){const i=this[t(291)][t(313)](e.id);this[t(351)][t(364)](e,i)}}[To(348)](t,e){const i=To,s=this[i(291)][i(343)](e.id),n=this[i(291)][i(313)](s.id);this[i(351)][i(364)](s,n)}[To(333)](t,e){const i=To;this[i(291)][i(343)](e.id)[i(335)](e[i(315)])}[To(325)](t,e,i){const s=To,n=this[s(291)][s(338)](i);n[s(290)]>2?(this[s(355)][s(323)](n),this[s(355)][s(346)](null)):(this[s(355)][s(323)]([]),this[s(355)][s(346)](n[0]))}[To(363)](){const t=To,e=this[t(327)],i=xo[t(300)],s=e[t(349)][t(302)](t(320))||xo[t(336)];if(s[t(290)])return s[t(306)]((s=>{const n=t,r=n(340)==typeof s?Object[n(318)]({},i[s]):s;return r[n(341)]=r[n(341)][n(321)](this,e),r[n(331)]&&(r[n(331)]=r[n(331)][n(321)](this,e)),r}))}}const Ao=xo,Ro=Mo;function Vo(){const t=["1400267YaepaA","9778DliRmJ","1203858EYsfAv","viewportTopOffset","rootName","editable","replace","_toolbarConfig","7716KhtOZB","_elementReplacer","get","addToolbar","destroy","detachDomRoot","130psuCkn","viewportOffset","attachDomRoot","restore","isActive","2384unBADD","focusTracker","ready","getRoot","init","config","stickyPanel","1370360IFvjsP","bind","42OHTfdO","4501kQpujG","_initToolbar","7056rTWWrl","2143365CyIBFz","fire","fillFromConfig","document","view","toolbar","element","render","name","componentFactory","setEditableElement","limiterElement","isFocused","_view","editing","editor"];return(Vo=function(){return t})()}function Mo(t,e){const i=Vo();return(Mo=function(t,e){return i[t-=271]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(671824===-parseInt(e(281))/1+-parseInt(e(280))/2*(parseInt(e(307))/3)+-parseInt(e(305))/4+-parseInt(e(311))/5+-parseInt(e(287))/6*(-parseInt(e(308))/7)+parseInt(e(298))/8*(parseInt(e(310))/9)+-parseInt(e(293))/10*(-parseInt(e(279))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends pt.EditorUI{[Ro(276)];[Ro(286)];[Ro(288)];get[Ro(315)](){return this[Ro(276)]}constructor(e,i){const s=Ro;super(e),this[s(276)]=i,this[s(286)]=(0,pt.normalizeToolbarConfig)(e[s(303)][s(289)](s(316))),this[s(288)]=new t.ElementReplacer}get[Ro(317)](){const t=Ro;return this[t(315)][t(317)]}[Ro(302)](t){const e=Ro,i=this[e(278)],s=this[e(315)],n=i[e(277)][e(315)],r=s[e(284)],o=n[e(314)][e(301)]();r[e(271)]=o[e(283)],s[e(318)]();const a=r[e(317)];this[e(273)](r[e(271)],a),s[e(284)][e(306)](e(275)).to(this[e(299)]),n[e(295)](a),this[e(288)][e(285)](t,this[e(317)]),this[e(309)](),this[e(312)](e(300))}[Ro(291)](){const t=Ro;super[t(291)]();const e=this[t(315)],i=this[t(278)][t(277)][t(315)];this[t(288)][t(296)](),i[t(292)](e[t(284)][t(271)]),e[t(291)]()}[Ro(309)](){const t=Ro,e=this[t(315)];e[t(304)][t(306)](t(297)).to(this[t(299)],t(275)),e[t(304)][t(274)]=e[t(317)],e[t(304)][t(306)](t(282)).to(this,t(294),(({top:t})=>t)),e[t(316)][t(313)](this[t(286)],this[t(272)]),this[t(290)](e[t(316)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;function Fo(t,e){var i=jo();return(Fo=function(t,e){return i[t-=252]})(t,e)}function jo(){var t=["22FPVFcK","2hRFMtd","toolbar","6338076KPPzpR","render","editable","7503350yuFUfI","717407XqigKy","2479778mnUxNP","9HizRIS","shouldToolbarGroupWhenFull","3xcAMhX","top","main","1980584KtmFnM","384762uyPMHm","_editable","35nWRVSK","stickyPanel","add","content","2497240ImCpnI"];return(jo=function(){return t})()}var Lo=Fo;!function(t){for(var e=Fo,i=t();;)try{if(376608===parseInt(e(252))/1*(-parseInt(e(268))/2)+parseInt(e(256))/3*(-parseInt(e(259))/4)+parseInt(e(262))/5*(parseInt(e(260))/6)+-parseInt(e(253))/7+-parseInt(e(266))/8+parseInt(e(254))/9*(parseInt(e(273))/10)+-parseInt(e(267))/11*(-parseInt(e(270))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Lo(261)];[Lo(263)];[Lo(269)];get[Lo(272)](){return this[Lo(261)]}constructor(t,e,i={}){var s=Lo;super(t),this[s(263)]=new pt.StickyPanelView(t),this[s(269)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(255)]}),this[s(261)]=new pt.InlineEditableUIView(t,e)}[Lo(271)](){var t=Lo;super[t(271)](),this[t(263)][t(265)][t(264)](this[t(269)]),this[t(257)][t(264)](this[t(263)]),this[t(258)][t(264)](this[t(272)])}}function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=342]})(t,e)}const Ho=zo;function Uo(){const t=["24fpVrIK","529040zhtCzU","config","723702afwxRi","initialData","_ui","38885czAVfI","view","fire","202323fEtCUu","document","155056FMyQYn","createRoot","destroy","2076LJuwZs","509049EMlTRa","editing","data","updateSourceElement","locale","sourceElement","init","create","2244907EDQIVj","model","initPlugins","5OiqwOv","get","12YPswCv","2LdMHua","ready"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(239749===parseInt(e(367))/1*(parseInt(e(354))/2)+-parseInt(e(365))/3*(parseInt(e(353))/4)+-parseInt(e(351))/5*(parseInt(e(359))/6)+-parseInt(e(348))/7+-parseInt(e(356))/8*(-parseInt(e(371))/9)+-parseInt(e(357))/10+parseInt(e(362))/11*(parseInt(e(370))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Wo extends((0,U.ElementApiMixin)(U.Editor)){[Ho(361)];get ui(){return this[Ho(361)]}constructor(t,e){const i=Ho;super(e),this[i(345)]=t,this[i(349)][i(366)][i(368)]();const s=new Po(this[i(344)],this[i(372)][i(363)],{shouldToolbarGroupWhenFull:!0});this[i(361)]=new Do(this,s)}[Ho(369)](){const t=Ho;return this[t(343)](),this.ui[t(369)](),super[t(369)]()}static async[Ho(347)](t,e){const i=Ho,s=new this(t,e);return await s[i(350)](),await s.ui[i(346)](t),await s[i(342)][i(346)](s[i(358)][i(352)](i(360))||""),s[i(364)](i(355)),s}}const Zo=Yo;function $o(){const t=["config","name","RevisionsRepository","refreshVisibility","document","repository","destroy","indexOf","hide","from","_closeRevisionViewer","_restoreRevision","style","join","_viewerEditor","_getRevisionViewerEditorConfig","map","isReady","897869kQhqtG","addRevisionData","RevisionHistoryUtils","createdAt","DocumentOutlineUI","getAttributeKeys","commands","model","isRevisionViewerOpen","editor","long","define","toLocaleTimeString","getRevisionDocumentData","rootName","data","toVersion","get","revisionHistory.closeRevisionViewerCallback","getRevision","revisionHistory.restoreRevisionCallback","isEnabled","_cleanUp","lazyRoots","disableReadOnlyMode","loadRevisionData","changesNavigation","RevisionViewerIntegration","keys","numeric","parse","plugins","none","12755060umHBwH","view","addRoot","_enhanceShowRevisionViewerCallback","element","revisionHistory.viewerEditorElement","getRoot","fromCharCode","revisionHistory.showRevisionViewerCallback","create","isReadOnly","19890erGxVB","remove","catch","uiLanguage","setSelection","update","removeSelectionAttribute","_recalculatePageBreaks","12GnRIGk","isOfficialPlugin","692340MRnniH","restoreRevision","markers","revisionHistory.requireRevisionName","adapter","exitToEditing","enqueueChange","revisionHistory","revisionHistory.editorContainer","bind","PaginationLookup","1096KaWvMx","detachRoot","getMarkersGroup","getUser","220585FrDAJZ","fromVersion","Users","isAttached","locale","_showRevisionViewer","display","change","RevisionHistoryUI","isOpen","creator","_enhanceCloseRevisionViewerCallback","save","then","push","revision-history-missing-configuration","has","isAnonymous","init","toLocaleDateString","RevisionViewer","set","_update","error","removeMarker","refreshPositioning","result","toJSON","RevisionTracker","DocumentOutline","createRangeIn","addUser","block","closeRevisionViewerCallback","roots","20LpPzHi","setAttribute","pluginName","getRevisions","users","RestrictedEditingMode","RevisionHistory","requires","Dialog","removeAttribute","translations","selection","restrictedEditingException","Annotations","Autosave","isPremiumPlugin","634944MDlfri","end","saveRevision","$graveyard","revisionHistory.viewerContainer","includes","Restored","enableReadOnlyMode","showRevisionViewerCallback","revision-history-viewer-opened","getRevisionRootsAttributes","insert","toolbar","115987aDtFft"];return($o=function(){return t})()}!function(t){const e=Yo,i=t();for(;;)try{if(178188===parseInt(e(241))/1+parseInt(e(314))/2+parseInt(e(228))/3+parseInt(e(212))/4*(parseInt(e(329))/5)+-parseInt(e(312))/6*(-parseInt(e(260))/7)+-parseInt(e(325))/8*(-parseInt(e(304))/9)+-parseInt(e(293))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const qo=[Zo(185),Zo(217)];class Bo extends U.Plugin{[Zo(203)];static get[Zo(214)](){return Zo(287)}static get[Zo(313)](){return!0}static get[Zo(227)](){return!0}constructor(t){const e=Zo;function i(t){const e=Yo;return t[e(258)]((t=>String[e(300)](t)))[e(255)]("")}super(t),this[e(203)]=e(229),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])})}}function Yo(t,e){const i=$o();return(Yo=function(t,e){return i[t-=181]})(t,e)}class Jo extends U.Plugin{[Zo(256)];static get[Zo(214)](){return Zo(218)}static get[Zo(313)](){return!0}static get[Zo(227)](){return!0}static get[Zo(219)](){return[at,jt]}constructor(e){const i=Zo;if(super(e),!this[i(269)][i(242)][i(277)](i(321)))throw new t.CKEditorError(i(192),this);this[i(256)]=null,this[i(198)](i(268),!1),this[i(269)][i(242)][i(271)](i(301),(t=>this[i(182)]({...t,translations:this[i(269)][i(181)][i(222)]}))),this[i(269)][i(242)][i(271)](i(278),(t=>this[i(252)](t))),this[i(269)][i(242)][i(271)](i(280),(t=>this[i(253)](t))),this[i(269)][i(242)][i(271)](i(317),!1),this[i(296)](),this[i(188)]()}set[Zo(318)](t){const e=Zo;this[e(269)][e(291)][e(277)](e(205))[e(318)]=t}get[Zo(318)](){const t=Zo;return this[t(269)][t(291)][t(277)](t(205))[t(318)]}[Zo(261)](t){const e=Zo;return this[e(269)][e(291)][e(277)](e(205))[e(261)](t)}[Zo(279)](t){const e=Zo;return this[e(269)][e(291)][e(277)](e(244))[e(279)](t)}[Zo(215)](t){const e=Zo;return this[e(269)][e(291)][e(277)](e(244))[e(215)](t||{toJSON:!1})}[Zo(257)](){const e=Zo,i=this[e(269)],s=(0,W.sanitizeEditorConfig)(i,qo),n=i[e(291)][e(277)](e(205)),r=i[e(291)][e(277)](e(331))[e(216)];return s[e(240)]=[e(319),e(315),e(286)],delete s[e(283)],s[e(291)][e(191)](Bo,ee,be,class extends U.Plugin{static get[e(219)](){return[ee,e(331)]}[e(195)](){const s=e,o=this[s(269)][s(291)][s(277)](s(331));for(const t of r)t[s(194)]||o[s(328)](t.id)||o[s(208)](t);const a=n[s(247)][s(215)]();let c=null;const u=this[s(269)][s(291)][s(277)](s(197));u[s(318)]=n[s(318)],u[s(323)](s(281)).to(n),this[s(269)][s(266)][s(277)](s(315))[s(323)](s(281)).to(i,s(303),(t=>!t));for(const e of a){const i=null===e[s(187)];if(i&&e[s(276)]===e[s(330)])continue;const r=e[s(204)]();u[s(261)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(199)](r,o);else if(!o){const e=a[u(204)]();e.id=(0,t.uid)(),n[u(230)](e,a[u(276)])[u(190)]((t=>{c=t}))}}else e[u(199)](r,o)}))}}},Ao),s}[Zo(296)](){const t=Zo,e=this[t(269)][t(242)][t(277)](t(321))[t(236)];this[t(269)][t(242)][t(198)](t(301),(async()=>{const i=t;this[i(269)][i(235)](i(237));const s=this[i(269)][i(291)][i(277)](i(205));if(this[i(269)][i(291)][i(193)](i(226))){const t=this[i(269)][i(291)][i(277)](i(226));await t[i(189)]()}else await s[i(309)]();if(this[i(269)][i(291)][i(193)](i(324))&&this[i(269)][i(291)][i(277)](i(324))[i(311)](),this[i(269)][i(291)][i(193)](i(220))){const t=this[i(269)][i(291)][i(277)](i(220));t[i(186)]&&t[i(250)]()}const n=this[i(257)]();return e(n)[i(190)]((t=>{const e=i;return this[e(256)]=t,this[e(269)][e(291)][e(193)](e(225))&&this[e(269)][e(291)][e(277)](e(225))[e(245)](),this[e(269)][e(291)][e(193)](e(206))&&(this[e(269)][e(291)][e(277)](e(264))[e(294)][e(297)][e(254)][e(183)]=e(292)),t}))[i(306)]((t=>(console[i(200)](t),this[i(269)][i(284)](i(237)),null)))}))}[Zo(188)](){const t=Zo,e=this[t(269)][t(242)][t(277)](t(321))[t(210)];this[t(269)][t(242)][t(198)](t(278),(()=>(this[t(269)][t(291)][t(193)](t(324))&&this[t(269)][t(291)][t(277)](t(324))[t(311)](),this[t(269)][t(291)][t(193)](t(206))&&(this[t(269)][t(291)][t(277)](t(264))[t(294)][t(297)][t(254)][t(183)]=""),this[t(256)][t(291)][t(277)](t(197))[t(282)](),e(this[t(256)])[t(190)]((()=>{const e=t;if(this[e(269)][e(284)](e(237)),this[e(256)]=null,this[e(269)][e(291)][e(193)](e(225))){const t=this[e(269)][e(291)][e(277)](e(225));t[e(245)](),t[e(202)]()}})))))}[Zo(182)](t){const e=Zo,i=this[e(269)][e(242)][e(277)](e(322)),s=this[e(269)][e(242)][e(277)](e(232)),n=this[e(269)][e(242)][e(277)](e(298));return Wo[e(302)](n,t)[e(190)]((t=>(s[e(254)][e(183)]=e(209),i[e(254)][e(183)]=e(292),this[e(268)]=!0,t)))}[Zo(252)](t){const e=Zo,i=this[e(269)][e(242)][e(277)](e(322));return this[e(269)][e(242)][e(277)](e(232))[e(254)][e(183)]=e(292),i[e(254)][e(183)]="",this[e(268)]=!1,t[e(248)]()}async[Zo(253)](t){const e=Zo,i=this[e(269)],s=this[e(256)][e(291)][e(277)](e(197)),n=i[e(291)][e(277)](e(205)),r=i[e(291)][e(277)](e(262)),o=s[e(247)][e(279)](t);let a,c,u;try{await r[e(285)](o,this[e(318)]),a=r[e(273)](o),c=r[e(238)](o)}catch(t){return void console[e(200)](t)}i[e(267)][e(184)]((t=>{const s=e;for(const e of Array[s(251)](i[s(267)][s(316)][s(327)](s(224))))t[s(201)](e)})),s[e(259)]=!1,i[e(267)][e(320)]((t=>{const s=e;t[s(308)](null),t[s(310)](i[s(267)][s(246)][s(223)][s(265)]());const n=Object[s(288)](a);for(const e of i[s(267)][s(246)][s(211)])s(231)!=e[s(274)]&&e[s(332)]()&&!n[s(233)](e[s(274)])&&t[s(326)](e);for(const e of n){let n=i[s(267)][s(246)][s(299)](e);n&&n[s(332)]()||(n=t[s(295)](e));const r=c[e],o=Object[s(288)](r),u=a[e];for(const e of n[s(265)]())o[s(233)](e)||t[s(221)](e,n);for(const i of o)t[s(213)](i,c[e][i],n);t[s(305)](t[s(207)](n)),t[s(239)](i[s(275)][s(290)](u,n),n,0)}}));const l=X(i[e(181)],e(234));return u=o[e(243)]?-1==o[e(243)][e(249)](l)?l+": "+o[e(243)]:o[e(243)]:l+": "+o[e(263)][e(196)](i[e(181)][e(307)],{month:e(270),day:e(289)})+", "+o[e(263)][e(272)](i[e(181)][e(307)],{hour:e(289),minute:e(289)}),await n[e(230)]({name:u}),s[e(259)]=!0,i[e(242)][e(277)](e(321))[e(210)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=448]})(t,e)}function Ko(){var t=["9aMIwrD","6FUcmJd","27909NYuArW","184cFMove","1435356uLPwua","718165SgTvEV","629590GITNco","1491kNIQbW","11EoOtms","1036280HaisuS","4AzjjJR","528227ZESHcN"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(164028===-parseInt(e(451))/1+parseInt(e(452))/2*(parseInt(e(456))/3)+-parseInt(e(459))/4*(-parseInt(e(454))/5)+parseInt(e(450))/6*(parseInt(e(448))/7)+-parseInt(e(458))/8*(parseInt(e(449))/9)+-parseInt(e(455))/10+parseInt(e(457))/11*(parseInt(e(453))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();