@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250613.0 → 0.0.0-nightly-20250615.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay: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,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>le,Revision:()=>Y,RevisionHistory:()=>ia,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>mt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>xe,RevisionsRepository:()=>et,RevisionsSidebar:()=>Fo,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}function M(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&M(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\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&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function H(t,e,i){return function(t,e,i,s){if(null==t&&!P(t))return t;const n=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<n.length&&null!=r;t++){const e=L(n[t]);let o;if(t===n.length-1)o=i(r[e]);else{const i=r[e],a=s(i);o=void 0!==a?a:P(i)?i:E(n[t+1])?[]:{}}V(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function W(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function U(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?W(e)?U(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function Z(t,e){const i=U(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const q=B;function $(){const t=["authorsIds","22198VBdXPb","19668Epvagj","creatorId","setAttribute","5024120LwWoaL","3724767sCFqGL","creator","11846040YjHFCV","toVersion","map","model","diffData","authors","setName","5iKtHCT","535960jhLczY","fromVersion","name","4AQwxKH","fire","removeAttribute","6NLPeon","7408513qdNRnt","createdAt","_update","toJSON","1238352rjRfQG","attributes","set","8FDnDbT"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=358]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(835454===-parseInt(e(377))/1*(parseInt(e(378))/2)+parseInt(e(358))/3*(parseInt(e(381))/4)+-parseInt(e(367))/5+-parseInt(e(384))/6*(-parseInt(e(385))/7)+-parseInt(e(361))/8*(parseInt(e(368))/9)+-parseInt(e(370))/10+-parseInt(e(363))/11*(-parseInt(e(364))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends((0,t.ObservableMixin)()){id;[q(369)];[q(375)];[q(374)];[q(371)];[q(379)];[q(373)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(369)]=e[i(369)]||null,this[i(375)]=e[i(375)]||[],this[i(374)]=e[i(374)]||null,this[i(371)]=e[i(371)]||0,this[i(379)]=e[i(379)]||0,this[i(360)](i(380),e[i(380)]||""),this[i(360)](i(386),e[i(386)]||new Date),this[i(360)](i(359),e[i(359)]||{})}[q(376)](t){this[q(387)]({name:t})}[q(366)](t,e){const i=q,s=R(this[i(359)]);H(s,t,e),this[i(387)]({attributes:s})}[q(383)](t){const e=q,i=R(this[e(359)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return Z(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&W(e))return Z(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(387)]({attributes:i})}[q(387)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(380),i(386),i(374),i(375),i(359),i(371),i(379),i(365)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(375)]&&(n[i(362)]=n[i(375)][i(372)]((t=>t.id)),delete n[i(375)]),this[i(382)](i(387),n,e))}[q(388)](){const t=q;return{id:this.id,name:this[t(380)],creatorId:this[t(369)]?this[t(369)].id:null,authorsIds:this[t(375)][t(372)]((t=>t.id)),diffData:this[t(374)],createdAt:this[t(386)],attributes:this[t(359)],fromVersion:this[t(379)],toVersion:this[t(371)]}}}var J=i(782),G=i(211),X=i(783);const K=Q;function Q(t,e){const i=tt();return(Q=function(t,e){return i[t-=216]})(t,e)}function tt(){const t=["join","oldRevisionId","plugins","get","22932WPktaC","from","fromCharCode","6789816tIjCpM","476CoeUDv","getRevision","editor","181470tpOney","5384874ZPAvKc","diffData","push","toJSON","newRevisionId","RevisionsRepository","later","map","length","getEarlierVisibleRevision","requires","getUser","isPremiumPlugin","9JmWiWM","add","isOfficialPlugin","earlier","creatorId","getRevisionsInDiff","name","pluginName","afterInit","getRevisionsIterator","3214LLhMGj","getLaterVisibleRevision","authorsIds","4wQIUuj","createdAt","createRevision","1574601cfVfOS","getIndex","href","isNaN","getRevisions","reverse","data","attributes","addRevision","Users","17838470ZCoPBL","fromVersion","_revisions","toVersion"];return(tt=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(478314===parseInt(e(248))/1*(-parseInt(e(221))/2)+-parseInt(e(254))/3*(parseInt(e(251))/4)+parseInt(e(224))/5+-parseInt(e(225))/6+-parseInt(e(217))/7+parseInt(e(220))/8+-parseInt(e(238))/9*(-parseInt(e(264))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class et extends J.Plugin{[K(266)];static get[K(235)](){return[G.Users]}static get[K(245)](){return K(230)}static get[K(240)](){return!0}static get[K(237)](){return!0}get[K(233)](){const t=K;return this[t(266)][t(233)]}constructor(e){const i=K;super(e),this[i(266)]=new t.Collection}[K(246)](){!async function(e){const i=k([79,71,56,121,49,87,107,50,115,84,90,69,75,105,68,88,101,97,108,67,99,106,82,120,98,100,116,103,83,122,74,89,52,53,114,54,76,57,78,77,55,119,80,111,85,110,113,51,81,112,70,109,118,48,102,65,86,73,104,66,72,117]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(257)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([79]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=Q;return t[e(232)]((t=>String[e(219)](t)))[e(268)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1749772800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(256)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([102,105,108,116,101,114])]((t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])]))[k([109,97,112])]((t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t)))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[K(253)](t){const e=K,i=this[e(223)][e(270)][e(216)](e(263));return new Y({id:t.id,name:t[e(244)],creator:t[e(242)]?i[e(236)](t[e(242)]):null,diffData:t[e(226)]||t[e(260)],authors:t[e(250)][e(232)]((t=>i[e(236)](t))),createdAt:new Date(t[e(252)]),attributes:t[e(261)],fromVersion:t[e(265)],toVersion:t[e(267)]})}[K(262)](t,e=0){const i=K;this[i(266)][i(239)](t,e)}[K(222)](t){const e=K;return this[e(266)][e(216)](t)}[K(258)](t={toJSON:!1}){const e=K,i=Array[e(218)](this[e(266)]);return i[e(259)](),t[e(228)]?i[e(232)]((t=>t[e(228)]())):i}[K(255)](t){const e=K;return this[e(266)][e(255)](t)}[K(234)](t){const e=K,[,i]=this[e(247)](t,{direction:e(241)});return i}[K(249)](t){const e=K,[,i]=this[e(247)](t,{direction:e(231)});return i}[K(243)](t){const e=K,i=[];for(const s of this[e(247)](t[e(229)]))if(i[e(227)](s),s.id===t[e(269)])break;return i}*[K(247)](t,{direction:e=K(241),filter:i=()=>!0}={}){const s=K,n=s(241)===e?1:-1;let r=this[s(266)][s(216)](t),o=this[s(255)](r);for(yield r;r;){if(o+=n,r=this[s(222)](o),!r)return;i(r)&&(yield r)}}}const it=nt;function st(){const t=["render","domChildrenToView","getRevision","useFillerType","_getTypeCharForViewElement","data","attachChange","getFillerOffset","map","attributes","domConverter","isAttached","3ILshBe","childNodes","editing","loadRevisionData","_setCustomProperty","data-revision-","getRevisionRootsAttributes","document","14ImBBir","RevisionHistoryUtils","toData","get","from","constructor","isOfficialPlugin","processor","toModel","append","9RhpUYU","revision-start","editor","length","revision-end","startsWith","type","filter","7287220GQxhVi","forEach","fillerOffset","collaboration.channelId","1443354XFjBdf","name","_viewClassToTypeChar","createElement","customProperties","diffData","_getViewFromDiffObj","pluginName","484910OVslAl","htmlProcessor","isPremiumPlugin","attributesAfter","getRevisionDocumentData","11419670GTsFSd","_typeCharToViewClass","_makeModelFromViewString","parse","view","div","innerHTML","default","5547780VFZEzQ","_appendChild","8924984HAAYlM","config","string","_removeRevisionMarkers","insertions","children","2725386sgQnca","marked","viewChildrenToDom","domDocument"];return(st=function(){return t})()}function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=359]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(886820===-parseInt(e(405))/1*(-parseInt(e(368))/2)+parseInt(e(360))/3+parseInt(e(381))/4+parseInt(e(431))/5+parseInt(e(389))/6*(-parseInt(e(413))/7)+-parseInt(e(383))/8+parseInt(e(423))/9*(-parseInt(e(373))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class rt extends J.Plugin{static get[it(367)](){return it(414)}static get[it(419)](){return!0}static get[it(370)](){return!0}[it(362)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[it(374)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[it(408)](t,e){const i=it;if(t[i(365)]||!e)return;const s=this[i(425)][i(384)][i(416)](i(359)),n=await e[i(395)]({channelId:s,revisionId:t.id});t[i(365)]=n[i(365)]}[it(372)](t){const e=it,i={};for(const s in t[e(365)]){if(t[e(365)][s][e(399)]&&!t[e(365)][s][e(399)][e(404)])continue;const n=this[e(386)](JSON[e(376)](t[e(365)][s][e(387)])),r=this[e(425)][e(407)][e(377)][e(412)],o=new X.ViewDocumentFragment(r,n[e(401)]((t=>this[e(366)](t,!1))));this[e(425)][e(398)][e(420)][e(396)](e(390)),i[s]=this[e(425)][e(398)][e(420)][e(415)](o),this[e(425)][e(398)][e(420)][e(396)](e(380))}return i}[it(411)](t){const e=it,i={};for(const s in t[e(365)])t[e(365)][s][e(399)]&&!t[e(365)][s][e(399)][e(404)]||(i[s]=t[e(365)][s][e(371)]||{});return i}[it(397)](t){const e=it;return this[e(362)][e(416)](t[e(418)])}[it(366)](t,e){const i=it,s=this[i(425)][i(407)][i(377)][i(412)];if(i(385)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(429)]||"r"==t[i(429)]?[]:t[i(388)][i(401)]((t=>this[i(366)](t,e)));const o=this[i(374)][i(416)](t[i(429)])||X.ViewElement,a=this[i(425)][i(398)][i(369)][i(403)];if(n=new o(s,t[i(361)],t[i(402)],r),"u"==t[i(429)]&&t[i(388)][0]){const r=t[i(388)][0];if(n[i(393)]=function(t){const e=i,s=t[e(363)](e(378));return s[e(379)]=r,s[e(406)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(382)](n);const e=Array[i(417)](a[i(391)](t,{bind:!1})),r=a[i(392)][i(363)](i(378));r[i(422)](...e),n=Array[i(417)](a[i(394)](r))[0]}}else if("r"==t[i(429)]&&t[i(388)][0]){const r=t[i(388)][0];if(n[i(393)]=function(t){t[i(379)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(382)](n);const e=Array[i(417)](a[i(391)](t,{bind:!1})),r=a[i(392)][i(363)](i(378));r[i(422)](...e);const o=Array[i(417)](a[i(394)](r));o[i(426)]>1?n[i(382)](o):n=o[0]}}if(t[i(364)])for(const[e,s]of t[i(364)])n[i(409)](e,s);const c=void 0===t[i(433)]?null:t[i(433)];return null!==c&&(n[i(400)]=()=>c),n}}[it(375)](t){const e=it,i=JSON[e(376)](t),s=this[e(425)][e(407)][e(377)][e(412)],n=new X.ViewDocumentFragment(s,i[e(401)]((t=>this[e(366)](t,!0))));return this[e(425)][e(398)][e(421)](n)}[it(386)](t){const e=it;return(t=t[e(430)]((t=>!t[e(361)]||e(424)!==t[e(361)]&&e(427)!==t[e(361)])))[e(432)]((t=>{const i=e;i(385)!=typeof t&&(t[i(388)]=this[i(386)](t[i(388)]),t[i(402)]=t[i(402)][i(430)]((t=>!t[0][i(428)](i(410)))))})),t}}function ot(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function at(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 ct(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return ut(t,e,r,o)}return ut(t,e,r,o)}function ut(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return M(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=(s=s??new Map).get(t),V=s.get(i);if(null!=R&&null!=V)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ct(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>ct(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ct(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,s,x)||at(t)&&at(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ct(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=vt;function ft(){const t=["getRoot","_authorId","pluginName","tableCell","getLatestVersion","reinsert","_replaceEditorDataWithRevisionData","_appendChild","uiElement","for","editor","startsWith","_handleRootOperation","_loadedStateData","_handleInsertOperation","detachRoot","_execute","802872iPyyHs","createRange","_markChanges","rootName","5TclszS","get","evaluationLimit","_savedMetaData","_makeModelFromViewString","attributesBefore","RevisionHistory","graveyardPosition","revisionHistoryLicenseKeyExpired","end","_touchedRoots","reverse","define","_getViewJson","_getState","_operations","getChild","sort","getRange","_baseRoots","then","createElement","revisionHistoryLicenseKeyUsageLimit","getTime","_bufferedUpdates","sendBufferedUpdates","_setConversion","push","creator","previousPosition","_baseRootsAttributes","557224mdpZfL","reInit","toVersion","item","upcast","revisionHistoryLicenseKeyEvaluationLimit","targetPosition","editor-initial-data-replaced-with-revision-data","element","getAttribute","getRevisionRootsAttributes","getMovedRangeStart","render","baseVersion","updateRevisions","_insertChild","_applyOperations","getUser","_createInitialRevision","featureNotAllowed","createPositionAfter","_getVidAttributeName","_findInsertionIndex","_idsRoots","offsetSize","revisionHistoryLicenseKeyNotAllowed","delete","customProperties","conversion","userId","_setAttribute","source","stringify","elementStart","_touchedMarkers","getChildren","242BDlIhL","innerHTML","_handleMergeOperation","_update","_cloneOperation","getCustomProperties","_handleSplitOperation","getNodeByPath","diffData","data","model","_source","5170020oAlsSG","_continueCurrentRevision","finally","domConverter","elementEnd","rootsAttributes","bind","authors","range","getAttributes","outerHTML","RevisionTracker","name","version","from","createRangeIn","RevisionHistoryUtils","setRevisionData","_diffRoots","clone","saveRevision","marker","getRevision","htmlProcessor","destroy","fillerOffset","oldRange","usageLimit","move","_handleRootAttributeOperation","shift","keys","RevisionsRepository","PENDING_ACTION_REVISION_HISTORY","getIndex","_pendingAction","getRevisionDocumentData","offset","markerToData","keepParagraph","map","isReady","fromVersion","revisionHistory.resumeUnsavedRevision","vid_start","_isPendingUpdate","revisionHistoryLicenseKeyDomainLimit","_calculateMetaData","expired","_isInit","_processRootBeforeSave","key","isOfficialPlugin","config","_fixPosition","removeRootAttribute","_addPendingAction","$comment","getOperation","currentRevision","affectsData","initialData","dataToMarker","trim","9uVmkrL","_getFromVersion","fromEntries","update","_loadState","_getBaseVids","Empty document","loadState","_getTypeCharForViewElement","repository","clear","_getPreviousFrom","_copyMarkers","getCurrentRevisionId","locale","_createFromRanges","getFillerOffset","collaboration.channelId","_prepareViewToSave","authorsIds","_saveMetaData","find","markers","getData","1949787bqTwDx","revisionHistoryLicenseKeyValid","text","includes","_revisionId","_createCurrentRevision","revisionHistoryLicenseKeyInvalid","_removeMetaData","adapter","isEqual","length","add","addRevision","isPremiumPlugin","history","stickiness","addRoot","deletions","_showLicenseError","isAttached","_removePendingAction","NEGATIVE_INFINITY","_baseIdsRoots","$graveyard","paragraph","loadRevisionData","addRootAttribute","childCount","createRevision","revision:","resolve","set","addRevisionData","invalid","getTransformedByOperation","Users","setSource","1074380HQBXNw","PendingActions","createPositionAt","dataDowncast","$text","_markers","vid_end","start","changeRootAttribute","getRevisions","merge","_handleMarkerOperation","createPositionFromPath","type","_utils","position","Initial revision","ready","_initialRevisionId","nodes","parent","slice","_bufferUpdate","newValue","_fixOperation","children","_clone","values","sourcePosition","isAdd","documentFragment","licenseKey","_diffRootsAttributes","remove","getWalker","split","init","_generateTape","getAncestors","deletion","some","_isAttached","3891084nXsBkN","max","hasContent","path","_transformMarkers","62098DjApIp","buildRevisionData","insertions","attachChange","rawElement","creatorId","_startingVersion","_lastFrom","_revisionDataBuilder","_startingRevisionId","filter","splitPosition","plugins","has","_handleMoveOperation","root","initial","insertionPosition","insert","size","3bIXceH","getOperations","string","revision","createdAt","document","_touched","roots","_makeRevision","_fixRange","newRange","getRootNames","toView","_licenseKeyCheckInterval","requires","_reset","isEnabled","revisionHistoryLicenseKeyTrialLimit","afterInit","_makeIdsRoot","createPositionBefore","howMany","attributesAfter","RealTimeCollaborationClient","nodeAfter","domDocument","insertion","domainLimit","_handleOperation","vid","trialLimit","_lastTo"];return(ft=function(){return t})()}!function(t){const e=vt,i=t();for(;;)try{if(491005===parseInt(e(242))/1+parseInt(e(346))/2*(parseInt(e(262))/3)+-parseInt(e(561))/4*(parseInt(e(315))/5)+-parseInt(e(394))/6+-parseInt(e(482))/7+parseInt(e(311))/8*(-parseInt(e(458))/9)+parseInt(e(519))/10*(parseInt(e(382))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class mt extends J.Plugin{[dt(550)];[dt(275)];[dt(453)]=null;[dt(467)];[dt(490)]=null;[dt(250)];[dt(393)];[dt(537)];[dt(339)];[dt(533)];[dt(429)];[dt(395)];[dt(248)];[dt(307)];static get[dt(296)](){return dt(405)}static get[dt(446)](){return!0}static get[dt(495)](){return!0}static get[dt(276)](){return[G.Users,et,rt,J.PendingActions]}constructor(e){const i=dt;super(e),this[i(467)]=this[i(304)][i(254)][i(316)](i(426)),this[i(533)]=this[i(304)][i(254)][i(316)](i(410)),this[i(250)]=new pt(this[i(304)]),this[i(537)]=this[i(304)][i(447)][i(316)](i(475))||i(258),this[i(339)]=new Map,this[i(307)]=null;const s=(0,t.uid)();this[i(393)]={history:this[i(304)][i(392)][i(267)][i(496)],getLatestVersion:()=>Promise[i(512)](this[i(304)][i(392)][i(267)][i(407)]),getCurrentRevisionId:()=>s},this[i(513)](i(435),!1),this[i(513)](i(278),!0),this[i(513)](i(439),!1),this[i(304)][i(447)][i(327)](i(437),!0),this[i(304)][i(374)][i(303)](i(350))[i(456)]({view:i(265)})}[dt(555)](){const t=dt;this[t(341)](),this[t(304)][t(391)].on(t(536),(()=>{const e=t,i=this[e(467)][e(416)](0),s=i&&null===i[e(343)]?i:null;if(this[e(395)]=!!s&&this[e(304)][e(447)][e(316)](e(437)),this[e(304)][e(254)][e(255)](e(285))){const t=this[e(393)][e(471)](),n=this[e(467)][e(416)](t);if(n)this[e(248)]=n[e(436)],this[e(395)]=!1;else{const t=this[e(393)][e(496)][e(330)][e(479)]((t=>!t[e(443)])),n=t?t[e(359)]:this[e(393)][e(496)][e(407)];i?(i[e(348)]<n&&i[e(385)]({toVersion:n}),this[e(395)]?(this[e(393)][e(471)]=()=>s.id,this[e(248)]=s[e(436)]):(this[e(248)]=i[e(348)],this[e(395)]=!1)):(this[e(248)]=n,this[e(395)]=!1)}}else s&&(this[e(304)][e(392)][e(267)][e(496)][e(407)]=Math[e(562)](s[e(348)],this[e(304)][e(392)][e(267)][e(496)][e(407)]),s[e(436)]===s[e(348)]?(0!==s[e(436)]&&(this[e(393)][e(471)]=()=>s.id),this[e(395)]=!1):this[e(395)]&&(this[e(393)][e(471)]=()=>s.id,this[e(248)]=s[e(436)])),this[e(395)]||(this[e(248)]=this[e(304)][e(392)][e(267)][e(407)]);this[e(250)][e(555)](this[e(393)][e(496)]),this[e(364)](this[e(248)]),this[e(487)](this[e(248)]),this[e(490)]&&this[e(340)]()})),this[t(400)](t(435)).to(this,t(439),(t=>!t)),this[t(550)]=this[t(304)][t(447)][t(316)](t(550));const e=this[t(304)];this[t(275)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(483)==r||i(488)==r||i(323)==r||i(440)==r||i(371)==r||i(351)==r||i(279)==r||i(337)==r){delete e[n],s=r,clearInterval(this[i(275)]),this[i(275)]=void 0;break}}i(488)==s&&e[i(500)](i(515)),i(323)==s&&e[i(500)](i(442)),i(440)==s&&e[i(500)](i(289)),i(371)==s&&e[i(500)](i(365),i(321)),i(351)==s&&e[i(500)](i(317)),i(279)==s&&e[i(500)](i(292)),i(337)==s&&e[i(500)](i(421))}),1e3)}async[dt(280)](){const t=dt;if(this[t(467)][t(492)]>0){const e=this[t(467)][t(416)](0),i=await this[t(430)](e),s=await this[t(356)](e);this[t(300)](i,s)}}[dt(418)](){const t=dt;super[t(418)](),this[t(275)]&&clearInterval(this[t(275)])}[dt(518)](t){this[dt(393)]=t}async[dt(461)](){const t=dt,e=await this[t(393)][t(298)]();if(e>this[t(453)][t(348)]){await this[t(462)]();const i=this[t(243)]({revision:this[t(453)],to:e});i[t(401)]=i[t(477)][t(434)]((e=>this[t(304)][t(254)][t(316)](t(517))[t(363)](e))),this[t(453)][t(385)](i)}}async[dt(414)](e={},i=null){const s=dt,n=[];await this[s(462)](),this[s(395)]=!1,i>this[s(453)][s(348)]&&(i=null),null===i&&(i=await this[s(393)][s(298)]());const r=this[s(459)](i),o=this[s(243)]({from:r,to:i});if(this[s(453)][s(348)]<i){const t=this[s(243)]({revision:this[s(453)],from:i,to:i});t[s(401)]=[],t[s(477)]=[],t.id=this[s(453)].id,this[s(453)][s(385)](t,!0),delete t[s(401)],n[s(342)](t)}e[s(247)]=this[s(304)][s(254)][s(316)](s(517)).me.id,e[s(406)]=e[s(406)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(514)](e);n[s(342)](e);const c=this[s(467)][s(428)](a);if(0!==c){const t=this[s(467)][s(416)](c-1);if(t[s(436)]!==i){const r=this[s(250)][s(481)](i,t[s(348)]),o={id:t.id,diffData:r[s(390)],authorsIds:r[s(477)],authors:r[s(477)][s(434)]((t=>this[s(304)][s(254)][s(316)](s(517))[s(363)](t))),fromVersion:i};t===this[s(453)]&&(o[s(266)]=new Date(e[s(266)][s(338)]()+10)),t[s(385)](o,!0),delete o[s(401)],n[s(342)](o)}}if(this[s(490)]){for(const t of n)this[s(541)](t.id,t,!0);this[s(340)]()}return a}[dt(514)](t){const e=dt,i=this[e(467)][e(510)](t);return this[e(490)]&&i.on(e(385),((t,i,s)=>{const n=e;s||(this[n(541)](i.id,i,!0),this[n(340)]())})),this[e(467)][e(494)](i,this[e(368)](i)),i}async[dt(430)](t){const e=dt;return await this[e(533)][e(507)](t,this[e(490)]),this[e(533)][e(430)](t)}async[dt(356)](t){const e=dt;return await this[e(533)][e(507)](t,this[e(490)]),this[e(533)][e(356)](t)}[dt(340)](){const t=dt;if(0===this[t(339)][t(261)])return;if(this[t(439)])return;let e=Array[t(408)](this[t(339)][t(546)]());this[t(339)][t(468)]();for(let i=0;i<e[t(492)];i++){const s=e[i];let n=!1;for(const e of Object[t(425)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(252)]((t=>null!==t)),!e[t(492)])return;for(let i=0;i<e[t(492)];i++){const s=e[i];void 0!==s[t(436)]&&void 0===s[t(348)]&&(s[t(348)]=this[t(467)][t(416)](s.id)[t(348)]),void 0!==s[t(348)]&&void 0===s[t(436)]&&(s[t(436)]=this[t(467)][t(416)](s.id)[t(436)])}const i=this[t(304)][t(447)][t(316)](t(475));this[t(439)]=!0,this[t(450)](),this[t(490)][t(360)](e,i)[t(396)]((()=>{this[t(439)]=!1}))[t(335)]((e=>{const i=t;if(e)for(const t of e)this[i(411)]({id:t.id,createdAt:t[i(266)]});this[i(502)](),this[i(340)]()}))}[dt(243)]({revision:t=null,from:e=null,to:i=null}){const s=dt;e=null!==e?e:t[s(436)],i=null!==i?i:t[s(348)];const n=this[s(250)][s(481)](e,i),r={diffData:n[s(390)],authorsIds:n[s(477)],fromVersion:e,toVersion:i};if(!t||i!==t[s(348)]){const t=i-1,e=this[s(393)][s(496)][s(452)](t);r[s(266)]=e&&e[s(266)]||new Date}if(this[s(307)]&&e===this[s(307)][s(436)])for(const t of this[s(307)][s(401)])r[s(477)][s(485)](t.id)||r[s(477)][s(342)](t.id);return r}[dt(541)](t,e,i){const s=dt;if(this[s(339)][s(255)](t)){const n=this[s(339)][s(316)](t);e=i?{...n,...e}:{...e,...n}}this[s(339)][s(513)](t,e)}[dt(411)](t){const e=dt,i=this[e(467)][e(416)](t.id);if(t[e(266)]&&(t[e(266)]=new Date(t[e(266)])),t[e(477)]){const i=this[e(304)][e(254)][e(316)](e(517));t[e(401)]=t[e(477)][e(434)]((t=>i[e(363)](t)))}i[e(385)](t,!0)}[dt(364)](t){const e=dt,i=this[e(467)][e(416)](this[e(467)][e(492)]-1);if(i)this[e(537)]=i.id;else{const i=!this[e(304)][e(392)][e(267)][e(269)][e(479)]((t=>this[e(304)][e(392)][e(563)](t))),s=this[e(304)][e(254)][e(316)](e(517)).me.id,n=ot(this[e(304)][e(472)],e(i?464:535));this[e(270)]({from:t,to:t,id:this[e(537)],name:n,creatorId:s})}}[dt(487)](t){const e=dt,i=this[e(393)][e(471)]();this[e(453)]=this[e(467)][e(416)](i),this[e(453)]||(this[e(453)]=this[e(270)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(462)](){const t=dt;this[t(395)]&&!this[t(307)]&&(await this[t(533)][t(507)](this[t(453)],this[t(490)]),this[t(250)][t(465)](this[t(453)]),this[t(307)]={fromVersion:this[t(453)][t(436)],authors:this[t(453)][t(401)][t(540)]()})}[dt(300)](e,i){const s=dt;let n=this[s(304)][s(447)][s(316)](s(455)),r=this[s(304)][s(447)][s(316)](s(399));if(void 0===n){n={};for(const t of this[s(304)][s(392)][s(267)][s(273)]())n[t]=""}if(s(264)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(304)][s(392)][s(267)][s(273)]())r[t]={}}let o=!1;const a=Object[s(425)](n),c=Object[s(425)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(457)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[s(425)](r[t])[s(492)]>0){o=!0;break}}o||(o=c[s(559)]((t=>!this[s(304)][s(392)][s(267)][s(294)](t)))),o&&(0,t.logWarning)(s(353),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(304)][s(447)][s(513)](s(455),e),this[s(304)][s(447)][s(513)](s(399),i)}[dt(450)](){const t=dt;if(!this[t(429)]){const e=this[t(304)][t(254)][t(316)](t(520));this[t(429)]=e[t(493)](ot(this[t(304)][t(472)],t(427)))}}[dt(502)](){const t=dt;this[t(429)]&&(this[t(304)][t(254)][t(316)](t(520))[t(552)](this[t(429)]),this[t(429)]=null)}[dt(368)](t){const e=dt,i=this[e(467)][e(528)]();i[e(326)]();let s=0;for(;s<i[e(492)];){const n=i[s];if(n===this[e(453)]){s++;continue}if(n.id===this[e(537)])break;const r=t[e(348)]-n[e(348)]||t[e(436)]-n[e(436)];if(r>0)break;if(r<0)s++;else{if(!t[e(343)]&&n[e(343)])break;if(n[e(343)]||!t[e(343)]){if(t[e(266)]>n[e(266)])break;s++}else s++}}return s}[dt(459)](t){const e=dt,i=this[e(467)][e(528)]();i[e(326)](),i[e(424)]();const s=i[e(479)]((i=>i[e(348)]<=t))[e(348)];return s<this[e(248)]?this[e(248)]:s}[dt(270)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=dt,o=this[r(243)]({from:e,to:i});o[r(406)]=t,o[r(247)]=s,o.id=n;const a=this[r(514)](o);return this[r(490)]&&this[r(541)](o.id,o,!0),a}[dt(341)](){const t=dt;this[t(304)][t(374)][t(303)](t(522))[t(432)]({model:t(265)})}}class pt{[dt(304)];[dt(377)];[dt(318)];[dt(249)];[dt(293)];[dt(524)];[dt(412)];[dt(551)];[dt(334)];[dt(345)];[dt(369)];[dt(504)];[dt(268)];[dt(380)];[dt(325)];[dt(486)];[dt(251)];constructor(t){const e=dt;this[e(304)]=t,this[e(318)]=new Map,this[e(249)]=-1,this[e(293)]=-1,this[e(524)]=new Map,this[e(412)]=new Map,this[e(551)]=new Map,this[e(334)]=new Map,this[e(345)]=new Map,this[e(369)]=new Map,this[e(504)]=new Map,this[e(268)]=new Map,this[e(380)]=new Map,this[e(325)]=new Map,this[e(486)]=1}[dt(555)](t){const e=dt;this[e(377)]=t;const i=new Map,s=new Map,n=this[e(304)][e(392)][e(267)][e(269)][e(434)]((t=>t[e(314)]));for(const t of n){const n=this[e(304)][e(392)][e(267)][e(294)](t),r=gt(n);i[e(513)](t,r),s[e(513)](t,Object[e(460)](n[e(403)]()))}const r=Array[e(408)](this[e(304)][e(392)][e(480)])[e(434)]((t=>[t[e(406)],t[e(333)]()])),o=this[e(377)][e(407)];this[e(478)](o,i,r,s),this[e(251)]=this[e(486)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(513)](t,i),c[e(513)](t,{})}this[e(478)](Number[e(503)],a,[],c)}[dt(481)](t,e){const i=dt;if(this[i(249)]===t&&this[i(293)]<=e)this[i(318)][i(261)]>1&&this[i(489)](this[i(293)]),this[i(362)](this[i(293)],e,!0);else{if(!this[i(318)][i(255)](t)){const e=this[i(469)](t);this[i(441)](e,t,!1)}this[i(441)](t,e,!0)}return this[i(249)]=t,this[i(293)]=e,this[i(329)]()}[dt(465)](t){const e=dt,i=this[e(304)][e(254)][e(316)](e(410));this[e(277)](),this[e(249)]=t[e(436)],this[e(293)]=t[e(348)];for(const s in t[e(390)]){const n=t[e(390)][s][e(245)],r=R(t[e(390)][s][e(320)])||{},o=i[e(319)](t[e(390)][s][e(499)]);o[e(314)]=s,o[e(560)]=!n||!n[e(501)],o[e(501)]=()=>o[e(560)],this[e(334)][e(513)](s,o),this[e(345)][e(513)](s,r),n&&this[e(325)][e(513)](s,n);const a=this[e(281)](o);this[e(504)][e(513)](s,a);for(const[t,i]of o[e(480)]){if(!t[e(305)](e(511)))continue;const s=t[e(554)](":")[2];for(const t of i[e(553)]({singleCharacters:!0})){const i=this[e(367)](t),n=e(398)==t[e(532)]?t[e(344)][e(564)][e(540)](0,-1):t[e(344)][e(564)],r=a[e(389)](n)[e(355)](i);this[e(268)][e(513)](r,{userId:s})}}}this[e(251)]=this[e(486)];const s=[...Array(this[e(486)])[e(425)]()][e(540)](1)[e(252)]((t=>!this[e(268)][e(255)](t)));let n=0;const r=new Map;for(const o in t[e(390)]){const a=t[e(390)][o][e(245)],c=R(t[e(390)][o][e(284)])||{},u=i[e(319)](t[e(390)][o][e(244)]);u[e(314)]=o,u[e(560)]=!a||a[e(501)],u[e(501)]=()=>u[e(560)],this[e(412)][e(513)](o,u),this[e(551)][e(513)](o,c);const l=this[e(281)](u,Number[e(503)]);this[e(369)][e(513)](o,l),r[e(513)](o,u[e(501)]()?c:{});for(const[t,i]of u[e(480)]){if(!t[e(305)](e(511)))continue;const s=t[e(554)](":")[2];for(const t of i[e(553)]({singleCharacters:!0})){const i=this[e(367)](t),n=this[e(486)]++,r=e(398)==t[e(532)]?t[e(344)][e(564)][e(540)](0,-1):t[e(344)][e(564)];l[e(389)](r)[e(376)](i,n),this[e(268)][e(513)](n,{userId:s})}}for(const t of this[e(304)][e(392)][e(409)](u)[e(553)]({singleCharacters:!0})){const i=this[e(367)](t),r=e(398)==t[e(532)]?t[e(344)][e(564)][e(540)](0,-1):t[e(344)][e(564)],o=l[e(389)](r);o[e(355)](i)>0||o[e(376)](i,s[n++])}for(const[t,i]of u[e(480)])t[e(305)](e(511))||this[e(524)][e(513)](t,i)}const o=yt(e(505));this[e(334)][e(513)](e(505),o),this[e(504)][e(513)](e(505),this[e(281)](o,1));const a=yt(e(505));this[e(412)][e(513)](e(505),a),this[e(369)][e(513)](e(505),this[e(281)](a,1));const c=Array[e(408)](this[e(412)])[e(434)]((([t,e])=>[t,gt(e)]));this[e(478)](this[e(293)],c,this[e(524)],r)}[dt(347)](){const t=dt;this[t(277)](),this[t(249)]=-1,this[t(293)]=-1,this[t(318)][t(468)](),this[t(555)](this[t(377)])}[dt(478)](t,e,i,s){const n=dt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(513)](t,{start:e[n(526)][n(413)](),end:e[n(324)][n(413)](),rootName:e[n(257)][n(314)]});this[n(318)][n(513)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(489)](t){const e=dt;this[e(318)][e(372)](t)}[dt(277)](){const t=dt;this[t(268)][t(468)](),this[t(380)][t(468)](),this[t(325)][t(468)](),this[t(412)][t(468)](),this[t(551)][t(468)](),this[t(334)][t(468)](),this[t(345)][t(468)](),this[t(369)][t(468)](),this[t(504)][t(468)](),this[t(524)][t(468)](),this[t(486)]=1,this[t(251)]=this[t(486)]}[dt(281)](t,e=null){const i=dt;let s=null;t.is(i(549))||(s=new X.Element(t[i(406)],{vid_start:null===e?this[i(486)]++:e++}));const n=[];for(const s of t[i(381)]())if(s.is(i(354))){n[i(342)](this[i(281)](s,e));const t=n[n[i(492)]-1];null!==e&&(e=t.is(i(354),i(523))?t[i(355)](i(291))+1:t[i(355)](i(525))+1)}else for(let t=0;t<s[i(370)];t++)n[i(342)](new X.Element(i(523),{vid:null===e?this[i(486)]++:e++}));if(t.is(i(549))){const e=yt(t[i(314)]);return e[i(361)](0,n),e}return s[i(376)](i(525),null===e?this[i(486)]++:e++),s[i(361)](0,n),s}[dt(441)](t,e,i){const s=dt;this[s(277)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(318)][s(316)](t);this[s(334)]=new Map(n),this[s(345)]=new Map(R(o));for(const[t,e]of this[s(334)])if(s(505)!==t&&(this[s(412)][s(513)](t,gt(e)),this[s(551)]=new Map(R(o)),i)){const i=this[s(486)];this[s(369)][s(513)](t,this[s(281)](e)),this[s(504)][s(513)](t,this[s(281)](e,i))}this[s(251)]=this[s(486)],this[s(412)][s(513)](s(505),gt(this[s(334)][s(316)](s(505)))),i&&this[s(369)][s(513)](s(505),this[s(281)](this[s(334)][s(316)](s(505))));for(const[t,e]of r){const i=this[s(334)][s(316)](e[s(314)]),n=this[s(412)][s(316)](e[s(314)]),r=new X.Range(this[s(448)](e[s(526)],i),this[s(448)](e[s(324)],i)),o=this[s(271)](r,n);i[s(480)][s(513)](t,r),this[s(524)][s(513)](t,o)}this[s(362)](t,e,i)}[dt(362)](t,e,i){const s=dt;for(const n of this[s(377)][s(263)](t,e))this[s(290)](n,i);for(const t of this[s(412)][s(546)]())t[s(480)][s(468)]();for(const[t,e]of this[s(524)])this[s(412)][s(316)](e[s(257)][s(314)])[s(480)][s(513)](t,e[s(413)]());const n=new Map,r=new Map;for(const[t,e]of this[s(412)])n[s(513)](t,gt(e)),r[s(513)](t,this[s(551)][s(316)](t));this[s(478)](e,n,this[s(524)],r)}[dt(469)](t){const e=dt,i=Array[e(408)](this[e(318)][e(425)]());i[e(332)](((t,e)=>t-e)),i[e(326)]();for(const e of i)if(e<t)return e;return Number[e(503)]}[dt(470)](t,e){const i=dt,s=Array[i(408)](e[i(480)])[i(434)]((([e,s])=>[e,this[i(271)](s,t)]));t[i(480)]=new Map(s)}[dt(565)](t){const e=dt;for(const i of this[e(524)][e(546)]()){const s=i[e(516)](t),n=X.Range[e(473)](s);i[e(526)]=n[e(526)],i[e(324)]=n[e(324)]}}[dt(290)](t,e){const i=dt;if(i(498)!=t[i(532)]&&i(309)!=t[i(532)]){if(i(260)==t[i(532)]){const s=t[i(534)][i(257)][i(314)];this[i(412)][i(255)](s)||(this[i(412)][i(513)](s,yt(s,!0)),this[i(551)][i(513)](s,{}),e&&this[i(369)][i(513)](s,yt(s,!0)))}else{if(i(508)==t[i(532)]||i(449)==t[i(532)]||i(527)==t[i(532)])return void this[i(423)](t);i(415)==t[i(532)]&&this[i(530)](t)}if(i(415)!==t[i(532)]){const e=this[i(386)](t,this[i(412)]);e[i(310)](),this[i(565)](e)}if(e)switch(t[i(532)]){case i(260):this[i(308)](t);break;case i(422):case i(552):case i(299):this[i(256)](t);break;case i(529):this[i(384)](t);break;case i(554):this[i(388)](t)}}else this[i(306)](t,e)}[dt(386)](t,e){const i=dt,s=t[i(413)]();return s[i(295)]=t[i(295)],this[i(543)](s,e),s}[dt(463)](t){const e=dt;return t[e(434)]((t=>{const i=e,s=this[i(367)](t);return Number(t[i(349)][i(355)](s))}))}[dt(556)](t,e){const i=dt;if(t.is(i(354),i(523)))e[i(342)]({item:t,type:i(484)});else{t.is(i(354))&&e[i(342)]({item:t,type:i(379)});for(const s of t[i(381)]())this[i(556)](s,e);t.is(i(354))&&e[i(342)]({item:t,type:i(398)})}return e}[dt(329)](){const t=dt,e=new Map(this[t(268)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(334)][t(425)](),...this[t(412)][t(425)]()]);a[t(372)](t(505));for(const e of a){const i=this[t(412)][t(316)](e)||yt(e,!1),s=this[t(334)][t(316)](e)||yt(e,!1);i[t(501)]()||s[t(501)]()?(n[t(244)][e]=gt(i),n[t(499)][e]=gt(s),this[t(470)](n[t(499)][e],s),this[t(470)](n[t(244)][e],i),r[t(244)][e]=this[t(556)](this[t(369)][t(316)](e),[]),r[t(499)][e]=this[t(556)](this[t(504)][t(316)](e)||yt(e,!1),[])):a[t(372)](e)}for(const n of a){const o=r[t(244)][n];for(const n of o){const r=this[t(367)](n),o=n[t(349)][t(355)](r);i[t(372)](o),o>=this[t(251)]&&s[t(513)](o,e[t(316)](o))}}for(const n of a){const a=r[t(244)][n],c=this[t(463)](r[t(499)][n]);let u=0;for(const n of a){const r=this[t(367)](n),a=n[t(349)][t(355)](r);if(!s[t(255)](a)&&!o[t(255)](a))if(i[t(255)](a))u++;else{if(a!=c[u]){const s=e[t(316)](a)||e[t(316)](c[u]);for(;a!=c[u];)i[t(255)](c[u])||(o[t(513)](c[u],s),e[t(513)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(244)][e];for(const e of n){const n=this[t(367)](e),r=e[t(349)][t(355)](n);if(o[t(255)](r)){const e=o[t(316)](r);i[t(255)](r)||i[t(513)](r,{...e}),s[t(513)](r,{...e})}}}for(const e of i[t(425)]())e>=this[t(251)]&&i[t(372)](e);const c=new Map;for(const e of a){let n=r[t(244)][e];for(const e of n)if(e[t(349)].is(t(354),t(297))){const i=this[t(367)](e),n=e[t(349)][t(355)](i);if(s[t(255)](n)){const i=e[t(349)][t(539)][t(539)][t(355)](t(438)),r=c[t(316)](i)||new Set;r[t(493)](s[t(316)](n)[t(375)]),c[t(513)](i,r)}}n=r[t(499)][e];for(const e of n)if(e[t(349)].is(t(354),t(297))){const s=this[t(367)](e),n=e[t(349)][t(355)](s);if(i[t(255)](n)){const s=e[t(349)][t(539)][t(539)][t(355)](t(438)),r=c[t(316)](s)||new Set;r[t(493)](i[t(316)](n)[t(375)]),c[t(513)](s,r)}}for(const e of c[t(425)]())(s[t(255)](e)||i[t(255)](e))&&c[t(372)](e)}for(const e of a){const n=r[t(244)][e];let o=null,a=null;for(const e of n){const n=this[t(367)](e),r=e[t(349)][t(355)](n),u=c[t(316)](r);u&&t(379)==e[t(532)]&&(o=Array[t(408)](u)[0],a=e[t(349)][t(355)](t(525))),o&&(i[t(513)](r,{userId:o}),s[t(513)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(499)][e],a=n[t(244)][e];for(const{userId:e}of this[t(380)][t(546)]())null!==e&&l[t(493)](e);for(const{userId:e}of this[t(325)][t(546)]())null!==e&&l[t(493)](e);this[t(313)](a,r[t(244)][e],s,t(288),l),this[t(313)](o,r[t(499)][e],i,t(558),l),u[e]={insertions:this[t(476)](a),deletions:this[t(476)](o),attachChange:this[t(325)][t(316)](e)||null,attributesBefore:R(this[t(345)][t(316)](e))||{},attributesAfter:R(this[t(551)][t(316)](e))}}return{diffData:u,authorsIds:Array[t(408)](l)}}[dt(444)](t){const e=dt;for(const[,i]of t[e(480)]){const t=i[e(526)][e(557)]()[e(252)]((t=>e(297)==t[e(406)]));for(const i of t)1==i[e(509)]&&i[e(331)](0).is(e(354),e(506))&&i[e(331)](0)[e(376)](e(433),!0)}}[dt(476)](t){const e=dt;this[e(444)](t);const i=this[e(304)][e(391)][e(274)](t,{}),s=Array[e(408)](i[e(381)]())[e(434)]((t=>this[e(328)](t)));return JSON[e(378)](s)}[dt(328)](t){const e=dt;if(t.is(e(523)))return t[e(391)];{const i=this[e(304)][e(254)][e(316)](e(410)),s=t,n=this[e(304)][e(391)][e(417)][e(397)],r={type:i[e(466)](s),name:s[e(406)],attributes:Array[e(408)](s[e(403)]()),children:Array[e(408)](s[e(381)]())[e(434)]((t=>this[e(328)](t)))};if(t.is(e(302))&&e(451)!=t[e(406)]){const i=t[e(358)](n[e(287)],n);r[e(544)][e(342)](i[e(404)])}else if(t.is(e(246))){const i=n[e(287)][e(336)](s[e(406)]);t[e(358)](i,n),r[e(544)][e(342)](i[e(383)])}const o=Array[e(408)](s[e(387)]());o[e(492)]>0&&(r[e(373)]=o);const a=s[e(474)]();return null!==a&&(r[e(419)]=a),r}}[dt(313)](t,e,i,s,n){const r=dt;let o=null,a=null,c=0;const u=this[r(304)][r(392)];for(let s=0;s<e[r(492)];s++){const n=this[r(367)](e[s]),c=e[s][r(349)][r(355)](n),h=i[r(316)](c),d=s==e[r(492)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(375)]!=o[r(375)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),bt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(375)],d=l(511)+s+":"+h+":"+c++,f=u[l(312)](i,a);t[l(480)][l(513)](d,f),null!==h&&n[l(493)](h)}}[dt(367)](t){const e=dt;switch(t[e(532)]){case e(379):return e(438);case e(398):return e(525);default:return e(291)}}[dt(543)](t,e){const i=dt;t[i(359)]=null;for(const s in t){const n=t[s];if(n instanceof X.Position){const r=e[i(316)](n[i(257)][i(314)]);t[s]=this[i(448)](n,r)}if(n instanceof X.Range){const r=e[i(316)](n[i(257)][i(314)]);t[s]=this[i(271)](n,r)}i(257)===s&&(t[i(257)]=e[i(316)](t[i(257)][i(314)]))}}[dt(271)](t,e){const i=dt;return this[i(304)][i(392)][i(312)](this[i(448)](t[i(526)],e),this[i(448)](t[i(324)],e))}[dt(448)](t,e){const i=dt;return this[i(304)][i(392)][i(531)](e,t[i(564)],t[i(497)])}[dt(308)](t){const e=dt,i=this[e(369)][e(316)](t[e(534)][e(257)][e(314)]),s=this[e(448)](t[e(534)],i),n=null===t[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,r=s[e(539)],o=this[e(486)],a=[];for(const i of t[e(538)])if(i.is(e(354)))a[e(342)](this[e(281)](i));else for(let t=0;t<i[e(370)];t++)a[e(342)](new X.Element(e(523),{vid:this[e(486)]++}));const c=this[e(486)];for(let t=o;t<c;t++)this[e(268)][e(513)](t,{userId:n});r[e(361)](s[e(431)],a)}[dt(256)](t){const e=dt;(t=this[e(386)](t,this[e(369)]))[e(310)]();const i=null===t[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,s=t[e(357)](),n=s[e(539)],r=s[e(431)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(331)](e);r.is(a(354),a(523))?s[a(513)](r[a(355)](a(291)),{userId:i}):(s[a(513)](r[a(355)](a(438)),{userId:i}),t(s,r,0,r[a(509)]),s[a(513)](r[a(355)](a(525)),{userId:i}))}}(this[e(268)],n,r,r+t[e(283)])}[dt(384)](t){const e=dt,i=null===(t=this[e(386)](t,this[e(369)]))[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,s=t[e(352)][e(539)],n=t[e(547)][e(539)],r=s[e(355)](e(525)),o=n[e(355)](e(438));s[e(376)](e(525),n[e(355)](e(525))),n[e(376)](e(525),r),this[e(268)][e(513)](o,{userId:i}),this[e(268)][e(513)](r,{userId:i}),t[e(310)]()}[dt(388)](t){const e=dt,i=null===(t=this[e(386)](t,this[e(369)]))[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,s=t[e(322)],n=t[e(253)][e(539)];t[e(310)]();const r=n[e(355)](e(525)),o=t[e(259)][e(286)];if(s){const t=o[e(355)](e(525)),s=n[e(355)](e(525));n[e(376)](e(525),t),o[e(376)](e(525),s),this[e(268)][e(513)](n[e(355)](e(525)),{userId:i}),this[e(268)][e(513)](o[e(355)](e(438)),{userId:i})}else{const t=this[e(486)]++,s=this[e(486)]++;n[e(376)](e(525),t),o[e(376)](e(438),s),o[e(376)](e(525),r),this[e(268)][e(513)](t,{userId:i}),this[e(268)][e(513)](s,{userId:i})}}[dt(530)](t){const e=dt;if(!t[e(454)])return;const i=(t=this[e(386)](t,this[e(412)]))[e(420)]?t[e(420)][e(257)]:null,s=t[e(272)]?t[e(272)][e(257)]:null;i&&this[e(524)][e(372)](t[e(406)]),s&&this[e(524)][e(513)](t[e(406)],t[e(272)][e(413)]());const n=null===t[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,r=t[e(406)];if(!this[e(380)][e(255)](r))return void this[e(380)][e(513)](r,{range:t[e(420)],userId:n});const o=this[e(380)][e(316)](r),a=o[e(402)],c=t[e(272)];null==a&&null==c||a&&c&&a[e(491)](c)?this[e(380)][e(372)](t[e(406)]):o[e(375)]=n}[dt(306)](t,e){const i=dt;this[i(412)][i(255)](t[i(314)])?this[i(412)][i(316)](t[i(314)])[i(560)]=t[i(548)]:(this[i(412)][i(513)](t[i(314)],yt(t[i(314)],!0)),this[i(551)][i(513)](t[i(314)],{}),e&&this[i(369)][i(513)](t[i(314)],yt(t[i(314)],!0)));const s=null===t[i(295)]?null:t[i(295)]||this[i(304)][i(254)][i(316)](i(517)).me.id,n=this[i(325)][i(316)](t[i(314)]);n&&n[i(375)]===s?this[i(325)][i(372)](t[i(314)]):this[i(325)][i(513)](t[i(314)],{userId:s,isAttached:t[i(548)]})}[dt(423)](t){const e=dt,i=this[e(551)][e(316)](t[e(257)][e(314)]);null===t[e(542)]?delete i[t[e(445)]]:i[t[e(445)]]=t[e(542)]}}function vt(t,e){const i=ft();return(vt=function(t,e){return i[t-=242]})(t,e)}function gt(t){const e=dt,i=yt(t[e(314)],t[e(501)]());for(const s of t[e(381)]()){const t=s[e(545)](!0);i[e(301)](t)}return i}function yt(t,e=!0){const i=dt,s=new X.DocumentFragment;return s[i(314)]=t,s[i(560)]=e,s[i(501)]=()=>s[i(560)],s}function kt(t,e,i){const s=dt,n=s(398)==t[s(532)]?i[s(521)](t[s(349)],s(324)):i[s(282)](t[s(349)]);return i[s(531)](e,n[s(564)],n[s(497)])}function bt(t,e,i){const s=dt,n=s(379)==t[s(532)]?i[s(521)](t[s(349)],0):i[s(366)](t[s(349)]);return i[s(531)](e,n[s(564)],n[s(497)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),Tt=i.n(Ot),xt=i(262),Nt=i.n(xt),At=i(667),Rt=i.n(At),Mt=i(357),Vt=i.n(Mt),Dt=i(426),Et={attributes:{"data-cke":!0}};Et.setAttributes=Rt(),Et.insert=Nt().bind(null,"head"),Et.domAPI=Tt(),Et.insertStyleElement=Vt();St()(Dt.A,Et);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=Rt(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=Tt(),Ft.insertStyleElement=Vt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const jt=Pt;function Lt(){const t=["extendTemplate","arrowup","form","reset","revisionNameInputValue","locale","2090470HYETMY","focus","ck-responsive-form","element","3071730bDMXYN","errorText","listenTo","stopPropagation","_createRevisionNameInput","69254TwHcmq","initializeCssTransitionDisablerMixin","9081yXlkQI","render","ck-revision-history-save-revision-form","label","trim","4wkMZPJ","set","input","arrowleft","3110ETFymn","revisionName","904264kgnfXU","Name of the revision","optional","keystrokes","77usjjov","arrowdown","revisionNameInputView","1402383UAHCSp","arrowright","add","value","220","fieldView","setTemplate","focusTracker","280648ZNZvRW"];return(Lt=function(){return t})()}function Pt(t,e){const i=Lt();return(Pt=function(t,e){return i[t-=295]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(284284===parseInt(e(330))/1+parseInt(e(299))/2+parseInt(e(306))/3*(-parseInt(e(337))/4)+parseInt(e(321))/5+parseInt(e(325))/6+-parseInt(e(303))/7*(parseInt(e(314))/8)+-parseInt(e(332))/9*(parseInt(e(297))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[jt(313)];[jt(302)];[jt(305)];constructor(e,i){const s=jt;super(e),this[s(313)]=new t.FocusTracker,this[s(302)]=new t.KeystrokeHandler,this[s(338)](s(319),""),this[s(305)]=this[s(329)](i),this[s(312)]({tag:s(317),attributes:{class:["ck",s(334),s(323)],tabindex:"-1"},children:[this[s(305)]]}),this[s(331)]()}[jt(333)](){const t=jt;super[t(333)](),(0,_t.submitHandler)({view:this}),this[t(313)][t(308)](this[t(305)][t(324)]),this[t(302)][t(327)](this[t(324)]);const e=e=>e[t(328)]();this[t(302)][t(338)](t(307),e),this[t(302)][t(338)](t(296),e),this[t(302)][t(338)](t(316),e),this[t(302)][t(338)](t(304),e)}[jt(322)](){const t=jt;this[t(305)][t(322)]()}get[jt(298)](){const t=jt;return this[t(305)][t(311)][t(324)][t(309)][t(336)]()}set[jt(298)](t){const e=jt;this[e(305)][e(311)][e(324)][e(309)]=t[e(336)]()}[jt(318)](){const t=jt;this[t(305)][t(311)][t(324)][t(309)]="",this[t(305)][t(326)]=null}[jt(329)](t){const e=jt,i=new _t.LabeledFieldView(this[e(320)],_t.createLabeledInputText),s=i[e(311)];s[e(315)]({attributes:{maxlength:e(310)}});let n=ot(this[e(320)],e(300));return!t&&(n+=" ("+ot(this[e(320)],e(301))+")"),i[e(335)]=n,s.on(e(295),(()=>{const t=e;this[t(319)]=s[t(324)][t(309)][t(336)]()})),i}}const Ht=Wt;function Wt(t,e){const i=Ut();return(Wt=function(t,e){return i[t-=392]})(t,e)}function Ut(){const t=["locale","componentFactory","isOfficialPlugin","_showDialog","get","plugins","hide","ck-button-action","_registerMenuComponent","Revision history","The revision name cannot be empty.","1126312vclwhu","init","bind","requires","menu","role","show","addMany","revisionSave","saveRevision","isOpen","137848JiCxkZ","config","revisionHistory","focus","Open revision history","menuBar:revisionHistory","revisionName","isReadOnly","760zJXcVq","RevisionTracker","submit","Save current revision","reset","menuitem","Cancel","isEnabled","execute","Accept","Dialog","buttonView","_saveRevisionFormView","add","1057284UZGjrT","revisionNameInputView","children","isReady","RevisionHistoryUI","editing","5837730qCbHJJ","isPremiumPlugin","items","view","5DHChZB","panelView","set","delegate","pluginName","showRevisionViewerCallback","32553UHAYxl","revisionHistory.requireRevisionName","_createSaveRevisionFormView","editor","5JRUHki","634044oEqBDT","errorText","1907948ZnxZYk","render"];return(Ut=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(204220===parseInt(e(401))/1*(-parseInt(e(438))/2)+-parseInt(e(412))/3+parseInt(e(427))/4+-parseInt(e(411))/5*(parseInt(e(460))/6)+-parseInt(e(414))/7+parseInt(e(446))/8*(parseInt(e(407))/9)+parseInt(e(397))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Zt extends J.Plugin{static get[Ht(405)](){return Ht(395)}static get[Ht(418)](){return!0}static get[Ht(398)](){return!0}static get[Ht(430)](){return[mt]}[Ht(458)];[Ht(428)](){const t=Ht,e=this[t(410)],i=e[t(421)][t(420)](t(447));e.ui[t(417)][t(459)](t(440),(s=>{const n=t,r=(0,_t.createDropdown)(s),o=r[n(402)][n(393)],a=new _t.ListView(s),c=new _t.ListItemView(s),u=new _t.ButtonView(s),l=new _t.ListItemView(s),h=new _t.ButtonView(s);return r[n(429)](n(453)).to(i,n(394),i,n(453),e,n(445),((t,e,i)=>t&&e&&!i)),r[n(457)][n(403)]({icon:wt.IconHistory,label:ot(s,n(425)),tooltip:!0}),u[n(403)]({label:ot(s,n(449)),withText:!0,role:n(451)}),u[n(429)](n(453)).to(i,n(394),i,n(453),e,n(445),((t,e,i)=>t&&e&&!i)),u.on(n(454),(()=>this[n(419)]())),h[n(403)]({label:ot(s,n(442)),withText:!0,role:n(451)}),h[n(429)](n(453)).to(i,n(394),e,n(445),((t,e)=>t&&!e)),h.on(n(454),(()=>{const t=n;e[t(439)][t(420)](t(440))[t(406)](),r[t(437)]=!1,e[t(396)][t(400)][t(441)]()})),c[n(393)][n(459)](u),l[n(393)][n(459)](h),a[n(432)]=n(431),a[n(399)][n(434)]([c,l]),o[n(459)](a),r})),e.ui[t(417)][t(459)](t(443),(()=>this[t(424)]()))}[Ht(424)](){const t=Ht,e=this[t(410)],i=e[t(416)],s=new _t.MenuBarMenuView(i),n=new _t.MenuBarMenuListView(i);s[t(457)][t(403)]({icon:wt.IconHistory,label:ot(i,t(425))});const r=new _t.MenuBarMenuListItemView(i,s),o=new _t.MenuBarMenuListItemButtonView(i);o[t(403)]({label:ot(i,t(449))}),o[t(404)](t(454)).to(s),o.on(t(454),(()=>{this[t(419)]()})),r[t(393)][t(459)](o),n[t(399)][t(459)](r);const a=new _t.MenuBarMenuListItemView(i,s),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(403)]({label:ot(i,t(442))}),c[t(404)](t(454)).to(s),c.on(t(454),(()=>{const i=t;e[i(439)][i(420)](i(440))[i(406)]()})),a[t(393)][t(459)](c),n[t(399)][t(459)](a),s[t(402)][t(393)][t(459)](n),s}[Ht(419)](){const t=Ht,e=this[t(410)],i=e[t(416)],s=e[t(421)][t(420)](t(456)),n=e[t(421)][t(420)](t(447));function r(n){const r=t;e[r(439)][r(420)](r(408))&&""===n[r(444)]?n[r(392)][r(413)]=ot(i,r(426)):(e[r(421)][r(420)](mt)[r(436)]({name:n[r(444)]}),s[r(422)]())}this[t(458)]||(this[t(409)](),this[t(458)].on(t(448),(()=>r(this[t(458)])))),this[t(458)][t(450)](),s[t(433)]({id:t(435),title:ot(i,t(449)),isModal:!0,content:this[t(458)],actionButtons:[{label:ot(e[t(416)],t(452)),withText:!0,onExecute:()=>s[t(422)]()},{label:ot(e[t(416)],t(455)),class:t(423),withText:!0,onCreate(i){const s=t;i[s(429)](s(453)).to(n,s(394),n,s(453),e,s(445),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(458)])}]})}[Ht(409)](){const t=Ht,e=this[t(410)],i=e[t(416)];this[t(458)]=new zt(i,e[t(439)][t(420)](t(408))),this[t(458)][t(415)]()}}const qt=$t;function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=445]})(t,e)}function Bt(){const t=["name","2323218iHqHmi","9JJFIre","209628YplvXv","12sdffTd","Removed by","data","147880nDUAnB","element","set","focus","15377cNYiXJ","div","7840283BQLVQV","9930230XgrTIi","isSuggestion","21LxjmcX","36qGVcXL","1252990KJCXol","174NWMCZZ","bindTemplate","changeId","author","ck-revision-change__label","Added by","ck-annotation","type","Suggested by","ck-revision-change__","_model","setTemplate","ck-revision-change","span","add"];return(Bt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(909591===parseInt(e(474))/1*(-parseInt(e(448))/2)+-parseInt(e(467))/3*(-parseInt(e(466))/4)+-parseInt(e(447))/5+parseInt(e(464))/6*(parseInt(e(445))/7)+-parseInt(e(470))/8*(parseInt(e(465))/9)+-parseInt(e(477))/10+parseInt(e(476))/11*(parseInt(e(446))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Yt extends _t.View{[qt(450)];[qt(458)];constructor(t,e){const i=qt;super(t),this[i(458)]=e,this[i(450)]=e.id;const s=this[i(449)],n=ot(t,e[i(469)][i(478)]?i(456):i(462)==e[i(455)]?i(453):i(468));this[i(472)](i(455),e[i(455)]),this[i(459)]({tag:i(475),attributes:{class:[i(454),i(460),s.to(i(455),(t=>i(457)+t))],tabindex:-1},children:[{tag:i(461),children:[{tag:i(461),attributes:{class:[i(452)]},children:[{text:n}]},{text:" "+e[i(451)][i(463)]}]}]})}[qt(473)](){const t=qt;this[t(471)][t(473)]()}}var Jt=Gt;function Gt(t,e){var i=Xt();return(Gt=function(t,e){return i[t-=106]})(t,e)}function Xt(){var t=["150704UlQQMR","type","2681060iXHWMy","author","createdAt","5832496bhBHCu","set","411285RujOqg","1541277zYlFMT","6NCLRBi","760319GZwZlY","2226680EDkeuO","data","rootName","toJSON"];return(Xt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(294611===parseInt(e(115))/1+-parseInt(e(108))/2+-parseInt(e(116))/3+parseInt(e(119))/4+parseInt(e(110))/5*(parseInt(e(117))/6)+parseInt(e(118))/7+-parseInt(e(113))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Kt extends((0,t.ObservableMixin)()){id;[Jt(111)];[Jt(109)];[Jt(120)];[Jt(106)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(111)]=e[i(111)],this[i(109)]=e[i(109)],this[i(120)]=e[i(120)]||{},this[i(106)]=e[i(106)],this[i(114)](i(112),e[i(112)])}[Jt(107)](){var t=Jt;return{id:this.id,authorId:this[t(111)].id,type:this[t(109)],data:this[t(120)],createdAt:this[t(112)]}}}const Qt=ee;!function(t){const e=ee,i=t();for(;;)try{if(565918===-parseInt(e(218))/1+parseInt(e(220))/2*(-parseInt(e(228))/3)+parseInt(e(221))/4*(parseInt(e(227))/5)+parseInt(e(224))/6*(-parseInt(e(219))/7)+-parseInt(e(213))/8*(parseInt(e(217))/9)+-parseInt(e(215))/10+-parseInt(e(229))/11*(-parseInt(e(216))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class te{[Qt(223)];[Qt(214)];[Qt(226)];constructor(e,i){const s=Qt;this[s(223)]=e,this[s(214)]=i,this[s(226)]=new t.Collection}[Qt(222)](t){const e=Qt;for(const i of t)this[e(226)][e(225)](i)}}function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=213]})(t,e)}function ie(){const t=["21743953JWIYRh","1559144HwEoTJ","oldRevisionId","1738100ASyzDY","12isirFJ","9XqpLSo","1053278sISqnJ","84EGpZXc","2GMcMnQ","4NUKHPT","_setChanges","newRevisionId","50574jTqszS","add","changes","4259965PBjcqt","2219007AdEgzL"];return(ie=function(){return t})()}var se=i(536),ne={attributes:{"data-cke":!0}};ne.setAttributes=Rt(),ne.insert=Nt().bind(null,"head"),ne.domAPI=Tt(),ne.insertStyleElement=Vt();St()(se.A,ne);se.A&&se.A.locals&&se.A.locals;const re=ae;function oe(){const t=["revisionHistoryAttachChange","getRevision","getWalker","locale","getRevisionRootsAttributes","then","abs","getCustomProperty","addMarker:revision","addMarker:revision-suggestion:insertion","elementStart","forward","diffData","activeView","removeAttribute","removeMarker","_activeViewTarget","ck-revision-history-root-","isSuggestion","ck-suggestion-preview-marker-","restoreRevision","attributes","split","data-change-id","ck-suggestion-marker-split","shift","removeMarker:revision","bind","done","_balloon","11mYfEsl","userId","_setDistance","currentChangeNumber","slice","2943342unOIlI","_findChangeIdFromDomTarget","_changeIdToChange","right","elementEnd","roots","change:isReady","find","domEvent","checkAttribute","distance","createPositionFromPath","_markMarkers","code","bottom","hasAttribute","attributesAfter","attributesBefore","revision-comment:","addClass","_fixObsoleteTags","_removeMissingPairs","setAttribute","item","createRange","enableReadOnlyMode","ck-suggestion-marker","push","markersEnd","plugins","includes","indexOf","getItems","_setConversion","deletions","suggestion","_cleanUp","softBreak","change:activeChange","isIncorrect","startIndex","ck-suggestion-marker-merge","RevisionsRepository","_makeModelFromTape","concat","isCollapsed","getClientRects","change:numberOfChanges","isAdded","7065296FnDODb","attachChange","_markSuggestions","object","change:activeView","forceDisabled","config","wrap","findIndex","revisionHistory","view","_update","46PikHMh","stop","createPositionBefore","ck-revision-history-root-add","index","map","_cleanMarkers","clear","requires","getChild","type","_makeTape","consume","suggestion:","downcastDispatcher","error","isRemoved","changes","length","isBefore","adapter","execute","_joinTapes","_makeModelFromViewString","unshift","575130IBpuzh","splice","highest","span","isContent","data","isReady","removeMarker:revision-suggestion","high","RevisionHistoryUtils","isAttached","offsetSize","_processTape","createRevision","_markMismatchedRemovedTags","comment","filter","_data","addRevision","editing","name","toViewRange","forEach","test","getLaterVisibleRevision","repository","ck-suggestion-marker--active","markers","_sortAndFilterDiffChanges","createUIElement","mousedown","reconvertMarker","_utils","mapper","delete","values","_getChangeFromId","catch","observeMarkers","element:pre","revision-viewer","_removeUnsupportedChanges","add","startsWith","flat","getAttributes","_step","attribute:vid","maxOffset","endIndex","revisionHistoryLabel","isAtStart","_initInteractions","addMarker:revision-suggestion:deletion","ck-revision-history-root-remove","addRoot","revision:","dataToMarker","target","getRevisionDocumentData","side","low","change","diff","restoreRevisionCallback","changeId","ck-editor__editable__overlay","deletion","_refreshStartEndIndex","_setChanges","POSITIVE_INFINITY","10499640Lfizyf","WidgetToolbarRepository","consumable","20Vldsjt","insert","enqueueChange","isEqual","isLimit","end","_markInsertions","from","_threeWayMerge","isBlock","ck-revision-history-root--active","markerRange","refresh","keys","vid_start","revision","writer","left","markerNameToElements","compare","pop","isRemoveSuggestion","isOfficialPlugin","isInline","markerName","editingDowncast","destroy","affectsData","isOnRoot","_getDiff","hasClass","markersStart","vid_end","conversion","isPremiumPlugin","insertions","listenTo","level","remove","pairId","editor","removeClass","showPreviousChange","backward","insertion","_changeView","getDomRoot","init","resolve","getIndex","all","getRoot","parent","mouseover","uiElement","has","domConverter","_appendChild","createRangeIn","ck-suggestion-marker-","for","commands","toViewElement","authors","createAttributeElement","showNextChange","isObject","isEnabled","toViewPosition","first","element","isAddSuggestion","rootName","set","detachRoot","bindElementToMarker","ck-suggestion-preview-marker","change:isEnabled","return","string","elementToAttribute","isNavigationMode","_getRevisionsRange","isAtEnd","revision-suggestion","getRootNames","oldRevisionId","nextSibling","vid","4krsTzP","next","RevisionViewer","viewItem","previousPosition","isAfter","_getViewForChange","markerToHighlight","numberOfChanges","14iOjNol","loadRevisionData","unbindElementFromMarkerName","addHighlight","pluginName","getAttribute","nextPosition","revision-suggestion:","sort","model","text","addRevisionData","merge","dataDowncast","start","_revisions","top","activeChange","mapViewToDom","get","modelRange","-new","showStack","nodeAfter","schema","30517CuKNhp","range","document","5537890SZvALj","upcast","markerToData","updatePosition","selection","3046326zJXJdo","newRevisionId"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=433]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(567151===-parseInt(e(610))/1*(parseInt(e(716))/2)+-parseInt(e(741))/3+-parseInt(e(576))/4*(-parseInt(e(613))/5)+parseInt(e(618))/6*(parseInt(e(585))/7)+-parseInt(e(704))/8+parseInt(e(655))/9*(-parseInt(e(487))/10)+-parseInt(e(650))/11*(-parseInt(e(484))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends J.Plugin{[re(438)];[re(736)]=null;[re(445)];[re(636)];[re(532)];[re(657)];[re(649)];static get[re(589)](){return re(578)}static get[re(509)](){return!0}static get[re(521)](){return!0}static get[re(724)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(438)]=this[e(527)][e(684)][e(604)](e(697)),this[e(445)]=this[e(527)][e(684)][e(604)](e(750)),this[e(560)](e(602),null),this[e(560)](e(633),null),this[e(636)]=null,this[e(560)](e(476),null),this[e(560)](e(747),!1),this[e(560)](e(554),!0),this.on(e(564),((t,i,s)=>{const n=e;this[n(602)]=null,this[n(633)]=null,this[n(527)][n(760)][n(714)][n(475)]((t=>{const e=n;for(const i of this[e(527)][e(760)][e(714)][e(612)][e(660)])s?t[e(528)](e(479),i):t[e(674)](e(479),i)}))})),this[e(647)](e(568)).to(this,e(602),(t=>null!==t)),this[e(647)](e(653)).to(this,e(747),this,e(476),this,e(602),((t,i,s)=>t&&s?i[e(733)][e(536)](s):0)),this[e(647)](e(584)).to(this,e(747),this,e(476),((t,i)=>t?i[e(733)][e(734)]:0)),this[e(532)]=null,this[e(657)]=new Map,this[e(649)]=this[e(527)][e(684)][e(604)](_t.ContextualBalloon)}[re(534)](){const t=re,e=this[t(527)],i=new he(e,{direction:t(530)}),s=new he(e,{direction:t(631)});e[t(548)][t(455)](t(529),i),e[t(548)][t(455)](t(552),s),e[t(548)][t(455)](t(640),new le(e)),this.on(t(702),(()=>{const e=t;i[e(499)](),s[e(499)]()})),this[t(688)](),this[t(465)](),e[t(680)](t(453)),e[t(684)][t(542)](t(485))&&e[t(684)][t(604)](t(485))[t(709)](t(453))}async[re(472)](t){const e=re;return await this[e(445)][e(586)](t,this[e(736)]),this[e(445)][e(472)](t)}async[re(624)](t){const e=re;return await this[e(445)][e(586)](t,this[e(736)]),this[e(445)][e(624)](t)}async[re(506)](t,e,i=!1){const s=re;if(!this[s(554)])return;const n=this[s(476)],r=this[s(438)],o=s(566)==typeof t?r[s(621)](t):t,a=s(566)==typeof e?r[s(621)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(476)]&&this[s(476)][s(619)]===c&&this[s(476)][s(573)]===u)return Promise[s(535)]();this[s(747)]=!1,this[s(633)]=null,this[s(602)]=null,this[s(476)]=new te(c,u);const l=this[s(569)](o,a,!0)[s(721)]((t=>this[s(445)][s(586)](t,this[s(736)])));return l[s(682)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(537)](l)[s(625)]((()=>{const t=s;if(!this[t(554)])return;this[t(691)]();const e=this[t(516)](c,u);for(const i of e[t(733)])this[t(657)][t(560)](i.id,i);this[t(527)][t(594)][t(489)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(527)][s(594)][s(612)][s(572)]())i[s(561)](t);for(const t of Object[s(500)](e[s(594)])){const n=i[s(468)](t);for(const r of Object[s(500)](e[s(641)][t]))i[s(677)](r,e[s(641)][t][r],n);i[s(488)](e[s(594)][t],n,0)}})),this[t(476)][t(482)](this[t(441)](e[t(733)])),this[t(747)]=!0}))[s(450)]((t=>{const e=s;console[e(731)](t),this[e(691)](),n&&(this[e(476)]=n),this[e(747)]=!0}))}[re(596)](t,e){const i=re,s=this[i(438)][i(754)](t);return s.on(i(715),((t,i,n)=>e(i,n,s))),this[i(438)][i(759)](s),s}[re(691)](){const t=re;this[t(602)]=null,this[t(722)](),this[t(532)]&&this[t(532)][t(513)](),this[t(532)]=null,this[t(657)][t(723)](),this[t(527)][t(594)][t(489)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(527)][i(594)][i(612)][i(572)]())e[i(561)](t)}))}[re(441)](t){const e=re,i=[],s=new Map;for(const t of this[e(527)][e(594)][e(612)][e(572)]()){const n=this[e(527)][e(760)][e(714)][e(533)](t);if(!n)continue;const r=n[e(701)]()[e(678)](0);r&&(i[e(682)](t),s[e(560)](t,r))}return i[e(593)](((t,i)=>{const n=e,r=s[n(604)](t),o=s[n(604)](i);return r.y-o.y||r.x-o.x})),(t=t[e(757)]((t=>i[e(685)](t[e(559)]))))[e(593)](((t,s)=>i[e(686)](t[e(559)])-i[e(686)](s[e(559)]))),t}[re(727)](t){const e=re,i=Array[e(494)](t[e(440)])[e(757)]((([t,i])=>t[e(456)](e(469))&&!i[e(700)])),s=Array[e(494)](this[e(527)][e(594)][e(545)](t)[e(622)]({singleCharacters:!0}));if(0!=i[e(734)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(642)](":");if(n[e(492)][e(490)](t[e(591)])&&i[e(645)](),(t[e(580)][e(490)](n[e(599)])||t[e(580)][e(581)](n[e(599)]))&&(e(531)==r?t[e(703)]={userId:o}:e(480)==r&&(t[e(732)]={userId:o})),0==i[e(734)])break}return s}[re(481)](t){const e=re,i=new Map;for(let s=0;s<t[e(734)];s++)e(595)===t[s][e(726)]?(t[s][e(678)][e(695)]=s,t[s][e(678)][e(462)]=s):(e(630)===t[s][e(726)]?t[s][e(678)][e(695)]=s:e(659)===t[s][e(726)]&&(t[s][e(678)][e(462)]=s),i[e(560)](t[s].id,s));for(const s of i[e(448)]())e(630)===t[s][e(726)]?t[s][e(678)][e(462)]=i[e(604)](t[s][e(526)]):e(659)===t[s][e(726)]&&(t[s][e(678)][e(695)]=i[e(604)](t[s][e(526)]))}[re(753)](t){const e=re;for(let i=0;i<t[e(734)];i++){if(e(630)===t[i][e(726)])t[i][e(678)][e(695)]=i;else if(e(659)===t[i][e(726)]){t[i][e(678)][e(462)]=i;const s=t[i][e(678)][e(695)];t[s][e(526)]=t[i].id,t[i][e(526)]=t[s].id}else t[i][e(678)][e(695)]=i,t[i][e(678)][e(462)]=i,t[i][e(526)]=null;t[i][e(518)]||(t[i][e(518)]=[],t[i][e(683)]=[])}}[re(493)](t,e){const i=re,s=t[i(757)]((t=>!t[i(703)]));for(let t=0;t<e[i(734)];t++)e[t][i(703)]&&(s[t][i(703)]=e[t][i(703)])}[re(516)](t,e=null){const i=re,s=this[i(438)][i(621)](t),n=e?this[i(438)][i(621)](e):null,r=this[i(569)](s,n),o=r[r[i(734)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(734)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(500)](e[i(632)]))if(e[i(632)][t][i(705)]){const s=e[i(632)][t][i(705)];s[i(751)]?(u[i(455)](t),l[i(542)](t)&&l[i(604)](t)[i(651)]==s[i(651)]?l[i(447)](t):l[i(560)](t,s)):l[i(542)](t)?(u[i(447)](t),l[i(447)](t)):(u[i(455)](t),l[i(560)](t,s))}else u[i(455)](t)}for(const t of u){const e=l[i(542)](t)&&!l[i(604)](t)[i(751)];let s=e?r[i(734)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(632)][t]){const s=e?o[i(632)][t][i(672)]:o[i(632)][t][i(671)];c[i(641)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(594)]={};for(const e of t[i(550)])a[i(560)](e.id,e);for(const e of u){const s=t[i(632)][e]?t[i(632)][e][i(522)]:"[]",n=t[i(632)][e]?t[i(632)][e][i(689)]:"[]";t[i(594)][e]={insertions:this[i(445)][i(739)](s),deletions:this[i(445)][i(739)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(494)](s[i(594)][t][i(522)][i(440)])[i(757)]((([t])=>!t[i(456)](i(469)))));let h=0;for(const o of r){const r=this[i(727)](o[i(594)][t][i(522)]);o==s?(e=r,n=e[i(734)],e[i(435)]((t=>{t.id=h++})),this[i(753)](e)):this[i(493)](e,r);const a=e[i(757)]((t=>!t[i(703)]))[i(721)]((t=>t.id));let c=0;const l=this[i(727)](o[i(594)][t][i(689)]);l[i(435)]((t=>{t[i(732)]?t.id=n++:t.id=a[c++]})),this[i(753)](l),this[i(652)](e,i(703)),this[i(652)](l,i(732)),o==s&&this[i(667)](e,u),e=this[i(738)](e,l),this[i(481)](e),this[i(652)](e,i(732))}e=e[i(757)]((t=>!(t[i(703)]&&t[i(732)])));const d=new Map(o[i(594)][t][i(689)][i(440)]),f=new Set(u[i(500)]());for(const t of d[i(500)]())f[i(447)](t);this[i(706)](e,f),this[i(675)](e),e=this[i(676)](e),e=this[i(755)](e),e=this[i(454)](e);const{root:m,changes:p}=this[i(698)](e,a,t);c[i(594)][t]=m;const v=l[i(604)](t);if(v){const e=a[i(604)](v[i(651)]),s=new Kt({author:e,type:v[i(751)]?i(455):i(525),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(740)](s),c[i(641)][t][i(620)]=s.id}c[i(733)]=c[i(733)][i(699)](p)}return c}[re(667)](t,e){const i=re;for(let s=0;s<t[i(734)];s++)for(const[n,r]of e)!r[i(700)]&&r[i(599)][i(490)](t[s][i(580)])&&t[s][i(518)][i(682)](n),r[i(492)][i(490)](t[s][i(591)])&&t[s][i(683)][i(682)](n)}[re(738)](t,e){const i=re;let s=[],n=0,r=0;for(;n<t[i(734)]||r<e[i(734)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(682)](o);else if(a[i(732)]&&o[i(703)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(495)](t,n,e,r);s=s[i(699)](o),n=a,r=c}else a[i(732)]?(r++,s[i(682)](a)):(n++,s[i(682)](o))}return s}[re(706)](t,e){const i=re,s=[];for(let o=0;o<t[i(734)];o++){for(let r=0;r<t[o][i(518)][i(734)];r++){const a=t[o][i(518)][r];if(!e[i(542)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(571)!=c||i(531)!=u&&i(480)!=u||(s[i(740)]({type:u,name:a,userId:l}),t[o][i(518)][i(742)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(683)][i(734)];r++){const a=t[o][i(683)][r];if(!e[i(542)](a))continue;const{group:c,type:u}=n(a);if(i(571)!=c||i(531)!=u&&i(480)!=u)continue;t[o][i(683)][i(742)](r,1),r--;const l=s[i(712)]((t=>t[i(433)]==a));l>-1&&s[i(742)](l,1)}}function n(t){const e=i,s=t[e(642)](":");return{group:s[0],type:s[1],subType:s[e(734)]>=5?s[2]:null,id:s[e(734)]<5?s[2]:s[3],authorId:s[e(734)]<5?s[3]:s[4],markerCount:6==s[e(734)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(734)];i++){if(t[e(703)]&&e(531)==s[i][e(726)]&&t[e(703)][e(651)]==s[i][e(651)])return t[e(558)]=s[i],void delete t[e(703)];if(!t[e(703)]&&!t[e(732)]&&e(480)==s[i][e(726)])return void(t[e(508)]=s[i])}}}[re(652)](t,e){const i=re;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(560)](o.id,s);for(let s=0;s<t[i(734)];s++){if(i(732)==e&&t[s][i(703)]||i(703)==e&&t[s][i(732)])continue;if(i(595)==t[s][i(726)]){t[s][i(665)]=0;continue}const n=r[i(604)](t[s][i(526)]),o=r[i(604)](t[s].id);t[s][i(665)]=n-o}}[re(569)](t,e,i=!1){const s=re,n=[];let r=this[s(438)][s(536)](t),o=this[s(438)][s(536)](e);for(-1==o&&(o=this[s(438)][s(600)][s(734)],i=!1);r<o;)n[s(682)](this[s(438)][s(621)](r)),r++;return i&&n[s(682)](this[s(438)][s(621)](r)),n}[re(495)](t,e,i,s){const n=re,r=this[n(527)][n(594)][n(609)];let o=e;for(;t[o]&&t[o][n(703)];)o++;let a=s;for(;i[a]&&i[a][n(732)];)a++;u(t,e,o),u(i,s,a);const c=i[n(654)](s,a)[n(699)](t[n(654)](e,o));return c[n(593)](((t,e)=>t[n(473)]!=e[n(473)]?t[n(473)]-e[n(473)]:t[n(524)]!=e[n(524)]?t[n(524)]-e[n(524)]:t[n(665)]!=e[n(665)]?e[n(665)]-t[n(665)]:!!t[n(703)]!=!!e[n(703)]?-1==t[n(473)]||0==t[n(473)]?t[n(703)]?-1:1:t[n(703)]?1:-1:t[n(720)]-e[n(720)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(483)],c=!0;for(let n=e;n<i;n++)if(r[s(510)](t[n][s(678)])||(c=!1),t[n][s(678)][s(695)]<e&&(o=n),t[n][s(678)][s(462)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(473)]=n<=o?-1:n<a?0:1,t[n][s(720)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(665)]?t[i][s(524)]=u:(u++,t[i][s(524)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(473)]&&(t[n][s(524)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(665)]?t[e][s(524)]=u:(u--,t[e][s(524)]=u,u--)}}[re(675)](t){const e=re,i=new Map,s=this[e(527)][e(594)][e(609)];for(let n=1;n<t[e(734)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(595)==c[e(726)])continue;if(c[e(726)]!=u[e(726)])continue;if(!s[e(496)](u[e(678)])||s[e(491)](u[e(678)]))continue;if(!s[e(496)](c[e(678)])||s[e(491)](c[e(678)]))continue;if((t[n][e(703)]||t[n][e(558)])&&t[n-1][e(732)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(732)]||!t[n-1][e(703)]&&!t[n-1][e(558)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(524)]==o[e(524)],h=Math[e(626)](r[e(524)])<Math[e(626)](o[e(524)])&&0==o[e(665)];(l||h)&&(i[e(560)](o.id,r.id),t[e(742)](a,1),n--,r[e(703)]=!1)}for(let s=0;s<t[e(734)];s++)i[e(542)](t[s][e(526)])&&(t[s][e(526)]=i[e(604)](t[s][e(526)]))}[re(676)](t){const e=re,i=new Set(t[e(721)]((t=>t.id)));for(let s=0;s<t[e(734)];s++)i[e(542)](t[s][e(526)])||0==t[s][e(665)]||(t[s][e(694)]=!0);return t[e(757)]((t=>!t[e(694)]))}[re(755)](t){const e=re,i=new Set;for(let s=0;s<t[e(734)];s++){if(i[e(542)](t[s].id)&&t[s][e(732)]&&(t[s][e(694)]=!0),t[s][e(694)])continue;if(0==t[s][e(665)])continue;if(e(630)!=t[s][e(726)])continue;if(null==t[s][e(526)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(526)];)e(630)==t[n][e(726)]?r++:e(659)==t[n][e(726)]&&r--,n++;if(0!=r)if(t[s][e(732)])t[s][e(694)]=!0;else for(;n!=s;)t[n][e(732)]&&0!=t[n][e(665)]&&(t[n][e(694)]=!0,i[e(455)](t[n][e(526)])),n--}return t[e(757)]((t=>!t[e(694)]))}[re(454)](t){const e=re,i=this[e(527)][e(594)][e(609)];for(let s=0;s<t[e(734)];s++){if(!(t[s][e(703)]||t[s][e(558)]||t[s][e(732)]||t[s][e(508)]))continue;if(0==t[s][e(665)])continue;const n=t[s][e(678)];i[e(496)](n)||i[e(491)](n)||(t[s][e(703)]&&delete t[s][e(703)],t[s][e(558)]&&delete t[s][e(558)],t[s][e(508)]&&delete t[s][e(508)],t[s][e(732)]&&(t[s][e(694)]=!0))}return t[e(757)]((t=>!t[e(694)]))}[re(698)](t,e,i){const s=re,n=new X.DocumentFragment,r=[],o=new Map,a=this[s(527)][s(594)],c=a[s(609)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(734)];e++)if(s(630)===t[e][s(726)]){t[e][s(580)]=a[s(666)](n,f);const i=new X.Element(t[e][s(678)][s(433)],t[e][s(678)][s(458)]());u[0][s(544)](i),f[s(682)](0),u[s(740)](i),t[e][s(591)]=a[s(666)](n,f)}else s(659)===t[e][s(726)]?(u[s(645)](),t[e][s(580)]=a[s(666)](n,f),f[s(507)](),f[f[s(734)]-1]++,t[e][s(591)]=a[s(666)](n,f)):(t[e][s(580)]=a[s(666)](n,f),d?d[s(758)]+=t[e][s(678)][s(746)]:d=new X.Text(t[e][s(678)][s(746)],t[e][s(678)][s(458)]()),t[e+1]&&s(595)===t[e+1][s(726)]&&v(d,t[e+1][s(678)])||(u[0][s(544)](d),d=null),f[f[s(734)]-1]+=t[e][s(678)][s(752)],t[e][s(591)]=a[s(666)](n,f));for(let e=0;e<t[s(734)];e++){const i=t[e][s(580)],n=t[e][s(591)];for(const n of t[e][s(518)])o[s(560)](n,{start:i,end:null});m(s(508),e,i,n),m(s(558),e,i,n),m(s(732),e,i,n),m(s(703),e,i,n);for(const i of t[e][s(683)]){const t=o[s(604)](i);t?t[s(492)]=n:o[s(560)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(527)][s(594)][s(679)](e[s(599)],e[s(492)]);n[s(440)][s(560)](t,i)}return r[s(593)](((t,e)=>{const i=s,r=n[i(440)][i(604)](i(469)+t.id),o=n[i(440)][i(604)](i(469)+e.id);return r[i(599)][i(735)](o[i(599)])?-1:r[i(599)][i(581)](o[i(599)])?1:r[i(492)][i(735)](o[i(492)])?-1:r[i(492)][i(581)](o[i(492)])?1:i(455)===t[i(726)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(651)]:null,d=i===t[o(734)]-1,f=h[e][0],m=c[o(553)](t[i][o(678)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(492)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(651)]!==u&&(l[e][o(492)]=n,f&&f[o(651)]===l[e][o(651)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(630)!==t[i][o(726)]||f&&f[o(651)]===u||h[e][o(740)]({userId:u,object:t[i][o(678)],change:l[e]}),o(659)===t[i][o(726)]&&f&&f[o(707)]===t[i][o(678)]&&(h[e][o(645)](),l[e]=f[o(475)])),l[e]&&d&&(l[e][o(492)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(678)],f=a[h(609)][h(496)](d)&&!a[h(609)][h(491)](d),m=t[h(608)]==o[h(539)]&&o[h(464)];if(f&&m)return;const p=a[h(679)](t,o),v=e[h(604)](u),g=new Kt({author:v,type:h(703)==l||h(558)==l?h(455):h(525),data:{isSuggestion:h(558)==l||h(508)==l},createdAt:new Date,rootName:i});r[h(682)](g),n[h(440)][h(560)](h(469)+g.id,p)}function v(t,e){const i=s,n=t[i(458)](),r=e[i(458)]();for(const t of n){if(t[1]!==e[i(590)](t[0]))return!1;r[i(577)]()}return r[i(577)]()[i(648)]}}[re(688)](){const t=re;this[t(527)][t(520)][t(547)](t(614))[t(470)]({view:t(502)}),this[t(527)][t(520)][t(547)](t(512))[t(583)]({model:t(502),view:e=>{const i=t,s=e[i(511)][i(642)](":")[1],n=this[i(449)](s);if(!n)return null;const r=i(455)==n[i(726)]?i(531):i(480),o=[i(681),i(546)+r];return n[i(746)][i(638)]&&o[i(682)](i(546)+r+i(606)),this[i(602)]==n&&o[i(682)](i(439)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(527)][t(520)][t(547)](t(614))[t(455)]((e=>{const i=t;e.on(i(452),((t,e,s)=>{const n=i,r=e[n(579)][n(725)](0);if(!r||!r.is(n(557),n(668)))return;if(!s[n(486)][n(728)](r,{attributes:[n(501),n(519)]}))return;const o=e[n(605)][n(599)][n(608)];s[n(503)][n(677)](n(501),r[n(590)](n(501)),o),s[n(503)][n(677)](n(519),r[n(590)](n(519)),o)}),{priority:i(474)})})),this[t(527)][t(520)][t(547)](t(614))[t(455)]((e=>{const i=t;e.on(i(557),((t,e,s)=>{const n=i;if(!s[n(486)][n(728)](e[n(579)],{attributes:[n(501),n(519)]}))return;if(e[n(605)][n(700)])return;const r=e[n(605)][n(599)][n(608)];r[n(670)](n(501))||r[n(670)](n(575))||(s[n(503)][n(677)](n(501),e[n(579)][n(590)](n(501)),r),s[n(503)][n(677)](n(519),e[n(579)][n(590)](n(519)),r))}),{priority:i(474)})})),this[t(527)][t(520)][t(547)](t(614))[t(567)]({view:{name:t(744),attributes:{vid:!0}},model:{key:t(575),value:e=>e[t(590)](t(575))}}),this[t(527)][t(594)][t(609)].on(t(664),((e,[,i])=>{const s=t;[s(501),s(519),s(575)][s(685)](i)&&(e[s(565)]=!0,e[s(717)]())}),{priority:t(743)}),this[t(527)][t(520)][t(547)](t(598))[t(455)]((e=>{const i=t;e.on(i(460),((t,e,s)=>{const n=i;if(" "!=e[n(678)][n(746)]||e[n(678)][n(539)][n(461)]>1)return;if(!s[n(486)][n(728)](e[n(678)],t[n(433)]))return;const r=s[n(503)],o=s[n(446)][n(434)](e[n(611)]);r[n(711)](o,r[n(551)](n(744)))}))})),this[t(527)][t(520)][t(547)](t(598))[t(615)]({model:t(502)}),this[t(527)][t(760)][t(730)].on(t(628),function(e){const i=t,s=e[i(684)][i(604)](i(578));return(t,n,r)=>{const o=i,a=n[o(511)][o(642)](":")[1],c=s[o(449)](a);if(!c)return null;const u=o(455)==c[o(726)]?o(642):o(597);if(!r[o(486)][o(436)](n[o(498)],t[o(433)]))return;const l=n[o(498)][o(622)](),h=n[o(498)][o(599)],d=e[o(594)][o(609)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(678)];p=p||d[o(745)](e);const i=r[o(446)][o(549)](e);if(i&&i[o(627)](o(588)))return;o(659)==t[o(726)]&&d[o(496)](e)&&!d[o(491)](e)&&(e[o(574)]||h[o(570)]?f&&f[o(539)]==e||(f=e,g(t[o(580)]),v=!0):m=m||t[o(580)])}function g(t){const e=o,i=r[e(503)][e(442)](e(744),{class:e(546)+u}),a=r[e(446)][e(555)](t);c[e(746)][e(638)]&&r[e(503)][e(674)](e(546)+u+e(606),i),s[e(602)]==c&&r[e(503)][e(674)](e(439),i),r[e(503)][e(488)](a,i),r[e(446)][e(562)](i,n[e(511)])}p||v||!m||g(m)}}(this[t(527)]),{priority:t(749)}),this[t(527)][t(760)][t(730)].on(t(646),((e,i,s)=>{const n=t,r=s[n(446)][n(505)](i[n(511)]);if(r)for(const t of r)(t[n(517)](n(644))||t[n(517)](n(696)))&&(s[n(446)][n(587)](t,i[n(511)]),s[n(503)][n(525)](t))}),{priority:t(749)}),this[t(527)][t(760)][t(730)].on(t(628),((e,i,s)=>{const n=t,r=i[n(511)][n(642)](":")[1],o=this[n(449)](r);if(!o)return null;const a=n(455)==o[n(726)]?n(642):n(597);if(s[n(486)][n(436)](i[n(498)],e[n(433)]))for(const t of i[n(498)][n(687)]()){if(!t.is(n(557),n(692)))continue;const e=s[n(503)][n(442)](n(744),{class:n(546)+a}),r=s[n(446)][n(555)](this[n(527)][n(594)][n(718)](t));o[n(746)][n(638)]&&s[n(503)][n(674)](n(546)+a+n(606),e),this[n(602)]==o&&s[n(503)][n(674)](n(439),e),s[n(503)][n(488)](r,e),s[n(446)][n(562)](e,i[n(511)])}}),{priority:t(749)}),this[t(527)][t(594)][t(612)].on(t(475),(()=>{const e=t;this[e(527)][e(760)][e(714)][e(475)]((t=>{const i=e;for(const e of this[i(527)][i(594)][i(612)][i(572)]()){const s=this[i(527)][i(594)][i(612)][i(538)](e),n=this[i(527)][i(760)][i(714)][i(612)][i(538)](e);if(n){const e=s[i(590)](i(620));if(t[i(634)](i(643),n),t[i(528)](i(719),n),t[i(528)](i(467),n),t[i(528)](i(497),n),e){const s=this[i(449)](e);if(!s)return null;t[i(677)](i(643),e,n),t[i(674)](i(637)+s[i(726)],n),this[i(602)]==s&&t[i(674)](i(497),n)}}}}))})),this[t(527)][t(520)][t(547)](t(614))[t(470)]({view:t(756),model:e=>t(673)+e,converterPriority:t(743)}),this[t(527)][t(520)][t(547)](t(614))[t(470)]({view:t(690),model:e=>t(592)+e,converterPriority:t(743)}),this[t(527)][t(520)][t(547)](t(598))[t(615)]({model:t(571),view:e=>({name:t(729)+e,group:t(571)}),converterPriority:t(743)}),this[t(527)][t(520)][t(547)](t(512))[t(583)]({model:t(571),view:e=>{const i=t,s=e[i(511)][i(642)](":")[1];return i(531)!=s&&i(480)!=s?null:{classes:[i(563),i(639)+s]}}}),this[t(527)][t(760)][t(730)].on(t(466),ue(this[t(527)],t(597)),{priority:t(749)}),this[t(527)][t(760)][t(730)].on(t(629),ue(this[t(527)],t(642)),{priority:t(749)}),this[t(527)][t(760)][t(730)].on(t(748),((e,i,s)=>{const n=t,r=s[n(446)][n(505)](i[n(511)]);if(r)for(const t of r)t.is(n(541))&&(s[n(446)][n(587)](t,i[n(511)]),s[n(503)][n(525)](t))}),{priority:t(749)})}[re(449)](t){const e=re;return this[e(657)][e(604)](t)}[re(582)](t){const e=re;return this[e(532)]&&this[e(532)][e(513)](),this[e(532)]=new Yt(this[e(527)][e(623)],t),this[e(532)]}[re(465)](){const t=re;this[t(527)][t(594)][t(612)][t(617)][t(451)](t(502)),this.on(t(708),((e,i,s,n)=>{const r=t;n&&this[r(649)][r(525)](n),s&&(this[r(649)][r(455)]({view:s,stackId:r(463),position:{target:()=>{const t=r,e=this[t(527)][t(760)],i=this[t(449)](s[t(478)]);let n;if(i[t(746)][t(515)]){const s=e[t(714)][t(533)](i[t(559)]);n=Array[t(494)](s[t(701)]())}else{const i=this[t(527)][t(594)][t(440)][t(604)](t(469)+s[t(478)]);n=Array[t(494)](e[t(446)][t(505)](i[t(433)]))[t(721)]((i=>e[t(714)][t(543)][t(603)](i)))[t(721)]((e=>Array[t(494)](e[t(701)]())))[t(457)]()}return this[t(636)]&&n[t(662)]((e=>e[t(601)]-3<=this[t(636)].y&&e[t(669)]+3>=this[t(636)].y&&e[t(504)]-3<=this[t(636)].x&&e[t(658)]+3>=this[t(636)].x))||n[0]}}}),this[r(649)][r(607)](r(463)))})),this.on(t(693),((e,i,s,n)=>{const r=t;this[r(633)]=s?this[r(582)](s):null,this[r(527)][r(594)][r(475)]((()=>{const t=r,e=this[t(527)][t(760)];n&&(n[t(746)][t(515)]?e[t(714)][t(475)]((i=>{const s=t;i[s(528)](s(497),e[s(714)][s(612)][s(538)](n[s(559)]))})):e[t(444)](t(469)+n.id)),s&&(s[t(746)][t(515)]?e[t(714)][t(475)]((i=>{const n=t;i[n(674)](n(497),e[n(714)][n(612)][n(538)](s[n(559)]))})):e[t(444)](t(469)+s.id))}))})),this[t(523)](this[t(527)][t(760)][t(714)][t(612)],t(540),((e,i)=>{const s=t;if(this[s(602)])return;const n=this[s(656)](i[s(471)]),r=this[s(657)][s(604)](n);r?(this[s(636)]={x:i[s(663)].x,y:i[s(663)].y},this[s(633)]=this[s(582)](r)):(this[s(636)]=null,this[s(633)]=null)})),this[t(523)](this[t(527)][t(760)][t(714)][t(612)],t(443),((e,i)=>{const s=t,n=this[s(656)](i[s(471)]),r=this[s(657)][s(604)](n);r?(this[s(636)]={x:i[s(663)].x,y:i[s(663)].y},r===this[s(602)]?this[s(649)][s(616)]():this[s(602)]=r):(this[s(636)]=null,this[s(602)]=null)}))}[re(656)](t){const e=re;do{const i=t[e(590)](e(643));if(i)return i;t=t[e(539)]}while(t);return null}[re(722)](){const t=re;this[t(527)][t(594)][t(475)]((e=>{const i=t;for(const t of this[i(527)][i(594)][i(440)])e[i(635)](t)}))}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(486)][r(436)](s[r(498)],i[r(433)]))return;const o=s[r(498)][r(622)](),a=s[r(498)][r(599)],c=t[r(594)][r(609)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(678)];h=h||c[r(745)](e);const i=n[r(446)][r(549)](e);if(i&&i[r(627)](r(588)))return;r(659)==t[r(726)]&&c[r(496)](e)&&!c[r(491)](e)&&(e[r(574)]||a[r(570)]?u&&u[r(539)]==e||(u=e,f(t[r(580)]),d=!0):l=l||t[r(580)])}function f(t){const i=r,o=n[i(446)][i(555)](t),a=n[i(503)][i(442)](i(744),{class:i(639)+e});n[i(503)][i(488)](o,a),n[i(446)][i(562)](a,s[i(511)])}h||d||!l||f(l)}}class le extends J.Command{constructor(t){const e=re;super(t);const i=t[e(684)][e(604)](ce);this[e(514)]=!1,this[e(523)](i,e(661),(()=>this[e(499)]())),this[e(523)](i,e(564),(()=>this[e(499)]()))}[re(737)](){const t=re,e=this[t(527)],i=e[t(684)][t(604)](ce),s=i[t(747)]?i[t(476)][t(619)]:null;e[t(710)][t(604)](t(713))[t(477)](s)}[re(499)](){const t=re,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(527)][t(684)][t(604)](ce),r=n&&s[t(437)](n[t(619)]);this[t(554)]=e&&i&&Boolean(r)}}class he extends J.Command{[re(459)];constructor(t,{direction:e}){const i=re;super(t);const s=t[i(684)][i(604)](ce);this[i(514)]=!1,this[i(459)]=i(631)===e?1:-1,this[i(523)](s,i(661),(()=>this[i(499)]())),this[i(523)](s,i(564),(()=>this[i(499)]())),this[i(523)](s,i(693),(()=>this[i(499)]()))}[re(737)](){const e=re,i=this[e(527)],s=i[e(684)][e(604)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(602)]=n?s[e(476)][e(733)][e(604)](r+this[e(459)]):s[e(476)][e(733)][e(556)],s[e(602)][e(746)][e(515)])o=i[e(760)][e(714)][e(533)](s[e(602)][e(559)]);else{const t=i[e(594)][e(440)][e(604)](e(469)+s[e(602)].id);o=(0,G.getMarkerDomElement)(i[e(760)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(499)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(527)][t(684)][t(604)](ce);this[t(554)]=!!(r&&n&&s)&&(!e||(1===this[t(459)]?i<s-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=Rt(),fe.insert=Nt().bind(null,"head"),fe.domAPI=Tt(),fe.insertStyleElement=Vt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=ve();return(me=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=me,i=t();for(;;)try{if(685040===parseInt(e(508))/1*(-parseInt(e(473))/2)+-parseInt(e(482))/3*(parseInt(e(476))/4)+parseInt(e(493))/5+parseInt(e(502))/6*(parseInt(e(486))/7)+parseInt(e(481))/8+parseInt(e(472))/9+parseInt(e(487))/10*(parseInt(e(469))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class pe extends _t.View{constructor(t){const e=me;super(t);const i=this[e(477)],s=new _t.ButtonView(t),n=new _t.ButtonView(t);this[e(474)](e(470),!1),this[e(474)](e(499),!1),this[e(474)](e(491),0),this[e(474)](e(466),0),this[e(474)](e(498),!1),this[e(474)](e(484),!1),this[e(478)](e(479)).to(this,e(499),this,e(466),((t,e)=>t&&e>0)),this[e(478)](e(495)).to(this,e(499),this,e(491),this,e(466),this,e(470),((i,s,n,r)=>{const o=e;if(!i)return ot(t,o(490));if(!n)return ot(t,o(505));const a=ot(t,o(504),n);return r?ot(t,o(489),[s+1,n]):a})),s[e(474)]({label:ot(t,e(497)),tooltip:!0,icon:wt.IconChevronUp}),n[e(474)]({label:ot(t,e(480)),tooltip:!0,icon:wt.IconChevronDown}),s[e(478)](e(467)).to(this,e(484)),n[e(478)](e(467)).to(this,e(498)),s.on(e(501),(()=>this[e(500)](e(501),e(506)))),n.on(e(501),(()=>this[e(500)](e(501),e(509)))),this[e(468)]({tag:e(494),attributes:{class:["ck",e(485),e(496)]},children:[{tag:e(507),attributes:{class:[e(488)]},children:[{tag:e(507),attributes:{class:[e(475),i.if(e(479),e(471),(t=>!t))]},children:[{text:i.to(e(470),(i=>i?ot(t,e(483))+": ":ot(t,e(503))+": "))}]},{text:i.to(e(495))}]},new _t.ToolbarSeparatorView,{tag:e(494),attributes:{class:[e(492)]},children:[s,n]}]})}}function ve(){const t=["set","ck-revision-history-ui__changes-navigation__label","61636NHjhwl","bindTemplate","bind","_isStatusLabelVisible","Show next change","2149288mcacct","237MdslVz","EDIT_X_OF_Y_REVISIONS","isBackwardNavigationEnabled","ck-revision-history-ui","49wWlZXe","10bWzcnW","ck-revision-history-ui__changes-navigation__wrapper","X_OF_Y_CHANGES","Loading...","currentChangeNumber","ck-revision-history-ui__changes-navigation__navigation","1255275aCdfLd","div","_statusText","ck-revision-history-ui__changes-navigation","Show previous change","isForwardNavigationEnabled","isReady","fire","execute","349374BAUDyP","Total","NUMBER_OF_CHANGES","No changes","backward","span","2EvuMBF","forward","numberOfChanges","isEnabled","setTemplate","8915390KTDTPw","isNavigationMode","ck-hidden","8365410NlXbIb","764948YiWVFS"];return(ve=function(){return t})()}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=Rt(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Vt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=be;function be(t,e){const i=_e();return(be=function(t,e){return i[t-=232]})(t,e)}!function(t){const e=be,i=t();for(;;)try{if(484111===-parseInt(e(234))/1*(-parseInt(e(232))/2)+-parseInt(e(253))/3*(parseInt(e(237))/4)+parseInt(e(233))/5+parseInt(e(245))/6*(-parseInt(e(243))/7)+-parseInt(e(249))/8*(-parseInt(e(255))/9)+parseInt(e(248))/10+-parseInt(e(250))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const we=ke(240);function _e(){const t=["show","85718rqkfxw","3002445pnWVux","19BqxZro","editor","isOfficialPlugin","292NUgNnl","isPremiumPlugin","document","ck-editor__editable__loading-overlay","pluginName","addClass","133PpqPPz","removeClass","13242IYtvYR","hide","change","2782000dDkcWd","388552YXqFUw","19135028xuojJr","editing","view","10401IzFeah","RevisionViewerLoadingOverlay","153LGlSXl","roots"];return(_e=function(){return t})()}class Ie extends J.Plugin{static get[ke(241)](){return ke(254)}static get[ke(236)](){return!0}static get[ke(238)](){return!0}[ke(257)](){const t=ke,e=this[t(235)][t(251)][t(252)];e[t(247)]((i=>{const s=t;for(const t of e[s(239)][s(256)])i[s(242)](we,t)}))}[ke(246)](){const t=ke,e=this[t(235)][t(251)][t(252)];e[t(247)]((i=>{const s=t;for(const t of e[s(239)][s(256)])i[s(244)](we,t)}))}}function Se(){const t=["6196134oDuHsE","show","revisionHistory","isOfficialPlugin","numberOfChanges","change:isReady","commands","bind","currentChangeNumber","832326OPzFpy","restoreRevision","init","forward","1605402bbOBdk","listenTo","isBackwardNavigationEnabled","isForwardNavigationEnabled","add","get","hide","plugins","isEnabled","Back to editing","8BWOaxm","editor","isNavigationMode","closeRevisionViewerCallback","4660JoeyGb","exitToEditing","33803FgsdAJ","3957384LMSjoG","execute","showPreviousChange","Restore this revision","85FAnSdQ","78MVOoCh","pluginName","297006cGHHAf","isPremiumPlugin","config","isReady","RevisionViewerUI","14038EgeKZC","set","componentFactory","requires","changesNavigation","ck-revision-history-ui__back-to-editing","showNextChange"];return(Se=function(){return t})()}const Oe=Te;function Te(t,e){const i=Se();return(Te=function(t,e){return i[t-=423]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(498513===parseInt(e(435))/1+parseInt(e(468))/2*(parseInt(e(461))/3)+-parseInt(e(456))/4+-parseInt(e(460))/5*(-parseInt(e(463))/6)+parseInt(e(426))/7+parseInt(e(449))/8*(parseInt(e(439))/9)+-parseInt(e(453))/10*(parseInt(e(455))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class xe extends J.Plugin{static get[Oe(462)](){return Oe(467)}static get[Oe(429)](){return!0}static get[Oe(464)](){return!0}static get[Oe(471)](){return[ce,Ie]}[Oe(437)](){const t=Oe,e=this[t(450)],i=e[t(446)][t(444)](ce),s=e[t(446)][t(444)](Ie);e.ui[t(470)][t(443)](t(454),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(469)]({label:ot(i,s(448)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:s(424)}),this[s(440)](n,s(457),(()=>{const t=s;e[t(465)][t(444)](t(428))[t(452)]()})),n})),e.ui[t(470)][t(443)](t(436),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(469)]({label:ot(i,s(459)),withText:!0,tooltip:!0}),n[s(433)](s(447)).to(e[s(432)][s(444)](s(436))),this[s(440)](n,s(457),(()=>e[s(457)](s(436)))),n})),e.ui[t(470)][t(443)](t(423),(s=>{const n=t,r=new pe(s),o=e[n(432)][n(444)](n(458)),a=e[n(432)][n(444)](n(425));return r[n(433)](n(441)).to(o,n(447)),r[n(433)](n(442)).to(a,n(447)),r[n(433)](n(466),n(434),n(430),n(451)).to(i),this[n(440)](r,n(457),((t,i)=>{const s=n;e[s(457)](s(438)===i?s(425):s(458))})),r})),s[t(427)](),i.on(t(431),((e,i,n)=>{const r=t;n?s[r(445)]():s[r(427)]()}))}}var Ne=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Rt(),Ae.insert=Nt().bind(null,"head"),Ae.domAPI=Tt(),Ae.insertStyleElement=Vt();St()(Ne.A,Ae);Ne.A&&Ne.A.locals&&Ne.A.locals;const Re=Ve;function Me(){const t=["element","2181968ZDwqAl","_tooltipString","6136053coWKCx","ck-tooltip_multi-line","input","19856zmPCgO","value","fieldView","set","clientWidth","span","ck-revision-history-sidebar__revision-name","placeholder","Enter the revision name","Revision name","10jYCxya","extendTemplate","2032275SLfHgQ","destroy","14598qaMGSL","scrollWidth","1401326IULtYk","bindTemplate","_resizeObserver","listenTo","_updateTooltipText","render","2705980ChIsOM","5664150nHuSSb"];return(Me=function(){return t})()}function Ve(t,e){const i=Me();return(Ve=function(t,e){return i[t-=485]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(925375===-parseInt(e(512))/1+-parseInt(e(488))/2+parseInt(e(508))/3+parseInt(e(491))/4*(-parseInt(e(506))/5)+parseInt(e(489))/6+-parseInt(e(493))/7+parseInt(e(496))/8*(parseInt(e(510))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class De extends _t.LabeledFieldView{[Re(514)]=null;constructor(t,e){const i=Re;super(t,e);const s=this[i(513)];this[i(499)]({label:ot(t,i(505)),_tooltipString:""}),this[i(498)][i(503)]=ot(t,i(504)),this[i(507)]({tag:i(501),attributes:{class:[i(502)],"data-cke-tooltip-text":s.to(i(492)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(494)}})}[Re(487)](){const e=Re;super[e(487)](),this[e(514)]=new t.ResizeObserver(this[e(498)][e(490)],(()=>this[e(486)]())),this[e(485)](this[e(498)],e(495),(()=>this[e(486)]()))}[Re(509)](){const t=Re;super[t(509)](),this[t(514)]&&this[t(514)][t(509)]()}[Re(486)](){const t=Re,e=this[t(498)][t(490)];this[t(492)]=e[t(511)]>e[t(500)]&&e[t(497)]||""}}var Ee=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Rt(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Vt();St()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=188]})(t,e)}function je(){const t=["name","Revision creator","ck-revision-history-sidebar__revision-author_creator","5605030joqnSC","setTemplate","5452656orTHWl","417763lYNGph","133qHImyT","2552590LphTAE","172554hFFwoG","span","ck-revision-history-sidebar__revision-author","9pTsVhh","0 0 11 10","ck-revision-history-sidebar__revision-author__name","push","2813784hVEcmv","Revision author","2iCmsBn","set","3671272MeUHqf"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(523049===-parseInt(e(193))/1*(-parseInt(e(205))/2)+parseInt(e(203))/3+-parseInt(e(207))/4+parseInt(e(195))/5+parseInt(e(196))/6*(-parseInt(e(194))/7)+parseInt(e(192))/8+-parseInt(e(199))/9*(parseInt(e(190))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Le extends _t.View{constructor(t,e,i){const s=Fe;super(t);const n=new _t.IconView;n[s(206)]({content:wt.IconUser,viewBox:s(200)});const r=["ck",s(198)];i&&r[s(202)](s(189));const o=[{tag:s(197),attributes:{class:["ck",s(201)],title:ot(t,s(i?188:204))},children:[n,e[s(208)]]}];this[s(191)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=ze();return(Pe=function(t,e){return i[t-=289]})(t,e)}function ze(){var t=["3dcOcxr","numeric","18064jwuwad","toLocaleTimeString","308LRyfSY","693130ClCIqJ","8282aDwVKE","17856VqelwU","3132980SBOeLR","1383525EXynIB","846BCXUMp","long","817604uzTGyk","toLocaleDateString","73oIyXOw"];return(ze=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(196407===parseInt(e(303))/1*(-parseInt(e(295))/2)+parseInt(e(289))/3*(parseInt(e(301))/4)+parseInt(e(294))/5+-parseInt(e(296))/6*(-parseInt(e(293))/7)+-parseInt(e(291))/8*(-parseInt(e(299))/9)+-parseInt(e(297))/10+parseInt(e(298))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var He=i(11),We={attributes:{"data-cke":!0}};We.setAttributes=Rt(),We.insert=Nt().bind(null,"head"),We.domAPI=Tt(),We.insertStyleElement=Vt();St()(He.A,We);He.A&&He.A.locals&&He.A.locals;function Ue(){const t=["1028520KJNzGS","bind","ck-revision-history-sidebar__revision__actions","366cwmpTU","add","function","name","bindTemplate","change:isActionsDropdownOpen","114ZyGQaH","listenTo","find","197304kGVjnt","2888382LRycQE","locale","panelPosition","Restore this revision","extendTemplate","items","menu","stopPropagation","13046vRKcOn","isReady","map","listView","Show more items","ck-on","Name this revision","execute","Compare against selected","children","source","isEnabled","class","_action","buttonView","130505ToomjB","isActionsDropdownOpen","button","3974152XdjFyT","isOpen","693909VwNkgy","model","menuitem","isVisible","first","220wOBKLm","set","action"];return(Ue=function(){return t})()}function Ze(t,e){const i=Ue();return(Ze=function(t,e){return i[t-=163]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(548466===-parseInt(e(172))/1+-parseInt(e(181))/2*(parseInt(e(163))/3)+parseInt(e(209))/4+-parseInt(e(196))/5*(parseInt(e(169))/6)+-parseInt(e(173))/7+parseInt(e(199))/8+-parseInt(e(201))/9*(-parseInt(e(206))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var qe=i(216),$e={attributes:{"data-cke":!0}};$e.setAttributes=Rt(),$e.insert=Nt().bind(null,"head"),$e.domAPI=Tt(),$e.insertStyleElement=Vt();St()(qe.A,$e);qe.A&&qe.A.locals&&qe.A.locals;const Be=Ye;function Ye(t,e){const i=Je();return(Ye=function(t,e){return i[t-=113]})(t,e)}function Je(){const t=["134424xlUDsK","filter","srcElement","map","highlight","extendTemplate","52540PDJXyb","deselect","from","listenTo","bindTemplate","ck-revision-history-sidebar__actions_dropdown_open","3451224Bctzxp","element","isSelected","ck-revision-history-sidebar__revision__controls-wrapper","span","fire","310wqnIOy","setTemplate","3297568JrSUVE","isConfirm","render","_requireRevisionName","isActionsDropdownOpen","ck-revision-history-sidebar__revision","change","ck-revision-history-sidebar__revision-authors","uiLanguage","name","1381428BPffeI","fieldView","createdAt","ck-reset","select","creator","div","ck-revision-history-sidebar__revision_selected","closest","length","ck-revision-history-sidebar__revision__date","set","220","setName","revisionNameView","ck-revision-history-sidebar__revision-wrapper","revisionActionsView","ck-disabled","authors","isReady","2gRulZE","108kwTCZK","_createdAtFormatted","76795MmTpMk","unhighlight","bind","_revision",".ck-thread__remove-confirm","isHighlighted","isEnabled","488349RImrZF","value","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unshift","ck-revision-history-sidebar__revision_highlighted"];return(Je=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(307968===-parseInt(e(137))/1*(parseInt(e(158))/2)+parseInt(e(147))/3+-parseInt(e(138))/4*(parseInt(e(140))/5)+parseInt(e(117))/6+-parseInt(e(164))/7+parseInt(e(172))/8+parseInt(e(152))/9*(parseInt(e(170))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(131)];[Be(133)];[Be(143)];[Be(175)];constructor(e,i,s,n){const r=Be;super(e);const o=this[r(162)],a=function(t,e){const i=r,s=Array[i(160)](e[i(135)])[i(153)]((t=>t!=e[i(122)]));return e[i(122)]&&s[i(150)](e[i(122)]),s[i(155)]((s=>new Le(t,s,s==e[i(122)])))}(e,i);this.id=i.id,this[r(143)]=i,this[r(175)]=n,this[r(142)](r(116),r(119)).to(i),this[r(142)](r(139)).to(this,r(119),(t=>{return i=e[r(115)],(s=t)[(n=Pe)(302)](i,{month:n(300),day:n(290)})+", "+s[n(292)](i,{hour:n(290),minute:n(290)});var i,s,n})),this[r(128)](r(166),!1),this[r(128)](r(145),!1),this[r(128)](r(176),!1),this[r(128)](r(136),!1),this[r(128)](r(146),!1),this[r(131)]=new De(e,_t.createLabeledInputText),this[r(131)][r(118)][r(157)]({attributes:{maxlength:r(129)}}),this[r(131)][r(118)][r(142)](r(148)).to(this,r(116),(t=>t||this[r(139)])),this[r(131)][r(142)](r(146)).to(this,r(166),this,r(146),((t,e)=>t&&e)),this[r(133)]=s&&s[r(126)]?function(e,i){const s=Ze,n=e[s(167)],r=e[s(174)],o=(0,_t.createDropdown)(r);o[s(175)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(174)],n={"Compare against selected":ot(s,i(189)),"Name this revision":ot(s,i(187)),"Restore this revision":ot(s,i(176))};return e[i(183)]((t=>{const e=i,s=n[t[e(166)]];return s&&s!==t[e(166)]&&(t[e(166)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(198),model:new _t.UIModel({label:t[n(166)],class:t[n(193)],withText:!0,role:n(203),_action:t[n(208)]})};i[n(202)][n(210)](n(192)).to(e,n(197),(i=>n(165)!=typeof t[n(192)]||!i||t[n(192)](e))),o[n(164)](i)}return o}(e,i);return e[s(210)](s(197)).to(o,s(200)),o[s(195)][s(207)]({label:ot(r,s(185)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[s(177)]({attributes:{class:[s(211),n.if(s(197),s(186))]},on:{click:n.to((t=>t[s(180)]()))}}),o.on(s(188),(t=>{const i=s;e[i(182)]&&i(165)==typeof t[i(191)][i(194)]&&t[i(191)][i(194)](e)})),(0,_t.addListToDropdown)(o,a,{role:s(179)}),o[s(170)](e,s(168),((t,n,r)=>{const a=s;if(r)for(const t of o[a(184)][a(178)]){const s=t[a(190)][a(205)],n=i[a(171)]((t=>t[a(208)]===s[a(194)]))[a(204)];t[a(204)]=void 0===n||n(e)}})),o}(this,s):"",this[r(133)]&&this[r(133)][r(142)](r(146)).to(this),this[r(171)]({tag:r(123),attributes:{class:["ck",r(120),r(132),o.if(r(173),r(149))]},children:[{tag:r(123),attributes:{class:["ck",r(120),r(177),o.if(r(146),r(134),(t=>!t)),o.if(r(166),r(124)),o.if(r(145),r(151)),o.if(r(176),r(163))]},children:[this[r(131)],{tag:r(168),attributes:{class:["ck",r(127)]},children:[{text:o.to(r(139))}]},{tag:r(123),attributes:{class:["ck",r(167)]},children:[{tag:"ul",attributes:{class:["ck",r(114)]},children:a}]},this[r(133)]],on:{click:o.to((t=>{const e=r;t[e(154)][e(125)](e(144))||this[e(136)]&&this[e(146)]&&this[e(169)](e(121),{id:this.id})}))}}]})}[Be(174)](){const t=Be;super[t(174)]();const e=this[t(131)][t(118)][t(165)];this[t(161)](e,t(113),(()=>{const i=t;this[i(175)]&&!e[i(148)]||this[i(169)](i(130),{id:this.id,name:e[i(148)]}),e[i(148)]||(e[i(148)]=this[i(116)]?this[i(116)]:this[i(139)])}))}[Be(121)](){this[Be(166)]=!0}[Be(159)](){this[Be(166)]=!1}[Be(156)](){this[Be(145)]=!0}[Be(141)](){this[Be(145)]=!1}}class Xe extends Error{}class Ke extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Xe{}class ii extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ni extends Xe{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ai={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ri{get type(){throw new ni}get name(){throw new ni}get ianaName(){return this.name}get isUniversal(){throw new ni}offsetName(t,e){throw new ni}formatOffset(t,e){throw new ni}offset(t){throw new ni}equals(t){throw new ni}get isValid(){throw new ni}}let Mi=null;class Vi extends Ri{static get instance(){return null===Mi&&(Mi=new Vi),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(t,e,i)}formatOffset(t,e){return sn(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 Ei={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ri{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.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=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(t,e,i,this.name)}formatOffset(t,e){return sn(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[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ei[e];"era"===e?s[r]=n:Ms(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Ys({year:s,month:n,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 Li=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let s=Li.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Li.set(i,s)),s}const zi=new Map;const Hi=new Map;let Wi=null;const Ui=new Map;function Zi(t){let e=Ui.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Ui.set(t,e)),e}const qi=new Map;function $i(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):Zs(t,3),this.padTo)}}class Yi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Fi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Pi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Es()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Hi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Hi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Gi={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,s,n=!1){const r=t||ps.defaultLocale,o=r||(n?"en-US":Wi||(Wi=(new Intl.DateTimeFormat).resolvedOptions().locale,Wi)),a=e||ps.defaultNumberingSystem,c=i||ps.defaultOutputCalendar,u=Ls(s)||ps.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Wi=null,Li.clear(),zi.clear(),Hi.clear(),Ui.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Pi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Pi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===Zi(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,Ls(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 $i(this,t,cn,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=ho.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return $i(this,t,dn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=ho.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return $i(this,void 0,(()=>fn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return $i(this,t,gn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=ji[i];return s||(s=new Intl.ListFormat(t,e),ji[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Zi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Cs()?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={...Gi,...e}),qi.set(t,e)}return e}(this.locale):Gi}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 Ki=null;class Qi extends Ri{static get utcInstance(){return null===Ki&&(Ki=new Qi(0)),Ki}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(Qs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${sn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${sn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return sn(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 ts extends Ri{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 es(t,e){if(Ms(t)||null===t)return e;if(t instanceof Ri)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Vs(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new ts(t)}const is={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ss={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]},ns=is.hanidec.replace(/[\[|\]]/g,"").split("");const rs=new Map;function os({numberingSystem:t},e=""){const i=t||"latn";let s=rs.get(i);void 0===s&&(s=new Map,rs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${is[i]}${e}`),s.set(e,n)),n}let as,cs=()=>Date.now(),us="system",ls=null,hs=null,ds=null,fs=60,ms=null;class ps{static get now(){return cs}static set now(t){cs=t}static set defaultZone(t){us=t}static get defaultZone(){return es(us,Vi.instance)}static get defaultLocale(){return ls}static set defaultLocale(t){ls=t}static get defaultNumberingSystem(){return hs}static set defaultNumberingSystem(t){hs=t}static get defaultOutputCalendar(){return ds}static set defaultOutputCalendar(t){ds=t}static get defaultWeekSettings(){return ms}static set defaultWeekSettings(t){ms=Ls(t)}static get twoDigitCutoffYear(){return fs}static set twoDigitCutoffYear(t){fs=t%100}static get throwOnInvalid(){return as}static set throwOnInvalid(t){as=t}static resetCaches(){Xi.resetCache(),Fi.resetCache(),ho.resetCache(),rs.clear()}}class vs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const gs=[0,31,59,90,120,151,181,212,243,273,304,334],ys=[0,31,60,91,121,152,182,213,244,274,305,335];function ks(t,e){return new vs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function bs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ws(t,e,i){return i+(qs(t)?ys:gs)[e-1]}function _s(t,e){const i=qs(t)?ys:gs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function Is(t,e){return(t-e+7)%7+1}function Ss(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ws(s,n,r),a=Is(bs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Gs(c,e,i)):u>Gs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...nn(t)}}function Os(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Is(bs(s,1,e),i),a=$s(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=$s(c)):u>a?(c=s+1,u-=$s(s)):c=s;const{month:l,day:h}=_s(c,u);return{year:c,month:l,day:h,...nn(t)}}function Ts(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ws(e,i,s),...nn(t)}}function xs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=_s(e,i);return{year:e,month:s,day:n,...nn(t)}}function Ns(t,e){if(!Ms(t.localWeekday)||!Ms(t.localWeekNumber)||!Ms(t.localWeekYear)){if(!Ms(t.weekday)||!Ms(t.weekNumber)||!Ms(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Ms(t.localWeekday)||(t.weekday=t.localWeekday),Ms(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ms(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 As(t){const e=Ds(t.year),i=Ps(t.month,1,12),s=Ps(t.day,1,Bs(t.year,t.month));return e?i?!s&&ks("day",t.day):ks("month",t.month):ks("year",t.year)}function Rs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Ps(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ps(i,0,59),a=Ps(s,0,59),c=Ps(n,0,999);return r?o?a?!c&&ks("millisecond",n):ks("second",s):ks("minute",i):ks("hour",e)}function Ms(t){return void 0===t}function Vs(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Es(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function js(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ls(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Ps(t.firstDay,1,7)||!Ps(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Ps(t,1,7))))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ps(t,e,i){return Ds(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hs(t){return Ms(t)||null===t||""===t?void 0:parseInt(t,10)}function Ws(t){return Ms(t)||null===t||""===t?void 0:parseFloat(t)}function Us(t){if(!Ms(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Zs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function $s(t){return qs(t)?366:365}function Bs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(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 Js(t,e,i){return-Is(bs(t,1,e),i)+e-1}function Gs(t,e=4,i=1){const s=Js(t,e,i),n=Js(t+1,e,i);return($s(t)-s+n)/7}function Xs(t){return t>99?t:t>ps.twoDigitCutoffYear?1900+t:2e3+t}function Ks(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Qs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function tn(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function en(t,e){const i={};for(const s in t)if(js(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=tn(n)}return i}function sn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function nn(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rn=["January","February","March","April","May","June","July","August","September","October","November","December"],on=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],an=["J","F","M","A","M","J","J","A","S","O","N","D"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];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 un=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ln=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hn=["M","T","W","T","F","S","S"];function dn(t){switch(t){case"narrow":return[...hn];case"short":return[...ln];case"long":return[...un];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fn=["AM","PM"],mn=["Before Christ","Anno Domini"],pn=["BC","AD"],vn=["B","A"];function gn(t){switch(t){case"narrow":return[...vn];case"short":return[...pn];case"long":return[...mn];default:return null}}function yn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const kn={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:Ti,ffff:Ni,F:_i,FF:Si,FFF:xi,FFFF:Ai};class bn{static create(t,e={}){return new bn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return kn[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 zs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return fn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return cn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return dn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return yn(bn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=bn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return yn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const wn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _n(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function In(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function Sn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function On(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Hs(e[i+n]);return[s,null,i+n]}}const Tn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${xn.source}${`(?:${Tn.source}?(?:\\[(${wn.source})\\])?)?`}`),An=RegExp(`(?:T${Nn.source})?`),Rn=On("weekYear","weekNumber","weekDay"),Mn=On("year","ordinal"),Vn=RegExp(`${xn.source} ?(?:${Tn.source}|(${wn.source}))?`),Dn=RegExp(`(?: ${Vn.source})?`);function En(t,e,i){const s=t[e];return Ms(s)?i:Hs(s)}function Cn(t,e){return[{hours:En(t,e,0),minutes:En(t,e+1,0),seconds:En(t,e+2,0),milliseconds:Us(t[e+3])},null,e+4]}function Fn(t,e){const i=!t[e]&&!t[e+1],s=Qs(t[e+1],t[e+2]);return[{},i?null:Qi.instance(s),e+3]}function jn(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const Ln=RegExp(`^T?${xn.source}$`),Pn=/^-?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 zn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ws(i)),months:d(Ws(s)),weeks:d(Ws(n)),days:d(Ws(r)),hours:d(Ws(o)),minutes:d(Ws(a)),seconds:d(Ws(c),"-0"===c),milliseconds:d(Us(u),h)}]}const Hn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Hs(e)):Hs(e),month:on.indexOf(i)+1,day:Hs(s),hour:Hs(n),minute:Hs(r)};return o&&(a.second=Hs(o)),t&&(a.weekday=t.length>3?un.indexOf(t)+1:ln.indexOf(t)+1),a}const Un=/^(?:(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 Zn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Wn(e,n,s,i,r,o,a);let f;return f=c?Hn[c]:u?0:Qs(l,h),[d,new Qi(f)]}const qn=/^(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$/,$n=/^(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$/,Bn=/^(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 Yn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,n,s,i,r,o,a),Qi.utcInstance]}function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,a,i,s,n,r,o),Qi.utcInstance]}const Gn=_n(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,An),Xn=_n(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Kn=_n(/(\d{4})-?(\d{3})/,An),Qn=_n(Nn),tr=In((function(t,e){return[{year:En(t,e),month:En(t,e+1,1),day:En(t,e+2,1)},null,e+3]}),Cn,Fn,jn),er=In(Rn,Cn,Fn,jn),ir=In(Mn,Cn,Fn,jn),sr=In(Cn,Fn,jn);const nr=In(Cn);const rr=_n(/(\d{4})-(\d\d)-(\d\d)/,Dn),or=_n(Vn),ar=In(Cn,Fn,jn);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new kr(s)}function gr(t,e){let i=e.milliseconds??0;for(const s of pr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((s,n)=>{if(Ms(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),mr.reduce(((i,s)=>{if(Ms(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;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 kr.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 kr({values:en(t,kr.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vs(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Sn(t,[Pn,zn])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Sn(t,[Ln,nr])}(t);return i?kr.fromObject(i,e):kr.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 vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bn.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Ms(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+=Zs(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(js(e.values,t)||js(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=tn(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...en(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>kr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of mr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vs(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vs(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return yr(this.matrix,e),vr(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 vr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of mr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const br="Invalid Interval";class wr{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 vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),s=fo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,s);return null==n?new wr({start:i,end:s}):n}static after(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=ho.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=ho.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return wr.fromDateTimes(t,r);if(n){const i=kr.fromISO(s,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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 s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(wr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=kr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(wr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:wr.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 wr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(s)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bn.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=ps.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return es(t,ps.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:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||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:Es(),localeWeek:Cs()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(kr.fromMillis(s).as("days"))}function Sr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ir(t,e);return(i-i%7)/7}],["days",Ir]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=kr.fromObject(r,s);return u.length>0?kr.fromMillis(c,s).shiftTo(...u).plus(l):l}function Or(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(is.hanidec))e+=ns.indexOf(t[i]);else for(const t in ss){const[i,n]=ss[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Tr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(xr,Tr)}function Ar(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Rr(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Ar(i)===Ar(t)))+e}}function Mr(t,e){return{regex:t,deser:([,t,e])=>Qs(t,e),groups:e}}function Vr(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 Er=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Lr(bn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=os(e),s=os(e,"{2}"),n=os(e,"{3}"),r=os(e,"{4}"),o=os(e,"{6}"),a=os(e,"{1,2}"),c=os(e,"{1,3}"),u=os(e,"{1,6}"),l=os(e,"{1,9}"),h=os(e,"{2,4}"),d=os(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 Rr(e.eras("short"),0);case"GG":return Rr(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Xs);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(s);case"MMM":return Rr(e.months("short",!0),1);case"MMMM":return Rr(e.months("long",!0),1);case"LLL":return Rr(e.months("short",!1),1);case"LLLL":return Rr(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(n);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Rr(e.meridiems(),0);case"EEE":return Rr(e.weekdays("short",!1),1);case"EEEE":return Rr(e.weekdays("long",!1),1);case"ccc":return Rr(e.weekdays("short",!0),1);case"cccc":return Rr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Mr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(js(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;Ms(t.z)||(i=Fi.create(t.z)),Ms(t.Z)||(i||(i=new Qi(t.Z)),e=t.Z),Ms(t.q)||(t.M=3*(t.q-1)+1),Ms(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),Ms(t.u)||(t.S=Us(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(js(i,"a")&&js(i,"H"))throw new ei("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function jr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=bn.create(e,t).dtFormatter((Er||(Er=ho.fromMillis(1555555555555)),Er)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Pr="Invalid DateTime",zr=864e13;function Hr(t){return new vs("unsupported zone",`the zone "${t.name}" is not supported`)}function Wr(t){return null===t.weekData&&(t.weekData=Ss(t.c)),t.weekData}function Ur(t){return null===t.localWeekData&&(t.localWeekData=Ss(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Zr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function qr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function $r(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 Br(t,e,i){return qr(Ys(t),e,i)}function Yr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Bs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Ys(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=ho.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return ho.invalid(new vs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Gr(t,e,i=!0){return t.isValid?bn.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 s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Kr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],no=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Hr(i));const s=Xi.fromObject(e);let n,r;if(Ms(t.year))n=ps.now();else{for(const e of io)Ms(t[e])&&(t[e]=Qr[e]);const e=As(t)||Rs(t);if(e)return ho.invalid(e);const s=function(t){if(void 0===uo&&(uo=ps.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[n,r]=Br(t,s,i)}return new ho({ts:n,zone:i,loc:s,o:r})}function ao(t,e,i){const s=!!Ms(i.round)||i.round,n=(t,n)=>{t=Zs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||ps.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new vs("invalid input"):null)||(e.isValid?null:Hr(e));this.ts=Ms(t.ts)?ps.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Vs(t.o)&&!t.old?t.o:e.offset(this.ts);s=$r(this.ts,r),i=Number.isNaN(s.year)?new vs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return ho.invalid("invalid input");const n=es(e.zone,ps.defaultZone);return n.isValid?new ho({ts:i,zone:n,loc:Xi.fromObject(e)}):ho.invalid(Hr(n))}static fromMillis(t,e={}){if(Vs(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:es(e.zone,ps.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(Vs(t))return new ho({ts:1e3*t,zone:es(e.zone,ps.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Hr(i));const s=Xi.fromObject(e),n=en(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Ns(n,s),a=ps.now(),c=Ms(e.specificOffset)?i.offset(a):e.specificOffset,u=!Ms(n.ordinal),l=!Ms(n.year),h=!Ms(n.month)||!Ms(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=$r(a,c);m?(p=so,v=to,g=Ss(g,r,o)):u?(p=no,v=eo,g=Ts(g)):(p=io,v=Qr);let y=!1;for(const t of p){Ms(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=Ps(t.weekNumber,1,Gs(t.weekYear,e,i)),r=Ps(t.weekday,1,7);return s?n?!r&&ks("weekday",t.weekday):ks("week",t.weekNumber):ks("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=Ps(t.ordinal,1,$s(t.year));return e?!i&&ks("ordinal",t.ordinal):ks("year",t.year)}(n):As(n),b=k||Rs(n);if(b)return ho.invalid(b);const w=m?Os(n,r,o):u?xs(n):n,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Sn(t,[Gn,tr],[Xn,er],[Kn,ir],[Qn,sr])}(t);return Jr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Sn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Un,Zn])}(t);return Jr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Sn(t,[qn,Yn],[$n,Yn],[Bn,Jn])}(t);return Jr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=jr(t,e,i);return[s,n,r,o]}(r,t,e);return u?ho.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Sn(t,[rr,tr],[or,ar])}(t);return Jr(i,s,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 vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Ke(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Xi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bn.parseFormat(t),Xi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.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?Wr(this).weekYear:NaN}get weekNumber(){return this.isValid?Wr(this).weekNumber:NaN}get weekday(){return this.isValid?Wr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ur(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ur(this).weekYear:NaN}get ordinal(){return this.isValid?Ts(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Ys(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Zr(this,{ts:a}),Zr(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Bs(this.year,this.month)}get daysInYear(){return this.isValid?$s(this.year):NaN}get weeksInWeekYear(){return this.isValid?Gs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Gs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=bn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(ps.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=es(t,ps.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Br(i,e,t)}return Zr(this,{ts:s,zone:t})}return ho.invalid(Hr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Zr(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=en(t,ro),{minDaysInFirstWeek:i,startOfWeek:s}=Ns(e,this.loc),n=!Ms(e.weekYear)||!Ms(e.weekNumber)||!Ms(e.weekday),r=!Ms(e.ordinal),o=!Ms(e.year),a=!Ms(e.month)||!Ms(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;n?l=Os({...Ss(this.c,i,s),...e},i,s):Ms(e.ordinal)?(l={...this.toObject(),...e},Ms(e.day)&&(l.day=Math.min(Bs(l.year,l.month),l.day))):l=xs({...Ts(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Zr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=kr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?bn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bn.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Kr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Gr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Kr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Gr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gr(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 s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Gr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||ho.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),ao(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new si("min requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new si("max requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return jr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Fr(n,t)}static fromFormatParser(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,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?ho.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Vs(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(){const t=["toJSDate","13129060YriVDH","monthLong","weekdayLong","30umTCtN","local","fromJSDate","1080064GLqCeX","toRelativeCalendar","1280741WCZWwh","startOf","2093695aGxemV","minus","day","week","year","4LjVlxl","2416vYtkFw","1018383Mpmxrz","8739ZeSGAq","1564005xLhQKJ","month","setLocale","hasSame"];return(mo=function(){return t})()}function po(t,e){const i=mo();return(po=function(t,e){return i[t-=184]})(t,e)}function vo(t,e){const i=po,s=ho[i(186)](t)[i(202)](e),n=ho[i(185)](),r=n[i(192)]({days:1})[i(190)](i(193));let o,a;return s[i(203)](n,i(193))?(o=s[i(190)](i(193))[i(204)](),a=s[i(188)]()):s[i(203)](r,i(193))?(o=r[i(204)](),a=s[i(188)]()):s[i(203)](n,i(194))?(o=s[i(190)](i(194))[i(204)](),a=s[i(207)]||""):s[i(203)](n,i(195))?(o=s[i(190)](i(201))[i(204)](),a=s[i(206)]||""):(o=s[i(190)](i(195))[i(204)](),a=String(s[i(195)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(516054===-parseInt(e(198))/1+parseInt(e(187))/2+-parseInt(e(200))/3+-parseInt(e(196))/4*(parseInt(e(191))/5)+parseInt(e(184))/6*(parseInt(e(189))/7)+parseInt(e(197))/8*(-parseInt(e(199))/9)+parseInt(e(205))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=Rt(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Vt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;function ko(t,e){const i=wo();return(ko=function(t,e){return i[t-=396]})(t,e)}const bo=ko;function wo(){const t=["revisionViews","addRevision","remove","1360REtAOG","select","12AZqyOr","35760hfeGCS","uiLanguage","startDate","79545StVxRH","_revisionActions","setTemplate","div","_requireRevisionName","createCollection","span","removeRevision","ck-revision-history-sidebar__time-period","5PUQZwn","ck-revision-history-sidebar__time-period__label","3eYfdey","localizedPeriodName","907944MMpjFN","1595728PEorJy","12321boDPBs","setName","locale","find","add","ck-revision-history-sidebar__time-period__revisions","846028kSLUsC","delegate","44zPRegc","1008700aujcuM"];return(wo=function(){return t})()}!function(t){const e=ko,i=t();for(;;)try{if(127305===parseInt(e(424))/1*(-parseInt(e(412))/2)+-parseInt(e(426))/3*(parseInt(e(402))/4)+-parseInt(e(415))/5*(parseInt(e(411))/6)+parseInt(e(405))/7+parseInt(e(429))/8+-parseInt(e(396))/9*(parseInt(e(409))/10)+-parseInt(e(404))/11*(-parseInt(e(428))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[bo(414)];[bo(406)];[bo(416)];[bo(419)];constructor(t,e,i,s){const n=bo;super(t);const r=vo(e,this[n(398)][n(413)])[n(427)];this[n(414)]=e,this[n(406)]=this[n(420)](),this[n(416)]=i,this[n(419)]=s,this[n(406)][n(403)](n(410)).to(this),this[n(406)][n(403)](n(397)).to(this),this[n(417)]({tag:n(418),attributes:{class:["ck",n(423)]},children:[{tag:n(421),attributes:{class:["ck",n(425)]},children:[{text:r}]},{tag:n(418),attributes:{class:["ck",n(401)]},children:this[n(406)]}]})}[bo(407)](t){const e=bo,i=new Ge(this[e(398)],t,this[e(416)],this[e(419)]);this[e(406)][e(400)](i)}[bo(422)](t){const e=bo,i=this[e(406)][e(399)]((e=>e.id===t.id));this[e(406)][e(408)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=Rt(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Vt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(t,e){const i=To();return(Oo=function(t,e){return i[t-=261]})(t,e)}function To(){const t=["setTemplate","279856XJdsYO","ck-revision-history-sidebar__header__label","1791942ziPtsm","Revision history","16801246nZYlrx","4839404TbPkJJ","content","13036212AtTmdB","7751826yUmfaQ","30bDgpqa","56vXKlVB","20HfOnyl","ck-reset_all","ck-revision-history-sidebar__header","5QvJiPv","91849UIvwAw","span","div"];return(To=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(730721===parseInt(e(266))/1*(parseInt(e(279))/2)+parseInt(e(272))/3+-parseInt(e(275))/4*(parseInt(e(265))/5)+parseInt(e(278))/6+parseInt(e(261))/7*(parseInt(e(270))/8)+parseInt(e(277))/9+-parseInt(e(262))/10*(parseInt(e(274))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends _t.View{constructor(t){const e=Oo;super(t);const i=new _t.IconView;i[e(276)]=wt.IconHistory,this[e(269)]({tag:e(268),attributes:{class:["ck",e(263),e(264)]},children:[i,{tag:e(267),attributes:{class:["ck",e(271)]},children:[ot(t,e(273))]}]})}}var No=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Rt(),Ao.insert=Nt().bind(null,"head"),Ao.domAPI=Tt(),Ao.insertStyleElement=Vt();St()(No.A,Ao);No.A&&No.A.locals&&No.A.locals;function Ro(t,e){const i=Vo();return(Ro=function(t,e){return i[t-=202]})(t,e)}const Mo=Ro;function Vo(){const t=["flat","map","addRevision","set","add","remove","66XcXpyA","bindTemplate","select","2647552gfAcBO","fire","locale","delegate","removeRevision","div","192CFcRXU","find","setName","193032YKXlsm","uiLanguage","highlight","_revisions","_removeRevision","ck-revision-history-sidebar","unhighlight","1203051hzMBOn","1HSKlJA","4515327CFyGsm","getTime","_getTimePeriodViewByStartDate","10yFyOLL","setTemplate","revisionSelected","ck-revision-history-sidebar__timeline","18315627CQGiMS","render","some","createCollection","deselect","79210VfzTvK","highlightRevisions","startDate","_revisionActions","ck-rounded-corners","get","createdAt","revisionSetName","timePeriodViews","_requireRevisionName","ck-reset","_addRevision","isEnabled","revisionViews","selectRevision","111955dEByio","ck-disabled"];return(Vo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(354679===parseInt(e(225))/1*(parseInt(e(238))/2)+parseInt(e(224))/3+parseInt(e(208))/4+-parseInt(e(253))/5*(parseInt(e(205))/6)+parseInt(e(217))/7*(parseInt(e(214))/8)+parseInt(e(226))/9+parseInt(e(229))/10*(-parseInt(e(233))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends _t.View{[Mo(246)];[Mo(220)];[Mo(241)];[Mo(247)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(206)];this[n(246)]=this[n(236)](),this[n(246)][n(211)](n(207)).to(this),this[n(246)][n(211)](n(216)).to(this),this[n(220)]=e,this[n(241)]=i,this[n(247)]=s,this.on(n(207),((t,e)=>{const i=n;this[i(209)](i(231),e)})),this.on(n(216),((t,e)=>{const i=n;this[i(209)](i(245),e)})),this[n(202)](n(250),!1),this[n(230)]({tag:n(213),attributes:{class:["ck",n(248),n(242),n(222)]},children:[new xo(t),{tag:n(213),attributes:{class:["ck",n(232),r.if(n(250),n(254),(t=>!t))]},children:this[n(246)]}]})}[Mo(234)](){const t=Mo;super[t(234)]();for(const e of this[t(220)])this[t(249)](e);this[t(220)].on(t(203),((e,i)=>{this[t(249)](i)})),this[t(220)].on(t(204),((e,i)=>{this[t(221)](i)}))}get[Mo(251)](){const t=Mo;return this[t(246)][t(256)]((e=>e[t(251)][t(256)]((t=>t))))[t(255)]()}[Mo(252)](t){const e=Mo;for(const i of this[e(251)])t&&t.id===i.id?i[e(207)]():i[e(237)]()}[Mo(239)](t){const e=Mo;for(const i of this[e(251)])t[e(235)]((({id:t})=>t===i.id))?i[e(219)]():i[e(223)]()}[Mo(249)](t){const e=Mo,i=vo(t[e(244)],this[e(210)][e(218)])[e(240)];let s=this[e(246)][e(243)](0);s&&s[e(240)][e(227)]()===i[e(227)]()||(s=new _o(this[e(210)],i,this[e(241)],this[e(247)]),this[e(246)][e(203)](s)),s[e(257)](t)}[Mo(221)](t){const e=Mo,i=vo(t[e(244)],this[e(210)][e(218)])[e(240)];this[e(228)](i)[e(212)](t)}[Mo(228)](t){const e=Mo;return this[e(246)][e(215)]((i=>i[e(240)][e(227)]()===t[e(227)]()))}}function Eo(){const t=["isSelected","getRevision","requires","get","highlightRevisions","map","editor","destroy","fieldView","locale","2586240hbRaFG","_revisionViewer","63EmqDlG","select","appendChild","length","_handleDiffChange","4646568ojObfY","isPremiumPlugin","_handleEditorDataReady","change:diff","focus","_createRevisionActions","7129510NpEKbY","revisionHistory.viewerSidebarContainer","revisionSelected","Restore this revision","getEarlierVisibleRevision","add","restoreRevision","_sidebarView","timePeriodViews","isReady","action","revisionHistory","availableRevisionActions","6056WRDUCk","selectRevision","isOfficialPlugin","plugins","element","nameRevision","assign","compareAgainstSelected","Compare against selected","isVisible","Name this revision","getRevisionsInDiff","config","ready","restoreRevisionCallback","listenTo","bind","revisionViews","_handleRevisionSelected","_handleRevisionSetName","newRevisionId","repository","data","remove","pluginName","1XeyZhC","_revisions","name","diff","_revisionsRepository","326928wnMGWy","defaultRevisionActions","isEnabled","getLaterVisibleRevision","3137392GJQGqo","542786tJqSFC","string","compare","getIndex","setName","revisionSetName","init","revisionHistory.requireRevisionName","revisionHistory.revisionActions","RevisionsSidebar","render","4970lESZSc"];return(Eo=function(){return t})()}const Co=jo;!function(t){const e=jo,i=t();for(;;)try{if(799257===parseInt(e(158))/1*(parseInt(e(168))/2)+-parseInt(e(163))/3+parseInt(e(167))/4+parseInt(e(120))/5+parseInt(e(114))/6+parseInt(e(179))/7*(-parseInt(e(133))/8)+parseInt(e(192))/9*(-parseInt(e(190))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Fo extends J.Plugin{[Co(191)];[Co(162)];[Co(127)];static[Co(164)]=[Co(140),Co(126),Co(138)];static[Co(132)]=function(){const t=Co;return{compareAgainstSelected:{name:t(141),action:({plugins:e},i)=>{const s=t,n=e[s(183)](ce),r=n[s(154)];let o=n[s(161)][s(153)],a=i.id;r[s(171)](o)>r[s(171)](a)&&([o,a]=[a,o]),n[s(170)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(183)](ce);return!(n[s(154)][s(144)](n[s(161)])[s(112)]>2||i[s(180)])}},restoreRevision:{name:t(123),action:(e,{id:i})=>{const s=t;e[s(145)][s(183)](s(131))[s(147)](i)},isVisible:({plugins:e},i)=>!!e[t(183)](ce)[t(154)][t(166)](i.id)},nameRevision:{name:t(143),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(183)](ce),o=r[n(154)][n(124)](i);r[n(170)](i,o),s[n(118)](),s[n(188)][n(193)]()}}}}();static get[Co(157)](){return Co(177)}static get[Co(135)](){return!0}static get[Co(115)](){return!0}static get[Co(182)](){return[ce]}constructor(t){const e=Co;super(t),this[e(191)]=t[e(136)][e(183)](ce),this[e(162)]=this[e(191)][e(154)],this[e(127)]=null}[Co(174)](){const t=Co,e=this[t(162)][t(159)],i=this[t(119)](),s=this[t(186)][t(145)][t(183)](t(121));this[t(127)]=new Do(this[t(186)][t(189)],e,i,this[t(186)][t(145)][t(183)](t(175))),this[t(127)].on(t(122),this[t(151)][t(149)](this)),this[t(127)].on(t(173),this[t(152)][t(149)](this)),this[t(127)][t(149)](t(165)).to(this[t(191)]),this[t(127)][t(128)].on(t(125),((e,i)=>{const s=t;i[s(150)].on(s(125),((t,e)=>{const i=s;e[i(149)](i(165),i(129)).to(this[i(191)])}))})),this[t(127)][t(178)](),this[t(148)](this[t(186)][t(155)],t(146),this[t(116)][t(149)](this)),this[t(148)](this[t(191)],t(117),this[t(113)][t(149)](this)),s[t(111)](this[t(127)][t(137)])}[Co(187)](){const t=Co;this[t(127)][t(137)][t(156)](),this[t(127)][t(187)]()}[Co(116)](){const t=Co,e=this[t(162)][t(181)](0);if(e){const i=this[t(162)][t(124)](e.id);this[t(191)][t(170)](e,i)}}[Co(151)](t,e){const i=Co,s=this[i(162)][i(181)](e.id),n=this[i(162)][i(124)](s.id);this[i(191)][i(170)](s,n)}[Co(152)](t,e){const i=Co;this[i(162)][i(181)](e.id)[i(172)](e[i(160)])}[Co(113)](t,e,i){const s=Co,n=this[s(162)][s(144)](i);n[s(112)]>2?(this[s(127)][s(184)](n),this[s(127)][s(134)](null)):(this[s(127)][s(184)]([]),this[s(127)][s(134)](n[0]))}[Co(119)](){const t=Co,e=this[t(186)],i=Fo[t(132)],s=e[t(145)][t(183)](t(176))||Fo[t(164)];if(s[t(112)])return s[t(185)]((s=>{const n=t,r=n(169)==typeof s?Object[n(139)]({},i[s]):s;return r[n(130)]=r[n(130)][n(149)](this,e),r[n(142)]&&(r[n(142)]=r[n(142)][n(149)](this,e)),r}))}}function jo(t,e){const i=Eo();return(jo=function(t,e){return i[t-=111]})(t,e)}function Lo(){const t=["143539QGskhy","limiterElement","destroy","36KJdAgf","view","focusTracker","isFocused","attachDomRoot","isActive","840aJWxLV","render","stickyPanel","detachDomRoot","23958ialhtz","addToolbar","viewportOffset","document","690qmfStD","fillFromConfig","4CuNPrG","element","1330gxPYkh","name","get","_view","editing","5454jjgNoz","153536eCGiUd","1559327LLKjic","viewportTopOffset","_toolbarConfig","36hbvBWa","config","toolbar","replace","4208jSuANf","ready","_initToolbar","getRoot","_elementReplacer","init","fire","setEditableElement","editor","componentFactory","restore","rootName","bind","8852558zHVYCY","editable"];return(Lo=function(){return t})()}function Po(t,e){const i=Lo();return(Po=function(t,e){return i[t-=349]})(t,e)}const zo=Po;!function(t){const e=Po,i=t();for(;;)try{if(237315===parseInt(e(349))/1*(-parseInt(e(368))/2)+parseInt(e(380))/3*(-parseInt(e(376))/4)+parseInt(e(370))/5*(-parseInt(e(375))/6)+-parseInt(e(358))/7*(parseInt(e(384))/8)+parseInt(e(362))/9*(parseInt(e(366))/10)+parseInt(e(377))/11*(parseInt(e(352))/12)+parseInt(e(397))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Ho extends _t.EditorUI{[zo(373)];[zo(379)];[zo(388)];get[zo(353)](){return this[zo(373)]}constructor(e,i){const s=zo;super(e),this[s(373)]=i,this[s(379)]=(0,_t.normalizeToolbarConfig)(e[s(381)][s(372)](s(382))),this[s(388)]=new t.ElementReplacer}get[zo(369)](){const t=zo;return this[t(353)][t(369)]}[zo(389)](t){const e=zo,i=this[e(392)],s=this[e(353)],n=i[e(374)][e(353)],r=s[e(398)],o=n[e(365)][e(387)]();r[e(371)]=o[e(395)],s[e(359)]();const a=r[e(369)];this[e(391)](r[e(371)],a),s[e(398)][e(396)](e(355)).to(this[e(354)]),n[e(356)](a),this[e(388)][e(383)](t,this[e(369)]),this[e(386)](),this[e(390)](e(385))}[zo(351)](){const t=zo;super[t(351)]();const e=this[t(353)],i=this[t(392)][t(374)][t(353)];this[t(388)][t(394)](),i[t(361)](e[t(398)][t(371)]),e[t(351)]()}[zo(386)](){const t=zo,e=this[t(353)];e[t(360)][t(396)](t(357)).to(this[t(354)],t(355)),e[t(360)][t(350)]=e[t(369)],e[t(360)][t(396)](t(378)).to(this,t(364),(({top:t})=>t)),e[t(382)][t(367)](this[t(379)],this[t(393)]),this[t(363)](e[t(382)])}}var Wo=i(161),Uo={attributes:{"data-cke":!0}};Uo.setAttributes=Rt(),Uo.insert=Nt().bind(null,"head"),Uo.domAPI=Tt(),Uo.insertStyleElement=Vt();St()(Wo.A,Uo);Wo.A&&Wo.A.locals&&Wo.A.locals;var Zo=qo;function qo(t,e){var i=Bo();return(qo=function(t,e){return i[t-=111]})(t,e)}!function(t){for(var e=qo,i=t();;)try{if(561193===parseInt(e(116))/1+-parseInt(e(125))/2*(-parseInt(e(128))/3)+parseInt(e(131))/4+-parseInt(e(122))/5*(parseInt(e(112))/6)+parseInt(e(118))/7*(parseInt(e(121))/8)+parseInt(e(124))/9*(parseInt(e(119))/10)+-parseInt(e(117))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class $o extends _t.BoxedEditorUIView{[Zo(120)];[Zo(130)];[Zo(113)];get[Zo(115)](){return this[Zo(120)]}constructor(t,e,i={}){var s=Zo;super(t),this[s(130)]=new _t.StickyPanelView(t),this[s(113)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[s(127)]}),this[s(120)]=new _t.InlineEditableUIView(t,e)}[Zo(111)](){var t=Zo;super[t(111)](),this[t(130)][t(126)][t(114)](this[t(113)]),this[t(123)][t(114)](this[t(130)]),this[t(129)][t(114)](this[t(115)])}}function Bo(){var t=["3851384rjYNPP","1229410QjHeBl","top","7985493aPbHZu","391826SjhDzx","content","shouldToolbarGroupWhenFull","3FcqhKs","main","stickyPanel","3578564cWXhAM","render","18HWeqTm","toolbar","add","editable","745411NTOeWO","26259739yKVkZt","14tpZmry","10nPWSVU","_editable"];return(Bo=function(){return t})()}const Yo=Go;function Jo(){const t=["3867258FgMJNM","fire","7382aaWuRM","updateSourceElement","config","create","view","editing","initPlugins","document","3376180jNRzjS","get","destroy","model","9603594clbrnj","init","sourceElement","data","654mYeCzX","initialData","17030uRbUSc","ready","locale","_ui","2475ctoBrT","createRoot","12285YvBsNK","3178848zIfunh","87PHWVhk"];return(Jo=function(){return t})()}function Go(t,e){const i=Jo();return(Go=function(t,e){return i[t-=117]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(778854===parseInt(e(119))/1*(-parseInt(e(122))/2)+parseInt(e(120))/3+parseInt(e(130))/4+parseInt(e(117))/5*(parseInt(e(138))/6)+-parseInt(e(134))/7+-parseInt(e(118))/8+parseInt(e(144))/9*(parseInt(e(140))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Yo(143)];get ui(){return this[Yo(143)]}constructor(t,e){const i=Yo;super(e),this[i(136)]=t,this[i(133)][i(129)][i(145)]();const s=new $o(this[i(142)],this[i(127)][i(126)],{shouldToolbarGroupWhenFull:!0});this[i(143)]=new Ho(this,s)}[Yo(132)](){const t=Yo;return this[t(123)](),this.ui[t(132)](),super[t(132)]()}static async[Yo(125)](t,e){const i=Yo,s=new this(t,e);return await s[i(128)](),await s.ui[i(135)](t),await s[i(137)][i(135)](s[i(124)][i(131)](i(139))||""),s[i(121)](i(141)),s}}const Ko=Qo;function Qo(t,e){const i=sa();return(Qo=function(t,e){return i[t-=395]})(t,e)}!function(t){const e=Qo,i=t();for(;;)try{if(870130===parseInt(e(499))/1+parseInt(e(524))/2+parseInt(e(416))/3+parseInt(e(414))/4+parseInt(e(476))/5*(-parseInt(e(510))/6)+parseInt(e(541))/7*(parseInt(e(440))/8)+-parseInt(e(402))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);const ta=[Ko(484),Ko(461)];class ea extends J.Plugin{[Ko(439)];static get[Ko(407)](){return Ko(463)}static get[Ko(421)](){return!0}static get[Ko(504)](){return!0}constructor(t){const e=Ko;function i(t){const e=Qo;return t[e(411)]((t=>String[e(465)](t)))[e(508)]("")}super(t),this[e(439)]=e(462),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 ia extends J.Plugin{[Ko(480)];static get[Ko(407)](){return Ko(483)}static get[Ko(421)](){return!0}static get[Ko(504)](){return!0}static get[Ko(422)](){return[mt,Zt]}constructor(e){const i=Ko;if(super(e),!this[i(438)][i(455)][i(450)](i(503)))throw new t.CKEditorError(i(445),this);this[i(480)]=null,this[i(406)](i(521),!1),this[i(438)][i(455)][i(528)](i(506),(t=>this[i(501)]({...t,translations:this[i(438)][i(420)][i(537)]}))),this[i(438)][i(455)][i(528)](i(444),(t=>this[i(486)](t))),this[i(438)][i(455)][i(528)](i(442),(t=>this[i(467)](t))),this[i(438)][i(455)][i(528)](i(493),!1),this[i(512)](),this[i(526)]()}set[Ko(520)](t){const e=Ko;this[e(438)][e(434)][e(450)](e(435))[e(520)]=t}get[Ko(520)](){const t=Ko;return this[t(438)][t(434)][t(450)](t(435))[t(520)]}[Ko(436)](t){const e=Ko;return this[e(438)][e(434)][e(450)](e(435))[e(436)](t)}[Ko(490)](t){const e=Ko;return this[e(438)][e(434)][e(450)](e(532))[e(490)](t)}[Ko(522)](t){const e=Ko;return this[e(438)][e(434)][e(450)](e(532))[e(522)](t||{toJSON:!1})}[Ko(431)](){const e=Ko,i=this[e(438)],s=(0,G.sanitizeEditorConfig)(i,ta),n=i[e(434)][e(450)](e(435)),r=i[e(434)][e(450)](e(525))[e(481)];return s[e(460)]=[e(456),e(514),e(451)],delete s[e(466)],s[e(434)][e(398)](ea,ce,xe,class extends J.Plugin{static get[e(422)](){return[ce,e(525)]}[e(543)](){const s=e,o=this[s(438)][s(434)][s(450)](s(525));for(const t of r)t[s(497)]||o[s(447)](t.id)||o[s(542)](t);const a=n[s(468)][s(522)]();let c=null;const u=this[s(438)][s(434)][s(450)](s(498));u[s(520)]=n[s(520)],u[s(523)](s(423)).to(n),this[s(438)][s(443)][s(450)](s(514))[s(523)](s(423)).to(i,s(464),(t=>!t));for(const e of a){const i=null===e[s(533)];if(i&&e[s(413)]===e[s(519)])continue;const r=e[s(428)]();u[s(436)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(453)](r,o);else if(!o){const e=a[u(428)]();e.id=(0,t.uid)(),n[u(474)](e,a[u(413)])[u(470)]((t=>{c=t}))}}else e[u(453)](r,o)}))}}},Fo),s}[Ko(512)](){const t=Ko,e=this[t(438)][t(455)][t(450)](t(503))[t(399)];this[t(438)][t(455)][t(406)](t(506),(async()=>{const i=t;this[i(438)][i(441)](i(531));const s=this[i(438)][i(434)][i(450)](i(435));if(this[i(438)][i(434)][i(408)](i(472))){const t=this[i(438)][i(434)][i(450)](i(472));await t[i(496)]()}else await s[i(396)]();if(this[i(438)][i(434)][i(408)](i(471))&&this[i(438)][i(434)][i(450)](i(471))[i(473)](),this[i(438)][i(434)][i(408)](i(489))){const t=this[i(438)][i(434)][i(450)](i(489));t[i(452)]&&t[i(437)]()}const n=this[i(431)]();return e(n)[i(470)]((t=>{const e=i;return this[e(480)]=t,this[e(438)][e(434)][e(408)](e(397))&&this[e(438)][e(434)][e(450)](e(397))[e(534)](),this[e(438)][e(434)][e(408)](e(449))&&(this[e(438)][e(434)][e(450)](e(446))[e(404)][e(425)][e(417)][e(412)]=e(527)),t}))[i(487)]((t=>(console[i(477)](t),this[i(438)][i(529)](i(531)),null)))}))}[Ko(526)](){const t=Ko,e=this[t(438)][t(455)][t(450)](t(503))[t(516)];this[t(438)][t(455)][t(406)](t(444),(()=>(this[t(438)][t(434)][t(408)](t(471))&&this[t(438)][t(434)][t(450)](t(471))[t(473)](),this[t(438)][t(434)][t(408)](t(449))&&(this[t(438)][t(434)][t(450)](t(446))[t(404)][t(425)][t(417)][t(412)]=""),this[t(480)][t(434)][t(450)](t(498))[t(432)](),e(this[t(480)])[t(470)]((()=>{const e=t;if(this[e(438)][e(529)](e(531)),this[e(480)]=null,this[e(438)][e(434)][e(408)](e(397))){const t=this[e(438)][e(434)][e(450)](e(397));t[e(534)](),t[e(492)]()}})))))}[Ko(501)](t){const e=Ko,i=this[e(438)][e(455)][e(450)](e(410)),s=this[e(438)][e(455)][e(450)](e(459)),n=this[e(438)][e(455)][e(450)](e(507));return Xo[e(395)](n,t)[e(470)]((t=>(s[e(417)][e(412)]=e(535),i[e(417)][e(412)]=e(527),this[e(521)]=!0,t)))}[Ko(486)](t){const e=Ko,i=this[e(438)][e(455)][e(450)](e(410));return this[e(438)][e(455)][e(450)](e(459))[e(417)][e(412)]=e(527),i[e(417)][e(412)]="",this[e(521)]=!1,t[e(488)]()}async[Ko(467)](t){const e=Ko,i=this[e(438)],s=this[e(480)][e(434)][e(450)](e(498)),n=i[e(434)][e(450)](e(435)),r=i[e(434)][e(450)](e(454)),o=s[e(468)][e(490)](t);let a,c,u;try{await r[e(540)](o,this[e(520)]),a=r[e(538)](o),c=r[e(509)](o)}catch(t){return void console[e(477)](t)}i[e(491)][e(479)]((t=>{const s=e;for(const e of Array[s(511)](i[s(491)][s(419)][s(544)](s(495))))t[s(433)](e)})),s[e(502)]=!1,i[e(491)][e(530)]((t=>{const s=e;t[s(405)](null),t[s(513)](i[s(491)][s(409)][s(403)][s(430)]());const n=Object[s(539)](a);for(const e of i[s(491)][s(409)][s(415)])s(536)!=e[s(478)]&&e[s(494)]()&&!n[s(429)](e[s(478)])&&t[s(518)](e);for(const e of n){let n=i[s(491)][s(409)][s(458)](e);n&&n[s(494)]()||(n=t[s(515)](e));const r=c[e],o=Object[s(539)](r),u=a[e];for(const e of n[s(430)]())o[s(429)](e)||t[s(500)](e,n);for(const i of o)t[s(469)](i,c[e][i],n);t[s(482)](t[s(457)](n)),t[s(400)](i[s(427)][s(475)](u,n),n,0)}}));const l=ot(i[e(420)],e(424));return u=o[e(505)]?-1==o[e(505)][e(485)](l)?l+": "+o[e(505)]:o[e(505)]:l+": "+o[e(401)][e(426)](i[e(420)][e(545)],{month:e(418),day:e(448)})+", "+o[e(401)][e(517)](i[e(420)][e(545)],{hour:e(448),minute:e(448)}),await n[e(474)]({name:u}),s[e(502)]=!0,i[e(455)][e(450)](e(503))[e(516)]()}}function sa(){const t=["result","2251464YrOqCk","enableReadOnlyMode","revisionHistory.restoreRevisionCallback","commands","revisionHistory.closeRevisionViewerCallback","revision-history-missing-configuration","DocumentOutlineUI","getUser","numeric","DocumentOutline","get","changesNavigation","isOpen","_update","RevisionHistoryUtils","config","exitToEditing","createRangeIn","getRoot","revisionHistory.viewerContainer","toolbar","RestrictedEditingMode","end","RevisionViewerIntegration","isReadOnly","fromCharCode","lazyRoots","_restoreRevision","repository","setAttribute","then","PaginationLookup","Autosave","_recalculatePageBreaks","saveRevision","parse","351145xHoskk","error","rootName","change","_viewerEditor","users","remove","RevisionHistory","RevisionHistoryUI","indexOf","_closeRevisionViewer","catch","destroy","Dialog","getRevision","model","refreshPositioning","revisionHistory.requireRevisionName","isAttached","restrictedEditingException","save","isAnonymous","RevisionViewer","435888HPpSfm","removeAttribute","_showRevisionViewer","isReady","revisionHistory","isPremiumPlugin","name","revisionHistory.showRevisionViewerCallback","revisionHistory.viewerEditorElement","join","getRevisionRootsAttributes","18RXhuPd","from","_enhanceShowRevisionViewerCallback","removeSelectionAttribute","restoreRevision","addRoot","closeRevisionViewerCallback","toLocaleTimeString","detachRoot","fromVersion","adapter","isRevisionViewerOpen","getRevisions","bind","3381852tGcdXD","Users","_enhanceCloseRevisionViewerCallback","none","define","disableReadOnlyMode","enqueueChange","revision-history-viewer-opened","RevisionsRepository","creator","refreshVisibility","block","$graveyard","translations","getRevisionDocumentData","keys","loadRevisionData","14RXrHIB","addUser","init","getMarkersGroup","uiLanguage","create","update","Annotations","push","showRevisionViewerCallback","insert","createdAt","36053757mLatYk","selection","view","setSelection","set","pluginName","has","document","revisionHistory.editorContainer","map","display","toVersion","4271228kgLfTq","roots","3987909IpCbJd","style","long","markers","locale","isOfficialPlugin","requires","isEnabled","Restored","element","toLocaleDateString","data","toJSON","includes","getAttributeKeys","_getRevisionViewerEditorConfig","_cleanUp","removeMarker","plugins","RevisionTracker","addRevisionData","hide","editor"];return(sa=function(){return t})()}function na(t,e){var i=ra();return(na=function(t,e){return i[t-=173]})(t,e)}function ra(){var t=["28DeYzWZ","475022UHcuev","4825782YHGhBO","1456064lfIMIH","926806UffTkD","2472108WEJyAo","258830vAIRnP","1712024tCxlss"];return(ra=function(){return t})()}!function(t){for(var e=na,i=t();;)try{if(935796===parseInt(e(179))/1+parseInt(e(176))/2+parseInt(e(180))/3+parseInt(e(174))/4+parseInt(e(173))/5+-parseInt(e(177))/6+-parseInt(e(175))/7*(parseInt(e(178))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
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:()=>ce,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>mt,RevisionViewer:()=>oe,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>xe,RevisionsRepository:()=>et,RevisionsSidebar:()=>Fo,ShowChangeCommand:()=>ue});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,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&M(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function F(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)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(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 z(t,e,i){return function(t,e,i,n){if(null==t&&!P(t))return t;const s=F(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let t=0;t<s.length&&null!=r;t++){const e=L(s[t]);let o;if(t===s.length-1)o=i(r[e]);else{const i=r[e],a=n(i);o=void 0!==a?a:P(i)?i:E(s[t+1])?[]:{}}V(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function U(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":{const n=t[e];return void 0===n?U(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(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;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);const n=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===n?i:n}}}function H(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;try{return delete i[n],!0}catch{return!1}}const $=q;function q(t,e){const i=B();return(q=function(t,e){return i[t-=313]})(t,e)}function B(){const t=["152UNyatg","toJSON","3429iAPhby","10156cZnJrb","createdAt","404xiCkIe","_update","1068897mnQOZU","fromVersion","toVersion","model","7UcsMbJ","955LvjxRA","8384940VnSlHL","authorsIds","setAttribute","6864408lsOkIO","1125310TZwFJu","fire","creator","creatorId","attributes","376344DqkpEe","removeAttribute","authors","name","setName","set","99GQKHhl","diffData","map"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(580110===parseInt(e(333))/1+parseInt(e(331))/2*(-parseInt(e(328))/3)+parseInt(e(329))/4*(-parseInt(e(338))/5)+-parseInt(e(342))/6*(-parseInt(e(337))/7)+parseInt(e(326))/8*(parseInt(e(317))/9)+parseInt(e(343))/10*(-parseInt(e(323))/11)+-parseInt(e(339))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends((0,t.ObservableMixin)()){id;[$(314)];[$(319)];[$(324)];[$(335)];[$(334)];[$(336)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(314)]=e[i(314)]||null,this[i(319)]=e[i(319)]||[],this[i(324)]=e[i(324)]||null,this[i(335)]=e[i(335)]||0,this[i(334)]=e[i(334)]||0,this[i(322)](i(320),e[i(320)]||""),this[i(322)](i(330),e[i(330)]||new Date),this[i(322)](i(316),e[i(316)]||{})}[$(321)](t){this[$(332)]({name:t})}[$(341)](t,e){const i=$,n=R(this[i(316)]);z(n,t,e),this[i(332)]({attributes:n})}[$(318)](t){const e=$,i=R(this[e(316)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return H(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&U(e))return H(t,W(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(332)]({attributes:i})}[$(332)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(320),i(330),i(324),i(319),i(316),i(335),i(334),i(315)];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(319)]&&(s[i(340)]=s[i(319)][i(325)]((t=>t.id)),delete s[i(319)]),this[i(313)](i(332),s,e))}[$(327)](){const t=$;return{id:this.id,name:this[t(320)],creatorId:this[t(314)]?this[t(314)].id:null,authorsIds:this[t(319)][t(325)]((t=>t.id)),diffData:this[t(324)],createdAt:this[t(330)],attributes:this[t(316)],fromVersion:this[t(334)],toVersion:this[t(335)]}}}var J=i(782),G=i(211),K=i(783);function Q(){const t=["diffData","_revisions","fromVersion","createdAt","pluginName","createRevision","4544449TXcgia","getRevisions","href","get","getUser","oldRevisionId","length","editor","toJSON","35itMiCP","data","reverse","getIndex","isOfficialPlugin","6471368FWbqAX","newRevisionId","RevisionsRepository","addRevision","afterInit","plugins","name","getRevisionsInDiff","isNaN","map","661572bIAEjV","attributes","authorsIds","3qSwVjT","toVersion","getRevisionsIterator","creatorId","requires","getRevision","fromCharCode","add","getEarlierVisibleRevision","from","push","getLaterVisibleRevision","earlier","239466UpvZNA","351288OYofIN","Users","15256485QvNbGm","isPremiumPlugin","561908ssVxNj","later","join"];return(Q=function(){return t})()}const X=tt;function tt(t,e){const i=Q();return(tt=function(t,e){return i[t-=445]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(584065===parseInt(e(480))/1+-parseInt(e(497))/2+-parseInt(e(483))/3*(-parseInt(e(447))/4)+parseInt(e(465))/5*(-parseInt(e(496))/6)+-parseInt(e(456))/7+-parseInt(e(470))/8+parseInt(e(445))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class et extends J.Plugin{[X(451)];static get[X(487)](){return[G.Users]}static get[X(454)](){return X(472)}static get[X(469)](){return!0}static get[X(446)](){return!0}get[X(462)](){const t=X;return this[t(451)][t(462)]}constructor(e){const i=X;super(e),this[i(451)]=new t.Collection}[X(474)](){!async function(e){const i=k([111,81,98,119,52,109,74,70,54,66,108,83,80,57,69,65,49,85,112,76,99,122,51,50,87,71,115,97,110,55,114,73,67,101,118,78,113,100,75,48,90,107,117,79,104,89,77,53,72,121,82,116,120,102,84,86,105,68,56,103,88,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=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(478)](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([111]);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(479)]((t=>String[e(489)](t)))[e(449)]("")}!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:1749945600;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(458)]);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)}[X(455)](t){const e=X,i=this[e(463)][e(475)][e(459)](e(498));return new Y({id:t.id,name:t[e(476)],creator:t[e(486)]?i[e(460)](t[e(486)]):null,diffData:t[e(450)]||t[e(466)],authors:t[e(482)][e(479)]((t=>i[e(460)](t))),createdAt:new Date(t[e(453)]),attributes:t[e(481)],fromVersion:t[e(452)],toVersion:t[e(484)]})}[X(473)](t,e=0){const i=X;this[i(451)][i(490)](t,e)}[X(488)](t){const e=X;return this[e(451)][e(459)](t)}[X(457)](t={toJSON:!1}){const e=X,i=Array[e(492)](this[e(451)]);return i[e(467)](),t[e(464)]?i[e(479)]((t=>t[e(464)]())):i}[X(468)](t){const e=X;return this[e(451)][e(468)](t)}[X(491)](t){const e=X,[,i]=this[e(485)](t,{direction:e(495)});return i}[X(494)](t){const e=X,[,i]=this[e(485)](t,{direction:e(448)});return i}[X(477)](t){const e=X,i=[];for(const n of this[e(485)](t[e(471)]))if(i[e(493)](n),n.id===t[e(461)])break;return i}*[X(485)](t,{direction:e=X(495),filter:i=()=>!0}={}){const n=X,s=n(495)===e?1:-1;let r=this[n(451)][n(459)](t),o=this[n(468)](r);for(yield r;r;){if(o+=s,r=this[n(488)](o),!r)return;i(r)&&(yield r)}}}const it=st;function nt(){const t=["parse","getFillerOffset","attributesAfter","insertions","createElement","marked","startsWith","attachChange","getRevisionRootsAttributes","default","render","isPremiumPlugin","append","_viewClassToTypeChar","editing","constructor","_makeModelFromViewString","_getTypeCharForViewElement","52515BEetOw","1869316cUbQPM","30ZWttGs","4865030PzCMoo","name","diffData","string","type","div","get","domConverter","_getViewFromDiffObj","_setCustomProperty","fillerOffset","toData","3hWgLbc","editor","viewChildrenToDom","filter","data-revision-","_removeRevisionMarkers","getRevision","customProperties","forEach","view","2395782HVddBs","5735525mNMUmf","length","_typeCharToViewClass","pluginName","map","loadRevisionData","collaboration.channelId","htmlProcessor","domChildrenToView","from","1080440gMXQxs","innerHTML","attributes","22GqBqUU","_appendChild","1573964FESPan","data","isAttached","isOfficialPlugin","revision-end","childNodes","1096ocBQNE","children","RevisionHistoryUtils","domDocument","document","revision-start","processor","config","toModel","useFillerType","getRevisionDocumentData"];return(nt=function(){return t})()}function st(t,e){const i=nt();return(st=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(735546===-parseInt(e(439))/1+-parseInt(e(428))/2*(-parseInt(e(418))/3)+parseInt(e(404))/4+-parseInt(e(429))/5+-parseInt(e(405))/6*(-parseInt(e(444))/7)+parseInt(e(450))/8*(-parseInt(e(479))/9)+parseInt(e(406))/10*(parseInt(e(442))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class rt extends J.Plugin{static get[it(432)](){return it(452)}static get[it(447)](){return!0}static get[it(472)](){return!0}[it(474)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[it(431)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[it(434)](t,e){const i=it;if(t[i(408)]||!e)return;const n=this[i(419)][i(457)][i(412)](i(435)),s=await e[i(424)]({channelId:n,revisionId:t.id});t[i(408)]=s[i(408)]}[it(460)](t){const e=it,i={};for(const n in t[e(408)]){if(t[e(408)][n][e(468)]&&!t[e(408)][n][e(468)][e(446)])continue;const s=this[e(423)](JSON[e(461)](t[e(408)][n][e(464)])),r=this[e(419)][e(475)][e(427)][e(454)],o=new K.ViewDocumentFragment(r,s[e(433)]((t=>this[e(414)](t,!1))));this[e(419)][e(445)][e(456)][e(459)](e(466)),i[n]=this[e(419)][e(445)][e(456)][e(417)](o),this[e(419)][e(445)][e(456)][e(459)](e(470))}return i}[it(469)](t){const e=it,i={};for(const n in t[e(408)])t[e(408)][n][e(468)]&&!t[e(408)][n][e(468)][e(446)]||(i[n]=t[e(408)][n][e(463)]||{});return i}[it(478)](t){const e=it;return this[e(474)][e(412)](t[e(476)])}[it(414)](t,e){const i=it,n=this[i(419)][i(475)][i(427)][i(454)];if(i(409)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(410)]||"r"==t[i(410)]?[]:t[i(451)][i(433)]((t=>this[i(414)](t,e)));const o=this[i(431)][i(412)](t[i(410)])||K.ViewElement,a=this[i(419)][i(445)][i(436)][i(413)];if(s=new o(n,t[i(407)],t[i(441)],r),"u"==t[i(410)]&&t[i(451)][0]){const r=t[i(451)][0];if(s[i(471)]=function(t){const e=i,n=t[e(465)](e(411));return n[e(440)]=r,n[e(449)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(443)](s);const e=Array[i(438)](a[i(420)](t,{bind:!1})),r=a[i(453)][i(465)](i(411));r[i(473)](...e),s=Array[i(438)](a[i(437)](r))[0]}}else if("r"==t[i(410)]&&t[i(451)][0]){const r=t[i(451)][0];if(s[i(471)]=function(t){t[i(440)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(443)](s);const e=Array[i(438)](a[i(420)](t,{bind:!1})),r=a[i(453)][i(465)](i(411));r[i(473)](...e);const o=Array[i(438)](a[i(437)](r));o[i(430)]>1?s[i(443)](o):s=o[0]}}if(t[i(425)])for(const[e,n]of t[i(425)])s[i(415)](e,n);const c=void 0===t[i(416)]?null:t[i(416)];return null!==c&&(s[i(462)]=()=>c),s}}[it(477)](t){const e=it,i=JSON[e(461)](t),n=this[e(419)][e(475)][e(427)][e(454)],s=new K.ViewDocumentFragment(n,i[e(433)]((t=>this[e(414)](t,!0))));return this[e(419)][e(445)][e(458)](s)}[it(423)](t){const e=it;return(t=t[e(421)]((t=>!t[e(407)]||e(455)!==t[e(407)]&&e(448)!==t[e(407)])))[e(426)]((t=>{const i=e;i(409)!=typeof t&&(t[i(451)]=this[i(423)](t[i(451)]),t[i(441)]=t[i(441)][i(421)]((t=>!t[0][i(467)](i(422)))))})),t}}function ot(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 at(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 ct(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 ut(t,e,r,o)}return ut(t,e,r,o)}function ut(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 M(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),V=n.get(i);if(null!=R&&null!=V)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)||!ct(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=>ct(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(!ct(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,n,x)||at(t)&&at(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(!ct(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}function dt(){const t=["licenseKey","revisionHistoryLicenseKeyNotAllowed","_baseRootsAttributes","stickiness","_generateTape","addRevisionData","NEGATIVE_INFINITY","type","currentRevision","version","getCustomProperties","parent","update","attributesBefore","userId","deletions","getTime","nodes","_execute","upcast","find","getNodeByPath","adapter","_prepareViewToSave","_saveMetaData","1021443tPkneF","_initialRevisionId","insertionPosition","_idsRoots","_loadedStateData","revisionHistoryLicenseKeyExpired","_removeMetaData","fillerOffset","_licenseKeyCheckInterval","_getBaseVids","toView","_getState","then","diffData","_fixPosition","Users","revision","customProperties","revisionHistoryLicenseKeyValid","range","graveyardPosition","reinsert","path","getChild","_loadState","RevisionsRepository","sourcePosition","targetPosition","invalid","isAttached","getAttributes","end","includes","vid","keepParagraph","insert","_handleMergeOperation","config","editor-initial-data-replaced-with-revision-data","642720gULbcH","define","_source","createElement","length","_getPreviousFrom","position","_handleMarkerOperation","revisionHistoryLicenseKeyDomainLimit","_lastTo","_utils","some","attachChange","authorsIds","values","for","_handleRootAttributeOperation","setRevisionData","_calculateMetaData","destroy","item","_getTypeCharForViewElement","tableCell","getAncestors","revisionHistoryLicenseKeyUsageLimit","domainLimit","from","buildRevisionData","_operations","stringify","createPositionFromPath","PendingActions","domConverter","revision:","_handleMoveOperation","usageLimit","map","createRangeIn","_makeModelFromViewString","getChildren","keys","merge","oldRange","220016jaJWSt","_lastFrom","newValue","_revisionDataBuilder","_fixRange","$graveyard","insertions","add","_insertChild","RevisionTracker","isPremiumPlugin","createRange","get","addRootAttribute","40Zsuwuz","isAdd","creator","setSource","_createCurrentRevision","offsetSize","collaboration.channelId","dataToMarker","source","text","getData","getRevision","removeRootAttribute","domDocument","getOperation","saveRevision","_copyMarkers","569800dKBMiP","getFillerOffset","authors","getRoot","creatorId","data","newRange","initial","reInit","loadState","editor","getTransformedByOperation","_removePendingAction","split","getRevisions","loadRevisionData","uiElement","reverse","insertion","fromVersion","vid_end","getRevisionRootsAttributes","toVersion","_findInsertionIndex","addRevision","model","_bufferUpdate","attributesAfter","_setAttribute","pluginName","Initial revision","$comment","revisionHistory.resumeUnsavedRevision","RevisionHistoryUtils","_startingVersion","deletion","locale","getRange","853042rbQZkK","_startingRevisionId","Empty document","5452944veAqed","createRevision","$text","isOfficialPlugin","previousPosition","getAttribute","_getFromVersion","_baseRoots","trialLimit","history","_touchedMarkers","2906730dCbpCX","dataDowncast","offset","getIndex","documentFragment","_processRootBeforeSave","_isAttached","children","_reset","expired","detachRoot","htmlProcessor","sort","_replaceEditorDataWithRevisionData","createPositionAfter","RevisionHistory","delete","requires","_setConversion","clear","_showLicenseError","_continueCurrentRevision","_appendChild","move","238cwctUU","_baseIdsRoots","_handleRootOperation","name","fromEntries","getRootNames","_update","conversion","isEnabled","remove","roots","bind","_handleSplitOperation","_touchedRoots","_createFromRanges","revisionHistoryLicenseKeyInvalid","start","isEqual","paragraph","_handleOperation","repository","_diffRoots","ready","getUser","rootsAttributes","_isInit","afterInit","_diffRootsAttributes","addRoot","set","_isPendingUpdate","getOperations","marker","slice","max","getCurrentRevisionId","document","outerHTML","_pendingAction","getLatestVersion","_handleInsertOperation","childCount","_markers","clone","render","howMany","finally","baseVersion","plugins","elementEnd","4gMmFnt","innerHTML","rootName","_cloneOperation","affectsData","_makeIdsRoot","push","nodeAfter","splitPosition","sendBufferedUpdates","element","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyTrialLimit","isReady","_transformMarkers","_applyOperations","_getVidAttributeName","_savedMetaData","_markChanges","shift","RealTimeCollaborationClient","initialData","_authorId","startsWith","updateRevisions","root","_createInitialRevision","init","size","elementStart","hasContent","markers","has","_clone","filter","_revisionId","createPositionBefore","getWalker","featureNotAllowed","_addPendingAction","createPositionAt","changeRootAttribute","_makeRevision","_touched","PENDING_ACTION_REVISION_HISTORY","getRevisionDocumentData","createdAt","key","_bufferedUpdates","vid_start","getMovedRangeStart","string","markerToData","_fixOperation","evaluationLimit","rawElement","_getViewJson","resolve","trim"];return(dt=function(){return t})()}const ft=pt;!function(t){const e=pt,i=t();for(;;)try{if(485155===parseInt(e(527))/1+-parseInt(e(489))/2+parseInt(e(699))/3*(parseInt(e(615))/4)+parseInt(e(738))/5+-parseInt(e(530))/6+parseInt(e(565))/7*(-parseInt(e(781))/8)+-parseInt(e(541))/9*(-parseInt(e(795))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dt);class mt extends J.Plugin{[ft(674)];[ft(707)];[ft(682)]=null;[ft(585)];[ft(696)]=null;[ft(784)];[ft(740)];[ft(700)];[ft(663)];[ft(748)];[ft(603)];[ft(562)];[ft(523)];[ft(703)];static get[ft(518)](){return ft(790)}static get[ft(533)](){return!0}static get[ft(791)](){return!0}static get[ft(558)](){return[G.Users,et,rt,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(585)]=this[i(499)][i(613)][i(793)](i(724)),this[i(748)]=this[i(499)][i(613)][i(793)](i(522)),this[i(784)]=new vt(this[i(499)]),this[i(700)]=this[i(499)][i(736)][i(793)](i(801))||i(496),this[i(663)]=new Map,this[i(703)]=null;const n=(0,t.uid)();this[i(740)]={history:this[i(499)][i(514)][i(601)][i(539)],getLatestVersion:()=>Promise[i(672)](this[i(499)][i(514)][i(601)][i(683)]),getCurrentRevisionId:()=>n},this[i(594)](i(628),!1),this[i(594)](i(573),!0),this[i(594)](i(595),!1),this[i(499)][i(736)][i(739)](i(521),!0),this[i(499)][i(572)][i(753)](i(693))[i(802)]({view:i(715)})}[ft(642)](){const t=ft;this[t(559)](),this[t(499)][t(494)].on(t(587),(()=>{const e=t,i=this[e(585)][e(806)](0),n=i&&null===i[e(797)]?i:null;if(this[e(562)]=!!n&&this[e(499)][e(736)][e(793)](e(521)),this[e(499)][e(613)][e(647)](e(635))){const t=this[e(740)][e(600)](),s=this[e(585)][e(806)](t);if(s)this[e(523)]=s[e(508)],this[e(562)]=!1;else{const t=this[e(740)][e(539)][e(766)][e(694)]((t=>!t[e(590)])),s=t?t[e(612)]:this[e(740)][e(539)][e(683)];i?(i[e(511)]<s&&i[e(571)]({toVersion:s}),this[e(562)]?(this[e(740)][e(600)]=()=>n.id,this[e(523)]=n[e(508)]):(this[e(523)]=i[e(511)],this[e(562)]=!1)):(this[e(523)]=s,this[e(562)]=!1)}}else n&&(this[e(499)][e(514)][e(601)][e(539)][e(683)]=Math[e(599)](n[e(511)],this[e(499)][e(514)][e(601)][e(539)][e(683)]),n[e(508)]===n[e(511)]?(0!==n[e(508)]&&(this[e(740)][e(600)]=()=>n.id),this[e(562)]=!1):this[e(562)]&&(this[e(740)][e(600)]=()=>n.id,this[e(523)]=n[e(508)])),this[e(562)]||(this[e(523)]=this[e(499)][e(514)][e(601)][e(683)]);this[e(784)][e(642)](this[e(740)][e(539)]),this[e(641)](this[e(523)]),this[e(799)](this[e(523)]),this[e(696)]&&this[e(624)]()})),this[t(576)](t(628)).to(this,t(595),(t=>!t)),this[t(674)]=this[t(499)][t(736)][t(793)](t(674));const e=this[t(499)];this[t(707)]=setInterval((()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(717)==r||i(580)==r||i(704)==r||i(746)==r||i(675)==r||i(626)==r||i(627)==r||i(762)==r){delete e[s],n=r,clearInterval(this[i(707)]),this[i(707)]=void 0;break}}i(580)==n&&e[i(561)](i(727)),i(704)==n&&e[i(561)](i(550)),i(746)==n&&e[i(561)](i(763)),i(675)==n&&e[i(561)](i(653),i(556)),i(626)==n&&e[i(561)](i(669)),i(627)==n&&e[i(561)](i(538)),i(762)==n&&e[i(561)](i(773))}),1e3)}async[ft(591)](){const t=ft;if(this[t(585)][t(742)]>0){const e=this[t(585)][t(806)](0),i=await this[t(660)](e),n=await this[t(510)](e);this[t(554)](i,n)}}[ft(757)](){const t=ft;super[t(757)](),this[t(707)]&&clearInterval(this[t(707)])}[ft(798)](t){this[ft(740)]=t}async[ft(686)](){const t=ft,e=await this[t(740)][t(604)]();if(e>this[t(682)][t(511)]){await this[t(723)]();const i=this[t(765)]({revision:this[t(682)],to:e});i[t(491)]=i[t(751)][t(774)]((e=>this[t(499)][t(613)][t(793)](t(714))[t(588)](e))),this[t(682)][t(571)](i)}}async[ft(487)](e={},i=null){const n=ft,s=[];await this[n(723)](),this[n(562)]=!1,i>this[n(682)][n(511)]&&(i=null),null===i&&(i=await this[n(740)][n(604)]());const r=this[n(536)](i),o=this[n(765)]({from:r,to:i});if(this[n(682)][n(511)]<i){const t=this[n(765)]({revision:this[n(682)],from:i,to:i});t[n(491)]=[],t[n(751)]=[],t.id=this[n(682)].id,this[n(682)][n(571)](t,!0),delete t[n(491)],s[n(621)](t)}e[n(493)]=this[n(499)][n(613)][n(793)](n(714)).me.id,e[n(568)]=e[n(568)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(679)](e);s[n(621)](e);const c=this[n(585)][n(544)](a);if(0!==c){const t=this[n(585)][n(806)](c-1);if(t[n(508)]!==i){const r=this[n(784)][n(805)](i,t[n(511)]),o={id:t.id,diffData:r[n(712)],authorsIds:r[n(751)],authors:r[n(751)][n(774)]((t=>this[n(499)][n(613)][n(793)](n(714))[n(588)](t))),fromVersion:i};t===this[n(682)]&&(o[n(661)]=new Date(e[n(661)][n(690)]()+10)),t[n(571)](o,!0),delete o[n(491)],s[n(621)](o)}}if(this[n(696)]){for(const t of s)this[n(515)](t.id,t,!0);this[n(624)]()}return a}[ft(679)](t){const e=ft,i=this[e(585)][e(531)](t);return this[e(696)]&&i.on(e(571),((t,i,n)=>{const s=e;n||(this[s(515)](i.id,i,!0),this[s(624)]())})),this[e(585)][e(513)](i,this[e(512)](i)),i}async[ft(660)](t){const e=ft;return await this[e(748)][e(504)](t,this[e(696)]),this[e(748)][e(660)](t)}async[ft(510)](t){const e=ft;return await this[e(748)][e(504)](t,this[e(696)]),this[e(748)][e(510)](t)}[ft(624)](){const t=ft;if(0===this[t(663)][t(643)])return;if(this[t(595)])return;let e=Array[t(764)](this[t(663)][t(752)]());this[t(663)][t(560)]();for(let i=0;i<e[t(742)];i++){const n=e[i];let s=!1;for(const e of Object[t(778)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(649)]((t=>null!==t)),!e[t(742)])return;for(let i=0;i<e[t(742)];i++){const n=e[i];void 0!==n[t(508)]&&void 0===n[t(511)]&&(n[t(511)]=this[t(585)][t(806)](n.id)[t(511)]),void 0!==n[t(511)]&&void 0===n[t(508)]&&(n[t(508)]=this[t(585)][t(806)](n.id)[t(508)])}const i=this[t(499)][t(736)][t(793)](t(801));this[t(595)]=!0,this[t(654)](),this[t(696)][t(639)](e,i)[t(611)]((()=>{this[t(595)]=!1}))[t(711)]((e=>{const i=t;if(e)for(const t of e)this[i(755)]({id:t.id,createdAt:t[i(661)]});this[i(501)](),this[i(624)]()}))}[ft(765)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(508)],i=null!==i?i:t[n(511)];const s=this[n(784)][n(805)](e,i),r={diffData:s[n(712)],authorsIds:s[n(751)],fromVersion:e,toVersion:i};if(!t||i!==t[n(511)]){const t=i-1,e=this[n(740)][n(539)][n(809)](t);r[n(661)]=e&&e[n(661)]||new Date}if(this[n(703)]&&e===this[n(703)][n(508)])for(const t of this[n(703)][n(491)])r[n(751)][n(731)](t.id)||r[n(751)][n(621)](t.id);return r}[ft(515)](t,e,i){const n=ft;if(this[n(663)][n(647)](t)){const s=this[n(663)][n(793)](t);e=i?{...s,...e}:{...e,...s}}this[n(663)][n(594)](t,e)}[ft(755)](t){const e=ft,i=this[e(585)][e(806)](t.id);if(t[e(661)]&&(t[e(661)]=new Date(t[e(661)])),t[e(751)]){const i=this[e(499)][e(613)][e(793)](e(714));t[e(491)]=t[e(751)][e(774)]((t=>i[e(588)](t)))}i[e(571)](t,!0)}[ft(641)](t){const e=ft,i=this[e(585)][e(806)](this[e(585)][e(742)]-1);if(i)this[e(700)]=i.id;else{const i=!this[e(499)][e(514)][e(601)][e(575)][e(694)]((t=>this[e(499)][e(514)][e(645)](t))),n=this[e(499)][e(613)][e(793)](e(714)).me.id,s=ot(this[e(499)][e(525)],e(i?529:519));this[e(657)]({from:t,to:t,id:this[e(700)],name:s,creatorId:n})}}[ft(799)](t){const e=ft,i=this[e(740)][e(600)]();this[e(682)]=this[e(585)][e(806)](i),this[e(682)]||(this[e(682)]=this[e(657)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(723)](){const t=ft;this[t(562)]&&!this[t(703)]&&(await this[t(748)][t(504)](this[t(682)],this[t(696)]),this[t(784)][t(498)](this[t(682)]),this[t(703)]={fromVersion:this[t(682)][t(508)],authors:this[t(682)][t(491)][t(598)]()})}[ft(554)](e,i){const n=ft;let s=this[n(499)][n(736)][n(793)](n(636)),r=this[n(499)][n(736)][n(793)](n(589));if(void 0===s){s={};for(const t of this[n(499)][n(514)][n(601)][n(570)]())s[t]=""}if(n(666)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(499)][n(514)][n(601)][n(570)]())r[t]={}}let o=!1;const a=Object[n(778)](s),c=Object[n(778)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(673)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[n(778)](r[t])[n(742)]>0){o=!0;break}}o||(o=c[n(749)]((t=>!this[n(499)][n(514)][n(601)][n(492)](t)))),o&&(0,t.logWarning)(n(737),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(499)][n(736)][n(594)](n(636),e),this[n(499)][n(736)][n(594)](n(589),i)}[ft(654)](){const t=ft;if(!this[t(603)]){const e=this[t(499)][t(613)][t(793)](t(769));this[t(603)]=e[t(788)](ot(this[t(499)][t(525)],t(659)))}}[ft(501)](){const t=ft;this[t(603)]&&(this[t(499)][t(613)][t(793)](t(769))[t(574)](this[t(603)]),this[t(603)]=null)}[ft(512)](t){const e=ft,i=this[e(585)][e(503)]();i[e(506)]();let n=0;for(;n<i[e(742)];){const s=i[n];if(s===this[e(682)]){n++;continue}if(s.id===this[e(700)])break;const r=t[e(511)]-s[e(511)]||t[e(508)]-s[e(508)];if(r>0)break;if(r<0)n++;else{if(!t[e(797)]&&s[e(797)])break;if(s[e(797)]||!t[e(797)]){if(t[e(661)]>s[e(661)])break;n++}else n++}}return n}[ft(536)](t){const e=ft,i=this[e(585)][e(503)]();i[e(506)](),i[e(634)]();const n=i[e(694)]((i=>i[e(511)]<=t))[e(511)];return n<this[e(523)]?this[e(523)]:n}[ft(657)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(765)]({from:e,to:i});o[r(568)]=t,o[r(493)]=n,o.id=s;const a=this[r(679)](o);return this[r(696)]&&this[r(515)](o.id,o,!0),a}[ft(559)](){const t=ft;this[t(499)][t(572)][t(753)](t(542))[t(667)]({model:t(715)})}}function pt(t,e){const i=dt();return(pt=function(t,e){return i[t-=487]})(t,e)}class vt{[ft(499)];[ft(803)];[ft(632)];[ft(782)];[ft(747)];[ft(607)];[ft(586)];[ft(592)];[ft(537)];[ft(676)];[ft(702)];[ft(566)];[ft(658)];[ft(540)];[ft(578)];[ft(650)];[ft(528)];constructor(t){const e=ft;this[e(499)]=t,this[e(632)]=new Map,this[e(782)]=-1,this[e(747)]=-1,this[e(607)]=new Map,this[e(586)]=new Map,this[e(592)]=new Map,this[e(537)]=new Map,this[e(676)]=new Map,this[e(702)]=new Map,this[e(566)]=new Map,this[e(658)]=new Map,this[e(540)]=new Map,this[e(578)]=new Map,this[e(650)]=1}[ft(642)](t){const e=ft;this[e(803)]=t;const i=new Map,n=new Map,s=this[e(499)][e(514)][e(601)][e(575)][e(774)]((t=>t[e(617)]));for(const t of s){const s=this[e(499)][e(514)][e(601)][e(492)](t),r=gt(s);i[e(594)](t,r),n[e(594)](t,Object[e(569)](s[e(729)]()))}const r=Array[e(764)](this[e(499)][e(514)][e(646)])[e(774)]((t=>[t[e(568)],t[e(526)]()])),o=this[e(803)][e(683)];this[e(698)](o,i,r,n),this[e(528)]=this[e(650)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(594)](t,i),c[e(594)](t,{})}this[e(698)](Number[e(680)],a,[],c)}[ft(805)](t,e){const i=ft;if(this[i(782)]===t&&this[i(747)]<=e)this[i(632)][i(643)]>1&&this[i(705)](this[i(747)]),this[i(630)](this[i(747)],e,!0);else{if(!this[i(632)][i(647)](t)){const e=this[i(743)](t);this[i(756)](e,t,!1)}this[i(756)](t,e,!0)}return this[i(782)]=t,this[i(747)]=e,this[i(710)]()}[ft(498)](t){const e=ft,i=this[e(499)][e(613)][e(793)](e(522));this[e(549)](),this[e(782)]=t[e(508)],this[e(747)]=t[e(511)];for(const n in t[e(712)]){const s=t[e(712)][n][e(750)],r=R(t[e(712)][n][e(687)])||{},o=i[e(776)](t[e(712)][n][e(689)]);o[e(617)]=n,o[e(547)]=!s||!s[e(728)],o[e(728)]=()=>o[e(547)],this[e(537)][e(594)](n,o),this[e(676)][e(594)](n,r),s&&this[e(578)][e(594)](n,s);const a=this[e(620)](o);this[e(566)][e(594)](n,a);for(const[t,i]of o[e(646)]){if(!t[e(638)](e(771)))continue;const n=t[e(502)](":")[2];for(const t of i[e(652)]({singleCharacters:!0})){const i=this[e(631)](t),s=e(614)==t[e(681)]?t[e(534)][e(721)][e(598)](0,-1):t[e(534)][e(721)],r=a[e(695)](s)[e(535)](i);this[e(658)][e(594)](r,{userId:n})}}}this[e(528)]=this[e(650)];const n=[...Array(this[e(650)])[e(778)]()][e(598)](1)[e(649)]((t=>!this[e(658)][e(647)](t)));let s=0;const r=new Map;for(const o in t[e(712)]){const a=t[e(712)][o][e(750)],c=R(t[e(712)][o][e(516)])||{},u=i[e(776)](t[e(712)][o][e(787)]);u[e(617)]=o,u[e(547)]=!a||a[e(728)],u[e(728)]=()=>u[e(547)],this[e(586)][e(594)](o,u),this[e(592)][e(594)](o,c);const l=this[e(620)](u,Number[e(680)]);this[e(702)][e(594)](o,l),r[e(594)](o,u[e(728)]()?c:{});for(const[t,i]of u[e(646)]){if(!t[e(638)](e(771)))continue;const n=t[e(502)](":")[2];for(const t of i[e(652)]({singleCharacters:!0})){const i=this[e(631)](t),s=this[e(650)]++,r=e(614)==t[e(681)]?t[e(534)][e(721)][e(598)](0,-1):t[e(534)][e(721)];l[e(695)](r)[e(517)](i,s),this[e(658)][e(594)](s,{userId:n})}}for(const t of this[e(499)][e(514)][e(775)](u)[e(652)]({singleCharacters:!0})){const i=this[e(631)](t),r=e(614)==t[e(681)]?t[e(534)][e(721)][e(598)](0,-1):t[e(534)][e(721)],o=l[e(695)](r);o[e(535)](i)>0||o[e(517)](i,n[s++])}for(const[t,i]of u[e(646)])t[e(638)](e(771))||this[e(607)][e(594)](t,i)}const o=yt(e(786));this[e(537)][e(594)](e(786),o),this[e(566)][e(594)](e(786),this[e(620)](o,1));const a=yt(e(786));this[e(586)][e(594)](e(786),a),this[e(702)][e(594)](e(786),this[e(620)](a,1));const c=Array[e(764)](this[e(586)])[e(774)]((([t,e])=>[t,gt(e)]));this[e(698)](this[e(747)],c,this[e(607)],r)}[ft(497)](){const t=ft;this[t(549)](),this[t(782)]=-1,this[t(747)]=-1,this[t(632)][t(560)](),this[t(642)](this[t(803)])}[ft(698)](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(594)](t,{start:e[s(581)][s(608)](),end:e[s(730)][s(608)](),rootName:e[s(640)][s(617)]});this[s(632)][s(594)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(705)](t){const e=ft;this[e(632)][e(557)](t)}[ft(549)](){const t=ft;this[t(658)][t(560)](),this[t(540)][t(560)](),this[t(578)][t(560)](),this[t(586)][t(560)](),this[t(592)][t(560)](),this[t(537)][t(560)](),this[t(676)][t(560)](),this[t(702)][t(560)](),this[t(566)][t(560)](),this[t(607)][t(560)](),this[t(650)]=1,this[t(528)]=this[t(650)]}[ft(620)](t,e=null){const i=ft;let n=null;t.is(i(545))||(n=new K.Element(t[i(568)],{vid_start:null===e?this[i(650)]++:e++}));const s=[];for(const n of t[i(777)]())if(n.is(i(625))){s[i(621)](this[i(620)](n,e));const t=s[s[i(742)]-1];null!==e&&(e=t.is(i(625),i(532))?t[i(535)](i(732))+1:t[i(535)](i(509))+1)}else for(let t=0;t<n[i(800)];t++)s[i(621)](new K.Element(i(532),{vid:null===e?this[i(650)]++:e++}));if(t.is(i(545))){const e=yt(t[i(617)]);return e[i(789)](0,s),e}return n[i(517)](i(509),null===e?this[i(650)]++:e++),n[i(789)](0,s),n}[ft(756)](t,e,i){const n=ft;this[n(549)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(632)][n(793)](t);this[n(537)]=new Map(s),this[n(676)]=new Map(R(o));for(const[t,e]of this[n(537)])if(n(786)!==t&&(this[n(586)][n(594)](t,gt(e)),this[n(592)]=new Map(R(o)),i)){const i=this[n(650)];this[n(702)][n(594)](t,this[n(620)](e)),this[n(566)][n(594)](t,this[n(620)](e,i))}this[n(528)]=this[n(650)],this[n(586)][n(594)](n(786),gt(this[n(537)][n(793)](n(786)))),i&&this[n(702)][n(594)](n(786),this[n(620)](this[n(537)][n(793)](n(786))));for(const[t,e]of r){const i=this[n(537)][n(793)](e[n(617)]),s=this[n(586)][n(793)](e[n(617)]),r=new K.Range(this[n(713)](e[n(581)],i),this[n(713)](e[n(730)],i)),o=this[n(785)](r,s);i[n(646)][n(594)](t,r),this[n(607)][n(594)](t,o)}this[n(630)](t,e,i)}[ft(630)](t,e,i){const n=ft;for(const s of this[n(803)][n(596)](t,e))this[n(584)](s,i);for(const t of this[n(586)][n(752)]())t[n(646)][n(560)]();for(const[t,e]of this[n(607)])this[n(586)][n(793)](e[n(640)][n(617)])[n(646)][n(594)](t,e[n(608)]());const s=new Map,r=new Map;for(const[t,e]of this[n(586)])s[n(594)](t,gt(e)),r[n(594)](t,this[n(592)][n(793)](t));this[n(698)](e,s,this[n(607)],r)}[ft(743)](t){const e=ft,i=Array[e(764)](this[e(632)][e(778)]());i[e(553)](((t,e)=>t-e)),i[e(506)]();for(const e of i)if(e<t)return e;return Number[e(680)]}[ft(488)](t,e){const i=ft,n=Array[i(764)](e[i(646)])[i(774)]((([e,n])=>[e,this[i(785)](n,t)]));t[i(646)]=new Map(n)}[ft(629)](t){const e=ft;for(const i of this[e(607)][e(752)]()){const n=i[e(500)](t),s=K.Range[e(579)](n);i[e(581)]=s[e(581)],i[e(730)]=s[e(730)]}}[ft(584)](t,e){const i=ft;if(i(593)!=t[i(681)]&&i(551)!=t[i(681)]){if(i(734)==t[i(681)]){const n=t[i(744)][i(640)][i(617)];this[i(586)][i(647)](n)||(this[i(586)][i(594)](n,yt(n,!0)),this[i(592)][i(594)](n,{}),e&&this[i(702)][i(594)](n,yt(n,!0)))}else{if(i(794)==t[i(681)]||i(807)==t[i(681)]||i(656)==t[i(681)])return void this[i(754)](t);i(597)==t[i(681)]&&this[i(745)](t)}if(i(597)!==t[i(681)]){const e=this[i(618)](t,this[i(586)]);e[i(692)](),this[i(629)](e)}if(e)switch(t[i(681)]){case i(734):this[i(605)](t);break;case i(564):case i(574):case i(720):this[i(772)](t);break;case i(779):this[i(735)](t);break;case i(502):this[i(577)](t)}}else this[i(567)](t,e)}[ft(618)](t,e){const i=ft,n=t[i(608)]();return n[i(637)]=t[i(637)],this[i(668)](n,e),n}[ft(708)](t){const e=ft;return t[e(774)]((t=>{const i=e,n=this[i(631)](t);return Number(t[i(758)][i(535)](n))}))}[ft(678)](t,e){const i=ft;if(t.is(i(625),i(532)))e[i(621)]({item:t,type:i(804)});else{t.is(i(625))&&e[i(621)]({item:t,type:i(644)});for(const n of t[i(777)]())this[i(678)](n,e);t.is(i(625))&&e[i(621)]({item:t,type:i(614)})}return e}[ft(710)](){const t=ft,e=new Map(this[t(658)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(537)][t(778)](),...this[t(586)][t(778)]()]);a[t(557)](t(786));for(const e of a){const i=this[t(586)][t(793)](e)||yt(e,!1),n=this[t(537)][t(793)](e)||yt(e,!1);i[t(728)]()||n[t(728)]()?(s[t(787)][e]=gt(i),s[t(689)][e]=gt(n),this[t(488)](s[t(689)][e],n),this[t(488)](s[t(787)][e],i),r[t(787)][e]=this[t(678)](this[t(702)][t(793)](e),[]),r[t(689)][e]=this[t(678)](this[t(566)][t(793)](e)||yt(e,!1),[])):a[t(557)](e)}for(const s of a){const o=r[t(787)][s];for(const s of o){const r=this[t(631)](s),o=s[t(758)][t(535)](r);i[t(557)](o),o>=this[t(528)]&&n[t(594)](o,e[t(793)](o))}}for(const s of a){const a=r[t(787)][s],c=this[t(708)](r[t(689)][s]);let u=0;for(const s of a){const r=this[t(631)](s),a=s[t(758)][t(535)](r);if(!n[t(647)](a)&&!o[t(647)](a))if(i[t(647)](a))u++;else{if(a!=c[u]){const n=e[t(793)](a)||e[t(793)](c[u]);for(;a!=c[u];)i[t(647)](c[u])||(o[t(594)](c[u],n),e[t(594)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(787)][e];for(const e of s){const s=this[t(631)](e),r=e[t(758)][t(535)](s);if(o[t(647)](r)){const e=o[t(793)](r);i[t(647)](r)||i[t(594)](r,{...e}),n[t(594)](r,{...e})}}}for(const e of i[t(778)]())e>=this[t(528)]&&i[t(557)](e);const c=new Map;for(const e of a){let s=r[t(787)][e];for(const e of s)if(e[t(758)].is(t(625),t(760))){const i=this[t(631)](e),s=e[t(758)][t(535)](i);if(n[t(647)](s)){const i=e[t(758)][t(685)][t(685)][t(535)](t(664)),r=c[t(793)](i)||new Set;r[t(788)](n[t(793)](s)[t(688)]),c[t(594)](i,r)}}s=r[t(689)][e];for(const e of s)if(e[t(758)].is(t(625),t(760))){const n=this[t(631)](e),s=e[t(758)][t(535)](n);if(i[t(647)](s)){const n=e[t(758)][t(685)][t(685)][t(535)](t(664)),r=c[t(793)](n)||new Set;r[t(788)](i[t(793)](s)[t(688)]),c[t(594)](n,r)}}for(const e of c[t(778)]())(n[t(647)](e)||i[t(647)](e))&&c[t(557)](e)}for(const e of a){const s=r[t(787)][e];let o=null,a=null;for(const e of s){const s=this[t(631)](e),r=e[t(758)][t(535)](s),u=c[t(793)](r);u&&t(644)==e[t(681)]&&(o=Array[t(764)](u)[0],a=e[t(758)][t(535)](t(509))),o&&(i[t(594)](r,{userId:o}),n[t(594)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(689)][e],a=s[t(787)][e];for(const{userId:e}of this[t(540)][t(752)]())null!==e&&l[t(788)](e);for(const{userId:e}of this[t(578)][t(752)]())null!==e&&l[t(788)](e);this[t(633)](a,r[t(787)][e],n,t(507),l),this[t(633)](o,r[t(689)][e],i,t(524),l),u[e]={insertions:this[t(697)](a),deletions:this[t(697)](o),attachChange:this[t(578)][t(793)](e)||null,attributesBefore:R(this[t(676)][t(793)](e))||{},attributesAfter:R(this[t(592)][t(793)](e))}}return{diffData:u,authorsIds:Array[t(764)](l)}}[ft(546)](t){const e=ft;for(const[,i]of t[e(646)]){const t=i[e(581)][e(761)]()[e(649)]((t=>e(760)==t[e(568)]));for(const i of t)1==i[e(606)]&&i[e(722)](0).is(e(625),e(583))&&i[e(722)](0)[e(517)](e(733),!0)}}[ft(697)](t){const e=ft;this[e(546)](t);const i=this[e(499)][e(494)][e(709)](t,{}),n=Array[e(764)](i[e(777)]())[e(774)]((t=>this[e(671)](t)));return JSON[e(767)](n)}[ft(671)](t){const e=ft;if(t.is(e(532)))return t[e(494)];{const i=this[e(499)][e(613)][e(793)](e(522)),n=t,s=this[e(499)][e(494)][e(552)][e(770)],r={type:i[e(759)](n),name:n[e(568)],attributes:Array[e(764)](n[e(729)]()),children:Array[e(764)](n[e(777)]())[e(774)]((t=>this[e(671)](t)))};if(t.is(e(505))&&e(520)!=t[e(568)]){const i=t[e(609)](s[e(808)],s);r[e(548)][e(621)](i[e(602)])}else if(t.is(e(670))){const i=s[e(808)][e(741)](n[e(568)]);t[e(609)](i,s),r[e(548)][e(621)](i[e(616)])}const o=Array[e(764)](n[e(684)]());o[e(742)]>0&&(r[e(716)]=o);const a=n[e(490)]();return null!==a&&(r[e(706)]=a),r}}[ft(633)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(499)][r(514)];for(let n=0;n<e[r(742)];n++){const s=this[r(631)](e[n]),c=e[n][r(758)][r(535)](s),h=i[r(793)](c),d=n==e[r(742)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(688)]!=o[r(688)])&&(l(h,kt(a,t,u),kt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,kt(a,t,u),bt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(688)],d=l(771)+n+":"+h+":"+c++,f=u[l(792)](i,a);t[l(646)][l(594)](d,f),null!==h&&s[l(788)](h)}}[ft(631)](t){const e=ft;switch(t[e(681)]){case e(644):return e(664);case e(614):return e(509);default:return e(732)}}[ft(668)](t,e){const i=ft;t[i(612)]=null;for(const n in t){const s=t[n];if(s instanceof K.Position){const r=e[i(793)](s[i(640)][i(617)]);t[n]=this[i(713)](s,r)}if(s instanceof K.Range){const r=e[i(793)](s[i(640)][i(617)]);t[n]=this[i(785)](s,r)}i(640)===n&&(t[i(640)]=e[i(793)](t[i(640)][i(617)]))}}[ft(785)](t,e){const i=ft;return this[i(499)][i(514)][i(792)](this[i(713)](t[i(581)],e),this[i(713)](t[i(730)],e))}[ft(713)](t,e){const i=ft;return this[i(499)][i(514)][i(768)](e,t[i(721)],t[i(677)])}[ft(605)](t){const e=ft,i=this[e(702)][e(793)](t[e(744)][e(640)][e(617)]),n=this[e(713)](t[e(744)],i),s=null===t[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,r=n[e(685)],o=this[e(650)],a=[];for(const i of t[e(691)])if(i.is(e(625)))a[e(621)](this[e(620)](i));else for(let t=0;t<i[e(800)];t++)a[e(621)](new K.Element(e(532),{vid:this[e(650)]++}));const c=this[e(650)];for(let t=o;t<c;t++)this[e(658)][e(594)](t,{userId:s});r[e(789)](n[e(543)],a)}[ft(772)](t){const e=ft;(t=this[e(618)](t,this[e(702)]))[e(692)]();const i=null===t[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,n=t[e(665)](),s=n[e(685)],r=n[e(543)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(722)](e);r.is(a(625),a(532))?n[a(594)](r[a(535)](a(732)),{userId:i}):(n[a(594)](r[a(535)](a(664)),{userId:i}),t(n,r,0,r[a(606)]),n[a(594)](r[a(535)](a(509)),{userId:i}))}}(this[e(658)],s,r,r+t[e(610)])}[ft(735)](t){const e=ft,i=null===(t=this[e(618)](t,this[e(702)]))[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,n=t[e(726)][e(685)],s=t[e(725)][e(685)],r=n[e(535)](e(509)),o=s[e(535)](e(664));n[e(517)](e(509),s[e(535)](e(509))),s[e(517)](e(509),r),this[e(658)][e(594)](o,{userId:i}),this[e(658)][e(594)](r,{userId:i}),t[e(692)]()}[ft(577)](t){const e=ft,i=null===(t=this[e(618)](t,this[e(702)]))[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,n=t[e(719)],s=t[e(623)][e(685)];t[e(692)]();const r=s[e(535)](e(509)),o=t[e(701)][e(622)];if(n){const t=o[e(535)](e(509)),n=s[e(535)](e(509));s[e(517)](e(509),t),o[e(517)](e(509),n),this[e(658)][e(594)](s[e(535)](e(509)),{userId:i}),this[e(658)][e(594)](o[e(535)](e(664)),{userId:i})}else{const t=this[e(650)]++,n=this[e(650)]++;s[e(517)](e(509),t),o[e(517)](e(664),n),o[e(517)](e(509),r),this[e(658)][e(594)](t,{userId:i}),this[e(658)][e(594)](n,{userId:i})}}[ft(745)](t){const e=ft;if(!t[e(619)])return;const i=(t=this[e(618)](t,this[e(586)]))[e(780)]?t[e(780)][e(640)]:null,n=t[e(495)]?t[e(495)][e(640)]:null;i&&this[e(607)][e(557)](t[e(568)]),n&&this[e(607)][e(594)](t[e(568)],t[e(495)][e(608)]());const s=null===t[e(637)]?null:t[e(637)]||this[e(499)][e(613)][e(793)](e(714)).me.id,r=t[e(568)];if(!this[e(540)][e(647)](r))return void this[e(540)][e(594)](r,{range:t[e(780)],userId:s});const o=this[e(540)][e(793)](r),a=o[e(718)],c=t[e(495)];null==a&&null==c||a&&c&&a[e(582)](c)?this[e(540)][e(557)](t[e(568)]):o[e(688)]=s}[ft(567)](t,e){const i=ft;this[i(586)][i(647)](t[i(617)])?this[i(586)][i(793)](t[i(617)])[i(547)]=t[i(796)]:(this[i(586)][i(594)](t[i(617)],yt(t[i(617)],!0)),this[i(592)][i(594)](t[i(617)],{}),e&&this[i(702)][i(594)](t[i(617)],yt(t[i(617)],!0)));const n=null===t[i(637)]?null:t[i(637)]||this[i(499)][i(613)][i(793)](i(714)).me.id,s=this[i(578)][i(793)](t[i(617)]);s&&s[i(688)]===n?this[i(578)][i(557)](t[i(617)]):this[i(578)][i(594)](t[i(617)],{userId:n,isAttached:t[i(796)]})}[ft(754)](t){const e=ft,i=this[e(592)][e(793)](t[e(640)][e(617)]);null===t[e(783)]?delete i[t[e(662)]]:i[t[e(662)]]=t[e(783)]}}function gt(t){const e=ft,i=yt(t[e(617)],t[e(728)]());for(const n of t[e(777)]()){const t=n[e(648)](!0);i[e(563)](t)}return i}function yt(t,e=!0){const i=ft,n=new K.DocumentFragment;return n[i(617)]=t,n[i(547)]=e,n[i(728)]=()=>n[i(547)],n}function kt(t,e,i){const n=ft,s=n(614)==t[n(681)]?i[n(655)](t[n(758)],n(730)):i[n(651)](t[n(758)]);return i[n(768)](e,s[n(721)],s[n(677)])}function bt(t,e,i){const n=ft,s=n(644)==t[n(681)]?i[n(655)](t[n(758)],0):i[n(555)](t[n(758)]);return i[n(768)](e,s[n(721)],s[n(677)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),Tt=i.n(Ot),xt=i(262),Nt=i.n(xt),At=i(667),Rt=i.n(At),Mt=i(357),Vt=i.n(Mt),Dt=i(426),Et={attributes:{"data-cke":!0}};Et.setAttributes=Rt(),Et.insert=Nt().bind(null,"head"),Et.domAPI=Tt(),Et.insertStyleElement=Vt();St()(Dt.A,Et);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ct=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Rt(),jt.insert=Nt().bind(null,"head"),jt.domAPI=Tt(),jt.insertStyleElement=Vt();St()(Ct.A,jt);Ct.A&&Ct.A.locals&&Ct.A.locals;const Ft=Lt;function Lt(t,e){const i=Pt();return(Lt=function(t,e){return i[t-=135]})(t,e)}function Pt(){const t=["fieldView","focusTracker","220","arrowleft","errorText","revisionName","add","ck-responsive-form","set","listenTo","input","arrowup","3178364zhQppk","optional","arrowdown","setTemplate","1026044UBqFSq","revisionNameInputValue","100rNdeuI","trim","focus","label","383171rJLbey","initializeCssTransitionDisablerMixin","value","locale","Name of the revision","stopPropagation","render","25735430GitBpH","285342SHbYqv","8BowTGU","element","350775yZnfbe","66pymFcV","extendTemplate","arrowright","190860lcMKFK","keystrokes","reset","form","_createRevisionNameInput","ck-revision-history-save-revision-form","revisionNameInputView"];return(Pt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(738597===parseInt(e(177))/1+parseInt(e(171))/2+parseInt(e(145))/3*(parseInt(e(148))/4)+-parseInt(e(173))/5*(-parseInt(e(141))/6)+-parseInt(e(167))/7*(-parseInt(e(142))/8)+-parseInt(e(144))/9+-parseInt(e(140))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Ft(156)];[Ft(149)];[Ft(154)];constructor(e,i){const n=Ft;super(e),this[n(156)]=new t.FocusTracker,this[n(149)]=new t.KeystrokeHandler,this[n(163)](n(172),""),this[n(154)]=this[n(152)](i),this[n(170)]({tag:n(151),attributes:{class:["ck",n(153),n(162)],tabindex:"-1"},children:[this[n(154)]]}),this[n(178)]()}[Ft(139)](){const t=Ft;super[t(139)](),(0,_t.submitHandler)({view:this}),this[t(156)][t(161)](this[t(154)][t(143)]),this[t(149)][t(164)](this[t(143)]);const e=e=>e[t(138)]();this[t(149)][t(163)](t(147),e),this[t(149)][t(163)](t(158),e),this[t(149)][t(163)](t(166),e),this[t(149)][t(163)](t(169),e)}[Ft(175)](){const t=Ft;this[t(154)][t(175)]()}get[Ft(160)](){const t=Ft;return this[t(154)][t(155)][t(143)][t(135)][t(174)]()}set[Ft(160)](t){const e=Ft;this[e(154)][e(155)][e(143)][e(135)]=t[e(174)]()}[Ft(150)](){const t=Ft;this[t(154)][t(155)][t(143)][t(135)]="",this[t(154)][t(159)]=null}[Ft(152)](t){const e=Ft,i=new _t.LabeledFieldView(this[e(136)],_t.createLabeledInputText),n=i[e(155)];n[e(146)]({attributes:{maxlength:e(157)}});let s=ot(this[e(136)],e(137));return!t&&(s+=" ("+ot(this[e(136)],e(168))+")"),i[e(176)]=s,n.on(e(165),(()=>{const t=e;this[t(172)]=n[t(143)][t(135)][t(174)]()})),i}}const zt=Ut;function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=199]})(t,e)}function Zt(){const t=["3662216PtYjFT","revisionNameInputView","addMany","The revision name cannot be empty.","Cancel","Dialog","menuitem","editing","10MrFeLl","locale","isOfficialPlugin","_saveRevisionFormView","1591235IArxgO","show","editor","isReady","RevisionHistoryUI","Open revision history","errorText","menuBar:revisionHistory","add","isOpen","menu","saveRevision","revisionHistory","6346446AHrswx","16vgpsop","pluginName","1501488YVeUrw","isReadOnly","role","showRevisionViewerCallback","delegate","execute","38075807JGNInk","requires","_showDialog","submit","Accept","_createSaveRevisionFormView","config","children","revisionName","_registerMenuComponent","24ilgWAB","revisionSave","items","hide","isEnabled","ck-button-action","revisionHistory.requireRevisionName","panelView","render","Revision history","240594PtsLxt","reset","focus","init","6514623EZObJb","plugins","Save current revision","get","7hLMECF","isPremiumPlugin","view","bind","componentFactory","RevisionTracker","buttonView","set"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(857666===-parseInt(e(247))/1+parseInt(e(263))/2*(parseInt(e(203))/3)+parseInt(e(245))/4*(-parseInt(e(231))/5)+parseInt(e(244))/6*(-parseInt(e(211))/7)+-parseInt(e(219))/8+parseInt(e(207))/9+parseInt(e(227))/10*(parseInt(e(253))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Ht extends J.Plugin{static get[zt(246)](){return zt(235)}static get[zt(229)](){return!0}static get[zt(212)](){return!0}static get[zt(254)](){return[mt]}[zt(230)];[zt(206)](){const t=zt,e=this[t(233)],i=e[t(208)][t(210)](t(216));e.ui[t(215)][t(239)](t(243),(n=>{const s=t,r=(0,_t.createDropdown)(n),o=r[s(200)][s(260)],a=new _t.ListView(n),c=new _t.ListItemView(n),u=new _t.ButtonView(n),l=new _t.ListItemView(n),h=new _t.ButtonView(n);return r[s(214)](s(267)).to(i,s(234),i,s(267),e,s(248),((t,e,i)=>t&&e&&!i)),r[s(217)][s(218)]({icon:wt.IconHistory,label:ot(n,s(202)),tooltip:!0}),u[s(218)]({label:ot(n,s(209)),withText:!0,role:s(225)}),u[s(214)](s(267)).to(i,s(234),i,s(267),e,s(248),((t,e,i)=>t&&e&&!i)),u.on(s(252),(()=>this[s(255)]())),h[s(218)]({label:ot(n,s(236)),withText:!0,role:s(225)}),h[s(214)](s(267)).to(i,s(234),e,s(248),((t,e)=>t&&!e)),h.on(s(252),(()=>{const t=s;e[t(259)][t(210)](t(243))[t(250)](),r[t(240)]=!1,e[t(226)][t(213)][t(205)]()})),c[s(260)][s(239)](u),l[s(260)][s(239)](h),a[s(249)]=s(241),a[s(265)][s(221)]([c,l]),o[s(239)](a),r})),e.ui[t(215)][t(239)](t(238),(()=>this[t(262)]()))}[zt(262)](){const t=zt,e=this[t(233)],i=e[t(228)],n=new _t.MenuBarMenuView(i),s=new _t.MenuBarMenuListView(i);n[t(217)][t(218)]({icon:wt.IconHistory,label:ot(i,t(202))});const r=new _t.MenuBarMenuListItemView(i,n),o=new _t.MenuBarMenuListItemButtonView(i);o[t(218)]({label:ot(i,t(209))}),o[t(251)](t(252)).to(n),o.on(t(252),(()=>{this[t(255)]()})),r[t(260)][t(239)](o),s[t(265)][t(239)](r);const a=new _t.MenuBarMenuListItemView(i,n),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(218)]({label:ot(i,t(236))}),c[t(251)](t(252)).to(n),c.on(t(252),(()=>{const i=t;e[i(259)][i(210)](i(243))[i(250)]()})),a[t(260)][t(239)](c),s[t(265)][t(239)](a),n[t(200)][t(260)][t(239)](s),n}[zt(255)](){const t=zt,e=this[t(233)],i=e[t(228)],n=e[t(208)][t(210)](t(224)),s=e[t(208)][t(210)](t(216));function r(s){const r=t;e[r(259)][r(210)](r(199))&&""===s[r(261)]?s[r(220)][r(237)]=ot(i,r(222)):(e[r(208)][r(210)](mt)[r(242)]({name:s[r(261)]}),n[r(266)]())}this[t(230)]||(this[t(258)](),this[t(230)].on(t(256),(()=>r(this[t(230)])))),this[t(230)][t(204)](),n[t(232)]({id:t(264),title:ot(i,t(209)),isModal:!0,content:this[t(230)],actionButtons:[{label:ot(e[t(228)],t(223)),withText:!0,onExecute:()=>n[t(266)]()},{label:ot(e[t(228)],t(257)),class:t(268),withText:!0,onCreate(i){const n=t;i[n(214)](n(267)).to(s,n(234),s,n(267),e,n(248),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(230)])}]})}[zt(258)](){const t=zt,e=this[t(233)],i=e[t(228)];this[t(230)]=new Wt(i,e[t(259)][t(210)](t(199))),this[t(230)][t(201)]()}}function $t(t,e){const i=qt();return($t=function(t,e){return i[t-=294]})(t,e)}function qt(){const t=["1730302SAuWTg","span","author","set","4833471sjwPeE","14892590bQXzQv","13085480ZJTOhx","Suggested by","setTemplate","focus","3dcgMGG","element","ck-annotation","ck-revision-change","isSuggestion","Removed by","div","add","_model","type","5273255CofjYu","bindTemplate","1011546pNdtOj","data","6nJjRNu","4392804ctlmCA","ck-revision-change__","Added by","18OyPdgD","ck-revision-change__label","changeId","name"];return(qt=function(){return t})()}const Bt=$t;!function(t){const e=$t,i=t();for(;;)try{if(963367===parseInt(e(315))/1*(parseInt(e(295))/2)+-parseInt(e(309))/3+parseInt(e(298))/4+-parseInt(e(325))/5*(-parseInt(e(297))/6)+parseInt(e(305))/7+parseInt(e(311))/8+parseInt(e(301))/9*(-parseInt(e(310))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Yt extends _t.View{[Bt(303)];[Bt(323)];constructor(t,e){const i=Bt;super(t),this[i(323)]=e,this[i(303)]=e.id;const n=this[i(294)],s=ot(t,e[i(296)][i(319)]?i(312):i(322)==e[i(324)]?i(300):i(320));this[i(308)](i(324),e[i(324)]),this[i(313)]({tag:i(321),attributes:{class:[i(317),i(318),n.to(i(324),(t=>i(299)+t))],tabindex:-1},children:[{tag:i(306),children:[{tag:i(306),attributes:{class:[i(302)]},children:[{text:s}]},{text:" "+e[i(307)][i(304)]}]}]})}[Bt(314)](){const t=Bt;this[t(316)][t(314)]()}}var Jt=Gt;function Gt(t,e){var i=Qt();return(Gt=function(t,e){return i[t-=160]})(t,e)}!function(t){for(var e=Gt,i=t();;)try{if(140061===-parseInt(e(163))/1+parseInt(e(171))/2+-parseInt(e(160))/3+parseInt(e(164))/4+-parseInt(e(161))/5*(parseInt(e(165))/6)+-parseInt(e(172))/7*(-parseInt(e(166))/8)+parseInt(e(168))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Kt extends((0,t.ObservableMixin)()){id;[Jt(162)];[Jt(169)];[Jt(167)];[Jt(175)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(162)]=e[i(162)],this[i(169)]=e[i(169)],this[i(167)]=e[i(167)]||{},this[i(175)]=e[i(175)],this[i(173)](i(174),e[i(174)])}[Jt(170)](){var t=Jt;return{id:this.id,authorId:this[t(162)].id,type:this[t(169)],data:this[t(167)],createdAt:this[t(174)]}}}function Qt(){var t=["121299ymDwCr","141776PGhoZt","21180ARbviy","1976JSlCXh","data","228609cenGQt","type","toJSON","556388jkoobX","2632rkfmUL","set","createdAt","rootName","437523QFxbxF","35bQXxIw","author"];return(Qt=function(){return t})()}const Xt=ee;function te(){const t=["112uWtWNg","newRevisionId","1872946FcpXKW","1hUdpvi","add","11539snRuCM","changes","_setChanges","768744BXUnkR","585xtUIGh","3559790gmjDso","1412RGTHJQ","1668JperMg","2244228UjYLOk","18mfkOoT","30SuNuBm","8hGjsyp","oldRevisionId","3447886QhoVNA"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=102]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(844509===parseInt(e(111))/1*(-parseInt(e(110))/2)+parseInt(e(117))/3*(parseInt(e(119))/4)+parseInt(e(104))/5*(parseInt(e(116))/6)+parseInt(e(102))/7*(-parseInt(e(105))/8)+-parseInt(e(103))/9*(parseInt(e(118))/10)+parseInt(e(113))/11*(-parseInt(e(120))/12)+-parseInt(e(107))/13*(-parseInt(e(108))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ie{[Xt(109)];[Xt(106)];[Xt(114)];constructor(e,i){const n=Xt;this[n(109)]=e,this[n(106)]=i,this[n(114)]=new t.Collection}[Xt(115)](t){const e=Xt;for(const i of t)this[e(114)][e(112)](i)}}var ne=i(536),se={attributes:{"data-cke":!0}};se.setAttributes=Rt(),se.insert=Nt().bind(null,"head"),se.domAPI=Tt(),se.insertStyleElement=Vt();St()(ne.A,se);ne.A&&ne.A.locals&&ne.A.locals;const re=le;!function(t){const e=le,i=t();for(;;)try{if(830833===parseInt(e(644))/1+-parseInt(e(649))/2*(parseInt(e(449))/3)+parseInt(e(675))/4*(-parseInt(e(734))/5)+-parseInt(e(662))/6*(parseInt(e(524))/7)+-parseInt(e(555))/8+parseInt(e(607))/9*(-parseInt(e(509))/10)+-parseInt(e(513))/11*(-parseInt(e(602))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(he);class oe extends J.Plugin{[re(473)];[re(617)]=null;[re(427)];[re(637)];[re(697)];[re(678)];[re(435)];static get[re(653)](){return re(739)}static get[re(557)](){return!0}static get[re(452)](){return!0}static get[re(533)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(473)]=this[e(671)][e(704)][e(707)](e(682)),this[e(427)]=this[e(671)][e(704)][e(707)](e(529)),this[e(680)](e(585),null),this[e(680)](e(551),null),this[e(637)]=null,this[e(680)](e(506),null),this[e(680)](e(710),!1),this[e(680)](e(569),!0),this.on(e(426),((t,i,n)=>{const s=e;this[s(585)]=null,this[s(551)]=null,this[s(671)][s(466)][s(545)][s(420)]((t=>{const e=s;for(const i of this[e(671)][e(466)][e(545)][e(638)][e(558)])n?t[e(489)](e(570),i):t[e(480)](e(570),i)}))})),this[e(591)](e(712)).to(this,e(585),(t=>null!==t)),this[e(591)](e(726)).to(this,e(710),this,e(506),this,e(585),((t,i,n)=>t&&n?i[e(511)][e(531)](n):0)),this[e(591)](e(685)).to(this,e(710),this,e(506),((t,i)=>t?i[e(511)][e(469)]:0)),this[e(697)]=null,this[e(678)]=new Map,this[e(435)]=this[e(671)][e(704)][e(707)](_t.ContextualBalloon)}[re(616)](){const t=re,e=this[t(671)],i=new ue(e,{direction:t(471)}),n=new ue(e,{direction:t(582)});e[t(695)][t(441)](t(461),i),e[t(695)][t(441)](t(634),n),e[t(695)][t(441)](t(576),new ce(e)),this.on(t(422),(()=>{const e=t;i[e(583)](),n[e(583)]()})),this[t(498)](),this[t(440)](),e[t(648)](t(550)),e[t(704)][t(562)](t(625))&&e[t(704)][t(707)](t(625))[t(423)](t(550))}async[re(522)](t){const e=re;return await this[e(427)][e(548)](t,this[e(617)]),this[e(427)][e(522)](t)}async[re(505)](t){const e=re;return await this[e(427)][e(548)](t,this[e(617)]),this[e(427)][e(505)](t)}async[re(552)](t,e,i=!1){const n=re;if(!this[n(569)])return;const s=this[n(506)],r=this[n(473)],o=n(690)==typeof t?r[n(643)](t):t,a=n(690)==typeof e?r[n(643)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(506)]&&this[n(506)][n(515)]===c&&this[n(506)][n(606)]===u)return Promise[n(628)]();this[n(710)]=!1,this[n(551)]=null,this[n(585)]=null,this[n(506)]=new ie(c,u);const l=this[n(571)](o,a,!0)[n(543)]((t=>this[n(427)][n(548)](t,this[n(617)])));return l[n(664)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(500)](l)[n(448)]((()=>{const t=n;if(!this[t(569)])return;this[t(636)]();const e=this[t(579)](c,u);for(const i of e[t(511)])this[t(678)][t(680)](i.id,i);this[t(671)][t(503)][t(673)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(671)][n(503)][n(638)][n(564)]())i[n(514)](t);for(const t of Object[n(689)](e[n(503)])){const s=i[n(681)](t);for(const r of Object[n(689)](e[n(735)][t]))i[n(537)](r,e[n(735)][t][r],s);i[n(546)](e[n(503)][t],s,0)}})),this[t(506)][t(670)](this[t(595)](e[t(511)])),this[t(710)]=!0}))[n(488)]((t=>{const e=n;console[e(732)](t),this[e(636)](),s&&(this[e(506)]=s),this[e(710)]=!0}))}[re(447)](t,e){const i=re,n=this[i(473)][i(486)](t);return n.on(i(647),((t,i,s)=>e(i,s,n))),this[i(473)][i(456)](n),n}[re(636)](){const t=re;this[t(585)]=null,this[t(646)](),this[t(697)]&&this[t(697)][t(523)](),this[t(697)]=null,this[t(678)][t(640)](),this[t(671)][t(503)][t(673)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(671)][i(503)][i(638)][i(564)]())e[i(514)](t)}))}[re(595)](t){const e=re,i=[],n=new Map;for(const t of this[e(671)][e(503)][e(638)][e(564)]()){const s=this[e(671)][e(466)][e(545)][e(589)](t);if(!s)continue;const r=s[e(535)]()[e(677)](0);r&&(i[e(664)](t),n[e(680)](t,r))}return i[e(460)](((t,i)=>{const s=e,r=n[s(707)](t),o=n[s(707)](i);return r.y-o.y||r.x-o.x})),(t=t[e(723)]((t=>i[e(733)](t[e(596)]))))[e(460)](((t,n)=>i[e(645)](t[e(596)])-i[e(645)](n[e(596)]))),t}[re(631)](t){const e=re,i=Array[e(703)](t[e(563)])[e(723)]((([t,i])=>t[e(639)](e(565))&&!i[e(717)])),n=Array[e(703)](this[e(671)][e(503)][e(459)](t)[e(520)]({singleCharacters:!0}));if(0!=i[e(469)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(629)](":");if(s[e(658)][e(512)](t[e(614)])&&i[e(438)](),(t[e(728)][e(512)](s[e(574)])||t[e(728)][e(554)](s[e(574)]))&&(e(484)==r?t[e(655)]={userId:o}:e(741)==r&&(t[e(578)]={userId:o})),0==i[e(469)])break}return n}[re(698)](t){const e=re,i=new Map;for(let n=0;n<t[e(469)];n++)e(597)===t[n][e(657)]?(t[n][e(677)][e(430)]=n,t[n][e(677)][e(683)]=n):(e(560)===t[n][e(657)]?t[n][e(677)][e(430)]=n:e(421)===t[n][e(657)]&&(t[n][e(677)][e(683)]=n),i[e(680)](t[n].id,n));for(const n of i[e(619)]())e(560)===t[n][e(657)]?t[n][e(677)][e(683)]=i[e(707)](t[n][e(501)]):e(421)===t[n][e(657)]&&(t[n][e(677)][e(430)]=i[e(707)](t[n][e(501)]))}[re(706)](t){const e=re;for(let i=0;i<t[e(469)];i++){if(e(560)===t[i][e(657)])t[i][e(677)][e(430)]=i;else if(e(421)===t[i][e(657)]){t[i][e(677)][e(683)]=i;const n=t[i][e(677)][e(430)];t[n][e(501)]=t[i].id,t[i][e(501)]=t[n].id}else t[i][e(677)][e(430)]=i,t[i][e(677)][e(683)]=i,t[i][e(501)]=null;t[i][e(587)]||(t[i][e(587)]=[],t[i][e(541)]=[])}}[re(630)](t,e){const i=re,n=t[i(723)]((t=>!t[i(655)]));for(let t=0;t<e[i(469)];t++)e[t][i(655)]&&(n[t][i(655)]=e[t][i(655)])}[re(579)](t,e=null){const i=re,n=this[i(473)][i(643)](t),s=e?this[i(473)][i(643)](e):null,r=this[i(571)](n,s),o=r[r[i(469)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(469)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(689)](e[i(437)]))if(e[i(437)][t][i(586)]){const n=e[i(437)][t][i(586)];n[i(491)]?(u[i(441)](t),l[i(562)](t)&&l[i(707)](t)[i(482)]==n[i(482)]?l[i(559)](t):l[i(680)](t,n)):l[i(562)](t)?(u[i(559)](t),l[i(559)](t)):(u[i(441)](t),l[i(680)](t,n))}else u[i(441)](t)}for(const t of u){const e=l[i(562)](t)&&!l[i(707)](t)[i(491)];let n=e?r[i(469)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(437)][t]){const n=e?o[i(437)][t][i(536)]:o[i(437)][t][i(687)];c[i(735)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(503)]={};for(const e of t[i(721)])a[i(680)](e.id,e);for(const e of u){const n=t[i(437)][e]?t[i(437)][e][i(492)]:"[]",s=t[i(437)][e]?t[i(437)][e][i(590)]:"[]";t[i(503)][e]={insertions:this[i(427)][i(467)](n),deletions:this[i(427)][i(467)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(703)](n[i(503)][t][i(492)][i(563)])[i(723)]((([t])=>!t[i(639)](i(565)))));let h=0;for(const o of r){const r=this[i(631)](o[i(503)][t][i(492)]);o==n?(e=r,s=e[i(469)],e[i(418)]((t=>{t.id=h++})),this[i(706)](e)):this[i(630)](e,r);const a=e[i(723)]((t=>!t[i(655)]))[i(543)]((t=>t.id));let c=0;const l=this[i(631)](o[i(503)][t][i(590)]);l[i(418)]((t=>{t[i(578)]?t.id=s++:t.id=a[c++]})),this[i(706)](l),this[i(736)](e,i(655)),this[i(736)](l,i(578)),o==n&&this[i(584)](e,u),e=this[i(701)](e,l),this[i(698)](e),this[i(736)](e,i(578))}e=e[i(723)]((t=>!(t[i(655)]&&t[i(578)])));const d=new Map(o[i(503)][t][i(590)][i(563)]),f=new Set(u[i(689)]());for(const t of d[i(689)]())f[i(559)](t);this[i(450)](e,f),this[i(475)](e),e=this[i(487)](e),e=this[i(530)](e),e=this[i(610)](e);const{root:m,changes:p}=this[i(538)](e,a,t);c[i(503)][t]=m;const v=l[i(707)](t);if(v){const e=a[i(707)](v[i(482)]),n=new Kt({author:e,type:v[i(491)]?i(441):i(654),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(439)](n),c[i(735)][t][i(472)]=n.id}c[i(511)]=c[i(511)][i(540)](p)}return c}[re(584)](t,e){const i=re;for(let n=0;n<t[i(469)];n++)for(const[s,r]of e)!r[i(717)]&&r[i(574)][i(512)](t[n][i(728)])&&t[n][i(587)][i(664)](s),r[i(658)][i(512)](t[n][i(614)])&&t[n][i(541)][i(664)](s)}[re(701)](t,e){const i=re;let n=[],s=0,r=0;for(;s<t[i(469)]||r<e[i(469)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(664)](o);else if(a[i(578)]&&o[i(655)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(580)](t,s,e,r);n=n[i(540)](o),s=a,r=c}else a[i(578)]?(r++,n[i(664)](a)):(s++,n[i(664)](o))}return n}[re(450)](t,e){const i=re,n=[];for(let o=0;o<t[i(469)];o++){for(let r=0;r<t[o][i(587)][i(469)];r++){const a=t[o][i(587)][r];if(!e[i(562)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(691)!=c||i(484)!=u&&i(741)!=u||(n[i(439)]({type:u,name:a,userId:l}),t[o][i(587)][i(684)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(541)][i(469)];r++){const a=t[o][i(541)][r];if(!e[i(562)](a))continue;const{group:c,type:u}=s(a);if(i(691)!=c||i(484)!=u&&i(741)!=u)continue;t[o][i(541)][i(684)](r,1),r--;const l=n[i(713)]((t=>t[i(618)]==a));l>-1&&n[i(684)](l,1)}}function s(t){const e=i,n=t[e(629)](":");return{group:n[0],type:n[1],subType:n[e(469)]>=5?n[2]:null,id:n[e(469)]<5?n[2]:n[3],authorId:n[e(469)]<5?n[3]:n[4],markerCount:6==n[e(469)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(469)];i++){if(t[e(655)]&&e(484)==n[i][e(657)]&&t[e(655)][e(482)]==n[i][e(482)])return t[e(718)]=n[i],void delete t[e(655)];if(!t[e(655)]&&!t[e(578)]&&e(741)==n[i][e(657)])return void(t[e(527)]=n[i])}}}[re(736)](t,e){const i=re;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(680)](o.id,n);for(let n=0;n<t[i(469)];n++){if(i(578)==e&&t[n][i(655)]||i(655)==e&&t[n][i(578)])continue;if(i(597)==t[n][i(657)]){t[n][i(573)]=0;continue}const s=r[i(707)](t[n][i(501)]),o=r[i(707)](t[n].id);t[n][i(573)]=s-o}}[re(571)](t,e,i=!1){const n=re,s=[];let r=this[n(473)][n(531)](t),o=this[n(473)][n(531)](e);for(-1==o&&(o=this[n(473)][n(666)][n(469)],i=!1);r<o;)s[n(664)](this[n(473)][n(643)](r)),r++;return i&&s[n(664)](this[n(473)][n(643)](r)),s}[re(580)](t,e,i,n){const s=re,r=this[s(671)][s(503)][s(609)];let o=e;for(;t[o]&&t[o][s(655)];)o++;let a=n;for(;i[a]&&i[a][s(578)];)a++;u(t,e,o),u(i,n,a);const c=i[s(517)](n,a)[s(540)](t[s(517)](e,o));return c[s(460)](((t,e)=>t[s(694)]!=e[s(694)]?t[s(694)]-e[s(694)]:t[s(542)]!=e[s(542)]?t[s(542)]-e[s(542)]:t[s(573)]!=e[s(573)]?e[s(573)]-t[s(573)]:!!t[s(655)]!=!!e[s(655)]?-1==t[s(694)]||0==t[s(694)]?t[s(655)]?-1:1:t[s(655)]?1:-1:t[s(454)]-e[s(454)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(465)],c=!0;for(let s=e;s<i;s++)if(r[n(743)](t[s][n(677)])||(c=!1),t[s][n(677)][n(430)]<e&&(o=s),t[s][n(677)][n(683)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(694)]=s<=o?-1:s<a?0:1,t[s][n(454)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(573)]?t[i][n(542)]=u:(u++,t[i][n(542)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(694)]&&(t[s][n(542)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(573)]?t[e][n(542)]=u:(u--,t[e][n(542)]=u,u--)}}[re(475)](t){const e=re,i=new Map,n=this[e(671)][e(503)][e(609)];for(let s=1;s<t[e(469)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(597)==c[e(657)])continue;if(c[e(657)]!=u[e(657)])continue;if(!n[e(599)](u[e(677)])||n[e(611)](u[e(677)]))continue;if(!n[e(599)](c[e(677)])||n[e(611)](c[e(677)]))continue;if((t[s][e(655)]||t[s][e(718)])&&t[s-1][e(578)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(578)]||!t[s-1][e(655)]&&!t[s-1][e(718)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(542)]==o[e(542)],h=Math[e(626)](r[e(542)])<Math[e(626)](o[e(542)])&&0==o[e(573)];(l||h)&&(i[e(680)](o.id,r.id),t[e(684)](a,1),s--,r[e(655)]=!1)}for(let n=0;n<t[e(469)];n++)i[e(562)](t[n][e(501)])&&(t[n][e(501)]=i[e(707)](t[n][e(501)]))}[re(487)](t){const e=re,i=new Set(t[e(543)]((t=>t.id)));for(let n=0;n<t[e(469)];n++)i[e(562)](t[n][e(501)])||0==t[n][e(573)]||(t[n][e(455)]=!0);return t[e(723)]((t=>!t[e(455)]))}[re(530)](t){const e=re,i=new Set;for(let n=0;n<t[e(469)];n++){if(i[e(562)](t[n].id)&&t[n][e(578)]&&(t[n][e(455)]=!0),t[n][e(455)])continue;if(0==t[n][e(573)])continue;if(e(560)!=t[n][e(657)])continue;if(null==t[n][e(501)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(501)];)e(560)==t[s][e(657)]?r++:e(421)==t[s][e(657)]&&r--,s++;if(0!=r)if(t[n][e(578)])t[n][e(455)]=!0;else for(;s!=n;)t[s][e(578)]&&0!=t[s][e(573)]&&(t[s][e(455)]=!0,i[e(441)](t[s][e(501)])),s--}return t[e(723)]((t=>!t[e(455)]))}[re(610)](t){const e=re,i=this[e(671)][e(503)][e(609)];for(let n=0;n<t[e(469)];n++){if(!(t[n][e(655)]||t[n][e(718)]||t[n][e(578)]||t[n][e(527)]))continue;if(0==t[n][e(573)])continue;const s=t[n][e(677)];i[e(599)](s)||i[e(611)](s)||(t[n][e(655)]&&delete t[n][e(655)],t[n][e(718)]&&delete t[n][e(718)],t[n][e(527)]&&delete t[n][e(527)],t[n][e(578)]&&(t[n][e(455)]=!0))}return t[e(723)]((t=>!t[e(455)]))}[re(538)](t,e,i){const n=re,s=new K.DocumentFragment,r=[],o=new Map,a=this[n(671)][n(503)],c=a[n(609)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(469)];e++)if(n(560)===t[e][n(657)]){t[e][n(728)]=a[n(462)](s,f);const i=new K.Element(t[e][n(677)][n(618)],t[e][n(677)][n(549)]());u[0][n(433)](i),f[n(664)](0),u[n(439)](i),t[e][n(614)]=a[n(462)](s,f)}else n(421)===t[e][n(657)]?(u[n(438)](),t[e][n(728)]=a[n(462)](s,f),f[n(457)](),f[f[n(469)]-1]++,t[e][n(614)]=a[n(462)](s,f)):(t[e][n(728)]=a[n(462)](s,f),d?d[n(444)]+=t[e][n(677)][n(547)]:d=new K.Text(t[e][n(677)][n(547)],t[e][n(677)][n(549)]()),t[e+1]&&n(597)===t[e+1][n(657)]&&v(d,t[e+1][n(677)])||(u[0][n(433)](d),d=null),f[f[n(469)]-1]+=t[e][n(677)][n(464)],t[e][n(614)]=a[n(462)](s,f));for(let e=0;e<t[n(469)];e++){const i=t[e][n(728)],s=t[e][n(614)];for(const s of t[e][n(587)])o[n(680)](s,{start:i,end:null});m(n(527),e,i,s),m(n(718),e,i,s),m(n(578),e,i,s),m(n(655),e,i,s);for(const i of t[e][n(541)]){const t=o[n(707)](i);t?t[n(658)]=s:o[n(680)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(671)][n(503)][n(428)](e[n(574)],e[n(658)]);s[n(563)][n(680)](t,i)}return r[n(460)](((t,e)=>{const i=n,r=s[i(563)][i(707)](i(565)+t.id),o=s[i(563)][i(707)](i(565)+e.id);return r[i(574)][i(613)](o[i(574)])?-1:r[i(574)][i(554)](o[i(574)])?1:r[i(658)][i(613)](o[i(658)])?-1:r[i(658)][i(554)](o[i(658)])?1:i(441)===t[i(657)]?-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(482)]:null,d=i===t[o(469)]-1,f=h[e][0],m=c[o(544)](t[i][o(677)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(658)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(482)]!==u&&(l[e][o(658)]=s,f&&f[o(482)]===l[e][o(482)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(560)!==t[i][o(657)]||f&&f[o(482)]===u||h[e][o(439)]({userId:u,object:t[i][o(677)],change:l[e]}),o(421)===t[i][o(657)]&&f&&f[o(516)]===t[i][o(677)]&&(h[e][o(438)](),l[e]=f[o(420)])),l[e]&&d&&(l[e][o(658)]=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(677)],f=a[h(609)][h(599)](d)&&!a[h(609)][h(611)](d),m=t[h(497)]==o[h(692)]&&o[h(688)];if(f&&m)return;const p=a[h(428)](t,o),v=e[h(707)](u),g=new Kt({author:v,type:h(655)==l||h(718)==l?h(441):h(654),data:{isSuggestion:h(718)==l||h(527)==l},createdAt:new Date,rootName:i});r[h(664)](g),s[h(563)][h(680)](h(565)+g.id,p)}function v(t,e){const i=n,s=t[i(549)](),r=e[i(549)]();for(const t of s){if(t[1]!==e[i(495)](t[0]))return!1;r[i(669)]()}return r[i(669)]()[i(722)]}}[re(498)](){const t=re;this[t(671)][t(598)][t(477)](t(708))[t(621)]({view:t(674)}),this[t(671)][t(598)][t(477)](t(622))[t(705)]({model:t(674),view:e=>{const i=t,n=e[i(443)][i(629)](":")[1],s=this[i(744)](n);if(!s)return null;const r=i(441)==s[i(657)]?i(484):i(741),o=[i(676),i(434)+r];return s[i(547)][i(526)]&&o[i(664)](i(434)+r+i(627)),this[i(585)]==s&&o[i(664)](i(483)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(671)][t(598)][t(477)](t(708))[t(441)]((e=>{const i=t;e.on(i(745),((t,e,n)=>{const s=i,r=e[s(702)][s(715)](0);if(!r||!r.is(s(612),s(605)))return;if(!n[s(632)][s(650)](r,{attributes:[s(478),s(699)]}))return;const o=e[s(729)][s(574)][s(497)];n[s(553)][s(537)](s(478),r[s(495)](s(478)),o),n[s(553)][s(537)](s(699),r[s(495)](s(699)),o)}),{priority:i(672)})})),this[t(671)][t(598)][t(477)](t(708))[t(441)]((e=>{const i=t;e.on(i(612),((t,e,n)=>{const s=i;if(!n[s(632)][s(650)](e[s(702)],{attributes:[s(478),s(699)]}))return;if(e[s(729)][s(717)])return;const r=e[s(729)][s(574)][s(497)];r[s(727)](s(478))||r[s(727)](s(556))||(n[s(553)][s(537)](s(478),e[s(702)][s(495)](s(478)),r),n[s(553)][s(537)](s(699),e[s(702)][s(495)](s(699)),r))}),{priority:i(672)})})),this[t(671)][t(598)][t(477)](t(708))[t(458)]({view:{name:t(711),attributes:{vid:!0}},model:{key:t(556),value:e=>e[t(495)](t(556))}}),this[t(671)][t(503)][t(609)].on(t(667),((e,[,i])=>{const n=t;[n(478),n(699),n(556)][n(733)](i)&&(e[n(593)]=!0,e[n(588)]())}),{priority:t(738)}),this[t(671)][t(598)][t(477)](t(508))[t(441)]((e=>{const i=t;e.on(i(641),((t,e,n)=>{const s=i;if(" "!=e[s(677)][s(547)]||e[s(677)][s(692)][s(499)]>1)return;if(!n[s(632)][s(650)](e[s(677)],t[s(618)]))return;const r=n[s(553)],o=n[s(665)][s(572)](e[s(518)]);r[s(725)](o,r[s(624)](s(711)))}))})),this[t(671)][t(598)][t(477)](t(508))[t(660)]({model:t(674)}),this[t(671)][t(466)][t(740)].on(t(663),function(e){const i=t,n=e[i(704)][i(707)](i(739));return(t,s,r)=>{const o=i,a=s[o(443)][o(629)](":")[1],c=n[o(744)](a);if(!c)return null;const u=o(441)==c[o(657)]?o(629):o(504);if(!r[o(632)][o(659)](s[o(519)],t[o(618)]))return;const l=s[o(519)][o(520)](),h=s[o(519)][o(574)],d=e[o(503)][o(609)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(677)];p=p||d[o(470)](e);const i=r[o(665)][o(615)](e);if(i&&i[o(490)](o(696)))return;o(421)==t[o(657)]&&d[o(599)](e)&&!d[o(611)](e)&&(e[o(592)]||h[o(521)]?f&&f[o(692)]==e||(f=e,g(t[o(728)]),v=!0):m=m||t[o(728)])}function g(t){const e=o,i=r[e(553)][e(479)](e(711),{class:e(434)+u}),a=r[e(665)][e(485)](t);c[e(547)][e(526)]&&r[e(553)][e(480)](e(434)+u+e(627),i),n[e(585)]==c&&r[e(553)][e(480)](e(483),i),r[e(553)][e(546)](a,i),r[e(665)][e(661)](i,s[e(443)])}p||v||!m||g(m)}}(this[t(671)]),{priority:t(525)}),this[t(671)][t(466)][t(740)].on(t(496),((e,i,n)=>{const s=t,r=n[s(665)][s(507)](i[s(443)]);if(r)for(const t of r)(t[s(577)](s(724))||t[s(577)](s(668)))&&(n[s(665)][s(453)](t,i[s(443)]),n[s(553)][s(654)](t))}),{priority:t(525)}),this[t(671)][t(466)][t(740)].on(t(663),((e,i,n)=>{const s=t,r=i[s(443)][s(629)](":")[1],o=this[s(744)](r);if(!o)return null;const a=s(441)==o[s(657)]?s(629):s(504);if(n[s(632)][s(659)](i[s(519)],e[s(618)]))for(const t of i[s(519)][s(652)]()){if(!t.is(s(612),s(528)))continue;const e=n[s(553)][s(479)](s(711),{class:s(434)+a}),r=n[s(665)][s(485)](this[s(671)][s(503)][s(693)](t));o[s(547)][s(526)]&&n[s(553)][s(480)](s(434)+a+s(627),e),this[s(585)]==o&&n[s(553)][s(480)](s(483),e),n[s(553)][s(546)](r,e),n[s(665)][s(661)](e,i[s(443)])}}),{priority:t(525)}),this[t(671)][t(503)][t(638)].on(t(420),(()=>{const e=t;this[e(671)][e(466)][e(545)][e(420)]((t=>{const i=e;for(const e of this[i(671)][i(503)][i(638)][i(564)]()){const n=this[i(671)][i(503)][i(638)][i(716)](e),s=this[i(671)][i(466)][i(545)][i(638)][i(716)](e);if(s){const e=n[i(495)](i(472));if(t[i(737)](i(720),s),t[i(489)](i(635),s),t[i(489)](i(476),s),t[i(489)](i(608),s),e){const n=this[i(744)](e);if(!n)return null;t[i(537)](i(720),e,s),t[i(480)](i(714)+n[i(657)],s),this[i(585)]==n&&t[i(480)](i(608),s)}}}}))})),this[t(671)][t(598)][t(477)](t(708))[t(621)]({view:t(481),model:e=>t(532)+e,converterPriority:t(738)}),this[t(671)][t(598)][t(477)](t(708))[t(621)]({view:t(603),model:e=>t(700)+e,converterPriority:t(738)}),this[t(671)][t(598)][t(477)](t(508))[t(660)]({model:t(691),view:e=>({name:t(431)+e,group:t(691)}),converterPriority:t(738)}),this[t(671)][t(598)][t(477)](t(622))[t(705)]({model:t(691),view:e=>{const i=t,n=e[i(443)][i(629)](":")[1];return i(484)!=n&&i(741)!=n?null:{classes:[i(686),i(567)+n]}}}),this[t(671)][t(466)][t(740)].on(t(594),ae(this[t(671)],t(504)),{priority:t(525)}),this[t(671)][t(466)][t(740)].on(t(679),ae(this[t(671)],t(629)),{priority:t(525)}),this[t(671)][t(466)][t(740)].on(t(474),((e,i,n)=>{const s=t,r=n[s(665)][s(507)](i[s(443)]);if(r)for(const t of r)t.is(s(446))&&(n[s(665)][s(453)](t,i[s(443)]),n[s(553)][s(654)](t))}),{priority:t(525)})}[re(744)](t){const e=re;return this[e(678)][e(707)](t)}[re(494)](t){const e=re;return this[e(697)]&&this[e(697)][e(523)](),this[e(697)]=new Yt(this[e(671)][e(623)],t),this[e(697)]}[re(440)](){const t=re;this[t(671)][t(503)][t(638)][t(429)][t(568)](t(674)),this.on(t(468),((e,i,n,s)=>{const r=t;s&&this[r(435)][r(654)](s),n&&(this[r(435)][r(441)]({view:n,stackId:r(600),position:{target:()=>{const t=r,e=this[t(671)][t(466)],i=this[t(744)](n[t(534)]);let s;if(i[t(547)][t(463)]){const n=e[t(545)][t(589)](i[t(596)]);s=Array[t(703)](n[t(535)]())}else{const i=this[t(671)][t(503)][t(563)][t(707)](t(565)+n[t(534)]);s=Array[t(703)](e[t(665)][t(507)](i[t(618)]))[t(543)]((i=>e[t(545)][t(436)][t(656)](i)))[t(543)]((e=>Array[t(703)](e[t(535)]())))[t(731)]()}return this[t(637)]&&s[t(566)]((e=>e[t(419)]-3<=this[t(637)].y&&e[t(719)]+3>=this[t(637)].y&&e[t(561)]-3<=this[t(637)].x&&e[t(604)]+3>=this[t(637)].x))||s[0]}}}),this[r(435)][r(601)](r(600)))})),this.on(t(424),((e,i,n,s)=>{const r=t;this[r(551)]=n?this[r(494)](n):null,this[r(671)][r(503)][r(420)]((()=>{const t=r,e=this[t(671)][t(466)];s&&(s[t(547)][t(463)]?e[t(545)][t(420)]((i=>{const n=t;i[n(489)](n(608),e[n(545)][n(638)][n(716)](s[n(596)]))})):e[t(651)](t(565)+s.id)),n&&(n[t(547)][t(463)]?e[t(545)][t(420)]((i=>{const s=t;i[s(480)](s(608),e[s(545)][s(638)][s(716)](n[s(596)]))})):e[t(651)](t(565)+n.id))}))})),this[t(432)](this[t(671)][t(466)][t(545)][t(638)],t(742),((e,i)=>{const n=t;if(this[n(585)])return;const s=this[n(575)](i[n(581)]),r=this[n(678)][n(707)](s);r?(this[n(637)]={x:i[n(451)].x,y:i[n(451)].y},this[n(551)]=this[n(494)](r)):(this[n(637)]=null,this[n(551)]=null)})),this[t(432)](this[t(671)][t(466)][t(545)][t(638)],t(642),((e,i)=>{const n=t,s=this[n(575)](i[n(581)]),r=this[n(678)][n(707)](s);r?(this[n(637)]={x:i[n(451)].x,y:i[n(451)].y},r===this[n(585)]?this[n(435)][n(539)]():this[n(585)]=r):(this[n(637)]=null,this[n(585)]=null)}))}[re(575)](t){const e=re;do{const i=t[e(495)](e(720));if(i)return i;t=t[e(692)]}while(t);return null}[re(646)](){const t=re;this[t(671)][t(503)][t(420)]((e=>{const i=t;for(const t of this[i(671)][i(503)][i(563)])e[i(510)](t)}))}}function ae(t,e){return(i,n,s)=>{const r=le;if(!s[r(632)][r(659)](n[r(519)],i[r(618)]))return;const o=n[r(519)][r(520)](),a=n[r(519)][r(574)],c=t[r(503)][r(609)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(677)];h=h||c[r(470)](e);const i=s[r(665)][r(615)](e);if(i&&i[r(490)](r(696)))return;r(421)==t[r(657)]&&c[r(599)](e)&&!c[r(611)](e)&&(e[r(592)]||a[r(521)]?u&&u[r(692)]==e||(u=e,f(t[r(728)]),d=!0):l=l||t[r(728)])}function f(t){const i=r,o=s[i(665)][i(485)](t),a=s[i(553)][i(479)](i(711),{class:i(567)+e});s[i(553)][i(546)](o,a),s[i(665)][i(661)](a,n[i(443)])}h||d||!l||f(l)}}class ce extends J.Command{constructor(t){const e=re;super(t);const i=t[e(704)][e(707)](oe);this[e(730)]=!1,this[e(432)](i,e(445),(()=>this[e(583)]())),this[e(432)](i,e(426),(()=>this[e(583)]()))}[re(502)](){const t=re,e=this[t(671)],i=e[t(704)][t(707)](oe),n=i[t(710)]?i[t(506)][t(515)]:null;e[t(493)][t(707)](t(442))[t(633)](n)}[re(583)](){const t=re,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(671)][t(704)][t(707)](oe),r=s&&n[t(425)](s[t(515)]);this[t(569)]=e&&i&&Boolean(r)}}class ue extends J.Command{[re(620)];constructor(t,{direction:e}){const i=re;super(t);const n=t[i(704)][i(707)](oe);this[i(730)]=!1,this[i(620)]=i(582)===e?1:-1,this[i(432)](n,i(445),(()=>this[i(583)]())),this[i(432)](n,i(426),(()=>this[i(583)]())),this[i(432)](n,i(424),(()=>this[i(583)]()))}[re(502)](){const e=re,i=this[e(671)],n=i[e(704)][e(707)](oe),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(585)]=s?n[e(506)][e(511)][e(707)](r+this[e(620)]):n[e(506)][e(511)][e(709)],n[e(585)][e(547)][e(463)])o=i[e(466)][e(545)][e(589)](n[e(585)][e(596)]);else{const t=i[e(503)][e(563)][e(707)](e(565)+n[e(585)].id);o=(0,G.getMarkerDomElement)(i[e(466)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(583)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(671)][t(704)][t(707)](oe);this[t(569)]=!!(r&&s&&n)&&(!e||(1===this[t(620)]?i<n-1:i>0))}}function le(t,e){const i=he();return(le=function(t,e){return i[t-=418]})(t,e)}function he(){const t=["getItems","pluginName","remove","isAdded","mapViewToDom","type","end","test","markerToData","bindElementToMarker","48RIuZOy","addMarker:revision","push","mapper","_revisions","checkAttribute","ck-suggestion-marker-merge","next","_setChanges","editor","low","enqueueChange","revision","4964956gzWKrL","ck-suggestion-marker","item","_changeIdToChange","addMarker:revision-suggestion:insertion","set","addRoot","RevisionsRepository","endIndex","splice","numberOfChanges","ck-suggestion-preview-marker","attributesAfter","isAtStart","keys","string","revision-suggestion","parent","createPositionBefore","side","commands","addHighlight","_changeView","_refreshStartEndIndex","vid_end","revision-suggestion:","_joinTapes","viewItem","from","plugins","markerToHighlight","_processTape","get","upcast","first","isReady","span","isNavigationMode","findIndex","ck-revision-history-root-","getChild","getRoot","isCollapsed","isAddSuggestion","bottom","data-change-id","authors","done","filter","ck-suggestion-marker-split","wrap","currentChangeNumber","hasAttribute","previousPosition","modelRange","affectsData","flat","error","includes","5TWcocT","attributes","_setDistance","removeAttribute","highest","RevisionViewer","downcastDispatcher","deletion","mouseover","isInline","_getChangeFromId","element:pre","forEach","top","change","elementEnd","change:numberOfChanges","forceDisabled","change:activeChange","getLaterVisibleRevision","change:isEnabled","_utils","createRange","selection","startIndex","suggestion:","listenTo","_appendChild","ck-suggestion-marker-","_balloon","domConverter","diffData","shift","unshift","_initInteractions","add","revisionHistory","markerName","_data","change:isReady","uiElement","addRevisionData","then","3nXOOCK","_markSuggestions","domEvent","isPremiumPlugin","unbindElementFromMarkerName","index","isIncorrect","addRevision","pop","elementToAttribute","createRangeIn","sort","showPreviousChange","createPositionFromPath","isOnRoot","offsetSize","POSITIVE_INFINITY","editing","_makeModelFromViewString","change:activeView","length","isContent","backward","revisionHistoryAttachChange","repository","removeMarker:revision-suggestion","_fixObsoleteTags","ck-revision-history-root-remove","for","vid_start","createUIElement","addClass","comment","userId","ck-suggestion-marker--active","insertion","toViewPosition","createRevision","_removeMissingPairs","catch","removeClass","getCustomProperty","isAttached","insertions","config","_getViewForChange","getAttribute","removeMarker:revision","nodeAfter","_setConversion","maxOffset","all","pairId","execute","model","merge","getRevisionRootsAttributes","diff","markerNameToElements","dataDowncast","8090210CJACSP","removeMarker","changes","isEqual","110gLLUxA","detachRoot","newRevisionId","object","slice","range","markerRange","getWalker","isAtEnd","getRevisionDocumentData","destroy","583163AiEUuo","high","isSuggestion","isRemoveSuggestion","softBreak","RevisionHistoryUtils","_markMismatchedRemovedTags","getIndex","revision-comment:","requires","changeId","getClientRects","attributesBefore","setAttribute","_makeModelFromTape","updatePosition","concat","markersEnd","level","map","isObject","view","insert","data","loadRevisionData","getAttributes","revision-viewer","activeView","compare","writer","isAfter","2092968Jcnmhw","vid","isOfficialPlugin","roots","delete","elementStart","left","has","markers","getRootNames","revision:","find","ck-suggestion-preview-marker-","observeMarkers","isEnabled","ck-editor__editable__overlay","_getRevisionsRange","toViewRange","distance","start","_findChangeIdFromDomTarget","restoreRevision","hasClass","isRemoved","_getDiff","_threeWayMerge","target","forward","refresh","_markMarkers","activeChange","attachChange","markersStart","stop","getDomRoot","deletions","bind","nextSibling","return","addMarker:revision-suggestion:deletion","_sortAndFilterDiffChanges","rootName","text","conversion","isBlock","revisionHistoryLabel","showStack","5549028XWeVvp","suggestion","right","code","oldRevisionId","9ddmOTI","ck-revision-history-root--active","schema","_removeUnsupportedChanges","isLimit","element","isBefore","nextPosition","toViewElement","init","adapter","name","values","_step","dataToMarker","editingDowncast","locale","createAttributeElement","WidgetToolbarRepository","abs","-new","resolve","split","_markInsertions","_makeTape","consumable","restoreRevisionCallback","showNextChange","ck-revision-history-root-add","_cleanUp","_activeViewTarget","document","startsWith","clear","attribute:vid","mousedown","getRevision","527492udfsMq","indexOf","_cleanMarkers","_update","enableReadOnlyMode","2684992lqkejP","consume","reconvertMarker"];return(he=function(){return t})()}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=Rt(),fe.insert=Nt().bind(null,"head"),fe.domAPI=Tt(),fe.insertStyleElement=Vt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=pe();return(me=function(t,e){return i[t-=361]})(t,e)}function pe(){const t=["5458Dffexm","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","Show previous change","Total","1340OwSIwV","fire","execute","_statusText","isEnabled","set","ck-revision-history-ui__changes-navigation__wrapper","No changes","currentChangeNumber","Show next change","isBackwardNavigationEnabled","bindTemplate","6btjuhl","12nBwjVZ","16UzeNCF","NUMBER_OF_CHANGES","numberOfChanges","forward","isReady","Loading...","58194BXDrTO","span","bind","backward","726078necigD","ck-revision-history-ui","ck-revision-history-ui__changes-navigation","_isStatusLabelVisible","setTemplate","3926097LnoiPD","X_OF_Y_CHANGES","ck-hidden","30bJfxOD","40iYKvRr","9176244CjmGZQ","EDIT_X_OF_Y_REVISIONS","div","ck-revision-history-ui__changes-navigation__label","2423468qnjTZE","42942809yAvwsa","isNavigationMode"];return(pe=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(895735===-parseInt(e(395))/1*(-parseInt(e(387))/2)+-parseInt(e(366))/3*(parseInt(e(392))/4)+parseInt(e(386))/5*(-parseInt(e(378))/6)+parseInt(e(383))/7*(parseInt(e(368))/8)+parseInt(e(374))/9*(-parseInt(e(400))/10)+-parseInt(e(388))/11*(parseInt(e(367))/12)+parseInt(e(393))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ve extends _t.View{constructor(t){const e=me;super(t);const i=this[e(365)],n=new _t.ButtonView(t),s=new _t.ButtonView(t);this[e(405)](e(394),!1),this[e(405)](e(372),!1),this[e(405)](e(362),0),this[e(405)](e(370),0),this[e(405)](e(396),!1),this[e(405)](e(364),!1),this[e(376)](e(381)).to(this,e(372),this,e(370),((t,e)=>t&&e>0)),this[e(376)](e(403)).to(this,e(372),this,e(362),this,e(370),this,e(394),((i,n,s,r)=>{const o=e;if(!i)return ot(t,o(373));if(!s)return ot(t,o(361));const a=ot(t,o(369),s);return r?ot(t,o(384),[n+1,s]):a})),n[e(405)]({label:ot(t,e(398)),tooltip:!0,icon:wt.IconChevronUp}),s[e(405)]({label:ot(t,e(363)),tooltip:!0,icon:wt.IconChevronDown}),n[e(376)](e(404)).to(this,e(364)),s[e(376)](e(404)).to(this,e(396)),n.on(e(402),(()=>this[e(401)](e(402),e(377)))),s.on(e(402),(()=>this[e(401)](e(402),e(371)))),this[e(382)]({tag:e(390),attributes:{class:["ck",e(379),e(380)]},children:[{tag:e(375),attributes:{class:[e(406)]},children:[{tag:e(375),attributes:{class:[e(391),i.if(e(381),e(385),(t=>!t))]},children:[{text:i.to(e(394),(i=>i?ot(t,e(389))+": ":ot(t,e(399))+": "))}]},{text:i.to(e(403))}]},new _t.ToolbarSeparatorView,{tag:e(390),attributes:{class:[e(397)]},children:[n,s]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=Rt(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Vt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;function ke(){const t=["2050872ajCLQT","isPremiumPlugin","editor","210472lBYtqB","1487060bUrjbo","5496440PZKaLy","isOfficialPlugin","editing","pluginName","hide","RevisionViewerLoadingOverlay","9VzKoJF","roots","removeClass","674049LvJeHJ","20182mPLivi","940216QbmoWS","12dXiYtf","ck-editor__editable__loading-overlay","view","show","7Iqnjmx","change","addClass","document"];return(ke=function(){return t})()}const be=we;function we(t,e){const i=ke();return(we=function(t,e){return i[t-=377]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(191286===parseInt(e(383))/1*(parseInt(e(385))/2)+parseInt(e(382))/3+parseInt(e(396))/4+-parseInt(e(397))/5+-parseInt(e(393))/6*(parseInt(e(389))/7)+-parseInt(e(384))/8*(parseInt(e(379))/9)+parseInt(e(398))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);const _e=be(386);class Ie extends J.Plugin{static get[be(401)](){return be(378)}static get[be(399)](){return!0}static get[be(394)](){return!0}[be(388)](){const t=be,e=this[t(395)][t(400)][t(387)];e[t(390)]((i=>{const n=t;for(const t of e[n(392)][n(380)])i[n(391)](_e,t)}))}[be(377)](){const t=be,e=this[t(395)][t(400)][t(387)];e[t(390)]((i=>{const n=t;for(const t of e[n(392)][n(380)])i[n(381)](_e,t)}))}}const Se=Te;function Oe(){const t=["requires","exitToEditing","isForwardNavigationEnabled","show","get","14183307czZtLh","changesNavigation","numberOfChanges","151282CAfhdb","isNavigationMode","init","forward","4570279APqVJF","RevisionViewerUI","isBackwardNavigationEnabled","isEnabled","4839248peroQe","5sDfFcP","Back to editing","execute","componentFactory","isPremiumPlugin","ck-revision-history-ui__back-to-editing","showNextChange","revisionHistory","2327598ehILYs","1323316QBGjMd","bind","7QFxTun","hide","pluginName","showPreviousChange","isOfficialPlugin","restoreRevision","Restore this revision","add","change:isReady","config","currentChangeNumber","closeRevisionViewerCallback","plugins","commands","isReady","1724613SbIisV","listenTo","editor","set"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=403]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(355258===-parseInt(e(428))/1*(-parseInt(e(408))/2)+-parseInt(e(443))/3+-parseInt(e(426))/4*(-parseInt(e(417))/5)+parseInt(e(425))/6+parseInt(e(412))/7+parseInt(e(416))/8+-parseInt(e(405))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends J.Plugin{static get[Se(430)](){return Se(413)}static get[Se(432)](){return!0}static get[Se(421)](){return!0}static get[Se(447)](){return[oe,Ie]}[Se(410)](){const t=Se,e=this[t(445)],i=e[t(440)][t(404)](oe),n=e[t(440)][t(404)](Ie);e.ui[t(420)][t(435)](t(448),(i=>{const n=t,s=new _t.ButtonView(i);return s[n(446)]({label:ot(i,n(418)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:n(422)}),this[n(444)](s,n(419),(()=>{const t=n;e[t(437)][t(404)](t(424))[t(439)]()})),s})),e.ui[t(420)][t(435)](t(433),(i=>{const n=t,s=new _t.ButtonView(i);return s[n(446)]({label:ot(i,n(434)),withText:!0,tooltip:!0}),s[n(427)](n(415)).to(e[n(441)][n(404)](n(433))),this[n(444)](s,n(419),(()=>e[n(419)](n(433)))),s})),e.ui[t(420)][t(435)](t(406),(n=>{const s=t,r=new ve(n),o=e[s(441)][s(404)](s(431)),a=e[s(441)][s(404)](s(423));return r[s(427)](s(414)).to(o,s(415)),r[s(427)](s(449)).to(a,s(415)),r[s(427)](s(442),s(438),s(407),s(409)).to(i),this[s(444)](r,s(419),((t,i)=>{const n=s;e[n(419)](n(411)===i?n(423):n(431))})),r})),n[t(403)](),i.on(t(436),((e,i,s)=>{const r=t;s?n[r(429)]():n[r(403)]()}))}}var Ne=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Rt(),Ae.insert=Nt().bind(null,"head"),Ae.domAPI=Tt(),Ae.insertStyleElement=Vt();St()(Ne.A,Ae);Ne.A&&Ne.A.locals&&Ne.A.locals;const Re=Ve;function Me(){const t=["scrollWidth","2542385qnMQOC","9LzDOrP","value","listenTo","input","2357108xoqaNh","span","clientWidth","ck-revision-history-sidebar__revision-name","_tooltipString","13PtNYda","4qsTtYd","10nMVTDj","set","Enter the revision name","Revision name","fieldView","1oLCxvQ","1600739QaSaAX","1266324eRvQnY","ck-tooltip_multi-line","destroy","_updateTooltipText","30DddgIm","render","extendTemplate","element","bindTemplate","6816928mZWiTm","25616004DAzExS","placeholder","_resizeObserver","5488142sfjLVT"];return(Me=function(){return t})()}function Ve(t,e){const i=Me();return(Ve=function(t,e){return i[t-=135]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(626835===-parseInt(e(165))/1*(-parseInt(e(153))/2)+-parseInt(e(167))/3*(parseInt(e(159))/4)+parseInt(e(148))/5+parseInt(e(137))/6*(parseInt(e(166))/7)+-parseInt(e(142))/8*(-parseInt(e(149))/9)+-parseInt(e(160))/10*(parseInt(e(146))/11)+parseInt(e(143))/12*(-parseInt(e(158))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class De extends _t.LabeledFieldView{[Re(145)]=null;constructor(t,e){const i=Re;super(t,e);const n=this[i(141)];this[i(161)]({label:ot(t,i(163)),_tooltipString:""}),this[i(164)][i(144)]=ot(t,i(162)),this[i(139)]({tag:i(154),attributes:{class:[i(156)],"data-cke-tooltip-text":n.to(i(157)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(168)}})}[Re(138)](){const e=Re;super[e(138)](),this[e(145)]=new t.ResizeObserver(this[e(164)][e(140)],(()=>this[e(136)]())),this[e(151)](this[e(164)],e(152),(()=>this[e(136)]()))}[Re(135)](){const t=Re;super[t(135)](),this[t(145)]&&this[t(145)][t(135)]()}[Re(136)](){const t=Re,e=this[t(164)][t(140)];this[t(157)]=e[t(147)]>e[t(155)]&&e[t(150)]||""}}var Ee=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Rt(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Vt();St()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=130]})(t,e)}function Fe(){const t=["ck-revision-history-sidebar__revision-author","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","push","2023546eqESun","1656887hnYoCO","1758357DrEGxK","113528xskmGP","ck-revision-history-sidebar__revision-author__name","2305124vDBsVv","Revision author","setTemplate","span","21225VonYrV","498UZECTe","set","946062mSLvir","name","35jhnAHE","Revision creator","210iVieeN"];return(Fe=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(965828===-parseInt(e(133))/1+-parseInt(e(132))/2+-parseInt(e(144))/3+-parseInt(e(137))/4+parseInt(e(141))/5*(parseInt(e(142))/6)+-parseInt(e(146))/7*(-parseInt(e(135))/8)+parseInt(e(134))/9*(parseInt(e(148))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class Le extends _t.View{constructor(t,e,i){const n=je;super(t);const s=new _t.IconView;s[n(143)]({content:wt.IconUser,viewBox:n(150)});const r=["ck",n(149)];i&&r[n(131)](n(130));const o=[{tag:n(140),attributes:{class:["ck",n(136)],title:ot(t,n(i?147:138))},children:[s,e[n(145)]]}];this[n(139)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=We();return(Pe=function(t,e){return i[t-=279]})(t,e)}function We(){var t=["54738uWGrsl","8cHzfWh","288WaYBaX","22844gWsWmC","toLocaleTimeString","1766394yINDKi","numeric","2351890IgxWJR","4135912FfpMuo","2fwTnSY","116365NnnqCq","1939385VtwitT","toLocaleDateString","long","850KOAnCJ"];return(We=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(283021===parseInt(e(279))/1*(-parseInt(e(293))/2)+parseInt(e(286))/3*(parseInt(e(287))/4)+-parseInt(e(291))/5+-parseInt(e(289))/6+-parseInt(e(280))/7*(parseInt(e(285))/8)+parseInt(e(284))/9*(parseInt(e(283))/10)+parseInt(e(292))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var ze=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Rt(),Ue.insert=Nt().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Vt();St()(ze.A,Ue);ze.A&&ze.A.locals&&ze.A.locals;function Ze(){const t=["1821252saTpYu","add","model","10pmJZsT","name","menu","ck-on","extendTemplate","listenTo","1464eozbeX","213183ZtoQZR","bindTemplate","class","menuitem","Show more items","change:isActionsDropdownOpen","isEnabled","button","bind","isVisible","stopPropagation","listView","source","panelPosition","_action","isOpen","13575jtKAWv","action","11330011GyVpHc","find","74196DQCDIn","isActionsDropdownOpen","Name this revision","isReady","locale","312HOYVbn","8yAEeRj","8558592irQTTb","buttonView","Restore this revision","set","items","map","Compare against selected","execute","ck-revision-history-sidebar__revision__actions","7792204bJzOpc","first","children","function"];return(Ze=function(){return t})()}function He(t,e){const i=Ze();return(He=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=He,i=t();for(;;)try{if(718180===-parseInt(e(261))/1*(parseInt(e(217))/2)+parseInt(e(231))/3+-parseInt(e(240))/4*(-parseInt(e(257))/5)+-parseInt(e(218))/6+-parseInt(e(227))/7+-parseInt(e(266))/8*(-parseInt(e(241))/9)+-parseInt(e(234))/10*(-parseInt(e(259))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(216),qe={attributes:{"data-cke":!0}};qe.setAttributes=Rt(),qe.insert=Nt().bind(null,"head"),qe.domAPI=Tt(),qe.insertStyleElement=Vt();St()($e.A,qe);$e.A&&$e.A.locals&&$e.A.locals;const Be=Ye;function Ye(t,e){const i=Je();return(Ye=function(t,e){return i[t-=448]})(t,e)}function Je(){const t=["isEnabled","set","220","name","ck-revision-history-sidebar__revision__controls-wrapper","unshift","isHighlighted","map","length","authors","ck-revision-history-sidebar__revision-authors","value","ck-revision-history-sidebar__revision","isReady","ck-reset","_requireRevisionName","ck-disabled","isSelected",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision__date","filter","bind","ck-revision-history-sidebar__revision-wrapper","closest","srcElement","7364756alSdhd","733078WYTDGv","span","div","1111790YORRMW","bindTemplate","creator","highlight","ck-revision-history-sidebar__revision_highlighted","isConfirm","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","change","setName","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unhighlight","from","createdAt","listenTo","select","_revision","element","deselect","2756088nqMaeU","fire","uiLanguage","8214150ObcbOB","render","isActionsDropdownOpen","extendTemplate","revisionActionsView","_createdAtFormatted","setTemplate","3amfcix","ck-revision-history-sidebar__revision_selected","6860055sGsjmh","fieldView","3135336lslCUX"];return(Je=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(719406===parseInt(e(510))/1+parseInt(e(507))/2*(-parseInt(e(476))/3)+-parseInt(e(466))/4+parseInt(e(478))/5+-parseInt(e(469))/6+parseInt(e(506))/7+-parseInt(e(480))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(453)];[Be(473)];[Be(463)];[Be(496)];constructor(e,i,n,s){const r=Be;super(e);const o=this[r(448)],a=function(t,e){const i=r,n=Array[i(459)](e[i(490)])[i(501)]((t=>t!=e[i(449)]));return e[i(449)]&&n[i(486)](e[i(449)]),n[i(488)]((n=>new Le(t,n,n==e[i(449)])))}(e,i);this.id=i.id,this[r(463)]=i,this[r(496)]=s,this[r(502)](r(484),r(460)).to(i),this[r(502)](r(474)).to(this,r(460),(t=>{return i=e[r(468)],(n=t)[(s=Pe)(281)](i,{month:s(282),day:s(290)})+", "+n[s(288)](i,{hour:s(290),minute:s(290)});var i,n,s})),this[r(482)](r(498),!1),this[r(482)](r(487),!1),this[r(482)](r(471),!1),this[r(482)](r(494),!1),this[r(482)](r(481),!1),this[r(453)]=new De(e,_t.createLabeledInputText),this[r(453)][r(479)][r(472)]({attributes:{maxlength:r(483)}}),this[r(453)][r(479)][r(502)](r(492)).to(this,r(484),(t=>t||this[r(474)])),this[r(453)][r(502)](r(481)).to(this,r(498),this,r(481),((t,e)=>t&&e)),this[r(473)]=n&&n[r(489)]?function(e,i){const n=He,s=e[n(242)],r=e[n(265)],o=(0,_t.createDropdown)(r);o[n(254)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=He,n=t[i(265)],s={"Compare against selected":ot(n,i(224)),"Name this revision":ot(n,i(263)),"Restore this revision":ot(n,i(220))};return e[i(223)]((t=>{const e=i,n=s[t[e(235)]];return n&&n!==t[e(235)]&&(t[e(235)]=n),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:s(248),model:new _t.UIModel({label:t[s(235)],class:t[s(243)],withText:!0,role:s(244),_action:t[s(258)]})};i[s(233)][s(249)](s(247)).to(e,s(262),(i=>s(230)!=typeof t[s(247)]||!i||t[s(247)](e))),o[s(232)](i)}return o}(e,i);return e[n(249)](n(262)).to(o,n(256)),o[n(219)][n(221)]({label:ot(r,n(245)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[n(238)]({attributes:{class:[n(226),s.if(n(262),n(237))]},on:{click:s.to((t=>t[n(251)]()))}}),o.on(n(225),(t=>{const i=n;e[i(264)]&&i(230)==typeof t[i(253)][i(255)]&&t[i(253)][i(255)](e)})),(0,_t.addListToDropdown)(o,a,{role:n(236)}),o[n(239)](e,n(246),((t,s,r)=>{const a=n;if(r)for(const t of o[a(252)][a(222)]){const n=t[a(229)][a(228)],s=i[a(260)]((t=>t[a(258)]===n[a(255)]))[a(250)];t[a(250)]=void 0===s||s(e)}})),o}(this,n):"",this[r(473)]&&this[r(473)][r(502)](r(481)).to(this),this[r(475)]({tag:r(509),attributes:{class:["ck",r(495),r(503),o.if(r(452),r(457))]},children:[{tag:r(509),attributes:{class:["ck",r(495),r(493),o.if(r(481),r(497),(t=>!t)),o.if(r(498),r(477)),o.if(r(487),r(451)),o.if(r(471),r(454))]},children:[this[r(453)],{tag:r(508),attributes:{class:["ck",r(500)]},children:[{text:o.to(r(474))}]},{tag:r(509),attributes:{class:["ck",r(485)]},children:[{tag:"ul",attributes:{class:["ck",r(491)]},children:a}]},this[r(473)]],on:{click:o.to((t=>{const e=r;t[e(505)][e(504)](e(499))||this[e(494)]&&this[e(481)]&&this[e(467)](e(462),{id:this.id})}))}}]})}[Be(470)](){const t=Be;super[t(470)]();const e=this[t(453)][t(479)][t(464)];this[t(461)](e,t(455),(()=>{const i=t;this[i(496)]&&!e[i(492)]||this[i(467)](i(456),{id:this.id,name:e[i(492)]}),e[i(492)]||(e[i(492)]=this[i(484)]?this[i(484)]:this[i(474)])}))}[Be(462)](){this[Be(498)]=!0}[Be(465)](){this[Be(498)]=!1}[Be(450)](){this[Be(487)]=!0}[Be(458)](){this[Be(487)]=!1}}class Ke extends Error{}class Qe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Xe extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Ke{}class ii extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Ke{}class si extends Ke{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ai={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ri{get type(){throw new si}get name(){throw new si}get ianaName(){return this.name}get isUniversal(){throw new si}offsetName(t,e){throw new si}formatOffset(t,e){throw new si}offset(t){throw new si}equals(t){throw new si}get isValid(){throw new si}}let Mi=null;class Vi extends Ri{static get instance(){return null===Mi&&(Mi=new Vi),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xn(t,e,i)}formatOffset(t,e){return ns(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 Ei={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class ji extends Ri{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new ji(t)),e}static resetCache(){Ci.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=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xn(t,e,i,this.name)}formatOffset(t,e){return ns(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=Ei[e];"era"===e?n[r]=s:Vn(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,(Jn({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 Fi={};const Li=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const zi=new Map;let Ui=null;const Zi=new Map;function Hi(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 qi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Bi{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=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.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 zn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Yi{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=Pi(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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=zi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),zi.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 Gi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||vn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||vn.defaultNumberingSystem,c=i||vn.defaultOutputCalendar,u=Pn(n)||vn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Ui=null,Li.clear(),Wi.clear(),zi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.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=Pi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Pi(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"===Hi(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?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Pn(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 qi(this,t,cs,(()=>{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=ho.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 qi(this,t,ds,(()=>{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=ho.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return qi(this,void 0,(()=>fs),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return qi(this,t,gs,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.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 Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Fi[i];return n||(n=new Intl.ListFormat(t,e),Fi[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Hi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?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={...Gi,...e}),$i.set(t,e)}return e}(this.locale):Gi}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 Xi extends Ri{static get utcInstance(){return null===Qi&&(Qi=new Xi(0)),Qi}static instance(t){return 0===t?Xi.utcInstance:new Xi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Xi(ts(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ns(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ns(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ns(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 tn extends Ri{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 en(t,e){if(Vn(t)||null===t)return e;if(t instanceof Ri)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?Xi.utcInstance:Xi.parseSpecifier(i)||ji.create(t)}return Dn(t)?Xi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new tn(t)}const nn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},sn={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]},rn=nn.hanidec.replace(/[\[|\]]/g,"").split("");const on=new Map;function an({numberingSystem:t},e=""){const i=t||"latn";let n=on.get(i);void 0===n&&(n=new Map,on.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${nn[i]}${e}`),n.set(e,s)),s}let cn,un=()=>Date.now(),ln="system",hn=null,dn=null,fn=null,mn=60,pn=null;class vn{static get now(){return un}static set now(t){un=t}static set defaultZone(t){ln=t}static get defaultZone(){return en(ln,Vi.instance)}static get defaultLocale(){return hn}static set defaultLocale(t){hn=t}static get defaultNumberingSystem(){return dn}static set defaultNumberingSystem(t){dn=t}static get defaultOutputCalendar(){return fn}static set defaultOutputCalendar(t){fn=t}static get defaultWeekSettings(){return pn}static set defaultWeekSettings(t){pn=Pn(t)}static get twoDigitCutoffYear(){return mn}static set twoDigitCutoffYear(t){mn=t%100}static get throwOnInvalid(){return cn}static set throwOnInvalid(t){cn=t}static resetCaches(){Ki.resetCache(),ji.resetCache(),ho.resetCache(),on.clear()}}class gn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const yn=[0,31,59,90,120,151,181,212,243,273,304,334],kn=[0,31,60,91,121,152,182,213,244,274,305,335];function bn(t,e){return new gn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function wn(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 _n(t,e,i){return i+(qn(t)?kn:yn)[e-1]}function In(t,e){const i=qn(t)?kn:yn,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Sn(t,e){return(t-e+7)%7+1}function On(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=_n(n,s,r),a=Sn(wn(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Kn(c,e,i)):u>Kn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ss(t)}}function Tn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=Sn(wn(n,1,e),i),a=Bn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Bn(c)):u>a?(c=n+1,u-=Bn(n)):c=n;const{month:l,day:h}=In(c,u);return{year:c,month:l,day:h,...ss(t)}}function xn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:_n(e,i,n),...ss(t)}}function Nn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=In(e,i);return{year:e,month:n,day:s,...ss(t)}}function An(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(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 Rn(t){const e=En(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Yn(t.year,t.month));return e?i?!n&&bn("day",t.day):bn("month",t.month):bn("year",t.year)}function Mn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&bn("millisecond",s):bn("second",n):bn("minute",i):bn("hour",e)}function Vn(t){return void 0===t}function Dn(t){return"number"==typeof t}function En(t){return"number"==typeof t&&t%1==0}function Cn(){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 Fn(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 Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Pn(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Wn(t,1,7))))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return En(t)&&t>=e&&t<=i}function zn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function Hn(t){if(!Vn(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 qn(t){return t%4==0&&(t%100!=0||t%400==0)}function Bn(t){return qn(t)?366:365}function Yn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Jn(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 Gn(t,e,i){return-Sn(wn(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Gn(t,e,i),s=Gn(t+1,e,i);return(Bn(t)-n+s)/7}function Qn(t){return t>99?t:t>vn.twoDigitCutoffYear?1900+t:2e3+t}function Xn(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 ts(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 es(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function is(t,e){const i={};for(const n in t)if(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=es(s)}return i}function ns(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}${zn(i,2)}:${zn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${zn(i,2)}${zn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ss(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rs=["January","February","March","April","May","June","July","August","September","October","November","December"],os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],as=["J","F","M","A","M","J","J","A","S","O","N","D"];function cs(t){switch(t){case"narrow":return[...as];case"short":return[...os];case"long":return[...rs];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 us=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ls=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hs=["M","T","W","T","F","S","S"];function ds(t){switch(t){case"narrow":return[...hs];case"short":return[...ls];case"long":return[...us];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fs=["AM","PM"],ms=["Before Christ","Anno Domini"],ps=["BC","AD"],vs=["B","A"];function gs(t){switch(t){case"narrow":return[...vs];case"short":return[...ps];case"long":return[...ms];default:return null}}function ys(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const ks={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:Ti,ffff:Ni,F:_i,FF:Si,FFF:xi,FFFF:Ai};class bs{static create(t,e={}){return new bs(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 ks[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 zn(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 fs[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return cs(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return ds(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bs.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gs(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ys(bs.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=bs.parseFormat(e),s=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return ys(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 ws=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _s(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Is(...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 Ss(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 Os(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Un(e[i+s]);return[n,null,i+s]}}const Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xs=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ns=RegExp(`${xs.source}${`(?:${Ts.source}?(?:\\[(${ws.source})\\])?)?`}`),As=RegExp(`(?:T${Ns.source})?`),Rs=Os("weekYear","weekNumber","weekDay"),Ms=Os("year","ordinal"),Vs=RegExp(`${xs.source} ?(?:${Ts.source}|(${ws.source}))?`),Ds=RegExp(`(?: ${Vs.source})?`);function Es(t,e,i){const n=t[e];return Vn(n)?i:Un(n)}function Cs(t,e){return[{hours:Es(t,e,0),minutes:Es(t,e+1,0),seconds:Es(t,e+2,0),milliseconds:Hn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=ts(t[e+1],t[e+2]);return[{},i?null:Xi.instance(n),e+3]}function Fs(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${xs.source}$`),Ps=/^-?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 Ws(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(Hn(u),h)}]}const zs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Us(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Un(e)):Un(e),month:os.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?us.indexOf(t)+1:ls.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 Hs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Us(e,s,n,i,r,o,a);let f;return f=c?zs[c]:u?0:ts(l,h),[d,new Xi(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$/,qs=/^(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$/,Bs=/^(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 Ys(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),Xi.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),Xi.utcInstance]}const Gs=_s(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Ks=_s(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Qs=_s(/(\d{4})-?(\d{3})/,As),Xs=_s(Ns),tr=Is((function(t,e){return[{year:Es(t,e),month:Es(t,e+1,1),day:Es(t,e+2,1)},null,e+3]}),Cs,js,Fs),er=Is(Rs,Cs,js,Fs),ir=Is(Ms,Cs,js,Fs),nr=Is(Cs,js,Fs);const sr=Is(Cs);const rr=_s(/(\d{4})-(\d\d)-(\d\d)/,Ds),or=_s(Vs),ar=Is(Cs,js,Fs);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(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 kr(n)}function gr(t,e){let i=e.milliseconds??0;for(const n of pr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((n,s)=>{if(Vn(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),mr.reduce(((i,n)=>{if(Vn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:is(t,kr.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Ss(t,[Ps,Ws])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Ss(t,[Ls,sr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bs.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Vn(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(Ln(e.values,t)||Ln(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=es(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...is(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return vr(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 yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(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=>kr.normalizeUnit(t)));const e={},i={},n=this.toObject();let s;for(const r of mr)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 yr(this.matrix,e),vr(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 vr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of mr)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const br="Invalid Interval";class wr{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 ni("need to specify a reason the Interval is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Xe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),n=fo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,n);return null==s?new wr({start:i,end:n}):s}static after(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n,n.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.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=ho.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=ho.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return wr.fromDateTimes(t,r);if(s){const i=kr.fromISO(n,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).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(wr.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=kr.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(wr.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:wr.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 wr.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(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(n)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bs.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=vn.defaultZone){const e=ho.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 en(t,vn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Cn(),localeWeek:jn()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(kr.fromMillis(n).as("days"))}function Sr(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=Ir(t,e);return(i-i%7)/7}],["days",Ir]],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=kr.fromObject(r,n);return u.length>0?kr.fromMillis(c,n).shiftTo(...u).plus(l):l}function Or(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(nn.hanidec))e+=rn.indexOf(t[i]);else for(const t in sn){const[i,s]=sn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Tr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(xr,Tr)}function Ar(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Rr(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Ar(i)===Ar(t)))+e}}function Mr(t,e){return{regex:t,deser:([,t,e])=>ts(t,e),groups:e}}function Vr(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 Er=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Lr(bs.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=Cr(bs.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=an(e),n=an(e,"{2}"),s=an(e,"{3}"),r=an(e,"{4}"),o=an(e,"{6}"),a=an(e,"{1,2}"),c=an(e,"{1,3}"),u=an(e,"{1,6}"),l=an(e,"{1,9}"),h=an(e,"{2,4}"),d=an(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 Rr(e.eras("short"),0);case"GG":return Rr(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Qn);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(n);case"MMM":return Rr(e.months("short",!0),1);case"MMMM":return Rr(e.months("long",!0),1);case"LLL":return Rr(e.months("short",!1),1);case"LLLL":return Rr(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(s);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Rr(e.meridiems(),0);case"EEE":return Rr(e.weekdays("short",!1),1);case"EEEE":return Rr(e.weekdays("long",!1),1);case"ccc":return Rr(e.weekdays("short",!0),1);case"cccc":return Rr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Mr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\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(Ln(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;Vn(t.z)||(i=ji.create(t.z)),Vn(t.Z)||(i||(i=new Xi(t.Z)),e=t.Z),Vn(t.q)||(t.M=3*(t.q-1)+1),Vn(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),Vn(t.u)||(t.S=Hn(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(Ln(i,"a")&&Ln(i,"H"))throw new ei("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 Fr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=bs.create(e,t).dtFormatter((Er||(Er=ho.fromMillis(1555555555555)),Er)),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 Pr="Invalid DateTime",Wr=864e13;function zr(t){return new gn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=On(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=On(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Hr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...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 qr(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 Br(t,e,i){return $r(Jn(t),e,i)}function Yr(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,Yn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Jn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(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=ho.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return ho.invalid(new gn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Gr(t,e,i=!0){return t.isValid?bs.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=zn(t.c.year,i?6:4),e?(n+="-",n+=zn(t.c.month),n+="-",n+=zn(t.c.day)):(n+=zn(t.c.month),n+=zn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=zn(t.c.hour);return e?(o+=":",o+=zn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=zn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zn(Math.trunc(-t.o/60)),o+=":",o+=zn(Math.trunc(-t.o%60))):(o+="+",o+=zn(Math.trunc(t.o/60)),o+=":",o+=zn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Xr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],so=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(zr(i));const n=Ki.fromObject(e);let s,r;if(Vn(t.year))s=vn.now();else{for(const e of io)Vn(t[e])&&(t[e]=Xr[e]);const e=Rn(t)||Mn(t);if(e)return ho.invalid(e);const n=function(t){if(void 0===uo&&(uo=vn.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[s,r]=Br(t,n,i)}return new ho({ts:s,zone:i,loc:n,o:r})}function ao(t,e,i){const n=!!Vn(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 co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||vn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gn("invalid input"):null)||(e.isValid?null:zr(e));this.ts=Vn(t.ts)?vn.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=qr(this.ts,r),i=Number.isNaN(n.year)?new gn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return t.zone=Xi.utcInstance,oo({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 ho.invalid("invalid input");const s=en(e.zone,vn.defaultZone);return s.isValid?new ho({ts:i,zone:s,loc:Ki.fromObject(e)}):ho.invalid(zr(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new ho({ts:1e3*t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(zr(i));const n=Ki.fromObject(e),s=is(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=vn.now(),c=Vn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vn(s.ordinal),l=!Vn(s.year),h=!Vn(s.month)||!Vn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=qr(a,c);m?(p=no,v=to,g=On(g,r,o)):u?(p=so,v=eo,g=xn(g)):(p=io,v=Xr);let y=!1;for(const t of p){Vn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=En(t.weekYear),s=Wn(t.weekNumber,1,Kn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&bn("weekday",t.weekday):bn("week",t.weekNumber):bn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=En(t.year),i=Wn(t.ordinal,1,Bn(t.year));return e?!i&&bn("ordinal",t.ordinal):bn("year",t.year)}(s):Rn(s),b=k||Mn(s);if(b)return ho.invalid(b);const w=m?Tn(s,r,o):u?Nn(s):s,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Ss(t,[Gs,tr],[Ks,er],[Qs,ir],[Xs,nr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Ss(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,Hs])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Ss(t,[$s,Ys],[qs,Ys],[Bs,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vn(t)||Vn(e))throw new ni("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Fr(t,e,i);return[n,s,r,o]}(r,t,e);return u?ho.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Ss(t,[rr,tr],[or,ar])}(t);return Jr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Qe(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Ki.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bs.parseFormat(t),Ki.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.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?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(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?xn(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Jn(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=qr(a,r),l=qr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Hr(this,{ts:a}),Hr(this,{ts:c})]:[this]}get isInLeapYear(){return qn(this.year)}get daysInMonth(){return Yn(this.year,this.month)}get daysInYear(){return this.isValid?Bn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=bs.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(Xi.instance(t),e)}toLocal(){return this.setZone(vn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=en(t,vn.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]=Br(i,e,t)}return Hr(this,{ts:n,zone:t})}return ho.invalid(zr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Hr(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=is(t,ro),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;s?l=Tn({...On(this.c,i,n),...e},i,n):Vn(e.ordinal)?(l={...this.toObject(),...e},Vn(e.day)&&(l.day=Math.min(Yn(l.year,l.month),l.day))):l=Nn({...xn(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Hr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=kr.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?bs.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bs.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bs.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=Kr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Gr(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 Gr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(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")),Gr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.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(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.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||ho.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),ao(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new ni("min requires all arguments be DateTimes");return Fn(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new ni("max requires all arguments be DateTimes");return Fn(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Fr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`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?ho.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(){const t=["day","monthLong","1673468nyoWzC","year","week","toRelativeCalendar","5PJxFGn","setLocale","weekdayLong","month","301114hehygS","hasSame","7188573uaggUe","local","31074606dWcvzt","minus","fromJSDate","9roBktJ","toJSDate","startOf","279912kInRwv","1257690hburnU","491002bjMYVR"];return(mo=function(){return t})()}function po(t,e){const i=mo();return(po=function(t,e){return i[t-=471]})(t,e)}function vo(t,e){const i=po,n=ho[i(476)](t)[i(490)](e),s=ho[i(473)](),r=s[i(475)]({days:1})[i(479)](i(483));let o,a;return n[i(471)](s,i(483))?(o=n[i(479)](i(483))[i(478)](),a=n[i(488)]()):n[i(471)](r,i(483))?(o=r[i(478)](),a=n[i(488)]()):n[i(471)](s,i(487))?(o=n[i(479)](i(487))[i(478)](),a=n[i(491)]||""):n[i(471)](s,i(486))?(o=n[i(479)](i(492))[i(478)](),a=n[i(484)]||""):(o=n[i(479)](i(486))[i(478)](),a=String(n[i(486)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(795185===-parseInt(e(493))/1+parseInt(e(482))/2*(-parseInt(e(477))/3)+parseInt(e(485))/4*(-parseInt(e(489))/5)+-parseInt(e(481))/6+-parseInt(e(472))/7+parseInt(e(480))/8+parseInt(e(474))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=Rt(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Vt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=bo;function bo(t,e){const i=wo();return(bo=function(t,e){return i[t-=364]})(t,e)}function wo(){const t=["11476440MayJQa","setName","startDate","div","locale","localizedPeriodName","4600698zoVCex","_requireRevisionName","ck-revision-history-sidebar__time-period","_revisionActions","setTemplate","find","540638kiEMep","4430312idpUpV","createCollection","uiLanguage","addRevision","revisionViews","273ljXhfS","27364kaKhPD","729588EokdkB","471140jNLJxO","remove","removeRevision","add","ck-revision-history-sidebar__time-period__label","7SsUoZU","delegate","span","ck-revision-history-sidebar__time-period__revisions","select"];return(wo=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(495503===-parseInt(e(381))/1+parseInt(e(389))/2+parseInt(e(387))/3*(parseInt(e(388))/4)+parseInt(e(390))/5+-parseInt(e(375))/6+-parseInt(e(364))/7*(parseInt(e(382))/8)+parseInt(e(369))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[ko(371)];[ko(386)];[ko(378)];[ko(376)];constructor(t,e,i,n){const s=ko;super(t);const r=vo(e,this[s(373)][s(384)])[s(374)];this[s(371)]=e,this[s(386)]=this[s(383)](),this[s(378)]=i,this[s(376)]=n,this[s(386)][s(365)](s(368)).to(this),this[s(386)][s(365)](s(370)).to(this),this[s(379)]({tag:s(372),attributes:{class:["ck",s(377)]},children:[{tag:s(366),attributes:{class:["ck",s(394)]},children:[{text:r}]},{tag:s(372),attributes:{class:["ck",s(367)]},children:this[s(386)]}]})}[ko(385)](t){const e=ko,i=new Ge(this[e(373)],t,this[e(378)],this[e(376)]);this[e(386)][e(393)](i)}[ko(392)](t){const e=ko,i=this[e(386)][e(380)]((e=>e.id===t.id));this[e(386)][e(391)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=Rt(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Vt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(){const t=["414071nWTjus","ck-revision-history-sidebar__header","9EexWHx","2266340qwvuOX","ck-revision-history-sidebar__header__label","490756eVohPG","setTemplate","content","div","span","60044KyoPoY","6089479QTLXGC","54irkSrr","Revision history","3PTTlqs","10EpazbS","312557bPbjJF","3468936jeYDjG","ck-reset_all"];return(Oo=function(){return t})()}function To(t,e){const i=Oo();return(To=function(t,e){return i[t-=310]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(364155===-parseInt(e(326))/1+-parseInt(e(312))/2+parseInt(e(321))/3*(-parseInt(e(317))/4)+parseInt(e(310))/5+-parseInt(e(319))/6*(parseInt(e(323))/7)+-parseInt(e(324))/8*(-parseInt(e(328))/9)+-parseInt(e(322))/10*(-parseInt(e(318))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class xo extends _t.View{constructor(t){const e=To;super(t);const i=new _t.IconView;i[e(314)]=wt.IconHistory,this[e(313)]({tag:e(315),attributes:{class:["ck",e(325),e(327)]},children:[i,{tag:e(316),attributes:{class:["ck",e(311)]},children:[ot(t,e(320))]}]})}}var No=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Rt(),Ao.insert=Nt().bind(null,"head"),Ao.domAPI=Tt(),Ao.insertStyleElement=Vt();St()(No.A,Ao);No.A&&No.A.locals&&No.A.locals;const Ro=Vo;function Mo(){const t=["createdAt","startDate","render","7653811EEejvy","_revisions","removeRevision","delegate","revisionSetName","514071BzLgtr","166NjCpgw","addRevision","uiLanguage","flat","isEnabled","ck-rounded-corners","unhighlight","_revisionActions","20vmQmYF","getTime","timePeriodViews","setName","revisionViews","selectRevision","deselect","setTemplate","add","ck-disabled","createCollection","ck-reset","138SzCEQI","2495630fJlcVj","fire","select","4ITDtCr","_addRevision","ck-revision-history-sidebar__timeline","_getTimePeriodViewByStartDate","remove","set","highlight","map","get","3273171NEydHS","some","locale","ck-revision-history-sidebar","highlightRevisions","bindTemplate","find","revisionSelected","6576656rpkErZ","107884zIuhfr","div","1619Vshtgh","_removeRevision","_requireRevisionName"];return(Mo=function(){return t})()}function Vo(t,e){const i=Mo();return(Vo=function(t,e){return i[t-=119]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(571511===-parseInt(e(126))/1*(parseInt(e(138))/2)+parseInt(e(171))/3+parseInt(e(162))/4*(-parseInt(e(159))/5)+-parseInt(e(158))/6*(-parseInt(e(124))/7)+-parseInt(e(123))/8+parseInt(e(137))/9*(-parseInt(e(146))/10)+parseInt(e(132))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends _t.View{[Ro(148)];[Ro(133)];[Ro(145)];[Ro(128)];constructor(t,e,i,n){const s=Ro;super(t);const r=this[s(120)];this[s(148)]=this[s(156)](),this[s(148)][s(135)](s(161)).to(this),this[s(148)][s(135)](s(149)).to(this),this[s(133)]=e,this[s(145)]=i,this[s(128)]=n,this.on(s(161),((t,e)=>{const i=s;this[i(160)](i(122),e)})),this.on(s(149),((t,e)=>{const i=s;this[i(160)](i(136),e)})),this[s(167)](s(142),!1),this[s(153)]({tag:s(125),attributes:{class:["ck",s(157),s(143),s(174)]},children:[new xo(t),{tag:s(125),attributes:{class:["ck",s(164),r.if(s(142),s(155),(t=>!t))]},children:this[s(148)]}]})}[Ro(131)](){const t=Ro;super[t(131)]();for(const e of this[t(133)])this[t(163)](e);this[t(133)].on(t(154),((e,i)=>{this[t(163)](i)})),this[t(133)].on(t(166),((e,i)=>{this[t(127)](i)}))}get[Ro(150)](){const t=Ro;return this[t(148)][t(169)]((e=>e[t(150)][t(169)]((t=>t))))[t(141)]()}[Ro(151)](t){const e=Ro;for(const i of this[e(150)])t&&t.id===i.id?i[e(161)]():i[e(152)]()}[Ro(119)](t){const e=Ro;for(const i of this[e(150)])t[e(172)]((({id:t})=>t===i.id))?i[e(168)]():i[e(144)]()}[Ro(163)](t){const e=Ro,i=vo(t[e(129)],this[e(173)][e(140)])[e(130)];let n=this[e(148)][e(170)](0);n&&n[e(130)][e(147)]()===i[e(147)]()||(n=new _o(this[e(173)],i,this[e(145)],this[e(128)]),this[e(148)][e(154)](n)),n[e(139)](t)}[Ro(127)](t){const e=Ro,i=vo(t[e(129)],this[e(173)][e(140)])[e(130)];this[e(165)](i)[e(134)](t)}[Ro(165)](t){const e=Ro;return this[e(148)][e(121)]((i=>i[e(130)][e(147)]()===t[e(147)]()))}}function Eo(){const t=["_handleEditorDataReady","assign","isSelected","data","add","diff","compare","fieldView","isVisible","destroy","focus","isReady","length","revisionViews","isEnabled","defaultRevisionActions","locale","getEarlierVisibleRevision","10wHWTrP","compareAgainstSelected","pluginName","remove","selectRevision","970360KCJtOL","name","setName","repository","config","770910plfUyn","string","getIndex","9WwGlRc","render","revisionHistory.viewerSidebarContainer","10242LhtUfx","isPremiumPlugin","element","_revisionsRepository","_revisionViewer","126JJfsQI","16718810jzBJEy","restoreRevisionCallback","getRevisionsInDiff","_sidebarView","revisionHistory.revisionActions","isOfficialPlugin","getRevision","newRevisionId","timePeriodViews","restoreRevision","2172186TZfbqN","_handleDiffChange","RevisionsSidebar","Compare against selected","Name this revision","bind","239530slAWSK","nameRevision","get","revisionSelected","_revisions","4239320mSTaxh","revisionHistory","highlightRevisions","plugins","listenTo","getLaterVisibleRevision","_createRevisionActions","init","map","action","change:diff","ready","availableRevisionActions","revisionSetName","revisionHistory.requireRevisionName","appendChild","select","_handleRevisionSetName","_handleRevisionSelected","Restore this revision","editor","requires"];return(Eo=function(){return t})()}function Co(t,e){const i=Eo();return(Co=function(t,e){return i[t-=251]})(t,e)}const jo=Co;!function(t){const e=Co,i=t();for(;;)try{if(269987===parseInt(e(286))/1+parseInt(e(264))/2*(parseInt(e(269))/3)+parseInt(e(253))/4*(parseInt(e(331))/5)+parseInt(e(280))/6+parseInt(e(258))/7+parseInt(e(291))/8+-parseInt(e(261))/9*(parseInt(e(270))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Fo extends J.Plugin{[jo(268)];[jo(267)];[jo(273)];static[jo(328)]=[jo(332),jo(279),jo(287)];static[jo(303)]=function(){const t=jo;return{compareAgainstSelected:{name:t(283),action:({plugins:e},i)=>{const n=t,s=e[n(288)](oe),r=s[n(256)];let o=s[n(318)][n(277)],a=i.id;r[n(260)](o)>r[n(260)](a)&&([o,a]=[a,o]),s[n(319)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(288)](oe);return!(s[n(256)][n(272)](s[n(318)])[n(325)]>2||i[n(315)])}},restoreRevision:{name:t(310),action:(e,{id:i})=>{const n=t;e[n(257)][n(288)](n(292))[n(271)](i)},isVisible:({plugins:e},i)=>!!e[t(288)](oe)[t(256)][t(296)](i.id)},nameRevision:{name:t(284),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(288)](oe),o=r[s(256)][s(330)](i);r[s(319)](i,o),n[s(323)](),n[s(320)][s(307)]()}}}}();static get[jo(333)](){return jo(282)}static get[jo(275)](){return!0}static get[jo(265)](){return!0}static get[jo(312)](){return[oe]}constructor(t){const e=jo;super(t),this[e(268)]=t[e(294)][e(288)](oe),this[e(267)]=this[e(268)][e(256)],this[e(273)]=null}[jo(298)](){const t=jo,e=this[t(267)][t(290)],i=this[t(297)](),n=this[t(311)][t(257)][t(288)](t(263));this[t(273)]=new Do(this[t(311)][t(329)],e,i,this[t(311)][t(257)][t(288)](t(305))),this[t(273)].on(t(289),this[t(309)][t(285)](this)),this[t(273)].on(t(304),this[t(308)][t(285)](this)),this[t(273)][t(285)](t(327)).to(this[t(268)]),this[t(273)][t(278)].on(t(317),((e,i)=>{const n=t;i[n(326)].on(n(317),((t,e)=>{const i=n;e[i(285)](i(327),i(324)).to(this[i(268)])}))})),this[t(273)][t(262)](),this[t(295)](this[t(311)][t(316)],t(302),this[t(313)][t(285)](this)),this[t(295)](this[t(268)],t(301),this[t(281)][t(285)](this)),n[t(306)](this[t(273)][t(266)])}[jo(322)](){const t=jo;this[t(273)][t(266)][t(251)](),this[t(273)][t(322)]()}[jo(313)](){const t=jo,e=this[t(267)][t(276)](0);if(e){const i=this[t(267)][t(330)](e.id);this[t(268)][t(319)](e,i)}}[jo(309)](t,e){const i=jo,n=this[i(267)][i(276)](e.id),s=this[i(267)][i(330)](n.id);this[i(268)][i(319)](n,s)}[jo(308)](t,e){const i=jo;this[i(267)][i(276)](e.id)[i(255)](e[i(254)])}[jo(281)](t,e,i){const n=jo,s=this[n(267)][n(272)](i);s[n(325)]>2?(this[n(273)][n(293)](s),this[n(273)][n(252)](null)):(this[n(273)][n(293)]([]),this[n(273)][n(252)](s[0]))}[jo(297)](){const t=jo,e=this[t(311)],i=Fo[t(303)],n=e[t(257)][t(288)](t(274))||Fo[t(328)];if(n[t(325)])return n[t(299)]((n=>{const s=t,r=s(259)==typeof n?Object[s(314)]({},i[n]):n;return r[s(300)]=r[s(300)][s(285)](this,e),r[s(321)]&&(r[s(321)]=r[s(321)][s(285)](this,e)),r}))}}function Lo(t,e){const i=Po();return(Lo=function(t,e){return i[t-=178]})(t,e)}function Po(){const t=["editing","4571780CiGBoa","5045892YhNZWW","viewportOffset","_initToolbar","fire","getRoot","view","attachDomRoot","1844510dEspbB","viewportTopOffset","221773Hqorpn","destroy","bind","detachDomRoot","focusTracker","26MZfWzb","render","198jNNeYu","setEditableElement","init","isFocused","componentFactory","_elementReplacer","isActive","rootName","7dhuIvN","get","editor","limiterElement","stickyPanel","toolbar","6546882VedwhT","config","_view","name","restore","addToolbar","element","ready","136461DALkPg","6161864IxZyaY","document","_toolbarConfig","editable","replace","fillFromConfig"];return(Po=function(){return t})()}const Wo=Lo;!function(t){const e=Lo,i=t();for(;;)try{if(833817===parseInt(e(190))/1+-parseInt(e(195))/2*(-parseInt(e(219))/3)+-parseInt(e(181))/4+-parseInt(e(180))/5+-parseInt(e(211))/6*(parseInt(e(205))/7)+-parseInt(e(220))/8+-parseInt(e(197))/9*(-parseInt(e(188))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class zo extends _t.EditorUI{[Wo(213)];[Wo(222)];[Wo(202)];get[Wo(186)](){return this[Wo(213)]}constructor(e,i){const n=Wo;super(e),this[n(213)]=i,this[n(222)]=(0,_t.normalizeToolbarConfig)(e[n(212)][n(206)](n(210))),this[n(202)]=new t.ElementReplacer}get[Wo(217)](){const t=Wo;return this[t(186)][t(217)]}[Wo(199)](t){const e=Wo,i=this[e(207)],n=this[e(186)],s=i[e(179)][e(186)],r=n[e(223)],o=s[e(221)][e(185)]();r[e(214)]=o[e(204)],n[e(196)]();const a=r[e(217)];this[e(198)](r[e(214)],a),n[e(223)][e(192)](e(200)).to(this[e(194)]),s[e(187)](a),this[e(202)][e(224)](t,this[e(217)]),this[e(183)](),this[e(184)](e(218))}[Wo(191)](){const t=Wo;super[t(191)]();const e=this[t(186)],i=this[t(207)][t(179)][t(186)];this[t(202)][t(215)](),i[t(193)](e[t(223)][t(214)]),e[t(191)]()}[Wo(183)](){const t=Wo,e=this[t(186)];e[t(209)][t(192)](t(203)).to(this[t(194)],t(200)),e[t(209)][t(208)]=e[t(217)],e[t(209)][t(192)](t(189)).to(this,t(182),(({top:t})=>t)),e[t(210)][t(178)](this[t(222)],this[t(201)]),this[t(216)](e[t(210)])}}var Uo=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Rt(),Zo.insert=Nt().bind(null,"head"),Zo.domAPI=Tt(),Zo.insertStyleElement=Vt();St()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var Ho=$o;function $o(t,e){var i=qo();return($o=function(t,e){return i[t-=328]})(t,e)}function qo(){var t=["260702XvaoYm","render","1736205bHkgGu","main","add","602whneeW","1246280unylSz","33224KLLJEl","1373076TQtuha","shouldToolbarGroupWhenFull","toolbar","_editable","stickyPanel","content","2774772yDVAKF","2304348ozmlCg","editable","top"];return(qo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(351534===-parseInt(e(332))/1+-parseInt(e(340))/2+parseInt(e(334))/3+parseInt(e(329))/4+parseInt(e(338))/5+-parseInt(e(328))/6+-parseInt(e(337))/7*(-parseInt(e(339))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Bo extends _t.BoxedEditorUIView{[Ho(343)];[Ho(344)];[Ho(342)];get[Ho(330)](){return this[Ho(343)]}constructor(t,e,i={}){var n=Ho;super(t),this[n(344)]=new _t.StickyPanelView(t),this[n(342)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[n(341)]}),this[n(343)]=new _t.InlineEditableUIView(t,e)}[Ho(333)](){var t=Ho;super[t(333)](),this[t(344)][t(345)][t(336)](this[t(342)]),this[t(331)][t(336)](this[t(344)]),this[t(335)][t(336)](this[t(330)])}}const Yo=Go;function Jo(){const t=["config","2792DrGOyW","fire","updateSourceElement","1261446budHkD","934945tnheuc","editing","201imHojB","init","document","initPlugins","2190230sLSBzJ","view","locale","createRoot","50DPetkY","10113454NNPCvN","23283HEoIrv","destroy","initialData","get","34ukAEnt","5uSwTQe","55972vPydMH","ready","_ui","create","26217HSzvsy","36YswOwX","model","sourceElement","data"];return(Jo=function(){return t})()}function Go(t,e){const i=Jo();return(Go=function(t,e){return i[t-=126]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(479833===parseInt(e(146))/1*(parseInt(e(140))/2)+-parseInt(e(126))/3*(-parseInt(e(142))/4)+parseInt(e(141))/5*(-parseInt(e(155))/6)+parseInt(e(130))/7+parseInt(e(152))/8*(parseInt(e(136))/9)+parseInt(e(134))/10*(parseInt(e(156))/11)+parseInt(e(147))/12*(-parseInt(e(135))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Ko extends((0,J.ElementApiMixin)(J.Editor)){[Yo(144)];get ui(){return this[Yo(144)]}constructor(t,e){const i=Yo;super(e),this[i(149)]=t,this[i(148)][i(128)][i(133)]();const n=new Bo(this[i(132)],this[i(157)][i(131)],{shouldToolbarGroupWhenFull:!0});this[i(144)]=new zo(this,n)}[Yo(137)](){const t=Yo;return this[t(154)](),this.ui[t(137)](),super[t(137)]()}static async[Yo(145)](t,e){const i=Yo,n=new this(t,e);return await n[i(129)](),await n.ui[i(127)](t),await n[i(150)][i(127)](n[i(151)][i(139)](i(138))||""),n[i(153)](i(143)),n}}function Qo(){const t=["fromCharCode","removeAttribute","_update","refreshPositioning","has","setAttribute","isOpen","getMarkersGroup","_closeRevisionViewer","closeRevisionViewerCallback","showRevisionViewerCallback","creator","isEnabled","keys","init","loadRevisionData","683898amYrPI","_restoreRevision","4759644AemGwE","element","define","isRevisionViewerOpen","enableReadOnlyMode","isOfficialPlugin","save","DocumentOutlineUI","RevisionViewer","data","plugins","isReady","169250NXymXu","getRevision","RevisionHistoryUtils","saveRevision","Restored","fromVersion","long","removeSelectionAttribute","disableReadOnlyMode","RevisionHistoryUI","rootName","DocumentOutline","locale","requires","numeric","restoreRevision","result","update","Annotations","_cleanUp","revisionHistory.editorContainer","uiLanguage","539uFzPUa","4nkFJxa","toolbar","changesNavigation","translations","_recalculatePageBreaks","then","adapter","revisionHistory.closeRevisionViewerCallback","getRoot","isPremiumPlugin","lazyRoots","revision-history-missing-configuration","parse","users","revisionHistory.restoreRevisionCallback","1142396kGasAR","detachRoot","getUser","35DbNPAv","commands","Users","_viewerEditor","PaginationLookup","includes","13BbvMig","addRevisionData","RestrictedEditingMode","Dialog","RevisionsRepository","RevisionTracker","refreshVisibility","toLocaleDateString","getRevisionDocumentData","RevisionHistory","display","revision-history-viewer-opened","49793IlhXaW","3649887gRqcao","block","revisionHistory","name","getAttributeKeys","createRangeIn","repository","roots","pluginName","15xlgOCR","removeMarker","from","setSelection","remove","markers","getRevisions","revisionHistory.viewerContainer","isReadOnly","editor","view","revisionHistory.showRevisionViewerCallback","map","error","toJSON","_enhanceCloseRevisionViewerCallback","_showRevisionViewer","restrictedEditingException","_getRevisionViewerEditorConfig","isAnonymous","document","enqueueChange","create","none","16undeuo","hide","isAttached","destroy","createdAt","$graveyard","model","Autosave","catch","push","getRevisionRootsAttributes","revisionHistory.requireRevisionName","addRoot","RevisionViewerIntegration","indexOf","addUser","get","revisionHistory.viewerEditorElement","insert","toVersion","change","config","join","set","toLocaleTimeString","exitToEditing","_enhanceShowRevisionViewerCallback","selection","287598qkAAcS","end","bind","style"];return(Qo=function(){return t})()}const Xo=ta;function ta(t,e){const i=Qo();return(ta=function(t,e){return i[t-=160]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(534447===parseInt(e(280))/1+parseInt(e(244))/2*(-parseInt(e(207))/3)+parseInt(e(259))/4*(-parseInt(e(290))/5)+parseInt(e(187))/6*(-parseInt(e(262))/7)+-parseInt(e(314))/8*(-parseInt(e(281))/9)+parseInt(e(221))/10*(parseInt(e(243))/11)+parseInt(e(209))/12*(parseInt(e(268))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);const ea=[Xo(230),Xo(270)];class ia extends J.Plugin{[Xo(237)];static get[Xo(289)](){return Xo(172)}static get[Xo(214)](){return!0}static get[Xo(253)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(302)]((t=>String[e(191)](t)))[e(181)]("")}super(t),this[e(237)]=e(188),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 na extends J.Plugin{[Xo(265)];static get[Xo(289)](){return Xo(277)}static get[Xo(214)](){return!0}static get[Xo(253)](){return!0}static get[Xo(234)](){return[mt,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(299)][i(180)][i(175)](i(283)))throw new t.CKEditorError(i(255),this);this[i(265)]=null,this[i(182)](i(212),!1),this[i(299)][i(180)][i(211)](i(301),(t=>this[i(306)]({...t,translations:this[i(299)][i(233)][i(247)]}))),this[i(299)][i(180)][i(211)](i(251),(t=>this[i(199)](t))),this[i(299)][i(180)][i(211)](i(258),(t=>this[i(208)](t))),this[i(299)][i(180)][i(211)](i(170),!1),this[i(185)](),this[i(305)]()}set[Xo(250)](t){const e=Xo;this[e(299)][e(219)][e(175)](e(273))[e(250)]=t}get[Xo(250)](){const t=Xo;return this[t(299)][t(219)][t(175)](t(273))[t(250)]}[Xo(269)](t){const e=Xo;return this[e(299)][e(219)][e(175)](e(273))[e(269)](t)}[Xo(222)](t){const e=Xo;return this[e(299)][e(219)][e(175)](e(272))[e(222)](t)}[Xo(296)](t){const e=Xo;return this[e(299)][e(219)][e(175)](e(272))[e(296)](t||{toJSON:!1})}[Xo(308)](){const e=Xo,i=this[e(299)],n=(0,G.sanitizeEditorConfig)(i,ea),s=i[e(219)][e(175)](e(273)),r=i[e(219)][e(175)](e(264))[e(257)];return n[e(245)]=[e(184),e(236),e(246)],delete n[e(254)],n[e(219)][e(168)](ia,oe,xe,class extends J.Plugin{static get[e(234)](){return[oe,e(264)]}[e(205)](){const n=e,o=this[n(299)][n(219)][n(175)](n(264));for(const t of r)t[n(309)]||o[n(261)](t.id)||o[n(174)](t);const a=s[n(287)][n(296)]();let c=null;const u=this[n(299)][n(219)][n(175)](n(217));u[n(250)]=s[n(250)],u[n(189)](n(203)).to(s),this[n(299)][n(263)][n(175)](n(236))[n(189)](n(203)).to(i,n(298),(t=>!t));for(const e of a){const i=null===e[n(202)];if(i&&e[n(178)]===e[n(226)])continue;const r=e[n(304)]();u[n(269)](r,((r,o,a)=>{const u=n;if(i){if(c)c[u(193)](r,o);else if(!o){const e=a[u(304)]();e.id=(0,t.uid)(),s[u(224)](e,a[u(178)])[u(249)]((t=>{c=t}))}}else e[u(193)](r,o)}))}}},Fo),n}[Xo(185)](){const t=Xo,e=this[t(299)][t(180)][t(175)](t(283))[t(201)];this[t(299)][t(180)][t(182)](t(301),(async()=>{const i=t;this[i(299)][i(213)](i(279));const n=this[i(299)][i(219)][i(175)](i(273));if(this[i(299)][i(219)][i(195)](i(166))){const t=this[i(299)][i(219)][i(175)](i(166));await t[i(215)]()}else await n[i(238)]();if(this[i(299)][i(219)][i(195)](i(266))&&this[i(299)][i(219)][i(175)](i(266))[i(248)](),this[i(299)][i(219)][i(195)](i(271))){const t=this[i(299)][i(219)][i(175)](i(271));t[i(197)]&&t[i(160)]()}const s=this[i(308)]();return e(s)[i(249)]((t=>{const e=i;return this[e(265)]=t,this[e(299)][e(219)][e(195)](e(239))&&this[e(299)][e(219)][e(175)](e(239))[e(274)](),this[e(299)][e(219)][e(195)](e(232))&&(this[e(299)][e(219)][e(175)](e(216))[e(300)][e(210)][e(190)][e(278)]=e(313)),t}))[i(167)]((t=>(console[i(303)](t),this[i(299)][i(229)](i(279)),null)))}))}[Xo(305)](){const t=Xo,e=this[t(299)][t(180)][t(175)](t(283))[t(200)];this[t(299)][t(180)][t(182)](t(251),(()=>(this[t(299)][t(219)][t(195)](t(266))&&this[t(299)][t(219)][t(175)](t(266))[t(248)](),this[t(299)][t(219)][t(195)](t(232))&&(this[t(299)][t(219)][t(175)](t(216))[t(300)][t(210)][t(190)][t(278)]=""),this[t(265)][t(219)][t(175)](t(217))[t(240)](),e(this[t(265)])[t(249)]((()=>{const e=t;if(this[e(299)][e(229)](e(279)),this[e(265)]=null,this[e(299)][e(219)][e(195)](e(239))){const t=this[e(299)][e(219)][e(175)](e(239));t[e(274)](),t[e(194)]()}})))))}[Xo(306)](t){const e=Xo,i=this[e(299)][e(180)][e(175)](e(241)),n=this[e(299)][e(180)][e(175)](e(297)),s=this[e(299)][e(180)][e(175)](e(176));return Ko[e(312)](s,t)[e(249)]((t=>(n[e(190)][e(278)]=e(282),i[e(190)][e(278)]=e(313),this[e(212)]=!0,t)))}[Xo(199)](t){const e=Xo,i=this[e(299)][e(180)][e(175)](e(241));return this[e(299)][e(180)][e(175)](e(297))[e(190)][e(278)]=e(313),i[e(190)][e(278)]="",this[e(212)]=!1,t[e(162)]()}async[Xo(208)](t){const e=Xo,i=this[e(299)],n=this[e(265)][e(219)][e(175)](e(217)),s=i[e(219)][e(175)](e(273)),r=i[e(219)][e(175)](e(223)),o=n[e(287)][e(222)](t);let a,c,u;try{await r[e(206)](o,this[e(250)]),a=r[e(276)](o),c=r[e(169)](o)}catch(t){return void console[e(303)](t)}i[e(165)][e(179)]((t=>{const n=e;for(const e of Array[n(292)](i[n(165)][n(295)][n(198)](n(307))))t[n(291)](e)})),n[e(220)]=!1,i[e(165)][e(311)]((t=>{const n=e;t[n(293)](null),t[n(228)](i[n(165)][n(310)][n(186)][n(285)]());const s=Object[n(204)](a);for(const e of i[n(165)][n(310)][n(288)])n(164)!=e[n(231)]&&e[n(161)]()&&!s[n(267)](e[n(231)])&&t[n(260)](e);for(const e of s){let s=i[n(165)][n(310)][n(252)](e);s&&s[n(161)]()||(s=t[n(171)](e));const r=c[e],o=Object[n(204)](r),u=a[e];for(const e of s[n(285)]())o[n(267)](e)||t[n(192)](e,s);for(const i of o)t[n(196)](i,c[e][i],s);t[n(294)](t[n(286)](s)),t[n(177)](i[n(218)][n(256)](u,s),s,0)}}));const l=ot(i[e(233)],e(225));return u=o[e(284)]?-1==o[e(284)][e(173)](l)?l+": "+o[e(284)]:o[e(284)]:l+": "+o[e(163)][e(275)](i[e(233)][e(242)],{month:e(227),day:e(235)})+", "+o[e(163)][e(183)](i[e(233)][e(242)],{hour:e(235),minute:e(235)}),await s[e(224)]({name:u}),n[e(220)]=!0,i[e(180)][e(175)](e(283))[e(200)]()}}function sa(t,e){var i=ra();return(sa=function(t,e){return i[t-=182]})(t,e)}function ra(){var t=["125rSdUHL","5365570oRnriK","1805928GZjJOb","351647xpjhyq","21tMcaPa","1212312cprlUn","91320RkAgiS","9EDnSQD","2914076MJFTOZ","363777pzILrj","2dhNtDf"];return(ra=function(){return t})()}!function(t){for(var e=sa,i=t();;)try{if(380750===-parseInt(e(182))/1+-parseInt(e(189))/2*(-parseInt(e(188))/3)+-parseInt(e(185))/4*(parseInt(e(190))/5)+parseInt(e(184))/6*(parseInt(e(183))/7)+-parseInt(e(192))/8+parseInt(e(186))/9*(parseInt(e(191))/10)+parseInt(e(187))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();