@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250423.0 → 0.0.0-nightly-20250424.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) 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/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. 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:()=>Go,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Uo,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>be,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]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(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]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function 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 L(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 j=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=315]})(t,e)}function z(){const t=["174999YjURSV","toVersion","createdAt","3082160PLZSPd","authors","name","setAttribute","4dzDVXU","2000726zvyKDd","setName","removeAttribute","fromVersion","creator","creatorId","toJSON","fire","attributes","set","2683071HeQfsB","4eUpVjr","1676225klMSIJ","authorsIds","model","diffData","3914661FLfqxa","4895082JvACoP","map","_update"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(672954===parseInt(e(319))/1*(-parseInt(e(326))/2)+parseInt(e(315))/3*(parseInt(e(338))/4)+parseInt(e(339))/5+-parseInt(e(316))/6+parseInt(e(327))/7+-parseInt(e(322))/8+parseInt(e(337))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[j(331)];[j(323)];[j(342)];[j(320)];[j(330)];[j(341)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(331)]=e[i(331)]||null,this[i(323)]=e[i(323)]||[],this[i(342)]=e[i(342)]||null,this[i(320)]=e[i(320)]||0,this[i(330)]=e[i(330)]||0,this[i(336)](i(324),e[i(324)]||""),this[i(336)](i(321),e[i(321)]||new Date),this[i(336)](i(335),e[i(335)]||{})}[j(328)](t){this[j(318)]({name:t})}[j(325)](t,e){const i=j,s=A(this[i(335)]);(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(318)]({attributes:s})}[j(329)](t){const e=j,i=A(this[e(335)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(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 L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(318)]({attributes:i})}[j(318)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(324),i(321),i(342),i(323),i(335),i(320),i(330),i(332)];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(323)]&&(n[i(340)]=n[i(323)][i(317)]((t=>t.id)),delete n[i(323)]),this[i(334)](i(318),n,e))}[j(333)](){const t=j;return{id:this.id,name:this[t(324)],creatorId:this[t(331)]?this[t(331)].id:null,authorsIds:this[t(323)][t(317)]((t=>t.id)),diffData:this[t(342)],createdAt:this[t(321)],attributes:this[t(335)],fromVersion:this[t(330)],toVersion:this[t(320)]}}}var Z=i(782),U=i(211),H=i(783);const $=B;function q(){const t=["later","href","newRevisionId","editor","201548PIaSXa","getLaterVisibleRevision","length","creatorId","plugins","_revisions","isNaN","2821388IvqwtV","authorsIds","name","Users","getRevision","diffData","push","getRevisionsIterator","getIndex","attributes","earlier","pluginName","from","requires","56385NvzhQK","toJSON","get","5888216DoTQVI","isOfficialPlugin","join","fromCharCode","afterInit","fromVersion","1490IyGelA","34013QjnMlF","3351174MQNBBR","reverse","add","createRevision","getRevisions","getUser","getEarlierVisibleRevision","3854606zBKcjk","addRevision","map","createdAt","10FCMsvQ","toVersion","57zEOtpz","data","getRevisionsInDiff","isPremiumPlugin","oldRevisionId","RevisionsRepository"];return(q=function(){return t})()}function B(t,e){const i=q();return(B=function(t,e){return i[t-=363]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(982904===-parseInt(e(375))/1+-parseInt(e(406))/2+parseInt(e(389))/3*(parseInt(e(399))/4)+parseInt(e(387))/5*(parseInt(e(376))/6)+parseInt(e(383))/7+parseInt(e(368))/8+parseInt(e(365))/9*(-parseInt(e(374))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends Z.Plugin{[$(404)];static get[$(364)](){return[U.Users]}static get[$(417)](){return $(394)}static get[$(369)](){return!0}static get[$(392)](){return!0}get[$(401)](){const t=$;return this[t(404)][t(401)]}constructor(e){const i=$;super(e),this[i(404)]=new t.Collection}[$(372)](){!async function(e){const i=k([86,107,108,71,100,72,70,111,83,98,79,105,110,117,97,76,82,54,114,88,90,101,85,121,55,67,53,57,50,113,102,119,103,120,84,48,73,109,116,122,112,99,66,74,78,56,87,65,51,68,104,49,77,115,118,106,89,52,81,75,69,80]),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(405)](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([86]);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(385)]((t=>String[e(371)](t)))[e(370)]("")}!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:1745366400;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(396)]);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)}[$(379)](t){const e=$,i=this[e(398)][e(403)][e(367)](e(409));return new W({id:t.id,name:t[e(408)],creator:t[e(402)]?i[e(381)](t[e(402)]):null,diffData:t[e(411)]||t[e(390)],authors:t[e(407)][e(385)]((t=>i[e(381)](t))),createdAt:new Date(t[e(386)]),attributes:t[e(415)],fromVersion:t[e(373)],toVersion:t[e(388)]})}[$(384)](t,e=0){const i=$;this[i(404)][i(378)](t,e)}[$(410)](t){const e=$;return this[e(404)][e(367)](t)}[$(380)](t={toJSON:!1}){const e=$,i=Array[e(363)](this[e(404)]);return i[e(377)](),t[e(366)]?i[e(385)]((t=>t[e(366)]())):i}[$(414)](t){const e=$;return this[e(404)][e(414)](t)}[$(382)](t){const e=$,[,i]=this[e(413)](t,{direction:e(416)});return i}[$(400)](t){const e=$,[,i]=this[e(413)](t,{direction:e(395)});return i}[$(391)](t){const e=$,i=[];for(const s of this[e(413)](t[e(397)]))if(i[e(412)](s),s.id===t[e(393)])break;return i}*[$(413)](t,{direction:e=$(416),filter:i=()=>!0}={}){const s=$,n=s(416)===e?1:-1;let r=this[s(404)][s(367)](t),o=this[s(414)](r);for(yield r;r;){if(o+=n,r=this[s(410)](o),!r)return;i(r)&&(yield r)}}}function G(){const t=["_setCustomProperty","220486IclONC","246951kYEeaS","_appendChild","innerHTML","910rQtNDX","pluginName","view","get","_removeRevisionMarkers","div","append","isOfficialPlugin","toData","_getViewFromDiffObj","144aLHRTW","domDocument","type","default","1170723XqWEXo","useFillerType","viewChildrenToDom","childNodes","attachChange","loadRevisionData","insertions","attributesAfter","toModel","domChildrenToView","_typeCharToViewClass","config","attributes","constructor","createElement","data","length","customProperties","118694nRLuYw","getRevisionDocumentData","RevisionHistoryUtils","9lsAWXo","forEach","map","42bMFNKP","diffData","editor","fillerOffset","htmlProcessor","filter","_getTypeCharForViewElement","children","document","editing","startsWith","525956mgBCml","isPremiumPlugin","revision-start","string","parse","getRevisionRootsAttributes","getRevision","collaboration.channelId","_makeModelFromViewString","data-revision-","58751YpDkDM","processor","from","_viewClassToTypeChar","isAttached","marked","name","domConverter","revision-end","render","1901340ZYQidI","getFillerOffset"];return(G=function(){return t})()}function J(t,e){const i=G();return(J=function(t,e){return i[t-=265]})(t,e)}const K=J;!function(t){const e=J,i=t();for(;;)try{if(346840===-parseInt(e(324))/1*(parseInt(e(321))/2)+-parseInt(e(303))/3+parseInt(e(338))/4+parseInt(e(282))/5+-parseInt(e(327))/6*(parseInt(e(285))/7)+parseInt(e(299))/8*(parseInt(e(286))/9)+-parseInt(e(289))/10*(-parseInt(e(272))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class X extends Z.Plugin{static get[K(290)](){return K(323)}static get[K(296)](){return!0}static get[K(339)](){return!0}[K(275)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[K(313)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[K(308)](t,e){const i=K;if(t[i(328)]||!e)return;const s=this[i(329)][i(314)][i(292)](i(269)),n=await e[i(268)]({channelId:s,revisionId:t.id});t[i(328)]=n[i(328)]}[K(322)](t){const e=K,i={};for(const s in t[e(328)]){if(t[e(328)][s][e(307)]&&!t[e(328)][s][e(307)][e(276)])continue;const n=this[e(293)](JSON[e(266)](t[e(328)][s][e(309)])),r=this[e(329)][e(336)][e(291)][e(335)],o=new H.ViewDocumentFragment(r,n[e(326)]((t=>this[e(298)](t,!1))));this[e(329)][e(318)][e(273)][e(304)](e(277)),i[s]=this[e(329)][e(318)][e(273)][e(297)](o),this[e(329)][e(318)][e(273)][e(304)](e(302))}return i}[K(267)](t){const e=K,i={};for(const s in t[e(328)])t[e(328)][s][e(307)]&&!t[e(328)][s][e(307)][e(276)]||(i[s]=t[e(328)][s][e(310)]||{});return i}[K(333)](t){const e=K;return this[e(275)][e(292)](t[e(316)])}[K(298)](t,e){const i=K,s=this[i(329)][i(336)][i(291)][i(335)];if(i(265)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(301)]||"r"==t[i(301)]?[]:t[i(334)][i(326)]((t=>this[i(298)](t,e)));const o=this[i(313)][i(292)](t[i(301)])||H.ViewElement,a=this[i(329)][i(318)][i(331)][i(279)];if(n=new o(s,t[i(278)],t[i(315)],r),"u"==t[i(301)]&&t[i(334)][0]){const r=t[i(334)][0];if(n[i(281)]=function(t){const e=i,s=t[e(317)](e(294));return s[e(288)]=r,s[e(306)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(287)](n);const e=Array[i(274)](a[i(305)](t,{bind:!1})),r=a[i(300)][i(317)](i(294));r[i(295)](...e),n=Array[i(274)](a[i(312)](r))[0]}}else if("r"==t[i(301)]&&t[i(334)][0]){const r=t[i(334)][0];if(n[i(281)]=function(t){t[i(288)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(287)](n);const e=Array[i(274)](a[i(305)](t,{bind:!1})),r=a[i(300)][i(317)](i(294));r[i(295)](...e);const o=Array[i(274)](a[i(312)](r));o[i(319)]>1?n[i(287)](o):n=o[0]}}if(t[i(320)])for(const[e,s]of t[i(320)])n[i(284)](e,s);const c=void 0===t[i(330)]?null:t[i(330)];return null!==c&&(n[i(283)]=()=>c),n}}[K(270)](t){const e=K,i=JSON[e(266)](t),s=this[e(329)][e(336)][e(291)][e(335)],n=new H.ViewDocumentFragment(s,i[e(326)]((t=>this[e(298)](t,!0))));return this[e(329)][e(318)][e(311)](n)}[K(293)](t){const e=K;return(t=t[e(332)]((t=>!t[e(278)]||e(340)!==t[e(278)]&&e(280)!==t[e(278)])))[e(325)]((t=>{const i=e;i(265)!=typeof t&&(t[i(334)]=this[i(293)](t[i(334)]),t[i(315)]=t[i(315)][i(332)]((t=>!t[0][i(337)](i(271)))))})),t}}function Q(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,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,V;const 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(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,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||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,x))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=at();return(ot=function(t,e){return i[t-=384]})(t,e)}function at(){const t=["roots","elementStart","baseVersion","htmlProcessor","getChild","position","model","_fixOperation","_addPendingAction","requires","authors","getUser","_insertChild","_getPreviousFrom","featureNotAllowed","createPositionBefore","domConverter","reverse","parent","RevisionHistory","revisionHistoryLicenseKeyExpired","name","addRootAttribute","_diffRootsAttributes","define","getRevision","_getVidAttributeName","getAttribute","insertions","PENDING_ACTION_REVISION_HISTORY","_replaceEditorDataWithRevisionData","_fixPosition","currentRevision","_touchedRoots","_pendingAction","upcast","dataDowncast","211421pKcfcF","_calculateMetaData","add","revisionHistoryLicenseKeyDomainLimit","_makeIdsRoot","filter","createElement","collaboration.channelId","offsetSize","fromVersion","_prepareViewToSave","RevisionsRepository","isAdd","_reset","_saveMetaData","_getViewJson","domainLimit","_makeModelFromViewString","_startingRevisionId","isEqual","_update","RevisionTracker","then","vid","updateRevisions","createPositionAfter","length","locale","_getTypeCharForViewElement","isEnabled","text","revisionHistoryLicenseKeyNotAllowed","_transformMarkers","source","uiElement","getRange","_execute","detachRoot","createRevision","_appendChild","_continueCurrentRevision","_handleMergeOperation","_removePendingAction","12724VecrlX","_findInsertionIndex","Users","buildRevisionData","209340KbWHxT","range","graveyardPosition","element","deletion","getRevisionDocumentData","_createCurrentRevision","evaluationLimit","_idsRoots","_setConversion","sendBufferedUpdates","revisionHistoryLicenseKeyEvaluationLimit","isOfficialPlugin","getData","stickiness","shift","_getFromVersion","addRevisionData","$text","loadRevisionData","hasContent","children","getFillerOffset","getChildren","licenseKey","_getState","_touchedMarkers","splitPosition","path","_isPendingUpdate","adapter","_source","rootsAttributes","_baseIdsRoots","conversion","nodeAfter","markers","fillerOffset","editor-initial-data-replaced-with-revision-data","sort","documentFragment","document","merge","setSource","get","attributesBefore","loadState","_handleSplitOperation","NEGATIVE_INFINITY","Empty document","_removeMetaData","_showLicenseError","map","_loadedStateData","innerHTML","from","_makeRevision","_initialRevisionId","PendingActions","outerHTML","$graveyard","getRootNames","paragraph","_createInitialRevision","some","finally","_authorId","trim","remove","string","_generateTape","_isAttached","dataToMarker","howMany","$comment","rootName","ready","elementEnd","_getBaseVids","15lxWOLM","_lastFrom","move","_baseRoots","markerToData","getIndex","_revisionId","revision:","toVersion","revisionHistoryLicenseKeyInvalid","setRevisionData","customProperties","attachChange","_handleRootAttributeOperation","_handleOperation","nodes","revision","initial","childCount","createPositionAt","getWalker","RevisionHistoryUtils","removeRootAttribute","key","_handleRootOperation","isReady","_fixRange","trialLimit","version","newValue","_bufferedUpdates","afterInit","getAncestors","max","getAttributes","render","newRange","createdAt","155320xrMyhy","affectsData","_savedMetaData","history","tableCell","domDocument","config","addRoot","_markers","changeRootAttribute","_clone","_bufferUpdate","createRange","_touched","offset","RealTimeCollaborationClient","revisionHistoryLicenseKeyValid","update","insert","keepParagraph","_createFromRanges","creator","set","isAttached","_isInit","stringify","_markChanges","_handleMarkerOperation","_licenseKeyCheckInterval","createRangeIn","vid_end","_operations","usageLimit","expired","pluginName","slice","deletions","revisionHistoryLicenseKeyUsageLimit","_baseRootsAttributes","reInit","editor","clone","data","getLatestVersion","destroy","getRoot","922068yOjMMf","plugins","getMovedRangeStart","fromEntries","reinsert","bind","item","_applyOperations","find","split","5plfjrV","userId","insertionPosition","root","saveRevision","_copyMarkers","values","marker","_startingVersion","attributesAfter","_handleMoveOperation","getRevisions","revisionHistory.resumeUnsavedRevision","includes","oldRange","type","getCurrentRevisionId","createPositionFromPath","initialData","authorsIds","_handleInsertOperation","getOperations","_revisionDataBuilder","getOperation","getNodeByPath","push","_diffRoots","sourcePosition","_cloneOperation","init","getRevisionRootsAttributes","delete","1027578iAEvat","89734Fxguza","Initial revision","startsWith","revisionHistoryLicenseKeyTrialLimit","vid_start","_processRootBeforeSave","addRevision","insertion","creatorId","24OjcZdW","keys","_utils","getCustomProperties","previousPosition","_setAttribute","_lastTo","toView","targetPosition","invalid","repository","rawElement","end","getTime","resolve","for","has","getTransformedByOperation","clear","size","_loadState","start","diffData","isPremiumPlugin"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(182236===parseInt(e(394))/1*(parseInt(e(427))/2)+parseInt(e(544))/3+parseInt(e(540))/4*(parseInt(e(623))/5)+parseInt(e(426))/6+parseInt(e(497))/7+-parseInt(e(436))/8*(parseInt(e(384))/9)+-parseInt(e(661))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends Z.Plugin{[rt(568)];[rt(689)];[rt(492)]=null;[rt(446)];[rt(574)]=null;[rt(416)];[rt(575)];[rt(601)];[rt(653)];[rt(438)];[rt(494)];[rt(537)];[rt(402)];[rt(597)];static get[rt(695)](){return rt(518)}static get[rt(556)](){return!0}static get[rt(459)](){return!0}static get[rt(469)](){return[U.Users,Y,X,Z.PendingActions]}constructor(e){const i=rt;super(e),this[i(446)]=this[i(701)][i(385)][i(588)](i(508)),this[i(438)]=this[i(701)][i(385)][i(588)](i(644)),this[i(416)]=new ut(this[i(701)]),this[i(601)]=this[i(701)][i(667)][i(588)](i(504))||i(640),this[i(653)]=new Map,this[i(597)]=null;const s=(0,t.uid)();this[i(575)]={history:this[i(701)][i(466)][i(585)][i(664)],getLatestVersion:()=>Promise[i(450)](this[i(701)][i(466)][i(585)][i(651)]),getCurrentRevisionId:()=>s},this[i(683)](i(648),!1),this[i(683)](i(526),!0),this[i(683)](i(573),!1),this[i(701)][i(667)][i(484)](i(406),!0),this[i(701)][i(578)][i(451)](i(495))[i(616)]({view:i(639)})}[rt(423)](){const t=rt;this[t(553)](),this[t(701)][t(703)].on(t(620),(()=>{const e=t,i=this[e(446)][e(485)](0),s=i&&null===i[e(682)]?i:null;if(this[e(537)]=!!s&&this[e(701)][e(667)][e(588)](e(406)),this[e(701)][e(385)][e(452)](e(676))){const t=this[e(575)][e(410)](),n=this[e(446)][e(485)](t);if(n)this[e(402)]=n[e(506)],this[e(537)]=!1;else{const t=this[e(575)][e(664)][e(692)][e(392)]((t=>!t[e(685)])),n=t?t[e(462)]:this[e(575)][e(664)][e(651)];i?(i[e(631)]<n&&i[e(517)]({toVersion:n}),this[e(537)]?(this[e(575)][e(410)]=()=>s.id,this[e(402)]=s[e(506)]):(this[e(402)]=i[e(631)],this[e(537)]=!1)):(this[e(402)]=n,this[e(537)]=!1)}}else s&&(this[e(701)][e(466)][e(585)][e(664)][e(651)]=Math[e(656)](s[e(631)],this[e(701)][e(466)][e(585)][e(664)][e(651)]),s[e(506)]===s[e(631)]?(0!==s[e(506)]&&(this[e(575)][e(410)]=()=>s.id),this[e(537)]=!1):this[e(537)]&&(this[e(575)][e(410)]=()=>s.id,this[e(402)]=s[e(506)])),this[e(537)]||(this[e(402)]=this[e(701)][e(466)][e(585)][e(651)]);this[e(416)][e(423)](this[e(575)][e(664)]),this[e(607)](this[e(402)]),this[e(550)](this[e(402)]),this[e(574)]&&this[e(554)]()})),this[t(389)](t(648)).to(this,t(573),(t=>!t)),this[t(568)]=this[t(701)][t(667)][t(588)](t(568));const e=this[t(701)];this[t(689)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(677)==r||i(632)==r||i(480)==r||i(500)==r||i(528)==r||i(555)==r||i(430)==r||i(698)==r){delete e[n],s=r,clearInterval(this[i(689)]),this[i(689)]=void 0;break}}i(632)==s&&e[i(595)](i(445)),i(480)==s&&e[i(595)](i(694)),i(500)==s&&e[i(595)](i(513)),i(528)==s&&e[i(595)](i(474),i(479)),i(555)==s&&e[i(595)](i(551)),i(430)==s&&e[i(595)](i(650)),i(698)==s&&e[i(595)](i(693))}),1e3)}async[rt(654)](){const t=rt;if(this[t(446)][t(523)]>0){const e=this[t(446)][t(485)](0),i=await this[t(549)](e),s=await this[t(424)](e);this[t(490)](i,s)}}[rt(705)](){const t=rt;super[t(705)](),this[t(689)]&&clearInterval(this[t(689)])}[rt(587)](t){this[rt(575)]=t}async[rt(678)](){const t=rt,e=await this[t(575)][t(704)]();if(e>this[t(492)][t(631)]){await this[t(456)]();const i=this[t(543)]({revision:this[t(492)],to:e});i[t(470)]=i[t(413)][t(596)]((e=>this[t(701)][t(385)][t(588)](t(542))[t(471)](e))),this[t(492)][t(517)](i)}}async[rt(398)](e={},i=null){const s=rt,n=[];await this[s(456)](),this[s(537)]=!1,i>this[s(492)][s(631)]&&(i=null),null===i&&(i=await this[s(575)][s(704)]());const r=this[s(560)](i),o=this[s(543)]({from:r,to:i});if(this[s(492)][s(631)]<i){const t=this[s(543)]({revision:this[s(492)],from:i,to:i});t[s(470)]=[],t[s(413)]=[],t.id=this[s(492)].id,this[s(492)][s(517)](t,!0),delete t[s(470)],n[s(419)](t)}e[s(435)]=this[s(701)][s(385)][s(588)](s(542)).me.id,e[s(481)]=e[s(481)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(561)](e);n[s(419)](e);const c=this[s(446)][s(628)](a);if(0!==c){const t=this[s(446)][s(485)](c-1);if(t[s(506)]!==i){const r=this[s(416)][s(557)](i,t[s(631)]),o={id:t.id,diffData:r[s(458)],authorsIds:r[s(413)],authors:r[s(413)][s(596)]((t=>this[s(701)][s(385)][s(588)](s(542))[s(471)](t))),fromVersion:i};t===this[s(492)]&&(o[s(660)]=new Date(e[s(660)][s(449)]()+10)),t[s(517)](o,!0),delete o[s(470)],n[s(419)](o)}}if(this[s(574)]){for(const t of n)this[s(672)](t.id,t,!0);this[s(554)]()}return a}[rt(561)](t){const e=rt,i=this[e(446)][e(535)](t);return this[e(574)]&&i.on(e(517),((t,i,s)=>{const n=e;s||(this[n(672)](i.id,i,!0),this[n(554)]())})),this[e(446)][e(433)](i,this[e(541)](i)),i}async[rt(549)](t){const e=rt;return await this[e(438)][e(563)](t,this[e(574)]),this[e(438)][e(549)](t)}async[rt(424)](t){const e=rt;return await this[e(438)][e(563)](t,this[e(574)]),this[e(438)][e(424)](t)}[rt(554)](){const t=rt;if(0===this[t(653)][t(455)])return;if(this[t(573)])return;let e=Array[t(599)](this[t(653)][t(400)]());this[t(653)][t(454)]();for(let i=0;i<e[t(523)];i++){const s=e[i];let n=!1;for(const e of Object[t(437)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(502)]((t=>null!==t)),!e[t(523)])return;for(let i=0;i<e[t(523)];i++){const s=e[i];void 0!==s[t(506)]&&void 0===s[t(631)]&&(s[t(631)]=this[t(446)][t(485)](s.id)[t(631)]),void 0!==s[t(631)]&&void 0===s[t(506)]&&(s[t(506)]=this[t(446)][t(485)](s.id)[t(506)])}const i=this[t(701)][t(667)][t(588)](t(504));this[t(573)]=!0,this[t(468)](),this[t(574)][t(521)](e,i)[t(609)]((()=>{this[t(573)]=!1}))[t(519)]((e=>{const i=t;if(e)for(const t of e)this[i(633)]({id:t.id,createdAt:t[i(660)]});this[i(539)](),this[i(554)]()}))}[rt(543)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(506)],i=null!==i?i:t[s(631)];const n=this[s(416)][s(557)](e,i),r={diffData:n[s(458)],authorsIds:n[s(413)],fromVersion:e,toVersion:i};if(!t||i!==t[s(631)]){const t=i-1,e=this[s(575)][s(664)][s(417)](t);r[s(660)]=e&&e[s(660)]||new Date}if(this[s(597)]&&e===this[s(597)][s(506)])for(const t of this[s(597)][s(470)])r[s(413)][s(407)](t.id)||r[s(413)][s(419)](t.id);return r}[rt(672)](t,e,i){const s=rt;if(this[s(653)][s(452)](t)){const n=this[s(653)][s(588)](t);e=i?{...n,...e}:{...e,...n}}this[s(653)][s(683)](t,e)}[rt(633)](t){const e=rt,i=this[e(446)][e(485)](t.id);if(t[e(660)]&&(t[e(660)]=new Date(t[e(660)])),t[e(413)]){const i=this[e(701)][e(385)][e(588)](e(542));t[e(470)]=t[e(413)][e(596)]((t=>i[e(471)](t)))}i[e(517)](t,!0)}[rt(607)](t){const e=rt,i=this[e(446)][e(485)](this[e(446)][e(523)]-1);if(i)this[e(601)]=i.id;else{const i=!this[e(701)][e(466)][e(585)][e(460)][e(392)]((t=>this[e(701)][e(466)][e(564)](t))),s=this[e(701)][e(385)][e(588)](e(542)).me.id,n=Q(this[e(701)][e(524)],e(i?593:428));this[e(600)]({from:t,to:t,id:this[e(601)],name:n,creatorId:s})}}[rt(550)](t){const e=rt,i=this[e(575)][e(410)]();this[e(492)]=this[e(446)][e(485)](i),this[e(492)]||(this[e(492)]=this[e(600)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(456)](){const t=rt;this[t(537)]&&!this[t(597)]&&(await this[t(438)][t(563)](this[t(492)],this[t(574)]),this[t(416)][t(590)](this[t(492)]),this[t(597)]={fromVersion:this[t(492)][t(506)],authors:this[t(492)][t(470)][t(696)]()})}[rt(490)](e,i){const s=rt;let n=this[s(701)][s(667)][s(588)](s(412)),r=this[s(701)][s(667)][s(588)](s(576));if(void 0===n){n={};for(const t of this[s(701)][s(466)][s(585)][s(605)]())n[t]=""}if(s(613)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(701)][s(466)][s(585)][s(605)]())r[t]={}}let o=!1;const a=Object[s(437)](n),c=Object[s(437)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(611)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(437)](r[t])[s(523)]>0){o=!0;break}}o||(o=c[s(608)]((t=>!this[s(701)][s(466)][s(585)][s(706)](t)))),o&&(0,t.logWarning)(s(582),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(701)][s(667)][s(683)](s(412),e),this[s(701)][s(667)][s(683)](s(576),i)}[rt(468)](){const t=rt;if(!this[t(494)]){const e=this[t(701)][t(385)][t(588)](t(602));this[t(494)]=e[t(499)](Q(this[t(701)][t(524)],t(489)))}}[rt(539)](){const t=rt;this[t(494)]&&(this[t(701)][t(385)][t(588)](t(602))[t(612)](this[t(494)]),this[t(494)]=null)}[rt(541)](t){const e=rt,i=this[e(446)][e(405)]();i[e(477)]();let s=0;for(;s<i[e(523)];){const n=i[s];if(n===this[e(492)]){s++;continue}if(n.id===this[e(601)])break;const r=t[e(631)]-n[e(631)]||t[e(506)]-n[e(506)];if(r>0)break;if(r<0)s++;else{if(!t[e(682)]&&n[e(682)])break;if(n[e(682)]||!t[e(682)]){if(t[e(660)]>n[e(660)])break;s++}else s++}}return s}[rt(560)](t){const e=rt,i=this[e(446)][e(405)]();i[e(477)](),i[e(559)]();const s=i[e(392)]((i=>i[e(631)]<=t))[e(631)];return s<this[e(402)]?this[e(402)]:s}[rt(600)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(543)]({from:e,to:i});o[r(481)]=t,o[r(435)]=s,o.id=n;const a=this[r(561)](o);return this[r(574)]&&this[r(672)](o.id,o,!0),a}[rt(553)](){const t=rt;this[t(701)][t(578)][t(451)](t(496))[t(627)]({model:t(639)})}}class ut{[rt(701)];[rt(530)];[rt(663)];[rt(624)];[rt(442)];[rt(669)];[rt(420)];[rt(483)];[rt(626)];[rt(699)];[rt(552)];[rt(577)];[rt(674)];[rt(570)];[rt(493)];[rt(629)];[rt(515)];constructor(t){const e=rt;this[e(701)]=t,this[e(663)]=new Map,this[e(624)]=-1,this[e(442)]=-1,this[e(669)]=new Map,this[e(420)]=new Map,this[e(483)]=new Map,this[e(626)]=new Map,this[e(699)]=new Map,this[e(552)]=new Map,this[e(577)]=new Map,this[e(674)]=new Map,this[e(570)]=new Map,this[e(493)]=new Map,this[e(629)]=1}[rt(423)](t){const e=rt;this[e(530)]=t;const i=new Map,s=new Map,n=this[e(701)][e(466)][e(585)][e(460)][e(596)]((t=>t[e(619)]));for(const t of n){const n=this[e(701)][e(466)][e(585)][e(706)](t),r=lt(n);i[e(683)](t,r),s[e(683)](t,Object[e(387)](n[e(657)]()))}const r=Array[e(599)](this[e(701)][e(466)][e(580)])[e(596)]((t=>[t[e(481)],t[e(532)]()])),o=this[e(530)][e(651)];this[e(511)](o,i,r,s),this[e(515)]=this[e(629)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(683)](t,i),c[e(683)](t,{})}this[e(511)](Number[e(592)],a,[],c)}[rt(557)](t,e){const i=rt;if(this[i(624)]===t&&this[i(442)]<=e)this[i(663)][i(455)]>1&&this[i(594)](this[i(442)]),this[i(391)](this[i(442)],e,!0);else{if(!this[i(663)][i(452)](t)){const e=this[i(473)](t);this[i(498)](e,t,!1)}this[i(498)](t,e,!0)}return this[i(624)]=t,this[i(442)]=e,this[i(569)]()}[rt(590)](t){const e=rt,i=this[e(701)][e(385)][e(588)](e(644));this[e(510)](),this[e(624)]=t[e(506)],this[e(442)]=t[e(631)];for(const s in t[e(458)]){const n=t[e(458)][s][e(635)],r=A(t[e(458)][s][e(589)])||{},o=i[e(514)](t[e(458)][s][e(697)]);o[e(619)]=s,o[e(615)]=!n||!n[e(684)],o[e(684)]=()=>o[e(615)],this[e(626)][e(683)](s,o),this[e(699)][e(683)](s,r),n&&this[e(493)][e(683)](s,n);const a=this[e(501)](o);this[e(577)][e(683)](s,a);for(const[t,i]of o[e(580)]){if(!t[e(429)](e(630)))continue;const s=t[e(393)](":")[2];for(const t of i[e(643)]({singleCharacters:!0})){const i=this[e(486)](t),n=e(621)==t[e(409)]?t[e(440)][e(572)][e(696)](0,-1):t[e(440)][e(572)],r=a[e(418)](n)[e(487)](i);this[e(674)][e(683)](r,{userId:s})}}}this[e(515)]=this[e(629)];const s=[...Array(this[e(629)])[e(437)]()][e(696)](1)[e(502)]((t=>!this[e(674)][e(452)](t)));let n=0;const r=new Map;for(const o in t[e(458)]){const a=t[e(458)][o][e(635)],c=A(t[e(458)][o][e(403)])||{},u=i[e(514)](t[e(458)][o][e(488)]);u[e(619)]=o,u[e(615)]=!a||a[e(684)],u[e(684)]=()=>u[e(615)],this[e(420)][e(683)](o,u),this[e(483)][e(683)](o,c);const l=this[e(501)](u,Number[e(592)]);this[e(552)][e(683)](o,l),r[e(683)](o,u[e(684)]()?c:{});for(const[t,i]of u[e(580)]){if(!t[e(429)](e(630)))continue;const s=t[e(393)](":")[2];for(const t of i[e(643)]({singleCharacters:!0})){const i=this[e(486)](t),n=this[e(629)]++,r=e(621)==t[e(409)]?t[e(440)][e(572)][e(696)](0,-1):t[e(440)][e(572)];l[e(418)](r)[e(441)](i,n),this[e(674)][e(683)](n,{userId:s})}}for(const t of this[e(701)][e(466)][e(690)](u)[e(643)]({singleCharacters:!0})){const i=this[e(486)](t),r=e(621)==t[e(409)]?t[e(440)][e(572)][e(696)](0,-1):t[e(440)][e(572)],o=l[e(418)](r);o[e(487)](i)>0||o[e(441)](i,s[n++])}for(const[t,i]of u[e(580)])t[e(429)](e(630))||this[e(669)][e(683)](t,i)}const o=ht(e(604));this[e(626)][e(683)](e(604),o),this[e(577)][e(683)](e(604),this[e(501)](o,1));const a=ht(e(604));this[e(420)][e(683)](e(604),a),this[e(552)][e(683)](e(604),this[e(501)](a,1));const c=Array[e(599)](this[e(420)])[e(596)]((([t,e])=>[t,lt(e)]));this[e(511)](this[e(442)],c,this[e(669)],r)}[rt(700)](){const t=rt;this[t(510)](),this[t(624)]=-1,this[t(442)]=-1,this[t(663)][t(454)](),this[t(423)](this[t(530)])}[rt(511)](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(683)](t,{start:e[n(457)][n(702)](),end:e[n(448)][n(702)](),rootName:e[n(397)][n(619)]});this[n(663)][n(683)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(594)](t){const e=rt;this[e(663)][e(425)](t)}[rt(510)](){const t=rt;this[t(674)][t(454)](),this[t(570)][t(454)](),this[t(493)][t(454)](),this[t(420)][t(454)](),this[t(483)][t(454)](),this[t(626)][t(454)](),this[t(699)][t(454)](),this[t(552)][t(454)](),this[t(577)][t(454)](),this[t(669)][t(454)](),this[t(629)]=1,this[t(515)]=this[t(629)]}[rt(501)](t,e=null){const i=rt;let s=null;t.is(i(584))||(s=new H.Element(t[i(481)],{vid_start:null===e?this[i(629)]++:e++}));const n=[];for(const s of t[i(567)]())if(s.is(i(547))){n[i(419)](this[i(501)](s,e));const t=n[n[i(523)]-1];null!==e&&(e=t.is(i(547),i(562))?t[i(487)](i(520))+1:t[i(487)](i(691))+1)}else for(let t=0;t<s[i(505)];t++)n[i(419)](new H.Element(i(562),{vid:null===e?this[i(629)]++:e++}));if(t.is(i(584))){const e=ht(t[i(619)]);return e[i(472)](0,n),e}return s[i(441)](i(691),null===e?this[i(629)]++:e++),s[i(472)](0,n),s}[rt(498)](t,e,i){const s=rt;this[s(510)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(663)][s(588)](t);this[s(626)]=new Map(n),this[s(699)]=new Map(A(o));for(const[t,e]of this[s(626)])if(s(604)!==t&&(this[s(420)][s(683)](t,lt(e)),this[s(483)]=new Map(A(o)),i)){const i=this[s(629)];this[s(552)][s(683)](t,this[s(501)](e)),this[s(577)][s(683)](t,this[s(501)](e,i))}this[s(515)]=this[s(629)],this[s(420)][s(683)](s(604),lt(this[s(626)][s(588)](s(604)))),i&&this[s(552)][s(683)](s(604),this[s(501)](this[s(626)][s(588)](s(604))));for(const[t,e]of r){const i=this[s(626)][s(588)](e[s(619)]),n=this[s(420)][s(588)](e[s(619)]),r=new H.Range(this[s(491)](e[s(457)],i),this[s(491)](e[s(448)],i)),o=this[s(649)](r,n);i[s(580)][s(683)](t,r),this[s(669)][s(683)](t,o)}this[s(391)](t,e,i)}[rt(391)](t,e,i){const s=rt;for(const n of this[s(530)][s(415)](t,e))this[s(637)](n,i);for(const t of this[s(420)][s(400)]())t[s(580)][s(454)]();for(const[t,e]of this[s(669)])this[s(420)][s(588)](e[s(397)][s(619)])[s(580)][s(683)](t,e[s(702)]());const n=new Map,r=new Map;for(const[t,e]of this[s(420)])n[s(683)](t,lt(e)),r[s(683)](t,this[s(483)][s(588)](t));this[s(511)](e,n,this[s(669)],r)}[rt(473)](t){const e=rt,i=Array[e(599)](this[e(663)][e(437)]());i[e(583)](((t,e)=>t-e)),i[e(477)]();for(const e of i)if(e<t)return e;return Number[e(592)]}[rt(399)](t,e){const i=rt,s=Array[i(599)](e[i(580)])[i(596)]((([e,s])=>[e,this[i(649)](s,t)]));t[i(580)]=new Map(s)}[rt(529)](t){const e=rt;for(const i of this[e(669)][e(400)]()){const s=i[e(453)](t),n=H.Range[e(681)](s);i[e(457)]=n[e(457)],i[e(448)]=n[e(448)]}}[rt(637)](t,e){const i=rt;if(i(668)!=t[i(409)]&&i(534)!=t[i(409)]){if(i(679)==t[i(409)]){const s=t[i(465)][i(397)][i(619)];this[i(420)][i(452)](s)||(this[i(420)][i(683)](s,ht(s,!0)),this[i(483)][i(683)](s,{}),e&&this[i(552)][i(683)](s,ht(s,!0)))}else{if(i(482)==t[i(409)]||i(645)==t[i(409)]||i(670)==t[i(409)])return void this[i(636)](t);i(401)==t[i(409)]&&this[i(688)](t)}if(i(401)!==t[i(409)]){const e=this[i(422)](t,this[i(420)]);e[i(533)](),this[i(529)](e)}if(e)switch(t[i(409)]){case i(679):this[i(414)](t);break;case i(625):case i(612):case i(388):this[i(404)](t);break;case i(586):this[i(538)](t);break;case i(393):this[i(591)](t)}}else this[i(647)](t,e)}[rt(422)](t,e){const i=rt,s=t[i(702)]();return s[i(610)]=t[i(610)],this[i(467)](s,e),s}[rt(622)](t){const e=rt;return t[e(596)]((t=>{const i=e,s=this[i(486)](t);return Number(t[i(390)][i(487)](s))}))}[rt(614)](t,e){const i=rt;if(t.is(i(547),i(562)))e[i(419)]({item:t,type:i(527)});else{t.is(i(547))&&e[i(419)]({item:t,type:i(461)});for(const s of t[i(567)]())this[i(614)](s,e);t.is(i(547))&&e[i(419)]({item:t,type:i(621)})}return e}[rt(569)](){const t=rt,e=new Map(this[t(674)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(626)][t(437)](),...this[t(420)][t(437)]()]);a[t(425)](t(604));for(const e of a){const i=this[t(420)][t(588)](e)||ht(e,!1),s=this[t(626)][t(588)](e)||ht(e,!1);i[t(684)]()||s[t(684)]()?(n[t(488)][e]=lt(i),n[t(697)][e]=lt(s),this[t(399)](n[t(697)][e],s),this[t(399)](n[t(488)][e],i),r[t(488)][e]=this[t(614)](this[t(552)][t(588)](e),[]),r[t(697)][e]=this[t(614)](this[t(577)][t(588)](e)||ht(e,!1),[])):a[t(425)](e)}for(const n of a){const o=r[t(488)][n];for(const n of o){const r=this[t(486)](n),o=n[t(390)][t(487)](r);i[t(425)](o),o>=this[t(515)]&&s[t(683)](o,e[t(588)](o))}}for(const n of a){const a=r[t(488)][n],c=this[t(622)](r[t(697)][n]);let u=0;for(const n of a){const r=this[t(486)](n),a=n[t(390)][t(487)](r);if(!s[t(452)](a)&&!o[t(452)](a))if(i[t(452)](a))u++;else{if(a!=c[u]){const s=e[t(588)](a)||e[t(588)](c[u]);for(;a!=c[u];)i[t(452)](c[u])||(o[t(683)](c[u],s),e[t(683)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(488)][e];for(const e of n){const n=this[t(486)](e),r=e[t(390)][t(487)](n);if(o[t(452)](r)){const e=o[t(588)](r);i[t(452)](r)||i[t(683)](r,{...e}),s[t(683)](r,{...e})}}}for(const e of i[t(437)]())e>=this[t(515)]&&i[t(425)](e);const c=new Map;for(const e of a){let n=r[t(488)][e];for(const e of n)if(e[t(390)].is(t(547),t(665))){const i=this[t(486)](e),n=e[t(390)][t(487)](i);if(s[t(452)](n)){const i=e[t(390)][t(478)][t(478)][t(487)](t(431)),r=c[t(588)](i)||new Set;r[t(499)](s[t(588)](n)[t(395)]),c[t(683)](i,r)}}n=r[t(697)][e];for(const e of n)if(e[t(390)].is(t(547),t(665))){const s=this[t(486)](e),n=e[t(390)][t(487)](s);if(i[t(452)](n)){const s=e[t(390)][t(478)][t(478)][t(487)](t(431)),r=c[t(588)](s)||new Set;r[t(499)](i[t(588)](n)[t(395)]),c[t(683)](s,r)}}for(const e of c[t(437)]())(s[t(452)](e)||i[t(452)](e))&&c[t(425)](e)}for(const e of a){const n=r[t(488)][e];let o=null,a=null;for(const e of n){const n=this[t(486)](e),r=e[t(390)][t(487)](n),u=c[t(588)](r);u&&t(461)==e[t(409)]&&(o=Array[t(599)](u)[0],a=e[t(390)][t(487)](t(691))),o&&(i[t(683)](r,{userId:o}),s[t(683)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(697)][e],a=n[t(488)][e];for(const{userId:e}of this[t(570)][t(400)]())null!==e&&l[t(499)](e);for(const{userId:e}of this[t(493)][t(400)]())null!==e&&l[t(499)](e);this[t(687)](a,r[t(488)][e],s,t(434),l),this[t(687)](o,r[t(697)][e],i,t(548),l),u[e]={insertions:this[t(507)](a),deletions:this[t(507)](o),attachChange:this[t(493)][t(588)](e)||null,attributesBefore:A(this[t(699)][t(588)](e))||{},attributesAfter:A(this[t(483)][t(588)](e))}}return{diffData:u,authorsIds:Array[t(599)](l)}}[rt(432)](t){const e=rt;for(const[,i]of t[e(580)]){const t=i[e(457)][e(655)]()[e(502)]((t=>e(665)==t[e(481)]));for(const i of t)1==i[e(641)]&&i[e(464)](0).is(e(547),e(606))&&i[e(464)](0)[e(441)](e(680),!0)}}[rt(507)](t){const e=rt;this[e(432)](t);const i=this[e(701)][e(703)][e(443)](t,{}),s=Array[e(599)](i[e(567)]())[e(596)]((t=>this[e(512)](t)));return JSON[e(686)](s)}[rt(512)](t){const e=rt;if(t.is(e(562)))return t[e(703)];{const i=this[e(701)][e(385)][e(588)](e(644)),s=t,n=this[e(701)][e(703)][e(463)][e(476)],r={type:i[e(525)](s),name:s[e(481)],attributes:Array[e(599)](s[e(657)]()),children:Array[e(599)](s[e(567)]())[e(596)]((t=>this[e(512)](t)))};if(t.is(e(531))&&e(618)!=t[e(481)]){const i=t[e(658)](n[e(666)],n);r[e(565)][e(419)](i[e(603)])}else if(t.is(e(447))){const i=n[e(666)][e(503)](s[e(481)]);t[e(658)](i,n),r[e(565)][e(419)](i[e(598)])}const o=Array[e(599)](s[e(439)]());o[e(523)]>0&&(r[e(634)]=o);const a=s[e(566)]();return null!==a&&(r[e(581)]=a),r}}[rt(687)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(701)][r(466)];for(let s=0;s<e[r(523)];s++){const n=this[r(486)](e[s]),c=e[s][r(390)][r(487)](n),h=i[r(588)](c),d=s==e[r(523)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(395)]!=o[r(395)])&&(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(395)],d=l(630)+s+":"+h+":"+c++,f=u[l(673)](i,a);t[l(580)][l(683)](d,f),null!==h&&n[l(499)](h)}}[rt(486)](t){const e=rt;switch(t[e(409)]){case e(461):return e(431);case e(621):return e(691);default:return e(520)}}[rt(467)](t,e){const i=rt;t[i(462)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(588)](n[i(397)][i(619)]);t[s]=this[i(491)](n,r)}if(n instanceof H.Range){const r=e[i(588)](n[i(397)][i(619)]);t[s]=this[i(649)](n,r)}i(397)===s&&(t[i(397)]=e[i(588)](t[i(397)][i(619)]))}}[rt(649)](t,e){const i=rt;return this[i(701)][i(466)][i(673)](this[i(491)](t[i(457)],e),this[i(491)](t[i(448)],e))}[rt(491)](t,e){const i=rt;return this[i(701)][i(466)][i(411)](e,t[i(572)],t[i(558)])}[rt(414)](t){const e=rt,i=this[e(552)][e(588)](t[e(465)][e(397)][e(619)]),s=this[e(491)](t[e(465)],i),n=null===t[e(610)]?null:t[e(610)]||this[e(701)][e(385)][e(588)](e(542)).me.id,r=s[e(478)],o=this[e(629)],a=[];for(const i of t[e(638)])if(i.is(e(547)))a[e(419)](this[e(501)](i));else for(let t=0;t<i[e(505)];t++)a[e(419)](new H.Element(e(562),{vid:this[e(629)]++}));const c=this[e(629)];for(let t=o;t<c;t++)this[e(674)][e(683)](t,{userId:n});r[e(472)](s[e(675)],a)}[rt(404)](t){const e=rt;(t=this[e(422)](t,this[e(552)]))[e(533)]();const i=null===t[e(610)]?null:t[e(610)]||this[e(701)][e(385)][e(588)](e(542)).me.id,s=t[e(386)](),n=s[e(478)],r=s[e(675)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(464)](e);r.is(a(547),a(562))?s[a(683)](r[a(487)](a(520)),{userId:i}):(s[a(683)](r[a(487)](a(431)),{userId:i}),t(s,r,0,r[a(641)]),s[a(683)](r[a(487)](a(691)),{userId:i}))}}(this[e(674)],n,r,r+t[e(617)])}[rt(538)](t){const e=rt,i=null===(t=this[e(422)](t,this[e(552)]))[e(610)]?null:t[e(610)]||this[e(701)][e(385)][e(588)](e(542)).me.id,s=t[e(444)][e(478)],n=t[e(421)][e(478)],r=s[e(487)](e(691)),o=n[e(487)](e(431));s[e(441)](e(691),n[e(487)](e(691))),n[e(441)](e(691),r),this[e(674)][e(683)](o,{userId:i}),this[e(674)][e(683)](r,{userId:i}),t[e(533)]()}[rt(591)](t){const e=rt,i=null===(t=this[e(422)](t,this[e(552)]))[e(610)]?null:t[e(610)]||this[e(701)][e(385)][e(588)](e(542)).me.id,s=t[e(546)],n=t[e(571)][e(478)];t[e(533)]();const r=n[e(487)](e(691)),o=t[e(396)][e(579)];if(s){const t=o[e(487)](e(691)),s=n[e(487)](e(691));n[e(441)](e(691),t),o[e(441)](e(691),s),this[e(674)][e(683)](n[e(487)](e(691)),{userId:i}),this[e(674)][e(683)](o[e(487)](e(431)),{userId:i})}else{const t=this[e(629)]++,s=this[e(629)]++;n[e(441)](e(691),t),o[e(441)](e(431),s),o[e(441)](e(691),r),this[e(674)][e(683)](t,{userId:i}),this[e(674)][e(683)](s,{userId:i})}}[rt(688)](t){const e=rt;if(!t[e(662)])return;const i=(t=this[e(422)](t,this[e(420)]))[e(408)]?t[e(408)][e(397)]:null,s=t[e(659)]?t[e(659)][e(397)]:null;i&&this[e(669)][e(425)](t[e(481)]),s&&this[e(669)][e(683)](t[e(481)],t[e(659)][e(702)]());const n=null===t[e(610)]?null:t[e(610)]||this[e(701)][e(385)][e(588)](e(542)).me.id,r=t[e(481)];if(!this[e(570)][e(452)](r))return void this[e(570)][e(683)](r,{range:t[e(408)],userId:n});const o=this[e(570)][e(588)](r),a=o[e(545)],c=t[e(659)];null==a&&null==c||a&&c&&a[e(516)](c)?this[e(570)][e(425)](t[e(481)]):o[e(395)]=n}[rt(647)](t,e){const i=rt;this[i(420)][i(452)](t[i(619)])?this[i(420)][i(588)](t[i(619)])[i(615)]=t[i(509)]:(this[i(420)][i(683)](t[i(619)],ht(t[i(619)],!0)),this[i(483)][i(683)](t[i(619)],{}),e&&this[i(552)][i(683)](t[i(619)],ht(t[i(619)],!0)));const s=null===t[i(610)]?null:t[i(610)]||this[i(701)][i(385)][i(588)](i(542)).me.id,n=this[i(493)][i(588)](t[i(619)]);n&&n[i(395)]===s?this[i(493)][i(425)](t[i(619)]):this[i(493)][i(683)](t[i(619)],{userId:s,isAttached:t[i(509)]})}[rt(636)](t){const e=rt,i=this[e(483)][e(588)](t[e(397)][e(619)]);null===t[e(652)]?delete i[t[e(646)]]:i[t[e(646)]]=t[e(652)]}}function lt(t){const e=rt,i=ht(t[e(619)],t[e(684)]());for(const s of t[e(567)]()){const t=s[e(671)](!0);i[e(536)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(619)]=t,s[i(615)]=e,s[i(684)]=()=>s[i(615)],s}function dt(t,e,i){const s=rt,n=s(621)==t[s(409)]?i[s(642)](t[s(390)],s(448)):i[s(475)](t[s(390)]);return i[s(411)](e,n[s(572)],n[s(558)])}function ft(t,e,i){const s=rt,n=s(461)==t[s(409)]?i[s(642)](t[s(390)],0):i[s(522)](t[s(390)]);return i[s(411)](e,n[s(572)],n[s(558)])}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),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.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=Vt;function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=164]})(t,e)}function Mt(){const t=["listenTo","trim","60386HxJUtS","focusTracker","arrowup","revisionNameInputValue","reset","91304urLMlH","value","ck-revision-history-save-revision-form","205gRVDya","render","4277856KuXmiF","11482328lkMqck","optional","ck-responsive-form","arrowright","revisionNameInputView","input","add","stopPropagation","element","39740KZnJmu","11574ILQSYU","revisionName","1283800BJmIYf","label","extendTemplate","set","15924nZCdoc","arrowleft","keystrokes","Name of the revision","errorText","3171FerZio","_createRevisionNameInput","arrowdown","form","locale","focus","fieldView","220","setTemplate"];return(Mt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(729318===-parseInt(e(181))/1+parseInt(e(201))/2+-parseInt(e(168))/3+-parseInt(e(206))/4*(-parseInt(e(166))/5)+parseInt(e(185))/6*(-parseInt(e(190))/7)+-parseInt(e(169))/8+-parseInt(e(179))/9*(-parseInt(e(178))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Dt extends pt.View{[At(202)];[At(187)];[At(173)];constructor(e,i){const s=At;super(e),this[s(202)]=new t.FocusTracker,this[s(187)]=new t.KeystrokeHandler,this[s(184)](s(204),""),this[s(173)]=this[s(191)](i),this[s(198)]({tag:s(193),attributes:{class:["ck",s(165),s(171)],tabindex:"-1"},children:[this[s(173)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(167)](){const t=At;super[t(167)](),(0,pt.submitHandler)({view:this}),this[t(202)][t(175)](this[t(173)][t(177)]),this[t(187)][t(199)](this[t(177)]);const e=e=>e[t(176)]();this[t(187)][t(184)](t(172),e),this[t(187)][t(184)](t(186),e),this[t(187)][t(184)](t(203),e),this[t(187)][t(184)](t(192),e)}[At(195)](){const t=At;this[t(173)][t(195)]()}get[At(180)](){const t=At;return this[t(173)][t(196)][t(177)][t(164)][t(200)]()}set[At(180)](t){const e=At;this[e(173)][e(196)][e(177)][e(164)]=t[e(200)]()}[At(205)](){const t=At;this[t(173)][t(196)][t(177)][t(164)]="",this[t(173)][t(189)]=null}[At(191)](t){const e=At,i=new pt.LabeledFieldView(this[e(194)],pt.createLabeledInputText),s=i[e(196)];s[e(183)]({attributes:{maxlength:e(197)}});let n=Q(this[e(194)],e(188));return!t&&(n+=" ("+Q(this[e(194)],e(170))+")"),i[e(182)]=n,s.on(e(174),(()=>{const t=e;this[t(204)]=s[t(177)][t(164)][t(200)]()})),i}}function Et(){const t=["editor","RevisionTracker","isOpen","config","Save current revision","editing","The revision name cannot be empty.","hide","isOfficialPlugin","execute","render","requires","menuBar:revisionHistory","bind","Cancel","revisionNameInputView","RevisionHistoryUI","8TmUsdG","revisionSave","items","errorText","submit","get","Dialog","isEnabled","reset","saveRevision","_createSaveRevisionFormView","set","showRevisionViewerCallback","revisionName","isReadOnly","show","addMany","5607316RwAuhg","delegate","19623zOfbvG","Revision history","role","isPremiumPlugin","view","children","ck-button-action","isReady","buttonView","plugins","revisionHistory","Open revision history","init","_registerMenuComponent","13gXEfkK","96202VbbIIO","5065130PRcjUI","panelView","locale","componentFactory","menu","focus","menuitem","5686338hvfOoJ","384600TJijEH","_saveRevisionFormView","Accept","779310vuHNXl","pluginName","add","7WzpJUh","revisionHistory.requireRevisionName","_showDialog","564LiMdVI"];return(Et=function(){return t})()}const Ct=Ft;function Ft(t,e){const i=Et();return(Ft=function(t,e){return i[t-=237]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(593444===-parseInt(e(253))/1*(-parseInt(e(254))/2)+-parseInt(e(239))/3*(-parseInt(e(272))/4)+parseInt(e(263))/5+-parseInt(e(262))/6*(parseInt(e(269))/7)+parseInt(e(290))/8*(-parseInt(e(266))/9)+-parseInt(e(255))/10+parseInt(e(237))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Lt extends Z.Plugin{static get[Ct(267)](){return Ct(289)}static get[Ct(281)](){return!0}static get[Ct(242)](){return!0}static get[Ct(284)](){return[ct]}[Ct(264)];[Ct(251)](){const t=Ct,e=this[t(273)],i=e[t(248)][t(295)](t(274));e.ui[t(258)][t(268)](t(249),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(256)][n(244)],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(286)](n(297)).to(i,n(246),i,n(297),e,n(304),((t,e,i)=>t&&e&&!i)),r[n(247)][n(301)]({icon:mt.IconHistory,label:Q(s,n(240)),tooltip:!0}),u[n(301)]({label:Q(s,n(277)),withText:!0,role:n(261)}),u[n(286)](n(297)).to(i,n(246),i,n(297),e,n(304),((t,e,i)=>t&&e&&!i)),u.on(n(282),(()=>this[n(271)]())),h[n(301)]({label:Q(s,n(250)),withText:!0,role:n(261)}),h[n(286)](n(297)).to(i,n(246),e,n(304),((t,e)=>t&&!e)),h.on(n(282),(()=>{const t=n;e[t(276)][t(295)](t(249))[t(302)](),r[t(275)]=!1,e[t(278)][t(243)][t(260)]()})),c[n(244)][n(268)](u),l[n(244)][n(268)](h),a[n(241)]=n(259),a[n(292)][n(306)]([c,l]),o[n(268)](a),r})),e.ui[t(258)][t(268)](t(285),(()=>this[t(252)]()))}[Ct(252)](){const t=Ct,e=this[t(273)],i=e[t(257)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(247)][t(301)]({icon:mt.IconHistory,label:Q(i,t(240))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(301)]({label:Q(i,t(277))}),o[t(238)](t(282)).to(s),o.on(t(282),(()=>{this[t(271)]()})),r[t(244)][t(268)](o),n[t(292)][t(268)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(301)]({label:Q(i,t(250))}),c[t(238)](t(282)).to(s),c.on(t(282),(()=>{const i=t;e[i(276)][i(295)](i(249))[i(302)]()})),a[t(244)][t(268)](c),n[t(292)][t(268)](a),s[t(256)][t(244)][t(268)](n),s}[Ct(271)](){const t=Ct,e=this[t(273)],i=e[t(257)],s=e[t(248)][t(295)](t(296)),n=e[t(248)][t(295)](t(274));function r(n){const r=t;e[r(276)][r(295)](r(270))&&""===n[r(303)]?n[r(288)][r(293)]=Q(i,r(279)):(e[r(248)][r(295)](ct)[r(299)]({name:n[r(303)]}),s[r(280)]())}this[t(264)]||(this[t(300)](),this[t(264)].on(t(294),(()=>r(this[t(264)])))),this[t(264)][t(298)](),s[t(305)]({id:t(291),title:Q(i,t(277)),isModal:!0,content:this[t(264)],actionButtons:[{label:Q(e[t(257)],t(287)),withText:!0,onExecute:()=>s[t(280)]()},{label:Q(e[t(257)],t(265)),class:t(245),withText:!0,onCreate(i){const s=t;i[s(286)](s(297)).to(n,s(246),n,s(297),e,s(304),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(264)])}]})}[Ct(300)](){const t=Ct,e=this[t(273)],i=e[t(257)];this[t(264)]=new Dt(i,e[t(276)][t(295)](t(270))),this[t(264)][t(283)]()}}const jt=zt;function Pt(){const t=["Added by","407tUhjlw","isSuggestion","element","1dxdvLQ","7MIjsbx","set","name","ck-revision-change__","author","changeId","bindTemplate","type","data","ck-revision-change","_model","Suggested by","8078896avAOXT","focus","22164XPBpnp","Removed by","320NjvNco","add","50FJpeJD","1271196YLFqDD","span","1298898nhVALz","2579484SsQjBU","ck-annotation","33210gxoqWD","div","ck-revision-change__label","setTemplate","678898qzzhWv"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=115]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(632454===-parseInt(e(128))/1*(-parseInt(e(123))/2)+-parseInt(e(116))/3+parseInt(e(145))/4*(parseInt(e(119))/5)+-parseInt(e(117))/6*(-parseInt(e(129))/7)+-parseInt(e(141))/8+parseInt(e(148))/9*(parseInt(e(147))/10)+parseInt(e(125))/11*(parseInt(e(143))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[jt(134)];[jt(139)];constructor(t,e){const i=jt;super(t),this[i(139)]=e,this[i(134)]=e.id;const s=this[i(135)],n=Q(t,e[i(137)][i(126)]?i(140):i(146)==e[i(136)]?i(124):i(144));this[i(130)](i(136),e[i(136)]),this[i(122)]({tag:i(120),attributes:{class:[i(118),i(138),s.to(i(136),(t=>i(132)+t))],tabindex:-1},children:[{tag:i(115),children:[{tag:i(115),attributes:{class:[i(121)]},children:[{text:n}]},{text:" "+e[i(133)][i(131)]}]}]})}[jt(142)](){const t=jt;this[t(127)][t(142)]()}}var Zt=Ut;function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=235]})(t,e)}function Ht(){var t=["type","27VyPzaO","22SyzSbb","1964416QdavSn","129QRVdAe","rootName","10157vIaMHq","805030qZsCGg","3101100eVtCIH","author","1boEsFg","1872Gawgxp","data","toJSON","1677820ayONwK","set","8752xxpWnO","380790MooEvS","createdAt"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(228212===parseInt(e(244))/1*(parseInt(e(241))/2)+-parseInt(e(238))/3*(-parseInt(e(250))/4)+-parseInt(e(248))/5+-parseInt(e(245))/6*(-parseInt(e(240))/7)+parseInt(e(237))/8+parseInt(e(235))/9*(-parseInt(e(251))/10)+parseInt(e(236))/11*(-parseInt(e(242))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends((0,t.ObservableMixin)()){id;[Zt(243)];[Zt(253)];[Zt(246)];[Zt(239)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(243)]=e[i(243)],this[i(253)]=e[i(253)],this[i(246)]=e[i(246)]||{},this[i(239)]=e[i(239)],this[i(249)](i(252),e[i(252)])}[Zt(247)](){var t=Zt;return{id:this.id,authorId:this[t(243)].id,type:this[t(253)],data:this[t(246)],createdAt:this[t(252)]}}}function qt(){const t=["109985WubmOG","341928xGbOKd","newRevisionId","_setChanges","631827SpnYfU","260Oqaonk","add","108NmyVSv","62098tlkGHW","9yWvVWi","oldRevisionId","187108EjCHvn","1139236YgLuyX","4622080YAGfPL","changes"];return(qt=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=qt();return(Yt=function(t,e){return i[t-=335]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(292443===-parseInt(e(341))/1*(-parseInt(e(340))/2)+-parseInt(e(336))/3+parseInt(e(343))/4+-parseInt(e(347))/5*(parseInt(e(339))/6)+parseInt(e(344))/7+-parseInt(e(345))/8+-parseInt(e(348))/9*(-parseInt(e(337))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Gt{[Bt(349)];[Bt(342)];[Bt(346)];constructor(e,i){const s=Bt;this[s(349)]=e,this[s(342)]=i,this[s(346)]=new t.Collection}[Bt(335)](t){const e=Bt;for(const i of t)this[e(346)][e(338)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Xt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=334]})(t,e)}function te(){const t=["target","data","downcastDispatcher","ck-suggestion-marker--active","removeMarker:revision","from","isEnabled","markers","activeView","markersStart","flat","first","ck-suggestion-marker-split","restoreRevisionCallback","add","isLimit","backward","ck-revision-history-root-remove","push","pluginName","checkAttribute","nextPosition","_cleanMarkers","revision-suggestion:","test","listenTo","markerNameToElements","revision-suggestion","config","insertions","_appendChild","change:isReady","text","nodeAfter","createRange","filter","getLaterVisibleRevision","_makeModelFromViewString","enqueueChange","mousedown","addRoot","plugins","getRevisionRootsAttributes","dataDowncast","parent","_markInsertions","getRevision","showStack","_processTape","_removeMissingPairs","isSuggestion","_data","attachChange","deletions","markerToHighlight","item","attribute:vid","startIndex","addRevision","addRevisionData","getWalker","editor","roots","1623288HHyauL","enableReadOnlyMode","ck-revision-history-root--active","isOfficialPlugin","insertion","559EEhbtZ","RevisionViewer","revisionHistoryLabel","span","next","markerToData","isObject","model","getCustomProperty","diff","pairId","ck-suggestion-marker","addMarker:revision","find","isIncorrect","POSITIVE_INFINITY","has","isCollapsed","_changeView","ck-revision-history-root-add","map","values","affectsData","end","view","_findChangeIdFromDomTarget","_makeModelFromTape","revision:","set","setAttribute","_update","low","execute","toViewElement","oldRevisionId","diffData","reconvertMarker","suggestion","revision-viewer","bottom","936710SNtyRb","mouseover","keys","removeMarker","removeAttribute","markerName","getItems","splice","done","_setChanges","isBefore","wrap","name","includes","data-change-id","isOnRoot","getRootNames","suggestion:","destroy","authors","isAttached","createRevision","forward","split","rootName","markerRange","createPositionFromPath","pop","_initInteractions","addHighlight","side","object","_joinTapes","_getChangeFromId","maxOffset","return","createAttributeElement","removeClass","updatePosition","unshift","_markMismatchedRemovedTags","isPremiumPlugin","addMarker:revision-suggestion:deletion","isEqual","_step","addClass","activeChange","distance","attributesBefore","mapper","revisionHistoryAttachChange","numberOfChanges","top","_balloon","isAtEnd","showNextChange","_setConversion","isAfter","getAttribute","_changeIdToChange","slice","startsWith","locale","isAtStart","_threeWayMerge","_utils","comment","RevisionHistoryUtils","-new","insert","ck-suggestion-preview-marker-","change","left","all","previousPosition","currentChangeNumber","loadRevisionData","vid_start","merge","vid_end","highest","requires","change:activeView","showPreviousChange","elementStart","dataToMarker","_fixObsoleteTags","ck-editor__editable__overlay","isReady","init","revisionHistory","document","observeMarkers","repository","_sortAndFilterDiffChanges","_makeTape","stop","_getViewForChange","type","hasClass","isInline","getRevisionDocumentData","writer","detachRoot","ck-revision-history-root-","element:pre","2519646cyVVjx","right","forceDisabled","_removeUnsupportedChanges","findIndex","editingDowncast","520llgvZe","delete","_setDistance","range","toViewRange","indexOf","_activeViewTarget","bind","for","attributes","hasAttribute","editing","compare","schema","offsetSize","consume","578932ItUpyD","domConverter","toViewPosition","_getDiff","revision-comment:","modelRange","getDomRoot","start","shift","restoreRevision","remove","isAdded","code","ck-suggestion-marker-merge","uiElement","revision","elementToAttribute","getAttributes","ck-suggestion-marker-","level","consumable","getRoot","isNavigationMode","domEvent","createUIElement","softBreak","createPositionBefore","elementEnd","_refreshStartEndIndex","isRemoved","refresh","attributesAfter","_markSuggestions","newRevisionId","forEach","_markMarkers","_getRevisionsRange","change:isEnabled","3nKRqOR","vid","getIndex","resolve","removeMarker:revision-suggestion","get","concat","element","isContent","createRangeIn","2518481IxNOoL","upcast","change:numberOfChanges","clear","deletion","userId","nextSibling","high","string","isRemoveSuggestion","abs","1933749sSNcFh","catch","mapViewToDom","unbindElementFromMarkerName","addMarker:revision-suggestion:insertion","error","conversion","viewItem","getClientRects","ck-suggestion-preview-marker","change:activeChange","selection","commands","then","markersEnd","adapter","isBlock","isAddSuggestion","_revisions","index","endIndex","length","sort","changeId","WidgetToolbarRepository","changes","getChild","_cleanUp","RevisionsRepository","bindElementToMarker"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(234943===parseInt(e(532))/1*(-parseInt(e(359))/2)+-parseInt(e(413))/3*(-parseInt(e(375))/4)+parseInt(e(572))/5+parseInt(e(353))/6+-parseInt(e(423))/7+parseInt(e(527))/8+-parseInt(e(434))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends Z.Plugin{[Xt(340)];[Xt(449)]=null;[Xt(637)];[Xt(365)];[Xt(550)];[Xt(631)];[Xt(625)];static get[Xt(483)](){return Xt(533)}static get[Xt(530)](){return!0}static get[Xt(613)](){return!0}static get[Xt(653)](){return[U.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(340)]=this[e(525)][e(505)][e(418)](e(462)),this[e(637)]=this[e(525)][e(505)][e(418)](e(639)),this[e(560)](e(618),null),this[e(560)](e(472),null),this[e(365)]=null,this[e(560)](e(541),null),this[e(560)](e(335),!1),this[e(560)](e(470),!0),this.on(e(412),((t,i,s)=>{const n=e;this[n(618)]=null,this[n(472)]=null,this[n(525)][n(370)][n(556)][n(643)]((t=>{const e=n;for(const i of this[e(525)][e(370)][e(556)][e(338)][e(526)])s?t[e(609)](e(334),i):t[e(617)](e(334),i)}))})),this[e(366)](e(397)).to(this,e(618),(t=>null!==t)),this[e(366)](e(647)).to(this,e(335),this,e(541),this,e(618),((t,i,s)=>t&&s?i[e(459)][e(415)](s):0)),this[e(366)](e(623)).to(this,e(335),this,e(541),((t,i)=>t?i[e(459)][e(455)]:0)),this[e(550)]=null,this[e(631)]=new Map,this[e(625)]=this[e(525)][e(505)][e(418)](pt.ContextualBalloon)}[Xt(336)](){const t=Xt,e=this[t(525)],i=new ne(e,{direction:t(480)}),s=new ne(e,{direction:t(594)});e[t(446)][t(478)](t(655),i),e[t(446)][t(478)](t(627),s),e[t(446)][t(478)](t(384),new se(e)),this.on(t(425),(()=>{const e=t;i[e(405)](),s[e(405)]()})),this[t(628)](),this[t(600)](),e[t(528)](t(570)),e[t(505)][t(548)](t(458))&&e[t(505)][t(418)](t(458))[t(355)](t(570))}async[Xt(348)](t){const e=Xt;return await this[e(637)][e(648)](t,this[e(449)]),this[e(637)][e(348)](t)}async[Xt(506)](t){const e=Xt;return await this[e(637)][e(648)](t,this[e(449)]),this[e(637)][e(506)](t)}async[Xt(371)](t,e,i=!1){const s=Xt;if(!this[s(470)])return;const n=this[s(541)],r=this[s(340)],o=s(431)==typeof t?r[s(510)](t):t,a=s(431)==typeof e?r[s(510)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(541)]&&this[s(541)][s(408)]===c&&this[s(541)][s(566)]===u)return Promise[s(416)]();this[s(335)]=!1,this[s(472)]=null,this[s(618)]=null,this[s(541)]=new Gt(c,u);const l=this[s(411)](o,a,!0)[s(552)]((t=>this[s(637)][s(648)](t,this[s(449)])));return l[s(482)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(645)](l)[s(447)]((()=>{const t=s;if(!this[t(470)])return;this[t(461)]();const e=this[t(378)](c,u);for(const i of e[t(459)])this[t(631)][t(560)](i.id,i);this[t(525)][t(539)][t(502)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(525)][s(539)][s(338)][s(588)]())i[s(350)](t);for(const t of Object[s(574)](e[s(539)])){const n=i[s(504)](t);for(const r of Object[s(574)](e[s(368)][t]))i[s(561)](r,e[s(368)][t][r],n);i[s(641)](e[s(539)][t],n,0)}})),this[t(541)][t(581)](this[t(341)](e[t(459)])),this[t(335)]=!0}))[s(435)]((t=>{const e=s;console[e(439)](t),this[e(461)](),n&&(this[e(541)]=n),this[e(335)]=!0}))}[Xt(523)](t,e){const i=Xt,s=this[i(340)][i(593)](t);return s.on(i(562),((t,i,n)=>e(i,n,s))),this[i(340)][i(522)](s),s}[Xt(461)](){const t=Xt;this[t(618)]=null,this[t(486)](),this[t(550)]&&this[t(550)][t(590)](),this[t(550)]=null,this[t(631)][t(426)](),this[t(525)][t(539)][t(502)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(525)][i(539)][i(338)][i(588)]())e[i(350)](t)}))}[Xt(341)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(525)][e(539)][e(338)][e(588)]()){const n=this[e(525)][e(370)][e(556)][e(381)](t);if(!n)continue;const r=n[e(442)]()[e(519)](0);r&&(i[e(482)](t),s[e(560)](t,r))}return i[e(456)](((t,i)=>{const n=e,r=s[n(418)](t),o=s[n(418)](i);return r.y-o.y||r.x-o.x})),(t=t[e(499)]((t=>i[e(585)](t[e(596)]))))[e(456)](((t,s)=>i[e(364)](t[e(596)])-i[e(364)](s[e(596)]))),t}[Xt(342)](t){const e=Xt,i=Array[e(469)](t[e(471)])[e(499)]((([t,i])=>t[e(633)](e(559))&&!i[e(549)])),s=Array[e(469)](this[e(525)][e(539)][e(422)](t)[e(524)]({singleCharacters:!0}));if(0!=i[e(455)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(595)](":");if(n[e(555)][e(615)](t[e(485)])&&i[e(383)](),(t[e(646)][e(615)](n[e(382)])||t[e(646)][e(629)](n[e(382)]))&&(e(531)==r?t[e(386)]={userId:o}:e(427)==r&&(t[e(404)]={userId:o})),0==i[e(455)])break}return s}[Xt(403)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(455)];s++)e(496)===t[s][e(345)]?(t[s][e(519)][e(521)]=s,t[s][e(519)][e(454)]=s):(e(656)===t[s][e(345)]?t[s][e(519)][e(521)]=s:e(402)===t[s][e(345)]&&(t[s][e(519)][e(454)]=s),i[e(560)](t[s].id,s));for(const s of i[e(553)]())e(656)===t[s][e(345)]?t[s][e(519)][e(454)]=i[e(418)](t[s][e(542)]):e(402)===t[s][e(345)]&&(t[s][e(519)][e(521)]=i[e(418)](t[s][e(542)]))}[Xt(512)](t){const e=Xt;for(let i=0;i<t[e(455)];i++){if(e(656)===t[i][e(345)])t[i][e(519)][e(521)]=i;else if(e(402)===t[i][e(345)]){t[i][e(519)][e(454)]=i;const s=t[i][e(519)][e(521)];t[s][e(542)]=t[i].id,t[i][e(542)]=t[s].id}else t[i][e(519)][e(521)]=i,t[i][e(519)][e(454)]=i,t[i][e(542)]=null;t[i][e(473)]||(t[i][e(473)]=[],t[i][e(448)]=[])}}[Xt(509)](t,e){const i=Xt,s=t[i(499)]((t=>!t[i(386)]));for(let t=0;t<e[i(455)];t++)e[t][i(386)]&&(s[t][i(386)]=e[t][i(386)])}[Xt(378)](t,e=null){const i=Xt,s=this[i(340)][i(510)](t),n=e?this[i(340)][i(510)](e):null,r=this[i(411)](s,n),o=r[r[i(455)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(455)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(574)](e[i(567)]))if(e[i(567)][t][i(516)]){const s=e[i(567)][t][i(516)];s[i(592)]?(u[i(478)](t),l[i(548)](t)&&l[i(418)](t)[i(428)]==s[i(428)]?l[i(360)](t):l[i(560)](t,s)):l[i(548)](t)?(u[i(360)](t),l[i(360)](t)):(u[i(478)](t),l[i(560)](t,s))}else u[i(478)](t)}for(const t of u){const e=l[i(548)](t)&&!l[i(418)](t)[i(592)];let s=e?r[i(455)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(567)][t]){const s=e?o[i(567)][t][i(620)]:o[i(567)][t][i(406)];c[i(368)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(539)]={};for(const e of t[i(591)])a[i(560)](e.id,e);for(const e of u){const s=t[i(567)][e]?t[i(567)][e][i(493)]:"[]",n=t[i(567)][e]?t[i(567)][e][i(517)]:"[]";t[i(539)][e]={insertions:this[i(637)][i(501)](s),deletions:this[i(637)][i(501)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(469)](s[i(539)][t][i(493)][i(471)])[i(499)]((([t])=>!t[i(633)](i(559)))));let h=0;for(const o of r){const r=this[i(342)](o[i(539)][t][i(493)]);o==s?(e=r,n=e[i(455)],e[i(409)]((t=>{t.id=h++})),this[i(512)](e)):this[i(509)](e,r);const a=e[i(499)]((t=>!t[i(386)]))[i(552)]((t=>t.id));let c=0;const l=this[i(342)](o[i(539)][t][i(517)]);l[i(409)]((t=>{t[i(404)]?t.id=n++:t.id=a[c++]})),this[i(512)](l),this[i(361)](e,i(386)),this[i(361)](l,i(404)),o==s&&this[i(410)](e,u),e=this[i(604)](e,l),this[i(403)](e),this[i(361)](e,i(404))}e=e[i(499)]((t=>!(t[i(386)]&&t[i(404)])));const d=new Map(o[i(539)][t][i(517)][i(471)]),f=new Set(u[i(574)]());for(const t of d[i(574)]())f[i(360)](t);this[i(407)](e,f),this[i(658)](e),e=this[i(513)](e),e=this[i(612)](e),e=this[i(356)](e);const{root:m,changes:p}=this[i(558)](e,a,t);c[i(539)][t]=m;const v=l[i(418)](t);if(v){const e=a[i(418)](v[i(428)]),s=new $t({author:e,type:v[i(592)]?i(478):i(385),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(611)](s),c[i(368)][t][i(622)]=s.id}c[i(459)]=c[i(459)][i(419)](p)}return c}[Xt(410)](t,e){const i=Xt;for(let s=0;s<t[i(455)];s++)for(const[n,r]of e)!r[i(549)]&&r[i(382)][i(615)](t[s][i(646)])&&t[s][i(473)][i(482)](n),r[i(555)][i(615)](t[s][i(485)])&&t[s][i(448)][i(482)](n)}[Xt(604)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(455)]||r<e[i(455)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(482)](o);else if(a[i(404)]&&o[i(386)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(636)](t,n,e,r);s=s[i(419)](o),n=a,r=c}else a[i(404)]?(r++,s[i(482)](a)):(n++,s[i(482)](o))}return s}[Xt(407)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(455)];o++){for(let r=0;r<t[o][i(473)][i(455)];r++){const a=t[o][i(473)][r];if(!e[i(548)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(491)!=c||i(531)!=u&&i(427)!=u||(s[i(611)]({type:u,name:a,userId:l}),t[o][i(473)][i(579)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(448)][i(455)];r++){const a=t[o][i(448)][r];if(!e[i(548)](a))continue;const{group:c,type:u}=n(a);if(i(491)!=c||i(531)!=u&&i(427)!=u)continue;t[o][i(448)][i(579)](r,1),r--;const l=s[i(357)]((t=>t[i(584)]==a));l>-1&&s[i(579)](l,1)}}function n(t){const e=i,s=t[e(595)](":");return{group:s[0],type:s[1],subType:s[e(455)]>=5?s[2]:null,id:s[e(455)]<5?s[2]:s[3],authorId:s[e(455)]<5?s[3]:s[4],markerCount:6==s[e(455)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(455)];i++){if(t[e(386)]&&e(531)==s[i][e(345)])return t[e(451)]=s[i],void delete t[e(386)];if(!t[e(386)]&&!t[e(404)]&&e(427)==s[i][e(345)])return void(t[e(432)]=s[i])}}}[Xt(361)](t,e){const i=Xt;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(560)](o.id,s);for(let s=0;s<t[i(455)];s++){if(i(404)==e&&t[s][i(386)]||i(386)==e&&t[s][i(404)])continue;if(i(496)==t[s][i(345)]){t[s][i(619)]=0;continue}const n=r[i(418)](t[s][i(542)]),o=r[i(418)](t[s].id);t[s][i(619)]=n-o}}[Xt(411)](t,e,i=!1){const s=Xt,n=[];let r=this[s(340)][s(415)](t),o=this[s(340)][s(415)](e);for(-1==o&&(o=this[s(340)][s(452)][s(455)],i=!1);r<o;)n[s(482)](this[s(340)][s(510)](r)),r++;return i&&n[s(482)](this[s(340)][s(510)](r)),n}[Xt(636)](t,e,i,s){const n=Xt,r=this[n(525)][n(539)][n(372)];let o=e;for(;t[o]&&t[o][n(386)];)o++;let a=s;for(;i[a]&&i[a][n(404)];)a++;u(t,e,o),u(i,s,a);const c=i[n(632)](s,a)[n(419)](t[n(632)](e,o));return c[n(456)](((t,e)=>t[n(602)]!=e[n(602)]?t[n(602)]-e[n(602)]:t[n(394)]!=e[n(394)]?t[n(394)]-e[n(394)]:t[n(619)]!=e[n(619)]?e[n(619)]-t[n(619)]:!!t[n(386)]!=!!e[n(386)]?-1==t[n(602)]||0==t[n(602)]?t[n(386)]?-1:1:t[n(386)]?1:-1:t[n(453)]-e[n(453)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(547)],c=!0;for(let n=e;n<i;n++)if(r[s(347)](t[n][s(519)])||(c=!1),t[n][s(519)][s(521)]<e&&(o=n),t[n][s(519)][s(454)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(602)]=n<=o?-1:n<a?0:1,t[n][s(453)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(619)]?t[i][s(394)]=u:(u++,t[i][s(394)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(602)]&&(t[n][s(394)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(619)]?t[e][s(394)]=u:(u--,t[e][s(394)]=u,u--)}}[Xt(658)](t){const e=Xt,i=new Map,s=this[e(525)][e(539)][e(372)];for(let n=1;n<t[e(455)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(496)==c[e(345)])continue;if(c[e(345)]!=u[e(345)])continue;if(!s[e(450)](u[e(519)])||s[e(479)](u[e(519)]))continue;if(!s[e(450)](c[e(519)])||s[e(479)](c[e(519)]))continue;if((t[n][e(386)]||t[n][e(451)])&&t[n-1][e(404)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(404)]||!t[n-1][e(386)]&&!t[n-1][e(451)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(394)]==o[e(394)],h=Math[e(433)](r[e(394)])<Math[e(433)](o[e(394)])&&0==o[e(619)];(l||h)&&(i[e(560)](o.id,r.id),t[e(579)](a,1),n--,r[e(386)]=!1)}for(let s=0;s<t[e(455)];s++)i[e(548)](t[s][e(542)])&&(t[s][e(542)]=i[e(418)](t[s][e(542)]))}[Xt(513)](t){const e=Xt,i=new Set(t[e(552)]((t=>t.id)));for(let s=0;s<t[e(455)];s++)i[e(548)](t[s][e(542)])||0==t[s][e(619)]||(t[s][e(546)]=!0);return t[e(499)]((t=>!t[e(546)]))}[Xt(612)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(455)];s++){if(i[e(548)](t[s].id)&&t[s][e(404)]&&(t[s][e(546)]=!0),t[s][e(546)])continue;if(0==t[s][e(619)])continue;if(e(656)!=t[s][e(345)])continue;if(null==t[s][e(542)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(542)];)e(656)==t[n][e(345)]?r++:e(402)==t[n][e(345)]&&r--,n++;if(0!=r)if(t[s][e(404)])t[s][e(546)]=!0;else for(;n!=s;)t[n][e(404)]&&0!=t[n][e(619)]&&(t[n][e(546)]=!0,i[e(478)](t[n][e(542)])),n--}return t[e(499)]((t=>!t[e(546)]))}[Xt(356)](t){const e=Xt,i=this[e(525)][e(539)][e(372)];for(let s=0;s<t[e(455)];s++){if(!(t[s][e(386)]||t[s][e(451)]||t[s][e(404)]||t[s][e(432)]))continue;if(0==t[s][e(619)])continue;const n=t[s][e(519)];i[e(450)](n)||i[e(479)](n)||(t[s][e(386)]&&delete t[s][e(386)],t[s][e(451)]&&delete t[s][e(451)],t[s][e(432)]&&delete t[s][e(432)],t[s][e(404)]&&(t[s][e(546)]=!0))}return t[e(499)]((t=>!t[e(546)]))}[Xt(558)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(525)][s(539)],c=a[s(372)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(455)];e++)if(s(656)===t[e][s(345)]){t[e][s(646)]=a[s(598)](n,f);const i=new H.Element(t[e][s(519)][s(584)],t[e][s(519)][s(392)]());u[0][s(494)](i),f[s(482)](0),u[s(611)](i),t[e][s(485)]=a[s(598)](n,f)}else s(402)===t[e][s(345)]?(u[s(383)](),t[e][s(646)]=a[s(598)](n,f),f[s(599)](),f[f[s(455)]-1]++,t[e][s(485)]=a[s(598)](n,f)):(t[e][s(646)]=a[s(598)](n,f),d?d[s(515)]+=t[e][s(519)][s(465)]:d=new H.Text(t[e][s(519)][s(465)],t[e][s(519)][s(392)]()),t[e+1]&&s(496)===t[e+1][s(345)]&&v(d,t[e+1][s(519)])||(u[0][s(494)](d),d=null),f[f[s(455)]-1]+=t[e][s(519)][s(373)],t[e][s(485)]=a[s(598)](n,f));for(let e=0;e<t[s(455)];e++){const i=t[e][s(646)],n=t[e][s(485)];for(const n of t[e][s(473)])o[s(560)](n,{start:i,end:null});m(s(432),e,i,n),m(s(451),e,i,n),m(s(404),e,i,n),m(s(386),e,i,n);for(const i of t[e][s(448)]){const t=o[s(418)](i);t?t[s(555)]=n:o[s(560)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(525)][s(539)][s(498)](e[s(382)],e[s(555)]);n[s(471)][s(560)](t,i)}return r[s(456)](((t,e)=>{const i=s,r=n[i(471)][i(418)](i(559)+t.id),o=n[i(471)][i(418)](i(559)+e.id);return r[i(382)][i(582)](o[i(382)])?-1:r[i(382)][i(629)](o[i(382)])?1:r[i(555)][i(582)](o[i(555)])?-1:r[i(555)][i(629)](o[i(555)])?1:i(478)===t[i(345)]?-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(428)]:null,d=i===t[o(455)]-1,f=h[e][0],m=c[o(538)](t[i][o(519)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(555)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(428)]!==u&&(l[e][o(555)]=n,f&&f[o(428)]===l[e][o(428)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(656)!==t[i][o(345)]||f&&f[o(428)]===u||h[e][o(611)]({userId:u,object:t[i][o(519)],change:l[e]}),o(402)===t[i][o(345)]&&f&&f[o(603)]===t[i][o(519)]&&(h[e][o(383)](),l[e]=f[o(643)])),l[e]&&d&&(l[e][o(555)]=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(519)],f=a[h(372)][h(450)](d)&&!a[h(372)][h(479)](d),m=t[h(497)]==o[h(508)]&&o[h(635)];if(f&&m)return;const p=a[h(498)](t,o),v=e[h(418)](u),g=new $t({author:v,type:h(386)==l||h(451)==l?h(478):h(385),data:{isSuggestion:h(451)==l||h(432)==l},createdAt:new Date,rootName:i});r[h(482)](g),n[h(471)][h(560)](h(559)+g.id,p)}function v(t,e){const i=s,n=t[i(392)](),r=e[i(392)]();for(const t of n){if(t[1]!==e[i(630)](t[0]))return!1;r[i(536)]()}return r[i(536)]()[i(580)]}}[Xt(628)](){const t=Xt;this[t(525)][t(440)][t(367)](t(424))[t(657)]({view:t(390)}),this[t(525)][t(440)][t(367)](t(358))[t(518)]({model:t(390),view:e=>{const i=t,s=e[i(577)][i(595)](":")[1],n=this[i(605)](s);if(!n)return null;const r=i(478)==n[i(345)]?i(531):i(427),o=[i(543),i(393)+r];return n[i(465)][i(514)]&&o[i(482)](i(393)+r+i(640)),this[i(618)]==n&&o[i(482)](i(467)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(525)][t(440)][t(367)](t(424))[t(478)]((e=>{const i=t;e.on(i(352),((t,e,s)=>{const n=i,r=e[n(441)][n(460)](0);if(!r||!r.is(n(420),n(387)))return;if(!s[n(395)][n(374)](r,{attributes:[n(649),n(651)]}))return;const o=e[n(380)][n(382)][n(497)];s[n(349)][n(561)](n(649),r[n(630)](n(649)),o),s[n(349)][n(561)](n(651),r[n(630)](n(651)),o)}),{priority:i(563)})})),this[t(525)][t(440)][t(367)](t(424))[t(478)]((e=>{const i=t;e.on(i(420),((t,e,s)=>{const n=i;if(!s[n(395)][n(374)](e[n(441)],{attributes:[n(649),n(651)]}))return;if(e[n(380)][n(549)])return;const r=e[n(380)][n(382)][n(497)];r[n(369)](n(649))||r[n(369)](n(414))||(s[n(349)][n(561)](n(649),e[n(441)][n(630)](n(649)),r),s[n(349)][n(561)](n(651),e[n(441)][n(630)](n(651)),r))}),{priority:i(563)})})),this[t(525)][t(440)][t(367)](t(424))[t(391)]({view:{name:t(535),attributes:{vid:!0}},model:{key:t(414),value:e=>e[t(630)](t(414))}}),this[t(525)][t(539)][t(372)].on(t(484),((e,[,i])=>{const s=t;[s(649),s(651),s(414)][s(585)](i)&&(e[s(607)]=!0,e[s(343)]())}),{priority:t(652)}),this[t(525)][t(440)][t(367)](t(507))[t(478)]((e=>{const i=t;e.on(i(520),((t,e,s)=>{const n=i;if(" "!=e[n(519)][n(465)]||e[n(519)][n(508)][n(606)]>1)return;if(!s[n(395)][n(374)](e[n(519)],t[n(584)]))return;const r=s[n(349)],o=s[n(621)][n(363)](e[n(362)]);r[n(583)](o,r[n(608)](n(535)))}))})),this[t(525)][t(440)][t(367)](t(507))[t(537)]({model:t(390)}),this[t(525)][t(370)][t(466)].on(t(544),function(e){const i=t,s=e[i(505)][i(418)](i(533));return(t,n,r)=>{const o=i,a=n[o(577)][o(595)](":")[1],c=s[o(605)](a);if(!c)return null;const u=o(478)==c[o(345)]?o(595):o(650);if(!r[o(395)][o(488)](n[o(597)],t[o(584)]))return;const l=n[o(597)][o(524)](),h=n[o(597)][o(382)],d=e[o(539)][o(372)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(519)];p=p||d[o(421)](e);const i=r[o(621)][o(565)](e);if(i&&i[o(540)](o(601)))return;o(402)==t[o(345)]&&d[o(450)](e)&&!d[o(479)](e)&&(e[o(429)]||h[o(626)]?f&&f[o(508)]==e||(f=e,g(t[o(646)]),v=!0):m=m||t[o(646)])}function g(t){const e=o,i=r[e(349)][e(399)](e(535),{class:e(393)+u}),a=r[e(621)][e(377)](t);c[e(465)][e(514)]&&r[e(349)][e(617)](e(393)+u+e(640),i),s[e(618)]==c&&r[e(349)][e(617)](e(467),i),r[e(349)][e(641)](a,i),r[e(621)][e(463)](i,n[e(577)])}p||v||!m||g(m)}}(this[t(525)]),{priority:t(430)}),this[t(525)][t(370)][t(466)].on(t(468),((e,i,s)=>{const n=t,r=s[n(621)][n(490)](i[n(577)]);if(r)for(const t of r)(t[n(346)](n(476))||t[n(346)](n(388)))&&(s[n(621)][n(437)](t,i[n(577)]),s[n(349)][n(385)](t))}),{priority:t(430)}),this[t(525)][t(370)][t(466)].on(t(544),((e,i,s)=>{const n=t,r=i[n(577)][n(595)](":")[1],o=this[n(605)](r);if(!o)return null;const a=n(478)==o[n(345)]?n(595):n(650);if(s[n(395)][n(488)](i[n(597)],e[n(584)]))for(const t of i[n(597)][n(578)]()){if(!t.is(n(420),n(400)))continue;const e=s[n(349)][n(399)](n(535),{class:n(393)+a}),r=s[n(621)][n(377)](this[n(525)][n(539)][n(401)](t));o[n(465)][n(514)]&&s[n(349)][n(617)](n(393)+a+n(640),e),this[n(618)]==o&&s[n(349)][n(617)](n(467),e),s[n(349)][n(641)](r,e),s[n(621)][n(463)](e,i[n(577)])}}),{priority:t(430)}),this[t(525)][t(539)][t(338)].on(t(643),(()=>{const e=t;this[e(525)][e(370)][e(556)][e(643)]((t=>{const i=e;for(const e of this[i(525)][i(539)][i(338)][i(588)]()){const s=this[i(525)][i(539)][i(338)][i(396)](e),n=this[i(525)][i(370)][i(556)][i(338)][i(396)](e);if(n){const e=s[i(630)](i(622));if(t[i(576)](i(586),n),t[i(609)](i(551),n),t[i(609)](i(481),n),t[i(609)](i(529),n),e){const s=this[i(605)](e);if(!s)return null;t[i(561)](i(586),e,n),t[i(617)](i(351)+s[i(345)],n),this[i(618)]==s&&t[i(617)](i(529),n)}}}}))})),this[t(525)][t(440)][t(367)](t(424))[t(657)]({view:t(638),model:e=>t(379)+e,converterPriority:t(652)}),this[t(525)][t(440)][t(367)](t(424))[t(657)]({view:t(569),model:e=>t(487)+e,converterPriority:t(652)}),this[t(525)][t(440)][t(367)](t(507))[t(537)]({model:t(491),view:e=>({name:t(589)+e,group:t(491)}),converterPriority:t(652)}),this[t(525)][t(440)][t(367)](t(358))[t(518)]({model:t(491),view:e=>{const i=t,s=e[i(577)][i(595)](":")[1];return i(531)!=s&&i(427)!=s?null:{classes:[i(443),i(642)+s]}}}),this[t(525)][t(370)][t(466)].on(t(614),ie(this[t(525)],t(650)),{priority:t(430)}),this[t(525)][t(370)][t(466)].on(t(438),ie(this[t(525)],t(595)),{priority:t(430)}),this[t(525)][t(370)][t(466)].on(t(417),((e,i,s)=>{const n=t,r=s[n(621)][n(490)](i[n(577)]);if(r)for(const t of r)t.is(n(389))&&(s[n(621)][n(437)](t,i[n(577)]),s[n(349)][n(385)](t))}),{priority:t(430)})}[Xt(605)](t){const e=Xt;return this[e(631)][e(418)](t)}[Xt(344)](t){const e=Xt;return this[e(550)]&&this[e(550)][e(590)](),this[e(550)]=new Wt(this[e(525)][e(634)],t),this[e(550)]}[Xt(600)](){const t=Xt;this[t(525)][t(539)][t(338)][t(445)][t(339)](t(390)),this.on(t(654),((e,i,s,n)=>{const r=t;n&&this[r(625)][r(385)](n),s&&(this[r(625)][r(478)]({view:s,stackId:r(534),position:{target:()=>{const t=r,e=this[t(525)][t(370)],i=this[t(605)](s[t(457)]);let n;if(i[t(465)][t(587)]){const s=e[t(556)][t(381)](i[t(596)]);n=Array[t(469)](s[t(442)]())}else{const i=this[t(525)][t(539)][t(471)][t(418)](t(559)+s[t(457)]);n=Array[t(469)](e[t(621)][t(490)](i[t(584)]))[t(552)]((i=>e[t(556)][t(376)][t(436)](i)))[t(552)]((e=>Array[t(469)](e[t(442)]())))[t(474)]()}return this[t(365)]&&n[t(545)]((e=>e[t(624)]-3<=this[t(365)].y&&e[t(571)]+3>=this[t(365)].y&&e[t(644)]-3<=this[t(365)].x&&e[t(354)]+3>=this[t(365)].x))||n[0]}}}),this[r(625)][r(511)](r(534)))})),this.on(t(444),((e,i,s,n)=>{const r=t;this[r(472)]=s?this[r(344)](s):null,this[r(525)][r(539)][r(643)]((()=>{const t=r,e=this[t(525)][t(370)];n&&(n[t(465)][t(587)]?e[t(556)][t(643)]((i=>{const s=t;i[s(609)](s(529),e[s(556)][s(338)][s(396)](n[s(596)]))})):e[t(568)](t(559)+n.id)),s&&(s[t(465)][t(587)]?e[t(556)][t(643)]((i=>{const n=t;i[n(617)](n(529),e[n(556)][n(338)][n(396)](s[n(596)]))})):e[t(568)](t(559)+s.id))}))})),this[t(489)](this[t(525)][t(370)][t(556)][t(338)],t(573),((e,i)=>{const s=t;if(this[s(618)])return;const n=this[s(557)](i[s(464)]),r=this[s(631)][s(418)](n);r?(this[s(365)]={x:i[s(398)].x,y:i[s(398)].y},this[s(472)]=this[s(344)](r)):(this[s(365)]=null,this[s(472)]=null)})),this[t(489)](this[t(525)][t(370)][t(556)][t(338)],t(503),((e,i)=>{const s=t,n=this[s(557)](i[s(464)]),r=this[s(631)][s(418)](n);r?(this[s(365)]={x:i[s(398)].x,y:i[s(398)].y},r===this[s(618)]?this[s(625)][s(610)]():this[s(618)]=r):(this[s(365)]=null,this[s(618)]=null)}))}[Xt(557)](t){const e=Xt;do{const i=t[e(630)](e(586));if(i)return i;t=t[e(508)]}while(t);return null}[Xt(486)](){const t=Xt;this[t(525)][t(539)][t(643)]((e=>{const i=t;for(const t of this[i(525)][i(539)][i(471)])e[i(575)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(395)][r(488)](s[r(597)],i[r(584)]))return;const o=s[r(597)][r(524)](),a=s[r(597)][r(382)],c=t[r(539)][r(372)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(519)];h=h||c[r(421)](e);const i=n[r(621)][r(565)](e);if(i&&i[r(540)](r(601)))return;r(402)==t[r(345)]&&c[r(450)](e)&&!c[r(479)](e)&&(e[r(429)]||a[r(626)]?u&&u[r(508)]==e||(u=e,f(t[r(646)]),d=!0):l=l||t[r(646)])}function f(t){const i=r,o=n[i(621)][i(377)](t),a=n[i(349)][i(399)](i(535),{class:i(642)+e});n[i(349)][i(641)](o,a),n[i(621)][i(463)](a,s[i(577)])}h||d||!l||f(l)}}class se extends Z.Command{constructor(t){const e=Xt;super(t);const i=t[e(505)][e(418)](ee);this[e(554)]=!1,this[e(489)](i,e(495),(()=>this[e(405)]())),this[e(489)](i,e(412),(()=>this[e(405)]()))}[Xt(564)](){const t=Xt,e=this[t(525)],i=e[t(505)][t(418)](ee),s=i[t(335)]?i[t(541)][t(408)]:null;e[t(492)][t(418)](t(337))[t(477)](s)}[Xt(405)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(525)][t(505)][t(418)](ee),r=n&&s[t(500)](n[t(408)]);this[t(470)]=e&&i&&Boolean(r)}}class ne extends Z.Command{[Xt(616)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(505)][i(418)](ee);this[i(554)]=!1,this[i(616)]=i(594)===e?1:-1,this[i(489)](s,i(495),(()=>this[i(405)]())),this[i(489)](s,i(412),(()=>this[i(405)]())),this[i(489)](s,i(444),(()=>this[i(405)]()))}[Xt(564)](){const e=Xt,i=this[e(525)],s=i[e(505)][e(418)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(618)]=n?s[e(541)][e(459)][e(418)](r+this[e(616)]):s[e(541)][e(459)][e(475)],s[e(618)][e(465)][e(587)])o=i[e(370)][e(556)][e(381)](s[e(618)][e(596)]);else{const t=i[e(539)][e(471)][e(418)](e(559)+s[e(618)].id);o=(0,U.getMarkerDomElement)(i[e(370)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(405)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(525)][t(505)][t(418)](ee);this[t(470)]=!!(r&&n&&s)&&(!e||(1===this[t(616)]?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(){const t=["setTemplate","4399773GpAgMe","14ksdgEP","Loading...","_statusText","EDIT_X_OF_Y_REVISIONS","Show previous change","isNavigationMode","_isStatusLabelVisible","isBackwardNavigationEnabled","8226IXTUZD","span","ck-hidden","NUMBER_OF_CHANGES","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation","isEnabled","1DYSYsf","div","isReady","X_OF_Y_CHANGES","numberOfChanges","backward","ck-revision-history-ui","fire","ck-revision-history-ui__changes-navigation__wrapper","bindTemplate","5319892MavNRE","forward","set","currentChangeNumber","execute","No changes","2755490VxSABI","bind","8620rdujxx","80820FrWEqE","7584834MstCSG","Show next change","942680bXMIVL","Total","ck-revision-history-ui__changes-navigation__navigation"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=209]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(786258===-parseInt(e(251))/1*(-parseInt(e(224))/2)+parseInt(e(234))/3+-parseInt(e(218))/4+-parseInt(e(227))/5+-parseInt(e(228))/6+-parseInt(e(235))/7*(parseInt(e(230))/8)+parseInt(e(243))/9*(parseInt(e(226))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(217)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(220)](e(240),!1),this[e(220)](e(210),!1),this[e(220)](e(221),0),this[e(220)](e(212),0),this[e(220)](e(247),!1),this[e(220)](e(242),!1),this[e(225)](e(241)).to(this,e(210),this,e(212),((t,e)=>t&&e>0)),this[e(225)](e(237)).to(this,e(210),this,e(221),this,e(212),this,e(240),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(236));if(!n)return Q(t,o(223));const a=Q(t,o(246),n);return r?Q(t,o(211),[s+1,n]):a})),s[e(220)]({label:Q(t,e(239)),tooltip:!0,icon:mt.IconChevronUp}),n[e(220)]({label:Q(t,e(229)),tooltip:!0,icon:mt.IconChevronDown}),s[e(225)](e(250)).to(this,e(242)),n[e(225)](e(250)).to(this,e(247)),s.on(e(222),(()=>this[e(215)](e(222),e(213)))),n.on(e(222),(()=>this[e(215)](e(222),e(219)))),this[e(233)]({tag:e(209),attributes:{class:["ck",e(214),e(249)]},children:[{tag:e(244),attributes:{class:[e(216)]},children:[{tag:e(244),attributes:{class:[e(248),i.if(e(241),e(245),(t=>!t))]},children:[{text:i.to(e(240),(i=>i?Q(t,e(238))+": ":Q(t,e(231))+": "))}]},{text:i.to(e(237))}]},new pt.ToolbarSeparatorView,{tag:e(209),attributes:{class:[e(232)]},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=ve();return(fe=function(t,e){return i[t-=392]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(609831===-parseInt(e(399))/1*(parseInt(e(404))/2)+-parseInt(e(403))/3*(-parseInt(e(415))/4)+-parseInt(e(407))/5*(-parseInt(e(401))/6)+-parseInt(e(414))/7*(parseInt(e(419))/8)+parseInt(e(400))/9*(parseInt(e(416))/10)+parseInt(e(394))/11*(parseInt(e(397))/12)+-parseInt(e(410))/13*(parseInt(e(411))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const me=de(392);class pe extends Z.Plugin{static get[de(406)](){return de(393)}static get[de(402)](){return!0}static get[de(398)](){return!0}[de(413)](){const t=de,e=this[t(420)][t(409)][t(405)];e[t(418)]((i=>{const s=t;for(const t of e[s(396)][s(395)])i[s(408)](me,t)}))}[de(412)](){const t=de,e=this[t(420)][t(409)][t(405)];e[t(418)]((i=>{const s=t;for(const t of e[s(396)][s(395)])i[s(417)](me,t)}))}}function ve(){const t=["roots","document","23712ALOQpD","isPremiumPlugin","160199pJvzdr","66573GotsfH","186NHfGwJ","isOfficialPlugin","24NujdOn","10lnNytu","view","pluginName","72040OfnZhJ","addClass","editing","905853xyguFA","70QqGETB","hide","show","65779iSyxYb","3992skGKRH","1190EOXZng","removeClass","change","352eGESjK","editor","ck-editor__editable__loading-overlay","RevisionViewerLoadingOverlay","4664qtugmF"];return(ve=function(){return t})()}function ge(t,e){const i=ke();return(ge=function(t,e){return i[t-=126]})(t,e)}const ye=ge;function ke(){const t=["Restore this revision","showPreviousChange","showNextChange","isEnabled","currentChangeNumber","isNavigationMode","closeRevisionViewerCallback","numberOfChanges","show","isOfficialPlugin","140ikrtgK","config","componentFactory","editor","3387564gZXsGB","revisionHistory","isPremiumPlugin","bind","pluginName","isForwardNavigationEnabled","changesNavigation","change:isReady","set","get","Back to editing","restoreRevision","listenTo","exitToEditing","hide","ck-revision-history-ui__back-to-editing","30ElmfWz","add","commands","plugins","isBackwardNavigationEnabled","execute","forward","843980lDYqgC","RevisionViewerUI","requires","123390XaRmWk","14WmXNfM","293049XxdKoo","init","3523440gDyCTM","isReady","159448hxxHuc","94585LnCmCQ","44sfsHBF","369CCsEWJ"];return(ke=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(469593===-parseInt(e(138))/1+-parseInt(e(142))/2*(parseInt(e(143))/3)+parseInt(e(145))/4+parseInt(e(148))/5*(parseInt(e(131))/6)+parseInt(e(161))/7*(parseInt(e(147))/8)+parseInt(e(150))/9*(-parseInt(e(141))/10)+-parseInt(e(149))/11*(-parseInt(e(165))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends Z.Plugin{static get[ye(169)](){return ye(139)}static get[ye(160)](){return!0}static get[ye(167)](){return!0}static get[ye(140)](){return[ee,pe]}[ye(144)](){const t=ye,e=this[t(164)],i=e[t(134)][t(174)](ee),s=e[t(134)][t(174)](pe);e.ui[t(163)][t(132)](t(128),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(173)]({label:Q(i,s(175)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(130)}),this[s(127)](n,s(136),(()=>{const t=s;e[t(162)][t(174)](t(166))[t(157)]()})),n})),e.ui[t(163)][t(132)](t(126),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(173)]({label:Q(i,s(151)),withText:!0,tooltip:!0}),n[s(168)](s(154)).to(e[s(133)][s(174)](s(126))),this[s(127)](n,s(136),(()=>e[s(136)](s(126)))),n})),e.ui[t(163)][t(132)](t(171),(s=>{const n=t,r=new ue(s),o=e[n(133)][n(174)](n(152)),a=e[n(133)][n(174)](n(153));return r[n(168)](n(135)).to(o,n(154)),r[n(168)](n(170)).to(a,n(154)),r[n(168)](n(146),n(155),n(158),n(156)).to(i),this[n(127)](r,n(136),((t,i)=>{const s=n;e[s(136)](s(137)===i?s(153):s(152))})),r})),s[t(159)](),i.on(t(172),((e,i,n)=>{const r=t;n?s[r(129)]():s[r(159)]()}))}}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;function Ie(){const t=["placeholder","clientWidth","21DhRoGO","149956zZKhPv","238452DnszAW","scrollWidth","158hmSMAP","184768zEatFO","destroy","Revision name","_tooltipString","650088OijPRI","ck-tooltip_multi-line","_resizeObserver","element","span","7509WSWceo","fieldView","_updateTooltipText","Enter the revision name","bindTemplate","ck-revision-history-sidebar__revision-name","52314rZiSKj","extendTemplate","value","input","listenTo","686075NpEHCi","set","render"];return(Ie=function(){return t})()}const Se=Oe;function Oe(t,e){const i=Ie();return(Oe=function(t,e){return i[t-=461]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(105114===parseInt(e(479))/1+-parseInt(e(482))/2*(parseInt(e(462))/3)+-parseInt(e(480))/4+parseInt(e(473))/5+-parseInt(e(468))/6*(-parseInt(e(478))/7)+-parseInt(e(483))/8+parseInt(e(487))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Te extends pt.LabeledFieldView{[Se(489)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(466)];this[i(474)]({label:Q(t,i(485)),_tooltipString:""}),this[i(463)][i(476)]=Q(t,i(465)),this[i(469)]({tag:i(461),attributes:{class:[i(467)],"data-cke-tooltip-text":s.to(i(486)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(488)}})}[Se(475)](){const e=Se;super[e(475)](),this[e(489)]=new t.ResizeObserver(this[e(463)][e(490)],(()=>this[e(464)]())),this[e(472)](this[e(463)],e(471),(()=>this[e(464)]()))}[Se(484)](){const t=Se;super[t(484)](),this[t(489)]&&this[t(489)][t(484)]()}[Se(464)](){const t=Se,e=this[t(463)][t(490)];this[t(486)]=e[t(481)]>e[t(477)]&&e[t(470)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ve();return(Re=function(t,e){return i[t-=320]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(732862===-parseInt(e(325))/1+parseInt(e(339))/2*(parseInt(e(326))/3)+parseInt(e(328))/4*(parseInt(e(335))/5)+-parseInt(e(336))/6*(parseInt(e(320))/7)+-parseInt(e(332))/8+parseInt(e(322))/9*(-parseInt(e(333))/10)+parseInt(e(327))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ae extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(323)]({content:mt.IconUser,viewBox:s(341)});const r=["ck",s(340)];i&&r[s(324)](s(334));const o=[{tag:s(337),attributes:{class:["ck",s(338)],title:Q(t,s(i?321:331))},children:[n,e[s(329)]]}];this[s(330)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){const t=["setTemplate","Revision author","8537040Ueyhqm","68620ZXXirV","ck-revision-history-sidebar__revision-author_creator","17795RrwCpm","234lJfWDw","span","ck-revision-history-sidebar__revision-author__name","34mdqLqe","ck-revision-history-sidebar__revision-author","0 0 11 10","245329PeZQRe","Revision creator","1611sShbtM","set","push","1104492IUtpmz","170718orWDZG","49736896NvnCRc","12YHBVTy","name"];return(Ve=function(){return t})()}function Me(){var t=["numeric","30206pVyeWo","2470oytbkE","1610976hzZJfV","18iXneoy","toLocaleTimeString","1986mBXQDl","long","254118PEXKdY","1988615MyslSu","toLocaleDateString","3423fZoavv","73600DejcgT","4BbjuRL","802384DaxLag"];return(Me=function(){return t})()}function De(t,e){var i=Me();return(De=function(t,e){return i[t-=220]})(t,e)}!function(t){for(var e=De,i=t();;)try{if(256754===-parseInt(e(226))/1+parseInt(e(227))/2*(parseInt(e(222))/3)+parseInt(e(232))/4+parseInt(e(223))/5+-parseInt(e(220))/6*(parseInt(e(225))/7)+-parseInt(e(228))/8*(-parseInt(e(233))/9)+-parseInt(e(231))/10*(parseInt(e(230))/11))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=Le();return(Fe=function(t,e){return i[t-=497]})(t,e)}function Le(){const t=["extendTemplate","2669412MFRrkV","Show more items","model","4528650LVkLmp","add","name","bindTemplate","isEnabled","bind","buttonView","class","isActionsDropdownOpen","Restore this revision","panelPosition","1571387mGdtLv","first","102840cqoftX","Compare against selected","execute","isReady","7727356cMNoRE","Name this revision","isOpen","action","menu","ck-revision-history-sidebar__revision__actions","709724GwCsKy","isVisible","map","ck-on","3688422FIwweI","listenTo","source","function","children","change:isActionsDropdownOpen","items","_action","locale","set","menuitem","listView","button","stopPropagation","find"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(876617===parseInt(e(542))/1+parseInt(e(508))/2+parseInt(e(498))/3+-parseInt(e(528))/4+-parseInt(e(531))/5+-parseInt(e(512))/6+parseInt(e(502))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=Ze;function We(){const t=["select","12mISDAq","from","isReady","createdAt","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision","extendTemplate","name","render","ck-revision-history-sidebar__revision__date","listenTo","value","1ffmeXO","10885824PnzxVs",".ck-thread__remove-confirm","creator","10dJwosw","983031QhNmKz","deselect","fieldView","_requireRevisionName","revisionNameView","isEnabled","element","_createdAtFormatted","isActionsDropdownOpen","span","ck-revision-history-sidebar__revision-authors","revisionActionsView","_revision","isHighlighted","map","setTemplate","srcElement","unhighlight","2215297ZbMeJZ","5891017NCrzJe","bindTemplate","change","unshift","220","ck-disabled","ck-revision-history-sidebar__revision-wrapper","set","authors","ck-reset","5apWOgD","isSelected","uiLanguage","ck-revision-history-sidebar__actions_dropdown_open","length","fire","2304644EGnATU","1287888mZqZwG","bind","closest","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","isConfirm","highlight","filter","div","3436640KsDiZE","ck-revision-history-sidebar__revision_highlighted"];return(We=function(){return t})()}function Ze(t,e){const i=We();return(Ze=function(t,e){return i[t-=274]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(648427===-parseInt(e(283))/1*(parseInt(e(324))/2)+parseInt(e(288))/3+parseInt(e(323))/4*(parseInt(e(317))/5)+-parseInt(e(337))/6*(-parseInt(e(306))/7)+parseInt(e(334))/8+-parseInt(e(284))/9+-parseInt(e(287))/10*(-parseInt(e(307))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ue extends((0,U.ConfirmMixin)(pt.View)){id;[ze(292)];[ze(299)];[ze(300)];[ze(291)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(308)],a=function(t,e){const i=r,s=Array[i(338)](e[i(315)])[i(332)]((t=>t!=e[i(286)]));return e[i(286)]&&s[i(310)](e[i(286)]),s[i(302)]((s=>new Ae(t,s,s==e[i(286)])))}(e,i);this.id=i.id,this[r(300)]=i,this[r(291)]=n,this[r(325)](r(278),r(274)).to(i),this[r(325)](r(295)).to(this,r(274),(t=>{return i=e[r(319)],(s=t)[(n=De)(224)](i,{month:n(221),day:n(229)})+", "+s[n(234)](i,{hour:n(229),minute:n(229)});var i,s,n})),this[r(314)](r(318),!1),this[r(314)](r(301),!1),this[r(314)](r(296),!1),this[r(314)](r(339),!1),this[r(314)](r(293),!1),this[r(292)]=new Te(e,pt.createLabeledInputText),this[r(292)][r(290)][r(277)]({attributes:{maxlength:r(311)}}),this[r(292)][r(290)][r(325)](r(282)).to(this,r(278),(t=>t||this[r(295)])),this[r(292)][r(325)](r(293)).to(this,r(318),this,r(293),((t,e)=>t&&e)),this[r(299)]=s&&s[r(321)]?function(e,i){const s=Fe,n=e[s(534)],r=e[s(520)],o=(0,pt.createDropdown)(r);o[s(541)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(520)],n={"Compare against selected":Q(s,i(499)),"Name this revision":Q(s,i(503)),"Restore this revision":Q(s,i(540))};return e[i(510)]((t=>{const e=i,s=n[t[e(533)]];return s&&s!==t[e(533)]&&(t[e(533)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(524),model:new pt.ViewModel({label:t[n(533)],class:t[n(538)],withText:!0,role:n(522),_action:t[n(505)]})};i[n(530)][n(536)](n(535)).to(e,n(539),(i=>n(515)!=typeof t[n(535)]||!i||t[n(535)](e))),o[n(532)](i)}return o}(e,i);return e[s(536)](s(539)).to(o,s(504)),o[s(537)][s(521)]({label:Q(r,s(529)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(527)]({attributes:{class:[s(507),n.if(s(539),s(511))]},on:{click:n.to((t=>t[s(525)]()))}}),o.on(s(500),(t=>{const i=s;e[i(501)]&&i(515)==typeof t[i(514)][i(519)]&&t[i(514)][i(519)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(506)}),o[s(513)](e,s(517),((t,n,r)=>{const a=s;if(r)for(const t of o[a(523)][a(518)]){const s=t[a(516)][a(497)],n=i[a(526)]((t=>t[a(505)]===s[a(519)]))[a(509)];t[a(509)]=void 0===n||n(e)}})),o}(this,s):"",this[r(299)]&&this[r(299)][r(325)](r(293)).to(this),this[r(303)]({tag:r(333),attributes:{class:["ck",r(316),r(313),o.if(r(330),r(328))]},children:[{tag:r(333),attributes:{class:["ck",r(316),r(276),o.if(r(293),r(312),(t=>!t)),o.if(r(318),r(327)),o.if(r(301),r(335)),o.if(r(296),r(320))]},children:[this[r(292)],{tag:r(297),attributes:{class:["ck",r(280)]},children:[{text:o.to(r(295))}]},{tag:r(333),attributes:{class:["ck",r(275)]},children:[{tag:"ul",attributes:{class:["ck",r(298)]},children:a}]},this[r(299)]],on:{click:o.to((t=>{const e=r;t[e(304)][e(326)](e(285))||this[e(339)]&&this[e(293)]&&this[e(322)](e(336),{id:this.id})}))}}]})}[ze(279)](){const t=ze;super[t(279)]();const e=this[t(292)][t(290)][t(294)];this[t(281)](e,t(309),(()=>{const i=t;this[i(291)]&&!e[i(282)]||this[i(322)](i(329),{id:this.id,name:e[i(282)]}),e[i(282)]||(e[i(282)]=this[i(278)]?this[i(278)]:this[i(295)])}))}[ze(336)](){this[ze(318)]=!0}[ze(289)](){this[ze(318)]=!1}[ze(331)](){this[ze(301)]=!0}[ze(305)](){this[ze(301)]=!1}}class He extends Error{}class $e extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,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 Us(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 xi={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={},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=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return 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=xi[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 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 Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=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&&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=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 Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Zi{static fromOpts(t){return Zi.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 Zi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Di={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Zi.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?Zi.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 Li(this,t,Xs,(()=>{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 Li(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 Li(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 Li(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 ji(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: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):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 Ui=null;class Hi extends Ii{static get utcInstance(){return null===Ui&&(Ui=new Hi(0)),Ui}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(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?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.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]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=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=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Zi.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}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=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(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,js(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 Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(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 Je("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 Je("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 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 Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?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(Ls(t)-s+n)/7}function Zs(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(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 Je(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ns(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 Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];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 Qs=["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[...Qs];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 Xs(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 xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.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(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?Zs(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.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:Hs(l,h),[d,new Hi(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$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Zn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Un=fn(/(\d{4})-?(\d{3})/,bn),Hn=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,xn,Nn),qn=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="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||Zi.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 Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:qs(t,lr.normalizeUnit),loc:Zi.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 Je(`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,Gn])}(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 Je("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 Ge(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):Qn}toHuman(t={}){if(!this.isValid)return Qn;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]=$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 Je("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 Ri.isValidZone(t)}static normalizeZone(t){return qi(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Zi.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+=Gi.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])=>Hs(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=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{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,Zs);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 Hi(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(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 xr(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 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 Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return 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,js(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(Zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Zr(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 Ur(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 Hr={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"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(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=Zi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[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]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(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 Qr(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=Lr(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||Zi.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]=Qr(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]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.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:Zi.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:Zi.fromObject(e)});throw new Je(`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:Zi.fromObject(e)});throw new Je("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=Zi.fromObject(e),n=qs(t,Jr),{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=Lr(a,c);m?(p=Yr,v=$r,g=ps(g,r,o)):u?(p=Gr,v=qr,g=gs(g)):(p=Br,v=Hr);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,Ls(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]=jr(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,$n],[Zn,qn],[Un,Bn],[Hn,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],[Ln,Pn],[jn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.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,[Jn,$n],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof 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=Rr(t,Zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Zi.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=Lr(a,r),l=Lr(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 js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(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(Hi.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]=jr(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,Jr),{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(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(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=Zr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Zr(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":"")+Ur(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?Zr(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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(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 Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Zi.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=Zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?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 Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=381]})(t,e)}function ro(){const t=["weekdayLong","local","week","3PGSUVK","day","115507XQGaIN","month","1588965bfKlet","2950032DiFbno","startOf","3372uyIkvX","monthLong","toRelativeCalendar","586016mpglmZ","865nUmgnR","fromJSDate","766370psOSAN","926964OzaWGD","setLocale","hasSame","toJSDate","year","minus","27ILdpTv"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(403)](t)[i(382)](e),n=io[i(389)](),r=n[i(386)]({days:1})[i(397)](i(392));let o,a;return s[i(383)](n,i(392))?(o=s[i(397)](i(392))[i(384)](),a=s[i(400)]()):s[i(383)](r,i(392))?(o=r[i(384)](),a=s[i(400)]()):s[i(383)](n,i(390))?(o=s[i(397)](i(390))[i(384)](),a=s[i(388)]||""):s[i(383)](n,i(385))?(o=s[i(397)](i(394))[i(384)](),a=s[i(399)]||""):(o=s[i(397)](i(385))[i(384)](),a=String(s[i(385)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(220204===-parseInt(e(393))/1+parseInt(e(401))/2*(parseInt(e(391))/3)+-parseInt(e(381))/4+parseInt(e(402))/5*(-parseInt(e(398))/6)+-parseInt(e(395))/7+parseInt(e(396))/8+-parseInt(e(387))/9*(-parseInt(e(404))/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=["remove","span","_requireRevisionName","div","startDate","3ACFFnL","uiLanguage","ck-revision-history-sidebar__time-period","4086030xuRBXM","2741528zKuCuk","delegate","add","8354904mgRibe","_revisionActions","setName","removeRevision","createCollection","localizedPeriodName","807947vQoKHU","locale","ck-revision-history-sidebar__time-period__revisions","addRevision","select","setTemplate","9ferlPI","142404QiYVNH","find","119sMnynb","88KToQIc","ck-revision-history-sidebar__time-period__label","7392955edVvfk","2210804VUVNlD","revisionViews"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=287]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(805108===-parseInt(e(291))/1+-parseInt(e(315))/2+-parseInt(e(311))/3*(-parseInt(e(304))/4)+-parseInt(e(303))/5+-parseInt(e(298))/6*(parseInt(e(300))/7)+parseInt(e(318))/8*(parseInt(e(297))/9)+parseInt(e(314))/10*(parseInt(e(301))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(310)];[uo(305)];[uo(319)];[uo(308)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(292)][n(312)])[n(290)];this[n(310)]=e,this[n(305)]=this[n(289)](),this[n(319)]=i,this[n(308)]=s,this[n(305)][n(316)](n(295)).to(this),this[n(305)][n(316)](n(287)).to(this),this[n(296)]({tag:n(309),attributes:{class:["ck",n(313)]},children:[{tag:n(307),attributes:{class:["ck",n(302)]},children:[{text:r}]},{tag:n(309),attributes:{class:["ck",n(293)]},children:this[n(305)]}]})}[uo(294)](t){const e=uo,i=new Ue(this[e(292)],t,this[e(319)],this[e(308)]);this[e(305)][e(317)](i)}[uo(288)](t){const e=uo,i=this[e(305)][e(299)]((e=>e.id===t.id));this[e(305)][e(306)](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-=352]})(t,e)}function go(){const t=["305MDZQNZ","9vzBxxu","div","3263952nUvumT","45246BvVNrZ","6517010QVsVEz","3353dgYpml","Revision history","192805rYkIPh","ck-revision-history-sidebar__header__label","ck-reset_all","setTemplate","span","content","3wKDMzA","ck-revision-history-sidebar__header","60438SmnOqB","22550264yNoEGC","17432oKYKfU"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(547983===-parseInt(e(358))/1+parseInt(e(366))/2+-parseInt(e(364))/3*(-parseInt(e(353))/4)+parseInt(e(369))/5*(-parseInt(e(354))/6)+-parseInt(e(356))/7*(parseInt(e(368))/8)+-parseInt(e(370))/9*(parseInt(e(355))/10)+parseInt(e(367))/11)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(363)]=mt.IconHistory,this[e(361)]({tag:e(352),attributes:{class:["ck",e(360),e(365)]},children:[i,{tag:e(362),attributes:{class:["ck",e(359)]},children:[Q(t,e(357))]}]})}}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;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=137]})(t,e)}function _o(){const t=["render","bindTemplate","_revisions","add","_requireRevisionName","addRevision","fire","_addRevision","ck-reset","isEnabled","selectRevision","ck-rounded-corners","createCollection","find","highlight","startDate","9505538dJCUIA","removeRevision","ck-disabled","ck-revision-history-sidebar__timeline","createdAt","timePeriodViews","unhighlight","ck-revision-history-sidebar","deselect","_getTimePeriodViewByStartDate","some","319545dXOENs","_removeRevision","_revisionActions","revisionViews","get","3062532zrDkyc","select","uiLanguage","delegate","highlightRevisions","map","getTime","remove","revisionSetName","setTemplate","flat","locale","3300498cDkIPk","3426065QSKMYA","set","2973304IJILoj","revisionSelected","337382DcJsAL","setName","div"];return(_o=function(){return t})()}const Io=wo;!function(t){const e=wo,i=t();for(;;)try{if(794432===-parseInt(e(147))/1+parseInt(e(169))/2+-parseInt(e(152))/3+parseInt(e(167))/4+-parseInt(e(165))/5+parseInt(e(164))/6+parseInt(e(188))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[Io(141)];[Io(174)];[Io(149)];[Io(176)];constructor(t,e,i,s){const n=Io;super(t);const r=this[n(173)];this[n(141)]=this[n(184)](),this[n(141)][n(155)](n(153)).to(this),this[n(141)][n(155)](n(170)).to(this),this[n(174)]=e,this[n(149)]=i,this[n(176)]=s,this.on(n(153),((t,e)=>{const i=n;this[i(178)](i(168),e)})),this.on(n(170),((t,e)=>{const i=n;this[i(178)](i(160),e)})),this[n(166)](n(181),!1),this[n(161)]({tag:n(171),attributes:{class:["ck",n(180),n(183),n(143)]},children:[new yo(t),{tag:n(171),attributes:{class:["ck",n(139),r.if(n(181),n(138),(t=>!t))]},children:this[n(141)]}]})}[Io(172)](){const t=Io;super[t(172)]();for(const e of this[t(174)])this[t(179)](e);this[t(174)].on(t(175),((e,i)=>{this[t(179)](i)})),this[t(174)].on(t(159),((e,i)=>{this[t(148)](i)}))}get[Io(150)](){const t=Io;return this[t(141)][t(157)]((e=>e[t(150)][t(157)]((t=>t))))[t(162)]()}[Io(182)](t){const e=Io;for(const i of this[e(150)])t&&t.id===i.id?i[e(153)]():i[e(144)]()}[Io(156)](t){const e=Io;for(const i of this[e(150)])t[e(146)]((({id:t})=>t===i.id))?i[e(186)]():i[e(142)]()}[Io(179)](t){const e=Io,i=oo(t[e(140)],this[e(163)][e(154)])[e(187)];let s=this[e(141)][e(151)](0);s&&s[e(187)][e(158)]()===i[e(158)]()||(s=new fo(this[e(163)],i,this[e(149)],this[e(176)]),this[e(141)][e(175)](s)),s[e(177)](t)}[Io(148)](t){const e=Io,i=oo(t[e(140)],this[e(163)][e(154)])[e(187)];this[e(145)](i)[e(137)](t)}[Io(145)](t){const e=Io;return this[e(141)][e(185)]((i=>i[e(187)][e(158)]()===t[e(158)]()))}}const Oo=No;function To(){const t=["_handleDiffChange","config","revisionHistory.requireRevisionName","select","8TMhTVD","editor","RevisionsSidebar","diff","compareAgainstSelected","revisionHistory.viewerSidebarContainer","compare","getLaterVisibleRevision","focus","assign","fieldView","1884838khzbVY","_handleRevisionSetName","3120138MReBcC","remove","_sidebarView","Restore this revision","get","setName","highlightRevisions","_handleEditorDataReady","Compare against selected","_revisionsRepository","getIndex","pluginName","isEnabled","isPremiumPlugin","add","1986837LLomst","isVisible","restoreRevision","nameRevision","21596706rVzTyh","getRevision","listenTo","14217752vDjjbz","defaultRevisionActions","availableRevisionActions","element","change:diff","plugins","repository","length","revisionSetName","appendChild","bind","2893332NHHGOz","locale","revisionSelected","revisionHistory.revisionActions","_createRevisionActions","map","name","selectRevision","ready","requires","string","1PiBeBo","_revisionViewer","init","newRevisionId","getRevisionsInDiff","action","timePeriodViews","render","33160GrdmDP","isOfficialPlugin","_handleRevisionSelected","getEarlierVisibleRevision","isSelected","data","revisionHistory","_revisions","restoreRevisionCallback","isReady","destroy","revisionViews","Name this revision"];return(To=function(){return t})()}!function(t){const e=No,i=t();for(;;)try{if(959059===parseInt(e(358))/1*(parseInt(e(394))/2)+parseInt(e(411))/3+-parseInt(e(383))/4*(-parseInt(e(366))/5)+-parseInt(e(429))/6+parseInt(e(396))/7+parseInt(e(418))/8+-parseInt(e(415))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends Z.Plugin{[Oo(359)];[Oo(405)];[Oo(398)];static[Oo(419)]=[Oo(387),Oo(413),Oo(414)];static[Oo(420)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(404),action:({plugins:e},i)=>{const s=t,n=e[s(400)](ee),r=n[s(424)];let o=n[s(386)][s(361)],a=i.id;r[s(406)](o)>r[s(406)](a)&&([o,a]=[a,o]),n[s(389)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(400)](ee);return!(n[s(424)][s(362)](n[s(386)])[s(425)]>2||i[s(370)])}},restoreRevision:{name:t(399),action:(e,{id:i})=>{const s=t;e[s(380)][s(400)](s(372))[s(374)](i)},isVisible:({plugins:e},i)=>!!e[t(400)](ee)[t(424)][t(390)](i.id)},nameRevision:{name:t(378),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(400)](ee),o=r[n(424)][n(369)](i);r[n(389)](i,o),s[n(391)](),s[n(393)][n(382)]()}}}}();static get[Oo(407)](){return Oo(385)}static get[Oo(367)](){return!0}static get[Oo(409)](){return!0}static get[Oo(356)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(359)]=t[e(423)][e(400)](ee),this[e(405)]=this[e(359)][e(424)],this[e(398)]=null}[Oo(360)](){const t=Oo,e=this[t(405)][t(373)],i=this[t(351)](),s=this[t(384)][t(380)][t(400)](t(388));this[t(398)]=new So(this[t(384)][t(430)],e,i,this[t(384)][t(380)][t(400)](t(381))),this[t(398)].on(t(431),this[t(368)][t(428)](this)),this[t(398)].on(t(426),this[t(395)][t(428)](this)),this[t(398)][t(428)](t(408)).to(this[t(359)]),this[t(398)][t(364)].on(t(410),((e,i)=>{const s=t;i[s(377)].on(s(410),((t,e)=>{const i=s;e[i(428)](i(408),i(375)).to(this[i(359)])}))})),this[t(398)][t(365)](),this[t(417)](this[t(384)][t(371)],t(355),this[t(403)][t(428)](this)),this[t(417)](this[t(359)],t(422),this[t(379)][t(428)](this)),s[t(427)](this[t(398)][t(421)])}[Oo(376)](){const t=Oo;this[t(398)][t(421)][t(397)](),this[t(398)][t(376)]()}[Oo(403)](){const t=Oo,e=this[t(405)][t(416)](0);if(e){const i=this[t(405)][t(369)](e.id);this[t(359)][t(389)](e,i)}}[Oo(368)](t,e){const i=Oo,s=this[i(405)][i(416)](e.id),n=this[i(405)][i(369)](s.id);this[i(359)][i(389)](s,n)}[Oo(395)](t,e){const i=Oo;this[i(405)][i(416)](e.id)[i(401)](e[i(353)])}[Oo(379)](t,e,i){const s=Oo,n=this[s(405)][s(362)](i);n[s(425)]>2?(this[s(398)][s(402)](n),this[s(398)][s(354)](null)):(this[s(398)][s(402)]([]),this[s(398)][s(354)](n[0]))}[Oo(351)](){const t=Oo,e=this[t(384)],i=xo[t(420)],s=e[t(380)][t(400)](t(350))||xo[t(419)];if(s[t(425)])return s[t(352)]((s=>{const n=t,r=n(357)==typeof s?Object[n(392)]({},i[s]):s;return r[n(363)]=r[n(363)][n(428)](this,e),r[n(412)]&&(r[n(412)]=r[n(412)][n(428)](this,e)),r}))}}function No(t,e){const i=To();return(No=function(t,e){return i[t-=350]})(t,e)}const Ro=xo;function Ao(){const t=["document","setEditableElement","7848911iCJjIM","element","1500005CZFsGE","rootName","8GGQJYE","restore","_initToolbar","fillFromConfig","componentFactory","viewportTopOffset","ready","81723VbqPXY","editing","addToolbar","config","bind","_elementReplacer","replace","name","2420472SjZxlW","isActive","get","toolbar","stickyPanel","_view","focusTracker","_toolbarConfig","attachDomRoot","viewportOffset","8456248HPGRrY","init","42BUyrkR","getRoot","fire","view","1037393DswYDx","editor","isFocused","detachDomRoot","limiterElement","destroy","render","17070uIrfCj","15012FqkLct","editable"];return(Ao=function(){return t})()}const Vo=Mo;function Mo(t,e){const i=Ao();return(Mo=function(t,e){return i[t-=338]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(799774===parseInt(e(364))/1+-parseInt(e(360))/2*(parseInt(e(340))/3)+-parseInt(e(380))/4*(-parseInt(e(378))/5)+parseInt(e(348))/6+parseInt(e(376))/7+parseInt(e(358))/8+parseInt(e(372))/9*(-parseInt(e(371))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class Do extends pt.EditorUI{[Vo(353)];[Vo(355)];[Vo(345)];get[Vo(363)](){return this[Vo(353)]}constructor(e,i){const s=Vo;super(e),this[s(353)]=i,this[s(355)]=(0,pt.normalizeToolbarConfig)(e[s(343)][s(350)](s(351))),this[s(345)]=new t.ElementReplacer}get[Vo(377)](){const t=Vo;return this[t(363)][t(377)]}[Vo(359)](t){const e=Vo,i=this[e(365)],s=this[e(363)],n=i[e(341)][e(363)],r=s[e(373)],o=n[e(374)][e(361)]();r[e(347)]=o[e(379)],s[e(370)]();const a=r[e(377)];this[e(375)](r[e(347)],a),s[e(373)][e(344)](e(366)).to(this[e(354)]),n[e(356)](a),this[e(345)][e(346)](t,this[e(377)]),this[e(382)](),this[e(362)](e(339))}[Vo(369)](){const t=Vo;super[t(369)]();const e=this[t(363)],i=this[t(365)][t(341)][t(363)];this[t(345)][t(381)](),i[t(367)](e[t(373)][t(347)]),e[t(369)]()}[Vo(382)](){const t=Vo,e=this[t(363)];e[t(352)][t(344)](t(349)).to(this[t(354)],t(366)),e[t(352)][t(368)]=e[t(377)],e[t(352)][t(344)](t(338)).to(this,t(357),(({top:t})=>t)),e[t(351)][t(383)](this[t(355)],this[t(384)]),this[t(342)](e[t(351)])}}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(){var t=["top","_editable","6767352iHkYVH","10kaRSTG","4phTemK","stickyPanel","3281895mtYQyY","render","add","2362959ummKTT","toolbar","main","34234JJdXTC","4PDMbJG","3127884GBUwdM","editable","2158198DRDllv","shouldToolbarGroupWhenFull","21894579hGZEuS","content"];return(Fo=function(){return t})()}var Lo=jo;function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=333]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(424248===-parseInt(e(351))/1*(-parseInt(e(343))/2)+parseInt(e(348))/3*(-parseInt(e(352))/4)+-parseInt(e(345))/5+parseInt(e(333))/6+-parseInt(e(335))/7+-parseInt(e(341))/8+-parseInt(e(337))/9*(-parseInt(e(342))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends pt.BoxedEditorUIView{[Lo(340)];[Lo(344)];[Lo(349)];get[Lo(334)](){return this[Lo(340)]}constructor(t,e,i={}){var s=Lo;super(t),this[s(344)]=new pt.StickyPanelView(t),this[s(349)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(336)]}),this[s(340)]=new pt.InlineEditableUIView(t,e)}[Lo(346)](){var t=Lo;super[t(346)](),this[t(344)][t(338)][t(347)](this[t(349)]),this[t(339)][t(347)](this[t(344)]),this[t(350)][t(347)](this[t(334)])}}const zo=Zo;function Wo(){const t=["694210qOxptu","init","get","model","fire","data","248VHEhTu","destroy","config","view","sourceElement","locale","editing","updateSourceElement","_ui","264803vlAKrz","initialData","4715496ZhiGou","2311392isSzPQ","ready","initPlugins","4AmCZgN","1650535UgYeYE","create","285609XKvQcP","createRoot","11861469cWoGcI","document"];return(Wo=function(){return t})()}function Zo(t,e){const i=Wo();return(Zo=function(t,e){return i[t-=186]})(t,e)}!function(t){const e=Zo,i=t();for(;;)try{if(604498===parseInt(e(187))/1+-parseInt(e(205))/2+parseInt(e(211))/3+-parseInt(e(208))/4*(-parseInt(e(209))/5)+parseInt(e(204))/6+parseInt(e(202))/7*(parseInt(e(193))/8)+-parseInt(e(213))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,Z.ElementApiMixin)(Z.Editor)){[zo(201)];get ui(){return this[zo(201)]}constructor(t,e){const i=zo;super(e),this[i(197)]=t,this[i(190)][i(186)][i(212)]();const s=new Po(this[i(198)],this[i(199)][i(196)],{shouldToolbarGroupWhenFull:!0});this[i(201)]=new Do(this,s)}[zo(194)](){const t=zo;return this[t(200)](),this.ui[t(194)](),super[t(194)]()}static async[zo(210)](t,e){const i=zo,s=new this(t,e);return await s[i(207)](),await s.ui[i(188)](t),await s[i(192)][i(188)](s[i(195)][i(189)](i(203))||""),s[i(191)](i(206)),s}}const Ho=$o;function $o(t,e){const i=Bo();return($o=function(t,e){return i[t-=355]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(603372===parseInt(e(464))/1*(parseInt(e(387))/2)+-parseInt(e(391))/3+-parseInt(e(369))/4+-parseInt(e(360))/5+-parseInt(e(405))/6*(parseInt(e(454))/7)+parseInt(e(355))/8+parseInt(e(490))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);const qo=[Ho(445),Ho(428)];function Bo(){const t=["document","Autosave","isPremiumPlugin","RevisionTracker","config","plugins","indexOf","371BSWgJX","update","map","Annotations","_enhanceShowRevisionViewerCallback","model","getAttributeKeys","users","remove","revisionHistory.closeRevisionViewerCallback","8LnTtbV","isReady","createdAt","isReadOnly","markers","restrictedEditingException","setSelection","getUser","addUser","create","catch","toJSON","style","result","_restoreRevision","_cleanUp","DocumentOutlineUI","long","revisionHistory.restoreRevisionCallback","name","_showRevisionViewer","RevisionsRepository","isOpen","insert","translations","revisionHistory.viewerEditorElement","19301265NPGfMw","removeAttribute","rootName","_update","changesNavigation","then","display","$graveyard","editor","getMarkersGroup","adapter","loadRevisionData","refreshVisibility","save","getRevisions","get","7067080eYiSKl","Users","commands","locale","toVersion","3689760IqTHny","RevisionViewer","_enhanceCloseRevisionViewerCallback","getRevisionDocumentData","push","bind","addRevisionData","getRevisionRootsAttributes","selection","2947248GtFzXC","_getRevisionViewerEditorConfig","exitToEditing","define","removeSelectionAttribute","set","addRoot","showRevisionViewerCallback","getRevision","numeric","_viewerEditor","keys","parse","fromCharCode","destroy","pluginName","view","enqueueChange","25242ECIOQM","none","revisionHistory","end","509985WIMaGA","block","from","fromVersion","uiLanguage","toLocaleDateString","revision-history-missing-configuration","revisionHistory.viewerContainer","RevisionHistory","RevisionViewerIntegration","DocumentOutline","data","requires","detachRoot","99714TaFLMy","_recalculatePageBreaks","isAttached","PaginationLookup","removeMarker","Dialog","saveRevision","creator","closeRevisionViewerCallback","hide","isEnabled","refreshPositioning","includes","createRangeIn","enableReadOnlyMode","isRevisionViewerOpen","repository","isAnonymous","isOfficialPlugin","has","change","revisionHistory.showRevisionViewerCallback","error","RestrictedEditingMode","revision-history-viewer-opened","join","init","restoreRevision","element","roots","revisionHistory.editorContainer","toLocaleTimeString","getRoot","RevisionHistoryUtils","setAttribute","toolbar","Restored","_closeRevisionViewer","revisionHistory.requireRevisionName","disableReadOnlyMode","RevisionHistoryUI","lazyRoots"];return(Bo=function(){return t})()}class Yo extends Z.Plugin{[Ho(477)];static get[Ho(384)](){return Ho(400)}static get[Ho(423)](){return!0}static get[Ho(449)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(456)]((t=>String[e(382)](t)))[e(430)]("")}super(t),this[e(477)]=e(390),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 Go extends Z.Plugin{[Ho(379)];static get[Ho(384)](){return Ho(399)}static get[Ho(423)](){return!0}static get[Ho(449)](){return!0}static get[Ho(403)](){return[ct,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(498)][i(451)][i(505)](i(389)))throw new t.CKEditorError(i(397),this);this[i(379)]=null,this[i(374)](i(420),!1),this[i(498)][i(451)][i(372)](i(426),(t=>this[i(484)]({...t,translations:this[i(498)][i(358)][i(488)]}))),this[i(498)][i(451)][i(372)](i(463),(t=>this[i(442)](t))),this[i(498)][i(451)][i(372)](i(482),(t=>this[i(478)](t))),this[i(498)][i(451)][i(372)](i(443),!1),this[i(458)](),this[i(362)]()}set[Ho(500)](t){const e=Ho;this[e(498)][e(452)][e(505)](e(450))[e(500)]=t}get[Ho(500)](){const t=Ho;return this[t(498)][t(452)][t(505)](t(450))[t(500)]}[Ho(366)](t){const e=Ho;return this[e(498)][e(452)][e(505)](e(450))[e(366)](t)}[Ho(377)](t){const e=Ho;return this[e(498)][e(452)][e(505)](e(485))[e(377)](t)}[Ho(504)](t){const e=Ho;return this[e(498)][e(452)][e(505)](e(485))[e(504)](t||{toJSON:!1})}[Ho(370)](){const e=Ho,i=this[e(498)],s=(0,U.sanitizeEditorConfig)(i,qo),n=i[e(452)][e(505)](e(450)),r=i[e(452)][e(505)](e(356))[e(461)];return s[e(440)]=[e(371),e(432),e(494)],delete s[e(446)],s[e(452)][e(364)](Yo,ee,be,class extends Z.Plugin{static get[e(403)](){return[ee,e(356)]}[e(431)](){const s=e,o=this[s(498)][s(452)][s(505)](s(356));for(const t of r)t[s(422)]||o[s(471)](t.id)||o[s(472)](t);const a=n[s(421)][s(504)]();let c=null;const u=this[s(498)][s(452)][s(505)](s(361));u[s(500)]=n[s(500)],u[s(365)](s(415)).to(n),this[s(498)][s(357)][s(505)](s(432))[s(365)](s(415)).to(i,s(467),(t=>!t));for(const e of a){const i=null===e[s(412)];if(i&&e[s(359)]===e[s(394)])continue;const r=e[s(475)]();u[s(366)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(493)](r,o);else if(!o){const e=a[u(475)]();e.id=(0,t.uid)(),n[u(411)](e,a[u(359)])[u(495)]((t=>{c=t}))}}else e[u(493)](r,o)}))}}},Ro),s}[Ho(458)](){const t=Ho,e=this[t(498)][t(451)][t(505)](t(389))[t(376)];this[t(498)][t(451)][t(374)](t(426),(async()=>{const i=t;this[i(498)][i(419)](i(429));const s=this[i(498)][i(452)][i(505)](i(450));if(this[i(498)][i(452)][i(424)](i(448))){const t=this[i(498)][i(452)][i(505)](i(448));await t[i(503)]()}else await s[i(455)]();if(this[i(498)][i(452)][i(424)](i(408))&&this[i(498)][i(452)][i(505)](i(408))[i(406)](),this[i(498)][i(452)][i(424)](i(410))){const t=this[i(498)][i(452)][i(505)](i(410));t[i(486)]&&t[i(414)]()}const n=this[i(370)]();return e(n)[i(495)]((t=>{const e=i;return this[e(379)]=t,this[e(498)][e(452)][e(424)](e(457))&&this[e(498)][e(452)][e(505)](e(457))[e(502)](),this[e(498)][e(452)][e(424)](e(401))&&(this[e(498)][e(452)][e(505)](e(480))[e(385)][e(433)][e(476)][e(496)]=e(388)),t}))[i(474)]((t=>(console[i(427)](t),this[i(498)][i(444)](i(429)),null)))}))}[Ho(362)](){const t=Ho,e=this[t(498)][t(451)][t(505)](t(389))[t(413)];this[t(498)][t(451)][t(374)](t(463),(()=>(this[t(498)][t(452)][t(424)](t(408))&&this[t(498)][t(452)][t(505)](t(408))[t(406)](),this[t(498)][t(452)][t(424)](t(401))&&(this[t(498)][t(452)][t(505)](t(480))[t(385)][t(433)][t(476)][t(496)]=""),this[t(379)][t(452)][t(505)](t(361))[t(479)](),e(this[t(379)])[t(495)]((()=>{const e=t;if(this[e(498)][e(444)](e(429)),this[e(379)]=null,this[e(498)][e(452)][e(424)](e(457))){const t=this[e(498)][e(452)][e(505)](e(457));t[e(502)](),t[e(416)]()}})))))}[Ho(484)](t){const e=Ho,i=this[e(498)][e(451)][e(505)](e(435)),s=this[e(498)][e(451)][e(505)](e(398)),n=this[e(498)][e(451)][e(505)](e(489));return Uo[e(473)](n,t)[e(495)]((t=>(s[e(476)][e(496)]=e(392),i[e(476)][e(496)]=e(388),this[e(420)]=!0,t)))}[Ho(442)](t){const e=Ho,i=this[e(498)][e(451)][e(505)](e(435));return this[e(498)][e(451)][e(505)](e(398))[e(476)][e(496)]=e(388),i[e(476)][e(496)]="",this[e(420)]=!1,t[e(383)]()}async[Ho(478)](t){const e=Ho,i=this[e(498)],s=this[e(379)][e(452)][e(505)](e(361)),n=i[e(452)][e(505)](e(450)),r=i[e(452)][e(505)](e(438)),o=s[e(421)][e(377)](t);let a,c,u;try{await r[e(501)](o,this[e(500)]),a=r[e(363)](o),c=r[e(367)](o)}catch(t){return void console[e(427)](t)}i[e(459)][e(425)]((t=>{const s=e;for(const e of Array[s(393)](i[s(459)][s(468)][s(499)](s(469))))t[s(409)](e)})),s[e(465)]=!1,i[e(459)][e(386)]((t=>{const s=e;t[s(470)](null),t[s(373)](i[s(459)][s(447)][s(368)][s(460)]());const n=Object[s(380)](a);for(const e of i[s(459)][s(447)][s(434)])s(497)!=e[s(492)]&&e[s(407)]()&&!n[s(417)](e[s(492)])&&t[s(404)](e);for(const e of n){let n=i[s(459)][s(447)][s(437)](e);n&&n[s(407)]()||(n=t[s(375)](e));const r=c[e],o=Object[s(380)](r),u=a[e];for(const e of n[s(460)]())o[s(417)](e)||t[s(491)](e,n);for(const i of o)t[s(439)](i,c[e][i],n);t[s(462)](t[s(418)](n)),t[s(487)](i[s(402)][s(381)](u,n),n,0)}}));const l=Q(i[e(358)],e(441));return u=o[e(483)]?-1==o[e(483)][e(453)](l)?l+": "+o[e(483)]:o[e(483)]:l+": "+o[e(466)][e(396)](i[e(358)][e(395)],{month:e(481),day:e(378)})+", "+o[e(466)][e(436)](i[e(358)][e(395)],{hour:e(378),minute:e(378)}),await n[e(411)]({name:u}),s[e(465)]=!0,i[e(451)][e(505)](e(389))[e(413)]()}}function Jo(){var t=["16205VnMiPo","310554OWYwfy","109998dGhELZ","1079600wPZIHC","650kSEPTe","4861096LdTjVI","25431cQJNGO","74TNqXdf","1914004RZVTyc","486kkLXEO"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=298]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(323208===-parseInt(e(299))/1+parseInt(e(305))/2*(parseInt(e(304))/3)+parseInt(e(306))/4+parseInt(e(301))/5+-parseInt(e(307))/6*(parseInt(e(298))/7)+parseInt(e(303))/8+-parseInt(e(300))/9*(parseInt(e(302))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var 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:()=>Go,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,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==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=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 E=/^(?:0|[1-9]\d*)$/;function V(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 E.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 M(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?M(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 L(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 P=j;function j(t,e){const i=z();return(j=function(t,e){return i[t-=253]})(t,e)}function z(){const t=["setName","toVersion","name","creator","fire","_update","622458vmSYEr","1574993hkBmVr","setAttribute","authors","fromVersion","3267920gwAZot","627258VFZouB","set","map","diffData","4101000epJIxU","584431DFvdid","model","231657TQTqgn","toJSON","attributes","authorsIds","8Zabfsr","35bgBXMk","removeAttribute","createdAt","creatorId"];return(z=function(){return t})()}!function(t){const e=j,i=t();for(;;)try{if(582221===-parseInt(e(276))/1+-parseInt(e(254))/2*(-parseInt(e(278))/3)+parseInt(e(275))/4+parseInt(e(255))/5*(-parseInt(e(271))/6)+parseInt(e(266))/7+parseInt(e(270))/8+-parseInt(e(265))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[P(262)];[P(268)];[P(274)];[P(260)];[P(269)];[P(277)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(262)]=e[i(262)]||null,this[i(268)]=e[i(268)]||[],this[i(274)]=e[i(274)]||null,this[i(260)]=e[i(260)]||0,this[i(269)]=e[i(269)]||0,this[i(272)](i(261),e[i(261)]||""),this[i(272)](i(257),e[i(257)]||new Date),this[i(272)](i(280),e[i(280)]||{})}[P(259)](t){this[P(264)]({name:t})}[P(267)](t,e){const i=P,s=A(this[i(280)]);(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]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(264)]({attributes:s})}[P(256)](t){const e=P,i=A(this[e(280)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(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]&&M(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(264)]({attributes:i})}[P(264)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(261),i(257),i(274),i(268),i(280),i(260),i(269),i(258)];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(268)]&&(n[i(253)]=n[i(268)][i(273)]((t=>t.id)),delete n[i(268)]),this[i(263)](i(264),n,e))}[P(279)](){const t=P;return{id:this.id,name:this[t(261)],creatorId:this[t(262)]?this[t(262)].id:null,authorsIds:this[t(268)][t(273)]((t=>t.id)),diffData:this[t(274)],createdAt:this[t(257)],attributes:this[t(280)],fromVersion:this[t(269)],toVersion:this[t(260)]}}}var U=i(782),Z=i(211),H=i(783);const q=$;function $(t,e){const i=B();return($=function(t,e){return i[t-=171]})(t,e)}function B(){const t=["toJSON","toVersion","join","href","getIndex","655989kRCkHx","isOfficialPlugin","getRevision","getRevisionsIterator","1011820DvRWyv","getEarlierVisibleRevision","isPremiumPlugin","name","pluginName","fromCharCode","oldRevisionId","4tAmcbg","afterInit","1131011UlQaQu","getRevisionsInDiff","15313020OHpFjx","map","authorsIds","addRevision","getRevisions","data","editor","10ZUeIxU","6uVGxxS","createRevision","add","isNaN","Users","attributes","885702tmTyys","createdAt","fromVersion","RevisionsRepository","plugins","reverse","_revisions","length","get","from","5014188xcTGGc","newRevisionId","earlier","requires","getUser","push","getLaterVisibleRevision","creatorId","later","6903616LtbLyO","diffData"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(544327===parseInt(e(218))/1+-parseInt(e(200))/2*(-parseInt(e(189))/3)+-parseInt(e(193))/4*(parseInt(e(211))/5)+-parseInt(e(212))/6*(parseInt(e(202))/7)+parseInt(e(182))/8+parseInt(e(173))/9+-parseInt(e(204))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(224)];static get[q(176)](){return[Z.Users]}static get[q(197)](){return q(221)}static get[q(190)](){return!0}static get[q(195)](){return!0}get[q(225)](){const t=q;return this[t(224)][t(225)]}constructor(e){const i=q;super(e),this[i(224)]=new t.Collection}[q(201)](){!async function(e){const i=k([52,104,109,83,110,118,103,77,53,98,71,69,120,114,116,100,51,67,49,54,65,87,89,81,48,68,115,106,72,102,112,101,80,56,76,113,82,57,108,75,66,78,74,105,79,117,90,50,85,107,55,99,122,88,119,121,111,70,97,84,86,73]),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=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(215)](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([104]);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=$;return t[e(205)]((t=>String[e(198)](t)))[e(186)]("")}!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:1745452800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,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(187)]);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(213)](t){const e=q,i=this[e(210)][e(222)][e(171)](e(216));return new W({id:t.id,name:t[e(196)],creator:t[e(180)]?i[e(177)](t[e(180)]):null,diffData:t[e(183)]||t[e(209)],authors:t[e(206)][e(205)]((t=>i[e(177)](t))),createdAt:new Date(t[e(219)]),attributes:t[e(217)],fromVersion:t[e(220)],toVersion:t[e(185)]})}[q(207)](t,e=0){const i=q;this[i(224)][i(214)](t,e)}[q(191)](t){const e=q;return this[e(224)][e(171)](t)}[q(208)](t={toJSON:!1}){const e=q,i=Array[e(172)](this[e(224)]);return i[e(223)](),t[e(184)]?i[e(205)]((t=>t[e(184)]())):i}[q(188)](t){const e=q;return this[e(224)][e(188)](t)}[q(194)](t){const e=q,[,i]=this[e(192)](t,{direction:e(175)});return i}[q(179)](t){const e=q,[,i]=this[e(192)](t,{direction:e(181)});return i}[q(203)](t){const e=q,i=[];for(const s of this[e(192)](t[e(174)]))if(i[e(178)](s),s.id===t[e(199)])break;return i}*[q(192)](t,{direction:e=q(175),filter:i=()=>!0}={}){const s=q,n=s(175)===e?1:-1;let r=this[s(224)][s(171)](t),o=this[s(188)](r);for(yield r;r;){if(o+=n,r=this[s(191)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=K();return(J=function(t,e){return i[t-=268]})(t,e)}function K(){const t=["_removeRevisionMarkers","innerHTML","document","string","childNodes","div","1156257xjuLkB","domChildrenToView","_viewClassToTypeChar","20covfTg","config","parse","startsWith","attachChange","revision-end","name","children","36fwpNuE","view","_makeModelFromViewString","diffData","getRevisionDocumentData","5ebZaxk","86453mfiJEo","attributesAfter","loadRevisionData","isOfficialPlugin","24bYCxWl","useFillerType","htmlProcessor","6hrKTDz","pluginName","viewChildrenToDom","isAttached","from","render","data-revision-","RevisionHistoryUtils","filter","length","1344740KElNsA","getRevision","toModel","default","data","constructor","collaboration.channelId","attributes","processor","get","_setCustomProperty","toData","insertions","editor","customProperties","_appendChild","_getViewFromDiffObj","domDocument","forEach","isPremiumPlugin","1675782ixVkGI","403207CTUGOp","5396CxxLdk","1715923hYEVOC","getFillerOffset","editing","_getTypeCharForViewElement","revision-start","fillerOffset","getRevisionRootsAttributes","domConverter","map","_typeCharToViewClass","type","createElement","marked","append"];return(K=function(){return t})()}!function(t){const e=J,i=t();for(;;)try{if(235099===-parseInt(e(339))/1+-parseInt(e(301))/2*(parseInt(e(269))/3)+-parseInt(e(279))/4+parseInt(e(338))/5*(parseInt(e(299))/6)+parseInt(e(300))/7*(parseInt(e(343))/8)+-parseInt(e(322))/9*(parseInt(e(325))/10)+parseInt(e(302))/11*(parseInt(e(333))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends U.Plugin{static get[G(270)](){return G(276)}static get[G(342)](){return!0}static get[G(298)](){return!0}[G(324)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(311)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(341)](t,e){const i=G;if(t[i(336)]||!e)return;const s=this[i(292)][i(326)][i(288)](i(285)),n=await e[i(280)]({channelId:s,revisionId:t.id});t[i(336)]=n[i(336)]}[G(337)](t){const e=G,i={};for(const s in t[e(336)]){if(t[e(336)][s][e(329)]&&!t[e(336)][s][e(329)][e(272)])continue;const n=this[e(316)](JSON[e(327)](t[e(336)][s][e(291)])),r=this[e(292)][e(304)][e(334)][e(318)],o=new H.ViewDocumentFragment(r,n[e(310)]((t=>this[e(295)](t,!1))));this[e(292)][e(283)][e(287)][e(344)](e(314)),i[s]=this[e(292)][e(283)][e(287)][e(290)](o),this[e(292)][e(283)][e(287)][e(344)](e(282))}return i}[G(308)](t){const e=G,i={};for(const s in t[e(336)])t[e(336)][s][e(329)]&&!t[e(336)][s][e(329)][e(272)]||(i[s]=t[e(336)][s][e(340)]||{});return i}[G(305)](t){const e=G;return this[e(324)][e(288)](t[e(284)])}[G(295)](t,e){const i=G,s=this[i(292)][i(304)][i(334)][i(318)];if(i(319)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(312)]||"r"==t[i(312)]?[]:t[i(332)][i(310)]((t=>this[i(295)](t,e)));const o=this[i(311)][i(288)](t[i(312)])||H.ViewElement,a=this[i(292)][i(283)][i(268)][i(309)];if(n=new o(s,t[i(331)],t[i(286)],r),"u"==t[i(312)]&&t[i(332)][0]){const r=t[i(332)][0];if(n[i(274)]=function(t){const e=i,s=t[e(313)](e(321));return s[e(317)]=r,s[e(320)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(294)](n);const e=Array[i(273)](a[i(271)](t,{bind:!1})),r=a[i(296)][i(313)](i(321));r[i(315)](...e),n=Array[i(273)](a[i(323)](r))[0]}}else if("r"==t[i(312)]&&t[i(332)][0]){const r=t[i(332)][0];if(n[i(274)]=function(t){t[i(317)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(294)](n);const e=Array[i(273)](a[i(271)](t,{bind:!1})),r=a[i(296)][i(313)](i(321));r[i(315)](...e);const o=Array[i(273)](a[i(323)](r));o[i(278)]>1?n[i(294)](o):n=o[0]}}if(t[i(293)])for(const[e,s]of t[i(293)])n[i(289)](e,s);const c=void 0===t[i(307)]?null:t[i(307)];return null!==c&&(n[i(303)]=()=>c),n}}[G(335)](t){const e=G,i=JSON[e(327)](t),s=this[e(292)][e(304)][e(334)][e(318)],n=new H.ViewDocumentFragment(s,i[e(310)]((t=>this[e(295)](t,!0))));return this[e(292)][e(283)][e(281)](n)}[G(316)](t){const e=G;return(t=t[e(277)]((t=>!t[e(331)]||e(306)!==t[e(331)]&&e(330)!==t[e(331)])))[e(297)]((t=>{const i=e;i(319)!=typeof t&&(t[i(332)]=this[i(316)](t[i(332)]),t[i(286)]=t[i(286)][i(277)]((t=>!t[0][i(328)](i(275)))))})),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)===(E=s)||Number.isNaN(A)&&Number.isNaN(E)}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,E;const V=(s=s??new Map).get(t),D=s.get(i);if(null!=V&&null!=D)return V===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=at;function ot(){const t=["conversion","getCustomProperties","_pendingAction","destroy","_diffRoots","revision","revisionHistoryLicenseKeyUsageLimit","$text","419847hCPliz","source","clear","add","isOfficialPlugin","reInit","stickiness","isAdd","detachRoot","_applyOperations","children","string","_markChanges","sort","insertionPosition","getCurrentRevisionId","invalid","elementStart","296722jLhlmW","getFillerOffset","_appendChild","fillerOffset","_cloneOperation","getRevisionDocumentData","createRangeIn","_getState","getAncestors","rawElement","_startingRevisionId","howMany","8053452Hksgch","authors","_lastFrom","RevisionHistoryUtils","revisionHistoryLicenseKeyTrialLimit","_handleMoveOperation","_copyMarkers","keepParagraph","insertions","revisionHistoryLicenseKeyNotAllowed","model","_baseIdsRoots","history","_handleInsertOperation","$graveyard","_clone","plugins","evaluationLimit","_baseRootsAttributes","$comment","_authorId","splitPosition","requires","_lastTo","4poqhCO","oldRange","getAttribute","_findInsertionIndex","trim","tableCell","diffData","RealTimeCollaborationClient","markers","createdAt","map","elementEnd","sendBufferedUpdates","loadState","htmlProcessor","_removePendingAction","24KBwBPr","creatorId","paragraph","vid_end","reinsert","attachChange","_getVidAttributeName","_source","_isInit","trialLimit","key","domainLimit","_prepareViewToSave","_continueCurrentRevision","item","_initialRevisionId","_transformMarkers","offsetSize","isPremiumPlugin","_loadState","_bufferUpdate","isAttached","define","afterInit","finally","createPositionAfter","revision:","range","remove","dataDowncast","_handleMergeOperation","render","revisionHistory.resumeUnsavedRevision","attributesBefore","2qcGgSS","_addPendingAction","text","dataToMarker","revisionHistoryLicenseKeyDomainLimit","set","fromEntries","_startingVersion","deletion","isReady","rootName","rootsAttributes","for","config","_diffRootsAttributes","getChild","_getFromVersion","_makeIdsRoot","getRevisionRootsAttributes","previousPosition","Users","_createFromRanges","getData","ready","_fixPosition","createPositionBefore","length","usageLimit","_revisionDataBuilder","_isAttached","nodes","toVersion","_bufferedUpdates","saveRevision","_showLicenseError","_revisionId","licenseKey","sourcePosition","delete","userId","_handleOperation","revisionHistoryLicenseKeyEvaluationLimit","data","getAttributes","attributesAfter","_makeRevision","addRootAttribute","targetPosition","some","_execute","getTime","marker","editor","newRange","addRevisionData","deletions","_removeMetaData","get","bind","createRange","_processRootBeforeSave","reverse","PendingActions","_generateTape","revisionHistoryLicenseKeyExpired","repository","collaboration.channelId","resolve","Empty document","_handleMarkerOperation","_createCurrentRevision","keys","root","getRange","newValue","outerHTML","getRevision","RevisionTracker","createPositionAt","includes","authorsIds","name","fromVersion","vid_start","isEnabled","_makeModelFromViewString","expired","_touched","_setConversion","_saveMetaData","init","clone","_operations","_baseRoots","Initial revision","getNodeByPath","1399041osLkBz","_getBaseVids","childCount","type","insertion","getRoot","getOperations","RevisionsRepository","offset","filter","start","removeRootAttribute","_update","getRootNames","path","documentFragment","split","addRoot","_reset","isEqual","_markers","initialData","_savedMetaData","_handleRootOperation","_handleSplitOperation","merge","_getPreviousFrom","shift","size","creator","version","then","locale","_getTypeCharForViewElement","7zhjcyr","push","max","_createInitialRevision","vid","_fixOperation","markerToData","update","initial","createElement","uiElement","move","toView","getTransformedByOperation","_isPendingUpdate","startsWith","getMovedRangeStart","2108155zcNkqu","getRevisions","graveyardPosition","end","_handleRootAttributeOperation","pluginName","parent","from","editor-initial-data-replaced-with-revision-data","buildRevisionData","createPositionFromPath","element","createRevision","getLatestVersion","_licenseKeyCheckInterval","RevisionHistory","customProperties","PENDING_ACTION_REVISION_HISTORY","position","document","revisionHistoryLicenseKeyValid","_calculateMetaData","revisionHistoryLicenseKeyInvalid","nodeAfter","_idsRoots","_replaceEditorDataWithRevisionData","getOperation","_getViewJson","_touchedMarkers","_setAttribute","loadRevisionData","addRevision","_fixRange","affectsData","domConverter","updateRevisions","baseVersion","getChildren","hasContent","has","_loadedStateData","upcast","1605654MtTOwk","stringify","find","setRevisionData","_insertChild","changeRootAttribute","featureNotAllowed","roots","slice","adapter","insert","domDocument","_touchedRoots","currentRevision","getIndex","_utils","setSource","getUser","NEGATIVE_INFINITY","innerHTML","getWalker","values","3421220DdhCJq"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=221]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(238106===-parseInt(e(230))/1*(-parseInt(e(468))/2)+-parseInt(e(450))/3*(parseInt(e(504))/4)+parseInt(e(377))/5+-parseInt(e(419))/6*(-parseInt(e(360))/7)+parseInt(e(520))/8*(parseInt(e(326))/9)+-parseInt(e(441))/10+-parseInt(e(480))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends U.Plugin{[rt(266)];[rt(391)];[rt(432)]=null;[rt(295)];[rt(428)]=null;[rt(258)];[rt(527)];[rt(535)];[rt(262)];[rt(434)];[rt(444)];[rt(533)];[rt(237)];[rt(417)];static get[rt(382)](){return rt(307)}static get[rt(454)](){return!0}static get[rt(538)](){return!0}static get[rt(502)](){return[Z.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(295)]=this[i(282)][i(496)][i(287)](i(333)),this[i(434)]=this[i(282)][i(496)][i(287)](i(483)),this[i(258)]=new ut(this[i(282)]),this[i(535)]=this[i(282)][i(243)][i(287)](i(296))||i(368),this[i(262)]=new Map,this[i(417)]=null;const s=(0,t.uid)();this[i(527)]={history:this[i(282)][i(490)][i(396)][i(492)],getLatestVersion:()=>Promise[i(297)](this[i(282)][i(490)][i(396)][i(356)]),getCurrentRevisionId:()=>s},this[i(235)](i(239),!1),this[i(235)](i(314),!0),this[i(235)](i(374),!1),this[i(282)][i(243)][i(542)](i(228),!0),this[i(282)][i(442)][i(242)](i(418))[i(233)]({view:i(447)})}[rt(320)](){const t=rt;this[t(318)](),this[t(282)][t(272)].on(t(253),(()=>{const e=t,i=this[e(295)][e(306)](0),s=i&&null===i[e(355)]?i:null;if(this[e(533)]=!!s&&this[e(282)][e(243)][e(287)](e(228)),this[e(282)][e(496)][e(416)](e(511))){const t=this[e(527)][e(465)](),n=this[e(295)][e(306)](t);if(n)this[e(237)]=n[e(312)],this[e(533)]=!1;else{const t=this[e(527)][e(492)][e(322)][e(421)]((t=>!t[e(528)])),n=t?t[e(413)]:this[e(527)][e(492)][e(356)];i?(i[e(261)]<n&&i[e(338)]({toVersion:n}),this[e(533)]?(this[e(527)][e(465)]=()=>s.id,this[e(237)]=s[e(312)]):(this[e(237)]=i[e(261)],this[e(533)]=!1)):(this[e(237)]=n,this[e(533)]=!1)}}else s&&(this[e(282)][e(490)][e(396)][e(492)][e(356)]=Math[e(362)](s[e(261)],this[e(282)][e(490)][e(396)][e(492)][e(356)]),s[e(312)]===s[e(261)]?(0!==s[e(312)]&&(this[e(527)][e(465)]=()=>s.id),this[e(533)]=!1):this[e(533)]&&(this[e(527)][e(465)]=()=>s.id,this[e(237)]=s[e(312)])),this[e(533)]||(this[e(237)]=this[e(282)][e(490)][e(396)][e(356)]);this[e(258)][e(320)](this[e(527)][e(492)]),this[e(363)](this[e(237)]),this[e(300)](this[e(237)]),this[e(428)]&&this[e(516)]()})),this[t(288)](t(239)).to(this,t(374),(t=>!t)),this[t(266)]=this[t(282)][t(243)][t(287)](t(266));const e=this[t(282)];this[t(391)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(397)==r||i(399)==r||i(294)==r||i(234)==r||i(489)==r||i(271)==r||i(484)==r||i(448)==r){delete e[n],s=r,clearInterval(this[i(391)]),this[i(391)]=void 0;break}}i(399)==s&&e[i(264)](i(466)),i(294)==s&&e[i(264)](i(316)),i(234)==s&&e[i(264)](i(531)),i(489)==s&&e[i(264)](i(425),i(392)),i(271)==s&&e[i(264)](i(497)),i(484)==s&&e[i(264)](i(529)),i(448)==s&&e[i(264)](i(257))}),1e3)}async[rt(543)](){const t=rt;if(this[t(295)][t(256)]>0){const e=this[t(295)][t(306)](0),i=await this[t(473)](e),s=await this[t(248)](e);this[t(402)](i,s)}}[rt(445)](){const t=rt;super[t(445)](),this[t(391)]&&clearInterval(this[t(391)])}[rt(435)](t){this[rt(527)]=t}async[rt(367)](){const t=rt,e=await this[t(527)][t(390)]();if(e>this[t(432)][t(261)]){await this[t(539)]();const i=this[t(386)]({revision:this[t(432)],to:e});i[t(481)]=i[t(310)][t(514)]((e=>this[t(282)][t(496)][t(287)](t(250))[t(436)](e))),this[t(432)][t(338)](i)}}async[rt(263)](e={},i=null){const s=rt,n=[];await this[s(539)](),this[s(533)]=!1,i>this[s(432)][s(261)]&&(i=null),null===i&&(i=await this[s(527)][s(390)]());const r=this[s(246)](i),o=this[s(386)]({from:r,to:i});if(this[s(432)][s(261)]<i){const t=this[s(386)]({revision:this[s(432)],from:i,to:i});t[s(481)]=[],t[s(310)]=[],t.id=this[s(432)].id,this[s(432)][s(338)](t,!0),delete t[s(481)],n[s(361)](t)}e[s(521)]=this[s(282)][s(496)][s(287)](s(250)).me.id,e[s(311)]=e[s(311)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(284)](e);n[s(361)](e);const c=this[s(295)][s(433)](a);if(0!==c){const t=this[s(295)][s(306)](c-1);if(t[s(312)]!==i){const r=this[s(258)][s(252)](i,t[s(261)]),o={id:t.id,diffData:r[s(510)],authorsIds:r[s(310)],authors:r[s(310)][s(514)]((t=>this[s(282)][s(496)][s(287)](s(250))[s(436)](t))),fromVersion:i};t===this[s(432)]&&(o[s(513)]=new Date(e[s(513)][s(280)]()+10)),t[s(338)](o,!0),delete o[s(481)],n[s(361)](o)}}if(this[s(428)]){for(const t of n)this[s(540)](t.id,t,!0);this[s(516)]()}return a}[rt(284)](t){const e=rt,i=this[e(295)][e(389)](t);return this[e(428)]&&i.on(e(338),((t,i,s)=>{const n=e;s||(this[n(540)](i.id,i,!0),this[n(516)]())})),this[e(295)][e(408)](i,this[e(507)](i)),i}async[rt(473)](t){const e=rt;return await this[e(434)][e(407)](t,this[e(428)]),this[e(434)][e(473)](t)}async[rt(248)](t){const e=rt;return await this[e(434)][e(407)](t,this[e(428)]),this[e(434)][e(248)](t)}[rt(516)](){const t=rt;if(0===this[t(262)][t(354)])return;if(this[t(374)])return;let e=Array[t(384)](this[t(262)][t(440)]());this[t(262)][t(452)]();for(let i=0;i<e[t(256)];i++){const s=e[i];let n=!1;for(const e of Object[t(301)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(335)]((t=>null!==t)),!e[t(256)])return;for(let i=0;i<e[t(256)];i++){const s=e[i];void 0!==s[t(312)]&&void 0===s[t(261)]&&(s[t(261)]=this[t(295)][t(306)](s.id)[t(261)]),void 0!==s[t(261)]&&void 0===s[t(312)]&&(s[t(312)]=this[t(295)][t(306)](s.id)[t(312)])}const i=this[t(282)][t(243)][t(287)](t(296));this[t(374)]=!0,this[t(231)](),this[t(428)][t(412)](e,i)[t(544)]((()=>{this[t(374)]=!1}))[t(357)]((e=>{const i=t;if(e)for(const t of e)this[i(422)]({id:t.id,createdAt:t[i(513)]});this[i(519)](),this[i(516)]()}))}[rt(386)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(312)],i=null!==i?i:t[s(261)];const n=this[s(258)][s(252)](e,i),r={diffData:n[s(510)],authorsIds:n[s(310)],fromVersion:e,toVersion:i};if(!t||i!==t[s(261)]){const t=i-1,e=this[s(527)][s(492)][s(403)](t);r[s(513)]=e&&e[s(513)]||new Date}if(this[s(417)]&&e===this[s(417)][s(312)])for(const t of this[s(417)][s(481)])r[s(310)][s(309)](t.id)||r[s(310)][s(361)](t.id);return r}[rt(540)](t,e,i){const s=rt;if(this[s(262)][s(416)](t)){const n=this[s(262)][s(287)](t);e=i?{...n,...e}:{...e,...n}}this[s(262)][s(235)](t,e)}[rt(422)](t){const e=rt,i=this[e(295)][e(306)](t.id);if(t[e(513)]&&(t[e(513)]=new Date(t[e(513)])),t[e(310)]){const i=this[e(282)][e(496)][e(287)](e(250));t[e(481)]=t[e(310)][e(514)]((t=>i[e(436)](t)))}i[e(338)](t,!0)}[rt(363)](t){const e=rt,i=this[e(295)][e(306)](this[e(295)][e(256)]-1);if(i)this[e(535)]=i.id;else{const i=!this[e(282)][e(490)][e(396)][e(426)][e(421)]((t=>this[e(282)][e(490)][e(415)](t))),s=this[e(282)][e(496)][e(287)](e(250)).me.id,n=X(this[e(282)][e(358)],e(i?298:324));this[e(275)]({from:t,to:t,id:this[e(535)],name:n,creatorId:s})}}[rt(300)](t){const e=rt,i=this[e(527)][e(465)]();this[e(432)]=this[e(295)][e(306)](i),this[e(432)]||(this[e(432)]=this[e(275)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(539)](){const t=rt;this[t(533)]&&!this[t(417)]&&(await this[t(434)][t(407)](this[t(432)],this[t(428)]),this[t(258)][t(517)](this[t(432)]),this[t(417)]={fromVersion:this[t(432)][t(312)],authors:this[t(432)][t(481)][t(427)]()})}[rt(402)](e,i){const s=rt;let n=this[s(282)][s(243)][s(287)](s(347)),r=this[s(282)][s(243)][s(287)](s(241));if(void 0===n){n={};for(const t of this[s(282)][s(490)][s(396)][s(339)]())n[t]=""}if(s(461)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(282)][s(490)][s(396)][s(339)]())r[t]={}}let o=!1;const a=Object[s(301)](n),c=Object[s(301)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(508)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(301)](r[t])[s(256)]>0){o=!0;break}}o||(o=c[s(278)]((t=>!this[s(282)][s(490)][s(396)][s(331)](t)))),o&&(0,t.logWarning)(s(385),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(282)][s(243)][s(235)](s(347),e),this[s(282)][s(243)][s(235)](s(241),i)}[rt(231)](){const t=rt;if(!this[t(444)]){const e=this[t(282)][t(496)][t(287)](t(292));this[t(444)]=e[t(453)](X(this[t(282)][t(358)],t(394)))}}[rt(519)](){const t=rt;this[t(444)]&&(this[t(282)][t(496)][t(287)](t(292))[t(224)](this[t(444)]),this[t(444)]=null)}[rt(507)](t){const e=rt,i=this[e(295)][e(378)]();i[e(291)]();let s=0;for(;s<i[e(256)];){const n=i[s];if(n===this[e(432)]){s++;continue}if(n.id===this[e(535)])break;const r=t[e(261)]-n[e(261)]||t[e(312)]-n[e(312)];if(r>0)break;if(r<0)s++;else{if(!t[e(355)]&&n[e(355)])break;if(n[e(355)]||!t[e(355)]){if(t[e(513)]>n[e(513)])break;s++}else s++}}return s}[rt(246)](t){const e=rt,i=this[e(295)][e(378)]();i[e(291)](),i[e(353)]();const s=i[e(421)]((i=>i[e(261)]<=t))[e(261)];return s<this[e(237)]?this[e(237)]:s}[rt(275)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(386)]({from:e,to:i});o[r(311)]=t,o[r(521)]=s,o.id=n;const a=this[r(284)](o);return this[r(428)]&&this[r(540)](o.id,o,!0),a}[rt(318)](){const t=rt;this[t(282)][t(442)][t(242)](t(225))[t(366)]({model:t(447)})}}class ut{[rt(282)];[rt(451)];[rt(348)];[rt(482)];[rt(503)];[rt(346)];[rt(446)];[rt(244)];[rt(323)];[rt(498)];[rt(401)];[rt(491)];[rt(317)];[rt(405)];[rt(431)];[rt(265)];[rt(478)];constructor(t){const e=rt;this[e(282)]=t,this[e(348)]=new Map,this[e(482)]=-1,this[e(503)]=-1,this[e(346)]=new Map,this[e(446)]=new Map,this[e(244)]=new Map,this[e(323)]=new Map,this[e(498)]=new Map,this[e(401)]=new Map,this[e(491)]=new Map,this[e(317)]=new Map,this[e(405)]=new Map,this[e(431)]=new Map,this[e(265)]=1}[rt(320)](t){const e=rt;this[e(451)]=t;const i=new Map,s=new Map,n=this[e(282)][e(490)][e(396)][e(426)][e(514)]((t=>t[e(240)]));for(const t of n){const n=this[e(282)][e(490)][e(396)][e(331)](t),r=lt(n);i[e(235)](t,r),s[e(235)](t,Object[e(236)](n[e(273)]()))}const r=Array[e(384)](this[e(282)][e(490)][e(512)])[e(514)]((t=>[t[e(311)],t[e(303)]()])),o=this[e(451)][e(356)];this[e(319)](o,i,r,s),this[e(478)]=this[e(265)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(235)](t,i),c[e(235)](t,{})}this[e(319)](Number[e(437)],a,[],c)}[rt(252)](t,e){const i=rt;if(this[i(482)]===t&&this[i(503)]<=e)this[i(348)][i(354)]>1&&this[i(286)](this[i(503)]),this[i(459)](this[i(503)],e,!0);else{if(!this[i(348)][i(416)](t)){const e=this[i(352)](t);this[i(398)](e,t,!1)}this[i(398)](t,e,!0)}return this[i(482)]=t,this[i(503)]=e,this[i(475)]()}[rt(517)](t){const e=rt,i=this[e(282)][e(496)][e(287)](e(483));this[e(344)](),this[e(482)]=t[e(312)],this[e(503)]=t[e(261)];for(const s in t[e(510)]){const n=t[e(510)][s][e(525)],r=A(t[e(510)][s][e(229)])||{},o=i[e(315)](t[e(510)][s][e(285)]);o[e(240)]=s,o[e(259)]=!n||!n[e(541)],o[e(541)]=()=>o[e(259)],this[e(323)][e(235)](s,o),this[e(498)][e(235)](s,r),n&&this[e(431)][e(235)](s,n);const a=this[e(247)](o);this[e(491)][e(235)](s,a);for(const[t,i]of o[e(512)]){if(!t[e(375)](e(222)))continue;const s=t[e(342)](":")[2];for(const t of i[e(439)]({singleCharacters:!0})){const i=this[e(526)](t),n=e(515)==t[e(329)]?t[e(249)][e(340)][e(427)](0,-1):t[e(249)][e(340)],r=a[e(325)](n)[e(506)](i);this[e(317)][e(235)](r,{userId:s})}}}this[e(478)]=this[e(265)];const s=[...Array(this[e(265)])[e(301)]()][e(427)](1)[e(335)]((t=>!this[e(317)][e(416)](t)));let n=0;const r=new Map;for(const o in t[e(510)]){const a=t[e(510)][o][e(525)],c=A(t[e(510)][o][e(274)])||{},u=i[e(315)](t[e(510)][o][e(488)]);u[e(240)]=o,u[e(259)]=!a||a[e(541)],u[e(541)]=()=>u[e(259)],this[e(446)][e(235)](o,u),this[e(244)][e(235)](o,c);const l=this[e(247)](u,Number[e(437)]);this[e(401)][e(235)](o,l),r[e(235)](o,u[e(541)]()?c:{});for(const[t,i]of u[e(512)]){if(!t[e(375)](e(222)))continue;const s=t[e(342)](":")[2];for(const t of i[e(439)]({singleCharacters:!0})){const i=this[e(526)](t),n=this[e(265)]++,r=e(515)==t[e(329)]?t[e(249)][e(340)][e(427)](0,-1):t[e(249)][e(340)];l[e(325)](r)[e(406)](i,n),this[e(317)][e(235)](n,{userId:s})}}for(const t of this[e(282)][e(490)][e(474)](u)[e(439)]({singleCharacters:!0})){const i=this[e(526)](t),r=e(515)==t[e(329)]?t[e(249)][e(340)][e(427)](0,-1):t[e(249)][e(340)],o=l[e(325)](r);o[e(506)](i)>0||o[e(406)](i,s[n++])}for(const[t,i]of u[e(512)])t[e(375)](e(222))||this[e(346)][e(235)](t,i)}const o=ht(e(494));this[e(323)][e(235)](e(494),o),this[e(491)][e(235)](e(494),this[e(247)](o,1));const a=ht(e(494));this[e(446)][e(235)](e(494),a),this[e(401)][e(235)](e(494),this[e(247)](a,1));const c=Array[e(384)](this[e(446)])[e(514)]((([t,e])=>[t,lt(e)]));this[e(319)](this[e(503)],c,this[e(346)],r)}[rt(455)](){const t=rt;this[t(344)](),this[t(482)]=-1,this[t(503)]=-1,this[t(348)][t(452)](),this[t(320)](this[t(451)])}[rt(319)](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(235)](t,{start:e[n(336)][n(321)](),end:e[n(380)][n(321)](),rootName:e[n(302)][n(240)]});this[n(348)][n(235)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(286)](t){const e=rt;this[e(348)][e(268)](t)}[rt(344)](){const t=rt;this[t(317)][t(452)](),this[t(405)][t(452)](),this[t(431)][t(452)](),this[t(446)][t(452)](),this[t(244)][t(452)](),this[t(323)][t(452)](),this[t(498)][t(452)](),this[t(401)][t(452)](),this[t(491)][t(452)](),this[t(346)][t(452)](),this[t(265)]=1,this[t(478)]=this[t(265)]}[rt(247)](t,e=null){const i=rt;let s=null;t.is(i(341))||(s=new H.Element(t[i(311)],{vid_start:null===e?this[i(265)]++:e++}));const n=[];for(const s of t[i(414)]())if(s.is(i(388))){n[i(361)](this[i(247)](s,e));const t=n[n[i(256)]-1];null!==e&&(e=t.is(i(388),i(449))?t[i(506)](i(364))+1:t[i(506)](i(523))+1)}else for(let t=0;t<s[i(537)];t++)n[i(361)](new H.Element(i(449),{vid:null===e?this[i(265)]++:e++}));if(t.is(i(341))){const e=ht(t[i(240)]);return e[i(423)](0,n),e}return s[i(406)](i(523),null===e?this[i(265)]++:e++),s[i(423)](0,n),s}[rt(398)](t,e,i){const s=rt;this[s(344)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(348)][s(287)](t);this[s(323)]=new Map(n),this[s(498)]=new Map(A(o));for(const[t,e]of this[s(323)])if(s(494)!==t&&(this[s(446)][s(235)](t,lt(e)),this[s(244)]=new Map(A(o)),i)){const i=this[s(265)];this[s(401)][s(235)](t,this[s(247)](e)),this[s(491)][s(235)](t,this[s(247)](e,i))}this[s(478)]=this[s(265)],this[s(446)][s(235)](s(494),lt(this[s(323)][s(287)](s(494)))),i&&this[s(401)][s(235)](s(494),this[s(247)](this[s(323)][s(287)](s(494))));for(const[t,e]of r){const i=this[s(323)][s(287)](e[s(240)]),n=this[s(446)][s(287)](e[s(240)]),r=new H.Range(this[s(254)](e[s(336)],i),this[s(254)](e[s(380)],i)),o=this[s(409)](r,n);i[s(512)][s(235)](t,r),this[s(346)][s(235)](t,o)}this[s(459)](t,e,i)}[rt(459)](t,e,i){const s=rt;for(const n of this[s(451)][s(332)](t,e))this[s(270)](n,i);for(const t of this[s(446)][s(440)]())t[s(512)][s(452)]();for(const[t,e]of this[s(346)])this[s(446)][s(287)](e[s(302)][s(240)])[s(512)][s(235)](t,e[s(321)]());const n=new Map,r=new Map;for(const[t,e]of this[s(446)])n[s(235)](t,lt(e)),r[s(235)](t,this[s(244)][s(287)](t));this[s(319)](e,n,this[s(346)],r)}[rt(352)](t){const e=rt,i=Array[e(384)](this[e(348)][e(301)]());i[e(463)](((t,e)=>t-e)),i[e(291)]();for(const e of i)if(e<t)return e;return Number[e(437)]}[rt(486)](t,e){const i=rt,s=Array[i(384)](e[i(512)])[i(514)]((([e,s])=>[e,this[i(409)](s,t)]));t[i(512)]=new Map(s)}[rt(536)](t){const e=rt;for(const i of this[e(346)][e(440)]()){const s=i[e(373)](t),n=H.Range[e(251)](s);i[e(336)]=n[e(336)],i[e(380)]=n[e(380)]}}[rt(270)](t,e){const i=rt;if(i(343)!=t[i(329)]&&i(458)!=t[i(329)]){if(i(429)==t[i(329)]){const s=t[i(395)][i(302)][i(240)];this[i(446)][i(416)](s)||(this[i(446)][i(235)](s,ht(s,!0)),this[i(244)][i(235)](s,{}),e&&this[i(401)][i(235)](s,ht(s,!0)))}else{if(i(276)==t[i(329)]||i(337)==t[i(329)]||i(424)==t[i(329)])return void this[i(381)](t);i(281)==t[i(329)]&&this[i(299)](t)}if(i(281)!==t[i(329)]){const e=this[i(472)](t,this[i(446)]);e[i(279)](),this[i(536)](e)}if(e)switch(t[i(329)]){case i(429):this[i(493)](t);break;case i(371):case i(224):case i(524):this[i(485)](t);break;case i(351):this[i(226)](t);break;case i(342):this[i(350)](t)}}else this[i(349)](t,e)}[rt(472)](t,e){const i=rt,s=t[i(321)]();return s[i(500)]=t[i(500)],this[i(365)](s,e),s}[rt(327)](t){const e=rt;return t[e(514)]((t=>{const i=e,s=this[i(526)](t);return Number(t[i(534)][i(506)](s))}))}[rt(293)](t,e){const i=rt;if(t.is(i(388),i(449)))e[i(361)]({item:t,type:i(232)});else{t.is(i(388))&&e[i(361)]({item:t,type:i(467)});for(const s of t[i(414)]())this[i(293)](s,e);t.is(i(388))&&e[i(361)]({item:t,type:i(515)})}return e}[rt(475)](){const t=rt,e=new Map(this[t(317)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(323)][t(301)](),...this[t(446)][t(301)]()]);a[t(268)](t(494));for(const e of a){const i=this[t(446)][t(287)](e)||ht(e,!1),s=this[t(323)][t(287)](e)||ht(e,!1);i[t(541)]()||s[t(541)]()?(n[t(488)][e]=lt(i),n[t(285)][e]=lt(s),this[t(486)](n[t(285)][e],s),this[t(486)](n[t(488)][e],i),r[t(488)][e]=this[t(293)](this[t(401)][t(287)](e),[]),r[t(285)][e]=this[t(293)](this[t(491)][t(287)](e)||ht(e,!1),[])):a[t(268)](e)}for(const n of a){const o=r[t(488)][n];for(const n of o){const r=this[t(526)](n),o=n[t(534)][t(506)](r);i[t(268)](o),o>=this[t(478)]&&s[t(235)](o,e[t(287)](o))}}for(const n of a){const a=r[t(488)][n],c=this[t(327)](r[t(285)][n]);let u=0;for(const n of a){const r=this[t(526)](n),a=n[t(534)][t(506)](r);if(!s[t(416)](a)&&!o[t(416)](a))if(i[t(416)](a))u++;else{if(a!=c[u]){const s=e[t(287)](a)||e[t(287)](c[u]);for(;a!=c[u];)i[t(416)](c[u])||(o[t(235)](c[u],s),e[t(235)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(488)][e];for(const e of n){const n=this[t(526)](e),r=e[t(534)][t(506)](n);if(o[t(416)](r)){const e=o[t(287)](r);i[t(416)](r)||i[t(235)](r,{...e}),s[t(235)](r,{...e})}}}for(const e of i[t(301)]())e>=this[t(478)]&&i[t(268)](e);const c=new Map;for(const e of a){let n=r[t(488)][e];for(const e of n)if(e[t(534)].is(t(388),t(509))){const i=this[t(526)](e),n=e[t(534)][t(506)](i);if(s[t(416)](n)){const i=e[t(534)][t(383)][t(383)][t(506)](t(313)),r=c[t(287)](i)||new Set;r[t(453)](s[t(287)](n)[t(269)]),c[t(235)](i,r)}}n=r[t(285)][e];for(const e of n)if(e[t(534)].is(t(388),t(509))){const s=this[t(526)](e),n=e[t(534)][t(506)](s);if(i[t(416)](n)){const s=e[t(534)][t(383)][t(383)][t(506)](t(313)),r=c[t(287)](s)||new Set;r[t(453)](i[t(287)](n)[t(269)]),c[t(235)](s,r)}}for(const e of c[t(301)]())(s[t(416)](e)||i[t(416)](e))&&c[t(268)](e)}for(const e of a){const n=r[t(488)][e];let o=null,a=null;for(const e of n){const n=this[t(526)](e),r=e[t(534)][t(506)](n),u=c[t(287)](r);u&&t(467)==e[t(329)]&&(o=Array[t(384)](u)[0],a=e[t(534)][t(506)](t(523))),o&&(i[t(235)](r,{userId:o}),s[t(235)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(285)][e],a=n[t(488)][e];for(const{userId:e}of this[t(405)][t(440)]())null!==e&&l[t(453)](e);for(const{userId:e}of this[t(431)][t(440)]())null!==e&&l[t(453)](e);this[t(462)](a,r[t(488)][e],s,t(330),l),this[t(462)](o,r[t(285)][e],i,t(238),l),u[e]={insertions:this[t(532)](a),deletions:this[t(532)](o),attachChange:this[t(431)][t(287)](e)||null,attributesBefore:A(this[t(498)][t(287)](e))||{},attributesAfter:A(this[t(244)][t(287)](e))}}return{diffData:u,authorsIds:Array[t(384)](l)}}[rt(290)](t){const e=rt;for(const[,i]of t[e(512)]){const t=i[e(336)][e(476)]()[e(335)]((t=>e(509)==t[e(311)]));for(const i of t)1==i[e(328)]&&i[e(245)](0).is(e(388),e(522))&&i[e(245)](0)[e(406)](e(487),!0)}}[rt(532)](t){const e=rt;this[e(290)](t);const i=this[e(282)][e(272)][e(372)](t,{}),s=Array[e(384)](i[e(414)]())[e(514)]((t=>this[e(404)](t)));return JSON[e(420)](s)}[rt(404)](t){const e=rt;if(t.is(e(449)))return t[e(272)];{const i=this[e(282)][e(496)][e(287)](e(483)),s=t,n=this[e(282)][e(272)][e(518)][e(411)],r={type:i[e(359)](s),name:s[e(311)],attributes:Array[e(384)](s[e(273)]()),children:Array[e(384)](s[e(414)]())[e(514)]((t=>this[e(404)](t)))};if(t.is(e(370))&&e(499)!=t[e(311)]){const i=t[e(227)](n[e(430)],n);r[e(460)][e(361)](i[e(305)])}else if(t.is(e(477))){const i=n[e(430)][e(369)](s[e(311)]);t[e(227)](i,n),r[e(460)][e(361)](i[e(438)])}const o=Array[e(384)](s[e(443)]());o[e(256)]>0&&(r[e(393)]=o);const a=s[e(469)]();return null!==a&&(r[e(471)]=a),r}}[rt(462)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(282)][r(490)];for(let s=0;s<e[r(256)];s++){const n=this[r(526)](e[s]),c=e[s][r(534)][r(506)](n),h=i[r(287)](c),d=s==e[r(256)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(269)]!=o[r(269)])&&(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(269)],d=l(222)+s+":"+h+":"+c++,f=u[l(289)](i,a);t[l(512)][l(235)](d,f),null!==h&&n[l(453)](h)}}[rt(526)](t){const e=rt;switch(t[e(329)]){case e(467):return e(313);case e(515):return e(523);default:return e(364)}}[rt(365)](t,e){const i=rt;t[i(413)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(287)](n[i(302)][i(240)]);t[s]=this[i(254)](n,r)}if(n instanceof H.Range){const r=e[i(287)](n[i(302)][i(240)]);t[s]=this[i(409)](n,r)}i(302)===s&&(t[i(302)]=e[i(287)](t[i(302)][i(240)]))}}[rt(409)](t,e){const i=rt;return this[i(282)][i(490)][i(289)](this[i(254)](t[i(336)],e),this[i(254)](t[i(380)],e))}[rt(254)](t,e){const i=rt;return this[i(282)][i(490)][i(387)](e,t[i(340)],t[i(456)])}[rt(493)](t){const e=rt,i=this[e(401)][e(287)](t[e(395)][e(302)][e(240)]),s=this[e(254)](t[e(395)],i),n=null===t[e(500)]?null:t[e(500)]||this[e(282)][e(496)][e(287)](e(250)).me.id,r=s[e(383)],o=this[e(265)],a=[];for(const i of t[e(260)])if(i.is(e(388)))a[e(361)](this[e(247)](i));else for(let t=0;t<i[e(537)];t++)a[e(361)](new H.Element(e(449),{vid:this[e(265)]++}));const c=this[e(265)];for(let t=o;t<c;t++)this[e(317)][e(235)](t,{userId:n});r[e(423)](s[e(334)],a)}[rt(485)](t){const e=rt;(t=this[e(472)](t,this[e(401)]))[e(279)]();const i=null===t[e(500)]?null:t[e(500)]||this[e(282)][e(496)][e(287)](e(250)).me.id,s=t[e(376)](),n=s[e(383)],r=s[e(334)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(245)](e);r.is(a(388),a(449))?s[a(235)](r[a(506)](a(364)),{userId:i}):(s[a(235)](r[a(506)](a(313)),{userId:i}),t(s,r,0,r[a(328)]),s[a(235)](r[a(506)](a(523)),{userId:i}))}}(this[e(317)],n,r,r+t[e(479)])}[rt(226)](t){const e=rt,i=null===(t=this[e(472)](t,this[e(401)]))[e(500)]?null:t[e(500)]||this[e(282)][e(496)][e(287)](e(250)).me.id,s=t[e(277)][e(383)],n=t[e(267)][e(383)],r=s[e(506)](e(523)),o=n[e(506)](e(313));s[e(406)](e(523),n[e(506)](e(523))),n[e(406)](e(523),r),this[e(317)][e(235)](o,{userId:i}),this[e(317)][e(235)](r,{userId:i}),t[e(279)]()}[rt(350)](t){const e=rt,i=null===(t=this[e(472)](t,this[e(401)]))[e(500)]?null:t[e(500)]||this[e(282)][e(496)][e(287)](e(250)).me.id,s=t[e(379)],n=t[e(501)][e(383)];t[e(279)]();const r=n[e(506)](e(523)),o=t[e(464)][e(400)];if(s){const t=o[e(506)](e(523)),s=n[e(506)](e(523));n[e(406)](e(523),t),o[e(406)](e(523),s),this[e(317)][e(235)](n[e(506)](e(523)),{userId:i}),this[e(317)][e(235)](o[e(506)](e(313)),{userId:i})}else{const t=this[e(265)]++,s=this[e(265)]++;n[e(406)](e(523),t),o[e(406)](e(313),s),o[e(406)](e(523),r),this[e(317)][e(235)](t,{userId:i}),this[e(317)][e(235)](s,{userId:i})}}[rt(299)](t){const e=rt;if(!t[e(410)])return;const i=(t=this[e(472)](t,this[e(446)]))[e(505)]?t[e(505)][e(302)]:null,s=t[e(283)]?t[e(283)][e(302)]:null;i&&this[e(346)][e(268)](t[e(311)]),s&&this[e(346)][e(235)](t[e(311)],t[e(283)][e(321)]());const n=null===t[e(500)]?null:t[e(500)]||this[e(282)][e(496)][e(287)](e(250)).me.id,r=t[e(311)];if(!this[e(405)][e(416)](r))return void this[e(405)][e(235)](r,{range:t[e(505)],userId:n});const o=this[e(405)][e(287)](r),a=o[e(223)],c=t[e(283)];null==a&&null==c||a&&c&&a[e(345)](c)?this[e(405)][e(268)](t[e(311)]):o[e(269)]=n}[rt(349)](t,e){const i=rt;this[i(446)][i(416)](t[i(240)])?this[i(446)][i(287)](t[i(240)])[i(259)]=t[i(457)]:(this[i(446)][i(235)](t[i(240)],ht(t[i(240)],!0)),this[i(244)][i(235)](t[i(240)],{}),e&&this[i(401)][i(235)](t[i(240)],ht(t[i(240)],!0)));const s=null===t[i(500)]?null:t[i(500)]||this[i(282)][i(496)][i(287)](i(250)).me.id,n=this[i(431)][i(287)](t[i(240)]);n&&n[i(269)]===s?this[i(431)][i(268)](t[i(240)]):this[i(431)][i(235)](t[i(240)],{userId:s,isAttached:t[i(457)]})}[rt(381)](t){const e=rt,i=this[e(244)][e(287)](t[e(302)][e(240)]);null===t[e(304)]?delete i[t[e(530)]]:i[t[e(530)]]=t[e(304)]}}function lt(t){const e=rt,i=ht(t[e(240)],t[e(541)]());for(const s of t[e(414)]()){const t=s[e(495)](!0);i[e(470)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(240)]=t,s[i(259)]=e,s[i(541)]=()=>s[i(259)],s}function dt(t,e,i){const s=rt,n=s(515)==t[s(329)]?i[s(308)](t[s(534)],s(380)):i[s(255)](t[s(534)]);return i[s(387)](e,n[s(340)],n[s(456)])}function ft(t,e,i){const s=rt,n=s(467)==t[s(329)]?i[s(308)](t[s(534)],0):i[s(221)](t[s(534)]);return i[s(387)](e,n[s(340)],n[s(456)])}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 Et(t,e){const i=Vt();return(Et=function(t,e){return i[t-=330]})(t,e)}function Vt(){const t=["revisionNameInputValue","add","locale","16zrtiEq","focusTracker","arrowdown","trim","522092aCADwD","errorText","element","form","arrowleft","keystrokes","set","listenTo","focus","220","input","914aMNstD","revisionName","extendTemplate","ck-responsive-form","revisionNameInputView","1270KcwuMr","arrowup","3aZOQlF","stopPropagation","1642nOIgBP","355wdnvVT","arrowright","2042985IiNnoZ","6177820nIMpng","55314TogcuS","fieldView","_createRevisionNameInput","27846JsnjKa","value","optional","reset","210275DtmMae","setTemplate","ck-revision-history-save-revision-form","render","684GMrTeF","Name of the revision","label"];return(Vt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(399947===-parseInt(e(368))/1*(parseInt(e(331))/2)+-parseInt(e(375))/3*(-parseInt(e(357))/4)+-parseInt(e(332))/5*(parseInt(e(336))/6)+-parseInt(e(334))/7*(-parseInt(e(353))/8)+-parseInt(e(339))/9*(parseInt(e(373))/10)+parseInt(e(335))/11+-parseInt(e(347))/12*(-parseInt(e(343))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Dt extends pt.View{[At(354)];[At(362)];[At(372)];constructor(e,i){const s=At;super(e),this[s(354)]=new t.FocusTracker,this[s(362)]=new t.KeystrokeHandler,this[s(363)](s(350),""),this[s(372)]=this[s(338)](i),this[s(344)]({tag:s(360),attributes:{class:["ck",s(345),s(371)],tabindex:"-1"},children:[this[s(372)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(346)](){const t=At;super[t(346)](),(0,pt.submitHandler)({view:this}),this[t(354)][t(351)](this[t(372)][t(359)]),this[t(362)][t(364)](this[t(359)]);const e=e=>e[t(330)]();this[t(362)][t(363)](t(333),e),this[t(362)][t(363)](t(361),e),this[t(362)][t(363)](t(374),e),this[t(362)][t(363)](t(355),e)}[At(365)](){const t=At;this[t(372)][t(365)]()}get[At(369)](){const t=At;return this[t(372)][t(337)][t(359)][t(340)][t(356)]()}set[At(369)](t){const e=At;this[e(372)][e(337)][e(359)][e(340)]=t[e(356)]()}[At(342)](){const t=At;this[t(372)][t(337)][t(359)][t(340)]="",this[t(372)][t(358)]=null}[At(338)](t){const e=At,i=new pt.LabeledFieldView(this[e(352)],pt.createLabeledInputText),s=i[e(337)];s[e(370)]({attributes:{maxlength:e(366)}});let n=X(this[e(352)],e(348));return!t&&(n+=" ("+X(this[e(352)],e(341))+")"),i[e(349)]=n,s.on(e(367),(()=>{const t=e;this[t(350)]=s[t(359)][t(340)][t(356)]()})),i}}const Mt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=371]})(t,e)}function Ft(){const t=["showRevisionViewerCallback","revisionHistory.requireRevisionName","requires","isOfficialPlugin","hide","pluginName","ck-button-action","1528870wahSAn","revisionHistory","execute","buttonView","revisionSave","plugins","Dialog","Cancel","2208ExylkI","The revision name cannot be empty.","show","RevisionTracker","isEnabled","isReady","8UtkcmV","errorText","editing","Open revision history","init","_createSaveRevisionFormView","submit","isOpen","menu","delegate","Revision history","editor","Save current revision","40941VoIzFe","bind","render","children","locale","get","_saveRevisionFormView","items","_registerMenuComponent","config","menuBar:revisionHistory","componentFactory","isReadOnly","6946688kbVlll","revisionNameInputView","view","5443265wytRzu","9278580ovsEuY","saveRevision","revisionName","focus","95631VbETbl","Accept","panelView","reset","add","isPremiumPlugin","5093562wYoxhn","RevisionHistoryUI","role","4dArwqp","addMany","menuitem","_showDialog","set"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(970732===parseInt(e(378))/1*(-parseInt(e(413))/2)+-parseInt(e(384))/3+parseInt(e(387))/4*(parseInt(e(373))/5)+parseInt(e(374))/6+-parseInt(e(439))/7+parseInt(e(407))/8*(parseInt(e(426))/9)+parseInt(e(399))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Mt(397)](){return Mt(385)}static get[Mt(395)](){return!0}static get[Mt(383)](){return!0}static get[Mt(394)](){return[ct]}[Mt(432)];[Mt(417)](){const t=Mt,e=this[t(424)],i=e[t(404)][t(431)](t(410));e.ui[t(437)][t(382)](t(400),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(380)][n(429)],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(427)](n(411)).to(i,n(412),i,n(411),e,n(438),((t,e,i)=>t&&e&&!i)),r[n(402)][n(391)]({icon:mt.IconHistory,label:X(s,n(423)),tooltip:!0}),u[n(391)]({label:X(s,n(425)),withText:!0,role:n(389)}),u[n(427)](n(411)).to(i,n(412),i,n(411),e,n(438),((t,e,i)=>t&&e&&!i)),u.on(n(401),(()=>this[n(390)]())),h[n(391)]({label:X(s,n(416)),withText:!0,role:n(389)}),h[n(427)](n(411)).to(i,n(412),e,n(438),((t,e)=>t&&!e)),h.on(n(401),(()=>{const t=n;e[t(435)][t(431)](t(400))[t(392)](),r[t(420)]=!1,e[t(415)][t(372)][t(377)]()})),c[n(429)][n(382)](u),l[n(429)][n(382)](h),a[n(386)]=n(421),a[n(433)][n(388)]([c,l]),o[n(382)](a),r})),e.ui[t(437)][t(382)](t(436),(()=>this[t(434)]()))}[Mt(434)](){const t=Mt,e=this[t(424)],i=e[t(430)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(402)][t(391)]({icon:mt.IconHistory,label:X(i,t(423))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(391)]({label:X(i,t(425))}),o[t(422)](t(401)).to(s),o.on(t(401),(()=>{this[t(390)]()})),r[t(429)][t(382)](o),n[t(433)][t(382)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(391)]({label:X(i,t(416))}),c[t(422)](t(401)).to(s),c.on(t(401),(()=>{const i=t;e[i(435)][i(431)](i(400))[i(392)]()})),a[t(429)][t(382)](c),n[t(433)][t(382)](a),s[t(380)][t(429)][t(382)](n),s}[Mt(390)](){const t=Mt,e=this[t(424)],i=e[t(430)],s=e[t(404)][t(431)](t(405)),n=e[t(404)][t(431)](t(410));function r(n){const r=t;e[r(435)][r(431)](r(393))&&""===n[r(376)]?n[r(371)][r(414)]=X(i,r(408)):(e[r(404)][r(431)](ct)[r(375)]({name:n[r(376)]}),s[r(396)]())}this[t(432)]||(this[t(418)](),this[t(432)].on(t(419),(()=>r(this[t(432)])))),this[t(432)][t(381)](),s[t(409)]({id:t(403),title:X(i,t(425)),isModal:!0,content:this[t(432)],actionButtons:[{label:X(e[t(430)],t(406)),withText:!0,onExecute:()=>s[t(396)]()},{label:X(e[t(430)],t(379)),class:t(398),withText:!0,onCreate(i){const s=t;i[s(427)](s(411)).to(n,s(412),n,s(411),e,s(438),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(432)])}]})}[Mt(418)](){const t=Mt,e=this[t(424)],i=e[t(430)];this[t(432)]=new Dt(i,e[t(435)][t(431)](t(393))),this[t(432)][t(428)]()}}function Pt(){const t=["type","1611gOPgSf","Suggested by","536eNOGxM","280lZPzhd","5qdXKZL","3576gCmkGE","_model","add","31410luLvSW","Added by","ck-annotation","ck-revision-change__","div","setTemplate","Removed by","data","span","21264792ofGoHa","changeId","2119626OrIaHv","name","ck-revision-change__label","ck-revision-change","734437bzKyVS","bindTemplate","set","author","isSuggestion","11372262QpWETc","404516JOxvmc","1mXrvsg","element","focus"];return(Pt=function(){return t})()}const jt=zt;function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=350]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(990388===parseInt(e(356))/1*(-parseInt(e(379))/2)+-parseInt(e(360))/3*(-parseInt(e(365))/4)+-parseInt(e(364))/5*(parseInt(e(354))/6)+parseInt(e(355))/7+parseInt(e(362))/8*(-parseInt(e(368))/9)+-parseInt(e(363))/10*(-parseInt(e(383))/11)+parseInt(e(377))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[jt(378)];[jt(366)];constructor(t,e){const i=jt;super(t),this[i(366)]=e,this[i(378)]=e.id;const s=this[i(350)],n=X(t,e[i(375)][i(353)]?i(361):i(367)==e[i(359)]?i(369):i(374));this[i(351)](i(359),e[i(359)]),this[i(373)]({tag:i(372),attributes:{class:[i(370),i(382),s.to(i(359),(t=>i(371)+t))],tabindex:-1},children:[{tag:i(376),children:[{tag:i(376),attributes:{class:[i(381)]},children:[{text:n}]},{text:" "+e[i(352)][i(380)]}]}]})}[jt(358)](){const t=jt;this[t(357)][t(358)]()}}var Ut=Zt;function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=252]})(t,e)}function Ht(){var t=["set","3969417YQuUps","5985612dXWrQj","6ReQEpq","939875gGrnWG","14428350ZpdbdL","createdAt","toJSON","3440378tNopCw","4QNzUFD","145624VqZfpo","511hoEQMT","rootName","4381495IxGHem","author","data","type"];return(Ht=function(){return t})()}!function(t){for(var e=Zt,i=t();;)try{if(884526===-parseInt(e(268))/1+parseInt(e(255))/2+parseInt(e(265))/3*(-parseInt(e(256))/4)+-parseInt(e(260))/5*(-parseInt(e(267))/6)+parseInt(e(258))/7*(parseInt(e(257))/8)+parseInt(e(266))/9+-parseInt(e(252))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Ut(261)];[Ut(263)];[Ut(262)];[Ut(259)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(261)]=e[i(261)],this[i(263)]=e[i(263)],this[i(262)]=e[i(262)]||{},this[i(259)]=e[i(259)],this[i(264)](i(253),e[i(253)])}[Ut(254)](){var t=Ut;return{id:this.id,authorId:this[t(261)].id,type:this[t(263)],data:this[t(262)],createdAt:this[t(253)]}}}const $t=Yt;function Bt(){const t=["4141340rVkrol","2121524cuPHKk","add","_setChanges","oldRevisionId","9BWmpla","newRevisionId","3135855KZrIxO","42YyPmLE","1552888biRRAW","542025EvHOOJ","27dgGuqa","86802VYlBax","60998prBxYE","changes"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=388]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(340271===-parseInt(e(393))/1+-parseInt(e(395))/2*(parseInt(e(388))/3)+parseInt(e(399))/4+-parseInt(e(390))/5+-parseInt(e(391))/6*(-parseInt(e(396))/7)+-parseInt(e(392))/8+parseInt(e(394))/9*(parseInt(e(398))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt{[$t(389)];[$t(402)];[$t(397)];constructor(e,i){const s=$t;this[s(389)]=e,this[s(402)]=i,this[s(397)]=new t.Collection}[$t(401)](t){const e=$t;for(const i of t)this[e(397)][e(400)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=266]})(t,e)}function te(){const t=["remove","values","_cleanMarkers","revision-suggestion","revisionHistoryAttachChange","isAtStart","getCustomProperty","slice","toViewElement","_makeTape","changeId","change:isReady","view","attribute:vid","ck-editor__editable__overlay","repository","previousPosition","backward","return","hasAttribute","distance","schema","isAfter","document","selection","9292720gfowdN","restoreRevision","elementEnd","_step","forward","element:pre","change:isEnabled","_setDistance","all","11zpEneO","top","affectsData","numberOfChanges","highest","markersStart","nodeAfter","_markMarkers","createRevision","set","isPremiumPlugin","currentChangeNumber","getRevisionDocumentData","detachRoot","diff","type","createAttributeElement","newRevisionId","config","isAtEnd","addRevisionData","attributes","addMarker:revision-suggestion:deletion","ck-suggestion-marker-","activeChange","checkAttribute","next","merge","_refreshStartEndIndex","isOnRoot","comment","add","consumable","createUIElement","object","ck-suggestion-preview-marker-","insertions","authors","enqueueChange","128AKkSgC","splice","addMarker:revision-suggestion:insertion","getIndex","catch","concat","push","editingDowncast","findIndex","data","then","isAdded","bottom","done","listenTo","observeMarkers","deletion","1356452CIlQax","getAttributes","nextPosition","_changeIdToChange","markerName","65922xcaMFz","toViewPosition","ck-suggestion-marker-split","activeView","revision-suggestion:","deletions","WidgetToolbarRepository","init","mousedown","domEvent","_getDiff","dataToMarker","isAddSuggestion","hasClass","uiElement","insertion","shift","revision","_threeWayMerge","markerToData","isRemoved","revision:","-new","from","removeMarker:revision-suggestion","nextSibling","showNextChange","getChild","revision-comment:","pop","isAttached","first","isNavigationMode","1386603AgzvxN","domConverter","ck-revision-history-root-remove","end","compare","_setChanges","isInline","enableReadOnlyMode","removeMarker:revision","_markMismatchedRemovedTags","pluginName","revisionHistory","side","_revisions","model","POSITIVE_INFINITY","start","_setConversion","low","flat","ck-revision-history-root-","locale","editing","_balloon","ck-revision-history-root-add","attributesAfter","_utils","isBefore","diffData","RevisionsRepository","getClientRects","elementToAttribute","createPositionFromPath","split","getLaterVisibleRevision","vid_end","offsetSize","resolve","right","keys","restoreRevisionCallback","createRangeIn","startsWith","reconvertMarker","has","forceDisabled","target","isSuggestion","stop","loadRevisionData","_removeMissingPairs","_makeModelFromTape","markers","isEqual","getItems","getRevisionRootsAttributes","softBreak","_findChangeIdFromDomTarget","mapper","ck-suggestion-marker","_update","_appendChild","requires","endIndex","_sortAndFilterDiffChanges","markerToHighlight","clear","bind","parent","startIndex","item","isOfficialPlugin","modelRange","map","attachChange","rootName","editor","createPositionBefore","8UjdabN","upcast","roots","_getViewForChange","insert","ck-suggestion-marker-merge","41150YCDydx","string","high","commands","pairId","left","maxOffset","execute","removeAttribute","_activeViewTarget","sort","markersEnd","vid","_changeView","text","_getChangeFromId","range","refresh","for","get","isIncorrect","suggestion:","markerRange","isRemoveSuggestion","getRevision","dataDowncast","_joinTapes","index","change:numberOfChanges","wrap","getDomRoot","name","getAttribute","isObject","destroy","getRoot","_data","plugins","mapViewToDom","addHighlight","_processTape","unbindElementFromMarkerName","getWalker","364Kgvmks","test","ck-suggestion-preview-marker","removeClass","vid_start","length","unshift","indexOf","level","revision-viewer","span","oldRevisionId","find","markerNameToElements","isContent","element","filter","adapter","_fixObsoleteTags","ck-suggestion-marker--active","_initInteractions","isCollapsed","includes","addMarker:revision","bindElementToMarker","RevisionViewer","_markSuggestions","elementStart","isEnabled","1712376SgPNGR","writer","getRootNames","code","userId","showStack","addClass","data-change-id","mouseover","_removeUnsupportedChanges","showPreviousChange","downcastDispatcher","conversion","change:activeView","consume","updatePosition","addRevision","_cleanUp","attributesBefore","444866dZjhiE","setAttribute","delete","removeMarker","isLimit","suggestion","changes","_getRevisionsRange","addRoot","_makeModelFromViewString","isReady","abs","createRange","ck-revision-history-root--active","viewItem","error","toViewRange","RevisionHistoryUtils","forEach","change","revisionHistoryLabel","change:activeChange","_markInsertions","isBlock"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(396911===parseInt(e(376))/1+-parseInt(e(490))/2+parseInt(e(357))/3+-parseInt(e(473))/4*(-parseInt(e(285))/5)+parseInt(e(495))/6*(parseInt(e(328))/7)+parseInt(e(279))/8*(parseInt(e(528))/9)+-parseInt(e(425))/10*(parseInt(e(434))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(415)];[Qt(345)]=null;[Qt(554)];[Qt(294)];[Qt(298)];[Qt(493)];[Qt(551)];static get[Qt(538)](){return Qt(353)}static get[Qt(272)](){return!0}static get[Qt(444)](){return!0}static get[Qt(590)](){return[Z.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(415)]=this[e(277)][e(322)][e(304)](e(557)),this[e(554)]=this[e(277)][e(322)][e(304)](e(393)),this[e(443)](e(458),null),this[e(443)](e(498),null),this[e(294)]=null,this[e(443)](e(448),null),this[e(443)](e(386),!1),this[e(443)](e(356),!0),this.on(e(431),((t,i,s)=>{const n=e;this[n(458)]=null,this[n(498)]=null,this[n(277)][n(550)][n(412)][n(395)]((t=>{const e=n;for(const i of this[e(277)][e(550)][e(412)][e(423)][e(281)])s?t[e(331)](e(414),i):t[e(363)](e(414),i)}))})),this[e(268)](e(527)).to(this,e(458),(t=>null!==t)),this[e(268)](e(445)).to(this,e(386),this,e(448),this,e(458),((t,i,s)=>t&&s?i[e(382)][e(476)](s):0)),this[e(268)](e(437)).to(this,e(386),this,e(448),((t,i)=>t?i[e(382)][e(333)]:0)),this[e(298)]=null,this[e(493)]=new Map,this[e(551)]=this[e(277)][e(322)][e(304)](pt.ContextualBalloon)}[Qt(502)](){const t=Qt,e=this[t(277)],i=new ne(e,{direction:t(417)}),s=new ne(e,{direction:t(429)});e[t(288)][t(465)](t(367),i),e[t(288)][t(465)](t(521),s),e[t(288)][t(465)](t(426),new se(e)),this.on(t(313),(()=>{const e=t;i[e(302)](),s[e(302)]()})),this[t(545)](),this[t(348)](),e[t(535)](t(337)),e[t(322)][t(572)](t(501))&&e[t(322)][t(304)](t(501))[t(573)](t(337))}async[Qt(446)](t){const e=Qt;return await this[e(554)][e(577)](t,this[e(345)]),this[e(554)][e(446)](t)}async[Qt(583)](t){const e=Qt;return await this[e(554)][e(577)](t,this[e(345)]),this[e(554)][e(583)](t)}async[Qt(532)](t,e,i=!1){const s=Qt;if(!this[s(356)])return;const n=this[s(448)],r=this[s(415)],o=s(286)==typeof t?r[s(309)](t):t,a=s(286)==typeof e?r[s(309)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(448)]&&this[s(448)][s(451)]===c&&this[s(448)][s(339)]===u)return Promise[s(565)]();this[s(386)]=!1,this[s(498)]=null,this[s(458)]=null,this[s(448)]=new Gt(c,u);const l=this[s(383)](o,a,!0)[s(274)]((t=>this[s(554)][s(577)](t,this[s(345)])));return l[s(479)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(433)](l)[s(483)]((()=>{const t=s;if(!this[t(356)])return;this[t(374)]();const e=this[t(505)](c,u);for(const i of e[t(382)])this[t(493)][t(443)](i.id,i);this[t(277)][t(542)][t(472)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(277)][s(542)][s(423)][s(359)]())i[s(447)](t);for(const t of Object[s(567)](e[s(542)])){const n=i[s(384)](t);for(const r of Object[s(567)](e[s(455)][t]))i[s(377)](r,e[s(455)][t][r],n);i[s(283)](e[s(542)][t],n,0)}})),this[t(448)][t(533)](this[t(592)](e[t(382)])),this[t(386)]=!0}))[s(477)]((t=>{const e=s;console[e(391)](t),this[e(374)](),n&&(this[e(448)]=n),this[e(386)]=!0}))}[Qt(454)](t,e){const i=Qt,s=this[i(415)][i(442)](t);return s.on(i(588),((t,i,n)=>e(i,n,s))),this[i(415)][i(373)](s),s}[Qt(374)](){const t=Qt;this[t(458)]=null,this[t(402)](),this[t(298)]&&this[t(298)][t(319)](),this[t(298)]=null,this[t(493)][t(267)](),this[t(277)][t(542)][t(472)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(277)][i(542)][i(423)][i(359)]())e[i(447)](t)}))}[Qt(592)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(277)][e(542)][e(423)][e(359)]()){const n=this[e(277)][e(550)][e(412)][e(315)](t);if(!n)continue;const r=n[e(558)]()[e(271)](0);r&&(i[e(479)](t),s[e(443)](t,r))}return i[e(295)](((t,i)=>{const n=e,r=s[n(304)](t),o=s[n(304)](i);return r.y-o.y||r.x-o.x})),(t=t[e(344)]((t=>i[e(350)](t[e(276)]))))[e(295)](((t,s)=>i[e(335)](t[e(276)])-i[e(335)](s[e(276)]))),t}[Qt(409)](t){const e=Qt,i=Array[e(518)](t[e(580)])[e(344)]((([t,i])=>t[e(570)](e(516))&&!i[e(349)])),s=Array[e(518)](this[e(277)][e(542)][e(569)](t)[e(327)]({singleCharacters:!0}));if(0!=i[e(333)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(561)](":");if(n[e(531)][e(581)](t[e(492)])&&i[e(511)](),(t[e(416)][e(581)](n[e(544)])||t[e(416)][e(422)](n[e(544)]))&&(e(510)==r?t[e(484)]={userId:o}:e(489)==r&&(t[e(515)]={userId:o})),0==i[e(333)])break}return s}[Qt(462)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(333)];s++)e(299)===t[s][e(449)]?(t[s][e(271)][e(270)]=s,t[s][e(271)][e(591)]=s):(e(355)===t[s][e(449)]?t[s][e(271)][e(270)]=s:e(427)===t[s][e(449)]&&(t[s][e(271)][e(591)]=s),i[e(443)](t[s].id,s));for(const s of i[e(401)]())e(355)===t[s][e(449)]?t[s][e(271)][e(591)]=i[e(304)](t[s][e(289)]):e(427)===t[s][e(449)]&&(t[s][e(271)][e(270)]=i[e(304)](t[s][e(289)]))}[Qt(325)](t){const e=Qt;for(let i=0;i<t[e(333)];i++){if(e(355)===t[i][e(449)])t[i][e(271)][e(270)]=i;else if(e(427)===t[i][e(449)]){t[i][e(271)][e(591)]=i;const s=t[i][e(271)][e(270)];t[s][e(289)]=t[i].id,t[i][e(289)]=t[s].id}else t[i][e(271)][e(270)]=i,t[i][e(271)][e(591)]=i,t[i][e(289)]=null;t[i][e(439)]||(t[i][e(439)]=[],t[i][e(296)]=[])}}[Qt(398)](t,e){const i=Qt,s=t[i(344)]((t=>!t[i(484)]));for(let t=0;t<e[i(333)];t++)e[t][i(484)]&&(s[t][i(484)]=e[t][i(484)])}[Qt(505)](t,e=null){const i=Qt,s=this[i(415)][i(309)](t),n=e?this[i(415)][i(309)](e):null,r=this[i(383)](s,n),o=r[r[i(333)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(333)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(567)](e[i(556)]))if(e[i(556)][t][i(275)]){const s=e[i(556)][t][i(275)];s[i(525)]?(u[i(465)](t),l[i(572)](t)&&l[i(304)](t)[i(361)]==s[i(361)]?l[i(378)](t):l[i(443)](t,s)):l[i(572)](t)?(u[i(378)](t),l[i(378)](t)):(u[i(465)](t),l[i(443)](t,s))}else u[i(465)](t)}for(const t of u){const e=l[i(572)](t)&&!l[i(304)](t)[i(525)];let s=e?r[i(333)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(556)][t]){const s=e?o[i(556)][t][i(375)]:o[i(556)][t][i(553)];c[i(455)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(542)]={};for(const e of t[i(471)])a[i(443)](e.id,e);for(const e of u){const s=t[i(556)][e]?t[i(556)][e][i(470)]:"[]",n=t[i(556)][e]?t[i(556)][e][i(500)]:"[]";t[i(542)][e]={insertions:this[i(554)][i(385)](s),deletions:this[i(554)][i(385)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(518)](s[i(542)][t][i(470)][i(580)])[i(344)]((([t])=>!t[i(570)](i(516)))));let h=0;for(const o of r){const r=this[i(409)](o[i(542)][t][i(470)]);o==s?(e=r,n=e[i(333)],e[i(394)]((t=>{t.id=h++})),this[i(325)](e)):this[i(398)](e,r);const a=e[i(344)]((t=>!t[i(484)]))[i(274)]((t=>t.id));let c=0;const l=this[i(409)](o[i(542)][t][i(500)]);l[i(394)]((t=>{t[i(515)]?t.id=n++:t.id=a[c++]})),this[i(325)](l),this[i(432)](e,i(484)),this[i(432)](l,i(515)),o==s&&this[i(441)](e,u),e=this[i(311)](e,l),this[i(462)](e),this[i(432)](e,i(515))}e=e[i(344)]((t=>!(t[i(484)]&&t[i(515)])));const d=new Map(o[i(542)][t][i(500)][i(580)]),f=new Set(u[i(567)]());for(const t of d[i(567)]())f[i(378)](t);this[i(354)](e,f),this[i(346)](e),e=this[i(578)](e),e=this[i(537)](e),e=this[i(366)](e);const{root:m,changes:p}=this[i(579)](e,a,t);c[i(542)][t]=m;const v=l[i(304)](t);if(v){const e=a[i(304)](v[i(361)]),s=new qt({author:e,type:v[i(525)]?i(465):i(400),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(334)](s),c[i(455)][t][i(404)]=s.id}c[i(382)]=c[i(382)][i(478)](p)}return c}[Qt(441)](t,e){const i=Qt;for(let s=0;s<t[i(333)];s++)for(const[n,r]of e)!r[i(349)]&&r[i(544)][i(581)](t[s][i(416)])&&t[s][i(439)][i(479)](n),r[i(531)][i(581)](t[s][i(492)])&&t[s][i(296)][i(479)](n)}[Qt(311)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(333)]||r<e[i(333)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(479)](o);else if(a[i(515)]&&o[i(484)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(513)](t,n,e,r);s=s[i(478)](o),n=a,r=c}else a[i(515)]?(r++,s[i(479)](a)):(n++,s[i(479)](o))}return s}[Qt(354)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(333)];o++){for(let r=0;r<t[o][i(439)][i(333)];r++){const a=t[o][i(439)][r];if(!e[i(572)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(403)!=c||i(510)!=u&&i(489)!=u||(s[i(334)]({type:u,name:a,userId:l}),t[o][i(439)][i(474)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(296)][i(333)];r++){const a=t[o][i(296)][r];if(!e[i(572)](a))continue;const{group:c,type:u}=n(a);if(i(403)!=c||i(510)!=u&&i(489)!=u)continue;t[o][i(296)][i(474)](r,1),r--;const l=s[i(481)]((t=>t[i(316)]==a));l>-1&&s[i(474)](l,1)}}function n(t){const e=i,s=t[e(561)](":");return{group:s[0],type:s[1],subType:s[e(333)]>=5?s[2]:null,id:s[e(333)]<5?s[2]:s[3],authorId:s[e(333)]<5?s[3]:s[4],markerCount:6==s[e(333)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(333)];i++){if(t[e(484)]&&e(510)==s[i][e(449)])return t[e(507)]=s[i],void delete t[e(484)];if(!t[e(484)]&&!t[e(515)]&&e(489)==s[i][e(449)])return void(t[e(308)]=s[i])}}}[Qt(432)](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(443)](o.id,s);for(let s=0;s<t[i(333)];s++){if(i(515)==e&&t[s][i(484)]||i(484)==e&&t[s][i(515)])continue;if(i(299)==t[s][i(449)]){t[s][i(420)]=0;continue}const n=r[i(304)](t[s][i(289)]),o=r[i(304)](t[s].id);t[s][i(420)]=n-o}}[Qt(383)](t,e,i=!1){const s=Qt,n=[];let r=this[s(415)][s(476)](t),o=this[s(415)][s(476)](e);for(-1==o&&(o=this[s(415)][s(541)][s(333)],i=!1);r<o;)n[s(479)](this[s(415)][s(309)](r)),r++;return i&&n[s(479)](this[s(415)][s(309)](r)),n}[Qt(513)](t,e,i,s){const n=Qt,r=this[n(277)][n(542)][n(421)];let o=e;for(;t[o]&&t[o][n(484)];)o++;let a=s;for(;i[a]&&i[a][n(515)];)a++;u(t,e,o),u(i,s,a);const c=i[n(407)](s,a)[n(478)](t[n(407)](e,o));return c[n(295)](((t,e)=>t[n(540)]!=e[n(540)]?t[n(540)]-e[n(540)]:t[n(336)]!=e[n(336)]?t[n(336)]-e[n(336)]:t[n(420)]!=e[n(420)]?e[n(420)]-t[n(420)]:!!t[n(484)]!=!!e[n(484)]?-1==t[n(540)]||0==t[n(540)]?t[n(484)]?-1:1:t[n(484)]?1:-1:t[n(312)]-e[n(312)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(543)],c=!0;for(let n=e;n<i;n++)if(r[s(534)](t[n][s(271)])||(c=!1),t[n][s(271)][s(270)]<e&&(o=n),t[n][s(271)][s(591)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(540)]=n<=o?-1:n<a?0:1,t[n][s(312)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(420)]?t[i][s(336)]=u:(u++,t[i][s(336)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(540)]&&(t[n][s(336)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(420)]?t[e][s(336)]=u:(u--,t[e][s(336)]=u,u--)}}[Qt(346)](t){const e=Qt,i=new Map,s=this[e(277)][e(542)][e(421)];for(let n=1;n<t[e(333)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(299)==c[e(449)])continue;if(c[e(449)]!=u[e(449)])continue;if(!s[e(399)](u[e(271)])||s[e(380)](u[e(271)]))continue;if(!s[e(399)](c[e(271)])||s[e(380)](c[e(271)]))continue;if((t[n][e(484)]||t[n][e(507)])&&t[n-1][e(515)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(515)]||!t[n-1][e(484)]&&!t[n-1][e(507)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(336)]==o[e(336)],h=Math[e(387)](r[e(336)])<Math[e(387)](o[e(336)])&&0==o[e(420)];(l||h)&&(i[e(443)](o.id,r.id),t[e(474)](a,1),n--,r[e(484)]=!1)}for(let s=0;s<t[e(333)];s++)i[e(572)](t[s][e(289)])&&(t[s][e(289)]=i[e(304)](t[s][e(289)]))}[Qt(578)](t){const e=Qt,i=new Set(t[e(274)]((t=>t.id)));for(let s=0;s<t[e(333)];s++)i[e(572)](t[s][e(289)])||0==t[s][e(420)]||(t[s][e(305)]=!0);return t[e(344)]((t=>!t[e(305)]))}[Qt(537)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(333)];s++){if(i[e(572)](t[s].id)&&t[s][e(515)]&&(t[s][e(305)]=!0),t[s][e(305)])continue;if(0==t[s][e(420)])continue;if(e(355)!=t[s][e(449)])continue;if(null==t[s][e(289)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(289)];)e(355)==t[n][e(449)]?r++:e(427)==t[n][e(449)]&&r--,n++;if(0!=r)if(t[s][e(515)])t[s][e(305)]=!0;else for(;n!=s;)t[n][e(515)]&&0!=t[n][e(420)]&&(t[n][e(305)]=!0,i[e(465)](t[n][e(289)])),n--}return t[e(344)]((t=>!t[e(305)]))}[Qt(366)](t){const e=Qt,i=this[e(277)][e(542)][e(421)];for(let s=0;s<t[e(333)];s++){if(!(t[s][e(484)]||t[s][e(507)]||t[s][e(515)]||t[s][e(308)]))continue;if(0==t[s][e(420)])continue;const n=t[s][e(271)];i[e(399)](n)||i[e(380)](n)||(t[s][e(484)]&&delete t[s][e(484)],t[s][e(507)]&&delete t[s][e(507)],t[s][e(308)]&&delete t[s][e(308)],t[s][e(515)]&&(t[s][e(305)]=!0))}return t[e(344)]((t=>!t[e(305)]))}[Qt(579)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(277)][s(542)],c=a[s(421)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(333)];e++)if(s(355)===t[e][s(449)]){t[e][s(416)]=a[s(560)](n,f);const i=new H.Element(t[e][s(271)][s(316)],t[e][s(271)][s(491)]());u[0][s(589)](i),f[s(479)](0),u[s(334)](i),t[e][s(492)]=a[s(560)](n,f)}else s(427)===t[e][s(449)]?(u[s(511)](),t[e][s(416)]=a[s(560)](n,f),f[s(524)](),f[f[s(333)]-1]++,t[e][s(492)]=a[s(560)](n,f)):(t[e][s(416)]=a[s(560)](n,f),d?d[s(321)]+=t[e][s(271)][s(482)]:d=new H.Text(t[e][s(271)][s(482)],t[e][s(271)][s(491)]()),t[e+1]&&s(299)===t[e+1][s(449)]&&v(d,t[e+1][s(271)])||(u[0][s(589)](d),d=null),f[f[s(333)]-1]+=t[e][s(271)][s(564)],t[e][s(492)]=a[s(560)](n,f));for(let e=0;e<t[s(333)];e++){const i=t[e][s(416)],n=t[e][s(492)];for(const n of t[e][s(439)])o[s(443)](n,{start:i,end:null});m(s(308),e,i,n),m(s(507),e,i,n),m(s(515),e,i,n),m(s(484),e,i,n);for(const i of t[e][s(296)]){const t=o[s(304)](i);t?t[s(531)]=n:o[s(443)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(277)][s(542)][s(388)](e[s(544)],e[s(531)]);n[s(580)][s(443)](t,i)}return r[s(295)](((t,e)=>{const i=s,r=n[i(580)][i(304)](i(516)+t.id),o=n[i(580)][i(304)](i(516)+e.id);return r[i(544)][i(555)](o[i(544)])?-1:r[i(544)][i(422)](o[i(544)])?1:r[i(531)][i(555)](o[i(531)])?-1:r[i(531)][i(422)](o[i(531)])?1:i(465)===t[i(449)]?-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(361)]:null,d=i===t[o(333)]-1,f=h[e][0],m=c[o(318)](t[i][o(271)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(531)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(361)]!==u&&(l[e][o(531)]=n,f&&f[o(361)]===l[e][o(361)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(355)!==t[i][o(449)]||f&&f[o(361)]===u||h[e][o(334)]({userId:u,object:t[i][o(271)],change:l[e]}),o(427)===t[i][o(449)]&&f&&f[o(468)]===t[i][o(271)]&&(h[e][o(511)](),l[e]=f[o(395)])),l[e]&&d&&(l[e][o(531)]=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(271)],f=a[h(421)][h(399)](d)&&!a[h(421)][h(380)](d),m=t[h(440)]==o[h(269)]&&o[h(405)];if(f&&m)return;const p=a[h(388)](t,o),v=e[h(304)](u),g=new qt({author:v,type:h(484)==l||h(507)==l?h(465):h(400),data:{isSuggestion:h(507)==l||h(308)==l},createdAt:new Date,rootName:i});r[h(479)](g),n[h(580)][h(443)](h(516)+g.id,p)}function v(t,e){const i=s,n=t[i(491)](),r=e[i(491)]();for(const t of n){if(t[1]!==e[i(317)](t[0]))return!1;r[i(460)]()}return r[i(460)]()[i(486)]}}[Qt(545)](){const t=Qt;this[t(277)][t(369)][t(303)](t(280))[t(506)]({view:t(512)}),this[t(277)][t(369)][t(303)](t(480))[t(266)]({model:t(512),view:e=>{const i=t,s=e[i(494)][i(561)](":")[1],n=this[i(300)](s);if(!n)return null;const r=i(465)==n[i(449)]?i(510):i(489),o=[i(587),i(457)+r];return n[i(482)][i(575)]&&o[i(479)](i(457)+r+i(517)),this[i(458)]==n&&o[i(479)](i(347)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(277)][t(369)][t(303)](t(280))[t(465)]((e=>{const i=t;e.on(i(430),((t,e,s)=>{const n=i,r=e[n(390)][n(522)](0);if(!r||!r.is(n(343),n(360)))return;if(!s[n(466)][n(371)](r,{attributes:[n(332),n(563)]}))return;const o=e[n(273)][n(544)][n(440)];s[n(358)][n(377)](n(332),r[n(317)](n(332)),o),s[n(358)][n(377)](n(563),r[n(317)](n(563)),o)}),{priority:i(546)})})),this[t(277)][t(369)][t(303)](t(280))[t(465)]((e=>{const i=t;e.on(i(343),((t,e,s)=>{const n=i;if(!s[n(466)][n(371)](e[n(390)],{attributes:[n(332),n(563)]}))return;if(e[n(273)][n(349)])return;const r=e[n(273)][n(544)][n(440)];r[n(419)](n(332))||r[n(419)](n(297))||(s[n(358)][n(377)](n(332),e[n(390)][n(317)](n(332)),r),s[n(358)][n(377)](n(563),e[n(390)][n(317)](n(563)),r))}),{priority:i(546)})})),this[t(277)][t(369)][t(303)](t(280))[t(559)]({view:{name:t(338),attributes:{vid:!0}},model:{key:t(297),value:e=>e[t(317)](t(297))}}),this[t(277)][t(542)][t(421)].on(t(459),((e,[,i])=>{const s=t;[s(332),s(563),s(297)][s(350)](i)&&(e[s(418)]=!0,e[s(576)]())}),{priority:t(438)}),this[t(277)][t(369)][t(303)](t(310))[t(465)]((e=>{const i=t;e.on(i(413),((t,e,s)=>{const n=i;if(" "!=e[n(271)][n(482)]||e[n(271)][n(269)][n(291)]>1)return;if(!s[n(466)][n(371)](e[n(271)],t[n(316)]))return;const r=s[n(358)],o=s[n(586)][n(392)](e[n(301)]);r[n(314)](o,r[n(450)](n(338)))}))})),this[t(277)][t(369)][t(303)](t(310))[t(514)]({model:t(512)}),this[t(277)][t(550)][t(368)].on(t(351),function(e){const i=t,s=e[i(322)][i(304)](i(353));return(t,n,r)=>{const o=i,a=n[o(494)][o(561)](":")[1],c=s[o(300)](a);if(!c)return null;const u=o(465)==c[o(449)]?o(561):o(461);if(!r[o(466)][o(329)](n[o(307)],t[o(316)]))return;const l=n[o(307)][o(327)](),h=n[o(307)][o(544)],d=e[o(542)][o(421)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(271)];p=p||d[o(342)](e);const i=r[o(586)][o(408)](e);if(i&&i[o(406)](o(324)))return;o(427)==t[o(449)]&&d[o(399)](e)&&!d[o(380)](e)&&(e[o(520)]||h[o(453)]?f&&f[o(269)]==e||(f=e,g(t[o(416)]),v=!0):m=m||t[o(416)])}function g(t){const e=o,i=r[e(358)][e(467)](e(338),{class:e(457)+u}),a=r[e(586)][e(496)](t);c[e(482)][e(575)]&&r[e(358)][e(363)](e(457)+u+e(517),i),s[e(458)]==c&&r[e(358)][e(363)](e(347),i),r[e(358)][e(283)](a,i),r[e(586)][e(352)](i,n[e(494)])}p||v||!m||g(m)}}(this[t(277)]),{priority:t(287)}),this[t(277)][t(550)][t(368)].on(t(536),((e,i,s)=>{const n=t,r=s[n(586)][n(341)](i[n(494)]);if(r)for(const t of r)(t[n(508)](n(497))||t[n(508)](n(284)))&&(s[n(586)][n(326)](t,i[n(494)]),s[n(358)][n(400)](t))}),{priority:t(287)}),this[t(277)][t(550)][t(368)].on(t(351),((e,i,s)=>{const n=t,r=i[n(494)][n(561)](":")[1],o=this[n(300)](r);if(!o)return null;const a=n(465)==o[n(449)]?n(561):n(461);if(s[n(466)][n(329)](i[n(307)],e[n(316)]))for(const t of i[n(307)][n(582)]()){if(!t.is(n(343),n(584)))continue;const e=s[n(358)][n(467)](n(338),{class:n(457)+a}),r=s[n(586)][n(496)](this[n(277)][n(542)][n(278)](t));o[n(482)][n(575)]&&s[n(358)][n(363)](n(457)+a+n(517),e),this[n(458)]==o&&s[n(358)][n(363)](n(347),e),s[n(358)][n(283)](r,e),s[n(586)][n(352)](e,i[n(494)])}}),{priority:t(287)}),this[t(277)][t(542)][t(423)].on(t(395),(()=>{const e=t;this[e(277)][e(550)][e(412)][e(395)]((t=>{const i=e;for(const e of this[i(277)][i(542)][i(423)][i(359)]()){const s=this[i(277)][i(542)][i(423)][i(320)](e),n=this[i(277)][i(550)][i(412)][i(423)][i(320)](e);if(n){const e=s[i(317)](i(404));if(t[i(293)](i(364),n),t[i(331)](i(552),n),t[i(331)](i(530),n),t[i(331)](i(389),n),e){const s=this[i(300)](e);if(!s)return null;t[i(377)](i(364),e,n),t[i(363)](i(548)+s[i(449)],n),this[i(458)]==s&&t[i(363)](i(389),n)}}}}))})),this[t(277)][t(369)][t(303)](t(280))[t(506)]({view:t(464),model:e=>t(523)+e,converterPriority:t(438)}),this[t(277)][t(369)][t(303)](t(280))[t(506)]({view:t(381),model:e=>t(499)+e,converterPriority:t(438)}),this[t(277)][t(369)][t(303)](t(310))[t(514)]({model:t(403),view:e=>({name:t(306)+e,group:t(403)}),converterPriority:t(438)}),this[t(277)][t(369)][t(303)](t(480))[t(266)]({model:t(403),view:e=>{const i=t,s=e[i(494)][i(561)](":")[1];return i(510)!=s&&i(489)!=s?null:{classes:[i(330),i(469)+s]}}}),this[t(277)][t(550)][t(368)].on(t(456),ie(this[t(277)],t(461)),{priority:t(287)}),this[t(277)][t(550)][t(368)].on(t(475),ie(this[t(277)],t(561)),{priority:t(287)}),this[t(277)][t(550)][t(368)].on(t(519),((e,i,s)=>{const n=t,r=s[n(586)][n(341)](i[n(494)]);if(r)for(const t of r)t.is(n(509))&&(s[n(586)][n(326)](t,i[n(494)]),s[n(358)][n(400)](t))}),{priority:t(287)})}[Qt(300)](t){const e=Qt;return this[e(493)][e(304)](t)}[Qt(282)](t){const e=Qt;return this[e(298)]&&this[e(298)][e(319)](),this[e(298)]=new Wt(this[e(277)][e(549)],t),this[e(298)]}[Qt(348)](){const t=Qt;this[t(277)][t(542)][t(423)][t(424)][t(488)](t(512)),this.on(t(370),((e,i,s,n)=>{const r=t;n&&this[r(551)][r(400)](n),s&&(this[r(551)][r(465)]({view:s,stackId:r(396),position:{target:()=>{const t=r,e=this[t(277)][t(550)],i=this[t(300)](s[t(410)]);let n;if(i[t(482)][t(463)]){const s=e[t(412)][t(315)](i[t(276)]);n=Array[t(518)](s[t(558)]())}else{const i=this[t(277)][t(542)][t(580)][t(304)](t(516)+s[t(410)]);n=Array[t(518)](e[t(586)][t(341)](i[t(316)]))[t(274)]((i=>e[t(412)][t(529)][t(323)](i)))[t(274)]((e=>Array[t(518)](e[t(558)]())))[t(547)]()}return this[t(294)]&&n[t(340)]((e=>e[t(435)]-3<=this[t(294)].y&&e[t(485)]+3>=this[t(294)].y&&e[t(290)]-3<=this[t(294)].x&&e[t(566)]+3>=this[t(294)].x))||n[0]}}}),this[r(551)][r(362)](r(396)))})),this.on(t(397),((e,i,s,n)=>{const r=t;this[r(498)]=s?this[r(282)](s):null,this[r(277)][r(542)][r(395)]((()=>{const t=r,e=this[t(277)][t(550)];n&&(n[t(482)][t(463)]?e[t(412)][t(395)]((i=>{const s=t;i[s(331)](s(389),e[s(412)][s(423)][s(320)](n[s(276)]))})):e[t(571)](t(516)+n.id)),s&&(s[t(482)][t(463)]?e[t(412)][t(395)]((i=>{const n=t;i[n(363)](n(389),e[n(412)][n(423)][n(320)](s[n(276)]))})):e[t(571)](t(516)+s.id))}))})),this[t(487)](this[t(277)][t(550)][t(412)][t(423)],t(365),((e,i)=>{const s=t;if(this[s(458)])return;const n=this[s(585)](i[s(574)]),r=this[s(493)][s(304)](n);r?(this[s(294)]={x:i[s(504)].x,y:i[s(504)].y},this[s(498)]=this[s(282)](r)):(this[s(294)]=null,this[s(498)]=null)})),this[t(487)](this[t(277)][t(550)][t(412)][t(423)],t(503),((e,i)=>{const s=t,n=this[s(585)](i[s(574)]),r=this[s(493)][s(304)](n);r?(this[s(294)]={x:i[s(504)].x,y:i[s(504)].y},r===this[s(458)]?this[s(551)][s(372)]():this[s(458)]=r):(this[s(294)]=null,this[s(458)]=null)}))}[Qt(585)](t){const e=Qt;do{const i=t[e(317)](e(364));if(i)return i;t=t[e(269)]}while(t);return null}[Qt(402)](){const t=Qt;this[t(277)][t(542)][t(395)]((e=>{const i=t;for(const t of this[i(277)][i(542)][i(580)])e[i(379)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(466)][r(329)](s[r(307)],i[r(316)]))return;const o=s[r(307)][r(327)](),a=s[r(307)][r(544)],c=t[r(542)][r(421)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(271)];h=h||c[r(342)](e);const i=n[r(586)][r(408)](e);if(i&&i[r(406)](r(324)))return;r(427)==t[r(449)]&&c[r(399)](e)&&!c[r(380)](e)&&(e[r(520)]||a[r(453)]?u&&u[r(269)]==e||(u=e,f(t[r(416)]),d=!0):l=l||t[r(416)])}function f(t){const i=r,o=n[i(586)][i(496)](t),a=n[i(358)][i(467)](i(338),{class:i(469)+e});n[i(358)][i(283)](o,a),n[i(586)][i(352)](a,s[i(494)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(322)][e(304)](ee);this[e(436)]=!1,this[e(487)](i,e(411),(()=>this[e(302)]())),this[e(487)](i,e(431),(()=>this[e(302)]()))}[Qt(292)](){const t=Qt,e=this[t(277)],i=e[t(322)][t(304)](ee),s=i[t(386)]?i[t(448)][t(451)]:null;e[t(452)][t(304)](t(539))[t(568)](s)}[Qt(302)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(277)][t(322)][t(304)](ee),r=n&&s[t(562)](n[t(451)]);this[t(356)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(428)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(322)][i(304)](ee);this[i(436)]=!1,this[i(428)]=i(429)===e?1:-1,this[i(487)](s,i(411),(()=>this[i(302)]())),this[i(487)](s,i(431),(()=>this[i(302)]())),this[i(487)](s,i(397),(()=>this[i(302)]()))}[Qt(292)](){const e=Qt,i=this[e(277)],s=i[e(322)][e(304)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(458)]=n?s[e(448)][e(382)][e(304)](r+this[e(428)]):s[e(448)][e(382)][e(526)],s[e(458)][e(482)][e(463)])o=i[e(550)][e(412)][e(315)](s[e(458)][e(276)]);else{const t=i[e(542)][e(580)][e(304)](e(516)+s[e(458)].id);o=(0,Z.getMarkerDomElement)(i[e(550)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(302)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(277)][t(322)][t(304)](ee);this[t(356)]=!!(r&&n&&s)&&(!e||(1===this[t(428)]?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(){const t=["ck-revision-history-ui__changes-navigation","isBackwardNavigationEnabled","639273jTnHBk","477346Bywikb","div","fire","Total","span","Loading...","isReady","numberOfChanges","X_OF_Y_CHANGES","forward","backward","ck-revision-history-ui","bind","ck-revision-history-ui__changes-navigation__navigation","isForwardNavigationEnabled","_isStatusLabelVisible","set","execute","isNavigationMode","NUMBER_OF_CHANGES","isEnabled","ck-revision-history-ui__changes-navigation__wrapper","EDIT_X_OF_Y_REVISIONS","Show next change","2692865aEwVPP","No changes","ck-hidden","6046810UlSusJ","currentChangeNumber","Show previous change","ck-revision-history-ui__changes-navigation__label","_statusText","setTemplate","528048LfWYIJ","bindTemplate","2397872HVnxAa","221406HSFuvr"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=121]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(313594===parseInt(e(149))/1+-parseInt(e(156))/2+-parseInt(e(155))/3+parseInt(e(151))/4+parseInt(e(140))/5+-parseInt(e(152))/6+-parseInt(e(143))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(150)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(132)](e(134),!1),this[e(132)](e(122),!1),this[e(132)](e(144),0),this[e(132)](e(123),0),this[e(132)](e(130),!1),this[e(132)](e(154),!1),this[e(128)](e(131)).to(this,e(122),this,e(123),((t,e)=>t&&e>0)),this[e(128)](e(147)).to(this,e(122),this,e(144),this,e(123),this,e(134),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(121));if(!n)return X(t,o(141));const a=X(t,o(135),n);return r?X(t,o(124),[s+1,n]):a})),s[e(132)]({label:X(t,e(145)),tooltip:!0,icon:mt.IconChevronUp}),n[e(132)]({label:X(t,e(139)),tooltip:!0,icon:mt.IconChevronDown}),s[e(128)](e(136)).to(this,e(154)),n[e(128)](e(136)).to(this,e(130)),s.on(e(133),(()=>this[e(158)](e(133),e(126)))),n.on(e(133),(()=>this[e(158)](e(133),e(125)))),this[e(148)]({tag:e(157),attributes:{class:["ck",e(127),e(153)]},children:[{tag:e(160),attributes:{class:[e(137)]},children:[{tag:e(160),attributes:{class:[e(146),i.if(e(131),e(142),(t=>!t))]},children:[{text:i.to(e(134),(i=>i?X(t,e(138))+": ":X(t,e(159))+": "))}]},{text:i.to(e(147))}]},new pt.ToolbarSeparatorView,{tag:e(157),attributes:{class:[e(129)]},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-=392]})(t,e)}function me(){const t=["addClass","RevisionViewerLoadingOverlay","435868pQVPBs","change","3371648wrNWII","show","1160472GQskSc","editor","pluginName","document","isPremiumPlugin","editing","hide","217491fLsfeo","removeClass","68946ghSpvy","isOfficialPlugin","ck-editor__editable__loading-overlay","roots","view","653890ytGWDq","303456Kwngrt"];return(me=function(){return t})()}!function(t){const e=fe,i=t();for(;;)try{if(135517===-parseInt(e(408))/1+-parseInt(e(395))/2+-parseInt(e(406))/3+parseInt(e(392))/4+parseInt(e(413))/5+-parseInt(e(399))/6+parseInt(e(397))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=de(410);class ve extends U.Plugin{static get[de(401)](){return de(394)}static get[de(409)](){return!0}static get[de(403)](){return!0}[de(398)](){const t=de,e=this[t(400)][t(404)][t(412)];e[t(396)]((i=>{const s=t;for(const t of e[s(402)][s(411)])i[s(393)](pe,t)}))}[de(405)](){const t=de,e=this[t(400)][t(404)][t(412)];e[t(396)]((i=>{const s=t;for(const t of e[s(402)][s(411)])i[s(407)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=376]})(t,e)}function ke(){const t=["showPreviousChange","exitToEditing","isBackwardNavigationEnabled","RevisionViewerUI","Back to editing","revisionHistory","3817ogdfvL","5548850yDYDYD","5rFUscc","isOfficialPlugin","Restore this revision","changesNavigation","isPremiumPlugin","init","change:isReady","restoreRevision","isEnabled","closeRevisionViewerCallback","currentChangeNumber","21qMResd","componentFactory","isReady","pluginName","25248iYorWb","ck-revision-history-ui__back-to-editing","2THOUIW","592578ZPcMlR","get","requires","isForwardNavigationEnabled","bind","numberOfChanges","commands","hide","82287QJxBsR","showNextChange","set","listenTo","execute","editor","136hzPnzV","plugins","config","add","forward","657904WJyQJS","1033038xEypYS","show","420814cOFsgv","isNavigationMode"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(302713===parseInt(e(420))/1+-parseInt(e(397))/2*(-parseInt(e(418))/3)+-parseInt(e(417))/4*(-parseInt(e(380))/5)+-parseInt(e(398))/6*(parseInt(e(391))/7)+parseInt(e(412))/8*(-parseInt(e(406))/9)+parseInt(e(379))/10+-parseInt(e(378))/11*(parseInt(e(395))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(394)](){return ge(425)}static get[ge(381)](){return!0}static get[ge(384)](){return!0}static get[ge(400)](){return[ee,ve]}[ge(385)](){const t=ge,e=this[t(411)],i=e[t(413)][t(399)](ee),s=e[t(413)][t(399)](ve);e.ui[t(392)][t(415)](t(423),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(408)]({label:X(i,s(376)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(396)}),this[s(409)](n,s(410),(()=>{const t=s;e[t(414)][t(399)](t(377))[t(389)]()})),n})),e.ui[t(392)][t(415)](t(387),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(408)]({label:X(i,s(382)),withText:!0,tooltip:!0}),n[s(402)](s(388)).to(e[s(404)][s(399)](s(387))),this[s(409)](n,s(410),(()=>e[s(410)](s(387)))),n})),e.ui[t(392)][t(415)](t(383),(s=>{const n=t,r=new ue(s),o=e[n(404)][n(399)](n(422)),a=e[n(404)][n(399)](n(407));return r[n(402)](n(424)).to(o,n(388)),r[n(402)](n(401)).to(a,n(388)),r[n(402)](n(393),n(390),n(403),n(421)).to(i),this[n(409)](r,n(410),((t,i)=>{const s=n;e[s(410)](s(416)===i?s(407):s(422))})),r})),s[t(419)](),i.on(t(386),((e,i,n)=>{const r=t;n?s[r(405)]():s[r(419)]()}))}}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;function Ie(){const t=["4051611HvuMIr","424728UeFlHb","Revision name","3hdvAjN","element","_updateTooltipText","extendTemplate","6785005CuoXTN","render","destroy","placeholder","input","4GUMqbo","586234vrwfdk","span","value","ck-revision-history-sidebar__revision-name","10562670GujgCL","_tooltipString","clientWidth","bindTemplate","6914005bTZGem","fieldView","listenTo","scrollWidth","241744XRcyxN","set","ck-tooltip_multi-line","_resizeObserver","Enter the revision name"];return(Ie=function(){return t})()}const Se=Oe;function Oe(t,e){const i=Ie();return(Oe=function(t,e){return i[t-=146]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(740470===parseInt(e(153))/1*(parseInt(e(163))/2)+-parseInt(e(150))/3+parseInt(e(162))/4*(parseInt(e(157))/5)+parseInt(e(151))/6+parseInt(e(171))/7+-parseInt(e(175))/8+-parseInt(e(167))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class xe extends pt.LabeledFieldView{[Se(148)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(170)];this[i(146)]({label:X(t,i(152)),_tooltipString:""}),this[i(172)][i(160)]=X(t,i(149)),this[i(156)]({tag:i(164),attributes:{class:[i(166)],"data-cke-tooltip-text":s.to(i(168)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(147)}})}[Se(158)](){const e=Se;super[e(158)](),this[e(148)]=new t.ResizeObserver(this[e(172)][e(154)],(()=>this[e(155)]())),this[e(173)](this[e(172)],e(161),(()=>this[e(155)]()))}[Se(159)](){const t=Se;super[t(159)](),this[t(148)]&&this[t(148)][t(159)]()}[Se(155)](){const t=Se,e=this[t(172)][t(154)];this[t(168)]=e[t(174)]>e[t(169)]&&e[t(165)]||""}}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-=235]})(t,e)}function Ae(){const t=["Revision author","push","Revision creator","0 0 11 10","108njiHAE","2826915ObsaUb","ck-revision-history-sidebar__revision-author__name","2258085ZEUlrI","ck-revision-history-sidebar__revision-author_creator","name","set","639061PiVNhT","1963440PKFXRs","span","2GsWzfI","setTemplate","ck-revision-history-sidebar__revision-author","76236BtIqIl","5583708nLNiCs","2697216zBXFFB"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(666913===-parseInt(e(237))/1*(-parseInt(e(240))/2)+parseInt(e(243))/3*(parseInt(e(250))/4)+-parseInt(e(253))/5+-parseInt(e(238))/6+parseInt(e(251))/7+parseInt(e(245))/8+-parseInt(e(244))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ee extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(236)]({content:mt.IconUser,viewBox:s(249)});const r=["ck",s(242)];i&&r[s(247)](s(254));const o=[{tag:s(239),attributes:{class:["ck",s(252)],title:X(t,s(i?248:246))},children:[n,e[s(235)]]}];this[s(241)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=De();return(Ve=function(t,e){return i[t-=124]})(t,e)}function De(){var t=["125850JXbfuz","8RZeMcT","19lZCIXD","toLocaleTimeString","257040oxMYFo","14opgibR","numeric","long","2488680EYLExN","32255dXwIvr","2094939AfAVHG","9586ljvDPP","250LgeiDG","toLocaleDateString","44iyzAoB","21549doBoCJ"];return(De=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(124142===parseInt(e(137))/1*(parseInt(e(130))/2)+parseInt(e(135))/3+parseInt(e(133))/4*(-parseInt(e(128))/5)+-parseInt(e(139))/6*(-parseInt(e(124))/7)+-parseInt(e(136))/8*(-parseInt(e(129))/9)+parseInt(e(131))/10*(-parseInt(e(134))/11)+-parseInt(e(127))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(){const t=["224YZZNWZ","isReady","18949TjsoVa","extendTemplate","locale","19250WDmAna","bindTemplate","menuitem","403285gLEuvY","model","class","listView","isOpen","set","Show more items","button","748084qtYYAF","source","first","buttonView","ck-on","isActionsDropdownOpen","name","Name this revision","children","change:isActionsDropdownOpen","2720961xoQDsP","function","bind","_action","execute","isVisible","menu","3616731gvnMkx","ck-revision-history-sidebar__revision__actions","panelPosition","isEnabled","2zFnYCn","6OPLoZb","Restore this revision","map","2100bqKPCu","find","action","listenTo","377395XpKori","Compare against selected","add","stopPropagation","items"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=410]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(505089===-parseInt(e(428))/1*(parseInt(e(457))/2)+parseInt(e(446))/3+parseInt(e(436))/4+-parseInt(e(415))/5*(parseInt(e(458))/6)+-parseInt(e(422))/7*(parseInt(e(420))/8)+-parseInt(e(453))/9+-parseInt(e(411))/10*(-parseInt(e(425))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Pe=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=It(),je.insert=wt().bind(null,"head"),je.domAPI=kt(),je.insertStyleElement=Ot();gt()(Pe.A,je);Pe.A&&Pe.A.locals&&Pe.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=353]})(t,e)}function Ue(){const t=["isHighlighted","fieldView","ck-revision-history-sidebar__revision-wrapper","28930Qryjka","_requireRevisionName","141JRDROt","1497978htPuUP","535843CrOVUg","13096CmJLQO","fire","bindTemplate","change","revisionActionsView","length","isActionsDropdownOpen","extendTemplate","listenTo","unhighlight","from","ck-revision-history-sidebar__revision_highlighted","_createdAtFormatted","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","3955AfHPWx","isEnabled","filter","unshift","ck-revision-history-sidebar__revision__date","uiLanguage","1027275ZWOWcz","deselect","220","authors","span","value","ck-revision-history-sidebar__revision","ck-reset",".ck-thread__remove-confirm","creator","isSelected","18146lnLdQw","setName","div","element","1017yzhDxH","isReady","render","bind","isConfirm","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__actions_dropdown_open","setTemplate","name","23101SvdnZi","ck-revision-history-sidebar__revision__controls-wrapper","4vGUbgu","select","84KEpeTP","ck-revision-history-sidebar__revision-authors","createdAt","_revision","set","closest","highlight","map","srcElement","revisionNameView","ck-disabled"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(859035===-parseInt(e(377))/1+-parseInt(e(364))/2*(-parseInt(e(397))/3)+parseInt(e(379))/4*(-parseInt(e(353))/5)+-parseInt(e(398))/6+-parseInt(e(414))/7*(-parseInt(e(400))/8)+parseInt(e(368))/9*(parseInt(e(395))/10)+-parseInt(e(399))/11*(parseInt(e(381))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(390)];[ze(404)];[ze(384)];[ze(396)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(402)],a=function(t,e){const i=r,s=Array[i(410)](e[i(356)])[i(416)]((t=>t!=e[i(362)]));return e[i(362)]&&s[i(417)](e[i(362)]),s[i(388)]((s=>new Ee(t,s,s==e[i(362)])))}(e,i);this.id=i.id,this[r(384)]=i,this[r(396)]=n,this[r(371)](r(376),r(383)).to(i),this[r(371)](r(412)).to(this,r(383),(t=>{return i=e[r(419)],(s=t)[(n=Ve)(132)](i,{month:n(126),day:n(125)})+", "+s[n(138)](i,{hour:n(125),minute:n(125)});var i,s,n})),this[r(385)](r(363),!1),this[r(385)](r(392),!1),this[r(385)](r(406),!1),this[r(385)](r(369),!1),this[r(385)](r(415),!1),this[r(390)]=new xe(e,pt.createLabeledInputText),this[r(390)][r(393)][r(407)]({attributes:{maxlength:r(355)}}),this[r(390)][r(393)][r(371)](r(358)).to(this,r(376),(t=>t||this[r(412)])),this[r(390)][r(371)](r(415)).to(this,r(363),this,r(415),((t,e)=>t&&e)),this[r(404)]=s&&s[r(405)]?function(e,i){const s=Le,n=e[s(426)],r=e[s(424)],o=(0,pt.createDropdown)(r);o[s(455)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(424)],n={"Compare against selected":X(s,i(416)),"Name this revision":X(s,i(443)),"Restore this revision":X(s,i(459))};return e[i(410)]((t=>{const e=i,s=n[t[e(442)]];return s&&s!==t[e(442)]&&(t[e(442)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(435),model:new pt.ViewModel({label:t[n(442)],class:t[n(430)],withText:!0,role:n(427),_action:t[n(413)]})};i[n(429)][n(448)](n(456)).to(e,n(441),(i=>n(447)!=typeof t[n(456)]||!i||t[n(456)](e))),o[n(417)](i)}return o}(e,i);return e[s(448)](s(441)).to(o,s(432)),o[s(439)][s(433)]({label:X(r,s(434)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(423)]({attributes:{class:[s(454),n.if(s(441),s(440))]},on:{click:n.to((t=>t[s(418)]()))}}),o.on(s(450),(t=>{const i=s;e[i(421)]&&i(447)==typeof t[i(437)][i(449)]&&t[i(437)][i(449)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(452)}),o[s(414)](e,s(445),((t,n,r)=>{const a=s;if(r)for(const t of o[a(431)][a(419)]){const s=t[a(444)][a(438)],n=i[a(412)]((t=>t[a(413)]===s[a(449)]))[a(451)];t[a(451)]=void 0===n||n(e)}})),o}(this,s):"",this[r(404)]&&this[r(404)][r(371)](r(415)).to(this),this[r(375)]({tag:r(366),attributes:{class:["ck",r(360),r(394),o.if(r(372),r(413))]},children:[{tag:r(366),attributes:{class:["ck",r(360),r(359),o.if(r(415),r(391),(t=>!t)),o.if(r(363),r(373)),o.if(r(392),r(411)),o.if(r(406),r(374))]},children:[this[r(390)],{tag:r(357),attributes:{class:["ck",r(418)]},children:[{text:o.to(r(412))}]},{tag:r(366),attributes:{class:["ck",r(378)]},children:[{tag:"ul",attributes:{class:["ck",r(382)]},children:a}]},this[r(404)]],on:{click:o.to((t=>{const e=r;t[e(389)][e(386)](e(361))||this[e(369)]&&this[e(415)]&&this[e(401)](e(380),{id:this.id})}))}}]})}[ze(370)](){const t=ze;super[t(370)]();const e=this[t(390)][t(393)][t(367)];this[t(408)](e,t(403),(()=>{const i=t;this[i(396)]&&!e[i(358)]||this[i(401)](i(365),{id:this.id,name:e[i(358)]}),e[i(358)]||(e[i(358)]=this[i(376)]?this[i(376)]:this[i(412)])}))}[ze(380)](){this[ze(363)]=!0}[ze(354)](){this[ze(363)]=!1}[ze(387)](){this[ze(392)]=!0}[ze(409)](){this[ze(392)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{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 Zs(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 Zs(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,(js({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 Ei={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.DateTimeFormat(t,e),Ei[i]=s),s}let Di={};let Mi={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Pi{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 Es(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class ji{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=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const 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,Ei={},Di={},Mi={}}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=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?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 Li(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 Li(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 Li(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 Li(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 Pi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(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 Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(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?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.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]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[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(),Ji={}}}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=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(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,Ps(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 Je("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 Je("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 Es(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(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 Ms(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 Ls(t){return Fs(t)?366:365}function Ps(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 js(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(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(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 Hs(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 Je(`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}${Es(i,2)}:${Es(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Es(i,2)}${Es(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 Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],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[...Js];case"long":return[...Gs];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 Es(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]]=Vs(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:Vs(s)}function xn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ms(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.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 En(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(Ms(u),h)}]}const Vn={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(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function 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?Vn[c]:u?0:Hs(l,h),[d,new Hi(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$/,Ln=/^(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$/,Pn=/^(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 jn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=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 Gn=mn(xn);const Jn=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 Je("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 Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,En])}(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,Gn])}(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 Je("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 Ge(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 Je("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+=Gi.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])=>Hs(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 Hi(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=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(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",Er=864e13;function Vr(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 Mr(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 Lr(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 Pr(t,e,i){return Fr(js(t),e,i)}function jr(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,Ps(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=js(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+=Es(t.c.year,i?6:4),e?(s+="-",s+=Es(t.c.month),s+="-",s+=Es(t.c.day)):(s+=Es(t.c.month),s+=Es(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Es(t.c.hour);return e?(o+=":",o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Es(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Es(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Es(Math.trunc(-t.o/60)),o+=":",o+=Es(Math.trunc(-t.o%60))):(o+="+",o+=Es(Math.trunc(t.o/60)),o+=":",o+=Es(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={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"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(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]=Hr[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]=Pr(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:Vr(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=Lr(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=Hi.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(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`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 Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{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=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Br,v=Hr);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,Ls(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]=Pr(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],[Zn,Bn],[Hn,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),[Mn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,jn],[Ln,jn],[Pn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("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,[Jn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof 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?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?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?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=js(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=Lr(a,r),l=Lr(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 Ps(this.year,this.month)}get daysInYear(){return this.isValid?Ls(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(Hi.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]=Pr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Vr(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,Jr),{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(Ps(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Pr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,jr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,jr(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+=Zr(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":"")+Zr(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 Je("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return 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 Je("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 Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?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 Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=oo();return(no=function(t,e){return i[t-=296]})(t,e)}function ro(t,e){const i=no,s=io[i(298)](t)[i(313)](e),n=io[i(318)](),r=n[i(302)]({days:1})[i(309)](i(296));let o,a;return s[i(297)](n,i(296))?(o=s[i(309)](i(296))[i(305)](),a=s[i(308)]()):s[i(297)](r,i(296))?(o=r[i(305)](),a=s[i(308)]()):s[i(297)](n,i(299))?(o=s[i(309)](i(299))[i(305)](),a=s[i(303)]||""):s[i(297)](n,i(301))?(o=s[i(309)](i(317))[i(305)](),a=s[i(304)]||""):(o=s[i(309)](i(301))[i(305)](),a=String(s[i(301)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["toRelativeCalendar","startOf","455058gTKaap","4260936jHJNuL","32294385Cfsfiq","setLocale","2988628ZJqGsG","692sDEtko","523310aUbXEz","month","local","day","hasSame","fromJSDate","week","3928ZhgCIq","year","minus","weekdayLong","monthLong","toJSDate","21091RqNROw","31885rdongT"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(896630===parseInt(e(316))/1+-parseInt(e(314))/2+-parseInt(e(311))/3+parseInt(e(315))/4*(parseInt(e(307))/5)+parseInt(e(310))/6+parseInt(e(306))/7*(-parseInt(e(300))/8)+parseInt(e(312))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);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=["474475sStbUE","1419062NpivjP","ck-revision-history-sidebar__time-period__revisions","22340fmdjud","4LDsZim","3458IEGQxK","removeRevision","_requireRevisionName","startDate","160984vabOWe","addRevision","select","8322bmphYO","setName","_revisionActions","delegate","div","localizedPeriodName","41357090GJTgip","remove","ck-revision-history-sidebar__time-period__label","locale","531pOYEnr","setTemplate","revisionViews","uiLanguage","ck-revision-history-sidebar__time-period","span","2391126wQrDah","add","find","createCollection"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=189]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(639466===-parseInt(e(207))/1+-parseInt(e(205))/2+-parseInt(e(200))/3*(parseInt(e(208))/4)+-parseInt(e(204))/5+-parseInt(e(216))/6*(parseInt(e(209))/7)+-parseInt(e(213))/8*(parseInt(e(194))/9)+parseInt(e(190))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(212)];[uo(196)];[uo(218)];[uo(211)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(193)][n(197)])[n(189)];this[n(212)]=e,this[n(196)]=this[n(203)](),this[n(218)]=i,this[n(211)]=s,this[n(196)][n(219)](n(215)).to(this),this[n(196)][n(219)](n(217)).to(this),this[n(195)]({tag:n(220),attributes:{class:["ck",n(198)]},children:[{tag:n(199),attributes:{class:["ck",n(192)]},children:[{text:r}]},{tag:n(220),attributes:{class:["ck",n(206)]},children:this[n(196)]}]})}[uo(214)](t){const e=uo,i=new Ze(this[e(193)],t,this[e(218)],this[e(211)]);this[e(196)][e(201)](i)}[uo(210)](t){const e=uo,i=this[e(196)][e(202)]((e=>e.id===t.id));this[e(196)][e(191)](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-=388]})(t,e)}function go(){const t=["2176970PpHxXw","3loRFwL","202044UexgrJ","ck-revision-history-sidebar__header","24yrdHeC","55MNYaKD","setTemplate","ck-revision-history-sidebar__header__label","Revision history","div","content","510435BGYvwf","1042376gyJLMq","4176767crPgYj","1393272fiIUcw","ck-reset_all","span","176146Nshdwv"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(306474===parseInt(e(394))/1*(parseInt(e(392))/2)+parseInt(e(389))/3+-parseInt(e(405))/4+-parseInt(e(398))/5*(parseInt(e(395))/6)+parseInt(e(388))/7+-parseInt(e(397))/8*(parseInt(e(404))/9)+-parseInt(e(393))/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(403)]=mt.IconHistory,this[e(399)]({tag:e(402),attributes:{class:["ck",e(390),e(396)]},children:[i,{tag:e(391),attributes:{class:["ck",e(400)]},children:[X(t,e(401))]}]})}}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;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=332]})(t,e)}const _o=wo;function Io(){const t=["_revisions","2122904Dhiagn","ck-revision-history-sidebar__timeline","_getTimePeriodViewByStartDate","get","setName","2962024ailffU","ck-revision-history-sidebar","14810pJDQFl","createCollection","5NGrrqf","addRevision","_addRevision","removeRevision","locale","remove","startDate","revisionViews","delegate","bindTemplate","3HBvdQz","fire","render","ck-reset","1697498JZQZWM","ck-rounded-corners","1342416TLSNuD","find","ck-disabled","highlightRevisions","759788TlqlIJ","createdAt","647sVBKSc","set","deselect","timePeriodViews","selectRevision","highlight","map","setTemplate","unhighlight","226qGLKfZ","div","revisionSelected","getTime","_removeRevision","isEnabled","flat","_revisionActions","select","_requireRevisionName","some","1179IelpPE","add","revisionSetName","uiLanguage"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(293260===parseInt(e(362))/1*(parseInt(e(371))/2)+parseInt(e(350))/3*(-parseInt(e(360))/4)+parseInt(e(340))/5*(-parseInt(e(356))/6)+parseInt(e(387))/7+parseInt(e(336))/8+parseInt(e(382))/9*(-parseInt(e(338))/10)+parseInt(e(354))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(365)];[_o(386)];[_o(378)];[_o(380)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(349)];this[n(365)]=this[n(339)](),this[n(365)][n(348)](n(379)).to(this),this[n(365)][n(348)](n(335)).to(this),this[n(386)]=e,this[n(378)]=i,this[n(380)]=s,this.on(n(379),((t,e)=>{const i=n;this[i(351)](i(373),e)})),this.on(n(335),((t,e)=>{const i=n;this[i(351)](i(384),e)})),this[n(363)](n(376),!1),this[n(369)]({tag:n(372),attributes:{class:["ck",n(353),n(355),n(337)]},children:[new yo(t),{tag:n(372),attributes:{class:["ck",n(332),r.if(n(376),n(358),(t=>!t))]},children:this[n(365)]}]})}[_o(352)](){const t=_o;super[t(352)]();for(const e of this[t(386)])this[t(342)](e);this[t(386)].on(t(383),((e,i)=>{this[t(342)](i)})),this[t(386)].on(t(345),((e,i)=>{this[t(375)](i)}))}get[_o(347)](){const t=_o;return this[t(365)][t(368)]((e=>e[t(347)][t(368)]((t=>t))))[t(377)]()}[_o(366)](t){const e=_o;for(const i of this[e(347)])t&&t.id===i.id?i[e(379)]():i[e(364)]()}[_o(359)](t){const e=_o;for(const i of this[e(347)])t[e(381)]((({id:t})=>t===i.id))?i[e(367)]():i[e(370)]()}[_o(342)](t){const e=_o,i=ro(t[e(361)],this[e(344)][e(385)])[e(346)];let s=this[e(365)][e(334)](0);s&&s[e(346)][e(374)]()===i[e(374)]()||(s=new fo(this[e(344)],i,this[e(378)],this[e(380)]),this[e(365)][e(383)](s)),s[e(341)](t)}[_o(375)](t){const e=_o,i=ro(t[e(361)],this[e(344)][e(385)])[e(346)];this[e(333)](i)[e(343)](t)}[_o(333)](t){const e=_o;return this[e(365)][e(357)]((i=>i[e(346)][e(374)]()===t[e(374)]()))}}function Oo(t,e){const i=No();return(Oo=function(t,e){return i[t-=237]})(t,e)}const xo=Oo;!function(t){const e=Oo,i=t();for(;;)try{if(655499===-parseInt(e(277))/1*(parseInt(e(302))/2)+parseInt(e(257))/3+parseInt(e(252))/4+parseInt(e(310))/5+parseInt(e(281))/6*(parseInt(e(264))/7)+-parseInt(e(313))/8*(parseInt(e(311))/9)+-parseInt(e(258))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class To extends U.Plugin{[xo(261)];[xo(273)];[xo(276)];static[xo(278)]=[xo(312),xo(271),xo(279)];static[xo(314)]=function(){const t=xo;return{compareAgainstSelected:{name:t(298),action:({plugins:e},i)=>{const s=t,n=e[s(249)](ee),r=n[s(283)];let o=n[s(296)][s(319)],a=i.id;r[s(266)](o)>r[s(266)](a)&&([o,a]=[a,o]),n[s(285)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(249)](ee);return!(n[s(283)][s(318)](n[s(296)])[s(253)]>2||i[s(317)])}},restoreRevision:{name:t(243),action:(e,{id:i})=>{const s=t;e[s(263)][s(249)](s(265))[s(307)](i)},isVisible:({plugins:e},i)=>!!e[t(249)](ee)[t(283)][t(295)](i.id)},nameRevision:{name:t(248),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(249)](ee),o=r[n(283)][n(292)](i);r[n(285)](i,o),s[n(293)](),s[n(269)][n(272)]()}}}}();static get[xo(306)](){return xo(270)}static get[xo(316)](){return!0}static get[xo(280)](){return!0}static get[xo(251)](){return[ee]}constructor(t){const e=xo;super(t),this[e(261)]=t[e(245)][e(249)](ee),this[e(273)]=this[e(261)][e(283)],this[e(276)]=null}[xo(255)](){const t=xo,e=this[t(273)][t(260)],i=this[t(240)](),s=this[t(238)][t(263)][t(249)](t(300));this[t(276)]=new So(this[t(238)][t(294)],e,i,this[t(238)][t(263)][t(249)](t(274))),this[t(276)].on(t(239),this[t(237)][t(299)](this)),this[t(276)].on(t(301),this[t(305)][t(299)](this)),this[t(276)][t(299)](t(275)).to(this[t(261)]),this[t(276)][t(268)].on(t(288),((e,i)=>{const s=t;i[s(291)].on(s(288),((t,e)=>{const i=s;e[i(299)](i(275),i(297)).to(this[i(261)])}))})),this[t(276)][t(241)](),this[t(267)](this[t(238)][t(315)],t(286),this[t(303)][t(299)](this)),this[t(267)](this[t(261)],t(308),this[t(284)][t(299)](this)),s[t(244)](this[t(276)][t(309)])}[xo(262)](){const t=xo;this[t(276)][t(309)][t(247)](),this[t(276)][t(262)]()}[xo(303)](){const t=xo,e=this[t(273)][t(256)](0);if(e){const i=this[t(273)][t(292)](e.id);this[t(261)][t(285)](e,i)}}[xo(237)](t,e){const i=xo,s=this[i(273)][i(256)](e.id),n=this[i(273)][i(292)](s.id);this[i(261)][i(285)](s,n)}[xo(305)](t,e){const i=xo;this[i(273)][i(256)](e.id)[i(282)](e[i(259)])}[xo(284)](t,e,i){const s=xo,n=this[s(273)][s(318)](i);n[s(253)]>2?(this[s(276)][s(254)](n),this[s(276)][s(246)](null)):(this[s(276)][s(254)]([]),this[s(276)][s(246)](n[0]))}[xo(240)](){const t=xo,e=this[t(238)],i=To[t(314)],s=e[t(263)][t(249)](t(287))||To[t(278)];if(s[t(253)])return s[t(290)]((s=>{const n=t,r=n(304)==typeof s?Object[n(289)]({},i[s]):s;return r[n(242)]=r[n(242)][n(299)](this,e),r[n(250)]&&(r[n(250)]=r[n(250)][n(299)](this,e)),r}))}}function No(){const t=["nameRevision","isPremiumPlugin","38370daYKwQ","setName","repository","_handleDiffChange","compare","ready","revisionHistory.revisionActions","add","assign","map","revisionViews","getEarlierVisibleRevision","focus","locale","getLaterVisibleRevision","diff","isReady","Compare against selected","bind","revisionHistory.viewerSidebarContainer","revisionSetName","21802zCNcGn","_handleEditorDataReady","string","_handleRevisionSetName","pluginName","restoreRevisionCallback","change:diff","element","31745Bokasj","130905WujwHd","compareAgainstSelected","24HQtpBF","availableRevisionActions","data","isOfficialPlugin","isSelected","getRevisionsInDiff","newRevisionId","_handleRevisionSelected","editor","revisionSelected","_createRevisionActions","render","action","Restore this revision","appendChild","plugins","selectRevision","remove","Name this revision","get","isVisible","requires","1450092ngiVsI","length","highlightRevisions","init","getRevision","325917mdUGNR","171380sMCZWT","name","_revisions","_revisionViewer","destroy","config","1204KwPViJ","revisionHistory","getIndex","listenTo","timePeriodViews","fieldView","RevisionsSidebar","restoreRevision","select","_revisionsRepository","revisionHistory.requireRevisionName","isEnabled","_sidebarView","79EnfabB","defaultRevisionActions"];return(No=function(){return t})()}const Ro=To;function Ao(){const t=["document","destroy","19OCzpPa","fire","rootName","detachDomRoot","componentFactory","viewportTopOffset","element","view","stickyPanel","isActive","1443252jiLUpU","toolbar","391086aRoUrS","_elementReplacer","10460681lJvRiH","1037100GNyvRI","attachDomRoot","88boDNww","146334ySmdvW","isFocused","restore","config","render","20XqIFJS","editing","fillFromConfig","limiterElement","editable","_view","editor","7wXUjYr","replace","_initToolbar","init","819235miirJy","focusTracker","viewportOffset","addToolbar","631536FArggR","get","bind","getRoot","setEditableElement","_toolbarConfig","name","10ZGZbOB","ready"];return(Ao=function(){return t})()}const Eo=Vo;function Vo(t,e){const i=Ao();return(Vo=function(t,e){return i[t-=498]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(914422===parseInt(e(506))/1*(-parseInt(e(524))/2)+parseInt(e(544))/3+parseInt(e(529))/4*(parseInt(e(540))/5)+-parseInt(e(516))/6*(parseInt(e(536))/7)+parseInt(e(523))/8*(parseInt(e(518))/9)+-parseInt(e(502))/10*(-parseInt(e(520))/11)+parseInt(e(521))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class Do extends pt.EditorUI{[Eo(534)];[Eo(500)];[Eo(519)];get[Eo(513)](){return this[Eo(534)]}constructor(e,i){const s=Eo;super(e),this[s(534)]=i,this[s(500)]=(0,pt.normalizeToolbarConfig)(e[s(527)][s(545)](s(517))),this[s(519)]=new t.ElementReplacer}get[Eo(512)](){const t=Eo;return this[t(513)][t(512)]}[Eo(539)](t){const e=Eo,i=this[e(535)],s=this[e(513)],n=i[e(530)][e(513)],r=s[e(533)],o=n[e(504)][e(498)]();r[e(501)]=o[e(508)],s[e(528)]();const a=r[e(512)];this[e(499)](r[e(501)],a),s[e(533)][e(546)](e(525)).to(this[e(541)]),n[e(522)](a),this[e(519)][e(537)](t,this[e(512)]),this[e(538)](),this[e(507)](e(503))}[Eo(505)](){const t=Eo;super[t(505)]();const e=this[t(513)],i=this[t(535)][t(530)][t(513)];this[t(519)][t(526)](),i[t(509)](e[t(533)][t(501)]),e[t(505)]()}[Eo(538)](){const t=Eo,e=this[t(513)];e[t(514)][t(546)](t(515)).to(this[t(541)],t(525)),e[t(514)][t(532)]=e[t(512)],e[t(514)][t(546)](t(511)).to(this,t(542),(({top:t})=>t)),e[t(517)][t(531)](this[t(500)],this[t(510)]),this[t(543)](e[t(517)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;var Fo=Lo;function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=145]})(t,e)}function Po(){var t=["1752JaGCre","toolbar","editable","stickyPanel","3725745lsIZrm","936982VQNiME","add","1701qbqxQh","content","49232xEKidD","shouldToolbarGroupWhenFull","top","584590trHWvk","8lKfaMJ","render","_editable","main","712455yzczyX","18pSoGfg","146190YMBeFt"];return(Po=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(455841===-parseInt(e(145))/1+parseInt(e(153))/2+parseInt(e(147))/3*(-parseInt(e(161))/4)+parseInt(e(152))/5+-parseInt(e(148))/6*(parseInt(e(155))/7)+parseInt(e(157))/8+-parseInt(e(146))/9*(-parseInt(e(160))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(163)];[Fo(151)];[Fo(149)];get[Fo(150)](){return this[Fo(163)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(151)]=new pt.StickyPanelView(t),this[s(149)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(158)]}),this[s(163)]=new pt.InlineEditableUIView(t,e)}[Fo(162)](){var t=Fo;super[t(162)](),this[t(151)][t(156)][t(154)](this[t(149)]),this[t(159)][t(154)](this[t(151)]),this[t(164)][t(154)](this[t(150)])}}const zo=Uo;function Wo(){const t=["init","1350010QpNOsm","model","view","initPlugins","16205CQSfrz","data","_ui","get","7151088gJOUpg","locale","sourceElement","create","initialData","document","createRoot","4064YZteDn","destroy","editing","fire","47533419mSmoGC","4087420gykpXI","1290287FnMyax","config","ready","11679yDhOfh","updateSourceElement","1084RHuqUH"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=464]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(710812===-parseInt(e(468))/1+-parseInt(e(475))/2+-parseInt(e(471))/3*(parseInt(e(473))/4)+parseInt(e(467))/5+-parseInt(e(483))/6+parseInt(e(479))/7*(-parseInt(e(490))/8)+parseInt(e(466))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[zo(481)];get ui(){return this[zo(481)]}constructor(t,e){const i=zo;super(e),this[i(485)]=t,this[i(476)][i(488)][i(489)]();const s=new jo(this[i(484)],this[i(464)][i(477)],{shouldToolbarGroupWhenFull:!0});this[i(481)]=new Do(this,s)}[zo(491)](){const t=zo;return this[t(472)](),this.ui[t(491)](),super[t(491)]()}static async[zo(486)](t,e){const i=zo,s=new this(t,e);return await s[i(478)](),await s.ui[i(474)](t),await s[i(480)][i(474)](s[i(469)][i(482)](i(487))||""),s[i(465)](i(470)),s}}const Ho=Bo;function qo(){const t=["toJSON","isReadOnly","config","adapter","markers","setAttribute","toolbar","numeric","destroy","_update","plugins","revisionHistory.viewerContainer","Restored","indexOf","includes","isAnonymous","DocumentOutline","PaginationLookup","selection","insert","_viewerEditor","739424SHlmFo","creator","revisionHistory","get","$graveyard","3016699toWLEc","isAttached","Users","roots","uiLanguage","305752hooVfY","saveRevision","restrictedEditingException","commands","element","addRevisionData","from","isReady","loadRevisionData","closeRevisionViewerCallback","4836848UWaPXV","getRevisionRootsAttributes","disableReadOnlyMode","then","locale","update","style","_showRevisionViewer","revision-history-viewer-opened","document","rootName","refreshVisibility","_recalculatePageBreaks","revisionHistory.requireRevisionName","init","setSelection","exitToEditing","Annotations","getRevisions","_closeRevisionViewer","removeAttribute","RevisionHistoryUI","join","_restoreRevision","toLocaleTimeString","addRoot","revisionHistory.editorContainer","RevisionHistory","save","revisionHistory.showRevisionViewerCallback","revisionHistory.restoreRevisionCallback","isRevisionViewerOpen","block","RestrictedEditingMode","view","refreshPositioning","getAttributeKeys","isPremiumPlugin","_cleanUp","model","removeSelectionAttribute","15zHaeRb","Dialog","none","isOfficialPlugin","toLocaleDateString","getRevisionDocumentData","bind","change","map","has","detachRoot","removeMarker","enqueueChange","RevisionViewer","562618MAKhlf","catch","fromVersion","error","DocumentOutlineUI","toVersion","enableReadOnlyMode","getMarkersGroup","addUser","define","getRevision","revisionHistory.closeRevisionViewerCallback","isOpen","6rHneNv","_getRevisionViewerEditorConfig","hide","createRangeIn","isEnabled","lazyRoots","end","RevisionViewerIntegration","getRoot","push","translations","requires","editor","1935375YguzJl","long","parse","repository","fromCharCode","757845RfPYGr","data","users","name","create","RevisionTracker","pluginName","RevisionHistoryUtils","createdAt","restoreRevision","showRevisionViewerCallback","display","result","set","revision-history-missing-configuration","_enhanceCloseRevisionViewerCallback","revisionHistory.viewerEditorElement","RevisionsRepository","getUser","remove","changesNavigation","keys","_enhanceShowRevisionViewerCallback","Autosave"];return(qo=function(){return t})()}!function(t){const e=Bo,i=t();for(;;)try{if(749818===parseInt(e(350))/1+parseInt(e(415))/2*(-parseInt(e(401))/3)+parseInt(e(360))/4+parseInt(e(441))/5+-parseInt(e(428))/6*(-parseInt(e(345))/7)+-parseInt(e(491))/8+-parseInt(e(446))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Ho(381),Ho(393)];function Bo(t,e){const i=qo();return(Bo=function(t,e){return i[t-=341]})(t,e)}class Yo extends U.Plugin{[Ho(458)];static get[Ho(452)](){return Ho(435)}static get[Ho(404)](){return!0}static get[Ho(397)](){return!0}constructor(t){const e=Ho;function i(t){const e=Bo;return t[e(409)]((t=>String[e(445)](t)))[e(382)]("")}super(t),this[e(458)]=e(434),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 Go extends U.Plugin{[Ho(490)];static get[Ho(452)](){return Ho(387)}static get[Ho(404)](){return!0}static get[Ho(397)](){return!0}static get[Ho(439)](){return[ct,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(440)][i(472)][i(343)](i(342)))throw new t.CKEditorError(i(460),this);this[i(490)]=null,this[i(459)](i(391),!1),this[i(440)][i(472)][i(424)](i(389),(t=>this[i(367)]({...t,translations:this[i(440)][i(364)][i(438)]}))),this[i(440)][i(472)][i(424)](i(426),(t=>this[i(379)](t))),this[i(440)][i(472)][i(424)](i(390),(t=>this[i(383)](t))),this[i(440)][i(472)][i(424)](i(373),!1),this[i(468)](),this[i(461)]()}set[Ho(473)](t){const e=Ho;this[e(440)][e(480)][e(343)](e(451))[e(473)]=t}get[Ho(473)](){const t=Ho;return this[t(440)][t(480)][t(343)](t(451))[t(473)]}[Ho(355)](t){const e=Ho;return this[e(440)][e(480)][e(343)](e(451))[e(355)](t)}[Ho(425)](t){const e=Ho;return this[e(440)][e(480)][e(343)](e(463))[e(425)](t)}[Ho(378)](t){const e=Ho;return this[e(440)][e(480)][e(343)](e(463))[e(378)](t||{toJSON:!1})}[Ho(429)](){const e=Ho,i=this[e(440)],s=(0,Z.sanitizeEditorConfig)(i,$o),n=i[e(480)][e(343)](e(451)),r=i[e(480)][e(343)](e(347))[e(448)];return s[e(476)]=[e(376),e(455),e(466)],delete s[e(433)],s[e(480)][e(437)](Yo,ee,be,class extends U.Plugin{static get[e(439)](){return[ee,e(347)]}[e(374)](){const s=e,o=this[s(440)][s(480)][s(343)](s(347));for(const t of r)t[s(485)]||o[s(464)](t.id)||o[s(423)](t);const a=n[s(444)][s(378)]();let c=null;const u=this[s(440)][s(480)][s(343)](s(414));u[s(473)]=n[s(473)],u[s(407)](s(432)).to(n),this[s(440)][s(353)][s(343)](s(455))[s(407)](s(432)).to(i,s(471),(t=>!t));for(const e of a){const i=null===e[s(341)];if(i&&e[s(420)]===e[s(417)])continue;const r=e[s(470)]();u[s(355)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(479)](r,o);else if(!o){const e=a[u(470)]();e.id=(0,t.uid)(),n[u(351)](e,a[u(420)])[u(363)]((t=>{c=t}))}}else e[u(479)](r,o)}))}}},Ro),s}[Ho(468)](){const t=Ho,e=this[t(440)][t(472)][t(343)](t(342))[t(456)];this[t(440)][t(472)][t(459)](t(389),(async()=>{const i=t;this[i(440)][i(421)](i(368));const s=this[i(440)][i(480)][i(343)](i(451));if(this[i(440)][i(480)][i(410)](i(469))){const t=this[i(440)][i(480)][i(343)](i(469));await t[i(388)]()}else await s[i(365)]();if(this[i(440)][i(480)][i(410)](i(487))&&this[i(440)][i(480)][i(343)](i(487))[i(372)](),this[i(440)][i(480)][i(410)](i(402))){const t=this[i(440)][i(480)][i(343)](i(402));t[i(427)]&&t[i(430)]()}const n=this[i(429)]();return e(n)[i(363)]((t=>{const e=i;return this[e(490)]=t,this[e(440)][e(480)][e(410)](e(377))&&this[e(440)][e(480)][e(343)](e(377))[e(371)](),this[e(440)][e(480)][e(410)](e(486))&&(this[e(440)][e(480)][e(343)](e(419))[e(394)][e(354)][e(366)][e(457)]=e(403)),t}))[i(416)]((t=>(console[i(418)](t),this[i(440)][i(362)](i(368)),null)))}))}[Ho(461)](){const t=Ho,e=this[t(440)][t(472)][t(343)](t(342))[t(359)];this[t(440)][t(472)][t(459)](t(426),(()=>(this[t(440)][t(480)][t(410)](t(487))&&this[t(440)][t(480)][t(343)](t(487))[t(372)](),this[t(440)][t(480)][t(410)](t(486))&&(this[t(440)][t(480)][t(343)](t(419))[t(394)][t(354)][t(366)][t(457)]=""),this[t(490)][t(480)][t(343)](t(414))[t(398)](),e(this[t(490)])[t(363)]((()=>{const e=t;if(this[e(440)][e(362)](e(368)),this[e(490)]=null,this[e(440)][e(480)][e(410)](e(377))){const t=this[e(440)][e(480)][e(343)](e(377));t[e(371)](),t[e(395)]()}})))))}[Ho(367)](t){const e=Ho,i=this[e(440)][e(472)][e(343)](e(386)),s=this[e(440)][e(472)][e(343)](e(481)),n=this[e(440)][e(472)][e(343)](e(462));return Zo[e(450)](n,t)[e(363)]((t=>(s[e(366)][e(457)]=e(392),i[e(366)][e(457)]=e(403),this[e(391)]=!0,t)))}[Ho(379)](t){const e=Ho,i=this[e(440)][e(472)][e(343)](e(386));return this[e(440)][e(472)][e(343)](e(481))[e(366)][e(457)]=e(403),i[e(366)][e(457)]="",this[e(391)]=!1,t[e(478)]()}async[Ho(383)](t){const e=Ho,i=this[e(440)],s=this[e(490)][e(480)][e(343)](e(414)),n=i[e(480)][e(343)](e(451)),r=i[e(480)][e(343)](e(453)),o=s[e(444)][e(425)](t);let a,c,u;try{await r[e(358)](o,this[e(473)]),a=r[e(406)](o),c=r[e(361)](o)}catch(t){return void console[e(418)](t)}i[e(399)][e(408)]((t=>{const s=e;for(const e of Array[s(356)](i[s(399)][s(474)][s(422)](s(352))))t[s(412)](e)})),s[e(357)]=!1,i[e(399)][e(413)]((t=>{const s=e;t[s(375)](null),t[s(400)](i[s(399)][s(369)][s(488)][s(396)]());const n=Object[s(467)](a);for(const e of i[s(399)][s(369)][s(348)])s(344)!=e[s(370)]&&e[s(346)]()&&!n[s(484)](e[s(370)])&&t[s(411)](e);for(const e of n){let n=i[s(399)][s(369)][s(436)](e);n&&n[s(346)]()||(n=t[s(385)](e));const r=c[e],o=Object[s(467)](r),u=a[e];for(const e of n[s(396)]())o[s(484)](e)||t[s(380)](e,n);for(const i of o)t[s(475)](i,c[e][i],n);t[s(465)](t[s(431)](n)),t[s(489)](i[s(447)][s(443)](u,n),n,0)}}));const l=X(i[e(364)],e(482));return u=o[e(449)]?-1==o[e(449)][e(483)](l)?l+": "+o[e(449)]:o[e(449)]:l+": "+o[e(454)][e(405)](i[e(364)][e(349)],{month:e(442),day:e(477)})+", "+o[e(454)][e(384)](i[e(364)][e(349)],{hour:e(477),minute:e(477)}),await n[e(351)]({name:u}),s[e(357)]=!0,i[e(472)][e(343)](e(342))[e(359)]()}}function Jo(t,e){var i=Ko();return(Jo=function(t,e){return i[t-=101]})(t,e)}function Ko(){var t=["693855roCtZx","1ucVUuK","20806iEOvXI","905016eVXjTU","12wqSYHr","5lllZgW","424pakFnm","11XTbWod","5478024EwJZWv","1686290CvgEUV","1809934YrVSnI","66222qSBZqH"];return(Ko=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(287339===parseInt(e(109))/1*(parseInt(e(110))/2)+-parseInt(e(108))/3+-parseInt(e(111))/4*(-parseInt(e(101))/5)+parseInt(e(112))/6*(parseInt(e(106))/7)+parseInt(e(102))/8*(parseInt(e(107))/9)+parseInt(e(105))/10*(-parseInt(e(103))/11)+-parseInt(e(104))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();