@ckeditor/ckeditor5-revision-history 45.2.0 → 45.2.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>U,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Wo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",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==(D=t)||"object"!=typeof D&&"function"!=typeof D)return t;var D;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case 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 D=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function M(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?M(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const P=j;function j(t,e){const i=z();return(j=function(t,e){return i[t-=323]})(t,e)}function z(){const t=["createdAt","diffData","_update","5SznLJL","setAttribute","model","authors","121038vRHNPX","toVersion","4217499UiwyDS","removeAttribute","toJSON","3EvKRYW","fromVersion","creator","set","map","110975Mfaqiz","name","attributes","creatorId","3555741jTBxLy","6731380rsXIsg","authorsIds","fire","8lVLIho","setName","906476sxRWOA","300628VdjUFL"];return(z=function(){return t})()}!function(t){const e=j,i=t();for(;;)try{if(358279===parseInt(e(327))/1+parseInt(e(338))/2+parseInt(e(351))/3*(-parseInt(e(337))/4)+parseInt(e(342))/5*(parseInt(e(346))/6)+parseInt(e(331))/7*(parseInt(e(335))/8)+parseInt(e(348))/9+-parseInt(e(332))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class U extends((0,t.ObservableMixin)()){id;[P(324)];[P(345)];[P(340)];[P(347)];[P(323)];[P(344)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(324)]=e[i(324)]||null,this[i(345)]=e[i(345)]||[],this[i(340)]=e[i(340)]||null,this[i(347)]=e[i(347)]||0,this[i(323)]=e[i(323)]||0,this[i(325)](i(328),e[i(328)]||""),this[i(325)](i(339),e[i(339)]||new Date),this[i(325)](i(329),e[i(329)]||{})}[P(336)](t){this[P(341)]({name:t})}[P(343)](t,e){const i=P,s=A(this[i(329)]);(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(341)]({attributes:s})}[P(349)](t){const e=P,i=A(this[e(329)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&M(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(341)]({attributes:i})}[P(341)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(328),i(339),i(340),i(345),i(329),i(347),i(323),i(330)];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(345)]&&(n[i(333)]=n[i(345)][i(326)]((t=>t.id)),delete n[i(345)]),this[i(334)](i(341),n,e))}[P(350)](){const t=P;return{id:this.id,name:this[t(328)],creatorId:this[t(324)]?this[t(324)].id:null,authorsIds:this[t(345)][t(326)]((t=>t.id)),diffData:this[t(340)],createdAt:this[t(339)],attributes:this[t(329)],fromVersion:this[t(323)],toVersion:this[t(347)]}}}var W=i(782),H=i(211),Z=i(783);function q(){const t=["7SLkRNN","name","543UePBcX","isNaN","map","createdAt","56nJFdFb","newRevisionId","5131643wwuXhn","get","oldRevisionId","745ZkwfoX","diffData","add","getRevisions","Users","editor","toJSON","RevisionsRepository","fromVersion","getLaterVisibleRevision","later","7094TCaLXZ","attributes","25192VysnYD","data","toVersion","getRevisionsInDiff","getRevision","3980460WYMUgq","join","length","getUser","addRevision","creatorId","10pNTFnr","isPremiumPlugin","getIndex","148734CjivVH","afterInit","from","authorsIds","createRevision","isOfficialPlugin","fromCharCode","6640260LJWrAn","getEarlierVisibleRevision","push","reverse","1122405SdBpwS","plugins","href","earlier","getRevisionsIterator","_revisions","pluginName","requires"];return(q=function(){return t})()}const $=B;function B(t,e){const i=q();return(B=function(t,e){return i[t-=421]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(784230===parseInt(e(427))/1+parseInt(e(457))/2*(-parseInt(e(437))/3)+-parseInt(e(459))/4*(-parseInt(e(446))/5)+parseInt(e(464))/6*(-parseInt(e(435))/7)+-parseInt(e(441))/8*(-parseInt(e(473))/9)+-parseInt(e(470))/10*(-parseInt(e(443))/11)+-parseInt(e(423))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends W.Plugin{[$(432)];static get[$(434)](){return[H.Users]}static get[$(433)](){return $(453)}static get[$(421)](){return!0}static get[$(471)](){return!0}get[$(466)](){const t=$;return this[t(432)][t(466)]}constructor(e){const i=$;super(e),this[i(432)]=new t.Collection}[$(474)](){!async function(e){const i=k([77,72,48,53,98,104,50,79,73,80,78,90,84,57,66,51,88,116,119,83,108,101,55,111,56,99,121,118,65,109,107,54,81,115,86,68,122,76,106,110,113,105,120,52,69,87,71,49,103,70,117,82,102,112,85,114,100,89,67,97,75,74]),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(438)](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([77]);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(439)]((t=>String[e(422)](t)))[e(465)]("")}!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:1748995200;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(429)]);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)}[$(477)](t){const e=$,i=this[e(451)][e(428)][e(444)](e(450));return new U({id:t.id,name:t[e(436)],creator:t[e(469)]?i[e(467)](t[e(469)]):null,diffData:t[e(447)]||t[e(460)],authors:t[e(476)][e(439)]((t=>i[e(467)](t))),createdAt:new Date(t[e(440)]),attributes:t[e(458)],fromVersion:t[e(454)],toVersion:t[e(461)]})}[$(468)](t,e=0){const i=$;this[i(432)][i(448)](t,e)}[$(463)](t){const e=$;return this[e(432)][e(444)](t)}[$(449)](t={toJSON:!1}){const e=$,i=Array[e(475)](this[e(432)]);return i[e(426)](),t[e(452)]?i[e(439)]((t=>t[e(452)]())):i}[$(472)](t){const e=$;return this[e(432)][e(472)](t)}[$(424)](t){const e=$,[,i]=this[e(431)](t,{direction:e(430)});return i}[$(455)](t){const e=$,[,i]=this[e(431)](t,{direction:e(456)});return i}[$(462)](t){const e=$,i=[];for(const s of this[e(431)](t[e(442)]))if(i[e(425)](s),s.id===t[e(445)])break;return i}*[$(431)](t,{direction:e=$(430),filter:i=()=>!0}={}){const s=$,n=s(430)===e?1:-1;let r=this[s(432)][s(444)](t),o=this[s(472)](r);for(yield r;r;){if(o+=n,r=this[s(463)](o),!r)return;i(r)&&(yield r)}}}function J(t,e){const i=K();return(J=function(t,e){return i[t-=235]})(t,e)}const G=J;function K(){const t=["forEach","children","isPremiumPlugin","editing","from","attachChange","domDocument","_getTypeCharForViewElement","processor","getFillerOffset","2267243zPxDNl","filter","72hVjbmT","domConverter","2973348epHOoK","revision-end","7arKGql","diffData","isOfficialPlugin","append","_typeCharToViewClass","72UMrOeO","viewChildrenToDom","startsWith","div","htmlProcessor","domChildrenToView","childNodes","5uloezU","8198142YsANQb","get","_removeRevisionMarkers","document","toData","46986mowmci","name","23JdrJLu","useFillerType","marked","3222717sthxCJ","fillerOffset","constructor","RevisionHistoryUtils","length","map","getRevision","collaboration.channelId","editor","getRevisionDocumentData","isAttached","data","createElement","_getViewFromDiffObj","customProperties","413310cSdDmd","_makeModelFromViewString","innerHTML","parse","attributesAfter","revision-start","pluginName","insertions","default","_setCustomProperty","1330400OoXCgb","attributes","loadRevisionData","string","config","_appendChild","data-revision-","_viewClassToTypeChar","toModel","type","getRevisionRootsAttributes","view","render"];return(K=function(){return t})()}!function(t){const e=J,i=t();for(;;)try{if(836572===-parseInt(e(263))/1*(-parseInt(e(261))/2)+parseInt(e(266))/3+-parseInt(e(241))/4+-parseInt(e(255))/5*(-parseInt(e(256))/6)+parseInt(e(243))/7*(parseInt(e(291))/8)+parseInt(e(248))/9*(-parseInt(e(281))/10)+-parseInt(e(237))/11*(parseInt(e(239))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends W.Plugin{static get[G(287)](){return G(269)}static get[G(245)](){return!0}static get[G(306)](){return!0}[G(298)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[G(247)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[G(293)](t,e){const i=G;if(t[i(244)]||!e)return;const s=this[i(274)][i(295)][i(257)](i(273)),n=await e[i(272)]({channelId:s,revisionId:t.id});t[i(244)]=n[i(244)]}[G(275)](t){const e=G,i={};for(const s in t[e(244)]){if(t[e(244)][s][e(309)]&&!t[e(244)][s][e(309)][e(276)])continue;const n=this[e(258)](JSON[e(284)](t[e(244)][s][e(288)])),r=this[e(274)][e(307)][e(302)][e(259)],o=new Z.ViewDocumentFragment(r,n[e(271)]((t=>this[e(279)](t,!1))));this[e(274)][e(277)][e(235)][e(264)](e(265)),i[s]=this[e(274)][e(277)][e(235)][e(260)](o),this[e(274)][e(277)][e(235)][e(264)](e(289))}return i}[G(301)](t){const e=G,i={};for(const s in t[e(244)])t[e(244)][s][e(309)]&&!t[e(244)][s][e(309)][e(276)]||(i[s]=t[e(244)][s][e(285)]||{});return i}[G(311)](t){const e=G;return this[e(298)][e(257)](t[e(268)])}[G(279)](t,e){const i=G,s=this[i(274)][i(307)][i(302)][i(259)];if(i(294)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(300)]||"r"==t[i(300)]?[]:t[i(305)][i(271)]((t=>this[i(279)](t,e)));const o=this[i(247)][i(257)](t[i(300)])||Z.ViewElement,a=this[i(274)][i(277)][i(252)][i(240)];if(n=new o(s,t[i(262)],t[i(292)],r),"u"==t[i(300)]&&t[i(305)][0]){const r=t[i(305)][0];if(n[i(303)]=function(t){const e=i,s=t[e(278)](e(251));return s[e(283)]=r,s[e(254)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(296)](n);const e=Array[i(308)](a[i(249)](t,{bind:!1})),r=a[i(310)][i(278)](i(251));r[i(246)](...e),n=Array[i(308)](a[i(253)](r))[0]}}else if("r"==t[i(300)]&&t[i(305)][0]){const r=t[i(305)][0];if(n[i(303)]=function(t){t[i(283)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(296)](n);const e=Array[i(308)](a[i(249)](t,{bind:!1})),r=a[i(310)][i(278)](i(251));r[i(246)](...e);const o=Array[i(308)](a[i(253)](r));o[i(270)]>1?n[i(296)](o):n=o[0]}}if(t[i(280)])for(const[e,s]of t[i(280)])n[i(290)](e,s);const c=void 0===t[i(267)]?null:t[i(267)];return null!==c&&(n[i(236)]=()=>c),n}}[G(282)](t){const e=G,i=JSON[e(284)](t),s=this[e(274)][e(307)][e(302)][e(259)],n=new Z.ViewDocumentFragment(s,i[e(271)]((t=>this[e(279)](t,!0))));return this[e(274)][e(277)][e(299)](n)}[G(258)](t){const e=G;return(t=t[e(238)]((t=>!t[e(262)]||e(286)!==t[e(262)]&&e(242)!==t[e(262)])))[e(304)]((t=>{const i=e;i(294)!=typeof t&&(t[i(305)]=this[i(258)](t[i(305)]),t[i(292)]=t[i(292)][i(238)]((t=>!t[0][i(250)](i(297)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(D=s)||Number.isNaN(A)&&Number.isNaN(D)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,D;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case 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=ft();return(ot=function(t,e){return i[t-=362]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(862104===-parseInt(e(389))/1+-parseInt(e(476))/2+-parseInt(e(636))/3+-parseInt(e(536))/4*(parseInt(e(577))/5)+parseInt(e(426))/6+-parseInt(e(487))/7*(-parseInt(e(454))/8)+parseInt(e(470))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class at extends W.Plugin{[rt(442)];[rt(491)];[rt(519)]=null;[rt(670)];[rt(591)]=null;[rt(650)];[rt(642)];[rt(537)];[rt(477)];[rt(608)];[rt(409)];[rt(661)];[rt(671)];[rt(514)];static get[rt(484)](){return rt(388)}static get[rt(673)](){return!0}static get[rt(425)](){return!0}static get[rt(552)](){return[H.Users,Y,X,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(670)]=this[i(563)][i(412)][i(544)](i(639)),this[i(608)]=this[i(563)][i(412)][i(544)](i(603)),this[i(650)]=new ct(this[i(563)]),this[i(537)]=this[i(563)][i(623)][i(544)](i(413))||i(638),this[i(477)]=new Map,this[i(514)]=null;const s=(0,t.uid)();this[i(642)]={history:this[i(563)][i(538)][i(492)][i(461)],getLatestVersion:()=>Promise[i(632)](this[i(563)][i(538)][i(492)][i(396)]),getCurrentRevisionId:()=>s},this[i(549)](i(554),!1),this[i(549)](i(517),!0),this[i(549)](i(384),!1),this[i(563)][i(623)][i(467)](i(407),!0),this[i(563)][i(640)][i(451)](i(436))[i(584)]({view:i(628)})}[rt(505)](){const t=rt;this[t(462)](),this[t(563)][t(391)].on(t(371),(()=>{const e=t,i=this[e(670)][e(547)](0),s=i&&null===i[e(637)]?i:null;if(this[e(661)]=!!s&&this[e(563)][e(623)][e(544)](e(407)),this[e(563)][e(412)][e(522)](e(595))){const t=this[e(642)][e(609)](),n=this[e(670)][e(547)](t);if(n)this[e(671)]=n[e(375)],this[e(661)]=!1;else{const t=this[e(642)][e(461)][e(499)][e(669)]((t=>!t[e(649)])),n=t?t[e(629)]:this[e(642)][e(461)][e(396)];i?(i[e(421)]<n&&i[e(481)]({toVersion:n}),this[e(661)]?(this[e(642)][e(609)]=()=>s.id,this[e(671)]=s[e(375)]):(this[e(671)]=i[e(421)],this[e(661)]=!1)):(this[e(671)]=n,this[e(661)]=!1)}}else s&&(this[e(563)][e(538)][e(492)][e(461)][e(396)]=Math[e(399)](s[e(421)],this[e(563)][e(538)][e(492)][e(461)][e(396)]),s[e(375)]===s[e(421)]?(0!==s[e(375)]&&(this[e(642)][e(609)]=()=>s.id),this[e(661)]=!1):this[e(661)]&&(this[e(642)][e(609)]=()=>s.id,this[e(671)]=s[e(375)])),this[e(661)]||(this[e(671)]=this[e(563)][e(538)][e(492)][e(396)]);this[e(650)][e(505)](this[e(642)][e(461)]),this[e(523)](this[e(671)]),this[e(553)](this[e(671)]),this[e(591)]&&this[e(457)]()})),this[t(570)](t(554)).to(this,t(384),(t=>!t)),this[t(442)]=this[t(563)][t(623)][t(544)](t(442));const e=this[t(563)];this[t(491)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(592)==r||i(539)==r||i(365)==r||i(370)==r||i(612)==r||i(394)==r||i(605)==r||i(385)==r){delete e[n],s=r,clearInterval(this[i(491)]),this[i(491)]=void 0;break}}i(539)==s&&e[i(575)](i(472)),i(365)==s&&e[i(575)](i(597)),i(370)==s&&e[i(575)](i(403)),i(612)==s&&e[i(575)](i(512),i(465)),i(394)==s&&e[i(575)](i(560)),i(605)==s&&e[i(575)](i(556)),i(385)==s&&e[i(575)](i(617))}),1e3)}async[rt(486)](){const t=rt;if(this[t(670)][t(683)]>0){const e=this[t(670)][t(547)](0),i=await this[t(534)](e),s=await this[t(493)](e);this[t(566)](i,s)}}[rt(400)](){const t=rt;super[t(400)](),this[t(491)]&&clearInterval(this[t(491)])}[rt(579)](t){this[rt(642)]=t}async[rt(444)](){const t=rt,e=await this[t(642)][t(497)]();if(e>this[t(519)][t(421)]){await this[t(441)]();const i=this[t(572)]({revision:this[t(519)],to:e});i[t(533)]=i[t(501)][t(602)]((e=>this[t(563)][t(412)][t(544)](t(545))[t(568)](e))),this[t(519)][t(481)](i)}}async[rt(434)](e={},i=null){const s=rt,n=[];await this[s(441)](),this[s(661)]=!1,i>this[s(519)][s(421)]&&(i=null),null===i&&(i=await this[s(642)][s(497)]());const r=this[s(482)](i),o=this[s(572)]({from:r,to:i});if(this[s(519)][s(421)]<i){const t=this[s(572)]({revision:this[s(519)],from:i,to:i});t[s(533)]=[],t[s(501)]=[],t.id=this[s(519)].id,this[s(519)][s(481)](t,!0),delete t[s(533)],n[s(675)](t)}e[s(621)]=this[s(563)][s(412)][s(544)](s(545)).me.id,e[s(386)]=e[s(386)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(366)](e);n[s(675)](e);const c=this[s(670)][s(417)](a);if(0!==c){const t=this[s(670)][s(547)](c-1);if(t[s(375)]!==i){const r=this[s(650)][s(495)](i,t[s(421)]),o={id:t.id,diffData:r[s(471)],authorsIds:r[s(501)],authors:r[s(501)][s(602)]((t=>this[s(563)][s(412)][s(544)](s(545))[s(568)](t))),fromVersion:i};t===this[s(519)]&&(o[s(610)]=new Date(e[s(610)][s(676)]()+10)),t[s(481)](o,!0),delete o[s(533)],n[s(675)](o)}}if(this[s(591)]){for(const t of n)this[s(667)](t.id,t,!0);this[s(457)]()}return a}[rt(366)](t){const e=rt,i=this[e(670)][e(674)](t);return this[e(591)]&&i.on(e(481),((t,i,s)=>{const n=e;s||(this[n(667)](i.id,i,!0),this[n(457)]())})),this[e(670)][e(558)](i,this[e(469)](i)),i}async[rt(534)](t){const e=rt;return await this[e(608)][e(511)](t,this[e(591)]),this[e(608)][e(534)](t)}async[rt(493)](t){const e=rt;return await this[e(608)][e(511)](t,this[e(591)]),this[e(608)][e(493)](t)}[rt(457)](){const t=rt;if(0===this[t(477)][t(363)])return;if(this[t(384)])return;let e=Array[t(604)](this[t(477)][t(478)]());this[t(477)][t(387)]();for(let i=0;i<e[t(683)];i++){const s=e[i];let n=!1;for(const e of Object[t(506)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(527)]((t=>null!==t)),!e[t(683)])return;for(let i=0;i<e[t(683)];i++){const s=e[i];void 0!==s[t(375)]&&void 0===s[t(421)]&&(s[t(421)]=this[t(670)][t(547)](s.id)[t(421)]),void 0!==s[t(421)]&&void 0===s[t(375)]&&(s[t(375)]=this[t(670)][t(547)](s.id)[t(375)])}const i=this[t(563)][t(623)][t(544)](t(413));this[t(384)]=!0,this[t(416)](),this[t(591)][t(532)](e,i)[t(618)]((()=>{this[t(384)]=!1}))[t(460)]((e=>{const i=t;if(e)for(const t of e)this[i(668)]({id:t.id,createdAt:t[i(610)]});this[i(362)](),this[i(457)]()}))}[rt(572)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(375)],i=null!==i?i:t[s(421)];const n=this[s(650)][s(495)](e,i),r={diffData:n[s(471)],authorsIds:n[s(501)],fromVersion:e,toVersion:i};if(!t||i!==t[s(421)]){const t=i-1,e=this[s(642)][s(461)][s(508)](t);r[s(610)]=e&&e[s(610)]||new Date}if(this[s(514)]&&e===this[s(514)][s(375)])for(const t of this[s(514)][s(533)])r[s(501)][s(437)](t.id)||r[s(501)][s(675)](t.id);return r}[rt(667)](t,e,i){const s=rt;if(this[s(477)][s(522)](t)){const n=this[s(477)][s(544)](t);e=i?{...n,...e}:{...e,...n}}this[s(477)][s(549)](t,e)}[rt(668)](t){const e=rt,i=this[e(670)][e(547)](t.id);if(t[e(610)]&&(t[e(610)]=new Date(t[e(610)])),t[e(501)]){const i=this[e(563)][e(412)][e(544)](e(545));t[e(533)]=t[e(501)][e(602)]((t=>i[e(568)](t)))}i[e(481)](t,!0)}[rt(523)](t){const e=rt,i=this[e(670)][e(547)](this[e(670)][e(683)]-1);if(i)this[e(537)]=i.id;else{const i=!this[e(563)][e(538)][e(492)][e(380)][e(669)]((t=>this[e(563)][e(538)][e(672)](t))),s=this[e(563)][e(412)][e(544)](e(545)).me.id,n=Q(this[e(563)][e(392)],e(i?468:656));this[e(424)]({from:t,to:t,id:this[e(537)],name:n,creatorId:s})}}[rt(553)](t){const e=rt,i=this[e(642)][e(609)]();this[e(519)]=this[e(670)][e(547)](i),this[e(519)]||(this[e(519)]=this[e(424)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(441)](){const t=rt;this[t(661)]&&!this[t(514)]&&(await this[t(608)][t(511)](this[t(519)],this[t(591)]),this[t(650)][t(633)](this[t(519)]),this[t(514)]={fromVersion:this[t(519)][t(375)],authors:this[t(519)][t(533)][t(373)]()})}[rt(566)](e,i){const s=rt;let n=this[s(563)][s(623)][s(544)](s(526)),r=this[s(563)][s(623)][s(544)](s(631));if(void 0===n){n={};for(const t of this[s(563)][s(538)][s(492)][s(504)]())n[t]=""}if(s(449)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(563)][s(538)][s(492)][s(504)]())r[t]={}}let o=!1;const a=Object[s(506)](n),c=Object[s(506)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(479)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(506)](r[t])[s(683)]>0){o=!0;break}}o||(o=c[s(590)]((t=>!this[s(563)][s(538)][s(492)][s(607)](t)))),o&&(0,t.logWarning)(s(429),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(563)][s(623)][s(549)](s(526),e),this[s(563)][s(623)][s(549)](s(631),i)}[rt(416)](){const t=rt;if(!this[t(409)]){const e=this[t(563)][t(412)][t(544)](t(498));this[t(409)]=e[t(541)](Q(this[t(563)][t(392)],t(516)))}}[rt(362)](){const t=rt;this[t(409)]&&(this[t(563)][t(412)][t(544)](t(498))[t(573)](this[t(409)]),this[t(409)]=null)}[rt(469)](t){const e=rt,i=this[e(670)][e(379)]();i[e(435)]();let s=0;for(;s<i[e(683)];){const n=i[s];if(n===this[e(519)]){s++;continue}if(n.id===this[e(537)])break;const r=t[e(421)]-n[e(421)]||t[e(375)]-n[e(375)];if(r>0)break;if(r<0)s++;else{if(!t[e(637)]&&n[e(637)])break;if(n[e(637)]||!t[e(637)]){if(t[e(610)]>n[e(610)])break;s++}else s++}}return s}[rt(482)](t){const e=rt,i=this[e(670)][e(379)]();i[e(435)](),i[e(583)]();const s=i[e(669)]((i=>i[e(421)]<=t))[e(421)];return s<this[e(671)]?this[e(671)]:s}[rt(424)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(572)]({from:e,to:i});o[r(386)]=t,o[r(621)]=s,o.id=n;const a=this[r(366)](o);return this[r(591)]&&this[r(667)](o.id,o,!0),a}[rt(462)](){const t=rt;this[t(563)][t(640)][t(451)](t(569))[t(420)]({model:t(628)})}}class ct{[rt(563)];[rt(571)];[rt(393)];[rt(485)];[rt(653)];[rt(401)];[rt(582)];[rt(515)];[rt(382)];[rt(525)];[rt(540)];[rt(458)];[rt(616)];[rt(613)];[rt(657)];[rt(415)];[rt(679)];constructor(t){const e=rt;this[e(563)]=t,this[e(393)]=new Map,this[e(485)]=-1,this[e(653)]=-1,this[e(401)]=new Map,this[e(582)]=new Map,this[e(515)]=new Map,this[e(382)]=new Map,this[e(525)]=new Map,this[e(540)]=new Map,this[e(458)]=new Map,this[e(616)]=new Map,this[e(613)]=new Map,this[e(657)]=new Map,this[e(415)]=1}[rt(505)](t){const e=rt;this[e(571)]=t;const i=new Map,s=new Map,n=this[e(563)][e(538)][e(492)][e(380)][e(602)]((t=>t[e(453)]));for(const t of n){const n=this[e(563)][e(538)][e(492)][e(607)](t),r=ut(n);i[e(549)](t,r),s[e(549)](t,Object[e(520)](n[e(601)]()))}const r=Array[e(604)](this[e(563)][e(538)][e(542)])[e(602)]((t=>[t[e(386)],t[e(410)]()])),o=this[e(571)][e(396)];this[e(652)](o,i,r,s),this[e(679)]=this[e(415)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(549)](t,i),c[e(549)](t,{})}this[e(652)](Number[e(466)],a,[],c)}[rt(495)](t,e){const i=rt;if(this[i(485)]===t&&this[i(653)]<=e)this[i(393)][i(363)]>1&&this[i(455)](this[i(653)]),this[i(614)](this[i(653)],e,!0);else{if(!this[i(393)][i(522)](t)){const e=this[i(447)](t);this[i(627)](e,t,!1)}this[i(627)](t,e,!0)}return this[i(485)]=t,this[i(653)]=e,this[i(414)]()}[rt(633)](t){const e=rt,i=this[e(563)][e(412)][e(544)](e(603));this[e(555)](),this[e(485)]=t[e(375)],this[e(653)]=t[e(421)];for(const s in t[e(471)]){const n=t[e(471)][s][e(599)],r=A(t[e(471)][s][e(662)])||{},o=i[e(576)](t[e(471)][s][e(615)]);o[e(453)]=s,o[e(507)]=!n||!n[e(405)],o[e(405)]=()=>o[e(507)],this[e(382)][e(549)](s,o),this[e(525)][e(549)](s,r),n&&this[e(657)][e(549)](s,n);const a=this[e(648)](o);this[e(458)][e(549)](s,a);for(const[t,i]of o[e(542)]){if(!t[e(378)](e(518)))continue;const s=t[e(475)](":")[2];for(const t of i[e(557)]({singleCharacters:!0})){const i=this[e(645)](t),n=e(374)==t[e(626)]?t[e(581)][e(411)][e(373)](0,-1):t[e(581)][e(411)],r=a[e(474)](n)[e(433)](i);this[e(616)][e(549)](r,{userId:s})}}}this[e(679)]=this[e(415)];const s=[...Array(this[e(415)])[e(506)]()][e(373)](1)[e(527)]((t=>!this[e(616)][e(522)](t)));let n=0;const r=new Map;for(const o in t[e(471)]){const a=t[e(471)][o][e(599)],c=A(t[e(471)][o][e(419)])||{},u=i[e(576)](t[e(471)][o][e(619)]);u[e(453)]=o,u[e(507)]=!a||a[e(405)],u[e(405)]=()=>u[e(507)],this[e(582)][e(549)](o,u),this[e(515)][e(549)](o,c);const l=this[e(648)](u,Number[e(466)]);this[e(540)][e(549)](o,l),r[e(549)](o,u[e(405)]()?c:{});for(const[t,i]of u[e(542)]){if(!t[e(378)](e(518)))continue;const s=t[e(475)](":")[2];for(const t of i[e(557)]({singleCharacters:!0})){const i=this[e(645)](t),n=this[e(415)]++,r=e(374)==t[e(626)]?t[e(581)][e(411)][e(373)](0,-1):t[e(581)][e(411)];l[e(474)](r)[e(561)](i,n),this[e(616)][e(549)](n,{userId:s})}}for(const t of this[e(563)][e(538)][e(644)](u)[e(557)]({singleCharacters:!0})){const i=this[e(645)](t),r=e(374)==t[e(626)]?t[e(581)][e(411)][e(373)](0,-1):t[e(581)][e(411)],o=l[e(474)](r);o[e(433)](i)>0||o[e(561)](i,s[n++])}for(const[t,i]of u[e(542)])t[e(378)](e(518))||this[e(401)][e(549)](t,i)}const o=lt(e(589));this[e(382)][e(549)](e(589),o),this[e(458)][e(549)](e(589),this[e(648)](o,1));const a=lt(e(589));this[e(582)][e(549)](e(589),a),this[e(540)][e(549)](e(589),this[e(648)](a,1));const c=Array[e(604)](this[e(582)])[e(602)]((([t,e])=>[t,ut(e)]));this[e(652)](this[e(653)],c,this[e(401)],r)}[rt(408)](){const t=rt;this[t(555)](),this[t(485)]=-1,this[t(653)]=-1,this[t(393)][t(387)](),this[t(505)](this[t(571)])}[rt(652)](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(549)](t,{start:e[n(622)][n(646)](),end:e[n(596)][n(646)](),rootName:e[n(574)][n(453)]});this[n(393)][n(549)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(455)](t){const e=rt;this[e(393)][e(513)](t)}[rt(555)](){const t=rt;this[t(616)][t(387)](),this[t(613)][t(387)](),this[t(657)][t(387)](),this[t(582)][t(387)](),this[t(515)][t(387)](),this[t(382)][t(387)](),this[t(525)][t(387)](),this[t(540)][t(387)](),this[t(458)][t(387)](),this[t(401)][t(387)](),this[t(415)]=1,this[t(679)]=this[t(415)]}[rt(648)](t,e=null){const i=rt;let s=null;t.is(i(659))||(s=new Z.Element(t[i(386)],{vid_start:null===e?this[i(415)]++:e++}));const n=[];for(const s of t[i(377)]())if(s.is(i(666))){n[i(675)](this[i(648)](s,e));const t=n[n[i(683)]-1];null!==e&&(e=t.is(i(666),i(562))?t[i(433)](i(404))+1:t[i(433)](i(372))+1)}else for(let t=0;t<s[i(383)];t++)n[i(675)](new Z.Element(i(562),{vid:null===e?this[i(415)]++:e++}));if(t.is(i(659))){const e=lt(t[i(453)]);return e[i(678)](0,n),e}return s[i(561)](i(372),null===e?this[i(415)]++:e++),s[i(678)](0,n),s}[rt(627)](t,e,i){const s=rt;this[s(555)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(393)][s(544)](t);this[s(382)]=new Map(n),this[s(525)]=new Map(A(o));for(const[t,e]of this[s(382)])if(s(589)!==t&&(this[s(582)][s(549)](t,ut(e)),this[s(515)]=new Map(A(o)),i)){const i=this[s(415)];this[s(540)][s(549)](t,this[s(648)](e)),this[s(458)][s(549)](t,this[s(648)](e,i))}this[s(679)]=this[s(415)],this[s(582)][s(549)](s(589),ut(this[s(382)][s(544)](s(589)))),i&&this[s(540)][s(549)](s(589),this[s(648)](this[s(382)][s(544)](s(589))));for(const[t,e]of r){const i=this[s(382)][s(544)](e[s(453)]),n=this[s(582)][s(544)](e[s(453)]),r=new Z.Range(this[s(593)](e[s(622)],i),this[s(593)](e[s(596)],i)),o=this[s(510)](r,n);i[s(542)][s(549)](t,r),this[s(401)][s(549)](t,o)}this[s(614)](t,e,i)}[rt(614)](t,e,i){const s=rt;for(const n of this[s(571)][s(682)](t,e))this[s(543)](n,i);for(const t of this[s(582)][s(478)]())t[s(542)][s(387)]();for(const[t,e]of this[s(401)])this[s(582)][s(544)](e[s(574)][s(453)])[s(542)][s(549)](t,e[s(646)]());const n=new Map,r=new Map;for(const[t,e]of this[s(582)])n[s(549)](t,ut(e)),r[s(549)](t,this[s(515)][s(544)](t));this[s(652)](e,n,this[s(401)],r)}[rt(447)](t){const e=rt,i=Array[e(604)](this[e(393)][e(506)]());i[e(500)](((t,e)=>t-e)),i[e(435)]();for(const e of i)if(e<t)return e;return Number[e(466)]}[rt(381)](t,e){const i=rt,s=Array[i(604)](e[i(542)])[i(602)]((([e,s])=>[e,this[i(510)](s,t)]));t[i(542)]=new Map(s)}[rt(503)](t){const e=rt;for(const i of this[e(401)][e(478)]()){const s=i[e(535)](t),n=Z.Range[e(528)](s);i[e(622)]=n[e(622)],i[e(596)]=n[e(596)]}}[rt(543)](t,e){const i=rt;if(i(459)!=t[i(626)]&&i(450)!=t[i(626)]){if(i(551)==t[i(626)]){const s=t[i(494)][i(574)][i(453)];this[i(582)][i(522)](s)||(this[i(582)][i(549)](s,lt(s,!0)),this[i(515)][i(549)](s,{}),e&&this[i(540)][i(549)](s,lt(s,!0)))}else{if(i(395)==t[i(626)]||i(620)==t[i(626)]||i(600)==t[i(626)])return void this[i(660)](t);i(398)==t[i(626)]&&this[i(565)](t)}if(i(398)!==t[i(626)]){const e=this[i(586)](t,this[i(582)]);e[i(634)](),this[i(503)](e)}if(e)switch(t[i(626)]){case i(551):this[i(611)](t);break;case i(564):case i(573):case i(496):this[i(647)](t);break;case i(430):this[i(594)](t);break;case i(475):this[i(559)](t)}}else this[i(440)](t,e)}[rt(586)](t,e){const i=rt,s=t[i(646)]();return s[i(630)]=t[i(630)],this[i(509)](s,e),s}[rt(489)](t){const e=rt;return t[e(602)]((t=>{const i=e,s=this[i(645)](t);return Number(t[i(531)][i(433)](s))}))}[rt(397)](t,e){const i=rt;if(t.is(i(666),i(562)))e[i(675)]({item:t,type:i(521)});else{t.is(i(666))&&e[i(675)]({item:t,type:i(473)});for(const s of t[i(377)]())this[i(397)](s,e);t.is(i(666))&&e[i(675)]({item:t,type:i(374)})}return e}[rt(414)](){const t=rt,e=new Map(this[t(616)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(382)][t(506)](),...this[t(582)][t(506)]()]);a[t(513)](t(589));for(const e of a){const i=this[t(582)][t(544)](e)||lt(e,!1),s=this[t(382)][t(544)](e)||lt(e,!1);i[t(405)]()||s[t(405)]()?(n[t(619)][e]=ut(i),n[t(615)][e]=ut(s),this[t(381)](n[t(615)][e],s),this[t(381)](n[t(619)][e],i),r[t(619)][e]=this[t(397)](this[t(540)][t(544)](e),[]),r[t(615)][e]=this[t(397)](this[t(458)][t(544)](e)||lt(e,!1),[])):a[t(513)](e)}for(const n of a){const o=r[t(619)][n];for(const n of o){const r=this[t(645)](n),o=n[t(531)][t(433)](r);i[t(513)](o),o>=this[t(679)]&&s[t(549)](o,e[t(544)](o))}}for(const n of a){const a=r[t(619)][n],c=this[t(489)](r[t(615)][n]);let u=0;for(const n of a){const r=this[t(645)](n),a=n[t(531)][t(433)](r);if(!s[t(522)](a)&&!o[t(522)](a))if(i[t(522)](a))u++;else{if(a!=c[u]){const s=e[t(544)](a)||e[t(544)](c[u]);for(;a!=c[u];)i[t(522)](c[u])||(o[t(549)](c[u],s),e[t(549)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(619)][e];for(const e of n){const n=this[t(645)](e),r=e[t(531)][t(433)](n);if(o[t(522)](r)){const e=o[t(544)](r);i[t(522)](r)||i[t(549)](r,{...e}),s[t(549)](r,{...e})}}}for(const e of i[t(506)]())e>=this[t(679)]&&i[t(513)](e);const c=new Map;for(const e of a){let n=r[t(619)][e];for(const e of n)if(e[t(531)].is(t(666),t(432))){const i=this[t(645)](e),n=e[t(531)][t(433)](i);if(s[t(522)](n)){const i=e[t(531)][t(390)][t(390)][t(433)](t(635)),r=c[t(544)](i)||new Set;r[t(541)](s[t(544)](n)[t(598)]),c[t(549)](i,r)}}n=r[t(615)][e];for(const e of n)if(e[t(531)].is(t(666),t(432))){const s=this[t(645)](e),n=e[t(531)][t(433)](s);if(i[t(522)](n)){const s=e[t(531)][t(390)][t(390)][t(433)](t(635)),r=c[t(544)](s)||new Set;r[t(541)](i[t(544)](n)[t(598)]),c[t(549)](s,r)}}for(const e of c[t(506)]())(s[t(522)](e)||i[t(522)](e))&&c[t(513)](e)}for(const e of a){const n=r[t(619)][e];let o=null,a=null;for(const e of n){const n=this[t(645)](e),r=e[t(531)][t(433)](n),u=c[t(544)](r);u&&t(473)==e[t(626)]&&(o=Array[t(604)](u)[0],a=e[t(531)][t(433)](t(372))),o&&(i[t(549)](r,{userId:o}),s[t(549)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(615)][e],a=n[t(619)][e];for(const{userId:e}of this[t(613)][t(478)]())null!==e&&l[t(541)](e);for(const{userId:e}of this[t(657)][t(478)]())null!==e&&l[t(541)](e);this[t(423)](a,r[t(619)][e],s,t(665),l),this[t(423)](o,r[t(615)][e],i,t(587),l),u[e]={insertions:this[t(588)](a),deletions:this[t(588)](o),attachChange:this[t(657)][t(544)](e)||null,attributesBefore:A(this[t(525)][t(544)](e))||{},attributesAfter:A(this[t(515)][t(544)](e))}}return{diffData:u,authorsIds:Array[t(604)](l)}}[rt(448)](t){const e=rt;for(const[,i]of t[e(542)]){const t=i[e(622)][e(546)]()[e(527)]((t=>e(432)==t[e(386)]));for(const i of t)1==i[e(406)]&&i[e(376)](0).is(e(666),e(438))&&i[e(376)](0)[e(561)](e(439),!0)}}[rt(588)](t){const e=rt;this[e(448)](t);const i=this[e(563)][e(391)][e(580)](t,{}),s=Array[e(604)](i[e(377)]())[e(602)]((t=>this[e(452)](t)));return JSON[e(422)](s)}[rt(452)](t){const e=rt;if(t.is(e(562)))return t[e(391)];{const i=this[e(563)][e(412)][e(544)](e(603)),s=t,n=this[e(563)][e(391)][e(483)][e(655)],r={type:i[e(456)](s),name:s[e(386)],attributes:Array[e(604)](s[e(601)]()),children:Array[e(604)](s[e(377)]())[e(602)]((t=>this[e(452)](t)))};if(t.is(e(480))&&e(524)!=t[e(386)]){const i=t[e(654)](n[e(431)],n);r[e(369)][e(675)](i[e(427)])}else if(t.is(e(625))){const i=n[e(431)][e(567)](s[e(386)]);t[e(654)](i,n),r[e(369)][e(675)](i[e(488)])}const o=Array[e(604)](s[e(578)]());o[e(683)]>0&&(r[e(502)]=o);const a=s[e(681)]();return null!==a&&(r[e(490)]=a),r}}[rt(423)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(563)][r(538)];for(let s=0;s<e[r(683)];s++){const n=this[r(645)](e[s]),c=e[s][r(531)][r(433)](n),h=i[r(544)](c),d=s==e[r(683)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(598)]!=o[r(598)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),dt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(598)],d=l(518)+s+":"+h+":"+c++,f=u[l(364)](i,a);t[l(542)][l(549)](d,f),null!==h&&n[l(541)](h)}}[rt(645)](t){const e=rt;switch(t[e(626)]){case e(473):return e(635);case e(374):return e(372);default:return e(404)}}[rt(509)](t,e){const i=rt;t[i(629)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(544)](n[i(574)][i(453)]);t[s]=this[i(593)](n,r)}if(n instanceof Z.Range){const r=e[i(544)](n[i(574)][i(453)]);t[s]=this[i(510)](n,r)}i(574)===s&&(t[i(574)]=e[i(544)](t[i(574)][i(453)]))}}[rt(510)](t,e){const i=rt;return this[i(563)][i(538)][i(364)](this[i(593)](t[i(622)],e),this[i(593)](t[i(596)],e))}[rt(593)](t,e){const i=rt;return this[i(563)][i(538)][i(428)](e,t[i(411)],t[i(445)])}[rt(611)](t){const e=rt,i=this[e(540)][e(544)](t[e(494)][e(574)][e(453)]),s=this[e(593)](t[e(494)],i),n=null===t[e(630)]?null:t[e(630)]||this[e(563)][e(412)][e(544)](e(545)).me.id,r=s[e(390)],o=this[e(415)],a=[];for(const i of t[e(680)])if(i.is(e(666)))a[e(675)](this[e(648)](i));else for(let t=0;t<i[e(383)];t++)a[e(675)](new Z.Element(e(562),{vid:this[e(415)]++}));const c=this[e(415)];for(let t=o;t<c;t++)this[e(616)][e(549)](t,{userId:n});r[e(678)](s[e(677)],a)}[rt(647)](t){const e=rt;(t=this[e(586)](t,this[e(540)]))[e(634)]();const i=null===t[e(630)]?null:t[e(630)]||this[e(563)][e(412)][e(544)](e(545)).me.id,s=t[e(585)](),n=s[e(390)],r=s[e(677)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(376)](e);r.is(a(666),a(562))?s[a(549)](r[a(433)](a(404)),{userId:i}):(s[a(549)](r[a(433)](a(635)),{userId:i}),t(s,r,0,r[a(406)]),s[a(549)](r[a(433)](a(372)),{userId:i}))}}(this[e(616)],n,r,r+t[e(402)])}[rt(594)](t){const e=rt,i=null===(t=this[e(586)](t,this[e(540)]))[e(630)]?null:t[e(630)]||this[e(563)][e(412)][e(544)](e(545)).me.id,s=t[e(446)][e(390)],n=t[e(463)][e(390)],r=s[e(433)](e(372)),o=n[e(433)](e(635));s[e(561)](e(372),n[e(433)](e(372))),n[e(561)](e(372),r),this[e(616)][e(549)](o,{userId:i}),this[e(616)][e(549)](r,{userId:i}),t[e(634)]()}[rt(559)](t){const e=rt,i=null===(t=this[e(586)](t,this[e(540)]))[e(630)]?null:t[e(630)]||this[e(563)][e(412)][e(544)](e(545)).me.id,s=t[e(663)],n=t[e(643)][e(390)];t[e(634)]();const r=n[e(433)](e(372)),o=t[e(464)][e(624)];if(s){const t=o[e(433)](e(372)),s=n[e(433)](e(372));n[e(561)](e(372),t),o[e(561)](e(372),s),this[e(616)][e(549)](n[e(433)](e(372)),{userId:i}),this[e(616)][e(549)](o[e(433)](e(635)),{userId:i})}else{const t=this[e(415)]++,s=this[e(415)]++;n[e(561)](e(372),t),o[e(561)](e(635),s),o[e(561)](e(372),r),this[e(616)][e(549)](t,{userId:i}),this[e(616)][e(549)](s,{userId:i})}}[rt(565)](t){const e=rt;if(!t[e(606)])return;const i=(t=this[e(586)](t,this[e(582)]))[e(658)]?t[e(658)][e(574)]:null,s=t[e(418)]?t[e(418)][e(574)]:null;i&&this[e(401)][e(513)](t[e(386)]),s&&this[e(401)][e(549)](t[e(386)],t[e(418)][e(646)]());const n=null===t[e(630)]?null:t[e(630)]||this[e(563)][e(412)][e(544)](e(545)).me.id,r=t[e(386)];if(!this[e(613)][e(522)](r))return void this[e(613)][e(549)](r,{range:t[e(658)],userId:n});const o=this[e(613)][e(544)](r),a=o[e(548)],c=t[e(418)];null==a&&null==c||a&&c&&a[e(530)](c)?this[e(613)][e(513)](t[e(386)]):o[e(598)]=n}[rt(440)](t,e){const i=rt;this[i(582)][i(522)](t[i(453)])?this[i(582)][i(544)](t[i(453)])[i(507)]=t[i(550)]:(this[i(582)][i(549)](t[i(453)],lt(t[i(453)],!0)),this[i(515)][i(549)](t[i(453)],{}),e&&this[i(540)][i(549)](t[i(453)],lt(t[i(453)],!0)));const s=null===t[i(630)]?null:t[i(630)]||this[i(563)][i(412)][i(544)](i(545)).me.id,n=this[i(657)][i(544)](t[i(453)]);n&&n[i(598)]===s?this[i(657)][i(513)](t[i(453)]):this[i(657)][i(549)](t[i(453)],{userId:s,isAttached:t[i(550)]})}[rt(660)](t){const e=rt,i=this[e(515)][e(544)](t[e(574)][e(453)]);null===t[e(529)]?delete i[t[e(664)]]:i[t[e(664)]]=t[e(529)]}}function ut(t){const e=rt,i=lt(t[e(453)],t[e(405)]());for(const s of t[e(377)]()){const t=s[e(367)](!0);i[e(651)](t)}return i}function lt(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(453)]=t,s[i(507)]=e,s[i(405)]=()=>s[i(507)],s}function ht(t,e,i){const s=rt,n=s(374)==t[s(626)]?i[s(641)](t[s(531)],s(596)):i[s(443)](t[s(531)]);return i[s(428)](e,n[s(411)],n[s(445)])}function dt(t,e,i){const s=rt,n=s(473)==t[s(626)]?i[s(641)](t[s(531)],0):i[s(368)](t[s(531)]);return i[s(428)](e,n[s(411)],n[s(445)])}function ft(){const t=["initialData","filter","_createFromRanges","newValue","isEqual","item","updateRevisions","authors","getRevisionDocumentData","getTransformedByOperation","14408xfqYXS","_initialRevisionId","model","revisionHistoryLicenseKeyInvalid","_idsRoots","add","markers","_handleOperation","get","Users","getAncestors","getRevision","range","set","isAdd","insert","requires","_createCurrentRevision","isReady","_reset","trialLimit","getWalker","addRevision","_handleSplitOperation","evaluationLimit","_setAttribute","$text","editor","move","_handleMarkerOperation","_replaceEditorDataWithRevisionData","createElement","getUser","dataDowncast","bind","source","buildRevisionData","remove","root","_showLicenseError","_makeModelFromViewString","1570LUiiLR","getCustomProperties","setSource","toView","previousPosition","_diffRoots","shift","dataToMarker","getMovedRangeStart","_cloneOperation","deletion","_prepareViewToSave","$graveyard","some","adapter","revisionHistoryLicenseKeyValid","_fixPosition","_handleMergeOperation","RealTimeCollaborationClient","end","expired","userId","attachChange","changeRootAttribute","getAttributes","map","RevisionHistoryUtils","from","revisionHistoryLicenseKeyTrialLimit","affectsData","getRoot","_utils","getCurrentRevisionId","createdAt","_handleInsertOperation","revisionHistoryLicenseKeyNotAllowed","_touchedMarkers","_applyOperations","deletions","_touched","usageLimit","finally","insertions","removeRootAttribute","creatorId","start","config","nodeAfter","rawElement","type","_calculateMetaData","revision","baseVersion","_authorId","rootsAttributes","resolve","loadState","_execute","vid_start","2928033OIOVWb","creator","initial","RevisionsRepository","conversion","createPositionAt","_source","splitPosition","createRangeIn","_getVidAttributeName","clone","_handleMoveOperation","_makeIdsRoot","_isInit","_revisionDataBuilder","_appendChild","_saveMetaData","_lastTo","render","domConverter","Initial revision","_touchedRoots","oldRange","documentFragment","_handleRootAttributeOperation","_continueCurrentRevision","attributesBefore","graveyardPosition","key","insertion","element","_bufferUpdate","setRevisionData","find","repository","_startingVersion","hasContent","isOfficialPlugin","createRevision","push","getTime","offset","_insertChild","_startingRevisionId","nodes","getFillerOffset","getOperations","length","_removePendingAction","size","createRange","revisionHistoryLicenseKeyExpired","addRevisionData","_clone","createPositionAfter","children","revisionHistoryLicenseKeyDomainLimit","ready","vid_end","slice","elementEnd","fromVersion","getChild","getChildren","startsWith","getRevisions","roots","_copyMarkers","_baseRoots","offsetSize","_isPendingUpdate","revisionHistoryLicenseKeyUsageLimit","name","clear","RevisionTracker","1249844tEWpUg","parent","data","locale","_savedMetaData","revisionHistoryLicenseKeyEvaluationLimit","addRootAttribute","version","_generateTape","marker","max","destroy","_markers","howMany","domainLimit","vid","isAttached","childCount","revisionHistory.resumeUnsavedRevision","reInit","_pendingAction","getRange","path","plugins","collaboration.channelId","_getState","_revisionId","_addPendingAction","getIndex","newRange","attributesAfter","markerToData","toVersion","stringify","_markChanges","_makeRevision","isPremiumPlugin","2121588tglkEx","outerHTML","createPositionFromPath","editor-initial-data-replaced-with-revision-data","merge","domDocument","tableCell","getAttribute","saveRevision","reverse","upcast","includes","paragraph","keepParagraph","_handleRootOperation","_loadState","licenseKey","createPositionBefore","update","stickiness","targetPosition","_getPreviousFrom","_processRootBeforeSave","string","detachRoot","for","_getViewJson","rootName","10792616HOJrVq","_removeMetaData","_getTypeCharForViewElement","sendBufferedUpdates","_baseIdsRoots","addRoot","then","history","_setConversion","sourcePosition","insertionPosition","RevisionHistory","NEGATIVE_INFINITY","define","Empty document","_findInsertionIndex","25611192jDvqYL","diffData","invalid","elementStart","getNodeByPath","split","658752txigSc","_bufferedUpdates","values","trim","uiElement","_update","_getFromVersion","htmlProcessor","pluginName","_lastFrom","afterInit","7UUELtQ","innerHTML","_getBaseVids","fillerOffset","_licenseKeyCheckInterval","document","getRevisionRootsAttributes","position","getData","reinsert","getLatestVersion","PendingActions","_operations","sort","authorsIds","customProperties","_transformMarkers","getRootNames","init","keys","_isAttached","getOperation","_fixOperation","_fixRange","loadRevisionData","featureNotAllowed","delete","_loadedStateData","_diffRootsAttributes","PENDING_ACTION_REVISION_HISTORY","isEnabled","revision:","currentRevision","fromEntries","text","has","_createInitialRevision","$comment","_baseRootsAttributes"];return(ft=function(){return t})()}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),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=Dt;function Dt(t,e){const i=Vt();return(Dt=function(t,e){return i[t-=404]})(t,e)}function Vt(){const t=["ck-responsive-form","optional","extendTemplate","4947741szLnsz","ck-revision-history-save-revision-form","label","arrowright","input","220","arrowdown","2862896GKZixC","3014985HuByKr","181262bKHSfU","set","_createRevisionNameInput","element","revisionName","value","stopPropagation","trim","arrowleft","reset","focusTracker","listenTo","render","add","fieldView","revisionNameInputView","6EjSajL","4uGXKCd","form","339385IFcrgc","setTemplate","11232727WVCxDN","10zPNXvQ","keystrokes","locale","arrowup","errorText","revisionNameInputValue","42MLiKzO","Name of the revision","673194lFmwUD","focus"];return(Vt=function(){return t})()}!function(t){const e=Dt,i=t();for(;;)try{if(378820===-parseInt(e(421))/1+parseInt(e(446))/2*(-parseInt(e(418))/3)+-parseInt(e(419))/4*(parseInt(e(445))/5)+parseInt(e(432))/6*(parseInt(e(430))/7)+parseInt(e(444))/8+parseInt(e(437))/9*(-parseInt(e(424))/10)+parseInt(e(423))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends pt.View{[At(412)];[At(425)];[At(417)];constructor(e,i){const s=At;super(e),this[s(412)]=new t.FocusTracker,this[s(425)]=new t.KeystrokeHandler,this[s(447)](s(429),""),this[s(417)]=this[s(404)](i),this[s(422)]({tag:s(420),attributes:{class:["ck",s(438),s(434)],tabindex:"-1"},children:[this[s(417)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(414)](){const t=At;super[t(414)](),(0,pt.submitHandler)({view:this}),this[t(412)][t(415)](this[t(417)][t(405)]),this[t(425)][t(413)](this[t(405)]);const e=e=>e[t(408)]();this[t(425)][t(447)](t(440),e),this[t(425)][t(447)](t(410),e),this[t(425)][t(447)](t(427),e),this[t(425)][t(447)](t(443),e)}[At(433)](){const t=At;this[t(417)][t(433)]()}get[At(406)](){const t=At;return this[t(417)][t(416)][t(405)][t(407)][t(409)]()}set[At(406)](t){const e=At;this[e(417)][e(416)][e(405)][e(407)]=t[e(409)]()}[At(411)](){const t=At;this[t(417)][t(416)][t(405)][t(407)]="",this[t(417)][t(428)]=null}[At(404)](t){const e=At,i=new pt.LabeledFieldView(this[e(426)],pt.createLabeledInputText),s=i[e(416)];s[e(436)]({attributes:{maxlength:e(442)}});let n=Q(this[e(426)],e(431));return!t&&(n+=" ("+Q(this[e(426)],e(435))+")"),i[e(439)]=n,s.on(e(441),(()=>{const t=e;this[t(429)]=s[t(405)][t(407)][t(409)]()})),i}}function Mt(t,e){const i=Ft();return(Mt=function(t,e){return i[t-=270]})(t,e)}const Ct=Mt;function Ft(){const t=["buttonView","revisionHistory.requireRevisionName","4460733TdLfuD","view","20pKgjex","revisionHistory","menu","children","4pGrujy","showRevisionViewerCallback","execute","isReady","408GsXpNQ","role","5169JXPhpb","Open revision history","menuitem","locale","isOfficialPlugin","hide","add","panelView","isEnabled","_showDialog","set","Accept","plugins","RevisionTracker","isPremiumPlugin","editor","saveRevision","9332818uxyxSE","revisionNameInputView","pluginName","get","revisionName","ck-button-action","The revision name cannot be empty.","reset","_registerMenuComponent","isOpen","errorText","revisionSave","addMany","Save current revision","bind","2686488bjAJRN","651841PbUWxW","_createSaveRevisionFormView","delegate","focus","257831woOrHk","Cancel","editing","RevisionHistoryUI","render","_saveRevisionFormView","config","1166ccTUog","componentFactory","items","requires","submit","isReadOnly","init","Revision history","100170uaonSz","menuBar:revisionHistory","Dialog","show"];return(Ft=function(){return t})()}!function(t){const e=Mt,i=t();for(;;)try{if(955265===parseInt(e(295))/1+parseInt(e(306))/2*(-parseInt(e(332))/3)+-parseInt(e(326))/4*(-parseInt(e(314))/5)+-parseInt(e(294))/6+-parseInt(e(299))/7*(-parseInt(e(330))/8)+parseInt(e(320))/9*(-parseInt(e(322))/10)+parseInt(e(279))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends W.Plugin{static get[Ct(281)](){return Ct(302)}static get[Ct(336)](){return!0}static get[Ct(276)](){return!0}static get[Ct(309)](){return[at]}[Ct(304)];[Ct(312)](){const t=Ct,e=this[t(277)],i=e[t(274)][t(282)](t(275));e.ui[t(307)][t(338)](t(323),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(339)][n(325)],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(293)](n(270)).to(i,n(329),i,n(270),e,n(311),((t,e,i)=>t&&e&&!i)),r[n(318)][n(272)]({icon:mt.IconHistory,label:Q(s,n(313)),tooltip:!0}),u[n(272)]({label:Q(s,n(292)),withText:!0,role:n(334)}),u[n(293)](n(270)).to(i,n(329),i,n(270),e,n(311),((t,e,i)=>t&&e&&!i)),u.on(n(328),(()=>this[n(271)]())),h[n(272)]({label:Q(s,n(333)),withText:!0,role:n(334)}),h[n(293)](n(270)).to(i,n(329),e,n(311),((t,e)=>t&&!e)),h.on(n(328),(()=>{const t=n;e[t(305)][t(282)](t(323))[t(327)](),r[t(288)]=!1,e[t(301)][t(321)][t(298)]()})),c[n(325)][n(338)](u),l[n(325)][n(338)](h),a[n(331)]=n(324),a[n(308)][n(291)]([c,l]),o[n(338)](a),r})),e.ui[t(307)][t(338)](t(315),(()=>this[t(287)]()))}[Ct(287)](){const t=Ct,e=this[t(277)],i=e[t(335)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(318)][t(272)]({icon:mt.IconHistory,label:Q(i,t(313))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(272)]({label:Q(i,t(292))}),o[t(297)](t(328)).to(s),o.on(t(328),(()=>{this[t(271)]()})),r[t(325)][t(338)](o),n[t(308)][t(338)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(272)]({label:Q(i,t(333))}),c[t(297)](t(328)).to(s),c.on(t(328),(()=>{const i=t;e[i(305)][i(282)](i(323))[i(327)]()})),a[t(325)][t(338)](c),n[t(308)][t(338)](a),s[t(339)][t(325)][t(338)](n),s}[Ct(271)](){const t=Ct,e=this[t(277)],i=e[t(335)],s=e[t(274)][t(282)](t(316)),n=e[t(274)][t(282)](t(275));function r(n){const r=t;e[r(305)][r(282)](r(319))&&""===n[r(283)]?n[r(280)][r(289)]=Q(i,r(285)):(e[r(274)][r(282)](at)[r(278)]({name:n[r(283)]}),s[r(337)]())}this[t(304)]||(this[t(296)](),this[t(304)].on(t(310),(()=>r(this[t(304)])))),this[t(304)][t(286)](),s[t(317)]({id:t(290),title:Q(i,t(292)),isModal:!0,content:this[t(304)],actionButtons:[{label:Q(e[t(335)],t(300)),withText:!0,onExecute:()=>s[t(337)]()},{label:Q(e[t(335)],t(273)),class:t(284),withText:!0,onCreate(i){const s=t;i[s(293)](s(270)).to(n,s(329),n,s(270),e,s(311),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(304)])}]})}[Ct(296)](){const t=Ct,e=this[t(277)],i=e[t(335)];this[t(304)]=new Et(i,e[t(305)][t(282)](t(319))),this[t(304)][t(303)]()}}const Pt=jt;function jt(t,e){const i=zt();return(jt=function(t,e){return i[t-=142]})(t,e)}function zt(){const t=["isSuggestion","div","ck-revision-change","changeId","628490BOekYS","name","bindTemplate","data","1059653KrEoew","element","4003620MjUSCC","set","Added by","add","span","setTemplate","ck-annotation","3lfWlnk","1103184ozJrEj","187822NeCxAc","20hFkleK","40SgVQcY","394165gVXoGL","ck-revision-change__label","author","focus","_model","Suggested by","Removed by","ck-revision-change__","6469038uNJfYI","type"];return(zt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(405699===-parseInt(e(158))/1+-parseInt(e(173))/2*(-parseInt(e(171))/3)+-parseInt(e(142))/4*(-parseInt(e(144))/5)+parseInt(e(172))/6+parseInt(e(162))/7*(-parseInt(e(143))/8)+parseInt(e(152))/9+parseInt(e(164))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends pt.View{[Pt(157)];[Pt(148)];constructor(t,e){const i=Pt;super(t),this[i(148)]=e,this[i(157)]=e.id;const s=this[i(160)],n=Q(t,e[i(161)][i(154)]?i(149):i(167)==e[i(153)]?i(166):i(150));this[i(165)](i(153),e[i(153)]),this[i(169)]({tag:i(155),attributes:{class:[i(170),i(156),s.to(i(153),(t=>i(151)+t))],tabindex:-1},children:[{tag:i(168),children:[{tag:i(168),attributes:{class:[i(145)]},children:[{text:n}]},{text:" "+e[i(146)][i(159)]}]}]})}[Pt(147)](){const t=Pt;this[t(163)][t(147)]()}}var Wt=Zt;function Ht(){var t=["531110ioXhrC","set","toJSON","3108ZzmRdI","293385EXnmfB","author","createdAt","1858968LgxTwg","40WYKDXn","30402960VsqkSV","64IxHHEK","663084ESFAuy","13596EXGpNQ","rootName","data","type","962784vNsVWI"];return(Ht=function(){return t})()}function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=247]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(513852===-parseInt(e(253))/1+-parseInt(e(249))/2+-parseInt(e(263))/3*(parseInt(e(250))/4)+-parseInt(e(259))/5+parseInt(e(254))/6*(parseInt(e(262))/7)+-parseInt(e(252))/8*(parseInt(e(258))/9)+parseInt(e(251))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Wt(247)];[Wt(257)];[Wt(256)];[Wt(255)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(247)]=e[i(247)],this[i(257)]=e[i(257)],this[i(256)]=e[i(256)]||{},this[i(255)]=e[i(255)],this[i(260)](i(248),e[i(248)])}[Wt(261)](){var t=Wt;return{id:this.id,authorId:this[t(247)].id,type:this[t(257)],data:this[t(256)],createdAt:this[t(248)]}}}const $t=Yt;function Bt(){const t=["changes","96LVJciq","936585iPxxVU","40qgEiOb","2975475cwCRyk","oldRevisionId","_setChanges","add","4955511RwGwut","4743164QgqcYR","49194BrBxHe","27gkGzKy","379794gDtFFR","355108WGZCNh","newRevisionId","140mrnMIv"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=182]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(698541===parseInt(e(196))/1+-parseInt(e(193))/2*(-parseInt(e(194))/3)+-parseInt(e(192))/4+parseInt(e(187))/5+-parseInt(e(195))/6*(-parseInt(e(182))/7)+parseInt(e(184))/8*(parseInt(e(185))/9)+parseInt(e(186))/10*(-parseInt(e(191))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt{[$t(197)];[$t(188)];[$t(183)];constructor(e,i){const s=$t;this[s(197)]=e,this[s(188)]=i,this[s(183)]=new t.Collection}[$t(189)](t){const e=$t;for(const i of t)this[e(183)][e(190)](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 Xt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=242]})(t,e)}function te(){const t=["item","addRoot","refresh","bindElementToMarker","isPremiumPlugin","keys","data","hasClass","detachRoot","loadRevisionData","350xqSMQV","getClientRects","error","config","2563sUPUio","return","_changeIdToChange","isRemoved","isAddSuggestion","createRevision","removeAttribute","_utils","data-change-id","writer","then","ck-revision-history-root-","highest","markerToHighlight","target","_cleanUp","high","oldRevisionId","_removeMissingPairs","concat","execute","revision-viewer","_joinTapes","done","_appendChild","removeMarker","conversion","changes","shift","change:activeView","splice","restoreRevision","userId","_threeWayMerge","_findChangeIdFromDomTarget","addClass","abs","10717160OdfdCs","revisionHistory","slice","indexOf","string","domEvent","showNextChange","ck-suggestion-preview-marker-","plugins","8XZvDVn","forceDisabled","consume","markersEnd","viewItem","revision","55697Xoyota","RevisionsRepository","isLimit","startsWith","addRevision","commands","locale","ck-revision-history-root-add","_setChanges","_setDistance","_getRevisionsRange","createUIElement","startIndex","observeMarkers","level","_getDiff","_revisions","attribute:vid","getAttribute","isContent","change:isEnabled","-new","pairId","all","isEqual","offsetSize","48tfXrkE","removeClass","backward","comment","37416AaRlsu","30Tvutlk","ck-revision-history-root--active","vid","editing","change:numberOfChanges","insert","change:activeChange","ck-suggestion-marker-merge","_processTape","roots","addMarker:revision-suggestion:deletion","remove","enableReadOnlyMode","toViewElement","name","change:isReady","currentChangeNumber","isCollapsed","markerNameToElements","nextPosition","removeMarker:revision-suggestion","get","getRevision","isAttached","1106042cjRDMn","domConverter","markers","values","getDomRoot","nodeAfter","getCustomProperty","_cleanMarkers","attributesBefore","authors","init","next","addMarker:revision","RevisionHistoryUtils","markerToData","_balloon","addMarker:revision-suggestion:insertion","type","merge","mouseover","_markSuggestions","addHighlight","elementToAttribute","ck-revision-history-root-remove","getAttributes","object","pluginName","code","adapter","diffData","getItems","selection","getChild","createPositionBefore","revision-suggestion","_makeTape","element","test","side","left","POSITIVE_INFINITY","elementEnd","markerRange","find","bottom","has","_activeViewTarget","bind","restoreRevisionCallback","document","_changeView","listenTo","_markInsertions","dataToMarker","attachChange","maxOffset","rootName","reconvertMarker","filter","suggestion:","isOnRoot","downcastDispatcher","catch","view","unbindElementFromMarkerName","uiElement","revisionHistoryAttachChange","stop","forEach","createRange","softBreak","checkAttribute","ck-suggestion-marker","low","getRevisionRootsAttributes","_getChangeFromId","changeId","206716dKXUVR","previousPosition","distance","compare","enqueueChange","_step","createRangeIn","requires","length","span","createAttributeElement","addRevisionData","top","isAfter","_sortAndFilterDiffChanges","repository","nextSibling","updatePosition","WidgetToolbarRepository","end","mousedown","isRemoveSuggestion","ck-suggestion-marker-split","ck-suggestion-marker--active","deletion","attributesAfter","revision-suggestion:","consumable","findIndex","destroy","isObject","isIncorrect","insertion","right","elementStart","endIndex","_getViewForChange","isAtStart","affectsData","forward","getIndex","activeView","vid_end","activeChange","isBefore","numberOfChanges","editingDowncast","change","suggestion","editor","for","isReady","isAdded","delete","unshift","isNavigationMode","text","isBlock","ck-suggestion-preview-marker","newRevisionId","first","29826LudptO","_removeUnsupportedChanges","revisionHistoryLabel","getRootNames","getRevisionDocumentData","isInline","_update","markersStart","range","split","parent","getRoot","diff","revision-comment:","isSuggestion","_makeModelFromTape","createPositionFromPath","pop","isAtEnd","toViewPosition","insertions","sort","element:pre","_refreshStartEndIndex","_setConversion","model","ck-suggestion-marker-","attributes","toViewRange","mapViewToDom","mapper","isOfficialPlugin","add","getLaterVisibleRevision","set","setAttribute","isEnabled","RevisionViewer","start","schema","_initInteractions","from","ck-editor__editable__overlay","flat","11392119VQZwfJ","includes","_data","upcast","revision:","showStack","index","modelRange","markerName","_fixObsoleteTags","getWalker","hasAttribute","resolve","removeMarker:revision","deletions","vid_start","_makeModelFromViewString","map","wrap","showPreviousChange","_markMarkers","clear","dataDowncast","_markMismatchedRemovedTags","push"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(671931===parseInt(e(278))/1*(parseInt(e(272))/2)+parseInt(e(309))/3*(parseInt(e(410))/4)+parseInt(e(550))/5*(parseInt(e(471))/6)+parseInt(e(333))/7*(-parseInt(e(304))/8)+-parseInt(e(515))/9+parseInt(e(263))/10+parseInt(e(554))/11*(parseInt(e(308))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends W.Plugin{[Xt(425)];[Xt(361)]=null;[Xt(561)];[Xt(379)];[Xt(383)];[Xt(556)];[Xt(348)];static get[Xt(359)](){return Xt(508)}static get[Xt(502)](){return!0}static get[Xt(544)](){return!0}static get[Xt(417)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(425)]=this[e(459)][e(271)][e(330)](e(279)),this[e(561)]=this[e(459)][e(271)][e(330)](e(346)),this[e(505)](e(453),null),this[e(505)](e(451),null),this[e(379)]=null,this[e(505)](e(483),null),this[e(505)](e(461),!1),this[e(505)](e(507),!0),this.on(e(298),((t,i,s)=>{const n=e;this[n(453)]=null,this[n(451)]=null,this[n(459)][n(312)][n(396)][n(457)]((t=>{const e=n;for(const i of this[e(459)][e(312)][e(396)][e(382)][e(318)])s?t[e(305)](e(513),i):t[e(261)](e(513),i)}))})),this[e(380)](e(465)).to(this,e(453),(t=>null!==t)),this[e(380)](e(325)).to(this,e(461),this,e(483),this,e(453),((t,i,s)=>t&&s?i[e(253)][e(450)](s):0)),this[e(380)](e(455)).to(this,e(461),this,e(483),((t,i)=>t?i[e(253)][e(418)]:0)),this[e(383)]=null,this[e(556)]=new Map,this[e(348)]=this[e(459)][e(271)][e(330)](pt.ContextualBalloon)}[Xt(343)](){const t=Xt,e=this[t(459)],i=new ne(e,{direction:t(306)}),s=new ne(e,{direction:t(449)});e[t(283)][t(503)](t(534),i),e[t(283)][t(503)](t(269),s),e[t(283)][t(503)](t(257),new se(e)),this.on(t(313),(()=>{const e=t;i[e(542)](),s[e(542)]()})),this[t(495)](),this[t(511)](),e[t(321)](t(247)),e[t(271)][t(378)](t(428))&&e[t(271)][t(330)](t(428))[t(273)](t(247))}async[Xt(475)](t){const e=Xt;return await this[e(561)][e(549)](t,this[e(361)]),this[e(561)][e(475)](t)}async[Xt(407)](t){const e=Xt;return await this[e(561)][e(549)](t,this[e(361)]),this[e(561)][e(407)](t)}async[Xt(413)](t,e,i=!1){const s=Xt;if(!this[s(507)])return;const n=this[s(483)],r=this[s(425)],o=s(267)==typeof t?r[s(331)](t):t,a=s(267)==typeof e?r[s(331)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(483)]&&this[s(483)][s(469)]===c&&this[s(483)][s(243)]===u)return Promise[s(527)]();this[s(461)]=!1,this[s(451)]=null,this[s(453)]=null,this[s(483)]=new Jt(c,u);const l=this[s(288)](o,a,!0)[s(532)]((t=>this[s(561)][s(549)](t,this[s(361)])));return l[s(539)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(301)](l)[s(564)]((()=>{const t=s;if(!this[t(507)])return;this[t(569)]();const e=this[t(293)](c,u);for(const i of e[t(253)])this[t(556)][t(505)](i.id,i);this[t(459)][t(496)][t(414)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(459)][s(496)][s(382)][s(474)]())i[s(548)](t);for(const t of Object[s(545)](e[s(496)])){const n=i[s(541)](t);for(const r of Object[s(545)](e[s(498)][t]))i[s(506)](r,e[s(498)][t][r],n);i[s(314)](e[s(496)][t],n,0)}})),this[t(483)][t(286)](this[t(424)](e[t(253)])),this[t(461)]=!0}))[s(395)]((t=>{const e=s;console[e(552)](t),this[e(569)](),n&&(this[e(483)]=n),this[e(461)]=!0}))}[Xt(421)](t,e){const i=Xt,s=this[i(425)][i(559)](t);return s.on(i(477),((t,i,n)=>e(i,n,s))),this[i(425)][i(282)](s),s}[Xt(569)](){const t=Xt;this[t(453)]=null,this[t(340)](),this[t(383)]&&this[t(383)][t(439)](),this[t(383)]=null,this[t(556)][t(536)](),this[t(459)][t(496)][t(414)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(459)][i(496)][i(382)][i(474)]())e[i(548)](t)}))}[Xt(424)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(459)][e(496)][e(382)][e(474)]()){const n=this[e(459)][e(312)][e(396)][e(337)](t);if(!n)continue;const r=n[e(551)]()[e(540)](0);r&&(i[e(539)](t),s[e(505)](t,r))}return i[e(492)](((t,i)=>{const n=e,r=s[n(330)](t),o=s[n(330)](i);return r.y-o.y||r.x-o.x})),(t=t[e(391)]((t=>i[e(516)](t[e(389)]))))[e(492)](((t,s)=>i[e(266)](t[e(389)])-i[e(266)](s[e(389)]))),t}[Xt(368)](t){const e=Xt,i=Array[e(512)](t[e(335)])[e(391)]((([t,i])=>t[e(281)](e(519))&&!i[e(326)])),s=Array[e(512)](this[e(459)][e(496)][e(416)](t)[e(525)]({singleCharacters:!0}));if(0!=i[e(418)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(480)](":");if(n[e(429)][e(302)](t[e(328)])&&i[e(254)](),(t[e(411)][e(302)](n[e(509)])||t[e(411)][e(423)](n[e(509)]))&&(e(442)==r?t[e(462)]={userId:o}:e(434)==r&&(t[e(557)]={userId:o})),0==i[e(418)])break}return s}[Xt(494)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(418)];s++)e(466)===t[s][e(350)]?(t[s][e(540)][e(290)]=s,t[s][e(540)][e(445)]=s):(e(444)===t[s][e(350)]?t[s][e(540)][e(290)]=s:e(374)===t[s][e(350)]&&(t[s][e(540)][e(445)]=s),i[e(505)](t[s].id,s));for(const s of i[e(336)]())e(444)===t[s][e(350)]?t[s][e(540)][e(445)]=i[e(330)](t[s][e(300)]):e(374)===t[s][e(350)]&&(t[s][e(540)][e(290)]=i[e(330)](t[s][e(300)]))}[Xt(317)](t){const e=Xt;for(let i=0;i<t[e(418)];i++){if(e(444)===t[i][e(350)])t[i][e(540)][e(290)]=i;else if(e(374)===t[i][e(350)]){t[i][e(540)][e(445)]=i;const s=t[i][e(540)][e(290)];t[s][e(300)]=t[i].id,t[i][e(300)]=t[s].id}else t[i][e(540)][e(290)]=i,t[i][e(540)][e(445)]=i,t[i][e(300)]=null;t[i][e(478)]||(t[i][e(478)]=[],t[i][e(275)]=[])}}[Xt(385)](t,e){const i=Xt,s=t[i(391)]((t=>!t[i(462)]));for(let t=0;t<e[i(418)];t++)e[t][i(462)]&&(s[t][i(462)]=e[t][i(462)])}[Xt(293)](t,e=null){const i=Xt,s=this[i(425)][i(331)](t),n=e?this[i(425)][i(331)](e):null,r=this[i(288)](s,n),o=r[r[i(418)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(418)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(545)](e[i(362)]))if(e[i(362)][t][i(387)]){const s=e[i(362)][t][i(387)];s[i(332)]?(u[i(503)](t),l[i(378)](t)&&l[i(330)](t)[i(258)]==s[i(258)]?l[i(463)](t):l[i(505)](t,s)):l[i(378)](t)?(u[i(463)](t),l[i(463)](t)):(u[i(503)](t),l[i(505)](t,s))}else u[i(503)](t)}for(const t of u){const e=l[i(378)](t)&&!l[i(330)](t)[i(332)];let s=e?r[i(418)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(362)][t]){const s=e?o[i(362)][t][i(341)]:o[i(362)][t][i(435)];c[i(498)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(496)]={};for(const e of t[i(342)])a[i(505)](e.id,e);for(const e of u){const s=t[i(362)][e]?t[i(362)][e][i(491)]:"[]",n=t[i(362)][e]?t[i(362)][e][i(529)]:"[]";t[i(496)][e]={insertions:this[i(561)][i(531)](s),deletions:this[i(561)][i(531)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(512)](s[i(496)][t][i(491)][i(335)])[i(391)]((([t])=>!t[i(281)](i(519)))));let h=0;for(const o of r){const r=this[i(368)](o[i(496)][t][i(491)]);o==s?(e=r,n=e[i(418)],e[i(401)]((t=>{t.id=h++})),this[i(317)](e)):this[i(385)](e,r);const a=e[i(391)]((t=>!t[i(462)]))[i(532)]((t=>t.id));let c=0;const l=this[i(368)](o[i(496)][t][i(529)]);l[i(401)]((t=>{t[i(557)]?t.id=n++:t.id=a[c++]})),this[i(317)](l),this[i(287)](e,i(462)),this[i(287)](l,i(557)),o==s&&this[i(535)](e,u),e=this[i(248)](e,l),this[i(494)](e),this[i(287)](e,i(557))}e=e[i(391)]((t=>!(t[i(462)]&&t[i(557)])));const d=new Map(o[i(496)][t][i(529)][i(335)]),f=new Set(u[i(545)]());for(const t of d[i(545)]())f[i(463)](t);this[i(353)](e,f),this[i(524)](e),e=this[i(244)](e),e=this[i(538)](e),e=this[i(472)](e);const{root:m,changes:p}=this[i(486)](e,a,t);c[i(496)][t]=m;const v=l[i(330)](t);if(v){const e=a[i(330)](v[i(258)]),s=new qt({author:e,type:v[i(332)]?i(503):i(320),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(464)](s),c[i(498)][t][i(399)]=s.id}c[i(253)]=c[i(253)][i(245)](p)}return c}[Xt(535)](t,e){const i=Xt;for(let s=0;s<t[i(418)];s++)for(const[n,r]of e)!r[i(326)]&&r[i(509)][i(302)](t[s][i(411)])&&t[s][i(478)][i(539)](n),r[i(429)][i(302)](t[s][i(328)])&&t[s][i(275)][i(539)](n)}[Xt(248)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(418)]||r<e[i(418)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(539)](o);else if(a[i(557)]&&o[i(462)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(259)](t,n,e,r);s=s[i(245)](o),n=a,r=c}else a[i(557)]?(r++,s[i(539)](a)):(n++,s[i(539)](o))}return s}[Xt(353)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(418)];o++){for(let r=0;r<t[o][i(478)][i(418)];r++){const a=t[o][i(478)][r];if(!e[i(378)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(367)!=c||i(442)!=u&&i(434)!=u||(s[i(464)]({type:u,name:a,userId:l}),t[o][i(478)][i(256)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(275)][i(418)];r++){const a=t[o][i(275)][r];if(!e[i(378)](a))continue;const{group:c,type:u}=n(a);if(i(367)!=c||i(442)!=u&&i(434)!=u)continue;t[o][i(275)][i(256)](r,1),r--;const l=s[i(438)]((t=>t[i(323)]==a));l>-1&&s[i(256)](l,1)}}function n(t){const e=i,s=t[e(480)](":");return{group:s[0],type:s[1],subType:s[e(418)]>=5?s[2]:null,id:s[e(418)]<5?s[2]:s[3],authorId:s[e(418)]<5?s[3]:s[4],markerCount:6==s[e(418)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(418)];i++){if(t[e(462)]&&e(442)==s[i][e(350)]&&t[e(462)][e(258)]==s[i][e(258)])return t[e(558)]=s[i],void delete t[e(462)];if(!t[e(462)]&&!t[e(557)]&&e(434)==s[i][e(350)])return void(t[e(431)]=s[i])}}}[Xt(287)](t,e){const i=Xt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(505)](o.id,s);for(let s=0;s<t[i(418)];s++){if(i(557)==e&&t[s][i(462)]||i(462)==e&&t[s][i(557)])continue;if(i(466)==t[s][i(350)]){t[s][i(412)]=0;continue}const n=r[i(330)](t[s][i(300)]),o=r[i(330)](t[s].id);t[s][i(412)]=n-o}}[Xt(288)](t,e,i=!1){const s=Xt,n=[];let r=this[s(425)][s(450)](t),o=this[s(425)][s(450)](e);for(-1==o&&(o=this[s(425)][s(294)][s(418)],i=!1);r<o;)n[s(539)](this[s(425)][s(331)](r)),r++;return i&&n[s(539)](this[s(425)][s(331)](r)),n}[Xt(259)](t,e,i,s){const n=Xt,r=this[n(459)][n(496)][n(510)];let o=e;for(;t[o]&&t[o][n(462)];)o++;let a=s;for(;i[a]&&i[a][n(557)];)a++;u(t,e,o),u(i,s,a);const c=i[n(265)](s,a)[n(245)](t[n(265)](e,o));return c[n(492)](((t,e)=>t[n(371)]!=e[n(371)]?t[n(371)]-e[n(371)]:t[n(292)]!=e[n(292)]?t[n(292)]-e[n(292)]:t[n(412)]!=e[n(412)]?e[n(412)]-t[n(412)]:!!t[n(462)]!=!!e[n(462)]?-1==t[n(371)]||0==t[n(371)]?t[n(462)]?-1:1:t[n(462)]?1:-1:t[n(521)]-e[n(521)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(373)],c=!0;for(let n=e;n<i;n++)if(r[s(476)](t[n][s(540)])||(c=!1),t[n][s(540)][s(290)]<e&&(o=n),t[n][s(540)][s(445)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(371)]=n<=o?-1:n<a?0:1,t[n][s(521)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(412)]?t[i][s(292)]=u:(u++,t[i][s(292)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(371)]&&(t[n][s(292)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(412)]?t[e][s(292)]=u:(u--,t[e][s(292)]=u,u--)}}[Xt(524)](t){const e=Xt,i=new Map,s=this[e(459)][e(496)][e(510)];for(let n=1;n<t[e(418)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(466)==c[e(350)])continue;if(c[e(350)]!=u[e(350)])continue;if(!s[e(467)](u[e(540)])||s[e(280)](u[e(540)]))continue;if(!s[e(467)](c[e(540)])||s[e(280)](c[e(540)]))continue;if((t[n][e(462)]||t[n][e(558)])&&t[n-1][e(557)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(557)]||!t[n-1][e(462)]&&!t[n-1][e(558)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(292)]==o[e(292)],h=Math[e(262)](r[e(292)])<Math[e(262)](o[e(292)])&&0==o[e(412)];(l||h)&&(i[e(505)](o.id,r.id),t[e(256)](a,1),n--,r[e(462)]=!1)}for(let s=0;s<t[e(418)];s++)i[e(378)](t[s][e(300)])&&(t[s][e(300)]=i[e(330)](t[s][e(300)]))}[Xt(244)](t){const e=Xt,i=new Set(t[e(532)]((t=>t.id)));for(let s=0;s<t[e(418)];s++)i[e(378)](t[s][e(300)])||0==t[s][e(412)]||(t[s][e(441)]=!0);return t[e(391)]((t=>!t[e(441)]))}[Xt(538)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(418)];s++){if(i[e(378)](t[s].id)&&t[s][e(557)]&&(t[s][e(441)]=!0),t[s][e(441)])continue;if(0==t[s][e(412)])continue;if(e(444)!=t[s][e(350)])continue;if(null==t[s][e(300)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(300)];)e(444)==t[n][e(350)]?r++:e(374)==t[n][e(350)]&&r--,n++;if(0!=r)if(t[s][e(557)])t[s][e(441)]=!0;else for(;n!=s;)t[n][e(557)]&&0!=t[n][e(412)]&&(t[n][e(441)]=!0,i[e(503)](t[n][e(300)])),n--}return t[e(391)]((t=>!t[e(441)]))}[Xt(472)](t){const e=Xt,i=this[e(459)][e(496)][e(510)];for(let s=0;s<t[e(418)];s++){if(!(t[s][e(462)]||t[s][e(558)]||t[s][e(557)]||t[s][e(431)]))continue;if(0==t[s][e(412)])continue;const n=t[s][e(540)];i[e(467)](n)||i[e(280)](n)||(t[s][e(462)]&&delete t[s][e(462)],t[s][e(558)]&&delete t[s][e(558)],t[s][e(431)]&&delete t[s][e(431)],t[s][e(557)]&&(t[s][e(441)]=!0))}return t[e(391)]((t=>!t[e(441)]))}[Xt(486)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(459)][s(496)],c=a[s(510)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(418)];e++)if(s(444)===t[e][s(350)]){t[e][s(411)]=a[s(487)](n,f);const i=new Z.Element(t[e][s(540)][s(323)],t[e][s(540)][s(357)]());u[0][s(250)](i),f[s(539)](0),u[s(464)](i),t[e][s(328)]=a[s(487)](n,f)}else s(374)===t[e][s(350)]?(u[s(254)](),t[e][s(411)]=a[s(487)](n,f),f[s(488)](),f[f[s(418)]-1]++,t[e][s(328)]=a[s(487)](n,f)):(t[e][s(411)]=a[s(487)](n,f),d?d[s(517)]+=t[e][s(540)][s(546)]:d=new Z.Text(t[e][s(540)][s(546)],t[e][s(540)][s(357)]()),t[e+1]&&s(466)===t[e+1][s(350)]&&v(d,t[e+1][s(540)])||(u[0][s(250)](d),d=null),f[f[s(418)]-1]+=t[e][s(540)][s(303)],t[e][s(328)]=a[s(487)](n,f));for(let e=0;e<t[s(418)];e++){const i=t[e][s(411)],n=t[e][s(328)];for(const n of t[e][s(478)])o[s(505)](n,{start:i,end:null});m(s(431),e,i,n),m(s(558),e,i,n),m(s(557),e,i,n),m(s(462),e,i,n);for(const i of t[e][s(275)]){const t=o[s(330)](i);t?t[s(429)]=n:o[s(505)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(459)][s(496)][s(402)](e[s(509)],e[s(429)]);n[s(335)][s(505)](t,i)}return r[s(492)](((t,e)=>{const i=s,r=n[i(335)][i(330)](i(519)+t.id),o=n[i(335)][i(330)](i(519)+e.id);return r[i(509)][i(454)](o[i(509)])?-1:r[i(509)][i(423)](o[i(509)])?1:r[i(429)][i(454)](o[i(429)])?-1:r[i(429)][i(423)](o[i(429)])?1:i(503)===t[i(350)]?-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(258)]:null,d=i===t[o(418)]-1,f=h[e][0],m=c[o(440)](t[i][o(540)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(429)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(258)]!==u&&(l[e][o(429)]=n,f&&f[o(258)]===l[e][o(258)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(444)!==t[i][o(350)]||f&&f[o(258)]===u||h[e][o(464)]({userId:u,object:t[i][o(540)],change:l[e]}),o(374)===t[i][o(350)]&&f&&f[o(358)]===t[i][o(540)]&&(h[e][o(254)](),l[e]=f[o(457)])),l[e]&&d&&(l[e][o(429)]=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(540)],f=a[h(510)][h(467)](d)&&!a[h(510)][h(280)](d),m=t[h(338)]==o[h(481)]&&o[h(447)];if(f&&m)return;const p=a[h(402)](t,o),v=e[h(330)](u),g=new qt({author:v,type:h(462)==l||h(558)==l?h(503):h(320),data:{isSuggestion:h(558)==l||h(431)==l},createdAt:new Date,rootName:i});r[h(539)](g),n[h(335)][h(505)](h(519)+g.id,p)}function v(t,e){const i=s,n=t[i(357)](),r=e[i(357)]();for(const t of n){if(t[1]!==e[i(296)](t[0]))return!1;r[i(344)]()}return r[i(344)]()[i(249)]}}[Xt(495)](){const t=Xt;this[t(459)][t(252)][t(460)](t(518))[t(386)]({view:t(277)}),this[t(459)][t(252)][t(460)](t(456))[t(567)]({model:t(277),view:e=>{const i=t,s=e[i(523)][i(480)](":")[1],n=this[i(408)](s);if(!n)return null;const r=i(503)==n[i(350)]?i(442):i(434),o=[i(405),i(497)+r];return n[i(546)][i(485)]&&o[i(539)](i(497)+r+i(299)),this[i(453)]==n&&o[i(539)](i(433)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(459)][t(252)][t(460)](t(518))[t(503)]((e=>{const i=t;e.on(i(493),((t,e,s)=>{const n=i,r=e[n(276)][n(365)](0);if(!r||!r.is(n(369),n(360)))return;if(!s[n(437)][n(274)](r,{attributes:[n(530),n(452)]}))return;const o=e[n(522)][n(509)][n(338)];s[n(563)][n(506)](n(530),r[n(296)](n(530)),o),s[n(563)][n(506)](n(452),r[n(296)](n(452)),o)}),{priority:i(406)})})),this[t(459)][t(252)][t(460)](t(518))[t(503)]((e=>{const i=t;e.on(i(369),((t,e,s)=>{const n=i;if(!s[n(437)][n(274)](e[n(276)],{attributes:[n(530),n(452)]}))return;if(e[n(522)][n(326)])return;const r=e[n(522)][n(509)][n(338)];r[n(526)](n(530))||r[n(526)](n(311))||(s[n(563)][n(506)](n(530),e[n(276)][n(296)](n(530)),r),s[n(563)][n(506)](n(452),e[n(276)][n(296)](n(452)),r))}),{priority:i(406)})})),this[t(459)][t(252)][t(460)](t(518))[t(355)]({view:{name:t(419),attributes:{vid:!0}},model:{key:t(311),value:e=>e[t(296)](t(311))}}),this[t(459)][t(496)][t(510)].on(t(404),((e,[,i])=>{const s=t;[s(530),s(452),s(311)][s(516)](i)&&(e[s(555)]=!0,e[s(400)]())}),{priority:t(566)}),this[t(459)][t(252)][t(460)](t(537))[t(503)]((e=>{const i=t;e.on(i(295),((t,e,s)=>{const n=i;if(" "!=e[n(540)][n(546)]||e[n(540)][n(481)][n(388)]>1)return;if(!s[n(437)][n(274)](e[n(540)],t[n(323)]))return;const r=s[n(563)],o=s[n(501)][n(499)](e[n(479)]);r[n(533)](o,r[n(420)](n(419)))}))})),this[t(459)][t(252)][t(460)](t(537))[t(347)]({model:t(277)}),this[t(459)][t(312)][t(394)].on(t(345),function(e){const i=t,s=e[i(271)][i(330)](i(508));return(t,n,r)=>{const o=i,a=n[o(523)][o(480)](":")[1],c=s[o(408)](a);if(!c)return null;const u=o(503)==c[o(350)]?o(480):o(351);if(!r[o(437)][o(370)](n[o(375)],t[o(323)]))return;const l=n[o(375)][o(525)](),h=n[o(375)][o(509)],d=e[o(496)][o(510)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(540)];p=p||d[o(297)](e);const i=r[o(501)][o(322)](e);if(i&&i[o(339)](o(354)))return;o(374)==t[o(350)]&&d[o(467)](e)&&!d[o(280)](e)&&(e[o(426)]||h[o(489)]?f&&f[o(481)]==e||(f=e,g(t[o(411)]),v=!0):m=m||t[o(411)])}function g(t){const e=o,i=r[e(563)][e(289)](e(419),{class:e(497)+u}),a=r[e(501)][e(490)](t);c[e(546)][e(485)]&&r[e(563)][e(261)](e(497)+u+e(299),i),s[e(453)]==c&&r[e(563)][e(261)](e(433),i),r[e(563)][e(314)](a,i),r[e(501)][e(543)](i,n[e(523)])}p||v||!m||g(m)}}(this[t(459)]),{priority:t(242)}),this[t(459)][t(312)][t(394)].on(t(528),((e,i,s)=>{const n=t,r=s[n(501)][n(327)](i[n(523)]);if(r)for(const t of r)(t[n(547)](n(432))||t[n(547)](n(316)))&&(s[n(501)][n(397)](t,i[n(523)]),s[n(563)][n(320)](t))}),{priority:t(242)}),this[t(459)][t(312)][t(394)].on(t(345),((e,i,s)=>{const n=t,r=i[n(523)][n(480)](":")[1],o=this[n(408)](r);if(!o)return null;const a=n(503)==o[n(350)]?n(480):n(351);if(s[n(437)][n(370)](i[n(375)],e[n(323)]))for(const t of i[n(375)][n(363)]()){if(!t.is(n(369),n(403)))continue;const e=s[n(563)][n(289)](n(419),{class:n(497)+a}),r=s[n(501)][n(490)](this[n(459)][n(496)][n(366)](t));o[n(546)][n(485)]&&s[n(563)][n(261)](n(497)+a+n(299),e),this[n(453)]==o&&s[n(563)][n(261)](n(433),e),s[n(563)][n(314)](r,e),s[n(501)][n(543)](e,i[n(523)])}}),{priority:t(242)}),this[t(459)][t(496)][t(382)].on(t(457),(()=>{const e=t;this[e(459)][e(312)][e(396)][e(457)]((t=>{const i=e;for(const e of this[i(459)][i(496)][i(382)][i(474)]()){const s=this[i(459)][i(496)][i(382)][i(482)](e),n=this[i(459)][i(312)][i(396)][i(382)][i(482)](e);if(n){const e=s[i(296)](i(399));if(t[i(560)](i(562),n),t[i(305)](i(285),n),t[i(305)](i(356),n),t[i(305)](i(310),n),e){const s=this[i(408)](e);if(!s)return null;t[i(506)](i(562),e,n),t[i(261)](i(565)+s[i(350)],n),this[i(453)]==s&&t[i(261)](i(310),n)}}}}))})),this[t(459)][t(252)][t(460)](t(518))[t(386)]({view:t(307),model:e=>t(484)+e,converterPriority:t(566)}),this[t(459)][t(252)][t(460)](t(518))[t(386)]({view:t(458),model:e=>t(436)+e,converterPriority:t(566)}),this[t(459)][t(252)][t(460)](t(537))[t(347)]({model:t(367),view:e=>({name:t(392)+e,group:t(367)}),converterPriority:t(566)}),this[t(459)][t(252)][t(460)](t(456))[t(567)]({model:t(367),view:e=>{const i=t,s=e[i(523)][i(480)](":")[1];return i(442)!=s&&i(434)!=s?null:{classes:[i(468),i(270)+s]}}}),this[t(459)][t(312)][t(394)].on(t(319),ie(this[t(459)],t(351)),{priority:t(242)}),this[t(459)][t(312)][t(394)].on(t(349),ie(this[t(459)],t(480)),{priority:t(242)}),this[t(459)][t(312)][t(394)].on(t(329),((e,i,s)=>{const n=t,r=s[n(501)][n(327)](i[n(523)]);if(r)for(const t of r)t.is(n(398))&&(s[n(501)][n(397)](t,i[n(523)]),s[n(563)][n(320)](t))}),{priority:t(242)})}[Xt(408)](t){const e=Xt;return this[e(556)][e(330)](t)}[Xt(446)](t){const e=Xt;return this[e(383)]&&this[e(383)][e(439)](),this[e(383)]=new Ut(this[e(459)][e(284)],t),this[e(383)]}[Xt(511)](){const t=Xt;this[t(459)][t(496)][t(382)][t(364)][t(291)](t(277)),this.on(t(255),((e,i,s,n)=>{const r=t;n&&this[r(348)][r(320)](n),s&&(this[r(348)][r(503)]({view:s,stackId:r(473),position:{target:()=>{const t=r,e=this[t(459)][t(312)],i=this[t(408)](s[t(409)]);let n;if(i[t(546)][t(393)]){const s=e[t(396)][t(337)](i[t(389)]);n=Array[t(512)](s[t(551)]())}else{const i=this[t(459)][t(496)][t(335)][t(330)](t(519)+s[t(409)]);n=Array[t(512)](e[t(501)][t(327)](i[t(323)]))[t(532)]((i=>e[t(396)][t(334)][t(500)](i)))[t(532)]((e=>Array[t(512)](e[t(551)]())))[t(514)]()}return this[t(379)]&&n[t(376)]((e=>e[t(422)]-3<=this[t(379)].y&&e[t(377)]+3>=this[t(379)].y&&e[t(372)]-3<=this[t(379)].x&&e[t(443)]+3>=this[t(379)].x))||n[0]}}}),this[r(348)][r(520)](r(473)))})),this.on(t(315),((e,i,s,n)=>{const r=t;this[r(451)]=s?this[r(446)](s):null,this[r(459)][r(496)][r(457)]((()=>{const t=r,e=this[t(459)][t(312)];n&&(n[t(546)][t(393)]?e[t(396)][t(457)]((i=>{const s=t;i[s(305)](s(310),e[s(396)][s(382)][s(482)](n[s(389)]))})):e[t(390)](t(519)+n.id)),s&&(s[t(546)][t(393)]?e[t(396)][t(457)]((i=>{const n=t;i[n(261)](n(310),e[n(396)][n(382)][n(482)](s[n(389)]))})):e[t(390)](t(519)+s.id))}))})),this[t(384)](this[t(459)][t(312)][t(396)][t(382)],t(352),((e,i)=>{const s=t;if(this[s(453)])return;const n=this[s(260)](i[s(568)]),r=this[s(556)][s(330)](n);r?(this[s(379)]={x:i[s(268)].x,y:i[s(268)].y},this[s(451)]=this[s(446)](r)):(this[s(379)]=null,this[s(451)]=null)})),this[t(384)](this[t(459)][t(312)][t(396)][t(382)],t(430),((e,i)=>{const s=t,n=this[s(260)](i[s(568)]),r=this[s(556)][s(330)](n);r?(this[s(379)]={x:i[s(268)].x,y:i[s(268)].y},r===this[s(453)]?this[s(348)][s(427)]():this[s(453)]=r):(this[s(379)]=null,this[s(453)]=null)}))}[Xt(260)](t){const e=Xt;do{const i=t[e(296)](e(562));if(i)return i;t=t[e(481)]}while(t);return null}[Xt(340)](){const t=Xt;this[t(459)][t(496)][t(457)]((e=>{const i=t;for(const t of this[i(459)][i(496)][i(335)])e[i(251)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(437)][r(370)](s[r(375)],i[r(323)]))return;const o=s[r(375)][r(525)](),a=s[r(375)][r(509)],c=t[r(496)][r(510)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(540)];h=h||c[r(297)](e);const i=n[r(501)][r(322)](e);if(i&&i[r(339)](r(354)))return;r(374)==t[r(350)]&&c[r(467)](e)&&!c[r(280)](e)&&(e[r(426)]||a[r(489)]?u&&u[r(481)]==e||(u=e,f(t[r(411)]),d=!0):l=l||t[r(411)])}function f(t){const i=r,o=n[i(501)][i(490)](t),a=n[i(563)][i(289)](i(419),{class:i(270)+e});n[i(563)][i(314)](o,a),n[i(501)][i(543)](a,s[i(523)])}h||d||!l||f(l)}}class se extends W.Command{constructor(t){const e=Xt;super(t);const i=t[e(271)][e(330)](ee);this[e(448)]=!1,this[e(384)](i,e(324),(()=>this[e(542)]())),this[e(384)](i,e(298),(()=>this[e(542)]()))}[Xt(246)](){const t=Xt,e=this[t(459)],i=e[t(271)][t(330)](ee),s=i[t(461)]?i[t(483)][t(469)]:null;e[t(553)][t(330)](t(264))[t(381)](s)}[Xt(542)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(459)][t(271)][t(330)](ee),r=n&&s[t(504)](n[t(469)]);this[t(507)]=e&&i&&Boolean(r)}}class ne extends W.Command{[Xt(415)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(271)][i(330)](ee);this[i(448)]=!1,this[i(415)]=i(449)===e?1:-1,this[i(384)](s,i(324),(()=>this[i(542)]())),this[i(384)](s,i(298),(()=>this[i(542)]())),this[i(384)](s,i(315),(()=>this[i(542)]()))}[Xt(246)](){const e=Xt,i=this[e(459)],s=i[e(271)][e(330)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(453)]=n?s[e(483)][e(253)][e(330)](r+this[e(415)]):s[e(483)][e(253)][e(470)],s[e(453)][e(546)][e(393)])o=i[e(312)][e(396)][e(337)](s[e(453)][e(389)]);else{const t=i[e(496)][e(335)][e(330)](e(519)+s[e(453)].id);o=(0,H.getMarkerDomElement)(i[e(312)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(542)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(459)][t(271)][t(330)](ee);this[t(507)]=!!(r&&n&&s)&&(!e||(1===this[t(415)]?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=ue();return(ae=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(939511===-parseInt(e(481))/1+-parseInt(e(491))/2+-parseInt(e(496))/3*(parseInt(e(473))/4)+-parseInt(e(506))/5*(parseInt(e(477))/6)+parseInt(e(486))/7+-parseInt(e(488))/8+parseInt(e(484))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(487)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(479)](e(480),!1),this[e(479)](e(503),!1),this[e(479)](e(474),0),this[e(479)](e(482),0),this[e(479)](e(507),!1),this[e(479)](e(468),!1),this[e(466)](e(475)).to(this,e(503),this,e(482),((t,e)=>t&&e>0)),this[e(466)](e(489)).to(this,e(503),this,e(474),this,e(482),this,e(480),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(492));if(!n)return Q(t,o(476));const a=Q(t,o(469),n);return r?Q(t,o(504),[s+1,n]):a})),s[e(479)]({label:Q(t,e(495)),tooltip:!0,icon:mt.IconChevronUp}),n[e(479)]({label:Q(t,e(501)),tooltip:!0,icon:mt.IconChevronDown}),s[e(466)](e(494)).to(this,e(468)),n[e(466)](e(494)).to(this,e(507)),s.on(e(470),(()=>this[e(497)](e(470),e(485)))),n.on(e(470),(()=>this[e(497)](e(470),e(490)))),this[e(472)]({tag:e(493),attributes:{class:["ck",e(505),e(478)]},children:[{tag:e(471),attributes:{class:[e(502)]},children:[{tag:e(471),attributes:{class:[e(467),i.if(e(475),e(483),(t=>!t))]},children:[{text:i.to(e(480),(i=>i?Q(t,e(499))+": ":Q(t,e(498))+": "))}]},{text:i.to(e(489))}]},new pt.ToolbarSeparatorView,{tag:e(493),attributes:{class:[e(500)]},children:[s,n]}]})}}function ue(){const t=["8271056kHQtZH","_statusText","forward","1214152YfKtfw","Loading...","div","isEnabled","Show previous change","3QhcpPB","fire","Total","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__navigation","Show next change","ck-revision-history-ui__changes-navigation__wrapper","isReady","X_OF_Y_CHANGES","ck-revision-history-ui","5FmSrKW","isForwardNavigationEnabled","bind","ck-revision-history-ui__changes-navigation__label","isBackwardNavigationEnabled","NUMBER_OF_CHANGES","execute","span","setTemplate","2587516vrqwLE","currentChangeNumber","_isStatusLabelVisible","No changes","6921486gSSwkS","ck-revision-history-ui__changes-navigation","set","isNavigationMode","1735150vLnOWN","numberOfChanges","ck-hidden","51795909YZjtMX","backward","2526846zJGYDI","bindTemplate"];return(ue=function(){return t})()}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=pe;function fe(){const t=["show","isPremiumPlugin","isOfficialPlugin","345UhHrwr","423528wBDCPk","948360BFDwuT","228709HROzEO","980XqEbfB","pluginName","editing","editor","2098056qReHQW","removeClass","5PQgbFD","hide","ck-editor__editable__loading-overlay","426966WxXpVR","document","addClass","RevisionViewerLoadingOverlay","roots","change","2216790cyyUBY","view"];return(fe=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(235814===parseInt(e(409))/1+-parseInt(e(407))/2+parseInt(e(406))/3*(parseInt(e(410))/4)+parseInt(e(392))/5*(parseInt(e(395))/6)+parseInt(e(408))/7+-parseInt(e(414))/8+parseInt(e(401))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(394);function pe(t,e){const i=fe();return(pe=function(t,e){return i[t-=391]})(t,e)}class ve extends W.Plugin{static get[de(411)](){return de(398)}static get[de(405)](){return!0}static get[de(404)](){return!0}[de(403)](){const t=de,e=this[t(413)][t(412)][t(402)];e[t(400)]((i=>{const s=t;for(const t of e[s(396)][s(399)])i[s(397)](me,t)}))}[de(393)](){const t=de,e=this[t(413)][t(412)][t(402)];e[t(400)]((i=>{const s=t;for(const t of e[s(396)][s(399)])i[s(391)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=292]})(t,e)}function ke(){const t=["Back to editing","184sgPYAa","editor","set","577542CqXHTc","26DoGUHA","exitToEditing","isBackwardNavigationEnabled","numberOfChanges","plugins","commands","listenTo","14779fzZDaz","revisionHistory","closeRevisionViewerCallback","942350kNLGmU","bind","10971fXejPN","11iiDHYT","showPreviousChange","init","isPremiumPlugin","3321576UNSGud","get","isForwardNavigationEnabled","RevisionViewerUI","pluginName","2503596iReKQy","145785HtfQXf","change:isReady","Restore this revision","8xunCmU","add","config","requires","ck-revision-history-ui__back-to-editing","isNavigationMode","showNextChange","changesNavigation","hide","isReady","forward","componentFactory","currentChangeNumber","isEnabled","show","isOfficialPlugin","execute","restoreRevision"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(230195===parseInt(e(319))/1*(-parseInt(e(312))/2)+-parseInt(e(324))/3*(-parseInt(e(308))/4)+parseInt(e(335))/5+parseInt(e(334))/6+parseInt(e(311))/7+-parseInt(e(338))/8*(parseInt(e(329))/9)+-parseInt(e(322))/10*(-parseInt(e(325))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends W.Plugin{static get[ge(333)](){return ge(332)}static get[ge(304)](){return!0}static get[ge(328)](){return!0}static get[ge(292)](){return[ee,ve]}[ge(327)](){const t=ge,e=this[t(309)],i=e[t(316)][t(330)](ee),s=e[t(316)][t(330)](ve);e.ui[t(300)][t(339)](t(313),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(310)]({label:Q(i,s(307)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(293)}),this[s(318)](n,s(305),(()=>{const t=s;e[t(340)][t(330)](t(320))[t(321)]()})),n})),e.ui[t(300)][t(339)](t(306),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(310)]({label:Q(i,s(337)),withText:!0,tooltip:!0}),n[s(323)](s(302)).to(e[s(317)][s(330)](s(306))),this[s(318)](n,s(305),(()=>e[s(305)](s(306)))),n})),e.ui[t(300)][t(339)](t(296),(s=>{const n=t,r=new ce(s),o=e[n(317)][n(330)](n(326)),a=e[n(317)][n(330)](n(295));return r[n(323)](n(314)).to(o,n(302)),r[n(323)](n(331)).to(a,n(302)),r[n(323)](n(298),n(301),n(315),n(294)).to(i),this[n(318)](r,n(305),((t,i)=>{const s=n;e[s(305)](s(299)===i?s(295):s(326))})),r})),s[t(303)](),i.on(t(336),((e,i,n)=>{const r=t;n?s[r(297)]():s[r(303)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;function Ie(t,e){const i=Oe();return(Ie=function(t,e){return i[t-=244]})(t,e)}const Se=Ie;function Oe(){const t=["set","value","455DJTOKZ","_updateTooltipText","168257Okvpoy","Revision name","4163436OlXSNE","input","destroy","render","61113vpQcCH","span","fieldView","6LfPxkc","bindTemplate","1136465zNZDQz","4036308tUjaVv","extendTemplate","element","17347mUkxba","Enter the revision name","placeholder","scrollWidth","listenTo","2JEdjSN","ck-revision-history-sidebar__revision-name","_resizeObserver","_tooltipString","48nJoEda","clientWidth","2740xzuxDl","29776ozfVRg","ck-tooltip_multi-line"];return(Oe=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(276033===parseInt(e(244))/1*(parseInt(e(264))/2)+parseInt(e(250))/3*(-parseInt(e(268))/4)+parseInt(e(255))/5*(parseInt(e(253))/6)+parseInt(e(275))/7*(-parseInt(e(271))/8)+parseInt(e(246))/9+parseInt(e(270))/10*(-parseInt(e(259))/11)+parseInt(e(256))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Se(266)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(254)];this[i(273)]({label:Q(t,i(245)),_tooltipString:""}),this[i(252)][i(261)]=Q(t,i(260)),this[i(257)]({tag:i(251),attributes:{class:[i(265)],"data-cke-tooltip-text":s.to(i(267)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(272)}})}[Se(249)](){const e=Se;super[e(249)](),this[e(266)]=new t.ResizeObserver(this[e(252)][e(258)],(()=>this[e(276)]())),this[e(263)](this[e(252)],e(247),(()=>this[e(276)]()))}[Se(248)](){const t=Se;super[t(248)](),this[t(266)]&&this[t(266)][t(248)]()}[Se(276)](){const t=Se,e=this[t(252)][t(258)];this[t(267)]=e[t(262)]>e[t(269)]&&e[t(274)]||""}}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-=221]})(t,e)}function Ae(){const t=["ck-revision-history-sidebar__revision-author__name","setTemplate","183495CTTtHB","Revision author","ck-revision-history-sidebar__revision-author_creator","216RBdUFI","6972dmQiZu","517059virFBd","928FSlFsx","36xgEfzC","90oziRwm","929298UaqMnY","ck-revision-history-sidebar__revision-author","push","258BQERHa","span","0 0 11 10","2664DvwQKM","2913435iqSIff","Revision creator","name","set","278531fNSBWO"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(445928===-parseInt(e(222))/1*(-parseInt(e(228))/2)+-parseInt(e(239))/3*(parseInt(e(223))/4)+-parseInt(e(232))/5+parseInt(e(225))/6+-parseInt(e(243))/7*(-parseInt(e(231))/8)+parseInt(e(221))/9*(parseInt(e(224))/10)+parseInt(e(236))/11*(parseInt(e(242))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class De extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(235)]({content:mt.IconUser,viewBox:s(230)});const r=["ck",s(226)];i&&r[s(227)](s(241));const o=[{tag:s(229),attributes:{class:["ck",s(237)],title:Q(t,s(i?233:240))},children:[n,e[s(234)]]}];this[s(238)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=130]})(t,e)}function Ee(){var t=["numeric","toLocaleDateString","233744rcHHaO","24gEBaQz","883344eXgGvL","13220532QayrDy","671830LMQKNe","long","5435272RWJFna","32YkoHGX","toLocaleTimeString","131820rfCdfo","42594DvMkTZ"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(414951===-parseInt(e(141))/1+parseInt(e(134))/2+parseInt(e(142))/3*(-parseInt(e(139))/4)+-parseInt(e(136))/5*(parseInt(e(133))/6)+-parseInt(e(132))/7+-parseInt(e(138))/8+parseInt(e(135))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=159]})(t,e)}function Le(){const t=["listenTo","panelPosition","locale","Restore this revision","bindTemplate","class","_action","map","execute","menu","Name this revision","isReady","change:isActionsDropdownOpen","button","bind","Compare against selected","isVisible","isEnabled","add","first","find","name","96SbtuNC","isActionsDropdownOpen","Show more items","558081YeVtfh","listView","extendTemplate","model","ck-on","children","function","items","set","action","ck-revision-history-sidebar__revision__actions","602JEHRYC","17140710byPQWu","stopPropagation","3609624KeexKT","buttonView","5051538kmwabo","menuitem","6727602cYifho","4791ZuMqYA","45mnKhdw","source","590068GESKiP","isOpen"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(911366===-parseInt(e(195))/1*(-parseInt(e(187))/2)+-parseInt(e(190))/3+-parseInt(e(198))/4*(-parseInt(e(196))/5)+parseInt(e(192))/6+parseInt(e(194))/7+parseInt(e(173))/8*(-parseInt(e(176))/9)+-parseInt(e(188))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var Pe=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=It(),je.insert=wt().bind(null,"head"),je.domAPI=kt(),je.insertStyleElement=Ot();gt()(Pe.A,je);Pe.A&&Pe.A.locals&&Pe.A.locals;const ze=Ue;function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=478]})(t,e)}function We(){const t=["ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision_highlighted","60XDlgnr","753352VtkQtW","extendTemplate","listenTo","6538UFhUAH","_requireRevisionName","bindTemplate","ck-disabled","unhighlight","span","isEnabled","_revision","filter","unshift",".ck-thread__remove-confirm","highlight","length","createdAt","setTemplate","deselect","ck-revision-history-sidebar__revision-authors","select","220","11991nYiVhO","div","494365lUDVYP","136ynKtkC","fire","ck-reset","render","isHighlighted","ck-revision-history-sidebar__revision-wrapper","bind","authors","value","17486170JIvvBA","isActionsDropdownOpen","fieldView","change","ck-revision-history-sidebar__revision","setName","isReady","isSelected","closest","uiLanguage","ck-revision-history-sidebar__revision__date","416nmtAwD","revisionNameView","set","name","310716JcXKTc","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","creator","srcElement","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","from","1023955rwUUss","isConfirm","map","element","revisionActionsView","_createdAtFormatted"];return(We=function(){return t})()}!function(t){const e=Ue,i=t();for(;;)try{if(587938===parseInt(e(509))/1+parseInt(e(518))/2+-parseInt(e(540))/3*(parseInt(e(478))/4)+-parseInt(e(542))/5*(-parseInt(e(517))/6)+parseInt(e(521))/7*(parseInt(e(498))/8)+parseInt(e(502))/9+-parseInt(e(487))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(499)];[ze(513)];[ze(528)];[ze(522)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(523)],a=function(t,e){const i=r,s=Array[i(508)](e[i(485)])[i(529)]((t=>t!=e[i(505)]));return e[i(505)]&&s[i(530)](e[i(505)]),s[i(511)]((s=>new De(t,s,s==e[i(505)])))}(e,i);this.id=i.id,this[r(528)]=i,this[r(522)]=n,this[r(484)](r(501),r(534)).to(i),this[r(484)](r(514)).to(this,r(534),(t=>{return i=e[r(496)],(s=t)[(n=Ve)(131)](i,{month:n(137),day:n(130)})+", "+s[n(140)](i,{hour:n(130),minute:n(130)});var i,s,n})),this[r(500)](r(494),!1),this[r(500)](r(482),!1),this[r(500)](r(488),!1),this[r(500)](r(493),!1),this[r(500)](r(527),!1),this[r(499)]=new Te(e,pt.createLabeledInputText),this[r(499)][r(489)][r(519)]({attributes:{maxlength:r(539)}}),this[r(499)][r(489)][r(484)](r(486)).to(this,r(501),(t=>t||this[r(514)])),this[r(499)][r(484)](r(527)).to(this,r(494),this,r(527),((t,e)=>t&&e)),this[r(513)]=s&&s[r(533)]?function(e,i){const s=Fe,n=e[s(204)],r=e[s(202)],o=(0,pt.createDropdown)(r);o[s(201)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(202)],n={"Compare against selected":Q(s,i(166)),"Name this revision":Q(s,i(161)),"Restore this revision":Q(s,i(203))};return e[i(207)]((t=>{const e=i,s=n[t[e(172)]];return s&&s!==t[e(172)]&&(t[e(172)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(164),model:new pt.ViewModel({label:t[n(172)],class:t[n(205)],withText:!0,role:n(193),_action:t[n(185)]})};i[n(179)][n(165)](n(168)).to(e,n(174),(i=>n(182)!=typeof t[n(168)]||!i||t[n(168)](e))),o[n(169)](i)}return o}(e,i);return e[s(165)](s(174)).to(o,s(199)),o[s(191)][s(184)]({label:Q(r,s(175)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(178)]({attributes:{class:[s(186),n.if(s(174),s(180))]},on:{click:n.to((t=>t[s(189)]()))}}),o.on(s(159),(t=>{const i=s;e[i(162)]&&i(182)==typeof t[i(197)][i(206)]&&t[i(197)][i(206)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(160)}),o[s(200)](e,s(163),((t,n,r)=>{const a=s;if(r)for(const t of o[a(177)][a(183)]){const s=t[a(181)][a(170)],n=i[a(171)]((t=>t[a(185)]===s[a(206)]))[a(167)];t[a(167)]=void 0===n||n(e)}})),o}(this,s):"",this[r(513)]&&this[r(513)][r(484)](r(527)).to(this),this[r(535)]({tag:r(541),attributes:{class:["ck",r(480),r(483),o.if(r(510),r(507))]},children:[{tag:r(541),attributes:{class:["ck",r(480),r(491),o.if(r(527),r(524),(t=>!t)),o.if(r(494),r(515)),o.if(r(482),r(516)),o.if(r(488),r(504))]},children:[this[r(499)],{tag:r(526),attributes:{class:["ck",r(497)]},children:[{text:o.to(r(514))}]},{tag:r(541),attributes:{class:["ck",r(503)]},children:[{tag:"ul",attributes:{class:["ck",r(537)]},children:a}]},this[r(513)]],on:{click:o.to((t=>{const e=r;t[e(506)][e(495)](e(531))||this[e(493)]&&this[e(527)]&&this[e(479)](e(538),{id:this.id})}))}}]})}[ze(481)](){const t=ze;super[t(481)]();const e=this[t(499)][t(489)][t(512)];this[t(520)](e,t(490),(()=>{const i=t;this[i(522)]&&!e[i(486)]||this[i(479)](i(492),{id:this.id,name:e[i(486)]}),e[i(486)]||(e[i(486)]=this[i(501)]?this[i(501)]:this[i(514)])}))}[ze(538)](){this[ze(494)]=!0}[ze(536)](){this[ze(494)]=!1}[ze(532)](){this[ze(482)]=!0}[ze(525)](){this[ze(482)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class 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 Hs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(js({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Di={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.DateTimeFormat(t,e),Di[i]=s),s}let Ei={};let Mi={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Pi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ds(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const 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,Di={},Ei={},Mi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Li(this,t,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Pi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings: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 Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){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,Ps(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function 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 Ds(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function Ps(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function 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 Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ds(i,2)}:${Ds(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ds(i,2)}${Ds(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const 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 Xs(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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ds(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function 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:Ms(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Dn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(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?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Pn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||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,Dn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,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):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new 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])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=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 Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((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",Dr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Pr(t,e,i){return Fr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ps(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=js(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function 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+=Ds(t.c.year,i?6:4),e?(s+="-",s+=Ds(t.c.month),s+="-",s+=Ds(t.c.day)):(s+=Ds(t.c.month),s+=Ds(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ds(t.c.hour);return e?(o+=":",o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ds(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ds(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ds(Math.trunc(-t.o/60)),o+=":",o+=Ds(Math.trunc(-t.o%60))):(o+="+",o+=Ds(Math.trunc(t.o/60)),o+=":",o+=Ds(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],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=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Pr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Vr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||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]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Dr||t>Dr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc: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(Vr(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=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,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]=Pr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Un,qn],[Wn,$n],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,jn],[Ln,jn],[Pn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new 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,Xn])}(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?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ps(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?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(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Pr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,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(Ps(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Pr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,jr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,jr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Hr(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":"")+Hr(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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new 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(t,e){const i=oo();return(no=function(t,e){return i[t-=428]})(t,e)}function ro(t,e){const i=no,s=io[i(433)](t)[i(440)](e),n=io[i(444)](),r=n[i(431)]({days:1})[i(450)](i(446));let o,a;return s[i(437)](n,i(446))?(o=s[i(450)](i(446))[i(436)](),a=s[i(428)]()):s[i(437)](r,i(446))?(o=r[i(436)](),a=s[i(428)]()):s[i(437)](n,i(442))?(o=s[i(450)](i(442))[i(436)](),a=s[i(448)]||""):s[i(437)](n,i(445))?(o=s[i(450)](i(434))[i(436)](),a=s[i(432)]||""):(o=s[i(450)](i(445))[i(436)](),a=String(s[i(445)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["local","year","day","18ytOlCP","weekdayLong","1233305CtqisU","startOf","toRelativeCalendar","12EqicFL","1798926ivIBdp","minus","monthLong","fromJSDate","month","4401054pDrieO","toJSDate","hasSame","3045432QRhxbE","1155354Sbmton","setLocale","10704680vlpDgD","week","280560ekOkyw"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(638696===-parseInt(e(439))/1+-parseInt(e(443))/2*(-parseInt(e(429))/3)+-parseInt(e(438))/4+parseInt(e(449))/5+-parseInt(e(430))/6+-parseInt(e(435))/7+parseInt(e(441))/8*(parseInt(e(447))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=lo;function lo(t,e){const i=ho();return(lo=function(t,e){return i[t-=499]})(t,e)}function ho(){const t=["div","locale","187307JUnbVJ","createCollection","_requireRevisionName","171996bRJWQH","revisionViews","setTemplate","2547795GTSnXn","span","ck-revision-history-sidebar__time-period__label","remove","4688502ymUJsQ","3204018kqSbVd","setName","_revisionActions","4Dsiwrb","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period","addRevision","13286260Bcaaxw","add","startDate","8RkIwSu","select","removeRevision","1133148CMTNfu","find","localizedPeriodName","6oPRtvC","uiLanguage","delegate"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(394457===parseInt(e(519))/1+parseInt(e(501))/2*(parseInt(e(511))/3)+-parseInt(e(522))/4+parseInt(e(525))/5*(parseInt(e(514))/6)+parseInt(e(529))/7+parseInt(e(508))/8*(-parseInt(e(530))/9)+-parseInt(e(505))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(507)];[uo(523)];[uo(500)];[uo(521)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(518)][n(515)])[n(513)];this[n(507)]=e,this[n(523)]=this[n(520)](),this[n(500)]=i,this[n(521)]=s,this[n(523)][n(516)](n(509)).to(this),this[n(523)][n(516)](n(499)).to(this),this[n(524)]({tag:n(517),attributes:{class:["ck",n(503)]},children:[{tag:n(526),attributes:{class:["ck",n(527)]},children:[{text:r}]},{tag:n(517),attributes:{class:["ck",n(502)]},children:this[n(523)]}]})}[uo(504)](t){const e=uo,i=new He(this[e(518)],t,this[e(500)],this[e(521)]);this[e(523)][e(506)](i)}[uo(510)](t){const e=uo,i=this[e(523)][e(512)]((e=>e.id===t.id));this[e(523)][e(528)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=180]})(t,e)}function go(){const t=["3612609lupKFA","setTemplate","420NwCCwF","div","723URSDtZ","148708BijSYn","1190zPWXvb","content","Revision history","2rNGsaa","4817LSwJUw","ck-revision-history-sidebar__header__label","630GXZOZo","791056DPoWFR","10683XXSTPS","span","ck-revision-history-sidebar__header","2824pYgiXv","ck-reset_all"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(107109===-parseInt(e(192))/1*(parseInt(e(191))/2)+-parseInt(e(186))/3*(-parseInt(e(180))/4)+-parseInt(e(184))/5*(-parseInt(e(194))/6)+parseInt(e(187))/7+parseInt(e(195))/8+-parseInt(e(196))/9*(-parseInt(e(188))/10)+-parseInt(e(182))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(189)]=mt.IconHistory,this[e(183)]({tag:e(185),attributes:{class:["ck",e(181),e(198)]},children:[i,{tag:e(197),attributes:{class:["ck",e(193)]},children:[Q(t,e(190))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=276]})(t,e)}function Io(){const t=["timePeriodViews","render","ck-revision-history-sidebar","createdAt","ck-disabled","revisionSelected","_requireRevisionName","2510zCBYag","some","fire","348OriEAs","_revisionActions","flat","bindTemplate","17810dkGIYM","map","2139473tWoCkk","85hJbVaH","ck-revision-history-sidebar__timeline","delegate","deselect","select","170925TvCeFR","highlight","createCollection","div","revisionViews","unhighlight","selectRevision","setName","remove","uiLanguage","_getTimePeriodViewByStartDate","revisionSetName","ck-rounded-corners","69162ezfqZU","36773EArHvF","_revisions","set","add","846suVHnt","startDate","getTime","highlightRevisions","locale","8BvvGBW","isEnabled","removeRevision","find","193jDuzok","addRevision","get","setTemplate","_addRevision","_removeRevision","ck-reset","810280wZGbiL"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(219907===-parseInt(e(323))/1*(-parseInt(e(281))/2)+-parseInt(e(296))/3+-parseInt(e(330))/4+parseInt(e(291))/5*(parseInt(e(309))/6)+-parseInt(e(290))/7*(-parseInt(e(319))/8)+parseInt(e(314))/9*(-parseInt(e(288))/10)+parseInt(e(310))/11*(-parseInt(e(284))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(331)];[wo(311)];[wo(285)];[wo(280)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(287)];this[n(331)]=this[n(298)](),this[n(331)][n(293)](n(295)).to(this),this[n(331)][n(293)](n(303)).to(this),this[n(311)]=e,this[n(285)]=i,this[n(280)]=s,this.on(n(295),((t,e)=>{const i=n;this[i(283)](i(279),e)})),this.on(n(303),((t,e)=>{const i=n;this[i(283)](i(307),e)})),this[n(312)](n(320),!1),this[n(326)]({tag:n(299),attributes:{class:["ck",n(329),n(308),n(276)]},children:[new yo(t),{tag:n(299),attributes:{class:["ck",n(292),r.if(n(320),n(278),(t=>!t))]},children:this[n(331)]}]})}[wo(332)](){const t=wo;super[t(332)]();for(const e of this[t(311)])this[t(327)](e);this[t(311)].on(t(313),((e,i)=>{this[t(327)](i)})),this[t(311)].on(t(304),((e,i)=>{this[t(328)](i)}))}get[wo(300)](){const t=wo;return this[t(331)][t(289)]((e=>e[t(300)][t(289)]((t=>t))))[t(286)]()}[wo(302)](t){const e=wo;for(const i of this[e(300)])t&&t.id===i.id?i[e(295)]():i[e(294)]()}[wo(317)](t){const e=wo;for(const i of this[e(300)])t[e(282)]((({id:t})=>t===i.id))?i[e(297)]():i[e(301)]()}[wo(327)](t){const e=wo,i=ro(t[e(277)],this[e(318)][e(305)])[e(315)];let s=this[e(331)][e(325)](0);s&&s[e(315)][e(316)]()===i[e(316)]()||(s=new fo(this[e(318)],i,this[e(285)],this[e(280)]),this[e(331)][e(313)](s)),s[e(324)](t)}[wo(328)](t){const e=wo,i=ro(t[e(277)],this[e(318)][e(305)])[e(315)];this[e(306)](i)[e(321)](t)}[wo(306)](t){const e=wo;return this[e(331)][e(322)]((i=>i[e(315)][e(316)]()===t[e(316)]()))}}const Oo=To;function To(t,e){const i=No();return(To=function(t,e){return i[t-=211]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(185818===parseInt(e(287))/1*(-parseInt(e(232))/2)+parseInt(e(279))/3+parseInt(e(256))/4*(parseInt(e(276))/5)+-parseInt(e(228))/6+parseInt(e(282))/7+parseInt(e(266))/8+-parseInt(e(257))/9*(parseInt(e(250))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends W.Plugin{[Oo(288)];[Oo(241)];[Oo(243)];static[Oo(213)]=[Oo(212),Oo(293),Oo(211)];static[Oo(220)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(269),action:({plugins:e},i)=>{const s=t,n=e[s(283)](ee),r=n[s(273)];let o=n[s(216)][s(259)],a=i.id;r[s(236)](o)>r[s(236)](a)&&([o,a]=[a,o]),n[s(286)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(283)](ee);return!(n[s(273)][s(235)](n[s(216)])[s(289)]>2||i[s(271)])}},restoreRevision:{name:t(224),action:(e,{id:i})=>{const s=t;e[s(270)][s(283)](s(290))[s(225)](i)},isVisible:({plugins:e},i)=>!!e[t(283)](ee)[t(273)][t(261)](i.id)},nameRevision:{name:t(229),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(283)](ee),o=r[n(273)][n(284)](i);r[n(286)](i,o),s[n(237)](),s[n(253)][n(219)]()}}}}();static get[Oo(247)](){return Oo(277)}static get[Oo(258)](){return!0}static get[Oo(272)](){return!0}static get[Oo(278)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(288)]=t[e(244)][e(283)](ee),this[e(241)]=this[e(288)][e(273)],this[e(243)]=null}[Oo(214)](){const t=Oo,e=this[t(241)][t(238)],i=this[t(221)](),s=this[t(285)][t(270)][t(283)](t(227));this[t(243)]=new So(this[t(285)][t(248)],e,i,this[t(285)][t(270)][t(283)](t(217))),this[t(243)].on(t(223),this[t(240)][t(252)](this)),this[t(243)].on(t(226),this[t(231)][t(252)](this)),this[t(243)][t(252)](t(268)).to(this[t(288)]),this[t(243)][t(280)].on(t(281),((e,i)=>{const s=t;i[s(239)].on(s(281),((t,e)=>{const i=s;e[i(252)](i(268),i(260)).to(this[i(288)])}))})),this[t(243)][t(233)](),this[t(246)](this[t(285)][t(245)],t(267),this[t(254)][t(252)](this)),this[t(246)](this[t(288)],t(242),this[t(274)][t(252)](this)),s[t(234)](this[t(243)][t(264)])}[Oo(263)](){const t=Oo;this[t(243)][t(264)][t(222)](),this[t(243)][t(263)]()}[Oo(254)](){const t=Oo,e=this[t(241)][t(230)](0);if(e){const i=this[t(241)][t(284)](e.id);this[t(288)][t(286)](e,i)}}[Oo(240)](t,e){const i=Oo,s=this[i(241)][i(230)](e.id),n=this[i(241)][i(284)](s.id);this[i(288)][i(286)](s,n)}[Oo(231)](t,e){const i=Oo;this[i(241)][i(230)](e.id)[i(275)](e[i(255)])}[Oo(274)](t,e,i){const s=Oo,n=this[s(241)][s(235)](i);n[s(289)]>2?(this[s(243)][s(262)](n),this[s(243)][s(291)](null)):(this[s(243)][s(262)]([]),this[s(243)][s(291)](n[0]))}[Oo(221)](){const t=Oo,e=this[t(285)],i=xo[t(220)],s=e[t(270)][t(283)](t(249))||xo[t(213)];if(s[t(289)])return s[t(218)]((s=>{const n=t,r=n(265)==typeof s?Object[n(292)]({},i[s]):s;return r[n(251)]=r[n(251)][n(252)](this,e),r[n(215)]&&(r[n(215)]=r[n(215)][n(252)](this,e)),r}))}}function No(){const t=["_revisionsRepository","change:diff","_sidebarView","plugins","data","listenTo","pluginName","locale","revisionHistory.revisionActions","580zcwYvi","action","bind","fieldView","_handleEditorDataReady","name","428znwZaf","41913haPWfD","isOfficialPlugin","newRevisionId","isReady","getLaterVisibleRevision","highlightRevisions","destroy","element","string","2462888QedJKV","ready","isEnabled","Compare against selected","config","isSelected","isPremiumPlugin","repository","_handleDiffChange","setName","13535PrTDzH","RevisionsSidebar","requires","963471BUwvyg","timePeriodViews","add","81823bGDrzN","get","getEarlierVisibleRevision","editor","compare","316qOTbPP","_revisionViewer","length","revisionHistory","selectRevision","assign","restoreRevision","nameRevision","compareAgainstSelected","defaultRevisionActions","init","isVisible","diff","revisionHistory.requireRevisionName","map","select","availableRevisionActions","_createRevisionActions","remove","revisionSelected","Restore this revision","restoreRevisionCallback","revisionSetName","revisionHistory.viewerSidebarContainer","2186784RtRIim","Name this revision","getRevision","_handleRevisionSetName","696JhYWxx","render","appendChild","getRevisionsInDiff","getIndex","focus","_revisions","revisionViews","_handleRevisionSelected"];return(No=function(){return t})()}const Ro=xo;function Ao(t,e){const i=Vo();return(Ao=function(t,e){return i[t-=455]})(t,e)}const Do=Ao;function Vo(){const t=["715848lCcACR","_view","235986bybsxy","7634vHIObo","limiterElement","componentFactory","58040OtOBgS","ready","852766KxGeoU","editable","isFocused","addToolbar","stickyPanel","element","bind","isActive","init","get","4fwYbMu","_elementReplacer","8516425UqovXP","destroy","viewportTopOffset","getRoot","viewportOffset","name","rootName","document","editor","focusTracker","toolbar","config","fire","render","setEditableElement","_initToolbar","287XQSaDJ","fillFromConfig","1064164CUAqBK","detachDomRoot","editing","replace","attachDomRoot","9pVSZRf","restore","_toolbarConfig","4277091KyilCy","view"];return(Vo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(982593===parseInt(e(476))/1*(-parseInt(e(466))/2)+-parseInt(e(456))/3+parseInt(e(496))/4+-parseInt(e(478))/5+parseInt(e(460))/6*(parseInt(e(494))/7)+-parseInt(e(458))/8*(parseInt(e(501))/9)+-parseInt(e(464))/10*(-parseInt(e(461))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends pt.EditorUI{[Do(459)];[Do(455)];[Do(477)];get[Do(457)](){return this[Do(459)]}constructor(e,i){const s=Do;super(e),this[s(459)]=i,this[s(455)]=(0,pt.normalizeToolbarConfig)(e[s(489)][s(475)](s(488))),this[s(477)]=new t.ElementReplacer}get[Do(471)](){const t=Do;return this[t(457)][t(471)]}[Do(474)](t){const e=Do,i=this[e(486)],s=this[e(457)],n=i[e(498)][e(457)],r=s[e(467)],o=n[e(485)][e(481)]();r[e(483)]=o[e(484)],s[e(491)]();const a=r[e(471)];this[e(492)](r[e(483)],a),s[e(467)][e(472)](e(468)).to(this[e(487)]),n[e(500)](a),this[e(477)][e(499)](t,this[e(471)]),this[e(493)](),this[e(490)](e(465))}[Do(479)](){const t=Do;super[t(479)]();const e=this[t(457)],i=this[t(486)][t(498)][t(457)];this[t(477)][t(502)](),i[t(497)](e[t(467)][t(483)]),e[t(479)]()}[Do(493)](){const t=Do,e=this[t(457)];e[t(470)][t(472)](t(473)).to(this[t(487)],t(468)),e[t(470)][t(462)]=e[t(471)],e[t(470)][t(472)](t(480)).to(this,t(482),(({top:t})=>t)),e[t(488)][t(495)](this[t(455)],this[t(463)]),this[t(469)](e[t(488)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;var Fo=Lo;function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=226]})(t,e)}function Po(){var t=["toolbar","_editable","add","4433652XtMvYr","main","4744YdqvQu","196607YmjWKv","content","top","833577kRTUIZ","stickyPanel","editable","2866568sWtwSp","render","4455280FZpWQK","5193yCCjLn","6zRvQAE","shouldToolbarGroupWhenFull","1591086DqNEGa"];return(Po=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(486531===parseInt(e(234))/1*(-parseInt(e(244))/2)+parseInt(e(237))/3+-parseInt(e(240))/4+parseInt(e(242))/5+parseInt(e(231))/6+parseInt(e(227))/7+-parseInt(e(233))/8*(parseInt(e(243))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(229)];[Fo(238)];[Fo(228)];get[Fo(239)](){return this[Fo(229)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(238)]=new pt.StickyPanelView(t),this[s(228)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(226)]}),this[s(229)]=new pt.InlineEditableUIView(t,e)}[Fo(241)](){var t=Fo;super[t(241)](),this[t(238)][t(235)][t(230)](this[t(228)]),this[t(236)][t(230)](this[t(238)]),this[t(232)][t(230)](this[t(239)])}}const zo=Uo;function Uo(t,e){const i=Ho();return(Uo=function(t,e){return i[t-=411]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(271265===parseInt(e(428))/1+parseInt(e(431))/2*(-parseInt(e(435))/3)+-parseInt(e(413))/4+-parseInt(e(426))/5+parseInt(e(415))/6*(parseInt(e(417))/7)+-parseInt(e(436))/8*(-parseInt(e(420))/9)+parseInt(e(439))/10*(parseInt(e(427))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Wo extends((0,W.ElementApiMixin)(W.Editor)){[zo(437)];get ui(){return this[zo(437)]}constructor(t,e){const i=zo;super(e),this[i(412)]=t,this[i(429)][i(430)][i(433)]();const s=new jo(this[i(421)],this[i(434)][i(418)],{shouldToolbarGroupWhenFull:!0});this[i(437)]=new Eo(this,s)}[zo(440)](){const t=zo;return this[t(411)](),this.ui[t(440)](),super[t(440)]()}static async[zo(414)](t,e){const i=zo,s=new this(t,e);return await s[i(424)](),await s.ui[i(438)](t),await s[i(423)][i(438)](s[i(425)][i(419)](i(422))||""),s[i(416)](i(432)),s}}function Ho(){const t=["data","initPlugins","config","1099525rDCJJu","3727526DxfdpJ","41700vVluGv","model","document","142364eAKTQs","ready","createRoot","editing","18JktDAc","8rKPYMZ","_ui","init","30chOsSR","destroy","updateSourceElement","sourceElement","1755592jPPqNn","create","42lrEipa","fire","296359MMaBqZ","view","get","22527aBLGUw","locale","initialData"];return(Ho=function(){return t})()}const Zo=$o;function qo(){const t=["378581UQCRbT","_recalculatePageBreaks","enableReadOnlyMode","translations","plugins","removeSelectionAttribute","isReady","display","uiLanguage","revisionHistory.closeRevisionViewerCallback","Restored","_getRevisionViewerEditorConfig","revisionHistory.editorContainer","fromCharCode","_update","numeric","removeAttribute","getRevision","revisionHistory.viewerContainer","locale","define","isOpen","toLocaleDateString","enqueueChange","has","revisionHistory","addRoot","requires","exitToEditing","isPremiumPlugin","20995084KDXioF","RevisionHistoryUI","Users","PaginationLookup","create","creator","from","toLocaleTimeString","createdAt","getUser","closeRevisionViewerCallback","then","parse","182010lLaNXP","_showRevisionViewer","isOfficialPlugin","setSelection","72WicdKM","update","RevisionHistory","style","block","revisionHistory.viewerEditorElement","DocumentOutline","showRevisionViewerCallback","pluginName","none","long","push","saveRevision","get","refreshVisibility","isAttached","_cleanUp","createRangeIn","addRevisionData","_enhanceShowRevisionViewerCallback","getMarkersGroup","adapter","detachRoot","revisionHistory.showRevisionViewerCallback","2ufIZlz","join","map","RevisionTracker","catch","Dialog","repository","element","view","insert","document","revision-history-viewer-opened","restrictedEditingException","restoreRevision","refreshPositioning","addUser","setAttribute","42306ujoxRh","indexOf","hide","bind","markers","destroy","toolbar","_enhanceCloseRevisionViewerCallback","RevisionHistoryUtils","Annotations","change","RestrictedEditingMode","selection","isRevisionViewerOpen","438190qyaQYH","_closeRevisionViewer","remove","editor","revision-history-missing-configuration","includes","set","end","getRoot","disableReadOnlyMode","785625rGgTZe","fromVersion","rootName","commands","lazyRoots","8914944HgMXhh","users","save","RevisionViewer","loadRevisionData","isEnabled","toVersion","name","isReadOnly","revisionHistory.requireRevisionName","_restoreRevision","getRevisions","config","keys","model","DocumentOutlineUI","_viewerEditor","Autosave","init","revisionHistory.restoreRevisionCallback","error","getRevisionRootsAttributes","getAttributeKeys","RevisionsRepository","RevisionViewerIntegration","isAnonymous","result","getRevisionDocumentData","changesNavigation","64bIHyvP","$graveyard","1204DgEawT","roots","removeMarker","data","toJSON"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=130]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(721398===parseInt(e(204))/1*(-parseInt(e(275))/2)+parseInt(e(163))/3+-parseInt(e(197))/4*(-parseInt(e(153))/5)+-parseInt(e(139))/6*(parseInt(e(199))/7)+-parseInt(e(168))/8+parseInt(e(251))/9*(-parseInt(e(247))/10)+parseInt(e(234))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Zo(235),Zo(150)];class Yo extends W.Plugin{[Zo(194)];static get[Zo(259)](){return Zo(192)}static get[Zo(249)](){return!0}static get[Zo(233)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(277)]((t=>String[e(217)](t)))[e(276)]("")}super(t),this[e(194)]=e(160),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 W.Plugin{[Zo(184)];static get[Zo(259)](){return Zo(253)}static get[Zo(249)](){return!0}static get[Zo(233)](){return!0}static get[Zo(231)](){return[at,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(156)][i(180)][i(264)](i(229)))throw new t.CKEditorError(i(157),this);this[i(184)]=null,this[i(159)](i(152),!1),this[i(156)][i(180)][i(224)](i(274),(t=>this[i(248)]({...t,translations:this[i(156)][i(223)][i(207)]}))),this[i(156)][i(180)][i(224)](i(213),(t=>this[i(154)](t))),this[i(156)][i(180)][i(224)](i(187),(t=>this[i(178)](t))),this[i(156)][i(180)][i(224)](i(177),!1),this[i(270)](),this[i(146)]()}set[Zo(272)](t){const e=Zo;this[e(156)][e(208)][e(264)](e(278))[e(272)]=t}get[Zo(272)](){const t=Zo;return this[t(156)][t(208)][t(264)](t(278))[t(272)]}[Zo(269)](t){const e=Zo;return this[e(156)][e(208)][e(264)](e(278))[e(269)](t)}[Zo(221)](t){const e=Zo;return this[e(156)][e(208)][e(264)](e(191))[e(221)](t)}[Zo(179)](t){const e=Zo;return this[e(156)][e(208)][e(264)](e(191))[e(179)](t||{toJSON:!1})}[Zo(215)](){const e=Zo,i=this[e(156)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(208)][e(264)](e(278)),r=i[e(208)][e(264)](e(236))[e(169)];return s[e(145)]=[e(232),e(135),e(196)],delete s[e(167)],s[e(208)][e(262)](Yo,ee,be,class extends W.Plugin{static get[e(231)](){return[ee,e(236)]}[e(186)](){const s=e,o=this[s(156)][s(208)][s(264)](s(236));for(const t of r)t[s(193)]||o[s(243)](t.id)||o[s(137)](t);const a=n[s(281)][s(179)]();let c=null;const u=this[s(156)][s(208)][s(264)](s(171));u[s(272)]=n[s(272)],u[s(142)](s(173)).to(n),this[s(156)][s(166)][s(264)](s(135))[s(142)](s(173)).to(i,s(176),(t=>!t));for(const e of a){const i=null===e[s(239)];if(i&&e[s(174)]===e[s(164)])continue;const r=e[s(203)]();u[s(269)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(218)](r,o);else if(!o){const e=a[u(203)]();e.id=(0,t.uid)(),n[u(263)](e,a[u(174)])[u(245)]((t=>{c=t}))}}else e[u(218)](r,o)}))}}},Ro),s}[Zo(270)](){const t=Zo,e=this[t(156)][t(180)][t(264)](t(229))[t(258)];this[t(156)][t(180)][t(159)](t(274),(async()=>{const i=t;this[i(156)][i(206)](i(133));const s=this[i(156)][i(208)][i(264)](i(278));if(this[i(156)][i(208)][i(228)](i(185))){const t=this[i(156)][i(208)][i(264)](i(185));await t[i(170)]()}else await s[i(252)]();if(this[i(156)][i(208)][i(228)](i(237))&&this[i(156)][i(208)][i(264)](i(237))[i(205)](),this[i(156)][i(208)][i(228)](i(280))){const t=this[i(156)][i(208)][i(264)](i(280));t[i(225)]&&t[i(141)]()}const n=this[i(215)]();return e(n)[i(245)]((t=>{const e=i;return this[e(184)]=t,this[e(156)][e(208)][e(228)](e(148))&&this[e(156)][e(208)][e(264)](e(148))[e(265)](),this[e(156)][e(208)][e(228)](e(257))&&(this[e(156)][e(208)][e(264)](e(183))[e(130)][e(282)][e(254)][e(211)]=e(260)),t}))[i(279)]((t=>(console[i(188)](t),this[i(156)][i(162)](i(133)),null)))}))}[Zo(146)](){const t=Zo,e=this[t(156)][t(180)][t(264)](t(229))[t(244)];this[t(156)][t(180)][t(159)](t(213),(()=>(this[t(156)][t(208)][t(228)](t(237))&&this[t(156)][t(208)][t(264)](t(237))[t(205)](),this[t(156)][t(208)][t(228)](t(257))&&(this[t(156)][t(208)][t(264)](t(183))[t(130)][t(282)][t(254)][t(211)]=""),this[t(184)][t(208)][t(264)](t(171))[t(267)](),e(this[t(184)])[t(245)]((()=>{const e=t;if(this[e(156)][e(162)](e(133)),this[e(184)]=null,this[e(156)][e(208)][e(228)](e(148))){const t=this[e(156)][e(208)][e(264)](e(148));t[e(265)](),t[e(136)]()}})))))}[Zo(248)](t){const e=Zo,i=this[e(156)][e(180)][e(264)](e(216)),s=this[e(156)][e(180)][e(264)](e(222)),n=this[e(156)][e(180)][e(264)](e(256));return Wo[e(238)](n,t)[e(245)]((t=>(s[e(254)][e(211)]=e(255),i[e(254)][e(211)]=e(260),this[e(152)]=!0,t)))}[Zo(154)](t){const e=Zo,i=this[e(156)][e(180)][e(264)](e(216));return this[e(156)][e(180)][e(264)](e(222))[e(254)][e(211)]=e(260),i[e(254)][e(211)]="",this[e(152)]=!1,t[e(144)]()}async[Zo(178)](t){const e=Zo,i=this[e(156)],s=this[e(184)][e(208)][e(264)](e(171)),n=i[e(208)][e(264)](e(278)),r=i[e(208)][e(264)](e(147)),o=s[e(281)][e(221)](t);let a,c,u;try{await r[e(172)](o,this[e(272)]),a=r[e(195)](o),c=r[e(189)](o)}catch(t){return void console[e(188)](t)}i[e(182)][e(149)]((t=>{const s=e;for(const e of Array[s(240)](i[s(182)][s(143)][s(271)](s(134))))t[s(201)](e)})),s[e(210)]=!1,i[e(182)][e(227)]((t=>{const s=e;t[s(250)](null),t[s(209)](i[s(182)][s(132)][s(151)][s(190)]());const n=Object[s(181)](a);for(const e of i[s(182)][s(132)][s(200)])s(198)!=e[s(165)]&&e[s(266)]()&&!n[s(158)](e[s(165)])&&t[s(273)](e);for(const e of n){let n=i[s(182)][s(132)][s(161)](e);n&&n[s(266)]()||(n=t[s(230)](e));const r=c[e],o=Object[s(181)](r),u=a[e];for(const e of n[s(190)]())o[s(158)](e)||t[s(220)](e,n);for(const i of o)t[s(138)](i,c[e][i],n);t[s(155)](t[s(268)](n)),t[s(131)](i[s(202)][s(246)](u,n),n,0)}}));const l=Q(i[e(223)],e(214));return u=o[e(175)]?-1==o[e(175)][e(140)](l)?l+": "+o[e(175)]:o[e(175)]:l+": "+o[e(242)][e(226)](i[e(223)][e(212)],{month:e(261),day:e(219)})+", "+o[e(242)][e(241)](i[e(223)][e(212)],{hour:e(219),minute:e(219)}),await n[e(263)]({name:u}),s[e(210)]=!0,i[e(180)][e(264)](e(229))[e(244)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=140]})(t,e)}function Ko(){var t=["4888896UbbjpK","2889318uwgzuK","510860pTrzzt","3HggyMr","2504115HwaRoD","3886309QfEZMQ","3679263HGAkIq","18QJAATD","111802timwXC"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(504439===-parseInt(e(141))/1*(-parseInt(e(140))/2)+-parseInt(e(145))/3*(-parseInt(e(144))/4)+-parseInt(e(146))/5+-parseInt(e(143))/6+parseInt(e(147))/7+-parseInt(e(142))/8+parseInt(e(148))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function 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 P=j;function j(t,e){const i=z();return(j=function(t,e){return i[t-=436]})(t,e)}function z(){const t=["set","9300411WzsFRh","606303ttSPFy","toJSON","model","8iUDnQE","authorsIds","authors","diffData","604gFQbuC","1285530rdSROD","30xNPpbc","fromVersion","map","toVersion","1037358XnGNHS","createdAt","setAttribute","_update","25581250VIXhAT","removeAttribute","12103944duvcJz","setName","creator","fire","name","attributes","creatorId","2859HUUTwL"];return(z=function(){return t})()}!function(t){const e=j,i=t();for(;;)try{if(888448===-parseInt(e(453))/1+-parseInt(e(460))/2*(parseInt(e(450))/3)+parseInt(e(456))/4*(-parseInt(e(461))/5)+parseInt(e(462))/6*(-parseInt(e(437))/7)+parseInt(e(443))/8+-parseInt(e(452))/9+parseInt(e(441))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[P(445)];[P(458)];[P(459)];[P(436)];[P(463)];[P(455)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(445)]=e[i(445)]||null,this[i(458)]=e[i(458)]||[],this[i(459)]=e[i(459)]||null,this[i(436)]=e[i(436)]||0,this[i(463)]=e[i(463)]||0,this[i(451)](i(447),e[i(447)]||""),this[i(451)](i(438),e[i(438)]||new Date),this[i(451)](i(448),e[i(448)]||{})}[P(444)](t){this[P(440)]({name:t})}[P(439)](t,e){const i=P,s=A(this[i(448)]);(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(440)]({attributes:s})}[P(442)](t){const e=P,i=A(this[e(448)]);(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(440)]({attributes:i})}[P(440)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(447),i(438),i(459),i(458),i(448),i(436),i(463),i(449)];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(458)]&&(n[i(457)]=n[i(458)][i(464)]((t=>t.id)),delete n[i(458)]),this[i(446)](i(440),n,e))}[P(454)](){const t=P;return{id:this.id,name:this[t(447)],creatorId:this[t(445)]?this[t(445)].id:null,authorsIds:this[t(458)][t(464)]((t=>t.id)),diffData:this[t(459)],createdAt:this[t(438)],attributes:this[t(448)],fromVersion:this[t(463)],toVersion:this[t(436)]}}}var U=i(782),H=i(211),Z=i(783);const q=B;function B(t,e){const i=$();return(B=function(t,e){return i[t-=121]})(t,e)}function $(){const t=["isOfficialPlugin","earlier","getRevisionsIterator","2783346vFZCsf","requires","href","attributes","RevisionsRepository","getRevisions","getRevision","createdAt","1633024aeKzpS","getLaterVisibleRevision","creatorId","pluginName","push","plugins","map","6BeGGfK","10690267CTOrBI","_revisions","editor","later","join","fromCharCode","addRevision","newRevisionId","isPremiumPlugin","data","add","reverse","oldRevisionId","toJSON","Users","getEarlierVisibleRevision","authorsIds","getIndex","6485636BOtGsg","getRevisionsInDiff","length","toVersion","createRevision","3258845tJbnXW","getUser","isNaN","4767057LYRSOg","fromVersion","from","get","name","afterInit","23601688qbFrTb","diffData"];return($=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(917508===parseInt(e(149))/1+parseInt(e(141))/2+parseInt(e(130))/3+-parseInt(e(122))/4+-parseInt(e(127))/5+parseInt(e(156))/6*(parseInt(e(157))/7)+-parseInt(e(136))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(158)];static get[q(142)](){return[H.Users]}static get[q(152)](){return q(145)}static get[q(138)](){return!0}static get[q(165)](){return!0}get[q(124)](){const t=q;return this[t(158)][t(124)]}constructor(e){const i=q;super(e),this[i(158)]=new t.Collection}[q(135)](){!async function(e){const i=k([88,76,57,122,85,68,66,79,104,51,103,75,55,115,74,70,69,100,97,113,67,105,109,111,72,110,77,102,116,121,117,84,106,73,112,86,54,99,48,65,82,108,50,87,89,119,114,80,98,120,81,53,107,78,101,90,49,52,71,118,83,56]),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(129)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([88]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(155)]((t=>String[e(162)](t)))[e(161)]("")}!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:1749859200;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(143)]);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([102,105,108,116,101,114])]((t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])]))[k([109,97,112])]((t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t)))[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(126)](t){const e=q,i=this[e(159)][e(154)][e(133)](e(171));return new W({id:t.id,name:t[e(134)],creator:t[e(151)]?i[e(128)](t[e(151)]):null,diffData:t[e(137)]||t[e(166)],authors:t[e(173)][e(155)]((t=>i[e(128)](t))),createdAt:new Date(t[e(148)]),attributes:t[e(144)],fromVersion:t[e(131)],toVersion:t[e(125)]})}[q(163)](t,e=0){const i=q;this[i(158)][i(167)](t,e)}[q(147)](t){const e=q;return this[e(158)][e(133)](t)}[q(146)](t={toJSON:!1}){const e=q,i=Array[e(132)](this[e(158)]);return i[e(168)](),t[e(170)]?i[e(155)]((t=>t[e(170)]())):i}[q(121)](t){const e=q;return this[e(158)][e(121)](t)}[q(172)](t){const e=q,[,i]=this[e(140)](t,{direction:e(139)});return i}[q(150)](t){const e=q,[,i]=this[e(140)](t,{direction:e(160)});return i}[q(123)](t){const e=q,i=[];for(const s of this[e(140)](t[e(164)]))if(i[e(153)](s),s.id===t[e(169)])break;return i}*[q(140)](t,{direction:e=q(139),filter:i=()=>!0}={}){const s=q,n=s(139)===e?1:-1;let r=this[s(158)][s(133)](t),o=this[s(121)](r);for(yield r;r;){if(o+=n,r=this[s(147)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=K();return(J=function(t,e){return i[t-=484]})(t,e)}function K(){const t=["_makeModelFromViewString","type","_removeRevisionMarkers","438KZtVYg","config","loadRevisionData","attributesAfter","3723184OGAcMv","RevisionHistoryUtils","innerHTML","117aYpLtt","htmlProcessor","domDocument","getRevisionRootsAttributes","domChildrenToView","marked","16574338KqtUGL","attachChange","name","children","filter","2352jJIgPN","createElement","_getViewFromDiffObj","_typeCharToViewClass","attributes","data","string","collaboration.channelId","isPremiumPlugin","length","isOfficialPlugin","revision-start","_viewClassToTypeChar","toData","_getTypeCharForViewElement","_setCustomProperty","642310mpGhRP","toModel","useFillerType","map","9580fBdeFh","7IyHXnT","domConverter","_appendChild","div","50588TGqnAT","constructor","editor","view","get","startsWith","isAttached","41204WKOaAc","109326LhVtlz","viewChildrenToDom","getFillerOffset","default","insertions","revision-end","customProperties","diffData","getRevisionDocumentData","append","parse","getRevision","processor","render","document","from","childNodes","fillerOffset","data-revision-","editing","forEach","pluginName"];return(K=function(){return t})()}!function(t){const e=J,i=t();for(;;)try{if(875199===-parseInt(e(539))/1+parseInt(e(531))/2+-parseInt(e(488))/3*(-parseInt(e(538))/4)+-parseInt(e(526))/5*(parseInt(e(506))/6)+parseInt(e(527))/7*(-parseInt(e(492))/8)+-parseInt(e(495))/9*(parseInt(e(522))/10)+parseInt(e(501))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends U.Plugin{static get[G(484)](){return G(493)}static get[G(516)](){return!0}static get[G(514)](){return!0}[G(518)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[G(509)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[G(490)](t,e){const i=G;if(t[i(546)]||!e)return;const s=this[i(533)][i(489)][i(535)](i(513)),n=await e[i(550)]({channelId:s,revisionId:t.id});t[i(546)]=n[i(546)]}[G(547)](t){const e=G,i={};for(const s in t[e(546)]){if(t[e(546)][s][e(502)]&&!t[e(546)][s][e(502)][e(537)])continue;const n=this[e(487)](JSON[e(549)](t[e(546)][s][e(543)])),r=this[e(533)][e(558)][e(534)][e(553)],o=new Z.ViewDocumentFragment(r,n[e(525)]((t=>this[e(508)](t,!1))));this[e(533)][e(511)][e(551)][e(524)](e(500)),i[s]=this[e(533)][e(511)][e(551)][e(519)](o),this[e(533)][e(511)][e(551)][e(524)](e(542))}return i}[G(498)](t){const e=G,i={};for(const s in t[e(546)])t[e(546)][s][e(502)]&&!t[e(546)][s][e(502)][e(537)]||(i[s]=t[e(546)][s][e(491)]||{});return i}[G(520)](t){const e=G;return this[e(518)][e(535)](t[e(532)])}[G(508)](t,e){const i=G,s=this[i(533)][i(558)][i(534)][i(553)];if(i(512)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(486)]||"r"==t[i(486)]?[]:t[i(504)][i(525)]((t=>this[i(508)](t,e)));const o=this[i(509)][i(535)](t[i(486)])||Z.ViewElement,a=this[i(533)][i(511)][i(496)][i(528)];if(n=new o(s,t[i(503)],t[i(510)],r),"u"==t[i(486)]&&t[i(504)][0]){const r=t[i(504)][0];if(n[i(552)]=function(t){const e=i,s=t[e(507)](e(530));return s[e(494)]=r,s[e(555)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(529)](n);const e=Array[i(554)](a[i(540)](t,{bind:!1})),r=a[i(497)][i(507)](i(530));r[i(548)](...e),n=Array[i(554)](a[i(499)](r))[0]}}else if("r"==t[i(486)]&&t[i(504)][0]){const r=t[i(504)][0];if(n[i(552)]=function(t){t[i(494)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(529)](n);const e=Array[i(554)](a[i(540)](t,{bind:!1})),r=a[i(497)][i(507)](i(530));r[i(548)](...e);const o=Array[i(554)](a[i(499)](r));o[i(515)]>1?n[i(529)](o):n=o[0]}}if(t[i(545)])for(const[e,s]of t[i(545)])n[i(521)](e,s);const c=void 0===t[i(556)]?null:t[i(556)];return null!==c&&(n[i(541)]=()=>c),n}}[G(485)](t){const e=G,i=JSON[e(549)](t),s=this[e(533)][e(558)][e(534)][e(553)],n=new Z.ViewDocumentFragment(s,i[e(525)]((t=>this[e(508)](t,!0))));return this[e(533)][e(511)][e(523)](n)}[G(487)](t){const e=G;return(t=t[e(505)]((t=>!t[e(503)]||e(517)!==t[e(503)]&&e(544)!==t[e(503)])))[e(559)]((t=>{const i=e;i(512)!=typeof t&&(t[i(504)]=this[i(487)](t[i(504)]),t[i(510)]=t[i(510)][i(505)]((t=>!t[0][i(536)](i(557)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,V;const 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=at;function ot(){const t=["776pfRrPp","history","document","getTime","_diffRootsAttributes","previousPosition","licenseKey","graveyardPosition","some","_makeRevision","isEnabled","delete","getAttributes","createPositionAt","40atzpYi","keys","_cloneOperation","_baseRoots","_appendChild","newValue","getChild","_revisionId","_findInsertionIndex","_fixRange","buildRevisionData","createPositionFromPath","_fixPosition","revisionHistoryLicenseKeyInvalid","deletion","_createInitialRevision","createPositionBefore","vid_start","getRevision","dataToMarker","loadState","domConverter","expired","_getVidAttributeName","loadRevisionData","createdAt","_handleRootOperation","getRevisionDocumentData","getOperations","revisionHistoryLicenseKeyExpired","initialData","addRevisionData","detachRoot","vid_end","toVersion","_handleMarkerOperation","collaboration.channelId","attachChange","getLatestVersion","startsWith","createPositionAfter","split","shift","marker","_diffRoots","vid","_copyMarkers","_removeMetaData","_lastFrom","RevisionHistory","removeRootAttribute","string","getUser","getCustomProperties","markers","fromEntries","_showLicenseError","outerHTML","revisionHistoryLicenseKeyValid","afterInit","_execute","getIndex","_markChanges","_insertChild","isAdd","start","values","addRootAttribute","domDocument","_pendingAction","size","define","parent","keepParagraph","upcast","_setAttribute","find","pluginName","resolve","offsetSize","newRange","_idsRoots","_authorId","3532375cFPORT","path","reinsert","includes","hasContent","_processRootBeforeSave","max","diffData","insertions","plugins","11620LPRgKH","getRoot","_reset","get","push","getRange","ready","deletions","isAttached","_revisionDataBuilder","tableCell","_startingVersion","requires","updateRevisions","_baseIdsRoots","root","_markers","getAncestors","rootName","insertion","item","125635XeKTCe","50319APRbEm","_setConversion","then","reverse","_calculateMetaData","537TKcrty","add","length","init","rootsAttributes","_getState","_update","_lastTo","$graveyard","getMovedRangeStart","_continueCurrentRevision","isPremiumPlugin","affectsData","merge","version","trim","targetPosition","_loadState","slice","stringify","_bufferedUpdates","oldRange","stickiness","_handleSplitOperation","for","attributesAfter","_prepareViewToSave","_handleMoveOperation","getTransformedByOperation","update","$comment","_transformMarkers","userId","roots","_applyOperations","documentFragment","usageLimit","_getTypeCharForViewElement","_licenseKeyCheckInterval","paragraph","_touched","uiElement","_createFromRanges","finally","_makeModelFromViewString","NEGATIVE_INFINITY","nodeAfter","_startingRevisionId","createRangeIn","_getViewJson","reInit","revisionHistoryLicenseKeyNotAllowed","_saveMetaData","offset","getRootNames","sourcePosition","remove","set","createRevision","elementStart","_addPendingAction","sendBufferedUpdates","RevisionTracker","revisionHistoryLicenseKeyUsageLimit","model","getOperation","childCount","RevisionsRepository","children","getChildren","sort","_initialRevisionId","getData","_removePendingAction","getAttribute","revisionHistoryLicenseKeyEvaluationLimit","splitPosition","getNodeByPath","nodes","evaluationLimit","_handleMergeOperation","_generateTape","filter","_operations","_makeIdsRoot","bind","attributesBefore","_createCurrentRevision","conversion","revisionHistory.resumeUnsavedRevision","source","_isPendingUpdate","currentRevision","map","howMany","getRevisionRootsAttributes","insertionPosition","_getPreviousFrom","getWalker","authors","text","innerHTML","Empty document","PendingActions","config","$text","data","_loadedStateData","_clone","saveRevision","repository","rawElement","initial","invalid","toView","fillerOffset","isReady","type","range","move","name","clear","from","isEqual","getRevisions","isOfficialPlugin","_touchedRoots","htmlProcessor","_isAttached","_fixOperation","216580jsHiom","revision:","_savedMetaData","insert","createElement","_handleOperation","revisionHistoryLicenseKeyTrialLimit","RevisionHistoryUtils","markerToData","elementEnd","end","RealTimeCollaborationClient","adapter","createRange","editor","_utils","authorsIds","addRoot","creator","has","_bufferUpdate","domainLimit","locale","1310CumGVg","dataDowncast","customProperties","featureNotAllowed","_isInit","_replaceEditorDataWithRevisionData","getCurrentRevisionId","PENDING_ACTION_REVISION_HISTORY","key","getFillerOffset","changeRootAttribute","20wIPSmw","render","destroy","Users","trialLimit","position","addRevision","_getFromVersion","setRevisionData","Initial revision","element","revision","fromVersion","editor-initial-data-replaced-with-revision-data","_touchedMarkers","_baseRootsAttributes","clone","baseVersion","_handleRootAttributeOperation","1305570VHSOPK","_getBaseVids","setSource","creatorId","revisionHistoryLicenseKeyDomainLimit","_handleInsertOperation","_source"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=111]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(191874===-parseInt(e(117))/1+parseInt(e(140))/2*(-parseInt(e(311))/3)+-parseInt(e(151))/4*(-parseInt(e(305))/5)+parseInt(e(170))/6+-parseInt(e(284))/7*(parseInt(e(177))/8)+parseInt(e(306))/9*(parseInt(e(191))/10)+parseInt(e(274))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends U.Plugin{[rt(183)];[rt(349)];[rt(403)]=null;[rt(421)];[rt(129)]=null;[rt(293)];[rt(176)];[rt(382)];[rt(331)];[rt(132)];[rt(260)];[rt(321)];[rt(295)];[rt(418)];static get[rt(268)](){return rt(373)}static get[rt(112)](){return!0}static get[rt(322)](){return!0}static get[rt(296)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(421)]=this[i(131)][i(283)][i(287)](i(378)),this[i(132)]=this[i(131)][i(283)][i(287)](i(124)),this[i(293)]=new ut(this[i(131)]),this[i(382)]=this[i(131)][i(415)][i(287)](i(227))||i(423),this[i(331)]=new Map,this[i(418)]=null;const s=(0,t.uid)();this[i(176)]={history:this[i(131)][i(375)][i(179)][i(178)],getLatestVersion:()=>Promise[i(269)](this[i(131)][i(375)][i(179)][i(325)]),getCurrentRevisionId:()=>s},this[i(368)](i(427),!1),this[i(368)](i(187),!0),this[i(368)](i(402),!1),this[i(131)][i(415)][i(262)](i(400),!0),this[i(131)][i(399)][i(335)](i(265))[i(210)]({view:i(162)})}[rt(314)](){const t=rt;this[t(307)](),this[t(131)][t(417)].on(t(290),(()=>{const e=t,i=this[e(421)][e(209)](0),s=i&&null===i[e(135)]?i:null;if(this[e(321)]=!!s&&this[e(131)][e(415)][e(287)](e(400)),this[e(131)][e(283)][e(136)](e(128))){const t=this[e(176)][e(146)](),n=this[e(421)][e(209)](t);if(n)this[e(295)]=n[e(163)],this[e(321)]=!1;else{const t=this[e(176)][e(178)][e(394)][e(267)]((t=>!t[e(144)])),n=t?t[e(168)]:this[e(176)][e(178)][e(325)];i?(i[e(225)]<n&&i[e(317)]({toVersion:n}),this[e(321)]?(this[e(176)][e(146)]=()=>s.id,this[e(295)]=s[e(163)]):(this[e(295)]=i[e(225)],this[e(321)]=!1)):(this[e(295)]=n,this[e(321)]=!1)}}else s&&(this[e(131)][e(375)][e(179)][e(178)][e(325)]=Math[e(280)](s[e(225)],this[e(131)][e(375)][e(179)][e(178)][e(325)]),s[e(163)]===s[e(225)]?(0!==s[e(163)]&&(this[e(176)][e(146)]=()=>s.id),this[e(321)]=!1):this[e(321)]&&(this[e(176)][e(146)]=()=>s.id,this[e(295)]=s[e(163)])),this[e(321)]||(this[e(295)]=this[e(131)][e(375)][e(179)][e(325)]);this[e(293)][e(314)](this[e(176)][e(178)]),this[e(206)](this[e(295)]),this[e(398)](this[e(295)]),this[e(129)]&&this[e(372)]()})),this[t(396)](t(427)).to(this,t(402),(t=>!t)),this[t(183)]=this[t(131)][t(415)][t(287)](t(183));const e=this[t(131)];this[t(349)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(249)==r||i(204)==r||i(220)==r||i(174)==r||i(362)==r||i(386)==r||i(123)==r||i(374)==r){delete e[n],s=r,clearInterval(this[i(349)]),this[i(349)]=void 0;break}}i(204)==s&&e[i(247)](i(424)),i(220)==s&&e[i(247)](i(213)),i(174)==s&&e[i(247)](i(138)),i(362)==s&&e[i(247)](i(143),i(240)),i(386)==s&&e[i(247)](i(390)),i(123)==s&&e[i(247)](i(155)),i(374)==s&&e[i(247)](i(347))}),1e3)}async[rt(250)](){const t=rt;if(this[t(421)][t(313)]>0){const e=this[t(421)][t(209)](0),i=await this[t(218)](e),s=await this[t(406)](e);this[t(145)](i,s)}}[rt(153)](){const t=rt;super[t(153)](),this[t(349)]&&clearInterval(this[t(349)])}[rt(172)](t){this[rt(176)]=t}async[rt(340)](){const t=rt,e=await this[t(176)][t(229)]();if(e>this[t(403)][t(225)]){await this[t(328)]();const i=this[t(201)]({revision:this[t(403)],to:e});i[t(410)]=i[t(133)][t(404)]((e=>this[t(131)][t(283)][t(287)](t(154))[t(243)](e))),this[t(403)][t(317)](i)}}async[rt(420)](e={},i=null){const s=rt,n=[];await this[s(328)](),this[s(321)]=!1,i>this[s(403)][s(225)]&&(i=null),null===i&&(i=await this[s(176)][s(229)]());const r=this[s(158)](i),o=this[s(201)]({from:r,to:i});if(this[s(403)][s(225)]<i){const t=this[s(201)]({revision:this[s(403)],from:i,to:i});t[s(410)]=[],t[s(133)]=[],t.id=this[s(403)].id,this[s(403)][s(317)](t,!0),delete t[s(410)],n[s(288)](t)}e[s(173)]=this[s(131)][s(283)][s(287)](s(154)).me.id,e[s(431)]=e[s(431)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(222)](e);n[s(288)](e);const c=this[s(421)][s(252)](a);if(0!==c){const t=this[s(421)][s(209)](c-1);if(t[s(163)]!==i){const r=this[s(293)][s(383)](i,t[s(225)]),o={id:t.id,diffData:r[s(281)],authorsIds:r[s(133)],authors:r[s(133)][s(404)]((t=>this[s(131)][s(283)][s(287)](s(154))[s(243)](t))),fromVersion:i};t===this[s(403)]&&(o[s(216)]=new Date(e[s(216)][s(180)]()+10)),t[s(317)](o,!0),delete o[s(410)],n[s(288)](o)}}if(this[s(129)]){for(const t of n)this[s(137)](t.id,t,!0);this[s(372)]()}return a}[rt(222)](t){const e=rt,i=this[e(421)][e(369)](t);return this[e(129)]&&i.on(e(317),((t,i,s)=>{const n=e;s||(this[n(137)](i.id,i,!0),this[n(372)]())})),this[e(421)][e(157)](i,this[e(199)](i)),i}async[rt(218)](t){const e=rt;return await this[e(132)][e(215)](t,this[e(129)]),this[e(132)][e(218)](t)}async[rt(406)](t){const e=rt;return await this[e(132)][e(215)](t,this[e(129)]),this[e(132)][e(406)](t)}[rt(372)](){const t=rt;if(0===this[t(331)][t(261)])return;if(this[t(402)])return;let e=Array[t(433)](this[t(331)][t(257)]());this[t(331)][t(432)]();for(let i=0;i<e[t(313)];i++){const s=e[i];let n=!1;for(const e of Object[t(192)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(393)]((t=>null!==t)),!e[t(313)])return;for(let i=0;i<e[t(313)];i++){const s=e[i];void 0!==s[t(163)]&&void 0===s[t(225)]&&(s[t(225)]=this[t(421)][t(209)](s.id)[t(225)]),void 0!==s[t(225)]&&void 0===s[t(163)]&&(s[t(163)]=this[t(421)][t(209)](s.id)[t(163)])}const i=this[t(131)][t(415)][t(287)](t(227));this[t(402)]=!0,this[t(371)](),this[t(129)][t(297)](e,i)[t(354)]((()=>{this[t(402)]=!1}))[t(308)]((e=>{const i=t;if(e)for(const t of e)this[i(159)]({id:t.id,createdAt:t[i(216)]});this[i(384)](),this[i(372)]()}))}[rt(201)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(163)],i=null!==i?i:t[s(225)];const n=this[s(293)][s(383)](e,i),r={diffData:n[s(281)],authorsIds:n[s(133)],fromVersion:e,toVersion:i};if(!t||i!==t[s(225)]){const t=i-1,e=this[s(176)][s(178)][s(376)](t);r[s(216)]=e&&e[s(216)]||new Date}if(this[s(418)]&&e===this[s(418)][s(163)])for(const t of this[s(418)][s(410)])r[s(133)][s(277)](t.id)||r[s(133)][s(288)](t.id);return r}[rt(137)](t,e,i){const s=rt;if(this[s(331)][s(136)](t)){const n=this[s(331)][s(287)](t);e=i?{...n,...e}:{...e,...n}}this[s(331)][s(368)](t,e)}[rt(159)](t){const e=rt,i=this[e(421)][e(209)](t.id);if(t[e(216)]&&(t[e(216)]=new Date(t[e(216)])),t[e(133)]){const i=this[e(131)][e(283)][e(287)](e(154));t[e(410)]=t[e(133)][e(404)]((t=>i[e(243)](t)))}i[e(317)](t,!0)}[rt(206)](t){const e=rt,i=this[e(421)][e(209)](this[e(421)][e(313)]-1);if(i)this[e(382)]=i.id;else{const i=!this[e(131)][e(375)][e(179)][e(344)][e(267)]((t=>this[e(131)][e(375)][e(278)](t))),s=this[e(131)][e(283)][e(287)](e(154)).me.id,n=Q(this[e(131)][e(139)],e(i?413:160));this[e(186)]({from:t,to:t,id:this[e(382)],name:n,creatorId:s})}}[rt(398)](t){const e=rt,i=this[e(176)][e(146)]();this[e(403)]=this[e(421)][e(209)](i),this[e(403)]||(this[e(403)]=this[e(186)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(328)](){const t=rt;this[t(321)]&&!this[t(418)]&&(await this[t(132)][t(215)](this[t(403)],this[t(129)]),this[t(293)][t(211)](this[t(403)]),this[t(418)]={fromVersion:this[t(403)][t(163)],authors:this[t(403)][t(410)][t(329)]()})}[rt(145)](e,i){const s=rt;let n=this[s(131)][s(415)][s(287)](s(221)),r=this[s(131)][s(415)][s(287)](s(315));if(void 0===n){n={};for(const t of this[s(131)][s(375)][s(179)][s(365)]())n[t]=""}if(s(242)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(131)][s(375)][s(179)][s(365)]())r[t]={}}let o=!1;const a=Object[s(192)](n),c=Object[s(192)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(326)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(192)](r[t])[s(313)]>0){o=!0;break}}o||(o=c[s(185)]((t=>!this[s(131)][s(375)][s(179)][s(285)](t)))),o&&(0,t.logWarning)(s(164),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(131)][s(415)][s(368)](s(221),e),this[s(131)][s(415)][s(368)](s(315),i)}[rt(371)](){const t=rt;if(!this[t(260)]){const e=this[t(131)][t(283)][t(287)](t(414));this[t(260)]=e[t(312)](Q(this[t(131)][t(139)],t(147)))}}[rt(384)](){const t=rt;this[t(260)]&&(this[t(131)][t(283)][t(287)](t(414))[t(367)](this[t(260)]),this[t(260)]=null)}[rt(199)](t){const e=rt,i=this[e(421)][e(111)]();i[e(309)]();let s=0;for(;s<i[e(313)];){const n=i[s];if(n===this[e(403)]){s++;continue}if(n.id===this[e(382)])break;const r=t[e(225)]-n[e(225)]||t[e(163)]-n[e(163)];if(r>0)break;if(r<0)s++;else{if(!t[e(135)]&&n[e(135)])break;if(n[e(135)]||!t[e(135)]){if(t[e(216)]>n[e(216)])break;s++}else s++}}return s}[rt(158)](t){const e=rt,i=this[e(421)][e(111)]();i[e(309)](),i[e(233)]();const s=i[e(267)]((i=>i[e(225)]<=t))[e(225)];return s<this[e(295)]?this[e(295)]:s}[rt(186)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(201)]({from:e,to:i});o[r(431)]=t,o[r(173)]=s,o.id=n;const a=this[r(222)](o);return this[r(129)]&&this[r(137)](o.id,o,!0),a}[rt(307)](){const t=rt;this[t(131)][t(399)][t(335)](t(141))[t(125)]({model:t(162)})}}class ut{[rt(131)];[rt(401)];[rt(119)];[rt(239)];[rt(318)];[rt(300)];[rt(235)];[rt(181)];[rt(194)];[rt(166)];[rt(272)];[rt(298)];[rt(351)];[rt(165)];[rt(113)];[rt(198)];[rt(358)];constructor(t){const e=rt;this[e(131)]=t,this[e(119)]=new Map,this[e(239)]=-1,this[e(318)]=-1,this[e(300)]=new Map,this[e(235)]=new Map,this[e(181)]=new Map,this[e(194)]=new Map,this[e(166)]=new Map,this[e(272)]=new Map,this[e(298)]=new Map,this[e(351)]=new Map,this[e(165)]=new Map,this[e(113)]=new Map,this[e(198)]=1}[rt(314)](t){const e=rt;this[e(401)]=t;const i=new Map,s=new Map,n=this[e(131)][e(375)][e(179)][e(344)][e(404)]((t=>t[e(302)]));for(const t of n){const n=this[e(131)][e(375)][e(179)][e(285)](t),r=lt(n);i[e(368)](t,r),s[e(368)](t,Object[e(246)](n[e(189)]()))}const r=Array[e(433)](this[e(131)][e(375)][e(245)])[e(404)]((t=>[t[e(431)],t[e(289)]()])),o=this[e(401)][e(325)];this[e(363)](o,i,r,s),this[e(358)]=this[e(198)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(368)](t,i),c[e(368)](t,{})}this[e(363)](Number[e(356)],a,[],c)}[rt(383)](t,e){const i=rt;if(this[i(239)]===t&&this[i(318)]<=e)this[i(119)][i(261)]>1&&this[i(238)](this[i(318)]),this[i(345)](this[i(318)],e,!0);else{if(!this[i(119)][i(136)](t)){const e=this[i(408)](t);this[i(310)](e,t,!1)}this[i(310)](t,e,!0)}return this[i(239)]=t,this[i(318)]=e,this[i(316)]()}[rt(211)](t){const e=rt,i=this[e(131)][e(283)][e(287)](e(124));this[e(286)](),this[e(239)]=t[e(163)],this[e(318)]=t[e(225)];for(const s in t[e(281)]){const n=t[e(281)][s][e(228)],r=A(t[e(281)][s][e(397)])||{},o=i[e(355)](t[e(281)][s][e(291)]);o[e(302)]=s,o[e(115)]=!n||!n[e(292)],o[e(292)]=()=>o[e(115)],this[e(194)][e(368)](s,o),this[e(166)][e(368)](s,r),n&&this[e(113)][e(368)](s,n);const a=this[e(395)](o);this[e(298)][e(368)](s,a);for(const[t,i]of o[e(245)]){if(!t[e(230)](e(118)))continue;const s=t[e(232)](":")[2];for(const t of i[e(409)]({singleCharacters:!0})){const i=this[e(214)](t),n=e(126)==t[e(428)]?t[e(182)][e(275)][e(329)](0,-1):t[e(182)][e(275)],r=a[e(388)](n)[e(385)](i);this[e(351)][e(368)](r,{userId:s})}}}this[e(358)]=this[e(198)];const s=[...Array(this[e(198)])[e(192)]()][e(329)](1)[e(393)]((t=>!this[e(351)][e(136)](t)));let n=0;const r=new Map;for(const o in t[e(281)]){const a=t[e(281)][o][e(228)],c=A(t[e(281)][o][e(336)])||{},u=i[e(355)](t[e(281)][o][e(282)]);u[e(302)]=o,u[e(115)]=!a||a[e(292)],u[e(292)]=()=>u[e(115)],this[e(235)][e(368)](o,u),this[e(181)][e(368)](o,c);const l=this[e(395)](u,Number[e(356)]);this[e(272)][e(368)](o,l),r[e(368)](o,u[e(292)]()?c:{});for(const[t,i]of u[e(245)]){if(!t[e(230)](e(118)))continue;const s=t[e(232)](":")[2];for(const t of i[e(409)]({singleCharacters:!0})){const i=this[e(214)](t),n=this[e(198)]++,r=e(126)==t[e(428)]?t[e(182)][e(275)][e(329)](0,-1):t[e(182)][e(275)];l[e(388)](r)[e(266)](i,n),this[e(351)][e(368)](n,{userId:s})}}for(const t of this[e(131)][e(375)][e(359)](u)[e(409)]({singleCharacters:!0})){const i=this[e(214)](t),r=e(126)==t[e(428)]?t[e(182)][e(275)][e(329)](0,-1):t[e(182)][e(275)],o=l[e(388)](r);o[e(385)](i)>0||o[e(266)](i,s[n++])}for(const[t,i]of u[e(245)])t[e(230)](e(118))||this[e(300)][e(368)](t,i)}const o=ht(e(319));this[e(194)][e(368)](e(319),o),this[e(298)][e(368)](e(319),this[e(395)](o,1));const a=ht(e(319));this[e(235)][e(368)](e(319),a),this[e(272)][e(368)](e(319),this[e(395)](a,1));const c=Array[e(433)](this[e(235)])[e(404)]((([t,e])=>[t,lt(e)]));this[e(363)](this[e(318)],c,this[e(300)],r)}[rt(361)](){const t=rt;this[t(286)](),this[t(239)]=-1,this[t(318)]=-1,this[t(119)][t(432)](),this[t(314)](this[t(401)])}[rt(363)](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(368)](t,{start:e[n(256)][n(167)](),end:e[n(127)][n(167)](),rootName:e[n(299)][n(302)]});this[n(119)][n(368)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(238)](t){const e=rt;this[e(119)][e(188)](t)}[rt(286)](){const t=rt;this[t(351)][t(432)](),this[t(165)][t(432)](),this[t(113)][t(432)](),this[t(235)][t(432)](),this[t(181)][t(432)](),this[t(194)][t(432)](),this[t(166)][t(432)](),this[t(272)][t(432)](),this[t(298)][t(432)](),this[t(300)][t(432)](),this[t(198)]=1,this[t(358)]=this[t(198)]}[rt(395)](t,e=null){const i=rt;let s=null;t.is(i(346))||(s=new Z.Element(t[i(431)],{vid_start:null===e?this[i(198)]++:e++}));const n=[];for(const s of t[i(380)]())if(s.is(i(161))){n[i(288)](this[i(395)](s,e));const t=n[n[i(313)]-1];null!==e&&(e=t.is(i(161),i(416))?t[i(385)](i(236))+1:t[i(385)](i(224))+1)}else for(let t=0;t<s[i(270)];t++)n[i(288)](new Z.Element(i(416),{vid:null===e?this[i(198)]++:e++}));if(t.is(i(346))){const e=ht(t[i(302)]);return e[i(254)](0,n),e}return s[i(266)](i(224),null===e?this[i(198)]++:e++),s[i(254)](0,n),s}[rt(310)](t,e,i){const s=rt;this[s(286)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(119)][s(287)](t);this[s(194)]=new Map(n),this[s(166)]=new Map(A(o));for(const[t,e]of this[s(194)])if(s(319)!==t&&(this[s(235)][s(368)](t,lt(e)),this[s(181)]=new Map(A(o)),i)){const i=this[s(198)];this[s(272)][s(368)](t,this[s(395)](e)),this[s(298)][s(368)](t,this[s(395)](e,i))}this[s(358)]=this[s(198)],this[s(235)][s(368)](s(319),lt(this[s(194)][s(287)](s(319)))),i&&this[s(272)][s(368)](s(319),this[s(395)](this[s(194)][s(287)](s(319))));for(const[t,e]of r){const i=this[s(194)][s(287)](e[s(302)]),n=this[s(235)][s(287)](e[s(302)]),r=new Z.Range(this[s(203)](e[s(256)],i),this[s(203)](e[s(127)],i)),o=this[s(200)](r,n);i[s(245)][s(368)](t,r),this[s(300)][s(368)](t,o)}this[s(345)](t,e,i)}[rt(345)](t,e,i){const s=rt;for(const n of this[s(401)][s(219)](t,e))this[s(122)](n,i);for(const t of this[s(235)][s(257)]())t[s(245)][s(432)]();for(const[t,e]of this[s(300)])this[s(235)][s(287)](e[s(299)][s(302)])[s(245)][s(368)](t,e[s(167)]());const n=new Map,r=new Map;for(const[t,e]of this[s(235)])n[s(368)](t,lt(e)),r[s(368)](t,this[s(181)][s(287)](t));this[s(363)](e,n,this[s(300)],r)}[rt(408)](t){const e=rt,i=Array[e(433)](this[e(119)][e(192)]());i[e(381)](((t,e)=>t-e)),i[e(309)]();for(const e of i)if(e<t)return e;return Number[e(356)]}[rt(237)](t,e){const i=rt,s=Array[i(433)](e[i(245)])[i(404)]((([e,s])=>[e,this[i(200)](s,t)]));t[i(245)]=new Map(s)}[rt(342)](t){const e=rt;for(const i of this[e(300)][e(257)]()){const s=i[e(339)](t),n=Z.Range[e(353)](s);i[e(256)]=n[e(256)],i[e(127)]=n[e(127)]}}[rt(122)](t,e){const i=rt;if(i(134)!=t[i(428)]&&i(223)!=t[i(428)]){if(i(120)==t[i(428)]){const s=t[i(156)][i(299)][i(302)];this[i(235)][i(136)](s)||(this[i(235)][i(368)](s,ht(s,!0)),this[i(181)][i(368)](s,{}),e&&this[i(272)][i(368)](s,ht(s,!0)))}else{if(i(258)==t[i(428)]||i(241)==t[i(428)]||i(150)==t[i(428)])return void this[i(169)](t);i(234)==t[i(428)]&&this[i(226)](t)}if(i(234)!==t[i(428)]){const e=this[i(193)](t,this[i(235)]);e[i(251)](),this[i(342)](e)}if(e)switch(t[i(428)]){case i(120):this[i(175)](t);break;case i(430):case i(367):case i(276):this[i(338)](t);break;case i(324):this[i(391)](t);break;case i(232):this[i(334)](t)}}else this[i(217)](t,e)}[rt(193)](t,e){const i=rt,s=t[i(167)]();return s[i(273)]=t[i(273)],this[i(116)](s,e),s}[rt(171)](t){const e=rt;return t[e(404)]((t=>{const i=e,s=this[i(214)](t);return Number(t[i(304)][i(385)](s))}))}[rt(392)](t,e){const i=rt;if(t.is(i(161),i(416)))e[i(288)]({item:t,type:i(411)});else{t.is(i(161))&&e[i(288)]({item:t,type:i(370)});for(const s of t[i(380)]())this[i(392)](s,e);t.is(i(161))&&e[i(288)]({item:t,type:i(126)})}return e}[rt(316)](){const t=rt,e=new Map(this[t(351)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(194)][t(192)](),...this[t(235)][t(192)]()]);a[t(188)](t(319));for(const e of a){const i=this[t(235)][t(287)](e)||ht(e,!1),s=this[t(194)][t(287)](e)||ht(e,!1);i[t(292)]()||s[t(292)]()?(n[t(282)][e]=lt(i),n[t(291)][e]=lt(s),this[t(237)](n[t(291)][e],s),this[t(237)](n[t(282)][e],i),r[t(282)][e]=this[t(392)](this[t(272)][t(287)](e),[]),r[t(291)][e]=this[t(392)](this[t(298)][t(287)](e)||ht(e,!1),[])):a[t(188)](e)}for(const n of a){const o=r[t(282)][n];for(const n of o){const r=this[t(214)](n),o=n[t(304)][t(385)](r);i[t(188)](o),o>=this[t(358)]&&s[t(368)](o,e[t(287)](o))}}for(const n of a){const a=r[t(282)][n],c=this[t(171)](r[t(291)][n]);let u=0;for(const n of a){const r=this[t(214)](n),a=n[t(304)][t(385)](r);if(!s[t(136)](a)&&!o[t(136)](a))if(i[t(136)](a))u++;else{if(a!=c[u]){const s=e[t(287)](a)||e[t(287)](c[u]);for(;a!=c[u];)i[t(136)](c[u])||(o[t(368)](c[u],s),e[t(368)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(282)][e];for(const e of n){const n=this[t(214)](e),r=e[t(304)][t(385)](n);if(o[t(136)](r)){const e=o[t(287)](r);i[t(136)](r)||i[t(368)](r,{...e}),s[t(368)](r,{...e})}}}for(const e of i[t(192)]())e>=this[t(358)]&&i[t(188)](e);const c=new Map;for(const e of a){let n=r[t(282)][e];for(const e of n)if(e[t(304)].is(t(161),t(294))){const i=this[t(214)](e),n=e[t(304)][t(385)](i);if(s[t(136)](n)){const i=e[t(304)][t(263)][t(263)][t(385)](t(208)),r=c[t(287)](i)||new Set;r[t(312)](s[t(287)](n)[t(343)]),c[t(368)](i,r)}}n=r[t(291)][e];for(const e of n)if(e[t(304)].is(t(161),t(294))){const s=this[t(214)](e),n=e[t(304)][t(385)](s);if(i[t(136)](n)){const s=e[t(304)][t(263)][t(263)][t(385)](t(208)),r=c[t(287)](s)||new Set;r[t(312)](i[t(287)](n)[t(343)]),c[t(368)](s,r)}}for(const e of c[t(192)]())(s[t(136)](e)||i[t(136)](e))&&c[t(188)](e)}for(const e of a){const n=r[t(282)][e];let o=null,a=null;for(const e of n){const n=this[t(214)](e),r=e[t(304)][t(385)](n),u=c[t(287)](r);u&&t(370)==e[t(428)]&&(o=Array[t(433)](u)[0],a=e[t(304)][t(385)](t(224))),o&&(i[t(368)](r,{userId:o}),s[t(368)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(291)][e],a=n[t(282)][e];for(const{userId:e}of this[t(165)][t(257)]())null!==e&&l[t(312)](e);for(const{userId:e}of this[t(113)][t(257)]())null!==e&&l[t(312)](e);this[t(253)](a,r[t(282)][e],s,t(303),l),this[t(253)](o,r[t(291)][e],i,t(205),l),u[e]={insertions:this[t(337)](a),deletions:this[t(337)](o),attachChange:this[t(113)][t(287)](e)||null,attributesBefore:A(this[t(166)][t(287)](e))||{},attributesAfter:A(this[t(181)][t(287)](e))}}return{diffData:u,authorsIds:Array[t(433)](l)}}[rt(279)](t){const e=rt;for(const[,i]of t[e(245)]){const t=i[e(256)][e(301)]()[e(393)]((t=>e(294)==t[e(431)]));for(const i of t)1==i[e(377)]&&i[e(197)](0).is(e(161),e(350))&&i[e(197)](0)[e(266)](e(264),!0)}}[rt(337)](t){const e=rt;this[e(279)](t);const i=this[e(131)][e(417)][e(425)](t,{}),s=Array[e(433)](i[e(380)]())[e(404)]((t=>this[e(360)](t)));return JSON[e(330)](s)}[rt(360)](t){const e=rt;if(t.is(e(416)))return t[e(417)];{const i=this[e(131)][e(283)][e(287)](e(124)),s=t,n=this[e(131)][e(417)][e(114)][e(212)],r={type:i[e(348)](s),name:s[e(431)],attributes:Array[e(433)](s[e(189)]()),children:Array[e(433)](s[e(380)]())[e(404)]((t=>this[e(360)](t)))};if(t.is(e(352))&&e(341)!=t[e(431)]){const i=t[e(152)](n[e(259)],n);r[e(379)][e(288)](i[e(248)])}else if(t.is(e(422))){const i=n[e(259)][e(121)](s[e(431)]);t[e(152)](i,n),r[e(379)][e(288)](i[e(412)])}const o=Array[e(433)](s[e(244)]());o[e(313)]>0&&(r[e(142)]=o);const a=s[e(149)]();return null!==a&&(r[e(426)]=a),r}}[rt(253)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(131)][r(375)];for(let s=0;s<e[r(313)];s++){const n=this[r(214)](e[s]),c=e[s][r(304)][r(385)](n),h=i[r(287)](c),d=s==e[r(313)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(343)]!=o[r(343)])&&(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(343)],d=l(118)+s+":"+h+":"+c++,f=u[l(130)](i,a);t[l(245)][l(368)](d,f),null!==h&&n[l(312)](h)}}[rt(214)](t){const e=rt;switch(t[e(428)]){case e(370):return e(208);case e(126):return e(224);default:return e(236)}}[rt(116)](t,e){const i=rt;t[i(168)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(287)](n[i(299)][i(302)]);t[s]=this[i(203)](n,r)}if(n instanceof Z.Range){const r=e[i(287)](n[i(299)][i(302)]);t[s]=this[i(200)](n,r)}i(299)===s&&(t[i(299)]=e[i(287)](t[i(299)][i(302)]))}}[rt(200)](t,e){const i=rt;return this[i(131)][i(375)][i(130)](this[i(203)](t[i(256)],e),this[i(203)](t[i(127)],e))}[rt(203)](t,e){const i=rt;return this[i(131)][i(375)][i(202)](e,t[i(275)],t[i(333)])}[rt(175)](t){const e=rt,i=this[e(272)][e(287)](t[e(156)][e(299)][e(302)]),s=this[e(203)](t[e(156)],i),n=null===t[e(273)]?null:t[e(273)]||this[e(131)][e(283)][e(287)](e(154)).me.id,r=s[e(263)],o=this[e(198)],a=[];for(const i of t[e(389)])if(i.is(e(161)))a[e(288)](this[e(395)](i));else for(let t=0;t<i[e(270)];t++)a[e(288)](new Z.Element(e(416),{vid:this[e(198)]++}));const c=this[e(198)];for(let t=o;t<c;t++)this[e(351)][e(368)](t,{userId:n});r[e(254)](s[e(364)],a)}[rt(338)](t){const e=rt;(t=this[e(193)](t,this[e(272)]))[e(251)]();const i=null===t[e(273)]?null:t[e(273)]||this[e(131)][e(283)][e(287)](e(154)).me.id,s=t[e(320)](),n=s[e(263)],r=s[e(364)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(197)](e);r.is(a(161),a(416))?s[a(368)](r[a(385)](a(236)),{userId:i}):(s[a(368)](r[a(385)](a(208)),{userId:i}),t(s,r,0,r[a(377)]),s[a(368)](r[a(385)](a(224)),{userId:i}))}}(this[e(351)],n,r,r+t[e(405)])}[rt(391)](t){const e=rt,i=null===(t=this[e(193)](t,this[e(272)]))[e(273)]?null:t[e(273)]||this[e(131)][e(283)][e(287)](e(154)).me.id,s=t[e(327)][e(263)],n=t[e(366)][e(263)],r=s[e(385)](e(224)),o=n[e(385)](e(208));s[e(266)](e(224),n[e(385)](e(224))),n[e(266)](e(224),r),this[e(351)][e(368)](o,{userId:i}),this[e(351)][e(368)](r,{userId:i}),t[e(251)]()}[rt(334)](t){const e=rt,i=null===(t=this[e(193)](t,this[e(272)]))[e(273)]?null:t[e(273)]||this[e(131)][e(283)][e(287)](e(154)).me.id,s=t[e(184)],n=t[e(387)][e(263)];t[e(251)]();const r=n[e(385)](e(224)),o=t[e(407)][e(357)];if(s){const t=o[e(385)](e(224)),s=n[e(385)](e(224));n[e(266)](e(224),t),o[e(266)](e(224),s),this[e(351)][e(368)](n[e(385)](e(224)),{userId:i}),this[e(351)][e(368)](o[e(385)](e(208)),{userId:i})}else{const t=this[e(198)]++,s=this[e(198)]++;n[e(266)](e(224),t),o[e(266)](e(208),s),o[e(266)](e(224),r),this[e(351)][e(368)](t,{userId:i}),this[e(351)][e(368)](s,{userId:i})}}[rt(226)](t){const e=rt;if(!t[e(323)])return;const i=(t=this[e(193)](t,this[e(235)]))[e(332)]?t[e(332)][e(299)]:null,s=t[e(271)]?t[e(271)][e(299)]:null;i&&this[e(300)][e(188)](t[e(431)]),s&&this[e(300)][e(368)](t[e(431)],t[e(271)][e(167)]());const n=null===t[e(273)]?null:t[e(273)]||this[e(131)][e(283)][e(287)](e(154)).me.id,r=t[e(431)];if(!this[e(165)][e(136)](r))return void this[e(165)][e(368)](r,{range:t[e(332)],userId:n});const o=this[e(165)][e(287)](r),a=o[e(429)],c=t[e(271)];null==a&&null==c||a&&c&&a[e(434)](c)?this[e(165)][e(188)](t[e(431)]):o[e(343)]=n}[rt(217)](t,e){const i=rt;this[i(235)][i(136)](t[i(302)])?this[i(235)][i(287)](t[i(302)])[i(115)]=t[i(255)]:(this[i(235)][i(368)](t[i(302)],ht(t[i(302)],!0)),this[i(181)][i(368)](t[i(302)],{}),e&&this[i(272)][i(368)](t[i(302)],ht(t[i(302)],!0)));const s=null===t[i(273)]?null:t[i(273)]||this[i(131)][i(283)][i(287)](i(154)).me.id,n=this[i(113)][i(287)](t[i(302)]);n&&n[i(343)]===s?this[i(113)][i(188)](t[i(302)]):this[i(113)][i(368)](t[i(302)],{userId:s,isAttached:t[i(255)]})}[rt(169)](t){const e=rt,i=this[e(181)][e(287)](t[e(299)][e(302)]);null===t[e(196)]?delete i[t[e(148)]]:i[t[e(148)]]=t[e(196)]}}function lt(t){const e=rt,i=ht(t[e(302)],t[e(292)]());for(const s of t[e(380)]()){const t=s[e(419)](!0);i[e(195)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(302)]=t,s[i(115)]=e,s[i(292)]=()=>s[i(115)],s}function dt(t,e,i){const s=rt,n=s(126)==t[s(428)]?i[s(190)](t[s(304)],s(127)):i[s(207)](t[s(304)]);return i[s(202)](e,n[s(275)],n[s(333)])}function ft(t,e,i){const s=rt,n=s(370)==t[s(428)]?i[s(190)](t[s(304)],0):i[s(231)](t[s(304)]);return i[s(202)](e,n[s(275)],n[s(333)])}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(){const t=["arrowup","focus","849576tufsyk","render","220","stopPropagation","arrowdown","1632sGjtEA","2864yGMTdg","Name of the revision","listenTo","arrowleft","7125232WtYdBO","value","revisionNameInputView","36GWhTbR","trim","extendTemplate","revisionNameInputValue","focusTracker","ck-responsive-form","keystrokes","fieldView","add","optional","_createRevisionNameInput","383615KdXKBp","ck-revision-history-save-revision-form","arrowright","revisionName","6360515EjjOJQ","1151976kUMvKO","element","errorText","setTemplate","input","label","2oQVxiy","reset","3836500VUjSzH","set","locale","form"];return(At=function(){return t})()}const Vt=Et;function Et(t,e){const i=At();return(Et=function(t,e){return i[t-=416]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(464092===parseInt(e(431))/1*(parseInt(e(423))/2)+parseInt(e(436))/3*(-parseInt(e(437))/4)+parseInt(e(455))/5+parseInt(e(417))/6+-parseInt(e(416))/7+-parseInt(e(441))/8+parseInt(e(444))/9*(parseInt(e(425))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(At);class Mt extends pt.View{[Vt(448)];[Vt(450)];[Vt(443)];constructor(e,i){const s=Vt;super(e),this[s(448)]=new t.FocusTracker,this[s(450)]=new t.KeystrokeHandler,this[s(426)](s(447),""),this[s(443)]=this[s(454)](i),this[s(420)]({tag:s(428),attributes:{class:["ck",s(456),s(449)],tabindex:"-1"},children:[this[s(443)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Vt(432)](){const t=Vt;super[t(432)](),(0,pt.submitHandler)({view:this}),this[t(448)][t(452)](this[t(443)][t(418)]),this[t(450)][t(439)](this[t(418)]);const e=e=>e[t(434)]();this[t(450)][t(426)](t(457),e),this[t(450)][t(426)](t(440),e),this[t(450)][t(426)](t(429),e),this[t(450)][t(426)](t(435),e)}[Vt(430)](){const t=Vt;this[t(443)][t(430)]()}get[Vt(458)](){const t=Vt;return this[t(443)][t(451)][t(418)][t(442)][t(445)]()}set[Vt(458)](t){const e=Vt;this[e(443)][e(451)][e(418)][e(442)]=t[e(445)]()}[Vt(424)](){const t=Vt;this[t(443)][t(451)][t(418)][t(442)]="",this[t(443)][t(419)]=null}[Vt(454)](t){const e=Vt,i=new pt.LabeledFieldView(this[e(427)],pt.createLabeledInputText),s=i[e(451)];s[e(446)]({attributes:{maxlength:e(433)}});let n=Q(this[e(427)],e(438));return!t&&(n+=" ("+Q(this[e(427)],e(453))+")"),i[e(422)]=n,s.on(e(421),(()=>{const t=e;this[t(447)]=s[t(418)][t(442)][t(445)]()})),i}}function Dt(){const t=["editor","render","revisionHistory","bind","menu","ck-button-action","revisionSave","delegate","The revision name cannot be empty.","603777BhuWAf","plugins","children","hide","menuBar:revisionHistory","set","init","280IHpDzT","role","submit","isOfficialPlugin","Revision history","1QRAfcq","1845148DjBLpc","menuitem","_showDialog","config","focus","RevisionHistoryUI","reset","revisionHistory.requireRevisionName","isOpen","isReadOnly","get","_registerMenuComponent","Cancel","add","locale","_saveRevisionFormView","23080140jmOyFT","_createSaveRevisionFormView","requires","1145795oxAHuA","isEnabled","showRevisionViewerCallback","pluginName","execute","135LuKuiz","190272WcEBRc","revisionNameInputView","RevisionTracker","items","Save current revision","errorText","Accept","addMany","componentFactory","530352hvvyAD","buttonView","revisionName","2631794pNaPLg","show","panelView","saveRevision","isReady","Open revision history","isPremiumPlugin","editing","Dialog","view"];return(Dt=function(){return t})()}const Ct=Ft;function Ft(t,e){const i=Dt();return(Ft=function(t,e){return i[t-=131]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(951934===-parseInt(e(153))/1*(-parseInt(e(191))/2)+-parseInt(e(141))/3+-parseInt(e(154))/4+parseInt(e(148))/5*(parseInt(e(179))/6)+-parseInt(e(173))/7+parseInt(e(188))/8*(parseInt(e(178))/9)+-parseInt(e(170))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Lt extends U.Plugin{static get[Ct(176)](){return Ct(159)}static get[Ct(151)](){return!0}static get[Ct(197)](){return!0}static get[Ct(172)](){return[ct]}[Ct(169)];[Ct(147)](){const t=Ct,e=this[t(132)],i=e[t(142)][t(164)](t(181));e.ui[t(187)][t(167)](t(134),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(193)][n(143)],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(135)](n(174)).to(i,n(195),i,n(174),e,n(163),((t,e,i)=>t&&e&&!i)),r[n(189)][n(146)]({icon:mt.IconHistory,label:Q(s,n(152)),tooltip:!0}),u[n(146)]({label:Q(s,n(183)),withText:!0,role:n(155)}),u[n(135)](n(174)).to(i,n(195),i,n(174),e,n(163),((t,e,i)=>t&&e&&!i)),u.on(n(177),(()=>this[n(156)]())),h[n(146)]({label:Q(s,n(196)),withText:!0,role:n(155)}),h[n(135)](n(174)).to(i,n(195),e,n(163),((t,e)=>t&&!e)),h.on(n(177),(()=>{const t=n;e[t(157)][t(164)](t(134))[t(175)](),r[t(162)]=!1,e[t(198)][t(131)][t(158)]()})),c[n(143)][n(167)](u),l[n(143)][n(167)](h),a[n(149)]=n(136),a[n(182)][n(186)]([c,l]),o[n(167)](a),r})),e.ui[t(187)][t(167)](t(145),(()=>this[t(165)]()))}[Ct(165)](){const t=Ct,e=this[t(132)],i=e[t(168)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(189)][t(146)]({icon:mt.IconHistory,label:Q(i,t(152))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(146)]({label:Q(i,t(183))}),o[t(139)](t(177)).to(s),o.on(t(177),(()=>{this[t(156)]()})),r[t(143)][t(167)](o),n[t(182)][t(167)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(146)]({label:Q(i,t(196))}),c[t(139)](t(177)).to(s),c.on(t(177),(()=>{const i=t;e[i(157)][i(164)](i(134))[i(175)]()})),a[t(143)][t(167)](c),n[t(182)][t(167)](a),s[t(193)][t(143)][t(167)](n),s}[Ct(156)](){const t=Ct,e=this[t(132)],i=e[t(168)],s=e[t(142)][t(164)](t(199)),n=e[t(142)][t(164)](t(181));function r(n){const r=t;e[r(157)][r(164)](r(161))&&""===n[r(190)]?n[r(180)][r(184)]=Q(i,r(140)):(e[r(142)][r(164)](ct)[r(194)]({name:n[r(190)]}),s[r(144)]())}this[t(169)]||(this[t(171)](),this[t(169)].on(t(150),(()=>r(this[t(169)])))),this[t(169)][t(160)](),s[t(192)]({id:t(138),title:Q(i,t(183)),isModal:!0,content:this[t(169)],actionButtons:[{label:Q(e[t(168)],t(166)),withText:!0,onExecute:()=>s[t(144)]()},{label:Q(e[t(168)],t(185)),class:t(137),withText:!0,onCreate(i){const s=t;i[s(135)](s(174)).to(n,s(195),n,s(174),e,s(163),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(169)])}]})}[Ct(171)](){const t=Ct,e=this[t(132)],i=e[t(168)];this[t(169)]=new Mt(i,e[t(157)][t(164)](t(161))),this[t(169)][t(133)]()}}function Pt(){const t=["type","Added by","ck-annotation","189LefdSL","Removed by","ck-revision-change","4ildkFF","set","89344ZHkwUe","3952144hgWruX","ck-revision-change__label","element","changeId","setTemplate","data","focus","ck-revision-change__","774896zzqgmo","25XmHrms","60BGZzYI","span","_model","bindTemplate","author","362778iyMZBP","295307MNtcoy","isSuggestion","11kUTPFj","add","Suggested by","662751BkNfnb","3201420GCqSFd","name","div"];return(Pt=function(){return t})()}function jt(t,e){const i=Pt();return(jt=function(t,e){return i[t-=257]})(t,e)}const zt=jt;!function(t){const e=jt,i=t();for(;;)try{if(806920===-parseInt(e(285))/1*(parseInt(e(266))/2)+parseInt(e(263))/3*(parseInt(e(268))/4)+parseInt(e(278))/5*(-parseInt(e(284))/6)+parseInt(e(269))/7+-parseInt(e(277))/8+parseInt(e(290))/9*(-parseInt(e(279))/10)+-parseInt(e(287))/11*(-parseInt(e(257))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[zt(272)];[zt(281)];constructor(t,e){const i=zt;super(t),this[i(281)]=e,this[i(272)]=e.id;const s=this[i(282)],n=Q(t,e[i(274)][i(286)]?i(289):i(288)==e[i(260)]?i(261):i(264));this[i(267)](i(260),e[i(260)]),this[i(273)]({tag:i(259),attributes:{class:[i(262),i(265),s.to(i(260),(t=>i(276)+t))],tabindex:-1},children:[{tag:i(280),children:[{tag:i(280),attributes:{class:[i(270)]},children:[{text:n}]},{text:" "+e[i(283)][i(258)]}]}]})}[zt(275)](){const t=zt;this[t(271)][t(275)]()}}var Ut=Ht;function Ht(t,e){var i=qt();return(Ht=function(t,e){return i[t-=391]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(892691===-parseInt(e(406))/1+-parseInt(e(400))/2*(parseInt(e(396))/3)+parseInt(e(402))/4+-parseInt(e(391))/5*(parseInt(e(407))/6)+parseInt(e(398))/7+parseInt(e(405))/8+-parseInt(e(399))/9*(-parseInt(e(397))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Ut(394)];[Ut(395)];[Ut(392)];[Ut(403)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(394)]=e[i(394)],this[i(395)]=e[i(395)],this[i(392)]=e[i(392)]||{},this[i(403)]=e[i(403)],this[i(393)](i(401),e[i(401)])}[Ut(404)](){var t=Ut;return{id:this.id,authorId:this[t(394)].id,type:this[t(395)],data:this[t(392)],createdAt:this[t(401)]}}}function qt(){var t=["97635htLARc","3394734JlWvyX","5ggzzIn","data","set","author","type","5213451eVvyWl","1140aOcaOD","7769370hJtqnI","111591xVkaNa","2nGTiUs","createdAt","1185648RZQKcn","rootName","toJSON","3792992RQGTFb"];return(qt=function(){return t})()}const Bt=Yt;!function(t){const e=Yt,i=t();for(;;)try{if(739018===-parseInt(e(403))/1*(parseInt(e(394))/2)+parseInt(e(396))/3*(parseInt(e(402))/4)+parseInt(e(408))/5+parseInt(e(407))/6*(parseInt(e(398))/7)+parseInt(e(397))/8*(-parseInt(e(393))/9)+-parseInt(e(404))/10+parseInt(e(405))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class $t{[Bt(406)];[Bt(395)];[Bt(399)];constructor(e,i){const s=Bt;this[s(406)]=e,this[s(395)]=i,this[s(399)]=new t.Collection}[Bt(401)](t){const e=Bt;for(const i of t)this[e(399)][e(400)](i)}}function Yt(t,e){const i=Gt();return(Yt=function(t,e){return i[t-=393]})(t,e)}function Gt(){const t=["add","_setChanges","179736NKjXHd","141002nvLhqY","5619840gniEKx","20151164hsONmw","newRevisionId","60HCUSpZ","762975PIlEnV","2651031KHztgs","18VDiwOu","oldRevisionId","15XpTdvj","8OSCNXm","458773YSBPEF","changes"];return(Gt=function(){return t})()}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Xt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=311]})(t,e)}function te(){const t=["index","resolve","getChild","parent","view","revision-suggestion:","addHighlight","createRevision","_markInsertions","5890304AYBDGi","getClientRects","ck-suggestion-preview-marker-","-new","newRevisionId","isAdded","isOnRoot","markerToData","_changeView","mousedown","showPreviousChange","addRevision","POSITIVE_INFINITY","model","_setChanges","oldRevisionId","adapter","isRemoved","_activeViewTarget","RevisionsRepository","refresh","getAttributes","ck-suggestion-marker","addRoot","_processTape","level","listenTo","maxOffset","set","indexOf","_removeUnsupportedChanges","_appendChild","activeView","isOfficialPlugin","_sortAndFilterDiffChanges","markersStart","_joinTapes","add","isBefore","data-change-id","removeMarker:revision-suggestion","consumable","attributesAfter","ck-suggestion-preview-marker","_fixObsoleteTags","backward","setAttribute","deletion","endIndex","markers","_utils","insertion","string","plugins","deletions","_markMarkers","dataToMarker","requires","dataDowncast","7951660oSqcmP","map","pluginName","forceDisabled","_removeMissingPairs","enableReadOnlyMode","bottom","bind","conversion","ck-suggestion-marker-merge","name","ck-suggestion-marker--active","_getDiff","stop","forEach","checkAttribute","softBreak","removeAttribute","ck-revision-history-root-add","next","ck-revision-history-root--active","isAfter","_cleanUp","upcast","top","schema","getCustomProperty","markerToHighlight","pop","splice","repository","error","first","change:numberOfChanges","type","_refreshStartEndIndex","activeChange","addMarker:revision-suggestion:insertion","offsetSize","loadRevisionData","downcastDispatcher","commands","item","delete","1390EMMzUu","filter","document","isBlock","_cleanMarkers","ck-revision-history-root-remove","locale","getDomRoot","_initInteractions","revisionHistory","isRemoveSuggestion","_update","from","526pxOpEa","1744165RMjDWi","vid_end","_setConversion","_data","attachChange","distance","merge","length","revision-comment:","sort","revision-suggestion","_getChangeFromId","findIndex","clear","isEnabled","isCollapsed","comment","createUIElement","revision","createRange","isPremiumPlugin","isInline","authors","changeId","createPositionFromPath","config","slice","left","data","for","range","reconvertMarker","isNavigationMode","roots","1608CgHXXU","isIncorrect","wrap","toViewRange","_changeIdToChange","revisionHistoryLabel","getRevision","flat","getRevisionDocumentData","change:activeChange","hasAttribute","nextPosition","domEvent","text","WidgetToolbarRepository","_step","nodeAfter","toViewPosition","_makeTape","updatePosition","addClass","observeMarkers","elementToAttribute","createPositionBefore","object","vid_start","enqueueChange","changes","showStack","target","isAddSuggestion","getRevisionRootsAttributes","isLimit","editingDowncast","attributes","ck-revision-history-root-","vid","mouseover","getWalker","highest","restoreRevision","toViewElement","unshift","getAttribute","push","hasClass","numberOfChanges","_markMismatchedRemovedTags","change","detachRoot","_getViewForChange","_setDistance","destroy","domConverter","consume","markerNameToElements","_getRevisionsRange","all","includes","RevisionViewer","restoreRevisionCallback","insert","done","isAtStart","concat","isContent","previousPosition","change:isReady","revisionHistoryAttachChange","_makeModelFromViewString","side","end","change:isEnabled","editing","then","currentChangeNumber","mapper","ck-suggestion-marker-split","markersEnd","getItems","unbindElementFromMarkerName","affectsData","editor","high","removeMarker","has","addMarker:revision-suggestion:deletion","getLaterVisibleRevision","element","getRoot","compare","ck-editor__editable__overlay","nextSibling","createRangeIn","return","insertions","low","ck-suggestion-marker-","test","selection","split","find","startIndex","elementStart","_makeModelFromTape","_findChangeIdFromDomTarget","removeClass","change:activeView","element:pre","writer","isEqual","_balloon","10848456mzqLAr","abs","get","getIndex","revision:","RevisionHistoryUtils","span","values","revision-viewer","isObject","keys","right","modelRange","suggestion","isAtEnd","shift","showNextChange","mapViewToDom","_markSuggestions","27549xRWxCe","viewItem","catch","start","36BPKiqJ","489681wjKMjg","attribute:vid","markerName","forward","addMarker:revision","pairId","execute","userId","diffData","elementEnd","createAttributeElement","startsWith","_threeWayMerge","_revisions","attributesBefore","suggestion:","code","markerRange","bindElementToMarker","rootName","init","isAttached","remove","uiElement","isReady","getRootNames","diff","addRevisionData","isSuggestion","removeMarker:revision"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(944325===parseInt(e(606))/1*(parseInt(e(593))/2)+parseInt(e(451))/3*(parseInt(e(450))/4)+parseInt(e(607))/5+-parseInt(e(427))/6+-parseInt(e(490))/7+-parseInt(e(315))/8*(-parseInt(e(446))/9)+parseInt(e(549))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Xt(579)];[Xt(506)]=null;[Xt(540)];[Xt(508)];[Xt(498)];[Xt(319)];[Xt(426)];static get[Xt(551)](){return Xt(374)}static get[Xt(523)](){return!0}static get[Xt(627)](){return!0}static get[Xt(547)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(579)]=this[e(397)][e(543)][e(429)](e(509)),this[e(540)]=this[e(397)][e(543)][e(429)](e(432)),this[e(518)](e(585),null),this[e(518)](e(522),null),this[e(508)]=null,this[e(518)](e(477),null),this[e(518)](e(475),!1),this[e(518)](e(621),!0),this.on(e(387),((t,i,s)=>{const n=e;this[n(585)]=null,this[n(522)]=null,this[n(397)][n(388)][n(485)][n(363)]((t=>{const e=n;for(const i of this[e(397)][e(388)][e(485)][e(595)][e(314)])s?t[e(421)](e(406),i):t[e(335)](e(406),i)}))})),this[e(556)](e(313)).to(this,e(585),(t=>null!==t)),this[e(556)](e(390)).to(this,e(475),this,e(477),this,e(585),((t,i,s)=>t&&s?i[e(342)][e(430)](s):0)),this[e(556)](e(361)).to(this,e(475),this,e(477),((t,i)=>t?i[e(342)][e(614)]:0)),this[e(498)]=null,this[e(319)]=new Map,this[e(426)]=this[e(397)][e(543)][e(429)](pt.ContextualBalloon)}[Xt(471)](){const t=Xt,e=this[t(397)],i=new ne(e,{direction:t(535)}),s=new ne(e,{direction:t(454)});e[t(590)][t(527)](t(500),i),e[t(590)][t(527)](t(443),s),e[t(590)][t(527)](t(355),new se(e)),this.on(t(582),(()=>{const e=t;i[e(510)](),s[e(510)]()})),this[t(609)](),this[t(601)](),e[t(554)](t(435)),e[t(543)][t(400)](t(329))&&e[t(543)][t(429)](t(329))[t(552)](t(435))}async[Xt(323)](t){const e=Xt;return await this[e(540)][e(588)](t,this[e(506)]),this[e(540)][e(323)](t)}async[Xt(346)](t){const e=Xt;return await this[e(540)][e(588)](t,this[e(506)]),this[e(540)][e(346)](t)}async[Xt(405)](t,e,i=!1){const s=Xt;if(!this[s(621)])return;const n=this[s(477)],r=this[s(579)],o=s(542)==typeof t?r[s(321)](t):t,a=s(542)==typeof e?r[s(321)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(477)]&&this[s(477)][s(494)]===c&&this[s(477)][s(505)]===u)return Promise[s(482)]();this[s(475)]=!1,this[s(522)]=null,this[s(585)]=null,this[s(477)]=new $t(c,u);const l=this[s(371)](o,a,!0)[s(550)]((t=>this[s(540)][s(588)](t,this[s(506)])));return l[s(359)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(372)](l)[s(389)]((()=>{const t=s;if(!this[t(621)])return;this[t(571)]();const e=this[t(561)](c,u);for(const i of e[t(342)])this[t(319)][t(518)](i.id,i);this[t(397)][t(503)][t(341)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(397)][s(503)][s(595)][s(476)]())i[s(364)](t);for(const t of Object[s(437)](e[s(503)])){const n=i[s(513)](t);for(const r of Object[s(437)](e[s(349)][t]))i[s(536)](r,e[s(349)][t][r],n);i[s(376)](e[s(503)][t],n,0)}})),this[t(477)][t(504)](this[t(524)](e[t(342)])),this[t(475)]=!0}))[s(448)]((t=>{const e=s;console[e(580)](t),this[e(571)](),n&&(this[e(477)]=n),this[e(475)]=!0}))}[Xt(478)](t,e){const i=Xt,s=this[i(579)][i(488)](t);return s.on(i(604),((t,i,n)=>e(i,n,s))),this[i(579)][i(501)](s),s}[Xt(571)](){const t=Xt;this[t(585)]=null,this[t(597)](),this[t(498)]&&this[t(498)][t(367)](),this[t(498)]=null,this[t(319)][t(620)](),this[t(397)][t(503)][t(341)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(397)][i(503)][i(595)][i(476)]())e[i(364)](t)}))}[Xt(524)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(397)][e(503)][e(595)][e(476)]()){const n=this[e(397)][e(388)][e(485)][e(600)](t);if(!n)continue;const r=n[e(491)]()[e(591)](0);r&&(i[e(359)](t),s[e(518)](t,r))}return i[e(616)](((t,i)=>{const n=e,r=s[n(429)](t),o=s[n(429)](i);return r.y-o.y||r.x-o.x})),(t=t[e(594)]((t=>i[e(373)](t[e(470)]))))[e(616)](((t,s)=>i[e(519)](t[e(470)])-i[e(519)](s[e(470)]))),t}[Xt(333)](t){const e=Xt,i=Array[e(605)](t[e(539)])[e(594)]((([t,i])=>t[e(462)](e(431))&&!i[e(622)])),s=Array[e(605)](this[e(397)][e(503)][e(408)](t)[e(353)]({singleCharacters:!0}));if(0!=i[e(614)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(415)](":");if(n[e(386)][e(425)](t[e(326)])&&i[e(442)](),(t[e(381)][e(425)](n[e(449)])||t[e(381)][e(570)](n[e(449)]))&&(e(541)==r?t[e(495)]={userId:o}:e(537)==r&&(t[e(507)]={userId:o})),0==i[e(614)])break}return s}[Xt(584)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(614)];s++)e(328)===t[s][e(583)]?(t[s][e(591)][e(417)]=s,t[s][e(591)][e(538)]=s):(e(418)===t[s][e(583)]?t[s][e(591)][e(417)]=s:e(460)===t[s][e(583)]&&(t[s][e(591)][e(538)]=s),i[e(518)](t[s].id,s));for(const s of i[e(434)]())e(418)===t[s][e(583)]?t[s][e(591)][e(538)]=i[e(429)](t[s][e(456)]):e(460)===t[s][e(583)]&&(t[s][e(591)][e(417)]=i[e(429)](t[s][e(456)]))}[Xt(514)](t){const e=Xt;for(let i=0;i<t[e(614)];i++){if(e(418)===t[i][e(583)])t[i][e(591)][e(417)]=i;else if(e(460)===t[i][e(583)]){t[i][e(591)][e(538)]=i;const s=t[i][e(591)][e(417)];t[s][e(456)]=t[i].id,t[i][e(456)]=t[s].id}else t[i][e(591)][e(417)]=i,t[i][e(591)][e(538)]=i,t[i][e(456)]=null;t[i][e(525)]||(t[i][e(525)]=[],t[i][e(393)]=[])}}[Xt(489)](t,e){const i=Xt,s=t[i(594)]((t=>!t[i(495)]));for(let t=0;t<e[i(614)];t++)e[t][i(495)]&&(s[t][i(495)]=e[t][i(495)])}[Xt(561)](t,e=null){const i=Xt,s=this[i(579)][i(321)](t),n=e?this[i(579)][i(321)](e):null,r=this[i(371)](s,n),o=r[r[i(614)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(614)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(437)](e[i(459)]))if(e[i(459)][t][i(611)]){const s=e[i(459)][t][i(611)];s[i(472)]?(u[i(527)](t),l[i(400)](t)&&l[i(429)](t)[i(458)]==s[i(458)]?l[i(592)](t):l[i(518)](t,s)):l[i(400)](t)?(u[i(592)](t),l[i(592)](t)):(u[i(527)](t),l[i(518)](t,s))}else u[i(527)](t)}for(const t of u){const e=l[i(400)](t)&&!l[i(429)](t)[i(472)];let s=e?r[i(614)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(459)][t]){const s=e?o[i(459)][t][i(465)]:o[i(459)][t][i(532)];c[i(349)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(503)]={};for(const e of t[i(629)])a[i(518)](e.id,e);for(const e of u){const s=t[i(459)][e]?t[i(459)][e][i(410)]:"[]",n=t[i(459)][e]?t[i(459)][e][i(544)]:"[]";t[i(503)][e]={insertions:this[i(540)][i(384)](s),deletions:this[i(540)][i(384)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(605)](s[i(503)][t][i(410)][i(539)])[i(594)]((([t])=>!t[i(462)](i(431)))));let h=0;for(const o of r){const r=this[i(333)](o[i(503)][t][i(410)]);o==s?(e=r,n=e[i(614)],e[i(563)]((t=>{t.id=h++})),this[i(514)](e)):this[i(489)](e,r);const a=e[i(594)]((t=>!t[i(495)]))[i(550)]((t=>t.id));let c=0;const l=this[i(333)](o[i(503)][t][i(544)]);l[i(563)]((t=>{t[i(507)]?t.id=n++:t.id=a[c++]})),this[i(514)](l),this[i(366)](e,i(495)),this[i(366)](l,i(507)),o==s&&this[i(545)](e,u),e=this[i(526)](e,l),this[i(584)](e),this[i(366)](e,i(507))}e=e[i(594)]((t=>!(t[i(495)]&&t[i(507)])));const d=new Map(o[i(503)][t][i(544)][i(539)]),f=new Set(u[i(437)]());for(const t of d[i(437)]())f[i(592)](t);this[i(445)](e,f),this[i(534)](e),e=this[i(553)](e),e=this[i(362)](e),e=this[i(520)](e);const{root:m,changes:p}=this[i(419)](e,a,t);c[i(503)][t]=m;const v=l[i(429)](t);if(v){const e=a[i(429)](v[i(458)]),s=new Zt({author:e,type:v[i(472)]?i(527):i(473),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(357)](s),c[i(349)][t][i(383)]=s.id}c[i(342)]=c[i(342)][i(379)](p)}return c}[Xt(545)](t,e){const i=Xt;for(let s=0;s<t[i(614)];s++)for(const[n,r]of e)!r[i(622)]&&r[i(449)][i(425)](t[s][i(381)])&&t[s][i(525)][i(359)](n),r[i(386)][i(425)](t[s][i(326)])&&t[s][i(393)][i(359)](n)}[Xt(526)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(614)]||r<e[i(614)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(359)](o);else if(a[i(507)]&&o[i(495)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(463)](t,n,e,r);s=s[i(379)](o),n=a,r=c}else a[i(507)]?(r++,s[i(359)](a)):(n++,s[i(359)](o))}return s}[Xt(445)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(614)];o++){for(let r=0;r<t[o][i(525)][i(614)];r++){const a=t[o][i(525)][r];if(!e[i(400)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(617)!=c||i(541)!=u&&i(537)!=u||(s[i(357)]({type:u,name:a,userId:l}),t[o][i(525)][i(578)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(393)][i(614)];r++){const a=t[o][i(393)][r];if(!e[i(400)](a))continue;const{group:c,type:u}=n(a);if(i(617)!=c||i(541)!=u&&i(537)!=u)continue;t[o][i(393)][i(578)](r,1),r--;const l=s[i(619)]((t=>t[i(559)]==a));l>-1&&s[i(578)](l,1)}}function n(t){const e=i,s=t[e(415)](":");return{group:s[0],type:s[1],subType:s[e(614)]>=5?s[2]:null,id:s[e(614)]<5?s[2]:s[3],authorId:s[e(614)]<5?s[3]:s[4],markerCount:6==s[e(614)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(614)];i++){if(t[e(495)]&&e(541)==s[i][e(583)]&&t[e(495)][e(458)]==s[i][e(458)])return t[e(345)]=s[i],void delete t[e(495)];if(!t[e(495)]&&!t[e(507)]&&e(537)==s[i][e(583)])return void(t[e(603)]=s[i])}}}[Xt(366)](t,e){const i=Xt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(518)](o.id,s);for(let s=0;s<t[i(614)];s++){if(i(507)==e&&t[s][i(495)]||i(495)==e&&t[s][i(507)])continue;if(i(328)==t[s][i(583)]){t[s][i(612)]=0;continue}const n=r[i(429)](t[s][i(456)]),o=r[i(429)](t[s].id);t[s][i(612)]=n-o}}[Xt(371)](t,e,i=!1){const s=Xt,n=[];let r=this[s(579)][s(430)](t),o=this[s(579)][s(430)](e);for(-1==o&&(o=this[s(579)][s(464)][s(614)],i=!1);r<o;)n[s(359)](this[s(579)][s(321)](r)),r++;return i&&n[s(359)](this[s(579)][s(321)](r)),n}[Xt(463)](t,e,i,s){const n=Xt,r=this[n(397)][n(503)][n(574)];let o=e;for(;t[o]&&t[o][n(495)];)o++;let a=s;for(;i[a]&&i[a][n(507)];)a++;u(t,e,o),u(i,s,a);const c=i[n(633)](s,a)[n(379)](t[n(633)](e,o));return c[n(616)](((t,e)=>t[n(385)]!=e[n(385)]?t[n(385)]-e[n(385)]:t[n(515)]!=e[n(515)]?t[n(515)]-e[n(515)]:t[n(612)]!=e[n(612)]?e[n(612)]-t[n(612)]:!!t[n(495)]!=!!e[n(495)]?-1==t[n(385)]||0==t[n(385)]?t[n(495)]?-1:1:t[n(495)]?1:-1:t[n(481)]-e[n(481)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(502)],c=!0;for(let n=e;n<i;n++)if(r[s(628)](t[n][s(591)])||(c=!1),t[n][s(591)][s(417)]<e&&(o=n),t[n][s(591)][s(538)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(385)]=n<=o?-1:n<a?0:1,t[n][s(481)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(612)]?t[i][s(515)]=u:(u++,t[i][s(515)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(385)]&&(t[n][s(515)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(612)]?t[e][s(515)]=u:(u--,t[e][s(515)]=u,u--)}}[Xt(534)](t){const e=Xt,i=new Map,s=this[e(397)][e(503)][e(574)];for(let n=1;n<t[e(614)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(328)==c[e(583)])continue;if(c[e(583)]!=u[e(583)])continue;if(!s[e(596)](u[e(591)])||s[e(347)](u[e(591)]))continue;if(!s[e(596)](c[e(591)])||s[e(347)](c[e(591)]))continue;if((t[n][e(495)]||t[n][e(345)])&&t[n-1][e(507)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(507)]||!t[n-1][e(495)]&&!t[n-1][e(345)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(515)]==o[e(515)],h=Math[e(428)](r[e(515)])<Math[e(428)](o[e(515)])&&0==o[e(612)];(l||h)&&(i[e(518)](o.id,r.id),t[e(578)](a,1),n--,r[e(495)]=!1)}for(let s=0;s<t[e(614)];s++)i[e(400)](t[s][e(456)])&&(t[s][e(456)]=i[e(429)](t[s][e(456)]))}[Xt(553)](t){const e=Xt,i=new Set(t[e(550)]((t=>t.id)));for(let s=0;s<t[e(614)];s++)i[e(400)](t[s][e(456)])||0==t[s][e(612)]||(t[s][e(316)]=!0);return t[e(594)]((t=>!t[e(316)]))}[Xt(362)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(614)];s++){if(i[e(400)](t[s].id)&&t[s][e(507)]&&(t[s][e(316)]=!0),t[s][e(316)])continue;if(0==t[s][e(612)])continue;if(e(418)!=t[s][e(583)])continue;if(null==t[s][e(456)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(456)];)e(418)==t[n][e(583)]?r++:e(460)==t[n][e(583)]&&r--,n++;if(0!=r)if(t[s][e(507)])t[s][e(316)]=!0;else for(;n!=s;)t[n][e(507)]&&0!=t[n][e(612)]&&(t[n][e(316)]=!0,i[e(527)](t[n][e(456)])),n--}return t[e(594)]((t=>!t[e(316)]))}[Xt(520)](t){const e=Xt,i=this[e(397)][e(503)][e(574)];for(let s=0;s<t[e(614)];s++){if(!(t[s][e(495)]||t[s][e(345)]||t[s][e(507)]||t[s][e(603)]))continue;if(0==t[s][e(612)])continue;const n=t[s][e(591)];i[e(596)](n)||i[e(347)](n)||(t[s][e(495)]&&delete t[s][e(495)],t[s][e(345)]&&delete t[s][e(345)],t[s][e(603)]&&delete t[s][e(603)],t[s][e(507)]&&(t[s][e(316)]=!0))}return t[e(594)]((t=>!t[e(316)]))}[Xt(419)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(397)][s(503)],c=a[s(574)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(614)];e++)if(s(418)===t[e][s(583)]){t[e][s(381)]=a[s(631)](n,f);const i=new Z.Element(t[e][s(591)][s(559)],t[e][s(591)][s(511)]());u[0][s(521)](i),f[s(359)](0),u[s(357)](i),t[e][s(326)]=a[s(631)](n,f)}else s(460)===t[e][s(583)]?(u[s(442)](),t[e][s(381)]=a[s(631)](n,f),f[s(577)](),f[f[s(614)]-1]++,t[e][s(326)]=a[s(631)](n,f)):(t[e][s(381)]=a[s(631)](n,f),d?d[s(610)]+=t[e][s(591)][s(635)]:d=new Z.Text(t[e][s(591)][s(635)],t[e][s(591)][s(511)]()),t[e+1]&&s(328)===t[e+1][s(583)]&&v(d,t[e+1][s(591)])||(u[0][s(521)](d),d=null),f[f[s(614)]-1]+=t[e][s(591)][s(587)],t[e][s(326)]=a[s(631)](n,f));for(let e=0;e<t[s(614)];e++){const i=t[e][s(381)],n=t[e][s(326)];for(const n of t[e][s(525)])o[s(518)](n,{start:i,end:null});m(s(603),e,i,n),m(s(345),e,i,n),m(s(507),e,i,n),m(s(495),e,i,n);for(const i of t[e][s(393)]){const t=o[s(429)](i);t?t[s(386)]=n:o[s(518)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(397)][s(503)][s(626)](e[s(449)],e[s(386)]);n[s(539)][s(518)](t,i)}return r[s(616)](((t,e)=>{const i=s,r=n[i(539)][i(429)](i(431)+t.id),o=n[i(539)][i(429)](i(431)+e.id);return r[i(449)][i(528)](o[i(449)])?-1:r[i(449)][i(570)](o[i(449)])?1:r[i(386)][i(528)](o[i(386)])?-1:r[i(386)][i(570)](o[i(386)])?1:i(527)===t[i(583)]?-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(458)]:null,d=i===t[o(614)]-1,f=h[e][0],m=c[o(436)](t[i][o(591)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(386)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(458)]!==u&&(l[e][o(386)]=n,f&&f[o(458)]===l[e][o(458)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(418)!==t[i][o(583)]||f&&f[o(458)]===u||h[e][o(357)]({userId:u,object:t[i][o(591)],change:l[e]}),o(460)===t[i][o(583)]&&f&&f[o(339)]===t[i][o(591)]&&(h[e][o(442)](),l[e]=f[o(363)])),l[e]&&d&&(l[e][o(386)]=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(591)],f=a[h(574)][h(596)](d)&&!a[h(574)][h(347)](d),m=t[h(331)]==o[h(484)]&&o[h(378)];if(f&&m)return;const p=a[h(626)](t,o),v=e[h(429)](u),g=new Zt({author:v,type:h(495)==l||h(345)==l?h(527):h(473),data:{isSuggestion:h(345)==l||h(603)==l},createdAt:new Date,rootName:i});r[h(359)](g),n[h(539)][h(518)](h(431)+g.id,p)}function v(t,e){const i=s,n=t[i(511)](),r=e[i(511)]();for(const t of n){if(t[1]!==e[i(358)](t[0]))return!1;r[i(568)]()}return r[i(568)]()[i(377)]}}[Xt(609)](){const t=Xt;this[t(397)][t(557)][t(636)](t(572))[t(546)]({view:t(625)}),this[t(397)][t(557)][t(636)](t(348))[t(576)]({model:t(625),view:e=>{const i=t,s=e[i(453)][i(415)](":")[1],n=this[i(618)](s);if(!n)return null;const r=i(527)==n[i(583)]?i(541):i(537),o=[i(512),i(412)+r];return n[i(635)][i(479)]&&o[i(359)](i(412)+r+i(493)),this[i(585)]==n&&o[i(359)](i(560)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(397)][t(557)][t(636)](t(572))[t(527)]((e=>{const i=t;e.on(i(423),((t,e,s)=>{const n=i,r=e[n(447)][n(483)](0);if(!r||!r.is(n(403),n(467)))return;if(!s[n(531)][n(369)](r,{attributes:[n(340),n(608)]}))return;const o=e[n(439)][n(449)][n(331)];s[n(424)][n(536)](n(340),r[n(358)](n(340)),o),s[n(424)][n(536)](n(608),r[n(358)](n(608)),o)}),{priority:i(411)})})),this[t(397)][t(557)][t(636)](t(572))[t(527)]((e=>{const i=t;e.on(i(403),((t,e,s)=>{const n=i;if(!s[n(531)][n(369)](e[n(447)],{attributes:[n(340),n(608)]}))return;if(e[n(439)][n(622)])return;const r=e[n(439)][n(449)][n(331)];r[n(325)](n(340))||r[n(325)](n(351))||(s[n(424)][n(536)](n(340),e[n(447)][n(358)](n(340)),r),s[n(424)][n(536)](n(608),e[n(447)][n(358)](n(608)),r))}),{priority:i(411)})})),this[t(397)][t(557)][t(636)](t(572))[t(337)]({view:{name:t(433),attributes:{vid:!0}},model:{key:t(351),value:e=>e[t(358)](t(351))}}),this[t(397)][t(503)][t(574)].on(t(564),((e,[,i])=>{const s=t;[s(340),s(608),s(351)][s(373)](i)&&(e[s(409)]=!0,e[s(562)]())}),{priority:t(354)}),this[t(397)][t(557)][t(636)](t(548))[t(527)]((e=>{const i=t;e.on(i(452),((t,e,s)=>{const n=i;if(" "!=e[n(591)][n(635)]||e[n(591)][n(484)][n(517)]>1)return;if(!s[n(531)][n(369)](e[n(591)],t[n(559)]))return;const r=s[n(424)],o=s[n(391)][n(318)](e[n(311)]);r[n(317)](o,r[n(461)](n(433)))}))})),this[t(397)][t(557)][t(636)](t(548))[t(497)]({model:t(625)}),this[t(397)][t(388)][t(589)].on(t(455),function(e){const i=t,s=e[i(543)][i(429)](i(374));return(t,n,r)=>{const o=i,a=n[o(453)][o(415)](":")[1],c=s[o(618)](a);if(!c)return null;const u=o(527)==c[o(583)]?o(415):o(613);if(!r[o(531)][o(413)](n[o(468)],t[o(559)]))return;const l=n[o(468)][o(353)](),h=n[o(468)][o(449)],d=e[o(503)][o(574)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(591)];p=p||d[o(380)](e);const i=r[o(391)][o(356)](e);if(i&&i[o(575)](o(487)))return;o(460)==t[o(583)]&&d[o(596)](e)&&!d[o(347)](e)&&(e[o(407)]||h[o(441)]?f&&f[o(484)]==e||(f=e,g(t[o(381)]),v=!0):m=m||t[o(381)])}function g(t){const e=o,i=r[e(424)][e(624)](e(433),{class:e(412)+u}),a=r[e(391)][e(332)](t);c[e(635)][e(479)]&&r[e(424)][e(335)](e(412)+u+e(493),i),s[e(585)]==c&&r[e(424)][e(335)](e(560),i),r[e(424)][e(376)](a,i),r[e(391)][e(469)](i,n[e(453)])}p||v||!m||g(m)}}(this[t(397)]),{priority:t(398)}),this[t(397)][t(388)][t(589)].on(t(480),((e,i,s)=>{const n=t,r=s[n(391)][n(370)](i[n(453)]);if(r)for(const t of r)(t[n(360)](n(392))||t[n(360)](n(558)))&&(s[n(391)][n(395)](t,i[n(453)]),s[n(424)][n(473)](t))}),{priority:t(398)}),this[t(397)][t(388)][t(589)].on(t(455),((e,i,s)=>{const n=t,r=i[n(453)][n(415)](":")[1],o=this[n(618)](r);if(!o)return null;const a=n(527)==o[n(583)]?n(415):n(613);if(s[n(531)][n(413)](i[n(468)],e[n(559)]))for(const t of i[n(468)][n(394)]()){if(!t.is(n(403),n(565)))continue;const e=s[n(424)][n(624)](n(433),{class:n(412)+a}),r=s[n(391)][n(332)](this[n(397)][n(503)][n(338)](t));o[n(635)][n(479)]&&s[n(424)][n(335)](n(412)+a+n(493),e),this[n(585)]==o&&s[n(424)][n(335)](n(560),e),s[n(424)][n(376)](r,e),s[n(391)][n(469)](e,i[n(453)])}}),{priority:t(398)}),this[t(397)][t(503)][t(595)].on(t(363),(()=>{const e=t;this[e(397)][e(388)][e(485)][e(363)]((t=>{const i=e;for(const e of this[i(397)][i(503)][i(595)][i(476)]()){const s=this[i(397)][i(503)][i(595)][i(404)](e),n=this[i(397)][i(388)][i(485)][i(595)][i(404)](e);if(n){const e=s[i(358)](i(383));if(t[i(566)](i(529),n),t[i(421)](i(567),n),t[i(421)](i(598),n),t[i(421)](i(569),n),e){const s=this[i(618)](e);if(!s)return null;t[i(536)](i(529),e,n),t[i(335)](i(350)+s[i(583)],n),this[i(585)]==s&&t[i(335)](i(569),n)}}}}))})),this[t(397)][t(557)][t(636)](t(572))[t(546)]({view:t(623),model:e=>t(615)+e,converterPriority:t(354)}),this[t(397)][t(557)][t(636)](t(572))[t(546)]({view:t(440),model:e=>t(486)+e,converterPriority:t(354)}),this[t(397)][t(557)][t(636)](t(548))[t(497)]({model:t(617),view:e=>({name:t(466)+e,group:t(617)}),converterPriority:t(354)}),this[t(397)][t(557)][t(636)](t(348))[t(576)]({model:t(617),view:e=>{const i=t,s=e[i(453)][i(415)](":")[1];return i(541)!=s&&i(537)!=s?null:{classes:[i(533),i(492)+s]}}}),this[t(397)][t(388)][t(589)].on(t(401),ie(this[t(397)],t(613)),{priority:t(398)}),this[t(397)][t(388)][t(589)].on(t(586),ie(this[t(397)],t(415)),{priority:t(398)}),this[t(397)][t(388)][t(589)].on(t(530),((e,i,s)=>{const n=t,r=s[n(391)][n(370)](i[n(453)]);if(r)for(const t of r)t.is(n(474))&&(s[n(391)][n(395)](t,i[n(453)]),s[n(424)][n(473)](t))}),{priority:t(398)})}[Xt(618)](t){const e=Xt;return this[e(319)][e(429)](t)}[Xt(365)](t){const e=Xt;return this[e(498)]&&this[e(498)][e(367)](),this[e(498)]=new Wt(this[e(397)][e(599)],t),this[e(498)]}[Xt(601)](){const t=Xt;this[t(397)][t(503)][t(595)][t(414)][t(336)](t(625)),this.on(t(422),((e,i,s,n)=>{const r=t;n&&this[r(426)][r(473)](n),s&&(this[r(426)][r(527)]({view:s,stackId:r(320),position:{target:()=>{const t=r,e=this[t(397)][t(388)],i=this[t(618)](s[t(630)]);let n;if(i[t(635)][t(496)]){const s=e[t(485)][t(600)](i[t(470)]);n=Array[t(605)](s[t(491)]())}else{const i=this[t(397)][t(503)][t(539)][t(429)](t(431)+s[t(630)]);n=Array[t(605)](e[t(391)][t(370)](i[t(559)]))[t(550)]((i=>e[t(485)][t(368)][t(444)](i)))[t(550)]((e=>Array[t(605)](e[t(491)]())))[t(322)]()}return this[t(508)]&&n[t(416)]((e=>e[t(573)]-3<=this[t(508)].y&&e[t(555)]+3>=this[t(508)].y&&e[t(634)]-3<=this[t(508)].x&&e[t(438)]+3>=this[t(508)].x))||n[0]}}}),this[r(426)][r(343)](r(320)))})),this.on(t(324),((e,i,s,n)=>{const r=t;this[r(522)]=s?this[r(365)](s):null,this[r(397)][r(503)][r(363)]((()=>{const t=r,e=this[t(397)][t(388)];n&&(n[t(635)][t(496)]?e[t(485)][t(363)]((i=>{const s=t;i[s(421)](s(569),e[s(485)][s(595)][s(404)](n[s(470)]))})):e[t(312)](t(431)+n.id)),s&&(s[t(635)][t(496)]?e[t(485)][t(363)]((i=>{const n=t;i[n(335)](n(569),e[n(485)][n(595)][n(404)](s[n(470)]))})):e[t(312)](t(431)+s.id))}))})),this[t(516)](this[t(397)][t(388)][t(485)][t(595)],t(352),((e,i)=>{const s=t;if(this[s(585)])return;const n=this[s(420)](i[s(344)]),r=this[s(319)][s(429)](n);r?(this[s(508)]={x:i[s(327)].x,y:i[s(327)].y},this[s(522)]=this[s(365)](r)):(this[s(508)]=null,this[s(522)]=null)})),this[t(516)](this[t(397)][t(388)][t(485)][t(595)],t(499),((e,i)=>{const s=t,n=this[s(420)](i[s(344)]),r=this[s(319)][s(429)](n);r?(this[s(508)]={x:i[s(327)].x,y:i[s(327)].y},r===this[s(585)]?this[s(426)][s(334)]():this[s(585)]=r):(this[s(508)]=null,this[s(585)]=null)}))}[Xt(420)](t){const e=Xt;do{const i=t[e(358)](e(529));if(i)return i;t=t[e(484)]}while(t);return null}[Xt(597)](){const t=Xt;this[t(397)][t(503)][t(363)]((e=>{const i=t;for(const t of this[i(397)][i(503)][i(539)])e[i(399)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(531)][r(413)](s[r(468)],i[r(559)]))return;const o=s[r(468)][r(353)](),a=s[r(468)][r(449)],c=t[r(503)][r(574)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(591)];h=h||c[r(380)](e);const i=n[r(391)][r(356)](e);if(i&&i[r(575)](r(487)))return;r(460)==t[r(583)]&&c[r(596)](e)&&!c[r(347)](e)&&(e[r(407)]||a[r(441)]?u&&u[r(484)]==e||(u=e,f(t[r(381)]),d=!0):l=l||t[r(381)])}function f(t){const i=r,o=n[i(391)][i(332)](t),a=n[i(424)][i(624)](i(433),{class:i(492)+e});n[i(424)][i(376)](o,a),n[i(391)][i(469)](a,s[i(453)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(543)][e(429)](ee);this[e(396)]=!1,this[e(516)](i,e(382),(()=>this[e(510)]())),this[e(516)](i,e(387),(()=>this[e(510)]()))}[Xt(457)](){const t=Xt,e=this[t(397)],i=e[t(543)][t(429)](ee),s=i[t(475)]?i[t(477)][t(494)]:null;e[t(632)][t(429)](t(602))[t(375)](s)}[Xt(510)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(397)][t(543)][t(429)](ee),r=n&&s[t(402)](n[t(494)]);this[t(621)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(330)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(543)][i(429)](ee);this[i(396)]=!1,this[i(330)]=i(454)===e?1:-1,this[i(516)](s,i(382),(()=>this[i(510)]())),this[i(516)](s,i(387),(()=>this[i(510)]())),this[i(516)](s,i(324),(()=>this[i(510)]()))}[Xt(457)](){const e=Xt,i=this[e(397)],s=i[e(543)][e(429)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(585)]=n?s[e(477)][e(342)][e(429)](r+this[e(330)]):s[e(477)][e(342)][e(581)],s[e(585)][e(635)][e(496)])o=i[e(388)][e(485)][e(600)](s[e(585)][e(470)]);else{const t=i[e(503)][e(539)][e(429)](e(431)+s[e(585)].id);o=(0,H.getMarkerDomElement)(i[e(388)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(510)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(397)][t(543)][t(429)](ee);this[t(621)]=!!(r&&n&&s)&&(!e||(1===this[t(330)]?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-=317]})(t,e)}function ce(){const t=["ck-hidden","forward","isForwardNavigationEnabled","isBackwardNavigationEnabled","numberOfChanges","Show next change","1454054BLMYkT","48zpYYyf","6394656vKyUEQ","X_OF_Y_CHANGES","5045368jtHYTW","_statusText","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation__navigation","5268485ZXgOwi","isReady","1273010BdcXhA","backward","isEnabled","set","ck-revision-history-ui","execute","span","Total","Show previous change","No changes","currentChangeNumber","18jOtJkg","NUMBER_OF_CHANGES","isNavigationMode","Loading...","ck-revision-history-ui__changes-navigation","div","3tbMyDi","_isStatusLabelVisible","setTemplate","219541TxnxOI","ck-revision-history-ui__changes-navigation__wrapper","EDIT_X_OF_Y_REVISIONS","fire","204188iooEdr","bindTemplate","bind"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(784986===-parseInt(e(318))/1+parseInt(e(327))/2*(-parseInt(e(354))/3)+parseInt(e(331))/4+-parseInt(e(335))/5+parseInt(e(329))/6+parseInt(e(357))/7*(parseInt(e(328))/8)+parseInt(e(348))/9*(parseInt(e(337))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(319)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(340)](e(350),!1),this[e(340)](e(336),!1),this[e(340)](e(347),0),this[e(340)](e(325),0),this[e(340)](e(323),!1),this[e(340)](e(324),!1),this[e(320)](e(355)).to(this,e(336),this,e(325),((t,e)=>t&&e>0)),this[e(320)](e(332)).to(this,e(336),this,e(347),this,e(325),this,e(350),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(351));if(!n)return Q(t,o(346));const a=Q(t,o(349),n);return r?Q(t,o(330),[s+1,n]):a})),s[e(340)]({label:Q(t,e(345)),tooltip:!0,icon:mt.IconChevronUp}),n[e(340)]({label:Q(t,e(326)),tooltip:!0,icon:mt.IconChevronDown}),s[e(320)](e(339)).to(this,e(324)),n[e(320)](e(339)).to(this,e(323)),s.on(e(342),(()=>this[e(317)](e(342),e(338)))),n.on(e(342),(()=>this[e(317)](e(342),e(322)))),this[e(356)]({tag:e(353),attributes:{class:["ck",e(341),e(352)]},children:[{tag:e(343),attributes:{class:[e(358)]},children:[{tag:e(343),attributes:{class:[e(333),i.if(e(355),e(321),(t=>!t))]},children:[{text:i.to(e(350),(i=>i?Q(t,e(359))+": ":Q(t,e(344))+": "))}]},{text:i.to(e(332))}]},new pt.ToolbarSeparatorView,{tag:e(353),attributes:{class:[e(334)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=me;!function(t){const e=me,i=t();for(;;)try{if(527823===parseInt(e(285))/1*(-parseInt(e(272))/2)+-parseInt(e(282))/3*(-parseInt(e(260))/4)+-parseInt(e(277))/5+parseInt(e(266))/6*(parseInt(e(263))/7)+-parseInt(e(283))/8+-parseInt(e(276))/9*(-parseInt(e(286))/10)+-parseInt(e(267))/11*(-parseInt(e(261))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const fe=de(262);function me(t,e){const i=ve();return(me=function(t,e){return i[t-=260]})(t,e)}class pe extends U.Plugin{static get[de(269)](){return de(278)}static get[de(265)](){return!0}static get[de(281)](){return!0}[de(271)](){const t=de,e=this[t(270)][t(279)][t(264)];e[t(273)]((i=>{const s=t;for(const t of e[s(280)][s(275)])i[s(284)](fe,t)}))}[de(268)](){const t=de,e=this[t(270)][t(279)][t(264)];e[t(273)]((i=>{const s=t;for(const t of e[s(280)][s(275)])i[s(274)](fe,t)}))}}function ve(){const t=["view","isOfficialPlugin","330MtbRVw","11AJUjcK","hide","pluginName","editor","show","2zBUmUl","change","removeClass","roots","1836171prENgc","1584300OtADLn","RevisionViewerLoadingOverlay","editing","document","isPremiumPlugin","6618NVwNjQ","5809824KtvJqy","addClass","747806ASVUoo","10IKPTwg","292LfdROg","23313900lwBcPL","ck-editor__editable__loading-overlay","1379RArzGH"];return(ve=function(){return t})()}const ge=ke;function ye(){const t=["componentFactory","change:isReady","config","add","get","4837851MgZBGc","revisionHistory","isForwardNavigationEnabled","8bAsHrL","hide","isOfficialPlugin","show","431380UKJLRl","changesNavigation","isReady","2684VaSiuX","2483761eXLDNA","showNextChange","27ubZFEH","closeRevisionViewerCallback","isEnabled","1473wiKlMy","37738BOoaxy","ck-revision-history-ui__back-to-editing","forward","bind","isNavigationMode","704445lcIYoF","numberOfChanges","Back to editing","editor","execute","showPreviousChange","set","55fgjnCw","Restore this revision","init","isBackwardNavigationEnabled","restoreRevision","listenTo","plugins","currentChangeNumber","commands","exitToEditing","requires","352986vTDwSP","isPremiumPlugin","RevisionViewerUI","pluginName"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=374]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(378688===parseInt(e(395))/1*(parseInt(e(399))/2)+parseInt(e(398))/3*(-parseInt(e(392))/4)+-parseInt(e(404))/5+-parseInt(e(422))/6+-parseInt(e(393))/7+-parseInt(e(385))/8*(-parseInt(e(382))/9)+parseInt(e(389))/10*(parseInt(e(411))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(376)](){return ge(375)}static get[ge(387)](){return!0}static get[ge(374)](){return!0}static get[ge(421)](){return[ee,pe]}[ge(413)](){const t=ge,e=this[t(407)],i=e[t(417)][t(381)](ee),s=e[t(417)][t(381)](pe);e.ui[t(377)][t(380)](t(420),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(410)]({label:Q(i,s(406)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(400)}),this[s(416)](n,s(408),(()=>{const t=s;e[t(379)][t(381)](t(383))[t(396)]()})),n})),e.ui[t(377)][t(380)](t(415),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(410)]({label:Q(i,s(412)),withText:!0,tooltip:!0}),n[s(402)](s(397)).to(e[s(419)][s(381)](s(415))),this[s(416)](n,s(408),(()=>e[s(408)](s(415)))),n})),e.ui[t(377)][t(380)](t(390),(s=>{const n=t,r=new ue(s),o=e[n(419)][n(381)](n(409)),a=e[n(419)][n(381)](n(394));return r[n(402)](n(414)).to(o,n(397)),r[n(402)](n(384)).to(a,n(397)),r[n(402)](n(391),n(418),n(405),n(403)).to(i),this[n(416)](r,n(408),((t,i)=>{const s=n;e[s(408)](s(401)===i?s(394):s(409))})),r})),s[t(388)](),i.on(t(378),((e,i,n)=>{const r=t;n?s[r(386)]():s[r(388)]()}))}}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=Oe();return(Se=function(t,e){return i[t-=453]})(t,e)}function Oe(){const t=["1269656aNXnqA","destroy","ck-tooltip_multi-line","_updateTooltipText","134iBqwIW","bindTemplate","fieldView","placeholder","ck-revision-history-sidebar__revision-name","listenTo","scrollWidth","span","10nlOKuR","354420wXBjpT","2203cfFxWA","extendTemplate","input","Enter the revision name","215170SwIOPv","_tooltipString","render","set","872109iinZZN","18pxKSgz","Revision name","39408szhFdg","887222mtAhSc","_resizeObserver","element","value","clientWidth"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(146019===parseInt(e(466))/1*(parseInt(e(456))/2)+-parseInt(e(474))/3+parseInt(e(477))/4*(parseInt(e(464))/5)+-parseInt(e(465))/6+parseInt(e(478))/7+parseInt(e(483))/8+-parseInt(e(475))/9*(-parseInt(e(470))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(479)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(457)];this[i(473)]({label:Q(t,i(476)),_tooltipString:""}),this[i(458)][i(459)]=Q(t,i(469)),this[i(467)]({tag:i(463),attributes:{class:[i(460)],"data-cke-tooltip-text":s.to(i(471)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(454)}})}[Ie(472)](){const e=Ie;super[e(472)](),this[e(479)]=new t.ResizeObserver(this[e(458)][e(480)],(()=>this[e(455)]())),this[e(461)](this[e(458)],e(468),(()=>this[e(455)]()))}[Ie(453)](){const t=Ie;super[t(453)](),this[t(479)]&&this[t(479)][t(453)]()}[Ie(455)](){const t=Ie,e=this[t(458)][t(480)];this[t(471)]=e[t(462)]>e[t(482)]&&e[t(481)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ve();return(Re=function(t,e){return i[t-=354]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(966338===parseInt(e(365))/1*(parseInt(e(368))/2)+parseInt(e(363))/3*(-parseInt(e(359))/4)+parseInt(e(371))/5*(-parseInt(e(373))/6)+-parseInt(e(369))/7+parseInt(e(354))/8+-parseInt(e(356))/9+parseInt(e(362))/10*(parseInt(e(360))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ae extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(367)]({content:mt.IconUser,viewBox:s(361)});const r=["ck",s(366)];i&&r[s(372)](s(357));const o=[{tag:s(370),attributes:{class:["ck",s(374)],title:Q(t,s(i?375:355))},children:[n,e[s(358)]]}];this[s(364)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){const t=["16sXZIWS","6277236SKbDqW","span","63955oGoEwh","push","558QqDPGX","ck-revision-history-sidebar__revision-author__name","Revision creator","14084992FGOigc","Revision author","4242528HJxWGW","ck-revision-history-sidebar__revision-author_creator","name","4865516unUSgp","14809454vRBmGf","0 0 11 10","20yLMTTI","3CUNBcy","setTemplate","35896cWfdSK","ck-revision-history-sidebar__revision-author","set"];return(Ve=function(){return t})()}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=216]})(t,e)}function Me(){var t=["9dTgAnl","numeric","long","2475545NlDhzI","304713CJWkbt","5216292tskPGo","12bBUgKQ","2559949hWZfPA","9517400bLGRNE","172686XNFwiR","22wvmvVa","18155420OfNimr","toLocaleDateString","toLocaleTimeString"];return(Me=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(748164===parseInt(e(225))/1+-parseInt(e(217))/2*(parseInt(e(216))/3)+-parseInt(e(226))/4+-parseInt(e(224))/5*(parseInt(e(227))/6)+parseInt(e(228))/7+parseInt(e(229))/8+-parseInt(e(221))/9*(-parseInt(e(218))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=480]})(t,e)}function Le(){const t=["bindTemplate","Restore this revision","name","items","locale","isReady","48IPVOlo","execute","2855652VlFmjW","2GFiuIr","1452hZWPMT","children","isVisible","buttonView","88QthyAY","13365jqOSfU","_action","listView","menuitem","button","first","isEnabled","menu","Compare against selected","ck-revision-history-sidebar__revision__actions","909550ADnBBq","stopPropagation","map","39726LUtxRH","find","model","bind","isActionsDropdownOpen","function","action","ck-on","add","class","497PMYZVo","panelPosition","358160wfvIsS","change:isActionsDropdownOpen","extendTemplate","28764kikhdl","Show more items","2852097PcIHut","set","source","listenTo","isOpen","Name this revision"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(577074===-parseInt(e(482))/1*(-parseInt(e(498))/2)+parseInt(e(518))/3+parseInt(e(483))/4*(parseInt(e(488))/5)+parseInt(e(516))/6*(-parseInt(e(511))/7)+parseInt(e(530))/8*(parseInt(e(501))/9)+-parseInt(e(513))/10+-parseInt(e(487))/11*(parseInt(e(481))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var Pe=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=It(),je.insert=wt().bind(null,"head"),je.domAPI=kt(),je.insertStyleElement=Ot();gt()(Pe.A,je);Pe.A&&Pe.A.locals&&Pe.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=324]})(t,e)}function Ue(){const t=["ck-revision-history-sidebar__revision_selected","listenTo","1019480rEWjDh","ck-disabled","length","element","isEnabled","render","ck-revision-history-sidebar__revision","creator","unshift","983760JTXvAY","value","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","map","setTemplate","filter","ck-revision-history-sidebar__revision__controls-wrapper","fire","revisionActionsView","change","name","extendTemplate","authors","highlight","span","ck-revision-history-sidebar__revision-authors","ck-reset","setName","220","uiLanguage","5867568nXceEv","ck-revision-history-sidebar__revision_highlighted","isActionsDropdownOpen","10aGxcPo","unhighlight","ck-revision-history-sidebar__actions_dropdown_open","select","ck-revision-history-sidebar__revision-wrapper","srcElement","div","_revision","35634cTOoPj","378027XwzvvH","_createdAtFormatted","revisionNameView","371035NHShGB","28157TYlJOy","isSelected","from",".ck-thread__remove-confirm","fieldView","isHighlighted","deselect","isReady","isConfirm","bind","closest","set","_requireRevisionName","bindTemplate","ck-revision-history-sidebar__revision__date","8Spmeag","createdAt"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(138488===parseInt(e(362))/1*(-parseInt(e(349))/2)+parseInt(e(358))/3+-parseInt(e(381))/4+-parseInt(e(326))/5+parseInt(e(357))/6+-parseInt(e(361))/7*(parseInt(e(377))/8)+parseInt(e(346))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(360)];[ze(334)];[ze(356)];[ze(374)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(375)],a=function(t,e){const i=r,s=Array[i(364)](e[i(338)])[i(331)]((t=>t!=e[i(324)]));return e[i(324)]&&s[i(325)](e[i(324)]),s[i(329)]((s=>new Ae(t,s,s==e[i(324)])))}(e,i);this.id=i.id,this[r(356)]=i,this[r(374)]=n,this[r(371)](r(336),r(378)).to(i),this[r(371)](r(359)).to(this,r(378),(t=>{return i=e[r(345)],(s=t)[(n=Ee)(219)](i,{month:n(223),day:n(222)})+", "+s[n(220)](i,{hour:n(222),minute:n(222)});var i,s,n})),this[r(373)](r(363),!1),this[r(373)](r(367),!1),this[r(373)](r(348),!1),this[r(373)](r(369),!1),this[r(373)](r(385),!1),this[r(360)]=new Te(e,pt.createLabeledInputText),this[r(360)][r(366)][r(337)]({attributes:{maxlength:r(344)}}),this[r(360)][r(366)][r(371)](r(327)).to(this,r(336),(t=>t||this[r(359)])),this[r(360)][r(371)](r(385)).to(this,r(363),this,r(385),((t,e)=>t&&e)),this[r(334)]=s&&s[r(383)]?function(e,i){const s=Fe,n=e[s(524)],r=e[s(528)],o=(0,pt.createDropdown)(r);o[s(512)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(528)],n={"Compare against selected":Q(s,i(496)),"Name this revision":Q(s,i(523)),"Restore this revision":Q(s,i(525))};return e[i(500)]((t=>{const e=i,s=n[t[e(526)]];return s&&s!==t[e(526)]&&(t[e(526)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(492),model:new pt.ViewModel({label:t[n(526)],class:t[n(510)],withText:!0,role:n(491),_action:t[n(507)]})};i[n(503)][n(504)](n(494)).to(e,n(505),(i=>n(506)!=typeof t[n(494)]||!i||t[n(494)](e))),o[n(509)](i)}return o}(e,i);return e[s(504)](s(505)).to(o,s(522)),o[s(486)][s(519)]({label:Q(r,s(517)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(515)]({attributes:{class:[s(497),n.if(s(505),s(508))]},on:{click:n.to((t=>t[s(499)]()))}}),o.on(s(480),(t=>{const i=s;e[i(529)]&&i(506)==typeof t[i(520)][i(489)]&&t[i(520)][i(489)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(495)}),o[s(521)](e,s(514),((t,n,r)=>{const a=s;if(r)for(const t of o[a(490)][a(527)]){const s=t[a(484)][a(493)],n=i[a(502)]((t=>t[a(507)]===s[a(489)]))[a(485)];t[a(485)]=void 0===n||n(e)}})),o}(this,s):"",this[r(334)]&&this[r(334)][r(371)](r(385)).to(this),this[r(330)]({tag:r(355),attributes:{class:["ck",r(342),r(353),o.if(r(370),r(328))]},children:[{tag:r(355),attributes:{class:["ck",r(342),r(387),o.if(r(385),r(382),(t=>!t)),o.if(r(363),r(379)),o.if(r(367),r(347)),o.if(r(348),r(351))]},children:[this[r(360)],{tag:r(340),attributes:{class:["ck",r(376)]},children:[{text:o.to(r(359))}]},{tag:r(355),attributes:{class:["ck",r(332)]},children:[{tag:"ul",attributes:{class:["ck",r(341)]},children:a}]},this[r(334)]],on:{click:o.to((t=>{const e=r;t[e(354)][e(372)](e(365))||this[e(369)]&&this[e(385)]&&this[e(333)](e(352),{id:this.id})}))}}]})}[ze(386)](){const t=ze;super[t(386)]();const e=this[t(360)][t(366)][t(384)];this[t(380)](e,t(335),(()=>{const i=t;this[i(374)]&&!e[i(327)]||this[i(333)](i(343),{id:this.id,name:e[i(327)]}),e[i(327)]||(e[i(327)]=this[i(336)]?this[i(336)]:this[i(359)])}))}[ze(352)](){this[ze(363)]=!0}[ze(368)](){this[ze(363)]=!1}[ze(339)](){this[ze(367)]=!0}[ze(350)](){this[ze(367)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Ge extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return $s(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 Hs(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,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,(js({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let 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 Pi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=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 ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Ei(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Li(this,t,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Pi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class 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 Bi(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Gi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${$i[i]}${e}`)),Ji[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return Bi(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ps(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function 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 Ps(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function Bs(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 $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Vs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=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=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Es(e)):Es(e),month:Js.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Pn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),Bn=mn(wn,Tn,xn,Nn),$n=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:Bs(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...Bs(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(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 Bi(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($i.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let 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 Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function 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 Pr(t,e,i){return Fr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ps(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=js(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Br={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Kr(t,e){const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of $r)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Pr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null: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||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=Bi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e),n=Bs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=Br,g=gs(g)):(p=$r,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Pr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,Bn],[Hn,$n],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,jn],[Ln,jn],[Pn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return 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?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=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ps(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=Bi(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Pr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(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=Bs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ps(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Pr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,jr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,jr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=oo();return(no=function(t,e){return i[t-=466]})(t,e)}function ro(t,e){const i=no,s=io[i(487)](t)[i(470)](e),n=io[i(479)](),r=n[i(475)]({days:1})[i(476)](i(468));let o,a;return s[i(474)](n,i(468))?(o=s[i(476)](i(468))[i(467)](),a=s[i(471)]()):s[i(474)](r,i(468))?(o=r[i(467)](),a=s[i(471)]()):s[i(474)](n,i(489))?(o=s[i(476)](i(489))[i(467)](),a=s[i(484)]||""):s[i(474)](n,i(490))?(o=s[i(476)](i(477))[i(467)](),a=s[i(473)]||""):(o=s[i(476)](i(490))[i(467)](),a=String(s[i(490)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["weekdayLong","10670otQzCP","540415IzlfOE","fromJSDate","15888njdBkS","week","year","2ILxfaP","toJSDate","day","1467EqKGvW","setLocale","toRelativeCalendar","1052376RHMuFA","monthLong","hasSame","minus","startOf","month","20TGLifU","local","228136LucqQX","25943hHIQOU","1560724ClGDGm","7RySMWE"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(127330===-parseInt(e(481))/1*(-parseInt(e(466))/2)+parseInt(e(488))/3*(-parseInt(e(478))/4)+-parseInt(e(486))/5+parseInt(e(472))/6+-parseInt(e(483))/7*(-parseInt(e(480))/8)+parseInt(e(469))/9*(parseInt(e(485))/10)+-parseInt(e(482))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["delegate","startDate","setTemplate","setName","remove","ck-revision-history-sidebar__time-period__revisions","add","10121909EFoePd","417SrLidC","879gpJLlR","_revisionActions","_requireRevisionName","localizedPeriodName","removeRevision","507303uTXpoQ","2100vHPLRf","7916vEpBzq","locale","4865bKdfCw","7338JLpuQQ","span","ck-revision-history-sidebar__time-period__label","40auxtzC","ck-revision-history-sidebar__time-period","22CqXnzt","909392ulMioC","revisionViews","select","find","2446452CIDzBL","addRevision","div","uiLanguage","createCollection"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(871385===parseInt(e(292))/1*(-parseInt(e(299))/2)+parseInt(e(293))/3*(-parseInt(e(300))/4)+-parseInt(e(302))/5*(-parseInt(e(303))/6)+parseInt(e(291))/7+-parseInt(e(309))/8+-parseInt(e(298))/9*(parseInt(e(306))/10)+-parseInt(e(308))/11*(parseInt(e(313))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(319)];[uo(310)];[uo(294)];[uo(295)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(301)][n(316)])[n(296)];this[n(319)]=e,this[n(310)]=this[n(317)](),this[n(294)]=i,this[n(295)]=s,this[n(310)][n(318)](n(311)).to(this),this[n(310)][n(318)](n(321)).to(this),this[n(320)]({tag:n(315),attributes:{class:["ck",n(307)]},children:[{tag:n(304),attributes:{class:["ck",n(305)]},children:[{text:r}]},{tag:n(315),attributes:{class:["ck",n(289)]},children:this[n(310)]}]})}[uo(314)](t){const e=uo,i=new He(this[e(301)],t,this[e(294)],this[e(295)]);this[e(310)][e(290)](i)}[uo(297)](t){const e=uo,i=this[e(310)][e(312)]((e=>e.id===t.id));this[e(310)][e(288)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=194]})(t,e)}function go(){const t=["div","144zTdJHY","399891xjkJGL","Revision history","span","content","324500vpLYKL","824464gpMNKY","146aHTaIv","3103962YSpVZc","5PAZZbb","setTemplate","ck-revision-history-sidebar__header","3911567ikdiRu","7FGUAtt","5587FpZSuV","3351080MfpegM","ck-reset_all","ck-revision-history-sidebar__header__label"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(273617===parseInt(e(203))/1*(parseInt(e(196))/2)+parseInt(e(209))/3+-parseInt(e(195))/4*(parseInt(e(198))/5)+-parseInt(e(197))/6*(parseInt(e(202))/7)+-parseInt(e(204))/8+parseInt(e(208))/9*(parseInt(e(194))/10)+parseInt(e(201))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(212)]=mt.IconHistory,this[e(199)]({tag:e(207),attributes:{class:["ck",e(205),e(200)]},children:[i,{tag:e(211),attributes:{class:["ck",e(206)]},children:[Q(t,e(210))]}]})}}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=["_revisions","isEnabled","flat","5XYsIfi","10386qmNffk","_getTimePeriodViewByStartDate","addRevision","deselect","ck-revision-history-sidebar","363818LvGYun","render","bindTemplate","6msQnUK","createCollection","select","startDate","_requireRevisionName","revisionViews","set","ck-rounded-corners","2229344EBGQor","map","uiLanguage","delegate","find","fire","locale","removeRevision","add","6645904qzCcfx","div","unhighlight","ck-revision-history-sidebar__timeline","_revisionActions","setName","remove","createdAt","revisionSetName","revisionSelected","some","get","_removeRevision","selectRevision","setTemplate","getTime","highlight","ck-disabled","ck-reset","_addRevision","highlightRevisions","10720MYQXOv","172026lvDOxB","16322NRBpPo","timePeriodViews","5439822nbSgRU"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(549519===-parseInt(e(454))/1*(parseInt(e(439))/2)+-parseInt(e(438))/3+-parseInt(e(407))/4+parseInt(e(445))/5*(-parseInt(e(441))/6)+parseInt(e(451))/7+parseInt(e(416))/8+-parseInt(e(446))/9*(-parseInt(e(437))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(440)];[wo(442)];[wo(420)];[wo(458)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(453)];this[n(440)]=this[n(455)](),this[n(440)][n(410)](n(456)).to(this),this[n(440)][n(410)](n(421)).to(this),this[n(442)]=e,this[n(420)]=i,this[n(458)]=s,this.on(n(456),((t,e)=>{const i=n;this[i(412)](i(425),e)})),this.on(n(421),((t,e)=>{const i=n;this[i(412)](i(424),e)})),this[n(405)](n(443),!1),this[n(430)]({tag:n(417),attributes:{class:["ck",n(434),n(406),n(450)]},children:[new yo(t),{tag:n(417),attributes:{class:["ck",n(419),r.if(n(443),n(433),(t=>!t))]},children:this[n(440)]}]})}[wo(452)](){const t=wo;super[t(452)]();for(const e of this[t(442)])this[t(435)](e);this[t(442)].on(t(415),((e,i)=>{this[t(435)](i)})),this[t(442)].on(t(422),((e,i)=>{this[t(428)](i)}))}get[wo(404)](){const t=wo;return this[t(440)][t(408)]((e=>e[t(404)][t(408)]((t=>t))))[t(444)]()}[wo(429)](t){const e=wo;for(const i of this[e(404)])t&&t.id===i.id?i[e(456)]():i[e(449)]()}[wo(436)](t){const e=wo;for(const i of this[e(404)])t[e(426)]((({id:t})=>t===i.id))?i[e(432)]():i[e(418)]()}[wo(435)](t){const e=wo,i=ro(t[e(423)],this[e(413)][e(409)])[e(457)];let s=this[e(440)][e(427)](0);s&&s[e(457)][e(431)]()===i[e(431)]()||(s=new fo(this[e(413)],i,this[e(420)],this[e(458)]),this[e(440)][e(415)](s)),s[e(448)](t)}[wo(428)](t){const e=wo,i=ro(t[e(423)],this[e(413)][e(409)])[e(457)];this[e(447)](i)[e(414)](t)}[wo(447)](t){const e=wo;return this[e(440)][e(411)]((i=>i[e(457)][e(431)]()===t[e(431)]()))}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=150]})(t,e)}function xo(){const t=["action","isOfficialPlugin","2nLdqIA","RevisionsSidebar","map","requires","destroy","fieldView","revisionHistory","ready","timePeriodViews","appendChild","6ZRpKqH","isReady","element","revisionHistory.requireRevisionName","name","getLaterVisibleRevision","remove","2201410fPAsdp","setName","_revisionViewer","revisionHistory.revisionActions","isVisible","render","22172KdEdES","36232HZRJVF","getIndex","getEarlierVisibleRevision","Compare against selected","editor","defaultRevisionActions","Restore this revision","config","revisionSelected","_revisions","Name this revision","_handleRevisionSelected","1811777fiPjQQ","isSelected","get","180394TFSrdU","diff","_createRevisionActions","getRevisionsInDiff","select","isPremiumPlugin","468RaNsii","compareAgainstSelected","focus","newRevisionId","_handleDiffChange","revisionSetName","highlightRevisions","_revisionsRepository","repository","nameRevision","_handleEditorDataReady","restoreRevisionCallback","pluginName","bind","revisionHistory.viewerSidebarContainer","getRevision","init","compare","availableRevisionActions","selectRevision","2212782AirhAf","length","isEnabled","add","plugins","_handleRevisionSetName","revisionViews","string","12rnVepf","data","9qcKPFs","change:diff","listenTo","98CIAzcq","restoreRevision","15005YsmTHU","locale","_sidebarView","assign"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(225200===parseInt(e(207))/1*(parseInt(e(168))/2)+-parseInt(e(178))/3*(parseInt(e(191))/4)+parseInt(e(162))/5*(parseInt(e(213))/6)+-parseInt(e(160))/7*(parseInt(e(192))/8)+parseInt(e(157))/9*(parseInt(e(185))/10)+-parseInt(e(204))/11*(parseInt(e(155))/12)+-parseInt(e(233))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(187)];[Oo(220)];[Oo(164)];static[Oo(197)]=[Oo(214),Oo(161),Oo(222)];static[Oo(231)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(195),action:({plugins:e},i)=>{const s=t,n=e[s(206)](ee),r=n[s(221)];let o=n[s(208)][s(216)],a=i.id;r[s(193)](o)>r[s(193)](a)&&([o,a]=[a,o]),n[s(230)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(206)](ee);return!(n[s(221)][s(210)](n[s(208)])[s(234)]>2||i[s(205)])}},restoreRevision:{name:t(198),action:(e,{id:i})=>{const s=t;e[s(199)][s(206)](s(174))[s(224)](i)},isVisible:({plugins:e},i)=>!!e[t(206)](ee)[t(221)][t(183)](i.id)},nameRevision:{name:t(202),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(206)](ee),o=r[n(221)][n(194)](i);r[n(230)](i,o),s[n(215)](),s[n(173)][n(211)]()}}}}();static get[Oo(225)](){return Oo(169)}static get[Oo(167)](){return!0}static get[Oo(212)](){return!0}static get[Oo(171)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(187)]=t[e(151)][e(206)](ee),this[e(220)]=this[e(187)][e(221)],this[e(164)]=null}[Oo(229)](){const t=Oo,e=this[t(220)][t(201)],i=this[t(209)](),s=this[t(196)][t(199)][t(206)](t(227));this[t(164)]=new So(this[t(196)][t(163)],e,i,this[t(196)][t(199)][t(206)](t(181))),this[t(164)].on(t(200),this[t(203)][t(226)](this)),this[t(164)].on(t(218),this[t(152)][t(226)](this)),this[t(164)][t(226)](t(235)).to(this[t(187)]),this[t(164)][t(176)].on(t(150),((e,i)=>{const s=t;i[s(153)].on(s(150),((t,e)=>{const i=s;e[i(226)](i(235),i(179)).to(this[i(187)])}))})),this[t(164)][t(190)](),this[t(159)](this[t(196)][t(156)],t(175),this[t(223)][t(226)](this)),this[t(159)](this[t(187)],t(158),this[t(217)][t(226)](this)),s[t(177)](this[t(164)][t(180)])}[Oo(172)](){const t=Oo;this[t(164)][t(180)][t(184)](),this[t(164)][t(172)]()}[Oo(223)](){const t=Oo,e=this[t(220)][t(228)](0);if(e){const i=this[t(220)][t(194)](e.id);this[t(187)][t(230)](e,i)}}[Oo(203)](t,e){const i=Oo,s=this[i(220)][i(228)](e.id),n=this[i(220)][i(194)](s.id);this[i(187)][i(230)](s,n)}[Oo(152)](t,e){const i=Oo;this[i(220)][i(228)](e.id)[i(186)](e[i(182)])}[Oo(217)](t,e,i){const s=Oo,n=this[s(220)][s(210)](i);n[s(234)]>2?(this[s(164)][s(219)](n),this[s(164)][s(232)](null)):(this[s(164)][s(219)]([]),this[s(164)][s(232)](n[0]))}[Oo(209)](){const t=Oo,e=this[t(196)],i=No[t(231)],s=e[t(199)][t(206)](t(188))||No[t(197)];if(s[t(234)])return s[t(170)]((s=>{const n=t,r=n(154)==typeof s?Object[n(165)]({},i[s]):s;return r[n(166)]=r[n(166)][n(226)](this,e),r[n(189)]&&(r[n(189)]=r[n(189)][n(226)](this,e)),r}))}}const Ro=No,Ao=Eo;function Vo(){const t=["415AtdYNP","3011316YNBAiB","rootName","componentFactory","render","_elementReplacer","editing","12vlTXze","3GtPLVq","fillFromConfig","editable","ready","fire","getRoot","focusTracker","68551QqysCR","destroy","bind","591610xAgXHq","12637306XEvliB","_initToolbar","_toolbarConfig","5948DRweQN","_view","limiterElement","isActive","stickyPanel","replace","addToolbar","attachDomRoot","552kxBxId","9BVRVBZ","document","viewportOffset","39780RCIIrq","editor","isFocused","restore","init","detachDomRoot","viewportTopOffset","1018864JFPlFA","view","config","toolbar","setEditableElement","get","name","element"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=436]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(361543===-parseInt(e(484))/1+parseInt(e(442))/2*(-parseInt(e(458))/3)+-parseInt(e(472))/4*(parseInt(e(450))/5)+parseInt(e(451))/6+parseInt(e(465))/7*(-parseInt(e(480))/8)+-parseInt(e(481))/9*(-parseInt(e(468))/10)+-parseInt(e(469))/11*(-parseInt(e(457))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Mo extends pt.EditorUI{[Ao(473)];[Ao(471)];[Ao(455)];get[Ao(443)](){return this[Ao(473)]}constructor(e,i){const s=Ao;super(e),this[s(473)]=i,this[s(471)]=(0,pt.normalizeToolbarConfig)(e[s(444)][s(447)](s(445))),this[s(455)]=new t.ElementReplacer}get[Ao(449)](){const t=Ao;return this[t(443)][t(449)]}[Ao(439)](t){const e=Ao,i=this[e(436)],s=this[e(443)],n=i[e(456)][e(443)],r=s[e(460)],o=n[e(482)][e(463)]();r[e(448)]=o[e(452)],s[e(454)]();const a=r[e(449)];this[e(446)](r[e(448)],a),s[e(460)][e(467)](e(437)).to(this[e(464)]),n[e(479)](a),this[e(455)][e(477)](t,this[e(449)]),this[e(470)](),this[e(462)](e(461))}[Ao(466)](){const t=Ao;super[t(466)]();const e=this[t(443)],i=this[t(436)][t(456)][t(443)];this[t(455)][t(438)](),i[t(440)](e[t(460)][t(448)]),e[t(466)]()}[Ao(470)](){const t=Ao,e=this[t(443)];e[t(476)][t(467)](t(475)).to(this[t(464)],t(437)),e[t(476)][t(474)]=e[t(449)],e[t(476)][t(467)](t(441)).to(this,t(483),(({top:t})=>t)),e[t(445)][t(459)](this[t(471)],this[t(453)]),this[t(478)](e[t(445)])}}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=Po;function Lo(){var t=["render","9TqvMCj","15178770OfbLIn","toolbar","stickyPanel","145122EPLfNi","_editable","119KfRGfc","top","3YMqHxR","789484TwmSGg","editable","content","545240WYmtRD","main","add","119808vRGuxn","shouldToolbarGroupWhenFull","566620wzkLRQ","593240UxFYQd"];return(Lo=function(){return t})()}function Po(t,e){var i=Lo();return(Po=function(t,e){return i[t-=440]})(t,e)}!function(t){for(var e=Po,i=t();;)try{if(316805===-parseInt(e(441))/1+-parseInt(e(442))/2+-parseInt(e(452))/3*(-parseInt(e(453))/4)+-parseInt(e(456))/5+parseInt(e(448))/6*(-parseInt(e(450))/7)+-parseInt(e(459))/8+-parseInt(e(444))/9*(-parseInt(e(445))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends pt.BoxedEditorUIView{[Fo(449)];[Fo(447)];[Fo(446)];get[Fo(454)](){return this[Fo(449)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(447)]=new pt.StickyPanelView(t),this[s(446)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(440)]}),this[s(449)]=new pt.InlineEditableUIView(t,e)}[Fo(443)](){var t=Fo;super[t(443)](),this[t(447)][t(455)][t(458)](this[t(446)]),this[t(451)][t(458)](this[t(447)]),this[t(457)][t(458)](this[t(454)])}}const zo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=213]})(t,e)}function Uo(){const t=["init","locale","view","933039szhJHC","initialData","updateSourceElement","sourceElement","editing","model","40MSRsJp","2874666UlPuKF","2OZRFgm","document","data","createRoot","4naVoou","ready","create","3401315QKlvbV","initPlugins","697122KWnmyI","1433453eVusfz","1770783Cwqzrx","destroy","_ui","7536304zOXtEF","get","config","fire"];return(Uo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(964329===parseInt(e(223))/1+-parseInt(e(213))/2*(-parseInt(e(234))/3)+-parseInt(e(217))/4*(parseInt(e(220))/5)+-parseInt(e(241))/6+-parseInt(e(224))/7+parseInt(e(227))/8+-parseInt(e(222))/9*(parseInt(e(240))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(226)];get ui(){return this[zo(226)]}constructor(t,e){const i=zo;super(e),this[i(237)]=t,this[i(239)][i(214)][i(216)]();const s=new jo(this[i(232)],this[i(238)][i(233)],{shouldToolbarGroupWhenFull:!0});this[i(226)]=new Mo(this,s)}[zo(225)](){const t=zo;return this[t(236)](),this.ui[t(225)](),super[t(225)]()}static async[zo(219)](t,e){const i=zo,s=new this(t,e);return await s[i(221)](),await s.ui[i(231)](t),await s[i(215)][i(231)](s[i(229)][i(228)](i(235))||""),s[i(230)](i(218)),s}}const Zo=Bo;function qo(){const t=["has","closeRevisionViewerCallback","_update","221721UDPwYj","markers","get","numeric","addUser","push","9927eFyZQw","save","isAnonymous","toLocaleTimeString","repository","isReadOnly","init","error","disableReadOnlyMode","display","isOpen","includes","selection","RestrictedEditingMode","fromVersion","hide","adapter","5884930tLErnR","RevisionViewerIntegration","fromCharCode","document","11CpcyAB","saveRevision","48Cmpaci","removeAttribute","requires","roots","plugins","changesNavigation","isAttached","block","isReady","create","DocumentOutline","Restored","removeMarker","revision-history-viewer-opened","getRevision","_closeRevisionViewer","editor","pluginName","8biTcnk","lazyRoots","revisionHistory.restoreRevisionCallback","_enhanceCloseRevisionViewerCallback","none","getRevisionRootsAttributes","remove","RevisionViewer","view","showRevisionViewerCallback","$graveyard","getRoot","isOfficialPlugin","revisionHistory.showRevisionViewerCallback","loadRevisionData","then","addRevisionData","element","isPremiumPlugin","map","toLocaleDateString","RevisionHistory","_cleanUp","Annotations","Users","setSelection","6337CtExtI","revisionHistory.viewerEditorElement","locale","refreshVisibility","bind","toVersion","3464508IhvsEg","exitToEditing","_recalculatePageBreaks","revisionHistory.viewerContainer","_restoreRevision","572640vlFZtC","model","getAttributeKeys","from","creator","getRevisionDocumentData","Autosave","removeSelectionAttribute","commands","detachRoot","isEnabled","createRangeIn","revision-history-missing-configuration","name","end","data","1833144TKWzBv","style","long","setAttribute","getUser","getRevisions","change","define","DocumentOutlineUI","getMarkersGroup","RevisionHistoryUI","RevisionTracker","_getRevisionViewerEditorConfig","revisionHistory","7fUhCeu","update","Dialog","destroy","RevisionHistoryUtils","refreshPositioning","indexOf","RevisionsRepository","createdAt","restrictedEditingException","translations","uiLanguage","config","toJSON","enableReadOnlyMode","_enhanceShowRevisionViewerCallback","revisionHistory.editorContainer","insert","revisionHistory.requireRevisionName","users","isRevisionViewerOpen","keys","parse","toolbar","1440qnsjsA","join","set","_showRevisionViewer","addRoot","catch","rootName","revisionHistory.closeRevisionViewerCallback","enqueueChange","_viewerEditor","PaginationLookup","result","restoreRevision"];return(qo=function(){return t})()}function Bo(t,e){const i=qo();return(Bo=function(t,e){return i[t-=218]})(t,e)}!function(t){const e=Bo,i=t();for(;;)try{if(525601===parseInt(e(254))/1*(parseInt(e(364))/2)+-parseInt(e(335))/3*(-parseInt(e(228))/4)+-parseInt(e(265))/5+-parseInt(e(260))/6*(-parseInt(e(295))/7)+parseInt(e(319))/8*(parseInt(e(341))/9)+-parseInt(e(358))/10*(parseInt(e(362))/11)+parseInt(e(281))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Zo(291),Zo(354)];class Yo extends U.Plugin{[Zo(330)];static get[Zo(227)](){return Zo(359)}static get[Zo(240)](){return!0}static get[Zo(246)](){return!0}constructor(t){const e=Zo;function i(t){const e=Bo;return t[e(247)]((t=>String[e(360)](t)))[e(320)]("")}super(t),this[e(330)]=e(279),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Go extends U.Plugin{[Zo(328)];static get[Zo(227)](){return Zo(249)}static get[Zo(240)](){return!0}static get[Zo(246)](){return!0}static get[Zo(366)](){return[ct,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(226)][i(307)][i(337)](i(294)))throw new t.CKEditorError(i(277),this);this[i(328)]=null,this[i(321)](i(315),!1),this[i(226)][i(307)][i(288)](i(241),(t=>this[i(322)]({...t,translations:this[i(226)][i(256)][i(305)]}))),this[i(226)][i(307)][i(288)](i(326),(t=>this[i(225)](t))),this[i(226)][i(307)][i(288)](i(230),(t=>this[i(264)](t))),this[i(226)][i(307)][i(288)](i(313),!1),this[i(310)](),this[i(231)]()}set[Zo(357)](t){const e=Zo;this[e(226)][e(368)][e(337)](e(292))[e(357)]=t}get[Zo(357)](){const t=Zo;return this[t(226)][t(368)][t(337)](t(292))[t(357)]}[Zo(244)](t){const e=Zo;return this[e(226)][e(368)][e(337)](e(292))[e(244)](t)}[Zo(224)](t){const e=Zo;return this[e(226)][e(368)][e(337)](e(302))[e(224)](t)}[Zo(286)](t){const e=Zo;return this[e(226)][e(368)][e(337)](e(302))[e(286)](t||{toJSON:!1})}[Zo(293)](){const e=Zo,i=this[e(226)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(368)][e(337)](e(292)),r=i[e(368)][e(337)](e(252))[e(314)];return s[e(318)]=[e(261),e(331),e(369)],delete s[e(229)],s[e(368)][e(340)](Yo,ee,be,class extends U.Plugin{static get[e(366)](){return[ee,e(252)]}[e(347)](){const s=e,o=this[s(226)][s(368)][s(337)](s(252));for(const t of r)t[s(343)]||o[s(285)](t.id)||o[s(339)](t);const a=n[s(345)][s(286)]();let c=null;const u=this[s(226)][s(368)][s(337)](s(235));u[s(357)]=n[s(357)],u[s(258)](s(275)).to(n),this[s(226)][s(273)][s(337)](s(331))[s(258)](s(275)).to(i,s(346),(t=>!t));for(const e of a){const i=null===e[s(269)];if(i&&e[s(259)]===e[s(355)])continue;const r=e[s(308)]();u[s(244)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(334)](r,o);else if(!o){const e=a[u(308)]();e.id=(0,t.uid)(),n[u(363)](e,a[u(259)])[u(243)]((t=>{c=t}))}}else e[u(334)](r,o)}))}}},Ro),s}[Zo(310)](){const t=Zo,e=this[t(226)][t(307)][t(337)](t(294))[t(237)];this[t(226)][t(307)][t(321)](t(241),(async()=>{const i=t;this[i(226)][i(309)](i(223));const s=this[i(226)][i(368)][i(337)](i(292));if(this[i(226)][i(368)][i(332)](i(271))){const t=this[i(226)][i(368)][i(337)](i(271));await t[i(342)]()}else await s[i(296)]();if(this[i(226)][i(368)][i(332)](i(329))&&this[i(226)][i(368)][i(337)](i(329))[i(262)](),this[i(226)][i(368)][i(332)](i(297))){const t=this[i(226)][i(368)][i(337)](i(297));t[i(351)]&&t[i(356)]()}const n=this[i(293)]();return e(n)[i(243)]((t=>{const e=i;return this[e(328)]=t,this[e(226)][e(368)][e(332)](e(251))&&this[e(226)][e(368)][e(337)](e(251))[e(257)](),this[e(226)][e(368)][e(332)](e(220))&&(this[e(226)][e(368)][e(337)](e(289))[e(236)][e(245)][e(282)][e(350)]=e(232)),t}))[i(324)]((t=>(console[i(348)](t),this[i(226)][i(349)](i(223)),null)))}))}[Zo(231)](){const t=Zo,e=this[t(226)][t(307)][t(337)](t(294))[t(333)];this[t(226)][t(307)][t(321)](t(326),(()=>(this[t(226)][t(368)][t(332)](t(329))&&this[t(226)][t(368)][t(337)](t(329))[t(262)](),this[t(226)][t(368)][t(332)](t(220))&&(this[t(226)][t(368)][t(337)](t(289))[t(236)][t(245)][t(282)][t(350)]=""),this[t(328)][t(368)][t(337)](t(235))[t(250)](),e(this[t(328)])[t(243)]((()=>{const e=t;if(this[e(226)][e(349)](e(223)),this[e(328)]=null,this[e(226)][e(368)][e(332)](e(251))){const t=this[e(226)][e(368)][e(337)](e(251));t[e(257)](),t[e(300)]()}})))))}[Zo(322)](t){const e=Zo,i=this[e(226)][e(307)][e(337)](e(311)),s=this[e(226)][e(307)][e(337)](e(263)),n=this[e(226)][e(307)][e(337)](e(255));return Ho[e(219)](n,t)[e(243)]((t=>(s[e(282)][e(350)]=e(371),i[e(282)][e(350)]=e(232),this[e(315)]=!0,t)))}[Zo(225)](t){const e=Zo,i=this[e(226)][e(307)][e(337)](e(311));return this[e(226)][e(307)][e(337)](e(263))[e(282)][e(350)]=e(232),i[e(282)][e(350)]="",this[e(315)]=!1,t[e(298)]()}async[Zo(264)](t){const e=Zo,i=this[e(226)],s=this[e(328)][e(368)][e(337)](e(235)),n=i[e(368)][e(337)](e(292)),r=i[e(368)][e(337)](e(299)),o=s[e(345)][e(224)](t);let a,c,u;try{await r[e(242)](o,this[e(357)]),a=r[e(270)](o),c=r[e(233)](o)}catch(t){return void console[e(348)](t)}i[e(266)][e(287)]((t=>{const s=e;for(const e of Array[s(268)](i[s(266)][s(336)][s(290)](s(304))))t[s(222)](e)})),s[e(218)]=!1,i[e(266)][e(327)]((t=>{const s=e;t[s(253)](null),t[s(272)](i[s(266)][s(361)][s(353)][s(267)]());const n=Object[s(316)](a);for(const e of i[s(266)][s(361)][s(367)])s(238)!=e[s(325)]&&e[s(370)]()&&!n[s(352)](e[s(325)])&&t[s(274)](e);for(const e of n){let n=i[s(266)][s(361)][s(239)](e);n&&n[s(370)]()||(n=t[s(323)](e));const r=c[e],o=Object[s(316)](r),u=a[e];for(const e of n[s(267)]())o[s(352)](e)||t[s(365)](e,n);for(const i of o)t[s(284)](i,c[e][i],n);t[s(234)](t[s(276)](n)),t[s(312)](i[s(280)][s(317)](u,n),n,0)}}));const l=Q(i[e(256)],e(221));return u=o[e(278)]?-1==o[e(278)][e(301)](l)?l+": "+o[e(278)]:o[e(278)]:l+": "+o[e(303)][e(248)](i[e(256)][e(306)],{month:e(283),day:e(338)})+", "+o[e(303)][e(344)](i[e(256)][e(306)],{hour:e(338),minute:e(338)}),await n[e(363)]({name:u}),s[e(218)]=!0,i[e(307)][e(337)](e(294))[e(333)]()}}function Jo(){var t=["193256gPjhuL","3SYqWse","1520100auYVQp","12qjZhJv","464030anvrzm","2slnlGG","7FePpeO","2115620gAZMhB","1891272RaOdEu","11mTgoqw","168137ZTFfCh","4339644FyFvZX"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=307]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(137051===parseInt(e(315))/1*(-parseInt(e(310))/2)+parseInt(e(318))/3*(-parseInt(e(317))/4)+-parseInt(e(309))/5*(-parseInt(e(308))/6)+-parseInt(e(311))/7*(parseInt(e(313))/8)+-parseInt(e(307))/9+parseInt(e(312))/10+-parseInt(e(314))/11*(-parseInt(e(316))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();