@ckeditor/ckeditor5-revision-history 45.0.0-alpha.6 → 45.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Ft,RevisionHistoryUtils:()=>K,RevisionTracker:()=>ct,RevisionViewer:()=>Qt,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(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,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const D=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return 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 V(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?V(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}}function j(){const t=["18PogaRy","name","set","creator","toJSON","51371uXqcqc","diffData","fromVersion","createdAt","10YvWhvb","72XEItgY","2466183ezgwUo","_update","2352372yfrfud","setAttribute","map","602497vhapVS","14rriByr","creatorId","1235331Bixvpq","authors","attributes","removeAttribute","toVersion","fire","authorsIds","3235860CezmNX","836805zZUwfh","setName","model","120FxYDsY"];return(j=function(){return t})()}const P=z;function z(t,e){const i=j();return(z=function(t,e){return i[t-=180]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(457276===parseInt(e(193))/1*(parseInt(e(205))/2)+-parseInt(e(199))/3+-parseInt(e(183))/4+parseInt(e(184))/5*(parseInt(e(188))/6)+parseInt(e(204))/7*(-parseInt(e(198))/8)+parseInt(e(207))/9*(-parseInt(e(197))/10)+parseInt(e(201))/11*(parseInt(e(187))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class W extends((0,t.ObservableMixin)()){id;[P(191)];[P(208)];[P(194)];[P(180)];[P(195)];[P(186)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(191)]=e[i(191)]||null,this[i(208)]=e[i(208)]||[],this[i(194)]=e[i(194)]||null,this[i(180)]=e[i(180)]||0,this[i(195)]=e[i(195)]||0,this[i(190)](i(189),e[i(189)]||""),this[i(190)](i(196),e[i(196)]||new Date),this[i(190)](i(209),e[i(209)]||{})}[P(185)](t){this[P(200)]({name:t})}[P(202)](t,e){const i=P,s=R(this[i(209)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(200)]({attributes:s})}[P(210)](t){const e=P,i=R(this[e(209)]);(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]&&V(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(200)]({attributes:i})}[P(200)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(189),i(196),i(194),i(208),i(209),i(180),i(195),i(206)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(208)]&&(n[i(182)]=n[i(208)][i(203)]((t=>t.id)),delete n[i(208)]),this[i(181)](i(200),n,e))}[P(192)](){const t=P;return{id:this.id,name:this[t(189)],creatorId:this[t(191)]?this[t(191)].id:null,authorsIds:this[t(208)][t(203)]((t=>t.id)),diffData:this[t(194)],createdAt:this[t(196)],attributes:this[t(209)],fromVersion:this[t(195)],toVersion:this[t(180)]}}}var U=i(782),H=i(211),Z=i(783);const q=B;function $(){const t=["newRevisionId","921944ChkeqI","oldRevisionId","311134gkshdr","3712794rLcycU","afterInit","reverse","data","getIndex","createdAt","pluginName","creatorId","plugins","toJSON","_revisions","getEarlierVisibleRevision","2520705oTmdrd","push","name","getRevisionsIterator","later","getUser","getLaterVisibleRevision","join","Users","1360255XXMSsx","2776160hEmYqp","fromVersion","earlier","requires","getRevision","get","authorsIds","17416SlBkEu","isOfficialPlugin","6gbjhYa","createRevision","isNaN","3MFuWqv","isPremiumPlugin","getRevisions","fromCharCode","getRevisionsInDiff","2008Iuakxt","from","toVersion","addRevision","map","length","add","diffData","RevisionsRepository","href","editor","attributes","9MIsuAZ"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=270]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(485015===parseInt(e(273))/1*(parseInt(e(305))/2)+-parseInt(e(308))/3*(parseInt(e(271))/4)+-parseInt(e(295))/5+-parseInt(e(274))/6+parseInt(e(303))/7*(parseInt(e(313))/8)+parseInt(e(325))/9*(parseInt(e(296))/10)+-parseInt(e(286))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(284)];static get[q(299)](){return[H.Users]}static get[q(280)](){return q(321)}static get[q(304)](){return!0}static get[q(309)](){return!0}get[q(318)](){const t=q;return this[t(284)][t(318)]}constructor(e){const i=q;super(e),this[i(284)]=new t.Collection}[q(275)](){!async function(e){const i=k([78,73,49,86,120,99,52,65,48,116,111,108,89,104,70,77,119,56,101,107,68,69,55,72,100,121,82,90,105,67,81,76,53,79,103,83,85,98,51,66,74,122,117,54,50,80,57,106,75,84,87,109,118,88,114,115,112,71,110,113,97,102]),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(307)](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([78]);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(317)]((t=>String[e(311)](t)))[e(293)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1743465600;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(322)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(306)](t){const e=q,i=this[e(323)][e(282)][e(301)](e(294));return new W({id:t.id,name:t[e(288)],creator:t[e(281)]?i[e(291)](t[e(281)]):null,diffData:t[e(320)]||t[e(277)],authors:t[e(302)][e(317)]((t=>i[e(291)](t))),createdAt:new Date(t[e(279)]),attributes:t[e(324)],fromVersion:t[e(297)],toVersion:t[e(315)]})}[q(316)](t,e=0){const i=q;this[i(284)][i(319)](t,e)}[q(300)](t){const e=q;return this[e(284)][e(301)](t)}[q(310)](t={toJSON:!1}){const e=q,i=Array[e(314)](this[e(284)]);return i[e(276)](),t[e(283)]?i[e(317)]((t=>t[e(283)]())):i}[q(278)](t){const e=q;return this[e(284)][e(278)](t)}[q(285)](t){const e=q,[,i]=this[e(289)](t,{direction:e(298)});return i}[q(292)](t){const e=q,[,i]=this[e(289)](t,{direction:e(290)});return i}[q(312)](t){const e=q,i=[];for(const s of this[e(289)](t[e(270)]))if(i[e(287)](s),s.id===t[e(272)])break;return i}*[q(289)](t,{direction:e=q(298),filter:i=()=>!0}={}){const s=q,n=s(298)===e?1:-1;let r=this[s(284)][s(301)](t),o=this[s(278)](r);for(yield r;r;){if(o+=n,r=this[s(300)](o),!r)return;i(r)&&(yield r)}}}function G(){const t=["get","2954547bPRcVw","10425735JEVXMD","string","getFillerOffset","createElement","processor","148242iWupqU","_appendChild","parse","_getViewFromDiffObj","childNodes","editor","domChildrenToView","name","_setCustomProperty","_removeRevisionMarkers","2027232kdPLSt","default","collaboration.channelId","forEach","138184SqsMgl","div","RevisionHistoryUtils","document","map","data-revision-","fillerOffset","htmlProcessor","attributes","attributesAfter","innerHTML","1zihdNS","customProperties","length","getRevision","getRevisionDocumentData","isPremiumPlugin","34635yHjXHe","attachChange","371QDANMo","_viewClassToTypeChar","children","filter","loadRevisionData","useFillerType","constructor","revision-start","editing","render","viewChildrenToDom","diffData","startsWith","config","toModel","pluginName","domConverter","from","append","isOfficialPlugin","_makeModelFromViewString","revision-end","view","insertions","_getTypeCharForViewElement","marked","domDocument","data","3232468HOxLVa","isAttached","_typeCharToViewClass","getRevisionRootsAttributes","toData","type"];return(G=function(){return t})()}const J=X;function X(t,e){const i=G();return(X=function(t,e){return i[t-=344]})(t,e)}!function(t){const e=X,i=t();for(;;)try{if(699838===parseInt(e(394))/1*(parseInt(e(369))/2)+-parseInt(e(363))/3+-parseInt(e(356))/4+parseInt(e(400))/5+parseInt(e(379))/6+-parseInt(e(402))/7*(-parseInt(e(383))/8)+parseInt(e(364))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class K extends U.Plugin{static get[J(417)](){return J(385)}static get[J(347)](){return!0}static get[J(399)](){return!0}[J(403)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(358)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(406)](t,e){const i=J;if(t[i(413)]||!e)return;const s=this[i(374)][i(415)][i(362)](i(381)),n=await e[i(397)]({channelId:s,revisionId:t.id});t[i(413)]=n[i(413)]}[J(398)](t){const e=J,i={};for(const s in t[e(413)]){if(t[e(413)][s][e(401)]&&!t[e(413)][s][e(401)][e(357)])continue;const n=this[e(378)](JSON[e(371)](t[e(413)][s][e(351)])),r=this[e(374)][e(410)][e(350)][e(386)],o=new Z.ViewDocumentFragment(r,n[e(387)]((t=>this[e(372)](t,!1))));this[e(374)][e(355)][e(368)][e(407)](e(353)),i[s]=this[e(374)][e(355)][e(368)][e(360)](o),this[e(374)][e(355)][e(368)][e(407)](e(380))}return i}[J(359)](t){const e=J,i={};for(const s in t[e(413)])t[e(413)][s][e(401)]&&!t[e(413)][s][e(401)][e(357)]||(i[s]=t[e(413)][s][e(392)]||{});return i}[J(352)](t){const e=J;return this[e(403)][e(362)](t[e(408)])}[J(372)](t,e){const i=J,s=this[i(374)][i(410)][i(350)][i(386)];if(i(365)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(361)]||"r"==t[i(361)]?[]:t[i(404)][i(387)]((t=>this[i(372)](t,e)));const o=this[i(358)][i(362)](t[i(361)])||Z.ViewElement,a=this[i(374)][i(355)][i(390)][i(344)];if(n=new o(s,t[i(376)],t[i(391)],r),"u"==t[i(361)]){const r=t[i(404)][0];if(n[i(411)]=function(t){const e=i,s=t[e(367)](e(384));return s[e(393)]=r,s[e(373)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(370)](n);const e=Array[i(345)](a[i(412)](t,{bind:!1})),r=a[i(354)][i(367)](i(384));r[i(346)](...e),n=Array[i(345)](a[i(375)](r))[0]}}else if("r"==t[i(361)]){const r=t[i(404)][0];if(n[i(411)]=function(t){t[i(393)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(370)](n);const e=Array[i(345)](a[i(412)](t,{bind:!1})),r=a[i(354)][i(367)](i(384));r[i(346)](...e);const o=Array[i(345)](a[i(375)](r));o[i(396)]>1?n[i(370)](o):n=o[0]}}if(t[i(395)])for(const[e,s]of t[i(395)])n[i(377)](e,s);const c=t[i(389)]||null;return n[i(366)]=()=>c,n}}[J(348)](t){const e=J,i=JSON[e(371)](t),s=this[e(374)][e(410)][e(350)][e(386)],n=new Z.ViewDocumentFragment(s,i[e(387)]((t=>this[e(372)](t,!0))));return this[e(374)][e(355)][e(416)](n)}[J(378)](t){const e=J;return(t=t[e(405)]((t=>!t[e(376)]||e(409)!==t[e(376)]&&e(349)!==t[e(376)])))[e(382)]((t=>{const i=e;i(365)!=typeof t&&(t[i(404)]=this[i(378)](t[i(404)]),t[i(391)]=t[i(391)][i(405)]((t=>!t[0][i(414)](i(388)))))})),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),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(D=s)||Number.isNaN(R)&&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 R,D;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=377]})(t,e)}function at(){const t=["24BXCiPy","has","getAttribute","dataDowncast","featureNotAllowed","startsWith","getTime","_getViewJson","slice","attachChange","requires","_createCurrentRevision","insertion","newValue","collaboration.channelId","removeRootAttribute","_startingRevisionId","_isInit","_touched","createRevision","data","_continueCurrentRevision","position","createPositionFromPath","_handleRootOperation","authorsIds","PendingActions","_getBaseVids","then","_idsRoots","updateRevisions","vid_end","userId","createPositionAfter","_clone","marker","_createFromRanges","evaluationLimit","_source","getRevisionRootsAttributes","_setAttribute","getChild","graveyardPosition","RevisionTracker","howMany","getRevisions","isReady","_getFromVersion","shift","creator","editor-initial-data-replaced-with-revision-data","diffData","map","_makeModelFromViewString","isOfficialPlugin","getAttributes","getNodeByPath","createPositionBefore","isEnabled","getChildren","_calculateMetaData","add","merge","_lastTo","addRevision","_generateTape","children","_bufferedUpdates","history","item","_cloneOperation","initialData","getOperations","attributesAfter","document","oldRange","8562380cLZwBA","targetPosition","RevisionsRepository","adapter","_execute","getRevisionDocumentData","split","currentRevision","init","update","keepParagraph","getRange","vid","revision:","hasContent","insertions","render","$text","sort","_authorId","RealTimeCollaborationClient","3620071dltakc","reverse","_diffRootsAttributes","elementStart","_startingVersion","getAncestors","getWalker","customProperties","_initialRevisionId","revisionHistoryLicenseKeyValid","_revisionId","createElement","12TxSoFL","isEqual","attributesBefore","createRange","_appendChild","_baseIdsRoots","_markers","getRevision","paragraph","_removeMetaData","invalid","addRoot","range","_handleSplitOperation","_handleMoveOperation","clone","RevisionHistory","changeRootAttribute","revisionHistoryLicenseKeyTrialLimit","revisionHistory.resumeUnsavedRevision","previousPosition","_handleInsertOperation","finally","addRootAttribute","loadState","_getTypeCharForViewElement","pluginName","addRevisionData","revisionHistoryLicenseKeyInvalid","config","getIndex","documentFragment","getRoot","elementEnd","trim","_removePendingAction","rawElement","vid_start","_operations","_prepareViewToSave","_showLicenseError","650548LomMSX","length","root","_markChanges","_reset","source","push","_update","getFillerOffset","_saveMetaData","type","find","rootsAttributes","deletion","_touchedRoots","_findInsertionIndex","revision","_licenseKeyCheckInterval","_diffRoots","_handleOperation","getUser","_addPendingAction","childCount","_baseRootsAttributes","licenseKey","max","start","delete","define","filter","includes","outerHTML","editor","_fixOperation","fromVersion","deletions","newRange","_applyOperations","reInit","_replaceEditorDataWithRevisionData","Empty document","path","_getPreviousFrom","RevisionHistoryUtils","fromEntries","splitPosition","_handleMergeOperation","for","_createInitialRevision","destroy","string","revisionHistoryLicenseKeyExpired","_loadState","2856710IkuFix","uiElement","tableCell","_handleRootAttributeOperation","stickiness","reinsert","expired","toVersion","initial","usageLimit","some","fillerOffset","_makeRevision","domainLimit","stringify","get","nodeAfter","values","revisionHistoryLicenseKeyDomainLimit","_getVidAttributeName","setRevisionData","_setConversion","_revisionDataBuilder","_lastFrom","clear","toView","_transformMarkers","getMovedRangeStart","conversion","_fixPosition","getRootNames","_baseRoots","sendBufferedUpdates","markerToData","_pendingAction","bind","size","revisionHistoryLicenseKeyNotAllowed","creatorId","_bufferUpdate","offset","createPositionAt","getData","3827192sFAuzc","model","buildRevisionData","_getState","repository","sourcePosition","domDocument","parent","ready","_isAttached","NEGATIVE_INFINITY","remove","element","resolve","name","Users","upcast","key","htmlProcessor","detachRoot","PENDING_ACTION_REVISION_HISTORY","end","nodes","_loadedStateData","rootName","dataToMarker","isAdd","set","markers","getCustomProperties","$comment","6831720DEEUtI","afterInit","getLatestVersion","_savedMetaData","getTransformedByOperation","insertionPosition","_processRootBeforeSave","from","_copyMarkers","_insertChild","innerHTML","createRangeIn","plugins","_makeIdsRoot","isPremiumPlugin","isAttached","_utils","_touchedMarkers","setSource","offsetSize","insert","affectsData","_fixRange","getCurrentRevisionId","revisionHistoryLicenseKeyUsageLimit","_handleMarkerOperation","saveRevision","baseVersion","Initial revision","domConverter","$graveyard","roots","version","move","11CxQbfX","92102KMAMgf","keys","text","trialLimit","createdAt","authors","_isPendingUpdate","getOperation","locale","loadRevisionData","revisionHistoryLicenseKeyEvaluationLimit"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(836218===parseInt(e(547))/1*(parseInt(e(548))/2)+parseInt(e(559))/3*(-parseInt(e(386))/4)+parseInt(e(439))/5+parseInt(e(668))/6*(-parseInt(e(656))/7)+parseInt(e(482))/8+parseInt(e(513))/9+parseInt(e(635))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(410)];[rt(403)];[rt(642)]=null;[rt(486)];[rt(638)]=null;[rt(461)];[rt(597)];[rt(664)];[rt(626)];[rt(529)];[rt(473)];[rt(580)];[rt(660)];[rt(505)];static get[rt(694)](){return rt(602)}static get[rt(613)](){return!0}static get[rt(527)](){return!0}static get[rt(569)](){return[H.Users,Y,K,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(486)]=this[i(418)][i(525)][i(454)](i(637)),this[i(529)]=this[i(418)][i(525)][i(454)](i(429)),this[i(461)]=new ut(this[i(418)]),this[i(664)]=this[i(418)][i(697)][i(454)](i(573))||i(447),this[i(626)]=new Map,this[i(505)]=null;const s=(0,t.uid)();this[i(597)]={history:this[i(418)][i(483)][i(633)][i(627)],getLatestVersion:()=>Promise[i(495)](this[i(418)][i(483)][i(633)][i(545)]),getCurrentRevisionId:()=>s},this[i(509)](i(605),!1),this[i(509)](i(617),!0),this[i(509)](i(554),!1),this[i(418)][i(697)][i(414)](i(687),!0),this[i(418)][i(467)][i(433)](i(498))[i(507)]({view:i(402)})}[rt(643)](){const t=rt;this[t(460)](),this[t(418)][t(579)].on(t(490),(()=>{const e=t,i=this[e(486)][e(675)](0),s=i&&null===i[e(608)]?i:null;if(this[e(580)]=!!s&&this[e(418)][e(697)][e(454)](e(687)),this[e(418)][e(525)][e(560)](e(655))){const t=this[e(597)][e(536)](),n=this[e(486)][e(675)](t);if(n)this[e(660)]=n[e(420)],this[e(580)]=!1;else{const t=this[e(597)][e(627)][e(383)][e(397)]((t=>!t[e(576)])),n=t?t[e(540)]:this[e(597)][e(627)][e(545)];i?(i[e(446)]<n&&i[e(393)]({toVersion:n}),this[e(580)]?(this[e(597)][e(536)]=()=>s.id,this[e(660)]=s[e(420)]):(this[e(660)]=i[e(446)],this[e(580)]=!1)):(this[e(660)]=n,this[e(580)]=!1)}}else s&&(this[e(418)][e(483)][e(633)][e(627)][e(545)]=Math[e(411)](s[e(446)],this[e(418)][e(483)][e(633)][e(627)][e(545)]),s[e(420)]===s[e(446)]?(0!==s[e(420)]&&(this[e(597)][e(536)]=()=>s.id),this[e(580)]=!1):this[e(580)]&&(this[e(597)][e(536)]=()=>s.id,this[e(660)]=s[e(420)])),this[e(580)]||(this[e(660)]=this[e(418)][e(483)][e(633)][e(545)]);this[e(461)][e(643)](this[e(597)][e(627)]),this[e(434)](this[e(660)]),this[e(570)](this[e(660)]),this[e(638)]&&this[e(471)]()})),this[t(474)](t(605)).to(this,t(554),(t=>!t)),this[t(410)]=this[t(418)][t(697)][t(454)](t(410));const e=this[t(418)];this[t(403)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(665)==r||i(696)==r||i(437)==r||i(457)==r||i(476)==r||i(558)==r||i(686)==r||i(537)==r){delete e[n],s=r,clearInterval(this[i(403)]),this[i(403)]=void 0;break}}i(696)==s&&e[i(385)](i(678)),i(437)==s&&e[i(385)](i(445)),i(457)==s&&e[i(385)](i(452)),i(476)==s&&e[i(385)](i(563),i(684)),i(558)==s&&e[i(385)](i(596)),i(686)==s&&e[i(385)](i(551)),i(537)==s&&e[i(385)](i(448))}),1e3)}async[rt(514)](){const t=rt;if(this[t(486)][t(387)]>0){const e=this[t(486)][t(675)](0),i=await this[t(640)](e),s=await this[t(598)](e);this[t(425)](i,s)}}[rt(435)](){const t=rt;super[t(435)](),this[t(403)]&&clearInterval(this[t(403)])}[rt(531)](t){this[rt(597)]=t}async[rt(644)](){const t=rt,e=await this[t(597)][t(515)]();if(e>this[t(642)][t(446)]){await this[t(438)]();const i=this[t(484)]({revision:this[t(642)],to:e});i[t(553)]=i[t(584)][t(611)]((e=>this[t(418)][t(525)][t(454)](t(497))[t(406)](e))),this[t(642)][t(393)](i)}}async[rt(539)](e={},i=null){const s=rt,n=[];await this[s(438)](),this[s(580)]=!1,i>this[s(642)][s(446)]&&(i=null),null===i&&(i=await this[s(597)][s(515)]());const r=this[s(606)](i),o=this[s(484)]({from:r,to:i});if(this[s(642)][s(446)]<i){const t=this[s(484)]({revision:this[s(642)],from:i,to:i});t[s(553)]=[],t[s(584)]=[],t.id=this[s(642)].id,this[s(642)][s(393)](t,!0),delete t[s(553)],n[s(392)](t)}e[s(477)]=this[s(418)][s(525)][s(454)](s(497)).me.id,e[s(496)]=e[s(496)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(695)](e);n[s(392)](e);const c=this[s(486)][s(698)](a);if(0!==c){const t=this[s(486)][s(675)](c-1);if(t[s(420)]!==i){const r=this[s(461)][s(481)](i,t[s(446)]),o={id:t.id,diffData:r[s(610)],authorsIds:r[s(584)],authors:r[s(584)][s(611)]((t=>this[s(418)][s(525)][s(454)](s(497))[s(406)](t))),fromVersion:i};t===this[s(642)]&&(o[s(552)]=new Date(e[s(552)][s(565)]()+10)),t[s(393)](o,!0),delete o[s(553)],n[s(392)](o)}}if(this[s(638)]){for(const t of n)this[s(478)](t.id,t,!0);this[s(471)]()}return a}[rt(695)](t){const e=rt,i=this[e(486)][e(578)](t);return this[e(638)]&&i.on(e(393),((t,i,s)=>{const n=e;s||(this[n(478)](i.id,i,!0),this[n(471)]())})),this[e(486)][e(623)](i,this[e(401)](i)),i}async[rt(640)](t){const e=rt;return await this[e(529)][e(557)](t,this[e(638)]),this[e(529)][e(640)](t)}async[rt(598)](t){const e=rt;return await this[e(529)][e(557)](t,this[e(638)]),this[e(529)][e(598)](t)}[rt(471)](){const t=rt;if(0===this[t(626)][t(475)])return;if(this[t(554)])return;let e=Array[t(520)](this[t(626)][t(456)]());this[t(626)][t(463)]();for(let i=0;i<e[t(387)];i++){const s=e[i];let n=!1;for(const e of Object[t(549)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(415)]((t=>null!==t)),!e[t(387)])return;for(let i=0;i<e[t(387)];i++){const s=e[i];void 0!==s[t(420)]&&void 0===s[t(446)]&&(s[t(446)]=this[t(486)][t(675)](s.id)[t(446)]),void 0!==s[t(446)]&&void 0===s[t(420)]&&(s[t(420)]=this[t(486)][t(675)](s.id)[t(420)])}const i=this[t(418)][t(697)][t(454)](t(573));this[t(554)]=!0,this[t(407)](),this[t(638)][t(589)](e,i)[t(690)]((()=>{this[t(554)]=!1}))[t(587)]((e=>{const i=t;if(e)for(const t of e)this[i(459)]({id:t.id,createdAt:t[i(552)]});this[i(380)](),this[i(471)]()}))}[rt(484)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(420)],i=null!==i?i:t[s(446)];const n=this[s(461)][s(481)](e,i),r={diffData:n[s(610)],authorsIds:n[s(584)],fromVersion:e,toVersion:i};if(!t||i!==t[s(446)]){const t=i-1,e=this[s(597)][s(627)][s(555)](t);r[s(552)]=e&&e[s(552)]||new Date}if(this[s(505)]&&e===this[s(505)][s(420)])for(const t of this[s(505)][s(553)])r[s(584)][s(416)](t.id)||r[s(584)][s(392)](t.id);return r}[rt(478)](t,e,i){const s=rt;if(this[s(626)][s(560)](t)){const n=this[s(626)][s(454)](t);e=i?{...n,...e}:{...e,...n}}this[s(626)][s(509)](t,e)}[rt(459)](t){const e=rt,i=this[e(486)][e(675)](t.id);if(t[e(552)]&&(t[e(552)]=new Date(t[e(552)])),t[e(584)]){const i=this[e(418)][e(525)][e(454)](e(497));t[e(553)]=t[e(584)][e(611)]((t=>i[e(406)](t)))}i[e(393)](t,!0)}[rt(434)](t){const e=rt,i=this[e(486)][e(675)](this[e(486)][e(387)]-1);if(i)this[e(664)]=i.id;else{const i=!this[e(418)][e(483)][e(633)][e(544)][e(397)]((t=>this[e(418)][e(483)][e(649)](t))),s=this[e(418)][e(525)][e(454)](e(497)).me.id,n=Q(this[e(418)][e(556)],e(i?426:541));this[e(451)]({from:t,to:t,id:this[e(664)],name:n,creatorId:s})}}[rt(570)](t){const e=rt,i=this[e(597)][e(536)]();this[e(642)]=this[e(486)][e(675)](i),this[e(642)]||(this[e(642)]=this[e(451)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(438)](){const t=rt;this[t(580)]&&!this[t(505)]&&(await this[t(529)][t(557)](this[t(642)],this[t(638)]),this[t(461)][t(692)](this[t(642)]),this[t(505)]={fromVersion:this[t(642)][t(420)],authors:this[t(642)][t(553)][t(567)]()})}[rt(425)](e,i){const s=rt;let n=this[s(418)][s(697)][s(454)](s(630)),r=this[s(418)][s(697)][s(454)](s(398));if(void 0===n){n={};for(const t of this[s(418)][s(483)][s(633)][s(469)]())n[t]=""}if(s(436)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(418)][s(483)][s(633)][s(469)]())r[t]={}}let o=!1;const a=Object[s(549)](n),c=Object[s(549)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(379)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(549)](r[t])[s(387)]>0){o=!0;break}}o||(o=c[s(449)]((t=>!this[s(418)][s(483)][s(633)][s(377)](t)))),o&&(0,t.logWarning)(s(609),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(418)][s(697)][s(509)](s(630),e),this[s(418)][s(697)][s(509)](s(398),i)}[rt(407)](){const t=rt;if(!this[t(473)]){const e=this[t(418)][t(525)][t(454)](t(585));this[t(473)]=e[t(620)](Q(this[t(418)][t(556)],t(502)))}}[rt(380)](){const t=rt;this[t(473)]&&(this[t(418)][t(525)][t(454)](t(585))[t(493)](this[t(473)]),this[t(473)]=null)}[rt(401)](t){const e=rt,i=this[e(486)][e(604)]();i[e(657)]();let s=0;for(;s<i[e(387)];){const n=i[s];if(n===this[e(642)]){s++;continue}if(n.id===this[e(664)])break;const r=t[e(446)]-n[e(446)]||t[e(420)]-n[e(420)];if(r>0)break;if(r<0)s++;else{if(!t[e(608)]&&n[e(608)])break;if(n[e(608)]||!t[e(608)]){if(t[e(552)]>n[e(552)])break;s++}else s++}}return s}[rt(606)](t){const e=rt,i=this[e(486)][e(604)]();i[e(657)](),i[e(607)]();const s=i[e(397)]((i=>i[e(446)]<=t))[e(446)];return s<this[e(660)]?this[e(660)]:s}[rt(451)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(484)]({from:e,to:i});o[r(496)]=t,o[r(477)]=s,o.id=n;const a=this[r(695)](o);return this[r(638)]&&this[r(478)](o.id,o,!0),a}[rt(460)](){const t=rt;this[t(418)][t(467)][t(433)](t(562))[t(472)]({model:t(402)})}}class ut{[rt(418)];[rt(391)];[rt(516)];[rt(462)];[rt(622)];[rt(674)];[rt(404)];[rt(658)];[rt(470)];[rt(409)];[rt(588)];[rt(673)];[rt(577)];[rt(530)];[rt(400)];[rt(666)];[rt(575)];constructor(t){const e=rt;this[e(418)]=t,this[e(516)]=new Map,this[e(462)]=-1,this[e(622)]=-1,this[e(674)]=new Map,this[e(404)]=new Map,this[e(658)]=new Map,this[e(470)]=new Map,this[e(409)]=new Map,this[e(588)]=new Map,this[e(673)]=new Map,this[e(577)]=new Map,this[e(530)]=new Map,this[e(400)]=new Map,this[e(666)]=1}[rt(643)](t){const e=rt;this[e(391)]=t;const i=new Map,s=new Map,n=this[e(418)][e(483)][e(633)][e(544)][e(611)]((t=>t[e(506)]));for(const t of n){const n=this[e(418)][e(483)][e(633)][e(377)](t),r=lt(n);i[e(509)](t,r),s[e(509)](t,Object[e(430)](n[e(614)]()))}const r=Array[e(520)](this[e(418)][e(483)][e(510)])[e(611)]((t=>[t[e(496)],t[e(646)]()])),o=this[e(391)][e(545)];this[e(395)](o,i,r,s),this[e(575)]=this[e(666)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(509)](t,i),c[e(509)](t,{})}this[e(395)](Number[e(492)],a,[],c)}[rt(481)](t,e){const i=rt;if(this[i(462)]===t&&this[i(622)]<=e)this[i(516)][i(475)]>1&&this[i(677)](this[i(622)]),this[i(423)](this[i(622)],e,!0);else{if(!this[i(516)][i(560)](t)){const e=this[i(428)](t);this[i(619)](e,t,!1)}this[i(619)](t,e,!0)}return this[i(462)]=t,this[i(622)]=e,this[i(485)]()}[rt(692)](t){const e=rt,i=this[e(418)][e(525)][e(454)](e(429));this[e(390)](),this[e(462)]=t[e(420)],this[e(622)]=t[e(446)];for(const s in t[e(610)]){const n=t[e(610)][s][e(568)],r=R(t[e(610)][s][e(670)])||{},o=i[e(612)](t[e(610)][s][e(421)]);o[e(506)]=s,o[e(491)]=!n||!n[e(528)],o[e(528)]=()=>o[e(491)],this[e(470)][e(509)](s,o),this[e(409)][e(509)](s,r),n&&this[e(400)][e(509)](s,n);const a=this[e(526)](o);this[e(673)][e(509)](s,a);for(const[t,i]of o[e(510)]){if(!t[e(564)](e(648)))continue;const s=t[e(641)](":")[2];for(const t of i[e(662)]({singleCharacters:!0})){const i=this[e(458)](t),n=e(378)==t[e(396)]?t[e(688)][e(427)][e(567)](0,-1):t[e(688)][e(427)],r=a[e(615)](n)[e(561)](i);this[e(577)][e(509)](r,{userId:s})}}}this[e(575)]=this[e(666)];const s=[...Array(this[e(666)])[e(549)]()][e(567)](1)[e(415)]((t=>!this[e(577)][e(560)](t)));let n=0;const r=new Map;for(const o in t[e(610)]){const a=t[e(610)][o][e(568)],c=R(t[e(610)][o][e(632)])||{},u=i[e(612)](t[e(610)][o][e(650)]);u[e(506)]=o,u[e(491)]=!a||a[e(528)],u[e(528)]=()=>u[e(491)],this[e(404)][e(509)](o,u),this[e(658)][e(509)](o,c);const l=this[e(526)](u,Number[e(492)]);this[e(588)][e(509)](o,l),r[e(509)](o,u[e(528)]()?c:{});for(const[t,i]of u[e(510)]){if(!t[e(564)](e(648)))continue;const s=t[e(641)](":")[2];for(const t of i[e(662)]({singleCharacters:!0})){const i=this[e(458)](t),n=this[e(666)]++,r=e(378)==t[e(396)]?t[e(688)][e(427)][e(567)](0,-1):t[e(688)][e(427)];l[e(615)](r)[e(599)](i,n),this[e(577)][e(509)](n,{userId:s})}}for(const t of this[e(418)][e(483)][e(524)](u)[e(662)]({singleCharacters:!0})){const i=this[e(458)](t),r=e(378)==t[e(396)]?t[e(688)][e(427)][e(567)](0,-1):t[e(688)][e(427)],o=l[e(615)](r);o[e(561)](i)>0||o[e(599)](i,s[n++])}for(const[t,i]of u[e(510)])t[e(564)](e(648))||this[e(674)][e(509)](t,i)}const o=ht(e(543));this[e(470)][e(509)](e(543),o),this[e(673)][e(509)](e(543),this[e(526)](o,1));const a=ht(e(543));this[e(404)][e(509)](e(543),a),this[e(588)][e(509)](e(543),this[e(526)](a,1));const c=Array[e(520)](this[e(404)])[e(611)]((([t,e])=>[t,lt(e)]));this[e(395)](this[e(622)],c,this[e(674)],r)}[rt(424)](){const t=rt;this[t(390)](),this[t(462)]=-1,this[t(622)]=-1,this[t(516)][t(463)](),this[t(643)](this[t(391)])}[rt(395)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(509)](t,{start:e[n(412)][n(683)](),end:e[n(503)][n(683)](),rootName:e[n(388)][n(506)]});this[n(516)][n(509)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(677)](t){const e=rt;this[e(516)][e(413)](t)}[rt(390)](){const t=rt;this[t(577)][t(463)](),this[t(530)][t(463)](),this[t(400)][t(463)](),this[t(404)][t(463)](),this[t(658)][t(463)](),this[t(470)][t(463)](),this[t(409)][t(463)](),this[t(588)][t(463)](),this[t(673)][t(463)](),this[t(674)][t(463)](),this[t(666)]=1,this[t(575)]=this[t(666)]}[rt(526)](t,e=null){const i=rt;let s=null;t.is(i(699))||(s=new Z.Element(t[i(496)],{vid_start:null===e?this[i(666)]++:e++}));const n=[];for(const s of t[i(618)]())if(s.is(i(494))){n[i(392)](this[i(526)](s,e));const t=n[n[i(387)]-1];null!==e&&(e=t.is(i(494),i(652))?t[i(561)](i(647))+1:t[i(561)](i(590))+1)}else for(let t=0;t<s[i(532)];t++)n[i(392)](new Z.Element(i(652),{vid:null===e?this[i(666)]++:e++}));if(t.is(i(699))){const e=ht(t[i(506)]);return e[i(522)](0,n),e}return s[i(599)](i(590),null===e?this[i(666)]++:e++),s[i(522)](0,n),s}[rt(619)](t,e,i){const s=rt;this[s(390)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(516)][s(454)](t);this[s(470)]=new Map(n),this[s(409)]=new Map(R(o));for(const[t,e]of this[s(470)])if(s(543)!==t&&(this[s(404)][s(509)](t,lt(e)),this[s(658)]=new Map(R(o)),i)){const i=this[s(666)];this[s(588)][s(509)](t,this[s(526)](e)),this[s(673)][s(509)](t,this[s(526)](e,i))}this[s(575)]=this[s(666)],this[s(404)][s(509)](s(543),lt(this[s(470)][s(454)](s(543)))),i&&this[s(588)][s(509)](s(543),this[s(526)](this[s(470)][s(454)](s(543))));for(const[t,e]of r){const i=this[s(470)][s(454)](e[s(506)]),n=this[s(404)][s(454)](e[s(506)]),r=new Z.Range(this[s(468)](e[s(412)],i),this[s(468)](e[s(503)],i)),o=this[s(535)](r,n);i[s(510)][s(509)](t,r),this[s(674)][s(509)](t,o)}this[s(423)](t,e,i)}[rt(423)](t,e,i){const s=rt;for(const n of this[s(391)][s(631)](t,e))this[s(405)](n,i);for(const t of this[s(404)][s(456)]())t[s(510)][s(463)]();for(const[t,e]of this[s(674)])this[s(404)][s(454)](e[s(388)][s(506)])[s(510)][s(509)](t,e[s(683)]());const n=new Map,r=new Map;for(const[t,e]of this[s(404)])n[s(509)](t,lt(e)),r[s(509)](t,this[s(658)][s(454)](t));this[s(395)](e,n,this[s(674)],r)}[rt(428)](t){const e=rt,i=Array[e(520)](this[e(516)][e(549)]());i[e(653)](((t,e)=>t-e)),i[e(657)]();for(const e of i)if(e<t)return e;return Number[e(492)]}[rt(521)](t,e){const i=rt,s=Array[i(520)](e[i(510)])[i(611)]((([e,s])=>[e,this[i(535)](s,t)]));t[i(510)]=new Map(s)}[rt(465)](t){const e=rt;for(const i of this[e(674)][e(456)]()){const s=i[e(517)](t),n=Z.Range[e(595)](s);i[e(412)]=n[e(412)],i[e(503)]=n[e(503)]}}[rt(405)](t,e){const i=rt;if(i(679)!=t[i(396)]&&i(501)!=t[i(396)]){if(i(533)==t[i(396)]){const s=t[i(581)][i(388)][i(506)];this[i(404)][i(560)](s)||(this[i(404)][i(509)](s,ht(s,!0)),this[i(658)][i(509)](s,{}),e&&this[i(588)][i(509)](s,ht(s,!0)))}else{if(i(691)==t[i(396)]||i(574)==t[i(396)]||i(685)==t[i(396)])return void this[i(442)](t);i(594)==t[i(396)]&&this[i(538)](t)}if(i(594)!==t[i(396)]){const e=this[i(629)](t,this[i(404)]);e[i(639)](),this[i(465)](e)}if(e)switch(t[i(396)]){case i(533):this[i(689)](t);break;case i(546):case i(493):case i(444):this[i(682)](t);break;case i(621):this[i(432)](t);break;case i(641):this[i(681)](t)}}else this[i(583)](t,e)}[rt(629)](t,e){const i=rt,s=t[i(683)]();return s[i(654)]=t[i(654)],this[i(419)](s,e),s}[rt(586)](t){const e=rt;return t[e(611)]((t=>{const i=e,s=this[i(458)](t);return Number(t[i(628)][i(561)](s))}))}[rt(624)](t,e){const i=rt;if(t.is(i(494),i(652)))e[i(392)]({item:t,type:i(550)});else{t.is(i(494))&&e[i(392)]({item:t,type:i(659)});for(const s of t[i(618)]())this[i(624)](s,e);t.is(i(494))&&e[i(392)]({item:t,type:i(378)})}return e}[rt(485)](){const t=rt,e=new Map(this[t(577)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(470)][t(549)](),...this[t(404)][t(549)]()]);a[t(413)](t(543));for(const e of a){const i=this[t(404)][t(454)](e)||ht(e,!1),s=this[t(470)][t(454)](e)||ht(e,!1);i[t(528)]()||s[t(528)]()?(n[t(650)][e]=lt(i),n[t(421)][e]=lt(s),this[t(521)](n[t(421)][e],s),this[t(521)](n[t(650)][e],i),r[t(650)][e]=this[t(624)](this[t(588)][t(454)](e),[]),r[t(421)][e]=this[t(624)](this[t(673)][t(454)](e)||ht(e,!1),[])):a[t(413)](e)}for(const n of a){const o=r[t(650)][n];for(const n of o){const r=this[t(458)](n),o=n[t(628)][t(561)](r);i[t(413)](o),o>=this[t(575)]&&s[t(509)](o,e[t(454)](o))}}for(const n of a){const a=r[t(650)][n],c=this[t(586)](r[t(421)][n]);let u=0;for(const n of a){const r=this[t(458)](n),a=n[t(628)][t(561)](r);if(!s[t(560)](a)&&!o[t(560)](a))if(i[t(560)](a))u++;else{if(a!=c[u]){const s=e[t(454)](a)||e[t(454)](c[u]);for(;a!=c[u];)i[t(560)](c[u])||(o[t(509)](c[u],s),e[t(509)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(650)][e];for(const e of n){const n=this[t(458)](e),r=e[t(628)][t(561)](n);if(o[t(560)](r)){const e=o[t(454)](r);i[t(560)](r)||i[t(509)](r,{...e}),s[t(509)](r,{...e})}}}for(const e of i[t(549)]())e>=this[t(575)]&&i[t(413)](e);const c=new Map;for(const e of a){let n=r[t(650)][e];for(const e of n)if(e[t(628)].is(t(494),t(441))){const i=this[t(458)](e),n=e[t(628)][t(561)](i);if(s[t(560)](n)){const i=e[t(628)][t(489)][t(489)][t(561)](t(382)),r=c[t(454)](i)||new Set;r[t(620)](s[t(454)](n)[t(591)]),c[t(509)](i,r)}}n=r[t(421)][e];for(const e of n)if(e[t(628)].is(t(494),t(441))){const s=this[t(458)](e),n=e[t(628)][t(561)](s);if(i[t(560)](n)){const s=e[t(628)][t(489)][t(489)][t(561)](t(382)),r=c[t(454)](s)||new Set;r[t(620)](i[t(454)](n)[t(591)]),c[t(509)](s,r)}}for(const e of c[t(549)]())(s[t(560)](e)||i[t(560)](e))&&c[t(413)](e)}for(const e of a){const n=r[t(650)][e];let o=null,a=null;for(const e of n){const n=this[t(458)](e),r=e[t(628)][t(561)](n),u=c[t(454)](r);u&&t(659)==e[t(396)]&&(o=Array[t(520)](u)[0],a=e[t(628)][t(561)](t(590))),o&&(i[t(509)](r,{userId:o}),s[t(509)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(421)][e],a=n[t(650)][e];for(const{userId:e}of this[t(530)][t(456)]())null!==e&&l[t(620)](e);for(const{userId:e}of this[t(400)][t(456)]())null!==e&&l[t(620)](e);this[t(389)](a,r[t(650)][e],s,t(571),l),this[t(389)](o,r[t(421)][e],i,t(399),l),u[e]={insertions:this[t(384)](a),deletions:this[t(384)](o),attachChange:this[t(400)][t(454)](e)||null,attributesBefore:R(this[t(409)][t(454)](e))||{},attributesAfter:R(this[t(658)][t(454)](e))}}return{diffData:u,authorsIds:Array[t(520)](l)}}[rt(519)](t){const e=rt;for(const[,i]of t[e(510)]){const t=i[e(412)][e(661)]()[e(415)]((t=>e(441)==t[e(496)]));for(const i of t)1==i[e(408)]&&i[e(600)](0).is(e(494),e(676))&&i[e(600)](0)[e(599)](e(645),!0)}}[rt(384)](t){const e=rt;this[e(519)](t);const i=this[e(418)][e(579)][e(464)](t,{}),s=Array[e(520)](i[e(618)]())[e(611)]((t=>this[e(566)](t)));return JSON[e(453)](s)}[rt(566)](t){const e=rt;if(t.is(e(652)))return t[e(579)];{const i=this[e(418)][e(525)][e(454)](e(429)),s=t,n=this[e(418)][e(579)][e(500)][e(542)],r={type:i[e(693)](s),name:s[e(496)],attributes:Array[e(520)](s[e(614)]()),children:Array[e(520)](s[e(618)]())[e(611)]((t=>this[e(566)](t)))};if(t.is(e(440))&&e(512)!=t[e(496)]){const i=t[e(651)](n[e(488)],n);r[e(625)][e(392)](i[e(417)])}else if(t.is(e(381))){const i=n[e(488)][e(667)](s[e(496)]);t[e(651)](i,n),r[e(625)][e(392)](i[e(523)])}const o=Array[e(520)](s[e(511)]());o[e(387)]>0&&(r[e(663)]=o);const a=s[e(394)]();return null!==a&&(r[e(450)]=a),r}}[rt(389)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(418)][r(483)];for(let s=0;s<e[r(387)];s++){const n=this[r(458)](e[s]),c=e[s][r(628)][r(561)](n),h=i[r(454)](c),d=s==e[r(387)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(591)]!=o[r(591)])&&(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(591)],d=l(648)+s+":"+h+":"+c++,f=u[l(671)](i,a);t[l(510)][l(509)](d,f),null!==h&&n[l(620)](h)}}[rt(458)](t){const e=rt;switch(t[e(396)]){case e(659):return e(382);case e(378):return e(590);default:return e(647)}}[rt(419)](t,e){const i=rt;t[i(540)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(454)](n[i(388)][i(506)]);t[s]=this[i(468)](n,r)}if(n instanceof Z.Range){const r=e[i(454)](n[i(388)][i(506)]);t[s]=this[i(535)](n,r)}i(388)===s&&(t[i(388)]=e[i(454)](t[i(388)][i(506)]))}}[rt(535)](t,e){const i=rt;return this[i(418)][i(483)][i(671)](this[i(468)](t[i(412)],e),this[i(468)](t[i(503)],e))}[rt(468)](t,e){const i=rt;return this[i(418)][i(483)][i(582)](e,t[i(427)],t[i(443)])}[rt(689)](t){const e=rt,i=this[e(588)][e(454)](t[e(581)][e(388)][e(506)]),s=this[e(468)](t[e(581)],i),n=null===t[e(654)]?null:t[e(654)]||this[e(418)][e(525)][e(454)](e(497)).me.id,r=s[e(489)],o=this[e(666)],a=[];for(const i of t[e(504)])if(i.is(e(494)))a[e(392)](this[e(526)](i));else for(let t=0;t<i[e(532)];t++)a[e(392)](new Z.Element(e(652),{vid:this[e(666)]++}));const c=this[e(666)];for(let t=o;t<c;t++)this[e(577)][e(509)](t,{userId:n});r[e(522)](s[e(479)],a)}[rt(682)](t){const e=rt;(t=this[e(629)](t,this[e(588)]))[e(639)]();const i=null===t[e(654)]?null:t[e(654)]||this[e(418)][e(525)][e(454)](e(497)).me.id,s=t[e(466)](),n=s[e(489)],r=s[e(479)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(600)](e);r.is(a(494),a(652))?s[a(509)](r[a(561)](a(647)),{userId:i}):(s[a(509)](r[a(561)](a(382)),{userId:i}),t(s,r,0,r[a(408)]),s[a(509)](r[a(561)](a(590)),{userId:i}))}}(this[e(577)],n,r,r+t[e(603)])}[rt(432)](t){const e=rt,i=null===(t=this[e(629)](t,this[e(588)]))[e(654)]?null:t[e(654)]||this[e(418)][e(525)][e(454)](e(497)).me.id,s=t[e(636)][e(489)],n=t[e(487)][e(489)],r=s[e(561)](e(590)),o=n[e(561)](e(382));s[e(599)](e(590),n[e(561)](e(590))),n[e(599)](e(590),r),this[e(577)][e(509)](o,{userId:i}),this[e(577)][e(509)](r,{userId:i}),t[e(639)]()}[rt(681)](t){const e=rt,i=null===(t=this[e(629)](t,this[e(588)]))[e(654)]?null:t[e(654)]||this[e(418)][e(525)][e(454)](e(497)).me.id,s=t[e(601)],n=t[e(431)][e(489)];t[e(639)]();const r=n[e(561)](e(590)),o=t[e(518)][e(455)];if(s){const t=o[e(561)](e(590)),s=n[e(561)](e(590));n[e(599)](e(590),t),o[e(599)](e(590),s),this[e(577)][e(509)](n[e(561)](e(590)),{userId:i}),this[e(577)][e(509)](o[e(561)](e(382)),{userId:i})}else{const t=this[e(666)]++,s=this[e(666)]++;n[e(599)](e(590),t),o[e(599)](e(382),s),o[e(599)](e(590),r),this[e(577)][e(509)](t,{userId:i}),this[e(577)][e(509)](s,{userId:i})}}[rt(538)](t){const e=rt;if(!t[e(534)])return;const i=(t=this[e(629)](t,this[e(404)]))[e(634)]?t[e(634)][e(388)]:null,s=t[e(422)]?t[e(422)][e(388)]:null;i&&this[e(674)][e(413)](t[e(496)]),s&&this[e(674)][e(509)](t[e(496)],t[e(422)][e(683)]());const n=null===t[e(654)]?null:t[e(654)]||this[e(418)][e(525)][e(454)](e(497)).me.id,r=t[e(496)];if(!this[e(530)][e(560)](r))return void this[e(530)][e(509)](r,{range:t[e(634)],userId:n});const o=this[e(530)][e(454)](r),a=o[e(680)],c=t[e(422)];null==a&&null==c||a&&c&&a[e(669)](c)?this[e(530)][e(413)](t[e(496)]):o[e(591)]=n}[rt(583)](t,e){const i=rt;this[i(404)][i(560)](t[i(506)])?this[i(404)][i(454)](t[i(506)])[i(491)]=t[i(508)]:(this[i(404)][i(509)](t[i(506)],ht(t[i(506)],!0)),this[i(658)][i(509)](t[i(506)],{}),e&&this[i(588)][i(509)](t[i(506)],ht(t[i(506)],!0)));const s=null===t[i(654)]?null:t[i(654)]||this[i(418)][i(525)][i(454)](i(497)).me.id,n=this[i(400)][i(454)](t[i(506)]);n&&n[i(591)]===s?this[i(400)][i(413)](t[i(506)]):this[i(400)][i(509)](t[i(506)],{userId:s,isAttached:t[i(508)]})}[rt(442)](t){const e=rt,i=this[e(658)][e(454)](t[e(388)][e(506)]);null===t[e(572)]?delete i[t[e(499)]]:i[t[e(499)]]=t[e(572)]}}function lt(t){const e=rt,i=ht(t[e(506)],t[e(528)]());for(const s of t[e(618)]()){const t=s[e(593)](!0);i[e(672)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(506)]=t,s[i(491)]=e,s[i(528)]=()=>s[i(491)],s}function dt(t,e,i){const s=rt,n=s(378)==t[s(396)]?i[s(480)](t[s(628)],s(503)):i[s(616)](t[s(628)]);return i[s(582)](e,n[s(427)],n[s(443)])}function ft(t,e,i){const s=rt,n=s(659)==t[s(396)]?i[s(480)](t[s(628)],0):i[s(592)](t[s(628)]);return i[s(582)](e,n[s(427)],n[s(443)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Mt;function Dt(){const t=["setTemplate","render","4739252fKiioA","locale","extendTemplate","fieldView","Name of the revision","value","revisionNameInputValue","18PDKHUJ","keystrokes","form","element","31092AfsiqN","arrowright","revisionName","32cnYbwl","listenTo","focusTracker","220","arrowup","input","4779800IUFbBX","set","1169WAzQqS","_createRevisionNameInput","316878EzGcVY","14307030ipcZPn","5004950jTmUYb","focus","reset","revisionNameInputView","arrowleft","arrowdown","errorText","add","optional","trim","19289CjRULl","ck-revision-history-save-revision-form","stopPropagation","ck-responsive-form","label"];return(Dt=function(){return t})()}function Mt(t,e){const i=Dt();return(Mt=function(t,e){return i[t-=127]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(890994===-parseInt(e(128))/1*(parseInt(e(149))/2)+-parseInt(e(159))/3+-parseInt(e(135))/4+-parseInt(e(161))/5+parseInt(e(146))/6*(parseInt(e(157))/7)+-parseInt(e(155))/8*(-parseInt(e(142))/9)+parseInt(e(160))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Et extends pt.View{[Rt(151)];[Rt(143)];[Rt(164)];constructor(e,i){const s=Rt;super(e),this[s(151)]=new t.FocusTracker,this[s(143)]=new t.KeystrokeHandler,this[s(156)](s(141),""),this[s(164)]=this[s(158)](i),this[s(133)]({tag:s(144),attributes:{class:["ck",s(129),s(131)],tabindex:"-1"},children:[this[s(164)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(134)](){const t=Rt;super[t(134)](),(0,pt.submitHandler)({view:this}),this[t(151)][t(168)](this[t(164)][t(145)]),this[t(143)][t(150)](this[t(145)]);const e=e=>e[t(130)]();this[t(143)][t(156)](t(147),e),this[t(143)][t(156)](t(165),e),this[t(143)][t(156)](t(153),e),this[t(143)][t(156)](t(166),e)}[Rt(162)](){const t=Rt;this[t(164)][t(162)]()}get[Rt(148)](){const t=Rt;return this[t(164)][t(138)][t(145)][t(140)][t(127)]()}set[Rt(148)](t){const e=Rt;this[e(164)][e(138)][e(145)][e(140)]=t[e(127)]()}[Rt(163)](){const t=Rt;this[t(164)][t(138)][t(145)][t(140)]="",this[t(164)][t(167)]=null}[Rt(158)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(136)],pt.createLabeledInputText),s=i[e(138)];s[e(137)]({attributes:{maxlength:e(152)}});let n=Q(this[e(136)],e(139));return!t&&(n+=" ("+Q(this[e(136)],e(169))+")"),i[e(132)]=n,s.on(e(154),(()=>{const t=e;this[t(141)]=s[t(145)][t(140)][t(127)]()})),i}}const Vt=Ct;function Ct(t,e){const i=Lt();return(Ct=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=Ct,i=t();for(;;)try{if(137963===-parseInt(e(199))/1+-parseInt(e(221))/2*(-parseInt(e(227))/3)+-parseInt(e(228))/4+parseInt(e(209))/5+-parseInt(e(236))/6*(-parseInt(e(258))/7)+-parseInt(e(263))/8*(-parseInt(e(223))/9)+-parseInt(e(265))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Ft extends U.Plugin{static get[Vt(202)](){return Vt(240)}static get[Vt(200)](){return!0}static get[Vt(210)](){return!0}static get[Vt(256)](){return[ct]}[Vt(231)];[Vt(219)](){const t=Vt,e=this[t(234)],i=e[t(244)][t(198)](t(257));e.ui[t(262)][t(238)](t(264),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(255)][n(212)],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(248)](n(245)).to(i,n(201),i,n(245),e,n(206),((t,e,i)=>t&&e&&!i)),r[n(226)][n(197)]({icon:mt.IconHistory,label:Q(s,n(225)),tooltip:!0}),u[n(197)]({label:Q(s,n(232)),withText:!0,role:n(205)}),u[n(248)](n(245)).to(i,n(201),i,n(245),e,n(206),((t,e,i)=>t&&e&&!i)),u.on(n(218),(()=>this[n(214)]())),h[n(197)]({label:Q(s,n(213)),withText:!0,role:n(205)}),h[n(248)](n(245)).to(i,n(201),e,n(206),((t,e)=>t&&!e)),h.on(n(218),(()=>{const t=n;e[t(233)][t(198)](t(264))[t(251)](),r[t(246)]=!1,e[t(220)][t(216)][t(217)]()})),c[n(212)][n(238)](u),l[n(212)][n(238)](h),a[n(252)]=n(235),a[n(230)][n(237)]([c,l]),o[n(238)](a),r})),e.ui[t(262)][t(238)](t(253),(()=>this[t(229)]()))}[Vt(229)](){const t=Vt,e=this[t(234)],i=e[t(260)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(226)][t(197)]({icon:mt.IconHistory,label:Q(i,t(225))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(197)]({label:Q(i,t(232))}),o[t(247)](t(218)).to(s),o.on(t(218),(()=>{this[t(214)]()})),r[t(212)][t(238)](o),n[t(230)][t(238)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(197)]({label:Q(i,t(213))}),c[t(247)](t(218)).to(s),c.on(t(218),(()=>{const i=t;e[i(233)][i(198)](i(264))[i(251)]()})),a[t(212)][t(238)](c),n[t(230)][t(238)](a),s[t(255)][t(212)][t(238)](n),s}[Vt(214)](){const t=Vt,e=this[t(234)],i=e[t(260)],s=e[t(244)][t(198)](t(208)),n=e[t(244)][t(198)](t(257));function r(n){const r=t;e[r(233)][r(198)](r(254))&&""===n[r(239)]?n[r(242)][r(215)]=Q(i,r(211)):(e[r(244)][r(198)](ct)[r(203)]({name:n[r(239)]}),s[r(224)]())}this[t(231)]||(this[t(261)](),this[t(231)].on(t(250),(()=>r(this[t(231)])))),this[t(231)][t(207)](),s[t(249)]({id:t(204),title:Q(i,t(232)),isModal:!0,content:this[t(231)],actionButtons:[{label:Q(e[t(260)],t(243)),withText:!0,onExecute:()=>s[t(224)]()},{label:Q(e[t(260)],t(222)),class:t(241),withText:!0,onCreate(i){const s=t;i[s(248)](s(245)).to(n,s(201),n,s(245),e,s(206),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(231)])}]})}[Vt(261)](){const t=Vt,e=this[t(234)],i=e[t(260)];this[t(231)]=new Et(i,e[t(233)][t(198)](t(254))),this[t(231)][t(259)]()}}function Lt(){const t=["RevisionHistoryUI","ck-button-action","revisionNameInputView","Cancel","plugins","isEnabled","isOpen","delegate","bind","show","submit","showRevisionViewerCallback","role","menuBar:revisionHistory","revisionHistory.requireRevisionName","panelView","requires","RevisionTracker","54019qcUbcr","render","locale","_createSaveRevisionFormView","componentFactory","4592IpuivF","revisionHistory","93560vViOdr","set","get","123209TGGRFT","isOfficialPlugin","isReady","pluginName","saveRevision","revisionSave","menuitem","isReadOnly","reset","Dialog","58890lgcupO","isPremiumPlugin","The revision name cannot be empty.","children","Open revision history","_showDialog","errorText","view","focus","execute","init","editing","2TivRdM","Accept","2097lHnOYy","hide","Revision history","buttonView","323763NdOrHD","703352mZVqIp","_registerMenuComponent","items","_saveRevisionFormView","Save current revision","config","editor","menu","150FhkaIm","addMany","add","revisionName"];return(Lt=function(){return t})()}const jt=zt;function Pt(){const t=["bindTemplate","changeId","2562405QspboR","4752513Lpsdet","element","Removed by","ck-annotation","span","ck-revision-change__label","type","1641984fEHWRv","name","Suggested by","ck-revision-change","203291KqgFqh","div","focus","4kilvvx","12XYzMKI","add","isSuggestion","Added by","10uNZqAb","set","21727870qOUIkg","_model","ck-revision-change__","data","setTemplate","5285552GriALf","author","561869Quxkti"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=280]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(780148===parseInt(e(306))/1*(parseInt(e(282))/2)+-parseInt(e(302))/3+-parseInt(e(309))/4*(parseInt(e(294))/5)+parseInt(e(310))/6*(-parseInt(e(291))/7)+-parseInt(e(289))/8+-parseInt(e(295))/9+parseInt(e(284))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[jt(293)];[jt(285)];constructor(t,e){const i=jt;super(t),this[i(285)]=e,this[i(293)]=e.id;const s=this[i(292)],n=Q(t,e[i(287)][i(280)]?i(304):i(311)==e[i(301)]?i(281):i(297));this[i(283)](i(301),e[i(301)]),this[i(288)]({tag:i(307),attributes:{class:[i(298),i(305),s.to(i(301),(t=>i(286)+t))],tabindex:-1},children:[{tag:i(299),children:[{tag:i(299),attributes:{class:[i(300)]},children:[{text:n}]},{text:" "+e[i(290)][i(303)]}]}]})}[jt(308)](){const t=jt;this[t(296)][t(308)]()}}var Ut=Ht;function Ht(t,e){var i=qt();return(Ht=function(t,e){return i[t-=196]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(429962===-parseInt(e(201))/1*(-parseInt(e(198))/2)+-parseInt(e(199))/3*(-parseInt(e(196))/4)+-parseInt(e(210))/5*(-parseInt(e(212))/6)+parseInt(e(205))/7+-parseInt(e(202))/8+parseInt(e(197))/9+-parseInt(e(206))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Ut(203)];[Ut(209)];[Ut(208)];[Ut(200)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(203)]=e[i(203)],this[i(209)]=e[i(209)],this[i(208)]=e[i(208)]||{},this[i(200)]=e[i(200)],this[i(204)](i(211),e[i(211)])}[Ut(207)](){var t=Ut;return{id:this.id,authorId:this[t(203)].id,type:this[t(209)],data:this[t(208)],createdAt:this[t(211)]}}}function qt(){var t=["13884500CjyDjN","toJSON","data","type","55eEyOvT","createdAt","177978JZfPtz","20ZtDuaz","4585086pcJxiD","84186nmbsBy","458598ILMjPf","rootName","6oSWVuX","3321440snTPch","author","set","2666699ZdqYXG"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=326]})(t,e)}function Yt(){const t=["8361ZtYBTO","1654eqzsCj","348166WZGopm","1483888hJtPWw","changes","2560Onmpsx","newRevisionId","55vzNhyj","12XbAkul","_setChanges","309493OzQZSv","594rpJmqF","80284OryuYS","2727703usIDMj","oldRevisionId","add"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(165693===parseInt(e(340))/1+-parseInt(e(331))/2*(parseInt(e(341))/3)+parseInt(e(326))/4*(parseInt(e(337))/5)+-parseInt(e(338))/6*(-parseInt(e(332))/7)+parseInt(e(333))/8+parseInt(e(330))/9*(-parseInt(e(335))/10)+-parseInt(e(327))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt{[$t(336)];[$t(328)];[$t(334)];constructor(e,i){const s=$t;this[s(336)]=e,this[s(328)]=i,this[s(334)]=new t.Collection}[$t(339)](t){const e=$t;for(const i of t)this[e(334)][e(329)](i)}}var Jt=i(536),Xt={attributes:{"data-cke":!0}};Xt.setAttributes=It(),Xt.insert=wt().bind(null,"head"),Xt.domAPI=kt(),Xt.insertStyleElement=Ot();gt()(Jt.A,Xt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Kt=ee;!function(t){const e=ee,i=t();for(;;)try{if(102728===parseInt(e(206))/1*(-parseInt(e(330))/2)+-parseInt(e(308))/3*(parseInt(e(441))/4)+parseInt(e(460))/5+parseInt(e(177))/6+parseInt(e(467))/7+parseInt(e(245))/8+-parseInt(e(193))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);class Qt extends U.Plugin{[Kt(200)];[Kt(450)]=null;[Kt(275)];[Kt(269)];[Kt(215)];[Kt(305)];[Kt(344)];static get[Kt(280)](){return Kt(327)}static get[Kt(289)](){return!0}static get[Kt(173)](){return!0}static get[Kt(157)](){return[H.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Kt;super(t),this[e(200)]=this[e(318)][e(366)][e(278)](e(331)),this[e(275)]=this[e(318)][e(366)][e(278)](e(255)),this[e(232)](e(288),null),this[e(232)](e(300),null),this[e(269)]=null,this[e(232)](e(186),null),this[e(232)](e(452),!1),this[e(232)](e(417),!0),this.on(e(166),((t,i,s)=>{const n=e;this[n(288)]=null,this[n(300)]=null,this[n(318)][n(440)][n(354)][n(301)]((t=>{const e=n;for(const i of this[e(318)][e(440)][e(354)][e(168)][e(249)])s?t[e(291)](e(381),i):t[e(283)](e(381),i)}))})),this[e(431)](e(442)).to(this,e(288),(t=>null!==t)),this[e(431)](e(302)).to(this,e(452),this,e(186),this,e(288),((t,i,s)=>t&&s?i[e(476)][e(156)](s):0)),this[e(431)](e(404)).to(this,e(452),this,e(186),((t,i)=>t?i[e(476)][e(285)]:0)),this[e(215)]=null,this[e(305)]=new Map,this[e(344)]=this[e(318)][e(366)][e(278)](pt.ContextualBalloon)}[Kt(290)](){const t=Kt,e=this[t(318)],i=new ne(e,{direction:t(436)}),s=new ne(e,{direction:t(329)});e[t(212)][t(210)](t(195),i),e[t(212)][t(210)](t(368),s),e[t(212)][t(210)](t(165),new ie(e)),this.on(t(216),(()=>{const e=t;i[e(266)](),s[e(266)]()})),this[t(445)](),this[t(336)](),e[t(171)](t(203)),e[t(366)][t(334)](t(282))&&e[t(366)][t(278)](t(282))[t(303)](t(203))}async[Kt(424)](t){const e=Kt;return await this[e(275)][e(457)](t,this[e(450)]),this[e(275)][e(424)](t)}async[Kt(363)](t){const e=Kt;return await this[e(275)][e(457)](t,this[e(450)]),this[e(275)][e(363)](t)}async[Kt(268)](t,e,i=!1){const s=Kt;if(!this[s(417)])return;const n=this[s(186)],r=this[s(200)],o=s(242)==typeof t?r[s(190)](t):t,a=s(242)==typeof e?r[s(190)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(186)]&&this[s(186)][s(234)]===c&&this[s(186)][s(376)]===u)return Promise[s(400)]();this[s(452)]=!1,this[s(300)]=null,this[s(288)]=null,this[s(186)]=new Gt(c,u);const l=this[s(465)](o,a,!0)[s(180)]((t=>this[s(275)][s(457)](t,this[s(450)])));return l[s(468)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(231)](l)[s(373)]((()=>{const t=s;if(!this[t(417)])return;this[t(474)]();const e=this[t(345)](c,u);for(const i of e[t(476)])this[t(305)][t(232)](i.id,i);this[t(318)][t(194)][t(349)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(318)][s(194)][s(168)][s(227)]())i[s(421)](t);for(const t of Object[s(433)](e[s(194)])){const n=i[s(429)](t);for(const r of Object[s(433)](e[s(430)][t]))i[s(464)](r,e[s(430)][t][r],n);i[s(466)](e[s(194)][t],n,0)}})),this[t(186)][t(258)](this[t(435)](e[t(476)])),this[t(452)]=!0}))[s(265)]((t=>{const e=s;console[e(425)](t),this[e(474)](),n&&(this[e(186)]=n),this[e(452)]=!0}))}[Kt(469)](t,e){const i=Kt,s=this[i(200)][i(239)](t);return s.on(i(189),((t,i,n)=>e(i,n,s))),this[i(200)][i(310)](s),s}[Kt(474)](){const t=Kt;this[t(288)]=null,this[t(332)](),this[t(215)]&&this[t(215)][t(247)](),this[t(215)]=null,this[t(305)][t(412)](),this[t(318)][t(194)][t(349)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(318)][i(194)][i(168)][i(227)]())e[i(421)](t)}))}[Kt(435)](t){const e=Kt,i=[],s=new Map;for(const t of this[e(318)][e(194)][e(168)][e(227)]()){const n=this[e(318)][e(440)][e(354)][e(169)](t);if(!n)continue;const r=n[e(235)]()[e(281)](0);r&&(i[e(468)](t),s[e(232)](t,r))}return i[e(270)](((t,i)=>{const n=e,r=s[n(278)](t),o=s[n(278)](i);return r.y-o.y||r.x-o.x})),(t=t[e(348)]((t=>i[e(378)](t[e(338)]))))[e(270)](((t,s)=>i[e(260)](t[e(338)])-i[e(260)](s[e(338)]))),t}[Kt(262)](t){const e=Kt,i=Array[e(174)](t[e(398)])[e(348)]((([t,i])=>t[e(380)](e(185))&&!i[e(274)])),s=Array[e(174)](this[e(318)][e(194)][e(326)](t)[e(204)]({singleCharacters:!0}));if(0!=i[e(285)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(319)](":");if(n[e(401)][e(459)](t[e(294)])&&i[e(402)](),(t[e(179)][e(459)](n[e(293)])||t[e(179)][e(391)](n[e(293)]))&&(e(184)==r?t[e(475)]={userId:o}:e(437)==r&&(t[e(387)]={userId:o})),0==i[e(285)])break}return s}[Kt(446)](t){const e=Kt,i=new Map;for(let s=0;s<t[e(285)];s++)e(233)===t[s][e(191)]?(t[s][e(281)][e(458)]=s,t[s][e(281)][e(370)]=s):(e(392)===t[s][e(191)]?t[s][e(281)][e(458)]=s:e(448)===t[s][e(191)]&&(t[s][e(281)][e(370)]=s),i[e(232)](t[s].id,s));for(const s of i[e(420)]())e(392)===t[s][e(191)]?t[s][e(281)][e(370)]=i[e(278)](t[s][e(406)]):e(448)===t[s][e(191)]&&(t[s][e(281)][e(458)]=i[e(278)](t[s][e(406)]))}[Kt(256)](t){const e=Kt;for(let i=0;i<t[e(285)];i++){if(e(392)===t[i][e(191)])t[i][e(281)][e(458)]=i;else if(e(448)===t[i][e(191)]){t[i][e(281)][e(370)]=i;const s=t[i][e(281)][e(458)];t[s][e(406)]=t[i].id,t[i][e(406)]=t[s].id}else t[i][e(281)][e(458)]=i,t[i][e(281)][e(370)]=i,t[i][e(406)]=null;t[i][e(175)]||(t[i][e(175)]=[],t[i][e(355)]=[])}}[Kt(182)](t,e){const i=Kt,s=t[i(348)]((t=>!t[i(475)]));for(let t=0;t<e[i(285)];t++)e[t][i(475)]&&(s[t][i(475)]=e[t][i(475)])}[Kt(345)](t,e=null){const i=Kt,s=this[i(200)][i(190)](t),n=e?this[i(200)][i(190)](e):null,r=this[i(465)](s,n),o=r[r[i(285)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(285)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(433)](e[i(208)]))if(e[i(208)][t][i(394)]){const s=e[i(208)][t][i(394)];s[i(238)]?(u[i(210)](t),l[i(334)](t)&&l[i(278)](t)[i(187)]==s[i(187)]?l[i(399)](t):l[i(232)](t,s)):l[i(334)](t)?(u[i(399)](t),l[i(399)](t)):(u[i(210)](t),l[i(232)](t,s))}else u[i(210)](t)}for(const t of u){const e=l[i(334)](t)&&!l[i(278)](t)[i(238)];let s=e?r[i(285)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(208)][t]){const s=e?o[i(208)][t][i(246)]:o[i(208)][t][i(340)];c[i(430)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(194)]={};for(const e of t[i(395)])a[i(232)](e.id,e);for(const e of u){const s=t[i(208)][e]?t[i(208)][e][i(298)]:"[]",n=t[i(208)][e]?t[i(208)][e][i(396)]:"[]";t[i(194)][e]={insertions:this[i(275)][i(251)](s),deletions:this[i(275)][i(251)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(174)](s[i(194)][t][i(298)][i(398)])[i(348)]((([t])=>!t[i(380)](i(185)))));let h=0;for(const o of r){const r=this[i(262)](o[i(194)][t][i(298)]);o==s?(e=r,n=e[i(285)],e[i(379)]((t=>{t.id=h++})),this[i(256)](e)):this[i(182)](e,r);const a=e[i(348)]((t=>!t[i(475)]))[i(180)]((t=>t.id));let c=0;const l=this[i(262)](o[i(194)][t][i(396)]);l[i(379)]((t=>{t[i(387)]?t.id=n++:t.id=a[c++]})),this[i(256)](l),this[i(178)](e,i(475)),this[i(178)](l,i(387)),o==s&&this[i(196)](e,u),e=this[i(202)](e,l),this[i(446)](e),this[i(178)](e,i(387))}e=e[i(348)]((t=>!(t[i(475)]&&t[i(387)])));const d=new Map(o[i(194)][t][i(396)][i(398)]),f=new Set(u[i(433)]());for(const t of d[i(433)]())f[i(399)](t);this[i(311)](e,f),this[i(364)](e),e=this[i(161)](e),e=this[i(408)](e),e=this[i(287)](e);const{root:m,changes:p}=this[i(243)](e,a,t);c[i(194)][t]=m;const v=l[i(278)](t);if(v){const e=a[i(278)](v[i(187)]),s=new Zt({author:e,type:v[i(238)]?i(210):i(385),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(163)](s),c[i(430)][t][i(410)]=s.id}c[i(476)]=c[i(476)][i(461)](p)}return c}[Kt(196)](t,e){const i=Kt;for(let s=0;s<t[i(285)];s++)for(const[n,r]of e)!r[i(274)]&&r[i(293)][i(459)](t[s][i(179)])&&t[s][i(175)][i(468)](n),r[i(401)][i(459)](t[s][i(294)])&&t[s][i(355)][i(468)](n)}[Kt(202)](t,e){const i=Kt;let s=[],n=0,r=0;for(;n<t[i(285)]||r<e[i(285)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(468)](o);else if(a[i(387)]&&o[i(475)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(225)](t,n,e,r);s=s[i(461)](o),n=a,r=c}else a[i(387)]?(r++,s[i(468)](a)):(n++,s[i(468)](o))}return s}[Kt(311)](t,e){const i=Kt,s=[];for(let o=0;o<t[i(285)];o++){for(let r=0;r<t[o][i(175)][i(285)];r++){const a=t[o][i(175)][r];if(!e[i(334)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(347)!=c||i(184)!=u&&i(437)!=u||(s[i(163)]({type:u,name:a,userId:l}),t[o][i(175)][i(250)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(355)][i(285)];r++){const a=t[o][i(355)][r];if(!e[i(334)](a))continue;const{group:c,type:u}=n(a);if(i(347)!=c||i(184)!=u&&i(437)!=u)continue;t[o][i(355)][i(250)](r,1),r--;const l=s[i(211)]((t=>t[i(222)]==a));l>-1&&s[i(250)](l,1)}}function n(t){const e=i,s=t[e(319)](":");return{group:s[0],type:s[1],subType:s[e(285)]>=5?s[2]:null,id:s[e(285)]<5?s[2]:s[3],authorId:s[e(285)]<5?s[3]:s[4],markerCount:6==s[e(285)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(285)];i++){if(t[e(475)]&&e(184)==s[i][e(191)])return t[e(342)]=s[i],void delete t[e(475)];if(!t[e(475)]&&!t[e(387)]&&e(437)==s[i][e(191)])return void(t[e(312)]=s[i])}}}[Kt(178)](t,e){const i=Kt;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(232)](o.id,s);for(let s=0;s<t[i(285)];s++){if(i(387)==e&&t[s][i(475)]||i(475)==e&&t[s][i(387)])continue;if(i(233)==t[s][i(191)]){t[s][i(403)]=0;continue}const n=r[i(278)](t[s][i(406)]),o=r[i(278)](t[s].id);t[s][i(403)]=n-o}}[Kt(465)](t,e,i=!1){const s=Kt,n=[];let r=this[s(200)][s(156)](t),o=this[s(200)][s(156)](e);for(-1==o&&(o=this[s(200)][s(447)][s(285)],i=!1);r<o;)n[s(468)](this[s(200)][s(190)](r)),r++;return i&&n[s(468)](this[s(200)][s(190)](r)),n}[Kt(225)](t,e,i,s){const n=Kt,r=this[n(318)][n(194)][n(292)];let o=e;for(;t[o]&&t[o][n(475)];)o++;let a=s;for(;i[a]&&i[a][n(387)];)a++;u(t,e,o),u(i,s,a);const c=i[n(358)](s,a)[n(461)](t[n(358)](e,o));return c[n(270)](((t,e)=>t[n(259)]!=e[n(259)]?t[n(259)]-e[n(259)]:t[n(343)]!=e[n(343)]?t[n(343)]-e[n(343)]:t[n(403)]!=e[n(403)]?e[n(403)]-t[n(403)]:!!t[n(475)]!=!!e[n(475)]?-1==t[n(259)]||0==t[n(259)]?t[n(475)]?-1:1:t[n(475)]?1:-1:t[n(397)]-e[n(397)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(405)],c=!0;for(let n=e;n<i;n++)if(r[s(316)](t[n][s(281)])||(c=!1),t[n][s(281)][s(458)]<e&&(o=n),t[n][s(281)][s(370)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(259)]=n<=o?-1:n<a?0:1,t[n][s(397)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(403)]?t[i][s(343)]=u:(u++,t[i][s(343)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(259)]&&(t[n][s(343)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(403)]?t[e][s(343)]=u:(u--,t[e][s(343)]=u,u--)}}[Kt(364)](t){const e=Kt,i=new Map,s=this[e(318)][e(194)][e(292)];for(let n=1;n<t[e(285)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(233)==c[e(191)])continue;if(c[e(191)]!=u[e(191)])continue;if(!s[e(426)](u[e(281)])||s[e(439)](u[e(281)]))continue;if(!s[e(426)](c[e(281)])||s[e(439)](c[e(281)]))continue;if((t[n][e(475)]||t[n][e(342)])&&t[n-1][e(387)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(387)]||!t[n-1][e(475)]&&!t[n-1][e(342)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(343)]==o[e(343)],h=Math[e(453)](r[e(343)])<Math[e(453)](o[e(343)])&&0==o[e(403)];(l||h)&&(i[e(232)](o.id,r.id),t[e(250)](a,1),n--,r[e(475)]=!1)}for(let s=0;s<t[e(285)];s++)i[e(334)](t[s][e(406)])&&(t[s][e(406)]=i[e(278)](t[s][e(406)]))}[Kt(161)](t){const e=Kt,i=new Set(t[e(180)]((t=>t.id)));for(let s=0;s<t[e(285)];s++)i[e(334)](t[s][e(406)])||0==t[s][e(403)]||(t[s][e(413)]=!0);return t[e(348)]((t=>!t[e(413)]))}[Kt(408)](t){const e=Kt,i=new Set;for(let s=0;s<t[e(285)];s++){if(i[e(334)](t[s].id)&&t[s][e(387)]&&(t[s][e(413)]=!0),t[s][e(413)])continue;if(0==t[s][e(403)])continue;if(e(392)!=t[s][e(191)])continue;if(null==t[s][e(406)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(406)];)e(392)==t[n][e(191)]?r++:e(448)==t[n][e(191)]&&r--,n++;if(0!=r)if(t[s][e(387)])t[s][e(413)]=!0;else for(;n!=s;)t[n][e(387)]&&0!=t[n][e(403)]&&(t[n][e(413)]=!0,i[e(210)](t[n][e(406)])),n--}return t[e(348)]((t=>!t[e(413)]))}[Kt(287)](t){const e=Kt,i=this[e(318)][e(194)][e(292)];for(let s=0;s<t[e(285)];s++){if(!(t[s][e(475)]||t[s][e(342)]||t[s][e(387)]||t[s][e(312)]))continue;if(0==t[s][e(403)])continue;const n=t[s][e(281)];i[e(426)](n)||i[e(439)](n)||(t[s][e(475)]&&delete t[s][e(475)],t[s][e(342)]&&delete t[s][e(342)],t[s][e(312)]&&delete t[s][e(312)],t[s][e(387)]&&(t[s][e(413)]=!0))}return t[e(348)]((t=>!t[e(413)]))}[Kt(243)](t,e,i){const s=Kt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(318)][s(194)],c=a[s(292)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(285)];e++)if(s(392)===t[e][s(191)]){t[e][s(179)]=a[s(320)](n,f);const i=new Z.Element(t[e][s(281)][s(222)],t[e][s(281)][s(192)]());u[0][s(304)](i),f[s(468)](0),u[s(163)](i),t[e][s(294)]=a[s(320)](n,f)}else s(448)===t[e][s(191)]?(u[s(402)](),t[e][s(179)]=a[s(320)](n,f),f[s(183)](),f[f[s(285)]-1]++,t[e][s(294)]=a[s(320)](n,f)):(t[e][s(179)]=a[s(320)](n,f),d?d[s(438)]+=t[e][s(281)][s(218)]:d=new Z.Text(t[e][s(281)][s(218)],t[e][s(281)][s(192)]()),t[e+1]&&s(233)===t[e+1][s(191)]&&v(d,t[e+1][s(281)])||(u[0][s(304)](d),d=null),f[f[s(285)]-1]+=t[e][s(281)][s(197)],t[e][s(294)]=a[s(320)](n,f));for(let e=0;e<t[s(285)];e++){const i=t[e][s(179)],n=t[e][s(294)];for(const n of t[e][s(175)])o[s(232)](n,{start:i,end:null});m(s(312),e,i,n),m(s(342),e,i,n),m(s(387),e,i,n),m(s(475),e,i,n);for(const i of t[e][s(355)]){const t=o[s(278)](i);t?t[s(401)]=n:o[s(232)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(318)][s(194)][s(463)](e[s(293)],e[s(401)]);n[s(398)][s(232)](t,i)}return r[s(270)](((t,e)=>{const i=s,r=n[i(398)][i(278)](i(185)+t.id),o=n[i(398)][i(278)](i(185)+e.id);return r[i(293)][i(221)](o[i(293)])?-1:r[i(293)][i(391)](o[i(293)])?1:r[i(401)][i(221)](o[i(401)])?-1:r[i(401)][i(391)](o[i(401)])?1:i(210)===t[i(191)]?-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(187)]:null,d=i===t[o(285)]-1,f=h[e][0],m=c[o(188)](t[i][o(281)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(401)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(187)]!==u&&(l[e][o(401)]=n,f&&f[o(187)]===l[e][o(187)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(392)!==t[i][o(191)]||f&&f[o(187)]===u||h[e][o(163)]({userId:u,object:t[i][o(281)],change:l[e]}),o(448)===t[i][o(191)]&&f&&f[o(369)]===t[i][o(281)]&&(h[e][o(402)](),l[e]=f[o(301)])),l[e]&&d&&(l[e][o(401)]=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(281)],f=a[h(292)][h(426)](d)&&!a[h(292)][h(439)](d),m=t[h(384)]==o[h(322)]&&o[h(277)];if(f&&m)return;const p=a[h(463)](t,o),v=e[h(278)](u),g=new Zt({author:v,type:h(475)==l||h(342)==l?h(210):h(385),data:{isSuggestion:h(342)==l||h(312)==l},createdAt:new Date,rootName:i});r[h(468)](g),n[h(398)][h(232)](h(185)+g.id,p)}function v(t,e){const i=s,n=t[i(192)](),r=e[i(192)]();for(const t of n){if(t[1]!==e[i(241)](t[0]))return!1;r[i(276)]()}return r[i(276)]()[i(252)]}}[Kt(445)](){const t=Kt;this[t(318)][t(295)][t(162)](t(472))[t(244)]({view:t(432)}),this[t(318)][t(295)][t(162)](t(455))[t(414)]({model:t(432),view:e=>{const i=t,s=e[i(333)][i(319)](":")[1],n=this[i(209)](s);if(!n)return null;const r=i(210)==n[i(191)]?i(184):i(437),o=[i(158),i(407)+r];return n[i(218)][i(427)]&&o[i(468)](i(407)+r+i(201)),this[i(288)]==n&&o[i(468)](i(279)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(318)][t(295)][t(162)](t(472))[t(210)]((e=>{const i=t;e.on(i(240),((t,e,s)=>{const n=i,r=e[n(264)][n(315)](0);if(!r||!r.is(n(471),n(462)))return;if(!s[n(220)][n(351)](r,{attributes:[n(451),n(267)]}))return;const o=e[n(254)][n(293)][n(384)];s[n(328)][n(464)](n(451),r[n(241)](n(451)),o),s[n(328)][n(464)](n(267),r[n(241)](n(267)),o)}),{priority:i(477)})})),this[t(318)][t(295)][t(162)](t(472))[t(210)]((e=>{const i=t;e.on(i(471),((t,e,s)=>{const n=i;if(!s[n(220)][n(351)](e[n(264)],{attributes:[n(451),n(267)]}))return;if(e[n(254)][n(274)])return;const r=e[n(254)][n(293)][n(384)];r[n(317)](n(451))||r[n(317)](n(236))||(s[n(328)][n(464)](n(451),e[n(264)][n(241)](n(451)),r),s[n(328)][n(464)](n(267),e[n(264)][n(241)](n(267)),r))}),{priority:i(477)})})),this[t(318)][t(295)][t(162)](t(472))[t(419)]({view:{name:t(325),attributes:{vid:!0}},model:{key:t(236),value:e=>e[t(241)](t(236))}}),this[t(318)][t(194)][t(292)].on(t(160),((e,[,i])=>{const s=t;[s(451),s(267),s(236)][s(378)](i)&&(e[s(284)]=!0,e[s(230)]())}),{priority:t(444)}),this[t(318)][t(295)][t(162)](t(167))[t(210)]((e=>{const i=t;e.on(i(199),((t,e,s)=>{const n=i;if(" "!=e[n(281)][n(218)]||e[n(281)][n(322)][n(416)]>1)return;if(!s[n(220)][n(351)](e[n(281)],t[n(222)]))return;const r=s[n(328)],o=s[n(443)][n(181)](e[n(253)]);r[n(434)](o,r[n(172)](n(325)))}))})),this[t(318)][t(295)][t(162)](t(167))[t(213)]({model:t(432)}),this[t(318)][t(440)][t(411)].on(t(365),function(e){const i=t,s=e[i(366)][i(278)](i(327));return(t,n,r)=>{const o=i,a=n[o(333)][o(319)](":")[1],c=s[o(209)](a);if(!c)return null;const u=o(210)==c[o(191)]?o(319):o(361);if(!r[o(220)][o(159)](n[o(170)],t[o(222)]))return;const l=n[o(170)][o(204)](),h=n[o(170)][o(293)],d=e[o(194)][o(292)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(281)];p=p||d[o(350)](e);const i=r[o(443)][o(198)](e);if(i&&i[o(321)](o(286)))return;o(448)==t[o(191)]&&d[o(426)](e)&&!d[o(439)](e)&&(e[o(257)]||h[o(224)]?f&&f[o(322)]==e||(f=e,g(t[o(179)]),v=!0):m=m||t[o(179)])}function g(t){const e=o,i=r[e(328)][e(176)](e(325),{class:e(407)+u}),a=r[e(443)][e(307)](t);c[e(218)][e(427)]&&r[e(328)][e(283)](e(407)+u+e(201),i),s[e(288)]==c&&r[e(328)][e(283)](e(279),i),r[e(328)][e(466)](a,i),r[e(443)][e(229)](i,n[e(333)])}p||v||!m||g(m)}}(this[t(318)]),{priority:t(449)}),this[t(318)][t(440)][t(411)].on(t(362),((e,i,s)=>{const n=t,r=s[n(443)][n(164)](i[n(333)]);if(r)for(const t of r)(t[n(323)](n(479))||t[n(323)](n(409)))&&(s[n(443)][n(228)](t,i[n(333)]),s[n(328)][n(385)](t))}),{priority:t(449)}),this[t(318)][t(440)][t(411)].on(t(365),((e,i,s)=>{const n=t,r=i[n(333)][n(319)](":")[1],o=this[n(209)](r);if(!o)return null;const a=n(210)==o[n(191)]?n(319):n(361);if(s[n(220)][n(159)](i[n(170)],e[n(222)]))for(const t of i[n(170)][n(389)]()){if(!t.is(n(471),n(357)))continue;const e=s[n(328)][n(176)](n(325),{class:n(407)+a}),r=s[n(443)][n(307)](this[n(318)][n(194)][n(237)](t));o[n(218)][n(427)]&&s[n(328)][n(283)](n(407)+a+n(201),e),this[n(288)]==o&&s[n(328)][n(283)](n(279),e),s[n(328)][n(466)](r,e),s[n(443)][n(229)](e,i[n(333)])}}),{priority:t(449)}),this[t(318)][t(194)][t(168)].on(t(301),(()=>{const e=t;this[e(318)][e(440)][e(354)][e(301)]((t=>{const i=e;for(const e of this[i(318)][i(194)][i(168)][i(227)]()){const s=this[i(318)][i(194)][i(168)][i(456)](e),n=this[i(318)][i(440)][i(354)][i(168)][i(456)](e);if(n){const e=s[i(241)](i(410));if(t[i(375)](i(217),n),t[i(291)](i(223),n),t[i(291)](i(335),n),t[i(291)](i(374),n),e){const s=this[i(209)](e);if(!s)return null;t[i(464)](i(217),e,n),t[i(283)](i(390)+s[i(191)],n),this[i(288)]==s&&t[i(283)](i(374),n)}}}}))})),this[t(318)][t(295)][t(162)](t(472))[t(244)]({view:t(337),model:e=>t(324)+e,converterPriority:t(444)}),this[t(318)][t(295)][t(162)](t(472))[t(244)]({view:t(382),model:e=>t(346)+e,converterPriority:t(444)}),this[t(318)][t(295)][t(162)](t(167))[t(213)]({model:t(347),view:e=>({name:t(296)+e,group:t(347)}),converterPriority:t(444)}),this[t(318)][t(295)][t(162)](t(455))[t(414)]({model:t(347),view:e=>{const i=t,s=e[i(333)][i(319)](":")[1];return i(184)!=s&&i(437)!=s?null:{classes:[i(272),i(377)+s]}}}),this[t(318)][t(440)][t(411)].on(t(388),te(this[t(318)],t(361)),{priority:t(449)}),this[t(318)][t(440)][t(411)].on(t(352),te(this[t(318)],t(319)),{priority:t(449)}),this[t(318)][t(440)][t(411)].on(t(226),((e,i,s)=>{const n=t,r=s[n(443)][n(164)](i[n(333)]);if(r)for(const t of r)t.is(n(360))&&(s[n(443)][n(228)](t,i[n(333)]),s[n(328)][n(385)](t))}),{priority:t(449)})}[Kt(209)](t){const e=Kt;return this[e(305)][e(278)](t)}[Kt(393)](t){const e=Kt;return this[e(215)]&&this[e(215)][e(247)](),this[e(215)]=new Wt(this[e(318)][e(314)],t),this[e(215)]}[Kt(336)](){const t=Kt;this[t(318)][t(194)][t(168)][t(359)][t(261)](t(432)),this.on(t(480),((e,i,s,n)=>{const r=t;n&&this[r(344)][r(385)](n),s&&(this[r(344)][r(210)]({view:s,stackId:r(207),position:{target:()=>{const t=r,e=this[t(318)][t(440)],i=this[t(209)](s[t(473)]);let n;if(i[t(218)][t(248)]){const s=e[t(354)][t(169)](i[t(338)]);n=Array[t(174)](s[t(235)]())}else{const i=this[t(318)][t(194)][t(398)][t(278)](t(185)+s[t(473)]);n=Array[t(174)](e[t(443)][t(164)](i[t(222)]))[t(180)]((i=>e[t(354)][t(454)][t(383)](i)))[t(180)]((e=>Array[t(174)](e[t(235)]())))[t(297)]()}return this[t(269)]&&n[t(306)]((e=>e[t(205)]-3<=this[t(269)].y&&e[t(423)]+3>=this[t(269)].y&&e[t(214)]-3<=this[t(269)].x&&e[t(478)]+3>=this[t(269)].x))||n[0]}}}),this[r(344)][r(470)](r(207)))})),this.on(t(371),((e,i,s,n)=>{const r=t;this[r(300)]=s?this[r(393)](s):null,this[r(318)][r(194)][r(301)]((()=>{const t=r,e=this[t(318)][t(440)];n&&(n[t(218)][t(248)]?e[t(354)][t(301)]((i=>{const s=t;i[s(291)](s(374),e[s(354)][s(168)][s(456)](n[s(338)]))})):e[t(367)](t(185)+n.id)),s&&(s[t(218)][t(248)]?e[t(354)][t(301)]((i=>{const n=t;i[n(283)](n(374),e[n(354)][n(168)][n(456)](s[n(338)]))})):e[t(367)](t(185)+s.id))}))})),this[t(271)](this[t(318)][t(440)][t(354)][t(168)],t(299),((e,i)=>{const s=t;if(this[s(288)])return;const n=this[s(309)](i[s(313)]),r=this[s(305)][s(278)](n);r?(this[s(269)]={x:i[s(263)].x,y:i[s(263)].y},this[s(300)]=this[s(393)](r)):(this[s(269)]=null,this[s(300)]=null)})),this[t(271)](this[t(318)][t(440)][t(354)][t(168)],t(339),((e,i)=>{const s=t,n=this[s(309)](i[s(313)]),r=this[s(305)][s(278)](n);r?(this[s(269)]={x:i[s(263)].x,y:i[s(263)].y},r===this[s(288)]?this[s(344)][s(372)]():this[s(288)]=r):(this[s(269)]=null,this[s(288)]=null)}))}[Kt(309)](t){const e=Kt;do{const i=t[e(241)](e(217));if(i)return i;t=t[e(322)]}while(t);return null}[Kt(332)](){const t=Kt;this[t(318)][t(194)][t(301)]((e=>{const i=t;for(const t of this[i(318)][i(194)][i(398)])e[i(422)](t)}))}}function te(t,e){return(i,s,n)=>{const r=ee;if(!n[r(220)][r(159)](s[r(170)],i[r(222)]))return;const o=s[r(170)][r(204)](),a=s[r(170)][r(293)],c=t[r(194)][r(292)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(281)];h=h||c[r(350)](e);const i=n[r(443)][r(198)](e);if(i&&i[r(321)](r(286)))return;r(448)==t[r(191)]&&c[r(426)](e)&&!c[r(439)](e)&&(e[r(257)]||a[r(224)]?u&&u[r(322)]==e||(u=e,f(t[r(179)]),d=!0):l=l||t[r(179)])}function f(t){const i=r,o=n[i(443)][i(307)](t),a=n[i(328)][i(176)](i(325),{class:i(377)+e});n[i(328)][i(466)](o,a),n[i(443)][i(229)](a,s[i(333)])}h||d||!l||f(l)}}function ee(t,e){const i=se();return(ee=function(t,e){return i[t-=156]})(t,e)}class ie extends U.Command{constructor(t){const e=Kt;super(t);const i=t[e(366)][e(278)](Qt);this[e(386)]=!1,this[e(271)](i,e(415),(()=>this[e(266)]())),this[e(271)](i,e(166),(()=>this[e(266)]()))}[Kt(341)](){const t=Kt,e=this[t(318)],i=e[t(366)][t(278)](Qt),s=i[t(452)]?i[t(186)][t(234)]:null;e[t(219)][t(278)](t(428))[t(418)](s)}[Kt(266)](){const t=Kt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(318)][t(366)][t(278)](Qt),r=n&&s[t(273)](n[t(234)]);this[t(417)]=e&&i&&Boolean(r)}}function se(){const t=["attributesBefore","destroy","isOnRoot","roots","splice","_makeModelFromViewString","done","range","modelRange","RevisionHistoryUtils","_processTape","nextSibling","_setChanges","side","indexOf","observeMarkers","_makeTape","domEvent","viewItem","catch","refresh","vid_end","compare","_activeViewTarget","sort","listenTo","ck-suggestion-preview-marker","getLaterVisibleRevision","isCollapsed","_utils","next","isAtStart","get","ck-suggestion-marker--active","pluginName","item","WidgetToolbarRepository","addClass","return","length","addHighlight","_removeUnsupportedChanges","activeChange","isOfficialPlugin","init","removeClass","schema","start","nextPosition","conversion","suggestion:","flat","insertions","mouseover","activeView","change","currentChangeNumber","forceDisabled","_appendChild","_changeIdToChange","find","toViewPosition","27639eiuENM","_findChangeIdFromDomTarget","addRevision","_markSuggestions","isRemoveSuggestion","target","locale","getChild","isInline","hasAttribute","editor","split","createPositionFromPath","getCustomProperty","parent","hasClass","revision-comment:","span","createRangeIn","RevisionViewer","writer","forward","79954vbeACl","RevisionsRepository","_cleanMarkers","markerName","has","ck-revision-history-root-remove","_initInteractions","comment","rootName","mousedown","attributesAfter","execute","isAddSuggestion","level","_balloon","_getDiff","revision-suggestion:","revision-suggestion","filter","enqueueChange","isContent","consume","addMarker:revision-suggestion:insertion","first","view","markersEnd","_step","softBreak","slice","selection","uiElement","merge","removeMarker:revision","getRevisionRootsAttributes","_fixObsoleteTags","addMarker:revision","plugins","reconvertMarker","showNextChange","object","endIndex","change:activeChange","updatePosition","then","ck-revision-history-root--active","removeAttribute","oldRevisionId","ck-suggestion-preview-marker-","includes","forEach","startsWith","ck-editor__editable__overlay","suggestion","mapViewToDom","nodeAfter","remove","affectsData","isRemoved","addMarker:revision-suggestion:deletion","getItems","ck-revision-history-root-","isAfter","elementStart","_getViewForChange","attachChange","authors","deletions","index","markers","delete","resolve","end","shift","distance","numberOfChanges","POSITIVE_INFINITY","pairId","ck-suggestion-marker-","_markMismatchedRemovedTags","ck-suggestion-marker-merge","revisionHistoryAttachChange","downcastDispatcher","clear","isIncorrect","markerToHighlight","change:isReady","maxOffset","isEnabled","restoreRevisionCallback","elementToAttribute","values","detachRoot","removeMarker","bottom","getRevisionDocumentData","error","isBlock","isSuggestion","revisionHistory","addRoot","attributes","bind","revision","keys","wrap","_sortAndFilterDiffChanges","backward","deletion","_data","isLimit","editing","36bZgdCd","isNavigationMode","mapper","highest","_setConversion","_refreshStartEndIndex","_revisions","elementEnd","high","adapter","vid_start","isReady","abs","domConverter","editingDowncast","getRoot","loadRevisionData","startIndex","isEqual","521780YWDNGW","concat","code","createRange","setAttribute","_getRevisionsRange","insert","709240gIQfXI","push","addRevisionData","showStack","element","upcast","changeId","_cleanUp","isAdded","changes","low","right","ck-suggestion-marker-split","change:activeView","getIndex","requires","ck-suggestion-marker","test","checkAttribute","_removeMissingPairs","for","unshift","markerNameToElements","restoreRevision","change:isEnabled","dataDowncast","document","getDomRoot","markerRange","enableReadOnlyMode","createAttributeElement","isPremiumPlugin","from","markersStart","createUIElement","860832tiwwWy","_setDistance","previousPosition","map","toViewRange","_markInsertions","pop","insertion","revision:","diff","userId","isObject","_update","getRevision","type","getAttributes","1984815gLtkYU","model","showPreviousChange","_markMarkers","offsetSize","toViewElement","attribute:vid","repository","-new","_joinTapes","revision-viewer","getWalker","top","3naBEYZ","revisionHistoryLabel","diffData","_getChangeFromId","add","findIndex","commands","markerToData","left","_changeView","change:numberOfChanges","data-change-id","data","config","consumable","isBefore","name","ck-revision-history-root-add","isAtEnd","_threeWayMerge","removeMarker:revision-suggestion","getRootNames","unbindElementFromMarkerName","bindElementToMarker","stop","all","set","text","newRevisionId","getClientRects","vid","createPositionBefore","isAttached","createRevision","element:pre","getAttribute","string","_makeModelFromTape","dataToMarker","1415704nATdIC"];return(se=function(){return t})()}class ne extends U.Command{[Kt(356)];constructor(t,{direction:e}){const i=Kt;super(t);const s=t[i(366)][i(278)](Qt);this[i(386)]=!1,this[i(356)]=i(329)===e?1:-1,this[i(271)](s,i(415),(()=>this[i(266)]())),this[i(271)](s,i(166),(()=>this[i(266)]())),this[i(271)](s,i(371),(()=>this[i(266)]()))}[Kt(341)](){const e=Kt,i=this[e(318)],s=i[e(366)][e(278)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(288)]=n?s[e(186)][e(476)][e(278)](r+this[e(356)]):s[e(186)][e(476)][e(353)],s[e(288)][e(218)][e(248)])o=i[e(440)][e(354)][e(169)](s[e(288)][e(338)]);else{const t=i[e(194)][e(398)][e(278)](e(185)+s[e(288)].id);o=(0,H.getMarkerDomElement)(i[e(440)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Kt(266)](){const t=Kt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(318)][t(366)][t(278)](Qt);this[t(417)]=!!(r&&n&&s)&&(!e||(1===this[t(356)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["_statusText","Total","ck-revision-history-ui__changes-navigation__label","X_OF_Y_CHANGES","1064556PKHdIY","bind","Loading...","div","isReady","107089hTLMHA","isNavigationMode","716BMCICT","forward","4933874ZyJcIq","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation","currentChangeNumber","numberOfChanges","setTemplate","bindTemplate","ck-revision-history-ui__changes-navigation__wrapper","NUMBER_OF_CHANGES","24llVNPm","996110BPaOyZ","19285nmhSyx","backward","fire","37014EvczaX","7976264koxVtF","2srTwmV","EDIT_X_OF_Y_REVISIONS","execute","ck-revision-history-ui__changes-navigation__navigation","ck-hidden","span","ck-revision-history-ui","117qIYAkl","isEnabled","isBackwardNavigationEnabled","set","Show previous change","No changes","Show next change","1141kmYoMp","_isStatusLabelVisible"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=119]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(666539===parseInt(e(129))/1*(parseInt(e(149))/2)+-parseInt(e(124))/3+parseInt(e(131))/4*(-parseInt(e(144))/5)+parseInt(e(147))/6*(parseInt(e(163))/7)+parseInt(e(148))/8+-parseInt(e(156))/9*(parseInt(e(143))/10)+parseInt(e(133))/11*(parseInt(e(142))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(139)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(159)](e(130),!1),this[e(159)](e(128),!1),this[e(159)](e(136),0),this[e(159)](e(137),0),this[e(159)](e(134),!1),this[e(159)](e(158),!1),this[e(125)](e(119)).to(this,e(128),this,e(137),((t,e)=>t&&e>0)),this[e(125)](e(120)).to(this,e(128),this,e(136),this,e(137),this,e(130),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(126));if(!n)return Q(t,o(161));const a=Q(t,o(141),n);return r?Q(t,o(123),[s+1,n]):a})),s[e(159)]({label:Q(t,e(160)),tooltip:!0,icon:mt.IconChevronUp}),n[e(159)]({label:Q(t,e(162)),tooltip:!0,icon:mt.IconChevronDown}),s[e(125)](e(157)).to(this,e(158)),n[e(125)](e(157)).to(this,e(134)),s.on(e(151),(()=>this[e(146)](e(151),e(145)))),n.on(e(151),(()=>this[e(146)](e(151),e(132)))),this[e(138)]({tag:e(127),attributes:{class:["ck",e(155),e(135)]},children:[{tag:e(154),attributes:{class:[e(140)]},children:[{tag:e(154),attributes:{class:[e(122),i.if(e(119),e(153),(t=>!t))]},children:[{text:i.to(e(130),(i=>i?Q(t,e(150))+": ":Q(t,e(121))+": "))}]},{text:i.to(e(120))}]},new pt.ToolbarSeparatorView,{tag:e(127),attributes:{class:[e(152)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=pe();return(fe=function(t,e){return i[t-=107]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(150711===-parseInt(e(125))/1+-parseInt(e(121))/2*(-parseInt(e(119))/3)+parseInt(e(120))/4+-parseInt(e(112))/5+-parseInt(e(116))/6+-parseInt(e(108))/7+parseInt(e(113))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=de(127);function pe(){const t=["view","171678TNbSaW","pluginName","ck-editor__editable__loading-overlay","change","show","removeClass","142331KqvenN","document","isOfficialPlugin","addClass","970175tRrkKn","2241088YZNWia","editing","isPremiumPlugin","773688VZkwEA","roots","hide","288mZNqMe","744324IjdyZB","4156MizboH","editor","RevisionViewerLoadingOverlay"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[de(126)](){return de(123)}static get[de(110)](){return!0}static get[de(115)](){return!0}[de(129)](){const t=de,e=this[t(122)][t(114)][t(124)];e[t(128)]((i=>{const s=t;for(const t of e[s(109)][s(117)])i[s(111)](me,t)}))}[de(118)](){const t=de,e=this[t(122)][t(114)][t(124)];e[t(128)]((i=>{const s=t;for(const t of e[s(109)][s(117)])i[s(107)](me,t)}))}}const ge=ke;function ye(){const t=["bind","currentChangeNumber","listenTo","Restore this revision","236PJbDCY","get","componentFactory","isEnabled","closeRevisionViewerCallback","isReady","7156845uhzCHm","6965350DCojrK","revisionHistory","showNextChange","commands","12768152ASvMlC","10013670CaASFC","add","isPremiumPlugin","pluginName","95859FwtfRM","plugins","hide","requires","1552678Dswwvx","isOfficialPlugin","Back to editing","isNavigationMode","init","set","exitToEditing","showPreviousChange","RevisionViewerUI","ck-revision-history-ui__back-to-editing","2251682CmcYSx","change:isReady","restoreRevision","numberOfChanges","changesNavigation","execute","config","isBackwardNavigationEnabled","isForwardNavigationEnabled","forward","show","editor"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=303]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(949145===-parseInt(e(330))/1+parseInt(e(340))/2+-parseInt(e(326))/3*(-parseInt(e(310))/4)+-parseInt(e(316))/5+-parseInt(e(322))/6+parseInt(e(317))/7+parseInt(e(321))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(325)](){return ge(338)}static get[ge(331)](){return!0}static get[ge(324)](){return!0}static get[ge(329)](){return[Qt,ve]}[ge(334)](){const t=ge,e=this[t(305)],i=e[t(327)][t(311)](Qt),s=e[t(327)][t(311)](ve);e.ui[t(312)][t(323)](t(336),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(335)]({label:Q(i,s(332)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(339)}),this[s(308)](n,s(345),(()=>{const t=s;e[t(346)][t(311)](t(318))[t(314)]()})),n})),e.ui[t(312)][t(323)](t(342),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(335)]({label:Q(i,s(309)),withText:!0,tooltip:!0}),n[s(306)](s(313)).to(e[s(320)][s(311)](s(342))),this[s(308)](n,s(345),(()=>e[s(345)](s(342)))),n})),e.ui[t(312)][t(323)](t(344),(s=>{const n=t,r=new ue(s),o=e[n(320)][n(311)](n(337)),a=e[n(320)][n(311)](n(319));return r[n(306)](n(347)).to(o,n(313)),r[n(306)](n(348)).to(a,n(313)),r[n(306)](n(315),n(307),n(343),n(333)).to(i),this[n(308)](r,n(345),((t,i)=>{const s=n;e[s(345)](s(303)===i?s(319):s(337))})),r})),s[t(304)](),i.on(t(341),((e,i,n)=>{const r=t;n?s[r(328)]():s[r(304)]()}))}}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-=260]})(t,e)}const Se=Ie;function Oe(){const t=["ck-tooltip_multi-line","48JyEJxC","136ImWnki","span","20zDIJUL","input","Enter the revision name","fieldView","5793459gggbbr","310818YebzTX","element","scrollWidth","listenTo","1538932QDVitm","value","Revision name","placeholder","set","14241DrLIWs","646910PRhsgK","3uxnZcM","25BLnDmh","645003JsSHqj","_tooltipString","render","bindTemplate","ck-revision-history-sidebar__revision-name","8012008WrbBXg","clientWidth","_updateTooltipText","destroy","_resizeObserver","extendTemplate"];return(Oe=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(576900===parseInt(e(265))/1*(parseInt(e(282))/2)+parseInt(e(267))/3*(-parseInt(e(260))/4)+parseInt(e(268))/5*(parseInt(e(289))/6)+parseInt(e(288))/7+-parseInt(e(274))/8+parseInt(e(269))/9*(parseInt(e(284))/10)+parseInt(e(266))/11*(-parseInt(e(281))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Se(278)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(272)];this[i(264)]({label:Q(t,i(262)),_tooltipString:""}),this[i(287)][i(263)]=Q(t,i(286)),this[i(279)]({tag:i(283),attributes:{class:[i(273)],"data-cke-tooltip-text":s.to(i(270)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(280)}})}[Se(271)](){const e=Se;super[e(271)](),this[e(278)]=new t.ResizeObserver(this[e(287)][e(290)],(()=>this[e(276)]())),this[e(292)](this[e(287)],e(285),(()=>this[e(276)]()))}[Se(277)](){const t=Se;super[t(277)](),this[t(278)]&&this[t(278)][t(277)]()}[Se(276)](){const t=Se,e=this[t(287)][t(290)];this[t(270)]=e[t(291)]>e[t(275)]&&e[t(261)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=108]})(t,e)}function Re(){const t=["Revision author","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","1112HeAobt","setTemplate","894628QQbTGV","90108BsHked","2840JhKTKb","name","1655516GuPTWj","set","Revision creator","6170478kMygoF","3RQkike","span","push","239943cupQAj","28399XVvOSk","4684170NtZZwx","0 0 11 10","ck-revision-history-sidebar__revision-author_creator"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(587616===parseInt(e(112))/1+parseInt(e(122))/2+-parseInt(e(109))/3*(parseInt(e(126))/4)+-parseInt(e(114))/5+-parseInt(e(108))/6+parseInt(e(113))/7*(-parseInt(e(120))/8)+-parseInt(e(123))/9*(-parseInt(e(124))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class De extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(127)]({content:mt.IconUser,viewBox:s(115)});const r=["ck",s(119)];i&&r[s(111)](s(116));const o=[{tag:s(110),attributes:{class:["ck",s(118)],title:Q(t,s(i?128:117))},children:[n,e[s(125)]]}];this[s(121)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=484]})(t,e)}function Ee(){var t=["6924336OsRAcc","608808kCDRpQ","toLocaleTimeString","270sUWfLx","numeric","52mykfQZ","7TvnLxH","127SWipWG","13175844GFPGly","18678bpkVxf","545640lBVGoK","toLocaleDateString","37295gSFJNg","148464ghnuEy","long"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(618282===-parseInt(e(492))/1*(parseInt(e(494))/2)+parseInt(e(495))/3+parseInt(e(490))/4*(-parseInt(e(497))/5)+parseInt(e(486))/6+parseInt(e(491))/7*(parseInt(e(485))/8)+-parseInt(e(498))/9*(parseInt(e(488))/10)+parseInt(e(493))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Ve=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=375]})(t,e)}function Le(){const t=["listView","bind","locale","menu","21070216hYXcVQ","map","name","action","set","455976XRHtDd","ck-revision-history-sidebar__revision__actions","source","menuitem","function","items","4144640myXHtb","907585UNrhws","isActionsDropdownOpen","class","Restore this revision","panelPosition","model","1159508PiyYaI","listenTo","5gGVFPG","bindTemplate","isOpen","first","2069242YEQAaL","isReady","Compare against selected","add","change:isActionsDropdownOpen","stopPropagation","children","isVisible","find","Show more items","2670042gjBGGa","execute","button","_action","extendTemplate","isEnabled","Name this revision","ck-on","buttonView"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(599382===-parseInt(e(377))/1+parseInt(e(383))/2+-parseInt(e(399))/3+-parseInt(e(376))/4+-parseInt(e(385))/5*(parseInt(e(417))/6)+parseInt(e(389))/7+parseInt(e(412))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=105]})(t,e)}function Ue(){const t=["creator","div","render","ck-revision-history-sidebar__actions_dropdown_open","ck-disabled","207011ttBhbE","closest","ck-revision-history-sidebar__revision-authors","createdAt","filter","fieldView","isActionsDropdownOpen","setTemplate","element","unshift","bind","394kYbNuv","ck-revision-history-sidebar__revision","isConfirm","108gjPnbW","map","2837541LLyBjT","isHighlighted","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","highlight","ck-revision-history-sidebar__revision_selected","listenTo","ck-revision-history-sidebar__revision-wrapper","bindTemplate","fire","_createdAtFormatted","deselect","94730TubiPO","96vcyXmE","4BcLXov","220","unhighlight","ck-revision-history-sidebar__revision_highlighted","extendTemplate",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision__date","isReady","_revision","revisionActionsView","srcElement","span","isSelected","change","authors","setName","set","ck-revision-history-sidebar__revision__controls-wrapper","ck-reset","value","length","4097CawbLO","revisionNameView","isEnabled","3124505eyZIYi","4034532EfJtQI","_requireRevisionName","2332872ULOExm","uiLanguage","name","from","22jYXCID","select"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(559884===-parseInt(e(117))/1*(-parseInt(e(145))/2)+-parseInt(e(150))/3+parseInt(e(163))/4*(-parseInt(e(120))/5)+-parseInt(e(162))/6*(-parseInt(e(134))/7)+parseInt(e(123))/8+parseInt(e(148))/9*(-parseInt(e(161))/10)+-parseInt(e(127))/11*(-parseInt(e(121))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(118)];[ze(105)];[ze(171)];[ze(122)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(157)],a=function(t,e){const i=r,s=Array[i(126)](e[i(110)])[i(138)]((t=>t!=e[i(129)]));return e[i(129)]&&s[i(143)](e[i(129)]),s[i(149)]((s=>new De(t,s,s==e[i(129)])))}(e,i);this.id=i.id,this[r(171)]=i,this[r(122)]=n,this[r(144)](r(125),r(137)).to(i),this[r(144)](r(159)).to(this,r(137),(t=>{return i=e[r(124)],(s=t)[(n=Me)(496)](i,{month:n(484),day:n(489)})+", "+s[n(487)](i,{hour:n(489),minute:n(489)});var i,s,n})),this[r(112)](r(108),!1),this[r(112)](r(151),!1),this[r(112)](r(140),!1),this[r(112)](r(170),!1),this[r(112)](r(119),!1),this[r(118)]=new Te(e,pt.createLabeledInputText),this[r(118)][r(139)][r(167)]({attributes:{maxlength:r(164)}}),this[r(118)][r(139)][r(144)](r(115)).to(this,r(125),(t=>t||this[r(159)])),this[r(118)][r(144)](r(119)).to(this,r(108),this,r(119),((t,e)=>t&&e)),this[r(105)]=s&&s[r(116)]?function(e,i){const s=Fe,n=e[s(386)],r=e[s(410)],o=(0,pt.createDropdown)(r);o[s(381)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(410)],n={"Compare against selected":Q(s,i(391)),"Name this revision":Q(s,i(405)),"Restore this revision":Q(s,i(380))};return e[i(413)]((t=>{const e=i,s=n[t[e(414)]];return s&&s!==t[e(414)]&&(t[e(414)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(401),model:new pt.ViewModel({label:t[n(414)],class:t[n(379)],withText:!0,role:n(420),_action:t[n(415)]})};i[n(382)][n(409)](n(404)).to(e,n(378),(i=>n(421)!=typeof t[n(404)]||!i||t[n(404)](e))),o[n(392)](i)}return o}(e,i);return e[s(409)](s(378)).to(o,s(387)),o[s(407)][s(416)]({label:Q(r,s(398)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(403)]({attributes:{class:[s(418),n.if(s(378),s(406))]},on:{click:n.to((t=>t[s(394)]()))}}),o.on(s(400),(t=>{const i=s;e[i(390)]&&i(421)==typeof t[i(419)][i(402)]&&t[i(419)][i(402)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(411)}),o[s(384)](e,s(393),((t,n,r)=>{const a=s;if(r)for(const t of o[a(408)][a(375)]){const s=t[a(395)][a(388)],n=i[a(397)]((t=>t[a(415)]===s[a(402)]))[a(396)];t[a(396)]=void 0===n||n(e)}})),o}(this,s):"",this[r(105)]&&this[r(105)][r(144)](r(119)).to(this),this[r(141)]({tag:r(130),attributes:{class:["ck",r(114),r(156),o.if(r(147),r(152))]},children:[{tag:r(130),attributes:{class:["ck",r(114),r(146),o.if(r(119),r(133),(t=>!t)),o.if(r(108),r(154)),o.if(r(151),r(166)),o.if(r(140),r(132))]},children:[this[r(118)],{tag:r(107),attributes:{class:["ck",r(169)]},children:[{text:o.to(r(159))}]},{tag:r(130),attributes:{class:["ck",r(113)]},children:[{tag:"ul",attributes:{class:["ck",r(136)]},children:a}]},this[r(105)]],on:{click:o.to((t=>{const e=r;t[e(106)][e(135)](e(168))||this[e(170)]&&this[e(119)]&&this[e(158)](e(128),{id:this.id})}))}}]})}[ze(131)](){const t=ze;super[t(131)]();const e=this[t(118)][t(139)][t(142)];this[t(155)](e,t(109),(()=>{const i=t;this[i(122)]&&!e[i(115)]||this[i(158)](i(111),{id:this.id,name:e[i(115)]}),e[i(115)]||(e[i(115)]=this[i(125)]?this[i(125)]:this[i(159)])}))}[ze(128)](){this[ze(108)]=!0}[ze(160)](){this[ze(108)]=!1}[ze(153)](){this[ze(151)]=!0}[ze(165)](){this[ze(151)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Ge extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Xe extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",ti="long",ei={year:Ke,month:Ke,day:Ke},ii={year:Ke,month:Qe,day:Ke},si={year:Ke,month:Qe,day:Ke,weekday:Qe},ni={year:Ke,month:ti,day:Ke},ri={year:Ke,month:ti,day:Ke,weekday:ti},oi={hour:Ke,minute:Ke},ai={hour:Ke,minute:Ke,second:Ke},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,second:Ke,timeZoneName:ti},li={hour:Ke,minute:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:ti},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},pi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},gi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},yi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},ki={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},bi={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},wi={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,timeZoneName:ti},_i={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,second:Ke,timeZoneName:ti};class Ii{get type(){throw new Xe}get name(){throw new Xe}get ianaName(){return this.name}get isUniversal(){throw new Xe}offsetName(t,e){throw new Xe}formatOffset(t,e){throw new Xe}offset(t){throw new Xe}equals(t){throw new Xe}get isValid(){throw new Xe}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Di={};function Mi(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 Vi={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ds(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ai.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Di={},Ei={},Vi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Li(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Xi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Ki,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=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Ui.resetCache(),Ai.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=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ds(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ds(i,2)}:${Ds(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ds(i,2)}${Ds(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Xs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Xs];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ds(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Vs(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function 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(Vs(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Vn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Xn=fn(In),Kn=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:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,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,[An,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=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=Ar(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Xi(e),s=Xi(e,"{2}"),n=Xi(e,"{3}"),r=Xi(e,"{4}"),o=Xi(e,"{6}"),a=Xi(e,"{1,2}"),c=Xi(e,"{1,3}"),u=Xi(e,"{1,6}"),l=Xi(e,"{1,9}"),h=Xi(e,"{2,4}"),d=Xi(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Vs(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Dr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Vr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ds(t.c.year,i?6:4),e?(s+="-",s+=Ds(t.c.month),s+="-",s+=Ds(t.c.day)):(s+=Ds(t.c.month),s+=Ds(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ds(t.c.hour);return e?(o+=":",o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ds(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ds(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ds(Math.trunc(-t.o/60)),o+=":",o+=Ds(Math.trunc(-t.o%60))):(o+="+",o+=Ds(Math.trunc(t.o/60)),o+=":",o+=Ds(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Xr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||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 Xr({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,Xr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Dr||t>Dr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=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],[Xn,Kn])}(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=Ar(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(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-=231]})(t,e)}function ro(t,e){const i=no,s=io[i(245)](t)[i(244)](e),n=io[i(236)](),r=n[i(239)]({days:1})[i(241)](i(251));let o,a;return s[i(253)](n,i(251))?(o=s[i(241)](i(251))[i(246)](),a=s[i(238)]()):s[i(253)](r,i(251))?(o=r[i(246)](),a=s[i(238)]()):s[i(253)](n,i(249))?(o=s[i(241)](i(249))[i(246)](),a=s[i(248)]||""):s[i(253)](n,i(240))?(o=s[i(241)](i(243))[i(246)](),a=s[i(247)]||""):(o=s[i(241)](i(240))[i(246)](),a=String(s[i(240)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["8qWfByU","local","8686734Mmsbjw","toRelativeCalendar","minus","year","startOf","957997HzanjY","month","setLocale","fromJSDate","toJSDate","monthLong","weekdayLong","week","2321172gYvOUg","day","2509226lgNrXf","hasSame","4780885hKADAT","618399crXyzp","2118618TXmuKi","6GkobNF"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(682735===parseInt(e(242))/1+-parseInt(e(252))/2+-parseInt(e(233))/3+-parseInt(e(250))/4+parseInt(e(231))/5+-parseInt(e(234))/6*(-parseInt(e(237))/7)+-parseInt(e(235))/8*(-parseInt(e(232))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["removeRevision","setName","setTemplate","revisionViews","locale","24234wmBfNE","_revisionActions","ck-revision-history-sidebar__time-period__label","delegate","uiLanguage","691803EJhmhG","48iFiBTB","add","2rPsdtA","select","ck-revision-history-sidebar__time-period","432178GXozxc","remove","find","303704xiVztS","_requireRevisionName","110740zkOafK","span","addRevision","div","localizedPeriodName","ck-revision-history-sidebar__time-period__revisions","createCollection","3IEGLvd","1178232JnlzbT","1677275suEXXs","startDate"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=353]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(281831===-parseInt(e(364))/1*(-parseInt(e(367))/2)+-parseInt(e(379))/3*(-parseInt(e(370))/4)+-parseInt(e(381))/5+-parseInt(e(362))/6*(-parseInt(e(356))/7)+parseInt(e(380))/8+-parseInt(e(361))/9+parseInt(e(372))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(382)];[uo(354)];[uo(357)];[uo(371)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(355)][n(360)])[n(376)];this[n(382)]=e,this[n(354)]=this[n(378)](),this[n(357)]=i,this[n(371)]=s,this[n(354)][n(359)](n(365)).to(this),this[n(354)][n(359)](n(384)).to(this),this[n(353)]({tag:n(375),attributes:{class:["ck",n(366)]},children:[{tag:n(373),attributes:{class:["ck",n(358)]},children:[{text:r}]},{tag:n(375),attributes:{class:["ck",n(377)]},children:this[n(354)]}]})}[uo(374)](t){const e=uo,i=new He(this[e(355)],t,this[e(357)],this[e(371)]);this[e(354)][e(363)](i)}[uo(383)](t){const e=uo,i=this[e(354)][e(369)]((e=>e.id===t.id));this[e(354)][e(368)](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-=321]})(t,e)}function go(){const t=["div","ck-reset_all","13174902mVKDih","66277850wYslHW","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","7EaeMbY","100NIkrEk","4209944MzQNnl","span","Revision history","316815UAsQis","7114062qrlITL","1744195WzyDlc","content","setTemplate","463220yNuaQE","21gQGXzY"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(873801===-parseInt(e(322))/1+parseInt(e(325))/2*(-parseInt(e(326))/3)+parseInt(e(334))/4*(-parseInt(e(338))/5)+parseInt(e(321))/6*(parseInt(e(333))/7)+-parseInt(e(335))/8+-parseInt(e(329))/9+parseInt(e(330))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(323)]=mt.IconHistory,this[e(324)]({tag:e(327),attributes:{class:["ck",e(328),e(332)]},children:[i,{tag:e(336),attributes:{class:["ck",e(331)]},children:[Q(t,e(337))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=198]})(t,e)}const _o=wo;function Io(){const t=["isEnabled","ck-rounded-corners","_revisions","delegate","fire","createCollection","flat","startDate","createdAt","revisionSelected","some","removeRevision","map","191592aNDyJG","_removeRevision","timePeriodViews","remove","bindTemplate","select","deselect","highlightRevisions","ck-revision-history-sidebar__timeline","44aeeAkF","7535200WuGmyD","addRevision","_revisionActions","202ofbRTI","getTime","4586337JDGQNT","div","ck-reset","unhighlight","setTemplate","revisionSetName","161781VrRZSQ","ck-revision-history-sidebar","get","7159ceQWXo","ck-disabled","2406906HKSJnr","selectRevision","find","locale","_getTimePeriodViewByStartDate","198kofEdO","revisionViews","setName","highlight","uiLanguage","render","set","add","2273985GLaGNW","_requireRevisionName","_addRevision"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(380777===parseInt(e(198))/1*(parseInt(e(242))/2)+-parseInt(e(250))/3*(-parseInt(e(238))/4)+-parseInt(e(213))/5+parseInt(e(200))/6+-parseInt(e(244))/7+parseInt(e(229))/8*(parseInt(e(205))/9)+-parseInt(e(239))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(231)];[_o(218)];[_o(241)];[_o(214)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(233)];this[n(231)]=this[n(221)](),this[n(231)][n(219)](n(234)).to(this),this[n(231)][n(219)](n(207)).to(this),this[n(218)]=e,this[n(241)]=i,this[n(214)]=s,this.on(n(234),((t,e)=>{const i=n;this[i(220)](i(225),e)})),this.on(n(207),((t,e)=>{const i=n;this[i(220)](i(249),e)})),this[n(211)](n(216),!1),this[n(248)]({tag:n(245),attributes:{class:["ck",n(246),n(217),n(251)]},children:[new yo(t),{tag:n(245),attributes:{class:["ck",n(237),r.if(n(216),n(199),(t=>!t))]},children:this[n(231)]}]})}[_o(210)](){const t=_o;super[t(210)]();for(const e of this[t(218)])this[t(215)](e);this[t(218)].on(t(212),((e,i)=>{this[t(215)](i)})),this[t(218)].on(t(232),((e,i)=>{this[t(230)](i)}))}get[_o(206)](){const t=_o;return this[t(231)][t(228)]((e=>e[t(206)][t(228)]((t=>t))))[t(222)]()}[_o(201)](t){const e=_o;for(const i of this[e(206)])t&&t.id===i.id?i[e(234)]():i[e(235)]()}[_o(236)](t){const e=_o;for(const i of this[e(206)])t[e(226)]((({id:t})=>t===i.id))?i[e(208)]():i[e(247)]()}[_o(215)](t){const e=_o,i=ro(t[e(224)],this[e(203)][e(209)])[e(223)];let s=this[e(231)][e(252)](0);s&&s[e(223)][e(243)]()===i[e(243)]()||(s=new fo(this[e(203)],i,this[e(241)],this[e(214)]),this[e(231)][e(212)](s)),s[e(240)](t)}[_o(230)](t){const e=_o,i=ro(t[e(224)],this[e(203)][e(209)])[e(223)];this[e(204)](i)[e(227)](t)}[_o(204)](t){const e=_o;return this[e(231)][e(202)]((i=>i[e(223)][e(243)]()===t[e(243)]()))}}function Oo(t,e){const i=Ao();return(Oo=function(t,e){return i[t-=206]})(t,e)}const To=Oo;!function(t){const e=Oo,i=t();for(;;)try{if(351304===parseInt(e(277))/1+-parseInt(e(221))/2+-parseInt(e(230))/3*(parseInt(e(288))/4)+parseInt(e(212))/5*(-parseInt(e(283))/6)+parseInt(e(213))/7+-parseInt(e(248))/8*(parseInt(e(227))/9)+parseInt(e(231))/10*(parseInt(e(218))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class xo extends U.Plugin{[To(247)];[To(220)];[To(251)];static[To(287)]=[To(284),To(216),To(259)];static[To(249)]=function(){const t=To;return{compareAgainstSelected:{name:t(253),action:({plugins:e},i)=>{const s=t,n=e[s(234)](Qt),r=n[s(246)];let o=n[s(235)][s(233)],a=i.id;r[s(208)](o)>r[s(208)](a)&&([o,a]=[a,o]),n[s(225)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(234)](Qt);return!(n[s(246)][s(286)](n[s(235)])[s(279)]>2||i[s(215)])}},restoreRevision:{name:t(260),action:(e,{id:i})=>{const s=t;e[s(207)][s(234)](s(270))[s(269)](i)},isVisible:({plugins:e},i)=>!!e[t(234)](Qt)[t(246)][t(243)](i.id)},nameRevision:{name:t(228),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(234)](Qt),o=r[n(246)][n(275)](i);r[n(225)](i,o),s[n(280)](),s[n(263)][n(258)]()}}}}();static get[To(217)](){return To(264)}static get[To(237)](){return!0}static get[To(262)](){return!0}static get[To(255)](){return[Qt]}constructor(t){const e=To;super(t),this[e(247)]=t[e(236)][e(234)](Qt),this[e(220)]=this[e(247)][e(246)],this[e(251)]=null}[To(276)](){const t=To,e=this[t(220)][t(209)],i=this[t(226)](),s=this[t(257)][t(207)][t(234)](t(219));this[t(251)]=new So(this[t(257)][t(282)],e,i,this[t(257)][t(207)][t(234)](t(206))),this[t(251)].on(t(222),this[t(261)][t(272)](this)),this[t(251)].on(t(244),this[t(210)][t(272)](this)),this[t(251)][t(272)](t(271)).to(this[t(247)]),this[t(251)][t(281)].on(t(242),((e,i)=>{const s=t;i[s(224)].on(s(242),((t,e)=>{const i=s;e[i(272)](i(271),i(214)).to(this[i(247)])}))})),this[t(251)][t(254)](),this[t(289)](this[t(257)][t(268)],t(285),this[t(223)][t(272)](this)),this[t(289)](this[t(247)],t(229),this[t(241)][t(272)](this)),s[t(232)](this[t(251)][t(245)])}[To(256)](){const t=To;this[t(251)][t(245)][t(250)](),this[t(251)][t(256)]()}[To(223)](){const t=To,e=this[t(220)][t(252)](0);if(e){const i=this[t(220)][t(275)](e.id);this[t(247)][t(225)](e,i)}}[To(261)](t,e){const i=To,s=this[i(220)][i(252)](e.id),n=this[i(220)][i(275)](s.id);this[i(247)][i(225)](s,n)}[To(210)](t,e){const i=To;this[i(220)][i(252)](e.id)[i(273)](e[i(267)])}[To(241)](t,e,i){const s=To,n=this[s(220)][s(286)](i);n[s(279)]>2?(this[s(251)][s(265)](n),this[s(251)][s(238)](null)):(this[s(251)][s(265)]([]),this[s(251)][s(238)](n[0]))}[To(226)](){const t=To,e=this[t(257)],i=xo[t(249)],s=e[t(207)][t(234)](t(240))||xo[t(287)];if(s[t(279)])return s[t(278)]((s=>{const n=t,r=n(239)==typeof s?Object[n(274)]({},i[s]):s;return r[n(211)]=r[n(211)][n(272)](this,e),r[n(266)]&&(r[n(266)]=r[n(266)][n(272)](this,e)),r}))}}const No=xo;function Ao(){const t=["nameRevision","Restore this revision","_handleRevisionSelected","isPremiumPlugin","fieldView","RevisionsSidebar","highlightRevisions","isVisible","name","data","restoreRevisionCallback","revisionHistory","isEnabled","bind","setName","assign","getEarlierVisibleRevision","init","337608RPDgML","map","length","focus","timePeriodViews","locale","342PHLUIs","compareAgainstSelected","ready","getRevisionsInDiff","defaultRevisionActions","180PDTmIN","listenTo","revisionHistory.requireRevisionName","config","getIndex","_revisions","_handleRevisionSetName","action","26245aKQBXJ","1103438JgRXsx","isReady","isSelected","restoreRevision","pluginName","6413BaCEfu","revisionHistory.viewerSidebarContainer","_revisionsRepository","117914xhSSpd","revisionSelected","_handleEditorDataReady","revisionViews","compare","_createRevisionActions","36IUrKqE","Name this revision","change:diff","39813zObllk","23330bVDWbM","appendChild","newRevisionId","get","diff","plugins","isOfficialPlugin","selectRevision","string","revisionHistory.revisionActions","_handleDiffChange","add","getLaterVisibleRevision","revisionSetName","element","repository","_revisionViewer","1097464eXyHjS","availableRevisionActions","remove","_sidebarView","getRevision","Compare against selected","render","requires","destroy","editor","select"];return(Ao=function(){return t})()}function Ro(t,e){const i=Mo();return(Ro=function(t,e){return i[t-=344]})(t,e)}const Do=Ro;function Mo(){const t=["205821wMGMAX","1763762pRhkiQ","element","493860RMtVvv","55035WaJGBT","addToolbar","editing","name","restore","fillFromConfig","toolbar","isActive","rootName","limiterElement","324970JLXEHd","_view","get","4ESizQp","fire","126LcITcN","viewportOffset","getRoot","48jtByoS","isFocused","stickyPanel","546402IWEtDD","4944rbXXHf","editor","editable","110aUHwAP","render","view","_toolbarConfig","_initToolbar","setEditableElement","replace","bind","destroy","_elementReplacer","focusTracker","ready","componentFactory","viewportTopOffset","detachDomRoot","attachDomRoot","document","414KSlggb","config","init","104oyubjO"];return(Mo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(323956===parseInt(e(384))/1+-parseInt(e(385))/2*(-parseInt(e(355))/3)+parseInt(e(376))/4*(-parseInt(e(373))/5)+-parseInt(e(378))/6*(-parseInt(e(359))/7)+-parseInt(e(358))/8*(parseInt(e(363))/9)+-parseInt(e(362))/10*(parseInt(e(388))/11)+parseInt(e(381))/12*(-parseInt(e(360))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends pt.EditorUI{[Do(374)];[Do(391)];[Do(347)];get[Do(390)](){return this[Do(374)]}constructor(e,i){const s=Do;super(e),this[s(374)]=i,this[s(391)]=(0,pt.normalizeToolbarConfig)(e[s(356)][s(375)](s(369))),this[s(347)]=new t.ElementReplacer}get[Do(361)](){const t=Do;return this[t(390)][t(361)]}[Do(357)](t){const e=Do,i=this[e(386)],s=this[e(390)],n=i[e(365)][e(390)],r=s[e(387)],o=n[e(354)][e(380)]();r[e(366)]=o[e(371)],s[e(389)]();const a=r[e(361)];this[e(393)](r[e(366)],a),s[e(387)][e(345)](e(382)).to(this[e(348)]),n[e(353)](a),this[e(347)][e(344)](t,this[e(361)]),this[e(392)](),this[e(377)](e(349))}[Do(346)](){const t=Do;super[t(346)]();const e=this[t(390)],i=this[t(386)][t(365)][t(390)];this[t(347)][t(367)](),i[t(352)](e[t(387)][t(366)]),e[t(346)]()}[Do(392)](){const t=Do,e=this[t(390)];e[t(383)][t(345)](t(370)).to(this[t(348)],t(382)),e[t(383)][t(372)]=e[t(361)],e[t(383)][t(345)](t(351)).to(this,t(379),(({top:t})=>t)),e[t(369)][t(368)](this[t(391)],this[t(350)]),this[t(364)](e[t(369)])}}var Vo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Vo.A,Co);Vo.A&&Vo.A.locals&&Vo.A.locals;function Fo(){var t=["main","3618138zVkNBS","1280473WfSLqW","1558432NiDiOd","shouldToolbarGroupWhenFull","7mqZKCZ","6994585sokEpR","content","2OyTitL","render","editable","stickyPanel","4972HoVUpo","toolbar","add","2619WxuvVc","99DcPoRC","10pDypzU","_editable","2575845yobLPt","top","2651076rjvGwZ"];return(Fo=function(){return t})()}var Lo=jo;function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=243]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(905678===-parseInt(e(243))/1*(parseInt(e(249))/2)+-parseInt(e(256))/3*(-parseInt(e(253))/4)+-parseInt(e(247))/5+parseInt(e(264))/6*(parseInt(e(246))/7)+parseInt(e(244))/8+parseInt(e(260))/9*(-parseInt(e(258))/10)+-parseInt(e(257))/11*(-parseInt(e(262))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends pt.BoxedEditorUIView{[Lo(259)];[Lo(252)];[Lo(254)];get[Lo(251)](){return this[Lo(259)]}constructor(t,e,i={}){var s=Lo;super(t),this[s(252)]=new pt.StickyPanelView(t),this[s(254)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(245)]}),this[s(259)]=new pt.InlineEditableUIView(t,e)}[Lo(250)](){var t=Lo;super[t(250)](),this[t(252)][t(248)][t(255)](this[t(254)]),this[t(261)][t(255)](this[t(252)]),this[t(263)][t(255)](this[t(251)])}}function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=488]})(t,e)}const Wo=zo;function Uo(){const t=["locale","_ui","fire","editing","initPlugins","17678WVTlDg","736388WHzfvA","document","64242YNqGFk","122755ZrvPoL","23784BiUFeJ","createRoot","create","77DKvgxg","ready","data","18sfvJwE","view","init","get","1402776FlzqSD","destroy","model","1942030aliaCq","14Qzxyzg","config","initialData","sourceElement","updateSourceElement"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(104588===-parseInt(e(494))/1*(parseInt(e(513))/2)+parseInt(e(497))/3+-parseInt(e(495))/4+-parseInt(e(498))/5*(-parseInt(e(505))/6)+-parseInt(e(502))/7*(parseInt(e(499))/8)+parseInt(e(509))/9+parseInt(e(512))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[Wo(490)];get ui(){return this[Wo(490)]}constructor(t,e){const i=Wo;super(e),this[i(516)]=t,this[i(511)][i(496)][i(500)]();const s=new Po(this[i(489)],this[i(492)][i(506)],{shouldToolbarGroupWhenFull:!0});this[i(490)]=new Eo(this,s)}[Wo(510)](){const t=Wo;return this[t(488)](),this.ui[t(510)](),super[t(510)]()}static async[Wo(501)](t,e){const i=Wo,s=new this(t,e);return await s[i(493)](),await s.ui[i(507)](t),await s[i(504)][i(507)](s[i(514)][i(508)](i(515))||""),s[i(491)](i(503)),s}}const Zo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=330]})(t,e)}function $o(){const t=["getRevisionRootsAttributes","_enhanceShowRevisionViewerCallback","Dialog","Autosave","RevisionViewer","getAttributeKeys","catch","Users","enableReadOnlyMode","_cleanUp","RevisionViewerIntegration","restrictedEditingException","isEnabled","rootName","insert","fromVersion","revisionHistory.closeRevisionViewerCallback","isAnonymous","push","update","revision-history-missing-configuration","showRevisionViewerCallback","RevisionHistory","revisionHistory.requireRevisionName","saveRevision","toLocaleTimeString","4aCVcvU","fromCharCode","_recalculatePageBreaks","indexOf","pluginName","1467sLpity","markers","getMarkersGroup","removeSelectionAttribute","enqueueChange","translations","destroy","toolbar","addUser","display","isOfficialPlugin","error","getRoot","getRevisions","block","closeRevisionViewerCallback","data","exitToEditing","selection","RevisionsRepository","setSelection","isOpen","createdAt","addRoot","includes","locale","revisionHistory","128410YfWbIW","RevisionTracker","isPremiumPlugin","document","name","refreshPositioning","save","has","removeMarker","getRevision","DocumentOutlineUI","_enhanceCloseRevisionViewerCallback","Annotations","getUser","revisionHistory.showRevisionViewerCallback","map","366yYcQwG","PaginationLookup","addRevisionData","creator","changesNavigation","long","config","_getRevisionViewerEditorConfig","roots","56ObjfxM","adapter","view","RevisionHistoryUI","3835533euKVDL","restoreRevision","toVersion","keys","3721044kDHhuh","detachRoot","disableReadOnlyMode","then","$graveyard","createRangeIn","set","parse","_restoreRevision","model","from","uiLanguage","72HmpMkz","Restored","lazyRoots","_showRevisionViewer","_viewerEditor","create","repository","none","toJSON","element","32840SlDzuY","129199OuxLbY","revisionHistory.viewerEditorElement","style","42036ebjOEO","requires","toLocaleDateString","refreshVisibility","commands","isReady","users","bind","isRevisionViewerOpen","numeric","2867890rNXTpk","plugins","change","_update","define","RevisionHistoryUtils","removeAttribute","loadRevisionData","editor","DocumentOutline","revisionHistory.restoreRevisionCallback","getRevisionDocumentData","_closeRevisionViewer","setAttribute","remove","result","revision-history-viewer-opened","revisionHistory.editorContainer","isAttached","init","revisionHistory.viewerContainer","get","hide","RestrictedEditingMode","join","end","isReadOnly","11kUQYuB"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(674505===-parseInt(e(477))/1*(parseInt(e(443))/2)+parseInt(e(451))/3*(parseInt(e(386))/4)+parseInt(e(332))/5+parseInt(e(434))/6*(parseInt(e(474))/7)+-parseInt(e(473))/8*(-parseInt(e(391))/9)+-parseInt(e(418))/10*(-parseInt(e(359))/11)+parseInt(e(463))/12*(-parseInt(e(447))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(446),Zo(355)];class Yo extends U.Plugin{[Zo(347)];static get[Zo(390)](){return Zo(370)}static get[Zo(401)](){return!0}static get[Zo(420)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(433)]((t=>String[e(387)](t)))[e(356)]("")}super(t),this[e(347)]=e(357),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(467)];static get[Zo(390)](){return Zo(382)}static get[Zo(401)](){return!0}static get[Zo(420)](){return!0}static get[Zo(478)](){return[ct,Ft]}constructor(e){const i=Zo;if(super(e),!this[i(340)][i(440)][i(353)](i(417)))throw new t.CKEditorError(i(380),this);this[i(467)]=null,this[i(457)](i(330),!1),this[i(340)][i(440)][i(336)](i(432),(t=>this[i(466)]({...t,translations:this[i(340)][i(416)][i(396)]}))),this[i(340)][i(440)][i(336)](i(376),(t=>this[i(344)](t))),this[i(340)][i(440)][i(336)](i(342),(t=>this[i(459)](t))),this[i(340)][i(440)][i(336)](i(383),!1),this[i(361)](),this[i(429)]()}set[Zo(444)](t){const e=Zo;this[e(340)][e(333)][e(353)](e(419))[e(444)]=t}get[Zo(444)](){const t=Zo;return this[t(340)][t(333)][t(353)](t(419))[t(444)]}[Zo(436)](t){const e=Zo;return this[e(340)][e(333)][e(353)](e(419))[e(436)](t)}[Zo(427)](t){const e=Zo;return this[e(340)][e(333)][e(353)](e(410))[e(427)](t)}[Zo(404)](t){const e=Zo;return this[e(340)][e(333)][e(353)](e(410))[e(404)](t||{toJSON:!1})}[Zo(441)](){const e=Zo,i=this[e(340)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(333)][e(353)](e(419)),r=i[e(333)][e(353)](e(367))[e(483)];return s[e(398)]=[e(408),e(448),e(438)],delete s[e(465)],s[e(333)][e(378)](Yo,Qt,be,class extends U.Plugin{static get[e(478)](){return[Qt,e(367)]}[e(351)](){const s=e,o=this[s(340)][s(333)][s(353)](s(367));for(const t of r)t[s(377)]||o[s(431)](t.id)||o[s(399)](t);const a=n[s(469)][s(404)]();let c=null;const u=this[s(340)][s(333)][s(353)](s(364));u[s(444)]=n[s(444)],u[s(484)](s(372)).to(n),this[s(340)][s(481)][s(353)](s(448))[s(484)](s(372)).to(i,s(358),(t=>!t));for(const e of a){const i=null===e[s(437)];if(i&&e[s(449)]===e[s(375)])continue;const r=e[s(471)]();u[s(436)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(335)](r,o);else if(!o){const e=a[u(471)]();e.id=(0,t.uid)(),n[u(384)](e,a[u(449)])[u(454)]((t=>{c=t}))}}else e[u(335)](r,o)}))}}},No),s}[Zo(361)](){const t=Zo,e=this[t(340)][t(440)][t(353)](t(417))[t(381)];this[t(340)][t(440)][t(457)](t(432),(async()=>{const i=t;this[i(340)][i(368)](i(348));const s=this[i(340)][i(333)][i(353)](i(419));if(this[i(340)][i(333)][i(425)](i(363))){const t=this[i(340)][i(333)][i(353)](i(363));await t[i(424)]()}else await s[i(379)]();if(this[i(340)][i(333)][i(425)](i(435))&&this[i(340)][i(333)][i(353)](i(435))[i(388)](),this[i(340)][i(333)][i(425)](i(362))){const t=this[i(340)][i(333)][i(353)](i(362));t[i(412)]&&t[i(354)]()}const n=this[i(441)]();return e(n)[i(454)]((t=>{const e=i;return this[e(467)]=t,this[e(340)][e(333)][e(425)](e(430))&&this[e(340)][e(333)][e(353)](e(430))[e(480)](),this[e(340)][e(333)][e(425)](e(341))&&(this[e(340)][e(333)][e(353)](e(428))[e(445)][e(472)][e(476)][e(400)]=e(470)),t}))[i(366)]((t=>(console[i(402)](t),this[i(340)][i(453)](i(348)),null)))}))}[Zo(429)](){const t=Zo,e=this[t(340)][t(440)][t(353)](t(417))[t(406)];this[t(340)][t(440)][t(457)](t(376),(()=>(this[t(340)][t(333)][t(425)](t(435))&&this[t(340)][t(333)][t(353)](t(435))[t(388)](),this[t(340)][t(333)][t(425)](t(341))&&(this[t(340)][t(333)][t(353)](t(428))[t(445)][t(472)][t(476)][t(400)]=""),this[t(467)][t(333)][t(353)](t(364))[t(369)](),e(this[t(467)])[t(454)]((()=>{const e=t;if(this[e(340)][e(453)](e(348)),this[e(467)]=null,this[e(340)][e(333)][e(425)](e(430))){const t=this[e(340)][e(333)][e(353)](e(430));t[e(480)](),t[e(423)]()}})))))}[Zo(466)](t){const e=Zo,i=this[e(340)][e(440)][e(353)](e(349)),s=this[e(340)][e(440)][e(353)](e(352)),n=this[e(340)][e(440)][e(353)](e(475));return Ho[e(468)](n,t)[e(454)]((t=>(s[e(476)][e(400)]=e(405),i[e(476)][e(400)]=e(470),this[e(330)]=!0,t)))}[Zo(344)](t){const e=Zo,i=this[e(340)][e(440)][e(353)](e(349));return this[e(340)][e(440)][e(353)](e(352))[e(476)][e(400)]=e(470),i[e(476)][e(400)]="",this[e(330)]=!1,t[e(397)]()}async[Zo(459)](t){const e=Zo,i=this[e(340)],s=this[e(467)][e(333)][e(353)](e(364)),n=i[e(333)][e(353)](e(419)),r=i[e(333)][e(353)](e(337)),o=s[e(469)][e(427)](t);let a,c,u;try{await r[e(339)](o,this[e(444)]),a=r[e(343)](o),c=r[e(360)](o)}catch(t){return void console[e(402)](t)}i[e(460)][e(334)]((t=>{const s=e;for(const e of Array[s(461)](i[s(460)][s(392)][s(393)](s(371))))t[s(426)](e)})),s[e(482)]=!1,i[e(460)][e(395)]((t=>{const s=e;t[s(411)](null),t[s(394)](i[s(460)][s(421)][s(409)][s(365)]());const n=Object[s(450)](a);for(const e of i[s(460)][s(421)][s(442)])s(455)!=e[s(373)]&&e[s(350)]()&&!n[s(415)](e[s(373)])&&t[s(452)](e);for(const e of n){let n=i[s(460)][s(421)][s(403)](e);n&&n[s(350)]()||(n=t[s(414)](e));const r=c[e],o=Object[s(450)](r),u=a[e];for(const e of n[s(365)]())o[s(415)](e)||t[s(338)](e,n);for(const i of o)t[s(345)](i,c[e][i],n);t[s(346)](t[s(456)](n)),t[s(374)](i[s(407)][s(458)](u,n),n,0)}}));const l=Q(i[e(416)],e(464));return u=o[e(422)]?-1==o[e(422)][e(389)](l)?l+": "+o[e(422)]:o[e(422)]:l+": "+o[e(413)][e(479)](i[e(416)][e(462)],{month:e(439),day:e(331)})+", "+o[e(413)][e(385)](i[e(416)][e(462)],{hour:e(331),minute:e(331)}),await n[e(384)]({name:u}),s[e(482)]=!0,i[e(440)][e(353)](e(417))[e(406)]()}}function Jo(t,e){var i=Xo();return(Jo=function(t,e){return i[t-=274]})(t,e)}function Xo(){var t=["2187112QkyKMY","63BGkNBf","2PZgfEu","4361285jHTLNL","8143410aOplmv","8ndufIQ","3832485tMSyiQ","4418267JrDaNn","100216sRUwFy","6527382okdYeF"];return(Xo=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(988863===parseInt(e(281))/1*(-parseInt(e(275))/2)+parseInt(e(279))/3+-parseInt(e(278))/4*(parseInt(e(276))/5)+parseInt(e(282))/6+-parseInt(e(280))/7+-parseInt(e(283))/8*(-parseInt(e(274))/9)+-parseInt(e(277))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,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==(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 D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function M(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?M(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function P(){const t=["createdAt","creator","model","setName","authorsIds","259516cDzLkj","set","attributes","removeAttribute","toVersion","115315gBWOAV","311674lsLUuX","diffData","20dVDJep","fire","2799657ezBUuS","setAttribute","creatorId","toJSON","483693gsqcyP","3170864GWiRII","102vKxXDP","name","_update","fromVersion","map","2QwHZus","1207234EASjmj","authors"];return(P=function(){return t})()}function j(t,e){const i=P();return(j=function(t,e){return i[t-=396]})(t,e)}const z=j;!function(t){const e=j,i=t();for(;;)try{if(209143===parseInt(e(422))/1+-parseInt(e(408))/2*(parseInt(e(401))/3)+parseInt(e(416))/4+parseInt(e(421))/5*(parseInt(e(403))/6)+-parseInt(e(409))/7+parseInt(e(402))/8+-parseInt(e(397))/9*(parseInt(e(424))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[z(412)];[z(410)];[z(423)];[z(420)];[z(406)];[z(413)];constructor(e){const i=z;super(),this.id=e.id||(0,t.uid)(),this[i(412)]=e[i(412)]||null,this[i(410)]=e[i(410)]||[],this[i(423)]=e[i(423)]||null,this[i(420)]=e[i(420)]||0,this[i(406)]=e[i(406)]||0,this[i(417)](i(404),e[i(404)]||""),this[i(417)](i(411),e[i(411)]||new Date),this[i(417)](i(418),e[i(418)]||{})}[z(414)](t){this[z(405)]({name:t})}[z(398)](t,e){const i=z,s=A(this[i(418)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(405)]({attributes:s})}[z(419)](t){const e=z,i=A(this[e(418)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&M(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(405)]({attributes:i})}[z(405)](t,e=!1){const i=z;let s=!1;const n={id:this.id},r=[i(404),i(411),i(423),i(410),i(418),i(420),i(406),i(399)];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(410)]&&(n[i(415)]=n[i(410)][i(407)]((t=>t.id)),delete n[i(410)]),this[i(396)](i(405),n,e))}[z(400)](){const t=z;return{id:this.id,name:this[t(404)],creatorId:this[t(412)]?this[t(412)].id:null,authorsIds:this[t(410)][t(407)]((t=>t.id)),diffData:this[t(423)],createdAt:this[t(411)],attributes:this[t(418)],fromVersion:this[t(406)],toVersion:this[t(420)]}}}var U=i(782),H=i(211),Z=i(783);function $(t,e){const i=q();return($=function(t,e){return i[t-=461]})(t,e)}const B=$;function q(){const t=["1865urOUgF","authorsIds","createdAt","pluginName","attributes","join","getUser","RevisionsRepository","push","getRevision","createRevision","isOfficialPlugin","Users","href","getRevisionsInDiff","map","getEarlierVisibleRevision","diffData","creatorId","_revisions","data","673362jIGaly","oldRevisionId","length","add","editor","plugins","getLaterVisibleRevision","earlier","fromVersion","toVersion","419216YPzIWn","name","later","160zOozGa","isPremiumPlugin","getRevisions","6DPonwk","requires","reverse","afterInit","toJSON","isNaN","4684428WBJvOB","addRevision","9242961DdjFCP","get","fromCharCode","from","getRevisionsIterator","newRevisionId","2742JKngXn","1373904umyWlg","316694qRYtzl","getIndex"];return(q=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(760885===parseInt(e(472))/1+-parseInt(e(473))/2*(-parseInt(e(512))/3)+-parseInt(e(463))/4+-parseInt(e(475))/5*(-parseInt(e(471))/6)+parseInt(e(465))/7+-parseInt(e(506))/8+-parseInt(e(496))/9*(parseInt(e(509))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends U.Plugin{[B(494)];static get[B(513)](){return[H.Users]}static get[B(478)](){return B(482)}static get[B(486)](){return!0}static get[B(510)](){return!0}get[B(498)](){const t=B;return this[t(494)][t(498)]}constructor(e){const i=B;super(e),this[i(494)]=new t.Collection}[B(515)](){!async function(e){const i=k([70,106,57,104,114,79,120,117,56,48,90,66,65,112,97,74,101,122,78,109,118,80,87,69,99,110,111,71,116,119,72,54,82,108,76,105,98,103,55,67,113,83,49,51,84,107,77,53,115,100,102,121,81,85,68,52,89,73,75,50,86,88]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(462)](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([70]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(490)]((t=>String[e(467)](t)))[e(480)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1743552e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(488)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[B(485)](t){const e=B,i=this[e(500)][e(501)][e(466)](e(487));return new W({id:t.id,name:t[e(507)],creator:t[e(493)]?i[e(481)](t[e(493)]):null,diffData:t[e(492)]||t[e(495)],authors:t[e(476)][e(490)]((t=>i[e(481)](t))),createdAt:new Date(t[e(477)]),attributes:t[e(479)],fromVersion:t[e(504)],toVersion:t[e(505)]})}[B(464)](t,e=0){const i=B;this[i(494)][i(499)](t,e)}[B(484)](t){const e=B;return this[e(494)][e(466)](t)}[B(511)](t={toJSON:!1}){const e=B,i=Array[e(468)](this[e(494)]);return i[e(514)](),t[e(461)]?i[e(490)]((t=>t[e(461)]())):i}[B(474)](t){const e=B;return this[e(494)][e(474)](t)}[B(491)](t){const e=B,[,i]=this[e(469)](t,{direction:e(503)});return i}[B(502)](t){const e=B,[,i]=this[e(469)](t,{direction:e(508)});return i}[B(489)](t){const e=B,i=[];for(const s of this[e(469)](t[e(470)]))if(i[e(483)](s),s.id===t[e(497)])break;return i}*[B(469)](t,{direction:e=B(503),filter:i=()=>!0}={}){const s=B,n=s(503)===e?1:-1;let r=this[s(494)][s(466)](t),o=this[s(474)](r);for(yield r;r;){if(o+=n,r=this[s(484)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=406]})(t,e)}function K(){const t=["from","130LTDHzD","filter","createElement","map","editing","htmlProcessor","getRevisionDocumentData","parse","440027XvxTAG","length","isAttached","attachChange","view","isPremiumPlugin","append","marked","loadRevisionData","render","children","domConverter","domChildrenToView","innerHTML","collaboration.channelId","17640oLoccS","_appendChild","constructor","processor","editor","72GkyyCr","toModel","diffData","string","_removeRevisionMarkers","get","customProperties","viewChildrenToDom","759228RUJKzY","729uoKxqH","_getViewFromDiffObj","data","insertions","attributesAfter","config","revision-end","startsWith","RevisionHistoryUtils","96590IQlNUl","domDocument","name","50PwtQUN","forEach","_typeCharToViewClass","12077824aQHTNF","_getTypeCharForViewElement","getFillerOffset","default","356ChMHVn","childNodes","getRevisionRootsAttributes","useFillerType","type","data-revision-","22DFesCL","getRevision","419598LCyeTZ","revision-start","attributes","_makeModelFromViewString","isOfficialPlugin","_setCustomProperty","_viewClassToTypeChar","pluginName","toData","45835ptHdlc","fillerOffset","document","div"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(554659===-parseInt(e(472))/1*(parseInt(e(461))/2)+-parseInt(e(422))/3*(parseInt(e(455))/4)+parseInt(e(448))/5*(parseInt(e(463))/6)+-parseInt(e(407))/7*(-parseInt(e(427))/8)+parseInt(e(436))/9*(parseInt(e(445))/10)+-parseInt(e(451))/11+-parseInt(e(435))/12*(-parseInt(e(477))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends U.Plugin{static get[J(470)](){return J(444)}static get[J(467)](){return!0}static get[J(412)](){return!0}[J(469)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(450)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(415)](t,e){const i=J;if(t[i(429)]||!e)return;const s=this[i(426)][i(441)][i(432)](i(421)),n=await e[i(462)]({channelId:s,revisionId:t.id});t[i(429)]=n[i(429)]}[J(483)](t){const e=J,i={};for(const s in t[e(429)]){if(t[e(429)][s][e(410)]&&!t[e(429)][s][e(410)][e(409)])continue;const n=this[e(431)](JSON[e(406)](t[e(429)][s][e(439)])),r=this[e(426)][e(481)][e(411)][e(474)],o=new Z.ViewDocumentFragment(r,n[e(480)]((t=>this[e(437)](t,!1))));this[e(426)][e(438)][e(425)][e(458)](e(414)),i[s]=this[e(426)][e(438)][e(425)][e(471)](o),this[e(426)][e(438)][e(425)][e(458)](e(454))}return i}[J(457)](t){const e=J,i={};for(const s in t[e(429)])t[e(429)][s][e(410)]&&!t[e(429)][s][e(410)][e(409)]||(i[s]=t[e(429)][s][e(440)]||{});return i}[J(452)](t){const e=J;return this[e(469)][e(432)](t[e(424)])}[J(437)](t,e){const i=J,s=this[i(426)][i(481)][i(411)][i(474)];if(i(430)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(459)]||"r"==t[i(459)]?[]:t[i(417)][i(480)]((t=>this[i(437)](t,e)));const o=this[i(450)][i(432)](t[i(459)])||Z.ViewElement,a=this[i(426)][i(438)][i(482)][i(418)];if(n=new o(s,t[i(447)],t[i(465)],r),"u"==t[i(459)]){const r=t[i(417)][0];if(n[i(416)]=function(t){const e=i,s=t[e(479)](e(475));return s[e(420)]=r,s[e(456)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(423)](n);const e=Array[i(476)](a[i(434)](t,{bind:!1})),r=a[i(446)][i(479)](i(475));r[i(413)](...e),n=Array[i(476)](a[i(419)](r))[0]}}else if("r"==t[i(459)]){const r=t[i(417)][0];if(n[i(416)]=function(t){t[i(420)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(423)](n);const e=Array[i(476)](a[i(434)](t,{bind:!1})),r=a[i(446)][i(479)](i(475));r[i(413)](...e);const o=Array[i(476)](a[i(419)](r));o[i(408)]>1?n[i(423)](o):n=o[0]}}if(t[i(433)])for(const[e,s]of t[i(433)])n[i(468)](e,s);const c=t[i(473)]||null;return n[i(453)]=()=>c,n}}[J(466)](t){const e=J,i=JSON[e(406)](t),s=this[e(426)][e(481)][e(411)][e(474)],n=new Z.ViewDocumentFragment(s,i[e(480)]((t=>this[e(437)](t,!0))));return this[e(426)][e(438)][e(428)](n)}[J(431)](t){const e=J;return(t=t[e(478)]((t=>!t[e(447)]||e(464)!==t[e(447)]&&e(442)!==t[e(447)])))[e(449)]((t=>{const i=e;i(430)!=typeof t&&(t[i(417)]=this[i(431)](t[i(417)]),t[i(465)]=t[i(465)][i(478)]((t=>!t[0][i(443)](i(460)))))})),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),D=s.get(i);if(null!=E&&null!=D)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=ct;function ot(){const t=["getOperations","_bufferUpdate","_touched","$graveyard","addRootAttribute","size","_setConversion","_appendChild","keepParagraph","Users","isAdd","saveRevision","offset","createRangeIn","getWalker","_isInit","_revisionId","removeRootAttribute","usageLimit","has","customProperties","_savedMetaData","attributesAfter","_createCurrentRevision","_clone","resolve","_handleInsertOperation","_markChanges","_operations","end","getRevisionRootsAttributes","featureNotAllowed","RevisionHistory","conversion","addRevisionData","_touchedRoots","trim","_prepareViewToSave","name","for","_copyMarkers","fillerOffset","getRoot","elementStart","_update","_handleMoveOperation","fromEntries","changeRootAttribute","_generateTape","setSource","getData","_getTypeCharForViewElement","isReady","domConverter","_utils","reverse","initialData","RealTimeCollaborationClient","deletions","revisionHistoryLicenseKeyDomainLimit","_saveMetaData","340SaYfSp","RevisionsRepository","4505SxczgM","oldRange","47877JUiCTo","add","_removePendingAction","revision","_diffRoots","addRoot","split","get","revision:","3904990LHTTOg","4310514MZcicC","paragraph","_lastFrom","_lastTo","_baseRoots","RevisionTracker","trialLimit","uiElement","editor-initial-data-replaced-with-revision-data","_handleSplitOperation","getAncestors","currentRevision","PendingActions","locale","Empty document","initial","insert","createElement","requires","_touchedMarkers","remove","sendBufferedUpdates","domainLimit","diffData","_authorId","move","revisionHistoryLicenseKeyEvaluationLimit","outerHTML","6090200oFmAGe","parent","model","_setAttribute","editor","revisionHistory.resumeUnsavedRevision","repository","creator","nodeAfter","_baseRootsAttributes","authorsIds","nodes","element","version","_getPreviousFrom","getCurrentRevisionId","RevisionHistoryUtils","innerHTML","path","vid_start","_transformMarkers","insertionPosition","merge","PENDING_ACTION_REVISION_HISTORY","define","sort","values","expired","children","licenseKey","update","evaluationLimit","tableCell","map","_removeMetaData","rootsAttributes","_continueCurrentRevision","revisionHistoryLicenseKeyTrialLimit","NEGATIVE_INFINITY","_fixOperation","$text","previousPosition","authors","reinsert","createPositionBefore","_diffRootsAttributes","getNodeByPath","getRevisions","getMovedRangeStart","_startingRevisionId","revisionHistoryLicenseKeyUsageLimit","detachRoot","dataDowncast","_applyOperations","_makeModelFromViewString","delete","markerToData","vid","_handleMarkerOperation","getOperation","rawElement","init","affectsData","history","roots","revisionHistoryLicenseKeyExpired","createPositionAfter","position","_insertChild","ready","isEqual","11TWINqj","_handleRootOperation","hasContent","revisionHistoryLicenseKeyValid","buildRevisionData","collaboration.channelId","_fixRange","getChildren","807lnCJzc","includes","startsWith","_handleOperation","isOfficialPlugin","getCustomProperties","getAttribute","baseVersion","updateRevisions","getRevisionDocumentData","attributesBefore","isEnabled","_getFromVersion","_findInsertionIndex","4027695DgbxHZ","fromVersion","pluginName","reInit","getRange","getUser","item","sourcePosition","set","_getViewJson","_startingVersion","_cloneOperation","graveyardPosition","_getVidAttributeName","offsetSize","createdAt","revisionHistoryLicenseKeyNotAllowed","_getBaseVids","loadRevisionData","start","createPositionAt","getChild","key","_fixPosition","stickiness","_createInitialRevision","newValue","max","createRange","insertions","_processRootBeforeSave","source","revisionHistoryLicenseKeyInvalid","finally","getRevision","_handleMergeOperation","data","deletion","type","_baseIdsRoots","setRevisionData","_loadedStateData","isAttached","loadState","clone","addRevision","range","render","targetPosition","howMany","elementEnd","_isPendingUpdate","_calculateMetaData","_bufferedUpdates","8196UBXUfm","some","markers","afterInit","childCount","length","_revisionDataBuilder","_addPendingAction","getRootNames","clear","newRange","plugins","_reset","dataToMarker","_pendingAction","adapter","_replaceEditorDataWithRevisionData","_isAttached","push","getTransformedByOperation","isPremiumPlugin","_initialRevisionId","_licenseKeyCheckInterval","_loadState","upcast","keys","insertion","find","from","_markers","getIndex","_createFromRanges","$comment","htmlProcessor","rootName","_makeRevision","string","splitPosition","_execute","shift","createRevision","getTime","getFillerOffset","domDocument","invalid","userId","stringify","creatorId","_handleRootAttributeOperation","bind","createPositionFromPath","slice","_makeIdsRoot","2980Lchigv","then","getLatestVersion","getAttributes","destroy","vid_end","document","root","attachChange","documentFragment","_showLicenseError","_idsRoots","_source","text","toView","config","marker","_getState","toVersion","filter","Initial revision"];return(ot=function(){return t})()}!function(t){const e=ct,i=t();for(;;)try{if(701296===parseInt(e(406))/1*(-parseInt(e(527))/2)+parseInt(e(613))/3*(parseInt(e(609))/4)+-parseInt(e(611))/5*(-parseInt(e(474))/6)+-parseInt(e(420))/7+parseInt(e(651))/8+-parseInt(e(623))/9+-parseInt(e(622))/10*(parseInt(e(398))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends U.Plugin{[rt(356)];[rt(496)];[rt(634)]=null;[rt(657)];[rt(489)]=null;[rt(480)];[rt(539)];[rt(495)];[rt(473)];[rt(602)];[rt(488)];[rt(363)];[rt(430)];[rt(461)];static get[rt(422)](){return rt(628)}static get[rt(410)](){return!0}static get[rt(494)](){return!0}static get[rt(641)](){return[H.Users,Y,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(657)]=this[i(655)][i(485)][i(620)](i(610)),this[i(602)]=this[i(655)][i(485)][i(620)](i(667)),this[i(480)]=new ut(this[i(655)]),this[i(495)]=this[i(655)][i(542)][i(620)](i(403))||i(638),this[i(473)]=new Map,this[i(461)]=null;const s=(0,t.uid)();this[i(539)]={history:this[i(655)][i(653)][i(533)][i(390)],getLatestVersion:()=>Promise[i(573)](this[i(655)][i(653)][i(533)][i(664)]),getCurrentRevisionId:()=>s},this[i(428)](i(600),!1),this[i(428)](i(417),!0),this[i(428)](i(471),!1),this[i(655)][i(542)][i(351)](i(656),!0),this[i(655)][i(581)][i(587)](i(498))[i(487)]({view:i(616)})}[rt(388)](){const t=rt;this[t(554)](),this[t(655)][t(456)].on(t(396),(()=>{const e=t,i=this[e(657)][e(454)](0),s=i&&null===i[e(658)]?i:null;if(this[e(363)]=!!s&&this[e(655)][e(542)][e(620)](e(656)),this[e(655)][e(485)][e(567)](e(605))){const t=this[e(539)][e(666)](),n=this[e(657)][e(454)](t);if(n)this[e(430)]=n[e(421)],this[e(363)]=!1;else{const t=this[e(539)][e(390)][e(576)][e(501)]((t=>!t[e(563)])),n=t?t[e(413)]:this[e(539)][e(390)][e(664)];i?(i[e(545)]<n&&i[e(592)]({toVersion:n}),this[e(363)]?(this[e(539)][e(666)]=()=>s.id,this[e(430)]=s[e(421)]):(this[e(430)]=i[e(545)],this[e(363)]=!1)):(this[e(430)]=n,this[e(363)]=!1)}}else s&&(this[e(655)][e(653)][e(533)][e(390)][e(664)]=Math[e(447)](s[e(545)],this[e(655)][e(653)][e(533)][e(390)][e(664)]),s[e(421)]===s[e(545)]?(0!==s[e(421)]&&(this[e(539)][e(666)]=()=>s.id),this[e(363)]=!1):this[e(363)]&&(this[e(539)][e(666)]=()=>s.id,this[e(430)]=s[e(421)])),this[e(363)]||(this[e(430)]=this[e(655)][e(653)][e(533)][e(664)]);this[e(480)][e(388)](this[e(539)][e(390)]),this[e(445)](this[e(430)]),this[e(571)](this[e(430)]),this[e(489)]&&this[e(644)]()})),this[t(523)](t(600)).to(this,t(471),(t=>!t)),this[t(356)]=this[t(655)][t(542)][t(620)](t(356));const e=this[t(655)];this[t(496)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(401)==r||i(452)==r||i(392)==r||i(607)==r||i(436)==r||i(649)==r||i(364)==r||i(377)==r){delete e[n],s=r,clearInterval(this[i(496)]),this[i(496)]=void 0;break}}i(452)==s&&e[i(537)](i(518)),i(392)==s&&e[i(537)](i(354)),i(607)==s&&e[i(537)](i(645)),i(436)==s&&e[i(537)](i(579),i(580)),i(649)==s&&e[i(537)](i(358)),i(364)==s&&e[i(537)](i(629)),i(377)==s&&e[i(537)](i(566))}),1e3)}async[rt(477)](){const t=rt;if(this[t(657)][t(479)]>0){const e=this[t(657)][t(454)](0),i=await this[t(415)](e),s=await this[t(578)](e);this[t(490)](i,s)}}[rt(531)](){const t=rt;super[t(531)](),this[t(496)]&&clearInterval(this[t(496)])}[rt(597)](t){this[rt(539)]=t}async[rt(357)](){const t=rt,e=await this[t(539)][t(529)]();if(e>this[t(634)][t(545)]){await this[t(497)]();const i=this[t(402)]({revision:this[t(634)],to:e});i[t(369)]=i[t(661)][t(360)]((e=>this[t(655)][t(485)][t(620)](t(557))[t(425)](e))),this[t(634)][t(592)](i)}}async[rt(559)](e={},i=null){const s=rt,n=[];await this[s(497)](),this[s(363)]=!1,i>this[s(634)][s(545)]&&(i=null),null===i&&(i=await this[s(539)][s(529)]());const r=this[s(418)](i),o=this[s(402)]({from:r,to:i});if(this[s(634)][s(545)]<i){const t=this[s(402)]({revision:this[s(634)],from:i,to:i});t[s(369)]=[],t[s(661)]=[],t.id=this[s(634)].id,this[s(634)][s(592)](t,!0),delete t[s(369)],n[s(492)](t)}e[s(521)]=this[s(655)][s(485)][s(620)](s(557)).me.id,e[s(586)]=e[s(586)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(582)](e);n[s(492)](e);const c=this[s(657)][s(504)](a);if(0!==c){const t=this[s(657)][s(454)](c-1);if(t[s(421)]!==i){const r=this[s(480)][s(598)](i,t[s(545)]),o={id:t.id,diffData:r[s(646)],authorsIds:r[s(661)],authors:r[s(661)][s(360)]((t=>this[s(655)][s(485)][s(620)](s(557))[s(425)](t))),fromVersion:i};t===this[s(634)]&&(o[s(435)]=new Date(e[s(435)][s(515)]()+10)),t[s(592)](o,!0),delete o[s(369)],n[s(492)](o)}}if(this[s(489)]){for(const t of n)this[s(549)](t.id,t,!0);this[s(644)]()}return a}[rt(582)](t){const e=rt,i=this[e(657)][e(514)](t);return this[e(489)]&&i.on(e(592),((t,i,s)=>{const n=e;s||(this[n(549)](i.id,i,!0),this[n(644)]())})),this[e(657)][e(465)](i,this[e(419)](i)),i}async[rt(415)](t){const e=rt;return await this[e(602)][e(438)](t,this[e(489)]),this[e(602)][e(415)](t)}async[rt(578)](t){const e=rt;return await this[e(602)][e(438)](t,this[e(489)]),this[e(602)][e(578)](t)}[rt(644)](){const t=rt;if(0===this[t(473)][t(553)])return;if(this[t(471)])return;let e=Array[t(502)](this[t(473)][t(353)]());this[t(473)][t(483)]();for(let i=0;i<e[t(479)];i++){const s=e[i];let n=!1;for(const e of Object[t(499)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(546)]((t=>null!==t)),!e[t(479)])return;for(let i=0;i<e[t(479)];i++){const s=e[i];void 0!==s[t(421)]&&void 0===s[t(545)]&&(s[t(545)]=this[t(657)][t(454)](s.id)[t(545)]),void 0!==s[t(545)]&&void 0===s[t(421)]&&(s[t(421)]=this[t(657)][t(454)](s.id)[t(421)])}const i=this[t(655)][t(542)][t(620)](t(403));this[t(471)]=!0,this[t(481)](),this[t(489)][t(414)](e,i)[t(453)]((()=>{this[t(471)]=!1}))[t(528)]((e=>{const i=t;if(e)for(const t of e)this[i(460)]({id:t.id,createdAt:t[i(435)]});this[i(615)](),this[i(644)]()}))}[rt(402)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(421)],i=null!==i?i:t[s(545)];const n=this[s(480)][s(598)](e,i),r={diffData:n[s(646)],authorsIds:n[s(661)],fromVersion:e,toVersion:i};if(!t||i!==t[s(545)]){const t=i-1,e=this[s(539)][s(390)][s(386)](t);r[s(435)]=e&&e[s(435)]||new Date}if(this[s(461)]&&e===this[s(461)][s(421)])for(const t of this[s(461)][s(369)])r[s(661)][s(407)](t.id)||r[s(661)][s(492)](t.id);return r}[rt(549)](t,e,i){const s=rt;if(this[s(473)][s(567)](t)){const n=this[s(473)][s(620)](t);e=i?{...n,...e}:{...e,...n}}this[s(473)][s(428)](t,e)}[rt(460)](t){const e=rt,i=this[e(657)][e(454)](t.id);if(t[e(435)]&&(t[e(435)]=new Date(t[e(435)])),t[e(661)]){const i=this[e(655)][e(485)][e(620)](e(557));t[e(369)]=t[e(661)][e(360)]((t=>i[e(425)](t)))}i[e(592)](t,!0)}[rt(445)](t){const e=rt,i=this[e(657)][e(454)](this[e(657)][e(479)]-1);if(i)this[e(495)]=i.id;else{const i=!this[e(655)][e(653)][e(533)][e(391)][e(501)]((t=>this[e(655)][e(653)][e(400)](t))),s=this[e(655)][e(485)][e(620)](e(557)).me.id,n=Q(this[e(655)][e(636)],e(i?637:547));this[e(509)]({from:t,to:t,id:this[e(495)],name:n,creatorId:s})}}[rt(571)](t){const e=rt,i=this[e(539)][e(666)]();this[e(634)]=this[e(657)][e(454)](i),this[e(634)]||(this[e(634)]=this[e(509)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(497)](){const t=rt;this[t(363)]&&!this[t(461)]&&(await this[t(602)][t(438)](this[t(634)],this[t(489)]),this[t(480)][t(463)](this[t(634)]),this[t(461)]={fromVersion:this[t(634)][t(421)],authors:this[t(634)][t(369)][t(525)]()})}[rt(490)](e,i){const s=rt;let n=this[s(655)][s(542)][s(620)](s(604)),r=this[s(655)][s(542)][s(620)](s(362));if(void 0===n){n={};for(const t of this[s(655)][s(653)][s(533)][s(482)]())n[t]=""}if(s(510)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(655)][s(653)][s(533)][s(482)]())r[t]={}}let o=!1;const a=Object[s(499)](n),c=Object[s(499)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(584)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(499)](r[t])[s(479)]>0){o=!0;break}}o||(o=c[s(475)]((t=>!this[s(655)][s(653)][s(533)][s(590)](t)))),o&&(0,t.logWarning)(s(631),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(655)][s(542)][s(428)](s(604),e),this[s(655)][s(542)][s(428)](s(362),i)}[rt(481)](){const t=rt;if(!this[t(488)]){const e=this[t(655)][t(485)][t(620)](t(635));this[t(488)]=e[t(614)](Q(this[t(655)][t(636)],t(350)))}}[rt(615)](){const t=rt;this[t(488)]&&(this[t(655)][t(485)][t(620)](t(635))[t(643)](this[t(488)]),this[t(488)]=null)}[rt(419)](t){const e=rt,i=this[e(657)][e(374)]();i[e(603)]();let s=0;for(;s<i[e(479)];){const n=i[s];if(n===this[e(634)]){s++;continue}if(n.id===this[e(495)])break;const r=t[e(545)]-n[e(545)]||t[e(421)]-n[e(421)];if(r>0)break;if(r<0)s++;else{if(!t[e(658)]&&n[e(658)])break;if(n[e(658)]||!t[e(658)]){if(t[e(435)]>n[e(435)])break;s++}else s++}}return s}[rt(418)](t){const e=rt,i=this[e(657)][e(374)]();i[e(603)](),i[e(513)]();const s=i[e(501)]((i=>i[e(545)]<=t))[e(545)];return s<this[e(430)]?this[e(430)]:s}[rt(509)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(402)]({from:e,to:i});o[r(586)]=t,o[r(521)]=s,o.id=n;const a=this[r(582)](o);return this[r(489)]&&this[r(549)](o.id,o,!0),a}[rt(554)](){const t=rt;this[t(655)][t(581)][t(587)](t(379))[t(383)]({model:t(616)})}}function ct(t,e){const i=ot();return(ct=function(t,e){return i[t-=346]})(t,e)}class ut{[rt(655)];[rt(451)];[rt(569)];[rt(625)];[rt(626)];[rt(503)];[rt(617)];[rt(372)];[rt(627)];[rt(660)];[rt(538)];[rt(459)];[rt(550)];[rt(642)];[rt(583)];[rt(564)];[rt(376)];constructor(t){const e=rt;this[e(655)]=t,this[e(569)]=new Map,this[e(625)]=-1,this[e(626)]=-1,this[e(503)]=new Map,this[e(617)]=new Map,this[e(372)]=new Map,this[e(627)]=new Map,this[e(660)]=new Map,this[e(538)]=new Map,this[e(459)]=new Map,this[e(550)]=new Map,this[e(642)]=new Map,this[e(583)]=new Map,this[e(564)]=1}[rt(388)](t){const e=rt;this[e(451)]=t;const i=new Map,s=new Map,n=this[e(655)][e(653)][e(533)][e(391)][e(360)]((t=>t[e(508)]));for(const t of n){const n=this[e(655)][e(653)][e(533)][e(590)](t),r=lt(n);i[e(428)](t,r),s[e(428)](t,Object[e(594)](n[e(530)]()))}const r=Array[e(502)](this[e(655)][e(653)][e(476)])[e(360)]((t=>[t[e(586)],t[e(424)]()])),o=this[e(451)][e(664)];this[e(608)](o,i,r,s),this[e(376)]=this[e(564)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(428)](t,i),c[e(428)](t,{})}this[e(608)](Number[e(365)],a,[],c)}[rt(598)](t,e){const i=rt;if(this[i(625)]===t&&this[i(626)]<=e)this[i(569)][i(553)]>1&&this[i(361)](this[i(626)]),this[i(380)](this[i(626)],e,!0);else{if(!this[i(569)][i(567)](t)){const e=this[i(665)](t);this[i(472)](e,t,!1)}this[i(472)](t,e,!0)}return this[i(625)]=t,this[i(626)]=e,this[i(544)]()}[rt(463)](t){const e=rt,i=this[e(655)][e(485)][e(620)](e(667));this[e(486)](),this[e(625)]=t[e(421)],this[e(626)]=t[e(545)];for(const s in t[e(646)]){const n=t[e(646)][s][e(535)],r=A(t[e(646)][s][e(416)])||{},o=i[e(381)](t[e(646)][s][e(606)]);o[e(508)]=s,o[e(491)]=!n||!n[e(462)],o[e(462)]=()=>o[e(491)],this[e(627)][e(428)](s,o),this[e(660)][e(428)](s,r),n&&this[e(583)][e(428)](s,n);const a=this[e(526)](o);this[e(459)][e(428)](s,a);for(const[t,i]of o[e(476)]){if(!t[e(408)](e(621)))continue;const s=t[e(619)](":")[2];for(const t of i[e(562)]({singleCharacters:!0})){const i=this[e(433)](t),n=e(470)==t[e(458)]?t[e(368)][e(669)][e(525)](0,-1):t[e(368)][e(669)],r=a[e(373)](n)[e(412)](i);this[e(550)][e(428)](r,{userId:s})}}}this[e(376)]=this[e(564)];const s=[...Array(this[e(564)])[e(499)]()][e(525)](1)[e(546)]((t=>!this[e(550)][e(567)](t)));let n=0;const r=new Map;for(const o in t[e(646)]){const a=t[e(646)][o][e(535)],c=A(t[e(646)][o][e(570)])||{},u=i[e(381)](t[e(646)][o][e(449)]);u[e(508)]=o,u[e(491)]=!a||a[e(462)],u[e(462)]=()=>u[e(491)],this[e(617)][e(428)](o,u),this[e(372)][e(428)](o,c);const l=this[e(526)](u,Number[e(365)]);this[e(538)][e(428)](o,l),r[e(428)](o,u[e(462)]()?c:{});for(const[t,i]of u[e(476)]){if(!t[e(408)](e(621)))continue;const s=t[e(619)](":")[2];for(const t of i[e(562)]({singleCharacters:!0})){const i=this[e(433)](t),n=this[e(564)]++,r=e(470)==t[e(458)]?t[e(368)][e(669)][e(525)](0,-1):t[e(368)][e(669)];l[e(373)](r)[e(654)](i,n),this[e(550)][e(428)](n,{userId:s})}}for(const t of this[e(655)][e(653)][e(561)](u)[e(562)]({singleCharacters:!0})){const i=this[e(433)](t),r=e(470)==t[e(458)]?t[e(368)][e(669)][e(525)](0,-1):t[e(368)][e(669)],o=l[e(373)](r);o[e(412)](i)>0||o[e(654)](i,s[n++])}for(const[t,i]of u[e(476)])t[e(408)](e(621))||this[e(503)][e(428)](t,i)}const o=ht(e(551));this[e(627)][e(428)](e(551),o),this[e(459)][e(428)](e(551),this[e(526)](o,1));const a=ht(e(551));this[e(617)][e(428)](e(551),a),this[e(538)][e(428)](e(551),this[e(526)](a,1));const c=Array[e(502)](this[e(617)])[e(360)]((([t,e])=>[t,lt(e)]));this[e(608)](this[e(626)],c,this[e(503)],r)}[rt(423)](){const t=rt;this[t(486)](),this[t(625)]=-1,this[t(626)]=-1,this[t(569)][t(483)](),this[t(388)](this[t(451)])}[rt(608)](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(428)](t,{start:e[n(439)][n(464)](),end:e[n(577)][n(464)](),rootName:e[n(534)][n(508)]});this[n(569)][n(428)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(361)](t){const e=rt;this[e(569)][e(382)](t)}[rt(486)](){const t=rt;this[t(550)][t(483)](),this[t(642)][t(483)](),this[t(583)][t(483)](),this[t(617)][t(483)](),this[t(372)][t(483)](),this[t(627)][t(483)](),this[t(660)][t(483)](),this[t(538)][t(483)](),this[t(459)][t(483)](),this[t(503)][t(483)](),this[t(564)]=1,this[t(376)]=this[t(564)]}[rt(526)](t,e=null){const i=rt;let s=null;t.is(i(536))||(s=new Z.Element(t[i(586)],{vid_start:null===e?this[i(564)]++:e++}));const n=[];for(const s of t[i(405)]())if(s.is(i(663))){n[i(492)](this[i(526)](s,e));const t=n[n[i(479)]-1];null!==e&&(e=t.is(i(663),i(367))?t[i(412)](i(384))+1:t[i(412)](i(532))+1)}else for(let t=0;t<s[i(434)];t++)n[i(492)](new Z.Element(i(367),{vid:null===e?this[i(564)]++:e++}));if(t.is(i(536))){const e=ht(t[i(508)]);return e[i(395)](0,n),e}return s[i(654)](i(532),null===e?this[i(564)]++:e++),s[i(395)](0,n),s}[rt(472)](t,e,i){const s=rt;this[s(486)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(569)][s(620)](t);this[s(627)]=new Map(n),this[s(660)]=new Map(A(o));for(const[t,e]of this[s(627)])if(s(551)!==t&&(this[s(617)][s(428)](t,lt(e)),this[s(372)]=new Map(A(o)),i)){const i=this[s(564)];this[s(538)][s(428)](t,this[s(526)](e)),this[s(459)][s(428)](t,this[s(526)](e,i))}this[s(376)]=this[s(564)],this[s(617)][s(428)](s(551),lt(this[s(627)][s(620)](s(551)))),i&&this[s(538)][s(428)](s(551),this[s(526)](this[s(627)][s(620)](s(551))));for(const[t,e]of r){const i=this[s(627)][s(620)](e[s(508)]),n=this[s(617)][s(620)](e[s(508)]),r=new Z.Range(this[s(443)](e[s(439)],i),this[s(443)](e[s(577)],i)),o=this[s(404)](r,n);i[s(476)][s(428)](t,r),this[s(503)][s(428)](t,o)}this[s(380)](t,e,i)}[rt(380)](t,e,i){const s=rt;for(const n of this[s(451)][s(548)](t,e))this[s(409)](n,i);for(const t of this[s(617)][s(353)]())t[s(476)][s(483)]();for(const[t,e]of this[s(503)])this[s(617)][s(620)](e[s(534)][s(508)])[s(476)][s(428)](t,e[s(464)]());const n=new Map,r=new Map;for(const[t,e]of this[s(617)])n[s(428)](t,lt(e)),r[s(428)](t,this[s(372)][s(620)](t));this[s(608)](e,n,this[s(503)],r)}[rt(665)](t){const e=rt,i=Array[e(502)](this[e(569)][e(499)]());i[e(352)](((t,e)=>t-e)),i[e(603)]();for(const e of i)if(e<t)return e;return Number[e(365)]}[rt(588)](t,e){const i=rt,s=Array[i(502)](e[i(476)])[i(360)]((([e,s])=>[e,this[i(404)](s,t)]));t[i(476)]=new Map(s)}[rt(347)](t){const e=rt;for(const i of this[e(503)][e(353)]()){const s=i[e(493)](t),n=Z.Range[e(505)](s);i[e(439)]=n[e(439)],i[e(577)]=n[e(577)]}}[rt(409)](t,e){const i=rt;if(i(618)!=t[i(458)]&&i(378)!=t[i(458)]){if(i(639)==t[i(458)]){const s=t[i(394)][i(534)][i(508)];this[i(617)][i(567)](s)||(this[i(617)][i(428)](s,ht(s,!0)),this[i(372)][i(428)](s,{}),e&&this[i(538)][i(428)](s,ht(s,!0)))}else{if(i(552)==t[i(458)]||i(565)==t[i(458)]||i(595)==t[i(458)])return void this[i(522)](t);i(543)==t[i(458)]&&this[i(385)](t)}if(i(543)!==t[i(458)]){const e=this[i(431)](t,this[i(617)]);e[i(512)](),this[i(347)](e)}if(e)switch(t[i(458)]){case i(639):this[i(574)](t);break;case i(648):case i(643):case i(370):this[i(593)](t);break;case i(349):this[i(455)](t);break;case i(619):this[i(632)](t)}}else this[i(399)](t,e)}[rt(431)](t,e){const i=rt,s=t[i(464)]();return s[i(647)]=t[i(647)],this[i(366)](s,e),s}[rt(437)](t){const e=rt;return t[e(360)]((t=>{const i=e,s=this[i(433)](t);return Number(t[i(426)][i(412)](s))}))}[rt(596)](t,e){const i=rt;if(t.is(i(663),i(367)))e[i(492)]({item:t,type:i(540)});else{t.is(i(663))&&e[i(492)]({item:t,type:i(591)});for(const s of t[i(405)]())this[i(596)](s,e);t.is(i(663))&&e[i(492)]({item:t,type:i(470)})}return e}[rt(544)](){const t=rt,e=new Map(this[t(550)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(627)][t(499)](),...this[t(617)][t(499)]()]);a[t(382)](t(551));for(const e of a){const i=this[t(617)][t(620)](e)||ht(e,!1),s=this[t(627)][t(620)](e)||ht(e,!1);i[t(462)]()||s[t(462)]()?(n[t(449)][e]=lt(i),n[t(606)][e]=lt(s),this[t(588)](n[t(606)][e],s),this[t(588)](n[t(449)][e],i),r[t(449)][e]=this[t(596)](this[t(538)][t(620)](e),[]),r[t(606)][e]=this[t(596)](this[t(459)][t(620)](e)||ht(e,!1),[])):a[t(382)](e)}for(const n of a){const o=r[t(449)][n];for(const n of o){const r=this[t(433)](n),o=n[t(426)][t(412)](r);i[t(382)](o),o>=this[t(376)]&&s[t(428)](o,e[t(620)](o))}}for(const n of a){const a=r[t(449)][n],c=this[t(437)](r[t(606)][n]);let u=0;for(const n of a){const r=this[t(433)](n),a=n[t(426)][t(412)](r);if(!s[t(567)](a)&&!o[t(567)](a))if(i[t(567)](a))u++;else{if(a!=c[u]){const s=e[t(620)](a)||e[t(620)](c[u]);for(;a!=c[u];)i[t(567)](c[u])||(o[t(428)](c[u],s),e[t(428)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(449)][e];for(const e of n){const n=this[t(433)](e),r=e[t(426)][t(412)](n);if(o[t(567)](r)){const e=o[t(620)](r);i[t(567)](r)||i[t(428)](r,{...e}),s[t(428)](r,{...e})}}}for(const e of i[t(499)]())e>=this[t(376)]&&i[t(382)](e);const c=new Map;for(const e of a){let n=r[t(449)][e];for(const e of n)if(e[t(426)].is(t(663),t(359))){const i=this[t(433)](e),n=e[t(426)][t(412)](i);if(s[t(567)](n)){const i=e[t(426)][t(652)][t(652)][t(412)](t(346)),r=c[t(620)](i)||new Set;r[t(614)](s[t(620)](n)[t(519)]),c[t(428)](i,r)}}n=r[t(606)][e];for(const e of n)if(e[t(426)].is(t(663),t(359))){const s=this[t(433)](e),n=e[t(426)][t(412)](s);if(i[t(567)](n)){const s=e[t(426)][t(652)][t(652)][t(412)](t(346)),r=c[t(620)](s)||new Set;r[t(614)](i[t(620)](n)[t(519)]),c[t(428)](s,r)}}for(const e of c[t(499)]())(s[t(567)](e)||i[t(567)](e))&&c[t(382)](e)}for(const e of a){const n=r[t(449)][e];let o=null,a=null;for(const e of n){const n=this[t(433)](e),r=e[t(426)][t(412)](n),u=c[t(620)](r);u&&t(591)==e[t(458)]&&(o=Array[t(502)](u)[0],a=e[t(426)][t(412)](t(532))),o&&(i[t(428)](r,{userId:o}),s[t(428)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(606)][e],a=n[t(449)][e];for(const{userId:e}of this[t(642)][t(353)]())null!==e&&l[t(614)](e);for(const{userId:e}of this[t(583)][t(353)]())null!==e&&l[t(614)](e);this[t(575)](a,r[t(449)][e],s,t(500),l),this[t(575)](o,r[t(606)][e],i,t(457),l),u[e]={insertions:this[t(585)](a),deletions:this[t(585)](o),attachChange:this[t(583)][t(620)](e)||null,attributesBefore:A(this[t(660)][t(620)](e))||{},attributesAfter:A(this[t(372)][t(620)](e))}}return{diffData:u,authorsIds:Array[t(502)](l)}}[rt(450)](t){const e=rt;for(const[,i]of t[e(476)]){const t=i[e(439)][e(633)]()[e(546)]((t=>e(359)==t[e(586)]));for(const i of t)1==i[e(478)]&&i[e(441)](0).is(e(663),e(624))&&i[e(441)](0)[e(654)](e(556),!0)}}[rt(585)](t){const e=rt;this[e(450)](t);const i=this[e(655)][e(456)][e(541)](t,{}),s=Array[e(502)](i[e(405)]())[e(360)]((t=>this[e(429)](t)));return JSON[e(520)](s)}[rt(429)](t){const e=rt;if(t.is(e(367)))return t[e(456)];{const i=this[e(655)][e(485)][e(620)](e(667)),s=t,n=this[e(655)][e(456)][e(507)][e(601)],r={type:i[e(599)](s),name:s[e(586)],attributes:Array[e(502)](s[e(530)]()),children:Array[e(502)](s[e(405)]())[e(360)]((t=>this[e(429)](t)))};if(t.is(e(630))&&e(506)!=t[e(586)]){const i=t[e(467)](n[e(517)],n);r[e(355)][e(492)](i[e(650)])}else if(t.is(e(387))){const i=n[e(517)][e(640)](s[e(586)]);t[e(467)](i,n),r[e(355)][e(492)](i[e(668)])}const o=Array[e(502)](s[e(411)]());o[e(479)]>0&&(r[e(568)]=o);const a=s[e(516)]();return null!==a&&(r[e(589)]=a),r}}[rt(575)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(655)][r(653)];for(let s=0;s<e[r(479)];s++){const n=this[r(433)](e[s]),c=e[s][r(426)][r(412)](n),h=i[r(620)](c),d=s==e[r(479)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(519)]!=o[r(519)])&&(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(519)],d=l(621)+s+":"+h+":"+c++,f=u[l(448)](i,a);t[l(476)][l(428)](d,f),null!==h&&n[l(614)](h)}}[rt(433)](t){const e=rt;switch(t[e(458)]){case e(591):return e(346);case e(470):return e(532);default:return e(384)}}[rt(366)](t,e){const i=rt;t[i(413)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(620)](n[i(534)][i(508)]);t[s]=this[i(443)](n,r)}if(n instanceof Z.Range){const r=e[i(620)](n[i(534)][i(508)]);t[s]=this[i(404)](n,r)}i(534)===s&&(t[i(534)]=e[i(620)](t[i(534)][i(508)]))}}[rt(404)](t,e){const i=rt;return this[i(655)][i(653)][i(448)](this[i(443)](t[i(439)],e),this[i(443)](t[i(577)],e))}[rt(443)](t,e){const i=rt;return this[i(655)][i(653)][i(524)](e,t[i(669)],t[i(444)])}[rt(574)](t){const e=rt,i=this[e(538)][e(620)](t[e(394)][e(534)][e(508)]),s=this[e(443)](t[e(394)],i),n=null===t[e(647)]?null:t[e(647)]||this[e(655)][e(485)][e(620)](e(557)).me.id,r=s[e(652)],o=this[e(564)],a=[];for(const i of t[e(662)])if(i.is(e(663)))a[e(492)](this[e(526)](i));else for(let t=0;t<i[e(434)];t++)a[e(492)](new Z.Element(e(367),{vid:this[e(564)]++}));const c=this[e(564)];for(let t=o;t<c;t++)this[e(550)][e(428)](t,{userId:n});r[e(395)](s[e(560)],a)}[rt(593)](t){const e=rt;(t=this[e(431)](t,this[e(538)]))[e(512)]();const i=null===t[e(647)]?null:t[e(647)]||this[e(655)][e(485)][e(620)](e(557)).me.id,s=t[e(375)](),n=s[e(652)],r=s[e(560)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(441)](e);r.is(a(663),a(367))?s[a(428)](r[a(412)](a(384)),{userId:i}):(s[a(428)](r[a(412)](a(346)),{userId:i}),t(s,r,0,r[a(478)]),s[a(428)](r[a(412)](a(532)),{userId:i}))}}(this[e(550)],n,r,r+t[e(469)])}[rt(455)](t){const e=rt,i=null===(t=this[e(431)](t,this[e(538)]))[e(647)]?null:t[e(647)]||this[e(655)][e(485)][e(620)](e(557)).me.id,s=t[e(468)][e(652)],n=t[e(427)][e(652)],r=s[e(412)](e(532)),o=n[e(412)](e(346));s[e(654)](e(532),n[e(412)](e(532))),n[e(654)](e(532),r),this[e(550)][e(428)](o,{userId:i}),this[e(550)][e(428)](r,{userId:i}),t[e(512)]()}[rt(632)](t){const e=rt,i=null===(t=this[e(431)](t,this[e(538)]))[e(647)]?null:t[e(647)]||this[e(655)][e(485)][e(620)](e(557)).me.id,s=t[e(432)],n=t[e(511)][e(652)];t[e(512)]();const r=n[e(412)](e(532)),o=t[e(348)][e(659)];if(s){const t=o[e(412)](e(532)),s=n[e(412)](e(532));n[e(654)](e(532),t),o[e(654)](e(532),s),this[e(550)][e(428)](n[e(412)](e(532)),{userId:i}),this[e(550)][e(428)](o[e(412)](e(346)),{userId:i})}else{const t=this[e(564)]++,s=this[e(564)]++;n[e(654)](e(532),t),o[e(654)](e(346),s),o[e(654)](e(532),r),this[e(550)][e(428)](t,{userId:i}),this[e(550)][e(428)](s,{userId:i})}}[rt(385)](t){const e=rt;if(!t[e(389)])return;const i=(t=this[e(431)](t,this[e(617)]))[e(612)]?t[e(612)][e(534)]:null,s=t[e(484)]?t[e(484)][e(534)]:null;i&&this[e(503)][e(382)](t[e(586)]),s&&this[e(503)][e(428)](t[e(586)],t[e(484)][e(464)]());const n=null===t[e(647)]?null:t[e(647)]||this[e(655)][e(485)][e(620)](e(557)).me.id,r=t[e(586)];if(!this[e(642)][e(567)](r))return void this[e(642)][e(428)](r,{range:t[e(612)],userId:n});const o=this[e(642)][e(620)](r),a=o[e(466)],c=t[e(484)];null==a&&null==c||a&&c&&a[e(397)](c)?this[e(642)][e(382)](t[e(586)]):o[e(519)]=n}[rt(399)](t,e){const i=rt;this[i(617)][i(567)](t[i(508)])?this[i(617)][i(620)](t[i(508)])[i(491)]=t[i(558)]:(this[i(617)][i(428)](t[i(508)],ht(t[i(508)],!0)),this[i(372)][i(428)](t[i(508)],{}),e&&this[i(538)][i(428)](t[i(508)],ht(t[i(508)],!0)));const s=null===t[i(647)]?null:t[i(647)]||this[i(655)][i(485)][i(620)](i(557)).me.id,n=this[i(583)][i(620)](t[i(508)]);n&&n[i(519)]===s?this[i(583)][i(382)](t[i(508)]):this[i(583)][i(428)](t[i(508)],{userId:s,isAttached:t[i(558)]})}[rt(522)](t){const e=rt,i=this[e(372)][e(620)](t[e(534)][e(508)]);null===t[e(446)]?delete i[t[e(442)]]:i[t[e(442)]]=t[e(446)]}}function lt(t){const e=rt,i=ht(t[e(508)],t[e(462)]());for(const s of t[e(405)]()){const t=s[e(572)](!0);i[e(555)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(508)]=t,s[i(491)]=e,s[i(462)]=()=>s[i(491)],s}function dt(t,e,i){const s=rt,n=s(470)==t[s(458)]?i[s(440)](t[s(426)],s(577)):i[s(371)](t[s(426)]);return i[s(524)](e,n[s(669)],n[s(444)])}function ft(t,e,i){const s=rt,n=s(591)==t[s(458)]?i[s(440)](t[s(426)],0):i[s(393)](t[s(426)]);return i[s(524)](e,n[s(669)],n[s(444)])}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=["errorText","set","extendTemplate","focusTracker","revisionNameInputValue","arrowleft","value","6wUPilF","arrowright","68VzKhtN","setTemplate","10012910VKmoXv","revisionNameInputView","ck-revision-history-save-revision-form","fieldView","element","61437lvbXtc","arrowdown","_createRevisionNameInput","4499wuYzEA","keystrokes","listenTo","form","input","arrowup","2001535oHYsoL","reset","revisionName","trim","2628Ezdcwh","stopPropagation","ck-responsive-form","label","930664lckVdX","220","145FxRKDF","add","locale","render","Name of the revision","3380FyiEEf","focus","1792458NyDBNv","28IcawFD","optional"];return(At=function(){return t})()}const Vt=Et;function Et(t,e){const i=At();return(Et=function(t,e){return i[t-=451]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(838436===-parseInt(e(451))/1*(-parseInt(e(456))/2)+parseInt(e(477))/3*(parseInt(e(470))/4)+-parseInt(e(486))/5*(parseInt(e(468))/6)+-parseInt(e(459))/7*(parseInt(e(494))/8)+parseInt(e(458))/9+parseInt(e(472))/10+-parseInt(e(480))/11*(parseInt(e(490))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(At);class Dt extends pt.View{[Vt(464)];[Vt(481)];[Vt(473)];constructor(e,i){const s=Vt;super(e),this[s(464)]=new t.FocusTracker,this[s(481)]=new t.KeystrokeHandler,this[s(462)](s(465),""),this[s(473)]=this[s(479)](i),this[s(471)]({tag:s(483),attributes:{class:["ck",s(474),s(492)],tabindex:"-1"},children:[this[s(473)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Vt(454)](){const t=Vt;super[t(454)](),(0,pt.submitHandler)({view:this}),this[t(464)][t(452)](this[t(473)][t(476)]),this[t(481)][t(482)](this[t(476)]);const e=e=>e[t(491)]();this[t(481)][t(462)](t(469),e),this[t(481)][t(462)](t(466),e),this[t(481)][t(462)](t(485),e),this[t(481)][t(462)](t(478),e)}[Vt(457)](){const t=Vt;this[t(473)][t(457)]()}get[Vt(488)](){const t=Vt;return this[t(473)][t(475)][t(476)][t(467)][t(489)]()}set[Vt(488)](t){const e=Vt;this[e(473)][e(475)][e(476)][e(467)]=t[e(489)]()}[Vt(487)](){const t=Vt;this[t(473)][t(475)][t(476)][t(467)]="",this[t(473)][t(461)]=null}[Vt(479)](t){const e=Vt,i=new pt.LabeledFieldView(this[e(453)],pt.createLabeledInputText),s=i[e(475)];s[e(463)]({attributes:{maxlength:e(495)}});let n=Q(this[e(453)],e(455));return!t&&(n+=" ("+Q(this[e(453)],e(460))+")"),i[e(493)]=n,s.on(e(484),(()=>{const t=e;this[t(465)]=s[t(476)][t(467)][t(489)]()})),i}}const Mt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=265]})(t,e)}function Ft(){const t=["Dialog","render","revisionSave","saveRevision","locale","addMany","isOfficialPlugin","10NOQplL","showRevisionViewerCallback","Accept","menu","config","RevisionTracker","1892SgdbjI","children","11544543hLCiNq","1106yrDDKc","_createSaveRevisionFormView","role","Revision history","menuBar:revisionHistory","submit","19416YTFNpd","1956xCrmnJ","view","buttonView","pluginName","Cancel","revisionName","ck-button-action","reset","231491dtWghE","delegate","execute","The revision name cannot be empty.","add","init","294XoLHfd","set","_registerMenuComponent","focus","RevisionHistoryUI","componentFactory","7hPkhml","show","_showDialog","panelView","352316Totyvp","plugins","70628lxanPo","get","isEnabled","63276kiTdOs","editing","_saveRevisionFormView","isOpen","hide","isReadOnly","revisionHistory","isReady","revisionNameInputView","966Sentff","items","isPremiumPlugin","Save current revision","editor","errorText","menuitem","revisionHistory.requireRevisionName","requires","Open revision history","bind","4610yuTQgl"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(921148===-parseInt(e(288))/1*(-parseInt(e(292))/2)+parseInt(e(282))/3*(-parseInt(e(294))/4)+-parseInt(e(317))/5*(-parseInt(e(268))/6)+parseInt(e(306))/7*(parseInt(e(267))/8)+parseInt(e(333))/9*(parseInt(e(325))/10)+parseInt(e(331))/11*(parseInt(e(297))/12)+parseInt(e(276))/13*(-parseInt(e(334))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Mt(271)](){return Mt(286)}static get[Mt(324)](){return!0}static get[Mt(308)](){return!0}static get[Mt(314)](){return[at]}[Mt(299)];[Mt(281)](){const t=Mt,e=this[t(310)],i=e[t(293)][t(295)](t(330));e.ui[t(287)][t(280)](t(303),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(291)][n(332)],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(316)](n(296)).to(i,n(304),i,n(296),e,n(302),((t,e,i)=>t&&e&&!i)),r[n(270)][n(283)]({icon:mt.IconHistory,label:Q(s,n(337)),tooltip:!0}),u[n(283)]({label:Q(s,n(309)),withText:!0,role:n(312)}),u[n(316)](n(296)).to(i,n(304),i,n(296),e,n(302),((t,e,i)=>t&&e&&!i)),u.on(n(278),(()=>this[n(290)]())),h[n(283)]({label:Q(s,n(315)),withText:!0,role:n(312)}),h[n(316)](n(296)).to(i,n(304),e,n(302),((t,e)=>t&&!e)),h.on(n(278),(()=>{const t=n;e[t(329)][t(295)](t(303))[t(326)](),r[t(300)]=!1,e[t(298)][t(269)][t(285)]()})),c[n(332)][n(280)](u),l[n(332)][n(280)](h),a[n(336)]=n(328),a[n(307)][n(323)]([c,l]),o[n(280)](a),r})),e.ui[t(287)][t(280)](t(265),(()=>this[t(284)]()))}[Mt(284)](){const t=Mt,e=this[t(310)],i=e[t(322)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(270)][t(283)]({icon:mt.IconHistory,label:Q(i,t(337))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(283)]({label:Q(i,t(309))}),o[t(277)](t(278)).to(s),o.on(t(278),(()=>{this[t(290)]()})),r[t(332)][t(280)](o),n[t(307)][t(280)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(283)]({label:Q(i,t(315))}),c[t(277)](t(278)).to(s),c.on(t(278),(()=>{const i=t;e[i(329)][i(295)](i(303))[i(326)]()})),a[t(332)][t(280)](c),n[t(307)][t(280)](a),s[t(291)][t(332)][t(280)](n),s}[Mt(290)](){const t=Mt,e=this[t(310)],i=e[t(322)],s=e[t(293)][t(295)](t(318)),n=e[t(293)][t(295)](t(330));function r(n){const r=t;e[r(329)][r(295)](r(313))&&""===n[r(273)]?n[r(305)][r(311)]=Q(i,r(279)):(e[r(293)][r(295)](at)[r(321)]({name:n[r(273)]}),s[r(301)]())}this[t(299)]||(this[t(335)](),this[t(299)].on(t(266),(()=>r(this[t(299)])))),this[t(299)][t(275)](),s[t(289)]({id:t(320),title:Q(i,t(309)),isModal:!0,content:this[t(299)],actionButtons:[{label:Q(e[t(322)],t(272)),withText:!0,onExecute:()=>s[t(301)]()},{label:Q(e[t(322)],t(327)),class:t(274),withText:!0,onCreate(i){const s=t;i[s(316)](s(296)).to(n,s(304),n,s(296),e,s(302),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(299)])}]})}[Mt(335)](){const t=Mt,e=this[t(310)],i=e[t(322)];this[t(299)]=new Dt(i,e[t(329)][t(295)](t(313))),this[t(299)][t(319)]()}}const Pt=zt;function jt(){const t=["element","name","isSuggestion","4qbYroj","31700lPYpVY","2932176RWWXcE","ck-revision-change__","type","Added by","set","focus","7091840gBHSsL","span","ck-revision-change","_model","ck-revision-change__label","changeId","9466eCrgJP","1004eGUjsQ","3961308aSJhim","bindTemplate","add","ck-annotation","182OsqjuE","Suggested by","setTemplate","div","author","360312GRrBmW","data","3907494thwywS","Removed by"];return(jt=function(){return t})()}function zt(t,e){const i=jt();return(zt=function(t,e){return i[t-=169]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(895654===parseInt(e(182))/1*(-parseInt(e(196))/2)+parseInt(e(184))/3+-parseInt(e(197))/4*(-parseInt(e(183))/5)+parseInt(e(198))/6+parseInt(e(170))/7*(-parseInt(e(175))/8)+-parseInt(e(177))/9+-parseInt(e(190))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Wt extends pt.View{[Pt(195)];[Pt(193)];constructor(t,e){const i=Pt;super(t),this[i(193)]=e,this[i(195)]=e.id;const s=this[i(199)],n=Q(t,e[i(176)][i(181)]?i(171):i(200)==e[i(186)]?i(187):i(178));this[i(188)](i(186),e[i(186)]),this[i(172)]({tag:i(173),attributes:{class:[i(169),i(192),s.to(i(186),(t=>i(185)+t))],tabindex:-1},children:[{tag:i(191),children:[{tag:i(191),attributes:{class:[i(194)]},children:[{text:n}]},{text:" "+e[i(174)][i(180)]}]}]})}[Pt(189)](){const t=Pt;this[t(179)][t(189)]()}}function Ut(){var t=["toJSON","60zdAwBK","15hMWTMH","687360AVJvpk","132341qzXCds","228924fJSEIP","rootName","createdAt","368574dVgULg","author","data","type","set","1597545rLvXzr","26377rRbkzV","2043205xtdozl","42KSLruy","12RrrCHb"];return(Ut=function(){return t})()}function Ht(t,e){var i=Ut();return(Ht=function(t,e){return i[t-=331]})(t,e)}var Zt=Ht;!function(t){for(var e=Ht,i=t();;)try{if(279065===parseInt(e(337))/1*(-parseInt(e(340))/2)+parseInt(e(343))/3*(parseInt(e(346))/4)+-parseInt(e(338))/5+-parseInt(e(331))/6*(-parseInt(e(339))/7)+parseInt(e(344))/8+parseInt(e(336))/9+parseInt(e(342))/10*(-parseInt(e(345))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class $t extends((0,t.ObservableMixin)()){id;[Zt(332)];[Zt(334)];[Zt(333)];[Zt(347)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(332)]=e[i(332)],this[i(334)]=e[i(334)],this[i(333)]=e[i(333)]||{},this[i(347)]=e[i(347)],this[i(335)](i(348),e[i(348)])}[Zt(341)](){var t=Zt;return{id:this.id,authorId:this[t(332)].id,type:this[t(334)],data:this[t(333)],createdAt:this[t(348)]}}}const Bt=Yt;function qt(){const t=["23jauage","2198247PsSqFc","657bOtVwB","changes","5tRyzOm","26494YahlQq","21992fYcvro","_setChanges","add","2530356mLWsin","247740dvVAlu","11lVwRPO","oldRevisionId","15318iAtTge","7ZSBUmb","newRevisionId","7662880rdvqTc"];return(qt=function(){return t})()}function Yt(t,e){const i=qt();return(Yt=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(387416===-parseInt(e(157))/1*(-parseInt(e(162))/2)+-parseInt(e(158))/3+-parseInt(e(167))/4*(-parseInt(e(161))/5)+-parseInt(e(153))/6*(parseInt(e(154))/7)+parseInt(e(163))/8*(parseInt(e(159))/9)+parseInt(e(156))/10+parseInt(e(168))/11*(-parseInt(e(166))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Jt{[Bt(155)];[Bt(152)];[Bt(160)];constructor(e,i){const s=Bt;this[s(155)]=e,this[s(152)]=i,this[s(160)]=new t.Collection}[Bt(164)](t){const e=Bt;for(const i of t)this[e(160)][e(165)](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=te;function Qt(){const t=["wrap","attributesBefore","editing","_activeViewTarget","left","bottom","unshift","getCustomProperty","name","_setConversion","splice","changeId","45519Wxplis","view","refresh","isAtEnd","filter","isAdded","getItems","isIncorrect","_findChangeIdFromDomTarget","first","_data","repository","toViewElement","domConverter","span","change:isEnabled","insertion","118IKqNeA","suggestion","oldRevisionId","806256VOOfBP","deletion","isBefore","revision-comment:","mapViewToDom","getAttribute","5306280zaPoYs","vid_start","_makeModelFromViewString","_setDistance","revision-suggestion","object","endIndex","496936eETAao","dataToMarker","target","affectsData","next","revision-viewer","ck-revision-history-root-","markerToHighlight","nodeAfter","observeMarkers","getWalker","createAttributeElement","ck-suggestion-marker--active","isCollapsed","POSITIVE_INFINITY","adapter","_markMarkers","isAtStart","getRevision","_setChanges","remove","markerName","ck-revision-history-root-add","_revisions","elementStart","parent","RevisionsRepository","config","writer","setAttribute","_utils","markerNameToElements","consume","_getDiff","change:isReady","showStack","type","markerRange","comment","updatePosition","restoreRevision","markersEnd","getRevisionRootsAttributes","concat","domEvent","isRemoveSuggestion","data-change-id","_removeUnsupportedChanges","includes","isLimit","execute","revisionHistoryAttachChange","-new","slice","rootName","markerToData","activeView","document","addRevision","isEqual","deletions","downcastDispatcher","length","addRoot","_markSuggestions","offsetSize","schema","isAfter","modelRange","detachRoot","change:activeView","change:numberOfChanges","index","currentChangeNumber","merge","viewItem","getDomRoot","element:pre","addMarker:revision","_fixObsoleteTags","side","enqueueChange","previousPosition","revision","insert","split","_threeWayMerge","top","_update","diff","ck-editor__editable__overlay","isEnabled","revisionHistoryLabel","code","createPositionFromPath","startIndex","values","_changeIdToChange","catch","toViewRange","mousedown","_appendChild","find","isRemoved","createRangeIn","_markInsertions","isNavigationMode","roots","text","add","removeMarker","restoreRevisionCallback","checkAttribute","createRevision","ck-suggestion-marker-split","nextPosition","_cleanUp","mouseover","ck-suggestion-preview-marker","item","get","elementToAttribute","test","newRevisionId","level","activeChange","_step","high","ck-revision-history-root-remove","selection","8eYGOIY","destroy","shift","range","pop","upcast","WidgetToolbarRepository","insertions","markers","change:activeChange","has","enableReadOnlyMode","47655ZlaeqM","_cleanMarkers","set","_changeView","ck-suggestion-marker","numberOfChanges","editingDowncast","ck-suggestion-marker-merge","toViewPosition","6uCxdwg","vid_end","then","return","_makeTape","_getChangeFromId","findIndex","_refreshStartEndIndex","removeAttribute","flat","forward","removeMarker:revision-suggestion","createRange","revision:","getLaterVisibleRevision","_makeModelFromTape","_sortAndFilterDiffChanges","createPositionBefore","unbindElementFromMarkerName","model","277083aPMFuH","isSuggestion","init","maxOffset","addMarker:revision-suggestion:deletion","requires","string","forEach","diffData","isOfficialPlugin","abs","pairId","addRevisionData","getRoot","distance","end","stop","elementEnd","hasClass","1314145ytzCLD","RevisionViewer","getChild","commands","low","ck-suggestion-preview-marker-","indexOf","showNextChange","locale","compare","isOnRoot","map","RevisionHistoryUtils","_joinTapes","consumable","error","getRevisionDocumentData","createUIElement","forceDisabled","startsWith","vid","dataDowncast","revision-suggestion:","plugins","isReady","markersStart","pluginName","highest","backward","_initInteractions","getIndex","change","showPreviousChange","isInline","_processTape","changes","bind","getAttributes","attribute:vid","reconvertMarker","isObject","250mKIPSw","nextSibling","attributesAfter","element","addClass","resolve","isAddSuggestion","listenTo","clear","start","_getRevisionsRange","attachChange","delete","from","addMarker:revision-suggestion:insertion","bindElementToMarker","isPremiumPlugin","data","_getViewForChange","ck-suggestion-marker-","attributes","uiElement","push","userId","hasAttribute","getRootNames","mapper","addHighlight","ck-revision-history-root--active","isAttached","isBlock","keys","editor","right","_balloon","removeMarker:revision","getClientRects","isContent","for","authors","_markMismatchedRemovedTags","all","removeClass","conversion","loadRevisionData","sort","suggestion:","done","softBreak","_removeMissingPairs","revisionHistory"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=315]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(723732===-parseInt(e(391))/1+-parseInt(e(560))/2*(-parseInt(e(543))/3)+-parseInt(e(563))/4+-parseInt(e(439))/5*(parseInt(e(400))/6)+-parseInt(e(569))/7+parseInt(e(379))/8*(-parseInt(e(420))/9)+-parseInt(e(480))/10*(-parseInt(e(576))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends U.Plugin{[Xt(554)];[Xt(591)]=null;[Xt(606)];[Xt(534)];[Xt(394)];[Xt(346)];[Xt(514)];static get[Xt(465)](){return Xt(440)}static get[Xt(429)](){return!0}static get[Xt(496)](){return!0}static get[Xt(425)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(554)]=this[e(512)][e(462)][e(369)](e(602)),this[e(606)]=this[e(512)][e(462)][e(369)](e(451)),this[e(393)](e(374),null),this[e(393)](e(632),null),this[e(534)]=null,this[e(393)](e(338),null),this[e(393)](e(463),!1),this[e(393)](e(340),!0),this.on(e(558),((t,i,s)=>{const n=e;this[n(374)]=null,this[n(632)]=null,this[n(512)][n(533)][n(544)][n(470)]((t=>{const e=n;for(const i of this[e(512)][e(533)][e(544)][e(633)][e(356)])s?t[e(522)](e(339),i):t[e(484)](e(339),i)}))})),this[e(475)](e(355)).to(this,e(374),(t=>null!==t)),this[e(475)](e(322)).to(this,e(463),this,e(338),this,e(374),((t,i,s)=>t&&s?i[e(474)][e(469)](s):0)),this[e(475)](e(396)).to(this,e(463),this,e(338),((t,i)=>t?i[e(474)][e(638)]:0)),this[e(394)]=null,this[e(346)]=new Map,this[e(514)]=this[e(512)][e(462)][e(369)](pt.ContextualBalloon)}[Xt(422)](){const t=Xt,e=this[t(512)],i=new ne(e,{direction:t(467)}),s=new ne(e,{direction:t(410)});e[t(442)][t(358)](t(471),i),e[t(442)][t(358)](t(446),s),e[t(442)][t(358)](t(616),new se(e)),this.on(t(320),(()=>{const e=t;i[e(545)](),s[e(545)]()})),this[t(540)](),this[t(468)](),e[t(390)](t(581)),e[t(462)][t(389)](t(385))&&e[t(462)][t(369)](t(385))[t(457)](t(581))}async[Xt(455)](t){const e=Xt;return await this[e(606)][e(524)](t,this[e(591)]),this[e(606)][e(455)](t)}async[Xt(618)](t){const e=Xt;return await this[e(606)][e(524)](t,this[e(591)]),this[e(606)][e(618)](t)}async[Xt(448)](t,e,i=!1){const s=Xt;if(!this[s(340)])return;const n=this[s(338)],r=this[s(554)],o=s(426)==typeof t?r[s(594)](t):t,a=s(426)==typeof e?r[s(594)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(338)]&&this[s(338)][s(372)]===c&&this[s(338)][s(562)]===u)return Promise[s(485)]();this[s(463)]=!1,this[s(632)]=null,this[s(374)]=null,this[s(338)]=new Jt(c,u);const l=this[s(490)](o,a,!0)[s(450)]((t=>this[s(606)][s(524)](t,this[s(591)])));return l[s(502)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(521)](l)[s(402)]((()=>{const t=s;if(!this[t(340)])return;this[t(365)]();const e=this[t(609)](c,u);for(const i of e[t(474)])this[t(346)][t(393)](i.id,i);this[t(512)][t(419)][t(330)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(512)][s(419)][s(633)][s(505)]())i[s(318)](t);for(const t of Object[s(511)](e[s(419)])){const n=i[s(639)](t);for(const r of Object[s(511)](e[s(500)][t]))i[s(605)](r,e[s(500)][t][r],n);i[s(333)](e[s(419)][t],n,0)}})),this[t(338)][t(595)](this[t(416)](e[t(474)])),this[t(463)]=!0}))[s(347)]((t=>{const e=s;console[e(454)](t),this[e(365)](),n&&(this[e(338)]=n),this[e(463)]=!0}))}[Xt(432)](t,e){const i=Xt,s=this[i(554)][i(362)](t);return s.on(i(337),((t,i,n)=>e(i,n,s))),this[i(554)][i(634)](s),s}[Xt(365)](){const t=Xt;this[t(374)]=null,this[t(392)](),this[t(394)]&&this[t(394)][t(380)](),this[t(394)]=null,this[t(346)][t(488)](),this[t(512)][t(419)][t(330)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(512)][i(419)][i(633)][i(505)]())e[i(318)](t)}))}[Xt(416)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(512)][e(419)][e(633)][e(505)]()){const n=this[e(512)][e(533)][e(544)][e(325)](t);if(!n)continue;const r=n[e(516)]()[e(368)](0);r&&(i[e(502)](t),s[e(393)](t,r))}return i[e(525)](((t,i)=>{const n=e,r=s[n(369)](t),o=s[n(369)](i);return r.y-o.y||r.x-o.x})),(t=t[e(547)]((t=>i[e(624)](t[e(630)]))))[e(525)](((t,s)=>i[e(445)](t[e(630)])-i[e(445)](s[e(630)]))),t}[Xt(404)](t){const e=Xt,i=Array[e(493)](t[e(387)])[e(547)]((([t,i])=>t[e(458)](e(413))&&!i[e(589)])),s=Array[e(493)](this[e(512)][e(419)][e(353)](t)[e(586)]({singleCharacters:!0}));if(0!=i[e(638)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(334)](":");if(n[e(435)][e(635)](t[e(364)])&&i[e(381)](),(t[e(331)][e(635)](n[e(489)])||t[e(331)][e(316)](n[e(489)]))&&(e(559)==r?t[e(548)]={userId:o}:e(564)==r&&(t[e(352)]={userId:o})),0==i[e(638)])break}return s}[Xt(407)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(638)];s++)e(357)===t[s][e(612)]?(t[s][e(368)][e(344)]=s,t[s][e(368)][e(575)]=s):(e(600)===t[s][e(612)]?t[s][e(368)][e(344)]=s:e(437)===t[s][e(612)]&&(t[s][e(368)][e(575)]=s),i[e(393)](t[s].id,s));for(const s of i[e(345)]())e(600)===t[s][e(612)]?t[s][e(368)][e(575)]=i[e(369)](t[s][e(431)]):e(437)===t[s][e(612)]&&(t[s][e(368)][e(344)]=i[e(369)](t[s][e(431)]))}[Xt(473)](t){const e=Xt;for(let i=0;i<t[e(638)];i++){if(e(600)===t[i][e(612)])t[i][e(368)][e(344)]=i;else if(e(437)===t[i][e(612)]){t[i][e(368)][e(575)]=i;const s=t[i][e(368)][e(344)];t[s][e(431)]=t[i].id,t[i][e(431)]=t[s].id}else t[i][e(368)][e(344)]=i,t[i][e(368)][e(575)]=i,t[i][e(431)]=null;t[i][e(464)]||(t[i][e(464)]=[],t[i][e(617)]=[])}}[Xt(354)](t,e){const i=Xt,s=t[i(547)]((t=>!t[i(548)]));for(let t=0;t<e[i(638)];t++)e[t][i(548)]&&(s[t][i(548)]=e[t][i(548)])}[Xt(609)](t,e=null){const i=Xt,s=this[i(554)][i(594)](t),n=e?this[i(554)][i(594)](e):null,r=this[i(490)](s,n),o=r[r[i(638)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(638)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(511)](e[i(428)]))if(e[i(428)][t][i(491)]){const s=e[i(428)][t][i(491)];s[i(509)]?(u[i(358)](t),l[i(389)](t)&&l[i(369)](t)[i(503)]==s[i(503)]?l[i(492)](t):l[i(393)](t,s)):l[i(389)](t)?(u[i(492)](t),l[i(492)](t)):(u[i(358)](t),l[i(393)](t,s))}else u[i(358)](t)}for(const t of u){const e=l[i(389)](t)&&!l[i(369)](t)[i(509)];let s=e?r[i(638)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(428)][t]){const s=e?o[i(428)][t][i(532)]:o[i(428)][t][i(482)];c[i(500)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(419)]={};for(const e of t[i(519)])a[i(393)](e.id,e);for(const e of u){const s=t[i(428)][e]?t[i(428)][e][i(386)]:"[]",n=t[i(428)][e]?t[i(428)][e][i(636)]:"[]";t[i(419)][e]={insertions:this[i(606)][i(571)](s),deletions:this[i(606)][i(571)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(493)](s[i(419)][t][i(386)][i(387)])[i(547)]((([t])=>!t[i(458)](i(413)))));let h=0;for(const o of r){const r=this[i(404)](o[i(419)][t][i(386)]);o==s?(e=r,n=e[i(638)],e[i(427)]((t=>{t.id=h++})),this[i(473)](e)):this[i(354)](e,r);const a=e[i(547)]((t=>!t[i(548)]))[i(450)]((t=>t.id));let c=0;const l=this[i(404)](o[i(419)][t][i(636)]);l[i(427)]((t=>{t[i(352)]?t.id=n++:t.id=a[c++]})),this[i(473)](l),this[i(572)](e,i(548)),this[i(572)](l,i(352)),o==s&&this[i(592)](e,u),e=this[i(452)](e,l),this[i(407)](e),this[i(572)](e,i(352))}e=e[i(547)]((t=>!(t[i(548)]&&t[i(352)])));const d=new Map(o[i(419)][t][i(636)][i(387)]),f=new Set(u[i(511)]());for(const t of d[i(511)]())f[i(492)](t);this[i(640)](e,f),this[i(328)](e),e=this[i(529)](e),e=this[i(520)](e),e=this[i(623)](e);const{root:m,changes:p}=this[i(415)](e,a,t);c[i(419)][t]=m;const v=l[i(369)](t);if(v){const e=a[i(369)](v[i(503)]),s=new $t({author:e,type:v[i(509)]?i(358):i(596),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(537)](s),c[i(500)][t][i(627)]=s.id}c[i(474)]=c[i(474)][i(619)](p)}return c}[Xt(592)](t,e){const i=Xt;for(let s=0;s<t[i(638)];s++)for(const[n,r]of e)!r[i(589)]&&r[i(489)][i(635)](t[s][i(331)])&&t[s][i(464)][i(502)](n),r[i(435)][i(635)](t[s][i(364)])&&t[s][i(617)][i(502)](n)}[Xt(452)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(638)]||r<e[i(638)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(502)](o);else if(a[i(352)]&&o[i(548)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(335)](t,n,e,r);s=s[i(619)](o),n=a,r=c}else a[i(352)]?(r++,s[i(502)](a)):(n++,s[i(502)](o))}return s}[Xt(640)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(638)];o++){for(let r=0;r<t[o][i(464)][i(638)];r++){const a=t[o][i(464)][r];if(!e[i(389)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(573)!=c||i(559)!=u&&i(564)!=u||(s[i(537)]({type:u,name:a,userId:l}),t[o][i(464)][i(541)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(617)][i(638)];r++){const a=t[o][i(617)][r];if(!e[i(389)](a))continue;const{group:c,type:u}=n(a);if(i(573)!=c||i(559)!=u&&i(564)!=u)continue;t[o][i(617)][i(541)](r,1),r--;const l=s[i(406)]((t=>t[i(539)]==a));l>-1&&s[i(541)](l,1)}}function n(t){const e=i,s=t[e(334)](":");return{group:s[0],type:s[1],subType:s[e(638)]>=5?s[2]:null,id:s[e(638)]<5?s[2]:s[3],authorId:s[e(638)]<5?s[3]:s[4],markerCount:6==s[e(638)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(638)];i++){if(t[e(548)]&&e(559)==s[i][e(612)])return t[e(486)]=s[i],void delete t[e(548)];if(!t[e(548)]&&!t[e(352)]&&e(564)==s[i][e(612)])return void(t[e(621)]=s[i])}}}[Xt(572)](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(393)](o.id,s);for(let s=0;s<t[i(638)];s++){if(i(352)==e&&t[s][i(548)]||i(548)==e&&t[s][i(352)])continue;if(i(357)==t[s][i(612)]){t[s][i(434)]=0;continue}const n=r[i(369)](t[s][i(431)]),o=r[i(369)](t[s].id);t[s][i(434)]=n-o}}[Xt(490)](t,e,i=!1){const s=Xt,n=[];let r=this[s(554)][s(469)](t),o=this[s(554)][s(469)](e);for(-1==o&&(o=this[s(554)][s(599)][s(638)],i=!1);r<o;)n[s(502)](this[s(554)][s(594)](r)),r++;return i&&n[s(502)](this[s(554)][s(594)](r)),n}[Xt(335)](t,e,i,s){const n=Xt,r=this[n(512)][n(419)][n(315)];let o=e;for(;t[o]&&t[o][n(548)];)o++;let a=s;for(;i[a]&&i[a][n(352)];)a++;u(t,e,o),u(i,s,a);const c=i[n(629)](s,a)[n(619)](t[n(629)](e,o));return c[n(525)](((t,e)=>t[n(329)]!=e[n(329)]?t[n(329)]-e[n(329)]:t[n(373)]!=e[n(373)]?t[n(373)]-e[n(373)]:t[n(434)]!=e[n(434)]?e[n(434)]-t[n(434)]:!!t[n(548)]!=!!e[n(548)]?-1==t[n(329)]||0==t[n(329)]?t[n(548)]?-1:1:t[n(548)]?1:-1:t[n(321)]-e[n(321)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(590)],c=!0;for(let n=e;n<i;n++)if(r[s(472)](t[n][s(368)])||(c=!1),t[n][s(368)][s(344)]<e&&(o=n),t[n][s(368)][s(575)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(329)]=n<=o?-1:n<a?0:1,t[n][s(321)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(434)]?t[i][s(373)]=u:(u++,t[i][s(373)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(329)]&&(t[n][s(373)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(434)]?t[e][s(373)]=u:(u--,t[e][s(373)]=u,u--)}}[Xt(328)](t){const e=Xt,i=new Map,s=this[e(512)][e(419)][e(315)];for(let n=1;n<t[e(638)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(357)==c[e(612)])continue;if(c[e(612)]!=u[e(612)])continue;if(!s[e(510)](u[e(368)])||s[e(625)](u[e(368)]))continue;if(!s[e(510)](c[e(368)])||s[e(625)](c[e(368)]))continue;if((t[n][e(548)]||t[n][e(486)])&&t[n-1][e(352)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(352)]||!t[n-1][e(548)]&&!t[n-1][e(486)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(373)]==o[e(373)],h=Math[e(430)](r[e(373)])<Math[e(430)](o[e(373)])&&0==o[e(434)];(l||h)&&(i[e(393)](o.id,r.id),t[e(541)](a,1),n--,r[e(548)]=!1)}for(let s=0;s<t[e(638)];s++)i[e(389)](t[s][e(431)])&&(t[s][e(431)]=i[e(369)](t[s][e(431)]))}[Xt(529)](t){const e=Xt,i=new Set(t[e(450)]((t=>t.id)));for(let s=0;s<t[e(638)];s++)i[e(389)](t[s][e(431)])||0==t[s][e(434)]||(t[s][e(550)]=!0);return t[e(547)]((t=>!t[e(550)]))}[Xt(520)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(638)];s++){if(i[e(389)](t[s].id)&&t[s][e(352)]&&(t[s][e(550)]=!0),t[s][e(550)])continue;if(0==t[s][e(434)])continue;if(e(600)!=t[s][e(612)])continue;if(null==t[s][e(431)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(431)];)e(600)==t[n][e(612)]?r++:e(437)==t[n][e(612)]&&r--,n++;if(0!=r)if(t[s][e(352)])t[s][e(550)]=!0;else for(;n!=s;)t[n][e(352)]&&0!=t[n][e(434)]&&(t[n][e(550)]=!0,i[e(358)](t[n][e(431)])),n--}return t[e(547)]((t=>!t[e(550)]))}[Xt(623)](t){const e=Xt,i=this[e(512)][e(419)][e(315)];for(let s=0;s<t[e(638)];s++){if(!(t[s][e(548)]||t[s][e(486)]||t[s][e(352)]||t[s][e(621)]))continue;if(0==t[s][e(434)])continue;const n=t[s][e(368)];i[e(510)](n)||i[e(625)](n)||(t[s][e(548)]&&delete t[s][e(548)],t[s][e(486)]&&delete t[s][e(486)],t[s][e(621)]&&delete t[s][e(621)],t[s][e(352)]&&(t[s][e(550)]=!0))}return t[e(547)]((t=>!t[e(550)]))}[Xt(415)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(512)][s(419)],c=a[s(315)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(638)];e++)if(s(600)===t[e][s(612)]){t[e][s(331)]=a[s(343)](n,f);const i=new Z.Element(t[e][s(368)][s(539)],t[e][s(368)][s(476)]());u[0][s(350)](i),f[s(502)](0),u[s(537)](i),t[e][s(364)]=a[s(343)](n,f)}else s(437)===t[e][s(612)]?(u[s(381)](),t[e][s(331)]=a[s(343)](n,f),f[s(383)](),f[f[s(638)]-1]++,t[e][s(364)]=a[s(343)](n,f)):(t[e][s(331)]=a[s(343)](n,f),d?d[s(553)]+=t[e][s(368)][s(497)]:d=new Z.Text(t[e][s(368)][s(497)],t[e][s(368)][s(476)]()),t[e+1]&&s(357)===t[e+1][s(612)]&&v(d,t[e+1][s(368)])||(u[0][s(350)](d),d=null),f[f[s(638)]-1]+=t[e][s(368)][s(641)],t[e][s(364)]=a[s(343)](n,f));for(let e=0;e<t[s(638)];e++){const i=t[e][s(331)],n=t[e][s(364)];for(const n of t[e][s(464)])o[s(393)](n,{start:i,end:null});m(s(621),e,i,n),m(s(486),e,i,n),m(s(352),e,i,n),m(s(548),e,i,n);for(const i of t[e][s(617)]){const t=o[s(369)](i);t?t[s(435)]=n:o[s(393)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(512)][s(419)][s(412)](e[s(489)],e[s(435)]);n[s(387)][s(393)](t,i)}return r[s(525)](((t,e)=>{const i=s,r=n[i(387)][i(369)](i(413)+t.id),o=n[i(387)][i(369)](i(413)+e.id);return r[i(489)][i(565)](o[i(489)])?-1:r[i(489)][i(316)](o[i(489)])?1:r[i(435)][i(565)](o[i(435)])?-1:r[i(435)][i(316)](o[i(435)])?1:i(358)===t[i(612)]?-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(503)]:null,d=i===t[o(638)]-1,f=h[e][0],m=c[o(479)](t[i][o(368)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(435)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(503)]!==u&&(l[e][o(435)]=n,f&&f[o(503)]===l[e][o(503)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(600)!==t[i][o(612)]||f&&f[o(503)]===u||h[e][o(537)]({userId:u,object:t[i][o(368)],change:l[e]}),o(437)===t[i][o(612)]&&f&&f[o(574)]===t[i][o(368)]&&(h[e][o(381)](),l[e]=f[o(470)])),l[e]&&d&&(l[e][o(435)]=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(368)],f=a[h(315)][h(510)](d)&&!a[h(315)][h(625)](d),m=t[h(584)]==o[h(601)]&&o[h(593)];if(f&&m)return;const p=a[h(412)](t,o),v=e[h(369)](u),g=new $t({author:v,type:h(548)==l||h(486)==l?h(358):h(596),data:{isSuggestion:h(486)==l||h(621)==l},createdAt:new Date,rootName:i});r[h(502)](g),n[h(387)][h(393)](h(413)+g.id,p)}function v(t,e){const i=s,n=t[i(476)](),r=e[i(476)]();for(const t of n){if(t[1]!==e[i(568)](t[0]))return!1;r[i(580)]()}return r[i(580)]()[i(527)]}}[Xt(540)](){const t=Xt;this[t(512)][t(523)][t(518)](t(384))[t(577)]({view:t(332)}),this[t(512)][t(523)][t(518)](t(397))[t(583)]({model:t(332),view:e=>{const i=t,s=e[i(597)][i(334)](":")[1],n=this[i(405)](s);if(!n)return null;const r=i(358)==n[i(612)]?i(559):i(564),o=[i(395),i(499)+r];return n[i(497)][i(421)]&&o[i(502)](i(499)+r+i(628)),this[i(374)]==n&&o[i(502)](i(588)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(512)][t(523)][t(518)](t(384))[t(358)]((e=>{const i=t;e.on(i(326),((t,e,s)=>{const n=i,r=e[n(324)][n(441)](0);if(!r||!r.is(n(483),n(342)))return;if(!s[n(453)][n(608)](r,{attributes:[n(570),n(401)]}))return;const o=e[n(317)][n(489)][n(584)];s[n(604)][n(605)](n(570),r[n(568)](n(570)),o),s[n(604)][n(605)](n(401),r[n(568)](n(401)),o)}),{priority:i(443)})})),this[t(512)][t(523)][t(518)](t(384))[t(358)]((e=>{const i=t;e.on(i(483),((t,e,s)=>{const n=i;if(!s[n(453)][n(608)](e[n(324)],{attributes:[n(570),n(401)]}))return;if(e[n(317)][n(589)])return;const r=e[n(317)][n(489)][n(584)];r[n(504)](n(570))||r[n(504)](n(459))||(s[n(604)][n(605)](n(570),e[n(324)][n(568)](n(570)),r),s[n(604)][n(605)](n(401),e[n(324)][n(568)](n(401)),r))}),{priority:i(443)})})),this[t(512)][t(523)][t(518)](t(384))[t(370)]({view:{name:t(557),attributes:{vid:!0}},model:{key:t(459),value:e=>e[t(568)](t(459))}}),this[t(512)][t(419)][t(315)].on(t(361),((e,[,i])=>{const s=t;[s(570),s(401),s(459)][s(624)](i)&&(e[s(403)]=!0,e[s(436)]())}),{priority:t(466)}),this[t(512)][t(523)][t(518)](t(460))[t(358)]((e=>{const i=t;e.on(i(477),((t,e,s)=>{const n=i;if(" "!=e[n(368)][n(497)]||e[n(368)][n(601)][n(423)]>1)return;if(!s[n(453)][n(608)](e[n(368)],t[n(539)]))return;const r=s[n(604)],o=s[n(506)][n(348)](e[n(382)]);r[n(531)](o,r[n(587)](n(557)))}))})),this[t(512)][t(523)][t(518)](t(460))[t(631)]({model:t(332)}),this[t(512)][t(533)][t(637)].on(t(327),function(e){const i=t,s=e[i(462)][i(369)](i(440));return(t,n,r)=>{const o=i,a=n[o(597)][o(334)](":")[1],c=s[o(405)](a);if(!c)return null;const u=o(358)==c[o(612)]?o(334):o(323);if(!r[o(453)][o(371)](n[o(613)],t[o(539)]))return;const l=n[o(613)][o(586)](),h=n[o(613)][o(489)],d=e[o(419)][o(315)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(368)];p=p||d[o(517)](e);const i=r[o(506)][o(555)](e);if(i&&i[o(538)](o(507)))return;o(437)==t[o(612)]&&d[o(510)](e)&&!d[o(625)](e)&&(e[o(481)]||h[o(546)]?f&&f[o(601)]==e||(f=e,g(t[o(331)]),v=!0):m=m||t[o(331)])}function g(t){const e=o,i=r[e(604)][e(456)](e(557),{class:e(499)+u}),a=r[e(506)][e(399)](t);c[e(497)][e(421)]&&r[e(604)][e(484)](e(499)+u+e(628),i),s[e(374)]==c&&r[e(604)][e(484)](e(588),i),r[e(604)][e(333)](a,i),r[e(506)][e(495)](i,n[e(597)])}p||v||!m||g(m)}}(this[t(512)]),{priority:t(376)}),this[t(512)][t(533)][t(637)].on(t(515),((e,i,s)=>{const n=t,r=s[n(506)][n(607)](i[n(597)]);if(r)for(const t of r)(t[n(438)](n(363))||t[n(438)](n(398)))&&(s[n(506)][n(418)](t,i[n(597)]),s[n(604)][n(596)](t))}),{priority:t(376)}),this[t(512)][t(533)][t(637)].on(t(327),((e,i,s)=>{const n=t,r=i[n(597)][n(334)](":")[1],o=this[n(405)](r);if(!o)return null;const a=n(358)==o[n(612)]?n(334):n(323);if(s[n(453)][n(371)](i[n(613)],e[n(539)]))for(const t of i[n(613)][n(549)]()){if(!t.is(n(483),n(528)))continue;const e=s[n(604)][n(456)](n(557),{class:n(499)+a}),r=s[n(506)][n(399)](this[n(512)][n(419)][n(417)](t));o[n(497)][n(421)]&&s[n(604)][n(484)](n(499)+a+n(628),e),this[n(374)]==o&&s[n(604)][n(484)](n(588),e),s[n(604)][n(333)](r,e),s[n(506)][n(495)](e,i[n(597)])}}),{priority:t(376)}),this[t(512)][t(419)][t(633)].on(t(470),(()=>{const e=t;this[e(512)][e(533)][e(544)][e(470)]((t=>{const i=e;for(const e of this[i(512)][i(419)][i(633)][i(505)]()){const s=this[i(512)][i(419)][i(633)][i(433)](e),n=this[i(512)][i(533)][i(544)][i(633)][i(433)](e);if(n){const e=s[i(568)](i(627));if(t[i(408)](i(622),n),t[i(522)](i(598),n),t[i(522)](i(377),n),t[i(522)](i(508),n),e){const s=this[i(405)](e);if(!s)return null;t[i(605)](i(622),e,n),t[i(484)](i(582)+s[i(612)],n),this[i(374)]==s&&t[i(484)](i(508),n)}}}}))})),this[t(512)][t(523)][t(518)](t(384))[t(577)]({view:t(614),model:e=>t(566)+e,converterPriority:t(466)}),this[t(512)][t(523)][t(518)](t(384))[t(577)]({view:t(561),model:e=>t(461)+e,converterPriority:t(466)}),this[t(512)][t(523)][t(518)](t(460))[t(631)]({model:t(573),view:e=>({name:t(526)+e,group:t(573)}),converterPriority:t(466)}),this[t(512)][t(523)][t(518)](t(397))[t(583)]({model:t(573),view:e=>{const i=t,s=e[i(597)][i(334)](":")[1];return i(559)!=s&&i(564)!=s?null:{classes:[i(367),i(444)+s]}}}),this[t(512)][t(533)][t(637)].on(t(424),ie(this[t(512)],t(323)),{priority:t(376)}),this[t(512)][t(533)][t(637)].on(t(494),ie(this[t(512)],t(334)),{priority:t(376)}),this[t(512)][t(533)][t(637)].on(t(411),((e,i,s)=>{const n=t,r=s[n(506)][n(607)](i[n(597)]);if(r)for(const t of r)t.is(n(501))&&(s[n(506)][n(418)](t,i[n(597)]),s[n(604)][n(596)](t))}),{priority:t(376)})}[Xt(405)](t){const e=Xt;return this[e(346)][e(369)](t)}[Xt(498)](t){const e=Xt;return this[e(394)]&&this[e(394)][e(380)](),this[e(394)]=new Wt(this[e(512)][e(447)],t),this[e(394)]}[Xt(468)](){const t=Xt;this[t(512)][t(419)][t(633)][t(378)][t(585)](t(332)),this.on(t(319),((e,i,s,n)=>{const r=t;n&&this[r(514)][r(596)](n),s&&(this[r(514)][r(358)]({view:s,stackId:r(341),position:{target:()=>{const t=r,e=this[t(512)][t(533)],i=this[t(405)](s[t(542)]);let n;if(i[t(497)][t(449)]){const s=e[t(544)][t(325)](i[t(630)]);n=Array[t(493)](s[t(516)]())}else{const i=this[t(512)][t(419)][t(387)][t(369)](t(413)+s[t(542)]);n=Array[t(493)](e[t(506)][t(607)](i[t(539)]))[t(450)]((i=>e[t(544)][t(556)][t(567)](i)))[t(450)]((e=>Array[t(493)](e[t(516)]())))[t(409)]()}return this[t(534)]&&n[t(351)]((e=>e[t(336)]-3<=this[t(534)].y&&e[t(536)]+3>=this[t(534)].y&&e[t(535)]-3<=this[t(534)].x&&e[t(513)]+3>=this[t(534)].x))||n[0]}}}),this[r(514)][r(611)](r(341)))})),this.on(t(388),((e,i,s,n)=>{const r=t;this[r(632)]=s?this[r(498)](s):null,this[r(512)][r(419)][r(470)]((()=>{const t=r,e=this[t(512)][t(533)];n&&(n[t(497)][t(449)]?e[t(544)][t(470)]((i=>{const s=t;i[s(522)](s(508),e[s(544)][s(633)][s(433)](n[s(630)]))})):e[t(478)](t(413)+n.id)),s&&(s[t(497)][t(449)]?e[t(544)][t(470)]((i=>{const n=t;i[n(484)](n(508),e[n(544)][n(633)][n(433)](s[n(630)]))})):e[t(478)](t(413)+s.id))}))})),this[t(487)](this[t(512)][t(533)][t(544)][t(633)],t(366),((e,i)=>{const s=t;if(this[s(374)])return;const n=this[s(551)](i[s(578)]),r=this[s(346)][s(369)](n);r?(this[s(534)]={x:i[s(620)].x,y:i[s(620)].y},this[s(632)]=this[s(498)](r)):(this[s(534)]=null,this[s(632)]=null)})),this[t(487)](this[t(512)][t(533)][t(544)][t(633)],t(349),((e,i)=>{const s=t,n=this[s(551)](i[s(578)]),r=this[s(346)][s(369)](n);r?(this[s(534)]={x:i[s(620)].x,y:i[s(620)].y},r===this[s(374)]?this[s(514)][s(615)]():this[s(374)]=r):(this[s(534)]=null,this[s(374)]=null)}))}[Xt(551)](t){const e=Xt;do{const i=t[e(568)](e(622));if(i)return i;t=t[e(601)]}while(t);return null}[Xt(392)](){const t=Xt;this[t(512)][t(419)][t(470)]((e=>{const i=t;for(const t of this[i(512)][i(419)][i(387)])e[i(359)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(453)][r(371)](s[r(613)],i[r(539)]))return;const o=s[r(613)][r(586)](),a=s[r(613)][r(489)],c=t[r(419)][r(315)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(368)];h=h||c[r(517)](e);const i=n[r(506)][r(555)](e);if(i&&i[r(538)](r(507)))return;r(437)==t[r(612)]&&c[r(510)](e)&&!c[r(625)](e)&&(e[r(481)]||a[r(546)]?u&&u[r(601)]==e||(u=e,f(t[r(331)]),d=!0):l=l||t[r(331)])}function f(t){const i=r,o=n[i(506)][i(399)](t),a=n[i(604)][i(456)](i(557),{class:i(444)+e});n[i(604)][i(333)](o,a),n[i(506)][i(495)](a,s[i(597)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(462)][e(369)](ee);this[e(579)]=!1,this[e(487)](i,e(610),(()=>this[e(545)]())),this[e(487)](i,e(558),(()=>this[e(545)]()))}[Xt(626)](){const t=Xt,e=this[t(512)],i=e[t(462)][t(369)](ee),s=i[t(463)]?i[t(338)][t(372)]:null;e[t(603)][t(369)](t(530))[t(360)](s)}[Xt(545)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(512)][t(462)][t(369)](ee),r=n&&s[t(414)](n[t(372)]);this[t(340)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(375)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(462)][i(369)](ee);this[i(579)]=!1,this[i(375)]=i(410)===e?1:-1,this[i(487)](s,i(610),(()=>this[i(545)]())),this[i(487)](s,i(558),(()=>this[i(545)]())),this[i(487)](s,i(388),(()=>this[i(545)]()))}[Xt(626)](){const e=Xt,i=this[e(512)],s=i[e(462)][e(369)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(374)]=n?s[e(338)][e(474)][e(369)](r+this[e(375)]):s[e(338)][e(474)][e(552)],s[e(374)][e(497)][e(449)])o=i[e(533)][e(544)][e(325)](s[e(374)][e(630)]);else{const t=i[e(419)][e(387)][e(369)](e(413)+s[e(374)].id);o=(0,H.getMarkerDomElement)(i[e(533)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(545)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(512)][t(462)][t(369)](ee);this[t(340)]=!!(r&&n&&s)&&(!e||(1===this[t(375)]?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-=340]})(t,e)}function ce(){const t=["14MTAevp","forward","isEnabled","ck-revision-history-ui__changes-navigation__wrapper","div","Total","Loading...","6783970vTTrnD","currentChangeNumber","fire","setTemplate","X_OF_Y_CHANGES","Show previous change","isForwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","Show next change","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__label","isBackwardNavigationEnabled","bindTemplate","isReady","ck-revision-history-ui__changes-navigation","221646HCMnUu","numberOfChanges","execute","span","4147704EpfcwA","53776ulgUKE","NUMBER_OF_CHANGES","No changes","ck-revision-history-ui__changes-navigation__navigation","961960TJHQiW","_statusText","21BMIIyI","set","bind","_isStatusLabelVisible","backward","19219338fbUmED","840488bWSTpR","isNavigationMode","ck-hidden"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(723447===-parseInt(e(353))/1+parseInt(e(364))/2*(parseInt(e(344))/3)+parseInt(e(349))/4+-parseInt(e(371))/5+parseInt(e(348))/6+-parseInt(e(355))/7*(parseInt(e(361))/8)+parseInt(e(360))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(341)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(356)](e(362),!1),this[e(356)](e(342),!1),this[e(356)](e(372),0),this[e(356)](e(345),0),this[e(356)](e(377),!1),this[e(356)](e(340),!1),this[e(357)](e(358)).to(this,e(342),this,e(345),((t,e)=>t&&e>0)),this[e(357)](e(354)).to(this,e(342),this,e(372),this,e(345),this,e(362),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(370));if(!n)return Q(t,o(351));const a=Q(t,o(350),n);return r?Q(t,o(375),[s+1,n]):a})),s[e(356)]({label:Q(t,e(376)),tooltip:!0,icon:mt.IconChevronUp}),n[e(356)]({label:Q(t,e(379)),tooltip:!0,icon:mt.IconChevronDown}),s[e(357)](e(366)).to(this,e(340)),n[e(357)](e(366)).to(this,e(377)),s.on(e(346),(()=>this[e(373)](e(346),e(359)))),n.on(e(346),(()=>this[e(373)](e(346),e(365)))),this[e(374)]({tag:e(368),attributes:{class:["ck",e(380),e(343)]},children:[{tag:e(347),attributes:{class:[e(367)]},children:[{tag:e(347),attributes:{class:[e(381),i.if(e(358),e(363),(t=>!t))]},children:[{text:i.to(e(362),(i=>i?Q(t,e(378))+": ":Q(t,e(369))+": "))}]},{text:i.to(e(354))}]},new pt.ToolbarSeparatorView,{tag:e(368),attributes:{class:[e(352)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=pe();return(fe=function(t,e){return i[t-=330]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(205792===parseInt(e(337))/1+-parseInt(e(343))/2*(parseInt(e(332))/3)+parseInt(e(338))/4+parseInt(e(348))/5*(-parseInt(e(347))/6)+-parseInt(e(354))/7+-parseInt(e(355))/8*(-parseInt(e(330))/9)+parseInt(e(352))/10*(-parseInt(e(335))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=de(351);function pe(){const t=["RevisionViewerLoadingOverlay","4565957tvXlPK","document","353297tQgILC","1290788gfuSVA","addClass","show","pluginName","editing","21834VTbEjG","view","change","isOfficialPlugin","60OeSZHS","10240PmYOXy","removeClass","editor","ck-editor__editable__loading-overlay","10xVkUWZ","isPremiumPlugin","225141amswym","624LfxXiF","42543vOpGdx","hide","102hJtYLz","roots"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[de(341)](){return de(334)}static get[de(346)](){return!0}static get[de(353)](){return!0}[de(340)](){const t=de,e=this[t(350)][t(342)][t(344)];e[t(345)]((i=>{const s=t;for(const t of e[s(336)][s(333)])i[s(339)](me,t)}))}[de(331)](){const t=de,e=this[t(350)][t(342)][t(344)];e[t(345)]((i=>{const s=t;for(const t of e[s(336)][s(333)])i[s(349)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=131]})(t,e)}function ke(){const t=["isNavigationMode","plugins","bind","listenTo","pluginName","Back to editing","get","3815751SoPIap","init","forward","show","exitToEditing","numberOfChanges","25ODxmrJ","Restore this revision","ck-revision-history-ui__back-to-editing","editor","closeRevisionViewerCallback","14623390kJvRhu","isForwardNavigationEnabled","execute","add","2968133MKYgeL","503549AJfRXk","componentFactory","isReady","revisionHistory","2420856gXPPDA","showNextChange","change:isReady","isEnabled","isPremiumPlugin","434072toszlp","restoreRevision","171pwpeeo","currentChangeNumber","hide","requires","isBackwardNavigationEnabled","RevisionViewerUI","config","changesNavigation","2tJyEld","232616KlDrbT","isOfficialPlugin","showPreviousChange","commands","set"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(663555===parseInt(e(137))/1*(parseInt(e(156))/2)+-parseInt(e(169))/3+parseInt(e(146))/4*(parseInt(e(175))/5)+parseInt(e(141))/6+-parseInt(e(136))/7+parseInt(e(157))/8*(-parseInt(e(148))/9)+parseInt(e(132))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(166)](){return ge(153)}static get[ge(158)](){return!0}static get[ge(145)](){return!0}static get[ge(151)](){return[ee,ve]}[ge(170)](){const t=ge,e=this[t(178)],i=e[t(163)][t(168)](ee),s=e[t(163)][t(168)](ve);e.ui[t(138)][t(135)](t(173),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(161)]({label:Q(i,s(167)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(177)}),this[s(165)](n,s(134),(()=>{const t=s;e[t(154)][t(168)](t(140))[t(131)]()})),n})),e.ui[t(138)][t(135)](t(147),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(161)]({label:Q(i,s(176)),withText:!0,tooltip:!0}),n[s(164)](s(144)).to(e[s(160)][s(168)](s(147))),this[s(165)](n,s(134),(()=>e[s(134)](s(147)))),n})),e.ui[t(138)][t(135)](t(155),(s=>{const n=t,r=new ue(s),o=e[n(160)][n(168)](n(159)),a=e[n(160)][n(168)](n(142));return r[n(164)](n(152)).to(o,n(144)),r[n(164)](n(133)).to(a,n(144)),r[n(164)](n(139),n(149),n(174),n(162)).to(i),this[n(165)](r,n(134),((t,i)=>{const s=n;e[s(134)](s(171)===i?s(142):s(159))})),r})),s[t(172)](),i.on(t(143),((e,i,n)=>{const r=t;n?s[r(150)]():s[r(172)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;function Ie(){const t=["84UKkVrq","_tooltipString","Revision name","clientWidth","render","3920RHoqYX","473tEfgBl","3193130bIjLZI","4327272QpzegY","ck-tooltip_multi-line","_updateTooltipText","_resizeObserver","destroy","value","listenTo","828WwcCZq","393090uLlohh","Enter the revision name","extendTemplate","input","scrollWidth","12kLDkvR","span","222659UHRKyw","ck-revision-history-sidebar__revision-name","985272znCrIw","bindTemplate","element","fieldView","1042713dJGspD","set","placeholder"];return(Ie=function(){return t})()}const Se=Oe;function Oe(t,e){const i=Ie();return(Oe=function(t,e){return i[t-=210]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(997084===parseInt(e(228))/1*(-parseInt(e(226))/2)+parseInt(e(234))/3+-parseInt(e(213))/4+-parseInt(e(212))/5+parseInt(e(230))/6*(parseInt(e(237))/7)+parseInt(e(210))/8*(parseInt(e(220))/9)+-parseInt(e(221))/10*(-parseInt(e(211))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Te extends pt.LabeledFieldView{[Se(216)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(231)];this[i(235)]({label:Q(t,i(239)),_tooltipString:""}),this[i(233)][i(236)]=Q(t,i(222)),this[i(223)]({tag:i(227),attributes:{class:[i(229)],"data-cke-tooltip-text":s.to(i(238)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(214)}})}[Se(241)](){const e=Se;super[e(241)](),this[e(216)]=new t.ResizeObserver(this[e(233)][e(232)],(()=>this[e(215)]())),this[e(219)](this[e(233)],e(224),(()=>this[e(215)]()))}[Se(217)](){const t=Se;super[t(217)](),this[t(216)]&&this[t(216)][t(217)]()}[Se(215)](){const t=Se,e=this[t(233)][t(232)];this[t(238)]=e[t(225)]>e[t(240)]&&e[t(218)]||""}}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(){const t=["setTemplate","name","21pLrdZa","ck-revision-history-sidebar__revision-author__name","0 0 11 10","1419648JmIZri","Revision creator","ck-revision-history-sidebar__revision-author_creator","821092LvAYGk","span","506941cswFju","push","2515390FCCMPF","27mJPBYo","ck-revision-history-sidebar__revision-author","Revision author","8097958ZjPMZh","810750GMJwyJ","2GcmBao","15LitsRD","set","1129416nrHpXr"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=111]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(379577===parseInt(e(128))/1*(parseInt(e(114))/2)+-parseInt(e(123))/3+-parseInt(e(126))/4*(-parseInt(e(115))/5)+parseInt(e(113))/6+-parseInt(e(120))/7*(parseInt(e(117))/8)+-parseInt(e(131))/9*(-parseInt(e(130))/10)+-parseInt(e(112))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ve extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(116)]({content:mt.IconUser,viewBox:s(122)});const r=["ck",s(132)];i&&r[s(129)](s(125));const o=[{tag:s(127),attributes:{class:["ck",s(121)],title:Q(t,s(i?124:111))},children:[n,e[s(119)]]}];this[s(118)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=De();return(Ee=function(t,e){return i[t-=486]})(t,e)}function De(){var t=["6bedMne","numeric","1231005TxMgnW","toLocaleDateString","2748692sbEMIN","7258424anHWox","453nEJUIj","858610MuagCn","toLocaleTimeString","2498868OdxEes","507696AtzaQI","8534DxBZsW","long"];return(De=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(475500===parseInt(e(487))/1+-parseInt(e(491))/2*(parseInt(e(486))/3)+-parseInt(e(497))/4+parseInt(e(495))/5*(parseInt(e(493))/6)+parseInt(e(490))/7+parseInt(e(498))/8+-parseInt(e(489))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(){const t=["class","_action","isReady","menu","panelPosition","bind","function","model","Compare against selected","297063PzEvgI","3817ZYXHaY","33092Zkmfbu","ck-revision-history-sidebar__revision__actions","ck-on","isEnabled","4296355FXMVuj","6TeBcGx","set","1239177YFPraJ","11810wRNXxH","listenTo","isActionsDropdownOpen","isOpen","locale","Name this revision","96BNxttK","button","256582gKBKXx","execute","name","change:isActionsDropdownOpen","children","140luxFfd","source","add","find","Show more items","Restore this revision","items","stopPropagation","menuitem","map","2wNjDAs","10601952lygQdA","action","listView","buttonView","first","extendTemplate","bindTemplate","isVisible"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(358621===parseInt(e(260))/1*(parseInt(e(224))/2)+-parseInt(e(251))/3+parseInt(e(244))/4*(parseInt(e(265))/5)+-parseInt(e(249))/6*(parseInt(e(248))/7)+-parseInt(e(258))/8*(parseInt(e(242))/9)+parseInt(e(252))/10*(parseInt(e(243))/11)+parseInt(e(225))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Pe=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=It(),je.insert=wt().bind(null,"head"),je.domAPI=kt(),je.insertStyleElement=Ot();gt()(Pe.A,je);Pe.A&&Pe.A.locals&&Pe.A.locals;const ze=Ue;!function(t){const e=Ue,i=t();for(;;)try{if(519675===-parseInt(e(300))/1+parseInt(e(327))/2+parseInt(e(313))/3*(parseInt(e(302))/4)+parseInt(e(273))/5*(-parseInt(e(319))/6)+-parseInt(e(330))/7*(parseInt(e(277))/8)+parseInt(e(275))/9+parseInt(e(312))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);class We extends((0,H.ConfirmMixin)(pt.View)){id;[ze(316)];[ze(274)];[ze(334)];[ze(308)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(288)],a=function(t,e){const i=r,s=Array[i(296)](e[i(333)])[i(304)]((t=>t!=e[i(278)]));return e[i(278)]&&s[i(314)](e[i(278)]),s[i(326)]((s=>new Ve(t,s,s==e[i(278)])))}(e,i);this.id=i.id,this[r(334)]=i,this[r(308)]=n,this[r(329)](r(286),r(291)).to(i),this[r(329)](r(299)).to(this,r(291),(t=>{return i=e[r(315)],(s=t)[(n=Ee)(496)](i,{month:n(492),day:n(494)})+", "+s[n(488)](i,{hour:n(494),minute:n(494)});var i,s,n})),this[r(320)](r(305),!1),this[r(320)](r(270),!1),this[r(320)](r(298),!1),this[r(320)](r(323),!1),this[r(320)](r(295),!1),this[r(316)]=new Te(e,pt.createLabeledInputText),this[r(316)][r(318)][r(311)]({attributes:{maxlength:r(292)}}),this[r(316)][r(318)][r(329)](r(322)).to(this,r(286),(t=>t||this[r(299)])),this[r(316)][r(329)](r(295)).to(this,r(305),this,r(295),((t,e)=>t&&e)),this[r(274)]=s&&s[r(279)]?function(e,i){const s=Le,n=e[s(231)],r=e[s(256)],o=(0,pt.createDropdown)(r);o[s(237)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(256)],n={"Compare against selected":Q(s,i(241)),"Name this revision":Q(s,i(257)),"Restore this revision":Q(s,i(219))};return e[i(223)]((t=>{const e=i,s=n[t[e(262)]];return s&&s!==t[e(262)]&&(t[e(262)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(259),model:new pt.ViewModel({label:t[n(262)],class:t[n(233)],withText:!0,role:n(222),_action:t[n(226)]})};i[n(240)][n(238)](n(247)).to(e,n(254),(i=>n(239)!=typeof t[n(247)]||!i||t[n(247)](e))),o[n(267)](i)}return o}(e,i);return e[s(238)](s(254)).to(o,s(255)),o[s(228)][s(250)]({label:Q(r,s(218)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(230)]({attributes:{class:[s(245),n.if(s(254),s(246))]},on:{click:n.to((t=>t[s(221)]()))}}),o.on(s(261),(t=>{const i=s;e[i(235)]&&i(239)==typeof t[i(266)][i(234)]&&t[i(266)][i(234)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(236)}),o[s(253)](e,s(263),((t,n,r)=>{const a=s;if(r)for(const t of o[a(227)][a(220)]){const s=t[a(264)][a(229)],n=i[a(217)]((t=>t[a(226)]===s[a(234)]))[a(232)];t[a(232)]=void 0===n||n(e)}})),o}(this,s):"",this[r(274)]&&this[r(274)][r(329)](r(295)).to(this),this[r(331)]({tag:r(285),attributes:{class:["ck",r(293),r(328),o.if(r(294),r(289))]},children:[{tag:r(285),attributes:{class:["ck",r(293),r(303),o.if(r(295),r(317),(t=>!t)),o.if(r(305),r(282)),o.if(r(270),r(332)),o.if(r(298),r(272))]},children:[this[r(316)],{tag:r(301),attributes:{class:["ck",r(321)]},children:[{text:o.to(r(299))}]},{tag:r(285),attributes:{class:["ck",r(297)]},children:[{tag:"ul",attributes:{class:["ck",r(307)]},children:a}]},this[r(274)]],on:{click:o.to((t=>{const e=r;t[e(306)][e(309)](e(271))||this[e(323)]&&this[e(295)]&&this[e(276)](e(287),{id:this.id})}))}}]})}[ze(281)](){const t=ze;super[t(281)]();const e=this[t(316)][t(318)][t(284)];this[t(290)](e,t(325),(()=>{const i=t;this[i(308)]&&!e[i(322)]||this[i(276)](i(310),{id:this.id,name:e[i(322)]}),e[i(322)]||(e[i(322)]=this[i(286)]?this[i(286)]:this[i(299)])}))}[ze(287)](){this[ze(305)]=!0}[ze(280)](){this[ze(305)]=!1}[ze(283)](){this[ze(270)]=!0}[ze(324)](){this[ze(270)]=!1}}function Ue(t,e){const i=He();return(Ue=function(t,e){return i[t-=270]})(t,e)}function He(){const t=["closest","setName","extendTemplate","17368660FqefXC","219gUdRPm","unshift","uiLanguage","revisionNameView","ck-disabled","fieldView","7314QVDLPJ","set","ck-revision-history-sidebar__revision__date","value","isReady","unhighlight","change","map","687168BZsMsz","ck-revision-history-sidebar__revision-wrapper","bind","2156749aDWBvo","setTemplate","ck-revision-history-sidebar__revision_highlighted","authors","_revision","isHighlighted",".ck-thread__remove-confirm","ck-revision-history-sidebar__actions_dropdown_open","3050nYpwog","revisionActionsView","2349117EPyiVx","fire","24QHBNvd","creator","length","deselect","render","ck-revision-history-sidebar__revision_selected","highlight","element","div","name","select","bindTemplate","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","listenTo","createdAt","220","ck-reset","isConfirm","isEnabled","from","ck-revision-history-sidebar__revision__controls-wrapper","isActionsDropdownOpen","_createdAtFormatted","854385rGjJcD","span","38384KsFBLI","ck-revision-history-sidebar__revision","filter","isSelected","srcElement","ck-revision-history-sidebar__revision-authors","_requireRevisionName"];return(He=function(){return t})()}class Ze extends Error{}class $e extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe 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 qs(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 qs(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 Di={};let Mi={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Pi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return 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=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Di={},Mi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=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${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class $i extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function 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 $i(t)}const qi={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=qi.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(`${qi[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 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(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,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 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 Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function Ps(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function 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 $s(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`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)]=$s(n)}return i}function qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function 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 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: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 Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?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=Dn(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[Dn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Zi.utcInstance]}const 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),$n=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),Bn=mn(wn,Tn,xn,Nn),qn=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||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values: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 Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(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]=$s(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...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 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 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(qi.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,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((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 Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Pr(t,e,i){return Fr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ps(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=js(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=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},$r={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Br={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["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=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 qr)_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 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:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("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,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=$r,g=ps(g,r,o)):u?(p=Jr,v=Br,g=gs(g)):(p=qr,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,$n],[Un,Bn],[Hn,qn],[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=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,$n],[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 $e(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?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ps(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(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,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=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 Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro,s=io[i(290)](t)[i(281)](e),n=io[i(302)](),r=n[i(301)]({days:1})[i(296)](i(287));let o,a;return s[i(305)](n,i(287))?(o=s[i(296)](i(287))[i(298)](),a=s[i(289)]()):s[i(305)](r,i(287))?(o=r[i(298)](),a=s[i(289)]()):s[i(305)](n,i(300))?(o=s[i(296)](i(300))[i(298)](),a=s[i(297)]||""):s[i(305)](n,i(284))?(o=s[i(296)](i(282))[i(298)](),a=s[i(294)]||""):(o=s[i(296)](i(284))[i(298)](),a=String(s[i(284)])),{startDate:o,localizedPeriodName:a}}function ro(t,e){const i=oo();return(ro=function(t,e){return i[t-=281]})(t,e)}function oo(){const t=["921132hAfSYe","hasSame","setLocale","month","759410EBSfpI","year","3359160ypWguz","109030whpDau","day","24mFXOgc","toRelativeCalendar","fromJSDate","2385009CcGDbf","145OwWAQE","17522nwBHEB","monthLong","16SZidkl","startOf","weekdayLong","toJSDate","1573iqpyHV","week","minus","local","6557190JwVFha"];return(oo=function(){return t})()}!function(t){const e=ro,i=t();for(;;)try{if(654262===parseInt(e(292))/1*(-parseInt(e(293))/2)+parseInt(e(291))/3+parseInt(e(288))/4*(parseInt(e(283))/5)+parseInt(e(303))/6+parseInt(e(285))/7+parseInt(e(295))/8*(parseInt(e(304))/9)+-parseInt(e(286))/10*(parseInt(e(299))/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=lo;function lo(t,e){const i=fo();return(lo=function(t,e){return i[t-=265]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(206466===-parseInt(e(294))/1*(parseInt(e(280))/2)+parseInt(e(265))/3+parseInt(e(284))/4+parseInt(e(272))/5*(-parseInt(e(268))/6)+-parseInt(e(266))/7+-parseInt(e(278))/8+parseInt(e(293))/9*(parseInt(e(289))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class ho extends pt.View{[uo(285)];[uo(292)];[uo(296)];[uo(290)];constructor(t,e,i,s){const n=uo;super(t);const r=no(e,this[n(277)][n(283)])[n(288)];this[n(285)]=e,this[n(292)]=this[n(269)](),this[n(296)]=i,this[n(290)]=s,this[n(292)][n(291)](n(286)).to(this),this[n(292)][n(291)](n(276)).to(this),this[n(287)]({tag:n(270),attributes:{class:["ck",n(273)]},children:[{tag:n(281),attributes:{class:["ck",n(274)]},children:[{text:r}]},{tag:n(270),attributes:{class:["ck",n(271)]},children:this[n(292)]}]})}[uo(267)](t){const e=uo,i=new We(this[e(277)],t,this[e(296)],this[e(290)]);this[e(292)][e(295)](i)}[uo(282)](t){const e=uo,i=this[e(292)][e(275)]((e=>e.id===t.id));this[e(292)][e(279)](i)}}function fo(){const t=["setName","locale","1440912VSESMU","remove","144FJIEvN","span","removeRevision","uiLanguage","1241256jHOBDz","startDate","select","setTemplate","localizedPeriodName","12940JLzAmF","_requireRevisionName","delegate","revisionViews","2106mNmwUU","942GptjJd","add","_revisionActions","1035402YMBITv","1900969FdWJoe","addRevision","1393638fIDeTF","createCollection","div","ck-revision-history-sidebar__time-period__revisions","5pgxEiz","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__label","find"];return(fo=function(){return t})()}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=yo();return(vo=function(t,e){return i[t-=194]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(777937===-parseInt(e(206))/1+-parseInt(e(204))/2+-parseInt(e(208))/3+-parseInt(e(210))/4*(parseInt(e(194))/5)+parseInt(e(203))/6+parseInt(e(207))/7+parseInt(e(196))/8*(parseInt(e(202))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yo);class go extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(199)]=mt.IconHistory,this[e(197)]({tag:e(198),attributes:{class:["ck",e(201),e(205)]},children:[i,{tag:e(209),attributes:{class:["ck",e(200)]},children:[Q(t,e(195))]}]})}}function yo(){const t=["ck-revision-history-sidebar__header","98856XlFaWj","7698138CQrFZr","4657902usCiiI","span","394768jCWtkl","40CmfYjH","Revision history","805352VwxuXF","setTemplate","div","content","ck-revision-history-sidebar__header__label","ck-reset_all","153AQkywr","4793508qOMDJa","782124hqVUtJ"];return(yo=function(){return t})()}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=356]})(t,e)}function Io(){const t=["11rScpFJ","13VRgAhW","some","868KuNkNS","locale","find","revisionSetName","map","timePeriodViews","getTime","select","1251297ZRSRlo","653228joaFqx","get","ck-disabled","_removeRevision","_revisionActions","div","24171IWoaqb","setName","highlightRevisions","ck-rounded-corners","add","ck-revision-history-sidebar__timeline","8806670xlEtfT","revisionViews","removeRevision","fire","552SDtvHN","17880468oEtOfL","5345trYFgx","render","uiLanguage","_revisions","revisionSelected","ck-reset","delegate","setTemplate","unhighlight","_requireRevisionName","deselect","isEnabled","bindTemplate","_getTimePeriodViewByStartDate","449925sCMXZc","createdAt","ck-revision-history-sidebar","_addRevision","remove","6lCeSuo","24GfHWBo","highlight","createCollection","set","flat","addRevision","selectRevision","startDate"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(737465===parseInt(e(361))/1+-parseInt(e(387))/2*(parseInt(e(366))/3)+-parseInt(e(378))/4*(-parseInt(e(405))/5)+parseInt(e(403))/6*(-parseInt(e(393))/7)+parseInt(e(367))/8*(parseInt(e(386))/9)+parseInt(e(399))/10*(-parseInt(e(375))/11)+parseInt(e(404))/12*(parseInt(e(376))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(383)];[wo(408)];[wo(391)];[wo(356)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(359)];this[n(383)]=this[n(369)](),this[n(383)][n(411)](n(385)).to(this),this[n(383)][n(411)](n(394)).to(this),this[n(408)]=e,this[n(391)]=i,this[n(356)]=s,this.on(n(385),((t,e)=>{const i=n;this[i(402)](i(409),e)})),this.on(n(394),((t,e)=>{const i=n;this[i(402)](i(381),e)})),this[n(370)](n(358),!1),this[n(412)]({tag:n(392),attributes:{class:["ck",n(410),n(396),n(363)]},children:[new go(t),{tag:n(392),attributes:{class:["ck",n(398),r.if(n(358),n(389),(t=>!t))]},children:this[n(383)]}]})}[wo(406)](){const t=wo;super[t(406)]();for(const e of this[t(408)])this[t(364)](e);this[t(408)].on(t(397),((e,i)=>{this[t(364)](i)})),this[t(408)].on(t(365),((e,i)=>{this[t(390)](i)}))}get[wo(400)](){const t=wo;return this[t(383)][t(382)]((e=>e[t(400)][t(382)]((t=>t))))[t(371)]()}[wo(373)](t){const e=wo;for(const i of this[e(400)])t&&t.id===i.id?i[e(385)]():i[e(357)]()}[wo(395)](t){const e=wo;for(const i of this[e(400)])t[e(377)]((({id:t})=>t===i.id))?i[e(368)]():i[e(413)]()}[wo(364)](t){const e=wo,i=no(t[e(362)],this[e(379)][e(407)])[e(374)];let s=this[e(383)][e(388)](0);s&&s[e(374)][e(384)]()===i[e(384)]()||(s=new ho(this[e(379)],i,this[e(391)],this[e(356)]),this[e(383)][e(397)](s)),s[e(372)](t)}[wo(390)](t){const e=wo,i=no(t[e(362)],this[e(379)][e(407)])[e(374)];this[e(360)](i)[e(401)](t)}[wo(360)](t){const e=wo;return this[e(383)][e(380)]((i=>i[e(374)][e(384)]()===t[e(384)]()))}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=428]})(t,e)}function xo(){const t=["repository","getLaterVisibleRevision","revisionSetName","appendChild","1svqVpI","RevisionsSidebar","locale","destroy","_createRevisionActions","_handleRevisionSetName","timePeriodViews","selectRevision","isPremiumPlugin","Name this revision","diff","920LWGiBt","data","bind","3147686nRNqHX","availableRevisionActions","string","plugins","newRevisionId","action","getRevision","getRevisionsInDiff","ready","getIndex","9LwQsHP","2335914SurQzJ","pluginName","fieldView","length","7280694cBZUCY","restoreRevision","requires","render","name","add","revisionHistory","listenTo","Restore this revision","revisionHistory.revisionActions","nameRevision","_sidebarView","init","revisionSelected","change:diff","251176sCMyEC","select","assign","190135sJKzWS","getEarlierVisibleRevision","Compare against selected","16JvMhqr","compareAgainstSelected","compare","isReady","get","restoreRevisionCallback","_handleRevisionSelected","_revisionsRepository","revisionHistory.viewerSidebarContainer","_revisionViewer","isVisible","config","defaultRevisionActions","revisionViews","map","isEnabled","5426099PpUBEs","element","4531295ixPdeA","setName","remove","isSelected","_handleDiffChange","isOfficialPlugin","_handleEditorDataReady","highlightRevisions","revisionHistory.requireRevisionName","editor","focus","_revisions"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(858631===-parseInt(e(487))/1*(-parseInt(e(501))/2)+-parseInt(e(511))/3*(parseInt(e(447))/4)+parseInt(e(471))/5+-parseInt(e(432))/6+parseInt(e(469))/7*(-parseInt(e(453))/8)+-parseInt(e(428))/9+-parseInt(e(498))/10*(-parseInt(e(450))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(462)];[Oo(460)];[Oo(443)];static[Oo(465)]=[Oo(454),Oo(433),Oo(442)];static[Oo(502)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(452),action:({plugins:e},i)=>{const s=t,n=e[s(457)](ee),r=n[s(483)];let o=n[s(497)][s(505)],a=i.id;r[s(510)](o)>r[s(510)](a)&&([o,a]=[a,o]),n[s(455)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(457)](ee);return!(n[s(483)][s(508)](n[s(497)])[s(431)]>2||i[s(474)])}},restoreRevision:{name:t(440),action:(e,{id:i})=>{const s=t;e[s(464)][s(457)](s(438))[s(458)](i)},isVisible:({plugins:e},i)=>!!e[t(457)](ee)[t(483)][t(484)](i.id)},nameRevision:{name:t(496),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(457)](ee),o=r[n(483)][n(451)](i);r[n(455)](i,o),s[n(481)](),s[n(430)][n(448)]()}}}}();static get[Oo(429)](){return Oo(488)}static get[Oo(476)](){return!0}static get[Oo(495)](){return!0}static get[Oo(434)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(462)]=t[e(504)][e(457)](ee),this[e(460)]=this[e(462)][e(483)],this[e(443)]=null}[Oo(444)](){const t=Oo,e=this[t(460)][t(482)],i=this[t(491)](),s=this[t(480)][t(464)][t(457)](t(461));this[t(443)]=new So(this[t(480)][t(489)],e,i,this[t(480)][t(464)][t(457)](t(479))),this[t(443)].on(t(445),this[t(459)][t(500)](this)),this[t(443)].on(t(485),this[t(492)][t(500)](this)),this[t(443)][t(500)](t(468)).to(this[t(462)]),this[t(443)][t(493)].on(t(437),((e,i)=>{const s=t;i[s(466)].on(s(437),((t,e)=>{const i=s;e[i(500)](i(468),i(456)).to(this[i(462)])}))})),this[t(443)][t(435)](),this[t(439)](this[t(480)][t(499)],t(509),this[t(477)][t(500)](this)),this[t(439)](this[t(462)],t(446),this[t(475)][t(500)](this)),s[t(486)](this[t(443)][t(470)])}[Oo(490)](){const t=Oo;this[t(443)][t(470)][t(473)](),this[t(443)][t(490)]()}[Oo(477)](){const t=Oo,e=this[t(460)][t(507)](0);if(e){const i=this[t(460)][t(451)](e.id);this[t(462)][t(455)](e,i)}}[Oo(459)](t,e){const i=Oo,s=this[i(460)][i(507)](e.id),n=this[i(460)][i(451)](s.id);this[i(462)][i(455)](s,n)}[Oo(492)](t,e){const i=Oo;this[i(460)][i(507)](e.id)[i(472)](e[i(436)])}[Oo(475)](t,e,i){const s=Oo,n=this[s(460)][s(508)](i);n[s(431)]>2?(this[s(443)][s(478)](n),this[s(443)][s(494)](null)):(this[s(443)][s(478)]([]),this[s(443)][s(494)](n[0]))}[Oo(491)](){const t=Oo,e=this[t(480)],i=No[t(502)],s=e[t(464)][t(457)](t(441))||No[t(465)];if(s[t(431)])return s[t(467)]((s=>{const n=t,r=n(503)==typeof s?Object[n(449)]({},i[s]):s;return r[n(506)]=r[n(506)][n(500)](this,e),r[n(463)]&&(r[n(463)]=r[n(463)][n(500)](this,e)),r}))}}const Ro=No,Ao=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=262]})(t,e)}function Eo(){const t=["viewportTopOffset","render","stickyPanel","name","bind","restore","8909140MDcJZy","get","componentFactory","ready","4086kRUsyT","2504vZysaT","1664352UjlGRB","6611626VVlkrM","4293875WrrfaH","editor","toolbar","352AAHoeL","limiterElement","replace","attachDomRoot","fire","document","config","addToolbar","rootName","focusTracker","editing","element","4296IUYaLo","setEditableElement","2885330LEiWwL","_elementReplacer","init","_toolbarConfig","6rmJfGB","isFocused","_view","destroy","viewportOffset","view","detachDomRoot","fillFromConfig","isActive","_initToolbar","editable","getRoot"];return(Eo=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(865948===parseInt(e(308))/1+-parseInt(e(280))/2+parseInt(e(278))/3*(-parseInt(e(266))/4)+parseInt(e(263))/5*(parseInt(e(284))/6)+parseInt(e(262))/7+parseInt(e(307))/8*(-parseInt(e(306))/9)+-parseInt(e(302))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends pt.EditorUI{[Ao(286)];[Ao(283)];[Ao(281)];get[Ao(289)](){return this[Ao(286)]}constructor(e,i){const s=Ao;super(e),this[s(286)]=i,this[s(283)]=(0,pt.normalizeToolbarConfig)(e[s(272)][s(303)](s(265))),this[s(281)]=new t.ElementReplacer}get[Ao(277)](){const t=Ao;return this[t(289)][t(277)]}[Ao(282)](t){const e=Ao,i=this[e(264)],s=this[e(289)],n=i[e(276)][e(289)],r=s[e(294)],o=n[e(271)][e(295)]();r[e(299)]=o[e(274)],s[e(297)]();const a=r[e(277)];this[e(279)](r[e(299)],a),s[e(294)][e(300)](e(285)).to(this[e(275)]),n[e(269)](a),this[e(281)][e(268)](t,this[e(277)]),this[e(293)](),this[e(270)](e(305))}[Ao(287)](){const t=Ao;super[t(287)]();const e=this[t(289)],i=this[t(264)][t(276)][t(289)];this[t(281)][t(301)](),i[t(290)](e[t(294)][t(299)]),e[t(287)]()}[Ao(293)](){const t=Ao,e=this[t(289)];e[t(298)][t(300)](t(292)).to(this[t(275)],t(285)),e[t(298)][t(267)]=e[t(277)],e[t(298)][t(300)](t(296)).to(this,t(288),(({top:t})=>t)),e[t(265)][t(291)](this[t(283)],this[t(304)]),this[t(273)](e[t(265)])}}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=jo();return(Lo=function(t,e){return i[t-=474]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(414993===parseInt(e(490))/1+parseInt(e(492))/2+-parseInt(e(480))/3+-parseInt(e(483))/4*(-parseInt(e(474))/5)+parseInt(e(475))/6*(parseInt(e(476))/7)+parseInt(e(477))/8+-parseInt(e(486))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(488)];[Fo(482)];[Fo(491)];get[Fo(489)](){return this[Fo(488)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(482)]=new pt.StickyPanelView(t),this[s(491)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(484)]}),this[s(488)]=new pt.InlineEditableUIView(t,e)}[Fo(485)](){var t=Fo;super[t(485)](),this[t(482)][t(487)][t(478)](this[t(491)]),this[t(481)][t(478)](this[t(482)]),this[t(479)][t(478)](this[t(489)])}}function jo(){var t=["237352sEYEKi","shouldToolbarGroupWhenFull","render","18789831BRQbSv","content","_editable","editable","693398wuJBaJ","toolbar","1277790DmbvEL","60FqeyYB","12fVsImI","2329600nhNctX","4942176ogQGsM","add","main","2474907TJWGSJ","top","stickyPanel"];return(jo=function(){return t})()}const zo=Uo;function Wo(){const t=["initialData","document","locale","3628122mfhkCF","createRoot","get","sourceElement","config","initPlugins","16TcTPeS","create","1189389mhdFUb","editing","data","destroy","10ikBdbU","_ui","1332844Cajxyc","6mwOXjx","init","model","75439EPaLoD","11441502wVlZYA","1510922uRacfI","ready","updateSourceElement","1577870kPTMkN","fire","view"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=359]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(493140===parseInt(e(386))/1*(-parseInt(e(383))/2)+-parseInt(e(376))/3+parseInt(e(382))/4+-parseInt(e(362))/5+-parseInt(e(368))/6+-parseInt(e(359))/7*(-parseInt(e(374))/8)+-parseInt(e(387))/9*(-parseInt(e(380))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(381)];get ui(){return this[zo(381)]}constructor(t,e){const i=zo;super(e),this[i(371)]=t,this[i(385)][i(366)][i(369)]();const s=new Po(this[i(367)],this[i(377)][i(364)],{shouldToolbarGroupWhenFull:!0});this[i(381)]=new Do(this,s)}[zo(379)](){const t=zo;return this[t(361)](),this.ui[t(379)](),super[t(379)]()}static async[zo(375)](t,e){const i=zo,s=new this(t,e);return await s[i(373)](),await s.ui[i(384)](t),await s[i(378)][i(384)](s[i(372)][i(370)](i(365))||""),s[i(363)](i(360)),s}}const Zo=Bo;function $o(){const t=["saveRevision","revisionHistory.editorContainer","block","toVersion","revisionHistory.requireRevisionName","pluginName","closeRevisionViewerCallback","RevisionViewer","DocumentOutline","update","isPremiumPlugin","create","Annotations","42639xHbvEI","changesNavigation","selection","restrictedEditingException","numeric","element","addUser","includes","long","uiLanguage","get","_enhanceCloseRevisionViewerCallback","Users","bind","_cleanUp","DocumentOutlineUI","_update","revisionHistory.restoreRevisionCallback","RevisionHistoryUI","data","isReady","removeSelectionAttribute","model","commands","RevisionHistoryUtils","restoreRevision","map","isReadOnly","createdAt","indexOf","has","parse","destroy","init","enableReadOnlyMode","insert","addRoot","Restored","name","detachRoot","removeMarker","catch","createRangeIn","push","3446947OGSxXn","1213128EgUogm","fromVersion","_enhanceShowRevisionViewerCallback","error","RevisionHistory","addRevisionData","lazyRoots","revisionHistory.viewerContainer","fromCharCode","1356210zuelrc","_getRevisionViewerEditorConfig","end","document","12ySSSvV","define","set","setAttribute","revisionHistory.closeRevisionViewerCallback","enqueueChange","toolbar","removeAttribute","toJSON","repository","7124370KiTXZu","revisionHistory.showRevisionViewerCallback","plugins","hide","RevisionViewerIntegration","toLocaleDateString","none","from","Autosave","creator","setSelection","display","exitToEditing","$graveyard","users","remove","editor","_closeRevisionViewer","save","RevisionsRepository","getUser","isOpen","8dgblgm","50YztCJs","getMarkersGroup","view","9229455HCbaNY","join","adapter","_viewerEditor","roots","_showRevisionViewer","disableReadOnlyMode","showRevisionViewerCallback","result","_restoreRevision","rootName","then","config","refreshVisibility","RestrictedEditingMode","toLocaleTimeString","markers","RevisionTracker","isAnonymous","isOfficialPlugin","locale","change","getRevisionRootsAttributes","translations","PaginationLookup","getRevision","style","refreshPositioning","loadRevisionData","46LUiSrA","revisionHistory","getRevisionDocumentData","getAttributeKeys","revisionHistory.viewerEditorElement","isEnabled","isRevisionViewerOpen","getRoot","revision-history-missing-configuration","_recalculatePageBreaks","requires","isAttached","keys","getRevisions","Dialog","revision-history-viewer-opened","6662340UIiBPh"];return($o=function(){return t})()}function Bo(t,e){const i=$o();return(Bo=function(t,e){return i[t-=484]})(t,e)}!function(t){const e=Bo,i=t();for(;;)try{if(868585===-parseInt(e(529))/1+parseInt(e(607))/2*(-parseInt(e(484))/3)+parseInt(e(542))/4*(parseInt(e(538))/5)+-parseInt(e(623))/6+-parseInt(e(528))/7*(-parseInt(e(574))/8)+-parseInt(e(578))/9+parseInt(e(575))/10*(parseInt(e(552))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const qo=[Zo(502),Zo(592)];class Yo extends U.Plugin{[Zo(586)];static get[Zo(629)](){return Zo(556)}static get[Zo(597)](){return!0}static get[Zo(634)](){return!0}constructor(t){const e=Zo;function i(t){const e=Bo;return t[e(510)]((t=>String[e(537)](t)))[e(579)]("")}super(t),this[e(586)]=e(540),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends U.Plugin{[Zo(581)];static get[Zo(629)](){return Zo(533)}static get[Zo(597)](){return!0}static get[Zo(634)](){return!0}static get[Zo(617)](){return[at,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(568)][i(590)][i(494)](i(608)))throw new t.CKEditorError(i(615),this);this[i(581)]=null,this[i(544)](i(613),!1),this[i(568)][i(590)][i(543)](i(553),(t=>this[i(583)]({...t,translations:this[i(568)][i(598)][i(601)]}))),this[i(568)][i(590)][i(543)](i(546),(t=>this[i(569)](t))),this[i(568)][i(590)][i(543)](i(501),(t=>this[i(587)](t))),this[i(568)][i(590)][i(543)](i(628),!1),this[i(531)](),this[i(495)]()}set[Zo(580)](t){const e=Zo;this[e(568)][e(554)][e(494)](e(595))[e(580)]=t}get[Zo(580)](){const t=Zo;return this[t(568)][t(554)][t(494)](t(595))[t(580)]}[Zo(534)](t){const e=Zo;return this[e(568)][e(554)][e(494)](e(595))[e(534)](t)}[Zo(603)](t){const e=Zo;return this[e(568)][e(554)][e(494)](e(571))[e(603)](t)}[Zo(620)](t){const e=Zo;return this[e(568)][e(554)][e(494)](e(571))[e(620)](t||{toJSON:!1})}[Zo(539)](){const e=Zo,i=this[e(568)],s=(0,H.sanitizeEditorConfig)(i,qo),n=i[e(554)][e(494)](e(595)),r=i[e(554)][e(494)](e(496))[e(566)];return s[e(548)]=[e(564),e(509),e(485)],delete s[e(535)],s[e(554)][e(527)](Yo,ee,be,class extends U.Plugin{static get[e(617)](){return[ee,e(496)]}[e(517)](){const s=e,o=this[s(568)][s(554)][s(494)](s(496));for(const t of r)t[s(596)]||o[s(572)](t.id)||o[s(490)](t);const a=n[s(551)][s(620)]();let c=null;const u=this[s(568)][s(554)][s(494)](s(631));u[s(580)]=n[s(580)],u[s(497)](s(612)).to(n),this[s(568)][s(507)][s(494)](s(509))[s(497)](s(612)).to(i,s(511),(t=>!t));for(const e of a){const i=null===e[s(561)];if(i&&e[s(627)]===e[s(530)])continue;const r=e[s(550)]();u[s(534)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(500)](r,o);else if(!o){const e=a[u(550)]();e.id=(0,t.uid)(),n[u(624)](e,a[u(627)])[u(589)]((t=>{c=t}))}}else e[u(500)](r,o)}))}}},Ro),s}[Zo(531)](){const t=Zo,e=this[t(568)][t(590)][t(494)](t(608))[t(585)];this[t(568)][t(590)][t(544)](t(553),(async()=>{const i=t;this[i(568)][i(518)](i(622));const s=this[i(568)][i(554)][i(494)](i(595));if(this[i(568)][i(554)][i(514)](i(560))){const t=this[i(568)][i(554)][i(494)](i(560));await t[i(570)]()}else await s[i(633)]();if(this[i(568)][i(554)][i(514)](i(602))&&this[i(568)][i(554)][i(494)](i(602))[i(616)](),this[i(568)][i(554)][i(514)](i(621))){const t=this[i(568)][i(554)][i(494)](i(621));t[i(573)]&&t[i(555)]()}const n=this[i(539)]();return e(n)[i(589)]((t=>{const e=i;return this[e(581)]=t,this[e(568)][e(554)][e(514)](e(636))&&this[e(568)][e(554)][e(494)](e(636))[e(591)](),this[e(568)][e(554)][e(514)](e(632))&&(this[e(568)][e(554)][e(494)](e(499))[e(577)][e(489)][e(604)][e(563)]=e(558)),t}))[i(525)]((t=>(console[i(532)](t),this[i(568)][i(584)](i(622)),null)))}))}[Zo(495)](){const t=Zo,e=this[t(568)][t(590)][t(494)](t(608))[t(630)];this[t(568)][t(590)][t(544)](t(546),(()=>(this[t(568)][t(554)][t(514)](t(602))&&this[t(568)][t(554)][t(494)](t(602))[t(616)](),this[t(568)][t(554)][t(514)](t(632))&&(this[t(568)][t(554)][t(494)](t(499))[t(577)][t(489)][t(604)][t(563)]=""),this[t(581)][t(554)][t(494)](t(631))[t(498)](),e(this[t(581)])[t(589)]((()=>{const e=t;if(this[e(568)][e(584)](e(622)),this[e(581)]=null,this[e(568)][e(554)][e(514)](e(636))){const t=this[e(568)][e(554)][e(494)](e(636));t[e(591)](),t[e(605)]()}})))))}[Zo(583)](t){const e=Zo,i=this[e(568)][e(590)][e(494)](e(625)),s=this[e(568)][e(590)][e(494)](e(536)),n=this[e(568)][e(590)][e(494)](e(611));return Ho[e(635)](n,t)[e(589)]((t=>(s[e(604)][e(563)]=e(626),i[e(604)][e(563)]=e(558),this[e(613)]=!0,t)))}[Zo(569)](t){const e=Zo,i=this[e(568)][e(590)][e(494)](e(625));return this[e(568)][e(590)][e(494)](e(536))[e(604)][e(563)]=e(558),i[e(604)][e(563)]="",this[e(613)]=!1,t[e(516)]()}async[Zo(587)](t){const e=Zo,i=this[e(568)],s=this[e(581)][e(554)][e(494)](e(631)),n=i[e(554)][e(494)](e(595)),r=i[e(554)][e(494)](e(508)),o=s[e(551)][e(603)](t);let a,c,u;try{await r[e(606)](o,this[e(580)]),a=r[e(609)](o),c=r[e(600)](o)}catch(t){return void console[e(532)](t)}i[e(506)][e(599)]((t=>{const s=e;for(const e of Array[s(559)](i[s(506)][s(594)][s(576)](s(487))))t[s(524)](e)})),s[e(504)]=!1,i[e(506)][e(547)]((t=>{const s=e;t[s(562)](null),t[s(505)](i[s(506)][s(541)][s(486)][s(610)]());const n=Object[s(619)](a);for(const e of i[s(506)][s(541)][s(582)])s(565)!=e[s(588)]&&e[s(618)]()&&!n[s(491)](e[s(588)])&&t[s(523)](e);for(const e of n){let n=i[s(506)][s(541)][s(614)](e);n&&n[s(618)]()||(n=t[s(520)](e));const r=c[e],o=Object[s(619)](r),u=a[e];for(const e of n[s(610)]())o[s(491)](e)||t[s(549)](e,n);for(const i of o)t[s(545)](i,c[e][i],n);t[s(567)](t[s(526)](n)),t[s(519)](i[s(503)][s(515)](u,n),n,0)}}));const l=Q(i[e(598)],e(521));return u=o[e(522)]?-1==o[e(522)][e(513)](l)?l+": "+o[e(522)]:o[e(522)]:l+": "+o[e(512)][e(557)](i[e(598)][e(493)],{month:e(492),day:e(488)})+", "+o[e(512)][e(593)](i[e(598)][e(493)],{hour:e(488),minute:e(488)}),await n[e(624)]({name:u}),s[e(504)]=!0,i[e(590)][e(494)](e(608))[e(630)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=369]})(t,e)}function Ko(){var t=["356987YVRXmD","1099616AzTOOi","3uCfXNI","909318IcyfCo","1154256zbFqYQ","1087810GUGitD","15ggYICZ","367990rEgHxv","5741208rVMizR"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(280077===parseInt(e(370))/1+-parseInt(e(375))/2*(-parseInt(e(372))/3)+parseInt(e(371))/4+-parseInt(e(376))/5*(parseInt(e(373))/6)+parseInt(e(377))/7+parseInt(e(374))/8+-parseInt(e(369))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();