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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",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==(D=t)||"object"!=typeof D&&"function"!=typeof D)return t;var D;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=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(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=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 D=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function M(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?M(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function L(t,e){const i=z();return(L=function(t,e){return i[t-=400]})(t,e)}const P=L;function z(){const t=["diffData","setName","139920MCqcky","createdAt","attributes","creator","192344ZSHnQe","map","fire","authorsIds","toJSON","81PBNGdZ","set","336TRTAkp","_update","64uADdRO","removeAttribute","23317460MmwPcl","2652310THkPLx","setAttribute","242145pexRKH","creatorId","name","fromVersion","model","36544GwEVoB","toVersion","authors","6560598HtOvaj"];return(z=function(){return t})()}!function(t){const e=L,i=t();for(;;)try{if(714614===parseInt(e(407))/1*(-parseInt(e(426))/2)+-parseInt(e(422))/3*(parseInt(e(413))/4)+parseInt(e(400))/5+parseInt(e(410))/6+parseInt(e(424))/7*(-parseInt(e(417))/8)+parseInt(e(402))/9+parseInt(e(428))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[P(416)];[P(409)];[P(411)];[P(408)];[P(405)];[P(406)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(416)]=e[i(416)]||null,this[i(409)]=e[i(409)]||[],this[i(411)]=e[i(411)]||null,this[i(408)]=e[i(408)]||0,this[i(405)]=e[i(405)]||0,this[i(423)](i(404),e[i(404)]||""),this[i(423)](i(414),e[i(414)]||new Date),this[i(423)](i(415),e[i(415)]||{})}[P(412)](t){this[P(425)]({name:t})}[P(401)](t,e){const i=P,s=A(this[i(415)]);(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(425)]({attributes:s})}[P(427)](t){const e=P,i=A(this[e(415)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&M(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(425)]({attributes:i})}[P(425)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(404),i(414),i(411),i(409),i(415),i(408),i(405),i(403)];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(409)]&&(n[i(420)]=n[i(409)][i(418)]((t=>t.id)),delete n[i(409)]),this[i(419)](i(425),n,e))}[P(421)](){const t=P;return{id:this.id,name:this[t(404)],creatorId:this[t(416)]?this[t(416)].id:null,authorsIds:this[t(409)][t(418)]((t=>t.id)),diffData:this[t(411)],createdAt:this[t(414)],attributes:this[t(415)],fromVersion:this[t(405)],toVersion:this[t(408)]}}}var U=i(782),Z=i(211),H=i(783);function q(){const t=["12318nTqUXU","4664PxkkxC","1834HeZwsK","isOfficialPlugin","addRevision","getRevisionsIterator","add","name","requires","length","getRevision","RevisionsRepository","authorsIds","getLaterVisibleRevision","592281kvJglH","_revisions","Users","get","href","createdAt","13134YJUHzR","reverse","isPremiumPlugin","218VdjIwO","getRevisionsInDiff","plugins","985rmrknN","isNaN","oldRevisionId","creatorId","60vUYcCu","toJSON","5870403NZbXje","earlier","getIndex","afterInit","attributes","getEarlierVisibleRevision","newRevisionId","join","createRevision","map","getUser","getRevisions","data","later","editor","70394taSIce","782840TFOjVn","pluginName","diffData","from","push","fromCharCode","fromVersion","toVersion"];return(q=function(){return t})()}const $=B;function B(t,e){const i=q();return(B=function(t,e){return i[t-=264]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(235856===parseInt(e(283))/1+-parseInt(e(315))/2*(parseInt(e(292))/3)+parseInt(e(284))/4+parseInt(e(318))/5*(parseInt(e(312))/6)+parseInt(e(294))/7*(-parseInt(e(293))/8)+-parseInt(e(306))/9*(parseInt(e(266))/10)+parseInt(e(268))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends U.Plugin{[$(307)];static get[$(300)](){return[Z.Users]}static get[$(285)](){return $(303)}static get[$(295)](){return!0}static get[$(314)](){return!0}get[$(301)](){const t=$;return this[t(307)][t(301)]}constructor(e){const i=$;super(e),this[i(307)]=new t.Collection}[$(271)](){!async function(e){const i=k([100,97,86,55,77,87,109,78,114,90,119,107,117,85,71,76,75,116,80,67,105,81,101,69,68,102,66,115,72,52,111,56,54,79,50,65,120,106,104,84,113,108,82,53,88,99,118,83,112,121,48,110,70,89,74,57,98,122,73,51,103,49]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(319)](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([100]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(277)]((t=>String[e(289)](t)))[e(275)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1748390400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(310)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[$(276)](t){const e=$,i=this[e(282)][e(317)][e(309)](e(308));return new W({id:t.id,name:t[e(299)],creator:t[e(265)]?i[e(278)](t[e(265)]):null,diffData:t[e(286)]||t[e(280)],authors:t[e(304)][e(277)]((t=>i[e(278)](t))),createdAt:new Date(t[e(311)]),attributes:t[e(272)],fromVersion:t[e(290)],toVersion:t[e(291)]})}[$(296)](t,e=0){const i=$;this[i(307)][i(298)](t,e)}[$(302)](t){const e=$;return this[e(307)][e(309)](t)}[$(279)](t={toJSON:!1}){const e=$,i=Array[e(287)](this[e(307)]);return i[e(313)](),t[e(267)]?i[e(277)]((t=>t[e(267)]())):i}[$(270)](t){const e=$;return this[e(307)][e(270)](t)}[$(273)](t){const e=$,[,i]=this[e(297)](t,{direction:e(269)});return i}[$(305)](t){const e=$,[,i]=this[e(297)](t,{direction:e(281)});return i}[$(316)](t){const e=$,i=[];for(const s of this[e(297)](t[e(274)]))if(i[e(288)](s),s.id===t[e(264)])break;return i}*[$(297)](t,{direction:e=$(269),filter:i=()=>!0}={}){const s=$,n=s(269)===e?1:-1;let r=this[s(307)][s(309)](t),o=this[s(270)](r);for(yield r;r;){if(o+=n,r=this[s(302)](o),!r)return;i(r)&&(yield r)}}}function G(){const t=["956830LNDvbJ","domConverter","map","domChildrenToView","_removeRevisionMarkers","filter","render","attributesAfter","forEach","toData","startsWith","editor","pluginName","from","_typeCharToViewClass","innerHTML","get","getRevisionDocumentData","data-revision-","isAttached","_setCustomProperty","getRevision","constructor","append","revision-end","div","1614ZyGxOo","insertions","string","length","default","children","editing","getFillerOffset","481328GJNWwE","viewChildrenToDom","customProperties","isPremiumPlugin","_viewClassToTypeChar","parse","htmlProcessor","name","isOfficialPlugin","4474tweccB","childNodes","RevisionHistoryUtils","diffData","18GIPYEg","revision-start","fillerOffset","125BlSAom","5260MxYQkm","data","attributes","1264756bOkiFb","_makeModelFromViewString","collaboration.channelId","useFillerType","_getTypeCharForViewElement","attachChange","toModel","document","marked","loadRevisionData","4277588SSChHp","processor","createElement","2129352qVEHmM","view","_appendChild","getRevisionRootsAttributes","domDocument","config","_getViewFromDiffObj","type"];return(G=function(){return t})()}const J=K;function K(t,e){const i=G();return(K=function(t,e){return i[t-=227]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(363739===-parseInt(e(269))/1*(-parseInt(e(262))/2)+-parseInt(e(286))/3+-parseInt(e(273))/4+-parseInt(e(270))/5*(-parseInt(e(245))/6)+parseInt(e(283))/7+parseInt(e(253))/8*(parseInt(e(266))/9)+parseInt(e(294))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Q extends U.Plugin{static get[J(231)](){return J(264)}static get[J(261)](){return!0}static get[J(256)](){return!0}[J(257)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(233)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(282)](t,e){const i=J;if(t[i(265)]||!e)return;const s=this[i(230)][i(291)][i(235)](i(275)),n=await e[i(240)]({channelId:s,revisionId:t.id});t[i(265)]=n[i(265)]}[J(236)](t){const e=J,i={};for(const s in t[e(265)]){if(t[e(265)][s][e(278)]&&!t[e(265)][s][e(278)][e(238)])continue;const n=this[e(298)](JSON[e(258)](t[e(265)][s][e(246)])),r=this[e(230)][e(251)][e(287)][e(280)],o=new H.ViewDocumentFragment(r,n[e(296)]((t=>this[e(292)](t,!1))));this[e(230)][e(271)][e(284)][e(276)](e(281)),i[s]=this[e(230)][e(271)][e(284)][e(228)](o),this[e(230)][e(271)][e(284)][e(276)](e(249))}return i}[J(289)](t){const e=J,i={};for(const s in t[e(265)])t[e(265)][s][e(278)]&&!t[e(265)][s][e(278)][e(238)]||(i[s]=t[e(265)][s][e(301)]||{});return i}[J(277)](t){const e=J;return this[e(257)][e(235)](t[e(241)])}[J(292)](t,e){const i=J,s=this[i(230)][i(251)][i(287)][i(280)];if(i(247)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(293)]||"r"==t[i(293)]?[]:t[i(250)][i(296)]((t=>this[i(292)](t,e)));const o=this[i(233)][i(235)](t[i(293)])||H.ViewElement,a=this[i(230)][i(271)][i(259)][i(295)];if(n=new o(s,t[i(260)],t[i(272)],r),"u"==t[i(293)]&&t[i(250)][0]){const r=t[i(250)][0];if(n[i(300)]=function(t){const e=i,s=t[e(285)](e(244));return s[e(234)]=r,s[e(263)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(288)](n);const e=Array[i(232)](a[i(254)](t,{bind:!1})),r=a[i(290)][i(285)](i(244));r[i(242)](...e),n=Array[i(232)](a[i(297)](r))[0]}}else if("r"==t[i(293)]&&t[i(250)][0]){const r=t[i(250)][0];if(n[i(300)]=function(t){t[i(234)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(288)](n);const e=Array[i(232)](a[i(254)](t,{bind:!1})),r=a[i(290)][i(285)](i(244));r[i(242)](...e);const o=Array[i(232)](a[i(297)](r));o[i(248)]>1?n[i(288)](o):n=o[0]}}if(t[i(255)])for(const[e,s]of t[i(255)])n[i(239)](e,s);const c=void 0===t[i(268)]?null:t[i(268)];return null!==c&&(n[i(252)]=()=>c),n}}[J(274)](t){const e=J,i=JSON[e(258)](t),s=this[e(230)][e(251)][e(287)][e(280)],n=new H.ViewDocumentFragment(s,i[e(296)]((t=>this[e(292)](t,!0))));return this[e(230)][e(271)][e(279)](n)}[J(298)](t){const e=J;return(t=t[e(299)]((t=>!t[e(260)]||e(267)!==t[e(260)]&&e(243)!==t[e(260)])))[e(227)]((t=>{const i=e;i(247)!=typeof t&&(t[i(250)]=this[i(298)](t[i(250)]),t[i(272)]=t[i(272)][i(299)]((t=>!t[0][i(229)](i(237)))))})),t}}function X(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,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)===(D=s)||Number.isNaN(A)&&Number.isNaN(D)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,D;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,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=>et(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(!et(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,T)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=dt();return(ot=function(t,e){return i[t-=421]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(308645===parseInt(e(551))/1+parseInt(e(595))/2+-parseInt(e(540))/3+-parseInt(e(660))/4*(-parseInt(e(523))/5)+parseInt(e(681))/6*(-parseInt(e(689))/7)+parseInt(e(738))/8+-parseInt(e(713))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dt);class at extends U.Plugin{[rt(535)];[rt(445)];[rt(665)]=null;[rt(512)];[rt(462)]=null;[rt(501)];[rt(454)];[rt(511)];[rt(622)];[rt(463)];[rt(421)];[rt(653)];[rt(520)];[rt(472)];static get[rt(536)](){return rt(707)}static get[rt(503)](){return!0}static get[rt(592)](){return!0}static get[rt(530)](){return[Z.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(512)]=this[i(625)][i(457)][i(670)](i(491)),this[i(463)]=this[i(625)][i(457)][i(670)](i(528)),this[i(501)]=new ct(this[i(625)]),this[i(511)]=this[i(625)][i(484)][i(670)](i(720))||i(487),this[i(622)]=new Map,this[i(472)]=null;const s=(0,t.uid)();this[i(454)]={history:this[i(625)][i(599)][i(724)][i(633)],getLatestVersion:()=>Promise[i(483)](this[i(625)][i(599)][i(724)][i(598)]),getCurrentRevisionId:()=>s},this[i(608)](i(597),!1),this[i(608)](i(644),!0),this[i(608)](i(732),!1),this[i(625)][i(484)][i(646)](i(470),!0),this[i(625)][i(563)][i(649)](i(478))[i(651)]({view:i(568)})}[rt(614)](){const t=rt;this[t(543)](),this[t(625)][t(679)].on(t(506),(()=>{const e=t,i=this[e(512)][e(623)](0),s=i&&null===i[e(498)]?i:null;if(this[e(653)]=!!s&&this[e(625)][e(484)][e(670)](e(470)),this[e(625)][e(457)][e(594)](e(569))){const t=this[e(454)][e(431)](),n=this[e(512)][e(623)](t);if(n)this[e(520)]=n[e(516)],this[e(653)]=!1;else{const t=this[e(454)][e(633)][e(652)][e(676)]((t=>!t[e(611)])),n=t?t[e(455)]:this[e(454)][e(633)][e(598)];i?(i[e(701)]<n&&i[e(496)]({toVersion:n}),this[e(653)]?(this[e(454)][e(431)]=()=>s.id,this[e(520)]=s[e(516)]):(this[e(520)]=i[e(701)],this[e(653)]=!1)):(this[e(520)]=n,this[e(653)]=!1)}}else s&&(this[e(625)][e(599)][e(724)][e(633)][e(598)]=Math[e(726)](s[e(701)],this[e(625)][e(599)][e(724)][e(633)][e(598)]),s[e(516)]===s[e(701)]?(0!==s[e(516)]&&(this[e(454)][e(431)]=()=>s.id),this[e(653)]=!1):this[e(653)]&&(this[e(454)][e(431)]=()=>s.id,this[e(520)]=s[e(516)])),this[e(653)]||(this[e(520)]=this[e(625)][e(599)][e(724)][e(598)]);this[e(501)][e(614)](this[e(454)][e(633)]),this[e(639)](this[e(520)]),this[e(510)](this[e(520)]),this[e(462)]&&this[e(655)]()})),this[t(433)](t(597)).to(this,t(732),(t=>!t)),this[t(535)]=this[t(625)][t(484)][t(670)](t(535));const e=this[t(625)];this[t(445)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(630)==r||i(567)==r||i(693)==r||i(492)==r||i(578)==r||i(741)==r||i(560)==r||i(668)==r){delete e[n],s=r,clearInterval(this[i(445)]),this[i(445)]=void 0;break}}i(567)==s&&e[i(589)](i(505)),i(693)==s&&e[i(589)](i(624)),i(492)==s&&e[i(589)](i(737)),i(578)==s&&e[i(589)](i(564),i(692)),i(741)==s&&e[i(589)](i(424)),i(560)==s&&e[i(589)](i(544)),i(668)==s&&e[i(589)](i(730))}),1e3)}async[rt(667)](){const t=rt;if(this[t(512)][t(664)]>0){const e=this[t(512)][t(623)](0),i=await this[t(643)](e),s=await this[t(716)](e);this[t(482)](i,s)}}[rt(489)](){const t=rt;super[t(489)](),this[t(445)]&&clearInterval(this[t(445)])}[rt(507)](t){this[rt(454)]=t}async[rt(621)](){const t=rt,e=await this[t(454)][t(480)]();if(e>this[t(665)][t(701)]){await this[t(508)]();const i=this[t(514)]({revision:this[t(665)],to:e});i[t(452)]=i[t(694)][t(448)]((e=>this[t(625)][t(457)][t(670)](t(629))[t(662)](e))),this[t(665)][t(496)](i)}}async[rt(647)](e={},i=null){const s=rt,n=[];await this[s(508)](),this[s(653)]=!1,i>this[s(665)][s(701)]&&(i=null),null===i&&(i=await this[s(454)][s(480)]());const r=this[s(709)](i),o=this[s(514)]({from:r,to:i});if(this[s(665)][s(701)]<i){const t=this[s(514)]({revision:this[s(665)],from:i,to:i});t[s(452)]=[],t[s(694)]=[],t.id=this[s(665)].id,this[s(665)][s(496)](t,!0),delete t[s(452)],n[s(476)](t)}e[s(444)]=this[s(625)][s(457)][s(670)](s(629)).me.id,e[s(634)]=e[s(634)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(656)](e);n[s(476)](e);const c=this[s(512)][s(627)](a);if(0!==c){const t=this[s(512)][s(623)](c-1);if(t[s(516)]!==i){const r=this[s(501)][s(631)](i,t[s(701)]),o={id:t.id,diffData:r[s(590)],authorsIds:r[s(694)],authors:r[s(694)][s(448)]((t=>this[s(625)][s(457)][s(670)](s(629))[s(662)](t))),fromVersion:i};t===this[s(665)]&&(o[s(439)]=new Date(e[s(439)][s(691)]()+10)),t[s(496)](o,!0),delete o[s(452)],n[s(476)](o)}}if(this[s(462)]){for(const t of n)this[s(497)](t.id,t,!0);this[s(655)]()}return a}[rt(656)](t){const e=rt,i=this[e(512)][e(712)](t);return this[e(462)]&&i.on(e(496),((t,i,s)=>{const n=e;s||(this[n(497)](i.id,i,!0),this[n(655)]())})),this[e(512)][e(436)](i,this[e(538)](i)),i}async[rt(643)](t){const e=rt;return await this[e(463)][e(518)](t,this[e(462)]),this[e(463)][e(643)](t)}async[rt(716)](t){const e=rt;return await this[e(463)][e(518)](t,this[e(462)]),this[e(463)][e(716)](t)}[rt(655)](){const t=rt;if(0===this[t(622)][t(534)])return;if(this[t(732)])return;let e=Array[t(554)](this[t(622)][t(729)]());this[t(622)][t(550)]();for(let i=0;i<e[t(664)];i++){const s=e[i];let n=!1;for(const e of Object[t(517)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(733)]((t=>null!==t)),!e[t(664)])return;for(let i=0;i<e[t(664)];i++){const s=e[i];void 0!==s[t(516)]&&void 0===s[t(701)]&&(s[t(701)]=this[t(512)][t(623)](s.id)[t(701)]),void 0!==s[t(701)]&&void 0===s[t(516)]&&(s[t(516)]=this[t(512)][t(623)](s.id)[t(516)])}const i=this[t(625)][t(484)][t(670)](t(720));this[t(732)]=!0,this[t(571)](),this[t(462)][t(632)](e,i)[t(570)]((()=>{this[t(732)]=!1}))[t(440)]((e=>{const i=t;if(e)for(const t of e)this[i(697)]({id:t.id,createdAt:t[i(439)]});this[i(485)](),this[i(655)]()}))}[rt(514)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(516)],i=null!==i?i:t[s(701)];const n=this[s(501)][s(631)](e,i),r={diffData:n[s(590)],authorsIds:n[s(694)],fromVersion:e,toVersion:i};if(!t||i!==t[s(701)]){const t=i-1,e=this[s(454)][s(633)][s(708)](t);r[s(439)]=e&&e[s(439)]||new Date}if(this[s(472)]&&e===this[s(472)][s(516)])for(const t of this[s(472)][s(452)])r[s(694)][s(725)](t.id)||r[s(694)][s(476)](t.id);return r}[rt(497)](t,e,i){const s=rt;if(this[s(622)][s(594)](t)){const n=this[s(622)][s(670)](t);e=i?{...n,...e}:{...e,...n}}this[s(622)][s(608)](t,e)}[rt(697)](t){const e=rt,i=this[e(512)][e(623)](t.id);if(t[e(439)]&&(t[e(439)]=new Date(t[e(439)])),t[e(694)]){const i=this[e(625)][e(457)][e(670)](e(629));t[e(452)]=t[e(694)][e(448)]((t=>i[e(662)](t)))}i[e(496)](t,!0)}[rt(639)](t){const e=rt,i=this[e(512)][e(623)](this[e(512)][e(664)]-1);if(i)this[e(511)]=i.id;else{const i=!this[e(625)][e(599)][e(724)][e(721)][e(676)]((t=>this[e(625)][e(599)][e(684)](t))),s=this[e(625)][e(457)][e(670)](e(629)).me.id,n=X(this[e(625)][e(430)],e(i?593:539));this[e(558)]({from:t,to:t,id:this[e(511)],name:n,creatorId:s})}}[rt(510)](t){const e=rt,i=this[e(454)][e(431)]();this[e(665)]=this[e(512)][e(623)](i),this[e(665)]||(this[e(665)]=this[e(558)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(508)](){const t=rt;this[t(653)]&&!this[t(472)]&&(await this[t(463)][t(518)](this[t(665)],this[t(462)]),this[t(501)][t(607)](this[t(665)]),this[t(472)]={fromVersion:this[t(665)][t(516)],authors:this[t(665)][t(452)][t(493)]()})}[rt(482)](e,i){const s=rt;let n=this[s(625)][s(484)][s(670)](s(469)),r=this[s(625)][s(484)][s(670)](s(620));if(void 0===n){n={};for(const t of this[s(625)][s(599)][s(724)][s(428)]())n[t]=""}if(s(533)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(625)][s(599)][s(724)][s(428)]())r[t]={}}let o=!1;const a=Object[s(517)](n),c=Object[s(517)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(555)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(517)](r[t])[s(664)]>0){o=!0;break}}o||(o=c[s(582)]((t=>!this[s(625)][s(599)][s(724)][s(437)](t)))),o&&(0,t.logWarning)(s(740),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(625)][s(484)][s(608)](s(469),e),this[s(625)][s(484)][s(608)](s(620),i)}[rt(571)](){const t=rt;if(!this[t(421)]){const e=this[t(625)][t(457)][t(670)](t(604));this[t(421)]=e[t(545)](X(this[t(625)][t(430)],t(722)))}}[rt(485)](){const t=rt;this[t(421)]&&(this[t(625)][t(457)][t(670)](t(604))[t(714)](this[t(421)]),this[t(421)]=null)}[rt(538)](t){const e=rt,i=this[e(512)][e(735)]();i[e(699)]();let s=0;for(;s<i[e(664)];){const n=i[s];if(n===this[e(665)]){s++;continue}if(n.id===this[e(511)])break;const r=t[e(701)]-n[e(701)]||t[e(516)]-n[e(516)];if(r>0)break;if(r<0)s++;else{if(!t[e(498)]&&n[e(498)])break;if(n[e(498)]||!t[e(498)]){if(t[e(439)]>n[e(439)])break;s++}else s++}}return s}[rt(709)](t){const e=rt,i=this[e(512)][e(735)]();i[e(699)](),i[e(683)]();const s=i[e(676)]((i=>i[e(701)]<=t))[e(701)];return s<this[e(520)]?this[e(520)]:s}[rt(558)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(514)]({from:e,to:i});o[r(634)]=t,o[r(444)]=s,o.id=n;const a=this[r(656)](o);return this[r(462)]&&this[r(497)](o.id,o,!0),a}[rt(543)](){const t=rt;this[t(625)][t(563)][t(649)](t(648))[t(580)]({model:t(568)})}}class ct{[rt(625)];[rt(546)];[rt(645)];[rt(583)];[rt(742)];[rt(524)];[rt(500)];[rt(678)];[rt(698)];[rt(588)];[rt(587)];[rt(591)];[rt(603)];[rt(642)];[rt(451)];[rt(477)];[rt(628)];constructor(t){const e=rt;this[e(625)]=t,this[e(645)]=new Map,this[e(583)]=-1,this[e(742)]=-1,this[e(524)]=new Map,this[e(500)]=new Map,this[e(678)]=new Map,this[e(698)]=new Map,this[e(588)]=new Map,this[e(587)]=new Map,this[e(591)]=new Map,this[e(603)]=new Map,this[e(642)]=new Map,this[e(451)]=new Map,this[e(477)]=1}[rt(614)](t){const e=rt;this[e(546)]=t;const i=new Map,s=new Map,n=this[e(625)][e(599)][e(724)][e(721)][e(448)]((t=>t[e(677)]));for(const t of n){const n=this[e(625)][e(599)][e(724)][e(437)](t),r=ut(n);i[e(608)](t,r),s[e(608)](t,Object[e(609)](n[e(640)]()))}const r=Array[e(554)](this[e(625)][e(599)][e(717)])[e(448)]((t=>[t[e(634)],t[e(475)]()])),o=this[e(546)][e(598)];this[e(673)](o,i,r,s),this[e(628)]=this[e(477)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(608)](t,i),c[e(608)](t,{})}this[e(673)](Number[e(686)],a,[],c)}[rt(631)](t,e){const i=rt;if(this[i(583)]===t&&this[i(742)]<=e)this[i(645)][i(534)]>1&&this[i(635)](this[i(742)]),this[i(682)](this[i(742)],e,!0);else{if(!this[i(645)][i(594)](t)){const e=this[i(447)](t);this[i(613)](e,t,!1)}this[i(613)](t,e,!0)}return this[i(583)]=t,this[i(742)]=e,this[i(442)]()}[rt(607)](t){const e=rt,i=this[e(625)][e(457)][e(670)](e(528));this[e(666)](),this[e(583)]=t[e(516)],this[e(742)]=t[e(701)];for(const s in t[e(590)]){const n=t[e(590)][s][e(641)],r=A(t[e(590)][s][e(696)])||{},o=i[e(723)](t[e(590)][s][e(672)]);o[e(677)]=s,o[e(626)]=!n||!n[e(674)],o[e(674)]=()=>o[e(626)],this[e(698)][e(608)](s,o),this[e(588)][e(608)](s,r),n&&this[e(451)][e(608)](s,n);const a=this[e(464)](o);this[e(591)][e(608)](s,a);for(const[t,i]of o[e(717)]){if(!t[e(577)](e(661)))continue;const s=t[e(422)](":")[2];for(const t of i[e(572)]({singleCharacters:!0})){const i=this[e(450)](t),n=e(449)==t[e(579)]?t[e(513)][e(425)][e(493)](0,-1):t[e(513)][e(425)],r=a[e(522)](n)[e(601)](i);this[e(603)][e(608)](r,{userId:s})}}}this[e(628)]=this[e(477)];const s=[...Array(this[e(477)])[e(517)]()][e(493)](1)[e(733)]((t=>!this[e(603)][e(594)](t)));let n=0;const r=new Map;for(const o in t[e(590)]){const a=t[e(590)][o][e(641)],c=A(t[e(590)][o][e(728)])||{},u=i[e(723)](t[e(590)][o][e(521)]);u[e(677)]=o,u[e(626)]=!a||a[e(674)],u[e(674)]=()=>u[e(626)],this[e(500)][e(608)](o,u),this[e(678)][e(608)](o,c);const l=this[e(464)](u,Number[e(686)]);this[e(587)][e(608)](o,l),r[e(608)](o,u[e(674)]()?c:{});for(const[t,i]of u[e(717)]){if(!t[e(577)](e(661)))continue;const s=t[e(422)](":")[2];for(const t of i[e(572)]({singleCharacters:!0})){const i=this[e(450)](t),n=this[e(477)]++,r=e(449)==t[e(579)]?t[e(513)][e(425)][e(493)](0,-1):t[e(513)][e(425)];l[e(522)](r)[e(617)](i,n),this[e(603)][e(608)](n,{userId:s})}}for(const t of this[e(625)][e(599)][e(519)](u)[e(572)]({singleCharacters:!0})){const i=this[e(450)](t),r=e(449)==t[e(579)]?t[e(513)][e(425)][e(493)](0,-1):t[e(513)][e(425)],o=l[e(522)](r);o[e(601)](i)>0||o[e(617)](i,s[n++])}for(const[t,i]of u[e(717)])t[e(577)](e(661))||this[e(524)][e(608)](t,i)}const o=lt(e(559));this[e(698)][e(608)](e(559),o),this[e(591)][e(608)](e(559),this[e(464)](o,1));const a=lt(e(559));this[e(500)][e(608)](e(559),a),this[e(587)][e(608)](e(559),this[e(464)](a,1));const c=Array[e(554)](this[e(500)])[e(448)]((([t,e])=>[t,ut(e)]));this[e(673)](this[e(742)],c,this[e(524)],r)}[rt(711)](){const t=rt;this[t(666)](),this[t(583)]=-1,this[t(742)]=-1,this[t(645)][t(550)](),this[t(614)](this[t(546)])}[rt(673)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(608)](t,{start:e[n(453)][n(461)](),end:e[n(547)][n(461)](),rootName:e[n(710)][n(677)]});this[n(645)][n(608)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(635)](t){const e=rt;this[e(645)][e(615)](t)}[rt(666)](){const t=rt;this[t(603)][t(550)](),this[t(642)][t(550)](),this[t(451)][t(550)](),this[t(500)][t(550)](),this[t(678)][t(550)](),this[t(698)][t(550)](),this[t(588)][t(550)](),this[t(587)][t(550)](),this[t(591)][t(550)](),this[t(524)][t(550)](),this[t(477)]=1,this[t(628)]=this[t(477)]}[rt(464)](t,e=null){const i=rt;let s=null;t.is(i(658))||(s=new H.Element(t[i(634)],{vid_start:null===e?this[i(477)]++:e++}));const n=[];for(const s of t[i(736)]())if(s.is(i(576))){n[i(476)](this[i(464)](s,e));const t=n[n[i(664)]-1];null!==e&&(e=t.is(i(576),i(427))?t[i(601)](i(548))+1:t[i(601)](i(659))+1)}else for(let t=0;t<s[i(574)];t++)n[i(476)](new H.Element(i(427),{vid:null===e?this[i(477)]++:e++}));if(t.is(i(658))){const e=lt(t[i(677)]);return e[i(434)](0,n),e}return s[i(617)](i(659),null===e?this[i(477)]++:e++),s[i(434)](0,n),s}[rt(613)](t,e,i){const s=rt;this[s(666)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(645)][s(670)](t);this[s(698)]=new Map(n),this[s(588)]=new Map(A(o));for(const[t,e]of this[s(698)])if(s(559)!==t&&(this[s(500)][s(608)](t,ut(e)),this[s(678)]=new Map(A(o)),i)){const i=this[s(477)];this[s(587)][s(608)](t,this[s(464)](e)),this[s(591)][s(608)](t,this[s(464)](e,i))}this[s(628)]=this[s(477)],this[s(500)][s(608)](s(559),ut(this[s(698)][s(670)](s(559)))),i&&this[s(587)][s(608)](s(559),this[s(464)](this[s(698)][s(670)](s(559))));for(const[t,e]of r){const i=this[s(698)][s(670)](e[s(677)]),n=this[s(500)][s(670)](e[s(677)]),r=new H.Range(this[s(481)](e[s(453)],i),this[s(481)](e[s(547)],i)),o=this[s(690)](r,n);i[s(717)][s(608)](t,r),this[s(524)][s(608)](t,o)}this[s(682)](t,e,i)}[rt(682)](t,e,i){const s=rt;for(const n of this[s(546)][s(700)](t,e))this[s(488)](n,i);for(const t of this[s(500)][s(729)]())t[s(717)][s(550)]();for(const[t,e]of this[s(524)])this[s(500)][s(670)](e[s(710)][s(677)])[s(717)][s(608)](t,e[s(461)]());const n=new Map,r=new Map;for(const[t,e]of this[s(500)])n[s(608)](t,ut(e)),r[s(608)](t,this[s(678)][s(670)](t));this[s(673)](e,n,this[s(524)],r)}[rt(447)](t){const e=rt,i=Array[e(554)](this[e(645)][e(517)]());i[e(509)](((t,e)=>t-e)),i[e(699)]();for(const e of i)if(e<t)return e;return Number[e(686)]}[rt(715)](t,e){const i=rt,s=Array[i(554)](e[i(717)])[i(448)]((([e,s])=>[e,this[i(690)](s,t)]));t[i(717)]=new Map(s)}[rt(549)](t){const e=rt;for(const i of this[e(524)][e(729)]()){const s=i[e(671)](t),n=H.Range[e(654)](s);i[e(453)]=n[e(453)],i[e(547)]=n[e(547)]}}[rt(488)](t,e){const i=rt;if(i(688)!=t[i(579)]&&i(575)!=t[i(579)]){if(i(704)==t[i(579)]){const s=t[i(527)][i(710)][i(677)];this[i(500)][i(594)](s)||(this[i(500)][i(608)](s,lt(s,!0)),this[i(678)][i(608)](s,{}),e&&this[i(587)][i(608)](s,lt(s,!0)))}else{if(i(606)==t[i(579)]||i(702)==t[i(579)]||i(586)==t[i(579)])return void this[i(562)](t);i(471)==t[i(579)]&&this[i(499)](t)}if(i(471)!==t[i(579)]){const e=this[i(526)](t,this[i(500)]);e[i(675)](),this[i(549)](e)}if(e)switch(t[i(579)]){case i(704):this[i(460)](t);break;case i(680):case i(714):case i(637):this[i(566)](t);break;case i(619):this[i(432)](t);break;case i(422):this[i(532)](t)}}else this[i(663)](t,e)}[rt(526)](t,e){const i=rt,s=t[i(461)]();return s[i(473)]=t[i(473)],this[i(541)](s,e),s}[rt(429)](t){const e=rt;return t[e(448)]((t=>{const i=e,s=this[i(450)](t);return Number(t[i(441)][i(601)](s))}))}[rt(585)](t,e){const i=rt;if(t.is(i(576),i(427)))e[i(476)]({item:t,type:i(703)});else{t.is(i(576))&&e[i(476)]({item:t,type:i(459)});for(const s of t[i(736)]())this[i(585)](s,e);t.is(i(576))&&e[i(476)]({item:t,type:i(449)})}return e}[rt(442)](){const t=rt,e=new Map(this[t(603)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(698)][t(517)](),...this[t(500)][t(517)]()]);a[t(615)](t(559));for(const e of a){const i=this[t(500)][t(670)](e)||lt(e,!1),s=this[t(698)][t(670)](e)||lt(e,!1);i[t(674)]()||s[t(674)]()?(n[t(521)][e]=ut(i),n[t(672)][e]=ut(s),this[t(715)](n[t(672)][e],s),this[t(715)](n[t(521)][e],i),r[t(521)][e]=this[t(585)](this[t(587)][t(670)](e),[]),r[t(672)][e]=this[t(585)](this[t(591)][t(670)](e)||lt(e,!1),[])):a[t(615)](e)}for(const n of a){const o=r[t(521)][n];for(const n of o){const r=this[t(450)](n),o=n[t(441)][t(601)](r);i[t(615)](o),o>=this[t(628)]&&s[t(608)](o,e[t(670)](o))}}for(const n of a){const a=r[t(521)][n],c=this[t(429)](r[t(672)][n]);let u=0;for(const n of a){const r=this[t(450)](n),a=n[t(441)][t(601)](r);if(!s[t(594)](a)&&!o[t(594)](a))if(i[t(594)](a))u++;else{if(a!=c[u]){const s=e[t(670)](a)||e[t(670)](c[u]);for(;a!=c[u];)i[t(594)](c[u])||(o[t(608)](c[u],s),e[t(608)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(521)][e];for(const e of n){const n=this[t(450)](e),r=e[t(441)][t(601)](n);if(o[t(594)](r)){const e=o[t(670)](r);i[t(594)](r)||i[t(608)](r,{...e}),s[t(608)](r,{...e})}}}for(const e of i[t(517)]())e>=this[t(628)]&&i[t(615)](e);const c=new Map;for(const e of a){let n=r[t(521)][e];for(const e of n)if(e[t(441)].is(t(576),t(573))){const i=this[t(450)](e),n=e[t(441)][t(601)](i);if(s[t(594)](n)){const i=e[t(441)][t(486)][t(486)][t(601)](t(468)),r=c[t(670)](i)||new Set;r[t(545)](s[t(670)](n)[t(719)]),c[t(608)](i,r)}}n=r[t(672)][e];for(const e of n)if(e[t(441)].is(t(576),t(573))){const s=this[t(450)](e),n=e[t(441)][t(601)](s);if(i[t(594)](n)){const s=e[t(441)][t(486)][t(486)][t(601)](t(468)),r=c[t(670)](s)||new Set;r[t(545)](i[t(670)](n)[t(719)]),c[t(608)](s,r)}}for(const e of c[t(517)]())(s[t(594)](e)||i[t(594)](e))&&c[t(615)](e)}for(const e of a){const n=r[t(521)][e];let o=null,a=null;for(const e of n){const n=this[t(450)](e),r=e[t(441)][t(601)](n),u=c[t(670)](r);u&&t(459)==e[t(579)]&&(o=Array[t(554)](u)[0],a=e[t(441)][t(601)](t(659))),o&&(i[t(608)](r,{userId:o}),s[t(608)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(672)][e],a=n[t(521)][e];for(const{userId:e}of this[t(642)][t(729)]())null!==e&&l[t(545)](e);for(const{userId:e}of this[t(451)][t(729)]())null!==e&&l[t(545)](e);this[t(650)](a,r[t(521)][e],s,t(466),l),this[t(650)](o,r[t(672)][e],i,t(565),l),u[e]={insertions:this[t(426)](a),deletions:this[t(426)](o),attachChange:this[t(451)][t(670)](e)||null,attributesBefore:A(this[t(588)][t(670)](e))||{},attributesAfter:A(this[t(678)][t(670)](e))}}return{diffData:u,authorsIds:Array[t(554)](l)}}[rt(529)](t){const e=rt;for(const[,i]of t[e(717)]){const t=i[e(453)][e(495)]()[e(733)]((t=>e(573)==t[e(634)]));for(const i of t)1==i[e(502)]&&i[e(695)](0).is(e(576),e(731))&&i[e(695)](0)[e(617)](e(537),!0)}}[rt(426)](t){const e=rt;this[e(529)](t);const i=this[e(625)][e(679)][e(465)](t,{}),s=Array[e(554)](i[e(736)]())[e(448)]((t=>this[e(490)](t)));return JSON[e(718)](s)}[rt(490)](t){const e=rt;if(t.is(e(427)))return t[e(679)];{const i=this[e(625)][e(457)][e(670)](e(528)),s=t,n=this[e(625)][e(679)][e(456)][e(727)],r={type:i[e(515)](s),name:s[e(634)],attributes:Array[e(554)](s[e(640)]()),children:Array[e(554)](s[e(736)]())[e(448)]((t=>this[e(490)](t)))};if(t.is(e(556))&&e(669)!=t[e(634)]){const i=t[e(616)](n[e(552)],n);r[e(638)][e(476)](i[e(446)])}else if(t.is(e(610))){const i=n[e(552)][e(618)](s[e(634)]);t[e(616)](i,n),r[e(638)][e(476)](i[e(557)])}const o=Array[e(554)](s[e(687)]());o[e(664)]>0&&(r[e(479)]=o);const a=s[e(600)]();return null!==a&&(r[e(581)]=a),r}}[rt(650)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(625)][r(599)];for(let s=0;s<e[r(664)];s++){const n=this[r(450)](e[s]),c=e[s][r(441)][r(601)](n),h=i[r(670)](c),d=s==e[r(664)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(719)]!=o[r(719)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(719)],d=l(661)+s+":"+h+":"+c++,f=u[l(734)](i,a);t[l(717)][l(608)](d,f),null!==h&&n[l(545)](h)}}[rt(450)](t){const e=rt;switch(t[e(579)]){case e(459):return e(468);case e(449):return e(659);default:return e(548)}}[rt(541)](t,e){const i=rt;t[i(455)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(670)](n[i(710)][i(677)]);t[s]=this[i(481)](n,r)}if(n instanceof H.Range){const r=e[i(670)](n[i(710)][i(677)]);t[s]=this[i(690)](n,r)}i(710)===s&&(t[i(710)]=e[i(670)](t[i(710)][i(677)]))}}[rt(690)](t,e){const i=rt;return this[i(625)][i(599)][i(734)](this[i(481)](t[i(453)],e),this[i(481)](t[i(547)],e))}[rt(481)](t,e){const i=rt;return this[i(625)][i(599)][i(636)](e,t[i(425)],t[i(443)])}[rt(460)](t){const e=rt,i=this[e(587)][e(670)](t[e(527)][e(710)][e(677)]),s=this[e(481)](t[e(527)],i),n=null===t[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,r=s[e(486)],o=this[e(477)],a=[];for(const i of t[e(542)])if(i.is(e(576)))a[e(476)](this[e(464)](i));else for(let t=0;t<i[e(574)];t++)a[e(476)](new H.Element(e(427),{vid:this[e(477)]++}));const c=this[e(477)];for(let t=o;t<c;t++)this[e(603)][e(608)](t,{userId:n});r[e(434)](s[e(553)],a)}[rt(566)](t){const e=rt;(t=this[e(526)](t,this[e(587)]))[e(675)]();const i=null===t[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,s=t[e(685)](),n=s[e(486)],r=s[e(553)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(695)](e);r.is(a(576),a(427))?s[a(608)](r[a(601)](a(548)),{userId:i}):(s[a(608)](r[a(601)](a(468)),{userId:i}),t(s,r,0,r[a(502)]),s[a(608)](r[a(601)](a(659)),{userId:i}))}}(this[e(603)],n,r,r+t[e(531)])}[rt(432)](t){const e=rt,i=null===(t=this[e(526)](t,this[e(587)]))[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,s=t[e(705)][e(486)],n=t[e(596)][e(486)],r=s[e(601)](e(659)),o=n[e(601)](e(468));s[e(617)](e(659),n[e(601)](e(659))),n[e(617)](e(659),r),this[e(603)][e(608)](o,{userId:i}),this[e(603)][e(608)](r,{userId:i}),t[e(675)]()}[rt(532)](t){const e=rt,i=null===(t=this[e(526)](t,this[e(587)]))[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,s=t[e(474)],n=t[e(612)][e(486)];t[e(675)]();const r=n[e(601)](e(659)),o=t[e(504)][e(435)];if(s){const t=o[e(601)](e(659)),s=n[e(601)](e(659));n[e(617)](e(659),t),o[e(617)](e(659),s),this[e(603)][e(608)](n[e(601)](e(659)),{userId:i}),this[e(603)][e(608)](o[e(601)](e(468)),{userId:i})}else{const t=this[e(477)]++,s=this[e(477)]++;n[e(617)](e(659),t),o[e(617)](e(468),s),o[e(617)](e(659),r),this[e(603)][e(608)](t,{userId:i}),this[e(603)][e(608)](s,{userId:i})}}[rt(499)](t){const e=rt;if(!t[e(467)])return;const i=(t=this[e(526)](t,this[e(500)]))[e(458)]?t[e(458)][e(710)]:null,s=t[e(561)]?t[e(561)][e(710)]:null;i&&this[e(524)][e(615)](t[e(634)]),s&&this[e(524)][e(608)](t[e(634)],t[e(561)][e(461)]());const n=null===t[e(473)]?null:t[e(473)]||this[e(625)][e(457)][e(670)](e(629)).me.id,r=t[e(634)];if(!this[e(642)][e(594)](r))return void this[e(642)][e(608)](r,{range:t[e(458)],userId:n});const o=this[e(642)][e(670)](r),a=o[e(739)],c=t[e(561)];null==a&&null==c||a&&c&&a[e(438)](c)?this[e(642)][e(615)](t[e(634)]):o[e(719)]=n}[rt(663)](t,e){const i=rt;this[i(500)][i(594)](t[i(677)])?this[i(500)][i(670)](t[i(677)])[i(626)]=t[i(423)]:(this[i(500)][i(608)](t[i(677)],lt(t[i(677)],!0)),this[i(678)][i(608)](t[i(677)],{}),e&&this[i(587)][i(608)](t[i(677)],lt(t[i(677)],!0)));const s=null===t[i(473)]?null:t[i(473)]||this[i(625)][i(457)][i(670)](i(629)).me.id,n=this[i(451)][i(670)](t[i(677)]);n&&n[i(719)]===s?this[i(451)][i(615)](t[i(677)]):this[i(451)][i(608)](t[i(677)],{userId:s,isAttached:t[i(423)]})}[rt(562)](t){const e=rt,i=this[e(678)][e(670)](t[e(710)][e(677)]);null===t[e(605)]?delete i[t[e(657)]]:i[t[e(657)]]=t[e(605)]}}function ut(t){const e=rt,i=lt(t[e(677)],t[e(674)]());for(const s of t[e(736)]()){const t=s[e(602)](!0);i[e(584)](t)}return i}function lt(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(677)]=t,s[i(626)]=e,s[i(674)]=()=>s[i(626)],s}function ht(t,e,i){const s=rt,n=s(449)==t[s(579)]?i[s(706)](t[s(441)],s(547)):i[s(494)](t[s(441)]);return i[s(636)](e,n[s(425)],n[s(443)])}function dt(){const t=["Users","revisionHistoryLicenseKeyValid","getData","updateRevisions","history","name","_removeMetaData","createPositionFromPath","reinsert","children","_createInitialRevision","getAttributes","attachChange","_touchedMarkers","getRevisionDocumentData","isEnabled","_savedMetaData","define","saveRevision","dataDowncast","for","_markChanges","dataToMarker","_operations","_continueCurrentRevision","_createFromRanges","sendBufferedUpdates","addRevisionData","key","documentFragment","vid_end","964TQtqNl","revision:","getUser","_handleRootOperation","length","currentRevision","_reset","afterInit","revisionHistoryLicenseKeyUsageLimit","$comment","get","getTransformedByOperation","deletions","_saveMetaData","isAttached","_execute","find","rootName","_diffRootsAttributes","data","move","1374qHbQMV","_applyOperations","shift","hasContent","getMovedRangeStart","NEGATIVE_INFINITY","getCustomProperties","addRoot","875nOAtvu","_fixRange","getTime","RevisionHistory","revisionHistoryLicenseKeyExpired","authorsIds","getChild","attributesBefore","setRevisionData","_baseRoots","reverse","getOperations","toVersion","removeRootAttribute","text","insert","targetPosition","createPositionAt","RevisionTracker","getOperation","_getFromVersion","root","reInit","createRevision","3060909uvMkFl","remove","_copyMarkers","getRevisionRootsAttributes","markers","stringify","userId","collaboration.channelId","roots","PENDING_ACTION_REVISION_HISTORY","_makeModelFromViewString","document","includes","max","domConverter","attributesAfter","values","usageLimit","paragraph","_isPendingUpdate","filter","createRange","getRevisions","getChildren","domainLimit","2855104fhuYyC","range","editor-initial-data-replaced-with-revision-data","revisionHistoryLicenseKeyEvaluationLimit","_lastTo","_pendingAction","split","isAdd","evaluationLimit","path","_prepareViewToSave","$text","getRootNames","_getBaseVids","locale","getCurrentRevisionId","_handleMergeOperation","bind","_insertChild","nodeAfter","addRevision","getRoot","isEqual","createdAt","then","item","_getState","stickiness","creatorId","_licenseKeyCheckInterval","outerHTML","_getPreviousFrom","map","elementEnd","_getVidAttributeName","_touchedRoots","authors","start","_source","baseVersion","htmlProcessor","plugins","oldRange","elementStart","_handleInsertOperation","clone","adapter","_utils","_makeIdsRoot","toView","insertion","affectsData","vid_start","initialData","revisionHistory.resumeUnsavedRevision","marker","_loadedStateData","_authorId","graveyardPosition","getRange","push","_revisionId","upcast","customProperties","getLatestVersion","_fixPosition","_replaceEditorDataWithRevisionData","resolve","config","_removePendingAction","parent","initial","_handleOperation","destroy","_getViewJson","RevisionsRepository","revisionHistoryLicenseKeyDomainLimit","slice","createPositionBefore","getAncestors","_update","_bufferUpdate","creator","_handleMarkerOperation","_diffRoots","_revisionDataBuilder","childCount","isOfficialPlugin","insertionPosition","invalid","ready","setSource","_loadState","sort","_createCurrentRevision","_initialRevisionId","repository","previousPosition","buildRevisionData","_getTypeCharForViewElement","fromVersion","keys","loadRevisionData","createRangeIn","_startingVersion","insertions","getNodeByPath","10330dwGbyy","_markers","createPositionAfter","_cloneOperation","position","RevisionHistoryUtils","_processRootBeforeSave","requires","howMany","_handleSplitOperation","string","size","licenseKey","pluginName","keepParagraph","_findInsertionIndex","Initial revision","1680594ZaCgPv","_fixOperation","nodes","_setConversion","trialLimit","add","source","end","vid","_transformMarkers","clear","321440xaKfsm","domDocument","offset","from","trim","uiElement","innerHTML","_makeRevision","$graveyard","revisionHistoryLicenseKeyTrialLimit","newRange","_handleRootAttributeOperation","conversion","featureNotAllowed","deletion","_handleMoveOperation","revisionHistoryLicenseKeyInvalid","revision","RealTimeCollaborationClient","finally","_addPendingAction","getWalker","tableCell","offsetSize","detachRoot","element","startsWith","revisionHistoryLicenseKeyNotAllowed","type","markerToData","fillerOffset","some","_lastFrom","_appendChild","_generateTape","changeRootAttribute","_idsRoots","_baseRootsAttributes","_showLicenseError","diffData","_baseIdsRoots","isPremiumPlugin","Empty document","has","122670EJvGgp","sourcePosition","isReady","version","model","getFillerOffset","getAttribute","_clone","_touched","PendingActions","newValue","addRootAttribute","loadState","set","fromEntries","rawElement","_isInit","splitPosition","_calculateMetaData","init","delete","render","_setAttribute","createElement","merge","rootsAttributes","update","_bufferedUpdates","getRevision","expired","editor","_isAttached","getIndex","_startingRevisionId"];return(dt=function(){return t})()}function ft(t,e,i){const s=rt,n=s(459)==t[s(579)]?i[s(706)](t[s(441)],0):i[s(525)](t[s(441)]);return i[s(636)](e,n[s(425)],n[s(443)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),xt=i(426),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=It(),Tt.insert=wt().bind(null,"head"),Tt.domAPI=kt(),Tt.insertStyleElement=Ot();gt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Dt(){const t=["optional","errorText","focusTracker","render","element","revisionNameInputView","arrowleft","trim","value","arrowup","locale","add","keystrokes","_createRevisionNameInput","ck-responsive-form","5xwLLqf","552460hmdBHd","Name of the revision","setTemplate","listenTo","1183860cHeuWd","ck-revision-history-save-revision-form","set","reset","label","arrowdown","105BuJGQB","8374344GbEdtQ","72ZppuVs","arrowright","extendTemplate","focus","form","revisionName","220","input","168342bkciPH","96462GYamXL","717860uCtpjb","revisionNameInputValue","stopPropagation","1994625aRZCwj","fieldView"];return(Dt=function(){return t})()}function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(544653===-parseInt(e(139))/1*(-parseInt(e(117))/2)+-parseInt(e(122))/3+parseInt(e(119))/4+-parseInt(e(144))/5+parseInt(e(118))/6*(parseInt(e(150))/7)+parseInt(e(151))/8+parseInt(e(152))/9*(-parseInt(e(140))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Et extends pt.View{[At(126)];[At(136)];[At(129)];constructor(e,i){const s=At;super(e),this[s(126)]=new t.FocusTracker,this[s(136)]=new t.KeystrokeHandler,this[s(146)](s(120),""),this[s(129)]=this[s(137)](i),this[s(142)]({tag:s(113),attributes:{class:["ck",s(145),s(138)],tabindex:"-1"},children:[this[s(129)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(127)](){const t=At;super[t(127)](),(0,pt.submitHandler)({view:this}),this[t(126)][t(135)](this[t(129)][t(128)]),this[t(136)][t(143)](this[t(128)]);const e=e=>e[t(121)]();this[t(136)][t(146)](t(153),e),this[t(136)][t(146)](t(130),e),this[t(136)][t(146)](t(133),e),this[t(136)][t(146)](t(149),e)}[At(112)](){const t=At;this[t(129)][t(112)]()}get[At(114)](){const t=At;return this[t(129)][t(123)][t(128)][t(132)][t(131)]()}set[At(114)](t){const e=At;this[e(129)][e(123)][e(128)][e(132)]=t[e(131)]()}[At(147)](){const t=At;this[t(129)][t(123)][t(128)][t(132)]="",this[t(129)][t(125)]=null}[At(137)](t){const e=At,i=new pt.LabeledFieldView(this[e(134)],pt.createLabeledInputText),s=i[e(123)];s[e(154)]({attributes:{maxlength:e(115)}});let n=X(this[e(134)],e(141));return!t&&(n+=" ("+X(this[e(134)],e(124))+")"),i[e(148)]=n,s.on(e(116),(()=>{const t=e;this[t(120)]=s[t(128)][t(132)][t(131)]()})),i}}function Mt(){const t=["revisionSave","isOfficialPlugin","panelView","items","componentFactory","revisionHistory.requireRevisionName","1333420EQcqNz","view","256424KwDXpc","371rbzjPm","init","151895ZaoWcL","menuitem","Open revision history","revisionHistory","pluginName","Accept","RevisionHistoryUI","children","editing","revisionName","menuBar:revisionHistory","RevisionTracker","config","addMany","editor","The revision name cannot be empty.","add","showRevisionViewerCallback","isEnabled","locale","ck-button-action","reset","36ipsBWH","isReady","Revision history","delegate","isReadOnly","menu","submit","revisionNameInputView","saveRevision","Save current revision","23211pxJvsh","execute","4XezjEd","30MbsoTc","_createSaveRevisionFormView","_saveRevisionFormView","get","isOpen","buttonView","Dialog","1085584MuSYdr","plugins","role","_showDialog","set","show","errorText","Cancel","49510DFBQqo","_registerMenuComponent","requires","hide","focus","render","bind","isPremiumPlugin","178jDxCdY"];return(Mt=function(){return t})()}const Ct=Ft;function Ft(t,e){const i=Mt();return(Ft=function(t,e){return i[t-=135]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(168571===-parseInt(e(150))/1*(parseInt(e(140))/2)+-parseInt(e(184))/3*(-parseInt(e(186))/4)+parseInt(e(152))/5*(parseInt(e(187))/6)+parseInt(e(149))/7+-parseInt(e(194))/8+-parseInt(e(174))/9*(-parseInt(e(202))/10)+parseInt(e(147))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class jt extends U.Plugin{static get[Ct(156)](){return Ct(158)}static get[Ct(142)](){return!0}static get[Ct(139)](){return!0}static get[Ct(204)](){return[at]}[Ct(189)];[Ct(151)](){const t=Ct,e=this[t(166)],i=e[t(195)][t(190)](t(163));e.ui[t(145)][t(168)](t(155),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(143)][n(159)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(138)](n(170)).to(i,n(175),i,n(170),e,n(178),((t,e,i)=>t&&e&&!i)),r[n(192)][n(198)]({icon:mt.IconHistory,label:X(s,n(176)),tooltip:!0}),u[n(198)]({label:X(s,n(183)),withText:!0,role:n(153)}),u[n(138)](n(170)).to(i,n(175),i,n(170),e,n(178),((t,e,i)=>t&&e&&!i)),u.on(n(185),(()=>this[n(197)]())),h[n(198)]({label:X(s,n(154)),withText:!0,role:n(153)}),h[n(138)](n(170)).to(i,n(175),e,n(178),((t,e)=>t&&!e)),h.on(n(185),(()=>{const t=n;e[t(164)][t(190)](t(155))[t(169)](),r[t(191)]=!1,e[t(160)][t(148)][t(136)]()})),c[n(159)][n(168)](u),l[n(159)][n(168)](h),a[n(196)]=n(179),a[n(144)][n(165)]([c,l]),o[n(168)](a),r})),e.ui[t(145)][t(168)](t(162),(()=>this[t(203)]()))}[Ct(203)](){const t=Ct,e=this[t(166)],i=e[t(171)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(192)][t(198)]({icon:mt.IconHistory,label:X(i,t(176))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(198)]({label:X(i,t(183))}),o[t(177)](t(185)).to(s),o.on(t(185),(()=>{this[t(197)]()})),r[t(159)][t(168)](o),n[t(144)][t(168)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(198)]({label:X(i,t(154))}),c[t(177)](t(185)).to(s),c.on(t(185),(()=>{const i=t;e[i(164)][i(190)](i(155))[i(169)]()})),a[t(159)][t(168)](c),n[t(144)][t(168)](a),s[t(143)][t(159)][t(168)](n),s}[Ct(197)](){const t=Ct,e=this[t(166)],i=e[t(171)],s=e[t(195)][t(190)](t(193)),n=e[t(195)][t(190)](t(163));function r(n){const r=t;e[r(164)][r(190)](r(146))&&""===n[r(161)]?n[r(181)][r(200)]=X(i,r(167)):(e[r(195)][r(190)](at)[r(182)]({name:n[r(161)]}),s[r(135)]())}this[t(189)]||(this[t(188)](),this[t(189)].on(t(180),(()=>r(this[t(189)])))),this[t(189)][t(173)](),s[t(199)]({id:t(141),title:X(i,t(183)),isModal:!0,content:this[t(189)],actionButtons:[{label:X(e[t(171)],t(201)),withText:!0,onExecute:()=>s[t(135)]()},{label:X(e[t(171)],t(157)),class:t(172),withText:!0,onCreate(i){const s=t;i[s(138)](s(170)).to(n,s(175),n,s(170),e,s(178),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(189)])}]})}[Ct(188)](){const t=Ct,e=this[t(166)],i=e[t(171)];this[t(189)]=new Et(i,e[t(164)][t(190)](t(146))),this[t(189)][t(137)]()}}const Lt=zt;function Pt(){const t=["isSuggestion","set","ck-annotation","add","author","type","35771210YiCYSO","data","ck-revision-change__label","7786584SeNcLx","bindTemplate","2DZgggD","span","ck-revision-change","144TjFmYU","Suggested by","740laYIDM","1582189pXeFyL","5533052DZOnrY","ck-revision-change__","Added by","37015gUAQQW","name","771560SjPVyV","changeId","focus","setTemplate","_model","element","Removed by","5331522jptovZ","div"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=291]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(976789===-parseInt(e(292))/1*(-parseInt(e(318))/2)+-parseInt(e(305))/3+parseInt(e(291))/4*(-parseInt(e(296))/5)+parseInt(e(316))/6+-parseInt(e(293))/7+-parseInt(e(298))/8*(parseInt(e(321))/9)+parseInt(e(313))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[Lt(299)];[Lt(302)];constructor(t,e){const i=Lt;super(t),this[i(302)]=e,this[i(299)]=e.id;const s=this[i(317)],n=X(t,e[i(314)][i(307)]?i(322):i(310)==e[i(312)]?i(295):i(304));this[i(308)](i(312),e[i(312)]),this[i(301)]({tag:i(306),attributes:{class:[i(309),i(320),s.to(i(312),(t=>i(294)+t))],tabindex:-1},children:[{tag:i(319),children:[{tag:i(319),attributes:{class:[i(315)]},children:[{text:n}]},{text:" "+e[i(311)][i(297)]}]}]})}[Lt(300)](){const t=Lt;this[t(303)][t(300)]()}}var Ut=Ht;function Zt(){var t=["author","3991485WPJBPq","177201HYoxPQ","type","rootName","createdAt","data","2649460iRbGHt","toJSON","3802078obyVxa","424eBiYhW","set","2674684EXEOxb","920445AhRuay","6SCHapP","3673677fOtgNC"];return(Zt=function(){return t})()}function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=418]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(927797===-parseInt(e(419))/1+-parseInt(e(418))/2+parseInt(e(421))/3+parseInt(e(429))/4+parseInt(e(423))/5*(parseInt(e(420))/6)+-parseInt(e(431))/7+parseInt(e(432))/8*(parseInt(e(424))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(422)];[Ut(425)];[Ut(428)];[Ut(426)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(422)]=e[i(422)],this[i(425)]=e[i(425)],this[i(428)]=e[i(428)]||{},this[i(426)]=e[i(426)],this[i(433)](i(427),e[i(427)])}[Ut(430)](){var t=Ut;return{id:this.id,authorId:this[t(422)].id,type:this[t(425)],data:this[t(428)],createdAt:this[t(427)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=228]})(t,e)}function Yt(){const t=["842485KrdEuU","122214yQVzSf","changes","12Fhjmle","119xogCCm","11MjvBlX","_setChanges","oldRevisionId","5512GHcRTl","432264mqOSsT","add","32vNJiGs","4XgZZbV","1853360YZvvIp","newRevisionId","181971PNrsEY","7890492tQSZUg"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(287569===-parseInt(e(230))/1+-parseInt(e(229))/2*(parseInt(e(241))/3)+-parseInt(e(233))/4*(parseInt(e(238))/5)+parseInt(e(239))/6*(parseInt(e(242))/7)+-parseInt(e(232))/8*(-parseInt(e(236))/9)+-parseInt(e(234))/10+-parseInt(e(243))/11*(-parseInt(e(237))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt{[$t(235)];[$t(228)];[$t(240)];constructor(e,i){const s=$t;this[s(235)]=e,this[s(228)]=i,this[s(240)]=new t.Collection}[$t(244)](t){const e=$t;for(const i of t)this[e(240)][e(231)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=424]})(t,e)}function te(){const t=["consumable","rootName","nextPosition","change:activeChange","wrap","showNextChange","listenTo","_getDiff","high","RevisionsRepository","getRevision","model","target","addHighlight","top","_changeView","toViewElement","observeMarkers","ck-revision-history-root-","stop","downcastDispatcher","catch","hasAttribute","clear","comment","activeView","revision-suggestion:","remove","_revisions","isBefore","isEqual","error","_setChanges","createRevision","2243614wmXuLG","_cleanMarkers","isLimit","elementStart","getAttribute","markerNameToElements","isPremiumPlugin","detachRoot","abs","locale","_setConversion","ck-suggestion-preview-marker","_setDistance","insert","filter","consume","editing","updatePosition","removeMarker:revision","_cleanUp","editingDowncast","markerToData","indexOf","getIndex","isIncorrect","change:numberOfChanges","hasClass","start","resolve","isAttached","_findChangeIdFromDomTarget","nodeAfter","userId","RevisionHistoryUtils","mapViewToDom","range","requires","config","offsetSize","_threeWayMerge","init","getWalker","_step","createRange","3785670WfZpPM","markers","get","addRevisionData","pairId","elementToAttribute","delete","createUIElement","endIndex","merge","change:isReady","dataToMarker","unbindElementFromMarkerName","getItems","commands","insertion","isOnRoot","1054752EigAMY","schema","suggestion","element:pre","isRemoveSuggestion","getRevisionDocumentData","backward","showStack","shift","_markSuggestions","addClass","attributes","isNavigationMode","insertions","attributesAfter","text","push","deletions","diff","change:isEnabled","vid_end","editor","_makeTape","ck-suggestion-marker--active","destroy","span","addMarker:revision","authors","bottom","_update","365646jUDOcq","revision-viewer","isAtStart","elementEnd","concat","mouseover","upcast","getLaterVisibleRevision","for","distance","getChild","side","attachChange","ck-editor__editable__overlay","_removeMissingPairs","bindElementToMarker","end","getAttributes","isObject","ck-suggestion-marker-","getRevisionRootsAttributes","vid_start","pluginName","done","sort","_activeViewTarget","isReady","index","highest","ck-suggestion-marker","nextSibling","_initInteractions","next","startIndex","getRootNames","revision","revision:","155799emKZtW","selection","markersEnd","data-change-id","ck-revision-history-root-remove","152RRgEHf","adapter","includes","set","string","isInline","modelRange","revisionHistoryLabel","restoreRevisionCallback","split","470660KkhBmF","deletion","getCustomProperty","change:activeView","toViewRange","execute","_removeUnsupportedChanges","compare","_markMismatchedRemovedTags","values","flat","POSITIVE_INFINITY","test","return","softBreak","has","activeChange","removeAttribute","previousPosition","viewItem","_makeModelFromViewString","toViewPosition","removeMarker","markerName","maxOffset","createPositionFromPath","markerRange","item","repository","_refreshStartEndIndex","isBlock","_changeIdToChange","first","splice","_makeModelFromTape","createPositionBefore","writer","name","changeId","RevisionViewer","uiElement","isRemoved","showPreviousChange","createAttributeElement","_getRevisionsRange","forEach","level","pop","oldRevisionId","revision-suggestion","bind","270428OUxNSJ","revisionHistoryAttachChange","loadRevisionData","left","ck-suggestion-marker-split","createRangeIn","forward","_sortAndFilterDiffChanges","mapper","diffData","document","getClientRects","data","changes","domConverter","isAfter","isCollapsed","_utils","then","_fixObsoleteTags","object","restoreRevision","startsWith","enqueueChange","removeMarker:revision-suggestion","vid","attribute:vid","map","ck-revision-history-root-add","isAdded","affectsData","mousedown","isAddSuggestion","_joinTapes","ck-suggestion-marker-merge","ck-revision-history-root--active","reconvertMarker","isAtEnd","add","getRoot","roots","_markMarkers","type","findIndex","currentChangeNumber","code","all","_getChangeFromId","plugins","WidgetToolbarRepository","slice","low","removeClass","revisionHistory","length","refresh","addRevision","element","setAttribute","-new","isOfficialPlugin","isContent","isEnabled","getDomRoot","_processTape","right","change","view","from","addMarker:revision-suggestion:insertion","_appendChild","suggestion:","ck-suggestion-preview-marker-","parent","_markInsertions","revision-comment:","_getViewForChange","unshift","isSuggestion","_balloon","keys","markerToHighlight","newRevisionId","checkAttribute","markersStart","find","addRoot","attributesBefore","numberOfChanges","domEvent","forceDisabled","enableReadOnlyMode","addMarker:revision-suggestion:deletion","_data","conversion","dataDowncast"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(751906===parseInt(e(537))/1+-parseInt(e(718))/2+parseInt(e(455))/3+-parseInt(e(588))/4+parseInt(e(438))/5+-parseInt(e(485))/6+-parseInt(e(522))/7*(-parseInt(e(527))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(565)];[Qt(528)]=null;[Qt(605)];[Qt(510)];[Qt(699)];[Qt(568)];[Qt(667)];static get[Qt(507)](){return Qt(576)}static get[Qt(648)](){return!0}static get[Qt(724)](){return!0}static get[Qt(430)](){return[Z.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(565)]=this[e(476)][e(636)][e(440)](e(693)),this[e(605)]=this[e(476)][e(636)][e(440)](e(427)),this[e(530)](e(553),null),this[e(530)](e(709),null),this[e(510)]=null,this[e(530)](e(473),null),this[e(530)](e(511),!1),this[e(530)](e(650),!0),this.on(e(474),((t,i,s)=>{const n=e;this[n(553)]=null,this[n(709)]=null,this[n(476)][n(734)][n(655)][n(654)]((t=>{const e=n;for(const i of this[e(476)][e(734)][e(655)][e(598)][e(628)])s?t[e(640)](e(498),i):t[e(465)](e(498),i)}))})),this[e(587)](e(467)).to(this,e(553),(t=>null!==t)),this[e(587)](e(632)).to(this,e(511),this,e(473),this,e(553),((t,i,s)=>t&&s?i[e(601)][e(741)](s):0)),this[e(587)](e(676)).to(this,e(511),this,e(473),((t,i)=>t?i[e(601)][e(642)]:0)),this[e(699)]=null,this[e(568)]=new Map,this[e(667)]=this[e(476)][e(636)][e(440)](pt.ContextualBalloon)}[Qt(434)](){const t=Qt,e=this[t(476)],i=new ne(e,{direction:t(461)}),s=new ne(e,{direction:t(594)});e[t(452)][t(626)](t(579),i),e[t(452)][t(626)](t(689),s),e[t(452)][t(626)](t(609),new se(e)),this.on(t(743),(()=>{const e=t;i[e(643)](),s[e(643)]()})),this[t(728)](),this[t(516)](),e[t(679)](t(486)),e[t(636)][t(552)](t(637))&&e[t(636)][t(440)](t(637))[t(678)](t(486))}async[Qt(460)](t){const e=Qt;return await this[e(605)][e(590)](t,this[e(528)]),this[e(605)][e(460)](t)}async[Qt(505)](t){const e=Qt;return await this[e(605)][e(590)](t,this[e(528)]),this[e(605)][e(505)](t)}async[Qt(544)](t,e,i=!1){const s=Qt;if(!this[s(650)])return;const n=this[s(473)],r=this[s(565)],o=s(531)==typeof t?r[s(694)](t):t,a=s(531)==typeof e?r[s(694)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(473)]&&this[s(473)][s(670)]===c&&this[s(473)][s(585)]===u)return Promise[s(746)]();this[s(511)]=!1,this[s(709)]=null,this[s(553)]=null,this[s(473)]=new Gt(c,u);const l=this[s(581)](o,a,!0)[s(615)]((t=>this[s(605)][s(590)](t,this[s(528)])));return l[s(471)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(634)](l)[s(606)]((()=>{const t=s;if(!this[t(650)])return;this[t(737)]();const e=this[t(691)](c,u);for(const i of e[t(601)])this[t(568)][t(530)](i.id,i);this[t(476)][t(695)][t(611)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(476)][s(695)][s(598)][s(519)]())i[s(725)](t);for(const t of Object[s(668)](e[s(695)])){const n=i[s(674)](t);for(const r of Object[s(668)](e[s(466)][t]))i[s(646)](r,e[s(466)][t][r],n);i[s(731)](e[s(695)][t],n,0)}})),this[t(473)][t(716)](this[t(595)](e[t(601)])),this[t(511)]=!0}))[s(705)]((t=>{const e=s;console[e(715)](t),this[e(737)](),n&&(this[e(473)]=n),this[e(511)]=!0}))}[Qt(441)](t,e){const i=Qt,s=this[i(565)][i(717)](t);return s.on(i(484),((t,i,n)=>e(i,n,s))),this[i(565)][i(644)](s),s}[Qt(737)](){const t=Qt;this[t(553)]=null,this[t(719)](),this[t(699)]&&this[t(699)][t(479)](),this[t(699)]=null,this[t(568)][t(707)](),this[t(476)][t(695)][t(611)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(476)][i(695)][i(598)][i(519)]())e[i(725)](t)}))}[Qt(595)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(476)][e(695)][e(598)][e(519)]()){const n=this[e(476)][e(734)][e(655)][e(651)](t);if(!n)continue;const r=n[e(599)]()[e(564)](0);r&&(i[e(471)](t),s[e(530)](t,r))}return i[e(509)](((t,i)=>{const n=e,r=s[n(440)](t),o=s[n(440)](i);return r.y-o.y||r.x-o.x})),(t=t[e(732)]((t=>i[e(529)](t[e(685)]))))[e(509)](((t,s)=>i[e(740)](t[e(685)])-i[e(740)](s[e(685)]))),t}[Qt(477)](t){const e=Qt,i=Array[e(656)](t[e(439)])[e(732)]((([t,i])=>t[e(610)](e(521))&&!i[e(604)])),s=Array[e(656)](this[e(476)][e(695)][e(593)](t)[e(435)]({singleCharacters:!0}));if(0!=i[e(642)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(536)](":");if(n[e(501)][e(714)](t[e(686)])&&i[e(463)](),(t[e(555)][e(714)](n[e(745)])||t[e(555)][e(603)](n[e(745)]))&&(e(453)==r?t[e(617)]={userId:o}:e(538)==r&&(t[e(578)]={userId:o})),0==i[e(642)])break}return s}[Qt(566)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(642)];s++)e(470)===t[s][e(630)]?(t[s][e(564)][e(518)]=s,t[s][e(564)][e(446)]=s):(e(721)===t[s][e(630)]?t[s][e(564)][e(518)]=s:e(488)===t[s][e(630)]&&(t[s][e(564)][e(446)]=s),i[e(530)](t[s].id,s));for(const s of i[e(546)]())e(721)===t[s][e(630)]?t[s][e(564)][e(446)]=i[e(440)](t[s][e(442)]):e(488)===t[s][e(630)]&&(t[s][e(564)][e(518)]=i[e(440)](t[s][e(442)]))}[Qt(652)](t){const e=Qt;for(let i=0;i<t[e(642)];i++){if(e(721)===t[i][e(630)])t[i][e(564)][e(518)]=i;else if(e(488)===t[i][e(630)]){t[i][e(564)][e(446)]=i;const s=t[i][e(564)][e(518)];t[s][e(442)]=t[i].id,t[i][e(442)]=t[s].id}else t[i][e(564)][e(518)]=i,t[i][e(564)][e(446)]=i,t[i][e(442)]=null;t[i][e(672)]||(t[i][e(672)]=[],t[i][e(524)]=[])}}[Qt(662)](t,e){const i=Qt,s=t[i(732)]((t=>!t[i(617)]));for(let t=0;t<e[i(642)];t++)e[t][i(617)]&&(s[t][i(617)]=e[t][i(617)])}[Qt(691)](t,e=null){const i=Qt,s=this[i(565)][i(694)](t),n=e?this[i(565)][i(694)](e):null,r=this[i(581)](s,n),o=r[r[i(642)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(642)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(668)](e[i(597)]))if(e[i(597)][t][i(497)]){const s=e[i(597)][t][i(497)];s[i(747)]?(u[i(626)](t),l[i(552)](t)&&l[i(440)](t)[i(426)]==s[i(426)]?l[i(444)](t):l[i(530)](t,s)):l[i(552)](t)?(u[i(444)](t),l[i(444)](t)):(u[i(626)](t),l[i(530)](t,s))}else u[i(626)](t)}for(const t of u){const e=l[i(552)](t)&&!l[i(440)](t)[i(747)];let s=e?r[i(642)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(597)][t]){const s=e?o[i(597)][t][i(675)]:o[i(597)][t][i(469)];c[i(466)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(695)]={};for(const e of t[i(482)])a[i(530)](e.id,e);for(const e of u){const s=t[i(597)][e]?t[i(597)][e][i(468)]:"[]",n=t[i(597)][e]?t[i(597)][e][i(472)]:"[]";t[i(695)][e]={insertions:this[i(605)][i(557)](s),deletions:this[i(605)][i(557)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(656)](s[i(695)][t][i(468)][i(439)])[i(732)]((([t])=>!t[i(610)](i(521)))));let h=0;for(const o of r){const r=this[i(477)](o[i(695)][t][i(468)]);o==s?(e=r,n=e[i(642)],e[i(582)]((t=>{t.id=h++})),this[i(652)](e)):this[i(662)](e,r);const a=e[i(732)]((t=>!t[i(617)]))[i(615)]((t=>t.id));let c=0;const l=this[i(477)](o[i(695)][t][i(472)]);l[i(582)]((t=>{t[i(578)]?t.id=n++:t.id=a[c++]})),this[i(652)](l),this[i(730)](e,i(617)),this[i(730)](l,i(578)),o==s&&this[i(629)](e,u),e=this[i(621)](e,l),this[i(566)](e),this[i(730)](e,i(578))}e=e[i(732)]((t=>!(t[i(617)]&&t[i(578)])));const d=new Map(o[i(695)][t][i(472)][i(439)]),f=new Set(u[i(668)]());for(const t of d[i(668)]())f[i(444)](t);this[i(464)](e,f),this[i(607)](e),e=this[i(499)](e),e=this[i(545)](e),e=this[i(543)](e);const{root:m,changes:p}=this[i(571)](e,a,t);c[i(695)][t]=m;const v=l[i(440)](t);if(v){const e=a[i(440)](v[i(426)]),s=new qt({author:e,type:v[i(747)]?i(626):i(711),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(665)](s),c[i(466)][t][i(589)]=s.id}c[i(601)]=c[i(601)][i(489)](p)}return c}[Qt(629)](t,e){const i=Qt;for(let s=0;s<t[i(642)];s++)for(const[n,r]of e)!r[i(604)]&&r[i(745)][i(714)](t[s][i(555)])&&t[s][i(672)][i(471)](n),r[i(501)][i(714)](t[s][i(686)])&&t[s][i(524)][i(471)](n)}[Qt(621)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(642)]||r<e[i(642)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(471)](o);else if(a[i(578)]&&o[i(617)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(433)](t,n,e,r);s=s[i(489)](o),n=a,r=c}else a[i(578)]?(r++,s[i(471)](a)):(n++,s[i(471)](o))}return s}[Qt(464)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(642)];o++){for(let r=0;r<t[o][i(672)][i(642)];r++){const a=t[o][i(672)][r];if(!e[i(552)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(586)!=c||i(453)!=u&&i(538)!=u||(s[i(665)]({type:u,name:a,userId:l}),t[o][i(672)][i(570)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(524)][i(642)];r++){const a=t[o][i(524)][r];if(!e[i(552)](a))continue;const{group:c,type:u}=n(a);if(i(586)!=c||i(453)!=u&&i(538)!=u)continue;t[o][i(524)][i(570)](r,1),r--;const l=s[i(631)]((t=>t[i(574)]==a));l>-1&&s[i(570)](l,1)}}function n(t){const e=i,s=t[e(536)](":");return{group:s[0],type:s[1],subType:s[e(642)]>=5?s[2]:null,id:s[e(642)]<5?s[2]:s[3],authorId:s[e(642)]<5?s[3]:s[4],markerCount:6==s[e(642)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(642)];i++){if(t[e(617)]&&e(453)==s[i][e(630)]&&t[e(617)][e(426)]==s[i][e(426)])return t[e(620)]=s[i],void delete t[e(617)];if(!t[e(617)]&&!t[e(578)]&&e(538)==s[i][e(630)])return void(t[e(459)]=s[i])}}}[Qt(730)](t,e){const i=Qt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(530)](o.id,s);for(let s=0;s<t[i(642)];s++){if(i(578)==e&&t[s][i(617)]||i(617)==e&&t[s][i(578)])continue;if(i(470)==t[s][i(630)]){t[s][i(494)]=0;continue}const n=r[i(440)](t[s][i(442)]),o=r[i(440)](t[s].id);t[s][i(494)]=n-o}}[Qt(581)](t,e,i=!1){const s=Qt,n=[];let r=this[s(565)][s(741)](t),o=this[s(565)][s(741)](e);for(-1==o&&(o=this[s(565)][s(712)][s(642)],i=!1);r<o;)n[s(471)](this[s(565)][s(694)](r)),r++;return i&&n[s(471)](this[s(565)][s(694)](r)),n}[Qt(433)](t,e,i,s){const n=Qt,r=this[n(476)][n(695)][n(456)];let o=e;for(;t[o]&&t[o][n(617)];)o++;let a=s;for(;i[a]&&i[a][n(578)];)a++;u(t,e,o),u(i,s,a);const c=i[n(638)](s,a)[n(489)](t[n(638)](e,o));return c[n(509)](((t,e)=>t[n(496)]!=e[n(496)]?t[n(496)]-e[n(496)]:t[n(583)]!=e[n(583)]?t[n(583)]-e[n(583)]:t[n(494)]!=e[n(494)]?e[n(494)]-t[n(494)]:!!t[n(617)]!=!!e[n(617)]?-1==t[n(496)]||0==t[n(496)]?t[n(617)]?-1:1:t[n(617)]?1:-1:t[n(512)]-e[n(512)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(548)],c=!0;for(let n=e;n<i;n++)if(r[s(532)](t[n][s(564)])||(c=!1),t[n][s(564)][s(518)]<e&&(o=n),t[n][s(564)][s(446)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(496)]=n<=o?-1:n<a?0:1,t[n][s(512)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(494)]?t[i][s(583)]=u:(u++,t[i][s(583)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(496)]&&(t[n][s(583)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(494)]?t[e][s(583)]=u:(u--,t[e][s(583)]=u,u--)}}[Qt(607)](t){const e=Qt,i=new Map,s=this[e(476)][e(695)][e(456)];for(let n=1;n<t[e(642)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(470)==c[e(630)])continue;if(c[e(630)]!=u[e(630)])continue;if(!s[e(567)](u[e(564)])||s[e(720)](u[e(564)]))continue;if(!s[e(567)](c[e(564)])||s[e(720)](c[e(564)]))continue;if((t[n][e(617)]||t[n][e(620)])&&t[n-1][e(578)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(578)]||!t[n-1][e(617)]&&!t[n-1][e(620)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(583)]==o[e(583)],h=Math[e(726)](r[e(583)])<Math[e(726)](o[e(583)])&&0==o[e(494)];(l||h)&&(i[e(530)](o.id,r.id),t[e(570)](a,1),n--,r[e(617)]=!1)}for(let s=0;s<t[e(642)];s++)i[e(552)](t[s][e(442)])&&(t[s][e(442)]=i[e(440)](t[s][e(442)]))}[Qt(499)](t){const e=Qt,i=new Set(t[e(615)]((t=>t.id)));for(let s=0;s<t[e(642)];s++)i[e(552)](t[s][e(442)])||0==t[s][e(494)]||(t[s][e(742)]=!0);return t[e(732)]((t=>!t[e(742)]))}[Qt(545)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(642)];s++){if(i[e(552)](t[s].id)&&t[s][e(578)]&&(t[s][e(742)]=!0),t[s][e(742)])continue;if(0==t[s][e(494)])continue;if(e(721)!=t[s][e(630)])continue;if(null==t[s][e(442)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(442)];)e(721)==t[n][e(630)]?r++:e(488)==t[n][e(630)]&&r--,n++;if(0!=r)if(t[s][e(578)])t[s][e(742)]=!0;else for(;n!=s;)t[n][e(578)]&&0!=t[n][e(494)]&&(t[n][e(742)]=!0,i[e(626)](t[n][e(442)])),n--}return t[e(732)]((t=>!t[e(742)]))}[Qt(543)](t){const e=Qt,i=this[e(476)][e(695)][e(456)];for(let s=0;s<t[e(642)];s++){if(!(t[s][e(617)]||t[s][e(620)]||t[s][e(578)]||t[s][e(459)]))continue;if(0==t[s][e(494)])continue;const n=t[s][e(564)];i[e(567)](n)||i[e(720)](n)||(t[s][e(617)]&&delete t[s][e(617)],t[s][e(620)]&&delete t[s][e(620)],t[s][e(459)]&&delete t[s][e(459)],t[s][e(578)]&&(t[s][e(742)]=!0))}return t[e(732)]((t=>!t[e(742)]))}[Qt(571)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(476)][s(695)],c=a[s(456)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(642)];e++)if(s(721)===t[e][s(630)]){t[e][s(555)]=a[s(562)](n,f);const i=new H.Element(t[e][s(564)][s(574)],t[e][s(564)][s(502)]());u[0][s(658)](i),f[s(471)](0),u[s(665)](i),t[e][s(686)]=a[s(562)](n,f)}else s(488)===t[e][s(630)]?(u[s(463)](),t[e][s(555)]=a[s(562)](n,f),f[s(584)](),f[f[s(642)]-1]++,t[e][s(686)]=a[s(562)](n,f)):(t[e][s(555)]=a[s(562)](n,f),d?d[s(681)]+=t[e][s(564)][s(600)]:d=new H.Text(t[e][s(564)][s(600)],t[e][s(564)][s(502)]()),t[e+1]&&s(470)===t[e+1][s(630)]&&v(d,t[e+1][s(564)])||(u[0][s(658)](d),d=null),f[f[s(642)]-1]+=t[e][s(564)][s(432)],t[e][s(686)]=a[s(562)](n,f));for(let e=0;e<t[s(642)];e++){const i=t[e][s(555)],n=t[e][s(686)];for(const n of t[e][s(672)])o[s(530)](n,{start:i,end:null});m(s(459),e,i,n),m(s(620),e,i,n),m(s(578),e,i,n),m(s(617),e,i,n);for(const i of t[e][s(524)]){const t=o[s(440)](i);t?t[s(501)]=n:o[s(530)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(476)][s(695)][s(437)](e[s(745)],e[s(501)]);n[s(439)][s(530)](t,i)}return r[s(509)](((t,e)=>{const i=s,r=n[i(439)][i(440)](i(521)+t.id),o=n[i(439)][i(440)](i(521)+e.id);return r[i(745)][i(713)](o[i(745)])?-1:r[i(745)][i(603)](o[i(745)])?1:r[i(501)][i(713)](o[i(501)])?-1:r[i(501)][i(603)](o[i(501)])?1:i(626)===t[i(630)]?-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(426)]:null,d=i===t[o(642)]-1,f=h[e][0],m=c[o(503)](t[i][o(564)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(501)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(426)]!==u&&(l[e][o(501)]=n,f&&f[o(426)]===l[e][o(426)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(721)!==t[i][o(630)]||f&&f[o(426)]===u||h[e][o(665)]({userId:u,object:t[i][o(564)],change:l[e]}),o(488)===t[i][o(630)]&&f&&f[o(608)]===t[i][o(564)]&&(h[e][o(463)](),l[e]=f[o(654)])),l[e]&&d&&(l[e][o(501)]=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(564)],f=a[h(456)][h(567)](d)&&!a[h(456)][h(720)](d),m=t[h(425)]==o[h(661)]&&o[h(487)];if(f&&m)return;const p=a[h(437)](t,o),v=e[h(440)](u),g=new qt({author:v,type:h(617)==l||h(620)==l?h(626):h(711),data:{isSuggestion:h(620)==l||h(459)==l},createdAt:new Date,rootName:i});r[h(471)](g),n[h(439)][h(530)](h(521)+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(722)](t[0]))return!1;r[i(517)]()}return r[i(517)]()[i(508)]}}[Qt(728)](){const t=Qt;this[t(476)][t(682)][t(493)](t(491))[t(449)]({view:t(520)}),this[t(476)][t(682)][t(493)](t(738))[t(669)]({model:t(520),view:e=>{const i=t,s=e[i(560)][i(536)](":")[1],n=this[i(635)](s);if(!n)return null;const r=i(626)==n[i(630)]?i(453):i(538),o=[i(514),i(504)+r];return n[i(600)][i(666)]&&o[i(471)](i(504)+r+i(647)),this[i(553)]==n&&o[i(471)](i(478)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(476)][t(682)][t(493)](t(491))[t(626)]((e=>{const i=t;e.on(i(458),((t,e,s)=>{const n=i,r=e[n(556)][n(495)](0);if(!r||!r.is(n(645),n(633)))return;if(!s[n(684)][n(733)](r,{attributes:[n(506),n(475)]}))return;const o=e[n(533)][n(745)][n(425)];s[n(573)][n(646)](n(506),r[n(722)](n(506)),o),s[n(573)][n(646)](n(475),r[n(722)](n(475)),o)}),{priority:i(639)})})),this[t(476)][t(682)][t(493)](t(491))[t(626)]((e=>{const i=t;e.on(i(645),((t,e,s)=>{const n=i;if(!s[n(684)][n(733)](e[n(556)],{attributes:[n(506),n(475)]}))return;if(e[n(533)][n(604)])return;const r=e[n(533)][n(745)][n(425)];r[n(706)](n(506))||r[n(706)](n(613))||(s[n(573)][n(646)](n(506),e[n(556)][n(722)](n(506)),r),s[n(573)][n(646)](n(475),e[n(556)][n(722)](n(475)),r))}),{priority:i(639)})})),this[t(476)][t(682)][t(493)](t(491))[t(443)]({view:{name:t(480),attributes:{vid:!0}},model:{key:t(613),value:e=>e[t(722)](t(613))}}),this[t(476)][t(695)][t(456)].on(t(671),((e,[,i])=>{const s=t;[s(506),s(475),s(613)][s(529)](i)&&(e[s(550)]=!0,e[s(703)]())}),{priority:t(513)}),this[t(476)][t(682)][t(493)](t(683))[t(626)]((e=>{const i=t;e.on(i(614),((t,e,s)=>{const n=i;if(" "!=e[n(564)][n(600)]||e[n(564)][n(661)][n(561)]>1)return;if(!s[n(684)][n(733)](e[n(564)],t[n(574)]))return;const r=s[n(573)],o=s[n(596)][n(541)](e[n(429)]);r[n(688)](o,r[n(580)](n(480)))}))})),this[t(476)][t(682)][t(493)](t(683))[t(739)]({model:t(520)}),this[t(476)][t(734)][t(704)].on(t(481),function(e){const i=t,s=e[i(636)][i(440)](i(576));return(t,n,r)=>{const o=i,a=n[o(560)][o(536)](":")[1],c=s[o(635)](a);if(!c)return null;const u=o(626)==c[o(630)]?o(536):o(447);if(!r[o(684)][o(549)](n[o(563)],t[o(574)]))return;const l=n[o(563)][o(435)](),h=n[o(563)][o(745)],d=e[o(695)][o(456)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(564)];p=p||d[o(649)](e);const i=r[o(596)][o(700)](e);if(i&&i[o(539)](o(697)))return;o(488)==t[o(630)]&&d[o(567)](e)&&!d[o(720)](e)&&(e[o(515)]||h[o(625)]?f&&f[o(661)]==e||(f=e,g(t[o(555)]),v=!0):m=m||t[o(555)])}function g(t){const e=o,i=r[e(573)][e(445)](e(480),{class:e(504)+u}),a=r[e(596)][e(558)](t);c[e(600)][e(666)]&&r[e(573)][e(465)](e(504)+u+e(647),i),s[e(553)]==c&&r[e(573)][e(465)](e(478),i),r[e(573)][e(731)](a,i),r[e(596)][e(500)](i,n[e(560)])}p||v||!m||g(m)}}(this[t(476)]),{priority:t(692)}),this[t(476)][t(734)][t(704)].on(t(736),((e,i,s)=>{const n=t,r=s[n(596)][n(723)](i[n(560)]);if(r)for(const t of r)(t[n(744)](n(592))||t[n(744)](n(622)))&&(s[n(596)][n(450)](t,i[n(560)]),s[n(573)][n(711)](t))}),{priority:t(692)}),this[t(476)][t(734)][t(704)].on(t(481),((e,i,s)=>{const n=t,r=i[n(560)][n(536)](":")[1],o=this[n(635)](r);if(!o)return null;const a=n(626)==o[n(630)]?n(536):n(447);if(s[n(684)][n(549)](i[n(563)],e[n(574)]))for(const t of i[n(563)][n(451)]()){if(!t.is(n(645),n(551)))continue;const e=s[n(573)][n(445)](n(480),{class:n(504)+a}),r=s[n(596)][n(558)](this[n(476)][n(695)][n(572)](t));o[n(600)][n(666)]&&s[n(573)][n(465)](n(504)+a+n(647),e),this[n(553)]==o&&s[n(573)][n(465)](n(478),e),s[n(573)][n(731)](r,e),s[n(596)][n(500)](e,i[n(560)])}}),{priority:t(692)}),this[t(476)][t(695)][t(598)].on(t(654),(()=>{const e=t;this[e(476)][e(734)][e(655)][e(654)]((t=>{const i=e;for(const e of this[i(476)][i(695)][i(598)][i(519)]()){const s=this[i(476)][i(695)][i(598)][i(627)](e),n=this[i(476)][i(734)][i(655)][i(598)][i(627)](e);if(n){const e=s[i(722)](i(589));if(t[i(554)](i(525),n),t[i(640)](i(616),n),t[i(640)](i(526),n),t[i(640)](i(623),n),e){const s=this[i(635)](e);if(!s)return null;t[i(646)](i(525),e,n),t[i(465)](i(702)+s[i(630)],n),this[i(553)]==s&&t[i(465)](i(623),n)}}}}))})),this[t(476)][t(682)][t(493)](t(491))[t(449)]({view:t(708),model:e=>t(663)+e,converterPriority:t(513)}),this[t(476)][t(682)][t(493)](t(491))[t(449)]({view:t(457),model:e=>t(710)+e,converterPriority:t(513)}),this[t(476)][t(682)][t(493)](t(683))[t(739)]({model:t(586),view:e=>({name:t(659)+e,group:t(586)}),converterPriority:t(513)}),this[t(476)][t(682)][t(493)](t(738))[t(669)]({model:t(586),view:e=>{const i=t,s=e[i(560)][i(536)](":")[1];return i(453)!=s&&i(538)!=s?null:{classes:[i(729),i(660)+s]}}}),this[t(476)][t(734)][t(704)].on(t(680),ie(this[t(476)],t(447)),{priority:t(692)}),this[t(476)][t(734)][t(704)].on(t(657),ie(this[t(476)],t(536)),{priority:t(692)}),this[t(476)][t(734)][t(704)].on(t(612),((e,i,s)=>{const n=t,r=s[n(596)][n(723)](i[n(560)]);if(r)for(const t of r)t.is(n(577))&&(s[n(596)][n(450)](t,i[n(560)]),s[n(573)][n(711)](t))}),{priority:t(692)})}[Qt(635)](t){const e=Qt;return this[e(568)][e(440)](t)}[Qt(664)](t){const e=Qt;return this[e(699)]&&this[e(699)][e(479)](),this[e(699)]=new Wt(this[e(476)][e(727)],t),this[e(699)]}[Qt(516)](){const t=Qt;this[t(476)][t(695)][t(598)][t(523)][t(701)](t(520)),this.on(t(540),((e,i,s,n)=>{const r=t;n&&this[r(667)][r(711)](n),s&&(this[r(667)][r(626)]({view:s,stackId:r(534),position:{target:()=>{const t=r,e=this[t(476)][t(734)],i=this[t(635)](s[t(575)]);let n;if(i[t(600)][t(454)]){const s=e[t(655)][t(651)](i[t(685)]);n=Array[t(656)](s[t(599)]())}else{const i=this[t(476)][t(695)][t(439)][t(440)](t(521)+s[t(575)]);n=Array[t(656)](e[t(596)][t(723)](i[t(574)]))[t(615)]((i=>e[t(655)][t(602)][t(428)](i)))[t(615)]((e=>Array[t(656)](e[t(599)]())))[t(547)]()}return this[t(510)]&&n[t(673)]((e=>e[t(698)]-3<=this[t(510)].y&&e[t(483)]+3>=this[t(510)].y&&e[t(591)]-3<=this[t(510)].x&&e[t(653)]+3>=this[t(510)].x))||n[0]}}}),this[r(667)][r(462)](r(534)))})),this.on(t(687),((e,i,s,n)=>{const r=t;this[r(709)]=s?this[r(664)](s):null,this[r(476)][r(695)][r(654)]((()=>{const t=r,e=this[t(476)][t(734)];n&&(n[t(600)][t(454)]?e[t(655)][t(654)]((i=>{const s=t;i[s(640)](s(623),e[s(655)][s(598)][s(627)](n[s(685)]))})):e[t(624)](t(521)+n.id)),s&&(s[t(600)][t(454)]?e[t(655)][t(654)]((i=>{const n=t;i[n(465)](n(623),e[n(655)][n(598)][n(627)](s[n(685)]))})):e[t(624)](t(521)+s.id))}))})),this[t(690)](this[t(476)][t(734)][t(655)][t(598)],t(490),((e,i)=>{const s=t;if(this[s(553)])return;const n=this[s(424)](i[s(696)]),r=this[s(568)][s(440)](n);r?(this[s(510)]={x:i[s(677)].x,y:i[s(677)].y},this[s(709)]=this[s(664)](r)):(this[s(510)]=null,this[s(709)]=null)})),this[t(690)](this[t(476)][t(734)][t(655)][t(598)],t(619),((e,i)=>{const s=t,n=this[s(424)](i[s(696)]),r=this[s(568)][s(440)](n);r?(this[s(510)]={x:i[s(677)].x,y:i[s(677)].y},r===this[s(553)]?this[s(667)][s(735)]():this[s(553)]=r):(this[s(510)]=null,this[s(553)]=null)}))}[Qt(424)](t){const e=Qt;do{const i=t[e(722)](e(525));if(i)return i;t=t[e(661)]}while(t);return null}[Qt(719)](){const t=Qt;this[t(476)][t(695)][t(654)]((e=>{const i=t;for(const t of this[i(476)][i(695)][i(439)])e[i(559)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(684)][r(549)](s[r(563)],i[r(574)]))return;const o=s[r(563)][r(435)](),a=s[r(563)][r(745)],c=t[r(695)][r(456)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(564)];h=h||c[r(649)](e);const i=n[r(596)][r(700)](e);if(i&&i[r(539)](r(697)))return;r(488)==t[r(630)]&&c[r(567)](e)&&!c[r(720)](e)&&(e[r(515)]||a[r(625)]?u&&u[r(661)]==e||(u=e,f(t[r(555)]),d=!0):l=l||t[r(555)])}function f(t){const i=r,o=n[i(596)][i(558)](t),a=n[i(573)][i(445)](i(480),{class:i(660)+e});n[i(573)][i(731)](o,a),n[i(596)][i(500)](a,s[i(560)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(636)][e(440)](ee);this[e(618)]=!1,this[e(690)](i,e(448),(()=>this[e(643)]())),this[e(690)](i,e(474),(()=>this[e(643)]()))}[Qt(542)](){const t=Qt,e=this[t(476)],i=e[t(636)][t(440)](ee),s=i[t(511)]?i[t(473)][t(670)]:null;e[t(431)][t(440)](t(641))[t(535)](s)}[Qt(643)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(476)][t(636)][t(440)](ee),r=n&&s[t(492)](n[t(670)]);this[t(650)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(436)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(636)][i(440)](ee);this[i(618)]=!1,this[i(436)]=i(594)===e?1:-1,this[i(690)](s,i(448),(()=>this[i(643)]())),this[i(690)](s,i(474),(()=>this[i(643)]())),this[i(690)](s,i(687),(()=>this[i(643)]()))}[Qt(542)](){const e=Qt,i=this[e(476)],s=i[e(636)][e(440)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(553)]=n?s[e(473)][e(601)][e(440)](r+this[e(436)]):s[e(473)][e(601)][e(569)],s[e(553)][e(600)][e(454)])o=i[e(734)][e(655)][e(651)](s[e(553)][e(685)]);else{const t=i[e(695)][e(439)][e(440)](e(521)+s[e(553)].id);o=(0,Z.getMarkerDomElement)(i[e(734)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(643)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(476)][t(636)][t(440)](ee);this[t(650)]=!!(r&&n&&s)&&(!e||(1===this[t(436)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["numberOfChanges","span","203058dSCALu","Show next change","isNavigationMode","371735VBFEsb","bind","216956ZJDqVL","72umldVg","3292690Hlvsfq","isBackwardNavigationEnabled","_statusText","2172kAYLgW","Loading...","bindTemplate","X_OF_Y_CHANGES","3227oPSkyM","setTemplate","isEnabled","currentChangeNumber","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation__wrapper","fire","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__label","1IVptwn","NUMBER_OF_CHANGES","isForwardNavigationEnabled","ck-revision-history-ui","ck-revision-history-ui__changes-navigation","135759eCxstj","isReady","705384QdNtGE","forward","execute","Show previous change","ck-hidden","backward","set","No changes","EDIT_X_OF_Y_REVISIONS","Total","div"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(109715===parseInt(e(367))/1*(-parseInt(e(392))/2)+-parseInt(e(372))/3+-parseInt(e(374))/4+parseInt(e(390))/5+parseInt(e(397))/6*(-parseInt(e(401))/7)+-parseInt(e(393))/8*(-parseInt(e(387))/9)+parseInt(e(394))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(399)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(380)](e(389),!1),this[e(380)](e(373),!1),this[e(380)](e(404),0),this[e(380)](e(385),0),this[e(380)](e(369),!1),this[e(380)](e(395),!1),this[e(391)](e(365)).to(this,e(373),this,e(385),((t,e)=>t&&e>0)),this[e(391)](e(396)).to(this,e(373),this,e(404),this,e(385),this,e(389),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(398));if(!n)return X(t,o(381));const a=X(t,o(368),n);return r?X(t,o(400),[s+1,n]):a})),s[e(380)]({label:X(t,e(377)),tooltip:!0,icon:mt.IconChevronUp}),n[e(380)]({label:X(t,e(388)),tooltip:!0,icon:mt.IconChevronDown}),s[e(391)](e(403)).to(this,e(395)),n[e(391)](e(403)).to(this,e(369)),s.on(e(376),(()=>this[e(364)](e(376),e(379)))),n.on(e(376),(()=>this[e(364)](e(376),e(375)))),this[e(402)]({tag:e(384),attributes:{class:["ck",e(370),e(371)]},children:[{tag:e(386),attributes:{class:[e(406)]},children:[{tag:e(386),attributes:{class:[e(366),i.if(e(365),e(378),(t=>!t))]},children:[{text:i.to(e(389),(i=>i?X(t,e(382))+": ":X(t,e(383))+": "))}]},{text:i.to(e(396))}]},new pt.ToolbarSeparatorView,{tag:e(384),attributes:{class:[e(405)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=me();return(fe=function(t,e){return i[t-=405]})(t,e)}function me(){const t=["editor","document","2539287RjItHG","pluginName","182258UmLAOd","change","addClass","12530770NUAAFb","roots","16KiqqIt","editing","view","RevisionViewerLoadingOverlay","show","9WhNFBJ","444563FGTPtx","removeClass","463732VKwxCS","isOfficialPlugin","37212tWQdql","847870KVwXXy","hide","isPremiumPlugin","492uCLXUB","ck-editor__editable__loading-overlay"];return(me=function(){return t})()}!function(t){const e=fe,i=t();for(;;)try{if(416818===-parseInt(e(423))/1+parseInt(e(412))/2+-parseInt(e(422))/3*(-parseInt(e(425))/4)+parseInt(e(428))/5+-parseInt(e(406))/6*(parseInt(e(427))/7)+-parseInt(e(417))/8*(parseInt(e(410))/9)+parseInt(e(415))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=de(407);class ve extends U.Plugin{static get[de(411)](){return de(420)}static get[de(426)](){return!0}static get[de(405)](){return!0}[de(421)](){const t=de,e=this[t(408)][t(418)][t(419)];e[t(413)]((i=>{const s=t;for(const t of e[s(409)][s(416)])i[s(414)](pe,t)}))}[de(429)](){const t=de,e=this[t(408)][t(418)][t(419)];e[t(413)]((i=>{const s=t;for(const t of e[s(409)][s(416)])i[s(424)](pe,t)}))}}const ge=ke;function ye(){const t=["hide","componentFactory","numberOfChanges","forward","isBackwardNavigationEnabled","70iSbJgm","RevisionViewerUI","761047CEdPsj","config","revisionHistory","showPreviousChange","bind","add","editor","36648216eKckDD","isEnabled","1359255MNFdDx","isPremiumPlugin","execute","get","listenTo","88owjGSE","6efJRrC","pluginName","8090640ytWvso","isForwardNavigationEnabled","135reEZKk","show","init","plugins","isOfficialPlugin","Back to editing","restoreRevision","ck-revision-history-ui__back-to-editing","Restore this revision","isReady","isNavigationMode","exitToEditing","showNextChange","closeRevisionViewerCallback","set","commands","change:isReady","26484jkycrW","4GkUEId","294578jPEwtc","requires","1820346fWCRzL","changesNavigation","currentChangeNumber"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(661532===-parseInt(e(283))/1*(parseInt(e(310))/2)+parseInt(e(304))/3*(-parseInt(e(282))/4)+parseInt(e(264))/5*(-parseInt(e(281))/6)+-parseInt(e(295))/7*(parseInt(e(309))/8)+-parseInt(e(262))/9+-parseInt(e(293))/10*(-parseInt(e(285))/11)+parseInt(e(302))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(261)](){return ge(294)}static get[ge(268)](){return!0}static get[ge(305)](){return!0}static get[ge(284)](){return[ee,ve]}[ge(266)](){const t=ge,e=this[t(301)],i=e[t(267)][t(307)](ee),s=e[t(267)][t(307)](ve);e.ui[t(289)][t(300)](t(275),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(278)]({label:X(i,s(269)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(271)}),this[s(308)](n,s(306),(()=>{const t=s;e[t(296)][t(307)](t(297))[t(277)]()})),n})),e.ui[t(289)][t(300)](t(270),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(278)]({label:X(i,s(272)),withText:!0,tooltip:!0}),n[s(299)](s(303)).to(e[s(279)][s(307)](s(270))),this[s(308)](n,s(306),(()=>e[s(306)](s(270)))),n})),e.ui[t(289)][t(300)](t(286),(s=>{const n=t,r=new ue(s),o=e[n(279)][n(307)](n(298)),a=e[n(279)][n(307)](n(276));return r[n(299)](n(292)).to(o,n(303)),r[n(299)](n(263)).to(a,n(303)),r[n(299)](n(273),n(287),n(290),n(274)).to(i),this[n(308)](r,n(306),((t,i)=>{const s=n;e[s(306)](s(291)===i?s(276):s(298))})),r})),s[t(265)](),i.on(t(280),((e,i,n)=>{const r=t;n?s[r(288)]():s[r(265)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=251]})(t,e)}function Oe(){const t=["Enter the revision name","element","_updateTooltipText","8044HSGIcM","fieldView","3740808tBxARa","listenTo","1725580rejtZd","4700511qLwLDT","5278392OmmBVW","Revision name","6206888NZilBb","input","19823247NCyYHa","placeholder","_tooltipString","clientWidth","value","7zfkCtK","1720iZzEHr","scrollWidth","render","ck-revision-history-sidebar__revision-name","extendTemplate","ck-tooltip_multi-line","destroy","_resizeObserver","10NBMWty","span","bindTemplate","set"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(969091===-parseInt(e(260))/1+-parseInt(e(258))/2+parseInt(e(261))/3+parseInt(e(256))/4*(parseInt(e(272))/5)+parseInt(e(262))/6+-parseInt(e(271))/7*(parseInt(e(264))/8)+parseInt(e(266))/9*(parseInt(e(280))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends pt.LabeledFieldView{[Ie(279)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(251)];this[i(252)]({label:X(t,i(263)),_tooltipString:""}),this[i(257)][i(267)]=X(t,i(253)),this[i(276)]({tag:i(281),attributes:{class:[i(275)],"data-cke-tooltip-text":s.to(i(268)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(277)}})}[Ie(274)](){const e=Ie;super[e(274)](),this[e(279)]=new t.ResizeObserver(this[e(257)][e(254)],(()=>this[e(255)]())),this[e(259)](this[e(257)],e(265),(()=>this[e(255)]()))}[Ie(278)](){const t=Ie;super[t(278)](),this[t(279)]&&this[t(279)][t(278)]()}[Ie(255)](){const t=Ie,e=this[t(257)][t(254)];this[t(268)]=e[t(273)]>e[t(269)]&&e[t(270)]||""}}var Te=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(Te.A,Ne);Te.A&&Te.A.locals&&Te.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=289]})(t,e)}function Ae(){const t=["name","780116xxNRPl","27030LiCTgc","push","Revision creator","set","ck-revision-history-sidebar__revision-author","915396RmqnoQ","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author_creator","1969ejsUwL","13420476UhIIhx","span","3jbrhIk","820136saRFLh","Revision author","3uJmwZH","2275cNypfU","299loIcOe","setTemplate","3928tLvVxU","7908mTNVLn","7441vQIkkd","0 0 11 10"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(755808===parseInt(e(304))/1*(parseInt(e(305))/2)+parseInt(e(307))/3*(parseInt(e(292))/4)+-parseInt(e(308))/5*(-parseInt(e(312))/6)+-parseInt(e(289))/7*(parseInt(e(311))/8)+parseInt(e(302))/9+parseInt(e(293))/10*(-parseInt(e(301))/11)+-parseInt(e(298))/12*(parseInt(e(309))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class De extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(296)]({content:mt.IconUser,viewBox:s(290)});const r=["ck",s(297)];i&&r[s(294)](s(300));const o=[{tag:s(303),attributes:{class:["ck",s(299)],title:X(t,s(i?295:306))},children:[n,e[s(291)]]}];this[s(310)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=316]})(t,e)}function Ee(){var t=["495HCKGwA","985374SvvNEL","2124773kqriIL","numeric","34824XSNkuK","299898ZlibNS","376QPqDyh","120090MAXafv","17810Mjnrxx","67864cdxzEZ","long","toLocaleTimeString","toLocaleDateString"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(180711===-parseInt(e(320))/1+parseInt(e(318))/2+parseInt(e(327))/3+parseInt(e(319))/4*(-parseInt(e(321))/5)+-parseInt(e(317))/6+-parseInt(e(328))/7+parseInt(e(322))/8*(parseInt(e(326))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=316]})(t,e)}function je(){const t=["listView","stopPropagation","class","execute","menu","listenTo","locale","extendTemplate","4mQenYE","model","panelPosition","Name this revision","ck-on","isVisible","48wrVYMD","buttonView","action","_action","add","children","isActionsDropdownOpen","758355bKRnEN","map","Restore this revision","ck-revision-history-sidebar__revision__actions","1cqgQWo","first","130163cvjmpK","Compare against selected","isOpen","change:isActionsDropdownOpen","bind","isReady","1095262OdIpBU","items","find","532998DRgCKY","129078IeUlDy","button","set","name","190HlAXIa","source","Show more items","470046PTPVcZ","menuitem","function","isEnabled","bindTemplate","460422rkvcXe"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(126696===-parseInt(e(329))/1*(-parseInt(e(348))/2)+-parseInt(e(353))/3+parseInt(e(362))/4*(parseInt(e(325))/5)+-parseInt(e(340))/6+-parseInt(e(337))/7+-parseInt(e(318))/8*(parseInt(e(341))/9)+-parseInt(e(345))/10*(-parseInt(e(331))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=157]})(t,e)}function Ue(){const t=["unshift","revisionNameView","listenTo","isActionsDropdownOpen","select","2203674IHFPtT","33jplgsm","value","creator","from","bind","highlight","ck-revision-history-sidebar__revision_highlighted","uiLanguage","52636BzMvjQ","extendTemplate","ck-revision-history-sidebar__revision","220","_createdAtFormatted","change","deselect","filter","isConfirm","element","setName","bindTemplate","render","isSelected","closest","isEnabled","setTemplate","name","ck-revision-history-sidebar__revision-authors","2692692KgUiFx","_requireRevisionName","revisionActionsView","ck-revision-history-sidebar__revision_selected","210DfnIlq","9210RIBZZY","fire","set","span","isHighlighted","7rxKoog","ck-revision-history-sidebar__actions_dropdown_open","5106470fqXtFh","fieldView","ck-revision-history-sidebar__revision__date","_revision","ck-reset","isReady","length","8334nQOIyD","3798792afsOzP","ck-revision-history-sidebar__revision__controls-wrapper","812XfpSRl","ck-revision-history-sidebar__revision-wrapper","srcElement","authors","createdAt","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unhighlight","ck-disabled",".ck-thread__remove-confirm","div","map"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(255753===-parseInt(e(173))/1+parseInt(e(211))/2*(parseInt(e(196))/3)+-parseInt(e(214))/4*(parseInt(e(197))/5)+-parseInt(e(164))/6*(parseInt(e(202))/7)+-parseInt(e(212))/8+-parseInt(e(192))/9+-parseInt(e(204))/10*(-parseInt(e(165))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(160)];[ze(194)];[ze(207)];[ze(193)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(184)],a=function(t,e){const i=r,s=Array[i(168)](e[i(217)])[i(180)]((t=>t!=e[i(167)]));return e[i(167)]&&s[i(159)](e[i(167)]),s[i(158)]((s=>new De(t,s,s==e[i(167)])))}(e,i);this.id=i.id,this[r(207)]=i,this[r(193)]=n,this[r(169)](r(190),r(218)).to(i),this[r(169)](r(177)).to(this,r(218),(t=>{return i=e[r(172)],(s=t)[(n=Ve)(325)](i,{month:n(323),day:n(316)})+", "+s[n(324)](i,{hour:n(316),minute:n(316)});var i,s,n})),this[r(199)](r(186),!1),this[r(199)](r(201),!1),this[r(199)](r(162),!1),this[r(199)](r(209),!1),this[r(199)](r(188),!1),this[r(160)]=new xe(e,pt.createLabeledInputText),this[r(160)][r(205)][r(174)]({attributes:{maxlength:r(176)}}),this[r(160)][r(205)][r(169)](r(166)).to(this,r(190),(t=>t||this[r(177)])),this[r(160)][r(169)](r(188)).to(this,r(186),this,r(188),((t,e)=>t&&e)),this[r(194)]=s&&s[r(210)]?function(e,i){const s=Fe,n=e[s(352)],r=e[s(360)],o=(0,pt.createDropdown)(r);o[s(364)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(360)],n={"Compare against selected":X(s,i(332)),"Name this revision":X(s,i(365)),"Restore this revision":X(s,i(327))};return e[i(326)]((t=>{const e=i,s=n[t[e(344)]];return s&&s!==t[e(344)]&&(t[e(344)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(342),model:new pt.ViewModel({label:t[n(344)],class:t[n(356)],withText:!0,role:n(349),_action:t[n(320)]})};i[n(363)][n(335)](n(351)).to(e,n(324),(i=>n(350)!=typeof t[n(351)]||!i||t[n(351)](e))),o[n(322)](i)}return o}(e,i);return e[s(335)](s(324)).to(o,s(333)),o[s(319)][s(343)]({label:X(r,s(347)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(361)]({attributes:{class:[s(328),n.if(s(324),s(316))]},on:{click:n.to((t=>t[s(355)]()))}}),o.on(s(357),(t=>{const i=s;e[i(336)]&&i(350)==typeof t[i(346)][i(321)]&&t[i(346)][i(321)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(358)}),o[s(359)](e,s(334),((t,n,r)=>{const a=s;if(r)for(const t of o[a(354)][a(338)]){const s=t[a(323)][a(330)],n=i[a(339)]((t=>t[a(320)]===s[a(321)]))[a(317)];t[a(317)]=void 0===n||n(e)}})),o}(this,s):"",this[r(194)]&&this[r(194)][r(169)](r(188)).to(this),this[r(189)]({tag:r(157),attributes:{class:["ck",r(208),r(215),o.if(r(181),r(219))]},children:[{tag:r(157),attributes:{class:["ck",r(208),r(175),o.if(r(188),r(221),(t=>!t)),o.if(r(186),r(195)),o.if(r(201),r(171)),o.if(r(162),r(203))]},children:[this[r(160)],{tag:r(200),attributes:{class:["ck",r(206)]},children:[{text:o.to(r(177))}]},{tag:r(157),attributes:{class:["ck",r(213)]},children:[{tag:"ul",attributes:{class:["ck",r(191)]},children:a}]},this[r(194)]],on:{click:o.to((t=>{const e=r;t[e(216)][e(187)](e(222))||this[e(209)]&&this[e(188)]&&this[e(198)](e(163),{id:this.id})}))}}]})}[ze(185)](){const t=ze;super[t(185)]();const e=this[t(160)][t(205)][t(182)];this[t(161)](e,t(178),(()=>{const i=t;this[i(193)]&&!e[i(166)]||this[i(198)](i(183),{id:this.id,name:e[i(166)]}),e[i(166)]||(e[i(166)]=this[i(190)]?this[i(190)]:this[i(177)])}))}[ze(163)](){this[ze(186)]=!0}[ze(179)](){this[ze(186)]=!1}[ze(170)](){this[ze(201)]=!0}[ze(220)](){this[ze(201)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let xi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},xi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,xi[s]||(xi[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"})),xi[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=Ti[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Di={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.DateTimeFormat(t,e),Di[i]=s),s}let Ei={};let Mi={};let Ci=null;let Fi={};function ji(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=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ds(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Di={},Ei={},Mi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ji(this,t,Qs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return ji(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:xs()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function xs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ds(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(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?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ds(i,2)}:${Ds(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ds(i,2)}${Ds(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ds(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Vs(s)}function xn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ms(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Dn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),xn,Tn,Nn),$n=mn(wn,xn,Tn,Nn),Bn=mn(_n,xn,Tn,Nn),Yn=mn(xn,Tn,Nn);const Gn=mn(xn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(xn,Tn,Nn);const Xn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Dn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:xs()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function xr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=xr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Dr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(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 Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ds(t.c.year,i?6:4),e?(s+="-",s+=Ds(t.c.month),s+="-",s+=Ds(t.c.day)):(s+=Ds(t.c.month),s+=Ds(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Ds(t.c.hour);return e?(o+=":",o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ds(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ds(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ds(Math.trunc(-t.o/60)),o+=":",o+=Ds(Math.trunc(-t.o%60))):(o+="+",o+=Ds(Math.trunc(t.o/60)),o+=":",o+=Ds(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Vr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Dr||t>Dr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return xr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["toJSDate","year","fromJSDate","day","903GCoaeQ","28330GJepxS","startOf","hasSame","setLocale","minus","100488YGezmv","monthLong","495VJydEx","11682cUxmsi","413346qYkUke","month","919292OwImqT","weekdayLong","local","12472bXUZOr","toRelativeCalendar","week","462726ixHiGj","520CWvczN"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=103]})(t,e)}function oo(t,e){const i=ro,s=io[i(105)](t)[i(111)](e),n=io[i(121)](),r=n[i(112)]({days:1})[i(109)](i(106));let o,a;return s[i(110)](n,i(106))?(o=s[i(109)](i(106))[i(103)](),a=s[i(123)]()):s[i(110)](r,i(106))?(o=r[i(103)](),a=s[i(123)]()):s[i(110)](n,i(124))?(o=s[i(109)](i(124))[i(103)](),a=s[i(120)]||""):s[i(110)](n,i(104))?(o=s[i(109)](i(118))[i(103)](),a=s[i(114)]||""):(o=s[i(109)](i(104))[i(103)](),a=String(s[i(104)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(118358===parseInt(e(113))/1+-parseInt(e(125))/2+-parseInt(e(117))/3+parseInt(e(119))/4+-parseInt(e(126))/5*(-parseInt(e(116))/6)+-parseInt(e(107))/7*(parseInt(e(122))/8)+parseInt(e(115))/9*(parseInt(e(108))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["214CPNDuy","setTemplate","3410322PHGTgg","1279730KuOqwP","4471784JXBayZ","setName","29574545tEVMci","_requireRevisionName","find","startDate","3807704wqwpaB","span","uiLanguage","localizedPeriodName","select","locale","ck-revision-history-sidebar__time-period","90eJjHsq","add","7jSWcka","addRevision","remove","delegate","5dWiOBZ","removeRevision","983728CzAoKl","createCollection","ck-revision-history-sidebar__time-period__revisions","revisionViews","30687PGzVjP","ck-revision-history-sidebar__time-period__label","_revisionActions","div"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=286]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(844800===parseInt(e(315))/1+parseInt(e(290))/2*(parseInt(e(286))/3)+-parseInt(e(300))/4+-parseInt(e(313))/5*(-parseInt(e(292))/6)+parseInt(e(309))/7*(parseInt(e(294))/8)+parseInt(e(307))/9*(parseInt(e(293))/10)+-parseInt(e(296))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(299)];[uo(318)];[uo(288)];[uo(297)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(305)][n(302)])[n(303)];this[n(299)]=e,this[n(318)]=this[n(316)](),this[n(288)]=i,this[n(297)]=s,this[n(318)][n(312)](n(304)).to(this),this[n(318)][n(312)](n(295)).to(this),this[n(291)]({tag:n(289),attributes:{class:["ck",n(306)]},children:[{tag:n(301),attributes:{class:["ck",n(287)]},children:[{text:r}]},{tag:n(289),attributes:{class:["ck",n(317)]},children:this[n(318)]}]})}[uo(310)](t){const e=uo,i=new Ze(this[e(305)],t,this[e(288)],this[e(297)]);this[e(318)][e(308)](i)}[uo(314)](t){const e=uo,i=this[e(318)][e(298)]((e=>e.id===t.id));this[e(318)][e(311)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["span","2774558KFsJzM","div","527054mTMzmu","setTemplate","587715YTErCr","28pQtZcR","1897GlAvQH","4032762ZhLQXP","Revision history","ck-revision-history-sidebar__header","content","15305319BDQQwf","3161304MWFoNj","ck-reset_all","544iQuABK","ck-revision-history-sidebar__header__label"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=223]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(816507===parseInt(e(234))/1+-parseInt(e(232))/2+parseInt(e(239))/3+parseInt(e(237))/4*(-parseInt(e(236))/5)+-parseInt(e(227))/6+-parseInt(e(238))/7*(parseInt(e(229))/8)+parseInt(e(226))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(225)]=mt.IconHistory,this[e(235)]({tag:e(233),attributes:{class:["ck",e(228),e(224)]},children:[i,{tag:e(231),attributes:{class:["ck",e(230)]},children:[X(t,e(223))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["revisionViews","bindTemplate","set","ck-revision-history-sidebar__timeline","render","createdAt","_removeRevision","revisionSetName","_addRevision","map","deselect","timePeriodViews","highlight","find","fire","_requireRevisionName","32FxmggV","ck-disabled","ck-rounded-corners","add","locale","3284170TGPJSv","addRevision","delegate","select","get","unhighlight","div","selectRevision","23404tDvpZf","startDate","isEnabled","removeRevision","_revisionActions","55BYeqin","ck-reset","_getTimePeriodViewByStartDate","some","highlightRevisions","uiLanguage","7XiDCQG","flat","24277JdemXG","_revisions","32NOgzCD","createCollection","6159915jyUgyn","setTemplate","2607486dZMlKr","remove","4092870IiXNVK","getTime","setName","1904481HsoBmu","revisionSelected","ck-revision-history-sidebar"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=137]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(643600===parseInt(e(174))/1*(parseInt(e(176))/2)+-parseInt(e(180))/3+parseInt(e(161))/4+parseInt(e(178))/5+-parseInt(e(182))/6*(-parseInt(e(172))/7)+-parseInt(e(148))/8*(-parseInt(e(185))/9)+parseInt(e(153))/10*(-parseInt(e(166))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(143)];[wo(175)];[wo(165)];[wo(147)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(189)];this[n(143)]=this[n(177)](),this[n(143)][n(155)](n(156)).to(this),this[n(143)][n(155)](n(184)).to(this),this[n(175)]=e,this[n(165)]=i,this[n(147)]=s,this.on(n(156),((t,e)=>{const i=n;this[i(146)](i(186),e)})),this.on(n(184),((t,e)=>{const i=n;this[i(146)](i(139),e)})),this[n(190)](n(163),!1),this[n(179)]({tag:n(159),attributes:{class:["ck",n(167),n(150),n(187)]},children:[new yo(t),{tag:n(159),attributes:{class:["ck",n(191),r.if(n(163),n(149),(t=>!t))]},children:this[n(143)]}]})}[wo(192)](){const t=wo;super[t(192)]();for(const e of this[t(175)])this[t(140)](e);this[t(175)].on(t(151),((e,i)=>{this[t(140)](i)})),this[t(175)].on(t(181),((e,i)=>{this[t(138)](i)}))}get[wo(188)](){const t=wo;return this[t(143)][t(141)]((e=>e[t(188)][t(141)]((t=>t))))[t(173)]()}[wo(160)](t){const e=wo;for(const i of this[e(188)])t&&t.id===i.id?i[e(156)]():i[e(142)]()}[wo(170)](t){const e=wo;for(const i of this[e(188)])t[e(169)]((({id:t})=>t===i.id))?i[e(144)]():i[e(158)]()}[wo(140)](t){const e=wo,i=oo(t[e(137)],this[e(152)][e(171)])[e(162)];let s=this[e(143)][e(157)](0);s&&s[e(162)][e(183)]()===i[e(183)]()||(s=new fo(this[e(152)],i,this[e(165)],this[e(147)]),this[e(143)][e(151)](s)),s[e(154)](t)}[wo(138)](t){const e=wo,i=oo(t[e(137)],this[e(152)][e(171)])[e(162)];this[e(168)](i)[e(164)](t)}[wo(168)](t){const e=wo;return this[e(143)][e(145)]((i=>i[e(162)][e(183)]()===t[e(183)]()))}}const Oo=To;function xo(){const t=["requires","fieldView","config","1224474AcviXL","render","focus","isPremiumPlugin","536DMxwFX","RevisionsSidebar","revisionHistory.revisionActions","isVisible","getRevisionsInDiff","timePeriodViews","repository","3CEvArZ","_revisions","11723184mRlCGU","setName","_sidebarView","revisionHistory.requireRevisionName","Name this revision","nameRevision","getRevision","highlightRevisions","restoreRevisionCallback","190607dDEjnz","2945020YmTHwY","add","_handleRevisionSetName","bind","init","locale","revisionSetName","name","selectRevision","_revisionViewer","1787580ErQYpz","_handleEditorDataReady","availableRevisionActions","get","restoreRevision","pluginName","plugins","ready","appendChild","data","defaultRevisionActions","_createRevisionActions","isEnabled","action","remove","revisionHistory","_handleDiffChange","listenTo","revisionSelected","assign","isReady","isSelected","select","isOfficialPlugin","change:diff","157398fhIkrJ","compareAgainstSelected","_handleRevisionSelected","diff","compare","element","getLaterVisibleRevision","length","revisionViews","map","revisionHistory.viewerSidebarContainer","string","_revisionsRepository","destroy","40705xpJJKp","editor","newRevisionId","Restore this revision","getEarlierVisibleRevision","getIndex","Compare against selected"];return(xo=function(){return t})()}function To(t,e){const i=xo();return(To=function(t,e){return i[t-=227]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(324935===-parseInt(e(304))/1+parseInt(e(282))/2+parseInt(e(293))/3*(-parseInt(e(233))/4)+-parseInt(e(305))/5+parseInt(e(258))/6+parseInt(e(272))/7*(-parseInt(e(286))/8)+parseInt(e(295))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(232)];[Oo(270)];[Oo(297)];static[Oo(243)]=[Oo(259),Oo(237),Oo(300)];static[Oo(235)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(278),action:({plugins:e},i)=>{const s=t,n=e[s(236)](ee),r=n[s(292)];let o=n[s(261)][s(274)],a=i.id;r[s(277)](o)>r[s(277)](a)&&([o,a]=[a,o]),n[s(262)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(236)](ee);return!(n[s(292)][s(290)](n[s(261)])[s(265)]>2||i[s(254)])}},restoreRevision:{name:t(275),action:(e,{id:i})=>{const s=t;e[s(281)][s(236)](s(248))[s(303)](i)},isVisible:({plugins:e},i)=>!!e[t(236)](ee)[t(292)][t(264)](i.id)},nameRevision:{name:t(299),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(236)](ee),o=r[n(292)][n(276)](i);r[n(262)](i,o),s[n(284)](),s[n(280)][n(255)]()}}}}();static get[Oo(238)](){return Oo(287)}static get[Oo(256)](){return!0}static get[Oo(285)](){return!0}static get[Oo(279)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(232)]=t[e(239)][e(236)](ee),this[e(270)]=this[e(232)][e(292)],this[e(297)]=null}[Oo(227)](){const t=Oo,e=this[t(270)][t(294)],i=this[t(244)](),s=this[t(273)][t(281)][t(236)](t(268));this[t(297)]=new So(this[t(273)][t(228)],e,i,this[t(273)][t(281)][t(236)](t(298))),this[t(297)].on(t(251),this[t(260)][t(308)](this)),this[t(297)].on(t(229),this[t(307)][t(308)](this)),this[t(297)][t(308)](t(245)).to(this[t(232)]),this[t(297)][t(291)].on(t(306),((e,i)=>{const s=t;i[s(266)].on(s(306),((t,e)=>{const i=s;e[i(308)](i(245),i(253)).to(this[i(232)])}))})),this[t(297)][t(283)](),this[t(250)](this[t(273)][t(242)],t(240),this[t(234)][t(308)](this)),this[t(250)](this[t(232)],t(257),this[t(249)][t(308)](this)),s[t(241)](this[t(297)][t(263)])}[Oo(271)](){const t=Oo;this[t(297)][t(263)][t(247)](),this[t(297)][t(271)]()}[Oo(234)](){const t=Oo,e=this[t(270)][t(301)](0);if(e){const i=this[t(270)][t(276)](e.id);this[t(232)][t(262)](e,i)}}[Oo(260)](t,e){const i=Oo,s=this[i(270)][i(301)](e.id),n=this[i(270)][i(276)](s.id);this[i(232)][i(262)](s,n)}[Oo(307)](t,e){const i=Oo;this[i(270)][i(301)](e.id)[i(296)](e[i(230)])}[Oo(249)](t,e,i){const s=Oo,n=this[s(270)][s(290)](i);n[s(265)]>2?(this[s(297)][s(302)](n),this[s(297)][s(231)](null)):(this[s(297)][s(302)]([]),this[s(297)][s(231)](n[0]))}[Oo(244)](){const t=Oo,e=this[t(273)],i=No[t(235)],s=e[t(281)][t(236)](t(288))||No[t(243)];if(s[t(265)])return s[t(267)]((s=>{const n=t,r=n(269)==typeof s?Object[n(252)]({},i[s]):s;return r[n(246)]=r[n(246)][n(308)](this,e),r[n(289)]&&(r[n(289)]=r[n(289)][n(308)](this,e)),r}))}}const Ro=No,Ao=Do;function Do(t,e){const i=Vo();return(Do=function(t,e){return i[t-=288]})(t,e)}function Vo(){const t=["document","config","focusTracker","destroy","componentFactory","isFocused","detachDomRoot","viewportTopOffset","limiterElement","toolbar","1404858TsCZHt","5599290uMXFeG","editing","1993077aJnCFk","element","replace","238436zBVIjp","render","1618449nHRNaQ","fire","attachDomRoot","restore","view","get","15WEFhvy","_toolbarConfig","_view","isActive","_initToolbar","viewportOffset","editable","name","rootName","setEditableElement","ready","bind","1008383cQYaLZ","editor","init","_elementReplacer","6317480skYQLW","getRoot","addToolbar","fillFromConfig","stickyPanel"];return(Vo=function(){return t})()}!function(t){const e=Do,i=t();for(;;)try{if(624067===-parseInt(e(289))/1+-parseInt(e(308))/2+parseInt(e(311))/3+parseInt(e(314))/4*(parseInt(e(322))/5)+parseInt(e(309))/6+-parseInt(e(316))/7+parseInt(e(293))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends pt.EditorUI{[Ao(324)];[Ao(323)];[Ao(292)];get[Ao(320)](){return this[Ao(324)]}constructor(e,i){const s=Ao;super(e),this[s(324)]=i,this[s(323)]=(0,pt.normalizeToolbarConfig)(e[s(299)][s(321)](s(307))),this[s(292)]=new t.ElementReplacer}get[Ao(312)](){const t=Ao;return this[t(320)][t(312)]}[Ao(291)](t){const e=Ao,i=this[e(290)],s=this[e(320)],n=i[e(310)][e(320)],r=s[e(328)],o=n[e(298)][e(294)]();r[e(329)]=o[e(330)],s[e(315)]();const a=r[e(312)];this[e(331)](r[e(329)],a),s[e(328)][e(288)](e(303)).to(this[e(300)]),n[e(318)](a),this[e(292)][e(313)](t,this[e(312)]),this[e(326)](),this[e(317)](e(332))}[Ao(301)](){const t=Ao;super[t(301)]();const e=this[t(320)],i=this[t(290)][t(310)][t(320)];this[t(292)][t(319)](),i[t(304)](e[t(328)][t(329)]),e[t(301)]()}[Ao(326)](){const t=Ao,e=this[t(320)];e[t(297)][t(288)](t(325)).to(this[t(300)],t(303)),e[t(297)][t(306)]=e[t(312)],e[t(297)][t(288)](t(305)).to(this,t(327),(({top:t})=>t)),e[t(307)][t(296)](this[t(323)],this[t(302)]),this[t(295)](e[t(307)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;var Fo=Lo;function jo(){var t=["toolbar","2495300frskCS","shouldToolbarGroupWhenFull","83370GbIfae","963AYCvRk","render","4739qhWKsp","1319289hKTIYL","37000OmGwTY","content","11418900JQSDnJ","_editable","add","stickyPanel","4446813DDGCWI","top","editable","main","68uIjUbq","260OupQoz"];return(jo=function(){return t})()}function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=265]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(365596===-parseInt(e(273))/1*(parseInt(e(265))/2)+parseInt(e(274))/3+-parseInt(e(268))/4+parseInt(e(266))/5*(parseInt(e(270))/6)+parseInt(e(281))/7+parseInt(e(275))/8*(parseInt(e(271))/9)+-parseInt(e(277))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(278)];[Fo(280)];[Fo(267)];get[Fo(283)](){return this[Fo(278)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(280)]=new pt.StickyPanelView(t),this[s(267)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(269)]}),this[s(278)]=new pt.InlineEditableUIView(t,e)}[Fo(272)](){var t=Fo;super[t(272)](),this[t(280)][t(276)][t(279)](this[t(267)]),this[t(282)][t(279)](this[t(280)]),this[t(284)][t(279)](this[t(283)])}}const zo=Uo;function Wo(){const t=["view","editing","initPlugins","664574bebgvP","updateSourceElement","14993270lWRqVR","sourceElement","document","137424TuHfut","locale","init","2384XAfDXy","2FcNNRb","data","_ui","453970wUMIeL","initialData","config","20628IjfehU","destroy","create","get","1266861AWdvRY","createRoot","20aNYaRs","3209898TJfHkx","ready","model","fire"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=412]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(371195===parseInt(e(426))/1+-parseInt(e(435))/2*(-parseInt(e(416))/3)+parseInt(e(418))/4*(-parseInt(e(438))/5)+parseInt(e(419))/6+parseInt(e(431))/7+-parseInt(e(434))/8*(-parseInt(e(412))/9)+-parseInt(e(428))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[zo(437)];get ui(){return this[zo(437)]}constructor(t,e){const i=zo;super(e),this[i(429)]=t,this[i(421)][i(430)][i(417)]();const s=new Po(this[i(432)],this[i(424)][i(423)],{shouldToolbarGroupWhenFull:!0});this[i(437)]=new Eo(this,s)}[zo(413)](){const t=zo;return this[t(427)](),this.ui[t(413)](),super[t(413)]()}static async[zo(414)](t,e){const i=zo,s=new this(t,e);return await s[i(425)](),await s.ui[i(433)](t),await s[i(436)][i(433)](s[i(440)][i(415)](i(439))||""),s[i(422)](i(420)),s}}const Ho=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=265]})(t,e)}function $o(){const t=["name","isReadOnly","exitToEditing","has","refreshVisibility","error","toLocaleDateString","Autosave","locale","_cleanUp","destroy","revisionHistory.viewerEditorElement","fromCharCode","isEnabled","12502984aFxeau","enableReadOnlyMode","save","numeric","showRevisionViewerCallback","update","loadRevisionData","refreshPositioning","createRangeIn","removeSelectionAttribute","restrictedEditingException","markers","revisionHistory.closeRevisionViewerCallback","Dialog","editor","init","adapter","push","revisionHistory.showRevisionViewerCallback","_viewerEditor","keys","toJSON","setAttribute","insert","RevisionHistory","2366298DWgxjw","revisionHistory.editorContainer","isAttached","isReady","remove","_closeRevisionViewer","pluginName","toolbar","addRoot","getAttributeKeys","_recalculatePageBreaks","define","view","revisionHistory","14604xoiLDT","DocumentOutline","revision-history-viewer-opened","getRevision","indexOf","addRevisionData","result","removeMarker","toVersion","plugins","closeRevisionViewerCallback","setSelection","toLocaleTimeString","then","model","requires","addUser","repository","data","revisionHistory.requireRevisionName","change","RevisionHistoryUI","style","none","isOpen","restoreRevision","catch","removeAttribute","_update","set","selection","PaginationLookup","creator","translations","RevisionViewer","4951583BAtmoU","rootName","uiLanguage","getUser","element","RevisionViewerIntegration","bind","getMarkersGroup","isPremiumPlugin","2578200VxKqZG","RevisionHistoryUtils","getRevisionDocumentData","disableReadOnlyMode","_restoreRevision","_getRevisionViewerEditorConfig","Users","from","DocumentOutlineUI","getRevisionRootsAttributes","config","_enhanceShowRevisionViewerCallback","document","revisionHistory.viewerContainer","RevisionsRepository","long","485bIATKx","join","users","create","commands","9nvNiLj","changesNavigation","getRevisions","block","Annotations","913318xETwiC","revision-history-missing-configuration","_showRevisionViewer","createdAt","fromVersion","_enhanceCloseRevisionViewerCallback","isOfficialPlugin","end","includes","display","Restored","lazyRoots","879767qbdiKo","enqueueChange","detachRoot","hide","$graveyard","get","getRoot","revisionHistory.restoreRevisionCallback","RevisionTracker","parse","RestrictedEditingMode","roots","saveRevision","isAnonymous","map","isRevisionViewerOpen"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(553502===-parseInt(e(276))/1+-parseInt(e(415))/2+-parseInt(e(331))/3+parseInt(e(389))/4+parseInt(e(405))/5*(-parseInt(e(345))/6)+parseInt(e(380))/7+-parseInt(e(306))/8*(-parseInt(e(410))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Ho(366),Ho(286)];class Yo extends U.Plugin{[Ho(351)];static get[Ho(337)](){return Ho(385)}static get[Ho(270)](){return!0}static get[Ho(388)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(290)]((t=>String[e(304)](t)))[e(406)]("")}super(t),this[e(351)]=e(271),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Go extends U.Plugin{[Ho(325)];static get[Ho(337)](){return Ho(330)}static get[Ho(270)](){return!0}static get[Ho(388)](){return!0}static get[Ho(360)](){return[at,jt]}constructor(e){const i=Ho;if(super(e),!this[i(320)][i(399)][i(281)](i(344)))throw new t.CKEditorError(i(265),this);this[i(325)]=null,this[i(374)](i(291),!1),this[i(320)][i(399)][i(342)](i(324),(t=>this[i(266)]({...t,translations:this[i(320)][i(300)][i(378)]}))),this[i(320)][i(399)][i(342)](i(318),(t=>this[i(336)](t))),this[i(320)][i(399)][i(342)](i(283),(t=>this[i(393)](t))),this[i(320)][i(399)][i(342)](i(364),!1),this[i(400)](),this[i(269)]()}set[Ho(322)](t){const e=Ho;this[e(320)][e(354)][e(281)](e(284))[e(322)]=t}get[Ho(322)](){const t=Ho;return this[t(320)][t(354)][t(281)](t(284))[t(322)]}[Ho(350)](t){const e=Ho;return this[e(320)][e(354)][e(281)](e(284))[e(350)](t)}[Ho(348)](t){const e=Ho;return this[e(320)][e(354)][e(281)](e(403))[e(348)](t)}[Ho(412)](t){const e=Ho;return this[e(320)][e(354)][e(281)](e(403))[e(412)](t||{toJSON:!1})}[Ho(394)](){const e=Ho,i=this[e(320)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(354)][e(281)](e(284)),r=i[e(354)][e(281)](e(395))[e(407)];return s[e(338)]=[e(294),e(370),e(411)],delete s[e(275)],s[e(354)][e(323)](Yo,ee,be,class extends U.Plugin{static get[e(360)](){return[ee,e(395)]}[e(321)](){const s=e,o=this[s(320)][s(354)][s(281)](s(395));for(const t of r)t[s(289)]||o[s(383)](t.id)||o[s(361)](t);const a=n[s(362)][s(412)]();let c=null;const u=this[s(320)][s(354)][s(281)](s(379));u[s(322)]=n[s(322)],u[s(386)](s(305)).to(n),this[s(320)][s(409)][s(281)](s(370))[s(386)](s(305)).to(i,s(293),(t=>!t));for(const e of a){const i=null===e[s(377)];if(i&&e[s(353)]===e[s(268)])continue;const r=e[s(327)]();u[s(350)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(373)](r,o);else if(!o){const e=a[u(327)]();e.id=(0,t.uid)(),n[u(288)](e,a[u(353)])[u(358)]((t=>{c=t}))}}else e[u(373)](r,o)}))}}},Ro),s}[Ho(400)](){const t=Ho,e=this[t(320)][t(399)][t(281)](t(344))[t(310)];this[t(320)][t(399)][t(374)](t(324),(async()=>{const i=t;this[i(320)][i(307)](i(347));const s=this[i(320)][i(354)][i(281)](i(284));if(this[i(320)][i(354)][i(295)](i(299))){const t=this[i(320)][i(354)][i(281)](i(299));await t[i(308)]()}else await s[i(311)]();if(this[i(320)][i(354)][i(295)](i(376))&&this[i(320)][i(354)][i(281)](i(376))[i(341)](),this[i(320)][i(354)][i(295)](i(319))){const t=this[i(320)][i(354)][i(281)](i(319));t[i(369)]&&t[i(279)]()}const n=this[i(394)]();return e(n)[i(358)]((t=>{const e=i;return this[e(325)]=t,this[e(320)][e(354)][e(295)](e(414))&&this[e(320)][e(354)][e(281)](e(414))[e(296)](),this[e(320)][e(354)][e(295)](e(346))&&(this[e(320)][e(354)][e(281)](e(397))[e(343)][e(384)][e(367)][e(273)]=e(368)),t}))[i(371)]((t=>(console[i(297)](t),this[i(320)][i(392)](i(347)),null)))}))}[Ho(269)](){const t=Ho,e=this[t(320)][t(399)][t(281)](t(344))[t(355)];this[t(320)][t(399)][t(374)](t(318),(()=>(this[t(320)][t(354)][t(295)](t(376))&&this[t(320)][t(354)][t(281)](t(376))[t(341)](),this[t(320)][t(354)][t(295)](t(346))&&(this[t(320)][t(354)][t(281)](t(397))[t(343)][t(384)][t(367)][t(273)]=""),this[t(325)][t(354)][t(281)](t(379))[t(301)](),e(this[t(325)])[t(358)]((()=>{const e=t;if(this[e(320)][e(392)](e(347)),this[e(325)]=null,this[e(320)][e(354)][e(295)](e(414))){const t=this[e(320)][e(354)][e(281)](e(414));t[e(296)](),t[e(313)]()}})))))}[Ho(266)](t){const e=Ho,i=this[e(320)][e(399)][e(281)](e(332)),s=this[e(320)][e(399)][e(281)](e(402)),n=this[e(320)][e(399)][e(281)](e(303));return Zo[e(408)](n,t)[e(358)]((t=>(s[e(367)][e(273)]=e(413),i[e(367)][e(273)]=e(368),this[e(291)]=!0,t)))}[Ho(336)](t){const e=Ho,i=this[e(320)][e(399)][e(281)](e(332));return this[e(320)][e(399)][e(281)](e(402))[e(367)][e(273)]=e(368),i[e(367)][e(273)]="",this[e(291)]=!1,t[e(302)]()}async[Ho(393)](t){const e=Ho,i=this[e(320)],s=this[e(325)][e(354)][e(281)](e(379)),n=i[e(354)][e(281)](e(284)),r=i[e(354)][e(281)](e(390)),o=s[e(362)][e(348)](t);let a,c,u;try{await r[e(312)](o,this[e(322)]),a=r[e(391)](o),c=r[e(398)](o)}catch(t){return void console[e(297)](t)}i[e(359)][e(365)]((t=>{const s=e;for(const e of Array[s(396)](i[s(359)][s(317)][s(387)](s(316))))t[s(352)](e)})),s[e(334)]=!1,i[e(359)][e(277)]((t=>{const s=e;t[s(356)](null),t[s(315)](i[s(359)][s(401)][s(375)][s(340)]());const n=Object[s(326)](a);for(const e of i[s(359)][s(401)][s(287)])s(280)!=e[s(381)]&&e[s(333)]()&&!n[s(272)](e[s(381)])&&t[s(278)](e);for(const e of n){let n=i[s(359)][s(401)][s(282)](e);n&&n[s(333)]()||(n=t[s(339)](e));const r=c[e],o=Object[s(326)](r),u=a[e];for(const e of n[s(340)]())o[s(272)](e)||t[s(372)](e,n);for(const i of o)t[s(328)](i,c[e][i],n);t[s(335)](t[s(314)](n)),t[s(329)](i[s(363)][s(285)](u,n),n,0)}}));const l=X(i[e(300)],e(274));return u=o[e(292)]?-1==o[e(292)][e(349)](l)?l+": "+o[e(292)]:o[e(292)]:l+": "+o[e(267)][e(298)](i[e(300)][e(382)],{month:e(404),day:e(309)})+", "+o[e(267)][e(357)](i[e(300)][e(382)],{hour:e(309),minute:e(309)}),await n[e(288)]({name:u}),s[e(334)]=!0,i[e(399)][e(281)](e(344))[e(355)]()}}function Jo(t,e){var i=Ko();return(Jo=function(t,e){return i[t-=341]})(t,e)}function Ko(){var t=["6aOZfjY","444gUhaTJ","4194876Zjoaut","538289Aqvkox","64RDRsck","25965370vgewDS","18320vPqzUr","1451578fJeCLt","799137lmhKOA","5153430DUHOOz"];return(Ko=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(609101===-parseInt(e(343))/1+parseInt(e(347))/2+-parseInt(e(341))/3*(-parseInt(e(346))/4)+parseInt(e(349))/5+-parseInt(e(350))/6*(-parseInt(e(342))/7)+-parseInt(e(344))/8*(-parseInt(e(348))/9)+-parseInt(e(345))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ct,RevisionViewer:()=>te,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const M=/^(?:0|[1-9]\d*)$/;function D(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 V(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?V(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=195]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(417141===parseInt(e(207))/1*(-parseInt(e(208))/2)+-parseInt(e(215))/3*(parseInt(e(225))/4)+-parseInt(e(210))/5+parseInt(e(218))/6*(-parseInt(e(198))/7)+-parseInt(e(197))/8*(-parseInt(e(220))/9)+parseInt(e(204))/10+-parseInt(e(196))/11*(-parseInt(e(211))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[j(199)];[j(221)];[j(212)];[j(216)];[j(195)];[j(222)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(199)]=e[i(199)]||null,this[i(221)]=e[i(221)]||[],this[i(212)]=e[i(212)]||null,this[i(216)]=e[i(216)]||0,this[i(195)]=e[i(195)]||0,this[i(202)](i(209),e[i(209)]||""),this[i(202)](i(206),e[i(206)]||new Date),this[i(202)](i(205),e[i(205)]||{})}[j(223)](t){this[j(200)]({name:t})}[j(219)](t,e){const i=j,s=R(this[i(205)]);(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]=D(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(200)]({attributes:s})}[j(214)](t){const e=j,i=R(this[e(205)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&V(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(200)]({attributes:i})}[j(200)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(209),i(206),i(212),i(221),i(205),i(216),i(195),i(217)];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(221)]&&(n[i(213)]=n[i(221)][i(224)]((t=>t.id)),delete n[i(221)]),this[i(201)](i(200),n,e))}[j(203)](){const t=j;return{id:this.id,name:this[t(209)],creatorId:this[t(199)]?this[t(199)].id:null,authorsIds:this[t(221)][t(224)]((t=>t.id)),diffData:this[t(212)],createdAt:this[t(206)],attributes:this[t(205)],fromVersion:this[t(195)],toVersion:this[t(216)]}}}function W(){const t=["set","toJSON","6650550FBsTwR","attributes","createdAt","19778sutzPs","2wgPIZG","name","2833070aMjNCt","594336HLjzGE","diffData","authorsIds","removeAttribute","39uYBucX","toVersion","creatorId","3054924jdxCFj","setAttribute","27mOvodq","authors","model","setName","map","33604ovfhlt","fromVersion","143vnritr","834616QqgatX","7uedaFr","creator","_update","fire"];return(W=function(){return t})()}var U=i(782),Z=i(211),H=i(783);const q=B;function $(){const t=["createRevision","2345624byCwQl","createdAt","isNaN","4961mwOLXz","5GFpRYJ","isPremiumPlugin","25114908OPWpPx","later","RevisionsRepository","2421832fwkjty","getRevisions","creatorId","get","6qRxBzv","length","414573qNxgvH","newRevisionId","getIndex","getUser","getEarlierVisibleRevision","data","18uiwzTo","reverse","pluginName","href","fromCharCode","23560LLdvPf","plugins","oldRevisionId","Users","attributes","map","5018553ZtjJSB","earlier","push","toJSON","toVersion","184630AuMQQl","getRevisionsInDiff","getRevision","isOfficialPlugin","authorsIds","addRevision","getLaterVisibleRevision","_revisions","requires","8OmvPeB","getRevisionsIterator","from","add","diffData","editor","name","join","afterInit","fromVersion"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=301]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(552395===-parseInt(e(329))/1+parseInt(e(305))/2*(-parseInt(e(307))/3)+parseInt(e(349))/4*(parseInt(e(353))/5)+-parseInt(e(313))/6*(-parseInt(e(301))/7)+-parseInt(e(338))/8*(-parseInt(e(324))/9)+-parseInt(e(318))/10*(-parseInt(e(352))/11)+-parseInt(e(355))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(336)];static get[q(337)](){return[Z.Users]}static get[q(315)](){return q(357)}static get[q(332)](){return!0}static get[q(354)](){return!0}get[q(306)](){const t=q;return this[t(336)][t(306)]}constructor(e){const i=q;super(e),this[i(336)]=new t.Collection}[q(346)](){!async function(e){const i=k([100,97,115,53,83,112,106,111,66,52,76,122,69,103,82,105,101,72,98,117,75,85,90,49,81,121,68,73,48,102,109,114,120,74,67,108,55,116,79,87,77,50,57,78,70,107,110,80,71,88,86,54,56,51,113,104,118,84,65,99,119,89]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(351)](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([100]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(323)]((t=>String[e(317)](t)))[e(345)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1748476800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(316)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[q(348)](t){const e=q,i=this[e(343)][e(319)][e(304)](e(321));return new z({id:t.id,name:t[e(344)],creator:t[e(303)]?i[e(310)](t[e(303)]):null,diffData:t[e(342)]||t[e(312)],authors:t[e(333)][e(323)]((t=>i[e(310)](t))),createdAt:new Date(t[e(350)]),attributes:t[e(322)],fromVersion:t[e(347)],toVersion:t[e(328)]})}[q(334)](t,e=0){const i=q;this[i(336)][i(341)](t,e)}[q(331)](t){const e=q;return this[e(336)][e(304)](t)}[q(302)](t={toJSON:!1}){const e=q,i=Array[e(340)](this[e(336)]);return i[e(314)](),t[e(327)]?i[e(323)]((t=>t[e(327)]())):i}[q(309)](t){const e=q;return this[e(336)][e(309)](t)}[q(311)](t){const e=q,[,i]=this[e(339)](t,{direction:e(325)});return i}[q(335)](t){const e=q,[,i]=this[e(339)](t,{direction:e(356)});return i}[q(330)](t){const e=q,i=[];for(const s of this[e(339)](t[e(308)]))if(i[e(326)](s),s.id===t[e(320)])break;return i}*[q(339)](t,{direction:e=q(325),filter:i=()=>!0}={}){const s=q,n=s(325)===e?1:-1;let r=this[s(336)][s(304)](t),o=this[s(309)](r);for(yield r;r;){if(o+=n,r=this[s(331)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["insertions","map","domConverter","viewChildrenToDom","1463316seWIRq","4811859nrcVIc","attachChange","fillerOffset","children","type","attributesAfter","_appendChild","collaboration.channelId","_typeCharToViewClass","config","133518PGlWmx","attributes","startsWith","innerHTML","_getTypeCharForViewElement","createElement","_removeRevisionMarkers","view","name","parse","editing","revision-start","diffData","84fPmvUK","length","toModel","RevisionHistoryUtils","constructor","render","revision-end","toData","processor","_makeModelFromViewString","11589NSorav","childNodes","customProperties","pluginName","isPremiumPlugin","78338cxUziG","div","_getViewFromDiffObj","document","getRevisionRootsAttributes","16xhiJkn","forEach","getRevisionDocumentData","106633wEbeNs","data-revision-","1167945vRVInf","editor","useFillerType","get","data","from","domChildrenToView","append","_viewClassToTypeChar","htmlProcessor","isOfficialPlugin","loadRevisionData","getRevision","default","isAttached","string","marked","filter","_setCustomProperty","getFillerOffset","domDocument"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=271]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(129559===parseInt(e(277))/1+-parseInt(e(343))/2+parseInt(e(338))/3*(parseInt(e(328))/4)+parseInt(e(279))/5+parseInt(e(304))/6+parseInt(e(315))/7*(parseInt(e(274))/8)+-parseInt(e(305))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Q extends U.Plugin{static get[J(341)](){return J(331)}static get[J(289)](){return!0}static get[J(342)](){return!0}[J(287)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(313)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(290)](t,e){const i=J;if(t[i(327)]||!e)return;const s=this[i(280)][i(314)][i(282)](i(312)),n=await e[i(291)]({channelId:s,revisionId:t.id});t[i(327)]=n[i(327)]}[J(276)](t){const e=J,i={};for(const s in t[e(327)]){if(t[e(327)][s][e(306)]&&!t[e(327)][s][e(306)][e(293)])continue;const n=this[e(321)](JSON[e(324)](t[e(327)][s][e(300)])),r=this[e(280)][e(325)][e(322)][e(272)],o=new H.ViewDocumentFragment(r,n[e(301)]((t=>this[e(271)](t,!1))));this[e(280)][e(283)][e(336)][e(281)](e(295)),i[s]=this[e(280)][e(283)][e(336)][e(335)](o),this[e(280)][e(283)][e(336)][e(281)](e(292))}return i}[J(273)](t){const e=J,i={};for(const s in t[e(327)])t[e(327)][s][e(306)]&&!t[e(327)][s][e(306)][e(293)]||(i[s]=t[e(327)][s][e(310)]||{});return i}[J(319)](t){const e=J;return this[e(287)][e(282)](t[e(332)])}[J(271)](t,e){const i=J,s=this[i(280)][i(325)][i(322)][i(272)];if(i(294)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(309)]||"r"==t[i(309)]?[]:t[i(308)][i(301)]((t=>this[i(271)](t,e)));const o=this[i(313)][i(282)](t[i(309)])||H.ViewElement,a=this[i(280)][i(283)][i(288)][i(302)];if(n=new o(s,t[i(323)],t[i(316)],r),"u"==t[i(309)]&&t[i(308)][0]){const r=t[i(308)][0];if(n[i(333)]=function(t){const e=i,s=t[e(320)](e(344));return s[e(318)]=r,s[e(339)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(311)](n);const e=Array[i(284)](a[i(303)](t,{bind:!1})),r=a[i(299)][i(320)](i(344));r[i(286)](...e),n=Array[i(284)](a[i(285)](r))[0]}}else if("r"==t[i(309)]&&t[i(308)][0]){const r=t[i(308)][0];if(n[i(333)]=function(t){t[i(318)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(311)](n);const e=Array[i(284)](a[i(303)](t,{bind:!1})),r=a[i(299)][i(320)](i(344));r[i(286)](...e);const o=Array[i(284)](a[i(285)](r));o[i(329)]>1?n[i(311)](o):n=o[0]}}if(t[i(340)])for(const[e,s]of t[i(340)])n[i(297)](e,s);const c=void 0===t[i(307)]?null:t[i(307)];return null!==c&&(n[i(298)]=()=>c),n}}[J(337)](t){const e=J,i=JSON[e(324)](t),s=this[e(280)][e(325)][e(322)][e(272)],n=new H.ViewDocumentFragment(s,i[e(301)]((t=>this[e(271)](t,!0))));return this[e(280)][e(283)][e(330)](n)}[J(321)](t){const e=J;return(t=t[e(296)]((t=>!t[e(323)]||e(326)!==t[e(323)]&&e(334)!==t[e(323)])))[e(275)]((t=>{const i=e;i(294)!=typeof t&&(t[i(308)]=this[i(321)](t[i(308)]),t[i(316)]=t[i(316)][i(296)]((t=>!t[0][i(317)](i(278)))))})),t}}function X(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(M=s)||Number.isNaN(R)&&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 R,M;const D=(s=s??new Map).get(t),E=s.get(i);if(null!=D&&null!=E)return D===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=354]})(t,e)}function at(){const t=["howMany","11511yetrNL","paragraph","insertion","dataToMarker","getRevisionRootsAttributes","getUser","element","reinsert","getChildren","_setConversion","domDocument","_startingRevisionId","upcast","authors","slice","fromEntries","authorsIds","createPositionAt","_startingVersion","_createCurrentRevision","_makeModelFromViewString","getWalker","licenseKey","document","_removePendingAction","$comment","_getPreviousFrom","root","revisionHistoryLicenseKeyNotAllowed","addRootAttribute","_initialRevisionId","_utils","_createFromRanges","_idsRoots","bind","loadState","insertionPosition","_loadedStateData","RevisionsRepository","addRevision","from","removeRootAttribute","expired","_getTypeCharForViewElement","dataDowncast","diffData","deletions","_baseIdsRoots","markers","trialLimit","markerToData","values","insertions","shift","reverse","Empty document","setRevisionData","_touchedRoots","has","ready","111244QJPZWV","deletion","_diffRoots","init","find","isAttached","afterInit","324nBCfsL","getOperations","89484EkyDap","getRootNames","_getVidAttributeName","_touchedMarkers","marker","createPositionAfter","keys","_fixOperation","getLatestVersion","_handleOperation","isEnabled","some","revisionHistoryLicenseKeyInvalid","_fixRange","getCustomProperties","$text","finally","getOperation","_fixPosition","isAdd","plugins","usageLimit","_reset","_clone","insert","elementStart","_revisionDataBuilder","_appendChild","add","_handleRootOperation","domConverter","previousPosition","children","splitPosition","799740FDTbFE","attachChange","attributesAfter","trim","revision:","sourcePosition","createdAt","toVersion","3072655DrYWWf","rootName","_markers","_licenseKeyCheckInterval","updateRevisions","roots","getAttributes","_cloneOperation","getRoot","featureNotAllowed","split","elementEnd","path","_isPendingUpdate","vid_start","resolve","changeRootAttribute","_update","getAncestors","_handleMarkerOperation","childCount","delete","_diffRootsAttributes","_setAttribute","revisionHistory.resumeUnsavedRevision","createRangeIn","_source","clear","createElement","key","getFillerOffset","_markChanges","RevisionHistory","outerHTML","customProperties","evaluationLimit","collaboration.channelId","position","getNodeByPath","_handleSplitOperation","_prepareViewToSave","then","push","_saveMetaData","end","uiElement","createPositionBefore","_handleRootAttributeOperation","120mMOEPZ","revisionHistoryLicenseKeyDomainLimit","targetPosition","stickiness","requires","sendBufferedUpdates","documentFragment","locale","isReady","_savedMetaData","adapter","revisionHistoryLicenseKeyUsageLimit","sort","editor","_transformMarkers","nodes","creator","getCurrentRevisionId","_isInit","newRange","getRevisionDocumentData","includes","for","max","296zykoTa","filter","createRevision","_copyMarkers","_baseRootsAttributes","RevisionHistoryUtils","map","clone","_getFromVersion","_pendingAction","offset","_handleInsertOperation","move","conversion","_insertChild","fillerOffset","_bufferedUpdates","getTransformedByOperation","htmlProcessor","affectsData","detachRoot","getIndex","_authorId","revisionHistoryLicenseKeyTrialLimit","remove","_operations","_applyOperations","_execute","currentRevision","size","isEqual","set","2oQmyLD","name","model","PENDING_ACTION_REVISION_HISTORY","render","createRange","revisionHistoryLicenseKeyExpired","nodeAfter","isOfficialPlugin","start","fromVersion","createPositionFromPath","invalid","Users","creatorId","get","PendingActions","_replaceEditorDataWithRevisionData","hasContent","revisionHistoryLicenseKeyEvaluationLimit","loadRevisionData","source","_handleMoveOperation","userId","destroy","text","_getBaseVids","_handleMergeOperation","_isAttached","pluginName","merge","saveRevision","_showLicenseError","update","define","parent","stringify","_addPendingAction","history","initial","_calculateMetaData","revisionHistoryLicenseKeyValid","_generateTape","rootsAttributes","_getState","newValue","$graveyard","_revisionId","tableCell","revision","Initial revision","startsWith","RealTimeCollaborationClient","range","NEGATIVE_INFINITY","config","_lastTo","_makeIdsRoot","repository","addRoot","_createInitialRevision","_touched","_continueCurrentRevision","addRevisionData","RevisionTracker","attributesBefore","type","_bufferUpdate","offsetSize","getMovedRangeStart","_removeMetaData","baseVersion","toView","setSource","version","vid_end","item","getData","rawElement","innerHTML","oldRange","getChild","editor-initial-data-replaced-with-revision-data","initialData","_loadState","keepParagraph","_baseRoots","getRevisions","getTime","length","data","buildRevisionData","_processRootBeforeSave","string","getAttribute","_getViewJson","isPremiumPlugin","graveyardPosition","8CrTUVG","getRange","getRevision","1125402CqLweo","7241XPMCTA","_lastFrom","_makeRevision","_findInsertionIndex","662453YhonWD","reInit","vid","domainLimit"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(455489===-parseInt(e(595))/1*(parseInt(e(381))/2)+parseInt(e(482))/3*(-parseInt(e(479))/4)+-parseInt(e(603))/5+parseInt(e(559))/6*(-parseInt(e(552))/7)+-parseInt(e(675))/8*(-parseInt(e(492))/9)+parseInt(e(651))/10*(-parseInt(e(487))/11)+-parseInt(e(561))/12*(-parseInt(e(483))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(514)];[rt(606)];[rt(377)]=null;[rt(439)];[rt(661)]=null;[rt(587)];[rt(629)];[rt(522)];[rt(365)];[rt(523)];[rt(358)];[rt(443)];[rt(510)];[rt(529)];static get[rt(410)](){return rt(445)}static get[rt(389)](){return!0}static get[rt(477)](){return!0}static get[rt(655)](){return[Z.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(439)]=this[i(664)][i(581)][i(396)](i(530)),this[i(523)]=this[i(664)][i(581)][i(396)](i(354)),this[i(587)]=new ut(this[i(664)]),this[i(522)]=this[i(664)][i(436)][i(396)](i(639))||i(420),this[i(365)]=new Map,this[i(529)]=null;const s=(0,t.uid)();this[i(629)]={history:this[i(664)][i(383)][i(515)][i(419)],getLatestVersion:()=>Promise[i(618)](this[i(664)][i(383)][i(515)][i(455)]),getCurrentRevisionId:()=>s},this[i(380)](i(659),!1),this[i(380)](i(571),!0),this[i(380)](i(616),!1),this[i(664)][i(436)][i(415)](i(627),!0),this[i(664)][i(362)][i(673)](i(504))[i(495)]({view:i(430)})}[rt(555)](){const t=rt;this[t(501)](),this[t(664)][t(471)].on(t(551),(()=>{const e=t,i=this[e(439)][e(481)](0),s=i&&null===i[e(667)]?i:null;if(this[e(443)]=!!s&&this[e(664)][e(436)][e(396)](e(627)),this[e(664)][e(581)][e(550)](e(433))){const t=this[e(629)][e(668)](),n=this[e(439)][e(481)](t);if(n)this[e(510)]=n[e(391)],this[e(443)]=!1;else{const t=this[e(629)][e(419)][e(374)][e(556)]((t=>!t[e(669)])),n=t?t[e(452)]:this[e(629)][e(419)][e(455)];i?(i[e(602)]<n&&i[e(620)]({toVersion:n}),this[e(443)]?(this[e(629)][e(668)]=()=>s.id,this[e(510)]=s[e(391)]):(this[e(510)]=i[e(602)],this[e(443)]=!1)):(this[e(510)]=n,this[e(443)]=!1)}}else s&&(this[e(664)][e(383)][e(515)][e(419)][e(455)]=Math[e(674)](s[e(602)],this[e(664)][e(383)][e(515)][e(419)][e(455)]),s[e(391)]===s[e(602)]?(0!==s[e(391)]&&(this[e(629)][e(668)]=()=>s.id),this[e(443)]=!1):this[e(443)]&&(this[e(629)][e(668)]=()=>s.id,this[e(510)]=s[e(391)])),this[e(443)]||(this[e(510)]=this[e(664)][e(383)][e(515)][e(455)]);this[e(587)][e(555)](this[e(629)][e(419)]),this[e(441)](this[e(510)]),this[e(511)](this[e(510)]),this[e(661)]&&this[e(656)]()})),this[t(526)](t(659)).to(this,t(616),(t=>!t)),this[t(514)]=this[t(664)][t(436)][t(396)](t(514));const e=this[t(664)];this[t(606)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(422)==r||i(573)==r||i(387)==r||i(652)==r||i(520)==r||i(400)==r||i(372)==r||i(662)==r){delete e[n],s=r,clearInterval(this[i(606)]),this[i(606)]=void 0;break}}i(573)==s&&e[i(413)](i(393)),i(387)==s&&e[i(413)](i(534)),i(652)==s&&e[i(413)](i(490)),i(520)==s&&e[i(413)](i(612),i(635)),i(400)==s&&e[i(413)](i(638)),i(372)==s&&e[i(413)](i(541)),i(662)==s&&e[i(413)](i(582))}),1e3)}async[rt(558)](){const t=rt;if(this[t(439)][t(470)]>0){const e=this[t(439)][t(481)](0),i=await this[t(671)](e),s=await this[t(496)](e);this[t(398)](i,s)}}[rt(405)](){const t=rt;super[t(405)](),this[t(606)]&&clearInterval(this[t(606)])}[rt(454)](t){this[rt(629)]=t}async[rt(414)](){const t=rt,e=await this[t(629)][t(569)]();if(e>this[t(377)][t(602)]){await this[t(465)]();const i=this[t(472)]({revision:this[t(377)],to:e});i[t(505)]=i[t(508)][t(355)]((e=>this[t(664)][t(581)][t(396)](t(394))[t(497)](e))),this[t(377)][t(620)](i)}}async[rt(412)](e={},i=null){const s=rt,n=[];await this[s(465)](),this[s(443)]=!1,i>this[s(377)][s(602)]&&(i=null),null===i&&(i=await this[s(629)][s(569)]());const r=this[s(357)](i),o=this[s(472)]({from:r,to:i});if(this[s(377)][s(602)]<i){const t=this[s(472)]({revision:this[s(377)],from:i,to:i});t[s(505)]=[],t[s(508)]=[],t.id=this[s(377)].id,this[s(377)][s(620)](t,!0),delete t[s(505)],n[s(645)](t)}e[s(395)]=this[s(664)][s(581)][s(396)](s(394)).me.id,e[s(382)]=e[s(382)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(444)](e);n[s(645)](e);const c=this[s(439)][s(370)](a);if(0!==c){const t=this[s(439)][s(481)](c-1);if(t[s(391)]!==i){const r=this[s(587)][s(458)](i,t[s(602)]),o={id:t.id,diffData:r[s(537)],authorsIds:r[s(508)],authors:r[s(508)][s(355)]((t=>this[s(664)][s(581)][s(396)](s(394))[s(497)](t))),fromVersion:i};t===this[s(377)]&&(o[s(601)]=new Date(e[s(601)][s(469)]()+10)),t[s(620)](o,!0),delete o[s(505)],n[s(645)](o)}}if(this[s(661)]){for(const t of n)this[s(448)](t.id,t,!0);this[s(656)]()}return a}[rt(444)](t){const e=rt,i=this[e(439)][e(677)](t);return this[e(661)]&&i.on(e(620),((t,i,s)=>{const n=e;s||(this[n(448)](i.id,i,!0),this[n(656)]())})),this[e(439)][e(531)](i,this[e(486)](i)),i}async[rt(671)](t){const e=rt;return await this[e(523)][e(401)](t,this[e(661)]),this[e(523)][e(671)](t)}async[rt(496)](t){const e=rt;return await this[e(523)][e(401)](t,this[e(661)]),this[e(523)][e(496)](t)}[rt(656)](){const t=rt;if(0===this[t(365)][t(378)])return;if(this[t(616)])return;let e=Array[t(532)](this[t(365)][t(543)]());this[t(365)][t(630)]();for(let i=0;i<e[t(470)];i++){const s=e[i];let n=!1;for(const e of Object[t(567)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(676)]((t=>null!==t)),!e[t(470)])return;for(let i=0;i<e[t(470)];i++){const s=e[i];void 0!==s[t(391)]&&void 0===s[t(602)]&&(s[t(602)]=this[t(439)][t(481)](s.id)[t(602)]),void 0!==s[t(602)]&&void 0===s[t(391)]&&(s[t(391)]=this[t(439)][t(481)](s.id)[t(391)])}const i=this[t(664)][t(436)][t(396)](t(639));this[t(616)]=!0,this[t(418)](),this[t(661)][t(607)](e,i)[t(577)]((()=>{this[t(616)]=!1}))[t(644)]((e=>{const i=t;if(e)for(const t of e)this[i(548)]({id:t.id,createdAt:t[i(601)]});this[i(516)](),this[i(656)]()}))}[rt(472)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(391)],i=null!==i?i:t[s(602)];const n=this[s(587)][s(458)](e,i),r={diffData:n[s(537)],authorsIds:n[s(508)],fromVersion:e,toVersion:i};if(!t||i!==t[s(602)]){const t=i-1,e=this[s(629)][s(419)][s(578)](t);r[s(601)]=e&&e[s(601)]||new Date}if(this[s(529)]&&e===this[s(529)][s(391)])for(const t of this[s(529)][s(505)])r[s(508)][s(672)](t.id)||r[s(508)][s(645)](t.id);return r}[rt(448)](t,e,i){const s=rt;if(this[s(365)][s(550)](t)){const n=this[s(365)][s(396)](t);e=i?{...n,...e}:{...e,...n}}this[s(365)][s(380)](t,e)}[rt(548)](t){const e=rt,i=this[e(439)][e(481)](t.id);if(t[e(601)]&&(t[e(601)]=new Date(t[e(601)])),t[e(508)]){const i=this[e(664)][e(581)][e(396)](e(394));t[e(505)]=t[e(508)][e(355)]((t=>i[e(497)](t)))}i[e(620)](t,!0)}[rt(441)](t){const e=rt,i=this[e(439)][e(481)](this[e(439)][e(470)]-1);if(i)this[e(522)]=i.id;else{const i=!this[e(664)][e(383)][e(515)][e(608)][e(556)]((t=>this[e(664)][e(383)][e(399)](t))),s=this[e(664)][e(581)][e(396)](e(394)).me.id,n=X(this[e(664)][e(658)],e(i?547:431));this[e(485)]({from:t,to:t,id:this[e(522)],name:n,creatorId:s})}}[rt(511)](t){const e=rt,i=this[e(629)][e(668)]();this[e(377)]=this[e(439)][e(481)](i),this[e(377)]||(this[e(377)]=this[e(485)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(465)](){const t=rt;this[t(443)]&&!this[t(529)]&&(await this[t(523)][t(401)](this[t(377)],this[t(661)]),this[t(587)][t(527)](this[t(377)]),this[t(529)]={fromVersion:this[t(377)][t(391)],authors:this[t(377)][t(505)][t(506)]()})}[rt(398)](e,i){const s=rt;let n=this[s(664)][s(436)][s(396)](s(464)),r=this[s(664)][s(436)][s(396)](s(424));if(void 0===n){n={};for(const t of this[s(664)][s(383)][s(515)][s(562)]())n[t]=""}if(s(474)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(664)][s(383)][s(515)][s(562)]())r[t]={}}let o=!1;const a=Object[s(567)](n),c=Object[s(567)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(598)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(567)](r[t])[s(470)]>0){o=!0;break}}o||(o=c[s(572)]((t=>!this[s(664)][s(383)][s(515)][s(611)](t)))),o&&(0,t.logWarning)(s(463),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(664)][s(436)][s(380)](s(464),e),this[s(664)][s(436)][s(380)](s(424),i)}[rt(418)](){const t=rt;if(!this[t(358)]){const e=this[t(664)][t(581)][t(396)](t(397));this[t(358)]=e[t(589)](X(this[t(664)][t(658)],t(384)))}}[rt(516)](){const t=rt;this[t(358)]&&(this[t(664)][t(581)][t(396)](t(397))[t(373)](this[t(358)]),this[t(358)]=null)}[rt(486)](t){const e=rt,i=this[e(439)][e(468)]();i[e(546)]();let s=0;for(;s<i[e(470)];){const n=i[s];if(n===this[e(377)]){s++;continue}if(n.id===this[e(522)])break;const r=t[e(602)]-n[e(602)]||t[e(391)]-n[e(391)];if(r>0)break;if(r<0)s++;else{if(!t[e(667)]&&n[e(667)])break;if(n[e(667)]||!t[e(667)]){if(t[e(601)]>n[e(601)])break;s++}else s++}}return s}[rt(357)](t){const e=rt,i=this[e(439)][e(468)]();i[e(546)](),i[e(545)]();const s=i[e(556)]((i=>i[e(602)]<=t))[e(602)];return s<this[e(510)]?this[e(510)]:s}[rt(485)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(472)]({from:e,to:i});o[r(382)]=t,o[r(395)]=s,o.id=n;const a=this[r(444)](o);return this[r(661)]&&this[r(448)](o.id,o,!0),a}[rt(501)](){const t=rt;this[t(664)][t(362)][t(673)](t(536))[t(542)]({model:t(430)})}}class ut{[rt(664)];[rt(402)];[rt(660)];[rt(484)];[rt(437)];[rt(605)];[rt(554)];[rt(625)];[rt(467)];[rt(679)];[rt(525)];[rt(539)];[rt(442)];[rt(564)];[rt(549)];[rt(428)];[rt(503)];constructor(t){const e=rt;this[e(664)]=t,this[e(660)]=new Map,this[e(484)]=-1,this[e(437)]=-1,this[e(605)]=new Map,this[e(554)]=new Map,this[e(625)]=new Map,this[e(467)]=new Map,this[e(679)]=new Map,this[e(525)]=new Map,this[e(539)]=new Map,this[e(442)]=new Map,this[e(564)]=new Map,this[e(549)]=new Map,this[e(428)]=1}[rt(555)](t){const e=rt;this[e(402)]=t;const i=new Map,s=new Map,n=this[e(664)][e(383)][e(515)][e(608)][e(355)]((t=>t[e(604)]));for(const t of n){const n=this[e(664)][e(383)][e(515)][e(611)](t),r=lt(n);i[e(380)](t,r),s[e(380)](t,Object[e(507)](n[e(609)]()))}const r=Array[e(532)](this[e(664)][e(383)][e(540)])[e(355)]((t=>[t[e(382)],t[e(480)]()])),o=this[e(402)][e(455)];this[e(646)](o,i,r,s),this[e(503)]=this[e(428)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(380)](t,i),c[e(380)](t,{})}this[e(646)](Number[e(435)],a,[],c)}[rt(458)](t,e){const i=rt;if(this[i(484)]===t&&this[i(437)]<=e)this[i(660)][i(378)]>1&&this[i(451)](this[i(437)]),this[i(375)](this[i(437)],e,!0);else{if(!this[i(660)][i(550)](t)){const e=this[i(518)](t);this[i(421)](e,t,!1)}this[i(421)](t,e,!0)}return this[i(484)]=t,this[i(437)]=e,this[i(425)]()}[rt(527)](t){const e=rt,i=this[e(664)][e(581)][e(396)](e(354));this[e(583)](),this[e(484)]=t[e(391)],this[e(437)]=t[e(602)];for(const s in t[e(537)]){const n=t[e(537)][s][e(596)],r=R(t[e(537)][s][e(446)])||{},o=i[e(512)](t[e(537)][s][e(538)]);o[e(604)]=s,o[e(409)]=!n||!n[e(557)],o[e(557)]=()=>o[e(409)],this[e(467)][e(380)](s,o),this[e(679)][e(380)](s,r),n&&this[e(549)][e(380)](s,n);const a=this[e(438)](o);this[e(539)][e(380)](s,a);for(const[t,i]of o[e(540)]){if(!t[e(432)](e(599)))continue;const s=t[e(613)](":")[2];for(const t of i[e(513)]({singleCharacters:!0})){const i=this[e(563)](t),n=e(614)==t[e(447)]?t[e(592)][e(615)][e(506)](0,-1):t[e(592)][e(615)],r=a[e(641)](n)[e(475)](i);this[e(442)][e(380)](r,{userId:s})}}}this[e(503)]=this[e(428)];const s=[...Array(this[e(428)])[e(567)]()][e(506)](1)[e(676)]((t=>!this[e(442)][e(550)](t)));let n=0;const r=new Map;for(const o in t[e(537)]){const a=t[e(537)][o][e(596)],c=R(t[e(537)][o][e(597)])||{},u=i[e(512)](t[e(537)][o][e(544)]);u[e(604)]=o,u[e(409)]=!a||a[e(557)],u[e(557)]=()=>u[e(409)],this[e(554)][e(380)](o,u),this[e(625)][e(380)](o,c);const l=this[e(438)](u,Number[e(435)]);this[e(525)][e(380)](o,l),r[e(380)](o,u[e(557)]()?c:{});for(const[t,i]of u[e(540)]){if(!t[e(432)](e(599)))continue;const s=t[e(613)](":")[2];for(const t of i[e(513)]({singleCharacters:!0})){const i=this[e(563)](t),n=this[e(428)]++,r=e(614)==t[e(447)]?t[e(592)][e(615)][e(506)](0,-1):t[e(592)][e(615)];l[e(641)](r)[e(626)](i,n),this[e(442)][e(380)](n,{userId:s})}}for(const t of this[e(664)][e(383)][e(628)](u)[e(513)]({singleCharacters:!0})){const i=this[e(563)](t),r=e(614)==t[e(447)]?t[e(592)][e(615)][e(506)](0,-1):t[e(592)][e(615)],o=l[e(641)](r);o[e(475)](i)>0||o[e(626)](i,s[n++])}for(const[t,i]of u[e(540)])t[e(432)](e(599))||this[e(605)][e(380)](t,i)}const o=ht(e(427));this[e(467)][e(380)](e(427),o),this[e(539)][e(380)](e(427),this[e(438)](o,1));const a=ht(e(427));this[e(554)][e(380)](e(427),a),this[e(525)][e(380)](e(427),this[e(438)](a,1));const c=Array[e(532)](this[e(554)])[e(355)]((([t,e])=>[t,lt(e)]));this[e(646)](this[e(437)],c,this[e(605)],r)}[rt(488)](){const t=rt;this[t(583)](),this[t(484)]=-1,this[t(437)]=-1,this[t(660)][t(630)](),this[t(555)](this[t(402)])}[rt(646)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(380)](t,{start:e[n(390)][n(356)](),end:e[n(647)][n(356)](),rootName:e[n(519)][n(604)]});this[n(660)][n(380)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(451)](t){const e=rt;this[e(660)][e(624)](t)}[rt(583)](){const t=rt;this[t(442)][t(630)](),this[t(564)][t(630)](),this[t(549)][t(630)](),this[t(554)][t(630)](),this[t(625)][t(630)](),this[t(467)][t(630)](),this[t(679)][t(630)](),this[t(525)][t(630)](),this[t(539)][t(630)](),this[t(605)][t(630)](),this[t(428)]=1,this[t(503)]=this[t(428)]}[rt(438)](t,e=null){const i=rt;let s=null;t.is(i(657))||(s=new H.Element(t[i(382)],{vid_start:null===e?this[i(428)]++:e++}));const n=[];for(const s of t[i(500)]())if(s.is(i(498))){n[i(645)](this[i(438)](s,e));const t=n[n[i(470)]-1];null!==e&&(e=t.is(i(498),i(576))?t[i(475)](i(489))+1:t[i(475)](i(456))+1)}else for(let t=0;t<s[i(449)];t++)n[i(645)](new H.Element(i(576),{vid:null===e?this[i(428)]++:e++}));if(t.is(i(657))){const e=ht(t[i(604)]);return e[i(363)](0,n),e}return s[i(626)](i(456),null===e?this[i(428)]++:e++),s[i(363)](0,n),s}[rt(421)](t,e,i){const s=rt;this[s(583)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(660)][s(396)](t);this[s(467)]=new Map(n),this[s(679)]=new Map(R(o));for(const[t,e]of this[s(467)])if(s(427)!==t&&(this[s(554)][s(380)](t,lt(e)),this[s(625)]=new Map(R(o)),i)){const i=this[s(428)];this[s(525)][s(380)](t,this[s(438)](e)),this[s(539)][s(380)](t,this[s(438)](e,i))}this[s(503)]=this[s(428)],this[s(554)][s(380)](s(427),lt(this[s(467)][s(396)](s(427)))),i&&this[s(525)][s(380)](s(427),this[s(438)](this[s(467)][s(396)](s(427))));for(const[t,e]of r){const i=this[s(467)][s(396)](e[s(604)]),n=this[s(554)][s(396)](e[s(604)]),r=new H.Range(this[s(579)](e[s(390)],i),this[s(579)](e[s(647)],i)),o=this[s(574)](r,n);i[s(540)][s(380)](t,r),this[s(605)][s(380)](t,o)}this[s(375)](t,e,i)}[rt(375)](t,e,i){const s=rt;for(const n of this[s(402)][s(560)](t,e))this[s(570)](n,i);for(const t of this[s(554)][s(543)]())t[s(540)][s(630)]();for(const[t,e]of this[s(605)])this[s(554)][s(396)](e[s(519)][s(604)])[s(540)][s(380)](t,e[s(356)]());const n=new Map,r=new Map;for(const[t,e]of this[s(554)])n[s(380)](t,lt(e)),r[s(380)](t,this[s(625)][s(396)](t));this[s(646)](e,n,this[s(605)],r)}[rt(518)](t){const e=rt,i=Array[e(532)](this[e(660)][e(567)]());i[e(663)](((t,e)=>t-e)),i[e(546)]();for(const e of i)if(e<t)return e;return Number[e(435)]}[rt(678)](t,e){const i=rt,s=Array[i(532)](e[i(540)])[i(355)]((([e,s])=>[e,this[i(574)](s,t)]));t[i(540)]=new Map(s)}[rt(665)](t){const e=rt;for(const i of this[e(605)][e(543)]()){const s=i[e(366)](t),n=H.Range[e(524)](s);i[e(390)]=n[e(390)],i[e(647)]=n[e(647)]}}[rt(570)](t,e){const i=rt;if(i(440)!=t[i(447)]&&i(369)!=t[i(447)]){if(i(585)==t[i(447)]){const s=t[i(640)][i(519)][i(604)];this[i(554)][i(550)](s)||(this[i(554)][i(380)](s,ht(s,!0)),this[i(625)][i(380)](s,{}),e&&this[i(525)][i(380)](s,ht(s,!0)))}else{if(i(521)==t[i(447)]||i(533)==t[i(447)]||i(619)==t[i(447)])return void this[i(650)](t);i(565)==t[i(447)]&&this[i(622)](t)}if(i(565)!==t[i(447)]){const e=this[i(610)](t,this[i(554)]);e[i(376)](),this[i(665)](e)}if(e)switch(t[i(447)]){case i(585):this[i(360)](t);break;case i(361):case i(373):case i(499):this[i(403)](t);break;case i(411):this[i(408)](t);break;case i(613):this[i(642)](t)}}else this[i(590)](t,e)}[rt(610)](t,e){const i=rt,s=t[i(356)]();return s[i(371)]=t[i(371)],this[i(568)](s,e),s}[rt(407)](t){const e=rt;return t[e(355)]((t=>{const i=e,s=this[i(563)](t);return Number(t[i(457)][i(475)](s))}))}[rt(423)](t,e){const i=rt;if(t.is(i(498),i(576)))e[i(645)]({item:t,type:i(406)});else{t.is(i(498))&&e[i(645)]({item:t,type:i(586)});for(const s of t[i(500)]())this[i(423)](s,e);t.is(i(498))&&e[i(645)]({item:t,type:i(614)})}return e}[rt(425)](){const t=rt,e=new Map(this[t(442)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(467)][t(567)](),...this[t(554)][t(567)]()]);a[t(624)](t(427));for(const e of a){const i=this[t(554)][t(396)](e)||ht(e,!1),s=this[t(467)][t(396)](e)||ht(e,!1);i[t(557)]()||s[t(557)]()?(n[t(544)][e]=lt(i),n[t(538)][e]=lt(s),this[t(678)](n[t(538)][e],s),this[t(678)](n[t(544)][e],i),r[t(544)][e]=this[t(423)](this[t(525)][t(396)](e),[]),r[t(538)][e]=this[t(423)](this[t(539)][t(396)](e)||ht(e,!1),[])):a[t(624)](e)}for(const n of a){const o=r[t(544)][n];for(const n of o){const r=this[t(563)](n),o=n[t(457)][t(475)](r);i[t(624)](o),o>=this[t(503)]&&s[t(380)](o,e[t(396)](o))}}for(const n of a){const a=r[t(544)][n],c=this[t(407)](r[t(538)][n]);let u=0;for(const n of a){const r=this[t(563)](n),a=n[t(457)][t(475)](r);if(!s[t(550)](a)&&!o[t(550)](a))if(i[t(550)](a))u++;else{if(a!=c[u]){const s=e[t(396)](a)||e[t(396)](c[u]);for(;a!=c[u];)i[t(550)](c[u])||(o[t(380)](c[u],s),e[t(380)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(544)][e];for(const e of n){const n=this[t(563)](e),r=e[t(457)][t(475)](n);if(o[t(550)](r)){const e=o[t(396)](r);i[t(550)](r)||i[t(380)](r,{...e}),s[t(380)](r,{...e})}}}for(const e of i[t(567)]())e>=this[t(503)]&&i[t(624)](e);const c=new Map;for(const e of a){let n=r[t(544)][e];for(const e of n)if(e[t(457)].is(t(498),t(429))){const i=this[t(563)](e),n=e[t(457)][t(475)](i);if(s[t(550)](n)){const i=e[t(457)][t(416)][t(416)][t(475)](t(617)),r=c[t(396)](i)||new Set;r[t(589)](s[t(396)](n)[t(404)]),c[t(380)](i,r)}}n=r[t(538)][e];for(const e of n)if(e[t(457)].is(t(498),t(429))){const s=this[t(563)](e),n=e[t(457)][t(475)](s);if(i[t(550)](n)){const s=e[t(457)][t(416)][t(416)][t(475)](t(617)),r=c[t(396)](s)||new Set;r[t(589)](i[t(396)](n)[t(404)]),c[t(380)](s,r)}}for(const e of c[t(567)]())(s[t(550)](e)||i[t(550)](e))&&c[t(624)](e)}for(const e of a){const n=r[t(544)][e];let o=null,a=null;for(const e of n){const n=this[t(563)](e),r=e[t(457)][t(475)](n),u=c[t(396)](r);u&&t(586)==e[t(447)]&&(o=Array[t(532)](u)[0],a=e[t(457)][t(475)](t(456))),o&&(i[t(380)](r,{userId:o}),s[t(380)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(538)][e],a=n[t(544)][e];for(const{userId:e}of this[t(564)][t(543)]())null!==e&&l[t(589)](e);for(const{userId:e}of this[t(549)][t(543)]())null!==e&&l[t(589)](e);this[t(634)](a,r[t(544)][e],s,t(494),l),this[t(634)](o,r[t(538)][e],i,t(553),l),u[e]={insertions:this[t(643)](a),deletions:this[t(643)](o),attachChange:this[t(549)][t(396)](e)||null,attributesBefore:R(this[t(679)][t(396)](e))||{},attributesAfter:R(this[t(625)][t(396)](e))}}return{diffData:u,authorsIds:Array[t(532)](l)}}[rt(473)](t){const e=rt;for(const[,i]of t[e(540)]){const t=i[e(390)][e(621)]()[e(676)]((t=>e(429)==t[e(382)]));for(const i of t)1==i[e(623)]&&i[e(462)](0).is(e(498),e(493))&&i[e(462)](0)[e(626)](e(466),!0)}}[rt(643)](t){const e=rt;this[e(473)](t);const i=this[e(664)][e(471)][e(453)](t,{}),s=Array[e(532)](i[e(500)]())[e(355)]((t=>this[e(476)](t)));return JSON[e(417)](s)}[rt(476)](t){const e=rt;if(t.is(e(576)))return t[e(471)];{const i=this[e(664)][e(581)][e(396)](e(354)),s=t,n=this[e(664)][e(471)][e(367)][e(591)],r={type:i[e(535)](s),name:s[e(382)],attributes:Array[e(532)](s[e(609)]()),children:Array[e(532)](s[e(500)]())[e(355)]((t=>this[e(476)](t)))};if(t.is(e(648))&&e(517)!=t[e(382)]){const i=t[e(385)](n[e(502)],n);r[e(593)][e(645)](i[e(636)])}else if(t.is(e(459))){const i=n[e(502)][e(631)](s[e(382)]);t[e(385)](i,n),r[e(593)][e(645)](i[e(460)])}const o=Array[e(532)](s[e(575)]());o[e(470)]>0&&(r[e(637)]=o);const a=s[e(633)]();return null!==a&&(r[e(364)]=a),r}}[rt(634)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(664)][r(383)];for(let s=0;s<e[r(470)];s++){const n=this[r(563)](e[s]),c=e[s][r(457)][r(475)](n),h=i[r(396)](c),d=s==e[r(470)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(404)]!=o[r(404)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(404)],d=l(599)+s+":"+h+":"+c++,f=u[l(386)](i,a);t[l(540)][l(380)](d,f),null!==h&&n[l(589)](h)}}[rt(563)](t){const e=rt;switch(t[e(447)]){case e(586):return e(617);case e(614):return e(456);default:return e(489)}}[rt(568)](t,e){const i=rt;t[i(452)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(396)](n[i(519)][i(604)]);t[s]=this[i(579)](n,r)}if(n instanceof H.Range){const r=e[i(396)](n[i(519)][i(604)]);t[s]=this[i(574)](n,r)}i(519)===s&&(t[i(519)]=e[i(396)](t[i(519)][i(604)]))}}[rt(574)](t,e){const i=rt;return this[i(664)][i(383)][i(386)](this[i(579)](t[i(390)],e),this[i(579)](t[i(647)],e))}[rt(579)](t,e){const i=rt;return this[i(664)][i(383)][i(392)](e,t[i(615)],t[i(654)])}[rt(360)](t){const e=rt,i=this[e(525)][e(396)](t[e(640)][e(519)][e(604)]),s=this[e(579)](t[e(640)],i),n=null===t[e(371)]?null:t[e(371)]||this[e(664)][e(581)][e(396)](e(394)).me.id,r=s[e(416)],o=this[e(428)],a=[];for(const i of t[e(666)])if(i.is(e(498)))a[e(645)](this[e(438)](i));else for(let t=0;t<i[e(449)];t++)a[e(645)](new H.Element(e(576),{vid:this[e(428)]++}));const c=this[e(428)];for(let t=o;t<c;t++)this[e(442)][e(380)](t,{userId:n});r[e(363)](s[e(359)],a)}[rt(403)](t){const e=rt;(t=this[e(610)](t,this[e(525)]))[e(376)]();const i=null===t[e(371)]?null:t[e(371)]||this[e(664)][e(581)][e(396)](e(394)).me.id,s=t[e(450)](),n=s[e(416)],r=s[e(359)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(462)](e);r.is(a(498),a(576))?s[a(380)](r[a(475)](a(489)),{userId:i}):(s[a(380)](r[a(475)](a(617)),{userId:i}),t(s,r,0,r[a(623)]),s[a(380)](r[a(475)](a(456)),{userId:i}))}}(this[e(442)],n,r,r+t[e(491)])}[rt(408)](t){const e=rt,i=null===(t=this[e(610)](t,this[e(525)]))[e(371)]?null:t[e(371)]||this[e(664)][e(581)][e(396)](e(394)).me.id,s=t[e(653)][e(416)],n=t[e(600)][e(416)],r=s[e(475)](e(456)),o=n[e(475)](e(617));s[e(626)](e(456),n[e(475)](e(456))),n[e(626)](e(456),r),this[e(442)][e(380)](o,{userId:i}),this[e(442)][e(380)](r,{userId:i}),t[e(376)]()}[rt(642)](t){const e=rt,i=null===(t=this[e(610)](t,this[e(525)]))[e(371)]?null:t[e(371)]||this[e(664)][e(581)][e(396)](e(394)).me.id,s=t[e(478)],n=t[e(594)][e(416)];t[e(376)]();const r=n[e(475)](e(456)),o=t[e(528)][e(388)];if(s){const t=o[e(475)](e(456)),s=n[e(475)](e(456));n[e(626)](e(456),t),o[e(626)](e(456),s),this[e(442)][e(380)](n[e(475)](e(456)),{userId:i}),this[e(442)][e(380)](o[e(475)](e(617)),{userId:i})}else{const t=this[e(428)]++,s=this[e(428)]++;n[e(626)](e(456),t),o[e(626)](e(617),s),o[e(626)](e(456),r),this[e(442)][e(380)](t,{userId:i}),this[e(442)][e(380)](s,{userId:i})}}[rt(622)](t){const e=rt;if(!t[e(368)])return;const i=(t=this[e(610)](t,this[e(554)]))[e(461)]?t[e(461)][e(519)]:null,s=t[e(670)]?t[e(670)][e(519)]:null;i&&this[e(605)][e(624)](t[e(382)]),s&&this[e(605)][e(380)](t[e(382)],t[e(670)][e(356)]());const n=null===t[e(371)]?null:t[e(371)]||this[e(664)][e(581)][e(396)](e(394)).me.id,r=t[e(382)];if(!this[e(564)][e(550)](r))return void this[e(564)][e(380)](r,{range:t[e(461)],userId:n});const o=this[e(564)][e(396)](r),a=o[e(434)],c=t[e(670)];null==a&&null==c||a&&c&&a[e(379)](c)?this[e(564)][e(624)](t[e(382)]):o[e(404)]=n}[rt(590)](t,e){const i=rt;this[i(554)][i(550)](t[i(604)])?this[i(554)][i(396)](t[i(604)])[i(409)]=t[i(580)]:(this[i(554)][i(380)](t[i(604)],ht(t[i(604)],!0)),this[i(625)][i(380)](t[i(604)],{}),e&&this[i(525)][i(380)](t[i(604)],ht(t[i(604)],!0)));const s=null===t[i(371)]?null:t[i(371)]||this[i(664)][i(581)][i(396)](i(394)).me.id,n=this[i(549)][i(396)](t[i(604)]);n&&n[i(404)]===s?this[i(549)][i(624)](t[i(604)]):this[i(549)][i(380)](t[i(604)],{userId:s,isAttached:t[i(580)]})}[rt(650)](t){const e=rt,i=this[e(625)][e(396)](t[e(519)][e(604)]);null===t[e(426)]?delete i[t[e(632)]]:i[t[e(632)]]=t[e(426)]}}function lt(t){const e=rt,i=ht(t[e(604)],t[e(557)]());for(const s of t[e(500)]()){const t=s[e(584)](!0);i[e(588)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(604)]=t,s[i(409)]=e,s[i(557)]=()=>s[i(409)],s}function dt(t,e,i){const s=rt,n=s(614)==t[s(447)]?i[s(509)](t[s(457)],s(647)):i[s(649)](t[s(457)]);return i[s(392)](e,n[s(615)],n[s(654)])}function ft(t,e,i){const s=rt,n=s(586)==t[s(447)]?i[s(509)](t[s(457)],0):i[s(566)](t[s(457)]);return i[s(392)](e,n[s(615)],n[s(654)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Mt;function Mt(t,e){const i=Dt();return(Mt=function(t,e){return i[t-=293]})(t,e)}function Dt(){const t=["arrowdown","label","set","errorText","363711ICxLrc","reset","Name of the revision","setTemplate","7lnJSHl","trim","keystrokes","463800dXXyPU","listenTo","39594jZXIhf","revisionNameInputValue","focusTracker","171331VzCFZE","revisionName","input","add","focus","revisionNameInputView","value","_createRevisionNameInput","arrowright","506025rdzKSH","optional","stopPropagation","fieldView","476436VTQueH","376186HFbawd","extendTemplate","locale","ck-responsive-form","render","ck-revision-history-save-revision-form","form","element","arrowup","arrowleft","220","5NkNgNw"];return(Dt=function(){return t})()}!function(t){const e=Mt,i=t();for(;;)try{if(127427===parseInt(e(324))/1+parseInt(e(296))/2+-parseInt(e(312))/3+parseInt(e(295))/4*(-parseInt(e(307))/5)+parseInt(e(321))/6*(parseInt(e(316))/7)+parseInt(e(319))/8+-parseInt(e(333))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Et extends pt.View{[Rt(323)];[Rt(318)];[Rt(329)];constructor(e,i){const s=Rt;super(e),this[s(323)]=new t.FocusTracker,this[s(318)]=new t.KeystrokeHandler,this[s(310)](s(322),""),this[s(329)]=this[s(331)](i),this[s(315)]({tag:s(302),attributes:{class:["ck",s(301),s(299)],tabindex:"-1"},children:[this[s(329)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(300)](){const t=Rt;super[t(300)](),(0,pt.submitHandler)({view:this}),this[t(323)][t(327)](this[t(329)][t(303)]),this[t(318)][t(320)](this[t(303)]);const e=e=>e[t(293)]();this[t(318)][t(310)](t(332),e),this[t(318)][t(310)](t(305),e),this[t(318)][t(310)](t(304),e),this[t(318)][t(310)](t(308),e)}[Rt(328)](){const t=Rt;this[t(329)][t(328)]()}get[Rt(325)](){const t=Rt;return this[t(329)][t(294)][t(303)][t(330)][t(317)]()}set[Rt(325)](t){const e=Rt;this[e(329)][e(294)][e(303)][e(330)]=t[e(317)]()}[Rt(313)](){const t=Rt;this[t(329)][t(294)][t(303)][t(330)]="",this[t(329)][t(311)]=null}[Rt(331)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(298)],pt.createLabeledInputText),s=i[e(294)];s[e(297)]({attributes:{maxlength:e(306)}});let n=X(this[e(298)],e(314));return!t&&(n+=" ("+X(this[e(298)],e(334))+")"),i[e(309)]=n,s.on(e(326),(()=>{const t=e;this[t(322)]=s[t(303)][t(330)][t(317)]()})),i}}const Vt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=471]})(t,e)}function Ft(){const t=["isOfficialPlugin","pluginName","bind","isEnabled","errorText","_createSaveRevisionFormView","revisionHistory","773750EBJAlH","view","Open revision history","init","hide","panelView","RevisionHistoryUI","items","ck-button-action","149207WQdVcT","_saveRevisionFormView","menuBar:revisionHistory","1224671IDnJUo","reset","get","buttonView","revisionName","addMany","isReadOnly","revisionSave","Save current revision","role","14XgvvHL","requires","editing","execute","menuitem","The revision name cannot be empty.","_showDialog","delegate","Cancel","set","config","12339IkvzfG","Revision history","RevisionTracker","editor","children","render","saveRevision","revisionHistory.requireRevisionName","add","show","menu","_registerMenuComponent","isReady","isPremiumPlugin","9BIBSVV","2793170PawdfL","locale","169840qAzJTE","componentFactory","showRevisionViewerCallback","Accept","submit","991580lUWAoD","revisionNameInputView","plugins","focus","isOpen","Dialog","6GqlOKi"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(130427===parseInt(e(535))/1+parseInt(e(479))/2*(-parseInt(e(490))/3)+parseInt(e(512))/4+-parseInt(e(526))/5+-parseInt(e(518))/6*(-parseInt(e(538))/7)+-parseInt(e(507))/8*(-parseInt(e(504))/9)+-parseInt(e(505))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Vt(520)](){return Vt(532)}static get[Vt(519)](){return!0}static get[Vt(503)](){return!0}static get[Vt(480)](){return[ct]}[Vt(536)];[Vt(529)](){const t=Vt,e=this[t(493)],i=e[t(514)][t(471)](t(492));e.ui[t(508)][t(498)](t(525),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(531)][n(494)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(521)](n(522)).to(i,n(502),i,n(522),e,n(475),((t,e,i)=>t&&e&&!i)),r[n(472)][n(488)]({icon:mt.IconHistory,label:X(s,n(491)),tooltip:!0}),u[n(488)]({label:X(s,n(477)),withText:!0,role:n(483)}),u[n(521)](n(522)).to(i,n(502),i,n(522),e,n(475),((t,e,i)=>t&&e&&!i)),u.on(n(482),(()=>this[n(485)]())),h[n(488)]({label:X(s,n(528)),withText:!0,role:n(483)}),h[n(521)](n(522)).to(i,n(502),e,n(475),((t,e)=>t&&!e)),h.on(n(482),(()=>{const t=n;e[t(489)][t(471)](t(525))[t(509)](),r[t(516)]=!1,e[t(481)][t(527)][t(515)]()})),c[n(494)][n(498)](u),l[n(494)][n(498)](h),a[n(478)]=n(500),a[n(533)][n(474)]([c,l]),o[n(498)](a),r})),e.ui[t(508)][t(498)](t(537),(()=>this[t(501)]()))}[Vt(501)](){const t=Vt,e=this[t(493)],i=e[t(506)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(472)][t(488)]({icon:mt.IconHistory,label:X(i,t(491))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(488)]({label:X(i,t(477))}),o[t(486)](t(482)).to(s),o.on(t(482),(()=>{this[t(485)]()})),r[t(494)][t(498)](o),n[t(533)][t(498)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(488)]({label:X(i,t(528))}),c[t(486)](t(482)).to(s),c.on(t(482),(()=>{const i=t;e[i(489)][i(471)](i(525))[i(509)]()})),a[t(494)][t(498)](c),n[t(533)][t(498)](a),s[t(531)][t(494)][t(498)](n),s}[Vt(485)](){const t=Vt,e=this[t(493)],i=e[t(506)],s=e[t(514)][t(471)](t(517)),n=e[t(514)][t(471)](t(492));function r(n){const r=t;e[r(489)][r(471)](r(497))&&""===n[r(473)]?n[r(513)][r(523)]=X(i,r(484)):(e[r(514)][r(471)](ct)[r(496)]({name:n[r(473)]}),s[r(530)]())}this[t(536)]||(this[t(524)](),this[t(536)].on(t(511),(()=>r(this[t(536)])))),this[t(536)][t(539)](),s[t(499)]({id:t(476),title:X(i,t(477)),isModal:!0,content:this[t(536)],actionButtons:[{label:X(e[t(506)],t(487)),withText:!0,onExecute:()=>s[t(530)]()},{label:X(e[t(506)],t(510)),class:t(534),withText:!0,onCreate(i){const s=t;i[s(521)](s(522)).to(n,s(502),n,s(522),e,s(475),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(536)])}]})}[Vt(524)](){const t=Vt,e=this[t(493)],i=e[t(506)];this[t(536)]=new Et(i,e[t(489)][t(471)](t(497))),this[t(536)][t(495)]()}}const jt=zt;function Pt(){const t=["span","element","140BheDEC","ck-revision-change__","set","focus","_model","ck-revision-change","changeId","type","1548WzUYZc","ck-revision-change__label","add","name","4615544gYkQjN","Added by","ck-annotation","281346OsZIRH","bindTemplate","author","107437cRBAvE","730lTQFEx","Suggested by","3130CVARrD","2292864Ecynzg","27796584rRRePB","data","59IXEuWS","setTemplate","Removed by","10974CKtFOH","isSuggestion","div","9llUTPT"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=469]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(709259===-parseInt(e(471))/1*(parseInt(e(501))/2)+-parseInt(e(474))/3*(-parseInt(e(488))/4)+-parseInt(e(480))/5*(parseInt(e(495))/6)+-parseInt(e(502))/7+parseInt(e(492))/8*(-parseInt(e(477))/9)+-parseInt(e(499))/10*(parseInt(e(498))/11)+parseInt(e(469))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[jt(486)];[jt(484)];constructor(t,e){const i=jt;super(t),this[i(484)]=e,this[i(486)]=e.id;const s=this[i(496)],n=X(t,e[i(470)][i(475)]?i(500):i(490)==e[i(487)]?i(493):i(473));this[i(482)](i(487),e[i(487)]),this[i(472)]({tag:i(476),attributes:{class:[i(494),i(485),s.to(i(487),(t=>i(481)+t))],tabindex:-1},children:[{tag:i(478),children:[{tag:i(478),attributes:{class:[i(489)]},children:[{text:n}]},{text:" "+e[i(497)][i(491)]}]}]})}[jt(483)](){const t=jt;this[t(479)][t(483)]()}}function Ut(){var t=["type","10NvjcpT","createdAt","8966360AFzmcs","595704ULTSPr","data","5841108huqkXi","220lIZEJQ","author","545IYChTS","988242bMDROZ","set","rootName","29176dglJwc","toJSON","17939187ZHgBil","2286ltGOYv"];return(Ut=function(){return t})()}function Zt(t,e){var i=Ut();return(Zt=function(t,e){return i[t-=112]})(t,e)}var Ht=Zt;!function(t){for(var e=Zt,i=t();;)try{if(579804===-parseInt(e(116))/1*(-parseInt(e(125))/2)+-parseInt(e(119))/3+-parseInt(e(122))/4*(-parseInt(e(118))/5)+-parseInt(e(113))/6+parseInt(e(115))/7+parseInt(e(112))/8+parseInt(e(124))/9*(-parseInt(e(127))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class qt extends((0,t.ObservableMixin)()){id;[Ht(117)];[Ht(126)];[Ht(114)];[Ht(121)];constructor(e){var i=Ht;super(),this.id=e.id||(0,t.uid)(),this[i(117)]=e[i(117)],this[i(126)]=e[i(126)],this[i(114)]=e[i(114)]||{},this[i(121)]=e[i(121)],this[i(120)](i(128),e[i(128)])}[Ht(123)](){var t=Ht;return{id:this.id,authorId:this[t(117)].id,type:this[t(126)],data:this[t(114)],createdAt:this[t(128)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=177]})(t,e)}function Yt(){const t=["oldRevisionId","1790937ypYYgv","2433504IATgXm","add","441221SVzGsw","951954JZunuH","3BrGbwe","_setChanges","1566454bHxvVM","2916060qkASLS","911166oTuqbu","newRevisionId","21bJnkLz","90nWRqpC","changes","5nYMWAZ"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(577175===parseInt(e(177))/1+-parseInt(e(191))/2*(-parseInt(e(189))/3)+-parseInt(e(192))/4*(parseInt(e(182))/5)+-parseInt(e(188))/6*(-parseInt(e(179))/7)+-parseInt(e(185))/8+-parseInt(e(184))/9+parseInt(e(180))/10*(-parseInt(e(187))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(178)];[$t(183)];[$t(181)];constructor(e,i){const s=$t;this[s(178)]=e,this[s(183)]=i,this[s(181)]=new t.Collection}[$t(190)](t){const e=$t;for(const i of t)this[e(181)][e(186)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;function Qt(){const t=["changeId","listenTo","span","isPremiumPlugin","activeChange","12GcHFLs","nextSibling","RevisionHistoryUtils","259273iZcGAt","removeClass","uiElement","isOnRoot","ck-suggestion-marker","isEnabled","includes","editing","isAtEnd","startsWith","attributesBefore","reconvertMarker","_markSuggestions","isInline","repository","removeMarker:revision-suggestion","_step","1241105uIMIag","createRangeIn","isEqual","restoreRevision","isRemoveSuggestion","pairId","insertions","18457384pBBlqe","_cleanUp","config","all","markerToData","vid_start","_activeViewTarget","from","indexOf","revision","removeMarker:revision","editingDowncast","highest","markerName","addClass","changes","set","ck-suggestion-preview-marker-","range","_update","toViewPosition","attachChange","then","downcastDispatcher","change:activeView","getRevisionRootsAttributes","change:isEnabled","consumable","offsetSize","newRevisionId","resolve","mouseover","createAttributeElement","view","ck-revision-history-root-add","sort","isAfter","isObject","split","clear","showStack","high","comment","vid_end","POSITIVE_INFINITY","first","_getChangeFromId","createPositionFromPath","isOfficialPlugin","backward","insert","1751265odZhEy","object","change:numberOfChanges","change:isReady","values","level","target","isAtStart","revision-viewer","next","showNextChange","bottom","bind","domConverter","-new","addRevisionData","ck-revision-history-root-remove","getRootNames","top","_sortAndFilterDiffChanges","_findChangeIdFromDomTarget","getRoot","text","for","_getDiff","forceDisabled","_processTape","locale","revision-suggestion","start","markerNameToElements","setAttribute","plugins","addRevision","deletion","destroy","_setConversion","_getRevisionsRange","push","model","forEach","unshift","refresh","4796856CqgrAE","isRemoved","338718SHqIAk","addRoot","data-change-id","unbindElementFromMarkerName","revisionHistoryAttachChange","distance","revision:","execute","rootName","concat","isAttached","attributes","ck-suggestion-marker-split","init","flat","viewItem","elementStart","_changeView","change:activeChange","isLimit","findIndex","bindElementToMarker","createRange","elementToAttribute","checkAttribute","conversion","getIndex","shift","activeView","revision-suggestion:","selection","_revisions","add","has","getWalker","remove","forward","pluginName","isSuggestion","ck-revision-history-root--active","enqueueChange","startIndex","_fixObsoleteTags","requires","deletions","getDomRoot","detachRoot","ck-suggestion-marker-","element","_removeUnsupportedChanges","createRevision","vid","commands","parent","observeMarkers","_balloon","_makeTape","pop","50CfcOWN","addMarker:revision","ck-suggestion-marker-merge","isCollapsed","length","adapter","isBefore","change","suggestion:","hasClass","error","markersStart","name","removeAttribute","merge","WidgetToolbarRepository","data","isAddSuggestion","ck-suggestion-preview-marker","abs","map","getChild","affectsData","_threeWayMerge","_setDistance","RevisionViewer","_appendChild","addHighlight","_markMismatchedRemovedTags","consume","stop","writer","7zTZbDR","markerRange","test","_removeMissingPairs","isBlock","userId","_changeIdToChange","splice","numberOfChanges","getAttribute","_initInteractions","attribute:vid","mapper","_joinTapes","done","delete","toViewElement","4vplizf","type","isContent","nodeAfter","isAdded","removeMarker","diff","ck-suggestion-marker--active","right","code","catch","diffData","isNavigationMode","isIncorrect","endIndex","createPositionBefore","loadRevisionData","_getViewForChange","_data","markersEnd","revisionHistory","_cleanMarkers","_markInsertions","item","end","wrap","addMarker:revision-suggestion:deletion","upcast","_refreshStartEndIndex","left","isReady","addMarker:revision-suggestion:insertion","getCustomProperty","markers","mapViewToDom","oldRevisionId","mousedown","RevisionsRepository","keys","getRevision","document","find","getAttributes","dataDowncast","toViewRange","_markMarkers","low","currentChangeNumber","domEvent","createUIElement","ck-editor__editable__overlay","authors","showPreviousChange","enableReadOnlyMode","insertion","_makeModelFromTape","_makeModelFromViewString","filter","modelRange","getRevisionDocumentData","roots","getClientRects","string","markerToHighlight","element:pre","slice","index","restoreRevisionCallback","updatePosition","nextPosition","get","return","dataToMarker","revision-comment:","_utils","97778aRDLXv","ck-revision-history-root-","getLaterVisibleRevision","editor","softBreak","hasAttribute","getItems","attributesAfter","maxOffset","revisionHistoryLabel","_setChanges","previousPosition","compare","schema","suggestion","side","elementEnd"];return(Qt=function(){return t})()}const Xt=se;!function(t){const e=se,i=t();for(;;)try{if(508872===parseInt(e(255))/1*(parseInt(e(347))/2)+parseInt(e(165))/3*(-parseInt(e(272))/4)+parseInt(e(389))/5+-parseInt(e(369))/6*(parseInt(e(372))/7)+-parseInt(e(163))/8+parseInt(e(447))/9*(-parseInt(e(223))/10)+parseInt(e(396))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class te extends U.Plugin{[Xt(386)];[Xt(228)]=null;[Xt(346)];[Xt(402)];[Xt(182)];[Xt(261)];[Xt(220)];static get[Xt(202)](){return Xt(248)}static get[Xt(444)](){return!0}static get[Xt(367)](){return!0}static get[Xt(208)](){return[Z.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Xt;super(t),this[e(386)]=this[e(350)][e(152)][e(342)](e(309)),this[e(346)]=this[e(350)][e(152)][e(342)](e(371)),this[e(412)](e(368),null),this[e(412)](e(193),null),this[e(402)]=null,this[e(412)](e(278),null),this[e(412)](e(302),!1),this[e(412)](e(377),!0),this.on(e(422),((t,i,s)=>{const n=e;this[n(368)]=null,this[n(193)]=null,this[n(350)][n(379)][n(429)][n(230)]((t=>{const e=n;for(const i of this[e(350)][e(379)][e(429)][e(312)][e(332)])s?t[e(373)](e(322),i):t[e(410)](e(322),i)}))})),this[e(459)](e(284)).to(this,e(368),(t=>null!==t)),this[e(459)](e(319)).to(this,e(302),this,e(278),this,e(368),((t,i,s)=>t&&s?i[e(411)][e(191)](s):0)),this[e(459)](e(263)).to(this,e(302),this,e(278),((t,i)=>t?i[e(411)][e(227)]:0)),this[e(182)]=null,this[e(261)]=new Map,this[e(220)]=this[e(350)][e(152)][e(342)](pt.ContextualBalloon)}[Xt(178)](){const t=Xt,e=this[t(350)],i=new ne(e,{direction:t(445)}),s=new ne(e,{direction:t(201)});e[t(217)][t(197)](t(324),i),e[t(217)][t(197)](t(457),s),e[t(217)][t(197)](t(392),new ie(e)),this.on(t(449),(()=>{const e=t;i[e(162)](),s[e(162)]()})),this[t(156)](),this[t(265)](),e[t(325)](t(455)),e[t(152)][t(198)](t(238))&&e[t(152)][t(342)](t(238))[t(472)](t(455))}async[Xt(331)](t){const e=Xt;return await this[e(346)][e(288)](t,this[e(228)]),this[e(346)][e(331)](t)}async[Xt(421)](t){const e=Xt;return await this[e(346)][e(288)](t,this[e(228)]),this[e(346)][e(421)](t)}async[Xt(359)](t,e,i=!1){const s=Xt;if(!this[s(377)])return;const n=this[s(278)],r=this[s(386)],o=s(334)==typeof t?r[s(311)](t):t,a=s(334)==typeof e?r[s(311)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(278)]&&this[s(278)][s(425)]===c&&this[s(278)][s(307)]===u)return Promise[s(426)]();this[s(302)]=!1,this[s(193)]=null,this[s(368)]=null,this[s(278)]=new Jt(c,u);const l=this[s(157)](o,a,!0)[s(243)]((t=>this[s(346)][s(288)](t,this[s(228)])));return l[s(158)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(399)](l)[s(418)]((()=>{const t=s;if(!this[t(377)])return;this[t(397)]();const e=this[t(471)](c,u);for(const i of e[t(411)])this[t(261)][t(412)](i.id,i);this[t(350)][t(159)][t(205)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(350)][s(159)][s(312)][s(464)]())i[s(211)](t);for(const t of Object[s(310)](e[s(159)])){const n=i[s(166)](t);for(const r of Object[s(310)](e[s(176)][t]))i[s(151)](r,e[s(176)][t][r],n);i[s(446)](e[s(159)][t],n,0)}})),this[t(278)][t(357)](this[t(466)](e[t(411)])),this[t(302)]=!0}))[s(282)]((t=>{const e=s;console[e(233)](t),this[e(397)](),n&&(this[e(278)]=n),this[e(302)]=!0}))}[Xt(462)](t,e){const i=Xt,s=this[i(386)][i(215)](t);return s.on(i(415),((t,i,n)=>e(i,n,s))),this[i(386)][i(153)](s),s}[Xt(397)](){const t=Xt;this[t(368)]=null,this[t(293)](),this[t(182)]&&this[t(182)][t(155)](),this[t(182)]=null,this[t(261)][t(435)](),this[t(350)][t(159)][t(205)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(350)][i(159)][i(312)][i(464)]())e[i(211)](t)}))}[Xt(466)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(350)][e(159)][e(312)][e(464)]()){const n=this[e(350)][e(379)][e(429)][e(210)](t);if(!n)continue;const r=n[e(333)]()[e(295)](0);r&&(i[e(158)](t),s[e(412)](t,r))}return i[e(431)](((t,i)=>{const n=e,r=s[n(342)](t),o=s[n(342)](i);return r.y-o.y||r.x-o.x})),(t=t[e(329)]((t=>i[e(378)](t[e(173)]))))[e(431)](((t,s)=>i[e(404)](t[e(173)])-i[e(404)](s[e(173)]))),t}[Xt(221)](t){const e=Xt,i=Array[e(403)](t[e(305)])[e(329)]((([t,i])=>t[e(381)](e(171))&&!i[e(226)])),s=Array[e(403)](this[e(350)][e(159)][e(390)](t)[e(199)]({singleCharacters:!0}));if(0!=i[e(227)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(434)](":");if(n[e(296)][e(391)](t[e(341)])&&i[e(192)](),(t[e(358)][e(391)](n[e(476)])||t[e(358)][e(432)](n[e(476)]))&&(e(326)==r?t[e(276)]={userId:o}:e(154)==r&&(t[e(164)]={userId:o})),0==i[e(227)])break}return s}[Xt(300)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(227)];s++)e(469)===t[s][e(273)]?(t[s][e(295)][e(206)]=s,t[s][e(295)][e(286)]=s):(e(181)===t[s][e(273)]?t[s][e(295)][e(206)]=s:e(363)===t[s][e(273)]&&(t[s][e(295)][e(286)]=s),i[e(412)](t[s].id,s));for(const s of i[e(451)]())e(181)===t[s][e(273)]?t[s][e(295)][e(286)]=i[e(342)](t[s][e(394)]):e(363)===t[s][e(273)]&&(t[s][e(295)][e(206)]=i[e(342)](t[s][e(394)]))}[Xt(473)](t){const e=Xt;for(let i=0;i<t[e(227)];i++){if(e(181)===t[i][e(273)])t[i][e(295)][e(206)]=i;else if(e(363)===t[i][e(273)]){t[i][e(295)][e(286)]=i;const s=t[i][e(295)][e(206)];t[s][e(394)]=t[i].id,t[i][e(394)]=t[s].id}else t[i][e(295)][e(206)]=i,t[i][e(295)][e(286)]=i,t[i][e(394)]=null;t[i][e(234)]||(t[i][e(234)]=[],t[i][e(291)]=[])}}[Xt(294)](t,e){const i=Xt,s=t[i(329)]((t=>!t[i(276)]));for(let t=0;t<e[i(227)];t++)e[t][i(276)]&&(s[t][i(276)]=e[t][i(276)])}[Xt(471)](t,e=null){const i=Xt,s=this[i(386)][i(311)](t),n=e?this[i(386)][i(311)](e):null,r=this[i(157)](s,n),o=r[r[i(227)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(227)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(310)](e[i(283)]))if(e[i(283)][t][i(417)]){const s=e[i(283)][t][i(417)];s[i(175)]?(u[i(197)](t),l[i(198)](t)&&l[i(342)](t)[i(260)]==s[i(260)]?l[i(270)](t):l[i(412)](t,s)):l[i(198)](t)?(u[i(270)](t),l[i(270)](t)):(u[i(197)](t),l[i(412)](t,s))}else u[i(197)](t)}for(const t of u){const e=l[i(198)](t)&&!l[i(342)](t)[i(175)];let s=e?r[i(227)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(283)][t]){const s=e?o[i(283)][t][i(382)]:o[i(283)][t][i(354)];c[i(176)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(159)]={};for(const e of t[i(323)])a[i(412)](e.id,e);for(const e of u){const s=t[i(283)][e]?t[i(283)][e][i(395)]:"[]",n=t[i(283)][e]?t[i(283)][e][i(209)]:"[]";t[i(159)][e]={insertions:this[i(346)][i(328)](s),deletions:this[i(346)][i(328)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(403)](s[i(159)][t][i(395)][i(305)])[i(329)]((([t])=>!t[i(381)](i(171)))));let h=0;for(const o of r){const r=this[i(221)](o[i(159)][t][i(395)]);o==s?(e=r,n=e[i(227)],e[i(160)]((t=>{t.id=h++})),this[i(473)](e)):this[i(294)](e,r);const a=e[i(329)]((t=>!t[i(276)]))[i(243)]((t=>t.id));let c=0;const l=this[i(221)](o[i(159)][t][i(209)]);l[i(160)]((t=>{t[i(164)]?t.id=n++:t.id=a[c++]})),this[i(473)](l),this[i(247)](e,i(276)),this[i(247)](l,i(164)),o==s&&this[i(317)](e,u),e=this[i(268)](e,l),this[i(300)](e),this[i(247)](e,i(164))}e=e[i(329)]((t=>!(t[i(276)]&&t[i(164)])));const d=new Map(o[i(159)][t][i(209)][i(305)]),f=new Set(u[i(310)]());for(const t of d[i(310)]())f[i(270)](t);this[i(384)](e,f),this[i(207)](e),e=this[i(258)](e),e=this[i(251)](e),e=this[i(214)](e);const{root:m,changes:p}=this[i(327)](e,a,t);c[i(159)][t]=m;const v=l[i(342)](t);if(v){const e=a[i(342)](v[i(260)]),s=new qt({author:e,type:v[i(175)]?i(197):i(200),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(161)](s),c[i(176)][t][i(169)]=s.id}c[i(411)]=c[i(411)][i(174)](p)}return c}[Xt(317)](t,e){const i=Xt;for(let s=0;s<t[i(227)];s++)for(const[n,r]of e)!r[i(226)]&&r[i(476)][i(391)](t[s][i(358)])&&t[s][i(234)][i(158)](n),r[i(296)][i(391)](t[s][i(341)])&&t[s][i(291)][i(158)](n)}[Xt(268)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(227)]||r<e[i(227)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(158)](o);else if(a[i(164)]&&o[i(276)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(246)](t,n,e,r);s=s[i(174)](o),n=a,r=c}else a[i(164)]?(r++,s[i(158)](a)):(n++,s[i(158)](o))}return s}[Xt(384)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(227)];o++){for(let r=0;r<t[o][i(234)][i(227)];r++){const a=t[o][i(234)][r];if(!e[i(198)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(475)!=c||i(326)!=u&&i(154)!=u||(s[i(161)]({type:u,name:a,userId:l}),t[o][i(234)][i(262)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(291)][i(227)];r++){const a=t[o][i(291)][r];if(!e[i(198)](a))continue;const{group:c,type:u}=n(a);if(i(475)!=c||i(326)!=u&&i(154)!=u)continue;t[o][i(291)][i(262)](r,1),r--;const l=s[i(185)]((t=>t[i(235)]==a));l>-1&&s[i(262)](l,1)}}function n(t){const e=i,s=t[e(434)](":");return{group:s[0],type:s[1],subType:s[e(227)]>=5?s[2]:null,id:s[e(227)]<5?s[2]:s[3],authorId:s[e(227)]<5?s[3]:s[4],markerCount:6==s[e(227)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(227)];i++){if(t[e(276)]&&e(326)==s[i][e(273)]&&t[e(276)][e(260)]==s[i][e(260)])return t[e(240)]=s[i],void delete t[e(276)];if(!t[e(276)]&&!t[e(164)]&&e(154)==s[i][e(273)])return void(t[e(393)]=s[i])}}}[Xt(247)](t,e){const i=Xt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(412)](o.id,s);for(let s=0;s<t[i(227)];s++){if(i(164)==e&&t[s][i(276)]||i(276)==e&&t[s][i(164)])continue;if(i(469)==t[s][i(273)]){t[s][i(170)]=0;continue}const n=r[i(342)](t[s][i(394)]),o=r[i(342)](t[s].id);t[s][i(170)]=n-o}}[Xt(157)](t,e,i=!1){const s=Xt,n=[];let r=this[s(386)][s(191)](t),o=this[s(386)][s(191)](e);for(-1==o&&(o=this[s(386)][s(196)][s(227)],i=!1);r<o;)n[s(158)](this[s(386)][s(311)](r)),r++;return i&&n[s(158)](this[s(386)][s(311)](r)),n}[Xt(246)](t,e,i,s){const n=Xt,r=this[n(350)][n(159)][n(360)];let o=e;for(;t[o]&&t[o][n(276)];)o++;let a=s;for(;i[a]&&i[a][n(164)];)a++;u(t,e,o),u(i,s,a);const c=i[n(337)](s,a)[n(174)](t[n(337)](e,o));return c[n(431)](((t,e)=>t[n(362)]!=e[n(362)]?t[n(362)]-e[n(362)]:t[n(452)]!=e[n(452)]?t[n(452)]-e[n(452)]:t[n(170)]!=e[n(170)]?e[n(170)]-t[n(170)]:!!t[n(276)]!=!!e[n(276)]?-1==t[n(362)]||0==t[n(362)]?t[n(276)]?-1:1:t[n(276)]?1:-1:t[n(338)]-e[n(338)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(440)],c=!0;for(let n=e;n<i;n++)if(r[s(385)](t[n][s(295)])||(c=!1),t[n][s(295)][s(206)]<e&&(o=n),t[n][s(295)][s(286)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(362)]=n<=o?-1:n<a?0:1,t[n][s(338)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(170)]?t[i][s(452)]=u:(u++,t[i][s(452)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(362)]&&(t[n][s(452)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(170)]?t[e][s(452)]=u:(u--,t[e][s(452)]=u,u--)}}[Xt(207)](t){const e=Xt,i=new Map,s=this[e(350)][e(159)][e(360)];for(let n=1;n<t[e(227)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(469)==c[e(273)])continue;if(c[e(273)]!=u[e(273)])continue;if(!s[e(259)](u[e(295)])||s[e(184)](u[e(295)]))continue;if(!s[e(259)](c[e(295)])||s[e(184)](c[e(295)]))continue;if((t[n][e(276)]||t[n][e(240)])&&t[n-1][e(164)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(164)]||!t[n-1][e(276)]&&!t[n-1][e(240)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(452)]==o[e(452)],h=Math[e(242)](r[e(452)])<Math[e(242)](o[e(452)])&&0==o[e(170)];(l||h)&&(i[e(412)](o.id,r.id),t[e(262)](a,1),n--,r[e(276)]=!1)}for(let s=0;s<t[e(227)];s++)i[e(198)](t[s][e(394)])&&(t[s][e(394)]=i[e(342)](t[s][e(394)]))}[Xt(258)](t){const e=Xt,i=new Set(t[e(243)]((t=>t.id)));for(let s=0;s<t[e(227)];s++)i[e(198)](t[s][e(394)])||0==t[s][e(170)]||(t[s][e(285)]=!0);return t[e(329)]((t=>!t[e(285)]))}[Xt(251)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(227)];s++){if(i[e(198)](t[s].id)&&t[s][e(164)]&&(t[s][e(285)]=!0),t[s][e(285)])continue;if(0==t[s][e(170)])continue;if(e(181)!=t[s][e(273)])continue;if(null==t[s][e(394)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(394)];)e(181)==t[n][e(273)]?r++:e(363)==t[n][e(273)]&&r--,n++;if(0!=r)if(t[s][e(164)])t[s][e(285)]=!0;else for(;n!=s;)t[n][e(164)]&&0!=t[n][e(170)]&&(t[n][e(285)]=!0,i[e(197)](t[n][e(394)])),n--}return t[e(329)]((t=>!t[e(285)]))}[Xt(214)](t){const e=Xt,i=this[e(350)][e(159)][e(360)];for(let s=0;s<t[e(227)];s++){if(!(t[s][e(276)]||t[s][e(240)]||t[s][e(164)]||t[s][e(393)]))continue;if(0==t[s][e(170)])continue;const n=t[s][e(295)];i[e(259)](n)||i[e(184)](n)||(t[s][e(276)]&&delete t[s][e(276)],t[s][e(240)]&&delete t[s][e(240)],t[s][e(393)]&&delete t[s][e(393)],t[s][e(164)]&&(t[s][e(285)]=!0))}return t[e(329)]((t=>!t[e(285)]))}[Xt(327)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(350)][s(159)],c=a[s(360)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(227)];e++)if(s(181)===t[e][s(273)]){t[e][s(358)]=a[s(443)](n,f);const i=new H.Element(t[e][s(295)][s(235)],t[e][s(295)][s(314)]());u[0][s(249)](i),f[s(158)](0),u[s(161)](i),t[e][s(341)]=a[s(443)](n,f)}else s(363)===t[e][s(273)]?(u[s(192)](),t[e][s(358)]=a[s(443)](n,f),f[s(222)](),f[f[s(227)]-1]++,t[e][s(341)]=a[s(443)](n,f)):(t[e][s(358)]=a[s(443)](n,f),d?d[s(290)]+=t[e][s(295)][s(239)]:d=new H.Text(t[e][s(295)][s(239)],t[e][s(295)][s(314)]()),t[e+1]&&s(469)===t[e+1][s(273)]&&v(d,t[e+1][s(295)])||(u[0][s(249)](d),d=null),f[f[s(227)]-1]+=t[e][s(295)][s(424)],t[e][s(341)]=a[s(443)](n,f));for(let e=0;e<t[s(227)];e++){const i=t[e][s(358)],n=t[e][s(341)];for(const n of t[e][s(234)])o[s(412)](n,{start:i,end:null});m(s(393),e,i,n),m(s(240),e,i,n),m(s(164),e,i,n),m(s(276),e,i,n);for(const i of t[e][s(291)]){const t=o[s(342)](i);t?t[s(296)]=n:o[s(412)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(350)][s(159)][s(187)](e[s(476)],e[s(296)]);n[s(305)][s(412)](t,i)}return r[s(431)](((t,e)=>{const i=s,r=n[i(305)][i(342)](i(171)+t.id),o=n[i(305)][i(342)](i(171)+e.id);return r[i(476)][i(229)](o[i(476)])?-1:r[i(476)][i(432)](o[i(476)])?1:r[i(296)][i(229)](o[i(296)])?-1:r[i(296)][i(432)](o[i(296)])?1:i(197)===t[i(273)]?-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(260)]:null,d=i===t[o(227)]-1,f=h[e][0],m=c[o(433)](t[i][o(295)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(296)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(260)]!==u&&(l[e][o(296)]=n,f&&f[o(260)]===l[e][o(260)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(181)!==t[i][o(273)]||f&&f[o(260)]===u||h[e][o(161)]({userId:u,object:t[i][o(295)],change:l[e]}),o(363)===t[i][o(273)]&&f&&f[o(448)]===t[i][o(295)]&&(h[e][o(192)](),l[e]=f[o(230)])),l[e]&&d&&(l[e][o(296)]=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(295)],f=a[h(360)][h(259)](d)&&!a[h(360)][h(184)](d),m=t[h(275)]==o[h(218)]&&o[h(454)];if(f&&m)return;const p=a[h(187)](t,o),v=e[h(342)](u),g=new qt({author:v,type:h(276)==l||h(240)==l?h(197):h(200),data:{isSuggestion:h(240)==l||h(393)==l},createdAt:new Date,rootName:i});r[h(158)](g),n[h(305)][h(412)](h(171)+g.id,p)}function v(t,e){const i=s,n=t[i(314)](),r=e[i(314)]();for(const t of n){if(t[1]!==e[i(264)](t[0]))return!1;r[i(456)]()}return r[i(456)]()[i(269)]}}[Xt(156)](){const t=Xt;this[t(350)][t(190)][t(470)](t(299))[t(344)]({view:t(405)}),this[t(350)][t(190)][t(470)](t(407))[t(335)]({model:t(405),view:e=>{const i=t,s=e[i(409)][i(434)](":")[1],n=this[i(442)](s);if(!n)return null;const r=i(197)==n[i(273)]?i(326):i(154),o=[i(376),i(212)+r];return n[i(239)][i(203)]&&o[i(158)](i(212)+r+i(461)),this[i(368)]==n&&o[i(158)](i(279)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(350)][t(190)][t(470)](t(299))[t(197)]((e=>{const i=t;e.on(i(336),((t,e,s)=>{const n=i,r=e[n(180)][n(244)](0);if(!r||!r.is(n(213),n(281)))return;if(!s[n(423)][n(252)](r,{attributes:[n(401),n(439)]}))return;const o=e[n(330)][n(476)][n(275)];s[n(254)][n(151)](n(401),r[n(264)](n(401)),o),s[n(254)][n(151)](n(439),r[n(264)](n(439)),o)}),{priority:i(318)})})),this[t(350)][t(190)][t(470)](t(299))[t(197)]((e=>{const i=t;e.on(i(213),((t,e,s)=>{const n=i;if(!s[n(423)][n(252)](e[n(180)],{attributes:[n(401),n(439)]}))return;if(e[n(330)][n(226)])return;const r=e[n(330)][n(476)][n(275)];r[n(352)](n(401))||r[n(352)](n(216))||(s[n(254)][n(151)](n(401),e[n(180)][n(264)](n(401)),r),s[n(254)][n(151)](n(439),e[n(180)][n(264)](n(439)),r))}),{priority:i(318)})})),this[t(350)][t(190)][t(470)](t(299))[t(188)]({view:{name:t(366),attributes:{vid:!0}},model:{key:t(216),value:e=>e[t(264)](t(216))}}),this[t(350)][t(159)][t(360)].on(t(189),((e,[,i])=>{const s=t;[s(401),s(439),s(216)][s(378)](i)&&(e[s(343)]=!0,e[s(253)]())}),{priority:t(408)}),this[t(350)][t(190)][t(470)](t(315))[t(197)]((e=>{const i=t;e.on(i(266),((t,e,s)=>{const n=i;if(" "!=e[n(295)][n(239)]||e[n(295)][n(218)][n(355)]>1)return;if(!s[n(423)][n(252)](e[n(295)],t[n(235)]))return;const r=s[n(254)],o=s[n(267)][n(316)](e[n(414)]);r[n(297)](o,r[n(428)](n(366)))}))})),this[t(350)][t(190)][t(470)](t(315))[t(400)]({model:t(405)}),this[t(350)][t(379)][t(419)].on(t(224),function(e){const i=t,s=e[i(152)][i(342)](i(248));return(t,n,r)=>{const o=i,a=n[o(409)][o(434)](":")[1],c=s[o(442)](a);if(!c)return null;const u=o(197)==c[o(273)]?o(434):o(237);if(!r[o(423)][o(257)](n[o(256)],t[o(235)]))return;const l=n[o(256)][o(199)](),h=n[o(256)][o(476)],d=e[o(159)][o(360)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(295)];p=p||d[o(274)](e);const i=r[o(267)][o(271)](e);if(i&&i[o(304)](o(250)))return;o(363)==t[o(273)]&&d[o(259)](e)&&!d[o(184)](e)&&(e[o(370)]||h[o(380)]?f&&f[o(218)]==e||(f=e,g(t[o(358)]),v=!0):m=m||t[o(358)])}function g(t){const e=o,i=r[e(254)][e(321)](e(366),{class:e(212)+u}),a=r[e(267)][e(416)](t);c[e(239)][e(203)]&&r[e(254)][e(410)](e(212)+u+e(461),i),s[e(368)]==c&&r[e(254)][e(410)](e(279),i),r[e(254)][e(446)](a,i),r[e(267)][e(186)](i,n[e(409)])}p||v||!m||g(m)}}(this[t(350)]),{priority:t(437)}),this[t(350)][t(379)][t(419)].on(t(406),((e,i,s)=>{const n=t,r=s[n(267)][n(150)](i[n(409)]);if(r)for(const t of r)(t[n(232)](n(177))||t[n(232)](n(225)))&&(s[n(267)][n(168)](t,i[n(409)]),s[n(254)][n(200)](t))}),{priority:t(437)}),this[t(350)][t(379)][t(419)].on(t(224),((e,i,s)=>{const n=t,r=i[n(409)][n(434)](":")[1],o=this[n(442)](r);if(!o)return null;const a=n(197)==o[n(273)]?n(434):n(237);if(s[n(423)][n(257)](i[n(256)],e[n(235)]))for(const t of i[n(256)][n(353)]()){if(!t.is(n(213),n(351)))continue;const e=s[n(254)][n(321)](n(366),{class:n(212)+a}),r=s[n(267)][n(416)](this[n(350)][n(159)][n(287)](t));o[n(239)][n(203)]&&s[n(254)][n(410)](n(212)+a+n(461),e),this[n(368)]==o&&s[n(254)][n(410)](n(279),e),s[n(254)][n(446)](r,e),s[n(267)][n(186)](e,i[n(409)])}}),{priority:t(437)}),this[t(350)][t(159)][t(312)].on(t(230),(()=>{const e=t;this[e(350)][e(379)][e(429)][e(230)]((t=>{const i=e;for(const e of this[i(350)][i(159)][i(312)][i(464)]()){const s=this[i(350)][i(159)][i(312)][i(468)](e),n=this[i(350)][i(379)][i(429)][i(312)][i(468)](e);if(n){const e=s[i(264)](i(169));if(t[i(236)](i(167),n),t[i(373)](i(430),n),t[i(373)](i(463),n),t[i(373)](i(204),n),e){const s=this[i(442)](e);if(!s)return null;t[i(151)](i(167),e,n),t[i(410)](i(348)+s[i(273)],n),this[i(368)]==s&&t[i(410)](i(204),n)}}}}))})),this[t(350)][t(190)][t(470)](t(299))[t(344)]({view:t(438),model:e=>t(345)+e,converterPriority:t(408)}),this[t(350)][t(190)][t(470)](t(299))[t(344)]({view:t(361),model:e=>t(194)+e,converterPriority:t(408)}),this[t(350)][t(190)][t(470)](t(315))[t(400)]({model:t(475),view:e=>({name:t(231)+e,group:t(475)}),converterPriority:t(408)}),this[t(350)][t(190)][t(470)](t(407))[t(335)]({model:t(475),view:e=>{const i=t,s=e[i(409)][i(434)](":")[1];return i(326)!=s&&i(154)!=s?null:{classes:[i(241),i(413)+s]}}}),this[t(350)][t(379)][t(419)].on(t(298),ee(this[t(350)],t(237)),{priority:t(437)}),this[t(350)][t(379)][t(419)].on(t(303),ee(this[t(350)],t(434)),{priority:t(437)}),this[t(350)][t(379)][t(419)].on(t(387),((e,i,s)=>{const n=t,r=s[n(267)][n(150)](i[n(409)]);if(r)for(const t of r)t.is(n(374))&&(s[n(267)][n(168)](t,i[n(409)]),s[n(254)][n(200)](t))}),{priority:t(437)})}[Xt(442)](t){const e=Xt;return this[e(261)][e(342)](t)}[Xt(289)](t){const e=Xt;return this[e(182)]&&this[e(182)][e(155)](),this[e(182)]=new Wt(this[e(350)][e(474)],t),this[e(182)]}[Xt(265)](){const t=Xt;this[t(350)][t(159)][t(312)][t(195)][t(219)](t(405)),this.on(t(420),((e,i,s,n)=>{const r=t;n&&this[r(220)][r(200)](n),s&&(this[r(220)][r(197)]({view:s,stackId:r(356),position:{target:()=>{const t=r,e=this[t(350)][t(379)],i=this[t(442)](s[t(364)]);let n;if(i[t(239)][t(375)]){const s=e[t(429)][t(210)](i[t(173)]);n=Array[t(403)](s[t(333)]())}else{const i=this[t(350)][t(159)][t(305)][t(342)](t(171)+s[t(364)]);n=Array[t(403)](e[t(267)][t(150)](i[t(235)]))[t(243)]((i=>e[t(429)][t(460)][t(306)](i)))[t(243)]((e=>Array[t(403)](e[t(333)]())))[t(179)]()}return this[t(402)]&&n[t(313)]((e=>e[t(465)]-3<=this[t(402)].y&&e[t(458)]+3>=this[t(402)].y&&e[t(301)]-3<=this[t(402)].x&&e[t(280)]+3>=this[t(402)].x))||n[0]}}}),this[r(220)][r(436)](r(356)))})),this.on(t(183),((e,i,s,n)=>{const r=t;this[r(193)]=s?this[r(289)](s):null,this[r(350)][r(159)][r(230)]((()=>{const t=r,e=this[t(350)][t(379)];n&&(n[t(239)][t(375)]?e[t(429)][t(230)]((i=>{const s=t;i[s(373)](s(204),e[s(429)][s(312)][s(468)](n[s(173)]))})):e[t(383)](t(171)+n.id)),s&&(s[t(239)][t(375)]?e[t(429)][t(230)]((i=>{const n=t;i[n(410)](n(204),e[n(429)][n(312)][n(468)](s[n(173)]))})):e[t(383)](t(171)+s.id))}))})),this[t(365)](this[t(350)][t(379)][t(429)][t(312)],t(427),((e,i)=>{const s=t;if(this[s(368)])return;const n=this[s(467)](i[s(453)]),r=this[s(261)][s(342)](n);r?(this[s(402)]={x:i[s(320)].x,y:i[s(320)].y},this[s(193)]=this[s(289)](r)):(this[s(402)]=null,this[s(193)]=null)})),this[t(365)](this[t(350)][t(379)][t(429)][t(312)],t(308),((e,i)=>{const s=t,n=this[s(467)](i[s(453)]),r=this[s(261)][s(342)](n);r?(this[s(402)]={x:i[s(320)].x,y:i[s(320)].y},r===this[s(368)]?this[s(220)][s(340)]():this[s(368)]=r):(this[s(402)]=null,this[s(368)]=null)}))}[Xt(467)](t){const e=Xt;do{const i=t[e(264)](e(167));if(i)return i;t=t[e(218)]}while(t);return null}[Xt(293)](){const t=Xt;this[t(350)][t(159)][t(230)]((e=>{const i=t;for(const t of this[i(350)][i(159)][i(305)])e[i(277)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=se;if(!n[r(423)][r(257)](s[r(256)],i[r(235)]))return;const o=s[r(256)][r(199)](),a=s[r(256)][r(476)],c=t[r(159)][r(360)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(295)];h=h||c[r(274)](e);const i=n[r(267)][r(271)](e);if(i&&i[r(304)](r(250)))return;r(363)==t[r(273)]&&c[r(259)](e)&&!c[r(184)](e)&&(e[r(370)]||a[r(380)]?u&&u[r(218)]==e||(u=e,f(t[r(358)]),d=!0):l=l||t[r(358)])}function f(t){const i=r,o=n[i(267)][i(416)](t),a=n[i(254)][i(321)](i(366),{class:i(413)+e});n[i(254)][i(446)](o,a),n[i(267)][i(186)](a,s[i(409)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(152)][e(342)](te);this[e(245)]=!1,this[e(365)](i,e(450),(()=>this[e(162)]())),this[e(365)](i,e(422),(()=>this[e(162)]()))}[Xt(172)](){const t=Xt,e=this[t(350)],i=e[t(152)][t(342)](te),s=i[t(302)]?i[t(278)][t(425)]:null;e[t(398)][t(342)](t(292))[t(339)](s)}[Xt(162)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(350)][t(152)][t(342)](te),r=n&&s[t(349)](n[t(425)]);this[t(377)]=e&&i&&Boolean(r)}}function se(t,e){const i=Qt();return(se=function(t,e){return i[t-=150]})(t,e)}class ne extends U.Command{[Xt(388)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(152)][i(342)](te);this[i(245)]=!1,this[i(388)]=i(201)===e?1:-1,this[i(365)](s,i(450),(()=>this[i(162)]())),this[i(365)](s,i(422),(()=>this[i(162)]())),this[i(365)](s,i(183),(()=>this[i(162)]()))}[Xt(172)](){const e=Xt,i=this[e(350)],s=i[e(152)][e(342)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(368)]=n?s[e(278)][e(411)][e(342)](r+this[e(388)]):s[e(278)][e(411)][e(441)],s[e(368)][e(239)][e(375)])o=i[e(379)][e(429)][e(210)](s[e(368)][e(173)]);else{const t=i[e(159)][e(305)][e(342)](e(171)+s[e(368)].id);o=(0,Z.getMarkerDomElement)(i[e(379)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(162)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(350)][t(152)][t(342)](te);this[t(377)]=!!(r&&n&&s)&&(!e||(1===this[t(388)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["div","X_OF_Y_CHANGES","isReady","backward","357MMZOyy","NUMBER_OF_CHANGES","isBackwardNavigationEnabled","_isStatusLabelVisible","71830kOqMAP","ck-hidden","ck-revision-history-ui__changes-navigation","isForwardNavigationEnabled","set","Show next change","Loading...","ck-revision-history-ui__changes-navigation__wrapper","No changes","319734hxqXeg","numberOfChanges","setTemplate","15vqDBIJ","ck-revision-history-ui__changes-navigation__label","918063QBoxwD","isNavigationMode","Show previous change","48504mqLMKS","648888MJqSeH","442552SmKwmO","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__navigation","span","fire","isEnabled","1295768gaKuxv","bindTemplate","bind","currentChangeNumber","EDIT_X_OF_Y_REVISIONS","_statusText","forward","execute","Total","1917OvipWt"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=464]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(167901===-parseInt(e(484))/1+parseInt(e(494))/2+-parseInt(e(489))/3+-parseInt(e(500))/4+-parseInt(e(487))/5*(parseInt(e(493))/6)+parseInt(e(471))/7*(-parseInt(e(492))/8)+-parseInt(e(466))/9*(-parseInt(e(475))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(501)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(479)](e(490),!1),this[e(479)](e(469),!1),this[e(479)](e(503),0),this[e(479)](e(485),0),this[e(479)](e(478),!1),this[e(479)](e(473),!1),this[e(502)](e(474)).to(this,e(469),this,e(485),((t,e)=>t&&e>0)),this[e(502)](e(505)).to(this,e(469),this,e(503),this,e(485),this,e(490),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(481));if(!n)return X(t,o(483));const a=X(t,o(472),n);return r?X(t,o(468),[s+1,n]):a})),s[e(479)]({label:X(t,e(491)),tooltip:!0,icon:mt.IconChevronUp}),n[e(479)]({label:X(t,e(480)),tooltip:!0,icon:mt.IconChevronDown}),s[e(502)](e(499)).to(this,e(473)),n[e(502)](e(499)).to(this,e(478)),s.on(e(464),(()=>this[e(498)](e(464),e(470)))),n.on(e(464),(()=>this[e(498)](e(464),e(506)))),this[e(486)]({tag:e(467),attributes:{class:["ck",e(495),e(477)]},children:[{tag:e(497),attributes:{class:[e(482)]},children:[{tag:e(497),attributes:{class:[e(488),i.if(e(474),e(476),(t=>!t))]},children:[{text:i.to(e(490),(i=>i?X(t,e(504))+": ":X(t,e(465))+": "))}]},{text:i.to(e(505))}]},new pt.ToolbarSeparatorView,{tag:e(467),attributes:{class:[e(496)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=pe;!function(t){const e=pe,i=t();for(;;)try{if(307456===parseInt(e(473))/1*(-parseInt(e(484))/2)+-parseInt(e(471))/3*(-parseInt(e(491))/4)+-parseInt(e(479))/5+-parseInt(e(483))/6*(-parseInt(e(478))/7)+-parseInt(e(496))/8*(parseInt(e(475))/9)+-parseInt(e(480))/10+-parseInt(e(485))/11*(-parseInt(e(490))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const fe=de(493);function me(){const t=["editor","5001093RvASHX","pluginName","RevisionViewerLoadingOverlay","168XaPSaK","1086275QhmQWr","1212420rgwtmT","isOfficialPlugin","addClass","74778SdTFIe","63682ytaSRm","9040559mpTeRT","roots","change","view","show","12tqOEJI","56oAjpOQ","removeClass","ck-editor__editable__loading-overlay","hide","document","8qJLNif","editing","24105JDwpvz","isPremiumPlugin","1mdzOIu"];return(me=function(){return t})()}function pe(t,e){const i=me();return(pe=function(t,e){return i[t-=471]})(t,e)}class ve extends U.Plugin{static get[de(476)](){return de(477)}static get[de(481)](){return!0}static get[de(472)](){return!0}[de(489)](){const t=de,e=this[t(474)][t(497)][t(488)];e[t(487)]((i=>{const s=t;for(const t of e[s(495)][s(486)])i[s(482)](fe,t)}))}[de(494)](){const t=de,e=this[t(474)][t(497)][t(488)];e[t(487)]((i=>{const s=t;for(const t of e[s(495)][s(486)])i[s(492)](fe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=402]})(t,e)}function ke(){const t=["requires","isEnabled","4JKOOAl","376374Thfowf","config","changesNavigation","componentFactory","add","ck-revision-history-ui__back-to-editing","editor","946759KvrGvM","1393nvJdDu","pluginName","show","2360676mKiCux","30NbVguG","isReady","restoreRevision","init","set","Back to editing","closeRevisionViewerCallback","3535560egyuZO","isPremiumPlugin","10QwKEJE","forward","showPreviousChange","commands","5405913RFqfyl","RevisionViewerUI","24133Djsvls","Restore this revision","exitToEditing","isBackwardNavigationEnabled","change:isReady","28712JTLNjs","execute","isForwardNavigationEnabled","currentChangeNumber","plugins","listenTo","bind","74UhRZQc","get","numberOfChanges","isNavigationMode","isOfficialPlugin","hide","revisionHistory","showNextChange"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(537490===-parseInt(e(441))/1*(parseInt(e(403))/2)+-parseInt(e(425))/3*(-parseInt(e(413))/4)+-parseInt(e(426))/5*(-parseInt(e(414))/6)+parseInt(e(422))/7*(-parseInt(e(446))/8)+parseInt(e(439))/9+parseInt(e(435))/10*(parseInt(e(421))/11)+parseInt(e(433))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(423)](){return ge(440)}static get[ge(407)](){return!0}static get[ge(434)](){return!0}static get[ge(411)](){return[te,ve]}[ge(429)](){const t=ge,e=this[t(420)],i=e[t(450)][t(404)](te),s=e[t(450)][t(404)](ve);e.ui[t(417)][t(418)](t(443),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(430)]({label:X(i,s(431)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(419)}),this[s(451)](n,s(447),(()=>{const t=s;e[t(415)][t(404)](t(409))[t(432)]()})),n})),e.ui[t(417)][t(418)](t(428),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(430)]({label:X(i,s(442)),withText:!0,tooltip:!0}),n[s(402)](s(412)).to(e[s(438)][s(404)](s(428))),this[s(451)](n,s(447),(()=>e[s(447)](s(428)))),n})),e.ui[t(417)][t(418)](t(416),(s=>{const n=t,r=new ue(s),o=e[n(438)][n(404)](n(437)),a=e[n(438)][n(404)](n(410));return r[n(402)](n(444)).to(o,n(412)),r[n(402)](n(448)).to(a,n(412)),r[n(402)](n(427),n(449),n(405),n(406)).to(i),this[n(451)](r,n(447),((t,i)=>{const s=n;e[s(447)](s(436)===i?s(410):s(437))})),r})),s[t(424)](),i.on(t(445),((e,i,n)=>{const r=t;n?s[r(408)]():s[r(424)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Oe;function Se(){const t=["element","clientWidth","set","3IQAwZO","119172easkxT","_updateTooltipText","_resizeObserver","308PpbCDx","450403zxgnzB","1273518AspjeH","7UPxPDD","placeholder","value","_tooltipString","ck-tooltip_multi-line","Revision name","10Cdphfu","fieldView","Enter the revision name","ck-revision-history-sidebar__revision-name","render","span","826080bqDozW","3419120zBmSCE","bindTemplate","input","listenTo","extendTemplate","1020MYzQqf","6600WSVBXI","1054216tWAQwT","destroy","scrollWidth"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=316]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(234493===parseInt(e(317))/1+-parseInt(e(331))/2+parseInt(e(345))/3*(parseInt(e(339))/4)+-parseInt(e(338))/5*(-parseInt(e(337))/6)+-parseInt(e(319))/7*(parseInt(e(332))/8)+-parseInt(e(318))/9*(parseInt(e(325))/10)+parseInt(e(316))/11*(parseInt(e(346))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(348)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(333)];this[i(344)]({label:X(t,i(324)),_tooltipString:""}),this[i(326)][i(320)]=X(t,i(327)),this[i(336)]({tag:i(330),attributes:{class:[i(328)],"data-cke-tooltip-text":s.to(i(322)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(323)}})}[Ie(329)](){const e=Ie;super[e(329)](),this[e(348)]=new t.ResizeObserver(this[e(326)][e(342)],(()=>this[e(347)]())),this[e(335)](this[e(326)],e(334),(()=>this[e(347)]()))}[Ie(340)](){const t=Ie;super[t(340)](),this[t(348)]&&this[t(348)][t(340)]()}[Ie(347)](){const t=Ie,e=this[t(326)][t(342)];this[t(322)]=e[t(341)]>e[t(343)]&&e[t(321)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=319]})(t,e)}function Re(){const t=["603nSNllv","5794992wQyRSy","setTemplate","0 0 11 10","24291RpyXea","94632aHUDJS","span","744902jvdGbq","972RkUsvO","46460LrTlJs","195327dYMRng","354jAiofW","ck-revision-history-sidebar__revision-author__name","2823780ivlhyO","404KRAUOl","set","push","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator","Revision creator","Revision author","name","3KZKMYl"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(747488===parseInt(e(333))/1*(parseInt(e(341))/2)+parseInt(e(338))/3*(-parseInt(e(325))/4)+parseInt(e(320))/5*(parseInt(e(322))/6)+parseInt(e(335))/7+-parseInt(e(339))/8*(-parseInt(e(334))/9)+-parseInt(e(324))/10+parseInt(e(321))/11*(-parseInt(e(319))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Me extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(326)]({content:mt.IconUser,viewBox:s(337)});const r=["ck",s(328)];i&&r[s(327)](s(329));const o=[{tag:s(340),attributes:{class:["ck",s(323)],title:X(t,s(i?330:331))},children:[n,e[s(332)]]}];this[s(336)]({tag:"li",attributes:{class:r},children:o})}}function De(t,e){var i=Ee();return(De=function(t,e){return i[t-=213]})(t,e)}function Ee(){var t=["3025418AWLJmC","90UfqKiJ","18hgHyQr","5368504lhLYiL","long","5845KSsVKw","1234352zQxApq","numeric","61188WFJQui","3797968IMJgna","toLocaleDateString","4470297pQCrzg","toLocaleTimeString"];return(Ee=function(){return t})()}!function(t){for(var e=De,i=t();;)try{if(851927===-parseInt(e(225))/1+-parseInt(e(219))/2+parseInt(e(217))/3+parseInt(e(222))/4+-parseInt(e(220))/5*(parseInt(e(214))/6)+parseInt(e(224))/7+parseInt(e(215))/8*(parseInt(e(221))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Ve=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=409]})(t,e)}function Le(){const t=["action","42akyfKq","listView","children","set","107978jKGrEJ","function","buttonView","menu","class","execute","Show more items","listenTo","108lzBmYn","1857628eJfUji","1111WycsSf","686736medTlE","Restore this revision","button","menuitem","stopPropagation","name","ck-on","321175YPQaNB","model","7lTedJs","204510ggLZIw","source","bind","isEnabled","2820377BuhEBY","285656nimKKN","map","first","isOpen","isActionsDropdownOpen","_action","items","change:isActionsDropdownOpen","find","bindTemplate","Compare against selected","locale","panelPosition","isVisible","add","Name this revision","ck-revision-history-sidebar__revision__actions","isReady","extendTemplate"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(286731===parseInt(e(430))/1*(parseInt(e(410))/2)+parseInt(e(421))/3+parseInt(e(419))/4+-parseInt(e(428))/5*(-parseInt(e(456))/6)+parseInt(e(435))/7+-parseInt(e(436))/8*(-parseInt(e(418))/9)+parseInt(e(431))/10*(-parseInt(e(420))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=468]})(t,e)}function Ue(){const t=["change","srcElement","filter","ck-disabled","revisionNameView","unshift","220",".ck-thread__remove-confirm","value","12378420UCJcwl","highlight","span","isHighlighted","set","listenTo","element","createdAt","creator","isEnabled","authors","ck-reset","isSelected","ck-revision-history-sidebar__revision__controls-wrapper","setTemplate","fieldView","ck-revision-history-sidebar__revision","select","30082THTHJW","4531751TBoYOY","length","bindTemplate","ck-revision-history-sidebar__revision-wrapper","setName","name","extendTemplate","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unhighlight","ck-revision-history-sidebar__actions_dropdown_open","321408OwAqcs","_revision","isActionsDropdownOpen","isReady","uiLanguage","div","map","4736920CyTkfs","ck-revision-history-sidebar__revision__date","_requireRevisionName","from","render","ck-revision-history-sidebar__revision-authors","18jpKLNY","revisionActionsView","fire","ck-revision-history-sidebar__revision_highlighted","bind","closest","deselect","822955cdKQmE","isConfirm","_createdAtFormatted","15alyizC","ck-revision-history-sidebar__revision_selected","30542VxclAX"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(391980===parseInt(e(502))/1+parseInt(e(474))/2*(-parseInt(e(472))/3)+parseInt(e(513))/4+parseInt(e(469))/5*(parseInt(e(526))/6)+parseInt(e(503))/7+parseInt(e(520))/8+-parseInt(e(484))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(479)];[ze(527)];[ze(514)];[ze(522)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(505)],a=function(t,e){const i=r,s=Array[i(523)](e[i(494)])[i(477)]((t=>t!=e[i(492)]));return e[i(492)]&&s[i(480)](e[i(492)]),s[i(519)]((s=>new Me(t,s,s==e[i(492)])))}(e,i);this.id=i.id,this[r(514)]=i,this[r(522)]=n,this[r(530)](r(508),r(491)).to(i),this[r(530)](r(471)).to(this,r(491),(t=>{return i=e[r(517)],(s=t)[(n=De)(216)](i,{month:n(223),day:n(213)})+", "+s[n(218)](i,{hour:n(213),minute:n(213)});var i,s,n})),this[r(488)](r(496),!1),this[r(488)](r(487),!1),this[r(488)](r(515),!1),this[r(488)](r(516),!1),this[r(488)](r(493),!1),this[r(479)]=new Te(e,pt.createLabeledInputText),this[r(479)][r(499)][r(509)]({attributes:{maxlength:r(481)}}),this[r(479)][r(499)][r(530)](r(483)).to(this,r(508),(t=>t||this[r(471)])),this[r(479)][r(530)](r(493)).to(this,r(496),this,r(493),((t,e)=>t&&e)),this[r(527)]=s&&s[r(504)]?function(e,i){const s=Fe,n=e[s(445)],r=e[s(447)],o=(0,pt.createDropdown)(r);o[s(448)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(447)],n={"Compare against selected":X(s,i(446)),"Name this revision":X(s,i(451)),"Restore this revision":X(s,i(422))};return e[i(437)]((t=>{const e=i,s=n[t[e(426)]];return s&&s!==t[e(426)]&&(t[e(426)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(423),model:new pt.ViewModel({label:t[n(426)],class:t[n(414)],withText:!0,role:n(424),_action:t[n(455)]})};i[n(429)][n(433)](n(434)).to(e,n(440),(i=>n(411)!=typeof t[n(434)]||!i||t[n(434)](e))),o[n(450)](i)}return o}(e,i);return e[s(433)](s(440)).to(o,s(439)),o[s(412)][s(409)]({label:X(r,s(416)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(454)]({attributes:{class:[s(452),n.if(s(440),s(427))]},on:{click:n.to((t=>t[s(425)]()))}}),o.on(s(415),(t=>{const i=s;e[i(453)]&&i(411)==typeof t[i(432)][i(441)]&&t[i(432)][i(441)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(413)}),o[s(417)](e,s(443),((t,n,r)=>{const a=s;if(r)for(const t of o[a(457)][a(442)]){const s=t[a(458)][a(438)],n=i[a(444)]((t=>t[a(455)]===s[a(441)]))[a(449)];t[a(449)]=void 0===n||n(e)}})),o}(this,s):"",this[r(527)]&&this[r(527)][r(530)](r(493)).to(this),this[r(498)]({tag:r(518),attributes:{class:["ck",r(495),r(506),o.if(r(470),r(510))]},children:[{tag:r(518),attributes:{class:["ck",r(495),r(500),o.if(r(493),r(478),(t=>!t)),o.if(r(496),r(473)),o.if(r(487),r(529)),o.if(r(515),r(512))]},children:[this[r(479)],{tag:r(486),attributes:{class:["ck",r(521)]},children:[{text:o.to(r(471))}]},{tag:r(518),attributes:{class:["ck",r(497)]},children:[{tag:"ul",attributes:{class:["ck",r(525)]},children:a}]},this[r(527)]],on:{click:o.to((t=>{const e=r;t[e(476)][e(531)](e(482))||this[e(516)]&&this[e(493)]&&this[e(528)](e(501),{id:this.id})}))}}]})}[ze(524)](){const t=ze;super[t(524)]();const e=this[t(479)][t(499)][t(490)];this[t(489)](e,t(475),(()=>{const i=t;this[i(522)]&&!e[i(483)]||this[i(528)](i(507),{id:this.id,name:e[i(483)]}),e[i(483)]||(e[i(483)]=this[i(508)]?this[i(508)]:this[i(471)])}))}[ze(501)](){this[ze(496)]=!0}[ze(468)](){this[ze(496)]=!1}[ze(485)](){this[ze(487)]=!0}[ze(511)](){this[ze(487)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Mi={};function Di(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Ei={};let Vi={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ai.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Di(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Ei={},Vi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Di(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Di(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Li(this,t,Qs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ms(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ds(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ds(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Vs(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Mn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Vs(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ds(e)):Ds(e),month:Gs.indexOf(i)+1,day:Ds(s),hour:Ds(n),minute:Ds(r)};return o&&(a.second=Ds(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Vn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Dn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,xn,Nn);const Xn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Vs(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Mr=864e13;function Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Vr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Dr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Dr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Dr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=254]})(t,e)}function ro(){const t=["toJSDate","2030bTePYn","minus","78584CczxEH","1054528Ffonji","local","setLocale","toRelativeCalendar","monthLong","hasSame","180rgoThm","day","startOf","week","2885435mlBMqM","86449hZvKCU","5075phIaGO","weekdayLong","1172MVDSBW","228296ppIjln","10398ZGcjSx","year","fromJSDate","429irbwyg","month"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(259)](t)[i(268)](e),n=io[i(267)](),r=n[i(264)]({days:1})[i(274)](i(273));let o,a;return s[i(271)](n,i(273))?(o=s[i(274)](i(273))[i(262)](),a=s[i(269)]()):s[i(271)](r,i(273))?(o=r[i(262)](),a=s[i(269)]()):s[i(271)](n,i(275))?(o=s[i(274)](i(275))[i(262)](),a=s[i(254)]||""):s[i(271)](n,i(258))?(o=s[i(274)](i(261))[i(262)](),a=s[i(270)]||""):(o=s[i(274)](i(258))[i(262)](),a=String(s[i(258)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(823184===-parseInt(e(265))/1+parseInt(e(266))/2+-parseInt(e(260))/3*(-parseInt(e(255))/4)+-parseInt(e(276))/5+-parseInt(e(257))/6*(parseInt(e(278))/7)+-parseInt(e(256))/8*(-parseInt(e(272))/9)+-parseInt(e(263))/10*(-parseInt(e(277))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["div","11479110XayaGL","1GjmYZd","add","setName","ck-revision-history-sidebar__time-period","span","find","_revisionActions","1350675AbSdrM","_requireRevisionName","addRevision","select","createCollection","1075700jVpXAJ","ck-revision-history-sidebar__time-period__revisions","removeRevision","24410MuFrik","localizedPeriodName","3499992YdxkgU","8xBNIPe","locale","ck-revision-history-sidebar__time-period__label","remove","4572946kUzuEv","1282824tslbUK","setTemplate","732Lrjlwz","delegate","revisionViews","uiLanguage","startDate"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(332853===-parseInt(e(481))/1*(-parseInt(e(504))/2)+parseInt(e(488))/3+-parseInt(e(493))/4+-parseInt(e(496))/5*(parseInt(e(506))/6)+-parseInt(e(503))/7*(parseInt(e(499))/8)+-parseInt(e(498))/9+parseInt(e(480))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(478)];[uo(508)];[uo(487)];[uo(489)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(500)][n(509)])[n(497)];this[n(478)]=e,this[n(508)]=this[n(492)](),this[n(487)]=i,this[n(489)]=s,this[n(508)][n(507)](n(491)).to(this),this[n(508)][n(507)](n(483)).to(this),this[n(505)]({tag:n(479),attributes:{class:["ck",n(484)]},children:[{tag:n(485),attributes:{class:["ck",n(501)]},children:[{text:r}]},{tag:n(479),attributes:{class:["ck",n(494)]},children:this[n(508)]}]})}[uo(490)](t){const e=uo,i=new Ze(this[e(500)],t,this[e(487)],this[e(489)]);this[e(508)][e(482)](i)}[uo(495)](t){const e=uo,i=this[e(508)][e(486)]((e=>e.id===t.id));this[e(508)][e(502)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=249]})(t,e)}function go(){const t=["ck-revision-history-sidebar__header__label","12128319RxdVof","1665160tPewDr","span","div","5260GdysTR","8RLvVfQ","3601164DDlroj","4360FAnURm","ck-revision-history-sidebar__header","setTemplate","697478MwJrgE","content","560489PYHFJp","Revision history","1985730QHVnIW","ck-reset_all"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(791667===-parseInt(e(264))/1+-parseInt(e(262))/2+parseInt(e(249))/3+-parseInt(e(256))/4*(parseInt(e(259))/5)+parseInt(e(258))/6+parseInt(e(253))/7+parseInt(e(257))/8*(parseInt(e(252))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(263)]=mt.IconHistory,this[e(261)]({tag:e(255),attributes:{class:["ck",e(250),e(260)]},children:[i,{tag:e(254),attributes:{class:["ck",e(251)]},children:[X(t,e(265))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(){const t=["timePeriodViews","uiLanguage","createCollection","getTime","_revisions","1734Jwqrvk","div","addRevision","setName","remove","334504ewmMIh","1342ltmOND","_removeRevision","fire","get","revisionViews","unhighlight","locale","ck-revision-history-sidebar__timeline","setTemplate","ck-disabled","ck-reset","delegate","2CSaovy","removeRevision","isEnabled","670CAMnKL","highlightRevisions","1073925RlHxkE","_revisionActions","_addRevision","_requireRevisionName","ck-revision-history-sidebar","8562uMCGLS","bindTemplate","36229siZPTm","ck-rounded-corners","_getTimePeriodViewByStartDate","add","highlight","selectRevision","revisionSetName","deselect","find","some","map","62573MtPKnD","11060AjSKLU","revisionSelected","startDate","select","render","flat","set","432vMoghg","createdAt"];return(wo=function(){return t})()}const _o=Io;function Io(t,e){const i=wo();return(Io=function(t,e){return i[t-=410]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(127710===parseInt(e(459))/1*(-parseInt(e(447))/2)+-parseInt(e(429))/3*(parseInt(e(422))/4)+parseInt(e(450))/5*(parseInt(e(457))/6)+parseInt(e(414))/7+parseInt(e(434))/8+parseInt(e(452))/9+parseInt(e(415))/10*(-parseInt(e(435))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class So extends pt.View{[_o(424)];[_o(428)];[_o(453)];[_o(455)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(458)];this[n(424)]=this[n(426)](),this[n(424)][n(446)](n(418)).to(this),this[n(424)][n(446)](n(432)).to(this),this[n(428)]=e,this[n(453)]=i,this[n(455)]=s,this.on(n(418),((t,e)=>{const i=n;this[i(437)](i(416),e)})),this.on(n(432),((t,e)=>{const i=n;this[i(437)](i(465),e)})),this[n(421)](n(449),!1),this[n(443)]({tag:n(430),attributes:{class:["ck",n(445),n(460),n(456)]},children:[new yo(t),{tag:n(430),attributes:{class:["ck",n(442),r.if(n(449),n(444),(t=>!t))]},children:this[n(424)]}]})}[_o(419)](){const t=_o;super[t(419)]();for(const e of this[t(428)])this[t(454)](e);this[t(428)].on(t(462),((e,i)=>{this[t(454)](i)})),this[t(428)].on(t(433),((e,i)=>{this[t(436)](i)}))}get[_o(439)](){const t=_o;return this[t(424)][t(413)]((e=>e[t(439)][t(413)]((t=>t))))[t(420)]()}[_o(464)](t){const e=_o;for(const i of this[e(439)])t&&t.id===i.id?i[e(418)]():i[e(410)]()}[_o(451)](t){const e=_o;for(const i of this[e(439)])t[e(412)]((({id:t})=>t===i.id))?i[e(463)]():i[e(440)]()}[_o(454)](t){const e=_o,i=oo(t[e(423)],this[e(441)][e(425)])[e(417)];let s=this[e(424)][e(438)](0);s&&s[e(417)][e(427)]()===i[e(427)]()||(s=new fo(this[e(441)],i,this[e(453)],this[e(455)]),this[e(424)][e(462)](s)),s[e(431)](t)}[_o(436)](t){const e=_o,i=oo(t[e(423)],this[e(441)][e(425)])[e(417)];this[e(461)](i)[e(448)](t)}[_o(461)](t){const e=_o;return this[e(424)][e(411)]((i=>i[e(417)][e(427)]()===t[e(427)]()))}}const Oo=To;function To(t,e){const i=No();return(To=function(t,e){return i[t-=372]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(855111===parseInt(e(389))/1*(parseInt(e(448))/2)+-parseInt(e(408))/3*(-parseInt(e(415))/4)+-parseInt(e(430))/5+-parseInt(e(441))/6+parseInt(e(440))/7*(-parseInt(e(420))/8)+-parseInt(e(413))/9*(-parseInt(e(424))/10)+parseInt(e(401))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends U.Plugin{[Oo(439)];[Oo(429)];[Oo(445)];static[Oo(393)]=[Oo(400),Oo(398),Oo(418)];static[Oo(447)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(394),action:({plugins:e},i)=>{const s=t,n=e[s(452)](te),r=n[s(423)];let o=n[s(446)][s(402)],a=i.id;r[s(433)](o)>r[s(433)](a)&&([o,a]=[a,o]),n[s(378)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(452)](te);return!(n[s(423)][s(374)](n[s(446)])[s(373)]>2||i[s(404)])}},restoreRevision:{name:t(391),action:(e,{id:i})=>{const s=t;e[s(443)][s(452)](s(380))[s(377)](i)},isVisible:({plugins:e},i)=>!!e[t(452)](te)[t(423)][t(395)](i.id)},nameRevision:{name:t(417),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(452)](te),o=r[n(423)][n(451)](i);r[n(378)](i,o),s[n(397)](),s[n(384)][n(414)]()}}}}();static get[Oo(407)](){return Oo(405)}static get[Oo(392)](){return!0}static get[Oo(426)](){return!0}static get[Oo(442)](){return[te]}constructor(t){const e=Oo;super(t),this[e(439)]=t[e(376)][e(452)](te),this[e(429)]=this[e(439)][e(423)],this[e(445)]=null}[Oo(431)](){const t=Oo,e=this[t(429)][t(425)],i=this[t(381)](),s=this[t(428)][t(443)][t(452)](t(444));this[t(445)]=new So(this[t(428)][t(435)],e,i,this[t(428)][t(443)][t(452)](t(388))),this[t(445)].on(t(416),this[t(450)][t(453)](this)),this[t(445)].on(t(382),this[t(422)][t(453)](this)),this[t(445)][t(453)](t(386)).to(this[t(439)]),this[t(445)][t(390)].on(t(399),((e,i)=>{const s=t;i[s(437)].on(s(399),((t,e)=>{const i=s;e[i(453)](i(386),i(410)).to(this[i(439)])}))})),this[t(445)][t(411)](),this[t(412)](this[t(428)][t(427)],t(406),this[t(454)][t(453)](this)),this[t(412)](this[t(439)],t(434),this[t(372)][t(453)](this)),s[t(432)](this[t(445)][t(449)])}[Oo(403)](){const t=Oo;this[t(445)][t(449)][t(409)](),this[t(445)][t(403)]()}[Oo(454)](){const t=Oo,e=this[t(429)][t(419)](0);if(e){const i=this[t(429)][t(451)](e.id);this[t(439)][t(378)](e,i)}}[Oo(450)](t,e){const i=Oo,s=this[i(429)][i(419)](e.id),n=this[i(429)][i(451)](s.id);this[i(439)][i(378)](s,n)}[Oo(422)](t,e){const i=Oo;this[i(429)][i(419)](e.id)[i(375)](e[i(396)])}[Oo(372)](t,e,i){const s=Oo,n=this[s(429)][s(374)](i);n[s(373)]>2?(this[s(445)][s(455)](n),this[s(445)][s(421)](null)):(this[s(445)][s(455)]([]),this[s(445)][s(421)](n[0]))}[Oo(381)](){const t=Oo,e=this[t(428)],i=xo[t(447)],s=e[t(443)][t(452)](t(383))||xo[t(393)];if(s[t(373)])return s[t(387)]((s=>{const n=t,r=n(438)==typeof s?Object[n(379)]({},i[s]):s;return r[n(385)]=r[n(385)][n(453)](this,e),r[n(436)]&&(r[n(436)]=r[n(436)][n(453)](this,e)),r}))}}function No(){const t=["plugins","restoreRevisionCallback","compare","assign","revisionHistory","_createRevisionActions","revisionSetName","revisionHistory.revisionActions","fieldView","action","isEnabled","map","revisionHistory.requireRevisionName","4019alCMeN","timePeriodViews","Restore this revision","isOfficialPlugin","defaultRevisionActions","Compare against selected","getLaterVisibleRevision","name","focus","restoreRevision","add","compareAgainstSelected","10603351QrtxOm","newRevisionId","destroy","isSelected","RevisionsSidebar","ready","pluginName","3arpqYZ","remove","isReady","render","listenTo","657ctSfvm","select","1279924ZUofZH","revisionSelected","Name this revision","nameRevision","getRevision","2995112AdkOCF","selectRevision","_handleRevisionSetName","repository","145190yZXnGL","_revisions","isPremiumPlugin","data","editor","_revisionsRepository","6743240OLywxF","init","appendChild","getIndex","change:diff","locale","isVisible","revisionViews","string","_revisionViewer","7FxSnvA","2958600xjIzNy","requires","config","revisionHistory.viewerSidebarContainer","_sidebarView","diff","availableRevisionActions","362xqthzd","element","_handleRevisionSelected","getEarlierVisibleRevision","get","bind","_handleEditorDataReady","highlightRevisions","_handleDiffChange","length","getRevisionsInDiff","setName"];return(No=function(){return t})()}const Ao=xo,Ro=Mo;function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=409]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(442479===parseInt(e(415))/1*(parseInt(e(450))/2)+-parseInt(e(446))/3+-parseInt(e(441))/4*(parseInt(e(435))/5)+-parseInt(e(457))/6*(-parseInt(e(425))/7)+-parseInt(e(434))/8*(parseInt(e(419))/9)+parseInt(e(423))/10*(parseInt(e(439))/11)+parseInt(e(431))/12*(parseInt(e(410))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends pt.EditorUI{[Ro(416)];[Ro(445)];[Ro(418)];get[Ro(429)](){return this[Ro(416)]}constructor(e,i){const s=Ro;super(e),this[s(416)]=i,this[s(445)]=(0,pt.normalizeToolbarConfig)(e[s(426)][s(436)](s(414))),this[s(418)]=new t.ElementReplacer}get[Ro(417)](){const t=Ro;return this[t(429)][t(417)]}[Ro(438)](t){const e=Ro,i=this[e(458)],s=this[e(429)],n=i[e(433)][e(429)],r=s[e(455)],o=n[e(453)][e(420)]();r[e(447)]=o[e(449)],s[e(412)]();const a=r[e(417)];this[e(452)](r[e(447)],a),s[e(455)][e(427)](e(442)).to(this[e(424)]),n[e(432)](a),this[e(418)][e(454)](t,this[e(417)]),this[e(448)](),this[e(422)](e(444))}[Ro(411)](){const t=Ro;super[t(411)]();const e=this[t(429)],i=this[t(458)][t(433)][t(429)];this[t(418)][t(456)](),i[t(421)](e[t(455)][t(447)]),e[t(411)]()}[Ro(448)](){const t=Ro,e=this[t(429)];e[t(443)][t(427)](t(437)).to(this[t(424)],t(442)),e[t(443)][t(409)]=e[t(417)],e[t(443)][t(427)](t(430)).to(this,t(440),(({top:t})=>t)),e[t(414)][t(413)](this[t(445)],this[t(428)]),this[t(451)](e[t(414)])}}function Eo(){const t=["fire","60tqOawd","focusTracker","7ixrcDx","config","bind","componentFactory","view","viewportTopOffset","14116812HRzYzy","attachDomRoot","editing","4777672QeYlkJ","30275zpzZlm","get","isActive","init","658669vZOhOb","viewportOffset","56GmhCYU","isFocused","stickyPanel","ready","_toolbarConfig","2462442eLZtHo","name","_initToolbar","rootName","120866uQdjmj","addToolbar","setEditableElement","document","replace","editable","restore","1732386BPAZlh","editor","limiterElement","13KpajwO","destroy","render","fillFromConfig","toolbar","2OGhHvt","_view","element","_elementReplacer","9feruiJ","getRoot","detachDomRoot"];return(Eo=function(){return t})()}var Vo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Vo.A,Co);Vo.A&&Vo.A.locals&&Vo.A.locals;var Fo=jo;function Lo(){var t=["content","_editable","3980FGLCbq","render","top","editable","2wcOvKZ","11848944ciilip","shouldToolbarGroupWhenFull","add","1873974zupcVR","4652fkfQEh","3715818dOkqNd","main","23806656IdCMrE","4144728BFcRUX","stickyPanel","1395830cBzMuT","toolbar"];return(Lo=function(){return t})()}function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=349]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(845893===-parseInt(e(349))/1*(parseInt(e(357))/2)+-parseInt(e(363))/3+-parseInt(e(362))/4*(parseInt(e(353))/5)+-parseInt(e(361))/6+parseInt(e(366))/7+parseInt(e(358))/8+parseInt(e(365))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(352)];[Fo(367)];[Fo(350)];get[Fo(356)](){return this[Fo(352)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(367)]=new pt.StickyPanelView(t),this[s(350)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(359)]}),this[s(352)]=new pt.InlineEditableUIView(t,e)}[Fo(354)](){var t=Fo;super[t(354)](),this[t(367)][t(351)][t(360)](this[t(350)]),this[t(355)][t(360)](this[t(367)]),this[t(364)][t(360)](this[t(356)])}}const zo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=263]})(t,e)}function Uo(){const t=["initPlugins","4196336Cpiwhm","destroy","init","23396835BpVtEJ","view","config","data","5707oJqrhr","document","20wTBRui","updateSourceElement","sourceElement","create","63771ocINQF","fire","4125212XhIUqg","4086ecDoaV","editing","ready","_ui","6xiKElE","15210dwtxuk","630920EIijTT","initialData","model","createRoot","locale","get","2MiuWve"];return(Uo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(348199===-parseInt(e(290))/1*(-parseInt(e(281))/2)+-parseInt(e(266))/3*(parseInt(e(292))/4)+parseInt(e(275))/5*(parseInt(e(273))/6)+-parseInt(e(268))/7+-parseInt(e(283))/8+-parseInt(e(269))/9*(parseInt(e(274))/10)+parseInt(e(286))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[zo(272)];get ui(){return this[zo(272)]}constructor(t,e){const i=zo;super(e),this[i(264)]=t,this[i(277)][i(291)][i(278)]();const s=new Po(this[i(279)],this[i(270)][i(287)],{shouldToolbarGroupWhenFull:!0});this[i(272)]=new Do(this,s)}[zo(284)](){const t=zo;return this[t(263)](),this.ui[t(284)](),super[t(284)]()}static async[zo(265)](t,e){const i=zo,s=new this(t,e);return await s[i(282)](),await s.ui[i(285)](t),await s[i(289)][i(285)](s[i(288)][i(280)](i(276))||""),s[i(267)](i(271)),s}}const Ho=$o;function qo(){const t=["getRevisionDocumentData","block","restoreRevision","$graveyard","revisionHistory.showRevisionViewerCallback","_closeRevisionViewer","translations","DocumentOutlineUI","getRevisions","detachRoot","_getRevisionViewerEditorConfig","closeRevisionViewerCallback","toLocaleTimeString","isPremiumPlugin","init","rootName","revisionHistory.requireRevisionName","result","refreshVisibility","isEnabled","RevisionsRepository","1053620YNPApN","uiLanguage","creator","getRoot","_enhanceShowRevisionViewerCallback","getRevision","RevisionHistoryUI","adapter","226860yeOcSr","_recalculatePageBreaks","roots","10266300TaDjwv","10INSqCM","1229488rbDhWa","pluginName","destroy","update","catch","exitToEditing","restrictedEditingException","markers","removeMarker","_viewerEditor","remove","model","change","from","enqueueChange","plugins","fromCharCode","revisionHistory.restoreRevisionCallback","changesNavigation","Annotations","PaginationLookup","bind","addRoot","map","removeAttribute","revisionHistory.viewerContainer","isReady","RevisionViewer","editor","keys","toolbar","RevisionHistoryUtils","none","users","removeSelectionAttribute","fromVersion","name","lazyRoots","getAttributeKeys","enableReadOnlyMode","revisionHistory.editorContainer","numeric","revisionHistory.viewerEditorElement","refreshPositioning","175DjJJMB","hide","isOpen","revisionHistory.closeRevisionViewerCallback","isAttached","1DDXYhb","requires","_showRevisionViewer","indexOf","setSelection","Dialog","createRangeIn","parse","18EWydUf","define","selection","loadRevisionData","document","getUser","disableReadOnlyMode","save","includes","join","Restored","isAnonymous","push","Autosave","setAttribute","isRevisionViewerOpen","saveRevision","revision-history-missing-configuration","element","_cleanUp","long","getRevisionRootsAttributes","get","style","revision-history-viewer-opened","toVersion","data","showRevisionViewerCallback","has","insert","Users","toJSON","error","1245908trQBWr","getMarkersGroup","isOfficialPlugin","createdAt","_update","RevisionHistory","revisionHistory","RestrictedEditingMode","4620528pCGwlO","config","repository","locale","toLocaleDateString","_enhanceCloseRevisionViewerCallback","set","then","create","DocumentOutline","addRevisionData","RevisionTracker","_restoreRevision","end","view","RevisionViewerIntegration","commands","1964502wBGanM","display","addUser","isReadOnly"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(601920===parseInt(e(345))/1*(-parseInt(e(296))/2)+-parseInt(e(411))/3+-parseInt(e(386))/4*(-parseInt(e(295))/5)+-parseInt(e(291))/6*(parseInt(e(340))/7)+-parseInt(e(394))/8*(-parseInt(e(353))/9)+parseInt(e(283))/10+parseInt(e(294))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Ho(289),Ho(393)];class Yo extends U.Plugin{[Ho(279)];static get[Ho(297)](){return Ho(409)}static get[Ho(388)](){return!0}static get[Ho(275)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(319)]((t=>String[e(312)](t)))[e(362)]("")}super(t),this[e(279)]=e(407),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends U.Plugin{[Ho(305)];static get[Ho(297)](){return Ho(391)}static get[Ho(388)](){return!0}static get[Ho(275)](){return!0}static get[Ho(346)](){return[ct,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(324)][i(395)][i(375)](i(392)))throw new t.CKEditorError(i(370),this);this[i(305)]=null,this[i(400)](i(368),!1),this[i(324)][i(395)][i(354)](i(419),(t=>this[i(347)]({...t,translations:this[i(324)][i(397)][i(268)]}))),this[i(324)][i(395)][i(354)](i(343),(t=>this[i(267)](t))),this[i(324)][i(395)][i(354)](i(313),(t=>this[i(406)](t))),this[i(324)][i(395)][i(354)](i(278),!1),this[i(287)](),this[i(399)]()}set[Ho(290)](t){const e=Ho;this[e(324)][e(311)][e(375)](e(405))[e(290)]=t}get[Ho(290)](){const t=Ho;return this[t(324)][t(311)][t(375)](t(405))[t(290)]}[Ho(404)](t){const e=Ho;return this[e(324)][e(311)][e(375)](e(405))[e(404)](t)}[Ho(288)](t){const e=Ho;return this[e(324)][e(311)][e(375)](e(282))[e(288)](t)}[Ho(270)](t){const e=Ho;return this[e(324)][e(311)][e(375)](e(282))[e(270)](t||{toJSON:!1})}[Ho(272)](){const e=Ho,i=this[e(324)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(311)][e(375)](e(405)),r=i[e(311)][e(375)](e(383))[e(329)];return s[e(326)]=[e(301),e(417),e(314)],delete s[e(333)],s[e(311)][e(365)](Yo,te,be,class extends U.Plugin{static get[e(346)](){return[te,e(383)]}[e(276)](){const s=e,o=this[s(324)][s(311)][s(375)](s(383));for(const t of r)t[s(364)]||o[s(358)](t.id)||o[s(413)](t);const a=n[s(396)][s(270)]();let c=null;const u=this[s(324)][s(311)][s(375)](s(323));u[s(290)]=n[s(290)],u[s(317)](s(281)).to(n),this[s(324)][s(410)][s(375)](s(417))[s(317)](s(281)).to(i,s(414),(t=>!t));for(const e of a){const i=null===e[s(285)];if(i&&e[s(378)]===e[s(331)])continue;const r=e[s(384)]();u[s(404)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(390)](r,o);else if(!o){const e=a[u(384)]();e.id=(0,t.uid)(),n[u(369)](e,a[u(378)])[u(401)]((t=>{c=t}))}}else e[u(390)](r,o)}))}}},Ao),s}[Ho(287)](){const t=Ho,e=this[t(324)][t(395)][t(375)](t(392))[t(380)];this[t(324)][t(395)][t(400)](t(419),(async()=>{const i=t;this[i(324)][i(335)](i(377));const s=this[i(324)][i(311)][i(375)](i(405));if(this[i(324)][i(311)][i(381)](i(366))){const t=this[i(324)][i(311)][i(375)](i(366));await t[i(360)]()}else await s[i(299)]();if(this[i(324)][i(311)][i(381)](i(316))&&this[i(324)][i(311)][i(375)](i(316))[i(292)](),this[i(324)][i(311)][i(381)](i(350))){const t=this[i(324)][i(311)][i(375)](i(350));t[i(342)]&&t[i(341)]()}const n=this[i(272)]();return e(n)[i(401)]((t=>{const e=i;return this[e(305)]=t,this[e(324)][e(311)][e(381)](e(315))&&this[e(324)][e(311)][e(375)](e(315))[e(280)](),this[e(324)][e(311)][e(381)](e(403))&&(this[e(324)][e(311)][e(375)](e(269))[e(408)][e(371)][e(376)][e(412)]=e(328)),t}))[i(300)]((t=>(console[i(385)](t),this[i(324)][i(359)](i(377)),null)))}))}[Ho(399)](){const t=Ho,e=this[t(324)][t(395)][t(375)](t(392))[t(273)];this[t(324)][t(395)][t(400)](t(343),(()=>(this[t(324)][t(311)][t(381)](t(316))&&this[t(324)][t(311)][t(375)](t(316))[t(292)](),this[t(324)][t(311)][t(381)](t(403))&&(this[t(324)][t(311)][t(375)](t(269))[t(408)][t(371)][t(376)][t(412)]=""),this[t(305)][t(311)][t(375)](t(323))[t(372)](),e(this[t(305)])[t(401)]((()=>{const e=t;if(this[e(324)][e(359)](e(377)),this[e(305)]=null,this[e(324)][e(311)][e(381)](e(315))){const t=this[e(324)][e(311)][e(375)](e(315));t[e(280)](),t[e(339)]()}})))))}[Ho(347)](t){const e=Ho,i=this[e(324)][e(395)][e(375)](e(336)),s=this[e(324)][e(395)][e(375)](e(321)),n=this[e(324)][e(395)][e(375)](e(338));return Zo[e(402)](n,t)[e(401)]((t=>(s[e(376)][e(412)]=e(416),i[e(376)][e(412)]=e(328),this[e(368)]=!0,t)))}[Ho(267)](t){const e=Ho,i=this[e(324)][e(395)][e(375)](e(336));return this[e(324)][e(395)][e(375)](e(321))[e(376)][e(412)]=e(328),i[e(376)][e(412)]="",this[e(368)]=!1,t[e(298)]()}async[Ho(406)](t){const e=Ho,i=this[e(324)],s=this[e(305)][e(311)][e(375)](e(323)),n=i[e(311)][e(375)](e(405)),r=i[e(311)][e(375)](e(327)),o=s[e(396)][e(288)](t);let a,c,u;try{await r[e(356)](o,this[e(290)]),a=r[e(415)](o),c=r[e(374)](o)}catch(t){return void console[e(385)](t)}i[e(307)][e(308)]((t=>{const s=e;for(const e of Array[s(309)](i[s(307)][s(303)][s(387)](s(302))))t[s(304)](e)})),s[e(322)]=!1,i[e(307)][e(310)]((t=>{const s=e;t[s(349)](null),t[s(330)](i[s(307)][s(357)][s(355)][s(334)]());const n=Object[s(325)](a);for(const e of i[s(307)][s(357)][s(293)])s(418)!=e[s(277)]&&e[s(344)]()&&!n[s(361)](e[s(277)])&&t[s(271)](e);for(const e of n){let n=i[s(307)][s(357)][s(286)](e);n&&n[s(344)]()||(n=t[s(318)](e));const r=c[e],o=Object[s(325)](r),u=a[e];for(const e of n[s(334)]())o[s(361)](e)||t[s(320)](e,n);for(const i of o)t[s(367)](i,c[e][i],n);t[s(306)](t[s(351)](n)),t[s(382)](i[s(379)][s(352)](u,n),n,0)}}));const l=X(i[e(397)],e(363));return u=o[e(332)]?-1==o[e(332)][e(348)](l)?l+": "+o[e(332)]:o[e(332)]:l+": "+o[e(389)][e(398)](i[e(397)][e(284)],{month:e(373),day:e(337)})+", "+o[e(389)][e(274)](i[e(397)][e(284)],{hour:e(337),minute:e(337)}),await n[e(369)]({name:u}),s[e(322)]=!0,i[e(395)][e(375)](e(392))[e(273)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=147]})(t,e)}function Ko(){var t=["8036ZDCHYc","47322PWGWdu","1582728hTdOrg","12572420qHkZye","821928plTmrj","9DOTDtq","249425ptLtni","145213DBGFIw","678cLcvLw","203KfxoNh"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(228028===-parseInt(e(150))/1+-parseInt(e(147))/2+parseInt(e(151))/3*(-parseInt(e(153))/4)+-parseInt(e(149))/5+parseInt(e(154))/6*(parseInt(e(152))/7)+-parseInt(e(155))/8+-parseInt(e(148))/9*(-parseInt(e(156))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();