@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250529.0 → 0.0.0-nightly-20250530.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:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),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 A(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 R(t){return A(t)}const V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(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-=204]})(t,e)}function z(){const t=["name","set","fire","5814853QornsE","1396VZQaWy","attributes","setName","toVersion","creatorId","316047PCCItP","3084696QdpnCm","createdAt","2212314uHhtxJ","creator","98nZbLSW","model","authors","284766UKYqJR","_update","6eBvnqD","removeAttribute","diffData","1120nmjbcF","authorsIds","toJSON","map","20fZJaiS","6942663VaPtuE","fromVersion","setAttribute"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(500117===-parseInt(e(231))/1*(parseInt(e(211))/2)+-parseInt(e(204))/3+-parseInt(e(226))/4*(-parseInt(e(214))/5)+parseInt(e(209))/6*(parseInt(e(206))/7)+-parseInt(e(232))/8+parseInt(e(219))/9+-parseInt(e(218))/10*(-parseInt(e(225))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[j(205)];[j(208)];[j(213)];[j(229)];[j(220)];[j(207)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(205)]=e[i(205)]||null,this[i(208)]=e[i(208)]||[],this[i(213)]=e[i(213)]||null,this[i(229)]=e[i(229)]||0,this[i(220)]=e[i(220)]||0,this[i(223)](i(222),e[i(222)]||""),this[i(223)](i(233),e[i(233)]||new Date),this[i(223)](i(227),e[i(227)]||{})}[j(228)](t){this[j(210)]({name:t})}[j(221)](t,e){const i=j,s=R(this[i(227)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(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(210)]({attributes:s})}[j(212)](t){const e=j,i=R(this[e(227)]);(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]&&D(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(210)]({attributes:i})}[j(210)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(222),i(233),i(213),i(208),i(227),i(229),i(220),i(230)];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(208)]&&(n[i(215)]=n[i(208)][i(217)]((t=>t.id)),delete n[i(208)]),this[i(224)](i(210),n,e))}[j(216)](){const t=j;return{id:this.id,name:this[t(222)],creatorId:this[t(205)]?this[t(205)].id:null,authorsIds:this[t(208)][t(217)]((t=>t.id)),diffData:this[t(213)],createdAt:this[t(233)],attributes:this[t(227)],fromVersion:this[t(220)],toVersion:this[t(229)]}}}var U=i(782),H=i(211),Z=i(783);const q=B;function $(){const t=["840939spYnwj","reverse","join","get","oldRevisionId","getUser","RevisionsRepository","255095IieZPY","4099560fOzVEF","afterInit","10968ufiGQq","2JfAQou","earlier","toJSON","getLaterVisibleRevision","getRevisionsInDiff","add","plugins","Users","href","attributes","pluginName","length","data","getRevisions","_revisions","requires","later","createdAt","fromVersion","from","isNaN","map","editor","authorsIds","addRevision","name","28SJxCJm","233940nSAQrt","18184MRvBPN","getEarlierVisibleRevision","createRevision","fromCharCode","isOfficialPlugin","1404HNQNPF","creatorId","2667ofPoZH","getIndex","isPremiumPlugin","176bYEJJT","toVersion","getRevision","getRevisionsIterator","711229AdFESv","diffData","newRevisionId","push"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=253]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(429347===parseInt(e(307))/1*(-parseInt(e(265))/2)+-parseInt(e(254))/3+parseInt(e(291))/4*(parseInt(e(261))/5)+parseInt(e(264))/6*(parseInt(e(300))/7)+-parseInt(e(293))/8*(parseInt(e(298))/9)+parseInt(e(262))/10+-parseInt(e(303))/11*(-parseInt(e(292))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(279)];static get[q(280)](){return[H.Users]}static get[q(275)](){return q(260)}static get[q(297)](){return!0}static get[q(302)](){return!0}get[q(276)](){const t=q;return this[t(279)][t(276)]}constructor(e){const i=q;super(e),this[i(279)]=new t.Collection}[q(263)](){!async function(e){const i=k([55,118,102,74,65,115,116,111,76,82,50,80,104,56,113,122,114,107,54,117,109,83,52,51,78,70,106,85,53,49,120,98,119,100,86,84,99,88,68,81,121,108,57,103,69,77,79,101,48,66,110,97,89,105,75,72,67,112,87,73,71,90]),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(285)](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([118]);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(286)]((t=>String[e(296)](t)))[e(256)]("")}!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{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:1748476800;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(273)]);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{return k([73,110,118,97,108,105,100])}}())}(this)}[q(295)](t){const e=q,i=this[e(287)][e(271)][e(257)](e(272));return new W({id:t.id,name:t[e(290)],creator:t[e(299)]?i[e(259)](t[e(299)]):null,diffData:t[e(308)]||t[e(277)],authors:t[e(288)][e(286)]((t=>i[e(259)](t))),createdAt:new Date(t[e(282)]),attributes:t[e(274)],fromVersion:t[e(283)],toVersion:t[e(304)]})}[q(289)](t,e=0){const i=q;this[i(279)][i(270)](t,e)}[q(305)](t){const e=q;return this[e(279)][e(257)](t)}[q(278)](t={toJSON:!1}){const e=q,i=Array[e(284)](this[e(279)]);return i[e(255)](),t[e(267)]?i[e(286)]((t=>t[e(267)]())):i}[q(301)](t){const e=q;return this[e(279)][e(301)](t)}[q(294)](t){const e=q,[,i]=this[e(306)](t,{direction:e(266)});return i}[q(268)](t){const e=q,[,i]=this[e(306)](t,{direction:e(281)});return i}[q(269)](t){const e=q,i=[];for(const s of this[e(306)](t[e(309)]))if(i[e(253)](s),s.id===t[e(258)])break;return i}*[q(306)](t,{direction:e=q(266),filter:i=()=>!0}={}){const s=q,n=s(266)===e?1:-1;let r=this[s(279)][s(257)](t),o=this[s(301)](r);for(yield r;r;){if(o+=n,r=this[s(305)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=278]})(t,e)}function K(){const t=["_appendChild","childNodes","getRevisionDocumentData","view","211951vuOcDP","132958MBaZtZ","_makeModelFromViewString","from","attachChange","6632KbgyxO","132emgZpH","_setCustomProperty","type","forEach","useFillerType","children","startsWith","htmlProcessor","_removeRevisionMarkers","domConverter","constructor","render","toModel","get","fillerOffset","createElement","_getViewFromDiffObj","filter","innerHTML","pluginName","name","getRevision","length","_typeCharToViewClass","insertions","div","loadRevisionData","default","attributesAfter","customProperties","4NBMEGo","map","3069mHzFrL","parse","domDocument","isPremiumPlugin","revision-start","processor","collaboration.channelId","127911bAOUpv","viewChildrenToDom","marked","editing","editor","873660RLHfjS","_viewClassToTypeChar","toData","attributes","domChildrenToView","string","isAttached","isOfficialPlugin","3404040oOranp","data","2885hsJwja","config","append","RevisionHistoryUtils","getRevisionRootsAttributes","_getTypeCharForViewElement","data-revision-","document","getFillerOffset","revision-end","diffData"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(155753===-parseInt(e(349))/1+parseInt(e(310))/2*(parseInt(e(319))/3)+parseInt(e(324))/4+parseInt(e(334))/5*(-parseInt(e(280))/6)+parseInt(e(350))/7+-parseInt(e(279))/8*(parseInt(e(312))/9)+parseInt(e(332))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends U.Plugin{static get[J(299)](){return J(337)}static get[J(331)](){return!0}static get[J(315)](){return!0}[J(325)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(303)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(306)](t,e){const i=J;if(t[i(344)]||!e)return;const s=this[i(323)][i(335)][i(293)](i(318)),n=await e[i(301)]({channelId:s,revisionId:t.id});t[i(344)]=n[i(344)]}[J(347)](t){const e=J,i={};for(const s in t[e(344)]){if(t[e(344)][s][e(278)]&&!t[e(344)][s][e(278)][e(330)])continue;const n=this[e(288)](JSON[e(313)](t[e(344)][s][e(304)])),r=this[e(323)][e(322)][e(348)][e(341)],o=new Z.ViewDocumentFragment(r,n[e(311)]((t=>this[e(296)](t,!1))));this[e(323)][e(333)][e(317)][e(284)](e(321)),i[s]=this[e(323)][e(333)][e(317)][e(326)](o),this[e(323)][e(333)][e(317)][e(284)](e(307))}return i}[J(338)](t){const e=J,i={};for(const s in t[e(344)])t[e(344)][s][e(278)]&&!t[e(344)][s][e(278)][e(330)]||(i[s]=t[e(344)][s][e(308)]||{});return i}[J(339)](t){const e=J;return this[e(325)][e(293)](t[e(290)])}[J(296)](t,e){const i=J,s=this[i(323)][i(322)][i(348)][i(341)];if(i(329)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(282)]||"r"==t[i(282)]?[]:t[i(285)][i(311)]((t=>this[i(296)](t,e)));const o=this[i(303)][i(293)](t[i(282)])||Z.ViewElement,a=this[i(323)][i(333)][i(287)][i(289)];if(n=new o(s,t[i(300)],t[i(327)],r),"u"==t[i(282)]&&t[i(285)][0]){const r=t[i(285)][0];if(n[i(291)]=function(t){const e=i,s=t[e(295)](e(305));return s[e(298)]=r,s[e(346)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(345)](n);const e=Array[i(352)](a[i(320)](t,{bind:!1})),r=a[i(314)][i(295)](i(305));r[i(336)](...e),n=Array[i(352)](a[i(328)](r))[0]}}else if("r"==t[i(282)]&&t[i(285)][0]){const r=t[i(285)][0];if(n[i(291)]=function(t){t[i(298)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(345)](n);const e=Array[i(352)](a[i(320)](t,{bind:!1})),r=a[i(314)][i(295)](i(305));r[i(336)](...e);const o=Array[i(352)](a[i(328)](r));o[i(302)]>1?n[i(345)](o):n=o[0]}}if(t[i(309)])for(const[e,s]of t[i(309)])n[i(281)](e,s);const c=void 0===t[i(294)]?null:t[i(294)];return null!==c&&(n[i(342)]=()=>c),n}}[J(351)](t){const e=J,i=JSON[e(313)](t),s=this[e(323)][e(322)][e(348)][e(341)],n=new Z.ViewDocumentFragment(s,i[e(311)]((t=>this[e(296)](t,!0))));return this[e(323)][e(333)][e(292)](n)}[J(288)](t){const e=J;return(t=t[e(297)]((t=>!t[e(300)]||e(316)!==t[e(300)]&&e(343)!==t[e(300)])))[e(283)]((t=>{const i=e;i(329)!=typeof t&&(t[i(285)]=this[i(288)](t[i(285)]),t[i(327)]=t[i(327)][i(297)]((t=>!t[0][i(286)](i(340)))))})),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,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(V=s)||Number.isNaN(R)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,V;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)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-=114]})(t,e)}function at(){const t=["data","_showLicenseError","_isInit","RealTimeCollaborationClient","featureNotAllowed","offsetSize","getChild","adapter","text","insertion","_bufferUpdate","sendBufferedUpdates","initialData","1028361DrPMXW","domConverter","detachRoot","expired","outerHTML","delete","previousPosition","values","affectsData","_loadState","_execute","_reset","_prepareViewToSave","buildRevisionData","RevisionHistoryUtils","fromEntries","_addPendingAction","destroy","isEqual","htmlProcessor","push","attributesAfter","attributesBefore","stringify","getCustomProperties","graveyardPosition","253518qHoowe","map","_operations","rootsAttributes","stickiness","toView","define","domainLimit","createPositionAt","getFillerOffset","render","_setAttribute","revisionHistoryLicenseKeyValid","getUser","_createFromRanges","domDocument","createRange","_fixPosition","deletion","targetPosition","root","setRevisionData","initial","_handleRootAttributeOperation","RevisionHistory","uiElement","getWalker","remove","_fixRange","_createCurrentRevision","getOperation","revisionHistoryLicenseKeyTrialLimit","1125376LDsmuu","resolve","invalid","insert","type","getOperations","_touchedRoots","deletions","_transformMarkers","setSource","_source","config","loadState","_diffRoots","revisionHistoryLicenseKeyNotAllowed","init","keepParagraph","_calculateMetaData","max","revisionHistoryLicenseKeyEvaluationLimit","rawElement","add","merge","_getFromVersion","_getViewJson","createPositionFromPath","getRevision","isReady","_handleSplitOperation","isEnabled","shift","newRange","startsWith","20wgeAIV","changeRootAttribute","vid_end","7xhrHMv","then","toVersion","_handleRootOperation","nodeAfter","licenseKey","_clone","getAncestors","conversion","_markChanges","version","newValue","_removeMetaData","_licenseKeyCheckInterval","evaluationLimit","_isPendingUpdate","childCount","key","_getBaseVids","revisionHistory.resumeUnsavedRevision","1027504LBawwD","addRevision","Empty document","fillerOffset","insertionPosition","createElement","getAttributes","upcast","addRoot","diffData","elementStart","createRevision","item","2akIVfI","saveRevision","getChildren","_cloneOperation","find","attachChange","model","_isAttached","_getState","reverse","reInit","revision","children","revisionHistoryLicenseKeyInvalid","source","elementEnd","repository","userId","howMany","collaboration.channelId","revisionHistoryLicenseKeyUsageLimit","removeRootAttribute","offset","_getVidAttributeName","locale","dataDowncast","_makeModelFromViewString","requires","_findInsertionIndex","getMovedRangeStart","documentFragment","_handleMarkerOperation","editor-initial-data-replaced-with-revision-data","$graveyard","209rYXtoL","_baseIdsRoots","getRange","innerHTML","_baseRoots","createRangeIn","finally","_processRootBeforeSave","_diffRootsAttributes","creator","20005yLUjYs","_makeRevision","_touchedMarkers","addRevisionData","_copyMarkers","_baseRootsAttributes","end","getData","_startingVersion","start","NEGATIVE_INFINITY","set","revisionHistoryLicenseKeyDomainLimit","Initial revision","_loadedStateData","tableCell","_setConversion","RevisionsRepository","createdAt","_handleMoveOperation","_initialRevisionId","getRevisionRootsAttributes","_handleOperation","_pendingAction","PendingActions","_handleInsertOperation","_update","slice","includes","filter","paragraph","get","isAttached","createPositionAfter","currentRevision","_idsRoots","path","sourcePosition","_saveMetaData","markerToData","baseVersion","_replaceEditorDataWithRevisionData","length","getLatestVersion","from","_insertChild","clone","dataToMarker","update","nodes","reinsert","oldRange","_authorId","getRevisionDocumentData","_startingRevisionId","$text","roots","ready","isAdd","move","position","insertions","loadRevisionData","getTransformedByOperation","pluginName","_makeIdsRoot","customProperties","splitPosition","_applyOperations","56568eGuzRC","getCurrentRevisionId","926955wysGyq","plugins","_appendChild","_generateTape","_savedMetaData","editor","document","vid","_lastTo","creatorId","$comment","getRootNames","marker","_revisionId","history","authors","getRoot","_bufferedUpdates","_handleMergeOperation","PENDING_ACTION_REVISION_HISTORY","some","for","bind","name","getAttribute","_getPreviousFrom","keys","revision:","sort","element","createPositionBefore","_lastFrom","updateRevisions","isPremiumPlugin","_continueCurrentRevision","usageLimit","has","split","clear","_utils","hasContent","_createInitialRevision","RevisionTracker","rootName","Users","isOfficialPlugin","_fixOperation","addRootAttribute","string","getNodeByPath","trialLimit","parent","_getTypeCharForViewElement","getIndex","getRevisions","getTime","range","vid_start","authorsIds","fromVersion","_revisionDataBuilder","revisionHistoryLicenseKeyExpired","afterInit","trim","size","_markers","210TgWUwm","markers","_touched","_removePendingAction"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(342044===parseInt(e(412))/1+parseInt(e(188))/2*(parseInt(e(386))/3)+-parseInt(e(119))/4+-parseInt(e(232))/5*(parseInt(e(369))/6)+-parseInt(e(155))/7*(parseInt(e(175))/8)+parseInt(e(303))/9*(parseInt(e(152))/10)+parseInt(e(222))/11*(parseInt(e(301))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(160)];[rt(168)];[rt(266)]=null;[rt(204)];[rt(380)]=null;[rt(363)];[rt(129)];[rt(252)];[rt(320)];[rt(342)];[rt(255)];[rt(337)];[rt(240)];[rt(246)];static get[rt(296)](){return rt(345)}static get[rt(348)](){return!0}static get[rt(336)](){return!0}static get[rt(215)](){return[H.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(204)]=this[i(308)][i(304)][i(263)](i(249)),this[i(342)]=this[i(308)][i(304)][i(263)](i(400)),this[i(363)]=new ut(this[i(308)]),this[i(252)]=this[i(308)][i(130)][i(263)](i(207))||i(434),this[i(320)]=new Map,this[i(246)]=null;const s=(0,t.uid)();this[i(129)]={history:this[i(308)][i(194)][i(309)][i(317)],getLatestVersion:()=>Promise[i(120)](this[i(308)][i(194)][i(309)][i(165)]),getCurrentRevisionId:()=>s},this[i(243)](i(146),!1),this[i(243)](i(148),!0),this[i(243)](i(170),!1),this[i(308)][i(130)][i(418)](i(174),!0),this[i(308)][i(163)][i(324)](i(182))[i(279)]({view:i(199)})}[rt(134)](){const t=rt;this[t(248)](),this[t(308)][t(373)].on(t(289),(()=>{const e=t,i=this[e(204)][e(145)](0),s=i&&null===i[e(231)]?i:null;if(this[e(337)]=!!s&&this[e(308)][e(130)][e(263)](e(174)),this[e(308)][e(304)][e(339)](e(376))){const t=this[e(129)][e(302)](),n=this[e(204)][e(145)](t);if(n)this[e(240)]=n[e(362)],this[e(337)]=!1;else{const t=this[e(129)][e(317)][e(414)][e(192)]((t=>!t[e(375)])),n=t?t[e(272)]:this[e(129)][e(317)][e(165)];i?(i[e(157)]<n&&i[e(258)]({toVersion:n}),this[e(337)]?(this[e(129)][e(302)]=()=>s.id,this[e(240)]=s[e(362)]):(this[e(240)]=i[e(157)],this[e(337)]=!1)):(this[e(240)]=n,this[e(337)]=!1)}}else s&&(this[e(308)][e(194)][e(309)][e(317)][e(165)]=Math[e(137)](s[e(157)],this[e(308)][e(194)][e(309)][e(317)][e(165)]),s[e(362)]===s[e(157)]?(0!==s[e(362)]&&(this[e(129)][e(302)]=()=>s.id),this[e(337)]=!1):this[e(337)]&&(this[e(129)][e(302)]=()=>s.id,this[e(240)]=s[e(362)])),this[e(337)]||(this[e(240)]=this[e(308)][e(194)][e(309)][e(165)]);this[e(363)][e(134)](this[e(129)][e(317)]),this[e(344)](this[e(240)]),this[e(116)](this[e(240)]),this[e(380)]&&this[e(384)]()})),this[t(325)](t(146)).to(this,t(170),(t=>!t)),this[t(160)]=this[t(308)][t(130)][t(263)](t(160));const e=this[t(308)];this[t(168)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(424)==r||i(201)==r||i(364)==r||i(244)==r||i(133)==r||i(138)==r||i(118)==r||i(208)==r){delete e[n],s=r,clearInterval(this[i(168)]),this[i(168)]=void 0;break}}i(201)==s&&e[i(374)](i(121)),i(364)==s&&e[i(374)](i(389)),i(244)==s&&e[i(374)](i(419)),i(133)==s&&e[i(374)](i(377),i(436)),i(138)==s&&e[i(374)](i(169)),i(118)==s&&e[i(374)](i(353)),i(208)==s&&e[i(374)](i(338))}),1e3)}async[rt(365)](){const t=rt;if(this[t(204)][t(274)]>0){const e=this[t(204)][t(145)](0),i=await this[t(285)](e),s=await this[t(253)](e);this[t(273)](i,s)}}[rt(403)](){const t=rt;super[t(403)](),this[t(168)]&&clearInterval(this[t(168)])}[rt(128)](t){this[rt(129)]=t}async[rt(280)](){const t=rt,e=await this[t(129)][t(275)]();if(e>this[t(266)][t(157)]){await this[t(395)]();const i=this[t(399)]({revision:this[t(266)],to:e});i[t(318)]=i[t(361)][t(413)]((e=>this[t(308)][t(304)][t(263)](t(347))[t(425)](e))),this[t(266)][t(258)](i)}}async[rt(189)](e={},i=null){const s=rt,n=[];await this[s(395)](),this[s(337)]=!1,i>this[s(266)][s(157)]&&(i=null),null===i&&(i=await this[s(129)][s(275)]());const r=this[s(142)](i),o=this[s(399)]({from:r,to:i});if(this[s(266)][s(157)]<i){const t=this[s(399)]({revision:this[s(266)],from:i,to:i});t[s(318)]=[],t[s(361)]=[],t.id=this[s(266)].id,this[s(266)][s(258)](t,!0),delete t[s(318)],n[s(406)](t)}e[s(312)]=this[s(308)][s(304)][s(263)](s(347)).me.id,e[s(326)]=e[s(326)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(235)](e);n[s(406)](e);const c=this[s(204)][s(356)](a);if(0!==c){const t=this[s(204)][s(145)](c-1);if(t[s(362)]!==i){const r=this[s(363)][s(239)](i,t[s(157)]),o={id:t.id,diffData:r[s(184)],authorsIds:r[s(361)],authors:r[s(361)][s(413)]((t=>this[s(308)][s(304)][s(263)](s(347))[s(425)](t))),fromVersion:i};t===this[s(266)]&&(o[s(250)]=new Date(e[s(250)][s(358)]()+10)),t[s(258)](o,!0),delete o[s(318)],n[s(406)](o)}}if(this[s(380)]){for(const t of n)this[s(383)](t.id,t,!0);this[s(384)]()}return a}[rt(235)](t){const e=rt,i=this[e(204)][e(186)](t);return this[e(380)]&&i.on(e(258),((t,i,s)=>{const n=e;s||(this[n(383)](i.id,i,!0),this[n(384)]())})),this[e(204)][e(176)](i,this[e(216)](i)),i}async[rt(285)](t){const e=rt;return await this[e(342)][e(294)](t,this[e(380)]),this[e(342)][e(285)](t)}async[rt(253)](t){const e=rt;return await this[e(342)][e(294)](t,this[e(380)]),this[e(342)][e(253)](t)}[rt(384)](){const t=rt;if(0===this[t(320)][t(367)])return;if(this[t(170)])return;let e=Array[t(276)](this[t(320)][t(393)]());this[t(320)][t(341)]();for(let i=0;i<e[t(274)];i++){const s=e[i];let n=!1;for(const e of Object[t(329)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(261)]((t=>null!==t)),!e[t(274)])return;for(let i=0;i<e[t(274)];i++){const s=e[i];void 0!==s[t(362)]&&void 0===s[t(157)]&&(s[t(157)]=this[t(204)][t(145)](s.id)[t(157)]),void 0!==s[t(157)]&&void 0===s[t(362)]&&(s[t(362)]=this[t(204)][t(145)](s.id)[t(362)])}const i=this[t(308)][t(130)][t(263)](t(207));this[t(170)]=!0,this[t(402)](),this[t(380)][t(335)](e,i)[t(228)]((()=>{this[t(170)]=!1}))[t(156)]((e=>{const i=t;if(e)for(const t of e)this[i(433)]({id:t.id,createdAt:t[i(250)]});this[i(372)](),this[i(384)]()}))}[rt(399)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(362)],i=null!==i?i:t[s(157)];const n=this[s(363)][s(239)](e,i),r={diffData:n[s(184)],authorsIds:n[s(361)],fromVersion:e,toVersion:i};if(!t||i!==t[s(157)]){const t=i-1,e=this[s(129)][s(317)][s(117)](t);r[s(250)]=e&&e[s(250)]||new Date}if(this[s(246)]&&e===this[s(246)][s(362)])for(const t of this[s(246)][s(318)])r[s(361)][s(260)](t.id)||r[s(361)][s(406)](t.id);return r}[rt(383)](t,e,i){const s=rt;if(this[s(320)][s(339)](t)){const n=this[s(320)][s(263)](t);e=i?{...n,...e}:{...e,...n}}this[s(320)][s(243)](t,e)}[rt(433)](t){const e=rt,i=this[e(204)][e(145)](t.id);if(t[e(250)]&&(t[e(250)]=new Date(t[e(250)])),t[e(361)]){const i=this[e(308)][e(304)][e(263)](e(347));t[e(318)]=t[e(361)][e(413)]((t=>i[e(425)](t)))}i[e(258)](t,!0)}[rt(344)](t){const e=rt,i=this[e(204)][e(145)](this[e(204)][e(274)]-1);if(i)this[e(252)]=i.id;else{const i=!this[e(308)][e(194)][e(309)][e(288)][e(192)]((t=>this[e(308)][e(194)][e(343)](t))),s=this[e(308)][e(304)][e(263)](e(347)).me.id,n=X(this[e(308)][e(212)],e(i?177:245));this[e(233)]({from:t,to:t,id:this[e(252)],name:n,creatorId:s})}}[rt(116)](t){const e=rt,i=this[e(129)][e(302)]();this[e(266)]=this[e(204)][e(145)](i),this[e(266)]||(this[e(266)]=this[e(233)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(395)](){const t=rt;this[t(337)]&&!this[t(246)]&&(await this[t(342)][t(294)](this[t(266)],this[t(380)]),this[t(363)][t(131)](this[t(266)]),this[t(246)]={fromVersion:this[t(266)][t(362)],authors:this[t(266)][t(318)][t(259)]()})}[rt(273)](e,i){const s=rt;let n=this[s(308)][s(130)][s(263)](s(385)),r=this[s(308)][s(130)][s(263)](s(415));if(void 0===n){n={};for(const t of this[s(308)][s(194)][s(309)][s(314)]())n[t]=""}if(s(351)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(308)][s(194)][s(309)][s(314)]())r[t]={}}let o=!1;const a=Object[s(329)](n),c=Object[s(329)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(366)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(329)](r[t])[s(274)]>0){o=!0;break}}o||(o=c[s(323)]((t=>!this[s(308)][s(194)][s(309)][s(319)](t)))),o&&(0,t.logWarning)(s(220),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(308)][s(130)][s(243)](s(385),e),this[s(308)][s(130)][s(243)](s(415),i)}[rt(402)](){const t=rt;if(!this[t(255)]){const e=this[t(308)][t(304)][t(263)](t(256));this[t(255)]=e[t(140)](X(this[t(308)][t(212)],t(322)))}}[rt(372)](){const t=rt;this[t(255)]&&(this[t(308)][t(304)][t(263)](t(256))[t(114)](this[t(255)]),this[t(255)]=null)}[rt(216)](t){const e=rt,i=this[e(204)][e(357)]();i[e(197)]();let s=0;for(;s<i[e(274)];){const n=i[s];if(n===this[e(266)]){s++;continue}if(n.id===this[e(252)])break;const r=t[e(157)]-n[e(157)]||t[e(362)]-n[e(362)];if(r>0)break;if(r<0)s++;else{if(!t[e(231)]&&n[e(231)])break;if(n[e(231)]||!t[e(231)]){if(t[e(250)]>n[e(250)])break;s++}else s++}}return s}[rt(142)](t){const e=rt,i=this[e(204)][e(357)]();i[e(197)](),i[e(149)]();const s=i[e(192)]((i=>i[e(157)]<=t))[e(157)];return s<this[e(240)]?this[e(240)]:s}[rt(233)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(399)]({from:e,to:i});o[r(326)]=t,o[r(312)]=s,o.id=n;const a=this[r(235)](o);return this[r(380)]&&this[r(383)](o.id,o,!0),a}[rt(248)](){const t=rt;this[t(308)][t(163)][t(324)](t(213))[t(271)]({model:t(199)})}}class ut{[rt(308)];[rt(202)];[rt(307)];[rt(334)];[rt(311)];[rt(368)];[rt(132)];[rt(230)];[rt(226)];[rt(237)];[rt(267)];[rt(223)];[rt(371)];[rt(234)];[rt(125)];[rt(316)];[rt(286)];constructor(t){const e=rt;this[e(308)]=t,this[e(307)]=new Map,this[e(334)]=-1,this[e(311)]=-1,this[e(368)]=new Map,this[e(132)]=new Map,this[e(230)]=new Map,this[e(226)]=new Map,this[e(237)]=new Map,this[e(267)]=new Map,this[e(223)]=new Map,this[e(371)]=new Map,this[e(234)]=new Map,this[e(125)]=new Map,this[e(316)]=1}[rt(134)](t){const e=rt;this[e(202)]=t;const i=new Map,s=new Map,n=this[e(308)][e(194)][e(309)][e(288)][e(413)]((t=>t[e(346)]));for(const t of n){const n=this[e(308)][e(194)][e(309)][e(319)](t),r=lt(n);i[e(243)](t,r),s[e(243)](t,Object[e(401)](n[e(181)]()))}const r=Array[e(276)](this[e(308)][e(194)][e(370)])[e(413)]((t=>[t[e(326)],t[e(224)]()])),o=this[e(202)][e(165)];this[e(270)](o,i,r,s),this[e(286)]=this[e(316)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(243)](t,i),c[e(243)](t,{})}this[e(270)](Number[e(242)],a,[],c)}[rt(239)](t,e){const i=rt;if(this[i(334)]===t&&this[i(311)]<=e)this[i(307)][i(367)]>1&&this[i(167)](this[i(311)]),this[i(300)](this[i(311)],e,!0);else{if(!this[i(307)][i(339)](t)){const e=this[i(328)](t);this[i(136)](e,t,!1)}this[i(136)](t,e,!0)}return this[i(334)]=t,this[i(311)]=e,this[i(196)]()}[rt(131)](t){const e=rt,i=this[e(308)][e(304)][e(263)](e(400));this[e(397)](),this[e(334)]=t[e(362)],this[e(311)]=t[e(157)];for(const s in t[e(184)]){const n=t[e(184)][s][e(193)],r=R(t[e(184)][s][e(408)])||{},o=i[e(214)](t[e(184)][s][e(126)]);o[e(346)]=s,o[e(195)]=!n||!n[e(264)],o[e(264)]=()=>o[e(195)],this[e(226)][e(243)](s,o),this[e(237)][e(243)](s,r),n&&this[e(125)][e(243)](s,n);const a=this[e(297)](o);this[e(223)][e(243)](s,a);for(const[t,i]of o[e(370)]){if(!t[e(151)](e(330)))continue;const s=t[e(340)](":")[2];for(const t of i[e(438)]({singleCharacters:!0})){const i=this[e(211)](t),n=e(203)==t[e(123)]?t[e(392)][e(268)][e(259)](0,-1):t[e(392)][e(268)],r=a[e(352)](n)[e(327)](i);this[e(371)][e(243)](r,{userId:s})}}}this[e(286)]=this[e(316)];const s=[...Array(this[e(316)])[e(329)]()][e(259)](1)[e(261)]((t=>!this[e(371)][e(339)](t)));let n=0;const r=new Map;for(const o in t[e(184)]){const a=t[e(184)][o][e(193)],c=R(t[e(184)][o][e(407)])||{},u=i[e(214)](t[e(184)][o][e(293)]);u[e(346)]=o,u[e(195)]=!a||a[e(264)],u[e(264)]=()=>u[e(195)],this[e(132)][e(243)](o,u),this[e(230)][e(243)](o,c);const l=this[e(297)](u,Number[e(242)]);this[e(267)][e(243)](o,l),r[e(243)](o,u[e(264)]()?c:{});for(const[t,i]of u[e(370)]){if(!t[e(151)](e(330)))continue;const s=t[e(340)](":")[2];for(const t of i[e(438)]({singleCharacters:!0})){const i=this[e(211)](t),n=this[e(316)]++,r=e(203)==t[e(123)]?t[e(392)][e(268)][e(259)](0,-1):t[e(392)][e(268)];l[e(352)](r)[e(423)](i,n),this[e(371)][e(243)](n,{userId:s})}}for(const t of this[e(308)][e(194)][e(227)](u)[e(438)]({singleCharacters:!0})){const i=this[e(211)](t),r=e(203)==t[e(123)]?t[e(392)][e(268)][e(259)](0,-1):t[e(392)][e(268)],o=l[e(352)](r);o[e(327)](i)>0||o[e(423)](i,s[n++])}for(const[t,i]of u[e(370)])t[e(151)](e(330))||this[e(368)][e(243)](t,i)}const o=ht(e(221));this[e(226)][e(243)](e(221),o),this[e(223)][e(243)](e(221),this[e(297)](o,1));const a=ht(e(221));this[e(132)][e(243)](e(221),a),this[e(267)][e(243)](e(221),this[e(297)](a,1));const c=Array[e(276)](this[e(132)])[e(413)]((([t,e])=>[t,lt(e)]));this[e(270)](this[e(311)],c,this[e(368)],r)}[rt(198)](){const t=rt;this[t(397)](),this[t(334)]=-1,this[t(311)]=-1,this[t(307)][t(341)](),this[t(134)](this[t(202)])}[rt(270)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(243)](t,{start:e[n(241)][n(278)](),end:e[n(238)][n(278)](),rootName:e[n(432)][n(346)]});this[n(307)][n(243)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(167)](t){const e=rt;this[e(307)][e(391)](t)}[rt(397)](){const t=rt;this[t(371)][t(341)](),this[t(234)][t(341)](),this[t(125)][t(341)](),this[t(132)][t(341)](),this[t(230)][t(341)](),this[t(226)][t(341)](),this[t(237)][t(341)](),this[t(267)][t(341)](),this[t(223)][t(341)](),this[t(368)][t(341)](),this[t(316)]=1,this[t(286)]=this[t(316)]}[rt(297)](t,e=null){const i=rt;let s=null;t.is(i(218))||(s=new Z.Element(t[i(326)],{vid_start:null===e?this[i(316)]++:e++}));const n=[];for(const s of t[i(190)]())if(s.is(i(332))){n[i(406)](this[i(297)](s,e));const t=n[n[i(274)]-1];null!==e&&(e=t.is(i(332),i(287))?t[i(327)](i(310))+1:t[i(327)](i(154))+1)}else for(let t=0;t<s[i(378)];t++)n[i(406)](new Z.Element(i(287),{vid:null===e?this[i(316)]++:e++}));if(t.is(i(218))){const e=ht(t[i(346)]);return e[i(277)](0,n),e}return s[i(423)](i(154),null===e?this[i(316)]++:e++),s[i(277)](0,n),s}[rt(136)](t,e,i){const s=rt;this[s(397)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(307)][s(263)](t);this[s(226)]=new Map(n),this[s(237)]=new Map(R(o));for(const[t,e]of this[s(226)])if(s(221)!==t&&(this[s(132)][s(243)](t,lt(e)),this[s(230)]=new Map(R(o)),i)){const i=this[s(316)];this[s(267)][s(243)](t,this[s(297)](e)),this[s(223)][s(243)](t,this[s(297)](e,i))}this[s(286)]=this[s(316)],this[s(132)][s(243)](s(221),lt(this[s(226)][s(263)](s(221)))),i&&this[s(267)][s(243)](s(221),this[s(297)](this[s(226)][s(263)](s(221))));for(const[t,e]of r){const i=this[s(226)][s(263)](e[s(346)]),n=this[s(132)][s(263)](e[s(346)]),r=new Z.Range(this[s(429)](e[s(241)],i),this[s(429)](e[s(238)],i)),o=this[s(115)](r,n);i[s(370)][s(243)](t,r),this[s(368)][s(243)](t,o)}this[s(300)](t,e,i)}[rt(300)](t,e,i){const s=rt;for(const n of this[s(202)][s(124)](t,e))this[s(254)](n,i);for(const t of this[s(132)][s(393)]())t[s(370)][s(341)]();for(const[t,e]of this[s(368)])this[s(132)][s(263)](e[s(432)][s(346)])[s(370)][s(243)](t,e[s(278)]());const n=new Map,r=new Map;for(const[t,e]of this[s(132)])n[s(243)](t,lt(e)),r[s(243)](t,this[s(230)][s(263)](t));this[s(270)](e,n,this[s(368)],r)}[rt(328)](t){const e=rt,i=Array[e(276)](this[e(307)][e(329)]());i[e(331)](((t,e)=>t-e)),i[e(197)]();for(const e of i)if(e<t)return e;return Number[e(242)]}[rt(236)](t,e){const i=rt,s=Array[i(276)](e[i(370)])[i(413)]((([e,s])=>[e,this[i(115)](s,t)]));t[i(370)]=new Map(s)}[rt(127)](t){const e=rt;for(const i of this[e(368)][e(393)]()){const s=i[e(295)](t),n=Z.Range[e(426)](s);i[e(241)]=n[e(241)],i[e(238)]=n[e(238)]}}[rt(254)](t,e){const i=rt;if(i(183)!=t[i(123)]&&i(388)!=t[i(123)]){if(i(122)==t[i(123)]){const s=t[i(292)][i(432)][i(346)];this[i(132)][i(339)](s)||(this[i(132)][i(243)](s,ht(s,!0)),this[i(230)][i(243)](s,{}),e&&this[i(267)][i(243)](s,ht(s,!0)))}else{if(i(350)==t[i(123)]||i(209)==t[i(123)]||i(153)==t[i(123)])return void this[i(435)](t);i(315)==t[i(123)]&&this[i(219)](t)}if(i(315)!==t[i(123)]){const e=this[i(191)](t,this[i(132)]);e[i(396)](),this[i(127)](e)}if(e)switch(t[i(123)]){case i(122):this[i(257)](t);break;case i(291):case i(114):case i(282):this[i(251)](t);break;case i(141):this[i(321)](t);break;case i(340):this[i(147)](t)}}else this[i(158)](t,e)}[rt(191)](t,e){const i=rt,s=t[i(278)]();return s[i(284)]=t[i(284)],this[i(349)](s,e),s}[rt(173)](t){const e=rt;return t[e(413)]((t=>{const i=e,s=this[i(211)](t);return Number(t[i(187)][i(327)](s))}))}[rt(306)](t,e){const i=rt;if(t.is(i(332),i(287)))e[i(406)]({item:t,type:i(381)});else{t.is(i(332))&&e[i(406)]({item:t,type:i(185)});for(const s of t[i(190)]())this[i(306)](s,e);t.is(i(332))&&e[i(406)]({item:t,type:i(203)})}return e}[rt(196)](){const t=rt,e=new Map(this[t(371)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(226)][t(329)](),...this[t(132)][t(329)]()]);a[t(391)](t(221));for(const e of a){const i=this[t(132)][t(263)](e)||ht(e,!1),s=this[t(226)][t(263)](e)||ht(e,!1);i[t(264)]()||s[t(264)]()?(n[t(293)][e]=lt(i),n[t(126)][e]=lt(s),this[t(236)](n[t(126)][e],s),this[t(236)](n[t(293)][e],i),r[t(293)][e]=this[t(306)](this[t(267)][t(263)](e),[]),r[t(126)][e]=this[t(306)](this[t(223)][t(263)](e)||ht(e,!1),[])):a[t(391)](e)}for(const n of a){const o=r[t(293)][n];for(const n of o){const r=this[t(211)](n),o=n[t(187)][t(327)](r);i[t(391)](o),o>=this[t(286)]&&s[t(243)](o,e[t(263)](o))}}for(const n of a){const a=r[t(293)][n],c=this[t(173)](r[t(126)][n]);let u=0;for(const n of a){const r=this[t(211)](n),a=n[t(187)][t(327)](r);if(!s[t(339)](a)&&!o[t(339)](a))if(i[t(339)](a))u++;else{if(a!=c[u]){const s=e[t(263)](a)||e[t(263)](c[u]);for(;a!=c[u];)i[t(339)](c[u])||(o[t(243)](c[u],s),e[t(243)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(293)][e];for(const e of n){const n=this[t(211)](e),r=e[t(187)][t(327)](n);if(o[t(339)](r)){const e=o[t(263)](r);i[t(339)](r)||i[t(243)](r,{...e}),s[t(243)](r,{...e})}}}for(const e of i[t(329)]())e>=this[t(286)]&&i[t(391)](e);const c=new Map;for(const e of a){let n=r[t(293)][e];for(const e of n)if(e[t(187)].is(t(332),t(247))){const i=this[t(211)](e),n=e[t(187)][t(327)](i);if(s[t(339)](n)){const i=e[t(187)][t(354)][t(354)][t(327)](t(360)),r=c[t(263)](i)||new Set;r[t(140)](s[t(263)](n)[t(205)]),c[t(243)](i,r)}}n=r[t(126)][e];for(const e of n)if(e[t(187)].is(t(332),t(247))){const s=this[t(211)](e),n=e[t(187)][t(327)](s);if(i[t(339)](n)){const s=e[t(187)][t(354)][t(354)][t(327)](t(360)),r=c[t(263)](s)||new Set;r[t(140)](i[t(263)](n)[t(205)]),c[t(243)](s,r)}}for(const e of c[t(329)]())(s[t(339)](e)||i[t(339)](e))&&c[t(391)](e)}for(const e of a){const n=r[t(293)][e];let o=null,a=null;for(const e of n){const n=this[t(211)](e),r=e[t(187)][t(327)](n),u=c[t(263)](r);u&&t(185)==e[t(123)]&&(o=Array[t(276)](u)[0],a=e[t(187)][t(327)](t(154))),o&&(i[t(243)](r,{userId:o}),s[t(243)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(126)][e],a=n[t(293)][e];for(const{userId:e}of this[t(234)][t(393)]())null!==e&&l[t(140)](e);for(const{userId:e}of this[t(125)][t(393)]())null!==e&&l[t(140)](e);this[t(164)](a,r[t(293)][e],s,t(382),l),this[t(164)](o,r[t(126)][e],i,t(430),l),u[e]={insertions:this[t(398)](a),deletions:this[t(398)](o),attachChange:this[t(125)][t(263)](e)||null,attributesBefore:R(this[t(237)][t(263)](e))||{},attributesAfter:R(this[t(230)][t(263)](e))}}return{diffData:u,authorsIds:Array[t(276)](l)}}[rt(229)](t){const e=rt;for(const[,i]of t[e(370)]){const t=i[e(241)][e(162)]()[e(261)]((t=>e(247)==t[e(326)]));for(const i of t)1==i[e(171)]&&i[e(379)](0).is(e(332),e(262))&&i[e(379)](0)[e(423)](e(135),!0)}}[rt(398)](t){const e=rt;this[e(229)](t);const i=this[e(308)][e(373)][e(417)](t,{}),s=Array[e(276)](i[e(190)]())[e(413)]((t=>this[e(143)](t)));return JSON[e(409)](s)}[rt(143)](t){const e=rt;if(t.is(e(287)))return t[e(373)];{const i=this[e(308)][e(304)][e(263)](e(400)),s=t,n=this[e(308)][e(373)][e(405)][e(387)],r={type:i[e(355)](s),name:s[e(326)],attributes:Array[e(276)](s[e(181)]()),children:Array[e(276)](s[e(190)]())[e(413)]((t=>this[e(143)](t)))};if(t.is(e(437))&&e(313)!=t[e(326)]){const i=t[e(422)](n[e(427)],n);r[e(200)][e(406)](i[e(390)])}else if(t.is(e(139))){const i=n[e(427)][e(180)](s[e(326)]);t[e(422)](i,n),r[e(200)][e(406)](i[e(225)])}const o=Array[e(276)](s[e(410)]());o[e(274)]>0&&(r[e(298)]=o);const a=s[e(421)]();return null!==a&&(r[e(178)]=a),r}}[rt(164)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(308)][r(194)];for(let s=0;s<e[r(274)];s++){const n=this[r(211)](e[s]),c=e[s][r(187)][r(327)](n),h=i[r(263)](c),d=s==e[r(274)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(205)]!=o[r(205)])&&(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(205)],d=l(330)+s+":"+h+":"+c++,f=u[l(428)](i,a);t[l(370)][l(243)](d,f),null!==h&&n[l(140)](h)}}[rt(211)](t){const e=rt;switch(t[e(123)]){case e(185):return e(360);case e(203):return e(154);default:return e(310)}}[rt(349)](t,e){const i=rt;t[i(272)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(263)](n[i(432)][i(346)]);t[s]=this[i(429)](n,r)}if(n instanceof Z.Range){const r=e[i(263)](n[i(432)][i(346)]);t[s]=this[i(115)](n,r)}i(432)===s&&(t[i(432)]=e[i(263)](t[i(432)][i(346)]))}}[rt(115)](t,e){const i=rt;return this[i(308)][i(194)][i(428)](this[i(429)](t[i(241)],e),this[i(429)](t[i(238)],e))}[rt(429)](t,e){const i=rt;return this[i(308)][i(194)][i(144)](e,t[i(268)],t[i(416)])}[rt(257)](t){const e=rt,i=this[e(267)][e(263)](t[e(292)][e(432)][e(346)]),s=this[e(429)](t[e(292)],i),n=null===t[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,r=s[e(354)],o=this[e(316)],a=[];for(const i of t[e(281)])if(i.is(e(332)))a[e(406)](this[e(297)](i));else for(let t=0;t<i[e(378)];t++)a[e(406)](new Z.Element(e(287),{vid:this[e(316)]++}));const c=this[e(316)];for(let t=o;t<c;t++)this[e(371)][e(243)](t,{userId:n});r[e(277)](s[e(210)],a)}[rt(251)](t){const e=rt;(t=this[e(191)](t,this[e(267)]))[e(396)]();const i=null===t[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,s=t[e(217)](),n=s[e(354)],r=s[e(210)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(379)](e);r.is(a(332),a(287))?s[a(243)](r[a(327)](a(310)),{userId:i}):(s[a(243)](r[a(327)](a(360)),{userId:i}),t(s,r,0,r[a(171)]),s[a(243)](r[a(327)](a(154)),{userId:i}))}}(this[e(371)],n,r,r+t[e(206)])}[rt(321)](t){const e=rt,i=null===(t=this[e(191)](t,this[e(267)]))[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,s=t[e(431)][e(354)],n=t[e(269)][e(354)],r=s[e(327)](e(154)),o=n[e(327)](e(360));s[e(423)](e(154),n[e(327)](e(154))),n[e(423)](e(154),r),this[e(371)][e(243)](o,{userId:i}),this[e(371)][e(243)](r,{userId:i}),t[e(396)]()}[rt(147)](t){const e=rt,i=null===(t=this[e(191)](t,this[e(267)]))[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,s=t[e(411)],n=t[e(299)][e(354)];t[e(396)]();const r=n[e(327)](e(154)),o=t[e(179)][e(159)];if(s){const t=o[e(327)](e(154)),s=n[e(327)](e(154));n[e(423)](e(154),t),o[e(423)](e(154),s),this[e(371)][e(243)](n[e(327)](e(154)),{userId:i}),this[e(371)][e(243)](o[e(327)](e(360)),{userId:i})}else{const t=this[e(316)]++,s=this[e(316)]++;n[e(423)](e(154),t),o[e(423)](e(360),s),o[e(423)](e(154),r),this[e(371)][e(243)](t,{userId:i}),this[e(371)][e(243)](s,{userId:i})}}[rt(219)](t){const e=rt;if(!t[e(394)])return;const i=(t=this[e(191)](t,this[e(132)]))[e(283)]?t[e(283)][e(432)]:null,s=t[e(150)]?t[e(150)][e(432)]:null;i&&this[e(368)][e(391)](t[e(326)]),s&&this[e(368)][e(243)](t[e(326)],t[e(150)][e(278)]());const n=null===t[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,r=t[e(326)];if(!this[e(234)][e(339)](r))return void this[e(234)][e(243)](r,{range:t[e(283)],userId:n});const o=this[e(234)][e(263)](r),a=o[e(359)],c=t[e(150)];null==a&&null==c||a&&c&&a[e(404)](c)?this[e(234)][e(391)](t[e(326)]):o[e(205)]=n}[rt(158)](t,e){const i=rt;this[i(132)][i(339)](t[i(346)])?this[i(132)][i(263)](t[i(346)])[i(195)]=t[i(290)]:(this[i(132)][i(243)](t[i(346)],ht(t[i(346)],!0)),this[i(230)][i(243)](t[i(346)],{}),e&&this[i(267)][i(243)](t[i(346)],ht(t[i(346)],!0)));const s=null===t[i(284)]?null:t[i(284)]||this[i(308)][i(304)][i(263)](i(347)).me.id,n=this[i(125)][i(263)](t[i(346)]);n&&n[i(205)]===s?this[i(125)][i(391)](t[i(346)]):this[i(125)][i(243)](t[i(346)],{userId:s,isAttached:t[i(290)]})}[rt(435)](t){const e=rt,i=this[e(230)][e(263)](t[e(432)][e(346)]);null===t[e(166)]?delete i[t[e(172)]]:i[t[e(172)]]=t[e(166)]}}function lt(t){const e=rt,i=ht(t[e(346)],t[e(264)]());for(const s of t[e(190)]()){const t=s[e(161)](!0);i[e(305)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(346)]=t,s[i(195)]=e,s[i(264)]=()=>s[i(195)],s}function dt(t,e,i){const s=rt,n=s(203)==t[s(123)]?i[s(420)](t[s(187)],s(238)):i[s(333)](t[s(187)]);return i[s(144)](e,n[s(268)],n[s(416)])}function ft(t,e,i){const s=rt,n=s(185)==t[s(123)]?i[s(420)](t[s(187)],0):i[s(265)](t[s(187)]);return i[s(144)](e,n[s(268)],n[s(416)])}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),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;function Rt(){const t=["trim","render","label","add","keystrokes","form","reset","42340kIFVtC","focus","21fsPDkT","arrowleft","455220NVTeYc","locale","focusTracker","stopPropagation","ck-revision-history-save-revision-form","optional","set","Name of the revision","220","errorText","_createRevisionNameInput","extendTemplate","fieldView","arrowup","6774438meiYYu","arrowdown","724496NcnGrV","revisionNameInputValue","revisionName","6189120OuJqaV","element","listenTo","arrowright","revisionNameInputView","1984DkeYlW","value","22156128VgmRFh","setTemplate","13174YBNyim","input","ck-responsive-form"];return(Rt=function(){return t})()}function Vt(t,e){const i=Rt();return(Vt=function(t,e){return i[t-=116]})(t,e)}const Mt=Vt;!function(t){const e=Vt,i=t();for(;;)try{if(909499===-parseInt(e(131))/1+parseInt(e(153))/2*(parseInt(e(155))/3)+-parseInt(e(134))/4+-parseInt(e(157))/5+parseInt(e(129))/6+parseInt(e(143))/7*(-parseInt(e(139))/8)+parseInt(e(141))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Et extends pt.View{[Mt(117)];[Mt(150)];[Mt(138)];constructor(e,i){const s=Mt;super(e),this[s(117)]=new t.FocusTracker,this[s(150)]=new t.KeystrokeHandler,this[s(121)](s(132),""),this[s(138)]=this[s(125)](i),this[s(142)]({tag:s(151),attributes:{class:["ck",s(119),s(145)],tabindex:"-1"},children:[this[s(138)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Mt(147)](){const t=Mt;super[t(147)](),(0,pt.submitHandler)({view:this}),this[t(117)][t(149)](this[t(138)][t(135)]),this[t(150)][t(136)](this[t(135)]);const e=e=>e[t(118)]();this[t(150)][t(121)](t(137),e),this[t(150)][t(121)](t(156),e),this[t(150)][t(121)](t(128),e),this[t(150)][t(121)](t(130),e)}[Mt(154)](){const t=Mt;this[t(138)][t(154)]()}get[Mt(133)](){const t=Mt;return this[t(138)][t(127)][t(135)][t(140)][t(146)]()}set[Mt(133)](t){const e=Mt;this[e(138)][e(127)][e(135)][e(140)]=t[e(146)]()}[Mt(152)](){const t=Mt;this[t(138)][t(127)][t(135)][t(140)]="",this[t(138)][t(124)]=null}[Mt(125)](t){const e=Mt,i=new pt.LabeledFieldView(this[e(116)],pt.createLabeledInputText),s=i[e(127)];s[e(126)]({attributes:{maxlength:e(123)}});let n=X(this[e(116)],e(122));return!t&&(n+=" ("+X(this[e(116)],e(120))+")"),i[e(148)]=n,s.on(e(144),(()=>{const t=e;this[t(132)]=s[t(135)][t(140)][t(146)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=416]})(t,e)}function Ft(){const t=["menuBar:revisionHistory","menu","633109DxiABu","498VQKDIq","locale","ck-button-action","buttonView","addMany","isPremiumPlugin","366526nVyKYB","isOfficialPlugin","revisionSave","Dialog","componentFactory","_showDialog","isReadOnly","reset","84iHtntx","get","85129XvUKoQ","panelView","Open revision history","isOpen","delegate","revisionHistory","show","render","RevisionHistoryUI","add","set","16ijLaHv","The revision name cannot be empty.","config","Accept","role","8765pyBAvo","revisionNameInputView","saveRevision","_createSaveRevisionFormView","9IAvLBz","8InbasQ","Cancel","submit","showRevisionViewerCallback","Revision history","_saveRevisionFormView","plugins","editing","focus","Save current revision","errorText","3419409CyhNAr","isEnabled","hide","children","isReady","_registerMenuComponent","execute","RevisionTracker","325008cWiYeg","pluginName","view","bind","editor","revisionHistory.requireRevisionName","revisionName","items","requires","init","menuitem","919570abGIoB"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(397274===parseInt(e(477))/1+-parseInt(e(484))/2+-parseInt(e(463))/3*(parseInt(e(434))/4)+parseInt(e(439))/5*(-parseInt(e(478))/6)+parseInt(e(455))/7*(parseInt(e(444))/8)+parseInt(e(443))/9*(parseInt(e(474))/10)+parseInt(e(423))/11*(-parseInt(e(421))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Dt(464)](){return Dt(431)}static get[Dt(485)](){return!0}static get[Dt(483)](){return!0}static get[Dt(471)](){return[ct]}[Dt(449)];[Dt(472)](){const t=Dt,e=this[t(467)],i=e[t(450)][t(422)](t(462));e.ui[t(417)][t(432)](t(428),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(424)][n(458)],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(466)](n(456)).to(i,n(459),i,n(456),e,n(419),((t,e,i)=>t&&e&&!i)),r[n(481)][n(433)]({icon:mt.IconHistory,label:X(s,n(448)),tooltip:!0}),u[n(433)]({label:X(s,n(453)),withText:!0,role:n(473)}),u[n(466)](n(456)).to(i,n(459),i,n(456),e,n(419),((t,e,i)=>t&&e&&!i)),u.on(n(461),(()=>this[n(418)]())),h[n(433)]({label:X(s,n(425)),withText:!0,role:n(473)}),h[n(466)](n(456)).to(i,n(459),e,n(419),((t,e)=>t&&!e)),h.on(n(461),(()=>{const t=n;e[t(436)][t(422)](t(428))[t(447)](),r[t(426)]=!1,e[t(451)][t(465)][t(452)]()})),c[n(458)][n(432)](u),l[n(458)][n(432)](h),a[n(438)]=n(476),a[n(470)][n(482)]([c,l]),o[n(432)](a),r})),e.ui[t(417)][t(432)](t(475),(()=>this[t(460)]()))}[Dt(460)](){const t=Dt,e=this[t(467)],i=e[t(479)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(481)][t(433)]({icon:mt.IconHistory,label:X(i,t(448))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(433)]({label:X(i,t(453))}),o[t(427)](t(461)).to(s),o.on(t(461),(()=>{this[t(418)]()})),r[t(458)][t(432)](o),n[t(470)][t(432)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(433)]({label:X(i,t(425))}),c[t(427)](t(461)).to(s),c.on(t(461),(()=>{const i=t;e[i(436)][i(422)](i(428))[i(447)]()})),a[t(458)][t(432)](c),n[t(470)][t(432)](a),s[t(424)][t(458)][t(432)](n),s}[Dt(418)](){const t=Dt,e=this[t(467)],i=e[t(479)],s=e[t(450)][t(422)](t(416)),n=e[t(450)][t(422)](t(462));function r(n){const r=t;e[r(436)][r(422)](r(468))&&""===n[r(469)]?n[r(440)][r(454)]=X(i,r(435)):(e[r(450)][r(422)](ct)[r(441)]({name:n[r(469)]}),s[r(457)]())}this[t(449)]||(this[t(442)](),this[t(449)].on(t(446),(()=>r(this[t(449)])))),this[t(449)][t(420)](),s[t(429)]({id:t(486),title:X(i,t(453)),isModal:!0,content:this[t(449)],actionButtons:[{label:X(e[t(479)],t(445)),withText:!0,onExecute:()=>s[t(457)]()},{label:X(e[t(479)],t(437)),class:t(480),withText:!0,onCreate(i){const s=t;i[s(466)](s(456)).to(n,s(459),n,s(456),e,s(419),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(449)])}]})}[Dt(442)](){const t=Dt,e=this[t(467)],i=e[t(479)];this[t(449)]=new Et(i,e[t(436)][t(422)](t(468))),this[t(449)][t(430)]()}}const jt=Pt;function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=489]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(815401===parseInt(e(495))/1+-parseInt(e(499))/2+parseInt(e(513))/3+-parseInt(e(494))/4+parseInt(e(518))/5+parseInt(e(490))/6*(-parseInt(e(504))/7)+-parseInt(e(505))/8*(-parseInt(e(493))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends pt.View{[jt(515)];[jt(502)];constructor(t,e){const i=jt;super(t),this[i(502)]=e,this[i(515)]=e.id;const s=this[i(510)],n=X(t,e[i(509)][i(497)]?i(492):i(512)==e[i(503)]?i(501):i(498));this[i(506)](i(503),e[i(503)]),this[i(489)]({tag:i(511),attributes:{class:[i(500),i(507),s.to(i(503),(t=>i(519)+t))],tabindex:-1},children:[{tag:i(517),children:[{tag:i(517),attributes:{class:[i(514)]},children:[{text:n}]},{text:" "+e[i(516)][i(508)]}]}]})}[jt(491)](){const t=jt;this[t(496)][t(491)]()}}function Wt(){const t=["8ZqEHJi","set","ck-revision-change","name","data","bindTemplate","div","add","374286DkYTxx","ck-revision-change__label","changeId","author","span","4590900tATKzr","ck-revision-change__","setTemplate","192468jLVggD","focus","Suggested by","6447159dqjhqn","5936632kFmaus","1044693fuioZW","element","isSuggestion","Removed by","944698KRhOXQ","ck-annotation","Added by","_model","type","7RqHJtX"];return(Wt=function(){return t})()}var Ut=Zt;function Ht(){var t=["188FYyAQN","440930EFfWkn","createdAt","type","23415SmRmCE","64MNPyLz","toJSON","data","rootName","576966KqSsqQ","11249RRkDlF","author","5017491DAcpSh","2721435gGZWhG","set","1756452xcPuRS"];return(Ht=function(){return t})()}function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=379]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(291493===-parseInt(e(390))/1+-parseInt(e(389))/2+-parseInt(e(384))/3*(-parseInt(e(380))/4)+-parseInt(e(393))/5+-parseInt(e(379))/6+-parseInt(e(381))/7*(-parseInt(e(385))/8)+parseInt(e(392))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Ut(391)];[Ut(383)];[Ut(387)];[Ut(388)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(391)]=e[i(391)],this[i(383)]=e[i(383)],this[i(387)]=e[i(387)]||{},this[i(388)]=e[i(388)],this[i(394)](i(382),e[i(382)])}[Ut(386)](){var t=Ut;return{id:this.id,authorId:this[t(391)].id,type:this[t(383)],data:this[t(387)],createdAt:this[t(382)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=302]})(t,e)}function Yt(){const t=["10hvxCdz","636omWilU","newRevisionId","changes","4141938rJzTni","9939555CFEOyI","oldRevisionId","206lFTzep","_setChanges","2662uwuLRQ","25362986kVDMuE","7bRqchz","add","18284pBAfqy","1452584fUFDpZ","6006355sOvLJz"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(642088===parseInt(e(303))/1*(parseInt(e(317))/2)+-parseInt(e(311))/3*(parseInt(e(307))/4)+-parseInt(e(309))/5+-parseInt(e(314))/6+parseInt(e(305))/7*(-parseInt(e(308))/8)+-parseInt(e(315))/9*(-parseInt(e(310))/10)+parseInt(e(304))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(312)];[$t(316)];[$t(313)];constructor(e,i){const s=$t;this[s(312)]=e,this[s(316)]=i,this[s(313)]=new t.Collection}[$t(302)](t){const e=$t;for(const i of t)this[e(313)][e(306)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=214]})(t,e)}function te(){const t=["addHighlight","_makeTape","activeView","view","hasClass","backward","set","catch","destroy","attachChange","find","getRevision","isRemoveSuggestion","forEach","getAttribute","mouseover","filter","addMarker:revision-suggestion:insertion","activeChange","getRevisionRootsAttributes","_processTape","markersStart","vid","editingDowncast","return","vid_end","unbindElementFromMarkerName","domConverter","bindElementToMarker","isPremiumPlugin","RevisionsRepository","highest","ck-suggestion-marker-","ck-suggestion-preview-marker","nodeAfter","_revisions","wrap","_markMarkers","adapter","insertion","_setChanges","writer","range","merge","distance","add","_markMismatchedRemovedTags","data-change-id","end","mousedown","viewItem","getWalker","affectsData","keys","sort","createRange","editor","isIncorrect","_getViewForChange","toViewRange","ck-revision-history-root-add","downcastDispatcher","modelRange","observeMarkers","includes","132184UVsZHC","attributesAfter","locale","level","addMarker:revision-suggestion:deletion","repository","revisionHistoryAttachChange","startsWith","elementStart","from","206335uLAVGE","values","getClientRects","updatePosition","6VSFceu","createUIElement","enableReadOnlyMode","POSITIVE_INFINITY","findIndex","toViewPosition","map","addRevision","revision-suggestion:","model","addMarker:revision","1920228zPgTqL","push","element","createAttributeElement","suggestion","userId","removeMarker","_step","forceDisabled","_getRevisionsRange","split","document","change","revision","remove","-new","_threeWayMerge","revision-suggestion","_removeMissingPairs","markerToData","getIndex","offsetSize","getItems","markerNameToElements","isOfficialPlugin","_activeViewTarget","top","delete","done","restoreRevisionCallback","test","346149FZsbco","revision-comment:","removeMarker:revision","isRemoved","forward","schema","addClass","addRevisionData","isInline","_appendChild","conversion","isSuggestion","_markSuggestions","all","isCollapsed","unshift","removeMarker:revision-suggestion","removeClass","right","bottom","markers","insert","_findChangeIdFromDomTarget","startIndex","type","requires","460ZssgKW","_balloon","comment","ck-revision-history-root--active","RevisionHistoryUtils","mapViewToDom","getChild","removeAttribute","isAtStart","detachRoot","maxOffset","shift","_getDiff","pairId","markersEnd","_joinTapes","dataDowncast","attribute:vid","softBreak","plugins","createPositionBefore","ck-suggestion-marker-split","consume","then","change:activeChange","endIndex","pluginName","has","createRangeIn","newRevisionId","change:activeView","roots","isAtEnd","length","uiElement","error","isObject","data","getDomRoot","_utils","isAttached","_cleanMarkers","revisionHistoryLabel","config","init","isLimit","isOnRoot","changeId","target","ck-suggestion-marker-merge","previousPosition","string","isAddSuggestion","317565MXhSXN","createRevision","isAdded","execute","index","showStack","revision:","createPositionFromPath","vid_start","text","parent","splice","_changeView","suggestion:","getAttributes","dataToMarker","span","isBefore","elementToAttribute","get","for","ck-suggestion-marker","isEnabled","next","markerName","stop","change:numberOfChanges","attributesBefore","changes","element:pre","oldRevisionId","hasAttribute","mapper","_removeUnsupportedChanges","restoreRevision","change:isEnabled","showPreviousChange","start","change:isReady","isReady","low","enqueueChange","revision-viewer","selection","loadRevisionData","isNavigationMode","consumable","commands","reconvertMarker","concat","name","markerToHighlight","deletion","isContent","editing","715QGNkNB","first","high","item","ck-revision-history-root-remove","isAfter","flat","_getChangeFromId","_initInteractions","slice","clear","side","listenTo","left","_data","ck-editor__editable__overlay","RevisionViewer","_refreshStartEndIndex","getRevisionDocumentData","revisionHistory","ck-suggestion-marker--active","nextSibling","showNextChange","_cleanUp","_fixObsoleteTags","ck-revision-history-root-","checkAttribute","insertions","indexOf","object","diffData","_setDistance","refresh","deletions","diff","abs","addRoot","WidgetToolbarRepository","nextPosition","144852doBQBl","code","_changeIdToChange","resolve","rootName","_sortAndFilterDiffChanges","upcast","setAttribute","pop","_setConversion","isEqual","numberOfChanges","getCustomProperty","domEvent","markerRange","getRootNames","ck-suggestion-preview-marker-","compare","toViewElement","_makeModelFromViewString","56gIApoB","6LPyIuM","_update","elementEnd","bind","attributes","1355333uWXEvQ","isBlock","authors","_markInsertions","_makeModelFromTape","getLaterVisibleRevision","currentChangeNumber","getRoot"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(827567===-parseInt(e(379))/1+parseInt(e(301))/2*(parseInt(e(435))/3)+-parseInt(e(404))/4+-parseInt(e(389))/5*(-parseInt(e(393))/6)+parseInt(e(306))/7*(-parseInt(e(300))/8)+-parseInt(e(514))/9*(-parseInt(e(461))/10)+-parseInt(e(241))/11*(-parseInt(e(280))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(384)];[Qt(352)]=null;[Qt(500)];[Qt(429)];[Qt(526)];[Qt(282)];[Qt(462)];static get[Qt(487)](){return Qt(257)}static get[Qt(428)](){return!0}static get[Qt(343)](){return!0}static get[Qt(460)](){return[H.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(384)]=this[e(370)][e(480)][e(533)](e(344)),this[e(500)]=this[e(370)][e(480)][e(533)](e(465)),this[e(320)](e(332),null),this[e(320)](e(316),null),this[e(429)]=null,this[e(320)](e(275),null),this[e(320)](e(225),!1),this[e(320)](e(536),!0),this.on(e(221),((t,i,s)=>{const n=e;this[n(332)]=null,this[n(316)]=null,this[n(370)][n(240)][n(317)][n(416)]((t=>{const e=n;for(const i of this[e(370)][e(240)][e(317)][e(415)][e(492)])s?t[e(452)](e(256),i):t[e(441)](e(256),i)}))})),this[e(304)](e(231)).to(this,e(332),(t=>null!==t)),this[e(304)](e(312)).to(this,e(225),this,e(275),this,e(332),((t,i,s)=>t&&s?i[e(214)][e(424)](s):0)),this[e(304)](e(291)).to(this,e(225),this,e(275),((t,i)=>t?i[e(214)][e(494)]:0)),this[e(526)]=null,this[e(282)]=new Map,this[e(462)]=this[e(370)][e(480)][e(533)](pt.ContextualBalloon)}[Qt(505)](){const t=Qt,e=this[t(370)],i=new ne(e,{direction:t(319)}),s=new ne(e,{direction:t(439)});e[t(233)][t(359)](t(222),i),e[t(233)][t(359)](t(263),s),e[t(233)][t(359)](t(220),new se(e)),this.on(t(540),(()=>{const e=t;i[e(273)](),s[e(273)]()})),this[t(289)](),this[t(249)](),e[t(395)](t(228)),e[t(480)][t(488)](t(278))&&e[t(480)][t(533)](t(278))[t(412)](t(228))}async[Qt(259)](t){const e=Qt;return await this[e(500)][e(230)](t,this[e(352)]),this[e(500)][e(259)](t)}async[Qt(333)](t){const e=Qt;return await this[e(500)][e(230)](t,this[e(352)]),this[e(500)][e(333)](t)}async[Qt(297)](t,e,i=!1){const s=Qt;if(!this[s(536)])return;const n=this[s(275)],r=this[s(384)],o=s(512)==typeof t?r[s(325)](t):t,a=s(512)==typeof e?r[s(325)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(275)]&&this[s(275)][s(490)]===c&&this[s(275)][s(216)]===u)return Promise[s(283)]();this[s(225)]=!1,this[s(316)]=null,this[s(332)]=null,this[s(275)]=new Jt(c,u);const l=this[s(413)](o,a,!0)[s(399)]((t=>this[s(500)][s(230)](t,this[s(352)])));return l[s(405)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(448)](l)[s(484)]((()=>{const t=s;if(!this[t(536)])return;this[t(264)]();const e=this[t(473)](c,u);for(const i of e[t(214)])this[t(282)][t(320)](i.id,i);this[t(370)][t(402)][t(227)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(370)][s(402)][s(415)][s(295)]())i[s(470)](t);for(const t of Object[s(367)](e[s(402)])){const n=i[s(277)](t);for(const r of Object[s(367)](e[s(305)][t]))i[s(287)](r,e[s(305)][t][r],n);i[s(456)](e[s(402)][t],n,0)}})),this[t(275)][t(354)](this[t(285)](e[t(214)])),this[t(225)]=!0}))[s(321)]((t=>{const e=s;console[e(496)](t),this[e(264)](),n&&(this[e(275)]=n),this[e(225)]=!0}))}[Qt(442)](t,e){const i=Qt,s=this[i(384)][i(515)](t);return s.on(i(302),((t,i,n)=>e(i,n,s))),this[i(384)][i(400)](s),s}[Qt(264)](){const t=Qt;this[t(332)]=null,this[t(502)](),this[t(526)]&&this[t(526)][t(322)](),this[t(526)]=null,this[t(282)][t(251)](),this[t(370)][t(402)][t(227)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(370)][i(402)][i(415)][i(295)]())e[i(470)](t)}))}[Qt(285)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(370)][e(402)][e(415)][e(295)]()){const n=this[e(370)][e(240)][e(317)][e(499)](t);if(!n)continue;const r=n[e(391)]()[e(244)](0);r&&(i[e(405)](t),s[e(320)](t,r))}return i[e(368)](((t,i)=>{const n=e,r=s[n(533)](t),o=s[n(533)](i);return r.y-o.y||r.x-o.x})),(t=t[e(330)]((t=>i[e(378)](t[e(284)]))))[e(368)](((t,s)=>i[e(269)](t[e(284)])-i[e(269)](s[e(284)]))),t}[Qt(315)](t){const e=Qt,i=Array[e(388)](t[e(455)])[e(330)]((([t,i])=>t[e(386)](e(520))&&!i[e(449)])),s=Array[e(388)](this[e(370)][e(402)][e(489)](t)[e(365)]({singleCharacters:!0}));if(0!=i[e(494)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(414)](":");if(n[e(362)][e(290)](t[e(279)])&&i[e(472)](),(t[e(511)][e(290)](n[e(223)])||t[e(511)][e(246)](n[e(223)]))&&(e(353)==r?t[e(516)]={userId:o}:e(238)==r&&(t[e(438)]={userId:o})),0==i[e(494)])break}return s}[Qt(258)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(494)];s++)e(523)===t[s][e(459)]?(t[s][e(244)][e(458)]=s,t[s][e(244)][e(486)]=s):(e(387)===t[s][e(459)]?t[s][e(244)][e(458)]=s:e(303)===t[s][e(459)]&&(t[s][e(244)][e(486)]=s),i[e(320)](t[s].id,s));for(const s of i[e(390)]())e(387)===t[s][e(459)]?t[s][e(244)][e(486)]=i[e(533)](t[s][e(474)]):e(303)===t[s][e(459)]&&(t[s][e(244)][e(458)]=i[e(533)](t[s][e(474)]))}[Qt(334)](t){const e=Qt;for(let i=0;i<t[e(494)];i++){if(e(387)===t[i][e(459)])t[i][e(244)][e(458)]=i;else if(e(303)===t[i][e(459)]){t[i][e(244)][e(486)]=i;const s=t[i][e(244)][e(458)];t[s][e(474)]=t[i].id,t[i][e(474)]=t[s].id}else t[i][e(244)][e(458)]=i,t[i][e(244)][e(486)]=i,t[i][e(474)]=null;t[i][e(335)]||(t[i][e(335)]=[],t[i][e(475)]=[])}}[Qt(309)](t,e){const i=Qt,s=t[i(330)]((t=>!t[i(516)]));for(let t=0;t<e[i(494)];t++)e[t][i(516)]&&(s[t][i(516)]=e[t][i(516)])}[Qt(473)](t,e=null){const i=Qt,s=this[i(384)][i(325)](t),n=e?this[i(384)][i(325)](e):null,r=this[i(413)](s,n),o=r[r[i(494)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(494)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(367)](e[i(271)]))if(e[i(271)][t][i(323)]){const s=e[i(271)][t][i(323)];s[i(501)]?(u[i(359)](t),l[i(488)](t)&&l[i(533)](t)[i(409)]==s[i(409)]?l[i(431)](t):l[i(320)](t,s)):l[i(488)](t)?(u[i(431)](t),l[i(431)](t)):(u[i(359)](t),l[i(320)](t,s))}else u[i(359)](t)}for(const t of u){const e=l[i(488)](t)&&!l[i(533)](t)[i(501)];let s=e?r[i(494)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(271)][t]){const s=e?o[i(271)][t][i(541)]:o[i(271)][t][i(380)];c[i(305)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(402)]={};for(const e of t[i(308)])a[i(320)](e.id,e);for(const e of u){const s=t[i(271)][e]?t[i(271)][e][i(268)]:"[]",n=t[i(271)][e]?t[i(271)][e][i(274)]:"[]";t[i(402)][e]={insertions:this[i(500)][i(299)](s),deletions:this[i(500)][i(299)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(388)](s[i(402)][t][i(268)][i(455)])[i(330)]((([t])=>!t[i(386)](i(520)))));let h=0;for(const o of r){const r=this[i(315)](o[i(402)][t][i(268)]);o==s?(e=r,n=e[i(494)],e[i(327)]((t=>{t.id=h++})),this[i(334)](e)):this[i(309)](e,r);const a=e[i(330)]((t=>!t[i(516)]))[i(399)]((t=>t.id));let c=0;const l=this[i(315)](o[i(402)][t][i(274)]);l[i(327)]((t=>{t[i(438)]?t.id=n++:t.id=a[c++]})),this[i(334)](l),this[i(272)](e,i(516)),this[i(272)](l,i(438)),o==s&&this[i(351)](e,u),e=this[i(476)](e,l),this[i(258)](e),this[i(272)](e,i(438))}e=e[i(330)]((t=>!(t[i(516)]&&t[i(438)])));const d=new Map(o[i(402)][t][i(274)][i(455)]),f=new Set(u[i(367)]());for(const t of d[i(367)]())f[i(431)](t);this[i(447)](e,f),this[i(265)](e),e=this[i(422)](e),e=this[i(360)](e),e=this[i(219)](e);const{root:m,changes:p}=this[i(310)](e,a,t);c[i(402)][t]=m;const v=l[i(533)](t);if(v){const e=a[i(533)](v[i(409)]),s=new qt({author:e,type:v[i(501)]?i(359):i(418),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(450)](s),c[i(305)][t][i(385)]=s.id}c[i(214)]=c[i(214)][i(235)](p)}return c}[Qt(351)](t,e){const i=Qt;for(let s=0;s<t[i(494)];s++)for(const[n,r]of e)!r[i(449)]&&r[i(223)][i(290)](t[s][i(511)])&&t[s][i(335)][i(405)](n),r[i(362)][i(290)](t[s][i(279)])&&t[s][i(475)][i(405)](n)}[Qt(476)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(494)]||r<e[i(494)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(405)](o);else if(a[i(438)]&&o[i(516)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(420)](t,n,e,r);s=s[i(235)](o),n=a,r=c}else a[i(438)]?(r++,s[i(405)](a)):(n++,s[i(405)](o))}return s}[Qt(447)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(494)];o++){for(let r=0;r<t[o][i(335)][i(494)];r++){const a=t[o][i(335)][r];if(!e[i(488)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(421)!=c||i(353)!=u&&i(238)!=u||(s[i(450)]({type:u,name:a,userId:l}),t[o][i(335)][i(525)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(475)][i(494)];r++){const a=t[o][i(475)][r];if(!e[i(488)](a))continue;const{group:c,type:u}=n(a);if(i(421)!=c||i(353)!=u&&i(238)!=u)continue;t[o][i(475)][i(525)](r,1),r--;const l=s[i(397)]((t=>t[i(236)]==a));l>-1&&s[i(525)](l,1)}}function n(t){const e=i,s=t[e(414)](":");return{group:s[0],type:s[1],subType:s[e(494)]>=5?s[2]:null,id:s[e(494)]<5?s[2]:s[3],authorId:s[e(494)]<5?s[3]:s[4],markerCount:6==s[e(494)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(494)];i++){if(t[e(516)]&&e(353)==s[i][e(459)]&&t[e(516)][e(409)]==s[i][e(409)])return t[e(513)]=s[i],void delete t[e(516)];if(!t[e(516)]&&!t[e(438)]&&e(238)==s[i][e(459)])return void(t[e(326)]=s[i])}}}[Qt(272)](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(320)](o.id,s);for(let s=0;s<t[i(494)];s++){if(i(438)==e&&t[s][i(516)]||i(516)==e&&t[s][i(438)])continue;if(i(523)==t[s][i(459)]){t[s][i(358)]=0;continue}const n=r[i(533)](t[s][i(474)]),o=r[i(533)](t[s].id);t[s][i(358)]=n-o}}[Qt(413)](t,e,i=!1){const s=Qt,n=[];let r=this[s(384)][s(424)](t),o=this[s(384)][s(424)](e);for(-1==o&&(o=this[s(384)][s(349)][s(494)],i=!1);r<o;)n[s(405)](this[s(384)][s(325)](r)),r++;return i&&n[s(405)](this[s(384)][s(325)](r)),n}[Qt(420)](t,e,i,s){const n=Qt,r=this[n(370)][n(402)][n(440)];let o=e;for(;t[o]&&t[o][n(516)];)o++;let a=s;for(;i[a]&&i[a][n(438)];)a++;u(t,e,o),u(i,s,a);const c=i[n(250)](s,a)[n(235)](t[n(250)](e,o));return c[n(368)](((t,e)=>t[n(252)]!=e[n(252)]?t[n(252)]-e[n(252)]:t[n(382)]!=e[n(382)]?t[n(382)]-e[n(382)]:t[n(358)]!=e[n(358)]?e[n(358)]-t[n(358)]:!!t[n(516)]!=!!e[n(516)]?-1==t[n(252)]||0==t[n(252)]?t[n(516)]?-1:1:t[n(516)]?1:-1:t[n(518)]-e[n(518)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(396)],c=!0;for(let n=e;n<i;n++)if(r[s(443)](t[n][s(244)])||(c=!1),t[n][s(244)][s(458)]<e&&(o=n),t[n][s(244)][s(486)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(252)]=n<=o?-1:n<a?0:1,t[n][s(518)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(358)]?t[i][s(382)]=u:(u++,t[i][s(382)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(252)]&&(t[n][s(382)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(358)]?t[e][s(382)]=u:(u--,t[e][s(382)]=u,u--)}}[Qt(265)](t){const e=Qt,i=new Map,s=this[e(370)][e(402)][e(440)];for(let n=1;n<t[e(494)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(523)==c[e(459)])continue;if(c[e(459)]!=u[e(459)])continue;if(!s[e(307)](u[e(244)])||s[e(506)](u[e(244)]))continue;if(!s[e(307)](c[e(244)])||s[e(506)](c[e(244)]))continue;if((t[n][e(516)]||t[n][e(513)])&&t[n-1][e(438)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(438)]||!t[n-1][e(516)]&&!t[n-1][e(513)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(382)]==o[e(382)],h=Math[e(276)](r[e(382)])<Math[e(276)](o[e(382)])&&0==o[e(358)];(l||h)&&(i[e(320)](o.id,r.id),t[e(525)](a,1),n--,r[e(516)]=!1)}for(let s=0;s<t[e(494)];s++)i[e(488)](t[s][e(474)])&&(t[s][e(474)]=i[e(533)](t[s][e(474)]))}[Qt(422)](t){const e=Qt,i=new Set(t[e(399)]((t=>t.id)));for(let s=0;s<t[e(494)];s++)i[e(488)](t[s][e(474)])||0==t[s][e(358)]||(t[s][e(371)]=!0);return t[e(330)]((t=>!t[e(371)]))}[Qt(360)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(494)];s++){if(i[e(488)](t[s].id)&&t[s][e(438)]&&(t[s][e(371)]=!0),t[s][e(371)])continue;if(0==t[s][e(358)])continue;if(e(387)!=t[s][e(459)])continue;if(null==t[s][e(474)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(474)];)e(387)==t[n][e(459)]?r++:e(303)==t[n][e(459)]&&r--,n++;if(0!=r)if(t[s][e(438)])t[s][e(371)]=!0;else for(;n!=s;)t[n][e(438)]&&0!=t[n][e(358)]&&(t[n][e(371)]=!0,i[e(359)](t[n][e(474)])),n--}return t[e(330)]((t=>!t[e(371)]))}[Qt(219)](t){const e=Qt,i=this[e(370)][e(402)][e(440)];for(let s=0;s<t[e(494)];s++){if(!(t[s][e(516)]||t[s][e(513)]||t[s][e(438)]||t[s][e(326)]))continue;if(0==t[s][e(358)])continue;const n=t[s][e(244)];i[e(307)](n)||i[e(506)](n)||(t[s][e(516)]&&delete t[s][e(516)],t[s][e(513)]&&delete t[s][e(513)],t[s][e(326)]&&delete t[s][e(326)],t[s][e(438)]&&(t[s][e(371)]=!0))}return t[e(330)]((t=>!t[e(371)]))}[Qt(310)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(370)][s(402)],c=a[s(440)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(494)];e++)if(s(387)===t[e][s(459)]){t[e][s(511)]=a[s(521)](n,f);const i=new Z.Element(t[e][s(244)][s(236)],t[e][s(244)][s(528)]());u[0][s(444)](i),f[s(405)](0),u[s(450)](i),t[e][s(279)]=a[s(521)](n,f)}else s(303)===t[e][s(459)]?(u[s(472)](),t[e][s(511)]=a[s(521)](n,f),f[s(288)](),f[f[s(494)]-1]++,t[e][s(279)]=a[s(521)](n,f)):(t[e][s(511)]=a[s(521)](n,f),d?d[s(255)]+=t[e][s(244)][s(498)]:d=new Z.Text(t[e][s(244)][s(498)],t[e][s(244)][s(528)]()),t[e+1]&&s(523)===t[e+1][s(459)]&&v(d,t[e+1][s(244)])||(u[0][s(444)](d),d=null),f[f[s(494)]-1]+=t[e][s(244)][s(425)],t[e][s(279)]=a[s(521)](n,f));for(let e=0;e<t[s(494)];e++){const i=t[e][s(511)],n=t[e][s(279)];for(const n of t[e][s(335)])o[s(320)](n,{start:i,end:null});m(s(326),e,i,n),m(s(513),e,i,n),m(s(438),e,i,n),m(s(516),e,i,n);for(const i of t[e][s(475)]){const t=o[s(533)](i);t?t[s(362)]=n:o[s(320)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(370)][s(402)][s(369)](e[s(223)],e[s(362)]);n[s(455)][s(320)](t,i)}return r[s(368)](((t,e)=>{const i=s,r=n[i(455)][i(533)](i(520)+t.id),o=n[i(455)][i(533)](i(520)+e.id);return r[i(223)][i(531)](o[i(223)])?-1:r[i(223)][i(246)](o[i(223)])?1:r[i(362)][i(531)](o[i(362)])?-1:r[i(362)][i(246)](o[i(362)])?1:i(359)===t[i(459)]?-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(409)]:null,d=i===t[o(494)]-1,f=h[e][0],m=c[o(497)](t[i][o(244)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(362)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(409)]!==u&&(l[e][o(362)]=n,f&&f[o(409)]===l[e][o(409)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(387)!==t[i][o(459)]||f&&f[o(409)]===u||h[e][o(450)]({userId:u,object:t[i][o(244)],change:l[e]}),o(303)===t[i][o(459)]&&f&&f[o(270)]===t[i][o(244)]&&(h[e][o(472)](),l[e]=f[o(416)])),l[e]&&d&&(l[e][o(362)]=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(244)],f=a[h(440)][h(307)](d)&&!a[h(440)][h(506)](d),m=t[h(348)]==o[h(524)]&&o[h(469)];if(f&&m)return;const p=a[h(369)](t,o),v=e[h(533)](u),g=new qt({author:v,type:h(516)==l||h(513)==l?h(359):h(418),data:{isSuggestion:h(513)==l||h(326)==l},createdAt:new Date,rootName:i});r[h(405)](g),n[h(455)][h(320)](h(520)+g.id,p)}function v(t,e){const i=s,n=t[i(528)](),r=e[i(528)]();for(const t of n){if(t[1]!==e[i(328)](t[0]))return!1;r[i(537)]()}return r[i(537)]()[i(432)]}}[Qt(289)](){const t=Qt;this[t(370)][t(445)][t(534)](t(286))[t(529)]({view:t(417)}),this[t(370)][t(445)][t(534)](t(337))[t(237)]({model:t(417),view:e=>{const i=t,s=e[i(538)][i(414)](":")[1],n=this[i(248)](s);if(!n)return null;const r=i(359)==n[i(459)]?i(353):i(238),o=[i(535),i(346)+r];return n[i(498)][i(446)]&&o[i(405)](i(346)+r+i(419)),this[i(332)]==n&&o[i(405)](i(261)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(370)][t(445)][t(534)](t(286))[t(359)]((e=>{const i=t;e.on(i(215),((t,e,s)=>{const n=i,r=e[n(364)][n(467)](0);if(!r||!r.is(n(406),n(281)))return;if(!s[n(232)][n(483)](r,{attributes:[n(522),n(339)]}))return;const o=e[n(376)][n(223)][n(348)];s[n(355)][n(287)](n(522),r[n(328)](n(522)),o),s[n(355)][n(287)](n(339),r[n(328)](n(339)),o)}),{priority:i(226)})})),this[t(370)][t(445)][t(534)](t(286))[t(359)]((e=>{const i=t;e.on(i(406),((t,e,s)=>{const n=i;if(!s[n(232)][n(483)](e[n(364)],{attributes:[n(522),n(339)]}))return;if(e[n(376)][n(449)])return;const r=e[n(376)][n(223)][n(348)];r[n(217)](n(522))||r[n(217)](n(336))||(s[n(355)][n(287)](n(522),e[n(364)][n(328)](n(522)),r),s[n(355)][n(287)](n(339),e[n(364)][n(328)](n(339)),r))}),{priority:i(226)})})),this[t(370)][t(445)][t(534)](t(286))[t(532)]({view:{name:t(530),attributes:{vid:!0}},model:{key:t(336),value:e=>e[t(328)](t(336))}}),this[t(370)][t(402)][t(440)].on(t(267),((e,[,i])=>{const s=t;[s(522),s(339),s(336)][s(378)](i)&&(e[s(338)]=!0,e[s(539)]())}),{priority:t(345)}),this[t(370)][t(445)][t(534)](t(477))[t(359)]((e=>{const i=t;e.on(i(478),((t,e,s)=>{const n=i;if(" "!=e[n(244)][n(498)]||e[n(244)][n(524)][n(471)]>1)return;if(!s[n(232)][n(483)](e[n(244)],t[n(236)]))return;const r=s[n(355)],o=s[n(218)][n(373)](e[n(356)]);r[n(350)](o,r[n(407)](n(530)))}))})),this[t(370)][t(445)][t(534)](t(477))[t(423)]({model:t(417)}),this[t(370)][t(240)][t(375)].on(t(403),function(e){const i=t,s=e[i(480)][i(533)](i(257));return(t,n,r)=>{const o=i,a=n[o(538)][o(414)](":")[1],c=s[o(248)](a);if(!c)return null;const u=o(359)==c[o(459)]?o(414):o(357);if(!r[o(232)][o(434)](n[o(294)],t[o(236)]))return;const l=n[o(294)][o(365)](),h=n[o(294)][o(223)],d=e[o(402)][o(440)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(244)];p=p||d[o(239)](e);const i=r[o(218)][o(298)](e);if(i&&i[o(292)](o(314)))return;o(303)==t[o(459)]&&d[o(307)](e)&&!d[o(506)](e)&&(e[o(262)]||h[o(493)]?f&&f[o(524)]==e||(f=e,g(t[o(511)]),v=!0):m=m||t[o(511)])}function g(t){const e=o,i=r[e(355)][e(394)](e(530),{class:e(346)+u}),a=r[e(218)][e(398)](t);c[e(498)][e(446)]&&r[e(355)][e(441)](e(346)+u+e(419),i),s[e(332)]==c&&r[e(355)][e(441)](e(261),i),r[e(355)][e(456)](a,i),r[e(218)][e(342)](i,n[e(538)])}p||v||!m||g(m)}}(this[t(370)]),{priority:t(243)}),this[t(370)][t(240)][t(375)].on(t(437),((e,i,s)=>{const n=t,r=s[n(218)][n(427)](i[n(538)]);if(r)for(const t of r)(t[n(318)](n(482))||t[n(318)](n(510)))&&(s[n(218)][n(340)](t,i[n(538)]),s[n(355)][n(418)](t))}),{priority:t(243)}),this[t(370)][t(240)][t(375)].on(t(403),((e,i,s)=>{const n=t,r=i[n(538)][n(414)](":")[1],o=this[n(248)](r);if(!o)return null;const a=n(359)==o[n(459)]?n(414):n(357);if(s[n(232)][n(434)](i[n(294)],e[n(236)]))for(const t of i[n(294)][n(426)]()){if(!t.is(n(406),n(479)))continue;const e=s[n(355)][n(394)](n(530),{class:n(346)+a}),r=s[n(218)][n(398)](this[n(370)][n(402)][n(481)](t));o[n(498)][n(446)]&&s[n(355)][n(441)](n(346)+a+n(419),e),this[n(332)]==o&&s[n(355)][n(441)](n(261),e),s[n(355)][n(456)](r,e),s[n(218)][n(342)](e,i[n(538)])}}),{priority:t(243)}),this[t(370)][t(402)][t(415)].on(t(416),(()=>{const e=t;this[e(370)][e(240)][e(317)][e(416)]((t=>{const i=e;for(const e of this[i(370)][i(402)][i(415)][i(295)]()){const s=this[i(370)][i(402)][i(415)][i(313)](e),n=this[i(370)][i(240)][i(317)][i(415)][i(313)](e);if(n){const e=s[i(328)](i(385));if(t[i(468)](i(361),n),t[i(452)](i(374),n),t[i(452)](i(245),n),t[i(452)](i(464),n),e){const s=this[i(248)](e);if(!s)return null;t[i(287)](i(361),e,n),t[i(441)](i(266)+s[i(459)],n),this[i(332)]==s&&t[i(441)](i(464),n)}}}}))})),this[t(370)][t(445)][t(534)](t(286))[t(529)]({view:t(463),model:e=>t(436)+e,converterPriority:t(345)}),this[t(370)][t(445)][t(534)](t(286))[t(529)]({view:t(408),model:e=>t(401)+e,converterPriority:t(345)}),this[t(370)][t(445)][t(534)](t(477))[t(423)]({model:t(421),view:e=>({name:t(527)+e,group:t(421)}),converterPriority:t(345)}),this[t(370)][t(445)][t(534)](t(337))[t(237)]({model:t(421),view:e=>{const i=t,s=e[i(538)][i(414)](":")[1];return i(353)!=s&&i(238)!=s?null:{classes:[i(347),i(296)+s]}}}),this[t(370)][t(240)][t(375)].on(t(383),ie(this[t(370)],t(357)),{priority:t(243)}),this[t(370)][t(240)][t(375)].on(t(331),ie(this[t(370)],t(414)),{priority:t(243)}),this[t(370)][t(240)][t(375)].on(t(451),((e,i,s)=>{const n=t,r=s[n(218)][n(427)](i[n(538)]);if(r)for(const t of r)t.is(n(495))&&(s[n(218)][n(340)](t,i[n(538)]),s[n(355)][n(418)](t))}),{priority:t(243)})}[Qt(248)](t){const e=Qt;return this[e(282)][e(533)](t)}[Qt(372)](t){const e=Qt;return this[e(526)]&&this[e(526)][e(322)](),this[e(526)]=new zt(this[e(370)][e(381)],t),this[e(526)]}[Qt(249)](){const t=Qt;this[t(370)][t(402)][t(415)][t(229)][t(377)](t(417)),this.on(t(491),((e,i,s,n)=>{const r=t;n&&this[r(462)][r(418)](n),s&&(this[r(462)][r(359)]({view:s,stackId:r(503),position:{target:()=>{const t=r,e=this[t(370)][t(240)],i=this[t(248)](s[t(508)]);let n;if(i[t(498)][t(507)]){const s=e[t(317)][t(499)](i[t(284)]);n=Array[t(388)](s[t(391)]())}else{const i=this[t(370)][t(402)][t(455)][t(533)](t(520)+s[t(508)]);n=Array[t(388)](e[t(218)][t(427)](i[t(236)]))[t(399)]((i=>e[t(317)][t(341)][t(466)](i)))[t(399)]((e=>Array[t(388)](e[t(391)]())))[t(247)]()}return this[t(429)]&&n[t(324)]((e=>e[t(430)]-3<=this[t(429)].y&&e[t(454)]+3>=this[t(429)].y&&e[t(254)]-3<=this[t(429)].x&&e[t(453)]+3>=this[t(429)].x))||n[0]}}}),this[r(462)][r(519)](r(503)))})),this.on(t(485),((e,i,s,n)=>{const r=t;this[r(316)]=s?this[r(372)](s):null,this[r(370)][r(402)][r(416)]((()=>{const t=r,e=this[t(370)][t(240)];n&&(n[t(498)][t(507)]?e[t(317)][t(416)]((i=>{const s=t;i[s(452)](s(464),e[s(317)][s(415)][s(313)](n[s(284)]))})):e[t(234)](t(520)+n.id)),s&&(s[t(498)][t(507)]?e[t(317)][t(416)]((i=>{const n=t;i[n(441)](n(464),e[n(317)][n(415)][n(313)](s[n(284)]))})):e[t(234)](t(520)+s.id))}))})),this[t(253)](this[t(370)][t(240)][t(317)][t(415)],t(329),((e,i)=>{const s=t;if(this[s(332)])return;const n=this[s(457)](i[s(509)]),r=this[s(282)][s(533)](n);r?(this[s(429)]={x:i[s(293)].x,y:i[s(293)].y},this[s(316)]=this[s(372)](r)):(this[s(429)]=null,this[s(316)]=null)})),this[t(253)](this[t(370)][t(240)][t(317)][t(415)],t(363),((e,i)=>{const s=t,n=this[s(457)](i[s(509)]),r=this[s(282)][s(533)](n);r?(this[s(429)]={x:i[s(293)].x,y:i[s(293)].y},r===this[s(332)]?this[s(462)][s(392)]():this[s(332)]=r):(this[s(429)]=null,this[s(332)]=null)}))}[Qt(457)](t){const e=Qt;do{const i=t[e(328)](e(361));if(i)return i;t=t[e(524)]}while(t);return null}[Qt(502)](){const t=Qt;this[t(370)][t(402)][t(416)]((e=>{const i=t;for(const t of this[i(370)][i(402)][i(455)])e[i(410)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(232)][r(434)](s[r(294)],i[r(236)]))return;const o=s[r(294)][r(365)](),a=s[r(294)][r(223)],c=t[r(402)][r(440)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(244)];h=h||c[r(239)](e);const i=n[r(218)][r(298)](e);if(i&&i[r(292)](r(314)))return;r(303)==t[r(459)]&&c[r(307)](e)&&!c[r(506)](e)&&(e[r(262)]||a[r(493)]?u&&u[r(524)]==e||(u=e,f(t[r(511)]),d=!0):l=l||t[r(511)])}function f(t){const i=r,o=n[i(218)][i(398)](t),a=n[i(355)][i(394)](i(530),{class:i(296)+e});n[i(355)][i(456)](o,a),n[i(218)][i(342)](a,s[i(538)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(480)][e(533)](ee);this[e(366)]=!1,this[e(253)](i,e(224),(()=>this[e(273)]())),this[e(253)](i,e(221),(()=>this[e(273)]()))}[Qt(517)](){const t=Qt,e=this[t(370)],i=e[t(480)][t(533)](ee),s=i[t(225)]?i[t(275)][t(490)]:null;e[t(504)][t(533)](t(260))[t(433)](s)}[Qt(273)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(370)][t(480)][t(533)](ee),r=n&&s[t(311)](n[t(490)]);this[t(536)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(411)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(480)][i(533)](ee);this[i(366)]=!1,this[i(411)]=i(439)===e?1:-1,this[i(253)](s,i(224),(()=>this[i(273)]())),this[i(253)](s,i(221),(()=>this[i(273)]())),this[i(253)](s,i(485),(()=>this[i(273)]()))}[Qt(517)](){const e=Qt,i=this[e(370)],s=i[e(480)][e(533)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(332)]=n?s[e(275)][e(214)][e(533)](r+this[e(411)]):s[e(275)][e(214)][e(242)],s[e(332)][e(498)][e(507)])o=i[e(240)][e(317)][e(499)](s[e(332)][e(284)]);else{const t=i[e(402)][e(455)][e(533)](e(520)+s[e(332)].id);o=(0,H.getMarkerDomElement)(i[e(240)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(273)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(370)][t(480)][t(533)](ee);this[t(536)]=!!(r&&n&&s)&&(!e||(1===this[t(411)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=408]})(t,e)}function ce(){const t=["1144405MizrdH","ck-revision-history-ui__changes-navigation__wrapper","bind","ck-revision-history-ui","currentChangeNumber","forward","_isStatusLabelVisible","Show next change","numberOfChanges","X_OF_Y_CHANGES","fire","4761867mhohyj","EDIT_X_OF_Y_REVISIONS","Total","Loading...","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","1991344GehbeG","ck-revision-history-ui__changes-navigation__navigation","isForwardNavigationEnabled","Show previous change","1aKaFcg","946422zYTRxB","span","28wuEJhR","30525610aVsAic","backward","54YhvFYx","bindTemplate","389692axrEyW","div","No changes","isEnabled","execute","ck-revision-history-ui__changes-navigation__label","isNavigationMode","set","_statusText","NUMBER_OF_CHANGES","setTemplate","isReady","ck-hidden","478012qfuyOB"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(963408===parseInt(e(446))/1*(parseInt(e(411))/2)+parseInt(e(436))/3+-parseInt(e(424))/4+parseInt(e(425))/5+-parseInt(e(447))/6*(-parseInt(e(449))/7)+parseInt(e(442))/8*(parseInt(e(409))/9)+-parseInt(e(450))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(410)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(418)](e(417),!1),this[e(418)](e(422),!1),this[e(418)](e(429),0),this[e(418)](e(433),0),this[e(418)](e(444),!1),this[e(418)](e(440),!1),this[e(427)](e(431)).to(this,e(422),this,e(433),((t,e)=>t&&e>0)),this[e(427)](e(419)).to(this,e(422),this,e(429),this,e(433),this,e(417),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(439));if(!n)return X(t,o(413));const a=X(t,o(420),n);return r?X(t,o(434),[s+1,n]):a})),s[e(418)]({label:X(t,e(445)),tooltip:!0,icon:mt.IconChevronUp}),n[e(418)]({label:X(t,e(432)),tooltip:!0,icon:mt.IconChevronDown}),s[e(427)](e(414)).to(this,e(440)),n[e(427)](e(414)).to(this,e(444)),s.on(e(415),(()=>this[e(435)](e(415),e(408)))),n.on(e(415),(()=>this[e(435)](e(415),e(430)))),this[e(421)]({tag:e(412),attributes:{class:["ck",e(428),e(441)]},children:[{tag:e(448),attributes:{class:[e(426)]},children:[{tag:e(448),attributes:{class:[e(416),i.if(e(431),e(423),(t=>!t))]},children:[{text:i.to(e(417),(i=>i?X(t,e(437))+": ":X(t,e(438))+": "))}]},{text:i.to(e(419))}]},new pt.ToolbarSeparatorView,{tag:e(412),attributes:{class:[e(443)]},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;function de(){const t=["addClass","9968NfoEUB","isPremiumPlugin","18530424nsCEed","removeClass","roots","hide","15TEkgvq","RevisionViewerLoadingOverlay","388030BihuOO","1448TqDRfF","432684SJZQLr","707922SMJeKO","289707UUitnk","1479520Rnurlf","show","document","view","editor","pluginName","isOfficialPlugin","change","ck-editor__editable__loading-overlay","editing","6mvhqET","90dnytIT"];return(de=function(){return t})()}function fe(t,e){const i=de();return(fe=function(t,e){return i[t-=421]})(t,e)}const me=fe;!function(t){const e=fe,i=t();for(;;)try{if(300500===-parseInt(e(427))/1+-parseInt(e(440))/2*(parseInt(e(429))/3)+-parseInt(e(430))/4+parseInt(e(423))/5*(parseInt(e(428))/6)+parseInt(e(443))/7*(-parseInt(e(426))/8)+-parseInt(e(441))/9*(parseInt(e(425))/10)+parseInt(e(445))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const pe=me(438);class ve extends U.Plugin{static get[me(435)](){return me(424)}static get[me(436)](){return!0}static get[me(444)](){return!0}[me(431)](){const t=me,e=this[t(434)][t(439)][t(433)];e[t(437)]((i=>{const s=t;for(const t of e[s(432)][s(421)])i[s(442)](pe,t)}))}[me(422)](){const t=me,e=this[t(434)][t(439)][t(433)];e[t(437)]((i=>{const s=t;for(const t of e[s(432)][s(421)])i[s(446)](pe,t)}))}}const ge=ke;function ye(){const t=["get","set","showNextChange","add","bind","Back to editing","config","show","change:isReady","2OlamDn","execute","ck-revision-history-ui__back-to-editing","2026617EGUYLg","hide","isEnabled","isPremiumPlugin","8BBxGPy","changesNavigation","isForwardNavigationEnabled","componentFactory","currentChangeNumber","showPreviousChange","forward","numberOfChanges","5848680HsxYks","editor","plugins","3296736ayIksC","commands","pluginName","closeRevisionViewerCallback","21651408wouLwx","restoreRevision","listenTo","requires","isBackwardNavigationEnabled","4241062VURTfs","208688oXnOnb","revisionHistory","isOfficialPlugin","exitToEditing","isNavigationMode","init","isReady","RevisionViewerUI","244934dSpwyX","Restore this revision"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=188]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(809609===parseInt(e(208))/1+parseInt(e(219))/2*(-parseInt(e(222))/3)+-parseInt(e(200))/4+-parseInt(e(234))/5+-parseInt(e(190))/6+-parseInt(e(199))/7*(-parseInt(e(226))/8)+parseInt(e(194))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(192)](){return ge(207)}static get[ge(202)](){return!0}static get[ge(225)](){return!0}static get[ge(197)](){return[ee,ve]}[ge(205)](){const t=ge,e=this[t(188)],i=e[t(189)][t(210)](ee),s=e[t(189)][t(210)](ve);e.ui[t(229)][t(213)](t(203),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(211)]({label:X(i,s(215)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(221)}),this[s(196)](n,s(220),(()=>{const t=s;e[t(216)][t(210)](t(201))[t(193)]()})),n})),e.ui[t(229)][t(213)](t(195),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(211)]({label:X(i,s(209)),withText:!0,tooltip:!0}),n[s(214)](s(224)).to(e[s(191)][s(210)](s(195))),this[s(196)](n,s(220),(()=>e[s(220)](s(195)))),n})),e.ui[t(229)][t(213)](t(227),(s=>{const n=t,r=new ue(s),o=e[n(191)][n(210)](n(231)),a=e[n(191)][n(210)](n(212));return r[n(214)](n(198)).to(o,n(224)),r[n(214)](n(228)).to(a,n(224)),r[n(214)](n(206),n(230),n(233),n(204)).to(i),this[n(196)](r,n(220),((t,i)=>{const s=n;e[s(220)](s(232)===i?s(212):s(231))})),r})),s[t(217)](),i.on(t(218),((e,i,n)=>{const r=t;n?s[r(223)]():s[r(217)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Te();return(Se=function(t,e){return i[t-=301]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(293402===-parseInt(e(305))/1*(-parseInt(e(326))/2)+parseInt(e(330))/3+-parseInt(e(303))/4+parseInt(e(311))/5*(parseInt(e(309))/6)+parseInt(e(317))/7+-parseInt(e(312))/8+-parseInt(e(320))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Oe extends pt.LabeledFieldView{[Ie(314)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(308)];this[i(316)]({label:X(t,i(315)),_tooltipString:""}),this[i(325)][i(304)]=X(t,i(306)),this[i(329)]({tag:i(307),attributes:{class:[i(327)],"data-cke-tooltip-text":s.to(i(302)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(323)}})}[Ie(318)](){const e=Ie;super[e(318)](),this[e(314)]=new t.ResizeObserver(this[e(325)][e(328)],(()=>this[e(310)]())),this[e(319)](this[e(325)],e(313),(()=>this[e(310)]()))}[Ie(321)](){const t=Ie;super[t(321)](),this[t(314)]&&this[t(314)][t(321)]()}[Ie(310)](){const t=Ie,e=this[t(325)][t(328)];this[t(302)]=e[t(324)]>e[t(301)]&&e[t(322)]||""}}function Te(){const t=["input","_resizeObserver","Revision name","set","2931005oAlHbv","render","listenTo","289674QtgJfL","destroy","value","ck-tooltip_multi-line","scrollWidth","fieldView","9644AlLUsp","ck-revision-history-sidebar__revision-name","element","extendTemplate","377808BCZCSp","clientWidth","_tooltipString","1828464rFZmfh","placeholder","31AYEXFs","Enter the revision name","span","bindTemplate","281586CNkFdB","_updateTooltipText","20SQkDEr","793224KZfWHR"];return(Te=function(){return t})()}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 Ae(){const t=["ck-revision-history-sidebar__revision-author","1444412MJZKko","set","10EQjBfA","ck-revision-history-sidebar__revision-author__name","22192578orVXSq","533814PLOlHN","push","Revision author","0 0 11 10","setTemplate","6128856JkIGmy","span","980299vCWBxv","ck-revision-history-sidebar__revision-author_creator","Revision creator","4213776xGWuqs","77ufCqwA","name","2019910FNNkHq"];return(Ae=function(){return t})()}function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=318]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(945422===-parseInt(e(331))/1+-parseInt(e(337))/2+parseInt(e(334))/3+parseInt(e(319))/4*(-parseInt(e(321))/5)+parseInt(e(324))/6*(-parseInt(e(335))/7)+parseInt(e(329))/8+parseInt(e(323))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(320)]({content:mt.IconUser,viewBox:s(327)});const r=["ck",s(318)];i&&r[s(325)](s(332));const o=[{tag:s(330),attributes:{class:["ck",s(322)],title:X(t,s(i?333:326))},children:[n,e[s(336)]]}];this[s(328)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=303]})(t,e)}function Ee(){var t=["2354088CrXjkP","toLocaleTimeString","4499754cYzFoa","204865mLhOwN","456840FKISXr","long","1218273itEdLY","1kqpOvE","numeric","114UXdgqn","5198624gSfeun","704116ezMCTu","toLocaleDateString"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(510418===-parseInt(e(314))/1*(-parseInt(e(305))/2)+parseInt(e(313))/3+parseInt(e(307))/4+parseInt(e(310))/5*(-parseInt(e(303))/6)+parseInt(e(309))/7+-parseInt(e(304))/8+-parseInt(e(311))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["935660hHHbjO","map","model","change:isActionsDropdownOpen","function","bind","class","menu","first","_action","ck-on","3669498BMfPXu","21bGMOIL","extendTemplate","isActionsDropdownOpen","38165extBey","button","source","Show more items","Name this revision","isVisible","ck-revision-history-sidebar__revision__actions","children","listenTo","456073EajrDQ","locale","isEnabled","isOpen","850842MyISdJ","set","676803xpRwPh","listView","add","buttonView","bindTemplate","Compare against selected","panelPosition","find","execute","name","action","Restore this revision","stopPropagation","4MEeEGz","items","2685464rrYXyb","menuitem","isReady"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=322]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(267735===parseInt(e(341))/1+-parseInt(e(365))/2+-parseInt(e(347))/3*(parseInt(e(360))/4)+parseInt(e(332))/5+-parseInt(e(345))/6*(-parseInt(e(329))/7)+-parseInt(e(362))/8+parseInt(e(328))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);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=Ue;function We(){const t=["220","deselect","_requireRevisionName","isSelected","18750McdXmd","_createdAtFormatted","ck-revision-history-sidebar__revision_highlighted","isHighlighted","closest","filter","3527596UqPJhb","extendTemplate","isReady","ck-reset","fieldView","map","createdAt","highlight","ck-revision-history-sidebar__revision__controls-wrapper","200kFlFzX","listenTo","div","creator","ck-revision-history-sidebar__revision-authors","uiLanguage","value","ck-revision-history-sidebar__revision-wrapper","1140MgdJML","isActionsDropdownOpen","1201504kXOFVm","2386426mlAaIj","select","3hgOYrw","revisionNameView","srcElement","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isEnabled","setTemplate","10DIMFRV","from","setName","name","length","bind","ck-revision-history-sidebar__actions_dropdown_open","ck-disabled","ck-revision-history-sidebar__revision_selected","unhighlight","unshift","set","fire","8045JnJEVJ","ck-revision-history-sidebar__revision__date","_revision","3510657LOTSFJ","revisionActionsView","change","bindTemplate","element","span",".ck-thread__remove-confirm","13232384ztDDek","ck-revision-history-sidebar__revision","isConfirm","authors","render"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(615152===-parseInt(e(531))/1*(-parseInt(e(499))/2)+parseInt(e(512))/3*(parseInt(e(490))/4)+parseInt(e(484))/5*(parseInt(e(507))/6)+-parseInt(e(510))/7+parseInt(e(509))/8+parseInt(e(468))/9*(-parseInt(e(518))/10)+-parseInt(e(475))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(513)];[ze(469)];[ze(467)];[ze(482)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(471)],a=function(t,e){const i=r,s=Array[i(519)](e[i(478)])[i(489)]((t=>t!=e[i(502)]));return e[i(502)]&&s[i(528)](e[i(502)]),s[i(495)]((s=>new Ve(t,s,s==e[i(502)])))}(e,i);this.id=i.id,this[r(467)]=i,this[r(482)]=n,this[r(523)](r(521),r(496)).to(i),this[r(523)](r(485)).to(this,r(496),(t=>{return i=e[r(504)],(s=t)[(n=Me)(306)](i,{month:n(312),day:n(315)})+", "+s[n(308)](i,{hour:n(315),minute:n(315)});var i,s,n})),this[r(529)](r(483),!1),this[r(529)](r(487),!1),this[r(529)](r(508),!1),this[r(529)](r(492),!1),this[r(529)](r(516),!1),this[r(513)]=new Oe(e,pt.createLabeledInputText),this[r(513)][r(494)][r(491)]({attributes:{maxlength:r(480)}}),this[r(513)][r(494)][r(523)](r(505)).to(this,r(521),(t=>t||this[r(485)])),this[r(513)][r(523)](r(516)).to(this,r(483),this,r(516),((t,e)=>t&&e)),this[r(469)]=s&&s[r(522)]?function(e,i){const s=Le,n=e[s(351)],r=e[s(342)],o=(0,pt.createDropdown)(r);o[s(353)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(342)],n={"Compare against selected":X(s,i(352)),"Name this revision":X(s,i(336)),"Restore this revision":X(s,i(358))};return e[i(366)]((t=>{const e=i,s=n[t[e(356)]];return s&&s!==t[e(356)]&&(t[e(356)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(333),model:new pt.ViewModel({label:t[n(356)],class:t[n(323)],withText:!0,role:n(363),_action:t[n(357)]})};i[n(367)][n(322)](n(343)).to(e,n(331),(i=>n(369)!=typeof t[n(343)]||!i||t[n(343)](e))),o[n(349)](i)}return o}(e,i);return e[s(322)](s(331)).to(o,s(344)),o[s(350)][s(346)]({label:X(r,s(335)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(330)]({attributes:{class:[s(338),n.if(s(331),s(327))]},on:{click:n.to((t=>t[s(359)]()))}}),o.on(s(355),(t=>{const i=s;e[i(364)]&&i(369)==typeof t[i(334)][i(326)]&&t[i(334)][i(326)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(324)}),o[s(340)](e,s(368),((t,n,r)=>{const a=s;if(r)for(const t of o[a(348)][a(361)]){const s=t[a(339)][a(325)],n=i[a(354)]((t=>t[a(357)]===s[a(326)]))[a(337)];t[a(337)]=void 0===n||n(e)}})),o}(this,s):"",this[r(469)]&&this[r(469)][r(523)](r(516)).to(this),this[r(517)]({tag:r(501),attributes:{class:["ck",r(493),r(506),o.if(r(477),r(515))]},children:[{tag:r(501),attributes:{class:["ck",r(493),r(476),o.if(r(516),r(525),(t=>!t)),o.if(r(483),r(526)),o.if(r(487),r(486)),o.if(r(508),r(524))]},children:[this[r(513)],{tag:r(473),attributes:{class:["ck",r(466)]},children:[{text:o.to(r(485))}]},{tag:r(501),attributes:{class:["ck",r(498)]},children:[{tag:"ul",attributes:{class:["ck",r(503)]},children:a}]},this[r(469)]],on:{click:o.to((t=>{const e=r;t[e(514)][e(488)](e(474))||this[e(492)]&&this[e(516)]&&this[e(530)](e(511),{id:this.id})}))}}]})}[ze(479)](){const t=ze;super[t(479)]();const e=this[t(513)][t(494)][t(472)];this[t(500)](e,t(470),(()=>{const i=t;this[i(482)]&&!e[i(505)]||this[i(530)](i(520),{id:this.id,name:e[i(505)]}),e[i(505)]||(e[i(505)]=this[i(521)]?this[i(521)]:this[i(485)])}))}[ze(511)](){this[ze(483)]=!0}[ze(481)](){this[ze(483)]=!1}[ze(497)](){this[ze(487)]=!0}[ze(527)](){this[ze(487)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(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=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,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 Ri={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Di={};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=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ai.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return 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 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=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=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=Rs(t.month,1,12),s=Rs(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=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function 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 As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function 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 Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Vs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=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:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,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[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,xn,Nn);const Xn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.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:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class 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,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=Ai.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function 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(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=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=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(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:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,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,qn],[Un,$n],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=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=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(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):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("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(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 xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro,s=io[i(191)](t)[i(185)](e),n=io[i(183)](),r=n[i(186)]({days:1})[i(193)](i(182));let o,a;return s[i(184)](n,i(182))?(o=s[i(193)](i(182))[i(187)](),a=s[i(199)]()):s[i(184)](r,i(182))?(o=r[i(187)](),a=s[i(199)]()):s[i(184)](n,i(194))?(o=s[i(193)](i(194))[i(187)](),a=s[i(190)]||""):s[i(184)](n,i(188))?(o=s[i(193)](i(192))[i(187)](),a=s[i(197)]||""):(o=s[i(193)](i(188))[i(187)](),a=String(s[i(188)])),{startDate:o,localizedPeriodName:a}}function ro(t,e){const i=oo();return(ro=function(t,e){return i[t-=180]})(t,e)}function oo(){const t=["local","hasSame","setLocale","minus","toJSDate","year","46IDGHxD","weekdayLong","fromJSDate","month","startOf","week","3070136OjYgYG","3679495TZGrkI","monthLong","4748702GjsEsl","toRelativeCalendar","5342520FHhAmW","31517cwhOoo","1579044IjotLJ","3901218oyhWpQ","day"];return(oo=function(){return t})()}!function(t){const e=ro,i=t();for(;;)try{if(430596===parseInt(e(201))/1*(-parseInt(e(189))/2)+parseInt(e(180))/3+-parseInt(e(195))/4+parseInt(e(196))/5+parseInt(e(181))/6+parseInt(e(198))/7+-parseInt(e(200))/8)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=["534346uosJyU","setTemplate","find","add","createCollection","_requireRevisionName","removeRevision","revisionViews","123NQTnhC","32807790bPFdgA","span","4667514npNRvG","select","69568otcMpr","3453425TDFrBm","startDate","remove","ck-revision-history-sidebar__time-period__revisions","_revisionActions","ck-revision-history-sidebar__time-period","uiLanguage","setName","delegate","localizedPeriodName","385qqudHX","div","locale","75436uimuoY","ck-revision-history-sidebar__time-period__label","1842300GSDeHB","addRevision"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(538403===parseInt(e(148))/1+-parseInt(e(146))/2+-parseInt(e(156))/3*(parseInt(e(144))/4)+-parseInt(e(162))/5+-parseInt(e(159))/6+parseInt(e(172))/7*(-parseInt(e(161))/8)+parseInt(e(157))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(163)];[uo(155)];[uo(166)];[uo(153)];constructor(t,e,i,s){const n=uo;super(t);const r=no(e,this[n(143)][n(168)])[n(171)];this[n(163)]=e,this[n(155)]=this[n(152)](),this[n(166)]=i,this[n(153)]=s,this[n(155)][n(170)](n(160)).to(this),this[n(155)][n(170)](n(169)).to(this),this[n(149)]({tag:n(142),attributes:{class:["ck",n(167)]},children:[{tag:n(158),attributes:{class:["ck",n(145)]},children:[{text:r}]},{tag:n(142),attributes:{class:["ck",n(165)]},children:this[n(155)]}]})}[uo(147)](t){const e=uo,i=new He(this[e(143)],t,this[e(166)],this[e(153)]);this[e(155)][e(151)](i)}[uo(154)](t){const e=uo,i=this[e(155)][e(150)]((e=>e.id===t.id));this[e(155)][e(164)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["content","9002biIaOg","880dndRXq","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","1111137fQUlWy","setTemplate","2107312IqtUnl","12668715sILvgb","Revision history","586068ubTxYu","172uZOMoD","14088pAiDYb","span","ck-reset_all","10455990Cqerhb","div","10zWcusb"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(925969===parseInt(e(408))/1+parseInt(e(414))/2*(-parseInt(e(415))/3)+parseInt(e(410))/4+parseInt(e(420))/5*(parseInt(e(413))/6)+parseInt(e(422))/7*(-parseInt(e(423))/8)+-parseInt(e(411))/9+parseInt(e(418))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(421)]=mt.IconHistory,this[e(409)]({tag:e(419),attributes:{class:["ck",e(417),e(424)]},children:[i,{tag:e(416),attributes:{class:["ck",e(425)]},children:[X(t,e(412))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=135]})(t,e)}function Io(){const t=["unhighlight","highlight","get","ck-revision-history-sidebar__timeline","removeRevision","1593438jKTugM","2125685ptEqfG","1932502QOZLeJ","4TpHIBp","add","find","12PVScYx","ck-rounded-corners","getTime","ck-disabled","timePeriodViews","revisionSelected","render","ck-reset","isEnabled","delegate","createdAt","selectRevision","startDate","_revisionActions","createCollection","ck-revision-history-sidebar","revisionViews","787470oaWmla","fire","1744JNvqrQ","_revisions","_addRevision","addRevision","303902hDlwTu","highlightRevisions","45054ydoKRL","_getTimePeriodViewByStartDate","map","flat","set","select","remove","setName","_requireRevisionName","setTemplate","26758620jvseUT","bindTemplate","uiLanguage","_removeRevision","div","some","revisionSetName","locale","deselect"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(546760===-parseInt(e(147))/1+-parseInt(e(175))/2+-parseInt(e(141))/3*(-parseInt(e(176))/4)+parseInt(e(174))/5+-parseInt(e(179))/6*(parseInt(e(173))/7)+-parseInt(e(143))/8*(parseInt(e(149))/9)+parseInt(e(159))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(183)];[wo(144)];[wo(137)];[wo(157)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(160)];this[n(183)]=this[n(138)](),this[n(183)][n(188)](n(154)).to(this),this[n(183)][n(188)](n(156)).to(this),this[n(144)]=e,this[n(137)]=i,this[n(157)]=s,this.on(n(154),((t,e)=>{const i=n;this[i(142)](i(184),e)})),this.on(n(156),((t,e)=>{const i=n;this[i(142)](i(165),e)})),this[n(153)](n(187),!1),this[n(158)]({tag:n(163),attributes:{class:["ck",n(186),n(180),n(139)]},children:[new yo(t),{tag:n(163),attributes:{class:["ck",n(171),r.if(n(187),n(182),(t=>!t))]},children:this[n(183)]}]})}[wo(185)](){const t=wo;super[t(185)]();for(const e of this[t(144)])this[t(145)](e);this[t(144)].on(t(177),((e,i)=>{this[t(145)](i)})),this[t(144)].on(t(155),((e,i)=>{this[t(162)](i)}))}get[wo(140)](){const t=wo;return this[t(183)][t(151)]((e=>e[t(140)][t(151)]((t=>t))))[t(152)]()}[wo(135)](t){const e=wo;for(const i of this[e(140)])t&&t.id===i.id?i[e(154)]():i[e(167)]()}[wo(148)](t){const e=wo;for(const i of this[e(140)])t[e(164)]((({id:t})=>t===i.id))?i[e(169)]():i[e(168)]()}[wo(145)](t){const e=wo,i=no(t[e(189)],this[e(166)][e(161)])[e(136)];let s=this[e(183)][e(170)](0);s&&s[e(136)][e(181)]()===i[e(181)]()||(s=new fo(this[e(166)],i,this[e(137)],this[e(157)]),this[e(183)][e(177)](s)),s[e(146)](t)}[wo(162)](t){const e=wo,i=no(t[e(189)],this[e(166)][e(161)])[e(136)];this[e(150)](i)[e(172)](t)}[wo(150)](t){const e=wo;return this[e(183)][e(178)]((i=>i[e(136)][e(181)]()===t[e(181)]()))}}const Oo=To;function To(t,e){const i=Ao();return(To=function(t,e){return i[t-=449]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(466148===parseInt(e(471))/1+-parseInt(e(529))/2*(parseInt(e(491))/3)+-parseInt(e(508))/4+-parseInt(e(503))/5*(-parseInt(e(451))/6)+parseInt(e(467))/7*(parseInt(e(455))/8)+parseInt(e(462))/9*(-parseInt(e(464))/10)+parseInt(e(472))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class xo extends U.Plugin{[Oo(484)];[Oo(460)];[Oo(482)];static[Oo(479)]=[Oo(465),Oo(477),Oo(523)];static[Oo(514)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(509),action:({plugins:e},i)=>{const s=t,n=e[s(474)](ee),r=n[s(500)];let o=n[s(457)][s(518)],a=i.id;r[s(498)](o)>r[s(498)](a)&&([o,a]=[a,o]),n[s(483)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(474)](ee);return!(n[s(500)][s(502)](n[s(457)])[s(516)]>2||i[s(475)])}},restoreRevision:{name:t(492),action:(e,{id:i})=>{const s=t;e[s(512)][s(474)](s(478))[s(480)](i)},isVisible:({plugins:e},i)=>!!e[t(474)](ee)[t(500)][t(530)](i.id)},nameRevision:{name:t(497),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(474)](ee),o=r[n(500)][n(456)](i);r[n(483)](i,o),s[n(505)](),s[n(495)][n(513)]()}}}}();static get[Oo(494)](){return Oo(489)}static get[Oo(504)](){return!0}static get[Oo(450)](){return!0}static get[Oo(531)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(484)]=t[e(488)][e(474)](ee),this[e(460)]=this[e(484)][e(500)],this[e(482)]=null}[Oo(515)](){const t=Oo,e=this[t(460)][t(452)],i=this[t(481)](),s=this[t(449)][t(512)][t(474)](t(517));this[t(482)]=new So(this[t(449)][t(525)],e,i,this[t(449)][t(512)][t(474)](t(521))),this[t(482)].on(t(469),this[t(454)][t(528)](this)),this[t(482)].on(t(459),this[t(486)][t(528)](this)),this[t(482)][t(528)](t(476)).to(this[t(484)]),this[t(482)][t(510)].on(t(519),((e,i)=>{const s=t;i[s(463)].on(s(519),((t,e)=>{const i=s;e[i(528)](i(476),i(458)).to(this[i(484)])}))})),this[t(482)][t(496)](),this[t(501)](this[t(449)][t(493)],t(532),this[t(499)][t(528)](this)),this[t(501)](this[t(484)],t(520),this[t(490)][t(528)](this)),s[t(468)](this[t(482)][t(487)])}[Oo(511)](){const t=Oo;this[t(482)][t(487)][t(526)](),this[t(482)][t(511)]()}[Oo(499)](){const t=Oo,e=this[t(460)][t(506)](0);if(e){const i=this[t(460)][t(456)](e.id);this[t(484)][t(483)](e,i)}}[Oo(454)](t,e){const i=Oo,s=this[i(460)][i(506)](e.id),n=this[i(460)][i(456)](s.id);this[i(484)][i(483)](s,n)}[Oo(486)](t,e){const i=Oo;this[i(460)][i(506)](e.id)[i(473)](e[i(466)])}[Oo(490)](t,e,i){const s=Oo,n=this[s(460)][s(502)](i);n[s(516)]>2?(this[s(482)][s(507)](n),this[s(482)][s(470)](null)):(this[s(482)][s(507)]([]),this[s(482)][s(470)](n[0]))}[Oo(481)](){const t=Oo,e=this[t(449)],i=xo[t(514)],s=e[t(512)][t(474)](t(453))||xo[t(479)];if(s[t(516)])return s[t(485)]((s=>{const n=t,r=n(524)==typeof s?Object[n(461)]({},i[s]):s;return r[n(527)]=r[n(527)][n(528)](this,e),r[n(522)]&&(r[n(522)]=r[n(522)][n(528)](this,e)),r}))}}const No=xo;function Ao(){const t=["ready","editor","isPremiumPlugin","300SZVJNm","_revisions","revisionHistory.revisionActions","_handleRevisionSelected","681176rEtzjS","getEarlierVisibleRevision","diff","isReady","revisionSetName","_revisionsRepository","assign","27ZKBxrn","revisionViews","1216330WlDKVg","compareAgainstSelected","name","21LARADW","appendChild","revisionSelected","selectRevision","818534LJFReA","6513793fjviIE","setName","get","isSelected","isEnabled","restoreRevision","revisionHistory","defaultRevisionActions","restoreRevisionCallback","_createRevisionActions","_sidebarView","compare","_revisionViewer","map","_handleRevisionSetName","element","plugins","RevisionsSidebar","_handleDiffChange","21pesPRu","Restore this revision","data","pluginName","fieldView","render","Name this revision","getIndex","_handleEditorDataReady","repository","listenTo","getRevisionsInDiff","1310jqmEth","isOfficialPlugin","focus","getRevision","highlightRevisions","2638920srMNBa","Compare against selected","timePeriodViews","destroy","config","select","availableRevisionActions","init","length","revisionHistory.viewerSidebarContainer","newRevisionId","add","change:diff","revisionHistory.requireRevisionName","isVisible","nameRevision","string","locale","remove","action","bind","53846PNzLUm","getLaterVisibleRevision","requires"];return(Ao=function(){return t})()}function Ro(t,e){const i=Mo();return(Ro=function(t,e){return i[t-=381]})(t,e)}const Vo=Ro;function Mo(){const t=["viewportTopOffset","isFocused","editing","attachDomRoot","_initToolbar","_toolbarConfig","2975580pkcrwH","ready","document","_view","fillFromConfig","detachDomRoot","bind","limiterElement","26597424ITbwnb","restore","element","stickyPanel","name","rootName","26425wvdnBV","editor","destroy","3777654WXZTPs","init","get","1154668mAzhAr","5uknLKf","viewportOffset","_elementReplacer","setEditableElement","fire","view","2198147vEVoRo","8473638krDuqu","addToolbar","replace","render","isActive","editable","toolbar","focusTracker","config","getRoot","componentFactory"];return(Mo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(833532===-parseInt(e(398))/1+parseInt(e(384))/2+parseInt(e(401))/3+-parseInt(e(404))/4+parseInt(e(405))/5*(parseInt(e(412))/6)+parseInt(e(411))/7+-parseInt(e(392))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends pt.EditorUI{[Vo(387)];[Vo(383)];[Vo(407)];get[Vo(410)](){return this[Vo(387)]}constructor(e,i){const s=Vo;super(e),this[s(387)]=i,this[s(383)]=(0,pt.normalizeToolbarConfig)(e[s(420)][s(403)](s(418))),this[s(407)]=new t.ElementReplacer}get[Vo(394)](){const t=Vo;return this[t(410)][t(394)]}[Vo(402)](t){const e=Vo,i=this[e(399)],s=this[e(410)],n=i[e(425)][e(410)],r=s[e(417)],o=n[e(386)][e(421)]();r[e(396)]=o[e(397)],s[e(415)]();const a=r[e(394)];this[e(408)](r[e(396)],a),s[e(417)][e(390)](e(424)).to(this[e(419)]),n[e(381)](a),this[e(407)][e(414)](t,this[e(394)]),this[e(382)](),this[e(409)](e(385))}[Vo(400)](){const t=Vo;super[t(400)]();const e=this[t(410)],i=this[t(399)][t(425)][t(410)];this[t(407)][t(393)](),i[t(389)](e[t(417)][t(396)]),e[t(400)]()}[Vo(382)](){const t=Vo,e=this[t(410)];e[t(395)][t(390)](t(416)).to(this[t(419)],t(424)),e[t(395)][t(391)]=e[t(394)],e[t(395)][t(390)](t(423)).to(this,t(406),(({top:t})=>t)),e[t(418)][t(388)](this[t(383)],this[t(422)]),this[t(413)](e[t(418)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=Lo;function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=396]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(934581===-parseInt(e(415))/1*(-parseInt(e(399))/2)+-parseInt(e(406))/3+-parseInt(e(407))/4+parseInt(e(396))/5*(-parseInt(e(412))/6)+-parseInt(e(403))/7+parseInt(e(400))/8*(parseInt(e(401))/9)+parseInt(e(397))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(413)];[Fo(404)];[Fo(408)];get[Fo(411)](){return this[Fo(413)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(404)]=new pt.StickyPanelView(t),this[s(408)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(410)]}),this[s(413)]=new pt.InlineEditableUIView(t,e)}[Fo(398)](){var t=Fo;super[t(398)](),this[t(404)][t(414)][t(409)](this[t(408)]),this[t(405)][t(409)](this[t(404)]),this[t(402)][t(409)](this[t(411)])}}function Po(){var t=["2855404FcxJGA","toolbar","add","shouldToolbarGroupWhenFull","editable","4870038mkQWiw","_editable","content","99637JCKmFs","5vgFwsP","26405860cOlhjd","render","8PFKBwn","70264QfpGjX","1161tgLGTo","main","8647366OLSkoY","stickyPanel","top","1430094olMyAU"];return(Po=function(){return t})()}const zo=Uo;function Wo(){const t=["model","230myNsXG","get","98088nxtlZP","create","editing","fire","locale","8gMzypD","data","sourceElement","init","5304lBWKic","_ui","initPlugins","283789itCRwm","destroy","3795eNhbSD","config","createRoot","document","ready","initialData","102zMreLJ","1777473bImLkG","view","165563hHAaib","5901371BOwVOG","updateSourceElement","6564432xscFYc","2QhYzCE"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=399]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(446828===parseInt(e(406))/1*(parseInt(e(410))/2)+-parseInt(e(403))/3*(parseInt(e(414))/4)+-parseInt(e(428))/5*(parseInt(e(423))/6)+parseInt(e(407))/7*(parseInt(e(419))/8)+-parseInt(e(404))/9+-parseInt(e(412))/10*(-parseInt(e(426))/11)+parseInt(e(409))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(424)];get ui(){return this[zo(424)]}constructor(t,e){const i=zo;super(e),this[i(421)]=t,this[i(411)][i(400)][i(399)]();const s=new jo(this[i(418)],this[i(416)][i(405)],{shouldToolbarGroupWhenFull:!0});this[i(424)]=new Eo(this,s)}[zo(427)](){const t=zo;return this[t(408)](),this.ui[t(427)](),super[t(427)]()}static async[zo(415)](t,e){const i=zo,s=new this(t,e);return await s[i(425)](),await s.ui[i(422)](t),await s[i(420)][i(422)](s[i(429)][i(413)](i(402))||""),s[i(417)](i(401)),s}}const Zo=qo;function qo(t,e){const i=Yo();return(qo=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(302727===parseInt(e(319))/1*(parseInt(e(320))/2)+parseInt(e(426))/3+-parseInt(e(395))/4*(parseInt(e(339))/5)+-parseInt(e(401))/6+parseInt(e(428))/7*(parseInt(e(312))/8)+-parseInt(e(376))/9+-parseInt(e(393))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const $o=[Zo(369),Zo(353)];class Bo extends U.Plugin{[Zo(300)];static get[Zo(380)](){return Zo(382)}static get[Zo(365)](){return!0}static get[Zo(417)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(341)]((t=>String[e(447)](t)))[e(379)]("")}super(t),this[e(300)]=e(391),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Yo(){const t=["_recalculatePageBreaks","243SJRkXM","4936WQqCxb","_viewerEditor","_update","closeRevisionViewerCallback","restoreRevision","create","none","update","name","element","RevisionViewer","Restored","change","getRevisionDocumentData","_showRevisionViewer","Autosave","revisionHistory.viewerEditorElement","set","display","2448365njCVyO","addRevisionData","map","has","from","view","repository","getRoot","restrictedEditingException","PaginationLookup","save","catch","removeAttribute","roots","RestrictedEditingMode","_getRevisionViewerEditorConfig","remove","revisionHistory.closeRevisionViewerCallback","enqueueChange","isAttached","uiLanguage","isOpen","RevisionHistory","isReadOnly","createdAt","translations","isOfficialPlugin","Dialog","block","getUser","RevisionHistoryUI","refreshVisibility","getRevisions","toVersion","rootName","_restoreRevision","adapter","2236230MeLbaX","revision-history-missing-configuration","isRevisionViewerOpen","join","pluginName","define","RevisionViewerIntegration","then","getRevisionRootsAttributes","RevisionsRepository","toJSON","changesNavigation","locale","users","config","end","_enhanceCloseRevisionViewerCallback","2897540fwmpyj","revisionHistory.restoreRevisionCallback","4UqDvfr","_enhanceShowRevisionViewerCallback","document","parse","DocumentOutlineUI","toLocaleDateString","447000HSngOV","removeMarker","exitToEditing","numeric","destroy","revisionHistory.editorContainer","lazyRoots","RevisionTracker","hide","revisionHistory.requireRevisionName","plugins","saveRevision","requires","Users","data","selection","isPremiumPlugin","style","addRoot","disableReadOnlyMode","bind","getRevision","setSelection","$graveyard","DocumentOutline","770943rXepTH","removeSelectionAttribute","7MHsauw","fromVersion","insert","detachRoot","revision-history-viewer-opened","showRevisionViewerCallback","isReady","RevisionHistoryUtils","commands","createRangeIn","loadRevisionData","getMarkersGroup","getAttributeKeys","init","enableReadOnlyMode","creator","toLocaleTimeString","revisionHistory.showRevisionViewerCallback","editor","fromCharCode","revisionHistory.viewerContainer","keys","refreshPositioning","revisionHistory","result","get","error","indexOf","model","isEnabled","markers","setAttribute","addUser","_cleanUp","toolbar","isAnonymous","4387352jgQUCS","long","_closeRevisionViewer","Annotations","push","includes"];return(Yo=function(){return t})()}class Jo extends U.Plugin{[Zo(321)];static get[Zo(380)](){return Zo(361)}static get[Zo(365)](){return!0}static get[Zo(417)](){return!0}static get[Zo(413)](){return[ct,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(446)][i(390)][i(301)](i(299)))throw new t.CKEditorError(i(377),this);this[i(321)]=null,this[i(337)](i(378),!1),this[i(446)][i(390)][i(381)](i(445),(t=>this[i(334)]({...t,translations:this[i(446)][i(388)][i(364)]}))),this[i(446)][i(390)][i(381)](i(356),(t=>this[i(314)](t))),this[i(446)][i(390)][i(381)](i(394),(t=>this[i(374)](t))),this[i(446)][i(390)][i(381)](i(410),!1),this[i(396)](),this[i(392)]()}set[Zo(375)](t){const e=Zo;this[e(446)][e(411)][e(301)](e(408))[e(375)]=t}get[Zo(375)](){const t=Zo;return this[t(446)][t(411)][t(301)](t(408))[t(375)]}[Zo(340)](t){const e=Zo;return this[e(446)][e(411)][e(301)](e(408))[e(340)](t)}[Zo(422)](t){const e=Zo;return this[e(446)][e(411)][e(301)](e(385))[e(422)](t)}[Zo(371)](t){const e=Zo;return this[e(446)][e(411)][e(301)](e(385))[e(371)](t||{toJSON:!1})}[Zo(354)](){const e=Zo,i=this[e(446)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(411)][e(301)](e(408)),r=i[e(411)][e(301)](e(414))[e(389)];return s[e(310)]=[e(403),e(324),e(387)],delete s[e(407)],s[e(411)][e(316)](Bo,ee,be,class extends U.Plugin{static get[e(413)](){return[ee,e(414)]}[e(441)](){const s=e,o=this[s(446)][s(411)][s(301)](s(414));for(const t of r)t[s(311)]||o[s(368)](t.id)||o[s(308)](t);const a=n[s(345)][s(371)]();let c=null;const u=this[s(446)][s(411)][s(301)](s(330));u[s(375)]=n[s(375)],u[s(421)](s(305)).to(n),this[s(446)][s(436)][s(301)](s(324))[s(421)](s(305)).to(i,s(362),(t=>!t));for(const e of a){const i=null===e[s(443)];if(i&&e[s(372)]===e[s(429)])continue;const r=e[s(386)]();u[s(340)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(322)](r,o);else if(!o){const e=a[u(386)]();e.id=(0,t.uid)(),n[u(412)](e,a[u(372)])[u(383)]((t=>{c=t}))}}else e[u(322)](r,o)}))}}},No),s}[Zo(396)](){const t=Zo,e=this[t(446)][t(390)][t(301)](t(299))[t(433)];this[t(446)][t(390)][t(337)](t(445),(async()=>{const i=t;this[i(446)][i(442)](i(432));const s=this[i(446)][i(411)][i(301)](i(408));if(this[i(446)][i(411)][i(342)](i(335))){const t=this[i(446)][i(411)][i(301)](i(335));await t[i(349)]()}else await s[i(327)]();if(this[i(446)][i(411)][i(342)](i(348))&&this[i(446)][i(411)][i(301)](i(348))[i(318)](),this[i(446)][i(411)][i(342)](i(366))){const t=this[i(446)][i(411)][i(301)](i(366));t[i(360)]&&t[i(409)]()}const n=this[i(354)]();return e(n)[i(383)]((t=>{const e=i;return this[e(321)]=t,this[e(446)][e(411)][e(342)](e(315))&&this[e(446)][e(411)][e(301)](e(315))[e(370)](),this[e(446)][e(411)][e(342)](e(425))&&(this[e(446)][e(411)][e(301)](e(399))[e(344)][e(329)][e(418)][e(338)]=e(326)),t}))[i(350)]((t=>(console[i(302)](t),this[i(446)][i(420)](i(432)),null)))}))}[Zo(392)](){const t=Zo,e=this[t(446)][t(390)][t(301)](t(299))[t(323)];this[t(446)][t(390)][t(337)](t(356),(()=>(this[t(446)][t(411)][t(342)](t(348))&&this[t(446)][t(411)][t(301)](t(348))[t(318)](),this[t(446)][t(411)][t(342)](t(425))&&(this[t(446)][t(411)][t(301)](t(399))[t(344)][t(329)][t(418)][t(338)]=""),this[t(321)][t(411)][t(301)](t(330))[t(309)](),e(this[t(321)])[t(383)]((()=>{const e=t;if(this[e(446)][e(420)](e(432)),this[e(321)]=null,this[e(446)][e(411)][e(342)](e(315))){const t=this[e(446)][e(411)][e(301)](e(315));t[e(370)](),t[e(450)]()}})))))}[Zo(334)](t){const e=Zo,i=this[e(446)][e(390)][e(301)](e(406)),s=this[e(446)][e(390)][e(301)](e(448)),n=this[e(446)][e(390)][e(301)](e(336));return Ho[e(325)](n,t)[e(383)]((t=>(s[e(418)][e(338)]=e(367),i[e(418)][e(338)]=e(326),this[e(378)]=!0,t)))}[Zo(314)](t){const e=Zo,i=this[e(446)][e(390)][e(301)](e(406));return this[e(446)][e(390)][e(301)](e(448))[e(418)][e(338)]=e(326),i[e(418)][e(338)]="",this[e(378)]=!1,t[e(405)]()}async[Zo(374)](t){const e=Zo,i=this[e(446)],s=this[e(321)][e(411)][e(301)](e(330)),n=i[e(411)][e(301)](e(408)),r=i[e(411)][e(301)](e(435)),o=s[e(345)][e(422)](t);let a,c,u;try{await r[e(438)](o,this[e(375)]),a=r[e(333)](o),c=r[e(384)](o)}catch(t){return void console[e(302)](t)}i[e(304)][e(332)]((t=>{const s=e;for(const e of Array[s(343)](i[s(304)][s(306)][s(439)](s(347))))t[s(402)](e)})),s[e(434)]=!1,i[e(304)][e(357)]((t=>{const s=e;t[s(423)](null),t[s(427)](i[s(304)][s(397)][s(416)][s(440)]());const n=Object[s(449)](a);for(const e of i[s(304)][s(397)][s(352)])s(424)!=e[s(373)]&&e[s(358)]()&&!n[s(317)](e[s(373)])&&t[s(431)](e);for(const e of n){let n=i[s(304)][s(397)][s(346)](e);n&&n[s(358)]()||(n=t[s(419)](e));const r=c[e],o=Object[s(449)](r),u=a[e];for(const e of n[s(440)]())o[s(317)](e)||t[s(351)](e,n);for(const i of o)t[s(307)](i,c[e][i],n);t[s(355)](t[s(437)](n)),t[s(430)](i[s(415)][s(398)](u,n),n,0)}}));const l=X(i[e(388)],e(331));return u=o[e(328)]?-1==o[e(328)][e(303)](l)?l+": "+o[e(328)]:o[e(328)]:l+": "+o[e(363)][e(400)](i[e(388)][e(359)],{month:e(313),day:e(404)})+", "+o[e(363)][e(444)](i[e(388)][e(359)],{hour:e(404),minute:e(404)}),await n[e(412)]({name:u}),s[e(434)]=!0,i[e(390)][e(301)](e(299))[e(323)]()}}function Go(){var t=["16795878yPrYjL","6730mUYpnR","1633valMdJ","14AMDVie","2351568rGzyGU","15327hiClII","40Qebvxf","464VeNzbA","6745256fvfZip","327776dLjWCe","4321554LMRZcc"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=351]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(840124===-parseInt(e(352))/1*(-parseInt(e(357))/2)+parseInt(e(354))/3+parseInt(e(359))/4*(parseInt(e(356))/5)+parseInt(e(360))/6*(-parseInt(e(353))/7)+parseInt(e(358))/8+-parseInt(e(355))/9*(-parseInt(e(351))/10)+-parseInt(e(361))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ot,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Wo,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]",T="[object Float32Array]",O="[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==(D=t)||"object"!=typeof D&&"function"!=typeof D)return t;var D;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 T:case O: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 D=/^(?: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 D.test(t)}}function E(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,E(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-=117]})(t,e)}function z(){const t=["setName","8CztWVQ","21747qkxnLp","toJSON","set","creator","map","creatorId","toVersion","attributes","createdAt","40VJkqQP","removeAttribute","_update","authorsIds","name","authors","setAttribute","1281XncFKA","791305HNCmCG","fire","2779200RxCOmr","4DiRtgI","fromVersion","56838MDsCmx","258381XiQgpn","196200UgjlWq","diffData","model","77WWROPr","230PPferi"];return(z=function(){return t})()}!function(t){const e=j,i=t();for(;;)try{if(152848===parseInt(e(146))/1+-parseInt(e(119))/2*(parseInt(e(138))/3)+-parseInt(e(142))/4*(parseInt(e(139))/5)+parseInt(e(144))/6*(-parseInt(e(118))/7)+-parseInt(e(121))/8*(-parseInt(e(145))/9)+-parseInt(e(131))/10*(-parseInt(e(122))/11)+parseInt(e(141))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[P(125)];[P(136)];[P(147)];[P(128)];[P(143)];[P(117)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(125)]=e[i(125)]||null,this[i(136)]=e[i(136)]||[],this[i(147)]=e[i(147)]||null,this[i(128)]=e[i(128)]||0,this[i(143)]=e[i(143)]||0,this[i(124)](i(135),e[i(135)]||""),this[i(124)](i(130),e[i(130)]||new Date),this[i(124)](i(129),e[i(129)]||{})}[P(120)](t){this[P(133)]({name:t})}[P(137)](t,e){const i=P,s=A(this[i(129)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(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(133)]({attributes:s})}[P(132)](t){const e=P,i=A(this[e(129)]);(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,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(133)]({attributes:i})}[P(133)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(135),i(130),i(147),i(136),i(129),i(128),i(143),i(127)];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(136)]&&(n[i(134)]=n[i(136)][i(126)]((t=>t.id)),delete n[i(136)]),this[i(140)](i(133),n,e))}[P(123)](){const t=P;return{id:this.id,name:this[t(135)],creatorId:this[t(125)]?this[t(125)].id:null,authorsIds:this[t(136)][t(126)]((t=>t.id)),diffData:this[t(147)],createdAt:this[t(130)],attributes:this[t(129)],fromVersion:this[t(143)],toVersion:this[t(128)]}}}var U=i(782),H=i(211),Z=i(783);const q=$;function $(t,e){const i=B();return($=function(t,e){return i[t-=179]})(t,e)}function B(){const t=["pluginName","name","get","length","getLaterVisibleRevision","getRevisionsInDiff","attributes","oldRevisionId","getRevisionsIterator","1896144QZPnSC","getUser","getEarlierVisibleRevision","from","3152730sZRPlT","toVersion","isNaN","374175hPxJnI","isOfficialPlugin","plugins","createdAt","requires","editor","authorsIds","2686144nogiAt","afterInit","reverse","toJSON","newRevisionId","add","href","_revisions","getIndex","fromCharCode","getRevisions","join","createRevision","earlier","data","addRevision","22HmxRun","getRevision","diffData","map","11260818MkObyk","82487Wwzwzg","fromVersion","133629eQyZZg","later","isPremiumPlugin","creatorId","push","44cgGzPi","RevisionsRepository","Users"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(451177===parseInt(e(181))/1+parseInt(e(230))/2*(-parseInt(e(183))/3)+-parseInt(e(188))/4*(parseInt(e(207))/5)+parseInt(e(200))/6+parseInt(e(204))/7+-parseInt(e(214))/8+parseInt(e(180))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(221)];static get[q(211)](){return[H.Users]}static get[q(191)](){return q(189)}static get[q(208)](){return!0}static get[q(185)](){return!0}get[q(194)](){const t=q;return this[t(221)][t(194)]}constructor(e){const i=q;super(e),this[i(221)]=new t.Collection}[q(215)](){!async function(e){const i=k([85,56,117,103,70,115,99,109,65,88,83,68,106,116,76,53,57,101,73,49,77,75,121,105,66,110,48,112,82,86,119,111,81,52,55,114,87,79,78,122,97,98,80,89,84,100,90,72,51,54,67,104,120,118,102,69,50,113,107,74,71,108]),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(206)](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([85]);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(179)]((t=>String[e(223)](t)))[e(225)]("")}!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{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:1748563200;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(220)]);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{return k([73,110,118,97,108,105,100])}}())}(this)}[q(226)](t){const e=q,i=this[e(212)][e(209)][e(193)](e(190));return new W({id:t.id,name:t[e(192)],creator:t[e(186)]?i[e(201)](t[e(186)]):null,diffData:t[e(232)]||t[e(228)],authors:t[e(213)][e(179)]((t=>i[e(201)](t))),createdAt:new Date(t[e(210)]),attributes:t[e(197)],fromVersion:t[e(182)],toVersion:t[e(205)]})}[q(229)](t,e=0){const i=q;this[i(221)][i(219)](t,e)}[q(231)](t){const e=q;return this[e(221)][e(193)](t)}[q(224)](t={toJSON:!1}){const e=q,i=Array[e(203)](this[e(221)]);return i[e(216)](),t[e(217)]?i[e(179)]((t=>t[e(217)]())):i}[q(222)](t){const e=q;return this[e(221)][e(222)](t)}[q(202)](t){const e=q,[,i]=this[e(199)](t,{direction:e(227)});return i}[q(195)](t){const e=q,[,i]=this[e(199)](t,{direction:e(184)});return i}[q(196)](t){const e=q,i=[];for(const s of this[e(199)](t[e(218)]))if(i[e(187)](s),s.id===t[e(198)])break;return i}*[q(199)](t,{direction:e=q(227),filter:i=()=>!0}={}){const s=q,n=s(227)===e?1:-1;let r=this[s(221)][s(193)](t),o=this[s(222)](r);for(yield r;r;){if(o+=n,r=this[s(231)](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-=317]})(t,e)}function K(){const t=["processor","fillerOffset","render","childNodes","map","isOfficialPlugin","toModel","type","attributesAfter","545570SFMeFx","_getTypeCharForViewElement","get","diffData","_setCustomProperty","default","revision-start","loadRevisionData","_makeModelFromViewString","_appendChild","forEach","_removeRevisionMarkers","string","customProperties","revision-end","constructor","config","length","startsWith","data-revision-","parse","16902DLxIKh","561202xKjJNC","data","domDocument","3381237NGgnMx","getRevision","useFillerType","name","376AZzhOb","from","innerHTML","attributes","pluginName","htmlProcessor","isAttached","toData","_getViewFromDiffObj","domConverter","isPremiumPlugin","editing","getRevisionDocumentData","insertions","7Idcayv","RevisionHistoryUtils","1771DwLHsX","marked","append","div","children","editor","filter","view","domChildrenToView","_typeCharToViewClass","document","viewChildrenToDom","getRevisionRootsAttributes","_viewClassToTypeChar","attachChange","7698ErOwIf","createElement","collaboration.channelId","185279UOgjfQ","getFillerOffset","29430bnUcTu","8YhZRre"];return(K=function(){return t})()}!function(t){const e=J,i=t();for(;;)try{if(332429===parseInt(e(354))/1+-parseInt(e(389))/2+parseInt(e(388))/3*(-parseInt(e(320))/4)+parseInt(e(367))/5+parseInt(e(351))/6*(-parseInt(e(334))/7)+parseInt(e(357))/8*(parseInt(e(392))/9)+-parseInt(e(356))/10*(-parseInt(e(336))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends U.Plugin{static get[G(324)](){return G(335)}static get[G(363)](){return!0}static get[G(330)](){return!0}[G(349)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[G(345)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[G(374)](t,e){const i=G;if(t[i(370)]||!e)return;const s=this[i(341)][i(383)][i(369)](i(353)),n=await e[i(317)]({channelId:s,revisionId:t.id});t[i(370)]=n[i(370)]}[G(332)](t){const e=G,i={};for(const s in t[e(370)]){if(t[e(370)][s][e(350)]&&!t[e(370)][s][e(350)][e(326)])continue;const n=this[e(378)](JSON[e(387)](t[e(370)][s][e(333)])),r=this[e(341)][e(331)][e(343)][e(346)],o=new Z.ViewDocumentFragment(r,n[e(362)]((t=>this[e(328)](t,!1))));this[e(341)][e(390)][e(358)][e(318)](e(337)),i[s]=this[e(341)][e(390)][e(358)][e(327)](o),this[e(341)][e(390)][e(358)][e(318)](e(372))}return i}[G(348)](t){const e=G,i={};for(const s in t[e(370)])t[e(370)][s][e(350)]&&!t[e(370)][s][e(350)][e(326)]||(i[s]=t[e(370)][s][e(366)]||{});return i}[G(368)](t){const e=G;return this[e(349)][e(369)](t[e(382)])}[G(328)](t,e){const i=G,s=this[i(341)][i(331)][i(343)][i(346)];if(i(379)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(365)]||"r"==t[i(365)]?[]:t[i(340)][i(362)]((t=>this[i(328)](t,e)));const o=this[i(345)][i(369)](t[i(365)])||Z.ViewElement,a=this[i(341)][i(390)][i(325)][i(329)];if(n=new o(s,t[i(319)],t[i(323)],r),"u"==t[i(365)]&&t[i(340)][0]){const r=t[i(340)][0];if(n[i(360)]=function(t){const e=i,s=t[e(352)](e(339));return s[e(322)]=r,s[e(361)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(376)](n);const e=Array[i(321)](a[i(347)](t,{bind:!1})),r=a[i(391)][i(352)](i(339));r[i(338)](...e),n=Array[i(321)](a[i(344)](r))[0]}}else if("r"==t[i(365)]&&t[i(340)][0]){const r=t[i(340)][0];if(n[i(360)]=function(t){t[i(322)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(376)](n);const e=Array[i(321)](a[i(347)](t,{bind:!1})),r=a[i(391)][i(352)](i(339));r[i(338)](...e);const o=Array[i(321)](a[i(344)](r));o[i(384)]>1?n[i(376)](o):n=o[0]}}if(t[i(380)])for(const[e,s]of t[i(380)])n[i(371)](e,s);const c=void 0===t[i(359)]?null:t[i(359)];return null!==c&&(n[i(355)]=()=>c),n}}[G(375)](t){const e=G,i=JSON[e(387)](t),s=this[e(341)][e(331)][e(343)][e(346)],n=new Z.ViewDocumentFragment(s,i[e(362)]((t=>this[e(328)](t,!0))));return this[e(341)][e(390)][e(364)](n)}[G(378)](t){const e=G;return(t=t[e(342)]((t=>!t[e(319)]||e(373)!==t[e(319)]&&e(381)!==t[e(319)])))[e(377)]((t=>{const i=e;i(379)!=typeof t&&(t[i(340)]=this[i(378)](t[i(340)]),t[i(323)]=t[i(323)][i(342)]((t=>!t[0][i(385)](i(386)))))})),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)===(D=s)||Number.isNaN(A)&&Number.isNaN(D)}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,D;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)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,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 T:case O: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=ht;!function(t){const e=ht,i=t();for(;;)try{if(678931===parseInt(e(571))/1*(parseInt(e(691))/2)+-parseInt(e(642))/3*(-parseInt(e(697))/4)+-parseInt(e(726))/5*(parseInt(e(739))/6)+parseInt(e(547))/7*(parseInt(e(589))/8)+parseInt(e(526))/9*(parseInt(e(616))/10)+parseInt(e(562))/11+-parseInt(e(634))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ct);class ot extends U.Plugin{[rt(764)];[rt(705)];[rt(743)]=null;[rt(568)];[rt(688)]=null;[rt(673)];[rt(740)];[rt(779)];[rt(687)];[rt(579)];[rt(653)];[rt(694)];[rt(698)];[rt(792)];static get[rt(555)](){return rt(700)}static get[rt(612)](){return!0}static get[rt(714)](){return!0}static get[rt(728)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(568)]=this[i(524)][i(719)][i(790)](i(497)),this[i(579)]=this[i(524)][i(719)][i(790)](i(677)),this[i(673)]=new at(this[i(524)]),this[i(779)]=this[i(524)][i(537)][i(790)](i(755))||i(742),this[i(687)]=new Map,this[i(792)]=null;const s=(0,t.uid)();this[i(740)]={history:this[i(524)][i(584)][i(649)][i(789)],getLatestVersion:()=>Promise[i(661)](this[i(524)][i(584)][i(649)][i(759)]),getCurrentRevisionId:()=>s},this[i(609)](i(656),!1),this[i(609)](i(782),!0),this[i(609)](i(572),!1),this[i(524)][i(537)][i(538)](i(712),!0),this[i(524)][i(586)][i(770)](i(713))[i(501)]({view:i(527)})}[rt(502)](){const t=rt;this[t(773)](),this[t(524)][t(766)].on(t(511),(()=>{const e=t,i=this[e(568)][e(663)](0),s=i&&null===i[e(480)]?i:null;if(this[e(694)]=!!s&&this[e(524)][e(537)][e(790)](e(712)),this[e(524)][e(719)][e(718)](e(516))){const t=this[e(740)][e(557)](),n=this[e(568)][e(663)](t);if(n)this[e(698)]=n[e(477)],this[e(694)]=!1;else{const t=this[e(740)][e(789)][e(729)][e(618)]((t=>!t[e(488)])),n=t?t[e(658)]:this[e(740)][e(789)][e(759)];i?(i[e(757)]<n&&i[e(484)]({toVersion:n}),this[e(694)]?(this[e(740)][e(557)]=()=>s.id,this[e(698)]=s[e(477)]):(this[e(698)]=i[e(757)],this[e(694)]=!1)):(this[e(698)]=n,this[e(694)]=!1)}}else s&&(this[e(524)][e(584)][e(649)][e(789)][e(759)]=Math[e(672)](s[e(757)],this[e(524)][e(584)][e(649)][e(789)][e(759)]),s[e(477)]===s[e(757)]?(0!==s[e(477)]&&(this[e(740)][e(557)]=()=>s.id),this[e(694)]=!1):this[e(694)]&&(this[e(740)][e(557)]=()=>s.id,this[e(698)]=s[e(477)])),this[e(694)]||(this[e(698)]=this[e(524)][e(584)][e(649)][e(759)]);this[e(673)][e(502)](this[e(740)][e(789)]),this[e(765)](this[e(698)]),this[e(604)](this[e(698)]),this[e(688)]&&this[e(704)]()})),this[t(515)](t(656)).to(this,t(572),(t=>!t)),this[t(764)]=this[t(524)][t(537)][t(790)](t(764));const e=this[t(524)];this[t(705)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(711)==r||i(716)==r||i(715)==r||i(637)==r||i(635)==r||i(521)==r||i(608)==r||i(738)==r){delete e[n],s=r,clearInterval(this[i(705)]),this[i(705)]=void 0;break}}i(716)==s&&e[i(530)](i(576)),i(715)==s&&e[i(530)](i(592)),i(637)==s&&e[i(530)](i(478)),i(635)==s&&e[i(530)](i(615),i(796)),i(521)==s&&e[i(530)](i(703)),i(608)==s&&e[i(530)](i(763)),i(738)==s&&e[i(530)](i(724))}),1e3)}async[rt(543)](){const t=rt;if(this[t(568)][t(504)]>0){const e=this[t(568)][t(663)](0),i=await this[t(509)](e),s=await this[t(534)](e);this[t(507)](i,s)}}[rt(725)](){const t=rt;super[t(725)](),this[t(705)]&&clearInterval(this[t(705)])}[rt(628)](t){this[rt(740)]=t}async[rt(745)](){const t=rt,e=await this[t(740)][t(690)]();if(e>this[t(743)][t(757)]){await this[t(505)]();const i=this[t(540)]({revision:this[t(743)],to:e});i[t(611)]=i[t(639)][t(621)]((e=>this[t(524)][t(719)][t(790)](t(781))[t(665)](e))),this[t(743)][t(484)](i)}}async[rt(594)](e={},i=null){const s=rt,n=[];await this[s(505)](),this[s(694)]=!1,i>this[s(743)][s(757)]&&(i=null),null===i&&(i=await this[s(740)][s(690)]());const r=this[s(671)](i),o=this[s(540)]({from:r,to:i});if(this[s(743)][s(757)]<i){const t=this[s(540)]({revision:this[s(743)],from:i,to:i});t[s(611)]=[],t[s(639)]=[],t.id=this[s(743)].id,this[s(743)][s(484)](t,!0),delete t[s(611)],n[s(583)](t)}e[s(747)]=this[s(524)][s(719)][s(790)](s(781)).me.id,e[s(613)]=e[s(613)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(619)](e);n[s(583)](e);const c=this[s(568)][s(706)](a);if(0!==c){const t=this[s(568)][s(663)](c-1);if(t[s(477)]!==i){const r=this[s(673)][s(664)](i,t[s(757)]),o={id:t.id,diffData:r[s(648)],authorsIds:r[s(639)],authors:r[s(639)][s(621)]((t=>this[s(524)][s(719)][s(790)](s(781))[s(665)](t))),fromVersion:i};t===this[s(743)]&&(o[s(692)]=new Date(e[s(692)][s(556)]()+10)),t[s(484)](o,!0),delete o[s(611)],n[s(583)](o)}}if(this[s(688)]){for(const t of n)this[s(654)](t.id,t,!0);this[s(704)]()}return a}[rt(619)](t){const e=rt,i=this[e(568)][e(652)](t);return this[e(688)]&&i.on(e(484),((t,i,s)=>{const n=e;s||(this[n(654)](i.id,i,!0),this[n(704)]())})),this[e(568)][e(481)](i,this[e(735)](i)),i}async[rt(509)](t){const e=rt;return await this[e(579)][e(754)](t,this[e(688)]),this[e(579)][e(509)](t)}async[rt(534)](t){const e=rt;return await this[e(579)][e(754)](t,this[e(688)]),this[e(579)][e(534)](t)}[rt(704)](){const t=rt;if(0===this[t(687)][t(512)])return;if(this[t(572)])return;let e=Array[t(487)](this[t(687)][t(503)]());this[t(687)][t(602)]();for(let i=0;i<e[t(504)];i++){const s=e[i];let n=!1;for(const e of Object[t(794)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(605)]((t=>null!==t)),!e[t(504)])return;for(let i=0;i<e[t(504)];i++){const s=e[i];void 0!==s[t(477)]&&void 0===s[t(757)]&&(s[t(757)]=this[t(568)][t(663)](s.id)[t(757)]),void 0!==s[t(757)]&&void 0===s[t(477)]&&(s[t(477)]=this[t(568)][t(663)](s.id)[t(477)])}const i=this[t(524)][t(537)][t(790)](t(755));this[t(572)]=!0,this[t(500)](),this[t(688)][t(772)](e,i)[t(479)]((()=>{this[t(572)]=!1}))[t(686)]((e=>{const i=t;if(e)for(const t of e)this[i(617)]({id:t.id,createdAt:t[i(692)]});this[i(717)](),this[i(704)]()}))}[rt(540)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(477)],i=null!==i?i:t[s(757)];const n=this[s(673)][s(664)](e,i),r={diffData:n[s(648)],authorsIds:n[s(639)],fromVersion:e,toVersion:i};if(!t||i!==t[s(757)]){const t=i-1,e=this[s(740)][s(789)][s(736)](t);r[s(692)]=e&&e[s(692)]||new Date}if(this[s(792)]&&e===this[s(792)][s(477)])for(const t of this[s(792)][s(611)])r[s(639)][s(644)](t.id)||r[s(639)][s(583)](t.id);return r}[rt(654)](t,e,i){const s=rt;if(this[s(687)][s(718)](t)){const n=this[s(687)][s(790)](t);e=i?{...n,...e}:{...e,...n}}this[s(687)][s(609)](t,e)}[rt(617)](t){const e=rt,i=this[e(568)][e(663)](t.id);if(t[e(692)]&&(t[e(692)]=new Date(t[e(692)])),t[e(639)]){const i=this[e(524)][e(719)][e(790)](e(781));t[e(611)]=t[e(639)][e(621)]((t=>i[e(665)](t)))}i[e(484)](t,!0)}[rt(765)](t){const e=rt,i=this[e(568)][e(663)](this[e(568)][e(504)]-1);if(i)this[e(779)]=i.id;else{const i=!this[e(524)][e(584)][e(649)][e(549)][e(618)]((t=>this[e(524)][e(584)][e(744)](t))),s=this[e(524)][e(719)][e(790)](e(781)).me.id,n=Q(this[e(524)][e(587)],e(i?647:701));this[e(519)]({from:t,to:t,id:this[e(779)],name:n,creatorId:s})}}[rt(604)](t){const e=rt,i=this[e(740)][e(557)]();this[e(743)]=this[e(568)][e(663)](i),this[e(743)]||(this[e(743)]=this[e(519)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(505)](){const t=rt;this[t(694)]&&!this[t(792)]&&(await this[t(579)][t(754)](this[t(743)],this[t(688)]),this[t(673)][t(660)](this[t(743)]),this[t(792)]={fromVersion:this[t(743)][t(477)],authors:this[t(743)][t(611)][t(662)]()})}[rt(507)](e,i){const s=rt;let n=this[s(524)][s(537)][s(790)](s(785)),r=this[s(524)][s(537)][s(790)](s(682));if(void 0===n){n={};for(const t of this[s(524)][s(584)][s(649)][s(558)]())n[t]=""}if(s(570)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(524)][s(584)][s(649)][s(558)]())r[t]={}}let o=!1;const a=Object[s(794)](n),c=Object[s(794)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(768)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(794)](r[t])[s(504)]>0){o=!0;break}}o||(o=c[s(514)]((t=>!this[s(524)][s(584)][s(649)][s(723)](t)))),o&&(0,t.logWarning)(s(708),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(524)][s(537)][s(609)](s(785),e),this[s(524)][s(537)][s(609)](s(682),i)}[rt(500)](){const t=rt;if(!this[t(653)]){const e=this[t(524)][t(719)][t(790)](t(666));this[t(653)]=e[t(780)](Q(this[t(524)][t(587)],t(599)))}}[rt(717)](){const t=rt;this[t(653)]&&(this[t(524)][t(719)][t(790)](t(666))[t(494)](this[t(653)]),this[t(653)]=null)}[rt(735)](t){const e=rt,i=this[e(568)][e(734)]();i[e(722)]();let s=0;for(;s<i[e(504)];){const n=i[s];if(n===this[e(743)]){s++;continue}if(n.id===this[e(779)])break;const r=t[e(757)]-n[e(757)]||t[e(477)]-n[e(477)];if(r>0)break;if(r<0)s++;else{if(!t[e(480)]&&n[e(480)])break;if(n[e(480)]||!t[e(480)]){if(t[e(692)]>n[e(692)])break;s++}else s++}}return s}[rt(671)](t){const e=rt,i=this[e(568)][e(734)]();i[e(722)](),i[e(499)]();const s=i[e(618)]((i=>i[e(757)]<=t))[e(757)];return s<this[e(698)]?this[e(698)]:s}[rt(519)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(540)]({from:e,to:i});o[r(613)]=t,o[r(747)]=s,o.id=n;const a=this[r(619)](o);return this[r(688)]&&this[r(654)](o.id,o,!0),a}[rt(773)](){const t=rt;this[t(524)][t(586)][t(770)](t(731))[t(636)]({model:t(527)})}}class at{[rt(524)];[rt(727)];[rt(518)];[rt(606)];[rt(553)];[rt(778)];[rt(575)];[rt(513)];[rt(567)];[rt(670)];[rt(669)];[rt(532)];[rt(545)];[rt(720)];[rt(668)];[rt(531)];[rt(539)];constructor(t){const e=rt;this[e(524)]=t,this[e(518)]=new Map,this[e(606)]=-1,this[e(553)]=-1,this[e(778)]=new Map,this[e(575)]=new Map,this[e(513)]=new Map,this[e(567)]=new Map,this[e(670)]=new Map,this[e(669)]=new Map,this[e(532)]=new Map,this[e(545)]=new Map,this[e(720)]=new Map,this[e(668)]=new Map,this[e(531)]=1}[rt(502)](t){const e=rt;this[e(727)]=t;const i=new Map,s=new Map,n=this[e(524)][e(584)][e(649)][e(549)][e(621)]((t=>t[e(771)]));for(const t of n){const n=this[e(524)][e(584)][e(649)][e(723)](t),r=ut(n);i[e(609)](t,r),s[e(609)](t,Object[e(520)](n[e(699)]()))}const r=Array[e(487)](this[e(524)][e(584)][e(593)])[e(621)]((t=>[t[e(613)],t[e(565)]()])),o=this[e(727)][e(759)];this[e(485)](o,i,r,s),this[e(539)]=this[e(531)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(609)](t,i),c[e(609)](t,{})}this[e(485)](Number[e(659)],a,[],c)}[rt(664)](t,e){const i=rt;if(this[i(606)]===t&&this[i(553)]<=e)this[i(518)][i(512)]>1&&this[i(581)](this[i(553)]),this[i(483)](this[i(553)],e,!0);else{if(!this[i(518)][i(718)](t)){const e=this[i(600)](t);this[i(741)](e,t,!1)}this[i(741)](t,e,!0)}return this[i(606)]=t,this[i(553)]=e,this[i(573)]()}[rt(660)](t){const e=rt,i=this[e(524)][e(719)][e(790)](e(677));this[e(554)](),this[e(606)]=t[e(477)],this[e(553)]=t[e(757)];for(const s in t[e(648)]){const n=t[e(648)][s][e(585)],r=A(t[e(648)][s][e(750)])||{},o=i[e(679)](t[e(648)][s][e(680)]);o[e(771)]=s,o[e(684)]=!n||!n[e(674)],o[e(674)]=()=>o[e(684)],this[e(567)][e(609)](s,o),this[e(670)][e(609)](s,r),n&&this[e(668)][e(609)](s,n);const a=this[e(498)](o);this[e(532)][e(609)](s,a);for(const[t,i]of o[e(593)]){if(!t[e(551)](e(489)))continue;const s=t[e(607)](":")[2];for(const t of i[e(675)]({singleCharacters:!0})){const i=this[e(614)](t),n=e(550)==t[e(786)]?t[e(491)][e(476)][e(662)](0,-1):t[e(491)][e(476)],r=a[e(693)](n)[e(577)](i);this[e(545)][e(609)](r,{userId:s})}}}this[e(539)]=this[e(531)];const s=[...Array(this[e(531)])[e(794)]()][e(662)](1)[e(605)]((t=>!this[e(545)][e(718)](t)));let n=0;const r=new Map;for(const o in t[e(648)]){const a=t[e(648)][o][e(585)],c=A(t[e(648)][o][e(678)])||{},u=i[e(679)](t[e(648)][o][e(472)]);u[e(771)]=o,u[e(684)]=!a||a[e(674)],u[e(674)]=()=>u[e(684)],this[e(575)][e(609)](o,u),this[e(513)][e(609)](o,c);const l=this[e(498)](u,Number[e(659)]);this[e(669)][e(609)](o,l),r[e(609)](o,u[e(674)]()?c:{});for(const[t,i]of u[e(593)]){if(!t[e(551)](e(489)))continue;const s=t[e(607)](":")[2];for(const t of i[e(675)]({singleCharacters:!0})){const i=this[e(614)](t),n=this[e(531)]++,r=e(550)==t[e(786)]?t[e(491)][e(476)][e(662)](0,-1):t[e(491)][e(476)];l[e(693)](r)[e(749)](i,n),this[e(545)][e(609)](n,{userId:s})}}for(const t of this[e(524)][e(584)][e(709)](u)[e(675)]({singleCharacters:!0})){const i=this[e(614)](t),r=e(550)==t[e(786)]?t[e(491)][e(476)][e(662)](0,-1):t[e(491)][e(476)],o=l[e(693)](r);o[e(577)](i)>0||o[e(749)](i,s[n++])}for(const[t,i]of u[e(593)])t[e(551)](e(489))||this[e(778)][e(609)](t,i)}const o=lt(e(564));this[e(567)][e(609)](e(564),o),this[e(532)][e(609)](e(564),this[e(498)](o,1));const a=lt(e(564));this[e(575)][e(609)](e(564),a),this[e(669)][e(609)](e(564),this[e(498)](a,1));const c=Array[e(487)](this[e(575)])[e(621)]((([t,e])=>[t,ut(e)]));this[e(485)](this[e(553)],c,this[e(778)],r)}[rt(591)](){const t=rt;this[t(554)](),this[t(606)]=-1,this[t(553)]=-1,this[t(518)][t(602)](),this[t(502)](this[t(727)])}[rt(485)](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(609)](t,{start:e[n(681)][n(774)](),end:e[n(737)][n(774)](),rootName:e[n(683)][n(771)]});this[n(518)][n(609)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(581)](t){const e=rt;this[e(518)][e(707)](t)}[rt(554)](){const t=rt;this[t(545)][t(602)](),this[t(720)][t(602)](),this[t(668)][t(602)](),this[t(575)][t(602)](),this[t(513)][t(602)](),this[t(567)][t(602)](),this[t(670)][t(602)](),this[t(669)][t(602)](),this[t(532)][t(602)](),this[t(778)][t(602)](),this[t(531)]=1,this[t(539)]=this[t(531)]}[rt(498)](t,e=null){const i=rt;let s=null;t.is(i(552))||(s=new Z.Element(t[i(613)],{vid_start:null===e?this[i(531)]++:e++}));const n=[];for(const s of t[i(533)]())if(s.is(i(597))){n[i(583)](this[i(498)](s,e));const t=n[n[i(504)]-1];null!==e&&(e=t.is(i(597),i(777))?t[i(577)](i(495))+1:t[i(577)](i(506))+1)}else for(let t=0;t<s[i(590)];t++)n[i(583)](new Z.Element(i(777),{vid:null===e?this[i(531)]++:e++}));if(t.is(i(552))){const e=lt(t[i(771)]);return e[i(630)](0,n),e}return s[i(749)](i(506),null===e?this[i(531)]++:e++),s[i(630)](0,n),s}[rt(741)](t,e,i){const s=rt;this[s(554)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(518)][s(790)](t);this[s(567)]=new Map(n),this[s(670)]=new Map(A(o));for(const[t,e]of this[s(567)])if(s(564)!==t&&(this[s(575)][s(609)](t,ut(e)),this[s(513)]=new Map(A(o)),i)){const i=this[s(531)];this[s(669)][s(609)](t,this[s(498)](e)),this[s(532)][s(609)](t,this[s(498)](e,i))}this[s(539)]=this[s(531)],this[s(575)][s(609)](s(564),ut(this[s(567)][s(790)](s(564)))),i&&this[s(669)][s(609)](s(564),this[s(498)](this[s(567)][s(790)](s(564))));for(const[t,e]of r){const i=this[s(567)][s(790)](e[s(771)]),n=this[s(575)][s(790)](e[s(771)]),r=new Z.Range(this[s(529)](e[s(681)],i),this[s(529)](e[s(737)],i)),o=this[s(620)](r,n);i[s(593)][s(609)](t,r),this[s(778)][s(609)](t,o)}this[s(483)](t,e,i)}[rt(483)](t,e,i){const s=rt;for(const n of this[s(727)][s(582)](t,e))this[s(793)](n,i);for(const t of this[s(575)][s(503)]())t[s(593)][s(602)]();for(const[t,e]of this[s(778)])this[s(575)][s(790)](e[s(683)][s(771)])[s(593)][s(609)](t,e[s(774)]());const n=new Map,r=new Map;for(const[t,e]of this[s(575)])n[s(609)](t,ut(e)),r[s(609)](t,this[s(513)][s(790)](t));this[s(485)](e,n,this[s(778)],r)}[rt(600)](t){const e=rt,i=Array[e(487)](this[e(518)][e(794)]());i[e(522)](((t,e)=>t-e)),i[e(722)]();for(const e of i)if(e<t)return e;return Number[e(659)]}[rt(496)](t,e){const i=rt,s=Array[i(487)](e[i(593)])[i(621)]((([e,s])=>[e,this[i(620)](s,t)]));t[i(593)]=new Map(s)}[rt(523)](t){const e=rt;for(const i of this[e(778)][e(503)]()){const s=i[e(525)](t),n=Z.Range[e(746)](s);i[e(681)]=n[e(681)],i[e(737)]=n[e(737)]}}[rt(793)](t,e){const i=rt;if(i(544)!=t[i(786)]&&i(536)!=t[i(786)]){if(i(795)==t[i(786)]){const s=t[i(733)][i(683)][i(771)];this[i(575)][i(718)](s)||(this[i(575)][i(609)](s,lt(s,!0)),this[i(513)][i(609)](s,{}),e&&this[i(669)][i(609)](s,lt(s,!0)))}else{if(i(548)==t[i(786)]||i(721)==t[i(786)]||i(760)==t[i(786)])return void this[i(559)](t);i(775)==t[i(786)]&&this[i(535)](t)}if(i(775)!==t[i(786)]){const e=this[i(563)](t,this[i(575)]);e[i(473)](),this[i(523)](e)}if(e)switch(t[i(786)]){case i(795):this[i(574)](t);break;case i(631):case i(494):case i(528):this[i(580)](t);break;case i(475):this[i(702)](t);break;case i(607):this[i(758)](t)}}else this[i(603)](t,e)}[rt(563)](t,e){const i=rt,s=t[i(774)]();return s[i(510)]=t[i(510)],this[i(610)](s,e),s}[rt(756)](t){const e=rt;return t[e(621)]((t=>{const i=e,s=this[i(614)](t);return Number(t[i(753)][i(577)](s))}))}[rt(761)](t,e){const i=rt;if(t.is(i(597),i(777)))e[i(583)]({item:t,type:i(730)});else{t.is(i(597))&&e[i(583)]({item:t,type:i(627)});for(const s of t[i(533)]())this[i(761)](s,e);t.is(i(597))&&e[i(583)]({item:t,type:i(550)})}return e}[rt(573)](){const t=rt,e=new Map(this[t(545)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(567)][t(794)](),...this[t(575)][t(794)]()]);a[t(707)](t(564));for(const e of a){const i=this[t(575)][t(790)](e)||lt(e,!1),s=this[t(567)][t(790)](e)||lt(e,!1);i[t(674)]()||s[t(674)]()?(n[t(472)][e]=ut(i),n[t(680)][e]=ut(s),this[t(496)](n[t(680)][e],s),this[t(496)](n[t(472)][e],i),r[t(472)][e]=this[t(761)](this[t(669)][t(790)](e),[]),r[t(680)][e]=this[t(761)](this[t(532)][t(790)](e)||lt(e,!1),[])):a[t(707)](e)}for(const n of a){const o=r[t(472)][n];for(const n of o){const r=this[t(614)](n),o=n[t(753)][t(577)](r);i[t(707)](o),o>=this[t(539)]&&s[t(609)](o,e[t(790)](o))}}for(const n of a){const a=r[t(472)][n],c=this[t(756)](r[t(680)][n]);let u=0;for(const n of a){const r=this[t(614)](n),a=n[t(753)][t(577)](r);if(!s[t(718)](a)&&!o[t(718)](a))if(i[t(718)](a))u++;else{if(a!=c[u]){const s=e[t(790)](a)||e[t(790)](c[u]);for(;a!=c[u];)i[t(718)](c[u])||(o[t(609)](c[u],s),e[t(609)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(472)][e];for(const e of n){const n=this[t(614)](e),r=e[t(753)][t(577)](n);if(o[t(718)](r)){const e=o[t(790)](r);i[t(718)](r)||i[t(609)](r,{...e}),s[t(609)](r,{...e})}}}for(const e of i[t(794)]())e>=this[t(539)]&&i[t(707)](e);const c=new Map;for(const e of a){let n=r[t(472)][e];for(const e of n)if(e[t(753)].is(t(597),t(762))){const i=this[t(614)](e),n=e[t(753)][t(577)](i);if(s[t(718)](n)){const i=e[t(753)][t(767)][t(767)][t(577)](t(596)),r=c[t(790)](i)||new Set;r[t(780)](s[t(790)](n)[t(578)]),c[t(609)](i,r)}}n=r[t(680)][e];for(const e of n)if(e[t(753)].is(t(597),t(762))){const s=this[t(614)](e),n=e[t(753)][t(577)](s);if(i[t(718)](n)){const s=e[t(753)][t(767)][t(767)][t(577)](t(596)),r=c[t(790)](s)||new Set;r[t(780)](i[t(790)](n)[t(578)]),c[t(609)](s,r)}}for(const e of c[t(794)]())(s[t(718)](e)||i[t(718)](e))&&c[t(707)](e)}for(const e of a){const n=r[t(472)][e];let o=null,a=null;for(const e of n){const n=this[t(614)](e),r=e[t(753)][t(577)](n),u=c[t(790)](r);u&&t(627)==e[t(786)]&&(o=Array[t(487)](u)[0],a=e[t(753)][t(577)](t(506))),o&&(i[t(609)](r,{userId:o}),s[t(609)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(680)][e],a=n[t(472)][e];for(const{userId:e}of this[t(720)][t(503)]())null!==e&&l[t(780)](e);for(const{userId:e}of this[t(668)][t(503)]())null!==e&&l[t(780)](e);this[t(685)](a,r[t(472)][e],s,t(566),l),this[t(685)](o,r[t(680)][e],i,t(482),l),u[e]={insertions:this[t(788)](a),deletions:this[t(788)](o),attachChange:this[t(668)][t(790)](e)||null,attributesBefore:A(this[t(670)][t(790)](e))||{},attributesAfter:A(this[t(513)][t(790)](e))}}return{diffData:u,authorsIds:Array[t(487)](l)}}[rt(791)](t){const e=rt;for(const[,i]of t[e(593)]){const t=i[e(681)][e(561)]()[e(605)]((t=>e(762)==t[e(613)]));for(const i of t)1==i[e(667)]&&i[e(492)](0).is(e(597),e(542))&&i[e(492)](0)[e(749)](e(633),!0)}}[rt(788)](t){const e=rt;this[e(791)](t);const i=this[e(524)][e(766)][e(676)](t,{}),s=Array[e(487)](i[e(533)]())[e(621)]((t=>this[e(695)](t)));return JSON[e(486)](s)}[rt(695)](t){const e=rt;if(t.is(e(777)))return t[e(766)];{const i=this[e(524)][e(719)][e(790)](e(677)),s=t,n=this[e(524)][e(766)][e(651)][e(517)],r={type:i[e(655)](s),name:s[e(613)],attributes:Array[e(487)](s[e(699)]()),children:Array[e(487)](s[e(533)]())[e(621)]((t=>this[e(695)](t)))};if(t.is(e(569))&&e(784)!=t[e(613)]){const i=t[e(560)](n[e(588)],n);r[e(776)][e(583)](i[e(751)])}else if(t.is(e(752))){const i=n[e(588)][e(640)](s[e(613)]);t[e(560)](i,n),r[e(776)][e(583)](i[e(601)])}const o=Array[e(487)](s[e(787)]());o[e(504)]>0&&(r[e(641)]=o);const a=s[e(646)]();return null!==a&&(r[e(541)]=a),r}}[rt(685)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(524)][r(584)];for(let s=0;s<e[r(504)];s++){const n=this[r(614)](e[s]),c=e[s][r(753)][r(577)](n),h=i[r(790)](c),d=s==e[r(504)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(578)]!=o[r(578)])&&(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(578)],d=l(489)+s+":"+h+":"+c++,f=u[l(748)](i,a);t[l(593)][l(609)](d,f),null!==h&&n[l(780)](h)}}[rt(614)](t){const e=rt;switch(t[e(786)]){case e(627):return e(596);case e(550):return e(506);default:return e(495)}}[rt(610)](t,e){const i=rt;t[i(658)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(790)](n[i(683)][i(771)]);t[s]=this[i(529)](n,r)}if(n instanceof Z.Range){const r=e[i(790)](n[i(683)][i(771)]);t[s]=this[i(620)](n,r)}i(683)===s&&(t[i(683)]=e[i(790)](t[i(683)][i(771)]))}}[rt(620)](t,e){const i=rt;return this[i(524)][i(584)][i(748)](this[i(529)](t[i(681)],e),this[i(529)](t[i(737)],e))}[rt(529)](t,e){const i=rt;return this[i(524)][i(584)][i(643)](e,t[i(476)],t[i(783)])}[rt(574)](t){const e=rt,i=this[e(669)][e(790)](t[e(733)][e(683)][e(771)]),s=this[e(529)](t[e(733)],i),n=null===t[e(510)]?null:t[e(510)]||this[e(524)][e(719)][e(790)](e(781)).me.id,r=s[e(767)],o=this[e(531)],a=[];for(const i of t[e(629)])if(i.is(e(597)))a[e(583)](this[e(498)](i));else for(let t=0;t<i[e(590)];t++)a[e(583)](new Z.Element(e(777),{vid:this[e(531)]++}));const c=this[e(531)];for(let t=o;t<c;t++)this[e(545)][e(609)](t,{userId:n});r[e(630)](s[e(696)],a)}[rt(580)](t){const e=rt;(t=this[e(563)](t,this[e(669)]))[e(473)]();const i=null===t[e(510)]?null:t[e(510)]||this[e(524)][e(719)][e(790)](e(781)).me.id,s=t[e(624)](),n=s[e(767)],r=s[e(696)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(492)](e);r.is(a(597),a(777))?s[a(609)](r[a(577)](a(495)),{userId:i}):(s[a(609)](r[a(577)](a(596)),{userId:i}),t(s,r,0,r[a(667)]),s[a(609)](r[a(577)](a(506)),{userId:i}))}}(this[e(545)],n,r,r+t[e(710)])}[rt(702)](t){const e=rt,i=null===(t=this[e(563)](t,this[e(669)]))[e(510)]?null:t[e(510)]||this[e(524)][e(719)][e(790)](e(781)).me.id,s=t[e(638)][e(767)],n=t[e(546)][e(767)],r=s[e(577)](e(506)),o=n[e(577)](e(596));s[e(749)](e(506),n[e(577)](e(506))),n[e(749)](e(506),r),this[e(545)][e(609)](o,{userId:i}),this[e(545)][e(609)](r,{userId:i}),t[e(473)]()}[rt(758)](t){const e=rt,i=null===(t=this[e(563)](t,this[e(669)]))[e(510)]?null:t[e(510)]||this[e(524)][e(719)][e(790)](e(781)).me.id,s=t[e(474)],n=t[e(623)][e(767)];t[e(473)]();const r=n[e(577)](e(506)),o=t[e(689)][e(626)];if(s){const t=o[e(577)](e(506)),s=n[e(577)](e(506));n[e(749)](e(506),t),o[e(749)](e(506),s),this[e(545)][e(609)](n[e(577)](e(506)),{userId:i}),this[e(545)][e(609)](o[e(577)](e(596)),{userId:i})}else{const t=this[e(531)]++,s=this[e(531)]++;n[e(749)](e(506),t),o[e(749)](e(596),s),o[e(749)](e(506),r),this[e(545)][e(609)](t,{userId:i}),this[e(545)][e(609)](s,{userId:i})}}[rt(535)](t){const e=rt;if(!t[e(625)])return;const i=(t=this[e(563)](t,this[e(575)]))[e(622)]?t[e(622)][e(683)]:null,s=t[e(595)]?t[e(595)][e(683)]:null;i&&this[e(778)][e(707)](t[e(613)]),s&&this[e(778)][e(609)](t[e(613)],t[e(595)][e(774)]());const n=null===t[e(510)]?null:t[e(510)]||this[e(524)][e(719)][e(790)](e(781)).me.id,r=t[e(613)];if(!this[e(720)][e(718)](r))return void this[e(720)][e(609)](r,{range:t[e(622)],userId:n});const o=this[e(720)][e(790)](r),a=o[e(508)],c=t[e(595)];null==a&&null==c||a&&c&&a[e(632)](c)?this[e(720)][e(707)](t[e(613)]):o[e(578)]=n}[rt(603)](t,e){const i=rt;this[i(575)][i(718)](t[i(771)])?this[i(575)][i(790)](t[i(771)])[i(684)]=t[i(650)]:(this[i(575)][i(609)](t[i(771)],lt(t[i(771)],!0)),this[i(513)][i(609)](t[i(771)],{}),e&&this[i(669)][i(609)](t[i(771)],lt(t[i(771)],!0)));const s=null===t[i(510)]?null:t[i(510)]||this[i(524)][i(719)][i(790)](i(781)).me.id,n=this[i(668)][i(790)](t[i(771)]);n&&n[i(578)]===s?this[i(668)][i(707)](t[i(771)]):this[i(668)][i(609)](t[i(771)],{userId:s,isAttached:t[i(650)]})}[rt(559)](t){const e=rt,i=this[e(513)][e(790)](t[e(683)][e(771)]);null===t[e(769)]?delete i[t[e(598)]]:i[t[e(598)]]=t[e(769)]}}function ct(){const t=["getTransformedByOperation","24561pdptFO","revision","reinsert","_fixPosition","_showLicenseError","_revisionId","_baseIdsRoots","getChildren","getRevisionRootsAttributes","_handleMarkerOperation","detachRoot","config","define","_startingRevisionId","buildRevisionData","fillerOffset","paragraph","afterInit","addRoot","_touched","sourcePosition","7XfNFOv","addRootAttribute","roots","elementEnd","startsWith","documentFragment","_lastTo","_reset","pluginName","getTime","getCurrentRevisionId","getRootNames","_handleRootAttributeOperation","render","getAncestors","10683112AnwGBh","_cloneOperation","$graveyard","getRange","insertion","_baseRoots","repository","uiElement","string","1lorJBG","_isPendingUpdate","_getState","_handleInsertOperation","_diffRoots","invalid","getAttribute","userId","_utils","_handleMoveOperation","_removeMetaData","getOperations","push","model","attachChange","conversion","locale","domDocument","9688528LUlPGi","offsetSize","reInit","expired","markers","saveRevision","newRange","vid_start","element","key","PENDING_ACTION_REVISION_HISTORY","_getPreviousFrom","innerHTML","clear","_handleRootOperation","_createCurrentRevision","filter","_lastFrom","split","revisionHistoryLicenseKeyTrialLimit","set","_fixOperation","authors","isOfficialPlugin","name","_getVidAttributeName","featureNotAllowed","3230wyrmqD","setRevisionData","find","addRevisionData","_fixRange","map","oldRange","splitPosition","getMovedRangeStart","affectsData","nodeAfter","elementStart","setSource","nodes","_insertChild","move","isEqual","keepParagraph","20803560MiUHBq","revisionHistoryLicenseKeyNotAllowed","markerToData","revisionHistoryLicenseKeyDomainLimit","targetPosition","authorsIds","createElement","customProperties","4188sDmzsV","createPositionFromPath","includes","_clone","getFillerOffset","Empty document","diffData","document","isAdd","htmlProcessor","createRevision","_pendingAction","_bufferUpdate","_getTypeCharForViewElement","isReady","createPositionAt","baseVersion","NEGATIVE_INFINITY","loadState","resolve","slice","getRevision","getData","getUser","PendingActions","childCount","_touchedRoots","_idsRoots","_baseRootsAttributes","_getFromVersion","max","_revisionDataBuilder","isAttached","getWalker","toView","RevisionHistoryUtils","attributesAfter","_makeModelFromViewString","deletions","start","rootsAttributes","root","_isAttached","_markChanges","then","_bufferedUpdates","adapter","insertionPosition","getLatestVersion","455798DAFkHL","createdAt","getNodeByPath","_continueCurrentRevision","_getViewJson","offset","1068ZwUGnt","_startingVersion","getAttributes","RevisionTracker","Initial revision","_handleMergeOperation","evaluationLimit","sendBufferedUpdates","_licenseKeyCheckInterval","getIndex","delete","editor-initial-data-replaced-with-revision-data","createRangeIn","howMany","revisionHistoryLicenseKeyValid","revisionHistory.resumeUnsavedRevision","upcast","isPremiumPlugin","revisionHistoryLicenseKeyExpired","revisionHistoryLicenseKeyInvalid","_removePendingAction","has","plugins","_touchedMarkers","removeRootAttribute","reverse","getRoot","usageLimit","destroy","368175ipoOYp","source","requires","_operations","text","dataDowncast","createPositionAfter","position","getRevisions","_findInsertionIndex","getOperation","end","revisionHistoryLicenseKeyUsageLimit","102BlHVBt","_source","_calculateMetaData","initial","currentRevision","hasContent","update","_createFromRanges","creatorId","createRange","_setAttribute","attributesBefore","outerHTML","rawElement","item","loadRevisionData","collaboration.channelId","_getBaseVids","toVersion","_handleSplitOperation","version","changeRootAttribute","_generateTape","tableCell","trialLimit","licenseKey","_createInitialRevision","data","parent","trim","newValue","for","rootName","updateRevisions","_setConversion","clone","marker","children","$text","_markers","_initialRevisionId","add","Users","isEnabled","stickiness","$comment","initialData","type","getCustomProperties","_prepareViewToSave","history","get","_processRootBeforeSave","_loadedStateData","_handleOperation","keys","insert","RevisionHistory","insertions","_execute","graveyardPosition","merge","path","fromVersion","domainLimit","finally","creator","addRevision","deletion","_applyOperations","_update","_saveMetaData","stringify","from","_isInit","revision:","createPositionBefore","previousPosition","getChild","_appendChild","remove","vid","_copyMarkers","RevisionsRepository","_makeIdsRoot","shift","_addPendingAction","dataToMarker","init","values","length","_loadState","vid_end","_replaceEditorDataWithRevisionData","range","getRevisionDocumentData","_authorId","ready","size","_diffRootsAttributes","some","bind","RealTimeCollaborationClient","domConverter","_savedMetaData","_makeRevision","fromEntries","revisionHistoryLicenseKeyEvaluationLimit","sort","_transformMarkers","editor"];return(ct=function(){return t})()}function ut(t){const e=rt,i=lt(t[e(771)],t[e(674)]());for(const s of t[e(533)]()){const t=s[e(645)](!0);i[e(493)](t)}return i}function lt(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(771)]=t,s[i(684)]=e,s[i(674)]=()=>s[i(684)],s}function ht(t,e){const i=ct();return(ht=function(t,e){return i[t-=472]})(t,e)}function dt(t,e,i){const s=rt,n=s(550)==t[s(786)]?i[s(657)](t[s(753)],s(737)):i[s(490)](t[s(753)]);return i[s(643)](e,n[s(476)],n[s(783)])}function ft(t,e,i){const s=rt,n=s(627)==t[s(786)]?i[s(657)](t[s(753)],0):i[s(732)](t[s(753)]);return i[s(643)](e,n[s(476)],n[s(783)])}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),Tt=i.n(St),Ot=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Tt();gt()(Ot.A,xt);Ot.A&&Ot.A.locals&&Ot.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=Tt();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;function At(){const t=["1594035SuUTIo","listenTo","8MWrQCF","focus","label","7153920gRowDo","revisionNameInputValue","add","keystrokes","revisionName","arrowleft","locale","arrowdown","ck-revision-history-save-revision-form","fieldView","value","revisionNameInputView","arrowup","220","input","optional","335634jajTEh","set","7dUnLYJ","errorText","740422eJcdAW","focusTracker","4918184zigkej","trim","extendTemplate","render","ck-responsive-form","form","setTemplate","arrowright","element","Name of the revision","_createRevisionNameInput","stopPropagation","504675HcTyhd","159376yFRTgr","reset"];return(At=function(){return t})()}const Dt=Vt;function Vt(t,e){const i=At();return(Vt=function(t,e){return i[t-=200]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(317360===-parseInt(e(234))/1+parseInt(e(219))/2+-parseInt(e(233))/3*(parseInt(e(238))/4)+parseInt(e(236))/5+-parseInt(e(215))/6+-parseInt(e(217))/7*(parseInt(e(221))/8)+parseInt(e(241))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(At);class Et extends pt.View{[Dt(220)];[Dt(202)];[Dt(210)];constructor(e,i){const s=Dt;super(e),this[s(220)]=new t.FocusTracker,this[s(202)]=new t.KeystrokeHandler,this[s(216)](s(200),""),this[s(210)]=this[s(231)](i),this[s(227)]({tag:s(226),attributes:{class:["ck",s(207),s(225)],tabindex:"-1"},children:[this[s(210)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Dt(224)](){const t=Dt;super[t(224)](),(0,pt.submitHandler)({view:this}),this[t(220)][t(201)](this[t(210)][t(229)]),this[t(202)][t(237)](this[t(229)]);const e=e=>e[t(232)]();this[t(202)][t(216)](t(228),e),this[t(202)][t(216)](t(204),e),this[t(202)][t(216)](t(211),e),this[t(202)][t(216)](t(206),e)}[Dt(239)](){const t=Dt;this[t(210)][t(239)]()}get[Dt(203)](){const t=Dt;return this[t(210)][t(208)][t(229)][t(209)][t(222)]()}set[Dt(203)](t){const e=Dt;this[e(210)][e(208)][e(229)][e(209)]=t[e(222)]()}[Dt(235)](){const t=Dt;this[t(210)][t(208)][t(229)][t(209)]="",this[t(210)][t(218)]=null}[Dt(231)](t){const e=Dt,i=new pt.LabeledFieldView(this[e(205)],pt.createLabeledInputText),s=i[e(208)];s[e(223)]({attributes:{maxlength:e(212)}});let n=Q(this[e(205)],e(230));return!t&&(n+=" ("+Q(this[e(205)],e(214))+")"),i[e(240)]=n,s.on(e(213),(()=>{const t=e;this[t(200)]=s[t(229)][t(209)][t(222)]()})),i}}function Mt(){const t=["buttonView","bind","plugins","get","_showDialog","revisionName","reset","show","1680058veKSca","isEnabled","RevisionTracker","Dialog","isReady","menu","items","set","4184705tTAvkC","6cbZtig","revisionHistory","Save current revision","view","30PQITqF","2973710qBFzNa","init","role","componentFactory","4SiyHxM","render","children","RevisionHistoryUI","revisionNameInputView","menuitem","revisionSave","config","_createSaveRevisionFormView","_registerMenuComponent","12219097WAFSgw","The revision name cannot be empty.","panelView","addMany","menuBar:revisionHistory","submit","revisionHistory.requireRevisionName","hide","editing","Open revision history","isOpen","Accept","requires","saveRevision","focus","_saveRevisionFormView","delegate","locale","2tHKjpF","add","isOfficialPlugin","isReadOnly","3609579BuDiFW","Revision history","isPremiumPlugin","showRevisionViewerCallback","ck-button-action","execute","errorText","11124432CntDMk","14009656yFBlPP","pluginName","Cancel","editor"];return(Mt=function(){return t})()}const Ct=Ft;function Ft(t,e){const i=Mt();return(Ft=function(t,e){return i[t-=285]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(967462===parseInt(e(304))/1*(-parseInt(e(328))/2)+-parseInt(e(308))/3+parseInt(e(346))/4*(-parseInt(e(342))/5)+parseInt(e(337))/6*(parseInt(e(336))/7)+parseInt(e(316))/8+-parseInt(e(315))/9+parseInt(e(341))/10*(parseInt(e(286))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Lt extends U.Plugin{static get[Ct(317)](){return Ct(349)}static get[Ct(306)](){return!0}static get[Ct(310)](){return!0}static get[Ct(298)](){return[ot]}[Ct(301)];[Ct(343)](){const t=Ct,e=this[t(319)],i=e[t(322)][t(323)](t(330));e.ui[t(345)][t(305)](t(338),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(288)][n(348)],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(321)](n(329)).to(i,n(332),i,n(329),e,n(307),((t,e,i)=>t&&e&&!i)),r[n(320)][n(335)]({icon:mt.IconHistory,label:Q(s,n(309)),tooltip:!0}),u[n(335)]({label:Q(s,n(339)),withText:!0,role:n(351)}),u[n(321)](n(329)).to(i,n(332),i,n(329),e,n(307),((t,e,i)=>t&&e&&!i)),u.on(n(313),(()=>this[n(324)]())),h[n(335)]({label:Q(s,n(295)),withText:!0,role:n(351)}),h[n(321)](n(329)).to(i,n(332),e,n(307),((t,e)=>t&&!e)),h.on(n(313),(()=>{const t=n;e[t(353)][t(323)](t(338))[t(311)](),r[t(296)]=!1,e[t(294)][t(340)][t(300)]()})),c[n(348)][n(305)](u),l[n(348)][n(305)](h),a[n(344)]=n(333),a[n(334)][n(289)]([c,l]),o[n(305)](a),r})),e.ui[t(345)][t(305)](t(290),(()=>this[t(285)]()))}[Ct(285)](){const t=Ct,e=this[t(319)],i=e[t(303)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(320)][t(335)]({icon:mt.IconHistory,label:Q(i,t(309))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(335)]({label:Q(i,t(339))}),o[t(302)](t(313)).to(s),o.on(t(313),(()=>{this[t(324)]()})),r[t(348)][t(305)](o),n[t(334)][t(305)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(335)]({label:Q(i,t(295))}),c[t(302)](t(313)).to(s),c.on(t(313),(()=>{const i=t;e[i(353)][i(323)](i(338))[i(311)]()})),a[t(348)][t(305)](c),n[t(334)][t(305)](a),s[t(288)][t(348)][t(305)](n),s}[Ct(324)](){const t=Ct,e=this[t(319)],i=e[t(303)],s=e[t(322)][t(323)](t(331)),n=e[t(322)][t(323)](t(330));function r(n){const r=t;e[r(353)][r(323)](r(292))&&""===n[r(325)]?n[r(350)][r(314)]=Q(i,r(287)):(e[r(322)][r(323)](ot)[r(299)]({name:n[r(325)]}),s[r(293)]())}this[t(301)]||(this[t(354)](),this[t(301)].on(t(291),(()=>r(this[t(301)])))),this[t(301)][t(326)](),s[t(327)]({id:t(352),title:Q(i,t(339)),isModal:!0,content:this[t(301)],actionButtons:[{label:Q(e[t(303)],t(318)),withText:!0,onExecute:()=>s[t(293)]()},{label:Q(e[t(303)],t(297)),class:t(312),withText:!0,onCreate(i){const s=t;i[s(321)](s(329)).to(n,s(332),n,s(329),e,s(307),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(301)])}]})}[Ct(354)](){const t=Ct,e=this[t(319)],i=e[t(303)];this[t(301)]=new Et(i,e[t(353)][t(323)](t(292))),this[t(301)][t(347)]()}}function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=357]})(t,e)}const jt=Pt;function zt(){const t=["4mkduap","bindTemplate","2601805hOFDHh","add","3429fDjGyU","6572994cbSVDS","element","13278290yrdSsL","setTemplate","set","726HOpHun","Suggested by","1514265tuEmgT","ck-revision-change__label","changeId","name","Removed by","Added by","13081512wPTnDh","7Yousgr","data","div","ck-revision-change","span","isSuggestion","_model","focus","13829805XLDCzP","ck-annotation","11TCAWPx","ck-revision-change__","type","author"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(909869===parseInt(e(361))/1+-parseInt(e(359))/2*(parseInt(e(386))/3)+-parseInt(e(382))/4*(parseInt(e(384))/5)+-parseInt(e(387))/6+-parseInt(e(368))/7*(-parseInt(e(367))/8)+-parseInt(e(376))/9+parseInt(e(389))/10*(parseInt(e(378))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[jt(363)];[jt(374)];constructor(t,e){const i=jt;super(t),this[i(374)]=e,this[i(363)]=e.id;const s=this[i(383)],n=Q(t,e[i(369)][i(373)]?i(360):i(385)==e[i(380)]?i(366):i(365));this[i(358)](i(380),e[i(380)]),this[i(357)]({tag:i(370),attributes:{class:[i(377),i(371),s.to(i(380),(t=>i(379)+t))],tabindex:-1},children:[{tag:i(372),children:[{tag:i(372),attributes:{class:[i(362)]},children:[{text:n}]},{text:" "+e[i(381)][i(364)]}]}]})}[jt(375)](){const t=jt;this[t(388)][t(375)]()}}function Ut(t,e){var i=qt();return(Ut=function(t,e){return i[t-=384]})(t,e)}var Ht=Ut;!function(t){for(var e=Ut,i=t();;)try{if(174633===-parseInt(e(389))/1+-parseInt(e(392))/2+parseInt(e(385))/3+parseInt(e(386))/4*(parseInt(e(395))/5)+-parseInt(e(393))/6*(-parseInt(e(398))/7)+parseInt(e(387))/8+parseInt(e(396))/9*(-parseInt(e(384))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Ht(394)];[Ht(400)];[Ht(388)];[Ht(397)];constructor(e){var i=Ht;super(),this.id=e.id||(0,t.uid)(),this[i(394)]=e[i(394)],this[i(400)]=e[i(400)],this[i(388)]=e[i(388)]||{},this[i(397)]=e[i(397)],this[i(391)](i(390),e[i(390)])}[Ht(399)](){var t=Ht;return{id:this.id,authorId:this[t(394)].id,type:this[t(400)],data:this[t(388)],createdAt:this[t(390)]}}}function qt(){var t=["15673ZmtFoM","toJSON","type","4510TxRTEK","600567DlDDui","8ILiFWr","1929840bVoZOO","data","270316BFqLMb","createdAt","set","230216CTrNXP","474EFgNyk","author","482410IxJlRd","5013TcBHNL","rootName"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Gt();return(Bt=function(t,e){return i[t-=479]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(960612===parseInt(e(485))/1+-parseInt(e(491))/2*(-parseInt(e(479))/3)+parseInt(e(493))/4+parseInt(e(482))/5*(parseInt(e(484))/6)+parseInt(e(481))/7+parseInt(e(483))/8+-parseInt(e(492))/9*(parseInt(e(486))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Yt{[$t(488)];[$t(487)];[$t(489)];constructor(e,i){const s=$t;this[s(488)]=e,this[s(487)]=i,this[s(489)]=new t.Collection}[$t(490)](t){const e=$t;for(const i of t)this[e(489)][e(480)](i)}}function Gt(){const t=["6463184JLZlbZ","5982LazfNx","723562vXQXun","2796520HhTEzs","oldRevisionId","newRevisionId","changes","_setChanges","148QChnfm","144DqVYoh","7487156BVybkl","3687qRxzLV","add","12741484qbtIGj","605IWQXZn"];return(Gt=function(){return t})()}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Tt();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-=278]})(t,e)}function te(){const t=["indexOf","addMarker:revision","revision-suggestion:","getRootNames","change:isReady","_refreshStartEndIndex","mapper","reconvertMarker","restoreRevision","366344sQCDWE","side","ck-suggestion-marker-","distance","getRevisionDocumentData","toViewRange","isEqual","revisionHistoryLabel","7gDLJTB","span","top","getDomRoot","createPositionFromPath","change:activeChange","rootName","userId","47691APkksf","for","checkAttribute","sort","isAttached","change","elementStart","_sortAndFilterDiffChanges","type","elementToAttribute","982854rUSnzw","index","consumable","editing","_getViewForChange","RevisionViewer","ck-revision-history-root--active","createRange","init","_removeMissingPairs","forceDisabled","data-change-id","addRoot","_initInteractions","173749mKXUDv","isBlock","add","activeChange","revision-viewer","element","getAttribute","locale","attachChange","revision-suggestion","addHighlight","getRevision","highest","toViewElement","_markInsertions","removeMarker:revision-suggestion","slice","authors","_markMismatchedRemovedTags","revision:","markersEnd","isContent","markerNameToElements","from","filter","target","markerToData","flat","diffData","isSuggestion","revision-comment:","ck-revision-history-root-remove","change:numberOfChanges","isAtStart","isObject","code","POSITIVE_INFINITY","_joinTapes","_setConversion","nodeAfter","selection","isReady","ck-suggestion-preview-marker-","plugins","dataDowncast","next","forEach","insert","mousedown","_threeWayMerge","roots","isOnRoot","remove","createRangeIn","_setDistance","activeView","string","name","isOfficialPlugin","item","_processTape","startIndex","elementEnd","has","attribute:vid","shift","hasAttribute","suggestion","get","split","loadRevisionData","_cleanMarkers","restoreRevisionCallback","removeMarker:revision","catch","refresh","markersStart","hasClass","conversion","2176038GGVyqc","schema","-new","destroy","_update","pairId","_changeIdToChange","splice","execute","getLaterVisibleRevision","change:isEnabled","deletions","first","config","revision","ck-suggestion-marker-split","addMarker:revision-suggestion:deletion","addMarker:revision-suggestion:insertion","clear","map","revisionHistory","_step","mouseover","domEvent","numberOfChanges","previousPosition","279250YbGsMa","dataToMarker","values","getClientRects","upcast","change:activeView","right","element:pre","changes","_markMarkers","forward","viewItem","getRoot","addRevisionData","commands","_findChangeIdFromDomTarget","ck-suggestion-marker--active","setAttribute","editingDowncast","_appendChild","_revisions","ck-revision-history-root-","uiElement","view","attributes","getItems","createUIElement","isAdded","isNavigationMode","requires","isRemoveSuggestion","low","compare","removeClass","keys","enqueueChange","modelRange","adapter","stop","domConverter","_balloon","ck-editor__editable__overlay","_activeViewTarget","isInline","createRevision","affectsData","offsetSize","error","editor","insertion","text","attributesAfter","vid_start","left","addClass","mapViewToDom","_getDiff","isCollapsed","set","writer","ck-suggestion-preview-marker","includes","ck-suggestion-marker-merge","markerToHighlight","deletion","isLimit","softBreak","start","object","test","showStack","nextPosition","oldRevisionId","then","enableReadOnlyMode","getWalker","nextSibling","_utils","isBefore","findIndex","367030zQUnOC","delete","startsWith","all","abs","length","changeId","vid","_setChanges","currentChangeNumber","toViewPosition","_changeView","resolve","_getRevisionsRange","_makeModelFromTape","detachRoot","model","repository","pop","ck-revision-history-root-add","return","push","_getChangeFromId","comment","getAttributes","getCustomProperty","_removeUnsupportedChanges","isRemoved","WidgetToolbarRepository","isAfter","ck-suggestion-marker","RevisionHistoryUtils","listenTo","backward","removeAttribute","find","wrap","merge","_data","_markSuggestions","newRevisionId","concat","pluginName","bottom","getChild","isEnabled","observeMarkers","unshift","data","showPreviousChange","insertions","bindElementToMarker","RevisionsRepository","diff","createPositionBefore","high","maxOffset","_fixObsoleteTags","document","updatePosition","markerRange","attributesBefore","isAtEnd","16lqSNfv","vid_end","addRevision","revisionHistoryAttachChange","markers","consume","downcastDispatcher","unbindElementFromMarkerName","getRevisionRootsAttributes","done","endIndex","removeMarker","isIncorrect","_makeTape","level","_cleanUp","getIndex","range","end","markerName","parent","suggestion:","isPremiumPlugin","showNextChange","isAddSuggestion","bind","createAttributeElement","_makeModelFromViewString"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(113383===parseInt(e(411))/1+parseInt(e(596))/2+-parseInt(e(387))/3+parseInt(e(334))/4*(parseInt(e(516))/5)+parseInt(e(397))/6*(-parseInt(e(379))/7)+-parseInt(e(371))/8+-parseInt(e(490))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Xt(288)];[Xt(553)]=null;[Xt(593)];[Xt(558)];[Xt(282)];[Xt(496)];[Xt(556)];static get[Xt(313)](){return Xt(402)}static get[Xt(469)](){return!0}static get[Xt(356)](){return!0}static get[Xt(545)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(288)]=this[e(564)][e(454)][e(479)](e(323)),this[e(593)]=this[e(564)][e(454)][e(479)](e(302)),this[e(574)](e(414),null),this[e(574)](e(466),null),this[e(558)]=null,this[e(574)](e(324),null),this[e(574)](e(452),!1),this[e(574)](e(316),!0),this.on(e(500),((t,i,s)=>{const n=e;this[n(414)]=null,this[n(466)]=null,this[n(564)][n(400)][n(539)][n(392)]((t=>{const e=n;for(const i of this[e(564)][e(400)][e(539)][e(329)][e(461)])s?t[e(549)](e(557),i):t[e(570)](e(557),i)}))})),this[e(359)](e(544)).to(this,e(414),(t=>null!==t)),this[e(359)](e(280)).to(this,e(452),this,e(324),this,e(414),((t,i,s)=>t&&s?i[e(524)][e(350)](s):0)),this[e(359)](e(514)).to(this,e(452),this,e(324),((t,i)=>t?i[e(524)][e(601)]:0)),this[e(282)]=null,this[e(496)]=new Map,this[e(556)]=this[e(564)][e(454)][e(479)](pt.ContextualBalloon)}[Xt(405)](){const t=Xt,e=this[t(564)],i=new ne(e,{direction:t(304)}),s=new ne(e,{direction:t(526)});e[t(530)][t(413)](t(320),i),e[t(530)][t(413)](t(357),s),e[t(530)][t(413)](t(370),new se(e)),this.on(t(443),(()=>{const e=t;i[e(486)](),s[e(486)]()})),this[t(449)](),this[t(410)](),e[t(590)](t(415)),e[t(454)][t(474)](t(299))&&e[t(454)][t(479)](t(299))[t(407)](t(415))}async[Xt(375)](t){const e=Xt;return await this[e(593)][e(481)](t,this[e(553)]),this[e(593)][e(375)](t)}async[Xt(342)](t){const e=Xt;return await this[e(593)][e(481)](t,this[e(553)]),this[e(593)][e(342)](t)}async[Xt(548)](t,e,i=!1){const s=Xt;if(!this[s(316)])return;const n=this[s(324)],r=this[s(288)],o=s(467)==typeof t?r[s(422)](t):t,a=s(467)==typeof e?r[s(422)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(324)]&&this[s(324)][s(311)]===c&&this[s(324)][s(588)]===u)return Promise[s(283)]();this[s(452)]=!1,this[s(466)]=null,this[s(414)]=null,this[s(324)]=new Yt(c,u);const l=this[s(284)](o,a,!0)[s(509)]((t=>this[s(593)][s(481)](t,this[s(553)])));return l[s(292)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(599)](l)[s(589)]((()=>{const t=s;if(!this[t(316)])return;this[t(349)]();const e=this[t(572)](c,u);for(const i of e[t(524)])this[t(496)][t(574)](i.id,i);this[t(564)][t(287)][t(551)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(564)][s(287)][s(329)][s(365)]())i[s(286)](t);for(const t of Object[s(550)](e[s(287)])){const n=i[s(409)](t);for(const r of Object[s(550)](e[s(540)][t]))i[s(533)](r,e[s(540)][t][r],n);i[s(458)](e[s(287)][t],n,0)}})),this[t(324)][t(279)](this[t(394)](e[t(524)])),this[t(452)]=!0}))[s(485)]((t=>{const e=s;console[e(563)](t),this[e(349)](),n&&(this[e(324)]=n),this[e(452)]=!0}))}[Xt(529)](t,e){const i=Xt,s=this[i(288)][i(560)](t);return s.on(i(494),((t,i,n)=>e(i,n,s))),this[i(288)][i(336)](s),s}[Xt(349)](){const t=Xt;this[t(414)]=null,this[t(482)](),this[t(282)]&&this[t(282)][t(493)](),this[t(282)]=null,this[t(496)][t(508)](),this[t(564)][t(287)][t(551)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(564)][i(287)][i(329)][i(365)]())e[i(286)](t)}))}[Xt(394)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(564)][e(287)][e(329)][e(365)]()){const n=this[e(564)][e(400)][e(539)][e(382)](t);if(!n)continue;const r=n[e(519)]()[e(470)](0);r&&(i[e(292)](t),s[e(574)](t,r))}return i[e(390)](((t,i)=>{const n=e,r=s[n(479)](t),o=s[n(479)](i);return r.y-o.y||r.x-o.x})),(t=t[e(435)]((t=>i[e(577)](t[e(385)]))))[e(390)](((t,s)=>i[e(362)](t[e(385)])-i[e(362)](s[e(385)]))),t}[Xt(347)](t){const e=Xt,i=Array[e(434)](t[e(338)])[e(435)]((([t,i])=>t[e(598)](e(430))&&!i[e(573)])),s=Array[e(434)](this[e(564)][e(287)][e(464)](t)[e(591)]({singleCharacters:!0}));if(0!=i[e(601)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(480)](":");if(n[e(352)][e(377)](t[e(587)])&&i[e(476)](),(t[e(515)][e(377)](n[e(583)])||t[e(515)][e(300)](n[e(583)]))&&(e(565)==r?t[e(543)]={userId:o}:e(580)==r&&(t[e(298)]={userId:o})),0==i[e(601)])break}return s}[Xt(367)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(601)];s++)e(566)===t[s][e(395)]?(t[s][e(470)][e(472)]=s,t[s][e(470)][e(344)]=s):(e(393)===t[s][e(395)]?t[s][e(470)][e(472)]=s:e(473)===t[s][e(395)]&&(t[s][e(470)][e(344)]=s),i[e(574)](t[s].id,s));for(const s of i[e(518)]())e(393)===t[s][e(395)]?t[s][e(470)][e(344)]=i[e(479)](t[s][e(495)]):e(473)===t[s][e(395)]&&(t[s][e(470)][e(472)]=i[e(479)](t[s][e(495)]))}[Xt(471)](t){const e=Xt;for(let i=0;i<t[e(601)];i++){if(e(393)===t[i][e(395)])t[i][e(470)][e(472)]=i;else if(e(473)===t[i][e(395)]){t[i][e(470)][e(344)]=i;const s=t[i][e(470)][e(472)];t[s][e(495)]=t[i].id,t[i][e(495)]=t[s].id}else t[i][e(470)][e(472)]=i,t[i][e(470)][e(344)]=i,t[i][e(495)]=null;t[i][e(487)]||(t[i][e(487)]=[],t[i][e(431)]=[])}}[Xt(425)](t,e){const i=Xt,s=t[i(435)]((t=>!t[i(543)]));for(let t=0;t<e[i(601)];t++)e[t][i(543)]&&(s[t][i(543)]=e[t][i(543)])}[Xt(572)](t,e=null){const i=Xt,s=this[i(288)][i(422)](t),n=e?this[i(288)][i(422)](e):null,r=this[i(284)](s,n),o=r[r[i(601)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(601)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(550)](e[i(439)]))if(e[i(439)][t][i(419)]){const s=e[i(439)][t][i(419)];s[i(391)]?(u[i(413)](t),l[i(474)](t)&&l[i(479)](t)[i(386)]==s[i(386)]?l[i(597)](t):l[i(574)](t,s)):l[i(474)](t)?(u[i(597)](t),l[i(597)](t)):(u[i(413)](t),l[i(574)](t,s))}else u[i(413)](t)}for(const t of u){const e=l[i(474)](t)&&!l[i(479)](t)[i(391)];let s=e?r[i(601)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(439)][t]){const s=e?o[i(439)][t][i(332)]:o[i(439)][t][i(567)];c[i(540)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(287)]={};for(const e of t[i(428)])a[i(574)](e.id,e);for(const e of u){const s=t[i(439)][e]?t[i(439)][e][i(321)]:"[]",n=t[i(439)][e]?t[i(439)][e][i(501)]:"[]";t[i(287)][e]={insertions:this[i(593)][i(361)](s),deletions:this[i(593)][i(361)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(434)](s[i(287)][t][i(321)][i(338)])[i(435)]((([t])=>!t[i(598)](i(430)))));let h=0;for(const o of r){const r=this[i(347)](o[i(287)][t][i(321)]);o==s?(e=r,n=e[i(601)],e[i(457)]((t=>{t.id=h++})),this[i(471)](e)):this[i(425)](e,r);const a=e[i(435)]((t=>!t[i(543)]))[i(509)]((t=>t.id));let c=0;const l=this[i(347)](o[i(287)][t][i(501)]);l[i(457)]((t=>{t[i(298)]?t.id=n++:t.id=a[c++]})),this[i(471)](l),this[i(465)](e,i(543)),this[i(465)](l,i(298)),o==s&&this[i(525)](e,u),e=this[i(448)](e,l),this[i(367)](e),this[i(465)](e,i(298))}e=e[i(435)]((t=>!(t[i(543)]&&t[i(298)])));const d=new Map(o[i(287)][t][i(501)][i(338)]),f=new Set(u[i(550)]());for(const t of d[i(550)]())f[i(597)](t);this[i(310)](e,f),this[i(328)](e),e=this[i(406)](e),e=this[i(429)](e),e=this[i(297)](e);const{root:m,changes:p}=this[i(285)](e,a,t);c[i(287)][t]=m;const v=l[i(479)](t);if(v){const e=a[i(479)](v[i(386)]),s=new Zt({author:e,type:v[i(391)]?i(413):i(463),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(318)](s),c[i(540)][t][i(337)]=s.id}c[i(524)]=c[i(524)][i(312)](p)}return c}[Xt(525)](t,e){const i=Xt;for(let s=0;s<t[i(601)];s++)for(const[n,r]of e)!r[i(573)]&&r[i(583)][i(377)](t[s][i(515)])&&t[s][i(487)][i(292)](n),r[i(352)][i(377)](t[s][i(587)])&&t[s][i(431)][i(292)](n)}[Xt(448)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(601)]||r<e[i(601)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(292)](o);else if(a[i(298)]&&o[i(543)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(460)](t,n,e,r);s=s[i(312)](o),n=a,r=c}else a[i(298)]?(r++,s[i(292)](a)):(n++,s[i(292)](o))}return s}[Xt(310)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(601)];o++){for(let r=0;r<t[o][i(487)][i(601)];r++){const a=t[o][i(487)][r];if(!e[i(474)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(420)!=c||i(565)!=u&&i(580)!=u||(s[i(318)]({type:u,name:a,userId:l}),t[o][i(487)][i(497)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(431)][i(601)];r++){const a=t[o][i(431)][r];if(!e[i(474)](a))continue;const{group:c,type:u}=n(a);if(i(420)!=c||i(565)!=u&&i(580)!=u)continue;t[o][i(431)][i(497)](r,1),r--;const l=s[i(595)]((t=>t[i(468)]==a));l>-1&&s[i(497)](l,1)}}function n(t){const e=i,s=t[e(480)](":");return{group:s[0],type:s[1],subType:s[e(601)]>=5?s[2]:null,id:s[e(601)]<5?s[2]:s[3],authorId:s[e(601)]<5?s[3]:s[4],markerCount:6==s[e(601)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(601)];i++){if(t[e(543)]&&e(565)==s[i][e(395)]&&t[e(543)][e(386)]==s[i][e(386)])return t[e(358)]=s[i],void delete t[e(543)];if(!t[e(543)]&&!t[e(298)]&&e(580)==s[i][e(395)])return void(t[e(546)]=s[i])}}}[Xt(465)](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(574)](o.id,s);for(let s=0;s<t[i(601)];s++){if(i(298)==e&&t[s][i(543)]||i(543)==e&&t[s][i(298)])continue;if(i(566)==t[s][i(395)]){t[s][i(374)]=0;continue}const n=r[i(479)](t[s][i(495)]),o=r[i(479)](t[s].id);t[s][i(374)]=n-o}}[Xt(284)](t,e,i=!1){const s=Xt,n=[];let r=this[s(288)][s(350)](t),o=this[s(288)][s(350)](e);for(-1==o&&(o=this[s(288)][s(536)][s(601)],i=!1);r<o;)n[s(292)](this[s(288)][s(422)](r)),r++;return i&&n[s(292)](this[s(288)][s(422)](r)),n}[Xt(460)](t,e,i,s){const n=Xt,r=this[n(564)][n(287)][n(491)];let o=e;for(;t[o]&&t[o][n(543)];)o++;let a=s;for(;i[a]&&i[a][n(298)];)a++;u(t,e,o),u(i,s,a);const c=i[n(427)](s,a)[n(312)](t[n(427)](e,o));return c[n(390)](((t,e)=>t[n(372)]!=e[n(372)]?t[n(372)]-e[n(372)]:t[n(348)]!=e[n(348)]?t[n(348)]-e[n(348)]:t[n(374)]!=e[n(374)]?e[n(374)]-t[n(374)]:!!t[n(543)]!=!!e[n(543)]?-1==t[n(372)]||0==t[n(372)]?t[n(543)]?-1:1:t[n(543)]?1:-1:t[n(398)]-e[n(398)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(447)],c=!0;for(let n=e;n<i;n++)if(r[s(559)](t[n][s(470)])||(c=!1),t[n][s(470)][s(472)]<e&&(o=n),t[n][s(470)][s(344)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(372)]=n<=o?-1:n<a?0:1,t[n][s(398)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(374)]?t[i][s(348)]=u:(u++,t[i][s(348)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(372)]&&(t[n][s(348)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(374)]?t[e][s(348)]=u:(u--,t[e][s(348)]=u,u--)}}[Xt(328)](t){const e=Xt,i=new Map,s=this[e(564)][e(287)][e(491)];for(let n=1;n<t[e(601)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(566)==c[e(395)])continue;if(c[e(395)]!=u[e(395)])continue;if(!s[e(412)](u[e(470)])||s[e(581)](u[e(470)]))continue;if(!s[e(412)](c[e(470)])||s[e(581)](c[e(470)]))continue;if((t[n][e(543)]||t[n][e(358)])&&t[n-1][e(298)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(298)]||!t[n-1][e(543)]&&!t[n-1][e(358)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(348)]==o[e(348)],h=Math[e(600)](r[e(348)])<Math[e(600)](o[e(348)])&&0==o[e(374)];(l||h)&&(i[e(574)](o.id,r.id),t[e(497)](a,1),n--,r[e(543)]=!1)}for(let s=0;s<t[e(601)];s++)i[e(474)](t[s][e(495)])&&(t[s][e(495)]=i[e(479)](t[s][e(495)]))}[Xt(406)](t){const e=Xt,i=new Set(t[e(509)]((t=>t.id)));for(let s=0;s<t[e(601)];s++)i[e(474)](t[s][e(495)])||0==t[s][e(374)]||(t[s][e(346)]=!0);return t[e(435)]((t=>!t[e(346)]))}[Xt(429)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(601)];s++){if(i[e(474)](t[s].id)&&t[s][e(298)]&&(t[s][e(346)]=!0),t[s][e(346)])continue;if(0==t[s][e(374)])continue;if(e(393)!=t[s][e(395)])continue;if(null==t[s][e(495)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(495)];)e(393)==t[n][e(395)]?r++:e(473)==t[n][e(395)]&&r--,n++;if(0!=r)if(t[s][e(298)])t[s][e(346)]=!0;else for(;n!=s;)t[n][e(298)]&&0!=t[n][e(374)]&&(t[n][e(346)]=!0,i[e(413)](t[n][e(495)])),n--}return t[e(435)]((t=>!t[e(346)]))}[Xt(297)](t){const e=Xt,i=this[e(564)][e(287)][e(491)];for(let s=0;s<t[e(601)];s++){if(!(t[s][e(543)]||t[s][e(358)]||t[s][e(298)]||t[s][e(546)]))continue;if(0==t[s][e(374)])continue;const n=t[s][e(470)];i[e(412)](n)||i[e(581)](n)||(t[s][e(543)]&&delete t[s][e(543)],t[s][e(358)]&&delete t[s][e(358)],t[s][e(546)]&&delete t[s][e(546)],t[s][e(298)]&&(t[s][e(346)]=!0))}return t[e(435)]((t=>!t[e(346)]))}[Xt(285)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(564)][s(287)],c=a[s(491)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(601)];e++)if(s(393)===t[e][s(395)]){t[e][s(515)]=a[s(383)](n,f);const i=new Z.Element(t[e][s(470)][s(468)],t[e][s(470)][s(295)]());u[0][s(535)](i),f[s(292)](0),u[s(318)](i),t[e][s(587)]=a[s(383)](n,f)}else s(473)===t[e][s(395)]?(u[s(476)](),t[e][s(515)]=a[s(383)](n,f),f[s(289)](),f[f[s(601)]-1]++,t[e][s(587)]=a[s(383)](n,f)):(t[e][s(515)]=a[s(383)](n,f),d?d[s(309)]+=t[e][s(470)][s(319)]:d=new Z.Text(t[e][s(470)][s(319)],t[e][s(470)][s(295)]()),t[e+1]&&s(566)===t[e+1][s(395)]&&v(d,t[e+1][s(470)])||(u[0][s(535)](d),d=null),f[f[s(601)]-1]+=t[e][s(470)][s(562)],t[e][s(587)]=a[s(383)](n,f));for(let e=0;e<t[s(601)];e++){const i=t[e][s(515)],n=t[e][s(587)];for(const n of t[e][s(487)])o[s(574)](n,{start:i,end:null});m(s(546),e,i,n),m(s(358),e,i,n),m(s(298),e,i,n),m(s(543),e,i,n);for(const i of t[e][s(431)]){const t=o[s(479)](i);t?t[s(352)]=n:o[s(574)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(564)][s(287)][s(404)](e[s(583)],e[s(352)]);n[s(338)][s(574)](t,i)}return r[s(390)](((t,e)=>{const i=s,r=n[i(338)][i(479)](i(430)+t.id),o=n[i(338)][i(479)](i(430)+e.id);return r[i(583)][i(594)](o[i(583)])?-1:r[i(583)][i(300)](o[i(583)])?1:r[i(352)][i(594)](o[i(352)])?-1:r[i(352)][i(300)](o[i(352)])?1:i(413)===t[i(395)]?-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(386)]:null,d=i===t[o(601)]-1,f=h[e][0],m=c[o(445)](t[i][o(470)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(352)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(386)]!==u&&(l[e][o(352)]=n,f&&f[o(386)]===l[e][o(386)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(393)!==t[i][o(395)]||f&&f[o(386)]===u||h[e][o(318)]({userId:u,object:t[i][o(470)],change:l[e]}),o(473)===t[i][o(395)]&&f&&f[o(584)]===t[i][o(470)]&&(h[e][o(476)](),l[e]=f[o(392)])),l[e]&&d&&(l[e][o(352)]=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(470)],f=a[h(491)][h(412)](d)&&!a[h(491)][h(581)](d),m=t[h(450)]==o[h(354)]&&o[h(444)];if(f&&m)return;const p=a[h(404)](t,o),v=e[h(479)](u),g=new Zt({author:v,type:h(543)==l||h(358)==l?h(413):h(463),data:{isSuggestion:h(358)==l||h(546)==l},createdAt:new Date,rootName:i});r[h(292)](g),n[h(338)][h(574)](h(430)+g.id,p)}function v(t,e){const i=s,n=t[i(295)](),r=e[i(295)]();for(const t of n){if(t[1]!==e[i(417)](t[0]))return!1;r[i(456)]()}return r[i(456)]()[i(343)]}}[Xt(449)](){const t=Xt;this[t(564)][t(489)][t(388)](t(520))[t(517)]({view:t(504)}),this[t(564)][t(489)][t(388)](t(534))[t(579)]({model:t(504),view:e=>{const i=t,s=e[i(353)][i(480)](":")[1],n=this[i(293)](s);if(!n)return null;const r=i(413)==n[i(395)]?i(565):i(580),o=[i(301),i(373)+r];return n[i(319)][i(440)]&&o[i(292)](i(373)+r+i(492)),this[i(414)]==n&&o[i(292)](i(532)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(564)][t(489)][t(388)](t(520))[t(413)]((e=>{const i=t;e.on(i(523),((t,e,s)=>{const n=i,r=e[n(527)][n(315)](0);if(!r||!r.is(n(416),n(446)))return;if(!s[n(399)][n(339)](r,{attributes:[n(568),n(335)]}))return;const o=e[n(552)][n(583)][n(450)];s[n(575)][n(533)](n(568),r[n(417)](n(568)),o),s[n(575)][n(533)](n(335),r[n(417)](n(335)),o)}),{priority:i(547)})})),this[t(564)][t(489)][t(388)](t(520))[t(413)]((e=>{const i=t;e.on(i(416),((t,e,s)=>{const n=i;if(!s[n(399)][n(339)](e[n(527)],{attributes:[n(568),n(335)]}))return;if(e[n(552)][n(573)])return;const r=e[n(552)][n(583)][n(450)];r[n(477)](n(568))||r[n(477)](n(278))||(s[n(575)][n(533)](n(568),e[n(527)][n(417)](n(568)),r),s[n(575)][n(533)](n(335),e[n(527)][n(417)](n(335)),r))}),{priority:i(547)})})),this[t(564)][t(489)][t(388)](t(520))[t(396)]({view:{name:t(380),attributes:{vid:!0}},model:{key:t(278),value:e=>e[t(417)](t(278))}}),this[t(564)][t(287)][t(491)].on(t(389),((e,[,i])=>{const s=t;[s(568),s(335),s(278)][s(577)](i)&&(e[s(291)]=!0,e[s(554)]())}),{priority:t(423)}),this[t(564)][t(489)][t(388)](t(455))[t(413)]((e=>{const i=t;e.on(i(475),((t,e,s)=>{const n=i;if(" "!=e[n(470)][n(319)]||e[n(470)][n(354)][n(327)]>1)return;if(!s[n(399)][n(339)](e[n(470)],t[n(468)]))return;const r=s[n(575)],o=s[n(368)][n(376)](e[n(351)]);r[n(307)](o,r[n(360)](n(380)))}))})),this[t(564)][t(489)][t(388)](t(455))[t(437)]({model:t(504)}),this[t(564)][t(400)][t(340)].on(t(363),function(e){const i=t,s=e[i(454)][i(479)](i(402));return(t,n,r)=>{const o=i,a=n[o(353)][o(480)](":")[1],c=s[o(293)](a);if(!c)return null;const u=o(413)==c[o(395)]?o(480):o(308);if(!r[o(399)][o(585)](n[o(331)],t[o(468)]))return;const l=n[o(331)][o(591)](),h=n[o(331)][o(583)],d=e[o(287)][o(491)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(470)];p=p||d[o(432)](e);const i=r[o(368)][o(424)](e);if(i&&i[o(296)](o(421)))return;o(473)==t[o(395)]&&d[o(412)](e)&&!d[o(581)](e)&&(e[o(592)]||h[o(333)]?f&&f[o(354)]==e||(f=e,g(t[o(515)]),v=!0):m=m||t[o(515)])}function g(t){const e=o,i=r[e(575)][e(542)](e(380),{class:e(373)+u}),a=r[e(368)][e(281)](t);c[e(319)][e(440)]&&r[e(575)][e(570)](e(373)+u+e(492),i),s[e(414)]==c&&r[e(575)][e(570)](e(532),i),r[e(575)][e(458)](a,i),r[e(368)][e(322)](i,n[e(353)])}p||v||!m||g(m)}}(this[t(564)]),{priority:t(326)}),this[t(564)][t(400)][t(340)].on(t(484),((e,i,s)=>{const n=t,r=s[n(368)][n(433)](i[n(353)]);if(r)for(const t of r)(t[n(488)](n(505))||t[n(488)](n(578)))&&(s[n(368)][n(341)](t,i[n(353)]),s[n(575)][n(463)](t))}),{priority:t(326)}),this[t(564)][t(400)][t(340)].on(t(363),((e,i,s)=>{const n=t,r=i[n(353)][n(480)](":")[1],o=this[n(293)](r);if(!o)return null;const a=n(413)==o[n(395)]?n(480):n(308);if(s[n(399)][n(585)](i[n(331)],e[n(468)]))for(const t of i[n(331)][n(541)]()){if(!t.is(n(416),n(582)))continue;const e=s[n(575)][n(542)](n(380),{class:n(373)+a}),r=s[n(368)][n(281)](this[n(564)][n(287)][n(325)](t));o[n(319)][n(440)]&&s[n(575)][n(570)](n(373)+a+n(492),e),this[n(414)]==o&&s[n(575)][n(570)](n(532),e),s[n(575)][n(458)](r,e),s[n(368)][n(322)](e,i[n(353)])}}),{priority:t(326)}),this[t(564)][t(287)][t(329)].on(t(392),(()=>{const e=t;this[e(564)][e(400)][e(539)][e(392)]((t=>{const i=e;for(const e of this[i(564)][i(287)][i(329)][i(365)]()){const s=this[i(564)][i(287)][i(329)][i(528)](e),n=this[i(564)][i(400)][i(539)][i(329)][i(528)](e);if(n){const e=s[i(417)](i(337));if(t[i(305)](i(408),n),t[i(549)](i(290),n),t[i(549)](i(442),n),t[i(549)](i(403),n),e){const s=this[i(293)](e);if(!s)return null;t[i(533)](i(408),e,n),t[i(570)](i(537)+s[i(395)],n),this[i(414)]==s&&t[i(570)](i(403),n)}}}}))})),this[t(564)][t(489)][t(388)](t(520))[t(517)]({view:t(294),model:e=>t(441)+e,converterPriority:t(423)}),this[t(564)][t(489)][t(388)](t(520))[t(517)]({view:t(478),model:e=>t(364)+e,converterPriority:t(423)}),this[t(564)][t(489)][t(388)](t(455))[t(437)]({model:t(420),view:e=>({name:t(355)+e,group:t(420)}),converterPriority:t(423)}),this[t(564)][t(489)][t(388)](t(534))[t(579)]({model:t(420),view:e=>{const i=t,s=e[i(353)][i(480)](":")[1];return i(565)!=s&&i(580)!=s?null:{classes:[i(576),i(453)+s]}}}),this[t(564)][t(400)][t(340)].on(t(506),ie(this[t(564)],t(308)),{priority:t(326)}),this[t(564)][t(400)][t(340)].on(t(507),ie(this[t(564)],t(480)),{priority:t(326)}),this[t(564)][t(400)][t(340)].on(t(426),((e,i,s)=>{const n=t,r=s[n(368)][n(433)](i[n(353)]);if(r)for(const t of r)t.is(n(538))&&(s[n(368)][n(341)](t,i[n(353)]),s[n(575)][n(463)](t))}),{priority:t(326)})}[Xt(293)](t){const e=Xt;return this[e(496)][e(479)](t)}[Xt(401)](t){const e=Xt;return this[e(282)]&&this[e(282)][e(493)](),this[e(282)]=new Wt(this[e(564)][e(418)],t),this[e(282)]}[Xt(410)](){const t=Xt;this[t(564)][t(287)][t(329)][t(451)][t(317)](t(504)),this.on(t(521),((e,i,s,n)=>{const r=t;n&&this[r(556)][r(463)](n),s&&(this[r(556)][r(413)]({view:s,stackId:r(378),position:{target:()=>{const t=r,e=this[t(564)][t(400)],i=this[t(293)](s[t(602)]);let n;if(i[t(319)][t(462)]){const s=e[t(539)][t(382)](i[t(385)]);n=Array[t(434)](s[t(519)]())}else{const i=this[t(564)][t(287)][t(338)][t(479)](t(430)+s[t(602)]);n=Array[t(434)](e[t(368)][t(433)](i[t(468)]))[t(509)]((i=>e[t(539)][t(555)][t(571)](i)))[t(509)]((e=>Array[t(434)](e[t(519)]())))[t(438)]()}return this[t(558)]&&n[t(306)]((e=>e[t(381)]-3<=this[t(558)].y&&e[t(314)]+3>=this[t(558)].y&&e[t(569)]-3<=this[t(558)].x&&e[t(522)]+3>=this[t(558)].x))||n[0]}}}),this[r(556)][r(586)](r(378)))})),this.on(t(384),((e,i,s,n)=>{const r=t;this[r(466)]=s?this[r(401)](s):null,this[r(564)][r(287)][r(392)]((()=>{const t=r,e=this[t(564)][t(400)];n&&(n[t(319)][t(462)]?e[t(539)][t(392)]((i=>{const s=t;i[s(549)](s(403),e[s(539)][s(329)][s(528)](n[s(385)]))})):e[t(369)](t(430)+n.id)),s&&(s[t(319)][t(462)]?e[t(539)][t(392)]((i=>{const n=t;i[n(570)](n(403),e[n(539)][n(329)][n(528)](s[n(385)]))})):e[t(369)](t(430)+s.id))}))})),this[t(303)](this[t(564)][t(400)][t(539)][t(329)],t(512),((e,i)=>{const s=t;if(this[s(414)])return;const n=this[s(531)](i[s(436)]),r=this[s(496)][s(479)](n);r?(this[s(558)]={x:i[s(513)].x,y:i[s(513)].y},this[s(466)]=this[s(401)](r)):(this[s(558)]=null,this[s(466)]=null)})),this[t(303)](this[t(564)][t(400)][t(539)][t(329)],t(459),((e,i)=>{const s=t,n=this[s(531)](i[s(436)]),r=this[s(496)][s(479)](n);r?(this[s(558)]={x:i[s(513)].x,y:i[s(513)].y},r===this[s(414)]?this[s(556)][s(330)]():this[s(414)]=r):(this[s(558)]=null,this[s(414)]=null)}))}[Xt(531)](t){const e=Xt;do{const i=t[e(417)](e(408));if(i)return i;t=t[e(354)]}while(t);return null}[Xt(482)](){const t=Xt;this[t(564)][t(287)][t(392)]((e=>{const i=t;for(const t of this[i(564)][i(287)][i(338)])e[i(345)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(399)][r(585)](s[r(331)],i[r(468)]))return;const o=s[r(331)][r(591)](),a=s[r(331)][r(583)],c=t[r(287)][r(491)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(470)];h=h||c[r(432)](e);const i=n[r(368)][r(424)](e);if(i&&i[r(296)](r(421)))return;r(473)==t[r(395)]&&c[r(412)](e)&&!c[r(581)](e)&&(e[r(592)]||a[r(333)]?u&&u[r(354)]==e||(u=e,f(t[r(515)]),d=!0):l=l||t[r(515)])}function f(t){const i=r,o=n[i(368)][i(281)](t),a=n[i(575)][i(542)](i(380),{class:i(453)+e});n[i(575)][i(458)](o,a),n[i(368)][i(322)](a,s[i(353)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(454)][e(479)](ee);this[e(561)]=!1,this[e(303)](i,e(366),(()=>this[e(486)]())),this[e(303)](i,e(500),(()=>this[e(486)]()))}[Xt(498)](){const t=Xt,e=this[t(564)],i=e[t(454)][t(479)](ee),s=i[t(452)]?i[t(324)][t(311)]:null;e[t(503)][t(479)](t(510))[t(483)](s)}[Xt(486)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(564)][t(454)][t(479)](ee),r=n&&s[t(499)](n[t(311)]);this[t(316)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(511)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(454)][i(479)](ee);this[i(561)]=!1,this[i(511)]=i(526)===e?1:-1,this[i(303)](s,i(366),(()=>this[i(486)]())),this[i(303)](s,i(500),(()=>this[i(486)]())),this[i(303)](s,i(384),(()=>this[i(486)]()))}[Xt(498)](){const e=Xt,i=this[e(564)],s=i[e(454)][e(479)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(414)]=n?s[e(324)][e(524)][e(479)](r+this[e(511)]):s[e(324)][e(524)][e(502)],s[e(414)][e(319)][e(462)])o=i[e(400)][e(539)][e(382)](s[e(414)][e(385)]);else{const t=i[e(287)][e(338)][e(479)](e(430)+s[e(414)].id);o=(0,H.getMarkerDomElement)(i[e(400)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(486)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(564)][t(454)][t(479)](ee);this[t(316)]=!!(r&&n&&s)&&(!e||(1===this[t(511)]?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=Tt();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["850ySdvcd","fire","numberOfChanges","Show next change","ck-revision-history-ui__changes-navigation","5AoxsUI","bindTemplate","Show previous change","1064688cqTQSe","ck-hidden","ck-revision-history-ui__changes-navigation__navigation","isEnabled","execute","2987196tGNgqh","isNavigationMode","419114ptaTqq","1250777sgteou","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui","Loading...","_statusText","currentChangeNumber","ck-revision-history-ui__changes-navigation__label","bind","set","632103tXJaai","35NyGXuz","NUMBER_OF_CHANGES","_isStatusLabelVisible","Total","setTemplate","isReady","backward","EDIT_X_OF_Y_REVISIONS","133108sENKXK","No changes","div","X_OF_Y_CHANGES","33003xzvBPo","forward","3cYyEoz","span","isBackwardNavigationEnabled"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=326]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(548257===-parseInt(e(330))/1*(-parseInt(e(348))/2)+parseInt(e(359))/3+-parseInt(e(368))/4*(parseInt(e(338))/5)+-parseInt(e(346))/6+-parseInt(e(360))/7*(-parseInt(e(341))/8)+-parseInt(e(328))/9*(parseInt(e(333))/10)+-parseInt(e(349))/11)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(339)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(358)](e(347),!1),this[e(358)](e(365),!1),this[e(358)](e(355),0),this[e(358)](e(335),0),this[e(358)](e(350),!1),this[e(358)](e(332),!1),this[e(357)](e(362)).to(this,e(365),this,e(335),((t,e)=>t&&e>0)),this[e(357)](e(354)).to(this,e(365),this,e(355),this,e(335),this,e(347),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(353));if(!n)return Q(t,o(369));const a=Q(t,o(361),n);return r?Q(t,o(327),[s+1,n]):a})),s[e(358)]({label:Q(t,e(340)),tooltip:!0,icon:mt.IconChevronUp}),n[e(358)]({label:Q(t,e(336)),tooltip:!0,icon:mt.IconChevronDown}),s[e(357)](e(344)).to(this,e(332)),n[e(357)](e(344)).to(this,e(350)),s.on(e(345),(()=>this[e(334)](e(345),e(366)))),n.on(e(345),(()=>this[e(334)](e(345),e(329)))),this[e(364)]({tag:e(326),attributes:{class:["ck",e(352),e(337)]},children:[{tag:e(331),attributes:{class:[e(351)]},children:[{tag:e(331),attributes:{class:[e(356),i.if(e(362),e(342),(t=>!t))]},children:[{text:i.to(e(347),(i=>i?Q(t,e(367))+": ":Q(t,e(363))+": "))}]},{text:i.to(e(354))}]},new pt.ToolbarSeparatorView,{tag:e(326),attributes:{class:[e(343)]},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=Tt();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=pe();return(de=function(t,e){return i[t-=254]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(740899===parseInt(e(259))/1*(parseInt(e(261))/2)+parseInt(e(266))/3+parseInt(e(268))/4+-parseInt(e(262))/5*(-parseInt(e(277))/6)+parseInt(e(260))/7+parseInt(e(272))/8*(parseInt(e(271))/9)+-parseInt(e(278))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=fe(256);function pe(){const t=["document","addClass","editing","134202lmrghm","42008810UZTgPH","hide","RevisionViewerLoadingOverlay","ck-editor__editable__loading-overlay","show","roots","4nszDOh","7205240BrrzXj","81460fiDeyX","45cVVzkO","isPremiumPlugin","removeClass","editor","3568185IKiTGL","change","5445124CCeEIl","view","pluginName","9BOpdoz","7980488PfDOBw","isOfficialPlugin"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[fe(270)](){return fe(255)}static get[fe(273)](){return!0}static get[fe(263)](){return!0}[fe(257)](){const t=fe,e=this[t(265)][t(276)][t(269)];e[t(267)]((i=>{const s=t;for(const t of e[s(274)][s(258)])i[s(275)](me,t)}))}[fe(254)](){const t=fe,e=this[t(265)][t(276)][t(269)];e[t(267)]((i=>{const s=t;for(const t of e[s(274)][s(258)])i[s(264)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=414]})(t,e)}function ke(){const t=["isNavigationMode","RevisionViewerUI","191529IOeBoM","4496544aSXFlI","354xXgHpV","isEnabled","plugins","add","292132XqhLxy","Restore this revision","componentFactory","set","config","1427968PRgACc","show","showNextChange","pluginName","commands","bind","isOfficialPlugin","exitToEditing","hide","execute","revisionHistory","requires","182880DoWBTm","changesNavigation","numberOfChanges","listenTo","get","isPremiumPlugin","2701524kRLJUb","isReady","24955Xhuwaf","isBackwardNavigationEnabled","closeRevisionViewerCallback","init","isForwardNavigationEnabled","ck-revision-history-ui__back-to-editing","editor","forward","showPreviousChange","restoreRevision","Back to editing","change:isReady","currentChangeNumber"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(565954===parseInt(e(417))/1+parseInt(e(423))/2+parseInt(e(446))/3+-parseInt(e(428))/4+parseInt(e(440))/5+parseInt(e(419))/6*(parseInt(e(448))/7)+-parseInt(e(418))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(431)](){return ge(416)}static get[ge(434)](){return!0}static get[ge(445)](){return!0}static get[ge(439)](){return[ee,ve]}[ge(451)](){const t=ge,e=this[t(454)],i=e[t(421)][t(444)](ee),s=e[t(421)][t(444)](ve);e.ui[t(425)][t(422)](t(435),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(426)]({label:Q(i,s(458)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(453)}),this[s(443)](n,s(437),(()=>{const t=s;e[t(427)][t(444)](t(438))[t(450)]()})),n})),e.ui[t(425)][t(422)](t(457),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(426)]({label:Q(i,s(424)),withText:!0,tooltip:!0}),n[s(433)](s(420)).to(e[s(432)][s(444)](s(457))),this[s(443)](n,s(437),(()=>e[s(437)](s(457)))),n})),e.ui[t(425)][t(422)](t(441),(s=>{const n=t,r=new ue(s),o=e[n(432)][n(444)](n(456)),a=e[n(432)][n(444)](n(430));return r[n(433)](n(449)).to(o,n(420)),r[n(433)](n(452)).to(a,n(420)),r[n(433)](n(447),n(414),n(442),n(415)).to(i),this[n(443)](r,n(437),((t,i)=>{const s=n;e[s(437)](s(455)===i?s(430):s(456))})),r})),s[t(429)](),i.on(t(459),((e,i,n)=>{const r=t;n?s[r(436)]():s[r(429)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Tt();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Te();return(Se=function(t,e){return i[t-=282]})(t,e)}function Te(){const t=["listenTo","ck-tooltip_multi-line","Revision name","span","20fHYHbW","Enter the revision name","value","1040473RCbpAp","scrollWidth","destroy","689598mrnRWE","309930fKKrIc","16leyPcy","element","clientWidth","set","91764QpSCia","fieldView","_updateTooltipText","_resizeObserver","render","_tooltipString","bindTemplate","input","14216JAxqHy","158820CWRdad","placeholder","ck-revision-history-sidebar__revision-name","extendTemplate","106960xhKrwJ","156cAcUQf"];return(Te=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(127016===parseInt(e(288))/1+parseInt(e(301))/2+-parseInt(e(289))/3*(parseInt(e(283))/4)+-parseInt(e(294))/5*(-parseInt(e(306))/6)+-parseInt(e(297))/7+-parseInt(e(302))/8*(-parseInt(e(300))/9)+-parseInt(e(284))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Oe extends pt.LabeledFieldView{[Ie(309)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(312)];this[i(305)]({label:Q(t,i(292)),_tooltipString:""}),this[i(307)][i(285)]=Q(t,i(295)),this[i(287)]({tag:i(293),attributes:{class:[i(286)],"data-cke-tooltip-text":s.to(i(311)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(291)}})}[Ie(310)](){const e=Ie;super[e(310)](),this[e(309)]=new t.ResizeObserver(this[e(307)][e(303)],(()=>this[e(308)]())),this[e(290)](this[e(307)],e(282),(()=>this[e(308)]()))}[Ie(299)](){const t=Ie;super[t(299)](),this[t(309)]&&this[t(309)][t(299)]()}[Ie(308)](){const t=Ie,e=this[t(307)][t(303)];this[t(311)]=e[t(298)]>e[t(304)]&&e[t(296)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Tt();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=259]})(t,e)}function Ae(){const t=["873870SuckDG","5180nkEpTy","Revision creator","ck-revision-history-sidebar__revision-author","4309254yswGal","set","push","240727ScGaxT","name","0 0 11 10","setTemplate","ck-revision-history-sidebar__revision-author_creator","Revision author","span","64jaspww","152896BEBUFc","ck-revision-history-sidebar__revision-author__name","2DxgNNA","29057klLBJJ","2156004ITeHMX","605pUhMCz","25EdIAcz"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(255311===parseInt(e(273))/1*(parseInt(e(261))/2)+-parseInt(e(266))/3+parseInt(e(259))/4*(parseInt(e(265))/5)+-parseInt(e(263))/6+-parseInt(e(262))/7*(parseInt(e(280))/8)+parseInt(e(270))/9+-parseInt(e(267))/10*(-parseInt(e(264))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class De extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(271)]({content:mt.IconUser,viewBox:s(275)});const r=["ck",s(269)];i&&r[s(272)](s(277));const o=[{tag:s(279),attributes:{class:["ck",s(260)],title:Q(t,s(i?268:278))},children:[n,e[s(274)]]}];this[s(276)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=109]})(t,e)}function Ee(){var t=["toLocaleTimeString","11haNLXz","16218hYuHAP","numeric","3544LzaVWj","1131316swxSsr","27821390gNEuWA","1154HCmnKN","6IcLXTT","1240582qqdKqB","114789nrGtXR","1641VaxNoW","toLocaleDateString","long","4404135rKUJSG"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(567015===-parseInt(e(111))/1+parseInt(e(123))/2*(-parseInt(e(112))/3)+-parseInt(e(121))/4+-parseInt(e(115))/5*(parseInt(e(109))/6)+parseInt(e(110))/7+parseInt(e(120))/8*(-parseInt(e(118))/9)+parseInt(e(122))/10*(parseInt(e(117))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Tt();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=253]})(t,e)}function Le(){const t=["action","set","function","2564976wyMLyI","isActionsDropdownOpen","567399ZDkssU","561268hwlJfT","stopPropagation","1132ldiQQC","buttonView","Name this revision","locale","class","isOpen","execute","model","Restore this revision","children","isVisible","ck-revision-history-sidebar__revision__actions","listView","ck-on","find","bind","_action","name","extendTemplate","bindTemplate","Compare against selected","panelPosition","1541450sGBJKx","7374wjuSFH","isReady","18TCZAdr","change:isActionsDropdownOpen","1702160dBNsjI","menu","map","listenTo","items","source","button","first","67465xCDvFT","isEnabled","add","Show more items","menuitem","354mVMDtc"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(491920===parseInt(e(254))/1+-parseInt(e(283))/2+parseInt(e(279))/3*(parseInt(e(256))/4)+-parseInt(e(291))/5*(-parseInt(e(296))/6)+-parseInt(e(253))/7+-parseInt(e(300))/8+parseInt(e(281))/9*(-parseInt(e(278))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var Pe=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=It(),je.insert=wt().bind(null,"head"),je.domAPI=kt(),je.insertStyleElement=Tt();gt()(Pe.A,je);Pe.A&&Pe.A.locals&&Pe.A.locals;const ze=Ue;function We(){const t=["isSelected","bindTemplate","length","highlight","ck-disabled","isEnabled","revisionNameView","fire","unhighlight","ck-revision-history-sidebar__revision__controls-wrapper","220","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","set","select","4638LTJpSz","creator","value","uiLanguage","createdAt","isReady","render","755xFIBju","35884nQPCnW","revisionActionsView","ck-revision-history-sidebar__revision-wrapper","_revision","133902lrjnou","extendTemplate","setName","1035pzZFGz","listenTo","ck-revision-history-sidebar__revision",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision_selected","element","fieldView","setTemplate","isConfirm","44BgallA","_requireRevisionName","div","96gpSIWs","ck-revision-history-sidebar__revision-authors","bind","ck-reset","deselect","ck-revision-history-sidebar__actions_dropdown_open","authors","filter","unshift","change","name","27080gSCWxp","ck-revision-history-sidebar__revision_highlighted","span","698780rNpXYs","from","_createdAtFormatted","isActionsDropdownOpen","map","ck-revision-history-sidebar__revision__date","413870IYpGzR","srcElement","isHighlighted","closest","402255MaPzfQ"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=399]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(264544===parseInt(e(408))/1+-parseInt(e(443))/2+-parseInt(e(423))/3*(-parseInt(e(404))/4)+-parseInt(e(403))/5*(parseInt(e(462))/6)+parseInt(e(447))/7+-parseInt(e(434))/8*(-parseInt(e(411))/9)+-parseInt(e(437))/10*(parseInt(e(420))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(454)];[ze(405)];[ze(407)];[ze(421)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(449)],a=function(t,e){const i=r,s=Array[i(438)](e[i(429)])[i(430)]((t=>t!=e[i(463)]));return e[i(463)]&&s[i(431)](e[i(463)]),s[i(441)]((s=>new De(t,s,s==e[i(463)])))}(e,i);this.id=i.id,this[r(407)]=i,this[r(421)]=n,this[r(425)](r(433),r(400)).to(i),this[r(425)](r(439)).to(this,r(400),(t=>{return i=e[r(399)],(s=t)[(n=Ve)(113)](i,{month:n(114),day:n(119)})+", "+s[n(116)](i,{hour:n(119),minute:n(119)});var i,s,n})),this[r(460)](r(448),!1),this[r(460)](r(445),!1),this[r(460)](r(440),!1),this[r(460)](r(401),!1),this[r(460)](r(453),!1),this[r(454)]=new Oe(e,pt.createLabeledInputText),this[r(454)][r(417)][r(409)]({attributes:{maxlength:r(458)}}),this[r(454)][r(417)][r(425)](r(464)).to(this,r(433),(t=>t||this[r(439)])),this[r(454)][r(425)](r(453)).to(this,r(448),this,r(453),((t,e)=>t&&e)),this[r(405)]=s&&s[r(450)]?function(e,i){const s=Fe,n=e[s(275)],r=e[s(259)],o=(0,pt.createDropdown)(r);o[s(277)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(259)],n={"Compare against selected":Q(s,i(276)),"Name this revision":Q(s,i(258)),"Restore this revision":Q(s,i(264))};return e[i(285)]((t=>{const e=i,s=n[t[e(273)]];return s&&s!==t[e(273)]&&(t[e(273)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(289),model:new pt.ViewModel({label:t[n(273)],class:t[n(260)],withText:!0,role:n(295),_action:t[n(297)]})};i[n(263)][n(271)](n(292)).to(e,n(301),(i=>n(299)!=typeof t[n(292)]||!i||t[n(292)](e))),o[n(293)](i)}return o}(e,i);return e[s(271)](s(301)).to(o,s(261)),o[s(257)][s(298)]({label:Q(r,s(294)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(274)]({attributes:{class:[s(267),n.if(s(301),s(269))]},on:{click:n.to((t=>t[s(255)]()))}}),o.on(s(262),(t=>{const i=s;e[i(280)]&&i(299)==typeof t[i(288)][i(272)]&&t[i(288)][i(272)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(284)}),o[s(286)](e,s(282),((t,n,r)=>{const a=s;if(r)for(const t of o[a(268)][a(287)]){const s=t[a(265)][a(290)],n=i[a(270)]((t=>t[a(297)]===s[a(272)]))[a(266)];t[a(266)]=void 0===n||n(e)}})),o}(this,s):"",this[r(405)]&&this[r(405)][r(425)](r(453)).to(this),this[r(418)]({tag:r(422),attributes:{class:["ck",r(426),r(406),o.if(r(419),r(459))]},children:[{tag:r(422),attributes:{class:["ck",r(426),r(413),o.if(r(453),r(452),(t=>!t)),o.if(r(448),r(415)),o.if(r(445),r(435)),o.if(r(440),r(428))]},children:[this[r(454)],{tag:r(436),attributes:{class:["ck",r(442)]},children:[{text:o.to(r(439))}]},{tag:r(422),attributes:{class:["ck",r(457)]},children:[{tag:"ul",attributes:{class:["ck",r(424)]},children:a}]},this[r(405)]],on:{click:o.to((t=>{const e=r;t[e(444)][e(446)](e(414))||this[e(401)]&&this[e(453)]&&this[e(455)](e(461),{id:this.id})}))}}]})}[ze(402)](){const t=ze;super[t(402)]();const e=this[t(454)][t(417)][t(416)];this[t(412)](e,t(432),(()=>{const i=t;this[i(421)]&&!e[i(464)]||this[i(455)](i(410),{id:this.id,name:e[i(464)]}),e[i(464)]||(e[i(464)]=this[i(433)]?this[i(433)]:this[i(439)])}))}[ze(461)](){this[ze(448)]=!0}[ze(427)](){this[ze(448)]=!1}[ze(451)](){this[ze(445)]=!0}[ze(456)](){this[ze(445)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Ge extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Ke extends Ze{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 Ti extends Ii{static get instance(){return null===Si&&(Si=new Ti),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};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={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=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,(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 Di={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.DateTimeFormat(t,e),Di[i]=s),s}let Ei={};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=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ds(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&&Ts()&&(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,Di={},Ei={},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,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 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:Os()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ti.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},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 $i(ts,Ti.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(){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 Ts(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function 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 Ds(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 Es(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 Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new 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}${Ds(i,2)}:${Ds(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ds(i,2)}${Ds(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 Ds(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]]=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 Tn(t,e,i){const s=t[e];return _s(s)?i:Vs(s)}function On(t,e){return[{hours:Tn(t,e,0),minutes:Tn(t,e+1,0),seconds:Tn(t,e+2,0),milliseconds:Ms(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Dn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?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?Qs.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=En(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const 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[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:Tn(t,e),month:Tn(t,e+1,1),day:Tn(t,e+2,1)},null,e+3]}),On,xn,Nn),$n=mn(wn,On,xn,Nn),Bn=mn(_n,On,xn,Nn),Yn=mn(On,xn,Nn);const Gn=mn(On);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(On,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||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,Dn])}(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]=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:Ts(),localeWeek:Os()}}}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])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Tr=null;function Or(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=Or(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=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 xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Tr||(Tr=io.fromMillis(1555555555555)),Tr)),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",Dr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(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+=Ds(t.c.year,i?6:4),e?(s+="-",s+=Ds(t.c.month),s+="-",s+=Ds(t.c.day)):(s+=Ds(t.c.month),s+=Ds(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ds(t.c.hour);return e?(o+=":",o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ds(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ds(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ds(Math.trunc(-t.o/60)),o+=":",o+=Ds(Math.trunc(-t.o%60))):(o+="+",o+=Ds(Math.trunc(t.o/60)),o+=":",o+=Ds(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],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]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Pr(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: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]=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=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Dr||t>Dr?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=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,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],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[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,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 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 Or(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?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?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(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=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+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),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(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 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=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(){const t=["2590QaMIJV","toRelativeCalendar","fromJSDate","2592492qrmmER","minus","3033sdAKDj","week","406987tIhufj","year","monthLong","11oihXTl","2TLlyXZ","toJSDate","hasSame","setLocale","111jqdtEZ","312554vxWCdK","month","3018730ScTCOc","162ryHiEU","88kRRjft","day","local","weekdayLong","36564uEFYrp","startOf","57630xxYcmL"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=155]})(t,e)}function oo(t,e){const i=ro,s=io[i(155)](t)[i(167)](e),n=io[i(175)](),r=n[i(157)]({days:1})[i(178)](i(174));let o,a;return s[i(166)](n,i(174))?(o=s[i(178)](i(174))[i(165)](),a=s[i(181)]()):s[i(166)](r,i(174))?(o=r[i(165)](),a=s[i(181)]()):s[i(166)](n,i(159))?(o=s[i(178)](i(159))[i(165)](),a=s[i(176)]||""):s[i(166)](n,i(161))?(o=s[i(178)](i(170))[i(165)](),a=s[i(162)]||""):(o=s[i(178)](i(161))[i(165)](),a=String(s[i(161)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(373800===parseInt(e(169))/1*(parseInt(e(164))/2)+-parseInt(e(168))/3*(parseInt(e(177))/4)+parseInt(e(179))/5*(-parseInt(e(172))/6)+parseInt(e(160))/7*(parseInt(e(173))/8)+-parseInt(e(158))/9*(-parseInt(e(180))/10)+parseInt(e(163))/11*(parseInt(e(156))/12)+-parseInt(e(171))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Tt();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;!function(t){const e=ho,i=t();for(;;)try{if(698814===-parseInt(e(497))/1+-parseInt(e(491))/2*(parseInt(e(515))/3)+-parseInt(e(494))/4+-parseInt(e(506))/5*(parseInt(e(513))/6)+-parseInt(e(503))/7+-parseInt(e(502))/8+parseInt(e(500))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class lo extends pt.View{[uo(509)];[uo(516)];[uo(511)];[uo(490)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(505)][n(512)])[n(495)];this[n(509)]=e,this[n(516)]=this[n(507)](),this[n(511)]=i,this[n(490)]=s,this[n(516)][n(496)](n(508)).to(this),this[n(516)][n(496)](n(498)).to(this),this[n(501)]({tag:n(493),attributes:{class:["ck",n(504)]},children:[{tag:n(519),attributes:{class:["ck",n(514)]},children:[{text:r}]},{tag:n(493),attributes:{class:["ck",n(520)]},children:this[n(516)]}]})}[uo(492)](t){const e=uo,i=new He(this[e(505)],t,this[e(511)],this[e(490)]);this[e(516)][e(510)](i)}[uo(517)](t){const e=uo,i=this[e(516)][e(518)]((e=>e.id===t.id));this[e(516)][e(499)](i)}}function ho(t,e){const i=fo();return(ho=function(t,e){return i[t-=490]})(t,e)}function fo(){const t=["86726Iwwksg","addRevision","div","294756YVHBlj","localizedPeriodName","delegate","1035917FUCNTE","setName","remove","51275286svKUJn","setTemplate","8700920QgCSNC","6757688FHoCrB","ck-revision-history-sidebar__time-period","locale","1108390prvCAJ","createCollection","select","startDate","add","_revisionActions","uiLanguage","18konUpV","ck-revision-history-sidebar__time-period__label","81jlnQnl","revisionViews","removeRevision","find","span","ck-revision-history-sidebar__time-period__revisions","_requireRevisionName"];return(fo=function(){return t})()}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Tt();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["63NkcIRX","Revision history","1963340vjbeSd","div","content","155TztLuT","847faDdtr","48NfTQWn","ck-revision-history-sidebar__header__label","4067189DfWoqh","701664vkjKdL","36804WTQGmK","setTemplate","ck-reset_all","16blyjWk","span","206204kuislq","326093fPyEOA","ck-revision-history-sidebar__header","84xaXAbB"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=168]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(942429===-parseInt(e(176))/1+-parseInt(e(175))/2*(-parseInt(e(186))/3)+parseInt(e(170))/4*(-parseInt(e(184))/5)+parseInt(e(169))/6+-parseInt(e(168))/7*(-parseInt(e(173))/8)+-parseInt(e(179))/9*(parseInt(e(181))/10)+parseInt(e(185))/11*(-parseInt(e(178))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(183)]=mt.IconHistory,this[e(171)]({tag:e(182),attributes:{class:["ck",e(172),e(177)]},children:[i,{tag:e(174),attributes:{class:["ck",e(187)]},children:[Q(t,e(180))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Tt();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=219]})(t,e)}function Io(){const t=["getTime","6632896KPObAa","ck-revision-history-sidebar","setName","select","find","revisionSelected","_addRevision","some","highlightRevisions","_revisionActions","createdAt","delegate","unhighlight","timePeriodViews","26976465DZjRIj","remove","681370YryWcd","10679454awVPge","div","_getTimePeriodViewByStartDate","selectRevision","revisionViews","flat","1437BIllch","_revisions","get","addRevision","uiLanguage","revisionSetName","fire","render","ck-rounded-corners","ck-disabled","deselect","highlight","map","removeRevision","7365504amLNoo","14sWOlhS","locale","setTemplate","_requireRevisionName","4948eXIGEP","startDate","bindTemplate","1785458gMtbRf","add","_removeRevision","isEnabled","createCollection","ck-reset","set","ck-revision-history-sidebar__timeline"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(936490===-parseInt(e(242))/1+parseInt(e(239))/2*(parseInt(e(220))/3)+parseInt(e(234))/4+parseInt(e(267))/5+-parseInt(e(268))/6+parseInt(e(235))/7*(-parseInt(e(251))/8)+parseInt(e(265))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(264)];[wo(221)];[wo(260)];[wo(238)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(241)];this[n(264)]=this[n(246)](),this[n(264)][n(262)](n(254)).to(this),this[n(264)][n(262)](n(253)).to(this),this[n(221)]=e,this[n(260)]=i,this[n(238)]=s,this.on(n(254),((t,e)=>{const i=n;this[i(226)](i(256),e)})),this.on(n(253),((t,e)=>{const i=n;this[i(226)](i(225),e)})),this[n(248)](n(245),!1),this[n(237)]({tag:n(269),attributes:{class:["ck",n(247),n(228),n(252)]},children:[new yo(t),{tag:n(269),attributes:{class:["ck",n(249),r.if(n(245),n(229),(t=>!t))]},children:this[n(264)]}]})}[wo(227)](){const t=wo;super[t(227)]();for(const e of this[t(221)])this[t(257)](e);this[t(221)].on(t(243),((e,i)=>{this[t(257)](i)})),this[t(221)].on(t(266),((e,i)=>{this[t(244)](i)}))}get[wo(272)](){const t=wo;return this[t(264)][t(232)]((e=>e[t(272)][t(232)]((t=>t))))[t(219)]()}[wo(271)](t){const e=wo;for(const i of this[e(272)])t&&t.id===i.id?i[e(254)]():i[e(230)]()}[wo(259)](t){const e=wo;for(const i of this[e(272)])t[e(258)]((({id:t})=>t===i.id))?i[e(231)]():i[e(263)]()}[wo(257)](t){const e=wo,i=oo(t[e(261)],this[e(236)][e(224)])[e(240)];let s=this[e(264)][e(222)](0);s&&s[e(240)][e(250)]()===i[e(250)]()||(s=new lo(this[e(236)],i,this[e(260)],this[e(238)]),this[e(264)][e(243)](s)),s[e(223)](t)}[wo(244)](t){const e=wo,i=oo(t[e(261)],this[e(236)][e(224)])[e(240)];this[e(270)](i)[e(233)](t)}[wo(270)](t){const e=wo;return this[e(264)][e(255)]((i=>i[e(240)][e(250)]()===t[e(250)]()))}}const To=Oo;function Oo(t,e){const i=No();return(Oo=function(t,e){return i[t-=103]})(t,e)}!function(t){const e=Oo,i=t();for(;;)try{if(939302===-parseInt(e(168))/1*(parseInt(e(138))/2)+-parseInt(e(132))/3*(parseInt(e(148))/4)+-parseInt(e(131))/5+parseInt(e(152))/6+parseInt(e(174))/7*(-parseInt(e(115))/8)+parseInt(e(180))/9+parseInt(e(113))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends U.Plugin{[To(129)];[To(109)];[To(144)];static[To(139)]=[To(181),To(126),To(127)];static[To(160)]=function(){const t=To;return{compareAgainstSelected:{name:t(121),action:({plugins:e},i)=>{const s=t,n=e[s(120)](ee),r=n[s(122)];let o=n[s(143)][s(167)],a=i.id;r[s(103)](o)>r[s(103)](a)&&([o,a]=[a,o]),n[s(171)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(120)](ee);return!(n[s(122)][s(123)](n[s(143)])[s(118)]>2||i[s(112)])}},restoreRevision:{name:t(149),action:(e,{id:i})=>{const s=t;e[s(156)][s(120)](s(130))[s(114)](i)},isVisible:({plugins:e},i)=>!!e[t(120)](ee)[t(122)][t(111)](i.id)},nameRevision:{name:t(177),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(120)](ee),o=r[n(122)][n(178)](i);r[n(171)](i,o),s[n(153)](),s[n(155)][n(158)]()}}}}();static get[To(147)](){return To(150)}static get[To(117)](){return!0}static get[To(169)](){return!0}static get[To(145)](){return[ee]}constructor(t){const e=To;super(t),this[e(129)]=t[e(183)][e(120)](ee),this[e(109)]=this[e(129)][e(122)],this[e(144)]=null}[To(119)](){const t=To,e=this[t(109)][t(104)],i=this[t(159)](),s=this[t(108)][t(156)][t(120)](t(128));this[t(144)]=new So(this[t(108)][t(173)],e,i,this[t(108)][t(156)][t(120)](t(175))),this[t(144)].on(t(135),this[t(116)][t(176)](this)),this[t(144)].on(t(185),this[t(136)][t(176)](this)),this[t(144)][t(176)](t(124)).to(this[t(129)]),this[t(144)][t(154)].on(t(165),((e,i)=>{const s=t;i[s(140)].on(s(165),((t,e)=>{const i=s;e[i(176)](i(124),i(163)).to(this[i(129)])}))})),this[t(144)][t(107)](),this[t(146)](this[t(108)][t(157)],t(141),this[t(166)][t(176)](this)),this[t(146)](this[t(129)],t(125),this[t(137)][t(176)](this)),s[t(134)](this[t(144)][t(172)])}[To(110)](){const t=To;this[t(144)][t(172)][t(162)](),this[t(144)][t(110)]()}[To(166)](){const t=To,e=this[t(109)][t(105)](0);if(e){const i=this[t(109)][t(178)](e.id);this[t(129)][t(171)](e,i)}}[To(116)](t,e){const i=To,s=this[i(109)][i(105)](e.id),n=this[i(109)][i(178)](s.id);this[i(129)][i(171)](s,n)}[To(136)](t,e){const i=To;this[i(109)][i(105)](e.id)[i(106)](e[i(179)])}[To(137)](t,e,i){const s=To,n=this[s(109)][s(123)](i);n[s(118)]>2?(this[s(144)][s(151)](n),this[s(144)][s(184)](null)):(this[s(144)][s(151)]([]),this[s(144)][s(184)](n[0]))}[To(159)](){const t=To,e=this[t(108)],i=xo[t(160)],s=e[t(156)][t(120)](t(170))||xo[t(139)];if(s[t(118)])return s[t(142)]((s=>{const n=t,r=n(161)==typeof s?Object[n(164)]({},i[s]):s;return r[n(133)]=r[n(133)][n(176)](this,e),r[n(182)]&&(r[n(182)]=r[n(182)][n(176)](this,e)),r}))}}function No(){const t=["data","select","_createRevisionActions","availableRevisionActions","string","remove","isReady","assign","add","_handleEditorDataReady","newRevisionId","2XlTwAq","isPremiumPlugin","revisionHistory.revisionActions","compare","element","locale","1823059PcBybZ","revisionHistory.requireRevisionName","bind","Name this revision","getEarlierVisibleRevision","name","10667070RoWoET","compareAgainstSelected","isVisible","plugins","selectRevision","revisionSetName","getIndex","_revisions","getRevision","setName","render","editor","_revisionsRepository","destroy","getLaterVisibleRevision","isSelected","32111220qzZuPo","restoreRevisionCallback","48uZoGKZ","_handleRevisionSelected","isOfficialPlugin","length","init","get","Compare against selected","repository","getRevisionsInDiff","isEnabled","change:diff","restoreRevision","nameRevision","revisionHistory.viewerSidebarContainer","_revisionViewer","revisionHistory","4934595qatABH","240CqVxCl","action","appendChild","revisionSelected","_handleRevisionSetName","_handleDiffChange","935452DeKWHv","defaultRevisionActions","revisionViews","ready","map","diff","_sidebarView","requires","listenTo","pluginName","86860LbkksN","Restore this revision","RevisionsSidebar","highlightRevisions","10590858LoGNUf","focus","timePeriodViews","fieldView","config"];return(No=function(){return t})()}const Ro=xo,Ao=Do;function Do(t,e){const i=Vo();return(Do=function(t,e){return i[t-=172]})(t,e)}function Vo(){const t=["10699318yYQrbU","view","editable","config","isActive","4758657egBPzs","init","viewportTopOffset","focusTracker","ready","element","_toolbarConfig","setEditableElement","6dJdapC","componentFactory","bind","render","155705TLmjGf","15835996pxTPiu","_elementReplacer","6duxZuP","editor","editing","document","fillFromConfig","7970brziSa","fire","stickyPanel","18891GvVkXc","replace","6544848cUhHMs","getRoot","destroy","limiterElement","get","viewportOffset","detachDomRoot","addToolbar","restore","40UKHnrj","754895WxumFB","_view","rootName","name","toolbar","isFocused","attachDomRoot","_initToolbar"];return(Vo=function(){return t})()}!function(t){const e=Do,i=t();for(;;)try{if(867787===-parseInt(e(189))/1*(-parseInt(e(185))/2)+-parseInt(e(177))/3+parseInt(e(211))/4*(parseInt(e(212))/5)+parseInt(e(192))/6*(parseInt(e(172))/7)+-parseInt(e(202))/8+-parseInt(e(200))/9*(parseInt(e(197))/10)+parseInt(e(190))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends pt.EditorUI{[Ao(213)];[Ao(183)];[Ao(191)];get[Ao(173)](){return this[Ao(213)]}constructor(e,i){const s=Ao;super(e),this[s(213)]=i,this[s(183)]=(0,pt.normalizeToolbarConfig)(e[s(175)][s(206)](s(216))),this[s(191)]=new t.ElementReplacer}get[Ao(182)](){const t=Ao;return this[t(173)][t(182)]}[Ao(178)](t){const e=Ao,i=this[e(193)],s=this[e(173)],n=i[e(194)][e(173)],r=s[e(174)],o=n[e(195)][e(203)]();r[e(215)]=o[e(214)],s[e(188)]();const a=r[e(182)];this[e(184)](r[e(215)],a),s[e(174)][e(187)](e(217)).to(this[e(180)]),n[e(218)](a),this[e(191)][e(201)](t,this[e(182)]),this[e(219)](),this[e(198)](e(181))}[Ao(204)](){const t=Ao;super[t(204)]();const e=this[t(173)],i=this[t(193)][t(194)][t(173)];this[t(191)][t(210)](),i[t(208)](e[t(174)][t(215)]),e[t(204)]()}[Ao(219)](){const t=Ao,e=this[t(173)];e[t(199)][t(187)](t(176)).to(this[t(180)],t(217)),e[t(199)][t(205)]=e[t(182)],e[t(199)][t(187)](t(179)).to(this,t(207),(({top:t})=>t)),e[t(216)][t(196)](this[t(183)],this[t(186)]),this[t(209)](e[t(216)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Tt();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-=356]})(t,e)}function Po(){var t=["content","1842993AIyUqB","stickyPanel","10578336ZquMoI","_editable","main","shouldToolbarGroupWhenFull","82714lQjUVv","top","1048507CBfPlM","480136CEClVd","2245692DeRvxa","39bLbarg","374975GrDfYJ","toolbar","7CDsmyH","render","editable","add"];return(Po=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(910522===-parseInt(e(367))/1+-parseInt(e(365))/2*(-parseInt(e(370))/3)+-parseInt(e(369))/4+parseInt(e(371))/5+parseInt(e(361))/6+parseInt(e(373))/7*(-parseInt(e(368))/8)+parseInt(e(359))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(362)];[Fo(360)];[Fo(372)];get[Fo(356)](){return this[Fo(362)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(360)]=new pt.StickyPanelView(t),this[s(372)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(364)]}),this[s(362)]=new pt.InlineEditableUIView(t,e)}[Fo(374)](){var t=Fo;super[t(374)](),this[t(360)][t(358)][t(357)](this[t(372)]),this[t(366)][t(357)](this[t(360)]),this[t(363)][t(357)](this[t(356)])}}const zo=Uo;!function(t){const e=Uo,i=t();for(;;)try{if(370738===-parseInt(e(279))/1+-parseInt(e(266))/2*(-parseInt(e(259))/3)+-parseInt(e(277))/4*(-parseInt(e(260))/5)+-parseInt(e(256))/6*(parseInt(e(282))/7)+-parseInt(e(265))/8+-parseInt(e(281))/9+parseInt(e(269))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Wo extends((0,U.ElementApiMixin)(U.Editor)){[zo(262)];get ui(){return this[zo(262)]}constructor(t,e){const i=zo;super(e),this[i(278)]=t,this[i(264)][i(276)][i(267)]();const s=new jo(this[i(280)],this[i(274)][i(268)],{shouldToolbarGroupWhenFull:!0});this[i(262)]=new Eo(this,s)}[zo(255)](){const t=zo;return this[t(272)](),this.ui[t(255)](),super[t(255)]()}static async[zo(270)](t,e){const i=zo,s=new this(t,e);return await s[i(258)](),await s.ui[i(283)](t),await s[i(263)][i(283)](s[i(271)][i(275)](i(257))||""),s[i(261)](i(273)),s}}function Uo(t,e){const i=Ho();return(Uo=function(t,e){return i[t-=255]})(t,e)}function Ho(){const t=["_ui","data","model","1602496WltuKd","78suvxPb","createRoot","view","7612300MNhlhE","create","config","updateSourceElement","ready","editing","get","document","136ZfRFZz","sourceElement","405140RKazzm","locale","3715875FQdnGw","20545ZoPszc","init","destroy","102qjuwlT","initialData","initPlugins","7308YtOUVE","85695ZgzqRI","fire"];return(Ho=function(){return t})()}const Zo=qo;function qo(t,e){const i=Yo();return(qo=function(t,e){return i[t-=409]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(538208===parseInt(e(543))/1+parseInt(e(538))/2*(-parseInt(e(471))/3)+-parseInt(e(495))/4*(parseInt(e(468))/5)+-parseInt(e(479))/6+parseInt(e(512))/7*(parseInt(e(518))/8)+parseInt(e(453))/9*(parseInt(e(502))/10)+parseInt(e(485))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const $o=[Zo(483),Zo(534)];class Bo extends U.Plugin{[Zo(480)];static get[Zo(537)](){return Zo(523)}static get[Zo(459)](){return!0}static get[Zo(550)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(557)]((t=>String[e(528)](t)))[e(424)]("")}super(t),this[e(480)]=e(490),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Yo(){const t=["removeAttribute","has","model","get","isReadOnly","config","isPremiumPlugin","markers","display","catch","revisionHistory.editorContainer","bind","_enhanceCloseRevisionViewerCallback","map","translations","getRevision","set","setSelection","init","editor","getRoot","addRoot","long","hide","detachRoot","Restored","RevisionHistory","commands","RevisionsRepository","repository","locale","insert","revisionHistory.restoreRevisionCallback","join","closeRevisionViewerCallback","_enhanceShowRevisionViewerCallback","revisionHistory.closeRevisionViewerCallback","plugins","toLocaleDateString","_cleanUp","indexOf","PaginationLookup","error","changesNavigation","addRevisionData","createRangeIn","getAttributeKeys","name","Dialog","Autosave","requires","refreshPositioning","_getRevisionViewerEditorConfig","revision-history-viewer-opened","restoreRevision","none","lazyRoots","style","createdAt","getMarkersGroup","_recalculatePageBreaks","isReady","16578uUlrTL","fromVersion","RevisionTracker","getUser","change","toJSON","isOfficialPlugin","view","setAttribute","DocumentOutline","RevisionViewer","Users","toVersion","update","enqueueChange","15veUyGR","roots","_closeRevisionViewer","3NVawdy","addUser","enableReadOnlyMode","numeric","isAnonymous","includes","creator","adapter","3915618nSfGWO","result","remove","save","RevisionHistoryUI","block","3649283JLswqN","isAttached","Annotations","revisionHistory.showRevisionViewerCallback","document","end","revisionHistory.requireRevisionName","keys","refreshVisibility","_viewerEditor","570652ISXBUI","$graveyard","_showRevisionViewer","revision-history-missing-configuration","define","getRevisionRootsAttributes","restrictedEditingException","3310tOsqPq","destroy","loadRevisionData","DocumentOutlineUI","isOpen","isEnabled","_restoreRevision","toolbar","push","showRevisionViewerCallback","210CjEkwo","parse","users","removeSelectionAttribute","then","getRevisions","280008WbWrsh","isRevisionViewerOpen","from","revisionHistory","data","RevisionViewerIntegration","revisionHistory.viewerEditorElement","getRevisionDocumentData","removeMarker","uiLanguage","fromCharCode","disableReadOnlyMode","toLocaleTimeString","_update","create","rootName","RestrictedEditingMode","RevisionHistoryUtils","element","pluginName","1984300dQIjoU","saveRevision","selection","revisionHistory.viewerContainer","exitToEditing","619465PQMPnp"];return(Yo=function(){return t})()}class Go extends U.Plugin{[Zo(494)];static get[Zo(537)](){return Zo(417)}static get[Zo(459)](){return!0}static get[Zo(550)](){return!0}static get[Zo(441)](){return[ot,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(410)][i(549)][i(547)](i(521)))throw new t.CKEditorError(i(498),this);this[i(494)]=null,this[i(560)](i(519),!1),this[i(410)][i(549)][i(499)](i(488),(t=>this[i(497)]({...t,translations:this[i(410)][i(421)][i(558)]}))),this[i(410)][i(549)][i(499)](i(427),(t=>this[i(470)](t))),this[i(410)][i(549)][i(499)](i(423),(t=>this[i(508)](t))),this[i(410)][i(549)][i(499)](i(491),!1),this[i(426)](),this[i(556)]()}set[Zo(478)](t){const e=Zo;this[e(410)][e(428)][e(547)](e(455))[e(478)]=t}get[Zo(478)](){const t=Zo;return this[t(410)][t(428)][t(547)](t(455))[t(478)]}[Zo(435)](t){const e=Zo;return this[e(410)][e(428)][e(547)](e(455))[e(435)](t)}[Zo(559)](t){const e=Zo;return this[e(410)][e(428)][e(547)](e(419))[e(559)](t)}[Zo(517)](t){const e=Zo;return this[e(410)][e(428)][e(547)](e(419))[e(517)](t||{toJSON:!1})}[Zo(443)](){const e=Zo,i=this[e(410)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(428)][e(547)](e(455)),r=i[e(428)][e(547)](e(464))[e(514)];return s[e(509)]=[e(542),e(445),e(434)],delete s[e(447)],s[e(428)][e(510)](Bo,ee,be,class extends U.Plugin{static get[e(441)](){return[ee,e(464)]}[e(409)](){const s=e,o=this[s(410)][s(428)][s(547)](s(464));for(const t of r)t[s(475)]||o[s(456)](t.id)||o[s(472)](t);const a=n[s(420)][s(517)]();let c=null;const u=this[s(410)][s(428)][s(547)](s(463));u[s(478)]=n[s(478)],u[s(555)](s(507)).to(n),this[s(410)][s(418)][s(547)](s(445))[s(555)](s(507)).to(i,s(548),(t=>!t));for(const e of a){const i=null===e[s(477)];if(i&&e[s(465)]===e[s(454)])continue;const r=e[s(458)]();u[s(435)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(531)](r,o);else if(!o){const e=a[u(458)]();e.id=(0,t.uid)(),n[u(539)](e,a[u(465)])[u(516)]((t=>{c=t}))}}else e[u(531)](r,o)}))}}},Ro),s}[Zo(426)](){const t=Zo,e=this[t(410)][t(549)][t(547)](t(521))[t(511)];this[t(410)][t(549)][t(560)](t(488),(async()=>{const i=t;this[i(410)][i(473)](i(444));const s=this[i(410)][i(428)][i(547)](i(455));if(this[i(410)][i(428)][i(545)](i(440))){const t=this[i(410)][i(428)][i(547)](i(440));await t[i(482)]()}else await s[i(466)]();if(this[i(410)][i(428)][i(545)](i(432))&&this[i(410)][i(428)][i(547)](i(432))[i(451)](),this[i(410)][i(428)][i(545)](i(439))){const t=this[i(410)][i(428)][i(547)](i(439));t[i(506)]&&t[i(414)]()}const n=this[i(443)]();return e(n)[i(516)]((t=>{const e=i;return this[e(494)]=t,this[e(410)][e(428)][e(545)](e(487))&&this[e(410)][e(428)][e(547)](e(487))[e(493)](),this[e(410)][e(428)][e(545)](e(462))&&(this[e(410)][e(428)][e(547)](e(505))[e(460)][e(536)][e(448)][e(552)]=e(446)),t}))[i(553)]((t=>(console[i(433)](t),this[i(410)][i(529)](i(444)),null)))}))}[Zo(556)](){const t=Zo,e=this[t(410)][t(549)][t(547)](t(521))[t(425)];this[t(410)][t(549)][t(560)](t(427),(()=>(this[t(410)][t(428)][t(545)](t(432))&&this[t(410)][t(428)][t(547)](t(432))[t(451)](),this[t(410)][t(428)][t(545)](t(462))&&(this[t(410)][t(428)][t(547)](t(505))[t(460)][t(536)][t(448)][t(552)]=""),this[t(494)][t(428)][t(547)](t(463))[t(430)](),e(this[t(494)])[t(516)]((()=>{const e=t;if(this[e(410)][e(529)](e(444)),this[e(494)]=null,this[e(410)][e(428)][e(545)](e(487))){const t=this[e(410)][e(428)][e(547)](e(487));t[e(493)](),t[e(442)]()}})))))}[Zo(497)](t){const e=Zo,i=this[e(410)][e(549)][e(547)](e(554)),s=this[e(410)][e(549)][e(547)](e(541)),n=this[e(410)][e(549)][e(547)](e(524));return Wo[e(532)](n,t)[e(516)]((t=>(s[e(448)][e(552)]=e(484),i[e(448)][e(552)]=e(446),this[e(519)]=!0,t)))}[Zo(470)](t){const e=Zo,i=this[e(410)][e(549)][e(547)](e(554));return this[e(410)][e(549)][e(547)](e(541))[e(448)][e(552)]=e(446),i[e(448)][e(552)]="",this[e(519)]=!1,t[e(503)]()}async[Zo(508)](t){const e=Zo,i=this[e(410)],s=this[e(494)][e(428)][e(547)](e(463)),n=i[e(428)][e(547)](e(455)),r=i[e(428)][e(547)](e(535)),o=s[e(420)][e(559)](t);let a,c,u;try{await r[e(504)](o,this[e(478)]),a=r[e(525)](o),c=r[e(500)](o)}catch(t){return void console[e(433)](t)}i[e(546)][e(457)]((t=>{const s=e;for(const e of Array[s(520)](i[s(546)][s(551)][s(450)](s(501))))t[s(526)](e)})),s[e(452)]=!1,i[e(546)][e(467)]((t=>{const s=e;t[s(561)](null),t[s(515)](i[s(546)][s(489)][s(540)][s(437)]());const n=Object[s(492)](a);for(const e of i[s(546)][s(489)][s(469)])s(496)!=e[s(533)]&&e[s(486)]()&&!n[s(476)](e[s(533)])&&t[s(415)](e);for(const e of n){let n=i[s(546)][s(489)][s(411)](e);n&&n[s(486)]()||(n=t[s(412)](e));const r=c[e],o=Object[s(492)](r),u=a[e];for(const e of n[s(437)]())o[s(476)](e)||t[s(544)](e,n);for(const i of o)t[s(461)](i,c[e][i],n);t[s(481)](t[s(436)](n)),t[s(422)](i[s(522)][s(513)](u,n),n,0)}}));const l=Q(i[e(421)],e(416));return u=o[e(438)]?-1==o[e(438)][e(431)](l)?l+": "+o[e(438)]:o[e(438)]:l+": "+o[e(449)][e(429)](i[e(421)][e(527)],{month:e(413),day:e(474)})+", "+o[e(449)][e(530)](i[e(421)][e(527)],{hour:e(474),minute:e(474)}),await n[e(539)]({name:u}),s[e(452)]=!0,i[e(549)][e(547)](e(521))[e(425)]()}}function Jo(){var t=["261moFKuf","3011603cYWFyQ","3415ACbddE","8usLwwe","14752AGzRQl","290349wMKHuT","201442aZApxE","8700032kZpldt","4698LyROQf","435660rSSnNg","120NYYgMf"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=219]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(348897===parseInt(e(226))/1+parseInt(e(223))/2+parseInt(e(228))/3*(parseInt(e(221))/4)+parseInt(e(219))/5*(-parseInt(e(225))/6)+parseInt(e(229))/7*(parseInt(e(220))/8)+parseInt(e(222))/9*(parseInt(e(227))/10)+-parseInt(e(224))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();