@ckeditor/ckeditor5-revision-history 46.0.0-alpha.1 → 46.0.0-alpha.3

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 +7 -7
  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 +2 -2
  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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(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,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,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,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,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)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(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)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!W(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:W(i)?i:C(s[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,z(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}function $(){const t=["setName","createdAt","280nIJTda","861LpkDkY","name","authorsIds","3808674MMMpPc","attributes","creator","48GPqWXT","toJSON","_update","setAttribute","589430NzWhGJ","7639030hTiBjL","364938dbPnHy","18387jsCcog","diffData","2018947rIGsKZ","set","model","276BNmSVm","toVersion","map","creatorId","authors","fromVersion","fire","removeAttribute"];return($=function(){return t})()}const B=Y;function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=199]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(743260===-parseInt(e(199))/1+parseInt(e(205))/2*(parseInt(e(216))/3)+parseInt(e(222))/4*(parseInt(e(226))/5)+parseInt(e(219))/6+-parseInt(e(202))/7+parseInt(e(215))/8*(parseInt(e(200))/9)+-parseInt(e(227))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends((0,t.ObservableMixin)()){id;[B(221)];[B(209)];[B(201)];[B(206)];[B(210)];[B(204)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(221)]=e[i(221)]||null,this[i(209)]=e[i(209)]||[],this[i(201)]=e[i(201)]||null,this[i(206)]=e[i(206)]||0,this[i(210)]=e[i(210)]||0,this[i(203)](i(217),e[i(217)]||""),this[i(203)](i(214),e[i(214)]||new Date),this[i(203)](i(220),e[i(220)]||{})}[B(213)](t){this[B(224)]({name:t})}[B(225)](t,e){const i=B,n=R(this[i(220)]);U(n,t,e),this[i(224)]({attributes:n})}[B(212)](t){const e=B,i=R(this[e(220)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(224)]({attributes:i})}[B(224)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(217),i(214),i(201),i(209),i(220),i(206),i(210),i(208)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(209)]&&(s[i(218)]=s[i(209)][i(207)](t=>t.id),delete s[i(209)]),this[i(211)](i(224),s,e))}[B(223)](){const t=B;return{id:this.id,name:this[t(217)],creatorId:this[t(221)]?this[t(221)].id:null,authorsIds:this[t(209)][t(207)](t=>t.id),diffData:this[t(201)],createdAt:this[t(214)],attributes:this[t(220)],fromVersion:this[t(210)],toVersion:this[t(206)]}}}var G=i(782),K=i(211),X=i(783);function Q(){const t=["Users","60467HiSpwL","getEarlierVisibleRevision","toVersion","diffData","afterInit","4086EfJcLL","857759ZcrstE","newRevisionId","fromVersion","1152340wNXvrM","isPremiumPlugin","getLaterVisibleRevision","creatorId","getRevisionsInDiff","fromCharCode","isNaN","isOfficialPlugin","getRevisionsIterator","join","1115oTlDWL","name","map","2475096rieSrm","getIndex","5690bsiNmh","createdAt","data","56XoBtFj","later","createRevision","getRevision","toJSON","1905040wYovrL","pluginName","2465946HqbVfW","get","RevisionsRepository","plugins","reverse","requires","6OBPbsl","push","authorsIds","oldRevisionId","earlier","getUser","href","from","length","getRevisions","editor","addRevision","attributes","_revisions","add"];return(Q=function(){return t})()}const tt=et;function et(t,e){const i=Q();return(et=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(954797===-parseInt(e(218))/1+-parseInt(e(175))/2+-parseInt(e(193))/3*(-parseInt(e(185))/4)+parseInt(e(172))/5*(-parseInt(e(214))/6)+parseInt(e(215))/7*(-parseInt(e(180))/8)+parseInt(e(187))/9+-parseInt(e(177))/10*(-parseInt(e(209))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class it extends G.Plugin{[tt(206)];static get[tt(192)](){return[K.Users]}static get[tt(186)](){return tt(189)}static get[tt(225)](){return!0}static get[tt(219)](){return!0}get[tt(201)](){const t=tt;return this[t(206)][t(201)]}constructor(e){const i=tt;super(e),this[i(206)]=new t.Collection}[tt(213)](){!async function(e){const i=k([102,75,70,49,112,65,69,98,57,103,88,115,104,77,118,82,72,111,67,74,48,86,122,87,107,85,66,51,105,117,55,101,79,114,116,56,83,81,119,53,90,97,100,71,113,108,109,110,54,84,80,78,99,73,68,89,50,76,120,52,121,106]),n=964649,s=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 n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(224)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)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([102]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return 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=et;return t[e(174)](t=>String[e(223)](t))[e(227)]("")}!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()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[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,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),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(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function 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])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}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 n(){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 n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,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,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),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,s,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])])?s/1e3:1751414400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(199)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(182)](t){const e=tt,i=this[e(203)][e(190)][e(188)](e(208));return new J({id:t.id,name:t[e(173)],creator:t[e(221)]?i[e(198)](t[e(221)]):null,diffData:t[e(212)]||t[e(179)],authors:t[e(195)][e(174)](t=>i[e(198)](t)),createdAt:new Date(t[e(178)]),attributes:t[e(205)],fromVersion:t[e(217)],toVersion:t[e(211)]})}[tt(204)](t,e=0){const i=tt;this[i(206)][i(207)](t,e)}[tt(183)](t){const e=tt;return this[e(206)][e(188)](t)}[tt(202)](t={toJSON:!1}){const e=tt,i=Array[e(200)](this[e(206)]);return i[e(191)](),t[e(184)]?i[e(174)](t=>t[e(184)]()):i}[tt(176)](t){const e=tt;return this[e(206)][e(176)](t)}[tt(210)](t){const e=tt,[,i]=this[e(226)](t,{direction:e(197)});return i}[tt(220)](t){const e=tt,[,i]=this[e(226)](t,{direction:e(181)});return i}[tt(222)](t){const e=tt,i=[];for(const n of this[e(226)](t[e(216)]))if(i[e(194)](n),n.id===t[e(196)])break;return i}*[tt(226)](t,{direction:e=tt(197),filter:i=()=>!0}={}){const n=tt,s=n(197)===e?1:-1;let r=this[n(206)][n(188)](t),o=this[n(176)](r);for(yield r;r;){if(o+=s,r=this[n(183)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["32zlIwms","document","parse","get","getRevisionDocumentData","isPremiumPlugin","domDocument","_appendChild","constructor","getRevisionRootsAttributes","childNodes","append","htmlProcessor","data-revision-","name","processor","revision-start","render","18bQasCO","filter","viewChildrenToDom","fillerOffset","view","children","getRevision","_getTypeCharForViewElement","revision-end","getFillerOffset","_typeCharToViewClass","isOfficialPlugin","attributesAfter","4621200iXNgAy","attachChange","collaboration.channelId","forEach","config","18uFmgme","editing","domChildrenToView","_viewClassToTypeChar","map","3630996fCnoyt","string","default","loadRevisionData","createElement","div","2713792lmgbnk","1675645dezHsp","useFillerType","insertions","length","_removeRevisionMarkers","from","customProperties","diffData","editor","_setCustomProperty","_getViewFromDiffObj","marked","456839EVwDcT","RevisionHistoryUtils","domConverter","type","2336215AHykBC","toModel","_makeModelFromViewString","data","pluginName","toData","isAttached","innerHTML","434156aAECwT","startsWith","attributes"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=171]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(692590===parseInt(e(181))/1+-parseInt(e(193))/2*(-parseInt(e(214))/3)+-parseInt(e(243))/4+-parseInt(e(244))/5*(-parseInt(e(232))/6)+-parseInt(e(185))/7*(parseInt(e(196))/8)+parseInt(e(237))/9+-parseInt(e(227))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[nt(189)](){return nt(182)}static get[nt(225)](){return!0}static get[nt(201)](){return!0}[nt(235)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(224)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(240)](t,e){const i=nt;if(t[i(176)]||!e)return;const n=this[i(177)][i(231)][i(199)](i(229)),s=await e[i(220)]({channelId:n,revisionId:t.id});t[i(176)]=s[i(176)]}[nt(200)](t){const e=nt,i={};for(const n in t[e(176)]){if(t[e(176)][n][e(228)]&&!t[e(176)][n][e(228)][e(191)])continue;const s=this[e(173)](JSON[e(198)](t[e(176)][n][e(171)])),r=this[e(177)][e(233)][e(218)][e(197)],o=new X.ViewDocumentFragment(r,s[e(236)](t=>this[e(179)](t,!1)));this[e(177)][e(188)][e(211)][e(245)](e(180)),i[n]=this[e(177)][e(188)][e(211)][e(190)](o),this[e(177)][e(188)][e(211)][e(245)](e(239))}return i}[nt(205)](t){const e=nt,i={};for(const n in t[e(176)])t[e(176)][n][e(228)]&&!t[e(176)][n][e(228)][e(191)]||(i[n]=t[e(176)][n][e(226)]||{});return i}[nt(221)](t){const e=nt;return this[e(235)][e(199)](t[e(204)])}[nt(179)](t,e){const i=nt,n=this[i(177)][i(233)][i(218)][i(197)];if(i(238)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(184)]||"r"==t[i(184)]?[]:t[i(219)][i(236)](t=>this[i(179)](t,e));const o=this[i(224)][i(199)](t[i(184)])||X.ViewElement,a=this[i(177)][i(188)][i(208)][i(183)];if(s=new o(n,t[i(210)],t[i(195)],r),"u"==t[i(184)]&&t[i(219)][0]){const r=t[i(219)][0];if(s[i(213)]=function(t){const e=i,n=t[e(241)](e(242));return n[e(192)]=r,n[e(206)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(203)](s);const e=Array[i(174)](a[i(216)](t,{bind:!1})),r=a[i(202)][i(241)](i(242));r[i(207)](...e),s=Array[i(174)](a[i(234)](r))[0]}}else if("r"==t[i(184)]&&t[i(219)][0]){const r=t[i(219)][0];if(s[i(213)]=function(t){t[i(192)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(203)](s);const e=Array[i(174)](a[i(216)](t,{bind:!1})),r=a[i(202)][i(241)](i(242));r[i(207)](...e);const o=Array[i(174)](a[i(234)](r));o[i(172)]>1?s[i(203)](o):s=o[0]}}if(t[i(175)])for(const[e,n]of t[i(175)])s[i(178)](e,n);const c=void 0===t[i(217)]?null:t[i(217)];return null!==c&&(s[i(223)]=()=>c),s}}[nt(187)](t){const e=nt,i=JSON[e(198)](t),n=this[e(177)][e(233)][e(218)][e(197)],s=new X.ViewDocumentFragment(n,i[e(236)](t=>this[e(179)](t,!0)));return this[e(177)][e(188)][e(186)](s)}[nt(173)](t){const e=nt;return(t=t[e(215)](t=>!t[e(210)]||e(212)!==t[e(210)]&&e(222)!==t[e(210)]))[e(230)](t=>{const i=e;i(238)!=typeof t&&(t[i(219)]=this[i(173)](t[i(219)]),t[i(195)]=t[i(195)][i(215)](t=>!t[0][i(194)](i(209))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(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 ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,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 lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(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:return V(t.valueOf(),i.valueOf());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}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.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(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=241]})(t,e)}function pt(){const t=["data","history","_touchedRoots","_addPendingAction","rawElement","_getViewJson","createRange","render","_makeIdsRoot","startsWith","createPositionFromPath","some","$comment","creator","getRevision","ready","_isAttached","update","_getTypeCharForViewElement","getLatestVersion","domainLimit","_markChanges","saveRevision","keepParagraph","addRevisionData","_pendingAction","pluginName","getAttribute","currentRevision","max","requires","20698047nueMRw","Initial revision","_handleOperation","source","RevisionHistoryUtils","parent","_lastTo","isReady","remove","_clone","RevisionTracker","size","elementEnd","_fixOperation","_handleMergeOperation","howMany","_createInitialRevision","revisionHistoryLicenseKeyInvalid","offset","PENDING_ACTION_REVISION_HISTORY","customProperties","_revisionDataBuilder","markers","38572MxdUAb","domDocument","_findInsertionIndex","_copyMarkers","finally","invalid","deletion","RealTimeCollaborationClient","updateRevisions","getTime","7GqCUvD","offsetSize","_handleSplitOperation","previousPosition","_prepareViewToSave","element","keys","getIndex","add","addRevision","_revisionId","sourcePosition","insertions","includes","_handleMoveOperation","_touchedMarkers","expired","revisionHistoryLicenseKeyExpired","_handleRootAttributeOperation","getData","getCurrentRevisionId","createRevision","newRange","buildRevisionData","define","documentFragment","createPositionBefore","_processRootBeforeSave","_createCurrentRevision","getTransformedByOperation","_fixRange","vid_end","NEGATIVE_INFINITY","_getFromVersion","_update","stickiness","_cloneOperation","attachChange","attributesAfter","_generateTape","domConverter","path","getOperations","_removePendingAction","_operations","type","split","config","affectsData","_fixPosition","move","text","_bufferUpdate","end","rootName","outerHTML","usageLimit","string","getRoot","_isPendingUpdate","trim","3675544qnujWb","vid","map","insertionPosition","evaluationLimit","sendBufferedUpdates","revisionHistoryLicenseKeyDomainLimit","nodes","insertion","_replaceEditorDataWithRevisionData","_lastFrom","getAncestors","has","clear","_loadState","_makeModelFromViewString","_getPreviousFrom","_diffRoots","_setAttribute","graveyardPosition","_authorId","isAttached","version","dataToMarker","tableCell","start","nodeAfter","reinsert","createdAt","createElement","attributesBefore","licenseKey","collaboration.channelId","marker","_idsRoots","diffData","_initialRevisionId","loadState","clone","1214410oWLSSR","_baseIdsRoots","editor-initial-data-replaced-with-revision-data","_utils","_handleRootOperation","_licenseKeyCheckInterval","elementStart","_showLicenseError","_removeMetaData","_baseRootsAttributes","editor","trialLimit","Empty document","_handleInsertOperation","key","values","getRootNames","2494476aoFZlP","markerToData","revisionHistoryLicenseKeyValid","getUser","revisionHistoryLicenseKeyTrialLimit","initial","destroy","paragraph","newValue","setRevisionData","authorsIds","insert","detachRoot","delete","createPositionAfter","isEnabled","_reset","childCount","addRootAttribute","getChild","isEqual","_startingRevisionId","afterInit","_applyOperations","getCustomProperties","reInit","Users","isAdd","_continueCurrentRevision","name","filter","_isInit","325628phaoia","fillerOffset","_setConversion","_insertChild","plugins","sort","deletions","_getBaseVids","_bufferedUpdates","initialData","hasContent","revisionHistoryLicenseKeyUsageLimit","revision","getOperation","adapter","userId","_touched","locale","revisionHistory.resumeUnsavedRevision","changeRootAttribute","featureNotAllowed","length","children","authors","from","root","_appendChild","find","isOfficialPlugin","revisionHistoryLicenseKeyNotAllowed","revisionHistoryLicenseKeyEvaluationLimit","position","revision:","fromEntries","_calculateMetaData","resolve","merge","_execute","isPremiumPlugin","createPositionAt","_markers","targetPosition","fromVersion","slice","$graveyard","conversion","_savedMetaData","_source","bind","getWalker","_makeRevision","stringify","then","toView","uiElement","innerHTML","oldRange","toVersion","htmlProcessor","RevisionsRepository","_createFromRanges","_handleMarkerOperation","getFillerOffset","$text","creatorId","getRange","splitPosition","_transformMarkers","push","range","get","createRangeIn","_getState","_saveMetaData","document","baseVersion","repository","addRoot","for","getChildren","getRevisionRootsAttributes","reverse","247342HGfmNA","_diffRootsAttributes","getRevisionDocumentData","_getVidAttributeName","dataDowncast","setSource","_loadedStateData","_baseRoots","getAttributes","shift","getNodeByPath","rootsAttributes","_startingVersion","RevisionHistory","upcast","item","vid_start","removeRootAttribute","roots","set","getRevisions","147wmRfRq","loadRevisionData","PendingActions","model","getMovedRangeStart","init"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(259906===-parseInt(e(512))/1+-parseInt(e(272))/2+parseInt(e(293))/3*(-parseInt(e(353))/4)+-parseInt(e(463))/5+-parseInt(e(480))/6+-parseInt(e(363))/7*(parseInt(e(424))/8)+parseInt(e(330))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(455)];[ft(468)];[ft(327)]=null;[ft(266)];[ft(526)]=null;[ft(351)];[ft(559)];[ft(460)];[ft(520)];[ft(466)];[ft(324)];[ft(508)];[ft(284)];[ft(278)];static get[ft(325)](){return ft(340)}static get[ft(540)](){return!0}static get[ft(550)](){return!0}static get[ft(329)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(266)]=this[i(473)][i(516)][i(260)](i(249)),this[i(466)]=this[i(473)][i(516)][i(260)](i(334)),this[i(351)]=new gt(this[i(473)]),this[i(460)]=this[i(473)][i(410)][i(260)](i(456))||i(485),this[i(520)]=new Map,this[i(278)]=null;const n=(0,t.uid)();this[i(559)]={history:this[i(473)][i(296)][i(264)][i(300)],getLatestVersion:()=>Promise[i(547)](this[i(473)][i(296)][i(264)][i(446)]),getCurrentRevisionId:()=>n},this[i(291)](i(337),!1),this[i(291)](i(495),!0),this[i(291)](i(422),!1),this[i(473)][i(410)][i(387)](i(530),!0),this[i(473)][i(557)][i(268)](i(286))[i(447)]({view:i(524)})}[ft(298)](){const t=ft;this[t(514)](),this[t(473)][t(299)].on(t(314),()=>{const e=t,i=this[e(266)][e(313)](0),n=i&&null===i[e(312)]?i:null;if(this[e(508)]=!!n&&this[e(473)][e(410)][e(260)](e(530)),this[e(473)][e(516)][e(436)](e(360))){const t=this[e(559)][e(383)](),s=this[e(266)][e(313)](t);if(s)this[e(284)]=s[e(554)],this[e(508)]=!1;else{const t=this[e(559)][e(300)][e(407)][e(539)](t=>!t[e(511)]),s=t?t[e(265)]:this[e(559)][e(300)][e(446)];i?(i[e(247)]<s&&i[e(397)]({toVersion:s}),this[e(508)]?(this[e(559)][e(383)]=()=>n.id,this[e(284)]=n[e(554)]):(this[e(284)]=i[e(247)],this[e(508)]=!1)):(this[e(284)]=s,this[e(508)]=!1)}}else n&&(this[e(473)][e(296)][e(264)][e(300)][e(446)]=Math[e(328)](n[e(247)],this[e(473)][e(296)][e(264)][e(300)][e(446)]),n[e(554)]===n[e(247)]?(0!==n[e(554)]&&(this[e(559)][e(383)]=()=>n.id),this[e(508)]=!1):this[e(508)]&&(this[e(559)][e(383)]=()=>n.id,this[e(284)]=n[e(554)])),this[e(508)]||(this[e(284)]=this[e(473)][e(296)][e(264)][e(446)]);this[e(351)][e(298)](this[e(559)][e(300)]),this[e(346)](this[e(284)]),this[e(391)](this[e(284)]),this[e(526)]&&this[e(429)]()}),this[t(560)](t(337)).to(this,t(422),t=>!t),this[t(455)]=this[t(473)][t(410)][t(260)](t(455));const e=this[t(473)];this[t(468)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(482)==r||i(347)==r||i(380)==r||i(430)==r||i(541)==r||i(542)==r||i(484)==r||i(523)==r){delete e[s],n=r,clearInterval(this[i(468)]),this[i(468)]=void 0;break}}i(347)==n&&e[i(470)](i(358)),i(380)==n&&e[i(470)](i(379)),i(430)==n&&e[i(470)](i(319)),i(541)==n&&e[i(470)](i(532),i(285)),i(542)==n&&e[i(470)](i(428)),i(484)==n&&e[i(470)](i(474)),i(523)==n&&e[i(470)](i(419))},1e3)}async[ft(502)](){const t=ft;if(this[t(266)][t(533)]>0){const e=this[t(266)][t(313)](0),i=await this[t(274)](e),n=await this[t(270)](e);this[t(433)](i,n)}}[ft(486)](){const t=ft;super[t(486)](),this[t(468)]&&clearInterval(this[t(468)])}[ft(277)](t){this[ft(559)]=t}async[ft(316)](){const t=ft,e=await this[t(559)][t(318)]();if(e>this[t(327)][t(247)]){await this[t(438)]();const i=this[t(386)]({revision:this[t(327)],to:e});i[t(535)]=i[t(490)][t(426)](e=>this[t(473)][t(516)][t(260)](t(506))[t(483)](e)),this[t(327)][t(397)](i)}}async[ft(321)](e={},i=null){const n=ft,s=[];await this[n(438)](),this[n(508)]=!1,i>this[n(327)][n(247)]&&(i=null),null===i&&(i=await this[n(559)][n(318)]());const r=this[n(396)](i),o=this[n(386)]({from:r,to:i});if(this[n(327)][n(247)]<i){const t=this[n(386)]({revision:this[n(327)],from:i,to:i});t[n(535)]=[],t[n(490)]=[],t.id=this[n(327)].id,this[n(327)][n(397)](t,!0),delete t[n(535)],s[n(258)](t)}e[n(254)]=this[n(473)][n(516)][n(260)](n(506)).me.id,e[n(509)]=e[n(509)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(323)](e);s[n(258)](e);const c=this[n(266)][n(370)](a);if(0!==c){const t=this[n(266)][n(313)](c-1);if(t[n(554)]!==i){const r=this[n(351)][n(382)](i,t[n(247)]),o={id:t.id,diffData:r[n(459)],authorsIds:r[n(490)],authors:r[n(490)][n(426)](t=>this[n(473)][n(516)][n(260)](n(506))[n(483)](t)),fromVersion:i};t===this[n(327)]&&(o[n(452)]=new Date(e[n(452)][n(362)]()+10)),t[n(397)](o,!0),delete o[n(535)],s[n(258)](o)}}if(this[n(526)]){for(const t of s)this[n(415)](t.id,t,!0);this[n(429)]()}return a}[ft(323)](t){const e=ft,i=this[e(266)][e(384)](t);return this[e(526)]&&i.on(e(397),(t,i,n)=>{const s=e;n||(this[s(415)](i.id,i,!0),this[s(429)]())}),this[e(266)][e(372)](i,this[e(355)](i)),i}async[ft(274)](t){const e=ft;return await this[e(466)][e(294)](t,this[e(526)]),this[e(466)][e(274)](t)}async[ft(270)](t){const e=ft;return await this[e(466)][e(294)](t,this[e(526)]),this[e(466)][e(270)](t)}[ft(429)](){const t=ft;if(0===this[t(520)][t(341)])return;if(this[t(422)])return;let e=Array[t(536)](this[t(520)][t(478)]());this[t(520)][t(437)]();for(let i=0;i<e[t(533)];i++){const n=e[i];let s=!1;for(const e of Object[t(369)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(510)](t=>null!==t),!e[t(533)])return;for(let i=0;i<e[t(533)];i++){const n=e[i];void 0!==n[t(554)]&&void 0===n[t(247)]&&(n[t(247)]=this[t(266)][t(313)](n.id)[t(247)]),void 0!==n[t(247)]&&void 0===n[t(554)]&&(n[t(554)]=this[t(266)][t(313)](n.id)[t(554)])}const i=this[t(473)][t(410)][t(260)](t(456));this[t(422)]=!0,this[t(302)](),this[t(526)][t(361)](e,i)[t(357)](()=>{this[t(422)]=!1})[t(242)](e=>{const i=t;if(e)for(const t of e)this[i(489)]({id:t.id,createdAt:t[i(452)]});this[i(406)](),this[i(429)]()})}[ft(386)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(554)],i=null!==i?i:t[n(247)];const s=this[n(351)][n(382)](e,i),r={diffData:s[n(459)],authorsIds:s[n(490)],fromVersion:e,toVersion:i};if(!t||i!==t[n(247)]){const t=i-1,e=this[n(559)][n(300)][n(525)](t);r[n(452)]=e&&e[n(452)]||new Date}if(this[n(278)]&&e===this[n(278)][n(554)])for(const t of this[n(278)][n(535)])r[n(490)][n(376)](t.id)||r[n(490)][n(258)](t.id);return r}[ft(415)](t,e,i){const n=ft;if(this[n(520)][n(436)](t)){const s=this[n(520)][n(260)](t);e=i?{...s,...e}:{...e,...s}}this[n(520)][n(291)](t,e)}[ft(489)](t){const e=ft,i=this[e(266)][e(313)](t.id);if(t[e(452)]&&(t[e(452)]=new Date(t[e(452)])),t[e(490)]){const i=this[e(473)][e(516)][e(260)](e(506));t[e(535)]=t[e(490)][e(426)](t=>i[e(483)](t))}i[e(397)](t,!0)}[ft(346)](t){const e=ft,i=this[e(266)][e(313)](this[e(266)][e(533)]-1);if(i)this[e(460)]=i.id;else{const i=!this[e(473)][e(296)][e(264)][e(290)][e(539)](t=>this[e(473)][e(296)][e(522)](t)),n=this[e(473)][e(516)][e(260)](e(506)).me.id,s=at(this[e(473)][e(529)],e(i?475:331));this[e(562)]({from:t,to:t,id:this[e(460)],name:s,creatorId:n})}}[ft(391)](t){const e=ft,i=this[e(559)][e(383)]();this[e(327)]=this[e(266)][e(313)](i),this[e(327)]||(this[e(327)]=this[e(562)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(438)](){const t=ft;this[t(508)]&&!this[t(278)]&&(await this[t(466)][t(294)](this[t(327)],this[t(526)]),this[t(351)][t(461)](this[t(327)]),this[t(278)]={fromVersion:this[t(327)][t(554)],authors:this[t(327)][t(535)][t(555)]()})}[ft(433)](e,i){const n=ft;let s=this[n(473)][n(410)][n(260)](n(521)),r=this[n(473)][n(410)][n(260)](n(283));if(void 0===s){s={};for(const t of this[n(473)][n(296)][n(264)][n(479)]())s[t]=""}if(n(420)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(473)][n(296)][n(264)][n(479)]())r[t]={}}let o=!1;const a=Object[n(369)](s),c=Object[n(369)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(423)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(369)](r[t])[n(533)]>0){o=!0;break}}o||(o=c[n(310)](t=>!this[n(473)][n(296)][n(264)][n(421)](t))),o&&(0,t.logWarning)(n(465),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(473)][n(410)][n(291)](n(521),e),this[n(473)][n(410)][n(291)](n(283),i)}[ft(302)](){const t=ft;if(!this[t(324)]){const e=this[t(473)][t(516)][t(260)](t(295));this[t(324)]=e[t(371)](at(this[t(473)][t(529)],t(349)))}}[ft(406)](){const t=ft;this[t(324)]&&(this[t(473)][t(516)][t(260)](t(295))[t(338)](this[t(324)]),this[t(324)]=null)}[ft(355)](t){const e=ft,i=this[e(266)][e(292)]();i[e(271)]();let n=0;for(;n<i[e(533)];){const s=i[n];if(s===this[e(327)]){n++;continue}if(s.id===this[e(460)])break;const r=t[e(247)]-s[e(247)]||t[e(554)]-s[e(554)];if(r>0)break;if(r<0)n++;else{if(!t[e(312)]&&s[e(312)])break;if(s[e(312)]||!t[e(312)]){if(t[e(452)]>s[e(452)])break;n++}else n++}}return n}[ft(396)](t){const e=ft,i=this[e(266)][e(292)]();i[e(271)](),i[e(281)]();const n=i[e(539)](i=>i[e(247)]<=t)[e(247)];return n<this[e(284)]?this[e(284)]:n}[ft(562)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(386)]({from:e,to:i});o[r(509)]=t,o[r(254)]=n,o.id=s;const a=this[r(323)](o);return this[r(526)]&&this[r(415)](o.id,o,!0),a}[ft(514)](){const t=ft;this[t(473)][t(557)][t(268)](t(276))[t(481)]({model:t(524)})}}class gt{[ft(473)];[ft(333)];[ft(558)];[ft(434)];[ft(336)];[ft(552)];[ft(441)];[ft(273)];[ft(279)];[ft(472)];[ft(458)];[ft(464)];[ft(528)];[ft(378)];[ft(301)];[ft(373)];[ft(501)];constructor(t){const e=ft;this[e(473)]=t,this[e(558)]=new Map,this[e(434)]=-1,this[e(336)]=-1,this[e(552)]=new Map,this[e(441)]=new Map,this[e(273)]=new Map,this[e(279)]=new Map,this[e(472)]=new Map,this[e(458)]=new Map,this[e(464)]=new Map,this[e(528)]=new Map,this[e(378)]=new Map,this[e(301)]=new Map,this[e(373)]=1}[ft(298)](t){const e=ft;this[e(333)]=t;const i=new Map,n=new Map,s=this[e(473)][e(296)][e(264)][e(290)][e(426)](t=>t[e(417)]);for(const t of s){const s=this[e(473)][e(296)][e(264)][e(421)](t),r=yt(s);i[e(291)](t,r),n[e(291)](t,Object[e(545)](s[e(280)]()))}const r=Array[e(536)](this[e(473)][e(296)][e(352)])[e(426)](t=>[t[e(509)],t[e(255)]()]),o=this[e(333)][e(446)];this[e(263)](o,i,r,n),this[e(501)]=this[e(373)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(291)](t,i),c[e(291)](t,{})}this[e(263)](Number[e(395)],a,[],c)}[ft(382)](t,e){const i=ft;if(this[i(434)]===t&&this[i(336)]<=e)this[i(558)][i(341)]>1&&this[i(471)](this[i(336)]),this[i(503)](this[i(336)],e,!0);else{if(!this[i(558)][i(436)](t)){const e=this[i(440)](t);this[i(546)](e,t,!1)}this[i(546)](t,e,!0)}return this[i(434)]=t,this[i(336)]=e,this[i(262)]()}[ft(461)](t){const e=ft,i=this[e(473)][e(516)][e(260)](e(334));this[e(496)](),this[e(434)]=t[e(554)],this[e(336)]=t[e(247)];for(const n in t[e(459)]){const s=t[e(459)][n][e(400)],r=R(t[e(459)][n][e(454)])||{},o=i[e(439)](t[e(459)][n][e(518)]);o[e(417)]=n,o[e(315)]=!s||!s[e(445)],o[e(445)]=()=>o[e(315)],this[e(279)][e(291)](n,o),this[e(472)][e(291)](n,r),s&&this[e(301)][e(291)](n,s);const a=this[e(307)](o);this[e(464)][e(291)](n,a);for(const[t,i]of o[e(352)]){if(!t[e(308)](e(544)))continue;const n=t[e(409)](":")[2];for(const t of i[e(561)]({singleCharacters:!0})){const i=this[e(275)](t),s=e(342)==t[e(408)]?t[e(366)][e(404)][e(555)](0,-1):t[e(366)][e(404)],r=a[e(282)](s)[e(326)](i);this[e(528)][e(291)](r,{userId:n})}}}this[e(501)]=this[e(373)];const n=[...Array(this[e(373)])[e(369)]()][e(555)](1)[e(510)](t=>!this[e(528)][e(436)](t));let s=0;const r=new Map;for(const o in t[e(459)]){const a=t[e(459)][o][e(400)],c=R(t[e(459)][o][e(401)])||{},u=i[e(439)](t[e(459)][o][e(375)]);u[e(417)]=o,u[e(315)]=!a||a[e(445)],u[e(445)]=()=>u[e(315)],this[e(441)][e(291)](o,u),this[e(273)][e(291)](o,c);const l=this[e(307)](u,Number[e(395)]);this[e(458)][e(291)](o,l),r[e(291)](o,u[e(445)]()?c:{});for(const[t,i]of u[e(352)]){if(!t[e(308)](e(544)))continue;const n=t[e(409)](":")[2];for(const t of i[e(561)]({singleCharacters:!0})){const i=this[e(275)](t),s=this[e(373)]++,r=e(342)==t[e(408)]?t[e(366)][e(404)][e(555)](0,-1):t[e(366)][e(404)];l[e(282)](r)[e(442)](i,s),this[e(528)][e(291)](s,{userId:n})}}for(const t of this[e(473)][e(296)][e(261)](u)[e(561)]({singleCharacters:!0})){const i=this[e(275)](t),r=e(342)==t[e(408)]?t[e(366)][e(404)][e(555)](0,-1):t[e(366)][e(404)],o=l[e(282)](r);o[e(326)](i)>0||o[e(442)](i,n[s++])}for(const[t,i]of u[e(352)])t[e(308)](e(544))||this[e(552)][e(291)](t,i)}const o=kt(e(556));this[e(279)][e(291)](e(556),o),this[e(464)][e(291)](e(556),this[e(307)](o,1));const a=kt(e(556));this[e(441)][e(291)](e(556),a),this[e(458)][e(291)](e(556),this[e(307)](a,1));const c=Array[e(536)](this[e(441)])[e(426)](([t,e])=>[t,yt(e)]);this[e(263)](this[e(336)],c,this[e(552)],r)}[ft(505)](){const t=ft;this[t(496)](),this[t(434)]=-1,this[t(336)]=-1,this[t(558)][t(437)](),this[t(298)](this[t(333)])}[ft(263)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(291)](t,{start:e[s(449)][s(462)](),end:e[s(416)][s(462)](),rootName:e[s(537)][s(417)]});this[s(558)][s(291)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(471)](t){const e=ft;this[e(558)][e(493)](t)}[ft(496)](){const t=ft;this[t(528)][t(437)](),this[t(378)][t(437)](),this[t(301)][t(437)](),this[t(441)][t(437)](),this[t(273)][t(437)](),this[t(279)][t(437)](),this[t(472)][t(437)](),this[t(458)][t(437)](),this[t(464)][t(437)](),this[t(552)][t(437)](),this[t(373)]=1,this[t(501)]=this[t(373)]}[ft(307)](t,e=null){const i=ft;let n=null;t.is(i(388))||(n=new X.ModelElement(t[i(509)],{vid_start:null===e?this[i(373)]++:e++}));const s=[];for(const n of t[i(269)]())if(n.is(i(368))){s[i(258)](this[i(307)](n,e));const t=s[s[i(533)]-1];null!==e&&(e=t.is(i(368),i(253))?t[i(326)](i(425))+1:t[i(326)](i(394))+1)}else for(let t=0;t<n[i(364)];t++)s[i(258)](new X.ModelElement(i(253),{vid:null===e?this[i(373)]++:e++}));if(t.is(i(388))){const e=kt(t[i(417)]);return e[i(515)](0,s),e}return n[i(442)](i(394),null===e?this[i(373)]++:e++),n[i(515)](0,s),n}[ft(546)](t,e,i){const n=ft;this[n(496)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(558)][n(260)](t);this[n(279)]=new Map(s),this[n(472)]=new Map(R(o));for(const[t,e]of this[n(279)])if(n(556)!==t&&(this[n(441)][n(291)](t,yt(e)),this[n(273)]=new Map(R(o)),i)){const i=this[n(373)];this[n(458)][n(291)](t,this[n(307)](e)),this[n(464)][n(291)](t,this[n(307)](e,i))}this[n(501)]=this[n(373)],this[n(441)][n(291)](n(556),yt(this[n(279)][n(260)](n(556)))),i&&this[n(458)][n(291)](n(556),this[n(307)](this[n(279)][n(260)](n(556))));for(const[t,e]of r){const i=this[n(279)][n(260)](e[n(417)]),s=this[n(441)][n(260)](e[n(417)]),r=new X.ModelRange(this[n(412)](e[n(449)],i),this[n(412)](e[n(416)],i)),o=this[n(393)](r,s);i[n(352)][n(291)](t,r),this[n(552)][n(291)](t,o)}this[n(503)](t,e,i)}[ft(503)](t,e,i){const n=ft;for(const s of this[n(333)][n(405)](t,e))this[n(332)](s,i);for(const t of this[n(441)][n(478)]())t[n(352)][n(437)]();for(const[t,e]of this[n(552)])this[n(441)][n(260)](e[n(537)][n(417)])[n(352)][n(291)](t,e[n(462)]());const s=new Map,r=new Map;for(const[t,e]of this[n(441)])s[n(291)](t,yt(e)),r[n(291)](t,this[n(273)][n(260)](t));this[n(263)](e,s,this[n(552)],r)}[ft(440)](t){const e=ft,i=Array[e(536)](this[e(558)][e(369)]());i[e(517)]((t,e)=>t-e),i[e(271)]();for(const e of i)if(e<t)return e;return Number[e(395)]}[ft(356)](t,e){const i=ft,n=Array[i(536)](e[i(352)])[i(426)](([e,n])=>[e,this[i(393)](n,t)]);t[i(352)]=new Map(n)}[ft(257)](t){const e=ft;for(const i of this[e(552)][e(478)]()){const n=i[e(392)](t),s=X.ModelRange[e(250)](n);i[e(449)]=s[e(449)],i[e(416)]=s[e(416)]}}[ft(332)](t,e){const i=ft;if(i(267)!=t[i(408)]&&i(492)!=t[i(408)]){if(i(491)==t[i(408)]){const n=t[i(543)][i(537)][i(417)];this[i(441)][i(436)](n)||(this[i(441)][i(291)](n,kt(n,!0)),this[i(273)][i(291)](n,{}),e&&this[i(458)][i(291)](n,kt(n,!0)))}else{if(i(498)==t[i(408)]||i(289)==t[i(408)]||i(531)==t[i(408)])return void this[i(381)](t);i(457)==t[i(408)]&&this[i(251)](t)}if(i(457)!==t[i(408)]){const e=this[i(399)](t,this[i(441)]);e[i(549)](),this[i(257)](e)}if(e)switch(t[i(408)]){case i(491):this[i(476)](t);break;case i(413):case i(338):case i(451):this[i(377)](t);break;case i(548):this[i(344)](t);break;case i(409):this[i(365)](t)}}else this[i(467)](t,e)}[ft(399)](t,e){const i=ft,n=t[i(462)]();return n[i(444)]=t[i(444)],this[i(343)](n,e),n}[ft(519)](t){const e=ft;return t[e(426)](t=>{const i=e,n=this[i(275)](t);return Number(t[i(287)][i(326)](n))})}[ft(402)](t,e){const i=ft;if(t.is(i(368),i(253)))e[i(258)]({item:t,type:i(414)});else{t.is(i(368))&&e[i(258)]({item:t,type:i(469)});for(const n of t[i(269)]())this[i(402)](n,e);t.is(i(368))&&e[i(258)]({item:t,type:i(342)})}return e}[ft(262)](){const t=ft,e=new Map(this[t(528)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(279)][t(369)](),...this[t(441)][t(369)]()]);a[t(493)](t(556));for(const e of a){const i=this[t(441)][t(260)](e)||kt(e,!1),n=this[t(279)][t(260)](e)||kt(e,!1);i[t(445)]()||n[t(445)]()?(s[t(375)][e]=yt(i),s[t(518)][e]=yt(n),this[t(356)](s[t(518)][e],n),this[t(356)](s[t(375)][e],i),r[t(375)][e]=this[t(402)](this[t(458)][t(260)](e),[]),r[t(518)][e]=this[t(402)](this[t(464)][t(260)](e)||kt(e,!1),[])):a[t(493)](e)}for(const s of a){const o=r[t(375)][s];for(const s of o){const r=this[t(275)](s),o=s[t(287)][t(326)](r);i[t(493)](o),o>=this[t(501)]&&n[t(291)](o,e[t(260)](o))}}for(const s of a){const a=r[t(375)][s],c=this[t(519)](r[t(518)][s]);let u=0;for(const s of a){const r=this[t(275)](s),a=s[t(287)][t(326)](r);if(!n[t(436)](a)&&!o[t(436)](a))if(i[t(436)](a))u++;else{if(a!=c[u]){const n=e[t(260)](a)||e[t(260)](c[u]);for(;a!=c[u];)i[t(436)](c[u])||(o[t(291)](c[u],n),e[t(291)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(375)][e];for(const e of s){const s=this[t(275)](e),r=e[t(287)][t(326)](s);if(o[t(436)](r)){const e=o[t(260)](r);i[t(436)](r)||i[t(291)](r,{...e}),n[t(291)](r,{...e})}}}for(const e of i[t(369)]())e>=this[t(501)]&&i[t(493)](e);const c=new Map;for(const e of a){let s=r[t(375)][e];for(const e of s)if(e[t(287)].is(t(368),t(448))){const i=this[t(275)](e),s=e[t(287)][t(326)](i);if(n[t(436)](s)){const i=e[t(287)][t(335)][t(335)][t(326)](t(288)),r=c[t(260)](i)||new Set;r[t(371)](n[t(260)](s)[t(527)]),c[t(291)](i,r)}}s=r[t(518)][e];for(const e of s)if(e[t(287)].is(t(368),t(448))){const n=this[t(275)](e),s=e[t(287)][t(326)](n);if(i[t(436)](s)){const n=e[t(287)][t(335)][t(335)][t(326)](t(288)),r=c[t(260)](n)||new Set;r[t(371)](i[t(260)](s)[t(527)]),c[t(291)](n,r)}}for(const e of c[t(369)]())(n[t(436)](e)||i[t(436)](e))&&c[t(493)](e)}for(const e of a){const s=r[t(375)][e];let o=null,a=null;for(const e of s){const s=this[t(275)](e),r=e[t(287)][t(326)](s),u=c[t(260)](r);u&&t(469)==e[t(408)]&&(o=Array[t(536)](u)[0],a=e[t(287)][t(326)](t(394))),o&&(i[t(291)](r,{userId:o}),n[t(291)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(518)][e],a=s[t(375)][e];for(const{userId:e}of this[t(378)][t(478)]())null!==e&&l[t(371)](e);for(const{userId:e}of this[t(301)][t(478)]())null!==e&&l[t(371)](e);this[t(320)](a,r[t(375)][e],n,t(432),l),this[t(320)](o,r[t(518)][e],i,t(359),l),u[e]={insertions:this[t(367)](a),deletions:this[t(367)](o),attachChange:this[t(301)][t(260)](e)||null,attributesBefore:R(this[t(472)][t(260)](e))||{},attributesAfter:R(this[t(273)][t(260)](e))}}return{diffData:u,authorsIds:Array[t(536)](l)}}[ft(390)](t){const e=ft;for(const[,i]of t[e(352)]){const t=i[e(449)][e(435)]()[e(510)](t=>e(448)==t[e(509)]);for(const i of t)1==i[e(497)]&&i[e(499)](0).is(e(368),e(487))&&i[e(499)](0)[e(442)](e(322),!0)}}[ft(367)](t){const e=ft;this[e(390)](t);const i=this[e(473)][e(299)][e(243)](t,{}),n=Array[e(536)](i[e(269)]())[e(426)](t=>this[e(304)](t));return JSON[e(241)](n)}[ft(304)](t){const e=ft;if(t.is(e(253)))return t[e(299)];{const i=this[e(473)][e(516)][e(260)](e(334)),n=t,s=this[e(473)][e(299)][e(248)][e(403)],r={type:i[e(317)](n),name:n[e(509)],attributes:Array[e(536)](n[e(280)]()),children:Array[e(536)](n[e(269)]())[e(426)](t=>this[e(304)](t))};if(t.is(e(244))&&e(311)!=t[e(509)]){const i=t[e(306)](s[e(354)],s);r[e(534)][e(258)](i[e(418)])}else if(t.is(e(303))){const i=s[e(354)][e(453)](n[e(509)]);t[e(306)](i,s),r[e(534)][e(258)](i[e(245)])}const o=Array[e(536)](n[e(504)]());o[e(533)]>0&&(r[e(350)]=o);const a=n[e(252)]();return null!==a&&(r[e(513)]=a),r}}[ft(320)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(473)][r(296)];for(let n=0;n<e[r(533)];n++){const s=this[r(275)](e[n]),c=e[n][r(287)][r(326)](s),h=i[r(260)](c),d=n==e[r(533)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(527)]!=o[r(527)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(527)],d=l(544)+n+":"+h+":"+c++,f=u[l(305)](i,a);t[l(352)][l(291)](d,f),null!==h&&s[l(371)](h)}}[ft(275)](t){const e=ft;switch(t[e(408)]){case e(469):return e(288);case e(342):return e(394);default:return e(425)}}[ft(343)](t,e){const i=ft;t[i(265)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(260)](s[i(537)][i(417)]);t[n]=this[i(412)](s,r)}if(s instanceof X.ModelRange){const r=e[i(260)](s[i(537)][i(417)]);t[n]=this[i(393)](s,r)}i(537)===n&&(t[i(537)]=e[i(260)](t[i(537)][i(417)]))}}[ft(393)](t,e){const i=ft;return this[i(473)][i(296)][i(305)](this[i(412)](t[i(449)],e),this[i(412)](t[i(416)],e))}[ft(412)](t,e){const i=ft;return this[i(473)][i(296)][i(309)](e,t[i(404)],t[i(398)])}[ft(476)](t){const e=ft,i=this[e(458)][e(260)](t[e(543)][e(537)][e(417)]),n=this[e(412)](t[e(543)],i),s=null===t[e(444)]?null:t[e(444)]||this[e(473)][e(516)][e(260)](e(506)).me.id,r=n[e(335)],o=this[e(373)],a=[];for(const i of t[e(431)])if(i.is(e(368)))a[e(258)](this[e(307)](i));else for(let t=0;t<i[e(364)];t++)a[e(258)](new X.ModelElement(e(253),{vid:this[e(373)]++}));const c=this[e(373)];for(let t=o;t<c;t++)this[e(528)][e(291)](t,{userId:s});r[e(515)](n[e(348)],a)}[ft(377)](t){const e=ft;(t=this[e(399)](t,this[e(458)]))[e(549)]();const i=null===t[e(444)]?null:t[e(444)]||this[e(473)][e(516)][e(260)](e(506)).me.id,n=t[e(297)](),s=n[e(335)],r=n[e(348)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(499)](e);r.is(a(368),a(253))?n[a(291)](r[a(326)](a(425)),{userId:i}):(n[a(291)](r[a(326)](a(288)),{userId:i}),t(n,r,0,r[a(497)]),n[a(291)](r[a(326)](a(394)),{userId:i}))}}(this[e(528)],s,r,r+t[e(345)])}[ft(344)](t){const e=ft,i=null===(t=this[e(399)](t,this[e(458)]))[e(444)]?null:t[e(444)]||this[e(473)][e(516)][e(260)](e(506)).me.id,n=t[e(553)][e(335)],s=t[e(374)][e(335)],r=n[e(326)](e(394)),o=s[e(326)](e(288));n[e(442)](e(394),s[e(326)](e(394))),s[e(442)](e(394),r),this[e(528)][e(291)](o,{userId:i}),this[e(528)][e(291)](r,{userId:i}),t[e(549)]()}[ft(365)](t){const e=ft,i=null===(t=this[e(399)](t,this[e(458)]))[e(444)]?null:t[e(444)]||this[e(473)][e(516)][e(260)](e(506)).me.id,n=t[e(443)],s=t[e(256)][e(335)];t[e(549)]();const r=s[e(326)](e(394)),o=t[e(427)][e(450)];if(n){const t=o[e(326)](e(394)),n=s[e(326)](e(394));s[e(442)](e(394),t),o[e(442)](e(394),n),this[e(528)][e(291)](s[e(326)](e(394)),{userId:i}),this[e(528)][e(291)](o[e(326)](e(288)),{userId:i})}else{const t=this[e(373)]++,n=this[e(373)]++;s[e(442)](e(394),t),o[e(442)](e(288),n),o[e(442)](e(394),r),this[e(528)][e(291)](t,{userId:i}),this[e(528)][e(291)](n,{userId:i})}}[ft(251)](t){const e=ft;if(!t[e(411)])return;const i=(t=this[e(399)](t,this[e(441)]))[e(246)]?t[e(246)][e(537)]:null,n=t[e(385)]?t[e(385)][e(537)]:null;i&&this[e(552)][e(493)](t[e(509)]),n&&this[e(552)][e(291)](t[e(509)],t[e(385)][e(462)]());const s=null===t[e(444)]?null:t[e(444)]||this[e(473)][e(516)][e(260)](e(506)).me.id,r=t[e(509)];if(!this[e(378)][e(436)](r))return void this[e(378)][e(291)](r,{range:t[e(246)],userId:s});const o=this[e(378)][e(260)](r),a=o[e(259)],c=t[e(385)];null==a&&null==c||a&&c&&a[e(500)](c)?this[e(378)][e(493)](t[e(509)]):o[e(527)]=s}[ft(467)](t,e){const i=ft;this[i(441)][i(436)](t[i(417)])?this[i(441)][i(260)](t[i(417)])[i(315)]=t[i(507)]:(this[i(441)][i(291)](t[i(417)],kt(t[i(417)],!0)),this[i(273)][i(291)](t[i(417)],{}),e&&this[i(458)][i(291)](t[i(417)],kt(t[i(417)],!0)));const n=null===t[i(444)]?null:t[i(444)]||this[i(473)][i(516)][i(260)](i(506)).me.id,s=this[i(301)][i(260)](t[i(417)]);s&&s[i(527)]===n?this[i(301)][i(493)](t[i(417)]):this[i(301)][i(291)](t[i(417)],{userId:n,isAttached:t[i(507)]})}[ft(381)](t){const e=ft,i=this[e(273)][e(260)](t[e(537)][e(417)]);null===t[e(488)]?delete i[t[e(477)]]:i[t[e(477)]]=t[e(488)]}}function yt(t){const e=ft,i=kt(t[e(417)],t[e(445)]());for(const n of t[e(269)]()){const t=n[e(339)](!0);i[e(538)](t)}return i}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(417)]=t,n[i(315)]=e,n[i(445)]=()=>n[i(315)],n}function bt(t,e,i){const n=ft,s=n(342)==t[n(408)]?i[n(551)](t[n(287)],n(416)):i[n(389)](t[n(287)]);return i[n(309)](e,s[n(404)],s[n(398)])}function wt(t,e,i){const n=ft,s=n(469)==t[n(408)]?i[n(551)](t[n(287)],0):i[n(494)](t[n(287)]);return i[n(309)](e,s[n(404)],s[n(398)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),At=i.n(Nt),Rt=i(667),Mt=i.n(Rt),Vt=i(357),Et=i.n(Vt),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(959),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=Et();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Wt;function Pt(){const t=["revisionNameInputView","form","ck-responsive-form","arrowdown","717740OKUCkS","Name of the revision","label","errorText","revisionNameInputValue","234OmkDRc","arrowleft","reset","input","70eSdPsu","locale","117020FsrHuK","stopPropagation","focusTracker","initializeCssTransitionDisablerMixin","220","trim","1792035gaveNc","set","ck-revision-history-save-revision-form","keystrokes","296nKAgCD","focus","2171546JZJETV","9905OUwJPu","_createRevisionNameInput","render","arrowright","value","optional","setTemplate","75486HIsPlI","arrowup","4584396MCKVSE","revisionName","fieldView","element","extendTemplate","add","listenTo"];return(Pt=function(){return t})()}function Wt(t,e){const i=Pt();return(Wt=function(t,e){return i[t-=157]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(826728===parseInt(e(186))/1+parseInt(e(165))/2+parseInt(e(159))/3+-parseInt(e(175))/4+-parseInt(e(195))/5*(parseInt(e(173))/6)+-parseInt(e(166))/7*(-parseInt(e(163))/8)+-parseInt(e(191))/9*(parseInt(e(197))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(199)];[jt(162)];[jt(182)];constructor(e,i){const n=jt;super(e),this[n(199)]=new t.FocusTracker,this[n(162)]=new t.KeystrokeHandler,this[n(160)](n(190),""),this[n(182)]=this[n(167)](i),this[n(172)]({tag:n(183),attributes:{class:["ck",n(161),n(184)],tabindex:"-1"},children:[this[n(182)]]}),this[n(200)]()}[jt(168)](){const t=jt;super[t(168)](),(0,It.submitHandler)({view:this}),this[t(199)][t(180)](this[t(182)][t(178)]),this[t(162)][t(181)](this[t(178)]);const e=e=>e[t(198)]();this[t(162)][t(160)](t(169),e),this[t(162)][t(160)](t(192),e),this[t(162)][t(160)](t(174),e),this[t(162)][t(160)](t(185),e)}[jt(164)](){const t=jt;this[t(182)][t(164)]()}get[jt(176)](){const t=jt;return this[t(182)][t(177)][t(178)][t(170)][t(158)]()}set[jt(176)](t){const e=jt;this[e(182)][e(177)][e(178)][e(170)]=t[e(158)]()}[jt(193)](){const t=jt;this[t(182)][t(177)][t(178)][t(170)]="",this[t(182)][t(189)]=null}[jt(167)](t){const e=jt,i=new It.LabeledFieldView(this[e(196)],It.createLabeledInputText),n=i[e(177)];n[e(179)]({attributes:{maxlength:e(157)}});let s=at(this[e(196)],e(187));return!t&&(s+=" ("+at(this[e(196)],e(171))+")"),i[e(188)]=s,n.on(e(194),()=>{const t=e;this[t(190)]=n[t(178)][t(170)][t(158)]()}),i}}function Ut(){const t=["set","add","140591kpmhYx","Accept","execute","1158252ZFuheB","errorText","4753104zEXBfb","_registerMenuComponent","872510NUmkkc","RevisionHistoryUI","4956705XUaorB","locale","Open revision history","role","get","540piOylV","3282248HNMVBi","init","RevisionTracker","9FIUtYs","items","config","focus","addMany","plugins","menu","buttonView","isPremiumPlugin","hide","componentFactory","render","showRevisionViewerCallback","requires","Save current revision","children","Dialog","isOpen","revisionHistory","isReadOnly","isReady","editor","revisionSave","editing","revisionName","21hJiVqs","isOfficialPlugin","_saveRevisionFormView","saveRevision","revisionHistory.requireRevisionName","ck-button-action","view","revisionNameInputView","delegate","show","panelView","6NXoPxJ","isEnabled","reset","Revision history","The revision name cannot be empty.","menuBar:revisionHistory","menuitem","pluginName","submit","693618VVtJSm","bind","Cancel","_showDialog","_createSaveRevisionFormView"];return(Ut=function(){return t})()}function Ht(t,e){const i=Ut();return(Ht=function(t,e){return i[t-=164]})(t,e)}const Zt=Ht;!function(t){const e=Ht,i=t();for(;;)try{if(697073===-parseInt(e(172))/1+parseInt(e(228))/2*(parseInt(e(219))/3)+-parseInt(e(180))/4+parseInt(e(174))/5+-parseInt(e(168))/6*(parseInt(e(208))/7)+parseInt(e(170))/8*(parseInt(e(183))/9)+parseInt(e(179))/10*(parseInt(e(165))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class qt extends G.Plugin{static get[Zt(226)](){return Zt(173)}static get[Zt(209)](){return!0}static get[Zt(191)](){return!0}static get[Zt(196)](){return[vt]}[Zt(210)];[Zt(181)](){const t=Zt,e=this[t(204)],i=e[t(188)][t(178)](t(182));e.ui[t(193)][t(164)](t(201),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(218)][s(198)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(229)](s(220)).to(i,s(203),i,s(220),e,s(202),(t,e,i)=>t&&e&&!i),r[s(190)][s(233)]({icon:_t.IconHistory,label:at(n,s(222)),tooltip:!0}),u[s(233)]({label:at(n,s(197)),withText:!0,role:s(225)}),u[s(229)](s(220)).to(i,s(203),i,s(220),e,s(202),(t,e,i)=>t&&e&&!i),u.on(s(167),()=>this[s(231)]()),h[s(233)]({label:at(n,s(176)),withText:!0,role:s(225)}),h[s(229)](s(220)).to(i,s(203),e,s(202),(t,e)=>t&&!e),h.on(s(167),()=>{const t=s;e[t(185)][t(178)](t(201))[t(195)](),r[t(200)]=!1,e[t(206)][t(214)][t(186)]()}),c[s(198)][s(164)](u),l[s(198)][s(164)](h),a[s(177)]=s(189),a[s(184)][s(187)]([c,l]),o[s(164)](a),r}),e.ui[t(193)][t(164)](t(224),()=>this[t(171)]())}[Zt(171)](){const t=Zt,e=this[t(204)],i=e[t(175)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(190)][t(233)]({icon:_t.IconHistory,label:at(i,t(222))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(233)]({label:at(i,t(197))}),o[t(216)](t(167)).to(n),o.on(t(167),()=>{this[t(231)]()}),r[t(198)][t(164)](o),s[t(184)][t(164)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(233)]({label:at(i,t(176))}),c[t(216)](t(167)).to(n),c.on(t(167),()=>{const i=t;e[i(185)][i(178)](i(201))[i(195)]()}),a[t(198)][t(164)](c),s[t(184)][t(164)](a),n[t(218)][t(198)][t(164)](s),n}[Zt(231)](){const t=Zt,e=this[t(204)],i=e[t(175)],n=e[t(188)][t(178)](t(199)),s=e[t(188)][t(178)](t(182));function r(s){const r=t;e[r(185)][r(178)](r(212))&&""===s[r(207)]?s[r(215)][r(169)]=at(i,r(223)):(e[r(188)][r(178)](vt)[r(211)]({name:s[r(207)]}),n[r(192)]())}this[t(210)]||(this[t(232)](),this[t(210)].on(t(227),()=>r(this[t(210)]))),this[t(210)][t(221)](),n[t(217)]({id:t(205),title:at(i,t(197)),isModal:!0,content:this[t(210)],actionButtons:[{label:at(e[t(175)],t(230)),withText:!0,onExecute:()=>n[t(192)]()},{label:at(e[t(175)],t(166)),class:t(213),withText:!0,onCreate(i){const n=t;i[n(229)](n(220)).to(s,n(203),s,n(220),e,n(202),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(210)])}]})}[Zt(232)](){const t=Zt,e=this[t(204)],i=e[t(175)];this[t(210)]=new zt(i,e[t(185)][t(178)](t(212))),this[t(210)][t(194)]()}}function $t(){const t=["ck-revision-change__","data","setTemplate","span","Suggested by","ck-revision-change__label","changeId","ck-revision-change","isSuggestion","13352gYpahm","set","type","6756NJydoq","276977gNRrSp","_model","5270985eluqpF","10FbaIQh","6041ngmNUF","name","1601546HiLIfl","bindTemplate","Removed by","26904WsYaYr","focus","2045cHKKee","1844326ycysKB","92hcuLNl","ck-annotation","add","element","div","Added by","author"];return($t=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=$t();return(Yt=function(t,e){return i[t-=493]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(722200===parseInt(e(493))/1+parseInt(e(499))/2+-parseInt(e(502))/3*(-parseInt(e(506))/4)+-parseInt(e(504))/5*(-parseInt(e(525))/6)+-parseInt(e(497))/7*(parseInt(e(522))/8)+parseInt(e(495))/9+parseInt(e(496))/10*(-parseInt(e(505))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt extends It.View{[Bt(519)];[Bt(494)];constructor(t,e){const i=Bt;super(t),this[i(494)]=e,this[i(519)]=e.id;const n=this[i(500)],s=at(t,e[i(514)][i(521)]?i(517):i(508)==e[i(524)]?i(511):i(501));this[i(523)](i(524),e[i(524)]),this[i(515)]({tag:i(510),attributes:{class:[i(507),i(520),n.to(i(524),t=>i(513)+t)],tabindex:-1},children:[{tag:i(516),children:[{tag:i(516),attributes:{class:[i(518)]},children:[{text:s}]},{text:" "+e[i(512)][i(498)]}]}]})}[Bt(503)](){const t=Bt;this[t(509)][t(503)]()}}function Gt(t,e){var i=Xt();return(Gt=function(t,e){return i[t-=102]})(t,e)}var Kt=Gt;function Xt(){var t=["1269LrNeAv","1032768TNbGeo","toJSON","115240NFoyjk","5560220serihr","type","4570650SztAGU","1502993aBVMXn","28yyyeSf","createdAt","rootName","data","author","3422400epjLck","set","2643162OWYNVG"];return(Xt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(936565===parseInt(e(109))/1+-parseInt(e(115))/2+-parseInt(e(103))/3+-parseInt(e(106))/4+-parseInt(e(108))/5+-parseInt(e(117))/6*(-parseInt(e(110))/7)+-parseInt(e(105))/8*(-parseInt(e(102))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(114)];[Kt(107)];[Kt(113)];[Kt(112)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(114)]=e[i(114)],this[i(107)]=e[i(107)],this[i(113)]=e[i(113)]||{},this[i(112)]=e[i(112)],this[i(116)](i(111),e[i(111)])}[Kt(104)](){var t=Kt;return{id:this.id,authorId:this[t(114)].id,type:this[t(107)],data:this[t(113)],createdAt:this[t(111)]}}}function te(t,e){const i=ie();return(te=function(t,e){return i[t-=394]})(t,e)}const ee=te;function ie(){const t=["11jKFrEb","oldRevisionId","4978416JbInit","newRevisionId","7930OhHIXc","8BbwdvK","_setChanges","1635239NCkjLO","11187vovlgj","changes","4492890qVduRm","6418405YjyUGC","add","10iiBMph","2fmVAXV","4420902PSmTse","10468296eqtNbe"];return(ie=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(894995===-parseInt(e(396))/1+parseInt(e(403))/2*(parseInt(e(399))/3)+-parseInt(e(408))/4+parseInt(e(402))/5*(parseInt(e(404))/6)+parseInt(e(400))/7*(parseInt(e(394))/8)+-parseInt(e(397))/9*(parseInt(e(410))/10)+-parseInt(e(406))/11*(-parseInt(e(405))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[ee(409)];[ee(407)];[ee(398)];constructor(e,i){const n=ee;this[n(409)]=e,this[n(407)]=i,this[n(398)]=new t.Collection}[ee(395)](t){const e=ee;for(const i of t)this[e(398)][e(401)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["stop","editor","observeMarkers","_markInsertions","_update","2595141EaPyyS","isReady","revision-comment:","pluginName","selection","changes","markers","getDomRoot","1036TOrIfL","markerToHighlight","revisionHistoryLabel","revision","downcastDispatcher","insertions","test","name","isBefore","viewItem","slice","markersEnd","parent","mouseover","affectsData","POSITIVE_INFINITY","getAttributes","element:pre","removeAttribute","execute","insert","_getViewForChange","_changeIdToChange","isPremiumPlugin","changeId","attributesBefore","_removeUnsupportedChanges","first","removeMarker:revision","24968010ueDRXO","createRange","then","currentChangeNumber","ck-suggestion-marker","attributes","removeClass","adapter","addMarker:revision-suggestion:insertion","isAttached","_setDistance","top","vid","highest","change:isEnabled","showNextChange","document","config","4128CUrMRh","markersStart","markerToData","domConverter","target","start","addRevision","right","ck-suggestion-marker-split","ck-suggestion-preview-marker","_findChangeIdFromDomTarget","forEach","startIndex","markerRange","_markMismatchedRemovedTags","plugins","distance","end","for","_refreshStartEndIndex","RevisionHistoryUtils","schema","_cleanMarkers","forceDisabled","pop","pairId","_makeModelFromViewString","nextPosition","change:isReady","hasClass","findIndex","push","getRoot","span","revision:","ck-revision-history-root-","revisionHistory","delete","reconvertMarker","_revisions","getAttribute","from","item","left","bind","change","55544Vhbzgm","comment","revision-viewer","upcast","_getRevisionsRange","getWalker","hasAttribute","compare","getRootNames","isCollapsed","error","catch","isNavigationMode","unshift","attributesAfter","clear","mapper","getIndex","_step","previousPosition","numberOfChanges","destroy","_utils","startsWith","_appendChild","change:activeView","isRemoveSuggestion","modelRange","revision-suggestion","enqueueChange","detachRoot","consumable","showStack","add","maxOffset","getChild","index","_cleanUp","domEvent","find","_setChanges","_sortAndFilterDiffChanges","ck-revision-history-root-add","isEnabled","isOnRoot","split","remove","concat","userId","offsetSize","object","updatePosition","get","revision-suggestion:","ck-suggestion-marker-","keys","high","diffData","isIncorrect","length","range","_removeMissingPairs","all","_balloon","deletions","addMarker:revision","restoreRevisionCallback","element","toViewElement","map","RevisionViewer","suggestion","elementStart","WidgetToolbarRepository","locale","enableReadOnlyMode","model","restoreRevision","_markSuggestions","isSuggestion","isAtEnd","removeMarker","flat","getRevision","conversion","merge","nodeAfter","rootName","isRemoved","return","createPositionFromPath","getItems","nextSibling","RevisionsRepository","1252545wwzmDZ","createRevision","code","elementEnd","splice","level","addRoot","_getChangeFromId","addRevisionData","suggestion:","_setConversion","addClass","isAddSuggestion","removeMarker:revision-suggestion","low","markerName","commands","endIndex","set","isEqual","mousedown","text","listenTo","resolve","sort","filter","string","getRevisionRootsAttributes","has","toViewRange","softBreak","createAttributeElement","newRevisionId","abs","mapViewToDom","roots","getRevisionDocumentData","ck-suggestion-marker-merge","createUIElement","showPreviousChange","2055EsZqLG","getLaterVisibleRevision","_makeTape","ck-editor__editable__overlay","attachChange","values","authors","_threeWayMerge","createPositionBefore","forward","addHighlight","_initInteractions","data-change-id","toViewPosition","setAttribute","indexOf","isAdded","editing","writer","isContent","_fixObsoleteTags","data","getClientRects","oldRevisionId","getCustomProperty","view","isInline","editingDowncast","refresh","consume","5300826KLOYbR","addMarker:revision-suggestion:deletion","_joinTapes","change:activeChange","dataDowncast","elementToAttribute","insertion","dataToMarker","activeChange","isLimit","wrap","checkAttribute","_getDiff","init","_changeView","backward","3apSLVM","vid_start","256612AoWgOf","unbindElementFromMarkerName","_processTape","_activeViewTarget","createRangeIn","side","deletion","activeView","change:numberOfChanges","markerNameToElements","type","isBlock","isAfter","shift","ck-suggestion-preview-marker-","ck-revision-history-root-remove","isOfficialPlugin","revisionHistoryAttachChange","uiElement","ck-suggestion-marker--active","repository","_markMarkers","-new","done","bindElementToMarker","bottom","next","_data","loadRevisionData","_makeModelFromTape","vid_end","isObject","attribute:vid","isAtStart","ck-revision-history-root--active","requires","diff","includes"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=278]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(543912===parseInt(e(452))/1*(parseInt(e(454))/2)+parseInt(e(406))/3*(parseInt(e(552))/4)+-parseInt(e(366))/5+parseInt(e(436))/6+parseInt(e(505))/7*(parseInt(e(598))/8)+parseInt(e(497))/9+-parseInt(e(534))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(474)];[oe(541)]=null;[oe(294)];[oe(457)];[oe(450)];[oe(527)];[oe(335)];static get[oe(500)](){return oe(342)}static get[oe(470)](){return!0}static get[oe(528)](){return!0}static get[oe(489)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(474)]=this[e(493)][e(567)][e(324)](e(365)),this[e(294)]=this[e(493)][e(567)][e(324)](e(572)),this[e(384)](e(444),null),this[e(384)](e(461),null),this[e(457)]=null,this[e(384)](e(490),null),this[e(384)](e(498),!1),this[e(384)](e(315),!0),this.on(e(548),(t,i,n)=>{const s=e;this[s(444)]=null,this[s(461)]=null,this[s(493)][s(423)][s(431)][s(597)](t=>{const e=s;for(const i of this[e(493)][e(423)][e(431)][e(550)][e(401)])n?t[e(540)](e(409),i):t[e(377)](e(409),i)})}),this[e(596)](e(284)).to(this,e(444),t=>null!==t),this[e(596)](e(537)).to(this,e(498),this,e(490),this,e(444),(t,i,n)=>t&&n?i[e(502)][e(289)](n):0),this[e(596)](e(292)).to(this,e(498),this,e(490),(t,i)=>t?i[e(502)][e(331)]:0),this[e(450)]=null,this[e(527)]=new Map,this[e(335)]=this[e(493)][e(567)][e(324)](It.ContextualBalloon)}[oe(449)](){const t=oe,e=this[t(493)],i=new de(e,{direction:t(451)}),n=new de(e,{direction:t(415)});e[t(382)][t(305)](t(405),i),e[t(382)][t(305)](t(549),n),e[t(382)][t(305)](t(349),new he(e)),this.on(t(462),()=>{const e=t;i[e(434)](),n[e(434)]()}),this[t(376)](),this[t(417)](),e[t(347)](t(600)),e[t(567)][t(394)](t(345))&&e[t(567)][t(324)](t(345))[t(575)](t(600))}async[oe(402)](t){const e=oe;return await this[e(294)][e(482)](t,this[e(541)]),this[e(294)][e(402)](t)}async[oe(393)](t){const e=oe;return await this[e(294)][e(482)](t,this[e(541)]),this[e(294)][e(393)](t)}async[oe(279)](t,e,i=!1){const n=oe;if(!this[n(315)])return;const s=this[n(490)],r=this[n(474)],o=n(392)==typeof t?r[n(355)](t):t,a=n(392)==typeof e?r[n(355)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(490)]&&this[n(490)][n(398)]===c&&this[n(490)][n(429)]===u)return Promise[n(389)]();this[n(498)]=!1,this[n(461)]=null,this[n(444)]=null,this[n(490)]=new ne(c,u);const l=this[n(602)](o,a,!0)[n(341)](t=>this[n(294)][n(482)](t,this[n(541)]));return l[n(583)](new Promise(t=>{setTimeout(t,20)})),Promise[n(334)](l)[n(536)](()=>{const t=n;if(!this[t(315)])return;this[t(309)]();const e=this[t(448)](c,u);for(const i of e[t(502)])this[t(527)][t(384)](i.id,i);this[t(493)][t(348)][t(301)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(493)][n(348)][n(550)][n(280)]())i[n(302)](t);for(const t of Object[n(327)](e[n(348)])){const s=i[n(372)](t);for(const r of Object[n(327)](e[n(539)][t]))i[n(420)](r,e[n(539)][t][r],s);i[n(525)](e[n(348)][t],s,0)}}),this[t(490)][t(312)](this[t(313)](e[t(502)])),this[t(498)]=!0})[n(283)](t=>{const e=n;console[e(282)](t),this[e(309)](),s&&(this[e(490)]=s),this[e(498)]=!0})}[oe(374)](t,e){const i=oe,n=this[i(474)][i(367)](t);return n.on(i(496),(t,i,s)=>e(i,s,n)),this[i(474)][i(558)](n),n}[oe(309)](){const t=oe;this[t(444)]=null,this[t(574)](),this[t(450)]&&this[t(450)][t(293)](),this[t(450)]=null,this[t(527)][t(287)](),this[t(493)][t(348)][t(301)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(493)][i(348)][i(550)][i(280)]())e[i(302)](t)})}[oe(313)](t){const e=oe,i=[],n=new Map;for(const t of this[e(493)][e(348)][e(550)][e(280)]()){const s=this[e(493)][e(423)][e(431)][e(504)](t);if(!s)continue;const r=s[e(428)]()[e(594)](0);r&&(i[e(583)](t),n[e(384)](t,r))}return i[e(390)]((t,i)=>{const s=e,r=n[s(324)](t),o=n[s(324)](i);return r.y-o.y||r.x-o.x}),(t=t[e(391)](t=>i[e(491)](t[e(359)])))[e(390)]((t,n)=>i[e(421)](t[e(359)])-i[e(421)](n[e(359)])),t}[oe(408)](t){const e=oe,i=Array[e(593)](t[e(503)])[e(391)](([t,i])=>t[e(295)](e(586))&&!i[e(281)]),n=Array[e(593)](this[e(493)][e(348)][e(458)](t)[e(603)]({singleCharacters:!0}));if(0!=i[e(331)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(317)](":");if(s[e(569)][e(385)](t[e(579)])&&i[e(467)](),(t[e(291)][e(385)](s[e(557)])||t[e(291)][e(466)](s[e(557)]))&&(e(442)==r?t[e(422)]={userId:o}:e(460)==r&&(t[e(360)]={userId:o})),0==i[e(331)])break}return n}[oe(571)](t){const e=oe,i=new Map;for(let n=0;n<t[e(331)];n++)e(387)===t[n][e(464)]?(t[n][e(594)][e(564)]=n,t[n][e(594)][e(383)]=n):(e(344)===t[n][e(464)]?t[n][e(594)][e(564)]=n:e(369)===t[n][e(464)]&&(t[n][e(594)][e(383)]=n),i[e(384)](t[n].id,n));for(const n of i[e(411)]())e(344)===t[n][e(464)]?t[n][e(594)][e(383)]=i[e(324)](t[n][e(577)]):e(369)===t[n][e(464)]&&(t[n][e(594)][e(564)]=i[e(324)](t[n][e(577)]))}[oe(456)](t){const e=oe;for(let i=0;i<t[e(331)];i++){if(e(344)===t[i][e(464)])t[i][e(594)][e(564)]=i;else if(e(369)===t[i][e(464)]){t[i][e(594)][e(383)]=i;const n=t[i][e(594)][e(564)];t[n][e(577)]=t[i].id,t[i][e(577)]=t[n].id}else t[i][e(594)][e(564)]=i,t[i][e(594)][e(383)]=i,t[i][e(577)]=null;t[i][e(553)]||(t[i][e(553)]=[],t[i][e(516)]=[])}}[oe(495)](t,e){const i=oe,n=t[i(391)](t=>!t[i(422)]);for(let t=0;t<e[i(331)];t++)e[t][i(422)]&&(n[t][i(422)]=e[t][i(422)])}[oe(448)](t,e=null){const i=oe,n=this[i(474)][i(355)](t),s=e?this[i(474)][i(355)](e):null,r=this[i(602)](n,s),o=r[r[i(331)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(331)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(327)](e[i(329)]))if(e[i(329)][t][i(410)]){const n=e[i(329)][t][i(410)];n[i(543)]?(u[i(305)](t),l[i(394)](t)&&l[i(324)](t)[i(320)]==n[i(320)]?l[i(589)](t):l[i(384)](t,n)):l[i(394)](t)?(u[i(589)](t),l[i(589)](t)):(u[i(305)](t),l[i(384)](t,n))}else u[i(305)](t)}for(const t of u){const e=l[i(394)](t)&&!l[i(324)](t)[i(543)];let n=e?r[i(331)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(329)][t]){const n=e?o[i(329)][t][i(530)]:o[i(329)][t][i(286)];c[i(539)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(348)]={};for(const e of t[i(412)])a[i(384)](e.id,e);for(const e of u){const n=t[i(329)][e]?t[i(329)][e][i(510)]:"[]",s=t[i(329)][e]?t[i(329)][e][i(336)]:"[]";t[i(348)][e]={insertions:this[i(294)][i(578)](n),deletions:this[i(294)][i(578)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(593)](n[i(348)][t][i(510)][i(503)])[i(391)](([t])=>!t[i(295)](i(586))));let h=0;for(const o of r){const r=this[i(408)](o[i(348)][t][i(510)]);o==n?(e=r,s=e[i(331)],e[i(563)](t=>{t.id=h++}),this[i(456)](e)):this[i(495)](e,r);const a=e[i(391)](t=>!t[i(422)])[i(341)](t=>t.id);let c=0;const l=this[i(408)](o[i(348)][t][i(336)]);l[i(563)](t=>{t[i(360)]?t.id=s++:t.id=a[c++]}),this[i(456)](l),this[i(544)](e,i(422)),this[i(544)](l,i(360)),o==n&&this[i(475)](e,u),e=this[i(438)](e,l),this[i(571)](e),this[i(544)](e,i(360))}e=e[i(391)](t=>!(t[i(422)]&&t[i(360)]));const d=new Map(o[i(348)][t][i(336)][i(503)]),f=new Set(u[i(327)]());for(const t of d[i(327)]())f[i(589)](t);this[i(350)](e,f),this[i(426)](e),e=this[i(333)](e),e=this[i(566)](e),e=this[i(531)](e);const{root:m,changes:p}=this[i(483)](e,a,t);c[i(348)][t]=m;const v=l[i(324)](t);if(v){const e=a[i(324)](v[i(320)]),n=new Qt({author:e,type:v[i(543)]?i(305):i(318),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(285)](n),c[i(539)][t][i(471)]=n.id}c[i(502)]=c[i(502)][i(319)](p)}return c}[oe(475)](t,e){const i=oe;for(let n=0;n<t[i(331)];n++)for(const[s,r]of e)!r[i(281)]&&r[i(557)][i(385)](t[n][i(291)])&&t[n][i(553)][i(583)](s),r[i(569)][i(385)](t[n][i(579)])&&t[n][i(516)][i(583)](s)}[oe(438)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(331)]||r<e[i(331)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(583)](o);else if(a[i(360)]&&o[i(422)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(413)](t,s,e,r);n=n[i(319)](o),s=a,r=c}else a[i(360)]?(r++,n[i(583)](a)):(s++,n[i(583)](o))}return n}[oe(350)](t,e){const i=oe,n=[];for(let o=0;o<t[i(331)];o++){for(let r=0;r<t[o][i(553)][i(331)];r++){const a=t[o][i(553)][r];if(!e[i(394)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(300)!=c||i(442)!=u&&i(460)!=u||(n[i(285)]({type:u,name:a,userId:l}),t[o][i(553)][i(370)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(516)][i(331)];r++){const a=t[o][i(516)][r];if(!e[i(394)](a))continue;const{group:c,type:u}=s(a);if(i(300)!=c||i(442)!=u&&i(460)!=u)continue;t[o][i(516)][i(370)](r,1),r--;const l=n[i(582)](t=>t[i(512)]==a);l>-1&&n[i(370)](l,1)}}function s(t){const e=i,n=t[e(317)](":");return{group:n[0],type:n[1],subType:n[e(331)]>=5?n[2]:null,id:n[e(331)]<5?n[2]:n[3],authorId:n[e(331)]<5?n[3]:n[4],markerCount:6==n[e(331)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(331)];i++){if(t[e(422)]&&e(442)==n[i][e(464)]&&t[e(422)][e(320)]==n[i][e(320)])return t[e(378)]=n[i],void delete t[e(422)];if(!t[e(422)]&&!t[e(360)]&&e(460)==n[i][e(464)])return void(t[e(298)]=n[i])}}}[oe(544)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(384)](o.id,n);for(let n=0;n<t[i(331)];n++){if(i(360)==e&&t[n][i(422)]||i(422)==e&&t[n][i(360)])continue;if(i(387)==t[n][i(464)]){t[n][i(568)]=0;continue}const s=r[i(324)](t[n][i(577)]),o=r[i(324)](t[n].id);t[n][i(568)]=s-o}}[oe(602)](t,e,i=!1){const n=oe,s=[];let r=this[n(474)][n(289)](t),o=this[n(474)][n(289)](e);for(-1==o&&(o=this[n(474)][n(591)][n(331)],i=!1);r<o;)s[n(583)](this[n(474)][n(355)](r)),r++;return i&&s[n(583)](this[n(474)][n(355)](r)),s}[oe(413)](t,e,i,n){const s=oe,r=this[s(493)][s(348)][s(573)];let o=e;for(;t[o]&&t[o][s(422)];)o++;let a=n;for(;i[a]&&i[a][s(360)];)a++;u(t,e,o),u(i,n,a);const c=i[s(515)](n,a)[s(319)](t[s(515)](e,o));return c[s(390)]((t,e)=>t[s(459)]!=e[s(459)]?t[s(459)]-e[s(459)]:t[s(371)]!=e[s(371)]?t[s(371)]-e[s(371)]:t[s(568)]!=e[s(568)]?e[s(568)]-t[s(568)]:!!t[s(422)]!=!!e[s(422)]?-1==t[s(459)]||0==t[s(459)]?t[s(422)]?-1:1:t[s(422)]?1:-1:t[s(308)]-e[s(308)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(520)],c=!0;for(let s=e;s<i;s++)if(r[n(432)](t[s][n(594)])||(c=!1),t[s][n(594)][n(564)]<e&&(o=s),t[s][n(594)][n(383)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(459)]=s<=o?-1:s<a?0:1,t[s][n(308)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(568)]?t[i][n(371)]=u:(u++,t[i][n(371)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(459)]&&(t[s][n(371)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(568)]?t[e][n(371)]=u:(u--,t[e][n(371)]=u,u--)}}[oe(426)](t){const e=oe,i=new Map,n=this[e(493)][e(348)][e(573)];for(let s=1;s<t[e(331)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(387)==c[e(464)])continue;if(c[e(464)]!=u[e(464)])continue;if(!n[e(465)](u[e(594)])||n[e(445)](u[e(594)]))continue;if(!n[e(465)](c[e(594)])||n[e(445)](c[e(594)]))continue;if((t[s][e(422)]||t[s][e(378)])&&t[s-1][e(360)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(360)]||!t[s-1][e(422)]&&!t[s-1][e(378)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(371)]==o[e(371)],h=Math[e(399)](r[e(371)])<Math[e(399)](o[e(371)])&&0==o[e(568)];(l||h)&&(i[e(384)](o.id,r.id),t[e(370)](a,1),s--,r[e(422)]=!1)}for(let n=0;n<t[e(331)];n++)i[e(394)](t[n][e(577)])&&(t[n][e(577)]=i[e(324)](t[n][e(577)]))}[oe(333)](t){const e=oe,i=new Set(t[e(341)](t=>t.id));for(let n=0;n<t[e(331)];n++)i[e(394)](t[n][e(577)])||0==t[n][e(568)]||(t[n][e(330)]=!0);return t[e(391)](t=>!t[e(330)])}[oe(566)](t){const e=oe,i=new Set;for(let n=0;n<t[e(331)];n++){if(i[e(394)](t[n].id)&&t[n][e(360)]&&(t[n][e(330)]=!0),t[n][e(330)])continue;if(0==t[n][e(568)])continue;if(e(344)!=t[n][e(464)])continue;if(null==t[n][e(577)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(577)];)e(344)==t[s][e(464)]?r++:e(369)==t[s][e(464)]&&r--,s++;if(0!=r)if(t[n][e(360)])t[n][e(330)]=!0;else for(;s!=n;)t[s][e(360)]&&0!=t[s][e(568)]&&(t[s][e(330)]=!0,i[e(305)](t[s][e(577)])),s--}return t[e(391)](t=>!t[e(330)])}[oe(531)](t){const e=oe,i=this[e(493)][e(348)][e(573)];for(let n=0;n<t[e(331)];n++){if(!(t[n][e(422)]||t[n][e(378)]||t[n][e(360)]||t[n][e(298)]))continue;if(0==t[n][e(568)])continue;const s=t[n][e(594)];i[e(465)](s)||i[e(445)](s)||(t[n][e(422)]&&delete t[n][e(422)],t[n][e(378)]&&delete t[n][e(378)],t[n][e(298)]&&delete t[n][e(298)],t[n][e(360)]&&(t[n][e(330)]=!0))}return t[e(391)](t=>!t[e(330)])}[oe(483)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(493)][n(348)],c=a[n(573)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(331)];e++)if(n(344)===t[e][n(464)]){t[e][n(291)]=a[n(362)](s,f);const i=new X.ModelElement(t[e][n(594)][n(512)],t[e][n(594)][n(521)]());u[0][n(296)](i),f[n(583)](0),u[n(285)](i),t[e][n(579)]=a[n(362)](s,f)}else n(369)===t[e][n(464)]?(u[n(467)](),t[e][n(291)]=a[n(362)](s,f),f[n(576)](),f[f[n(331)]-1]++,t[e][n(579)]=a[n(362)](s,f)):(t[e][n(291)]=a[n(362)](s,f),d?d[n(481)]+=t[e][n(594)][n(427)]:d=new X.ModelText(t[e][n(594)][n(427)],t[e][n(594)][n(521)]()),t[e+1]&&n(387)===t[e+1][n(464)]&&v(d,t[e+1][n(594)])||(u[0][n(296)](d),d=null),f[f[n(331)]-1]+=t[e][n(594)][n(321)],t[e][n(579)]=a[n(362)](s,f));for(let e=0;e<t[n(331)];e++){const i=t[e][n(291)],s=t[e][n(579)];for(const s of t[e][n(553)])o[n(384)](s,{start:i,end:null});m(n(298),e,i,s),m(n(378),e,i,s),m(n(360),e,i,s),m(n(422),e,i,s);for(const i of t[e][n(516)]){const t=o[n(324)](i);t?t[n(569)]=s:o[n(384)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(493)][n(348)][n(535)](e[n(557)],e[n(569)]);s[n(503)][n(384)](t,i)}return r[n(390)]((t,e)=>{const i=n,r=s[i(503)][i(324)](i(586)+t.id),o=s[i(503)][i(324)](i(586)+e.id);return r[i(557)][i(513)](o[i(557)])?-1:r[i(557)][i(466)](o[i(557)])?1:r[i(569)][i(513)](o[i(569)])?-1:r[i(569)][i(466)](o[i(569)])?1:i(305)===t[i(464)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(320)]:null,d=i===t[o(331)]-1,f=h[e][0],m=c[o(485)](t[i][o(594)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(569)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(320)]!==u&&(l[e][o(569)]=s,f&&f[o(320)]===l[e][o(320)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(344)!==t[i][o(464)]||f&&f[o(320)]===u||h[e][o(285)]({userId:u,object:t[i][o(594)],change:l[e]}),o(369)===t[i][o(464)]&&f&&f[o(322)]===t[i][o(594)]&&(h[e][o(467)](),l[e]=f[o(597)])),l[e]&&d&&(l[e][o(569)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(594)],f=a[h(573)][h(465)](d)&&!a[h(573)][h(445)](d),m=t[h(358)]==o[h(517)]&&o[h(487)];if(f&&m)return;const p=a[h(535)](t,o),v=e[h(324)](u),g=new Qt({author:v,type:h(422)==l||h(378)==l?h(305):h(318),data:{isSuggestion:h(378)==l||h(298)==l},createdAt:new Date,rootName:i});r[h(583)](g),s[h(503)][h(384)](h(586)+g.id,p)}function v(t,e){const i=n,s=t[i(521)](),r=e[i(521)]();for(const t of s){if(t[1]!==e[i(592)](t[0]))return!1;r[i(480)]()}return r[i(480)]()[i(477)]}}[oe(376)](){const t=oe;this[t(493)][t(356)][t(570)](t(601))[t(443)]({view:t(508)}),this[t(493)][t(356)][t(570)](t(433))[t(506)]({model:t(508),view:e=>{const i=t,n=e[i(381)][i(317)](":")[1],s=this[i(373)](n);if(!s)return null;const r=i(305)==s[i(464)]?i(442):i(460),o=[i(538),i(326)+r];return s[i(427)][i(351)]&&o[i(583)](i(326)+r+i(476)),this[i(444)]==s&&o[i(583)](i(473)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(493)][t(356)][t(570)](t(601))[t(305)](e=>{const i=t;e.on(i(522),(t,e,n)=>{const s=i,r=e[s(514)][s(307)](0);if(!r||!r.is(s(339),s(368)))return;if(!n[s(303)][s(435)](r,{attributes:[s(453),s(484)]}))return;const o=e[s(299)][s(557)][s(358)];n[s(424)][s(420)](s(453),r[s(592)](s(453)),o),n[s(424)][s(420)](s(484),r[s(592)](s(484)),o)},{priority:i(380)})}),this[t(493)][t(356)][t(570)](t(601))[t(305)](e=>{const i=t;e.on(i(339),(t,e,n)=>{const s=i;if(!n[s(303)][s(435)](e[s(514)],{attributes:[s(453),s(484)]}))return;if(e[s(299)][s(281)])return;const r=e[s(299)][s(557)][s(358)];r[s(278)](s(453))||r[s(278)](s(546))||(n[s(424)][s(420)](s(453),e[s(514)][s(592)](s(453)),r),n[s(424)][s(420)](s(484),e[s(514)][s(592)](s(484)),r))},{priority:i(380)})}),this[t(493)][t(356)][t(570)](t(601))[t(441)]({view:{name:t(585),attributes:{vid:!0}},model:{key:t(546),value:e=>e[t(592)](t(546))}}),this[t(493)][t(348)][t(573)].on(t(447),(e,[,i])=>{const n=t;[n(453),n(484),n(546)][n(491)](i)&&(e[n(361)]=!0,e[n(492)]())},{priority:t(547)}),this[t(493)][t(356)][t(570)](t(440))[t(305)](e=>{const i=t;e.on(i(486),(t,e,n)=>{const s=i;if(" "!=e[s(594)][s(427)]||e[s(594)][s(517)][s(306)]>1)return;if(!n[s(303)][s(435)](e[s(594)],t[s(512)]))return;const r=n[s(424)],o=n[s(288)][s(395)](e[s(332)]);r[s(446)](o,r[s(397)](s(585)))})}),this[t(493)][t(356)][t(570)](t(440))[t(554)]({model:t(508)}),this[t(493)][t(423)][t(509)].on(t(337),function(e){const i=t,n=e[i(567)][i(324)](i(342));return(t,s,r)=>{const o=i,a=s[o(381)][o(317)](":")[1],c=n[o(373)](a);if(!c)return null;const u=o(305)==c[o(464)]?o(317):o(357);if(!r[o(303)][o(511)](s[o(565)],t[o(512)]))return;const l=s[o(565)][o(603)](),h=s[o(565)][o(557)],d=e[o(348)][o(573)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(594)];p=p||d[o(425)](e);const i=r[o(288)][o(340)](e);if(i&&i[o(430)](o(416)))return;o(369)==t[o(464)]&&d[o(465)](e)&&!d[o(445)](e)&&(e[o(364)]||h[o(352)]?f&&f[o(517)]==e||(f=e,g(t[o(291)]),v=!0):m=m||t[o(291)])}function g(t){const e=o,i=r[e(424)][e(404)](e(585),{class:e(326)+u}),a=r[e(288)][e(419)](t);c[e(427)][e(351)]&&r[e(424)][e(377)](e(326)+u+e(476),i),n[e(444)]==c&&r[e(424)][e(377)](e(473),i),r[e(424)][e(525)](a,i),r[e(288)][e(478)](i,s[e(381)])}p||v||!m||g(m)}}(this[t(493)]),{priority:t(328)}),this[t(493)][t(423)][t(509)].on(t(533),(e,i,n)=>{const s=t,r=n[s(288)][s(463)](i[s(381)]);if(r)for(const t of r)(t[s(581)](s(560))||t[s(581)](s(403)))&&(n[s(288)][s(455)](t,i[s(381)]),n[s(424)][s(318)](t))},{priority:t(328)}),this[t(493)][t(423)][t(509)].on(t(337),(e,i,n)=>{const s=t,r=i[s(381)][s(317)](":")[1],o=this[s(373)](r);if(!o)return null;const a=s(305)==o[s(464)]?s(317):s(357);if(n[s(303)][s(511)](i[s(565)],e[s(512)]))for(const t of i[s(565)][s(363)]()){if(!t.is(s(339),s(396)))continue;const e=n[s(424)][s(404)](s(585),{class:s(326)+a}),r=n[s(288)][s(419)](this[s(493)][s(348)][s(414)](t));o[s(427)][s(351)]&&n[s(424)][s(377)](s(326)+a+s(476),e),this[s(444)]==o&&n[s(424)][s(377)](s(473),e),n[s(424)][s(525)](r,e),n[s(288)][s(478)](e,i[s(381)])}},{priority:t(328)}),this[t(493)][t(348)][t(550)].on(t(597),()=>{const e=t;this[e(493)][e(423)][e(431)][e(597)](t=>{const i=e;for(const e of this[i(493)][i(348)][i(550)][i(280)]()){const n=this[i(493)][i(348)][i(550)][i(584)](e),s=this[i(493)][i(423)][i(431)][i(550)][i(584)](e);if(s){const e=n[i(592)](i(471));if(t[i(523)](i(418),s),t[i(540)](i(314),s),t[i(540)](i(469),s),t[i(540)](i(488),s),e){const n=this[i(373)](e);if(!n)return null;t[i(420)](i(418),e,s),t[i(377)](i(587)+n[i(464)],s),this[i(444)]==n&&t[i(377)](i(488),s)}}}})}),this[t(493)][t(356)][t(570)](t(601))[t(443)]({view:t(599),model:e=>t(499)+e,converterPriority:t(547)}),this[t(493)][t(356)][t(570)](t(601))[t(443)]({view:t(343),model:e=>t(325)+e,converterPriority:t(547)}),this[t(493)][t(356)][t(570)](t(440))[t(554)]({model:t(300),view:e=>({name:t(375)+e,group:t(300)}),converterPriority:t(547)}),this[t(493)][t(356)][t(570)](t(433))[t(506)]({model:t(300),view:e=>{const i=t,n=e[i(381)][i(317)](":")[1];return i(442)!=n&&i(460)!=n?null:{classes:[i(561),i(468)+n]}}}),this[t(493)][t(423)][t(509)].on(t(437),le(this[t(493)],t(357)),{priority:t(328)}),this[t(493)][t(423)][t(509)].on(t(542),le(this[t(493)],t(317)),{priority:t(328)}),this[t(493)][t(423)][t(509)].on(t(379),(e,i,n)=>{const s=t,r=n[s(288)][s(463)](i[s(381)]);if(r)for(const t of r)t.is(s(472))&&(n[s(288)][s(455)](t,i[s(381)]),n[s(424)][s(318)](t))},{priority:t(328)})}[oe(373)](t){const e=oe;return this[e(527)][e(324)](t)}[oe(526)](t){const e=oe;return this[e(450)]&&this[e(450)][e(293)](),this[e(450)]=new Jt(this[e(493)][e(346)],t),this[e(450)]}[oe(417)](){const t=oe;this[t(493)][t(348)][t(550)][t(501)][t(494)](t(508)),this.on(t(297),(e,i,n,s)=>{const r=t;s&&this[r(335)][r(318)](s),n&&(this[r(335)][r(305)]({view:n,stackId:r(507),position:{target:()=>{const t=r,e=this[t(493)][t(423)],i=this[t(373)](n[t(529)]);let s;if(i[t(427)][t(316)]){const n=e[t(431)][t(504)](i[t(359)]);s=Array[t(593)](n[t(428)]())}else{const i=this[t(493)][t(348)][t(503)][t(324)](t(586)+n[t(529)]);s=Array[t(593)](e[t(288)][t(463)](i[t(512)]))[t(341)](i=>e[t(431)][t(555)][t(400)](i))[t(341)](e=>Array[t(593)](e[t(428)]()))[t(354)]()}return this[t(457)]&&s[t(311)](e=>e[t(545)]-3<=this[t(457)].y&&e[t(479)]+3>=this[t(457)].y&&e[t(595)]-3<=this[t(457)].x&&e[t(559)]+3>=this[t(457)].x)||s[0]}}}),this[r(335)][r(304)](r(507)))}),this.on(t(439),(e,i,n,s)=>{const r=t;this[r(461)]=n?this[r(526)](n):null,this[r(493)][r(348)][r(597)](()=>{const t=r,e=this[t(493)][t(423)];s&&(s[t(427)][t(316)]?e[t(431)][t(597)](i=>{const n=t;i[n(540)](n(488),e[n(431)][n(550)][n(584)](s[n(359)]))}):e[t(590)](t(586)+s.id)),n&&(n[t(427)][t(316)]?e[t(431)][t(597)](i=>{const s=t;i[s(377)](s(488),e[s(431)][s(550)][s(584)](n[s(359)]))}):e[t(590)](t(586)+n.id))})}),this[t(388)](this[t(493)][t(423)][t(431)][t(550)],t(518),(e,i)=>{const n=t;if(this[n(444)])return;const s=this[n(562)](i[n(556)]),r=this[n(527)][n(324)](s);r?(this[n(457)]={x:i[n(310)].x,y:i[n(310)].y},this[n(461)]=this[n(526)](r)):(this[n(457)]=null,this[n(461)]=null)}),this[t(388)](this[t(493)][t(423)][t(431)][t(550)],t(386),(e,i)=>{const n=t,s=this[n(562)](i[n(556)]),r=this[n(527)][n(324)](s);r?(this[n(457)]={x:i[n(310)].x,y:i[n(310)].y},r===this[n(444)]?this[n(335)][n(323)]():this[n(444)]=r):(this[n(457)]=null,this[n(444)]=null)})}[oe(562)](t){const e=oe;do{const i=t[e(592)](e(418));if(i)return i;t=t[e(517)]}while(t);return null}[oe(574)](){const t=oe;this[t(493)][t(348)][t(597)](e=>{const i=t;for(const t of this[i(493)][i(348)][i(503)])e[i(353)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(303)][r(511)](n[r(565)],i[r(512)]))return;const o=n[r(565)][r(603)](),a=n[r(565)][r(557)],c=t[r(348)][r(573)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(594)];h=h||c[r(425)](e);const i=s[r(288)][r(340)](e);if(i&&i[r(430)](r(416)))return;r(369)==t[r(464)]&&c[r(465)](e)&&!c[r(445)](e)&&(e[r(364)]||a[r(352)]?u&&u[r(517)]==e||(u=e,f(t[r(291)]),d=!0):l=l||t[r(291)])}function f(t){const i=r,o=s[i(288)][i(419)](t),a=s[i(424)][i(404)](i(585),{class:i(468)+e});s[i(424)][i(525)](o,a),s[i(288)][i(478)](a,n[i(381)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(567)][e(324)](ue);this[e(519)]=!1,this[e(388)](i,e(580),()=>this[e(434)]()),this[e(388)](i,e(548),()=>this[e(434)]())}[oe(524)](){const t=oe,e=this[t(493)],i=e[t(567)][t(324)](ue),n=i[t(498)]?i[t(490)][t(398)]:null;e[t(551)][t(324)](t(588))[t(338)](n)}[oe(434)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(493)][t(567)][t(324)](ue),r=s&&n[t(407)](s[t(398)]);this[t(315)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(290)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(567)][i(324)](ue);this[i(519)]=!1,this[i(290)]=i(415)===e?1:-1,this[i(388)](n,i(580),()=>this[i(434)]()),this[i(388)](n,i(548),()=>this[i(434)]()),this[i(388)](n,i(439),()=>this[i(434)]())}[oe(524)](){const e=oe,i=this[e(493)],n=i[e(567)][e(324)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(444)]=s?n[e(490)][e(502)][e(324)](r+this[e(290)]):n[e(490)][e(502)][e(532)],n[e(444)][e(427)][e(316)])o=i[e(423)][e(431)][e(504)](n[e(444)][e(359)]);else{const t=i[e(348)][e(503)][e(324)](e(586)+n[e(444)].id);o=(0,K.getMarkerDomElement)(i[e(423)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(434)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(493)][t(567)][t(324)](ue);this[t(315)]=!!(r&&s&&n)&&(!e||(1===this[t(290)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["3610082NufkKl","ck-hidden","281735caXFmp","520074JmyPMy","Show next change","100Foqtli","3KUIUtu","span","138853Zfhiyn","ck-revision-history-ui__changes-navigation","isReady","No changes","set","backward","_isStatusLabelVisible","forward","4686336rBtYHr","Show previous change","currentChangeNumber","EDIT_X_OF_Y_REVISIONS","8613WjMELQ","ck-revision-history-ui__changes-navigation__navigation","122572TAGhEn","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui","setTemplate","Loading...","fire","bindTemplate","isEnabled","numberOfChanges","_statusText","isNavigationMode","ck-revision-history-ui__changes-navigation__label","Total","isForwardNavigationEnabled","788VGWedK","40tiUOWQ","bind","42cnmFOv","NUMBER_OF_CHANGES","div","execute","X_OF_Y_CHANGES"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=479]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(388538===parseInt(e(493))/1*(-parseInt(e(509))/2)+parseInt(e(507))/3*(-parseInt(e(479))/4)+parseInt(e(489))/5*(parseInt(e(482))/6)+parseInt(e(487))/7+-parseInt(e(480))/8*(parseInt(e(490))/9)+-parseInt(e(492))/10*(-parseInt(e(495))/11)+parseInt(e(503))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(516)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(499)](e(520),!1),this[e(499)](e(497),!1),this[e(499)](e(505),0),this[e(499)](e(518),0),this[e(499)](e(523),!1),this[e(499)](e(510),!1),this[e(481)](e(501)).to(this,e(497),this,e(518),(t,e)=>t&&e>0),this[e(481)](e(519)).to(this,e(497),this,e(505),this,e(518),this,e(520),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(514));if(!s)return at(t,o(498));const a=at(t,o(483),s);return r?at(t,o(486),[n+1,s]):a}),n[e(499)]({label:at(t,e(504)),tooltip:!0,icon:_t.IconChevronUp}),s[e(499)]({label:at(t,e(491)),tooltip:!0,icon:_t.IconChevronDown}),n[e(481)](e(517)).to(this,e(510)),s[e(481)](e(517)).to(this,e(523)),n.on(e(485),()=>this[e(515)](e(485),e(500))),s.on(e(485),()=>this[e(515)](e(485),e(502))),this[e(513)]({tag:e(484),attributes:{class:["ck",e(512),e(496)]},children:[{tag:e(494),attributes:{class:[e(511)]},children:[{tag:e(494),attributes:{class:[e(521),i.if(e(501),e(488),t=>!t)]},children:[{text:i.to(e(520),i=>i?at(t,e(506))+": ":at(t,e(522))+": ")}]},{text:i.to(e(519))}]},new It.ToolbarSeparatorView,{tag:e(484),attributes:{class:[e(508)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=391]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(384693===-parseInt(e(406))/1+parseInt(e(403))/2+parseInt(e(405))/3*(-parseInt(e(416))/4)+-parseInt(e(414))/5*(-parseInt(e(408))/6)+parseInt(e(413))/7*(-parseInt(e(392))/8)+parseInt(e(396))/9*(parseInt(e(412))/10)+parseInt(e(397))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(398);function Ie(){const t=["pluginName","24844IUSekn","show","200TChmbl","document","isOfficialPlugin","editing","1211589zpEmhH","7633131ABiCXY","ck-editor__editable__loading-overlay","isPremiumPlugin","change","addClass","RevisionViewerLoadingOverlay","934886uYjwOW","roots","159aSbLQc","561207jOaEyf","hide","186aKAEon","view","editor","removeClass","20nvSTAn","63875hTpkxG","11710Ropwwc"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(415)](){return be(402)}static get[be(394)](){return!0}static get[be(399)](){return!0}[be(391)](){const t=be,e=this[t(410)][t(395)][t(409)];e[t(400)](i=>{const n=t;for(const t of e[n(393)][n(404)])i[n(401)](_e,t)})}[be(407)](){const t=be,e=this[t(410)][t(395)][t(409)];e[t(400)](i=>{const n=t;for(const t of e[n(393)][n(404)])i[n(411)](_e,t)})}}const Oe=xe;function Te(){const t=["hide","3193890ITstEo","init","revisionHistory","get","Restore this revision","isBackwardNavigationEnabled","editor","isOfficialPlugin","commands","set","ck-revision-history-ui__back-to-editing","8686290nCeFxq","isEnabled","1543370cDAsGk","RevisionViewerUI","componentFactory","2498688aiqnBz","changesNavigation","isNavigationMode","config","446811hUufhv","show","showPreviousChange","add","closeRevisionViewerCallback","4QBoOPT","restoreRevision","12247LOBdBG","1694664EGehQu","6lxdNiJ","isPremiumPlugin","listenTo","currentChangeNumber","isForwardNavigationEnabled","numberOfChanges","forward","showNextChange","exitToEditing","execute","isReady","requires","change:isReady","plugins","bind","Back to editing","pluginName","32znkWlC"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=199]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(252104===parseInt(e(206))/1*(-parseInt(e(225))/2)+parseInt(e(199))/3*(-parseInt(e(204))/4)+parseInt(e(240))/5+-parseInt(e(208))/6*(parseInt(e(227))/7)+-parseInt(e(243))/8+parseInt(e(207))/9+parseInt(e(238))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(224)](){return Oe(241)}static get[Oe(234)](){return!0}static get[Oe(209)](){return!0}static get[Oe(219)](){return[ue,Se]}[Oe(228)](){const t=Oe,e=this[t(233)],i=e[t(221)][t(230)](ue),n=e[t(221)][t(230)](Se);e.ui[t(242)][t(202)](t(216),i=>{const n=t,s=new It.ButtonView(i);return s[n(236)]({label:at(i,n(223)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(237)}),this[n(210)](s,n(217),()=>{const t=n;e[t(246)][t(230)](t(229))[t(203)]()}),s}),e.ui[t(242)][t(202)](t(205),i=>{const n=t,s=new It.ButtonView(i);return s[n(236)]({label:at(i,n(231)),withText:!0,tooltip:!0}),s[n(222)](n(239)).to(e[n(235)][n(230)](n(205))),this[n(210)](s,n(217),()=>e[n(217)](n(205))),s}),e.ui[t(242)][t(202)](t(244),n=>{const s=t,r=new ge(n),o=e[s(235)][s(230)](s(201)),a=e[s(235)][s(230)](s(215));return r[s(222)](s(232)).to(o,s(239)),r[s(222)](s(212)).to(a,s(239)),r[s(222)](s(218),s(211),s(213),s(245)).to(i),this[s(210)](r,s(217),(t,i)=>{const n=s;e[n(217)](n(214)===i?n(215):n(201))}),r}),n[t(200)](),i.on(t(220),(e,i,s)=>{const r=t;s?n[r(226)]():n[r(200)]()})}}var Ae=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ve(){const t=["_tooltipString","7628005KWMrSD","extendTemplate","5054840Mfnnnt","ck-revision-history-sidebar__revision-name","3215529MpZWTi","ck-tooltip_multi-line","Revision name","destroy","94MtPPpm","value","40EdaVbF","_updateTooltipText","placeholder","element","Enter the revision name","clientWidth","listenTo","set","193453xhusoa","input","scrollWidth","fieldView","29688uaAcwH","span","67293BNGeku","1065jdPEmT","bindTemplate","12270864LJiALT","render","_resizeObserver"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=293]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(803343===parseInt(e(310))/1+-parseInt(e(300))/2*(-parseInt(e(316))/3)+-parseInt(e(294))/4+-parseInt(e(317))/5*(parseInt(e(314))/6)+-parseInt(e(323))/7+parseInt(e(319))/8+-parseInt(e(296))/9*(-parseInt(e(302))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(321)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(318)];this[i(309)]({label:at(t,i(298)),_tooltipString:""}),this[i(313)][i(304)]=at(t,i(306)),this[i(293)]({tag:i(315),attributes:{class:[i(295)],"data-cke-tooltip-text":n.to(i(322)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(297)}})}[Me(320)](){const e=Me;super[e(320)](),this[e(321)]=new t.ResizeObserver(this[e(313)][e(305)],()=>this[e(303)]()),this[e(308)](this[e(313)],e(311),()=>this[e(303)]())}[Me(299)](){const t=Me;super[t(299)](),this[t(321)]&&this[t(321)][t(299)]()}[Me(303)](){const t=Me,e=this[t(313)][t(305)];this[t(322)]=e[t(312)]>e[t(307)]&&e[t(301)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(){const t=["push","Revision creator","0 0 11 10","setTemplate","3606228uBKLEQ","ck-revision-history-sidebar__revision-author_creator","1296TQnsvZ","852344MvjeRh","936395WOathE","span","316100IKdgiI","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name","9142LADkWU","6xIXZeI","set","Revision author","name","10maIDRy","95301zltocA","112978pDucvF"];return(Le=function(){return t})()}function je(t,e){const i=Le();return(je=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(368314===-parseInt(e(179))/1+parseInt(e(189))/2*(-parseInt(e(183))/3)+-parseInt(e(176))/4+parseInt(e(177))/5+parseInt(e(173))/6+parseInt(e(182))/7*(parseInt(e(175))/8)+parseInt(e(188))/9*(parseInt(e(187))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(184)]({content:_t.IconUser,viewBox:n(192)});const r=["ck",n(180)];i&&r[n(190)](n(174));const o=[{tag:n(178),attributes:{class:["ck",n(181)],title:at(t,n(i?191:185))},children:[s,e[n(186)]]}];this[n(172)]({tag:"li",attributes:{class:r},children:o})}}function We(){var t=["6502538qiBcPi","numeric","2698914vYqdBK","long","3ceJVJD","toLocaleDateString","1540130zchfdi","toLocaleTimeString","1694572tWzNxP","1806230SYupmN","63nLhghL","2912432ondhvT","4528425sCOGNU"];return(We=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=254]})(t,e)}!function(t){for(var e=ze,i=t();;)try{if(796718===parseInt(e(258))/1+-parseInt(e(261))/2+-parseInt(e(256))/3*(-parseInt(e(260))/4)+parseInt(e(264))/5+parseInt(e(254))/6+parseInt(e(265))/7+-parseInt(e(263))/8*(parseInt(e(262))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(){const t=["name","menu","function","bind","3608234bpWhgj","action","class","panelPosition","8657352JnJzXG","isOpen","listView","add","717ePfqjl","menuitem","isVisible","map","locale","38001MsiQAO","Show more items","isReady","bindTemplate","isEnabled","6dWxaLs","28TZEcny","2015577YMCDJW","Restore this revision","13088tJjqPv","Compare against selected","source","first","extendTemplate","children","22233420eHjwpo","listenTo","button","set","4720775ezlJkl","items","buttonView","model","find","stopPropagation","isActionsDropdownOpen","_action","Name this revision","execute","ck-on","change:isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=137]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(686439===-parseInt(e(144))/1*(-parseInt(e(150))/2)+parseInt(e(139))/3*(-parseInt(e(153))/4)+parseInt(e(163))/5*(-parseInt(e(149))/6)+parseInt(e(180))/7+-parseInt(e(184))/8+parseInt(e(151))/9+parseInt(e(159))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["creator","3880zjlSit","bind","uiLanguage","_requireRevisionName","isHighlighted","220","change","value","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","name","createdAt","273104WSfdKi","ck-revision-history-sidebar__revision","deselect","highlight","ck-disabled","fire","span","ck-revision-history-sidebar__revision__controls-wrapper","isSelected","unshift","fieldView","ck-revision-history-sidebar__revision__date","4149AIrxDa","element","ck-revision-history-sidebar__actions_dropdown_open","isReady","filter","unhighlight","1235148bGzFah","30wjVHtQ","setName","map","listenTo","authors","isEnabled","_createdAtFormatted","div","isActionsDropdownOpen","isConfirm","bindTemplate","29071812CwltSi","25538hDfavJ","revisionNameView","_revision","length","set","srcElement","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper","8FGlxyn","revisionActionsView","ck-reset","8712amKnzH","14938UnTBkI","10wuJpvI","closest","611317HwQMzl","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision_selected","from",".ck-thread__remove-confirm","select","extendTemplate","render","setTemplate"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=118]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(306643===-parseInt(e(122))/1*(parseInt(e(130))/2)+-parseInt(e(176))/3+-parseInt(e(158))/4*(parseInt(e(135))/5)+-parseInt(e(177))/6*(parseInt(e(137))/7)+-parseInt(e(133))/8*(parseInt(e(170))/9)+parseInt(e(147))/10*(-parseInt(e(134))/11)+parseInt(e(121))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(123)];[Ye(131)];[Ye(124)];[Ye(150)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(120)],a=function(t,e){const i=r,n=Array[i(140)](e[i(181)])[i(174)](t=>t!=e[i(146)]);return e[i(146)]&&n[i(167)](e[i(146)]),n[i(179)](n=>new Pe(t,n,n==e[i(146)]))}(e,i);this.id=i.id,this[r(124)]=i,this[r(150)]=s,this[r(148)](r(156),r(157)).to(i),this[r(148)](r(183)).to(this,r(157),t=>{return i=e[r(149)],(n=t)[(s=ze)(257)](i,{month:s(255),day:s(266)})+", "+n[s(259)](i,{hour:s(266),minute:s(266)});var i,n,s}),this[r(126)](r(166),!1),this[r(126)](r(151),!1),this[r(126)](r(118),!1),this[r(126)](r(173),!1),this[r(126)](r(182),!1),this[r(123)]=new De(e,It.createLabeledInputText),this[r(123)][r(168)][r(143)]({attributes:{maxlength:r(152)}}),this[r(123)][r(168)][r(148)](r(154)).to(this,r(156),t=>t||this[r(183)]),this[r(123)][r(148)](r(182)).to(this,r(166),this,r(182),(t,e)=>t&&e),this[r(131)]=n&&n[r(125)]?function(e,i){const n=qe,s=e[n(147)],r=e[n(143)],o=(0,It.createDropdown)(r);o[n(183)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(143)],s={"Compare against selected":at(n,i(154)),"Name this revision":at(n,i(171)),"Restore this revision":at(n,i(152))};return e[i(142)](t=>{const e=i,n=s[t[e(176)]];return n&&n!==t[e(176)]&&(t[e(176)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(161),model:new It.UIModel({label:t[s(176)],class:t[s(182)],withText:!0,role:s(140),_action:t[s(181)]})};i[s(166)][s(179)](s(148)).to(e,s(169),i=>s(178)!=typeof t[s(148)]||!i||t[s(148)](e)),o[s(138)](i)}return o}(e,i);return e[n(179)](n(169)).to(o,n(185)),o[n(165)][n(162)]({label:at(r,n(145)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(157)]({attributes:{class:[n(175),s.if(n(169),n(173))]},on:{click:s.to(t=>t[n(168)]())}}),o.on(n(172),t=>{const i=n;e[i(146)]&&i(178)==typeof t[i(155)][i(170)]&&t[i(155)][i(170)](e)}),(0,It.addListToDropdown)(o,a,{role:n(177)}),o[n(160)](e,n(174),(t,s,r)=>{const a=n;if(r)for(const t of o[a(137)][a(164)]){const n=t[a(158)][a(156)],s=i[a(167)](t=>t[a(181)]===n[a(170)])[a(141)];t[a(141)]=void 0===s||s(e)}}),o}(this,n):"",this[r(131)]&&this[r(131)][r(148)](r(182)).to(this),this[r(145)]({tag:r(184),attributes:{class:["ck",r(132),r(129),o.if(r(119),r(155))]},children:[{tag:r(184),attributes:{class:["ck",r(132),r(159),o.if(r(182),r(162),t=>!t),o.if(r(166),r(139)),o.if(r(151),r(138)),o.if(r(118),r(172))]},children:[this[r(123)],{tag:r(164),attributes:{class:["ck",r(169)]},children:[{text:o.to(r(183))}]},{tag:r(184),attributes:{class:["ck",r(165)]},children:[{tag:"ul",attributes:{class:["ck",r(128)]},children:a}]},this[r(131)]],on:{click:o.to(t=>{const e=r;t[e(127)][e(136)](e(141))||this[e(173)]&&this[e(182)]&&this[e(163)](e(142),{id:this.id})})}}]})}[Ye(144)](){const t=Ye;super[t(144)]();const e=this[t(123)][t(168)][t(171)];this[t(180)](e,t(153),()=>{const i=t;this[i(150)]&&!e[i(154)]||this[i(163)](i(178),{id:this.id,name:e[i(154)]}),e[i(154)]||(e[i(154)]=this[i(156)]?this[i(156)]:this[i(183)])})}[Ye(142)](){this[Ye(166)]=!0}[Ye(160)](){this[Ye(166)]=!1}[Ye(161)](){this[Ye(151)]=!0}[Ye(175)](){this[Ye(151)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(t)),e}static resetCache(){Fi.clear(),Di.clear()}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=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:En(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Pi=new Map;function Wi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const zi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=zi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),zi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Li.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=Wi(e,s)}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 Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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 Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=Wn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),zi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=Wi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Wi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,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"===qi(t.locale).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?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Wn(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 Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ln()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}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 Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{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 nn(t,e){if(En(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||Li.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Ei.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=Wn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),Li.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(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 Mn(t){const e=Cn(t.year),i=zn(t.month,1,12),n=zn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=zn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=zn(i,0,59),a=zn(n,0,59),c=zn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ln(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Wn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!zn(t.firstDay,1,7)||!zn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!En(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function Ls(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function js(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),Ws=/^-?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 zs(t){const[e,i,n,s,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(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(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$/,Bs=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,Ls,js),ir=Ss(Ms,Fs,Ls,js),nr=Ss(Vs,Fs,Ls,js),sr=Ss(Fs,Ls,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,Ls,js);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(En(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(En(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[Ws,zs])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({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 ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return En(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+=$n(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(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 gr(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=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:_r.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 _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).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&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:Ln()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={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 Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;En(t.z)||(i=Li.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(t.u)||(t.S=qn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,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 jr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(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 Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!En(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=En(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-zr||t>zr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){En(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=zn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=zn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=zn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=jr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}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?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Wr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):Wr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Wr}[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 br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Lr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["toRelativeCalendar","937268mLtjxm","3610044DAeQFv","day","toJSDate","1633471TYqUAW","setLocale","month","local","minus","14gUgYEG","1495995tOwrFc","186414TSIHMB","weekdayLong","monthLong","5319280LDzMxl","6wBqgQt","week","startOf","4077820cwuttp","year","fromJSDate","hasSame"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=169]})(t,e)}function go(t,e){const i=vo,n=fo[i(172)](t)[i(180)](e),s=fo[i(182)](),r=s[i(183)]({days:1})[i(169)](i(177));let o,a;return n[i(173)](s,i(177))?(o=n[i(169)](i(177))[i(178)](),a=n[i(174)]()):n[i(173)](r,i(177))?(o=r[i(178)](),a=n[i(174)]()):n[i(173)](s,i(191))?(o=n[i(169)](i(191))[i(178)](),a=n[i(187)]||""):n[i(173)](s,i(171))?(o=n[i(169)](i(181))[i(178)](),a=n[i(188)]||""):(o=n[i(169)](i(171))[i(178)](),a=String(n[i(171)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(785911===-parseInt(e(175))/1+parseInt(e(184))/2*(parseInt(e(186))/3)+parseInt(e(170))/4+parseInt(e(185))/5*(parseInt(e(190))/6)+parseInt(e(179))/7+-parseInt(e(189))/8+parseInt(e(176))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["ck-revision-history-sidebar__time-period__label","revisionViews","setTemplate","2392236toOHqe","locale","span","add","remove","uiLanguage","div","select","255696hvCqRR","1464108DqWNZE","_revisionActions","find","setName","449700dUOUsV","addRevision","1506288yODKiE","ck-revision-history-sidebar__time-period","delegate","75EzSHbM","ck-revision-history-sidebar__time-period__revisions","167322yuEsoO","createCollection","1823982eViQLT","63JxVfUH","localizedPeriodName","removeRevision","startDate","_requireRevisionName"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=143]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(457991===parseInt(e(168))/1+-parseInt(e(164))/2+-parseInt(e(146))/3+parseInt(e(170))/4+parseInt(e(173))/5*(parseInt(e(144))/6)+-parseInt(e(147))/7*(-parseInt(e(163))/8)+parseInt(e(155))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(150)];[bo(153)];[bo(165)];[bo(151)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(156)][s(160)])[s(148)];this[s(150)]=e,this[s(153)]=this[s(145)](),this[s(165)]=i,this[s(151)]=n,this[s(153)][s(172)](s(162)).to(this),this[s(153)][s(172)](s(167)).to(this),this[s(154)]({tag:s(161),attributes:{class:["ck",s(171)]},children:[{tag:s(157),attributes:{class:["ck",s(152)]},children:[{text:r}]},{tag:s(161),attributes:{class:["ck",s(143)]},children:this[s(153)]}]})}[bo(169)](t){const e=bo,i=new Ke(this[e(156)],t,this[e(165)],this[e(151)]);this[e(153)][e(158)](i)}[bo(149)](t){const e=bo,i=this[e(153)][e(166)](e=>e.id===t.id);this[e(153)][e(159)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=356]})(t,e)}function xo(){const t=["Revision history","81234iheuPZ","span","200476pRaoHU","144sPlSCu","setTemplate","165836HQJnDJ","14178knJrLi","130hogEKq","109226GSWVTH","6TGESZz","35NNkKWr","260IBqRyE","367760kawrgZ","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","content","317888RwwmXU","ck-reset_all","div"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(134284===parseInt(e(371))/1+-parseInt(e(365))/2*(-parseInt(e(372))/3)+-parseInt(e(375))/4+-parseInt(e(370))/5*(-parseInt(e(369))/6)+-parseInt(e(373))/7*(parseInt(e(359))/8)+parseInt(e(363))/9*(parseInt(e(374))/10)+parseInt(e(368))/11*(-parseInt(e(366))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(358)]=_t.IconHistory,this[e(367)]({tag:e(361),attributes:{class:["ck",e(360),e(357)]},children:[i,{tag:e(364),attributes:{class:["ck",e(356)]},children:[at(t,e(362))]}]})}}var Ao=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(668829===parseInt(e(403))/1*(-parseInt(e(418))/2)+-parseInt(e(421))/3*(parseInt(e(416))/4)+parseInt(e(428))/5*(-parseInt(e(410))/6)+-parseInt(e(422))/7*(parseInt(e(395))/8)+parseInt(e(417))/9*(-parseInt(e(429))/10)+parseInt(e(408))/11+parseInt(e(442))/12*(parseInt(e(436))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(432)];[Mo(419)];[Mo(426)];[Mo(396)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(430)];this[s(432)]=this[s(398)](),this[s(432)][s(440)](s(415)).to(this),this[s(432)][s(440)](s(423)).to(this),this[s(419)]=e,this[s(426)]=i,this[s(396)]=n,this.on(s(415),(t,e)=>{const i=s;this[i(393)](i(420),e)}),this.on(s(423),(t,e)=>{const i=s;this[i(393)](i(411),e)}),this[s(402)](s(425),!1),this[s(444)]({tag:s(439),attributes:{class:["ck",s(405),s(412),s(435)]},children:[new No(t),{tag:s(439),attributes:{class:["ck",s(399),r.if(s(425),s(424),t=>!t)]},children:this[s(432)]}]})}[Mo(447)](){const t=Mo;super[t(447)]();for(const e of this[t(419)])this[t(392)](e);this[t(419)].on(t(434),(e,i)=>{this[t(392)](i)}),this[t(419)].on(t(390),(e,i)=>{this[t(407)](i)})}get[Mo(446)](){const t=Mo;return this[t(432)][t(431)](e=>e[t(446)][t(431)](t=>t))[t(391)]()}[Mo(413)](t){const e=Mo;for(const i of this[e(446)])t&&t.id===i.id?i[e(415)]():i[e(406)]()}[Mo(441)](t){const e=Mo;for(const i of this[e(446)])t[e(397)](({id:t})=>t===i.id)?i[e(437)]():i[e(404)]()}[Mo(392)](t){const e=Mo,i=go(t[e(433)],this[e(438)][e(443)])[e(427)];let n=this[e(432)][e(394)](0);n&&n[e(427)][e(445)]()===i[e(445)]()||(n=new Io(this[e(438)],i,this[e(426)],this[e(396)]),this[e(432)][e(434)](n)),n[e(400)](t)}[Mo(407)](t){const e=Mo,i=go(t[e(433)],this[e(438)][e(443)])[e(427)];this[e(409)](i)[e(414)](t)}[Mo(409)](t){const e=Mo;return this[e(432)][e(401)](i=>i[e(427)][e(445)]()===t[e(445)]())}}function Do(){const t=["revisionViews","render","remove","flat","_addRevision","fire","get","208BJuLip","_requireRevisionName","some","createCollection","ck-revision-history-sidebar__timeline","addRevision","find","set","685awGjVZ","unhighlight","ck-reset","deselect","_removeRevision","11802978YcvzvV","_getTimePeriodViewByStartDate","24Cxsisy","revisionSetName","ck-rounded-corners","selectRevision","removeRevision","select","616412ZzAnRb","4185549LKuDfl","2358qwZByg","_revisions","revisionSelected","6OHvWZE","12523qaywAJ","setName","ck-disabled","isEnabled","_revisionActions","startDate","1487320nBtraX","20bAWkxm","bindTemplate","map","timePeriodViews","createdAt","add","ck-revision-history-sidebar","37415872DSTOsu","highlight","locale","div","delegate","highlightRevisions","12UFDJFC","uiLanguage","setTemplate","getTime"];return(Do=function(){return t})()}function Co(t,e){const i=jo();return(Co=function(t,e){return i[t-=217]})(t,e)}const Fo=Co;!function(t){const e=Co,i=t();for(;;)try{if(434911===-parseInt(e(243))/1+-parseInt(e(233))/2+-parseInt(e(222))/3+-parseInt(e(228))/4+parseInt(e(260))/5*(parseInt(e(283))/6)+parseInt(e(258))/7+-parseInt(e(217))/8*(-parseInt(e(219))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends G.Plugin{[Fo(227)];[Fo(287)];[Fo(262)];static[Fo(238)]=[Fo(256),Fo(291),Fo(288)];static[Fo(268)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(296),action:({plugins:e},i)=>{const n=t,s=e[n(253)](ue),r=s[n(242)];let o=s[n(252)][n(236)],a=i.id;r[n(267)](o)>r[n(267)](a)&&([o,a]=[a,o]),s[n(249)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(253)](ue);return!(s[n(242)][n(290)](s[n(252)])[n(270)]>2||i[n(274)])}},restoreRevision:{name:t(273),action:(e,{id:i})=>{const n=t;e[n(289)][n(253)](n(223))[n(240)](i)},isVisible:({plugins:e},i)=>!!e[t(253)](ue)[t(242)][t(281)](i.id)},nameRevision:{name:t(218),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(253)](ue),o=r[s(242)][s(266)](i);r[s(249)](i,o),n[s(248)](),n[s(286)][s(245)]()}}}}();static get[Fo(254)](){return Fo(265)}static get[Fo(271)](){return!0}static get[Fo(292)](){return!0}static get[Fo(298)](){return[ue]}constructor(t){const e=Fo;super(t),this[e(227)]=t[e(244)][e(253)](ue),this[e(287)]=this[e(227)][e(242)],this[e(262)]=null}[Fo(282)](){const t=Fo,e=this[t(287)][t(275)],i=this[t(278)](),n=this[t(224)][t(289)][t(253)](t(257));this[t(262)]=new Eo(this[t(224)][t(285)],e,i,this[t(224)][t(289)][t(253)](t(263))),this[t(262)].on(t(264),this[t(294)][t(241)](this)),this[t(262)].on(t(295),this[t(221)][t(241)](this)),this[t(262)][t(241)](t(293)).to(this[t(227)]),this[t(262)][t(272)].on(t(261),(e,i)=>{const n=t;i[n(259)].on(n(261),(t,e)=>{const i=n;e[i(241)](i(293),i(234)).to(this[i(227)])})}),this[t(262)][t(230)](),this[t(246)](this[t(224)][t(239)],t(220),this[t(237)][t(241)](this)),this[t(246)](this[t(227)],t(280),this[t(229)][t(241)](this)),n[t(277)](this[t(262)][t(251)])}[Fo(225)](){const t=Fo;this[t(262)][t(251)][t(269)](),this[t(262)][t(225)]()}[Fo(237)](){const t=Fo,e=this[t(287)][t(276)](0);if(e){const i=this[t(287)][t(266)](e.id);this[t(227)][t(249)](e,i)}}[Fo(294)](t,e){const i=Fo,n=this[i(287)][i(276)](e.id),s=this[i(287)][i(266)](n.id);this[i(227)][i(249)](n,s)}[Fo(221)](t,e){const i=Fo;this[i(287)][i(276)](e.id)[i(279)](e[i(235)])}[Fo(229)](t,e,i){const n=Fo,s=this[n(287)][n(290)](i);s[n(270)]>2?(this[n(262)][n(250)](s),this[n(262)][n(226)](null)):(this[n(262)][n(250)]([]),this[n(262)][n(226)](s[0]))}[Fo(278)](){const t=Fo,e=this[t(224)],i=Lo[t(268)],n=e[t(289)][t(253)](t(231))||Lo[t(238)];if(n[t(270)])return n[t(284)](n=>{const s=t,r=s(247)==typeof n?Object[s(297)]({},i[n]):n;return r[s(232)]=r[s(232)][s(241)](this,e),r[s(255)]&&(r[s(255)]=r[s(255)][s(241)](this,e)),r})}}function jo(){const t=["getEarlierVisibleRevision","getIndex","availableRevisionActions","remove","length","isOfficialPlugin","timePeriodViews","Restore this revision","isSelected","_revisions","getRevision","appendChild","_createRevisionActions","setName","change:diff","getLaterVisibleRevision","init","5118rVGmFm","map","locale","fieldView","_revisionsRepository","nameRevision","config","getRevisionsInDiff","restoreRevision","isPremiumPlugin","isEnabled","_handleRevisionSelected","revisionSetName","Compare against selected","assign","requires","11762680SMcUBQ","Name this revision","9qHIxXE","ready","_handleRevisionSetName","2056578jTGlJW","revisionHistory","editor","destroy","selectRevision","_revisionViewer","3415280uLAkFV","_handleDiffChange","render","revisionHistory.revisionActions","action","96384sCvjpc","isReady","name","newRevisionId","_handleEditorDataReady","defaultRevisionActions","data","restoreRevisionCallback","bind","repository","613272XmINdg","plugins","select","listenTo","string","focus","compare","highlightRevisions","element","diff","get","pluginName","isVisible","compareAgainstSelected","revisionHistory.viewerSidebarContainer","5142347EVnHBv","revisionViews","2525lYNhRj","add","_sidebarView","revisionHistory.requireRevisionName","revisionSelected","RevisionsSidebar"];return(jo=function(){return t})()}const Po=Wo;function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=130]})(t,e)}function zo(){const t=["setEditableElement","6380eOTDGW","view","editable","fillFromConfig","focusTracker","config","replace","document","bind","init","isFocused","_initToolbar","get","45537vNMlxp","restore","rootName","addToolbar","render","destroy","editor","getRoot","viewportOffset","fire","limiterElement","componentFactory","detachDomRoot","name","stickyPanel","isActive","element","3829780AvAKuk","153518CwHKaZ","_elementReplacer","_view","attachDomRoot","viewportTopOffset","32TKGxWj","97135GPELwa","78vXsjTN","106542Oovkzw","ready","40GcZxRS","_toolbarConfig","300055UqCXCD","toolbar","editing"];return(zo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(131388===parseInt(e(143))/1+parseInt(e(159))/2+-parseInt(e(172))/3*(-parseInt(e(148))/4)+-parseInt(e(149))/5*(-parseInt(e(150))/6)+parseInt(e(155))/7+parseInt(e(153))/8*(-parseInt(e(151))/9)+-parseInt(e(142))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Po(145)];[Po(154)];[Po(144)];get[Po(160)](){return this[Po(145)]}constructor(e,i){const n=Po;super(e),this[n(145)]=i,this[n(154)]=(0,It.normalizeToolbarConfig)(e[n(164)][n(171)](n(156))),this[n(144)]=new t.ElementReplacer}get[Po(141)](){const t=Po;return this[t(160)][t(141)]}[Po(168)](t){const e=Po,i=this[e(131)],n=this[e(160)],s=i[e(157)][e(160)],r=n[e(161)],o=s[e(166)][e(132)]();r[e(138)]=o[e(174)],n[e(176)]();const a=r[e(141)];this[e(158)](r[e(138)],a),n[e(161)][e(167)](e(169)).to(this[e(163)]),s[e(146)](a),this[e(144)][e(165)](t,this[e(141)]),this[e(170)](),this[e(134)](e(152))}[Po(130)](){const t=Po;super[t(130)]();const e=this[t(160)],i=this[t(131)][t(157)][t(160)];this[t(144)][t(173)](),i[t(137)](e[t(161)][t(138)]),e[t(130)]()}[Po(170)](){const t=Po,e=this[t(160)];e[t(139)][t(167)](t(140)).to(this[t(163)],t(169)),e[t(139)][t(135)]=e[t(141)],e[t(139)][t(167)](t(147)).to(this,t(133),({top:t})=>t),e[t(156)][t(162)](this[t(154)],this[t(136)]),this[t(175)](e[t(156)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Bo;function $o(){var t=["main","9397953lIZWCY","stickyPanel","623033lHdhhE","775870QpYnHq","_editable","8361936mRLCFW","top","shouldToolbarGroupWhenFull","9JpiZgm","content","editable","render","2278832pFVAEA","10NXfFqs","4387422HnvZPq","6396908MTvYUU","toolbar","add"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=172]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(591878===parseInt(e(183))/1+-parseInt(e(184))/2*(parseInt(e(189))/3)+-parseInt(e(174))/4*(parseInt(e(175))/5)+-parseInt(e(176))/6+parseInt(e(177))/7+parseInt(e(186))/8+parseInt(e(181))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(185)];[qo(182)];[qo(178)];get[qo(172)](){return this[qo(185)]}constructor(t,e,i={}){var n=qo;super(t),this[n(182)]=new It.StickyPanelView(t),this[n(178)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(188)]}),this[n(185)]=new It.InlineEditableUIView(t,e)}[qo(173)](){var t=qo;super[t(173)](),this[t(182)][t(190)][t(179)](this[t(178)]),this[t(187)][t(179)](this[t(182)]),this[t(180)][t(179)](this[t(172)])}}const Jo=Go;function Go(t,e){const i=Ko();return(Go=function(t,e){return i[t-=265]})(t,e)}function Ko(){const t=["config","242889IaeNbn","initialData","view","64Gyusns","locale","144462SojHjW","235wIMuIj","6052570cNLOhO","updateSourceElement","editing","data","480496KaMevu","sourceElement","8055njxaID","init","3421691lxJBXQ","fire","846287eCGhCq","create","document","model","get","ready","createRoot","_ui","initPlugins","destroy","8960VoSsJv"];return(Ko=function(){return t})()}!function(t){const e=Go,i=t();for(;;)try{if(831076===parseInt(e(273))/1+parseInt(e(267))/2+-parseInt(e(285))/3*(parseInt(e(288))/4)+parseInt(e(291))/5*(parseInt(e(290))/6)+-parseInt(e(271))/7+-parseInt(e(283))/8*(-parseInt(e(269))/9)+-parseInt(e(292))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(280)];get ui(){return this[Jo(280)]}constructor(t,e){const i=Jo;super(e),this[i(268)]=t,this[i(276)][i(275)][i(279)]();const n=new Yo(this[i(289)],this[i(265)][i(287)],{shouldToolbarGroupWhenFull:!0});this[i(280)]=new Uo(this,n)}[Jo(282)](){const t=Jo;return this[t(293)](),this.ui[t(282)](),super[t(282)]()}static async[Jo(274)](t,e){const i=Jo,n=new this(t,e);return await n[i(281)](),await n.ui[i(270)](t),await n[i(266)][i(270)](n[i(284)][i(277)](i(286))||""),n[i(272)](i(278)),n}}const Qo=na;function ta(){const t=["getRoot","RevisionTracker","Users","toJSON","detachRoot","push","revisionHistory","getRevisionRootsAttributes","6OxyzhM","restoreRevision","12pWAXWg","keys","then","element","exitToEditing","369OirKCJ","PaginationLookup","lazyRoots","plugins","7OpCnca","update","markers","get","removeAttribute","2962672kQJncz","refreshPositioning","705274ssedyQ","document","getRevisions","isRevisionViewerOpen","rootName","fromVersion","name","error","init","end","parse","addUser","result","isReadOnly","long","indexOf","RevisionsRepository","revisionHistory.closeRevisionViewerCallback","destroy","RevisionHistoryUI","getRevisionDocumentData","bind","DocumentOutlineUI","_enhanceShowRevisionViewerCallback","users","createdAt","change","_showRevisionViewer","insert","toVersion","toolbar","setAttribute","1sWDJZT","none","setSelection","selection","creator","roots","includes","model","closeRevisionViewerCallback","removeMarker","requires","revisionHistory.showRevisionViewerCallback","repository","from","toLocaleTimeString","980425fplqhw","numeric","addRoot","enableReadOnlyMode","_closeRevisionViewer","map","revisionHistory.restoreRevisionCallback","RevisionHistory","style","refreshVisibility","DocumentOutline","data","translations","createRangeIn","RevisionViewerIntegration","RevisionHistoryUtils","hide","63207RWOBWM","showRevisionViewerCallback","uiLanguage","113217PAiNKk","addRevisionData","Dialog","revisionHistory.requireRevisionName","editor","define","commands","getAttributeKeys","_cleanUp","getRevision","has","RevisionViewer","Restored","save","fromCharCode","isReady","saveRevision","$graveyard","isAnonymous","loadRevisionData","RestrictedEditingMode","getUser","pluginName","isOpen","toLocaleDateString","isEnabled","_update","Autosave","join","adapter","109070UvMpmO","restrictedEditingException","view","display","changesNavigation","Annotations","getMarkersGroup","isOfficialPlugin","isAttached","1668LFsTdF","revisionHistory.editorContainer","_enhanceCloseRevisionViewerCallback","_restoreRevision","config","enqueueChange","locale","removeSelectionAttribute","_viewerEditor","block","_getRevisionViewerEditorConfig","revisionHistory.viewerContainer","_recalculatePageBreaks","disableReadOnlyMode","5433450qRXUHW","create","revision-history-missing-configuration","set","catch","remove","isPremiumPlugin","revisionHistory.viewerEditorElement","revision-history-viewer-opened"];return(ta=function(){return t})()}!function(t){const e=na,i=t();for(;;)try{if(275051===-parseInt(e(301))/1*(parseInt(e(424))/2)+-parseInt(e(333))/3*(parseInt(e(408))/4)+-parseInt(e(316))/5*(parseInt(e(406))/6)+-parseInt(e(417))/7*(parseInt(e(422))/8)+parseInt(e(413))/9*(-parseInt(e(366))/10)+parseInt(e(389))/11+parseInt(e(375))/12*(parseInt(e(336))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Qo(443),Qo(356)];class ia extends G.Plugin{[Qo(436)];static get[Qo(358)](){return Qo(330)}static get[Qo(373)](){return!0}static get[Qo(395)](){return!0}constructor(t){const e=Qo;function i(t){const e=na;return t[e(321)](t=>String[e(350)](t))[e(364)]("")}super(t),this[e(436)]=e(433),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function na(t,e){const i=ta();return(na=function(t,e){return i[t-=296]})(t,e)}class sa extends G.Plugin{[Qo(383)];static get[Qo(358)](){return Qo(323)}static get[Qo(373)](){return!0}static get[Qo(395)](){return!0}static get[Qo(311)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(340)][i(379)][i(420)](i(404)))throw new t.CKEditorError(i(391),this);this[i(383)]=null,this[i(392)](i(427),!1),this[i(340)][i(379)][i(341)](i(312),t=>this[i(296)]({...t,translations:this[i(340)][i(381)][i(328)]})),this[i(340)][i(379)][i(341)](i(441),t=>this[i(320)](t)),this[i(340)][i(379)][i(341)](i(322),t=>this[i(378)](t)),this[i(340)][i(379)][i(341)](i(339),!1),this[i(447)](),this[i(377)]()}set[Qo(365)](t){const e=Qo;this[e(340)][e(416)][e(420)](e(399))[e(365)]=t}get[Qo(365)](){const t=Qo;return this[t(340)][t(416)][t(420)](t(399))[t(365)]}[Qo(337)](t){const e=Qo;return this[e(340)][e(416)][e(420)](e(399))[e(337)](t)}[Qo(345)](t){const e=Qo;return this[e(340)][e(416)][e(420)](e(440))[e(345)](t)}[Qo(426)](t){const e=Qo;return this[e(340)][e(416)][e(420)](e(440))[e(426)](t||{toJSON:!1})}[Qo(385)](){const e=Qo,i=this[e(340)],n=(0,K.sanitizeEditorConfig)(i,ea),s=i[e(416)][e(420)](e(399)),r=i[e(416)][e(420)](e(400))[e(448)];return n[e(299)]=[e(412),e(407),e(370)],delete n[e(415)],n[e(416)][e(403)](ia,ue,Ne,class extends G.Plugin{static get[e(311)](){return[ue,e(400)]}[e(432)](){const n=e,o=this[n(340)][n(416)][n(420)](n(400));for(const t of r)t[n(354)]||o[n(357)](t.id)||o[n(435)](t);const a=s[n(313)][n(426)]();let c=null;const u=this[n(340)][n(416)][n(420)](n(347));u[n(365)]=s[n(365)],u[n(445)](n(361)).to(s),this[n(340)][n(342)][n(420)](n(407))[n(445)](n(361)).to(i,n(437),t=>!t);for(const e of a){const i=null===e[n(305)];if(i&&e[n(298)]===e[n(429)])continue;const r=e[n(401)]();u[n(337)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(362)](r,o);else if(!o){const e=a[u(401)]();e.id=(0,t.uid)(),s[u(352)](e,a[u(298)])[u(410)](t=>{c=t})}}else e[u(362)](r,o)})}}},Lo),n}[Qo(447)](){const t=Qo,e=this[t(340)][t(379)][t(420)](t(404))[t(334)];this[t(340)][t(379)][t(392)](t(312),async()=>{const i=t;this[i(340)][i(319)](i(397));const n=this[i(340)][i(416)][i(420)](i(399));if(this[i(340)][i(416)][i(346)](i(363))){const t=this[i(340)][i(416)][i(420)](i(363));await t[i(349)]()}else await n[i(418)]();if(this[i(340)][i(416)][i(346)](i(414))&&this[i(340)][i(416)][i(420)](i(414))[i(387)](),this[i(340)][i(416)][i(346)](i(338))){const t=this[i(340)][i(416)][i(420)](i(338));t[i(359)]&&t[i(332)]()}const s=this[i(385)]();return e(s)[i(410)](t=>{const e=i;return this[e(383)]=t,this[e(340)][e(416)][e(346)](e(371))&&this[e(340)][e(416)][e(420)](e(371))[e(325)](),this[e(340)][e(416)][e(346)](e(326))&&(this[e(340)][e(416)][e(420)](e(446))[e(368)][e(411)][e(324)][e(369)]=e(302)),t})[i(393)](t=>(console[i(431)](t),this[i(340)][i(388)](i(397)),null))})}[Qo(377)](){const t=Qo,e=this[t(340)][t(379)][t(420)](t(404))[t(309)];this[t(340)][t(379)][t(392)](t(441),()=>(this[t(340)][t(416)][t(346)](t(414))&&this[t(340)][t(416)][t(420)](t(414))[t(387)](),this[t(340)][t(416)][t(346)](t(326))&&(this[t(340)][t(416)][t(420)](t(446))[t(368)][t(411)][t(324)][t(369)]=""),this[t(383)][t(416)][t(420)](t(347))[t(344)](),e(this[t(383)])[t(410)](()=>{const e=t;if(this[e(340)][e(388)](e(397)),this[e(383)]=null,this[e(340)][e(416)][e(346)](e(371))){const t=this[e(340)][e(416)][e(420)](e(371));t[e(325)](),t[e(423)]()}})))}[Qo(296)](t){const e=Qo,i=this[e(340)][e(379)][e(420)](e(376)),n=this[e(340)][e(379)][e(420)](e(386)),s=this[e(340)][e(379)][e(420)](e(396));return Xo[e(390)](s,t)[e(410)](t=>(n[e(324)][e(369)]=e(384),i[e(324)][e(369)]=e(302),this[e(427)]=!0,t))}[Qo(320)](t){const e=Qo,i=this[e(340)][e(379)][e(420)](e(376));return this[e(340)][e(379)][e(420)](e(386))[e(324)][e(369)]=e(302),i[e(324)][e(369)]="",this[e(427)]=!1,t[e(442)]()}async[Qo(378)](t){const e=Qo,i=this[e(340)],n=this[e(383)][e(416)][e(420)](e(347)),s=i[e(416)][e(420)](e(399)),r=i[e(416)][e(420)](e(331)),o=n[e(313)][e(345)](t);let a,c,u;try{await r[e(355)](o,this[e(365)]),a=r[e(444)](o),c=r[e(405)](o)}catch(t){return void console[e(431)](t)}i[e(308)][e(450)](t=>{const n=e;for(const e of Array[n(314)](i[n(308)][n(419)][n(372)](n(367))))t[n(310)](e)}),n[e(351)]=!1,i[e(308)][e(380)](t=>{const n=e;t[n(303)](null),t[n(382)](i[n(308)][n(425)][n(304)][n(343)]());const s=Object[n(409)](a);for(const e of i[n(308)][n(425)][n(306)])n(353)!=e[n(428)]&&e[n(374)]()&&!s[n(307)](e[n(428)])&&t[n(402)](e);for(const e of s){let s=i[n(308)][n(425)][n(398)](e);s&&s[n(374)]()||(s=t[n(318)](e));const r=c[e],o=Object[n(409)](r),u=a[e];for(const e of s[n(343)]())o[n(307)](e)||t[n(421)](e,s);for(const i of o)t[n(300)](i,c[e][i],s);t[n(394)](t[n(329)](s)),t[n(297)](i[n(327)][n(434)](u,s),s,0)}});const l=at(i[e(381)],e(348));return u=o[e(430)]?-1==o[e(430)][e(439)](l)?l+": "+o[e(430)]:o[e(430)]:l+": "+o[e(449)][e(360)](i[e(381)][e(335)],{month:e(438),day:e(317)})+", "+o[e(449)][e(315)](i[e(381)][e(335)],{hour:e(317),minute:e(317)}),await s[e(352)]({name:u}),n[e(351)]=!0,i[e(379)][e(420)](e(404))[e(309)]()}}function ra(){var t=["57169DMDeKA","13196256jTThYK","1146YVWaWJ","258AvbXbr","7715600qfWBQx","1325568OTUCsc","62092AsUPjY","30110571Vvbjge","1844518dDoSEH"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=222]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(956824===-parseInt(e(230))/1+-parseInt(e(227))/2+-parseInt(e(225))/3*(parseInt(e(228))/4)+parseInt(e(226))/5+-parseInt(e(224))/6*(-parseInt(e(222))/7)+-parseInt(e(223))/8+parseInt(e(229))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>le,Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ae,RevisionViewerEditor:()=>Xo,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(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,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,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,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,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)}function M(t){return"__proto__"===t}function D(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&D(n,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,U(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function $(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const q=B;function B(t,e){const i=J();return(B=function(t,e){return i[t-=489]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(587162===parseInt(e(514))/1*(-parseInt(e(506))/2)+parseInt(e(511))/3+parseInt(e(503))/4+-parseInt(e(500))/5+parseInt(e(492))/6+parseInt(e(509))/7+parseInt(e(508))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[q(499)];[q(513)];[q(495)];[q(490)];[q(505)];[q(502)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(499)]=e[i(499)]||null,this[i(513)]=e[i(513)]||[],this[i(495)]=e[i(495)]||null,this[i(490)]=e[i(490)]||0,this[i(505)]=e[i(505)]||0,this[i(496)](i(494),e[i(494)]||""),this[i(496)](i(489),e[i(489)]||new Date),this[i(496)](i(515),e[i(515)]||{})}[q(501)](t){this[q(507)]({name:t})}[q(491)](t,e){const i=q,n=A(this[i(515)]);W(n,t,e),this[i(507)]({attributes:n})}[q(498)](t){const e=q,i=A(this[e(515)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return $(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(507)]({attributes:i})}[q(507)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(494),i(489),i(495),i(513),i(515),i(490),i(505),i(512)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(513)]&&(s[i(510)]=s[i(513)][i(497)](t=>t.id),delete s[i(513)]),this[i(493)](i(507),s,e))}[q(504)](){const t=q;return{id:this.id,name:this[t(494)],creatorId:this[t(499)]?this[t(499)].id:null,authorsIds:this[t(513)][t(497)](t=>t.id),diffData:this[t(495)],createdAt:this[t(489)],attributes:this[t(515)],fromVersion:this[t(505)],toVersion:this[t(490)]}}}function J(){const t=["removeAttribute","creator","4356270FevmCK","setName","model","526732NmXPUG","toJSON","fromVersion","106494iHPHAB","_update","1559240hHLsvN","3008474YZDpty","authorsIds","673161lXkUsI","creatorId","authors","7luOjwO","attributes","createdAt","toVersion","setAttribute","5102328WuGQOD","fire","name","diffData","set","map"];return(J=function(){return t})()}var G=i(782),K=i(211),X=i(783);const Q=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=367]})(t,e)}function et(){const t=["getRevisionsInDiff","10435271uMltfm","attributes","getEarlierVisibleRevision","getRevisions","105UkLAUZ","earlier","addRevision","fromVersion","fromCharCode","300uNIXVp","4444HyCLkq","name","1395mILKOB","join","afterInit","toVersion","getRevision","authorsIds","Users","href","oldRevisionId","13432SFwPqB","getRevisionsIterator","RevisionsRepository","plugins","push","data","getLaterVisibleRevision","1219302zkcECp","getUser","getIndex","creatorId","pluginName","diffData","toJSON","isPremiumPlugin","requires","from","map","1108OFaiaW","createRevision","1498hBCEuX","length","get","newRevisionId","add","2639860WlsHeO","createdAt","later","isNaN","14165JCMmWc","isOfficialPlugin","_revisions","reverse","editor"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(227036===-parseInt(e(421))/1*(parseInt(e(371))/2)+-parseInt(e(373))/3*(-parseInt(e(400))/4)+parseInt(e(411))/5*(parseInt(e(370))/6)+-parseInt(e(402))/7*(parseInt(e(382))/8)+-parseInt(e(389))/9+-parseInt(e(407))/10+parseInt(e(417))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(413)];static get[Q(397)](){return[K.Users]}static get[Q(393)](){return Q(384)}static get[Q(412)](){return!0}static get[Q(396)](){return!0}get[Q(403)](){const t=Q;return this[t(413)][t(403)]}constructor(e){const i=Q;super(e),this[i(413)]=new t.Collection}[Q(375)](){!async function(e){const i=k([119,89,73,49,79,118,48,100,68,99,121,122,53,117,120,71,103,114,111,56,84,50,110,86,105,98,83,107,57,97,115,102,70,51,88,116,80,78,112,65,75,69,74,87,85,52,101,72,77,82,108,76,67,104,81,109,66,90,106,54,55,113]),n=964649,s=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 n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(410)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)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([119]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return 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=tt;return t[e(399)](t=>String[e(369)](t))[e(374)]("")}!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()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[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,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),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(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function 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])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}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 n(){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 n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,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,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),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,s,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])])?s/1e3:1751587200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(380)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(401)](t){const e=Q,i=this[e(415)][e(385)][e(404)](e(379));return new Y({id:t.id,name:t[e(372)],creator:t[e(392)]?i[e(390)](t[e(392)]):null,diffData:t[e(394)]||t[e(387)],authors:t[e(378)][e(399)](t=>i[e(390)](t)),createdAt:new Date(t[e(408)]),attributes:t[e(418)],fromVersion:t[e(368)],toVersion:t[e(376)]})}[Q(367)](t,e=0){const i=Q;this[i(413)][i(406)](t,e)}[Q(377)](t){const e=Q;return this[e(413)][e(404)](t)}[Q(420)](t={toJSON:!1}){const e=Q,i=Array[e(398)](this[e(413)]);return i[e(414)](),t[e(395)]?i[e(399)](t=>t[e(395)]()):i}[Q(391)](t){const e=Q;return this[e(413)][e(391)](t)}[Q(419)](t){const e=Q,[,i]=this[e(383)](t,{direction:e(422)});return i}[Q(388)](t){const e=Q,[,i]=this[e(383)](t,{direction:e(409)});return i}[Q(416)](t){const e=Q,i=[];for(const n of this[e(383)](t[e(405)]))if(i[e(386)](n),n.id===t[e(381)])break;return i}*[Q(383)](t,{direction:e=Q(422),filter:i=()=>!0}={}){const n=Q,s=n(422)===e?1:-1;let r=this[n(413)][n(404)](t),o=this[n(391)](r);for(yield r;r;){if(o+=s,r=this[n(377)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=489]})(t,e)}function rt(){const t=["processor","div","children","2936DrUJFk","_appendChild","get","marked","revision-start","fillerOffset","7483WlJNhA","451856LcOQIa","htmlProcessor","attachChange","_setCustomProperty","diffData","2631hkBkJw","_getViewFromDiffObj","getFillerOffset","revision-end","13015854lQSwaP","domDocument","childNodes","collaboration.channelId","toModel","loadRevisionData","isOfficialPlugin","startsWith","editor","866TwTOxA","default","_makeModelFromViewString","attributes","document","useFillerType","from","forEach","length","customProperties","type","domConverter","constructor","_getTypeCharForViewElement","render","config","getRevisionDocumentData","name","domChildrenToView","toData","_removeRevisionMarkers","parse","data","view","createElement","attributesAfter","getRevisionRootsAttributes","getRevision","_typeCharToViewClass","pluginName","map","isPremiumPlugin","innerHTML","append","436944rghMCv","data-revision-","editing","RevisionHistoryUtils","415855alceEz","1175970iUJsBS","_viewClassToTypeChar","isAttached","insertions","filter","viewChildrenToDom","string"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(237058===-parseInt(e(554))/1+parseInt(e(520))/2*(-parseInt(e(507))/3)+-parseInt(e(502))/4+-parseInt(e(558))/5+parseInt(e(559))/6+-parseInt(e(501))/7*(parseInt(e(495))/8)+parseInt(e(511))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(549)](){return nt(557)}static get[nt(517)](){return!0}static get[nt(551)](){return!0}[nt(560)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(548)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(516)](t,e){const i=nt;if(t[i(506)]||!e)return;const n=this[i(519)][i(535)][i(497)](i(514)),s=await e[i(547)]({channelId:n,revisionId:t.id});t[i(506)]=s[i(506)]}[nt(536)](t){const e=nt,i={};for(const n in t[e(506)]){if(t[e(506)][n][e(504)]&&!t[e(506)][n][e(504)][e(561)])continue;const s=this[e(540)](JSON[e(541)](t[e(506)][n][e(562)])),r=this[e(519)][e(556)][e(543)][e(524)],o=new X.ViewDocumentFragment(r,s[e(550)](t=>this[e(508)](t,!1)));this[e(519)][e(542)][e(492)][e(525)](e(498)),i[n]=this[e(519)][e(542)][e(492)][e(539)](o),this[e(519)][e(542)][e(492)][e(525)](e(521))}return i}[nt(546)](t){const e=nt,i={};for(const n in t[e(506)])t[e(506)][n][e(504)]&&!t[e(506)][n][e(504)][e(561)]||(i[n]=t[e(506)][n][e(545)]||{});return i}[nt(533)](t){const e=nt;return this[e(560)][e(497)](t[e(532)])}[nt(508)](t,e){const i=nt,n=this[i(519)][i(556)][i(543)][i(524)];if(i(491)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(530)]||"r"==t[i(530)]?[]:t[i(494)][i(550)](t=>this[i(508)](t,e));const o=this[i(548)][i(497)](t[i(530)])||X.ViewElement,a=this[i(519)][i(542)][i(503)][i(531)];if(s=new o(n,t[i(537)],t[i(523)],r),"u"==t[i(530)]&&t[i(494)][0]){const r=t[i(494)][0];if(s[i(534)]=function(t){const e=i,n=t[e(544)](e(493));return n[e(552)]=r,n[e(513)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(496)](s);const e=Array[i(526)](a[i(490)](t,{bind:!1})),r=a[i(512)][i(544)](i(493));r[i(553)](...e),s=Array[i(526)](a[i(538)](r))[0]}}else if("r"==t[i(530)]&&t[i(494)][0]){const r=t[i(494)][0];if(s[i(534)]=function(t){t[i(552)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(496)](s);const e=Array[i(526)](a[i(490)](t,{bind:!1})),r=a[i(512)][i(544)](i(493));r[i(553)](...e);const o=Array[i(526)](a[i(538)](r));o[i(528)]>1?s[i(496)](o):s=o[0]}}if(t[i(529)])for(const[e,n]of t[i(529)])s[i(505)](e,n);const c=void 0===t[i(500)]?null:t[i(500)];return null!==c&&(s[i(509)]=()=>c),s}}[nt(522)](t){const e=nt,i=JSON[e(541)](t),n=this[e(519)][e(556)][e(543)][e(524)],s=new X.ViewDocumentFragment(n,i[e(550)](t=>this[e(508)](t,!0)));return this[e(519)][e(542)][e(515)](s)}[nt(540)](t){const e=nt;return(t=t[e(489)](t=>!t[e(537)]||e(499)!==t[e(537)]&&e(510)!==t[e(537)]))[e(527)](t=>{const i=e;i(491)!=typeof t&&(t[i(494)]=this[i(540)](t[i(494)]),t[i(523)]=t[i(523)][i(489)](t=>!t[0][i(518)](i(555))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(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 ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,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 lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(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:return D(t.valueOf(),i.valueOf());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}const A=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.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(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=489]})(t,e)}function pt(){const t=["_touchedRoots","getCustomProperties","revisionHistory.resumeUnsavedRevision","find","path","merge","getFillerOffset","reverse","usageLimit","4918596QNPbma","nodes","stickiness","define","getTransformedByOperation","initialData","_fixRange","get","removeRootAttribute","finally","_handleRootAttributeOperation","PENDING_ACTION_REVISION_HISTORY","_processRootBeforeSave","featureNotAllowed","addRoot","PendingActions","createElement","createdAt","set","_revisionDataBuilder","diffData","_lastFrom","createPositionFromPath","_replaceEditorDataWithRevisionData","Empty document","attributesAfter","newRange","documentFragment","rootName","_isInit","reinsert","max","createPositionBefore","getCurrentRevisionId","customProperties","data","getMovedRangeStart","_bufferedUpdates","getChild","getNodeByPath","_diffRoots","isEnabled","size","_applyOperations","_setConversion","authorsIds","14HrgtuI","childCount","creator","oldRange","getRevisionDocumentData","elementEnd","deletion","filter","_operations","delete","_cloneOperation","getOperation","revisionHistoryLicenseKeyExpired","adapter","version","revision:","updateRevisions","1283889gyMEDG","_baseRoots","_findInsertionIndex","_markChanges","initial","domDocument","_licenseKeyCheckInterval","domConverter","root","revisionHistoryLicenseKeyUsageLimit","_touchedMarkers","length","getWalker","_utils","_initialRevisionId","attachChange","_lastTo","_handleMergeOperation","from","loadRevisionData","start","2779542HZdZhf","_idsRoots","_baseIdsRoots","stringify","some","_makeIdsRoot","addRevision","push","conversion","getRevisionRootsAttributes","split","plugins","fromVersion","evaluationLimit","_removeMetaData","rootsAttributes","outerHTML","_getPreviousFrom","_createCurrentRevision","$text","createPositionAt","fromEntries","markerToData","isPremiumPlugin","_saveMetaData","end","has","_source","sourcePosition","buildRevisionData","_loadState","_savedMetaData","revisionHistoryLicenseKeyValid","isOfficialPlugin","sendBufferedUpdates","userId","524OGeatL","_getViewJson","revisionHistoryLicenseKeyInvalid","_insertChild","clear","getLatestVersion","text","sort","getAncestors","_removePendingAction","markers","editor-initial-data-replaced-with-revision-data","RevisionHistoryUtils","includes","bind","uiElement","_revisionId","key","then","revisionHistoryLicenseKeyDomainLimit","_loadedStateData","baseVersion","range","_getFromVersion","loadState","domainLimit","_pendingAction","tableCell","_handleMarkerOperation","getRange","insert","2775640cuZXGX","howMany","RealTimeCollaborationClient","string","clone","offset","newValue","16030521abfvDg","insertions","affectsData","getChildren","isEqual","trialLimit","previousPosition","_getBaseVids","$graveyard","_getVidAttributeName","move","_prepareViewToSave","_addPendingAction","_baseRootsAttributes","dataDowncast","isReady","getData","_getState","init","detachRoot","RevisionHistory","getRoot","getUser","deletions","_execute","33303bReBbc","model","setSource","position","getRootNames","_fixOperation","createPositionAfter","$comment","_startingRevisionId","licenseKey","toVersion","revision","children","_authorId","vid","element","nodeAfter","attributesBefore","_bufferUpdate","slice","Initial revision","collaboration.channelId","upcast","addRootAttribute","startsWith","fillerOffset","parent","_isAttached","invalid","remove","vid_start","reInit","_calculateMetaData","insertion","_clone","insertionPosition","elementStart","repository","_getTypeCharForViewElement","document","_handleRootOperation","trim","_continueCurrentRevision","addRevisionData","getAttributes","getAttribute","marker","rawElement","resolve","requires","_copyMarkers","createRevision","_diffRootsAttributes","saveRevision","_isPendingUpdate","type","dataToMarker","isAdd","_makeModelFromViewString","vid_end","config","getTime","update","RevisionsRepository","changeRootAttribute","revisionHistoryLicenseKeyNotAllowed","6443064Dwcvtk","map","expired","_makeRevision","for","graveyardPosition","_update","_touched","isAttached","_handleMoveOperation","_transformMarkers","history","locale","item","_fixPosition","_handleInsertOperation","createRangeIn","offsetSize","_reset","authors","splitPosition","_startingVersion","revisionHistoryLicenseKeyEvaluationLimit","createRange","_createInitialRevision","_markers","toView","hasContent","innerHTML","htmlProcessor","keepParagraph","_createFromRanges","_handleOperation","getRevisions","targetPosition","source","render","editor","setRevisionData","RevisionTracker","_handleSplitOperation","getIndex","shift","add","pluginName","destroy","keys","ready","currentRevision","name","_appendChild","revisionHistoryLicenseKeyTrialLimit","getOperations","roots","getRevision","Users","paragraph","values","_generateTape","afterInit","NEGATIVE_INFINITY","_showLicenseError","_setAttribute","creatorId"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(840761===-parseInt(e(731))/1+-parseInt(e(752))/2+parseInt(e(529))/3*(parseInt(e(788))/4)+-parseInt(e(497))/5+parseInt(e(668))/6*(parseInt(e(714))/7)+-parseInt(e(595))/8+parseInt(e(504))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(538)];[ft(737)];[ft(643)]=null;[ft(566)];[ft(727)]=null;[ft(687)];[ft(779)];[ft(745)];[ft(705)];[ft(744)];[ft(492)];[ft(571)];[ft(616)];[ft(808)];static get[ft(639)](){return ft(634)}static get[ft(785)](){return!0}static get[ft(775)](){return!0}static get[ft(578)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(566)]=this[i(632)][i(763)][i(675)](i(592)),this[i(744)]=this[i(632)][i(763)][i(675)](i(800)),this[i(687)]=new gt(this[i(632)]),this[i(745)]=this[i(632)][i(589)][i(675)](i(550))||i(735),this[i(705)]=new Map,this[i(808)]=null;const n=(0,t.uid)();this[i(779)]={history:this[i(632)][i(530)][i(568)][i(606)],getLatestVersion:()=>Promise[i(577)](this[i(632)][i(530)][i(568)][i(728)]),getCurrentRevisionId:()=>n},this[i(686)](i(519),!1),this[i(686)](i(709),!0),this[i(686)](i(583),!1),this[i(632)][i(589)][i(671)](i(661),!0),this[i(632)][i(760)][i(599)](i(551))[i(585)]({view:i(540)})}[ft(522)](){const t=ft;this[t(712)](),this[t(632)][t(703)].on(t(642),()=>{const e=t,i=this[e(566)][e(649)](0),n=i&&null===i[e(716)]?i:null;if(this[e(571)]=!!n&&this[e(632)][e(589)][e(675)](e(661)),this[e(632)][e(763)][e(778)](e(499))){const t=this[e(779)][e(701)](),s=this[e(566)][e(649)](t);if(s)this[e(616)]=s[e(764)],this[e(571)]=!1;else{const t=this[e(779)][e(606)][e(722)][e(662)](t=>!t[e(697)]),s=t?t[e(809)]:this[e(779)][e(606)][e(728)];i?(i[e(539)]<s&&i[e(601)]({toVersion:s}),this[e(571)]?(this[e(779)][e(701)]=()=>n.id,this[e(616)]=n[e(764)]):(this[e(616)]=i[e(539)],this[e(571)]=!1)):(this[e(616)]=s,this[e(571)]=!1)}}else n&&(this[e(632)][e(530)][e(568)][e(606)][e(728)]=Math[e(699)](n[e(539)],this[e(632)][e(530)][e(568)][e(606)][e(728)]),n[e(764)]===n[e(539)]?(0!==n[e(764)]&&(this[e(779)][e(701)]=()=>n.id),this[e(571)]=!1):this[e(571)]&&(this[e(779)][e(701)]=()=>n.id,this[e(616)]=n[e(764)])),this[e(571)]||(this[e(616)]=this[e(632)][e(530)][e(568)][e(728)]);this[e(687)][e(522)](this[e(779)][e(606)]),this[e(619)](this[e(616)]),this[e(770)](this[e(616)]),this[e(727)]&&this[e(786)]()}),this[t(802)](t(519)).to(this,t(583),t=>!t),this[t(538)]=this[t(632)][t(589)][t(675)](t(538));const e=this[t(632)];this[t(737)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(784)==r||i(790)==r||i(726)==r||i(807)==r||i(594)==r||i(617)==r||i(646)==r||i(740)==r){delete e[s],n=r,clearInterval(this[i(737)]),this[i(737)]=void 0;break}}i(790)==n&&e[i(656)](i(557)),i(726)==n&&e[i(656)](i(597)),i(807)==n&&e[i(656)](i(491)),i(594)==n&&e[i(656)](i(681),i(524)),i(617)==n&&e[i(656)](i(765)),i(646)==n&&e[i(656)](i(509)),i(740)==n&&e[i(656)](i(667))},1e3)}async[ft(654)](){const t=ft;if(this[t(566)][t(742)]>0){const e=this[t(566)][t(649)](0),i=await this[t(718)](e),n=await this[t(761)](e);this[t(691)](i,n)}}[ft(640)](){const t=ft;super[t(640)](),this[t(737)]&&clearInterval(this[t(737)])}[ft(531)](t){this[ft(779)]=t}async[ft(591)](){const t=ft,e=await this[t(779)][t(793)]();if(e>this[t(643)][t(539)]){await this[t(782)]();const i=this[t(781)]({revision:this[t(643)],to:e});i[t(614)]=i[t(713)][t(596)](e=>this[t(632)][t(763)][t(675)](t(650))[t(526)](e)),this[t(643)][t(601)](i)}}async[ft(582)](e={},i=null){const n=ft,s=[];await this[n(782)](),this[n(571)]=!1,i>this[n(643)][n(539)]&&(i=null),null===i&&(i=await this[n(779)][n(793)]());const r=this[n(489)](i),o=this[n(781)]({from:r,to:i});if(this[n(643)][n(539)]<i){const t=this[n(781)]({revision:this[n(643)],from:i,to:i});t[n(614)]=[],t[n(713)]=[],t.id=this[n(643)].id,this[n(643)][n(601)](t,!0),delete t[n(614)],s[n(759)](t)}e[n(658)]=this[n(632)][n(763)][n(675)](n(650)).me.id,e[n(644)]=e[n(644)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(572)](e);s[n(759)](e);const c=this[n(566)][n(636)](a);if(0!==c){const t=this[n(566)][n(649)](c-1);if(t[n(764)]!==i){const r=this[n(687)][n(520)](i,t[n(539)]),o={id:t.id,diffData:r[n(688)],authorsIds:r[n(713)],authors:r[n(713)][n(596)](t=>this[n(632)][n(763)][n(675)](n(650))[n(526)](t)),fromVersion:i};t===this[n(643)]&&(o[n(685)]=new Date(e[n(685)][n(590)]()+10)),t[n(601)](o,!0),delete o[n(614)],s[n(759)](o)}}if(this[n(727)]){for(const t of s)this[n(547)](t.id,t,!0);this[n(786)]()}return a}[ft(572)](t){const e=ft,i=this[e(566)][e(580)](t);return this[e(727)]&&i.on(e(601),(t,i,n)=>{const s=e;n||(this[s(547)](i.id,i,!0),this[s(786)]())}),this[e(566)][e(758)](i,this[e(733)](i)),i}async[ft(718)](t){const e=ft;return await this[e(744)][e(750)](t,this[e(727)]),this[e(744)][e(718)](t)}async[ft(761)](t){const e=ft;return await this[e(744)][e(750)](t,this[e(727)]),this[e(744)][e(761)](t)}[ft(786)](){const t=ft;if(0===this[t(705)][t(710)])return;if(this[t(583)])return;let e=Array[t(749)](this[t(705)][t(652)]());this[t(705)][t(792)]();for(let i=0;i<e[t(742)];i++){const n=e[i];let s=!1;for(const e of Object[t(641)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(721)](t=>null!==t),!e[t(742)])return;for(let i=0;i<e[t(742)];i++){const n=e[i];void 0!==n[t(764)]&&void 0===n[t(539)]&&(n[t(539)]=this[t(566)][t(649)](n.id)[t(539)]),void 0!==n[t(539)]&&void 0===n[t(764)]&&(n[t(764)]=this[t(566)][t(649)](n.id)[t(764)])}const i=this[t(632)][t(589)][t(675)](t(550));this[t(583)]=!0,this[t(516)](),this[t(727)][t(730)](e,i)[t(677)](()=>{this[t(583)]=!1})[t(806)](e=>{const i=t;if(e)for(const t of e)this[i(633)]({id:t.id,createdAt:t[i(685)]});this[i(797)](),this[i(786)]()})}[ft(781)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(764)],i=null!==i?i:t[n(539)];const s=this[n(687)][n(520)](e,i),r={diffData:s[n(688)],authorsIds:s[n(713)],fromVersion:e,toVersion:i};if(!t||i!==t[n(539)]){const t=i-1,e=this[n(779)][n(606)][n(725)](t);r[n(685)]=e&&e[n(685)]||new Date}if(this[n(808)]&&e===this[n(808)][n(764)])for(const t of this[n(808)][n(614)])r[n(713)][n(801)](t.id)||r[n(713)][n(759)](t.id);return r}[ft(547)](t,e,i){const n=ft;if(this[n(705)][n(778)](t)){const s=this[n(705)][n(675)](t);e=i?{...s,...e}:{...e,...s}}this[n(705)][n(686)](t,e)}[ft(633)](t){const e=ft,i=this[e(566)][e(649)](t.id);if(t[e(685)]&&(t[e(685)]=new Date(t[e(685)])),t[e(713)]){const i=this[e(632)][e(763)][e(675)](e(650));t[e(614)]=t[e(713)][e(596)](t=>i[e(526)](t))}i[e(601)](t,!0)}[ft(619)](t){const e=ft,i=this[e(566)][e(649)](this[e(566)][e(742)]-1);if(i)this[e(745)]=i.id;else{const i=!this[e(632)][e(530)][e(568)][e(648)][e(662)](t=>this[e(632)][e(530)][e(622)](t)),n=this[e(632)][e(763)][e(675)](e(650)).me.id,s=at(this[e(632)][e(607)],e(i?692:549));this[e(598)]({from:t,to:t,id:this[e(745)],name:s,creatorId:n})}}[ft(770)](t){const e=ft,i=this[e(779)][e(701)]();this[e(643)]=this[e(566)][e(649)](i),this[e(643)]||(this[e(643)]=this[e(598)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(782)](){const t=ft;this[t(571)]&&!this[t(808)]&&(await this[t(744)][t(750)](this[t(643)],this[t(727)]),this[t(687)][t(490)](this[t(643)]),this[t(808)]={fromVersion:this[t(643)][t(764)],authors:this[t(643)][t(614)][t(548)]()})}[ft(691)](e,i){const n=ft;let s=this[n(632)][n(589)][n(675)](n(673)),r=this[n(632)][n(589)][n(675)](n(767));if(void 0===s){s={};for(const t of this[n(632)][n(530)][n(568)][n(533)]())s[t]=""}if(n(500)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(632)][n(530)][n(568)][n(533)]())r[t]={}}let o=!1;const a=Object[n(641)](s),c=Object[n(641)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(570)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(641)](r[t])[n(742)]>0){o=!0;break}}o||(o=c[n(756)](t=>!this[n(632)][n(530)][n(568)][n(525)](t))),o&&(0,t.logWarning)(n(799),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(632)][n(589)][n(686)](n(673),e),this[n(632)][n(589)][n(686)](n(767),i)}[ft(516)](){const t=ft;if(!this[t(492)]){const e=this[t(632)][t(763)][t(675)](t(683));this[t(492)]=e[t(638)](at(this[t(632)][t(607)],t(679)))}}[ft(797)](){const t=ft;this[t(492)]&&(this[t(632)][t(763)][t(675)](t(683))[t(558)](this[t(492)]),this[t(492)]=null)}[ft(733)](t){const e=ft,i=this[e(566)][e(628)]();i[e(666)]();let n=0;for(;n<i[e(742)];){const s=i[n];if(s===this[e(643)]){n++;continue}if(s.id===this[e(745)])break;const r=t[e(539)]-s[e(539)]||t[e(764)]-s[e(764)];if(r>0)break;if(r<0)n++;else{if(!t[e(716)]&&s[e(716)])break;if(s[e(716)]||!t[e(716)]){if(t[e(685)]>s[e(685)])break;n++}else n++}}return n}[ft(489)](t){const e=ft,i=this[e(566)][e(628)]();i[e(666)](),i[e(637)]();const n=i[e(662)](i=>i[e(539)]<=t)[e(539)];return n<this[e(616)]?this[e(616)]:n}[ft(598)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(781)]({from:e,to:i});o[r(644)]=t,o[r(658)]=n,o.id=s;const a=this[r(572)](o);return this[r(727)]&&this[r(547)](o.id,o,!0),a}[ft(712)](){const t=ft;this[t(632)][t(760)][t(599)](t(518))[t(774)]({model:t(540)})}}class gt{[ft(632)];[ft(630)];[ft(783)];[ft(689)];[ft(747)];[ft(620)];[ft(708)];[ft(581)];[ft(732)];[ft(517)];[ft(753)];[ft(754)];[ft(602)];[ft(741)];[ft(659)];[ft(804)];[ft(537)];constructor(t){const e=ft;this[e(632)]=t,this[e(783)]=new Map,this[e(689)]=-1,this[e(747)]=-1,this[e(620)]=new Map,this[e(708)]=new Map,this[e(581)]=new Map,this[e(732)]=new Map,this[e(517)]=new Map,this[e(753)]=new Map,this[e(754)]=new Map,this[e(602)]=new Map,this[e(741)]=new Map,this[e(659)]=new Map,this[e(804)]=1}[ft(522)](t){const e=ft;this[e(630)]=t;const i=new Map,n=new Map,s=this[e(632)][e(530)][e(568)][e(648)][e(596)](t=>t[e(696)]);for(const t of s){const s=this[e(632)][e(530)][e(568)][e(525)](t),r=yt(s);i[e(686)](t,r),n[e(686)](t,Object[e(773)](s[e(573)]()))}const r=Array[e(749)](this[e(632)][e(530)][e(798)])[e(596)](t=>[t[e(644)],t[e(495)]()]),o=this[e(630)][e(728)];this[e(776)](o,i,r,n),this[e(537)]=this[e(804)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(686)](t,i),c[e(686)](t,{})}this[e(776)](Number[e(655)],a,[],c)}[ft(520)](t,e){const i=ft;if(this[i(689)]===t&&this[i(747)]<=e)this[i(783)][i(710)]>1&&this[i(766)](this[i(747)]),this[i(711)](this[i(747)],e,!0);else{if(!this[i(783)][i(778)](t)){const e=this[i(769)](t);this[i(561)](e,t,!1)}this[i(561)](t,e,!0)}return this[i(689)]=t,this[i(747)]=e,this[i(521)]()}[ft(490)](t){const e=ft,i=this[e(632)][e(763)][e(675)](e(800));this[e(613)](),this[e(689)]=t[e(764)],this[e(747)]=t[e(539)];for(const n in t[e(688)]){const s=t[e(688)][n][e(746)],r=A(t[e(688)][n][e(546)])||{},o=i[e(587)](t[e(688)][n][e(527)]);o[e(696)]=n,o[e(556)]=!s||!s[e(603)],o[e(603)]=()=>o[e(556)],this[e(732)][e(686)](n,o),this[e(517)][e(686)](n,r),s&&this[e(659)][e(686)](n,s);const a=this[e(757)](o);this[e(754)][e(686)](n,a);for(const[t,i]of o[e(798)]){if(!t[e(553)](e(729)))continue;const n=t[e(762)](":")[2];for(const t of i[e(743)]({singleCharacters:!0})){const i=this[e(513)](t),s=e(719)==t[e(584)]?t[e(510)][e(663)][e(548)](0,-1):t[e(510)][e(663)],r=a[e(707)](s)[e(574)](i);this[e(602)][e(686)](r,{userId:n})}}}this[e(537)]=this[e(804)];const n=[...Array(this[e(804)])[e(641)]()][e(548)](1)[e(721)](t=>!this[e(602)][e(778)](t));let s=0;const r=new Map;for(const o in t[e(688)]){const a=t[e(688)][o][e(746)],c=A(t[e(688)][o][e(693)])||{},u=i[e(587)](t[e(688)][o][e(505)]);u[e(696)]=o,u[e(556)]=!a||a[e(603)],u[e(603)]=()=>u[e(556)],this[e(708)][e(686)](o,u),this[e(581)][e(686)](o,c);const l=this[e(757)](u,Number[e(655)]);this[e(753)][e(686)](o,l),r[e(686)](o,u[e(603)]()?c:{});for(const[t,i]of u[e(798)]){if(!t[e(553)](e(729)))continue;const n=t[e(762)](":")[2];for(const t of i[e(743)]({singleCharacters:!0})){const i=this[e(513)](t),s=this[e(804)]++,r=e(719)==t[e(584)]?t[e(510)][e(663)][e(548)](0,-1):t[e(510)][e(663)];l[e(707)](r)[e(657)](i,s),this[e(602)][e(686)](s,{userId:n})}}for(const t of this[e(632)][e(530)][e(611)](u)[e(743)]({singleCharacters:!0})){const i=this[e(513)](t),r=e(719)==t[e(584)]?t[e(510)][e(663)][e(548)](0,-1):t[e(510)][e(663)],o=l[e(707)](r);o[e(574)](i)>0||o[e(657)](i,n[s++])}for(const[t,i]of u[e(798)])t[e(553)](e(729))||this[e(620)][e(686)](t,i)}const o=kt(e(512));this[e(732)][e(686)](e(512),o),this[e(754)][e(686)](e(512),this[e(757)](o,1));const a=kt(e(512));this[e(708)][e(686)](e(512),a),this[e(753)][e(686)](e(512),this[e(757)](a,1));const c=Array[e(749)](this[e(708)])[e(596)](([t,e])=>[t,yt(e)]);this[e(776)](this[e(747)],c,this[e(620)],r)}[ft(560)](){const t=ft;this[t(613)](),this[t(689)]=-1,this[t(747)]=-1,this[t(783)][t(792)](),this[t(522)](this[t(630)])}[ft(776)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(686)](t,{start:e[s(751)][s(501)](),end:e[s(777)][s(501)](),rootName:e[s(739)][s(696)]});this[s(783)][s(686)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(766)](t){const e=ft;this[e(783)][e(723)](t)}[ft(613)](){const t=ft;this[t(602)][t(792)](),this[t(741)][t(792)](),this[t(659)][t(792)](),this[t(708)][t(792)](),this[t(581)][t(792)](),this[t(732)][t(792)](),this[t(517)][t(792)](),this[t(753)][t(792)](),this[t(754)][t(792)](),this[t(620)][t(792)](),this[t(804)]=1,this[t(537)]=this[t(804)]}[ft(757)](t,e=null){const i=ft;let n=null;t.is(i(695))||(n=new X.ModelElement(t[i(644)],{vid_start:null===e?this[i(804)]++:e++}));const s=[];for(const n of t[i(507)]())if(n.is(i(544))){s[i(759)](this[i(757)](n,e));const t=s[s[i(742)]-1];null!==e&&(e=t.is(i(544),i(771))?t[i(574)](i(543))+1:t[i(574)](i(588))+1)}else for(let t=0;t<n[i(612)];t++)s[i(759)](new X.ModelElement(i(771),{vid:null===e?this[i(804)]++:e++}));if(t.is(i(695))){const e=kt(t[i(696)]);return e[i(791)](0,s),e}return n[i(657)](i(588),null===e?this[i(804)]++:e++),n[i(791)](0,s),n}[ft(561)](t,e,i){const n=ft;this[n(613)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(783)][n(675)](t);this[n(732)]=new Map(s),this[n(517)]=new Map(A(o));for(const[t,e]of this[n(732)])if(n(512)!==t&&(this[n(708)][n(686)](t,yt(e)),this[n(581)]=new Map(A(o)),i)){const i=this[n(804)];this[n(753)][n(686)](t,this[n(757)](e)),this[n(754)][n(686)](t,this[n(757)](e,i))}this[n(537)]=this[n(804)],this[n(708)][n(686)](n(512),yt(this[n(732)][n(675)](n(512)))),i&&this[n(753)][n(686)](n(512),this[n(757)](this[n(732)][n(675)](n(512))));for(const[t,e]of r){const i=this[n(732)][n(675)](e[n(696)]),s=this[n(708)][n(675)](e[n(696)]),r=new X.ModelRange(this[n(609)](e[n(751)],i),this[n(609)](e[n(777)],i)),o=this[n(674)](r,s);i[n(798)][n(686)](t,r),this[n(620)][n(686)](t,o)}this[n(711)](t,e,i)}[ft(711)](t,e,i){const n=ft;for(const s of this[n(630)][n(647)](t,e))this[n(627)](s,i);for(const t of this[n(708)][n(652)]())t[n(798)][n(792)]();for(const[t,e]of this[n(620)])this[n(708)][n(675)](e[n(739)][n(696)])[n(798)][n(686)](t,e[n(501)]());const s=new Map,r=new Map;for(const[t,e]of this[n(708)])s[n(686)](t,yt(e)),r[n(686)](t,this[n(581)][n(675)](t));this[n(776)](e,s,this[n(620)],r)}[ft(769)](t){const e=ft,i=Array[e(749)](this[e(783)][e(641)]());i[e(795)]((t,e)=>t-e),i[e(666)]();for(const e of i)if(e<t)return e;return Number[e(655)]}[ft(579)](t,e){const i=ft,n=Array[i(749)](e[i(798)])[i(596)](([e,n])=>[e,this[i(674)](n,t)]);t[i(798)]=new Map(n)}[ft(605)](t){const e=ft;for(const i of this[e(620)][e(652)]()){const n=i[e(672)](t),s=X.ModelRange[e(626)](n);i[e(751)]=s[e(751)],i[e(777)]=s[e(777)]}}[ft(627)](t,e){const i=ft;if(i(682)!=t[i(584)]&&i(523)!=t[i(584)]){if(i(496)==t[i(584)]){const n=t[i(532)][i(739)][i(696)];this[i(708)][i(778)](n)||(this[i(708)][i(686)](n,kt(n,!0)),this[i(581)][i(686)](n,{}),e&&this[i(753)][i(686)](n,kt(n,!0)))}else{if(i(552)==t[i(584)]||i(676)==t[i(584)]||i(593)==t[i(584)])return void this[i(678)](t);i(575)==t[i(584)]&&this[i(494)](t)}if(i(575)!==t[i(584)]){const e=this[i(724)](t,this[i(708)]);e[i(528)](),this[i(605)](e)}if(e)switch(t[i(584)]){case i(496):this[i(610)](t);break;case i(514):case i(558):case i(698):this[i(604)](t);break;case i(664):this[i(748)](t);break;case i(762):this[i(635)](t)}}else this[i(569)](t,e)}[ft(724)](t,e){const i=ft,n=t[i(501)]();return n[i(542)]=t[i(542)],this[i(534)](n,e),n}[ft(511)](t){const e=ft;return t[e(596)](t=>{const i=e,n=this[i(513)](t);return Number(t[i(608)][i(574)](n))})}[ft(653)](t,e){const i=ft;if(t.is(i(544),i(771)))e[i(759)]({item:t,type:i(794)});else{t.is(i(544))&&e[i(759)]({item:t,type:i(565)});for(const n of t[i(507)]())this[i(653)](n,e);t.is(i(544))&&e[i(759)]({item:t,type:i(719)})}return e}[ft(521)](){const t=ft,e=new Map(this[t(602)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(732)][t(641)](),...this[t(708)][t(641)]()]);a[t(723)](t(512));for(const e of a){const i=this[t(708)][t(675)](e)||kt(e,!1),n=this[t(732)][t(675)](e)||kt(e,!1);i[t(603)]()||n[t(603)]()?(s[t(505)][e]=yt(i),s[t(527)][e]=yt(n),this[t(579)](s[t(527)][e],n),this[t(579)](s[t(505)][e],i),r[t(505)][e]=this[t(653)](this[t(753)][t(675)](e),[]),r[t(527)][e]=this[t(653)](this[t(754)][t(675)](e)||kt(e,!1),[])):a[t(723)](e)}for(const s of a){const o=r[t(505)][s];for(const s of o){const r=this[t(513)](s),o=s[t(608)][t(574)](r);i[t(723)](o),o>=this[t(537)]&&n[t(686)](o,e[t(675)](o))}}for(const s of a){const a=r[t(505)][s],c=this[t(511)](r[t(527)][s]);let u=0;for(const s of a){const r=this[t(513)](s),a=s[t(608)][t(574)](r);if(!n[t(778)](a)&&!o[t(778)](a))if(i[t(778)](a))u++;else{if(a!=c[u]){const n=e[t(675)](a)||e[t(675)](c[u]);for(;a!=c[u];)i[t(778)](c[u])||(o[t(686)](c[u],n),e[t(686)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(505)][e];for(const e of s){const s=this[t(513)](e),r=e[t(608)][t(574)](s);if(o[t(778)](r)){const e=o[t(675)](r);i[t(778)](r)||i[t(686)](r,{...e}),n[t(686)](r,{...e})}}}for(const e of i[t(641)]())e>=this[t(537)]&&i[t(723)](e);const c=new Map;for(const e of a){let s=r[t(505)][e];for(const e of s)if(e[t(608)].is(t(544),t(493))){const i=this[t(513)](e),s=e[t(608)][t(574)](i);if(n[t(778)](s)){const i=e[t(608)][t(555)][t(555)][t(574)](t(559)),r=c[t(675)](i)||new Set;r[t(638)](n[t(675)](s)[t(787)]),c[t(686)](i,r)}}s=r[t(527)][e];for(const e of s)if(e[t(608)].is(t(544),t(493))){const n=this[t(513)](e),s=e[t(608)][t(574)](n);if(i[t(778)](s)){const n=e[t(608)][t(555)][t(555)][t(574)](t(559)),r=c[t(675)](n)||new Set;r[t(638)](i[t(675)](s)[t(787)]),c[t(686)](n,r)}}for(const e of c[t(641)]())(n[t(778)](e)||i[t(778)](e))&&c[t(723)](e)}for(const e of a){const s=r[t(505)][e];let o=null,a=null;for(const e of s){const s=this[t(513)](e),r=e[t(608)][t(574)](s),u=c[t(675)](r);u&&t(565)==e[t(584)]&&(o=Array[t(749)](u)[0],a=e[t(608)][t(574)](t(588))),o&&(i[t(686)](r,{userId:o}),n[t(686)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(527)][e],a=s[t(505)][e];for(const{userId:e}of this[t(741)][t(652)]())null!==e&&l[t(638)](e);for(const{userId:e}of this[t(659)][t(652)]())null!==e&&l[t(638)](e);this[t(734)](a,r[t(505)][e],n,t(562),l),this[t(734)](o,r[t(527)][e],i,t(720),l),u[e]={insertions:this[t(515)](a),deletions:this[t(515)](o),attachChange:this[t(659)][t(675)](e)||null,attributesBefore:A(this[t(517)][t(675)](e))||{},attributesAfter:A(this[t(581)][t(675)](e))}}return{diffData:u,authorsIds:Array[t(749)](l)}}[ft(680)](t){const e=ft;for(const[,i]of t[e(798)]){const t=i[e(751)][e(796)]()[e(721)](t=>e(493)==t[e(644)]);for(const i of t)1==i[e(715)]&&i[e(706)](0).is(e(544),e(651))&&i[e(706)](0)[e(657)](e(625),!0)}}[ft(515)](t){const e=ft;this[e(680)](t);const i=this[e(632)][e(703)][e(621)](t,{}),n=Array[e(749)](i[e(507)]())[e(596)](t=>this[e(789)](t));return JSON[e(755)](n)}[ft(789)](t){const e=ft;if(t.is(e(771)))return t[e(703)];{const i=this[e(632)][e(763)][e(675)](e(800)),n=t,s=this[e(632)][e(703)][e(624)][e(738)],r={type:i[e(567)](n),name:n[e(644)],attributes:Array[e(749)](n[e(573)]()),children:Array[e(749)](n[e(507)]())[e(596)](t=>this[e(789)](t))};if(t.is(e(803))&&e(536)!=t[e(644)]){const i=t[e(631)](s[e(736)],s);r[e(541)][e(759)](i[e(768)])}else if(t.is(e(576))){const i=s[e(736)][e(684)](n[e(644)]);t[e(631)](i,s),r[e(541)][e(759)](i[e(623)])}const o=Array[e(749)](n[e(660)]());o[e(742)]>0&&(r[e(702)]=o);const a=n[e(665)]();return null!==a&&(r[e(554)]=a),r}}[ft(734)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(632)][r(530)];for(let n=0;n<e[r(742)];n++){const s=this[r(513)](e[n]),c=e[n][r(608)][r(574)](s),h=i[r(675)](c),d=n==e[r(742)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(787)]!=o[r(787)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(787)],d=l(729)+n+":"+h+":"+c++,f=u[l(618)](i,a);t[l(798)][l(686)](d,f),null!==h&&s[l(638)](h)}}[ft(513)](t){const e=ft;switch(t[e(584)]){case e(565):return e(559);case e(719):return e(588);default:return e(543)}}[ft(534)](t,e){const i=ft;t[i(809)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(675)](s[i(739)][i(696)]);t[n]=this[i(609)](s,r)}if(s instanceof X.ModelRange){const r=e[i(675)](s[i(739)][i(696)]);t[n]=this[i(674)](s,r)}i(739)===n&&(t[i(739)]=e[i(675)](t[i(739)][i(696)]))}}[ft(674)](t,e){const i=ft;return this[i(632)][i(530)][i(618)](this[i(609)](t[i(751)],e),this[i(609)](t[i(777)],e))}[ft(609)](t,e){const i=ft;return this[i(632)][i(530)][i(690)](e,t[i(663)],t[i(670)])}[ft(610)](t){const e=ft,i=this[e(753)][e(675)](t[e(532)][e(739)][e(696)]),n=this[e(609)](t[e(532)],i),s=null===t[e(542)]?null:t[e(542)]||this[e(632)][e(763)][e(675)](e(650)).me.id,r=n[e(555)],o=this[e(804)],a=[];for(const i of t[e(669)])if(i.is(e(544)))a[e(759)](this[e(757)](i));else for(let t=0;t<i[e(612)];t++)a[e(759)](new X.ModelElement(e(771),{vid:this[e(804)]++}));const c=this[e(804)];for(let t=o;t<c;t++)this[e(602)][e(686)](t,{userId:s});r[e(791)](n[e(502)],a)}[ft(604)](t){const e=ft;(t=this[e(724)](t,this[e(753)]))[e(528)]();const i=null===t[e(542)]?null:t[e(542)]||this[e(632)][e(763)][e(675)](e(650)).me.id,n=t[e(704)](),s=n[e(555)],r=n[e(502)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(706)](e);r.is(a(544),a(771))?n[a(686)](r[a(574)](a(543)),{userId:i}):(n[a(686)](r[a(574)](a(559)),{userId:i}),t(n,r,0,r[a(715)]),n[a(686)](r[a(574)](a(588)),{userId:i}))}}(this[e(602)],s,r,r+t[e(498)])}[ft(748)](t){const e=ft,i=null===(t=this[e(724)](t,this[e(753)]))[e(542)]?null:t[e(542)]||this[e(632)][e(763)][e(675)](e(650)).me.id,n=t[e(629)][e(555)],s=t[e(780)][e(555)],r=n[e(574)](e(588)),o=s[e(574)](e(559));n[e(657)](e(588),s[e(574)](e(588))),s[e(657)](e(588),r),this[e(602)][e(686)](o,{userId:i}),this[e(602)][e(686)](r,{userId:i}),t[e(528)]()}[ft(635)](t){const e=ft,i=null===(t=this[e(724)](t,this[e(753)]))[e(542)]?null:t[e(542)]||this[e(632)][e(763)][e(675)](e(650)).me.id,n=t[e(600)],s=t[e(615)][e(555)];t[e(528)]();const r=s[e(574)](e(588)),o=t[e(564)][e(545)];if(n){const t=o[e(574)](e(588)),n=s[e(574)](e(588));s[e(657)](e(588),t),o[e(657)](e(588),n),this[e(602)][e(686)](s[e(574)](e(588)),{userId:i}),this[e(602)][e(686)](o[e(574)](e(559)),{userId:i})}else{const t=this[e(804)]++,n=this[e(804)]++;s[e(657)](e(588),t),o[e(657)](e(559),n),o[e(657)](e(588),r),this[e(602)][e(686)](t,{userId:i}),this[e(602)][e(686)](n,{userId:i})}}[ft(494)](t){const e=ft;if(!t[e(506)])return;const i=(t=this[e(724)](t,this[e(708)]))[e(717)]?t[e(717)][e(739)]:null,n=t[e(694)]?t[e(694)][e(739)]:null;i&&this[e(620)][e(723)](t[e(644)]),n&&this[e(620)][e(686)](t[e(644)],t[e(694)][e(501)]());const s=null===t[e(542)]?null:t[e(542)]||this[e(632)][e(763)][e(675)](e(650)).me.id,r=t[e(644)];if(!this[e(741)][e(778)](r))return void this[e(741)][e(686)](r,{range:t[e(717)],userId:s});const o=this[e(741)][e(675)](r),a=o[e(810)],c=t[e(694)];null==a&&null==c||a&&c&&a[e(508)](c)?this[e(741)][e(723)](t[e(644)]):o[e(787)]=s}[ft(569)](t,e){const i=ft;this[i(708)][i(778)](t[i(696)])?this[i(708)][i(675)](t[i(696)])[i(556)]=t[i(586)]:(this[i(708)][i(686)](t[i(696)],kt(t[i(696)],!0)),this[i(581)][i(686)](t[i(696)],{}),e&&this[i(753)][i(686)](t[i(696)],kt(t[i(696)],!0)));const n=null===t[i(542)]?null:t[i(542)]||this[i(632)][i(763)][i(675)](i(650)).me.id,s=this[i(659)][i(675)](t[i(696)]);s&&s[i(787)]===n?this[i(659)][i(723)](t[i(696)]):this[i(659)][i(686)](t[i(696)],{userId:n,isAttached:t[i(586)]})}[ft(678)](t){const e=ft,i=this[e(581)][e(675)](t[e(739)][e(696)]);null===t[e(503)]?delete i[t[e(805)]]:i[t[e(805)]]=t[e(503)]}}function yt(t){const e=ft,i=kt(t[e(696)],t[e(603)]());for(const n of t[e(507)]()){const t=n[e(563)](!0);i[e(645)](t)}return i}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(696)]=t,n[i(556)]=e,n[i(603)]=()=>n[i(556)],n}function bt(t,e,i){const n=ft,s=n(719)==t[n(584)]?i[n(772)](t[n(608)],n(777)):i[n(700)](t[n(608)]);return i[n(690)](e,s[n(663)],s[n(670)])}function wt(t,e,i){const n=ft,s=n(565)==t[n(584)]?i[n(772)](t[n(608)],0):i[n(535)](t[n(608)]);return i[n(690)](e,s[n(663)],s[n(670)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),Rt=i.n(Nt),At=i(667),Mt=i.n(At),Dt=i(357),Et=i.n(Dt),Vt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Vt.A,Ct);Vt.A&&Vt.A.locals&&Vt.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=Ut();return(Pt=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(753065===-parseInt(e(207))/1+-parseInt(e(216))/2*(-parseInt(e(213))/3)+-parseInt(e(203))/4*(parseInt(e(205))/5)+parseInt(e(226))/6*(parseInt(e(212))/7)+parseInt(e(204))/8+-parseInt(e(234))/9*(parseInt(e(232))/10)+-parseInt(e(201))/11*(-parseInt(e(208))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(227)];[Lt(210)];[Lt(237)];constructor(e,i){const n=Lt;super(e),this[n(227)]=new t.FocusTracker,this[n(210)]=new t.KeystrokeHandler,this[n(211)](n(235),""),this[n(237)]=this[n(206)](i),this[n(198)]({tag:n(231),attributes:{class:["ck",n(242),n(217)],tabindex:"-1"},children:[this[n(237)]]}),this[n(241)]()}[Lt(225)](){const t=Lt;super[t(225)](),(0,It.submitHandler)({view:this}),this[t(227)][t(222)](this[t(237)][t(224)]),this[t(210)][t(239)](this[t(224)]);const e=e=>e[t(215)]();this[t(210)][t(211)](t(197),e),this[t(210)][t(211)](t(236),e),this[t(210)][t(211)](t(230),e),this[t(210)][t(211)](t(233),e)}[Lt(202)](){const t=Lt;this[t(237)][t(202)]()}get[Lt(220)](){const t=Lt;return this[t(237)][t(240)][t(224)][t(221)][t(228)]()}set[Lt(220)](t){const e=Lt;this[e(237)][e(240)][e(224)][e(221)]=t[e(228)]()}[Lt(219)](){const t=Lt;this[t(237)][t(240)][t(224)][t(221)]="",this[t(237)][t(229)]=null}[Lt(206)](t){const e=Lt,i=new It.LabeledFieldView(this[e(199)],It.createLabeledInputText),n=i[e(240)];n[e(200)]({attributes:{maxlength:e(238)}});let s=at(this[e(199)],e(209));return!t&&(s+=" ("+at(this[e(199)],e(218))+")"),i[e(214)]=s,n.on(e(223),()=>{const t=e;this[t(235)]=n[t(224)][t(221)][t(228)]()}),i}}function Ut(){const t=["set","21VboOFw","3958755PdbWtu","label","stopPropagation","2zKLegb","ck-responsive-form","optional","reset","revisionName","value","add","input","element","render","181668TYGoub","focusTracker","trim","errorText","arrowup","form","73800uncUMu","arrowdown","90XYiBFR","revisionNameInputValue","arrowleft","revisionNameInputView","220","listenTo","fieldView","initializeCssTransitionDisablerMixin","ck-revision-history-save-revision-form","arrowright","setTemplate","locale","extendTemplate","29909wkPYWF","focus","5122468buUvbQ","6340328ZBCNNe","5MgagnH","_createRevisionNameInput","1414193meKhvM","5820JXUvQI","Name of the revision","keystrokes"];return(Ut=function(){return t})()}const Wt=Ht;function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=486]})(t,e)}function Zt(){const t=["componentFactory","editor","_showDialog","Save current revision","config","_registerMenuComponent","menu","Accept","add","pluginName","delegate","_createSaveRevisionFormView","60rZyBjH","88cSmuHX","focus","isReadOnly","init","RevisionTracker","2761700YfnIyl","144CYLuNH","saveRevision","Dialog","revisionSave","render","buttonView","The revision name cannot be empty.","panelView","show","isOfficialPlugin","view","isReady","revisionHistory.requireRevisionName","Open revision history","submit","RevisionHistoryUI","role","requires","get","revisionHistory","Cancel","4283622XTjswM","252707SDkjMU","set","18RljUSK","execute","addMany","showRevisionViewerCallback","children","revisionName","menuitem","hide","locale","bind","337282NdjsFi","plugins","items","4708792fDGcZA","editing","1515MJmtJB","reset","ck-button-action","_saveRevisionFormView","isPremiumPlugin","3794aKCblD","errorText","menuBar:revisionHistory","revisionNameInputView","Revision history","isOpen","21916wElPoL","isEnabled"];return(Zt=function(){return t})()}!function(t){const e=Ht,i=t();for(;;)try{if(921051===-parseInt(e(555))/1+-parseInt(e(494))/2*(parseInt(e(521))/3)+-parseInt(e(500))/4*(parseInt(e(489))/5)+parseInt(e(542))/6+-parseInt(e(543))/7*(parseInt(e(515))/8)+parseInt(e(545))/9*(parseInt(e(520))/10)+-parseInt(e(487))/11*(-parseInt(e(514))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class $t extends G.Plugin{static get[Wt(511)](){return Wt(536)}static get[Wt(530)](){return!0}static get[Wt(493)](){return!0}static get[Wt(538)](){return[vt]}[Wt(492)];[Wt(518)](){const t=Wt,e=this[t(503)],i=e[t(556)][t(539)](t(519));e.ui[t(502)][t(510)](t(540),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(528)][s(549)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(554)](s(501)).to(i,s(532),i,s(501),e,s(517),(t,e,i)=>t&&e&&!i),r[s(526)][s(544)]({icon:_t.IconHistory,label:at(n,s(498)),tooltip:!0}),u[s(544)]({label:at(n,s(505)),withText:!0,role:s(551)}),u[s(554)](s(501)).to(i,s(532),i,s(501),e,s(517),(t,e,i)=>t&&e&&!i),u.on(s(546),()=>this[s(504)]()),h[s(544)]({label:at(n,s(534)),withText:!0,role:s(551)}),h[s(554)](s(501)).to(i,s(532),e,s(517),(t,e)=>t&&!e),h.on(s(546),()=>{const t=s;e[t(506)][t(539)](t(540))[t(548)](),r[t(499)]=!1,e[t(488)][t(531)][t(516)]()}),c[s(549)][s(510)](u),l[s(549)][s(510)](h),a[s(537)]=s(508),a[s(486)][s(547)]([c,l]),o[s(510)](a),r}),e.ui[t(502)][t(510)](t(496),()=>this[t(507)]())}[Wt(507)](){const t=Wt,e=this[t(503)],i=e[t(553)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(526)][t(544)]({icon:_t.IconHistory,label:at(i,t(498))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(544)]({label:at(i,t(505))}),o[t(512)](t(546)).to(n),o.on(t(546),()=>{this[t(504)]()}),r[t(549)][t(510)](o),s[t(486)][t(510)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(544)]({label:at(i,t(534))}),c[t(512)](t(546)).to(n),c.on(t(546),()=>{const i=t;e[i(506)][i(539)](i(540))[i(548)]()}),a[t(549)][t(510)](c),s[t(486)][t(510)](a),n[t(528)][t(549)][t(510)](s),n}[Wt(504)](){const t=Wt,e=this[t(503)],i=e[t(553)],n=e[t(556)][t(539)](t(523)),s=e[t(556)][t(539)](t(519));function r(s){const r=t;e[r(506)][r(539)](r(533))&&""===s[r(550)]?s[r(497)][r(495)]=at(i,r(527)):(e[r(556)][r(539)](vt)[r(522)]({name:s[r(550)]}),n[r(552)]())}this[t(492)]||(this[t(513)](),this[t(492)].on(t(535),()=>r(this[t(492)]))),this[t(492)][t(490)](),n[t(529)]({id:t(524),title:at(i,t(505)),isModal:!0,content:this[t(492)],actionButtons:[{label:at(e[t(553)],t(541)),withText:!0,onExecute:()=>n[t(552)]()},{label:at(e[t(553)],t(509)),class:t(491),withText:!0,onCreate(i){const n=t;i[n(554)](n(501)).to(s,n(532),s,n(501),e,n(517),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(492)])}]})}[Wt(513)](){const t=Wt,e=this[t(503)],i=e[t(553)];this[t(492)]=new zt(i,e[t(506)][t(539)](t(533))),this[t(492)][t(525)]()}}const qt=Yt;function Bt(){const t=["Added by","10010HaLZXK","author","type","Removed by","ck-revision-change__","2343rWxnJf","focus","477368LpkJUX","10Xluwim","setTemplate","element","7292xcoRoh","name","changeId","ck-revision-change__label","set","2358402TJaSDj","1813758BySzGZ","14301zCYjwS","21833724Ytieyp","495256zEwQRW","Suggested by","data","bindTemplate","_model","span","add","isSuggestion","div","ck-annotation","ck-revision-change","112AIakdI"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=173]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(804335===parseInt(e(201))/1+-parseInt(e(178))/2+parseInt(e(199))/3*(parseInt(e(205))/4)+-parseInt(e(202))/5*(parseInt(e(177))/6)+parseInt(e(192))/7*(parseInt(e(181))/8)+-parseInt(e(179))/9*(-parseInt(e(194))/10)+-parseInt(e(180))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[qt(174)];[qt(185)];constructor(t,e){const i=qt;super(t),this[i(185)]=e,this[i(174)]=e.id;const n=this[i(184)],s=at(t,e[i(183)][i(188)]?i(182):i(187)==e[i(196)]?i(193):i(197));this[i(176)](i(196),e[i(196)]),this[i(203)]({tag:i(189),attributes:{class:[i(190),i(191),n.to(i(196),t=>i(198)+t)],tabindex:-1},children:[{tag:i(186),children:[{tag:i(186),attributes:{class:[i(175)]},children:[{text:s}]},{text:" "+e[i(195)][i(173)]}]}]})}[qt(200)](){const t=qt;this[t(204)][t(200)]()}}var Gt=Kt;function Kt(t,e){var i=Qt();return(Kt=function(t,e){return i[t-=174]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(317033===-parseInt(e(187))/1*(parseInt(e(184))/2)+parseInt(e(176))/3+-parseInt(e(181))/4+parseInt(e(182))/5+-parseInt(e(177))/6+parseInt(e(186))/7*(parseInt(e(178))/8)+-parseInt(e(188))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(180)];[Gt(189)];[Gt(175)];[Gt(185)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(180)]=e[i(180)],this[i(189)]=e[i(189)],this[i(175)]=e[i(175)]||{},this[i(185)]=e[i(185)],this[i(179)](i(174),e[i(174)])}[Gt(183)](){var t=Gt;return{id:this.id,authorId:this[t(180)].id,type:this[t(189)],data:this[t(175)],createdAt:this[t(174)]}}}function Qt(){var t=["data","1864503HLpQXh","3053382EsltzK","192xPKpSq","set","author","759376GdlIIQ","2265055LjKmal","toJSON","2pOWhtP","rootName","147322KVkbiC","144079nwWghy","3777867PCFvgE","type","createdAt"];return(Qt=function(){return t})()}function te(){const t=["66RBmZEE","354013hEWszt","30876EjDfFw","_setChanges","1011072HqrSPl","119EcnGZF","220cuzWWD","4010gsWTDX","97nDjedf","1165320BNyRaO","add","changes","newRevisionId","1618803cUepIR","oldRevisionId","111832tsEiHd"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=457]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(138339===-parseInt(e(457))/1*(-parseInt(e(472))/2)+-parseInt(e(465))/3*(-parseInt(e(467))/4)+parseInt(e(458))/5+-parseInt(e(469))/6+parseInt(e(470))/7*(parseInt(e(464))/8)+parseInt(e(462))/9+-parseInt(e(471))/10*(parseInt(e(466))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ee(461)];[ee(463)];[ee(460)];constructor(e,i){const n=ee;this[n(461)]=e,this[n(463)]=i,this[n(460)]=new t.Collection}[ee(468)](t){const e=ee;for(const i of t)this[e(460)][e(459)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=he;!function(t){const e=he,i=t();for(;;)try{if(560311===-parseInt(e(675))/1+-parseInt(e(708))/2*(parseInt(e(643))/3)+-parseInt(e(639))/4+parseInt(e(418))/5*(-parseInt(e(603))/6)+parseInt(e(505))/7*(-parseInt(e(664))/8)+-parseInt(e(530))/9+-parseInt(e(475))/10*(-parseInt(e(415))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ae extends G.Plugin{[oe(491)];[oe(428)]=null;[oe(618)];[oe(446)];[oe(472)];[oe(476)];[oe(640)];static get[oe(593)](){return oe(606)}static get[oe(632)](){return!0}static get[oe(573)](){return!0}static get[oe(549)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(491)]=this[e(462)][e(624)][e(457)](e(405)),this[e(618)]=this[e(462)][e(624)][e(457)](e(441)),this[e(650)](e(682),null),this[e(650)](e(554),null),this[e(446)]=null,this[e(650)](e(566),null),this[e(650)](e(411),!1),this[e(650)](e(489),!0),this.on(e(455),(t,i,n)=>{const s=e;this[s(682)]=null,this[s(554)]=null,this[s(462)][s(705)][s(525)][s(521)](t=>{const e=s;for(const i of this[e(462)][e(705)][e(525)][e(477)][e(470)])n?t[e(444)](e(686),i):t[e(546)](e(686),i)})}),this[e(658)](e(486)).to(this,e(682),t=>null!==t),this[e(658)](e(548)).to(this,e(411),this,e(566),this,e(682),(t,i,n)=>t&&n?i[e(652)][e(579)](n):0),this[e(658)](e(499)).to(this,e(411),this,e(566),(t,i)=>t?i[e(652)][e(688)]:0),this[e(472)]=null,this[e(476)]=new Map,this[e(640)]=this[e(462)][e(624)][e(457)](It.ContextualBalloon)}[oe(647)](){const t=oe,e=this[t(462)],i=new de(e,{direction:t(586)}),n=new de(e,{direction:t(502)});e[t(667)][t(567)](t(564),i),e[t(667)][t(567)](t(681),n),e[t(667)][t(567)](t(485),new le(e)),this.on(t(388),()=>{const e=t;i[e(536)](),n[e(536)]()}),this[t(399)](),this[t(529)](),e[t(590)](t(615)),e[t(624)][t(531)](t(691))&&e[t(624)][t(457)](t(691))[t(528)](t(615))}async[oe(492)](t){const e=oe;return await this[e(618)][e(633)](t,this[e(428)]),this[e(618)][e(492)](t)}async[oe(583)](t){const e=oe;return await this[e(618)][e(633)](t,this[e(428)]),this[e(618)][e(583)](t)}async[oe(464)](t,e,i=!1){const n=oe;if(!this[n(489)])return;const s=this[n(566)],r=this[n(491)],o=n(490)==typeof t?r[n(544)](t):t,a=n(490)==typeof e?r[n(544)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(566)]&&this[n(566)][n(627)]===c&&this[n(566)][n(612)]===u)return Promise[n(403)]();this[n(411)]=!1,this[n(554)]=null,this[n(682)]=null,this[n(566)]=new ne(c,u);const l=this[n(416)](o,a,!0)[n(622)](t=>this[n(618)][n(633)](t,this[n(428)]));return l[n(533)](new Promise(t=>{setTimeout(t,20)})),Promise[n(616)](l)[n(541)](()=>{const t=n;if(!this[t(489)])return;this[t(572)]();const e=this[t(527)](c,u);for(const i of e[t(652)])this[t(476)][t(650)](i.id,i);this[t(462)][t(565)][t(508)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(462)][n(565)][n(477)][n(483)]())i[n(494)](t);for(const t of Object[n(537)](e[n(565)])){const s=i[n(408)](t);for(const r of Object[n(537)](e[n(498)][t]))i[n(451)](r,e[n(498)][t][r],s);i[n(450)](e[n(565)][t],s,0)}}),this[t(566)][t(641)](this[t(551)](e[t(652)])),this[t(411)]=!0})[n(465)](t=>{const e=n;console[e(509)](t),this[e(572)](),s&&(this[e(566)]=s),this[e(411)]=!0})}[oe(430)](t,e){const i=oe,n=this[i(491)][i(651)](t);return n.on(i(660),(t,i,s)=>e(i,s,n)),this[i(491)][i(683)](n),n}[oe(572)](){const t=oe;this[t(682)]=null,this[t(387)](),this[t(472)]&&this[t(472)][t(516)](),this[t(472)]=null,this[t(476)][t(396)](),this[t(462)][t(565)][t(508)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(462)][i(565)][i(477)][i(483)]())e[i(494)](t)})}[oe(551)](t){const e=oe,i=[],n=new Map;for(const t of this[e(462)][e(565)][e(477)][e(483)]()){const s=this[e(462)][e(705)][e(525)][e(404)](t);if(!s)continue;const r=s[e(674)]()[e(497)](0);r&&(i[e(533)](t),n[e(650)](t,r))}return i[e(702)]((t,i)=>{const s=e,r=n[s(457)](t),o=n[s(457)](i);return r.y-o.y||r.x-o.x}),(t=t[e(439)](t=>i[e(440)](t[e(613)])))[e(702)]((t,n)=>i[e(703)](t[e(613)])-i[e(703)](n[e(613)])),t}[oe(599)](t){const e=oe,i=Array[e(617)](t[e(557)])[e(439)](([t,i])=>t[e(392)](e(436))&&!i[e(670)]),n=Array[e(617)](this[e(462)][e(565)][e(575)](t)[e(534)]({singleCharacters:!0}));if(0!=i[e(688)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(395)](":");if(s[e(454)][e(672)](t[e(637)])&&i[e(514)](),(t[e(421)][e(672)](s[e(453)])||t[e(421)][e(577)](s[e(453)]))&&(e(500)==r?t[e(696)]={userId:o}:e(671)==r&&(t[e(694)]={userId:o})),0==i[e(688)])break}return n}[oe(668)](t){const e=oe,i=new Map;for(let n=0;n<t[e(688)];n++)e(678)===t[n][e(698)]?(t[n][e(497)][e(445)]=n,t[n][e(497)][e(625)]=n):(e(585)===t[n][e(698)]?t[n][e(497)][e(445)]=n:e(701)===t[n][e(698)]&&(t[n][e(497)][e(625)]=n),i[e(650)](t[n].id,n));for(const n of i[e(629)]())e(585)===t[n][e(698)]?t[n][e(497)][e(625)]=i[e(457)](t[n][e(677)]):e(701)===t[n][e(698)]&&(t[n][e(497)][e(445)]=i[e(457)](t[n][e(677)]))}[oe(578)](t){const e=oe;for(let i=0;i<t[e(688)];i++){if(e(585)===t[i][e(698)])t[i][e(497)][e(445)]=i;else if(e(701)===t[i][e(698)]){t[i][e(497)][e(625)]=i;const n=t[i][e(497)][e(445)];t[n][e(677)]=t[i].id,t[i][e(677)]=t[n].id}else t[i][e(497)][e(445)]=i,t[i][e(497)][e(625)]=i,t[i][e(677)]=null;t[i][e(488)]||(t[i][e(488)]=[],t[i][e(673)]=[])}}[oe(695)](t,e){const i=oe,n=t[i(439)](t=>!t[i(696)]);for(let t=0;t<e[i(688)];t++)e[t][i(696)]&&(n[t][i(696)]=e[t][i(696)])}[oe(527)](t,e=null){const i=oe,n=this[i(491)][i(544)](t),s=e?this[i(491)][i(544)](e):null,r=this[i(416)](n,s),o=r[r[i(688)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(688)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(537)](e[i(638)]))if(e[i(638)][t][i(466)]){const n=e[i(638)][t][i(466)];n[i(597)]?(u[i(567)](t),l[i(531)](t)&&l[i(457)](t)[i(384)]==n[i(384)]?l[i(479)](t):l[i(650)](t,n)):l[i(531)](t)?(u[i(479)](t),l[i(479)](t)):(u[i(567)](t),l[i(650)](t,n))}else u[i(567)](t)}for(const t of u){const e=l[i(531)](t)&&!l[i(457)](t)[i(597)];let n=e?r[i(688)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(638)][t]){const n=e?o[i(638)][t][i(393)]:o[i(638)][t][i(478)];c[i(498)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(565)]={};for(const e of t[i(645)])a[i(650)](e.id,e);for(const e of u){const n=t[i(638)][e]?t[i(638)][e][i(707)]:"[]",s=t[i(638)][e]?t[i(638)][e][i(452)]:"[]";t[i(565)][e]={insertions:this[i(618)][i(699)](n),deletions:this[i(618)][i(699)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(617)](n[i(565)][t][i(707)][i(557)])[i(439)](([t])=>!t[i(392)](i(436))));let h=0;for(const o of r){const r=this[i(599)](o[i(565)][t][i(707)]);o==n?(e=r,s=e[i(688)],e[i(657)](t=>{t.id=h++}),this[i(578)](e)):this[i(695)](e,r);const a=e[i(439)](t=>!t[i(696)])[i(622)](t=>t.id);let c=0;const l=this[i(599)](o[i(565)][t][i(452)]);l[i(657)](t=>{t[i(694)]?t.id=s++:t.id=a[c++]}),this[i(578)](l),this[i(596)](e,i(696)),this[i(596)](l,i(694)),o==n&&this[i(680)](e,u),e=this[i(481)](e,l),this[i(668)](e),this[i(596)](e,i(694))}e=e[i(439)](t=>!(t[i(696)]&&t[i(694)]));const d=new Map(o[i(565)][t][i(452)][i(557)]),f=new Set(u[i(537)]());for(const t of d[i(537)]())f[i(479)](t);this[i(656)](e,f),this[i(447)](e),e=this[i(610)](e),e=this[i(458)](e),e=this[i(409)](e);const{root:m,changes:p}=this[i(689)](e,a,t);c[i(565)][t]=m;const v=l[i(457)](t);if(v){const e=a[i(457)](v[i(384)]),n=new Xt({author:e,type:v[i(597)]?i(567):i(538),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(697)](n),c[i(498)][t][i(459)]=n.id}c[i(652)]=c[i(652)][i(539)](p)}return c}[oe(680)](t,e){const i=oe;for(let n=0;n<t[i(688)];n++)for(const[s,r]of e)!r[i(670)]&&r[i(453)][i(672)](t[n][i(421)])&&t[n][i(488)][i(533)](s),r[i(454)][i(672)](t[n][i(637)])&&t[n][i(673)][i(533)](s)}[oe(481)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(688)]||r<e[i(688)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(533)](o);else if(a[i(694)]&&o[i(696)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(563)](t,s,e,r);n=n[i(539)](o),s=a,r=c}else a[i(694)]?(r++,n[i(533)](a)):(s++,n[i(533)](o))}return n}[oe(656)](t,e){const i=oe,n=[];for(let o=0;o<t[i(688)];o++){for(let r=0;r<t[o][i(488)][i(688)];r++){const a=t[o][i(488)][r];if(!e[i(531)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(413)!=c||i(500)!=u&&i(671)!=u||(n[i(697)]({type:u,name:a,userId:l}),t[o][i(488)][i(412)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(673)][i(688)];r++){const a=t[o][i(673)][r];if(!e[i(531)](a))continue;const{group:c,type:u}=s(a);if(i(413)!=c||i(500)!=u&&i(671)!=u)continue;t[o][i(673)][i(412)](r,1),r--;const l=n[i(427)](t=>t[i(601)]==a);l>-1&&n[i(412)](l,1)}}function s(t){const e=i,n=t[e(395)](":");return{group:n[0],type:n[1],subType:n[e(688)]>=5?n[2]:null,id:n[e(688)]<5?n[2]:n[3],authorId:n[e(688)]<5?n[3]:n[4],markerCount:6==n[e(688)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(688)];i++){if(t[e(696)]&&e(500)==n[i][e(698)]&&t[e(696)][e(384)]==n[i][e(384)])return t[e(687)]=n[i],void delete t[e(696)];if(!t[e(696)]&&!t[e(694)]&&e(671)==n[i][e(698)])return void(t[e(576)]=n[i])}}}[oe(596)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(650)](o.id,n);for(let n=0;n<t[i(688)];n++){if(i(694)==e&&t[n][i(696)]||i(696)==e&&t[n][i(694)])continue;if(i(678)==t[n][i(698)]){t[n][i(561)]=0;continue}const s=r[i(457)](t[n][i(677)]),o=r[i(457)](t[n].id);t[n][i(561)]=s-o}}[oe(416)](t,e,i=!1){const n=oe,s=[];let r=this[n(491)][n(579)](t),o=this[n(491)][n(579)](e);for(-1==o&&(o=this[n(491)][n(623)][n(688)],i=!1);r<o;)s[n(533)](this[n(491)][n(544)](r)),r++;return i&&s[n(533)](this[n(491)][n(544)](r)),s}[oe(563)](t,e,i,n){const s=oe,r=this[s(462)][s(565)][s(604)];let o=e;for(;t[o]&&t[o][s(696)];)o++;let a=n;for(;i[a]&&i[a][s(694)];)a++;u(t,e,o),u(i,n,a);const c=i[s(512)](n,a)[s(539)](t[s(512)](e,o));return c[s(702)]((t,e)=>t[s(589)]!=e[s(589)]?t[s(589)]-e[s(589)]:t[s(431)]!=e[s(431)]?t[s(431)]-e[s(431)]:t[s(561)]!=e[s(561)]?e[s(561)]-t[s(561)]:!!t[s(696)]!=!!e[s(696)]?-1==t[s(589)]||0==t[s(589)]?t[s(696)]?-1:1:t[s(696)]?1:-1:t[s(473)]-e[s(473)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(598)],c=!0;for(let s=e;s<i;s++)if(r[n(435)](t[s][n(497)])||(c=!1),t[s][n(497)][n(445)]<e&&(o=s),t[s][n(497)][n(625)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(589)]=s<=o?-1:s<a?0:1,t[s][n(473)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(561)]?t[i][n(431)]=u:(u++,t[i][n(431)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(589)]&&(t[s][n(431)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(561)]?t[e][n(431)]=u:(u--,t[e][n(431)]=u,u--)}}[oe(447)](t){const e=oe,i=new Map,n=this[e(462)][e(565)][e(604)];for(let s=1;s<t[e(688)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(678)==c[e(698)])continue;if(c[e(698)]!=u[e(698)])continue;if(!n[e(569)](u[e(497)])||n[e(495)](u[e(497)]))continue;if(!n[e(569)](c[e(497)])||n[e(495)](c[e(497)]))continue;if((t[s][e(696)]||t[s][e(687)])&&t[s-1][e(694)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(694)]||!t[s-1][e(696)]&&!t[s-1][e(687)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(431)]==o[e(431)],h=Math[e(461)](r[e(431)])<Math[e(461)](o[e(431)])&&0==o[e(561)];(l||h)&&(i[e(650)](o.id,r.id),t[e(412)](a,1),s--,r[e(696)]=!1)}for(let n=0;n<t[e(688)];n++)i[e(531)](t[n][e(677)])&&(t[n][e(677)]=i[e(457)](t[n][e(677)]))}[oe(610)](t){const e=oe,i=new Set(t[e(622)](t=>t.id));for(let n=0;n<t[e(688)];n++)i[e(531)](t[n][e(677)])||0==t[n][e(561)]||(t[n][e(648)]=!0);return t[e(439)](t=>!t[e(648)])}[oe(458)](t){const e=oe,i=new Set;for(let n=0;n<t[e(688)];n++){if(i[e(531)](t[n].id)&&t[n][e(694)]&&(t[n][e(648)]=!0),t[n][e(648)])continue;if(0==t[n][e(561)])continue;if(e(585)!=t[n][e(698)])continue;if(null==t[n][e(677)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(677)];)e(585)==t[s][e(698)]?r++:e(701)==t[s][e(698)]&&r--,s++;if(0!=r)if(t[n][e(694)])t[n][e(648)]=!0;else for(;s!=n;)t[s][e(694)]&&0!=t[s][e(561)]&&(t[s][e(648)]=!0,i[e(567)](t[s][e(677)])),s--}return t[e(439)](t=>!t[e(648)])}[oe(409)](t){const e=oe,i=this[e(462)][e(565)][e(604)];for(let n=0;n<t[e(688)];n++){if(!(t[n][e(696)]||t[n][e(687)]||t[n][e(694)]||t[n][e(576)]))continue;if(0==t[n][e(561)])continue;const s=t[n][e(497)];i[e(569)](s)||i[e(495)](s)||(t[n][e(696)]&&delete t[n][e(696)],t[n][e(687)]&&delete t[n][e(687)],t[n][e(576)]&&delete t[n][e(576)],t[n][e(694)]&&(t[n][e(648)]=!0))}return t[e(439)](t=>!t[e(648)])}[oe(689)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(462)][n(565)],c=a[n(604)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(688)];e++)if(n(585)===t[e][n(698)]){t[e][n(421)]=a[n(547)](s,f);const i=new X.ModelElement(t[e][n(497)][n(601)],t[e][n(497)][n(595)]());u[0][n(684)](i),f[n(533)](0),u[n(697)](i),t[e][n(637)]=a[n(547)](s,f)}else n(701)===t[e][n(698)]?(u[n(514)](),t[e][n(421)]=a[n(547)](s,f),f[n(692)](),f[f[n(688)]-1]++,t[e][n(637)]=a[n(547)](s,f)):(t[e][n(421)]=a[n(547)](s,f),d?d[n(602)]+=t[e][n(497)][n(558)]:d=new X.ModelText(t[e][n(497)][n(558)],t[e][n(497)][n(595)]()),t[e+1]&&n(678)===t[e+1][n(698)]&&v(d,t[e+1][n(497)])||(u[0][n(684)](d),d=null),f[f[n(688)]-1]+=t[e][n(497)][n(662)],t[e][n(637)]=a[n(547)](s,f));for(let e=0;e<t[n(688)];e++){const i=t[e][n(421)],s=t[e][n(637)];for(const s of t[e][n(488)])o[n(650)](s,{start:i,end:null});m(n(576),e,i,s),m(n(687),e,i,s),m(n(694),e,i,s),m(n(696),e,i,s);for(const i of t[e][n(673)]){const t=o[n(457)](i);t?t[n(454)]=s:o[n(650)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(462)][n(565)][n(419)](e[n(453)],e[n(454)]);s[n(557)][n(650)](t,i)}return r[n(702)]((t,e)=>{const i=n,r=s[i(557)][i(457)](i(436)+t.id),o=s[i(557)][i(457)](i(436)+e.id);return r[i(453)][i(474)](o[i(453)])?-1:r[i(453)][i(577)](o[i(453)])?1:r[i(454)][i(474)](o[i(454)])?-1:r[i(454)][i(577)](o[i(454)])?1:i(567)===t[i(698)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(384)]:null,d=i===t[o(688)]-1,f=h[e][0],m=c[o(391)](t[i][o(497)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(454)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(384)]!==u&&(l[e][o(454)]=s,f&&f[o(384)]===l[e][o(384)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(585)!==t[i][o(698)]||f&&f[o(384)]===u||h[e][o(697)]({userId:u,object:t[i][o(497)],change:l[e]}),o(701)===t[i][o(698)]&&f&&f[o(591)]===t[i][o(497)]&&(h[e][o(514)](),l[e]=f[o(521)])),l[e]&&d&&(l[e][o(454)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(497)],f=a[h(604)][h(569)](d)&&!a[h(604)][h(495)](d),m=t[h(710)]==o[h(709)]&&o[h(663)];if(f&&m)return;const p=a[h(419)](t,o),v=e[h(457)](u),g=new Xt({author:v,type:h(696)==l||h(687)==l?h(567):h(538),data:{isSuggestion:h(687)==l||h(576)==l},createdAt:new Date,rootName:i});r[h(533)](g),s[h(557)][h(650)](h(436)+g.id,p)}function v(t,e){const i=n,s=t[i(595)](),r=e[i(595)]();for(const t of s){if(t[1]!==e[i(520)](t[0]))return!1;r[i(510)]()}return r[i(510)]()[i(690)]}}[oe(399)](){const t=oe;this[t(462)][t(429)][t(592)](t(398))[t(407)]({view:t(410)}),this[t(462)][t(429)][t(592)](t(607))[t(524)]({model:t(410),view:e=>{const i=t,n=e[i(496)][i(395)](":")[1],s=this[i(693)](n);if(!s)return null;const r=i(567)==s[i(698)]?i(500):i(671),o=[i(614),i(424)+r];return s[i(558)][i(417)]&&o[i(533)](i(424)+r+i(522)),this[i(682)]==s&&o[i(533)](i(400)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(462)][t(429)][t(592)](t(398))[t(567)](e=>{const i=t;e.on(i(704),(t,e,n)=>{const s=i,r=e[s(649)][s(676)](0);if(!r||!r.is(s(608),s(487)))return;if(!n[s(642)][s(659)](r,{attributes:[s(386),s(422)]}))return;const o=e[s(626)][s(453)][s(710)];n[s(420)][s(451)](s(386),r[s(520)](s(386)),o),n[s(420)][s(451)](s(422),r[s(520)](s(422)),o)},{priority:i(468)})}),this[t(462)][t(429)][t(592)](t(398))[t(567)](e=>{const i=t;e.on(i(608),(t,e,n)=>{const s=i;if(!n[s(642)][s(659)](e[s(649)],{attributes:[s(386),s(422)]}))return;if(e[s(626)][s(670)])return;const r=e[s(626)][s(453)][s(710)];r[s(456)](s(386))||r[s(456)](s(480))||(n[s(420)][s(451)](s(386),e[s(649)][s(520)](s(386)),r),n[s(420)][s(451)](s(422),e[s(649)][s(520)](s(422)),r))},{priority:i(468)})}),this[t(462)][t(429)][t(592)](t(398))[t(401)]({view:{name:t(463),attributes:{vid:!0}},model:{key:t(480),value:e=>e[t(520)](t(480))}}),this[t(462)][t(565)][t(604)].on(t(560),(e,[,i])=>{const n=t;[n(386),n(422),n(480)][n(440)](i)&&(e[n(526)]=!0,e[n(609)]())},{priority:t(620)}),this[t(462)][t(429)][t(592)](t(630))[t(567)](e=>{const i=t;e.on(i(437),(t,e,n)=>{const s=i;if(" "!=e[s(497)][s(558)]||e[s(497)][s(709)][s(555)]>1)return;if(!n[s(642)][s(659)](e[s(497)],t[s(601)]))return;const r=n[s(420)],o=n[s(562)][s(556)](e[s(532)]);r[s(390)](o,r[s(517)](s(463)))})}),this[t(462)][t(429)][t(592)](t(630))[t(438)]({model:t(410)}),this[t(462)][t(705)][t(665)].on(t(523),function(e){const i=t,n=e[i(624)][i(457)](i(606));return(t,s,r)=>{const o=i,a=s[o(496)][o(395)](":")[1],c=n[o(693)](a);if(!c)return null;const u=o(567)==c[o(698)]?o(395):o(503);if(!r[o(642)][o(568)](s[o(542)],t[o(601)]))return;const l=s[o(542)][o(534)](),h=s[o(542)][o(453)],d=e[o(565)][o(604)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(497)];p=p||d[o(588)](e);const i=r[o(562)][o(587)](e);if(i&&i[o(460)](o(654)))return;o(701)==t[o(698)]&&d[o(569)](e)&&!d[o(495)](e)&&(e[o(449)]||h[o(571)]?f&&f[o(709)]==e||(f=e,g(t[o(421)]),v=!0):m=m||t[o(421)])}function g(t){const e=o,i=r[e(420)][e(540)](e(463),{class:e(424)+u}),a=r[e(562)][e(545)](t);c[e(558)][e(417)]&&r[e(420)][e(546)](e(424)+u+e(522),i),n[e(682)]==c&&r[e(420)][e(546)](e(400),i),r[e(420)][e(450)](a,i),r[e(562)][e(685)](i,s[e(496)])}p||v||!m||g(m)}}(this[t(462)]),{priority:t(513)}),this[t(462)][t(705)][t(665)].on(t(442),(e,i,n)=>{const s=t,r=n[s(562)][s(397)](i[s(496)]);if(r)for(const t of r)(t[s(611)](s(471))||t[s(611)](s(600)))&&(n[s(562)][s(631)](t,i[s(496)]),n[s(420)][s(538)](t))},{priority:t(513)}),this[t(462)][t(705)][t(665)].on(t(523),(e,i,n)=>{const s=t,r=i[s(496)][s(395)](":")[1],o=this[s(693)](r);if(!o)return null;const a=s(567)==o[s(698)]?s(395):s(503);if(n[s(642)][s(568)](i[s(542)],e[s(601)]))for(const t of i[s(542)][s(582)]()){if(!t.is(s(608),s(594)))continue;const e=n[s(420)][s(540)](s(463),{class:s(424)+a}),r=n[s(562)][s(545)](this[s(462)][s(565)][s(653)](t));o[s(558)][s(417)]&&n[s(420)][s(546)](s(424)+a+s(522),e),this[s(682)]==o&&n[s(420)][s(546)](s(400),e),n[s(420)][s(450)](r,e),n[s(562)][s(685)](e,i[s(496)])}},{priority:t(513)}),this[t(462)][t(565)][t(477)].on(t(521),()=>{const e=t;this[e(462)][e(705)][e(525)][e(521)](t=>{const i=e;for(const e of this[i(462)][i(565)][i(477)][i(483)]()){const n=this[i(462)][i(565)][i(477)][i(559)](e),s=this[i(462)][i(705)][i(525)][i(477)][i(559)](e);if(s){const e=n[i(520)](i(459));if(t[i(646)](i(574),s),t[i(444)](i(518),s),t[i(444)](i(434),s),t[i(444)](i(535),s),e){const n=this[i(693)](e);if(!n)return null;t[i(451)](i(574),e,s),t[i(546)](i(394)+n[i(698)],s),this[i(682)]==n&&t[i(546)](i(535),s)}}}})}),this[t(462)][t(429)][t(592)](t(398))[t(407)]({view:t(628),model:e=>t(700)+e,converterPriority:t(620)}),this[t(462)][t(429)][t(592)](t(398))[t(407)]({view:t(655),model:e=>t(636)+e,converterPriority:t(620)}),this[t(462)][t(429)][t(592)](t(630))[t(438)]({model:t(413),view:e=>({name:t(661)+e,group:t(413)}),converterPriority:t(620)}),this[t(462)][t(429)][t(592)](t(607))[t(524)]({model:t(413),view:e=>{const i=t,n=e[i(496)][i(395)](":")[1];return i(500)!=n&&i(671)!=n?null:{classes:[i(501),i(423)+n]}}}),this[t(462)][t(705)][t(665)].on(t(448),ce(this[t(462)],t(503)),{priority:t(513)}),this[t(462)][t(705)][t(665)].on(t(484),ce(this[t(462)],t(395)),{priority:t(513)}),this[t(462)][t(705)][t(665)].on(t(506),(e,i,n)=>{const s=t,r=n[s(562)][s(397)](i[s(496)]);if(r)for(const t of r)t.is(s(519))&&(n[s(562)][s(631)](t,i[s(496)]),n[s(420)][s(538)](t))},{priority:t(513)})}[oe(693)](t){const e=oe;return this[e(476)][e(457)](t)}[oe(666)](t){const e=oe;return this[e(472)]&&this[e(472)][e(516)](),this[e(472)]=new Jt(this[e(462)][e(581)],t),this[e(472)]}[oe(529)](){const t=oe;this[t(462)][t(565)][t(477)][t(425)][t(443)](t(410)),this.on(t(580),(e,i,n,s)=>{const r=t;s&&this[r(640)][r(538)](s),n&&(this[r(640)][r(567)]({view:n,stackId:r(469),position:{target:()=>{const t=r,e=this[t(462)][t(705)],i=this[t(693)](n[t(511)]);let s;if(i[t(558)][t(669)]){const n=e[t(525)][t(404)](i[t(613)]);s=Array[t(617)](n[t(674)]())}else{const i=this[t(462)][t(565)][t(557)][t(457)](t(436)+n[t(511)]);s=Array[t(617)](e[t(562)][t(397)](i[t(601)]))[t(622)](i=>e[t(525)][t(402)][t(679)](i))[t(622)](e=>Array[t(617)](e[t(674)]()))[t(493)]()}return this[t(446)]&&s[t(621)](e=>e[t(389)]-3<=this[t(446)].y&&e[t(482)]+3>=this[t(446)].y&&e[t(515)]-3<=this[t(446)].x&&e[t(550)]+3>=this[t(446)].x)||s[0]}}}),this[r(640)][r(644)](r(469)))}),this.on(t(385),(e,i,n,s)=>{const r=t;this[r(554)]=n?this[r(666)](n):null,this[r(462)][r(565)][r(521)](()=>{const t=r,e=this[t(462)][t(705)];s&&(s[t(558)][t(669)]?e[t(525)][t(521)](i=>{const n=t;i[n(444)](n(535),e[n(525)][n(477)][n(559)](s[n(613)]))}):e[t(570)](t(436)+s.id)),n&&(n[t(558)][t(669)]?e[t(525)][t(521)](i=>{const s=t;i[s(546)](s(535),e[s(525)][s(477)][s(559)](n[s(613)]))}):e[t(570)](t(436)+n.id))})}),this[t(552)](this[t(462)][t(705)][t(525)][t(477)],t(406),(e,i)=>{const n=t;if(this[n(682)])return;const s=this[n(414)](i[n(635)]),r=this[n(476)][n(457)](s);r?(this[n(446)]={x:i[n(553)].x,y:i[n(553)].y},this[n(554)]=this[n(666)](r)):(this[n(446)]=null,this[n(554)]=null)}),this[t(552)](this[t(462)][t(705)][t(525)][t(477)],t(605),(e,i)=>{const n=t,s=this[n(414)](i[n(635)]),r=this[n(476)][n(457)](s);r?(this[n(446)]={x:i[n(553)].x,y:i[n(553)].y},r===this[n(682)]?this[n(640)][n(507)]():this[n(682)]=r):(this[n(446)]=null,this[n(682)]=null)})}[oe(414)](t){const e=oe;do{const i=t[e(520)](e(574));if(i)return i;t=t[e(709)]}while(t);return null}[oe(387)](){const t=oe;this[t(462)][t(565)][t(521)](e=>{const i=t;for(const t of this[i(462)][i(565)][i(557)])e[i(432)](t)})}}function ce(t,e){return(i,n,s)=>{const r=he;if(!s[r(642)][r(568)](n[r(542)],i[r(601)]))return;const o=n[r(542)][r(534)](),a=n[r(542)][r(453)],c=t[r(565)][r(604)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(497)];h=h||c[r(588)](e);const i=s[r(562)][r(587)](e);if(i&&i[r(460)](r(654)))return;r(701)==t[r(698)]&&c[r(569)](e)&&!c[r(495)](e)&&(e[r(449)]||a[r(571)]?u&&u[r(709)]==e||(u=e,f(t[r(421)]),d=!0):l=l||t[r(421)])}function f(t){const i=r,o=s[i(562)][i(545)](t),a=s[i(420)][i(540)](i(463),{class:i(423)+e});s[i(420)][i(450)](o,a),s[i(562)][i(685)](a,n[i(496)])}h||d||!l||f(l)}}function ue(){const t=["_findChangeIdFromDomTarget","58750175UiTnzy","_getRevisionsRange","isSuggestion","787955tjccHN","createRange","writer","previousPosition","vid_end","ck-suggestion-preview-marker-","ck-suggestion-marker-","selection","_step","findIndex","adapter","conversion","addRevisionData","level","removeMarker","affectsData","ck-revision-history-root-remove","isInline","revision:","attribute:vid","markerToData","filter","includes","RevisionHistoryUtils","removeMarker:revision","observeMarkers","removeClass","startIndex","_activeViewTarget","_fixObsoleteTags","addMarker:revision-suggestion:deletion","nextSibling","insert","setAttribute","deletions","start","end","change:isEnabled","hasAttribute","get","_markMismatchedRemovedTags","revisionHistoryAttachChange","getCustomProperty","abs","editor","span","compare","catch","attachChange","first","low","revisionHistoryLabel","roots","ck-suggestion-marker-split","_changeView","index","isBefore","10KDjGct","_changeIdToChange","document","attributesAfter","delete","vid","_joinTapes","bottom","getRootNames","addMarker:revision-suggestion:insertion","restoreRevision","isNavigationMode","code","markersStart","isEnabled","string","repository","getRevisionDocumentData","flat","detachRoot","isLimit","markerName","item","attributes","numberOfChanges","insertion","ck-suggestion-preview-marker","forward","merge","restoreRevisionCallback","55398ESTFBj","removeMarker:revision-suggestion","updatePosition","enqueueChange","error","next","changeId","slice","high","shift","left","destroy","createAttributeElement","ck-revision-history-root-add","uiElement","getAttribute","change","-new","addMarker:revision","markerToHighlight","view","return","_getDiff","forceDisabled","_initInteractions","7849233yYpZRU","has","range","push","getWalker","ck-revision-history-root--active","refresh","keys","remove","concat","createUIElement","then","markerRange","getLaterVisibleRevision","getRevision","toViewPosition","addClass","createPositionFromPath","currentChangeNumber","requires","right","_sortAndFilterDiffChanges","listenTo","domEvent","activeView","maxOffset","toViewRange","markers","data","getRoot","checkAttribute","distance","mapper","_threeWayMerge","showPreviousChange","model","diff","add","test","isBlock","reconvertMarker","isAtEnd","_cleanUp","isPremiumPlugin","data-change-id","createRangeIn","isRemoveSuggestion","isAfter","_processTape","getIndex","change:activeView","locale","getItems","getRevisionRootsAttributes","revisionHistory","elementStart","backward","toViewElement","isContent","side","enableReadOnlyMode","object","for","pluginName","softBreak","getAttributes","_setDistance","isAttached","POSITIVE_INFINITY","_makeTape","ck-suggestion-marker-merge","name","_data","36xOJzrn","schema","mousedown","RevisionViewer","editingDowncast","element","stop","_removeMissingPairs","hasClass","oldRevisionId","rootName","ck-suggestion-marker","revision-viewer","all","from","_utils","change:isReady","highest","find","map","_revisions","plugins","endIndex","modelRange","newRevisionId","comment","values","dataDowncast","unbindElementFromMarkerName","isOfficialPlugin","loadRevisionData","config","target","revision-suggestion:","nextPosition","diffData","1375148eddNHb","_balloon","_setChanges","consumable","381TWynlR","showStack","authors","removeAttribute","init","isIncorrect","viewItem","set","createRevision","changes","createPositionBefore","addHighlight","suggestion","_markSuggestions","forEach","bind","consume","_update","suggestion:","offsetSize","isAtStart","584KChlns","downcastDispatcher","_getViewForChange","commands","_refreshStartEndIndex","isOnRoot","isCollapsed","deletion","isEqual","markersEnd","getClientRects","921536xBTXSZ","getChild","pairId","text","mapViewToDom","_markMarkers","showNextChange","activeChange","addRevision","_appendChild","bindElementToMarker","ck-editor__editable__overlay","isAddSuggestion","length","_makeModelFromTape","done","WidgetToolbarRepository","pop","_getChangeFromId","isRemoved","_markInsertions","isAdded","unshift","type","_makeModelFromViewString","revision-comment:","elementEnd","sort","indexOf","element:pre","editing","execute","insertions","17636VmFNgZ","parent","nodeAfter","userId","change:activeChange","vid_start","_cleanMarkers","change:numberOfChanges","top","wrap","isObject","startsWith","attributesBefore","ck-revision-history-root-","split","clear","markerNameToElements","upcast","_setConversion","ck-suggestion-marker--active","elementToAttribute","domConverter","resolve","getDomRoot","RevisionsRepository","mouseover","dataToMarker","addRoot","_removeUnsupportedChanges","revision","isReady","splice","revision-suggestion"];return(ue=function(){return t})()}class le extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(624)][e(457)](ae);this[e(433)]=!1,this[e(552)](i,e(619),()=>this[e(536)]()),this[e(552)](i,e(455),()=>this[e(536)]())}[oe(706)](){const t=oe,e=this[t(462)],i=e[t(624)][t(457)](ae),n=i[t(411)]?i[t(566)][t(627)]:null;e[t(634)][t(457)](t(584))[t(504)](n)}[oe(536)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(462)][t(624)][t(457)](ae),r=s&&n[t(543)](s[t(627)]);this[t(489)]=e&&i&&Boolean(r)}}function he(t,e){const i=ue();return(he=function(t,e){return i[t-=384]})(t,e)}class de extends G.Command{[oe(426)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(624)][i(457)](ae);this[i(433)]=!1,this[i(426)]=i(502)===e?1:-1,this[i(552)](n,i(619),()=>this[i(536)]()),this[i(552)](n,i(455),()=>this[i(536)]()),this[i(552)](n,i(385),()=>this[i(536)]())}[oe(706)](){const e=oe,i=this[e(462)],n=i[e(624)][e(457)](ae),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(682)]=s?n[e(566)][e(652)][e(457)](r+this[e(426)]):n[e(566)][e(652)][e(467)],n[e(682)][e(558)][e(669)])o=i[e(705)][e(525)][e(404)](n[e(682)][e(613)]);else{const t=i[e(565)][e(557)][e(457)](e(436)+n[e(682)].id);o=(0,K.getMarkerDomElement)(i[e(705)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(536)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(462)][t(624)][t(457)](ae);this[t(489)]=!!(r&&s&&n)&&(!e||(1===this[t(426)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["fire","bindTemplate","NUMBER_OF_CHANGES","isEnabled","ck-hidden","4556550CQFQLq","18OSxPHU","Total","7161517TXfbkj","Show previous change","24Vwhyuh","div","No changes","ck-revision-history-ui__changes-navigation__navigation","13646FrqNvC","1510608aeAjZd","backward","ck-revision-history-ui__changes-navigation__wrapper","forward","68CPaquA","X_OF_Y_CHANGES","EDIT_X_OF_Y_REVISIONS","_statusText","span","35XicQtG","setTemplate","1418772cJrOEj","execute","4vgUSCD","Loading...","isForwardNavigationEnabled","isReady","set","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__label","5092195UxoPmd","isNavigationMode","bind","516616oRTgTU","numberOfChanges","isBackwardNavigationEnabled","Show next change","currentChangeNumber","_isStatusLabelVisible","ck-revision-history-ui"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=291]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(629272===-parseInt(e(314))/1*(parseInt(e(309))/2)+parseInt(e(321))/3+parseInt(e(323))/4*(-parseInt(e(330))/5)+-parseInt(e(310))/6+parseInt(e(319))/7*(-parseInt(e(333))/8)+parseInt(e(301))/9*(parseInt(e(300))/10)+-parseInt(e(303))/11*(-parseInt(e(305))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(296)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(327)](e(331),!1),this[e(327)](e(326),!1),this[e(327)](e(292),0),this[e(327)](e(334),0),this[e(327)](e(325),!1),this[e(327)](e(335),!1),this[e(332)](e(293)).to(this,e(326),this,e(334),(t,e)=>t&&e>0),this[e(332)](e(317)).to(this,e(326),this,e(292),this,e(334),this,e(331),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(324));if(!s)return at(t,o(307));const a=at(t,o(297),s);return r?at(t,o(315),[n+1,s]):a}),n[e(327)]({label:at(t,e(304)),tooltip:!0,icon:_t.IconChevronUp}),s[e(327)]({label:at(t,e(291)),tooltip:!0,icon:_t.IconChevronDown}),n[e(332)](e(298)).to(this,e(335)),s[e(332)](e(298)).to(this,e(325)),n.on(e(322),()=>this[e(295)](e(322),e(311))),s.on(e(322),()=>this[e(295)](e(322),e(313))),this[e(320)]({tag:e(306),attributes:{class:["ck",e(294),e(328)]},children:[{tag:e(318),attributes:{class:[e(312)]},children:[{tag:e(318),attributes:{class:[e(329),i.if(e(293),e(299),t=>!t)]},children:[{text:i.to(e(331),i=>i?at(t,e(316))+": ":at(t,e(302))+": ")}]},{text:i.to(e(317))}]},new It.ToolbarSeparatorView,{tag:e(306),attributes:{class:[e(308)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;function we(){const t=["329532RykSDb","5237760hYwgaT","hide","change","roots","isOfficialPlugin","pluginName","922580DkOmjB","editing","RevisionViewerLoadingOverlay","63619dYrOFz","ck-editor__editable__loading-overlay","387063uBKpOk","2527091yYCFzW","view","editor","40kRmoDo","document","isPremiumPlugin","2649365JLFPJY","removeClass","addClass","256UTrYhK","show"];return(we=function(){return t})()}function _e(t,e){const i=we();return(_e=function(t,e){return i[t-=438]})(t,e)}!function(t){const e=_e,i=t();for(;;)try{if(721057===parseInt(e(450))/1*(parseInt(e(456))/2)+-parseInt(e(440))/3+parseInt(e(447))/4+-parseInt(e(459))/5+parseInt(e(441))/6+parseInt(e(453))/7+parseInt(e(438))/8*(-parseInt(e(452))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const Ie=be(451);class Se extends G.Plugin{static get[be(446)](){return be(449)}static get[be(445)](){return!0}static get[be(458)](){return!0}[be(439)](){const t=be,e=this[t(455)][t(448)][t(454)];e[t(443)](i=>{const n=t;for(const t of e[n(457)][n(444)])i[n(461)](Ie,t)})}[be(442)](){const t=be,e=this[t(455)][t(448)][t(454)];e[t(443)](i=>{const n=t;for(const t of e[n(457)][n(444)])i[n(460)](Ie,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=489]})(t,e)}function xe(){const t=["2120UnoMHX","showNextChange","973GcTUiQ","listenTo","set","3206439XDIKcq","currentChangeNumber","commands","changesNavigation","RevisionViewerUI","numberOfChanges","643072kxskyR","bind","execute","pluginName","init","isForwardNavigationEnabled","componentFactory","isReady","showPreviousChange","revisionHistory","change:isReady","Restore this revision","closeRevisionViewerCallback","config","plugins","get","Back to editing","exitToEditing","restoreRevision","10700fTjFUp","isOfficialPlugin","isBackwardNavigationEnabled","forward","editor","show","220573QMPLRm","ck-revision-history-ui__back-to-editing","isNavigationMode","isPremiumPlugin","395028TnuvXJ","hide","add","1036180eSuiJY","249CcTdXY","isEnabled","requires"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(171624===parseInt(e(510))/1+parseInt(e(532))/2+parseInt(e(518))/3*(parseInt(e(504))/4)+-parseInt(e(517))/5+-parseInt(e(514))/6+parseInt(e(523))/7*(parseInt(e(521))/8)+-parseInt(e(526))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(535)](){return Oe(530)}static get[Oe(505)](){return!0}static get[Oe(513)](){return!0}static get[Oe(520)](){return[ae,Se]}[Oe(489)](){const t=Oe,e=this[t(508)],i=e[t(499)][t(500)](ae),n=e[t(499)][t(500)](Se);e.ui[t(491)][t(516)](t(502),i=>{const n=t,s=new It.ButtonView(i);return s[n(525)]({label:at(i,n(501)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(511)}),this[n(524)](s,n(534),()=>{const t=n;e[t(498)][t(500)](t(494))[t(497)]()}),s}),e.ui[t(491)][t(516)](t(503),i=>{const n=t,s=new It.ButtonView(i);return s[n(525)]({label:at(i,n(496)),withText:!0,tooltip:!0}),s[n(533)](n(519)).to(e[n(528)][n(500)](n(503))),this[n(524)](s,n(534),()=>e[n(534)](n(503))),s}),e.ui[t(491)][t(516)](t(529),n=>{const s=t,r=new ge(n),o=e[s(528)][s(500)](s(493)),a=e[s(528)][s(500)](s(522));return r[s(533)](s(506)).to(o,s(519)),r[s(533)](s(490)).to(a,s(519)),r[s(533)](s(492),s(527),s(531),s(512)).to(i),this[s(524)](r,s(534),(t,i)=>{const n=s;e[n(534)](n(507)===i?n(522):n(493))}),r}),n[t(509)](),i.on(t(495),(e,i,s)=>{const r=t;s?n[r(515)]():n[r(509)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Et();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ee;function De(){const t=["70cBdlUo","scrollWidth","fieldView","121295AxELxH","ck-revision-history-sidebar__revision-name","input","listenTo","ck-tooltip_multi-line","385650UBtAOI","9582072ANcQeN","span","set","_tooltipString","214689gTjKEN","bindTemplate","clientWidth","Revision name","333ITxhog","render","6230144lnGmWO","740pdSiQP","2ACzVZN","destroy","value","extendTemplate","_updateTooltipText","placeholder","_resizeObserver","Enter the revision name","558264pkDrSU","element"];return(De=function(){return t})()}function Ee(t,e){const i=De();return(Ee=function(t,e){return i[t-=268]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(866906===parseInt(e(273))/1+-parseInt(e(291))/2*(parseInt(e(283))/3)+-parseInt(e(289))/4+parseInt(e(278))/5+parseInt(e(279))/6+-parseInt(e(270))/7*(-parseInt(e(268))/8)+-parseInt(e(287))/9*(-parseInt(e(290))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ve extends It.LabeledFieldView{[Me(297)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(284)];this[i(281)]({label:at(t,i(286)),_tooltipString:""}),this[i(272)][i(296)]=at(t,i(298)),this[i(294)]({tag:i(280),attributes:{class:[i(274)],"data-cke-tooltip-text":n.to(i(282)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(277)}})}[Me(288)](){const e=Me;super[e(288)](),this[e(297)]=new t.ResizeObserver(this[e(272)][e(269)],()=>this[e(295)]()),this[e(276)](this[e(272)],e(275),()=>this[e(295)]())}[Me(292)](){const t=Me;super[t(292)](),this[t(297)]&&this[t(297)][t(292)]()}[Me(295)](){const t=Me,e=this[t(272)][t(269)];this[t(282)]=e[t(271)]>e[t(285)]&&e[t(293)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=228]})(t,e)}function Le(){const t=["ck-revision-history-sidebar__revision-author","2009nlipuU","2878088SpEQWA","Revision creator","span","121rxUptM","setTemplate","238956KCkYdj","4260171rBHvwu","ck-revision-history-sidebar__revision-author_creator","54NHMyHs","0 0 11 10","9790WzVGrr","Revision author","16YwdPDM","942MwubOQ","3051qZRSHq","name","ck-revision-history-sidebar__revision-author__name","set","1513792bpMRTR","471085rJDqfW","push"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(917233===-parseInt(e(234))/1*(-parseInt(e(248))/2)+parseInt(e(241))/3+-parseInt(e(235))/4+-parseInt(e(231))/5*(parseInt(e(243))/6)+parseInt(e(230))/7*(-parseInt(e(247))/8)+-parseInt(e(249))/9*(-parseInt(e(245))/10)+-parseInt(e(238))/11*(-parseInt(e(240))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(229)]({content:_t.IconUser,viewBox:n(244)});const r=["ck",n(233)];i&&r[n(232)](n(242));const o=[{tag:n(237),attributes:{class:["ck",n(228)],title:at(t,n(i?236:246))},children:[s,e[n(250)]]}];this[n(239)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["21510HbJDSK","9273FqcemN","3587832cCNavt","toLocaleDateString","1406997NcZSDC","5581BuFahf","numeric","146hNCZdC","680267NQghbv","2134257lzjVtC","48qgGBOe","toLocaleTimeString","1958560EZeETt","12aJoZhe","long"];return(ze=function(){return t})()}function Ue(t,e){var i=ze();return(Ue=function(t,e){return i[t-=314]})(t,e)}!function(t){for(var e=Ue,i=t();;)try{if(687395===parseInt(e(315))/1*(parseInt(e(317))/2)+parseInt(e(319))/3+-parseInt(e(323))/4*(parseInt(e(322))/5)+parseInt(e(320))/6*(-parseInt(e(318))/7)+-parseInt(e(327))/8+parseInt(e(314))/9+-parseInt(e(325))/10*(-parseInt(e(326))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(We.A,He);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=$e();return(Ze=function(t,e){return i[t-=337]})(t,e)}function $e(){const t=["source","name","action","1450zKSbJm","menu","execute","menuitem","1424365fMMwjf","isVisible","bind","items","336LavhZt","isReady","isActionsDropdownOpen","Compare against selected","6iyGxYf","ck-on","function","93KLyDwe","children","panelPosition","extendTemplate","find","Restore this revision","ck-revision-history-sidebar__revision__actions","96651VNrfwu","add","set","83908mXaFBS","listenTo","150127farefo","listView","Name this revision","change:isActionsDropdownOpen","locale","46598wFaoBg","896876osVxXp","button","buttonView","5349967mJqANu","isEnabled","stopPropagation","map","class","_action","bindTemplate","isOpen","model","first","Show more items"];return($e=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(523537===-parseInt(e(376))/1+parseInt(e(381))/2*(parseInt(e(364))/3)+-parseInt(e(382))/4+-parseInt(e(353))/5*(-parseInt(e(361))/6)+-parseInt(e(385))/7+parseInt(e(357))/8*(-parseInt(e(371))/9)+parseInt(e(349))/10*(parseInt(e(374))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Ge;function Je(){const t=["authors","171QtHqdG","fire","_requireRevisionName","261398EFJvzc","ck-revision-history-sidebar__revision__date","from","filter","uiLanguage","name","createdAt","isHighlighted","4TACydJ","10SgEEwx","render","listenTo","ck-disabled","unshift","_createdAtFormatted","value","length","extendTemplate","div","12040952SRIAlF","change","element","ck-revision-history-sidebar__revision-wrapper","ck-reset","220","isConfirm","isReady","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","1531590RgZkie","span","revisionActionsView","select","highlight","bindTemplate","5329236JWEPGJ","srcElement","4GUAkay","isActionsDropdownOpen","fieldView","revisionNameView","ck-revision-history-sidebar__revision-authors","setName","ck-revision-history-sidebar__revision__controls-wrapper","4680651eZqGKa","ck-revision-history-sidebar__revision_selected",".ck-thread__remove-confirm","isSelected","closest","ck-revision-history-sidebar__actions_dropdown_open","bind","isEnabled","set","map","creator","deselect","_revision","ck-revision-history-sidebar__revision","13991626RZEwDa","setTemplate","unhighlight","365872yrmGjU"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=365]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(914829===-parseInt(e(412))/1*(parseInt(e(383))/2)+parseInt(e(390))/3+-parseInt(e(420))/4*(-parseInt(e(375))/5)+parseInt(e(381))/6+-parseInt(e(365))/7+-parseInt(e(407))/8*(parseInt(e(409))/9)+-parseInt(e(421))/10*(-parseInt(e(404))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(386)];[Ye(377)];[Ye(402)];[Ye(411)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(380)],a=function(t,e){const i=r,n=Array[i(414)](e[i(408)])[i(415)](t=>t!=e[i(400)]);return e[i(400)]&&n[i(425)](e[i(400)]),n[i(399)](n=>new Pe(t,n,n==e[i(400)]))}(e,i);this.id=i.id,this[r(402)]=i,this[r(411)]=s,this[r(396)](r(417),r(418)).to(i),this[r(396)](r(426)).to(this,r(418),t=>{return i=e[r(416)],(n=t)[(s=Ue)(328)](i,{month:s(324),day:s(316)})+", "+n[s(321)](i,{hour:s(316),minute:s(316)});var i,n,s}),this[r(398)](r(393),!1),this[r(398)](r(419),!1),this[r(398)](r(384),!1),this[r(398)](r(372),!1),this[r(398)](r(397),!1),this[r(386)]=new Ve(e,It.createLabeledInputText),this[r(386)][r(385)][r(429)]({attributes:{maxlength:r(370)}}),this[r(386)][r(385)][r(396)](r(427)).to(this,r(417),t=>t||this[r(426)]),this[r(386)][r(396)](r(397)).to(this,r(393),this,r(397),(t,e)=>t&&e),this[r(377)]=n&&n[r(428)]?function(e,i){const n=Ze,s=e[n(341)],r=e[n(380)],o=(0,It.createDropdown)(r);o[n(366)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(380)],s={"Compare against selected":at(n,i(360)),"Name this revision":at(n,i(378)),"Restore this revision":at(n,i(369))};return e[i(338)](t=>{const e=i,n=s[t[e(347)]];return n&&n!==t[e(347)]&&(t[e(347)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(383),model:new It.UIModel({label:t[s(347)],class:t[s(339)],withText:!0,role:s(352),_action:t[s(348)]})};i[s(343)][s(355)](s(386)).to(e,s(359),i=>s(363)!=typeof t[s(386)]||!i||t[s(386)](e)),o[s(372)](i)}return o}(e,i);return e[n(355)](n(359)).to(o,n(342)),o[n(384)][n(373)]({label:at(r,n(345)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(367)]({attributes:{class:[n(370),s.if(n(359),n(362))]},on:{click:s.to(t=>t[n(337)]())}}),o.on(n(351),t=>{const i=n;e[i(358)]&&i(363)==typeof t[i(346)][i(340)]&&t[i(346)][i(340)](e)}),(0,It.addListToDropdown)(o,a,{role:n(350)}),o[n(375)](e,n(379),(t,s,r)=>{const a=n;if(r)for(const t of o[a(377)][a(356)]){const n=t[a(365)][a(344)],s=i[a(368)](t=>t[a(348)]===n[a(340)])[a(354)];t[a(354)]=void 0===s||s(e)}}),o}(this,n):"",this[r(377)]&&this[r(377)][r(396)](r(397)).to(this),this[r(405)]({tag:r(430),attributes:{class:["ck",r(369),r(368),o.if(r(371),r(374))]},children:[{tag:r(430),attributes:{class:["ck",r(369),r(403),o.if(r(397),r(424),t=>!t),o.if(r(393),r(391)),o.if(r(419),r(373)),o.if(r(384),r(395))]},children:[this[r(386)],{tag:r(376),attributes:{class:["ck",r(413)]},children:[{text:o.to(r(426))}]},{tag:r(430),attributes:{class:["ck",r(389)]},children:[{tag:"ul",attributes:{class:["ck",r(387)]},children:a}]},this[r(377)]],on:{click:o.to(t=>{const e=r;t[e(382)][e(394)](e(392))||this[e(372)]&&this[e(397)]&&this[e(410)](e(378),{id:this.id})})}}]})}[Ye(422)](){const t=Ye;super[t(422)]();const e=this[t(386)][t(385)][t(367)];this[t(423)](e,t(366),()=>{const i=t;this[i(411)]&&!e[i(427)]||this[i(410)](i(388),{id:this.id,name:e[i(427)]}),e[i(427)]||(e[i(427)]=this[i(417)]?this[i(417)]:this[i(426)])})}[Ye(378)](){this[Ye(393)]=!0}[Ye(401)](){this[Ye(393)]=!1}[Ye(379)](){this[Ye(419)]=!0}[Ye(406)](){this[Ye(419)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Di=null;class Ei extends Mi{static get instance(){return null===Di&&(Di=new Ei),Di}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Vi.clear()}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=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Vi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Vi.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:En(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Ui=new Map;const Wi=new Map;let Hi=null;const Zi=new Map;function $i(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=Ui.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Ui.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}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 Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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 Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Ui.clear(),Wi.clear(),Zi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,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"===$i(t.locale).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?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(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 Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.set(t,e)}return e}(this.locale):Ki}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 Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{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 nn(t,e){if(En(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Vn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Ei.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(t,e){if(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(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 Mn(t){const e=Cn(t.year),i=Un(t.month,1,12),n=Un(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Dn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Un(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Un(i,0,59),a=Un(n,0,59),c=Un(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Vn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Un(t.firstDay,1,7)||!Un(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Un(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Un(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function $n(t){if(!En(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Wn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Ds=Ts("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Vs=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:$n(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?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 Us(t){const[e,i,n,s,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(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d($n(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(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 $s(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Ws[c]:u?0:es(l,h),[d,new tn(f)]}const qs=/^(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$/,Bs=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Qs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Ds,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Vs),ar=Is(Es),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(En(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(En(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Us])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({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 ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return En(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+=qn(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(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 gr(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=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:_r.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 _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).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&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Dr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Vr={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 Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Dr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;En(t.z)||(i=ji.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(t.u)||(t.S=$n(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,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 Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function qr(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(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 Yr(t,e,i){return qr(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Gn(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(t[e])&&(t[e]=to[e]);const e=Mn(t)||Dn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!En(i.round)||i.round,s=(t,s)=>{t=qn(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=En(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Vn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(Vn(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){En(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Un(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Un(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Un(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Dn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,$s])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[qs,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}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?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return $r(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[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 br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Vn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=104]})(t,e)}function vo(){const t=["1664622OOGtUX","459zIonDm","296115nZiqFV","setLocale","108980fuKGFJ","minus","toRelativeCalendar","month","1097013GNjioe","monthLong","1169712LjkGaI","year","weekdayLong","hasSame","14710GSTlbo","startOf","fromJSDate","local","week","3297693WgEdtm","2DNnIUe","4JBWmXn","toJSDate","day"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(108)](t)[i(119)](e),s=fo[i(109)](),r=s[i(121)]({days:1})[i(107)](i(115));let o,a;return n[i(105)](s,i(115))?(o=n[i(107)](i(115))[i(114)](),a=n[i(122)]()):n[i(105)](r,i(115))?(o=r[i(114)](),a=n[i(122)]()):n[i(105)](s,i(110))?(o=n[i(107)](i(110))[i(114)](),a=n[i(104)]||""):n[i(105)](s,i(127))?(o=n[i(107)](i(123))[i(114)](),a=n[i(125)]||""):(o=n[i(107)](i(127))[i(114)](),a=String(n[i(127)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(261915===-parseInt(e(120))/1+parseInt(e(112))/2*(-parseInt(e(124))/3)+-parseInt(e(113))/4*(-parseInt(e(118))/5)+parseInt(e(116))/6+parseInt(e(111))/7+-parseInt(e(126))/8+parseInt(e(117))/9*(parseInt(e(106))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=166]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(805851===-parseInt(e(170))/1*(parseInt(e(194))/2)+parseInt(e(195))/3+parseInt(e(189))/4*(parseInt(e(173))/5)+-parseInt(e(166))/6+-parseInt(e(181))/7+-parseInt(e(187))/8+parseInt(e(175))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends It.View{[bo(196)];[bo(191)];[bo(185)];[bo(186)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(169)][s(179)])[s(178)];this[s(196)]=e,this[s(191)]=this[s(193)](),this[s(185)]=i,this[s(186)]=n,this[s(191)][s(172)](s(174)).to(this),this[s(191)][s(172)](s(182)).to(this),this[s(192)]({tag:s(171),attributes:{class:["ck",s(184)]},children:[{tag:s(167),attributes:{class:["ck",s(188)]},children:[{text:r}]},{tag:s(171),attributes:{class:["ck",s(180)]},children:this[s(191)]}]})}[bo(176)](t){const e=bo,i=new Ke(this[e(169)],t,this[e(185)],this[e(186)]);this[e(191)][e(183)](i)}[bo(177)](t){const e=bo,i=this[e(191)][e(190)](e=>e.id===t.id);this[e(191)][e(168)](i)}}function Io(){const t=["1896260hMgKft","select","26425341UipDcd","addRevision","removeRevision","localizedPeriodName","uiLanguage","ck-revision-history-sidebar__time-period__revisions","1846481SSRYYG","setName","add","ck-revision-history-sidebar__time-period","_revisionActions","_requireRevisionName","8868544DFGMTT","ck-revision-history-sidebar__time-period__label","16fhbjUo","find","revisionViews","setTemplate","createCollection","2470834ufOJQm","1699335eaRzal","startDate","9635898VlBBfC","span","remove","locale","1gYCzVU","div","delegate"];return(Io=function(){return t})()}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["506571bASFxW","setTemplate","3764215RxmfnV","div","content","3617523WtEQgz","4feWsos","ck-revision-history-sidebar__header__label","724716bhAcHa","106706RMRfCc","335652BqmWma","ck-reset_all","ck-revision-history-sidebar__header","Revision history","5979320hHFxkZ","span"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=221]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(514535===-parseInt(e(223))/1*(parseInt(e(226))/2)+parseInt(e(233))/3+-parseInt(e(227))/4+parseInt(e(235))/5+parseInt(e(225))/6+parseInt(e(222))/7+-parseInt(e(231))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(221)]=_t.IconHistory,this[e(234)]({tag:e(236),attributes:{class:["ck",e(228),e(229)]},children:[i,{tag:e(232),attributes:{class:["ck",e(224)]},children:[at(t,e(230))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Et();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Do;function Do(t,e){const i=Eo();return(Do=function(t,e){return i[t-=119]})(t,e)}function Eo(){const t=["_requireRevisionName","_addRevision","find","selectRevision","render","addRevision","ck-revision-history-sidebar","isEnabled","highlight","div","some","399161JwQaJl","_revisionActions","locale","10151120vsaOaG","ck-disabled","getTime","revisionSetName","removeRevision","ck-revision-history-sidebar__timeline","remove","209315YTImjr","ck-reset","map","highlightRevisions","createCollection","deselect","4472056qdZram","revisionViews","_removeRevision","flat","revisionSelected","select","setName","ck-rounded-corners","delegate","unhighlight","7185570gfrNsB","get","set","_getTimePeriodViewByStartDate","fire","_revisions","timePeriodViews","1185914BMrYzJ","bindTemplate","add","uiLanguage","startDate","2411247opsZpK","createdAt","setTemplate"];return(Eo=function(){return t})()}!function(t){const e=Do,i=t();for(;;)try{if(635217===-parseInt(e(144))/1+-parseInt(e(125))/2+parseInt(e(130))/3+parseInt(e(160))/4+-parseInt(e(154))/5+parseInt(e(170))/6+-parseInt(e(147))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends It.View{[Mo(124)];[Mo(123)];[Mo(145)];[Mo(133)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(126)];this[s(124)]=this[s(158)](),this[s(124)][s(168)](s(165)).to(this),this[s(124)][s(168)](s(166)).to(this),this[s(123)]=e,this[s(145)]=i,this[s(133)]=n,this.on(s(165),(t,e)=>{const i=s;this[i(122)](i(164),e)}),this.on(s(166),(t,e)=>{const i=s;this[i(122)](i(150),e)}),this[s(120)](s(140),!1),this[s(132)]({tag:s(142),attributes:{class:["ck",s(155),s(167),s(139)]},children:[new No(t),{tag:s(142),attributes:{class:["ck",s(152),r.if(s(140),s(148),t=>!t)]},children:this[s(124)]}]})}[Mo(137)](){const t=Mo;super[t(137)]();for(const e of this[t(123)])this[t(134)](e);this[t(123)].on(t(127),(e,i)=>{this[t(134)](i)}),this[t(123)].on(t(153),(e,i)=>{this[t(162)](i)})}get[Mo(161)](){const t=Mo;return this[t(124)][t(156)](e=>e[t(161)][t(156)](t=>t))[t(163)]()}[Mo(136)](t){const e=Mo;for(const i of this[e(161)])t&&t.id===i.id?i[e(165)]():i[e(159)]()}[Mo(157)](t){const e=Mo;for(const i of this[e(161)])t[e(143)](({id:t})=>t===i.id)?i[e(141)]():i[e(169)]()}[Mo(134)](t){const e=Mo,i=go(t[e(131)],this[e(146)][e(128)])[e(129)];let n=this[e(124)][e(119)](0);n&&n[e(129)][e(149)]()===i[e(149)]()||(n=new _o(this[e(146)],i,this[e(145)],this[e(133)]),this[e(124)][e(127)](n)),n[e(138)](t)}[Mo(162)](t){const e=Mo,i=go(t[e(131)],this[e(146)][e(128)])[e(129)];this[e(121)](i)[e(151)](t)}[Mo(121)](t){const e=Mo;return this[e(124)][e(135)](i=>i[e(129)][e(149)]()===t[e(149)]())}}const Co=Lo;function Fo(){const t=["54990sdVplB","compareAgainstSelected","revisionHistory.requireRevisionName","focus","Name this revision","availableRevisionActions","setName","change:diff","pluginName","timePeriodViews","editor","getRevisionsInDiff","isEnabled","data","element","highlightRevisions","getRevision","revisionHistory","length","defaultRevisionActions","307852GqXfLX","action","isOfficialPlugin","listenTo","nameRevision","locale","490317ECZfus","isSelected","revisionSelected","isPremiumPlugin","RevisionsSidebar","init","diff","getLaterVisibleRevision","config","render","getEarlierVisibleRevision","get","2444XOogrV","requires","_createRevisionActions","_handleRevisionSelected","add","string","restoreRevisionCallback","restoreRevision","repository","revisionSetName","remove","333CDCRSw","revisionViews","revisionHistory.revisionActions","489MHlmEu","_revisionsRepository","destroy","plugins","Restore this revision","fieldView","isVisible","_handleDiffChange","16QHVzuy","_handleEditorDataReady","isReady","assign","ready","Compare against selected","compare","map","_handleRevisionSetName","newRevisionId","1325180gdWhJK","_revisionViewer","revisionHistory.viewerSidebarContainer","getIndex","bind","1382322JUgOwk","appendChild","58359mUoANs","_sidebarView","selectRevision","_revisions","select","name"];return(Fo=function(){return t})()}!function(t){const e=Lo,i=t();for(;;)try{if(246228===-parseInt(e(160))/1+parseInt(e(154))/2+parseInt(e(186))/3*(-parseInt(e(172))/4)+parseInt(e(204))/5+parseInt(e(209))/6+parseInt(e(211))/7*(-parseInt(e(194))/8)+parseInt(e(183))/9*(parseInt(e(217))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends G.Plugin{[Co(205)];[Co(187)];[Co(212)];static[Co(236)]=[Co(218),Co(179),Co(158)];static[Co(222)]=function(){const t=Co;return{compareAgainstSelected:{name:t(199),action:({plugins:e},i)=>{const n=t,s=e[n(171)](ae),r=s[n(180)];let o=s[n(166)][n(203)],a=i.id;r[n(207)](o)>r[n(207)](a)&&([o,a]=[a,o]),s[n(200)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(171)](ae);return!(s[n(180)][n(228)](s[n(166)])[n(235)]>2||i[n(161)])}},restoreRevision:{name:t(190),action:(e,{id:i})=>{const n=t;e[n(168)][n(171)](n(234))[n(178)](i)},isVisible:({plugins:e},i)=>!!e[t(171)](ae)[t(180)][t(167)](i.id)},nameRevision:{name:t(221),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(171)](ae),o=r[s(180)][s(170)](i);r[s(200)](i,o),n[s(220)](),n[s(191)][s(215)]()}}}}();static get[Co(225)](){return Co(164)}static get[Co(156)](){return!0}static get[Co(163)](){return!0}static get[Co(173)](){return[ae]}constructor(t){const e=Co;super(t),this[e(205)]=t[e(189)][e(171)](ae),this[e(187)]=this[e(205)][e(180)],this[e(212)]=null}[Co(165)](){const t=Co,e=this[t(187)][t(214)],i=this[t(174)](),n=this[t(227)][t(168)][t(171)](t(206));this[t(212)]=new Vo(this[t(227)][t(159)],e,i,this[t(227)][t(168)][t(171)](t(219))),this[t(212)].on(t(162),this[t(175)][t(208)](this)),this[t(212)].on(t(181),this[t(202)][t(208)](this)),this[t(212)][t(208)](t(229)).to(this[t(205)]),this[t(212)][t(226)].on(t(176),(e,i)=>{const n=t;i[n(184)].on(n(176),(t,e)=>{const i=n;e[i(208)](i(229),i(196)).to(this[i(205)])})}),this[t(212)][t(169)](),this[t(157)](this[t(227)][t(230)],t(198),this[t(195)][t(208)](this)),this[t(157)](this[t(205)],t(224),this[t(193)][t(208)](this)),n[t(210)](this[t(212)][t(231)])}[Co(188)](){const t=Co;this[t(212)][t(231)][t(182)](),this[t(212)][t(188)]()}[Co(195)](){const t=Co,e=this[t(187)][t(233)](0);if(e){const i=this[t(187)][t(170)](e.id);this[t(205)][t(200)](e,i)}}[Co(175)](t,e){const i=Co,n=this[i(187)][i(233)](e.id),s=this[i(187)][i(170)](n.id);this[i(205)][i(200)](n,s)}[Co(202)](t,e){const i=Co;this[i(187)][i(233)](e.id)[i(223)](e[i(216)])}[Co(193)](t,e,i){const n=Co,s=this[n(187)][n(228)](i);s[n(235)]>2?(this[n(212)][n(232)](s),this[n(212)][n(213)](null)):(this[n(212)][n(232)]([]),this[n(212)][n(213)](s[0]))}[Co(174)](){const t=Co,e=this[t(227)],i=jo[t(222)],n=e[t(168)][t(171)](t(185))||jo[t(236)];if(n[t(235)])return n[t(201)](n=>{const s=t,r=s(177)==typeof n?Object[s(197)]({},i[n]):n;return r[s(155)]=r[s(155)][s(208)](this,e),r[s(192)]&&(r[s(192)]=r[s(192)][s(208)](this,e)),r})}}function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=154]})(t,e)}function Po(){const t=["42690kedxyb","element","165PxFxhV","editable","1493548XCawqH","limiterElement","ready","stickyPanel","render","bind","isFocused","detachDomRoot","name","2352dRyzeq","2583644ryhpFS","viewportTopOffset","init","addToolbar","toolbar","_elementReplacer","view","fire","53532uNNwwS","editor","660042VylRGP","_toolbarConfig","editing","572679dTqHwU","get","document","353846xvUqmq","attachDomRoot","replace","setEditableElement","isActive","destroy","_initToolbar","componentFactory","focusTracker","getRoot","viewportOffset","config","rootName","restore","fillFromConfig","_view"];return(Po=function(){return t})()}function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=222]})(t,e)}const Uo=zo;!function(t){const e=zo,i=t();for(;;)try{if(478900===-parseInt(e(228))/1+parseInt(e(231))/2+parseInt(e(225))/3+-parseInt(e(261))/4+parseInt(e(249))/5*(-parseInt(e(247))/6)+-parseInt(e(251))/7+parseInt(e(260))/8*(parseInt(e(223))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Wo extends It.EditorUI{[Uo(246)];[Uo(226)];[Uo(266)];get[Uo(267)](){return this[Uo(246)]}constructor(e,i){const n=Uo;super(e),this[n(246)]=i,this[n(226)]=(0,It.normalizeToolbarConfig)(e[n(242)][n(229)](n(265))),this[n(266)]=new t.ElementReplacer}get[Uo(248)](){const t=Uo;return this[t(267)][t(248)]}[Uo(263)](t){const e=Uo,i=this[e(224)],n=this[e(267)],s=i[e(227)][e(267)],r=n[e(250)],o=s[e(230)][e(240)]();r[e(259)]=o[e(243)],n[e(255)]();const a=r[e(248)];this[e(234)](r[e(259)],a),n[e(250)][e(256)](e(257)).to(this[e(239)]),s[e(232)](a),this[e(266)][e(233)](t,this[e(248)]),this[e(237)](),this[e(222)](e(253))}[Uo(236)](){const t=Uo;super[t(236)]();const e=this[t(267)],i=this[t(224)][t(227)][t(267)];this[t(266)][t(244)](),i[t(258)](e[t(250)][t(259)]),e[t(236)]()}[Uo(237)](){const t=Uo,e=this[t(267)];e[t(254)][t(256)](t(235)).to(this[t(239)],t(257)),e[t(254)][t(252)]=e[t(248)],e[t(254)][t(256)](t(262)).to(this,t(241),({top:t})=>t),e[t(265)][t(245)](this[t(226)],this[t(238)]),this[t(264)](e[t(265)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var $o=Bo;function qo(){var t=["31174NItrPq","stickyPanel","678AKKzZh","render","main","14584KCpJHO","35905KGjofF","8491651yuSZli","_editable","490jMihxP","26EZCCKW","add","8IhWJGA","158PNmmHW","shouldToolbarGroupWhenFull","5276655fkLJhk","top","1726638SsQyBD","editable","14504388pOsDam","content","4xcdABl","toolbar"];return(qo=function(){return t})()}function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=235]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(609669===parseInt(e(245))/1*(parseInt(e(237))/2)+-parseInt(e(249))/3*(-parseInt(e(253))/4)+-parseInt(e(238))/5*(-parseInt(e(257))/6)+parseInt(e(239))/7+parseInt(e(244))/8*(-parseInt(e(247))/9)+-parseInt(e(241))/10*(parseInt(e(255))/11)+parseInt(e(251))/12*(-parseInt(e(242))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(240)];[$o(256)];[$o(254)];get[$o(250)](){return this[$o(240)]}constructor(t,e,i={}){var n=$o;super(t),this[n(256)]=new It.StickyPanelView(t),this[n(254)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(246)]}),this[n(240)]=new It.InlineEditableUIView(t,e)}[$o(235)](){var t=$o;super[t(235)](),this[t(256)][t(252)][t(243)](this[t(254)]),this[t(248)][t(243)](this[t(256)]),this[t(236)][t(243)](this[t(250)])}}const Jo=Ko;function Go(){const t=["24xtlxgH","initialData","209630vVxtCN","227529cXmeeW","36412kRSpcc","_ui","config","sourceElement","7weudxa","fire","4wphczA","create","init","ready","data","4012930WXCbZq","177053TcmVkb","document","model","editing","initPlugins","3066632CsyPeV","view","updateSourceElement","locale","createRoot","get","503568UvemMW","destroy"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=231]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(198673===-parseInt(e(237))/1*(-parseInt(e(231))/2)+parseInt(e(250))/3*(-parseInt(e(254))/4)+-parseInt(e(252))/5+-parseInt(e(248))/6+parseInt(e(258))/7*(-parseInt(e(242))/8)+parseInt(e(253))/9+parseInt(e(236))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(255)];get ui(){return this[Jo(255)]}constructor(t,e){const i=Jo;super(e),this[i(257)]=t,this[i(239)][i(238)][i(246)]();const n=new Yo(this[i(245)],this[i(240)][i(243)],{shouldToolbarGroupWhenFull:!0});this[i(255)]=new Wo(this,n)}[Jo(249)](){const t=Jo;return this[t(244)](),this.ui[t(249)](),super[t(249)]()}static async[Jo(232)](t,e){const i=Jo,n=new this(t,e);return await n[i(241)](),await n.ui[i(233)](t),await n[i(235)][i(233)](n[i(256)][i(247)](i(251))||""),n[i(259)](i(234)),n}}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=463]})(t,e)}function ea(){const t=["isAttached","enqueueChange","createRangeIn","createdAt","map","isOfficialPlugin","RevisionTracker","getRevisionRootsAttributes","removeAttribute","name","_viewerEditor","markers","indexOf","loadRevisionData","restrictedEditingException","33391910IQYWnU","_restoreRevision","removeMarker","getRevision","save","remove","restoreRevision","create","users","saveRevision","getMarkersGroup","RevisionHistoryUtils","revisionHistory.restoreRevisionCallback","showRevisionViewerCallback","error","isEnabled","RevisionsRepository","bind","revisionHistory.showRevisionViewerCallback","requires","DocumentOutlineUI","disableReadOnlyMode","update","revisionHistory.viewerEditorElement","isOpen","isPremiumPlugin","plugins","revision-history-missing-configuration","RevisionHistory","roots","translations","insert","keys","addUser","7899458pzOetZ","toolbar","lazyRoots","join","config","locale","_cleanUp","Dialog","display","toLocaleDateString","getAttributeKeys","_enhanceCloseRevisionViewerCallback","init","push","model","fromCharCode","numeric","enableReadOnlyMode","revisionHistory.closeRevisionViewerCallback","getRevisionDocumentData","result","includes","revisionHistory.viewerContainer","from","commands","setSelection","refreshPositioning","style","isReady","$graveyard","creator","then","change","1AHieJg","9946576vfeNRo","Autosave","Annotations","uiLanguage","none","selection","6533580UVuiAi","5ehIdVF","858892yieLYv","_enhanceShowRevisionViewerCallback","removeSelectionAttribute","_closeRevisionViewer","revisionHistory.editorContainer","data","block","PaginationLookup","getRoot","Restored","refreshVisibility","closeRevisionViewerCallback","detachRoot","exitToEditing","set","RevisionHistoryUI","3815034gurQXC","RevisionViewerIntegration","adapter","define","document","RevisionViewer","destroy","pluginName","setAttribute","rootName","revisionHistory.requireRevisionName","RestrictedEditingMode","revision-history-viewer-opened","3617988GJkPcY","9uqrgdX","revisionHistory","isAnonymous","toLocaleTimeString","view","long","isRevisionViewerOpen","addRevisionData","catch","changesNavigation","getRevisions","hide","fromVersion","editor","element","addRoot","_getRevisionViewerEditorConfig","getUser","toVersion","end","repository","parse","DocumentOutline","get","_update","toJSON","Users","_recalculatePageBreaks","has","isReadOnly","_showRevisionViewer"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(675072===-parseInt(e(553))/1*(-parseInt(e(562))/2)+parseInt(e(578))/3+-parseInt(e(591))/4*(parseInt(e(561))/5)+-parseInt(e(560))/6+-parseInt(e(520))/7+-parseInt(e(554))/8+-parseInt(e(592))/9*(-parseInt(e(486))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(577),Qo(589)];class na extends G.Plugin{[Qo(540)];static get[Qo(585)](){return Qo(579)}static get[Qo(476)](){return!0}static get[Qo(511)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(475)](t=>String[e(535)](t))[e(523)]("")}super(t),this[e(540)]=e(611),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 sa extends G.Plugin{[Qo(481)];static get[Qo(585)](){return Qo(514)}static get[Qo(476)](){return!0}static get[Qo(511)](){return!0}static get[Qo(505)](){return[vt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(605)][i(524)][i(463)](i(593)))throw new t.CKEditorError(i(513),this);this[i(481)]=null,this[i(576)](i(598),!1),this[i(605)][i(524)][i(581)](i(504),t=>this[i(470)]({...t,translations:this[i(605)][i(525)][i(516)]})),this[i(605)][i(524)][i(581)](i(538),t=>this[i(565)](t)),this[i(605)][i(524)][i(581)](i(498),t=>this[i(487)](t)),this[i(605)][i(524)][i(581)](i(588),!1),this[i(563)](),this[i(531)]()}set[Qo(580)](t){const e=Qo;this[e(605)][e(512)][e(463)](e(477))[e(580)]=t}get[Qo(580)](){const t=Qo;return this[t(605)][t(512)][t(463)](t(477))[t(580)]}[Qo(599)](t){const e=Qo;return this[e(605)][e(512)][e(463)](e(477))[e(599)](t)}[Qo(489)](t){const e=Qo;return this[e(605)][e(512)][e(463)](e(502))[e(489)](t)}[Qo(602)](t){const e=Qo;return this[e(605)][e(512)][e(463)](e(502))[e(602)](t||{toJSON:!1})}[Qo(608)](){const e=Qo,i=this[e(605)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(512)][e(463)](e(477)),r=i[e(512)][e(463)](e(466))[e(494)];return n[e(521)]=[e(575),e(492),e(601)],delete n[e(522)],n[e(512)][e(533)](na,ae,Ne,class extends G.Plugin{static get[e(505)](){return[ae,e(466)]}[e(532)](){const n=e,o=this[n(605)][n(512)][n(463)](n(466));for(const t of r)t[n(594)]||o[n(609)](t.id)||o[n(519)](t);const a=s[n(612)][n(602)]();let c=null;const u=this[n(605)][n(512)][n(463)](n(583));u[n(580)]=s[n(580)],u[n(503)](n(501)).to(s),this[n(605)][n(544)][n(463)](n(492))[n(503)](n(501)).to(i,n(469),t=>!t);for(const e of a){const i=null===e[n(550)];if(i&&e[n(610)]===e[n(604)])continue;const r=e[n(465)]();u[n(599)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(464)](r,o);else if(!o){const e=a[u(465)]();e.id=(0,t.uid)(),s[u(495)](e,a[u(610)])[u(551)](t=>{c=t})}}else e[u(464)](r,o)})}}},jo),n}[Qo(563)](){const t=Qo,e=this[t(605)][t(524)][t(463)](t(593))[t(499)];this[t(605)][t(524)][t(576)](t(504),async()=>{const i=t;this[i(605)][i(537)](i(590));const n=this[i(605)][i(512)][i(463)](i(477));if(this[i(605)][i(512)][i(468)](i(555))){const t=this[i(605)][i(512)][i(463)](i(555));await t[i(490)]()}else await n[i(508)]();if(this[i(605)][i(512)][i(468)](i(569))&&this[i(605)][i(512)][i(463)](i(569))[i(467)](),this[i(605)][i(512)][i(468)](i(527))){const t=this[i(605)][i(512)][i(463)](i(527));t[i(510)]&&t[i(603)]()}const s=this[i(608)]();return e(s)[i(551)](t=>{const e=i;return this[e(481)]=t,this[e(605)][e(512)][e(468)](e(556))&&this[e(605)][e(512)][e(463)](e(556))[e(572)](),this[e(605)][e(512)][e(468)](e(614))&&(this[e(605)][e(512)][e(463)](e(506))[e(596)][e(606)][e(547)][e(528)]=e(558)),t})[i(600)](t=>(console[i(500)](t),this[i(605)][i(507)](i(590)),null))})}[Qo(531)](){const t=Qo,e=this[t(605)][t(524)][t(463)](t(593))[t(573)];this[t(605)][t(524)][t(576)](t(538),()=>(this[t(605)][t(512)][t(468)](t(569))&&this[t(605)][t(512)][t(463)](t(569))[t(467)](),this[t(605)][t(512)][t(468)](t(614))&&(this[t(605)][t(512)][t(463)](t(506))[t(596)][t(606)][t(547)][t(528)]=""),this[t(481)][t(512)][t(463)](t(583))[t(526)](),e(this[t(481)])[t(551)](()=>{const e=t;if(this[e(605)][e(507)](e(590)),this[e(481)]=null,this[e(605)][e(512)][e(468)](e(556))){const t=this[e(605)][e(512)][e(463)](e(556));t[e(572)](),t[e(546)]()}})))}[Qo(470)](t){const e=Qo,i=this[e(605)][e(524)][e(463)](e(566)),n=this[e(605)][e(524)][e(463)](e(542)),s=this[e(605)][e(524)][e(463)](e(509));return Xo[e(493)](s,t)[e(551)](t=>(n[e(547)][e(528)]=e(568),i[e(547)][e(528)]=e(558),this[e(598)]=!0,t))}[Qo(565)](t){const e=Qo,i=this[e(605)][e(524)][e(463)](e(566));return this[e(605)][e(524)][e(463)](e(542))[e(547)][e(528)]=e(558),i[e(547)][e(528)]="",this[e(598)]=!1,t[e(584)]()}async[Qo(487)](t){const e=Qo,i=this[e(605)],n=this[e(481)][e(512)][e(463)](e(583)),s=i[e(512)][e(463)](e(477)),r=i[e(512)][e(463)](e(497)),o=n[e(612)][e(489)](t);let a,c,u;try{await r[e(484)](o,this[e(580)]),a=r[e(539)](o),c=r[e(478)](o)}catch(t){return void console[e(500)](t)}i[e(534)][e(552)](t=>{const n=e;for(const e of Array[n(543)](i[n(534)][n(482)][n(496)](n(485))))t[n(488)](e)}),n[e(548)]=!1,i[e(534)][e(472)](t=>{const n=e;t[n(545)](null),t[n(564)](i[n(534)][n(582)][n(559)][n(530)]());const s=Object[n(518)](a);for(const e of i[n(534)][n(582)][n(515)])n(549)!=e[n(587)]&&e[n(471)]()&&!s[n(541)](e[n(587)])&&t[n(574)](e);for(const e of s){let s=i[n(534)][n(582)][n(570)](e);s&&s[n(471)]()||(s=t[n(607)](e));const r=c[e],o=Object[n(518)](r),u=a[e];for(const e of s[n(530)]())o[n(541)](e)||t[n(479)](e,s);for(const i of o)t[n(586)](i,c[e][i],s);t[n(491)](t[n(473)](s)),t[n(517)](i[n(567)][n(613)](u,s),s,0)}});const l=at(i[e(525)],e(571));return u=o[e(480)]?-1==o[e(480)][e(483)](l)?l+": "+o[e(480)]:o[e(480)]:l+": "+o[e(474)][e(529)](i[e(525)][e(557)],{month:e(597),day:e(536)})+", "+o[e(474)][e(595)](i[e(525)][e(557)],{hour:e(536),minute:e(536)}),await s[e(495)]({name:u}),n[e(548)]=!0,i[e(524)][e(463)](e(593))[e(573)]()}}function ra(){var t=["2939228mHBuaY","8607310KJzutR","5672550hmiQKN","1434494TEcMln","18ShCuHc","123CKNzjw","77850DBJGcH","100984fZVRmn","61596972FRVAwf","10iUItRV","14PzBzGL","11zYrXiA"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=194]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(880143===-parseInt(e(196))/1+parseInt(e(199))/2*(-parseInt(e(198))/3)+parseInt(e(205))/4*(parseInt(e(202))/5)+-parseInt(e(195))/6+parseInt(e(203))/7*(-parseInt(e(200))/8)+-parseInt(e(197))/9*(parseInt(e(194))/10)+parseInt(e(204))/11*(parseInt(e(201))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();