@ckeditor/ckeditor5-revision-history 0.0.0-nightly-next-20250228.0 → 0.0.0-nightly-20250301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/revision-history.js +1 -1
  3. package/ckeditor5-metadata.json +1 -1
  4. package/dist/index.js +6 -6
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.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 -12
  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/revisionsrepository.js +1 -1
  159. package/src/revisiontracker.js +1 -1
  160. package/src/revisionviewer.js +1 -1
  161. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  162. package/src/ui/revision/revisionauthorview.js +1 -1
  163. package/src/ui/revision/revisionnameview.js +1 -1
  164. package/src/ui/revision/revisionview.js +2 -2
  165. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  166. package/src/ui/revision/subrevisionview.js +1 -1
  167. package/src/ui/revision/utils.js +1 -1
  168. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  174. package/src/ui/revisionssidebar/utils.js +1 -1
  175. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  176. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  177. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  179. package/src/utils/common-translations.js +1 -1
  180. package/theme/icons/arrow-down.svg +1 -0
  181. package/theme/icons/arrow-up.svg +1 -0
  182. package/theme/icons/revision-history.svg +1 -0
  183. package/theme/icons/user.svg +1 -0
@@ -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:()=>Bo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>rt,RevisionViewer:()=>Xt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,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]",x="[object Float64Array]";function T(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,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]=T(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(V=t,ArrayBuffer.isView(V)&&!(V instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=470]})(t,e)}function z(){const t=["fire","authors","11629090ZxPbHO","12Dmujal","10xETspo","map","toJSON","setAttribute","1evyCLl","_update","model","8757760RVZvQB","3620733tMsSXp","setName","2415763xPUJoV","11921283vhakyl","createdAt","authorsIds","set","toVersion","creator","596828OSiUJo","6gcdQip","12mARGTC","name","diffData","creatorId","removeAttribute","attributes","fromVersion","703575uyiwvC"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(755038===parseInt(e(491))/1*(parseInt(e(473))/2)+parseInt(e(495))/3+-parseInt(e(486))/4*(-parseInt(e(482))/5)+-parseInt(e(474))/6*(parseInt(e(497))/7)+-parseInt(e(494))/8+parseInt(e(498))/9*(parseInt(e(487))/10)+-parseInt(e(485))/11*(parseInt(e(475))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[j(472)];[j(484)];[j(477)];[j(471)];[j(481)];[j(493)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(472)]=e[i(472)]||null,this[i(484)]=e[i(484)]||[],this[i(477)]=e[i(477)]||null,this[i(471)]=e[i(471)]||0,this[i(481)]=e[i(481)]||0,this[i(470)](i(476),e[i(476)]||""),this[i(470)](i(499),e[i(499)]||new Date),this[i(470)](i(480),e[i(480)]||{})}[j(496)](t){this[j(492)]({name:t})}[j(490)](t,e){const i=j,s=A(this[i(480)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(492)]({attributes:s})}[j(479)](t){const e=j,i=A(this[e(480)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(492)]({attributes:i})}[j(492)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(476),i(499),i(477),i(484),i(480),i(471),i(481),i(478)];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(484)]&&(n[i(500)]=n[i(484)][i(488)]((t=>t.id)),delete n[i(484)]),this[i(483)](i(492),n,e))}[j(489)](){const t=j;return{id:this.id,name:this[t(476)],creatorId:this[t(472)]?this[t(472)].id:null,authorsIds:this[t(484)][t(488)]((t=>t.id)),diffData:this[t(477)],createdAt:this[t(499)],attributes:this[t(480)],fromVersion:this[t(481)],toVersion:this[t(471)]}}}var U=i(782),H=i(211),Z=i(783);const q=$;function $(t,e){const i=B();return($=function(t,e){return i[t-=202]})(t,e)}function B(){const t=["afterInit","339467EWsmYA","toJSON","push","getEarlierVisibleRevision","Users","creatorId","get","6DrVaeE","getRevision","join","getRevisionsIterator","pluginName","3540oLwrQr","fromVersion","reverse","_revisions","addRevision","map","later","href","isNaN","diffData","isPremiumPlugin","createRevision","add","44077uKvzwl","requires","isOfficialPlugin","getIndex","fromCharCode","createdAt","toVersion","getUser","attributes","authorsIds","getLaterVisibleRevision","RevisionsRepository","newRevisionId","editor","from","earlier","getRevisions","2050360akoYqJ","289730WgAshL","name","184560wQBcxV","plugins","getRevisionsInDiff","891954jZUQgW","length","126666wjBbkW","50LbtHin","40GIbYci","oldRevisionId","data"];return(B=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(524555===parseInt(e(249))/1*(parseInt(e(256))/2)+parseInt(e(241))/3+parseInt(e(235))/4+parseInt(e(244))/5*(parseInt(e(238))/6)+parseInt(e(236))/7*(-parseInt(e(245))/8)+parseInt(e(243))/9+-parseInt(e(205))/10*(parseInt(e(218))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(208)];static get[q(219)](){return[H.Users]}static get[q(204)](){return q(229)}static get[q(220)](){return!0}static get[q(215)](){return!0}get[q(242)](){const t=q;return this[t(208)][t(242)]}constructor(e){const i=q;super(e),this[i(208)]=new t.Collection}[q(248)](){!async function(e){const i=k([120,71,89,85,107,49,110,100,52,68,105,119,87,76,69,74,54,88,106,109,78,75,73,104,50,101,48,51,81,79,112,102,121,53,66,97,116,77,122,99,111,70,103,67,98,82,114,117,83,86,90,72,84,55,118,57,65,80,56,113,108,115]),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(213)](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([120]);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(210)]((t=>String[e(222)](t)))[e(202)]("")}!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:1740700800;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(212)]);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(216)](t){const e=q,i=this[e(231)][e(239)][e(255)](e(253));return new W({id:t.id,name:t[e(237)],creator:t[e(254)]?i[e(225)](t[e(254)]):null,diffData:t[e(214)]||t[e(247)],authors:t[e(227)][e(210)]((t=>i[e(225)](t))),createdAt:new Date(t[e(223)]),attributes:t[e(226)],fromVersion:t[e(206)],toVersion:t[e(224)]})}[q(209)](t,e=0){const i=q;this[i(208)][i(217)](t,e)}[q(257)](t){const e=q;return this[e(208)][e(255)](t)}[q(234)](t={toJSON:!1}){const e=q,i=Array[e(232)](this[e(208)]);return i[e(207)](),t[e(250)]?i[e(210)]((t=>t[e(250)]())):i}[q(221)](t){const e=q;return this[e(208)][e(221)](t)}[q(252)](t){const e=q,[,i]=this[e(203)](t,{direction:e(233)});return i}[q(228)](t){const e=q,[,i]=this[e(203)](t,{direction:e(211)});return i}[q(240)](t){const e=q,i=[];for(const s of this[e(203)](t[e(230)]))if(i[e(251)](s),s.id===t[e(246)])break;return i}*[q(203)](t,{direction:e=q(233),filter:i=()=>!0}={}){const s=q,n=s(233)===e?1:-1;let r=this[s(208)][s(255)](t),o=this[s(221)](r);for(yield r;r;){if(o+=n,r=this[s(257)](o),!r)return;i(r)&&(yield r)}}}function J(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 G(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 K(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 Q(t,e,r,o)}return Q(t,e,r,o)}function Q(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,T)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&Q(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&Q(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(Q(t.constructor,i.constructor,s,T)||G(t)&&G(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(!K(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function X(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,X)}const et=st;function it(){const t=["howMany","getTime","item","max","finally","childCount","initialData","roots","attributesAfter","createRangeIn","processor","split","_markChanges","offsetSize","_getViewJson","_makeRevision","isEnabled","_getPreviousFrom","conversion","ready","insert","_continueCurrentRevision","diffData","_execute","revision-start","baseVersion","creatorId","afterInit","rootsAttributes","newRange","RevisionHistory","vid_start","merge","userId","insertion","getAncestors","_applyOperations","getRevisionDocumentData","_revisionDataBuilder","markers","_handleMergeOperation","useFillerType","addRevision","_lastTo","deletion","revisionHistory.resumeUnsavedRevision","revisionHistoryLicenseKeyExpired","tableCell","_handleRootOperation","_replaceEditorDataWithRevisionData","_touchedMarkers","_createFromRanges","resolve","_isAttached","_getState","_bufferedUpdates","_handleRootAttributeOperation","define","affectsData","_baseIdsRoots","delete","18mVMLca","_processRootBeforeSave","requires","_getBaseVids","_prepareViewToSave","source","domainLimit","_lastFrom","has","filter","revisionHistoryLicenseKeyDomainLimit","getAttributes","_removeMetaData","getRootNames","_insertChild","set","authors","_baseRoots","graveyardPosition","nodes","keys","isPremiumPlugin","attachChange","_touched","vid_end","PendingActions","addRoot","_addPendingAction","expired","createPositionBefore","destroy","previousPosition","getRange","stickiness","keepParagraph","path","_bufferUpdate","repository","pluginName","_transformMarkers","changeRootAttribute","range","then","getNodeByPath","loadState","getOperations","length","plugins","find","deletions","_generateTape","clear","_loadState","createPositionAt","attributesBefore","update","revisionHistoryLicenseKeyUsageLimit","_diffRootsAttributes","getLatestVersion","init","document","_pendingAction","values","_setConversion","remove","map","data-revision-","_diffRoots","trialLimit","$graveyard","createdAt","getData","usageLimit","root","marker","createPositionFromPath","reInit","_createCurrentRevision","PENDING_ACTION_REVISION_HISTORY","initial","getChild","stringify","revision-end","view","_reset","RealTimeCollaborationClient","_setAttribute","_handleMarkerOperation","getOperation","currentRevision","featureNotAllowed","_isPendingUpdate","elementEnd","insertions","_getVidAttributeName","7749360QoNZzd","_markers","getChildren","vid","isAdd","newValue","dataDowncast","editor-initial-data-replaced-with-revision-data","element","some","_isInit","toModel","getRevision","isOfficialPlugin","isEqual","marked","_operations","offset","saveRevision","sort","editor","getMovedRangeStart","detachRoot","reinsert","paragraph","buildRevisionData","getRevisionRootsAttributes","_savedMetaData","fromEntries","isReady","elementStart","_removeRevisionMarkers","sourcePosition","createPositionAfter","removeRootAttribute","hasContent","_calculateMetaData","locale","_revisionId","_appendChild","_startingRevisionId","Users","_source","getUser","sendBufferedUpdates","position","default","rootName","_baseRootsAttributes","setSource","attributes","_update","getWalker","_createInitialRevision","setRevisionData","end","startsWith","reverse","_fixPosition","documentFragment","_makeIdsRoot","data","_fixOperation","push","createRange","_handleSplitOperation","_licenseKeyCheckInterval","addRevisionData","authorsIds","isAttached","updateRevisions","collaboration.channelId","string","parse","fromVersion","children","_saveMetaData","toView","name","_copyMarkers","markerToData","slice","model","getTransformedByOperation","_authorId","_removePendingAction","splitPosition","addRootAttribute","evaluationLimit","key","insertionPosition","134100METOWm","_cloneOperation","clone","parent","_handleInsertOperation","nodeAfter","size","revision:","trim","_touchedRoots","type","_loadedStateData","get","RevisionsRepository","3MjLSWa","revisionHistoryLicenseKeyInvalid","_clone","Empty document","6806920qJePRE","forEach","editing","_showLicenseError","Initial revision","revisionHistoryLicenseKeyNotAllowed","getRoot","creator","upcast","version","_startingVersion","revision","$text","from","_loadRevisionData","_makeModelFromViewString","add","_initialRevisionId","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyValid","getIndex","adapter","history","getRevisions","_handleOperation","NEGATIVE_INFINITY","_getFromVersion","_findInsertionIndex","toVersion","toData","getAttribute","for","_fixRange","createRevision","config","_idsRoots","dataToMarker","targetPosition","shift","includes","text","oldRange","_handleMoveOperation","invalid","start","RevisionTracker","licenseKey","550165xZcrah","bind","move","3131764SkFPMv","getCurrentRevisionId","1706848HgNkzG","838894RMizMk","revisionHistoryLicenseKeyTrialLimit"];return(it=function(){return t})()}function st(t,e){const i=it();return(st=function(t,e){return i[t-=413]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(464251===parseInt(e(526))/1+parseInt(e(596))/2+-parseInt(e(540))/3*(parseInt(e(594))/4)+-parseInt(e(591))/5+-parseInt(e(660))/6*(-parseInt(e(597))/7)+-parseInt(e(544))/8+parseInt(e(435))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);const nt={c:Z.ViewContainerElement,a:Z.ViewAttributeElement,e:Z.ViewEmptyElement,r:Z.ViewRawElement,u:Z.ViewUIElement};class rt extends U.Plugin{[et(590)];[et(501)];[et(565)];[et(429)];[et(697)];[et(637)];[et(477)];[et(561)];[et(654)];[et(721)];[et(620)];[et(554)];[et(537)];static get[et(698)](){return et(589)}static get[et(448)](){return!0}static get[et(681)](){return!0}static get[et(662)](){return[H.Users,Y,U.PendingActions]}constructor(e){const i=et;super(e),this[i(565)]=null,this[i(429)]=null,this[i(637)]=new at(this[i(455)]),this[i(561)]=this[i(455)][i(578)][i(538)](i(506))||i(419),this[i(654)]=new Map,this[i(537)]=null;const s=(0,t.uid)();this[i(477)]={history:this[i(455)][i(517)][i(720)][i(566)],getLatestVersion:()=>Promise[i(651)](this[i(455)][i(517)][i(720)][i(553)]),getCurrentRevisionId:()=>s},this[i(675)](i(464),!1),this[i(675)](i(615),!0),this[i(675)](i(431),!1),this[i(455)][i(578)][i(656)](i(644),!0),this[i(455)][i(617)][i(575)](i(552))[i(580)]({view:i(555)})}[et(719)](){const t=et;this[t(697)]=this[t(455)][t(707)][t(538)](t(539)),this[t(723)](),this[t(455)][t(496)].on(t(618),(()=>{const e=t,i=this[e(697)][e(447)](0),s=i&&null===i[e(551)]?i:null;if(this[e(620)]=!!s&&this[e(455)][e(578)][e(538)](e(644)),this[e(455)][e(707)][e(668)](e(425))){const t=this[e(477)][e(595)](),n=this[e(697)][e(447)](t);if(n)this[e(554)]=n[e(509)],this[e(620)]=!1;else{const t=this[e(477)][e(566)][e(451)][e(708)]((t=>!t[e(445)])),n=t?t[e(624)]:this[e(477)][e(566)][e(553)];i?(i[e(572)]<n&&i[e(486)]({toVersion:n}),this[e(620)]?(this[e(477)][e(595)]=()=>s.id,this[e(554)]=s[e(509)]):(this[e(554)]=i[e(572)],this[e(620)]=!1)):(this[e(554)]=n,this[e(620)]=!1)}}else s&&(this[e(455)][e(517)][e(720)][e(566)][e(553)]=Math[e(602)](s[e(572)],this[e(455)][e(517)][e(720)][e(566)][e(553)]),s[e(509)]===s[e(572)]?(0!==s[e(509)]&&(this[e(477)][e(595)]=()=>s.id),this[e(620)]=!1):this[e(620)]&&(this[e(477)][e(595)]=()=>s.id,this[e(554)]=s[e(509)])),this[e(620)]||(this[e(554)]=this[e(455)][e(517)][e(720)][e(553)]);this[e(637)][e(719)](this[e(477)][e(566)]),this[e(488)](this[e(554)]),this[e(417)](this[e(554)]),this[e(565)]&&this[e(479)]()})),this[t(592)](t(464)).to(this,t(431),(t=>!t)),this[t(590)]=this[t(455)][t(578)][t(538)](t(590));const e=this[t(455)];this[t(501)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(563)==r||i(541)==r||i(645)==r||i(670)==r||i(549)==r||i(562)==r||i(598)==r||i(716)==r){delete e[n],s=r,clearInterval(this[i(501)]),this[i(501)]=void 0;break}}i(541)==s&&e[i(547)](i(587)),i(645)==s&&e[i(547)](i(688)),i(670)==s&&e[i(547)](i(666)),i(549)==s&&e[i(547)](i(430),i(629)),i(562)==s&&e[i(547)](i(523)),i(598)==s&&e[i(547)](i(728)),i(716)==s&&e[i(547)](i(732))}),1e3)}async[et(626)](){const t=et;if(this[t(697)][t(706)]>0){const e=this[t(697)][t(447)](0),i=await this[t(636)](e),s=await this[t(461)](e);this[t(648)](i,s)}}[et(690)](){const t=et;super[t(690)](),this[t(501)]&&clearInterval(this[t(501)])}[et(484)](t){this[et(477)]=t}async[et(715)](){const t=et,e=await this[t(477)][t(718)]();if(e>this[t(429)][t(572)]){await this[t(712)]();const i=this[t(460)]({revision:this[t(429)],to:e});i[t(676)]=i[t(503)][t(725)]((e=>this[t(455)][t(707)][t(538)](t(476))[t(478)](e))),this[t(429)][t(486)](i)}}async[et(712)](){const t=et;this[t(620)]&&!this[t(537)]&&(await this[t(558)](this[t(429)]),this[t(637)][t(704)](this[t(429)]),this[t(537)]={fromVersion:this[t(429)][t(509)],authors:this[t(429)][t(676)][t(516)]()})}async[et(453)](e={},i=null){const s=et,n=[];await this[s(712)](),this[s(620)]=!1,i>this[s(429)][s(572)]&&(i=null),null===i&&(i=await this[s(477)][s(718)]());const r=this[s(570)](i),o=this[s(460)]({from:r,to:i});if(this[s(429)][s(572)]<i){const t=this[s(460)]({revision:this[s(429)],from:i,to:i});t[s(676)]=[],t[s(503)]=[],t.id=this[s(429)].id,this[s(429)][s(486)](t,!0),delete t[s(676)],n[s(498)](t)}e[s(625)]=this[s(455)][s(707)][s(538)](s(476)).me.id,e[s(513)]=e[s(513)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(502)](e);n[s(498)](e);const c=this[s(697)][s(564)](a);if(0!==c){const t=this[s(697)][s(447)](c-1);if(t[s(509)]!==i){const r=this[s(637)][s(731)](i,t[s(572)]),o={id:t.id,diffData:r[s(621)],authorsIds:r[s(503)],authors:r[s(503)][s(725)]((t=>this[s(455)][s(707)][s(538)](s(476))[s(478)](t))),fromVersion:i};t===this[s(429)]&&(o[s(730)]=new Date(e[s(730)][s(600)]()+10)),t[s(486)](o,!0),delete o[s(676)],n[s(498)](o)}}if(this[s(565)]){for(const t of n)this[s(696)](t.id,t,!0);this[s(479)]()}return a}[et(502)](t){const e=et,i=this[e(697)][e(577)](t);return this[e(565)]&&i.on(e(486),((t,i,s)=>{const n=e;s||(this[n(696)](i.id,i,!0),this[n(479)]())})),this[e(697)][e(641)](i,this[e(571)](i)),i}async[et(636)](t){const e=et;await this[e(558)](t);const i={};for(const s in t[e(621)]){if(t[e(621)][s][e(682)]&&!t[e(621)][s][e(682)][e(504)])continue;const n=this[e(466)](JSON[e(508)](t[e(621)][s][e(433)])),r=this[e(455)][e(546)][e(423)][e(720)],o=new Z.ViewDocumentFragment(r,n[e(725)]((t=>ot(t,this[e(455)]))));this[e(455)][e(496)][e(609)][e(640)](e(450)),i[s]=this[e(455)][e(496)][e(609)][e(573)](o),this[e(455)][e(496)][e(609)][e(640)](e(481))}return i}async[et(461)](t){const e=et;await this[e(558)](t);const i={};for(const s in t[e(621)])t[e(621)][s][e(682)]&&!t[e(621)][s][e(682)][e(504)]||(i[s]=t[e(621)][s][e(607)]||{});return i}[et(479)](){const t=et;if(0===this[t(654)][t(532)])return;if(this[t(431)])return;let e=Array[t(557)](this[t(654)][t(722)]());this[t(654)][t(711)]();for(let i=0;i<e[t(706)];i++){const s=e[i];let n=!1;for(const e of Object[t(680)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(669)]((t=>null!==t)),!e[t(706)])return;for(let i=0;i<e[t(706)];i++){const s=e[i];void 0!==s[t(509)]&&void 0===s[t(572)]&&(s[t(572)]=this[t(697)][t(447)](s.id)[t(572)]),void 0!==s[t(572)]&&void 0===s[t(509)]&&(s[t(509)]=this[t(697)][t(447)](s.id)[t(509)])}const i=this[t(455)][t(578)][t(538)](t(506));this[t(431)]=!0,this[t(687)](),this[t(565)][t(505)](e,i)[t(603)]((()=>{this[t(431)]=!1}))[t(702)]((e=>{const i=t;if(e)for(const t of e)this[i(489)]({id:t.id,createdAt:t[i(730)]});this[i(520)](),this[i(479)]()}))}[et(648)](e,i){const s=et;let n=this[s(455)][s(578)][s(538)](s(605)),r=this[s(455)][s(578)][s(538)](s(627));if(void 0===n){n={};for(const t of this[s(455)][s(517)][s(720)][s(673)]())n[t]=""}if(s(507)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(455)][s(517)][s(720)][s(673)]())r[t]={}}let o=!1;const a=Object[s(680)](n),c=Object[s(680)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(534)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(680)](r[t])[s(706)]>0){o=!0;break}}o||(o=c[s(444)]((t=>!this[s(455)][s(517)][s(720)][s(550)](t)))),o&&(0,t.logWarning)(s(442),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(455)][s(578)][s(675)](s(605),e),this[s(455)][s(578)][s(675)](s(627),i)}[et(687)](){const t=et;if(!this[t(721)]){const e=this[t(455)][t(707)][t(538)](t(685));this[t(721)]=e[t(560)](J(this[t(455)][t(472)],t(418)))}}[et(520)](){const t=et;this[t(721)]&&(this[t(455)][t(707)][t(538)](t(685))[t(724)](this[t(721)]),this[t(721)]=null)}[et(571)](t){const e=et,i=this[e(697)][e(567)]();i[e(492)]();let s=0;for(;s<i[e(706)];){const n=i[s];if(n===this[e(429)]){s++;continue}if(n.id===this[e(561)])break;const r=t[e(572)]-n[e(572)]||t[e(509)]-n[e(509)];if(r>0)break;if(r<0)s++;else{if(!t[e(551)]&&n[e(551)])break;if(n[e(551)]||!t[e(551)]){if(t[e(730)]>n[e(730)])break;s++}else s++}}return s}[et(489)](t){const e=et,i=this[e(697)][e(447)](t.id);if(t[e(730)]&&(t[e(730)]=new Date(t[e(730)])),t[e(503)]){const i=this[e(455)][e(707)][e(538)](e(476));t[e(676)]=t[e(503)][e(725)]((t=>i[e(478)](t)))}i[e(486)](t,!0)}[et(460)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(509)],i=null!==i?i:t[s(572)];const n=this[s(637)][s(731)](e,i),r={diffData:n[s(621)],authorsIds:n[s(503)],fromVersion:e,toVersion:i};if(!t||i!==t[s(572)]){const t=i-1,e=this[s(477)][s(566)][s(428)](t);r[s(730)]=e&&e[s(730)]||new Date}if(this[s(537)]&&e===this[s(537)][s(509)])for(const t of this[s(537)][s(676)])r[s(503)][s(583)](t.id)||r[s(503)][s(498)](t.id);return r}[et(558)](t){const e=et;if(!t||t[e(621)])return Promise[e(651)]();{const i=this[e(455)][e(578)][e(538)](e(506));return this[e(565)][e(447)]({channelId:i,revisionId:t.id})[e(702)]((i=>{const s=e;t[s(621)]=i[s(621)]}))}}[et(696)](t,e,i){const s=et;if(this[s(654)][s(668)](t)){const n=this[s(654)][s(538)](t);e=i?{...n,...e}:{...e,...n}}this[s(654)][s(675)](t,e)}[et(570)](t){const e=et,i=this[e(697)][e(567)]();i[e(492)](),i[e(582)]();const s=i[e(708)]((i=>i[e(572)]<=t))[e(572)];return s<this[e(554)]?this[e(554)]:s}[et(488)](t){const e=et,i=this[e(697)][e(447)](this[e(697)][e(706)]-1);if(i)this[e(561)]=i.id;else{const i=!this[e(455)][e(517)][e(720)][e(606)][e(708)]((t=>this[e(455)][e(517)][e(470)](t))),s=this[e(455)][e(707)][e(538)](e(476)).me.id,n=J(this[e(455)][e(472)],e(i?543:548));this[e(614)]({from:t,to:t,id:this[e(561)],name:n,creatorId:s})}}[et(417)](t){const e=et,i=this[e(477)][e(595)]();this[e(429)]=this[e(697)][e(447)](i),this[e(429)]||(this[e(429)]=this[e(614)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(614)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(460)]({from:e,to:i});o[r(513)]=t,o[r(625)]=s,o.id=n;const a=this[r(502)](o);return this[r(565)]&&this[r(696)](o.id,o,!0),a}[et(723)](){const t=et;this[t(455)][t(617)][t(575)](t(441))[t(515)]({model:t(555)})}[et(466)](t){const e=et;return(t=t[e(669)]((t=>!t[e(513)]||e(623)!==t[e(513)]&&e(422)!==t[e(513)])))[e(545)]((t=>{const i=e;i(507)!=typeof t&&(t[i(510)]=this[i(466)](t[i(510)]),t[i(485)]=t[i(485)][i(669)]((t=>!t[0][i(491)](i(726)))))})),t}}function ot(t,e){const i=et,s=e[i(546)][i(423)][i(720)];if(i(507)==typeof t)return new Z.ViewText(s,t);{const n=t[i(510)][i(725)]((t=>ot(t,e)));return new(nt[t[i(536)]]||Z.ViewElement)(s,t[i(513)],t[i(485)],n)}}class at{[et(455)];[et(665)];[et(462)];[et(667)];[et(642)];[et(436)];[et(727)];[et(717)];[et(677)];[et(483)];[et(579)];[et(658)];[et(683)];[et(649)];[et(535)];[et(473)];[et(475)];constructor(t){const e=et;this[e(455)]=t,this[e(462)]=new Map,this[e(667)]=-1,this[e(642)]=-1,this[e(436)]=new Map,this[e(727)]=new Map,this[e(717)]=new Map,this[e(677)]=new Map,this[e(483)]=new Map,this[e(579)]=new Map,this[e(658)]=new Map,this[e(683)]=new Map,this[e(649)]=new Map,this[e(535)]=new Map,this[e(473)]=1}[et(719)](t){const e=et;this[e(665)]=t;const i=new Map,s=new Map,n=this[e(455)][e(517)][e(720)][e(606)][e(725)]((t=>t[e(482)]));for(const t of n){const n=this[e(455)][e(517)][e(720)][e(550)](t),r=ct(n);i[e(675)](t,r),s[e(675)](t,Object[e(463)](n[e(671)]()))}const r=Array[e(557)](this[e(455)][e(517)][e(638)])[e(725)]((t=>[t[e(513)],t[e(692)]()])),o=this[e(665)][e(553)];this[e(511)](o,i,r,s),this[e(475)]=this[e(473)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(675)](t,i),c[e(675)](t,{})}this[e(511)](Number[e(569)],a,[],c)}[et(731)](t,e){const i=et;if(this[i(667)]===t&&this[i(642)]<=e)this[i(462)][i(532)]>1&&this[i(672)](this[i(642)]),this[i(635)](this[i(642)],e,!0);else{if(!this[i(462)][i(668)](t)){const e=this[i(616)](t);this[i(471)](e,t,!1)}this[i(471)](t,e,!0)}return this[i(667)]=t,this[i(642)]=e,this[i(653)]()}[et(704)](t){const e=et;this[e(424)](),this[e(667)]=t[e(509)],this[e(642)]=t[e(572)];for(const i in t[e(621)]){const s=t[e(621)][i][e(682)],n=A(t[e(621)][i][e(714)])||{},r=this[e(559)](t[e(621)][i][e(709)]);r[e(482)]=i,r[e(652)]=!s||!s[e(504)],r[e(504)]=()=>r[e(652)],this[e(677)][e(675)](i,r),this[e(483)][e(675)](i,n),s&&this[e(535)][e(675)](i,s);const o=this[e(495)](r);this[e(658)][e(675)](i,o);for(const[t,i]of r[e(638)]){if(!t[e(491)](e(533)))continue;const s=t[e(610)](":")[2];for(const t of i[e(487)]({singleCharacters:!0})){const i=this[e(434)](t),n=e(432)==t[e(536)]?t[e(691)][e(695)][e(516)](0,-1):t[e(691)][e(695)],r=o[e(703)](n)[e(574)](i);this[e(683)][e(675)](r,{userId:s})}}}this[e(475)]=this[e(473)];const i=[...Array(this[e(473)])[e(680)]()][e(516)](1)[e(669)]((t=>!this[e(683)][e(668)](t)));let s=0;const n=new Map;for(const r in t[e(621)]){const o=t[e(621)][r][e(682)],a=A(t[e(621)][r][e(607)])||{},c=this[e(559)](t[e(621)][r][e(433)]);c[e(482)]=r,c[e(652)]=!o||o[e(504)],c[e(504)]=()=>c[e(652)],this[e(727)][e(675)](r,c),this[e(717)][e(675)](r,a);const u=this[e(495)](c,Number[e(569)]);this[e(579)][e(675)](r,u),n[e(675)](r,c[e(504)]()?a:{});for(const[t,i]of c[e(638)]){if(!t[e(491)](e(533)))continue;const s=t[e(610)](":")[2];for(const t of i[e(487)]({singleCharacters:!0})){const i=this[e(434)](t),n=this[e(473)]++,r=e(432)==t[e(536)]?t[e(691)][e(695)][e(516)](0,-1):t[e(691)][e(695)];u[e(703)](r)[e(426)](i,n),this[e(683)][e(675)](n,{userId:s})}}for(const t of this[e(455)][e(517)][e(608)](c)[e(487)]({singleCharacters:!0})){const n=this[e(434)](t),r=e(432)==t[e(536)]?t[e(691)][e(695)][e(516)](0,-1):t[e(691)][e(695)],o=u[e(703)](r);o[e(574)](n)>0||o[e(426)](n,i[s++])}for(const[t,i]of c[e(638)])t[e(491)](e(533))||this[e(436)][e(675)](t,i)}const r=ut(e(729));this[e(677)][e(675)](e(729),r),this[e(658)][e(675)](e(729),this[e(495)](r,1));const o=ut(e(729));this[e(727)][e(675)](e(729),o),this[e(579)][e(675)](e(729),this[e(495)](o,1));const a=Array[e(557)](this[e(727)])[e(725)]((([t,e])=>[t,ct(e)]));this[e(511)](this[e(642)],a,this[e(436)],n)}[et(559)](t){const e=et,i=JSON[e(508)](t),s=this[e(455)][e(546)][e(423)][e(720)],n=new Z.ViewDocumentFragment(s,i[e(725)]((t=>ot(t,this[e(455)]))));return this[e(455)][e(496)][e(446)](n)}[et(511)](t,e,i,s){const n=et,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(675)](t,{start:e[n(588)][n(528)](),end:e[n(490)][n(528)](),rootName:e[n(413)][n(482)]});this[n(462)][n(675)](t,{roots:r,markers:a,rootsAttributes:o})}[et(672)](t){const e=et;this[e(462)][e(659)](t)}[et(416)](){const t=et;this[t(424)](),this[t(667)]=-1,this[t(642)]=-1,this[t(462)][t(711)](),this[t(719)](this[t(665)])}[et(424)](){const t=et;this[t(683)][t(711)](),this[t(649)][t(711)](),this[t(535)][t(711)](),this[t(727)][t(711)](),this[t(717)][t(711)](),this[t(677)][t(711)](),this[t(483)][t(711)](),this[t(579)][t(711)](),this[t(658)][t(711)](),this[t(436)][t(711)](),this[t(473)]=1,this[t(475)]=this[t(473)]}[et(495)](t,e=null){const i=et;let s=null;t.is(i(494))||(s=new Z.Element(t[i(513)],{vid_start:null===e?this[i(473)]++:e++}));const n=[];for(const s of t[i(437)]())if(s.is(i(443))){n[i(498)](this[i(495)](s,e));const t=n[n[i(706)]-1];null!==e&&(e=t.is(i(443),i(556))?t[i(574)](i(438))+1:t[i(574)](i(684))+1)}else for(let t=0;t<s[i(612)];t++)n[i(498)](new Z.Element(i(556),{vid:null===e?this[i(473)]++:e++}));if(t.is(i(494))){const e=ut(t[i(482)]);return e[i(674)](0,n),e}return s[i(426)](i(684),null===e?this[i(473)]++:e++),s[i(674)](0,n),s}[et(471)](t,e,i){const s=et;this[s(424)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(462)][s(538)](t);this[s(677)]=new Map(n),this[s(483)]=new Map(A(o));for(const[t,e]of this[s(677)])if(s(729)!==t&&(this[s(727)][s(675)](t,ct(e)),this[s(717)]=new Map(A(o)),i)){const i=this[s(473)];this[s(579)][s(675)](t,this[s(495)](e)),this[s(658)][s(675)](t,this[s(495)](e,i))}this[s(475)]=this[s(473)],this[s(727)][s(675)](s(729),ct(this[s(677)][s(538)](s(729)))),i&&this[s(579)][s(675)](s(729),this[s(495)](this[s(677)][s(538)](s(729))));for(const[t,e]of r){const i=this[s(677)][s(538)](e[s(482)]),n=this[s(727)][s(538)](e[s(482)]),r=new Z.Range(this[s(493)](e[s(588)],i),this[s(493)](e[s(490)],i)),o=this[s(576)](r,n);i[s(638)][s(675)](t,r),this[s(436)][s(675)](t,o)}this[s(635)](t,e,i)}[et(635)](t,e,i){const s=et;for(const n of this[s(665)][s(705)](t,e))this[s(568)](n,i);for(const t of this[s(727)][s(722)]())t[s(638)][s(711)]();for(const[t,e]of this[s(436)])this[s(727)][s(538)](e[s(413)][s(482)])[s(638)][s(675)](t,e[s(528)]());const n=new Map,r=new Map;for(const[t,e]of this[s(727)])n[s(675)](t,ct(e)),r[s(675)](t,this[s(717)][s(538)](t));this[s(511)](e,n,this[s(436)],r)}[et(616)](t){const e=et,i=Array[e(557)](this[e(462)][e(680)]());i[e(454)](((t,e)=>t-e)),i[e(492)]();for(const e of i)if(e<t)return e;return Number[e(569)]}[et(514)](t,e){const i=et,s=Array[i(557)](e[i(638)])[i(725)]((([e,s])=>[e,this[i(576)](s,t)]));t[i(638)]=new Map(s)}[et(699)](t){const e=et;for(const i of this[e(436)][e(722)]()){const s=i[e(518)](t),n=Z.Range[e(650)](s);i[e(588)]=n[e(588)],i[e(490)]=n[e(490)]}}[et(568)](t,e){const i=et;if(i(686)!=t[i(536)]&&i(457)!=t[i(536)]){if(i(619)==t[i(536)]){const s=t[i(480)][i(413)][i(482)];this[i(727)][i(668)](s)||(this[i(727)][i(675)](s,ut(s,!0)),this[i(717)][i(675)](s,{}),e&&this[i(579)][i(675)](s,ut(s,!0)))}else{if(i(522)==t[i(536)]||i(469)==t[i(536)]||i(700)==t[i(536)])return void this[i(655)](t);i(414)==t[i(536)]&&this[i(427)](t)}if(i(414)!==t[i(536)]){const e=this[i(527)](t,this[i(727)]);e[i(622)](),this[i(699)](e)}if(e)switch(t[i(536)]){case i(619):this[i(530)](t);break;case i(593):case i(724):case i(458):this[i(586)](t);break;case i(631):this[i(639)](t);break;case i(610):this[i(500)](t)}}else this[i(647)](t,e)}[et(527)](t,e){const i=et,s=t[i(528)]();return s[i(519)]=t[i(519)],this[i(497)](s,e),s}[et(663)](t){const e=et;return t[e(725)]((t=>{const i=e,s=this[i(434)](t);return Number(t[i(601)][i(574)](s))}))}[et(710)](t,e){const i=et;if(t.is(i(443),i(556)))e[i(498)]({item:t,type:i(584)});else{t.is(i(443))&&e[i(498)]({item:t,type:i(465)});for(const s of t[i(437)]())this[i(710)](s,e);t.is(i(443))&&e[i(498)]({item:t,type:i(432)})}return e}[et(653)](){const t=et,e=new Map(this[t(683)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(677)][t(680)](),...this[t(727)][t(680)]()]);a[t(659)](t(729));for(const e of a){const i=this[t(727)][t(538)](e)||ut(e,!1),s=this[t(677)][t(538)](e)||ut(e,!1);i[t(504)]()||s[t(504)]()?(n[t(433)][e]=ct(i),n[t(709)][e]=ct(s),this[t(514)](n[t(709)][e],s),this[t(514)](n[t(433)][e],i),r[t(433)][e]=this[t(710)](this[t(579)][t(538)](e),[]),r[t(709)][e]=this[t(710)](this[t(658)][t(538)](e)||ut(e,!1),[])):a[t(659)](e)}for(const n of a){const o=r[t(433)][n];for(const n of o){const r=this[t(434)](n),o=n[t(601)][t(574)](r);i[t(659)](o),o>=this[t(475)]&&s[t(675)](o,e[t(538)](o))}}for(const n of a){const a=r[t(433)][n],c=this[t(663)](r[t(709)][n]);let u=0;for(const n of a){const r=this[t(434)](n),a=n[t(601)][t(574)](r);if(!s[t(668)](a)&&!o[t(668)](a))if(i[t(668)](a))u++;else{if(a!=c[u]){const s=e[t(538)](a)||e[t(538)](c[u]);for(;a!=c[u];)i[t(668)](c[u])||(o[t(675)](c[u],s),e[t(675)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(433)][e];for(const e of n){const n=this[t(434)](e),r=e[t(601)][t(574)](n);if(o[t(668)](r)){const e=o[t(538)](r);i[t(668)](r)||i[t(675)](r,{...e}),s[t(675)](r,{...e})}}}for(const e of i[t(680)]())e>=this[t(475)]&&i[t(659)](e);const c=new Map;for(const e of a){let n=r[t(433)][e];for(const e of n)if(e[t(601)].is(t(443),t(646))){const i=this[t(434)](e),n=e[t(601)][t(574)](i);if(s[t(668)](n)){const i=e[t(601)][t(529)][t(529)][t(574)](t(630)),r=c[t(538)](i)||new Set;r[t(560)](s[t(538)](n)[t(632)]),c[t(675)](i,r)}}n=r[t(709)][e];for(const e of n)if(e[t(601)].is(t(443),t(646))){const s=this[t(434)](e),n=e[t(601)][t(574)](s);if(i[t(668)](n)){const s=e[t(601)][t(529)][t(529)][t(574)](t(630)),r=c[t(538)](s)||new Set;r[t(560)](i[t(538)](n)[t(632)]),c[t(675)](s,r)}}for(const e of c[t(680)]())(s[t(668)](e)||i[t(668)](e))&&c[t(659)](e)}for(const e of a){const n=r[t(433)][e];let o=null,a=null;for(const e of n){const n=this[t(434)](e),r=e[t(601)][t(574)](n),u=c[t(538)](r);u&&t(465)==e[t(536)]&&(o=Array[t(557)](u)[0],a=e[t(601)][t(574)](t(684))),o&&(i[t(675)](r,{userId:o}),s[t(675)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(709)][e],a=n[t(433)][e];for(const{userId:e}of this[t(649)][t(722)]())null!==e&&l[t(560)](e);for(const{userId:e}of this[t(535)][t(722)]())null!==e&&l[t(560)](e);this[t(611)](a,r[t(433)][e],s,t(633),l),this[t(611)](o,r[t(709)][e],i,t(643),l),u[e]={insertions:this[t(664)](a),deletions:this[t(664)](o),attachChange:this[t(535)][t(538)](e)||null,attributesBefore:A(this[t(483)][t(538)](e))||{},attributesAfter:A(this[t(717)][t(538)](e))}}return{diffData:u,authorsIds:Array[t(557)](l)}}[et(661)](t){const e=et;for(const[,i]of t[e(638)]){const t=i[e(588)][e(634)]()[e(669)]((t=>e(646)==t[e(513)]));for(const i of t)1==i[e(604)]&&i[e(420)](0).is(e(443),e(459))&&i[e(420)](0)[e(426)](e(694),!0)}}[et(664)](t){const e=et;this[e(661)](t);const i=this[e(455)][e(496)][e(512)](t,{}),s=Array[e(557)](i[e(437)]())[e(725)]((t=>this[e(613)](t)));return JSON[e(421)](s)}[et(613)](t){const e=et;if(t.is(e(556)))return t[e(496)];{const i=t;return{type:Object[e(680)](nt)[e(708)]((e=>t instanceof nt[e])),name:i[e(513)],attributes:Array[e(557)](i[e(671)]()),children:Array[e(557)](i[e(437)]())[e(725)]((t=>this[e(613)](t)))}}}[et(611)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(455)][r(517)];for(let s=0;s<e[r(706)];s++){const n=this[r(434)](e[s]),c=e[s][r(601)][r(574)](n),h=i[r(538)](c),d=s==e[r(706)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(632)]!=o[r(632)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(632)],d=l(533)+s+":"+h+":"+c++,f=u[l(499)](i,a);t[l(638)][l(675)](d,f),null!==h&&n[l(560)](h)}}[et(434)](t){const e=et;switch(t[e(536)]){case e(465):return e(630);case e(432):return e(684);default:return e(438)}}[et(497)](t,e){const i=et;t[i(624)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(538)](n[i(413)][i(482)]);t[s]=this[i(493)](n,r)}if(n instanceof Z.Range){const r=e[i(538)](n[i(413)][i(482)]);t[s]=this[i(576)](n,r)}i(413)===s&&(t[i(413)]=e[i(538)](t[i(413)][i(482)]))}}[et(576)](t,e){const i=et;return this[i(455)][i(517)][i(499)](this[i(493)](t[i(588)],e),this[i(493)](t[i(490)],e))}[et(493)](t,e){const i=et;return this[i(455)][i(517)][i(415)](e,t[i(695)],t[i(693)])}[et(530)](t){const e=et,i=this[e(579)][e(538)](t[e(480)][e(413)][e(482)]),s=this[e(493)](t[e(480)],i),n=null===t[e(519)]?null:t[e(519)]||this[e(455)][e(707)][e(538)](e(476)).me.id,r=s[e(529)],o=this[e(473)],a=[];for(const i of t[e(679)])if(i.is(e(443)))a[e(498)](this[e(495)](i));else for(let t=0;t<i[e(612)];t++)a[e(498)](new Z.Element(e(556),{vid:this[e(473)]++}));const c=this[e(473)];for(let t=o;t<c;t++)this[e(683)][e(675)](t,{userId:n});r[e(674)](s[e(452)],a)}[et(586)](t){const e=et;(t=this[e(527)](t,this[e(579)]))[e(622)]();const i=null===t[e(519)]?null:t[e(519)]||this[e(455)][e(707)][e(538)](e(476)).me.id,s=t[e(456)](),n=s[e(529)],r=s[e(452)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(420)](e);r.is(a(443),a(556))?s[a(675)](r[a(574)](a(438)),{userId:i}):(s[a(675)](r[a(574)](a(630)),{userId:i}),t(s,r,0,r[a(604)]),s[a(675)](r[a(574)](a(684)),{userId:i}))}}(this[e(683)],n,r,r+t[e(599)])}[et(639)](t){const e=et,i=null===(t=this[e(527)](t,this[e(579)]))[e(519)]?null:t[e(519)]||this[e(455)][e(707)][e(538)](e(476)).me.id,s=t[e(581)][e(529)],n=t[e(467)][e(529)],r=s[e(574)](e(684)),o=n[e(574)](e(630));s[e(426)](e(684),n[e(574)](e(684))),n[e(426)](e(684),r),this[e(683)][e(675)](o,{userId:i}),this[e(683)][e(675)](r,{userId:i}),t[e(622)]()}[et(500)](t){const e=et,i=null===(t=this[e(527)](t,this[e(579)]))[e(519)]?null:t[e(519)]||this[e(455)][e(707)][e(538)](e(476)).me.id,s=t[e(678)],n=t[e(521)][e(529)];t[e(622)]();const r=n[e(574)](e(684)),o=t[e(525)][e(531)];if(s){const t=o[e(574)](e(684)),s=n[e(574)](e(684));n[e(426)](e(684),t),o[e(426)](e(684),s),this[e(683)][e(675)](n[e(574)](e(684)),{userId:i}),this[e(683)][e(675)](o[e(574)](e(630)),{userId:i})}else{const t=this[e(473)]++,s=this[e(473)]++;n[e(426)](e(684),t),o[e(426)](e(630),s),o[e(426)](e(684),r),this[e(683)][e(675)](t,{userId:i}),this[e(683)][e(675)](s,{userId:i})}}[et(427)](t){const e=et;if(!t[e(657)])return;const i=(t=this[e(527)](t,this[e(727)]))[e(585)]?t[e(585)][e(413)]:null,s=t[e(628)]?t[e(628)][e(413)]:null;i&&this[e(436)][e(659)](t[e(513)]),s&&this[e(436)][e(675)](t[e(513)],t[e(628)][e(528)]());const n=null===t[e(519)]?null:t[e(519)]||this[e(455)][e(707)][e(538)](e(476)).me.id,r=t[e(513)];if(!this[e(649)][e(668)](r))return void this[e(649)][e(675)](r,{range:t[e(585)],userId:n});const o=this[e(649)][e(538)](r),a=o[e(701)],c=t[e(628)];null==a&&null==c||a&&c&&a[e(449)](c)?this[e(649)][e(659)](t[e(513)]):o[e(632)]=n}[et(647)](t,e){const i=et;this[i(727)][i(668)](t[i(482)])?this[i(727)][i(538)](t[i(482)])[i(652)]=t[i(439)]:(this[i(727)][i(675)](t[i(482)],ut(t[i(482)],!0)),this[i(717)][i(675)](t[i(482)],{}),e&&this[i(579)][i(675)](t[i(482)],ut(t[i(482)],!0)));const s=null===t[i(519)]?null:t[i(519)]||this[i(455)][i(707)][i(538)](i(476)).me.id,n=this[i(535)][i(538)](t[i(482)]);n&&n[i(632)]===s?this[i(535)][i(659)](t[i(482)]):this[i(535)][i(675)](t[i(482)],{userId:s,isAttached:t[i(439)]})}[et(655)](t){const e=et,i=this[e(717)][e(538)](t[e(413)][e(482)]);null===t[e(440)]?delete i[t[e(524)]]:i[t[e(524)]]=t[e(440)]}}function ct(t){const e=et,i=ut(t[e(482)],t[e(504)]());for(const s of t[e(437)]()){const t=s[e(542)](!0);i[e(474)](t)}return i}function ut(t,e=!0){const i=et,s=new Z.DocumentFragment;return s[i(482)]=t,s[i(652)]=e,s[i(504)]=()=>s[i(652)],s}function lt(t,e,i){const s=et,n=s(432)==t[s(536)]?i[s(713)](t[s(601)],s(490)):i[s(689)](t[s(601)]);return i[s(415)](e,n[s(695)],n[s(693)])}function ht(t,e,i){const s=et,n=s(465)==t[s(536)]?i[s(713)](t[s(601)],0):i[s(468)](t[s(601)]);return i[s(415)](e,n[s(695)],n[s(693)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var xt=i(959),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=wt(),Tt.insert=kt().bind(null,"head"),Tt.domAPI=gt(),Tt.insertStyleElement=It();pt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;const Nt=At;function Rt(){const t=["element","10970KndRSE","63aoBLtQ","4752FEMPqx","input","add","stopPropagation","1426917YYwIAs","label","focusTracker","ck-responsive-form","fieldView","arrowdown","3951IXoBNk","trim","set","4TQyUwB","220TtSiCg","errorText","_createRevisionNameInput","1545865aPFBsF","optional","arrowleft","ck-revision-history-save-revision-form","revisionNameInputView","Name of the revision","focus","arrowright","form","10667352DriqXD","render","220","setTemplate","reset","keystrokes","extendTemplate","147518TuMsxr","locale","revisionName","value","arrowup","6lClYfl","listenTo","1000bArCTy","revisionNameInputValue"];return(Rt=function(){return t})()}function At(t,e){const i=Rt();return(At=function(t,e){return i[t-=250]})(t,e)}!function(t){const e=At,i=t();for(;;)try{if(307866===parseInt(e(281))/1*(parseInt(e(280))/2)+parseInt(e(286))/3*(parseInt(e(250))/4)+parseInt(e(254))/5*(parseInt(e(275))/6)+parseInt(e(270))/7+-parseInt(e(277))/8*(-parseInt(e(292))/9)+-parseInt(e(251))/10*(parseInt(e(282))/11)+-parseInt(e(263))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Mt extends ft.View{[Nt(288)];[Nt(268)];[Nt(258)];constructor(e,i){const s=Nt;super(e),this[s(288)]=new t.FocusTracker,this[s(268)]=new t.KeystrokeHandler,this[s(294)](s(278),""),this[s(258)]=this[s(253)](i),this[s(266)]({tag:s(262),attributes:{class:["ck",s(257),s(289)],tabindex:"-1"},children:[this[s(258)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(264)](){const t=Nt;super[t(264)](),(0,ft.submitHandler)({view:this}),this[t(288)][t(284)](this[t(258)][t(279)]),this[t(268)][t(276)](this[t(279)]);const e=e=>e[t(285)]();this[t(268)][t(294)](t(261),e),this[t(268)][t(294)](t(256),e),this[t(268)][t(294)](t(274),e),this[t(268)][t(294)](t(291),e)}[Nt(260)](){const t=Nt;this[t(258)][t(260)]()}get[Nt(272)](){const t=Nt;return this[t(258)][t(290)][t(279)][t(273)][t(293)]()}set[Nt(272)](t){const e=Nt;this[e(258)][e(290)][e(279)][e(273)]=t[e(293)]()}[Nt(267)](){const t=Nt;this[t(258)][t(290)][t(279)][t(273)]="",this[t(258)][t(252)]=null}[Nt(253)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(271)],ft.createLabeledInputText),s=i[e(290)];s[e(269)]({attributes:{maxlength:e(265)}});let n=J(this[e(271)],e(259));return!t&&(n+=" ("+J(this[e(271)],e(255))+")"),i[e(287)]=n,s.on(e(283),(()=>{const t=e;this[t(278)]=s[t(279)][t(273)][t(293)]()})),i}}const Vt=Et;function Et(t,e){const i=Dt();return(Et=function(t,e){return i[t-=286]})(t,e)}function Dt(){const t=["revisionName","_showDialog","render","add","buttonView","get","errorText","2915631djrzyY","isEnabled","7HOinsl","panelView","children","focus","isReadOnly","650384xutGPq","4631RIMQPx","45JEbTgR","RevisionTracker","isPremiumPlugin","config","view","editor","editing","ck-button-action","540580diLKmR","_createSaveRevisionFormView","revisionHistory","plugins","_saveRevisionFormView","revisionHistory.requireRevisionName","Open revision history","revisionSave","menuitem","_registerMenuComponent","3VYVZBB","Revision history","RevisionHistoryUI","isOpen","The revision name cannot be empty.","menu","16570LyMHbF","set","submit","isReady","87853dFmGzs","hide","43854qYxNDh","delegate","Cancel","bind","Dialog","isOfficialPlugin","execute","reset","Save current revision","showRevisionViewerCallback","locale","Accept","componentFactory","addMany","init","show","1857224jxQWxJ","saveRevision","items","role","revisionNameInputView","pluginName","menuBar:revisionHistory","requires"];return(Dt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(313473===parseInt(e(349))/1+parseInt(e(329))/2*(parseInt(e(339))/3)+parseInt(e(319))/4+-parseInt(e(321))/5*(parseInt(e(351))/6)+parseInt(e(314))/7*(parseInt(e(297))/8)+parseInt(e(312))/9+parseInt(e(345))/10*(-parseInt(e(320))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends U.Plugin{static get[Vt(302)](){return Vt(341)}static get[Vt(286)](){return!0}static get[Vt(323)](){return!0}static get[Vt(304)](){return[rt]}[Vt(333)];[Vt(295)](){const t=Vt,e=this[t(326)],i=e[t(332)][t(310)](t(322));e.ui[t(293)][t(308)](t(331),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(315)][n(316)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(354)](n(313)).to(i,n(348),i,n(313),e,n(318),((t,e,i)=>t&&e&&!i)),r[n(309)][n(346)]({icon:dt.IconHistory,label:J(s,n(340)),tooltip:!0}),u[n(346)]({label:J(s,n(289)),withText:!0,role:n(337)}),u[n(354)](n(313)).to(i,n(348),i,n(313),e,n(318),((t,e,i)=>t&&e&&!i)),u.on(n(287),(()=>this[n(306)]())),h[n(346)]({label:J(s,n(335)),withText:!0,role:n(337)}),h[n(354)](n(313)).to(i,n(348),e,n(318),((t,e)=>t&&!e)),h.on(n(287),(()=>{const t=n;e[t(324)][t(310)](t(331))[t(290)](),r[t(342)]=!1,e[t(327)][t(325)][t(317)]()})),c[n(316)][n(308)](u),l[n(316)][n(308)](h),a[n(300)]=n(344),a[n(299)][n(294)]([c,l]),o[n(308)](a),r})),e.ui[t(293)][t(308)](t(303),(()=>this[t(338)]()))}[Vt(338)](){const t=Vt,e=this[t(326)],i=e[t(291)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(309)][t(346)]({icon:dt.IconHistory,label:J(i,t(340))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(346)]({label:J(i,t(289))}),o[t(352)](t(287)).to(s),o.on(t(287),(()=>{this[t(306)]()})),r[t(316)][t(308)](o),n[t(299)][t(308)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(346)]({label:J(i,t(335))}),c[t(352)](t(287)).to(s),c.on(t(287),(()=>{const i=t;e[i(324)][i(310)](i(331))[i(290)]()})),a[t(316)][t(308)](c),n[t(299)][t(308)](a),s[t(315)][t(316)][t(308)](n),s}[Vt(306)](){const t=Vt,e=this[t(326)],i=e[t(291)],s=e[t(332)][t(310)](t(355)),n=e[t(332)][t(310)](t(322));function r(n){const r=t;e[r(324)][r(310)](r(334))&&""===n[r(305)]?n[r(301)][r(311)]=J(i,r(343)):(e[r(332)][r(310)](rt)[r(298)]({name:n[r(305)]}),s[r(350)]())}this[t(333)]||(this[t(330)](),this[t(333)].on(t(347),(()=>r(this[t(333)])))),this[t(333)][t(288)](),s[t(296)]({id:t(336),title:J(i,t(289)),isModal:!0,content:this[t(333)],actionButtons:[{label:J(e[t(291)],t(353)),withText:!0,onExecute:()=>s[t(350)]()},{label:J(e[t(291)],t(292)),class:t(328),withText:!0,onCreate(i){const s=t;i[s(354)](s(313)).to(n,s(348),n,s(313),e,s(318),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(333)])}]})}[Vt(330)](){const t=Vt,e=this[t(326)],i=e[t(291)];this[t(333)]=new Mt(i,e[t(324)][t(310)](t(334))),this[t(333)][t(307)]()}}const Ft=Lt;function Lt(t,e){const i=Pt();return(Lt=function(t,e){return i[t-=223]})(t,e)}!function(t){const e=Lt,i=t();for(;;)try{if(871487===parseInt(e(249))/1+parseInt(e(231))/2+-parseInt(e(242))/3+parseInt(e(240))/4+parseInt(e(246))/5+parseInt(e(226))/6+-parseInt(e(251))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class jt extends ft.View{[Ft(245)];[Ft(227)];constructor(t,e){const i=Ft;super(t),this[i(227)]=e,this[i(245)]=e.id;const s=this[i(237)],n=J(t,e[i(224)][i(230)]?i(241):i(235)==e[i(243)]?i(247):i(232));this[i(244)](i(243),e[i(243)]),this[i(229)]({tag:i(248),attributes:{class:[i(238),i(234),s.to(i(243),(t=>i(239)+t))],tabindex:-1},children:[{tag:i(228),children:[{tag:i(228),attributes:{class:[i(250)]},children:[{text:n}]},{text:" "+e[i(225)][i(223)]}]}]})}[Ft(233)](){const t=Ft;this[t(236)][t(233)]()}}function Pt(){const t=["element","bindTemplate","ck-annotation","ck-revision-change__","857536hDcdee","Suggested by","5074374mKWOHF","type","set","changeId","1866210FZNxQi","Added by","div","1334380qCVsVE","ck-revision-change__label","3676302MalMAt","name","data","author","1163430gsRtii","_model","span","setTemplate","isSuggestion","1944440uZaYRZ","Removed by","focus","ck-revision-change","add"];return(Pt=function(){return t})()}var zt=Wt;function Wt(t,e){var i=Ht();return(Wt=function(t,e){return i[t-=260]})(t,e)}!function(t){for(var e=Wt,i=t();;)try{if(556281===-parseInt(e(264))/1+-parseInt(e(260))/2*(parseInt(e(273))/3)+-parseInt(e(268))/4+parseInt(e(265))/5+parseInt(e(276))/6*(parseInt(e(275))/7)+parseInt(e(266))/8*(-parseInt(e(267))/9)+parseInt(e(261))/10*(parseInt(e(272))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Ut extends((0,t.ObservableMixin)()){id;[zt(269)];[zt(270)];[zt(263)];[zt(262)];constructor(e){var i=zt;super(),this.id=e.id||(0,t.uid)(),this[i(269)]=e[i(269)],this[i(270)]=e[i(270)],this[i(263)]=e[i(263)]||{},this[i(262)]=e[i(262)],this[i(277)](i(271),e[i(271)])}[zt(274)](){var t=zt;return{id:this.id,authorId:this[t(269)].id,type:this[t(270)],data:this[t(263)],createdAt:this[t(271)]}}}function Ht(){var t=["createdAt","96503GhDsFW","6ovgIqZ","toJSON","49wedCAI","452400FegaXW","set","888598CBMpuJ","2960owHCPT","rootName","data","724847UlllEm","2457855ZpBrtC","2728iEzPVH","27495HFrBWu","1618792nhRIca","author","type"];return(Ht=function(){return t})()}const Zt=qt;function qt(t,e){const i=$t();return(qt=function(t,e){return i[t-=373]})(t,e)}function $t(){const t=["55uPNMpC","144954xAtAFQ","1818153UcWKbS","2159276assRKh","oldRevisionId","_setChanges","14TyxZds","changes","newRevisionId","2qhRXTK","5753rsaYds","1990714mUzbVz","20ztKDtA","add","1065588EPBlRD","1743928eWKbEH"];return($t=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(307099===parseInt(e(376))/1+-parseInt(e(375))/2*(parseInt(e(380))/3)+parseInt(e(385))/4+-parseInt(e(382))/5*(-parseInt(e(383))/6)+parseInt(e(388))/7*(parseInt(e(381))/8)+parseInt(e(384))/9*(-parseInt(e(378))/10)+-parseInt(e(377))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Bt{[Zt(374)];[Zt(386)];[Zt(373)];constructor(e,i){const s=Zt;this[s(374)]=e,this[s(386)]=i,this[s(373)]=new t.Collection}[Zt(387)](t){const e=Zt;for(const i of t)this[e(373)][e(379)](i)}}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=te;!function(t){const e=te,i=t();for(;;)try{if(980840===parseInt(e(388))/1+parseInt(e(514))/2+parseInt(e(355))/3*(-parseInt(e(318))/4)+-parseInt(e(376))/5+-parseInt(e(471))/6+-parseInt(e(459))/7+parseInt(e(417))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);const Kt={c:Z.ViewContainerElement,a:Z.ViewAttributeElement,e:Z.ViewEmptyElement,r:Z.ViewRawElement,u:Z.ViewUIElement};function Qt(){const t=["requires","createPositionFromPath","newRevisionId","bindElementToMarker","attributesBefore","attributes","keys","2831132kYcLEG","execute","getChild","concat","level","numberOfChanges","markerToHighlight","isCollapsed","_step","_removeRevisionMarkers","_balloon","mapper","viewItem","_refreshStartEndIndex","isBefore","pop","set","element","has","side","forceDisabled","default","hasClass","find","addMarker:revision-suggestion:deletion","_makeModelFromTape","createRange","code","suggestion:","downcastDispatcher","flat","diffData","isEnabled","schema","loadRevisionData","getLaterVisibleRevision","isRemoved","showNextChange","listenTo","map","isPremiumPlugin","getAttribute","findIndex","isBlock","isAfter","_update","model","backward","_fixObsoleteTags","text","markers","ck-suggestion-preview-marker","POSITIVE_INFINITY","_getRevisionsRange","ck-revision-history-root-","previousPosition","softBreak","editor","range","slice","userId","string","high","addMarker:revision","_setChanges","checkAttribute","attributesAfter","splice","isOfficialPlugin","next","_joinTapes","isReady","ck-revision-history-root-add","showPreviousChange","diff","createRevision","changeId","createPositionBefore","markerName","stop","editing","getIndex","comment","_changeIdToChange","length","affectsData","return","domEvent","bind","all","reconvertMarker","uiElement","change:activeView","change","nextSibling","isOnRoot","_data","revision-viewer","ck-suggestion-marker--active","_markMarkers","getClientRects","removeClass","toViewRange","getRevision","createAttributeElement","forEach","markersEnd","type","_getDiff","_cleanUp","getCustomProperty","name","_getViewForChange","test","rootName","currentChangeNumber","mousedown","addClass","attachChange","unshift","deletion","error","getRevisionData","ck-suggestion-preview-marker-","_threeWayMerge","nextPosition","elementStart","parse","values","deletions","removeMarker:revision-suggestion","pluginName","insertions","repository","get","attribute:vid","vid_start","removeMarker","clear","index","5465888KULmYP","getItems","forward","conversion","destroy","createRangeIn","bottom","vid_end","ck-revision-history-root--active","RevisionsRepository","config","_setDistance","_getViewObj","addMarker:revision-suggestion:insertion","end","then","shift","revisionHistoryLabel","object","markerNameToElements","merge","_sortAndFilterDiffChanges","_markInsertions","detachRoot","parent","getRevisionRootsAttributes","isAddSuggestion","right","change:isReady","remove","consume","addRevision","isAtEnd","first","left","hasAttribute","isNavigationMode","3FxsxUs","collaboration.channelId","enqueueChange","toData","WidgetToolbarRepository","roots","startIndex","adapter","for","_findChangeIdFromDomTarget","processor","maxOffset","revision-suggestion:","activeChange","mapViewToDom","elementToAttribute","startsWith","enableReadOnlyMode","addHighlight","isIncorrect","split","1863985xCpqly","insertion","add","plugins","_appendChild","getRootNames","low","data-change-id","activeView","from","toViewElement","markerToData","340457uaQPqL","isAttached","ck-revision-history-root-remove","isSuggestion","start","suggestion","restoreRevisionCallback","data-revision-","_revisions","item","done","revision-start","delete","vid","_cleanMarkers","isAdded","pairId","change:isEnabled","marked","observeMarkers","removeMarker:revision","sort","insert","locale","catch","RevisionViewer","domConverter","elementEnd","_setConversion","18347592UntyOb","_markSuggestions","_removeMissingPairs","revision-end","commands","unbindElementFromMarkerName","markerRange","ck-suggestion-marker","change:activeChange","toViewPosition","distance","ck-suggestion-marker-","writer","selection","addRevisionData","editingDowncast","_changeView","isLimit","revision:","revision-suggestion","revisionHistory","showStack","top","ck-suggestion-marker-merge","revision-comment:","markersStart","restoreRevision","ck-suggestion-marker-split","revisionHistoryAttachChange","mouseover","createUIElement","updatePosition","abs","document","_processTape","indexOf","endIndex","getRoot","isRemoveSuggestion","consumable","isAtStart","getWalker","464506oEWFJR","filter","toModel","element:pre","addRoot","change:numberOfChanges","isObject","_makeTape","compare","_removeUnsupportedChanges","changes","init","7578030EjtpTC","offsetSize","_getChangeFromId","includes","_activeViewTarget","ck-editor__editable__overlay","_initInteractions","wrap","oldRevisionId","getDomRoot","isContent","push","refresh","removeAttribute","span","dataDowncast","revision","-new","highest","resolve","authors","view","target","data","upcast","dataToMarker","nodeAfter","setAttribute","_markMismatchedRemovedTags","_makeModelFromViewString","useFillerType","getAttributes","isInline","isEqual","modelRange","children"];return(Qt=function(){return t})()}class Xt extends U.Plugin{[Gt(311)];[Gt(362)];[Gt(475)];[Gt(433)];[Gt(597)];[Gt(524)];static get[Gt(309)](){return Gt(413)}static get[Gt(582)](){return!0}static get[Gt(554)](){return!0}static get[Gt(507)](){return[H.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(311)]=this[e(571)][e(379)][e(312)](e(327)),this[e(530)](e(368),null),this[e(530)](e(384),null),this[e(475)]=null,this[e(530)](e(588),null),this[e(530)](e(585),!1),this[e(530)](e(546),!0),this.on(e(405),((t,i,s)=>{const n=e;this[n(368)]=null,this[n(384)]=null,this[n(571)][n(594)][n(492)][n(607)]((t=>{const e=n;for(const i of this[e(571)][e(594)][e(492)][e(450)][e(360)])s?t[e(615)](e(476),i):t[e(631)](e(476),i)}))})),this[e(602)](e(354)).to(this,e(368),(t=>null!==t)),this[e(602)](e(629)).to(this,e(585),this,e(588),this,e(368),((t,i,s)=>t&&s?i[e(469)][e(595)](s):0)),this[e(602)](e(519)).to(this,e(585),this,e(588),((t,i)=>t?i[e(469)][e(598)]:0)),this[e(433)]=null,this[e(597)]=new Map,this[e(362)]=null,this[e(524)]=this[e(571)][e(379)][e(312)](ft.ContextualBalloon)}[Gt(470)](){const t=Gt,e=this[t(571)],i=new se(e,{direction:t(561)}),s=new se(e,{direction:t(320)});e[t(421)][t(378)](t(587),i),e[t(421)][t(378)](t(551),s),e[t(421)][t(378)](t(443),new ie(e)),this.on(t(464),(()=>{const e=t;i[e(483)](),s[e(483)]()})),this[t(416)](),this[t(477)](),e[t(372)](t(611)),e[t(379)][t(532)](t(359))&&e[t(379)][t(312)](t(359))[t(534)](t(611))}async[Gt(300)](t){const e=Gt;await this[e(548)](t);const i={};for(const s in t[e(545)]){if(t[e(545)][s][e(296)]&&!t[e(545)][s][e(296)][e(389)])continue;const n=this[e(523)](JSON[e(305)](t[e(545)][s][e(310)])),r=this[e(571)][e(594)][e(492)][e(450)],o=new Z.ViewDocumentFragment(r,n[e(553)]((t=>this[e(330)](t))));this[e(571)][e(494)][e(365)][e(501)](e(406)),i[s]=this[e(571)][e(494)][e(365)][e(358)](o),this[e(571)][e(494)][e(365)][e(501)](e(535))}return i}async[Gt(343)](t){const e=Gt;await this[e(548)](t);const i={};for(const s in t[e(545)])t[e(545)][s][e(296)]&&!t[e(545)][s][e(296)][e(389)]||(i[s]=t[e(545)][s][e(580)]||{});return i}[Gt(523)](t){const e=Gt;return(t=t[e(460)]((t=>!t[e(625)]||e(399)!==t[e(625)]&&e(420)!==t[e(625)])))[e(619)]((t=>{const i=e;i(575)!=typeof t&&(t[i(506)]=this[i(523)](t[i(506)]),t[i(512)]=t[i(512)][i(460)]((t=>!t[0][i(371)](i(395)))))})),t}async[Gt(467)](t,e,i=!1){const s=Gt;if(!this[s(546)])return;const n=this[s(588)],r=this[s(311)],o=s(575)==typeof t?r[s(617)](t):t,a=s(575)==typeof e?r[s(617)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(588)]&&this[s(588)][s(509)]===c&&this[s(588)][s(479)]===u)return Promise[s(490)]();this[s(585)]=!1,this[s(384)]=null,this[s(368)]=null,this[s(588)]=new Bt(c,u);const l=this[s(567)](o,a,!0)[s(553)]((t=>this[s(548)](t)));return l[s(482)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(603)](l)[s(333)]((()=>{const t=s;if(!this[t(546)])return;this[t(623)]();const e=this[t(622)](c,u);for(const i of e[t(469)])this[t(597)][t(530)](i.id,i);this[t(571)][t(560)][t(357)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(571)][s(560)][s(450)][s(381)]())i[s(341)](t);for(const t of Object[s(513)](e[s(560)])){const n=i[s(463)](t);for(const r of Object[s(513)](e[s(512)][t]))i[s(498)](r,e[s(512)][t][r],n);i[s(410)](e[s(560)][t],n,0)}})),this[t(588)][t(578)](this[t(339)](e[t(469)])),this[t(585)]=!0}))[s(412)]((t=>{const e=s;console[e(299)](t),this[e(623)](),n&&(this[e(588)]=n),this[e(585)]=!0}))}[Gt(431)](t,e){const i=Gt,s=this[i(311)][i(589)](t);return s.on(i(559),((t,i,n)=>e(i,n,s))),this[i(311)][i(349)](s),s}[Gt(548)](t){const e=Gt;if(!t||t[e(545)])return Promise[e(490)]();{const i=this[e(571)][e(328)][e(312)](e(356));return this[e(362)][e(617)]({channelId:i,revisionId:t.id})[e(333)]((i=>{const s=e;t[s(559)]({diffData:i[s(545)]},!0)}))}}[Gt(623)](){const t=Gt;this[t(368)]=null,this[t(402)](),this[t(433)]&&this[t(433)][t(322)](),this[t(433)]=null,this[t(597)][t(316)](),this[t(571)][t(560)][t(357)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(571)][i(560)][i(450)][i(381)]())e[i(341)](t)}))}[Gt(339)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(571)][e(560)][e(450)][e(381)]()){const n=this[e(571)][e(594)][e(492)][e(480)](t);if(!n)continue;const r=n[e(614)]()[e(397)](0);r&&(i[e(482)](t),s[e(530)](t,r))}return i[e(409)](((t,i)=>{const n=e,r=s[n(312)](t),o=s[n(312)](i);return r.y-o.y||r.x-o.x})),(t=t[e(460)]((t=>i[e(474)](t[e(628)]))))[e(409)](((t,s)=>i[e(452)](t[e(628)])-i[e(452)](s[e(628)]))),t}[Gt(466)](t){const e=Gt,i=Array[e(385)](t[e(564)])[e(460)]((([t,i])=>t[e(371)](e(435))&&!i[e(521)])),s=Array[e(385)](this[e(571)][e(560)][e(323)](t)[e(458)]({singleCharacters:!0}));if(0!=i[e(598)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(375)](":");if(n[e(332)][e(504)](t[e(303)])&&i[e(334)](),(t[e(569)][e(504)](n[e(392)])||t[e(569)][e(558)](n[e(392)]))&&(e(377)==r?t[e(403)]={userId:o}:e(298)==r&&(t[e(550)]={userId:o})),0==i[e(598)])break}return s}[Gt(527)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(598)];s++)e(563)===t[s][e(621)]?(t[s][e(397)][e(361)]=s,t[s][e(397)][e(453)]=s):(e(304)===t[s][e(621)]?t[s][e(397)][e(361)]=s:e(415)===t[s][e(621)]&&(t[s][e(397)][e(453)]=s),i[e(530)](t[s].id,s));for(const s of i[e(306)]())e(304)===t[s][e(621)]?t[s][e(397)][e(453)]=i[e(312)](t[s][e(404)]):e(415)===t[s][e(621)]&&(t[s][e(397)][e(361)]=i[e(312)](t[s][e(404)]))}[Gt(451)](t){const e=Gt;for(let i=0;i<t[e(598)];i++){if(e(304)===t[i][e(621)])t[i][e(397)][e(361)]=i;else if(e(415)===t[i][e(621)]){t[i][e(397)][e(453)]=i;const s=t[i][e(397)][e(361)];t[s][e(404)]=t[i].id,t[i][e(404)]=t[s].id}else t[i][e(397)][e(361)]=i,t[i][e(397)][e(453)]=i,t[i][e(404)]=null;t[i][e(442)]||(t[i][e(442)]=[],t[i][e(620)]=[])}}[Gt(340)](t,e){const i=Gt,s=t[i(460)]((t=>!t[i(403)]));for(let t=0;t<e[i(598)];t++)e[t][i(403)]&&(s[t][i(403)]=e[t][i(403)])}[Gt(500)](t){const e=Gt,i=JSON[e(305)](t),s=this[e(571)][e(594)][e(492)][e(450)],n=new Z.ViewDocumentFragment(s,i[e(553)]((t=>this[e(330)](t))));return this[e(571)][e(494)][e(461)](n)}[Gt(330)](t){const e=Gt,i=this[e(571)][e(594)][e(492)][e(450)];if(e(575)==typeof t)return new Z.ViewText(i,t);{const s=t[e(506)][e(553)]((t=>this[e(330)](t)));return new(Kt[t[e(621)]]||Z.ViewElement)(i,t[e(625)],t[e(512)],s)}}[Gt(622)](t,e=null){const i=Gt,s=this[i(311)][i(617)](t),n=e?this[i(311)][i(617)](e):null,r=this[i(567)](s,n),o=r[r[i(598)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(598)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(513)](e[i(545)]))if(e[i(545)][t][i(296)]){const s=e[i(545)][t][i(296)];s[i(389)]?(u[i(378)](t),l[i(532)](t)&&l[i(312)](t)[i(574)]==s[i(574)]?l[i(400)](t):l[i(530)](t,s)):l[i(532)](t)?(u[i(400)](t),l[i(400)](t)):(u[i(378)](t),l[i(530)](t,s))}else u[i(378)](t)}for(const t of u){const e=l[i(532)](t)&&!l[i(312)](t)[i(389)];let s=e?r[i(598)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(545)][t]){const s=e?o[i(545)][t][i(511)]:o[i(545)][t][i(580)];c[i(512)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(560)]={};for(const e of t[i(491)])a[i(530)](e.id,e);for(const e of u){const s=t[i(545)][e]?t[i(545)][e][i(310)]:"[]",n=t[i(545)][e]?t[i(545)][e][i(307)]:"[]";t[i(560)][e]={insertions:this[i(500)](s),deletions:this[i(500)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(385)](s[i(560)][t][i(310)][i(564)])[i(460)]((([t])=>!t[i(371)](i(435)))));let h=0;for(const o of r){const r=this[i(466)](o[i(560)][t][i(310)]);o==s?(e=r,n=e[i(598)],e[i(619)]((t=>{t.id=h++})),this[i(451)](e)):this[i(340)](e,r);const a=e[i(460)]((t=>!t[i(403)]))[i(553)]((t=>t.id));let c=0;const l=this[i(466)](o[i(560)][t][i(307)]);l[i(619)]((t=>{t[i(550)]?t.id=n++:t.id=a[c++]})),this[i(451)](l),this[i(329)](e,i(403)),this[i(329)](l,i(550)),o==s&&this[i(613)](e,u),e=this[i(584)](e,l),this[i(527)](e),this[i(329)](e,i(550))}e=e[i(460)]((t=>!(t[i(403)]&&t[i(550)])));const d=new Map(o[i(560)][t][i(307)][i(564)]),f=new Set(u[i(513)]());for(const t of d[i(513)]())f[i(400)](t);this[i(418)](e,f),this[i(562)](e),e=this[i(419)](e),e=this[i(499)](e),e=this[i(468)](e);const{root:m,changes:p}=this[i(539)](e,a,t);c[i(560)][t]=m;const v=l[i(312)](t);if(v){const e=a[i(312)](v[i(574)]),s=new Ut({author:e,type:v[i(389)]?i(378):i(347),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(297)](s),c[i(512)][t][i(445)]=s.id}c[i(469)]=c[i(469)][i(517)](p)}return c}[Gt(613)](t,e){const i=Gt;for(let s=0;s<t[i(598)];s++)for(const[n,r]of e)r[i(392)][i(504)](t[s][i(569)])&&t[s][i(442)][i(482)](n),r[i(332)][i(504)](t[s][i(303)])&&t[s][i(620)][i(482)](n)}[Gt(584)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(598)]||r<e[i(598)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(482)](o);else if(a[i(550)]&&o[i(403)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(302)](t,n,e,r);s=s[i(517)](o),n=a,r=c}else a[i(550)]?(r++,s[i(482)](a)):(n++,s[i(482)](o))}return s}[Gt(418)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(598)];o++){for(let r=0;r<t[o][i(442)][i(598)];r++){const a=t[o][i(442)][r];if(!e[i(532)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(436)!=c||i(377)!=u&&i(298)!=u||(s[i(297)]({type:u,name:a,userId:l}),t[o][i(442)][i(581)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(620)][i(598)];r++){const a=t[o][i(620)][r];if(!e[i(532)](a))continue;const{group:c,type:u}=n(a);if(i(436)!=c||i(377)!=u&&i(298)!=u)continue;t[o][i(620)][i(581)](r,1),r--;const l=s[i(556)]((t=>t[i(625)]==a));l>-1&&s[i(581)](l,1)}}function n(t){const e=i,s=t[e(375)](":");return{group:s[0],type:s[1],subType:s[e(598)]>=5?s[2]:null,id:s[e(598)]<5?s[2]:s[3],authorId:s[e(598)]<5?s[3]:s[4],markerCount:6==s[e(598)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(598)];i++){if(t[e(403)]&&e(377)==s[i][e(621)])return t[e(344)]=s[i],void delete t[e(403)];if(!t[e(403)]&&!t[e(550)]&&e(298)==s[i][e(621)])return void(t[e(455)]=s[i])}}}[Gt(329)](t,e){const i=Gt;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(530)](o.id,s);for(let s=0;s<t[i(598)];s++){if(i(550)==e&&t[s][i(403)]||i(403)==e&&t[s][i(550)])continue;if(i(563)==t[s][i(621)]){t[s][i(427)]=0;continue}const n=r[i(312)](t[s][i(404)]),o=r[i(312)](t[s].id);t[s][i(427)]=n-o}}[Gt(567)](t,e,i=!1){const s=Gt,n=[];let r=this[s(311)][s(595)](t),o=this[s(311)][s(595)](e);for(-1==o&&(o=this[s(311)][s(396)][s(598)],i=!1);r<o;)n[s(482)](this[s(311)][s(617)](r)),r++;return i&&n[s(482)](this[s(311)][s(617)](r)),n}[Gt(302)](t,e,i,s){const n=Gt,r=this[n(571)][n(560)][n(547)];let o=e;for(;t[o]&&t[o][n(403)];)o++;let a=s;for(;i[a]&&i[a][n(550)];)a++;u(t,e,o),u(i,s,a);const c=i[n(573)](s,a)[n(517)](t[n(573)](e,o));return c[n(409)](((t,e)=>t[n(533)]!=e[n(533)]?t[n(533)]-e[n(533)]:t[n(518)]!=e[n(518)]?t[n(518)]-e[n(518)]:t[n(427)]!=e[n(427)]?e[n(427)]-t[n(427)]:!!t[n(403)]!=!!e[n(403)]?-1==t[n(533)]||0==t[n(533)]?t[n(403)]?-1:1:t[n(403)]?1:-1:t[n(317)]-e[n(317)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(566)],c=!0;for(let n=e;n<i;n++)if(r[s(503)](t[n][s(397)])||(c=!1),t[n][s(397)][s(361)]<e&&(o=n),t[n][s(397)][s(453)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(533)]=n<=o?-1:n<a?0:1,t[n][s(317)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(427)]?t[i][s(518)]=u:(u++,t[i][s(518)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(533)]&&(t[n][s(518)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(427)]?t[e][s(518)]=u:(u--,t[e][s(518)]=u,u--)}}[Gt(562)](t){const e=Gt,i=new Map,s=this[e(571)][e(560)][e(547)];for(let n=1;n<t[e(598)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(563)==c[e(621)])continue;if(c[e(621)]!=u[e(621)])continue;if(!s[e(557)](u[e(397)])||s[e(434)](u[e(397)]))continue;if(!s[e(557)](c[e(397)])||s[e(434)](c[e(397)]))continue;if((t[n][e(403)]||t[n][e(344)])&&t[n-1][e(550)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(550)]||!t[n-1][e(403)]&&!t[n-1][e(344)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(518)]==o[e(518)],h=Math[e(449)](r[e(518)])<Math[e(449)](o[e(518)])&&0==o[e(427)];(l||h)&&(i[e(530)](o.id,r.id),t[e(581)](a,1),n--,r[e(403)]=!1)}for(let s=0;s<t[e(598)];s++)i[e(532)](t[s][e(404)])&&(t[s][e(404)]=i[e(312)](t[s][e(404)]))}[Gt(419)](t){const e=Gt,i=new Set(t[e(553)]((t=>t.id)));for(let s=0;s<t[e(598)];s++)i[e(532)](t[s][e(404)])||0==t[s][e(427)]||(t[s][e(374)]=!0);return t[e(460)]((t=>!t[e(374)]))}[Gt(499)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(598)];s++){if(i[e(532)](t[s].id)&&t[s][e(550)]&&(t[s][e(374)]=!0),t[s][e(374)])continue;if(0==t[s][e(427)])continue;if(e(304)!=t[s][e(621)])continue;if(null==t[s][e(404)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(404)];)e(304)==t[n][e(621)]?r++:e(415)==t[n][e(621)]&&r--,n++;if(0!=r)if(t[s][e(550)])t[s][e(374)]=!0;else for(;n!=s;)t[n][e(550)]&&0!=t[n][e(427)]&&(t[n][e(374)]=!0,i[e(378)](t[n][e(404)])),n--}return t[e(460)]((t=>!t[e(374)]))}[Gt(468)](t){const e=Gt,i=this[e(571)][e(560)][e(547)];for(let s=0;s<t[e(598)];s++){if(!(t[s][e(403)]||t[s][e(344)]||t[s][e(550)]||t[s][e(455)]))continue;if(0==t[s][e(427)])continue;const n=t[s][e(397)];i[e(557)](n)||i[e(434)](n)||(t[s][e(403)]&&delete t[s][e(403)],t[s][e(344)]&&delete t[s][e(344)],t[s][e(455)]&&delete t[s][e(455)],t[s][e(550)]&&(t[s][e(374)]=!0))}return t[e(460)]((t=>!t[e(374)]))}[Gt(539)](t,e,i){const s=Gt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(571)][s(560)],c=a[s(547)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(598)];e++)if(s(304)===t[e][s(621)]){t[e][s(569)]=a[s(508)](n,f);const i=new Z.Element(t[e][s(397)][s(625)],t[e][s(397)][s(502)]());u[0][s(380)](i),f[s(482)](0),u[s(297)](i),t[e][s(303)]=a[s(508)](n,f)}else s(415)===t[e][s(621)]?(u[s(334)](),t[e][s(569)]=a[s(508)](n,f),f[s(529)](),f[f[s(598)]-1]++,t[e][s(303)]=a[s(508)](n,f)):(t[e][s(569)]=a[s(508)](n,f),d?d[s(610)]+=t[e][s(397)][s(494)]:d=new Z.Text(t[e][s(397)][s(494)],t[e][s(397)][s(502)]()),t[e+1]&&s(563)===t[e+1][s(621)]&&v(d,t[e+1][s(397)])||(u[0][s(380)](d),d=null),f[f[s(598)]-1]+=t[e][s(397)][s(472)],t[e][s(303)]=a[s(508)](n,f));for(let e=0;e<t[s(598)];e++){const i=t[e][s(569)],n=t[e][s(303)];for(const n of t[e][s(442)])o[s(530)](n,{start:i,end:null});m(s(455),e,i,n),m(s(344),e,i,n),m(s(550),e,i,n),m(s(403),e,i,n);for(const i of t[e][s(620)])o[s(312)](i)[s(332)]=n}for(const[t,e]of o){const i=this[s(571)][s(560)][s(540)](e[s(392)],e[s(332)]);n[s(564)][s(530)](t,i)}return r[s(409)](((t,e)=>{const i=s,r=n[i(564)][i(312)](i(435)+t.id),o=n[i(564)][i(312)](i(435)+e.id);return r[i(392)][i(528)](o[i(392)])?-1:r[i(392)][i(558)](o[i(392)])?1:r[i(332)][i(528)](o[i(332)])?-1:r[i(332)][i(558)](o[i(332)])?1:i(378)===t[i(621)]?-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(574)]:null,d=i===t[o(598)]-1,f=h[e][0],m=c[o(465)](t[i][o(397)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(332)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(574)]!==u&&(l[e][o(332)]=n,f&&f[o(574)]===l[e][o(574)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(304)!==t[i][o(621)]||f&&f[o(574)]===u||h[e][o(297)]({userId:u,object:t[i][o(397)],change:l[e]}),o(415)===t[i][o(621)]&&f&&f[o(336)]===t[i][o(397)]&&(h[e][o(334)](),l[e]=f[o(607)])),l[e]&&d&&(l[e][o(332)]=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(397)],f=a[h(547)][h(557)](d)&&!a[h(547)][h(434)](d),m=t[h(497)]==o[h(342)]&&o[h(457)];if(f&&m)return;const p=a[h(540)](t,o),v=e[h(312)](u),g=new Ut({author:v,type:h(403)==l||h(344)==l?h(378):h(347),data:{isSuggestion:h(344)==l||h(455)==l},createdAt:new Date,rootName:i});r[h(482)](g),n[h(564)][h(530)](h(435)+g.id,p)}function v(t,e){const i=s,n=t[i(502)](),r=e[i(502)]();for(const t of n){if(t[1]!==e[i(555)](t[0]))return!1;r[i(583)]()}return r[i(583)]()[i(398)]}}[Gt(416)](){const t=Gt;this[t(571)][t(321)][t(363)](t(495))[t(496)]({view:t(487)}),this[t(571)][t(321)][t(363)](t(432))[t(520)]({model:t(487),view:e=>{const i=t,s=e[i(592)][i(375)](":")[1],n=this[i(473)](s);if(!n)return null;const r=i(378)==n[i(621)]?i(377):i(298),o=[i(424),i(428)+r];return n[i(494)][i(391)]&&o[i(482)](i(428)+r+i(488)),this[i(368)]==n&&o[i(482)](i(612)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(571)][t(321)][t(363)](t(495))[t(378)]((e=>{const i=t;e.on(i(462),((t,e,s)=>{const n=i,r=e[n(526)][n(516)](0);if(!r||!r.is(n(531),n(541)))return;if(!s[n(456)][n(348)](r,{attributes:[n(314),n(325)]}))return;const o=e[n(505)][n(392)][n(497)];s[n(429)][n(498)](n(314),r[n(555)](n(314)),o),s[n(429)][n(498)](n(325),r[n(555)](n(325)),o)}),{priority:i(382)})})),this[t(571)][t(321)][t(363)](t(495))[t(378)]((e=>{const i=t;e.on(i(531),((t,e,s)=>{const n=i;if(!s[n(456)][n(348)](e[n(526)],{attributes:[n(314),n(325)]}))return;if(e[n(505)][n(521)])return;const r=e[n(505)][n(392)][n(497)];r[n(353)](n(314))||r[n(353)](n(401))||(s[n(429)][n(498)](n(314),e[n(526)][n(555)](n(314)),r),s[n(429)][n(498)](n(325),e[n(526)][n(555)](n(325)),r))}),{priority:i(382)})})),this[t(571)][t(321)][t(363)](t(495))[t(370)]({view:{name:t(485),attributes:{vid:!0}},model:{key:t(401),value:e=>e[t(555)](t(401))}}),this[t(571)][t(560)][t(547)].on(t(579),((e,[,i])=>{const s=t;[s(314),s(325),s(401)][s(474)](i)&&(e[s(600)]=!0,e[s(593)]())}),{priority:t(489)}),this[t(571)][t(321)][t(363)](t(486))[t(378)]((e=>{const i=t;e.on(i(313),((t,e,s)=>{const n=i;if(" "!=e[n(397)][n(494)]||e[n(397)][n(342)][n(366)]>1)return;if(!s[n(456)][n(348)](e[n(397)],t[n(625)]))return;const r=s[n(429)],o=s[n(525)][n(616)](e[n(572)]);r[n(478)](o,r[n(618)](n(485)))}))})),this[t(571)][t(321)][t(363)](t(486))[t(387)]({model:t(487)}),this[t(571)][t(594)][t(543)].on(t(577),function(e){const i=t,s=e[i(379)][i(312)](i(413));return(t,n,r)=>{const o=i,a=n[o(592)][o(375)](":")[1],c=s[o(473)](a);if(!c)return null;const u=o(378)==c[o(621)]?o(375):o(338);if(!r[o(456)][o(627)](n[o(423)],t[o(625)]))return;const l=n[o(423)][o(458)](),h=n[o(423)][o(392)],d=e[o(560)][o(547)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(397)];p=p||d[o(481)](e);const i=r[o(525)][o(386)](e);if(i&&i[o(624)](o(373)))return;o(415)==t[o(621)]&&d[o(557)](e)&&!d[o(434)](e)&&(e[o(608)]||h[o(350)]?f&&f[o(342)]==e||(f=e,g(t[o(569)]),v=!0):m=m||t[o(569)])}function g(t){const e=o,i=r[e(429)][e(447)](e(485),{class:e(428)+u}),a=r[e(525)][e(426)](t);c[e(494)][e(391)]&&r[e(429)][e(631)](e(428)+u+e(488),i),s[e(368)]==c&&r[e(429)][e(631)](e(612),i),r[e(429)][e(410)](a,i),r[e(525)][e(510)](i,n[e(592)])}p||v||!m||g(m)}}(this[t(571)]),{priority:t(576)}),this[t(571)][t(594)][t(543)].on(t(408),((e,i,s)=>{const n=t,r=s[n(525)][n(337)](i[n(592)]);if(r)for(const t of r)(t[n(536)](n(444))||t[n(536)](n(440)))&&(s[n(525)][n(422)](t,i[n(592)]),s[n(429)][n(347)](t))}),{priority:t(576)}),this[t(571)][t(594)][t(543)].on(t(577),((e,i,s)=>{const n=t,r=i[n(592)][n(375)](":")[1],o=this[n(473)](r);if(!o)return null;const a=n(378)==o[n(621)]?n(375):n(338);if(s[n(456)][n(627)](i[n(423)],e[n(625)]))for(const t of i[n(423)][n(319)]()){if(!t.is(n(531),n(570)))continue;const e=s[n(429)][n(447)](n(485),{class:n(428)+a}),r=s[n(525)][n(426)](this[n(571)][n(560)][n(591)](t));o[n(494)][n(391)]&&s[n(429)][n(631)](n(428)+a+n(488),e),this[n(368)]==o&&s[n(429)][n(631)](n(612),e),s[n(429)][n(410)](r,e),s[n(525)][n(510)](e,i[n(592)])}}),{priority:t(576)}),this[t(571)][t(560)][t(450)].on(t(607),(()=>{const e=t;this[e(571)][e(594)][e(492)][e(607)]((t=>{const i=e;for(const e of this[i(571)][i(560)][i(450)][i(381)]()){const s=this[i(571)][i(560)][i(450)][i(454)](e),n=this[i(571)][i(594)][i(492)][i(450)][i(454)](e);if(n){const e=s[i(555)](i(445));if(t[i(484)](i(383),n),t[i(615)](i(586),n),t[i(615)](i(390),n),t[i(615)](i(326),n),e){const s=this[i(473)](e);if(!s)return null;t[i(498)](i(383),e,n),t[i(631)](i(568)+s[i(621)],n),this[i(368)]==s&&t[i(631)](i(326),n)}}}}))})),this[t(571)][t(321)][t(363)](t(495))[t(496)]({view:t(596),model:e=>t(441)+e,converterPriority:t(489)}),this[t(571)][t(321)][t(363)](t(495))[t(496)]({view:t(393),model:e=>t(367)+e,converterPriority:t(489)}),this[t(571)][t(321)][t(363)](t(486))[t(387)]({model:t(436),view:e=>({name:t(542)+e,group:t(436)}),converterPriority:t(489)}),this[t(571)][t(321)][t(363)](t(432))[t(520)]({model:t(436),view:e=>{const i=t,s=e[i(592)][i(375)](":")[1];return i(377)!=s&&i(298)!=s?null:{classes:[i(565),i(301)+s]}}}),this[t(571)][t(594)][t(543)].on(t(538),ee(this[t(571)],t(338)),{priority:t(576)}),this[t(571)][t(594)][t(543)].on(t(331),ee(this[t(571)],t(375)),{priority:t(576)}),this[t(571)][t(594)][t(543)].on(t(308),((e,i,s)=>{const n=t,r=s[n(525)][n(337)](i[n(592)]);if(r)for(const t of r)t.is(n(605))&&(s[n(525)][n(422)](t,i[n(592)]),s[n(429)][n(347)](t))}),{priority:t(576)})}[Gt(473)](t){const e=Gt;return this[e(597)][e(312)](t)}[Gt(626)](t){const e=Gt;return this[e(433)]&&this[e(433)][e(322)](),this[e(433)]=new jt(this[e(571)][e(411)],t),this[e(433)]}[Gt(477)](){const t=Gt;this[t(571)][t(560)][t(450)][t(430)][t(407)](t(487)),this.on(t(606),((e,i,s,n)=>{const r=t;n&&this[r(524)][r(347)](n),s&&(this[r(524)][r(378)]({view:s,stackId:r(335),position:{target:()=>{const t=r,e=this[t(571)][t(594)],i=this[t(473)](s[t(590)]);let n;if(i[t(494)][t(609)]){const s=e[t(492)][t(480)](i[t(628)]);n=Array[t(385)](s[t(614)]())}else{const i=this[t(571)][t(560)][t(564)][t(312)](t(435)+s[t(590)]);n=Array[t(385)](e[t(525)][t(337)](i[t(625)]))[t(553)]((i=>e[t(492)][t(414)][t(369)](i)))[t(553)]((e=>Array[t(385)](e[t(614)]())))[t(544)]()}return this[t(475)]&&n[t(537)]((e=>e[t(439)]-3<=this[t(475)].y&&e[t(324)]+3>=this[t(475)].y&&e[t(352)]-3<=this[t(475)].x&&e[t(345)]+3>=this[t(475)].x))||n[0]}}}),this[r(524)][r(438)](r(335)))})),this.on(t(425),((e,i,s,n)=>{const r=t;this[r(384)]=s?this[r(626)](s):null,this[r(571)][r(560)][r(607)]((()=>{const t=r,e=this[t(571)][t(594)];n&&(n[t(494)][t(609)]?e[t(492)][t(607)]((i=>{const s=t;i[s(615)](s(326),e[s(492)][s(450)][s(454)](n[s(628)]))})):e[t(604)](t(435)+n.id)),s&&(s[t(494)][t(609)]?e[t(492)][t(607)]((i=>{const n=t;i[n(631)](n(326),e[n(492)][n(450)][n(454)](s[n(628)]))})):e[t(604)](t(435)+s.id))}))})),this[t(552)](this[t(571)][t(594)][t(492)][t(450)],t(446),((e,i)=>{const s=t;if(this[s(368)])return;const n=this[s(364)](i[s(493)]),r=this[s(597)][s(312)](n);r?(this[s(475)]={x:i[s(601)].x,y:i[s(601)].y},this[s(384)]=this[s(626)](r)):(this[s(475)]=null,this[s(384)]=null)})),this[t(552)](this[t(571)][t(594)][t(492)][t(450)],t(630),((e,i)=>{const s=t,n=this[s(364)](i[s(493)]),r=this[s(597)][s(312)](n);r?(this[s(475)]={x:i[s(601)].x,y:i[s(601)].y},r===this[s(368)]?this[s(524)][s(448)]():this[s(368)]=r):(this[s(475)]=null,this[s(368)]=null)}))}[Gt(364)](t){const e=Gt;do{const i=t[e(555)](e(383));if(i)return i;t=t[e(342)]}while(t);return null}[Gt(402)](){const t=Gt;this[t(571)][t(560)][t(607)]((e=>{const i=t;for(const t of this[i(571)][i(560)][i(564)])e[i(315)](t)}))}}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=296]})(t,e)}function ee(t,e){return(i,s,n)=>{const r=te;if(!n[r(456)][r(627)](s[r(423)],i[r(625)]))return;const o=s[r(423)][r(458)](),a=s[r(423)][r(392)],c=t[r(560)][r(547)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(397)];h=h||c[r(481)](e);const i=n[r(525)][r(386)](e);if(i&&i[r(624)](r(373)))return;r(415)==t[r(621)]&&c[r(557)](e)&&!c[r(434)](e)&&(e[r(608)]||a[r(350)]?u&&u[r(342)]==e||(u=e,f(t[r(569)]),d=!0):l=l||t[r(569)])}function f(t){const i=r,o=n[i(525)][i(426)](t),a=n[i(429)][i(447)](i(485),{class:i(301)+e});n[i(429)][i(410)](o,a),n[i(525)][i(510)](a,s[i(592)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(379)][e(312)](Xt);this[e(599)]=!1,this[e(552)](i,e(346),(()=>this[e(483)]())),this[e(552)](i,e(405),(()=>this[e(483)]()))}[Gt(515)](){const t=Gt,e=this[t(571)],i=e[t(379)][t(312)](Xt),s=i[t(585)]?i[t(588)][t(509)]:null;e[t(328)][t(312)](t(437))[t(394)](s)}[Gt(483)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(571)][t(379)][t(312)](Xt),r=n&&s[t(549)](n[t(509)]);this[t(546)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(522)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(379)][i(312)](Xt);this[i(599)]=!1,this[i(522)]=i(320)===e?1:-1,this[i(552)](s,i(346),(()=>this[i(483)]())),this[i(552)](s,i(405),(()=>this[i(483)]())),this[i(552)](s,i(425),(()=>this[i(483)]()))}[Gt(515)](){const e=Gt,i=this[e(571)],s=i[e(379)][e(312)](Xt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(368)]=n?s[e(588)][e(469)][e(312)](r+this[e(522)]):s[e(588)][e(469)][e(351)],s[e(368)][e(494)][e(609)])o=i[e(594)][e(492)][e(480)](s[e(368)][e(628)]);else{const t=i[e(560)][e(564)][e(312)](e(435)+s[e(368)].id);o=(0,H.getMarkerDomElement)(i[e(594)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(483)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(571)][t(379)][t(312)](Xt);this[t(546)]=!!(r&&n&&s)&&(!e||(1===this[t(522)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(){const t=["4wBpyfm","Show next change","fire","execute","ck-revision-history-ui__changes-navigation","isEnabled","EDIT_X_OF_Y_REVISIONS","Show previous change","Loading...","ck-hidden","394340UXIWuB","150884mfMXYI","set","1729976pnidPc","setTemplate","236253ZsFGuc","backward","span","numberOfChanges","45GxpBrt","ck-revision-history-ui__changes-navigation__label","bindTemplate","_isStatusLabelVisible","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","99EoqbMK","isNavigationMode","X_OF_Y_CHANGES","ck-revision-history-ui","isBackwardNavigationEnabled","div","currentChangeNumber","129804dyqZOr","isReady","_statusText","53798qDDJuf","bind","No changes","NUMBER_OF_CHANGES","1052016NbFUOX","forward","Total","ck-revision-history-ui__changes-navigation__wrapper"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=378]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(136343===-parseInt(e(419))/1*(parseInt(e(411))/2)+parseInt(e(391))/3+parseInt(e(387))/4+parseInt(e(395))/5*(parseInt(e(408))/6)+parseInt(e(415))/7+parseInt(e(389))/8+parseInt(e(401))/9*(-parseInt(e(386))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends ft.View{constructor(t){const e=ae;super(t);const i=this[e(397)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(388)](e(402),!1),this[e(388)](e(409),!1),this[e(388)](e(407),0),this[e(388)](e(394),0),this[e(388)](e(399),!1),this[e(388)](e(405),!1),this[e(412)](e(398)).to(this,e(409),this,e(394),((t,e)=>t&&e>0)),this[e(412)](e(410)).to(this,e(409),this,e(407),this,e(394),this,e(402),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(384));if(!n)return J(t,o(413));const a=J(t,o(414),n);return r?J(t,o(403),[s+1,n]):a})),s[e(388)]({label:J(t,e(383)),tooltip:!0,icon:dt.IconChevronUp}),n[e(388)]({label:J(t,e(420)),tooltip:!0,icon:dt.IconChevronDown}),s[e(412)](e(381)).to(this,e(405)),n[e(412)](e(381)).to(this,e(399)),s.on(e(379),(()=>this[e(378)](e(379),e(392)))),n.on(e(379),(()=>this[e(378)](e(379),e(416)))),this[e(390)]({tag:e(406),attributes:{class:["ck",e(404),e(380)]},children:[{tag:e(393),attributes:{class:[e(418)]},children:[{tag:e(393),attributes:{class:[e(396),i.if(e(398),e(385),(t=>!t))]},children:[{text:i.to(e(402),(i=>i?J(t,e(382))+": ":J(t,e(417))+": "))}]},{text:i.to(e(410))}]},new ft.ToolbarSeparatorView,{tag:e(406),attributes:{class:[e(400)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=de;function de(t,e){const i=me();return(de=function(t,e){return i[t-=358]})(t,e)}!function(t){const e=de,i=t();for(;;)try{if(107231===parseInt(e(367))/1*(parseInt(e(378))/2)+-parseInt(e(359))/3+parseInt(e(377))/4+-parseInt(e(381))/5*(parseInt(e(366))/6)+parseInt(e(383))/7*(parseInt(e(382))/8)+parseInt(e(362))/9+parseInt(e(358))/10*(-parseInt(e(371))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const fe=he(380);function me(){const t=["removeClass","change","editing","9276tsSYta","215lEWMdT","document","view","show","1661NAuvxX","addClass","isOfficialPlugin","editor","isPremiumPlugin","hide","29456tXafHr","8peoAPH","pluginName","ck-editor__editable__loading-overlay","530VukEnm","436328dDvtPi","21cbQTfD","2130WeVkRR","92103LEQGTe","RevisionViewerLoadingOverlay","roots","1459116vsutWM"];return(me=function(){return t})()}class pe extends U.Plugin{static get[he(379)](){return he(360)}static get[he(373)](){return!0}static get[he(375)](){return!0}[he(370)](){const t=he,e=this[t(374)][t(365)][t(369)];e[t(364)]((i=>{const s=t;for(const t of e[s(368)][s(361)])i[s(372)](fe,t)}))}[he(376)](){const t=he,e=this[t(374)][t(365)][t(369)];e[t(364)]((i=>{const s=t;for(const t of e[s(368)][s(361)])i[s(363)](fe,t)}))}}const ve=ge;function ge(t,e){const i=ye();return(ge=function(t,e){return i[t-=437]})(t,e)}function ye(){const t=["requires","44RDjvOf","exitToEditing","16329460oPaVGJ","RevisionViewerUI","bind","hide","Back to editing","showNextChange","isBackwardNavigationEnabled","isReady","isForwardNavigationEnabled","init","changesNavigation","componentFactory","revisionHistory","listenTo","add","6927660DkdWTl","currentChangeNumber","numberOfChanges","2941790vRIQfn","change:isReady","120mKgsAG","showPreviousChange","394QWyQIs","restoreRevision","1630104hkcyJg","isPremiumPlugin","207999VzocCr","commands","plugins","isNavigationMode","forward","get","config","closeRevisionViewerCallback","isEnabled","isOfficialPlugin","execute","168931EjnYOf","Restore this revision","ck-revision-history-ui__back-to-editing","pluginName","editor","313xAVnIQ","show","set"];return(ye=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(426903===parseInt(e(478))/1*(parseInt(e(458))/2)+parseInt(e(462))/3*(-parseInt(e(482))/4)+-parseInt(e(454))/5+-parseInt(e(456))/6*(parseInt(e(473))/7)+-parseInt(e(460))/8+parseInt(e(451))/9+parseInt(e(484))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class ke extends U.Plugin{static get[ve(476)](){return ve(437)}static get[ve(471)](){return!0}static get[ve(461)](){return!0}static get[ve(481)](){return[Xt,pe]}[ve(445)](){const t=ve,e=this[t(477)],i=e[t(464)][t(467)](Xt),s=e[t(464)][t(467)](pe);e.ui[t(447)][t(450)](t(483),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(480)]({label:J(i,s(440)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(475)}),this[s(449)](n,s(472),(()=>{const t=s;e[t(468)][t(467)](t(448))[t(469)]()})),n})),e.ui[t(447)][t(450)](t(459),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(480)]({label:J(i,s(474)),withText:!0,tooltip:!0}),n[s(438)](s(470)).to(e[s(463)][s(467)](s(459))),this[s(449)](n,s(472),(()=>e[s(472)](s(459)))),n})),e.ui[t(447)][t(450)](t(446),(s=>{const n=t,r=new ce(s),o=e[n(463)][n(467)](n(457)),a=e[n(463)][n(467)](n(441));return r[n(438)](n(442)).to(o,n(470)),r[n(438)](n(444)).to(a,n(470)),r[n(438)](n(443),n(452),n(453),n(465)).to(i),this[n(449)](r,n(472),((t,i)=>{const s=n;e[s(472)](s(466)===i?s(441):s(457))})),r})),s[t(479)](),i.on(t(455),((e,i,n)=>{const r=t;n?s[r(439)]():s[r(479)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Se;function Ie(){const t=["fieldView","_tooltipString","input","266823sPLomO","listenTo","1679998mrvndA","ck-revision-history-sidebar__revision-name","1018128NiKArP","Enter the revision name","render","1LILhqA","value","span","1542104JgYxRn","_updateTooltipText","_resizeObserver","extendTemplate","1896426UjCfAX","5WUkQXX","10612670szhpcd","Revision name","9vvHYUP","clientWidth","1941252JcYDnP","set","destroy","ck-tooltip_multi-line","element","scrollWidth","placeholder","bindTemplate"];return(Ie=function(){return t})()}function Se(t,e){const i=Ie();return(Se=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(457374===parseInt(e(316))/1*(-parseInt(e(311))/2)+parseInt(e(309))/3+-parseInt(e(313))/4*(parseInt(e(293))/5)+parseInt(e(298))/6+parseInt(e(292))/7+-parseInt(e(288))/8+-parseInt(e(296))/9*(-parseInt(e(294))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Oe extends ft.LabeledFieldView{[_e(290)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(305)];this[i(299)]({label:J(t,i(295)),_tooltipString:""}),this[i(306)][i(304)]=J(t,i(314)),this[i(291)]({tag:i(318),attributes:{class:[i(312)],"data-cke-tooltip-text":s.to(i(307)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(301)}})}[_e(315)](){const e=_e;super[e(315)](),this[e(290)]=new t.ResizeObserver(this[e(306)][e(302)],(()=>this[e(289)]())),this[e(310)](this[e(306)],e(308),(()=>this[e(289)]()))}[_e(300)](){const t=_e;super[t(300)](),this[t(290)]&&this[t(290)][t(300)]()}[_e(289)](){const t=_e,e=this[t(306)][t(302)];this[t(307)]=e[t(303)]>e[t(297)]&&e[t(317)]||""}}var xe=i(249),Te={attributes:{"data-cke":!0}};Te.setAttributes=wt(),Te.insert=kt().bind(null,"head"),Te.domAPI=gt(),Te.insertStyleElement=It();pt()(xe.A,Te);xe.A&&xe.A.locals&&xe.A.locals;function Ne(){const t=["Revision author","6445260yrJzjA","Revision creator","0 0 11 10","8084874TAcetj","4783392sowytO","28exNMYE","span","136515gNjwqS","name","setTemplate","set","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","1491654MXGRXG","40iPusgM","push","ck-revision-history-sidebar__revision-author_creator","3276016teqMLd","4980720yZCXmF"];return(Ne=function(){return t})()}function Re(t,e){const i=Ne();return(Re=function(t,e){return i[t-=419]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(961195===parseInt(e(435))/1+-parseInt(e(419))/2+-parseInt(e(420))/3+-parseInt(e(427))/4*(-parseInt(e(429))/5)+parseInt(e(422))/6+-parseInt(e(425))/7+parseInt(e(436))/8*(parseInt(e(426))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class Ae extends ft.View{constructor(t,e,i){const s=Re;super(t);const n=new ft.IconView;n[s(432)]({content:dt.IconUser,viewBox:s(424)});const r=["ck",s(434)];i&&r[s(437)](s(438));const o=[{tag:s(428),attributes:{class:["ck",s(433)],title:J(t,s(i?423:421))},children:[n,e[s(430)]]}];this[s(431)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=452]})(t,e)}function Ve(){var t=["numeric","4936135NgNtTX","2802LxIUFC","12975336oLrzBT","32386dNoRdH","toLocaleDateString","11112uMHUWw","367820nDEQls","long","17323974XUSeDg","10oWiXur","11697mMVUZe","toLocaleTimeString","4wBXSdH","8074ssOABT","9ivsKrw"];return(Ve=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(999984===parseInt(e(465))/1+parseInt(e(462))/2*(parseInt(e(457))/3)+parseInt(e(455))/4*(parseInt(e(459))/5)+-parseInt(e(460))/6*(parseInt(e(453))/7)+parseInt(e(461))/8+parseInt(e(467))/9*(-parseInt(e(452))/10)+parseInt(e(456))/11*(parseInt(e(464))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ee.A,De);Ee.A&&Ee.A.locals&&Ee.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=236]})(t,e)}function Fe(){const t=["panelPosition","ck-revision-history-sidebar__revision__actions","menu","isEnabled","isOpen","model","map","490973EYFBPy","add","first","776184yrSGYa","ck-on","bindTemplate","name","change:isActionsDropdownOpen","2bwXfuD","button","Compare against selected","stopPropagation","isVisible","source","set","find","_action","isActionsDropdownOpen","children","function","377640HQGSSv","isReady","690267qLeHdj","8742sSnXMH","class","Show more items","Restore this revision","execute","180359aygFIS","Name this revision","extendTemplate","buttonView","bind","listView","locale","menuitem","3425120aILAQn","action","listenTo","items","16mCIAtx","630vlaRip"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(124766===-parseInt(e(277))/1+parseInt(e(257))/2*(-parseInt(e(271))/3)+parseInt(e(252))/4+parseInt(e(241))/5*(-parseInt(e(272))/6)+parseInt(e(249))/7*(parseInt(e(240))/8)+parseInt(e(269))/9+parseInt(e(236))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=wt(),je.insert=kt().bind(null,"head"),je.domAPI=gt(),je.insertStyleElement=It();pt()(Le.A,je);Le.A&&Le.A.locals&&Le.A.locals;const Pe=We;function ze(){const t=["ck-reset","creator","4648UqpMKz",".ck-thread__remove-confirm","closest","ck-revision-history-sidebar__revision-wrapper","revisionActionsView","listenTo","unhighlight","authors","938250khdzPS","ck-disabled","220","ck-revision-history-sidebar__revision__controls-wrapper","isActionsDropdownOpen","srcElement","setTemplate","span","select","9BnvEse","isReady","change","ck-revision-history-sidebar__revision__date","22thmXTj","fieldView","isHighlighted","createdAt","ck-revision-history-sidebar__revision_selected","div","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","filter","536kJybHg","bind","name","revisionNameView","ck-revision-history-sidebar__revision-authors","9891sdxLBs","fire","5001450lVtyWa","isConfirm","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__actions_dropdown_open","_revision","_requireRevisionName","466615BPneRv","1293444qnWhdL","set","1NwOFCg","192GZALhj","value","deselect","map","isEnabled","uiLanguage","length","297886hatIQJ","unshift","_createdAtFormatted","from","setName","render","bindTemplate","isSelected","extendTemplate","element","ck-revision-history-sidebar__revision_highlighted","highlight"];return(ze=function(){return t})()}function We(t,e){const i=ze();return(We=function(t,e){return i[t-=368]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(257350===-parseInt(e(429))/1*(-parseInt(e(370))/2)+parseInt(e(418))/3*(-parseInt(e(413))/4)+parseInt(e(426))/5+parseInt(e(392))/6+-parseInt(e(384))/7*(-parseInt(e(430))/8)+parseInt(e(401))/9*(parseInt(e(420))/10)+-parseInt(e(405))/11*(parseInt(e(427))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class Ue extends((0,H.ConfirmMixin)(ft.View)){id;[Pe(416)];[Pe(388)];[Pe(424)];[Pe(425)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(376)],a=function(t,e){const i=r,s=Array[i(373)](e[i(391)])[i(412)]((t=>t!=e[i(383)]));return e[i(383)]&&s[i(371)](e[i(383)]),s[i(433)]((s=>new Ae(t,s,s==e[i(383)])))}(e,i);this.id=i.id,this[r(424)]=i,this[r(425)]=n,this[r(414)](r(415),r(408)).to(i),this[r(414)](r(372)).to(this,r(408),(t=>{return i=e[r(368)],(s=t)[(n=Me)(463)](i,{month:n(466),day:n(458)})+", "+s[n(454)](i,{hour:n(458),minute:n(458)});var i,s,n})),this[r(428)](r(377),!1),this[r(428)](r(407),!1),this[r(428)](r(396),!1),this[r(428)](r(402),!1),this[r(428)](r(434),!1),this[r(416)]=new Oe(e,ft.createLabeledInputText),this[r(416)][r(406)][r(378)]({attributes:{maxlength:r(394)}}),this[r(416)][r(406)][r(414)](r(431)).to(this,r(415),(t=>t||this[r(372)])),this[r(416)][r(414)](r(434)).to(this,r(377),this,r(434),((t,e)=>t&&e)),this[r(388)]=s&&s[r(369)]?function(e,i){const s=Ce,n=e[s(254)],r=e[s(283)],o=(0,ft.createDropdown)(r);o[s(242)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(283)],n={"Compare against selected":J(s,i(259)),"Name this revision":J(s,i(278)),"Restore this revision":J(s,i(275))};return e[i(248)]((t=>{const e=i,s=n[t[e(255)]];return s&&s!==t[e(255)]&&(t[e(255)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(258),model:new ft.ViewModel({label:t[n(255)],class:t[n(273)],withText:!0,role:n(284),_action:t[n(237)]})};i[n(247)][n(281)](n(245)).to(e,n(266),(i=>n(268)!=typeof t[n(245)]||!i||t[n(245)](e))),o[n(250)](i)}return o}(e,i);return e[s(281)](s(266)).to(o,s(246)),o[s(280)][s(263)]({label:J(r,s(274)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(279)]({attributes:{class:[s(243),n.if(s(266),s(253))]},on:{click:n.to((t=>t[s(260)]()))}}),o.on(s(276),(t=>{const i=s;e[i(270)]&&i(268)==typeof t[i(262)][i(265)]&&t[i(262)][i(265)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(244)}),o[s(238)](e,s(256),((t,n,r)=>{const a=s;if(r)for(const t of o[a(282)][a(239)]){const s=t[a(267)][a(251)],n=i[a(264)]((t=>t[a(237)]===s[a(265)]))[a(261)];t[a(261)]=void 0===n||n(e)}})),o}(this,s):"",this[r(388)]&&this[r(388)][r(414)](r(434)).to(this),this[r(398)]({tag:r(410),attributes:{class:["ck",r(382),r(387),o.if(r(421),r(411))]},children:[{tag:r(410),attributes:{class:["ck",r(382),r(422),o.if(r(434),r(393),(t=>!t)),o.if(r(377),r(409)),o.if(r(407),r(380)),o.if(r(396),r(423))]},children:[this[r(416)],{tag:r(399),attributes:{class:["ck",r(404)]},children:[{text:o.to(r(372))}]},{tag:r(410),attributes:{class:["ck",r(395)]},children:[{tag:"ul",attributes:{class:["ck",r(417)]},children:a}]},this[r(388)]],on:{click:o.to((t=>{const e=r;t[e(397)][e(386)](e(385))||this[e(402)]&&this[e(434)]&&this[e(419)](e(400),{id:this.id})}))}}]})}[Pe(375)](){const t=Pe;super[t(375)]();const e=this[t(416)][t(406)][t(379)];this[t(389)](e,t(403),(()=>{const i=t;this[i(425)]&&!e[i(431)]||this[i(419)](i(374),{id:this.id,name:e[i(431)]}),e[i(431)]||(e[i(431)]=this[i(415)]?this[i(415)]:this[i(372)])}))}[Pe(400)](){this[Pe(377)]=!0}[Pe(432)](){this[Pe(377)]=!1}[Pe(381)](){this[Pe(407)]=!0}[Pe(390)](){this[Pe(407)]=!1}}class He extends Error{}class Ze extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ge extends He{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",Xe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Qe,day:Ke},ii={year:Ke,month:Qe,day:Ke,weekday:Qe},si={year:Ke,month:Xe,day:Ke},ni={year:Ke,month:Xe,day:Ke,weekday:Xe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},yi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},ki={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},bi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,timeZoneName:Xe},wi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ti={};class Ni extends _i{static create(t){return Ti[t]||(Ti[t]=new Ni(t)),Ti[t]}static resetCache(){Ti={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:ws(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 Ri={};let Ai={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.DateTimeFormat(t,e),Ai[i]=s),s}let Vi={};let Ei={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{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=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return As(this.floor?Math.floor(t):Ds(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&&Ni.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 Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Di=null,Ai={},Vi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=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?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(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 Fi(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=eo.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 Fi(this,t,en,(()=>{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=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new Pi(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:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Hi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Hi(0)),Ui}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Zi extends _i{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Zi(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={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]},Yi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${$i[i]}${e}`)),Ji[i][e]}let Ki,Qi=()=>Date.now(),Xi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){Xi=t}static get defaultZone(){return qi(Xi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Wi.resetCache(),Ni.resetCache(),eo.resetCache(),Ji={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(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 hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(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 ks(t){const e=Is(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,Ls(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(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&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ts(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(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 Is(t)&&t>=e&&t<=i}function As(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(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 Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Zs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ts(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Zs(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${As(i,2)}:${As(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${As(i,2)}${As(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["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"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];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"],Xs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Xs];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(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 un[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 As(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 sn[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 en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.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=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(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 hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...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 mn(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 pn(...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 vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Tn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.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 An(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(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(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:Xs.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Cn=/^(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$/,Fn=/^(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$/,Ln=/^(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[Vn(e,n,s,i,r,o,a),Hi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Hi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Hn=dn(yn),Zn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,xn,Tn),qn=fn(bn,On,xn,Tn),$n=fn(wn,On,xn,Tn),Bn=fn(On,xn,Tn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,xn,Tn);const Qn="Invalid Duration",Xn={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}},tr={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},...Xn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,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:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Xn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(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 ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(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),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.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 ur({values:qs(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[Rn,An])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.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 os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new ur({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 Ye(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?ln.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=nr.map((e=>{const i=this.values[e];return ws(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+=Ds(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 eo.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?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(Ts(e.values,t)||Ts(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.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]=Zs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(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 cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(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=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)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;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(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 cr(this.matrix,e),or(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 or(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 nr)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 lr="Invalid Interval";class hr{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 os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.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:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.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=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.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?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).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(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.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(hr.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:hr.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 hr.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(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[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=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(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=fr(t,e);return(i-i%7)/7}],["days",fr]],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=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search($i.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={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 Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(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 br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\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(Ts(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;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(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),ws(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ts(i,"a")&&Ts(i,"H"))throw new Be("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 Tr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),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=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Ar=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(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 Fr(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 Lr(t,e,i){return Cr(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,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.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]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(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=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=As(t.c.year,i?6:4),e?(s+="-",s+=As(t.c.month),s+="-",s+=As(t.c.day)):(s+=As(t.c.month),s+=As(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=As(t.c.hour);return e?(o+=":",o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=As(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=As(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=As(Math.trunc(-t.o/60)),o+=":",o+=As(Math.trunc(-t.o%60))):(o+="+",o+=As(Math.trunc(t.o/60)),o+=":",o+=As(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Zr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["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 Ye(t);return e}(t)}}function Gr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $r)ws(t[e])&&(t[e]=Hr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Xr&&(Xr=rs.now()),to[t]=t.offset(Xr)),to[t]}(i);[n,r]=Lr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(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 Xr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.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=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Gr({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 eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Ar||t>Ar?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e),n=qs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Zr,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=$r,v=Hr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=Rs(t.weekNumber,1,zs(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=Rs(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=Lr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Zn],[Wn,qn],[Un,$n],[Hn,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,jn],[Fn,jn],[Ln,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Tr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Jn,Zn],[Gn,Kn])}(t);return Pr(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 os?t:new os(t,e);if(rs.throwOnInvalid)throw new Ze(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Xr=void 0,to={}}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?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.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=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.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]=Lr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=qs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.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?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(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 ur.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(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.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||eo.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||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.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 Tr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new 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?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(){const t=["setLocale","minus","1016053JJgeeG","week","3449478enQNOd","startOf","28xPKWJe","7743510CiZkdb","7dAoJCX","monthLong","16NlsyKz","weekdayLong","year","month","269810KokoRg","957330ueWQQl","day","toJSDate","705234sAsRAc","toRelativeCalendar","hasSame","2972575AOMkHF","local","fromJSDate"];return(so=function(){return t})()}function no(t,e){const i=so();return(no=function(t,e){return i[t-=333]})(t,e)}function ro(t,e){const i=no,s=eo[i(340)](t)[i(341)](e),n=eo[i(339)](),r=n[i(342)]({days:1})[i(346)](i(333));let o,a;return s[i(337)](n,i(333))?(o=s[i(346)](i(333))[i(334)](),a=s[i(336)]()):s[i(337)](r,i(333))?(o=r[i(334)](),a=s[i(336)]()):s[i(337)](n,i(344))?(o=s[i(346)](i(344))[i(334)](),a=s[i(352)]||""):s[i(337)](n,i(353))?(o=s[i(346)](i(354))[i(334)](),a=s[i(350)]||""):(o=s[i(346)](i(353))[i(334)](),a=String(s[i(353)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(946735===-parseInt(e(343))/1+parseInt(e(355))/2+parseInt(e(335))/3*(parseInt(e(347))/4)+parseInt(e(338))/5+-parseInt(e(345))/6*(-parseInt(e(349))/7)+parseInt(e(351))/8*(-parseInt(e(356))/9)+-parseInt(e(348))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(so);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=uo;function uo(t,e){const i=lo();return(uo=function(t,e){return i[t-=469]})(t,e)}function lo(){const t=["addRevision","remove","startDate","618724zbFqCx","233534qQgTbf","658YsuXAR","delegate","span","454075mGPYgd","2134886frMNwX","localizedPeriodName","createCollection","12nukshq","div","_requireRevisionName","6BkuQYw","revisionViews","4308953HzIDen","uiLanguage","select","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__label","15WcBbyY","add","locale","ck-revision-history-sidebar__time-period__revisions","find","640TqJzxZ","setName","10hwqcZM","setTemplate","removeRevision","_revisionActions","128QbwizJ","5873103rDlYNf"];return(lo=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(520710===-parseInt(e(502))/1*(parseInt(e(489))/2)+parseInt(e(484))/3*(-parseInt(e(500))/4)+parseInt(e(470))/5*(parseInt(e(477))/6)+parseInt(e(501))/7*(parseInt(e(495))/8)+parseInt(e(496))/9*(parseInt(e(491))/10)+-parseInt(e(479))/11*(-parseInt(e(474))/12)+-parseInt(e(471))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class ho extends ft.View{[co(499)];[co(478)];[co(494)];[co(476)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(486)][n(480)])[n(472)];this[n(499)]=e,this[n(478)]=this[n(473)](),this[n(494)]=i,this[n(476)]=s,this[n(478)][n(503)](n(481)).to(this),this[n(478)][n(503)](n(490)).to(this),this[n(492)]({tag:n(475),attributes:{class:["ck",n(482)]},children:[{tag:n(469),attributes:{class:["ck",n(483)]},children:[{text:r}]},{tag:n(475),attributes:{class:["ck",n(487)]},children:this[n(478)]}]})}[co(497)](t){const e=co,i=new Ue(this[e(486)],t,this[e(494)],this[e(476)]);this[e(478)][e(485)](i)}[co(493)](t){const e=co,i=this[e(478)][e(488)]((e=>e.id===t.id));this[e(478)][e(498)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(){const t=["339bkxyTg","setTemplate","14480zBWhYP","ck-revision-history-sidebar__header__label","ck-reset_all","20Exkxyr","625KYIjYP","span","255817jytmPq","ck-revision-history-sidebar__header","81SLHzoB","16780lIRUEy","5179202QkzZSo","content","div","Revision history","1573932NQmJvF","453312NGFYaS","2459259gqrGWf"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=334]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(517478===-parseInt(e(348))/1+-parseInt(e(342))/2*(-parseInt(e(340))/3)+parseInt(e(351))/4*(-parseInt(e(346))/5)+parseInt(e(337))/6+-parseInt(e(352))/7+-parseInt(e(338))/8*(-parseInt(e(350))/9)+parseInt(e(345))/10*(parseInt(e(339))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);class go extends ft.View{constructor(t){const e=vo;super(t);const i=new ft.IconView;i[e(334)]=dt.IconHistory,this[e(341)]({tag:e(335),attributes:{class:["ck",e(344),e(349)]},children:[i,{tag:e(347),attributes:{class:["ck",e(343)]},children:[J(t,e(336))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["ck-revision-history-sidebar","ck-reset","_revisionActions","_revisions","ck-disabled","_getTimePeriodViewByStartDate","526616GGHzdQ","div","removeRevision","ck-revision-history-sidebar__timeline","323qLeCmp","63uVVykF","_addRevision","298630gGFfPo","createdAt","find","11vHuonH","timePeriodViews","set","setTemplate","revisionSetName","createCollection","revisionViews","bindTemplate","207678wYUCId","delegate","flat","1382591LSObRd","highlight","selectRevision","add","getTime","render","_requireRevisionName","map","highlightRevisions","unhighlight","startDate","locale","select","5nbRNhX","ck-rounded-corners","remove","_removeRevision","956tLiuGN","get","3YrWaeb","deselect","addRevision","fire","some","uiLanguage","456996oHVpik","revisionSelected","533908XyGWwK","setName","isEnabled"];return(bo=function(){return t})()}const wo=_o;function _o(t,e){const i=bo();return(_o=function(t,e){return i[t-=221]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(137820===-parseInt(e(259))/1*(-parseInt(e(236))/2)+parseInt(e(238))/3*(parseInt(e(246))/4)+parseInt(e(232))/5*(-parseInt(e(273))/6)+parseInt(e(276))/7+-parseInt(e(255))/8+parseInt(e(260))/9*(-parseInt(e(262))/10)+-parseInt(e(265))/11*(parseInt(e(244))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends ft.View{[wo(266)];[wo(252)];[wo(251)];[wo(225)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(272)];this[n(266)]=this[n(270)](),this[n(266)][n(274)](n(231)).to(this),this[n(266)][n(274)](n(247)).to(this),this[n(252)]=e,this[n(251)]=i,this[n(225)]=s,this.on(n(231),((t,e)=>{const i=n;this[i(241)](i(245),e)})),this.on(n(247),((t,e)=>{const i=n;this[i(241)](i(269),e)})),this[n(267)](n(248),!1),this[n(268)]({tag:n(256),attributes:{class:["ck",n(250),n(233),n(249)]},children:[new go(t),{tag:n(256),attributes:{class:["ck",n(258),r.if(n(248),n(253),(t=>!t))]},children:this[n(266)]}]})}[wo(224)](){const t=wo;super[t(224)]();for(const e of this[t(252)])this[t(261)](e);this[t(252)].on(t(222),((e,i)=>{this[t(261)](i)})),this[t(252)].on(t(234),((e,i)=>{this[t(235)](i)}))}get[wo(271)](){const t=wo;return this[t(266)][t(226)]((e=>e[t(271)][t(226)]((t=>t))))[t(275)]()}[wo(221)](t){const e=wo;for(const i of this[e(271)])t&&t.id===i.id?i[e(231)]():i[e(239)]()}[wo(227)](t){const e=wo;for(const i of this[e(271)])t[e(242)]((({id:t})=>t===i.id))?i[e(277)]():i[e(228)]()}[wo(261)](t){const e=wo,i=ro(t[e(263)],this[e(230)][e(243)])[e(229)];let s=this[e(266)][e(237)](0);s&&s[e(229)][e(223)]()===i[e(223)]()||(s=new ho(this[e(230)],i,this[e(251)],this[e(225)]),this[e(266)][e(222)](s)),s[e(240)](t)}[wo(235)](t){const e=wo,i=ro(t[e(263)],this[e(230)][e(243)])[e(229)];this[e(254)](i)[e(257)](t)}[wo(254)](t){const e=wo;return this[e(266)][e(264)]((i=>i[e(229)][e(223)]()===t[e(223)]()))}}const So=Oo;function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=375]})(t,e)}function xo(){const t=["repository","2ybznND","revisionHistory.revisionActions","_handleRevisionSetName","revisionSetName","focus","compare","editor","map","231426kuLGtI","action","assign","diff","isOfficialPlugin","_handleEditorDataReady","getLaterVisibleRevision","appendChild","string","getIndex","remove","bind","10zQwVEU","config","Restore this revision","isVisible","_revisionViewer","locale","15780RMCIvD","data","newRevisionId","_createRevisionActions","RevisionsSidebar","timePeriodViews","796884VBszMf","name","setName","availableRevisionActions","get","_revisions","nameRevision","restoreRevision","destroy","Compare against selected","restoreRevisionCallback","revisionViews","highlightRevisions","element","add","9547352BIUDws","defaultRevisionActions","Name this revision","render","_handleRevisionSelected","pluginName","ready","_handleDiffChange","revisionHistory","selectRevision","isReady","_sidebarView","compareAgainstSelected","listenTo","revisionHistory.requireRevisionName","select","getRevision","init","length","isPremiumPlugin","910378XaoJKk","isSelected","change:diff","_revisionsRepository","isEnabled","revisionSelected","getRevisionsInDiff","fieldView","getEarlierVisibleRevision","plugins","1068211xRdecK","5517SsHNpF","1807576NBmIRJ","revisionHistory.viewerSidebarContainer","requires"];return(xo=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(629706===-parseInt(e(430))/1*(-parseInt(e(436))/2)+-parseInt(e(385))/3+-parseInt(e(432))/4+parseInt(e(456))/5*(-parseInt(e(444))/6)+parseInt(e(420))/7+parseInt(e(400))/8+parseInt(e(431))/9*(-parseInt(e(379))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class To extends U.Plugin{[So(377)];[So(423)];[So(411)];static[So(401)]=[So(412),So(392),So(391)];static[So(388)]=function(){const t=So;return{compareAgainstSelected:{name:t(394),action:({plugins:e},i)=>{const s=t,n=e[s(389)](Xt),r=n[s(435)];let o=n[s(447)][s(381)],a=i.id;r[s(453)](o)>r[s(453)](a)&&([o,a]=[a,o]),n[s(441)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(389)](Xt);return!(n[s(435)][s(426)](n[s(447)])[s(418)]>2||i[s(421)])}},restoreRevision:{name:t(375),action:(e,{id:i})=>{const s=t;e[s(457)][s(389)](s(408))[s(395)](i)},isVisible:({plugins:e},i)=>!!e[t(389)](Xt)[t(435)][t(450)](i.id)},nameRevision:{name:t(402),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(389)](Xt),o=r[n(435)][n(428)](i);r[n(441)](i,o),s[n(440)](),s[n(427)][n(415)]()}}}}();static get[So(405)](){return So(383)}static get[So(448)](){return!0}static get[So(419)](){return!0}static get[So(434)](){return[Xt]}constructor(t){const e=So;super(t),this[e(377)]=t[e(429)][e(389)](Xt),this[e(423)]=this[e(377)][e(435)],this[e(411)]=null}[So(417)](){const t=So,e=this[t(423)][t(390)],i=this[t(382)](),s=this[t(442)][t(457)][t(389)](t(433));this[t(411)]=new Io(this[t(442)][t(378)],e,i,this[t(442)][t(457)][t(389)](t(414))),this[t(411)].on(t(425),this[t(404)][t(455)](this)),this[t(411)].on(t(439),this[t(438)][t(455)](this)),this[t(411)][t(455)](t(424)).to(this[t(377)]),this[t(411)][t(384)].on(t(399),((e,i)=>{const s=t;i[s(396)].on(s(399),((t,e)=>{const i=s;e[i(455)](i(424),i(410)).to(this[i(377)])}))})),this[t(411)][t(403)](),this[t(413)](this[t(442)][t(380)],t(406),this[t(449)][t(455)](this)),this[t(413)](this[t(377)],t(422),this[t(407)][t(455)](this)),s[t(451)](this[t(411)][t(398)])}[So(393)](){const t=So;this[t(411)][t(398)][t(454)](),this[t(411)][t(393)]()}[So(449)](){const t=So,e=this[t(423)][t(416)](0);if(e){const i=this[t(423)][t(428)](e.id);this[t(377)][t(441)](e,i)}}[So(404)](t,e){const i=So,s=this[i(423)][i(416)](e.id),n=this[i(423)][i(428)](s.id);this[i(377)][i(441)](s,n)}[So(438)](t,e){const i=So;this[i(423)][i(416)](e.id)[i(387)](e[i(386)])}[So(407)](t,e,i){const s=So,n=this[s(423)][s(426)](i);n[s(418)]>2?(this[s(411)][s(397)](n),this[s(411)][s(409)](null)):(this[s(411)][s(397)]([]),this[s(411)][s(409)](n[0]))}[So(382)](){const t=So,e=this[t(442)],i=To[t(388)],s=e[t(457)][t(389)](t(437))||To[t(401)];if(s[t(418)])return s[t(443)]((s=>{const n=t,r=n(452)==typeof s?Object[n(446)]({},i[s]):s;return r[n(445)]=r[n(445)][n(455)](this,e),r[n(376)]&&(r[n(376)]=r[n(376)][n(455)](this,e)),r}))}}const No=To,Ro=Ao;function Ao(t,e){const i=Mo();return(Ao=function(t,e){return i[t-=419]})(t,e)}function Mo(){const t=["isFocused","editable","setEditableElement","editing","focusTracker","443795oeXcpe","restore","element","ready","129490KodKks","componentFactory","config","bind","view","name","_view","175740weVtxG","rootName","isActive","viewportTopOffset","editor","1FrRHaK","viewportOffset","fire","901156AfnovS","fillFromConfig","toolbar","attachDomRoot","_initToolbar","_elementReplacer","document","destroy","limiterElement","replace","addToolbar","10qJPcWi","render","4030VIZcqW","init","106832VqxcHJ","getRoot","_toolbarConfig","stickyPanel","1150731imXdvp","9270kFtIcs","detachDomRoot","get","7YXpgcR"];return(Mo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(378729===-parseInt(e(450))/1*(parseInt(e(438))/2)+parseInt(e(424))/3+-parseInt(e(453))/4*(-parseInt(e(464))/5)+-parseInt(e(445))/6*(parseInt(e(428))/7)+parseInt(e(420))/8+-parseInt(e(425))/9*(parseInt(e(466))/10)+parseInt(e(434))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Vo extends ft.EditorUI{[Ro(444)];[Ro(422)];[Ro(458)];get[Ro(442)](){return this[Ro(444)]}constructor(e,i){const s=Ro;super(e),this[s(444)]=i,this[s(422)]=(0,ft.normalizeToolbarConfig)(e[s(440)][s(427)](s(455))),this[s(458)]=new t.ElementReplacer}get[Ro(436)](){const t=Ro;return this[t(442)][t(436)]}[Ro(419)](t){const e=Ro,i=this[e(449)],s=this[e(442)],n=i[e(432)][e(442)],r=s[e(430)],o=n[e(459)][e(421)]();r[e(443)]=o[e(446)],s[e(465)]();const a=r[e(436)];this[e(431)](r[e(443)],a),s[e(430)][e(441)](e(429)).to(this[e(433)]),n[e(456)](a),this[e(458)][e(462)](t,this[e(436)]),this[e(457)](),this[e(452)](e(437))}[Ro(460)](){const t=Ro;super[t(460)]();const e=this[t(442)],i=this[t(449)][t(432)][t(442)];this[t(458)][t(435)](),i[t(426)](e[t(430)][t(443)]),e[t(460)]()}[Ro(457)](){const t=Ro,e=this[t(442)];e[t(423)][t(441)](t(447)).to(this[t(433)],t(429)),e[t(423)][t(461)]=e[t(436)],e[t(423)][t(441)](t(448)).to(this,t(451),(({top:t})=>t)),e[t(455)][t(454)](this[t(422)],this[t(439)]),this[t(463)](e[t(455)])}}var Eo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Co=Fo;function Fo(t,e){var i=Lo();return(Fo=function(t,e){return i[t-=137]})(t,e)}function Lo(){var t=["top","16iJikVY","41372MrWhEG","1509534DAviQB","render","9619995DbJELO","add","stickyPanel","content","4495752pSpxGD","toolbar","790KxlARZ","_editable","2600974kEDmHR","1103221YGBinL","editable","517572sSlsaq","10ngTmji","shouldToolbarGroupWhenFull","main","243PRBqgO"];return(Lo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(811896===parseInt(e(143))/1+-parseInt(e(142))/2+parseInt(e(149))/3*(-parseInt(e(152))/4)+parseInt(e(146))/5*(parseInt(e(153))/6)+-parseInt(e(155))/7+-parseInt(e(151))/8*(parseInt(e(138))/9)+parseInt(e(140))/10*(parseInt(e(145))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends ft.BoxedEditorUIView{[Co(141)];[Co(157)];[Co(139)];get[Co(144)](){return this[Co(141)]}constructor(t,e,i={}){var s=Co;super(t),this[s(157)]=new ft.StickyPanelView(t),this[s(139)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(147)]}),this[s(141)]=new ft.InlineEditableUIView(t,e)}[Co(154)](){var t=Co;super[t(154)](),this[t(157)][t(137)][t(156)](this[t(139)]),this[t(150)][t(156)](this[t(157)]),this[t(148)][t(156)](this[t(144)])}}const Po=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=289]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(702791===parseInt(e(292))/1+parseInt(e(302))/2*(parseInt(e(306))/3)+parseInt(e(303))/4*(-parseInt(e(296))/5)+parseInt(e(311))/6*(-parseInt(e(310))/7)+-parseInt(e(308))/8+parseInt(e(314))/9+-parseInt(e(304))/10*(-parseInt(e(315))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Wo extends((0,U.ElementApiMixin)(U.Editor)){[Po(299)];get ui(){return this[Po(299)]}constructor(t,e){const i=Po;super(e),this[i(317)]=t,this[i(305)][i(309)][i(316)]();const s=new jo(this[i(301)],this[i(293)][i(289)],{shouldToolbarGroupWhenFull:!0});this[i(299)]=new Vo(this,s)}[Po(307)](){const t=Po;return this[t(290)](),this.ui[t(307)](),super[t(307)]()}static async[Po(294)](t,e){const i=Po,s=new this(t,e);return await s[i(297)](),await s.ui[i(300)](t),await s[i(312)][i(300)](s[i(295)][i(291)](i(313))||""),s[i(298)](i(318)),s}}function Uo(){const t=["107248WuQDvO","4339770sJJFaf","model","51yKDnOn","destroy","3795832MeJaoJ","document","162694RHhPMe","186EZEcfx","data","initialData","3226878EKCVzI","33HtvKof","createRoot","sourceElement","ready","view","updateSourceElement","get","659306BbWZLr","editing","create","config","225zosxQD","initPlugins","fire","_ui","init","locale","92298BWdPCF"];return(Uo=function(){return t})()}const Ho=qo;!function(t){const e=qo,i=t();for(;;)try{if(817212===parseInt(e(377))/1+-parseInt(e(269))/2+parseInt(e(389))/3+parseInt(e(330))/4*(parseInt(e(408))/5)+parseInt(e(314))/6*(-parseInt(e(274))/7)+parseInt(e(400))/8*(-parseInt(e(394))/9)+parseInt(e(386))/10*(parseInt(e(327))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const Zo=[Ho(375),Ho(371)];function qo(t,e){const i=Yo();return(qo=function(t,e){return i[t-=268]})(t,e)}class $o extends U.Plugin{[Ho(399)];static get[Ho(277)](){return Ho(337)}static get[Ho(303)](){return!0}static get[Ho(335)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(334)]((t=>String[e(286)](t)))[e(396)]("")}super(t),this[e(399)]=e(387),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 Bo extends U.Plugin{[Ho(363)];static get[Ho(277)](){return Ho(271)}static get[Ho(303)](){return!0}static get[Ho(335)](){return!0}static get[Ho(268)](){return[rt,Ct]}constructor(e){const i=Ho;if(super(e),!this[i(403)][i(316)][i(291)](i(318)))throw new t.CKEditorError(i(378),this);this[i(363)]=null,this[i(403)][i(316)][i(352)](i(333),(t=>this[i(409)]({...t,translations:this[i(403)][i(273)][i(300)]}))),this[i(403)][i(316)][i(352)](i(309),(t=>this[i(278)](t))),this[i(403)][i(316)][i(352)](i(393),(t=>this[i(317)](t))),this[i(403)][i(316)][i(352)](i(373),!1),this[i(376)](),this[i(356)]()}set[Ho(275)](t){const e=Ho;this[e(403)][e(343)][e(291)](e(289))[e(275)]=t}get[Ho(275)](){const t=Ho;return this[t(403)][t(343)][t(291)](t(289))[t(275)]}[Ho(405)](t){const e=Ho;return this[e(403)][e(343)][e(291)](e(289))[e(405)](t)}[Ho(293)](t){const e=Ho;return this[e(403)][e(343)][e(291)](e(358))[e(293)](t)}[Ho(288)](t){const e=Ho;return this[e(403)][e(343)][e(291)](e(358))[e(288)](t||{toJSON:!1})}[Ho(294)](){const e=Ho,i=this[e(403)],s=(0,H.sanitizeEditorConfig)(i,Zo),n=i[e(343)][e(291)](e(289)),r=i[e(343)][e(291)](e(298))[e(332)];return s[e(295)]=[e(342),e(370),e(319)],delete s[e(359)],s[e(343)][e(284)]($o,Xt,ke,class extends U.Plugin{static get[e(268)](){return[Xt,e(298)]}[e(355)](){const s=e,o=this[s(403)][s(343)][s(291)](s(298));for(const t of r)t[s(301)]||o[s(279)](t.id)||o[s(322)](t);const a=n[s(383)][s(288)]();let c=null;const u=this[s(403)][s(343)][s(291)](s(323));u[s(275)]=n[s(275)],u[s(328)](s(385)).to(n),this[s(403)][s(290)][s(291)](s(370))[s(328)](s(385)).to(i,s(281),(t=>!t));for(const e of a){const i=null===e[s(305)];if(i&&e[s(308)]===e[s(349)])continue;const r=e[s(357)]();u[s(405)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(296)](r,o);else if(!o){const e=a[u(357)]();e.id=(0,t.uid)(),n[u(413)](e,a[u(308)])[u(407)]((t=>{c=t}))}}else e[u(296)](r,o)}))}}},No),s}[Ho(376)](){const t=Ho,e=this[t(403)][t(316)][t(291)](t(318))[t(392)];this[t(403)][t(316)][t(372)](t(333),(async()=>{const i=t;this[i(403)][i(297)](i(380));const s=this[i(403)][i(343)][i(291)](i(289));if(this[i(403)][i(343)][i(306)](i(345))){const t=this[i(403)][i(343)][i(291)](i(345));await t[i(321)]()}else await s[i(412)]();if(this[i(403)][i(343)][i(306)](i(287))&&this[i(403)][i(343)][i(291)](i(287))[i(384)](),this[i(403)][i(343)][i(306)](i(381))){const t=this[i(403)][i(343)][i(291)](i(381));t[i(270)]&&t[i(276)]()}const n=this[i(294)]();return e(n)[i(407)]((t=>{const e=i;return this[e(363)]=t,this[e(403)][e(343)][e(306)](e(379))&&this[e(403)][e(343)][e(291)](e(379))[e(365)](),t}))[i(324)]((t=>(console[i(362)](t),this[i(403)][i(304)](i(380)),null)))}))}[Ho(356)](){const t=Ho,e=this[t(403)][t(316)][t(291)](t(318))[t(411)];this[t(403)][t(316)][t(372)](t(309),(()=>(this[t(403)][t(343)][t(306)](t(287))&&this[t(403)][t(343)][t(291)](t(287))[t(384)](),this[t(363)][t(343)][t(291)](t(323))[t(325)](),e(this[t(363)])[t(407)]((()=>{const e=t;if(this[e(403)][e(304)](e(380)),this[e(363)]=null,this[e(403)][e(343)][e(306)](e(379))){const t=this[e(403)][e(343)][e(291)](e(379));t[e(365)](),t[e(368)]()}})))))}[Ho(409)](t){const e=Ho,i=this[e(403)][e(316)][e(291)](e(354)),s=this[e(403)][e(316)][e(291)](e(331)),n=this[e(403)][e(316)][e(291)](e(336));return Wo[e(364)](n,t)[e(407)]((t=>(s[e(299)][e(369)]=e(346),i[e(299)][e(369)]=e(312),t)))}[Ho(278)](t){const e=Ho,i=this[e(403)][e(316)][e(291)](e(354));return this[e(403)][e(316)][e(291)](e(331))[e(299)][e(369)]=e(312),i[e(299)][e(369)]="",t[e(339)]()}async[Ho(317)](t){const e=Ho,i=this[e(403)],s=this[e(363)][e(343)][e(291)](e(323)),n=i[e(343)][e(291)](e(289)),r=s[e(383)][e(293)](t);let o,a,c;try{o=await s[e(406)](r),a=await s[e(326)](r)}catch(t){return void console[e(362)](t)}i[e(395)][e(347)]((t=>{const s=e;for(const e of Array[s(410)](i[s(395)][s(338)][s(340)](s(292))))t[s(366)](e)})),s[e(390)]=!1,i[e(395)][e(311)]((t=>{const s=e;t[s(391)](null),t[s(401)](i[s(395)][s(388)][s(397)][s(307)]());const n=Object[s(361)](o);for(const e of i[s(395)][s(388)][s(402)])s(341)!=e[s(382)]&&e[s(280)]()&&!n[s(344)](e[s(382)])&&t[s(374)](e);for(const e of n){let n=i[s(395)][s(388)][s(329)](e);n&&n[s(280)]()||(n=t[s(350)](e));const r=a[e],c=Object[s(361)](r),u=o[e];for(const e of n[s(307)]())c[s(344)](e)||t[s(272)](e,n);for(const i of c)t[s(360)](i,a[e][i],n);t[s(348)](t[s(353)](n)),t[s(351)](i[s(315)][s(367)](u,n),n,0)}}));const u=J(i[e(273)],e(283));return c=r[e(404)]?-1==r[e(404)][e(302)](u)?u+": "+r[e(404)]:r[e(404)]:u+": "+r[e(320)][e(310)](i[e(273)][e(398)],{month:e(285),day:e(313)})+", "+r[e(320)][e(282)](i[e(273)][e(398)],{hour:e(313),minute:e(313)}),await n[e(413)]({name:c}),s[e(390)]=!0,i[e(316)][e(291)](e(318))[e(411)]()}}function Yo(){const t=["revisionHistory.requireRevisionName","detachRoot","RevisionHistoryUI","_enhanceShowRevisionViewerCallback","604925fcMBxM","revision-history-missing-configuration","Annotations","revision-history-viewer-opened","Dialog","rootName","repository","_recalculatePageBreaks","isEnabled","220zkwyYr","end","document","785028ujgDKz","isReady","setSelection","showRevisionViewerCallback","revisionHistory.restoreRevisionCallback","423XhLwvj","model","join","selection","uiLanguage","result","159944FRemBO","removeSelectionAttribute","roots","editor","name","addRevisionData","getRevisionData","then","10aeIgfb","_showRevisionViewer","from","closeRevisionViewerCallback","update","saveRevision","requires","567306UjSVIP","isOpen","RevisionHistory","removeAttribute","locale","2169853rKcHcy","adapter","hide","pluginName","_closeRevisionViewer","getUser","isAttached","isReadOnly","toLocaleTimeString","Restored","push","long","fromCharCode","PaginationLookup","getRevisions","RevisionTracker","commands","get","restrictedEditingException","getRevision","_getRevisionViewerEditorConfig","toolbar","_update","enableReadOnlyMode","Users","style","translations","isAnonymous","indexOf","isOfficialPlugin","disableReadOnlyMode","creator","has","getAttributeKeys","toVersion","revisionHistory.closeRevisionViewerCallback","toLocaleDateString","enqueueChange","none","numeric","6ikzZeG","data","config","_restoreRevision","revisionHistory","changesNavigation","createdAt","save","addUser","RevisionViewer","catch","_cleanUp","getRevisionRootsAttributes","340142zdoDCJ","bind","getRoot","1607260pUCVlj","revisionHistory.viewerContainer","users","revisionHistory.showRevisionViewerCallback","map","isPremiumPlugin","revisionHistory.viewerEditorElement","RevisionViewerIntegration","markers","destroy","getMarkersGroup","$graveyard","exitToEditing","plugins","includes","Autosave","block","change","remove","fromVersion","addRoot","insert","define","createRangeIn","revisionHistory.editorContainer","init","_enhanceCloseRevisionViewerCallback","toJSON","RevisionsRepository","lazyRoots","setAttribute","keys","error","_viewerEditor","create","refreshVisibility","removeMarker","parse","refreshPositioning","display","restoreRevision","RestrictedEditingMode","set"];return(Yo=function(){return t})()}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=460]})(t,e)}function Go(){var t=["2202230oftAHo","10vGpLdN","927468edQyIs","84FHQloT","21647640MeUtDd","6dBQGnI","66408tooBsM","3rWdkat","2356596iuCNef","329245ZCVnsd","1179clnzSc","44610LXXhxD"];return(Go=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(818384===-parseInt(e(464))/1*(parseInt(e(470))/2)+-parseInt(e(460))/3*(-parseInt(e(467))/4)+-parseInt(e(465))/5+parseInt(e(468))/6*(parseInt(e(462))/7)+parseInt(e(471))/8*(-parseInt(e(463))/9)+parseInt(e(466))/10*(-parseInt(e(461))/11)+parseInt(e(469))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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 n=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(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)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]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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 n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[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=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(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,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>Hi,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>Sn,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Lr,RevisionsRepository:()=>Qi,RevisionsSidebar:()=>qu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const V=k["__core-js_shared__"];var E,D=(E=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const $=function(t){return!(!R(t)||C(t))&&(M(t)?Z:P).test(F(t))};const H=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=H(t,e);return $(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const J=function(){this.__data__=Y?Y(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const Q=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var X=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:X.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=J,it.prototype.delete=G,it.prototype.get=Q,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vt=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Vt&&Vt.exports===Mt?k.Buffer:void 0;const Dt=(Et?Et.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const $t=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var Ht=$t&&$t.isTypedArray;const qt=Ht?zt(Ht):Lt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Qt=Kt(Object.keys,Object);var Xt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Qt(t);var e=[];for(var i in Object(t))Xt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ve="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Pe=F(B),Le=F(Ae),ze=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ve||Ae&&Ue(Ae.resolve())!=Ee||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Pe:return Ve;case Le:return Ee;case ze:return De;case We:return Ce}return e});const Ze=Ue;var $e=Object.prototype.hasOwnProperty;const He=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&$e.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Qe=Ke?Ke.valueOf:void 0;const Xe=function(t){return Qe?Object(Qe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Xe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=$t&&$t.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=$t&&$t.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=He(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Vi=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Ei=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Vi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Vi(e,t)).length;null!=t&&i<n;)t=t[Ei(e[i++])];return i&&i==n?t:void 0};const Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Vi(e,t),null==(t=Li(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Ui(){const t=["76uruAFC","4878hWVfgx","5990YudkgL","17WdpoXO","setAttribute","creator","5149896PkmNWK","attributes","83990RfIbSV","_update","56451IqnkcD","fromVersion","toVersion","name","296200RORBMm","969425PjhrXT","5049457ZNlzPF","map","authorsIds","creatorId","createdAt","diffData","fire","set","setName","removeAttribute","authors","toJSON"];return(Ui=function(){return t})()}const Zi=$i;function $i(t,e){const i=Ui();return($i=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=$i,i=t();for(;;)try{if(601977===parseInt(e(331))/1*(-parseInt(e(308))/2)+-parseInt(e(310))/3*(parseInt(e(328))/4)+-parseInt(e(315))/5+parseInt(e(334))/6+parseInt(e(316))/7+-parseInt(e(314))/8+parseInt(e(329))/9*(parseInt(e(330))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ui);class Hi extends((0,t.ObservableMixin)()){constructor(e){const i=$i;super(),this.id=e.id||(0,t.uid)(),this[i(333)]=e[i(333)]||null,this[i(326)]=e[i(326)]||[],this[i(321)]=e[i(321)]||null,this[i(312)]=e[i(312)]||0,this[i(311)]=e[i(311)]||0,this[i(323)](i(313),e[i(313)]||""),this[i(323)](i(320),e[i(320)]||new Date),this[i(323)](i(335),e[i(335)]||{})}[Zi(324)](t){this[Zi(309)]({name:t})}[Zi(332)](t,e){const i=Zi,n=vi(this[i(335)]);Ci(n,t,e),this[i(309)]({attributes:n})}[Zi(325)](t){const e=Zi,i=vi(this[e(335)]);Wi(i,t),this[e(309)]({attributes:i})}[Zi(309)](t,e=!1){const i=Zi;let n=!1;const r={id:this.id},s=[i(313),i(320),i(321),i(326),i(335),i(312),i(311),i(319)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(326)]&&(r[i(318)]=r[i(326)][i(317)]((t=>t.id)),delete r[i(326)]),this[i(322)](i(309),r,e))}[Zi(327)](){const t=Zi;return{id:this.id,name:this[t(313)],creatorId:this[t(333)]?this[t(333)].id:null,authorsIds:this[t(326)][t(317)]((t=>t.id)),diffData:this[t(321)],createdAt:this[t(320)],attributes:this[t(335)],fromVersion:this[t(311)],toVersion:this[t(312)]}}}var qi=i(782),Bi=i(211),Yi=i(783);function Ji(t,e){const i=Ki();return(Ji=function(t,e){return i[t-=343]})(t,e)}const Gi=Ji;function Ki(){const t=["plugins","get","16akvsQJ","193115rCEgIf","46730SVCPto","later","join","toJSON","3168URAyZb","editor","name","RevisionsRepository","creatorId","fromCharCode","oldRevisionId","24592iDDtTU","createRevision","_revisions","getEarlierVisibleRevision","4189248kxfGUc","diffData","getRevisionsIterator","map","449994NwQYhl","getRevision","getLaterVisibleRevision","pluginName","afterInit","length","authorsIds","href","1771315vTWqML","isOfficialPlugin","data","reverse","add","Users","isNaN","newRevisionId","1543870QiUHVT","from","getUser","earlier","attributes","isPremiumPlugin","toVersion","fromVersion","getIndex","getRevisions","push","getRevisionsInDiff","requires","createdAt","addRevision"];return(Ki=function(){return t})()}!function(t){const e=Ji,i=t();for(;;)try{if(515547===parseInt(e(392))/1+parseInt(e(374))/2+parseInt(e(358))/3+parseInt(e(391))/4*(parseInt(e(393))/5)+parseInt(e(354))/6+-parseInt(e(366))/7+parseInt(e(350))/8*(-parseInt(e(343))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Qi extends qi.Plugin{static get[Gi(386)](){return[Bi.Users]}static get[Gi(361)](){return Gi(346)}static get[Gi(367)](){return!0}static get[Gi(379)](){return!0}get[Gi(363)](){const t=Gi;return this[t(352)][t(363)]}constructor(e){const i=Gi;super(e),this[i(352)]=new t.Collection}[Gi(362)](){!async function(e){const i=k([77,53,68,118,100,111,103,78,71,90,102,67,75,87,55,48,54,119,76,121,70,65,85,107,83,110,89,52,115,104,122,101,80,109,49,114,69,113,116,79,72,98,88,82,57,73,97,50,105,86,51,112,106,108,66,81,56,74,120,84,117,99]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[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=s[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 n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),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=Ji;for(const e in window)if(window[k([78,117,109,98,101,114])][i(372)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([77]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}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 n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,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,n])=>{i(e),t(n)})):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 s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Ji;return t[e(357)]((t=>String[e(348)](t)))[e(395)]("")}!function(t){const i=l();s[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()]=n),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])]),n=y(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(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])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[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,n=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),n={...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 n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())return c(k([86,97,108,105,100]));a(),s[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=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-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 n=36e5;function s(){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])](r/n)));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)*n: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)}))}}s[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])}),s[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 n(){return s[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(){s[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 n=c[k([115,112,108,105,116])](k([46])),[r,s,o]=n;return e(r),await i(r,s,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,n){const r=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),s=(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,r,s)||(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]))&&y(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])])?r/1e3:1740787200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ji,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:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(365)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[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=>r[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&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||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)}[Gi(351)](t){const e=Gi,i=this[e(344)][e(389)][e(390)](e(371));return new Hi({id:t.id,name:t[e(345)],creator:t[e(347)]?i[e(376)](t[e(347)]):null,diffData:t[e(355)]||t[e(368)],authors:t[e(364)][e(357)]((t=>i[e(376)](t))),createdAt:new Date(t[e(387)]),attributes:t[e(378)],fromVersion:t[e(381)],toVersion:t[e(380)]})}[Gi(388)](t,e=0){const i=Gi;this[i(352)][i(370)](t,e)}[Gi(359)](t){const e=Gi;return this[e(352)][e(390)](t)}[Gi(383)](t={toJSON:!1}){const e=Gi,i=Array[e(375)](this[e(352)]);return i[e(369)](),t[e(396)]?i[e(357)]((t=>t[e(396)]())):i}[Gi(382)](t){const e=Gi;return this[e(352)][e(382)](t)}[Gi(353)](t){const e=Gi,[,i]=this[e(356)](t,{direction:e(377)});return i}[Gi(360)](t){const e=Gi,[,i]=this[e(356)](t,{direction:e(394)});return i}[Gi(385)](t){const e=Gi,i=[];for(const n of this[e(356)](t[e(373)]))if(i[e(384)](n),n.id===t[e(349)])break;return i}*[Gi(356)](t,{direction:e=Gi(377),filter:i=()=>!0}={}){const n=Gi,r=n(377)===e?1:-1;let s=this[n(352)][n(390)](t),o=this[n(382)](s);for(yield s;s;){if(o+=r,s=this[n(359)](o),!s)return;i(s)&&(yield s)}}}function Xi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=Nn;!function(t){const e=Nn,i=t();for(;;)try{if(941393===parseInt(e(533))/1+-parseInt(e(584))/2*(-parseInt(e(708))/3)+-parseInt(e(736))/4+parseInt(e(546))/5+parseInt(e(438))/6*(-parseInt(e(499))/7)+parseInt(e(471))/8*(-parseInt(e(599))/9)+parseInt(e(450))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mn);const In={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class Sn extends qi.Plugin{static get[_n(691)](){return _n(524)}static get[_n(715)](){return!0}static get[_n(617)](){return!0}static get[_n(610)](){return[Bi.Users,Qi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(472)]=null,this[i(489)]=null,this[i(601)]=new xn(this[i(733)]),this[i(656)]=this[i(733)][i(476)][i(585)](i(631))||i(440),this[i(628)]=new Map,this[i(481)]=null;const n=(0,t.uid)();this[i(693)]={history:this[i(733)][i(538)][i(635)][i(696)],getLatestVersion:()=>Promise[i(589)](this[i(733)][i(538)][i(635)][i(634)]),getCurrentRevisionId:()=>n},this[i(435)](i(639),!1),this[i(435)](i(504),!0),this[i(435)](i(540),!1),this[i(733)][i(476)][i(661)](i(683),!0),this[i(733)][i(545)][i(455)](i(734))[i(578)]({view:i(449)})}[_n(475)](){const t=_n;this[t(688)]=this[t(733)][t(437)][t(585)](t(603)),this[t(642)](),this[t(733)][t(710)].on(t(665),(()=>{const e=t,i=this[e(688)][e(483)](0),n=i&&null===i[e(464)]?i:null;if(this[e(593)]=!!n&&this[e(733)][e(476)][e(585)](e(683)),this[e(733)][e(437)][e(711)](e(467))){const t=this[e(693)][e(722)](),r=this[e(688)][e(483)](t);if(r)this[e(530)]=r[e(508)],this[e(593)]=!1;else{const t=this[e(693)][e(696)][e(595)][e(571)]((t=>!t[e(716)])),r=t?t[e(570)]:this[e(693)][e(696)][e(634)];i?(i[e(420)]<r&&i[e(676)]({toVersion:r}),this[e(593)]?(this[e(693)][e(722)]=()=>n.id,this[e(530)]=n[e(508)]):(this[e(530)]=i[e(420)],this[e(593)]=!1)):(this[e(530)]=r,this[e(593)]=!1)}}else n&&(this[e(733)][e(538)][e(635)][e(696)][e(634)]=Math[e(594)](n[e(420)],this[e(733)][e(538)][e(635)][e(696)][e(634)]),n[e(508)]===n[e(420)]?(0!==n[e(508)]&&(this[e(693)][e(722)]=()=>n.id),this[e(593)]=!1):this[e(593)]&&(this[e(693)][e(722)]=()=>n.id,this[e(530)]=n[e(508)])),this[e(593)]||(this[e(530)]=this[e(733)][e(538)][e(635)][e(634)]);this[e(601)][e(475)](this[e(693)][e(696)]),this[e(643)](this[e(530)]),this[e(514)](this[e(530)]),this[e(472)]&&this[e(701)]()})),this[t(626)](t(639)).to(this,t(540),(t=>!t)),this[t(542)]=this[t(733)][t(476)][t(585)](t(542));const e=this[t(733)];this[t(658)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(582)==s||i(645)==s||i(663)==s||i(686)==s||i(480)==s||i(648)==s||i(528)==s||i(485)==s){delete e[r],n=s,clearInterval(this[i(658)]),this[i(658)]=void 0;break}}i(645)==n&&e[i(621)](i(668)),i(663)==n&&e[i(621)](i(466)),i(686)==n&&e[i(621)](i(707)),i(480)==n&&e[i(621)](i(697),i(494)),i(648)==n&&e[i(621)](i(604)),i(528)==n&&e[i(621)](i(520)),i(485)==n&&e[i(621)](i(500))}),1e3)}async[_n(717)](){const t=_n;if(this[t(688)][t(664)]>0){const e=this[t(688)][t(483)](0),i=await this[t(667)](e),n=await this[t(579)](e);this[t(729)](i,n)}}[_n(650)](){const t=_n;super[t(650)](),this[t(658)]&&clearInterval(this[t(658)])}[_n(474)](t){this[_n(693)]=t}async[_n(445)](){const t=_n,e=await this[t(693)][t(505)]();if(e>this[t(489)][t(420)]){await this[t(624)]();const i=this[t(700)]({revision:this[t(489)],to:e});i[t(673)]=i[t(453)][t(553)]((e=>this[t(733)][t(437)][t(585)](t(424))[t(732)](e))),this[t(489)][t(676)](i)}}async[_n(624)](){const t=_n;this[t(593)]&&!this[t(481)]&&(await this[t(704)](this[t(489)]),this[t(601)][t(433)](this[t(489)]),this[t(481)]={fromVersion:this[t(489)][t(508)],authors:this[t(489)][t(673)][t(682)]()})}async[_n(484)](e={},i=null){const n=_n,r=[];await this[n(624)](),this[n(593)]=!1,i>this[n(489)][n(420)]&&(i=null),null===i&&(i=await this[n(693)][n(505)]());const s=this[n(713)](i),o=this[n(700)]({from:s,to:i});if(this[n(489)][n(420)]<i){const t=this[n(700)]({revision:this[n(489)],from:i,to:i});t[n(673)]=[],t[n(453)]=[],t.id=this[n(489)].id,this[n(489)][n(676)](t,!0),delete t[n(673)],r[n(725)](t)}e[n(511)]=this[n(733)][n(437)][n(585)](n(424)).me.id,e[n(441)]=e[n(441)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(529)](e);r[n(725)](e);const c=this[n(688)][n(583)](a);if(0!==c){const t=this[n(688)][n(483)](c-1);if(t[n(508)]!==i){const s=this[n(601)][n(638)](i,t[n(420)]),o={id:t.id,diffData:s[n(633)],authorsIds:s[n(453)],authors:s[n(453)][n(553)]((t=>this[n(733)][n(437)][n(585)](n(424))[n(732)](t))),fromVersion:i};t===this[n(489)]&&(o[n(690)]=new Date(e[n(690)][n(473)]()+10)),t[n(676)](o,!0),delete o[n(673)],r[n(725)](o)}}if(this[n(472)]){for(const t of r)this[n(506)](t.id,t,!0);this[n(701)]()}return a}[_n(529)](t){const e=_n,i=this[e(688)][e(660)](t);return this[e(472)]&&i.on(e(676),((t,i,n)=>{const r=e;n||(this[r(506)](i.id,i,!0),this[r(701)]())})),this[e(688)][e(568)](i,this[e(429)](i)),i}async[_n(667)](t){const e=_n;await this[e(704)](t);const i={};for(const n in t[e(633)]){if(t[e(633)][n][e(518)]&&!t[e(633)][n][e(518)][e(522)])continue;const r=this[e(662)](JSON[e(692)](t[e(633)][n][e(432)])),s=this[e(733)][e(657)][e(720)][e(635)],o=new Yi.ViewDocumentFragment(s,r[e(553)]((t=>On(t,this[e(733)]))));this[e(733)][e(710)][e(465)][e(616)](e(463)),i[n]=this[e(733)][e(710)][e(465)][e(448)](o),this[e(733)][e(710)][e(465)][e(616)](e(653))}return i}async[_n(579)](t){const e=_n;await this[e(704)](t);const i={};for(const n in t[e(633)])t[e(633)][n][e(518)]&&!t[e(633)][n][e(518)][e(522)]||(i[n]=t[e(633)][n][e(644)]||{});return i}[_n(701)](){const t=_n;if(0===this[t(628)][t(419)])return;if(this[t(540)])return;let e=Array[t(613)](this[t(628)][t(512)]());this[t(628)][t(479)]();for(let i=0;i<e[t(664)];i++){const n=e[i];let r=!1;for(const e of Object[t(470)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(629)]((t=>null!==t)),!e[t(664)])return;for(let i=0;i<e[t(664)];i++){const n=e[i];void 0!==n[t(508)]&&void 0===n[t(420)]&&(n[t(420)]=this[t(688)][t(483)](n.id)[t(420)]),void 0!==n[t(420)]&&void 0===n[t(508)]&&(n[t(508)]=this[t(688)][t(483)](n.id)[t(508)])}const i=this[t(733)][t(476)][t(585)](t(631));this[t(540)]=!0,this[t(527)](),this[t(472)][t(702)](e,i)[t(502)]((()=>{this[t(540)]=!1}))[t(557)]((e=>{const i=t;if(e)for(const t of e)this[i(482)]({id:t.id,createdAt:t[i(690)]});this[i(493)](),this[i(701)]()}))}[_n(729)](e,i){const n=_n;let r=this[n(733)][n(476)][n(585)](n(573)),s=this[n(733)][n(476)][n(585)](n(558));if(void 0===r){r={};for(const t of this[n(733)][n(538)][n(635)][n(687)]())r[t]=""}if(n(523)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(733)][n(538)][n(635)][n(687)]())s[t]={}}let o=!1;const a=Object[n(470)](r),c=Object[n(470)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(490)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(470)](s[t])[n(664)]>0){o=!0;break}}o||(o=c[n(495)]((t=>!this[n(733)][n(538)][n(635)][n(684)](t)))),o&&(0,t.logWarning)(n(543),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(733)][n(476)][n(435)](n(573),e),this[n(733)][n(476)][n(435)](n(558),i)}[_n(527)](){const t=_n;if(!this[t(675)]){const e=this[t(733)][t(437)][t(585)](t(477));this[t(675)]=e[t(428)](Xi(this[t(733)][t(606)],t(607)))}}[_n(493)](){const t=_n;this[t(675)]&&(this[t(733)][t(437)][t(585)](t(477))[t(534)](this[t(675)]),this[t(675)]=null)}[_n(429)](t){const e=_n,i=this[e(688)][e(580)]();i[e(659)]();let n=0;for(;n<i[e(664)];){const r=i[n];if(r===this[e(489)]){n++;continue}if(r.id===this[e(656)])break;const s=t[e(420)]-r[e(420)]||t[e(508)]-r[e(508)];if(s>0)break;if(s<0)n++;else{if(!t[e(464)]&&r[e(464)])break;if(r[e(464)]||!t[e(464)]){if(t[e(690)]>r[e(690)])break;n++}else n++}}return n}[_n(482)](t){const e=_n,i=this[e(688)][e(483)](t.id);if(t[e(690)]&&(t[e(690)]=new Date(t[e(690)])),t[e(453)]){const i=this[e(733)][e(437)][e(585)](e(424));t[e(673)]=t[e(453)][e(553)]((t=>i[e(732)](t)))}i[e(676)](t,!0)}[_n(700)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(508)],i=null!==i?i:t[n(420)];const r=this[n(601)][n(638)](e,i),s={diffData:r[n(633)],authorsIds:r[n(453)],fromVersion:e,toVersion:i};if(!t||i!==t[n(420)]){const t=i-1,e=this[n(693)][n(696)][n(637)](t);s[n(690)]=e&&e[n(690)]||new Date}if(this[n(481)]&&e===this[n(481)][n(508)])for(const t of this[n(481)][n(673)])s[n(453)][n(531)](t.id)||s[n(453)][n(725)](t.id);return s}[_n(704)](t){const e=_n;if(!t||t[e(633)])return Promise[e(589)]();{const i=this[e(733)][e(476)][e(585)](e(631));return this[e(472)][e(483)]({channelId:i,revisionId:t.id})[e(557)]((i=>{const n=e;t[n(633)]=i[n(633)]}))}}[_n(506)](t,e,i){const n=_n;if(this[n(628)][n(711)](t)){const r=this[n(628)][n(585)](t);e=i?{...r,...e}:{...e,...r}}this[n(628)][n(435)](t,e)}[_n(713)](t){const e=_n,i=this[e(688)][e(580)]();i[e(659)](),i[e(567)]();const n=i[e(571)]((i=>i[e(420)]<=t))[e(420)];return n<this[e(530)]?this[e(530)]:n}[_n(643)](t){const e=_n,i=this[e(688)][e(483)](this[e(688)][e(664)]-1);if(i)this[e(656)]=i.id;else{const i=!this[e(733)][e(538)][e(635)][e(618)][e(571)]((t=>this[e(733)][e(538)][e(731)](t))),n=this[e(733)][e(437)][e(585)](e(424)).me.id,r=Xi(this[e(733)][e(606)],e(i?651:614));this[e(572)]({from:t,to:t,id:this[e(656)],name:r,creatorId:n})}}[_n(514)](t){const e=_n,i=this[e(693)][e(722)]();this[e(489)]=this[e(688)][e(483)](i),this[e(489)]||(this[e(489)]=this[e(572)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(572)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(700)]({from:e,to:i});o[s(441)]=t,o[s(511)]=n,o.id=r;const a=this[s(529)](o);return this[s(472)]&&this[s(506)](o.id,o,!0),a}[_n(642)](){const t=_n;this[t(733)][t(545)][t(455)](t(430))[t(458)]({model:t(449)})}[_n(662)](t){const e=_n;return(t=t[e(629)]((t=>!t[e(441)]||e(576)!==t[e(441)]&&e(487)!==t[e(441)])))[e(423)]((t=>{const i=e;i(523)!=typeof t&&(t[i(730)]=this[i(662)](t[i(730)]),t[i(548)]=t[i(548)][i(629)]((t=>!t[0][i(563)](i(694)))))})),t}}function On(t,e){const i=_n,n=e[i(657)][i(720)][i(635)];if(i(523)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(730)][i(553)]((t=>On(t,e)));return new(In[t[i(600)]]||Yi.ViewElement)(n,t[i(441)],t[i(548)],r)}}class xn{constructor(t){const e=_n;this[e(733)]=t,this[e(519)]=new Map,this[e(591)]=-1,this[e(619)]=-1,this[e(723)]=new Map,this[e(706)]=new Map,this[e(515)]=new Map,this[e(544)]=new Map,this[e(547)]=new Map,this[e(602)]=new Map,this[e(712)]=new Map,this[e(649)]=new Map,this[e(491)]=new Map,this[e(728)]=new Map,this[e(552)]=1}[_n(475)](t){const e=_n;this[e(588)]=t;const i=new Map,n=new Map,r=this[e(733)][e(538)][e(635)][e(618)][e(553)]((t=>t[e(488)]));for(const t of r){const r=this[e(733)][e(538)][e(635)][e(684)](t),s=Tn(r);i[e(435)](t,s),n[e(435)](t,Object[e(625)](r[e(674)]()))}const s=Array[e(613)](this[e(733)][e(538)][e(699)])[e(553)]((t=>[t[e(441)],t[e(721)]()])),o=this[e(588)][e(634)];this[e(714)](o,i,s,n),this[e(434)]=this[e(552)];const a=new Map,c=new Map;for(const t of r){const i=An(t);a[e(435)](t,i),c[e(435)](t,{})}this[e(714)](Number[e(486)],a,[],c)}[_n(638)](t,e){const i=_n;if(this[i(591)]===t&&this[i(619)]<=e)this[i(519)][i(419)]>1&&this[i(427)](this[i(619)]),this[i(592)](this[i(619)],e,!0);else{if(!this[i(519)][i(711)](t)){const e=this[i(581)](t);this[i(559)](e,t,!1)}this[i(559)](t,e,!0)}return this[i(591)]=t,this[i(619)]=e,this[i(695)]()}[_n(433)](t){const e=_n;this[e(551)](),this[e(591)]=t[e(508)],this[e(619)]=t[e(420)];for(const i in t[e(633)]){const n=t[e(633)][i][e(518)],r=vi(t[e(633)][i][e(685)])||{},s=this[e(611)](t[e(633)][i][e(566)]);s[e(488)]=i,s[e(727)]=!n||!n[e(522)],s[e(522)]=()=>s[e(727)],this[e(544)][e(435)](i,s),this[e(547)][e(435)](i,r),n&&this[e(728)][e(435)](i,n);const o=this[e(622)](s);this[e(712)][e(435)](i,o);for(const[t,i]of s[e(699)]){if(!t[e(563)](e(501)))continue;const n=t[e(496)](":")[2];for(const t of i[e(632)]({singleCharacters:!0})){const i=this[e(726)](t),r=e(586)==t[e(600)]?t[e(439)][e(526)][e(682)](0,-1):t[e(439)][e(526)],s=o[e(535)](r)[e(532)](i);this[e(649)][e(435)](s,{userId:n})}}}this[e(434)]=this[e(552)];const i=[...Array(this[e(552)])[e(470)]()][e(682)](1)[e(629)]((t=>!this[e(649)][e(711)](t)));let n=0;const r=new Map;for(const s in t[e(633)]){const o=t[e(633)][s][e(518)],a=vi(t[e(633)][s][e(644)])||{},c=this[e(611)](t[e(633)][s][e(432)]);c[e(488)]=s,c[e(727)]=!o||o[e(522)],c[e(522)]=()=>c[e(727)],this[e(706)][e(435)](s,c),this[e(515)][e(435)](s,a);const u=this[e(622)](c,Number[e(486)]);this[e(602)][e(435)](s,u),r[e(435)](s,c[e(522)]()?a:{});for(const[t,i]of c[e(699)]){if(!t[e(563)](e(501)))continue;const n=t[e(496)](":")[2];for(const t of i[e(632)]({singleCharacters:!0})){const i=this[e(726)](t),r=this[e(552)]++,s=e(586)==t[e(600)]?t[e(439)][e(526)][e(682)](0,-1):t[e(439)][e(526)];u[e(535)](s)[e(623)](i,r),this[e(649)][e(435)](r,{userId:n})}}for(const t of this[e(733)][e(538)][e(609)](c)[e(632)]({singleCharacters:!0})){const r=this[e(726)](t),s=e(586)==t[e(600)]?t[e(439)][e(526)][e(682)](0,-1):t[e(439)][e(526)],o=u[e(535)](s);o[e(532)](r)>0||o[e(623)](r,i[n++])}for(const[t,i]of c[e(699)])t[e(563)](e(501))||this[e(723)][e(435)](t,i)}const s=An(e(447));this[e(544)][e(435)](e(447),s),this[e(712)][e(435)](e(447),this[e(622)](s,1));const o=An(e(447));this[e(706)][e(435)](e(447),o),this[e(602)][e(435)](e(447),this[e(622)](o,1));const a=Array[e(613)](this[e(706)])[e(553)]((([t,e])=>[t,Tn(e)]));this[e(714)](this[e(619)],a,this[e(723)],r)}[_n(611)](t){const e=_n,i=JSON[e(692)](t),n=this[e(733)][e(657)][e(720)][e(635)],r=new Yi.ViewDocumentFragment(n,i[e(553)]((t=>On(t,this[e(733)]))));return this[e(733)][e(710)][e(442)](r)}[_n(714)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(435)](t,{start:e[r(654)][r(497)](),end:e[r(549)][r(497)](),rootName:e[r(575)][r(488)]});this[r(519)][r(435)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(427)](t){const e=_n;this[e(519)][e(507)](t)}[_n(678)](){const t=_n;this[t(551)](),this[t(591)]=-1,this[t(619)]=-1,this[t(519)][t(479)](),this[t(475)](this[t(588)])}[_n(551)](){const t=_n;this[t(649)][t(479)](),this[t(491)][t(479)](),this[t(728)][t(479)](),this[t(706)][t(479)](),this[t(515)][t(479)](),this[t(544)][t(479)](),this[t(547)][t(479)](),this[t(602)][t(479)](),this[t(712)][t(479)](),this[t(723)][t(479)](),this[t(552)]=1,this[t(434)]=this[t(552)]}[_n(622)](t,e=null){const i=_n;let n=null;t.is(i(421))||(n=new Yi.Element(t[i(441)],{vid_start:null===e?this[i(552)]++:e++}));const r=[];for(const n of t[i(468)]())if(n.is(i(671))){r[i(725)](this[i(622)](n,e));const t=r[r[i(664)]-1];null!==e&&(e=t.is(i(671),i(655))?t[i(532)](i(738))+1:t[i(532)](i(620))+1)}else for(let t=0;t<n[i(735)];t++)r[i(725)](new Yi.Element(i(655),{vid:null===e?this[i(552)]++:e++}));if(t.is(i(421))){const e=An(t[i(488)]);return e[i(513)](0,r),e}return n[i(623)](i(620),null===e?this[i(552)]++:e++),n[i(513)](0,r),n}[_n(559)](t,e,i){const n=_n;this[n(551)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(519)][n(585)](t);this[n(544)]=new Map(r),this[n(547)]=new Map(vi(o));for(const[t,e]of this[n(544)])if(n(447)!==t&&(this[n(706)][n(435)](t,Tn(e)),this[n(515)]=new Map(vi(o)),i)){const i=this[n(552)];this[n(602)][n(435)](t,this[n(622)](e)),this[n(712)][n(435)](t,this[n(622)](e,i))}this[n(434)]=this[n(552)],this[n(706)][n(435)](n(447),Tn(this[n(544)][n(585)](n(447)))),i&&this[n(602)][n(435)](n(447),this[n(622)](this[n(544)][n(585)](n(447))));for(const[t,e]of s){const i=this[n(544)][n(585)](e[n(488)]),r=this[n(706)][n(585)](e[n(488)]),s=new Yi.Range(this[n(555)](e[n(654)],i),this[n(555)](e[n(549)],i)),o=this[n(646)](s,r);i[n(699)][n(435)](t,s),this[n(723)][n(435)](t,o)}this[n(592)](t,e,i)}[_n(592)](t,e,i){const n=_n;for(const r of this[n(588)][n(457)](t,e))this[n(598)](r,i);for(const t of this[n(706)][n(512)]())t[n(699)][n(479)]();for(const[t,e]of this[n(723)])this[n(706)][n(585)](e[n(575)][n(488)])[n(699)][n(435)](t,e[n(497)]());const r=new Map,s=new Map;for(const[t,e]of this[n(706)])r[n(435)](t,Tn(e)),s[n(435)](t,this[n(515)][n(585)](t));this[n(714)](e,r,this[n(723)],s)}[_n(581)](t){const e=_n,i=Array[e(613)](this[e(519)][e(470)]());i[e(587)](((t,e)=>t-e)),i[e(659)]();for(const e of i)if(e<t)return e;return Number[e(486)]}[_n(509)](t,e){const i=_n,n=Array[i(613)](e[i(699)])[i(553)]((([e,n])=>[e,this[i(646)](n,t)]));t[i(699)]=new Map(n)}[_n(640)](t){const e=_n;for(const i of this[e(723)][e(512)]()){const n=i[e(679)](t),r=Yi.Range[e(564)](n);i[e(654)]=r[e(654)],i[e(549)]=r[e(549)]}}[_n(598)](t,e){const i=_n;if(i(436)!=t[i(600)]&&i(418)!=t[i(600)]){if(i(560)==t[i(600)]){const n=t[i(689)][i(575)][i(488)];this[i(706)][i(711)](n)||(this[i(706)][i(435)](n,An(n,!0)),this[i(515)][i(435)](n,{}),e&&this[i(602)][i(435)](n,An(n,!0)))}else{if(i(569)==t[i(600)]||i(541)==t[i(600)]||i(451)==t[i(600)])return void this[i(574)](t);i(669)==t[i(600)]&&this[i(550)](t)}if(i(669)!==t[i(600)]){const e=this[i(719)](t,this[i(706)]);e[i(709)](),this[i(640)](e)}if(e)switch(t[i(600)]){case i(560):this[i(737)](t);break;case i(561):case i(534):case i(703):this[i(460)](t);break;case i(562):this[i(672)](t);break;case i(496):this[i(452)](t)}}else this[i(590)](t,e)}[_n(719)](t,e){const i=_n,n=t[i(497)]();return n[i(554)]=t[i(554)],this[i(596)](n,e),n}[_n(461)](t){const e=_n;return t[e(553)]((t=>{const i=e,n=this[i(726)](t);return Number(t[i(724)][i(532)](n))}))}[_n(718)](t,e){const i=_n;if(t.is(i(671),i(655)))e[i(725)]({item:t,type:i(647)});else{t.is(i(671))&&e[i(725)]({item:t,type:i(641)});for(const n of t[i(468)]())this[i(718)](n,e);t.is(i(671))&&e[i(725)]({item:t,type:i(586)})}return e}[_n(695)](){const t=_n,e=new Map(this[t(649)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(544)][t(470)](),...this[t(706)][t(470)]()]);a[t(507)](t(447));for(const e of a){const i=this[t(706)][t(585)](e)||An(e,!1),n=this[t(544)][t(585)](e)||An(e,!1);i[t(522)]()||n[t(522)]()?(r[t(432)][e]=Tn(i),r[t(566)][e]=Tn(n),this[t(509)](r[t(566)][e],n),this[t(509)](r[t(432)][e],i),s[t(432)][e]=this[t(718)](this[t(602)][t(585)](e),[]),s[t(566)][e]=this[t(718)](this[t(712)][t(585)](e)||An(e,!1),[])):a[t(507)](e)}for(const r of a){const o=s[t(432)][r];for(const r of o){const s=this[t(726)](r),o=r[t(724)][t(532)](s);i[t(507)](o),o>=this[t(434)]&&n[t(435)](o,e[t(585)](o))}}for(const r of a){const a=s[t(432)][r],c=this[t(461)](s[t(566)][r]);let u=0;for(const r of a){const s=this[t(726)](r),a=r[t(724)][t(532)](s);if(!n[t(711)](a)&&!o[t(711)](a))if(i[t(711)](a))u++;else{if(a!=c[u]){const n=e[t(585)](a)||e[t(585)](c[u]);for(;a!=c[u];)i[t(711)](c[u])||(o[t(435)](c[u],n),e[t(435)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(432)][e];for(const e of r){const r=this[t(726)](e),s=e[t(724)][t(532)](r);if(o[t(711)](s)){const e=o[t(585)](s);i[t(711)](s)||i[t(435)](s,{...e}),n[t(435)](s,{...e})}}}for(const e of i[t(470)]())e>=this[t(434)]&&i[t(507)](e);const c=new Map;for(const e of a){let r=s[t(432)][e];for(const e of r)if(e[t(724)].is(t(671),t(636))){const i=this[t(726)](e),r=e[t(724)][t(532)](i);if(n[t(711)](r)){const i=e[t(724)][t(431)][t(431)][t(532)](t(605)),s=c[t(585)](i)||new Set;s[t(428)](n[t(585)](r)[t(521)]),c[t(435)](i,s)}}r=s[t(566)][e];for(const e of r)if(e[t(724)].is(t(671),t(636))){const n=this[t(726)](e),r=e[t(724)][t(532)](n);if(i[t(711)](r)){const n=e[t(724)][t(431)][t(431)][t(532)](t(605)),s=c[t(585)](n)||new Set;s[t(428)](i[t(585)](r)[t(521)]),c[t(435)](n,s)}}for(const e of c[t(470)]())(n[t(711)](e)||i[t(711)](e))&&c[t(507)](e)}for(const e of a){const r=s[t(432)][e];let o=null,a=null;for(const e of r){const r=this[t(726)](e),s=e[t(724)][t(532)](r),u=c[t(585)](s);u&&t(641)==e[t(600)]&&(o=Array[t(613)](u)[0],a=e[t(724)][t(532)](t(620))),o&&(i[t(435)](s,{userId:o}),n[t(435)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(566)][e],a=r[t(432)][e];for(const{userId:e}of this[t(491)][t(512)]())null!==e&&l[t(428)](e);for(const{userId:e}of this[t(728)][t(512)]())null!==e&&l[t(428)](e);this[t(517)](a,s[t(432)][e],n,t(680),l),this[t(517)](o,s[t(566)][e],i,t(510),l),u[e]={insertions:this[t(469)](a),deletions:this[t(469)](o),attachChange:this[t(728)][t(585)](e)||null,attributesBefore:vi(this[t(547)][t(585)](e))||{},attributesAfter:vi(this[t(515)][t(585)](e))}}return{diffData:u,authorsIds:Array[t(613)](l)}}[_n(705)](t){const e=_n;for(const[,i]of t[e(699)]){const t=i[e(654)][e(577)]()[e(629)]((t=>e(636)==t[e(441)]));for(const i of t)1==i[e(456)]&&i[e(516)](0).is(e(671),e(446))&&i[e(516)](0)[e(623)](e(444),!0)}}[_n(469)](t){const e=_n;this[e(705)](t);const i=this[e(733)][e(710)][e(425)](t,{}),n=Array[e(613)](i[e(468)]())[e(553)]((t=>this[e(615)](t)));return JSON[e(666)](n)}[_n(615)](t){const e=_n;if(t.is(e(655)))return t[e(710)];{const i=t;return{type:Object[e(470)](In)[e(571)]((e=>t instanceof In[e])),name:i[e(441)],attributes:Array[e(613)](i[e(674)]()),children:Array[e(613)](i[e(468)]())[e(553)]((t=>this[e(615)](t)))}}}[_n(517)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(733)][s(538)];for(let n=0;n<e[s(664)];n++){const r=this[s(726)](e[n]),c=e[n][s(724)][s(532)](r),h=i[s(585)](c),d=n==e[s(664)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(521)]!=o[s(521)])&&(l(h,Rn(a,t,u),Rn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Rn(a,t,u),Vn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(521)],d=l(501)+n+":"+h+":"+c++,f=u[l(498)](i,a);t[l(699)][l(435)](d,f),null!==h&&r[l(428)](h)}}[_n(726)](t){const e=_n;switch(t[e(600)]){case e(641):return e(605);case e(586):return e(620);default:return e(738)}}[_n(596)](t,e){const i=_n;t[i(570)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(585)](r[i(575)][i(488)]);t[n]=this[i(555)](r,s)}if(r instanceof Yi.Range){const s=e[i(585)](r[i(575)][i(488)]);t[n]=this[i(646)](r,s)}i(575)===n&&(t[i(575)]=e[i(585)](t[i(575)][i(488)]))}}[_n(646)](t,e){const i=_n;return this[i(733)][i(538)][i(498)](this[i(555)](t[i(654)],e),this[i(555)](t[i(549)],e))}[_n(555)](t,e){const i=_n;return this[i(733)][i(538)][i(608)](e,t[i(526)],t[i(681)])}[_n(737)](t){const e=_n,i=this[e(602)][e(585)](t[e(689)][e(575)][e(488)]),n=this[e(555)](t[e(689)],i),r=null===t[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,s=n[e(431)],o=this[e(552)],a=[];for(const i of t[e(462)])if(i.is(e(671)))a[e(725)](this[e(622)](i));else for(let t=0;t<i[e(735)];t++)a[e(725)](new Yi.Element(e(655),{vid:this[e(552)]++}));const c=this[e(552)];for(let t=o;t<c;t++)this[e(649)][e(435)](t,{userId:r});s[e(513)](n[e(536)],a)}[_n(460)](t){const e=_n;(t=this[e(719)](t,this[e(602)]))[e(709)]();const i=null===t[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,n=t[e(478)](),r=n[e(431)],s=n[e(536)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(516)](e);s.is(a(671),a(655))?n[a(435)](s[a(532)](a(738)),{userId:i}):(n[a(435)](s[a(532)](a(605)),{userId:i}),t(n,s,0,s[a(456)]),n[a(435)](s[a(532)](a(620)),{userId:i}))}}(this[e(649)],r,s,s+t[e(670)])}[_n(672)](t){const e=_n,i=null===(t=this[e(719)](t,this[e(602)]))[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,n=t[e(454)][e(431)],r=t[e(426)][e(431)],s=n[e(532)](e(620)),o=r[e(532)](e(605));n[e(623)](e(620),r[e(532)](e(620))),r[e(623)](e(620),s),this[e(649)][e(435)](o,{userId:i}),this[e(649)][e(435)](s,{userId:i}),t[e(709)]()}[_n(452)](t){const e=_n,i=null===(t=this[e(719)](t,this[e(602)]))[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,n=t[e(698)],r=t[e(565)][e(431)];t[e(709)]();const s=r[e(532)](e(620)),o=t[e(443)][e(492)];if(n){const t=o[e(532)](e(620)),n=r[e(532)](e(620));r[e(623)](e(620),t),o[e(623)](e(620),n),this[e(649)][e(435)](r[e(532)](e(620)),{userId:i}),this[e(649)][e(435)](o[e(532)](e(605)),{userId:i})}else{const t=this[e(552)]++,n=this[e(552)]++;r[e(623)](e(620),t),o[e(623)](e(605),n),o[e(623)](e(620),s),this[e(649)][e(435)](t,{userId:i}),this[e(649)][e(435)](n,{userId:i})}}[_n(550)](t){const e=_n;if(!t[e(556)])return;const i=(t=this[e(719)](t,this[e(706)]))[e(503)]?t[e(503)][e(575)]:null,n=t[e(612)]?t[e(612)][e(575)]:null;i&&this[e(723)][e(507)](t[e(441)]),n&&this[e(723)][e(435)](t[e(441)],t[e(612)][e(497)]());const r=null===t[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,s=t[e(441)];if(!this[e(491)][e(711)](s))return void this[e(491)][e(435)](s,{range:t[e(503)],userId:r});const o=this[e(491)][e(585)](s),a=o[e(597)],c=t[e(612)];null==a&&null==c||a&&c&&a[e(677)](c)?this[e(491)][e(507)](t[e(441)]):o[e(521)]=r}[_n(590)](t,e){const i=_n;this[i(706)][i(711)](t[i(488)])?this[i(706)][i(585)](t[i(488)])[i(727)]=t[i(539)]:(this[i(706)][i(435)](t[i(488)],An(t[i(488)],!0)),this[i(515)][i(435)](t[i(488)],{}),e&&this[i(602)][i(435)](t[i(488)],An(t[i(488)],!0)));const n=null===t[i(554)]?null:t[i(554)]||this[i(733)][i(437)][i(585)](i(424)).me.id,r=this[i(728)][i(585)](t[i(488)]);r&&r[i(521)]===n?this[i(728)][i(507)](t[i(488)]):this[i(728)][i(435)](t[i(488)],{userId:n,isAttached:t[i(539)]})}[_n(574)](t){const e=_n,i=this[e(515)][e(585)](t[e(575)][e(488)]);null===t[e(422)]?delete i[t[e(459)]]:i[t[e(459)]]=t[e(422)]}}function Tn(t){const e=_n,i=An(t[e(488)],t[e(522)]());for(const n of t[e(468)]()){const t=n[e(525)](!0);i[e(627)](t)}return i}function Nn(t,e){const i=Mn();return(Nn=function(t,e){return i[t-=418]})(t,e)}function An(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(488)]=t,n[i(727)]=e,n[i(522)]=()=>n[i(727)],n}function Rn(t,e,i){const n=_n,r=n(586)==t[n(600)]?i[n(537)](t[n(724)],n(549)):i[n(652)](t[n(724)]);return i[n(608)](e,r[n(526)],r[n(681)])}function Mn(){const t=["attributesAfter","revisionHistoryLicenseKeyInvalid","_fixRange","text","revisionHistoryLicenseKeyEvaluationLimit","_touched","destroy","Empty document","createPositionBefore","default","start","$text","_initialRevisionId","editing","_licenseKeyCheckInterval","reverse","createRevision","define","_removeRevisionMarkers","revisionHistoryLicenseKeyExpired","length","ready","stringify","getRevisionDocumentData","invalid","marker","howMany","element","_handleMergeOperation","authors","getAttributes","_pendingAction","_update","isEqual","reInit","getTransformedByOperation","insertion","stickiness","slice","revisionHistory.resumeUnsavedRevision","getRoot","attributesBefore","revisionHistoryLicenseKeyDomainLimit","getRootNames","repository","position","createdAt","pluginName","parse","_source","data-revision-","_getState","history","featureNotAllowed","graveyardPosition","markers","buildRevisionData","sendBufferedUpdates","updateRevisions","reinsert","_loadRevisionData","_processRootBeforeSave","_diffRoots","domainLimit","34503NuEwWS","_execute","data","has","_baseIdsRoots","_getFromVersion","_saveMetaData","isOfficialPlugin","_isInit","afterInit","_generateTape","_cloneOperation","view","getRange","getCurrentRevisionId","_markers","item","push","_getVidAttributeName","_isAttached","_touchedRoots","_replaceEditorDataWithRevisionData","children","hasContent","getUser","editor","upcast","offsetSize","4387164zOQxyu","_handleInsertOperation","vid","detachRoot","size","toVersion","documentFragment","newValue","forEach","Users","toView","sourcePosition","_removeMetaData","add","_findInsertionIndex","dataDowncast","parent","insertions","loadState","_startingRevisionId","set","addRoot","plugins","12vqcjRv","previousPosition","initial","name","toModel","insertionPosition","keepParagraph","update","paragraph","$graveyard","toData","revision","7796930dYBaVz","changeRootAttribute","_handleSplitOperation","authorsIds","targetPosition","for","childCount","getOperations","markerToData","key","_handleMoveOperation","_getBaseVids","nodes","marked","creator","processor","expired","RealTimeCollaborationClient","getChildren","_prepareViewToSave","keys","26144dFJnez","adapter","getTime","setSource","init","config","PendingActions","getMovedRangeStart","clear","revisionHistoryLicenseKeyNotAllowed","_loadedStateData","setRevisionData","getRevision","saveRevision","revisionHistoryLicenseKeyUsageLimit","NEGATIVE_INFINITY","revision-end","rootName","currentRevision","trim","_touchedMarkers","nodeAfter","_removePendingAction","RevisionHistory","some","split","clone","createRange","2224432zntuUx","usageLimit","revision:","finally","oldRange","isEnabled","getLatestVersion","_bufferUpdate","delete","fromVersion","_copyMarkers","deletion","creatorId","values","_insertChild","_createCurrentRevision","_diffRootsAttributes","getChild","_markChanges","attachChange","_savedMetaData","trialLimit","userId","isAttached","string","RevisionTracker","_clone","path","_addPendingAction","revisionHistoryLicenseKeyTrialLimit","addRevisionData","_startingVersion","includes","getAttribute","611970itcSIm","remove","getNodeByPath","offset","createPositionAt","model","isAdd","_isPendingUpdate","removeRootAttribute","licenseKey","editor-initial-data-replaced-with-revision-data","_baseRoots","conversion","371080NdpRPm","_baseRootsAttributes","attributes","end","_handleMarkerOperation","_reset","_revisionId","map","_authorId","_fixPosition","affectsData","then","rootsAttributes","_calculateMetaData","insert","move","merge","startsWith","_createFromRanges","splitPosition","deletions","shift","addRevision","addRootAttribute","baseVersion","find","_makeRevision","initialData","_handleRootAttributeOperation","root","revision-start","getAncestors","dataToMarker","getRevisionRootsAttributes","getRevisions","_getPreviousFrom","revisionHistoryLicenseKeyValid","getIndex","218djSEwu","get","elementEnd","sort","source","resolve","_handleRootOperation","_lastFrom","_applyOperations","_continueCurrentRevision","max","_operations","_fixOperation","range","_handleOperation","126HzSuGI","type","_revisionDataBuilder","_idsRoots","RevisionsRepository","evaluationLimit","vid_start","locale","PENDING_ACTION_REVISION_HISTORY","createPositionFromPath","createRangeIn","requires","_makeModelFromViewString","newRange","from","Initial revision","_getViewJson","useFillerType","isPremiumPlugin","roots","_lastTo","vid_end","_showLicenseError","_makeIdsRoot","_setAttribute","_loadState","fromEntries","bind","_appendChild","_bufferedUpdates","filter","createPositionAfter","collaboration.channelId","getWalker","diffData","version","document","tableCell","getOperation","getData","isReady","_transformMarkers","elementStart","_setConversion","_createInitialRevision"];return(Mn=function(){return t})()}function Vn(t,e,i){const n=_n,r=n(641)==t[n(600)]?i[n(537)](t[n(724)],0):i[n(630)](t[n(724)]);return i[n(608)](e,r[n(526)],r[n(681)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),$n=i(426),Hn={attributes:{"data-cke":!0}};Hn.setAttributes=Wn(),Hn.insert=Ln().bind(null,"head"),Hn.domAPI=Fn(),Hn.insertStyleElement=Zn();Cn()($n.A,Hn);$n.A&&$n.A.locals&&$n.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Jn(){const t=["add","render","set","stopPropagation","_createRevisionNameInput","4204605lCRBFq","arrowdown","10ZYQsRN","focusTracker","reset","374658mIbYfM","arrowleft","label","220","form","revisionNameInputValue","200552mNQqrs","2028551KhNGIa","optional","keystrokes","ck-revision-history-save-revision-form","extendTemplate","ck-responsive-form","arrowup","setTemplate","arrowright","input","fieldView","trim","Name of the revision","errorText","listenTo","revisionName","735513vuAgVA","1273668faIqaq","revisionNameInputView","25600752ztVjxK","locale","value","focus","element"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(891029===-parseInt(e(464))/1+-parseInt(e(465))/2+-parseInt(e(477))/3+parseInt(e(488))/4+parseInt(e(479))/5*(parseInt(e(482))/6)+parseInt(e(489))/7+parseInt(e(467))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends En.View{constructor(e,i){const n=Gn;super(e),this[n(480)]=new t.FocusTracker,this[n(491)]=new t.KeystrokeHandler,this[n(474)](n(487),""),this[n(466)]=this[n(476)](i),this[n(496)]({tag:n(486),attributes:{class:["ck",n(492),n(494)],tabindex:"-1"},children:[this[n(466)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(473)](){const t=Yn;super[t(473)](),(0,En.submitHandler)({view:this}),this[t(480)][t(472)](this[t(466)][t(471)]),this[t(491)][t(462)](this[t(471)]);const e=e=>e[t(475)]();this[t(491)][t(474)](t(497),e),this[t(491)][t(474)](t(483),e),this[t(491)][t(474)](t(495),e),this[t(491)][t(474)](t(478),e)}[Yn(470)](){const t=Yn;this[t(466)][t(470)]()}get[Yn(463)](){const t=Yn;return this[t(466)][t(499)][t(471)][t(469)][t(500)]()}set[Yn(463)](t){const e=Yn;this[e(466)][e(499)][e(471)][e(469)]=t[e(500)]()}[Yn(481)](){const t=Yn;this[t(466)][t(499)][t(471)][t(469)]="",this[t(466)][t(461)]=null}[Yn(476)](t){const e=Yn,i=new En.LabeledFieldView(this[e(468)],En.createLabeledInputText),n=i[e(499)];n[e(493)]({attributes:{maxlength:e(485)}});let r=Xi(this[e(468)],e(460));return!t&&(r+=" ("+Xi(this[e(468)],e(490))+")"),i[e(484)]=r,n.on(e(498),(()=>{const t=e;this[t(487)]=n[t(471)][t(469)][t(500)]()})),i}}const Qn=Xn;function Xn(t,e){const i=tr();return(Xn=function(t,e){return i[t-=218]})(t,e)}function tr(){const t=["RevisionTracker","The revision name cannot be empty.","isOpen","editing","7LERIKf","bind","menuitem","submit","33874659ajUPXV","componentFactory","Accept","402548KQGwMG","hide","locale","RevisionHistoryUI","plugins","menuBar:revisionHistory","render","isReady","isReadOnly","_saveRevisionFormView","pluginName","delegate","_registerMenuComponent","2824029Tttpxt","_showDialog","revisionName","Save current revision","init","focus","showRevisionViewerCallback","children","execute","Cancel","history","revisionHistory","editor","errorText","isEnabled","_createSaveRevisionFormView","panelView","view","isPremiumPlugin","isOfficialPlugin","config","addMany","Dialog","10RqIIFm","menu","reset","show","revisionSave","set","revisionNameInputView","revisionHistory.requireRevisionName","saveRevision","Revision history","ck-button-action","buttonView","get","281812PkRGxe","add","3966872JfzFKG","items","role","requires","710289jAtTqn","Open revision history","4091490usLZET"];return(tr=function(){return t})()}!function(t){const e=Xn,i=t();for(;;)try{if(592265===-parseInt(e(252))/1+-parseInt(e(266))/2+-parseInt(e(279))/3+parseInt(e(246))/4*(-parseInt(e(233))/5)+-parseInt(e(254))/6+parseInt(e(259))/7*(-parseInt(e(248))/8)+parseInt(e(263))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Qn(276)](){return Qn(269)}static get[Qn(229)](){return!0}static get[Qn(228)](){return!0}static get[Qn(251)](){return[Sn]}[Qn(283)](){const t=Qn,e=this[t(222)],i=e[t(270)][t(245)](t(255));e.ui[t(264)][t(247)](t(221),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(226)][r(286)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(260)](r(224)).to(i,r(273),i,r(224),e,r(274),((t,e,i)=>t&&e&&!i)),s[r(244)][r(238)]({icon:qi.icons[r(220)],label:Xi(n,r(242)),tooltip:!0}),u[r(238)]({label:Xi(n,r(282)),withText:!0,role:r(261)}),u[r(260)](r(224)).to(i,r(273),i,r(224),e,r(274),((t,e,i)=>t&&e&&!i)),u.on(r(218),(()=>this[r(280)]())),h[r(238)]({label:Xi(n,r(253)),withText:!0,role:r(261)}),h[r(260)](r(224)).to(i,r(273),e,r(274),((t,e)=>t&&!e)),h.on(r(218),(()=>{const t=r;e[t(230)][t(245)](t(221))[t(285)](),s[t(257)]=!1,e[t(258)][t(227)][t(284)]()})),c[r(286)][r(247)](u),l[r(286)][r(247)](h),a[r(250)]=r(234),a[r(249)][r(231)]([c,l]),o[r(247)](a),s})),e.ui[t(264)][t(247)](t(271),(()=>this[t(278)]()))}[Qn(278)](){const t=Qn,e=this[t(222)],i=e[t(268)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(244)][t(238)]({icon:qi.icons[t(220)],label:Xi(i,t(242))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(238)]({label:Xi(i,t(282))}),o[t(277)](t(218)).to(n),o.on(t(218),(()=>{this[t(280)]()})),s[t(286)][t(247)](o),r[t(249)][t(247)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(238)]({label:Xi(i,t(253))}),c[t(277)](t(218)).to(n),c.on(t(218),(()=>{const i=t;e[i(230)][i(245)](i(221))[i(285)]()})),a[t(286)][t(247)](c),r[t(249)][t(247)](a),n[t(226)][t(286)][t(247)](r),n}[Qn(280)](){const t=Qn,e=this[t(222)],i=e[t(268)],n=e[t(270)][t(245)](t(232)),r=e[t(270)][t(245)](t(255));function s(r){const s=t;e[s(230)][s(245)](s(240))&&""===r[s(281)]?r[s(239)][s(223)]=Xi(i,s(256)):(e[s(270)][s(245)](Sn)[s(241)]({name:r[s(281)]}),n[s(267)]())}this[t(275)]||(this[t(225)](),this[t(275)].on(t(262),(()=>s(this[t(275)])))),this[t(275)][t(235)](),n[t(236)]({id:t(237),title:Xi(i,t(282)),isModal:!0,content:this[t(275)],actionButtons:[{label:Xi(e[t(268)],t(219)),withText:!0,onExecute:()=>n[t(267)]()},{label:Xi(e[t(268)],t(265)),class:t(243),withText:!0,onCreate(i){const n=t;i[n(260)](n(224)).to(r,n(273),r,n(224),e,n(274),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(275)])}]})}[Qn(225)](){const t=Qn,e=this[t(222)],i=e[t(268)];this[t(275)]=new Kn(i,e[t(230)][t(245)](t(240))),this[t(275)][t(272)]()}}function ir(t,e){const i=nr();return(ir=function(t,e){return i[t-=287]})(t,e)}function nr(){const t=["isSuggestion","3259473GseCtD","element","set","add","1153472yBxiKx","_model","ck-annotation","name","342597XjykbA","2cQAfwg","setTemplate","Added by","span","60gPAywN","Removed by","ck-revision-change","type","11040750WJNURy","author","bindTemplate","Suggested by","div","ck-revision-change__label","902720MyhUue","205812JphfhC","focus","472704LnIyuh","ck-revision-change__","280ogWXPV","data","changeId"];return(nr=function(){return t})()}const rr=ir;!function(t){const e=ir,i=t();for(;;)try{if(552477===parseInt(e(318))/1+-parseInt(e(304))/2*(-parseInt(e(303))/3)+-parseInt(e(299))/4+parseInt(e(308))/5*(-parseInt(e(289))/6)+parseInt(e(295))/7+-parseInt(e(291))/8*(parseInt(e(287))/9)+parseInt(e(312))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends En.View{constructor(t,e){const i=ir;super(t),this[i(300)]=e,this[i(293)]=e.id;const n=this[i(314)],r=Xi(t,e[i(292)][i(294)]?i(315):i(298)==e[i(311)]?i(306):i(309));this[i(297)](i(311),e[i(311)]),this[i(305)]({tag:i(316),attributes:{class:[i(301),i(310),n.to(i(311),(t=>i(290)+t))],tabindex:-1},children:[{tag:i(307),children:[{tag:i(307),attributes:{class:[i(317)]},children:[{text:r}]},{text:" "+e[i(313)][i(302)]}]}]})}[rr(288)](){const t=rr;this[t(296)][t(288)]()}}var or=ar;function ar(t,e){var i=ur();return(ar=function(t,e){return i[t-=348]})(t,e)}!function(t){for(var e=ar,i=t();;)try{if(833756===-parseInt(e(365))/1+parseInt(e(356))/2*(-parseInt(e(351))/3)+parseInt(e(353))/4*(-parseInt(e(352))/5)+-parseInt(e(354))/6*(parseInt(e(360))/7)+-parseInt(e(363))/8*(-parseInt(e(366))/9)+parseInt(e(355))/10*(-parseInt(e(348))/11)+parseInt(e(364))/12*(parseInt(e(350))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ur);class cr extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(361)]=e[i(361)],this[i(367)]=e[i(367)],this[i(362)]=e[i(362)]||{},this[i(359)]=e[i(359)],this[i(358)](i(349),e[i(349)])}[or(357)](){var t=or;return{id:this.id,authorId:this[t(361)].id,type:this[t(367)],data:this[t(362)],createdAt:this[t(349)]}}}function ur(){var t=["890JqiAAC","16844UtkZWS","2103762mxcBTF","3394960CJKryf","10dHdGCV","toJSON","set","rootName","28tdCwUT","author","data","72IhPkWi","1848HRJlvs","1146865pnOGrB","1192113CYbvdL","type","33thTYGC","createdAt","347334vqhKti","93306IDwgzw"];return(ur=function(){return t})()}function lr(){const t=["newRevisionId","147zNlkzC","280wEhjNr","changes","27984nuSdlH","4iwbRCs","1221pMTpwU","161nGrhWo","_setChanges","add","990140CFRjcO","10iJtZpV","oldRevisionId","30332rBuMdJ","167967cwxAnx","22462qbKdkW","15157692urlzSL"];return(lr=function(){return t})()}function hr(t,e){const i=lr();return(hr=function(t,e){return i[t-=243]})(t,e)}const dr=hr;!function(t){const e=hr,i=t();for(;;)try{if(374160===-parseInt(e(252))/1*(-parseInt(e(245))/2)+-parseInt(e(248))/3*(parseInt(e(243))/4)+parseInt(e(257))/5+parseInt(e(251))/6*(-parseInt(e(254))/7)+parseInt(e(249))/8*(-parseInt(e(244))/9)+-parseInt(e(258))/10*(-parseInt(e(253))/11)+parseInt(e(246))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lr);class fr{constructor(e,i){const n=hr;this[n(247)]=e,this[n(259)]=i,this[n(250)]=new t.Collection}[dr(255)](t){const e=dr;for(const i of t)this[e(250)][e(256)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;function vr(){const t=["mapper","change","init","getRoot","next","enqueueChange","destroy","index","insertion","startIndex","userId","markersStart","showNextChange","_processTape","vid","listenTo","createPositionBefore","addMarker:revision-suggestion:insertion","-new","top","diffData","pop","consume","splice","currentChangeNumber","roots","target","_makeModelFromViewString","getDomRoot","catch","mousedown","compare","detachRoot","pluginName","6uvfnZZ","1101879ghBRhe","data-revision-","bindElementToMarker","isNavigationMode","filter","data","forceDisabled","find","isEnabled","length","default","addHighlight","_markSuggestions","_data","addRevision","addRevisionData","stop","isAddSuggestion","concat","refresh","RevisionViewer","reconvertMarker","markers","diff","backward","getIndex","getRevisionData","keys","push","string","activeView","offsetSize","nextPosition","markerName","dataDowncast","newRevisionId","revision-suggestion","_step","toModel","_markInsertions","revision","config","all","elementToAttribute","change:numberOfChanges","addClass","level","ck-suggestion-preview-marker","revision-comment:","revisionHistory","_cleanMarkers","collaboration.channelId","removeMarker:revision","5029090EVgRMs","start","first","_balloon","suggestion:","attribute:vid","getCustomProperty","insert","domEvent","includes","createRevision","createRangeIn","selection","getLaterVisibleRevision","removeMarker","data-change-id","conversion","nodeAfter","enableReadOnlyMode","ck-suggestion-marker","authors","element","parse","isCollapsed","bottom","item","changeId","_activeViewTarget","_makeModelFromTape","abs","attributes","_joinTapes","repository","highest","_findChangeIdFromDomTarget","schema","revision-viewer","suggestion","addMarker:revision","markersEnd","isBefore","map","vid_start","indexOf","_initInteractions","restoreRevision","range","POSITIVE_INFINITY","addRoot","_setDistance","isPremiumPlugin","hasAttribute","get","distance","done","isAdded","_cleanUp","getWalker","isAfter","bind","createPositionFromPath","367408jAntiQ","clear","return","isAtEnd","1240XShgZX","getChild","text","toData","isContent","isReady","getAttribute","isSuggestion","locale","isAttached","element:pre","8106pVbEeV","for","uiElement","_setChanges","remove","ck-editor__editable__overlay","addMarker:revision-suggestion:deletion","slice","getItems","isBlock","ck-revision-history-root-add","left","isEqual","isLimit","rootName","flat","previousPosition","ck-suggestion-marker-merge","change:isReady","vid_end","document","numberOfChanges","then","wrap","parent","merge","isOfficialPlugin","isRemoved","revisionHistoryLabel","_markMarkers","adapter","insertions","ck-suggestion-marker--active","1198617pQGozk","attachChange","execute","deletions","side","_changeView","editingDowncast","checkAttribute","_makeTape","RevisionsRepository","isAtStart","revisionHistoryAttachChange","_getViewObj","error","observeMarkers","model","ck-suggestion-preview-marker-","changes","_refreshStartEndIndex","children","hasClass","nextSibling","change:activeView","ck-suggestion-marker-","_update","right","forEach","plugins","resolve","markerNameToElements","showStack","writer","endIndex","name","markerRange","shift","attributesBefore","elementStart","_getRevisionsRange","unshift","set","loadRevisionData","softBreak","getClientRects","toViewElement","createUIElement","downcastDispatcher","toViewRange","low","from","findIndex","createAttributeElement","updatePosition","66CNewRy","_getDiff","has","values","type","_threeWayMerge","getAttributes","requires","ck-revision-history-root-remove","markerToHighlight","processor","change:isEnabled","elementEnd","revision-end","ck-revision-history-root-","isOnRoot","removeMarker:revision-suggestion","deletion","viewItem","end","domConverter","activeChange","getRevisionRootsAttributes","getRevision","2945GzzfxU","forward","editor","showPreviousChange","sort","startsWith","_appendChild","ck-suggestion-marker-split","marked","getRootNames","modelRange","toViewPosition","view","_changeIdToChange","code","unbindElementFromMarkerName","test","removeClass","dataToMarker","_getViewForChange","upcast","ck-revision-history-root--active","isObject","add","revision:","revision-suggestion:","comment","attributesAfter","oldRevisionId","_revisions","_markMismatchedRemovedTags","setAttribute","_removeRevisionMarkers","useFillerType","_sortAndFilterDiffChanges","_removeUnsupportedChanges","removeAttribute","_getChangeFromId","affectsData","markerToData","pairId","WidgetToolbarRepository","commands","object","isRemoveSuggestion","revision-start","maxOffset","isIncorrect","split","isInline","high","2594XJsSAI","_setConversion","change:activeChange","mapViewToDom","restoreRevisionCallback","editing","createRange","_fixObsoleteTags","delete","span","consumable","mouseover","_removeMissingPairs"];return(vr=function(){return t})()}const yr=wr;!function(t){const e=wr,i=t();for(;;)try{if(109223===parseInt(e(271))/1+parseInt(e(432))/2*(parseInt(e(357))/3)+-parseInt(e(260))/4*(parseInt(e(381))/5)+parseInt(e(479))/6*(-parseInt(e(304))/7)+parseInt(e(256))/8+-parseInt(e(480))/9+parseInt(e(533))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vr);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends qi.Plugin{static get[yr(478)](){return yr(500)}static get[yr(297)](){return!0}static get[yr(245)](){return!0}static get[yr(364)](){return[Bi.Users,En.ContextualBalloon,Qi]}constructor(t){const e=yr;super(t),this[e(565)]=this[e(383)][e(331)][e(247)](e(313)),this[e(344)](e(378),null),this[e(344)](e(510),null),this[e(560)]=null,this[e(344)](e(503),null),this[e(344)](e(265),!1),this[e(344)](e(488),!0),this.on(e(368),((t,i,n)=>{const r=e;this[r(378)]=null,this[r(510)]=null,this[r(383)][r(437)][r(393)][r(446)]((t=>{const e=r;for(const i of this[e(383)][e(437)][e(393)][e(291)][e(470)])n?t[e(398)](e(276),i):t[e(525)](e(276),i)}))})),this[e(254)](e(483)).to(this,e(378),(t=>null!==t)),this[e(254)](e(469)).to(this,e(265),this,e(503),this,e(378),((t,i,n)=>t&&n?i[e(321)][e(505)](n):0)),this[e(254)](e(292)).to(this,e(265),this,e(503),((t,i)=>t?i[e(321)][e(489)]:0)),this[e(309)]=null,this[e(394)]=new Map,this[e(301)]=null,this[e(536)]=this[e(383)][e(331)][e(247)](En.ContextualBalloon)}[yr(447)](){const t=yr,e=this[t(383)],i=new Ir(e,{direction:t(504)}),n=new Ir(e,{direction:t(382)});e[t(423)][t(404)](t(384),i),e[t(423)][t(404)](t(457),n),e[t(423)][t(404)](t(578),new _r(e)),this.on(t(524),(()=>{const e=t;i[e(499)](),n[e(499)]()})),this[t(433)](),this[t(577)](),e[t(551)](t(569)),e[t(331)][t(359)](t(422))&&e[t(331)][t(247)](t(422))[t(486)](t(569))}async[yr(506)](t){const e=yr;await this[e(345)](t);const i={};for(const n in t[e(465)]){if(t[e(465)][n][e(305)]&&!t[e(465)][n][e(305)][e(269)])continue;const r=this[e(413)](JSON[e(555)](t[e(465)][n][e(302)])),s=this[e(383)][e(437)][e(393)][e(291)],o=new Yi.ViewDocumentFragment(s,r[e(574)]((t=>this[e(316)](t))));this[e(383)][e(485)][e(367)][e(414)](e(389)),i[n]=this[e(383)][e(485)][e(367)][e(263)](o),this[e(383)][e(485)][e(367)][e(414)](e(490))}return i}async[yr(379)](t){const e=yr;await this[e(345)](t);const i={};for(const n in t[e(465)])t[e(465)][n][e(305)]&&!t[e(465)][n][e(305)][e(269)]||(i[n]=t[e(465)][n][e(408)]||{});return i}[yr(413)](t){const e=yr;return(t=t[e(484)]((t=>!t[e(337)]||e(426)!==t[e(337)]&&e(370)!==t[e(337)])))[e(330)]((t=>{const i=e;i(509)!=typeof t&&(t[i(323)]=this[i(413)](t[i(323)]),t[i(563)]=t[i(563)][i(484)]((t=>!t[0][i(386)](i(481)))))})),t}async[yr(476)](t,e,i=!1){const n=yr;if(!this[n(488)])return;const r=this[n(503)],s=this[n(565)],o=n(509)==typeof t?s[n(380)](t):t,a=n(509)==typeof e?s[n(380)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(503)]&&this[n(503)][n(515)]===c&&this[n(503)][n(409)]===u)return Promise[n(332)]();this[n(265)]=!1,this[n(510)]=null,this[n(378)]=null,this[n(503)]=new fr(c,u);const l=this[n(342)](o,a,!0)[n(574)]((t=>this[n(345)](t)));return l[n(508)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(522)](l)[n(293)]((()=>{const t=n;if(!this[t(488)])return;this[t(251)]();const e=this[t(358)](c,u);for(const i of e[t(321)])this[t(394)][t(344)](i.id,i);this[t(383)][t(319)][t(450)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(383)][n(319)][n(291)][n(390)]())i[n(477)](t);for(const t of Object[n(507)](e[n(319)])){const r=i[n(243)](t);for(const s of Object[n(507)](e[n(563)][t]))i[n(412)](s,e[n(563)][t][s],r);i[n(540)](e[n(319)][t],r,0)}})),this[t(503)][t(274)](this[t(415)](e[t(321)])),this[t(265)]=!0}))[n(474)]((t=>{const e=n;console[e(317)](t),this[e(251)](),r&&(this[e(503)]=r),this[e(265)]=!0}))}[yr(495)](t,e){const i=yr,n=this[i(565)][i(543)](t);return n.on(i(328),((t,i,r)=>e(i,r,n))),this[i(565)][i(494)](n),n}[yr(345)](t){const e=yr;if(!t||t[e(465)])return Promise[e(332)]();{const i=this[e(383)][e(521)][e(247)](e(531));return this[e(301)][e(380)]({channelId:i,revisionId:t.id})[e(293)]((i=>{const n=e;t[n(328)]({diffData:i[n(465)]},!0)}))}}[yr(251)](){const t=yr;this[t(378)]=null,this[t(530)](),this[t(309)]&&this[t(309)][t(451)](),this[t(309)]=null,this[t(394)][t(257)](),this[t(383)][t(319)][t(450)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(383)][i(319)][i(291)][i(390)]())e[i(477)](t)}))}[yr(415)](t){const e=yr,i=[],n=new Map;for(const t of this[e(383)][e(319)][e(291)][e(390)]()){const r=this[e(383)][e(437)][e(393)][e(473)](t);if(!r)continue;const s=r[e(347)]()[e(558)](0);s&&(i[e(508)](t),n[e(344)](t,s))}return i[e(385)](((t,i)=>{const r=e,s=n[r(247)](t),o=n[r(247)](i);return s.y-o.y||s.x-o.x})),(t=t[e(484)]((t=>i[e(542)](t[e(285)]))))[e(385)](((t,n)=>i[e(576)](t[e(285)])-i[e(576)](n[e(285)]))),t}[yr(312)](t){const e=yr,i=Array[e(353)](t[e(502)])[e(484)]((([t,i])=>t[e(386)](e(405))&&!i[e(556)])),n=Array[e(353)](this[e(383)][e(319)][e(544)](t)[e(252)]({singleCharacters:!0}));if(0!=i[e(489)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(429)](":");if(r[e(376)][e(283)](t[e(512)])&&i[e(339)](),(t[e(287)][e(283)](r[e(534)])||t[e(287)][e(253)](r[e(534)]))&&(e(453)==s?t[e(250)]={userId:o}:e(374)==s&&(t[e(298)]={userId:o})),0==i[e(489)])break}return n}[yr(322)](t){const e=yr,i=new Map;for(let n=0;n<t[e(489)];n++)e(262)===t[n][e(361)]?(t[n][e(558)][e(454)]=n,t[n][e(558)][e(336)]=n):(e(341)===t[n][e(361)]?t[n][e(558)][e(454)]=n:e(369)===t[n][e(361)]&&(t[n][e(558)][e(336)]=n),i[e(344)](t[n].id,n));for(const n of i[e(360)]())e(341)===t[n][e(361)]?t[n][e(558)][e(336)]=i[e(247)](t[n][e(421)]):e(369)===t[n][e(361)]&&(t[n][e(558)][e(454)]=i[e(247)](t[n][e(421)]))}[yr(458)](t){const e=yr;for(let i=0;i<t[e(489)];i++){if(e(341)===t[i][e(361)])t[i][e(558)][e(454)]=i;else if(e(369)===t[i][e(361)]){t[i][e(558)][e(336)]=i;const n=t[i][e(558)][e(454)];t[n][e(421)]=t[i].id,t[i][e(421)]=t[n].id}else t[i][e(558)][e(454)]=i,t[i][e(558)][e(336)]=i,t[i][e(421)]=null;t[i][e(456)]||(t[i][e(456)]=[],t[i][e(572)]=[])}}[yr(519)](t,e){const i=yr,n=t[i(484)]((t=>!t[i(250)]));for(let t=0;t<e[i(489)];t++)e[t][i(250)]&&(n[t][i(250)]=e[t][i(250)])}[yr(472)](t){const e=yr,i=JSON[e(555)](t),n=this[e(383)][e(437)][e(393)][e(291)],r=new Yi.ViewDocumentFragment(n,i[e(574)]((t=>this[e(316)](t))));return this[e(383)][e(485)][e(518)](r)}[yr(316)](t){const e=yr,i=this[e(383)][e(437)][e(393)][e(291)];if(e(509)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(323)][e(574)]((t=>this[e(316)](t)));return new(gr[t[e(361)]]||Yi.ViewElement)(i,t[e(337)],t[e(563)],n)}}[yr(358)](t,e=null){const i=yr,n=this[i(565)][i(380)](t),r=e?this[i(565)][i(380)](e):null,s=this[i(342)](n,r),o=s[s[i(489)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(489)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(507)](e[i(465)]))if(e[i(465)][t][i(305)]){const n=e[i(465)][t][i(305)];n[i(269)]?(u[i(404)](t),l[i(359)](t)&&l[i(247)](t)[i(455)]==n[i(455)]?l[i(440)](t):l[i(344)](t,n)):l[i(359)](t)?(u[i(440)](t),l[i(440)](t)):(u[i(404)](t),l[i(344)](t,n))}else u[i(404)](t)}for(const t of u){const e=l[i(359)](t)&&!l[i(247)](t)[i(269)];let n=e?s[i(489)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(465)][t]){const n=e?o[i(465)][t][i(340)]:o[i(465)][t][i(408)];c[i(563)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(319)]={};for(const e of t[i(553)])a[i(344)](e.id,e);for(const e of u){const n=t[i(465)][e]?t[i(465)][e][i(302)]:"[]",r=t[i(465)][e]?t[i(465)][e][i(307)]:"[]";t[i(319)][e]={insertions:this[i(472)](n),deletions:this[i(472)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(353)](n[i(319)][t][i(302)][i(502)])[i(484)]((([t])=>!t[i(386)](i(405)))));let h=0;for(const o of s){const s=this[i(312)](o[i(319)][t][i(302)]);o==n?(e=s,r=e[i(489)],e[i(330)]((t=>{t.id=h++})),this[i(458)](e)):this[i(519)](e,s);const a=e[i(484)]((t=>!t[i(250)]))[i(574)]((t=>t.id));let c=0;const l=this[i(312)](o[i(319)][t][i(307)]);l[i(330)]((t=>{t[i(298)]?t.id=r++:t.id=a[c++]})),this[i(458)](l),this[i(244)](e,i(250)),this[i(244)](l,i(298)),o==n&&this[i(300)](e,u),e=this[i(564)](e,l),this[i(322)](e),this[i(244)](e,i(298))}e=e[i(484)]((t=>!(t[i(250)]&&t[i(298)])));const d=new Map(o[i(319)][t][i(307)][i(502)]),f=new Set(u[i(507)]());for(const t of d[i(507)]())f[i(440)](t);this[i(492)](e,f),this[i(439)](e),e=this[i(444)](e),e=this[i(411)](e),e=this[i(416)](e);const{root:m,changes:p}=this[i(561)](e,a,t);c[i(319)][t]=m;const v=l[i(247)](t);if(v){const e=a[i(247)](v[i(455)]),n=new cr({author:e,type:v[i(269)]?i(404):i(275),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(343)](n),c[i(563)][t][i(315)]=n.id}c[i(321)]=c[i(321)][i(498)](p)}return c}[yr(300)](t,e){const i=yr;for(let n=0;n<t[i(489)];n++)for(const[r,s]of e)s[i(534)][i(283)](t[n][i(287)])&&t[n][i(456)][i(508)](r),s[i(376)][i(283)](t[n][i(512)])&&t[n][i(572)][i(508)](r)}[yr(564)](t,e){const i=yr;let n=[],r=0,s=0;for(;r<t[i(489)]||s<e[i(489)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(508)](o);else if(a[i(298)]&&o[i(250)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(362)](t,r,e,s);n=n[i(498)](o),r=a,s=c}else a[i(298)]?(s++,n[i(508)](a)):(r++,n[i(508)](o))}return n}[yr(492)](t,e){const i=yr,n=[];for(let o=0;o<t[i(489)];o++){for(let s=0;s<t[o][i(456)][i(489)];s++){const a=t[o][i(456)][s];if(!e[i(359)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(516)!=c||i(453)!=u&&i(374)!=u||(n[i(343)]({type:u,name:a,userId:l}),t[o][i(456)][i(468)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(572)][i(489)];s++){const a=t[o][i(572)][s];if(!e[i(359)](a))continue;const{group:c,type:u}=r(a);if(i(516)!=c||i(453)!=u&&i(374)!=u)continue;t[o][i(572)][i(468)](s,1),s--;const l=n[i(354)]((t=>t[i(337)]==a));l>-1&&n[i(468)](l,1)}}function r(t){const e=i,n=t[e(429)](":");return{group:n[0],type:n[1],subType:n[e(489)]>=5?n[2]:null,id:n[e(489)]<5?n[2]:n[3],authorId:n[e(489)]<5?n[3]:n[4],markerCount:6==n[e(489)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(489)];i++){if(t[e(250)]&&e(453)==n[i][e(361)])return t[e(497)]=n[i],void delete t[e(250)];if(!t[e(250)]&&!t[e(298)]&&e(374)==n[i][e(361)])return void(t[e(425)]=n[i])}}}[yr(244)](t,e){const i=yr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(344)](o.id,n);for(let n=0;n<t[i(489)];n++){if(i(298)==e&&t[n][i(250)]||i(250)==e&&t[n][i(298)])continue;if(i(262)==t[n][i(361)]){t[n][i(248)]=0;continue}const r=s[i(247)](t[n][i(421)]),o=s[i(247)](t[n].id);t[n][i(248)]=r-o}}[yr(342)](t,e,i=!1){const n=yr,r=[];let s=this[n(565)][n(505)](t),o=this[n(565)][n(505)](e);for(-1==o&&(o=this[n(565)][n(410)][n(489)],i=!1);s<o;)r[n(508)](this[n(565)][n(380)](s)),s++;return i&&r[n(508)](this[n(565)][n(380)](s)),r}[yr(362)](t,e,i,n){const r=yr,s=this[r(383)][r(319)][r(568)];let o=e;for(;t[o]&&t[o][r(250)];)o++;let a=n;for(;i[a]&&i[a][r(298)];)a++;u(t,e,o),u(i,n,a);const c=i[r(278)](n,a)[r(498)](t[r(278)](e,o));return c[r(385)](((t,e)=>t[r(308)]!=e[r(308)]?t[r(308)]-e[r(308)]:t[r(526)]!=e[r(526)]?t[r(526)]-e[r(526)]:t[r(248)]!=e[r(248)]?e[r(248)]-t[r(248)]:!!t[r(250)]!=!!e[r(250)]?-1==t[r(308)]||0==t[r(308)]?t[r(250)]?-1:1:t[r(250)]?1:-1:t[r(452)]-e[r(452)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(242)],c=!0;for(let r=e;r<i;r++)if(s[n(430)](t[r][n(558)])||(c=!1),t[r][n(558)][n(454)]<e&&(o=r),t[r][n(558)][n(336)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(308)]=r<=o?-1:r<a?0:1,t[r][n(452)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(248)]?t[i][n(526)]=u:(u++,t[i][n(526)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(308)]&&(t[r][n(526)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(248)]?t[e][n(526)]=u:(u--,t[e][n(526)]=u,u--)}}[yr(439)](t){const e=yr,i=new Map,n=this[e(383)][e(319)][e(568)];for(let r=1;r<t[e(489)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(262)==c[e(361)])continue;if(c[e(361)]!=u[e(361)])continue;if(!n[e(280)](u[e(558)])||n[e(284)](u[e(558)]))continue;if(!n[e(280)](c[e(558)])||n[e(284)](c[e(558)]))continue;if((t[r][e(250)]||t[r][e(497)])&&t[r-1][e(298)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(298)]||!t[r-1][e(250)]&&!t[r-1][e(497)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(526)]==o[e(526)],h=Math[e(562)](s[e(526)])<Math[e(562)](o[e(526)])&&0==o[e(248)];(l||h)&&(i[e(344)](o.id,s.id),t[e(468)](a,1),r--,s[e(250)]=!1)}for(let n=0;n<t[e(489)];n++)i[e(359)](t[n][e(421)])&&(t[n][e(421)]=i[e(247)](t[n][e(421)]))}[yr(444)](t){const e=yr,i=new Set(t[e(574)]((t=>t.id)));for(let n=0;n<t[e(489)];n++)i[e(359)](t[n][e(421)])||0==t[n][e(248)]||(t[n][e(428)]=!0);return t[e(484)]((t=>!t[e(428)]))}[yr(411)](t){const e=yr,i=new Set;for(let n=0;n<t[e(489)];n++){if(i[e(359)](t[n].id)&&t[n][e(298)]&&(t[n][e(428)]=!0),t[n][e(428)])continue;if(0==t[n][e(248)])continue;if(e(341)!=t[n][e(361)])continue;if(null==t[n][e(421)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(421)];)e(341)==t[r][e(361)]?s++:e(369)==t[r][e(361)]&&s--,r++;if(0!=s)if(t[n][e(298)])t[n][e(428)]=!0;else for(;r!=n;)t[r][e(298)]&&0!=t[r][e(248)]&&(t[r][e(428)]=!0,i[e(404)](t[r][e(421)])),r--}return t[e(484)]((t=>!t[e(428)]))}[yr(416)](t){const e=yr,i=this[e(383)][e(319)][e(568)];for(let n=0;n<t[e(489)];n++){if(!(t[n][e(250)]||t[n][e(497)]||t[n][e(298)]||t[n][e(425)]))continue;if(0==t[n][e(248)])continue;const r=t[n][e(558)];i[e(280)](r)||i[e(284)](r)||(t[n][e(250)]&&delete t[n][e(250)],t[n][e(497)]&&delete t[n][e(497)],t[n][e(425)]&&delete t[n][e(425)],t[n][e(298)]&&(t[n][e(428)]=!0))}return t[e(484)]((t=>!t[e(428)]))}[yr(561)](t,e,i){const n=yr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(383)][n(319)],c=a[n(568)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(489)];e++)if(n(341)===t[e][n(361)]){t[e][n(287)]=a[n(255)](r,f);const i=new Yi.Element(t[e][n(558)][n(337)],t[e][n(558)][n(363)]());u[0][n(387)](i),f[n(508)](0),u[n(343)](i),t[e][n(512)]=a[n(255)](r,f)}else n(369)===t[e][n(361)]?(u[n(339)](),t[e][n(287)]=a[n(255)](r,f),f[n(466)](),f[f[n(489)]-1]++,t[e][n(512)]=a[n(255)](r,f)):(t[e][n(287)]=a[n(255)](r,f),d?d[n(493)]+=t[e][n(558)][n(485)]:d=new Yi.Text(t[e][n(558)][n(485)],t[e][n(558)][n(363)]()),t[e+1]&&n(262)===t[e+1][n(361)]&&v(d,t[e+1][n(558)])||(u[0][n(387)](d),d=null),f[f[n(489)]-1]+=t[e][n(558)][n(511)],t[e][n(512)]=a[n(255)](r,f));for(let e=0;e<t[n(489)];e++){const i=t[e][n(287)],r=t[e][n(512)];for(const r of t[e][n(456)])o[n(344)](r,{start:i,end:null});m(n(425),e,i,r),m(n(497),e,i,r),m(n(298),e,i,r),m(n(250),e,i,r);for(const i of t[e][n(572)])o[n(247)](i)[n(376)]=r}for(const[t,e]of o){const i=this[n(383)][n(319)][n(438)](e[n(534)],e[n(376)]);r[n(502)][n(344)](t,i)}return s[n(385)](((t,e)=>{const i=n,s=r[i(502)][i(247)](i(405)+t.id),o=r[i(502)][i(247)](i(405)+e.id);return s[i(534)][i(573)](o[i(534)])?-1:s[i(534)][i(253)](o[i(534)])?1:s[i(376)][i(573)](o[i(376)])?-1:s[i(376)][i(253)](o[i(376)])?1:i(404)===t[i(361)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(455)]:null,d=i===t[o(489)]-1,f=h[e][0],m=c[o(403)](t[i][o(558)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(376)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(455)]!==u&&(l[e][o(376)]=r,f&&f[o(455)]===l[e][o(455)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(341)!==t[i][o(361)]||f&&f[o(455)]===u||h[e][o(343)]({userId:u,object:t[i][o(558)],change:l[e]}),o(369)===t[i][o(361)]&&f&&f[o(424)]===t[i][o(558)]&&(h[e][o(339)](),l[e]=f[o(446)])),l[e]&&d&&(l[e][o(376)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(558)],f=a[h(568)][h(280)](d)&&!a[h(568)][h(284)](d),m=t[h(550)]==o[h(295)]&&o[h(314)];if(f&&m)return;const p=a[h(438)](t,o),v=e[h(247)](u),y=new cr({author:v,type:h(250)==l||h(497)==l?h(404):h(275),data:{isSuggestion:h(497)==l||h(425)==l},createdAt:new Date,rootName:i});s[h(508)](y),r[h(502)][h(344)](h(405)+y.id,p)}function v(t,e){const i=n,r=t[i(363)](),s=e[i(363)]();for(const t of r){if(t[1]!==e[i(266)](t[0]))return!1;s[i(449)]()}return s[i(449)]()[i(249)]}}[yr(433)](){const t=yr;this[t(383)][t(549)][t(272)](t(401))[t(399)]({view:t(520)}),this[t(383)][t(549)][t(272)](t(310))[t(366)]({model:t(520),view:e=>{const i=t,n=e[i(513)][i(429)](":")[1],r=this[i(418)](n);if(!r)return null;const s=i(404)==r[i(361)]?i(453):i(374),o=[i(552),i(327)+s];return r[i(485)][i(267)]&&o[i(508)](i(327)+s+i(463)),this[i(378)]==r&&o[i(508)](i(303)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(383)][t(549)][t(272)](t(401))[t(404)]((e=>{const i=t;e.on(i(270),((t,e,n)=>{const r=i,s=e[r(375)][r(261)](0);if(!s||!s.is(r(554),r(395)))return;if(!n[r(442)][r(467)](s,{attributes:[r(575),r(290)]}))return;const o=e[r(391)][r(534)][r(550)];n[r(335)][r(412)](r(575),s[r(266)](r(575)),o),n[r(335)][r(412)](r(290),s[r(266)](r(290)),o)}),{priority:i(352)})})),this[t(383)][t(549)][t(272)](t(401))[t(404)]((e=>{const i=t;e.on(i(554),((t,e,n)=>{const r=i;if(!n[r(442)][r(467)](e[r(375)],{attributes:[r(575),r(290)]}))return;if(e[r(391)][r(556)])return;const s=e[r(391)][r(534)][r(550)];s[r(246)](r(575))||s[r(246)](r(459))||(n[r(335)][r(412)](r(575),e[r(375)][r(266)](r(575)),s),n[r(335)][r(412)](r(290),e[r(375)][r(266)](r(290)),s))}),{priority:i(352)})})),this[t(383)][t(549)][t(272)](t(401))[t(523)]({view:{name:t(441),attributes:{vid:!0}},model:{key:t(459),value:e=>e[t(266)](t(459))}}),this[t(383)][t(319)][t(568)].on(t(311),((e,[,i])=>{const n=t;[n(575),n(290),n(459)][n(542)](i)&&(e[n(258)]=!0,e[n(496)]())}),{priority:t(566)}),this[t(383)][t(549)][t(272)](t(514))[t(404)]((e=>{const i=t;e.on(i(538),((t,e,n)=>{const r=i;if(" "!=e[r(558)][r(485)]||e[r(558)][r(295)][r(427)]>1)return;if(!n[r(442)][r(467)](e[r(558)],t[r(337)]))return;const s=n[r(335)],o=n[r(445)][r(351)](e[r(241)]);s[r(294)](o,s[r(355)](r(441)))}))})),this[t(383)][t(549)][t(272)](t(514))[t(420)]({model:t(520)}),this[t(383)][t(437)][t(350)].on(t(571),function(e){const i=t,n=e[i(331)][i(247)](i(500));return(t,r,s)=>{const o=i,a=r[o(513)][o(429)](":")[1],c=n[o(418)](a);if(!c)return null;const u=o(404)==c[o(361)]?o(429):o(296);if(!s[o(442)][o(397)](r[o(338)],t[o(337)]))return;const l=r[o(338)][o(252)](),h=r[o(338)][o(534)],d=e[o(319)][o(568)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(558)];p=p||d[o(264)](e);const i=s[o(445)][o(348)](e);if(i&&i[o(539)](o(491)))return;o(369)==t[o(361)]&&d[o(280)](e)&&!d[o(284)](e)&&(e[o(325)]||h[o(259)]?f&&f[o(295)]==e||(f=e,y(t[o(287)]),v=!0):m=m||t[o(287)])}function y(t){const e=o,i=s[e(335)][e(349)](e(441),{class:e(327)+u}),a=s[e(445)][e(392)](t);c[e(485)][e(267)]&&s[e(335)][e(525)](e(327)+u+e(463),i),n[e(378)]==c&&s[e(335)][e(525)](e(303),i),s[e(335)][e(540)](a,i),s[e(445)][e(482)](i,r[e(513)])}p||v||!m||y(m)}}(this[t(383)]),{priority:t(431)}),this[t(383)][t(437)][t(350)].on(t(532),((e,i,n)=>{const r=t,s=n[r(445)][r(333)](i[r(513)]);if(s)for(const t of s)(t[r(324)](r(388))||t[r(324)](r(288)))&&(n[r(445)][r(396)](t,i[r(513)]),n[r(335)][r(275)](t))}),{priority:t(431)}),this[t(383)][t(437)][t(350)].on(t(571),((e,i,n)=>{const r=t,s=i[r(513)][r(429)](":")[1],o=this[r(418)](s);if(!o)return null;const a=r(404)==o[r(361)]?r(429):r(296);if(n[r(442)][r(397)](i[r(338)],e[r(337)]))for(const t of i[r(338)][r(279)]()){if(!t.is(r(554),r(346)))continue;const e=n[r(335)][r(349)](r(441),{class:r(327)+a}),s=n[r(445)][r(392)](this[r(383)][r(319)][r(461)](t));o[r(485)][r(267)]&&n[r(335)][r(525)](r(327)+a+r(463),e),this[r(378)]==o&&n[r(335)][r(525)](r(303),e),n[r(335)][r(540)](s,e),n[r(445)][r(482)](e,i[r(513)])}}),{priority:t(431)}),this[t(383)][t(319)][t(291)].on(t(446),(()=>{const e=t;this[e(383)][e(437)][e(393)][e(446)]((t=>{const i=e;for(const e of this[i(383)][i(319)][i(291)][i(390)]()){const n=this[i(383)][i(319)][i(291)][i(448)](e),r=this[i(383)][i(437)][i(393)][i(291)][i(448)](e);if(r){const e=n[i(266)](i(315));if(t[i(417)](i(548),r),t[i(398)](i(281),r),t[i(398)](i(365),r),t[i(398)](i(402),r),e){const n=this[i(418)](e);if(!n)return null;t[i(412)](i(548),e,r),t[i(525)](i(371)+n[i(361)],r),this[i(378)]==n&&t[i(525)](i(402),r)}}}}))})),this[t(383)][t(549)][t(272)](t(401))[t(399)]({view:t(407),model:e=>t(528)+e,converterPriority:t(566)}),this[t(383)][t(549)][t(272)](t(401))[t(399)]({view:t(570),model:e=>t(406)+e,converterPriority:t(566)}),this[t(383)][t(549)][t(272)](t(514))[t(420)]({model:t(516),view:e=>({name:t(537)+e,group:t(516)}),converterPriority:t(566)}),this[t(383)][t(549)][t(272)](t(310))[t(366)]({model:t(516),view:e=>{const i=t,n=e[i(513)][i(429)](":")[1];return i(453)!=n&&i(374)!=n?null:{classes:[i(527),i(320)+n]}}}),this[t(383)][t(437)][t(350)].on(t(277),br(this[t(383)],t(296)),{priority:t(431)}),this[t(383)][t(437)][t(350)].on(t(462),br(this[t(383)],t(429)),{priority:t(431)}),this[t(383)][t(437)][t(350)].on(t(373),((e,i,n)=>{const r=t,s=n[r(445)][r(333)](i[r(513)]);if(s)for(const t of s)t.is(r(273))&&(n[r(445)][r(396)](t,i[r(513)]),n[r(335)][r(275)](t))}),{priority:t(431)})}[yr(418)](t){const e=yr;return this[e(394)][e(247)](t)}[yr(400)](t){const e=yr;return this[e(309)]&&this[e(309)][e(451)](),this[e(309)]=new sr(this[e(383)][e(268)],t),this[e(309)]}[yr(577)](){const t=yr;this[t(383)][t(319)][t(291)][t(545)][t(318)](t(520)),this.on(t(326),((e,i,n,r)=>{const s=t;r&&this[s(536)][s(275)](r),n&&(this[s(536)][s(404)]({view:n,stackId:s(299),position:{target:()=>{const t=s,e=this[t(383)][t(437)],i=this[t(418)](n[t(559)]);let r;if(i[t(485)][t(372)]){const n=e[t(393)][t(473)](i[t(285)]);r=Array[t(353)](n[t(347)]())}else{const i=this[t(383)][t(319)][t(502)][t(247)](t(405)+n[t(559)]);r=Array[t(353)](e[t(445)][t(333)](i[t(337)]))[t(574)]((i=>e[t(393)][t(377)][t(435)](i)))[t(574)]((e=>Array[t(353)](e[t(347)]())))[t(286)]()}return this[t(560)]&&r[t(487)]((e=>e[t(464)]-3<=this[t(560)].y&&e[t(557)]+3>=this[t(560)].y&&e[t(282)]-3<=this[t(560)].x&&e[t(329)]+3>=this[t(560)].x))||r[0]}}}),this[s(536)][s(334)](s(299)))})),this.on(t(434),((e,i,n,r)=>{const s=t;this[s(510)]=n?this[s(400)](n):null,this[s(383)][s(319)][s(446)]((()=>{const t=s,e=this[t(383)][t(437)];r&&(r[t(485)][t(372)]?e[t(393)][t(446)]((i=>{const n=t;i[n(398)](n(402),e[n(393)][n(291)][n(448)](r[n(285)]))})):e[t(501)](t(405)+r.id)),n&&(n[t(485)][t(372)]?e[t(393)][t(446)]((i=>{const r=t;i[r(525)](r(402),e[r(393)][r(291)][r(448)](n[r(285)]))})):e[t(501)](t(405)+n.id))}))})),this[t(460)](this[t(383)][t(437)][t(393)][t(291)],t(443),((e,i)=>{const n=t;if(this[n(378)])return;const r=this[n(567)](i[n(471)]),s=this[n(394)][n(247)](r);s?(this[n(560)]={x:i[n(541)].x,y:i[n(541)].y},this[n(510)]=this[n(400)](s)):(this[n(560)]=null,this[n(510)]=null)})),this[t(460)](this[t(383)][t(437)][t(393)][t(291)],t(475),((e,i)=>{const n=t,r=this[n(567)](i[n(471)]),s=this[n(394)][n(247)](r);s?(this[n(560)]={x:i[n(541)].x,y:i[n(541)].y},s===this[n(378)]?this[n(536)][n(356)]():this[n(378)]=s):(this[n(560)]=null,this[n(378)]=null)}))}[yr(567)](t){const e=yr;do{const i=t[e(266)](e(548));if(i)return i;t=t[e(295)]}while(t);return null}[yr(530)](){const t=yr;this[t(383)][t(319)][t(446)]((e=>{const i=t;for(const t of this[i(383)][i(319)][i(502)])e[i(547)](t)}))}}function br(t,e){return(i,n,r)=>{const s=wr;if(!r[s(442)][s(397)](n[s(338)],i[s(337)]))return;const o=n[s(338)][s(252)](),a=n[s(338)][s(534)],c=t[s(319)][s(568)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(558)];h=h||c[s(264)](e);const i=r[s(445)][s(348)](e);if(i&&i[s(539)](s(491)))return;s(369)==t[s(361)]&&c[s(280)](e)&&!c[s(284)](e)&&(e[s(325)]||a[s(259)]?u&&u[s(295)]==e||(u=e,f(t[s(287)]),d=!0):l=l||t[s(287)])}function f(t){const i=s,o=r[i(445)][i(392)](t),a=r[i(335)][i(349)](i(441),{class:i(320)+e});r[i(335)][i(540)](o,a),r[i(445)][i(482)](a,n[i(513)])}h||d||!l||f(l)}}function wr(t,e){const i=vr();return(wr=function(t,e){return i[t-=241]})(t,e)}class _r extends qi.Command{constructor(t){const e=yr;super(t);const i=t[e(331)][e(247)](kr);this[e(419)]=!1,this[e(460)](i,e(289),(()=>this[e(499)]())),this[e(460)](i,e(368),(()=>this[e(499)]()))}[yr(306)](){const t=yr,e=this[t(383)],i=e[t(331)][t(247)](kr),n=i[t(265)]?i[t(503)][t(515)]:null;e[t(521)][t(247)](t(529))[t(436)](n)}[yr(499)](){const t=yr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(383)][t(331)][t(247)](kr),s=r&&n[t(546)](r[t(515)]);this[t(488)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=yr;super(t);const n=t[i(331)][i(247)](kr);this[i(419)]=!1,this[i(517)]=i(382)===e?1:-1,this[i(460)](n,i(289),(()=>this[i(499)]())),this[i(460)](n,i(368),(()=>this[i(499)]())),this[i(460)](n,i(434),(()=>this[i(499)]()))}[yr(306)](){const e=yr,i=this[e(383)],n=i[e(331)][e(247)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(378)]=r?n[e(503)][e(321)][e(247)](s+this[e(517)]):n[e(503)][e(321)][e(535)],n[e(378)][e(485)][e(372)])o=i[e(437)][e(393)][e(473)](n[e(378)][e(285)]);else{const t=i[e(319)][e(502)][e(247)](e(405)+n[e(378)].id);o=(0,Bi.getMarkerDomElement)(i[e(437)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[yr(499)](){const t=yr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(383)][t(331)][t(247)](kr);this[t(488)]=!!(s&&r&&n)&&(!e||(1===this[t(517)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Ln().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["EDIT_X_OF_Y_REVISIONS","ck-hidden","217jUTNtT","isForwardNavigationEnabled","div","span","Loading...","1273900viiiie","isEnabled","isReady","96wPYBcd","263045fjmZVo","2059824zwAyJD","4091835QSUSwK","setTemplate","187312zwPwLS","NUMBER_OF_CHANGES","isBackwardNavigationEnabled","79533lACYUX","2PSzuag","backward","bind","340zZnLka","ck-revision-history-ui__changes-navigation__wrapper","currentChangeNumber","set","ck-revision-history-ui__changes-navigation__navigation","Show next change","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","_statusText","execute","fire","No changes","forward","ck-revision-history-ui","Total","ck-revision-history-ui__changes-navigation__label","numberOfChanges","605987nPmoiL","isNavigationMode","Show previous change","_isStatusLabelVisible","bindTemplate"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=211]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(425291===-parseInt(e(219))/1*(-parseInt(e(243))/2)+-parseInt(e(236))/3+parseInt(e(231))/4+parseInt(e(235))/5*(parseInt(e(234))/6)+parseInt(e(226))/7*(-parseInt(e(239))/8)+parseInt(e(242))/9*(-parseInt(e(246))/10)+parseInt(e(237))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Nr extends En.View{constructor(t){const e=Tr;super(t);const i=this[e(223)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(249)](e(220),!1),this[e(249)](e(233),!1),this[e(249)](e(248),0),this[e(249)](e(218),0),this[e(249)](e(227),!1),this[e(249)](e(241),!1),this[e(245)](e(222)).to(this,e(233),this,e(218),((t,e)=>t&&e>0)),this[e(245)](e(254)).to(this,e(233),this,e(248),this,e(218),this,e(220),((i,n,r,s)=>{const o=e;if(!i)return Xi(t,o(230));if(!r)return Xi(t,o(213));const a=Xi(t,o(240),r);return s?Xi(t,o(253),[n+1,r]):a})),n[e(249)]({label:Xi(t,e(221)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(249)]({label:Xi(t,e(251)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(245)](e(232)).to(this,e(241)),r[e(245)](e(232)).to(this,e(227)),n.on(e(211),(()=>this[e(212)](e(211),e(244)))),r.on(e(211),(()=>this[e(212)](e(211),e(214)))),this[e(238)]({tag:e(228),attributes:{class:["ck",e(215),e(252)]},children:[{tag:e(229),attributes:{class:[e(247)]},children:[{tag:e(229),attributes:{class:[e(217),i.if(e(222),e(225),(t=>!t))]},children:[{text:i.to(e(220),(i=>i?Xi(t,e(224))+": ":Xi(t,e(216))+": "))}]},{text:i.to(e(254))}]},new En.ToolbarSeparatorView,{tag:e(228),attributes:{class:[e(250)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Ln().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Mr=Vr;function Vr(t,e){const i=Er();return(Vr=function(t,e){return i[t-=256]})(t,e)}function Er(){const t=["isOfficialPlugin","editing","document","6LBMaJt","pluginName","3376928oMxoen","removeClass","594WJVJud","8zzBtGH","view","show","RevisionViewerLoadingOverlay","6386130llDwtB","editor","516826zIwDMk","351820IIxKfT","10639962ikrjpf","roots","ck-editor__editable__loading-overlay","4487959ewjBdc","hide","isPremiumPlugin","991299rqJmpX","4pRMMYx","change","addClass"];return(Er=function(){return t})()}!function(t){const e=Vr,i=t();for(;;)try{if(643830===parseInt(e(256))/1*(-parseInt(e(273))/2)+-parseInt(e(281))/3+parseInt(e(264))/4+-parseInt(e(271))/5+-parseInt(e(262))/6*(parseInt(e(278))/7)+-parseInt(e(267))/8*(-parseInt(e(275))/9)+-parseInt(e(274))/10*(-parseInt(e(266))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Mr(277);class Cr extends qi.Plugin{static get[Mr(263)](){return Mr(270)}static get[Mr(259)](){return!0}static get[Mr(280)](){return!0}[Mr(269)](){const t=Mr,e=this[t(272)][t(260)][t(268)];e[t(257)]((i=>{const n=t;for(const t of e[n(261)][n(276)])i[n(258)](Dr,t)}))}[Mr(279)](){const t=Mr,e=this[t(272)][t(260)][t(268)];e[t(257)]((i=>{const n=t;for(const t of e[n(261)][n(276)])i[n(265)](Dr,t)}))}}const jr=Pr;function Fr(){const t=["4603257yjxwiB","undo","isReady","commands","change:isReady","14ityhth","showNextChange","5MnQuVt","pluginName","init","showPreviousChange","show","248GRjLMn","listenTo","plugins","set","isOfficialPlugin","195484NXKFoD","3086718iOvfPv","restoreRevision","ck-revision-history-ui__back-to-editing","3656480OCJnFR","revisionHistory","15848060SpcUmG","isBackwardNavigationEnabled","requires","hide","editor","isEnabled","changesNavigation","componentFactory","isForwardNavigationEnabled","config","closeRevisionViewerCallback","exitToEditing","isPremiumPlugin","152382Pybwaj","execute","add","numberOfChanges","forward","isNavigationMode","bind","Back to editing","get","Restore this revision","RevisionViewerUI","currentChangeNumber","23367CLGTqm"];return(Fr=function(){return t})()}function Pr(t,e){const i=Fr();return(Pr=function(t,e){return i[t-=461]})(t,e)}!function(t){const e=Pr,i=t();for(;;)try{if(588034===-parseInt(e(468))/1+-parseInt(e(498))/2+-parseInt(e(480))/3*(-parseInt(e(493))/4)+parseInt(e(488))/5*(parseInt(e(499))/6)+-parseInt(e(486))/7*(-parseInt(e(502))/8)+parseInt(e(481))/9+-parseInt(e(504))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fr);class Lr extends qi.Plugin{static get[jr(489)](){return jr(478)}static get[jr(497)](){return!0}static get[jr(467)](){return!0}static get[jr(506)](){return[kr,Cr]}[jr(490)](){const t=jr,e=this[t(508)],i=e[t(495)][t(476)](kr),n=e[t(495)][t(476)](Cr);e.ui[t(462)][t(470)](t(466),(i=>{const n=t,r=new En.ButtonView(i);return r[n(496)]({label:Xi(i,n(475)),icon:qi.icons[n(482)],withText:!0,tooltip:!0,class:n(501)}),this[n(494)](r,n(469),(()=>{const t=n;e[t(464)][t(476)](t(503))[t(465)]()})),r})),e.ui[t(462)][t(470)](t(500),(i=>{const n=t,r=new En.ButtonView(i);return r[n(496)]({label:Xi(i,n(477)),withText:!0,tooltip:!0}),r[n(474)](n(509)).to(e[n(484)][n(476)](n(500))),this[n(494)](r,n(469),(()=>e[n(469)](n(500)))),r})),e.ui[t(462)][t(470)](t(461),(n=>{const r=t,s=new Nr(n),o=e[r(484)][r(476)](r(491)),a=e[r(484)][r(476)](r(487));return s[r(474)](r(505)).to(o,r(509)),s[r(474)](r(463)).to(a,r(509)),s[r(474)](r(483),r(479),r(471),r(473)).to(i),this[r(494)](s,r(469),((t,i)=>{const n=r;e[n(469)](n(472)===i?n(487):n(491))})),s})),n[t(492)](),i.on(t(485),((e,i,r)=>{const s=t;r?n[s(507)]():n[s(492)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function Zr(t,e){const i=$r();return(Zr=function(t,e){return i[t-=156]})(t,e)}function $r(){const t=["Revision name","span","_tooltipString","491wyIpru","extendTemplate","23276796OKuTct","9sIMppx","input","render","4535652PPtVzc","placeholder","9402uHpGOo","set","fieldView","_resizeObserver","4907kNuqSQ","81705fygfnI","164AbVYEO","5150LScSJp","scrollWidth","bindTemplate","ck-tooltip_multi-line","clientWidth","12341290cGZtYe","_updateTooltipText","11WuzfmY","39BkegHn","value","6709552zuzVpF","Enter the revision name","listenTo","ck-revision-history-sidebar__revision-name","destroy","element"];return($r=function(){return t})()}!function(t){const e=Zr,i=t();for(;;)try{if(798281===-parseInt(e(159))/1*(-parseInt(e(174))/2)+parseInt(e(165))/3+parseInt(e(173))/4*(parseInt(e(172))/5)+parseInt(e(167))/6*(parseInt(e(171))/7)+parseInt(e(184))/8*(parseInt(e(162))/9)+-parseInt(e(179))/10*(-parseInt(e(181))/11)+-parseInt(e(161))/12*(parseInt(e(182))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($r);class Hr extends En.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(170)]=null;const n=this[i(176)];this[i(168)]({label:Xi(t,i(156)),_tooltipString:""}),this[i(169)][i(166)]=Xi(t,i(185)),this[i(160)]({tag:i(157),attributes:{class:[i(187)],"data-cke-tooltip-text":n.to(i(158)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(177)}})}[Ur(164)](){const e=Ur;super[e(164)](),this[e(170)]=new t.ResizeObserver(this[e(169)][e(189)],(()=>this[e(180)]())),this[e(186)](this[e(169)],e(163),(()=>this[e(180)]()))}[Ur(188)](){const t=Ur;super[t(188)](),this[t(170)]&&this[t(170)][t(188)]()}[Ur(180)](){const t=Ur,e=this[t(169)][t(189)];this[t(158)]=e[t(175)]>e[t(178)]&&e[t(183)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=444]})(t,e)}function Jr(){const t=["push","name","Revision author","1981gbpoRx","Revision creator","ck-revision-history-sidebar__revision-author__name","setTemplate","span","945066BxgOLw","68188AeqYoI","set","17144ygRUBb","55NWRtPP","15070NujOOa","995186vAzOQY","ck-revision-history-sidebar__revision-author_creator","1WapOwY","7657044oPZgEN","12234816RVOUCg","ck-revision-history-sidebar__revision-author","0 0 11 10","1971hNdyMw"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(737616===parseInt(e(453))/1*(parseInt(e(451))/2)+parseInt(e(445))/3+parseInt(e(446))/4*(-parseInt(e(449))/5)+-parseInt(e(454))/6+-parseInt(e(462))/7*(-parseInt(e(448))/8)+parseInt(e(458))/9*(-parseInt(e(450))/10)+parseInt(e(455))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends En.View{constructor(t,e,i){const n=Yr;super(t);const r=new En.IconView;r[n(447)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(457)});const s=["ck",n(456)];i&&s[n(459)](n(452));const o=[{tag:n(444),attributes:{class:["ck",n(464)],title:Xi(t,n(i?463:461))},children:[r,e[n(460)]]}];this[n(465)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["28040QcWdYB","4xsfQOe","88HcvIZV","883821WUeGnz","numeric","toLocaleTimeString","1243snGewn","4148641NpNqMt","toLocaleDateString","4653290YMWLdr","7EKxEuW","192138FuZGDK","637380VsJqoN","long","1591218mJYIEs"];return(Kr=function(){return t})()}function Qr(t,e){var i=Kr();return(Qr=function(t,e){return i[t-=452]})(t,e)}!function(t){for(var e=Qr,i=t();;)try{if(870550===-parseInt(e(454))/1*(-parseInt(e(455))/2)+parseInt(e(462))/3*(-parseInt(e(460))/4)+-parseInt(e(453))/5+-parseInt(e(458))/6+parseInt(e(466))/7+-parseInt(e(461))/8*(-parseInt(e(456))/9)+-parseInt(e(459))/10*(-parseInt(e(465))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Xr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Xr.A,ts);Xr.A&&Xr.A.locals&&Xr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=309]})(t,e)}function is(){const t=["execute","144BtbMdM","Restore this revision","menu","panelPosition","add","bindTemplate","find","37266930osjmXB","change:isActionsDropdownOpen","isReady","977123YxEmUA","class","listenTo","2451894VobgyM","505256nKoWYV","60505SvNPhr","items","Show more items","source","4576557xDHwmD","first","action","isActionsDropdownOpen","locale","threeVerticalDots","set","10206918KotaZi","name","stopPropagation","1lBvuzA","isOpen","children","Compare against selected","bind","64xzrkIy","buttonView","ck-revision-history-sidebar__revision__actions","button","listView","menuitem","isVisible","model","map","extendTemplate","Name this revision","_action","ck-on","function","isEnabled"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(828507===parseInt(e(315))/1*(-parseInt(e(349))/2)+-parseInt(e(355))/3+parseInt(e(350))/4+-parseInt(e(351))/5*(parseInt(e(336))/6)+parseInt(e(346))/7*(-parseInt(e(320))/8)+parseInt(e(312))/9+parseInt(e(343))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Ln().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=216]})(t,e)}function as(){const t=["226iCCHWB","599778NPMzIl","change","961198fWvyPb","unhighlight","div","isReady","unshift","isHighlighted","ck-reset","_createdAtFormatted","deselect","srcElement",".ck-thread__remove-confirm","883zEElLm","ck-disabled","createdAt","1017670SVmMEU","isActionsDropdownOpen","value","uiLanguage","element","220","fieldView","revisionNameView","isEnabled","bindTemplate","authors","set","fire","isConfirm","228792yQdFAQ","10EBHpJg","183yjtsZX","_revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","2485053kBZBfe","render","setTemplate","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision-wrapper","bind","filter","map","span","extendTemplate","ck-revision-history-sidebar__revision","5412ujfbDU","isSelected","creator","name","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision-authors","listenTo","highlight","length","closest","select","setName","_requireRevisionName","from","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_highlighted","revisionActionsView"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(121287===parseInt(e(226))/1*(-parseInt(e(277))/2)+-parseInt(e(245))/3*(-parseInt(e(259))/4)+-parseInt(e(229))/5+-parseInt(e(278))/6+parseInt(e(280))/7+parseInt(e(243))/8+parseInt(e(248))/9*(parseInt(e(244))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(238)],a=function(t,e){const i=s,n=Array[i(272)](e[i(239)])[i(254)]((t=>t!=e[i(261)]));return e[i(261)]&&n[i(219)](e[i(261)]),n[i(255)]((n=>new Gr(t,n,n==e[i(261)])))}(e,i);this.id=i.id,this[s(246)]=i,this[s(271)]=r,this[s(253)](s(262),s(228)).to(i),this[s(253)](s(222)).to(this,s(228),(t=>{return i=e[s(232)],(n=t)[(r=Qr)(452)](i,{month:r(457),day:r(463)})+", "+n[r(464)](i,{hour:r(463),minute:r(463)});var i,n,r})),this[s(240)](s(260),!1),this[s(240)](s(220),!1),this[s(240)](s(230),!1),this[s(240)](s(218),!1),this[s(240)](s(237),!1),this[s(236)]=new Hr(e,En.createLabeledInputText),this[s(236)][s(235)][s(257)]({attributes:{maxlength:s(234)}}),this[s(236)][s(235)][s(253)](s(231)).to(this,s(262),(t=>t||this[s(222)])),this[s(236)][s(253)](s(237)).to(this,s(260),this,s(237),((t,e)=>t&&e)),this[s(276)]=n&&n[s(267)]?function(e,i){const n=es,r=e[n(341)],s=e[n(309)],o=(0,En.createDropdown)(s);o[n(339)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(309)],r={"Compare against selected":Xi(n,i(318)),"Name this revision":Xi(n,i(330)),"Restore this revision":Xi(n,i(337))};return e[i(328)]((t=>{const e=i,n=r[t[e(313)]];return n&&n!==t[e(313)]&&(t[e(313)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(323),model:new En.ViewModel({label:t[r(313)],class:t[r(347)],withText:!0,role:r(325),_action:t[r(357)]})};i[r(327)][r(319)](r(334)).to(e,r(358),(i=>r(333)!=typeof t[r(334)]||!i||t[r(334)](e))),o[r(340)](i)}return o}(e,i);return e[n(319)](n(358)).to(o,n(316)),o[n(321)][n(311)]({label:Xi(s,n(353)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(310)]}),o[n(329)]({attributes:{class:[n(322),r.if(n(358),n(332))]},on:{click:r.to((t=>t[n(314)]()))}}),o.on(n(335),(t=>{const i=n;e[i(345)]&&i(333)==typeof t[i(354)][i(331)]&&t[i(354)][i(331)](e)})),(0,En.addListToDropdown)(o,a,{role:n(338)}),o[n(348)](e,n(344),((t,r,s)=>{const a=n;if(s)for(const t of o[a(324)][a(352)]){const n=t[a(317)][a(356)],r=i[a(342)]((t=>t[a(357)]===n[a(331)]))[a(326)];t[a(326)]=void 0===r||r(e)}})),o}(this,n):"",this[s(276)]&&this[s(276)][s(253)](s(237)).to(this),this[s(250)]({tag:s(217),attributes:{class:["ck",s(221),s(252),o.if(s(242),s(247))]},children:[{tag:s(217),attributes:{class:["ck",s(221),s(258),o.if(s(237),s(227),(t=>!t)),o.if(s(260),s(251)),o.if(s(220),s(275)),o.if(s(230),s(263))]},children:[this[s(236)],{tag:s(256),attributes:{class:["ck",s(274)]},children:[{text:o.to(s(222))}]},{tag:s(217),attributes:{class:["ck",s(273)]},children:[{tag:"ul",attributes:{class:["ck",s(264)]},children:a}]},this[s(276)]],on:{click:o.to((t=>{const e=s;t[e(224)][e(268)](e(225))||this[e(218)]&&this[e(237)]&&this[e(241)](e(269),{id:this.id})}))}}]})}[ss(249)](){const t=ss;super[t(249)]();const e=this[t(236)][t(235)][t(233)];this[t(265)](e,t(279),(()=>{const i=t;this[i(271)]&&!e[i(231)]||this[i(241)](i(270),{id:this.id,name:e[i(231)]}),e[i(231)]||(e[i(231)]=this[i(262)]?this[i(262)]:this[i(222)])}))}[ss(269)](){this[ss(260)]=!0}[ss(223)](){this[ss(260)]=!1}[ss(266)](){this[ss(220)]=!0}[ss(216)](){this[ss(220)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Es={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class $s extends Us{static get instance(){return null===Zs&&(Zs=new $s),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Hs={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},Hs={}}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=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,Hs[n]||(Hs[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Hs[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,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 Js={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Qs={};let Xs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).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 n=Qs[i];return n||(n=new Intl.NumberFormat(t,e),Qs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;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&&Ys.create(i).valid?(n=i,this.dt=t):(n="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,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}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 so{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ho()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Xs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Xs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={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."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[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 oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Jo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Qs={},Xs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,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,n;try{e=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,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=r,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?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(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 io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(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:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}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 co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(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 lo extends Us{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 ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?$s.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={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]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,$s.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Vo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Eo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Vo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Eo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Vo(e,i,n),...ma(t)}}function Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(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 zo(t){const e=$o(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function $o(t){return"number"==typeof t&&t%1==0}function Ho(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return $o(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(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 oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];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 ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Vs,f:Es,ff:Cs,fff:Ps,ffff:zs,F:Ds,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[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 Ko(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(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.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 s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({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 n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({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 n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({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 n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({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 n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({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}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Va(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ea(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Qo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function $a(t,e,i){const n=t[e];return Uo(n)?i:Qo(n)}function Ha(t,e){return[{hours:$a(t,e,0),minutes:$a(t,e+1,0),seconds:$a(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ja=/^-?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 Ga(t){const[e,i,n,r,s,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(Xo(i)),months:d(Xo(n)),weeks:d(Xo(r)),days:d(Xo(s)),hours:d(Xo(o)),minutes:d(Xo(a)),seconds:d(Xo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Qo(e)):Qo(e),month:va.indexOf(i)+1,day:Qo(n),hour:Qo(r),minute:Qo(s)};return o&&(a.second=Qo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Xa=/^(?:(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 tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Qa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(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$/,ic=/^(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$/,nc=/^(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 rc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Va(/(\d{4})-?(\d{3})/,La),uc=Va(Pa),lc=Ea((function(t,e){return[{year:$a(t,e),month:$a(t,e+1,1),day:$a(t,e+2,1)},null,e+3]}),Ha,qa,Ba),hc=Ea(za,Ha,qa,Ba),dc=Ea(Wa,Ha,qa,Ba),fc=Ea(Ha,qa,Ba);const mc=Ea(Ha);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Va(Ua),yc=Ea(Ha,qa,Ba);const gc="Invalid Duration",kc={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}},bc={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},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,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:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={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 Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ja,Ga])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({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 ms(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?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(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+=ea(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 wu.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?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.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]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(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 xc(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 n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{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 ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.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:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.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 n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.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?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}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:Mc.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 Mc.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 n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[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=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Vc{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:Ho(),localeWeek:qo()}}}function Ec(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["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=Ec(t,e);return(i-i%7)/7}],["days",Ec]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(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 n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Pc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Lc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Pc).join("|")),deser:([i])=>t.findIndex((t=>Lc(i)===Lc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={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 $c=null;function Hc(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Hc(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(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 zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\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 n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(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),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(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 n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter(($c||($c=wu.fromMillis(1555555555555)),$c)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(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=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Qc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Xc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(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 nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.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=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(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 ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(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 ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Lo(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=$o(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=$o(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Po(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Xa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Hc(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}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?Qc(this).weekYear:NaN}get weekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get weekday(){return this.isValid?Qc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Xc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Xc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Vc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vc.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=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(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=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Lo(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){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"===n)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"===n){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?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[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 Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.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||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Vs}static get DATETIME_SHORT(){return Es}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=324]})(t,e)}function Su(){const t=["11nOXgbm","startOf","hasSame","local","setLocale","weekdayLong","36EHlJqL","1310248KeEphL","monthLong","day","year","week","43598uvHBLx","month","minus","64276lUaNnP","toRelativeCalendar","fromJSDate","102YHYPtH","29115EVYzag","20XcByrw","283913abAStf","613430SKRVGe","2xSrBPV","3957516ljwOYH","toJSDate"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(340)](t)[i(327)](e),r=wu[i(326)](),s=r[i(337)]({days:1})[i(324)](i(332));let o,a;return n[i(325)](r,i(332))?(o=n[i(324)](i(332))[i(348)](),a=n[i(339)]()):n[i(325)](s,i(332))?(o=s[i(348)](),a=n[i(339)]()):n[i(325)](r,i(334))?(o=n[i(324)](i(334))[i(348)](),a=n[i(328)]||""):n[i(325)](r,i(333))?(o=n[i(324)](i(336))[i(348)](),a=n[i(331)]||""):(o=n[i(324)](i(333))[i(348)](),a=String(n[i(333)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(351650===-parseInt(e(346))/1*(-parseInt(e(335))/2)+parseInt(e(342))/3+-parseInt(e(338))/4*(-parseInt(e(343))/5)+parseInt(e(341))/6*(-parseInt(e(344))/7)+-parseInt(e(330))/8*(-parseInt(e(329))/9)+-parseInt(e(345))/10*(parseInt(e(349))/11)+parseInt(e(347))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Ln().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Ru;function Au(){const t=["ck-revision-history-sidebar__time-period","1151790hisIwJ","296kFxcjX","localizedPeriodName","setName","187PwArMX","removeRevision","76455NPGgcz","remove","5fheovm","4516260wAFCMk","delegate","ck-revision-history-sidebar__time-period__label","locale","span","setTemplate","6450339gfsxNh","div","_revisionActions","revisionViews","72533NYMXCf","addRevision","createCollection","2cPMpIN","uiLanguage","331071zNcsgj","5395452FJNkbP","select","_requireRevisionName","ck-revision-history-sidebar__time-period__revisions","startDate","add","find"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=457]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(574722===-parseInt(e(467))/1*(parseInt(e(470))/2)+parseInt(e(472))/3+-parseInt(e(457))/4*(parseInt(e(489))/5)+-parseInt(e(473))/6+parseInt(e(463))/7+-parseInt(e(482))/8*(parseInt(e(487))/9)+parseInt(e(481))/10*(parseInt(e(485))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Mu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(460)][r(471)])[r(483)];this[r(477)]=e,this[r(466)]=this[r(469)](),this[r(465)]=i,this[r(475)]=n,this[r(466)][r(458)](r(474)).to(this),this[r(466)][r(458)](r(484)).to(this),this[r(462)]({tag:r(464),attributes:{class:["ck",r(480)]},children:[{tag:r(461),attributes:{class:["ck",r(459)]},children:[{text:s}]},{tag:r(464),attributes:{class:["ck",r(476)]},children:this[r(466)]}]})}[Nu(468)](t){const e=Nu,i=new cs(this[e(460)],t,this[e(465)],this[e(475)]);this[e(466)][e(478)](i)}[Nu(486)](t){const e=Nu,i=this[e(466)][e(479)]((e=>e.id===t.id));this[e(466)][e(488)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Ln().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=138]})(t,e)}function Cu(){const t=["history","1406Osoxmc","30912cTejor","994TzyGEP","ck-revision-history-sidebar__header","3319728jgMAbR","1356930JRqLTP","642710VVtBGo","ck-reset_all","content","setTemplate","div","371ufpzRW","1204452VwZzIU","span","ck-revision-history-sidebar__header__label","Revision history","27wpMcHa","2773776dcpmqy"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(580343===-parseInt(e(151))/1*(-parseInt(e(153))/2)+parseInt(e(155))/3+-parseInt(e(149))/4+-parseInt(e(138))/5+-parseInt(e(144))/6+parseInt(e(143))/7*(parseInt(e(152))/8)+-parseInt(e(148))/9*(parseInt(e(156))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(140)]=qi.icons[e(150)],this[e(141)]({tag:e(142),attributes:{class:["ck",e(139),e(154)]},children:[i,{tag:e(145),attributes:{class:["ck",e(146)]},children:[Xi(t,e(147))]}]})}}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=Zn();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Lu=Wu;function zu(){const t=["revisionViews","_revisionActions","ck-reset","69924CmByJh","remove","_getTimePeriodViewByStartDate","ck-revision-history-sidebar","ck-revision-history-sidebar__timeline","get","delegate","highlightRevisions","selectRevision","revisionSelected","set","17136SCKJTH","createCollection","getTime","startDate","createdAt","2469597GrKCtC","revisionSetName","unhighlight","some","deselect","addRevision","_revisions","45702nsjhzp","6712lpQKjx","div","755ORuiDc","9TUqCwm","map","_removeRevision","bindTemplate","3717tcSeMs","fire","select","add","timePeriodViews","setName","locale","_addRevision","isEnabled","render","find","uiLanguage","ck-rounded-corners","highlight","flat","setTemplate","_requireRevisionName","9728690djSjcI","ck-disabled","57292vtePRw","removeRevision"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=333]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(714665===parseInt(e(350))/1*(-parseInt(e(373))/2)+parseInt(e(339))/3+-parseInt(e(378))/4+parseInt(e(349))/5*(-parseInt(e(346))/6)+-parseInt(e(334))/7+parseInt(e(347))/8*(parseInt(e(354))/9)+parseInt(e(371))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends En.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(353)];this[r(358)]=this[r(335)](),this[r(358)][r(384)](r(356)).to(this),this[r(358)][r(384)](r(359)).to(this),this[r(345)]=e,this[r(376)]=i,this[r(370)]=n,this.on(r(356),((t,e)=>{const i=r;this[i(355)](i(387),e)})),this.on(r(359),((t,e)=>{const i=r;this[i(355)](i(340),e)})),this[r(333)](r(362),!1),this[r(369)]({tag:r(348),attributes:{class:["ck",r(377),r(366),r(381)]},children:[new ju(t),{tag:r(348),attributes:{class:["ck",r(382),s.if(r(362),r(372),(t=>!t))]},children:this[r(358)]}]})}[Lu(363)](){const t=Lu;super[t(363)]();for(const e of this[t(345)])this[t(361)](e);this[t(345)].on(t(357),((e,i)=>{this[t(361)](i)})),this[t(345)].on(t(379),((e,i)=>{this[t(352)](i)}))}get[Lu(375)](){const t=Lu;return this[t(358)][t(351)]((e=>e[t(375)][t(351)]((t=>t))))[t(368)]()}[Lu(386)](t){const e=Lu;for(const i of this[e(375)])t&&t.id===i.id?i[e(356)]():i[e(343)]()}[Lu(385)](t){const e=Lu;for(const i of this[e(375)])t[e(342)]((({id:t})=>t===i.id))?i[e(367)]():i[e(341)]()}[Lu(361)](t){const e=Lu,i=Ou(t[e(338)],this[e(360)][e(365)])[e(337)];let n=this[e(358)][e(383)](0);n&&n[e(337)][e(336)]()===i[e(336)]()||(n=new Mu(this[e(360)],i,this[e(376)],this[e(370)]),this[e(358)][e(357)](n)),n[e(344)](t)}[Lu(352)](t){const e=Lu,i=Ou(t[e(338)],this[e(360)][e(365)])[e(337)];this[e(380)](i)[e(374)](t)}[Lu(380)](t){const e=Lu;return this[e(358)][e(364)]((i=>i[e(337)][e(336)]()===t[e(336)]()))}}const Zu=$u;function $u(t,e){const i=Bu();return($u=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(680404===parseInt(e(412))/1+-parseInt(e(443))/2+parseInt(e(402))/3*(-parseInt(e(396))/4)+parseInt(e(466))/5+-parseInt(e(417))/6+parseInt(e(426))/7+parseInt(e(456))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bu);class Hu extends qi.Plugin{static get[Zu(461)](){return Zu(457)}static get[Zu(421)](){return!0}static get[Zu(452)](){return!0}static get[Zu(392)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(455)]=t[e(465)][e(463)](kr),this[e(419)]=this[e(455)][e(432)],this[e(397)]=null}[Zu(395)](){const t=Zu,e=this[t(419)][t(407)],i=this[t(462)](),n=this[t(467)][t(444)][t(463)](t(418));this[t(397)]=new Uu(this[t(467)][t(430)],e,i,this[t(467)][t(444)][t(463)](t(436))),this[t(397)].on(t(441),this[t(447)][t(434)](this)),this[t(397)].on(t(390),this[t(410)][t(434)](this)),this[t(397)][t(434)](t(442)).to(this[t(455)]),this[t(397)][t(435)].on(t(438),((e,i)=>{const n=t;i[n(414)].on(n(438),((t,e)=>{const i=n;e[i(434)](i(442),i(408)).to(this[i(455)])}))})),this[t(397)][t(464)](),this[t(437)](this[t(467)][t(405)],t(394),this[t(406)][t(434)](this)),this[t(437)](this[t(455)],t(404),this[t(398)][t(434)](this)),n[t(415)](this[t(397)][t(468)])}[Zu(429)](){const t=Zu;this[t(397)][t(468)][t(427)](),this[t(397)][t(429)]()}[Zu(406)](){const t=Zu,e=this[t(419)][t(403)](0);if(e){const i=this[t(419)][t(409)](e.id);this[t(455)][t(433)](e,i)}}[Zu(447)](t,e){const i=Zu,n=this[i(419)][i(403)](e.id),r=this[i(419)][i(409)](n.id);this[i(455)][i(433)](n,r)}[Zu(410)](t,e){const i=Zu;this[i(419)][i(403)](e.id)[i(448)](e[i(450)])}[Zu(398)](t,e,i){const n=Zu,r=this[n(419)][n(446)](i);r[n(460)]>2?(this[n(397)][n(420)](r),this[n(397)][n(416)](null)):(this[n(397)][n(420)]([]),this[n(397)][n(416)](r[0]))}[Zu(462)](){const t=Zu,e=this[t(467)],i=Hu[t(454)],n=e[t(444)][t(463)](t(425))||Hu[t(431)];if(n[t(460)])return n[t(451)]((n=>{const r=t,s=r(422)==typeof n?Object[r(411)]({},i[n]):n;return s[r(445)]=s[r(445)][r(434)](this,e),s[r(400)]&&(s[r(400)]=s[r(400)][r(434)](this,e)),s}))}}Hu[Zu(431)]=[Zu(428),Zu(459),Zu(424)],Hu[Zu(454)]={compareAgainstSelected:{name:Zu(440),action:({plugins:t},e)=>{const i=Zu,n=t[i(463)](kr),r=n[i(432)];let s=n[i(401)][i(449)],o=e.id;r[i(399)](s)>r[i(399)](o)&&([s,o]=[o,s]),n[i(433)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(463)](kr);return!(n[i(432)][i(446)](n[i(401)])[i(460)]>2||e[i(458)])}},restoreRevision:{name:Zu(413),action:(t,{id:e})=>{const i=Zu;t[i(444)][i(463)](i(423))[i(469)](e)},isVisible:({plugins:t},e)=>!!t[Zu(463)](kr)[Zu(432)][Zu(453)](e.id)},nameRevision:{name:Zu(389),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(463)](kr),s=r[n(432)][n(409)](e);r[n(433)](e,s),i[n(391)](),i[n(393)][n(439)]()}}};const qu=Hu;function Bu(){const t=["_revisionsRepository","highlightRevisions","isOfficialPlugin","string","revisionHistory","nameRevision","revisionHistory.revisionActions","413805lGuOEI","remove","compareAgainstSelected","destroy","locale","defaultRevisionActions","repository","compare","bind","timePeriodViews","revisionHistory.requireRevisionName","listenTo","add","select","Compare against selected","revisionSelected","isEnabled","2001132VQhGIH","config","action","getRevisionsInDiff","_handleRevisionSelected","setName","newRevisionId","name","map","isPremiumPlugin","getLaterVisibleRevision","availableRevisionActions","_revisionViewer","15100992UTiLSa","RevisionsSidebar","isSelected","restoreRevision","length","pluginName","_createRevisionActions","get","render","plugins","4549305eHBaEj","editor","element","restoreRevisionCallback","Name this revision","revisionSetName","focus","requires","fieldView","ready","init","5318948MSYFhz","_sidebarView","_handleDiffChange","getIndex","isVisible","diff","3ILfLdH","getRevision","change:diff","data","_handleEditorDataReady","_revisions","isReady","getEarlierVisibleRevision","_handleRevisionSetName","assign","794818QcQTpt","Restore this revision","revisionViews","appendChild","selectRevision","3844266sEqlXt","revisionHistory.viewerSidebarContainer"];return(Bu=function(){return t})()}const Yu=Gu;function Ju(){const t=["_view","162288ZxXnqW","bind","59127OIrHtf","restore","8184hdfJzO","getRoot","fire","view","addToolbar","render","init","editor","name","limiterElement","isFocused","toolbar","1FAIvTK","editing","265310sCwZyA","focusTracker","_elementReplacer","3565023BNJKdc","rootName","14132172qhhHLY","16138xbgKoO","90Uwcvvx","ready","element","_initToolbar","270ZBNZTe","viewportTopOffset","replace","editable","212wGlrWs","componentFactory","destroy","54GWfmjb","fillFromConfig","setEditableElement","attachDomRoot","stickyPanel","isActive","config","viewportOffset","get","_toolbarConfig","document","detachDomRoot"];return(Ju=function(){return t})()}function Gu(t,e){const i=Ju();return(Gu=function(t,e){return i[t-=332]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(553480===-parseInt(e(334))/1*(parseInt(e(342))/2)+parseInt(e(369))/3*(-parseInt(e(351))/4)+parseInt(e(336))/5*(parseInt(e(343))/6)+-parseInt(e(339))/7+-parseInt(e(367))/8*(-parseInt(e(354))/9)+parseInt(e(347))/10*(parseInt(e(371))/11)+parseInt(e(341))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Ku extends En.EditorUI{get[Yu(374)](){return this[Yu(366)]}constructor(e,i){const n=Yu;super(e),this[n(366)]=i,this[n(363)]=(0,En.normalizeToolbarConfig)(e[n(360)][n(362)](n(333))),this[n(338)]=new t.ElementReplacer}get[Yu(345)](){const t=Yu;return this[t(374)][t(345)]}[Yu(377)](t){const e=Yu,i=this[e(378)],n=this[e(374)],r=i[e(335)][e(374)],s=n[e(350)],o=r[e(364)][e(372)]();s[e(379)]=o[e(340)],n[e(376)]();const a=s[e(345)];this[e(356)](s[e(379)],a),n[e(350)][e(368)](e(332)).to(this[e(337)]),r[e(357)](a),this[e(338)][e(349)](t,this[e(345)]),this[e(346)](),this[e(373)](e(344))}[Yu(353)](){const t=Yu;super[t(353)]();const e=this[t(374)],i=this[t(378)][t(335)][t(374)];this[t(338)][t(370)](),i[t(365)](e[t(350)][t(379)]),e[t(353)]()}[Yu(346)](){const t=Yu,e=this[t(374)];e[t(358)][t(368)](t(359)).to(this[t(337)],t(332)),e[t(358)][t(380)]=e[t(345)],e[t(358)][t(368)](t(348)).to(this,t(361),(({top:t})=>t)),e[t(333)][t(355)](this[t(363)],this[t(352)]),this[t(375)](e[t(333)])}}var Qu=i(161),Xu={attributes:{"data-cke":!0}};Xu.setAttributes=Wn(),Xu.insert=Ln().bind(null,"head"),Xu.domAPI=Fn(),Xu.insertStyleElement=Zn();Cn()(Qu.A,Xu);Qu.A&&Qu.A.locals&&Qu.A.locals;var tl=il;!function(t){for(var e=il,i=t();;)try{if(561398===-parseInt(e(116))/1*(-parseInt(e(109))/2)+-parseInt(e(108))/3*(parseInt(e(115))/4)+-parseInt(e(114))/5+parseInt(e(111))/6*(parseInt(e(120))/7)+-parseInt(e(110))/8+-parseInt(e(105))/9*(-parseInt(e(113))/10)+parseInt(e(119))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nl);class el extends En.BoxedEditorUIView{get[tl(104)](){return this[tl(112)]}constructor(t,e,i={}){var n=tl;super(t),this[n(122)]=new En.StickyPanelView(t),this[n(123)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(106)]}),this[n(112)]=new En.InlineEditableUIView(t,e)}[tl(121)](){var t=tl;super[t(121)](),this[t(122)][t(117)][t(124)](this[t(123)]),this[t(118)][t(124)](this[t(122)]),this[t(107)][t(124)](this[t(104)])}}function il(t,e){var i=nl();return(il=function(t,e){return i[t-=104]})(t,e)}function nl(){var t=["171246mzZwJR","883826gCiuyr","2925952sSrGCJ","363036gdvQtx","_editable","110FxrfSo","2867115yxNLrg","76ICIyaI","1reQLPl","content","top","13392874DBaGos","56dZTChA","render","stickyPanel","toolbar","add","editable","361332UdzPdj","shouldToolbarGroupWhenFull","main"];return(nl=function(){return t})()}const rl=sl;function sl(t,e){const i=ol();return(sl=function(t,e){return i[t-=342]})(t,e)}function ol(){const t=["fire","651864Pyybsc","model","535066wPnQay","672021LBzckw","locale","create","destroy","get","1365698gvFmbK","4geJIYv","editing","createRoot","20YSPRrj","12ILZamD","3101380vOsODh","init","document","initPlugins","initialData","ready","data","32mSPrJu","sourceElement","view","config","36mIlLjN","1993179tKpnCL","updateSourceElement","_ui","8636969irQlnl"];return(ol=function(){return t})()}!function(t){const e=sl,i=t();for(;;)try{if(733860===parseInt(e(369))/1+parseInt(e(343))/2+-parseInt(e(361))/3*(-parseInt(e(344))/4)+-parseInt(e(347))/5*(-parseInt(e(366))/6)+parseInt(e(368))/7*(parseInt(e(356))/8)+-parseInt(e(360))/9*(parseInt(e(349))/10)+parseInt(e(364))/11*(-parseInt(e(348))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ol);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(363)]}constructor(t,e){const i=sl;super(e),this[i(357)]=t,this[i(367)][i(351)][i(346)]();const n=new el(this[i(370)],this[i(345)][i(358)],{shouldToolbarGroupWhenFull:!0});this[i(363)]=new Ku(this,n)}[rl(372)](){const t=rl;return this[t(362)](),this.ui[t(372)](),super[t(372)]()}static async[rl(371)](t,e){const i=rl,n=new this(t,e);return await n[i(352)](),await n.ui[i(350)](t),await n[i(355)][i(350)](n[i(359)][i(342)](i(353))||""),n[i(365)](i(354)),n}}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=331]})(t,e)}function ll(){const t=["editor","RestrictedEditingMode","translations","update","revisionHistory.viewerContainer","isAnonymous","refreshPositioning","isAttached","enqueueChange","toLocaleDateString","addRoot","1647uHZVJG","revisionHistory.closeRevisionViewerCallback","_getRevisionViewerEditorConfig","1072164RyUQnt","925420zOxuZl","showRevisionViewerCallback","insert","markers","revisionHistory.restoreRevisionCallback","getRevisionData","bind","set","getRevisions","revisionHistory.showRevisionViewerCallback","includes","model","selection","init","destroy","block","revisionHistory.editorContainer","revision-history-missing-configuration","RevisionsRepository","_viewerEditor","requires","PaginationLookup","save","then","_enhanceCloseRevisionViewerCallback","detachRoot","commands","removeMarker","name","setAttribute","revisionHistory.viewerEditorElement","_enhanceShowRevisionViewerCallback","get","Annotations","parse","6eWYgVh","RevisionViewerIntegration","setSelection","end","removeAttribute","map","919025vNfBGl","removeSelectionAttribute","keys","document","206831IStQGG","uiLanguage","pluginName","Users","isReady","revisionHistory","_update","1909992jdBmLX","getRevisionRootsAttributes","addUser","Dialog","isOfficialPlugin","_cleanUp","RevisionViewer","isReadOnly","style","RevisionHistory","push","closeRevisionViewerCallback","rootName","saveRevision","restoreRevision","6016AqTvlB","remove","creator","lazyRoots","result","from","refreshVisibility","create","_showRevisionViewer","isOpen","adapter","join","getUser","isPremiumPlugin","fromVersion","catch","isEnabled","createdAt","users","has","getRevision","_restoreRevision","RevisionTracker","_recalculatePageBreaks","repository","restrictedEditingException","changesNavigation","getAttributeKeys","indexOf","addRevisionData","createRangeIn","$graveyard","data","config","toJSON","RevisionHistoryUI","display","getMarkersGroup","numeric","toLocaleTimeString","Restored","getRoot","disableReadOnlyMode","fromCharCode","enableReadOnlyMode","3nRbsbQ","81426HwEWHz","Autosave","error","_closeRevisionViewer","hide","exitToEditing","revision-history-viewer-opened","locale","none","long","define","revisionHistory.requireRevisionName","change","toolbar","toVersion","roots","plugins"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(154622===-parseInt(e(405))/1+-parseInt(e(473))/2+-parseInt(e(472))/3*(-parseInt(e(359))/4)+parseInt(e(401))/5*(-parseInt(e(395))/6)+parseInt(e(412))/7+-parseInt(e(427))/8*(-parseInt(e(356))/9)+-parseInt(e(360))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(462),cl(346)];class dl extends qi.Plugin{static get[cl(407)](){return cl(396)}static get[cl(416)](){return!0}static get[cl(440)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(400)]((t=>String[e(470)](t)))[e(438)]("")}super(t),this[e(431)]=e(398),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 fl extends qi.Plugin{static get[cl(407)](){return cl(421)}static get[cl(416)](){return!0}static get[cl(440)](){return!0}static get[cl(380)](){return[Sn,er]}constructor(e){const i=cl;if(super(e),!this[i(345)][i(460)][i(392)](i(410)))throw new t.CKEditorError(i(377),this);this[i(379)]=null,this[i(345)][i(460)][i(338)](i(369),(t=>this[i(435)]({...t,translations:this[i(345)][i(335)][i(347)]}))),this[i(345)][i(460)][i(338)](i(357),(t=>this[i(331)](t))),this[i(345)][i(460)][i(338)](i(364),(t=>this[i(448)](t))),this[i(345)][i(460)][i(338)](i(339),!1),this[i(391)](),this[i(384)]()}set[cl(437)](t){const e=cl;this[e(345)][e(344)][e(392)](e(449))[e(437)]=t}get[cl(437)](){const t=cl;return this[t(345)][t(344)][t(392)](t(449))[t(437)]}[cl(456)](t){const e=cl;return this[e(345)][e(344)][e(392)](e(449))[e(456)](t)}[cl(447)](t){const e=cl;return this[e(345)][e(344)][e(392)](e(378))[e(447)](t)}[cl(368)](t){const e=cl;return this[e(345)][e(344)][e(392)](e(378))[e(368)](t||{toJSON:!1})}[cl(358)](){const e=cl,i=this[e(345)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(344)][e(392)](e(449)),s=i[e(344)][e(392)](e(408))[e(445)];return n[e(341)]=[e(333),e(426),e(453)],delete n[e(430)],n[e(344)][e(422)](dl,kr,Lr,class extends qi.Plugin{static get[e(380)](){return[kr,e(408)]}[e(373)](){const n=e,o=this[n(345)][n(344)][n(392)](n(408));for(const t of s)t[n(350)]||o[n(439)](t.id)||o[n(414)](t);const a=r[n(451)][n(368)]();let c=null;const u=this[n(345)][n(344)][n(392)](n(418));u[n(437)]=r[n(437)],u[n(366)](n(443)).to(r),this[n(345)][n(386)][n(392)](n(426))[n(366)](n(443)).to(i,n(419),(t=>!t));for(const e of a){const i=null===e[n(429)];if(i&&e[n(342)]===e[n(441)])continue;const s=e[n(461)]();u[n(456)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(411)](s,o);else if(!o){const e=a[u(461)]();e.id=(0,t.uid)(),r[u(425)](e,a[u(342)])[u(383)]((t=>{c=t}))}}else e[u(411)](s,o)}))}}},qu),n}[cl(391)](){const t=cl,e=this[t(345)][t(460)][t(392)](t(410))[t(361)];this[t(345)][t(460)][t(367)](t(369),(async()=>{const i=t;this[i(345)][i(471)](i(334));const n=this[i(345)][i(344)][i(392)](i(449));if(this[i(345)][i(344)][i(446)](i(474))){const t=this[i(345)][i(344)][i(392)](i(474));await t[i(382)]()}else await n[i(348)]();if(this[i(345)][i(344)][i(446)](i(381))&&this[i(345)][i(344)][i(392)](i(381))[i(450)](),this[i(345)][i(344)][i(446)](i(415))){const t=this[i(345)][i(344)][i(392)](i(415));t[i(436)]&&t[i(332)]()}const r=this[i(358)]();return e(r)[i(383)]((t=>{const e=i;return this[e(379)]=t,this[e(345)][e(344)][e(446)](e(393))&&this[e(345)][e(344)][e(392)](e(393))[e(433)](),t}))[i(442)]((t=>(console[i(475)](t),this[i(345)][i(469)](i(334)),null)))}))}[cl(384)](){const t=cl,e=this[t(345)][t(460)][t(392)](t(410))[t(423)];this[t(345)][t(460)][t(367)](t(357),(()=>(this[t(345)][t(344)][t(446)](t(381))&&this[t(345)][t(344)][t(392)](t(381))[t(450)](),this[t(379)][t(344)][t(392)](t(418))[t(417)](),e(this[t(379)])[t(383)]((()=>{const e=t;if(this[e(345)][e(469)](e(334)),this[e(379)]=null,this[e(345)][e(344)][e(446)](e(393))){const t=this[e(345)][e(344)][e(392)](e(393));t[e(433)](),t[e(351)]()}})))))}[cl(435)](t){const e=cl,i=this[e(345)][e(460)][e(392)](e(376)),n=this[e(345)][e(460)][e(392)](e(349)),r=this[e(345)][e(460)][e(392)](e(390));return al[e(434)](r,t)[e(383)]((t=>(n[e(420)][e(463)]=e(375),i[e(420)][e(463)]=e(336),t)))}[cl(331)](t){const e=cl,i=this[e(345)][e(460)][e(392)](e(376));return this[e(345)][e(460)][e(392)](e(349))[e(420)][e(463)]=e(336),i[e(420)][e(463)]="",t[e(374)]()}async[cl(448)](t){const e=cl,i=this[e(345)],n=this[e(379)][e(344)][e(392)](e(418)),r=i[e(344)][e(392)](e(449)),s=n[e(451)][e(447)](t);let o,a,c;try{o=await n[e(365)](s),a=await n[e(413)](s)}catch(t){return void console[e(475)](t)}i[e(371)][e(340)]((t=>{const n=e;for(const e of Array[n(432)](i[n(371)][n(363)][n(464)](n(452))))t[n(387)](e)})),n[e(409)]=!1,i[e(371)][e(353)]((t=>{const n=e;t[n(397)](null),t[n(402)](i[n(371)][n(404)][n(372)][n(454)]());const r=Object[n(403)](o);for(const e of i[n(371)][n(404)][n(343)])n(458)!=e[n(424)]&&e[n(352)]()&&!r[n(370)](e[n(424)])&&t[n(385)](e);for(const e of r){let r=i[n(371)][n(404)][n(468)](e);r&&r[n(352)]()||(r=t[n(355)](e));const s=a[e],c=Object[n(403)](s),u=o[e];for(const e of r[n(454)]())c[n(370)](e)||t[n(399)](e,r);for(const i of c)t[n(389)](i,a[e][i],r);t[n(428)](t[n(457)](r)),t[n(362)](i[n(459)][n(394)](u,r),r,0)}}));const u=Xi(i[e(335)],e(467));return c=s[e(388)]?-1==s[e(388)][e(455)](u)?u+": "+s[e(388)]:s[e(388)]:u+": "+s[e(444)][e(354)](i[e(335)][e(406)],{month:e(337),day:e(465)})+", "+s[e(444)][e(466)](i[e(335)][e(406)],{hour:e(465),minute:e(465)}),await r[e(425)]({name:c}),n[e(409)]=!0,i[e(460)][e(392)](e(410))[e(423)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=100]})(t,e)}function pl(){var t=["3440530NPrjZs","457656ktQDLH","94950aHFkOy","1813iGgEUf","1501160maOsBP","9RiVlvy","735882BMMjCe","254JzazYE","25206kpzVVM","5cWfjlM"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(131268===parseInt(e(106))/1*(parseInt(e(100))/2)+-parseInt(e(105))/3+-parseInt(e(104))/4+parseInt(e(102))/5*(-parseInt(e(101))/6)+-parseInt(e(109))/7+parseInt(e(107))/8*(-parseInt(e(108))/9)+parseInt(e(103))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();