@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250602.0 → 0.0.0-nightly-20250603.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 (181) 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.d.ts +3 -1
  170. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  171. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  175. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  176. package/src/ui/revisionssidebar/utils.js +1 -1
  177. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  178. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  180. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  181. 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:()=>U,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ot,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Uo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>xo});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function 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-=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=P,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 U extends((0,t.ObservableMixin)()){id;[j(125)];[j(136)];[j(147)];[j(128)];[j(143)];[j(117)];constructor(e){const i=j;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)]||{})}[j(120)](t){this[j(133)]({name:t})}[j(137)](t,e){const i=j,s=A(this[i(129)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(133)]({attributes:s})}[j(132)](t){const e=j,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]&&D(e))return L(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(133)]({attributes:i})}[j(133)](t,e=!1){const i=j;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))}[j(123)](){const t=j;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 W=i(782),Z=i(211),H=i(783);const q=B;function $(){const t=["name","data","getUser","getLaterVisibleRevision","3xMtXWw","9EQcAUX","from","132052tUQqzQ","isPremiumPlugin","push","_revisions","getRevision","diffData","getEarlierVisibleRevision","toJSON","reverse","pluginName","authorsIds","oldRevisionId","creatorId","7377786VabNcH","fromVersion","getRevisionsInDiff","length","getRevisions","attributes","map","getRevisionsIterator","isNaN","getIndex","8KfMZyB","20dklilf","plugins","Users","add","newRevisionId","afterInit","378762usfMrK","addRevision","requires","earlier","RevisionsRepository","href","join","142Xjaluv","fromCharCode","createdAt","33PWSudm","toVersion","1646850bzQOBi","isOfficialPlugin","1013172FzyUTH","later","get","3797NnOIWv","createRevision","editor","75026wEJLbk"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=204]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(156330===-parseInt(e(223))/1*(parseInt(e(213))/2)+parseInt(e(231))/3*(parseInt(e(234))/4)+parseInt(e(258))/5*(-parseInt(e(206))/6)+-parseInt(e(226))/7*(parseInt(e(257))/8)+-parseInt(e(232))/9*(parseInt(e(218))/10)+parseInt(e(216))/11*(parseInt(e(220))/12)+parseInt(e(247))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends W.Plugin{[q(237)];static get[q(208)](){return[Z.Users]}static get[q(243)](){return q(210)}static get[q(219)](){return!0}static get[q(235)](){return!0}get[q(250)](){const t=q;return this[t(237)][t(250)]}constructor(e){const i=q;super(e),this[i(237)]=new t.Collection}[q(205)](){!async function(e){const i=k([109,100,50,108,72,49,119,54,85,105,111,53,99,87,106,117,80,98,65,57,110,120,66,76,51,113,118,89,116,78,73,48,107,88,77,52,82,55,84,81,68,121,74,56,69,79,71,90,102,67,122,86,114,103,112,97,104,115,75,70,101,83]),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(255)](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([109]);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(253)]((t=>String[e(214)](t)))[e(212)]("")}!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:1748822400;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(211)]);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(224)](t){const e=q,i=this[e(225)][e(259)][e(222)](e(260));return new U({id:t.id,name:t[e(227)],creator:t[e(246)]?i[e(229)](t[e(246)]):null,diffData:t[e(239)]||t[e(228)],authors:t[e(244)][e(253)]((t=>i[e(229)](t))),createdAt:new Date(t[e(215)]),attributes:t[e(252)],fromVersion:t[e(248)],toVersion:t[e(217)]})}[q(207)](t,e=0){const i=q;this[i(237)][i(261)](t,e)}[q(238)](t){const e=q;return this[e(237)][e(222)](t)}[q(251)](t={toJSON:!1}){const e=q,i=Array[e(233)](this[e(237)]);return i[e(242)](),t[e(241)]?i[e(253)]((t=>t[e(241)]())):i}[q(256)](t){const e=q;return this[e(237)][e(256)](t)}[q(240)](t){const e=q,[,i]=this[e(254)](t,{direction:e(209)});return i}[q(230)](t){const e=q,[,i]=this[e(254)](t,{direction:e(221)});return i}[q(249)](t){const e=q,i=[];for(const s of this[e(254)](t[e(204)]))if(i[e(236)](s),s.id===t[e(245)])break;return i}*[q(254)](t,{direction:e=q(209),filter:i=()=>!0}={}){const s=q,n=s(209)===e?1:-1;let r=this[s(237)][s(222)](t),o=this[s(256)](r);for(yield r;r;){if(o+=n,r=this[s(238)](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-=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=G,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 Q extends W.Plugin{static get[J(324)](){return J(335)}static get[J(363)](){return!0}static get[J(330)](){return!0}[J(349)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(345)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(374)](t,e){const i=J;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)]}[J(332)](t){const e=J,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 H.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}[J(348)](t){const e=J,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}[J(368)](t){const e=J;return this[e(349)][e(369)](t[e(382)])}[J(328)](t,e){const i=J,s=this[i(341)][i(331)][i(343)][i(346)];if(i(379)==typeof t)return new H.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)])||H.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 H.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 H.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}}[J(375)](t){const e=J,i=JSON[e(387)](t),s=this[e(341)][e(331)][e(343)][e(346)],n=new H.ViewDocumentFragment(s,i[e(362)]((t=>this[e(328)](t,!0))));return this[e(341)][e(390)][e(364)](n)}[J(378)](t){const e=J;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 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),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,V;const E=(s=s??new Map).get(t),M=s.get(i);if(null!=E&&null!=M)return E===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,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=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 W.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[Z.Users,Y,Q,W.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=X(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)](X(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 H.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 H.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 H.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=H.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 H.Position){const r=e[i(790)](n[i(683)][i(771)]);t[s]=this[i(529)](n,r)}if(n instanceof H.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 H.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 H.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),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Vt(t,e){const i=Et();return(Vt=function(t,e){return i[t-=386]})(t,e)}function Et(){const t=["ck-responsive-form","revisionNameInputValue","206GaykQh","stopPropagation","22GHczzP","arrowleft","label","266147YfRwAj","Name of the revision","trim","arrowup","keystrokes","listenTo","setTemplate","ck-revision-history-save-revision-form","1866024MWkbOq","revisionNameInputView","arrowright","revisionName","optional","_createRevisionNameInput","focusTracker","3277216fovZhi","locale","220","form","2404KHefLa","value","arrowdown","input","set","focus","fieldView","9177600DWkLCu","render","14340tZkAWF","element","2520QwpiEE","90zRkgCw","add","extendTemplate","5YLADhI","errorText","799056ZVJWHQ","reset"];return(Et=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(699651===-parseInt(e(403))/1*(-parseInt(e(427))/2)+parseInt(e(399))/3+-parseInt(e(423))/4*(parseInt(e(397))/5)+parseInt(e(394))/6*(parseInt(e(408))/7)+parseInt(e(389))/8+-parseInt(e(393))/9*(parseInt(e(391))/10)+-parseInt(e(405))/11*(parseInt(e(416))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Mt extends pt.View{[At(422)];[At(412)];[At(417)];constructor(e,i){const s=At;super(e),this[s(422)]=new t.FocusTracker,this[s(412)]=new t.KeystrokeHandler,this[s(386)](s(402),""),this[s(417)]=this[s(421)](i),this[s(414)]({tag:s(426),attributes:{class:["ck",s(415),s(401)],tabindex:"-1"},children:[this[s(417)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(390)](){const t=At;super[t(390)](),(0,pt.submitHandler)({view:this}),this[t(422)][t(395)](this[t(417)][t(392)]),this[t(412)][t(413)](this[t(392)]);const e=e=>e[t(404)]();this[t(412)][t(386)](t(418),e),this[t(412)][t(386)](t(406),e),this[t(412)][t(386)](t(411),e),this[t(412)][t(386)](t(429),e)}[At(387)](){const t=At;this[t(417)][t(387)]()}get[At(419)](){const t=At;return this[t(417)][t(388)][t(392)][t(428)][t(410)]()}set[At(419)](t){const e=At;this[e(417)][e(388)][e(392)][e(428)]=t[e(410)]()}[At(400)](){const t=At;this[t(417)][t(388)][t(392)][t(428)]="",this[t(417)][t(398)]=null}[At(421)](t){const e=At,i=new pt.LabeledFieldView(this[e(424)],pt.createLabeledInputText),s=i[e(388)];s[e(396)]({attributes:{maxlength:e(425)}});let n=X(this[e(424)],e(409));return!t&&(n+=" ("+X(this[e(424)],e(420))+")"),i[e(407)]=n,s.on(e(430),(()=>{const t=e;this[t(402)]=s[t(392)][t(428)][t(410)]()})),i}}const Dt=Ft;function Ct(){const t=["hide","363704JjOSSJ","config","isPremiumPlugin","_saveRevisionFormView","Dialog","saveRevision","RevisionTracker","focus","errorText","Save current revision","revisionSave","componentFactory","RevisionHistoryUI","revisionHistory.requireRevisionName","Cancel","get","execute","isReady","isReadOnly","253480LzqPYy","_showDialog","menuitem","81319tTjKAx","menuBar:revisionHistory","_createSaveRevisionFormView","add","view","panelView","init","pluginName","showRevisionViewerCallback","The revision name cannot be empty.","bind","Open revision history","role","reset","editor","revisionName","requires","children","ck-button-action","items","plugins","_registerMenuComponent","set","42VIzqrV","1072494MbcObq","22wJaSUw","isEnabled","delegate","7cfLCJN","show","revisionHistory","buttonView","18UWmSQF","menu","render","63664bZKAQV","locale","286792mIcLWP","addMany","isOfficialPlugin","Revision history","isOpen","editing","submit","revisionNameInputView","1105515lrLJic","Accept"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=421]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(237672===parseInt(e(488))/1*(parseInt(e(425))/2)+-parseInt(e(484))/3+-parseInt(e(427))/4+parseInt(e(435))/5+-parseInt(e(483))/6*(-parseInt(e(460))/7)+parseInt(e(438))/8*(parseInt(e(422))/9)+-parseInt(e(457))/10*(-parseInt(e(485))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Lt extends W.Plugin{static get[Dt(467)](){return Dt(450)}static get[Dt(429)](){return!0}static get[Dt(440)](){return!0}static get[Dt(476)](){return[ot]}[Dt(441)];[Dt(466)](){const t=Dt,e=this[t(474)],i=e[t(480)][t(453)](t(444));e.ui[t(449)][t(463)](t(490),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(465)][n(477)],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(470)](n(486)).to(i,n(455),i,n(486),e,n(456),((t,e,i)=>t&&e&&!i)),r[n(421)][n(482)]({icon:mt.IconHistory,label:X(s,n(430)),tooltip:!0}),u[n(482)]({label:X(s,n(447)),withText:!0,role:n(459)}),u[n(470)](n(486)).to(i,n(455),i,n(486),e,n(456),((t,e,i)=>t&&e&&!i)),u.on(n(454),(()=>this[n(458)]())),h[n(482)]({label:X(s,n(471)),withText:!0,role:n(459)}),h[n(470)](n(486)).to(i,n(455),e,n(456),((t,e)=>t&&!e)),h.on(n(454),(()=>{const t=n;e[t(439)][t(453)](t(490))[t(468)](),r[t(431)]=!1,e[t(432)][t(464)][t(445)]()})),c[n(477)][n(463)](u),l[n(477)][n(463)](h),a[n(472)]=n(423),a[n(479)][n(428)]([c,l]),o[n(463)](a),r})),e.ui[t(449)][t(463)](t(461),(()=>this[t(481)]()))}[Dt(481)](){const t=Dt,e=this[t(474)],i=e[t(426)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(421)][t(482)]({icon:mt.IconHistory,label:X(i,t(430))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(482)]({label:X(i,t(447))}),o[t(487)](t(454)).to(s),o.on(t(454),(()=>{this[t(458)]()})),r[t(477)][t(463)](o),n[t(479)][t(463)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(482)]({label:X(i,t(471))}),c[t(487)](t(454)).to(s),c.on(t(454),(()=>{const i=t;e[i(439)][i(453)](i(490))[i(468)]()})),a[t(477)][t(463)](c),n[t(479)][t(463)](a),s[t(465)][t(477)][t(463)](n),s}[Dt(458)](){const t=Dt,e=this[t(474)],i=e[t(426)],s=e[t(480)][t(453)](t(442)),n=e[t(480)][t(453)](t(444));function r(n){const r=t;e[r(439)][r(453)](r(451))&&""===n[r(475)]?n[r(434)][r(446)]=X(i,r(469)):(e[r(480)][r(453)](ot)[r(443)]({name:n[r(475)]}),s[r(437)]())}this[t(441)]||(this[t(462)](),this[t(441)].on(t(433),(()=>r(this[t(441)])))),this[t(441)][t(473)](),s[t(489)]({id:t(448),title:X(i,t(447)),isModal:!0,content:this[t(441)],actionButtons:[{label:X(e[t(426)],t(452)),withText:!0,onExecute:()=>s[t(437)]()},{label:X(e[t(426)],t(436)),class:t(478),withText:!0,onCreate(i){const s=t;i[s(470)](s(486)).to(n,s(455),n,s(486),e,s(456),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(441)])}]})}[Dt(462)](){const t=Dt,e=this[t(474)],i=e[t(426)];this[t(441)]=new Mt(i,e[t(439)][t(453)](t(451))),this[t(441)][t(424)]()}}const jt=zt;function Pt(){const t=["set","data","isSuggestion","Removed by","bindTemplate","8DJOUxB","Suggested by","ck-revision-change__","263613BZFTUj","type","add","div","ck-revision-change__label","907266FrYTce","ck-revision-change","changeId","name","author","3894489QOfzqR","_model","focus","4FCYiBR","element","ck-annotation","Added by","10pNQTry","2180453HxOwUy","setTemplate","span","18XsjyIu","184824QqKZub","2853460POzIks","197926LFeYyN"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=321]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(510231===-parseInt(e(337))/1+parseInt(e(335))/2+-parseInt(e(351))/3+-parseInt(e(326))/4*(-parseInt(e(336))/5)+parseInt(e(334))/6*(parseInt(e(346))/7)+-parseInt(e(343))/8*(-parseInt(e(323))/9)+parseInt(e(330))/10*(-parseInt(e(331))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ut extends pt.View{[jt(353)];[jt(324)];constructor(t,e){const i=jt;super(t),this[i(324)]=e,this[i(353)]=e.id;const s=this[i(342)],n=X(t,e[i(339)][i(340)]?i(344):i(348)==e[i(347)]?i(329):i(341));this[i(338)](i(347),e[i(347)]),this[i(332)]({tag:i(349),attributes:{class:[i(328),i(352),s.to(i(347),(t=>i(345)+t))],tabindex:-1},children:[{tag:i(333),children:[{tag:i(333),attributes:{class:[i(350)]},children:[{text:n}]},{text:" "+e[i(322)][i(321)]}]}]})}[jt(325)](){const t=jt;this[t(327)][t(325)]()}}function Wt(t,e){var i=qt();return(Wt=function(t,e){return i[t-=384]})(t,e)}var Zt=Wt;!function(t){for(var e=Wt,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 Ht extends((0,t.ObservableMixin)()){id;[Zt(394)];[Zt(400)];[Zt(388)];[Zt(397)];constructor(e){var i=Zt;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)])}[Zt(399)](){var t=Zt;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=Jt();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())}}(Jt);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 Jt(){const t=["6463184JLZlbZ","5982LazfNx","723562vXQXun","2796520HhTEzs","oldRevisionId","newRevisionId","changes","_setChanges","148QChnfm","144DqVYoh","7487156BVybkl","3687qRxzLV","add","12741484qbtIGj","605IWQXZn"];return(Jt=function(){return t})()}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-=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=Xt,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 W.Plugin{[Qt(288)];[Qt(553)]=null;[Qt(593)];[Qt(558)];[Qt(282)];[Qt(496)];[Qt(556)];static get[Qt(313)](){return Qt(402)}static get[Qt(469)](){return!0}static get[Qt(356)](){return!0}static get[Qt(545)](){return[Z.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;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)}[Qt(405)](){const t=Qt,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[Qt(375)](t){const e=Qt;return await this[e(593)][e(481)](t,this[e(553)]),this[e(593)][e(375)](t)}async[Qt(342)](t){const e=Qt;return await this[e(593)][e(481)](t,this[e(553)]),this[e(593)][e(342)](t)}async[Qt(548)](t,e,i=!1){const s=Qt;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}))}[Qt(529)](t,e){const i=Qt,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}[Qt(349)](){const t=Qt;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)}))}[Qt(394)](t){const e=Qt,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}[Qt(347)](t){const e=Qt,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}[Qt(367)](t){const e=Qt,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)]))}[Qt(471)](t){const e=Qt;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)]=[])}}[Qt(425)](t,e){const i=Qt,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)])}[Qt(572)](t,e=null){const i=Qt,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 Ht({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}[Qt(525)](t,e){const i=Qt;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)}[Qt(448)](t,e){const i=Qt;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}[Qt(310)](t,e){const i=Qt,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])}}}[Qt(465)](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(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}}[Qt(284)](t,e,i=!1){const s=Qt,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}[Qt(460)](t,e,i,s){const n=Qt,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--)}}[Qt(328)](t){const e=Qt,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)]))}[Qt(406)](t){const e=Qt,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)]))}[Qt(429)](t){const e=Qt,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)]))}[Qt(297)](t){const e=Qt,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)]))}[Qt(285)](t,e,i){const s=Qt,n=new H.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 H.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 H.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 Ht({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)]}}[Qt(449)](){const t=Qt;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)})}[Qt(293)](t){const e=Qt;return this[e(496)][e(479)](t)}[Qt(401)](t){const e=Qt;return this[e(282)]&&this[e(282)][e(493)](),this[e(282)]=new Ut(this[e(564)][e(418)],t),this[e(282)]}[Qt(410)](){const t=Qt;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)}))}[Qt(531)](t){const e=Qt;do{const i=t[e(417)](e(408));if(i)return i;t=t[e(354)]}while(t);return null}[Qt(482)](){const t=Qt;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=Xt;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 W.Command{constructor(t){const e=Qt;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)]()))}[Qt(498)](){const t=Qt,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)}[Qt(486)](){const t=Qt,{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 W.Command{[Qt(511)];constructor(t,{direction:e}){const i=Qt;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)]()))}[Qt(498)](){const e=Qt,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,Z.getMarkerDomElement)(i[e(400)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(486)](){const t=Qt,{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=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-=170]})(t,e)}function ce(){const t=["currentChangeNumber","bind","isReady","numberOfChanges","2360781KUieom","10wUzakg","253880IPkWyc","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation__navigation","114wznBlB","forward","652IhJGaT","setTemplate","isEnabled","Total","isNavigationMode","X_OF_Y_CHANGES","span","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","_statusText","24qXIFcb","No changes","Show next change","879571rriOrh","bindTemplate","ck-hidden","ck-revision-history-ui__changes-navigation","NUMBER_OF_CHANGES","ck-revision-history-ui","Show previous change","backward","Loading...","fire","_isStatusLabelVisible","set","8768410lgXDXQ","22757636lIeOEG","1635glfweG","div","169741xKKnPJ","execute","EDIT_X_OF_Y_REVISIONS","isForwardNavigationEnabled"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(484329===-parseInt(e(201))/1*(parseInt(e(210))/2)+parseInt(e(199))/3*(parseInt(e(172))/4)+parseInt(e(211))/5*(parseInt(e(170))/6)+-parseInt(e(185))/7+parseInt(e(182))/8*(-parseInt(e(209))/9)+-parseInt(e(197))/10+parseInt(e(198))/11)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(186)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(196)](e(176),!1),this[e(196)](e(207),!1),this[e(196)](e(205),0),this[e(196)](e(208),0),this[e(196)](e(204),!1),this[e(196)](e(179),!1),this[e(206)](e(195)).to(this,e(207),this,e(208),((t,e)=>t&&e>0)),this[e(206)](e(181)).to(this,e(207),this,e(205),this,e(208),this,e(176),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(193));if(!n)return X(t,o(183));const a=X(t,o(189),n);return r?X(t,o(177),[s+1,n]):a})),s[e(196)]({label:X(t,e(191)),tooltip:!0,icon:mt.IconChevronUp}),n[e(196)]({label:X(t,e(184)),tooltip:!0,icon:mt.IconChevronDown}),s[e(206)](e(174)).to(this,e(179)),n[e(206)](e(174)).to(this,e(204)),s.on(e(202),(()=>this[e(194)](e(202),e(192)))),n.on(e(202),(()=>this[e(194)](e(202),e(171)))),this[e(173)]({tag:e(200),attributes:{class:["ck",e(190),e(188)]},children:[{tag:e(178),attributes:{class:[e(180)]},children:[{tag:e(178),attributes:{class:[e(212),i.if(e(195),e(187),(t=>!t))]},children:[{text:i.to(e(176),(i=>i?X(t,e(203))+": ":X(t,e(175))+": "))}]},{text:i.to(e(181))}]},new pt.ToolbarSeparatorView,{tag:e(200),attributes:{class:[e(213)]},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(t,e){const i=me();return(de=function(t,e){return i[t-=380]})(t,e)}const fe=de;function me(){const t=["editing","isOfficialPlugin","3SKhHdz","30sVTAbC","roots","31288oLyjGs","view","editor","1953mrnrSh","isPremiumPlugin","document","ck-editor__editable__loading-overlay","13761484CqFGiN","130vBCRHG","1675722lDZdQn","3853656UMusDw","pluginName","8252bxOKaT","show","removeClass","18flallu","498388yynyJB","RevisionViewerLoadingOverlay","addClass","hide","change","354582etIbUo"];return(me=function(){return t})()}!function(t){const e=de,i=t();for(;;)try{if(946923===-parseInt(e(388))/1*(parseInt(e(380))/2)+parseInt(e(406))/3*(-parseInt(e(403))/4)+-parseInt(e(389))/5*(-parseInt(e(400))/6)+parseInt(e(394))/7*(parseInt(e(391))/8)+parseInt(e(385))/9*(parseInt(e(399))/10)+-parseInt(e(398))/11+-parseInt(e(401))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=fe(397);class ve extends W.Plugin{static get[fe(402)](){return fe(381)}static get[fe(387)](){return!0}static get[fe(395)](){return!0}[fe(404)](){const t=fe,e=this[t(393)][t(386)][t(392)];e[t(384)]((i=>{const s=t;for(const t of e[s(396)][s(390)])i[s(382)](pe,t)}))}[fe(383)](){const t=fe,e=this[t(393)][t(386)][t(392)];e[t(384)]((i=>{const s=t;for(const t of e[s(396)][s(390)])i[s(405)](pe,t)}))}}const ge=ke;function ye(){const t=["isOfficialPlugin","3689889MNIQRt","change:isReady","isBackwardNavigationEnabled","get","add","4brKmLW","currentChangeNumber","pluginName","445373XMjmXB","2111250ykswKX","RevisionViewerUI","numberOfChanges","3807536VKaKHz","2cFIFCS","config","commands","20xjbEkL","revisionHistory","editor","restoreRevision","isNavigationMode","isEnabled","ck-revision-history-ui__back-to-editing","changesNavigation","isForwardNavigationEnabled","componentFactory","listenTo","exitToEditing","showPreviousChange","isReady","1040883HuvwoO","isPremiumPlugin","execute","plugins","579114pufqmM","forward","Back to editing","hide","11164860QNQXeR","Restore this revision","requires","showNextChange","show","closeRevisionViewerCallback","set","bind","init"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(359946===-parseInt(e(302))/1*(parseInt(e(307))/2)+-parseInt(e(276))/3*(parseInt(e(299))/4)+-parseInt(e(303))/5+parseInt(e(280))/6+-parseInt(e(294))/7+-parseInt(e(306))/8+-parseInt(e(284))/9*(-parseInt(e(310))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends W.Plugin{static get[ge(301)](){return ge(304)}static get[ge(293)](){return!0}static get[ge(277)](){return!0}static get[ge(286)](){return[ee,ve]}[ge(292)](){const t=ge,e=this[t(312)],i=e[t(279)][t(297)](ee),s=e[t(279)][t(297)](ve);e.ui[t(319)][t(298)](t(273),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(290)]({label:X(i,s(282)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(316)}),this[s(272)](n,s(278),(()=>{const t=s;e[t(308)][t(297)](t(311))[t(289)]()})),n})),e.ui[t(319)][t(298)](t(313),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(290)]({label:X(i,s(285)),withText:!0,tooltip:!0}),n[s(291)](s(315)).to(e[s(309)][s(297)](s(313))),this[s(272)](n,s(278),(()=>e[s(278)](s(313)))),n})),e.ui[t(319)][t(298)](t(317),(s=>{const n=t,r=new ue(s),o=e[n(309)][n(297)](n(274)),a=e[n(309)][n(297)](n(287));return r[n(291)](n(296)).to(o,n(315)),r[n(291)](n(318)).to(a,n(315)),r[n(291)](n(275),n(300),n(305),n(314)).to(i),this[n(272)](r,n(278),((t,i)=>{const s=n;e[s(278)](s(281)===i?s(287):s(274))})),r})),s[t(288)](),i.on(t(295),((e,i,n)=>{const r=t;n?s[r(283)]():s[r(288)]()}))}}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-=412]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(623517===parseInt(e(423))/1*(-parseInt(e(439))/2)+parseInt(e(427))/3*(parseInt(e(429))/4)+parseInt(e(428))/5+-parseInt(e(441))/6*(parseInt(e(424))/7)+parseInt(e(431))/8+-parseInt(e(435))/9+parseInt(e(412))/10*(parseInt(e(422))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Oe extends pt.LabeledFieldView{[Ie(442)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(417)];this[i(437)]({label:X(t,i(438)),_tooltipString:""}),this[i(440)][i(420)]=X(t,i(421)),this[i(414)]({tag:i(418),attributes:{class:[i(433)],"data-cke-tooltip-text":s.to(i(416)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(425)}})}[Ie(436)](){const e=Ie;super[e(436)](),this[e(442)]=new t.ResizeObserver(this[e(440)][e(432)],(()=>this[e(426)]())),this[e(434)](this[e(440)],e(415),(()=>this[e(426)]()))}[Ie(443)](){const t=Ie;super[t(443)](),this[t(442)]&&this[t(442)][t(443)]()}[Ie(426)](){const t=Ie,e=this[t(440)][t(432)];this[t(416)]=e[t(419)]>e[t(430)]&&e[t(413)]||""}}function Te(){const t=["input","_tooltipString","bindTemplate","span","scrollWidth","placeholder","Enter the revision name","3541373wjirxW","1514gXnVJR","91qIsZZg","ck-tooltip_multi-line","_updateTooltipText","30183VDaakQ","3815905uPlOGe","16ysbDCY","clientWidth","6132128ssCHkt","element","ck-revision-history-sidebar__revision-name","listenTo","3183138KmjNFc","render","set","Revision name","1202TJjACb","fieldView","2202HBfIzP","_resizeObserver","destroy","10FWgKii","value","extendTemplate"];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 Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=346]})(t,e)}function Ae(){const t=["12ozTAgK","404vovzbn","Revision author","81768WFXfGD","ck-revision-history-sidebar__revision-author","3942dOtVPv","push","768115zZMlBa","set","1973529gixZil","ck-revision-history-sidebar__revision-author__name","setTemplate","2wYjfOG","78uWUEfL","Revision creator","190xdtKeI","2962788FuLwor","70eKIoqJ","22187ZmZwvf","name","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","span","465397btFhpS"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(292869===-parseInt(e(350))/1*(parseInt(e(363))/2)+-parseInt(e(356))/3*(parseInt(e(352))/4)+-parseInt(e(358))/5*(parseInt(e(351))/6)+-parseInt(e(368))/7*(parseInt(e(354))/8)+-parseInt(e(360))/9+parseInt(e(366))/10*(parseInt(e(369))/11)+-parseInt(e(367))/12*(-parseInt(e(364))/13))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(359)]({content:mt.IconUser,viewBox:s(347)});const r=["ck",s(355)];i&&r[s(357)](s(348));const o=[{tag:s(349),attributes:{class:["ck",s(361)],title:X(t,s(i?365:353))},children:[n,e[s(346)]]}];this[s(362)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=109]})(t,e)}function Me(){var t=["toLocaleTimeString","11haNLXz","16218hYuHAP","numeric","3544LzaVWj","1131316swxSsr","27821390gNEuWA","1154HCmnKN","6IcLXTT","1240582qqdKqB","114789nrGtXR","1641VaxNoW","toLocaleDateString","long","4404135rKUJSG"];return(Me=function(){return t})()}!function(t){for(var e=Ee,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())}}(Me);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["extendTemplate","627pqLLft","32412cTlcbG","class","Show more items","source","map","first","534411pkdySf","bind","2aYVfpo","531882oeOCVI","ck-revision-history-sidebar__revision__actions","execute","Compare against selected","728048NxIgnH","60250PblKVg","button","find","action","isVisible","change:isActionsDropdownOpen","children","buttonView","isEnabled","menu","Name this revision","name","550858ycEfyE","model","Restore this revision","1815176CuvMRD","panelPosition","listView","stopPropagation","isActionsDropdownOpen","add","isReady","menuitem","_action","isOpen","locale","20PTgINC","listenTo","6ptlAGE","function","bindTemplate","set","items","ck-on"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=485]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(231625===-parseInt(e(486))/1*(parseInt(e(528))/2)+parseInt(e(520))/3*(parseInt(e(491))/4)+-parseInt(e(518))/5*(parseInt(e(487))/6)+parseInt(e(504))/7+-parseInt(e(507))/8+parseInt(e(534))/9+-parseInt(e(492))/10*(-parseInt(e(527))/11))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=We;function Ue(){const t=["filter","fire","355487QFuJhC","isHighlighted","ck-revision-history-sidebar__revision__date","5KVDsUF","22546tEjsqh","ck-reset","1591667cmRxjo","ck-revision-history-sidebar__revision_selected","authors","uiLanguage","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","from","div","setName","isConfirm","element","name","select","deselect","listenTo","highlight","618668oKlaPq","130dACDuH","ck-disabled",".ck-thread__remove-confirm","map","length","srcElement","isActionsDropdownOpen","isEnabled","ck-revision-history-sidebar__revision__controls-wrapper","creator","extendTemplate","bind","render","ck-revision-history-sidebar__actions_dropdown_open","set","_requireRevisionName","span","bindTemplate","createdAt","isSelected","_revision","setTemplate","value","revisionNameView","ck-revision-history-sidebar__revision-wrapper","14RthXzf","change","1326159FpvvUy","229716tAavGa","revisionActionsView","closest","8eYVNYw","isReady","ck-revision-history-sidebar__revision","_createdAtFormatted","unshift","220","1573788oqZbnV","unhighlight","ck-revision-history-sidebar__revision-authors","fieldView","ck-revision-history-sidebar__revision_highlighted"];return(Ue=function(){return t})()}function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=256]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(157520===parseInt(e(306))/1*(parseInt(e(263))/2)+parseInt(e(309))/3+-parseInt(e(280))/4+parseInt(e(262))/5*(-parseInt(e(318))/6)+-parseInt(e(265))/7+parseInt(e(312))/8*(parseInt(e(308))/9)+parseInt(e(281))/10*(parseInt(e(259))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(304)];[ze(310)];[ze(301)];[ze(296)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(298)],a=function(t,e){const i=r,s=Array[i(270)](e[i(267)])[i(257)]((t=>t!=e[i(290)]));return e[i(290)]&&s[i(316)](e[i(290)]),s[i(284)]((s=>new Ve(t,s,s==e[i(290)])))}(e,i);this.id=i.id,this[r(301)]=i,this[r(296)]=n,this[r(292)](r(275),r(299)).to(i),this[r(292)](r(315)).to(this,r(299),(t=>{return i=e[r(268)],(s=t)[(n=Ee)(113)](i,{month:n(114),day:n(119)})+", "+s[n(116)](i,{hour:n(119),minute:n(119)});var i,s,n})),this[r(295)](r(300),!1),this[r(295)](r(260),!1),this[r(295)](r(287),!1),this[r(295)](r(313),!1),this[r(295)](r(288),!1),this[r(304)]=new Oe(e,pt.createLabeledInputText),this[r(304)][r(321)][r(291)]({attributes:{maxlength:r(317)}}),this[r(304)][r(321)][r(292)](r(303)).to(this,r(275),(t=>t||this[r(315)])),this[r(304)][r(292)](r(288)).to(this,r(300),this,r(288),((t,e)=>t&&e)),this[r(310)]=s&&s[r(285)]?function(e,i){const s=Le,n=e[s(522)],r=e[s(517)],o=(0,pt.createDropdown)(r);o[s(508)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(517)],n={"Compare against selected":X(s,i(490)),"Name this revision":X(s,i(502)),"Restore this revision":X(s,i(506))};return e[i(532)]((t=>{const e=i,s=n[t[e(503)]];return s&&s!==t[e(503)]&&(t[e(503)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(493),model:new pt.ViewModel({label:t[n(503)],class:t[n(529)],withText:!0,role:n(514),_action:t[n(495)]})};i[n(505)][n(485)](n(500)).to(e,n(511),(i=>n(521)!=typeof t[n(500)]||!i||t[n(500)](e))),o[n(512)](i)}return o}(e,i);return e[s(485)](s(511)).to(o,s(516)),o[s(499)][s(523)]({label:X(r,s(530)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(526)]({attributes:{class:[s(488),n.if(s(511),s(525))]},on:{click:n.to((t=>t[s(510)]()))}}),o.on(s(489),(t=>{const i=s;e[i(513)]&&i(521)==typeof t[i(531)][i(515)]&&t[i(531)][i(515)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(501)}),o[s(519)](e,s(497),((t,n,r)=>{const a=s;if(r)for(const t of o[a(509)][a(524)]){const s=t[a(498)][a(533)],n=i[a(494)]((t=>t[a(495)]===s[a(515)]))[a(496)];t[a(496)]=void 0===n||n(e)}})),o}(this,s):"",this[r(310)]&&this[r(310)][r(292)](r(288)).to(this),this[r(302)]({tag:r(271),attributes:{class:["ck",r(264),r(305),o.if(r(273),r(269))]},children:[{tag:r(271),attributes:{class:["ck",r(264),r(314),o.if(r(288),r(282),(t=>!t)),o.if(r(300),r(266)),o.if(r(260),r(256)),o.if(r(287),r(294))]},children:[this[r(304)],{tag:r(297),attributes:{class:["ck",r(261)]},children:[{text:o.to(r(315))}]},{tag:r(271),attributes:{class:["ck",r(289)]},children:[{tag:"ul",attributes:{class:["ck",r(320)]},children:a}]},this[r(310)]],on:{click:o.to((t=>{const e=r;t[e(286)][e(311)](e(283))||this[e(313)]&&this[e(288)]&&this[e(258)](e(276),{id:this.id})}))}}]})}[ze(293)](){const t=ze;super[t(293)]();const e=this[t(304)][t(321)][t(274)];this[t(278)](e,t(307),(()=>{const i=t;this[i(296)]&&!e[i(303)]||this[i(258)](i(272),{id:this.id,name:e[i(303)]}),e[i(303)]||(e[i(303)]=this[i(275)]?this[i(275)]:this[i(315)])}))}[ze(276)](){this[ze(300)]=!0}[ze(277)](){this[ze(300)]=!1}[ze(279)](){this[ze(260)]=!0}[ze(319)](){this[ze(260)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Vi={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Mi={};let Di={};let Ci=null;let Fi={};function 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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Ei(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ui={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||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 Wi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Li(this,t,Qs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Ui}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Wi.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Us(c,e,i)):u>Us(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function 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 Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Ws(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Vs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Es(s)}function 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=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Hi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),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||Wi.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:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative: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])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Ws);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=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 Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Vr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function 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 Ur(t,e,i=!0){return t.isValid?hn.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=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 Zr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Er(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=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||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Wi.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:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Wi.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=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Us(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Un,qn],[Wn,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[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=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Ur(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return 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(Wi.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=Wi.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=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["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=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=lo;function lo(t,e){const i=ho();return(lo=function(t,e){return i[t-=305]})(t,e)}function ho(){const t=["81ykfwuE","startDate","removeRevision","localizedPeriodName","select","4nvBaJM","_requireRevisionName","2031444zUmXPi","ck-revision-history-sidebar__time-period__revisions","addRevision","setTemplate","4011690kaxvvZ","div","175954qOTcJz","653105ExKoTQ","find","ck-revision-history-sidebar__time-period__label","remove","694264ipkBfc","locale","createCollection","span","56fuLRby","delegate","setName","686260lsFbxh","99SRrDEz","5EdZKdA","469038NIJRAv","uiLanguage","_revisionActions","revisionViews","ck-revision-history-sidebar__time-period","add"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(471518===-parseInt(e(323))/1+parseInt(e(322))/2+parseInt(e(337))/3*(parseInt(e(314))/4)+-parseInt(e(336))/5*(-parseInt(e(320))/6)+parseInt(e(331))/7*(-parseInt(e(327))/8)+parseInt(e(309))/9*(-parseInt(e(334))/10)+parseInt(e(335))/11*(parseInt(e(316))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(310)];[uo(306)];[uo(305)];[uo(315)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(328)][n(338)])[n(312)];this[n(310)]=e,this[n(306)]=this[n(329)](),this[n(305)]=i,this[n(315)]=s,this[n(306)][n(332)](n(313)).to(this),this[n(306)][n(332)](n(333)).to(this),this[n(319)]({tag:n(321),attributes:{class:["ck",n(307)]},children:[{tag:n(330),attributes:{class:["ck",n(325)]},children:[{text:r}]},{tag:n(321),attributes:{class:["ck",n(317)]},children:this[n(306)]}]})}[uo(318)](t){const e=uo,i=new Ze(this[e(328)],t,this[e(305)],this[e(315)]);this[e(306)][e(308)](i)}[uo(311)](t){const e=uo,i=this[e(306)][e(324)]((e=>e.id===t.id));this[e(306)][e(326)](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=["15ZXnvEU","2177665VQrqDt","6967sbmJEK","div","3096490ccvFQU","ck-revision-history-sidebar__header__label","content","Revision history","span","6083520Eyqjiy","setTemplate","244pCaimi","3840237zmenDj","78UafjES","278470FWcyMF","ck-reset_all","35300zCRgJC","ck-revision-history-sidebar__header"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=143]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(505270===parseInt(e(159))/1*(parseInt(e(150))/2)+-parseInt(e(157))/3*(-parseInt(e(155))/4)+-parseInt(e(153))/5*(parseInt(e(152))/6)+parseInt(e(158))/7+parseInt(e(148))/8+-parseInt(e(151))/9+-parseInt(e(143))/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(145)]=mt.IconHistory,this[e(149)]({tag:e(160),attributes:{class:["ck",e(154),e(156)]},children:[i,{tag:e(147),attributes:{class:["ck",e(144)]},children:[X(t,e(146))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["addRevision","some","5338020MLhDFn","revisionViews","remove","uiLanguage","render","_requireRevisionName","highlightRevisions","_revisionActions","_revisions","selectRevision","createdAt","443165oUUbHf","ck-rounded-corners","locale","_addRevision","setName","_removeRevision","7974PmAFsz","set","unhighlight","isEnabled","div","createCollection","find","revisionSelected","5602NLPtkz","revisionSetName","6fwDaXd","4042386njbynJ","removeRevision","_getTimePeriodViewByStartDate","add","get","62kAFBHh","1194935MInBnf","flat","getTime","setTemplate","ck-reset","ck-revision-history-sidebar__timeline","delegate","select","timePeriodViews","map","highlight","212raaSLw","3307272OTAApg","bindTemplate","startDate","ck-revision-history-sidebar","ck-disabled","deselect","fire"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=360]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(265593===parseInt(e(376))/1*(-parseInt(e(384))/2)+-parseInt(e(368))/3*(parseInt(e(396))/4)+-parseInt(e(362))/5+parseInt(e(378))/6*(parseInt(e(385))/7)+parseInt(e(397))/8+-parseInt(e(379))/9+parseInt(e(406))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(393)];[wo(414)];[wo(413)];[wo(411)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(398)];this[n(393)]=this[n(373)](),this[n(393)][n(391)](n(392)).to(this),this[n(393)][n(391)](n(366)).to(this),this[n(414)]=e,this[n(413)]=i,this[n(411)]=s,this.on(n(392),((t,e)=>{const i=n;this[i(403)](i(375),e)})),this.on(n(366),((t,e)=>{const i=n;this[i(403)](i(377),e)})),this[n(369)](n(371),!1),this[n(388)]({tag:n(372),attributes:{class:["ck",n(389),n(363),n(400)]},children:[new yo(t),{tag:n(372),attributes:{class:["ck",n(390),r.if(n(371),n(401),(t=>!t))]},children:this[n(393)]}]})}[wo(410)](){const t=wo;super[t(410)]();for(const e of this[t(414)])this[t(365)](e);this[t(414)].on(t(382),((e,i)=>{this[t(365)](i)})),this[t(414)].on(t(408),((e,i)=>{this[t(367)](i)}))}get[wo(407)](){const t=wo;return this[t(393)][t(394)]((e=>e[t(407)][t(394)]((t=>t))))[t(386)]()}[wo(360)](t){const e=wo;for(const i of this[e(407)])t&&t.id===i.id?i[e(392)]():i[e(402)]()}[wo(412)](t){const e=wo;for(const i of this[e(407)])t[e(405)]((({id:t})=>t===i.id))?i[e(395)]():i[e(370)]()}[wo(365)](t){const e=wo,i=oo(t[e(361)],this[e(364)][e(409)])[e(399)];let s=this[e(393)][e(383)](0);s&&s[e(399)][e(387)]()===i[e(387)]()||(s=new fo(this[e(364)],i,this[e(413)],this[e(411)]),this[e(393)][e(382)](s)),s[e(404)](t)}[wo(367)](t){const e=wo,i=oo(t[e(361)],this[e(364)][e(409)])[e(399)];this[e(381)](i)[e(380)](t)}[wo(381)](t){const e=wo;return this[e(393)][e(374)]((i=>i[e(399)][e(387)]()===t[e(387)]()))}}const Oo=No;!function(t){const e=No,i=t();for(;;)try{if(932002===-parseInt(e(357))/1*(-parseInt(e(372))/2)+-parseInt(e(340))/3+-parseInt(e(403))/4*(-parseInt(e(383))/5)+parseInt(e(414))/6*(parseInt(e(362))/7)+-parseInt(e(381))/8+parseInt(e(398))/9+-parseInt(e(378))/10*(parseInt(e(409))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class To extends W.Plugin{[Oo(353)];[Oo(343)];[Oo(356)];static[Oo(408)]=[Oo(384),Oo(400),Oo(361)];static[Oo(417)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(339),action:({plugins:e},i)=>{const s=t,n=e[s(392)](ee),r=n[s(385)];let o=n[s(388)][s(350)],a=i.id;r[s(382)](o)>r[s(382)](a)&&([o,a]=[a,o]),n[s(375)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(392)](ee);return!(n[s(385)][s(397)](n[s(388)])[s(360)]>2||i[s(404)])}},restoreRevision:{name:t(416),action:(e,{id:i})=>{const s=t;e[s(395)][s(392)](s(405))[s(359)](i)},isVisible:({plugins:e},i)=>!!e[t(392)](ee)[t(385)][t(394)](i.id)},nameRevision:{name:t(349),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(392)](ee),o=r[n(385)][n(389)](i);r[n(375)](i,o),s[n(373)](),s[n(354)][n(345)]()}}}}();static get[Oo(342)](){return Oo(379)}static get[Oo(391)](){return!0}static get[Oo(369)](){return!0}static get[Oo(420)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(353)]=t[e(410)][e(392)](ee),this[e(343)]=this[e(353)][e(385)],this[e(356)]=null}[Oo(415)](){const t=Oo,e=this[t(343)][t(364)],i=this[t(407)](),s=this[t(355)][t(395)][t(392)](t(419));this[t(356)]=new So(this[t(355)][t(367)],e,i,this[t(355)][t(395)][t(392)](t(341))),this[t(356)].on(t(363),this[t(348)][t(413)](this)),this[t(356)].on(t(421),this[t(358)][t(413)](this)),this[t(356)][t(413)](t(387)).to(this[t(353)]),this[t(356)][t(347)].on(t(406),((e,i)=>{const s=t;i[s(344)].on(s(406),((t,e)=>{const i=s;e[i(413)](i(387),i(399)).to(this[i(353)])}))})),this[t(356)][t(377)](),this[t(376)](this[t(355)][t(368)],t(346),this[t(366)][t(413)](this)),this[t(376)](this[t(353)],t(338),this[t(411)][t(413)](this)),s[t(380)](this[t(356)][t(393)])}[Oo(412)](){const t=Oo;this[t(356)][t(393)][t(365)](),this[t(356)][t(412)]()}[Oo(366)](){const t=Oo,e=this[t(343)][t(352)](0);if(e){const i=this[t(343)][t(389)](e.id);this[t(353)][t(375)](e,i)}}[Oo(348)](t,e){const i=Oo,s=this[i(343)][i(352)](e.id),n=this[i(343)][i(389)](s.id);this[i(353)][i(375)](s,n)}[Oo(358)](t,e){const i=Oo;this[i(343)][i(352)](e.id)[i(390)](e[i(396)])}[Oo(411)](t,e,i){const s=Oo,n=this[s(343)][s(397)](i);n[s(360)]>2?(this[s(356)][s(402)](n),this[s(356)][s(371)](null)):(this[s(356)][s(402)]([]),this[s(356)][s(371)](n[0]))}[Oo(407)](){const t=Oo,e=this[t(355)],i=To[t(417)],s=e[t(395)][t(392)](t(374))||To[t(408)];if(s[t(360)])return s[t(401)]((s=>{const n=t,r=n(370)==typeof s?Object[n(351)]({},i[s]):s;return r[n(418)]=r[n(418)][n(413)](this,e),r[n(386)]&&(r[n(386)]=r[n(386)][n(413)](this,e)),r}))}}const xo=To;function No(t,e){const i=Ro();return(No=function(t,e){return i[t-=338]})(t,e)}function Ro(){const t=["_revisionsRepository","revisionViews","select","ready","timePeriodViews","_handleRevisionSelected","Name this revision","newRevisionId","assign","getRevision","_revisionViewer","fieldView","editor","_sidebarView","27919zgNwLl","_handleRevisionSetName","restoreRevisionCallback","length","nameRevision","105161YCbqWX","revisionSelected","_revisions","remove","_handleEditorDataReady","locale","data","isPremiumPlugin","string","selectRevision","86xpSLZR","focus","revisionHistory.revisionActions","compare","listenTo","render","80nDvgPE","RevisionsSidebar","appendChild","12322624rdaAcI","getIndex","55ZJyBQH","compareAgainstSelected","repository","isVisible","isEnabled","diff","getEarlierVisibleRevision","setName","isOfficialPlugin","get","element","getLaterVisibleRevision","config","name","getRevisionsInDiff","10597086HTUiQg","isReady","restoreRevision","map","highlightRevisions","482752FhyMEg","isSelected","revisionHistory","add","_createRevisionActions","defaultRevisionActions","1110659efxGMQ","plugins","_handleDiffChange","destroy","bind","540MkBxWR","init","Restore this revision","availableRevisionActions","action","revisionHistory.viewerSidebarContainer","requires","revisionSetName","change:diff","Compare against selected","5332581NBlKhP","revisionHistory.requireRevisionName","pluginName"];return(Ro=function(){return t})()}const Ao=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=172]})(t,e)}function Eo(){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(Eo=function(){return t})()}!function(t){const e=Vo,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())}}(Eo);class Mo 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 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=jo();return(Lo=function(t,e){return i[t-=356]})(t,e)}function jo(){var t=["content","1842993AIyUqB","stickyPanel","10578336ZquMoI","_editable","main","shouldToolbarGroupWhenFull","82714lQjUVv","top","1048507CBfPlM","480136CEClVd","2245692DeRvxa","39bLbarg","374975GrDfYJ","toolbar","7CDsmyH","render","editable","add"];return(jo=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())}}(jo);class Po 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=Wo;!function(t){const e=Wo,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())}}(Zo);class Uo extends((0,W.ElementApiMixin)(W.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 Po(this[i(280)],this[i(274)][i(268)],{shouldToolbarGroupWhenFull:!0});this[i(262)]=new Mo(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 Wo(t,e){const i=Zo();return(Wo=function(t,e){return i[t-=255]})(t,e)}function Zo(){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(Zo=function(){return t})()}const Ho=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=[Ho(483),Ho(534)];class Bo extends W.Plugin{[Ho(480)];static get[Ho(537)](){return Ho(523)}static get[Ho(459)](){return!0}static get[Ho(550)](){return!0}constructor(t){const e=Ho;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 Jo extends W.Plugin{[Ho(494)];static get[Ho(537)](){return Ho(417)}static get[Ho(459)](){return!0}static get[Ho(550)](){return!0}static get[Ho(441)](){return[ot,Lt]}constructor(e){const i=Ho;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[Ho(478)](t){const e=Ho;this[e(410)][e(428)][e(547)](e(455))[e(478)]=t}get[Ho(478)](){const t=Ho;return this[t(410)][t(428)][t(547)](t(455))[t(478)]}[Ho(435)](t){const e=Ho;return this[e(410)][e(428)][e(547)](e(455))[e(435)](t)}[Ho(559)](t){const e=Ho;return this[e(410)][e(428)][e(547)](e(419))[e(559)](t)}[Ho(517)](t){const e=Ho;return this[e(410)][e(428)][e(547)](e(419))[e(517)](t||{toJSON:!1})}[Ho(443)](){const e=Ho,i=this[e(410)],s=(0,Z.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 W.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)}))}}},xo),s}[Ho(426)](){const t=Ho,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)))}))}[Ho(556)](){const t=Ho,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)]()}})))))}[Ho(497)](t){const e=Ho,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 Uo[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)))}[Ho(470)](t){const e=Ho,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[Ho(508)](t){const e=Ho,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=X(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 Go(){var t=["261moFKuf","3011603cYWFyQ","3415ACbddE","8usLwwe","14752AGzRQl","290349wMKHuT","201442aZApxE","8700032kZpldt","4698LyROQf","435660rSSnNg","120NYYgMf"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();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())}}(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:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?: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 M.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=z;function P(){const t=["_update","setName","10097397RooBxw","toVersion","672220cIZGxd","setAttribute","fromVersion","49leOYfU","creatorId","authors","toJSON","4hKDrdy","fire","822678hYtTrE","8kIjTBB","authorsIds","diffData","creator","332154YRtEKC","722099sCuGWG","removeAttribute","set","createdAt","1369070NyNRqs","attributes","model","2286990RZMoYm","map","name"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=153]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(592914===parseInt(e(161))/1+parseInt(e(155))/2+-parseInt(e(168))/3*(-parseInt(e(153))/4)+parseInt(e(165))/5+parseInt(e(160))/6*(-parseInt(e(178))/7)+-parseInt(e(156))/8*(parseInt(e(173))/9)+-parseInt(e(175))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[j(159)];[j(180)];[j(158)];[j(174)];[j(177)];[j(167)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(159)]=e[i(159)]||null,this[i(180)]=e[i(180)]||[],this[i(158)]=e[i(158)]||null,this[i(174)]=e[i(174)]||0,this[i(177)]=e[i(177)]||0,this[i(163)](i(170),e[i(170)]||""),this[i(163)](i(164),e[i(164)]||new Date),this[i(163)](i(166),e[i(166)]||{})}[j(172)](t){this[j(171)]({name:t})}[j(176)](t,e){const i=j,s=A(this[i(166)]);(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(171)]({attributes:s})}[j(162)](t){const e=j,i=A(this[e(166)]);(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(171)]({attributes:i})}[j(171)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(170),i(164),i(158),i(180),i(166),i(174),i(177),i(179)];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(180)]&&(n[i(157)]=n[i(180)][i(169)]((t=>t.id)),delete n[i(180)]),this[i(154)](i(171),n,e))}[j(181)](){const t=j;return{id:this.id,name:this[t(170)],creatorId:this[t(159)]?this[t(159)].id:null,authorsIds:this[t(180)][t(169)]((t=>t.id)),diffData:this[t(158)],createdAt:this[t(164)],attributes:this[t(166)],fromVersion:this[t(177)],toVersion:this[t(174)]}}}var U=i(782),Z=i(211),H=i(783);function q(){const t=["RevisionsRepository","toJSON","44nKERFb","later","afterInit","fromVersion","isNaN","data","map","isPremiumPlugin","join","7066827TSQqrV","5287908axRhRf","isOfficialPlugin","length","getUser","createRevision","_revisions","8OMqdhI","plugins","pluginName","getRevisionsIterator","from","creatorId","requires","editor","getRevisionsInDiff","createdAt","91FtbfGF","add","push","20542KrBQVd","Users","reverse","1490610dUjBbl","getRevisions","authorsIds","get","href","10IwuWzJ","fromCharCode","newRevisionId","2118705UJBvdt","earlier","getEarlierVisibleRevision","getLaterVisibleRevision","toVersion","getIndex","attributes","getRevision","name","oldRevisionId","42301XfTYKU","872TnlKZL","diffData","5073290IVfBge","addRevision"];return(q=function(){return t})()}const $=B;function B(t,e){const i=q();return(B=function(t,e){return i[t-=285]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(805114===parseInt(e(331))/1*(-parseInt(e(334))/2)+parseInt(e(288))/3*(-parseInt(e(321))/4)+parseInt(e(301))/5+parseInt(e(337))/6+parseInt(e(298))/7*(-parseInt(e(299))/8)+-parseInt(e(314))/9*(-parseInt(e(285))/10)+-parseInt(e(305))/11*(-parseInt(e(315))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends U.Plugin{[$(320)];static get[$(327)](){return[Z.Users]}static get[$(323)](){return $(303)}static get[$(316)](){return!0}static get[$(312)](){return!0}get[$(317)](){const t=$;return this[t(320)][t(317)]}constructor(e){const i=$;super(e),this[i(320)]=new t.Collection}[$(307)](){!async function(e){const i=k([122,87,80,85,68,49,97,69,89,98,109,73,77,88,104,103,78,107,70,90,67,105,81,106,71,118,65,82,99,51,117,111,120,110,76,75,74,53,101,102,121,55,115,72,86,119,116,56,50,83,114,113,57,66,79,84,48,112,108,54,100,52]),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(309)](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([122]);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(311)]((t=>String[e(286)](t)))[e(313)]("")}!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:1748908800;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(341)]);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)}[$(319)](t){const e=$,i=this[e(328)][e(322)][e(340)](e(335));return new W({id:t.id,name:t[e(296)],creator:t[e(326)]?i[e(318)](t[e(326)]):null,diffData:t[e(300)]||t[e(310)],authors:t[e(339)][e(311)]((t=>i[e(318)](t))),createdAt:new Date(t[e(330)]),attributes:t[e(294)],fromVersion:t[e(308)],toVersion:t[e(292)]})}[$(302)](t,e=0){const i=$;this[i(320)][i(332)](t,e)}[$(295)](t){const e=$;return this[e(320)][e(340)](t)}[$(338)](t={toJSON:!1}){const e=$,i=Array[e(325)](this[e(320)]);return i[e(336)](),t[e(304)]?i[e(311)]((t=>t[e(304)]())):i}[$(293)](t){const e=$;return this[e(320)][e(293)](t)}[$(290)](t){const e=$,[,i]=this[e(324)](t,{direction:e(289)});return i}[$(291)](t){const e=$,[,i]=this[e(324)](t,{direction:e(306)});return i}[$(329)](t){const e=$,i=[];for(const s of this[e(324)](t[e(287)]))if(i[e(333)](s),s.id===t[e(297)])break;return i}*[$(324)](t,{direction:e=$(289),filter:i=()=>!0}={}){const s=$,n=s(289)===e?1:-1;let r=this[s(320)][s(340)](t),o=this[s(293)](r);for(yield r;r;){if(o+=n,r=this[s(295)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["_viewClassToTypeChar","RevisionHistoryUtils","_setCustomProperty","customProperties","2JykQEs","div","innerHTML","2184750oUxprH","parse","_getViewFromDiffObj","_appendChild","domConverter","processor","isAttached","config","859096qhLJZB","from","pluginName","isOfficialPlugin","_getTypeCharForViewElement","104727OLQssD","default","createElement","diffData","forEach","887025xjIsrn","attributesAfter","name","editing","childNodes","2365428xHZeEx","editor","get","domChildrenToView","viewChildrenToDom","toData","useFillerType","data-revision-","126530uhiOHf","document","attributes","append","attachChange","loadRevisionData","domDocument","htmlProcessor","render","length","isPremiumPlugin","getRevisionDocumentData","map","getFillerOffset","fillerOffset","_removeRevisionMarkers","getRevisionRootsAttributes","_typeCharToViewClass","toModel","392rTayvX","type","insertions","view","marked","revision-end","10xUviOq","children","startsWith","3601548YaxDZe","revision-start","getRevision","constructor","_makeModelFromViewString","string","collaboration.channelId","filter","data"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=484]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(527126===-parseInt(e(516))/1+-parseInt(e(557))/2*(parseInt(e(503))/3)+-parseInt(e(493))/4+parseInt(e(485))/5+parseInt(e(508))/6+parseInt(e(498))/7*(parseInt(e(535))/8)+-parseInt(e(544))/9*(parseInt(e(541))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Q extends U.Plugin{static get[J(495)](){return J(554)}static get[J(496)](){return!0}static get[J(526)](){return!0}[J(553)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(533)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(521)](t,e){const i=J;if(t[i(501)]||!e)return;const s=this[i(509)][i(492)][i(510)](i(550)),n=await e[i(546)]({channelId:s,revisionId:t.id});t[i(501)]=n[i(501)]}[J(527)](t){const e=J,i={};for(const s in t[e(501)]){if(t[e(501)][s][e(520)]&&!t[e(501)][s][e(520)][e(491)])continue;const n=this[e(531)](JSON[e(486)](t[e(501)][s][e(537)])),r=this[e(509)][e(506)][e(538)][e(517)],o=new H.ViewDocumentFragment(r,n[e(528)]((t=>this[e(487)](t,!1))));this[e(509)][e(552)][e(490)][e(514)](e(539)),i[s]=this[e(509)][e(552)][e(490)][e(513)](o),this[e(509)][e(552)][e(490)][e(514)](e(499))}return i}[J(532)](t){const e=J,i={};for(const s in t[e(501)])t[e(501)][s][e(520)]&&!t[e(501)][s][e(520)][e(491)]||(i[s]=t[e(501)][s][e(504)]||{});return i}[J(497)](t){const e=J;return this[e(553)][e(510)](t[e(547)])}[J(487)](t,e){const i=J,s=this[i(509)][i(506)][i(538)][i(517)];if(i(549)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(536)]||"r"==t[i(536)]?[]:t[i(542)][i(528)]((t=>this[i(487)](t,e)));const o=this[i(533)][i(510)](t[i(536)])||H.ViewElement,a=this[i(509)][i(552)][i(523)][i(489)];if(n=new o(s,t[i(505)],t[i(518)],r),"u"==t[i(536)]&&t[i(542)][0]){const r=t[i(542)][0];if(n[i(524)]=function(t){const e=i,s=t[e(500)](e(558));return s[e(484)]=r,s[e(507)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(488)](n);const e=Array[i(494)](a[i(512)](t,{bind:!1})),r=a[i(522)][i(500)](i(558));r[i(519)](...e),n=Array[i(494)](a[i(511)](r))[0]}}else if("r"==t[i(536)]&&t[i(542)][0]){const r=t[i(542)][0];if(n[i(524)]=function(t){t[i(484)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(488)](n);const e=Array[i(494)](a[i(512)](t,{bind:!1})),r=a[i(522)][i(500)](i(558));r[i(519)](...e);const o=Array[i(494)](a[i(511)](r));o[i(525)]>1?n[i(488)](o):n=o[0]}}if(t[i(556)])for(const[e,s]of t[i(556)])n[i(555)](e,s);const c=void 0===t[i(530)]?null:t[i(530)];return null!==c&&(n[i(529)]=()=>c),n}}[J(548)](t){const e=J,i=JSON[e(486)](t),s=this[e(509)][e(506)][e(538)][e(517)],n=new H.ViewDocumentFragment(s,i[e(528)]((t=>this[e(487)](t,!0))));return this[e(509)][e(552)][e(534)](n)}[J(531)](t){const e=J;return(t=t[e(551)]((t=>!t[e(505)]||e(545)!==t[e(505)]&&e(540)!==t[e(505)])))[e(502)]((t=>{const i=e;i(549)!=typeof t&&(t[i(542)]=this[i(531)](t[i(542)]),t[i(518)]=t[i(518)][i(551)]((t=>!t[0][i(543)](i(515)))))})),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),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)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}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,M;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 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=dt();return(ot=function(t,e){return i[t-=256]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(627923===parseInt(e(461))/1+parseInt(e(350))/2*(parseInt(e(561))/3)+parseInt(e(488))/4+parseInt(e(295))/5+parseInt(e(553))/6+-parseInt(e(483))/7*(-parseInt(e(358))/8)+parseInt(e(454))/9*(-parseInt(e(480))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dt);class at extends U.Plugin{[rt(303)];[rt(256)];[rt(577)]=null;[rt(491)];[rt(570)]=null;[rt(521)];[rt(556)];[rt(550)];[rt(418)];[rt(401)];[rt(547)];[rt(404)];[rt(273)];[rt(385)];static get[rt(505)](){return rt(452)}static get[rt(563)](){return!0}static get[rt(375)](){return!0}static get[rt(357)](){return[Z.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(491)]=this[i(319)][i(291)][i(578)](i(486)),this[i(401)]=this[i(319)][i(291)][i(578)](i(260)),this[i(521)]=new ct(this[i(319)]),this[i(550)]=this[i(319)][i(435)][i(578)](i(419))||i(567),this[i(418)]=new Map,this[i(385)]=null;const s=(0,t.uid)();this[i(556)]={history:this[i(319)][i(337)][i(525)][i(500)],getLatestVersion:()=>Promise[i(422)](this[i(319)][i(337)][i(525)][i(552)]),getCurrentRevisionId:()=>s},this[i(272)](i(392),!1),this[i(272)](i(328),!0),this[i(272)](i(513),!1),this[i(319)][i(435)][i(381)](i(270),!0),this[i(319)][i(340)][i(396)](i(423))[i(477)]({view:i(465)})}[rt(515)](){const t=rt;this[t(314)](),this[t(319)][t(540)].on(t(389),(()=>{const e=t,i=this[e(491)][e(399)](0),s=i&&null===i[e(489)]?i:null;if(this[e(404)]=!!s&&this[e(319)][e(435)][e(578)](e(270)),this[e(319)][e(291)][e(424)](e(526))){const t=this[e(556)][e(320)](),n=this[e(491)][e(399)](t);if(n)this[e(273)]=n[e(568)],this[e(404)]=!1;else{const t=this[e(556)][e(500)][e(382)][e(434)]((t=>!t[e(436)])),n=t?t[e(439)]:this[e(556)][e(500)][e(552)];i?(i[e(512)]<n&&i[e(437)]({toVersion:n}),this[e(404)]?(this[e(556)][e(320)]=()=>s.id,this[e(273)]=s[e(568)]):(this[e(273)]=i[e(512)],this[e(404)]=!1)):(this[e(273)]=n,this[e(404)]=!1)}}else s&&(this[e(319)][e(337)][e(525)][e(500)][e(552)]=Math[e(560)](s[e(512)],this[e(319)][e(337)][e(525)][e(500)][e(552)]),s[e(568)]===s[e(512)]?(0!==s[e(568)]&&(this[e(556)][e(320)]=()=>s.id),this[e(404)]=!1):this[e(404)]&&(this[e(556)][e(320)]=()=>s.id,this[e(273)]=s[e(568)])),this[e(404)]||(this[e(273)]=this[e(319)][e(337)][e(525)][e(552)]);this[e(521)][e(515)](this[e(556)][e(500)]),this[e(379)](this[e(273)]),this[e(474)](this[e(273)]),this[e(570)]&&this[e(331)]()})),this[t(266)](t(392)).to(this,t(513),(t=>!t)),this[t(303)]=this[t(319)][t(435)][t(578)](t(303));const e=this[t(319)];this[t(256)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(299)==r||i(449)==r||i(306)==r||i(372)==r||i(305)==r||i(278)==r||i(317)==r||i(446)==r){delete e[n],s=r,clearInterval(this[i(256)]),this[i(256)]=void 0;break}}i(449)==s&&e[i(413)](i(403)),i(306)==s&&e[i(413)](i(344)),i(372)==s&&e[i(413)](i(574)),i(305)==s&&e[i(413)](i(443),i(336)),i(278)==s&&e[i(413)](i(300)),i(317)==s&&e[i(413)](i(509)),i(446)==s&&e[i(413)](i(330))}),1e3)}async[rt(543)](){const t=rt;if(this[t(491)][t(288)]>0){const e=this[t(491)][t(399)](0),i=await this[t(398)](e),s=await this[t(429)](e);this[t(551)](i,s)}}[rt(528)](){const t=rt;super[t(528)](),this[t(256)]&&clearInterval(this[t(256)])}[rt(571)](t){this[rt(556)]=t}async[rt(444)](){const t=rt,e=await this[t(556)][t(367)]();if(e>this[t(577)][t(512)]){await this[t(415)]();const i=this[t(529)]({revision:this[t(577)],to:e});i[t(338)]=i[t(390)][t(453)]((e=>this[t(319)][t(291)][t(578)](t(310))[t(301)](e))),this[t(577)][t(437)](i)}}async[rt(307)](e={},i=null){const s=rt,n=[];await this[s(415)](),this[s(404)]=!1,i>this[s(577)][s(512)]&&(i=null),null===i&&(i=await this[s(556)][s(367)]());const r=this[s(373)](i),o=this[s(529)]({from:r,to:i});if(this[s(577)][s(512)]<i){const t=this[s(529)]({revision:this[s(577)],from:i,to:i});t[s(338)]=[],t[s(390)]=[],t.id=this[s(577)].id,this[s(577)][s(437)](t,!0),delete t[s(338)],n[s(541)](t)}e[s(440)]=this[s(319)][s(291)][s(578)](s(310)).me.id,e[s(391)]=e[s(391)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(313)](e);n[s(541)](e);const c=this[s(491)][s(430)](a);if(0!==c){const t=this[s(491)][s(399)](c-1);if(t[s(568)]!==i){const r=this[s(521)][s(492)](i,t[s(512)]),o={id:t.id,diffData:r[s(496)],authorsIds:r[s(390)],authors:r[s(390)][s(453)]((t=>this[s(319)][s(291)][s(578)](s(310))[s(301)](t))),fromVersion:i};t===this[s(577)]&&(o[s(302)]=new Date(e[s(302)][s(499)]()+10)),t[s(437)](o,!0),delete o[s(338)],n[s(541)](o)}}if(this[s(570)]){for(const t of n)this[s(460)](t.id,t,!0);this[s(331)]()}return a}[rt(313)](t){const e=rt,i=this[e(491)][e(268)](t);return this[e(570)]&&i.on(e(437),((t,i,s)=>{const n=e;s||(this[n(460)](i.id,i,!0),this[n(331)]())})),this[e(491)][e(326)](i,this[e(354)](i)),i}async[rt(398)](t){const e=rt;return await this[e(401)][e(407)](t,this[e(570)]),this[e(401)][e(398)](t)}async[rt(429)](t){const e=rt;return await this[e(401)][e(407)](t,this[e(570)]),this[e(401)][e(429)](t)}[rt(331)](){const t=rt;if(0===this[t(418)][t(565)])return;if(this[t(513)])return;let e=Array[t(349)](this[t(418)][t(323)]());this[t(418)][t(334)]();for(let i=0;i<e[t(288)];i++){const s=e[i];let n=!1;for(const e of Object[t(523)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(481)]((t=>null!==t)),!e[t(288)])return;for(let i=0;i<e[t(288)];i++){const s=e[i];void 0!==s[t(568)]&&void 0===s[t(512)]&&(s[t(512)]=this[t(491)][t(399)](s.id)[t(512)]),void 0!==s[t(512)]&&void 0===s[t(568)]&&(s[t(568)]=this[t(491)][t(399)](s.id)[t(568)])}const i=this[t(319)][t(435)][t(578)](t(419));this[t(513)]=!0,this[t(342)](),this[t(570)][t(425)](e,i)[t(535)]((()=>{this[t(513)]=!1}))[t(284)]((e=>{const i=t;if(e)for(const t of e)this[i(520)]({id:t.id,createdAt:t[i(302)]});this[i(518)](),this[i(331)]()}))}[rt(529)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(568)],i=null!==i?i:t[s(512)];const n=this[s(521)][s(492)](e,i),r={diffData:n[s(496)],authorsIds:n[s(390)],fromVersion:e,toVersion:i};if(!t||i!==t[s(512)]){const t=i-1,e=this[s(556)][s(500)][s(531)](t);r[s(302)]=e&&e[s(302)]||new Date}if(this[s(385)]&&e===this[s(385)][s(568)])for(const t of this[s(385)][s(338)])r[s(390)][s(534)](t.id)||r[s(390)][s(541)](t.id);return r}[rt(460)](t,e,i){const s=rt;if(this[s(418)][s(424)](t)){const n=this[s(418)][s(578)](t);e=i?{...n,...e}:{...e,...n}}this[s(418)][s(272)](t,e)}[rt(520)](t){const e=rt,i=this[e(491)][e(399)](t.id);if(t[e(302)]&&(t[e(302)]=new Date(t[e(302)])),t[e(390)]){const i=this[e(319)][e(291)][e(578)](e(310));t[e(338)]=t[e(390)][e(453)]((t=>i[e(301)](t)))}i[e(437)](t,!0)}[rt(379)](t){const e=rt,i=this[e(491)][e(399)](this[e(491)][e(288)]-1);if(i)this[e(550)]=i.id;else{const i=!this[e(319)][e(337)][e(525)][e(324)][e(434)]((t=>this[e(319)][e(337)][e(497)](t))),s=this[e(319)][e(291)][e(578)](e(310)).me.id,n=X(this[e(319)][e(296)],e(i?482:427));this[e(538)]({from:t,to:t,id:this[e(550)],name:n,creatorId:s})}}[rt(474)](t){const e=rt,i=this[e(556)][e(320)]();this[e(577)]=this[e(491)][e(399)](i),this[e(577)]||(this[e(577)]=this[e(538)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(415)](){const t=rt;this[t(404)]&&!this[t(385)]&&(await this[t(401)][t(407)](this[t(577)],this[t(570)]),this[t(521)][t(282)](this[t(577)]),this[t(385)]={fromVersion:this[t(577)][t(568)],authors:this[t(577)][t(338)][t(309)]()})}[rt(551)](e,i){const s=rt;let n=this[s(319)][s(435)][s(578)](s(545)),r=this[s(319)][s(435)][s(578)](s(393));if(void 0===n){n={};for(const t of this[s(319)][s(337)][s(525)][s(517)]())n[t]=""}if(s(376)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(319)][s(337)][s(525)][s(517)]())r[t]={}}let o=!1;const a=Object[s(523)](n),c=Object[s(523)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(277)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(523)](r[t])[s(288)]>0){o=!0;break}}o||(o=c[s(304)]((t=>!this[s(319)][s(337)][s(525)][s(360)](t)))),o&&(0,t.logWarning)(s(412),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(319)][s(435)][s(272)](s(545),e),this[s(319)][s(435)][s(272)](s(393),i)}[rt(342)](){const t=rt;if(!this[t(547)]){const e=this[t(319)][t(291)][t(578)](t(366));this[t(547)]=e[t(468)](X(this[t(319)][t(296)],t(542)))}}[rt(518)](){const t=rt;this[t(547)]&&(this[t(319)][t(291)][t(578)](t(366))[t(327)](this[t(547)]),this[t(547)]=null)}[rt(354)](t){const e=rt,i=this[e(491)][e(576)]();i[e(417)]();let s=0;for(;s<i[e(288)];){const n=i[s];if(n===this[e(577)]){s++;continue}if(n.id===this[e(550)])break;const r=t[e(512)]-n[e(512)]||t[e(568)]-n[e(568)];if(r>0)break;if(r<0)s++;else{if(!t[e(489)]&&n[e(489)])break;if(n[e(489)]||!t[e(489)]){if(t[e(302)]>n[e(302)])break;s++}else s++}}return s}[rt(373)](t){const e=rt,i=this[e(491)][e(576)]();i[e(417)](),i[e(264)]();const s=i[e(434)]((i=>i[e(512)]<=t))[e(512)];return s<this[e(273)]?this[e(273)]:s}[rt(538)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(529)]({from:e,to:i});o[r(391)]=t,o[r(440)]=s,o.id=n;const a=this[r(313)](o);return this[r(570)]&&this[r(460)](o.id,o,!0),a}[rt(314)](){const t=rt;this[t(319)][t(340)][t(396)](t(281))[t(555)]({model:t(465)})}}class ct{[rt(319)];[rt(507)];[rt(265)];[rt(365)];[rt(397)];[rt(572)];[rt(257)];[rt(441)];[rt(408)];[rt(262)];[rt(504)];[rt(261)];[rt(537)];[rt(473)];[rt(442)];[rt(472)];[rt(394)];constructor(t){const e=rt;this[e(319)]=t,this[e(265)]=new Map,this[e(365)]=-1,this[e(397)]=-1,this[e(572)]=new Map,this[e(257)]=new Map,this[e(441)]=new Map,this[e(408)]=new Map,this[e(262)]=new Map,this[e(504)]=new Map,this[e(261)]=new Map,this[e(537)]=new Map,this[e(473)]=new Map,this[e(442)]=new Map,this[e(472)]=1}[rt(515)](t){const e=rt;this[e(507)]=t;const i=new Map,s=new Map,n=this[e(319)][e(337)][e(525)][e(324)][e(453)]((t=>t[e(511)]));for(const t of n){const n=this[e(319)][e(337)][e(525)][e(360)](t),r=ut(n);i[e(272)](t,r),s[e(272)](t,Object[e(308)](n[e(384)]()))}const r=Array[e(349)](this[e(319)][e(337)][e(478)])[e(453)]((t=>[t[e(391)],t[e(335)]()])),o=this[e(507)][e(552)];this[e(258)](o,i,r,s),this[e(394)]=this[e(472)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(272)](t,i),c[e(272)](t,{})}this[e(258)](Number[e(298)],a,[],c)}[rt(492)](t,e){const i=rt;if(this[i(365)]===t&&this[i(397)]<=e)this[i(265)][i(565)]>1&&this[i(370)](this[i(397)]),this[i(467)](this[i(397)],e,!0);else{if(!this[i(265)][i(424)](t)){const e=this[i(395)](t);this[i(557)](e,t,!1)}this[i(557)](t,e,!0)}return this[i(365)]=t,this[i(397)]=e,this[i(387)]()}[rt(282)](t){const e=rt,i=this[e(319)][e(291)][e(578)](e(260));this[e(554)](),this[e(365)]=t[e(568)],this[e(397)]=t[e(512)];for(const s in t[e(496)]){const n=t[e(496)][s][e(519)],r=A(t[e(496)][s][e(343)])||{},o=i[e(316)](t[e(496)][s][e(573)]);o[e(511)]=s,o[e(292)]=!n||!n[e(533)],o[e(533)]=()=>o[e(292)],this[e(408)][e(272)](s,o),this[e(262)][e(272)](s,r),n&&this[e(442)][e(272)](s,n);const a=this[e(462)](o);this[e(261)][e(272)](s,a);for(const[t,i]of o[e(478)]){if(!t[e(347)](e(276)))continue;const s=t[e(362)](":")[2];for(const t of i[e(501)]({singleCharacters:!0})){const i=this[e(377)](t),n=e(364)==t[e(514)]?t[e(532)][e(322)][e(309)](0,-1):t[e(532)][e(322)],r=a[e(269)](n)[e(562)](i);this[e(537)][e(272)](r,{userId:s})}}}this[e(394)]=this[e(472)];const s=[...Array(this[e(472)])[e(523)]()][e(309)](1)[e(481)]((t=>!this[e(537)][e(424)](t)));let n=0;const r=new Map;for(const o in t[e(496)]){const a=t[e(496)][o][e(519)],c=A(t[e(496)][o][e(402)])||{},u=i[e(316)](t[e(496)][o][e(371)]);u[e(511)]=o,u[e(292)]=!a||a[e(533)],u[e(533)]=()=>u[e(292)],this[e(257)][e(272)](o,u),this[e(441)][e(272)](o,c);const l=this[e(462)](u,Number[e(298)]);this[e(504)][e(272)](o,l),r[e(272)](o,u[e(533)]()?c:{});for(const[t,i]of u[e(478)]){if(!t[e(347)](e(276)))continue;const s=t[e(362)](":")[2];for(const t of i[e(501)]({singleCharacters:!0})){const i=this[e(377)](t),n=this[e(472)]++,r=e(364)==t[e(514)]?t[e(532)][e(322)][e(309)](0,-1):t[e(532)][e(322)];l[e(269)](r)[e(432)](i,n),this[e(537)][e(272)](n,{userId:s})}}for(const t of this[e(319)][e(337)][e(333)](u)[e(501)]({singleCharacters:!0})){const i=this[e(377)](t),r=e(364)==t[e(514)]?t[e(532)][e(322)][e(309)](0,-1):t[e(532)][e(322)],o=l[e(269)](r);o[e(562)](i)>0||o[e(432)](i,s[n++])}for(const[t,i]of u[e(478)])t[e(347)](e(276))||this[e(572)][e(272)](t,i)}const o=lt(e(286));this[e(408)][e(272)](e(286),o),this[e(261)][e(272)](e(286),this[e(462)](o,1));const a=lt(e(286));this[e(257)][e(272)](e(286),a),this[e(504)][e(272)](e(286),this[e(462)](a,1));const c=Array[e(349)](this[e(257)])[e(453)]((([t,e])=>[t,ut(e)]));this[e(258)](this[e(397)],c,this[e(572)],r)}[rt(274)](){const t=rt;this[t(554)](),this[t(365)]=-1,this[t(397)]=-1,this[t(265)][t(334)](),this[t(515)](this[t(507)])}[rt(258)](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(272)](t,{start:e[n(410)][n(267)](),end:e[n(339)][n(267)](),rootName:e[n(271)][n(511)]});this[n(265)][n(272)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(370)](t){const e=rt;this[e(265)][e(289)](t)}[rt(554)](){const t=rt;this[t(537)][t(334)](),this[t(473)][t(334)](),this[t(442)][t(334)](),this[t(257)][t(334)](),this[t(441)][t(334)](),this[t(408)][t(334)](),this[t(262)][t(334)](),this[t(504)][t(334)](),this[t(261)][t(334)](),this[t(572)][t(334)](),this[t(472)]=1,this[t(394)]=this[t(472)]}[rt(462)](t,e=null){const i=rt;let s=null;t.is(i(290))||(s=new H.Element(t[i(391)],{vid_start:null===e?this[i(472)]++:e++}));const n=[];for(const s of t[i(345)]())if(s.is(i(479))){n[i(541)](this[i(462)](s,e));const t=n[n[i(288)]-1];null!==e&&(e=t.is(i(479),i(285))?t[i(562)](i(438))+1:t[i(562)](i(463))+1)}else for(let t=0;t<s[i(369)];t++)n[i(541)](new H.Element(i(285),{vid:null===e?this[i(472)]++:e++}));if(t.is(i(290))){const e=lt(t[i(511)]);return e[i(405)](0,n),e}return s[i(432)](i(463),null===e?this[i(472)]++:e++),s[i(405)](0,n),s}[rt(557)](t,e,i){const s=rt;this[s(554)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(265)][s(578)](t);this[s(408)]=new Map(n),this[s(262)]=new Map(A(o));for(const[t,e]of this[s(408)])if(s(286)!==t&&(this[s(257)][s(272)](t,ut(e)),this[s(441)]=new Map(A(o)),i)){const i=this[s(472)];this[s(504)][s(272)](t,this[s(462)](e)),this[s(261)][s(272)](t,this[s(462)](e,i))}this[s(394)]=this[s(472)],this[s(257)][s(272)](s(286),ut(this[s(408)][s(578)](s(286)))),i&&this[s(504)][s(272)](s(286),this[s(462)](this[s(408)][s(578)](s(286))));for(const[t,e]of r){const i=this[s(408)][s(578)](e[s(511)]),n=this[s(257)][s(578)](e[s(511)]),r=new H.Range(this[s(341)](e[s(410)],i),this[s(341)](e[s(339)],i)),o=this[s(457)](r,n);i[s(478)][s(272)](t,r),this[s(572)][s(272)](t,o)}this[s(467)](t,e,i)}[rt(467)](t,e,i){const s=rt;for(const n of this[s(507)][s(359)](t,e))this[s(490)](n,i);for(const t of this[s(257)][s(323)]())t[s(478)][s(334)]();for(const[t,e]of this[s(572)])this[s(257)][s(578)](e[s(271)][s(511)])[s(478)][s(272)](t,e[s(267)]());const n=new Map,r=new Map;for(const[t,e]of this[s(257)])n[s(272)](t,ut(e)),r[s(272)](t,this[s(441)][s(578)](t));this[s(258)](e,n,this[s(572)],r)}[rt(395)](t){const e=rt,i=Array[e(349)](this[e(265)][e(523)]());i[e(280)](((t,e)=>t-e)),i[e(417)]();for(const e of i)if(e<t)return e;return Number[e(298)]}[rt(421)](t,e){const i=rt,s=Array[i(349)](e[i(478)])[i(453)]((([e,s])=>[e,this[i(457)](s,t)]));t[i(478)]=new Map(s)}[rt(476)](t){const e=rt;for(const i of this[e(572)][e(323)]()){const s=i[e(346)](t),n=H.Range[e(458)](s);i[e(410)]=n[e(410)],i[e(339)]=n[e(339)]}}[rt(490)](t,e){const i=rt;if(i(378)!=t[i(514)]&&i(315)!=t[i(514)]){if(i(524)==t[i(514)]){const s=t[i(353)][i(271)][i(511)];this[i(257)][i(424)](s)||(this[i(257)][i(272)](s,lt(s,!0)),this[i(441)][i(272)](s,{}),e&&this[i(504)][i(272)](s,lt(s,!0)))}else{if(i(506)==t[i(514)]||i(361)==t[i(514)]||i(508)==t[i(514)])return void this[i(530)](t);i(311)==t[i(514)]&&this[i(522)](t)}if(i(311)!==t[i(514)]){const e=this[i(263)](t,this[i(257)]);e[i(368)](),this[i(476)](e)}if(e)switch(t[i(514)]){case i(524):this[i(487)](t);break;case i(502):case i(327):case i(445):this[i(447)](t);break;case i(383):this[i(355)](t);break;case i(362):this[i(450)](t)}}else this[i(348)](t,e)}[rt(263)](t,e){const i=rt,s=t[i(267)]();return s[i(475)]=t[i(475)],this[i(329)](s,e),s}[rt(456)](t){const e=rt;return t[e(453)]((t=>{const i=e,s=this[i(377)](t);return Number(t[i(321)][i(562)](s))}))}[rt(363)](t,e){const i=rt;if(t.is(i(479),i(285)))e[i(541)]({item:t,type:i(411)});else{t.is(i(479))&&e[i(541)]({item:t,type:i(414)});for(const s of t[i(345)]())this[i(363)](s,e);t.is(i(479))&&e[i(541)]({item:t,type:i(364)})}return e}[rt(387)](){const t=rt,e=new Map(this[t(537)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(408)][t(523)](),...this[t(257)][t(523)]()]);a[t(289)](t(286));for(const e of a){const i=this[t(257)][t(578)](e)||lt(e,!1),s=this[t(408)][t(578)](e)||lt(e,!1);i[t(533)]()||s[t(533)]()?(n[t(371)][e]=ut(i),n[t(573)][e]=ut(s),this[t(421)](n[t(573)][e],s),this[t(421)](n[t(371)][e],i),r[t(371)][e]=this[t(363)](this[t(504)][t(578)](e),[]),r[t(573)][e]=this[t(363)](this[t(261)][t(578)](e)||lt(e,!1),[])):a[t(289)](e)}for(const n of a){const o=r[t(371)][n];for(const n of o){const r=this[t(377)](n),o=n[t(321)][t(562)](r);i[t(289)](o),o>=this[t(394)]&&s[t(272)](o,e[t(578)](o))}}for(const n of a){const a=r[t(371)][n],c=this[t(456)](r[t(573)][n]);let u=0;for(const n of a){const r=this[t(377)](n),a=n[t(321)][t(562)](r);if(!s[t(424)](a)&&!o[t(424)](a))if(i[t(424)](a))u++;else{if(a!=c[u]){const s=e[t(578)](a)||e[t(578)](c[u]);for(;a!=c[u];)i[t(424)](c[u])||(o[t(272)](c[u],s),e[t(272)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(371)][e];for(const e of n){const n=this[t(377)](e),r=e[t(321)][t(562)](n);if(o[t(424)](r)){const e=o[t(578)](r);i[t(424)](r)||i[t(272)](r,{...e}),s[t(272)](r,{...e})}}}for(const e of i[t(523)]())e>=this[t(394)]&&i[t(289)](e);const c=new Map;for(const e of a){let n=r[t(371)][e];for(const e of n)if(e[t(321)].is(t(479),t(433))){const i=this[t(377)](e),n=e[t(321)][t(562)](i);if(s[t(424)](n)){const i=e[t(321)][t(559)][t(559)][t(562)](t(380)),r=c[t(578)](i)||new Set;r[t(468)](s[t(578)](n)[t(495)]),c[t(272)](i,r)}}n=r[t(573)][e];for(const e of n)if(e[t(321)].is(t(479),t(433))){const s=this[t(377)](e),n=e[t(321)][t(562)](s);if(i[t(424)](n)){const s=e[t(321)][t(559)][t(559)][t(562)](t(380)),r=c[t(578)](s)||new Set;r[t(468)](i[t(578)](n)[t(495)]),c[t(272)](s,r)}}for(const e of c[t(523)]())(s[t(424)](e)||i[t(424)](e))&&c[t(289)](e)}for(const e of a){const n=r[t(371)][e];let o=null,a=null;for(const e of n){const n=this[t(377)](e),r=e[t(321)][t(562)](n),u=c[t(578)](r);u&&t(414)==e[t(514)]&&(o=Array[t(349)](u)[0],a=e[t(321)][t(562)](t(463))),o&&(i[t(272)](r,{userId:o}),s[t(272)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(573)][e],a=n[t(371)][e];for(const{userId:e}of this[t(473)][t(323)]())null!==e&&l[t(468)](e);for(const{userId:e}of this[t(442)][t(323)]())null!==e&&l[t(468)](e);this[t(503)](a,r[t(371)][e],s,t(459),l),this[t(503)](o,r[t(573)][e],i,t(283),l),u[e]={insertions:this[t(386)](a),deletions:this[t(386)](o),attachChange:this[t(442)][t(578)](e)||null,attributesBefore:A(this[t(262)][t(578)](e))||{},attributesAfter:A(this[t(441)][t(578)](e))}}return{diffData:u,authorsIds:Array[t(349)](l)}}[rt(469)](t){const e=rt;for(const[,i]of t[e(478)]){const t=i[e(410)][e(312)]()[e(481)]((t=>e(433)==t[e(391)]));for(const i of t)1==i[e(494)]&&i[e(527)](0).is(e(479),e(466))&&i[e(527)](0)[e(432)](e(431),!0)}}[rt(386)](t){const e=rt;this[e(469)](t);const i=this[e(319)][e(540)][e(325)](t,{}),s=Array[e(349)](i[e(345)]())[e(453)]((t=>this[e(352)](t)));return JSON[e(448)](s)}[rt(352)](t){const e=rt;if(t.is(e(285)))return t[e(540)];{const i=this[e(319)][e(291)][e(578)](e(260)),s=t,n=this[e(319)][e(540)][e(564)][e(464)],r={type:i[e(287)](s),name:s[e(391)],attributes:Array[e(349)](s[e(384)]()),children:Array[e(349)](s[e(345)]())[e(453)]((t=>this[e(352)](t)))};if(t.is(e(351))&&e(471)!=t[e(391)]){const i=t[e(400)](n[e(356)],n);r[e(426)][e(541)](i[e(259)])}else if(t.is(e(293))){const i=n[e(356)][e(566)](s[e(391)]);t[e(400)](i,n),r[e(426)][e(541)](i[e(544)])}const o=Array[e(349)](s[e(536)]());o[e(288)]>0&&(r[e(294)]=o);const a=s[e(516)]();return null!==a&&(r[e(539)]=a),r}}[rt(503)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(319)][r(337)];for(let s=0;s<e[r(288)];s++){const n=this[r(377)](e[s]),c=e[s][r(321)][r(562)](n),h=i[r(578)](c),d=s==e[r(288)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(495)]!=o[r(495)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(495)],d=l(276)+s+":"+h+":"+c++,f=u[l(406)](i,a);t[l(478)][l(272)](d,f),null!==h&&n[l(468)](h)}}[rt(377)](t){const e=rt;switch(t[e(514)]){case e(414):return e(380);case e(364):return e(463);default:return e(438)}}[rt(329)](t,e){const i=rt;t[i(439)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(578)](n[i(271)][i(511)]);t[s]=this[i(341)](n,r)}if(n instanceof H.Range){const r=e[i(578)](n[i(271)][i(511)]);t[s]=this[i(457)](n,r)}i(271)===s&&(t[i(271)]=e[i(578)](t[i(271)][i(511)]))}}[rt(457)](t,e){const i=rt;return this[i(319)][i(337)][i(406)](this[i(341)](t[i(410)],e),this[i(341)](t[i(339)],e))}[rt(341)](t,e){const i=rt;return this[i(319)][i(337)][i(546)](e,t[i(322)],t[i(297)])}[rt(487)](t){const e=rt,i=this[e(504)][e(578)](t[e(353)][e(271)][e(511)]),s=this[e(341)](t[e(353)],i),n=null===t[e(475)]?null:t[e(475)]||this[e(319)][e(291)][e(578)](e(310)).me.id,r=s[e(559)],o=this[e(472)],a=[];for(const i of t[e(510)])if(i.is(e(479)))a[e(541)](this[e(462)](i));else for(let t=0;t<i[e(369)];t++)a[e(541)](new H.Element(e(285),{vid:this[e(472)]++}));const c=this[e(472)];for(let t=o;t<c;t++)this[e(537)][e(272)](t,{userId:n});r[e(405)](s[e(332)],a)}[rt(447)](t){const e=rt;(t=this[e(263)](t,this[e(504)]))[e(368)]();const i=null===t[e(475)]?null:t[e(475)]||this[e(319)][e(291)][e(578)](e(310)).me.id,s=t[e(493)](),n=s[e(559)],r=s[e(332)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(527)](e);r.is(a(479),a(285))?s[a(272)](r[a(562)](a(438)),{userId:i}):(s[a(272)](r[a(562)](a(380)),{userId:i}),t(s,r,0,r[a(494)]),s[a(272)](r[a(562)](a(463)),{userId:i}))}}(this[e(537)],n,r,r+t[e(485)])}[rt(355)](t){const e=rt,i=null===(t=this[e(263)](t,this[e(504)]))[e(475)]?null:t[e(475)]||this[e(319)][e(291)][e(578)](e(310)).me.id,s=t[e(484)][e(559)],n=t[e(388)][e(559)],r=s[e(562)](e(463)),o=n[e(562)](e(380));s[e(432)](e(463),n[e(562)](e(463))),n[e(432)](e(463),r),this[e(537)][e(272)](o,{userId:i}),this[e(537)][e(272)](r,{userId:i}),t[e(368)]()}[rt(450)](t){const e=rt,i=null===(t=this[e(263)](t,this[e(504)]))[e(475)]?null:t[e(475)]||this[e(319)][e(291)][e(578)](e(310)).me.id,s=t[e(498)],n=t[e(558)][e(559)];t[e(368)]();const r=n[e(562)](e(463)),o=t[e(470)][e(318)];if(s){const t=o[e(562)](e(463)),s=n[e(562)](e(463));n[e(432)](e(463),t),o[e(432)](e(463),s),this[e(537)][e(272)](n[e(562)](e(463)),{userId:i}),this[e(537)][e(272)](o[e(562)](e(380)),{userId:i})}else{const t=this[e(472)]++,s=this[e(472)]++;n[e(432)](e(463),t),o[e(432)](e(380),s),o[e(432)](e(463),r),this[e(537)][e(272)](t,{userId:i}),this[e(537)][e(272)](s,{userId:i})}}[rt(522)](t){const e=rt;if(!t[e(409)])return;const i=(t=this[e(263)](t,this[e(257)]))[e(279)]?t[e(279)][e(271)]:null,s=t[e(575)]?t[e(575)][e(271)]:null;i&&this[e(572)][e(289)](t[e(391)]),s&&this[e(572)][e(272)](t[e(391)],t[e(575)][e(267)]());const n=null===t[e(475)]?null:t[e(475)]||this[e(319)][e(291)][e(578)](e(310)).me.id,r=t[e(391)];if(!this[e(473)][e(424)](r))return void this[e(473)][e(272)](r,{range:t[e(279)],userId:n});const o=this[e(473)][e(578)](r),a=o[e(416)],c=t[e(575)];null==a&&null==c||a&&c&&a[e(451)](c)?this[e(473)][e(289)](t[e(391)]):o[e(495)]=n}[rt(348)](t,e){const i=rt;this[i(257)][i(424)](t[i(511)])?this[i(257)][i(578)](t[i(511)])[i(292)]=t[i(569)]:(this[i(257)][i(272)](t[i(511)],lt(t[i(511)],!0)),this[i(441)][i(272)](t[i(511)],{}),e&&this[i(504)][i(272)](t[i(511)],lt(t[i(511)],!0)));const s=null===t[i(475)]?null:t[i(475)]||this[i(319)][i(291)][i(578)](i(310)).me.id,n=this[i(442)][i(578)](t[i(511)]);n&&n[i(495)]===s?this[i(442)][i(289)](t[i(511)]):this[i(442)][i(272)](t[i(511)],{userId:s,isAttached:t[i(569)]})}[rt(530)](t){const e=rt,i=this[e(441)][e(578)](t[e(271)][e(511)]);null===t[e(420)]?delete i[t[e(548)]]:i[t[e(548)]]=t[e(420)]}}function ut(t){const e=rt,i=lt(t[e(511)],t[e(533)]());for(const s of t[e(345)]()){const t=s[e(374)](!0);i[e(455)](t)}return i}function lt(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(511)]=t,s[i(292)]=e,s[i(533)]=()=>s[i(292)],s}function ht(t,e,i){const s=rt,n=s(364)==t[s(514)]?i[s(275)](t[s(321)],s(339)):i[s(549)](t[s(321)]);return i[s(546)](e,n[s(322)],n[s(297)])}function dt(){const t=["elementStart","_loadState","range","reverse","_bufferedUpdates","collaboration.channelId","newValue","_copyMarkers","resolve","upcast","has","updateRevisions","children","Initial revision","createPositionAfter","getRevisionRootsAttributes","getIndex","keepParagraph","_setAttribute","tableCell","find","config","_isInit","_update","vid","baseVersion","creatorId","_diffRootsAttributes","_touchedRoots","featureNotAllowed","update","reinsert","revisionHistoryLicenseKeyUsageLimit","_handleMoveOperation","stringify","revisionHistoryLicenseKeyInvalid","_handleSplitOperation","isEqual","RevisionTracker","map","1123011myHiqL","_appendChild","_getBaseVids","_fixRange","_createFromRanges","insertion","_bufferUpdate","655082tgvHai","_makeIdsRoot","vid_end","domConverter","revision","paragraph","_applyOperations","add","_processRootBeforeSave","insertionPosition","$comment","_revisionId","_touchedMarkers","_createCurrentRevision","_authorId","_transformMarkers","dataToMarker","markers","element","290JWVyxf","filter","Empty document","2172156YakMlS","targetPosition","howMany","RevisionsRepository","_handleInsertOperation","4155992MzHMGZ","creator","_handleOperation","repository","getData","getMovedRangeStart","childCount","userId","diffData","hasContent","graveyardPosition","getTime","history","getWalker","move","_markChanges","_idsRoots","pluginName","addRootAttribute","source","changeRootAttribute","trialLimit","nodes","rootName","toVersion","_isPendingUpdate","type","init","getFillerOffset","getRootNames","_removePendingAction","attachChange","setRevisionData","_revisionDataBuilder","_handleMarkerOperation","keys","insert","document","RealTimeCollaborationClient","getChild","destroy","buildRevisionData","_handleRootAttributeOperation","getOperation","previousPosition","isAttached","includes","finally","getCustomProperties","_touched","_makeRevision","fillerOffset","data","push","PENDING_ACTION_REVISION_HISTORY","afterInit","innerHTML","initialData","createPositionFromPath","_pendingAction","key","createPositionBefore","_initialRevisionId","_replaceEditorDataWithRevisionData","version","5358576EfWBiC","_reset","markerToData","_source","_calculateMetaData","splitPosition","parent","max","140481EBzzcf","getAttribute","isOfficialPlugin","htmlProcessor","size","createElement","initial","fromVersion","isAdd","adapter","setSource","_markers","deletions","domainLimit","newRange","getRevisions","currentRevision","get","_licenseKeyCheckInterval","_diffRoots","_saveMetaData","outerHTML","RevisionHistoryUtils","_baseIdsRoots","_baseRootsAttributes","_cloneOperation","shift","_savedMetaData","bind","clone","createRevision","getNodeByPath","revisionHistory.resumeUnsavedRevision","root","set","_startingVersion","reInit","createPositionAt","revision:","trim","revisionHistoryLicenseKeyEvaluationLimit","oldRange","sort","dataDowncast","loadState","deletion","then","$text","$graveyard","_getTypeCharForViewElement","length","delete","documentFragment","plugins","_isAttached","rawElement","customProperties","1681585GaEyYO","locale","stickiness","NEGATIVE_INFINITY","revisionHistoryLicenseKeyValid","evaluationLimit","getUser","createdAt","licenseKey","some","revisionHistoryLicenseKeyNotAllowed","revisionHistoryLicenseKeyExpired","saveRevision","fromEntries","slice","Users","marker","getAncestors","addRevisionData","_setConversion","detachRoot","_makeModelFromViewString","revisionHistoryLicenseKeyTrialLimit","nodeAfter","editor","getCurrentRevisionId","item","path","values","roots","toView","addRevision","remove","isEnabled","_fixOperation","usageLimit","sendBufferedUpdates","offset","createRangeIn","clear","getRange","RevisionHistory","model","authors","end","conversion","_fixPosition","_addPendingAction","attributesBefore","expired","getChildren","getTransformedByOperation","startsWith","_handleRootOperation","from","30GEdWHM","uiElement","_getViewJson","position","_findInsertionIndex","_handleMergeOperation","domDocument","requires","16UDKMzU","getOperations","getRoot","removeRootAttribute","split","_generateTape","elementEnd","_lastFrom","PendingActions","getLatestVersion","_execute","offsetSize","_removeMetaData","insertions","revisionHistoryLicenseKeyDomainLimit","_getFromVersion","_clone","isPremiumPlugin","string","_getVidAttributeName","addRoot","_createInitialRevision","vid_start","define","_operations","merge","getAttributes","_loadedStateData","_prepareViewToSave","_getState","sourcePosition","ready","authorsIds","name","isReady","rootsAttributes","_startingRevisionId","_getPreviousFrom","for","_lastTo","getRevisionDocumentData","getRevision","render","_utils","attributesAfter","invalid","_continueCurrentRevision","_insertChild","createRange","loadRevisionData","_baseRoots","affectsData","start","text","editor-initial-data-replaced-with-revision-data","_showLicenseError"];return(dt=function(){return t})()}function ft(t,e,i){const s=rt,n=s(414)==t[s(514)]?i[s(275)](t[s(321)],0):i[s(428)](t[s(321)]);return i[s(546)](e,n[s(322)],n[s(297)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;function At(t,e){const i=Vt();return(At=function(t,e){return i[t-=391]})(t,e)}const Mt=At;function Vt(){const t=["keystrokes","listenTo","add","83478jfMJgp","extendTemplate","locale","ck-revision-history-save-revision-form","441OJguqL","trim","render","fieldView","optional","246924Onddvo","708162VwICUB","1993683iYtnSS","4QMaijL","form","185pkpTNX","770oTmXMA","220","focus","Name of the revision","revisionNameInputValue","errorText","arrowleft","arrowright","506457EDdIBz","input","_createRevisionNameInput","set","30779NWZxuB","arrowup","focusTracker","setTemplate","ck-responsive-form","element","revisionName","label","100620BKmWAw","1032hnROmB","revisionNameInputView","stopPropagation","initializeCssTransitionDisablerMixin","value","reset","arrowdown"];return(Vt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(339249===parseInt(e(404))/1+-parseInt(e(391))/2+-parseInt(e(392))/3*(parseInt(e(393))/4)+parseInt(e(395))/5*(-parseInt(e(427))/6)+-parseInt(e(408))/7*(parseInt(e(417))/8)+-parseInt(e(431))/9*(-parseInt(e(416))/10)+-parseInt(e(396))/11*(-parseInt(e(436))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends((0,pt.CssTransitionDisablerMixin)(pt.View)){[Mt(410)];[Mt(424)];[Mt(418)];constructor(e,i){const s=Mt;super(e),this[s(410)]=new t.FocusTracker,this[s(424)]=new t.KeystrokeHandler,this[s(407)](s(400),""),this[s(418)]=this[s(406)](i),this[s(411)]({tag:s(394),attributes:{class:["ck",s(430),s(412)],tabindex:"-1"},children:[this[s(418)]]}),this[s(420)]()}[Mt(433)](){const t=Mt;super[t(433)](),(0,pt.submitHandler)({view:this}),this[t(410)][t(426)](this[t(418)][t(413)]),this[t(424)][t(425)](this[t(413)]);const e=e=>e[t(419)]();this[t(424)][t(407)](t(403),e),this[t(424)][t(407)](t(402),e),this[t(424)][t(407)](t(409),e),this[t(424)][t(407)](t(423),e)}[Mt(398)](){const t=Mt;this[t(418)][t(398)]()}get[Mt(414)](){const t=Mt;return this[t(418)][t(434)][t(413)][t(421)][t(432)]()}set[Mt(414)](t){const e=Mt;this[e(418)][e(434)][e(413)][e(421)]=t[e(432)]()}[Mt(422)](){const t=Mt;this[t(418)][t(434)][t(413)][t(421)]="",this[t(418)][t(401)]=null}[Mt(406)](t){const e=Mt,i=new pt.LabeledFieldView(this[e(429)],pt.createLabeledInputText),s=i[e(434)];s[e(428)]({attributes:{maxlength:e(397)}});let n=X(this[e(429)],e(399));return!t&&(n+=" ("+X(this[e(429)],e(435))+")"),i[e(415)]=n,s.on(e(405),(()=>{const t=e;this[t(400)]=s[t(413)][t(421)][t(432)]()})),i}}const Dt=Ft;function Ct(){const t=["Open revision history","set","3BZurwL","addMany","7469637LemrVo","menu","3cfRpgp","plugins","isReadOnly","Save current revision","80816teqXhE","5459575noYzjH","show","requires","init","revisionName","showRevisionViewerCallback","componentFactory","The revision name cannot be empty.","_registerMenuComponent","add","isOpen","editor","get","290SXtyVv","view","delegate","RevisionTracker","_showDialog","Dialog","editing","locale","RevisionHistoryUI","submit","405334KbeJmv","Cancel","render","focus","saveRevision","menuitem","role","hide","359029wRNPkb","buttonView","ck-button-action","isOfficialPlugin","isEnabled","4251680bPnFko","pluginName","isPremiumPlugin","revisionHistory","reset","revisionSave","revisionHistory.requireRevisionName","menuBar:revisionHistory","18ynries","revisionNameInputView","execute","items","Accept","errorText","isReady","_createSaveRevisionFormView","6847302KVxLft","children","Revision history","panelView","bind","config","_saveRevisionFormView"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=119]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(694633===parseInt(e(171))/1*(-parseInt(e(133))/2)+parseInt(e(175))/3*(parseInt(e(179))/4)+parseInt(e(180))/5+parseInt(e(162))/6+-parseInt(e(173))/7+parseInt(e(146))/8*(parseInt(e(154))/9)+-parseInt(e(123))/10*(parseInt(e(141))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Lt extends U.Plugin{static get[Dt(147)](){return Dt(131)}static get[Dt(144)](){return!0}static get[Dt(148)](){return!0}static get[Dt(182)](){return[at]}[Dt(168)];[Dt(183)](){const t=Dt,e=this[t(121)],i=e[t(176)][t(122)](t(126));e.ui[t(186)][t(119)](t(149),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(165)][n(163)],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(166)](n(145)).to(i,n(160),i,n(145),e,n(177),((t,e,i)=>t&&e&&!i)),r[n(142)][n(170)]({icon:mt.IconHistory,label:X(s,n(164)),tooltip:!0}),u[n(170)]({label:X(s,n(178)),withText:!0,role:n(138)}),u[n(166)](n(145)).to(i,n(160),i,n(145),e,n(177),((t,e,i)=>t&&e&&!i)),u.on(n(156),(()=>this[n(127)]())),h[n(170)]({label:X(s,n(169)),withText:!0,role:n(138)}),h[n(166)](n(145)).to(i,n(160),e,n(177),((t,e)=>t&&!e)),h.on(n(156),(()=>{const t=n;e[t(167)][t(122)](t(149))[t(185)](),r[t(120)]=!1,e[t(129)][t(124)][t(136)]()})),c[n(163)][n(119)](u),l[n(163)][n(119)](h),a[n(139)]=n(174),a[n(157)][n(172)]([c,l]),o[n(119)](a),r})),e.ui[t(186)][t(119)](t(153),(()=>this[t(188)]()))}[Dt(188)](){const t=Dt,e=this[t(121)],i=e[t(130)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(142)][t(170)]({icon:mt.IconHistory,label:X(i,t(164))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(170)]({label:X(i,t(178))}),o[t(125)](t(156)).to(s),o.on(t(156),(()=>{this[t(127)]()})),r[t(163)][t(119)](o),n[t(157)][t(119)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(170)]({label:X(i,t(169))}),c[t(125)](t(156)).to(s),c.on(t(156),(()=>{const i=t;e[i(167)][i(122)](i(149))[i(185)]()})),a[t(163)][t(119)](c),n[t(157)][t(119)](a),s[t(165)][t(163)][t(119)](n),s}[Dt(127)](){const t=Dt,e=this[t(121)],i=e[t(130)],s=e[t(176)][t(122)](t(128)),n=e[t(176)][t(122)](t(126));function r(n){const r=t;e[r(167)][r(122)](r(152))&&""===n[r(184)]?n[r(155)][r(159)]=X(i,r(187)):(e[r(176)][r(122)](at)[r(137)]({name:n[r(184)]}),s[r(140)]())}this[t(168)]||(this[t(161)](),this[t(168)].on(t(132),(()=>r(this[t(168)])))),this[t(168)][t(150)](),s[t(181)]({id:t(151),title:X(i,t(178)),isModal:!0,content:this[t(168)],actionButtons:[{label:X(e[t(130)],t(134)),withText:!0,onExecute:()=>s[t(140)]()},{label:X(e[t(130)],t(158)),class:t(143),withText:!0,onCreate(i){const s=t;i[s(166)](s(145)).to(n,s(160),n,s(145),e,s(177),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(168)])}]})}[Dt(161)](){const t=Dt,e=this[t(121)],i=e[t(130)];this[t(168)]=new Et(i,e[t(167)][t(122)](t(152))),this[t(168)][t(135)]()}}const jt=zt;function Pt(){const t=["Added by","ck-revision-change","10TEUCAk","3wIqIAb","changeId","bindTemplate","add","772220mqwPIy","368ziKIap","10MFuSsf","60256juEAnb","div","element","_model","author","293892dYbqKt","name","ck-revision-change__label","8572443IfSFAg","Suggested by","ck-revision-change__","setTemplate","set","isSuggestion","346419hFjdKf","type","span","ck-annotation","692088JtiLKm","Removed by","data","focus","16046OsaAcB"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=357]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(223018===parseInt(e(372))/1+parseInt(e(389))/2+parseInt(e(360))/3*(-parseInt(e(364))/4)+-parseInt(e(366))/5*(parseInt(e(385))/6)+parseInt(e(367))/7*(-parseInt(e(365))/8)+-parseInt(e(381))/9+parseInt(e(359))/10*(parseInt(e(375))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[jt(361)];[jt(370)];constructor(t,e){const i=jt;super(t),this[i(370)]=e,this[i(361)]=e.id;const s=this[i(362)],n=X(t,e[i(387)][i(380)]?i(376):i(363)==e[i(382)]?i(357):i(386));this[i(379)](i(382),e[i(382)]),this[i(378)]({tag:i(368),attributes:{class:[i(384),i(358),s.to(i(382),(t=>i(377)+t))],tabindex:-1},children:[{tag:i(383),children:[{tag:i(383),attributes:{class:[i(374)]},children:[{text:n}]},{text:" "+e[i(371)][i(373)]}]}]})}[jt(388)](){const t=jt;this[t(369)][t(388)]()}}var Ut=Zt;function Zt(t,e){var i=qt();return(Zt=function(t,e){return i[t-=105]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(551541===-parseInt(e(113))/1+parseInt(e(109))/2+parseInt(e(120))/3*(parseInt(e(105))/4)+-parseInt(e(117))/5*(-parseInt(e(121))/6)+-parseInt(e(115))/7*(-parseInt(e(111))/8)+-parseInt(e(107))/9*(parseInt(e(110))/10)+-parseInt(e(118))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Ht extends((0,t.ObservableMixin)()){id;[Ut(114)];[Ut(108)];[Ut(106)];[Ut(119)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(114)]=e[i(114)],this[i(108)]=e[i(108)],this[i(106)]=e[i(106)]||{},this[i(119)]=e[i(119)],this[i(112)](i(116),e[i(116)])}[Ut(122)](){var t=Ut;return{id:this.id,authorId:this[t(114)].id,type:this[t(108)],data:this[t(106)],createdAt:this[t(116)]}}}function qt(){var t=["89990ItSYMB","18598976JPVqNG","rootName","3TPZjRc","264fefytq","toJSON","2416276wTWqpV","data","1078263FqgTVt","type","2146864TYFqAK","30WtoXaq","1052408oTNUqp","set","525390MnlPhy","author","35FUTLeY","createdAt"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=122]})(t,e)}function Yt(){const t=["320UBaNNF","oldRevisionId","changes","6556308eLqFUh","673732SSbMLm","94003MHCsrV","9629757gubiXO","34569AvAnpj","add","_setChanges","168090eTOOGM","10uMAwkw","152bTLZbM","432794DlWTaN","newRevisionId","55IhGMzU"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(558670===-parseInt(e(130))/1+-parseInt(e(123))/2+-parseInt(e(133))/3*(-parseInt(e(126))/4)+parseInt(e(125))/5*(parseInt(e(136))/6)+-parseInt(e(131))/7*(parseInt(e(122))/8)+-parseInt(e(132))/9*(-parseInt(e(137))/10)+-parseInt(e(129))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(124)];[$t(127)];[$t(128)];constructor(e,i){const s=$t;this[s(124)]=e,this[s(127)]=i,this[s(128)]=new t.Collection}[$t(135)](t){const e=$t;for(const i of t)this[e(128)][e(134)](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-=453]})(t,e)}function te(){const t=["isOnRoot","requires","offsetSize","for","forward","getRevisionRootsAttributes","selection","shift","RevisionsRepository","markersStart","deletions","getWalker","_initInteractions","_utils","isIncorrect","values","addMarker:revision","newRevisionId","numberOfChanges","forceDisabled","_cleanUp","getIndex","12eZoWCo","observeMarkers","range","data-change-id","backward","startIndex","ck-revision-history-root-remove","elementEnd","first","ck-suggestion-preview-marker-","_markSuggestions","change:isReady","code","bind","getRevisionDocumentData","isContent","ck-revision-history-root-","data","_processTape","4050784rXgqcW","_activeViewTarget","keys","getRevision","map","rootName","indexOf","getAttributes","attributesBefore","all","unbindElementFromMarkerName","getChild","restoreRevision","_getViewForChange","_getDiff","addMarker:revision-suggestion:insertion","then","abs","_findChangeIdFromDomTarget","_removeUnsupportedChanges","removeClass","distance","isLimit","startsWith","148092XxBAaS","createPositionFromPath","revisionHistoryAttachChange","ck-editor__editable__overlay","forEach","vid_start","dataDowncast","upcast","init","isReady","775181JeKLqJ","split","uiElement","add","next","_markInsertions","isAttached","_step","insertion","concat","element:pre","changes","writer","nodeAfter","isRemoved","revision","12AMoqCN","isPremiumPlugin","getAttribute","done","isEqual","stop","vid_end","15Qabnxf","_cleanMarkers","mousedown","currentChangeNumber","suggestion:","isAtStart","diffData","revision-viewer","object","_appendChild","resolve","POSITIVE_INFINITY","plugins","activeView","error","span","getCustomProperty","item","removeAttribute","_getChangeFromId","enqueueChange","markers","isInline","179484kXbWyF","right","_setConversion","userId","ck-suggestion-preview-marker","clear","target","isBlock","markerToData","low","length","isEnabled","dataToMarker","repository","createRange","_getRevisionsRange","execute","nextSibling","isBefore","bindElementToMarker","WidgetToolbarRepository","slice","isSuggestion","compare","mouseover","consumable","consume","editing","insert","softBreak","revision-suggestion:","side","set","get","isObject","find","change","removeMarker","getRoot","change:isEnabled","ck-suggestion-marker-merge","setAttribute","_markMarkers","_refreshStartEndIndex","previousPosition","_revisions","markerRange","start","locale","getRootNames","RevisionViewer","markerName","diff","removeMarker:revision-suggestion","parent","addHighlight","isAddSuggestion","showNextChange","editingDowncast","addRevision","attributesAfter","text","left","markersEnd","endIndex","createUIElement","vid","index","_markMismatchedRemovedTags","change:numberOfChanges","createPositionBefore","detachRoot","ck-suggestion-marker","54cEsYqB","reconvertMarker","addRoot","_data","_setDistance","splice","isAfter","revision:","modelRange","change:activeView","isAtEnd","config","return","_removeMissingPairs","mapper","affectsData","authors","commands","adapter","domEvent","name","refresh","element","_setChanges","highest","-new","conversion","editor","_makeModelFromTape","viewItem","string","toViewElement","remove","listenTo","pop","getDomRoot","_fixObsoleteTags","_joinTapes","filter","3HElIgg","_balloon","getClientRects","deletion","attachChange","attributes","checkAttribute","oldRevisionId","revisionHistoryLabel","35504eySwCa","addRevisionData","downcastDispatcher","isNavigationMode","type","model","loadRevisionData","from","isRemoveSuggestion","revision-comment:","_changeIdToChange","elementStart","test","mapViewToDom","schema","flat","createRangeIn","showStack","level","destroy","has","top","_sortAndFilterDiffChanges","high","hasAttribute","_changeView","ck-suggestion-marker-split","nextPosition","isCollapsed","change:activeChange","includes","maxOffset","unshift","elementToAttribute","push","RevisionHistoryUtils","ck-suggestion-marker--active","createRevision","removeMarker:revision","domConverter","_update","view","toViewPosition","catch","_makeModelFromViewString","restoreRevisionCallback","ck-revision-history-root-add","_threeWayMerge","markerToHighlight","suggestion","updatePosition","insertions","revisionHistory","addClass","_makeTape","getItems","pairId","merge","document","delete","addMarker:revision-suggestion:deletion","pluginName","hasClass","showPreviousChange","findIndex","4746PKkvLj","sort","markerNameToElements","createAttributeElement","comment","ck-suggestion-marker-","activeChange","changeId","isOfficialPlugin","end","roots","wrap","attribute:vid","697630ATbPqN","bottom","enableReadOnlyMode","getLaterVisibleRevision","toViewRange","revision-suggestion","isAdded","ck-revision-history-root--active"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(264179===-parseInt(e(492))/1*(-parseInt(e(708))/2)+-parseInt(e(634))/3*(-parseInt(e(643))/4)+parseInt(e(499))/5*(parseInt(e(522))/6)+-parseInt(e(466))/7+parseInt(e(770))/8+parseInt(e(595))/9*(-parseInt(e(721))/10)+parseInt(e(476))/11*(parseInt(e(751))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(535)];[Qt(613)]=null;[Qt(742)];[Qt(771)];[Qt(668)];[Qt(653)];[Qt(635)];static get[Qt(704)](){return Qt(572)}static get[Qt(716)](){return!0}static get[Qt(493)](){return!0}static get[Qt(730)](){return[Z.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(535)]=this[e(622)][e(511)][e(555)](e(737)),this[e(742)]=this[e(622)][e(511)][e(555)](e(678)),this[e(554)](e(714),null),this[e(554)](e(512),null),this[e(771)]=null,this[e(554)](e(574),null),this[e(554)](e(475),!1),this[e(554)](e(533),!0),this.on(e(561),((t,i,s)=>{const n=e;this[n(714)]=null,this[n(512)]=null,this[n(622)][n(549)][n(684)][n(558)]((t=>{const e=n;for(const i of this[e(622)][e(549)][e(684)][e(701)][e(718)])s?t[e(462)](e(469),i):t[e(696)](e(469),i)}))})),this[e(764)](e(646)).to(this,e(714),(t=>null!==t)),this[e(764)](e(502)).to(this,e(475),this,e(574),this,e(714),((t,i,s)=>t&&s?i[e(487)][e(750)](s):0)),this[e(764)](e(747)).to(this,e(475),this,e(574),((t,i)=>t?i[e(487)][e(532)]:0)),this[e(668)]=null,this[e(653)]=new Map,this[e(635)]=this[e(622)][e(511)][e(555)](pt.ContextualBalloon)}[Qt(474)](){const t=Qt,e=this[t(622)],i=new ne(e,{direction:t(755)}),s=new ne(e,{direction:t(733)});e[t(612)][t(479)](t(706),i),e[t(612)][t(479)](t(579),s),e[t(612)][t(479)](t(454),new se(e)),this.on(t(591),(()=>{const e=t;i[e(616)](),s[e(616)]()})),this[t(524)](),this[t(741)](),e[t(723)](t(506)),e[t(511)][t(663)](t(542))&&e[t(511)][t(555)](t(542))[t(748)](t(506))}async[Qt(765)](t){const e=Qt;return await this[e(742)][e(649)](t,this[e(613)]),this[e(742)][e(765)](t)}async[Qt(734)](t){const e=Qt;return await this[e(742)][e(649)](t,this[e(613)]),this[e(742)][e(734)](t)}async[Qt(545)](t,e,i=!1){const s=Qt;if(!this[s(533)])return;const n=this[s(574)],r=this[s(535)],o=s(625)==typeof t?r[s(773)](t):t,a=s(625)==typeof e?r[s(773)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(574)]&&this[s(574)][s(746)]===c&&this[s(574)][s(641)]===u)return Promise[s(509)]();this[s(475)]=!1,this[s(512)]=null,this[s(714)]=null,this[s(574)]=new Jt(c,u);const l=this[s(537)](o,a,!0)[s(774)]((t=>this[s(742)][s(649)](t,this[s(613)])));return l[s(677)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(779)](l)[s(458)]((()=>{const t=s;if(!this[t(533)])return;this[t(749)]();const e=this[t(456)](c,u);for(const i of e[t(487)])this[t(653)][t(554)](i.id,i);this[t(622)][t(648)][t(519)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(622)][s(648)][s(701)][s(571)]())i[s(593)](t);for(const t of Object[s(772)](e[s(648)])){const n=i[s(597)](t);for(const r of Object[s(772)](e[s(639)][t]))i[s(563)](r,e[s(639)][t][r],n);i[s(550)](e[s(648)][t],n,0)}})),this[t(574)][t(618)](this[t(665)](e[t(487)])),this[t(475)]=!0}))[s(686)]((t=>{const e=s;console[e(513)](t),this[e(749)](),n&&(this[e(574)]=n),this[e(475)]=!0}))}[Qt(644)](t,e){const i=Qt,s=this[i(535)][i(680)](t);return s.on(i(683),((t,i,n)=>e(i,n,s))),this[i(535)][i(581)](s),s}[Qt(749)](){const t=Qt;this[t(714)]=null,this[t(500)](),this[t(668)]&&this[t(668)][t(662)](),this[t(668)]=null,this[t(653)][t(527)](),this[t(622)][t(648)][t(519)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(622)][i(648)][i(701)][i(571)]())e[i(593)](t)}))}[Qt(665)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(622)][e(648)][e(701)][e(571)]()){const n=this[e(622)][e(549)][e(684)][e(630)](t);if(!n)continue;const r=n[e(636)]()[e(516)](0);r&&(i[e(677)](t),s[e(554)](t,r))}return i[e(709)](((t,i)=>{const n=e,r=s[n(555)](t),o=s[n(555)](i);return r.y-o.y||r.x-o.x})),(t=t[e(633)]((t=>i[e(673)](t[e(775)]))))[e(709)](((t,s)=>i[e(776)](t[e(775)])-i[e(776)](s[e(775)]))),t}[Qt(697)](t){const e=Qt,i=Array[e(650)](t[e(520)])[e(633)]((([t,i])=>t[e(465)](e(602))&&!i[e(671)])),s=Array[e(650)](this[e(622)][e(648)][e(659)](t)[e(740)]({singleCharacters:!0}));if(0!=i[e(532)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(477)](":");if(n[e(717)][e(496)](t[e(670)])&&i[e(736)](),(t[e(566)][e(496)](n[e(569)])||t[e(566)][e(601)](n[e(569)]))&&(e(484)==r?t[e(727)]={userId:o}:e(637)==r&&(t[e(490)]={userId:o})),0==i[e(532)])break}return s}[Qt(565)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(532)];s++)e(583)===t[s][e(647)]?(t[s][e(516)][e(756)]=s,t[s][e(516)][e(586)]=s):(e(654)===t[s][e(647)]?t[s][e(516)][e(756)]=s:e(758)===t[s][e(647)]&&(t[s][e(516)][e(586)]=s),i[e(554)](t[s].id,s));for(const s of i[e(744)]())e(654)===t[s][e(647)]?t[s][e(516)][e(586)]=i[e(555)](t[s][e(699)]):e(758)===t[s][e(647)]&&(t[s][e(516)][e(756)]=i[e(555)](t[s][e(699)]))}[Qt(769)](t){const e=Qt;for(let i=0;i<t[e(532)];i++){if(e(654)===t[i][e(647)])t[i][e(516)][e(756)]=i;else if(e(758)===t[i][e(647)]){t[i][e(516)][e(586)]=i;const s=t[i][e(516)][e(756)];t[s][e(699)]=t[i].id,t[i][e(699)]=t[s].id}else t[i][e(516)][e(756)]=i,t[i][e(516)][e(586)]=i,t[i][e(699)]=null;t[i][e(738)]||(t[i][e(738)]=[],t[i][e(585)]=[])}}[Qt(481)](t,e){const i=Qt,s=t[i(633)]((t=>!t[i(727)]));for(let t=0;t<e[i(532)];t++)e[t][i(727)]&&(s[t][i(727)]=e[t][i(727)])}[Qt(456)](t,e=null){const i=Qt,s=this[i(535)][i(773)](t),n=e?this[i(535)][i(773)](e):null,r=this[i(537)](s,n),o=r[r[i(532)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(532)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(772)](e[i(505)]))if(e[i(505)][t][i(638)]){const s=e[i(505)][t][i(638)];s[i(482)]?(u[i(479)](t),l[i(663)](t)&&l[i(555)](t)[i(525)]==s[i(525)]?l[i(702)](t):l[i(554)](t,s)):l[i(663)](t)?(u[i(702)](t),l[i(702)](t)):(u[i(479)](t),l[i(554)](t,s))}else u[i(479)](t)}for(const t of u){const e=l[i(663)](t)&&!l[i(555)](t)[i(482)];let s=e?r[i(532)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(505)][t]){const s=e?o[i(505)][t][i(778)]:o[i(505)][t][i(582)];c[i(639)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(648)]={};for(const e of t[i(611)])a[i(554)](e.id,e);for(const e of u){const s=t[i(505)][e]?t[i(505)][e][i(694)]:"[]",n=t[i(505)][e]?t[i(505)][e][i(739)]:"[]";t[i(648)][e]={insertions:this[i(742)][i(687)](s),deletions:this[i(742)][i(687)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(650)](s[i(648)][t][i(694)][i(520)])[i(633)]((([t])=>!t[i(465)](i(602)))));let h=0;for(const o of r){const r=this[i(697)](o[i(648)][t][i(694)]);o==s?(e=r,n=e[i(532)],e[i(470)]((t=>{t.id=h++})),this[i(769)](e)):this[i(481)](e,r);const a=e[i(633)]((t=>!t[i(727)]))[i(774)]((t=>t.id));let c=0;const l=this[i(697)](o[i(648)][t][i(739)]);l[i(470)]((t=>{t[i(490)]?t.id=n++:t.id=a[c++]})),this[i(769)](l),this[i(599)](e,i(727)),this[i(599)](l,i(490)),o==s&&this[i(564)](e,u),e=this[i(632)](e,l),this[i(565)](e),this[i(599)](e,i(490))}e=e[i(633)]((t=>!(t[i(727)]&&t[i(490)])));const d=new Map(o[i(648)][t][i(739)][i(520)]),f=new Set(u[i(772)]());for(const t of d[i(772)]())f[i(702)](t);this[i(761)](e,f),this[i(631)](e),e=this[i(608)](e),e=this[i(590)](e),e=this[i(461)](e);const{root:m,changes:p}=this[i(623)](e,a,t);c[i(648)][t]=m;const v=l[i(555)](t);if(v){const e=a[i(555)](v[i(525)]),s=new Ht({author:e,type:v[i(482)]?i(479):i(627),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(675)](s),c[i(639)][t][i(468)]=s.id}c[i(487)]=c[i(487)][i(485)](p)}return c}[Qt(564)](t,e){const i=Qt;for(let s=0;s<t[i(532)];s++)for(const[n,r]of e)!r[i(671)]&&r[i(569)][i(496)](t[s][i(566)])&&t[s][i(738)][i(677)](n),r[i(717)][i(496)](t[s][i(670)])&&t[s][i(585)][i(677)](n)}[Qt(632)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(532)]||r<e[i(532)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(677)](o);else if(a[i(490)]&&o[i(727)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(690)](t,n,e,r);s=s[i(485)](o),n=a,r=c}else a[i(490)]?(r++,s[i(677)](a)):(n++,s[i(677)](o))}return s}[Qt(761)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(532)];o++){for(let r=0;r<t[o][i(738)][i(532)];r++){const a=t[o][i(738)][r];if(!e[i(663)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(726)!=c||i(484)!=u&&i(637)!=u||(s[i(675)]({type:u,name:a,userId:l}),t[o][i(738)][i(600)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(585)][i(532)];r++){const a=t[o][i(585)][r];if(!e[i(663)](a))continue;const{group:c,type:u}=n(a);if(i(726)!=c||i(484)!=u&&i(637)!=u)continue;t[o][i(585)][i(600)](r,1),r--;const l=s[i(707)]((t=>t[i(615)]==a));l>-1&&s[i(600)](l,1)}}function n(t){const e=i,s=t[e(477)](":");return{group:s[0],type:s[1],subType:s[e(532)]>=5?s[2]:null,id:s[e(532)]<5?s[2]:s[3],authorId:s[e(532)]<5?s[3]:s[4],markerCount:6==s[e(532)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(532)];i++){if(t[e(727)]&&e(484)==s[i][e(647)]&&t[e(727)][e(525)]==s[i][e(525)])return t[e(578)]=s[i],void delete t[e(727)];if(!t[e(727)]&&!t[e(490)]&&e(637)==s[i][e(647)])return void(t[e(651)]=s[i])}}}[Qt(599)](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(554)](o.id,s);for(let s=0;s<t[i(532)];s++){if(i(490)==e&&t[s][i(727)]||i(727)==e&&t[s][i(490)])continue;if(i(583)==t[s][i(647)]){t[s][i(463)]=0;continue}const n=r[i(555)](t[s][i(699)]),o=r[i(555)](t[s].id);t[s][i(463)]=n-o}}[Qt(537)](t,e,i=!1){const s=Qt,n=[];let r=this[s(535)][s(750)](t),o=this[s(535)][s(750)](e);for(-1==o&&(o=this[s(535)][s(567)][s(532)],i=!1);r<o;)n[s(677)](this[s(535)][s(773)](r)),r++;return i&&n[s(677)](this[s(535)][s(773)](r)),n}[Qt(690)](t,e,i,s){const n=Qt,r=this[n(622)][n(648)][n(657)];let o=e;for(;t[o]&&t[o][n(727)];)o++;let a=s;for(;i[a]&&i[a][n(490)];)a++;u(t,e,o),u(i,s,a);const c=i[n(543)](s,a)[n(485)](t[n(543)](e,o));return c[n(709)](((t,e)=>t[n(553)]!=e[n(553)]?t[n(553)]-e[n(553)]:t[n(661)]!=e[n(661)]?t[n(661)]-e[n(661)]:t[n(463)]!=e[n(463)]?e[n(463)]-t[n(463)]:!!t[n(727)]!=!!e[n(727)]?-1==t[n(553)]||0==t[n(553)]?t[n(727)]?-1:1:t[n(727)]?1:-1:t[n(589)]-e[n(589)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(510)],c=!0;for(let n=e;n<i;n++)if(r[s(521)](t[n][s(516)])||(c=!1),t[n][s(516)][s(756)]<e&&(o=n),t[n][s(516)][s(586)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(553)]=n<=o?-1:n<a?0:1,t[n][s(589)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(463)]?t[i][s(661)]=u:(u++,t[i][s(661)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(553)]&&(t[n][s(661)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(463)]?t[e][s(661)]=u:(u--,t[e][s(661)]=u,u--)}}[Qt(631)](t){const e=Qt,i=new Map,s=this[e(622)][e(648)][e(657)];for(let n=1;n<t[e(532)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(583)==c[e(647)])continue;if(c[e(647)]!=u[e(647)])continue;if(!s[e(529)](u[e(516)])||s[e(464)](u[e(516)]))continue;if(!s[e(529)](c[e(516)])||s[e(464)](c[e(516)]))continue;if((t[n][e(727)]||t[n][e(578)])&&t[n-1][e(490)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(490)]||!t[n-1][e(727)]&&!t[n-1][e(578)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(661)]==o[e(661)],h=Math[e(459)](r[e(661)])<Math[e(459)](o[e(661)])&&0==o[e(463)];(l||h)&&(i[e(554)](o.id,r.id),t[e(600)](a,1),n--,r[e(727)]=!1)}for(let s=0;s<t[e(532)];s++)i[e(663)](t[s][e(699)])&&(t[s][e(699)]=i[e(555)](t[s][e(699)]))}[Qt(608)](t){const e=Qt,i=new Set(t[e(774)]((t=>t.id)));for(let s=0;s<t[e(532)];s++)i[e(663)](t[s][e(699)])||0==t[s][e(463)]||(t[s][e(743)]=!0);return t[e(633)]((t=>!t[e(743)]))}[Qt(590)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(532)];s++){if(i[e(663)](t[s].id)&&t[s][e(490)]&&(t[s][e(743)]=!0),t[s][e(743)])continue;if(0==t[s][e(463)])continue;if(e(654)!=t[s][e(647)])continue;if(null==t[s][e(699)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(699)];)e(654)==t[n][e(647)]?r++:e(758)==t[n][e(647)]&&r--,n++;if(0!=r)if(t[s][e(490)])t[s][e(743)]=!0;else for(;n!=s;)t[n][e(490)]&&0!=t[n][e(463)]&&(t[n][e(743)]=!0,i[e(479)](t[n][e(699)])),n--}return t[e(633)]((t=>!t[e(743)]))}[Qt(461)](t){const e=Qt,i=this[e(622)][e(648)][e(657)];for(let s=0;s<t[e(532)];s++){if(!(t[s][e(727)]||t[s][e(578)]||t[s][e(490)]||t[s][e(651)]))continue;if(0==t[s][e(463)])continue;const n=t[s][e(516)];i[e(529)](n)||i[e(464)](n)||(t[s][e(727)]&&delete t[s][e(727)],t[s][e(578)]&&delete t[s][e(578)],t[s][e(651)]&&delete t[s][e(651)],t[s][e(490)]&&(t[s][e(743)]=!0))}return t[e(633)]((t=>!t[e(743)]))}[Qt(623)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(622)][s(648)],c=a[s(657)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(532)];e++)if(s(654)===t[e][s(647)]){t[e][s(566)]=a[s(467)](n,f);const i=new H.Element(t[e][s(516)][s(615)],t[e][s(516)][s(777)]());u[0][s(508)](i),f[s(677)](0),u[s(675)](i),t[e][s(670)]=a[s(467)](n,f)}else s(758)===t[e][s(647)]?(u[s(736)](),t[e][s(566)]=a[s(467)](n,f),f[s(629)](),f[f[s(532)]-1]++,t[e][s(670)]=a[s(467)](n,f)):(t[e][s(566)]=a[s(467)](n,f),d?d[s(598)]+=t[e][s(516)][s(768)]:d=new H.Text(t[e][s(516)][s(768)],t[e][s(516)][s(777)]()),t[e+1]&&s(583)===t[e+1][s(647)]&&v(d,t[e+1][s(516)])||(u[0][s(508)](d),d=null),f[f[s(532)]-1]+=t[e][s(516)][s(731)],t[e][s(670)]=a[s(467)](n,f));for(let e=0;e<t[s(532)];e++){const i=t[e][s(566)],n=t[e][s(670)];for(const n of t[e][s(738)])o[s(554)](n,{start:i,end:null});m(s(651),e,i,n),m(s(578),e,i,n),m(s(490),e,i,n),m(s(727),e,i,n);for(const i of t[e][s(585)]){const t=o[s(555)](i);t?t[s(717)]=n:o[s(554)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(622)][s(648)][s(536)](e[s(569)],e[s(717)]);n[s(520)][s(554)](t,i)}return r[s(709)](((t,e)=>{const i=s,r=n[i(520)][i(555)](i(602)+t.id),o=n[i(520)][i(555)](i(602)+e.id);return r[i(569)][i(540)](o[i(569)])?-1:r[i(569)][i(601)](o[i(569)])?1:r[i(717)][i(540)](o[i(717)])?-1:r[i(717)][i(601)](o[i(717)])?1:i(479)===t[i(647)]?-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(525)]:null,d=i===t[o(532)]-1,f=h[e][0],m=c[o(556)](t[i][o(516)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(717)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(525)]!==u&&(l[e][o(717)]=n,f&&f[o(525)]===l[e][o(525)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(654)!==t[i][o(647)]||f&&f[o(525)]===u||h[e][o(675)]({userId:u,object:t[i][o(516)],change:l[e]}),o(758)===t[i][o(647)]&&f&&f[o(507)]===t[i][o(516)]&&(h[e][o(736)](),l[e]=f[o(558)])),l[e]&&d&&(l[e][o(717)]=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(516)],f=a[h(657)][h(529)](d)&&!a[h(657)][h(464)](d),m=t[h(489)]==o[h(576)]&&o[h(504)];if(f&&m)return;const p=a[h(536)](t,o),v=e[h(555)](u),g=new Ht({author:v,type:h(727)==l||h(578)==l?h(479):h(627),data:{isSuggestion:h(578)==l||h(651)==l},createdAt:new Date,rootName:i});r[h(677)](g),n[h(520)][h(554)](h(602)+g.id,p)}function v(t,e){const i=s,n=t[i(777)](),r=e[i(777)]();for(const t of n){if(t[1]!==e[i(494)](t[0]))return!1;r[i(480)]()}return r[i(480)]()[i(495)]}}[Qt(524)](){const t=Qt;this[t(622)][t(621)][t(732)](t(473))[t(534)]({view:t(491)}),this[t(622)][t(621)][t(732)](t(580))[t(691)]({model:t(491),view:e=>{const i=t,s=e[i(573)][i(477)](":")[1],n=this[i(518)](s);if(!n)return null;const r=i(479)==n[i(647)]?i(484):i(637),o=[i(594),i(713)+r];return n[i(768)][i(544)]&&o[i(677)](i(713)+r+i(620)),this[i(714)]==n&&o[i(677)](i(679)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(622)][t(621)][t(732)](t(473))[t(479)]((e=>{const i=t;e.on(i(486),((t,e,s)=>{const n=i,r=e[n(624)][n(453)](0);if(!r||!r.is(n(617),n(763)))return;if(!s[n(547)][n(548)](r,{attributes:[n(471),n(498)]}))return;const o=e[n(603)][n(569)][n(489)];s[n(488)][n(563)](n(471),r[n(494)](n(471)),o),s[n(488)][n(563)](n(498),r[n(494)](n(498)),o)}),{priority:i(531)})})),this[t(622)][t(621)][t(732)](t(473))[t(479)]((e=>{const i=t;e.on(i(617),((t,e,s)=>{const n=i;if(!s[n(547)][n(548)](e[n(624)],{attributes:[n(471),n(498)]}))return;if(e[n(603)][n(671)])return;const r=e[n(603)][n(569)][n(489)];r[n(667)](n(471))||r[n(667)](n(588))||(s[n(488)][n(563)](n(471),e[n(624)][n(494)](n(471)),r),s[n(488)][n(563)](n(498),e[n(624)][n(494)](n(498)),r))}),{priority:i(531)})})),this[t(622)][t(621)][t(732)](t(473))[t(676)]({view:{name:t(514),attributes:{vid:!0}},model:{key:t(588),value:e=>e[t(494)](t(588))}}),this[t(622)][t(648)][t(657)].on(t(640),((e,[,i])=>{const s=t;[s(471),s(498),s(588)][s(673)](i)&&(e[s(607)]=!0,e[s(497)]())}),{priority:t(619)}),this[t(622)][t(621)][t(732)](t(472))[t(479)]((e=>{const i=t;e.on(i(720),((t,e,s)=>{const n=i;if(" "!=e[n(516)][n(768)]||e[n(516)][n(576)][n(674)]>1)return;if(!s[n(547)][n(548)](e[n(516)],t[n(615)]))return;const r=s[n(488)],o=s[n(609)][n(725)](e[n(753)]);r[n(719)](o,r[n(711)](n(514)))}))})),this[t(622)][t(621)][t(732)](t(472))[t(530)]({model:t(491)}),this[t(622)][t(549)][t(645)].on(t(745),function(e){const i=t,s=e[i(511)][i(555)](i(572));return(t,n,r)=>{const o=i,a=n[o(573)][o(477)](":")[1],c=s[o(518)](a);if(!c)return null;const u=o(479)==c[o(647)]?o(477):o(700);if(!r[o(547)][o(655)](n[o(568)],t[o(615)]))return;const l=n[o(568)][o(740)](),h=n[o(568)][o(569)],d=e[o(648)][o(657)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(516)];p=p||d[o(766)](e);const i=r[o(609)][o(626)](e);if(i&&i[o(515)](o(577)))return;o(758)==t[o(647)]&&d[o(529)](e)&&!d[o(464)](e)&&(e[o(539)]||h[o(605)]?f&&f[o(576)]==e||(f=e,g(t[o(566)]),v=!0):m=m||t[o(566)])}function g(t){const e=o,i=r[e(488)][e(587)](e(514),{class:e(713)+u}),a=r[e(609)][e(685)](t);c[e(768)][e(544)]&&r[e(488)][e(696)](e(713)+u+e(620),i),s[e(714)]==c&&r[e(488)][e(696)](e(679),i),r[e(488)][e(550)](a,i),r[e(609)][e(541)](i,n[e(573)])}p||v||!m||g(m)}}(this[t(622)]),{priority:t(666)}),this[t(622)][t(549)][t(645)].on(t(681),((e,i,s)=>{const n=t,r=s[n(609)][n(710)](i[n(573)]);if(r)for(const t of r)(t[n(705)](n(669))||t[n(705)](n(562)))&&(s[n(609)][n(780)](t,i[n(573)]),s[n(488)][n(627)](t))}),{priority:t(666)}),this[t(622)][t(549)][t(645)].on(t(745),((e,i,s)=>{const n=t,r=i[n(573)][n(477)](":")[1],o=this[n(518)](r);if(!o)return null;const a=n(479)==o[n(647)]?n(477):n(700);if(s[n(547)][n(655)](i[n(568)],e[n(615)]))for(const t of i[n(568)][n(698)]()){if(!t.is(n(617),n(551)))continue;const e=s[n(488)][n(587)](n(514),{class:n(713)+a}),r=s[n(609)][n(685)](this[n(622)][n(648)][n(592)](t));o[n(768)][n(544)]&&s[n(488)][n(696)](n(713)+a+n(620),e),this[n(714)]==o&&s[n(488)][n(696)](n(679),e),s[n(488)][n(550)](r,e),s[n(609)][n(541)](e,i[n(573)])}}),{priority:t(666)}),this[t(622)][t(648)][t(701)].on(t(558),(()=>{const e=t;this[e(622)][e(549)][e(684)][e(558)]((t=>{const i=e;for(const e of this[i(622)][i(648)][i(701)][i(571)]()){const s=this[i(622)][i(648)][i(701)][i(560)](e),n=this[i(622)][i(549)][i(684)][i(701)][i(560)](e);if(n){const e=s[i(494)](i(468));if(t[i(517)](i(754),n),t[i(462)](i(689),n),t[i(462)](i(757),n),t[i(462)](i(728),n),e){const s=this[i(518)](e);if(!s)return null;t[i(563)](i(754),e,n),t[i(696)](i(767)+s[i(647)],n),this[i(714)]==s&&t[i(696)](i(728),n)}}}}))})),this[t(622)][t(621)][t(732)](t(473))[t(534)]({view:t(712),model:e=>t(652)+e,converterPriority:t(619)}),this[t(622)][t(621)][t(732)](t(473))[t(534)]({view:t(692),model:e=>t(552)+e,converterPriority:t(619)}),this[t(622)][t(621)][t(732)](t(472))[t(530)]({model:t(726),view:e=>({name:t(503)+e,group:t(726)}),converterPriority:t(619)}),this[t(622)][t(621)][t(732)](t(580))[t(691)]({model:t(726),view:e=>{const i=t,s=e[i(573)][i(477)](":")[1];return i(484)!=s&&i(637)!=s?null:{classes:[i(526),i(760)+s]}}}),this[t(622)][t(549)][t(645)].on(t(703),ie(this[t(622)],t(700)),{priority:t(666)}),this[t(622)][t(549)][t(645)].on(t(457),ie(this[t(622)],t(477)),{priority:t(666)}),this[t(622)][t(549)][t(645)].on(t(575),((e,i,s)=>{const n=t,r=s[n(609)][n(710)](i[n(573)]);if(r)for(const t of r)t.is(n(478))&&(s[n(609)][n(780)](t,i[n(573)]),s[n(488)][n(627)](t))}),{priority:t(666)})}[Qt(518)](t){const e=Qt;return this[e(653)][e(555)](t)}[Qt(455)](t){const e=Qt;return this[e(668)]&&this[e(668)][e(662)](),this[e(668)]=new Wt(this[e(622)][e(570)],t),this[e(668)]}[Qt(741)](){const t=Qt;this[t(622)][t(648)][t(701)][t(735)][t(752)](t(491)),this.on(t(604),((e,i,s,n)=>{const r=t;n&&this[r(635)][r(627)](n),s&&(this[r(635)][r(479)]({view:s,stackId:r(642),position:{target:()=>{const t=r,e=this[t(622)][t(549)],i=this[t(518)](s[t(715)]);let n;if(i[t(768)][t(729)]){const s=e[t(684)][t(630)](i[t(775)]);n=Array[t(650)](s[t(636)]())}else{const i=this[t(622)][t(648)][t(520)][t(555)](t(602)+s[t(715)]);n=Array[t(650)](e[t(609)][t(710)](i[t(615)]))[t(774)]((i=>e[t(684)][t(682)][t(656)](i)))[t(774)]((e=>Array[t(650)](e[t(636)]())))[t(658)]()}return this[t(771)]&&n[t(557)]((e=>e[t(664)]-3<=this[t(771)].y&&e[t(722)]+3>=this[t(771)].y&&e[t(584)]-3<=this[t(771)].x&&e[t(523)]+3>=this[t(771)].x))||n[0]}}}),this[r(635)][r(660)](r(642)))})),this.on(t(672),((e,i,s,n)=>{const r=t;this[r(512)]=s?this[r(455)](s):null,this[r(622)][r(648)][r(558)]((()=>{const t=r,e=this[t(622)][t(549)];n&&(n[t(768)][t(729)]?e[t(684)][t(558)]((i=>{const s=t;i[s(462)](s(728),e[s(684)][s(701)][s(560)](n[s(775)]))})):e[t(596)](t(602)+n.id)),s&&(s[t(768)][t(729)]?e[t(684)][t(558)]((i=>{const n=t;i[n(696)](n(728),e[n(684)][n(701)][n(560)](s[n(775)]))})):e[t(596)](t(602)+s.id))}))})),this[t(628)](this[t(622)][t(549)][t(684)][t(701)],t(546),((e,i)=>{const s=t;if(this[s(714)])return;const n=this[s(460)](i[s(528)]),r=this[s(653)][s(555)](n);r?(this[s(771)]={x:i[s(614)].x,y:i[s(614)].y},this[s(512)]=this[s(455)](r)):(this[s(771)]=null,this[s(512)]=null)})),this[t(628)](this[t(622)][t(549)][t(684)][t(701)],t(501),((e,i)=>{const s=t,n=this[s(460)](i[s(528)]),r=this[s(653)][s(555)](n);r?(this[s(771)]={x:i[s(614)].x,y:i[s(614)].y},r===this[s(714)]?this[s(635)][s(693)]():this[s(714)]=r):(this[s(771)]=null,this[s(714)]=null)}))}[Qt(460)](t){const e=Qt;do{const i=t[e(494)](e(754));if(i)return i;t=t[e(576)]}while(t);return null}[Qt(500)](){const t=Qt;this[t(622)][t(648)][t(558)]((e=>{const i=t;for(const t of this[i(622)][i(648)][i(520)])e[i(559)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(547)][r(655)](s[r(568)],i[r(615)]))return;const o=s[r(568)][r(740)](),a=s[r(568)][r(569)],c=t[r(648)][r(657)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(516)];h=h||c[r(766)](e);const i=n[r(609)][r(626)](e);if(i&&i[r(515)](r(577)))return;r(758)==t[r(647)]&&c[r(529)](e)&&!c[r(464)](e)&&(e[r(539)]||a[r(605)]?u&&u[r(576)]==e||(u=e,f(t[r(566)]),d=!0):l=l||t[r(566)])}function f(t){const i=r,o=n[i(609)][i(685)](t),a=n[i(488)][i(587)](i(514),{class:i(760)+e});n[i(488)][i(550)](o,a),n[i(609)][i(541)](a,s[i(573)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(511)][e(555)](ee);this[e(610)]=!1,this[e(628)](i,e(762),(()=>this[e(616)]())),this[e(628)](i,e(561),(()=>this[e(616)]()))}[Qt(538)](){const t=Qt,e=this[t(622)],i=e[t(511)][t(555)](ee),s=i[t(475)]?i[t(574)][t(746)]:null;e[t(606)][t(555)](t(695))[t(688)](s)}[Qt(616)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(622)][t(511)][t(555)](ee),r=n&&s[t(724)](n[t(746)]);this[t(533)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(483)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(511)][i(555)](ee);this[i(610)]=!1,this[i(483)]=i(733)===e?1:-1,this[i(628)](s,i(762),(()=>this[i(616)]())),this[i(628)](s,i(561),(()=>this[i(616)]())),this[i(628)](s,i(672),(()=>this[i(616)]()))}[Qt(538)](){const e=Qt,i=this[e(622)],s=i[e(511)][e(555)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(714)]=n?s[e(574)][e(487)][e(555)](r+this[e(483)]):s[e(574)][e(487)][e(759)],s[e(714)][e(768)][e(729)])o=i[e(549)][e(684)][e(630)](s[e(714)][e(775)]);else{const t=i[e(648)][e(520)][e(555)](e(602)+s[e(714)].id);o=(0,Z.getMarkerDomElement)(i[e(549)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(616)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(622)][t(511)][t(555)](ee);this[t(533)]=!!(r&&n&&s)&&(!e||(1===this[t(483)]?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-=499]})(t,e)}function ce(){const t=["execute","Loading...","numberOfChanges","Show next change","266433iDuxnn","backward","5664448ewjeSN","bind","Show previous change","set","currentChangeNumber","Total","_statusText","div","ck-revision-history-ui__changes-navigation","isBackwardNavigationEnabled","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__label","isEnabled","isReady","fire","1278464VRkmFo","1518534WolmLF","bindTemplate","No changes","ck-revision-history-ui__changes-navigation__wrapper","685620pQDBkB","forward","NUMBER_OF_CHANGES","span","EDIT_X_OF_Y_REVISIONS","ck-hidden","isNavigationMode","4elBJVN","X_OF_Y_CHANGES","ck-revision-history-ui","243903tIficq","ck-revision-history-ui__changes-navigation__navigation","setTemplate","isForwardNavigationEnabled","1754977VgrQwm"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(172587===parseInt(e(516))/1+-parseInt(e(513))/2*(-parseInt(e(525))/3)+parseInt(e(501))/4+parseInt(e(506))/5+parseInt(e(502))/6+-parseInt(e(520))/7+-parseInt(e(527))/8)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(503)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(530)](e(512),!1),this[e(530)](e(499),!1),this[e(530)](e(531),0),this[e(530)](e(523),0),this[e(530)](e(519),!1),this[e(530)](e(536),!1),this[e(528)](e(537)).to(this,e(499),this,e(523),((t,e)=>t&&e>0)),this[e(528)](e(533)).to(this,e(499),this,e(531),this,e(523),this,e(512),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(522));if(!n)return X(t,o(504));const a=X(t,o(508),n);return r?X(t,o(514),[s+1,n]):a})),s[e(530)]({label:X(t,e(529)),tooltip:!0,icon:mt.IconChevronUp}),n[e(530)]({label:X(t,e(524)),tooltip:!0,icon:mt.IconChevronDown}),s[e(528)](e(539)).to(this,e(536)),n[e(528)](e(539)).to(this,e(519)),s.on(e(521),(()=>this[e(500)](e(521),e(526)))),n.on(e(521),(()=>this[e(500)](e(521),e(507)))),this[e(518)]({tag:e(534),attributes:{class:["ck",e(515),e(535)]},children:[{tag:e(509),attributes:{class:[e(505)]},children:[{tag:e(509),attributes:{class:[e(538),i.if(e(537),e(511),(t=>!t))]},children:[{text:i.to(e(512),(i=>i?X(t,e(510))+": ":X(t,e(532))+": "))}]},{text:i.to(e(533))}]},new pt.ToolbarSeparatorView,{tag:e(534),attributes:{class:[e(517)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=me();return(fe=function(t,e){return i[t-=267]})(t,e)}function me(){const t=["removeClass","5axTQRM","pluginName","hide","27MjhxNb","2471292iOzHsD","889267RrlxvY","document","RevisionViewerLoadingOverlay","roots","addClass","change","2821914KiExox","isOfficialPlugin","4khxeut","editing","4079596mLwvgZ","ck-editor__editable__loading-overlay","editor","9609140xQfYlP","show","1177432iwhfJw","isPremiumPlugin","3871469dhxRRs","view"];return(me=function(){return t})()}!function(t){const e=fe,i=t();for(;;)try{if(914771===parseInt(e(282))/1+parseInt(e(290))/2*(parseInt(e(281))/3)+-parseInt(e(267))/4*(parseInt(e(277))/5)+parseInt(e(288))/6+-parseInt(e(274))/7+-parseInt(e(272))/8*(-parseInt(e(280))/9)+-parseInt(e(270))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=de(268);class ve extends U.Plugin{static get[de(278)](){return de(284)}static get[de(289)](){return!0}static get[de(273)](){return!0}[de(271)](){const t=de,e=this[t(269)][t(291)][t(275)];e[t(287)]((i=>{const s=t;for(const t of e[s(283)][s(285)])i[s(286)](pe,t)}))}[de(279)](){const t=de,e=this[t(269)][t(291)][t(275)];e[t(287)]((i=>{const s=t;for(const t of e[s(283)][s(285)])i[s(276)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=433]})(t,e)}function ke(){const t=["152184YsmegZ","isEnabled","ck-revision-history-ui__back-to-editing","43965kUqTAC","isForwardNavigationEnabled","2ayamtf","exitToEditing","showPreviousChange","show","Back to editing","showNextChange","hide","isNavigationMode","requires","config","765037aqQTGY","isPremiumPlugin","179484QdsmNw","plugins","get","listenTo","70wWIvrm","246ZvsVMb","numberOfChanges","RevisionViewerUI","isOfficialPlugin","add","forward","closeRevisionViewerCallback","isReady","set","isBackwardNavigationEnabled","113383UlfLyt","260472RBVlXz","revisionHistory","pluginName","bind","Restore this revision","8585IDvcEq","currentChangeNumber","changesNavigation","commands","editor","execute","init","componentFactory","change:isReady","restoreRevision"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(118608===parseInt(e(480))/1*(parseInt(e(453))/2)+parseInt(e(433))/3+parseInt(e(465))/4+-parseInt(e(438))/5*(parseInt(e(470))/6)+-parseInt(e(463))/7+parseInt(e(448))/8+parseInt(e(451))/9*(parseInt(e(469))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(435)](){return ge(472)}static get[ge(473)](){return!0}static get[ge(464)](){return!0}static get[ge(461)](){return[ee,ve]}[ge(444)](){const t=ge,e=this[t(442)],i=e[t(466)][t(467)](ee),s=e[t(466)][t(467)](ve);e.ui[t(445)][t(474)](t(454),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(478)]({label:X(i,s(457)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(450)}),this[s(468)](n,s(443),(()=>{const t=s;e[t(462)][t(467)](t(434))[t(476)]()})),n})),e.ui[t(445)][t(474)](t(447),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(478)]({label:X(i,s(437)),withText:!0,tooltip:!0}),n[s(436)](s(449)).to(e[s(441)][s(467)](s(447))),this[s(468)](n,s(443),(()=>e[s(443)](s(447)))),n})),e.ui[t(445)][t(474)](t(440),(s=>{const n=t,r=new ue(s),o=e[n(441)][n(467)](n(455)),a=e[n(441)][n(467)](n(458));return r[n(436)](n(479)).to(o,n(449)),r[n(436)](n(452)).to(a,n(449)),r[n(436)](n(477),n(439),n(471),n(460)).to(i),this[n(468)](r,n(443),((t,i)=>{const s=n;e[s(443)](s(475)===i?s(458):s(455))})),r})),s[t(456)](),i.on(t(446),((e,i,n)=>{const r=t;n?s[r(459)]():s[r(456)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Oe;function Se(){const t=["4aKIjdt","render","8FvKNEQ","ck-tooltip_multi-line","_resizeObserver","3821dselLc","696985EnNVMZ","fieldView","_tooltipString","clientWidth","element","listenTo","_updateTooltipText","bindTemplate","504774rQGdGn","ck-revision-history-sidebar__revision-name","Revision name","span","input","set","placeholder","1298080BLGCxz","10cQODCa","value","1451499lhZPwq","Enter the revision name","329244SvWcvJ","destroy","extendTemplate","scrollWidth","4084191oEvept"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=162]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(153315===parseInt(e(172))/1*(-parseInt(e(169))/2)+-parseInt(e(181))/3*(-parseInt(e(167))/4)+parseInt(e(173))/5+-parseInt(e(162))/6+parseInt(e(191))/7+parseInt(e(188))/8+-parseInt(e(166))/9*(parseInt(e(189))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(171)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(180)];this[i(186)]({label:X(t,i(183)),_tooltipString:""}),this[i(174)][i(187)]=X(t,i(192)),this[i(164)]({tag:i(184),attributes:{class:[i(182)],"data-cke-tooltip-text":s.to(i(175)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(170)}})}[Ie(168)](){const e=Ie;super[e(168)](),this[e(171)]=new t.ResizeObserver(this[e(174)][e(177)],(()=>this[e(179)]())),this[e(178)](this[e(174)],e(185),(()=>this[e(179)]()))}[Ie(163)](){const t=Ie;super[t(163)](),this[t(171)]&&this[t(171)][t(163)]()}[Ie(179)](){const t=Ie,e=this[t(174)][t(177)];this[t(175)]=e[t(165)]>e[t(176)]&&e[t(190)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=144]})(t,e)}function Ae(){const t=["1998605MiPXAC","ck-revision-history-sidebar__revision-author_creator","2884gHZbxa","324069vzMoDC","setTemplate","2cfPwPt","0 0 11 10","Revision author","Revision creator","11parkJm","ck-revision-history-sidebar__revision-author","6136866LmjkMl","4jihqPU","3369848RznUqd","12964810pXnXfU","1332fLUtBV","push","span","name","ck-revision-history-sidebar__revision-author__name","181957pHDUDj","set"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(394581===parseInt(e(165))/1*(-parseInt(e(150))/2)+-parseInt(e(148))/3*(parseInt(e(157))/4)+parseInt(e(145))/5+parseInt(e(160))/6*(parseInt(e(147))/7)+-parseInt(e(158))/8+-parseInt(e(156))/9+parseInt(e(159))/10*(parseInt(e(154))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Me extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(144)]({content:mt.IconUser,viewBox:s(151)});const r=["ck",s(155)];i&&r[s(161)](s(146));const o=[{tag:s(162),attributes:{class:["ck",s(164)],title:X(t,s(i?153:152))},children:[n,e[s(163)]]}];this[s(149)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){var t=["2266377OcLqtQ","29990VzfNna","873130aldzGS","6244116DuExbJ","5LLPlHw","99GtJxwt","55lGSeCi","6492160dHBqDl","toLocaleTimeString","long","1747382IXQnnO","toLocaleDateString","716820DRuZac","numeric","12pWsdmn","6sJXpMn"];return(Ve=function(){return t})()}function Ee(t,e){var i=Ve();return(Ee=function(t,e){return i[t-=482]})(t,e)}!function(t){for(var e=Ee,i=t();;)try{if(484310===-parseInt(e(496))/1*(-parseInt(e(482))/2)+-parseInt(e(497))/3+-parseInt(e(493))/4*(parseInt(e(485))/5)+-parseInt(e(495))/6*(-parseInt(e(491))/7)+-parseInt(e(488))/8+parseInt(e(486))/9*(-parseInt(e(483))/10)+-parseInt(e(487))/11*(-parseInt(e(484))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);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=["10626660JrLTLt","isActionsDropdownOpen","bindTemplate","panelPosition","children","Name this revision","isReady","menu","set","add","2660024ScvfpA","9009918WtgZaQ","menuitem","Restore this revision","listView","function","14360RiHNae","class","buttonView","ck-on","isEnabled","listenTo","35kMfzpG","7nOsfyJ","source","42866TCUbzH","_action","isOpen","ck-revision-history-sidebar__revision__actions","change:isActionsDropdownOpen","button","extendTemplate","map","Compare against selected","stopPropagation","action","51QsOmKF","isVisible","first","model","bind","1766509aFchCv","locale","items","3834930HAHaRW","find","Show more items","name","execute"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=212]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(929686===-parseInt(e(217))/1+parseInt(e(250))/2*(-parseInt(e(212))/3)+parseInt(e(241))/4*(parseInt(e(247))/5)+parseInt(e(220))/6+parseInt(e(248))/7*(parseInt(e(235))/8)+parseInt(e(236))/9+parseInt(e(225))/10)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=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=134]})(t,e)}function Ue(){const t=["ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision__date","_createdAtFormatted","render","authors","uiLanguage","createdAt","11094906BJIbFM","isEnabled","deselect","ck-revision-history-sidebar__revision","isSelected","isReady","name","bind","bindTemplate","ck-revision-history-sidebar__revision_selected","unshift","ck-revision-history-sidebar__revision-authors","fire","529697ySVDuz","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision_highlighted","from","map","isActionsDropdownOpen","1492XOzuSx","select","isHighlighted","listenTo","extendTemplate","1904414ZZDoHc","_requireRevisionName","6jORUen","length","20JVaqMB","_revision","300015DjRwuR","setName","filter","span","set","revisionActionsView","srcElement","isConfirm","highlight","creator","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","value","setTemplate","change","21305WhcuPd","ck-disabled","closest",".ck-thread__remove-confirm","38616556gLLBlg","120TyCIIp","div","element","ck-revision-history-sidebar__revision__controls-wrapper","ck-reset","fieldView","8206794PUYiGU","unhighlight","220"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(957732===parseInt(e(179))/1+-parseInt(e(173))/2*(parseInt(e(175))/3)+parseInt(e(168))/4*(parseInt(e(194))/5)+-parseInt(e(149))/6+parseInt(e(162))/7*(parseInt(e(199))/8)+-parseInt(e(139))/9*(parseInt(e(177))/10)+parseInt(e(198))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(189)];[ze(184)];[ze(178)];[ze(174)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(157)],a=function(t,e){const i=r,s=Array[i(165)](e[i(146)])[i(181)]((t=>t!=e[i(188)]));return e[i(188)]&&s[i(159)](e[i(188)]),s[i(166)]((s=>new Me(t,s,s==e[i(188)])))}(e,i);this.id=i.id,this[r(178)]=i,this[r(174)]=n,this[r(156)](r(155),r(148)).to(i),this[r(156)](r(144)).to(this,r(148),(t=>{return i=e[r(147)],(s=t)[(n=Ee)(492)](i,{month:n(490),day:n(494)})+", "+s[n(489)](i,{hour:n(494),minute:n(494)});var i,s,n})),this[r(183)](r(153),!1),this[r(183)](r(170),!1),this[r(183)](r(167),!1),this[r(183)](r(154),!1),this[r(183)](r(150),!1),this[r(189)]=new Te(e,pt.createLabeledInputText),this[r(189)][r(138)][r(172)]({attributes:{maxlength:r(141)}}),this[r(189)][r(138)][r(156)](r(191)).to(this,r(155),(t=>t||this[r(144)])),this[r(189)][r(156)](r(150)).to(this,r(153),this,r(150),((t,e)=>t&&e)),this[r(184)]=s&&s[r(176)]?function(e,i){const s=Le,n=e[s(227)],r=e[s(218)],o=(0,pt.createDropdown)(r);o[s(228)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(218)],n={"Compare against selected":X(s,i(258)),"Name this revision":X(s,i(230)),"Restore this revision":X(s,i(238))};return e[i(257)]((t=>{const e=i,s=n[t[e(223)]];return s&&s!==t[e(223)]&&(t[e(223)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(255),model:new pt.ViewModel({label:t[n(223)],class:t[n(242)],withText:!0,role:n(237),_action:t[n(260)]})};i[n(215)][n(216)](n(245)).to(e,n(226),(i=>n(240)!=typeof t[n(245)]||!i||t[n(245)](e))),o[n(234)](i)}return o}(e,i);return e[s(216)](s(226)).to(o,s(252)),o[s(243)][s(233)]({label:X(r,s(222)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(256)]({attributes:{class:[s(253),n.if(s(226),s(244))]},on:{click:n.to((t=>t[s(259)]()))}}),o.on(s(224),(t=>{const i=s;e[i(231)]&&i(240)==typeof t[i(249)][i(251)]&&t[i(249)][i(251)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(232)}),o[s(246)](e,s(254),((t,n,r)=>{const a=s;if(r)for(const t of o[a(239)][a(219)]){const s=t[a(229)][a(214)],n=i[a(221)]((t=>t[a(260)]===s[a(251)]))[a(213)];t[a(213)]=void 0===n||n(e)}})),o}(this,s):"",this[r(184)]&&this[r(184)][r(156)](r(150)).to(this),this[r(192)]({tag:r(134),attributes:{class:["ck",r(137),r(142),o.if(r(186),r(163))]},children:[{tag:r(134),attributes:{class:["ck",r(137),r(152),o.if(r(150),r(195),(t=>!t)),o.if(r(153),r(158)),o.if(r(170),r(164)),o.if(r(167),r(190))]},children:[this[r(189)],{tag:r(182),attributes:{class:["ck",r(143)]},children:[{text:o.to(r(144))}]},{tag:r(134),attributes:{class:["ck",r(136)]},children:[{tag:"ul",attributes:{class:["ck",r(160)]},children:a}]},this[r(184)]],on:{click:o.to((t=>{const e=r;t[e(185)][e(196)](e(197))||this[e(154)]&&this[e(150)]&&this[e(161)](e(169),{id:this.id})}))}}]})}[ze(145)](){const t=ze;super[t(145)]();const e=this[t(189)][t(138)][t(135)];this[t(171)](e,t(193),(()=>{const i=t;this[i(174)]&&!e[i(191)]||this[i(161)](i(180),{id:this.id,name:e[i(191)]}),e[i(191)]||(e[i(191)]=this[i(155)]?this[i(155)]:this[i(144)])}))}[ze(169)](){this[ze(153)]=!0}[ze(151)](){this[ze(153)]=!1}[ze(187)](){this[ze(170)]=!0}[ze(140)](){this[ze(170)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Mi={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[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 Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},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=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Li(this,t,Qs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ms(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 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 Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new 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}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(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 Ms(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Vs(s)}function 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=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Mn(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 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:Gs.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const 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?Vn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,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),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),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,[An,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek: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])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=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 Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Mr=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 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+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],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(Vr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=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:Vr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?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(Vr(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=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[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=Rr(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(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(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,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):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new 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=oo();return(no=function(t,e){return i[t-=321]})(t,e)}function ro(t,e){const i=no,s=io[i(338)](t)[i(322)](e),n=io[i(343)](),r=n[i(334)]({days:1})[i(321)](i(340));let o,a;return s[i(326)](n,i(340))?(o=s[i(321)](i(340))[i(333)](),a=s[i(342)]()):s[i(326)](r,i(340))?(o=r[i(333)](),a=s[i(342)]()):s[i(326)](n,i(341))?(o=s[i(321)](i(341))[i(333)](),a=s[i(346)]||""):s[i(326)](n,i(328))?(o=s[i(321)](i(325))[i(333)](),a=s[i(345)]||""):(o=s[i(321)](i(328))[i(333)](),a=String(s[i(328)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["startOf","setLocale","143QHtaCq","82568kSQPMa","month","hasSame","3005076jJDyjO","year","259pKiCWr","801oKVYoS","299592IiIwSD","10677170bqliQY","toJSDate","minus","6sPWqbd","392220EFSiQC","9HfLADC","fromJSDate","400hhWZWf","day","week","toRelativeCalendar","local","734OFUqbb","monthLong","weekdayLong"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(895934===-parseInt(e(324))/1+parseInt(e(344))/2*(parseInt(e(330))/3)+-parseInt(e(339))/4+parseInt(e(336))/5*(parseInt(e(335))/6)+parseInt(e(329))/7*(-parseInt(e(331))/8)+parseInt(e(337))/9*(-parseInt(e(332))/10)+-parseInt(e(323))/11*(-parseInt(e(327))/12))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=lo;function lo(t,e){const i=fo();return(lo=function(t,e){return i[t-=411]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(928495===-parseInt(e(432))/1*(-parseInt(e(430))/2)+parseInt(e(415))/3*(parseInt(e(444))/4)+parseInt(e(416))/5*(-parseInt(e(440))/6)+parseInt(e(442))/7*(-parseInt(e(412))/8)+parseInt(e(435))/9*(parseInt(e(434))/10)+-parseInt(e(439))/11*(-parseInt(e(427))/12)+parseInt(e(418))/13*(-parseInt(e(421))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class ho extends pt.View{[uo(428)];[uo(446)];[uo(436)];[uo(414)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(443)][n(419)])[n(433)];this[n(428)]=e,this[n(446)]=this[n(431)](),this[n(436)]=i,this[n(414)]=s,this[n(446)][n(438)](n(422)).to(this),this[n(446)][n(438)](n(437)).to(this),this[n(429)]({tag:n(420),attributes:{class:["ck",n(417)]},children:[{tag:n(423),attributes:{class:["ck",n(426)]},children:[{text:r}]},{tag:n(420),attributes:{class:["ck",n(441)]},children:this[n(446)]}]})}[uo(445)](t){const e=uo,i=new Ze(this[e(443)],t,this[e(436)],this[e(414)]);this[e(446)][e(411)](i)}[uo(425)](t){const e=uo,i=this[e(446)][e(424)]((e=>e.id===t.id));this[e(446)][e(413)](i)}}function fo(){const t=["setName","delegate","6187665kzioYN","72894oXLsFm","ck-revision-history-sidebar__time-period__revisions","497UEzEQu","locale","4bvzEZB","addRevision","revisionViews","add","21320erAtuH","remove","_requireRevisionName","462309nPsKYR","680FVJMcX","ck-revision-history-sidebar__time-period","26ZHLJfr","uiLanguage","div","4257932WVTdZL","select","span","find","removeRevision","ck-revision-history-sidebar__time-period__label","36UhToVo","startDate","setTemplate","4gCdoPQ","createCollection","608767BpgxRr","localizedPeriodName","177260VsrkIu","162cAyKLp","_revisionActions"];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=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=yo();return(vo=function(t,e){return i[t-=435]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(351061===parseInt(e(446))/1+parseInt(e(452))/2+-parseInt(e(451))/3*(-parseInt(e(447))/4)+-parseInt(e(448))/5*(-parseInt(e(440))/6)+parseInt(e(441))/7*(-parseInt(e(442))/8)+-parseInt(e(439))/9+-parseInt(e(449))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yo);class go extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(435)]=mt.IconHistory,this[e(436)]({tag:e(445),attributes:{class:["ck",e(450),e(438)]},children:[i,{tag:e(437),attributes:{class:["ck",e(443)]},children:[X(t,e(444))]}]})}}function yo(){const t=["241776jZqjgh","250724TWVcba","17305kHgEqY","2124220qTiulj","ck-reset_all","18tcpkfG","1119302euMcVE","content","setTemplate","span","ck-revision-history-sidebar__header","2518803kMlhTQ","96AnKgMo","2726773ACpbld","8YssadF","ck-revision-history-sidebar__header__label","Revision history","div"];return(yo=function(){return t})()}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(){const t=["delegate","ck-revision-history-sidebar","setName","highlight","316466goZjLL","3081095JgUNzf","3xbWVlS","createdAt","get","locale","7DGjmup","removeRevision","ck-disabled","180KedlLh","_addRevision","uiLanguage","fire","some","startDate","remove","timePeriodViews","revisionSetName","_revisionActions","addRevision","highlightRevisions","562404qnrGNs","2739744MpNjps","revisionViews","_removeRevision","setTemplate","612lzRXbw","div","flat","_requireRevisionName","unhighlight","getTime","484574nJOsel","ck-revision-history-sidebar__timeline","revisionSelected","createCollection","isEnabled","add","_getTimePeriodViewByStartDate","selectRevision","select","set","find","ck-reset","render","2280CHsQkS","bindTemplate","_revisions","436942SMgZMk","map","deselect","ck-rounded-corners"];return(wo=function(){return t})()}const _o=Io;function Io(t,e){const i=wo();return(Io=function(t,e){return i[t-=347]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(344258===-parseInt(e(355))/1+parseInt(e(379))/2*(parseInt(e(381))/3)+parseInt(e(401))/4+-parseInt(e(380))/5+parseInt(e(400))/6*(-parseInt(e(385))/7)+parseInt(e(368))/8*(-parseInt(e(349))/9)+-parseInt(e(388))/10*(-parseInt(e(371))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class So extends pt.View{[_o(395)];[_o(370)];[_o(397)];[_o(352)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(369)];this[n(395)]=this[n(358)](),this[n(395)][n(375)](n(363)).to(this),this[n(395)][n(375)](n(377)).to(this),this[n(370)]=e,this[n(397)]=i,this[n(352)]=s,this.on(n(363),((t,e)=>{const i=n;this[i(391)](i(357),e)})),this.on(n(377),((t,e)=>{const i=n;this[i(391)](i(396),e)})),this[n(364)](n(359),!1),this[n(348)]({tag:n(350),attributes:{class:["ck",n(366),n(374),n(376)]},children:[new go(t),{tag:n(350),attributes:{class:["ck",n(356),r.if(n(359),n(387),(t=>!t))]},children:this[n(395)]}]})}[_o(367)](){const t=_o;super[t(367)]();for(const e of this[t(370)])this[t(389)](e);this[t(370)].on(t(360),((e,i)=>{this[t(389)](i)})),this[t(370)].on(t(394),((e,i)=>{this[t(347)](i)}))}get[_o(402)](){const t=_o;return this[t(395)][t(372)]((e=>e[t(402)][t(372)]((t=>t))))[t(351)]()}[_o(362)](t){const e=_o;for(const i of this[e(402)])t&&t.id===i.id?i[e(363)]():i[e(373)]()}[_o(399)](t){const e=_o;for(const i of this[e(402)])t[e(392)]((({id:t})=>t===i.id))?i[e(378)]():i[e(353)]()}[_o(389)](t){const e=_o,i=ro(t[e(382)],this[e(384)][e(390)])[e(393)];let s=this[e(395)][e(383)](0);s&&s[e(393)][e(354)]()===i[e(354)]()||(s=new ho(this[e(384)],i,this[e(397)],this[e(352)]),this[e(395)][e(360)](s)),s[e(398)](t)}[_o(347)](t){const e=_o,i=ro(t[e(382)],this[e(384)][e(390)])[e(393)];this[e(361)](i)[e(386)](t)}[_o(361)](t){const e=_o;return this[e(395)][e(365)]((i=>i[e(393)][e(354)]()===t[e(354)]()))}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=225]})(t,e)}function xo(){const t=["getIndex","revisionHistory.requireRevisionName","revisionSetName","fieldView","isSelected","remove","1851425tcZmMD","revisionHistory.viewerSidebarContainer","_handleEditorDataReady","isOfficialPlugin","_revisions","revisionViews","2559836oLmFsh","appendChild","_revisionViewer","setName","pluginName","6714072DnjWdy","isReady","1883ZESOaz","name","get","destroy","_handleDiffChange","config","nameRevision","newRevisionId","action","11SpNlWM","RevisionsSidebar","isEnabled","Restore this revision","render","isPremiumPlugin","availableRevisionActions","_sidebarView","map","revisionSelected","27564LrWcqr","7734490vjlREe","isVisible","getRevisionsInDiff","diff","string","_handleRevisionSelected","_createRevisionActions","9zqYoWh","length","selectRevision","assign","getLaterVisibleRevision","bind","listenTo","ready","timePeriodViews","init","requires","plugins","restoreRevision","highlightRevisions","data","locale","45259NdPHLj","Name this revision","repository","56MvpXrJ","_revisionsRepository","Compare against selected","select","editor","change:diff","getEarlierVisibleRevision","_handleRevisionSetName","element","revisionHistory.revisionActions","35387004VXzTKn","getRevision","restoreRevisionCallback","focus","add","compareAgainstSelected","compare","revisionHistory","defaultRevisionActions","3ejJqPm"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(649743===parseInt(e(234))/1*(-parseInt(e(237))/2)+parseInt(e(256))/3*(parseInt(e(269))/4)+-parseInt(e(263))/5+-parseInt(e(295))/6*(parseInt(e(276))/7)+parseInt(e(274))/8*(-parseInt(e(303))/9)+-parseInt(e(296))/10*(-parseInt(e(285))/11)+parseInt(e(247))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(271)];[Oo(238)];[Oo(292)];static[Oo(255)]=[Oo(252),Oo(230),Oo(282)];static[Oo(291)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(239),action:({plugins:e},i)=>{const s=t,n=e[s(278)](ee),r=n[s(236)];let o=n[s(299)][s(283)],a=i.id;r[s(257)](o)>r[s(257)](a)&&([o,a]=[a,o]),n[s(253)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(278)](ee);return!(n[s(236)][s(298)](n[s(299)])[s(304)]>2||i[s(261)])}},restoreRevision:{name:t(288),action:(e,{id:i})=>{const s=t;e[s(281)][s(278)](s(254))[s(249)](i)},isVisible:({plugins:e},i)=>!!e[t(278)](ee)[t(236)][t(307)](i.id)},nameRevision:{name:t(235),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(278)](ee),o=r[n(236)][n(243)](i);r[n(253)](i,o),s[n(250)](),s[n(260)][n(240)]()}}}}();static get[Oo(273)](){return Oo(286)}static get[Oo(266)](){return!0}static get[Oo(290)](){return!0}static get[Oo(228)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(271)]=t[e(229)][e(278)](ee),this[e(238)]=this[e(271)][e(236)],this[e(292)]=null}[Oo(227)](){const t=Oo,e=this[t(238)][t(267)],i=this[t(302)](),s=this[t(241)][t(281)][t(278)](t(264));this[t(292)]=new So(this[t(241)][t(233)],e,i,this[t(241)][t(281)][t(278)](t(258))),this[t(292)].on(t(294),this[t(301)][t(308)](this)),this[t(292)].on(t(259),this[t(244)][t(308)](this)),this[t(292)][t(308)](t(287)).to(this[t(271)]),this[t(292)][t(226)].on(t(251),((e,i)=>{const s=t;i[s(268)].on(s(251),((t,e)=>{const i=s;e[i(308)](i(287),i(275)).to(this[i(271)])}))})),this[t(292)][t(289)](),this[t(309)](this[t(241)][t(232)],t(225),this[t(265)][t(308)](this)),this[t(309)](this[t(271)],t(242),this[t(280)][t(308)](this)),s[t(270)](this[t(292)][t(245)])}[Oo(279)](){const t=Oo;this[t(292)][t(245)][t(262)](),this[t(292)][t(279)]()}[Oo(265)](){const t=Oo,e=this[t(238)][t(248)](0);if(e){const i=this[t(238)][t(243)](e.id);this[t(271)][t(253)](e,i)}}[Oo(301)](t,e){const i=Oo,s=this[i(238)][i(248)](e.id),n=this[i(238)][i(243)](s.id);this[i(271)][i(253)](s,n)}[Oo(244)](t,e){const i=Oo;this[i(238)][i(248)](e.id)[i(272)](e[i(277)])}[Oo(280)](t,e,i){const s=Oo,n=this[s(238)][s(298)](i);n[s(304)]>2?(this[s(292)][s(231)](n),this[s(292)][s(305)](null)):(this[s(292)][s(231)]([]),this[s(292)][s(305)](n[0]))}[Oo(302)](){const t=Oo,e=this[t(241)],i=No[t(291)],s=e[t(281)][t(278)](t(246))||No[t(255)];if(s[t(304)])return s[t(293)]((s=>{const n=t,r=n(300)==typeof s?Object[n(306)]({},i[s]):s;return r[n(284)]=r[n(284)][n(308)](this,e),r[n(297)]&&(r[n(297)]=r[n(297)][n(308)](this,e)),r}))}}const Ro=No,Ao=Mo;function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(704023===parseInt(e(261))/1*(parseInt(e(220))/2)+-parseInt(e(263))/3*(-parseInt(e(249))/4)+-parseInt(e(222))/5*(-parseInt(e(257))/6)+parseInt(e(230))/7+-parseInt(e(255))/8+-parseInt(e(241))/9+parseInt(e(239))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends pt.EditorUI{[Ao(237)];[Ao(253)];[Ao(223)];get[Ao(217)](){return this[Ao(237)]}constructor(e,i){const s=Ao;super(e),this[s(237)]=i,this[s(253)]=(0,pt.normalizeToolbarConfig)(e[s(245)][s(259)](s(248))),this[s(223)]=new t.ElementReplacer}get[Ao(226)](){const t=Ao;return this[t(217)][t(226)]}[Ao(225)](t){const e=Ao,i=this[e(224)],s=this[e(217)],n=i[e(240)][e(217)],r=s[e(218)],o=n[e(252)][e(242)]();r[e(250)]=o[e(238)],s[e(256)]();const a=r[e(226)];this[e(232)](r[e(250)],a),s[e(218)][e(234)](e(227)).to(this[e(254)]),n[e(262)](a),this[e(223)][e(251)](t,this[e(226)]),this[e(247)](),this[e(258)](e(246))}[Ao(228)](){const t=Ao;super[t(228)]();const e=this[t(217)],i=this[t(224)][t(240)][t(217)];this[t(223)][t(260)](),i[t(244)](e[t(218)][t(250)]),e[t(228)]()}[Ao(247)](){const t=Ao,e=this[t(217)];e[t(243)][t(234)](t(235)).to(this[t(254)],t(227)),e[t(243)][t(233)]=e[t(226)],e[t(243)][t(234)](t(236)).to(this,t(219),(({top:t})=>t)),e[t(248)][t(229)](this[t(253)],this[t(231)]),this[t(221)](e[t(248)])}}function Eo(){const t=["26106OKUqfN","fire","get","restore","3hZTVvu","attachDomRoot","184467SYffTP","view","editable","viewportOffset","20354mWMjca","addToolbar","385pOctzQ","_elementReplacer","editor","init","element","isFocused","destroy","fillFromConfig","4991567pOjavo","componentFactory","setEditableElement","limiterElement","bind","isActive","viewportTopOffset","_view","rootName","5539480LZfkTP","editing","10037169QhjmMc","getRoot","stickyPanel","detachDomRoot","config","ready","_initToolbar","toolbar","40TiHEbU","name","replace","document","_toolbarConfig","focusTracker","3425704NBSsiZ","render"];return(Eo=function(){return t})()}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-=118]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(253083===parseInt(e(137))/1+-parseInt(e(131))/2*(parseInt(e(128))/3)+parseInt(e(121))/4+parseInt(e(132))/5*(-parseInt(e(118))/6)+parseInt(e(122))/7+-parseInt(e(135))/8+parseInt(e(120))/9*(-parseInt(e(133))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(129)];[Fo(134)];[Fo(126)];get[Fo(125)](){return this[Fo(129)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(134)]=new pt.StickyPanelView(t),this[s(126)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(119)]}),this[s(129)]=new pt.InlineEditableUIView(t,e)}[Fo(130)](){var t=Fo;super[t(130)](),this[t(134)][t(127)][t(136)](this[t(126)]),this[t(124)][t(136)](this[t(134)]),this[t(123)][t(136)](this[t(125)])}}function Po(){var t=["stickyPanel","716608FTRQat","add","307401GciUoN","42534OwwUTR","shouldToolbarGroupWhenFull","297lSHtrG","1648892UwONGh","1728685TKMvZK","main","top","editable","toolbar","content","81552cyZXpF","_editable","render","8HREfqV","175CcHviq","80930jdlkXq"];return(Po=function(){return t})()}const zo=Uo;function Wo(){const t=["view","1266951wgYYiw","800271jlHVKC","initPlugins","70138EZdvNv","fire","createRoot","data","1NaLWGZ","initialData","926150VqCSJL","16weNNKh","locale","4958954jGscEp","init","destroy","483404EbBcrq","_ui","updateSourceElement","editing","48mJgVti","sourceElement","29615HqPxXZ","config","document","create","3ZlUdwh","get","model","ready"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=287]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(133798===-parseInt(e(302))/1*(parseInt(e(298))/2)+parseInt(e(290))/3*(parseInt(e(310))/4)+-parseInt(e(316))/5*(-parseInt(e(314))/6)+parseInt(e(295))/7+-parseInt(e(305))/8*(-parseInt(e(296))/9)+parseInt(e(304))/10+-parseInt(e(307))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[zo(311)];get ui(){return this[zo(311)]}constructor(t,e){const i=zo;super(e),this[i(315)]=t,this[i(292)][i(288)][i(300)]();const s=new jo(this[i(306)],this[i(313)][i(294)],{shouldToolbarGroupWhenFull:!0});this[i(311)]=new Vo(this,s)}[zo(309)](){const t=zo;return this[t(312)](),this.ui[t(309)](),super[t(309)]()}static async[zo(289)](t,e){const i=zo,s=new this(t,e);return await s[i(297)](),await s.ui[i(308)](t),await s[i(301)][i(308)](s[i(287)][i(291)](i(303))||""),s[i(299)](i(293)),s}}const Ho=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=278]})(t,e)}function $o(){const t=["block","getRevisionDocumentData","element","join","loadRevisionData","hide","fromCharCode","_closeRevisionViewer","_enhanceCloseRevisionViewerCallback","_getRevisionViewerEditorConfig","revisionHistory.restoreRevisionCallback","data","exitToEditing","getMarkersGroup","requires","init","revisionHistory.showRevisionViewerCallback","numeric","toVersion","translations","_cleanUp","enqueueChange","RevisionHistoryUtils","addRoot","map","revisionHistory.closeRevisionViewerCallback","DocumentOutlineUI","isAttached","_viewerEditor","setAttribute","saveRevision","pluginName","commands","creator","name","refreshPositioning","selection","get","createRangeIn","isOpen","enableReadOnlyMode","toJSON","_restoreRevision","push","rootName","plugins","end","repository","$graveyard","remove","keys","isOfficialPlugin","markers","7wXkSHT","detachRoot","define","PaginationLookup","_update","changesNavigation","roots","long","isReady","isEnabled","1006270XbeobN","restrictedEditingException","showRevisionViewerCallback","RevisionHistory","removeMarker","fromVersion","setSelection","toolbar","change","getRevisions","267232CWokFU","getRevision","Annotations","_showRevisionViewer","editor","getUser","Restored","locale","getAttributeKeys","then","parse","display","revisionHistory.editorContainer","disableReadOnlyMode","RestrictedEditingMode","isAnonymous","restoreRevision","_enhanceShowRevisionViewerCallback","addRevisionData","adapter","has","none","revisionHistory.viewerContainer","createdAt","revision-history-missing-configuration","revisionHistory.requireRevisionName","DocumentOutline","toLocaleDateString","addUser","RevisionTracker","set","includes","revisionHistory.viewerEditorElement","getRoot","view","RevisionViewer","_recalculatePageBreaks","getRevisionRootsAttributes","config","lazyRoots","style","result","catch","closeRevisionViewerCallback","insert","isRevisionViewerOpen","RevisionHistoryUI","create","Users","revisionHistory","uiLanguage","model","391288EpVQaY","destroy","document","RevisionsRepository","Dialog","15258eQSjWQ","indexOf","382758yLfmaE","toLocaleTimeString","isReadOnly","error","users","isPremiumPlugin","revision-history-viewer-opened","removeSelectionAttribute","save","refreshVisibility","bind","508284zPjGdI","RevisionViewerIntegration","72348WkvMIb","update","from","removeAttribute","Autosave"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(110686===parseInt(e(285))/1+parseInt(e(287))/2+-parseInt(e(298))/3+-parseInt(e(378))/4+parseInt(e(368))/5+-parseInt(e(300))/6*(parseInt(e(358))/7)+-parseInt(e(280))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Ho(424),Ho(392)];class Yo extends U.Plugin{[Ho(419)];static get[Ho(336)](){return Ho(299)}static get[Ho(356)](){return!0}static get[Ho(292)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(329)]((t=>String[e(311)](t)))[e(308)]("")}super(t),this[e(419)]=e(351),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends U.Plugin{[Ho(333)];static get[Ho(336)](){return Ho(371)}static get[Ho(356)](){return!0}static get[Ho(292)](){return!0}static get[Ho(319)](){return[at,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(382)][i(416)][i(342)](i(427)))throw new t.CKEditorError(i(402),this);this[i(333)]=null,this[i(408)](i(423),!1),this[i(382)][i(416)][i(360)](i(321),(t=>this[i(381)]({...t,translations:this[i(382)][i(385)][i(324)]}))),this[i(382)][i(416)][i(360)](i(330),(t=>this[i(312)](t))),this[i(382)][i(416)][i(360)](i(315),(t=>this[i(347)](t))),this[i(382)][i(416)][i(360)](i(403),!1),this[i(395)](),this[i(313)]()}set[Ho(397)](t){const e=Ho;this[e(382)][e(350)][e(342)](e(407))[e(397)]=t}get[Ho(397)](){const t=Ho;return this[t(382)][t(350)][t(342)](t(407))[t(397)]}[Ho(396)](t){const e=Ho;return this[e(382)][e(350)][e(342)](e(407))[e(396)](t)}[Ho(379)](t){const e=Ho;return this[e(382)][e(350)][e(342)](e(283))[e(379)](t)}[Ho(377)](t){const e=Ho;return this[e(382)][e(350)][e(342)](e(283))[e(377)](t||{toJSON:!1})}[Ho(314)](){const e=Ho,i=this[e(382)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(350)][e(342)](e(407)),r=i[e(350)][e(342)](e(426))[e(291)];return s[e(375)]=[e(317),e(394),e(363)],delete s[e(417)],s[e(350)][e(348)](Yo,ee,be,class extends U.Plugin{static get[e(319)](){return[ee,e(426)]}[e(320)](){const s=e,o=this[s(382)][s(350)][s(342)](s(426));for(const t of r)t[s(393)]||o[s(383)](t.id)||o[s(406)](t);const a=n[s(352)][s(377)]();let c=null;const u=this[s(382)][s(350)][s(342)](s(413));u[s(397)]=n[s(397)],u[s(297)](s(367)).to(n),this[s(382)][s(337)][s(342)](s(394))[s(297)](s(367)).to(i,s(289),(t=>!t));for(const e of a){const i=null===e[s(338)];if(i&&e[s(323)]===e[s(373)])continue;const r=e[s(346)]();u[s(396)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(362)](r,o);else if(!o){const e=a[u(346)]();e.id=(0,t.uid)(),n[u(335)](e,a[u(323)])[u(387)]((t=>{c=t}))}}else e[u(362)](r,o)}))}}},Ro),s}[Ho(395)](){const t=Ho,e=this[t(382)][t(416)][t(342)](t(427))[t(370)];this[t(382)][t(416)][t(408)](t(321),(async()=>{const i=t;this[i(382)][i(345)](i(293));const s=this[i(382)][i(350)][i(342)](i(407));if(this[i(382)][i(350)][i(398)](i(304))){const t=this[i(382)][i(350)][i(342)](i(304));await t[i(295)]()}else await s[i(301)]();if(this[i(382)][i(350)][i(398)](i(361))&&this[i(382)][i(350)][i(342)](i(361))[i(414)](),this[i(382)][i(350)][i(398)](i(284))){const t=this[i(382)][i(350)][i(342)](i(284));t[i(344)]&&t[i(310)]()}const n=this[i(314)]();return e(n)[i(387)]((t=>{const e=i;return this[e(333)]=t,this[e(382)][e(350)][e(398)](e(380))&&this[e(382)][e(350)][e(342)](e(380))[e(296)](),this[e(382)][e(350)][e(398)](e(404))&&(this[e(382)][e(350)][e(342)](e(331))[e(412)][e(307)][e(418)][e(389)]=e(399)),t}))[i(420)]((t=>(console[i(290)](t),this[i(382)][i(391)](i(293)),null)))}))}[Ho(313)](){const t=Ho,e=this[t(382)][t(416)][t(342)](t(427))[t(421)];this[t(382)][t(416)][t(408)](t(330),(()=>(this[t(382)][t(350)][t(398)](t(361))&&this[t(382)][t(350)][t(342)](t(361))[t(414)](),this[t(382)][t(350)][t(398)](t(404))&&(this[t(382)][t(350)][t(342)](t(331))[t(412)][t(307)][t(418)][t(389)]=""),this[t(333)][t(350)][t(342)](t(413))[t(325)](),e(this[t(333)])[t(387)]((()=>{const e=t;if(this[e(382)][e(391)](e(293)),this[e(333)]=null,this[e(382)][e(350)][e(398)](e(380))){const t=this[e(382)][e(350)][e(342)](e(380));t[e(296)](),t[e(340)]()}})))))}[Ho(381)](t){const e=Ho,i=this[e(382)][e(416)][e(342)](e(390)),s=this[e(382)][e(416)][e(342)](e(400)),n=this[e(382)][e(416)][e(342)](e(410));return Zo[e(425)](n,t)[e(387)]((t=>(s[e(418)][e(389)]=e(305),i[e(418)][e(389)]=e(399),this[e(423)]=!0,t)))}[Ho(312)](t){const e=Ho,i=this[e(382)][e(416)][e(342)](e(390));return this[e(382)][e(416)][e(342)](e(400))[e(418)][e(389)]=e(399),i[e(418)][e(389)]="",this[e(423)]=!1,t[e(281)]()}async[Ho(347)](t){const e=Ho,i=this[e(382)],s=this[e(333)][e(350)][e(342)](e(413)),n=i[e(350)][e(342)](e(407)),r=i[e(350)][e(342)](e(327)),o=s[e(352)][e(379)](t);let a,c,u;try{await r[e(309)](o,this[e(397)]),a=r[e(306)](o),c=r[e(415)](o)}catch(t){return void console[e(290)](t)}i[e(279)][e(376)]((t=>{const s=e;for(const e of Array[s(302)](i[s(279)][s(357)][s(318)](s(369))))t[s(372)](e)})),s[e(366)]=!1,i[e(279)][e(326)]((t=>{const s=e;t[s(374)](null),t[s(294)](i[s(279)][s(282)][s(341)][s(386)]());const n=Object[s(355)](a);for(const e of i[s(279)][s(282)][s(364)])s(353)!=e[s(349)]&&e[s(332)]()&&!n[s(409)](e[s(349)])&&t[s(359)](e);for(const e of n){let n=i[s(279)][s(282)][s(411)](e);n&&n[s(332)]()||(n=t[s(328)](e));const r=c[e],o=Object[s(355)](r),u=a[e];for(const e of n[s(386)]())o[s(409)](e)||t[s(303)](e,n);for(const i of o)t[s(334)](i,c[e][i],n);t[s(354)](t[s(343)](n)),t[s(422)](i[s(316)][s(388)](u,n),n,0)}}));const l=X(i[e(385)],e(384));return u=o[e(339)]?-1==o[e(339)][e(286)](l)?l+": "+o[e(339)]:o[e(339)]:l+": "+o[e(401)][e(405)](i[e(385)][e(278)],{month:e(365),day:e(322)})+", "+o[e(401)][e(288)](i[e(385)][e(278)],{hour:e(322),minute:e(322)}),await n[e(335)]({name:u}),s[e(366)]=!0,i[e(416)][e(342)](e(427))[e(421)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=462]})(t,e)}function Ko(){var t=["612101ycnepO","6YhhRHA","1580568vqfcsw","1116366FzPmix","3345565BDmVZJ","15663528hxkLba","524748mNWjpz","24cfemkC","303564tdeHWd"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(627386===-parseInt(e(462))/1+-parseInt(e(466))/2+-parseInt(e(465))/3+-parseInt(e(469))/4+parseInt(e(467))/5*(parseInt(e(464))/6)+-parseInt(e(463))/7*(parseInt(e(470))/8)+parseInt(e(468))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();